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