1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6417],{7551:function(e,t,o){"use strict";o.d(t,{e:function(){return d},Z:function(){return f}});var n=o(85893),r=o(87536),i=o(15437),a=o(45697),s=o.n(a),l=o(10156),c=o(53462);let d={GRAY_TEXT_GRAY_LINK_FONT_15:"GRAY_TEXT_GRAY_LINK_FONT_15",NONE:"NONE"},u={[d.GRAY_TEXT_GRAY_LINK_FONT_15]:i.ZP.span.withConfig({componentId:"sc-db7dd683-0"})(["font-size:15px;line-height:18px;color:#999;a{color:",";text-decoration:none;&:hover{color:",";}}"],(0,c.JL)("color.greysDarkGrey"),(0,c.JL)("color.headerLinksFontHover")),[d.NONE]:i.ZP.span.withConfig({componentId:"sc-db7dd683-1"})([""])},p=e=>{let{children:t,contentStyle:o,...r}=e,i=u[o]??null;return(0,n.jsx)(i,{...r,children:t})};p.propTypes={children:s().node.isRequired,contentStyle:s().oneOf(Object.values(d)).isRequired};let m=e=>{let{className:t="",children:o,name:i,required:a=!0,disabled:s,contentStyle:c=d.NONE,onChangeCustom:u=()=>{}}=e;return(0,n.jsxs)(g.AgreementWrapper,{className:t,disabled:s,"data-qa":"element__agreement-component",children:[(0,n.jsx)(r.Qr,{name:i,defaultValue:!1,rules:{required:a},render:e=>{let{field:{onChange:t,value:o},fieldState:{invalid:r}}=e;return(0,n.jsx)(g.SelectInput,{name:i,"data-scroll":i,type:l.f4.CHECKBOX,size:l.Tl.MEDIUM,checked:o,invalid:r,disabled:s,onChange:e=>{t(e.target.checked),u(e)},"data-qa":"element__agreement-component-control"})}}),(0,n.jsx)(g.ContentWrapper,{contentStyle:c,"data-qa":"element__agreement-component-message",children:o})]})};m.propTypes={className:s().string,children:s().node.isRequired,name:s().string.isRequired,required:s().oneOfType([s().bool,s().string]),disabled:s().bool.isRequired,contentStyle:s().oneOf(Object.values(d)),onChangeCustom:s().func};let g={};g.AgreementWrapper=i.ZP.label.withConfig({componentId:"sc-68d9989f-0"})(["display:flex;align-items:flex-start;gap:10px;text-align:left;"]),g.SelectInput=(0,i.ZP)(l.ZP).withConfig({componentId:"sc-68d9989f-1"})(["flex:0 0 20px;"]);let h=l.BI[l.Tl.MEDIUM];g.ContentWrapper=(0,i.ZP)(p).withConfig({componentId:"sc-68d9989f-2"})(["margin-top:calc("," / 2 - 0.5em);margin-top:calc("," / 2 - 0.5lh);"],h,h);var f=m},40186:function(e,t,o){"use strict";var n=o(85893),r=o(45697),i=o.n(r),a=o(37433),s=o.n(a);let l=e=>{let{alt:t,...o}=e;return(0,n.jsx)("img",{src:s(),alt:t,...o})};l.propTypes={alt:i().string.isRequired},t.Z=l},92640:function(e,t,o){"use strict";o.d(t,{n6:function(){return l.n},_T:function(){return h},UU:function(){return f},ZP:function(){return j}});var n=o(85893),r=o(45697),i=o.n(r),a=o(15437),s=o(53462),l=o(77422);let c=e=>({[l.n.LARGE]:(0,a.iv)(["height:",";"],l.Y[l.n.LARGE]),[l.n.MEDIUM]:(0,a.iv)(["height:",";"],l.Y[l.n.MEDIUM]),[l.n.SMALL]:(0,a.iv)(["height:",";"],l.Y[l.n.SMALL]),[l.n.X32]:(0,a.iv)(["height:",";",";border-radius:8px;"],l.Y[l.n.X32],(0,s.Vy)("TYPE2_14V1"))})[e],d=e=>{let{className:t=""}=e;return(0,n.jsxs)(u.Wrapper,{className:t,children:[(0,n.jsx)(u.Dot,{}),(0,n.jsx)(u.Dot,{}),(0,n.jsx)(u.Dot,{})]})};d.propTypes={className:i().string};let u={},p=(0,a.F4)(["0%{transform:scale(0.5);filter:opacity(1);}50%,100%{transform:scale(1);filter:opacity(0.5);}"]);u.Wrapper=a.ZP.div.withConfig({componentId:"sc-f59513dd-0"})(["display:inline-flex;width:40px;align-items:center;justify-content:space-between;"]),u.Dot=a.ZP.div.withConfig({componentId:"sc-f59513dd-1"})(['width:8px;height:8px;&:before{content:"";display:block;width:100%;height:100%;background:var(--dot-base-color,#fff);border-radius:50%;transform:scale(1);animation:'," ","ms infinite linear alternate;}&:nth-child(2):before{animation-delay:","ms;}&:nth-child(3):before{animation-delay:","ms;}"],p,600,300,600);let m=e=>{let{isLoading:t,children:o}=e;return t?(0,n.jsxs)(g.Wrapper,{children:[o,(0,n.jsx)(g.Loader,{children:(0,n.jsx)(d,{})})]}):o};m.propTypes={isLoading:i().bool.isRequired,children:i().node.isRequired};let g={};g.Loader=a.ZP.span.withConfig({componentId:"sc-ad9a0863-0"})(["position:absolute;top:0;left:0;display:flex;width:100%;height:100%;align-items:center;justify-content:center;"]),g.Wrapper=a.ZP.span.withConfig({componentId:"sc-ad9a0863-1"})(["& > *:not(","){opacity:0;}"],g.Loader);let h={BUTTON:"button",LINK:"a"},f=h.BUTTON,x=e=>{let{className:t="",children:o=null,isLoading:r=!1,disabled:i=!1,controlRole:a=f,
1size:s,...l}=e,c=i||r;return(0,n.jsx)(b.Button,{className:t,disabled:c,$size:s,$controlRole:a,$isLoading:r,...l,children:(0,n.jsx)(m,{isLoading:r,children:o})})};x.propTypes={className:i().string,children:i().node,isLoading:i().bool,disabled:i().bool,controlRole:i().oneOf(Object.values(h)),size:i().oneOf(Object.values(l.n)).isRequired};let b={};b.Button=a.ZP.button.attrs(e=>{let{$controlRole:t,href:o,$size:n}=e;return{as:Object.values(h).includes(t)?t:f,href:t===h.LINK?o:null,$size:Object.values(l.n).includes(n)?n:l.n.MEDIUM}}).withConfig({componentId:"sc-429941b4-0"})(["position:relative;display:flex;width:100%;padding:0 6px;align-items:center;justify-content:center;border-radius:",";",";text-align:center;white-space:nowrap;overflow:hidden;cursor:pointer;",";"," &:disabled{cursor:default;}"],(0,s.JL)("borderRadius.small"),(0,s.Vy)("TYPE_80"),e=>{let{$size:t}=e;return c(t)},(0,s.Ww)("$isLoading",(0,a.iv)(["&&,&&:disabled{color:transparent;pointer-events:none;}"])));var j=x},77422:function(e,t,o){"use strict";o.d(t,{Y:function(){return r},n:function(){return n}});let n={X32:"x32",LARGE:"large",MEDIUM:"medium",SMALL:"small"},r={[n.X32]:"32px",[n.LARGE]:"56px",[n.MEDIUM]:"52px",[n.SMALL]:"48px"}},4477:function(e,t,o){"use strict";o.d(t,{n6:function(){return l.n6},jM:function(){return u},_T:function(){return l._T},ZP:function(){return g}});var n=o(85893),r=o(45697),i=o.n(r),a=o(15437),s=o(53462),l=o(92640);let c=(0,a.iv)(["--text-color:",";border:1px solid ",";color:var(--text-color);&:hover{border:1px solid ",";color:",";}&:disabled,&[disabled]{&:hover,&{background-color:",";border:1px solid ",";color:",";}}"],(0,s.JL)("color.blue"),(0,s.JL)("color.blue"),(0,s.JL)("color.darkBlue"),(0,s.JL)("color.darkBlue"),(0,s.JL)("color.disabledButtonBackground"),(0,s.JL)("color.disabledButtonBackground"),(0,s.JL)("color.disabledButtonColor")),d=(0,a.iv)(["--text-color:",";border:1px solid ",";color:var(--text-color);&:hover{border:1px solid ",";color:",";}&:disabled,&[disabled]{&:hover,&{background-color:#fff;border:1px solid ",";color:",";}}"],(0,s.JL)("color.commonBlackText"),(0,s.JL)("color.defaultBlack"),(0,s.JL)("color.greysGrey"),(0,s.JL)("color.greysGrey"),(0,s.JL)("color.buttonPrimaryDisabled"),(0,s.JL)("color.buttonPrimaryDisabled")),u={DEFAULT:"default",DARK:"dark"},p=e=>{let{className:t="",children:o=null,isLoading:r=!1,disabled:i=!1,themeVariant:a=u.DEFAULT,controlRole:s=l.UU,size:c=l.n6.LARGE,...d}=e;return(0,n.jsx)(m.Button,{className:t,isLoading:r,disabled:i,controlRole:s,size:c,$themeVariant:a,...d,children:o})};p.propTypes={className:i().string,children:i().node,isLoading:i().bool,disabled:i().bool,themeVariant:i().oneOf(Object.values(u)),controlRole:i().oneOf(Object.values(l._T)),size:i().oneOf(Object.values(l.n6))};let m={};m.Button=(0,a.ZP)(l.ZP).withConfig({componentId:"sc-56a58355-0"})(["background-color:#fff;"," "," --dot-base-color:var(--text-color);"],(0,s.Ww)("$themeVariant",u.DEFAULT,c),(0,s.Ww)("$themeVariant",u.DARK,d));var g=p},74003:function(e,t,o){"use strict";o.d(t,{n6:function(){return l.n6},_T:function(){return l._T},TT:function(){return g},ZP:function(){return x}});var n=o(85893),r=o(45697),i=o.n(r),a=o(15437),s=o(53462),l=o(92640);let c=(0,a.iv)(["--text-color:#fff;color:var(--text-color);background-color:",";border:none;&:hover{background-color:",";}&:disabled,&[disabled]{&:hover,&{background-color:",";color:",";}}"],(0,s.JL)("color.blue"),(0,s.JL)("color.darkBlue"),(0,s.JL)("color.disabledButtonBackground"),(0,s.JL)("color.disabledButtonColor")),d=(0,a.iv)(["--text-color:#fff;color:var(--text-color);background-color:",";border:none;&:hover{color:var(--text-color);background:",";border:none;}&:disabled,&[disabled]{&:hover,&{color:rgb(255 255 255 / 80%);background-color:",";border:none;}}"],(0,s.JL)("color.buttonPrimaryDefault"),(0,s.JL)("color.buttonPrimaryHover"),(0,s.JL)("color.buttonPrimaryDisabled")),u=(0,a.iv)(["--text-color:#fff;color:var(--text-color);background:linear-gradient( 91.8deg,#5ac3b6 0.34%,rgb(13 145 172 / 85%) 26.78%,#2695d6 49.77%,#7066f0 74.11%,#ae6de4 100.93% );border:none;&:hover{color:var(--text-color);background:",";}&:disabled,&[disabled]{&:hover,&{color:var(--text-color);background:",";}}"],(0,s.JL)("color.buttonGradientHover"),(0,s.JL)("color.buttonGradientDisabled")),p=(0,a.iv)(["--text-color:",";color:var(--text-color);background:",";border:none;&:hover{color:var(--text-color);background:",";border:none;}&:disabled,&[disabled]{&:hover,&{color:",";border:1px solid ",";background:#fff;}}"],(0,s.JL)("color.commonBlackText"),(0,s.JL)("color.itemCardYellow"),(0,s.JL)("color.informerBackgroun
1d"),(0,s.JL)("color.buttonPrimaryDisabled"),(0,s.JL)("color.buttonPrimaryDisabled")),m=(0,a.iv)(["background-color:#af55cb;color:#fff;&:hover{background-color:#8f43a4;}&:disabled{background-color:#af55cb;color:#fff;cursor:default;&:hover{background-color:#af55cb;color:#fff;}}"]),g={DEFAULT:"default",BLACK:"black",GRADIENT:"gradient",YELLOW:"yellow",PURPLE:"purple"},h=e=>{let{className:t="",children:o=null,isLoading:r=!1,disabled:i=!1,themeVariant:a=g.DEFAULT,controlRole:s=l.UU,size:c=l.n6.LARGE,...d}=e;return(0,n.jsx)(f.Button,{className:t,disabled:i,controlRole:s,size:c,isLoading:r,$themeVariant:a,"data-qa":"button__primary-v2",...d,children:o})};h.propTypes={className:i().string,children:i().node,isLoading:i().bool,disabled:i().bool,themeVariant:i().oneOf(Object.values(g)),controlRole:i().oneOf(Object.values(l._T)),size:i().oneOf(Object.values(l.n6))};let f={};f.Button=(0,a.ZP)(l.ZP).withConfig({componentId:"sc-5ab0d606-0"})([""," "," "," "," "," --dot-base-color:var(--text-color);"],(0,s.Ww)("$themeVariant",g.DEFAULT,c),(0,s.Ww)("$themeVariant",g.BLACK,d),(0,s.Ww)("$themeVariant",g.GRADIENT,u),(0,s.Ww)("$themeVariant",g.YELLOW,p),(0,s.Ww)("$themeVariant",g.PURPLE,m));var x=h},15870:function(e,t,o){"use strict";var n=o(85893),r=o(45697),i=o.n(r),a=o(15437),s=o(53462);let l=e=>{let{className:t="",children:o=null,styleType:r,tag:i="div",...s}=e;if(!Object.keys((0,a.Fg)().CONTENT_STYLE).includes(r))throw Error(`Wrong typography class: ${r}`);return(0,n.jsx)(c.Content,{className:t,$tag:i,$styleType:r,...s,children:o})};l.propTypes={className:i().string,children:i().node,styleType:i().string.isRequired,tag:i().string};let c={};c.Content=a.ZP.span.attrs(e=>{let{$tag:t}=e;return{as:t}}).withConfig({componentId:"sc-15ed6f5a-0"})(["",""],e=>(0,s.JL)(`CONTENT_STYLE.${e.$styleType}`)),t.Z=l},10156:function(e,t,o){"use strict";o.d(t,{mS:function(){return l},Br:function(){return m},Tl:function(){return c},BI:function(){return d},f4:function(){return p},ZP:function(){return h}});var n=o(85893),r=o(15437),i=o(45697),a=o.n(i),s=o(53462);let l="6px",c={SMALL:"small",MEDIUM:"medium"},d={[c.SMALL]:"16px",[c.MEDIUM]:"20px"},u={[c.SMALL]:"3px",[c.MEDIUM]:"4px"},p={CHECKBOX:"checkbox",RADIO:"radio"},m={TYPE:{checked:a().bool.isRequired,disabled:a().bool,invalid:a().bool,onChange:a().func.isRequired,type:a().oneOf(Object.values(p))},DEFAULTS:{disabled:!1,invalid:!1,type:p.CHECKBOX}},g=e=>{let{className:t="",checked:o,disabled:r=m.DEFAULTS.disabled,invalid:i=m.DEFAULTS.invalid,onChange:a,type:s=m.DEFAULTS.type,size:l=c.SMALL,...d}=e;return(0,n.jsx)(f.Wrapper,{className:t,$disabled:r,$checked:o,$type:s,$size:l,$invalid:i,children:(0,n.jsx)(f.SelectInput,{type:s,checked:o,disabled:r,onChange:a,"data-qa":`input__select-input-type-${s}`,...d})})};g.propTypes={className:a().string,size:a().oneOf(Object.values(c)),...m.TYPE};var h=g;let f={};f.Wrapper=r.ZP.span.withConfig({componentId:"sc-e03a88a3-0"})(["position:relative;display:inline-block;width:",";height:",';overflow:hidden;&:before{content:"";position:absolute;top:0;left:0;z-index:',";display:block;width:100%;height:100%;border:1px solid ",";border-radius:",";background:#fff;opacity:1;}"," "," ",""],(0,s.yN)("$size",d),(0,s.yN)("$size",d),(0,s.tX)("base",1),(0,s.JL)("color.greysGrey"),(0,s.yN)("$size",u),(0,s.g2)("$disabled",(0,r.iv)(["&:before{cursor:pointer;}&:hover:before{opacity:0.85;}",""],(0,s.Ww)("$checked",(0,r.iv)(["&:hover:before{opacity:0.6;}"])))),(0,s.Ww)("$type",p.CHECKBOX,(0,r.iv)([""," "," ",""],(0,s.Ww)("$checked",(0,r.iv)(["&:before{background:",' url("','") 50% 50% no-repeat;border-color:transparent;}',""],(0,s.JL)("color.blue"),"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAiIGhlaWdodD0iOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMS41NjYgNC45MzRBLjguOCAwIDAgMCAuNDM0IDYuMDY2bDEuMTMyLTEuMTMyek0zLjUgOGwtLjU2Ni41NjZhLjguOCAwIDAgMCAxLjE3Ny0uMDVMMy41IDh6bTYuMTEtNS45ODNBLjguOCAwIDAgMCA4LjM5Ljk4M2wxLjIyIDEuMDM0ek0uNDM1IDYuMDY2bDIuNSAyLjUgMS4xMzItMS4xMzItMi41LTIuNUwuNDM0IDYuMDY2em0zLjY3NyAyLjQ1IDUuNS02LjVMOC4zODkuOTg0bC01LjUgNi41IDEuMjIyIDEuMDM0eiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==",(0,s.Ww)("$size",c.MEDIUM,(0,r.iv)(["&:before{background-size:65%;}"])))),(0,s.Ww)("$disabled",(0,r.iv)(["&:before{border-color:transparent;background-color:",";}"],(0,s.JL)("color.greysControlBorderDisabled"))),(0,s.Ww)("$invalid",(0,r.iv)(["&:before{border-color:",";}"],(0,s.JL)("color.alert"))))),(0,s.Ww)("$type",p.RADIO,(0,r.iv)(["&:before{top:1px;left:1px;border-radius:50%;border:2px solid #fff;outline:1px solid ",";background:#fff;"," ","}"," ",""],(0,s.JL)("color.greysGrey"),(0,s.Ww)("$size",c.SMALL,(0,r.iv)(["width:","px;height:","px;"],Number.parseInt(d[c.SMALL],10)-2,Number.parseInt(d[c.SMALL],10)-2)),(0,s.Ww)("$size",c.MEDIUM,(0,r.iv)(["width:","px;height:","px;"],Number.parseInt(d[c.MEDIUM],10)-2,Number.parseInt(d[c.MEDIUM],10)-2)),(0,s.Ww)("$checked",(0,r.iv)(["&:before{border:2px solid #fff;outline:1px solid ",";background:",";}"],(0,s.JL)("color.blue"),(0,s.JL)("color.blue"))),(0,s.Ww)("$disabled",(0,r.iv)(["&:before{border:2px solid ",";outline:1px solid ",";background:",";}",""],(0,s.JL)("color.greysControlBorderDisabled"),(0,s.JL)("color.greysControlBorderDisabled"),(0,s.JL)("color.greysControlBorderDisabled"),(0,s.Ww)("$checked",(0,r.iv)(["&:before{border:2px solid #fff;outline:1px solid ",";background:",";}"],(0,s.JL)("color.greysControlBorderDisabled"),(0,s.JL)("color.greysControlBorderDisabled")))))))),f.SelectInput=r.ZP.input.withConfig({componentId:"sc-e03a88a3-1"})(["position:absolute;z-index:",";width:100%;height:100%;opacity:0;font-size:50px;
1",""],(0,s.tX)("base",2),(0,s.g2)("disabled",(0,r.iv)(["cursor:pointer;"])))},89791:function(e,t,o){"use strict";o.d(t,{Z:function(){return c}});var n=o(85893),r=o(45697),i=o.n(r),a=o(7803);let s=e=>{let{className:t="",...o}=e;return(0,n.jsx)(l.BaseIconElement,{className:t,icon:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik04LjMxNiAwaDcuMzY4QzIyLjQwOCAwIDI0IDEuNTkyIDI0IDguMzE2djcuMzY4QzI0IDIyLjQwOCAyMi40MDggMjQgMTUuNjg0IDI0SDguMzE2QzEuNTkyIDI0IDAgMjIuNDA4IDAgMTUuNjg0VjguMzE2QzAgMS41OTIgMS41OTIgMCA4LjMxNiAwWiIgZmlsbD0iIzAwMCIvPjxwYXRoIGZpbGwtcnVsZT0iZXZlbm9kZCIgY2xpcC1ydWxlPSJldmVub2RkIiBkPSJNMTkuNjE2IDcuNjZjLjExOS0uMzcyIDAtLjY0My0uNTI1LS42NDNoLTEuNzQ1Yy0uNDQgMC0uNjQzLjIzNy0uNzYyLjQ5MSAwIDAtLjg5NyAyLjE2OC0yLjE1IDMuNTc0LS40MDcuNDA2LS41OTMuNTQyLS44MTQuNTQyLS4xMTggMC0uMjctLjEzNi0uMjctLjUwOFY3LjY0NGMwLS40NC0uMTM2LS42NDQtLjUwOS0uNjQ0aC0yLjc0NGMtLjI3IDAtLjQ0LjIwMy0uNDQuNDA2IDAgLjQyNC42MjcuNTI2LjY5NCAxLjcxMXYyLjU3NWMwIC41NTktLjEwMS42Ni0uMzIxLjY2LS41OTMgMC0yLjAzMy0yLjE4NS0yLjg5Ny00LjY3NUM2Ljk2NCA3LjE4NyA2Ljc5NSA3IDYuMzU0IDdINC41OTNDNC4wODUgNyA0IDcuMjM3IDQgNy40OTFjMCAuNDU3LjU5MyAyLjc2IDIuNzYgNS44MSAxLjQ0IDIuMDgzIDMuNDkgMy4yIDUuMzM2IDMuMiAxLjExOCAwIDEuMjUzLS4yNTMgMS4yNTMtLjY3N1YxNC4yNWMwLS41MDguMTAyLS41OTMuNDU4LS41OTMuMjU0IDAgLjcxMS4xMzYgMS43NDQgMS4xMzUgMS4xODYgMS4xODYgMS4zODkgMS43MjggMi4wNSAxLjcyOGgxLjc0NGMuNTA4IDAgLjc0NS0uMjU0LjYxLS43NDYtLjE1My0uNDktLjcyOC0xLjIwMi0xLjQ3NC0yLjA0OS0uNDA2LS40NzQtMS4wMTYtMS0xLjIwMi0xLjI1My0uMjU0LS4zMzktLjE4Ny0uNDc1IDAtLjc4LS4wMTcgMCAyLjExNy0zLjAxNCAyLjMzNy00LjAzWiIgZmlsbD0iI2ZmZiIvPjwvc3ZnPg==",...o})};s.propTypes={className:i().string};let l={BaseIconElement:a.Z};var c=s},75934:function(e,t,o){"use strict";o.d(t,{zE:function(){return r.zE},RE:function(){return r.RE},Wj:function(){return r.Wj},ZG:function(){return r.ZG},ZP:function(){return i}});var n=o(15437),r=o(50200),i=(0,n.ZP)(r.ZP).withConfig({componentId:"sc-1571ff79-0"})(['&&{mask-image:url("','");}'],"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggc3Ryb2tlPSIjMDA3QUZGIiBzdHJva2Utd2lkdGg9IjEuNTk5IiBzdHJva2UtbGluZWNhcD0icm91bmQiIGQ9Ik04Ljk5NyAxLjc2OCAxLjM2MyA5LjQwMW03Ljc1OSA3Ljc3NEwxLjQ4OSA5LjU0MW0wLS4xNGgxNS4zNCIvPjwvc3ZnPg==")},14732:function(e,t,o){"use strict";o.d(t,{gv:function(){return l.gv},xA:function(){return l.xA}});var n=o(85893),r=o(67294),i=o(45697),a=o.n(i),s=o(87536),l=o(81411);let c=e=>{let{className:t="",type:o=l.Wy.DEFAULTS.type,name:i,label:a=l.Wy.DEFAULTS.label,disabled:c=l.Wy.DEFAULTS.disabled,isLoading:d=l.Wy.DEFAULTS.isLoading,needDisableWhileLoading:u=l.Wy.DEFAULTS.needDisableWhileLoading,needResetButton:p=!1,isMask:m=!1,isLabelAlwaysShown:g=l.Wy.DEFAULTS.isLabelAlwaysShown,registerProps:h={},...f}=e,{register:x,formState:{errors:b},resetField:j}=(0,s.Gc)(),[L,I]=(0,r.useState)(!0),y=(0,s.qo)({name:i});(0,r.useEffect)(()=>{I(!y||0===y.length)},[y]);let w=m?{}:{...x(i,{...h})};return(0,n.jsx)(l.ZP,{id:i,className:t,type:o,name:i,label:b[i]?.message||a,disabled:c,isLoading:d,isError:!!b[i],isEmpty:L,isLabelAlwaysShown:g,isShownResetButton:p&&!L&&!d,isShownEyeIcon:"password"===o&&!L&&!d,needDisableWhileLoading:u,onReset:()=>j(i,{defaultValue:""}),registerProps:w,...f})};c.propTypes={className:a().string,name:a().string.isRequired,isMask:a().bool,needResetButton:a().bool,registerProps:a().objectOf(a().any),...l.Wy.TYPE},t.ZP=c},49556:function(e,t,o){"use strict";o.d(t,{j:function(){return l}});var n=o(85893),r=o(45697),i=o.n(r),a=o(15437),s=o(53462);let l=e=>{let{className:t="",children:o=null,isCentered:r=!1,...i}=e;return(0,n.jsx)(c.Title,{className:t,$isCentered:r,...i,children:o})};l.propTypes={className:i().string,children:i().node,isCentered:i().bool};let c={};c.Title=a.ZP.div.withConfig({componentId:"sc-39441035-0"})(["margin-bottom:12px;",";",""],(0,s.JL)("CONTENT_STYLE.TYPE_95"),(0,s.Ww)("$isCentered",(0,a.iv)(["text-align:center;"])))},16417:function(e,t,o){"use strict";o.d(t,{Z:function(){return eJ}});var n=o(85893),r=o(45697),i=o.n(r),a=o(15437),s=o(53462),l=o(92354),c=o.n(l),d=o(89165);let u=c().contact.email.support,p=e=>{let{className:t=""}=e,o=(0,d.G)();return(0,n.jsxs)(m.Footer,{className:t,"data-qa":"element__footer-support",children:["ÐÑи пÑоблемаÑ
Ñо\xa0вÑ
одом пиÑиÑе по\xa0адÑеÑÑ:â",(0,n.jsx)(m.Link,{href:`mailto:${u}`,onClick:o.auth.supportEmailClick,children:u})]})};p.propTypes={className:i().string};let m={};m.Footer=a.ZP.div.withConfig({componentId:"sc-e30aab1f-0"})(["",";"],(0,s.Vy)("TYPE_30")),m.Link=a.ZP.a.withConfig({componentId:"sc-e30aab1f-1"})(["white-space:nowrap;"]);
1var g=o(46670),h=o(82452),f=o(77653),x=o(58251),b=o(15870),j=o(72911);let L={RELATIVE:"relative",ABSOLUTE:"absolute"},I=e=>{let{className:t="",type:o=f.tx.INFO,position:r=L.RELATIVE,needCloseButton:i=!0,onClose:a=()=>{},children:s}=e;return(0,n.jsxs)(w.NotificationPanel,{className:t,type:o,position:r,"data-qa":"element__notification",children:[(0,n.jsx)(b.Z,{styleType:"TYPE_50","data-qa":"content__notification",children:s}),!!i&&(0,n.jsx)(w.CloseIcon,{background:o===f.tx.ERROR?j.qg.WHITE:j.qg.DEFAULT,onClick:a})]})};I.propTypes={className:i().string,children:i().node.isRequired,type:i().oneOf(Object.values(f.tx)),position:i().oneOf(Object.values(L)),needCloseButton:i().bool,onClose:i().func};let y=(0,a.F4)(["from{opacity:0;}to{opacity:1;}"]),w={};w.NotificationPanel=a.ZP.div.withConfig({shouldForwardProp:x.Z}).withConfig({componentId:"sc-11de0612-0"})(["display:flex;padding:8px 5px 8px 12px;justify-content:space-between;align-items:center;border-radius:",";overflow:hidden;animation:"," 0.8s ease-in-out forwards;"," "," ",""],(0,s.JL)("borderRadius.small"),y,(0,s.Ww)("type",f.tx.INFO,(0,a.iv)(["background:",";"],(0,s.JL)("color.alert/bkg/warning"))),(0,s.Ww)("type",f.tx.ERROR,(0,a.iv)(["background:",";color:#fff;"],(0,s.JL)("color.alert"))),(0,s.Ww)("position",L.ABSOLUTE,(0,a.iv)(["position:absolute;top:16px;right:16px;left:16px;z-index:",";"],(0,s.tX)("popup",2)))),w.CloseIcon=(0,a.ZP)(j.ZP).withConfig({componentId:"sc-11de0612-1"})(["flex:0 0 30px;"]);let C=(0,g.Pi)(e=>{let{className:t=""}=e,{error:{items:o,deleteErrorItem:r}}=(0,h.Z)().authStore;return o.length>0&&(0,n.jsx)(E.Wrapper,{children:o.map(e=>(0,n.jsx)(E.NotificationV2,{className:t,type:f.tx.ERROR,position:L.RELATIVE,onClose:()=>r(e),children:e.message},`${e.field}-${e.message}`))})});C.propTypes={className:i().string};let E={};E.Wrapper=a.ZP.div.withConfig({componentId:"sc-e5cb862e-0"})(["position:absolute;top:11px;right:0;left:0;z-index:",";"],(0,s.tX)("popup",3)),E.NotificationV2=(0,a.ZP)(I).withConfig({componentId:"sc-e5cb862e-1"})(["min-height:56px;& + &{margin-top:10px;}"]);var N=o(67294),P=o(87536),T=o(65426),k=o(36714),v=o(36071),A=o(14732),M=o(74003),S=o(89791),Z=o(49556);let D=e=>{let{watch:t,getValues:o}=e,[n,r]=(0,N.useState)(!0),i=e=>{r(!Object.values(e).every(e=>"string"==typeof e&&e.length>0||"boolean"==typeof e&&e))};return(0,N.useEffect)(()=>{let e=t(e=>{i(e)});return()=>e.unsubscribe()},[t]),(0,N.useEffect)(()=>{i(o())},[o]),n},O="email",B={VKONTAKTE:c().auth.social[T.$o.VK].login},_=(0,g.Pi)(()=>{let[e,t]=(0,N.useState)(null),{authStore:o}=(0,h.Z)(),r=(0,d.G)(),i=(0,P.cI)({defaultValues:{[O]:o.email}}),a=t=>{t.origin===c().site.origin&&t.data?.type===v.i.AUTH_SOCIAL_DATA_RECEIVED&&(e.close(),o.loginWithSocial(t.data?.email))},[s,l]=(0,N.useState)(!1);(0,N.useEffect)(()=>{let e=i.watch(e=>{k.C.test(e[O])?l(!0):l(!1)});return()=>e.unsubscribe()},[i,i.watch]),(0,N.useEffect)(()=>{s&&r.auth.emailIsValid()},[s,r.auth]);let u=e=>{o.setEmail(e.email),o.checkEmail(),r.auth.startFormSubmit()};(0,N.useEffect)(()=>{r.auth.startFormOpen()},[r.auth]),(0,N.useEffect)(()=>(e&&window.addEventListener("message",a),()=>{window.removeEventListener("message",a)}),[e]);let p=o.error.hasErrorByName(O);(0,N.useEffect)(()=>{p&&i.setError(O,{type:T.i$.NOTIFICATION})},[p,i]);let m=D(i)||!!i.formState.errors[O]||o.isPending;return(0,n.jsx)(P.RV,{...i,children:(0,n.jsxs)("form",{noValidate:!0,children:[(0,n.jsxs)(Z.j,{children:["ÐдÑавÑÑвÑйÑе!",(0,n.jsx)("br",{}),"ÐаÑ
одиÑе в\xa0магазин ÐÐФа"]}),(0,n.jsxs)(R.AuthTypes,{children:[(0,n.jsx)(R.EmailType,{"data-qa":"caption__login-with-email",children:"Ðо\xa0поÑÑе и\xa0паÑолÑ"}),(0,n.jsxs)(R.VkType,{onClick:()=>{t(window.open(`${B.VKONTAKTE}`,"_blank")),r.auth.loginWithVk()},"data-qa":"link__login-with-vk",children:["ЧеÑез\xa0",(0,n.jsx)(R.VkIcon,{})]})]}),(0,n.jsx)(R.Input,{type:"email",name:O,placeholder:"ÐоÑÑа",label:"ÐоÑÑа",needResetButton:!0,autoFocus:!0,isLoading:o.isPending,registerProps:{required:!0,validate:e=>k.C.test(e)||"ÐевеÑнÑй ÑоÑÐ¼Ð°Ñ Ð¿Ð¾ÑÑÑ",onChange:()=>{i.clearErrors(O),o.error.deleteErrorByName(O)}}}),(0,n.jsx)(M.ZP,{type:"submit",disabled:m,onClick:i.handleSubmit(e=>u(e)),"data-qa":"button__login-continue",children:"ÐÑодолжиÑÑ"})]})})}),R={};R.Input=(0,a.ZP)(A.ZP).withConfig({componentId:"sc-4f9ab3de-0"})(["margin-bottom:20px;"]),R.AuthTypes=a.ZP.div.withConfig({componentId:"sc-4f9ab3de-1"})(["display:flex;margin-top:30px;margin-bottom:20px;",";"],(0,s.Vy)("TYPE_60")),R.EmailType=a.ZP.span.withConfig({componentId:"sc-4f9ab3de-2"})(["margin-right:30px;padding-bottom:4px;user-select:none;border-bottom:2px solid ",";"],(0,s.JL)("color.commonBlack")),R.VkType=a.ZP.a.withConfig({componentId:"sc-4f9ab3de-3"})(["display:flex;user-select:none;color:#1d1d1d;
1cursor:pointer;&:hover{color:#1d1d1d;}"]),R.VkIcon=(0,a.ZP)(S.Z).withConfig({componentId:"sc-4f9ab3de-4"})(["display:inline-block;width:24px;height:24px;"]);let F=(e,t)=>k.u.test(e)&&e.length>=t,z=e=>{let{className:t=""}=e;return(0,n.jsxs)(V.Text,{className:t,"data-qa":"element__accept-user-agreement",children:["ÐÐ°Ð¶Ð¸Ð¼Ð°Ñ \xabÐойÑи\xbb, вÑ\xa0подÑвеÑждаеÑе ознакомление"," и\xa0ÑоглаÑие Ñ\xa0ÑÑловиÑми ",(0,n.jsx)("a",{href:c().content.userAgreement.pageLink,target:"_blank",rel:"nofollow noopener noreferrer",children:"ÐолÑзоваÑелÑÑкого ÑоглаÑениÑ,"})," а\xa0Ñакже подÑвеÑждаеÑе, ÑÑо вам иÑполнилоÑÑ 18\xa0леÑ."]})};z.propTypes={className:i().string};let V={};V.Text=a.ZP.div.withConfig({componentId:"sc-2f819b2e-0"})(["",";"],(0,s.Vy)("TYPE_30"));var U=o(75934);let W=e=>{let{className:t="",onClick:o=()=>{},children:r=null}=e;return(0,n.jsxs)(Y.Wrapper,{className:t,onClick:o,"data-qa":"button__back",children:[(0,n.jsx)(Y.ArrowIconBackground,{children:(0,n.jsx)(U.ZP,{$color:U.zE.BLACK,$size:U.ZG.X16,$isHoverable:!0,$hoverOpacity:1})}),r]})};W.propTypes={className:i().string,onClick:i().func,children:i().node};let Y={};Y.Wrapper=a.ZP.div.withConfig({componentId:"sc-786103f2-0"})(["display:inline-flex;align-items:center;cursor:pointer;",";"],(0,s.Vy)("TYPE_60")),Y.ArrowIconBackground=a.ZP.span.withConfig({componentId:"sc-786103f2-1"})(["display:block;width:26px;height:26px;margin-right:12px;background-color:#fff;border-radius:50%;overflow:hidden;"]);let G=(e,t,o)=>{let[n,r]=(0,N.useState)(!0);(0,N.useEffect)(()=>{o&&t.setError(e,{type:T.i$.NOTIFICATION})},[o,t.setError]);let[i,a]=(0,N.useState)(f.tx.INFO),[s,l]=(0,N.useState)(!1);return(0,N.useEffect)(()=>{t.formState.errors[e]&&t.formState.isSubmitted&&!s&&(r(!0),a(f.tx.ERROR)),!t.formState.errors[e]&&t.formState.isSubmitted&&(a(f.tx.INFO),l(!0))}
1,[t.formState,s]),{isShownPasswordNotification:n,passwordNotificationType:i,closeNotification:()=>{r(!1),i===f.tx.ERROR&&l(!0)}}};var $=o(7551);let J=e=>{let{className:t="",controlName:o,isFormSubmitting:r=!1,onChangeCustom:i=()=>{}}=e;return(0,n.jsxs)($.Z,{className:t,name:o,disabled:r,onChangeCustom:i,children:["ÐÐ°Ñ ÑоглаÑие на\xa0обÑабоÑÐºÑ Ð¼Ð¾Ð¸Ñ
пеÑÑоналÑнÑÑ
даннÑÑ
Ð´Ð»Ñ Ñелей и\xa0на\xa0ÑÑловиÑÑ
, изложеннÑÑ
в\xa0",(0,n.jsx)("a",{href:c().content.privacyPolicy.pageLink,target:"_blank",rel:"nofollow noopener noreferrer",children:"ÐолиÑике конÑиденÑиалÑноÑÑи."})]})};J.propTypes={className:i().string,controlName:i().string.isRequired,isFormSubmitting:i().bool,onChangeCustom:i().func};let q="password",Q=(0,g.Pi)(()=>{let{authStore:e}=(0,h.Z)(),t=(0,d.G)(),o=(0,P.cI)({defaultValues:{agreement:e.status.isAgreementAccepted}}),r=o=>{e.status.isEmailBelongsToUser?e.passwordSet(o):e.registerWithPassword(o),t.auth.newPasswordSubmit()};(0,N.useEffect)(()=>{t.auth.newPasswordFormOpen()},[]);let[i,a]=(0,N.useState)(!1);(0,N.useEffect)(()=>{let e=o.watch(e=>{a(F(e[q],6))});return()=>e.unsubscribe()},[o,o.watch]),(0,N.useEffect)(()=>{t.auth.newPasswordInput(i)},[i]);let s=e.error.hasErrorByName(q),{isShownPasswordNotification:l,passwordNotificationType:c,closeNotification:u}=G(q,o,s),p=D(o)||!!o.formState.errors[q]||!!o.formState.errors.agreement||e.isPending;return(0,n.jsxs)(P.RV,{...o,children:[!!l&&(0,n.jsx)(X.NotificationV2,{position:L.ABSOLUTE,type:c,onClose:u,children:"ÐаÑÐ¾Ð»Ñ Ð´Ð¾Ð»Ð¶ÐµÐ½ ÑодеÑжаÑÑ Ð·Ð°Ð³Ð»Ð°Ð²Ð½Ñе, ÑÑÑоÑнÑе бÑÐºÐ²Ñ Ð¸\xa0Ñ
оÑÑ\xa0Ð±Ñ Ð¾Ð´Ð½Ñ ÑиÑÑÑ."}),(0,n.jsxs)("form",{noValidate:!0,children:[(0,n.jsx)(X.BackButton,{onClick:e.goToFirstState,children:"Ðазад"}),(0,n.jsx)(Z.j,{children:"ÐÑидÑмайÑе паÑолÑ"}),(0,n.jsx)(X.Input,{type:"password",name:q,spellCheck:"false",placeholder:"ÐаÑолÑ",label:"ÐаÑÐ¾Ð»Ñ Ð¼Ð¸Ð½Ð¸Ð¼Ñм 6 Ñимволов",autoFocus:!0,isLoading:e.isPending,registerProps:{required:!0,minLength:6,pattern:k.u,onChange:()=>{e.error.clearError(),o.clearErrors(q)}}}),!e.status.isAgreementAccepted&&(0,n.jsx)(X.CheckboxAuthAgreement,{controlName:"agreement",isFormSubmitting:o.formState.isSubmitting,onChangeCustom:()=>{t.auth.agreementAction()}}),(0,n.jsx)(M.ZP,{type:"submit",disabled:p,onClick:o.handleSubmit(e=>r(e)),children:"ÐойÑи"}),(0,n.jsx)(X.AcceptUserAgreement,{})]})]})}),X={};X.NotificationV2=(0,a.ZP)(I).withConfig({componentId:"sc-ecfc820a-0"})(["top:11px;right:0;left:0;min-height:56px;"]),X.Input=(0,a.ZP)(A.ZP).withConfig({componentId:"sc-ecfc820a-1"})(["margin-bottom:20px;"]),X.BackButton=(0,a.ZP)(W).withConfig({componentId:"sc-ecfc820a-2"})(["margin-top:30px;margin-bottom:18px;"]),X.CheckboxAuthAgreement=(0,a.ZP)(J).withConfig({componentId:"sc-ecfc820a-3"})(["margin-bottom:22px;",";"],(0,s.Vy)("TYPE_30")),X.AcceptUserAgreement=(0,a.ZP)(z).withConfig({componentId:"sc-ecfc820a-4"})(["margin-top:15px;"]);let H=e=>{let{className:t="",children:o,onClick:r,...i}=e;return(0,n.jsx)(K.PseudoLink,{className:t,onClick:r,"data-qa":"link__pseudo-link",...i,children:o})};H.propTypes={className:i().string,children:i().node.isRequired,onClick:i().func.isRequired};let K={};K.PseudoLink=a.ZP.span.withConfig({componentId:"sc-5c944fef-0"})(["color:",";",";cursor:pointer;&:hover{color:",";}"],(0,s.JL)("color.headerLinksFontHover"),(0,s.Vy)("TYPE_60"),(0,s.JL)("color.commonBlackText"));let ee="password",et=(0,g.Pi)(()=>{let{authStore:e}=(0,h.Z)(),t=(0,d.G)(),o=(0,P.cI)();(0,N.useEffect)(()=>{t.auth.passwordFromOpen()},[t.auth]);let r=o=>{let{password:n}=o;e.loginWithPassword(n,e=>{t.auth.passwordSubmit(e)})},i=e.error.hasErrorByName(ee);(0,N.useEffect)(()=>{i&&o.setError(ee,{type:T.i$.NOTIFICATION})},[i,o]);let a=D(o)||!!o.formState.errors[ee]||e.isPending;return(0,n.jsxs)(P.RV,{...o,children:[(0,n.jsxs)("form",{noValidate:!0,children:[(0,n.jsx)(eo.BackButton,{onClick:()=>{e.goToFirstState(),t.auth.passwordBackClick()},children:"Ðазад"}),(0,n.jsx)(Z.j,{children:"ÐведиÑе паÑолÑ"}
1),(0,n.jsx)(eo.Input,{type:"password",name:ee,spellCheck:"false",placeholder:"ÐаÑолÑ",label:"ÐаÑолÑ",autoFocus:!0,isLoading:e.isPending,registerProps:{required:!0,onChange:()=>{o.clearErrors(ee),e.error.deleteErrorByName(ee)}}}),(0,n.jsx)(M.ZP,{type:"submit",disabled:a,onClick:o.handleSubmit(e=>r(e)),children:"ÐойÑи"})]}),(0,n.jsx)(eo.PseudoLink,{onClick:()=>{e.error.clearError(),e.status.setPasswordResetState(),t.auth.passwordResetClick()},children:"Ðе Ð¿Ð¾Ð¼Ð½Ñ Ð¿Ð°ÑолÑ"})]})}),eo={};eo.Input=(0,a.ZP)(A.ZP).withConfig({componentId:"sc-3aed1582-0"})(["margin-bottom:20px;"]),eo.BackButton=(0,a.ZP)(W).withConfig({componentId:"sc-3aed1582-1"})(["margin-top:30px;margin-bottom:18px;"]),eo.PseudoLink=(0,a.ZP)(H).withConfig({componentId:"sc-3aed1582-2"})(["display:inline-flex;margin-top:30px;"]);var en=o(57333),er=o(49460),ei=o(54477),ea=o(4477),es=o(99242);let el=e=>{let{className:t="",timeout:o=30,sendAgainFunction:r,isLink:i=!1,isAutoStart:a=!1}=e,{value:{minutes:s,seconds:l},start:c,isActive:d}=(0,ei.N)(o,a),u=()=>{r(),c()};return(0,n.jsx)(ec.SendAgainWrapper,{className:t,children:d?(0,n.jsxs)(ec.SimpleWarning,{children:["ÐиÑÑмо оÑпÑавлено. Ðовое пиÑÑмо",(0,n.jsx)("br",{}),"можно оÑпÑавиÑÑ ÑеÑез"," ",`${s}:${l}`,"\xa0ÑекÑнд"]}):i?(0,n.jsx)(H,{onClick:u,"data-qa":"link__send-again",children:"ÐÑпÑавиÑÑ ÐµÑÑ Ð¾Ð´Ð½Ð¾ пиÑÑмо"}):(0,n.jsx)(ea.ZP,{onClick:u,"data-qa":"link__send-again",children:"ÐÑпÑавиÑÑ ÐµÑÑ Ð¾Ð´Ð½Ð¾ пиÑÑмо"})})};el.propTypes={className:i().string,timeout:i().number,sendAgainFunction:i().func.isRequired,isLink:i().bool,isAutoStart:i().bool};let ec={};ec.SendAgainWrapper=a.ZP.div.withConfig({componentId:"sc-a93a81c-0"})(["width:300px;margin-top:10px;margin-bottom:20px;"]),ec.SimpleWarning=(0,a.ZP)(es.ZP).withConfig({componentId:"sc-a93a81c-1"})(["&&{gap:0;}"]);let ed={};ed.Input=(0,a.ZP)(A.ZP).withConfig({componentId:"sc-ddd07137-0"})(["margin-bottom:20px;padding-top:5px;padding-right:15px;",";text-align:center;&::placeholder{",";}"],(0,s.Vy)("TYPE_110"),(0,s.Vy)("TYPE_110"));let eu="code",ep=/[0-9]{4}/,em=(0,g.Pi)(()=>{let{authStore:e}=(0,h.Z)(),t=(0,d.G)(),o=(0,P.cI)(),r=e.error.hasErrorByName(eu);(0,N.useEffect)(()=>{r&&o.setError(eu,{type:T.i$.NOTIFICATION})},[r,o]);let i=!!o.formState.errors[eu]||e.isPending,a=(0,N.useCallback)(o=>{i||e.confirmVerificationByCode(o,e=>{t.auth.confirmVerificationByCode(e)})},[e,i,t.auth]);(0,N.useEffect)(()=>{let e=o.watch((e,t)=>{let{name:o}=t,n=e[o];4===n.toString().length&&a(n)});return()=>e.unsubscribe()},[o,o.watch,a]);let s=e.status.isEmailConfirmed?null:5e3;return(0,er.Yz)(()=>{e.checkEmail(!1)},s),(0,N.useEffect)(()=>{e.status.hasPassword||e.sendVerificationCode()},[e,e.status]),(0,N.useEffect)(()=>{t.auth.confirmEmailFormOpen()},[t.auth]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(Z.j,{"data-qa":"caption__email-confirm",children:e.status.hasPassword?(0,n.jsx)(n.Fragment,{children:"ÐведиÑе код из\xa0пиÑÑма, ÑÑÐ¾Ð±Ñ Ð·Ð°Ð²ÐµÑÑиÑÑ ÑегиÑÑÑаÑиÑ"}):"ÐÑ Ð²Ð°Ñ Ñзнали! ÐодÑвеÑдиÑе поÑÑÑ, пожалÑйÑÑа"}),(0,n.jsxs)(ed.Text,{"data-qa":"caption__email-confirm-code-sent",children:["ÐÑпÑавили код подÑвеÑждениÑâ",!!e.status.hasPassword&&(0,n.jsx)(n.Fragment,{children:"и\xa0ÑÑÑлкÑ\xa0"}),(0,n.jsxs)(ed.Email,{children:["наâ",e.userEmail,"."]}),!e.status.hasPassword&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("br",{}),"ÐведиÑе код из\xa0пиÑÑма, ÑÑÐ¾Ð±Ñ Ð·Ð°Ð²ÐµÑÑиÑÑ ÑегиÑÑÑаÑиÑ."]})]}),(0,n.jsx)(P.RV,{...o,children:(0,n.jsx)("form",{noValidate:!0,onSubmit:o.handleSubmit(a),children:(0,n.jsx)(P.Qr,{name:eu,rules:{required:!0,pattern:ep},render:t=>{let{field:{onChange:r}}=t;return(0,n.jsx)(en.h3,{customInput:ed.Input,format:"####",mask:"_",onValueChange:t=>{r(t.value),o.clearErrors(eu),e.error.deleteErrorByName(eu)},isMask:!0,name:eu,type:"text",placeholder:"XXXX",autoFocus:!0,isLoading:e.isPending})}})})}),(0,n.jsx)(ed.SendAgain,{sendAgainFunction:()=>{e.status.hasPassword?e.remindVerificationCode():e.sendVerificationCode(),t.auth.sendCode()},isLink:!0}),(0,n.jsx)(H,{onClick:()=>{e.changeEmail(),t.auth.changeEmailClick()},"data-qa":"link__email-change",children:"ÐзмениÑÑ Ð¿Ð¾ÑÑÑ"})]})});ed.Text=a.ZP.div.withConfig({componentId:"sc-ddd07137-1"})(["margin-top:20px;margin-bottom:20px;",";"],(0,s.Vy)("TYPE_60")),ed.Email=a.ZP.span.withConfig({componentId:"sc-ddd07137-2"})(["word-break:break-word;"]),ed.SendAgain=(0,a.ZP)(el).withConfig({componentId:"sc-ddd07137-3"})(["margin-top:20px;margin-bottom:15px;"]);let eg="email",eh=(0,g.Pi)(()=>{let{authStore:e}=(0,h.Z)(),t=(0,d.G)(),o=(0,P.cI)({defaultValues:{[eg]:e.email}}),r=o=>{e.setEmail(o.email),e.passwordReset(o.email),t.auth.passwordResetSubmit()},i=e.error.hasErrorByName(eg);(0,N.useEffect)(()=>{i&&o.setError(eg,{type:T.i$.NOTIFICATION})},[i,o]);let a=D(o)||!!o.formState.errors[eg]||e.isPending;return(0,n.jsx)(P.RV,{...o,children:(0,n.jsxs)("form",{noValidate:!0,children:[(0,n.jsx)(ef.BackButton,{onClick:()=>{e.goToFirstState(),t.auth.passwordResetBackClick()},children:"Я\xa0вÑпомнил паÑолÑ"}),(0,n.jsx)(Z.j,{children:"ÐоÑÑÑановление паÑолÑ"}),(0,n.jsx)(ef.Description,{children:"Ðа\xa0ÑказаннÑй адÑÐµÑ Ð¾ÑпÑавим пиÑÑмо Ñо\xa0ÑÑÑлкой Ð´Ð»Ñ ÑбÑоÑа паÑолÑ"}),(0,n.jsx)(ef.Input,{type:"email",name:eg,placeholder:"ÐоÑÑа",label:"ÐоÑÑа",autoFocus:!0,needResetButton:!0,isLoading:e.isPending,registerProps:{required:!0,validate:e=>k.C.test(e)||"ÐевеÑнÑй ÑоÑÐ¼Ð°Ñ Ð¿Ð¾ÑÑÑ",onChange:()=>{o.clearErrors(eg),e.error.deleteErrorByName(eg)}}}),(0,n.jsx)(M.ZP,{type:"submit",disabled:a,onClick:o.handleSubmit(e=>r(e)),children:"ÐÑодолжиÑÑ"})]})})}),ef={};ef.BackButton=(0,a.ZP)(W).withConfig({componentId:"sc-88031130-0"})(["margin-bottom:12px;
1"]),ef.Description=a.ZP.div.withConfig({componentId:"sc-88031130-1"})(["margin-bottom:20px;",";"],(0,s.Vy)("TYPE_60")),ef.Input=(0,a.ZP)(A.ZP).withConfig({componentId:"sc-88031130-2"})(["margin-bottom:20px;"]);let ex=(0,g.Pi)(()=>{let e=(0,h.Z)(),{authStore:t,userStore:o}=e,r=(0,d.G)(),i=o.isAuthorized?null:5e3;return(0,er.Yz)(()=>{e.reloadPageDynamicData()},i),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(eb.BackButton,{onClick:t.goToFirstState,children:"Ðазад"}),(0,n.jsx)(Z.j,{children:"ÐÑпÑавили вам пиÑÑмо Ñо\xa0ÑÑÑлкой Ð´Ð»Ñ Ð²Ð¾ÑÑÑÐ°Ð½Ð¾Ð²Ð»ÐµÐ½Ð¸Ñ Ð¿Ð°ÑолÑ"}),(0,n.jsxs)(eb.Text,{children:["ÐожалÑйÑÑа, пÑовеÑÑÑе поÑÑÑ Ð¸\xa0пеÑейдиÑе по\xa0ÑÑÑлке из\xa0пиÑÑма в\xa0ÑеÑение 24\xa0ÑаÑов, ÑÑÐ¾Ð±Ñ Ð²Ð¾ÑÑÑановиÑÑ Ð¿Ð°ÑолÑ.",(0,n.jsx)("br",{}),"ÐиÑÑмо Ñо\xa0ÑÑÑлкой оÑпÑавлено на\xa0адÑеÑâ",t.email]}),(0,n.jsx)(el,{sendAgainFunction:()=>{t.passwordReset(t.email),r.auth.sendLetterAgain()}}),(0,n.jsx)(H,{onClick:()=>t.status.setPasswordResetState(),"data-qa":"link__email-change",children:"ÐзмениÑÑ Ð¿Ð¾ÑÑÑ"})]})}),eb={};eb.BackButton=(0,a.ZP)(W).withConfig({componentId:"sc-de93fe93-0"})(["margin-bottom:12px;"]),eb.Text=a.ZP.div.withConfig({componentId:"sc-de93fe93-1"})(["",";"],(0,s.Vy)("TYPE_60"));var ej=o(60985);let eL="password",eI=(0,g.Pi)(()=>{let{authStore:e}=(0,h.Z)(),t=(0,d.G)(),o=(0,P.cI)(),[r,i]=(0,N.useState)(!1);(0,N.useEffect)(()=>{let e=o.watch(e=>{i(F(e[eL],6))});return()=>e.unsubscribe()},[o,o.watch]),(0,N.useEffect)(()=>{t.auth.passwordChangeInput(r)},[r,t.auth]);let a=t=>{let{password:o}=t,n=ej._S.fromLocation();e.passwordResetConfirm({token:n.searchParams.get("token"),hash:n.searchParams.get("hash"),password:o})},s=e.error.hasErrorByName(eL),{isShownPasswordNotification:l,passwordNotificationType:c,closeNotification:u}=G(eL,o,s),p=D(o)||!!o.formState.errors[eL]||e.isPending;return(0,n.jsxs)(P.RV,{...o,children:[!!l&&(0,n.jsx)(ey.NotificationV2,{position:L.ABSOLUTE,type:c,onClose:u,children:"ÐаÑÐ¾Ð»Ñ Ð´Ð¾Ð»Ð¶ÐµÐ½ ÑодеÑжаÑÑ Ð·Ð°Ð³Ð»Ð°Ð²Ð½Ñе, ÑÑÑоÑнÑе бÑÐºÐ²Ñ Ð¸\xa0Ñ
оÑÑ\xa0Ð±Ñ Ð¾Ð´Ð½Ñ ÑиÑÑÑ."}),(0,n.jsxs)("form",{noValidate:!0,children:[(0,n.jsx)(ey.BackButton,{onClick:e.goToFirstState,children:"Ðазад"}),(0,n.jsx)(Z.j,{children:"ÐÑидÑмайÑе паÑолÑ"}),(0,n.jsx)(ey.Input,{type:"password",name:eL,spellCheck:"false",placeholder:"ÐаÑолÑ",label:"ÐаÑÐ¾Ð»Ñ Ð¼Ð¸Ð½Ð¸Ð¼Ñм 6 Ñимволов",autoFocus:!0,isLoading:e.isPending,registerProps:{required:!0,minLength:6,pattern:k.u,onChange:()=>{e.error.clearError(),o.clearErrors(eL)}}}),(0,n.jsx)(M.ZP,{type:"submit",disabled:p,onClick:o.handleSubmit(e=>a(e)),children:"ÐойÑи"})]})]})}),ey={};ey.NotificationV2=(0,a.ZP)(I).withConfig({componentId:"sc-ad5b1c52-0"})(["top:11px;right:0;left:0;min-height:56px;"]),ey.Input=(0,a.ZP)(A.ZP).withConfig({componentId:"sc-ad5b1c52-1"})(["margin-bottom:20px;"]),ey.BackButton=(0,a.ZP)(W).withConfig({componentId:"sc-ad5b1c52-2"})(["margin-top:30px;margin-bottom:18px;"]);let ew=(0,g.Pi)(e=>{let{title:t,sendAgain:o,changeEmail:r}=e,{authStore:i}=(0,h.Z)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(Z.j,{children:t}),(0,n.jsxs)(eC.Text,{children:["Ð\xa0ÑелÑÑ
безопаÑноÑÑи мÑ\xa0ÑниÑÑожаем ÑÑаÑÑе ÑÑÑлки.",(0,n.jsx)("br",{}),"ÐÑпÑавÑÑе еÑе одно пиÑÑмо на\xa0адÑеÑâ",i.email,", ÑÑÐ¾Ð±Ñ Ð·Ð°Ð´Ð°ÑÑ Ð¿Ð°ÑолÑ."]}),(0,n.jsx)(el,{sendAgainFunction:o}),(0,n.jsx)(H,{onClick:r,"data-qa":"link__email-change",children:"ÐзмениÑÑ Ð¿Ð¾ÑÑÑ"})]})});ew.propTypes={title:i().node.isRequired,sendAgain:i().func.isRequired,changeEmail:i().func.isRequired};let eC={};eC.Text=a.ZP.div.withConfig({componentId:"sc-5d39b8e2-0"})(["margin-top:20px;margin-bottom:40px;",";"],(0,s.Vy)("TYPE_60"));let eE=(0,g.Pi)(()=>{let{authStore:e}=(0,h.Z)();return(0,n.jsx)(ew,{sendAgain:()=>{e.passwordReset(e.email)},title:(0,n.jsx)(n.Fragment,{children:"СÑÑлка на\xa0воÑÑÑановление паÑÐ¾Ð»Ñ Ð½Ðµ\xa0ÑабоÑаеÑ, иÑÑек ÑÑок дейÑÑвиÑ"}),changeEmail:e.status.setPasswordResetState})}),eN=(0,g.Pi)(()=>{let{authStore:e}=(0,h.Z)();return(0,n.jsx)(ew,{sendAgain:()=>{e.sendVerification(e.email)},title:(0,n.jsx)(n.Fragment,{children:"СÑÑлка не\xa0ÑабоÑаеÑ"}),changeEmail:e.changeEmail})});var eP=o(88577),eT=o(40186),ek=o(81429),ev=o.n(ek);let eA=()=>{window.location.replace(c().mainPage.url)},eM=()=>{window.location.reload()},eS=(0,g.Pi)(()=>{let{userStore:e,authStore:t}=(0,h.Z)(),o=t.error.hasAnyError(),r=t.error.hasErrorByCode(411);return o&&!r?(0,n.jsxs)(eZ.EmailConfirmed,{children:[(0,n.jsx)(eZ.BrokenCatImage,{src:ev(),alt:"NOT OK"}
1),(0,n.jsx)(eZ.Title,{children:"ЧÑо-Ñо поÑло не Ñак"}),(0,n.jsx)(M.ZP,{onClick:eM,children:"ÐбновиÑÑ ÑÑÑаниÑÑ"})]}):(0,n.jsxs)(eZ.EmailConfirmed,{children:[(0,n.jsx)(eZ.CatImage,{alt:"OK"}),(0,n.jsx)(eZ.Title,{children:e.isEmailConfirmed?(0,n.jsx)(n.Fragment,{children:"ÐÑ\xa0авÑоÑизованÑ, вÑÑ\xa0в\xa0поÑÑдке"}):(0,n.jsx)(n.Fragment,{children:"СпаÑибо, ваÑа\xa0поÑÑа подÑвеÑждена"})}),!!e.isEmailConfirmed&&(0,n.jsx)(M.ZP,{onClick:eA,children:"СкоÑей за книгами!"})]})}),eZ={};eZ.EmailConfirmed=a.ZP.div.withConfig({componentId:"sc-69b56897-0"})(["display:flex;flex-direction:column;align-items:center;"]),eZ.Logo=(0,a.ZP)(eP.ZP).withConfig({componentId:"sc-69b56897-1"})(["width:98px;height:24px;"]),eZ.CatImage=(0,a.ZP)(eT.Z).withConfig({componentId:"sc-69b56897-2"})(["width:100%;margin:116px 0 15px;"]),eZ.BrokenCatImage=a.ZP.img.withConfig({componentId:"sc-69b56897-3"})(["width:100%;margin:25px 0 15px;"]),eZ.Title=a.ZP.div.withConfig({componentId:"sc-69b56897-4"})(["margin-bottom:15px;text-align:center;",";"],(0,s.Vy)("TYPE_95"));var eD=o(36787),eO=o(16676),eB=o(44719);let e_=c().accountPage.pageLink,eR=(0,g.Pi)(()=>{let{authStore:e}=(0,h.Z)();return(0,N.useEffect)(()=>{if(e.isPage){let e=(0,eO.Tf)({text:"ÐÑ Ð°Ð²ÑоÑизованÑ, вÑÑ Ð² поÑÑдке"});(0,eD.E)({defaultUrl:e_,addParams:{[f.fM]:JSON.stringify(e)}})}else e.finishLogin({isOpenPopup:!e.status.isEmailConfirmed},{notificationText:"ÐÑ Ð°Ð²ÑоÑизованÑ, вÑÑ Ð² поÑÑдке"})},[e]),(0,n.jsx)(eF.Finish,{children:(0,n.jsx)(eB.Z,{})})}),eF={};eF.Finish=a.ZP.div.withConfig({componentId:"sc-866054b9-0"})(["display:flex;justify-content:center;margin-top:50%;"]);let ez="email",eV=(0,g.Pi)(()=>{let{authStore:e}=(0,h.Z)(),t=(0,d.G)(),o=(0,P.cI)({defaultValues:{agreement:!1}});(0,N.useEffect)(()=>{t.auth.vkLoginFormOpen()},[t.auth]);let r=o=>{let n={email:o.email,isAgreementAccepted:o.agreement};e.acceptAgreement(n,T.$o.VK),t.auth.vkLoginSubmit()},i=e.error.hasErrorByName(ez);(0,N.useEffect)(()=>{o.setFocus(ez)},[o,o.setFocus]),(0,N.useEffect)(()=>{i&&o.setError(ez,{type:T.i$.NOTIFICATION})},[i,o.setError]);let a=!!o.formState.errors[ez]||!!o.formState.errors.agreement||e.fetchingStatus===T.dW.PENDING;return(0,n.jsx)(P.RV,{...o,children:(0,n.jsxs)("form",{noValidate:!0,children:[(0,n.jsx)(eU.BackButton,{onClick:()=>{e.goToFirstState(),t.auth.vkLoginBackClick()},children:"Ðазад"}),(0,n.jsx)(Z.j,{"data-qa":"caption__accept-agreement",children:""!==e.email?"СоглаÑие на обÑабоÑÐºÑ Ð¿ÐµÑÑоналÑнÑÑ
даннÑÑ
":"ÐÑÑ-Ñаки нÑжна ваÑа поÑÑа"}),(0,n.jsx)(eU.Input,{type:"email",name:ez,placeholder:"ÐоÑÑа",label:"ÐоÑÑа",disabled:""!==e.email,needResetButton:!0,isLoading:e.fetchingStatus===T.dW.PENDING,registerProps:{required:!0,validate:e=>k.C.test(e)||"ÐевеÑнÑй ÑоÑÐ¼Ð°Ñ Ð¿Ð¾ÑÑÑ",onChange:()=>{o.clearErrors(ez),e.error.deleteErrorByName(ez)},value:e.email}}),(0,n.jsx)(eU.CheckboxAuthAgreement,{controlName:"agreement",isFormSubmitting:o.formState.isSubmitting}),(0,n.jsx)(M.ZP,{type:"submit",disabled:a,onClick:o.handleSubmit(e=>r(e)),children:"ÐойÑи"}),(0,n.jsx)(eU.AcceptUserAgreement,{})]})})}),eU={};eU.Input=(0,a.ZP)(A.ZP).withConfig({componentId:"sc-1ed846e5-0"})(["margin-bottom:20px;"]),eU.BackButton=(0,a.ZP)(W).withConfig({componentId:"sc-1ed846e5-1"})(["margin-top:30px;margin-bottom:18px;"]),eU.CheckboxAuthAgreement=(0,a.ZP)(J).withConfig({componentId:"sc-1ed846e5-2"})(["margin-bottom:22px;",";"],(0,s.Vy)("TYPE_30")),eU.AcceptUserAgreement=(0,a.ZP)(z).withConfig({componentId:"sc-1ed846e5-3"})(["margin-top:15px;"]);let eW={startForm:()=>(0,n.jsx)(_,{}),newPassword:()=>(0,n.jsx)(Q,{}),password:()=>(0,n.jsx)(et,{}),confirmEmail:()=>(0,n.jsx)(em,{}),passwordReset:()=>(0,n.jsx)(eh,{}),sentPasswordResetEmail:()=>(0,n.jsx)(ex,{}),passwordChange:()=>(0,n.jsx)(eI,{}),passwordLinkIsExpired:()=>(0,n.jsx)(eE,{}),emailLinkIsExpired:()=>(0,n.jsx)(eN,{}),emailConfirmed:()=>(0,n.jsx)(eS,{}),finish:()=>(0,n.jsx)(eR,{}),socialLogin:()=>(0,n.jsx)(eV,{})},eY=(0,g.Pi)(()=>{let{authStore:e}=(0,h.Z)(),t=e.status.currentState;return(0,n.jsx)("div",{"data-qa":`screen__${t}`,children:eW[t]()})}),eG=e=>{let{className:t=""}=e;return(0,n.jsxs)(e$.AuthContent,{className:t,"data-qa":"content__auth-popup",children:[(0,n.jsx)(C,{}),(0,n.jsx)(e$.ViewsWrapper,{children:(0,n.jsx)(eY,{})}),(0,n.jsx)(e$.Footer,{})]})};
1eG.propTypes={className:i().string};let e$={};e$.AuthContent=a.ZP.div.withConfig({componentId:"sc-1235c6c1-0"})(["position:relative;display:flex;height:100%;flex-direction:column;padding-top:45px;"]),e$.ViewsWrapper=a.ZP.div.withConfig({componentId:"sc-1235c6c1-1"})(["margin-bottom:20px;flex:1;"]),e$.Footer=(0,a.ZP)(p).withConfig({componentId:"sc-1235c6c1-2"})(["margin-top:auto;@media (min-width:","){margin-top:60px;}"],(0,s.JL)("breakpoint.sm"));var eJ=eG},36714:function(e,t,o){"use strict";o.d(t,{C:function(){return n},u:function(){return r}});let n=/^(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\u0001-\u0008\u000B\u000C\u000E-\u001F\u0021\u0023-\u005B\u005D-\u007F]|\\[\u0001-\u0009\u000B\u000C\u000E-\u007F])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\u0001-\u0008\u000B\u000C\u000E-\u001F\u0021-\u005A\u0053-\u007F]|\\[\u0001-\u0009\u000B\u000C\u000E-\u007F])+)\])$/i,r=/(?=.*\d)(?=.*[a-z])(?=.*[A-Z])/},37433:function(e){e.exports="/_next/static/images/cat-on-lifebuoy-1c607b6d.svg"},81429:function(e){e.exports="/_next/static/images/broken-cat-3b64eee5.svg"}}]);
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.