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