1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3381],{6959:function(e,t,n){var r=n(85893),a=n(67294),o=n(57333),s=n(66982),i=n(52697),l=(n(73372),n(25675)),c=n.n(l),d=function(e,t){var n=e.error,a=e.success,l=e.label,d=e.name,u=e.placeholder,p=e.type,m=void 0===p?"text":p,h=e.onChange,x=e.onFocus,g=e.onBlur,b=e.mask,f=e.format,v=e.definitions,y=e.className,w=e.value,j=e.disabled,N=e.thousandSeparator,k=e.calculatorInput,C=e.prefix,E=e.suffix,B=e.tooltip,L=e.isOptional,S=e.onValueChange,A=e.legend,F=e.allowEmptyFormatting,T=e.isNumericString,V=void 0===T||T,Z=e.onKeyDown,_=e.autoComplete,I=e.min,D=e.max,M=e.noMargin,R=void 0!==M&&M,O=e.iconPosition,H=e.isDark,W=e.warning,K="order-error-border outline-offset-2 bg-error-border bg-opacity-25 text-error-value border-error-border",P="border-grey-100 bg-grey-100 text-grey-800 read-only:text-grey-400 read-only:bg-grey-50 read-only:border-grey-50";return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:"w-full ".concat(R?"mb-0":"mb-6 md:mb-8"," ").concat(k?"flex flex-row justify-between":""),children:[l&&(0,r.jsxs)("label",{className:"flex items-center mb-2 text-lg font-bold ".concat(H?"text-white":"text-grey-800"," md:whitespace-nowrap"),children:[(0,r.jsxs)("span",{children:[l," ",L&&(0,r.jsx)("span",{className:"text-grey-600",children:"(optional)"})]}),B&&(0,r.jsx)(i.ZP,{className:"mx-5",content:B,children:(0,r.jsx)("span",{className:"ml-2 min-h-[19px] min-w-[19px] pt-2",children:(0,r.jsx)(c(),{width:19,height:19,alt:"tooltip",src:"/icons/tooltip.svg"})})}),(0,r.jsx)("div",{className:"relative w-6 h-6"})]}),"inputmask"===m?(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(s.oc,{className:"transition-opacity read-only:select-none duration-300 ease-in-out appearance-none block w-full px-4 md:px-6 py-5 text-lg border-2 ".concat(n?K:P," \n rounded placeholder-grey-500 outline-grey-200 ").concat(y),placeholder:u,type:"text",name:d,onFocus:x,onBlur:g,mask:String(b),definitions:v,placeholderChar:"_",lazy:!1,unmask:!0,value:w||"",inputRef:function(){return t},readOnly:j,onAccept:function(e){return S&&S(String(e))},prepare:function(e){return e.toUpperCase()},prefix:C}),E&&(0,r.jsx)("div",{className:"absolute ".concat(O||"right-5 top-4"),children:E}),a&&(0,r.jsx)("div",{className:"h-8 right-5 absolute-center-y",children:(0,r.jsx)(c(),{src:"/icons/success.svg",width:32,height:32,alt:"success"})})]}):b||N&&!k?(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)(o.Z,{className:"transition-opacity read-only:select-none duration-300 ease-in-out appearance-none block w-full px-4 md:px-6 py-5 text-base xs:text-lg border-2 ".concat(n?K:P," \n rounded placeholder-grey-500 outline-grey-200 ").concat(H&&"bg-landing-blue text-white border-grey-600"," ").concat(y),placeholder:u,allowEmptyFormatting:F,type:m,displayType:"input",name:d,format:f,onChange:h,onFocus:x,onBlur:g,mask:b,value:w||"",readOnly:j,getInputRef:t,allowNegative:!1,decimalScale:2,isNumericString:V,defaultValue:void 0,thousandSeparator:N,prefix:C,onValueChange:function(e){var t=e.value;return S&&S(t)}}),E&&(0,r.jsx)("div",{className:"absolute ".concat(O||"right-5 top-5"),children:E}),a&&(0,r.jsx)("div",{className:"h-8 right-5 absolute-center-y",children:(0,r.jsx)(c(),{src:"/icons/success.svg",width:32,height:32,alt:"success"})})]}):k?(0,r.jsxs)("div",{className:"relative flex",children:[(0,r.jsx)(o.Z,{className:"transition-opacity read-only:select-none duration-300 ease-in-out appearance-none flex w-full px-4 md:px-6 py-5 text-lg border-b-[1px] border-black\n placeholder-grey-500 ".concat(y," bg-white !text-3xl !px-0 !py-0 !w-32 text-right "),placeholder:u,allowEmptyFormatting:F,type:m,displayType:"input",name:d,format:f,onChange:h,onFocus:x,onBlur:g,mask:b,value:w||"",readOnly:j,getInputRef:t,allowNegative:!1,decimalScale:2,isNumericString:V,defaultValue:void 0,thousandSeparator:N,prefix:C,onValueChange:function(e){var t=e.value;return S&&S(t)}}),E&&(0,r.jsx)("div",{className:"absolute ".concat(O||"right-5 top-5"),children:E})]}):(0,r.jsxs)("div",{className:"relative ".concat(y),children:[(0,r.jsx)("input",{className:"transition-opacity duration-300 ease-in-out appearance-none block w-full px-4 md:px-6 py-5 text-lg border-2 ".concat(n?K:P," \n rounded placeholder-grey-500 outline-grey-200 pr-12 ").concat(H&&"bg-landing-blue text-white border-grey-600"," ").concat(y),placeholder:u,name:d,type:m,min:I,max:D,onChange:h,onFocus:x,onBlur:g,ref:t,value:w||void 0,readOnly:j,onKeyDown:Z,autoComplete:_}),E&&(0,r.jsx)("div",{className:"absolute ".concat(O||"right-5 top-5"),children:E}),a&&(0,r.jsx)("div",{className:"h-8 right-5 absolute-center-y",children:(0,r.jsx)(c(),{src:"/icons/success.svg",width:32,height:32,alt:"success"})})]}),A,(0,r.jsx)("div",{className:"mt-2 text-base transition-opacity duration-300 ease-in-out transform ".concat(n?"inline-block text-error-border opacity-100":W?"inline-block text-landing-orange opacity-100":"opacity-0"," ").concat(k?"hidden":""),children:n||W})]}
1),k&&(0,r.jsx)("div",{className:"mt-2 text-base font-normal transition-opacity duration-300 ease-in-out transform ".concat(n&&k?"inline-block text-error-border opacity-100 ":"opacity-0"),children:n})]})};t.Z=a.forwardRef(d)},96050:function(e,t,n){var r=n(6959);t.Z=r.Z},1061:function(e,t,n){n.d(t,{Z:function(){return s}});var r=n(85893),a=n(67294),o=function(e,t){var n=e.options,o=e.name,s=e.error,i=e.onChange,l=e.onBlur,c=e.className,d=e.labelClassName,u=e.containerClass,p=e.isMultiple,m=void 0!==p&&p,h=e.noPadding,x=void 0!==h&&h,g=e.noMargin,b=void 0!==g&&g,f=e.hasCheckboxIcon,v=void 0!==f&&f,y=e.lineBreakIndex,w=function(e){if("Space"===e.code||"Enter"===e.code){var t;e.preventDefault();var n=e.currentTarget.getAttribute("for")||"";null===(t=document.getElementById(n))||void 0===t||t.click()}if("ArrowRight"===e.code){var r,a,o=null===(r=e.currentTarget.parentElement)||void 0===r||null===(a=r.nextElementSibling)||void 0===a?void 0:a.getElementsByTagName("LABEL");o&&o.length&&o[0].focus()}if("ArrowLeft"===e.code){var s,i,l=null===(s=e.currentTarget.parentElement)||void 0===s||null===(i=s.previousElementSibling)||void 0===i?void 0:i.getElementsByTagName("LABEL");l&&l.length&&l[0].focus()}if("ArrowDown"===e.code){var c,d,u,p,m=null===(c=e.currentTarget.parentElement)||void 0===c||null===(d=c.parentElement)||void 0===d||null===(u=d.parentElement)||void 0===u||null===(p=u.nextElementSibling)||void 0===p?void 0:p.getElementsByTagName("LABEL");m&&m.length&&m[0].focus()}if("ArrowUp"===e.code){var h,x,g,b,f=null===(h=e.currentTarget.parentElement)||void 0===h||null===(x=h.parentElement)||void 0===x||null===(g=x.parentElement)||void 0===g||null===(b=g.previousElementSibling)||void 0===b?void 0:b.getElementsByTagName("LABEL");f&&f.length&&f[0].focus()}};return(0,r.jsxs)("div",{className:b?"mb-0":"mb-6 md:mb-8",children:[(0,r.jsx)("div",{className:"flex flex-wrap justify-around gap-3 ".concat(u),children:n.map((function(e,n){return(0,r.jsxs)(a.Fragment,{children:[(0,r.jsxs)("div",{className:" ".concat(c," rounded-full flex-1 w-[0px] basis-[82px] transition-all duration-300 justify-between ease-in-out mt-4"),children:[(0,r.jsx)("input",{name:o,type:m?"checkbox":"radio",value:e.value,id:"".concat(o,"_").concat(n),ref:t,className:"input-checked-check h-0 absolute appearance-none ".concat(m?"":"m-0"),onChange:i,onBlur:l,tabIndex:-1}),(0,r.jsxs)("label",{htmlFor:"".concat(o,"_").concat(n),tabIndex:0,id:"".concat(o,"_").concat(n,"_label"),onKeyDown:w,className:"".concat(e.caption.startsWith("Limited company")&&"pr-[72px]"," ").concat(d," h-[72px] flex justify-center items-center border font-bold text-center outline-offset-2 bg-white rounded cursor-pointer select-none text-grey-600 label-checked-check ").concat(x?"px-2":"px-6","\n ").concat(e.caption.length>3?"text-base md:text-lg ":"text-lg","\n ").concat(s?"border-error-border bg-error-border bg-opacity-25 text-error-value":" border-gray-400"),children:[v&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"hidden mr-2 svg-label-checked-check",children:[(0,r.jsx)("path",{d:"M6.25 13.2231L8.7 16.7001C8.79293 16.8389 8.91768 16.9536 9.06385 17.0344C9.21002 17.1153 9.37339 17.1601 9.54037 17.1651C9.70735 17.1701 9.8731 17.1351 10.0238 17.0631C10.1746 16.9911 10.3059 16.8841 10.407 16.7511L18.25 6.82812",stroke:"#A4B1C2",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M22 0.749023H2.5C1.67157 0.749023 1 1.4206 1 2.24902V21.749C1 22.5774 1.67157 23.249 2.5 23.249H22C22.8284 23.249 23.5 22.5774 23.5 21.749V2.24902C23.5 1.4206 22.8284 0.749023 22 0.749023Z",stroke:"#A4B1C2",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),(0,r.jsx)("svg",{width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"flex mr-2 svg-label-checked-uncheck",children:(0,r.jsx)("path",{d:"M22 0.749023H2.5C1.67157 0.749023 1 1.4206 1 2.24902V21.749C1 22.5774 1.67157 23.249 2.5 23.249H22C22.8284 23.249 23.5 22.5774 23.5 21.749V2.24902C23.5 1.4206 22.8284 0.749023 22 0.749023Z",stroke:"#A4B1C2",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})]}),e.caption]})]}),n===y&&(0,r.jsx)("hr",{className:"relative hidden w-full opacity-0 xxs:inline-block md:hidden"})]},n)}))}),(0,r.jsx)("div",{className:"mt-2 text-base transition-all duration-300 ease-in-out transform ".concat(s?"inline-block text-error-border opacity-100":"opacity-0"),children:s})]})},s=a.forwardRef(o)},12653:function(e,t,n){n.d(t,{k:function(){return r}});var r=function(e){var t=function(e){return!(e%4===0&&e%100!==0||e%400===0)};if(!e)return"";var n=e.length;if(1===n&&!["0","1","2","3"].includes(e[0]))return"";if(2===n&&"3"===e[0]&&!["0","1"].includes(e[1])||"00"===e.substr(0,2))return e.substr(0,1);if(3===n)return"/"===e[2]?e.substr(0,2):["0","1"].includes(e[2])?e.substr(0,2)+"/"+e.substr(2):e.substr(0,2);if(5===n&&("00"===e.substr(3,5)||"1"===e[3]&&!["0","1","2"].includes(e[4])||["30","31"].includes(e.substr(0,2))&&"02"===e.substr(3,5)||"31"===e.substr(0,2)&&!["01","03","05","07","08","10","12"].includes(e.substr(3,5))))return e.substr(0,4);if(6===n)return"/"===e[5]?e.substr(0,5):e.substr(0,5)+"/"+e.substr(5);if(8===n&&"29/02/"===e.substr(0,6)){var r=+e.substr(6);if(t(r=r>1970?1900+r:2e3+r))return e.substr(0,7)}else if(10===n&&"29/02/"===e.substr(0,6)){if(t(+e.substr(6)))return e.substr(0,9)}else if(n>10)return e.substr(0,10);return e}}}]); 2//# sourceMappingURL=3381-2b8b4f10113125f6.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.