PageSourceSearch

https://uremont.com/_next/static/chunks/pages/join/autopark/restore/confirm-a1e61d6536307916.js

js uremont.com collected 2026-10-01 15:20:34 UTC 9,350 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9964],{1748:(e,t,i)=>{"use strict";i.d(t,{JL:()=>s,iD:()=>a,PO:()=>o});var n=i(88417),r=i(63980);function a({phone:e,password:t}){let i=new FormData;return i.append("email_or_phone",e.replace(/\D/g,"")),i.append("password",t),n.Y.post("autopark/profile/auth/",i).then((0,r.mi)()).catch((0,r.hi)())}function o(e){let t=new FormData;return t.append("email_or_phone",e.replace(/\D/g,"")),n.Y.post("autopark/profile/reset-password/",t).then((0,r.mi)()).catch((0,r.hi)())}function s({code:e,resetToken:t}){let i=new FormData;return i.append("token",t),i.append("code",e),n.Y.post("autopark/profile/check-reset-code/",i).then((0,r.mi)()).catch((0,r.hi)())}},5268:e=>{e.exports={main:"Auth_main__DLjob",mainLight:"Auth_mainLight__emStT",mainSignup:"Auth_mainSignup__vD8GJ"}},8583:(e,t,i)=>{"use strict";i.d(t,{n:()=>a});let n="https://api-frontend.uremont.com",r="https://api-frontend.uremont.com/v2",a={getDescParts:`${n}/common/bid-desc-part/get-desc-parts/`,searchCity:`${n}/map/city/search-items/`,getBidList1:`${n}/common/default/bid-list/`,getMarkList:`${n}/car/mark/get-list/`,getModelList:`${n}/car/model/get-list/`,getRole:`${n}/user/user/info/`,getProfileCustomer:`${r}/customer/profile/view/`,getProfileService:`${r}/service/profile/view/`,apiv2Url:r,getCountryId:`${r}/common/default/get-country-id/`,getCountriesList:`${r}/map/country/get-list/`,getPopularCities:`${r}/map/city/get-popular-list/`,getBidList:`${r}/common/default/bid-list/`,getRecommendedServices:`${r}/homepage/recommended-service-list/`,getPublicationList:`${r}/homepage/publication-list/`,getPublicationsCategoryList:`${r}/publication/category/index/`,getCustomerLastReviewList:`${r}/homepage/customer-last-review-list/`,getTopWorkTypes:`${r}/homepage/top-work-types/`,getSeoPageData:`${r}/common/default/get-seo-page-data/`,getCarCatalogPageBySlug:`${r}/common/seo/get-car-catalog-page-by-slug/`,getServicePageBySlug:`${r}/common/seo/get-service-page-by-slug/`,getPublicationsArticleList:`${r}/publication/article/index/`}},9008:(e,t,i)=>{"use strict";i.d(t,{J6:()=>n.J6,NY:()=>n.NY,Xh:()=>n.Xh,fJ:()=>n.fJ,it:()=>n.it,lN:()=>n.lN,vk:()=>n.vk});var n=i(74890)},9789:(e,t,i)=>{"use strict";i.d(t,{AG:()=>c,g7:()=>l});var n=i(6029),r=i(95669),a=i.n(r),o=i(7893);let s=i(33601).env.NEXT_PUBLIC_DEFAULT_OG_IMAGE||(o.YD?`${o.YD}/uremont/images/landing-cars-crave_2.png`:"https://uremont.com/images/uremont_logo.png"),c={uremont:s,insurance:o.YD?`${o.YD}/insurance/images/heroKasko/bg-desktop.png`:s,service:s,corpark:o.YD?`${o.YD}/corpark/images/hero/auto2.png`:s,report:o.YD?`${o.YD}/history/images/background-slogan.png`:s},l=({title:e,description:t,canonical:i,ogImage:r,ogImageAlt:c="UREMONT",ogType:l="website",twitterCard:d="summary_large_image",withHreflang:p=!0,noindex:m=!1})=>{let u=((e,t=o.NB||"https://uremont.com")=>{let i=e?.trim();if(!i)return s;if(/^https?:\/\//i.test(i))return i;let n=t.replace(/\/$/,""),r=i.startsWith("/")?i:`/${i}`;return`${n}${r}`})(r)||s;return(0,n.jsxs)(a(),{children:[(0,n.jsx)("title",{children:e}),(0,n.jsx)("meta",{name:"description",content:t}),m&&(0,n.jsx)("meta",{name:"robots",content:"noindex, follow"}),i&&(0,n.jsx)("link",{rel:"canonical",href:i}),i&&p&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("link",{rel:"alternate",href:i,hrefLang:"ru"}),(0,n.jsx)("link",{rel:"alternate",href:i,hrefLang:"x-default"})]}),(0,n.jsx)("meta",{property:"og:title",content:e}),(0,n.jsx)("meta",{property:"og:description",content:t}),(0,n.jsx)("meta",{property:"og:type",content:l}),i&&(0,n.jsx)("meta",{property:"og:url",content:i}),(0,n.jsx)("meta",{property:"og:image",content:u}),(0,n.jsx)("meta",{property:"og:image:alt",content:c}),(0,n.jsx)("meta",{name:"twitter:card",content:d}),(0,n.jsx)("meta",{name:"twitter:title",content:e}),(0,n.jsx)("meta",{name:"twitter:description",content:t}),(0,n.jsx)("meta",{name:"twitter:image",content:u})]})}},21620:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>M});var n=i(6029),r=i(58894),a=i(39539),o=i(9789),s=i(7893),c=i(5268),l=i.n(c);i(81348),i(42588);var d=i(70415),p=i(55729),m=i(41735),u=i(15439),g=i(95667),h=i(27724),f=i(82203),x=i.n(f),b=i(1748),k=i(58582),w=i(86057),y=i(63980),j=i(9008);function v(){let[e,t]=(0,p.useState)(""),[i,r]=(0,p.useState)(null),[a,o]=(0,p.useState)(!1),[s,c]=(0,p.useState)(!1),[l,d]=(0,p.useState)(0),{phone:m,token:g}=(0,j.J6)(),{time:h,isLaunched:f}=(0,w.L4)(l),x=(0,p.useCallback)(async()=>
1{if(g&&!(e.length<4)){o(!0),r(null);try{let{data:t}=await (0,b.JL)({code:e,resetToken:g}),{data:i}=await (0,b.iD)({phone:m,password:t.password});(0,w.Rz)(i.access_token,i.refresh_token),await (0,w.co)({accessToken:i.access_token,preferCustomerProfile:!0,skipAsyncHandlers:!0})}catch(e){r((0,y.LH)(e,"Неверный код")),o(!1)}}},[e,m,g]),v=(0,p.useCallback)(async()=>{if(m){c(!0),t("");try{let{data:e}=await (0,b.PO)(m);(0,j.Xh)(m,e.token),d(e.recovery_timeout||0)}catch(e){r((0,y.LH)(e,"Не удалось отправить код"))}finally{c(!1)}}},[m]);return(0,n.jsx)(_,{children:(0,n.jsxs)(C,{children:[(0,n.jsx)($,{href:"/join/autopark/restore",children:(0,n.jsx)(u.i3,{})}),(0,n.jsx)(L,{children:"Восстановить пароль"}),(0,n.jsx)(D,{children:"Введите код из СМС"}),(0,n.jsx)(P,{mask:"9 9 9 9",maskChar:"_",placeholder:"_ _ _ _",value:e,onMaskedValueChange:e=>t(e.replace(/\D/g,"").slice(0,4))}),i&&(0,n.jsx)(S,{children:i}),(0,n.jsxs)(I,{children:[(0,n.jsx)(k.$,{wide:!0,loading:a,disabled:e.length<4,onClick:x,children:"Войти"}),(0,n.jsxs)(N,{type:"button",disabled:f||s,onClick:v,children:["Отправить еще код ",f?`через ${h}`:""]})]})]})})}let _=m.default.div.withConfig({componentId:"sc-fad96562-0"})(["display:flex;justify-content:center;width:100%;padding:4rem 0;"]),C=m.default.div.withConfig({componentId:"sc-fad96562-1"})(["position:relative;width:100%;max-width:34.5rem;padding:2.5rem;border-radius:3rem;background:",";"],(0,h.MF)("backgroundSecondary")),$=(0,m.default)(x()).withConfig({componentId:"sc-fad96562-2"})(["position:absolute;top:2.875rem;left:2.5rem;"]),L=m.default.h1.withConfig({componentId:"sc-fad96562-3"})(["",";text-align:center;"],(0,h.XC)("headlineL")),D=m.default.p.withConfig({componentId:"sc-fad96562-4"})(["",";text-align:center;margin-bottom:1rem;"],(0,h.XC)("bodyTightRegular")),P=(0,m.default)(g.SS).withConfig({componentId:"sc-fad96562-5"})(["width:100%;margin-bottom:1rem;padding:.75rem 1.25rem;border-radius:.5rem;border:1px solid ",";height:3rem;"],(0,h.MF)("borderDefault")),S=m.default.p.withConfig({componentId:"sc-fad96562-6"})(["",";color:",";text-align:center;"],(0,h.XC)("text2"),(0,h.MF)("danger")),I=m.default.div.withConfig({componentId:"sc-fad96562-7"})(["display:flex;flex-direction:column;gap:1rem;"]),N=m.default.button.withConfig({componentId:"sc-fad96562-8"})(["height:3rem;border-radius:.5rem;border:1px solid ",";background:transparent;color:",";"],(0,h.MF)("brandPrimary"),(0,h.MF)("brandPrimary")),E=({ip:e,profile:t})=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.g7,{title:"Подтверждение восстановления пароля | UREMONT",description:"Введите код из СМС для восстановления пароля.",canonical:`${s.NB}/join/autopark/restore/confirm`,ogImage:o.AG.uremont}),(0,n.jsxs)("div",{className:"page-layout",children:[(0,n.jsx)(r.Y,{ip:e,profile:t,contacts:d.PL,authLink:"/join/login"}),(0,n.jsx)("main",{className:l().main,children:(0,n.jsx)(v,{})}),(0,n.jsx)(a.c,{uremontMainLink:s.NB,uremontLink:s.$7,autopartsLink:s.S$,serviceLink:s.hM,insuranceLink:s.HV,corparkLink:s.hu,uremontMapLink:s.SI})]})]});E.getInitialProps=async({req:e})=>({});let M=E},42588:(e,t,i)=>{"use strict";i(32),i(8583)},58582:(e,t,i)=>{"use strict";i.d(t,{$:()=>c});var n=i(6029),r=i(55729),a=i(27724),o=i(41735),s=i(95667);function c({wide:e,icon:t,type:i,onClick:a,loading:o,disabled:m,children:u,dataTestId:g}){let h=t&&(0,n.jsx)(d,{children:r.createElement(t)});return(0,n.jsxs)(l,{type:i,wide:e,onClick:a,disabled:m,"data-testid":g,children:[(0,n.jsx)(s.aH,{color:"inherit",active:o}),(0,n.jsxs)(p,{visible:!o,children:[h,u]})]})}let l=o.default.button.withConfig({componentId:"sc-767922f-0"})(["",";padding:16px 29px;border:none;outline:none;display:flex;user-select:none;border-radius:4px;position:relative;justify-content:center;transition:background 0.3s,opacity 0.3s;min-width:",";cursor:",";&:disabled{opacity:0.4;}&:active:not(:disabled){opacity:0.7;}color:",";background-color:#ED6A0C;border:2px solid #ED6A0C;&:hover:not(:disabled),&:focus:not(:disabled),&:active:not(:disabled){background-color:#FE9245;border:2px solid #FE9245;;}","{width:100%;}"],(0,a.XC)("special2"),(0,a.dl)("wide","100%","unset"),(0,a.dl)("disabled","default","pointer"),(0,a.MF)("bw0"),(0,a.Hc)("mobileLc")),d=o.default.span.withConfig({componentId:"sc-767922f-1"})(["display:flex;margin-right:4px;& svg{fill:currentColor;}"]),p=o.default.span.withConfig({componentId:"sc-767922f-2"})(["display:flex;align-items:center;visibility:",";"],(0,a.dl)("visible","visible","hidden"))},81348:(e,t,i)=>{"use strict";i(32),i(8583)},94561:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/join/autopark/restore/confirm",function(){return i(21620)}])}},e=>{e.O(0,[4477,4568,2203,4473,4666,5439,9081,5060,636,6593,8792],()=>e(e.s=94561)),_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.