Files
Express_console_build/build/static/js/6162.de3b5bea.chunk.js

1 line
11 KiB
JavaScript

(self.webpackChunkmantis_material_react=self.webpackChunkmantis_material_react||[]).push([[6162],{16497:(e,t,o)=>{"use strict";o.d(t,{A:()=>x});var a=o(98587),r=o(58168),n=o(9950),s=o(72004),i=o(3484),l=o(39766),c=o(93230),d=o(82053),u=o(89548),h=o(59254),f=o(18463),m=o(45558),p=o(1614);function v(e){return(0,p.Ay)("MuiFormControlLabel",e)}const b=(0,m.A)("MuiFormControlLabel",["root","labelPlacementStart","labelPlacementTop","labelPlacementBottom","disabled","label","error","required","asterisk"]);var A=o(68624),g=o(44414);const k=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],C=(0,h.Ay)("label",{name:"MuiFormControlLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[{["& .".concat(b.label)]:t.label},t.root,t["labelPlacement".concat((0,u.A)(o.labelPlacement))]]}})((e=>{let{theme:t,ownerState:o}=e;return(0,r.A)({display:"inline-flex",alignItems:"center",cursor:"pointer",verticalAlign:"middle",WebkitTapHighlightColor:"transparent",marginLeft:-11,marginRight:16,["&.".concat(b.disabled)]:{cursor:"default"}},"start"===o.labelPlacement&&{flexDirection:"row-reverse",marginLeft:16,marginRight:-11},"top"===o.labelPlacement&&{flexDirection:"column-reverse",marginLeft:16},"bottom"===o.labelPlacement&&{flexDirection:"column",marginLeft:16},{["& .".concat(b.label)]:{["&.".concat(b.disabled)]:{color:(t.vars||t).palette.text.disabled}}})})),y=(0,h.Ay)("span",{name:"MuiFormControlLabel",slot:"Asterisk",overridesResolver:(e,t)=>t.asterisk})((e=>{let{theme:t}=e;return{["&.".concat(b.error)]:{color:(t.vars||t).palette.error.main}}})),x=n.forwardRef((function(e,t){var o,h;const m=(0,f.b)({props:e,name:"MuiFormControlLabel"}),{className:p,componentsProps:b={},control:x,disabled:$,disableTypography:S,label:P,labelPlacement:M="end",required:z,slotProps:w={}}=m,R=(0,a.A)(m,k),F=(0,l.A)(),D=null!=(o=null!=$?$:x.props.disabled)?o:null==F?void 0:F.disabled,O=null!=z?z:x.props.required,T={disabled:D,required:O};["checked","name","onChange","value","inputRef"].forEach((e=>{"undefined"===typeof x.props[e]&&"undefined"!==typeof m[e]&&(T[e]=m[e])}));const I=(0,A.A)({props:m,muiFormControl:F,states:["error"]}),L=(0,r.A)({},m,{disabled:D,labelPlacement:M,required:O,error:I.error}),B=(e=>{const{classes:t,disabled:o,labelPlacement:a,error:r,required:n}=e,s={root:["root",o&&"disabled","labelPlacement".concat((0,u.A)(a)),r&&"error",n&&"required"],label:["label",o&&"disabled"],asterisk:["asterisk",r&&"error"]};return(0,i.A)(s,v,t)})(L),j=null!=(h=w.typography)?h:b.typography;let H=P;return null==H||H.type===d.A||S||(H=(0,g.jsx)(d.A,(0,r.A)({component:"span"},j,{className:(0,s.A)(B.label,null==j?void 0:j.className),children:H}))),(0,g.jsxs)(C,(0,r.A)({className:(0,s.A)(B.root,p),ownerState:L,ref:t},R,{children:[n.cloneElement(x,T),O?(0,g.jsxs)(c.A,{display:"block",children:[H,(0,g.jsxs)(y,{ownerState:L,"aria-hidden":!0,className:B.asterisk,children:["\u2009","*"]})]}):H]}))}))},36220:function(e){e.exports=function(){"use strict";var e="minute",t=/[+-]\d\d(?::?\d\d)?/g,o=/([+-]|\d\d)/g;return function(a,r,n){var s=r.prototype;n.utc=function(e){return new r({date:e,utc:!0,args:arguments})},s.utc=function(t){var o=n(this.toDate(),{locale:this.$L,utc:!0});return t?o.add(this.utcOffset(),e):o},s.local=function(){return n(this.toDate(),{locale:this.$L,utc:!1})};var i=s.parse;s.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),i.call(this,e)};var l=s.init;s.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else l.call(this)};var c=s.utcOffset;s.utcOffset=function(a,r){var n=this.$utils().u;if(n(a))return this.$u?0:n(this.$offset)?c.call(this):this.$offset;if("string"==typeof a&&(a=function(e){void 0===e&&(e="");var a=e.match(t);if(!a)return null;var r=(""+a[0]).match(o)||["-",0,0],n=r[0],s=60*+r[1]+ +r[2];return 0===s?0:"+"===n?s:-s}(a),null===a))return this;var s=Math.abs(a)<=16?60*a:a,i=this;if(r)return i.$offset=s,i.$u=0===a,i;if(0!==a){var l=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(i=this.local().add(s+l,e)).$offset=s,i.$x.$localOffset=l}else i=this.utc();return i};var d=s.format;s.format=function(e){var t=e||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return d.call(this,t)},s.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},s.isUTC=function(){return!!this.$u},s.toISOString=function(){return this.toDate().toISOString()},s.toString=function(){return this.toDate().toUTCString()};var u=s.toDate;s.toDate=function(e){return"s"===e&&this.$offset?n(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():u.call(this)};var h=s.diff;s.diff=function(e,t,o){if(e&&this.$u===e.$u)return h.call(this,e,t,o);var a=this.local(),r=n(e).local();return h.call(a,r,t,o)}}}()},46282:(e,t,o)=>{"use strict";o.d(t,{A:()=>C});var a=o(98587),r=o(58168),n=o(9950),s=o(72004),i=o(3484),l=o(89548),c=o(59254),d=o(19608),u=o(48733),h=o(39766),f=o(24184),m=o(45558),p=o(1614);function v(e){return(0,p.Ay)("PrivateSwitchBase",e)}(0,m.A)("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);var b=o(44414);const A=["autoFocus","checked","checkedIcon","className","defaultChecked","disabled","disableFocusRipple","edge","icon","id","inputProps","inputRef","name","onBlur","onChange","onFocus","readOnly","required","tabIndex","type","value"],g=(0,c.Ay)(f.A)((e=>{let{ownerState:t}=e;return(0,r.A)({padding:9,borderRadius:"50%"},"start"===t.edge&&{marginLeft:"small"===t.size?-3:-12},"end"===t.edge&&{marginRight:"small"===t.size?-3:-12})})),k=(0,c.Ay)("input",{shouldForwardProp:d.A})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),C=n.forwardRef((function(e,t){const{autoFocus:o,checked:n,checkedIcon:c,className:d,defaultChecked:f,disabled:m,disableFocusRipple:p=!1,edge:C=!1,icon:y,id:x,inputProps:$,inputRef:S,name:P,onBlur:M,onChange:z,onFocus:w,readOnly:R,required:F=!1,tabIndex:D,type:O,value:T}=e,I=(0,a.A)(e,A),[L,B]=(0,u.A)({controlled:n,default:Boolean(f),name:"SwitchBase",state:"checked"}),j=(0,h.A)();let H=m;j&&"undefined"===typeof H&&(H=j.disabled);const N="checkbox"===O||"radio"===O,q=(0,r.A)({},e,{checked:L,disabled:H,disableFocusRipple:p,edge:C}),U=(e=>{const{classes:t,checked:o,disabled:a,edge:r}=e,n={root:["root",o&&"checked",a&&"disabled",r&&"edge".concat((0,l.A)(r))],input:["input"]};return(0,i.A)(n,v,t)})(q);return(0,b.jsxs)(g,(0,r.A)({component:"span",className:(0,s.A)(U.root,d),centerRipple:!0,focusRipple:!p,disabled:H,tabIndex:null,role:void 0,onFocus:e=>{w&&w(e),j&&j.onFocus&&j.onFocus(e)},onBlur:e=>{M&&M(e),j&&j.onBlur&&j.onBlur(e)},ownerState:q,ref:t},I,{children:[(0,b.jsx)(k,(0,r.A)({autoFocus:o,checked:n,defaultChecked:f,className:U.input,disabled:H,id:N?x:void 0,name:P,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;B(t),z&&z(e,t)},readOnly:R,ref:S,required:F,ownerState:q,tabIndex:D,type:O},"checkbox"===O&&void 0===T?{}:{value:T},$)),L?c:y]}))}))},60767:(e,t,o)=>{"use strict";o.d(t,{A:()=>l});var a=o(58168),r=o(9950);const n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"};var s=o(61187),i=function(e,t){return r.createElement(s.A,(0,a.A)({},e,{ref:t,icon:n}))};const l=r.forwardRef(i)},87942:(e,t,o)=>{"use strict";var a=o(24994);t.A=void 0;var r=a(o(79526)),n=o(44414);t.A=(0,r.default)((0,n.jsx)("path",{d:"M12 8c-2.21 0-4 1.79-4 4s1.79 4 4 4 4-1.79 4-4-1.79-4-4-4m8.94 3c-.46-4.17-3.77-7.48-7.94-7.94V1h-2v2.06C6.83 3.52 3.52 6.83 3.06 11H1v2h2.06c.46 4.17 3.77 7.48 7.94 7.94V23h2v-2.06c4.17-.46 7.48-3.77 7.94-7.94H23v-2zM12 19c-3.87 0-7-3.13-7-7s3.13-7 7-7 7 3.13 7 7-3.13 7-7 7"}),"MyLocation")},93038:(e,t,o)=>{"use strict";o.d(t,{A:()=>z});var a=o(98587),r=o(58168),n=o(9950),s=o(72004),i=o(3484),l=o(99269),c=o(46282),d=o(23235),u=o(44414);const h=(0,d.A)((0,u.jsx)("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"}),"CheckBoxOutlineBlank"),f=(0,d.A)((0,u.jsx)("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"}),"CheckBox"),m=(0,d.A)((0,u.jsx)("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}),"IndeterminateCheckBox");var p=o(89548),v=o(18463),b=o(59254),A=o(19608),g=o(45558),k=o(1614);function C(e){return(0,k.Ay)("MuiCheckbox",e)}const y=(0,g.A)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),x=["checkedIcon","color","icon","indeterminate","indeterminateIcon","inputProps","size","className"],$=(0,b.Ay)(c.A,{shouldForwardProp:e=>(0,A.A)(e)||"classes"===e,name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.root,o.indeterminate&&t.indeterminate,t["size".concat((0,p.A)(o.size))],"default"!==o.color&&t["color".concat((0,p.A)(o.color))]]}})((e=>{let{theme:t,ownerState:o}=e;return(0,r.A)({color:(t.vars||t).palette.text.secondary},!o.disableRipple&&{"&:hover":{backgroundColor:t.vars?"rgba(".concat("default"===o.color?t.vars.palette.action.activeChannel:t.vars.palette[o.color].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,l.X4)("default"===o.color?t.palette.action.active:t.palette[o.color].main,t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}}},"default"!==o.color&&{["&.".concat(y.checked,", &.").concat(y.indeterminate)]:{color:(t.vars||t).palette[o.color].main},["&.".concat(y.disabled)]:{color:(t.vars||t).palette.action.disabled}})})),S=(0,u.jsx)(f,{}),P=(0,u.jsx)(h,{}),M=(0,u.jsx)(m,{}),z=n.forwardRef((function(e,t){var o,l;const c=(0,v.b)({props:e,name:"MuiCheckbox"}),{checkedIcon:d=S,color:h="primary",icon:f=P,indeterminate:m=!1,indeterminateIcon:b=M,inputProps:A,size:g="medium",className:k}=c,y=(0,a.A)(c,x),z=m?b:f,w=m?b:d,R=(0,r.A)({},c,{color:h,indeterminate:m,size:g}),F=(e=>{const{classes:t,indeterminate:o,color:a,size:n}=e,s={root:["root",o&&"indeterminate","color".concat((0,p.A)(a)),"size".concat((0,p.A)(n))]},l=(0,i.A)(s,C,t);return(0,r.A)({},t,l)})(R);return(0,u.jsx)($,(0,r.A)({type:"checkbox",inputProps:(0,r.A)({"data-indeterminate":m},A),icon:n.cloneElement(z,{fontSize:null!=(o=z.props.fontSize)?o:g}),checkedIcon:n.cloneElement(w,{fontSize:null!=(l=w.props.fontSize)?l:g}),ownerState:R,ref:t,className:(0,s.A)(F.root,k)},y,{classes:F}))}))}}]);