"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[3199],{13199:(e,t,a)=>{a.r(t),a.d(t,{accordionSummaryClasses:()=>s.A,default:()=>r.A,getAccordionSummaryUtilityClass:()=>s.T});var r=a(48253),s=a(25877)},25877:(e,t,a)=>{a.d(t,{A:()=>o,T:()=>n});var r=a(33761),s=a(85693);function n(e){return(0,s.Ay)("MuiAccordionSummary",e)}const o=(0,r.A)("MuiAccordionSummary",["root","expanded","focusVisible","disabled","gutters","contentGutters","content","expandIconWrapper"])},48253:(e,t,a)=>{a.d(t,{A:()=>x});var r=a(7552),s=a(93878),n=a(70799),o=a(51148),i=a(84893),d=a(4785),c=a(48054),l=a(51132),p=a(25877),u=a(69500);const m=(0,o.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}}}]}}))),b=(0,o.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"}}}]})))),A=(0,o.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)"}})))),x=r.forwardRef((function(e,t){const a=(0,d.b)({props:e,name:"MuiAccordionSummary"}),{children:o,className:i,expandIcon:c,focusVisibleClassName:x,onClick:f,...h}=a,{disabled:g=!1,disableGutters:y,expanded:v,toggle:w}=r.useContext(l.A),C={...a,expanded:v,disabled:g,disableGutters:y},S=(e=>{const{classes:t,expanded:a,disabled:r,disableGutters:s}=e,o={root:["root",a&&"expanded",r&&"disabled",!s&&"gutters"],focusVisible:["focusVisible"],content:["content",a&&"expanded",!s&&"contentGutters"],expandIconWrapper:["expandIconWrapper",a&&"expanded"]};return(0,n.A)(o,p.T,t)})(C);return(0,u.jsxs)(m,{focusRipple:!1,disableRipple:!0,disabled:g,"aria-expanded":v,className:(0,s.A)(S.root,i),focusVisibleClassName:(0,s.A)(S.focusVisible,x),onClick:e=>{w&&w(e),f&&f(e)},ref:t,ownerState:C,...h,children:[(0,u.jsx)(b,{className:S.content,ownerState:C,children:o}),c&&(0,u.jsx)(A,{className:S.expandIconWrapper,ownerState:C,children:c})]})}))},51132:(e,t,a)=>{a.d(t,{A:()=>r});const r=a(7552).createContext({})}}]);
//# sourceMappingURL=3199.acae8c98.chunk.js.map