"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[2246],{47450:(e,t,r)=>{r.d(t,{A:()=>S});var o=r(6614),a=r(83673),s=r(7552),c=r(93878),n=r(60827),i=r(51148),l=r(31049),p=r(74893),m=r(69500);const d=(0,p.A)((0,m.jsx)("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),v=(0,p.A)((0,m.jsx)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");var A,h=r(2859),u=r(72755);const x=["active","className","completed","error","icon"],y=(0,i.Ay)(h.A,{name:"MuiStepIcon",slot:"Root",overridesResolver:(e,t)=>t.root})((({theme:e})=>({display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),color:(e.vars||e).palette.text.disabled,[`&.${u.A.completed}`]:{color:(e.vars||e).palette.primary.main},[`&.${u.A.active}`]:{color:(e.vars||e).palette.primary.main},[`&.${u.A.error}`]:{color:(e.vars||e).palette.error.main}}))),f=(0,i.Ay)("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:(e,t)=>t.text})((({theme:e})=>({fill:(e.vars||e).palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily}))),S=s.forwardRef((function(e,t){const r=(0,l.A)({props:e,name:"MuiStepIcon"}),{active:s=!1,className:i,completed:p=!1,error:h=!1,icon:S}=r,b=(0,a.A)(r,x),w=(0,o.A)({},r,{active:s,completed:p,error:h}),j=(e=>{const{classes:t,active:r,completed:o,error:a}=e,s={root:["root",r&&"active",o&&"completed",a&&"error"],text:["text"]};return(0,n.A)(s,u.K,t)})(w);if("number"==typeof S||"string"==typeof S){const e=(0,c.A)(i,j.root);return h?(0,m.jsx)(y,(0,o.A)({as:v,className:e,ref:t,ownerState:w},b)):p?(0,m.jsx)(y,(0,o.A)({as:d,className:e,ref:t,ownerState:w},b)):(0,m.jsxs)(y,(0,o.A)({className:e,ref:t,ownerState:w},b,{children:[A||(A=(0,m.jsx)("circle",{cx:"12",cy:"12",r:"12"})),(0,m.jsx)(f,{className:j.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:w,children:S})]}))}return S}))},32246:(e,t,r)=>{r.r(t),r.d(t,{default:()=>o.A,getStepIconUtilityClass:()=>a.K,stepIconClasses:()=>a.A});var o=r(47450),a=r(72755)},72755:(e,t,r)=>{r.d(t,{A:()=>c,K:()=>s});var o=r(55549),a=r(9577);function s(e){return(0,a.Ay)("MuiStepIcon",e)}const c=(0,o.A)("MuiStepIcon",["root","active","completed","error","text"])}}]);
//# sourceMappingURL=2246.1a14fbf2.chunk.js.map