1"use strict";(self.webpackChunkassessor_frontend=self.webpackChunkassessor_frontend||[]).push([[2898],{64141:function(e,o,i){var a=i(78687),n=i(11885),t=i(98605),s=i(94631),l=i(89110);o.Z=function(){var e=(0,a.I0)(),o=(0,t.oQ)("appModule.fileSizeLimitError");return{checkFileSize:function(i){var a=i.fileSize,t=i.fileSizeLimit,r=void 0===t?n.Z.UPLOAD_FILE_SIZE_LIMIT:t,c=i.callBack,d=null;if(a>r){var u="".concat(o," (").concat((0,s.Z)(a),")");d=u,e((0,l.n9)("",u,"error"))}return c&&c(),d}}}},29871:function(e,o,i){i.d(o,{Z:function(){return r}});i(72791);var a="styles_AsrAutocompleteSelectedRenderInputContainer__580Ci",n="styles_RenderInputLabel__WdMaj",t="styles_SelectedItem__kuChJ",s=i(98605),l=i(80184),r=function(e){var o=e.label,i=e.selectedItem,r=e.withPlaceholder,c=void 0===r||r,d=e.placeholder,u=void 0===d?"appModule.all":d,h=(0,s.oQ)(u),v=i||c&&h;return(0,l.jsxs)("div",{className:"asr-table-autocomplete--multi-render-input ".concat(a),children:[(0,l.jsxs)("span",{className:n,children:[o,":"]}),(0,l.jsx)("span",{className:t,children:v})]})}},86686:function(e,o,i){i.d(o,{Z:function(){return w}});var a=i(72791),n=i(75814),t=i(60876),s=i(4942),l=i(81694),r=i.n(l),c="styles_asrCustomSwitch__VEJq4",d="styles_asrCustomSwitchContainer__CHKJ5",u="styles_asrCustomSwitchContainerActive__nduSz",h="styles_asrCustomSwitchStatusContainer__1avRk",v="styles_asrCustomSwitchPrivateContainer__P8c4X",p="styles_asrCustomSwitchPublicContainer__kcU4w",f="styles_asrCustomSwitchStatusLabel__EoXn9",m="styles_asrCustomSwitchActive__PNWPS",b=function(e){var o,i,a,n,t,l=e.checked,b=e.classes;return{switch:r()((o={},(0,s.Z)(o,c,!0),(0,s.Z)(o,null===b||void 0===b?void 0:b.switch,Boolean(null===b||void 0===b?void 0:b.switch)),o)),switchSideContainerLeft:r()((i={},(0,s.Z)(i,h,!0),(0,s.Z)(i,v,!0),(0,s.Z)(i,m,!l),(0,s.Z)(i,null===b||void 0===b?void 0:b.switchSideContainerLeft,Boolean(null===b||void 0===b?void 0:b.switchSideContainerLeft)),i)),switchSideContainerRight:r()((a={},(0,s.Z)(a,h,!0),(0,s.Z)(a,p,!0),(0,s.Z)(a,m,l),(0,s.Z)(a,null===b||void 0===b?void 0:b.switchSideContainerRight,Boolean(null===b||void 0===b?void 0:b.switchSideContainerRight)),a)),switchContainer:r()((n={},(0,s.Z)(n,d,!0),(0,s.Z)(n,u,!l),(0,s.Z)(n,null===b||void 0===b?void 0:b.switchContainer,Boolean(null===b||void 0===b?void 0:b.switchContainer)),n)),switchLabel:r()((t={},(0,s.Z)(t,f,!0),(0,s.Z)(t,null===b||void 0===b?void 0:b.switchLabel,Boolean(null===b||void 0===b?void 0:b.switchLabel)),t))}},_=i(80184),w=(0,a.memo)((function(e){var o=e.name,i=e.handleChange,a=e.checked,s=e.firstLabel,l=e.firstTooltip,r=e.secondLabel,c=e.secondTooltip,d=e.color,u=void 0===d?"red":d,h=e.backgroundColor,v=void 0===h?"#BDBDBD":h,p=e.classes,f=b({checked:a,classes:void 0===p?{switch:"",switchSideContainerLeft:"",switchSideContainerRight:"",switchContainer:"",switchLabel:""}:p});return(0,_.jsxs)("div",{className:f.switch,children:[(0,_.jsx)("div",{className:f.switchSideContainerLeft,children:(0,_.jsxs)("div",{className:f.switchLabel,children:[l&&(0,_.jsx)(n.Z,{title:l,children:(0,_.jsx)("i",{className:"zmdi zmdi-info-outline mr-2"})}),s]})}),(0,_.jsx)("div",{className:f.switchContainer,children:(0,_.jsx)(t.Z,{backgroundColor:v,color:u,checked:a,onChange:i,name:o})}),(0,_.jsx)("div",{className:f.switchSideContainerRight,children:(0,_.jsxs)("div",{className:f.switchLabel,children:[c&&(0,_.jsx)(n.Z,{title:c,children:(0,_.jsx)("i",{className:"zmdi zmdi-info-outline ml-2"})}),r]})})]})}))},88717:function(e,o,i){i.d(o,{Z:function(){return N}});var a=i(72791),n=i(98605),t=i(92314),s=i(94631),l=i(4942),r=i(29439),c=i(81694),d=i.n(c),u=i(11885),h=i(64141),v=i(80184),p=(0,a.memo)((function(e){var o=e.classes,i=void 0===o?{root:""}:o;return(0,v.jsx)("div",{className:"asr-add-plus-icon ".concat(i.root),children:(0,v.jsx)("svg",{width:"40",height:"40",viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,v.jsx)("path",{d:"M26 0H14V13.9922H0V26.0078H14V40H26V26.0078H40V13.9922H26V0Z",fill:"#E0E0E0"})})})})),f=function(e){var o=e.children,i=e.className,t=e.onFiles,s=e.isResetWarning,c=void 0!==s&&s,f=e.isInfoLabel,m=void 0===f||f,b=e.fileSizeLimit,_=void 0===b?u.Z.UPLOAD_FILE_SIZE_LIMIT:b,w=e.label,C=void 0===w?"":w,Z=e.supportedFileType,x=void 0===Z?"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":Z,g=e.showAddIcon,j=void 0===g||g,k=(0,h.Z)().checkFileSize,S=(0,n.oQ)("statements.fileIsNotSupported"),L=(0,a.useState)(C),y=(0,r.Z)(L,2),N=y[0],B=y[1],z=(0,a.useState)(!1),I=(0,r.Z)(z,2),D=I[0],P=I[1],F=(0,a.useState)(!1),T=(0,r.Z)(F,2),V=T[0],R=T[1],$=d()((0,l.Z)({"asr-drop-zone":!0,"asr-drop-zone--over":D,"asr-drop-zone--file-not-supported":V},i,i)),E=(0,a.useCallback)((function(){B(C),R(!1)}),[C]);return(0,a.useEffect)((function(){c&&E()}),[c,E]),(0,v.jsxs)("div",{className:$,onDragOver:function(e){e.preventDefault(),e.stopPropagation(),P(!0)},onDragEnter:function(e){e.preventDefault(),e.stopPropagation()},onDragLeave:function(e){e.preventDefault(),e.stopPropagation(),P(!1)},onDrop:function(e){e.preventDefault(),e.persist(),e.stopPropagation();var o=e.dataTransfer.files[0],i=o.size;k({fileSize:i,fileSizeLimit:_,callBack:P(!1)})||(e.dataTransfer.files.length&&(x===o.type?(t(o),E()):(R(!0),B(S),t(null))),P(!1))},children:[m&&(0,v.jsxs)("div",{className:"asr-drop-zone--info-label",children:[j&&(0,v.jsx)(p,{}),N&&N]}),(0,v.jsx)("div",{className:"asr-drop-zone--content",children:o})]})},m=i(61091),b="styles_root__UVbMR",_="styles_input__GQDVr",w=function(e){var o=e.onChange,i=e.isButton,a=void 0!==i&&i,t=e.accept,s=void 0===t?"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":t,l=e.buttonLabel,r=void 0===l?"appModule.uploadXLXS":l;return(0,v.jsxs)("div",{className:b,children:[(0,v.jsx)("input",{accept:s,className:_,id:"contained-button-file",type:"file",onChange:o}),(0,v.jsx)("label",{htmlFor:"contained-button-file",className:"h-100 w-100",children:a&&(0,v.jsx)(m.Z,{variant:"contained",color:"primary",component:"span",children:(0,v.jsx)(n.ZP,{id:r})})})]})},C=i(63081),Z="styles_formUploadContainer__DyiZN",x="styles_header__-lNHL",g
1="styles_headerTitle__CGBNu",j="styles_headerInfo__3NBSH",k="styles_formUploadPreviewFile__REWfj",S="styles_formUploadPreviewFileName__0A78v",L="styles_formUploadClearButton__-5wUE",y="styles_formUploadClearButtonIcon__R09wv",N=function(e){var o=e.handleOnFilesDrop,i=e.supportedFileType,a=e.handleChange,l=e.handleResetFile,r=e.buttonLabel,c=e.showSizeLabel,d=void 0===c||c,u=e.sizeLabel,h=e.file,p=e.fileContent,m=e.isResetWarning,b=e.accept,_=e.label,N=void 0===_?"appModule.uploadFile":_,B=e.labelColon,z=void 0===B||B,I=e.classes,D=void 0===I?{root:"",dropZone:"",formUploadContainer:"",previewFile:"",clearButton:"",header:"",headerTitle:"",headerInfo:"",clearButtonIcon:""}:I,P=e.fileSizeLimit,F=e.showAddIcon,T=e.dropZoneLabel,V=h?(null===h||void 0===h?void 0:h.name)||h.split("/").pop():void 0;return(0,v.jsxs)("div",{className:"".concat(D.root),children:[(0,v.jsxs)("div",{className:"".concat(x," ").concat(D.header),children:[function(){if(N)return(0,v.jsxs)("span",{className:"".concat(g," ").concat(D.headerTitle),children:[(0,v.jsx)(n.ZP,{id:N}),z?":":null]})}(),function(){if(d)return h&&h.size?(0,v.jsx)("span",{className:"".concat(j," ").concat(D.headerInfo),children:(0,s.Z)(null===h||void 0===h?void 0:h.size)}):(0,v.jsx)("span",{className:"".concat(j," ").concat(D.headerInfo),children:u})}()]}),(0,v.jsxs)(f,{className:"".concat(D.dropZone),onFiles:o,isResetWarning:m,supportedFileType:i,fileSizeLimit:P,showAddIcon:F,label:T,children:[(0,v.jsx)("div",{className:"".concat(Z," ").concat(D.formUploadContainer),children:(0,v.jsx)(w,{buttonLabel:r,accept:b,onChange:a})}),h&&(0,v.jsxs)("div",{className:"".concat(k," ").concat(D.previewFile),children:[(0,v.jsx)("div",{className:S,children:(0,t.a)(V,90)}),(0,v.jsx)(C.Z,{icon:"remove",isVisible:!0,tooltipTitle:"appModule.remove",classes:{root:"".concat(L," ").concat(D.clearButton),icon:"".concat(y," ").concat(D.clearButtonIcon)},handler:l})]}),!h&&(null===p||void 0===p?void 0:p.url)&&(0,v.jsxs)("div",{className:"".concat(k," ").concat(D.previewFile),children:[(0,v.jsx)("div",{className:S,children:(0,t.a)(p.url.split("/").pop(),90)}),(0,v.jsx)(C.Z,{icon:"remove",isVisible:!0,tooltipTitle:"appModule.remove",classes:{root:"".concat(L," ").concat(D.clearButton),icon:"".concat(y," ").concat(D.clearButtonIcon)},handler:l})]})]})]})}},60876:function(e,o,i){i.d(o,{Z:function(){return Z}});var a=i(1413),n=i(4942),t=i(45987),s=(i(72791),i(18956)),l=i(81694),r=i.n(l),c=i(98605),d=i(72455),u={red:{padding:3,"&$checked":{transform:"translateX(30px)",color:"white","& + $track":{backgroundColor:"var(--asr-a-red)",opacity:1,border:"none"},"&:hover + $track":{backgroundColor:"var(--asr-a-blue)",transition:".4s"}},"&$focusVisible $thumb":{color:"var(--asr-a-red)",border:"6px solid #fff"},"&:hover + $track":{backgroundColor:"var(--asr-a-blue)",transition:".4s"}},yellow:{padding:3,"&$checked":{transform:"translateX(30px)",color:"white","& + $track":{backgroundColor:"var(--asr-a-yellow)",opacity:1,border:"none"},"&:hover + $track":{backgroundColor:"var(--asr-a-blue)",transition:".4s"}},"&$focusVisible $thumb":{color:"var(--asr-a-yellow)",border:"6px solid #fff"},"&:hover + $track":{backgroundColor:"var(--asr-a-blue)",transition:".4s"}},blue:{padding:3,"&$checked":{transform:"translateX(30px)",color:"white","& + $track":{backgroundColor:"var(--asr-a-blue)",opacity:1,border:"none"}},"&$focusVisible $thumb":{color:"var(--asr-a-blue)",border:"6px solid #fff"}}},h="red",v="#BDBDBD",p=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:h,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:v,i=u.red,a=Object.keys(u),n=a.includes(e);return n&&(i=u[e]),(0,d.Z)({root:{width:60,height:30,padding:0},switchBase:i,thumb:{width:24,height:24}
1,track:{borderRadius:13,border:"none",backgroundColor:o,boxShadow:"inset 1px 1px 4px rgba(0, 0, 0, 0.25)",opacity:1,transition:"1s"},checked:{},focusVisible:{}})},f="styles_VerticalLabelSwitch__LGZ1Y",m="styles_HorizontalLabelSwitch__ruf+7",b="styles_ThumbDisabledHidden__SkBfZ",_="styles_SwitchTrack__oBeuI",w=i(80184),C=["label","isLabel","color","backgroundColor","labelPosition","hideDisabledThumb","classes"],Z=function(e){var o,i,l,d=e.label,u=e.isLabel,h=void 0!==u&&u,v=e.color,Z=void 0===v?"red":v,x=e.backgroundColor,g=void 0===x?"#BDBDBD":x,j=e.labelPosition,k=void 0===j?"top":j,S=e.hideDisabledThumb,L=void 0!==S&&S,y=e.classes,N=void 0===y?{root:"",label:""}:y,B=(0,t.Z)(e,C),z=p(Z,g)(),I=r()((o={},(0,n.Z)(o,f,"top"===k),(0,n.Z)(o,m,["left","right"].includes(k)),(0,n.Z)(o,null===N||void 0===N?void 0:N.root,null===N||void 0===N?void 0:N.root),o)),D=r()((0,n.Z)({"asr-field-label mb-0":!0},N.label,N.label)),P=r()((i={},(0,n.Z)(i,b,Boolean(null===B||void 0===B?void 0:B.disabled)&&Boolean(L)),(0,n.Z)(i,null===z||void 0===z?void 0:z.thumb,Boolean(null===z||void 0===z?void 0:z.thumb)),i)),F=r()((l={},(0,n.Z)(l,_,!0),(0,n.Z)(l,null===z||void 0===z?void 0:z.track,Boolean(null===z||void 0===z?void 0:z.track)),l));return(0,w.jsxs)("div",{className:I,children:[h&&(0,w.jsx)("span",{className:D,children:(0,w.jsx)(c.ZP,{id:"".concat(d)})}),(0,w.jsx)(s.Z,(0,a.Z)({focusVisibleClassName:z.focusVisible,disableRipple:!0,classes:{root:z.root,switchBase:null===z||void 0===z?void 0:z.switchBase,thumb:P,track:F,checked:z.checked}},B))]})}},63081:function(e,o,i){i.d(o,{Z:function(){return a.Z}});var a=i(35109)},92314:function(e,o,i){i.d(o,{a:function(){return n},O:function(){return t}});var a=i(763),n=function(e){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:15,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:/,? +/;return(0,a.truncate)(e,{length:o,separator:i})},t=function(e){return(0,a.capitalize)(e)}}}]); 2//# sourceMappingURL=2898.58e16bdd.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.