PageSourceSearch

https://gdconf.com/static/js/MuiStepLabel.c5a9d28d.chunk.js

js gdconf.com collected 2026-10-01 08:44:49 UTC 5,751 bytes, 2 lines download raw bytes

1"use strict";(globalThis.__LOADABLE_LOADED_CHUNKS__||=[]).push([[6450],{13648(e,t,r){r.d(t,{P:()=>n});var o=r(76998);const a=o.createContext({});function n(){return o.useContext(a)}const l=a;r.d(t,["A",0,l])},27197(e,t,r){r.d(t,{K:()=>n});var o=r(50891),a=r(95247);function n(e){return(0,a.Ay)("MuiStepIcon",e)}const l=(0,o.A)("MuiStepIcon",["root","active","completed","error","text"]);r.d(t,["A",0,l])},92947(e,t,r){r.r(t),r.d(t,{default:()=>I,getStepLabelUtilityClass:()=>C.p,stepLabelClasses:()=>C.A});var o=r(98587),a=r(58168),n=r(76998),l=r(59714),i=r(62073),s=r(60894),c=r(42516),p=r(89367),d=r(23446);const m=(0,p.A)((0,d.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,d.jsx)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning");var A,u=r(28825),b=r(27197);const x=["active","className","completed","error","icon"],h=(0,s.Ay)(u.A,{name:"MuiStepIcon",slot:"Root",overridesResolver:(e,t)=>t.root})(e=>{let{theme:t}=e;return{display:"block",transition:t.transitions.create("color",{duration:t.transitions.duration.shortest}),color:(t.vars||t).palette.text.disabled,[`&.${b.A.completed}`]:{color:(t.vars||t).palette.primary.main},[`&.${b.A.active}`]:{color:(t.vars||t).palette.primary.main},[`&.${b.A.error}`]:{color:(t.vars||t).palette.error.main}}}),y=(0,s.Ay)("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:(e,t)=>t.text})(e=>{let{theme:t}=e;return{fill:(t.vars||t).palette.primary.contrastText,fontSize:t.typography.caption.fontSize,fontFamily:t.typography.fontFamily}}),S=n.forwardRef(function(e,t){const r=(0,c.b)({props:e,name:"MuiStepIcon"}),{active:n=!1,className:s,completed:p=!1,error:u=!1,icon:S}=r,f=(0,o.A)(r,x),L=(0,a.A)({},r,{active:n,completed:p,error:u}),C=(e=>{const{classes:t,active:r,completed:o,error:a}=e,n={root:["root",r&&"active",o&&"completed",a&&"error"],text:["text"]};return(0,i.A)(n,b.K,t)})(L);if("number"===typeof S||"string"===typeof S){const e=(0,l.A)(s,C.root);return u?(0,d.jsx)(h,(0,a.A)({as:v,className:e,ref:t,ownerState:L},f)):p?(0,d.jsx)(h,(0,a.A)({as:m,className:e,ref:t,ownerState:L},f)):(0,d.jsxs)(h,(0,a.A)({className:e,ref:t,ownerState:L},f,{children:[A||(A=(0,d.jsx)("circle",{cx:"12",cy:"12",r:"12"})),(0,d.jsx)(y,{className:C.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:L,children:S})]}))}return S});var f=r(34362),L=r(13648),C=r(81305);const g=["children","className","componentsProps","error","icon","optional","slotProps","StepIconComponent","StepIconProps"],N=(0,s.Ay)("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[r.orientation]]}})(e=>{let{ownerState:t}=e;return(0,a.A)({display:"flex",alignItems:"center",[`&.${C.A.alternativeLabel}`]:{flexDirection:"column"},[`&.${C.A.disabled}`]:{cursor:"default"}},"vertical"===t.orientation&&{textAlign:"left",padding:"8px 0"})}),M=(0,s.Ay)("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:(e,t)=>t.label})(e=>{let{theme:t}=e;return(0,a.A)({},t.typography.body2,{display:"block",transition:t.transitions.create("color",{duration:t.transitions.duration.shortest}),[`&.${C.A.active}`]:{color:(t.vars||t).palette.text.primary,fontWeight:500},[`&.${C.A.completed}`]:{color:(t.vars||t).palette.text.primary,fontWeight:500},[`&.${C.A.alternativeLabel}`]:{marginTop:16},[`&.${C.A.error}`]:{color:(t.vars||t).palette.error.main}})}),w=(0,s.Ay)("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:(e,t)=>t.iconContainer})(()=>({flexShrink:0,display:"flex",paddingRight:8,[`&.${C.A.alternativeLabel}`]:{paddingRight:0}})),j=(0,s.Ay)("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})(e=>{let{theme:t}=e;return{width:"100%",color:(t.vars||t).palette.text.secondary,[`&.${C.A.alternativeLabel}`]:{textAlign:"center"}}}),R=n.forwardRef(function(e,t){var r;const s=(0,c.b)({props:e,name:"MuiStepLabel"}),{children:p,className:m,componentsProps:v={},error:A=!1,icon:u,optional:b,slotProps:x={},StepIconComponent:h,StepIconProps:y}=s,R=(0,o.A)(s,g),{alternativeLabel:I,orientation:$}=n.useContext(f.A),{active:z,disabled:P,completed:_,icon:k}=n.useContext(L.A),D=u||k;let T=h;D&&!T&&(T=S);const K=(0,a.A)({},s,{active:z,alternativeLabel:I,completed:_,disabled:P,error:A,orientation:$}),W=(e=>{const{classes:t,orientation:r,active:o,completed:a,error:n,disabled:l,alternativeLabel:s}=e,c={root:["root",r,n&&"error",l&&"disabled",s&&"alternativeLabel"],label:["label",o&&"active",a&&"completed",n&&"error",l&&"disabled",s&&"alternativeLabel"],iconContainer:["iconContainer",o&&"active",a&&"completed",n&&"error",l&&"disabled",s&&"alternativeLabel"],labelContainer:["labelContainer",s&&"alternativeLabel"]};return(0,i.A)(c,C.p,t)})(K),B=null!=(r=x.label)?r:v.label;return(0,d.jsxs)(N,(0,a.A)({className:(0,l.A)(W.root,m),ref:t,ownerState:K},R,{children:[D||T?(0,d.jsx)(w,{className:W.iconContainer,ownerState:K,children:(0,d.jsx)(T,(0,a.A)({completed:_,active:z,error:A,icon:D},y))}):null,(0,d.jsxs)(j,{className:W.labelContainer,ownerState:K,children:[p?(0,d.jsx)(M,(0,a.A)({ownerState:K},B,{className:(0,l.A)(W.label,null==B?void 0:B.className),children:p})):null,b]})]}))});R.muiName="StepLabel";const I=R},81305(e,t,r){r.d(t,{p:()=>n});var o=r(50891),a=r(95247);function n(e){return(0,a.Ay)("MuiStepLabel",e)}const l=(0,o.A)("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]);r.d(t,["A",0,l])},34362(e,t,r){r.d(t,{s:()=>n});var o=r(76998);const a=o.createContext({});function n(){return o.useContext(a)}const l=a;r.d(t,["A",0,l])}}]);
2//# sourceMappingURL=MuiStepLabel.c5a9d28d.chunk.js.map

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.