"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[7083],{87083:(e,t,n)=>{n.r(t),n.d(t,{default:()=>p});var a=n(7552),o=n(63011),r=n(41578),s=n(36715),i=n(63165),d=n(75785),c=n(7720);const l=(0,d.n9)()((e=>({expansionPanelDetails:{display:"block",padding:e.spacing(1)},icon:{color:e.palette.tertiary.contrastText||"#fff"}})));function p({children:e,title:t,defaultExpanded:n=!0}){const{classes:d}=l();return a.createElement(o.A,{defaultExpanded:n},a.createElement(r.A,{expandIcon:a.createElement(c.A,{className:d.icon})},a.createElement(s.A,{variant:"button"},t)),a.createElement(i.A,{className:d.expansionPanelDetails},e))}},7720:(e,t,n)=>{n.d(t,{A:()=>r});var a=n(74893),o=n(69500);const r=(0,a.A)((0,o.jsx)("path",{d:"M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"}),"ExpandMore")},63165:(e,t,n)=>{n.d(t,{A:()=>u});var a=n(7552),o=n(93878),r=n(70799),s=n(51148),i=n(84893),d=n(4785),c=n(79509),l=n(69500);const p=(0,s.Ay)("div",{name:"MuiAccordionDetails",slot:"Root",overridesResolver:(e,t)=>t.root})((0,i.A)((({theme:e})=>({padding:e.spacing(1,2,2)})))),u=a.forwardRef((function(e,t){const n=(0,d.b)({props:e,name:"MuiAccordionDetails"}),{className:a,...s}=n,i=n,u=(e=>{const{classes:t}=e;return(0,r.A)({root:["root"]},c.n,t)})(i);return(0,l.jsx)(p,{className:(0,o.A)(u.root,a),ref:t,ownerState:i,...s})}))},79509:(e,t,n)=>{n.d(t,{A:()=>s,n:()=>r});var a=n(33761),o=n(85693);function r(e){return(0,o.Ay)("MuiAccordionDetails",e)}const s=(0,a.A)("MuiAccordionDetails",["root"])},41578:(e,t,n)=>{n.d(t,{A:()=>h});var a=n(7552),o=n(93878),r=n(70799),s=n(51148),i=n(84893),d=n(4785),c=n(48054),l=n(51132),p=n(33761),u=n(85693);function m(e){return(0,u.Ay)("MuiAccordionSummary",e)}const A=(0,p.A)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"]);var x=n(69500);const b=(0,s.Ay)(c.A,{name:"MuiAccordionSummary",slot:"Root",overridesResolver:(e,t)=>t.root})((0,i.A)((({theme:e})=>{const t={duration:e.transitions.duration.shortest};return{display:"flex",minHeight:48,padding:e.spacing(0,2),transition:e.transitions.create(["min-height","background-color"],t),[`&.${A.focusVisible}`]:{backgroundColor:(e.vars||e).palette.action.focus},[`&.${A.disabled}`]:{opacity:(e.vars||e).palette.action.disabledOpacity},[`&:hover:not(.${A.disabled})`]:{cursor:"pointer"},variants:[{props:e=>!e.disableGutters,style:{[`&.${A.expanded}`]:{minHeight:64}}}]}}))),f=(0,s.Ay)("div",{name:"MuiAccordionSummary",slot:"Content",overridesResolver:(e,t)=>t.content})((0,i.A)((({theme:e})=>({display:"flex",flexGrow:1,margin:"12px 0",variants:[{props:e=>!e.disableGutters,style:{transition:e.transitions.create(["margin"],{duration:e.transitions.duration.shortest}),[`&.${A.expanded}`]:{margin:"20px 0"}}}]})))),v=(0,s.Ay)("div",{name:"MuiAccordionSummary",slot:"ExpandIconWrapper",overridesResolver:(e,t)=>t.expandIconWrapper})((0,i.A)((({theme:e})=>({display:"flex",color:(e.vars||e).palette.action.active,transform:"rotate(0deg)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shortest}),[`&.${A.expanded}`]:{transform:"rotate(180deg)"}})))),h=a.forwardRef((function(e,t){const n=(0,d.b)({props:e,name:"MuiAccordionSummary"}),{children:s,className:i,expandIcon:c,focusVisibleClassName:p,onClick:u,...A}=n,{disabled:h=!1,disableGutters:g,expanded:y,toggle:w}=a.useContext(l.A),M={...n,expanded:y,disabled:h,disableGutters:g},N=(e=>{const{classes:t,expanded:n,disabled:a,disableGutters:o}=e,s={root:["root",n&&"expanded",a&&"disabled",!o&&"gutters"],focusVisible:["focusVisible"],content:["content",n&&"expanded",!o&&"contentGutters"],expandIconWrapper:["expandIconWrapper",n&&"expanded"]};return(0,r.A)(s,m,t)})(M);return(0,x.jsxs)(b,{focusRipple:!1,disableRipple:!0,disabled:h,component:"div","aria-expanded":y,className:(0,o.A)(N.root,i),focusVisibleClassName:(0,o.A)(N.focusVisible,p),onClick:e=>{w&&w(e),u&&u(e)},ref:t,ownerState:M,...A,children:[(0,x.jsx)(f,{className:N.content,ownerState:M,children:s}),c&&(0,x.jsx)(v,{className:N.expandIconWrapper,ownerState:M,children:c})]})}))}}]);
//# sourceMappingURL=7083.553184c5.chunk.js.map