(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1154],{17806:(e,t,a)=>{"use strict";a.d(t,{VL:()=>C,_b:()=>b,cV:()=>N,oq:()=>k,p2:()=>A});let s=/#/g,l=/&/g,r=/\//g,n=/=/g,c=/\+/g,i=/%5e/gi,o=/%60/gi,u=/%7b/gi,d=/%7c/gi,h=/%7d/gi,p=/%20/gi;function f(e){return encodeURI(""+e).replace(d,"|")}function m(e){return f("string"==typeof e?e:JSON.stringify(e)).replace(c,"%2B").replace(p,"+").replace(s,"%23").replace(l,"%26").replace(o,"`").replace(i,"^").replace(r,"%2F")}function v(e){return m(e).replace(n,"%3D")}function g(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function b(e){return Object.keys(e).filter(t=>void 0!==e[t]).map(t=>{var a;return(("number"==typeof(a=e[t])||"boolean"==typeof a)&&(a=String(a)),a)?Array.isArray(a)?a.map(e=>`${v(t)}=${m(e)}`).join("&"):`${v(t)}=${m(a)}`:v(t)}).filter(Boolean).join("&")}let $=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,w=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,_=/^([/\\]\s*){2,}[^/\\]/,x=/\/$|\/\?|\/#/,y=/^\.?\//;function j(e,t={}){return("boolean"==typeof t&&(t={acceptRelative:t}),t.strict)?$.test(e):w.test(e)||!!t.acceptRelative&&_.test(e)}function N(e,t){var a;if(!(a=t)||"/"===a||j(e))return e;let s=function(e=""){return(!function(e=""){return e.endsWith("/")}(e)?e:e.slice(0,-1))||"/"}(t);if(e.startsWith(s)){let t=e[s.length];if(!t||"/"===t||"?"===t)return e}return k(s,e)}function C(e,t){let a=R(e),s={...function(e=""){let t=Object.create(null);for(let a of("?"===e[0]&&(e=e.slice(1)),e.split("&"))){let e=a.match(/([^=]+)=?(.*)/)||[];if(e.length<2)continue;let s=g(e[1].replace(c," "));if("__proto__"===s||"constructor"===s)continue;let l=g((e[2]||"").replace(c," "));void 0===t[s]?t[s]=l:Array.isArray(t[s])?t[s].push(l):t[s]=[t[s],l]}return t}(a.search),...t};return a.search=b(s),I(a)}function k(e,...t){let a=e||"";for(let e of t.filter(e=>e&&"/"!==e))if(a){let t=e.replace(y,"");a=function(e=""){return e.endsWith("/")?e:e+"/"}(a)+t}else a=e;return a}function A(e,t){if(!t||"#"===t)return e;let a=R(e);return a.hash=""===t?"":"#"+f(t).replace(u,"{").replace(h,"}").replace(i,"^"),I(a)}let E=Symbol.for("ufo:protocolRelative");function R(e="",t){let a=e.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(a){let[,e,t=""]=a;return{protocol:e.toLowerCase(),pathname:t,href:e+t,auth:"",host:"",search:"",hash:""}}if(!j(e,{acceptRelative:!0}))return t?R(t+e):L(e);let[,s="",l,r=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],[,n="",c=""]=r.match(/([^#/?]*)(.*)?/)||[];"file:"===s&&(c=c.replace(/\/(?=[A-Za-z]:)/,""));let{pathname:i,search:o,hash:u}=L(c);return{protocol:s.toLowerCase(),auth:l?l.slice(0,Math.max(0,l.length-1)):"",host:n,pathname:i,search:o,hash:u,[E]:!s}}function L(e=""){let[t="",a="",s=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:a,hash:s}}function I(e){let t=e.pathname||"",a=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",s=e.hash||"",l=e.auth?e.auth+"@":"",r=e.host||"";return(e.protocol||e[E]?(e.protocol||"")+"//":"")+l+r+t+a+s}},25968:()=>{},34337:(e,t,a)=>{"use strict";a.d(t,{u:()=>l});var s=a(12115);let l=(e=!1)=>{let[t,a]=(0,s.useState)(e),l=(0,s.useCallback)(()=>a(!0),[]);return{value:t,show:l,hide:(0,s.useCallback)(()=>a(!1),[]),toggle:(0,s.useCallback)(()=>a(e=>!e),[])}}},37637:(e,t,a)=>{"use strict";a.d(t,{I:()=>f});var s=a(95155),l=a(12115),r=a(76701),n=a(29722),c=a(86969);a(42879);var i=a(92681),o=a(34337),u=a(83640);a(56601);let d=(...e)=>(...t)=>{e.forEach(e=>{null==e||e(...t)})},h=(0,u.g)("input-base"),p={wrapper:h,input:`${h}__input`,container:`${h}__container`,label:`${h}__label`,field:`${h}__field`,slotLeft:`${h}__slot-left`,rightLabel:`${h}__right-label`,caption:`${h}__caption`,placeholder:{visible:`${h}__placeholder`,hidden:`${h}__hidden`},states:{primary:`${h}--primary`,secondary:`${h}--secondary`,error:`${h}--error`,success:`${h}--success`,s:`${h}--s`,m:`${h}--m`,l:`${h}--l`,focused:`${h}--focused`,disabled:`${h}--disabled`,active:`${h}--active`,hasLabel:`${h}--has-label`,accent:`${h}--accent`}},f=(0,l.forwardRef)(({icon:e,rightLabel:t,slotLeft:a,disabled:u,state:h,size:f="m",variant:m="primary",label:v,value:g,placeholder:b,maskPlaceholder:$,autoFocus:w=!1,maskPlaceholderVariant:_="default",caption:x,type:y="text",inputMode:j="text",hasCaption:N,className:C,style:k,dataQa:A,dataId:E,inputRef:R,onChange:L,onFocus:I,onBlur:W,onKeyDown:Z,...B},M)=>{let S=(0,l.useId)(),{value:O,show:z,hide:q}=(0,o.u)(),D=(0,l.useRef)(null),F=(0,r.SV)([R,D]),P=(0,l.useMemo)(()=>O||!!g||!!b,[g,O,b]),V=(0,l.useCallback)(()=>{var e;null==(e=D.current)||e.focus()},[]),U=(0,l.useMemo)(()=>{if(!$)return null;let e={hidden:g??"",visible:$.substring((null==g?void 0:g.length)??0)};return $.length===(null==g?void 0:g.length)?null:e},[$,g]);return(0,l.useEffect)(()=>{var e,t,a;if(!w)return;let s=(null==(e=D.current)?void 0:e.value.length)??0;null==(t=D.current)||t.focus(),null==(a=D.current)||a.setSelectionRange(s,s)},[w]),(0,s.jsxs)("div",{className:(0,n.A)(C,p.wrapper),style:k,"data-qa":A,"data-id":E,children:[(0,s.jsxs)("div",{className:(0,n.A)(p.input,p.states[m],p.states[f],{[p.states.focused]:O,[p.states.error]:"error"===h,[p.states.success]:"success"===h,[p.states.disabled]:!!u,[p.states.hasLabel]:v}),onClick:V,ref:M,children:[a&&(0,s.jsx)("div",{className:p.slotLeft,children:a}),(0,s.jsxs)("label",{htmlFor:S,className:p.container,children:[v&&(0,s.jsx)("span",{className:(0,n.A)(p.label,{[p.states.active]:P,[p.states.s]:"s"===f,[p.states.disabled]:u,[p.states.error]:"error"===h,[p.states.success]:"success"===h}),children:v}),U&&!!g&&(0,s.jsxs)("div",{className:(0,n.A)(p.placeholder.visible,{[p.states.accent]:"accent"===_}),children:[U.hidden&&(0,s.jsx)("span",{className:p.placeholder.hidden,children:U.hidden}),U.visible]}),(0,s.jsx)("input",{...B,id:S,ref:F,className:(0,n.A)(p.field,{[p.states.s]:"s"===f,[p.states.hasLabel]:v,[p.states.disabled]:u}),type:y,inputMode:j,autoComplete:"off",placeholder:b,value:g,disabled:u,onChange:e=>{null==L||L(e.target.value,e)},onFocus:d(z,I),onBlur:d(q,W),onKeyDown:e=>{("Escape"===e.key||"Esc"===e.key)&&(e.preventDefault(),null==L||L("",{target:{value:""}})),null==Z||Z(e)}})]}),t&&(0,s.jsx)("div",{className:(0,n.A)(p.rightLabel,{[p.states.disabled]:u}),children:t}),e]}),(N||x)&&(0,s.jsx)(c.C,{dataQa:(0,i.g)(`${A}-caption`,!!A),className:(0,n.A)(p.caption,{[p.states.disabled]:u}),state:h,withoutIcon:!0,children:x})]})});f.displayName="InputBase"},56601:()=>{},86253:(e,t,a)=>{"use strict";a.d(t,{l:()=>s});let s={display:"-webkit-box",WebkitBoxOrient:"vertical",overflow:"hidden"}},86969:(e,t,a)=>{"use strict";a.d(t,{C:()=>p});var s=a(95155),l=a(29722),r=a(12115),n=a(26048),c=a(86253),i=a(83640);function o(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("defs",null,r.createElement("clipPath",{id:"a"},r.createElement("path",{fill:"#fff",fillOpacity:0,d:"M0 0h24v24H0z"}))),r.createElement("g",{clipPath:"url(#a)"},r.createElement("path",{d:"M2 12C2 6.477 6.477 2 12 2s10 4.477 10 10-4.477 10-10 10S2 17.523 2 12Zm1.5 0a8.5 8.5 0 1 1 17 0 8.5 8.5 0 0 1-17 0Zm12.28-1.72-4.25 4.25a.722.722 0 0 1-.53.22.722.722 0 0 1-.53-.22l-2.25-2.25a.743.743 0 0 1 0-1.06.743.743 0 0 1 1.06 0L11 12.94l3.72-3.72a.743.743 0 0 1 1.06 0 .743.743 0 0 1 0 1.06Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"})))}function u(e){return r.createElement("svg",{viewBox:"0 0 24 24",width:24,height:24,fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M12.617 2.035a4.736 4.736 0 0 0-1.232 0c-1.28.167-2.263 1.01-3.216 2.25-.944 1.231-1.97 3.005-3.284 5.28l-.06.105c-1.316 2.277-2.342 4.053-2.937 5.487-.6 1.447-.838 2.72-.344 3.912.159.382.366.74.617 1.069.785 1.024 2.007 1.454 3.56 1.659 1.539.202 3.59.202 6.22.202h.12c2.63 0 4.681 0 6.22-.202 1.553-.204 2.775-.635 3.56-1.66a4.75 4.75 0 0 0 .617-1.068c.494-1.192.256-2.465-.344-3.912-.595-1.434-1.621-3.21-2.937-5.487l-.06-.105c-1.315-2.275-2.34-4.049-3.285-5.28-.952-1.24-1.935-2.083-3.215-2.25ZM11.58 3.522a3.23 3.23 0 0 1 .844 0c.678.089 1.343.535 2.22 1.677.877 1.143 1.854 2.83 3.205 5.169 1.352 2.34 2.328 4.031 2.88 5.364.552 1.331.606 2.13.344 2.762-.108.261-.25.507-.422.731-.415.543-1.135.897-2.564 1.085-1.43.188-3.382.189-6.085.189s-4.655-.001-6.085-.19c-1.43-.187-2.149-.54-2.564-1.084a3.249 3.249 0 0 1-.422-.73c-.262-.632-.208-1.432.344-2.763.552-1.333 1.528-3.023 2.88-5.364 1.351-2.338 2.328-4.026 3.205-5.17.877-1.141 1.543-1.587 2.22-1.676Zm1.173 5.227a.75.75 0 0 0-1.5 0v5.5a.75.75 0 1 0 1.5 0v-5.5Zm-1.75 8.253a1 1 0 1 1 2-.005 1 1 0 0 1-2 .005Z",clipRule:"evenodd",fill:"currentColor",fillRule:"evenodd"}))}a(25968);let d=(0,i.g)("caption"),h=Object.freeze({caption:d,captionWithIcon:`${d}--with-icon`,content:`${d}__content`,icon:`${d}__icon`,text:`${d}__text`,size:{s:`${d}--s`,m:`${d}--m`},states:{success:`${d}--success`,error:`${d}--error`,warning:`${d}--warning`}});function p({as:e,children:t,state:a="default",size:r="m",text:i,withoutIcon:d=!1,lineClamp:f,role:m,dataQa:v,dataId:g,className:b,style:$,...w}){let _=i||t,x=!d&&["success","error","warning"].includes(a),y="success"===a?o:u,j=(0,l.A)(b,h.caption,h.size[r],{[h.captionWithIcon]:x,[h.states.success]:"success"===a,[h.states.error]:"error"===a,[h.states.warning]:"warning"===a});return(0,s.jsx)(e||"div",{className:j,style:$,role:m,...w,"data-id":g,"data-qa":v,children:(0,s.jsxs)("div",{className:h.content,children:[x&&_&&(0,s.jsx)(n.P,{className:h.icon,children:(0,s.jsx)(y,{})}),(0,s.jsx)("span",{className:(0,l.A)(h.text),style:{...f?{WebkitLineClamp:f,lineClamp:f,...c.l}:void 0},children:_})]})})}p.displayName="Caption"}}]);