"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[6563],{10384:(e,t,o)=>{o.d(t,{A:()=>i,G:()=>a});var n=o(51062),r=o(2958);function a(e){return(0,r.Ay)("MuiStepConnector",e)}const i=(0,n.A)("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"])},37576:(e,t,o)=>{o.d(t,{A:()=>i,g:()=>a});var n=o(51062),r=o(2958);function a(e){return(0,r.Ay)("MuiStepper",e)}const i=(0,n.A)("MuiStepper",["root","horizontal","vertical","nonLinear","alternativeLabel"])},39901:(e,t,o)=>{o.d(t,{A:()=>b});var n=o(7552),r=o(93878),a=o(75100),i=o(80317),l=o(50864),s=o(37576),c=o(51634),p=o(85095),d=o(69500);const v=(0,i.Ay)("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.nonLinear&&t.nonLinear]}})({display:"flex",variants:[{props:{orientation:"horizontal"},style:{flexDirection:"row",alignItems:"center"}},{props:{orientation:"vertical"},style:{flexDirection:"column"}},{props:{alternativeLabel:!0},style:{alignItems:"flex-start"}}]}),u=(0,d.jsx)(c.A,{}),b=n.forwardRef(function(e,t){const o=(0,l.b)({props:e,name:"MuiStepper"}),{activeStep:i=0,alternativeLabel:c=!1,children:b,className:m,component:L="div",connector:A=u,nonLinear:f=!1,orientation:h="horizontal",...S}=o,x={...o,nonLinear:f,alternativeLabel:c,orientation:h,component:L},y=(e=>{const{orientation:t,nonLinear:o,alternativeLabel:n,classes:r}=e,i={root:["root",t,o&&"nonLinear",n&&"alternativeLabel"]};return(0,a.A)(i,s.g,r)})(x),C=n.Children.toArray(b).filter(Boolean),g=C.map((e,t)=>n.cloneElement(e,{index:t,last:t+1===C.length,...e.props})),w=n.useMemo(()=>({activeStep:i,alternativeLabel:c,connector:A,nonLinear:f,orientation:h}),[i,c,A,f,h]);return(0,d.jsx)(p.A.Provider,{value:w,children:(0,d.jsx)(v,{as:L,ownerState:x,className:(0,r.A)(y.root,m),ref:t,...S,children:g})})})},46563:(e,t,o)=>{o.r(t),o.d(t,{StepperContext:()=>a.A,default:()=>n.A,getStepperUtilityClass:()=>r.g,stepperClasses:()=>r.A,useStepperContext:()=>a.s});var n=o(39901),r=o(37576),a=o(85095)},51634:(e,t,o)=>{o.d(t,{A:()=>L});var n=o(7552),r=o(93878),a=o(75100),i=o(74325),l=o(80317),s=o(21928),c=o(50864),p=o(85095),d=o(57969),v=o(10384),u=o(69500);const b=(0,l.Ay)("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel,o.completed&&t.completed]}})({flex:"1 1 auto",variants:[{props:{orientation:"vertical"},style:{marginLeft:12}},{props:{alternativeLabel:!0},style:{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"}}]}),m=(0,l.Ay)("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.line,t[`line${(0,i.A)(o.orientation)}`]]}})((0,s.A)(({theme:e})=>{const t="light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600];return{display:"block",borderColor:e.vars?e.vars.palette.StepConnector.border:t,variants:[{props:{orientation:"horizontal"},style:{borderTopStyle:"solid",borderTopWidth:1}},{props:{orientation:"vertical"},style:{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24}}]}})),L=n.forwardRef(function(e,t){const o=(0,c.b)({props:e,name:"MuiStepConnector"}),{className:l,...s}=o,{alternativeLabel:L,orientation:A="horizontal"}=n.useContext(p.A),{active:f,disabled:h,completed:S}=n.useContext(d.A),x={...o,alternativeLabel:L,orientation:A,active:f,completed:S,disabled:h},y=(e=>{const{classes:t,orientation:o,alternativeLabel:n,active:r,completed:l,disabled:s}=e,c={root:["root",o,n&&"alternativeLabel",r&&"active",l&&"completed",s&&"disabled"],line:["line",`line${(0,i.A)(o)}`]};return(0,a.A)(c,v.G,t)})(x);return(0,u.jsx)(b,{className:(0,r.A)(y.root,l),ref:t,ownerState:x,...s,children:(0,u.jsx)(m,{className:y.line,ownerState:x})})})},57969:(e,t,o)=>{o.d(t,{A:()=>i,P:()=>a});var n=o(7552);const r=n.createContext({});function a(){return n.useContext(r)}const i=r},85095:(e,t,o)=>{o.d(t,{A:()=>i,s:()=>a});var n=o(7552);const r=n.createContext({});function a(){return n.useContext(r)}const i=r}}]);
//# sourceMappingURL=6563.842346b4.chunk.js.map