1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1870],{6358:function(e,r,t){"use strict";t.r(r);var n=t(57437),a=t(2265),o=t(69250),s=t(99937),i=t(3989),c=t(21170),u=t(78001),l=t(72291),p=t(94794),f=t(6551);const d=(0,a.forwardRef)(((e,r)=>{let{value:t,onChange:f,name:d,label:m,description:h,error:y,minYear:b=1950,maxYear:x=2050,required:Z,disabled:_,sx:T,placeholder:v}=e;const[k,E]=(0,a.useState)(t),O=b?(0,p.Z)().year(b):(0,p.Z)(),g=x?(0,p.Z)().year(x):(0,p.Z)();(0,a.useEffect)((()=>{t&&E((0,p.Z)().set("year",Number(t)))}),[t]);const C=(0,a.useMemo)((()=>{try{return k.year()}catch(e){return null}}),[k]);(0,a.useEffect)((()=>{f&&f(C)}),[f,C]);const P=(0,p.Z)(k),Y=Boolean(y),w=Boolean(_),R=Array.isArray(T)?T:[T];return(0,n.jsxs)(c.Z,{sx:R,children:[Boolean(m)&&(0,n.jsx)(u.Z,{required:Boolean(Z),info:h,children:m}),(0,n.jsx)(o._,{dateAdapter:i.y,children:(0,n.jsx)(s.M,{value:P,disabled:w,onChange:e=>{E(e)},minDate:O,maxDate:g,inputRef:r,views:["year"],slots:{textField:l.Z},slotProps:{field:{clearable:!0},textField:{fullWidth:!0,error:Y,helperText:y,name:d,placeholder:v||"YYYY"}}})})]})}));d.displayName="FormYearPicker",r.default=(0,a.memo)(d,f.wy)},64119:function(e,r,t){"use strict";t.d(r,{Z:function(){return s}});var n=t(94873),a=t(55201),o=t(22166);function s(e){let{props:r,name:t}=e;return(0,n.Z)({props:r,name:t,defaultTheme:a.Z,themeId:o.Z})}},94873:function(e,r,t){"use strict";t.d(r,{Z:function(){return o}});var n=t(8675),a=t(12720);function o(e){let{props:r,name:t,defaultTheme:o,themeId:s}=e,i=(0,a.default)(o);s&&(i=i[s]||i);return(0,n.Z)({theme:i,name:t,props:r})}},48049:function(e,r,t){"use strict";var n=t(14397);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,r,t,a,o,s){if(s!==n){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function r(){return e}e.isRequired=e;var t={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:r,element:e,elementType:e,instanceOf:r,node:e,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:o,resetWarningCache:a};return t.PropTypes=t,t}},40718:function(e,r,t){e.exports=t(48049)()},14397:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"}}]);
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.