PageSourceSearch

https://uremont.com/_next/static/chunks/pages/join/autopark/login-3cf187c1007e69ab.js

js uremont.com collected 2026-09-24 12:00:12 UTC 6,609 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4328],{1748:(e,t,i)=>{"use strict";i.d(t,{JL:()=>s,iD:()=>n,PO:()=>r});var o=i(88417),a=i(63980);function n({phone:e,password:t}){let i=new FormData;return i.append("email_or_phone",e.replace(/\D/g,"")),i.append("password",t),o.Y.post("autopark/profile/auth/",i).then((0,a.mi)()).catch((0,a.hi)())}function r(e){let t=new FormData;return t.append("email_or_phone",e.replace(/\D/g,"")),o.Y.post("autopark/profile/reset-password/",t).then((0,a.mi)()).catch((0,a.hi)())}function s({code:e,resetToken:t}){let i=new FormData;return i.append("token",t),i.append("code",e),o.Y.post("autopark/profile/check-reset-code/",i).then((0,a.mi)()).catch((0,a.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:()=>n});let o="https://api-frontend.uremont.com",a="https://api-frontend.uremont.com/v2",n={getDescParts:`${o}/common/bid-desc-part/get-desc-parts/`,searchCity:`${o}/map/city/search-items/`,getBidList1:`${o}/common/default/bid-list/`,getMarkList:`${o}/car/mark/get-list/`,getModelList:`${o}/car/model/get-list/`,getRole:`${o}/user/user/info/`,getProfileCustomer:`${a}/customer/profile/view/`,getProfileService:`${a}/service/profile/view/`,apiv2Url:a,getCountryId:`${a}/common/default/get-country-id/`,getCountriesList:`${a}/map/country/get-list/`,getPopularCities:`${a}/map/city/get-popular-list/`,getBidList:`${a}/common/default/bid-list/`,getRecommendedServices:`${a}/homepage/recommended-service-list/`,getPublicationList:`${a}/homepage/publication-list/`,getPublicationsCategoryList:`${a}/publication/category/index/`,getCustomerLastReviewList:`${a}/homepage/customer-last-review-list/`,getTopWorkTypes:`${a}/homepage/top-work-types/`,getSeoPageData:`${a}/common/default/get-seo-page-data/`,getCarCatalogPageBySlug:`${a}/common/seo/get-car-catalog-page-by-slug/`,getServicePageBySlug:`${a}/common/seo/get-service-page-by-slug/`,getPublicationsArticleList:`${a}/publication/article/index/`}},9008:(e,t,i)=>{"use strict";i.d(t,{J6:()=>o.J6,NY:()=>o.NY,Xh:()=>o.Xh,fJ:()=>o.fJ,it:()=>o.it,lN:()=>o.lN,vk:()=>o.vk});var o=i(74890)},42588:(e,t,i)=>{"use strict";i(32),i(8583)},54353:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/join/autopark/login",function(){return i(77159)}])},77159:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>B});var o=i(6029),a=i(58894),n=i(20220),r=i(9789),s=i(7893),l=i(5268),c=i.n(l);i(81348),i(42588);var p=i(70415),d=i(55729),u=i(62074),g=i(41735),m=i(95667),h=i(27724),f=i(1748),x=i(58582),k=i(41487),w=i(86057),b=i(82862),y=i(63980),C=i(82203),v=i.n(C),_=i(9008);function j(e){return 11===e.replace(/\D/g,"").length}function $({disabled:e}){let[t,,i]=(0,u.Mt)("phone");return(0,o.jsx)(M,{...t,name:"phone",mask:"+7 (999) 999-99-99",maskChar:"_",placeholder:"+7 (900) 999-99-99",autoComplete:"off",type:"tel",disabled:e,dataTestId:"autopark-login-phone-input",onMaskedValueChange:i.setValue,onChange:void 0})}function L({specialRedirectLink:e}){let{user:t}=(0,d.useContext)(b.B),[i,a]=(0,d.useState)(null),[n,r]=(0,d.useState)(!1),s={phone:(0,_.vk)(),password:""};(0,d.useEffect)(()=>{t&&window.location.replace((0,w.Ov)(t.role))},[t]);let l=(0,d.useCallback)(async t=>{if(!j(t.phone))return void a("Недопустимый формат номера");if(!t.password)return void a("Введите пароль");r(!0),a(null);try{let{data:i}=await (0,f.iD)({phone:t.phone,password:t.password});(0,w.Rz)(i.access_token,i.refresh_token),await (0,w.co)({accessToken:i.access_token,specialRedirectLink:e,preferCustomerProfile:!0,skipAsyncHandlers:!0})}catch(e){a((0,y.LH)(e,"Ошибка входа")),r(!1)}},[e]);return(0,o.jsx)(P,{children:(0,o.jsx)(k.CQ,{title:"Вход",description:"Введите телефон и пароль",children:(0,o.jsx)(u.l1,{initialValues:s,onSubmit:l,enableReinitialize:!0,children:({dirty:e,values:t,handleChange:a,handleBlur:r})=>{let s=j(t.phone);return(0,o.jsxs)(u.lV,{children:[(0,o.jsx)(S,{children:(0,o.jsx)($,{disabled:n})}),(0,o.jsx)(S,{children:(0,o.jsx)(m.s3,{name:"password",placeholder:"Введите пароль",value:t.password,onChange:a,onBlur:r,disabled:n,dataTestId:"autopark-login-password-input"})}),i&&(0,o.jsx)(I,{children:i}),(0,o.jsx)(N,{children:(0,o.jsx)(x.$,{wide:!0,type:"submit",loading:n,disabled:!e||!s||!t.password||n,dataTestId:"autopark-login-submit-button",children:"Войти"})}),(0,o.jsx)(D,{href:"/join/autopark/restore",children:"Забыли пароль?"}),(0,o.jsx)(T,{href:"/join/login",children:"Вход для автолюбителей"})]})}})})})}let P=g.default.div.withConfig({componentId:"sc-90042a42-0"})(["display:flex;justify-content:center;width:100%;padding:0 16px;"]),S=g.default.div.withConfig({componentId:"sc-90042a42-1"})(["margin-bottom:12px;"]),M=(0,g.default)(m.SS).withConfig({componentId:"sc-90042a42-2"})(["width:100%;padding:0.75rem;border-radius:0.5rem;border:1px solid ",";",";color:",";outline:none;height:3rem;box-sizing:border-box;&:focus{border:1px solid ",";color:",";}"],(0,h.MF)("borderDefault"),(0,h.XC)("bodyTightRegular"),(0,h.MF)("textSecondary"),(0,h.MF)("textPrimary"),(0,h.MF)("textPrimary")),N=g.default.div.withConfig({componentId:"sc-90042a42-3"})(["margin-top:16px;"]),I=g.default.p.withConfig({componentId:"sc-90042a42-4"})(["",";color:",";margin:8px 0 0;text-align:center;"],(0,h.XC)("text2"),(0,h.MF)("danger")),D=(0,g.default)(v()).withConfig({componentId:"sc-90042a42-5"})(["",";display:block;margin-top:12px;text-align:center;color:",";text-decoration:none;"],(0,h.XC)("text2"),(0,h.MF)("primary")),T=(0,g.default)(v()).withConfig({componentId:"sc-90042a42-6"})(["",";display:block;margin-top:12px;text-align:center;color:",";text-decoration:none;"],(0,h.XC)("text2"),(0,h.MF)("primary")),F=({ip:e,profile:t})=>(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r.g7,{title:"Вход | UREMONT",description:"Войдите в личный кабинет на UREMONT.",canonical:`${s.NB}/join/autopark/login`,ogImage:r.AG.uremont}),(0,o.jsxs)("div",{className:"page-layout",children:[(0,o.jsx)(a.Y,{ip:e,profile:t,contacts:p.PL,authLink:"/join/login"}),(0,o.jsx)("main",{className:c().main,children:(0,o.jsx)(L,{})}),(0,o.jsx)(n.c,{uremontMainLink:s.NB,uremontLink:s.$7,autopartsLink:s.S$,serviceLink:s.hM,insuranceLink:s.HV,corpar
1kLink:s.hu,uremontMapLink:s.SI})]})]});F.getInitialProps=async({req:e})=>({});let B=F},81348:(e,t,i)=>{"use strict";i(32),i(8583)}},e=>{e.O(0,[4477,4568,2592,3897,2203,5465,2074,1156,5633,4981,4436,636,6593,8792],()=>e(e.s=54353)),_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.