1 line
12 KiB
JavaScript
1 line
12 KiB
JavaScript
(self.webpackChunkmantis_material_react=self.webpackChunkmantis_material_react||[]).push([[9803],{7762:(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:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Clear")},16497:(e,t,o)=>{"use strict";o.d(t,{A:()=>y});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 C=["checked","className","componentsProps","control","disabled","disableTypography","inputRef","label","labelPlacement","name","onChange","required","slotProps","value"],k=(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}}})})),x=(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}}})),y=n.forwardRef((function(e,t){var o,h;const m=(0,f.b)({props:e,name:"MuiFormControlLabel"}),{className:p,componentsProps:b={},control:y,disabled:$,disableTypography:S,label:M,labelPlacement:P="end",required:w,slotProps:z={}}=m,R=(0,a.A)(m,C),D=(0,l.A)(),F=null!=(o=null!=$?$:y.props.disabled)?o:null==D?void 0:D.disabled,T=null!=w?w:y.props.required,O={disabled:F,required:T};["checked","name","onChange","value","inputRef"].forEach((e=>{"undefined"===typeof y.props[e]&&"undefined"!==typeof m[e]&&(O[e]=m[e])}));const I=(0,A.A)({props:m,muiFormControl:D,states:["error"]}),j=(0,r.A)({},m,{disabled:F,labelPlacement:P,required:T,error:I.error}),L=(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)})(j),N=null!=(h=z.typography)?h:b.typography;let B=M;return null==B||B.type===d.A||S||(B=(0,g.jsx)(d.A,(0,r.A)({component:"span"},N,{className:(0,s.A)(L.label,null==N?void 0:N.className),children:B}))),(0,g.jsxs)(k,(0,r.A)({className:(0,s.A)(L.root,p),ownerState:j,ref:t},R,{children:[n.cloneElement(y,O),T?(0,g.jsxs)(c.A,{display:"block",children:[B,(0,g.jsxs)(x,{ownerState:j,"aria-hidden":!0,className:L.asterisk,children:["\u2009","*"]})]}):B]}))}))},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)}}}()},40033:(e,t,o)=>{"use strict";o.d(t,{A:()=>v});var a=o(58168),r=o(98587),n=o(9950),s=o(72004),i=o(3484),l=o(82053),c=o(59254),d=o(18463),u=o(23025),h=o(5536),f=o(44414);const m=["className","id"],p=(0,c.Ay)(l.A,{name:"MuiDialogTitle",slot:"Root",overridesResolver:(e,t)=>t.root})({padding:"16px 24px",flex:"0 0 auto"}),v=n.forwardRef((function(e,t){const o=(0,d.b)({props:e,name:"MuiDialogTitle"}),{className:l,id:c}=o,v=(0,r.A)(o,m),b=o,A=(e=>{const{classes:t}=e;return(0,i.A)({root:["root"]},u.t,t)})(b),{titleId:g=c}=n.useContext(h.A);return(0,f.jsx)(p,(0,a.A)({component:"h2",className:(0,s.A)(A.root,l),ownerState:b,ref:t,variant:"h6",id:null!=c?c:g},v))}))},46282:(e,t,o)=>{"use strict";o.d(t,{A:()=>k});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})})),C=(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}),k=n.forwardRef((function(e,t){const{autoFocus:o,checked:n,checkedIcon:c,className:d,defaultChecked:f,disabled:m,disableFocusRipple:p=!1,edge:k=!1,icon:x,id:y,inputProps:$,inputRef:S,name:M,onBlur:P,onChange:w,onFocus:z,readOnly:R,required:D=!1,tabIndex:F,type:T,value:O}=e,I=(0,a.A)(e,A),[j,L]=(0,u.A)({controlled:n,default:Boolean(f),name:"SwitchBase",state:"checked"}),N=(0,h.A)();let B=m;N&&"undefined"===typeof B&&(B=N.disabled);const H="checkbox"===T||"radio"===T,q=(0,r.A)({},e,{checked:j,disabled:B,disableFocusRipple:p,edge:k}),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:B,tabIndex:null,role:void 0,onFocus:e=>{z&&z(e),N&&N.onFocus&&N.onFocus(e)},onBlur:e=>{P&&P(e),N&&N.onBlur&&N.onBlur(e)},ownerState:q,ref:t},I,{children:[(0,b.jsx)(C,(0,r.A)({autoFocus:o,checked:n,defaultChecked:f,className:U.input,disabled:B,id:H?y:void 0,name:M,onChange:e=>{if(e.nativeEvent.defaultPrevented)return;const t=e.target.checked;L(t),w&&w(e,t)},readOnly:R,ref:S,required:D,ownerState:q,tabIndex:F,type:T},"checkbox"===T&&void 0===O?{}:{value:O},$)),j?c:x]}))}))},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:()=>w});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),C=o(1614);function k(e){return(0,C.Ay)("MuiCheckbox",e)}const x=(0,g.A)("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),y=["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(x.checked,", &.").concat(x.indeterminate)]:{color:(t.vars||t).palette[o.color].main},["&.".concat(x.disabled)]:{color:(t.vars||t).palette.action.disabled}})})),S=(0,u.jsx)(f,{}),M=(0,u.jsx)(h,{}),P=(0,u.jsx)(m,{}),w=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=M,indeterminate:m=!1,indeterminateIcon:b=P,inputProps:A,size:g="medium",className:C}=c,x=(0,a.A)(c,y),w=m?b:f,z=m?b:d,R=(0,r.A)({},c,{color:h,indeterminate:m,size:g}),D=(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,k,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(w,{fontSize:null!=(o=w.props.fontSize)?o:g}),checkedIcon:n.cloneElement(z,{fontSize:null!=(l=z.props.fontSize)?l:g}),ownerState:R,ref:t,className:(0,s.A)(D.root,C)},x,{classes:D}))}))}}]); |