1(self.webpackChunkbezlimit=self.webpackChunkbezlimit||[]).push([[3063,9895],{40939:function(e,t){"use strict";t.A={src:"/_next/static/media/bg_number_2_2_4x.c1675c1e.jpg",height:1824,width:1440,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wAARCAAIAAYDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAf/xAAbEAACAgMBAAAAAAAAAAAAAAAAAgEDERIhUv/EABUBAQEAAAAAAAAAAAAAAAAAAAED/8QAFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8Anl1lSrC7S3pk5mQAWL//2Q==",blurWidth:6,blurHeight:8}},86277:function(e,t){"use strict";t.A={src:"/_next/static/media/doc1.793e0f7c.svg",height:32,width:25,blurWidth:0,blurHeight:0}},22034:function(e,t){"use strict";t.A={src:"/_next/static/media/[email protected]",height:265,width:224,blurWidth:0,blurHeight:0}},52028:function(e,t){"use strict";t.A={src:"/_next/static/media/success-modal.1d6fa4f0.png",height:409,width:495,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAMAAAACh/xsAAAAeFBMVEVrPWf+87zpx3ljMHQqCTn367bBmmVMaXErCzg6G0MrCjNmMHhoOYNZKnJoNH5GG1ysj2+oe0xlMXgaADDWrmn/+7aEX3NcKmzVzc3Ak0tOHmL76reXcID/8Kmkd2BUH1hPJlv235h3RIRPJje9opdAGzlFEFv/988fq3NgAAAAHHRSTlMM/fnvpv3+APUcaVV8W8HK/fqayPv6/v0+qpZLi0S0LQAAAAlwSFlzAAALEwAACxMBAJqcGAAAAEJJREFUeJwFwYUBwCAQBLBDH6i7QR26/4ZNQGiFWOcNKO8p+Y8j8+odWViQ75ypQTsUR3OFPjqgOmv9dABZaYy09AN2KgOEZxjRnQAAAABJRU5ErkJggg==",blurWidth:8,blurHeight:7}},19895:function(e,t,l){"use strict";l.d(t,{A:function(){return z}});var s=l(58775),r=l(48557),i=l(33423),a=l(73884),n=l(10159),o=l(2543),d=l.n(o);l(62679);var c=l(72736),u=l(19468),h=l.n(u),m=l(95631);function Support(){var e;let{t}=(0,m.B)(),l=(0,a.useContext)(c.MQ);return(0,s.jsx)(i.o5,{as:"div",className:"bl-support support-block",children:(0,s.jsxs)(i.$x,{size:16,direction:"vertical",children:[(0,s.jsx)(i.o5,{children:t("ÐÑÑглоÑÑÑоÑÐ½Ð°Ñ Ð¿Ð¾Ð´Ð´ÐµÑжка")}),(0,s.jsx)(i.o5,{className:"support-contacts",children:(0,s.jsx)(h(),{className:"phone-number",href:"tel:+74959669999",children:"+7 495 9669999"})}),(null!==(e=d().gte(null==l?void 0:l.width,768))&&void 0!==e?e:0)?(0,s.jsxs)(i.o5,{as:"div",className:"support-contacts questions",children:[t("ÐоÑвилиÑÑ Ð²Ð¾Ð¿ÑоÑÑ?"),(0,s.jsx)(h(),{href:"https://lk.bezlimit.ru/feedback",target:"_blank",rel:"noreferrer",children:t("ÐапиÑиÑе нам")})]}):null]})})}l(50319),l(65974);let{Panel:x}=i.SD;function Selection(){let{t:e}=(0,m.B)();return(0,s.jsx)(i.o5,{as:"div",className:"bl-selection-info legal-info-block",children:(0,s.jsx)(i.SD,{ghost:!0,expandIconPosition:"end",children:(0,s.jsxs)(x,{header:e("ТаÑиÑÑ Ð¸ ÑÑлÑги"),children:[(0,s.jsx)(h(),{href:"/plans",children:e("ТаÑиÑÑ")}),(0,s.jsx)(h(),{href:"/services",children:e("УÑлÑги")}),(0,s.jsx)(h(),{href:"/number",children:e("ÐÐ¾Ð´Ð±Ð¾Ñ Ð½Ð¾Ð¼ÐµÑа")}),(0,s.jsx)(h(),{href:"/kids",children:e("SIM-каÑÑа Ð´Ð»Ñ Ñебенка")}),(0,s.jsx)(h(),{href:"/promo/ne-plati-za-svyaz",children:e("ÐкÑии")}),(0,s.jsx)(h(),{href:"/delivery",children:e("ÐоÑÑавка")})]},"1")})})}l(9353);let{Panel:g}=i.SD;function About(){let{t:e}=(0,m.B)();return(0,s.jsx)(i.o5,{as:"div",className:"bl-selection-info legal-info-block",children:(0,s.jsx)(i.SD,{ghost:!0,expandIconPosition:"end",children:(0,s.jsxs)(g,{header:e("Ркомпании"),children:[(0,s.jsx)(h(),{href:"/about",children:e("Ркомпании")}),(0,s.jsx)(h(),{href:"/dnk",children:e("ÐÐÐ ÐÐµÐ·Ð»Ð¸Ð¼Ð¸Ñ ")}),(0,s.jsx)(h(),{href:"/news",children:e("ÐовоÑÑи")}),(0,s.jsx)(h(),{href:"/gallery",children:e("ÐалеÑеÑ")}),(0,s.jsx)(h(),{href:"/vacancies",children:e("ÐаканÑии")}),(0,s.jsx)(h(),{href:"/cooperation",children:e("СоÑÑÑдниÑеÑÑво")}),(0,s.jsx)(h(),{href:"/number-categories",children:e("ЧÑо Ñакое кÑаÑивÑй Ð½Ð¾Ð¼ÐµÑ ")})]},"1")})})}var j=l(31210),p=l.n(j);l(38695);var v={src:"/_next/static/media/vk.724a5532.svg",height:10,width:17,blurWidth:0,blurHeight:0},A={src:"/_next/static/media/youtube.2c370a86.svg",height:11,width:14,blurWidth:0,blurHeight:0},b={src:"/_next/static/media/tg_footer.6d750459.svg",height:16,width:17,blurWidth:0,blurHeight:0},y={src:"/_next/static/media/ok_footer.bf5b4f61.svg",height:18,width:10,blurWidth:0,blurHeight:0},w={src:"/_next/static/media/ru_footer.cfb2e5bc.svg",height:16,width:19,blurWidth:0,blurHeight:0},N={src:"/_next/static/media/dzen_footer.9baa0fc0.svg",height:16,width:17,blurWidth:0,blurHeight:0};function Networks(){var e,t,l,r,n,o,u,x;let{t:g}=(0,m.B)(),j=(0,a.useContext)(c.MQ);return(0,s.jsx)(i.o5,{as:"div",className:"bl-networks",children:(0,s.jsxs)(i.$x,{size:12,children:[(0,s.jsx)(i.o5,{className:"title-networks",children:g("СоÑиалÑнÑе ÑеÑи")}),(0,s.jsx)(i.o5,{children:(0,s.jsx)(h(),{href:"https://vk.com/bezlimit.official ",target:"_blank",rel:"noreferrer",children:(0,s.jsx)(p(),{className:"icon-footer-logo",src:v,width:d().gte(null!==(e=null==j?void 0:j.width)&&void 0!==e?e:0,768)?20:15,alt:"logo"})})}),(0,s.jsx)(i.o5,{children:(0,s.jsx)(h(),{href:"https://t.me/bezlimitofficial_tg ",target:"_blank",rel:"noreferrer",children:(0,s.jsx)(p(),{className:"icon-footer-logo",src:b,width:d().gte(null!==(t=null==j?void 0:j.width)&&void 0!==t?t:0,768)?17:12,alt:"logo"})})}),(0,s.jsx)(i.o5,{children:(0,s.jsx)(h(),{href:"https://ok.ru/bezlimitofficial ",target:"_blank",rel:"noreferrer",children:(0,s.jsx)(p(),{className:"icon-footer-logo",src:y,width:d().gte(null!==(l=null==j?void 0:j.width)&&void 0!==l?l:0,768)?10:7,alt:"logo"})})}),(0,s.jsx)(i.o5,{children:(0,s.jsx)(h(),{href:"https://rutube.ru/ch
1annel/30803606/ ",target:"_blank",rel:"noreferrer",children:(0,s.jsx)(p(),{className:"icon-footer-logo",src:w,width:d().gte(null!==(r=null==j?void 0:j.width)&&void 0!==r?r:0,768)?18:13,height:d().gte(null!==(n=null==j?void 0:j.width)&&void 0!==n?n:0,768)?17:11,alt:"logo"})})}),(0,s.jsx)(i.o5,{children:(0,s.jsx)(h(),{href:"https://www.youtube.com/channel/UCs2uaoSV9noMOKhXeLW56kA/featured ",target:"_blank",rel:"noreferrer",children:(0,s.jsx)(p(),{className:"icon-footer-logo",src:A,width:d().gte(null!==(o=null==j?void 0:j.width)&&void 0!==o?o:0,768)?20:14,height:d().gte(null!==(u=null==j?void 0:j.width)&&void 0!==u?u:0,768)?16:12,alt:"logo"})})}),(0,s.jsx)(i.o5,{children:(0,s.jsx)(h(),{href:"https://dzen.ru/bezlimit ",target:"_blank",rel:"noreferrer",children:(0,s.jsx)(p(),{className:"icon-footer-logo",src:N,width:d().gte(null!==(x=null==j?void 0:j.width)&&void 0!==x?x:0,768)?16:12,height:17,alt:"logo"})})})]})})}function LegalInfo(){let{t:e}=(0,m.B)();return(0,s.jsxs)(i.o5,{as:"div",className:"bl-legal-info legal-info-block",children:[(0,s.jsx)(i.o5,{className:"date-info",children:e("\xa9 ÐÐµÐ·Ð»Ð¸Ð¼Ð¸Ñ {year} г.",{year:new Date().getFullYear().toString()})}),(0,s.jsx)(h(),{href:"/legal",rel:"noreferrer",children:(0,s.jsx)(i.o5,{className:"legal-info",children:e("ЮÑидиÑеÑÐºÐ°Ñ Ð¸Ð½ÑоÑмаÑиÑ")})})]})}l(33685),l(55087);var C={src:"/_next/static/media/art_lebedev.b1ac7f08.svg",height:46,width:100,blurWidth:0,blurHeight:0};let RusInLogo=()=>(0,s.jsx)("div",{children:(0,s.jsxs)("svg",{width:"148",height:"27",viewBox:"0 0 148 27",fill:"none",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",children:[(0,s.jsx)("rect",{width:"148",height:"27",fill:"url(#pattern0)"}),(0,s.jsxs)("defs",{children:[(0,s.jsx)("pattern",{id:"pattern0",patternContentUnits:"objectBoundingBox",width:"1",height:"1",children:(0,s.jsx)("use",{xlinkHref:"#image0_2772_21632",transform:"matrix(0.00333333 0 0 0.0182716 0 -0.00246914)"})}),(0,s.jsx)("image",{id:"image0_2772_21632",width:"300",height:"55",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAA3CAYAAAC2G3eZAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAA3VpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5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3uLaRzsUH/wukk7Ft0+FDMsvhMJ9TRIBl
1U8+S22aBTTYJaSqoTweXQBfTQGw6vDSy/dmXn896GsFR+2OJNvUo2T9CYZNNNh02ZH/T3SabbLIByyabbLKpu+n/BRgAgyr4CcJJacIAAAAASUVORK5CYII="})]})]})});function InfoSite(){var e;let{t}=(0,m.B)(),l=(0,a.useContext)(c.MQ);return(0,s.jsx)(i.o5,{as:"div",className:"bl-info-site",children:(0,s.jsx)(i.o5,{as:"div",className:"bl-legal-info site-info-block",children:(null!==(e=d().gte(null==l?void 0:l.width,769))&&void 0!==e?e:0)?(0,s.jsxs)("div",{className:"site-info-block-row",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)(i.o5,{className:"date-info studio",children:t("Ðадизайнено в СÑÑдии ÐÑÑÐµÐ¼Ð¸Ñ Ðебедева")}),(0,s.jsx)(h(),{href:"https://www.artlebedev.ru/bezlimit/site/",target:"_blank",rel:"noreferrer",children:(0,s.jsx)(i.o5,{className:"legal-info last",children:t("ÐнÑоÑмаÑÐ¸Ñ Ð¾ ÑайÑе")})})]}),(0,s.jsx)("div",{children:(0,s.jsx)(p(),{className:"icon-footer-design",src:C,width:100,height:46,alt:"logo"})}),(0,s.jsx)("div",{className:"col-rus-in",children:(0,s.jsx)(h(),{href:"https://rus-in.com/",target:"_blank",rel:"noreferrer",children:(0,s.jsx)(RusInLogo,{})})})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"site-info-block-row",children:[(0,s.jsx)("div",{children:(0,s.jsx)(p(),{className:"icon-footer-design",src:C,width:100,height:46,alt:"logo"})}),(0,s.jsxs)("div",{children:[(0,s.jsxs)(i.o5,{className:"date-info",children:[t("Ðадизайнено в СÑÑдии")," ",(0,s.jsx)("br",{}),t("ÐÑÑÐµÐ¼Ð¸Ñ Ðебедева")]}),(0,s.jsx)(h(),{href:"https://www.artlebedev.ru/bezlimit/site/",target:"_blank",rel:"noreferrer",children:(0,s.jsx)(i.o5,{className:"legal-info last",children:t("ÐнÑоÑмаÑÐ¸Ñ Ð¾ ÑайÑе")})})]})]}),(0,s.jsx)("div",{className:"col-rus-in",children:(0,s.jsx)(h(),{href:"https://rus-in.com/",target:"_blank",rel:"noreferrer",children:(0,s.jsx)(RusInLogo,{})})})]})})})}var P={src:"/_next/static/media/footer_logo.a32ff406.svg",height:60,width:264,blurWidth:0,blurHeight:0};function IconFooter(){return(0,s.jsx)(i.o5,{as:"div",className:"bl-support",children:(0,s.jsx)(p(),{className:"icon-footer-logo",src:P,width:32,alt:"logo"})})}l(78235);var F={src:"/_next/static/media/apple.5571901f.svg",height:24,width:20,blurWidth:0,blurHeight:0};function DownloadApp(){let{t:e}=(0,m.B)();return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(i.o5,{as:"div",className:"bl-download",children:[(0,s.jsx)(i.o5,{as:"div",className:"title",children:e("СкаÑайÑе пÑиложение:")}),(0,s.jsx)(i.eB,{children:(0,s.jsx)(i.o5,{as:"div",className:"download-app",children:(0,s.jsxs)(h(),{href:"https://apps.apple.com/ru/app/store-%D0%BC%D0%B8%D1%80-%D0%BA%D1%80%D0%B0%D1%81%D0%B8%D0%B2%D1%8B%D1%85-%D0%BD%D0%BE%D0%BC%D0%B5%D1%80%D0%BE%D0%B2/id1495144217",target:"_blank",rel:"noreferrer",children:[(0,s.jsx)(p(),{className:"icon-footer-logo",src:F,width:26,alt:"logo"}),(0,s.jsxs)(i.$x,{direction:"vertical",size:0,children:[(0,s.jsx)(i.o5,{className:"support-download",children:e("ÐагÑÑзиÑе в")}),(0,s.jsx)(i.o5,{className:"app-store",children:"App Store"})]})]})})})]})})}l(32711);var k={src:"/_next/static/media/vector.3a7bee08.svg",height:27,width:24,blurWidth:0,blurHeight:0};function DownloadGoogle(){let{t:e}=(0,m.B)();return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)(i.o5,{as:"div",className:"bl-download",children:[(0,s.jsx)(i.o5,{as:"div",className:"title",children:e("СкаÑайÑе пÑиложение:")}),(0,s.jsx)(i.eB,{children:(0,s.jsx)(i.o5,{as:"div",className:"download-app",children:(0,s.jsxs)("a",{href:"https://play.google.com/store/apps/details?id=com.bezlimit.lk",target:"_blank",rel:"noreferrer",children:[(0,s.jsx)(p(),{className:"icon-footer-logo",src:k,width:26,alt:"logo"}),(0,s.jsxs)(i.$x,{direction:"vertical",size:0,children:[(0,s.jsx)(i.o5,{className:"support-download",children:e("ÐÐСТУÐÐÐ Ð")}),(0,s.jsx)(i.o5,{className:"google-play",children:"Google Play"})]})]})})})]})})}let{Panel:I}=i.SD;function SupportSelect(){let{t:e}=(0,m.B)();return(0,s.jsx)(i.o5,{as:"div",className:"bl-selection-info legal-info-block",children:(0,s.jsx)(i.SD,{ghost:!0,expandIconPosition:"end",children:(0,s.jsxs)(I,{header:e("ÐÐ»Ñ ÐºÐ»Ð¸ÐµÐ½Ñов"),children:[(0,s.jsx)(h(),{href:"/lk",children:e("ÐÑиложение ÐиÑнÑй кабинеÑ")}),(0,s.jsx)(h(),{href:"/payment",children:e("Ðополнение баланÑа")}),(0,s.jsx)(h(),{href:"/faq",children:e("FAQ")})]},"1")})})}var z=(0,r.PA)(function(){var e,t,l,r,o;let u=(0,a.useContext)(c.MQ);return(0,s.jsx)(i.PE.Footer,{className:"bl-footer",children:(0,s.jsx)(i.fI,{children:(0,s.jsxs)(i.fv,{span:24,children:[(0,s.jsxs)(i.fI,{children:[(0,s.jsxs)(i.fv,{xs:24,sm:24,lg:7,children:[(0,s.jsx)(IconFooter,{}),(null!==(e=d().lte(null==u?void 0:u.width,768))&&void 0!==e?e:0)?d().isEqual(n.un,!0)?(0,s.jsx)(DownloadApp,{}):d().isEqual(n.m0,!0)?(0,s.jsx)(DownloadGoogle,{}):null:null,(null!==(t=d().gte(null==u?void 0:u.width,769))&&void 0!==t?t:0)?(0,s.jsx)(Support,{}):null]}),(0,s.jsx)(i.fv,{xs:24,sm:24,lg:4,children:(0,s.jsx)(About,{})}),(0,s.jsx)(i.fv,{xs:24,sm:24,lg:3,children:(0,s.jsx)(Selection,{})}),(0,s.jsx)(i.fv,{xs:24,sm:24,lg:4,children:(0,s.jsx)(SupportSelect,{})}),(0,s.jsxs)(i.fv,{xs:24,sm:24,lg:6,children:[(0,s.jsx)(Networks,{}),(null!==(l=d().lte(null==u?void 0:u.width,768))&&void 0!==l?l:0)?(0,s.jsx)(Support,{}):null]})]}),(null!==(r=d().gte(null==u?void 0:u.width,769))&&void 0!==r?r:0)?(0,s.jsx)(i.cG,{}):null,(0,s.jsxs)(i.fI,{children:[(0,s.jsx)(i.fv,{xs:24,sm:24,md:9,children:(0,s.jsx)(LegalInfo,{})}),(null!==(o=d().lte(null==u?void 0:u.width,768))&&void 0!==o?o:0)?(0,s.jsx)(i.cG,{}):null,(0,s.jsx)(i.fv,{xs:24,sm:24,md:15,children:(0,s.jsx)(InfoSite,{})})]})]})})})})},81687:function(e,t,l){"use strict";l.d(t,{A:function(){return tp}
1});var s,r,i=l(58775),a=l(73884),n=l.n(a),o=l(33423),d=l(48557),c=l(40830),u=l(19895),h=l(40939);l(38186);var m=l(31210),x=l.n(m),g=l(77925),j=l(72736),p=l(2543),v=l.n(p),A=l(32434),b={src:"/_next/static/media/icon_bunner.0fbd408b.svg",height:53,width:70,blurWidth:0,blurHeight:0},y=l(77783),w=l(10297),N=l(95631),C=l(96578),P=l(8807);let F=(0,d.PA)(e=>{let{step:t,text:l}=e,{t:s}=(0,N.B)();return(0,i.jsxs)(C.A,{gap:12,align:"flex-start",justify:"center",className:"bl-oval",children:[(0,i.jsx)(o.o5,{as:"div",className:"steps bl-typo",children:s("ШÐÐ ".concat(t))}),(0,i.jsx)(o.o5,{as:"div",className:"text bl-typo",children:l})]})});var k=l(15104);let I=(0,d.PA)(e=>{var t;let{onReservation:l}=e,{t:s}=(0,N.B)(),r=(0,w.useRouter)(),n=(0,a.useContext)(j.MQ),onClick=async()=>{await (0,y.yH)("stepFront"),r.push("/number?type=p")};return(0,i.jsxs)(C.A,{gap:v().gte(null==n?void 0:n.width,528)?40:24,className:"bl-front-beeline",children:[(0,i.jsx)(o.hE,{children:s(v().gte(null!==(t=null==n?void 0:n.width)&&void 0!==t?t:0,528)?"ÐавайÑе оÑоÑмим вÑе по пÑавилам. \nÐÑо Ð·Ð°Ð¹Ð¼ÐµÑ Ð¿Ð°ÑÑ Ð¼Ð¸Ð½ÑÑ":"ÐавайÑе оÑоÑмим вÑе \nпо пÑавилам. ÐÑо Ð·Ð°Ð¹Ð¼ÐµÑ \nпаÑÑ Ð¼Ð¸Ð½ÑÑ")}),(0,i.jsx)(P.A,{children:(0,i.jsxs)(o.fI,{gutter:[24,24],children:[(0,i.jsx)(o.fv,{xs:24,children:(0,i.jsxs)(C.A,{vertical:!0,gap:16,className:"oval-list",children:[(0,i.jsx)(F,{step:1,text:s("ÐагÑÑзиÑÑ ÑоÑо \nпаÑпоÑÑа РФ")}),(0,i.jsx)(F,{step:2,text:s("ÐодпиÑаÑÑ \nдокÑменÑÑ")}),(0,i.jsx)(F,{step:3,text:s("ÐплаÑиÑÑ \nÑаÑиÑнÑй план")}),(0,i.jsx)(F,{step:4,text:s("ÐолÑÑиÑÑ \nSIM â каÑÑÑ")})]})}),(0,i.jsx)(o.fv,{xs:24,xl:24,className:"blured-override",children:(0,i.jsx)(o.o5,{as:"div",className:"bl-typo blured",children:(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,k.G)(s("\uD83D\uDED1 <b>Ðажно:</b> ÐодклÑÑение доÑÑÑпно ÑолÑко гÑажданам РФ. ÐаÑпоÑÑ Ð´ÑÑгого гоÑÑдаÑÑÑва не подÑ
одиÑ."))}})})})]})}),(0,i.jsxs)(C.A,{vertical:!0,gap:24,className:"actions",children:[(0,i.jsx)(o.$n,{onClick:onClick,children:s("ÐÑмениÑÑ Ð±ÑониÑование")}),(0,i.jsx)(o.$n,{type:"primary",onClick:l,children:s("ÐабÑониÑоваÑÑ Ð¸ пÑодолжиÑÑ")})]})]})});var z=l(57084);let E=(0,d.PA)(e=>{let{onReservation:t}=e,{t:l}=(0,N.B)(),s=(0,w.useRouter)(),r=(0,a.useContext)(j.MQ),onClick=async()=>{await (0,y.yH)("stepFront"),s.push("/number?type=p")};return(0,i.jsxs)(C.A,{gap:v().gte(null==r?void 0:r.width,528)?40:24,className:"bl-front-courier",children:[(0,i.jsx)(o.hE,{children:l("ÐÑи вÑбоÑе Ñакого ÑпоÑоба \nдоÑÑавки поÑÑебÑеÑÑÑ:")}),(0,i.jsx)(P.A,{children:(0,i.jsxs)(o.fI,{gutter:[24,24],children:[(0,i.jsx)(o.fv,{xs:24,children:(0,i.jsxs)(C.A,{vertical:!0,gap:16,className:"oval-list",children:[(0,i.jsxs)(o.o5,{as:"div",className:"bl-oval",children:[(0,i.jsx)(z.A,{src:"/images/id-abonent.png",alt:"",width:44,preview:!1}),(0,i.jsx)(o.o5,{as:"div",className:"text bl-typo",children:l("УÑÑановленное \nпÑиложение ID Abonent")})]}),(0,i.jsxs)(o.o5,{as:"div",className:"bl-oval",children:[(0,i.jsx)(z.A,{src:"/images/gos-key.png",alt:"",width:44,preview:!1}),(0,i.jsx)(o.o5,{as:"div",className:"text bl-typo",children:l("ÐÑиложение ÐоÑклÑÑ")})]}),(0,i.jsxs)(o.o5,{as:"div",className:"bl-oval",children:[(0,i.jsx)(z.A,{src:"/images/gos-uslugi.png",alt:"",width:44,preview:!1}),(0,i.jsx)(o.o5,{as:"div",className:"text bl-typo",children:l("ÐодÑвеÑÐ¶Ð´ÐµÐ½Ð½Ð°Ñ ÑÑеÑÐ½Ð°Ñ \nзапиÑÑ Ð½Ð° ÐоÑÑÑлÑгаÑ
")})]})]})}),(0,i.jsx)(o.fv,{xs:24,xl:24,className:"blured-override",children:(0,i.jsx)(o.o5,{as:"div",className:"bl-typo blured",children:(0,i.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,k.G)("\uD83D\uDED1 <b>Ðажно:</b> ÐодклÑÑение доÑÑÑпно ÑолÑко гÑажданам РФ. ÐаÑпоÑÑ Ð´ÑÑгого гоÑÑдаÑÑÑва не подÑ
одиÑ.")}})})})]})}),(0,i.jsxs)(C.A,{vertical:!0,gap:24,className:"actions",children:[(0,i.jsx)(o.$n,{onClick:onCl
1ick,children:l("ÐÑмениÑÑ Ð±ÑониÑование")}),(0,i.jsx)(o.$n,{type:"primary",onClick:t,children:l("ÐабÑониÑоваÑÑ Ð¸ пÑодолжиÑÑ")})]})]})}),S=(0,d.PA)(e=>{let{t}=(0,N.B)(),l=(0,a.useContext)(j.MQ),[s]=g.A.useForm(),r=g.A.useWatch("ordertype",s),onValuesChange=async e=>{"ordertype"in e&&await (0,y.yo)("stepFront",t=>({...t,ordertype:e.ordertype}))};return(0,i.jsx)(g.A,{form:s,onValuesChange:onValuesChange,layout:"horizontal",autoComplete:"off",initialValues:{ordertype:e.state.ordertype},children:(0,i.jsx)("div",{className:"bl-data-fill",children:(0,i.jsxs)(o.$x,{direction:"vertical",size:22,children:[(0,i.jsx)(o.o5,{as:"div",className:"phone-container",children:(0,i.jsx)(o.o5,{as:"div",className:"phone",children:(0,i.jsx)(A.A,{value:e.state.phone,format:"### ### ## ##",displayType:"text"})})}),(0,i.jsxs)(o.o5,{as:"div",className:"banner",children:[v().gte(null==l?void 0:l.width,528)&&(0,i.jsx)(x(),{src:b,alt:"",width:34}),(0,i.jsx)(o.o5,{as:"div",className:"text-container",children:(0,i.jsx)(o.o5,{as:"div",className:"text",children:(0,i.jsx)(g.A.Item,{name:"ordertype",children:(0,i.jsxs)(o.sx.Group,{children:[(0,i.jsx)(o.sx,{value:"beeline",children:t("ÐолÑÑиÑÑ Ð² оÑиÑе Ðилайн")}),(0,i.jsx)(o.sx,{value:"courier",children:t("ÐолÑÑиÑÑ Ð¿Ð¾ адÑеÑÑ")})]})})})})]}),v().isEqual(r,"beeline")?(0,i.jsx)(I,{onReservation:e.onReservation}):(0,i.jsx)(E,{onReservation:e.onReservation})]})})})}),D=(0,d.PA)(e=>{let{t}=(0,N.B)();return(0,a.useEffect)(()=>{window.scroll(0,0)},[]),(0,i.jsx)(o.fI,{justify:"center",children:e.state.phone?(0,i.jsx)(o.fv,{children:(0,i.jsx)(S,{...e})}):(0,i.jsx)(o.fv,{children:(0,i.jsx)("div",{className:"bl-data-fill",children:(0,i.jsx)(o.o5,{className:"title-options",children:t("ÐÑониÑование номеÑа не найдено")})})})})});var B=l(38300);l(76335);var R=l(8963),L=l(26138);let M=(0,d.PA)(e=>{let{vertical:t,gap:l=4,align:s,justify:r,children:a,className:n,style:o,onClick:d}=e;return(0,i.jsx)("div",{onClick:d,className:n,style:{display:"flex",gap:l,flexDirection:t?"row":"column",alignItems:s,justifyContent:r,...o},children:a})});var T=l(45654),V=l(88769),H=l(88438),U=l(32330);let Q=(0,d.PA)(e=>{var t,l,s,r,n,o,d;let{className:c,children:u,size:h,color:m,weight:x,font:g}=e,p=(0,a.useContext)(j.Dx),{width:A}=(0,U.A)();return(0,i.jsx)(H.A.Paragraph,{className:"bl-typo ".concat(null!=c?c:"default"),style:{margin:0,fontWeight:null!=x?x:400,fontSize:v().gte(A,1280)?null!==(r=null!==(s=null==h?void 0:h.at(0))&&void 0!==s?s:null==p?void 0:null===(t=p.size)||void 0===t?void 0:t.at(0))&&void 0!==r?r:24:null!==(o=null!==(n=null==h?void 0:h.at(1))&&void 0!==n?n:null==p?void 0:null===(l=p.size)||void 0===l?void 0:l.at(1))&&void 0!==o?o:14,color:null!==(d=null!=m?m:null==p?void 0:p.color)&&void 0!==d?d:"#fff",fontFamily:g||"ALS Hauss",textAlign:"center"},children:u})}),Z=(0,d.PA)(e=>{let{text:t,progress:l}=e;return(0,i.jsx)(V.A,{children:(0,i.jsxs)(M,{gap:0,className:"bl-upload-loading",justify:"center",children:[(0,i.jsx)("div",{className:"blurr"}),(0,i.jsx)(M,{gap:40,className:"container",children:(0,i.jsxs)(M,{gap:60,children:[(0,i.jsx)(Q,{weight:900,size:[48,24],font:"ALS Alumna",children:t}),(0,i.jsx)(o.tY,{value:l,type:"circle",progressColor:"goldTexture",emptyColor:"#5c4e4e"})]})})]})})});var Y=l(92292);let O=(0,d.PA)(e=>{let{formItemProps:t,uploadProps:l,children:s,onAfterSuccess:r,onAfterFailure:n}=e,{t:o}=(0,N.B)(),{reservation:d,history:c}=(0,B.Pj)(),u=(0,a.useMemo)(()=>2e3,[]),[h,m]=(0,a.useState)(v().get(c.fields,"".concat(t.name,".fileList"),[])),[x,j]=(0,a.useState)(0),[p,A]=(0,a.useState)(!1);(0,a.useEffect)(()=>{m(v().get(c.fields,"".concat(t.name,".fileList"),[]))},[c.fields]);let onAfter=e=>{setTimeout(()=>{switch(e){case"afterFailure":"function"==typeof n&&n(),A(!1);break;case"afterSuccess":"function"==typeof r&&r()}},u)},getBase64=async e=>new Promise(t=>{let l=new FileReader;l.onloadend=()=>t(l.result),l.readAsDataURL(e)}
1),drawToCanvas=e=>new Promise((t,l)=>{let s=URL.createObjectURL(e),r=new Image;r.onload=()=>{URL.revokeObjectURL(s);let e=document.createElement("canvas");e.width=r.naturalWidth,e.height=r.naturalHeight;let i=e.getContext("2d");if(!i){l(Error("Canvas context unavailable"));return}i.drawImage(r,0,0),t(e)},r.onerror=()=>{URL.revokeObjectURL(s),l(Error("Image load failed"))},r.src=s}),canvasToBlob=(e,t)=>new Promise((l,s)=>e.toBlob(e=>e?l(e):s(Error("toBlob failed")),"image/jpeg",t)),prepareFile=async e=>{try{let t=await drawToCanvas(e),l=e.name.replace(/\.[^.]+$/,"")+".jpg",s=.75,r=await canvasToBlob(t,s);for(;r.size>2097152&&s>.1;)s=+(s-.1).toFixed(1),r=await canvasToBlob(t,s);return new File([r],l,{type:"image/jpeg"})}catch(t){return e}},customRequest=async e=>{let{file:l,onSuccess:s,onError:r,onProgress:i}=e,a=await (0,y.Jt)("reservation");try{window.scrollTo({top:0,behavior:"smooth"}),A(!0);let e=new FormData,r=await prepareFile(l);e.append("image",r),await (0,Y.eP)({url:"/passport/upload-photo",method:"POST",loading:!1,data:{side:"registration"===t.name?"registration":t.name,photo:r},onUploadProgress:e=>{if(e.loaded&&e.total&&i){let t=Math.floor(e.loaded/e.total*100);j(t),100===t&&setTimeout(()=>{A(!1),j(0)},u)}},headers:{"X-Reservation-UUID":null==a?void 0:a.uuid}}),s("ok"),onAfter("afterSuccess")}catch(e){r(e),onAfter("afterFailure")}finally{A(!1),j(0)}},previewFile=async e=>await getBase64(e);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(g.A.Item,{...t,children:(0,i.jsx)(T.A,{...l,onRemove:e=>{m([])},onChange:e=>{let{fileList:t}=e;m(t)},onPreview:()=>void 0,accept:"image/*",customRequest:customRequest,maxCount:1,listType:"picture-card",previewFile:previewFile,fileList:h,children:(null==h?void 0:h.length)>=1?null:s})}),p?(0,i.jsx)(Z,{progress:x,text:o("ÐÐ´ÐµÑ Ð·Ð°Ð³ÑÑзка ÑоÑогÑаÑии...")}):null]})});var W={src:"/_next/static/media/upload-default-btn.fcbb4895.png",height:157,width:230,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAFCAMAAABPT11nAAAAFVBMVEXl2dzo3uL08PHg0dnd0NPXx8/r4upihkj1AAAAA3RSTlP9/vUAgu79AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAJElEQVR4nAXBBwEAAAjDsO7hXzIJkKQybe4S00USpoybDFAkPwlsAGAMFdO7AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:5};let G=(0,d.PA)(e=>{let{children:t}=e;return(0,i.jsxs)(M,{gap:16,className:"bl-upload-default-btn",align:"center",children:[(0,i.jsx)(x(),{src:W,alt:"",width:230}),(0,i.jsx)(Q,{size:[24,14],children:t})]})}),q=(0,d.PA)(e=>{let{isDisabled:t,setIsUploading:l}=e,{t:s}=(0,N.B)();return(0,i.jsxs)(M,{vertical:!0,gap:32,justify:"center",className:"upload-group",children:[(0,i.jsx)(O,{formItemProps:{name:"front"},children:(0,i.jsx)(G,{children:s("РазвоÑÐ¾Ñ Ñ ÑоÑогÑаÑией")})}),(0,i.jsx)(O,{formItemProps:{name:"registration"},uploadProps:{disabled:t},children:(0,i.jsx)(G,{children:s("РазвоÑÐ¾Ñ Ñ ÑегиÑÑÑаÑией")})})]})});function useResetPd(){let{reservation:e,history:t}=(0,B.Pj)(),l=(0,w.useRouter)(),onReset=async()=>{let s=await (0,y.Jt)("reservation");try{await (0,Y.Ay)({url:"/reservation",method:"DELETE",loading:!0,headers:{"X-Reservation-UUID":s.uuid}}),await (0,y.yH)("reservation"),await (0,y.yH)("verify"),e.reservation=null,t.reset(),l.push("/number?type=p")}catch(e){}};return{onReset}}let J=(0,d.PA)(()=>{let{t:e}=(0,N.B)(),{reservationSteps:t,history:l}=(0,B.Pj)(),s=(0,B.Pj)(),{onReset:r}=useResetPd(),[n]=g.A.useForm(),[o,d]=(0,a.useState)(!0),c=(0,a.useRef)(new Map),{width:u}=(0,U.A)(),[h,m]=(0,a.useState)(!1),removeError=e=>{n.setFields([{name:e,errors:[]}]),c.current.delete(e)},setError=(e,t)=>{n.setFields([{name:e,errors:[""]}]),c.current.set(e,t)},onFinish=async l=>{if(v().isEqual(v().get(l,"front.file.status"),"done")||setError("front",e('ÐагÑÑзиÑе "РазвоÑÐ¾Ñ Ñ ÑоÑогÑаÑией"')),v().isEqual(v().get(l,"front.file.status"),"done")&&!v().isEqual(v().get(l,"registration.file.status"),"done")&&setError("registration",e('ÐагÑÑзиÑе "РазвоÑÐ¾Ñ Ñ ÑегиÑÑÑаÑией"')),v().get(l,"agree")||setError("agree",e('ÐодÑвеÑдиÑе "СоглаÑие на обÑабоÑÐºÑ Ð¿ÐµÑÑоналÑнÑÑ
даннÑÑ
"')),c.current.size){s.errorsApi.errors=Array.from(c.current.values()).map(e=>({message:e}));return}await t.fetchFillingStep()};return(0,a.useEffect)(()=>{v().isEqual(v().get(l.fields,"front.file.status"),"done")?d(!1):d(!0)},[l.fields]),(0,i.jsx)(g.A,{form:n,layout:"horizontal",onFinish:onFinish,onValuesChange:(e,t)=>
1{let{front:s,registration:r}=t;l.fields={front:s,registration:r};let i=v().first(v().keys(e));removeError(i)},autoComplete:"off",initialValues:{front:v().get(l.fields,"front"),registration:v().get(l.fields,"registration")},children:(0,i.jsxs)(M,{gap:v().gt(u,992)?32:12,justify:"center",children:[(0,i.jsx)(q,{isDisabled:o,setIsUploading:m}),(0,i.jsx)(M,{gap:0,justify:"center",className:"agree",children:(0,i.jsx)(g.A.Item,{name:"agree",valuePropName:"checked",label:null,children:(0,i.jsx)(L.default,{children:e("СоглаÑие на обÑабоÑÐºÑ Ð¿ÐµÑÑоналÑнÑÑ
даннÑÑ
")})})}),(0,i.jsxs)(M,{vertical:!0,gap:24,justify:"center",className:"actions",children:[(0,i.jsx)(R.default,{onClick:()=>r(),children:e("ÐÑмениÑÑ Ð±ÑониÑование")}),(0,i.jsx)(R.default,{type:"primary",htmlType:"submit",children:e("ÐÑодолжиÑÑ")})]})]})})}),X=(0,d.PA)(e=>(0,i.jsx)(Q,{...e,className:"blured"})),K=(0,d.PA)(e=>{let{children:t}=e;return(0,i.jsx)(M,{gap:24,align:"center",justify:"center",className:"bl-info",children:t})});var _=l(36950),$=l(95093),ee=l.n($);let et=(0,d.PA)(e=>{var t,l,s,r;let{hidePhone:n}=e,{t:o}=(0,N.B)(),{reservation:d}=(0,B.Pj)(),c=(0,a.useMemo)(()=>{var e;return Math.ceil(ee().duration(ee()(new Date).diff(ee()(null==d?void 0:null===(e=d.reservation)||void 0===e?void 0:e.removed_at))).asHours())},[null==d?void 0:null===(t=d.reservation)||void 0===t?void 0:t.removed_at]),[u]=(0,a.useState)(ee()(c<0?ee()(new Date).format("YYYY-MM-DD HH:mm:ss"):null===(l=d.reservation)||void 0===l?void 0:l.removed_at).add(c<0?1:c,"hours").format("YYYY-MM-DD HH:mm:ss")),[h,m]=(0,a.useState)({days:"00",hours:"00",minutes:"00",seconds:"00"}),{width:g}=(0,U.A)(),getRemain=async e=>{let t=new Date().getTime(),l=new Date(u).getTime(),s=l-t,r=Math.floor(s/864e5),i=Math.floor(s%864e5/36e5),a=Math.floor(s%36e5/6e4),n=Math.floor(s%6e4/1e3);m({days:r<10?"0".concat(r):r,hours:i<10?"0".concat(i):i,minutes:a<10?"0".concat(a):a,seconds:n<10?"0".concat(n):n}),s<0&&(clearInterval(e),m({days:"00",hours:"00",minutes:"00",seconds:"00"}),d.reservation={...d.reservation,removed_at:null},await (0,y.yo)("reservation",e=>({...e,removed_at:null})))};return(0,a.useEffect)(()=>{getRemain(0);let e=setInterval(()=>{getRemain(e)},1e3);return()=>{clearInterval(e)}},[u]),(0,i.jsx)(M,{gap:0,className:"bl-count-down ".concat(n?"hide-phone":""," ").concat(v().isEqual(null==h?void 0:h.hours,"00")?"without-hours":""),children:(0,i.jsxs)(K,{children:[(0,i.jsxs)(M,{gap:0,vertical:!0,align:"center",children:[(0,i.jsxs)(M,{gap:8,vertical:!0,className:"time-container",align:"center",children:[(0,i.jsx)(x(),{width:v().gt(g,1280)?36:24,src:_.A,alt:""}),v().gt(g,576)?(0,i.jsx)(Q,{className:"time",size:[58,36],font:"ALS Alumna",children:"".concat(v().isEqual(null==h?void 0:h.hours,"00")?"":"".concat(null==h?void 0:h.hours," : ")).concat(h.minutes," : ").concat(h.seconds)}):(0,i.jsx)(Q,{className:"time",size:[62,36],font:"ALS Alumna",children:"".concat(v().isEqual(null==h?void 0:h.hours,"00")?"":"".concat(null==h?void 0:h.hours," : ")).concat(h.minutes," : ").concat(h.seconds)})]}),v().gt(g,576)?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(X,{size:[14,14],weight:700,className:"text",children:o("Ðо иÑÑеÑении вÑемени \nбÑÐ¾Ð½Ñ Ð±ÑÐ´ÐµÑ Ð¾Ñменена")}),!n&&(0,i.jsx)(Q,{className:"phone",size:[42,26],font:"ALS Alumna",children:(0,i.jsx)(A.A,{value:null==d?void 0:null===(s=d.reservation)||void 0===s?void 0:s.phone_number,format:"### ### ## ##",displayType:"text"})})]}):(0,i.jsx)(i.Fragment,{children:n?(0,i.jsx)(X,{size:[14,14],weight:700,className:"text",children:o("Ðо иÑÑеÑении вÑемени \nбÑÐ¾Ð½Ñ Ð±ÑÐ´ÐµÑ Ð¾Ñменена")}):(0,i.jsx)(Q,{className:"phone",size:[42,26],font:"ALS Alumna",children:(0,i.jsx)(A.A,{value:null===(r=d.reservation)||void 0===r?void 0:r.phone_number,format:"### ### ## ##",displayType:"text"})})})]}),v().lte(g,576)&&v().isNil(n)&&(0,i.jsx)(X,{size:[14,13],weight:700,className:"text",children:o("Ðо иÑÑеÑении вÑемени бÑÐ¾Ð½Ñ Ð±ÑÐ´ÐµÑ Ð¾Ñменена")})]})})}),el=(0,d.PA)(()=>{let{t:e}=(0,N.B)(),{width:t}=(0,U.A)();return(0,i.jsx)(M,{gap:v().gt(t,992)?40:12,className:"bl-registration",children:(0,i.jsxs)(M,{gap:24,align:"center",children:[(0,i.jsx)(et,{}),(0,i.jsx)(Q,{size:[48,42],color:"#fff",font:"ALS Alumna",className:"title-page",children:e("ÐагÑÑзиÑе \nÑоÑо паÑпоÑÑа")}),(0,i.jsx)(M,{gap:28,align:"center",className:"description",children:(0,i.jsx)(X,{size:[16,14],children:e(v().gt(t,992)?"ÐÐ»Ñ ÑÑпеÑной иденÑиÑикаÑии вам необÑ
одимо загÑÑзиÑÑ ÑвеÑнÑе ÑоÑогÑаÑии паÑпоÑÑа. \nУбедиÑеÑÑ, ÑÑо на вÑеÑ
ÑоÑо даннÑе Ñ
оÑоÑо ÑазлиÑимÑ. ÐопÑÑÑимÑе ÑоÑмаÑÑ: jpg, jpeg, png.":"ÐÐ»Ñ ÑÑпеÑной иденÑиÑикаÑии \nвам необÑ
одимо загÑÑзиÑÑ ÑвеÑнÑе \nÑоÑогÑаÑии паÑпоÑÑа. УбедиÑеÑÑ, \n
1ÑÑо на вÑеÑ
ÑоÑо даннÑе Ñ
оÑоÑо ÑазлиÑимÑ. \nÐопÑÑÑимÑе ÑоÑмаÑÑ: jpg, jpeg, png.")})}),(0,i.jsx)(J,{})]})})});var es=l(64219),er=l(55517),ei=l(7669),ea=l(4730);let en=(0,d.PA)(e=>{var t,l,s,r,n,o;let{name:d,children:c}=e,{history:u}=(0,B.Pj)(),h=(0,a.useMemo)(()=>{var e,t,l,s;return v().gte(null===(t=u.fields)||void 0===t?void 0:null===(e=t.recognition_quality)||void 0===e?void 0:e[d],90)?"#42c72c":v().gte(null===(s=u.fields)||void 0===s?void 0:null===(l=s.recognition_quality)||void 0===l?void 0:l[d],70)?"#ffcd00":"red"},[null===(l=u.fields)||void 0===l?void 0:null===(t=l.recognition_quality)||void 0===t?void 0:t[d]]);return(0,i.jsx)(ea.A,{className:v().isNil(null===(r=u.fields)||void 0===r?void 0:null===(s=r.recognition_quality)||void 0===s?void 0:s[d])?"empty":"",dot:!v().isNil(null===(o=u.fields)||void 0===o?void 0:null===(n=o.recognition_quality)||void 0===n?void 0:n[d]),color:h,children:c})});(s=r||(r={})).LOW="red",s.MEDIUM="#ffcd00",s.HIGH="#42c72c";let eo=(0,d.PA)(e=>{let{formItemProps:t,inputProps:l}=e;return(0,i.jsx)(en,{name:t.name,children:(0,i.jsx)(g.A.Item,{...t,children:(0,i.jsx)(ei.default,{...l})})})}),ed=(0,d.PA)(e=>(e.formItemProps.normalize=e=>v().replace(e,/[^а-ÑÐ-Яa-zA-ZÑÐ]/gi,""),(0,i.jsx)(eo,{...e})));var ec=l(30960);let eu=(0,d.PA)(e=>{let{formItemProps:t,datePickerProps:l}=e;return(0,i.jsx)(en,{name:t.name,children:(0,i.jsx)(g.A.Item,{...t,children:(0,i.jsx)(ec.A,{allowClear:!1,format:"DD.MM.YYYY",showToday:!1,placeholder:"",disabledDate:e=>(null==e?void 0:e.isBefore(ee()("1930-01-01")))||(null==e?void 0:e.isAfter(ee()())),...l})})})});var eh=l(27382);let em=(0,d.PA)(e=>{let{formItemProps:t,radioProps:l}=e;return(0,i.jsx)(g.A.Item,{...t,children:(0,i.jsx)(eh.default.Group,{...l})})}),ex=(0,d.PA)(e=>{let{formItemProps:t,textAreaProps:l}=e;return(0,i.jsx)(en,{name:t.name,children:(0,i.jsx)(g.A.Item,{...t,children:(0,i.jsx)(ei.default.TextArea,{...l})})})});var ef=l(76421),eg=l(62885),ej=l(65027),ep=l(96383),ev=l(95304);let eA=(0,d.PA)(e=>{let{formItemProps:t,autoCompleteProps:l}=e;return(0,i.jsx)(en,{name:t.name,children:(0,i.jsx)(g.A.Item,{...t,children:(0,i.jsx)(ev.A,{...l})})})});var eb=l(10159),ey=l(80764);let ew=(0,d.PA)(e=>{var t;let{fullAddress:l,addresses:s,form:r,setAddresses:n,...o}=e,{t:d}=(0,N.B)(),{history:c}=(0,B.Pj)(),{get:u}=(0,ey.A)(),[h,m]=(0,a.useState)([]),[x,g]=(0,a.useState)(!1),[j,p]=(0,a.useState)(!0),A=(0,a.useMemo)(()=>v().debounce(e=>{e?v().find(s,t=>v().includes(t.label,e))?m(v().filter(s,t=>v().includes(t.label,e))):b(e):(m([]),n([]),p(!1))},300),[h,s,300]),b=(0,a.useCallback)(async e=>{try{var t,l;let s=await (0,Y.Ay)({url:"/system/suggest/address",loading:!1,params:{query:e,expand:"detail"}}),r=v().chain(null!==(t=null==s?void 0:s.data)&&void 0!==t?t:[]).reduce((e,t)=>((e||(e=[])).push({value:t.value,label:t.value}),e),[]).valueOf();m(r),n(null!==(l=null==s?void 0:s.data)&&void 0!==l?l:[])}catch(e){throw e}finally{p(!1)}},[]);return(0,i.jsxs)(i.Fragment,{children:[eb.Fr?(0,i.jsx)(R.default,{className:"address-btn-mobile",onClick:()=>{g(!0),A(l)},children:(0,i.jsxs)(M,{align:"flex-start",justify:"center",children:[(0,i.jsx)(Q,{size:[12,12],color:"rgba(255,255,255,.5)",className:"label",children:o.formItemProps.label}),(0,i.jsx)(Q,{size:[14,14],color:"#fff",children:l})]})}):null,(0,i.jsx)(eA,{...o,formItemProps:{...null!==(t=null==o?void 0:o.formItemProps)&&void 0!==t?t:{},style:{display:eb.Fr?"none":"block"}},autoCompleteProps:{options:h,onSearch:A,onSelect:e=>{let t=v().find(s,t=>v().isEqual(t.value,e));v().chain(["locality","street","house","building","apartment"]).forEach(e=>{r.setFields([{name:e,errors:[]}])}).valueOf(),c.fields.locality=v().get(t,"detail.place_name",null),c.fields.street=v().get(t,"detail.street_name",null),c.fields.house=v().get(t,"detail.house",null),c.fields.building=v().get(t,"detail.building_name",null),c.fields.apartment=v().get(t,"detail.apartment_name",null),v().forEach(["locality","street","house","building","apartment"],e=>{r.setFields([{name:e,errors:[],value:c.fields[e]}])})}}}),(0,i.jsx)(eg.A,{className:"bl-address-drawer",title:d("ÐдÑеÑ"),onClose:()=>{g(!1),p(!0)},open:x,destroyOnClose:!0,placement:"bottom",footer:null,extra:(0,i.jsx)(eo,{inputProps:{allowClear:!0,placeholder:"ÐоиÑк",defaultValue:l,onCh
1ange:e=>{var t;A(null==e?void 0:null===(t=e.target)||void 0===t?void 0:t.value)}},formItemProps:{className:"search"}}),children:j?(0,i.jsx)(M,{vertical:!0,align:"center",justify:"center",children:(0,i.jsx)(ep.default,{})}):(0,i.jsx)(ef.default,{renderEmpty:()=>"ÐдÑÐµÑ Ð½Ðµ найден",children:(0,i.jsx)(ej.default,{header:null,footer:null,dataSource:h,renderItem:e=>(0,i.jsx)(ej.default.Item,{onClick:e=>{var t,l,i;g(!1);let a=v().find(s,t=>{var l;return v().isEqual(t.value,null==e?void 0:null===(l=e.target)||void 0===l?void 0:l.textContent)});c.fields.place_name=v().get(a,"detail.place_name",null),c.fields.street_name=v().get(a,"detail.street_name",null),c.fields.house=v().get(a,"detail.house",null),c.fields.building_name=v().get(a,"detail.building_name",null),c.fields.apartment_name=v().get(a,"detail.apartment_name",null),c.fields.fullAddress=null==e?void 0:null===(t=e.target)||void 0===t?void 0:t.textContent,v().forEach(["place_name","street_name","house","building_name","apartment_name"],e=>{r.setFields([{name:e,errors:[],value:c.fields[e]}])}),r.setFieldValue(null==o?void 0:null===(l=o.formItemProps)||void 0===l?void 0:l.name,null==e?void 0:null===(i=e.target)||void 0===i?void 0:i.textContent)},children:(0,i.jsx)(ej.default.Item.Meta,{title:e.value})})})})})]})}),eN=(0,d.PA)(e=>(e.formItemProps.normalize=t=>{var l;return v().replace(t.substring(0,null!==(l=null==e?void 0:e.size)&&void 0!==l?l:t.length),/[^а-ÑÐ-Я0-9\-\.\s]/gim,"")},(0,i.jsx)(eo,{...e}))),numberFormatNormalize=(e,t)=>{var l,s;let r=v().replace(e,/[^\d]/gi,"");return v().isNil(null==t?void 0:t.size)||(r=r.substring(0,null==t?void 0:t.size)),v().chain(v().chunk(r,null!==(l=t.chunk)&&void 0!==l?l:r.length)).map(e=>v().join(e,"")).join(null!==(s=t.separator)&&void 0!==s?s:"").valueOf()},eC=(0,d.PA)(e=>(e.formItemProps.normalize=t=>numberFormatNormalize(t,e),(0,i.jsx)(eo,{...e})));var eP=l(3626);let concatAddress=e=>{let t="";return e.locality&&(t=e.locality),e.street&&(t+=", ".concat(e.street)),e.house&&(t+=", д ".concat(e.house)),e.building&&!v().startsWith(v().trim(e.building),"-")&&(t+=", ÑÑ ".concat(e.building)),e.apartment&&(t+=", кв ".concat(e.apartment)),t},getFileExtensionFromUrl=e=>{let t=e.split(".");return t.length>1?t.pop():""},getFilenameFromUrl=e=>{if(e){let t=e.lastIndexOf("/");if(-1!==t){let l=e.substring(t+1),s=l.indexOf("?");-1!==s&&(l=l.substring(0,s));let r=l.indexOf("#");return -1!==r&&(l=l.substring(0,r)),l}}return""};var eF=l(86049);let ek=[{required:!0,message:"Ðоле обÑзаÑелÑно Ð´Ð»Ñ Ð·Ð°Ð¿Ð¾Ð»Ð½ÐµÐ½Ð¸Ñ"}],eI=(0,d.PA)(()=>{let{t:e}=(0,N.B)(),{reservation:t,reservationSteps:l,history:s}=(0,B.Pj)(),[r]=g.A.useForm(),{onReset:n}=useResetPd(),{width:o}=(0,U.A)(),{setError:d}=function(){let{api:e}=(0,B.Pj)();return{setError:t=>{if(t.response){var l,s,r,i;(null===(l=t.response)||void 0===l?void 0:l.status)>=500?e.error={status:null===(s=t.response)||void 0===s?void 0:s.status,data:{message:"ÐбÑаÑиÑеÑÑ Ð² ÑÐ°Ñ Ð¿Ð¾Ð´Ð´ÐµÑжки"}}:v().isEqual(v().get(t,"response.config.method"),"put")||v().isEqual(t.response.data[0].field,"user_id")||(e.error={status:null===(r=t.response)||void 0===r?void 0:r.status,data:null===(i=t.response)||void 0===i?void 0:i.data})}}}}(),{addresses:c,fullAddress:u,setAddresses:h,onValuesChange:m}=function(e){var t;let{form:l}=e,{history:s,reservationSteps:r}=(0,B.Pj)(),[i,n]=(0,a.useState)([]),o=g.A.useWatch("fullAddress",l),removeError=e=>
1{l.setFields([{name:e,errors:[]}])};return(0,a.useEffect)(()=>{v().forEach(["locality","street","house","building","apartment"],e=>{l.setFields([{name:e,errors:[],value:s.fields[e]}])})},[null==s?void 0:null===(t=s.fields)||void 0===t?void 0:t.fullAddress]),{addresses:i,fullAddress:o,setAddresses:n,onValuesChange:(e,t)=>{let a=v().first(v().keys(e)),n=s.fields;switch(s.fields={...n,...t},removeError(a),a){case"front":case"registration":r.steps="registration",s.step=eP.p.REGISTRATION;break;case"locality":case"street":case"house":case"building":case"apartment":l.setFieldValue("fullAddress",concatAddress(s.fields));break;case"fullAddress":{let t=v().find(i,t=>v().isEqual(t.value,e.fullAddress));v().chain(["locality","street","house","building","apartment"]).forEach(e=>{removeError(e)}).valueOf(),s.fields.locality=v().get(t,"detail.place_name",null),s.fields.street=v().get(t,"detail.street_name",null),s.fields.house=v().get(t,"detail.house",null),s.fields.building=v().get(t,"detail.building_name",null),s.fields.apartment=v().get(t,"detail.apartment_name",null)}}}}}({form:r}),onFinish=async e=>{var i,a,n,o,c;let{_front:u,_registration:h,...m}=e;try{await (0,Y.eP)({url:"/passport",method:"PUT",loading:!0,data:{...m,birthday:m.birthday.format("YYYY-MM-DD"),issue_date:m.issue_date.format("YYYY-MM-DD"),imei:v().isNil(v().get(m,"imei"))?"-":v().get(m,"imei"),building:v().isNil(v().get(m,"building"))?"-":v().get(m,"building"),street:m.street?m.street:"",locality:m.locality?m.locality:""},headers:{"X-Reservation-UUID":null==t?void 0:null===(i=t.reservation)||void 0===i?void 0:i.uuid}}),await l.fetchFillingStep()}catch(e){(null==e?void 0:null===(n=e.response)||void 0===n?void 0:null===(a=n.data)||void 0===a?void 0:a.code)===0?d(e):(v().map(null==e?void 0:null===(o=e.response)||void 0===o?void 0:o.data,e=>{let{field:t,message:l}=e;r.setFields([{name:t,errors:[l]}])}),v().find(null==e?void 0:null===(c=e.response)||void 0===c?void 0:c.data,e=>{let{field:t}=e;return v().includes(["apartment","building","house","locality","street"],t)})&&(r.setFieldValue("fullAddress",""),r.setFieldValue("handwrite",!0),s.fields.handwrite=!0))}};return(0,a.useEffect)(()=>{let f=async()=>{var e;let l=await (0,Y.eP)({url:"/passport",method:"GET",loading:!1,params:{expand:"validation_errors,quality,photos"},headers:{"X-Reservation-UUID":null==t?void 0:null===(e=t.reservation)||void 0===e?void 0:e.uuid}}),i=v().chain(await Promise.all(v().map(v().filter(v().entries(l.photos),e=>{let[t,l]=e;return l}),async e=>{let[t,l]=e,s=getFileExtensionFromUrl(l.url),r=getFilenameFromUrl(l.url),i=eF.lookup(s),a=await fetch(l.url),n=await a.arrayBuffer(),o=new File([n],r,{type:i});return{side:l.side,file:o,url:l.url}}))).reduce((e,t)=>{let{side:l,file:s,url:i}=t;s.thumbUrl=i,s.status="done";let a={...s,originFileObj:s};return s.originFileObj=s,e[l]={file:a,fileList:[s]},r.setFieldValue(l,{file:a,fileList:[s]}),e},{}).valueOf();s.fields={...s.fields,...l,...i},v().isNil(v().get(l,"surname"))||r.setFieldValue("surname",v().get(l,"surname")),v().isNil(v().get(l,"first_name"))||r.setFieldValue("first_name",v().get(l,"first_name")),v().isNil(v().get(l,"patronymic"))||r.setFieldValue("patronymic",v().get(l,"patronymic")),v().isNil(v().get(l,"birthday"))||r.setFieldValue("birthday",ee()(v().get(l,"birthday"))),v().isNil(v().get(l,"gender"))||r.setFieldValue("gender",v().get(l,"gender")),v().isNil(v().get(l,"country"))||r.setFieldValue("country",v().get(l,"country")),v().isNil(v().get(l,"birth_place"))||r.setFieldValue("birth_place",v().get(l,"birth_place")),r.setFieldValue("nationality","РоÑÑиÑ"),v().isNil(v().get(l,"series"))||r.setFieldValue("series",v().get(l,"series")),v().isNil(v().get(l,"number"))||r.setFieldValue("number",v().get(l,"number")),v().isNil(v().get(l,"department_code"))||r.setFieldValue("department_code",v().get(l,"department_code")),v().isNil(v().get(l,"issue_date"))||r.setFieldValue("issue_date",ee()(v().get(l,"issue_date"))),v().isNil(v().get(l,"issued_by"))||r.setFieldValue("issued_by",v().get(l,"issued_by"));let a="";v().isNil(v().get(l,"locality"))||(a="".concat(v().get(l,"locality")),r.setFieldValue("locality",v().get(l,"locality"))),v().isNil(v().get(l,"street"))||(a+=", ".concat(v().get(l,"street")),r.setFieldValue("street",v().get(l,"street"))),v().isNil(v().get(l,"house"))||(a+=", д ".concat(v().get(l,"house")),r.setFieldValue("house",v().get(l,"house"))),v().isNil(v().get(l,"building"))||v().startsWith(v().trim(v().get(l,"building")),"-")||(a+=", ÑÑ ".concat(v().get(l,"building")),r.setFieldValue("building",v().get(l,"building"))),v().isNil(v().get(l,"apartment"))||(a+=", кв ".concat(v().get(l,"apartment")),r.setFieldValue("ap
1artment",v().get(l,"apartment"))),r.setFieldValue("fullAddress",a)};f()},[]),(0,i.jsx)(g.A,{form:r,layout:"horizontal",onFinish:onFinish,onValuesChange:m,autoComplete:"off",initialValues:{...s.fields},children:(0,i.jsxs)(M,{gap:v().gt(o,992)?32:12,justify:"center",children:[(0,i.jsx)(q,{}),(0,i.jsxs)(er.A,{gutter:[16,16],children:[(0,i.jsx)(es.A,{xs:24,md:8,children:(0,i.jsx)(ed,{formItemProps:{name:"surname",label:e("ФамилиÑ"),rules:ek}})}),(0,i.jsx)(es.A,{xs:24,md:8,children:(0,i.jsx)(ed,{formItemProps:{name:"first_name",label:e("ÐмÑ"),rules:ek}})}),(0,i.jsx)(es.A,{xs:24,md:8,children:(0,i.jsx)(ed,{formItemProps:{name:"patronymic",label:e("ÐÑÑеÑÑво")}})}),(0,i.jsx)(es.A,{xs:12,md:6,children:(0,i.jsx)(eu,{formItemProps:{name:"birthday",label:e("ÐаÑа ÑождениÑ"),rules:ek}})}),(0,i.jsx)(es.A,{xs:12,md:6,children:(0,i.jsx)(em,{formItemProps:{name:"gender",rules:ek},radioProps:{options:[{value:"m",label:e("ÐÑж.")},{value:"f",label:e("Ðен.")}]}})}),(0,i.jsx)(es.A,{xs:24,md:12,children:(0,i.jsx)(ed,{formItemProps:{name:"country",label:e("ÐÑажданÑÑво")},inputProps:{disabled:!0}})}),(0,i.jsx)(es.A,{xs:24,md:12,children:(0,i.jsx)(eo,{formItemProps:{name:"birth_place",label:e("ÐеÑÑо РождениÑ"),rules:ek}})}),(0,i.jsx)(es.A,{xs:12,md:6,children:(0,i.jsx)(eC,{formItemProps:{name:"series",label:e("СеÑÐ¸Ñ Ð¿Ð°ÑпоÑÑа")},chunk:2,separator:" ",size:4})}),(0,i.jsx)(es.A,{xs:12,md:6,children:(0,i.jsx)(eC,{formItemProps:{name:"number",label:e("ÐÐ¾Ð¼ÐµÑ Ð¿Ð°ÑпоÑÑа"),rules:ek},chunk:3,separator:" ",size:6})}),(0,i.jsx)(es.A,{xs:24,md:6,children:(0,i.jsxs)(er.A,{gutter:[15,16],children:[(0,i.jsx)(es.A,{xs:12,md:24,children:(0,i.jsx)(eC,{formItemProps:{name:"department_code",label:e("Ðод подÑазделениÑ")},chunk:3,separator:"-",size:6})}),(0,i.jsx)(es.A,{xs:12,md:24,children:(0,i.jsx)(eu,{formItemProps:{name:"issue_date",label:e("ÐаÑа вÑдаÑи"),rules:ek}})})]})}),(0,i.jsx)(es.A,{xs:24,md:18,className:"text-area-container",children:(0,i.jsx)(ex,{formItemProps:{name:"issued_by",label:e("ÐÑдан"),rules:ek}})})]}),(0,i.jsx)(M,{gap:0,align:"center",justify:"center",children:(0,i.jsx)(Q,{size:[24,14],weight:500,children:e("ÐдÑÐµÑ Ð¿Ð¾ÑÑоÑнной ÑегиÑÑÑаÑии")})}),(0,i.jsxs)(er.A,{gutter:[16,16],children:[(0,i.jsx)(es.A,{xs:24,children:(0,i.jsx)(M,{gap:0,children:(0,i.jsx)(g.A.Item,{name:"handwrite",valuePropName:"checked",label:null,children:(0,i.jsx)(L.default,{children:e("ÐкÑивиÑоваÑÑ ÑÑÑное ÑедакÑиÑование адÑеÑа")})})})}),(0,i.jsx)(es.A,{xs:24,style:{display:s.fields.handwrite?"none":"block"},className:"address-container",children:(0,i.jsx)(ew,{fullAddress:u,formItemProps:{name:"fullAddress",label:e("ÐдÑеÑ")},addresses:c,setAddresses:h,form:r})}),(0,i.jsx)(es.A,{xs:24,style:{display:s.fields.handwrite?"block":"none"},children:(0,i.jsxs)(er.A,{gutter:[16,16],children:[(0,i.jsx)(es.A,{xs:24,children:(0,i.jsx)(eN,{formItemProps:{name:"locality",label:e("ÐаÑеленнÑй пÑнкÑ")}})}),(0,i.jsx)(es.A,{xs:24,md:12,children:(0,i.jsx)(eN,{formItemProps:{name:"street",label:e("УлиÑа")}})}),(0,i.jsx)(es.A,{xs:8,md:4,children:(0,i.jsx)(eN,{formItemProps:{name:"house",label:e("Ðом")},size:6})}),(0,i.jsx)(es.A,{xs:8,md:4,children:(0,i.jsx)(eN,{formItemProps:{name:"building",label:e("СÑÑоение")},size:6})}),(0,i.jsx)(es.A,{xs:8,md:4,children:(0,i.jsx)(eN,{formItemProps:{name:"apartment",label:e("ÐваÑÑиÑа")},size:6})})]})})]}),(0,i.jsxs)(M,{vertical:!0,gap:24,justify:"center",className:"actions",children:[(0,i.jsx)(R.default,{onClick:()=>n(),children:e("ÐÑмениÑÑ Ð±ÑониÑование")}),(0,i.jsx)(R.default,{type:"primary",htmlType:"submit",children:e("ÐÑодолжиÑÑ")})]})]})})}),ez=(0,d.PA)(()=>{let{t:e}=(0,N.B)(),{width:t}=(0,U.A)();return(0,i.jsx)(M,{gap:v().gt(t,992)?40:12,className:"bl-verify",children:(0,i.jsxs)(M,{gap:28,children:[(0,i.jsx)(et,{}),(0,i.jsx)(Q,{size:[48,42],color:"#fff",font:"ALS Alumna",className:"title-page",children:e("УбедиÑеÑÑ \nв пÑавилÑноÑÑи \nданнÑÑ
")}),(0,i.jsx)(eI,{})]})})});var eE=l(86277);let eS=(0,d.PA)(e=>{let{text:t,phone:l}=e,{width:s}=(0,U.A)();return(0,i.jsx)(M,{gap:15,align:"center",children:(0,i.jsxs)(Q,{size:[24,14],children:[(0,i.jsx)(x(),{src:eE.A,alt:"",width:v().gt(s,576)?32:15}),(0,i.jsxs)("span",{children:[t,l&&(0,i.jsx)(X,{size:[32,16],weight:700,children:l})]})]})})}),eD=(0,d.PA)(e=>{let{formItemProps:t,checkboxProps:l,children:s}=e;return(0,i.jsx)(g.A.Item,{...t,valuePropName:"checked",children:(0,i.jsx)(L.default,{...l,children:s})})}),eB=(0,d.PA)(()=>{var e;let{t}=(0,N.B)(),{reservation:l,ordertype:s,reservationSteps:r,history:a}=(0,B.Pj)(),[n]=g.A.useForm(),{onReset:o}=useResetPd(),{width:d}=(0,U.A)(),onFinish=async e=>{let s=v().chain(v().entries(e)).filter(e=>{let[t,l]=e;return!l}).map(e=>{let[t]=e;return t}).valueOf();
1if(v().size(s))v().chain(s).forEach(e=>{n.setFields([{name:e,errors:[t("ÐоÑÑавÑÑе галоÑÐºÑ Ð´Ð»Ñ Ð¿Ð¾Ð´ÑвеÑÐ¶Ð´ÐµÐ½Ð¸Ñ Ð¿Ð¾Ð´Ð¿Ð¸Ñи")]}])}).valueOf();else try{var i;let e=await (0,Y.eP)({url:"/documents",method:"GET",loading:!1,headers:{"X-Reservation-UUID":null==l?void 0:null===(i=l.reservation)||void 0===i?void 0:i.uuid}});a.link=null==e?void 0:e.link,r.steps="document"}catch(e){}};return(0,i.jsx)(g.A,{form:n,layout:"horizontal",onFinish:onFinish,onValuesChange:(e,t)=>{let l=v().keys(e);e[l]&&n.setFields([{name:l,errors:[]}])},autoComplete:"off",children:(0,i.jsxs)(M,{gap:v().gt(d,992)?32:12,justify:"center",children:[(0,i.jsx)(K,{children:(0,i.jsxs)(M,{gap:0,children:[(0,i.jsx)(eD,{formItemProps:{name:"doc1"},children:(0,i.jsx)(eS,{text:t("ÐÐ¾Ð³Ð¾Ð²Ð¾Ñ Ð¾Ð± оказании ÑÑлÑг ÑвÑзи по номеÑÑ"),phone:null===(e=l.reservation)||void 0===e?void 0:e.phone_number})}),(0,i.jsx)(eD,{formItemProps:{name:"doc2"},children:(0,i.jsx)(eS,{text:t("ÐополниÑелÑное ÑоглаÑение к ÐоговоÑÑ Ð¾Ð± оказании ÑÑлÑг ÑвÑзи Ðилайн")})}),(0,i.jsx)(eD,{formItemProps:{name:"doc3"},children:(0,i.jsx)(eS,{text:t("ÐаÑвление-анкеÑа")})}),(0,i.jsx)(eD,{formItemProps:{name:"doc4"},children:(0,i.jsx)(eS,{text:t("СоглаÑие на обÑабоÑÐºÑ Ð¿ÐµÑÑоналÑнÑÑ
даннÑÑ
к договоÑÑ Ð¾Ð± оказании ÑÑлÑг ÑвÑзи и заÑвлениÑ-анкеÑе")})})]})}),(0,i.jsxs)(M,{vertical:!0,gap:24,justify:"center",className:"actions",children:[(0,i.jsx)(R.default,{onClick:()=>o(),children:t("ÐÑмениÑÑ Ð±ÑониÑование")}),(0,i.jsx)(R.default,{type:"primary",htmlType:"submit",children:t("ÐÑодолжиÑÑ")})]})]})})}),eR=(0,d.PA)(e=>{let{step:t,text:l,subText:s}=e;return(0,i.jsx)(M,{gap:16,align:"center",justify:"center",className:"bl-step-block".concat(s?" has-sub-text":""),children:(0,i.jsxs)(X,{weight:700,size:[42,26],children:[l,s&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("br",{}),(0,i.jsx)("span",{children:s})]})]})})}),eL=(0,d.PA)(()=>{let{t:e}=(0,N.B)(),{history:t}=(0,B.Pj)(),{width:l}=(0,U.A)();return(0,i.jsx)(M,{gap:v().gt(l,992)?40:12,className:"bl-documents",children:(0,i.jsxs)(M,{gap:28,align:"center",className:"container",children:[(0,i.jsx)(et,{hidePhone:!0}),(0,i.jsx)(eR,{step:2,text:"".concat(v().isNil(v().get(t,"fields.first_name"))&&v().isNil(v().get(t,"fields.patronymic"))?"УважаемÑй (аÑ)":"Уважаем".concat(v().isEqual(v().get(t,"fields.gender"),"m")?"Ñй":"аÑ"),"\n").concat(v().isNil(v().get(t,"fields.first_name"))&&v().isNil(v().get(t,"fields.patronymic"))?"":"".concat(v().get(t,"fields.first_name","")," ").concat(v().get(t,"fields.patronymic",""),",")),subText:"ÐºÐ¾Ð¼Ð¿Ð»ÐµÐºÑ Ð´Ð¾ÐºÑменÑов гоÑов"}),(0,i.jsx)(Q,{size:[32,15],weight:700,children:e(v().gt(l,992)?"ÐоÑÑавÑÑе галоÑки и нажмиÑе \xabÐÑодолжиÑÑ\xbb. \nÐа ÑледÑÑÑем ÑкÑане вам необÑ
одимо внимаÑелÑно \nознакомиÑÑÑÑ Ñ Ð´Ð¾Ðº
1ÑменÑами и подпиÑаÑÑ Ð¸Ñ
.":"ÐоÑÑавÑÑе галоÑки и нажмиÑе \xabÐÑодолжиÑÑ\xbb. \nÐа ÑледÑÑÑем ÑкÑане вам необÑ
одимо \nвнимаÑелÑно ознакомиÑÑÑÑ Ñ Ð´Ð¾ÐºÑменÑами \nи подпиÑаÑÑ Ð¸Ñ
.")}),(0,i.jsx)(eB,{})]})})});var eM=l(86096),eT=l(4917),eV=l(56092);l(96636),l(16529),l(78469);let eH=(0,d.PA)(()=>{var e;let{t}=(0,N.B)(),{history:l,reservationSteps:s}=(0,B.Pj)(),r=(0,eV.zoomPlugin)();return(0,i.jsxs)(M,{gap:40,className:"bl-document",children:[(0,i.jsxs)(M,{gap:0,className:"pdf-container",children:[(0,i.jsx)("div",{className:"overflow-pdf-container"}),(0,i.jsx)(eM.Worker,{workerUrl:"https://front-pdf-viewer.bezlimit.ru/pdf-worker/pdf.worker.min.js?v=1",children:(0,i.jsx)(eM.Viewer,{fileUrl:null!==(e=null==l?void 0:l.link)&&void 0!==e?e:"https://signature.bezlimit.ru/96/84/9684397439-905cd04e223434d0bade0aa5fe4d085018ac12a4e5e442cd.pdf",plugins:[(0,eT.defaultLayoutPlugin)({renderToolbar:e=>(0,i.jsx)(e,{children:e=>{let{Download:t,Print:l,Zoom:s}=e;return(0,i.jsxs)("div",{style:{justifyContent:"center",alignItems:"center",display:"flex",width:"100%"},children:[(0,i.jsx)("div",{style:{padding:"0px 2px"},children:(0,i.jsx)(s,{})}),(0,i.jsx)("div",{style:{padding:"0px 2px"},children:(0,i.jsx)(t,{})}),(0,i.jsx)("div",{style:{padding:"0px 2px"},children:(0,i.jsx)(l,{})})]})}})}),r]})})]}),(0,i.jsxs)(M,{gap:19,className:"actions-container",children:[(0,i.jsx)(R.default,{type:"primary",onClick:()=>{s.steps="sign"},style:{width:"100% !important"},children:t("ÐодпиÑаÑÑ")}),(0,i.jsx)("div",{})]})]})});var eU=l(2430),eQ=l(69213);let eZ=(0,d.PA)(()=>{let{t:e}=(0,N.B)(),{reservation:t,ordertype:l,reservationSteps:s}=(0,B.Pj)(),r=(0,a.useRef)(null),n=(0,a.useMemo)(()=>1500,[]),[o,d]=(0,a.useState)(),[c,u]=(0,a.useState)(0),{width:h}=(0,U.A)(),m=(0,a.useContext)(j.Vs),{onReset:x}=useResetPd(),save=async(e,l,r)=>fetch(e).then(e=>e.arrayBuffer()).then(async e=>{try{var i;let a=new File([e],l,{type:r});await (0,Y.eP)({url:"/documents/signature",method:"POST",data:{signature:a},loading:!1,onUploadProgress:e=>{if(e.loaded&&e.total){let t=Math.floor(e.loaded/e.total*100);u(t)}},headers:{"X-Reservation-UUID":null==t?void 0:null===(i=t.reservation)||void 0===i?void 0:i.uuid}}),await s.fetchFillingStep()}catch(e){}finally{setTimeout(()=>{u(0)},n)}}),onClick=async()=>{if(o.isEmpty()){null==m||m.setChildren((0,i.jsx)(eU.default,{title:e("ÐожалÑйÑÑа, ÑнаÑала поÑÑавÑÑе ÑÐ²Ð¾Ñ Ð¿Ð¾Ð´Ð¿Ð¸ÑÑ.")})),null==m||m.setVisible(!0);return}{let e=o.toDataURL();save(e,"signature.png","image/png")}},resize=()=>{if(r.current&&o){let e=r.current.closest(".sign");r.current.width=e.clientWidth>884?884:e.clientWidth,r.current.height=h>992?439:h<576?document.documentElement.clientHeight-411:document.documentElement.clientHeight-532,r.current.getContext("2d").scale(1,1),o.clear()}};return(0,a.useEffect)(()=>{resize()},[r.current,h,o]),(0,a.useLayoutEffect)(()=>{r.current&&d(new eQ.A(r.current,{backgroundColor:"transparent",penColor:"rgb(0, 85, 255)"}))},[r.current]),(0,i.jsxs)(M,{gap:32,justify:"center",className:"form-contaoner",children:[(0,i.jsxs)(M,{gap:0,className:"sign",children:[(0,i.jsx)("canvas",{ref:r,width:884,height:439}),(0,i.jsx)(R.default,{type:"dashed",onClick:()=>{o.clear()},children:e("ÐÑиÑÑиÑÑ Ð¿Ð¾Ð´Ð¿Ð¸ÑÑ")})]}),(0,i.jsxs)(M,{vertical:!0,gap:24,justify:"center",className:"actions",children:[(0,i.jsx)(R.default,{onClick:()=>x(),children:e("ÐÑмениÑÑ Ð±ÑониÑование")}),(0,i.jsx)(R.default,{type:"primary",htmlType:"submit",onClick:onClick,children:e("ÐÑпÑавиÑÑ")})]}),c?(0,i.jsx)(Z,{progress:c,text:e("ÐÐ´ÐµÑ Ð·Ð°Ð³ÑÑзка...")}):null]})}),eY=(0,d.PA)(()=>{let{t:e}=(0,N.B)(),{width:t}=(0,U.A)();return(0,i.jsx)(M,{gap:v().gt(t,992)?40:12,className:"bl-sign",children:(0,i.jsxs)(M,{gap:28,align:"center",className:"container",children:[(0,i.jsx)(et,{}),(0,i.jsx)(eR,{step:3,text:e("ÐодпиÑиÑе докÑменÑÑ")}),(0,i.jsx)(M,{gap:0,align:"center",className:"text-container",children:(0,i.jsx)(Q,{size:[32,18],weight:700,children:e(v().gt(t,992)?"ÐожалÑйÑÑа, поÑÑавÑÑе подпиÑÑ Ñак, как обÑÑно подпиÑÑваеÑе \nдокÑменÑÑ. ÐÑполÑзÑйÑе палеÑ, ÑÑилÑÑ Ð¸Ð»Ð¸ мÑÑкÑ. ÐÑли ÑÑо-Ñо \nне полÑÑилоÑÑ â можно оÑиÑÑиÑÑ Ð¿Ð¾Ð»Ðµ и попÑобоваÑÑ Ñнова.":"ÐожалÑйÑÑа, поÑÑавÑÑе подпиÑÑ \nÑак, как обÑÑно подпиÑÑваеÑе \nдокÑменÑÑ. ÐÑполÑзÑйÑе палеÑ, \nÑÑилÑÑ Ð¸Ð»Ð¸ мÑÑкÑ. ÐÑли ÑÑо-Ñо \nне полÑÑилоÑÑ â можно оÑиÑÑиÑÑ \nполе и попÑобоваÑÑ Ñнова.")})}),(0,i.jsx)(eZ,{})]})})});var eO=l(80899),eW=l(52028),eG={src:"/_next/static/media/plus.25864df0.png",height:295,width:295,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAJFBMVEVMaXHTzNOfkqCqm7C8pcXPyNLJv83e0uHc1N/+/v/3+Prt7uul0gvzAAAACXRSTlMAxFZkabL4x/oftahjAAAACXBIWXMAACxLAAAsSwGlPZapAAAALElEQVR4nGNgQAAmRnYWMM3NycUJYrFycnBwsoMZbGxcjFApLmaIYkYwDQUAHE4Aw/oAzC8AAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},eq={src:"/_next/static/media/minus.8c7c131a.png",height:295,width:295,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAJFBMVEX///9MaXH///+pl7DZ0NnOyNKxobGmm6rl3uTr6e0A/wD09vfLrU1MAAAAC3RSTlP+AAFcv8FgY/j6AcH03m4AAAAJcEhZcwAALEsAACxLAaU9lqkAAAA0SURBVHicTYtBDsAgDICgtk7X//93cSc5kRDw9QedmfPI09BDrN6bEpO1yCuFo2oYGGcOPx8QANHt7XUNAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:8},eJ=l(27027);let eX=(0,d.PA)(e=>{let{ymap:t}=e,{t:l}=(0,N.B)(),[s]=g.A.useForm(),{get:r}=(0,ey.A)(),[n,o]=(0,a.useState)([]),d=(0,a.useMemo)(()=>{let fn=async e=>{let t=await r({url:"/system/suggest/address",params:{...e?{query:e}:{},expand:"geo"}});o(t)};return v().debounce(fn,500)},[500]);return(0,i.jsx)(g.A,{className:"bl-ymap-search",form:s,layout:"horizontal",onFinish:e=>{let l=v().find(n,t=>{let{value:l}=t;return v().isEqual(l,e.query)});t.setZoom(13),t.setCenter([l.geo.lat,l.geo.lon]),s.resetFields(),o([])},autoComplete:"off",children:(0,i.jsx)(g.A.Item,{name:"query",children:(0,i.jsx)(ev.A,{options:v().chain(n).filter(e=>{let{geo:t}=e;return!v().isNil(t.lat)&&!v().isNil(t.lon)}).map(e=>{let{value:t}=e;return{value:t,label:t}}).valueOf(),onSelect:()=>{s.submit()},onSearch:d,suffixIcon:null,children:(0,i.jsx)(ei.default.Search,{placeholder:l("ÐоиÑк оÑиÑа"),suffix:(0,i.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",children:(0,i.jsx)("path",{d:"M11.4525 11.9543C12.563 10.8462 13.25 9.31425 13.25 7.62195C13.25 4.24089 10.5077 1.5 7.125 1.5C3.74226 1.5 1 4.24089 1 7.62195C1 11.003 3.74226 13.7439 7.125 13.7439C8.8146 13.7439 10.3444 13.0601 11.4525 11.9543ZM11.4525 11.9543L15.4527 15.9539",stroke:"#1F1F1F","stroke-width":"1.3","stroke-linecap":"round","stroke-linejoin":"round"})})})})})})}),eK=(0,d.PA)(e=>{let{onClickMarker:t,points:l,loading:s,onToogle:r}=e,{t:a}=(0,N.B)(),onClick=e=>{t([+e.lat,+e.lon]),r&&r()};return(0,i.jsx)(ej.default,{loading:s,className:"bl-ymap-list",header:null,footer
1:null,bordered:!0,dataSource:l,renderItem:e=>(0,i.jsx)(ej.default.Item,{onClick:onClick.bind(null,e),children:(0,i.jsxs)(M,{vertical:!1,className:"container",gap:12,children:[(0,i.jsxs)(H.A.Paragraph,{className:"name",children:[e.place.name," ",v().isNil(e.place.line)&&v().isNil(e.place.metro)&&(0,i.jsx)(i.Fragment,{children:!!e.place.addressNote&&(0,i.jsx)(H.A.Paragraph,{className:"metro",children:e.place.addressNote})})]}),(0,i.jsx)(H.A.Paragraph,{className:"address",children:e.place.address}),(0,i.jsxs)(M,{vertical:!0,className:"bottom",align:"center",gap:12,children:[(0,i.jsx)(H.A.Paragraph,{className:"free",children:a("ÐеÑÑплаÑно")}),(0,i.jsx)(H.A.Paragraph,{className:"open",children:e.place.openHours})]})]})})})});var e_=l(85139),e$=l(62367),e0=l.n(e$),e1=l(72505),e2=l.n(e1);let e4=[{href:{src:"/_next/static/media/preset.266c2712.svg",height:72,width:70,blurWidth:0,blurHeight:0},size:[60,60],offset:[-20,-20],content:"{{properties.geoObjects.length}}"}],e5=(0,d.PA)(()=>{let{t:e}=(0,N.B)(),{width:t}=(0,U.A)(),[l,s]=(0,a.useState)(!1),[r,n]=(0,a.useState)({latitude:55.75023409147168,longitude:37.75047185058594}),[o,d]=(0,a.useState)(!1),[c,u]=(0,a.useState)(!1),[h,m]=(0,a.useState)(!1),[g]=(0,a.useState)(13),[j,p]=(0,a.useState)([]),[A,b]=(0,a.useState)([]),y=(0,a.useRef)(null),w=(0,a.useRef)(null),C=(0,a.useMemo)(()=>{let fn=async e=>{try{u(!0);let t=await e2()({baseURL:"https://site-api.bezlimit.ru/v1",url:"/company/map/points",params:{lat1:e[0][0],lat2:e[1][0],lon1:e[0][1],lon2:e[1][1],expand:"place"}});b(t.data)}catch(e){throw e}finally{u(!1)}};return v().debounce(fn,100)},[100]),onToogle=()=>{m(!h)},onClick=e=>{y.current.setZoom(18),y.current.setCenter(e)};return(0,a.useEffect)(()=>{y.current&&y.current.container.fitToViewport()},[y.current,l]),(0,a.useEffect)(()=>{if(r&&(null==r?void 0:r.latitude)&&(null==r?void 0:r.longitude)){let fn=async()=>{};fn()}},[r]),(0,a.useEffect)(()=>{v().size(j)&&C(j)},[j]),(0,a.useEffect)(()=>{let fn=async()=>{let e,t;if("geolocation"in navigator){var l,s;let r=await new Promise((e,t)=>{navigator.geolocation.getCurrentPosition(e,t=>
1{t.code==t.PERMISSION_DENIED&&e(!0)})});e=null==r?void 0:null===(l=r.coords)||void 0===l?void 0:l.latitude,t=null==r?void 0:null===(s=r.coords)||void 0===s?void 0:s.longitude}else e=55.75023409147168,t=37.75047185058594;e&&t&&(n({latitude:e,longitude:t}),y.current&&y.current.setCenter([e,t]))};fn()},[y.current]),(0,i.jsx)(M,{gap:v().gt(t,992)?40:12,className:"bl-ymap".concat(l?" is-open":""),children:(0,i.jsx)(ep.default,{spinning:!o,children:!v().isNil(r)&&(0,i.jsxs)(i.Fragment,{children:[o&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(eX,{ymap:y.current}),v().gt(t,992)&&(0,i.jsx)(eK,{onClickMarker:onClick,points:A,loading:c}),(0,i.jsxs)(M,{vertical:!0,className:"zoom",justify:"center",children:[(0,i.jsx)(x(),{width:52,alt:"",src:eq,onClick:()=>{y.current.getZoom()>4&&y.current.setZoom(y.current.getZoom()-1)}}),(0,i.jsx)(x(),{width:52,alt:"",src:eG,onClick:()=>{18>=y.current.getZoom()&&y.current.setZoom(y.current.getZoom()+1)}})]}),(0,i.jsx)(H.A.Paragraph,{className:"fullscreen",onClick:()=>{s(!l)},children:(0,i.jsx)(H.A.Paragraph,{className:"angels"})})]}),(0,i.jsx)("div",{className:"map",children:(0,i.jsx)(eJ.Xi,{query:{load:"package.full",lang:"ru_RU"},children:(0,i.jsx)(eJ.T5,{instanceRef:y,defaultState:{center:[null==r?void 0:r.latitude,null==r?void 0:r.longitude],zoom:g,controls:[]},options:{maxZoom:18,minZoom:4},onLoad:e=>{w.current=e,d(!0),p(y.current.getBounds())},onActionEnd:e=>{c||v().isEqual(j,e.originalEvent.map.getBounds())||p(e.originalEvent.map.getBounds())},children:(0,i.jsx)(eJ.kW,{options:{preset:"islands#yellowClusterIcons",groupByCoordinates:!1,clusterIcons:e4},children:v().map(A,e=>{var t;return(0,i.jsx)(eJ.Ro,{defaultGeometry:[e.lat,e.lon],properties:{hintContent:null===(t=e.place)||void 0===t?void 0:t.name},options:{iconLayout:"default#image",iconImageHref:"/images/mark.svg"},onClick:onClick.bind(null,[e.lat,e.lon])},e.id)})})})})}),v().lte(t,992)&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(e_.A,{offsetBottom:0,children:(0,i.jsxs)(R.default,{onClick:onToogle,className:"ymap-affix-btn",disabled:!v().size(A),children:[e0()(v().size(A),"%d оÑиÑ","%d оÑиÑа","%d оÑиÑов")," ",e("на каÑÑе")]})}),(0,i.jsx)(eg.A,{title:"".concat(e0()(v().size(A),"%d оÑиÑ","%d оÑиÑа","%d оÑиÑов")," на каÑÑе"),placement:"bottom",onClose:onToogle,open:h,className:"ymap-drawer",children:(0,i.jsx)(eK,{onClickMarker:onClick,points:A,loading:c,onToogle:onToogle})})]})]})})})}),e3=(0,d.PA)(()=>{var e,t,l;let{t:s}=(0,N.B)(),{width:r}=(0,U.A)(),{reservation:n,history:d}=(0,B.Pj)(),c=(0,w.useRouter)(),onClick=async()=>{await (0,y.yH)("reservation"),n.reservation=null,d.reset(),c.push("/number?type=p")};return(0,a.useLayoutEffect)(()=>(document.body.classList.add("hide-chat"),()=>{document.body.classList.remove("hide-chat")}),[]),(0,i.jsx)(M,{gap:v().gt(r,992)?40:12,className:"bl-done",children:(0,i.jsxs)(M,{gap:24,align:"center",className:"cont",children:[(0,i.jsx)(M,{vertical:!0,gap:0,align:"center",className:"text-container",children:(0,i.jsxs)(M,{vertical:!0,gap:16,align:"center",className:"text",children:[(0,i.jsx)(x(),{src:eW.A,alt:"",width:73}),(0,i.jsx)(M,{gap:0,children:(0,i.jsx)(Q,{size:[28,25],weight:700,children:s(v().gt(r,992)?"ÐÐ¾Ð¼ÐµÑ ÑÑпеÑно оплаÑен":"ÐÐ¾Ð¼ÐµÑ ÑÑпеÑно \nоплаÑен")})}),(0,i.jsx)(Q,{className:"phone",size:[52,52],font:"ALS Alumna",children:(0,i.jsx)(A.A,{value:null===(e=n.reservation)||void 0===e?void 0:e.phone_number,format:"### ### ## ##",displayType:"text"})})]})}),(0,i.jsx)(M,{vertical:!0,gap:0,align:"center",className:"text-container",children:(0,i.jsxs)(M,{gap:0,align:"center",justify:"center",className:"top-text",children:[(0,i.jsx)(Q,{className:"top",size:[28,18],weight:900,color:"#fff",children:s(v().gt(r,992)?"ÐабеÑиÑе SIM-каÑÑÑ Ð² оÑиÑе Ðилайн. ÐÑи полÑÑении ÑкажиÑе:":"ÐабеÑиÑе SIM-каÑÑÑ Ð² оÑиÑе \nÐилайн. ÐÑи полÑÑении ÑкажиÑе:")}),(0,i.jsx)(Q,{className:"bottom",size:[26,15],color:"#fff",children:v().gt(r,992)?(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{children:s("\xabÐоÑÑÑановиÑе SIM-каÑÑÑ Ð½Ð° моем номеÑе")})," ",(0,i.jsx)(A.A,{value:null===(t=n.reservation)||void 0===t?void 0:t.phone_number,format:"### ### ## ##",dis
1playType:"text"}),s("\xbb. "),(0,i.jsx)("span",{children:s("ÐозÑмиÑе паÑпоÑÑ!")})]}):(0,i.jsxs)("div",{className:"",children:[(0,i.jsx)("div",{children:s("\xabÐоÑÑÑановиÑе SIM-каÑÑÑ Ð½Ð° моем")}),(0,i.jsxs)("div",{children:[s("номеÑе")," ",(0,i.jsx)(A.A,{value:null===(l=n.reservation)||void 0===l?void 0:l.phone_number,format:"### ### ## ##",displayType:"text"}),s("\xbb. ÐозÑмиÑе паÑпоÑÑ!")]})]})})]})}),(0,i.jsx)(eO.A,{defaultActiveKey:"map",items:[{label:s("Ðа каÑÑе"),key:"map",children:(0,i.jsx)(e5,{})},{label:s("СпиÑок"),key:"list",children:"Content 2"}],destroyInactiveTabPane:!0}),(0,i.jsx)(M,{vertical:!0,gap:24,justify:"center",className:"actions",children:(0,i.jsx)(o.$n,{onClick:onClick,type:"primary",children:s("ÐеÑнÑÑÑÑÑ Ðº ÐодбоÑÑ Ð½Ð¾Ð¼ÐµÑов")})})]})})});var e6=l(13776),e8=l(22034),e9=l(10724),e7=l(10486),te=l.n(e7),tt=(0,d.PA)(function(e){let{children:t,hideClass:l}=e,[s,r]=(0,a.useState)(void 0);return(0,a.useEffect)(()=>{r(document.createElement("div"))},[]),(0,a.useEffect)(()=>{let e=document.getElementById("portal-reservation");if(e&&s)return e.appendChild(s),()=>{e.removeChild(s)}},[s]),s?te().createPortal(t,s):null});let tl=(0,d.PA)(()=>{let{t:e}=(0,N.B)(),[t,l]=(0,a.useState)(!0),{reservation:s,history:r}=(0,B.Pj)(),n=(0,w.useRouter)(),onCancel=async()=>{await (0,y.yH)("reservation"),s.reservation=null,r.reset(),n.push("/number?type=p"),l(!1)};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(e6.A,{className:"bl-error-modal",width:768,title:null,footer:null,maskStyle:{background:"transparent"},open:t,onCancel:onCancel,closeIcon:(0,i.jsx)(x(),{src:e9.A,alt:"",width:24}),children:(0,i.jsxs)(M,{gap:24,align:"center",justify:"center",children:[(0,i.jsx)(x(),{src:e8.A,alt:"",width:134}),(0,i.jsx)(Q,{size:[32,24],weight:900,children:e("ÐÑÐµÐ¼Ñ Ð±ÑониÑÐ¾Ð²Ð°Ð½Ð¸Ñ Ð¸ÑÑекло")}),(0,i.jsx)(Q,{size:[22,16],children:(0,i.jsx)(R.default,{type:"link",onClick:onCancel,children:e("ÐеÑейÑи в Ð±Ð°Ð·Ñ Ð½Ð¾Ð¼ÐµÑов")})})]})}),t&&(0,i.jsx)(tt,{children:(0,i.jsx)("div",{className:"portal-reservation-bg",children:(0,i.jsx)("div",{className:"portal-reservation"})})})]})});var ts=l(39856);let tr=[{required:!0,message:"Ðоле обÑзаÑелÑно Ð´Ð»Ñ Ð·Ð°Ð¿Ð¾Ð»Ð½ÐµÐ½Ð¸Ñ"}],ti=(0,d.PA)(()=>{let{t:e}=(0,N.B)(),{reservation:t,reservationSteps:l}=(0,B.Pj)(),s=(0,B.Pj)(),{onReset:r}=useResetPd(),[n]=o.lV.useForm(),d=(0,a.useRef)(new Map),{width:c}=(0,U.A)(),[u,h]=(0,a.useState)([]),[m,g]=(0,a.useState)([]),[j,p]=(0,a.useState)(!1),A=(0,a.useMemo)(()=>v().debounce(e=>{e?v().find(m,t=>v().includes(t.label,e))?h(v().filter(m,t=>v().includes(t.label,e))):b(e):(h([]),g([]))},300),[u,m,300]),b=(0,a.useCallback)(async e=>{p(!0),(0,Y.eP)({url:"/system/suggest/address",params:{query:e,expand:"detail"},loading:!1}).then(e=>{let t=v().chain(e).reduce((e,t)=>((e||(e=[])).push({value:t.value,label:t.value}),e),[]).valueOf();h(t),g(e)}).finally(()=>{p(!1)})},[]),removeError=e=>{n.setFields([{name:e,errors:[]}]),d.current.delete(e)},setError=(e,t)=>{n.setFields([{name:e,errors:[""]}]),d.current.set(e,t)},onFinish=async e=>{let r=v().replace(v().replace(e.contact_phone_number,"+7",""),/[\s\-\(\)]/gim,"");if(v().get(e,"agree")||setError("agree",'ÐодÑвеÑдиÑе "СоглаÑие на обÑабоÑÐºÑ Ð¿ÐµÑÑоналÑнÑÑ
даннÑÑ
"'),d.current.size)s.errorsApi.errors=Array.from(d.current.values()).map(e=>({message:e}));else try{var i;await (0,Y.eP)({url:"/reservation/delivery/courier",method:"POST",loading:!0,data:{fio:e.fio,contact_phone_number:r,address:e.address,comment:e.comment},headers:{"X-Reservation-UUID":null==t?void 0:null===(i=t.reservation)||void 0===i?void 0:i.uuid}}),await l.fetchFillingStep()}catch(e){}};return(0,i.jsx)(o.lV,{form:n,layout:"horizontal",onFinish:onFinish,onValuesChange:e=>{let t=v().first(v().keys(e));removeError(t)},autoComplete:"off",initialValues:{},children:(0,i.jsxs)(M,{gap:v().gt(c,992)?32:12,justify:"center",align:"center",children:[(0,i.jsxs)(o.fI,{gutter:[16,16],className:"row-form-courier",children:[(0,i.jsx)(o.fv,{sm:15,xs:24,children:(0,i.jsx)(o.FO,{formItemProps:{name:"fio",label:"Ð¤Ð°Ð¼Ð¸Ð»Ð¸Ñ ÐÐ¼Ñ ÐÑÑеÑÑво",rules:tr,normalize:e=>v().replace(e,/[^а-ÑÐ-Яa-zA-Z ]/gi,"")}})}),(0,i.jsx)(o.fv,{sm:9,xs:24,children:(0,i.jsx)(o.PV,{formItemProps:{name:"contact_phone_number",label:"ÐонÑакÑнÑй номеÑ"}})}),(0,i.jsx)(o.fv,{span:24,children:(0,i.jsx)(o.tE,{formItemProps:{name:"address",label:"ÐдÑÐµÑ Ð´Ð¾ÑÑавки",rules:tr},autoCompleteProps:{popupClassName:"search-adress-select",options:u,allowClear:!1,onSearch:A,notFoundContent:j?(0,i.jsx)(o.t
1K,{className:"bz-spinner",indicator:(0,i.jsx)(x(),{src:ts.A,alt:"spinner"})}):null}})}),(0,i.jsx)(o.fv,{span:24,children:(0,i.jsx)(o.FO.TextArea,{formItemProps:{name:"comment",label:"ÐомменÑаÑий"}})})]}),(0,i.jsx)(M,{gap:0,justify:"center",className:"agree",children:(0,i.jsx)(o.lV.Item,{name:"agree",valuePropName:"checked",label:null,children:(0,i.jsx)(L.default,{children:e("СоглаÑие на обÑабоÑÐºÑ Ð¿ÐµÑÑоналÑнÑÑ
даннÑÑ
")})})}),(0,i.jsxs)(M,{vertical:!0,gap:24,justify:"center",className:"actions",children:[(0,i.jsx)(R.default,{onClick:()=>r(),children:e("ÐÑмениÑÑ Ð±ÑониÑование")}),(0,i.jsx)(R.default,{type:"primary",htmlType:"submit",children:e("ÐÑодолжиÑÑ")})]})]})})}),ta=(0,d.PA)(()=>{let{t:e}=(0,N.B)(),{width:t}=(0,U.A)();return(0,i.jsx)(M,{gap:v().gt(t,992)?40:12,className:"bl-registration-courier",children:(0,i.jsxs)(M,{gap:24,align:"center",children:[(0,i.jsx)(et,{}),(0,i.jsx)(Q,{size:[48,26],color:"#fff",font:"ALS Alumna",className:"title-page",children:e(v().gt(t,992)?"ÐаполниÑе ÑоÑмÑ: даннÑе полÑÑаÑÐµÐ»Ñ \nи адÑÐµÑ Ð¿Ð¾Ð»ÑÑаÑелÑ.":"ÐаполниÑе ÑоÑмÑ: даннÑе \nполÑÑаÑÐµÐ»Ñ Ð¸ адÑÐµÑ \nполÑÑаÑелÑ.")}),(0,i.jsx)(ti,{})]})})});var tn=l(82383),to=l(27879),td=l(98645),tc=l(38232);let tu=(0,d.PA)(()=>{var e,t,l,s,r,n,d,c,u,h,m,g,p,A,b,w;let{t:C}=(0,N.B)(),{reservation:F,reservationSteps:k}=(0,B.Pj)(),{width:I}=(0,U.A)();(0,B.Pj)();let{onReset:z}=useResetPd(),E=(0,a.useContext)(j.Vs),[S,D]=(0,a.useState)();(0,a.useEffect)(()=>{let f=async()=>{let e=await (0,y.Jt)("stepFront"),t=await (0,y.Jt)("reservation");e?D(e):t&&D(t)};f()},[]),(0,a.useEffect)(()=>{let f=async()=>{let e=await (0,y.Jt)("reservation"),t=await (0,y.Jt)("reservation"),l=await F.getReservation();await (0,y.hZ)("reservation",{...l,uuid:e.uuid,ordertype:t.ordertype}),F.reservation=l};f()},[]);let onClickCard=async()=>{var e,t,l;let s=Number(null==F?void 0:null===(e=F.reservation)||void 0===e?void 0:e.phone_number),r=null==F?void 0:null===(l=F.reservation)||void 0===l?void 0:null===(t=l.tariff)||void 0===t?void 0:t.price;try{await tc.A.getPaymentLink2({phone:s,amount:r})}catch(e){}};return(0,i.jsx)(M,{gap:v().gt(I,992)?40:12,className:"bl-registration-courier-payment",children:(0,i.jsxs)(M,{gap:24,align:"center",children:[(0,i.jsx)(et,{}),(0,i.jsxs)(o.o5,{as:"div",className:"block-info-tariff",children:[v().isEqual(null==S?void 0:S.ordertype,"beeline")&&(0,i.jsx)(o.o5,{as:"div",className:"bl-order-type-beeline",children:(0,i.jsxs)(tn.A,{size:[14,14],weight:400,children:[(0,i.jsx)(x(),{src:eW.A,alt:"",width:(v().gt(I,992),73)}),(0,i.jsx)(o.o5,{as:"div",className:"text-success",children:C("ÐÑе даннÑе ÑÑпеÑно оÑпÑÐ°Ð²Ð»ÐµÐ½Ñ Ð½Ð° пÑовеÑÐºÑ \nÐавеÑÑиÑе оÑоÑмление: оплаÑиÑе ÑаÑиÑнÑй план")})]})}),(0,i.jsx)(P.A,{children:(0,i.jsxs)(o.fI,{gutter:[24,24],className:"row-info",children:[(0,i.jsxs)(o.fv,{sm:11,xs:24,className:"col-tariff-name",children:[(0,i.jsxs)(o.o5,{as:"div",className:"tariff-name",children:[C("ТаÑиÑ"),(0,i.jsx)("span",{className:"span",children:null==F?void 0:null===(t=F.reservation)||void 0===t?void 0:null===(e=t.tariff)||void 0===e?void 0:e.name})]}),(0,i.jsxs)(tn.A,{size:[14,14],weight:400,className:"text",children:[C("ÐбоненÑÑÐºÐ°Ñ Ð¿Ð»Ð°Ñа"),(0,i.jsx)("span",{children:"".concat(null==F?void 0:null===(s=F.reservation)||void 0===s?void 0:null===(l=s.tariff)||void 0===l?void 0:l.price," â½")})]})]}),(0,i.jsxs)(o.fv,{sm:13,xs:24,className:"col-tariff-info",children:[(0,i.jsx)(o.o5,{as:"div",className:"title",children:C("Ðа вÑе оÑÑалÑное")}),(0,i.jsxs)(o.fI,{children:[(0,i.jsx)(o.fv,{span:8,children:(0,i.jsxs)(o.o5,{as:"div",className:"block gold",children:[(0,i.jsx)(o.o5,{as:"div",className:"packet",children:v().gte(null==F?void 0:null===(n=F.reservation)||void 0===n?void 0:null===(r=n.tariff)||void 0===r?void 0:r.packet_internet,1e3)?1:null==F?void 0:null===(c=F.reservation)||void 0===c?void 0:null===(d=c.tariff)||void 0===d?void 0:d.packet_internet}),(0,i.jsx)(o.o5,{as:"div",className:"text",children:C(v().gte(null==F?void 0:null===(h=F.reservation)||void 0===h?void 0:null===(u=h.tariff)||void 0===u?void 0:u.packet_internet,1e3)?"Tб":"Ðб")})]})}),(0,i.jsx)(o.fv,{span:8,children:(0,i.jsxs)(o.o5,{as:"div",className:"block",children:[(0,i.jsx)(o.o5,{as:"div",className:"packet",children:null==F?void 0:null===(g=F.reservation)||void 0===g?void 0:null===(m=g.tariff)||void 0===m?void 0:m.packet_minutes}),(0,i.jsx)(o.o5,{as:"div",className:"text",children:C("ÐÐÐ")})]})}),(0,i.jsx)(o.fv,{span:8,children:(0,i.jsxs)(o.o5,{as:"div",className:"block",children:[(0,i.jsx)(o.o5,{as:"div",className:"packet",children:null==F?void 0:null===(A=F.reservation)||void 0===A?void 0:null===(p=A.tariff)||void 0===p?void 0:p.packet_sms}),(0,i.jsx)(o.o5,{as:"div",className:"text",children:"SMS"})]})})]})]})]})})]}),(0,i.jsx)(M,{vertical:!0,gap:24,justify:"center",className:"text-price",children:(0,i.jsx)(P.A,{children:(0,i.jsx)(o.o5,{as:"div",children:C("ÐÐ»Ñ Ð°ÐºÑиваÑии номеÑа внеÑиÑе абоненÑÑкÑÑ Ð¿Ð»Ð°ÑÑ: ".concat(null==F?void 0:null===(w=F.reservation)||void 0===w?void 0:null===(b=w.tariff)||void 0===b?void 0:b.price," ÑÑблей"))})})}),(0,i.jsxs)(M,{vertical:!0,gap:12,justify:"center",className:"payment-price",children:[(0,i.jsx)(R.default,{onClick:onCl
1ickCard,type:"primary",children:C("ÐплаÑиÑÑ ÐºÐ°ÑÑой")}),(0,i.jsx)(R.default,{onClick:()=>{var e,t,l;null==E||E.setVisible(!0),null==E||E.setCssClass(" bl-modal-bank-list"),null==E||E.setChildren((0,i.jsx)(td.S,{phone:null==F?void 0:null===(e=F.reservation)||void 0===e?void 0:e.phone_number,sum:null==F?void 0:null===(l=F.reservation)||void 0===l?void 0:null===(t=l.tariff)||void 0===t?void 0:t.price}))},type:"primary",icon:(0,i.jsx)(x(),{src:to.A,alt:"",width:v().gt(I,992)?25:20}),children:C("ÐплаÑиÑÑ ÑеÑез СÐÐ")})]}),(0,i.jsx)(M,{vertical:!0,gap:24,justify:"center",className:"actions",children:(0,i.jsx)(R.default,{onClick:()=>z(),children:C("ÐÑмениÑÑ Ð±ÑониÑование")})})]})})});var th=l(33130),tm=l(88098);let tx=(0,d.PA)(()=>{let{t:e}=(0,N.B)(),{reservation:t,history:l}=(0,B.Pj)(),[s,r]=(0,a.useState)(!0),n=(0,w.useRouter)(),onCancel=async()=>{await (0,y.yH)("reservation"),t.reservation=null,l.reset(),n.push("/number?type=p"),r(!1)};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(e6.A,{className:"bl-error-modal bl-done-courier",width:1040,title:null,footer:null,maskStyle:{background:"transparent"},open:s,onCancel:onCancel,closeIcon:(0,i.jsx)(x(),{src:th.A,alt:"",width:24}),children:(0,i.jsxs)(M,{gap:24,align:"center",justify:"center",children:[(0,i.jsx)(x(),{src:eW.A,alt:"",width:134}),(0,i.jsx)(tm.A,{size:[62,30],weight:400,children:e("ÐжидайÑе доÑÑавкÑ")}),(0,i.jsx)(tn.A,{size:[26,18],weight:700,className:"text",color:"#fff",children:e("РближайÑее вÑÐµÐ¼Ñ Ñ Ðами ÑвÑжеÑÑÑ Ð¼ÐµÐ½ÐµÐ´Ð¶ÐµÑ Ð¾Ñдела \nлогиÑÑики Ð´Ð»Ñ Ð¿Ð¾Ð´ÑвеÑÐ¶Ð´ÐµÐ½Ð¸Ñ Ð´Ð°ÑÑ Ð¸ вÑемени доÑÑавки")}),(0,i.jsx)(tm.A,{size:[22,16],children:(0,i.jsx)(R.default,{type:"primary",onClick:onCancel,children:e("ÐеÑейÑи в Ð±Ð°Ð·Ñ Ð½Ð¾Ð¼ÐµÑов")})})]})}),s&&(0,i.jsx)(tt,{children:(0,i.jsx)("div",{className:"portal-reservation-bg",children:(0,i.jsx)("div",{className:"portal-reservation"})})})]})}),tf=(0,d.PA)(()=>{var e,t;let{reservationSteps:l,reservation:s,errorsApi:r}=(0,B.Pj)(),[n,o]=(0,a.useState)();return(0,a.useEffect)(()=>{let f=async()=>{let e=await (0,y.Jt)("stepFront"),t=await (0,y.Jt)("reservation");e?o(e):t&&o(t)};f()},[]),(0,a.useEffect)(()=>{l.fetchFillingStep()},[]),(0,i.jsxs)("div",{className:"bl-data-fill ".concat(null!==(t=l.steps)&&void 0!==t?t:"done"),children:[(()=>{if((null==n?void 0:n.ordertype)==="beeline")switch(l.steps){case"front":case"registration":return(0,i.jsx)(el,{});case"verify":return(0,i.jsx)(ez,{});case"documents":return(0,i.jsx)(eL,{});case"document":return(0,i.jsx)(eH,{});case"sign":return(0,i.jsx)(eY,{});case"payment":return(0,i.jsx)(tu,{});case"done":return(0,i.jsx)(e3,{})}switch(l.steps){case"waiting_delivery_data":return(0,i.jsx)(ta,{});case"payment":return(0,i.jsx)(tu,{});case"done":return(0,i.jsx)(tx,{});default:return(0,i.jsx)(i.Fragment,{})}})(),!!l.steps&&!v().isEqual(l.steps,"done")&&!(null===(e=s.reservation)||void 0===e?void 0:e.removed_at)&&(0,i.jsx)(tl,{})]})}),tg=(0,d.PA)(()=>{var e,t,l,s,r;let{t:o}=(0,N.B)(),d=(0,B.Pj)(),[c,u]=(0,a.useState)(!0),h=(0,w.useRouter)(),onCancel=async()=>{var e,t;v().isEqual(null===(e=d.errorsApi.errors)||void 0===e?void 0:e.message,"СÑÑлка ÑÑÑаÑела или не найдена.")||(null===(t=d.errorsApi.errors)||void 0===t?void 0:t.status)>=500?(await (0,y.yH)("reservation"),h.push("/number?type=p")):u(!1),setTimeout(()=>{d.errorsApi.errors=null},1e3)};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(e6.A,{className:"bl-error-modal",width:768,title:null,footer:null,maskStyle:{background:"transparent"},open:c,onCancel:onCancel,closeIcon:(0,i.jsx)(x(),{src:e9.A,alt:"",width:24}),children:(0,i.jsxs)(M,{gap:24,align:"center",justify:"center",children:[(0,i.jsx)(x(),{src:e8.A,alt:"",width:134}),(null===(e=d.errorsApi.errors)||void 0===e?void 0:e.status)>=500&&(0,i.jsx)(Q,{size:[32,24],weight:900,children:o("ÐÑоизоÑла оÑибка!")}),(null===(t=d.errorsApi.errors)||void 0===t?void 0:t.status)>=500?(0,i.jsx)(Q,{size:[38,18],weight:400,children:o("ÐопÑобÑйÑе позже")}):v().isArray(d.errorsApi.errors)?(0,i.jsx)(M,{gap:16,align:"center",justify:"center",children:v().map(d.errorsApi.errors,(e,t)=>(0,i.jsx)(n().Fragment,{children:(0,i.jsx)(Q,{size:[62,18],weight:400,children:e.message})},t))}):(0,i.jsx)(Q,{size:[62,18],weight:400,children:null===(l=d.errorsApi.errors)||void 0===l?void 0:l.message}),(null===(s=d.errorsApi.errors)||void 0===s?void 0:s.status)===401||(null===(r=d.errorsApi.errors)||void 0===r?void 0:r.status)>=500&&(0,i.jsx)(Q,{size:[22,16],children:(0,i.jsx)(R.default,{type:"primary",onClick:onCancel,className:"close-modal-btn",children:o("ÐÑбÑаÑÑ Ð´ÑÑгой номеÑ")})})]})}),c&&(0,i.jsx)(tt,{children:(0,i.jsx)("div",{className:"portal-reservation-bg",children:(0,i.jsx)("div",{className:"portal-reservation"})})})]})}),tj=(0,d.PA)(()=>{let{reservation:e,history:t,errorsApi:l}=(0,B.Pj)(),[s,r]=(0,a.useState)(),onReservation=async()=>{try{await e.setReservation(s),await (0,y.yH)("stepFront"),r(null)}catch(e){throw e}};return(0,a.useEffect)(()=>{let f=async()=>{let t=await (0,y.Jt)("stepFront"),l=await (0,y.Jt)("reservation");if(t)r(t);else if(l)e.reservation=l;else{let t=await e.getReservation();await (0,y.hZ)("reservation",{...t}),e.reservation=t}};f()},[]),(0,i.jsx)(o.o5,{as:"div",className:"bl-get-number",children:(0,i.jsxs)(c.A,{style:{background:"url(".concat(h.A.src,")")},mask:!1,children:[s&&(0,i.jsx)(D,{state:s,onReservation:onReservation}),!!e.reservation&&(0,i.jsx)(tf,{}),l.errors&&(0,i.jsx)(tg,{}),(0,i.jsx)(u.A,{})]})})});var tp=tj},9353:function(){},78235:function(){},32711:function(){},55087:function(){},33685:function(){},38695:function(){},65974:function(){},62679:function(){},50319:function(){},38186:function(){},76335:function(){}}]);
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.