1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4141],{64141:function(n,e,t){t.d(e,{Z:function(){return L}});var r=t(72253),o=t(14932),a=t(24043),c=t(85893),i=t(67294),l=t(20944),u=t(27361),p=t.n(u),s=t(35161),f=t.n(s),b=t(72772),m=t(71321),d=t(14416),_=t(64871),h=t(70653),j=t(82729),v=t(94589),O=t(58654),g=t(94594);function _templateObject(){var n=(0,j._)(["\n color: ",";\n "]);return _templateObject=function(){return n},n}function _templateObject1(){var n=(0,j._)(["\n transition: color 200ms ease-in-out;\n ",";\n\n ","\n "]);return _templateObject1=function(){return n},n}function _templateObject2(){var n=(0,j._)(["\n ","\n"]);return _templateObject2=function(){return n},n}function _templateObject3(){var n=(0,j._)(["\n box-sizing: border-box;\n display: flex;\n flex-direction: row;\n transition:\n background-color 200ms ease-in-out,\n color 200ms ease-in-out;\n outline: none;\n border: "," solid transparent;\n border-radius: ",";\n background-color: ",";\n "]);return _templateOb
1ject3=function(){return n},n}function _templateObject4(){var n=(0,j._)(["\n ","\n"]);return _templateObject4=function(){return n},n}function _templateObject5(){var n=(0,j._)(["\n display: flex;\n position: relative;\n flex-shrink: 0;\n align-items: center;\n justify-content: center;\n overflow: hidden;\n border-radius: 50%;\n width: 30px;\n height: 24px;\n"]);return _templateObject5=function(){return n},n}function _templateObject6(){var n=(0,j._)(["\n display: block;\n width: 100%;\n height: 100%;\n\n &,\n & svg {\n display: block;\n width: 100%;\n height: 100%;\n flex-shrink: 0;\n transform: scale(1.5);\n transform-origin: center;\n }\n"]);return _templateObject6=function(){return n},n}function _templateObject7(){var n=(0,j._)(["\n color: ",";\n "]);return _templateObject7=function(){return n},n}function _templateObject8(){var n=(0,j._)(["\n ","\n"]);return _templateObject8=function(){return n},n}function _templateObject9(){var n=(0,j._)(["\n color: ",";\n "]);return _templateObject9=function(){return n},n}function _templateObject10(){var n=(0,j._)(["\n ","\n"]);return _templateObject10=function(){return n},n}function _templateObject11(){var n=(0,j._)(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n height: 100%;\n\n .ant-select {\n border-radius: 0;\n border-top-left-radius: ",";\n border-bottom-left-radius: ",";\n\n &::after {\n position: absolute;\n top: 50%;\n right: 0;\n transform: translateY(-50%);\n background-color: ",";\n width: 1px;\n height: 24px;\n content: '';\n }\n\n .ant-select-selector {\n .ant-select-selection-item {\n display: flex;\n align-items: center;\n height: 100%;\n line-height: 1;\n gap: ",";\n padding-inline-end: ",";\n\n "," {\n display: none;\n }\n\n "," {\n display: none;\n }\n }\n }\n\n .ant-select-arrow {\n right: "," !important;\n }\n }\n\n .ant-select-dropdown {\n min-width: 300px !important;\n overscroll-behavior: contain;\n\n .ant-select-item-option-content {\n display: flex;\n align-items: center;\n flex: 1;\n min-width: 0;\n }\n\n .ant-select-item-option-state {\n flex-shrink: 0;\n margin-left: ",";\n }\n\n .rc-virtual-list-holder {\n overscroll-behavior: contain;\n -webkit-overflow-scrolling: touch;\n touch-action: pan-y;\n }\n }\n "]);return _templateObject11=function(){return n},n}function _templateObject12(){var n=(0,j._)(["\n ","\n"]);return _templateObject12=function(){return n},n}function _templateObject13(){var n=(0,j._)(["\n padding: "," "," "," ",";\n "]);return _templateObject13=function(){return n},n}function _templateObject14(){var n=(0,j._)(["\n padding: "," "," "," ",";\n "]);return _templateObject14=function(){return n},n}function _templateObject15(){var n=(0,j._)(["\n padding: "," "," "," ",";\n ",";\n "]);return _templateObject15=function(){return n},n}function _templateObject16(){var n=(0,j._)(["\n padding: "," "," "," ",";\n ",";\n "]);return _templateObject16=function(){return n},n}function _templateObject17(){var n=(0,j._)(["\n ",";\n color: ",";\n "]);return _templateObject17=function(){return n},n}function _templateObject18(){var n=(0,j._)(["\n ",";\n color: ",";\n "]);return _templateObject18=function(){return n},n}function _templateObject19(){var n=(0,j._)(["\n /* stylelint-disable */\n appearance: none;\n display: flex;\n position: relative;\n flex-direction: row;\n padding-left: ",";\n width: 100%;\n\n input {\n box-sizing: border-box;\n position: relative;\n transition:\n background-color 200ms ease-in-out,\n color 200ms ease-in-out;\n z-index: 2;\n outline: none;\n border: none;\n border-radius: ",";\n background-color: ",";\n padding: "," ",";\n width: 100%;\n ",";\n\n ","\n\n ","\n\n ","\n\n ","\n \n &::placeholder {\n opacity: 1;\n ",";\n color: ",";\n\n ","\n\n ","\n }\n\n /*\n &:input-placeholder {\n color: ",";\n }\n\n &::input-placeholder {\n color: ",";\n }\n */\n\n &::-webkit-outer-spin-button,\n &::-webkit-inner-spin-button {\n appearance: none;\n margin: 0;\n }\n\n &:hover {\n background-color: transparent;\n }\n\n &[type='number'] {\n appearance: textfield;\n }\n }\n "]);
1return _templateObject19=function(){return n},n}function _templateObject20(){var n=(0,j._)(["\n ","\n"]);return _templateObject20=function(){return n},n}function _templateObject21(){var n=(0,j._)(["\n ",";\n word-break: unset;\n color: ",";\n "]);return _templateObject21=function(){return n},n}function _templateObject22(){var n=(0,j._)(["\n ",";\n word-break: unset;\n color: ",";\n "]);return _templateObject22=function(){return n},n}function _templateObject23(){var n=(0,j._)(["\n ",";\n word-break: unset;\n color: ",";\n "]);return _templateObject23=function(){return n},n}function _templateObject24(){var n=(0,j._)(["\n ",";\n word-break: unset;\n color: ",";\n "]);return _templateObject24=function(){return n},n}function _templateObject25(){var n=(0,j._)(["\n display: flex;\n align-items: center;\n\n ","\n\n ","\n\n ","\n\n ","\n "]);return _templateObject25=function(){return n},n}function _templateObject26(){var n=(0,j._)(["\n ","\n"]);return _templateObject26=function(){return n},n}function _templateObject27(){var n=(0,j._)(["\n gap: ",";\n "]);return _templateObject27=function(){return n},n}function _templateObject28(){var n=(0,j._)(["\n "," {\n border: "," solid ",";\n }\n "]);return _templateObject28=function(){return n},n}function _templateObject29(){var n=(0,j._)(["\n &:hover {\n "," {\n background-color: ",";\n }\n\n "," {\n .ant-select {\n background-color: transparent;\n }\n }\n }\n\n ","\n "]);return _templateObject29=function(){return n},n}function _templateObject30(){var n=(0,j._)(["\n "," {\n border: "," solid ",";\n box-shadow: ",";\n background-color: ",";\n }\n "]);return _templateObject30=function(){return n},n}function _templateObject31(){var n=(0,j._)(["\n display: flex;\n position: relative;\n flex-direction: column;\n\n ","\n\n "," {\n .ant-select {\n margin: unset !important;\n border: 0 !important;\n box-shadow: none !important;\n background-color: transparent;\n }\n }\n\n "," {\n input {\n margin: unset;\n border: 0;\n box-shadow: none;\n background-color: transparent;\n }\n }\n\n ","\n\n ","\n "]);return _templateObject31=function(){return n},n}function _templateObject32(){var n=(0,j._)(["\n ","\n"]);return _templateObject32=function(){return n},n}function _templateObject33(){var n=(0,j._)(["\n display: block;\n max-width: 100%;\n margin-top: -24px;\n min-height: 24px;\n ",";\n color: ",";\n "]);return _templateObject33=function(){return n},n}function _templateObject34(){var n=(0,j._)(["\n ","\n"]);return _templateObject34=function(){return n},n}var x=v.ZP.label.withConfig({componentId:"sc-7211510b-0"})(_templateObject2(),function(n){var e=n.theme,t=n.$isError;return(0,v.iv)(_templateObject1(),O.pu,t&&(0,v.iv)(_templateObject(),e["color-base-state-error-fg"]))}),w=v.ZP.div.withConfig({componentId:"sc-7211510b-1"})(_templateObject4(),function(n){var e=n.theme;return(0,v.iv)(_templateObject3(),e.borderWidth.xs,e.borderRadius[999],e["color-base-surface-tertiary"])}),y=v.ZP.div.withConfig({componentId:"sc-7211510b-2"})(_templateObject5()),k=v.ZP.span.withConfig({componentId:"sc-7211510b-3"})(_templateObject6()),N=v.ZP.span.withConfig({componentId:"sc-7211510b-4"})(_templateObject8(),function(n){var e=n.theme;return(0,v.iv)(_templateObject7(),e["color-base-content-primary"])}),P=v.ZP.span.withConfig({componentId:"sc-7211510b-5"})(_templateObject10(),function(n){var e=n.theme;return(0,v.iv)(_templateObject9(),e["color-base-content-quaternary"])}),C=(0,v.ZP)(g.ZP).withConfig({componentId:"sc-7211510b-6"})(_templateObject12(),function(n){var e=n.theme;return(0,v.iv)(_templateObject11(),e.borderRadius[999],e.borderRadius[999],e["color-base-content-quintarny"],e.spacing[4],e.spacing[20],N,P,e.spacing[8],e.spacing[8])}),q=v.ZP.div.withConfig({componentId:"sc-7211510b-7"})(_templateObject20(),function(n){var e=n.theme,t=n.size;return(0,v.iv)(_templateObject19(),e.spacing[8],e.borderRadius[999],e["color-base-surface-tertiary"],e.spacing[2],e.spacing[8],O.lT,t===_.NO.SM&&(0,v.iv)(_templateOb
1ject13(),e.spacing[2],e.spacing[8],e.spacing[2],e.spacing[4]),t===_.NO.MD&&(0,v.iv)(_templateObject14(),e.spacing[6],e.spacing[12],e.spacing[6],e.spacing[4]),t===_.NO.LG&&(0,v.iv)(_templateObject15(),e.spacing[8],e.spacing[16],e.spacing[8],e.spacing[4],O.q6),t===_.NO.XL&&(0,v.iv)(_templateObject16(),e.spacing[16],e.spacing[16],e.spacing[16],e.spacing[4],O.q6),O.lT,e["color-base-content-quaternary"],t===_.NO.LG&&(0,v.iv)(_templateObject17(),O.q6,e["color-base-content-quaternary"]),t===_.NO.XL&&(0,v.iv)(_templateObject18(),O.q6,e["color-base-content-quaternary"]),e["color-base-content-quaternary"],e["color-base-content-quaternary"])}),Z=v.ZP.span.withConfig({componentId:"sc-7211510b-8"})(_templateObject26(),function(n){var e=n.theme,t=n.size;return(0,v.iv)(_templateObject25(),t===_.NO.SM&&(0,v.iv)(_templateObject21(),O.lT,e["color-base-content-quaternary"]),t===_.NO.MD&&(0,v.iv)(_templateObject22(),O.lT,e["color-base-content-quaternary"]),t===_.NO.LG&&(0,v.iv)(_templateObject23(),O.q6,e["color-base-content-quaternary"]),t===_.NO.XL&&(0,v.iv)(_templateObject24(),O.q6,e["color-base-content-quaternary"]))}),z=v.ZP.div.withConfig({componentId:"sc-7211510b-9"})(_templateObject32(),function(n){var e=n.theme,t=n.isError,r=n.isFocused,o=n.size;return(0,v.iv)(_templateObject31(),o!==_.NO.SM&&(0,v.iv)(_templateObject27(),e.spacing[4]),C,q,!r&&(0,v.iv)(_templateObject29(),w,e["color-base-surface-quaternary"],C,t&&(0,v.iv)(_templateObject28(),w,e.borderWidth.xs,e["color-base-state-error-fg"])),r&&(0,v.iv)(_templateObject30(),w,e.borderWidth.xs,t?e["color-base-state-error-fg"]:e["color-base-action-primary-active"],e["ring-primary-xs"],e["color-base-surface-primary"]))}),I=v.ZP.span.withConfig({componentId:"sc-7211510b-10"})(_templateObject34(),function(n){var e=n.theme;return(0,v.iv)(_templateObject33(),O.lT,e["color-base-content-tertiary"])}),R=t(96701),T=i.forwardRef(function(n,e){var t=n.input,r=n.onDropdownVisibleChange,o=n.options,a=n.placeholder,i=n.meta,l=n.size,u=n.onPrefixChange;return(0,c.jsx)(C,{input:t,onDropdownVisibleChange:r,onChange:function(n){t.onChange(n),null==u||u(n)},placeholder:a,ref:e,meta:i,options:o,size:l,hasErrorTooltip:!1})}),E=i.forwardRef(function(n,e){var t=n.input,a=n.setFocused,i=n.mask,u=n.placeholder;return(0,c.jsx)(l.Z,(0,o._)((0,r._)({},t),{mask:i,placeholder:u,placeholderChar:"-",onChange:function(n){return t.onChange(n.target.value)},onFocus:function(){return setTimeout(function(){return a(!0)},10)},onBlur:function(){return a(!1)},onKeyDownCapture:function(n){if("Backspace"===n.key){var e=n.currentTarget,t=e.selectionStart,r=e.selectionEnd,o=e.value;null!==t&&null!==r&&t===r&&t>0&&" "===o[t-1]&&e.setSelectionRange(t-1,t-1)}},ref:e}))}),L=i.forwardRef(function(n,e){var t=n.name,r=n.label,o=n.className,l=n.formName,u=n.size,s=void 0===u?_.NO.LG:u,j=n.required,v=n.infoMessage,O=e.phoneNumberInputRef,C=e.phonePrefixInputRef,L=(0,d.I0)(),S=(0,d.v9)(function(n){return p()(n,"form.".concat(l,".syncErrors.phoneNumber"))}),M=(0,d.v9)(function(n){return p()(n,"form.".concat(l,".fields.phoneNumber.touched"))}),D=(0,d.v9)(function(n){return p()(n,"form.".concat(l,".fields.phonePrefix.touched"))}),F=(0,d.v9)(function(n){return p()(n,"form.".concat(l,".values.phonePrefix"))}),$=(0,d.v9)(function(n){return p()(n,"form.".concat(l,".values.phoneNumber"))}),B=f()(_.bo,function(n){return n}).find(function(n){return n.prefix===F}),G=(null==B?void 0:B.maxLength)||9,W="".concat("1".repeat(G)).replace(/(.{3})/g,"$1 ").trim(),Y="".concat("-".repeat(G)).replace(/(.{3})/g,"$1 ").trim(),formatPhoneNumber=function(n){return n.replace(/(.{3})/g,"$1 ").trim()},normalizePhoneNumber=function(n){return(n||"").replace(/\s|-/g,"")};(0,i.useEffect)(function(){if(B){var n=normalizePhoneNumber($);if(!(n.length<=G)){var e=formatPhoneNumber(n.slice(0,G));$!==e&&L((0,b.m)(l,"phoneNumber",e))}}},[L,l,$,G,B]);var V=f()(_.bo,function(n,e){return(0,c.jsxs)(g.Wx,{value:n.prefix,label:n.prefix,children:[(0,c.jsx)(y,{children:(0,c.jsx)(k,{as:n.flag,title:(0,h.TZ)(e)})}),(0,c.jsx)(N,{children:(0,h.TZ)(e)}),(0,c.jsx)(P,{children:n.prefix})]},n.prefix)}),X=(0,a._)((0,i.useState)(!1),2),A=X[0],K=X[1],H=(0,a._)((0,i.useState)(!1),2),J=H[0],Q=H[1],U=(0,i.useRef)(null),unlockBodyScroll=function(){if("undefined"!=typeof document&&U.current){var n=document.body,e=U.current,t=e.scrollY,r=e.position,o=e.top,a=e.width,c=e.overflow;n.style.position=r,n.style.top=o,n.style.width=a,n.style.overflow=c,U.current=null,window.scrollTo(0,t)}};return(0,i.useEffect)(function(){if("undefined"!=typeof document){var n=window.navigator.userAgent||"";if(!(/iPad|iPhone|iPod/.test(n)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1)||!J){unlockBodyScroll();return}var e=document.body,t=window.scrollY,r=e.style.position,o=e.style.top,a=e.style.width,c=e.style.overflow;U.current={scrollY:t,position:r,top:o,width:a,overflow:c},e.style.position="fixed",e.style.top="-".concat(t,"px"),e.style.width="100%",e.style.overflow="hidden"}},[J]),(0,c.jsxs)(z,{className:o,isError:(M||D)&&S,size:s,isFocused:A,children:[r&&(0,c.jsxs)(x,{htmlFor:t,$isError:(M||D)&&S,children:[r,void 0!==j&&j&&"*"]}),(0,c.jsxs)(w,{children:[(0,c.jsx)(m.Z,{name:"phonePrefix",component:T,onDropdownVisibleChange:function(n){K(n),Q(n)},onPrefixChange:function(n){var e=f()(_.bo,function(n){return n}).find(function(e){return e.prefix===n}),t=(null==e?void 0:e.maxLength)||9,r=normalizePhoneNumber($);if(!(r.length<=t)){var o=r.slice(0,t);L((0,b.m)(l,"phoneNumber",formatPhoneNumber(o)))}},phoneNumberTouched:M||D||$,options:V,size:s,ref:C,forwardRef:!0}),(0,c.jsxs)(q,{size:s,children:[(0,c.jsx)(Z,{size:s,children:F}),(0,c.jsx)(m.Z,{name:"phoneNumber",component:E,setFocused:K,mask:W,placeholder:Y,ref:O,forwardRef:!0},"".concat(null!=F?F:"","-").concat(G))]})]}),(0,c.jsx)(R.Z,{error:M||D?S:""}),v&&!S&&(0,c.jsx)(I,{children:v})]})})}}]);
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.