"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[3922],{74918:(e,t,o)=>{o.d(t,{Z:()=>i,s:()=>a});var n=o(66204);const r=n.createContext({});function a(){return n.useContext(r)}const i=r},80021:(e,t,o)=>{o.d(t,{Z:()=>L});var n=o(55559),r=o(30984),a=o(66204),i=o(56317),l=o(58029),s=o(40118),c=o(61125),p=o(57369),d=o(74837),v=o(74918),u=o(26468),b=o(43188);const Z=["className"],m=(0,c.ZP)("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]}})((({ownerState:e})=>(0,r.Z)({flex:"1 1 auto"},"vertical"===e.orientation&&{marginLeft:12},e.alternativeLabel&&{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"}))),S=(0,c.ZP)("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.line,t[`line${(0,s.Z)(o.orientation)}`]]}})((({ownerState:e,theme:t})=>{const o="light"===t.palette.mode?t.palette.grey[400]:t.palette.grey[600];return(0,r.Z)({display:"block",borderColor:t.vars?t.vars.palette.StepConnector.border:o},"horizontal"===e.orientation&&{borderTopStyle:"solid",borderTopWidth:1},"vertical"===e.orientation&&{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24})})),L=a.forwardRef((function(e,t){const o=(0,p.Z)({props:e,name:"MuiStepConnector"}),{className:c}=o,L=(0,n.Z)(o,Z),{alternativeLabel:h,orientation:f="horizontal"}=a.useContext(d.Z),{active:x,disabled:C,completed:w}=a.useContext(v.Z),g=(0,r.Z)({},o,{alternativeLabel:h,orientation:f,active:x,completed:w,disabled:C}),M=(e=>{const{classes:t,orientation:o,alternativeLabel:n,active:r,completed:a,disabled:i}=e,c={root:["root",o,n&&"alternativeLabel",r&&"active",a&&"completed",i&&"disabled"],line:["line",`line${(0,s.Z)(o)}`]};return(0,l.Z)(c,u.M,t)})(g);return(0,b.jsx)(m,(0,r.Z)({className:(0,i.Z)(M.root,c),ref:t,ownerState:g},L,{children:(0,b.jsx)(S,{className:M.line,ownerState:g})}))}))},26468:(e,t,o)=>{o.d(t,{M:()=>a,Z:()=>i});var n=o(58109),r=o(95201);function a(e){return(0,r.Z)("MuiStepConnector",e)}const i=(0,n.Z)("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"])},59602:(e,t,o)=>{o.d(t,{Z:()=>S});var n=o(55559),r=o(30984),a=o(66204),i=o(56317),l=o(58029),s=o(57369),c=o(61125),p=o(40991),d=o(80021),v=o(74837),u=o(43188);const b=["activeStep","alternativeLabel","children","className","component","connector","nonLinear","orientation"],Z=(0,c.ZP)("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,t[o.orientation],o.alternativeLabel&&t.alternativeLabel]}})((({ownerState:e})=>(0,r.Z)({display:"flex"},"horizontal"===e.orientation&&{flexDirection:"row",alignItems:"center"},"vertical"===e.orientation&&{flexDirection:"column"},e.alternativeLabel&&{alignItems:"flex-start"}))),m=(0,u.jsx)(d.Z,{}),S=a.forwardRef((function(e,t){const o=(0,s.Z)({props:e,name:"MuiStepper"}),{activeStep:c=0,alternativeLabel:d=!1,children:S,className:L,component:h="div",connector:f=m,nonLinear:x=!1,orientation:C="horizontal"}=o,w=(0,n.Z)(o,b),g=(0,r.Z)({},o,{alternativeLabel:d,orientation:C,component:h}),M=(e=>{const{orientation:t,alternativeLabel:o,classes:n}=e,r={root:["root",t,o&&"alternativeLabel"]};return(0,l.Z)(r,p.c,n)})(g),y=a.Children.toArray(S).filter(Boolean),j=y.map(((e,t)=>a.cloneElement(e,(0,r.Z)({index:t,last:t+1===y.length},e.props)))),z=a.useMemo((()=>({activeStep:c,alternativeLabel:d,connector:f,nonLinear:x,orientation:C})),[c,d,f,x,C]);return(0,u.jsx)(v.Z.Provider,{value:z,children:(0,u.jsx)(Z,(0,r.Z)({as:h,ownerState:g,className:(0,i.Z)(M.root,L),ref:t},w,{children:j}))})}))},74837:(e,t,o)=>{o.d(t,{Z:()=>i,s:()=>a});var n=o(66204);const r=n.createContext({});function a(){return n.useContext(r)}const i=r},63922:(e,t,o)=>{o.r(t),o.d(t,{StepperContext:()=>a.Z,default:()=>n.Z,getStepperUtilityClass:()=>r.c,stepperClasses:()=>r.Z,useStepperContext:()=>a.s});var n=o(59602),r=o(40991),a=o(74837)},40991:(e,t,o)=>{o.d(t,{Z:()=>i,c:()=>a});var n=o(58109),r=o(95201);function a(e){return(0,r.Z)("MuiStepper",e)}const i=(0,n.Z)("MuiStepper",["root","horizontal","vertical","alternativeLabel"])}}]);
//# sourceMappingURL=3922.645071cd.chunk.js.map