1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="8f49b164-8f6e-4a47-b4b4-ae7e011d5bf9",e._sentryDebugIdIdentifier="sentry-dbid-8f49b164-8f6e-4a47-b4b4-ae7e011d5bf9")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4168],{18552:function(e,n,t){var r=t(10852)(t(55639),"DataView");e.exports=r},57071:function(e,n,t){var r=t(10852)(t(55639),"Map");e.exports=r},53818:function(e,n,t){var r=t(10852)(t(55639),"Promise");e.exports=r},58525:function(e,n,t){var r=t(10852)(t(55639),"Set");e.exports=r},70577:function(e,n,t){var r=t(10852)(t(55639),"WeakMap");e.exports=r},9454:function(e,n,t){var r=t(44239),o=t(37005);e.exports=function(e){return o(e)&&"[object Arguments]"==r(e)}},28458:function(e,n,t){var r=t(23560),o=t(15346),a=t(13218),s=t(80346),i=/^\[object .+?Constructor\]$/,u=Object.prototype,c=Function.prototype.toString,l=u.hasOwnProperty,d=RegExp("^"+c.call(l).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!a(e)||o(e))&&(r(e)?d:i).test(s(e))}},38749:function(e,n,t){var r=t(44239),o=t(41780),a=t(37005),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return a(e)&&o(e.length)&&!!s[r(e)]}},280:function(e,n,t){var r=t(27360),o=t(86916),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!r(e))return o(e);var n=[];for(var t in Object(e))a.call(e,t)&&"constructor"!=t&&n.push(t);return n}},7518:function(e){e.exports=function(e){return function(n){return e(n)}}},14429:function(e,n,t){var r=t(55639)["__core-js_shared__"];e.exports=r},10852:function(e,n,t){var r=t(28458),o=t(47801);e.exports=function(e,n){var t=o(e,n);return r(t)?t:void 0}},64160:function(e,n,t){var r=t(18552),o=t(57071),a=t(53818),s=t(58525),i=t(70577),u=t(44239),c=t(80346),l="[object Map]",d="[object Promise]",f="[object Set]",p="[object WeakMap]",b="[object DataView]",h=c(r),v=c(o),g=c(a),m=c(s),x=c(i),y=u;(r&&y(new r(new ArrayBuffer(1)))!=b||o&&y(new o)!=l||a&&y(a.resolve())!=d||s&&y(new s)!=f||i&&y(new i)!=p)&&(y=function(e){var n=u(e),t="[object Object]"==n?e.constructor:void 0,r=t?c(t):"";if(r)switch(r){case h:return b;case v:return l;case g:return d;case m:return f;case x:return p}return n}),e.exports=y},47801:function(e){e.exports=function(e,n){return null==e?void 0:e[n]}},15346:function(e,n,t){var r,o=t(14429),a=(r=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(e){return!!a&&a in e}},27360:function(e){var n=Object.prototype;e.exports=function(e){var t=e&&e.constructor,r="function"==typeof t&&t.prototype||n;return e===r}},86916:function(e,n,t){var r=t(5569)(Object.keys,Object);e.exports=r},31167:function(e,n,t){e=t.nmd(e);var r=t(31957),o=n&&!n.nodeType&&n,a=o&&e&&!e.nodeType&&e,s=a&&a.exports===o&&r.process,i=function(){try{var e=a&&a.require&&a.require("util").types;if(e)return e;return s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=i},5569:function(e){e.exports=function(e,n){return function(t){return e(n(t))}}},80346:function(e){var n=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},35694:function(e,n,t){var r=t(9454),o=t(37005),a=Object.prototype,s=a.hasOwnProperty,i=a.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return o(e)&&s.call(e,"callee")&&!i.call(e,"callee")};e.exports=u},1469:function(e){var n=Array.isArray;e.exports=n},98612:function(e,n,t){var r=t(23560),o=t(41780);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},44144:function(e,n,t){e=t.nmd(e);var r=t(55639),o=t(95062),a=n&&!n.nodeType&&n,s=a&&e&&!e.nodeType&&e,i=s&&s.exports===a?r.Buffer:void 0,u=i?i.isBuffer:void 0;e.exports=u||o},23560:function(e,n,t){var r=t(44239),o=t(13218);e.exports=function(e){if(!o(e))return!1;var n=r(e);return"[object Function]"==n||"[object GeneratorFunction]"==n||"[object AsyncFunction]"==n||"[object Proxy]"==n}},41780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},36719:function(e,n,t){var r=t(38749),o=t(7518),a=t(31167),s=a&&a.isTypedArray,i=s?o(s):r;e.exports=i},95062:function(e){e.exports=function(){return!1}},94498:function(e,n,t){"use strict";t.d(n,{Z:function(){return N}});var r=t(59499),o=t(94184),a=t.n(o),s=t(53756),i=t(5152),u=t.n(i),c=t(67294),l=t(76627),d=t.n(l),f=t(57333),p=t(25934),b=t(28626),h=t(14595),v=t(43167),g=t.n(v),m=t(85893),x=u()(function(){return t.e(487).then(t.bind(t,70487))},{ssr:!1,loadableGenerated:{webpack:function(){return[70487]}}}),y=u()(function(){return t.e(4607).then(t.bind(t,34607))},{ssr:!1,loadableGenerated:{webpack:function(){return[34607]}}}),j=u()(function(){return t.e(3962).then(t.bind(t,3962))},{ssr:!1,loadableGenerated:{webpack:function(){return[3962]}}}),k=u()(function(){return t.e(8017).then(t.bind(t,38017))},{ssr:!1,loadableGenerated:{webpack:function(){return[38017]}}}),w=u()(function(){return t.e(1197).then(t.bind(t,71197))},{ssr:!1,loadableGenerated:{webpack:function(){return[71197]}}}),C=u()(function(){return t.e(1014).then(t.bind(t,16677))},{ssr:!1,loadableGenerated:{webpack:function(){return[16677]}}});function N(e){var n=e.autofocus,t=void 0!==n&&n,o=e.className,i=e.errorClassName,u=e.controls,l=void 0===u?[]:u,v=e.controlType,N=void 0===v?"input":v,_=e.dateValue,S=e.disabled,M=e.error,F=e.inputType,A=void 0===F?"text":F,L=e.autocomplete,T=void 0===L?"":L,Z=e.label,B=e.maxLength,I=e.name,O=e.onBlur,P=void 0===O?function(){}:O,D=e.onChange,E=void 0===D?function(){}:D,q=e.placeholder,G=e.rows,U=void 0===G?5:G,V=e.silentError,R=e.suggestionsSource,$=void 0===R?null:R,H=e.switchValue,Q=void 0===H?null:H,Y=e.value,z=void 0===Y?"":Y,X=e.mask,J=e.alwaysShowMask,W=e.maskChar,K=e.onSuggestionSelect,ee=void 0===K?function(){}:K,en=e.onPaste,et=void 0===en?function(){}:en,er=e.autosuggestNoMatchMessage,eo=void 0===er?"":er,ea=e.numericSuffix,es=void 0===ea?"":ea,ei=e.sliderControlClassName,eu=void 0===ei?"":ei,ec=e.ref,el=e.onFocus,ed=e.suggestionListClassName,ef=void 0===ed?"":ed,ep=e.autosuggestNoMatchContent,eb=e.externalFocusControl,eh=e.isLoading,ev=void 0!==eh&&eh,eg=e.changeFormType,em=e.onSuggestionClear,ex=e.isNeedFallbackForAddress,ey=void 0!==ex&&ex,ej=e.htmlId,ek=(0,s.$G)("common").t,ew=(0,c.useState)(ej||(0,p.Z)())[0];return(0,m.jsxs)("div",{className:a()(g().host,void 0===o?"":o,(0,r.Z)({},g().invalid,M)),children:[Z&&(0,m.jsx)("label",{htmlFor:ew,children:"string"==typeof Z?(0,b.Z)(Z):Z}),function(){switch(N){case"input":return(0,m.jsx)(j,{autocomplete:T||"off",autofocus:t,disabled:S,id:ew,maxLength:B,name:I,onBlur:P,onChange:E,onFocus:el,onPaste:et,placeholder:q,ref:ec,inputType:A,value:z});case"textarea":return(0,m.jsx)(k,{autofocus:t,disabled:S,id:ew,maxLength:B,name:I,onBlur:P,onChange:E,placeholder:q,rows:U,value:z});case"autosuggest":return(0,m.jsx)(w,{autofocus:t,disabled:S,maxLength:B,name:I,onChange:E,onFocus:el,placeholder:q,inputType:A,value:z,id:ew,externalFocusControl:eb,autosuggestNoMatchContent:ep,autosuggestNoMatchMessage:eo,suggestionListClassName:ef,changeFormType:eg,onSuggestionClear:em,isLoading:ev,isNeedFallbackForAddress:ey,suggestionsSource:$,onSuggestionSelect:ee,onBlur:P});case"slider":return(0,m.jsx)(h.Z,{className:g().sliderField,controls:l,onChange:function(e){return E(e)},selected:Q,sliderClassName:eu});case"date":return(0,m.jsx)(y,{autoFocus:t,calendarIcon:(0,m.jsx)(x,{className:g().calendarIcon}),className:g().dateField,clearIcon:null,dayPlaceholder:ek("fields.DD"),disableCalendar:S,disabled:S,format:"dd.MM.yyyy",locale:"ru-RU",maxDate:new Date,monthPlaceholder:ek("fields.MM"),onChange:E,openCalendarOnFocus:!1,showLeadingZeros:!0,value:_,yearPlaceholder:ek("fields.YYYY")});case"phone":return(0,m.jsx)(C,{autofocus:t,controlType:N,alwaysShowMask:J,disabled:S,maskChar:W,onChange:E,onPaste:et,placeholder:q,value:z,id:ew,name:I});case"mask":return(0,m.jsx)(d(),{alwaysShowMask:null!=J&&J,autoFocus:t,disabled:S,mask:null!=X?X:"",maskChar:null!=W?W:null,name:I,onChange:E,placeholder:q,type:null!=A?A:"text",value:z});case"numeric":return(0,m.jsx)(f.Z,{allowLeadingZeros:!0,disabled:S,displayType:"input",isAllowed:function(e){var n=e.floatValue;return(null!=n?n:0)<999999},name:I,onChange:E,placeholder:q,suffix:es,thousandSeparator:" ",type:"tel",value:z});default:return null}}(),!V&&M&&(0,m.jsx)("span",{className:a()(g().error,void 0===i?"":i),children:M})]})}},44794:function(e,n,t){"use strict";t.d(n,{Z:function(){return r.Z}});var r=t(94498)},16421:function(e,n,t){"use strict";t.d(n,{Z:function(){return p}});
1var r=t(59499),o=t(94184),a=t.n(o),s=t(67294),i=t(25934),u=t(92451),c=t(86172),l=t(52257),d=t.n(l),f=t(85893);function p(e){var n=e.controls,t=e.selected,o=e.onChange,l=e.className,p=e.sliderClassName,b=(e.disabled,e.activeClassName),h=e.activeDeliveryTypeInner,v=void 0===h?"":h,g=(0,s.useContext)(u.F).isDesktop,m=(0,i.Z)(),x=(0,s.useState)(null),y=x[0],j=x[1],k="AppSlideControl_".concat(m,"_").concat(null==t?void 0:t.value),w=(0,s.useMemo)(function(){return n.findIndex(function(e){return e.value===(null==t?void 0:t.value)})},[n,null==t?void 0:t.value]),C=(0,s.useMemo)(function(){return 0===w?2:0},[2,w]),N=(0,s.useMemo)(function(){return w===n.length-1?2:0},[n.length,2,w]),_=(0,s.useMemo)(function(){return 100*w},[w]);(0,s.useEffect)(function(){var e=document.querySelector("#".concat(k));e instanceof HTMLButtonElement&&j(e)},[k]);var S=n.map(function(e){var n,s=t&&t.value===e.value;return(0,f.jsxs)("button",{className:a()(d().button,(n={},(0,r.Z)(n,d().activeButton,s),(0,r.Z)(n,v,s),n)),disabled:null==e?void 0:e.disabled,id:"AppSlideControl_".concat(m,"_").concat(e.value),onClick:function(n){j(n.currentTarget),o(e)},type:"button",children:[(0,f.jsx)("label",{children:e.name}),!(0,c.c)(e.badge)&&(0,f.jsx)("span",{className:a()(d().badge,"slideBadge"),children:e.badge})]},e.value)});return(0,f.jsxs)("div",{className:a()(d().container,void 0===l?"":l,(0,r.Z)({},d().desktopContainer,g)),children:[(0,f.jsx)("div",{className:a()(d().host,void 0===p?"":p,(0,r.Z)({},d().desktopHost,g)),children:S}),t&&(0,f.jsx)("div",{className:a()(void 0===b?"":b,(0,r.Z)({},d().active,!!y)),style:{width:"".concat(100/n.length,"%"),transform:"translateX(calc(".concat(_,"% + ").concat(C,"px - ").concat(N,"px))")}})]})}},14595:function(e,n,t){"use strict";t.d(n,{Z:function(){return r.Z}});var r=t(16421)},6172:function(e,n,t){"use strict";t.d(n,{Z:function(){return w}});var r=t(61428),o=t.n(r),a=t(67294),s=t(25675),i=t.n(s),u=t(11163),c=t(41664),l=t.n(c),d=t(5152),f=t.n(d),p=t(94184),b=t.n(p),h=t(94229),v=t.n(h),g=t(57347),m=t(61090),x=t(92451),y=t(85893),j=f()(function(){return t.e(5315).then(t.bind(t,45315))},{ssr:!1,loadableGenerated:{webpack:function(){return[45315]}}});function k(e){var n=e.rightSlot,t=e.disableBackLink,r=e.disableLogoLink,o=(0,u.useRouter)(),s=(0,a.useContext)(x.F),c=s.isDesktop,d=s.isMobile,f=g.t.logoUrl,p=g.t.mobileLogoUrl,h=g.t.logoMobileSize,k=g.t.logoDesktopSize;g.t.logoutIcon;var w=c?k():h(),C=(0,y.jsx)(i(),{alt:"Logo",height:w.height,priority:!0,src:d?p:f(),unoptimized:!0,width:w.width});return(0,y.jsxs)("header",{className:v().host,children:[!(void 0!==t&&t)&&(0,y.jsx)("div",{className:b()(v().back,"ripple"),onClick:function(){return o.back()},children:(0,y.jsx)(j,{direction:"left"})}),void 0!==r&&r?(0,y.jsx)("div",{className:v().logo,children:C}):(0,y.jsx)(l(),{href:"/",legacyBehavior:!0,shallow:!0,children:(0,y.jsx)("div",{className:v().logo,onClick:function(){return m.yD.navigationToMainPage()},children:C})}),n&&(0,y.jsx)("div",{className:v().rightSlot,children:n})]})}function w(e){var n=e.children,t=e.rightSlot,r=e.disableBackLink,a=e.disableLogoLink,s=g.t.bgImage;return(0,y.jsxs)("div",{className:o().host,style:s?{backgroundColor:"transparent"}:void 0,children:[(0,y.jsx)(k,{disableBackLink:void 0!==r&&r,disableLogoLink:void 0!==a&&a,rightSlot:t}),n]})}},27286:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return N},default:function(){return _}});var r=t(50029),o=t(87794),a=t.n(o),s=t(59433),i=t(53756),u=t(9008),c=t.n(u),l=t(11163),d=t(67294),f=t(7226),p=t(2696),b=t(51208),h=t.n(b),v=t(30536),g=t(44794),m=t(57347),x=t(6172),y=t(61090),j=t(38586),k=t(8752),w=t(13251),C=t(85893),N=!0;function _(){var e,n,t=(0,l.useRouter)(),o=t.query.phone,u=m.t.name,b=m.t.isShowAllCheckBoxes,N=(0,i.$G)("common").t,_=w.s.object().shape({name:w.s.string().required(N("fields.requiredField"))}),S=(0,f.TL)(),M=(0,d.useState)(!1),F=M[0],A=M[1],L=(e=(0,r.Z)(a().mark(function e(){var n;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,y.H3.loadUser();case 2:if(n=e.sent,!b){e.next=9;break}return e.next=6,y.H3.updateUser({offerConsent:!0,personalDataConsent:!0}).then(function(){S((0,p.av)(n)),k.E.removeItem("smsAndEmail")});case 6:e.sent,e.next=10;break;case 9:S((0,p.av)(n));case 10:return e.abrupt("return",n);case 11:case"end":return e.stop()}},e)})),function(){return e.apply(this,arguments)}),T=(n=(0,r.Z)(a().mark(function e(n){var r;return a().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,A(!0),e.next=4,y.H3.updateUserName(n.name);case 4:return e.next=6,L();case 6:return e.next=8,y.H3.loadDeliveryAddresses();case 8:y.yD.authPageNameEnter(),t.query.backUrl?t.replace({pathname:t.query.backUrl,query:{promocode:null!==(r=t.query.promocode)&&void 0!==r?r:null}},void 0):(t.replace("/"),y.yD.navigationToMainPage()),e.next=15;break;case 12:e.prev=12,e.t0=e.catch(0),A(!1);case 15:case"end":return e.stop()}},e,null,[[0,12]])})),function(e){return n.apply(this,arguments)});return(0,C.jsxs)(x.Z,{disableBackLink:!0,disableLogoLink:!0,children:[(0,C.jsx)(c(),{children:(0,C.jsxs)("title",{children:[N("enterName.retypeCode")," | ",u()]})}),(0,C.jsxs)("main",{className:h().host,children:[(0,C.jsx)("h2",{children:N("enterName.whatYourName")}),(0,C.jsx)("h2",{children:(0,j.CN)(o)}),(0,C.jsx)(s.J9,{initialValues:{name:""},onSubmit:function(e){T(e)},validationSchema:_,children:function(e){var n=e.values,t=e.errors,r=e.handleChange,o=e.handleBlur,a=e.handleSubmit,s=e.submitCount;return(0,C.jsxs)("form",{className:h().form,onSubmit:a,children:[(0,C.jsx)(g.Z,{autofocus:!0,className:h().field,disabled:F,error:s>0&&t.name,errorClassName:h().error,name:"name",onBlur:o,onChange:function(e){return r(e)},value:n.name}),(0,C.jsx)(v.J,{className:h().submitBtn,disabled:F,primary:!0,type:"submit",children:N("fields.continue")})]})}})]})]})}}
1,77907:function(e,n,t){"use strict";t.d(n,{Jr:function(){return a},Wl:function(){return o},xn:function(){return r}});var r=/^(\+7|7|8)?[\s\-]?\(?[6,7,9][0-9]{2}\)?[\s\-]?[0-9]{3}[\s\-]?[0-9]{2}[\s\-]?[0-9]{2}$/,o=/[^0-9a-zA-Z]+/g,a=/[^0-9]+/g},13251:function(e,n,t){"use strict";t.d(n,{s:function(){return s},y:function(){return i}});var r=t(7258),o=t(38586),a=t(77907),s=r,i=s.string().required(" ").transform(function(e){return(0,o.Tv)(e)}).matches(a.xn,"невеÑнÑй ÑоÑмаÑ")},58447:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/enter-name",function(){return t(27286)}])},61428:function(e){e.exports={host:"_4Q3mQX"}},51208:function(e){e.exports={host:"_5aaorQ",field:"_4OTqjm",submitBtn:"_6LyI9v",error:"_1VJ8zR"}},43167:function(e){e.exports={host:"_9dSpfl",phoneField:"fPdMQs",suggestionsControl:"dKjqts",dateField:"ei7QM2",error:"_6EKzFg",invalid:"eLGPr8",sliderField:"_9bN7Ud",suggestions:"eVg7kR",suggestion:"_3ZHrwg",activeSuggestion:"fYKYZb",calendarIcon:"_5rXuOO",autosuggestNoMatchMessage:"a5C2Qg",clear:"_153aPl",loader:"dwjX77",suggestionsOpenedInput:"fJftTN",lastItem:"eO2R0D"}},52257:function(e){e.exports={container:"ab4COA",host:"_5iAVxo",button:"aqjaVx",activeButton:"_53bjSS",active:"_7A7qgI",desktopContainer:"_2BGM_P",badge:"Gt2MVC"}},94229:function(e){e.exports={host:"_7r3Ztw",back:"_2QgtTf",logo:"_61TbWf",rightSlot:"b7gL_B"}}},function(e){e.O(0,[2488,9433,7258,9774,2888,179],function(){return e(e.s=58447)}),_N_E=e.O()}]);
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.