-1&&t>r?c.first:c.next;m.disabled=n<0,g.disabled=r<0,Gs(m,vc,i),Gs(g,vc,o),s($u,m,g,n,r)}}return{arrows:y,mount:b,destroy:w,update:S}},Autoplay:function(e,t,n){var r,i,o=nc(e),a=o.on,l=o.bind,s=o.emit,u=rc(n.interval,e.go.bind(e,">"),(function(e){var t=f.bar;t&&Zs(t,"width",100*e+"%"),s(Yu,e)})),c=u.isPaused,f=t.Elements,d=t.Elements,p=d.root,h=d.toggle,v=n.autoplay,m="pause"===v;function g(){c()&&t.Slides.isEnough()&&(u.start(!n.resetProgress),i=r=m=!1,x(),s(Zu))}function y(e){void 0===e&&(e=!0),m=!!e,x(),c()||(u.pause(),s(Qu))}function b(){m||(r||i?y(!1):g())}function x(){h&&(Ds(h,Ic,!m),Gs(h,vc,n.i18n[m?"play":"pause"]))}function w(e){var r=t.Slides.getAt(e);u.set(r&&+Xs(r.slide,"data-splide-interval")||n.interval)}return{mount:function(){v&&(!function(){n.pauseOnHover&&l(p,"mouseenter mouseleave",(function(e){r="mouseenter"===e.type,b()}));n.pauseOnFocus&&l(p,"focusin focusout",(function(e){i="focusin"===e.type,b()}));h&&l(h,"click",(function(){m?g():y(!0)}));a([Ou,Vu,Du],u.rewind),a(Ou,w)}(),h&&Gs(h,dc,f.track.id),m||g(),x())},destroy:u.cancel,play:g,pause:y,isPaused:c}},Cover:function(e,t,n){var r=nc(e).on;function i(e){t.Slides.forEach((function(t){var n=Bs(t.container||t.slide,"img");n&&n.src&&o(e,n,t)}))}function o(e,t,n){n.style("background",e?'center/cover no-repeat url("'+t.src+'")':"",!0),Ys(t,e?"none":"")}return{mount:function(){n.cover&&(r(Xu,ys(o,!0)),r([ku,Lu,Du],ys(i,!0)))},destroy:ys(i,!1)}},Scroll:function(e,t,n){var r,i,o=nc(e),a=o.on,l=o.emit,s=e.state.set,u=t.Move,c=u.getPosition,f=u.getLimit,d=u.exceededLimit,p=u.translate,h=e.is(Zc),v=1;function m(e,n,o,a,f){var p=c();if(b(),o&&(!h||!d())){var m=t.Layout.sliderSize(),x=xu(e)*m*hu(mu(e)/m)||0;e=u.toPosition(t.Controller.toDest(e%m))+x}var w=gu(p,e,1);v=1,n=w?0:n||pu(mu(e-p)/1.5,800),i=a,r=rc(n,g,ys(y,p,e,f),1),s(5),l(Vu),r.start()}function g(){s(3),i&&i(),l(Uu)}function y(e,t,r,o){var a=c(),l=(e+(t-e)*function(e){var t=n.easingFunc;return t?t(e):1-Math.pow(1-e,4)}(o)-a)*v;p(a+l),h&&!r&&d()&&(v*=.6,mu(l)<10&&m(f(d(!0)),600,!1,i,!0))}function b(){r&&r.cancel()}function x(){r&&!r.isPaused()&&(b(),g())}return{mount:function(){a(Ou,b),a([Lu,Du],x)},destroy:b,scroll:m,cancel:x}},Drag:function(e,t,n){var r,i,o,a,l,s,u,c,f=nc(e),d=f.on,p=f.emit,h=f.bind,v=f.unbind,m=e.state,g=t.Move,y=t.Scroll,b=t.Controller,x=t.Elements.track,w=t.Media.reduce,C=t.Direction,j=C.resolve,S=C.orient,k=g.getPosition,E=g.exceededLimit,O=!1;function _(){var e=n.drag;z(!e),a="free"===e}function T(e){if(s=!1,!u){var t=M(e);!function(e){var t=n.noDrag;return!Ms(e,".splide__pagination__page, ."+Ac)&&(!t||!Ms(e,t))}(e.target)||!t&&e.button||(b.isBusy()?ru(e,!0):(c=t?x:window,l=m.is([4,5]),o=null,h(c,Gc,A,Jc),h(c,qc,P,Jc),g.cancel(),y.cancel(),R(e)))}}function A(t){if(m.is(6)||(m.set(6),p(Mu)),t.cancelable)if(l){g.translate(r+D(t)/(O&&e.is(Zc)?5:1));var i=L(t)>200,o=O!==(O=E());(i||o)&&R(t),s=!0,p(zu),ru(t)}else(function(e){return mu(D(e))>mu(D(e,!0))})(t)&&(l=function(e){var t=n.dragMinThreshold,r=js(t),i=r&&t.mouse||0,o=(r?t.touch:+t)||10;return mu(D(e))>(M(e)?o:i)}(t),ru(t))}function P(r){m.is(6)&&(m.set(3),p(Bu)),l&&(!function(r){var i=function(t){if(e.is(Yc)||!O){var n=L(t);if(n&&n<200)return D(t)/n}return 0}(r),o=function(e){return k()+xu(e)*du(mu(e)*(n.flickPower||600),a?1/0:t.Layout.listSize()*(n.flickMaxPages||1))}(i),l=n.rewind&&n.rewindByDrag;w(!1),a?b.scroll(o,0,n.snap):e.is(Qc)?b.go(S(xu(i))<0?l?"<":"-":l?">":"+"):e.is(Zc)&&O&&l?b.go(E(!0)?">":"<"):b.go(b.toDest(o),!0);w(!0)}(r),ru(r)),v(c,Gc,A),v(c,qc,P),l=!1}function N(e){!u&&s&&ru(e,!0)}function R(e){o=i,i=e,r=k()}function D(e,t){return I(e,t)-I(F(e),t)}function L(e){return lu(e)-lu(F(e))}function F(e){return i===e&&o||i}function I(e,t){return(M(e)?e.changedTouches[0]:e)["page"+j(t?"Y":"X")]}function M(e){return"undefined"!==typeof TouchEvent&&e instanceof TouchEvent}function z(e){u=e}return{mount:function(){h(x,Gc,xs,Jc),h(x,qc,xs,Jc),h(x,Kc,T,Jc),h(x,"click",N,{capture:!0}),h(x,"dragstart",ru),d([ku,Lu],_)},disable:z,isDragging:function(){return l}}},Keyboard:function(e,t,n){var r,i,o=nc(e),a=o.on,l=o.bind,s=o.unbind,u=e.root,c=t.Direction.resolve;function f(){var e=n.keyboard;e&&(r="global"===e?window:u,l(r,nf,h))}function d(){s(r,nf)}function p(){var e=i;i=!0,bs((function(){i=e}))}function h(t){if(!i){var n=tf(t);n===c(ic)?e.go("<"):n===c(oc)&&e.go(">")}}return{mount:function(){f(),a(Lu,d),a(Lu,f),a(Ou,p)},destroy:d,disable:function(e){i=e}}},LazyLoad:function(e,t,n){var r=nc(e),i=r.on,o=r.off,a=r.bind,l=r.emit,s="sequential"===n.lazyLoad,u=[_u,Uu],c=[];function f(){ms(c),t.Slides.forEach((function(e){ou(e.slide,af).forEach((function(t){var r=Xs(t,rf),i=Xs(t,of);if(r!==t.src||i!==t.srcset){var o=n.classes.spinner,a=t.parentElement,l=Bs(a,"."+o)||qs("span",o,a);c.push([t,e,l]),t.src||Ys(t,"none")}}))})),s?v():(o(u),i(u,d),d())}function d(){(c=c.filter((function(t){var r=n.perPage*((n.preloadPages||1)+1)-1;return!t[1].isWithin(e.index,r)||p(t)}))).length||o(u)}function p(e){var t=e[0];Ls(e[1].slide,Vc),a(t,"load error",ys(h,e)),Gs(t,"src",Xs(t,rf)),Gs(t,"srcset",Xs(t,of)),Ks(t,rf),Ks(t,of)}function h(e,t){var n=e[0],r=e[1];au(r.slide,Vc),"error"!==t.type&&(tu(e[2]),Ys(n,""),l(Xu,n,r),l(Fu)),s&&v()}function v(){c.length&&p(c.shift())}return{mount:function(){n.lazyLoad&&(f(),i(Du,f))},destroy:ys(ms,c),check:d}},Pagination:function(e,t,n){var r,i,o=nc(e),a=o.on,l=o.emit,s=o.bind,u=t.Slides,c=t.Elements,f=t.Controller,d=f.hasFocus,p=f.getIndex,h=f.go,v=t.Direction.resolve,m=c.pagination,g=[];function y(){r&&(tu(m?gs(r.children):r),au(r,i),ms(g),r=null),o.destroy()}function b(e){h(">"+e,!0)}function x(e,t){var n=g.length,r=tf(t),i=w(),o=-1;r===v(oc,!1,i)?o=++e%n:r===v(ic,!1,i)?o=(--e+n)%n:"Home"===r?o=0:"End"===r&&(o=n-1);var a=g[o];a&&(Qs(a.button),h(">"+o),ru(t,!0))}function w(){return n.paginationDirection||n.direction}function C(e){return g[f.toPage(e)]}function j(){var e=C(p(!0)),t=C(p());if(e){var n=e.button;au(n,Ic),Ks(n,hc),Gs(n,fc,-1)}if(t){var i=t.button;Ls(i,Ic),Gs(i,hc,!0),Gs(i,fc,"")}l(Gu,{list:r,items:g},e,t)}return{items:g,mount:function t(){y(),a([Lu,Du,tc],t);var o=n.pagination;m&&Ys(m,o?"":"none"),o&&(a([Ou,Vu,Uu],j),function(){var t=e.length,o=n.classes,a=n.i18n,l=n.perPage,p=d()?f.getEnd()+1:vu(t/l);Ls(r=m||qs("ul",o.pagination,c.track.parentElement),i=Rc+"--"+w()),Gs(r,cc,"tablist"),Gs(r,vc,a.select),Gs(r,yc,w()===sc?"vertical":"");for(var h=0;h1?a.pageX:a.slideX;s(y,"click",ys(b,h)),n.paginationKeyboard&&s(y,"keydown",ys(x,h)),Gs(v,cc,"presentation"),Gs(y,cc,"tab"),Gs(y,dc,C.join(" ")),Gs(y,vc,wu(j,h+1)),Gs(y,fc,-1),g.push({li:v,button:y,page:h})}}(),j(),l(Ku,{list:r,items:g},C(e.index)))},destroy:y,getAt:C,update:j}},Sync:function(e,t,n){var r=n.isNavigation,i=n.slideFocus,o=[];function a(){e.splides.forEach((function(t){t.isParent||(s(e,t.splide),s(t.splide,e))})),r&&function(){var t=nc(e),n=t.on;n(Tu,c),n(Ju,f),n([ku,Lu],u),o.push(t),t.emit(qu,e.splides)}()}function l(){o.forEach((function(e){e.destroy()})),ms(o)}function s(e,t){var n=nc(e);n.on(Ou,(function(e,n,r){t.go(t.is(Yc)?r:e)})),o.push(n)}function u(){Gs(t.Elements.list,yc,n.direction===sc?"vertical":"")}function c(t){e.go(t.index)}function f(e,t){Ns(lf,tf(t))&&(c(e),ru(t))}return{setup:ys(t.Media.set,{slideFocus:Os(i)?r:i},!0),mount:a,destroy:l,remount:function(){l(),a()}}},Wheel:function(e,t,n){var r=nc(e).bind,i=0;function o(r){if(r.cancelable){var o=r.deltaY,a=o<0,l=lu(r),s=n.wheelMinThreshold||0,u=n.wheelSleep||0;mu(o)>s&&l-i>u&&(e.go(a?"<":">"),i=l),function(r){return!n.releaseWheel||e.state.is(4)||-1!==t.Controller.getAdjacent(r)}(a)&&ru(r)}}return{mount:function(){n.wheel&&r(t.Elements.track,"wheel",o,Jc)}}},Live:function(e,t,n){var r=nc(e).on,i=t.Elements.track,o=n.live&&!n.isNavigation,a=qs("span","splide__sr"),l=rc(90,ys(s,!1));function s(e){Gs(i,wc,e),e?(Fs(i,a),l.start()):(tu(a),l.cancel())}function u(e){o&&Gs(i,xc,e?"off":"polite")}return{mount:function(){o&&(u(!t.Autoplay.isPaused()),Gs(i,Cc,!0),a.textContent="\u2026",r(Zu,ys(u,!0)),r(Qu,ys(u,!1)),r([_u,Uu],ys(s,!0)))},disable:u,destroy:function(){Ks(i,[xc,Cc,wc]),tu(a)}}}}),uf={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:$c,i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function cf(e,t,n){var r=t.Slides;function i(){r.forEach((function(e){e.style("transform","translateX(-"+100*e.index+"%)")}))}return{mount:function(){nc(e).on([ku,Du],i)},start:function(e,t){r.style("transition","opacity "+n.speed+"ms "+n.easing),bs(t)},cancel:xs}}function ff(e,t,n){var r,i=t.Move,o=t.Controller,a=t.Scroll,l=t.Elements.list,s=ys(Zs,l,"transition");function u(){s(""),a.cancel()}return{mount:function(){nc(e).bind(l,"transitionend",(function(e){e.target===l&&r&&(u(),r())}))},start:function(t,l){var u=i.toPosition(t,!0),c=i.getPosition(),f=function(t){var r=n.rewindSpeed;if(e.is(Zc)&&r){var i=o.getIndex(!0),a=o.getEnd();if(0===i&&t>=a||i>=a&&0===t)return r}return n.speed}(t);mu(u-c)>=1&&f>=1?n.useScroll?a.scroll(u,f,!1,l):(s("transform "+f+"ms "+n.easing),i.translate(u,!0),r=l):(i.jump(t),l())},cancel:u}}var df=function(){function e(t,n){this.event=nc(),this.Components={},this.state=function(e){var t=e;return{set:function(e){t=e},is:function(e){return Ns(As(e),t)}}}(1),this.splides=[],this._o={},this._E={};var r=Es(t)?iu(document,t):t;fu(r,r+" is invalid."),this.root=r,n=Ws({label:Xs(r,vc)||"",labelledby:Xs(r,mc)||""},uf,e.defaults,n||{});try{Ws(n,JSON.parse(Xs(r,cu)))}catch(i){fu(!1,"Invalid JSON")}this._o=Object.create(Ws({},n))}var t,n,r,i=e.prototype;return i.mount=function(e,t){var n=this,r=this.state,i=this.Components;return fu(r.is([1,7]),"Already mounted!"),r.set(1),this._C=i,this._T=t||this._T||(this.is(Qc)?cf:ff),this._E=e||this._E,Us(Hs({},sf,this._E,{Transition:this._T}),(function(e,t){var r=e(n,i,n._o);i[t]=r,r.setup&&r.setup()})),Us(i,(function(e){e.mount&&e.mount()})),this.emit(ku),Ls(this.root,"is-initialized"),r.set(3),this.emit(Eu),this},i.sync=function(e){return this.splides.push({splide:e}),e.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this._C.Sync.remount(),e.Components.Sync.remount()),this},i.go=function(e){return this._C.Controller.go(e),this},i.on=function(e,t){return this.event.on(e,t),this},i.off=function(e){return this.event.off(e),this},i.emit=function(e){var t;return(t=this.event).emit.apply(t,[e].concat(gs(arguments,1))),this},i.add=function(e,t){return this._C.Slides.add(e,t),this},i.remove=function(e){return this._C.Slides.remove(e),this},i.is=function(e){return this._o.type===e},i.refresh=function(){return this.emit(Du),this},i.destroy=function(e){void 0===e&&(e=!0);var t=this.event,n=this.state;return n.is(1)?nc(this).on(Eu,this.destroy.bind(this,e)):(Us(this._C,(function(t){t.destroy&&t.destroy(e)}),!0),t.emit(Hu),t.destroy(),e&&ms(this.splides),n.set(7)),this},t=e,(n=[{key:"options",get:function(){return this._o},set:function(e){this._C.Media.set(e,!0,!0)}},{key:"length",get:function(){return this._C.Slides.getLength(!0)}},{key:"index",get:function(){return this._C.Controller.getIndex()}}])&&ps(t.prototype,n),r&&ps(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),pf=df;pf.defaults={},pf.STATES=vs;var hf=[[ku,"onMounted"],[Eu,"onReady"],[Ou,"onMove"],[_u,"onMoved"],[Tu,"onClick"],[Au,"onActive"],[Pu,"onInactive"],[Nu,"onVisible"],[Ru,"onHidden"],[Du,"onRefresh"],[Lu,"onUpdated"],[Fu,"onResize"],[Iu,"onResized"],[Mu,"onDrag"],[zu,"onDragging"],[Bu,"onDragged"],[Vu,"onScroll"],[Uu,"onScrolled"],[Hu,"onDestroy"],[Wu,"onArrowsMounted"],[$u,"onArrowsUpdated"],[Ku,"onPaginationMounted"],[Gu,"onPaginationUpdated"],[qu,"onNavigationMounted"],[Zu,"onAutoplayPlay"],[Yu,"onAutoplayPlaying"],[Qu,"onAutoplayPause"],[Xu,"onLazyLoadLoaded"]];function vf(){for(var e=arguments.length,t=new Array(e),n=0;n=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Ef(t,n){var r=t.title,i=t.titleId,o=kf(t,jf);return e.createElement("svg",Sf({width:87,height:86,viewBox:"0 0 87 86",fill:"current",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":i},o),r?e.createElement("title",{id:i},r):null,bf||(bf=e.createElement("g",{id:"ford-svgrepo-com"},e.createElement("path",{id:"Vector",d:"M43.6326 26.9246C19.808 26.9246 0.667969 34.003 0.667969 42.8676C0.667969 51.6661 19.9418 58.8107 43.6326 58.8107C67.3234 58.8107 86.5972 51.6661 86.5972 42.8676C86.6641 34.1353 67.3234 26.9246 43.6326 26.9246ZM43.6326 57.4215C20.8787 57.4215 2.47489 50.9384 2.47489 42.8676C2.47489 34.863 20.9457 28.3138 43.6326 28.3138C66.3864 28.3138 84.7903 34.7969 84.7903 42.8676C84.8572 50.9384 66.3864 57.4215 43.6326 57.4215ZM60.5641 46.1092C60.5641 46.1753 60.5641 46.2415 60.5641 46.2415C60.5641 46.3076 60.698 46.3738 60.7649 46.4399C60.7649 46.4399 60.8318 46.5061 60.7649 46.5723C60.4972 47.1676 60.2295 47.4984 59.8949 47.9615C59.5603 48.4246 59.2257 48.7553 58.8241 49.0861C58.2218 49.6153 57.2849 50.1446 56.5487 49.8138C56.2141 49.6153 56.0803 49.2184 56.0803 48.8215C56.0803 47.8292 56.5487 46.7707 57.4187 45.7123C58.4226 44.4553 59.6272 43.7938 60.3634 44.1907C61.1664 44.5215 60.9657 45.4476 60.5641 46.1092ZM39.2826 39.4938C39.2157 39.0969 39.3495 38.6338 39.751 38.303C39.9518 38.1046 40.2195 38.1046 40.4203 38.2369C40.621 38.3692 40.4872 38.7661 40.3534 39.0969C40.1526 39.4276 39.818 39.6923 39.4834 39.6923C39.3495 39.6261 39.2826 39.6261 39.2826 39.4938ZM43.6326 29.5707C21.6818 29.5707 3.88028 35.5907 3.88028 42.9338C3.88028 50.2107 21.6818 56.2307 43.6326 56.2307C65.5834 56.2307 83.3849 50.2107 83.3849 42.8676C83.3849 35.5246 65.5834 29.5707 43.6326 29.5707ZM23.221 51.6661C20.8787 51.6661 18.8041 50.2769 18.5364 47.763C18.4026 46.3738 18.8041 45.183 19.6072 44.1246C20.2764 43.1984 21.481 42.4707 22.4849 42.2723C22.8195 42.2061 23.221 42.2723 23.4218 42.4707C23.6895 42.8015 23.6226 43.1323 23.3549 43.3307C22.6187 43.7276 21.6818 44.3892 21.2134 45.2492C20.8118 45.9769 20.7449 46.903 21.3472 47.6969C22.2841 49.0861 24.8941 49.1523 27.3703 46.903C27.9726 46.3738 28.508 45.8446 29.0434 45.183C30.1141 43.9923 30.4487 43.5292 31.921 41.5446V41.4784C31.921 41.4784 31.921 41.4784 31.8541 41.4123C30.9172 41.4123 30.0472 41.743 29.2441 42.3384C29.0434 42.5369 28.7087 42.4707 28.508 42.2723C28.3741 42.0076 28.441 41.6769 28.7087 41.5446C29.9803 40.6184 31.4526 40.4861 32.858 40.2215C32.858 40.2215 32.9918 40.2215 33.0587 40.0892C33.661 39.3615 34.1295 38.6338 34.7318 37.9061C35.4011 37.1123 36.2041 36.4507 36.8064 35.8553C37.6764 35.1276 38.2787 34.863 38.8141 34.5323C38.948 34.4661 38.8141 34.3338 38.7472 34.3338C35.5349 33.7384 32.1887 32.9446 29.0434 34.1353C26.8349 34.9292 25.898 36.6492 26.3664 37.8399C26.701 38.6338 27.7718 38.7661 28.8426 38.303C29.7126 37.9061 30.4487 37.2446 31.051 36.3846C31.3857 35.9215 31.988 36.2523 31.6534 37.0461C30.7164 39.2292 28.9095 40.9492 26.768 41.0153C24.8941 41.0815 23.7564 39.7584 23.7564 38.1046C23.7564 34.863 27.4372 32.6799 31.3187 32.3492C36.0034 31.9523 40.4203 33.2092 45.038 33.7384C48.5849 34.1353 51.998 34.2015 55.5449 33.3415C55.9464 33.2753 56.2811 33.5399 56.2141 33.9369C56.1472 34.5323 55.6787 35.1276 54.541 35.7892C53.2026 36.5169 51.7972 36.7153 50.3249 36.7153C46.778 36.7153 43.4987 35.3923 40.0857 34.6646C40.0857 34.7969 40.1526 34.9953 40.0187 35.0615C38.1449 36.4507 36.4049 37.8399 35.2672 39.7584C35.2003 39.8246 35.2672 39.8246 35.3341 39.8246C36.338 39.7584 37.208 39.7584 38.1449 39.6923C38.2787 39.6923 38.2787 39.6261 38.2787 39.4938C38.2118 38.8323 38.4126 38.0384 39.0149 37.5092C39.6172 36.9799 40.4203 36.9138 40.8887 37.3107C41.491 37.7738 41.4241 38.5676 41.0895 39.163C40.7549 39.7584 40.2195 40.0892 39.751 40.2876C39.751 40.2876 39.6172 40.2876 39.6841 40.4199C39.6841 40.5523 40.4203 40.9492 40.4872 41.0815C40.5541 41.1476 40.4872 41.3461 40.4203 41.4123C40.3534 41.4784 40.2195 41.5446 40.0857 41.5446C39.9518 41.5446 39.8849 41.4784 39.751 41.4123C39.4164 41.2138 39.0149 40.9492 38.8141 40.6184C38.7472 40.4861 38.6803 40.4861 38.4795 40.4861C37.4757 40.5523 35.9364 40.6846 34.8657 40.8169C34.598 40.8169 34.598 40.883 34.531 41.0153C32.858 43.7276 31.051 46.7046 29.0434 48.6892C26.9018 51.0707 25.0949 51.6661 23.221 51.6661ZM68.9295 38.303C68.5949 38.8323 62.3041 48.3584 61.9026 49.2846C61.7687 49.6153 61.7687 49.8138 61.9026 50.0123C62.2372 50.4753 62.9734 50.2107 63.4418 49.8799C64.7803 48.9538 65.7172 47.8292 66.788 46.8369C66.8549 46.7707 66.9218 46.7707 66.9887 46.8369C67.1226 46.9692 67.3903 47.1676 67.5241 47.2999C67.591 47.3661 67.591 47.4323 67.5241 47.4984C66.5203 48.7553 65.3826 49.8799 64.3118 50.7399C62.6387 51.9969 60.9657 52.3276 60.0957 51.5338C59.7611 51.203 59.6272 50.8061 59.6272 50.4092C59.6272 50.2107 59.4934 50.2107 59.4264 50.2769C58.4226 51.2692 56.6826 52.3276 55.1434 51.5338C53.8049 50.8723 53.5372 49.3507 53.8049 48.0276C53.8049 48.0276 53.8049 47.8292 53.6041 47.8953C53.3364 48.0938 53.0018 48.2923 52.5334 48.4907C51.998 48.6892 51.7303 48.7553 51.1949 48.7553C50.5257 48.7553 49.9903 48.4907 49.5887 47.8292C49.388 47.4984 49.2541 46.9692 49.2541 46.5723C49.2541 46.5061 49.1872 46.4399 49.1203 46.5723C48.0495 48.1599 47.0457 49.7476 45.9749 51.4015C45.908 51.4676 45.841 51.5338 45.7741 51.5338C45.1049 51.5338 44.3687 51.5338 43.6995 51.5338C43.5657 51.5338 43.4987 51.4676 43.5657 51.3353C43.9672 50.6076 45.9749 47.6969 47.3803 45.183C47.7818 44.5215 47.7149 44.1246 47.4472 43.9923C47.1795 43.7938 46.5772 44.0584 46.0418 44.4553C44.7034 45.4476 43.5657 47.0353 42.9634 47.763C42.6287 48.1599 42.2941 48.8215 41.4241 49.7476C40.0187 51.2692 38.1449 52.1292 36.4049 51.5338C35.4011 51.203 34.7318 50.4092 34.4641 49.483C34.3972 49.2846 34.3303 49.2184 34.1964 49.3507C33.9287 49.6815 33.3264 50.2107 32.791 50.5415C32.7241 50.6076 32.5903 50.6738 32.4564 50.6076C32.3226 50.5415 31.988 50.0784 31.921 49.8799C31.8541 49.7476 31.921 49.6815 31.988 49.6153C32.7241 49.0199 33.0587 48.623 33.3934 48.2923C33.5941 48.0276 33.7949 47.6969 33.9957 47.1676C34.3972 46.1092 35.401 44.1246 37.3418 43.0661C38.078 42.6692 38.8141 42.4046 39.6841 42.2723C40.0187 42.2061 40.3534 42.2723 40.4203 42.5369C40.4872 42.6692 40.5541 42.9338 40.621 43.0661C40.688 43.1984 40.621 43.2646 40.4872 43.3307C39.3495 43.7938 38.2118 44.4553 37.4087 45.5138C36.4718 46.7046 36.271 48.1599 36.8734 48.9538C37.3418 49.5492 38.0111 49.6815 38.7472 49.4169C39.818 49.0861 40.688 48.1599 41.1564 47.0353C41.6249 45.8446 41.7587 44.5215 41.3572 43.2646C41.2903 43.0661 41.3572 42.8676 41.491 42.8015C41.7587 42.603 42.1603 42.4046 42.2272 42.3384C42.4949 42.2061 42.7626 42.2723 42.8964 42.4707C43.298 42.9999 43.4987 43.7938 43.4987 44.6538C43.4987 44.8523 43.5657 44.8523 43.6995 44.7199C44.3687 43.9923 45.038 43.2646 45.7072 42.6692C46.3764 42.1399 47.2464 41.743 47.9826 41.743C48.9864 41.743 49.5218 42.4707 49.4549 43.6615C49.4549 43.7938 49.5887 43.7938 49.6557 43.7276C49.9903 43.2646 50.191 43.0661 50.5257 42.8015C51.2618 42.2061 51.9311 41.9415 52.7341 42.0076C53.6711 42.0738 54.4072 42.9338 54.2734 43.8599C54.2064 44.4553 53.8049 45.0507 53.2695 45.3153C52.801 45.5799 52.1987 45.5138 51.7972 45.183C51.4626 44.9184 51.3957 44.4553 51.4626 44.0584C51.4626 43.9923 51.3957 43.8599 51.2618 43.9923C50.3249 44.9184 50.258 46.1092 50.8603 46.7046C51.5295 47.2999 52.4664 46.903 53.2026 46.4399C54.541 45.5799 55.5449 44.4553 56.6826 43.5292C57.4857 42.9338 58.3557 42.4046 59.3595 42.2723C59.8949 42.2061 60.4303 42.2061 60.9657 42.4707C61.7018 42.7353 62.1034 43.3307 62.1703 43.8599C62.1703 43.9923 62.3041 44.0584 62.371 43.9261C62.9064 43.0661 65.9849 38.5676 66.2526 38.1046C66.3195 37.9723 66.3864 37.9061 66.5872 37.9061C67.2564 37.9061 68.1264 37.9061 68.7287 37.9061C68.9295 38.1707 68.9295 38.2369 68.9295 38.303Z"}))))}var Of,_f,Tf=e.forwardRef(Ef),Af=(n.p,["title","titleId"]);function Pf(){return Pf=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Rf(t,n){var r=t.title,i=t.titleId,o=Nf(t,Af);return e.createElement("svg",Pf({width:77,height:77,viewBox:"0 0 77 77",fill:"current",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":i},o),r?e.createElement("title",{id:i},r):null,Of||(Of=e.createElement("g",{id:"honda-svgrepo-com",clipPath:"url(#clip0_26_1136)"},e.createElement("g",{id:"Group"},e.createElement("path",{id:"Vector",d:"M56.2842 12.4307C54.5578 20.3724 53.8672 23.9979 52.3134 29.6952C50.7596 35.3925 49.8963 40.2266 47.9972 42.8163C46.6161 44.7154 44.3717 45.9239 41.9546 46.0966C39.7102 46.2692 37.2932 46.2692 35.0488 46.0966C32.6318 45.9239 30.3874 44.7154 29.0062 42.8163C27.1071 40.3993 26.0712 35.2199 24.6901 29.6952C23.3089 24.1706 22.4457 20.3724 20.7192 12.4307L18.1295 12.6033C17.0936 12.6033 16.2304 12.776 15.3672 12.9486C15.3672 12.9486 16.4031 29.1773 16.921 36.0831C17.4389 43.3342 18.3022 55.4194 18.9927 64.7423C18.9927 64.7423 20.5466 64.915 22.9636 65.0876C25.3806 65.2603 26.7618 65.2603 26.7618 65.2603C27.7977 61.1168 29.1788 55.5921 30.56 53.1751C31.4232 51.7939 32.9771 50.9307 34.7035 50.9307C35.912 50.758 37.1206 50.758 38.5017 50.758C39.7102 50.758 40.9188 50.758 42.2999 50.9307C44.0264 50.9307 45.5802 51.7939 46.4434 53.1751C47.9972 55.5921 49.2058 61.1168 50.2416 65.2603C50.2416 65.2603 51.4501 65.2603 54.0398 65.0876C56.6295 64.915 58.0107 64.7423 58.0107 64.7423C58.8739 55.5921 59.7371 43.3342 60.0824 36.0831C60.6004 29.1773 61.6362 12.9486 61.6362 12.9486C60.773 12.776 59.9098 12.776 58.8739 12.6033L56.2842 12.4307Z"}),e.createElement("path",{id:"Vector_2",d:"M76.6555 22.0988C75.6196 11.74 68.7138 9.66826 62.6712 8.63239C58.7003 8.11445 54.7295 7.76916 50.7586 7.59651C47.651 7.42387 40.5725 7.25122 38.5008 7.25122C36.429 7.25122 29.1779 7.42387 26.2429 7.59651C22.0994 7.59651 18.1286 7.9418 14.1577 8.63239C8.11512 9.66826 1.20929 11.9127 0.173416 22.0988C-0.171875 25.5517 -0.171875 29.0046 -0.171875 32.4575C-0.171875 37.1189 0.173416 41.7804 0.863999 46.4418C1.20929 50.4127 2.07252 54.2109 3.10839 58.1817C4.66221 62.6705 6.04337 64.0517 7.59718 65.2602C10.3595 67.1593 13.2945 68.1952 16.5748 68.7131C31.077 70.2669 45.5792 70.2669 60.0815 68.7131C63.3618 68.1952 66.2967 67.1593 69.0591 65.2602C70.7855 63.879 72.1667 62.6705 73.5479 58.1817C74.5837 54.3835 75.447 50.4127 75.7923 46.4418C76.3102 41.7804 76.6555 37.1189 76.8281 32.4575C77.0008 29.0046 76.8281 25.5517 76.6555 22.0988ZM72.8573 39.3633C72.6846 45.0606 71.8214 50.5853 70.4402 56.11C69.9223 58.6996 68.5411 60.944 66.642 62.8431C64.0523 64.9149 60.9447 66.1234 57.8371 66.2961C44.8887 67.6772 31.9402 67.6772 18.9918 66.2961C15.7115 66.1234 12.7766 64.9149 10.1869 62.8431C8.28777 60.944 7.07925 58.6996 6.38866 56.11C5.0075 50.5853 4.31691 45.0606 3.97162 39.3633C3.62633 33.666 3.62633 27.7961 4.14427 22.0988C5.18014 15.5382 8.28777 12.4306 15.1936 11.2221C18.9918 10.5315 22.9627 10.1862 26.7609 10.0136C30.0411 9.84091 35.3931 9.66826 38.5008 9.66826C41.6084 9.66826 46.9604 9.66826 50.2407 10.0136C54.0389 10.1862 58.0097 10.5315 61.8079 11.2221C68.7138 12.4306 71.8214 15.7109 72.6846 22.0988C73.0299 27.7961 73.2026 33.666 72.8573 39.3633Z"})))),_f||(_f=e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_26_1136"},e.createElement("rect",{width:77,height:77})))))}var Df,Lf=e.forwardRef(Rf),Ff=(n.p,["title","titleId"]);function If(){return If=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function zf(t,n){var r=t.title,i=t.titleId,o=Mf(t,Ff);return e.createElement("svg",If({width:77,height:77,viewBox:"0 0 77 77",fill:"current",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":i},o),r?e.createElement("title",{id:i},r):null,Df||(Df=e.createElement("g",{id:"infiniti-svgrepo-com"},e.createElement("g",{id:"Group"},e.createElement("g",{id:"Group_2"},e.createElement("g",{id:"Group_3"},e.createElement("path",{id:"Vector",d:"M48.4892 58.2848C49.8581 58.1137 59.3761 56.9587 66.0922 53.6006C73.3645 49.9645 76.8722 44.0826 76.8722 38.8637C76.8722 27.5918 61.0872 18.8865 38.4792 18.8865C15.8711 18.8865 0.128906 27.5276 0.128906 38.8637C0.128906 44.1468 3.59391 50.0929 10.9089 53.6006C17.6678 56.8518 27.25 58.0495 28.6831 58.2848L38.4792 29.6237L48.4892 58.2848ZM38.4792 25.1534C38.4792 25.1534 23.5711 45.0237 22.1381 46.8204C16.6411 46.3284 7.12307 42.6923 7.12307 36.4681C7.12307 28.5543 20.9831 21.1751 38.4792 21.1751C56.8522 21.1751 69.8353 28.5543 69.8353 36.4681C69.8353 42.7351 60.3172 46.307 54.8203 46.7562C53.3231 44.8526 38.4792 25.1534 38.4792 25.1534Z"})))))))}var Bf,Vf=e.forwardRef(zf),Uf=(n.p,["title","titleId"]);function Hf(){return Hf=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function $f(t,n){var r=t.title,i=t.titleId,o=Wf(t,Uf);return e.createElement("svg",Hf({width:86,height:86,viewBox:"0 0 86 86",fill:"current",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":i},o),r?e.createElement("title",{id:i},r):null,Bf||(Bf=e.createElement("g",{id:"kia-svgrepo-com"},e.createElement("path",{id:"Vector",d:"M76.5574 29.5049C66.2787 24.3173 54.6893 22.0573 43.2135 22.0573C31.6413 22.0573 19.5772 23.8633 9.33635 29.5049C5.04323 31.8819 0.275391 36.0409 0.275391 41.3419C0.275391 46.5845 4.96755 50.9361 9.30195 53.1204C19.5979 58.3252 31.2079 60.5681 42.7009 60.5681C54.2696 60.5681 66.3372 58.7621 76.5746 53.1411C80.8299 50.8053 85.6183 46.6636 85.6183 41.3797C85.6183 36.0787 80.964 31.7099 76.5574 29.5049ZM27.8229 51.3351L20.8294 42.9174H20.6196V51.3351H15.1844V32.5665H13.9872V31.3109H20.6196V38.3594H20.8294L26.5673 31.3109H32.6836L25.0847 40.6573L33.9014 51.3351H27.8229ZM45.2259 51.3351H39.7941V32.6421H38.6176V31.2558H45.2293V51.3351H45.2259ZM66.2408 51.3351L61.7757 38.2459L57.2934 51.3351H51.3663L57.8816 32.563H56.8187V31.3281H65.1985L72.02 51.3351H66.2408Z"}))))}var Kf,Gf,qf=e.forwardRef($f),Zf=(n.p,["title","titleId"]);function Yf(){return Yf=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Xf(t,n){var r=t.title,i=t.titleId,o=Qf(t,Zf);return e.createElement("svg",Yf({width:77,height:77,viewBox:"0 0 77 77",fill:"current",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":i},o),r?e.createElement("title",{id:i},r):null,Kf||(Kf=e.createElement("g",{id:"mazda",clipPath:"url(#clip0_26_1128)"},e.createElement("path",{id:"Vector",d:"M38.4968 41.3105C38.3813 41.3105 38.1599 41.1629 37.7845 40.4764C36.2135 37.5513 34.0565 34.9815 31.4481 32.9271C29.4011 31.3217 27.1287 30.0266 24.7042 29.0836C24.3367 28.9343 23.9677 28.7889 23.5973 28.6472C20.3505 27.3639 16.9849 26.0389 13.86 24.2294C13.5136 24.0333 13.1713 23.83 12.8333 23.6198C13.4557 22.5289 14.1808 21.4862 14.9829 20.5334C16.1469 19.142 17.5001 17.9206 19.003 16.9047C20.6165 15.8259 22.3609 14.9569 24.194 14.3188C28.1018 12.9264 32.7827 12.243 38.4968 12.2366C44.2172 12.243 48.895 12.9264 52.8027 14.322C54.6372 14.9579 56.3828 15.8259 57.997 16.9047C59.5082 17.9282 60.8589 19.1474 62.0171 20.5301C62.8192 21.4862 63.541 22.5289 64.1667 23.6198C63.8362 23.8251 63.4865 24.0336 63.14 24.2358C60.0087 26.0453 56.6495 27.3703 53.3963 28.6504L52.2894 29.0868C49.8672 30.0306 47.5971 31.3256 45.5519 32.9304C42.9424 34.9848 40.7852 37.556 39.2155 40.4828C38.8401 41.1661 38.6155 41.3105 38.4968 41.3105ZM38.4968 64.0031C33.5431 63.9966 29.5199 63.5892 26.2089 62.7614C22.9588 61.9529 20.2574 60.7081 17.9442 58.9499C16.171 57.5882 14.6581 55.9177 13.4782 54.0187C12.3728 52.2469 11.4995 50.3406 10.8795 48.3464C9.91253 45.2472 9.40767 42.0224 9.38117 38.7759C9.38117 36.6135 9.53196 34.5634 9.81429 32.6769C13.3627 34.5891 16.7218 35.5484 19.696 36.3986L20.3857 36.5911C24.5245 37.7814 27.8098 39.3406 30.4439 41.3651C31.9678 42.5457 33.2993 43.9093 34.3901 45.4204C35.574 47.0502 36.5173 48.9111 37.2038 50.9548C37.5118 51.882 37.8455 52.4563 38.4968 52.4563C39.1609 52.4563 39.485 51.8788 39.7962 50.9548C41.0208 47.1455 43.3792 43.8009 46.5561 41.3683C49.187 39.3406 52.4755 37.7814 56.6143 36.5911L57.3072 36.3986C60.2782 35.5484 63.6373 34.5891 67.1825 32.6769C67.4713 34.5666 67.6188 36.6135 67.6188 38.7727C67.6188 40.2421 67.4712 44.1114 66.127 48.3464C65.5073 50.3402 64.6351 52.2464 63.5314 54.0187C62.3479 55.919 60.8305 57.5896 59.0526 58.9499C56.733 60.7081 54.0315 61.9529 50.7943 62.7614C47.4737 63.5892 43.4537 63.9966 38.4968 64.0031ZM69.592 17.3026C63.4672 10.7255 53.5824 7.70965 38.4968 7.6936C23.4176 7.70965 13.5328 10.7223 7.40804 17.2994C2.85542 22.1792 0 28.9328 0 38.0958C0 43.1617 1.25125 56.0624 11.4345 62.7229C17.5303 66.7077 25.4036 69.2872 38.4968 69.3064C51.5964 69.2872 59.4665 66.7077 65.5655 62.7229C75.7455 56.0624 77 43.1585 77 38.0958C77 28.9584 74.1221 22.1568 69.5888 17.2961L69.592 17.3026Z"}))),Gf||(Gf=e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_26_1128"},e.createElement("rect",{width:77,height:77,fill:"white"})))))}var Jf,ed,td=e.forwardRef(Xf),nd=(n.p,["title","titleId"]);function rd(){return rd=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function od(t,n){var r=t.title,i=t.titleId,o=id(t,nd);return e.createElement("svg",rd({width:55,height:71,viewBox:"0 0 55 71",fill:"current",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":i},o),r?e.createElement("title",{id:i},r):null,Jf||(Jf=e.createElement("g",{id:"Renault_2021_Logo",clipPath:"url(#clip0_26_1117)"},e.createElement("g",{id:"layer1"},e.createElement("path",{id:"path132",d:"M30.3581 0L10.8477 35.5L23.278 58.3638L26.085 53.2008L16.4615 35.5L33.06 4.96988L49.6583 35.5L30.3578 71H35.6982L54.9987 35.5L35.6982 0H30.3581Z"}),e.createElement("path",{id:"path132-6",d:"M24.6406 71L44.151 35.5L31.7206 12.6362L28.9137 17.7992L38.5372 35.5L21.9387 66.0301L5.34034 35.5L24.6409 0H19.3005L0 35.5L19.3005 71H24.6406Z"})))),ed||(ed=e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_26_1117"},e.createElement("rect",{width:55,height:71})))))}var ad,ld,sd=e.forwardRef(od),ud=(n.p,["title","titleId"]);function cd(){return cd=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function dd(t,n){var r=t.title,i=t.titleId,o=fd(t,ud);return e.createElement("svg",cd({width:70,height:70,viewBox:"0 0 70 70",fill:"current",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":i},o),r?e.createElement("title",{id:i},r):null,ad||(ad=e.createElement("g",{id:"volvo",clipPath:"url(#clip0_26_1142)"},e.createElement("path",{id:"Vector",d:"M32.8679 32.7396H31.3454V31.7392H37.3888V32.7396H35.8838V37.2605H37.2808C38.5729 37.2605 39.4217 36.4088 39.4217 35.248H40.4192V38.2755H31.3483V37.2634H32.8708L32.8679 32.7396ZM40.2558 32.7425H38.7537V31.7392H45.3104V32.7425H43.7238L45.9346 36.7763L48.1192 32.7425H46.8125V31.7392H51.3333V32.7425H49.8283L46.8329 38.2842L43.3038 38.2813L40.2558 32.7425ZM55.3671 31.5992C58.4033 31.5992 60.0338 33.1159 60.0338 35.0146C60.0338 36.9396 58.4967 38.4767 55.3846 38.4767C52.2725 38.4767 50.7208 36.9425 50.7208 35.0146C50.7208 33.1159 52.3338 31.6021 55.3671 31.6021V31.5992ZM16.8612 36.7792L19.0429 32.7455H17.7392V31.7421H22.2542V32.7455H20.7521L17.7537 38.2871L14.2246 38.2842L11.1767 32.7455H9.6775V31.7421H16.2313V32.7455H14.6475L16.8612 36.7792ZM26.3025 31.6021C29.3387 31.6021 30.9692 33.1188 30.9692 35.0175C30.9692 36.9425 29.4321 38.4796 26.32 38.4796C23.2079 38.4796 21.6563 36.9455 21.6563 35.0175C21.6563 33.1188 23.2662 31.605 26.3025 31.605V31.6021ZM24.6954 34.9767C24.7158 33.7167 25.3196 32.6171 26.3579 32.6346C27.3962 32.655 27.9446 33.7721 27.9242 35.035C27.9008 36.2221 27.4108 37.4588 26.2704 37.4384C25.1621 37.418 24.675 36.193 24.6954 34.9767ZM53.76 34.9767C53.7804 33.7167 54.3842 32.6171 55.4225 32.6346C56.4608 32.655 57.0092 33.7721 56.9888 35.035C56.9654 36.2221 56.4754 37.4588 55.335 37.4384C54.2267 37.418 53.7396 36.193 53.76 34.9767ZM9.40917 28.6709C12.2442 17.1705 22.6246 8.64212 35 8.64212C47.3754 8.64212 57.7558 17.1705 60.5908 28.668L9.40917 28.6709ZM60.5908 41.335C57.7558 52.8325 47.3754 61.3609 35 61.3609C22.6246 61.3609 12.2442 52.8325 9.40917 41.335H60.5908ZM63.0671 14.0905L64.7238 12.4309C65.9021 13.9825 66.9667 15.6275 67.8942 17.3542H69.2038V0.825453H52.675V2.12045C54.3929 3.04504 56.0292 4.10379 57.5692 5.27629L55.9096 6.93295C49.8728 2.42167 42.5362 -0.0109054 35 3.67533e-05C15.6713 3.67533e-05 0 15.6713 0 35C0 54.3288 15.6713 70 35 70C54.3288 70 70 54.3288 70 35C70 27.16 67.4217 19.9238 63.0671 14.0905Z"}))),ld||(ld=e.createElement("defs",null,e.createElement("clipPath",{id:"clip0_26_1142"},e.createElement("rect",{width:70,height:70})))))}var pd,hd,vd,md,gd,yd,bd,xd,wd,Cd,jd=e.forwardRef(dd),Sd=(n.p,xo.p(pd||(pd=Fn(["\n color: inherit;\n font-family: 'Roboto',sans-serif;\n font-size: 18px;\n"])))),kd=xo(Tf)(hd||(hd=Fn(["\n transition: fill 0.3s;\n"]))),Ed=xo(Lf)(vd||(vd=Fn(["\n transition: fill 0.3s;\n\n"]))),Od=xo(Vf)(md||(md=Fn(["\n transition: fill 0.3s;\n\n"]))),_d=xo(qf)(gd||(gd=Fn(["\n transition: fill 0.3s;\n\n"]))),Td=xo(td)(yd||(yd=Fn(["\n transition: fill 0.3s;\n\n"]))),Ad=xo(sd)(bd||(bd=Fn(["\n transition: fill 0.3s;\n\n"]))),Pd=xo(jd)(xd||(xd=Fn(["\n transition: fill 0.3s;\n\n"]))),Nd=function(){return(0,jo.jsxs)(wf,{className:"splide-container","aria-label":"Car logo carousel",tag:"section",options:{rewind:!0,width:1080,perPage:7,focus:"center",perMove:1,omitEnd:!1,autoplay:!0,pagination:!1,type:"loop"},children:[(0,jo.jsxs)(Cf,{className:"container",children:[(0,jo.jsx)(kd,{}),(0,jo.jsx)(Sd,{children:"Ford"})]}),(0,jo.jsxs)(Cf,{className:"container",children:[(0,jo.jsx)(Ed,{}),(0,jo.jsx)(Sd,{children:"Honda"})]}),(0,jo.jsxs)(Cf,{className:"container",children:[(0,jo.jsx)(Od,{}),(0,jo.jsx)(Sd,{children:"Infiniti"})]}),(0,jo.jsxs)(Cf,{className:"container",children:[(0,jo.jsx)(_d,{}),(0,jo.jsx)(Sd,{children:"Kia"})]}),(0,jo.jsxs)(Cf,{className:"container",children:[(0,jo.jsx)(Td,{}),(0,jo.jsx)(Sd,{children:"Mazda"})]}),(0,jo.jsxs)(Cf,{className:"container",children:[(0,jo.jsx)(Ad,{}),(0,jo.jsx)(Sd,{children:"Renault"})]}),(0,jo.jsxs)(Cf,{className:"container",children:[(0,jo.jsx)(Pd,{}),(0,jo.jsx)(Sd,{children:"Volvo"})]}),(0,jo.jsxs)(Cf,{className:"container",children:[(0,jo.jsx)(kd,{}),(0,jo.jsx)(Sd,{children:"Ford"})]}),(0,jo.jsxs)(Cf,{className:"container",children:[(0,jo.jsx)(Ed,{}),(0,jo.jsx)(Sd,{children:"Honda"})]}),(0,jo.jsxs)(Cf,{className:"container",children:[(0,jo.jsx)(Od,{}),(0,jo.jsx)(Sd,{children:"Infiniti"})]}),(0,jo.jsxs)(Cf,{className:"container",children:[(0,jo.jsx)(_d,{}),(0,jo.jsx)(Sd,{children:"Kia"})]}),(0,jo.jsxs)(Cf,{className:"container",children:[(0,jo.jsx)(Td,{}),(0,jo.jsx)(Sd,{children:"Mazda"})]}),(0,jo.jsxs)(Cf,{className:"container",children:[(0,jo.jsx)(Ad,{}),(0,jo.jsx)(Sd,{children:"Renault"})]}),(0,jo.jsxs)(Cf,{className:"container",children:[(0,jo.jsx)(Pd,{}),(0,jo.jsx)(Sd,{children:"Volvo"})]})]})},Rd=function(e){return e.cars.cars},Dd=function(e){return e.cars.carsPopular},Ld=function(e){return e.cars.carsFiltered},Fd=xo.section(wd||(wd=Fn(["\n display: inline-flex;\n flex-direction: column;\n align-items: flex-start;\n width: 1280px;\n margin-top: 120px;\n\n .carTitle {\n color: #141414;\n font-family: 'Roboto', sans-serif;\n font-size: 32px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n }\n .carList {\n display: flex;\n flex-wrap: wrap;\n justify-content: center;\n align-items: center;\n margin-top: 24px;\n gap: 20px;\n }\n .carItem {\n position: relative;\n width: 413px;\n height: 383px;\n display: flex;\n justify-content: center;\n align-items: flex-start;\n flex-direction: column;\n border-radius: 8px;\n background: #f1f1f1;\n }\n .imgCar {\n width: 373px;\n height: 267px;\n border-radius: 8px;\n object-fit: cover;\n margin-left: 20px;\n }\n .blackTitle {\n font-family: 'Roboto', sans-serif;\n color: #141414;\n font-size: 22px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n margin-top: 20px;\n margin-left: 20px;\n }\n .carDescrList {\n display: flex;\n width: 373px;\n margin-top: 8px;\n margin-left: 20px;\n align-items: flex-end;\n }\n .carDescrPrice {\n color: #141414;\n font-family: 'Roboto', sans-serif;\n font-size: 22px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n }\n .cityRight {\n margin-left: auto;\n }\n .carDescrCity {\n color: #141414;\n font-family: 'Roboto', sans-serif;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n }\n .svg {\n background-color: transparent;\n border: 1px;\n position: absolute;\n right: 36px;\n top: 35px;\n }\n"]))),Id=(xo.div(Cd||(Cd=Fn(["\ndisplay: flex;\nflex-direction: column;\njustify-content: center;\nalign-items: center;\n"]))),(0,jo.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",children:(0,jo.jsx)("path",{d:"M15 8.61765C12.5 2.7496 3.75 3.3746 3.75 10.8746C3.75 18.3747 15 24.6249 15 24.6249C15 24.6249 26.25 18.3747 26.25 10.8746C26.25 3.3746 17.5 2.7496 15 8.61765Z",stroke:"#6F6F6F",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}));function Md(e,t,n,r,i,o,a){try{var l=e[o](a),s=l.value}catch(u){return void n(u)}l.done?t(s):Promise.resolve(s).then(r,i)}function zd(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var o=e.apply(t,n);function a(e){Md(o,r,i,a,l,"next",e)}function l(e){Md(o,r,i,a,l,"throw",e)}a(void 0)}))}}function Bd(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r3?t.i-4:t.i:Array.isArray(e)?1:Zd(e)?2:Yd(e)?3:0}function $d(e,t){return 2===Wd(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function Kd(e,t){return 2===Wd(e)?e.get(t):e[t]}function Gd(e,t,n){var r=Wd(e);2===r?e.set(t,n):3===r?e.add(n):e[t]=n}function qd(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function Zd(e){return Sp&&e instanceof Map}function Yd(e){return kp&&e instanceof Set}function Qd(e){return e.o||e.t}function Xd(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Np(e);delete t[Tp];for(var n=Pp(t),r=0;r1&&(e.set=e.add=e.clear=e.delete=ep),Object.freeze(e),t&&Hd(e,(function(e,t){return Jd(t,!0)}),!0)),e}function ep(){Bd(2)}function tp(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function np(e){var t=Rp[e];return t||Bd(18,e),t}function rp(e,t){Rp[e]||(Rp[e]=t)}function ip(){return Cp}function op(e,t){t&&(np("Patches"),e.u=[],e.s=[],e.v=t)}function ap(e){lp(e),e.p.forEach(up),e.p=null}function lp(e){e===Cp&&(Cp=e.l)}function sp(e){return Cp={p:[],l:Cp,h:e,m:!0,_:0}}function up(e){var t=e[Tp];0===t.i||1===t.i?t.j():t.g=!0}function cp(e,t){t._=t.p.length;var n=t.p[0],r=void 0!==e&&e!==n;return t.h.O||np("ES5").S(t,e,r),r?(n[Tp].P&&(ap(t),Bd(4)),Ud(e)&&(e=fp(t,e),t.l||pp(t,e)),t.u&&np("Patches").M(n[Tp].t,e,t.u,t.s)):e=fp(t,n,[]),ap(t),t.u&&t.v(t.u,t.s),e!==Op?e:void 0}function fp(e,t,n){if(tp(t))return t;var r=t[Tp];if(!r)return Hd(t,(function(i,o){return dp(e,r,t,i,o,n)}),!0),t;if(r.A!==e)return t;if(!r.P)return pp(e,r.t,!0),r.t;if(!r.I){r.I=!0,r.A._--;var i=4===r.i||5===r.i?r.o=Xd(r.k):r.o,o=i,a=!1;3===r.i&&(o=new Set(i),i.clear(),a=!0),Hd(o,(function(t,o){return dp(e,r,i,t,o,n,a)})),pp(e,i,!1),n&&e.u&&np("Patches").N(r,n,e.u,e.s)}return r.o}function dp(e,t,n,r,i,o,a){if(Vd(i)){var l=fp(e,i,o&&t&&3!==t.i&&!$d(t.R,r)?o.concat(r):void 0);if(Gd(n,r,l),!Vd(l))return;e.m=!1}else a&&n.add(i);if(Ud(i)&&!tp(i)){if(!e.h.D&&e._<1)return;fp(e,i),t&&t.A.l||pp(e,i)}}function pp(e,t,n){void 0===n&&(n=!1),!e.l&&e.h.D&&e.m&&Jd(t,n)}function hp(e,t){var n=e[Tp];return(n?Qd(n):e)[t]}function vp(e,t){if(t in e)for(var n=Object.getPrototypeOf(e);n;){var r=Object.getOwnPropertyDescriptor(n,t);if(r)return r;n=Object.getPrototypeOf(n)}}function mp(e){e.P||(e.P=!0,e.l&&mp(e.l))}function gp(e){e.o||(e.o=Xd(e.t))}function yp(e,t,n){var r=Zd(t)?np("MapSet").F(t,n):Yd(t)?np("MapSet").T(t,n):e.O?function(e,t){var n=Array.isArray(e),r={i:n?1:0,A:t?t.A:ip(),P:!1,I:!1,R:{},l:t,t:e,k:null,o:null,j:null,C:!1},i=r,o=Dp;n&&(i=[r],o=Lp);var a=Proxy.revocable(i,o),l=a.revoke,s=a.proxy;return r.k=s,r.j=l,s}(t,n):np("ES5").J(t,n);return(n?n.A:ip()).p.push(r),r}function bp(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return Xd(e)}function xp(){function e(e,t){var n=i[e];return n?n.enumerable=t:i[e]=n={configurable:!0,enumerable:t,get:function(){var t=this[Tp];return Dp.get(t,e)},set:function(t){var n=this[Tp];Dp.set(n,e,t)}},n}function t(e){for(var t=e.length-1;t>=0;t--){var i=e[t][Tp];if(!i.P)switch(i.i){case 5:r(i)&&mp(i);break;case 4:n(i)&&mp(i)}}}function n(e){for(var t=e.t,n=e.k,r=Pp(n),i=r.length-1;i>=0;i--){var o=r[i];if(o!==Tp){var a=t[o];if(void 0===a&&!$d(t,o))return!0;var l=n[o],s=l&&l[Tp];if(s?s.t!==a:!qd(l,a))return!0}}var u=!!t[Tp];return r.length!==Pp(t).length+(u?0:1)}function r(e){var t=e.k;if(t.length!==e.t.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);if(n&&!n.get)return!0;for(var r=0;r1?r-1:0),l=1;l1?r-1:0),o=1;o=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}n>-1&&(t=t.slice(n+1));var i=np("Patches").$;return Vd(e)?i(e,t):this.produce(e,(function(e){return i(e,t)}))},e}(),Ip=new Fp,Mp=Ip.produce,zp=(Ip.produceWithPatches.bind(Ip),Ip.setAutoFreeze.bind(Ip),Ip.setUseProxies.bind(Ip),Ip.applyPatches.bind(Ip),Ip.createDraft.bind(Ip),Ip.finishDraft.bind(Ip),Mp);function Bp(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var Vp="function"===typeof Symbol&&Symbol.observable||"@@observable",Up=function(){return Math.random().toString(36).substring(7).split("").join(".")},Hp={INIT:"@@redux/INIT"+Up(),REPLACE:"@@redux/REPLACE"+Up(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+Up()}};function Wp(e){if("object"!==typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function $p(e,t,n){var r;if("function"===typeof t&&"function"===typeof n||"function"===typeof n&&"function"===typeof arguments[3])throw new Error(Bp(0));if("function"===typeof t&&"undefined"===typeof n&&(n=t,t=void 0),"undefined"!==typeof n){if("function"!==typeof n)throw new Error(Bp(1));return n($p)(e,t)}if("function"!==typeof e)throw new Error(Bp(2));var i=e,o=t,a=[],l=a,s=!1;function u(){l===a&&(l=a.slice())}function c(){if(s)throw new Error(Bp(3));return o}function f(e){if("function"!==typeof e)throw new Error(Bp(4));if(s)throw new Error(Bp(5));var t=!0;return u(),l.push(e),function(){if(t){if(s)throw new Error(Bp(6));t=!1,u();var n=l.indexOf(e);l.splice(n,1),a=null}}}function d(e){if(!Wp(e))throw new Error(Bp(7));if("undefined"===typeof e.type)throw new Error(Bp(8));if(s)throw new Error(Bp(9));try{s=!0,o=i(o,e)}finally{s=!1}for(var t=a=l,n=0;n0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]2&&void 0!==arguments[2]?arguments[2]:{},o=i.allOwnKeys,a=void 0!==o&&o;if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),Ih(e))for(n=0,r=e.length;n0;)if(t===(n=r[i]).toLowerCase())return n;return null}var Xh="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof self?self:"undefined"!==typeof window?window:global,Jh=function(e){return!Mh(e)&&e!==Xh};var ev,tv=(ev="undefined"!==typeof Uint8Array&&Rh(Uint8Array),function(e){return ev&&e instanceof ev}),nv=Lh("HTMLFormElement"),rv=function(e){var t=Object.prototype.hasOwnProperty;return function(e,n){return t.call(e,n)}}(),iv=Lh("RegExp"),ov=function(e,t){var n=Object.getOwnPropertyDescriptors(e),r={};Yh(n,(function(n,i){var o;!1!==(o=t(n,i,e))&&(r[i]=o||n)})),Object.defineProperties(e,r)},av="abcdefghijklmnopqrstuvwxyz",lv="0123456789",sv={DIGIT:lv,ALPHA:av,ALPHA_DIGIT:av+av.toUpperCase()+lv};var uv=Lh("AsyncFunction"),cv={isArray:Ih,isArrayBuffer:zh,isBuffer:function(e){return null!==e&&!Mh(e)&&null!==e.constructor&&!Mh(e.constructor)&&Vh(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:function(e){var t;return e&&("function"===typeof FormData&&e instanceof FormData||Vh(e.append)&&("formdata"===(t=Dh(e))||"object"===t&&Vh(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&zh(e.buffer)},isString:Bh,isNumber:Uh,isBoolean:function(e){return!0===e||!1===e},isObject:Hh,isPlainObject:Wh,isUndefined:Mh,isDate:$h,isFile:Kh,isBlob:Gh,isRegExp:iv,isFunction:Vh,isStream:function(e){return Hh(e)&&Vh(e.pipe)},isURLSearchParams:Zh,isTypedArray:tv,isFileList:qh,forEach:Yh,merge:function e(){for(var t=Jh(this)&&this||{},n=t.caseless,r={},i=function(t,i){var o=n&&Qh(r,i)||i;Wh(r[o])&&Wh(t)?r[o]=e(r[o],t):Wh(t)?r[o]=e({},t):Ih(t)?r[o]=t.slice():r[o]=t},o=0,a=arguments.length;o3&&void 0!==arguments[3]?arguments[3]:{},i=r.allOwnKeys;return Yh(t,(function(t,r){n&&Vh(t)?e[r]=Ah(t,n):e[r]=t}),{allOwnKeys:i}),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n,r){var i,o,a,l={};if(t=t||{},null==e)return t;do{for(o=(i=Object.getOwnPropertyNames(e)).length;o-- >0;)a=i[o],r&&!r(a,e,t)||l[a]||(t[a]=e[a],l[a]=!0);e=!1!==n&&Rh(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:Dh,kindOfTest:Lh,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;if(Ih(e))return e;var t=e.length;if(!Uh(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},forEachEntry:function(e,t){for(var n,r=(e&&e[Symbol.iterator]).call(e);(n=r.next())&&!n.done;){var i=n.value;t.call(e,i[0],i[1])}},matchAll:function(e,t){for(var n,r=[];null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:nv,hasOwnProperty:rv,hasOwnProp:rv,reduceDescriptors:ov,freezeMethods:function(e){ov(e,(function(t,n){if(Vh(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;var r=e[n];Vh(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=function(){throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:function(e,t){var n={},r=function(e){e.forEach((function(e){n[e]=!0}))};return Ih(e)?r(e):r(String(e).split(t)),n},toCamelCase:function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n}))},noop:function(){},toFiniteNumber:function(e,t){return e=+e,Number.isFinite(e)?e:t},findKey:Qh,global:Xh,isContextDefined:Jh,ALPHABET:sv,generateString:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:sv.ALPHA_DIGIT,n="",r=t.length;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&Vh(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:function(e){var t=new Array(10);return function e(n,r){if(Hh(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[r]=n;var i=Ih(n)?[]:{};return Yh(n,(function(t,n){var o=e(t,r+1);!Mh(o)&&(i[n]=o)})),t[r]=void 0,i}}return n}(e,0)},isAsyncFn:uv,isThenable:function(e){return e&&(Hh(e)||Vh(e))&&Vh(e.then)&&Vh(e.catch)}};function fv(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}cv.inherits(fv,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:cv.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var dv=fv.prototype,pv={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(e){pv[e]={value:e}})),Object.defineProperties(fv,pv),Object.defineProperty(dv,"isAxiosError",{value:!0}),fv.from=function(e,t,n,r,i,o){var a=Object.create(dv);return cv.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(function(e){return"isAxiosError"!==e})),fv.call(a,e.message,t,n,r,i),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};var hv=fv;function vv(e){return cv.isPlainObject(e)||cv.isArray(e)}function mv(e){return cv.endsWith(e,"[]")?e.slice(0,-2):e}function gv(e,t,n){return e?e.concat(t).map((function(e,t){return e=mv(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}var yv=cv.toFlatObject(cv,{},null,(function(e){return/^is[A-Z]/.test(e)}));var bv=function(e,t,n){if(!cv.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;var r=(n=cv.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!cv.isUndefined(t[e])}))).metaTokens,i=n.visitor||u,o=n.dots,a=n.indexes,l=(n.Blob||"undefined"!==typeof Blob&&Blob)&&cv.isSpecCompliantForm(t);if(!cv.isFunction(i))throw new TypeError("visitor must be a function");function s(e){if(null===e)return"";if(cv.isDate(e))return e.toISOString();if(!l&&cv.isBlob(e))throw new hv("Blob is not supported. Use a Buffer instead.");return cv.isArrayBuffer(e)||cv.isTypedArray(e)?l&&"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,i){var l=e;if(e&&!i&&"object"===typeof e)if(cv.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(cv.isArray(e)&&function(e){return cv.isArray(e)&&!e.some(vv)}(e)||(cv.isFileList(e)||cv.endsWith(n,"[]"))&&(l=cv.toArray(e)))return n=mv(n),l.forEach((function(e,r){!cv.isUndefined(e)&&null!==e&&t.append(!0===a?gv([n],r,o):null===a?n:n+"[]",s(e))})),!1;return!!vv(e)||(t.append(gv(i,n,o),s(e)),!1)}var c=[],f=Object.assign(yv,{defaultVisitor:u,convertValue:s,isVisitable:vv});if(!cv.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!cv.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),cv.forEach(n,(function(n,o){!0===(!(cv.isUndefined(n)||null===n)&&i.call(t,n,cv.isString(o)?o.trim():o,r,f))&&e(n,r?r.concat(o):[o])})),c.pop()}}(e),t};function xv(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function wv(e,t){this._pairs=[],e&&bv(e,this,t)}var Cv=wv.prototype;Cv.append=function(e,t){this._pairs.push([e,t])},Cv.toString=function(e){var t=e?function(t){return e.call(this,t,xv)}:xv;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var jv=wv;function Sv(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function kv(e,t,n){if(!t)return e;var r,i=n&&n.encode||Sv,o=n&&n.serialize;if(r=o?o(t,n):cv.isURLSearchParams(t)?t.toString():new jv(t,n).toString(i)){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}var Ev=function(){function e(){s(this,e),this.handlers=[]}return c(e,[{key:"use",value:function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}},{key:"eject",value:function(e){this.handlers[e]&&(this.handlers[e]=null)}},{key:"clear",value:function(){this.handlers&&(this.handlers=[])}},{key:"forEach",value:function(e){cv.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}]),e}(),Ov=Ev,_v={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Tv={isBrowser:!0,classes:{URLSearchParams:"undefined"!==typeof URLSearchParams?URLSearchParams:jv,FormData:"undefined"!==typeof FormData?FormData:null,Blob:"undefined"!==typeof Blob?Blob:null},isStandardBrowserEnv:function(){var e;return("undefined"===typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&("undefined"!==typeof window&&"undefined"!==typeof document)}(),isStandardBrowserWebWorkerEnv:"undefined"!==typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"===typeof self.importScripts,protocols:["http","https","file","blob","url","data"]};var Av=function(e){function t(e,n,r,i){var o=e[i++],a=Number.isFinite(+o),l=i>=e.length;return o=!o&&cv.isArray(r)?r.length:o,l?(cv.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!a):(r[o]&&cv.isObject(r[o])||(r[o]=[]),t(e,n,r[o],i)&&cv.isArray(r[o])&&(r[o]=function(e){var t,n,r={},i=Object.keys(e),o=i.length;for(t=0;t-1,o=cv.isObject(e);if(o&&cv.isHTMLForm(e)&&(e=new FormData(e)),cv.isFormData(e))return i&&i?JSON.stringify(Av(e)):e;if(cv.isArrayBuffer(e)||cv.isBuffer(e)||cv.isStream(e)||cv.isFile(e)||cv.isBlob(e))return e;if(cv.isArrayBufferView(e))return e.buffer;if(cv.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return bv(e,new Tv.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return Tv.isNode&&cv.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((n=cv.isFileList(e))||r.indexOf("multipart/form-data")>-1){var a=this.env&&this.env.FormData;return bv(n?{"files[]":e}:e,a&&new a,this.formSerializer)}}return o||i?(t.setContentType("application/json",!1),function(e,t,n){if(cv.isString(e))try{return(t||JSON.parse)(e),cv.trim(e)}catch(r){if("SyntaxError"!==r.name)throw r}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||Pv.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&cv.isString(e)&&(n&&!this.responseType||r)){var i=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(o){if(i){if("SyntaxError"===o.name)throw hv.from(o,hv.ERR_BAD_RESPONSE,this,null,this.response);throw o}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Tv.classes.FormData,Blob:Tv.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};cv.forEach(["delete","get","head","post","put","patch"],(function(e){Pv.headers[e]={}}));var Nv=Pv,Rv=cv.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Dv=Symbol("internals");function Lv(e){return e&&String(e).trim().toLowerCase()}function Fv(e){return!1===e||null==e?e:cv.isArray(e)?e.map(Fv):String(e)}function Iv(e,t,n,r,i){return cv.isFunction(r)?r.call(this,t,n):(i&&(t=n),cv.isString(t)?cv.isString(r)?-1!==t.indexOf(r):cv.isRegExp(r)?r.test(t):void 0:void 0)}var Mv=function(e,t){function n(e){s(this,n),e&&this.set(e)}return c(n,[{key:"set",value:function(e,t,n){var r=this;function i(e,t,n){var i=Lv(t);if(!i)throw new Error("header name must be a non-empty string");var o=cv.findKey(r,i);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=Fv(e))}var o=function(e,t){return cv.forEach(e,(function(e,n){return i(e,n,t)}))};return cv.isPlainObject(e)||e instanceof this.constructor?o(e,t):cv.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?o(function(e){var t,n,r,i={};return e&&e.split("\n").forEach((function(e){r=e.indexOf(":"),t=e.substring(0,r).trim().toLowerCase(),n=e.substring(r+1).trim(),!t||i[t]&&Rv[t]||("set-cookie"===t?i[t]?i[t].push(n):i[t]=[n]:i[t]=i[t]?i[t]+", "+n:n)})),i}(e),t):null!=e&&i(t,e,n),this}},{key:"get",value:function(e,t){if(e=Lv(e)){var n=cv.findKey(this,e);if(n){var r=this[n];if(!t)return r;if(!0===t)return function(e){for(var t,n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;t=r.exec(e);)n[t[1]]=t[2];return n}(r);if(cv.isFunction(t))return t.call(this,r,n);if(cv.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}},{key:"has",value:function(e,t){if(e=Lv(e)){var n=cv.findKey(this,e);return!(!n||void 0===this[n]||t&&!Iv(0,this[n],n,t))}return!1}},{key:"delete",value:function(e,t){var n=this,r=!1;function i(e){if(e=Lv(e)){var i=cv.findKey(n,e);!i||t&&!Iv(0,n[i],i,t)||(delete n[i],r=!0)}}return cv.isArray(e)?e.forEach(i):i(e),r}},{key:"clear",value:function(e){for(var t=Object.keys(this),n=t.length,r=!1;n--;){var i=t[n];e&&!Iv(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}},{key:"normalize",value:function(e){var t=this,n={};return cv.forEach(this,(function(r,i){var o=cv.findKey(n,i);if(o)return t[o]=Fv(r),void delete t[i];var a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n}))}(i):String(i).trim();a!==i&&delete t[i],t[a]=Fv(r),n[a]=!0})),this}},{key:"concat",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r1?n-1:0),i=1;i1?"since :\n"+l.map(Qv).join("\n"):" "+Qv(l[0]):"as no adapter specified";throw new hv("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return n};function em(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Hv(null,e)}function tm(e){return em(e),e.headers=zv.from(e.headers),e.data=Bv.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Jv(e.adapter||Nv.adapter)(e).then((function(t){return em(e),t.data=Bv.call(e,e.transformResponse,t),t.headers=zv.from(t.headers),t}),(function(t){return Vv(t)||(em(e),t&&t.response&&(t.response.data=Bv.call(e,e.transformResponse,t.response),t.response.headers=zv.from(t.response.headers))),Promise.reject(t)}))}var nm=function(e){return e instanceof zv?e.toJSON():e};function rm(e,t){t=t||{};var n={};function r(e,t,n){return cv.isPlainObject(e)&&cv.isPlainObject(t)?cv.merge.call({caseless:n},e,t):cv.isPlainObject(t)?cv.merge({},t):cv.isArray(t)?t.slice():t}function i(e,t,n){return cv.isUndefined(t)?cv.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!cv.isUndefined(t))return r(void 0,t)}function a(e,t){return cv.isUndefined(t)?cv.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function l(n,i,o){return o in t?r(n,i):o in e?r(void 0,n):void 0}var s={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l,headers:function(e,t){return i(nm(e),nm(t),!0)}};return cv.forEach(Object.keys(Object.assign({},e,t)),(function(r){var o=s[r]||i,a=o(e[r],t[r],r);cv.isUndefined(a)&&o!==l||(n[r]=a)})),n}var im="1.5.1",om={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){om[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));var am={};om.transitional=function(e,t,n){function r(e,t){return"[Axios v1.5.1] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,i,o){if(!1===e)throw new hv(r(i," has been removed"+(t?" in "+t:"")),hv.ERR_DEPRECATED);return t&&!am[i]&&(am[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,o)}};var lm={assertOptions:function(e,t,n){if("object"!==typeof e)throw new hv("options must be an object",hv.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),i=r.length;i-- >0;){var o=r[i],a=t[o];if(a){var l=e[o],s=void 0===l||a(l,o,e);if(!0!==s)throw new hv("option "+o+" must be "+s,hv.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new hv("Unknown option "+o,hv.ERR_BAD_OPTION)}},validators:om},sm=lm.validators,um=function(){function e(t){s(this,e),this.defaults=t,this.interceptors={request:new Ov,response:new Ov}}return c(e,[{key:"request",value:function(e,t){"string"===typeof e?(t=t||{}).url=e:t=e||{};var n=t=rm(this.defaults,t),r=n.transitional,i=n.paramsSerializer,o=n.headers;void 0!==r&&lm.assertOptions(r,{silentJSONParsing:sm.transitional(sm.boolean),forcedJSONParsing:sm.transitional(sm.boolean),clarifyTimeoutError:sm.transitional(sm.boolean)},!1),null!=i&&(cv.isFunction(i)?t.paramsSerializer={serialize:i}:lm.assertOptions(i,{encode:sm.function,serialize:sm.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();var a=o&&cv.merge(o.common,o[t.method]);o&&cv.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete o[e]})),t.headers=zv.concat(a,o);var l=[],s=!0;this.interceptors.request.forEach((function(e){"function"===typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,l.unshift(e.fulfilled,e.rejected))}));var u,c=[];this.interceptors.response.forEach((function(e){c.push(e.fulfilled,e.rejected)}));var f,d=0;if(!s){var p=[tm.bind(this),void 0];for(p.unshift.apply(p,l),p.push.apply(p,c),f=p.length,u=Promise.resolve(t);d0;)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},t((function(e,t,i){r.reason||(r.reason=new Hv(e,t,i),n(r.reason))}))}return c(e,[{key:"throwIfRequested",value:function(){if(this.reason)throw this.reason}},{key:"subscribe",value:function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}},{key:"unsubscribe",value:function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}}}],[{key:"source",value:function(){var t;return{token:new e((function(e){t=e})),cancel:t}}}]),e}(),dm=fm;var pm={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(pm).forEach((function(e){var t=j(e,2),n=t[0],r=t[1];pm[r]=n}));var hm=pm;var vm=function e(t){var n=new cm(t),r=Ah(cm.prototype.request,n);return cv.extend(r,cm.prototype,n,{allOwnKeys:!0}),cv.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(rm(t,n))},r}(Nv);vm.Axios=cm,vm.CanceledError=Hv,vm.CancelToken=dm,vm.isCancel=Vv,vm.VERSION=im,vm.toFormData=bv,vm.AxiosError=hv,vm.Cancel=vm.CanceledError,vm.all=function(e){return Promise.all(e)},vm.spread=function(e){return function(t){return e.apply(null,t)}},vm.isAxiosError=function(e){return cv.isObject(e)&&!0===e.isAxiosError},vm.mergeConfig=rm,vm.AxiosHeaders=zv,vm.formToJSON=function(e){return Av(cv.isHTMLForm(e)?new FormData(e):e)},vm.getAdapter=Jv,vm.HttpStatusCode=hm,vm.default=vm;var mm,gm=vm,ym=gm.create({baseURL:"https://65438b8101b5e279de208dab.mockapi.io"}),bm=kh("cars/getCarsThunkFiltered",function(){var e=zd(O().mark((function e(t,n){var r,i,o;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.rejectWithValue,e.prev=1,i="/api/adverts/cars?",Object.keys(t).forEach((function(e,n){(t[e]||0===t[e])&&(i+=0===n?"".concat(e,"=").concat(t[e]):"&".concat(e,"=").concat(t[e]))})),console.log(i),e.next=7,ym.get(i);case 7:return o=e.sent,e.abrupt("return",o.data);case 11:return e.prev=11,e.t0=e.catch(1),e.abrupt("return",r(e.t0.message));case 14:case"end":return e.stop()}}),e,null,[[1,11]])})));return function(t,n){return e.apply(this,arguments)}}()),xm=kh("cars/getCarsThunk",function(){var e=zd(O().mark((function e(t,n){var r,i,o,a,l;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.page,i=t.limit,o=n.rejectWithValue,e.prev=2,a="/api/adverts/adverts?limit=".concat(i,"&page=").concat(r),e.next=6,ym.get(a);case 6:return l=e.sent,e.abrupt("return",l.data);case 10:return e.prev=10,e.t0=e.catch(2),e.abrupt("return",o(e.t0.message));case 13:case"end":return e.stop()}}),e,null,[[2,10]])})));return function(t,n){return e.apply(this,arguments)}}()),wm=kh("cars/getCarsThunkPopular",function(){var e=zd(O().mark((function e(t,n){var r,i,o,a,l;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.page,i=t.limit,o=n.rejectWithValue,e.prev=2,a="/api/adverts/adverts?limit=".concat(i,"&page=").concat(r),e.next=6,ym.get(a);case 6:return l=e.sent,e.abrupt("return",l.data);case 10:return e.prev=10,e.t0=e.catch(2),e.abrupt("return",o(e.t0.message));case 13:case"end":return e.stop()}}),e,null,[[2,10]])})));return function(t,n){return e.apply(this,arguments)}}()),Cm=function(){var t=Yo(),n=Vo(Dd);return(0,e.useEffect)((function(){t(wm({limit:3,page:1}))}),[t,3,1]),(0,jo.jsxs)(Fd,{children:[(0,jo.jsx)("h2",{className:"carTitle",children:"\u041f\u043e\u043f\u0443\u043b\u044f\u0440\u043d\u0456"}),(0,jo.jsx)("ul",{className:"carList",children:n?n.map((function(e){var t=e.address.split(","),n=t[1]?t[1].trim():"";return(0,jo.jsxs)("li",{className:"carItem",children:[(0,jo.jsx)("img",{className:"imgCar",src:e.img,alt:"Car view"}),(0,jo.jsxs)("h3",{className:"blackTitle ",children:[e.make," ",e.model," ",e.year]}),(0,jo.jsxs)("ul",{className:"carDescrList",children:[(0,jo.jsx)("li",{children:(0,jo.jsx)("p",{className:"carDescrPrice",children:e.rentalPrice})}),(0,jo.jsx)("li",{className:"cityRight",children:(0,jo.jsx)("p",{className:"carDescrCity",children:n})})]}),(0,jo.jsx)("button",{className:"svg",type:"button",children:Id})]},e.id)})):null})]})},jm=xo.div(mm||(mm=Fn(["\n display: flex;\n flex-direction: column;\n justify-content: center;\n align-items: center;\n\n .paginDiv {\n display: flex;\n align-items: center;\n height: 40px;\n gap: 50px;\n margin-top: 80px;\n margin-bottom: 125px;\n }\n\n .pagination-button {\n display: flex;\n border: 0;\n background-color: transparent;\n color: #b0a9a9;\n font-family: 'Roboto', sans-serif;\n font-size: 24px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n }\n .active {\n color: #10187e;\n }\n .hidden {\n display: none;\n }\n .pagination-button-arrow {\n display: flex;\n border: 0;\n background-color: transparent; }\n"]))),Sm=(0,jo.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"currentColor",children:(0,jo.jsx)("path",{d:"M8.93937 4.44002C8.65847 4.72127 8.50069 5.10252 8.50069 5.50002C8.50069 5.89752 8.65847 6.27877 8.93937 6.56002L14.3794 12L8.93937 17.44C8.67441 17.7244 8.53016 18.1005 8.53702 18.4891C8.54387 18.8777 8.7013 19.2484 8.97612 19.5233C9.25095 19.7981 9.62172 19.9555 10.0103 19.9624C10.3989 19.9692 10.775 19.825 11.0594 19.56L17.5594 13.06C17.8403 12.7788 17.998 12.3975 17.998 12C17.998 11.6025 17.8403 11.2213 17.5594 10.94L11.0594 4.44002C10.7781 4.15912 10.3969 4.00134 9.99937 4.00134C9.60187 4.00134 9.22062 4.15912 8.93937 4.44002Z"})}),km=(0,jo.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",viewBox:"0 0 25 24",fill:"currentColor",children:(0,jo.jsx)("path",{d:"M15.5606 19.56C15.8415 19.2787 15.9993 18.8975 15.9993 18.5C15.9993 18.1025 15.8415 17.7212 15.5606 17.44L10.1206 12L15.5606 6.55998C15.8256 6.27563 15.9698 5.89954 15.963 5.51093C15.9561 5.12233 15.7987 4.75156 15.5239 4.47673C15.2491 4.20191 14.8783 4.04448 14.4897 4.03763C14.1011 4.03077 13.725 4.17502 13.4406 4.43998L6.94063 10.94C6.65973 11.2212 6.50195 11.6025 6.50195 12C6.50195 12.3975 6.65973 12.7787 6.94063 13.06L13.4406 19.56C13.7219 19.8409 14.1031 19.9987 14.5006 19.9987C14.8981 19.9987 15.2794 19.8409 15.5606 19.56Z"})}),Em=function(){var t=Yo(),n=j((0,e.useState)(1),2),r=n[0],i=n[1],o=Vo(Rd);(0,e.useEffect)((function(){t(xm({limit:6,page:r}))}),[t,r]);var a=Math.max(1,r-2),l=Math.min(6,a+4),s=Array.from({length:5},(function(e,t){return l-4+t})).filter((function(e){return e>0&&e<=6}));return(0,jo.jsxs)(jm,{children:[(0,jo.jsxs)(Fd,{children:[(0,jo.jsx)("h2",{className:"carTitle",children:"\u041d\u043e\u0432\u0456 \u043e\u0433\u043e\u043b\u043e\u0448\u0435\u043d\u043d\u044f"}),(0,jo.jsx)("ul",{className:"carList",children:o?o.map((function(e){var t=e.address.split(","),n=t[1]?t[1].trim():"";return(0,jo.jsxs)("li",{className:"carItem",children:[(0,jo.jsx)("img",{className:"imgCar",src:e.img,alt:"Car view"}),(0,jo.jsxs)("h3",{className:"blackTitle ",children:[e.make," ",e.model," ",e.year]}),(0,jo.jsxs)("ul",{className:"carDescrList",children:[(0,jo.jsx)("li",{children:(0,jo.jsx)("p",{className:"carDescrPrice",children:e.rentalPrice})}),(0,jo.jsx)("li",{className:"cityRight",children:(0,jo.jsx)("p",{className:"carDescrCity",children:n})})]}),(0,jo.jsx)("button",{className:"svg",type:"button",children:Id})]},e.id)})):null})]}),(0,jo.jsxs)("div",{className:"paginDiv",children:[(0,jo.jsx)("button",{className:"pagination-button-arrow ",onClick:function(){r>1&&i(r-1)},disabled:1===r,children:km}),s.map((function(e){return(0,jo.jsx)("button",{className:"pagination-button ".concat(r===e?"active":""),onClick:function(){return i(e)},children:e},e)})),(0,jo.jsx)("button",{className:"pagination-button-arrow",onClick:function(){i(r+1)},disabled:6===r,children:Sm})]})]})},Om=function(){return(0,jo.jsxs)(Zl,{children:[(0,jo.jsx)(as,{}),(0,jo.jsx)(Nd,{}),(0,jo.jsx)(Cm,{}),(0,jo.jsx)(Em,{})]})},_m=function(e){return function(e){return!!e&&"object"===typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===Tm}(e)}(e)};var Tm="function"===typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function Am(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Nm((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function Pm(e,t,n){return e.concat(t).map((function(e){return Am(e,n)}))}function Nm(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||Pm,n.isMergeableObject=n.isMergeableObject||_m;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):function(e,t,n){var r={};return n.isMergeableObject(e)&&Object.keys(e).forEach((function(t){r[t]=Am(e[t],n)})),Object.keys(t).forEach((function(i){n.isMergeableObject(t[i])&&e[i]?r[i]=Nm(e[i],t[i],n):r[i]=Am(t[i],n)})),r}(e,t,n):Am(t,n)}Nm.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return Nm(e,n,t)}),{})};var Rm=Nm,Dm="object"==typeof global&&global&&global.Object===Object&&global,Lm="object"==typeof self&&self&&self.Object===Object&&self,Fm=Dm||Lm||Function("return this")(),Im=Fm.Symbol,Mm=Object.prototype,zm=Mm.hasOwnProperty,Bm=Mm.toString,Vm=Im?Im.toStringTag:void 0;var Um=function(e){var t=zm.call(e,Vm),n=e[Vm];try{e[Vm]=void 0;var r=!0}catch(o){}var i=Bm.call(e);return r&&(t?e[Vm]=n:delete e[Vm]),i},Hm=Object.prototype.toString;var Wm=function(e){return Hm.call(e)},$m=Im?Im.toStringTag:void 0;var Km=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":$m&&$m in Object(e)?Um(e):Wm(e)};var Gm=function(e,t){return function(n){return e(t(n))}},qm=Gm(Object.getPrototypeOf,Object);var Zm=function(e){return null!=e&&"object"==typeof e},Ym=Function.prototype,Qm=Object.prototype,Xm=Ym.toString,Jm=Qm.hasOwnProperty,eg=Xm.call(Object);var tg=function(e){if(!Zm(e)||"[object Object]"!=Km(e))return!1;var t=qm(e);if(null===t)return!0;var n=Jm.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Xm.call(n)==eg},ng=n(77),rg=n.n(ng);var ig=function(e,t){};var og=function(){this.__data__=[],this.size=0};var ag=function(e,t){return e===t||e!==e&&t!==t};var lg=function(e,t){for(var n=e.length;n--;)if(ag(e[n][0],t))return n;return-1},sg=Array.prototype.splice;var ug=function(e){var t=this.__data__,n=lg(t,e);return!(n<0)&&(n==t.length-1?t.pop():sg.call(t,n,1),--this.size,!0)};var cg=function(e){var t=this.__data__,n=lg(t,e);return n<0?void 0:t[n][1]};var fg=function(e){return lg(this.__data__,e)>-1};var dg=function(e,t){var n=this.__data__,r=lg(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function pg(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=9007199254740991},Ey={};Ey["[object Float32Array]"]=Ey["[object Float64Array]"]=Ey["[object Int8Array]"]=Ey["[object Int16Array]"]=Ey["[object Int32Array]"]=Ey["[object Uint8Array]"]=Ey["[object Uint8ClampedArray]"]=Ey["[object Uint16Array]"]=Ey["[object Uint32Array]"]=!0,Ey["[object Arguments]"]=Ey["[object Array]"]=Ey["[object ArrayBuffer]"]=Ey["[object Boolean]"]=Ey["[object DataView]"]=Ey["[object Date]"]=Ey["[object Error]"]=Ey["[object Function]"]=Ey["[object Map]"]=Ey["[object Number]"]=Ey["[object Object]"]=Ey["[object RegExp]"]=Ey["[object Set]"]=Ey["[object String]"]=Ey["[object WeakMap]"]=!1;var Oy=function(e){return Zm(e)&&ky(e.length)&&!!Ey[Km(e)]};var _y=function(e){return function(t){return e(t)}},Ty="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ay=Ty&&"object"==typeof module&&module&&!module.nodeType&&module,Py=Ay&&Ay.exports===Ty&&Dm.process,Ny=function(){try{var e=Ay&&Ay.require&&Ay.require("util").types;return e||Py&&Py.binding&&Py.binding("util")}catch(t){}}(),Ry=Ny&&Ny.isTypedArray,Dy=Ry?_y(Ry):Oy,Ly=Object.prototype.hasOwnProperty;var Fy=function(e,t){var n=gy(e),r=!n&&my(e),i=!n&&!r&&Cy(e),o=!n&&!r&&!i&&Dy(e),a=n||r||i||o,l=a?cy(e.length,String):[],s=l.length;for(var u in e)!t&&!Ly.call(e,u)||a&&("length"==u||i&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Sy(u,s))||l.push(u);return l},Iy=Object.prototype;var My=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Iy)},zy=Gm(Object.keys,Object),By=Object.prototype.hasOwnProperty;var Vy=function(e){if(!My(e))return zy(e);var t=[];for(var n in Object(e))By.call(e,n)&&"constructor"!=n&&t.push(n);return t};var Uy=function(e){return null!=e&&ky(e.length)&&!xg(e)};var Hy=function(e){return Uy(e)?Fy(e):Vy(e)};var Wy=function(e,t){return e&&uy(t,Hy(t),e)};var $y=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t},Ky=Object.prototype.hasOwnProperty;var Gy=function(e){if(!bg(e))return $y(e);var t=My(e),n=[];for(var r in e)("constructor"!=r||!t&&Ky.call(e,r))&&n.push(r);return n};var qy=function(e){return Uy(e)?Fy(e,!0):Gy(e)};var Zy=function(e,t){return e&&uy(t,qy(t),e)},Yy="object"==typeof exports&&exports&&!exports.nodeType&&exports,Qy=Yy&&"object"==typeof module&&module&&!module.nodeType&&module,Xy=Qy&&Qy.exports===Yy?Fm.Buffer:void 0,Jy=Xy?Xy.allocUnsafe:void 0;var eb=function(e,t){if(t)return e.slice();var n=e.length,r=Jy?Jy(n):new e.constructor(n);return e.copy(r),r};var tb=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n=0||(i[n]=e[n]);return i}function kx(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var Ex=(0,e.createContext)(void 0);Ex.displayName="FormikContext";var Ox=Ex.Provider,_x=Ex.Consumer;function Tx(){var t=(0,e.useContext)(Ex);return t||ig(!1),t}var Ax=function(e){return Array.isArray(e)&&0===e.length},Px=function(e){return"function"===typeof e},Nx=function(e){return null!==e&&"object"===typeof e},Rx=function(e){return String(Math.floor(Number(e)))===e},Dx=function(e){return"[object String]"===Object.prototype.toString.call(e)},Lx=function(t){return 0===e.Children.count(t)},Fx=function(e){return Nx(e)&&Px(e.then)};function Ix(e,t,n,r){void 0===r&&(r=0);for(var i=xx(t);e&&r=0?[]:{}}}return(0===o?e:i)[a[o]]===n?e:(void 0===n?delete i[a[o]]:i[a[o]]=n,0===o&&void 0===n&&delete r[a[o]],r)}function zx(e,t,n,r){void 0===n&&(n=new WeakMap),void 0===r&&(r={});for(var i=0,o=Object.keys(e);i=n.length)break;o=n[i++]}else{if((i=n.next()).done)break;o=i.value}var a=o;Ix(t,a.path)||(t=Mx(t,a.path,a.message))}}return t}(n)):t(n)}))}))}),[p.validationSchema]),E=(0,e.useCallback)((function(e,t){return new Promise((function(n){return n(b.current[e].validate(t))}))}),[]),O=(0,e.useCallback)((function(e){var t=Object.keys(b.current).filter((function(e){return Px(b.current[e].validate)})),n=t.length>0?t.map((function(t){return E(t,Ix(e,t))})):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(n).then((function(e){return e.reduce((function(e,n,r){return"DO_NOT_DELETE_YOU_WILL_BE_FIRED"===n||n&&(e=Mx(e,t[r],n)),e}),{})}))}),[E]),_=(0,e.useCallback)((function(e){return Promise.all([O(e),p.validationSchema?k(e):{},p.validate?S(e):{}]).then((function(e){var t=e[0],n=e[1],r=e[2];return Rm.all([t,n,r],{arrayMerge:$x})}))}),[p.validate,p.validationSchema,O,S,k]),T=Gx((function(e){return void 0===e&&(e=C.values),j({type:"SET_ISVALIDATING",payload:!0}),_(e).then((function(e){return y.current&&(j({type:"SET_ISVALIDATING",payload:!1}),j({type:"SET_ERRORS",payload:e})),e}))}));(0,e.useEffect)((function(){l&&!0===y.current&&rg()(h.current,p.initialValues)&&T(h.current)}),[l,T]);var A=(0,e.useCallback)((function(e){var t=e&&e.values?e.values:h.current,n=e&&e.errors?e.errors:v.current?v.current:p.initialErrors||{},r=e&&e.touched?e.touched:m.current?m.current:p.initialTouched||{},i=e&&e.status?e.status:g.current?g.current:p.initialStatus;h.current=t,v.current=n,m.current=r,g.current=i;var o=function(){j({type:"RESET_FORM",payload:{isSubmitting:!!e&&!!e.isSubmitting,errors:n,touched:r,status:i,values:t,isValidating:!!e&&!!e.isValidating,submitCount:e&&e.submitCount&&"number"===typeof e.submitCount?e.submitCount:0}})};if(p.onReset){var a=p.onReset(C.values,Z);Fx(a)?a.then(o):o()}else o()}),[p.initialErrors,p.initialStatus,p.initialTouched,p.onReset]);(0,e.useEffect)((function(){!0!==y.current||rg()(h.current,p.initialValues)||c&&(h.current=p.initialValues,A(),l&&T(h.current))}),[c,p.initialValues,A,l,T]),(0,e.useEffect)((function(){c&&!0===y.current&&!rg()(v.current,p.initialErrors)&&(v.current=p.initialErrors||Bx,j({type:"SET_ERRORS",payload:p.initialErrors||Bx}))}),[c,p.initialErrors]),(0,e.useEffect)((function(){c&&!0===y.current&&!rg()(m.current,p.initialTouched)&&(m.current=p.initialTouched||Vx,j({type:"SET_TOUCHED",payload:p.initialTouched||Vx}))}),[c,p.initialTouched]),(0,e.useEffect)((function(){c&&!0===y.current&&!rg()(g.current,p.initialStatus)&&(g.current=p.initialStatus,j({type:"SET_STATUS",payload:p.initialStatus}))}),[c,p.initialStatus,p.initialTouched]);var P=Gx((function(e){if(b.current[e]&&Px(b.current[e].validate)){var t=Ix(C.values,e),n=b.current[e].validate(t);return Fx(n)?(j({type:"SET_ISVALIDATING",payload:!0}),n.then((function(e){return e})).then((function(t){j({type:"SET_FIELD_ERROR",payload:{field:e,value:t}}),j({type:"SET_ISVALIDATING",payload:!1})}))):(j({type:"SET_FIELD_ERROR",payload:{field:e,value:n}}),Promise.resolve(n))}return p.validationSchema?(j({type:"SET_ISVALIDATING",payload:!0}),k(C.values,e).then((function(e){return e})).then((function(t){j({type:"SET_FIELD_ERROR",payload:{field:e,value:Ix(t,e)}}),j({type:"SET_ISVALIDATING",payload:!1})}))):Promise.resolve()})),N=(0,e.useCallback)((function(e,t){var n=t.validate;b.current[e]={validate:n}}),[]),R=(0,e.useCallback)((function(e){delete b.current[e]}),[]),D=Gx((function(e,t){return j({type:"SET_TOUCHED",payload:e}),(void 0===t?o:t)?T(C.values):Promise.resolve()})),L=(0,e.useCallback)((function(e){j({type:"SET_ERRORS",payload:e})}),[]),F=Gx((function(e,t){var n=Px(e)?e(C.values):e;return j({type:"SET_VALUES",payload:n}),(void 0===t?r:t)?T(n):Promise.resolve()})),I=(0,e.useCallback)((function(e,t){j({type:"SET_FIELD_ERROR",payload:{field:e,value:t}})}),[]),M=Gx((function(e,t,n){return j({type:"SET_FIELD_VALUE",payload:{field:e,value:t}}),(void 0===n?r:n)?T(Mx(C.values,e,t)):Promise.resolve()})),z=(0,e.useCallback)((function(e,t){var n,r=t,i=e;if(!Dx(e)){e.persist&&e.persist();var o=e.target?e.target:e.currentTarget,a=o.type,l=o.name,s=o.id,u=o.value,c=o.checked,f=(o.outerHTML,o.options),d=o.multiple;r=t||(l||s),i=/number|range/.test(a)?(n=parseFloat(u),isNaN(n)?"":n):/checkbox/.test(a)?function(e,t,n){if("boolean"===typeof e)return Boolean(t);var r=[],i=!1,o=-1;if(Array.isArray(e))r=e,i=(o=e.indexOf(n))>=0;else if(!n||"true"==n||"false"==n)return Boolean(t);if(t&&n&&!i)return r.concat(n);if(!i)return r;return r.slice(0,o).concat(r.slice(o+1))}(Ix(C.values,r),c,u):f&&d?function(e){return Array.from(e).filter((function(e){return e.selected})).map((function(e){return e.value}))}(f):u}r&&M(r,i)}),[M,C.values]),B=Gx((function(e){if(Dx(e))return function(t){return z(t,e)};z(e)})),V=Gx((function(e,t,n){return void 0===t&&(t=!0),j({type:"SET_FIELD_TOUCHED",payload:{field:e,value:t}}),(void 0===n?o:n)?T(C.values):Promise.resolve()})),U=(0,e.useCallback)((function(e,t){e.persist&&e.persist();var n=e.target,r=n.name,i=n.id,o=(n.outerHTML,t||(r||i));V(o,!0)}),[V]),H=Gx((function(e){if(Dx(e))return function(t){return U(t,e)};U(e)})),W=(0,e.useCallback)((function(e){Px(e)?j({type:"SET_FORMIK_STATE",payload:e}):j({type:"SET_FORMIK_STATE",payload:function(){return e}})}),[]),$=(0,e.useCallback)((function(e){j({type:"SET_STATUS",payload:e})}),[]),K=(0,e.useCallback)((function(e){j({type:"SET_ISSUBMITTING",payload:e})}),[]),G=Gx((function(){return j({type:"SUBMIT_ATTEMPT"}),T().then((function(e){var t=e instanceof Error;if(!t&&0===Object.keys(e).length){var n;try{if(void 0===(n=Y()))return}catch(r){throw r}return Promise.resolve(n).then((function(e){return y.current&&j({type:"SUBMIT_SUCCESS"}),e})).catch((function(e){if(y.current)throw j({type:"SUBMIT_FAILURE"}),e}))}if(y.current&&(j({type:"SUBMIT_FAILURE"}),t))throw e}))})),q=Gx((function(e){e&&e.preventDefault&&Px(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&Px(e.stopPropagation)&&e.stopPropagation(),G().catch((function(e){console.warn("Warning: An unhandled error was caught from submitForm()",e)}))})),Z={resetForm:A,validateForm:T,validateField:P,setErrors:L,setFieldError:I,setFieldTouched:V,setFieldValue:M,setStatus:$,setSubmitting:K,setTouched:D,setValues:F,setFormikState:W,submitForm:G},Y=Gx((function(){return f(C.values,Z)})),Q=Gx((function(e){e&&e.preventDefault&&Px(e.preventDefault)&&e.preventDefault(),e&&e.stopPropagation&&Px(e.stopPropagation)&&e.stopPropagation(),A()})),X=(0,e.useCallback)((function(e){return{value:Ix(C.values,e),error:Ix(C.errors,e),touched:!!Ix(C.touched,e),initialValue:Ix(h.current,e),initialTouched:!!Ix(m.current,e),initialError:Ix(v.current,e)}}),[C.errors,C.touched,C.values]),J=(0,e.useCallback)((function(e){return{setValue:function(t,n){return M(e,t,n)},setTouched:function(t,n){return V(e,t,n)},setError:function(t){return I(e,t)}}}),[M,V,I]),ee=(0,e.useCallback)((function(e){var t=Nx(e),n=t?e.name:e,r=Ix(C.values,n),i={name:n,value:r,onChange:B,onBlur:H};if(t){var o=e.type,a=e.value,l=e.as,s=e.multiple;"checkbox"===o?void 0===a?i.checked=!!r:(i.checked=!(!Array.isArray(r)||!~r.indexOf(a)),i.value=a):"radio"===o?(i.checked=r===a,i.value=a):"select"===l&&s&&(i.value=i.value||[],i.multiple=!0)}return i}),[H,B,C.values]),te=(0,e.useMemo)((function(){return!rg()(h.current,C.values)}),[h.current,C.values]),ne=(0,e.useMemo)((function(){return"undefined"!==typeof s?te?C.errors&&0===Object.keys(C.errors).length:!1!==s&&Px(s)?s(p):s:C.errors&&0===Object.keys(C.errors).length}),[s,te,C.errors,p]);return Cx({},C,{initialValues:h.current,initialErrors:v.current,initialTouched:m.current,initialStatus:g.current,handleBlur:H,handleChange:B,handleReset:Q,handleSubmit:q,resetForm:A,setErrors:L,setFormikState:W,setFieldTouched:V,setFieldValue:M,setFieldError:I,setStatus:$,setSubmitting:K,setTouched:D,setValues:F,submitForm:G,validateForm:T,validateField:P,isValid:ne,dirty:te,unregisterField:R,registerField:N,getFieldProps:ee,getFieldMeta:X,getFieldHelpers:J,validateOnBlur:o,validateOnChange:r,validateOnMount:l})}function Hx(t){var n=Ux(t),r=t.component,i=t.children,o=t.render,a=t.innerRef;return(0,e.useImperativeHandle)(a,(function(){return n})),(0,e.createElement)(Ox,{value:n},r?(0,e.createElement)(r,n):o?o(n):i?Px(i)?i(n):Lx(i)?null:e.Children.only(i):null)}function Wx(e){var t=Array.isArray(e)?[]:{};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=String(n);!0===Array.isArray(e[r])?t[r]=e[r].map((function(e){return!0===Array.isArray(e)||tg(e)?Wx(e):""!==e?e:void 0})):tg(e[r])?t[r]=Wx(e[r]):t[r]=""!==e[r]?e[r]:void 0}return t}function $x(e,t,n){var r=e.slice();return t.forEach((function(t,i){if("undefined"===typeof r[i]){var o=!1!==n.clone&&n.isMergeableObject(t);r[i]=o?Rm(Array.isArray(t)?[]:{},t,n):t}else n.isMergeableObject(t)?r[i]=Rm(e[i],t,n):-1===e.indexOf(t)&&r.push(t)})),r}var Kx="undefined"!==typeof window&&"undefined"!==typeof window.document&&"undefined"!==typeof window.document.createElement?e.useLayoutEffect:e.useEffect;function Gx(t){var n=(0,e.useRef)(t);return Kx((function(){n.current=t})),(0,e.useCallback)((function(){for(var e=arguments.length,t=new Array(e),r=0;re?t:e}),0);return Array.from(Cx({},e,{length:t+1}))}return[]},Jx=function(e,t){var n="function"===typeof e?e:t;return function(e){if(Array.isArray(e)||Nx(e)){var t=Xx(e);return n(t)}return e}},ew=function(t){function n(e){var n;return(n=t.call(this,e)||this).updateArrayField=function(e,t,r){var i=n.props,o=i.name;(0,i.formik.setFormikState)((function(n){var i=Jx(r,e),a=Jx(t,e),l=Mx(n.values,o,e(Ix(n.values,o))),s=r?i(Ix(n.errors,o)):void 0,u=t?a(Ix(n.touched,o)):void 0;return Ax(s)&&(s=void 0),Ax(u)&&(u=void 0),Cx({},n,{values:l,errors:r?Mx(n.errors,o,s):n.errors,touched:t?Mx(n.touched,o,u):n.touched})}))},n.push=function(e){return n.updateArrayField((function(t){return[].concat(Xx(t),[wx(e)])}),!1,!1)},n.handlePush=function(e){return function(){return n.push(e)}},n.swap=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=Xx(e),i=r[t];return r[t]=r[n],r[n]=i,r}(n,e,t)}),!0,!0)},n.handleSwap=function(e,t){return function(){return n.swap(e,t)}},n.move=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=Xx(e),i=r[t];return r.splice(t,1),r.splice(n,0,i),r}(n,e,t)}),!0,!0)},n.handleMove=function(e,t){return function(){return n.move(e,t)}},n.insert=function(e,t){return n.updateArrayField((function(n){return Qx(n,e,t)}),(function(t){return Qx(t,e,null)}),(function(t){return Qx(t,e,null)}))},n.handleInsert=function(e,t){return function(){return n.insert(e,t)}},n.replace=function(e,t){return n.updateArrayField((function(n){return function(e,t,n){var r=Xx(e);return r[t]=n,r}(n,e,t)}),!1,!1)},n.handleReplace=function(e,t){return function(){return n.replace(e,t)}},n.unshift=function(e){var t=-1;return n.updateArrayField((function(n){var r=n?[e].concat(n):[e];return t=r.length,r}),(function(e){return e?[null].concat(e):[null]}),(function(e){return e?[null].concat(e):[null]})),t},n.handleUnshift=function(e){return function(){return n.unshift(e)}},n.handleRemove=function(e){return function(){return n.remove(e)}},n.handlePop=function(){return function(){return n.pop()}},n.remove=n.remove.bind(kx(n)),n.pop=n.pop.bind(kx(n)),n}jx(n,t);var r=n.prototype;return r.componentDidUpdate=function(e){this.props.validateOnChange&&this.props.formik.validateOnChange&&!rg()(Ix(e.formik.values,e.name),Ix(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},r.remove=function(e){var t;return this.updateArrayField((function(n){var r=n?Xx(n):[];return t||(t=r[e]),Px(r.splice)&&r.splice(e,1),Px(r.every)&&r.every((function(e){return void 0===e}))?[]:r}),!0,!0),t},r.pop=function(){var e;return this.updateArrayField((function(t){var n=t.slice();return e||(e=n&&n.pop&&n.pop()),n}),!0,!0),e},r.render=function(){var t={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},n=this.props,r=n.component,i=n.render,o=n.children,a=n.name,l=Cx({},t,{form:Sx(n.formik,["validate","validationSchema"]),name:a});return r?(0,e.createElement)(r,l):i?i(l):o?"function"===typeof o?o(l):Lx(o)?null:e.Children.only(o):null},n}(e.Component);ew.defaultProps={validateOnChange:!0};var tw=function(t){function n(){return t.apply(this,arguments)||this}jx(n,t);var r=n.prototype;return r.shouldComponentUpdate=function(e){return Ix(this.props.formik.errors,this.props.name)!==Ix(e.formik.errors,this.props.name)||Ix(this.props.formik.touched,this.props.name)!==Ix(e.formik.touched,this.props.name)||Object.keys(this.props).length!==Object.keys(e).length},r.render=function(){var t=this.props,n=t.component,r=t.formik,i=t.render,o=t.children,a=t.name,l=Sx(t,["component","formik","render","children","name"]),s=Ix(r.touched,a),u=Ix(r.errors,a);return s&&u?i?Px(i)?i(u):null:o?Px(o)?o(u):null:n?(0,e.createElement)(n,l,u):u:null},n}(e.Component),nw=Yx(tw),rw=(e.Component,gm.create({baseURL:"https://185.69.153.118:8443/"})),iw=function(e){rw.defaults.headers.Authorization="Bearer ".concat(e)},ow=kh("auth/register",function(){var e=zd(O().mark((function e(t,n){var r,i;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.rejectWithValue,e.prev=1,e.next=4,rw.post("api/auth/signup",t);case 4:return i=e.sent,console.log("Welcome!!!"),e.abrupt("return",i.data);case 9:return e.prev=9,e.t0=e.catch(1),console.log("This email is already in use"),e.abrupt("return",r(e.t0.message));case 13:case"end":return e.stop()}}),e,null,[[1,9]])})));return function(t,n){return e.apply(this,arguments)}}()),aw=kh("auth/login",function(){var e=zd(O().mark((function e(t,n){var r,i;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.rejectWithValue,e.prev=1,e.next=4,rw.post("api/auth/login",t);case 4:return i=e.sent,iw(i.data.data.jwtAccessToken),console.log(i),console.log("Welcome back!!!"),e.abrupt("return",i.data);case 11:return e.prev=11,e.t0=e.catch(1),console.log("Login failed. Try again"),e.abrupt("return",r(e.t0.message));case 15:case"end":return e.stop()}}),e,null,[[1,11]])})));return function(t,n){return e.apply(this,arguments)}}()),lw=kh("auth/logout",function(){var e=zd(O().mark((function e(t,n){var r;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.rejectWithValue,e.prev=1,rw.defaults.headers.Authorization="",e.abrupt("return",!0);case 6:return e.prev=6,e.t0=e.catch(1),e.abrupt("return",r(e.t0.message));case 9:case"end":return e.stop()}}),e,null,[[1,6]])})));return function(t,n){return e.apply(this,arguments)}}()),sw={cm:!0,mm:!0,in:!0,px:!0,pt:!0,pc:!0,em:!0,ex:!0,ch:!0,rem:!0,vw:!0,vh:!0,vmin:!0,vmax:!0,"%":!0};function uw(e){var t=function(e){if("number"===typeof e)return{value:e,unit:"px"};var t,n=(e.match(/^[0-9.]*/)||"").toString();t=n.includes(".")?parseFloat(n):parseInt(n,10);var r=(e.match(/[^0-9]*$/)||"").toString();return sw[r]?{value:t,unit:r}:(console.warn("React Spinners: ".concat(e," is not a valid css value. Defaulting to ").concat(t,"px.")),{value:t,unit:"px"})}(e);return"".concat(t.value).concat(t.unit)}var cw=function(){return cw=Object.assign||function(e){for(var t,n=1,r=arguments.length;n1&&void 0!==arguments[1]&&arguments[1];if(null==e||!0===e||!1===e)return""+e;var n=typeof e;if("number"===n)return Ew(e);if("string"===n)return t?'"'.concat(e,'"'):e;if("function"===n)return"[Function "+(e.name||"anonymous")+"]";if("symbol"===n)return Sw.call(e).replace(kw,"Symbol($1)");var r=ww.call(e).slice(8,-1);return"Date"===r?isNaN(e.getTime())?""+e:e.toISOString(e):"Error"===r||e instanceof Error?"["+Cw.call(e)+"]":"RegExp"===r?jw.call(e):null}function _w(e,t){var n=Ow(e,t);return null!==n?n:JSON.stringify(e,(function(e,n){var r=Ow(this[e],t);return null!==r?r:n}),2)}function Tw(e){return null==e?[]:[].concat(e)}var Aw=/\$\{\s*(\w+)\s*\}/g;mw=Symbol.toStringTag;var Pw=function(e){d(n,e);var t=y(n);function n(e,r,i,o,a){var u;return s(this,n),(u=t.call(this)).value=void 0,u.path=void 0,u.type=void 0,u.errors=void 0,u.params=void 0,u.inner=void 0,u[mw]="Error",u.name="ValidationError",u.value=r,u.path=i,u.type=o,u.errors=[],u.inner=[],Tw(e).forEach((function(e){if(n.isError(e)){var t,r;(t=u.errors).push.apply(t,l(e.errors));var i=e.inner.length?e.inner:[e];(r=u.inner).push.apply(r,l(i))}else u.errors.push(e)})),u.message=u.errors.length>1?"".concat(u.errors.length," errors occurred"):u.errors[0],!a&&Error.captureStackTrace&&Error.captureStackTrace(m(u),n),u}return c(n,null,[{key:"formatError",value:function(e,t){var n=t.label||t.path||"this";return n!==t.path&&(t=Object.assign({},t,{path:n})),"string"===typeof e?e.replace(Aw,(function(e,n){return _w(t[n])})):"function"===typeof e?e(t):e}},{key:"isError",value:function(e){return e&&"ValidationError"===e.name}}]),n}(x(Error)),Nw={default:"${path} is invalid",required:"${path} is a required field",defined:"${path} must be defined",notNull:"${path} cannot be null",oneOf:"${path} must be one of the following values: ${values}",notOneOf:"${path} must not be one of the following values: ${values}",notType:function(e){var t=e.path,n=e.type,r=e.value,i=e.originalValue,o=null!=i&&i!==r?" (cast from the value `".concat(_w(i,!0),"`)."):".";return"mixed"!==n?"".concat(t," must be a `").concat(n,"` type, ")+"but the final value was: `".concat(_w(r,!0),"`")+o:"".concat(t," must match the configured type. ")+"The validated value was: `".concat(_w(r,!0),"`")+o}},Rw={length:"${path} must be exactly ${length} characters",min:"${path} must be at least ${min} characters",max:"${path} must be at most ${max} characters",matches:'${path} must match the following: "${regex}"',email:"${path} must be a valid email",url:"${path} must be a valid URL",uuid:"${path} must be a valid UUID",trim:"${path} must be a trimmed string",lowercase:"${path} must be a lowercase string",uppercase:"${path} must be a upper case string"},Dw={min:"${path} must be greater than or equal to ${min}",max:"${path} must be less than or equal to ${max}",lessThan:"${path} must be less than ${less}",moreThan:"${path} must be greater than ${more}",positive:"${path} must be a positive number",negative:"${path} must be a negative number",integer:"${path} must be an integer"},Lw={min:"${path} field must be later than ${min}",max:"${path} field must be at earlier than ${max}"},Fw={isValue:"${path} field must be ${value}"},Iw={noUnknown:"${path} field has unspecified keys: ${unknown}"},Mw={min:"${path} field must have at least ${min} items",max:"${path} field must have less than or equal to ${max} items",length:"${path} must have ${length} items"},zw={notType:function(e){var t=e.path,n=e.value,r=e.spec.types.length;if(Array.isArray(n)){if(n.lengthr)return"".concat(t," tuple value has too many items, expected a length of ").concat(r," but got ").concat(n.length," for value: `").concat(_w(n,!0),"`")}return Pw.formatError(Nw.notType,e)}},Bw=(Object.assign(Object.create(null),{mixed:Nw,string:Rw,number:Dw,date:Lw,object:Iw,array:Mw,boolean:Fw,tuple:zw}),function(e){return e&&e.__isYupSchema__}),Vw=function(){function e(t,n){s(this,e),this.fn=void 0,this.refs=t,this.refs=t,this.fn=n}return c(e,[{key:"resolve",value:function(e,t){var n=this.refs.map((function(e){return e.getValue(null==t?void 0:t.value,null==t?void 0:t.parent,null==t?void 0:t.context)})),r=this.fn(n,e,t);if(void 0===r||r===e)return e;if(!Bw(r))throw new TypeError("conditions must return a schema object");return r.resolve(t)}}],[{key:"fromOptions",value:function(t,n){if(!n.then&&!n.otherwise)throw new TypeError("either `then:` or `otherwise:` is required for `when()` conditions");var r=n.is,i=n.then,o=n.otherwise,a="function"===typeof r?r:function(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:{};if(s(this,e),this.key=void 0,this.isContext=void 0,this.isValue=void 0,this.isSibling=void 0,this.path=void 0,this.getter=void 0,this.map=void 0,"string"!==typeof t)throw new TypeError("ref must be a string, got: "+t);if(this.key=t.trim(),""===t)throw new TypeError("ref must be a non-empty string");this.isContext=this.key[0]===Uw,this.isValue=this.key[0]===Hw,this.isSibling=!this.isContext&&!this.isValue;var r=this.isContext?Uw:this.isValue?Hw:"";this.path=this.key.slice(r.length),this.getter=this.path&&(0,gw.getter)(this.path,!0),this.map=n.map}return c(e,[{key:"getValue",value:function(e,t,n){var r=this.isContext?n:this.isValue?e:t;return this.getter&&(r=this.getter(r||{})),this.map&&(r=this.map(r)),r}},{key:"cast",value:function(e,t){return this.getValue(e,null==t?void 0:t.parent,null==t?void 0:t.context)}},{key:"resolve",value:function(){return this}},{key:"describe",value:function(){return{type:"ref",key:this.key}}},{key:"toString",value:function(){return"Ref(".concat(this.key,")")}}],[{key:"isRef",value:function(e){return e&&e.__isYupRef}}]),e}();Ww.prototype.__isYupRef=!0;var $w=function(e){return null==e};function Kw(e){function t(t,n,r){var i=t.value,o=t.path,a=void 0===o?"":o,l=t.options,s=t.originalValue,u=t.schema,c=e.name,f=e.test,d=e.params,p=e.message,h=e.skipAbsent,v=l.parent,m=l.context,g=l.abortEarly,y=void 0===g?u.spec.abortEarly:g,b=l.disableStackTrace,x=void 0===b?u.spec.disableStackTrace:b;function w(e){return Ww.isRef(e)?e.getValue(i,v,m):e}function C(){for(var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=Object.assign({value:i,originalValue:s,label:u.spec.label,path:t.path||a,spec:u.spec},d,t.params),r=0,o=Object.keys(n);r3&&void 0!==arguments[3]?arguments[3]:n;return t?((0,gw.forEach)(t,(function(l,s,u){var c=s?l.slice(1,l.length-1):l,f="tuple"===(e=e.resolve({context:a,parent:r,value:n})).type,d=u?parseInt(c,10):0;if(e.innerType||f){if(f&&!u)throw new Error('Yup.reach cannot implicitly index into a tuple type. the path part "'.concat(o,'" must contain an index to the tuple element, e.g. "').concat(o,'[0]"'));if(n&&d>=n.length)throw new Error("Yup.reach cannot resolve an array item at index: ".concat(l,", in the path: ").concat(t,". ")+"because there is no value at that index. ");r=n,n=n&&n[d],e=f?e.spec.types[d]:e.innerType}if(!u){if(!e.fields||!e.fields[c])throw new Error("The schema does not contain the path: ".concat(t,". ")+"(failed at: ".concat(o,' which is a type: "').concat(e.type,'")'));r=n,n=n&&n[c],e=e.fields[c]}i=c,o=s?"["+l+"]":"."+l})),{schema:e,parent:r,parentPath:i}):{parent:r,parentPath:t,schema:e}}var qw=function(e){d(n,e);var t=y(n);function n(){return s(this,n),t.apply(this,arguments)}return c(n,[{key:"describe",value:function(){var e,t=[],n=S(this.values());try{for(n.s();!(e=n.n()).done;){var r=e.value;t.push(Ww.isRef(r)?r.describe():r)}}catch(i){n.e(i)}finally{n.f()}return t}},{key:"resolveAll",value:function(e){var t,n=[],r=S(this.values());try{for(r.s();!(t=r.n()).done;){var i=t.value;n.push(e(i))}}catch(o){r.e(o)}finally{r.f()}return n}},{key:"clone",value:function(){return new n(this.values())}},{key:"merge",value:function(e,t){var n=this.clone();return e.forEach((function(e){return n.add(e)})),t.forEach((function(e){return n.delete(e)})),n}}]),n}(x(Set));function Zw(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new Map;if(Bw(e)||!e||"object"!==typeof e)return e;if(n.has(e))return n.get(e);if(e instanceof Date)t=new Date(e.getTime()),n.set(e,t);else if(e instanceof RegExp)t=new RegExp(e),n.set(e,t);else if(Array.isArray(e)){t=new Array(e.length),n.set(e,t);for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:{},n=this.resolve(Object.assign({value:e},t)),r="ignore-optionality"===t.assert,i=n._cast(e,t);if(!1!==t.assert&&!n.isType(i)){if(r&&$w(i))return i;var o=_w(e),a=_w(i);throw new TypeError("The value of ".concat(t.path||"field"," could not be cast to a value ")+'that satisfies the schema type: "'.concat(n.type,'". \n\n')+"attempted value: ".concat(o," \n")+(a!==o?"result of cast: ".concat(a):""))}return i}},{key:"_cast",value:function(e,t){var n=this,r=void 0===e?e:this.transforms.reduce((function(t,r){return r.call(n,t,e,n)}),e);return void 0===r&&(r=this.getDefault(t)),r}},{key:"_validate",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=n.path,a=n.originalValue,l=void 0===a?e:a,s=n.strict,u=void 0===s?this.spec.strict:s,c=e;u||(c=this._cast(c,Object.assign({assert:!1},n)));for(var f=[],d=0,p=Object.values(this.internalTests);d0&&void 0!==arguments[0])||arguments[0];return this.clone({strict:e})}},{key:"nullability",value:function(e,t){var n=this.clone({nullable:e});return n.internalTests.nullable=Kw({message:t,name:"nullable",test:function(e){return null!==e||this.schema.spec.nullable}}),n}},{key:"optionality",value:function(e,t){var n=this.clone({optional:e});return n.internalTests.optionality=Kw({message:t,name:"optionality",test:function(e){return void 0!==e||this.schema.spec.optional}}),n}},{key:"optional",value:function(){return this.optionality(!0)}},{key:"defined",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Nw.defined;return this.optionality(!1,e)}},{key:"nullable",value:function(){return this.nullability(!0)}},{key:"nonNullable",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Nw.notNull;return this.nullability(!1,e)}},{key:"required",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Nw.required;return this.clone().withMutation((function(t){return t.nonNullable(e).defined(e)}))}},{key:"notRequired",value:function(){return this.clone().withMutation((function(e){return e.nullable().optional()}))}},{key:"transform",value:function(e){var t=this.clone();return t.transforms.push(e),t}},{key:"test",value:function(){var e;if(void 0===(e=1===arguments.length?"function"===typeof(arguments.length<=0?void 0:arguments[0])?{test:arguments.length<=0?void 0:arguments[0]}:arguments.length<=0?void 0:arguments[0]:2===arguments.length?{name:arguments.length<=0?void 0:arguments[0],test:arguments.length<=1?void 0:arguments[1]}:{name:arguments.length<=0?void 0:arguments[0],message:arguments.length<=1?void 0:arguments[1],test:arguments.length<=2?void 0:arguments[2]}).message&&(e.message=Nw.default),"function"!==typeof e.test)throw new TypeError("`test` is a required parameters");var t=this.clone(),n=Kw(e),r=e.exclusive||e.name&&!0===t.exclusiveTests[e.name];if(e.exclusive&&!e.name)throw new TypeError("Exclusive tests must provide a unique `name` identifying the test");return e.name&&(t.exclusiveTests[e.name]=!!e.exclusive),t.tests=t.tests.filter((function(t){if(t.OPTIONS.name===e.name){if(r)return!1;if(t.OPTIONS.test===n.OPTIONS.test)return!1}return!0})),t.tests.push(n),t}},{key:"when",value:function(e,t){Array.isArray(e)||"string"===typeof e||(t=e,e=".");var n=this.clone(),r=Tw(e).map((function(e){return new Ww(e)}));return r.forEach((function(e){e.isSibling&&n.deps.push(e.key)})),n.conditions.push("function"===typeof t?new Vw(r,t):Vw.fromOptions(r,t)),n}},{key:"typeError",value:function(e){var t=this.clone();return t.internalTests.typeError=Kw({message:e,name:"typeError",skipAbsent:!0,test:function(e){return!!this.schema._typeCheck(e)||this.createError({params:{type:this.schema.type}})}}),t}},{key:"oneOf",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Nw.oneOf,n=this.clone();return e.forEach((function(e){n._whitelist.add(e),n._blacklist.delete(e)})),n.internalTests.whiteList=Kw({message:t,name:"oneOf",skipAbsent:!0,test:function(e){var t=this.schema._whitelist,n=t.resolveAll(this.resolve);return!!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}},{key:"notOneOf",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Nw.notOneOf,n=this.clone();return e.forEach((function(e){n._blacklist.add(e),n._whitelist.delete(e)})),n.internalTests.blacklist=Kw({message:t,name:"notOneOf",test:function(e){var t=this.schema._blacklist,n=t.resolveAll(this.resolve);return!n.includes(e)||this.createError({params:{values:Array.from(t).join(", "),resolved:n}})}}),n}},{key:"strip",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=this.clone();return t.spec.strip=e,t}},{key:"describe",value:function(e){var t=(e?this.resolve(e):this).clone(),n=t.spec,r=n.label,i={meta:n.meta,label:r,optional:n.optional,nullable:n.nullable,default:t.getDefault(e),type:t.type,oneOf:t._whitelist.describe(),notOneOf:t._blacklist.describe(),tests:t.tests.map((function(e){return{name:e.OPTIONS.name,params:e.OPTIONS.params}})).filter((function(e,t,n){return n.findIndex((function(t){return t.name===e.name}))===t}))};return i}}]),e}();Yw.prototype.__isYupSchema__=!0;for(var Qw=function(){var e=Jw[Xw];Yw.prototype["".concat(e,"At")]=function(t,n){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=Gw(this,t,n,r.context),o=i.parent,a=i.parentPath,l=i.schema;return l[e](o&&o[a],Object.assign({},r,{parent:o,path:t}))}},Xw=0,Jw=["validate","validateSync"];Xw0&&void 0!==arguments[0]?arguments[0]:Fw.isValue;return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"true"},test:function(e){return $w(e)||!0===e}})}},{key:"isFalse",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Fw.isValue;return this.test({message:e,name:"is-value",exclusive:!0,params:{value:"false"},test:function(e){return $w(e)||!1===e}})}},{key:"default",value:function(e){return vw(p(n.prototype),"default",this).call(this,e)}},{key:"defined",value:function(e){return vw(p(n.prototype),"defined",this).call(this,e)}},{key:"optional",value:function(){return vw(p(n.prototype),"optional",this).call(this)}},{key:"required",value:function(e){return vw(p(n.prototype),"required",this).call(this,e)}},{key:"notRequired",value:function(){return vw(p(n.prototype),"notRequired",this).call(this)}},{key:"nullable",value:function(){return vw(p(n.prototype),"nullable",this).call(this)}},{key:"nonNullable",value:function(e){return vw(p(n.prototype),"nonNullable",this).call(this,e)}},{key:"strip",value:function(e){return vw(p(n.prototype),"strip",this).call(this,e)}}]),n}(Yw);sC.prototype=uC.prototype;var cC=/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,fC=/^((https?|ftp):)?\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i,dC=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,pC=function(e){return $w(e)||e===e.trim()},hC={}.toString();function vC(){return new mC}var mC=function(e){d(n,e);var t=y(n);function n(){var e;return s(this,n),(e=t.call(this,{type:"string",check:function(e){return e instanceof String&&(e=e.valueOf()),"string"===typeof e}})).withMutation((function(){e.transform((function(e,t,n){if(!n.spec.coerce||n.isType(e))return e;if(Array.isArray(e))return e;var r=null!=e&&e.toString?e.toString():e;return r===hC?e:r}))})),e}return c(n,[{key:"required",value:function(e){return vw(p(n.prototype),"required",this).call(this,e).withMutation((function(t){return t.test({message:e||Nw.required,name:"required",skipAbsent:!0,test:function(e){return!!e.length}})}))}},{key:"notRequired",value:function(){return vw(p(n.prototype),"notRequired",this).call(this).withMutation((function(e){return e.tests=e.tests.filter((function(e){return"required"!==e.OPTIONS.name})),e}))}},{key:"length",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rw.length;return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test:function(t){return t.length===this.resolve(e)}})}},{key:"min",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rw.min;return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test:function(t){return t.length>=this.resolve(e)}})}},{key:"max",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rw.max;return this.test({name:"max",exclusive:!0,message:t,params:{max:e},skipAbsent:!0,test:function(t){return t.length<=this.resolve(e)}})}},{key:"matches",value:function(e,t){var n,r,i=!1;if(t)if("object"===typeof t){var o=t.excludeEmptyString;i=void 0!==o&&o,n=t.message,r=t.name}else n=t;return this.test({name:r||"matches",message:n||Rw.matches,params:{regex:e},skipAbsent:!0,test:function(t){return""===t&&i||-1!==t.search(e)}})}},{key:"email",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Rw.email;return this.matches(cC,{name:"email",message:e,excludeEmptyString:!0})}},{key:"url",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Rw.url;return this.matches(fC,{name:"url",message:e,excludeEmptyString:!0})}},{key:"uuid",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Rw.uuid;return this.matches(dC,{name:"uuid",message:e,excludeEmptyString:!1})}},{key:"ensure",value:function(){return this.default("").transform((function(e){return null===e?"":e}))}},{key:"trim",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Rw.trim;return this.transform((function(e){return null!=e?e.trim():e})).test({message:e,name:"trim",test:pC})}},{key:"lowercase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Rw.lowercase;return this.transform((function(e){return $w(e)?e:e.toLowerCase()})).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:function(e){return $w(e)||e===e.toLowerCase()}})}},{key:"uppercase",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Rw.uppercase;return this.transform((function(e){return $w(e)?e:e.toUpperCase()})).test({message:e,name:"string_case",exclusive:!0,skipAbsent:!0,test:function(e){return $w(e)||e===e.toUpperCase()}})}}]),n}(Yw);vC.prototype=mC.prototype;var gC=function(e){d(n,e);var t=y(n);function n(){var e;return s(this,n),(e=t.call(this,{type:"number",check:function(e){return e instanceof Number&&(e=e.valueOf()),"number"===typeof e&&!function(e){return e!=+e}(e)}})).withMutation((function(){e.transform((function(e,t,n){if(!n.spec.coerce)return e;var r=e;if("string"===typeof r){if(""===(r=r.replace(/\s/g,"")))return NaN;r=+r}return n.isType(r)||null===r?r:parseFloat(r)}))})),e}return c(n,[{key:"min",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Dw.min;return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test:function(t){return t>=this.resolve(e)}})}},{key:"max",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Dw.max;return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test:function(t){return t<=this.resolve(e)}})}},{key:"lessThan",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Dw.lessThan;return this.test({message:t,name:"max",exclusive:!0,params:{less:e},skipAbsent:!0,test:function(t){return t1&&void 0!==arguments[1]?arguments[1]:Dw.moreThan;return this.test({message:t,name:"min",exclusive:!0,params:{more:e},skipAbsent:!0,test:function(t){return t>this.resolve(e)}})}},{key:"positive",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Dw.positive;return this.moreThan(0,e)}},{key:"negative",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Dw.negative;return this.lessThan(0,e)}},{key:"integer",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Dw.integer;return this.test({name:"integer",message:e,skipAbsent:!0,test:function(e){return Number.isInteger(e)}})}},{key:"truncate",value:function(){return this.transform((function(e){return $w(e)?e:0|e}))}},{key:"round",value:function(e){var t,n=["ceil","floor","round","trunc"];if("trunc"===(e=(null==(t=e)?void 0:t.toLowerCase())||"round"))return this.truncate();if(-1===n.indexOf(e.toLowerCase()))throw new TypeError("Only valid options for round() are: "+n.join(", "));return this.transform((function(t){return $w(t)?t:Math[e](t)}))}}]),n}(Yw);gC.prototype;var yC=/^(\d{4}|[+-]\d{6})(?:-?(\d{2})(?:-?(\d{2}))?)?(?:[ T]?(\d{2}):?(\d{2})(?::?(\d{2})(?:[,.](\d{1,}))?)?(?:(Z)|([+-])(\d{2})(?::?(\d{2}))?)?)?$/;function bC(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Number(e)||t}var xC=new Date("");function wC(){return new CC}var CC=function(e){d(n,e);var t=y(n);function n(){var e;return s(this,n),e=t.call(this,{type:"date",check:function(e){return t=e,"[object Date]"===Object.prototype.toString.call(t)&&!isNaN(e.getTime());var t}}),e.withMutation((function(){e.transform((function(e,t,r){return!r.spec.coerce||r.isType(e)||null===e?e:(e=function(e){var t=yC.exec(e);if(!t)return Date.parse?Date.parse(e):Number.NaN;var n={year:bC(t[1]),month:bC(t[2],1)-1,day:bC(t[3],1),hour:bC(t[4]),minute:bC(t[5]),second:bC(t[6]),millisecond:t[7]?bC(t[7].substring(0,3)):0,z:t[8]||void 0,plusMinus:t[9]||void 0,hourOffset:bC(t[10]),minuteOffset:bC(t[11])};if(void 0===n.z&&void 0===n.plusMinus)return new Date(n.year,n.month,n.day,n.hour,n.minute,n.second,n.millisecond).valueOf();var r=0;return"Z"!==n.z&&void 0!==n.plusMinus&&(r=60*n.hourOffset+n.minuteOffset,"+"===n.plusMinus&&(r=0-r)),Date.UTC(n.year,n.month,n.day,n.hour,n.minute+r,n.second,n.millisecond)}(e),isNaN(e)?n.INVALID_DATE:new Date(e))}))})),e}return c(n,[{key:"prepareParam",value:function(e,t){var n;if(Ww.isRef(e))n=e;else{var r=this.cast(e);if(!this._typeCheck(r))throw new TypeError("`".concat(t,"` must be a Date or a value that can be `cast()` to a Date"));n=r}return n}},{key:"min",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Lw.min,n=this.prepareParam(e,"min");return this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test:function(e){return e>=this.resolve(n)}})}},{key:"max",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Lw.max,n=this.prepareParam(e,"max");return this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test:function(e){return e<=this.resolve(n)}})}}]),n}(Yw);function jC(e,t){var n=1/0;return e.some((function(e,r){var i;if(null!=(i=t.path)&&i.includes(e))return n=r,!0})),n}function SC(e){return function(t,n){return jC(e,t)-jC(e,n)}}CC.INVALID_DATE=xC,wC.prototype=CC.prototype,wC.INVALID_DATE=xC;var kC=function(e,t,n){if("string"!==typeof e)return e;var r=e;try{r=JSON.parse(e)}catch(i){}return n.isType(r)?r:e};function EC(e){if("fields"in e){for(var t={},n=0,r=Object.entries(e.fields);n1&&void 0!==arguments[1]?arguments[1]:{},o=vw(p(n.prototype),"_cast",this).call(this,e,i);if(void 0===o)return this.getDefault(i);if(!this._typeCheck(o))return o;var a,l=this.fields,s=null!=(t=i.stripUnknown)?t:this.spec.noUnknown,u=[].concat(this._nodes,Object.keys(o).filter((function(e){return!r._nodes.includes(e)}))),c={},f=Object.assign({},i,{parent:c,__validating:i.__validating||!1}),d=!1,h=S(u);try{for(h.s();!(a=h.n()).done;){var v=a.value,m=l[v],g=v in o;if(m){var y=void 0,b=o[v];f.path=(i.path?"".concat(i.path,"."):"")+v;var x=(m=m.resolve({value:b,context:i.context,parent:c}))instanceof Yw?m.spec:void 0,w=null==x?void 0:x.strict;if(null!=x&&x.strip){d=d||v in o;continue}void 0!==(y=i.__validating&&w?o[v]:m.cast(o[v],f))&&(c[v]=y)}else g&&!s&&(c[v]=o[v]);g===v in c&&c[v]===o[v]||(d=!0)}}catch(C){h.e(C)}finally{h.f()}return d?c:o}},{key:"_validate",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,a=r.from,s=void 0===a?[]:a,u=r.originalValue,c=void 0===u?e:u,f=r.recursive,d=void 0===f?this.spec.recursive:f;r.from=[{schema:this,value:c}].concat(l(s)),r.__validating=!0,r.originalValue=c,vw(p(n.prototype),"_validate",this).call(this,e,r,i,(function(e,n){if(d&&OC(n)){c=c||n;var a,l=[],s=S(t._nodes);try{for(s.s();!(a=s.n()).done;){var u=a.value,f=t.fields[u];f&&!Ww.isRef(f)&&l.push(f.asNestedTest({options:r,key:u,parent:n,parentPath:r.path,originalParent:c}))}}catch(p){s.e(p)}finally{s.f()}t.runTests({tests:l,value:n,originalValue:c,options:r},i,(function(r){o(r.sort(t._sortErrors).concat(e),n)}))}else o(e,n)}))}},{key:"clone",value:function(e){var t=vw(p(n.prototype),"clone",this).call(this,e);return t.fields=Object.assign({},this.fields),t._nodes=this._nodes,t._excludedEdges=this._excludedEdges,t._sortErrors=this._sortErrors,t}},{key:"concat",value:function(e){for(var t=this,r=vw(p(n.prototype),"concat",this).call(this,e),i=r.fields,o=0,a=Object.entries(this.fields);o1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=new Set,i=new Set(t.map((function(e){var t=j(e,2),n=t[0],r=t[1];return"".concat(n,"-").concat(r)})));function o(e,t){var o=(0,gw.split)(e)[0];r.add(o),i.has("".concat(t,"-").concat(o))||n.push([t,o])}for(var a=function(){var t=s[l],n=e[t];r.add(t),Ww.isRef(n)&&n.isSibling?o(n.path,t):Bw(n)&&"deps"in n&&n.deps.forEach((function(e){return o(e,t)}))},l=0,s=Object.keys(e);l1&&void 0!==arguments[1]?arguments[1]:[];return this.clone().withMutation((function(n){var r=n._excludedEdges;return t.length&&(Array.isArray(t[0])||(t=[t]),r=[].concat(l(n._excludedEdges),l(t))),n.setFields(Object.assign(n.fields,e),r)}))}},{key:"partial",value:function(){for(var e={},t=0,n=Object.entries(this.fields);t0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Iw.noUnknown;"boolean"!==typeof e&&(t=e,e=!0);var n=this.test({name:"noUnknown",exclusive:!0,message:t,test:function(t){if(null==t)return!0;var n=_C(this.schema,t);return!e||0===n.length||this.createError({params:{unknown:n.join(", ")}})}});return n.spec.noUnknown=e,n}},{key:"unknown",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Iw.noUnknown;return this.noUnknown(!e,t)}},{key:"transformKeys",value:function(e){return this.transform((function(t){if(!t)return t;for(var n={},r=0,i=Object.keys(t);r1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0,l=this.innerType,s=null!=(t=i.recursive)?t:this.spec.recursive;null!=i.originalValue&&i.originalValue,vw(p(n.prototype),"_validate",this).call(this,e,i,o,(function(t,n){var u;if(s&&l&&r._typeCheck(n)){for(var c=new Array(n.length),f=0;f1&&void 0!==arguments[1]?arguments[1]:Mw.length;return this.test({message:t,name:"length",exclusive:!0,params:{length:e},skipAbsent:!0,test:function(t){return t.length===this.resolve(e)}})}},{key:"min",value:function(e,t){return t=t||Mw.min,this.test({message:t,name:"min",exclusive:!0,params:{min:e},skipAbsent:!0,test:function(t){return t.length>=this.resolve(e)}})}},{key:"max",value:function(e,t){return t=t||Mw.max,this.test({message:t,name:"max",exclusive:!0,params:{max:e},skipAbsent:!0,test:function(t){return t.length<=this.resolve(e)}})}},{key:"ensure",value:function(){var e=this;return this.default((function(){return[]})).transform((function(t,n){return e._typeCheck(t)?t:null==n?[]:[].concat(n)}))}},{key:"compact",value:function(e){var t=e?function(t,n,r){return!e(t,n,r)}:function(e){return!!e};return this.transform((function(e){return null!=e?e.filter(t):e}))}},{key:"describe",value:function(e){var t=(e?this.resolve(e):this).clone(),r=vw(p(n.prototype),"describe",this).call(this,e);if(t.innerType){var i,o=e;null!=(i=o)&&i.value&&(o=Object.assign({},o,{parent:o.value,value:o.value[0]})),r.innerType=t.innerType.describe(o)}return r}}]),n}(Yw);NC.prototype;var RC=function(e){d(n,e);var t=y(n);function n(e){var r;return s(this,n),r=t.call(this,{type:"tuple",spec:{types:e},check:function(e){var t=this.spec.types;return Array.isArray(e)&&e.length===t.length}}),r.withMutation((function(){r.typeError(zw.notType)})),r}return c(n,[{key:"_cast",value:function(e,t){var r=this.spec.types,i=vw(p(n.prototype),"_cast",this).call(this,e,t);if(!this._typeCheck(i))return i;var o=!1,a=r.map((function(e,n){var r=e.cast(i[n],Object.assign({},t,{path:"".concat(t.path||"","[").concat(n,"]")}));return r!==i[n]&&(o=!0),r}));return o?a:i}},{key:"_validate",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,a=this.spec.types;vw(p(n.prototype),"_validate",this).call(this,e,r,i,(function(n,l){var s;if(t._typeCheck(l)){var u,c=[],f=S(a.entries());try{for(f.s();!(u=f.n()).done;){var d,p=j(u.value,2),h=p[0],v=p[1];c[h]=v.asNestedTest({options:r,index:h,parent:l,parentPath:r.path,originalParent:null!=(d=r.originalValue)?d:e})}}catch(m){f.e(m)}finally{f.f()}t.runTests({value:l,tests:c,originalValue:null!=(s=r.originalValue)?s:e,options:r},i,(function(e){return o(e.concat(n),l)}))}else o(n,l)}))}},{key:"describe",value:function(e){var t=(e?this.resolve(e):this).clone(),r=vw(p(n.prototype),"describe",this).call(this,e);return r.innerType=t.spec.types.map((function(t,n){var r,i=e;return null!=(r=i)&&r.value&&(i=Object.assign({},i,{parent:i.value,value:i.value[n]})),t.describe(i)})),r}}]),n}(Yw);RC.prototype;var DC,LC,FC,IC,MC,zC,BC,VC,UC,HC;var WC,$C,KC,GC,qC,ZC,YC,QC,XC,JC,ej,tj,nj=xo(Zx)(DC||(DC=Fn(["\n display: flex;\n flex-direction: column;\n width: 454px;\n\n background-color: white;\n border-radius: 8px;\n margin-top: 24px;\n\n .remPassBtn {\n color: #0d0c0c;\n font-family: 'Roboto', sans-serif;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n background-color: transparent;\n border: 0;\n border-bottom: 1px solid #000;\n margin-bottom: 32px;\n width: 119px;\n }\n .marg24 {\n margin-bottom: 24px;\n }\n .marg8 {\n margin-bottom: 8px;\n }\n .errorMes {\n color: red;\n font-family: 'Roboto', sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n margin-bottom: 8px;\n }\n .errorSVG {\n position: absolute;\n right: 48px;\n top: 16px;\n }\n .errorSVGemail {\n position: absolute;\n right: 16px;\n top: 16px;\n }\n .loader {\n width: 454px;\n display: flex;\n justify-content: center;\n align-items: center;\n margin-top: 10px;\n margin-bottom: 10px;\n }\n"]))),rj=xo.label(LC||(LC=Fn(["\n &.is-valid {\n color: green;\n }\n\n &.is-invalid {\n color: red;\n }\n\n & p {\n margin: 0;\n padding: 0;\n margin-top: 8px;\n margin-left: 18px;\n color: green;\n }\n\n & .error-success {\n position: absolute;\n right: 16px;\n top: 50%;\n transform: translateY(-50%);\n }\n"]))),ij=xo(qx)(FC||(FC=Fn(["\n box-sizing: border-box;\n width: 100%;\n padding: 16px;\n height: 56px;\n outline: none;\n color: rgba(13, 12, 12, 0.5);\n font-family: 'Roboto', sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n border-radius: 8px;\n border: 1px solid rgba(13, 12, 12, 0.3);\n color: #141414;\n background: #fff;\n\n transition: var(--transition);\n\n &::placeholder {\n color: #ababab;\n font-family: 'Roboto', sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n }\n\n &:hover,\n &:focus {\n border: 1px solid black;\n }\n\n &.is-valid {\n border: 1px solid green;\n }\n\n &.is-invalid {\n border: 1px solid red;\n }\n"]))),oj=xo.div(IC||(IC=Fn(["\n position: relative;\n margin-top: 8px;\n transition: var(--transition);\n"]))),aj=xo.div(MC||(MC=Fn(["\n position: relative;\n margin-top: 8px;\n transition: var(--transition);\n \n"]))),lj=xo.button(zC||(zC=Fn(["\n display: flex;\n align-items: center;\n justify-content: center;\n color: #fff;\n\n text-align: center;\n font-family: 'Roboto', sans-serif;\n font-size: 22px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n width: 454px;\n height: 56px;\n padding: 14px 24px;\n gap: 4px;\n align-self: stretch;\n border-radius: 8px;\n border: 0;\n background: linear-gradient(144deg, #0040bd 19.1%, #19015b 78.89%);\n &:hover,\n &:focus {\n background: linear-gradient(144deg, #0040bd 19.34%, #195b01 80.66%);\n }\n"]))),sj=xo(nw)(BC||(BC=Fn(["\n margin-left: 0;\n margin-top: 8px;\n color: #fa6666;\n font-family: 'Roboto', sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n"]))),uj=xo.button(VC||(VC=Fn(["\nborder: 0;\nbackground-color: transparent;\n color: black;\n position: absolute;\n right: 16px;\n top: 16px;\n cursor: pointer;\n"]))),cj=(xo.div(UC||(UC=Fn(["\n display: flex;\n align-items: center;\n width: 454px;\n justify-content: space-between;\n .strange {\n background: rgba(13, 12, 12, 0.3);\n width: 164px;\n height: 1px;\n }\n .and {\n color: #0d0c0c;\n text-align: center;\n font-family: 'Roboto', sans-serif;\n font-size: 18px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n }\n"]))),xo.button(HC||(HC=Fn(["\n height: 56px;\n padding: 14px 24px;\n align-self: stretch;\n border-radius: 8px;\n border: 2px solid #0040bd;\n background-color: transparent;\n margin-top: 24px;\n .Gdiv {\n gap: 4px;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .Gtext {\n color: #0d0c0c;\n text-align: center;\n font-family: 'Roboto', sans-serif;\n font-size: 22px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n }\n"]))),function(){return(0,jo.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,jo.jsx)("path",{d:"M5 21C4.45 21 3.97917 20.8042 3.5875 20.4125C3.19583 20.0208 3 19.55 3 19V5C3 4.45 3.19583 3.97917 3.5875 3.5875C3.97917 3.19583 4.45 3 5 3H19C19.55 3 20.0208 3.19583 20.4125 3.5875C20.8042 3.97917 21 4.45 21 5V19C21 19.55 20.8042 20.0208 20.4125 20.4125C20.0208 20.8042 19.55 21 19 21H5ZM5 19H19V5H5V19Z",fill:"currentColor"})})}),fj=function(){return(0,jo.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,jo.jsx)("path",{d:"M19 3H5C4.46957 3 3.96086 3.21071 3.58579 3.58579C3.21071 3.96086 3 4.46957 3 5V19C3 19.5304 3.21071 20.0391 3.58579 20.4142C3.96086 20.7893 4.46957 21 5 21H19C19.5304 21 20.0391 20.7893 20.4142 20.4142C20.7893 20.0391 21 19.5304 21 19V5C21 4.46957 20.7893 3.96086 20.4142 3.58579C20.0391 3.21071 19.5304 3 19 3ZM19 5V19H5V5H19ZM10 17L6 13L7.41 11.58L10 14.17L16.59 7.58L18 9",fill:"currentColor"})})},dj=function(){return(0,jo.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,jo.jsx)("path",{d:"M12 17C12.2833 17 12.521 16.904 12.713 16.712C12.905 16.52 13.0007 16.2827 13 16C13 15.7167 12.904 15.479 12.712 15.287C12.52 15.095 12.2827 14.9993 12 15C11.7167 15 11.479 15.096 11.287 15.288C11.095 15.48 10.9993 15.7173 11 16C11 16.2833 11.096 16.521 11.288 16.713C11.48 16.905 11.7173 17.0007 12 17ZM11 13H13V7H11V13ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",fill:"#FA6666"})})},pj=function(){return(0,jo.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,jo.jsx)("path",{d:"M12 16C13.25 16 14.3125 15.5625 15.1875 14.6875C16.0625 13.8125 16.5 12.75 16.5 11.5C16.5 10.25 16.0625 9.1875 15.1875 8.3125C14.3125 7.4375 13.25 7 12 7C10.75 7 9.6875 7.4375 8.8125 8.3125C7.9375 9.1875 7.5 10.25 7.5 11.5C7.5 12.75 7.9375 13.8125 8.8125 14.6875C9.6875 15.5625 10.75 16 12 16ZM12 14.2C11.25 14.2 10.6125 13.9375 10.0875 13.4125C9.5625 12.8875 9.3 12.25 9.3 11.5C9.3 10.75 9.5625 10.1125 10.0875 9.5875C10.6125 9.0625 11.25 8.8 12 8.8C12.75 8.8 13.3875 9.0625 13.9125 9.5875C14.4375 10.1125 14.7 10.75 14.7 11.5C14.7 12.25 14.4375 12.8875 13.9125 13.4125C13.3875 13.9375 12.75 14.2 12 14.2ZM12 19C9.56667 19 7.35 18.3208 5.35 16.9625C3.35 15.6042 1.9 13.7833 1 11.5C1.9 9.21667 3.35 7.39583 5.35 6.0375C7.35 4.67917 9.56667 4 12 4C14.4333 4 16.65 4.67917 18.65 6.0375C20.65 7.39583 22.1 9.21667 23 11.5C22.1 13.7833 20.65 15.6042 18.65 16.9625C16.65 18.3208 14.4333 19 12 19ZM12 17C13.8833 17 15.6125 16.5042 17.1875 15.5125C18.7625 14.5208 19.9667 13.1833 20.8 11.5C19.9667 9.81667 18.7625 8.47917 17.1875 7.4875C15.6125 6.49583 13.8833 6 12 6C10.1167 6 8.3875 6.49583 6.8125 7.4875C5.2375 8.47917 4.03333 9.81667 3.2 11.5C4.03333 13.1833 5.2375 14.5208 6.8125 15.5125C8.3875 16.5042 10.1167 17 12 17Z",fill:"#B9B9B9"})})},hj=AC().shape({email:vC().test("is-valid-email","\u041d\u0435\u0432\u0456\u0440\u043d\u0438\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 Email \u0430\u0434\u0440\u0435\u0441\u0438.",(function(e){return e&&/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/.test(e)})).required("\u0412\u0432\u0435\u0434\u0456\u0442\u044c Email"),password:vC().matches(/^\S*$/,"\u041f\u0430\u0440\u043e\u043b\u044c \u043d\u0435 \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u043c\u0456\u0441\u0442\u0438\u0442\u0438 \u043f\u0440\u043e\u0431\u0456\u043b\u0438").required("\u0412\u0432\u0435\u0434\u0456\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c")}),vj=function(){var t=Yo(),n=j((0,e.useState)(!1),2),r=n[0],i=n[1],o=j((0,e.useState)(!1),2),a=o[0],l=o[1],s=Vo(Xo),u=Vo(Jo),c=function(){var e=zd(O().mark((function e(n,r){var i,o,a,l;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=r.resetForm,o=r.setSubmitting,a=n.email,l=n.password,e.prev=2,e.next=5,t(aw({email:a,password:l}));case 5:i(),o(!1),e.next=12;break;case 9:e.prev=9,e.t0=e.catch(2),console.error("Error submitting form:",e.t0);case 12:case"end":return e.stop()}}),e,null,[[2,9]])})));return function(t,n){return e.apply(this,arguments)}}(),f=function(){i(!r)};return(0,e.useEffect)((function(){s&&l(!0)}),[s]),(0,jo.jsx)(Hx,{initialValues:{email:"",password:""},validationSchema:hj,onSubmit:c,children:function(e){var t=e.values;e.isValid,e.errors,e.handleSubmit;return(0,jo.jsx)(jo.Fragment,{children:(0,jo.jsxs)(nj,{children:[(0,jo.jsxs)(rj,{className:" marg24",children:[(0,jo.jsxs)(aj,{children:[(0,jo.jsx)(ij,{className:a?"is-invalid":"",type:"email",name:"email",placeholder:"\u0415\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u0443 \u043f\u043e\u0448\u0442\u0443",value:t.email}),a?(0,jo.jsx)("span",{className:"errorSVGemail",children:(0,jo.jsx)(dj,{})}):null]}),(0,jo.jsx)(sj,{name:"email",component:"div"})]}),(0,jo.jsxs)(rj,{className:" marg8",children:[(0,jo.jsxs)(oj,{children:[(0,jo.jsx)(ij,{type:r?"text":"password",className:a?"is-invalid":"",name:"password",placeholder:"\u041f\u0430\u0440\u043e\u043b\u044c",value:t.password}),a?(0,jo.jsx)("span",{className:"errorSVG",children:(0,jo.jsx)(dj,{})}):null,(0,jo.jsx)(uj,{type:"button",onClick:f,children:(0,jo.jsx)(pj,{})})]}),(0,jo.jsx)(sj,{name:"password",component:"div"})]}),a?(0,jo.jsx)("p",{className:"errorMes",children:"\u041d\u0435\u0434\u0456\u0439\u0441\u043d\u0430 \u043f\u043e\u0448\u0442\u0430 \u0430\u0431\u043e \u043f\u0430\u0440\u043e\u043b\u044c"}):null,(0,jo.jsx)(da,{className:"remPassBtn",to:"/forgot-password",children:"\u0417\u0430\u0431\u0443\u043b\u0438 \u043f\u0430\u0440\u043e\u043b\u044c?"}),(0,jo.jsx)("div",{className:"loader",children:(0,jo.jsx)(pw,{color:"#0040bd",loading:u,size:10,"aria-label":"Loading Spinner","data-testid":"loader"})}),(0,jo.jsx)(lj,{type:"submit",children:"\u0423\u0432\u0456\u0439\u0442\u0438"})]})})}})},mj=xo(Zx)(WC||(WC=Fn(["\n display: flex;\n flex-direction: column;\n width: 454px;\n background-color: white;\n margin-top: 24px;\n .checkLab {\n margin-top: 30px;\n color: rgba(13, 12, 12, 0.7);\n font-family: 'Roboto', sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n width: 357px;\n display: flex;\n align-items: flex-start;\n gap: 8px;\n cursor: pointer;\n }\n .checked {\n color: green;\n fill: green;\n }\n .unchecked {\n color: red;\n fill: red;\n }\n .marg24 {\n margin-bottom: 24px;\n }\n .marg8 {\n margin-bottom: 8px;\n }\n .correct {\n font-family: 'Roboto', sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n margin-left: 0;\n }\n .errorSVGemail {\n position: absolute;\n right: 16px;\n top: 16px;\n }\n .errorSVGpass {\n position: absolute;\n right: 48px;\n top: 16px;\n }\n .loader {\n width: 454px;\n display: flex;\n justify-content: center;\n align-items: center;\n margin-top: 10px;\n }\n"]))),gj=xo.label($C||($C=Fn(["\n &.is-valid {\n color: green;\n }\n\n &.is-invalid {\n color: red;\n }\n\n & p {\n margin: 0;\n padding: 0;\n margin-top: 8px;\n margin-left: 18px;\n color: green;\n }\n\n & .error-success {\n position: absolute;\n right: 16px;\n top: 50%;\n transform: translateY(-50%);\n }\n"]))),yj=xo(qx)(KC||(KC=Fn(["\n box-sizing: border-box;\n width: 100%;\n height: 56px;\n padding: 16px;\n outline: none;\n color: rgba(13, 12, 12, 0.5);\n font-family: 'Roboto', sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n border-radius: 8px;\n border: 1px solid rgba(13, 12, 12, 0.3);\n color: #141414;\n background: #fff;\n\n transition: var(--transition);\n\n &::placeholder {\n color: #ababab;\n font-family: 'Roboto', sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n }\n\n &:hover,\n &:focus {\n border: 1px solid black;\n }\n\n &.is-valid {\n border: 1px solid green;\n }\n\n &.is-invalid {\n border: 1px solid red;\n }\n"]))),bj=xo.div(GC||(GC=Fn(["\n position: relative;\n margin-top: 8px;\n transition: var(--transition);\n"]))),xj=xo.div(qC||(qC=Fn(["\n position: relative;\n margin-top: 8px;\n transition: var(--transition);\n"]))),wj=xo.button(ZC||(ZC=Fn(["\n display: flex;\n align-items: center;\n justify-content: center;\n margin-top: 10px;\n margin-bottom: 24px;\n color: #fff;\n\n text-align: center;\n font-family: 'Roboto', sans-serif;\n font-size: 22px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n width: 454px;\n height: 56px;\n padding: 14px 24px;\n gap: 4px;\n align-self: stretch;\n border: 0;\n border-radius: 8px;\n background: linear-gradient(144deg, #0040bd 19.34%, #19015b 80.66%);\n &:hover,\n &:focus {\n background: linear-gradient(144deg, #0040bd 19.34%, #195b01 80.66%);\n }\n"]))),Cj=xo(nw)(YC||(YC=Fn(["\n margin-left: 0;\n margin-top: 8px;\n color: #fa6666;\n font-family: 'Roboto', sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n"]))),jj=xo.span(QC||(QC=Fn(["\n color: black;\n position: absolute;\n right: 16px;\n top: 16px;\n cursor: pointer;\n"]))),Sj=(xo.div(XC||(XC=Fn(["\n display: flex;\n align-items: center;\n width: 454px;\n justify-content: space-between;\n .strange {\n background: rgba(13, 12, 12, 0.3);\n width: 164px;\n height: 1px;\n }\n .and {\n color: #0d0c0c;\n text-align: center;\n font-family: 'Roboto', sans-serif;\n font-size: 18px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n }\n"]))),xo.button(JC||(JC=Fn(["\n height: 56px;\n padding: 14px 24px;\n align-self: stretch;\n border-radius: 8px;\n border: 2px solid #0040bd;\n background-color: transparent;\n margin-top: 24px;\n .Gdiv {\n gap: 4px;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .Gtext {\n color: #0d0c0c;\n text-align: center;\n font-family: 'Roboto', sans-serif;\n font-size: 22px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n }\n"]))),function(){return(0,jo.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,jo.jsx)("path",{d:"M12 16C13.25 16 14.3125 15.5625 15.1875 14.6875C16.0625 13.8125 16.5 12.75 16.5 11.5C16.5 10.25 16.0625 9.1875 15.1875 8.3125C14.3125 7.4375 13.25 7 12 7C10.75 7 9.6875 7.4375 8.8125 8.3125C7.9375 9.1875 7.5 10.25 7.5 11.5C7.5 12.75 7.9375 13.8125 8.8125 14.6875C9.6875 15.5625 10.75 16 12 16ZM12 14.2C11.25 14.2 10.6125 13.9375 10.0875 13.4125C9.5625 12.8875 9.3 12.25 9.3 11.5C9.3 10.75 9.5625 10.1125 10.0875 9.5875C10.6125 9.0625 11.25 8.8 12 8.8C12.75 8.8 13.3875 9.0625 13.9125 9.5875C14.4375 10.1125 14.7 10.75 14.7 11.5C14.7 12.25 14.4375 12.8875 13.9125 13.4125C13.3875 13.9375 12.75 14.2 12 14.2ZM12 19C9.56667 19 7.35 18.3208 5.35 16.9625C3.35 15.6042 1.9 13.7833 1 11.5C1.9 9.21667 3.35 7.39583 5.35 6.0375C7.35 4.67917 9.56667 4 12 4C14.4333 4 16.65 4.67917 18.65 6.0375C20.65 7.39583 22.1 9.21667 23 11.5C22.1 13.7833 20.65 15.6042 18.65 16.9625C16.65 18.3208 14.4333 19 12 19ZM12 17C13.8833 17 15.6125 16.5042 17.1875 15.5125C18.7625 14.5208 19.9667 13.1833 20.8 11.5C19.9667 9.81667 18.7625 8.47917 17.1875 7.4875C15.6125 6.49583 13.8833 6 12 6C10.1167 6 8.3875 6.49583 6.8125 7.4875C5.2375 8.47917 4.03333 9.81667 3.2 11.5C4.03333 13.1833 5.2375 14.5208 6.8125 15.5125C8.3875 16.5042 10.1167 17 12 17Z",fill:"#B9B9B9"})})}),kj=function(){return(0,jo.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,jo.jsx)("path",{d:"M9.54961 18L3.84961 12.3L5.27461 10.875L9.54961 15.15L18.7246 5.97498L20.1496 7.39998L9.54961 18Z",fill:"#069024"})})},Ej=function(){return(0,jo.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,jo.jsx)("path",{d:"M12 17C12.2833 17 12.521 16.904 12.713 16.712C12.905 16.52 13.0007 16.2827 13 16C13 15.7167 12.904 15.479 12.712 15.287C12.52 15.095 12.2827 14.9993 12 15C11.7167 15 11.479 15.096 11.287 15.288C11.095 15.48 10.9993 15.7173 11 16C11 16.2833 11.096 16.521 11.288 16.713C11.48 16.905 11.7173 17.0007 12 17ZM11 13H13V7H11V13ZM12 22C10.6167 22 9.31667 21.7373 8.1 21.212C6.88333 20.6867 5.825 19.9743 4.925 19.075C4.025 18.175 3.31267 17.1167 2.788 15.9C2.26333 14.6833 2.00067 13.3833 2 12C2 10.6167 2.26267 9.31667 2.788 8.1C3.31333 6.88333 4.02567 5.825 4.925 4.925C5.825 4.025 6.88333 3.31267 8.1 2.788C9.31667 2.26333 10.6167 2.00067 12 2C13.3833 2 14.6833 2.26267 15.9 2.788C17.1167 3.31333 18.175 4.02567 19.075 4.925C19.975 5.825 20.6877 6.88333 21.213 8.1C21.7383 9.31667 22.0007 10.6167 22 12C22 13.3833 21.7373 14.6833 21.212 15.9C20.6867 17.1167 19.9743 18.175 19.075 19.075C18.175 19.975 17.1167 20.6877 15.9 21.213C14.6833 21.7383 13.3833 22.0007 12 22ZM12 20C14.2333 20 16.125 19.225 17.675 17.675C19.225 16.125 20 14.2333 20 12C20 9.76667 19.225 7.875 17.675 6.325C16.125 4.775 14.2333 4 12 4C9.76667 4 7.875 4.775 6.325 6.325C4.775 7.875 4 9.76667 4 12C4 14.2333 4.775 16.125 6.325 17.675C7.875 19.225 9.76667 20 12 20Z",fill:"#FA6666"})})},Oj=AC().shape({name:vC().required("\u0412\u0432\u0435\u0434\u0456\u0442\u044c \u0456\u043c'\u044f").min(2,"\u0406\u043c'\u044f \u043f\u043e\u0432\u0438\u043d\u043d\u043e \u0431\u0443\u0442\u0438 \u043f\u0440\u0438\u043d\u0430\u0439\u043c\u043d\u0456 2 \u0441\u0438\u043c\u0432\u043e\u043b\u0438").matches(/^[^\d]+$/,"\u0406\u043c'\u044f \u043d\u0435 \u043f\u043e\u0432\u0438\u043d\u043d\u043e \u043c\u0456\u0441\u0442\u0438\u0442\u0438 \u0446\u0438\u0444\u0440\u0438").matches(/^[a-zA-Z\u0430-\u044f\u0410-\u042f\u0456\u0406\u0457\u0407\u0454\u0404\u0451\u0401\s]*$/,"\u0406\u043c'\u044f \u043d\u0435 \u043f\u043e\u0432\u0438\u043d\u043d\u043e \u043c\u0456\u0441\u0442\u0438\u0442\u0438 \u0437\u043d\u0430\u043a\u0438 \u0430\u0431\u043e \u0441\u043f\u0435\u0446\u0441\u0438\u043c\u0432\u043e\u043b\u0438").test("name-validation","",(function(e){return e&&e.replace(/\s/g,"").length>=2})),email:vC().test("is-valid-email","\u041d\u0435\u0432\u0456\u0440\u043d\u0430 email \u0430\u0434\u0440\u0435\u0441\u0430.",(function(e){return e&&/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/.test(e)})).required("\u0412\u0432\u0435\u0434\u0456\u0442\u044c Email"),password:vC().required("\u0412\u0432\u0435\u0434\u0456\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c").min(5,"\u041f\u0430\u0440\u043e\u043b\u044c \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u043c\u0456\u0441\u0442\u0438\u0442\u0438 \u043f\u0440\u0438\u043d\u0430\u0439\u043c\u043d\u0456 5 \u0441\u0438\u043c\u0432\u043e\u043b\u0456\u0432").matches(/^[^\u0400-\u04FF]*$/,"\u041f\u0430\u0440\u043e\u043b\u044c \u043d\u0435 \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u043c\u0456\u0441\u0442\u0438\u0442\u0438 \u043a\u0438\u0440\u0438\u043b\u0438\u0447\u043d\u0456 \u0441\u0438\u043c\u0432\u043e\u043b\u0438").matches(/^(?=.*[A-Z])/,"\u041f\u0430\u0440\u043e\u043b\u044c \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u043c\u0456\u0441\u0442\u0438\u0442\u0438 \u043f\u0440\u0438\u043d\u0430\u0439\u043c\u043d\u0456 \u043e\u0434\u043d\u0443 \u0432\u0435\u043b\u0438\u043a\u0443 \u043b\u0456\u0442\u0435\u0440\u0443").matches(/^(?=.*[a-z])/,"\u041f\u0430\u0440\u043e\u043b\u044c \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u043c\u0456\u0441\u0442\u0438\u0442\u0438 \u043f\u0440\u0438\u043d\u0430\u0439\u043c\u043d\u0456 \u043e\u0434\u043d\u0443 \u043c\u0430\u043b\u0443 \u043b\u0456\u0442\u0435\u0440\u0443").matches(/^(?=.*\d)/,"\u041f\u0430\u0440\u043e\u043b\u044c \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u043c\u0456\u0441\u0442\u0438\u0442\u0438 \u043f\u0440\u0438\u043d\u0430\u0439\u043c\u043d\u0456 \u043e\u0434\u043d\u0443 \u0446\u0438\u0444\u0440\u0443").matches(/^[^\s]*$/,"\u041f\u0430\u0440\u043e\u043b\u044c \u043d\u0435 \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u043c\u0456\u0441\u0442\u0438\u0442\u0438 \u043f\u0440\u043e\u0431\u0456\u043b\u0438"),acceptTerms:sC().oneOf([!0],"You must accept the terms and conditions")}),_j=function(){var t=Yo(),n=j((0,e.useState)(!1),2),r=n[0],i=n[1],o=j((0,e.useState)(!1),2),a=o[0],l=o[1],s=j((0,e.useState)(!1),2),u=s[0],c=s[1],f=Vo(Jo);(0,e.useEffect)((function(){l(!1),c(!1)}),[]);var d=function(){i(!r)};return(0,jo.jsx)(Hx,{initialValues:{name:"",email:"",password:"",acceptTerms:!1},validationSchema:Oj,onSubmit:function(e,n){var r=n.setSubmitting,i=e.name,o=e.email,a=e.password;e.acceptTerms?(l(!0),t(ow({name:i,email:o,password:a})),r(!1)):l(!1)},children:function(e){var t=e.values,n=e.errors,i=e.touched,o=e.setFieldValue,s=(e.isSubmitting,function(e){return i[e]&&n[e]?"is-invalid":i[e]?"is-valid":""});return(0,jo.jsxs)(mj,{children:[(0,jo.jsxs)(gj,{className:"".concat(s("name")," marg24"),children:[(0,jo.jsxs)(xj,{children:[(0,jo.jsx)(yj,{className:s("name"),type:"text",name:"name",placeholder:"\u0406\u043c'\u044f"}),"is-valid"===s("name")&&(0,jo.jsx)("span",{className:"errorSVGemail",children:(0,jo.jsx)(kj,{})}),"is-invalid"===s("name")&&(0,jo.jsx)("span",{className:"errorSVGemail",children:(0,jo.jsx)(Ej,{})})]}),(0,jo.jsx)(Cj,{name:"name",component:"div"})]}),(0,jo.jsxs)(gj,{className:"".concat(s("email")," marg24"),children:[(0,jo.jsxs)(xj,{children:[(0,jo.jsx)(yj,{className:s("email"),type:"email",name:"email",placeholder:"\u0415\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u0430 \u043f\u043e\u0448\u0442\u0430",title:"Email must be in the format username@domain.com",value:t.email}),"is-valid"===s("email")&&(0,jo.jsx)("span",{className:"errorSVGemail",children:(0,jo.jsx)(kj,{})}),"is-invalid"===s("email")&&(0,jo.jsx)("span",{className:"errorSVGemail",children:(0,jo.jsx)(Ej,{})})]}),(0,jo.jsx)(Cj,{name:"email",component:"div"})]}),(0,jo.jsxs)(gj,{className:"".concat(s("password")),children:[(0,jo.jsxs)(bj,{children:[(0,jo.jsx)(yj,{type:r?"text":"password",className:s("password"),name:"password",placeholder:"\u041f\u0430\u0440\u043e\u043b\u044c",value:t.password}),(0,jo.jsx)(jj,{type:"button",onClick:d,children:(0,jo.jsx)(Sj,{})}),"is-valid"===s("password")&&(0,jo.jsx)("span",{className:"errorSVGpass",children:(0,jo.jsx)(kj,{})}),"is-invalid"===s("password")&&(0,jo.jsx)("span",{className:"errorSVGpass",children:(0,jo.jsx)(Ej,{})})]}),(0,jo.jsx)(Cj,{name:"password",component:"div"})]}),(0,jo.jsxs)("label",{className:"checkLab ".concat(a?"checked":u?"unchecked":null),children:[(0,jo.jsx)("input",{type:"checkbox",name:"acceptTerms",checked:t.acceptTerms,onChange:function(e){o("acceptTerms",e.target.checked),l(!a)},style:{position:"absolute",opacity:0}}),(0,jo.jsx)("span",{className:"custom-checkbox ".concat(a?"checked":u?"unchecked":null),onClick:function(){return o("acceptTerms",!t.acceptTerms)},children:t.acceptTerms?(0,jo.jsx)(fj,{}):(0,jo.jsx)(cj,{})}),"\u042f \u043f\u0440\u0438\u0439\u043c\u0430\u044e \u0443\u043c\u043e\u0432\u0438 \u043f\u043e\u043b\u0456\u0442\u0438\u043a\u0438 \u043a\u043e\u043d\u0444\u0456\u0434\u0435\u043d\u0446\u0456\u0439\u043d\u043e\u0441\u0442\u0456 \u0442\u0430 \u0443\u043c\u043e\u0432\u0438 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u043d\u043d\u044f"]}),(0,jo.jsx)("div",{className:"loader",children:(0,jo.jsx)(pw,{color:"#0040bd",loading:f,size:10,"aria-label":"Loading Spinner","data-testid":"loader"})}),(0,jo.jsx)(wj,{type:"submit",onClick:function(){return c(!0)},children:"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044c"})]})}})},Tj=xo.div(ej||(ej=Fn(["\n display: flex;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n margin-top: 165px;\n margin-bottom: 335px;\n .authBtn {\n color: #000;\n\n text-align: center;\n font-family: 'Roboto', sans-serif;\n font-size: 22px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n border: 0;\n background-color: transparent;\n width: 227px;\n padding-bottom: 16px;\n border-bottom: 1px solid #ababab;\n }\n .active {\n padding-bottom: 14px;\n border-bottom: 3px solid #0141bd;\n }\n"]))),Aj=function(){var t=j((0,e.useState)(!0),2),n=t[0],r=t[1];return(0,jo.jsx)(jo.Fragment,{children:(0,jo.jsxs)(Tj,{children:[(0,jo.jsxs)("div",{children:[(0,jo.jsx)("button",{type:"button",className:"authBtn ".concat(n?"active":""),onClick:function(){r(!0)},children:"\u0423\u0432\u0456\u0439\u0442\u0438"}),(0,jo.jsx)("button",{type:"button",className:"authBtn ".concat(n?"":"active"),onClick:function(){r(!1)},children:"\u0417\u0430\u0440\u0435\u0454\u0441\u0442\u0440\u0443\u0432\u0430\u0442\u0438\u0441\u044f"})]}),n?(0,jo.jsx)(vj,{}):(0,jo.jsx)(_j,{})]})})},Pj=["title","titleId"];function Nj(){return Nj=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Dj(t,n){var r=t.title,i=t.titleId,o=Rj(t,Pj);return e.createElement("svg",Nj({xmlns:"http://www.w3.org/2000/svg",width:30,height:30,viewBox:"0 0 30 30",fill:"none",ref:n,"aria-labelledby":i},o),r?e.createElement("title",{id:i},r):null,tj||(tj=e.createElement("path",{d:"M22.5 23.75C22.5 20.9886 19.1421 18.75 15 18.75C10.8579 18.75 7.5 20.9886 7.5 23.75M15 15C12.2386 15 10 12.7614 10 10C10 7.23858 12.2386 5 15 5C17.7614 5 20 7.23858 20 10C20 12.7614 17.7614 15 15 15Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}var Lj,Fj=e.forwardRef(Dj),Ij=(n.p,["title","titleId"]);function Mj(){return Mj=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Bj(t,n){var r=t.title,i=t.titleId,o=zj(t,Ij);return e.createElement("svg",Mj({xmlns:"http://www.w3.org/2000/svg",width:30,height:30,viewBox:"0 0 30 30",fill:"none",ref:n,"aria-labelledby":i},o),r?e.createElement("title",{id:i},r):null,Lj||(Lj=e.createElement("path",{d:"M11.25 21.25H18.75M11.25 17.5H18.75M16.2505 3.75109C16.1311 3.75 15.9967 3.75 15.8434 3.75H10.2502C8.85011 3.75 8.14953 3.75 7.61475 4.02249C7.14434 4.26217 6.76217 4.64434 6.52248 5.11475C6.25 5.64953 6.25 6.35011 6.25 7.75024V22.2502C6.25 23.6504 6.25 24.3501 6.52248 24.8849C6.76217 25.3553 7.14434 25.7381 7.61475 25.9778C8.14901 26.25 8.84875 26.25 10.2462 26.25L19.7539 26.25C21.1513 26.25 21.85 26.25 22.3842 25.9778C22.8546 25.7381 23.2381 25.3553 23.4778 24.8849C23.75 24.3506 23.75 23.6519 23.75 22.2545V11.6571C23.75 11.5038 23.7499 11.3694 23.7488 11.25M16.2505 3.75109C16.6073 3.75434 16.8322 3.76758 17.0477 3.81934C17.3028 3.88058 17.5473 3.98158 17.771 4.11865C18.0232 4.27321 18.2398 4.48977 18.6719 4.92188L22.5787 8.82873C23.0111 9.26111 23.2261 9.4767 23.3807 9.72899C23.5178 9.95267 23.6192 10.1966 23.6804 10.4517C23.7322 10.6672 23.7455 10.8932 23.7488 11.25M16.2505 3.75109L16.25 7.25026C16.25 8.65039 16.25 9.35019 16.5225 9.88497C16.7622 10.3554 17.1443 10.7381 17.6147 10.9778C18.149 11.25 18.8488 11.25 20.2461 11.25H23.7488",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}var Vj,Uj=e.forwardRef(Bj),Hj=(n.p,["title","titleId"]);function Wj(){return Wj=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Kj(t,n){var r=t.title,i=t.titleId,o=$j(t,Hj);return e.createElement("svg",Wj({xmlns:"http://www.w3.org/2000/svg",width:30,height:30,viewBox:"0 0 30 30",fill:"none",ref:n,"aria-labelledby":i},o),r?e.createElement("title",{id:i},r):null,Vj||(Vj=e.createElement("path",{d:"M15 9.61789C12.5 3.74985 3.75 4.37485 3.75 11.8749C3.75 19.3749 15 25.6251 15 25.6251C15 25.6251 26.25 19.3749 26.25 11.8749C26.25 4.37485 17.5 3.74985 15 9.61789Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}var Gj,qj=e.forwardRef(Kj),Zj=(n.p,["title","titleId"]);function Yj(){return Yj=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function Xj(t,n){var r=t.title,i=t.titleId,o=Qj(t,Zj);return e.createElement("svg",Yj({xmlns:"http://www.w3.org/2000/svg",width:30,height:30,viewBox:"0 0 30 30",fill:"none",ref:n,"aria-labelledby":i},o),r?e.createElement("title",{id:i},r):null,Gj||(Gj=e.createElement("path",{d:"M15 18.75L18.75 15M18.75 15L15 11.25M18.75 15H5M5 9.06003V9.00024C5 7.60011 5 6.89953 5.27248 6.36475C5.51217 5.89434 5.89434 5.51217 6.36475 5.27248C6.89953 5 7.60011 5 9.00024 5H21.0002C22.4004 5 23.0995 5 23.6342 5.27248C24.1046 5.51217 24.4881 5.89434 24.7278 6.36475C25 6.899 25 7.59874 25 8.99614V21.0045C25 22.4019 25 23.1006 24.7278 23.6349C24.4881 24.1053 24.1046 24.4881 23.6342 24.7278C23.1 25 22.4013 25 21.0039 25H8.99614C7.59874 25 6.899 25 6.36475 24.7278C5.89434 24.4881 5.51217 24.1049 5.27248 23.6345C5 23.0997 5 22.4001 5 21V20.9375",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}var Jj,eS,tS,nS,rS,iS,oS,aS,lS,sS,uS,cS,fS=e.forwardRef(Xj),dS=(n.p,xo.section(Jj||(Jj=Fn(["\n display: flex;\n align-items: flex-start;\n flex-direction: column;\n\n max-width: 1440px;\n padding: 80px 80px 120px 80px;\n margin-left: auto;\n margin-right: auto;\n"])))),pS=xo.div(eS||(eS=Fn(["\n display: flex;\n gap: 30px;\n width: 100%;\n"]))),hS=xo.div(tS||(tS=Fn(["\n display: flex;\n flex-direction: column;\n gap: 25px;\n\n width: 410px;\n overflow: hidden;\n .photo {\n width: 41px;\n height: 41px;\n object-fit: cover;\n border-radius: 45%;\n }\n .photoDIV {\n width: 41px;\n height: 41px;\n }\n .UserNameDiv {\n display: flex;\n gap: 5px;\n overflow: hidden;\n }\n .user-profile_container {\n display: flex;\n flex-direction: row;\n gap: 4px;\n /* align-items: flex-start;\n gap: 14px;\n flex: 1 0 0; */\n\n padding: 20px 15px;\n border-radius: 8px;\n background: #f1f1f1;\n }\n\n .user-profile_title {\n color: #141414;\n\n font-family: 'Roboto', sans-serif;\n font-size: 18px;\n font-weight: 500;\n }\n\n .user-profile_text {\n color: #141414;\n\n font-family: 'Roboto', sans-serif;\n font-size: 14px;\n font-weight: 400;\n }\n\n .user-nav_container {\n padding: 20px 15px 20px 0;\n border-radius: 8px;\n background: #f1f1f1;\n }\n\n .user-nav_item {\n display: flex;\n cursor: pointer;\n padding-left: 15px;\n width: fit-content;\n align-items: center;\n position: relative;\n\n font-family: 'Roboto', sans-serif;\n font-size: 18px;\n font-weight: 400;\n }\n\n .user-nav_item::before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 3px;\n background-color: #0141bd;\n opacity: 0;\n transition: opacity 0.3s ease;\n }\n\n .user-nav_item.active::before {\n opacity: 1;\n }\n\n .user-nav_item:hover::before {\n opacity: 1;\n }\n\n .user-nav_item:hover {\n color: #0141bd;\n }\n\n .user-nav_item:not(:last-child) {\n margin-bottom: 15px;\n }\n .user-nav_item:last-child {\n margin-top: 30px;\n }\n\n .active {\n color: #0141bd;\n stroke: #0141bd;\n }\n"]))),vS=xo.div(nS||(nS=Fn(["\n width: 100%;\n"]))),mS=xo(Fj)(rS||(rS=Fn(["\n stroke: #141414;\n margin-right: 14px;\n &:hover {\n stroke: #0141bd;\n }\n"]))),gS=xo(Uj)(iS||(iS=Fn(["\n stroke: #141414;\n margin-right: 14px;\n transition: stroke 0.3s;\n\n &:hover {\n stroke: #0141bd;\n }\n"]))),yS=xo(qj)(oS||(oS=Fn(["\n stroke: #141414;\n margin-right: 14px;\n\n &:hover {\n stroke: #0141bd;\n }\n"]))),bS=xo(fS)(aS||(aS=Fn(["\n stroke: #141414;\n margin-right: 14px;\n\n &:hover {\n stroke: #0141bd;\n }\n"]))),xS=xo.h2(lS||(lS=Fn(["\n color: #141414;\n margin-bottom: 32px;\n\n font-family: 'Roboto', sans-serif;\n font-size: 32px;\n font-weight: 500;\n"]))),wS=xo.h3(sS||(sS=Fn(["\n color: #141414;\n margin-bottom: 20px;\n\n font-family: 'Roboto', sans-serif;\n font-size: 18px;\n font-weight: 500;\n"]))),CS=bh({name:"auth",initialState:{refToken:"",token:"",isLoggedIn:!1,isLoading:!1,error:null},reducers:{logout:function(e){e.isLoggedIn=!1,e.token="",e.refToken=""},refresh:function(e){e.token&&(e.isLoggedIn=!0),iw(e.token)}},extraReducers:function(e){e.addCase(ow.fulfilled,(function(e,t){t.payload;e.isLoggedIn=!1,e.isLoading=!1,e.error=null})).addCase(ow.pending,(function(e){e.isLoading=!0})).addCase(ow.rejected,(function(e,t){var n=t.payload;e.isLoading=!1,e.isLoggedIn=!1,e.error=n.error})).addCase(aw.fulfilled,(function(e,t){var n=t.payload;e.token=n.data.jwtAccessToken,e.refToken=n.data.jwtRefreshToken,e.isLoggedIn=!0,e.isLoading=!1,e.error=null})).addCase(aw.pending,(function(e){e.isLoading=!0})).addCase(aw.rejected,(function(e,t){var n=t.payload;e.isLoading=!1,e.isLoggedIn=!1,e.error=n})).addCase(lw.fulfilled,(function(e){e.isLoggedIn=!1,e.token="",e.refToken=""}))}}),jS=CS.actions,SS=jS.logout,kS=jS.refresh,ES=function(e){var t=e.isActive,n=e.children;return t?(0,jo.jsx)("div",{children:n}):null},OS=function(){var t=j((0,e.useState)("active"),2),n=t[0],r=t[1],i=function(e){r(e)};return(0,jo.jsxs)("div",{children:[(0,jo.jsx)("p",{onClick:function(){return i("active")},children:"\u0410\u043a\u0442\u0438\u0432\u043d\u0456"}),(0,jo.jsx)("p",{onClick:function(){return i("inactive")},children:"\u041d\u0435\u0430\u043a\u0442\u0438\u0432\u043d\u0456"}),(0,jo.jsx)(ES,{isActive:"active"===n,children:(0,jo.jsx)("p",{children:"\u0421\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0434\u043b\u044f \u0410\u043a\u0442\u0438\u0432\u043d\u044b\u0445"})}),(0,jo.jsx)(ES,{isActive:"inactive"===n,children:(0,jo.jsx)("p",{children:"\u0421\u043e\u0434\u0435\u0440\u0436\u0438\u043c\u043e\u0435 \u0434\u043b\u044f \u041d\u0435\u0430\u043a\u0442\u0438\u0432\u043d\u044b\u0445"})})]})},_S=xo.div(uS||(uS=Fn(["\n display: flex;\n flex-direction: column;\n gap: 30px;\n\n .profilePhoto {\n height: 132px;\n border-radius: 8px;\n background: var(--Text-Grey-1, #f1f5ff);\n margin-bottom: 24px;\n display: flex;\n align-items: center;\n }\n .photoLable {\n position: relative;\n width: 92px;\n height: 92px;\n flex-shrink: 0;\n margin-left: 20px;\n margin-right: 20px;\n }\n .posit {\n display: flex;\n position: relative;\n }\n .photoIMG {\n display: flex;\n justify-content: center;\n align-items: center;\n width: 92px;\n height: 92px;\n overflow: hidden;\n border-radius: 45%;\n }\n .photp {\n width: 92px;\n height: 92px;\n object-fit: cover;\n }\n .plus {\n display: flex;\n bottom: 0;\n right: 10px;\n position: absolute;\n border: 2px solid #f1f5ff;\n border-radius: 50%;\n }\n .pPhoto {\n color: var(--text-black-dark, #141414);\n /* Subtitle 2.2 */\n font-family: 'Roboto', sans-serif;\n font-size: 18px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n }\n .pPhoto2 {\n color: var(--Text-black-2, #4b4b4b);\n /* Body */\n font-family: 'Roboto', sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n }\n .profile-form {\n display: flex;\n gap: 20px;\n flex-direction: column;\n padding: 20px;\n margin: 0;\n\n border-radius: 8px;\n background: #f1f5ff;\n }\n\n .profile-label {\n display: block;\n }\n\n .profile-label-title {\n color: #141414;\n margin-bottom: 8px;\n\n font-family: 'Roboto', sans-serif;\n font-size: 14px;\n font-weight: 500;\n }\n\n .profile-input {\n width: 100%;\n height: 40px;\n box-sizing: border-box;\n padding: 10px;\n color: #141414;\n\n font-family: 'Roboto', sans-serif;\n font-size: 14px;\n font-weight: 400;\n\n border-radius: 8px;\n border: 1px solid #b9b9b9;\n background: #fff;\n }\n\n .profile-btn {\n display: flex;\n width: 200px;\n height: 56px;\n padding: 14px 24px;\n align-items: center;\n justify-content: center;\n color: #fff;\n\n font-family: 'Roboto', sans-serif;\n font-size: 22px;\n font-weight: 500;\n\n background: linear-gradient(160deg, #0040bd 19.1%, #19015b 78.89%);\n border: none;\n border-radius: 8px;\n cursor: pointer;\n transition: background-color 0.2s;\n\n &:hover {\n background: linear-gradient(160deg, #0040bd 19.1%, #195b01 78.89%);\n }\n\n &:active {\n background: linear-gradient(\n 160deg,\n rgba(5, 0, 20, 0.6) 19.1%,\n #050014 78.89%\n );\n box-shadow: 0 0 6px 0 rgba(0, 0, 0, 0.25);\n }\n }\n"]))),TS=kh("api/user/getUser",function(){var e=zd(O().mark((function e(t,n){var r,i;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.rejectWithValue,e.prev=1,e.next=4,rw.get("api/users/user");case 4:return i=e.sent,console.log("getUser is successful"),e.abrupt("return",i.data);case 9:return e.prev=9,e.t0=e.catch(1),e.abrupt("return",r(e.t0.message));case 12:case"end":return e.stop()}}),e,null,[[1,9]])})));return function(t,n){return e.apply(this,arguments)}}()),AS=kh("user/changeUser",function(){var e=zd(O().mark((function e(t,n){var r;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.rejectWithValue,e.prev=1,e.next=4,rw.put("api/users/user",t);case 4:return console.log("User changed successfully"),e.abrupt("return");case 8:return e.prev=8,e.t0=e.catch(1),console.log("Change failed. Try again"),e.abrupt("return",r(e.t0.message));case 12:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t,n){return e.apply(this,arguments)}}()),PS=kh("user/deleteUser",function(){var e=zd(O().mark((function e(t,n){var r,i;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.id,i=n.rejectWithValue,e.prev=2,e.next=5,rw.delete("api/users/".concat(r));case 5:return console.log("User delete successfully"),e.abrupt("return");case 9:return e.prev=9,e.t0=e.catch(2),console.log("failed. Try again"),e.abrupt("return",i(e.t0.message));case 13:case"end":return e.stop()}}),e,null,[[2,9]])})));return function(t,n){return e.apply(this,arguments)}}()),NS=kh("user/forgotPass",function(){var e=zd(O().mark((function e(t,n){var r;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.rejectWithValue,e.prev=1,e.next=4,rw.put("api/users/forgot/password",t);case 4:return console.log("Check your email"),e.abrupt("return");case 8:return e.prev=8,e.t0=e.catch(1),console.log("Oops. Try again"),e.abrupt("return",r(e.t0.message));case 12:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t,n){return e.apply(this,arguments)}}()),RS=kh("user/changePass",function(){var e=zd(O().mark((function e(t,n){var r;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.rejectWithValue,e.prev=1,e.next=4,rw.put("api/users/change/password",t);case 4:return console.log("Password changed successfully"),e.abrupt("return");case 8:return e.prev=8,e.t0=e.catch(1),console.log("Change failed. Try again"),e.abrupt("return",r(e.t0.message));case 12:case"end":return e.stop()}}),e,null,[[1,8]])})));return function(t,n){return e.apply(this,arguments)}}()),DS=kh("user/acceptCode",function(){var e=zd(O().mark((function e(t,n){var r,i,o,a;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.code,i=n.rejectWithValue,e.prev=2,o="api/users/accept/code/".concat(r),console.log(o),e.next=7,rw.put(o);case 7:return a=e.sent,console.log(o),console.log("code accepted"),e.abrupt("return",a.data);case 13:return e.prev=13,e.t0=e.catch(2),console.log("Code failed. Try again"),e.abrupt("return",i(e.t0.message));case 17:case"end":return e.stop()}}),e,null,[[2,13]])})));return function(t,n){return e.apply(this,arguments)}}()),LS=function(){return(0,jo.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"92",height:"92",viewBox:"0 0 92 92",fill:"none",children:[(0,jo.jsx)("mask",{id:"mask0_1259_6355",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"92",height:"92",children:(0,jo.jsx)("circle",{cx:"46",cy:"46",r:"46",fill:"#D9D9D9"})}),(0,jo.jsxs)("g",{mask:"url(#mask0_1259_6355)",children:[(0,jo.jsx)("path",{d:"M92 46C92 71.4051 71.4051 92 46 92C20.5949 92 0 71.4051 0 46C0 20.5949 20.5949 0 46 0C71.4051 0 92 20.5949 92 46Z",fill:"white"}),(0,jo.jsx)("circle",{cx:"46.003",cy:"35.8799",r:"11.96",fill:"#ABABAB"}),(0,jo.jsx)("path",{d:"M18.3984 94.7599C18.3984 38.3332 72.9984 38.3334 73.5984 94.7599H18.3984Z",fill:"#ABABAB"})]})]})},FS=function(){return(0,jo.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",children:[(0,jo.jsx)("circle",{cx:"11",cy:"11",r:"11",fill:"#ABABAB"}),(0,jo.jsx)("path",{d:"M11.4219 5.92285V16.9229",stroke:"white",strokeLinecap:"round"}),(0,jo.jsx)("path",{d:"M5.92188 11.4229H16.9219",stroke:"white",strokeLinecap:"round"})]})},IS=function(t){var n=t.initialValues,r=Yo(),i=j((0,e.useState)(n.photo||""),2),o=i[0],a=i[1],l=Ux({initialValues:{lastName:n.lastName||"",firstName:n.firstName||"",phone:n.phone||""},onSubmit:function(){var e=zd(O().mark((function e(t){return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:console.log(ss(ss({},t),{},{email:n.email,photo:o})),r(AS(ss(ss({},t),{},{email:n.email,photo:o})));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()});(0,e.useEffect)((function(){l.setValues({lastName:n.lastName||"",firstName:n.firstName||"",phone:n.phone||""}),a(n.photo||"")}),[n]);var s=function(){var e=zd(O().mark((function e(t){var n,r,i,o;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(n=t.target.files[0])){e.next=13;break}return(r=new FormData).append("file",n),r.append("upload_preset","ml_default"),e.next=7,fetch("https://api.cloudinary.com/v1_1/dsjxx9exc/image/upload",{method:"POST",body:r});case 7:return i=e.sent,e.next=10,i.json();case 10:o=e.sent,console.log(o),a(o.secure_url);case 13:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return(0,jo.jsx)(_S,{children:(0,jo.jsxs)("form",{onSubmit:l.handleSubmit,children:[(0,jo.jsxs)("div",{className:"profilePhoto",children:[(0,jo.jsxs)("label",{className:"photoLable",children:[(0,jo.jsx)("input",{type:"file",name:"photo",onChange:function(e){l.handleChange(e),s(e)},className:"profile-input",style:{display:"none"}}),(0,jo.jsx)("div",{className:"posit",children:o?(0,jo.jsx)("div",{className:"photoIMG",children:(0,jo.jsx)("img",{className:"photp",src:o,alt:"user"})}):(0,jo.jsxs)("div",{children:[(0,jo.jsx)(LS,{}),(0,jo.jsx)("div",{className:"plus",children:(0,jo.jsx)(FS,{})})]})})]}),(0,jo.jsxs)("div",{children:[(0,jo.jsx)("p",{className:"pPhoto",children:"\u0424\u043e\u0442\u043e \u043f\u0440\u043e\u0444\u0456\u043b\u044e"}),(0,jo.jsx)("p",{className:"pPhoto2",children:"\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044c \u0444\u043e\u0442\u043e \u043d\u0435 \u043c\u0435\u043d\u0448\u0435 200\u0445200, \u0444\u043e\u0440\u043c\u0430\u0442\u0443 jpg."})]})]}),(0,jo.jsxs)("div",{className:"profile-form",children:[(0,jo.jsxs)("label",{className:"profile-label",children:[(0,jo.jsx)("p",{className:"profile-label-title",children:"\u041f\u0440\u0456\u0437\u0432\u0438\u0449\u0435:"}),(0,jo.jsx)("input",{className:"profile-input",type:"text",name:"lastName",onChange:l.handleChange,onBlur:l.handleBlur,value:l.values.lastName})]}),l.touched.lastName&&l.errors.lastName?(0,jo.jsx)("div",{className:"error-message",children:l.errors.lastName}):null,(0,jo.jsxs)("label",{children:[(0,jo.jsx)("p",{className:"profile-label-title",children:"\u0406\u043c\u02bc\u044f:"}),(0,jo.jsx)("input",{className:"profile-input",type:"text",name:"firstName",onChange:l.handleChange,onBlur:l.handleBlur,value:l.values.firstName})]}),l.touched.firstName&&l.errors.firstName?(0,jo.jsx)("div",{className:"error-message",children:l.errors.firstName}):null,(0,jo.jsxs)("label",{children:[(0,jo.jsx)("p",{className:"profile-label-title",children:"\u041d\u043e\u043c\u0435\u0440 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u0443:"}),(0,jo.jsx)("input",{className:"profile-input",type:"phone",name:"phone",onChange:l.handleChange,onBlur:l.handleBlur,value:l.values.phone})]}),l.touched.phone&&l.errors.phone?(0,jo.jsx)("div",{className:"error-message",children:l.errors.phone}):null,(0,jo.jsx)("button",{type:"submit",className:"profile-btn",children:"\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438"})]})]})})},MS=function(e){return e.user.user},zS=function(e){return e.user.error},BS=function(){return(0,jo.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"41",height:"41",viewBox:"0 0 41 41",fill:"none",children:[(0,jo.jsx)("mask",{id:"mask0_2680_7000",maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"41",height:"41",children:(0,jo.jsx)("circle",{cx:"20.5",cy:"20.5",r:"20.5",fill:"#D9D9D9"})}),(0,jo.jsxs)("g",{mask:"url(#mask0_2680_7000)",children:[(0,jo.jsx)("path",{d:"M40.5 20.5C40.5 31.5457 31.5457 40.5 20.5 40.5C9.4543 40.5 0.5 31.5457 0.5 20.5C0.5 9.4543 9.4543 0.5 20.5 0.5C31.5457 0.5 40.5 9.4543 40.5 20.5Z",fill:"white",stroke:"#F1F5FF"}),(0,jo.jsx)("circle",{cx:"20.5019",cy:"15.9902",r:"5.33",fill:"#ABABAB"}),(0,jo.jsx)("path",{d:"M8.19922 42.2301C8.19922 17.0834 32.5318 17.0835 32.7992 42.2301H8.19922Z",fill:"#ABABAB"})]})]})},VS=function(){var t=Yo(),n=j((0,e.useState)("personal"),2),r=n[0],i=n[1],o=he(),a=Vo(MS);(0,e.useEffect)((function(){t(TS()),"true"===new URLSearchParams(o.search).get("favourites")&&i("favourites")}),[t,o.search]);return(0,jo.jsxs)(dS,{children:[(0,jo.jsx)(xS,{children:"\u041e\u0441\u043e\u0431\u0438\u0441\u0442\u0438\u0439 \u043a\u0430\u0431\u0456\u043d\u0435\u0442"}),(0,jo.jsxs)(pS,{children:[(0,jo.jsxs)(hS,{children:[(0,jo.jsxs)("div",{className:"user-profile_container",children:[(0,jo.jsx)("div",{className:"photoDIV",children:a.photo?(0,jo.jsx)("img",{className:"photo",src:a.photo,alt:"user"}):(0,jo.jsx)(BS,{})}),(0,jo.jsxs)("div",{children:[(0,jo.jsxs)("div",{className:"UserNameDiv",children:[(0,jo.jsx)("h3",{className:"user-profile_title",children:a.firstName}),(0,jo.jsx)("h3",{className:"user-profile_title",children:a.lastName})]}),(0,jo.jsx)("p",{className:"user-profile_text",children:a.email})]})]}),(0,jo.jsx)("nav",{className:"user-nav_container",children:(0,jo.jsxs)("ul",{className:"user-nav_list",children:[(0,jo.jsxs)("li",{className:"user-nav_item ".concat("personal"===r?"active":""),onClick:function(){return i("personal")},children:[(0,jo.jsx)(mS,{}),"\u041e\u0441\u043e\u0431\u0438\u0441\u0442\u0438\u0439 \u043a\u0430\u0431\u0456\u043d\u0435\u0442"]}),(0,jo.jsxs)("li",{className:"user-nav_item ".concat("announcements"===r?"active":""),onClick:function(){return i("announcements")},children:[(0,jo.jsx)(gS,{}),"\u041c\u043e\u0457 \u043e\u0433\u043e\u043b\u043e\u0448\u0435\u043d\u043d\u044f"]}),(0,jo.jsxs)("li",{className:"user-nav_item ".concat("favourites"===r?"active":""),onClick:function(){return i("favourites")},children:[(0,jo.jsx)(yS,{}),"\u041e\u0431\u0440\u0430\u043d\u0435"]}),(0,jo.jsxs)("li",{className:"user-nav_item",onClick:function(){t(SS()),console.log("logout")},children:[(0,jo.jsx)(bS,{}),"\u0412\u0438\u0445\u0456\u0434 \u0437 \u0430\u043a\u0430\u0443\u043d\u0442\u0443"]})]})})]}),(0,jo.jsx)(vS,{children:function(){switch(r){case"personal":return(0,jo.jsxs)("div",{children:[(0,jo.jsx)(wS,{children:"\u041e\u0441\u043d\u043e\u0432\u043d\u0430 \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u044f"}),(0,jo.jsx)(IS,{initialValues:a})]});case"announcements":return(0,jo.jsx)("div",{children:(0,jo.jsx)(OS,{})});case"favourites":return(0,jo.jsx)("div",{children:(0,jo.jsx)("p",{children:"\u041b\u044e\u0431\u0438\u043c\u044b\u0435"})});default:return null}}()})]})]})},US=["title","titleId"];function HS(){return HS=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function $S(t,n){var r=t.title,i=t.titleId,o=WS(t,US);return e.createElement("svg",HS({width:544,height:76,viewBox:"0 0 544 76",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":i},o),r?e.createElement("title",{id:i},r):null,cS||(cS=e.createElement("path",{d:"M0 8C0 3.58172 3.58172 0 8 0H501.817C503.739 0 505.597 0.691881 507.05 1.94909L540.275 30.6839C543.869 33.792 543.978 39.3289 540.509 42.5756L507.104 73.8408C505.622 75.2281 503.667 76 501.637 76H8.00001C3.58173 76 0 72.4183 0 68V8Z",fill:"#0141BD"})))}var KS,GS=e.forwardRef($S),qS=(n.p,["title","titleId"]);function ZS(){return ZS=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function QS(t,n){var r=t.title,i=t.titleId,o=YS(t,qS);return e.createElement("svg",ZS({width:30,height:30,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":i},o),r?e.createElement("title",{id:i},r):null,KS||(KS=e.createElement("g",{id:"File / File_Edit"},e.createElement("path",{id:"Vector",d:"M7.5 13.7502V7.75024C7.5 6.35011 7.5 5.64953 7.77248 5.11475C8.01217 4.64434 8.39434 4.26217 8.86475 4.02248C9.39953 3.75 10.1001 3.75 11.5002 3.75H17.0934C17.2466 3.75 17.3806 3.75 17.5 3.75109M24.9988 11.25C25 11.3695 25 11.5037 25 11.6571V22.2545C25 23.6519 25 24.3506 24.7278 24.8848C24.4881 25.3553 24.1049 25.7381 23.6345 25.9778C23.1002 26.25 22.4012 26.25 21.0038 26.25L16.25 26.25M24.9988 11.25C24.9954 10.8931 24.9822 10.6672 24.9304 10.4517C24.8692 10.1966 24.7678 9.95268 24.6307 9.72899C24.4761 9.4767 24.2611 9.26111 23.8287 8.82873L19.9219 4.92188C19.4898 4.48977 19.2732 4.27321 19.021 4.11865C18.7973 3.98158 18.5536 3.88032 18.2986 3.81908C18.0829 3.76731 17.857 3.75434 17.5 3.75109M24.9988 11.25H25.0002M24.9988 11.25H21.4961C20.0987 11.25 19.399 11.25 18.8647 10.9778C18.3943 10.7381 18.0122 10.3549 17.7725 9.88449C17.5 9.34971 17.5 8.65013 17.5 7.25V3.75109M11.25 17.5L13.75 20M5 26.25V23.125L14.375 13.75L17.5 16.875L8.125 26.25H5Z",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}))))}var XS,JS=e.forwardRef(QS),ek=(n.p,["title","titleId"]);function tk(){return tk=Object.assign||function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function rk(t,n){var r=t.title,i=t.titleId,o=nk(t,ek);return e.createElement("svg",tk({width:30,height:30,viewBox:"0 0 30 30",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":i},o),r?e.createElement("title",{id:i},r):null,XS||(XS=e.createElement("g",{id:"Warning / Wavy_Check"},e.createElement("path",{id:"Vector",d:"M18.7499 12.4998L13.7499 17.4998L11.2499 14.9998M16.5576 4.32349L18.0838 5.62411C18.4683 5.95179 18.9457 6.14989 19.4493 6.19007L21.4481 6.34937C22.6232 6.44315 23.5567 7.37599 23.6505 8.55116L23.8094 10.5503C23.8496 11.0539 24.0484 11.532 24.376 11.9165L25.6761 13.4423C26.4407 14.3396 26.4409 15.6594 25.6762 16.5567L24.3762 18.0827C24.0485 18.4672 23.8499 18.9455 23.8098 19.4491L23.6498 21.4479C23.5561 22.6231 22.6241 23.5565 21.4489 23.6503L19.4494 23.8098C18.9458 23.85 18.4679 24.0476 18.0834 24.3753L16.5576 25.6759C15.6603 26.4406 14.3396 26.4407 13.4423 25.6761L11.9164 24.3754C11.5319 24.0477 11.0541 23.8498 10.5505 23.8096L8.55097 23.6503C7.3758 23.5565 6.44382 22.6233 6.35004 21.4481L6.19013 19.4492C6.14994 18.9456 5.95139 18.4678 5.62372 18.0833L4.32367 16.5568C3.55902 15.6595 3.55866 14.34 4.32331 13.4428L5.62453 11.9163C5.9522 11.5318 6.14884 11.0539 6.18903 10.5503L6.34894 8.5514C6.44272 7.37623 7.3774 6.44303 8.55256 6.34925L10.5499 6.18995C11.0534 6.14976 11.5316 5.95182 11.9161 5.62415L13.4425 4.32349C14.3397 3.55884 15.6603 3.55884 16.5576 4.32349Z",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}))))}var ik,ok,ak,lk,sk,uk,ck,fk,dk,pk,hk,vk,mk=e.forwardRef(rk),gk=(n.p,xo(GS)(ik||(ik=Fn(["\n margin-top: -1px ;\n"])))),yk=xo(JS)(ok||(ok=Fn(["\n stroke: #fff;\n margin-right: 5px;\n"]))),bk=xo(mk)(ak||(ak=Fn(["\n stroke:#4B4B4B;\n margin-right: 5px;\n\n "]))),xk=xo.section(lk||(lk=Fn(["\n display: flex;\n align-items: flex-start;\n flex-direction: column;\n\n max-width: 1440px;\n padding: 80px 80px 120px 80px ;\n margin-left: auto;\n margin-right: auto;\n\n .form{\n position: relative;\n display: flex;\n flex-direction: column;\n width: 100%;\n gap: 25px;\n \n }\n\n.styled{\n position: relative;\n display: block;\n background: #FFF;\n width: 1000px;\n height: 74px;\n border: 1px solid #B9B9B9;\n border-radius: 10px;\n}\n\n.create{\n position: absolute;\n top: 50%;\n left: 25%;\n transform: translate(-50%, -50%);\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n\n.post{\n position: absolute;\n top: 50%;\n left: 75%;\n transform: translate(-50%, -50%);\n display: inline-flex;\n align-items: center;\n justify-content: center;\n}\n\n.create_text{\n color: #FFF;\n font-family: 'Roboto', sans-serif;\n font-size: 18px;\n font-weight: 500;\n}\n.post_text{\n color: #4B4B4B;\n font-family: 'Roboto', sans-serif;\n font-size: 18px;\n font-weight: 500;\n\n}\n select {\n appearance: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n cursor: pointer;\n }\n label {\n display: flex;\n position: relative;\n }\n\n /* label:after {\n content: '\u25bc';\n position: absolute;\n top: 20px;\n right: 16px;\n pointer-events: none;\n } */\n\n .title {\n margin-left: 4px;\n margin-bottom: 24px;\n width: 372px;\n\n color: #000;\n\n font-family: 'Roboto', sans-serif;\n font-size: 26px;\n font-style: normal;\n font-weight: 600;\n line-height: normal;\n }\n\n .underTitle {\n color: #4b4b4b;\n margin-bottom: 12px;\n font-family: 'Roboto', sans-serif;\n font-size: 20px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n }\n\n .containerLong{\n width: 220px;\n padding-top: 15px;\n font-family: 'Roboto', sans-serif;\n font-size: 22px; \n }\n\n .arrowDiv {\n position: relative;\n }\n .arrow {\n position: absolute;\n z-index: 1;\n right: 16px;\n top: 12px;\n pointer-events: none;\n }\n\n .topWraper {\n display: flex;\n flex-direction: column;\n margin-left: 16px;\n margin-top: 16px;\n }\n .fieldLong {\n display: flex;\n\n width: 450px;\n height: 56px;\n padding: 4px 16px;\n justify-content: space-between;\n align-items: center;\n\n border-radius: 8px;\n background: #fff;\n border: 1px solid #b9b9b9;\n }\n\n .fieldShort {\n display: flex;\n\n width: 215px;\n height: 56px;\n padding: 4px 16px;\n justify-content: space-between;\n align-items: center;\n border: 1px solid #b9b9b9;\n\n border-radius: 8px;\n background: #fff;\n }\n\n .fieldInput{\n display: flex;\n\n width: 100%;\n height: 310px;\n padding: 16px 16px;\n justify-content: space-between;\n align-items: center;\n\n border-radius: 8px;\n background: #fff;\n border: 1px solid #b9b9b9;\n }\n\n .fieldTextShort {\n box-sizing: border-box;\n\n width: 215px;\n height: 56px;\n padding: 0;\n border-radius: 8px;\n background: #fff;\n border: 1px solid #b9b9b9;\n \n padding: 4px 16px;\n }\n\n .fieldTextLong {\n box-sizing: border-box;\n\n width: 450px;\n height: 56px;\n padding: 0;\n border-radius: 8px;\n background: #fff;\n border: 1px solid #b9b9b9;\n \n padding: 4px 16px;\n }\n\n .shortDiv {\n display: flex;\n gap: 14px;\n }\n .marg16 {\n margin-bottom: 16px;\n }\n .bottomWraper {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n margin-left: 16px;\n margin-top: 24px;\n }\n .titleB {\n color: #000;\n margin-bottom: 8px;\n text-align: center;\n /* Subtitle 1.2 */\n font-family: 'Roboto', sans-serif;\n font-size: 22px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n }\n .btnWraper {\n margin-left: 16px;\n margin-top: 24px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n .clearButton {\n position: absolute;\n top: -1.2%;\n right: 0%;\n \n display: flex;\n width: 125px;\n justify-content: center;\n align-items: center;\n border: 0;\n background-color: transparent;\n color: #ABABAB;\n\n font-family: 'Roboto', sans-serif;\n font-size: 20px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n letter-spacing: -0.4px;\n }\n .submitButton {\n color: #fff;\n text-align: center;\n font-family: 'Roboto', sans-serif;\n font-size: 22px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n\n display: flex;\n width: 450px;\n height: 56px;\n padding: 14px 24px;\n justify-content: center;\n align-items: center;\n \n\n border-radius: 8px;\n background: linear-gradient(144deg, #0040bd 19.1%, #19015b 78.89%);\n }\n.chekAnnouncementButton{\n color: #0D0C0C;\n text-align: center;\n font-family: 'Roboto', sans-serif;\n font-size: 22px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n\n\n display: flex;\n width: 450px;\n height: 56px;\n padding: 14px 24px;\n justify-content: center;\n align-items: center;\n \n\n border-radius: 8px;\n border: 2px solid #0040BD;\n background: transparent;\n}\n\n.buttonContainer{\n display: flex;\n align-items: center;\n flex-direction: column;\n gap: 20px;\n}\n\n"]))),wk=xo.div(sk||(sk=Fn(["\n /* max-width: 1440px; */\n padding: 50px 100px;\n margin: 0;\n\n border-radius: 8px;\n background: #F1F5FF;\n\n\n"]))),Ck=xo.h2(uk||(uk=Fn(["\n color: #141414;\n\n font-family: 'Roboto', sans-serif;\n font-size: 32px;\n font-weight: 500;\n"]))),jk=xo.h3(ck||(ck=Fn(["\n color: #141414;\n\n margin-bottom: 32px;\n\n font-family: 'Roboto', sans-serif;\n font-size: 24px;\n font-weight: 500;\n"]))),Sk=xo.span(fk||(fk=Fn(["\n color: red;\n font-size: 22px;\n padding-left: 5px;\n"]))),kk=xo.p(dk||(dk=Fn(["\n color: #4B4B4B;\n\n margin: 16px 0;\n\n font-family: 'Roboto', sans-serif;\n font-size: 16px;\n font-weight: 400;\n"]))),Ek=bh({name:"modal",initialState:{car:[],isOpen:!1,isLoading:!1,error:null},reducers:{setIsOpen:function(e,t){e.isOpen=t.payload}}}),Ok=Ek.actions.setIsOpen,_k=function(e){return e.modal.isOpen},Tk=Ek.reducer,Ak=function(){return(0,jo.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,jo.jsx)("path",{d:"M15 15L10 10M10 10L5 5M10 10L15 5M10 10L5 15",stroke:"#4B4B4B",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},Pk=function(){return(0,jo.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",children:(0,jo.jsx)("path",{d:"M15.9987 20.0002L9.33203 13.3335H22.6654L15.9987 20.0002Z",fill:"#141414",fillOpacity:"0.7"})})},Nk=xo.div(pk||(pk=Fn(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background: rgba(18, 20, 23, 0.5);\n opacity: 1;\n z-index: 1000;\n overflow: auto;\n"]))),Rk=xo.div(hk||(hk=Fn(["\n position: fixed;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n max-height: 100%;\n opacity: 1;\n z-index: 1000;\n"]))),Dk=function(t){var n=t.children,r=Yo(),i=Vo(_k);return(0,e.useEffect)((function(){var e=function(e){"Escape"===e.code&&r(Ok(!1))};return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}),[r,i]),(0,jo.jsx)(jo.Fragment,{children:(0,jo.jsx)(Nk,{onClick:function(e){e.currentTarget===e.target&&r(Ok(!1))},children:(0,jo.jsx)(Rk,{children:n})})})},Lk=xo.div(vk||(vk=Fn(["\n position: relative;\n width: 670px;\n height: 310px;\n display: flex;\n flex-direction: column;\n align-items: center;\n\n border-radius: 8px;\n border: 1px solid #b9b9b9;\n background: #fff;\n\n .xBtn {\n background: transparent;\n border: 0;\n position: absolute;\n right: 30px;\n top: 30px;\n }\n .title {\n margin-top: 80px;\n color: #000;\n font-family: 'Roboto', sans-serif;\n font-size: 22px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n }\n\n .cringe {\n color: #000;\n font-family: 'Roboto', sans-serif;\n font-size: 24px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n }\n .content {\n margin-top: 6px;\n color: #4b4b4b;\n text-align: center;\n font-family: 'Roboto', sans-serif;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n }\n .buttonBox {\n display: flex;\n justify-content: center;\n align-items: center;\n margin-top: 42px;\n gap: 40px;\n }\n .cansel {\n color: #0d0c0c;\n background-color: transparent;\n text-align: center;\n font-family: 'Roboto', sans-serif;\n font-size: 22px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n\n display: flex;\n width: 200px;\n height: 56px;\n padding: 14px 24px;\n justify-content: center;\n align-items: center;\n gap: 4px;\n\n border-radius: 8px;\n border: 2px solid #0040bd;\n }\n .confirm {\n color: #fff;\n text-align: center;\n font-family: 'Roboto', sans-serif;\n font-size: 22px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n\n display: flex;\n width: 200px;\n height: 56px;\n padding: 14px 24px;\n justify-content: center;\n align-items: center;\n gap: 4px;\n\n border-radius: 8px;\n background: linear-gradient(144deg, #0040bd 19.1%, #19015b 78.89%);\n }\n"]))),Fk=function(){return(0,jo.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"26",height:"26",viewBox:"0 0 26 26",fill:"none",children:[(0,jo.jsx)("line",{y1:"-1",x2:"33.3342",y2:"-1",transform:"matrix(0.700514 -0.713638 0.700514 0.713638 1.64844 26)",stroke:"black",strokeWidth:"2"}),(0,jo.jsx)("line",{y1:"-1",x2:"33.3342",y2:"-1",transform:"matrix(0.700514 0.713638 -0.700514 0.713638 1 2)",stroke:"black",strokeWidth:"2"})]})},Ik=function(e){var t=e.handleSearch1,n=Yo(),r=function(){n(Ok(!1))};return(0,jo.jsxs)(Lk,{children:[(0,jo.jsx)("button",{type:"button",onClick:r,className:"xBtn",children:(0,jo.jsx)(Fk,{})}),(0,jo.jsxs)("h4",{className:"title",children:["\u0412\u0438 \u0432\u043f\u0435\u0432\u043d\u0435\u043d\u0456 \u0449\u043e \u0445\u043e\u0447\u0435\u0442\u0435 ",(0,jo.jsx)("span",{className:"cringe",children:"\u043e\u0447\u0438\u0441\u0442\u0438\u0442\u0438"})," \u0444\u0456\u043b\u044c\u0442\u0440\u0438?"]}),(0,jo.jsxs)("p",{className:"content",children:["\u041d\u0430\u0442\u0438\u0441\u043a\u0430\u044e\u0447\u0438 \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 \u201c\u043f\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438\u201d \u0444\u043e\u0440\u043c\u0430 \u0437\u0430\u043f\u043e\u0432\u043d\u0435\u043d\u043d\u044f ",(0,jo.jsx)("br",{}),"\u043e\u0433\u043e\u043b\u043e\u0448\u0435\u043d\u043d\u044f \u043f\u043e\u0432\u043d\u0456\u0441\u0442\u044e \u043e\u0447\u0438\u0441\u0442\u0438\u0442\u044c\u0441\u044f"]}),(0,jo.jsxs)("div",{className:"buttonBox",children:[(0,jo.jsx)("button",{type:"button",onClick:r,className:"cansel",children:"\u0412\u0456\u0434\u043c\u0456\u043d\u0438\u0442\u0438"}),(0,jo.jsx)("button",{type:"button",onClick:function(){t({"advertisementDTO.carDTO.carMark.name":"","advertisementDTO.carDTO.carMark.carModel.name":"","advertisementDTO.carDTO.carNumber":"","advertisementDTO.region.name":"","advertisementDTO.region.city.name":"","advertisementDTO.carDTO.mileage":"","advertisementDTO.carDTO.yearToCreate":"","advertisementDTO.price":"","advertisementDTO.carDTO.bodyType.name":"","advertisementDTO.carDTO.engine.name":"","advertisementDTO.carDTO.engine.volume":"","advertisementDTO.carDTO.driveType.name":"","advertisementDTO.carDTO.transmission.name":"","advertisementDTO.carDTO.technicalState.name":"","advertisementDTO.carDTO.color.name":"","advertisementDTO.carDTO.vinNumber":"","advertisementDTO.description":"","advertisementDTO.ownerName":"","advertisementDTO.ownerPhone":""}),n(Ok(!1))},className:"confirm",children:"\u041f\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438"})]})]})},Mk=function(e){var t=e.handleSearch1,n=Vo(_k);return Oo.createPortal((0,jo.jsx)(jo.Fragment,{children:n&&(0,jo.jsx)(Dk,{children:(0,jo.jsx)(Ik,{handleSearch1:t})})}),document.getElementById("portal"))},zk=n(7),Bk=n.n(zk),Vk=new Map([["aac","audio/aac"],["abw","application/x-abiword"],["arc","application/x-freearc"],["avif","image/avif"],["avi","video/x-msvideo"],["azw","application/vnd.amazon.ebook"],["bin","application/octet-stream"],["bmp","image/bmp"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["cda","application/x-cdf"],["csh","application/x-csh"],["css","text/css"],["csv","text/csv"],["doc","application/msword"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["eot","application/vnd.ms-fontobject"],["epub","application/epub+zip"],["gz","application/gzip"],["gif","image/gif"],["heic","image/heic"],["heif","image/heif"],["htm","text/html"],["html","text/html"],["ico","image/vnd.microsoft.icon"],["ics","text/calendar"],["jar","application/java-archive"],["jpeg","image/jpeg"],["jpg","image/jpeg"],["js","text/javascript"],["json","application/json"],["jsonld","application/ld+json"],["mid","audio/midi"],["midi","audio/midi"],["mjs","text/javascript"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mpeg","video/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["opus","audio/opus"],["otf","font/otf"],["png","image/png"],["pdf","application/pdf"],["php","application/x-httpd-php"],["ppt","application/vnd.ms-powerpoint"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["rar","application/vnd.rar"],["rtf","application/rtf"],["sh","application/x-sh"],["svg","image/svg+xml"],["swf","application/x-shockwave-flash"],["tar","application/x-tar"],["tif","image/tiff"],["tiff","image/tiff"],["ts","video/mp2t"],["ttf","font/ttf"],["txt","text/plain"],["vsd","application/vnd.visio"],["wav","audio/wav"],["weba","audio/webm"],["webm","video/webm"],["webp","image/webp"],["woff","font/woff"],["woff2","font/woff2"],["xhtml","application/xhtml+xml"],["xls","application/vnd.ms-excel"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xml","application/xml"],["xul","application/vnd.mozilla.xul+xml"],["zip","application/zip"],["7z","application/x-7z-compressed"],["mkv","video/x-matroska"],["mov","video/quicktime"],["msg","application/vnd.ms-outlook"]]);function Uk(e,t){var n=function(e){var t=e.name;if(t&&-1!==t.lastIndexOf(".")&&!e.type){var n=t.split(".").pop().toLowerCase(),r=Vk.get(n);r&&Object.defineProperty(e,"type",{value:r,writable:!1,configurable:!1,enumerable:!0})}return e}(e);if("string"!==typeof n.path){var r=e.webkitRelativePath;Object.defineProperty(n,"path",{value:"string"===typeof t?t:"string"===typeof r&&r.length>0?r:e.name,writable:!1,configurable:!1,enumerable:!0})}return n}var Hk=[".DS_Store","Thumbs.db"];function Wk(e){return"object"===typeof e&&null!==e}function $k(e){return Zk(e.target.files).map((function(e){return Uk(e)}))}function Kk(e){return Mn(this,void 0,void 0,(function(){return zn(this,(function(t){switch(t.label){case 0:return[4,Promise.all(e.map((function(e){return e.getFile()})))];case 1:return[2,t.sent().map((function(e){return Uk(e)}))]}}))}))}function Gk(e,t){return Mn(this,void 0,void 0,(function(){var n;return zn(this,(function(r){switch(r.label){case 0:return e.items?(n=Zk(e.items).filter((function(e){return"file"===e.kind})),"drop"!==t?[2,n]:[4,Promise.all(n.map(Yk))]):[3,2];case 1:return[2,qk(Qk(r.sent()))];case 2:return[2,qk(Zk(e.files).map((function(e){return Uk(e)})))]}}))}))}function qk(e){return e.filter((function(e){return-1===Hk.indexOf(e.name)}))}function Zk(e){if(null===e)return[];for(var t=[],n=0;ne.length)&&(t=e.length);for(var n=0,r=new Array(t);nn)return[!1,vE(n)];if(e.sizen)return[!1,vE(n)]}return[!0,null]}function xE(e){return void 0!==e&&null!==e}function wE(e){var t=e.files,n=e.accept,r=e.minSize,i=e.maxSize,o=e.multiple,a=e.maxFiles,l=e.validator;return!(!o&&t.length>1||o&&a>=1&&t.length>a)&&t.every((function(e){var t=lE(yE(e,n),1)[0],o=lE(bE(e,r,i),1)[0],a=l?l(e):null;return t&&o&&!a}))}function CE(e){return"function"===typeof e.isPropagationStopped?e.isPropagationStopped():"undefined"!==typeof e.cancelBubble&&e.cancelBubble}function jE(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,(function(e){return"Files"===e||"application/x-moz-file"===e})):!!e.target&&!!e.target.files}function SE(e){e.preventDefault()}function kE(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}function EE(e){return-1!==e.indexOf("Edge/")}function OE(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return kE(e)||EE(e)}function _E(){for(var e=arguments.length,t=new Array(e),n=0;n1?n-1:0),i=1;ie.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var qE=(0,e.forwardRef)((function(t,n){var r=t.children,i=QE(GE(t,FE)),o=i.open,a=GE(i,IE);return(0,e.useImperativeHandle)(n,(function(){return{open:o}}),[o]),e.createElement(e.Fragment,null,r($E($E({},a),{},{open:o})))}));qE.displayName="Dropzone";var ZE={disabled:!1,getFilesFromEvent:function(e){return Mn(this,void 0,void 0,(function(){return zn(this,(function(t){return Wk(e)&&Wk(e.dataTransfer)?[2,Gk(e.dataTransfer,e.type)]:function(e){return Wk(e)&&Wk(e.target)}(e)?[2,$k(e)]:Array.isArray(e)&&e.every((function(e){return"getFile"in e&&"function"===typeof e.getFile}))?[2,Kk(e)]:[2,[]]}))}))},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!0,autoFocus:!1};qE.defaultProps=ZE,qE.propTypes={children:Bk().func,accept:Bk().objectOf(Bk().arrayOf(Bk().string)),multiple:Bk().bool,preventDropOnDocument:Bk().bool,noClick:Bk().bool,noKeyboard:Bk().bool,noDrag:Bk().bool,noDragEventsBubbling:Bk().bool,minSize:Bk().number,maxSize:Bk().number,maxFiles:Bk().number,disabled:Bk().bool,getFilesFromEvent:Bk().func,onFileDialogCancel:Bk().func,onFileDialogOpen:Bk().func,useFsAccessApi:Bk().bool,autoFocus:Bk().bool,onDragEnter:Bk().func,onDragLeave:Bk().func,onDragOver:Bk().func,onDrop:Bk().func,onDropAccepted:Bk().func,onDropRejected:Bk().func,onError:Bk().func,validator:Bk().func};var YE={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,acceptedFiles:[],fileRejections:[]};function QE(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=$E($E({},ZE),t),r=n.accept,i=n.disabled,o=n.getFilesFromEvent,a=n.maxSize,l=n.minSize,s=n.multiple,u=n.maxFiles,c=n.onDragEnter,f=n.onDragLeave,d=n.onDragOver,p=n.onDrop,h=n.onDropAccepted,v=n.onDropRejected,m=n.onFileDialogCancel,g=n.onFileDialogOpen,y=n.useFsAccessApi,b=n.autoFocus,x=n.preventDropOnDocument,w=n.noClick,C=n.noKeyboard,j=n.noDrag,S=n.noDragEventsBubbling,k=n.onError,E=n.validator,O=(0,e.useMemo)((function(){return PE(r)}),[r]),_=(0,e.useMemo)((function(){return AE(r)}),[r]),T=(0,e.useMemo)((function(){return"function"===typeof g?g:JE}),[g]),A=(0,e.useMemo)((function(){return"function"===typeof m?m:JE}),[m]),P=(0,e.useRef)(null),N=(0,e.useRef)(null),R=(0,e.useReducer)(XE,YE),D=VE(R,2),L=D[0],F=D[1],I=L.isFocused,M=L.isFileDialogActive,z=(0,e.useRef)("undefined"!==typeof window&&window.isSecureContext&&y&&TE()),B=function(){!z.current&&M&&setTimeout((function(){N.current&&(N.current.files.length||(F({type:"closeDialog"}),A()))}),300)};(0,e.useEffect)((function(){return window.addEventListener("focus",B,!1),function(){window.removeEventListener("focus",B,!1)}}),[N,M,A,z]);var V=(0,e.useRef)([]),U=function(e){P.current&&P.current.contains(e.target)||(e.preventDefault(),V.current=[])};(0,e.useEffect)((function(){return x&&(document.addEventListener("dragover",SE,!1),document.addEventListener("drop",U,!1)),function(){x&&(document.removeEventListener("dragover",SE),document.removeEventListener("drop",U))}}),[P,x]),(0,e.useEffect)((function(){return!i&&b&&P.current&&P.current.focus(),function(){}}),[P,b,i]);var H=(0,e.useCallback)((function(e){k?k(e):console.error(e)}),[k]),W=(0,e.useCallback)((function(e){e.preventDefault(),e.persist(),re(e),V.current=[].concat(BE(V.current),[e.target]),jE(e)&&Promise.resolve(o(e)).then((function(t){if(!CE(e)||S){var n=t.length,r=n>0&&wE({files:t,accept:O,minSize:l,maxSize:a,multiple:s,maxFiles:u,validator:E});F({isDragAccept:r,isDragReject:n>0&&!r,isDragActive:!0,type:"setDraggedFiles"}),c&&c(e)}})).catch((function(e){return H(e)}))}),[o,c,H,S,O,l,a,s,u,E]),$=(0,e.useCallback)((function(e){e.preventDefault(),e.persist(),re(e);var t=jE(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(n){}return t&&d&&d(e),!1}),[d,S]),K=(0,e.useCallback)((function(e){e.preventDefault(),e.persist(),re(e);var t=V.current.filter((function(e){return P.current&&P.current.contains(e)})),n=t.indexOf(e.target);-1!==n&&t.splice(n,1),V.current=t,t.length>0||(F({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),jE(e)&&f&&f(e))}),[P,f,S]),G=(0,e.useCallback)((function(e,t){var n=[],r=[];e.forEach((function(e){var t=VE(yE(e,O),2),i=t[0],o=t[1],s=VE(bE(e,l,a),2),u=s[0],c=s[1],f=E?E(e):null;if(i&&u&&!f)n.push(e);else{var d=[o,c];f&&(d=d.concat(f)),r.push({file:e,errors:d.filter((function(e){return e}))})}})),(!s&&n.length>1||s&&u>=1&&n.length>u)&&(n.forEach((function(e){r.push({file:e,errors:[gE]})})),n.splice(0)),F({acceptedFiles:n,fileRejections:r,type:"setFiles"}),p&&p(n,r,t),r.length>0&&v&&v(r,t),n.length>0&&h&&h(n,t)}),[F,s,O,l,a,u,p,h,v,E]),q=(0,e.useCallback)((function(e){e.preventDefault(),e.persist(),re(e),V.current=[],jE(e)&&Promise.resolve(o(e)).then((function(t){CE(e)&&!S||G(t,e)})).catch((function(e){return H(e)})),F({type:"reset"})}),[o,G,H,S]),Z=(0,e.useCallback)((function(){if(z.current){F({type:"openDialog"}),T();var e={multiple:s,types:_};window.showOpenFilePicker(e).then((function(e){return o(e)})).then((function(e){G(e,null),F({type:"closeDialog"})})).catch((function(e){NE(e)?(A(e),F({type:"closeDialog"})):RE(e)?(z.current=!1,N.current?(N.current.value=null,N.current.click()):H(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no was provided."))):H(e)}))}else N.current&&(F({type:"openDialog"}),T(),N.current.value=null,N.current.click())}),[F,T,A,y,G,H,_,s]),Y=(0,e.useCallback)((function(e){P.current&&P.current.isEqualNode(e.target)&&(" "!==e.key&&"Enter"!==e.key&&32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),Z()))}),[P,Z]),Q=(0,e.useCallback)((function(){F({type:"focus"})}),[]),X=(0,e.useCallback)((function(){F({type:"blur"})}),[]),J=(0,e.useCallback)((function(){w||(OE()?setTimeout(Z,0):Z())}),[w,Z]),ee=function(e){return i?null:e},te=function(e){return C?null:ee(e)},ne=function(e){return j?null:ee(e)},re=function(e){S&&e.stopPropagation()},ie=(0,e.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.role,o=e.onKeyDown,a=e.onFocus,l=e.onBlur,s=e.onClick,u=e.onDragEnter,c=e.onDragOver,f=e.onDragLeave,d=e.onDrop,p=GE(e,ME);return $E($E(KE({onKeyDown:te(_E(o,Y)),onFocus:te(_E(a,Q)),onBlur:te(_E(l,X)),onClick:ee(_E(s,J)),onDragEnter:ne(_E(u,W)),onDragOver:ne(_E(c,$)),onDragLeave:ne(_E(f,K)),onDrop:ne(_E(d,q)),role:"string"===typeof r&&""!==r?r:"presentation"},n,P),i||C?{}:{tabIndex:0}),p)}}),[P,Y,Q,X,J,W,$,K,q,C,j,i]),oe=(0,e.useCallback)((function(e){e.stopPropagation()}),[]),ae=(0,e.useMemo)((function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,n=void 0===t?"ref":t,r=e.onChange,i=e.onClick,o=GE(e,zE),a=KE({accept:O,multiple:s,type:"file",style:{display:"none"},onChange:ee(_E(r,q)),onClick:ee(_E(i,oe)),tabIndex:-1},n,N);return $E($E({},a),o)}}),[N,r,s,q,i]);return $E($E({},L),{},{isFocused:I&&!i,getRootProps:ie,getInputProps:ae,rootRef:P,inputRef:N,open:ee(Z)})}function XE(e,t){switch(t.type){case"focus":return $E($E({},e),{},{isFocused:!0});case"blur":return $E($E({},e),{},{isFocused:!1});case"openDialog":return $E($E({},YE),{},{isFileDialogActive:!0});case"closeDialog":return $E($E({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return $E($E({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return $E($E({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections});case"reset":return $E({},YE);default:return e}}function JE(){}var eO,tO,nO,rO,iO,oO,aO,lO,sO,uO,cO,fO,dO={BMW:["X5","M3","X3"],Toyota:["Camry","Corolla","Avalon"],"Mercedes-Benz":["A-Class","B-Class","C-Class"]},pO={"\u041a\u0438\u0457\u0432\u0441\u044c\u043a\u0430":["\u041a\u0438\u0457\u0432","\u0411\u0456\u043b\u0430-\u0446\u0435\u0440\u043a\u0432\u0430","\u0411\u0440\u043e\u0432\u0430\u0440\u0438","\u0406\u0440\u043f\u0456\u043d\u044c"],"\u0412\u0456\u043d\u043d\u0438\u0446\u044c\u043a\u0430":["\u0412\u0456\u043d\u043d\u0438\u0446\u044f","\u0425\u043c\u0435\u043b\u044c\u043d\u0438\u0446\u044c\u043a\u0438\u0439","\u0411\u0430\u0440"],"\u0412\u043e\u043b\u0438\u043d\u0441\u044c\u043a\u0430":["\u041b\u0443\u0446\u044c\u043a","\u041a\u043e\u0432\u0435\u043b\u044c","\u041d\u043e\u0432\u043e\u0432\u043e\u043b\u0438\u043d\u044c"],"\u0414\u043d\u0456\u043f\u0440\u043e\u043f\u0435\u0442\u0440\u043e\u0432\u0441\u044c\u043a\u0430":["\u0414\u043d\u0456\u043f\u0440\u043e","\u041a\u0440\u0438\u0432\u0438\u0439 \u0420\u0456\u0433","\u041d\u0456\u043a\u043e\u043f\u043e\u043b\u044c"],"\u0414\u043e\u043d\u0435\u0446\u044c\u043a\u0430":["\u0414\u043e\u043d\u0435\u0446\u044c\u043a","\u041c\u0430\u0440\u0456\u0443\u043f\u043e\u043b\u044c","\u041c\u0430\u043a\u0456\u0457\u0432\u043a\u0430"],"\u0416\u0438\u0442\u043e\u043c\u0438\u0440\u0441\u044c\u043a\u0430":["\u0416\u0438\u0442\u043e\u043c\u0438\u0440","\u041a\u043e\u0440\u043e\u0441\u0442\u0435\u043d\u044c","\u0411\u0435\u0440\u0434\u0438\u0447\u0456\u0432"],"\u0417\u0430\u043a\u0430\u0440\u043f\u0430\u0442\u0441\u044c\u043a\u0430":["\u0423\u0436\u0433\u043e\u0440\u043e\u0434","\u041c\u0443\u043a\u0430\u0447\u0435\u0432\u043e","\u0425\u0443\u0441\u0442"],"\u0417\u0430\u043f\u043e\u0440\u0456\u0437\u044c\u043a\u0430":["\u0417\u0430\u043f\u043e\u0440\u0456\u0436\u0436\u044f","\u041c\u0435\u043b\u0456\u0442\u043e\u043f\u043e\u043b\u044c","\u0411\u0435\u0440\u0434\u044f\u043d\u0441\u044c\u043a"],"\u0406\u0432\u0430\u043d\u043e-\u0424\u0440\u0430\u043d\u043a\u0456\u0432\u0441\u044c\u043a\u0430":["\u0406\u0432\u0430\u043d\u043e-\u0424\u0440\u0430\u043d\u043a\u0456\u0432\u0441\u044c\u043a","\u042f\u0440\u0435\u043c\u0447\u0435","\u041a\u043e\u043b\u043e\u043c\u0438\u044f"],"\u041a\u0456\u0440\u043e\u0432\u043e\u0433\u0440\u0430\u0434\u0441\u044c\u043a\u0430":["\u041a\u0440\u043e\u043f\u0438\u0432\u043d\u0438\u0446\u044c\u043a\u0438\u0439","\u0421\u0432\u0456\u0442\u043b\u043e\u0432\u043e\u0434\u0441\u044c\u043a","\u041e\u043b\u0435\u043a\u0441\u0430\u043d\u0434\u0440\u0456\u044f"],"\u041b\u0443\u0433\u0430\u043d\u0441\u044c\u043a\u0430":["\u041b\u0443\u0433\u0430\u043d\u0441\u044c\u043a","\u0410\u043b\u0447\u0435\u0432\u0441\u044c\u043a","\u0421\u0435\u0432\u0435\u0440\u043e\u0434\u043e\u043d\u0435\u0446\u044c\u043a"],"\u041b\u044c\u0432\u0456\u0432\u0441\u044c\u043a\u0430":["\u041b\u044c\u0432\u0456\u0432","\u0414\u0440\u043e\u0433\u043e\u0431\u0438\u0447","\u0422\u0440\u0443\u0441\u043a\u0430\u0432\u0435\u0446\u044c"],"\u041c\u0438\u043a\u043e\u043b\u0430\u0457\u0432\u0441\u044c\u043a\u0430":["\u041c\u0438\u043a\u043e\u043b\u0456\u0457\u0432","\u041f\u0435\u0440\u0432\u043e\u043c\u0430\u0439\u0441\u044c\u043a","\u0412\u043e\u0437\u043d\u0435\u0441\u0435\u043d\u0441\u044c\u043a"],"\u041e\u0434\u0435\u0441\u044c\u043a\u0430":["\u041e\u0434\u0435\u0441\u0430","\u0427\u043e\u0440\u043d\u043e\u043c\u043e\u0440\u0441\u044c\u043a","\u0406\u0437\u043c\u0430\u0457\u043b"],"\u041f\u043e\u043b\u0442\u0430\u0432\u0441\u044c\u043a\u0430":["\u041f\u043e\u043b\u0442\u0430\u0432\u0430","\u041a\u0440\u0435\u043c\u0435\u043d\u0447\u0443\u043a","\u041c\u0438\u0440\u0433\u043e\u0440\u043e\u0434"],"\u0420\u0456\u0432\u0435\u043d\u0441\u044c\u043a\u0430":["\u0420\u0456\u0432\u043d\u0435","\u041a\u043e\u0441\u0442\u043e\u043f\u0456\u043b\u044c","\u0414\u0443\u0431\u043d\u043e"],"\u0421\u0443\u043c\u0441\u044c\u043a\u0430":["\u0421\u0443\u043c\u0438","\u041a\u043e\u043d\u043e\u0442\u043e\u043f","\u0428\u043e\u0441\u0442\u043a\u0430"],"\u0422\u0435\u0440\u043d\u043e\u043f\u0456\u043b\u044c\u0441\u044c\u043a\u0430":["\u0422\u0435\u0440\u043d\u043e\u043f\u0456\u043b\u044c","\u0427\u043e\u0440\u0442\u043a\u0456\u0432","\u0411\u0435\u0440\u0435\u0436\u0430\u043d\u0438"],"\u0427\u0435\u0440\u043a\u0430\u0441\u044c\u043a\u0430":["\u0427\u0435\u0440\u043a\u0430\u0441\u0438","\u0421\u043c\u0456\u043b\u0430","\u0417\u043e\u043b\u043e\u0442\u043e\u043d\u043e\u0448\u0456"],"\u0427\u0435\u0440\u043d\u0456\u0432\u0435\u0446\u044c\u043a\u0430":["\u0427\u0435\u0440\u043d\u0456\u0432\u0446\u0456","\u0412\u0430\u0448\u043a\u0456\u0432\u0446\u0456","\u0425\u043e\u0442\u0438\u043d"],"\u0427\u0435\u0440\u043d\u0456\u0433\u0456\u0432\u0441\u044c\u043a\u0430":["\u0427\u0435\u0440\u043d\u0456\u0433\u0456\u0432","\u041d\u0456\u0436\u0438\u043d","\u041f\u0440\u0438\u043b\u0443\u043a\u0438"],"\u0425\u0430\u0440\u043a\u0456\u0432\u0441\u044c\u043a\u0430":["\u0425\u0430\u0440\u043a\u0456\u0432","\u0406\u0437\u044e\u043c","\u0411\u0430\u043b\u0430\u043a\u043b\u0435\u044f"],"\u0425\u0435\u0440\u0441\u043e\u043d\u0441\u044c\u043a\u0430":["\u0425\u0435\u0440\u0441\u043e\u043d","\u041d\u043e\u0432\u0430 \u041a\u0430\u0445\u043e\u0432\u043a\u0430","\u0421\u043a\u0430\u0434\u043e\u0432\u0441\u044c\u043a"],"\u0425\u043c\u0435\u043b\u044c\u043d\u0438\u0446\u044c\u043a\u0430":["\u0425\u043c\u0435\u043b\u044c\u043d\u0438\u0446\u044c\u043a\u0438\u0439","\u041a\u0430\u043c\u02bc\u044f\u043d\u0435\u0446\u044c-\u041f\u043e\u0434\u0456\u043b\u044c\u0441\u044c\u043a\u0438\u0439","\u0428\u0435\u043f\u0435\u0442\u0456\u0432\u043a\u0430"]},hO=function(t){var n=t.initialValues,r=Yo(),i=(0,e.useRef)(null),o=Vo((function(e){return e.auth})).token,a=j((0,e.useState)([]),2),s=a[0],u=a[1],c=j((0,e.useState)(""),2),f=c[0],d=c[1],p=j((0,e.useState)(""),2),h=p[0],v=p[1],m=j((0,e.useState)([]),2),g=m[0],y=m[1],b=function(){var e=zd(O().mark((function e(t){var n,r;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,console.log("token:",o),(n=new FormData).append("advertisementDTO",JSON.stringify(t.advertisementDTO)),e.next=6,gm.post("https://185.69.153.118:8443/api/advertisements/create",n,{headers:{"Content-Type":"multipart/form-data",Authorization:"Bearer ".concat(o.replace(/"/g,""))}});case 6:r=e.sent,console.log("Response:",r.data),e.next=13;break;case 10:e.prev=10,e.t0=e.catch(0),console.error("Error:",e.t0);case 13:case"end":return e.stop()}}),e,null,[[0,10]])})));return function(t){return e.apply(this,arguments)}}();(0,e.useEffect)((function(){i.current&&i.current.resetForm({values:n})}),[n]);var x=QE({onDrop:function(e){y([].concat(l(g),l(e))),i.current.setFieldValue("photos",[].concat(l(g),l(e)))},accept:"image/*",multiple:!0}),w=x.getRootProps,C=x.getInputProps;return(0,jo.jsx)(Hx,{initialValues:n,onSubmit:function(e){return b(e)},innerRef:function(e){return i.current=e},children:(0,jo.jsxs)(Zx,{className:"form",children:[(0,jo.jsx)("button",{className:"clearButton",onClick:function(){r(Ok(!0))},type:"button",children:"\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0432\u0441\u0435"}),(0,jo.jsxs)(wk,{children:[(0,jo.jsx)(jk,{children:"\u0415\u0442\u0430\u043f\u0438 \u0440\u043e\u0437\u043c\u0456\u0449\u0435\u043d\u043d\u044f \u043e\u0433\u043e\u043b\u043e\u0448\u0435\u043d\u043d\u044f"}),(0,jo.jsxs)("div",{className:"styled",children:[(0,jo.jsx)(gk,{}),(0,jo.jsxs)("div",{className:"create",children:[(0,jo.jsx)(yk,{}),(0,jo.jsx)("p",{className:"create_text",children:"1. \u0421\u0442\u0432\u043e\u0440\u0435\u043d\u043d\u044f"})]}),(0,jo.jsxs)("div",{className:"post",children:[(0,jo.jsx)(bk,{}),(0,jo.jsx)("p",{className:"post_text",children:"2. \u041f\u0443\u0431\u043b\u0456\u043a\u0430\u0446\u0456\u044f"})]})]})]}),(0,jo.jsxs)(wk,{children:[(0,jo.jsxs)(jk,{children:["\u0424\u043e\u0442\u043e \u0430\u0432\u0442\u043e\u043c\u043e\u0431\u0456\u043b\u044e",(0,jo.jsx)(Sk,{children:"*"})]}),(0,jo.jsx)(kk,{children:"\u041f\u0435\u0440\u0448\u0435 \u0444\u043e\u0442\u043e \u0454 \u0433\u043e\u043b\u043e\u0432\u043d\u0438\u043c. \u041c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u0438\u0439 \u0440\u043e\u0437\u043c\u0456\u0440 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0456\u0457 \u0434\u043e 5 \u041c\u0411. \u0424\u043e\u0440\u043c\u0430\u0442 \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0456\u0457: JPG, PNG. \u041c\u0456\u043d\u0456\u043c\u0430\u043b\u044c\u043d\u0430 \u043a\u0456\u043b\u044c\u043a\u0456\u0441\u0442\u044c \u0444\u043e\u0442\u043e\u0433\u0440\u0430\u0444\u0456\u0439 - 6."}),(0,jo.jsxs)("div",{children:[(0,jo.jsx)("button",ss(ss({type:"button"},w()),{},{style:{marginTop:"10px",border:"2px dashed #eeeeee",padding:"20px",borderRadius:"4px"},children:"\u041d\u0430\u0442\u0438\u0441\u043d\u0456\u0442\u044c \u0430\u0431\u043e \u043f\u0435\u0440\u0435\u0442\u044f\u0433\u043d\u0456\u0442\u044c \u0444\u0430\u0439\u043b\u0438 \u0441\u044e\u0434\u0438 \u0434\u043b\u044f \u0437\u0430\u0432\u0430\u043d\u0442\u0430\u0436\u0435\u043d\u043d\u044f"})),(0,jo.jsx)("input",ss({},C()))]}),(0,jo.jsx)("div",{children:g.map((function(e,t){return(0,jo.jsx)("div",{style:{display:"inline-block",marginRight:"10px"},children:(0,jo.jsx)("img",{src:URL.createObjectURL(e),alt:e.name,style:{width:"100px",height:"100px",objectFit:"cover"}})},t)}))})]}),(0,jo.jsxs)(wk,{children:[(0,jo.jsx)(jk,{children:"\u041e\u0441\u043d\u043e\u0432\u043d\u0430 \u0456\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0456\u044f"}),(0,jo.jsxs)("label",{children:[(0,jo.jsxs)("div",{className:"containerLong",children:["\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0456\u044f",(0,jo.jsx)(Sk,{children:"*"})]}),(0,jo.jsxs)("div",{className:"arrowDiv",children:[(0,jo.jsxs)(qx,{className:"fieldLong marg16",as:"select",name:"category",children:[(0,jo.jsx)("option",{value:"",children:"\u041e\u0431\u0435\u0440\u0456\u0442\u044c"}),(0,jo.jsx)("option",{value:"New",children:"\u041d\u043e\u0432\u0456"}),(0,jo.jsx)("option",{value:"Used",children:"\u0412\u0436\u0438\u0432\u0430\u043d\u0456"}),(0,jo.jsx)("option",{value:"Servitude",children:"\u041f\u0456\u0434 \u043f\u0440\u0438\u0433\u043e\u043d"})]}),(0,jo.jsx)("div",{className:"arrow",children:(0,jo.jsx)(Pk,{})})]})]}),(0,jo.jsxs)("label",{children:[(0,jo.jsxs)("div",{className:"containerLong",children:["\u041c\u0430\u0440\u043a\u0430 \u0430\u0432\u0442\u043e",(0,jo.jsx)(Sk,{children:"*"})]}),(0,jo.jsxs)("div",{className:"arrowDiv",children:[(0,jo.jsxs)(qx,{className:"fieldLong marg16",as:"select",name:"advertisementDTO.carDTO.carMark.name",onChange:function(e){var t=e.target.value;u(dO[t]||[]),i.current.setFieldValue("model",""),i.current.setFieldValue("brand",t)},children:[(0,jo.jsx)("option",{value:"",children:"\u041e\u0431\u0435\u0440\u0456\u0442\u044c"}),Object.keys(dO).map((function(e){return(0,jo.jsx)("option",{value:e,children:e},e)}))]}),(0,jo.jsx)("div",{className:"arrow",children:(0,jo.jsx)(Pk,{})})]})]}),(0,jo.jsxs)("label",{children:[(0,jo.jsxs)("div",{className:"containerLong",children:["\u041c\u043e\u0434\u0435\u043b\u044c \u0430\u0432\u0442\u043e ",(0,jo.jsx)(Sk,{children:"*"})]}),(0,jo.jsxs)("div",{className:"arrowDiv",children:[(0,jo.jsxs)(qx,{className:"fieldLong marg16",as:"select",name:"advertisementDTO.carDTO.carMark.carModel.name",children:[(0,jo.jsx)("option",{value:"",children:"\u041e\u0431\u0435\u0440\u0456\u0442\u044c"}),s.map((function(e){return(0,jo.jsx)("option",{value:e,children:e},e)}))]}),(0,jo.jsx)("div",{className:"arrow",children:(0,jo.jsx)(Pk,{})})]})]}),(0,jo.jsxs)("label",{children:[(0,jo.jsx)("div",{className:"containerLong",children:"\u041d\u043e\u043c\u0435\u0440\u043d\u0438\u0439 \u0437\u043d\u0430\u043a"}),(0,jo.jsx)(qx,{className:"fieldTextLong marg16",type:"text",name:"advertisementDTO.carDTO.carNumber",placeholder:"\u0410\u041a 9245 \u0410\u041a"})]}),(0,jo.jsxs)("label",{children:[(0,jo.jsxs)("div",{className:"containerLong",children:["\u041e\u0431\u043b\u0430\u0441\u0442\u044c",(0,jo.jsx)(Sk,{children:"*"})]}),(0,jo.jsxs)("div",{className:"arrowDiv",children:[(0,jo.jsxs)("select",{className:"fieldLong marg16",name:"advertisementDTO.region.name",onChange:function(e){var t=e.target.value;d(t),v(""),i.current.setFieldValue("city","")},value:f,children:[(0,jo.jsx)("option",{value:"",children:"\u041e\u0431\u0435\u0440\u0456\u0442\u044c"}),Object.keys(pO).map((function(e){return(0,jo.jsx)("option",{value:e,children:e},e)}))]}),(0,jo.jsx)("div",{className:"arrow",children:(0,jo.jsx)(Pk,{})})]})]}),(0,jo.jsxs)("label",{children:[(0,jo.jsxs)("div",{className:"containerLong",children:["\u041c\u0456\u0441\u0442\u043e",(0,jo.jsx)(Sk,{children:"*"})]}),(0,jo.jsxs)("div",{className:"arrowDiv",children:[(0,jo.jsxs)("select",{className:"fieldLong marg16",name:"advertisementDTO.region.city.name",onChange:function(e){var t=e.target.value;v(t),i.current.setFieldValue("city",t)},value:h,children:[(0,jo.jsx)("option",{value:"",children:"\u041e\u0431\u0435\u0440\u0456\u0442\u044c"}),pO[f]&&pO[f].map((function(e){return(0,jo.jsx)("option",{value:e,children:e},e)}))]}),(0,jo.jsx)("div",{className:"arrow",children:(0,jo.jsx)(Pk,{})})]})]}),(0,jo.jsxs)("label",{children:[(0,jo.jsxs)("div",{className:"containerLong",children:["\u041f\u0440\u043e\u0431\u0456\u0433 \u0434\u043e",(0,jo.jsx)(Sk,{children:"*"})]}),(0,jo.jsxs)("div",{className:"arrowDiv",children:[(0,jo.jsxs)(qx,{className:"fieldLong marg16",as:"select",name:"advertisementDTO.carDTO.mileage",children:[(0,jo.jsx)("option",{value:"",children:"\u041e\u0431\u0435\u0440\u0456\u0442\u044c"}),(0,jo.jsx)("option",{value:"10000",children:"10 \u0442\u0438\u0441 \u043a\u043c"}),(0,jo.jsx)("option",{value:"20000",children:"20 \u0442\u0438\u0441 \u043a\u043c"}),(0,jo.jsx)("option",{value:"30000",children:"30 \u0442\u0438\u0441 \u043a\u043c"}),(0,jo.jsx)("option",{value:"40000",children:"40 \u0442\u0438\u0441 \u043a\u043c"}),(0,jo.jsx)("option",{value:"50000",children:"50 \u0442\u0438\u0441 \u043a\u043c"}),(0,jo.jsx)("option",{value:"60000",children:"60 \u0442\u0438\u0441 \u043a\u043c"}),(0,jo.jsx)("option",{value:"70000",children:"70 \u0442\u0438\u0441 \u043a\u043c"}),(0,jo.jsx)("option",{value:"80000",children:"80 \u0442\u0438\u0441 \u043a\u043c"}),(0,jo.jsx)("option",{value:"90000",children:"90 \u0442\u0438\u0441 \u043a\u043c"}),(0,jo.jsx)("option",{value:"100000",children:"100 \u0442\u0438\u0441 \u043a\u043c"}),(0,jo.jsx)("option",{value:"125000",children:"125 \u0442\u0438\u0441 \u043a\u043c"}),(0,jo.jsx)("option",{value:"150000",children:"150 \u0442\u0438\u0441 \u043a\u043c"}),(0,jo.jsx)("option",{value:"200000",children:"200 \u0442\u0438\u0441 \u043a\u043c"}),(0,jo.jsx)("option",{value:"250000",children:"250 \u0442\u0438\u0441 \u043a\u043c"}),(0,jo.jsx)("option",{value:"300000",children:"300 \u0442\u0438\u0441 \u043a\u043c"})]}),(0,jo.jsx)("div",{className:"arrow",children:(0,jo.jsx)(Pk,{})})]})]}),(0,jo.jsxs)("label",{children:[(0,jo.jsxs)("div",{className:"containerLong",children:["\u0420\u0456\u043a \u0432\u0438\u043f\u0443\u0441\u043a\u0443",(0,jo.jsx)(Sk,{children:"*"})]}),(0,jo.jsxs)("div",{className:"arrowDiv",children:[(0,jo.jsxs)(qx,{className:"fieldShort marg16",as:"select",name:"advertisementDTO.carDTO.yearToCreate",children:[(0,jo.jsx)("option",{value:"",children:"\u041e\u0431\u0435\u0440\u0456\u0442\u044c"}),(0,jo.jsx)("option",{value:"1999",children:"1999"}),(0,jo.jsx)("option",{value:"2000",children:"2000"}),(0,jo.jsx)("option",{value:"2001",children:"2001"}),(0,jo.jsx)("option",{value:"2002",children:"2002"}),(0,jo.jsx)("option",{value:"2003",children:"2003"}),(0,jo.jsx)("option",{value:"2004",children:"2004"}),(0,jo.jsx)("option",{value:"2005",children:"2005"}),(0,jo.jsx)("option",{value:"2006",children:"2006"}),(0,jo.jsx)("option",{value:"2007",children:"2007"}),(0,jo.jsx)("option",{value:"2008",children:"2008"}),(0,jo.jsx)("option",{value:"2009",children:"2009"}),(0,jo.jsx)("option",{value:"2010",children:"2010"}),(0,jo.jsx)("option",{value:"2011",children:"2011"}),(0,jo.jsx)("option",{value:"2012",children:"2012"}),(0,jo.jsx)("option",{value:"2013",children:"2013"}),(0,jo.jsx)("option",{value:"2014",children:"2014"}),(0,jo.jsx)("option",{value:"2015",children:"2015"}),(0,jo.jsx)("option",{value:"2016",children:"2016"}),(0,jo.jsx)("option",{value:"2017",children:"2017"}),(0,jo.jsx)("option",{value:"2018",children:"2018"}),(0,jo.jsx)("option",{value:"2019",children:"2019"}),(0,jo.jsx)("option",{value:"2020",children:"2020"}),(0,jo.jsx)("option",{value:"2021",children:"2021"}),(0,jo.jsx)("option",{value:"2022",children:"2022"}),(0,jo.jsx)("option",{value:"2023",children:"2023"})]}),(0,jo.jsx)("div",{className:"arrow",children:(0,jo.jsx)(Pk,{})})]})]}),(0,jo.jsxs)("label",{children:[(0,jo.jsxs)("div",{className:"containerLong",children:["\u0426\u0456\u043d\u0430",(0,jo.jsx)(Sk,{children:"*"})]}),(0,jo.jsx)(qx,{className:"fieldTextShort",type:"text",name:"advertisementDTO.price",placeholder:"1000 $"})]})]}),(0,jo.jsxs)(wk,{children:[(0,jo.jsx)(jk,{children:"\u0422\u0435\u0445\u043d\u0456\u0447\u043d\u0456 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0438"}),(0,jo.jsxs)("label",{children:[(0,jo.jsxs)("div",{className:"containerLong",children:["\u0422\u0438\u043f \u043a\u0443\u0437\u043e\u0432\u0430",(0,jo.jsx)(Sk,{children:"*"})]}),(0,jo.jsxs)("div",{className:"arrowDiv",children:[(0,jo.jsxs)(qx,{className:"fieldLong marg16",as:"select",name:"advertisementDTO.carDTO.bodyType.name",children:[(0,jo.jsx)("option",{value:"",children:"\u041e\u0431\u0435\u0440\u0456\u0442\u044c"}),(0,jo.jsx)("option",{value:"\u0423\u043d\u0456\u0432\u0435\u0440\u0441\u0430\u043b",children:"\u0423\u043d\u0456\u0432\u0435\u0440\u0441\u0430\u043b"}),(0,jo.jsx)("option",{value:"\u0421\u0435\u0434\u0430\u043d",children:"\u0421\u0435\u0434\u0430\u043d"}),(0,jo.jsx)("option",{value:"\u041a\u0430\u0431\u0440\u0456\u043e\u043b\u0435\u0442",children:"\u041a\u0430\u0431\u0440\u0456\u043e\u043b\u0435\u0442"}),(0,jo.jsx)("option",{value:"\u041a\u0443\u043f\u0435",children:"\u041a\u0443\u043f\u0435"}),(0,jo.jsx)("option",{value:"\u0412\u043d\u0435\u0434\u043e\u0440\u043e\u0436\u043d\u0438\u043a",children:"\u0412\u043d\u0435\u0434\u043e\u0440\u043e\u0436\u043d\u0438\u043a"}),(0,jo.jsx)("option",{value:"\u0425\u0435\u0442\u0447\u0431\u0435\u043a",children:"\u0425\u0435\u0442\u0447\u0431\u0435\u043a"}),(0,jo.jsx)("option",{value:"\u041f\u0456\u043a\u0430\u043f",children:"\u041f\u0456\u043a\u0430\u043f"}),(0,jo.jsx)("option",{value:"\u041b\u0456\u043c\u0443\u0437\u0438\u043d",children:"\u041b\u0456\u043c\u0443\u0437\u0438\u043d"})]}),(0,jo.jsx)("div",{className:"arrow",children:(0,jo.jsx)(Pk,{})})]})]}),(0,jo.jsxs)("label",{children:[(0,jo.jsxs)("div",{className:"containerLong",children:["\u0414\u0432\u0438\u0433\u0443\u043d",(0,jo.jsx)(Sk,{children:"*"})]}),(0,jo.jsxs)("div",{className:"arrowDiv",children:[(0,jo.jsxs)(qx,{className:"fieldLong marg16",as:"select",name:"advertisementDTO.carDTO.engine.name",children:[(0,jo.jsx)("option",{value:"",children:"\u041e\u0431\u0435\u0440\u0456\u0442\u044c"}),(0,jo.jsx)("option",{value:"Electro",children:"\u0415\u043b\u0435\u043a\u0442\u0440\u0438\u0447\u043d\u0430 \u0441\u0438\u043b\u043e\u0432\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430"}),(0,jo.jsx)("option",{value:"Hibrid",children:"\u0413\u0456\u0431\u0440\u0456\u0434"}),(0,jo.jsx)("option",{value:"Gasoline",children:"\u0411\u0435\u043d\u0437\u0438\u043d\u043e\u0432\u0438\u0439"}),(0,jo.jsx)("option",{value:"Gaseous",children:"\u0413\u0430\u0437\u043e\u0432\u0438\u0439"}),(0,jo.jsx)("option",{value:"Diesel",children:"\u0414\u0438\u0437\u0435\u043b\u044c\u043d\u0438\u0439"})]}),(0,jo.jsx)("div",{className:"arrow",children:(0,jo.jsx)(Pk,{})})]})]}),(0,jo.jsxs)("label",{children:[(0,jo.jsxs)("div",{className:"containerLong",children:["\u041e\u0431\u2018\u0454\u043c \u0434\u0432\u0438\u0433\u0443\u043d\u0430 (\u043b)",(0,jo.jsx)(Sk,{children:"*"})]}),(0,jo.jsxs)("div",{className:"arrowDiv",children:[(0,jo.jsxs)(qx,{className:"fieldLong marg16",as:"select",name:"advertisementDTO.carDTO.engine.volume",children:[(0,jo.jsx)("option",{value:"",children:"\u041e\u0431\u0435\u0440\u0456\u0442\u044c"}),(0,jo.jsx)("option",{value:"Microliter",children:"\u0414\u043e 1,1 \u043b\u0456\u0442\u0440\u0430"}),(0,jo.jsx)("option",{value:"Low-volume",children:"\u0412\u0456\u0434 1,2 \u0434\u043e 1,7 \u043b\u0456\u0442\u0440\u0430"}),(0,jo.jsx)("option",{value:"Medium-sized",children:"\u0412\u0456\u0434 1,8 \u0434\u043e 3,3 \u043b\u0456\u0442\u0440\u0430"}),(0,jo.jsx)("option",{value:"Large-capacity",children:"\u0412\u0456\u0434 3,5 \u043b\u0456\u0442\u0440\u0430"})]}),(0,jo.jsx)("div",{className:"arrow",children:(0,jo.jsx)(Pk,{})})]})]}),(0,jo.jsxs)("label",{children:[(0,jo.jsxs)("div",{className:"containerLong",children:["\u041f\u0440\u0438\u0432\u0456\u0434",(0,jo.jsx)(Sk,{children:"*"})]}),(0,jo.jsxs)("div",{className:"arrowDiv",children:[(0,jo.jsxs)(qx,{className:"fieldLong marg16",as:"select",name:"advertisementDTO.carDTO.driveType.name",children:[(0,jo.jsx)("option",{value:"",children:"\u041e\u0431\u0435\u0440\u0456\u0442\u044c"}),(0,jo.jsx)("option",{value:"Front",children:"\u041f\u0435\u0440\u0435\u0434\u043d\u0456\u0439"}),(0,jo.jsx)("option",{value:"Posterior",children:"\u0417\u0430\u0434\u043d\u0456\u0439"}),(0,jo.jsx)("option",{value:"Full",children:"\u041f\u043e\u0432\u043d\u0438\u0439"})]}),(0,jo.jsx)("div",{className:"arrow",children:(0,jo.jsx)(Pk,{})})]})]}),(0,jo.jsxs)("label",{children:[(0,jo.jsxs)("div",{className:"containerLong",children:["\u041a\u043e\u0440\u043e\u0431\u043a\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0447",(0,jo.jsx)(Sk,{children:"*"})]}),(0,jo.jsxs)("div",{className:"arrowDiv",children:[(0,jo.jsxs)(qx,{className:"fieldLong marg16",as:"select",name:"advertisementDTO.carDTO.transmission.name",children:[(0,jo.jsx)("option",{value:"",children:"\u041e\u0431\u0435\u0440\u0456\u0442\u044c"}),(0,jo.jsx)("option",{value:"Mechanical",children:"\u041c\u0435\u0445\u0430\u043d\u0456\u0447\u043d\u0430"}),(0,jo.jsx)("option",{value:"Automatic",children:"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u0430"}),(0,jo.jsx)("option",{value:"Robotic",children:"\u0420\u043e\u0431\u043e\u0442\u0438\u0437\u043e\u0432\u0430\u043d\u0430"}),(0,jo.jsx)("option",{value:"Variable",children:"\u0412\u0430\u0440\u0456\u0430\u0442\u0438\u0432\u043d\u0430"})]}),(0,jo.jsx)("div",{className:"arrow",children:(0,jo.jsx)(Pk,{})})]})]}),(0,jo.jsxs)("label",{children:[(0,jo.jsxs)("div",{className:"containerLong",children:["\u0422\u0435\u0445\u043d\u0456\u0447\u043d\u0438\u0439 \u0441\u0442\u0430\u043d",(0,jo.jsx)(Sk,{children:"*"})]}),(0,jo.jsxs)("div",{className:"arrowDiv",children:[(0,jo.jsxs)(qx,{className:"fieldLong marg16",as:"select",name:"advertisementDTO.carDTO.technicalState.name",children:[(0,jo.jsx)("option",{value:"",children:"\u041e\u0431\u0435\u0440\u0456\u0442\u044c"}),(0,jo.jsx)("option",{value:"Completely intact",children:"\u041f\u043e\u0432\u043d\u0456\u0441\u0442\u044e \u043d\u0435\u043f\u043e\u0448\u043a\u043e\u0434\u0436\u0435\u043d\u0435"}),(0,jo.jsx)("option",{value:"Professionally repaired damage",children:"\u041f\u0440\u043e\u0444\u0435\u0441\u0456\u0439\u043d\u043e \u0432\u0456\u0434\u0440\u0435\u043c\u043e\u043d\u0442\u043e\u0432\u0430\u043d\u0456 \u043f\u043e\u0448\u043a\u043e\u0434\u0436\u0435\u043d\u043d\u044f"}),(0,jo.jsx)("option",{value:"Unrepaired damage",children:"\u041d\u0435 \u0432\u0456\u0434\u0440\u0435\u043c\u043e\u043d\u0442\u043e\u0432\u0430\u043d\u0456 \u043f\u043e\u0448\u043a\u043e\u0434\u0436\u0435\u043d\u043d\u044f"}),(0,jo.jsx)("option",{value:"Not running/For spare parts",children:"\u041d\u0435 \u043d\u0430 \u0445\u043e\u0434\u0443/\u041d\u0430 \u0437\u0430\u043f\u0447\u0430\u0441\u0442\u0438\u043d\u0438"})]}),(0,jo.jsx)("div",{className:"arrow",children:(0,jo.jsx)(Pk,{})})]})]}),(0,jo.jsxs)("label",{children:[(0,jo.jsxs)("div",{className:"containerLong",children:["\u041a\u043e\u043b\u0456\u0440",(0,jo.jsx)(Sk,{children:"*"})]}),(0,jo.jsxs)("div",{className:"arrowDiv",children:[(0,jo.jsxs)(qx,{className:"fieldLong marg16",as:"select",name:"advertisementDTO.carDTO.color.name",children:[(0,jo.jsx)("option",{value:"",children:"\u041e\u0431\u0435\u0440\u0456\u0442\u044c"}),(0,jo.jsx)("option",{value:"White",children:"\u0411\u0456\u043b\u0438\u0439"}),(0,jo.jsx)("option",{value:"Black",children:"\u0427\u043e\u0440\u043d\u0438\u0439"}),(0,jo.jsx)("option",{value:"Gray",children:"\u0421\u0456\u0440\u0438\u0439"}),(0,jo.jsx)("option",{value:"Red",children:"\u0427\u0435\u0440\u0432\u043e\u043d\u0438\u0439"}),(0,jo.jsx)("option",{value:"Blue",children:"\u0421\u0438\u043d\u0456\u0439"}),(0,jo.jsx)("option",{value:"Pink",children:"\u0420\u043e\u0436\u0435\u0432\u0438\u0439"}),(0,jo.jsx)("option",{value:"Green",children:"\u0417\u0435\u043b\u0435\u043d\u0438\u0439"}),(0,jo.jsx)("option",{value:"Orange",children:"\u041f\u043e\u043c\u0430\u0440\u0430\u043d\u0447\u043e\u0432\u0438\u0439"}),(0,jo.jsx)("option",{value:"Burgundy",children:"\u0411\u043e\u0440\u0434\u043e\u0432\u0438\u0439"}),(0,jo.jsx)("option",{value:"Brown",children:"\u041a\u043e\u0440\u0438\u0447\u043d\u0435\u0432\u0438\u0439"}),(0,jo.jsx)("option",{value:"Yellow",children:"\u0416\u043e\u0432\u0442\u0438\u0439"}),(0,jo.jsx)("option",{value:"Violet",children:"\u0424\u0456\u043e\u043b\u0435\u0442\u043e\u0432\u0438\u0439"}),(0,jo.jsx)("option",{value:"Gold",children:"\u0417\u043e\u043b\u043e\u0442\u0438\u0439"}),(0,jo.jsx)("option",{value:"Silver",children:"\u0421\u0440\u0456\u0431\u043d\u0438\u0439"}),(0,jo.jsx)("option",{value:"beige",children:"\u0431\u0435\u0436\u0435\u0432\u0438\u0439"}),(0,jo.jsx)("option",{value:"Multicolor",children:"\u041c\u0443\u043b\u044c\u0442\u0438\u043a\u043e\u043b\u0456\u0440"})]}),(0,jo.jsx)("div",{className:"arrow",children:(0,jo.jsx)(Pk,{})})]})]}),(0,jo.jsxs)("label",{children:[(0,jo.jsx)("div",{className:"containerLong",children:"VIN \u043a\u043e\u0434"}),(0,jo.jsx)(qx,{className:"fieldTextLong",type:"text",name:"advertisementDTO.carDTO.vinNumber",placeholder:"VF7LCRFJF74251989"})]})]}),(0,jo.jsxs)(wk,{children:[(0,jo.jsx)(jk,{children:"\u041e\u043f\u0438\u0441"}),(0,jo.jsx)(kk,{children:"\u0414\u0435\u0442\u0430\u043b\u044c\u043d\u043e \u043e\u043f\u0438\u0448\u0456\u0442\u044c \u043e\u0441\u043e\u0431\u043b\u0438\u0432\u043e\u0441\u0442\u0456 \u0432\u0430\u0448\u043e\u0433\u043e \u0430\u0432\u0442\u043e\u043c\u043e\u0431\u0456\u043b\u044e \u0430\u0431\u043e \u0432\u043a\u0430\u0436\u0456\u0442\u044c \u0434\u043e\u0434\u0430\u0442\u043a\u043e\u0432\u0456 \u043f\u0430\u0440\u0430\u0442\u043c\u0435\u0442\u0440\u0438 (\u043d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434: \u043a\u0440\u0443\u0456\u0437 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c, \u043f\u0430\u0440\u043a\u0442\u0440\u043e\u043d\u0456\u043a \u0456 \u0442.\u0434.)"}),(0,jo.jsx)("label",{children:(0,jo.jsx)(qx,{className:"fieldInput marg16",as:"textarea",name:"advertisementDTO.description"})})]}),(0,jo.jsxs)(wk,{children:[(0,jo.jsx)(jk,{children:"\u041a\u043e\u043d\u0442\u0430\u043a\u0442\u043d\u0456 \u0434\u0430\u043d\u043d\u0456"}),(0,jo.jsxs)("label",{children:[(0,jo.jsxs)("div",{className:"containerLong",children:["\u0412\u0430\u0448\u0435 \u0456\u043c\u2019\u044f",(0,jo.jsx)(Sk,{children:"*"})]}),(0,jo.jsx)(qx,{className:"fieldLong marg16",type:"text",name:"advertisementDTO.ownerName",placeholder:"\u0421\u0435\u0440\u0433\u0456\u0439"})]}),(0,jo.jsxs)("label",{children:[(0,jo.jsxs)("div",{className:"containerLong",children:["\u0422\u0435\u043b\u0435\u0444\u043e\u043d",(0,jo.jsx)(Sk,{children:"*"})]}),(0,jo.jsx)(qx,{className:"fieldLong marg16",type:"phone",name:"advertisementDTO.ownerPhone",placeholder:"+38(0\u0425\u0425) \u0425\u0425\u0425 \u0425\u0425 \u0425\u0425"})]})]}),(0,jo.jsxs)("div",{className:"buttonContainer",children:[(0,jo.jsx)("button",{className:"chekAnnouncementButton",type:"button",children:"\u041f\u0435\u0440\u0435\u0433\u043b\u044f\u043d\u0443\u0442\u0438 \u043e\u0433\u043e\u043b\u043e\u0448\u0435\u043d\u043d\u044f"}),(0,jo.jsx)("button",{className:"submitButton",type:"submit",children:"\u041e\u043f\u0443\u0431\u043b\u0456\u043a\u0443\u0432\u0430\u0442\u0438 \u043e\u0433\u043e\u043b\u043e\u0448\u0435\u043d\u043d\u044f"})]})]})})},vO=function(){var t=j((0,e.useState)({"advertisementDTO.carDTO.carMark.name":"","advertisementDTO.carDTO.carMark.carModel.name":"","advertisementDTO.carDTO.carNumber":"","advertisementDTO.region.name":"","advertisementDTO.region.city.name":"","advertisementDTO.carDTO.mileage":"","advertisementDTO.carDTO.yearToCreate":"","advertisementDTO.price":"","advertisementDTO.carDTO.bodyType.name":"","advertisementDTO.carDTO.engine.name":"","advertisementDTO.carDTO.engine.volume":"","advertisementDTO.carDTO.driveType.name":"","advertisementDTO.carDTO.transmission.name":"","advertisementDTO.carDTO.technicalState.name":"","advertisementDTO.carDTO.color.name":"","advertisementDTO.carDTO.vinNumber":"","advertisementDTO.description":"","advertisementDTO.ownerName":"","advertisementDTO.ownerPhone":""}),2),n=t[0],r=t[1];return(0,jo.jsxs)(xk,{children:[(0,jo.jsx)(Ck,{children:"\u0421\u0442\u0432\u043e\u0440\u0438\u0442\u0438 \u043e\u0433\u043e\u043b\u043e\u0448\u0435\u043d\u043d\u044f"}),(0,jo.jsxs)(kk,{children:[(0,jo.jsx)(Sk,{children:"*"}),"\u043f\u043e\u043b\u044f \u043e\u0431\u043e\u0432\u02bc\u044f\u0437\u043a\u043e\u0432\u0456 \u0434\u043b\u044f \u0437\u0430\u043f\u043e\u0432\u043d\u0435\u043d\u043d\u044f"]}),(0,jo.jsx)(hO,{initialValues:n}),(0,jo.jsx)(Mk,{handleSearch1:function(e){r(e),console.log(e)}})]})},mO=xo.div(eO||(eO=Fn(["\n display: flex;\n width: 412px;\n height: 1252px;\n flex-direction: column;\n align-items: flex-start;\n flex-shrink: 0;\n\n border-radius: 8px;\n background: #f1f1f1;\n\n select {\n appearance: none;\n -webkit-appearance: none;\n -moz-appearance: none;\n cursor: pointer;\n }\n label {\n display: flex;\n position: relative;\n }\n\n /* label:after {\n content: '\u25bc';\n position: absolute;\n top: 20px;\n right: 16px;\n pointer-events: none;\n } */\n\n .title {\n margin-left: 4px;\n margin-bottom: 24px;\n width: 372px;\n\n color: #000;\n\n font-family: 'Roboto', sans-serif;\n font-size: 26px;\n font-style: normal;\n font-weight: 600;\n line-height: normal;\n }\n\n .underTitle {\n color: #4b4b4b;\n margin-bottom: 12px;\n font-family: 'Roboto', sans-serif;\n font-size: 20px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n }\n\n .arrowDiv {\n position: relative;\n }\n .arrow {\n position: absolute;\n z-index: 1;\n right: 16px;\n top: 12px;\n pointer-events: none;\n }\n\n .topWraper {\n display: flex;\n flex-direction: column;\n margin-left: 16px;\n margin-top: 16px;\n }\n .fieldLong {\n display: flex;\n\n width: 380px;\n height: 56px;\n padding: 4px 16px;\n justify-content: space-between;\n align-items: center;\n\n border-radius: 8px;\n background: #fff;\n border: 1px solid #b9b9b9;\n }\n\n .fieldShort {\n display: flex;\n\n width: 183px;\n height: 56px;\n padding: 4px 16px;\n justify-content: space-between;\n align-items: center;\n border: 1px solid #b9b9b9;\n\n border-radius: 8px;\n background: #fff;\n }\n .fieldTextShort {\n width: 149px;\n height: 48px;\n padding: 0;\n border-radius: 8px;\n background: #fff;\n border: 1px solid #b9b9b9;\n padding-block: 0;\n padding-inline: 0;\n padding: 4px 16px;\n }\n .fieldTextLong {\n width: 346px;\n height: 48px;\n padding: 0;\n border-radius: 8px;\n background: #fff;\n border: 1px solid #b9b9b9;\n padding-block: 0;\n padding-inline: 0;\n padding: 4px 16px;\n }\n .shortDiv {\n display: flex;\n gap: 14px;\n }\n .marg16 {\n margin-bottom: 16px;\n }\n .bottomWraper {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n margin-left: 16px;\n margin-top: 24px;\n }\n .titleB {\n color: #000;\n margin-bottom: 8px;\n text-align: center;\n /* Subtitle 1.2 */\n font-family: 'Roboto', sans-serif;\n font-size: 22px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n }\n .btnWraper {\n margin-left: 16px;\n margin-top: 24px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n .clearButton {\n display: flex;\n gap: 2px;\n justify-content: center;\n align-items: center;\n border: 0;\n background-color: transparent;\n color: #4b4b4b;\n /* Subtitle 2.1 */\n font-family: 'Roboto', sans-serif;\n font-size: 18px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n }\n .submitButton {\n color: #fff;\n text-align: center;\n font-family: 'Roboto', sans-serif;\n font-size: 22px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n\n display: flex;\n width: 200px;\n height: 56px;\n padding: 14px 24px;\n justify-content: center;\n align-items: center;\n gap: 4px;\n\n border-radius: 8px;\n background: linear-gradient(144deg, #0040bd 19.1%, #19015b 78.89%);\n }\n"]))),gO=function(t){var n,r=t.initialValues,i=t.onSubmit,o=j((0,e.useState)(""),2),a=o[0],l=o[1],s=j((0,e.useState)(""),2),u=s[0],c=s[1],f=he(),d={BMW:["X5","M3","I3"],Toyota:["Camry","Corolla","Avalon"],Mercedes:["A-Class","B-Class","C-Class"]},p=Yo(),h=(0,e.useRef)(null);(0,e.useEffect)((function(){h.current&&h.current.resetForm({values:r})}),[r]),(0,e.useEffect)((function(){var e=new URLSearchParams(f.search).get("status");console.log(e),e&&h.current.setFieldValue("status",e)}),[f.search]);return(0,jo.jsx)(mO,{children:(0,jo.jsx)(Hx,{initialValues:r,onSubmit:function(e){return i(e)},innerRef:function(e){return h.current=e},children:(0,jo.jsxs)(Zx,{children:[(0,jo.jsxs)("div",{className:"topWraper",children:[(0,jo.jsx)("h3",{className:"title",children:"\u0420\u043e\u0437\u0448\u0438\u0440\u0435\u043d\u0438\u0439 \u043f\u043e\u0448\u0443\u043a"}),(0,jo.jsx)("h5",{className:"underTitle",children:"\u041e\u0441\u043d\u043e\u0432\u043d\u0456 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0438"}),(0,jo.jsxs)("div",{className:"arrowDiv",children:[(0,jo.jsx)("label",{children:(0,jo.jsxs)(qx,{className:"fieldLong marg16",as:"select",name:"status",children:[(0,jo.jsx)("option",{value:"",children:"\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0456\u044f"}),(0,jo.jsx)("option",{value:"New",children:"\u041d\u043e\u0432\u0456"}),(0,jo.jsx)("option",{value:"Used",children:"\u0412\u0436\u0438\u0432\u0430\u043d\u0456"}),(0,jo.jsx)("option",{value:"Servitude",children:"\u041f\u0456\u0434 \u043f\u0440\u0438\u0433\u043e\u043d"})]})}),(0,jo.jsx)("div",{className:"arrow",children:(0,jo.jsx)(Pk,{})})]}),(0,jo.jsxs)("div",{className:"arrowDiv",children:[(0,jo.jsx)("label",{children:(0,jo.jsxs)(qx,{className:"fieldLong marg16",as:"select",name:"brand",value:a,onChange:function(e){var t=e.target.value;l(t),c("")},children:[(0,jo.jsx)("option",{value:"",children:"\u041c\u0430\u0440\u043a\u0430"}),Object.keys(d).map((function(e){return(0,jo.jsx)("option",{value:e,children:e},e)}))]})}),(0,jo.jsx)("div",{className:"arrow",children:(0,jo.jsx)(Pk,{})})]}),(0,jo.jsxs)("div",{className:"arrowDiv",children:[(0,jo.jsx)("label",{children:(0,jo.jsxs)(qx,{className:"fieldLong marg16",as:"select",name:"model",value:u,onChange:function(e){var t=e.target.value;c(t)},children:[(0,jo.jsx)("option",{value:"",children:"\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044c \u043c\u0430\u0440\u043a\u0443"}),null===(n=d[a])||void 0===n?void 0:n.map((function(e){return(0,jo.jsx)("option",{value:e,children:e},e)}))]})}),(0,jo.jsx)("div",{className:"arrow",children:(0,jo.jsx)(Pk,{})})]}),(0,jo.jsxs)("div",{className:"arrowDiv",children:[(0,jo.jsx)("label",{children:(0,jo.jsxs)(qx,{className:"fieldLong marg16",as:"select",name:"region",children:[(0,jo.jsx)("option",{value:"",children:"\u041e\u0431\u043b\u0430\u0441\u0442\u044c"}),(0,jo.jsx)("option",{value:"Kyivska",children:"\u041a\u0438\u0457\u0432\u0441\u044c\u043a\u0430"}),(0,jo.jsx)("option",{value:"Vinnytsia",children:"\u0412\u0456\u043d\u043d\u0438\u0446\u044c\u043a\u0430"}),(0,jo.jsx)("option",{value:"Volynsk",children:"\u0412\u043e\u043b\u0438\u043d\u0441\u044c\u043a\u0430"}),(0,jo.jsx)("option",{value:"Dniprovska",children:"\u0414\u043d\u0456\u043f\u0440\u043e\u0432\u0441\u044c\u043a\u0430"}),(0,jo.jsx)("option",{value:"Donetsk",children:"\u0414\u043e\u043d\u0435\u0446\u044c\u043a\u0430"}),(0,jo.jsx)("option",{value:"Zhytomyr",children:"\u0416\u0438\u0442\u043e\u043c\u0438\u0440\u0441\u044c\u043a\u0430"}),(0,jo.jsx)("option",{value:"Zakarpattia",children:"\u0417\u0430\u043a\u0430\u0440\u043f\u0430\u0442\u0441\u044c\u043a\u0430"}),(0,jo.jsx)("option",{value:"Zaporizhzhia",children:"\u0417\u0430\u043f\u043e\u0440\u0456\u0437\u044c\u043a\u0430"}),(0,jo.jsx)("option",{value:"Ivano-Frankivsk",children:"\u0406\u0432\u0430\u043d\u043e-\u0444\u0440\u0430\u043d\u043a\u0456\u0432\u0441\u044c\u043a\u0430"}),(0,jo.jsx)("option",{value:"Kirovohradsk",children:"\u041a\u0456\u0440\u043e\u0432\u043e\u0433\u0440\u0430\u0434\u0441\u044c\u043a\u0430"}),(0,jo.jsx)("option",{value:"Luhansk",children:"\u041b\u0443\u0433\u0430\u043d\u0441\u044c\u043a\u0430"}),(0,jo.jsx)("option",{value:"Lviv",children:"\u041b\u044c\u0432\u0456\u0432\u0441\u044c\u043a\u0430"}),(0,jo.jsx)("option",{value:"Mykolayivska",children:"\u041c\u0438\u043a\u043e\u043b\u0430\u0457\u0432\u0441\u044c\u043a\u0430"}),(0,jo.jsx)("option",{value:"Odesa",children:"\u041e\u0434\u0435\u0441\u044c\u043a\u0430"}),(0,jo.jsx)("option",{value:"Poltava",children:"\u041f\u043e\u043b\u0442\u0430\u0432\u0441\u044c\u043a\u0430"}),(0,jo.jsx)("option",{value:"Rivne",children:"\u0420\u0456\u0432\u0435\u043d\u0441\u044c\u043a\u0430"}),(0,jo.jsx)("option",{value:"Sumy",children:"\u0421\u0443\u043c\u0441\u044c\u043a\u0430"}),(0,jo.jsx)("option",{value:"Ternopilsk",children:"\u0422\u0435\u0440\u043d\u043e\u043f\u0456\u043b\u044c\u0441\u044c\u043a\u0430"}),(0,jo.jsx)("option",{value:"Cherkasy",children:"\u0427\u0435\u0440\u043a\u0430\u0441\u044c\u043a\u0430"}),(0,jo.jsx)("option",{value:"Chernivtsi",children:"\u0427\u0435\u0440\u043d\u0456\u0432\u0435\u0446\u044c\u043a\u0430"}),(0,jo.jsx)("option",{value:"Chernihivska",children:"\u0427\u0435\u0440\u043d\u0456\u0433\u0456\u0432\u0441\u044c\u043a\u0430"}),(0,jo.jsx)("option",{value:"Kharkivska",children:"\u0425\u0430\u0440\u043a\u0456\u0432\u0441\u044c\u043a\u0430"}),(0,jo.jsx)("option",{value:"Khersonsk",children:"\u0425\u0435\u0440\u0441\u043e\u043d\u0441\u044c\u043a\u0430"}),(0,jo.jsx)("option",{value:"Khmelnytska",children:"\u0425\u043c\u0435\u043b\u044c\u043d\u0438\u0446\u044c\u043a\u0430"})]})}),(0,jo.jsx)("div",{className:"arrow",children:(0,jo.jsx)(Pk,{})})]}),(0,jo.jsxs)("div",{className:"shortDiv marg16",children:[(0,jo.jsx)("label",{children:(0,jo.jsx)(qx,{className:"fieldTextShort",type:"text",name:"yearFrom",placeholder:"\u0412\u0432\u0435\u0434\u0456\u0442\u044c \u0440\u0456\u043a \u0432\u0456\u0434"})}),(0,jo.jsx)("label",{children:(0,jo.jsx)(qx,{className:"fieldTextShort",type:"text",name:"yearTo",placeholder:"\u0412\u0432\u0435\u0434\u0456\u0442\u044c \u0440\u0456\u043a \u0434\u043e"})})]}),(0,jo.jsxs)("div",{className:"shortDiv",children:[(0,jo.jsx)("label",{children:(0,jo.jsx)(qx,{className:"fieldTextShort",type:"text",name:"priceFrom",placeholder:"\u0412\u0432\u0435\u0434\u0456\u0442\u044c \u0446\u0456\u043d\u0443 \u0432\u0456\u0434 $"})}),(0,jo.jsx)("label",{children:(0,jo.jsx)(qx,{className:"fieldTextShort",type:"text",name:"priceTo",placeholder:"\u0412\u0432\u0435\u0434\u0456\u0442\u044c \u0446\u0456\u043d\u0443 \u0434\u043e $"})})]})]}),(0,jo.jsxs)("div",{className:"bottomWraper",children:[(0,jo.jsx)("h3",{className:"titleB",children:"\u0422\u0435\u0445\u043d\u0456\u0447\u043d\u0456 \u0445\u0430\u0440\u0430\u043a\u0442\u0435\u0440\u0438\u0441\u0442\u0438\u043a\u0438"}),(0,jo.jsxs)("div",{className:"arrowDiv",children:[(0,jo.jsx)("label",{children:(0,jo.jsxs)(qx,{className:"fieldLong marg16",as:"select",name:"bodyType",children:[(0,jo.jsx)("option",{value:"",children:"\u0422\u0438\u043f \u043a\u0443\u0437\u043e\u0432\u0430"}),(0,jo.jsx)("option",{value:"Universal",children:"\u0423\u043d\u0456\u0432\u0435\u0440\u0441\u0430\u043b"}),(0,jo.jsx)("option",{value:"Sedan",children:"\u0421\u0435\u0434\u0430\u043d"}),(0,jo.jsx)("option",{value:"Cabriolet",children:"\u041a\u0430\u0431\u0440\u0456\u043e\u043b\u0435\u0442"}),(0,jo.jsx)("option",{value:"Compartment",children:"\u041a\u0443\u043f\u0435"})]})}),(0,jo.jsx)("div",{className:"arrow",children:(0,jo.jsx)(Pk,{})})]}),(0,jo.jsxs)("div",{className:"arrowDiv",children:[(0,jo.jsx)("label",{children:(0,jo.jsxs)(qx,{className:"fieldLong marg16",as:"select",name:"fuelType",children:[(0,jo.jsx)("option",{value:"",children:"\u0414\u0432\u0438\u0433\u0443\u043d"}),(0,jo.jsx)("option",{value:"Electro",children:"\u0415\u043b\u0435\u043a\u0442\u0440\u0438\u0447\u043d\u0430 \u0441\u0438\u043b\u043e\u0432\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430"}),(0,jo.jsx)("option",{value:"Hibrid",children:"\u0413\u0456\u0431\u0440\u0456\u0434"}),(0,jo.jsx)("option",{value:"Gasoline",children:"\u0411\u0435\u043d\u0437\u0438\u043d\u043e\u0432\u0438\u0439"}),(0,jo.jsx)("option",{value:"Gaseous",children:"\u0413\u0430\u0437\u043e\u0432\u0438\u0439"}),(0,jo.jsx)("option",{value:"Diesel",children:"\u0414\u0438\u0437\u0435\u043b\u044c\u043d\u0438\u0439"})]})}),(0,jo.jsx)("div",{className:"arrow",children:(0,jo.jsx)(Pk,{})})]}),(0,jo.jsxs)("div",{className:"arrowDiv",children:[(0,jo.jsx)("label",{children:(0,jo.jsxs)(qx,{className:"fieldLong marg16",as:"select",name:"engineCapacity",children:[(0,jo.jsx)("option",{value:"",children:"\u041e\u0431'\u0454\u043c \u0434\u0432\u0438\u0433\u0443\u043d\u0430"}),(0,jo.jsx)("option",{value:"Microliter",children:"\u0414\u043e 1,1 \u043b\u0456\u0442\u0440\u0430"}),(0,jo.jsx)("option",{value:"Low-volume",children:"\u0412\u0456\u0434 1,2 \u0434\u043e 1,7 \u043b\u0456\u0442\u0440\u0430"}),(0,jo.jsx)("option",{value:"Medium-sized",children:"\u0412\u0456\u0434 1,8 \u0434\u043e 3,3 \u043b\u0456\u0442\u0440\u0430"}),(0,jo.jsx)("option",{value:"Large-capacity",children:"\u0412\u0456\u0434 3,5 \u043b\u0456\u0442\u0440\u0430"})]})}),(0,jo.jsx)("div",{className:"arrow",children:(0,jo.jsx)(Pk,{})})]}),(0,jo.jsx)("div",{children:(0,jo.jsx)("label",{children:(0,jo.jsx)(qx,{className:"fieldTextLong marg16",type:"text",name:"mileageTo",placeholder:"\u0412\u0432\u0435\u0434\u0456\u0442\u044c \u043f\u0440\u043e\u0431\u0456\u0433 \u0434\u043e"})})}),(0,jo.jsxs)("div",{className:"arrowDiv",children:[(0,jo.jsx)("label",{children:(0,jo.jsxs)(qx,{className:"fieldLong marg16",as:"select",name:"driveType",children:[(0,jo.jsx)("option",{value:"",children:"\u041f\u0440\u0438\u0432\u0456\u0434"}),(0,jo.jsx)("option",{value:"Front",children:"\u041f\u0435\u0440\u0435\u0434\u043d\u0456\u0439"}),(0,jo.jsx)("option",{value:"Posterior",children:"\u0417\u0430\u0434\u043d\u0456\u0439"}),(0,jo.jsx)("option",{value:"Full",children:"\u041f\u043e\u0432\u043d\u0438\u0439"})]})}),(0,jo.jsx)("div",{className:"arrow",children:(0,jo.jsx)(Pk,{})})]}),(0,jo.jsxs)("div",{className:"arrowDiv",children:[(0,jo.jsx)("label",{children:(0,jo.jsxs)(qx,{className:"fieldLong marg16",as:"select",name:"transmission",children:[(0,jo.jsx)("option",{value:"",children:"\u041a\u043e\u0440\u043e\u0431\u043a\u0430 \u043f\u0435\u0440\u0435\u0434\u0430\u0447"}),(0,jo.jsx)("option",{value:"Mechanical",children:"\u041c\u0435\u0445\u0430\u043d\u0456\u0447\u043d\u0430"}),(0,jo.jsx)("option",{value:"Automatic",children:"\u0410\u0432\u0442\u043e\u043c\u0430\u0442\u0438\u0447\u043d\u0430"}),(0,jo.jsx)("option",{value:"Robotic",children:"\u0420\u043e\u0431\u043e\u0442\u0438\u0437\u043e\u0432\u0430\u043d\u0430"}),(0,jo.jsx)("option",{value:"Variable",children:"\u0412\u0430\u0440\u0456\u0430\u0442\u0438\u0432\u043d\u0430"})]})}),(0,jo.jsx)("div",{className:"arrow",children:(0,jo.jsx)(Pk,{})})]}),(0,jo.jsxs)("div",{className:"arrowDiv",children:[(0,jo.jsx)("label",{children:(0,jo.jsxs)(qx,{className:"fieldLong marg16",as:"select",name:"condition",children:[(0,jo.jsx)("option",{value:"",children:"\u0422\u0435\u0445\u043d\u0456\u0447\u043d\u0438\u0439 \u0441\u0442\u0430\u043d"}),(0,jo.jsx)("option",{value:"Completely",children:"\u041f\u043e\u0432\u043d\u0456\u0441\u0442\u044e \u043d\u0435\u043f\u043e\u0448\u043a\u043e\u0434\u0436\u0435\u043d\u0435"}),(0,jo.jsx)("option",{value:"Repaired",children:"\u041f\u0440\u043e\u0444\u0435\u0441\u0456\u0439\u043d\u043e \u0432\u0456\u0434\u0440\u0435\u043c\u043e\u043d\u0442\u043e\u0432\u0430\u043d\u0456 \u043f\u043e\u0448\u043a\u043e\u0434\u0436\u0435\u043d\u043d\u044f"}),(0,jo.jsx)("option",{value:"Unrepaired",children:"\u041d\u0435 \u0432\u0456\u0434\u0440\u0435\u043c\u043e\u043d\u0442\u043e\u0432\u0430\u043d\u0456 \u043f\u043e\u0448\u043a\u043e\u0434\u0436\u0435\u043d\u043d\u044f"}),(0,jo.jsx)("option",{value:"Parts",children:"\u041d\u0435 \u043d\u0430 \u0445\u043e\u0434\u0443/\u041d\u0430 \u0437\u0430\u043f\u0447\u0430\u0441\u0442\u0438\u043d\u0438"})]})}),(0,jo.jsx)("div",{className:"arrow",children:(0,jo.jsx)(Pk,{})})]}),(0,jo.jsxs)("div",{className:"arrowDiv",children:[(0,jo.jsx)("label",{children:(0,jo.jsxs)(qx,{className:"fieldLong",as:"select",name:"color",children:[(0,jo.jsx)("option",{value:"",children:"\u041a\u043e\u043b\u0456\u0440"}),(0,jo.jsx)("option",{value:"White",children:"\u0411\u0456\u043b\u0438\u0439"}),(0,jo.jsx)("option",{value:"Black",children:"\u0427\u043e\u0440\u043d\u0438\u0439"}),(0,jo.jsx)("option",{value:"Gray",children:"\u0421\u0456\u0440\u0438\u0439"}),(0,jo.jsx)("option",{value:"Red",children:"\u0427\u0435\u0440\u0432\u043e\u043d\u0438\u0439"}),(0,jo.jsx)("option",{value:"Blue",children:"\u0421\u0438\u043d\u0456\u0439"}),(0,jo.jsx)("option",{value:"Pink",children:"\u0420\u043e\u0436\u0435\u0432\u0438\u0439"}),(0,jo.jsx)("option",{value:"Green",children:"\u0417\u0435\u043b\u0435\u043d\u0438\u0439"}),(0,jo.jsx)("option",{value:"Orange",children:"\u041f\u043e\u043c\u0430\u0440\u0430\u043d\u0447\u043e\u0432\u0438\u0439"}),(0,jo.jsx)("option",{value:"Burgundy",children:"\u0411\u043e\u0440\u0434\u043e\u0432\u0438\u0439"}),(0,jo.jsx)("option",{value:"Brown",children:"\u041a\u043e\u0440\u0438\u0447\u043d\u0435\u0432\u0438\u0439"}),(0,jo.jsx)("option",{value:"Yellow",children:"\u0416\u043e\u0432\u0442\u0438\u0439"}),(0,jo.jsx)("option",{value:"Violet",children:"\u0424\u0456\u043e\u043b\u0435\u0442\u043e\u0432\u0438\u0439"}),(0,jo.jsx)("option",{value:"Gold",children:"\u0417\u043e\u043b\u043e\u0442\u0438\u0439"}),(0,jo.jsx)("option",{value:"Silver",children:"\u0421\u0440\u0456\u0431\u043d\u0438\u0439"}),(0,jo.jsx)("option",{value:"beige",children:"\u0431\u0435\u0436\u0435\u0432\u0438\u0439"}),(0,jo.jsx)("option",{value:"Multicolor",children:"\u041c\u0443\u043b\u044c\u0442\u0438\u043a\u043e\u043b\u0456\u0440"})]})}),(0,jo.jsx)("div",{className:"arrow",children:(0,jo.jsx)(Pk,{})})]})]}),(0,jo.jsxs)("div",{className:"btnWraper",children:[(0,jo.jsxs)("button",{className:"clearButton",onClick:function(){p(Ok(!0))},type:"button",children:["\u041e\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0432\u0441\u0435 ",(0,jo.jsx)(Ak,{})]}),(0,jo.jsx)("button",{className:"submitButton",type:"submit",children:"\u041f\u043e\u0448\u0443\u043a"})]})]})})})},yO=xo.div(tO||(tO=Fn(["\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n\n margin-top: 30px;\n width: 844px;\n height: 2000px;\n\n border-radius: 8px;\n background: #fff;\n .titleDiv {\n width: 844px;\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n }\n .title {\n color: #141414;\n font-family: 'Roboto', sans-serif;\n font-size: 22px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n }\n .select {\n display: flex;\n width: 184px;\n padding: 10px 12px;\n align-items: center;\n gap: 10px;\n\n border-radius: 8px;\n border: 1px solid #b9b9b9;\n\n color: #141414;\n font-family: 'Roboto', sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n }\n\n .carsMainList {\n margin-top: 20px;\n }\n .carItem {\n display: flex;\n gap: 20px;\n width: 844px;\n height: 240px;\n border-radius: 8px;\n background: #f1f1f1;\n position: relative;\n }\n .img {\n width: 284px;\n height: 200px;\n border-radius: 8px;\n object-fit: cover;\n margin-left: 20px;\n padding-top: 20px;\n }\n .infoDiv {\n margin-top: 20px;\n }\n .modelInfoDIV {\n display: flex;\n width: 500px;\n justify-content: space-between;\n }\n .numberDiv {\n display: flex;\n width: auto;\n flex-direction: column;\n gap: 12px;\n margin-top: 16px;\n }\n .number {\n align-self: flex-start;\n color: #141414;\n font-family: 'Roboto', sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n\n padding: 2px 4px;\n border: 1px solid #ababab;\n }\n .listDIV {\n display: flex;\n gap: 60px;\n margin-top: 28px;\n }\n .itemLI {\n display: flex;\n align-items: center;\n gap: 10px;\n align-self: stretch;\n }\n .favoriteBTN {\n background-color: transparent;\n border: 0;\n position: absolute;\n right: 20px;\n bottom: 14px;\n }\n .modelInfo {\n color: #141414;\n\n font-family: 'Roboto', sans-serif;\n font-size: 26px;\n font-style: normal;\n font-weight: 600;\n line-height: normal;\n }\n"]))),bO=function(){return(0,jo.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"30",height:"30",viewBox:"0 0 30 30",fill:"none",children:(0,jo.jsx)("path",{d:"M15 8.62752C12.5 2.74478 3.75 3.37135 3.75 10.8902C3.75 18.409 15 24.6748 15 24.6748C15 24.6748 26.25 18.409 26.25 10.8902C26.25 3.37135 17.5 2.74478 15 8.62752Z",stroke:"#ABABAB",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})},xO=function(){return(0,jo.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,jo.jsx)("path",{d:"M6.66732 3.33317H6.00081C5.06739 3.33317 4.60033 3.33317 4.24382 3.51483C3.93021 3.67462 3.67543 3.9294 3.51564 4.243C3.33398 4.59952 3.33398 5.06658 3.33398 6V6.6665M6.66732 3.33317H13.334M6.66732 3.33317V1.6665M13.334 3.33317H14.0008C14.9342 3.33317 15.4003 3.33317 15.7568 3.51483C16.0704 3.67462 16.3261 3.9294 16.4858 4.243C16.6673 4.59917 16.6673 5.06567 16.6673 5.99726V6.6665M13.334 3.33317V1.6665M3.33398 6.6665V14C3.33398 14.9334 3.33398 15.3999 3.51564 15.7564C3.67543 16.07 3.93021 16.3252 4.24382 16.485C4.59999 16.6665 5.06648 16.6665 5.99808 16.6665H14.0032C14.9348 16.6665 15.4006 16.6665 15.7568 16.485C16.0704 16.3252 16.3261 16.07 16.4858 15.7564C16.6673 15.4002 16.6673 14.9344 16.6673 14.0028V6.6665M3.33398 6.6665H16.6673M13.334 13.3332H13.3357L13.3356 13.3348L13.334 13.3348V13.3332ZM10.0007 13.3332H10.0023L10.0023 13.3348L10.0007 13.3348V13.3332ZM6.66732 13.3332H6.66898L6.66895 13.3348L6.66732 13.3348V13.3332ZM13.3356 9.99984V10.0015L13.334 10.0015V9.99984H13.3356ZM10.0007 9.99984H10.0023L10.0023 10.0015L10.0007 10.0015V9.99984ZM6.66732 9.99984H6.66898L6.66895 10.0015L6.66732 10.0015V9.99984Z",stroke:"#4B4B4B",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})})},wO=function(){return(0,jo.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[(0,jo.jsx)("path",{d:"M4.16602 8.26904C4.16602 12.3122 7.70308 15.6558 9.26867 16.9377C9.49274 17.1211 9.60611 17.214 9.77327 17.261C9.90344 17.2977 10.095 17.2977 10.2252 17.261C10.3927 17.2139 10.5052 17.122 10.7301 16.9378C12.2957 15.6559 15.8326 12.3126 15.8326 8.26941C15.8326 6.73932 15.2181 5.27171 14.1241 4.18977C13.0301 3.10783 11.5465 2.5 9.99942 2.5C8.45232 2.5 6.96852 3.10792 5.87456 4.18986C4.7806 5.2718 4.16602 6.73895 4.16602 8.26904Z",stroke:"#4B4B4B",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"}),(0,jo.jsx)("path",{d:"M8.33268 7.5C8.33268 8.42047 9.07887 9.16667 9.99935 9.16667C10.9198 9.16667 11.666 8.42047 11.666 7.5C11.666 6.57953 10.9198 5.83333 9.99935 5.83333C9.07887 5.83333 8.33268 6.57953 8.33268 7.5Z",stroke:"#4B4B4B",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})]})},CO=function(){return(0,jo.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,jo.jsx)("path",{d:"M8.60437 12.3438C8.96434 12.6687 9.4293 12.8279 9.99925 12.8211C10.5692 12.8143 10.9892 12.6281 11.2591 12.2625L16.2987 5.4375L8.73936 9.9875C8.33439 10.2312 8.12066 10.6036 8.09816 11.1047C8.07566 11.6057 8.2444 12.0187 8.60437 12.3438ZM9.99925 3C10.8842 3 11.7354 3.11172 12.5528 3.33516C13.3702 3.55859 14.1389 3.89375 14.8588 4.34062L13.149 5.31562C12.654 5.08542 12.1403 4.91276 11.6079 4.79766C11.0754 4.68255 10.5392 4.625 9.99925 4.625C8.00442 4.625 6.30581 5.25807 4.90342 6.52422C3.50104 7.79036 2.79985 9.32396 2.79985 11.125C2.79985 11.6937 2.88609 12.2557 3.05858 12.8109C3.23106 13.3661 3.47479 13.8875 3.78977 14.375H16.2087C16.5537 13.8604 16.8049 13.3255 16.9624 12.7703C17.1199 12.2151 17.1987 11.6396 17.1987 11.0437C17.1987 10.5562 17.1349 10.0823 17.0074 9.62187C16.8799 9.16146 16.6887 8.71458 16.4337 8.28125L17.5136 6.7375C17.9636 7.37396 18.3198 8.05104 18.5823 8.76875C18.8448 9.48646 18.9835 10.2312 18.9985 11.0031C19.0135 11.775 18.916 12.513 18.706 13.2172C18.496 13.9214 18.1886 14.5917 17.7836 15.2281C17.6186 15.4719 17.3936 15.6615 17.1087 15.7969C16.8237 15.9323 16.5237 16 16.2087 16H3.78977C3.47479 16 3.17482 15.9323 2.88984 15.7969C2.60487 15.6615 2.37988 15.4719 2.2149 15.2281C1.82493 14.6187 1.52496 13.9721 1.31497 13.2883C1.10499 12.6044 1 11.8833 1 11.125C1 10.001 1.23623 8.94818 1.70869 7.96641C2.18115 6.98464 2.8261 6.12474 3.64353 5.38672C4.46096 4.6487 5.41713 4.06641 6.51204 3.63984C7.60695 3.21328 8.76935 3 9.99925 3Z",fill:"#4B4B4B"})})},jO=function(){return(0,jo.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,jo.jsx)("path",{d:"M3 18V3.77778C3 3.28889 3.16616 2.87037 3.49848 2.52222C3.83081 2.17407 4.2303 2 4.69697 2H9.78788C10.2545 2 10.654 2.17407 10.9864 2.52222C11.3187 2.87037 11.4848 3.28889 11.4848 3.77778V10H12.3333C12.8 10 13.1995 10.1741 13.5318 10.5222C13.8641 10.8704 14.0303 11.2889 14.0303 11.7778V15.7778C14.0303 16.0296 14.1116 16.2407 14.2742 16.4111C14.4369 16.5815 14.6384 16.6667 14.8788 16.6667C15.1192 16.6667 15.3207 16.5815 15.4833 16.4111C15.646 16.2407 15.7273 16.0296 15.7273 15.7778V9.37778C15.6 9.45185 15.4657 9.5 15.3242 9.52222C15.1828 9.54444 15.0343 9.55556 14.8788 9.55556C14.2848 9.55556 13.7828 9.34074 13.3727 8.91111C12.9626 8.48148 12.7576 7.95556 12.7576 7.33333C12.7576 6.85926 12.8813 6.43333 13.1288 6.05556C13.3763 5.67778 13.7051 5.40741 14.1152 5.24444L12.3333 3.37778L13.2242 2.44444L16.3636 5.64444C16.5758 5.86667 16.7348 6.12593 16.8409 6.42222C16.947 6.71852 17 7.02222 17 7.33333V15.7778C17 16.4 16.795 16.9259 16.3848 17.3556C15.9747 17.7852 15.4727 18 14.8788 18C14.2848 18 13.7828 17.7852 13.3727 17.3556C12.9626 16.9259 12.7576 16.4 12.7576 15.7778V11.3333H11.4848V18H3ZM4.69697 8.22222H9.78788V3.77778H4.69697V8.22222ZM14.8788 8.22222C15.1192 8.22222 15.3207 8.13704 15.4833 7.96667C15.646 7.7963 15.7273 7.58519 15.7273 7.33333C15.7273 7.08148 15.646 6.87037 15.4833 6.7C15.3207 6.52963 15.1192 6.44444 14.8788 6.44444C14.6384 6.44444 14.4369 6.52963 14.2742 6.7C14.1116 6.87037 14.0303 7.08148 14.0303 7.33333C14.0303 7.58519 14.1116 7.7963 14.2742 7.96667C14.4369 8.13704 14.6384 8.22222 14.8788 8.22222ZM4.69697 16.2222H9.78788V10H4.69697V16.2222Z",fill:"#4B4B4B"})})},SO=function(){return(0,jo.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,jo.jsx)("path",{d:"M8.33333 15H17.5M2.5 15H5M5 15V16.6667M5 15V13.3333M16.6667 9.99999H17.5M2.5 9.99999H13.3333M13.3333 9.99999V11.6667M13.3333 9.99999V8.33333M11.6667 4.99999H17.5M2.5 4.99999H8.33333M8.33333 4.99999V6.66666M8.33333 4.99999V3.33333",stroke:"#4B4B4B",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})})},kO=function(){return(0,jo.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,jo.jsx)("path",{d:"M2.5 9.16667H3.37123M3.37123 9.16667H16.6288M3.37123 9.16667C3.38051 9.12378 3.39147 9.08126 3.40413 9.03927C3.43435 8.93903 3.47702 8.84263 3.56283 8.64957L4.85138 5.75033C5.10614 5.17712 5.23373 4.89034 5.43508 4.68018C5.61306 4.49441 5.83136 4.35251 6.0734 4.26531C6.34723 4.16667 6.66113 4.16667 7.28841 4.16667H12.7113C13.3386 4.16667 13.6528 4.16667 13.9266 4.26531C14.1687 4.35251 14.3866 4.49441 14.5646 4.68018C14.7658 4.8902 14.8932 5.17674 15.1476 5.74918L16.4413 8.66011C16.524 8.84618 16.5661 8.94087 16.5958 9.03926C16.6085 9.08126 16.6195 9.12378 16.6288 9.16667M3.37123 9.16667C3.36085 9.2147 3.35258 9.26319 3.34643 9.31194C3.33333 9.41581 3.33333 9.5214 3.33333 9.73267V14.1667M16.6288 9.16667H17.5M16.6288 9.16667C16.6392 9.2147 16.6475 9.26319 16.6536 9.31194C16.6667 9.41517 16.6667 9.52015 16.6667 9.72887V14.1668M16.6667 14.1668L13.3333 14.1667M16.6667 14.1668V14.9999C16.6667 15.9204 15.9205 16.6667 15 16.6667C14.0795 16.6667 13.3333 15.9205 13.3333 15V14.1667M13.3333 14.1667L6.66667 14.1667M6.66667 14.1667H3.33333M6.66667 14.1667V15C6.66667 15.9205 5.92047 16.6667 5 16.6667C4.07953 16.6667 3.33333 15.9205 3.33333 15V14.1667",stroke:"#4B4B4B",strokeWidth:"1.6",strokeLinecap:"round",strokeLinejoin:"round"})})},EO=function(){return(0,jo.jsx)(yO,{children:(0,jo.jsxs)("div",{children:[(0,jo.jsxs)("div",{className:"titleDiv",children:[(0,jo.jsx)("h2",{className:"title",children:"\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0438 \u043f\u043e\u0448\u0443\u043a\u0443 (2):"}),(0,jo.jsxs)("select",{className:"select",name:"select",children:[(0,jo.jsx)("option",{value:"foData",children:"\u0417\u0430 \u0434\u0430\u0442\u043e\u044e \u0434\u043e\u0434\u0430\u0432\u0430\u043d\u043d\u044f"}),(0,jo.jsx)("option",{value:"cheap",children:"\u0412\u0456\u0434 \u0434\u0435\u0448\u0435\u0432\u0448\u0438\u0445"}),(0,jo.jsx)("option",{value:"expensive",children:"\u0412\u0456\u0434 \u0434\u043e\u0440\u043e\u0436\u0447\u0438\u0445"})]})]}),(0,jo.jsx)("div",{className:"carsMainList",children:(0,jo.jsx)("ul",{children:(0,jo.jsxs)("li",{className:"carItem",children:[(0,jo.jsx)("div",{children:(0,jo.jsx)("img",{className:"img",src:"https://i.imgur.com/nJhybxm.jpg",alt:"car"})}),(0,jo.jsxs)("div",{className:"infoDiv",children:[(0,jo.jsxs)("div",{className:"modelInfoDIV",children:[(0,jo.jsx)("h2",{className:"modelInfo",children:"BMW X5 2019"}),(0,jo.jsx)("h2",{className:"modelInfo",children:"64 244$"})]}),(0,jo.jsxs)("div",{className:"numberDiv",children:[(0,jo.jsx)("h3",{className:"number",children:"KA2020HM"}),(0,jo.jsx)("h3",{className:"number",children:"\u041c\u0406202067688585855994949"})]}),(0,jo.jsxs)("div",{className:"listDIV",children:[(0,jo.jsxs)("ul",{children:[(0,jo.jsxs)("li",{className:"itemLI",children:[(0,jo.jsx)(xO,{}),"2012"]}),(0,jo.jsxs)("li",{className:"itemLI",children:[(0,jo.jsx)(wO,{}),"\u041a\u0438\u0457\u0432"]}),(0,jo.jsxs)("li",{className:"itemLI",children:[(0,jo.jsx)(CO,{}),"150 000"]})]}),(0,jo.jsxs)("ul",{children:[(0,jo.jsxs)("li",{className:"itemLI",children:[(0,jo.jsx)(jO,{}),"\u0411\u0435\u043d\u0437\u0438\u043d"]}),(0,jo.jsxs)("li",{className:"itemLI",children:[(0,jo.jsx)(SO,{}),"\u0410\u0432\u0442\u043e\u043c\u0430\u0442"]}),(0,jo.jsxs)("li",{className:"itemLI",children:[(0,jo.jsx)(kO,{}),"\u0417\u0430\u0434\u043d\u0456\u0439"]})]})]}),(0,jo.jsx)("button",{className:"favoriteBTN",type:"button",children:(0,jo.jsx)(bO,{})})]})]})})})]})})},OO=xo.div(nO||(nO=Fn(["\n display: flex;\n justify-content: center;\n align-items: flex-start;\n gap: 24px;\n margin-top: 24px;\n margin-bottom: 124px;\n"]))),_O=xo.div(rO||(rO=Fn(["\ndisplay: flex;\nflex-wrap: wrap;\ngap: 8px;\n"]))),TO=xo.button(iO||(iO=Fn(["\n display: inline-flex;\n width: auto;\n height: 30px;\n padding: 6px 9px 6px 12px;\n justify-content: center;\n align-items: center;\n gap: 10px;\n border: 0;\n\n border-radius: 8px;\n background: #0141bd;\n\n color: #fff;\n\n font-family: 'Roboto', sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n"]))),AO=function(){return(0,jo.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[(0,jo.jsx)("path",{d:"M14.7969 4.8969L4.89738 14.7964",stroke:"white",strokeLinecap:"round"}),(0,jo.jsx)("path",{d:"M14.7969 14.8966L4.89738 4.9971",stroke:"white",strokeLinecap:"round"})]})},PO=function(e){var t=e.initialValues,n=e.onSubmit;return(0,jo.jsx)(jo.Fragment,{children:(0,jo.jsx)(_O,{children:Object.entries(t).map((function(e){var r=j(e,2),i=r[0],o=r[1];return""!==o&&(0,jo.jsxs)(TO,{type:"button",onClick:function(){return function(e){var r=ss(ss({},t),{},Ao({},e,t[e]?"":"SomeValue"));n(r)}(i)},children:["".concat(o)," ",(0,jo.jsx)(AO,{})]},i)}))})})},NO=function(e){var t=e.handleSearch,n=Yo(),r=function(){n(Ok(!1))};return(0,jo.jsxs)(Lk,{children:[(0,jo.jsx)("button",{type:"button",onClick:r,className:"xBtn",children:(0,jo.jsx)(Fk,{})}),(0,jo.jsxs)("h4",{className:"title",children:["\u0412\u0438 \u0432\u043f\u0435\u0432\u043d\u0435\u043d\u0456 \u0449\u043e \u0445\u043e\u0447\u0435\u0442\u0435 ",(0,jo.jsx)("span",{className:"cringe",children:"\u043e\u0447\u0438\u0441\u0442\u0438\u0442\u0438"})," \u0444\u0456\u043b\u044c\u0442\u0440\u0438?"]}),(0,jo.jsx)("p",{className:"content",children:"\u041d\u0430\u0442\u0438\u0441\u043a\u0430\u044e\u0447\u0438 \u043d\u0430 \u043a\u043d\u043e\u043f\u043a\u0443 \u201c\u043f\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438\u201d \u0444\u0456\u043b\u044c\u0442\u0440\u0438 \u043f\u043e\u0432\u043d\u0456\u0441\u0442\u044e \u043e\u0447\u0438\u0441\u0442\u044f\u0442\u044c\u0441\u044f"}),(0,jo.jsxs)("div",{className:"buttonBox",children:[(0,jo.jsx)("button",{type:"button",onClick:r,className:"cansel",children:"\u0412\u0456\u0434\u043c\u0456\u043d\u0438\u0442\u0438"}),(0,jo.jsx)("button",{type:"button",onClick:function(){t({status:"",brand:"",model:"",region:"",yearFrom:"",yearTo:"",priceFrom:"",priceTo:"",bodyType:"",fuelType:"",engineCapacity:"",mileageFrom:"",mileageTo:"",driveType:"",transmission:"",condition:"",color:""}),n(Ok(!1))},className:"confirm",children:"\u041f\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438"})]})]})},RO=function(e){var t=e.handleSearch,n=Vo(_k);return Oo.createPortal((0,jo.jsx)(jo.Fragment,{children:n&&(0,jo.jsx)(Dk,{children:(0,jo.jsx)(NO,{handleSearch:t})})}),document.getElementById("portal"))},DO=function(){var t=Yo(),n=Vo(Ld),r=j((0,e.useState)({status:"",brand:"",model:"",region:"",yearFrom:"",yearTo:"",priceFrom:"",priceTo:"",bodyType:"",fuelType:"",engineCapacity:"",mileageFrom:"",mileageTo:"",driveType:"",transmission:"",condition:"",color:""}),2),i=r[0],o=r[1],a=function(e){o(e)};return(0,e.useEffect)((function(){console.log(i),t(bm(i))}),[t,i]),console.log(n),(0,jo.jsxs)(jo.Fragment,{children:[(0,jo.jsxs)(OO,{children:[(0,jo.jsx)(gO,{initialValues:i,onSubmit:a}),(0,jo.jsxs)("div",{className:"searchList",children:[(0,jo.jsx)(PO,{initialValues:i,onSubmit:a}),(0,jo.jsx)(EO,{})]})]}),(0,jo.jsx)(RO,{handleSearch:a})]})},LO=xo.div(oO||(oO=Fn(["\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n height: 100vh;\n\n .title {\n color: var(--text-black-dark, #141414);\n text-align: center;\n /* H4 */\n font-family: 'Roboto', sans-serif;\n font-size: 24px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n padding-bottom: 16px;\n width: 454px;\n border-bottom: 1px solid #b9b9b9;\n }\n .text {\n color: var(--Text-black-2, #4b4b4b);\n\n font-family: 'Roboto', sans-serif;\n font-size: 16px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n margin-top: 24px;\n margin-bottom: 24px;\n width: 454px;\n }\n"]))),FO=xo(Zx)(aO||(aO=Fn(["\n display: flex;\n flex-direction: column;\n width: 454px;\n\n background-color: white;\n border-radius: 8px;\n margin-top: 24px;\n\n .errorSVGemail {\n position: absolute;\n right: 16px;\n top: 16px;\n }\n"]))),IO=xo(nw)(lO||(lO=Fn(["\n margin-left: 0;\n margin-top: 8px;\n color: #fa6666;\n font-family: 'Roboto', sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n"]))),MO=xo(qx)(sO||(sO=Fn(["\n box-sizing: border-box;\n width: 100%;\n padding: 16px;\n height: 56px;\n outline: none;\n color: rgba(13, 12, 12, 0.5);\n font-family: 'Roboto', sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n border-radius: 8px;\n border: 1px solid rgba(13, 12, 12, 0.3);\n color: #141414;\n background: #fff;\n\n transition: var(--transition);\n &::placeholder {\n color: #ababab;\n font-family: 'Roboto', sans-serif;\n font-size: 14px;\n font-style: normal;\n font-weight: 400;\n line-height: normal;\n }\n\n &:hover,\n &:focus {\n border: 1px solid black;\n }\n\n &.is-valid {\n border: 1px solid green;\n }\n\n &.is-invalid {\n border: 1px solid red;\n }\n"]))),zO=xo.label(uO||(uO=Fn(["\n &.is-valid {\n color: green;\n }\n\n &.is-invalid {\n color: red;\n }\n\n & p {\n margin: 0;\n padding: 0;\n margin-top: 8px;\n margin-left: 18px;\n color: green;\n }\n\n & .error-success {\n position: absolute;\n right: 16px;\n top: 50%;\n transform: translateY(-50%);\n }\n"]))),BO=xo.div(cO||(cO=Fn(["\n position: relative;\n margin-top: 8px;\n transition: var(--transition);\n"]))),VO=xo.button(fO||(fO=Fn(["\n display: flex;\n align-items: center;\n justify-content: center;\n color: #fff;\n\n text-align: center;\n font-family: 'Roboto', sans-serif;\n font-size: 22px;\n font-style: normal;\n font-weight: 500;\n line-height: normal;\n width: 454px;\n height: 56px;\n padding: 14px 24px;\n gap: 4px;\n margin-top: 24px;\n align-self: stretch;\n border-radius: 8px;\n border: 0;\n background: linear-gradient(144deg, #0040bd 19.1%, #19015b 78.89%);\n &:hover,\n &:focus {\n background: linear-gradient(144deg, #0040bd 19.34%, #195b01 80.66%);\n }\n"]))),UO=AC().shape({password:vC().required("\u0412\u0432\u0435\u0434\u0456\u0442\u044c \u043f\u0430\u0440\u043e\u043b\u044c").min(5,"\u041f\u0430\u0440\u043e\u043b\u044c \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u043c\u0456\u0441\u0442\u0438\u0442\u0438 \u043f\u0440\u0438\u043d\u0430\u0439\u043c\u043d\u0456 5 \u0441\u0438\u043c\u0432\u043e\u043b\u0456\u0432").matches(/^[^\u0400-\u04FF]*$/,"\u041f\u0430\u0440\u043e\u043b\u044c \u043d\u0435 \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u043c\u0456\u0441\u0442\u0438\u0442\u0438 \u043a\u0438\u0440\u0438\u043b\u0438\u0447\u043d\u0456 \u0441\u0438\u043c\u0432\u043e\u043b\u0438").matches(/^(?=.*[A-Z])/,"\u041f\u0430\u0440\u043e\u043b\u044c \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u043c\u0456\u0441\u0442\u0438\u0442\u0438 \u043f\u0440\u0438\u043d\u0430\u0439\u043c\u043d\u0456 \u043e\u0434\u043d\u0443 \u0432\u0435\u043b\u0438\u043a\u0443 \u043b\u0456\u0442\u0435\u0440\u0443").matches(/^(?=.*[a-z])/,"\u041f\u0430\u0440\u043e\u043b\u044c \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u043c\u0456\u0441\u0442\u0438\u0442\u0438 \u043f\u0440\u0438\u043d\u0430\u0439\u043c\u043d\u0456 \u043e\u0434\u043d\u0443 \u043c\u0430\u043b\u0443 \u043b\u0456\u0442\u0435\u0440\u0443").matches(/^(?=.*\d)/,"\u041f\u0430\u0440\u043e\u043b\u044c \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u043c\u0456\u0441\u0442\u0438\u0442\u0438 \u043f\u0440\u0438\u043d\u0430\u0439\u043c\u043d\u0456 \u043e\u0434\u043d\u0443 \u0446\u0438\u0444\u0440\u0443").matches(/^[^\s]*$/,"\u041f\u0430\u0440\u043e\u043b\u044c \u043d\u0435 \u043f\u043e\u0432\u0438\u043d\u0435\u043d \u043c\u0456\u0441\u0442\u0438\u0442\u0438 \u043f\u0440\u043e\u0431\u0456\u043b\u0438"),password2:vC().required("\u041f\u043e\u0432\u0442\u043e\u0440\u0456\u0442\u044c \u043d\u043e\u0432\u0438\u0439 \u043f\u0430\u0440\u043e\u043b\u044c").test("passwords-match","\u041f\u0430\u0440\u043e\u043b\u0456 \u043f\u043e\u0432\u0438\u043d\u043d\u0456 \u0441\u043f\u0456\u0432\u043f\u0430\u0434\u0430\u0442\u0438",(function(e){return e===this.parent.password}))});function HO(){var t=j((0,e.useState)(!1),2),n=t[0],r=t[1],i=j((0,e.useState)(!1),2),o=i[0],a=i[1],l=Yo(),s=j((0,e.useState)(!1),2),u=s[0],c=s[1],f=Vo(Xo),d=Vo(MS),p=function(){r(!n)},h=function(){a(!o)};return(0,e.useEffect)((function(){f&&c(!0)}),[f]),(0,jo.jsx)(Hx,{onSubmit:function(e,t){var n=t.resetForm,r=t.setSubmitting,i=e.password;try{l(RS({email:d.email,password:i})),n(),r(!1)}catch(o){console.error("Error submitting form:",o)}},initialValues:{password:""},validationSchema:UO,children:function(e){return(0,jo.jsxs)(LO,{children:[(0,jo.jsx)("h4",{className:"title",children:"\u0417\u0430\u043c\u0456\u043d\u0430 \u043f\u0430\u0440\u043e\u043b\u044e"}),(0,jo.jsx)("p",{className:"text",children:"\u0421\u043f\u043e\u0447\u0430\u0442\u043a\u0443 \u0432\u0432\u0435\u0434\u0456\u0442\u044c \u043d\u043e\u0432\u0438\u0439 \u043f\u0430\u0440\u043e\u043b\u044c. \u0410 \u043f\u043e\u0442\u0456\u043c \u043f\u043e\u0432\u0442\u043e\u0440\u0456\u0442\u044c \u0439\u043e\u0433\u043e"}),(0,jo.jsxs)(FO,{children:[(0,jo.jsxs)(zO,{className:" marg8",children:[(0,jo.jsxs)(oj,{children:[(0,jo.jsx)(MO,{type:n?"text":"password",className:u?"is-invalid":"",name:"password",placeholder:"\u0412\u0432\u0435\u043b\u0456\u0442\u044c \u043d\u043e\u0432\u0438\u0439 \u043f\u0430\u0440\u043e\u043b\u044c",value:e.password}),u?(0,jo.jsx)("span",{className:"errorSVG",children:(0,jo.jsx)(dj,{})}):null,(0,jo.jsx)(uj,{type:"button",onClick:p,children:(0,jo.jsx)(pj,{})})]}),(0,jo.jsx)(IO,{name:"password",component:"div"})]}),(0,jo.jsxs)(zO,{style:{marginTop:"24px"},children:[(0,jo.jsxs)(oj,{children:[(0,jo.jsx)(MO,{type:o?"text":"password",className:u?"is-invalid":"",name:"password2",placeholder:"\u041f\u043e\u0432\u0442\u043e\u0440\u0456\u0442\u044c \u043d\u043e\u0432\u0438\u0439 \u043f\u0430\u0440\u043e\u043b\u044c",value:e.password2}),u?(0,jo.jsx)("span",{className:"errorSVG",children:(0,jo.jsx)(dj,{})}):null,(0,jo.jsx)(uj,{type:"button",onClick:h,children:(0,jo.jsx)(pj,{})})]}),(0,jo.jsx)(IO,{name:"password2",component:"div"})]}),(0,jo.jsx)(VO,{type:"submit",children:"\u0417\u0431\u0435\u0440\u0435\u0433\u0442\u0438"})]})]})}})}var WO=AC().shape({email:vC().test("is-valid-email","\u041d\u0435\u0432\u0456\u0440\u043d\u0438\u0439 \u0444\u043e\u0440\u043c\u0430\u0442 Email \u0430\u0434\u0440\u0435\u0441\u0438.",(function(e){return e&&/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$/.test(e)})).required("\u0412\u0432\u0435\u0434\u0456\u0442\u044c Email")});function $O(){var t=Yo(),n=j((0,e.useState)(!1),2),r=n[0],i=n[1],o=Vo(zS);return(0,e.useEffect)((function(){o&&i(!0)}),[o]),(0,jo.jsx)(Hx,{onSubmit:function(e,n){var r=n.resetForm,i=n.setSubmitting,o=e.email;try{t(NS({email:o})),r(),i(!1)}catch(a){console.error("Error submitting form:",a)}},initialValues:{email:""},validationSchema:WO,children:function(e){return(0,jo.jsxs)(LO,{children:[(0,jo.jsx)("h4",{className:"title",children:"\u0412\u0456\u0434\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u043f\u0430\u0440\u043e\u043b\u044e"}),(0,jo.jsx)("p",{className:"text",children:"\u0429\u043e\u0431 \u0432\u0456\u0434\u043d\u043e\u0432\u0438\u0442\u0438 \u043f\u0430\u0440\u043e\u043b\u044c, \u0432\u0432\u0435\u0434\u0456\u0442\u044c \u0412\u0430\u0448 e-mail, \u044f\u043a\u0438\u0439 \u0412\u0438 \u0432\u043a\u0430\u0437\u0443\u0432\u0430\u043b\u0438 \u043f\u0440\u0438 \u0440\u0435\u0454\u0441\u0442\u0440\u0430\u0446\u0456\u0457"}),(0,jo.jsxs)(FO,{children:[(0,jo.jsxs)(zO,{className:" marg24",children:[(0,jo.jsxs)(BO,{children:[(0,jo.jsx)(MO,{className:r?"is-invalid":"",type:"email",name:"email",placeholder:"\u0412\u0432\u0435\u0434\u0456\u0442\u044c \u0435\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u0443 \u043f\u043e\u0448\u0442\u0443",value:e.email}),r?(0,jo.jsx)("span",{className:"errorSVGemail",children:(0,jo.jsx)(dj,{})}):null]}),(0,jo.jsx)(IO,{name:"email",component:"div"})]}),(0,jo.jsx)(VO,{type:"submit",children:"\u0412\u0456\u0434\u043d\u043e\u0432\u0438\u0442\u0438"})]})]})}})}function KO(){var t=j((0,e.useState)(!1),2),n=t[0],r=t[1],i=Yo(),o=function(){var t=e.useContext(fe).matches,n=t[t.length-1];return n?n.params:{}}(),a=o.code,l=Vo(MS);return(0,e.useEffect)((function(){if(a)try{i(DS({code:a})),l&&r(!0)}catch(e){r(!1)}}),[]),(0,jo.jsx)("div",{children:n?(0,jo.jsx)(HO,{}):(0,jo.jsx)($O,{})})}function GO(){var t=Yo();return(0,e.useEffect)((function(){t(kS())}),[t]),(0,jo.jsxs)(jo.Fragment,{children:[(0,jo.jsx)(al,{}),(0,jo.jsx)("main",{children:(0,jo.jsx)(e.Suspense,{fallback:(0,jo.jsx)(So,{}),children:(0,jo.jsxs)(Ne,{children:[(0,jo.jsx)(Ae,{path:"/",element:(0,jo.jsx)(Om,{})}),(0,jo.jsx)(Ae,{path:"/authorization",element:(0,jo.jsx)(ea,{redirectTo:"/account",children:(0,jo.jsx)(Aj,{})})}),(0,jo.jsx)(Ae,{path:"/forgot-password/:code?",element:(0,jo.jsx)(ea,{redirectTo:"/account",children:(0,jo.jsx)(KO,{})})}),(0,jo.jsx)(Ae,{path:"/search",element:(0,jo.jsx)(DO,{})}),(0,jo.jsx)(Ae,{path:"/AdvertisementPage",element:(0,jo.jsx)(ta,{redirectTo:"/authorization",children:(0,jo.jsx)(vO,{})})}),(0,jo.jsx)(Ae,{path:"/account",element:(0,jo.jsx)(ta,{redirectTo:"/authorization",children:(0,jo.jsx)(VS,{})})})]})})}),(0,jo.jsx)(ql,{})]})}var qO="persist:",ZO="persist/FLUSH",YO="persist/REHYDRATE",QO="persist/PAUSE",XO="persist/PERSIST",JO="persist/PURGE",e_="persist/REGISTER";function t_(e){return t_="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t_(e)}function n_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function r_(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i_(e,t,n,r){r.debug;var i=function(e){for(var t=1;t=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function h_(e){return function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:y_,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case e_:return m_({},e,{registry:[].concat(h_(e.registry),[t.key])});case YO:var n=e.registry.indexOf(t.key),r=h_(e.registry);return r.splice(n,1),m_({},e,{registry:r,bootstrapped:0===r.length});default:return e}};var x_=n(752),w_=bh({name:"cars",initialState:{cars:null,carsPopular:null,carsFiltered:null,carsFavorite:null,isLoading:!1,error:null},reducers:{},extraReducers:function(e){e.addCase(xm.pending,(function(e){e.isLoading=!0,e.error=null})).addCase(xm.rejected,(function(e,t){e.isLoading=!1,e.error=t.payload})).addCase(xm.fulfilled,(function(e,t){e.isLoading=!1,e.error=null,e.cars=t.payload})).addCase(wm.pending,(function(e){e.isLoading=!0,e.error=null})).addCase(wm.rejected,(function(e,t){e.isLoading=!1,e.error=t.payload})).addCase(wm.fulfilled,(function(e,t){e.isLoading=!1,e.error=null,e.carsPopular=t.payload})).addCase(bm.pending,(function(e){e.isLoading=!0,e.error=null})).addCase(bm.rejected,(function(e,t){e.isLoading=!1,e.error=t.payload})).addCase(bm.fulfilled,(function(e,t){e.isLoading=!1,e.error=null,e.carsFiltered=t.payload}))}}).reducer,C_=bh({name:"user",initialState:{user:{},isLoading:!1,error:null},extraReducers:function(e){e.addCase(TS.fulfilled,(function(e,t){var n=t.payload;e.user=ss({},n),e.isLoading=!1,e.error=null})).addCase(TS.pending,(function(e){e.isLoading=!0})).addCase(TS.rejected,(function(e,t){var n=t.payload;e.isLoading=!1,e.error=n})).addCase(AS.fulfilled,(function(e){e.isLoading=!1,e.error=null})).addCase(AS.pending,(function(e){e.isLoading=!0})).addCase(AS.rejected,(function(e,t){var n=t.payload;e.isLoading=!1,e.error=n})).addCase(PS.fulfilled,(function(e){e.isLoading=!1,e.error=null})).addCase(PS.pending,(function(e){e.isLoading=!0})).addCase(PS.rejected,(function(e,t){var n=t.payload;e.isLoading=!1,e.error=n})).addCase(NS.fulfilled,(function(e){e.isLoading=!1,e.error=null})).addCase(NS.pending,(function(e){e.isLoading=!0})).addCase(NS.rejected,(function(e,t){var n=t.payload;e.isLoading=!1,e.error=n})).addCase(RS.fulfilled,(function(e){e.isLoading=!1,e.error=null})).addCase(RS.pending,(function(e){e.isLoading=!0})).addCase(RS.rejected,(function(e,t){var n=t.payload;e.isLoading=!1,e.error=n})).addCase(DS.fulfilled,(function(e,t){var n=t.payload;e.user=ss({},n.data),e.isLoading=!1,e.error=null})).addCase(DS.pending,(function(e){e.isLoading=!0})).addCase(DS.rejected,(function(e,t){var n=t.payload;e.isLoading=!1,e.error=n}))}}),j_=kh("adverstisements/getAdverstisements",function(){var e=zd(O().mark((function e(t,n){var r,i;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.rejectWithValue,e.prev=1,e.next=4,rw.get("api/advertisements");case 4:return i=e.sent,console.log("getAdverstisements is successful"),e.abrupt("return",i.data);case 9:return e.prev=9,e.t0=e.catch(1),e.abrupt("return",r(e.t0.message));case 12:case"end":return e.stop()}}),e,null,[[1,9]])})));return function(t,n){return e.apply(this,arguments)}}()),S_=kh("adverstisements/getAdverstisementsByID",function(){var e=zd(O().mark((function e(t,n){var r,i,o;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.id,i=n.rejectWithValue,e.prev=2,e.next=5,rw.get("api/advertisements/".concat(r));case 5:return o=e.sent,console.log("getAdverstisementsByID is successful"),e.abrupt("return",o.data);case 10:return e.prev=10,e.t0=e.catch(2),e.abrupt("return",i(e.t0.message));case 13:case"end":return e.stop()}}),e,null,[[2,10]])})));return function(t,n){return e.apply(this,arguments)}}()),k_=kh("adverstisements/getAdverstisementsFavorite",function(){var e=zd(O().mark((function e(t,n){var r,i;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=n.rejectWithValue,e.prev=1,e.next=4,rw.get("api/advertisements/favorites");case 4:return i=e.sent,console.log("getAdverstisementsFavorite is successful"),e.abrupt("return",i.data);case 9:return e.prev=9,e.t0=e.catch(1),e.abrupt("return",r(e.t0.message));case 12:case"end":return e.stop()}}),e,null,[[1,9]])})));return function(t,n){return e.apply(this,arguments)}}()),E_=kh("adverstisements/deleteAdverstisementsByID",function(){var e=zd(O().mark((function e(t,n){var r,i,o;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.id,i=n.rejectWithValue,e.prev=2,e.next=5,rw.delete("api/advertisements/".concat(r,"/remove"));case 5:return o=e.sent,console.log("deleteAdverstisementsByID is successful"),e.abrupt("return",o.data);case 10:return e.prev=10,e.t0=e.catch(2),e.abrupt("return",i(e.t0.message));case 13:case"end":return e.stop()}}),e,null,[[2,10]])})));return function(t,n){return e.apply(this,arguments)}}()),O_=kh("adverstisements/deleteFavoriteAdverstisementsByID",function(){var e=zd(O().mark((function e(t,n){var r,i,o;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.id,i=n.rejectWithValue,e.prev=2,e.next=5,rw.delete("api/advertisements/".concat(r,"/favorites"));case 5:return o=e.sent,console.log("deleteFavoriteAdverstisementsByID is successful"),e.abrupt("return",o.data);case 10:return e.prev=10,e.t0=e.catch(2),e.abrupt("return",i(e.t0.message));case 13:case"end":return e.stop()}}),e,null,[[2,10]])})));return function(t,n){return e.apply(this,arguments)}}()),__=kh("adverstisements/postFavoriteAdverstisementsByID",function(){var e=zd(O().mark((function e(t,n){var r,i,o;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.id,i=n.rejectWithValue,e.prev=2,e.next=5,rw.post("api/advertisements/".concat(r,"/favorites"));case 5:return o=e.sent,console.log("postFavoriteAdverstisementsByID is successful"),e.abrupt("return",o.data);case 10:return e.prev=10,e.t0=e.catch(2),e.abrupt("return",i(e.t0.message));case 13:case"end":return e.stop()}}),e,null,[[2,10]])})));return function(t,n){return e.apply(this,arguments)}}()),T_=kh("adverstisements/putFavoriteAdverstisementsByID",function(){var e=zd(O().mark((function e(t,n){var r,i,o,a;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.Adverstisements,i=t.id,o=n.rejectWithValue,e.prev=2,e.next=5,rw.put("api/advertisements/".concat(i,"/favorites"),r);case 5:return a=e.sent,console.log("putFavoriteAdverstisementsByID is successful"),e.abrupt("return",a.data);case 10:return e.prev=10,e.t0=e.catch(2),e.abrupt("return",o(e.t0.message));case 13:case"end":return e.stop()}}),e,null,[[2,10]])})));return function(t,n){return e.apply(this,arguments)}}()),A_=kh("adverstisements/createFavoriteAdverstisementsByID",function(){var e=zd(O().mark((function e(t,n){var r,i,o;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.Adverstisements,i=n.rejectWithValue,e.prev=2,e.next=5,rw.post("api/advertisements/create",r);case 5:return o=e.sent,console.log("createFavoriteAdverstisementsByID is successful"),e.abrupt("return",o.data);case 10:return e.prev=10,e.t0=e.catch(2),e.abrupt("return",i(e.t0.message));case 13:case"end":return e.stop()}}),e,null,[[2,10]])})));return function(t,n){return e.apply(this,arguments)}}()),P_=bh({name:"adverstisements",initialState:{adverstisements:[],adverstisementsID:[],adverstisementsFavorite:[],isLoading:!1,error:null},extraReducers:function(e){e.addCase(j_.fulfilled,(function(e,t){var n=t.payload;e.adverstisements=n,e.isLoading=!1,e.error=null})).addCase(j_.pending,(function(e){e.isLoading=!0})).addCase(j_.rejected,(function(e,t){var n=t.payload;e.isLoading=!1,e.error=n.error})).addCase(S_.fulfilled,(function(e,t){var n=t.payload;e.adverstisementsID=n,e.isLoading=!1,e.error=null})).addCase(S_.pending,(function(e){e.isLoading=!0})).addCase(S_.rejected,(function(e,t){var n=t.payload;e.isLoading=!1,e.error=n.error})).addCase(k_.fulfilled,(function(e,t){var n=t.payload;e.adverstisementsFavorite=n,e.isLoading=!1,e.error=null})).addCase(k_.pending,(function(e){e.isLoading=!0})).addCase(k_.rejected,(function(e,t){var n=t.payload;e.isLoading=!1,e.error=n.error})).addCase(E_.fulfilled,(function(e){e.isLoading=!1,e.error=null})).addCase(E_.pending,(function(e){e.isLoading=!0})).addCase(E_.rejected,(function(e,t){var n=t.payload;e.isLoading=!1,e.error=n.error})).addCase(O_.fulfilled,(function(e){e.isLoading=!1,e.error=null})).addCase(O_.pending,(function(e){e.isLoading=!0})).addCase(O_.rejected,(function(e,t){var n=t.payload;e.isLoading=!1,e.error=n.error})).addCase(__.fulfilled,(function(e){e.isLoading=!1,e.error=null})).addCase(__.pending,(function(e){e.isLoading=!0})).addCase(__.rejected,(function(e,t){var n=t.payload;e.isLoading=!1,e.error=n.error})).addCase(T_.fulfilled,(function(e){e.isLoading=!1,e.error=null})).addCase(T_.pending,(function(e){e.isLoading=!0})).addCase(T_.rejected,(function(e,t){var n=t.payload;e.isLoading=!1,e.error=n.error})).addCase(A_.fulfilled,(function(e){e.isLoading=!1,e.error=null})).addCase(A_.pending,(function(e){e.isLoading=!0})).addCase(A_.rejected,(function(e,t){var n=t.payload;e.isLoading=!1,e.error=n.error}))}}),N_=function(e){var t,n=gh(),r=e||{},i=r.reducer,o=void 0===i?void 0:i,a=r.middleware,l=void 0===a?n():a,s=r.devTools,u=void 0===s||s,c=r.preloadedState,f=void 0===c?void 0:c,d=r.enhancers,p=void 0===d?void 0:d;if("function"===typeof o)t=o;else{if(!dh(o))throw new Error('"reducer" is a required argument, and must be a function or an object of functions that can be passed to combineReducers');t=Kp(o)}var h=l;"function"===typeof h&&(h=h(n));var v=qp.apply(void 0,h),m=Gp;u&&(m=fh(sh({trace:!1},"object"===typeof u&&u)));var g=new vh(v),y=g;return Array.isArray(p)?y=eh([v],p):"function"===typeof p&&(y=p(g)),$p(t,f,m.apply(void 0,y))}({reducer:{auth:function(e,t){var n=void 0!==e.version?e.version:-1,r=(e.debug,void 0===e.stateReconciler?i_:e.stateReconciler),i=e.getStoredState||l_,o=void 0!==e.timeout?e.timeout:5e3,a=null,l=!1,s=!0,u=function(e){return e._persist.rehydrated&&a&&!s&&a.update(e),e};return function(c,f){var d=c||{},p=d._persist,h=p_(d,["_persist"]);if(f.type===XO){var v=!1,m=function(t,n){v||(f.rehydrate(e.key,t,n),v=!0)};if(o&&setTimeout((function(){!v&&m(void 0,new Error('redux-persist: persist timed out for persist key "'.concat(e.key,'"')))}),o),s=!1,a||(a=o_(e)),p)return f_({},t(h,f),{_persist:p});if("function"!==typeof f.rehydrate||"function"!==typeof f.register)throw new Error("redux-persist: either rehydrate or register is not a function on the PERSIST action. This can happen if the action is being replayed. This is an unexplored use case, please open an issue and we will figure out a resolution.");return f.register(e.key),i(e).then((function(t){(e.migrate||function(e,t){return Promise.resolve(e)})(t,n).then((function(e){m(e)}),(function(e){m(void 0,e)}))}),(function(e){m(void 0,e)})),f_({},t(h,f),{_persist:{version:n,rehydrated:!1}})}if(f.type===JO)return l=!0,f.result(function(e){var t=e.storage,n="".concat(void 0!==e.keyPrefix?e.keyPrefix:qO).concat(e.key);return t.removeItem(n,u_)}(e)),f_({},t(h,f),{_persist:p});if(f.type===ZO)return f.result(a&&a.flush()),f_({},t(h,f),{_persist:p});if(f.type===QO)s=!0;else if(f.type===YO){if(l)return f_({},h,{_persist:f_({},p,{rehydrated:!0})});if(f.key===e.key){var g=t(h,f),y=f.payload,b=f_({},!1!==r&&void 0!==y?r(y,c,g,e):g,{_persist:f_({},p,{rehydrated:!0})});return u(b)}}if(!p)return t(c,f);var x=t(h,f);return x===h?c:u(f_({},x,{_persist:p}))}}({key:"auth",storage:x_.Z,whitelist:["token","refToken","user"]},CS.reducer),cars:w_,modal:Tk,user:C_.reducer,adverts:P_.reducer},middleware:function(e){return e({serializableCheck:{ignoredActions:[ZO,YO,QO,XO,JO,e_]}})}}),R_=function(e,t,n){var r=n||!1,i=$p(b_,y_,t&&t.enhancer?t.enhancer:void 0),o=function(e){i.dispatch({type:e_,key:e})},a=function(t,n,o){var a={type:YO,payload:n,err:o,key:t};e.dispatch(a),i.dispatch(a),r&&l.getState().bootstrapped&&(r(),r=!1)},l=m_({},i,{purge:function(){var t=[];return e.dispatch({type:JO,result:function(e){t.push(e)}}),Promise.all(t)},flush:function(){var t=[];return e.dispatch({type:ZO,result:function(e){t.push(e)}}),Promise.all(t)},pause:function(){e.dispatch({type:QO})},persist:function(){e.dispatch({type:XO,register:o,rehydrate:a})}});return t&&t.manualPersist||l.persist(),l}(N_);function D_(e){return D_="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},D_(e)}function L_(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function F_(e,t){for(var n=0;n