PageSourceSearch

https://frescoasia.ru/_next/static/chunks/1641.0a1712315290876c.js

js frescoasia.ru collected 2026-10-02 01:11:26 UTC 12,122 bytes, 1 lines download raw bytes

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]="b50e7a7f-c25c-4b14-9ae8-de39cf5c85e4",e._sentryDebugIdIdentifier="sentry-dbid-b50e7a7f-c25c-4b14-9ae8-de39cf5c85e4")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1641,5315],{68573:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return N}});var a=t(50029),o=t(87794),s=t.n(o),r=t(94184),l=t.n(r),i=t(59433),c=t(9008),u=t.n(c),d=t(11163),f=t(41248),h=t(30536),m=t(44794),v=t(45315),g=t(64616),p=t(57347),x=t(38586),b=t(87329),C=t.n(b),j=t(85893);function N(e){var n,t=e.authComplete,o=e.authContent,r=e.countdown,c=e.handleSubmitForm,b=e.isLoading,N=e.phone,w=e.resendCode,y=e.validationSchema,k=p.t.name,_=(0,d.useRouter)(),S=(0,f.v9)(function(e){return e.location}).currentCity,F=(null==S?void 0:S.name)==="Минск"||(null==S?void 0:S.name)==="Гродно"?"+$1 $2 $3 $4 $5":"+$1 $2 $3 $4$5";return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(u(),{children:(0,j.jsxs)("title",{children:["Подтвердите код | ",k()]})}),(0,j.jsxs)("div",{className:l()(C().host,"animate__animated animate__fadeIn"),children:[(0,j.jsxs)("header",{className:"animate__animated animate__fadeIn",children:[(0,j.jsx)("div",{className:l()(C().back,"ripple"),onClick:function(){return _.back()},children:(0,j.jsx)(v.default,{direction:"left"})}),(0,j.jsx)("h1",{children:"профиль"}),(0,j.jsx)("span",{})]}),(0,j.jsx)(i.J9,{initialValues:{code:""},onSubmit:(n=(0,a.Z)(s().mark(function e(n,t){var a;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.setErrors,e.next=3,c(n,a);case 3:case"end":return e.stop()}},e)})),function(e,t){return n.apply(this,arguments)}),validationSchema:y,children:function(e){var n=e.values,a=e.errors,s=e.handleChange,l=e.handleBlur,i=e.handleSubmit,c=e.setErrors,u=e.setFieldValue;return(0,j.jsxs)("form",{className:C().form,onSubmit:i,children:[(0,j.jsx)(m.Z,{autocomplete:"one-time-code",autofocus:!0,className:C().field,disabled:b,error:!t&&a.code,errorClassName:C().error,inputType:"tel",label:"4 последние цифры",maxLength:4,name:"code",onBlur:l,onChange:function(e){s(e),4===e.target.value.length&&i()},onPaste:function(e){u("code",e.clipboardData.getData("Text")),setTimeout(function(){i()},0)},placeholder:"Введите код",value:n.code}),(0,j.jsx)("div",{className:C().divider}),(0,j.jsxs)("div",{className:C().info,children:[(0,j.jsxs)("p",{children:[o.hint,(0,j.jsx)("br",{})," ",(0,j.jsx)("span",{children:(0,x.CN)(N,F)})]}),r>0?(0,j.jsxs)("p",{className:C().countdown,children:["Осталось времени ",(0,j.jsx)("br",{})," ",(0,j.jsxs)("span",{children:["00:",r/1e3<10?"0":"",r/1e3]})]}):(0,j.jsx)(h.J,{className:C().resendCode,disabled:r>0,onClick:function(){w(c),u("code","")},type:"button",children:o.retryText})]})]})}}),(0,j.jsx)(g.Z,{funnelVariant:"page",step:"code"})]})]})}},94498:function(e,n,t){"use strict";t.d(n,{Z:function(){return k}});var a=t(59499),o=t(94184),s=t.n(o),r=t(53756),l=t(5152),i=t.n(l),c=t(67294),u=t(76627),d=t.n(u),f=t(57333),h=t(25934),m=t(28626),v=t(14595),g=t(43167),p=t.n(g),x=t(85893),b=i()(function(){return t.e(487).then(t.bind(t,70487))},{ssr:!1,loadableGenerated:{webpack:function(){return[70487]}}}),C=i()(function(){return t.e(4607).then(t.bind(t,34607))},{ssr:!1,loadableGenerated:{webpack:function(){return[34607]}}}),j=i()(function(){return t.e(3962).then(t.bind(t,3962))},{ssr:!1,loadableGenerated:{webpack:function(){return[3962]}}}),N=i()(function(){return t.e(8017).then(t.bind(t,38017))},{ssr:!1,loadableGenerated:{webpack:function(){return[38017]}}}),w=i()(function(){return t.e(1197).then(t.bind(t,71197))},{ssr:!1,loadableGenerated:{webpack:function(){return[71197]}}}),y=i()(function(){return t.e(1014).then(t.bind(t,16677))},{ssr:!1,loadableGenerated:{webpack:function(){return[16677]}}});function k(e){var n=e.autofocus,t=void 0!==n&&n,o=e.className,l=e.errorClassName,i=e.controls,u=void 0===i?[]:i,g=e.controlType,k=void 0===g?"input":g,_=e.dateValue,S=e.disabled,F=e.error,M=e.inputType,Z=void 0===M?"text":M,L=e.autocomplete,T=void 0===L?"":L,I=e.label,D=e.maxLength,B=e.name,P=e.onBlur,G=void 0===P?function(){}
1:P,V=e.onChange,$=void 0===V?function(){}:V,E=e.placeholder,A=e.rows,H=void 0===A?5:A,O=e.silentError,R=e.suggestionsSource,Y=void 0===R?null:R,q=e.switchValue,J=void 0===q?null:q,Q=e.value,X=void 0===Q?"":Q,K=e.mask,U=e.alwaysShowMask,W=e.maskChar,z=e.onSuggestionSelect,ee=void 0===z?function(){}:z,en=e.onPaste,et=void 0===en?function(){}:en,ea=e.autosuggestNoMatchMessage,eo=void 0===ea?"":ea,es=e.numericSuffix,er=void 0===es?"":es,el=e.sliderControlClassName,ei=void 0===el?"":el,ec=e.ref,eu=e.onFocus,ed=e.suggestionListClassName,ef=void 0===ed?"":ed,eh=e.autosuggestNoMatchContent,em=e.externalFocusControl,ev=e.isLoading,eg=void 0!==ev&&ev,ep=e.changeFormType,ex=e.onSuggestionClear,eb=e.isNeedFallbackForAddress,eC=void 0!==eb&&eb,ej=e.htmlId,eN=(0,r.$G)("common").t,ew=(0,c.useState)(ej||(0,h.Z)())[0];return(0,x.jsxs)("div",{className:s()(p().host,void 0===o?"":o,(0,a.Z)({},p().invalid,F)),children:[I&&(0,x.jsx)("label",{htmlFor:ew,children:"string"==typeof I?(0,m.Z)(I):I}),function(){switch(k){case"input":return(0,x.jsx)(j,{autocomplete:T||"off",autofocus:t,disabled:S,id:ew,maxLength:D,name:B,onBlur:G,onChange:$,onFocus:eu,onPaste:et,placeholder:E,ref:ec,inputType:Z,value:X});case"textarea":return(0,x.jsx)(N,{autofocus:t,disabled:S,id:ew,maxLength:D,name:B,onBlur:G,onChange:$,placeholder:E,rows:H,value:X});case"autosuggest":return(0,x.jsx)(w,{autofocus:t,disabled:S,maxLength:D,name:B,onChange:$,onFocus:eu,placeholder:E,inputType:Z,value:X,id:ew,externalFocusControl:em,autosuggestNoMatchContent:eh,autosuggestNoMatchMessage:eo,suggestionListClassName:ef,changeFormType:ep,onSuggestionClear:ex,isLoading:eg,isNeedFallbackForAddress:eC,suggestionsSource:Y,onSuggestionSelect:ee,onBlur:G});case"slider":return(0,x.jsx)(v.Z,{className:p().sliderField,controls:u,onChange:function(e){return $(e)},selected:J,sliderClassName:ei});case"date":return(0,x.jsx)(C,{autoFocus:t,calendarIcon:(0,x.jsx)(b,{className:p().calendarIcon}),className:p().dateField,clearIcon:null,dayPlaceholder:eN("fields.DD"),disableCalendar:S,disabled:S,format:"dd.MM.yyyy",locale:"ru-RU",maxDate:new Date,monthPlaceholder:eN("fields.MM"),onChange:$,openCalendarOnFocus:!1,showLeadingZeros:!0,value:_,yearPlaceholder:eN("fields.YYYY")});case"phone":return(0,x.jsx)(y,{autofocus:t,controlType:k,alwaysShowMask:U,disabled:S,maskChar:W,onChange:$,onPaste:et,placeholder:E,value:X,id:ew,name:B});case"mask":return(0,x.jsx)(d(),{alwaysShowMask:null!=U&&U,autoFocus:t,disabled:S,mask:null!=K?K:"",maskChar:null!=W?W:null,name:B,onChange:$,placeholder:E,type:null!=Z?Z:"text",value:X});case"numeric":return(0,x.jsx)(f.Z,{allowLeadingZeros:!0,disabled:S,displayType:"input",isAllowed:function(e){var n=e.floatValue;return(null!=n?n:0)<999999},name:B,onChange:$,placeholder:E,suffix:er,thousandSeparator:" ",type:"tel",value:X});default:return null}}(),!O&&F&&(0,x.jsx)("span",{className:s()(p().error,void 0===l?"":l),children:F})]})}},44794:function(e,n,t){"use strict";t.d(n,{Z:function(){return a.Z}});var a=t(94498)},16421:function(e,n,t){"use strict";t.d(n,{Z:function(){return h}});var a=t(59499),o=t(94184),s=t.n(o),r=t(67294),l=t(25934),i=t(92451),c=t(86172),u=t(52257),d=t.n(u),f=t(85893);function h(e){var n=e.controls,t=e.selected,o=e.onChange,u=e.className,h=e.sliderClassName,m=(e.disabled,e.activeClassName),v=e.activeDeliveryTypeInner,g=void 0===v?"":v,p=(0,r.useContext)(i.F).isDesktop,x=(0,l.Z)(),b=(0,r.useState)(null),C=b[0],j=b[1],N="AppSlideControl_".concat(x,"_").concat(null==t?void 0:t.value),w=(0,r.useMemo)(function(){return n.findIndex(function(e){return e.value===(null==t?void 0:t.value)})},[n,null==t?void 0:t.value]),y=(0,r.useMemo)(function(){return 0===w?2:0},[2,w]),k=(0,r.useMemo)(function(){return w===n.length-1?2:0},[n.length,2,w]),_=(0,r.useMemo)(function(){return 100*w},[w]);(0,r.useEffect)(function(){var e=document.querySelector("#".concat(N));e instanceof HTMLButtonElement&&j(e)},[N]);var S=n.map(function(e){var n,r=t&&t.value===e.value;return(0,f.jsxs)("button",{className:s()(d().button,(n={},(0,a.Z)(n,d().activeButton,r),(0,a.Z)(n,g,r),n)),disabled:null==e?void 0:e.disabled,id:"AppSlideControl_".concat(x,"_").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:s()(d().badge,"slideBadge"),children:e.badge})]},e.value)});return(0,f.jsxs)("div",{className:s()(d().container,void 0===u?"":u,(0,a.Z)({},d().desktopContainer,p)),children:[(0,f.jsx)("div",{className:s()(d().host,void 0===h?"":h,(0,a.Z)({},d().desktopHost,p)),children:S}),t&&(0,f.jsx)("div",{className:s()(void 0===m?"":m,(0,a.Z)({},d().active,!!C)),style:{width:"".concat(100/n.length,"%"),transform:"translateX(calc(".concat(_,"% + ").concat(y,"px - ").concat(k,"px))")}})]})}},14595:function(e,n,t){"use strict";t.d(n,{Z:function(){return a.Z}});var a=t(16421)},45315:function(e,n,t){"use strict";t.r(n),t.d(n,{default:function(){return o}});var a=t(85893);function o(e){var n=e.className,t=void 0===n?"":n,o=e.direction,s=void 0===o?"bottom":o,r=e.filled,l=e.color,
1i=e.onClick,c=void 0===i?function(){}:i,u=function(){switch(s){case"bottom":default:return 0;case"top":return 180;case"left":return 90;case"right":return 270}};return r?(0,a.jsxs)("svg",{className:t,fill:"none",height:"34",onClick:c,style:{transform:"rotate(".concat(u()+90,"deg)")},viewBox:"0 0 34 34",width:"34",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("circle",{cx:"17",cy:"17",fill:"#373535",r:"17"}),(0,a.jsx)("path",{d:"M14.759 9.8418L20.9409 16.9997L14.759 24.1576",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"3"})]}):(0,a.jsx)("svg",{className:t,fill:"none",height:"12",onClick:c,style:{transform:"rotate(".concat(u(),"deg)")},viewBox:"0 0 22 12",width:"22",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{clipRule:"evenodd",d:"M0.714355 1.56603C0.714355 2.38603 1.10818 2.66297 1.70878 3.26357C2.70124 4.25601 9.63268 11.2476 10.0182 11.5479C10.4131 11.8555 10.5232 11.9321 11.0804 11.9321C11.7336 11.9321 12.2093 11.3456 12.6173 10.9377L16.4543 7.10062C16.8155 6.73948 20.6678 2.92828 20.9016 2.62823C21.2091 2.23336 21.2858 2.12322 21.2858 1.56603C21.2858 0.860336 20.6254 0.199951 19.9197 0.199951C19.1999 0.199951 18.9089 0.507583 18.4231 0.993487C17.6949 1.72162 11.2327 8.24058 11.0001 8.39638C10.7752 8.24579 4.32059 1.73698 3.59717 1.01357C3.0899 0.506309 2.81413 0.199951 2.08042 0.199951C1.37474 0.199951 0.714355 0.860336 0.714355 1.56603Z",fill:l||"black",fillRule:"evenodd"})})}},64616:function(e,n,t){"use strict";t.d(n,{Z:function(){return u}});var a=t(94184),o=t.n(a),s=t(91729),r=t(61090),l=t(76496),i=t.n(l),c=t(85893);function u(e){var n=e.funnelVariant,t=e.step,a=e.className,l=(0,s.H)();return l?(0,c.jsxs)("div",{className:o()(i().host,a),"data-testid":"authHelpPhone",children:[l.text," ",(0,c.jsx)("a",{className:i().phone,href:l.telHref,onClick:function(){return r.yD.authFunnelHelpPhoneClicked({funnel_variant:n,step:t})},children:l.phone})]}):null}},87329:function(e){e.exports={host:"a3dGpO",form:"xCJUi1",field:"bNyxEa",divider:"_7irocB",scaleDivider:"d6HNNL",info:"_91Vadi",resendCode:"aLRQTs"}},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"}},76496:function(e){e.exports={host:"_1XFnaG",phone:"_8W7mPn"}}}]);

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.