1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3894],{18748:function(e,t,n){let r;n.d(t,{qg:function(){return c},oI:function(){return g},QA:function(){return u},N2:function(){return s},io:function(){return a},Bt:function(){return h}});class l{constructor(){this.getRestoreStyles=()=>this.restoreStyles,this.restoreStyles=[]}}class o{constructor(){this.getModalStore=()=>this.modalStore,this.modalStore=new l}}let i=()=>(window.globalStore||(window.globalStore=new o),window.globalStore),d=()=>i().getModalStore();function a(e){return e.scrollTop<=0}function s(e){return e.scrollHeight-e.offsetHeight-.5<=e.scrollTop}function u(e){return e.scrollHeight>e.clientHeight}let c=()=>{if(void 0!==r)return r;let e=document.createElement("div");e.style.width="99px",e.style.height="99px",e.style.position="absolute",e.style.top="-9999px",e.style.overflow="scroll",document.body.appendChild(e);let t=e.offsetWidth-e.clientWidth;return document.body.removeChild(e),r=t,t},p=e=>document.body===e?window.innerWidth>document.documentElement.clientWidth:e.scrollHeight>e.clientHeight,f=e=>parseInt(window.getComputedStyle(e).paddingRight,10)||0,h=e=>{let t=d().getRestoreStyles(),n=t.findIndex(t=>t.container===e),r=t[n];r&&(r.modals-=1,r.modals<=0&&(t.splice(n,1),r.styles.forEach(e=>{let{value:t,el:n,key:r}=e;t?n.style.setProperty(r,t):n.style.removeProperty(r)})))},g=e=>{if(!e)return;let t=d().getRestoreStyles(),n=t.find(t=>t.container===e);if(n){n.modals+=1;return}let r=[];if(p(e)){let t=c();r.push({value:e.style.paddingRight,key:"padding-right",el:e}),e.style.paddingRight=`${f(e)+t}px`}let l=e.parentElement,o=(null==l?void 0:l.nodeName)==="HTML"&&"scroll"===window.getComputedStyle(l).overflowY?l:e;"hidden"!==o.style.overflow&&r.push({value:o.style.overflow,key:"overflow",el:o}),o.style.overflow="hidden",t.push({container:e,modals:1,styles:r})}},94434:function(e,t,n){var r=n(35944),l=n(67294),o=n(32391),i=n(76530),d=n(93510);let a=(0,l.forwardRef)((e,t)=>{let{hint:n,mask:a,label:s,error:u,placeholderChar:c="_",lazy:p=!0,unmask:f,className:h,size:g,variant:m,leftAddons:b,rightAddons:w,leftAddonsCSS:y,rightAddonsCSS:v,errorCSS:x,disabled:C=!1,value:S,onChange:A,onBlur:k,type:R,placeholder:N,...E}=e;delete E.isLegend;let H=(0,l.useRef)(""),Z=S||"",{ref:_,value:P,setValue:T,unmaskedValue:B}=(0,o.Cj)({mask:a,...E,lazy:p,placeholderChar:c},{onAccept:(e,t)=>
1{let n=f?t.unmaskedValue:e;n!==H.current&&(H.current=n,null==A||A({target:{value:n}}))}}),L=(0,l.useRef)(P);L.current=P;let M=(0,l.useRef)(B);return M.current=B,(0,l.useEffect)(()=>{Z!==(f?M.current:L.current)&&H.current!==Z&&(T(Z),H.current=Z)},[Z,f,T]),(0,r.tZ)(d.Z,{label:s,hint:n,error:u,ref:(0,i.l)([t,_]),className:h,value:P,placeholder:N,size:g,variant:m,leftAddons:b,rightAddons:w,leftAddonsCSS:y,rightAddonsCSS:v,errorCSS:x,disabled:C,onBlur:k,type:R,...E})});t.Z=a},7544:function(e,t,n){n.d(t,{Z:function(){return C}});var r=n(35944),l=n(5152),o=n.n(l),i=n(67294),d=n(81555),a=n(76530),s=n(74533),u=n(71511),c=n(9996),p=n.n(c);let f={center:{justifyContent:"center",textAlign:"center"},left:{justifyContent:"flex-start",textAlign:"left"},right:{justifyContent:"flex-end",textAlign:"right"}},h=(0,d.bA)(4),g={fullscreen:{flex:1,width:"100%"},md:{maxWidth:(0,d.bA)(80),width:"100%"}},m={fullscreen:{paddingTop:(0,d.bA)(2),paddingBottom:(0,d.bA)(3),paddingLeft:(0,d.bA)(2),paddingRight:(0,d.bA)(2)},md:{padding:`${(0,d.bA)(10,!0)}px ${(0,d.bA)(10,!0)}px`}},b={basic:{component:e=>{let{size:t,innerScroll:n}=e;return{background:d.O9.white,...n&&{maxHeight:"100%"},...(0,d.Re)(g,t)}},content:e=>{let{size:t,flex:n,innerScroll:r,hasFooter:l}=e,o={fullscreen:{padding:`${(0,d.bA)(3,!0)}px 0 0`},md:{padding:`${(0,d.bA)(5,!0)}px ${(0,d.bA)(10,!0)}px`,...!l&&{paddingBottom:(0,d.bA)(10,!0)}}};return{width:"100%",...n&&{flex:1},...r&&{overflowY:"auto",flex:1},...(0,d.Re)(p().all([o]),t)}},footer:e=>{let{size:t}=e;return{transition:"box-shadow 0.2s ease-in",boxShadow:"0px -6px 8px -4px rgba(0, 0, 0, 0.0)",...(0,d.Re)(p().all([m]),t),..."fullscreen"===t&&{marginTop:"auto",width:"100%"}}},header:e=>{let{view:t,size:n,stickyHeader:r,isContainer:l}=e,o={fullscreen:{paddingTop:(0,d.bA)(3,!0),paddingBottom:(0,d.bA)(2),paddingLeft:(0,d.bA)(2),paddingRight:(0,d.bA)(2),..."mobile"===t&&l&&{paddingLeft:0,paddingRight:0}},md:{padding:`${(0,d.bA)(5,!0)}px ${(0,d.bA)(10,!0)}px`}};return{top:"desktop"===t?-h:0,width:"100%",...r&&{position:"sticky",background:d.O9.white,zIndex:1},transition:"box-shadow 0.2s ease-in, background 0.2 ease",...(0,d.Re)(p().all([o]),n)}},headerWrapper:e=>{let{hasTitle:t}=e;return{display:"flex",alignItems:"stretch",justifyContent:t?"space-between":"end"}},headerCloser:()=>({fill:d.O9.black,":hover":{opacity:.7}}),headerContent:e=>{let{align:t="left",trim:n,hasCloser:r}=e;return{flexGrow:1,...r&&{paddingRight:(0,d.bA)(2)},...f[t],...n&&{overflow:"hidden"}}},headerTitle:e=>{let{trim:t}=e;return{...(0,d.pX)("h6Med"),wordBreak:"break-word",...t&&{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}}},wrapper:e=>{let{size:t}=e;return{..."fullscreen"!==t&&{paddingTop:h,paddingBottom:h}}}}},w=(0,i.forwardRef)((e,t)=>{let{theme:n="basic",size:l="md",variant:o="primary",fixedPosition:c,children:p,className:f,view:h,flex:g,hasCloser:m=!0,stickyFooter:w,stickyHeader:y,align:v="left",trim:x,innerScroll:C,Container:S,isContainer:A,...k}=e,R="string"==typeof n?b[n]:n,N=(0,i.useMemo)(()=>({size:l,view:h,align:v,fixedPosition:c,flex:g,hasCloser:m,stickyFooter:w,stickyHeader:y,trim:x,innerScroll:C,isContainer:A}),[l,h,v,c,g,m,w,y,x,C,A]),E=(0,i.useRef)(null),H="desktop"===h?{ref:(0,a.l)([t,E]),onMount:()=>{if(c&&E.current){let e=E.current.querySelector('[data-role="content"]');if(e){let{marginTop:t}=window.getComputedStyle(e);e.style.marginTop=t}}},backdropProps:{invisible:"fullscreen"===l,...k.backdropProps},className:f}:{ref:t,className:f},Z=(0,d.SH)(R,{...N,size:l,variant:o});return(0,r.tZ)(u.y,{size:l,theme:R,variant:o,state:N,Container:S,children:(0,r.tZ)(s.C,{...k,css:Z("component"),wrapperCSS:{...Z("wrapper"),...k.wrapperCSS},...H,children:p})})}),y=o()(()=>n.e(9028).then(n.bind(n,75293)).then(e=>e.Header),{loadableGenerated:{webpack:()=>[75293]}}),v=o()(()=>n.e(8215).then(n.bind(n,18215)).then(e=>e.Content),{loadableGenerated:{webpack:()=>[18215]}}),x=o()(()=>n.e(1002).then(n.bind(n,81002)).then(e=>e.Footer),{loadableGenerated:{webpack:()=>[81002]}});var C=Object.assign((0,i.forwardRef)((e,t)=>{let{children:n,view:l="desktop",Container:o=d.W2,isContainer:i=!0,...a}=e;return(0,r.tZ)(w,{ref:t,...a,view:l,size:"mobile"===l?"fullscreen":a.size,Container:"mobile"===l?o:void 0,isContainer:i,children:n})}),{Header:y,Content:v,Footer:x})},71511:function(e,t,n){n.d(t,{l:function(){return a},y:function(){return d}});var r=n(35944),l=n(67294),o=n(81555);let i=(0,l.createContext)(null);i.displayName="PopupContext";let d=e=>{let{children:t,size:n,theme:d,variant:a,state:s,Container:u}=e,c=(0,o.SH)(d,{...s,size:n,variant:a}),p=(0,l.useMemo)(()=>({getCSS:c,state:s,size:n,theme:d,variant:a,Container:u}),[u,c,n,s,d,a]);return(0,r.tZ)(i.Provider,{value:p,children:t})},a=()=>{let e=(0,l.useContext)(i);if(!e)throw Error("Hook usePopupContext must be used within PopupContextProvider");return e}},450:function(e,t,n){n.d(t,{EQ:function(){return f},Hs:function(){return c},p9:function(){return u}});var r=n(30202),l=n(67294),o=n(16310),i=n(68830),d=n(62614),a=n(24796),s=n(97563);let u=o.Ry().shape({middleName:o.Z_().test("middleName","некоÑÑекÑное знаÑение",e=>!e||s.tB.test(e)),lastName:o.Z_().test("lastName","некоÑÑекÑное знаÑение",e=>!e||s.tB.test(e)),firstName:o.Z_().test("firstName","некоÑÑекÑное знаÑение",e=>!e||s.tB.test(e)).required(d.XO.REQUIRED),email:o.Z_().test("email","некоÑÑекÑное знаÑение",e=>!e||s.ku.test(e)),birthday:o.Z_().test("birthday","невеÑнÑй ÑоÑÐ¼Ð°Ñ Ð´Ð°ÑÑ",e=>!e||s.xb.test(e))}),c=e=>
1({phone:(null==e?void 0:e.phone)?(0,a.Iw)(e.phone):"",email:(null==e?void 0:e.email)||"",firstName:(null==e?void 0:e.firstName)||"",lastName:(null==e?void 0:e.lastName)||"",middleName:(null==e?void 0:e.middleName)||"",birthday:(null==e?void 0:e.birthday)?(0,a.p6)(new Date(e.birthday),d.yM.DEFAULT_FULL_YEAR):"",gender:String(null==e?void 0:e.gender)||""}),p=e=>new Promise(t=>{setTimeout(t,e)}),f=()=>{let e=(0,r.NL)(),t=(0,l.useCallback)(async function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:5;try{return await e.fetchQuery({queryKey:i.iP.bonusCard()})}catch(e){if(n<=1)return null;return await p(1e3),t(n-1)}},[e]);return{fetchBonusWithRetry:t}}}}]);
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.