1"use strict";(self.webpackChunk_metafox_react=self.webpackChunk_metafox_react||[]).push([["metafox-ui-steps-ProcessSteps","metafox-ui-steps-Steppers"],{7902:function(e,t,r){t.A=(0,r(30758).createContext)(void 0)},11202:function(e,t,r){r.r(t),r.d(t,{default:function(){return x}});var n=r(53993);r(41636);var o=r(30758),a=r(7902),i=r(97071),l=r(75219),s=r(86070),p=(0,l.A)((0,s.jsx)("path",{d:"M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"}),"Check"),c=(0,l.A)((0,s.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error"),d=r(97397),u=r(81916),v=r(41818),m=r(20644),f=r.n(m),h=r(37254),A=r(50723);function y({step:e,active:t,onSuccess:r}){var a;let{apiClient:l,handleActionError:s,i18n:m}=(0,n.PCX)(),{dataSource:y,data:x,enableReport:b,params:S,dryRun:g}=e,[w,C]=o.useState(),[L,M]=o.useState(),R=null!=(a=null==y?void 0:y.apiMethod)?a:"GET",E=o.useCallback(()=>{var t;l.request({timeout:e.disableUserAbort?null!=(t=e.timeout)?t:1e4:0,url:y.apiUrl,method:R,params:S,data:x}).then(e=>{if(f()(e,"data.data.retry"))setTimeout(()=>E(),5e3);else{M(f()(e,"data.data.message"));let t=f()(e,"data.data.status","success");C(null!=t?t:"success"),r()}}).catch(e=>{g?(C("error"),M((0,h.$2)(e)),r()):"ECONNABORTED"===e.code?E():(s(e),C("error"))})},[]);return o.useEffect(()=>{t&&E()},[t,E]),o.createElement(i.A,{sx:{}},o.createElement(i.A,{sx:{display:"flex",flexDirection:"row",alignItems:"center",height:40}},o.createElement(i.A,{sx:{display:"flex",flex:1}},o.createElement(d.A,{fontWeight:t?700:void 0},e.title)),t&&"error"!==w?o.createElement(i.A,{sx:{display:"block",minWidth:120,width:"30%"}},o.createElement(u.A,{variant:"indeterminate",color:"primary"})):null,"error"===w?o.createElement(i.A,null,o.createElement(c,{color:"error"})):null,"error"!==w||e.disableRetry?null:o.createElement(v.A,{size:"small",onClick:()=>{C(void 0),E()},title:m.formatMessage({id:"retry"})},m.formatMessage({id:"retry"})),"success"===w?o.createElement(i.A,null,o.createElement(p,{color:"success"})):null),b&&L?o.createElement(A.Ay,{disableNl2br:!0,html:L}):null,o.createElement(i.A,null),o.createElement(i.A,{sx:{pl:2}},e.message?o.createElement(d.A,{sx:{whiteSpace:"pre-wrap"}},e.message):null))}function x({steps:e,disableNavigateConfirm:t=!0}){let{setNavigationConfirm:r}=(0,n.PCX)(),[l,s]=o.useState(0),[p]=function(){let e=(0,o.useContext)(a.A);if(!e)return[()=>{},()=>{}];let[,t]=e;return[()=>t({type:"next"}),()=>t({type:"back"})]}();return(o.useEffect(()=>{(null==e?void 0:e.length)>0&&l>=(null==e?void 0:e.length)&&p()},[l]),o.useEffect(()=>(t||(window.onbeforeunload=()=>"Do you want to skip the process"),t||r(!0),()=>{r(!1),window.onbeforeunload=void 0}),[]),null==e?void 0:e.length)?o.createElement(i.A,{sx:{minHeight:100,display:"flex",flexDirection:"column"}},e.map((e,t)=>o.createElement(y,{step:e,onSuccess:()=>s(t+1),key:t.toString(),active:l===t}))):null}},23102:function(e,t,r){r.d(t,{A:function(){return w}});var n=r(30758),o=r(13526),a=r(76216),i=r(83639),l=r(14255),s=r(43890),p=r(89541),c=r(10291),d=r(33795),u=r(24837),v=r(55492),m=r(48870),f=r(50625),h=r(46749);function A(e){return(0,h.Ay)("MuiCollapse",e)}(0,f.A)("MuiCollapse",["root","horizontal","vertical","entered","hidden","wrapper","wrapperInner"]);var y=r(86070);let x=(0,s.Ay)("div",{name:"MuiCollapse",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.orientation],"entered"===r.state&&t.entered,"exited"===r.state&&!r.in&&"0px"===r.collapsedSize&&t.hidden]}})((0,c.A)(({theme:e})=>({height:0,overflow:"hidden",transition:e.transitions.create("height"),variants:[{props:{orientation:"horizontal"},style:{height:"auto",width:0,transition:e.transitions.create("width")}},{props:{state:"entered"},style:{height:"auto",overflow:"visible"}},{props:{state:"entered",orientation:"horizontal"},style:{width:"auto"}},{props:({ownerState:e})=>"exited"===e.state&&!e.in&&"0px"===e.collapsedSize,style:{visibility:"hidden"}}]}))),b=(0,s.Ay)("div",{name:"MuiCollapse",slot:"Wrapper",overridesResolver:(e,t)=>t.wrapper})({display:"flex",width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),S=(0,s.Ay)("div",{name:"MuiCollapse",slot:"WrapperInner",overridesResolver:(e,t)=>t.wrapperInner})({width:"100%",variants:[{props:{orientation:"horizontal"},style:{width:"auto",height:"100%"}}]}),g=n.forwardRef(function(e,t){let r=(0,d.b)({props:e,name:"MuiCollapse"}),{addEndListener:s,children:c,className:f,collapsedSize:h="0px",component:g,easing:w,in:C,onEnter:L,onEntered:M,onEntering:R,onExit:E,onExited:z,onExiting:j,orientation:$="vertical",style:N,timeout:I=u.p0.standard,TransitionComponent:k=a.Ay,...T}=r,D={...r,orientation:$,collapsedSize:h},P=(e=>{let{orientation:t,classes:r}=e,n={root:["root",`${t}`],entered:["entered"],hidden:["hidden"],wrapper:["wrapper",`${t}`],wrapperInner:["wrapperInner",`${t}`]};return(0,l.A)(n,A,r)})(D),W=(0,p.A)(),H=(0,i.A)(),F=n.useRef(null),_=n.useRef(),B="number"==typeof h?`${h}
1px`:h,O="horizontal"===$,X=O?"width":"height",U=n.useRef(null),V=(0,m.A)(t,U),q=e=>t=>{if(e){let r=U.current;void 0===t?e(r):e(r,t)}},G=()=>F.current?F.current[O?"clientWidth":"clientHeight"]:0,J=q((e,t)=>{F.current&&O&&(F.current.style.position="absolute"),e.style[X]=B,L&&L(e,t)}),K=q((e,t)=>{let r=G();F.current&&O&&(F.current.style.position="");let{duration:n,easing:o}=(0,v.c)({style:N,timeout:I,easing:w},{mode:"enter"});if("auto"===I){let t=W.transitions.getAutoHeightDuration(r);e.style.transitionDuration=`${t}ms`,_.current=t}else e.style.transitionDuration="string"==typeof n?n:`${n}ms`;e.style[X]=`${r}px`,e.style.transitionTimingFunction=o,R&&R(e,t)}),Q=q((e,t)=>{e.style[X]="auto",M&&M(e,t)}),Y=q(e=>{e.style[X]=`${G()}px`,E&&E(e)}),Z=q(z),ee=q(e=>{let t=G(),{duration:r,easing:n}=(0,v.c)({style:N,timeout:I,easing:w},{mode:"exit"});if("auto"===I){let r=W.transitions.getAutoHeightDuration(t);e.style.transitionDuration=`${r}ms`,_.current=r}else e.style.transitionDuration="string"==typeof r?r:`${r}ms`;e.style[X]=B,e.style.transitionTimingFunction=n,j&&j(e)});return(0,y.jsx)(k,{in:C,onEnter:J,onEntered:Q,onEntering:K,onExit:Y,onExited:Z,onExiting:ee,addEndListener:e=>{"auto"===I&&H.start(_.current||0,e),s&&s(U.current,e)},nodeRef:U,timeout:"auto"===I?null:I,...T,children:(e,{ownerState:t,...r})=>(0,y.jsx)(x,{as:g,className:(0,o.A)(P.root,f,{entered:P.entered,exited:!C&&"0px"===B&&P.hidden}[e]),style:{[O?"minWidth":"minHeight"]:B,...N},ref:V,ownerState:{...D,state:e},...r,children:(0,y.jsx)(b,{ownerState:{...D,state:e},className:P.wrapper,ref:F,children:(0,y.jsx)(S,{ownerState:{...D,state:e},className:P.wrapperInner,children:c})})})})});g&&(g.muiSupportAuto=!0);var w=g},41636:function(e,t,r){r.r(t),r.d(t,{default:function(){return M}});var n=r(30758),o=r(83984),a=r(58279),i=r(54873),l=r(13526),s=r(14255),p=r(43890),c=r(10291),d=r(33795),u=r(23102),v=r(92550),m=r(95372),f=r(50625),h=r(46749);function A(e){return(0,h.Ay)("MuiStepContent",e)}(0,f.A)("MuiStepContent",["root","last","transition"]);var y=r(39439),x=r(86070);let b=(0,p.Ay)("div",{name:"MuiStepContent",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.last&&t.last]}})((0,c.A)(({theme:e})=>({marginLeft:12,paddingLeft:20,paddingRight:8,borderLeft:e.vars?`1px solid ${e.vars.palette.StepContent.border}`:`1px solid ${"light"===e.palette.mode?e.palette.grey[400]:e.palette.grey[600]}`,variants:[{props:{last:!0},style:{borderLeft:"none"}}]}))),S=(0,p.Ay)(u.A,{name:"MuiStepContent",slot:"Transition",overridesResolver:(e,t)=>t.transition})({}),g=n.forwardRef(function(e,t){let r=(0,d.b)({props:e,name:"MuiStepContent"}),{children:o,className:a,TransitionComponent:i=u.A,transitionDuration:p="auto",TransitionProps:c,slots:f={},slotProps:h={},...g}=r,{orientation:w}=n.useContext(v.A),{active:C,last:L,expanded:M}=n.useContext(m.A),R={...r,last:L},E=(e=>{let{classes:t,last:r}=e;return(0,s.A)({root:["root",r&&"last"],transition:["transition"]},A,t)})(R),z=p;"auto"!==p||i.muiSupportAuto||(z=void 0);let j={slots:f,slotProps:{transition:c,...h}},[$,N]=(0,y.A)("transition",{elementType:S,externalForwardedProps:j,ownerState:R,className:E.transition,additionalProps:{in:C||M,timeout:z,unmountOnExit:!0}});return(0,x.jsx)(b,{className:(0,l.A)(E.root,a),ref:t,ownerState:R,...g,children:(0,x.jsx)($,{as:i,...N,children:o})})});var w=r(53993);let C=(0,r(28017).Ay)((e,t)=>{var r,n;switch(t.type){case"next":if(e.activeStep>e.data.steps.length-1)return;e.activeStep=e.activeStep+1,e.activeId=null==(r=e.data.steps[e.activeStep])?void 0:r.id;break;case"back":if(e.activeStep<1)return;e.activeStep=e.activeStep-1,e.activeId=null==(n=e.data.steps[e.activeStep])?void 0:n.id}});var L=r(7902);function M(e){var t;let{jsxBackend:r}=(0,w.PCX)(),l=n.useReducer(C,{activeStep:0,activeId:null==(t=e.steps[0])?void 0:t.id,data:e}),[{data:s,activeStep:p}]=l;return(null==s?void 0:s.steps)?n.createElement(L.A.Provider,{value:l},n.createElement(o.A,{activeStep:p,orientation:"vertical"},s.steps.map(e=>n.createElement(a.A,{key:e.id,expanded:e.expanded,disabled:e.disabled},n.createElement(i.A,null,e.title),n.createElement(g,null,r.render({component:e.component,props:e.props})))))):null}},54873:function(e,t,r){r.d(t,{A:function(){return N}});var n,o=r(14255),a=r(13526),i=r(30758),l=r(95372),s=r(43890),p=r(10291),c=r(33795),d=r(75219),u=r(86070),v=(0,d.A)((0,u.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"}
1),"CheckCircle"),m=(0,d.A)((0,u.jsx)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning"),f=r(36007),h=r(50625),A=r(46749);function y(e){return(0,A.Ay)("MuiStepIcon",e)}let x=(0,h.A)("MuiStepIcon",["root","active","completed","error","text"]),b=(0,s.Ay)(f.A,{name:"MuiStepIcon",slot:"Root",overridesResolver:(e,t)=>t.root})((0,p.A)(({theme:e})=>({display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),color:(e.vars||e).palette.text.disabled,[`&.${x.completed}`]:{color:(e.vars||e).palette.primary.main},[`&.${x.active}`]:{color:(e.vars||e).palette.primary.main},[`&.${x.error}`]:{color:(e.vars||e).palette.error.main}}))),S=(0,s.Ay)("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:(e,t)=>t.text})((0,p.A)(({theme:e})=>({fill:(e.vars||e).palette.primary.contrastText,fontSize:e.typography.caption.fontSize,fontFamily:e.typography.fontFamily}))),g=i.forwardRef(function(e,t){let r=(0,c.b)({props:e,name:"MuiStepIcon"}),{active:i=!1,className:l,completed:s=!1,error:p=!1,icon:d,...f}=r,h={...r,active:i,completed:s,error:p},A=(e=>{let{classes:t,active:r,completed:n,error:a}=e;return(0,o.A)({root:["root",r&&"active",n&&"completed",a&&"error"],text:["text"]},y,t)})(h);if("number"==typeof d||"string"==typeof d){let e=(0,a.A)(l,A.root);return p?(0,u.jsx)(b,{as:m,className:e,ref:t,ownerState:h,...f}):s?(0,u.jsx)(b,{as:v,className:e,ref:t,ownerState:h,...f}):(0,u.jsxs)(b,{className:e,ref:t,ownerState:h,...f,children:[n||(n=(0,u.jsx)("circle",{cx:"12",cy:"12",r:"12"})),(0,u.jsx)(S,{className:A.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:h,children:d})]})}return d});var w=r(92550);function C(e){return(0,A.Ay)("MuiStepLabel",e)}let L=(0,h.A)("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]);var M=r(39439);let R=(0,s.Ay)("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.orientation]]}})({display:"flex",alignItems:"center",[`&.${L.alternativeLabel}`]:{flexDirection:"column"},[`&.${L.disabled}`]:{cursor:"default"},variants:[{props:{orientation:"vertical"},style:{textAlign:"left",padding:"8px 0"}}]}),E=(0,s.Ay)("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:(e,t)=>t.label})((0,p.A)(({theme:e})=>({...e.typography.body2,display:"block",transition:e.transitions.create("color",{duration:e.transitions.duration.shortest}),[`&.${L.active}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${L.completed}`]:{color:(e.vars||e).palette.text.primary,fontWeight:500},[`&.${L.alternativeLabel}`]:{marginTop:16},[`&.${L.error}`]:{color:(e.vars||e).palette.error.main}}))),z=(0,s.Ay)("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:(e,t)=>t.iconContainer})({flexShrink:0,display:"flex",paddingRight:8,[`&.${L.alternativeLabel}`]:{paddingRight:0}}),j=(0,s.Ay)("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})((0,p.A)(({theme:e})=>({width:"100%",color:(e.vars||e).palette.text.secondary,[`&.${L.alternativeLabel}`]:{textAlign:"center"}}))),$=i.forwardRef(function(e,t){let r=(0,c.b)({props:e,name:"MuiStepLabel"}),{children:n,className:s,componentsProps:p={},error:d=!1,icon:v,optional:m,slots:f={},slotProps:h={},StepIconComponent:A,StepIconProps:y,...x}=r,{alternativeLabel:b,orientation:S}=i.useContext(w.A),{active:L,disabled:$,completed:N,icon:I}=i.useContext(l.A),k=v||I,T=A;k&&!T&&(T=g);let D={...r,active:L,alternativeLabel:b,completed:N,disabled:$,error:d,orientation:S},P=(e=>{let{classes:t,orientation:r,active:n,completed:a,error:i,disabled:l,alternativeLabel:s}=e;return(0,o.A)({root:["root",r,i&&"error",l&&"disabled",s&&"alternativeLabel"],label:["label",n&&"active",a&&"completed",i&&"error",l&&"disabled",s&&"alternativeLabel"],iconContainer:["iconContainer",n&&"active",a&&"completed",i&&"error",l&&"disabled",s&&"alternativeLabel"],labelContainer:["labelContainer",s&&"alternativeLabel"]},C,t)})(D),W={slots:f,slotProps:{stepIcon:y,...p,...h}},[H,F]=(0,M.A)("root",{elementType:R,externalForwardedProps:{...W,...x},ownerState:D,ref:t,className:(0,a.A)(P.root,s)}),[_,B]=(0,M.A)("label",{elementType:E,externalForwardedProps:W,ownerState:D}),[O,X]=(0,M.A)("stepIcon",{elementType:T,externalForwardedProps:W,ownerState:D});return(0,u.jsxs)(H,{...F,children:[k||O?(0,u.jsx)(z,{className:P.iconContainer,ownerState:D,children:(0,u.jsx)(O,{completed:N,active:L,error:d,icon:k,...X})}):null,(0,u.jsxs)(j,{className:P.labelContainer,ownerState:D,children:[n?(0,u.jsx)(_,{...B,className:(0,a.A)(P.label,B?.className),children:n}):null,m]})]})});$.muiName="StepLabel";var N=$},58279:function(e,t,r){r.d(t,{A:function(){return f}});var n=r(30758),o=r(13526),a=r(14255),i=r(92550),l=r(95372),s=r(43890),p=r(33795),c=r(50625),d=r(46749);function u(e){return(0,d.Ay)("MuiStep",e)}(0,c.A)("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]);var v=r(86070);let m=(0,s.Ay)("div",{name:"MuiStep",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.orientation],r.alternativeLabel&&t.alternativeLabel,r.completed&&t.completed]}})({variants:[{props:{orientation:"horizontal"},style:{paddingLeft:8,paddingRight:8}},{props:{alternativeLabel:!0},style:{flex:1,position:"relative"}}
1]});var f=n.forwardRef(function(e,t){let r=(0,p.b)({props:e,name:"MuiStep"}),{active:s,children:c,className:d,component:f="div",completed:h,disabled:A,expanded:y=!1,index:x,last:b,...S}=r,{activeStep:g,connector:w,alternativeLabel:C,orientation:L,nonLinear:M}=n.useContext(i.A),[R=!1,E=!1,z=!1]=[s,h,A];g===x?R=void 0===s||s:!M&&g>x?E=void 0===h||h:!M&&g<x&&(z=void 0===A||A);let j=n.useMemo(()=>({index:x,last:b,expanded:y,icon:x+1,active:R,completed:E,disabled:z}),[x,b,y,R,E,z]),$={...r,active:R,orientation:L,alternativeLabel:C,completed:E,disabled:z,expanded:y,component:f},N=(e=>{let{classes:t,orientation:r,alternativeLabel:n,completed:o}=e;return(0,a.A)({root:["root",r,n&&"alternativeLabel",o&&"completed"]},u,t)})($),I=(0,v.jsxs)(m,{as:f,className:(0,o.A)(N.root,d),ref:t,ownerState:$,...S,children:[w&&C&&0!==x?w:null,c]});return(0,v.jsx)(l.A.Provider,{value:j,children:w&&!C&&0!==x?(0,v.jsxs)(n.Fragment,{children:[w,I]}):I})})},83984:function(e,t,r){r.d(t,{A:function(){return g}});var n=r(30758),o=r(13526),a=r(14255),i=r(43890),l=r(33795),s=r(50625),p=r(46749);function c(e){return(0,p.Ay)("MuiStepper",e)}(0,s.A)("MuiStepper",["root","horizontal","vertical","nonLinear","alternativeLabel"]);var d=r(80280),u=r(10291),v=r(92550),m=r(95372);function f(e){return(0,p.Ay)("MuiStepConnector",e)}(0,s.A)("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"]);var h=r(86070);let A=(0,i.Ay)("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.orientation],r.alternativeLabel&&t.alternativeLabel,r.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)"}}]}),y=(0,i.Ay)("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.line,t[`line${(0,d.A)(r.orientation)}`]]}})((0,u.A)(({theme:e})=>{let 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}}]}})),x=n.forwardRef(function(e,t){let r=(0,l.b)({props:e,name:"MuiStepConnector"}),{className:i,...s}=r,{alternativeLabel:p,orientation:c="horizontal"}=n.useContext(v.A),{active:u,disabled:x,completed:b}=n.useContext(m.A),S={...r,alternativeLabel:p,orientation:c,active:u,completed:b,disabled:x},g=(e=>{let{classes:t,orientation:r,alternativeLabel:n,active:o,completed:i,disabled:l}=e,s={root:["root",r,n&&"alternativeLabel",o&&"active",i&&"completed",l&&"disabled"],line:["line",`line${(0,d.A)(r)}`]};return(0,a.A)(s,f,t)})(S);return(0,h.jsx)(A,{className:(0,o.A)(g.root,i),ref:t,ownerState:S,...s,children:(0,h.jsx)(y,{className:g.line,ownerState:S})})}),b=(0,i.Ay)("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.orientation],r.alternativeLabel&&t.alternativeLabel,r.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"}}]}),S=(0,h.jsx)(x,{});var g=n.forwardRef(function(e,t){let r=(0,l.b)({props:e,name:"MuiStepper"}),{activeStep:i=0,alternativeLabel:s=!1,children:p,className:d,component:u="div",connector:m=S,nonLinear:f=!1,orientation:A="horizontal",...y}=r,x={...r,nonLinear:f,alternativeLabel:s,orientation:A,component:u},g=(e=>{let{orientation:t,nonLinear:r,alternativeLabel:n,classes:o}=e;return(0,a.A)({root:["root",t,r&&"nonLinear",n&&"alternativeLabel"]},c,o)})(x),w=n.Children.toArray(p).filter(Boolean),C=w.map((e,t)=>n.cloneElement(e,{index:t,last:t+1===w.length,...e.props})),L=n.useMemo(()=>
1({activeStep:i,alternativeLabel:s,connector:m,nonLinear:f,orientation:A}),[i,s,m,f,A]);return(0,h.jsx)(v.A.Provider,{value:L,children:(0,h.jsx)(b,{as:u,ownerState:x,className:(0,o.A)(g.root,d),ref:t,...y,children:C})})})},92550:function(e,t,r){t.A=r(30758).createContext({})},95372:function(e,t,r){t.A=r(30758).createContext({})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.