PageSourceSearch

https://gdconf.com/static/js/MuiFormLabel.a338db6d.chunk.js

js gdconf.com collected 2026-09-24 08:29:52 UTC 2,698 bytes, 2 lines download raw bytes

1"use strict";(globalThis.__LOADABLE_LOADED_CHUNKS__||=[]).push([[5070],{8674(e,r,o){const l=o(76998).createContext(void 0);o.d(r,["A",0,l])},35880(e,r,o){function l(e){let{props:r,states:o,muiFormControl:l}=e;return o.reduce((e,o)=>(e[o]=r[o],l&&"undefined"===typeof r[o]&&(e[o]=l[o]),e),{})}o.d(r,{A:()=>l})},18958(e,r,o){o.d(r,{A:()=>s});var l=o(76998),t=o(8674);function s(){return l.useContext(t.A)}},24389(e,r,o){var l=o(98587),t=o(58168),s=o(76998),a=o(59714),d=o(62073),i=o(35880),n=o(18958),c=o(24260),u=o(42516),A=o(60894),m=o(17341),f=o(23446);const b=["children","className","color","component","disabled","error","filled","focused","required"],p=(0,A.Ay)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,r)=>{let{ownerState:o}=e;return(0,t.A)({},r.root,"secondary"===o.color&&r.colorSecondary,o.filled&&r.filled)}})(e=>{let{theme:r,ownerState:o}=e;return(0,t.A)({color:(r.vars||r).palette.text.secondary},r.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${m.A.focused}`]:{color:(r.vars||r).palette[o.color].main},[`&.${m.A.disabled}`]:{color:(r.vars||r).palette.text.disabled},[`&.${m.A.error}`]:{color:(r.vars||r).palette.error.main}})}),v=(0,A.Ay)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,r)=>r.asterisk})(e=>{let{theme:r}=e;return{[`&.${m.A.error}`]:{color:(r.vars||r).palette.error.main}}}),y=s.forwardRef(function(e,r){const o=(0,u.b)({props:e,name:"MuiFormLabel"}),{children:s,className:A,component:y="label"}=o,h=(0,l.A)(o,b),L=(0,n.A)(),F=(0,i.A)({props:o,muiFormControl:L,states:["color","required","focused","disabled","error","filled"]}),q=(0,t.A)({},o,{color:F.color||"primary",component:y,disabled:F.disabled,error:F.error,filled:F.filled,focused:F.focused,required:F.required}),C=(e=>{const{classes:r,color:o,focused:l,disabled:t,error:s,filled:a,required:i}=e,n={root:["root",`color${(0,c.A)(o)}`,t&&"disabled",s&&"error",a&&"filled",l&&"focused",i&&"required"],asterisk:["asterisk",s&&"error"]};return(0,d.A)(n,m.Z,r)})(q);return(0,f.jsxs)(p,(0,t.A)({as:y,ownerState:q,className:(0,a.A)(C.root,A),ref:r},h,{children:[s,F.required&&(0,f.jsxs)(v,{ownerState:q,"aria-hidden":!0,className:C.asterisk,children:["\u2009","*"]})]}))});o.d(r,["A",0,y,"d",0,p])},17341(e,r,o){o.d(r,{Z:()=>s});var l=o(50891),t=o(95247);function s(e){return(0,t.Ay)("MuiFormLabel",e)}const a=(0,l.A)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]);o.d(r,["A",0,a])},17305(e,r,o){o.r(r),o.d(r,{FormLabelRoot:()=>l.d,default:()=>l.A,formLabelClasses:()=>t.A,getFormLabelUtilityClasses:()=>t.Z});var l=o(24389),t=o(17341)}}]);
2//# sourceMappingURL=MuiFormLabel.a338db6d.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.