1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9711],{4513:(e,t,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/join/service/signup",function(){return i(32590)}])},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:()=>o});let r="https://api-frontend.uremont.com",n="https://api-frontend.uremont.com/v2",o={getDescParts:`${r}/common/bid-desc-part/get-desc-parts/`,searchCity:`${r}/map/city/search-items/`,getBidList1:`${r}/common/default/bid-list/`,getMarkList:`${r}/car/mark/get-list/`,getModelList:`${r}/car/model/get-list/`,getRole:`${r}/user/user/info/`,getProfileCustomer:`${n}/customer/profile/view/`,getProfileService:`${n}/service/profile/view/`,apiv2Url:n,getCountryId:`${n}/common/default/get-country-id/`,getCountriesList:`${n}/map/country/get-list/`,getPopularCities:`${n}/map/city/get-popular-list/`,getBidList:`${n}/common/default/bid-list/`,getRecommendedServices:`${n}/homepage/recommended-service-list/`,getPublicationList:`${n}/homepage/publication-list/`,getPublicationsCategoryList:`${n}/publication/category/index/`,getCustomerLastReviewList:`${n}/homepage/customer-last-review-list/`,getTopWorkTypes:`${n}/homepage/top-work-types/`,getSeoPageData:`${n}/common/default/get-seo-page-data/`,getCarCatalogPageBySlug:`${n}/common/seo/get-car-catalog-page-by-slug/`,getServicePageBySlug:`${n}/common/seo/get-service-page-by-slug/`,getPublicationsArticleList:`${n}/publication/article/index/`}},32590:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>tk});var r=i(6029),n=i(58894),o=i(20220),a=i(9789),c=i(7893),d=i(5268),l=i.n(d);i(81348),i(42588);var s=i(70415),p=i(55729),m=i(56760),u=i(81278),h=i(62074),g=i(95667),f=i(96438),C=i(86057),x=i(63980),b=i(41735),y=i(27737),w=i(27724);function v({step:e,onClose:t}){return(0,r.jsxs)(I,{children:[(0,r.jsxs)(_,{children:[(0,r.jsx)(S,{children:"ÐаполниÑе даннÑе СТÐ"}),(0,r.jsx)(T,{type:"button",onClick:t,"aria-label":"ÐакÑÑÑÑ",children:(0,r.jsx)(y.bm,{size:24})})]}),(0,r.jsxs)(M,{$step:e,children:[(0,r.jsx)(j,{active:!0,title:"ÐаннÑе о компании"}),(0,r.jsx)(j,{active:e>f.m.COMPANY_INFO,title:"СпиÑок ÑемонÑиÑÑемÑÑ
авÑо"}),(0,r.jsx)(j,{active:e>f.m.DOCUMENT_COOPERATION,title:"ÐÐ¾Ð³Ð¾Ð²Ð¾Ñ ÑоÑÑÑдниÑеÑÑва"})]})]})}function j({active:e,title:t}){return(0,r.jsxs)(F,{children:[(0,r.jsx)(L,{children:(0,r.jsx)(k,{$active:e})}),(0,r.jsx)(E,{children:t})]})}let I=b.default.div.withConfig({componentId:"sc-dfd56a45-0"})(["display:flex;flex-direction:column;gap:2rem;margin-bottom:2rem;","{gap:1.5rem;}"],(0,w.Hc)("mobileLc")),_=b.default.div.withConfig({componentId:"sc-dfd56a45-1"})(["display:flex;align-items:center;justify-content:space-between;"]),S=b.default.h1.withConfig({componentId:"sc-dfd56a45-2"})(["",";margin:0;font-size:2.125rem;line-height:2.5rem;color:",";","{font-size:1.5rem;line-height:2rem;}"],(0,w.XC)("headlineL"),(0,w.MF)("textPrimary"),(0,w.Hc)("mobileLc")),T=b.default.button.withConfig({componentId:"sc-dfd56a45-3"})(["border:none;background:transparent;cursor:pointer;padding:0;color:",";display:flex;"],(0,w.MF)("textPrimary")),M=b.default.div.withConfig({componentId:"sc-dfd56a45-4"})(["display:grid;grid-template-columns:repeat(3,1fr);","{","}","{grid-template-columns:1fr;","}"],(0,w.Hc)("tabletLc"),({$step:e})=>e===f.m.COMPANY_INFO?(0,b.css)(["& > *:nth-child(3){display:none;}"]):(0,b.css)(["& > *:nth-child(1){display:none;}"]),(0,w.Hc)("mobileLc"),({$step:e})=>(0,b.css)(["& > *:not(:nth-child(",")){display:none;}& > *:nth-child(","){display:flex;}"],e,e)),F=b.default.div.withConfig({componentId:"sc-dfd56a45-5"})(["display:flex;flex-direction:column;gap:0.5rem;"]),L=b.default.div.withConfig({componentId:"sc-dfd56a45-6"})(["width:100%;height:0.25rem;background-color:",';border-radius:0.125rem;margin-left:0.25rem;position:relative;&:before{content:"";position:absolute;top:-0.3125rem;left:-0.25rem;width:0.875rem;height:0.875rem;border-radius:50%;background-color:',";}"],(0,w.MF)("backgroundTertiary"),(0,w.MF)("bw0")),k=b.default.div.withConfig({componentId:"sc-dfd56a45-7"})(["position:absolute;top:0;left:0;height:0.25rem;width:0;border-radius:0.125rem;background-color:",';transition:all 1s ease-in-out;&:before{content:"";position:absolute;top:-0.125rem;left:-0.0625rem;width:0.5rem;height:0.5rem;border-radius:50%;background-color:',";transition:all 1s ease-in-out;}",""],(0,w.MF)("backgroundTertiary"),(0,w.MF)("backgroundTertiary"),({$active:e})=>e&&(0,b.css)(["width:100%;background-color:",";&:before{top:-0.3125rem;left:-0.25rem;width:0.875rem;height:0.875rem;background-color:",";}"],(0,w.MF)("brandPrimary"),(0,w.MF)("brandPrimary"))),E=b.default.div.withConfig({componentId:"sc-dfd56a45-8"})(["",";color:",";"],(0,w.XC)("bodyTightRegular"),(0,w.MF)("textPrimary"));function P({step:e,isSubmitting:t,isDisabledNextButton:i,isSubmitDisabled:n,acceptB2b:
1o,onAcceptB2b:a,onNext:d,onPrev:l,onSuccess:s}){let p=e===f.m.COMPANY_INFO,m=e===f.m.DOCUMENT_COOPERATION;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(A,{children:(0,r.jsx)(g.cG,{})}),(0,r.jsxs)(N,{$isColumn:p,children:[p?(0,r.jsxs)(R,{children:[(0,r.jsxs)(O,{children:[(0,r.jsx)(g.Sc,{checked:o,onChange:a}),(0,r.jsx)(B,{children:"ÐÑÐ¸Ð½Ð¸Ð¼Ð°Ñ Ð·Ð°Ñвки на ÑÐµÐ¼Ð¾Ð½Ñ Ð¾Ñ Ð®ÑидиÑеÑкиÑ
лиÑ"})]}),(0,r.jsxs)(D,{children:["РегиÑÑÑиÑÑÑÑÑ, Ð²Ñ Ð¿ÑинимаеÑе"," ",(0,r.jsx)("a",{href:`${c.NB||"https://uremont.com"}/agreement`,target:"_blank",rel:"noreferrer",children:"ÐолÑзоваÑелÑÑкое ÑоглаÑение"})," ","и даеÑе ÑоглаÑие на"," ",(0,r.jsx)("a",{href:`${c.NB||"https://uremont.com"}/privacy`,target:"_blank",rel:"noreferrer",children:"ÐбÑабоÑÐºÑ Ð¿ÐµÑÑоналÑнÑÑ
даннÑÑ
"})]})]}):(0,r.jsx)(Y,{type:"button",onClick:l,children:"Ðазад"}),m?(0,r.jsx)($,{type:"button",disabled:n,onClick:s,children:"ÐÑпÑавиÑÑ"}):(0,r.jsx)($,{type:"button",disabled:i||t,onClick:d,children:t?(0,r.jsx)(g.aH,{active:!0,color:"white"}):"Ðалее"})]})]})}let A=b.default.div.withConfig({componentId:"sc-22052cde-0"})(["width:100%;max-width:42.25rem;padding:1.25rem 0;","{width:100%;}","{display:none;}"],(0,w.Hc)("laptopLc"),(0,w.Hc)("mobileLc")),N=b.default.div.withConfig({componentId:"sc-22052cde-1"})(["display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;width:100%;max-width:42.25rem;","{width:100%;max-width:100%;}",""],(0,w.Hc)("laptopLc"),({$isColumn:e})=>e&&(0,b.css)(["","{flex-direction:column-reverse;align-items:stretch;gap:1rem;> button{width:100%;}}"],(0,w.Hc)("mobileLc"))),R=b.default.div.withConfig({componentId:"sc-22052cde-2"})(["width:23.375rem;max-width:100%;","{width:100%;}"],(0,w.Hc)("mobileLc")),O=b.default.div.withConfig({componentId:"sc-22052cde-3"})(["display:flex;align-items:center;margin-bottom:0.5rem;"]),B=b.default.span.withConfig({componentId:"sc-22052cde-4"})(["margin-left:0.25rem;",";color:",";"],(0,w.XC)("bodyTightRegular"),(0,w.MF)("textPrimary")),D=b.default.div.withConfig({componentId:"sc-22052cde-5"})(["",";color:",";a{color:",";text-decoration:none;&:hover{color:",";}}"],(0,w.XC)("bodyTightRegular"),(0,w.MF)("textPrimary"),(0,w.MF)("brandPrimary"),(0,w.MF)("primaryDarker")),H=(0,b.css)(["display:flex;padding:0.75rem 1.5rem;justify-content:center;align-items:center;border-radius:0.5rem;font-size:0.9375rem;font-weight:500;line-height:1.25rem;cursor:pointer;position:relative;min-width:7rem;height:3rem;"]),Y=b.default.button.withConfig({componentId:"sc-22052cde-6"})(["",";border:1px solid ",";background-color:",";color:",";&:hover{border-color:#2172de;color:#2172de;}"],H,(0,w.MF)("brandPrimary"),(0,w.MF)("bw0"),(0,w.MF)("brandPrimary")),$=b.default.button.withConfig({componentId:"sc-22052cde-7"})(["",";border:1px solid ",";background-color:",";color:",";&:hover:not(:disabled){background-color:#2172de;border-color:#2172de;}&:disabled{border-color:",";background-color:",";color:#b2b6ba;cursor:initial;}"],H,(0,w.MF)("brandPrimary"),(0,w.MF)("brandPrimary"),(0,w.MF)("bw0"),(0,w.MF)("backgroundTertiary"),(0,w.MF)("backgroundTertiary"));function U({step:e,info:t,isShowInfo:i,carTypes:n,serviceAuto:o,isShowCooperationFile:a}){let[c,d]=(0,p.useState)(null),l=25*!!i+25*!!o.length+25*!!a,s=(0,p.useMemo)(()=>n.filter(e=>o.some(t=>t.typeId===e.id)).map(e=>({...e,marks:o.filter(t=>t.typeId===e.id)})),[n,o]),m=e=>{d(t=>t===e?null:e)};return(0,r.jsxs)(V,{children:[(0,r.jsx)(q,{children:"Ðаполнено до вÑ
ода в лиÑнÑй кабинеÑ:"}),(0,r.jsxs)(G,{children:[l,"%"]}),(0,r.jsx)(Z,{children:(0,r.jsx)(K,{$percent:l})}),!!e&&(0,r.jsxs)(W,{children:["+25 % за ",e,"-й Ñаг"]}),i&&(0,r.jsxs)(X,{title:"ÐаннÑе о компании",active:c===f.m.COMPANY_INFO,onSelect:()=>m(f.m.COMPANY_INFO),children:[(0,r.jsx)(z,{label:"ЮÑидиÑеÑкое название компании",value:t.legalName}),(0,r.jsx)(z,{label:"ФакÑиÑеÑкое название",value:t.name}),(0,r.jsx)(z,{label:"ÐоÑод",value:t.cityName}),(0,r.jsx)(z,{label:"ÐоÑÑа",value:t.email}),(0,r.jsx)(z,{label:"ФÐРконÑакÑа",value:t.contactPerson}),(0,r.jsx)(z,{label:"ÐÐÐ",value:t.inn}),(0,r.jsx)(z,{label:"ТелеÑон",value:t.phone})]}),s.length>0&&(0,r.jsx)(X,{title:"СпиÑок ÑемонÑиÑÑемÑÑ
авÑо",active:c===f.m.CARS,onSelect:()=>m(f.m.CARS),children:s.map(({id:e,name:t,marks:i})=>(0,r.jsxs)(ei,{children:[(0,r.jsx)(er,{children:t}),i.map(e=>(0,r.jsx)(en,{children:e.name},e.id))]},e))}),a&&(0,r.jsx)(X,{title:"ÐаÑи договоÑа",active:c===f.m.DOCUMENT_COOPERATION,onSelect:()=>m(f.m.DOCUMENT_COOPERATION),children:(0,r.jsx)(ei,{children:(0,r.jsx)(en,{children:"ÐÐ¾Ð³Ð¾Ð²Ð¾Ñ ÑоÑÑÑдниÑеÑÑва"})})})]})}function X({title:e,active:t,children:i,onSelect:n}){return(0,r.jsxs)(J,{children:[(0,r.jsxs)(Q,{type:"button",onClick:n,$active:t,children:[(0,r.jsx)("div",{children:e}),(0,r.jsx)(ee,{$active:t,children:(0,r.jsx)(y.cL,{direction:"down"})})]}),(0,r.jsx)(g.cG,{}),(0,r.jsx)(et,{$active:t,children:i})]})}function z({label:e,value:t}){return(0,r.jsxs)(ei,{children:[(0,r.jsx)(er,{children:e}),(0,r.jsx)(en,{children:t})]})}let V=b.default.div.withConfig({componentId:"sc-c1e93a53-0"})([""]),q=b.default.div.withConfig({componentId:"sc-c1e93a53-1"})(["",";color:",";margin-bottom:0.25rem;"],(0,w.XC)("bodyTightRegular"),(0,w.MF)("textSecondary")),G=b.default.div.withConfig({componentId:"sc-c1e93a53-2"})(["",";color:",";margin-bottom:0.25rem;"],(0,w.XC)("headlineL"),(0,w.MF)("textPrimary")),Z=b.default.div.withConfig({componentId:"sc-c1e93a53-3"})(["width:100%;height:0.25rem;border-radius:0.125rem;background:",";position:relative;margin-bottom:0.25rem;overflow:hidden;"],(0,w.MF)("backgroundTertiary")),K=b.default.div.withConfig({componentId:"sc-c1e93a53-4"})(["height:100%;width:",";background:",";transition:width 500ms ease-in-out;"],({$percent:e})=>`${e}%`,(0,w.MF)("brandPrimary")),W=b.default.div.withConfig({componentId:"sc-c1e93a53-5"})(["",";color:",";font-size:13px;margin-bottom:1.5rem;"],(0,w.XC)("description2"),(0,w.MF)("textSecondary")),J=b.default.div.withConfig({componentId:"sc-c1e93a53-6"})(["display:flex;flex-direction:column;gap:1rem;margin-top:1rem;"]),Q=b.default.button.withConfig({componentId:"sc-c1e93a53-7"})(["width:100%;display:flex;align-items:center;justify-content:space-between;border:none;background:transparent;padding:0;cursor:pointer;",";color:",";"],(0,w.XC)("bodyTightRegular"),(0,w.MF)("textSecondary")),ee=b.default.span.withConfig({componentId:"sc-c1e93a53-8"})(["display:flex;transition:transform 300ms ease-in-out;transform:",";"],({$active:e})=>e?"rotate(180deg)":"none"),et=b.default.div.withConfig({componentId:"sc-c1e93a53-9"})(["display:flex;flex-direction:column;gap:1rem;max-height:",";overflow:",";margin-bottom:",";transition:max-height 300ms linear;","{max-height:",";}"],({$active:e})=>e?"19.2rem":"0",({$active:e})=>e?"auto":"hidden",({$active:e})=>e?"0.5rem":"0",(0,w.Hc)("mobileLc"),({$active:e})=>e?"30rem":"0"),ei=b.default.div.withConfig({componentId:"sc-c1e93a53-10"})(["display:flex;flex-direction:column;gap:0.25rem;"]),er=b.default.div.withConfig({componentId:"sc-c1e93a53-11"})(["",";color:",";"],(0,w.XC)("bodyTightRegular"),(0,w.MF)("textSecondary")),en=b.default.div.withConfig({componentId:"sc-c1e93a53-12"})(["",";color:",";"],(0,w.XC)("bodyTightRegular"),(0,w.MF)("textPrimary"));function eo(){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"124",height:"124",viewBox:"0 0 124 124",fill:"none",children:[(0,r.jsx)("path",{d:"M0 62C0 27.7583 27.7583 0 62 0C96.2417 0 124 27.7583 124 62C124 96.2417 96.2417 124 62 124C27.7583 124 0 96.2417 0 62Z",fill:"#227DF5"}),(0,r.jsx)("path",{d:"M102 62.9063C102.003 55.335 99.9502 47.9114 96.069 41.4627C92.1878 35.0141 86.6311 29.7936 80.0181 26.3831C73.4051 22.9726 65.9955 21.506 58.615 22.1467C51.2345 22.7874 44.1731 25.5103 38.2174 30.0119C32.2618 34.5136 27.646 40.61
171 24.8843 47.6425C22.1226 54.6679 21.3235 62.3391 22.5761 69.8013C23.8287 77.2636 27.0837 84.2238 31.9785 89.9064C36.8733 95.5889 43.2155 99.7707 50.2986 101.986V86.4956C45.9677 84.2724 42.3241 80.8662 39.7717 76.6551C37.2194 72.444 35.8583 67.5924 35.8392 62.6387C35.8201 57.6849 37.144 52.8226 39.6638 48.5911C42.1837 44.3595 45.801 40.9242 50.1146 38.6663V63.2535L61.9434 70.08L73.7722 63.2535V38.6663C78.1313 40.8926 81.7976 44.3161 84.3601 48.5528C86.9226 52.7896 88.2799 57.6722 88.2799 62.6532C88.2799 67.6343 86.9226 72.5169 84.3601 76.7537C81.7976 80.9904 78.1313 84.4139 73.7722 86.6402V102C81.9477 99.4242 89.1003 94.2379 94.1806 87.202C99.2609 80.1661 102.001 71.6511 102 62.9063Z",fill:"white"})]})}function ea(){return(0,r.jsx)(g.Rr,{fixed:!0,active:!0,zIndex:11e3,children:(0,r.jsx)(ec,{children:(0,r.jsxs)(ed,{children:[(0,r.jsx)(eo,{}),(0,r.jsxs)(el,{children:[(0,r.jsx)(es,{children:"ÐÑ ÑкоÑо ÑвÑжемÑÑ Ñ Ð²Ð°Ð¼Ð¸"}),(0,r.jsx)(ep,{children:"ÐожалÑйÑÑа, оÑÑавайÑеÑÑ Ð½Ð° ÑвÑзи. РближайÑее вÑÐµÐ¼Ñ (обÑÑно - не более 2 ÑаÑов) Ð¼Ñ ÑвÑжемÑÑ Ñ Ðами, ÑÑÐ¾Ð±Ñ Ð¿ÑовеÑиÑÑ Ð´Ð°Ð½Ð½Ñе и веÑиÑиÑиÑоваÑÑ Ð·Ð°ÑвкÑ. ÐоÑле ÑÑого ÐÑ ÑможеÑе пÑодолжиÑÑ Ð¸ войÑи в ÐºÐ°Ð±Ð¸Ð½ÐµÑ Ð¡Ð¢Ð"})]})]})})})}let ec=b.default.div.withConfig({componentId:"sc-e1c44e6f-0"})(["width:31.625rem;margin:0 auto;","{width:21.4375rem;}"],(0,w.Hc)("mobileLc")),ed=b.default.div.withConfig({componentId:"sc-e1c44e6f-1"})(["display:flex;padding:3.5rem 2.5rem;flex-direction:column;align-items:center;gap:1.5rem;background:",";border-radius:3rem;","{padding:2rem;}"],(0,w.MF)("bw0"),(0,w.Hc)("mobileLc")),el=b.default.div.withConfig({componentId:"sc-e1c44e6f-2"})(["display:flex;flex-direction:column;align-items:flex-start;gap:1rem;"]),es=b.default.div.withConfig({componentId:"sc-e1c44e6f-3"})(["",";color:",";text-align:center;width:100%;","{",";font-size:1.125rem;}"],(0,w.XC)("headlineL"),(0,w.MF)("brandPrimary"),(0,w.Hc)("mobileLc"),(0,w.XC)("headlineS")),ep=b.default.div.withConfig({componentId:"sc-e1c44e6f-4"})(["",";color:",";text-align:center;","{",";font-size:0.8125rem;}"],(0,w.XC)("bodyTightMedium"),(0,w.MF)("textSecondary"),(0,w.Hc)("mobileLc"),(0,w.XC)("description2")),em=b.default.div.withConfig({componentId:"sc-e320b692-0"})(["height:40rem;"]),eu=b.default.div.withConfig({componentId:"sc-e320b692-1"})(["width:70rem;max-width:calc(100% - 1.5rem);margin:4.5rem auto 2rem;position:relative;padding-bottom:1rem;","{width:45rem;margin-top:1rem;}","{width:21.5rem;max-width:calc(100% - 1.5rem);margin:0.75rem auto 2.5rem;}"],(0,w.Hc)("laptopLc"),(0,w.Hc)("mobileLc")),eh=b.default.div.withConfig({componentId:"sc-e320b692-2"})(["position:relative;padding:3rem;border-radius:3rem;width:100%;min-height:51.875rem;height:auto;background:",";overflow:visible;","{padding:2rem;}","{padding:1rem;border-radius:1.25rem;}"],(0,w.MF)("bw0"),(0,w.Hc)("laptopLc"),(0,w.Hc)("mobileLc")),eg=(0,b.createGlobalStyle)(["html,body{overflow:hidden !important;}"]),ef=b.default.div.withConfig({componentId:"sc-e320b692-3"})(["display:grid;grid-template-columns:1fr 20.1875rem;gap:1.5rem;","{grid-template-columns:1fr 15rem;}","{grid-template-columns:1fr;margin-bottom:1rem;}"],(0,w.Hc)("laptopLc"),(0,w.Hc)("mobileLc")),eC=b.default.div.withConfig({componentId:"sc-e320b692-4"})(["display:block;","{display:none;}"],(0,w.Hc)("laptopLc")),ex=b.default.div.withConfig({componentId:"sc-e320b692-5"})(["display:none;","{display:block;}"],(0,w.Hc)("laptopLc")),eb=b.default.h2.withConfig({componentId:"sc-e320b692-6"})(["",";margin:0 0 1.5rem;color:",";"],(0,w.XC)("headlineL"),(0,w.MF)("textPrimary")),ey=b.default.div.withConfig({componentId:"sc-e320b692-7"})(["",";color:",";position:absolute;bottom:-1rem;"],(0,w.XC)("description2"),(0,w.MF)("danger")),ew=b.default.div.withConfig({componentId:"sc-e320b692-8"})(["font-size:13px;font-weight:400;line-height:16px;color:",";"],(0,w.MF)("textPrimary")),ev=b.default.div.withConfig({componentId:"sc-e320b692-9"})(["display:flex;flex-direction:column;gap:0.25rem;position:relative;",""],({display:e})=>"large"===e?(0,b.css)(["display:flex;","{display:none;}"],(0,w.Hc)("laptopLc")):"middle"===e?(0,b.css)(["display:none;","{display:flex;}"],(0,w.Hc)("laptopLc")):"small"===e?(0,b.css)(["display:none;","{display:flex;}"],(0,w.Hc)("mobileLc")):""),ej=(0,b.css)(["width:100%;padding:0.75rem;border-radius:0.5rem;border:1px solid ",";",";color:",";outline:none;height:3rem;box-sizing:border-box;background:",";&::placeholder{",";}&:hover{border:1px solid ",";}&:focus{border:1px solid ",";color:",";}"],(0,w.MF)("borderDefault"),(0,w.XC)("bodyTightRegular"),(0,w.MF)("textSecondary"),(0,w.MF)("bw0"),(0,w.XC)("bodyTightRegular"),(0,w.MF)("textPrimary"),(0,w.MF)("primary"),(0,w.MF)("textPrimary"));var eI=i(88417);function e_({name:e,initialCityName:t,error:i,touched:n,onSetCity:o,onSetError:a,onTouched:c}){let[d,l]=(0,p.useState)(t),[s,m]=(0,p.useState)([]),[u,h]=(0,p.useState)(!1),[f,C]=(0,p.useState)(!1),b=e=>{C(!0),(function({name:e}){return eI.Y.get((0,x.OY)("/common/default/city-autocomplete/",{city_part_name:e,is_region:!0})).then((0,x.bQ)()).catch((0,x.kB)())})({name:e}).then(e=>{Array.isArray(e)&&e.length>0&&m(e)}
1).finally(()=>C(!1))};return(0,p.useEffect)(()=>{l(t),b(t||"ÐоÑква")},[t]),(0,r.jsxs)(eS,{children:[(0,r.jsx)(eT,{name:e,value:d,autoComplete:"off",placeholder:"ÐÑбеÑиÑе гоÑод",onFocus:()=>h(!0),onBlur:()=>{window.setTimeout(()=>{h(!1),c()},300)},onChange:e=>{let{value:t}=e.target;l(t),t.length>3&&b(t)}}),f?(0,r.jsx)(eM,{children:(0,r.jsx)(g.aH,{active:!0,small:!0})}):(0,r.jsx)(eM,{children:(0,r.jsx)(y.cL,{direction:"down"})}),u&&s.length>0&&(0,r.jsx)(eF,{children:s.map(e=>(0,r.jsx)(eL,{type:"button",onMouseDown:()=>{l(e.name),o({id:String(e.id),name:e.name}),a(null)},children:e.name},e.id))}),!!i&&n&&(0,r.jsx)(ek,{children:i})]})}let eS=b.default.div.withConfig({componentId:"sc-9b40bf7d-0"})(["position:relative;"]),eT=b.default.input.withConfig({componentId:"sc-9b40bf7d-1"})(["",";padding-right:2.5rem;"],ej),eM=b.default.div.withConfig({componentId:"sc-9b40bf7d-2"})(["position:absolute;right:0.75rem;top:0.75rem;pointer-events:none;color:",";"],(0,w.MF)("textSecondary")),eF=b.default.div.withConfig({componentId:"sc-9b40bf7d-3"})(["position:absolute;z-index:5;left:0;right:0;top:calc(100% + 0.25rem);max-height:12rem;overflow:auto;background:",";border:1px solid ",";border-radius:0.5rem;"],(0,w.MF)("bw0"),(0,w.MF)("borderDefault")),eL=b.default.button.withConfig({componentId:"sc-9b40bf7d-4"})(["width:100%;border:none;background:transparent;text-align:left;padding:0.75rem 1rem;cursor:pointer;",";color:",";&:hover{background:",";}"],(0,w.XC)("bodyTightRegular"),(0,w.MF)("textPrimary"),(0,w.MF)("backgroundSecondary")),ek=b.default.div.withConfig({componentId:"sc-9b40bf7d-5"})(["",";color:",";position:absolute;bottom:-1rem;"],(0,w.XC)("description2"),(0,w.MF)("danger"));function eE({formik:e,submitError:t}){let{values:i,touched:n,errors:o,handleBlur:a,setFieldValue:c,setFieldTouched:d,setFieldError:l}=e,s=e=>t=>{c(e,t.target.value.trimStart())},p=e=>{c("category",e)};return(0,r.jsxs)("div",{children:[(0,r.jsx)(eb,{children:"ÐаполниÑе даннÑе о компании"}),(0,r.jsxs)(eP,{children:[(0,r.jsxs)(ev,{children:[(0,r.jsx)(ew,{children:"ТелеÑон"}),(0,r.jsx)(eN,{name:"phone",maskChar:"_",mask:"+7 (999) 999-99-99",placeholder:"+7 (900) 999-99-99",autoComplete:"off",value:i.phone,onMaskedValueChange:e=>c("phone",e),onBlur:a}),o.phone&&n.phone&&(0,r.jsx)(ey,{children:o.phone})]}),(0,r.jsxs)(ev,{children:[(0,r.jsx)(ew,{children:"ÐÐÐ"}),(0,r.jsx)(eA,{name:"inn",placeholder:"554806549534",autoComplete:"off",maxLength:12,value:i.inn,onChange:e=>{c("inn",e.target.value.replace(/[^0-9]/g,"").trim())},onBlur:a}),o.inn&&n.inn&&(0,r.jsx)(ey,{children:o.inn})]}),(0,r.jsxs)(ev,{children:[(0,r.jsx)(ew,{children:"ФÐРконÑакÑа"}),(0,r.jsx)(eA,{name:"contactPerson",placeholder:"Ðванов Ðван ÐвановиÑ",autoComplete:"off",value:i.contactPerson,onChange:s("contactPerson"),onBlur:a}),o.contactPerson&&n.contactPerson&&(0,r.jsx)(ey,{children:o.contactPerson})]}),(0,r.jsxs)(ev,{children:[(0,r.jsx)(ew,{children:"ЮÑидиÑеÑкое название компании"}),(0,r.jsx)(eA,{name:"legalName",placeholder:'ÐÐÐ "РемонÑ"',autoComplete:"off",value:i.legalName,onChange:s("legalName"),onBlur:a}),o.legalName&&n.legalName&&(0,r.jsx)(ey,{children:o.legalName})]}),(0,r.jsxs)(ev,{children:[(0,r.jsx)(ew,{children:"ФакÑиÑеÑкое название"}),(0,r.jsx)(eA,{name:"name",placeholder:"СÑÐ¿ÐµÑ ÑемонÑ",autoComplete:"off",value:i.name,onChange:s("name"),onBlur:a}),o.name&&n.name&&(0,r.jsx)(ey,{children:o.name})]}),(0,r.jsxs)(ev,{children:[(0,r.jsx)(ew,{children:"ÐоÑод"}),(0,r.jsx)(e_,{name:"cityId",initialCityName:i.cityName,error:o.cityId,touched:n.cityId,onSetCity:({id:e,name:t})=>{c("cityId",e),c("cityName",t)},onSetError:e=>l("cityId",e||void 0),onTouched:()=>d("cityId",!0)})]}),(0,r.jsxs)(ev,{display:"middle",children:[(0,r.jsx)(ew,{children:"ÐоÑÑа"}),(0,r.jsx)(eA,{name:"email",placeholder:"[email protected]",autoComplete:"off",value:i.email,onChange:s("email"),onBlur:a}),o.email&&n.email&&(0,r.jsx)(ey,{children:o.email})]}),(0,r.jsxs)(ev,{children:[(0,r.jsx)(ew,{children:"ÐаÑолÑ"}),(0,r.jsx)(eR,{name:"password",autoComplete:"off",placeholder:"ÐведиÑе паÑолÑ",value:i.password,onChange:s("password"),onBlur:a}),o.password&&n.password&&(0,r.jsx)(ey,{children:o.password})]}),(0,r.jsxs)(ev,{display:"large",children:[(0,r.jsx)(ew,{children:"ÐоÑÑа"}),(0,r.jsx)(eA,{name:"email",placeholder:"[email protected]",autoComplete:"off",value:i.email,onChange:s("email"),onBlur:a}),o.email&&n.email&&(0,r.jsx)(ey,{children:o.email})]}),(0,r.jsxs)(ev,{children:[(0,r.jsx)(ew,{children:"ÐовÑоÑиÑе паÑолÑ"}),(0,r.jsx)(eR,{name:"passwordConfirm",autoComplete:"off",placeholder:"ÐовÑоÑиÑе паÑолÑ",value:i.passwordConfirm,onChange:s("passwordConfirm"),onBlur:a}),o.passwordConfirm&&n.passwordConfirm&&(0,r.jsx)(ey,{children:o.passwordConfirm})]}),(0,r.jsxs)(ev,{children:[(0,r.jsx)(ew,{children:"СпоÑоб полÑÑÐµÐ½Ð¸Ñ Ð·Ð°Ñвок"}),(0,r.jsx)(eO,{name:"receiveType",options:f.Y0,inputSize:"large",disableFiltering:!0,placeholder:"ÐÑбеÑиÑе ÑпоÑоб полÑÑÐµÐ½Ð¸Ñ Ð·Ð°Ñвок",value:i.receiveType.label,onBlur:a,onChange:e=>{c("receiveType",e)}})]}),(0,r.jsxs)(eB,{children:[(0,r.jsx)(eD,{children:"Тип авÑоÑеÑвиÑа"}),(0,r.jsx)(eH,{children:"ÐÑбеÑиÑе один ваÑианÑ. ÐоÑле ÑегиÑÑÑаÑии ÑÑаÑÑÑ Ð¼ÐµÐ½ÑÐµÑ ÑолÑко UREMONT â в лиÑном кабинеÑе он доÑÑÑпен ÑолÑко Ð´Ð»Ñ Ð¿ÑоÑмоÑÑа"}),(0,r.jsx)(eY,{children:f.wB.map(e=>{let t=i.category.value===e.value;return(0,r.jsxs)(e$,{$active:t,type:"button",onClick:()=>p(e),children:[(0,r.jsxs)(eU,{children:[(0,r.jsx)(g.a,{name:"category",checked:t,onChange:()=>p(e)}),(0,r.jsx)(eX,{children:e.label})]}),(0,r.jsx)(ez,{children:e.description})]},e.value)})})]}),t&&(0,r.jsx)(eV,{children:t})]})]})}let eP=b.default.div.withConfig({componentId:"sc-12fcda90-0"})(["display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;","{grid-template-columns:1fr;}"],(0,w.Hc)("laptopLc")),eA=b.default.input.withConfig({componentId:"sc-12fcda90-1"})(["",";"],ej),eN=(0,b.default)(g.SS).withConfig({componentId:"sc-12fcda90-2"})(["",";"],ej),eR=(0,b.default)(g.s3).withConfig({componentId:"sc-12fcda90-3"})(["",";"],ej),eO=(0,b.default)(g.ms).withConfig({componentId:"sc-12fcda90-4"})(["padding:0.75rem;border-radius:0.5rem;border:0.0625rem solid ",";",";color:",";outline:none;height:3rem;width:100%;box-sizing:border-box;&::placeholder{",";}&:hover{border:0.0625rem solid ",";}&:focus{border:0.0625rem solid ",";color:",";}"],(0,w.MF)("borderDefault"),(0,w.XC)("bodyTightRegular"),(0,w.MF)("textPrimary"),(0,w.XC)("bodyTightRegular"),(0,w.MF)("textPrimary"),(0,w.MF)("primary"),(0,w.MF)("textPrimary")),eB=b.default.div.withConfig({componentId:"sc-12fcda90-5"})(["grid-column:1 / -1;display:flex;flex-direction:column;gap:0.625rem;"]),eD=b.default.div.withConfig({componentId:"sc-12fcda90-6"})(["",";color:",";"],(0,w.XC)("bodyTightMedium"),(0,w.MF)("textPrimary")),eH=b.default.div.withConfig({componentId:"sc-12fcda90-7"})(["font-size:13px;font-weight:400;line-height:18px;color:",";"],(0,w.MF)("textSecondary")),eY=b.default.div.withConfig({componentId:"sc-12fcda90-8"})(["display:grid;grid-template-columns:repeat(3,1fr);gap:0.75rem;","{grid-template-columns:1fr;}"],(0,w.Hc)("laptopLc")),e$=b.default.button.withConfig({componentId:"sc-12fcda90-9"})(["display:flex;flex-direction:column;gap:0.5rem;padding:0.875rem;border-radius:0.5rem;border:1px solid ",";background:",";cursor:pointer;text-align:left;transition:border-color 100ms ease;&:hover{border-color:",";}"],({$active:e})=>e?(0,w.MF)("primary"):(0,w.MF)("borderDefault"),(0,w.MF)("bw0"),(0,w.MF)("textPrimary")),eU=b.default.div.withConfig({componentId:"sc-12fcda90-10"})(["display:flex;align-items:center;gap:0.25rem;min-height:2.5rem;"]),eX=b.default.span.withConfig({componentId:"sc-12fcda90-11"})(["",";color:",";"],(0,w.XC)("bodyTightRegular"),(0,w.MF)("textPrimary")),ez=b.default.div.withConfig({componentId:"sc-12fcda90-12"})(["",";color:",";"],(0,w.XC)("description2"),(0,w.MF)("textSecondary")),eV=b.default.div.withConfig({componentId:"sc-12fcda90-13"})(["grid-column:1 / -1;",";color:",";"],(0,w.XC)("description2"),(0,w.MF)("danger"));var eq=i(70784);function eG(){return(0,r.jsxs)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("circle",{cx:"10",cy:"10",r:"10",fill:"#227DF5"}),(0,r.jsx)("path",{d:"M5.5 10.2L8.4 13.1L14.5 7",stroke:"white",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})]})}function eZ({typeList:e,markList:t,serviceAuto:i,active:n,carPage:o,carPagesCount:a,onSelectMark:c,onSetActive:d,onPageChange:l}){return(0,r.jsxs)(eK,{children:[(0,r.jsx)(eW,{children:"УкажиÑе ÑемонÑиÑÑемÑе авÑо"}),(0,r.jsx)(eJ,{children:e.map(({id:e,name:t})=>(0,r.jsx)(eQ,{type:"button",$active:e===n,onClick:()=>d(e),children:t},e))}),(0,r.jsx)(e0,{children:t.map(({id:e,name:t,logo:n})=>{let o=i.some(t=>t.id===e),a=n?"string"==typeof n?n:"object"==typeof n&&"url"in n&&n.url||"":"";return(0,r.jsxs)(e1,{type:"button",$selected:o,onClick:()=>c({id:e,name:t,logo:n}),children:[o&&(0,r.jsx)(e2,{children:(0,r.jsx)(eG,{})}),a?(0,r.jsx)("img",{src:a,alt:t}):(0,r.jsx)(e3,{}),(0,r.jsx)(e5,{children:t})]},e)})}),(0,r.jsx)(eq.d,{activePage:o,pagesCount:a,onPageChange:l})]})}let eK=b.default.div.withConfig({componentId:"sc-d13a8cdd-0"})(["display:flex;flex-direction:column;gap:1.25rem;"]),eW=b.default.h2.withConfig({componentId:"sc-d13a8cdd-1"})(["",";margin:0;color:",";"],(0,w.XC)("headlineL"),(0,w.MF)("textPrimary")),eJ=b.default.div.withConfig({componentId:"sc-d13a8cdd-2"})(["display:flex;align-items:center;gap:1.5rem;flex-wrap:wrap;padding-bottom:0.625rem;width:42.25rem;max-width:100%;overflow-y:auto;-ms-overflow-style:none;scrollbar-width:none;&::-webkit-scrollbar{display:none;}","{width:24.6rem;}","{width:100%;max-width:19.4375rem;}"],(0,w.Hc)("laptopLc"),(0,w.Hc)("mobileLc")),eQ=b.default.button.withConfig({componentId:"sc-d13a8cdd-3"})(["",";border:none;background:transparent;padding:0;color:",";cursor:pointer;position:relative;",""],(0,w.XC)("bodyTightMedium"),(0,w.MF)("textSecondary"),({$active:e})=>e&&(0,b.css)(["color:",';&:after{content:"";position:absolute;width:100%;height:0.125rem;border-radius:0.5rem;left:0;bottom:-0.5rem;background-color:',";}"],(0,w.MF)("brandPrimary"),(0,w.MF)("brandPrimary"))),e0=b.default.div.withConfig({componentId:"sc-d13a8cdd-4"})(["display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;","{grid-template-columns:repeat(2,1fr);}"],(0,w.Hc)("laptopLc")),e1=b.default.button.withConfig({componentId:"sc-d13a8cdd-5"})(["position:relative;cursor:pointer;display:flex;flex-direction:column;gap:1.5rem;width:9.4375rem;padding:1rem;border-radius:0.5rem;border:0.0625rem solid ",";background:",";text-align:left;",";font-size:1.125rem;color:",";overflow:hidden;word-break:break-word;> img{max-width:2.5rem;max-height:2.5rem;object-fit:contain;}"," ","{width:11.5625rem;}","{width:8.9375rem;}"],(0,w.MF)("borderDefault"),(0,w.MF)("bw0"),(0,w.XC)("headlineS"),(0,w.MF)("textPrimary"),({$selected:e})=>e&&(0,b.css)(["color:",";border-color:",";"],(0,w.MF)("brandPrimary"),(0,w.MF)("brandPrimary")),(0,w.Hc)("laptopLc"),(0,w.Hc)("mobileLc")),e2=b.default.span.withConfig({componentId:"sc-d13a8cdd-6"})(["position:absolute;right:1rem;top:1rem;display:flex;line-height:0;"]),e5=b.default.div.withConfig({componentId:"sc-d13a8cdd-7"})(["font-size:1.125rem;line-height:1.4;"]),e3=b.default.div.withConfig({componentId:"sc-d13a8cdd-8"})(["width:2.5rem;height:2.5rem;border-radius:0.25rem;background:",";"],(0,w.MF)("backgroundSecondary")),e6=`${c.YD||""}/files/license_agreement.docx`;function e7(){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"36",height:"40",viewBox:"0 0 36 40",fill:"none",children:[(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21 36.6678H15C9.34315 36.6678 6.51472 36.6678 4.75736 34.7152C3 32.7626 3 29.6199 3 23.3345V16.6678C3 10.3824 3 7.23972 4.75736 5.28709C6.51472 3.33447 9.35804 3.33447 15.0447 3.33447C15.9537 3.33447 16.6821 3.33447 17.295 3.36224C17.2748 3.49546 17.2643 3.63135 17.2638 3.76875L17.25 8.49275C17.2499 10.3213 17.2497 11.9372 17.4074 13.2397C17.5782 14.6516 17.9705 16.0632 19.0074 17.2154
1C20.0443 18.3675 21.3147 18.8033 22.5854 18.9931C23.7577 19.1683 25.2121 19.1681 26.8577 19.168L27 19.168H32.9361C33 20.0584 33 21.1513 33 22.606V23.3345C33 29.6199 33 32.7626 31.2426 34.7152C29.4853 36.6678 26.6569 36.6678 21 36.6678Z",fill:"#227DF5"}),(0,r.jsx)("path",{d:"M29.0276 12.6956L23.0894 6.7574C21.3976 5.06561 20.5517 4.21971 19.5138 3.77718L19.5 8.33465C19.5 12.263 19.5 14.2272 20.5984 15.4476C21.6967 16.668 23.4645 16.668 27 16.668H32.3701C31.8263 15.4943 30.8526 14.5205 29.0276 12.6956Z",fill:"#227DF5"})]})}function e4(){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[(0,r.jsx)("path",{d:"M4.63929 1.00098C3.73929 1.00098 3 1.75566 3 2.67441V20.3275C3 21.2463 3.73929 22.001 4.63929 22.001H19.3607C20.2607 22.001 21 21.2463 21 20.3275V7.66191L14.925 1.00098H4.63929Z",fill:"#8C181A"}),(0,r.jsx)("path",{d:"M21 7.69502V8.02314H16.8857C16.8857 8.02314 14.8607 7.59658 14.925 5.82471C14.925 5.82471 14.9892 7.69502 16.8535 7.69502H21Z",fill:"#6B0D12"}),(0,r.jsx)("path",{opacity:"0.5",d:"M14.9249 1.00098V5.7916C14.9249 6.34941 15.2785 7.69473 16.8856 7.69473H20.9999L14.9249 1.00098Z",fill:"white"}),(0,r.jsx)("path",{d:"M8.54286 17.0788H7.48214V18.4241C7.48214 18.5554 7.38571 18.6538 7.225 18.6538C7.09643 18.6538 7 18.5554 7 18.4241V15.0772C7 14.8804 7.16071 14.7163 7.35357 14.7163H8.54286C9.31429 14.7163 9.76429 15.2741 9.76429 15.8976C9.76429 16.5538 9.31429 17.0788 8.54286 17.0788ZM8.51071 15.1429H7.48214V16.6522H8.51071C8.96071 16.6522 9.28214 16.3569 9.28214 15.8976C9.28214 15.4382 8.96071 15.1429 8.51071 15.1429ZM11.8536 18.6538H10.8893C10.6964 18.6538 10.5357 18.4897 10.5357 18.2929V15.0772C10.5357 14.8804 10.6964 14.7163 10.8893 14.7163H11.8536C13.0429 14.7163 13.8464 15.5694 13.8464 16.6851C13.8464 17.8007 13.075 18.6538 11.8536 18.6538ZM11.8536 15.1429H11.0179V18.1944H11.8536C12.7857 18.1944 13.3321 17.5054 13.3321 16.6522C13.3643 15.8319 12.8179 15.1429 11.8536 15.1429ZM17.0929 15.1429H15.2286V16.4226H17.0607C17.1893 16.4226 17.2536 16.521 17.2536 16.6522C17.2536 16.7835 17.1571 16.8491 17.0607 16.8491H15.2286V18.4241C15.2286 18.5554 15.1321 18.6538 14.9714 18.6538C14.8429 18.6538 14.7464 18.5554 14.7464 18.4241V15.0772C14.7464 14.8804 14.9071 14.7163 15.1 14.7163H17.0929C17.2214 14.7163 17.2857 14.8147 17.2857 14.946C17.3179 15.0444 17.2214 15.1429 17.0929 15.1429Z",fill:"white"})]})}function e8(){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.88558 3.36359C11.8283 0.546772 16.5864 0.546772 19.5291 3.36359C22.4903 6.19812 22.4903 10.808 19.5291 13.6425L11.581 21.2505C9.49097 23.2511 6.11532 23.2511 4.02525 21.2505C1.91669 19.2321 1.91669 15.9456 4.02525 13.9272L11.859 6.42869C13.0964 5.24422 15.0896 5.24422 16.327 6.42869C17.5829 7.63087 17.5829 9.59414 16.327 10.7963L8.43612 18.3496C8.13689 18.636 7.66213 18.6256 7.37571 18.3264C7.08929 18.0272 7.09967 17.5524 7.39889 17.266L15.2898 9.71273C15.9286 9.10118 15.9286 8.12382 15.2898 7.51228C14.6324 6.88303 13.5536 6.88303 12.8962 7.51228L5.06248 15.0108C3.57095 16.4385 3.57095 18.7392 5.06248 20.1669C6.57251 21.6123 9.03377 21.6123 10.5438 20.1669L18.4919 12.5589C20.836 10.315 20.836 6.69107 18.4919 4.44718C16.1292 2.18558 12.2855 2.18558 9.9228 4.44718L3.51861 10.5774C3.21939 10.8638 2.74463 10.8534 2.45821 10.5542C2.17179 10.255 2.18216 9.78021 2.48139 9.49379L8.88558 3.36359Z",fill:"#0F0F10"})})}function e9({contractFiles:e,submitError:t,isUploading:i,onChangeFileInput:n,onDeleteFile:o}){return(0,r.jsxs)(te,{children:[(0,r.jsx)(tt,{children:"ÐаполниÑе Ð´Ð¾Ð³Ð¾Ð²Ð¾Ñ ÑоÑÑÑдниÑеÑÑва"}),(0,r.jsxs)(ti,{htmlFor:"cooperation-file-input",children:[(0,r.jsx)(e7,{}),(0,r.jsx)(tr,{children:i?"ÐагÑÑзка...":"ÐагÑÑзиÑе заполненнÑй Ñайл"}),(0,r.jsx)(to,{id:"cooperation-file-input",type:"file",name:"file",accept:".doc,.docx,.pdf",disabled:i,onChange:n})]}),t&&(0,r.jsx)(tn,{children:t}),e.map(({id:e,name:t,type:i,size:n})=>(0,r.jsxs)(ta,{children:[(0,r.jsxs)(tc,{children:[(0,r.jsx)(e8,{}),(0,r.jsxs)(td,{children:[(0,r.jsx)(tl,{children:t}),(0,r.jsxs)(ts,{children:[i," | ","number"==typeof n?n:Number(n)," KB"]}
1)]})]}),(0,r.jsx)(tp,{type:"button",onClick:()=>o(e),"aria-label":"УдалиÑÑ Ñайл",children:(0,r.jsx)(y.lM,{size:24})})]},e)),(0,r.jsxs)(tm,{children:[(0,r.jsxs)(tu,{children:[(0,r.jsxs)(th,{children:[(0,r.jsx)(e4,{}),(0,r.jsx)("div",{children:"ÐÐ¾Ð³Ð¾Ð²Ð¾Ñ ÑоÑÑÑдниÑеÑÑва"})]}),(0,r.jsx)(tg,{children:"ÐзнакомÑÑеÑÑ Ñ Ð¿Ñавилами ÑоÑÑÑдниÑеÑÑва. ÐоÑле ÑÑого необÑ
одимо ÑаÑпеÑаÑаÑÑ, подпиÑаÑÑ Ð¸ пÑикÑепиÑÑ Ð¾ÑÑканиÑованнÑй докÑменÑ"})]}),(0,r.jsx)(tf,{href:e6,target:"_blank",rel:"noreferrer",children:"СкаÑаÑÑ"})]})]})}let te=b.default.div.withConfig({componentId:"sc-fbcdc8a7-0"})(["display:flex;flex-direction:column;gap:1.25rem;"]),tt=b.default.h2.withConfig({componentId:"sc-fbcdc8a7-1"})(["",";margin:0;color:",";"],(0,w.XC)("headlineL"),(0,w.MF)("textPrimary")),ti=b.default.label.withConfig({componentId:"sc-fbcdc8a7-2"})(["position:relative;display:flex;cursor:pointer;padding:8.75rem 2rem;flex-direction:column;justify-content:center;align-items:center;gap:1.25rem;border-radius:1rem;border:1px dashed ",";transition:border-color 100ms ease,background 100ms ease;&:hover{border:1px dashed ",";background:",";}"],(0,w.MF)("borderDefault"),(0,w.MF)("brandPrimary"),(0,w.MF)("brandPrimaryLight")),tr=b.default.div.withConfig({componentId:"sc-fbcdc8a7-3"})(["",";color:",";text-decoration-line:underline;"],(0,w.XC)("bodyTightRegular"),(0,w.MF)("brandPrimary")),tn=b.default.div.withConfig({componentId:"sc-fbcdc8a7-4"})(["",";color:",";"],(0,w.XC)("description2"),(0,w.MF)("danger")),to=b.default.input.withConfig({componentId:"sc-fbcdc8a7-5"})(["position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;"]),ta=b.default.div.withConfig({componentId:"sc-fbcdc8a7-6"})(["display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;border-radius:1rem;border:0.0625rem solid ",";"],(0,w.MF)("borderDefault")),tc=b.default.div.withConfig({componentId:"sc-fbcdc8a7-7"})(["display:flex;align-items:center;gap:1rem;"]),td=b.default.div.withConfig({componentId:"sc-fbcdc8a7-8"})(["display:flex;flex-direction:column;gap:0.5rem;"]),tl=b.default.div.withConfig({componentId:"sc-fbcdc8a7-9"})(["",";color:",";font-size:1.125rem;overflow:hidden;text-overflow:ellipsis;width:35rem;max-width:100%;","{width:17.25rem;}","{width:12.25rem;}"],(0,w.XC)("headlineS"),(0,w.MF)("textPrimary"),(0,w.Hc)("laptopLc"),(0,w.Hc)("mobileLc")),ts=b.default.div.withConfig({componentId:"sc-fbcdc8a7-10"})(["",";color:",";"],(0,w.XC)("bodyTightRegular"),(0,w.MF)("textSecondary")),tp=b.default.button.withConfig({componentId:"sc-fbcdc8a7-11"})(["display:flex;border:none;background:transparent;cursor:pointer;padding:0;color:",";"],(0,w.MF)("textPrimary")),tm=b.default.div.withConfig({componentId:"sc-fbcdc8a7-12"})(["display:flex;padding:1.5rem;flex-direction:column;justify-content:center;align-items:flex-start;gap:1rem;border-radius:1rem;background:",";"],(0,w.MF)("backgroundSecondary")),tu=b.default.div.withConfig({componentId:"sc-fbcdc8a7-13"})(["display:flex;flex-direction:column;gap:0.75rem;"]),th=b.default.div.withConfig({componentId:"sc-fbcdc8a7-14"})(["display:flex;align-items:center;gap:8px;",";font-size:1.125rem;color:",";"],(0,w.XC)("headlineS"),(0,w.MF)("textPrimary")),tg=b.default.div.withConfig({componentId:"sc-fbcdc8a7-15"})(["",";color:",";"],(0,w.XC)("bodyTightRegular"),(0,w.MF)("textSecondary")),tf=b.default.a.withConfig({componentId:"sc-fbcdc8a7-16"})(["",";color:",";text-decoration:none;&:hover{color:",";}"],(0,w.XC)("bodyTightMedium"),(0,w.MF)("brandPrimary"),(0,w.MF)("primaryDarker"));var tC=i(21941),tx=i(56515);let tb="ÐбÑзаÑелÑное поле",ty={phone:tC.Yj().required(tb).test("phone","ÐекоÑÑекÑнÑй Ð½Ð¾Ð¼ÐµÑ ÑелеÑона",e=>!(0,tx.O)(e||"")),inn:tC.Yj().required(tb).matches(/^\d+$/,"ТолÑко ÑиÑÑÑ").test("inn","Ðлина должна бÑÑÑ 10 или 12 Ñимволов",e=>
1!!(e&&(10===e.length||12===e.length))),contactPerson:tC.Yj().required(tb),legalName:tC.Yj().required(tb),name:tC.Yj().required(tb),cityId:tC.Yj().required(tb),email:tC.Yj().required(tb).matches(/^[^\s@]+@[^\s@]+\.[^\s@]+$/,"ÐекоÑÑекÑнÑй email")},tw=tC.Ik().shape({...ty,password:tC.Yj().required(tb),passwordConfirm:tC.Yj().required(tb).test("password-match","ÐаÑоли Ð´Ð¾Ð»Ð¶Ð½Ñ ÑовпадаÑÑ",function(e){return this.parent.password===e})}),tv=tC.Ik().shape({...ty,password:tC.Yj(),passwordConfirm:tC.Yj().test("password-match","ÐаÑоли Ð´Ð¾Ð»Ð¶Ð½Ñ ÑовпадаÑÑ",function(e){return this.parent.password===e})}),tj="registrationStep",tI="isSuccess",t_={phone:"",inn:"",contactPerson:"",legalName:"",name:"",cityId:"",cityName:"",email:"",password:"",passwordConfirm:"",acceptB2b:!0,receiveType:{value:f.NY.ALL,label:f.oA.ALL},category:{value:f.PY.MULTIBRAND,label:f.oj.MULTIBRAND}},tS={registrationStep:f.m.COMPANY_INFO,isSuccess:!1,serviceAuto:[],contractFiles:[],carTypes:[],activeCarType:null,carPage:1,carPagesCount:1,markList:[],isSubmitting:!1,submitError:null};function tT(e,t){switch(t.type){case"SET_STEP":return{...e,registrationStep:t.step,submitError:null};case"SET_SUCCESS":return{...e,isSuccess:t.value};case"SET_SERVICE_AUTO":return{...e,serviceAuto:t.marks};case"TOGGLE_MARK":{let i=e.serviceAuto.some(e=>e.id===t.mark.id);return{...e,serviceAuto:i?e.serviceAuto.filter(e=>e.id!==t.mark.id):[...e.serviceAuto,t.mark]}}case"SET_CONTRACT_FILES":return{...e,contractFiles:t.files};case"ADD_CONTRACT_FILE":return{...e,contractFiles:[...e.contractFiles,t.file]};case"REMOVE_CONTRACT_FILE":return{...e,contractFiles:e.contractFiles.filter(e=>e.id!==t.id)};case"SET_CAR_TYPES":return{...e,carTypes:t.types};case"SET_ACTIVE_CAR_TYPE":return{...e,activeCarType:t.typeId,carPage:1};case"SET_CAR_PAGE":return{...e,carPage:t.page};case"SET_MARK_LIST":return{...e,markList:t.marks,carPagesCount:t.pagesCount};case"SET_SUBMITTING":return{...e,isSubmitting:t.value};case"SET_SUBMIT_ERROR":return{...e,submitError:t.error};default:return e}}var tM=i(36342);function tF(){let e=(0,u.useRouter)(),[t,i]=(0,p.useState)(""),[n,o]=(0,p.useState)(!1),[a,d]=(0,p.useReducer)(tT,{...tS,registrationStep:f.m.COMPANY_INFO});(0,p.useEffect)(()=>{o(!0)},[]);let l=(0,p.useCallback)(e=>{d({type:"SET_STEP",step:e}),localStorage.setItem(tj,String(e))},[]),s=async e=>{d({type:"SET_SUBMITTING",value:!0}),d({type:"SET_SUBMIT_ERROR",error:null});try{if(t){await (0,f.Lt)({authToken:t,cityId:e.cityId,phone:e.phone,name:e.name,email:e.email,inn:e.inn,legalName:e.legalName,contactPerson:e.contactPerson,acceptB2b:e.acceptB2b,receiveType:e.receiveType.value,category:e.category.value,marks:a.serviceAuto}),l(f.m.CARS);return}await (0,f.$5)({city_id:Number(e.cityId),phone:e.phone,name:e.name,email:e.email,legal_name:e.legalName,inn:e.inn,contact_person:e.contactPerson,password:e.password,password_confirm:e.passwordConfirm,accept_b2b:e.acceptB2b?"1":"0",receive_type:e.receiveType.value,category:e.category.value}),(0,tM.n)("reg");let{data:r}=await (0,f.iD)({email_or_phone:e.phone,password:e.password});(0,C.Rz)(r.access_token,r.refresh_token),(0,C.dC)("service"),i(r.access_token),await (0,f.uq)({authToken:r.access_token,step:f.m.CARS}),l(f.m.CARS)}catch(e){d({type:"SET_SUBMIT_ERROR",error:(0,x.LH)(e,"Ðе ÑдалоÑÑ ÑоÑ
ÑаниÑÑ Ð´Ð°Ð½Ð½Ñе")})}finally{d({type:"SET_SUBMITTING",value:!1})}},b=(0,h.Wx)({initialValues:t_,validationSchema:t?tv:tw,onSubmit:s,enableReinitialize:!1}),{handleSubmit:y,isValid:w,dirty:j,values:I,setValues:_,setFieldValue:S}=b,T=async e=>{let i=e.target.files?.[0];if(e.target.value="",i){if(!t)return void d({type:"SET_SUBMIT_ERROR",error:"СеÑÑÐ¸Ñ Ð½Ðµ найдена. ÐеÑниÑеÑÑ Ðº ÑÐ°Ð³Ñ 1 или войдиÑе заново."});d({type:"SET_SUBMIT_ERROR",error:null}),d({type:"SET_SUBMITTING",value:!0});try{let e=await (0,f.qB)({authToken:t,file:i}),r=e?.data||{},[n,o]=String(r.name||i.name).split(/\.(?=[^.]+$)/),a=Number(r.file_size??i.size)/1e3,c=Number(r.id);if(!c)throw Error("Ðе ÑдалоÑÑ Ð¿Ð¾Ð»ÑÑиÑÑ id Ñайла");d({type:"ADD_CONTRACT_FILE",file:{id:c,name:n,type:o?`.${o}`:"",size:Number(a.toFixed(3)),objectId:r.object_id?Number(r.object_id):void 0,url:r.url?String(r.url):void 0}})}catch(e){d({type:"SET_SUBMIT_ERROR",error:(0,x.LH)(e,"Ðе ÑдалоÑÑ Ð·Ð°Ð³ÑÑзиÑÑ Ñайл")})}finally{d({type:"SET_SUBMITTING",value:!1})}}},M=async e=>{if(t)try{await (0,f.IH)({authToken:t,id:e}),d({type:"REMOVE_CONTRACT_FILE",id:e})}catch(e){d({type:"SET_SUBMIT_ERROR",error:(0,x.LH)(e,"Ðе ÑдалоÑÑ ÑдалиÑÑ Ñайл")})}},F=({id:e,name:t,logo:i})=>{d({type:"TOGGLE_MARK",mark:{id:e,name:t,typeId:a.activeCarType,logo:i}})},L=async()=>
1{if(t){d({type:"SET_SUBMITTING",value:!0});try{await (0,f.uq)({authToken:t,step:""}),d({type:"SET_SUCCESS",value:!0}),localStorage.setItem(tI,"true")}catch(e){d({type:"SET_SUBMIT_ERROR",error:(0,x.LH)(e,"Ðе ÑдалоÑÑ Ð¾ÑпÑавиÑÑ Ð·Ð°ÑвкÑ")})}finally{d({type:"SET_SUBMITTING",value:!1})}}},k=j&&w||!!(I.phone&&I.cityId&&I.email),E=a.registrationStep!==f.m.CARS||a.serviceAuto.length>0,A=a.contractFiles.length>0;(0,p.useEffect)(()=>{let t,r=(0,C.c4)(),n="string"==typeof e.query.token?e.query.token:"",o="string"==typeof e.query.service_registration_step?Number(e.query.service_registration_step):null;!r&&n?((0,C.Rz)(n),(0,C.dC)("service"),i(n)):r&&i(r);let a=(t=Number(localStorage.getItem(tj)))===f.m.COMPANY_INFO||t===f.m.CARS||t===f.m.DOCUMENT_COOPERATION?t:f.m.COMPANY_INFO,c="true"===localStorage.getItem(tI);o===f.m.COMPANY_INFO||o===f.m.CARS||o===f.m.DOCUMENT_COOPERATION?l(o):d({type:"SET_STEP",step:a}),c&&d({type:"SET_SUCCESS",value:!0})},[e.query.token,e.query.service_registration_step,l]),(0,p.useEffect)(()=>{t&&(0,f.r_)(t).then(e=>{if(!e)return;let t={[f.NY.CALL]:f.oA.CALL,[f.NY.BIDS]:f.oA.BIDS,[f.NY.ALL]:f.oA.ALL},i={[f.PY.OFFICIAL_DEALER]:f.oj.OFFICIAL_DEALER,[f.PY.CERTIFIED]:f.oj.CERTIFIED,[f.PY.MULTIBRAND]:f.oj.MULTIBRAND},r=e.category??f.PY.MULTIBRAND,n=e.receive_type??f.NY.ALL;_({phone:e.phone||"",inn:e.payment?.inn||"",contactPerson:e.contacts?.contact_person||"",legalName:(e.contacts?.legal_name||"").replace(/"/g,'"'),name:(e.name||"").replace(/"/g,'"'),cityId:String(e.contacts?.city_id||""),cityName:e.contacts?.city_name||"",email:e.email||"",password:"",passwordConfirm:"",acceptB2b:!0,receiveType:{value:n,label:t[n]||f.oA.ALL},category:{value:r,label:i[r]||f.oj.MULTIBRAND}}),d({type:"SET_SERVICE_AUTO",marks:e.service_auto?.map(({logo:e,mark_id:t,mark_name:i,type:r})=>({id:t,name:i,typeId:r?.id??null,logo:e}))||[]}),d({type:"SET_CONTRACT_FILES",files:e.verification_contracts?.map(e=>({id:e.id,name:e.name.split(".")[0],type:e.name.includes(".")?`.${e.name.split(".").pop()}`:"",size:(e.file_size||0)/1e3,objectId:e.object_id,url:e.url}))||[]})}).catch(()=>void 0)},[t,_]),(0,p.useEffect)(()=>{t&&(0,f.XI)(t).then(e=>{let t=e?.types||[];d({type:"SET_CAR_TYPES",types:t}),t.length>0&&d({type:"SET_ACTIVE_CAR_TYPE",typeId:t[0].id})}).catch(()=>void 0)},[t]),(0,p.useEffect)(()=>{t&&a.activeCarType&&(0,f.gc)({authToken:t,page:a.carPage,typeId:a.activeCarType}).then(e=>{d({type:"SET_MARK_LIST",marks:e?.marks||[],pagesCount:e?.pages?.pagesCount||1})}).catch(()=>void 0)},[t,a.activeCarType,a.carPage]),(0,p.useEffect)(()=>{a.isSuccess&&t&&(0,f.ut)(t).then(e=>{e?.is_verified&&(localStorage.setItem(tj,String(f.m.COMPANY_INFO)),localStorage.setItem(tI,"false"),window.location.replace(`${c.zl}/cabinet/service/profile`))}).catch(()=>void 0)},[a.isSuccess,t]);let N=(()=>{switch(a.registrationStep){case f.m.CARS:return(0,r.jsx)(eZ,{typeList:a.carTypes,markList:a.markList,serviceAuto:a.serviceAuto,active:a.activeCarType,carPage:a.carPage,carPagesCount:a.carPagesCount,onPageChange:e=>d({type:"SET_CAR_PAGE",page:e}),onSelectMark:F,onSetActive:e=>d({type:"SET_ACTIVE_CAR_TYPE",typeId:e})});case f.m.DOCUMENT_COOPERATION:return(0,r.jsx)(e9,{contractFiles:a.contractFiles,submitError:a.submitError,isUploading:a.isSubmitting,onChangeFileInput:T,onDeleteFile:M});case f.m.COMPANY_INFO:default:return(0,r.jsx)(eE,{formik:b,submitError:a.submitError})}})(),R={step:a.registrationStep,isDisabledNextButton:!k||!E,isSubmitDisabled:!A,isSubmitting:a.isSubmitting,acceptB2b:I.acceptB2b,onNext:()=>{a.registrationStep===f.m.COMPANY_INFO?y():a.registrationStep===f.m.CARS&&t&&(d({type:"SET_SUBMITTING",value:!0}),(0,f.Mo)({authToken:t,marks:a.serviceAuto}).then(()=>(0,f.uq)({authToken:t,step:f.m.DOCUMENT_COOPERATION})).then(()=>l(f.m.DOCUMENT_COOPERATION)).catch(e=>{d({type:"SET_SUBMIT_ERROR",error:(0,x.LH)(e,"Ðе ÑдалоÑÑ ÑоÑ
ÑаниÑÑ Ð¼Ð°Ñки")})}).finally(()=>d({type:"SET_SUBMITTING",value:!1})))},onPrev:()=>{a.registrationStep<=f.m.COMPANY_INFO||l(a.registrationStep-1)},onSuccess:L,onAcceptB2b:()=>S("acceptB2b",!I.acceptB2b)};return(0,r.jsx)(em,{children:n&&(0,m.createPortal)((0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(g.Rr,{fixed:!0,active:!0,alignItemsBaseline:!0,zIndex:10001,overflow:"auto",children:(0,r.jsx)(eu,{children:(0,r.jsxs)(eh,{children:[(0,r.jsx)(v,{step:a.registrationStep,onClose:()=>{(0,C.SZ)(),localStorage.setItem(tj,String(f.m.COMPANY_INFO)),localStorage.setItem(tI,"false"),e.push("/join/service/login")}}),(0,r.jsxs)(ef,{children:[(0,r.jsxs)("div",{children:[N,(0,r.jsx)(eC,{children:(0,r.jsx)(P,{...R})})]}),(0,r.jsx)(U,{step:a.registrationStep,info:I,isShowInfo:k,carTypes:a.carTypes,serviceAuto:a.serviceAuto,isShowCooperationFile:A})]}),(0,r.jsx)(ex,{children:(0,r.jsx)(P,{...R})})]})})}),(0,r.jsx)(eg,{}),a.isSuccess&&(0,r.jsx)(ea,{})]}),document.body)})}let tL=({ip:e,profile:t})=>(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.g7,{title:"РегиÑÑÑаÑÐ¸Ñ Ð°Ð²ÑоÑеÑвиÑа | UREMONT",description:"ÐаÑегиÑÑÑиÑÑйÑе авÑоÑеÑÐ²Ð¸Ñ Ð½Ð° плаÑÑоÑме UREMONT.",canonical:`${c.NB}/join/service/signup`,ogImage:a.AG.uremont}),(0,r.jsxs)("div",{className:"page-layout",children:[(0,r.jsx)(n.Y,{ip:e,profile:t,contacts:s.PL,authLink:"/join/login"}),(0,r.jsx)("main",{className:`${l().main} ${l().mainSignup}`,children:(0,r.jsx)(tF,{})}),(0,r.jsx)(o.c,{uremontMainLink:c.NB,uremontLink:c.$7,autopartsLink:c.S$,serviceLink:c.hM,insuranceLink:c.HV,corpar
1kLink:c.hu,uremontMapLink:c.SI})]})]});tL.getInitialProps=async({req:e})=>({});let tk=tL},36342:(e,t,i)=>{"use strict";i.d(t,{n:()=>n});var r=i(70415);let n=(e,t)=>"function"!=typeof window.ym?Promise.resolve():Promise.race([new Promise(e=>setTimeout(e,500)),new Promise(i=>{window.ym(r.TD,"reachGoal",e,t,i)})])},42588:(e,t,i)=>{"use strict";i(32),i(8583)},56515:(e,t,i)=>{"use strict";i.d(t,{O:()=>o});var r=i(1201);let n={"+7":11,"+375":12};function o(e=""){let t=e.replace(/\D/g,""),[i,...a]=e.trim().split(" "),c=n[i];return(0,r.A)(a)?"ÐожалÑйÑÑа, введиÑе ÑелеÑон":c&&c===t.length?null:"ÐедопÑÑÑимÑй ÑоÑÐ¼Ð°Ñ Ð½Ð¾Ð¼ÐµÑа"}},70784:(e,t,i)=>{"use strict";i.d(t,{d:()=>c});var r=i(6029),n=i(41735),o=i(27737),a=i(27724);function c({activePage:e,pagesCount:t,onPageChange:i}){if(!t||t<=1)return null;let n=function({activePage:e,pagesCount:t}){if(t<=1)return[];let i=Array.from(Array(t).keys());return t>5?e<4?i.slice(1,5):e>t-3?i.slice(-5,-1):i.slice(e-3,e+2):i.slice(1,t-1)}({activePage:e,pagesCount:t});return(0,r.jsxs)(d,{children:[1!==e&&(0,r.jsx)(l,{type:"button",$pointer:!0,onClick:()=>i(e-1),children:(0,r.jsx)(o.cL,{direction:"left",size:16})}),(0,r.jsx)(l,{type:"button",$active:1===e,$pointer:!0,onClick:()=>i(1),children:"1"}),t>6&&e>5&&(0,r.jsx)(l,{as:"span",children:"..."}),n.map(t=>(0,r.jsx)(l,{type:"button",$active:e===t+1,$pointer:!0,onClick:()=>i(t+1),children:t+1},t)),t>6&&e<t-4&&(0,r.jsx)(l,{as:"span",children:"..."}),t>1&&(0,r.jsx)(l,{type:"button",$active:e===t,$pointer:!0,onClick:()=>i(t),children:t}),e!==t&&(0,r.jsx)(l,{type:"button",$pointer:!0,onClick:()=>i(e+1),children:(0,r.jsx)(o.cL,{direction:"right",size:16})})]})}let d=n.default.div.withConfig({componentId:"sc-7166d10c-0"})(["display:flex;align-items:center;justify-content:center;gap:0.25rem;white-space:nowrap;"]),l=n.default.button.withConfig({componentId:"sc-7166d10c-1"})(["width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;padding:0.25rem;border:none;border-radius:0.5rem;background:transparent;font-size:0.9375rem;font-weight:500;line-height:1.25rem;color:",";"," ",""],(0,a.MF)("textPrimary"),({$active:e})=>e&&(0,n.css)(["background-color:",";color:",";"],(0,a.MF)("brandPrimary"),(0,a.MF)("bw0")),({$pointer:e})=>e&&(0,n.css)(["cursor:pointer;"]))},81348:(e,t,i)=>{"use strict";i(32),i(8583)},96438:(e,t,i)=>{"use strict";i.d(t,{oA:()=>w,Y0:()=>v,NY:()=>y,oj:()=>I,wB:()=>_,PY:()=>j,m:()=>b,qB:()=>C,JL:()=>l,rH:()=>c,IH:()=>x,gc:()=>f,XI:()=>g,r_:()=>u,ut:()=>h,iD:()=>o,PO:()=>d,Lt:()=>p,Mo:()=>m,uq:()=>s,$5:()=>a});var r=i(88417),n=i(63980);function o(e){return r.Y.post("service/profile/auth/",{email_or_phone:e.email_or_phone.replace(/\D/g,""),password:e.password}).then((0,n.mi)()).catch((0,n.kB)())}function a(e){let t=new FormData;return t.append("city_id",String(e.city_id)),t.append("phone",e.phone.replace(/\D/g,"")),t.append("name",e.name),t.append("email",e.email),t.append("legal_name",e.legal_name),t.append("inn",e.inn),t.append("contact_person",e.contact_person),t.append("password",e.password),t.append("password_confirm",e.password_confirm),t.append("accept_b2b",e.accept_b2b),t.append("receive_type",String(e.receive_type)),t.append("category",String(e.category)),r.Y.post("service/profile/registration/",t).then((0,n.mi)()).catch((0,n.kB)())}function c(e){let t=new FormData;return t.append("token",e.token),t.append("code",e.code),r.Y.post("service/profile/confirm-phone/",t).then((0,n.mi)()).catch((0,n.kB)())}function d(e){let t=new FormData;return t.append("email_or_phone",e.replace(/\D/g,"")),r.Y.post("service/profile/reset-password/",t).then((0,n.mi)()).catch((0,n.kB)("recovery_timeout"))}function l({code:e,token:t}){let i=new FormData;return i.append("token",t),i.append("code",e),r.Y.post("service/profile/check-reset-code/",i).then((0,n.mi)()).catch((0,n.kB)())}function s({authToken:e,step:t}){let i=new FormData;return i.append("auth_token",e),i.append("step",String(t)),r.Y.post("service/profile/set-registration-step/",i).then((0,n.mi)()).catch((0,n.kB)())}function p(e){let t=new FormData;return t.append("auth_token",e.authToken),t.append("user[name]",e.
1name),t.append("user[phone]",e.phone.replace(/\D/g,"")),t.append("user[email]",e.email),t.append("user[accept_b2b]",e.acceptB2b?"1":"0"),t.append("contacts[city_id]",String(e.cityId)),t.append("contacts[legal_name]",e.legalName),t.append("contacts[contact_person]",e.contactPerson),t.append("payment[inn]",e.inn),t.append("service_profile[receive_type]",String(e.receiveType)),t.append("service_profile[category]",String(e.category)),(e.marks||[]).forEach(e=>{t.append("auto[mark_id][]",String(e.id))}),r.Y.post("service/profile/save/",t).then((0,n.mi)()).catch((0,n.kB)())}function m({authToken:e,marks:t}){let i=new FormData;return i.append("auth_token",e),t.forEach(e=>{i.append("mark_ids[]",String(e.id))}),r.Y.post("service/mark/save/",i).then((0,n.mi)()).catch((0,n.kB)())}function u(e){return r.Y.get("service/profile/view/",{params:{auth_token:e}}).then(e=>e.data.data).catch((0,n.kB)())}function h(e){return r.Y.get("service/is-verified/",{params:{auth_token:e}}).then(e=>e.data.data).catch((0,n.kB)())}function g(e){let t=new FormData;return t.append("auth_token",e),t.append("per-page","200"),r.Y.post("car/type/list/",t).then(e=>e.data.data).catch((0,n.kB)())}function f({authToken:e,page:t,typeId:i}){let o=new FormData;return o.append("auth_token",e),o.append("per-page","16"),o.append("page",String(t)),o.append("type_id",String(i)),r.Y.post("car/mark/get-list/",o).then(e=>e.data.data).catch((0,n.kB)())}function C({authToken:e,file:t}){if(t.size/1024>20480)return Promise.reject({common:["ÐакÑималÑнÑй ÑÐ°Ð·Ð¼ÐµÑ Ñайла - 20.00 MB"]});let i=new FormData;return i.append("auth_token",e),i.append("file",t),r.V.post("service/verification/add-contract/",i).then((0,n.mi)()).catch((0,n.kB)())}function x({authToken:e,id:t}){let i=new FormData;return i.append("auth_token",e),i.append("id",String(t)),r.V.post("service/verification/delete-contract/",i).then((0,n.mi)()).catch((0,n.kB)())}let b={COMPANY_INFO:1,CARS:2,DOCUMENT_COOPERATION:3},y={CALL:1,BIDS:2,ALL:3},w={CALL:"ТолÑко звонки",BIDS:"ТолÑко заÑвки",ALL:"Ðвонки + заÑвки"},v=[{value:y.CALL,label:w.CALL},{value:y.BIDS,label:w.BIDS},{value:y.ALL,label:w.ALL}],j={OFFICIAL_DEALER:0,CERTIFIED:1,MULTIBRAND:2},I={OFFICIAL_DEALER:"ÐÑиÑиалÑнÑй дилеÑ",CERTIFIED:"СеÑÑиÑиÑиÑÐ¾Ð²Ð°Ð½Ð½Ð°Ñ Ð¡Ð¢Ð",MULTIBRAND:"ÐÑлÑÑибÑÐµÐ½Ð´Ð¾Ð²Ð°Ñ ÐСТÐ"},_=[{value:j.OFFICIAL_DEALER,label:I.OFFICIAL_DEALER,description:"ÐвÑоÑизованнÑй ÑеÑÐ²Ð¸Ñ Ð¼Ð°Ñки, ÑабоÑÐ°ÐµÑ Ð¿Ð¾ ÑÑандаÑÑам пÑоизводиÑелÑ"},{value:j.CERTIFIED,label:I.CERTIFIED,description:"ÐÑоÑла пÑовеÑÐºÑ UREMONT: докÑменÑÑ, обоÑÑдование, маÑÑеÑа"},{value:j.MULTIBRAND,label:I.MULTIBRAND,description:"ÐезавиÑимÑй авÑоÑеÑвиÑ, обÑлÑÐ¶Ð¸Ð²Ð°ÐµÑ ÑазнÑе маÑки"}]}},e=>{e.O(0,[4477,4568,2592,3897,5465,2074,324,5633,4981,636,6593,8792],()=>e(e.s=4513)),_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.