1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="1b452ae5-2996-4078-99de-cc3e868e5baf",e._sentryDebugIdIdentifier="sentry-dbid-1b452ae5-2996-4078-99de-cc3e868e5baf")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[93332],{27644:()=>{},36388:(e,a,r)=>{"use strict";r.d(a,{i:()=>l,u:()=>n});var t=r(838223),o=r(340709),n=e=>({isMainAccount:(null==e?void 0:e["".concat(o.cV)])===(null==e?void 0:e.sub)}),l=e=>{if(!(0,t.LB)(e)||!e)return!1;var a=e.multiUser;return!(a&&!(null==a?void 0:a.isMainAccount))}},40145:(e,a,r)=>{"use strict";r.d(a,{B:()=>c});var t=r(226365),o=r(620703),n=r(934085),l=r(761876),i=r(800144),s=r(232719),c=()=>{var e=(0,s.wV)(),a=e.data,r="authenticated"===e.status;(0,i.jv)(a);var c=(0,i.XS)(a),d=(0,n.h)()(l.b$c)||!1,u="b"===(0,t.useExperiment)(o.Eh,{enable:d});switch(!0){case u:return"/osobowe/nowe-ogloszenie";case!r:case r&&c&&!0:return String("/opcje-sprzedazy");default:return"/osobowe/nowe-ogloszenie"}}},60794:(e,a,r)=>{"use strict";r.d(a,{Y:()=>d});var t=r(300561),o=r(819470),n=r(271864),l=r(119218),i=r(12013),s=r(413237),c=(0,l.F)()?function(e){var a,r,l=(0,i.c)(3);return l[0]===Symbol.for("react.memo_cache_sentinel")?(a=(0,n.Y)("path",{fill:"currentColor",d:"M15.01 4.12a.88.88 0 0 1 1.24 1.24L9.6 12l6.64 6.64A.88.88 0 0 1 15 19.88l-7.26-7.26a.9.9 0 0 1 0-1.24z"}),l[0]=a):a=l[0],l[1]!==e?(r=(0,n.Y)("svg",(0,o._)((0,t._)({fill:"none",viewBox:"0 0 24 24"},e),{children:a})),l[1]=e,l[2]=r):r=l[2],r}:function(e){return(0,n.Y)("svg",(0,o._)((0,t._)({fill:"none",viewBox:"0 0 24 24"},e),{children:(0,n.Y)("path",{fill:"currentColor",d:"M15.01 4.12a.88.88 0 0 1 1.24 1.24L9.6 12l6.64 6.64A.88.88 0 0 1 15 19.88l-7.26-7.26a.9.9 0 0 1 0-1.24z"})}))},d=(0,s.w)(c,"ChevronLeftIcon")},65359:(e,a,r)=>{"use strict";r.d(a,{p:()=>d});var t=r(698319),o=r(346686),n=r(232719),l=r(974988),i=r(138209),s=r(383055),c=(0,o.UG)("\n query GetUserInboxStatus {\n viewer {\n inbox {\n status {\n hasUnreadConversations\n hasUnreadBuyingConversations\n hasUnreadSellingConversations\n }\n }\n }\n }\n"),d=function(){var e,a,r,o=arguments.length>0&&void 0!==arguments[0]&&arguments[0],d=(0,n.wV)().status,u=(0,t._)((0,s.IT)({query:c,requestPolicy:"cache-first",pause:o||"authenticated"!==d}),2),m=u[0],p=u[1],h=(0,i.useCallback)(()=>p({requestPolicy:"network-only"}),[p]),f=(0,l.S)(["VIEW_MESSAGES","VIEW_CALLS"]),b=f.permissions,y=f.isLoading,v=f.error,_=!!b.VIEW_MESSAGES,g=_&&!!b.VIEW_CALLS;m.error&&console.error("Error fetching user inbox status: ".concat(m.error.message)),v&&console.error("Error checking Messages/Calls access: ".concat(v.toString()));var w=null==(r=m.data)||null==(a=r.viewer)||null==(e=a.inbox)?void 0:e.status;return{refetchUserInboxStatus:h,isLoading:m.fetching||y,hasLeadsAccess:g,hasUnreadConversations:!!(null==w?void 0:w.hasUnreadConversations)&&_,hasUnreadBuyingConversations:!!(null==w?void 0:w.hasUnreadBuyingConversations)&&_,hasUnreadSellingConversations:!!(null==w?void 0:w.hasUnreadSellingConversations)&&_}}},96022:(e,a,r)=>{"use strict";r.d(a,{y:()=>i});var t=r(300561),o=r(819470),n=r(261934);class l extends Error{constructor(e){super(e.statusText),this.response=e}}class i{async callWithTimeout(e,a,r,i){var s,c,d=r.baseURL||this.baseURL||"",u=e.startsWith("http"),m=e.startsWith("/"),p=d.endsWith("/"),h=new URL(u?e:p&&m?"".concat(d.slice(0,-1)).concat(e):p||m?"".concat(d).concat(e):"".concat(d,"/").concat(e));r.params&&(Object.keys(r.params).forEach(e=>{var a,t;return(null==(a=r.params)?void 0:a[e])===void 0&&(null==(t=r.params)||delete t[e])}),h.search=new URLSearchParams(r.params).toString());var f=i,b=(0,t._)({Accept:"application/json, text/plain, */*"},null!=(s=r.headers)?s:{}),y="Content-Type";!b[y]&&(i instanceof File||i instanceof FormData||i instanceof URLSearchParams||i instanceof Blob||i instanceof ArrayBuffer)&&(f=i,(i instanceof File||i instanceof Blob)&&(b[
1y]=i.type),i instanceof FormData&&(b[y]="multipart/form-data"),i instanceof URLSearchParams&&(b[y]="application/x-www-form-urlencoded")),(!b[y]||"application/json"===b[y])&&i&&(f="string"==typeof i?i:JSON.stringify(i),b[y]="application/json");var v=await (0,n.k)()(h.toString(),(0,o._)((0,t._)({},r),{headers:b,method:a,body:f,timeout:null!=(c=r.timeout)?c:1e4,credentials:r.withCredentials?"include":void 0}));if(!v.ok)throw new l(v);return{data:await v.json(),status:v.status,statusText:v.statusText}}async delete(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.callWithTimeout(e,"delete",a)}async get(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.callWithTimeout(e,"get",a)}async post(e,a){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.callWithTimeout(e,"post",r,a)}async put(e,a){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.callWithTimeout(e,"put",r,a)}static create(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"https://www.otomoto.pl/api/v1/";return arguments.length>1&&arguments[1],new i(null!=e?e:"")}constructor(e){this.baseURL=e}}},120404:(e,a,r)=>{"use strict";r.d(a,{u:()=>d});var t=r(698319),o=r(271864),n=r(119218),l=r(12013),i=r(886161);r(946213);var s=r(138209),c=s.useLayoutEffect;window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],window.pbjs=window.pbjs||{},window.pbjs.que=window.pbjs.que||[];var d=(0,s.memo)((0,n.F)()?function(e){var a,r,n,d,m,p,h,f=(0,l.c)(12),b=e.page,y=e.targeting,v=(0,t._)((0,s.useReducer)(u,0),2),_=v[0],g=v[1],w=(0,s.useRef)(void 0);if(f[0]===Symbol.for("react.memo_cache_sentinel")?(a=()=>()=>{void 0!==w.current&&clearTimeout(w.current)},r=[],f[0]=a,f[1]=r):(a=f[0],r=f[1]),c(a,r),f[2]!==b||f[3]!==y?(n=()=>{!1!==y&&b&&"object"==typeof y&&null!==y&&(window.GPT={targeting:y})},d=[y,b],f[2]=b,f[3]=y,f[4]=n,f[5]=d):(n=f[4],d=f[5]),c(n,d),!1!==y&&b)return f[6]===Symbol.for("react.memo_cache_sentinel")?(m={crossOrigin:!1},f[6]=m):m=f[6],f[7]===Symbol.for("react.memo_cache_sentinel")?(p=()=>{void 0!==w.current&&clearTimeout(w.current),w.current=setTimeout(g,2e3)},f[7]=p):p=f[7],f[8]!==b||f[9]!==_||f[10]!==y?(h=(0,o.Y)(i.rL,{"data-testid":"baxter-loader-script",scriptUrl:"https://cdn.slots.baxter.olx.org/otomoto/web/release/init.min.js",styleUrl:"https://cdn.slots.baxter.olx.org/otomoto/web/release/init.css",page:b,targeting:y,scriptAttrs:m,onError:p},_),f[8]=b,f[9]=_,f[10]=y,f[11]=h):h=f[11],h}:function(e){var a=e.page,r=e.targeting,n=(0,t._)((0,s.useReducer)(e=>e+1,0),2),l=n[0],d=n[1],u=(0,s.useRef)(void 0);if(c(()=>()=>{void 0!==u.current&&clearTimeout(u.current)},[]),c(()=>{!1!==r&&a&&"object"==typeof r&&null!==r&&(window.GPT={targeting:r})},[r,a]),!1!==r&&a)return(0,o.Y)(i.rL,{"data-testid":"baxter-loader-script",scriptUrl:"https://cdn.slots.baxter.olx.org/otomoto/web/release/init.min.js",styleUrl:"https://cdn.slots.baxter.olx.org/otomoto/web/release/init.css",page:a,targeting:r,scriptAttrs:{crossOrigin:!1},onError:()=>{void 0!==u.current&&clearTimeout(u.current),u.current=setTimeout(d,2e3)}},l)});function u(e){return e+1}},129100:(e,a,r)=>{"use strict";r.d(a,{A:()=>d});var t=r(300561),o=r(819470),n=r(271864),l=r(119218),i=r(12013),s=r(413237),c=(0,l.F)()?function(e){var a,r,l=(0,i.c)(3);return l[0]===Symbol.for("react.memo_cache_sentinel")?(a=(0,n.Y)("path",{fill:"currentColor",d:"M11.26 4.26a.88.88 0 0 1 1.23 1.23L7 11h11.88a.88.88 0 0 1 0 1.75H7l5.5 5.5a.88.88 0 0 1-1.23 1.24l-7-7a1 1 0 0 1-.2-.28.9.9 0 0 1 .2-.95z"}),l[0]=a):a=l[0],l[1]!==e?(r=(0,n.Y)("svg",(0,o._)((0,t._)({fill:"none",viewBox:"0 0 24 24"},e),{children:a})),l[1]=e,l[2]=r):r=l[2],r}:function(e){return(0,n.Y)("svg",(0,o._)((0,t._)({fill:"none",viewBox:"0 0 24 24"},e),{children:(0,n.Y)("path",{fill:"currentColor",d:"M11.26 4.26a.88.88 0 0 1 1.23 1.23L7 11h11.88a.88.88 0 0 1 0 1.75H7l5.5 5.5a.88.88 0 0 1-1.23 1.24l-7-7a1 1 0 0 1-.2-.28.9.9 0 0 1 .2-.95z"})}))},d=(0,s.w)(c,"ArrowLeftIcon")},147808:(e,a,r)=>{"use strict";r.d(a,{J:()=>u,t:()=>d});var t=r(271864),o=r(119218),n=r(12013),l=r(464399),i=r(28337),s=r(599202),c=(0,i.default)(s.vw,{target:"e1q9ci2i0"})(e=>{var a=e.theme,r=a.colors,t=a.sizes,o=e.isThinner;return"\n background: ".concat(r.$05_green_primary,";\n color: ").concat(r.$01_white,";\n line-height: ").concat(t[16],";\n text-transform: uppercase;\n ").concat(void 0!==o&&o&&"padding: 0 ".concat(t[8],";"),"\n ")}),d=(0,o.F)()?e=>{var a,r,o=(0,n.c)(6),i=e.isThinner,s=e.className,d=(0,l.Bd)("common").t;return o[0]!==d?(a=d("usermenu-is-new-label"),o[0]=d,o[1]=a):a=o[1],o[2]!==s||o[3]!==i||o[4]!==a?(r=(0,t.Y)(c,{className:s,variant:"primary",content:a,isThinner:i}),o[2]=s,o[3]=i,o[4]=a,o[5]=r):r=o[5],r}:e=>{var a=e.isThinner,r=e.className,o=(0,l.Bd)("common").t;return(0,t.Y)(c,{className:r,variant:"primary",content:o("usermenu-is-new-label"),isThinner:a})},u=(0,o.F)()?e=>{var a,r,o=(0,n.c)(5),i=e.isThinner,s=(0,l.Bd)("common").t;return o[0]!==s?(a=s("beta-tag"),o[0]=s,o[1]=a):a=o[1],o[2]!==i||o[3]!==a?(r=(0,t.Y)(c,{variant:"primary",content:a,isThinner:i}),o[2]=i,o[3]=a,o[4]=r):r=o[4],r}:e=>{var a=e.isThinner,r=(0,l.Bd)("common").t;return(0,t.Y)(c,{variant:"primary",content:r("beta-tag"),isThinner:a})}},164106:(e,a,r)=>{"use strict";r.d(a,{AY:()=>n,Wm:()=>s,_h:()=>i,hB:()=>o,n:()=>c,p2:()=>l,qH:()=>t});var t=400,o=401,n=403,l=404,i=408,s=429,c=500},184138:(e,a,r)=>{"use strict";r.d(a,{Ez:()=>d,tK:()=>u,uC:()=>s});var t=r(271864),o=r(119218),n=r(12013),l=r(170412),i=r(330154),s="-mx-turbo-24 flex gap-turbo-12 overflow-x-auto px-turbo-24 pb-turbo-4 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden md:-mx-turbo-32 md:px-turbo-32 lg:-mx-turbo-40 lg:px-turbo-40 xl:mx-0 xl:px-0",c="w-full px-turbo-24 md:px-turbo-32 lg:px-turbo-40 xl:mx-auto xl:max-w-page xl:px-0",d="w-full px-turbo-24 md:px-turbo-32 lg:px-turbo-40 xl:mx-auto xl:max-w-[1926px] xl:px-turbo-48",u=(0,o.F)()?function(e){var a,r,o,s,u,m=(0,n.c)(27),p=e.children,h=e.title,f=e.href,b=e.external,y=e.onViewAllClick,v=e.viewAllAriaLabel,_=e.headingId,g=e.desktopTrailing,w=e.as,k=e.sectionRef,S=e.testId,x=e.className,A=e.titleClassName,F=e.contentGapClassName,C=e.wideDesktop,N=void 0!==C&&C?d:c;m[0]!==p||m[1]!==F||m[2]!==g||m[3]!==b||m[4]!==_||m[5]!==f||m[6]!==y||m[7]!==h||m[8]!==A||m[9]!==v?
1(a=h?(0,t.FD)("div",{className:(0,l.A)("flex w-full flex-col",null!=F?F:"gap-turbo-24"),children:[(0,t.Y)(i.d,{title:h,href:f,external:b,onViewAllClick:y,viewAllAriaLabel:v,headingId:_,desktopTrailing:g,titleClassName:A}),p]}):p,m[0]=p,m[1]=F,m[2]=g,m[3]=b,m[4]=_,m[5]=f,m[6]=y,m[7]=h,m[8]=A,m[9]=v,m[10]=a):a=m[10];var Y=a;if("div"===(void 0===w?"section":w))return m[11]!==x||m[12]!==N?(r=(0,l.A)(N,x),m[11]=x,m[12]=N,m[13]=r):r=m[13],m[14]!==Y||m[15]!==r||m[16]!==S?(o=(0,t.Y)("div",{className:r,"data-testid":S,children:Y}),m[14]=Y,m[15]=r,m[16]=S,m[17]=o):o=m[17],o;var I=h?_:void 0;return m[18]!==x||m[19]!==N?(s=(0,l.A)(N,x),m[18]=x,m[19]=N,m[20]=s):s=m[20],m[21]!==Y||m[22]!==k||m[23]!==I||m[24]!==s||m[25]!==S?(u=(0,t.Y)("section",{ref:k,"aria-labelledby":I,className:s,"data-testid":S,children:Y}),m[21]=Y,m[22]=k,m[23]=I,m[24]=s,m[25]=S,m[26]=u):u=m[26],u}:function(e){var a=e.children,r=e.title,o=e.href,n=e.external,s=e.onViewAllClick,u=e.viewAllAriaLabel,m=e.headingId,p=e.desktopTrailing,h=e.as,f=e.sectionRef,b=e.testId,y=e.className,v=e.titleClassName,_=e.contentGapClassName,g=e.wideDesktop,w=void 0!==g&&g?d:c,k=r?(0,t.FD)("div",{className:(0,l.A)("flex w-full flex-col",null!=_?_:"gap-turbo-24"),children:[(0,t.Y)(i.d,{title:r,href:o,external:n,onViewAllClick:s,viewAllAriaLabel:u,headingId:m,desktopTrailing:p,titleClassName:v}),a]}):a;return"div"===(void 0===h?"section":h)?(0,t.Y)("div",{className:(0,l.A)(w,y),"data-testid":b,children:k}):(0,t.Y)("section",{ref:f,"aria-labelledby":r?m:void 0,className:(0,l.A)(w,y),"data-testid":b,children:k})}},203317:(e,a,r)=>{"use strict";r.d(a,{v:()=>d});var t=r(300561),o=r(819470),n=r(271864),l=r(119218),i=r(12013),s=r(413237),c=(0,l.F)()?function(e){var a,r,l=(0,i.c)(3);return l[0]===Symbol.for("react.memo_cache_sentinel")?(a=(0,n.Y)("path",{fill:"currentColor",d:"M7.75 4.12a.9.9 0 0 1 1.24 0l7.26 7.26c.34.34.34.9 0 1.24l-7.26 7.26a.88.88 0 0 1-1.24-1.24L14.4 12 7.75 5.36a.9.9 0 0 1 0-1.24"}),l[0]=a):a=l[0],l[1]!==e?(r=(0,n.Y)("svg",(0,o._)((0,t._)({fill:"none",viewBox:"0 0 24 24"},e),{children:a})),l[1]=e,l[2]=r):r=l[2],r}:function(e){return(0,n.Y)("svg",(0,o._)((0,t._)({fill:"none",viewBox:"0 0 24 24"},e),{children:(0,n.Y)("path",{fill:"currentColor",d:"M7.75 4.12a.9.9 0 0 1 1.24 0l7.26 7.26c.34.34.34.9 0 1.24l-7.26 7.26a.88.88 0 0 1-1.24-1.24L14.4 12 7.75 5.36a.9.9 0 0 1 0-1.24"})}))},d=(0,s.w)(c,"ChevronRightIcon")},205649:(e,a,r)=>{"use strict";function t(){return!1}r.d(a,{g:()=>t}),r(340709)},209244:(e,a,r)=>{"use strict";r.d(a,{m:()=>d});var t=r(300561),o=r(819470),n=r(271864),l=r(119218),i=r(12013),s=r(413237),c=(0,l.F)()?function(e){var a,r,l,s,c=(0,i.c)(5);return c[0]===Symbol.for("react.memo_cache_sentinel")?(a=(0,n.Y)("path",{fill:"currentColor",d:"M12.01 15.13a.88.88 0 0 1 0 1.74H12a.88.88 0 0 1 0-1.75z"}),r=(0,n.Y)("path",{fill:"currentColor",d:"M12 7.13c.48 0 .88.39.88.87v4a.88.88 0 0 1-1.76 0V8c0-.48.4-.87.88-.87"}),l=(0,n.Y)("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 1.13a10.87 10.87 0 1 1 0 21.74 10.87 10.87 0 0 1 0-21.74m0 1.75a9.12 9.12 0 1 0 0 18.24 9.12 9.12 0 0 0 0-18.24",clipRule:"evenodd"}),c[0]=a,c[1]=r,c[2]=l):(a=c[0],r=c[1],l=c[2]),c[3]!==e?(s=(0,n.FD)("svg",(0,o._)((0,t._)({fill:"none",viewBox:"0 0 24 24"},e),{children:[a,r,l]})),c[3]=e,c[4]=s):s=c[4],s}:function(e){return(0,n.FD)("svg",(0,o._)((0,t._)({fill:"none",viewBox:"0 0 24 24"},e),{children:[(0,n.Y)("path",{fill:"currentColor",d:"M12.01 15.13a.88.88 0 0 1 0 1.74H12a.88.88 0 0 1 0-1.75z"}),(0,n.Y)("path",{fill:"currentColor",d:"M12 7.13c.48 0 .88.39.88.87v4a.88.88 0 0 1-1.76 0V8c0-.48.4-.87.88-.87"}),(0,n.Y)("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 1.13a10.87 10.87 0 1 1 0 21.74 10.87 10.87 0 0 1 0-21.74m0 1.75a9.12 9.12 0 1 0 0 18.24 9.12 9.12 0 0 0 0-18.24",clipRule:"evenodd"})]}))},d=(0,s.w)(c,"AlertCircleIcon")},260950:(e,a,r)=>{"use strict";r.r(a),r.d(a,{HomeBuyerChatSearchAiPanel:()=>_,HomeBuyerChatSearchTabSwitcher:()=>v});var t=r(271864),o=r(119218),n=r(12013),l=r(686121),i=r(464399),s=r(135259),c=r(299676),d=r(170412),u=r(138209),m=r(779655),p=r(409006),h=(0,r(279393).F)("inline-flex min-h-[40px] max-h-[40px] cursor-pointer items-center justify-center whitespace-nowrap rounded-full border border-solid border-turbo-border-default bg-transparent py-turbo-8 pl-turbo-16 pr-turbo-14 text-turbo-body-base leading-turbo-regular font-turbo-regular tracking-turbo-regular text-turbo-content-placeholder transition-[scale,border-color,color] duration-300 ease-[
1cubic-bezier(0.34,0.62,0.08,1.17)] hover:border-turbo-content-default hover:text-turbo-content-default active:scale-[0.95] motion-reduce:transition-[border-color,color] motion-reduce:active:scale-100 disabled:cursor-not-allowed disabled:opacity-50",{variants:{withIcon:{true:"gap-[6px]",false:""}},defaultVariants:{withIcon:!1}}),f=(0,o.F)()?function(e){var a,r,o,l,c,d,u,f,b,y=(0,n.c)(26),v=e.totalAdsCount,_=e.seeAllUrl,g=e.disabled,w=e.onPromptClick,k=void 0!==g&&g,S=(0,i.Bd)("buyer-chat-assistant").t,x=(0,i.Bd)("page_home").t,A=(0,s.z1)().trackLinkEvent;y[0]!==A?(a=e=>{A("search",{touch_point_page:"home",touch_point_button:"ai_search_chip"},e,e.currentTarget.href)},y[0]=A,y[1]=a):a=y[1];var F=a;y[2]!==S?(r=S("prompt-automatic-suv-under",null,{fallback:"Automatic SUV under â¬25k"}),y[2]=S,y[3]=r):r=y[3],y[4]!==S?(o=S("prompt-car-for-city-life",null,{fallback:"A car for city life"}),y[4]=S,y[5]=o):o=y[5],y[6]!==r||y[7]!==o?(l=[r,o],y[6]=r,y[7]=o,y[8]=l):l=y[8];var C=l,N=_.length>0&&v>0;y[9]!==x||y[10]!==v?(y[12]!==v?(d=(0,p.Q8)(v),y[12]=v,y[13]=d):d=y[13],c=x("home-show-results-button",[(0,p.Q8)(v)],{fallback:"Show ".concat(d," Adverts")}),y[9]=x,y[10]=v,y[11]=c):c=y[11];var Y=c;return y[14]!==k||y[15]!==w||y[16]!==C?(u=C.map(e=>(0,t.Y)("button",{type:"button",disabled:k,className:h({withIcon:!1}),onClick:()=>w(e),children:e},e)),y[14]=k,y[15]=w,y[16]=C,y[17]=u):u=y[17],y[18]!==F||y[19]!==Y||y[20]!==_||y[21]!==N?(f=N?(0,t.FD)("a",{href:_,className:h({withIcon:!0}),onClick:F,children:[(0,t.Y)(m.W,{"aria-hidden":!0,size:16}),Y]}):null,y[18]=F,y[19]=Y,y[20]=_,y[21]=N,y[22]=f):f=y[22],y[23]!==u||y[24]!==f?(b=(0,t.FD)("div",{className:"flex items-start justify-center gap-turbo-8 pt-turbo-16",children:[u,f]}),y[23]=u,y[24]=f,y[25]=b):b=y[25],b}:function(e){var a=e.totalAdsCount,r=e.seeAllUrl,o=e.disabled,n=void 0!==o&&o,l=e.onPromptClick,c=(0,i.Bd)("buyer-chat-assistant").t,d=(0,i.Bd)("page_home").t,f=(0,s.z1)().trackLinkEvent,b=(0,u.useCallback)(e=>{f("search",{touch_point_page:"home",touch_point_button:"ai_search_chip"},e,e.currentTarget.href)},[f]),y=(0,u.useMemo)(()=>[c("prompt-automatic-suv-under",null,{fallback:"Automatic SUV under â¬25k"}),c("prompt-car-for-city-life",null,{fallback:"A car for city life"})],[c]),v=r.length>0&&a>0,_=d("home-show-results-button",[(0,p.Q8)(a)],{fallback:"Show ".concat((0,p.Q8)(a)," Adverts")});return(0,t.FD)("div",{className:"flex items-start justify-center gap-turbo-8 pt-turbo-16",children:[y.map(e=>(0,t.Y)("button",{type:"button",disabled:n,className:h({withIcon:!1}),onClick:()=>l(e),children:e},e)),v?(0,t.FD)("a",{href:r,className:h({withIcon:!0}),onClick:b,children:[(0,t.Y)(m.W,{"aria-hidden":!0,size:16}),_]}):null]})},b=r(958205),y=r(684778),v=(0,o.F)()?function(){var e,a,r,o,c,d,u,m=(0,n.c)(20),p=(0,i.Bd)("buyer-chat-assistant").t,h=(0,s.z1)().trackEvent,f=(0,b.UH)(),y=f.activeTab,v=f.setActiveTab;m[0]!==p?(e=p("filters-tab",null,{fallback:"Filters"}),m[0]=p,m[1]=e):e=m[1];var _=e;m[2]!==p?(a=p("ai-search-tab",null,{fallback:"AI search"}),m[2]=p,m[3]=a):a=m[3],m[4]!==p?(r=p("new-badge",null,{fallback:"New"}),m[4]=p,m[5]=r):r=m[5],m[6]!==_?(o=()=>_,m[6]=_,m[7]=o):o=m[7],m[8]!==_||m[9]!==a||m[10]!==r||m[11]!==o?(c={aiSearch:a,filters:_,newBadge:r,filtersWithCount:o},m[8]=_,m[9]=a,m[10]=r,m[11]=o,m[12]=c):c=m[12];var g=c;m[13]!==v||m[14]!==h?(d=e=>{v(e),"filters"===e?h("open_filters","click",{touch_point_page:"home"}):"ai-search"===e&&h("ai_open_filters","click",{touch_point_page:"home"})},m[13]=v,m[14]=h,m[15]=d):d=m[15];var w=d;return m[16]!==y||m[17]!==w||m[18]!==g?(u=(0,t.Y)(l.R0,{activeTab:y,appliedFilterCount:0,labels:g,size:"small",onTabChange:w}),m[16]=y,m[17]=w,m[18]=g,m[19]=u):u=m[19],u}:function(){var e=(0,i.Bd)("buyer-chat-assistant").t,a=(0,s.z1)().trackEvent,r=(0,b.UH)(),o=r.activeTab,n=r.setActiveTab,c=(0,u.useMemo)(()=>{var a=e("filters-tab",null,{fallback:"Filters"});return{aiSearch:e("ai-search-tab",null,{fallback:"AI search"}),filters:a,newBadge:e("new-badge",null,{fallback:"New"}),filtersWithCount:()=>a}},[e]),d=(0,u.useCallback)(e=>{n(e),"filters"===e?a("open_filters","click",{touch_point_page:"home"}):"ai-search"===e&&a("ai_open_filters","click",{touch_point_page:"home"})},[n,a]);return(0,t.Y)(l.R0,{activeTab:o,appliedFilterCount:0,labels:c,size:"small",onTabChange:d})},_=(0,o.F)()?function(){var e,a,r,o,s,u,m,p,h,v,_,g=(0,n.c)(33),w=(0,i.Bd)("buyer-chat-assistant").t,k=(0,b.UH)(),S=k.activeTab,x=k.fallbackUrl,A=k.totalAdsCount;g[0]===Symbol.for("react.memo_cache_sentinel")?(e={categoryId:c.Wd},g[0]=e):e=g[0];var F=(0,l.Hg)(e),C=F.submitPrompt,N=F.loading,Y=F.errorMessage;g[1]===Symbol.for("react.memo_cache_sentinel")?(a={touchPointPage:"home"},g[1]=a):a=g[1];var I=(0,l.GR)(a);g[2]!==w?(r=w("mobile-input-placeholder",null,{fallback:"Type what you're looking for..."}),g[2]=w,g[3]=r):r=g[3];var V=r;g[4]!==x||g[5]!==C?(o={fallbackUrl:x,submitPrompt:C},g[4]=x,g[5]=C,g[6]=o):o=g[6];var D=(0,y.S)(o);g[7]!==D||g[8]!==I?(s=async e=>{I.onSendMessage(),await D(e)},g[7]=D,g[8]=I,g[9]=s):s=g[9];var z=s;g[10]!==D||g[11]!==I?(u=async e=>{I.onChipSelect({label:e}),await D(e)},g[10]=D,g[11]=I,g[12]=u):u=g[12];var E=u,B="ai-search"===S,T=!B&&"hidden";g[13]!==T?(m=(0,d.A)("pt-turbo-12",T),g[13]=T,g[14]=m):m=g[14];var M=!B;
1return g[15]!==V||g[16]!==z||g[17]!==N||g[18]!==I.onInputFocus?(p=(0,t.Y)(l.VA,{placeholder:V,loading:N,loadingAffordance:"loading",variant:"home-search",onFocus:I.onInputFocus,onSend:z}),g[15]=V,g[16]=z,g[17]=N,g[18]=I.onInputFocus,g[19]=p):p=g[19],g[20]!==x||g[21]!==E||g[22]!==N||g[23]!==A?(h=(0,t.Y)(f,{totalAdsCount:A,seeAllUrl:x,disabled:N,onPromptClick:E}),g[20]=x,g[21]=E,g[22]=N,g[23]=A,g[24]=h):h=g[24],g[25]!==Y?(v=Y?(0,t.Y)("p",{className:"mt-turbo-8 text-turbo-body-small text-turbo-content-error",role:"alert",children:Y}):null,g[25]=Y,g[26]=v):v=g[26],g[27]!==h||g[28]!==v||g[29]!==m||g[30]!==M||g[31]!==p?(_=(0,t.FD)("div",{id:b.WR["ai-search"],role:"tabpanel",className:m,"aria-labelledby":b.v["ai-search"],"aria-hidden":M,children:[p,h,v]}),g[27]=h,g[28]=v,g[29]=m,g[30]=M,g[31]=p,g[32]=_):_=g[32],_}:function(){var e=(0,i.Bd)("buyer-chat-assistant").t,a=(0,b.UH)(),r=a.activeTab,o=a.fallbackUrl,n=a.totalAdsCount,s=(0,l.Hg)({categoryId:c.Wd}),m=s.submitPrompt,p=s.loading,h=s.errorMessage,v=(0,l.GR)({touchPointPage:"home"}),_=e("mobile-input-placeholder",null,{fallback:"Type what you're looking for..."}),g=(0,y.S)({fallbackUrl:o,submitPrompt:m}),w=(0,u.useCallback)(async e=>{v.onSendMessage(),await g(e)},[g,v]),k=(0,u.useCallback)(async e=>{v.onChipSelect({label:e}),await g(e)},[g,v]),S="ai-search"===r;return(0,t.FD)("div",{id:b.WR["ai-search"],role:"tabpanel",className:(0,d.A)("pt-turbo-12",!S&&"hidden"),"aria-labelledby":b.v["ai-search"],"aria-hidden":!S,children:[(0,t.Y)(l.VA,{placeholder:_,loading:p,loadingAffordance:"loading",variant:"home-search",onFocus:v.onInputFocus,onSend:w}),(0,t.Y)(f,{totalAdsCount:n,seeAllUrl:o,disabled:p,onPromptClick:k}),h?(0,t.Y)("p",{className:"mt-turbo-8 text-turbo-body-small text-turbo-content-error",role:"alert",children:h}):null]})}},273050:(e,a,r)=>{"use strict";r.d(a,{W:()=>l});var t=r(226365),o=r(620703),n=r(289378),l=()=>{var e=(0,n.N)().benefits;return"b"===(0,t.useExperiment)(o.gt)||e.includes("MARKET_DATA")}},279597:(e,a,r)=>{"use strict";r.d(a,{d:()=>d});var t=r(300561),o=r(819470),n=r(271864),l=r(119218),i=r(12013),s=r(413237),c=(0,l.F)()?function(e){var a,r,l=(0,i.c)(3);return l[0]===Symbol.for("react.memo_cache_sentinel")?(a=(0,n.Y)("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.99 22.88a4 4 0 0 1-3.84-4.96l.74-3.05H4.17a2.88 2.88 0 0 1-2.8-3.51l.04-.16 2.33-8A2.9 2.9 0 0 1 6.5 1.12H20A2.9 2.9 0 0 1 22.88 4v8A2.9 2.9 0 0 1 20 14.88h-2.91a1.1 1.1 0 0 0-.86.62l-3.45 6.9-.06.1a.9.9 0 0 1-.73.38m2.68-8.16a3 3 0 0 1 1.46-1.37V2.88H6.5a1.1 1.1 0 0 0-1.08.8l-2.33 8a1.13 1.13 0 0 0 1.08 1.45H10a.87.87 0 0 1 .85 1.08l-1 4.12a2.26 2.26 0 0 0 1.64 2.73zm5.33-1.6A1.13 1.13 0 0 0 21.13 12V4A1.13 1.13 0 0 0 20 2.88h-2.12v10.25z",clipRule:"evenodd"}),l[0]=a):a=l[0],l[1]!==e?(r=(0,n.Y)("svg",(0,o._)((0,t._)({fill:"none",viewBox:"0 0 24 24"},e),{children:a})),l[1]=e,l[2]=r):r=l[2],r}:function(e){return(0,n.Y)("svg",(0,o._)((0,t._)({fill:"none",viewBox:"0 0 24 24"},e),{children:(0,n.Y)("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.99 22.88a4 4 0 0 1-3.84-4.96l.74-3.05H4.17a2.88 2.88 0 0 1-2.8-3.51l.04-.16 2.33-8A2.9 2.9 0 0 1 6.5 1.12H20A2.9 2.9 0 0 1 22.88 4v8A2.9 2.9 0 0 1 20 14.88h-2.91a1.1 1.1 0 0 0-.86.62l-3.45 6.9-.06.1a.9.9 0 0 1-.73.38m2.68-8.16a3 3 0 0 1 1.46-1.37V2.88H6.5a1.1 1.1 0 0 0-1.08.8l-2.33 8a1.13 1.13 0 0 0 1.08 1.45H10a.87.87 0 0 1 .85 1.08l-1 4.12a2.26 2.26 0 0 0 1.64 2.73zm5.33-1.6A1.13 1.13 0 0 0 21.13 12V4A1.13 1.13 0 0 0 20 2.88h-2.12v10.25z",clipRule:"evenodd"})}))},d=(0,s.w)(c,"ThumbsDownIcon")},330154:(e,a,r)=>{"use strict";r.d(a,{d:()=>f});var t=r(300561),o=r(819470),n=r(271864),l=r(119218),i=r(12013),s=r(464399),c=r(560263),d=r(203317),u=r(170412),m=r(733199),p=r.n(m),h=r(687481),f=(0,l.F)()?function(e){var a,r,l,m,f,b,y=(0,i.c)(22),v=e.title,_=e.href,g=e.onViewAllClick,w=e.viewAllLabel,k=e.viewAllAriaLabel,S=e.external,x=e.headingId,A=e.testId,F=e.className,C=e.titleClassName,N=e.desktopTrailing,Y=void 0!==S&&S,I=(0,s.Bd)("home").t;y[0]!==I||y[1]!==w?(a=null!=w?w:I("home-view-all-link",null,{fallback:"View all"}),y[0]=I,y[1]=w,y[2]=a):a=y[2];var V=a,D=null!=k?k:V;y[3]!==Y?(r=Y?{target:"_blank",rel:"noopener noreferrer"}:{},y[3]=Y,y[4]=r):r=y[4];var z=r;return y[5]!==F?(l=(0,u.A)("flex w-full items-center justify-between",F),y[5]=F,y[6]=l):l=y[6],y[7]!==z||y[8]!==x||y[9]!==_||y[10]!==g||y[11]!==D||y[12]!==v||y[13]!==C?(m=_?(0,n.FD)(n.FK,{children:[(0,n.Y)("h2",{id:x,className:(0,u.A)(h.P,"m-0 md:hidden"),children:v}),(0,n.Y)(p(),(0,o._)((0,t._)({href:_,"aria-label":D,className:(0,u.A)("flex size-turbo-40 shrink-0 items-center justify-center rounded-turbo-full text-turbo-content-default no-underline md:hidden",h.Ci),onClick:g},z),{children:(0,n.Y)(c.f,{"aria-hidden":!0,size:20})})),(0,n.Y)("h2",{className:"m-0 hidden md:inline-flex",children:(0,n.FD)(p(),(0,o._)((0,t._)({href:_,className:(0,u.A)("inline-flex items-center gap-turbo-4 no-underline",h.P),onClick:g},z),{children:[(0,n.Y)("span",{children:v}),(0,n.Y)(d.v,{"aria-hidden":!0,size:20})]}))})]}):(0,n.Y)("h2",{id:x,className:(0,u.A)(null!=C?C:h.P,"m-0"),children:v}),y[7]=z,y[8]=x,y[9]=_,y[10]=g,y[11]=D,y[12]=v,y[13]=C,y[14]=m):m=y[14],y[15]!==N?(f=N?(0,n.Y)("div",{className:"hidden md:block",children:N}):null,y[15]=N,y[16]=f):f=y[16],y[17]!==l||y[18]!==m||y[19]!==f||y[20]!==A?(b=(0,n.FD)("div",{"data-testid":A,className:l,children:[m,f]}),y[17]=l,y[18]=m,y[19]=f,y[20]=A,y[21]=b):b=y[21],b}:function(e){var a=e.title,r=e.href,l=e.onViewAllClick,i=e.viewAllLabel,m=e.viewAllAriaLabel,f=e.external,b=e.headingId,y=e.testId,v=e.className,_=e.titleClassName,g=e.desktopTrailing,w=(0,s.Bd)("home").t,k=null!=i?i:w("home-view-all-link",null,{fallback:"View all"}),S=void 0!==f&&f?{target:"_blank",rel:"noopener noreferrer"}:{};return(0,n.FD)("div",{"data-testid":y,className:(0,u.A)("flex w-full items-center justify-between",v),children:[r?(0,n.FD)(n.FK,{children:[(0,n.Y)("h2",{id:b,className:(0,u.A)(h.P,"m-0 md:hidden"),children:a}),(0,n.Y)(p(),(0,o._)((0,t._)({href:r,"aria-label":null!=m?m:k,className:(0,u.A)("flex size-turbo-40 shrink-0 items-center justify-center rounded-turbo-full text-turbo-content-default no-underline md:hidden",h.Ci),onClick:l},S),{children:(0,n.Y)(c.f,{"aria-hidden":!0,size:20})})),(0,n.Y)("h2",{className:"m-0 hidden md:inline-flex",children:(0,n.FD)(p(),(0,o._)((0,t._)({href:r,className:(0,u.A)("inline-flex items-center gap-turbo-4 no-underline",h.P),onClick:l},S),{children:[(0,n.Y)("span",{children:a}),(0,n.Y)(d.v,{"aria-hidden":!0,size:20})]}))})]}):(0,n.Y)("h2",{id:b,className:(0,u.A)(null!=_?_:h.P,"m-0"),children:a}),g?(0,n.Y)("div",{className:"hidden md:block",children:g}):null]})}},378846:(e,a,r)=>{"use strict";r.d(a,{F:()=>o,v:()=>t});var t=3e4,o="network-only"},392581:(e,a,r)=>{"use strict";r.d(a,{M:()=>v});var t=r(300561),o=r(819470),n=r(558162),l=r(271864),i=r(426319),s=r(138209),c=r(326427),d=r(971432),u=r(119218),m=r(12013),p=r(423141),h=r(383055),f=(0,u.F)()?function(e){var a,r,t,o,n,i=(0,m.c)(10),c=e.urqlClient,d=e.children;c&&(0,p.rJ)(c,"page"),i[0]!==c?(a=()=>
1{if(c)return()=>{(0,p.aS)("page",c)}},r=[c],i[0]=c,i[1]=a,i[2]=r):(a=i[1],r=i[2]),(0,s.useEffect)(a,r),i[3]!==c?(t=(0,p.aQ)(c),i[3]=c,i[4]=t):t=i[4];var u=t;return u?(i[5]!==d||i[6]!==u?(o=(0,l.Y)(h.Kq,{value:u,children:d}),i[5]=d,i[6]=u,i[7]=o):o=i[7],o):(i[8]!==d?(n=(0,l.Y)(l.FK,{children:d}),i[8]=d,i[9]=n):n=i[9],n)}:function(e){var a=e.urqlClient,r=e.children;a&&(0,p.rJ)(a,"page"),(0,s.useEffect)(()=>{if(a)return()=>{(0,p.aS)("page",a)}},[a]);var t=(0,p.aQ)(a);return t?(0,l.Y)(h.Kq,{value:t,children:r}):(0,l.Y)(l.FK,{children:r})},b={},y=(0,c.OP)({initialState:b}),v=(e,a)=>{var r=!0;if(!(null==a?void 0:a.neverSuspend)){try{var s,c=e(y,b);r=!1;for(var u=c.exchanges.length,m=0;m<u;m++)if((null==(s=c.exchanges[m])?void 0:s.name)==="ssr"){r=!0;break}}catch(e){r=!0}!r&&a&&(a.neverSuspend=!0)}var p=(0,i.M)(e,null!=a?a:{neverSuspend:!r});return function(e){function r(a){var r,i,s,c;return r=a.$_prepass,i=a.$_optimusContextProps,s=(0,n._)(a,["$_prepass","$_optimusContextProps"]),c=r?(0,l.Y)(d.c,(0,o._)((0,t._)({urqlClient:s.urqlClient}
1,i),{children:(0,l.Y)(e,(0,t._)({},s))})):(0,l.Y)(e,(0,t._)({},s)),(0,l.Y)(f,{urqlClient:s.urqlClient,children:c})}(e.getInitialProps||(null==a?void 0:a.ssr))&&(r.getInitialProps=async a=>{var r=e.getInitialProps?await e.getInitialProps(a):{},n=(0,d.t)(a);return(0,o._)((0,t._)({},r),{$_optimusContextProps:n,$_prepass:!0})});var i=p(r);if(e.getInitialProps||(null==a?void 0:a.ssr)){var s=i.getInitialProps;i.getInitialProps=async e=>{var a=await s(e);return a.$_prepass,a.$_optimusContextProps,(0,n._)(a,["$_prepass","$_optimusContextProps"])}}else if(!(null==a?void 0:a.ssr)){var c=p(e);return e.getLayout&&(c.getLayout=e.getLayout),c}return e.getLayout&&(i.getLayout=e.getLayout),i}}},393709:(e,a,r)=>{"use strict";r.d(a,{ZV:()=>o,eh:()=>t});var t=e=>null==e?void 0:e.toString().replace(/\s/g,"").replace(/,/g,"."),o=e=>null==e?void 0:e.toString().replace(/(\d)(?=(\d{3}){1,16}(?!\d))/g,"$1 ").replace(/\./g,",")},409006:(e,a,r)=>{"use strict";r.d(a,{Eg:()=>s,M6:()=>c,MT:()=>i,Q8:()=>l});var t=r(707767),o=r(138557),n=(e,a)=>{var r=e[a];return("."===r||","===r)&&(0,t.yp)(e[a-1])&&(0,t.yp)(e[a+1])},l=function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";return(0,t.Bu)("".concat(e),a)},i=function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:",",t=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return"".concat(l(Number.parseFloat("".concat(e)).toFixed(2).replace(/\.0+$/,"").replace(".",r),a)).concat(t?" ".concat((0,o.Tw)()):"")},s=function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:".",r=Number.parseInt("".concat(e));return Number.isNaN(r)?"":new Intl.NumberFormat("en-US",{style:"decimal"}).formatToParts(r).map(e=>"group"===e.type?a:e.value).join("")},c=e=>{if(!e)return"";for(var a=l((e=>{var a="",r=!0,t=!1,o=void 0;try{for(var n,l=e[Symbol.iterator]();!(r=(n=l.next()).done);r=!0){var i=n.value;""!==i.trim()&&(a+=i)}}catch(e){t=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(t)throw o}}return a})(e)),r=0;r<a.length&&((0,t.yp)(a[r])||" "===a[r]||n(a,r));)r+=1;return 0===r||r>=a.length?a:"".concat(a.slice(0,r)," ").concat(a.slice(r))}},450836:(e,a,r)=>{"use strict";r.d(a,{CX:()=>s,Ui:()=>i,Xu:()=>c});var t=r(15281),o=r(164106),n=r(742949),l=r(104495);class i extends Error{constructor(e,a){super(e),this.name="UnknownException",this.cause=a}}class s extends Error{toJSON(){var e="string"==typeof this.requestKey&&this.requestKey.length>s.REQUEST_KEY_MAX_LENGTH?"".concat(this.requestKey.slice(0,s.REQUEST_KEY_MAX_LENGTH),"..."):this.requestKey;return{name:this.name,message:this.message,status:this.status,cause:this.cause,reasons:this.reasons,requestKey:e,isAbort:this.isAbort}}constructor(e,a,r,i,s){void 0!==r?Array.isArray(r)?(d=r,"string"==typeof i&&(u=i)):"string"==typeof r?u=r:(c=r,Array.isArray(i)?d=i:"string"==typeof i&&(u=i),void 0!==s&&(u=s)):void 0!==i&&(Array.isArray(i)?d=i:"string"==typeof i&&(u=i),void 0!==s&&(u=s)),super(e),this.name="NetworkException",this.requestKey="",this.cause=c,this.reasons=d,this.requestKey=u;var c,d,u,m=(0,l.c)(this);this.isAbort=!m&&(0,n.z)(this),this.status=m?o._h:a,m?this.status=o._h:(!a||a>=600)&&e.includes("[GraphQL] Internal Error")?this.status=t.n:this.status=a}}s.REQUEST_KEY_MAX_LENGTH=50;class c extends Error{constructor(...e){super(...e),this.name="NotImplementedException",this.message="There was a NotImplementedException"}}},464723:(e,a,r)=>{"use strict";r.d(a,{w:()=>t});var t="29-electric"},468156:(e,a,r)=>{"use strict";r.d(a,{e:()=>d});var t=r(300561),o=r(819470),n=r(271864),l=r(119218),i=r(12013),s=r(413237),c=(0,l.F)()?function(e){var a,r,l,s,c=(0,i.c)(5);return c[0]===Symbol.for("react.memo_cache_sentinel")?(a=(0,n.Y)("path",{fill:"currentColor",d:"M12 11.13c.48 0 .88.39.88.87v4a.88.88 0 0 1-1.76 0v-4c0-.48.4-.87.88-.87"}),r=(0,n.Y)("path",{fill:"currentColor",d:"M12.01 7.13a.88.88 0 0 1 0 1.75H12a.88.88 0 0 1 0-1.76z"}),l=(0,n.Y)("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 1.13a10.87 10.87 0 1 1 0 21.74 10.87 10.87 0 0 1 0-21.74m0 1.75a9.12 9.12 0 1 0 0 18.24 9.12 9.12 0 0 0 0-18.24",clipRule:"evenodd"}),c[0]=a,c[1]=r,c[2]=l):(a=c[0],r=c[1],l=c[2]),c[3]!==e?(s=(0,n.FD)("svg",(0,o._)((0,t._)({fill:"none",viewBox:"0 0 24 24"},e),{children:[a,r,l]})),c[3]=e,c[4]=s):s=c[4],s}:function(e){return(0,n.FD)("svg",(0,o._)((0,t._)({fill:"none",viewBox:"0 0 24 24"},e),{children:[(0,n.Y)("path",{fill:"currentColor",d:"M12 11.13c.48 0 .88.39.88.87v4a.88.88 0 0 1-1.76 0v-4c0-.48.4-.87.88-.87"}),(0,n.Y)("path",{fill:"currentColor",d:"M12.01 7.13a.88.88 0 0 1 0 1.75H12a.88.88 0 0 1 0-1.76z"}),(0,n.Y)("path",{fill:"currentColor",fillRule:"evenodd",d:"M12 1.13a10.87 10.87 0 1 1 0 21.74 10.87 10.87 0 0 1 0-21.74m0 1.75
1a9.12 9.12 0 1 0 0 18.24 9.12 9.12 0 0 0 0-18.24",clipRule:"evenodd"})]}))},d=(0,s.w)(c,"InfoCircleIcon")},494256:(e,a,r)=>{"use strict";r.d(a,{A:()=>t,j:()=>o});var t="search[advanced_search_expanded]",o="fallback_url"},520245:(e,a,r)=>{"use strict";r.r(a),r.d(a,{default:()=>iK});var t=r(300561),o=r(819470),n=r(271864),l=r(119218),i=r(12013),s=r(686121),c=r(173107),d=r(482209),u=r(735601),m=r(392581),p=r(865162),h=r(698319),f=r(934085),b=r(761876),y=r(464399),v=r(135259),_=r(558162),g=r(170412),w=r(106930),k={0:"",2:"mx-turbo-2",4:"mx-turbo-4",6:"mx-turbo-6",8:"mx-turbo-8",10:"mx-turbo-10",12:"mx-turbo-12",14:"mx-turbo-14",16:"mx-turbo-16",20:"mx-turbo-20",24:"mx-turbo-24",32:"mx-turbo-32",40:"mx-turbo-40",48:"mx-turbo-48",56:"mx-turbo-56",64:"mx-turbo-64",80:"mx-turbo-80"},S=(0,l.F)()?function(e){var a,r,l,s,c,d=(0,i.c)(10);d[0]!==e?(r=(0,_._)(e,["inset","className"]),l=e.inset,a=e.className,d[0]=e,d[1]=a,d[2]=r,d[3]=l):(a=d[1],r=d[2],l=d[3]);var u=k[void 0===l?0:l];return d[4]!==a||d[5]!==u?(s=(0,g.A)("m-0 border-0 border-turbo-border-muted [border-top-width:var(--border-width-turbo-s)] [border-bottom-width:var(--border-width-turbo-s)]",u,a),d[4]=a,d[5]=u,d[6]=s):s=d[6],d[7]!==r||d[8]!==s?(c=(0,n.Y)(w.wv,(0,o._)((0,t._)({},r),{orientation:"horizontal",className:s})),d[7]=r,d[8]=s,d[9]=c):c=d[9],c}:function(e){var a=e.inset,r=e.className,l=(0,_._)(e,["inset","className"]);return(0,n.Y)(w.wv,(0,o._)((0,t._)({},l),{orientation:"horizontal",className:(0,g.A)("m-0 border-0 border-turbo-border-muted [border-top-width:var(--border-width-turbo-s)] [border-bottom-width:var(--border-width-turbo-s)]",k[void 0===a?0:a],r)}))},x=r(578618),A=r(184138),F="home-footer-tagline",C="home-footer-app-store",N="home-footer-google-play",Y="home-footer-legal",I="home-footer-trusted-by",V="Escolha do Consumidor 2026",D="bg-turbo-container-muted-disabled md:rounded-br-[40px]",z={"home-footer-olx":"OLX","home-footer-otomoto-lease":"Otomoto Lease","home-footer-otodom":"Otodom","home-footer-imovirtual":"Imovirtual","home-footer-storia":"Storia",[C]:"App Store",[N]:"Google Play Store","home-footer-linkedin":"Linkedin","home-footer-instagram":"Instagram","home-footer-facebook":"Facebook","home-footer-youtube":"Youtube","home-footer-tiktok":"Tiktok"},E={[F]:"Search Poland biggest car marketplace","home-footer-support":"Support","home-footer-contacts":"Contacts","home-footer-complaints-book":"Complaints Book","home-footer-advertising":"Advertisement","home-footer-pricing":"Pricing","home-footer-pricing-individual":"Individual pricing list","home-footer-pricing-business":"Professional pricing list","home-footer-careers":"Careers","home-footer-blog":"Blog","home-footer-privacy":"Privacy","home-footer-cookie
1s":"Cookies","home-footer-terms":"Terms & Conditions","home-footer-terms-individual":"Terms for Individual Customers","home-footer-terms-business":"Terms for Business Customers","home-footer-sitemap":"Sitemap",[Y]:"Legal",[I]:"Trusted by"},B=r(203317),T=r(413237),M=(0,l.F)()?function(e){var a,r,l=(0,i.c)(3);return l[0]===Symbol.for("react.memo_cache_sentinel")?(a=(0,n.Y)("path",{fill:"currentColor",d:"M12 1.13q.91 0 1.66.52l.2.15 7 6a3 3 0 0 1 1.02 2.2v9A2.9 2.9 0 0 1 19 21.88h-4a.9.9 0 0 1-.87-.88v-8l-.04-.09-.09-.03h-4l-.09.03a.1.1 0 0 0-.04.1V21c0 .48-.39.88-.87.88H5A2.9 2.9 0 0 1 2.13 19v-9a3 3 0 0 1 .9-2.1l.11-.1 7-6A3 3 0 0 1 12 1.13"}),l[0]=a):a=l[0],l[1]!==e?(r=(0,n.Y)("svg",(0,o._)((0,t._)({fill:"none",viewBox:"0 0 24 24"},e),{children:a})),l[1]=e,l[2]=r):r=l[2],r}:function(e){return(0,n.Y)("svg",(0,o._)((0,t._)({fill:"none",viewBox:"0 0 24 24"},e),{children:(0,n.Y)("path",{fill:"currentColor",d:"M12 1.13q.91 0 1.66.52l.2.15 7 6a3 3 0 0 1 1.02 2.2v9A2.9 2.9 0 0 1 19 21.88h-4a.9.9 0 0 1-.87-.88v-8l-.04-.09-.09-.03h-4l-.09.03a.1.1 0 0 0-.04.1V21c0 .48-.39.88-.87.88H5A2.9 2.9 0 0 1 2.13 19v-9a3 3 0 0 1 .9-2.1l.11-.1 7-6A3 3 0 0 1 12 1.13"})}))},O=(0,T.w)(M,"HouseFillIcon"),P=r(733199),K=r.n(P),R=r(469058),L=r(788554),H=r(340026),G=r(299676),W=r(138209),j=r(464723),U=(0,t._)({id:j.w},{code:"elektryczne",uriPath:"elektryczne",label:"Elektryczne"});function q(e){var a=structuredClone(G.R6);return e&&a.push(U),H.C.length>0&&(null==a||a.sort((e,a)=>{var r,t;return H.C.indexOf(null!=(r=e.uriPath)?r:"")-H.C.indexOf(null!=(t=a.uriPath)?t:"")})),a}function X(){var e,a=null!=(e=(0,f._T)(b.Pav))&&e,r=(0,W.useMemo)(()=>q(a),[a]);return(0,L.K)(r,"redirect-faq-link")}function $(){var e=(0,R.useRouter)().query,a="string"==typeof e.category?e.category:null;return function(e){var a,r,t=e.categories,o=e.categorySlug,n=e.homeUrl,l=void 0===n?"https://www.otomoto.pl":n,i=t[0];if(!i)return null;var s=null!=(a=t.find(e=>e.id===G.Wd))?a:i,c=o&&null!=(r=t.find(e=>e.uriPath===o))?r:s,d=c.id===G.Wd,u=l;return c.uriPath&&!d&&(u="".concat(l,"/?category=").concat(c.uriPath)),{categoryUrl:u,currentCategory:c,defaultCategory:s,homeUrl:l,isDefaultCategory:d}}({categories:X(),categorySlug:a})}var Q="shrink-0 text-turbo-content-default no-underline hover:underline",J="flex items-center gap-turbo-4 py-turbo-24 md:pb-turbo-24 md:pt-0",Z=(0,l.F)()?function(e){var a,r,t,o,l,s,c,d,u,m=(0,i.c)(17),p=e.breadcrumb,h=p.categoryUrl,f=p.currentCategory,b=p.homeUrl,y=p.isDefaultCategory;m[0]===Symbol.for("react.memo_cache_sentinel")?(a=(0,n.Y)(S,{"aria-hidden":!0,className:"md:hidden"}),m[0]=a):a=m[0];var v=y?-1:void 0;return m[1]===Symbol.for("react.memo_cache_sentinel")?(r=(0,n.Y)(O,{"aria-hidden":!0,size:16}),m[1]=r):r=m[1],m[2]!==b||m[3]!==y||m[4]!==v?(t=(0,n.Y)(K(),{href:b,"aria-label":"Home","aria-hidden":y,tabIndex:v,className:Q,children:r}),m[2]=b,m[3]=y,m[4]=v,m[5]=t):t=m[5],m[6]===Symbol.for("react.memo_cache_sentinel")?(o=(0,n.Y)(B.v,{"aria-hidden":!0,size:16,className:"shrink-0 text-turbo-content-muted"}),m[6]=o):o=m[6],m[7]===Symbol.for("react.memo_cache_sentinel")?(l=(0,g.A)(Q,"min-w-0 truncate turbo-body-small"),m[7]=l):l=m[7],m[8]!==h||m[9]!==f.label?(s=(0,n.Y)(K(),{href:h,"aria-current":"page",className:l,children:f.label}),m[8]=h,m[9]=f.label,m[10]=s):s=m[10],m[11]!==t||m[12]!==s?(c=(0,n.FD)("nav",{"aria-label":"Breadcrumb",className:J,children:[t,o,s]}),m[11]=t,m[12]=s,m[13]=c):c=m[13],m[14]===Symbol.for("react.memo_cache_sentinel")?(d=(0,n.Y)(S,{"aria-hidden":!0}),m[14]=d):d=m[14],m[15]!==c?(u=(0,n.FD)("div",{className:"flex w-full flex-col",children:[a,c,d]}),m[15]=c,m[16]=u):u=m[16],u}:function(e){var a=e.breadcrumb,r=a.categoryUrl,t=a.currentCategory,o=a.homeUrl,l=a.isDefaultCategory;return(0,n.FD)("div",{className:"flex w-full flex-col",children:[(0,n.Y)(S,{"aria-hidden":!0,className:"md:hidden"}),(0,n.FD)("nav",{"aria-label":"Breadcrumb",className:J,children:[(0,n.Y)(K(),{href:o,"aria-label":"Home","aria-hidden":l,tabIndex:l?-1:void 0,className:Q,children:(0,n.Y)(O,{"aria-hidden":!0,size:16})}),(0,n.Y)(B.v,{"aria-hidden":!0,size:16,className:"shrink-0 text-turbo-content-muted"}),(0,n.Y)(K(),{href:r,"aria-current":"page",className:(0,g.A)(Q,"min-w-0 truncate turbo-body-small"),children:t.label})]}),(0,n.Y)(S,{"aria-hidden":!0})]})};(0,l.F)();let ee=JSON.parse('{"brandName":"OTOMOTO","logo":{"width":160,"height":32},"columns":[[{"labelKey":"home-footer-support","href":"https://pomoc.otomoto.pl/otomotohelpcenter/s/","target":"_blank","rel":"noopener"},{"labelKey":"home-footer-contacts","href":"https://pomoc.otomoto.pl/otomotohelpcenter/s/contactsupport?referral=product_web","target":"_blank","rel":"noopener"},{"labelKey":"home-footer-advertising","href":"https://reklama.olx.pl/homepage/","target":"_blank","rel":"noopener"},{"labelKey":"home-footer-pricing","href":"https://pomoc.otomoto.pl/otomotohelpcenter/s/topic/0TO09000000530QGAQ/cenniki","target":"_blank","rel":"noopener"},{"labelKey":"home-footer-careers","href":"https://careers.olxgroup.com/","target":"_blank","rel":"noopener"}],[{"labelKey":"home-footer-olx","href":"https://www.olx.pl","target":"_blank","rel":"noopener"},{"labelKey":"home-footer-otomoto-lease","href":"https://otomoto.pl/otomotolease/?utm_source=otomoto&utm_medium=footer","target":"_blank","rel":"noopener"},{"labelKey":"home-footer-otodom","href":"https://www.otodom.pl","target":"_blank","rel":"noopener"},{"labelKey":"home-footer-app-store","href":"https://itunes.apple.com/us/app/id444086109?mt=8&uo=4","target":"_blank","rel":"noopener"},{"labelKey":"home-footer-google-play","href":"https://play.google.com/store/apps/details?id=pl.otomoto","target":"_blank","rel":"noopener"}],[{"labelKey":"home-footer-blog","href":"https://motopedia.otomoto.pl/?utm_source=otomoto&utm_medium=footer","target":"_blank","rel":"noopener"},{"labelKey":"home-footer-instagram","href":"https://www.instagram.com/otomotopl/","target":"_blank","rel":"noopener"},{"labelKey":"home-footer-facebook","href":"https://www.facebook.com/otomotopl","target":"_blank","rel":"noopener"},{"labelKey":"home-footer-youtube","href":"https://www.youtube.com/user/otomotopl?utm_source=otomoto&utm_medium=footer&utm_campaign=footer","target":"_blank","rel":"noopener"},{"labelKey":"home-footer-tiktok","href":"https://www.tiktok.com/@otomotopl","target":"_blank","rel":"noopener"}]],"legal":[{"labelKey":"home-footer-privacy","href":"https://pomoc.otomoto.pl/otomotohelpcenter/s/article/polityka-prywatnosci"}
1,{"labelKey":"home-footer-cookies","href":"https://pomoc.otomoto.pl/otomotohelpcenter/s/article/polityka-dotyczaca-cookies-i-podobnych-technologii","action":"cookies"},{"labelKey":"home-footer-ai-responsible","labelFallback":"Zasady odpowiedzialnej AI","href":"https://pomoc.otomoto.pl/otomotohelpcenter/s/article/Zasady-odpowiedzialnej--Sztucznej-Inteligencji"},{"labelKey":"home-footer-terms-individual","href":"https://pomoc.otomoto.pl/otomotohelpcenter/s/article/regulamin-dla-klientow-indywidualnych/"},{"labelKey":"home-footer-terms-business","href":"https://pomoc.otomoto.pl/otomotohelpcenter/s/article/regulamin-dla-klientow-biznesowych"},{"labelKey":"home-footer-sitemap","href":"https://www.otomoto.pl/sitemap"}]}');var ea=new Set([C,N]);function er(e){return{appStoreLinks:e.filter(e=>ea.has(e.labelKey)),partnersWithoutApps:e.filter(e=>!ea.has(e.labelKey))}}var et="turbo-body-small-medium m-0 break-words text-turbo-content-muted no-underline hover:underline md:text-turbo-content-default",eo="turbo-body-small m-0 text-turbo-content-placeholder",en="turbo-body-small m-0 text-turbo-content-placeholder no-underline hover:text-turbo-content-default hover:underline",el="m-0 flex min-w-0 flex-1 list-none flex-col gap-turbo-12 p-0",ei="m-0 flex min-w-0 flex-1 list-none flex-col gap-turbo-8 p-0 pb-turbo-24";function es(e,a){var r;return e(a,null,{fallback:null!=(r=E[a])?r:a})}function ec(e,a){if(z[a.labelKey])return z[a.labelKey];var r,t,o=null!=(t=null!=(r=a.labelFallback)?r:E[a.labelKey])?t:a.labelKey;return e(a.labelKey,null,{fallback:o})}var ed=(0,l.F)()?function(e){var a,r,t,o=(0,i.c)(13),l=e.className,s=e.isOneTrustActive,c=e.link,d=e.t;o[0]!==c||o[1]!==d?(a=ec(d,c),o[0]=c,o[1]=d,o[2]=a):a=o[2];var u=a;o[3]!==s||o[4]!==c.action?(r=e=>{var a;s&&"cookies"===c.action&&(e.preventDefault(),null==(a=window.OneTrust)||a.ToggleInfoDisplay())},o[3]=s,o[4]=c.action,o[5]=r):r=o[5];var m=r,p="cookies"===c.action?m:void 0;return o[6]!==l||o[7]!==u||o[8]!==c.href||o[9]!==c.rel||o[10]!==c.target||o[11]!==p?(t=(0,n.Y)("a",{className:l,href:c.href,rel:c.rel,target:c.target,onClick:p,children:u}),o[6]=l,o[7]=u,o[8]=c.href,o[9]=c.rel,o[10]=c.target,o[11]=p,o[12]=t):t=o[12],t}:function(e){var a=e.className,r=e.isOneTrustActive,t=e.link,o=ec(e.t,t);return(0,n.Y)("a",{className:a,href:t.href,rel:t.rel,target:t.target,onClick:"cookies"===t.action?e=>{var a;r&&"cookies"===t.action&&(e.preventDefault(),null==(a=window.OneTrust)||a.ToggleInfoDisplay())}:void 0,children:o})},eu=(0,l.F)()?function(e){var a,r,t,o=(0,i.c)(11),l=e.isOneTrustActive,s=e.listClassName,c=e.links,d=e.t,u=e.testId;return o[0]!==l||o[1]!==c||o[2]!==d?(o[4]!==l||o[5]!==d?(r=e=>(0,n.Y)("li",{children:(0,n.Y)(ed,{className:et,isOneTrustActive:l,link:e,t:d})},e.labelKey),o[4]=l,o[5]=d,o[6]=r):r=o[6],a=c.map(r),o[0]=l,o[1]=c,o[2]=d,o[3]=a):a=o[3],o[7]!==s||o[8]!==a||o[9]!==u?(t=(0,n.Y)("ul",{className:s,"data-testid":u,children:a}),o[7]=s,o[8]=a,o[9]=u,o[10]=t):t=o[10],t}:function(e){var a=e.isOneTrustActive,r=e.listClassName,t=e.links,o=e.t,l=e.testId;return(0,n.Y)("ul",{className:r,"data-testid":l,children:t.map(e=>(0,n.Y)("li",{children:(0,n.Y)(ed,{className:et,isOneTrustActive:a,link:e,t:o})},e.labelKey))})},em=(0,l.F)()?function(){var e,a=(0,i.c)(1),r="//statics.otomoto.pl/optimus-storage/a/otomotopl/";return a[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,n.FD)("span",{className:"flex items-center gap-[3px]","data-testid":"home-footer-consumer-award",children:[(0,n.Y)("img",{alt:"",className:"h-[13px] w-[41px]",height:13,src:"".concat(r,"images/consumer-award/escolha-year.svg"),width:41}),(0,n.Y)("img",{alt:V,className:"h-[15px] w-[50px]",height:15,src:"".concat(r,"images/consumer-award/escolha-consumers-choice.svg"),width:50})]}),a[0]=e):e=a[0],e}:function(){var e="//statics.otomoto.pl/optimus-storage/a/otomotopl/";return(0,n.FD)("span",{className:"flex items-center gap-[3px]","data-testid":"home-footer-consumer-award",children:[(0,n.Y)("img",{alt:"",className:"h-[13px] w-[41px]",height:13,src:"".concat(e,"images/consumer-award/escolha-year.svg"),width:41}
1),(0,n.Y)("img",{alt:V,className:"h-[15px] w-[50px]",height:15,src:"".concat(e,"images/consumer-award/escolha-consumers-choice.svg"),width:50})]})},ep=(0,l.F)()?function(e){var a,r,t,o,l=(0,i.c)(16),s=e.isOneTrustActive,c=e.partnersColumn,d=e.socialColumn,u=e.supportColumn,m=e.t;return l[0]!==s||l[1]!==u||l[2]!==m?(a=(0,n.Y)(eu,{isOneTrustActive:s,listClassName:ei,links:u,t:m}),l[0]=s,l[1]=u,l[2]=m,l[3]=a):a=l[3],l[4]!==s||l[5]!==c||l[6]!==m?(r=(0,n.Y)(eu,{isOneTrustActive:s,listClassName:ei,links:c,t:m}),l[4]=s,l[5]=c,l[6]=m,l[7]=r):r=l[7],l[8]!==s||l[9]!==d||l[10]!==m?(t=(0,n.Y)(eu,{isOneTrustActive:s,listClassName:ei,links:d,t:m}),l[8]=s,l[9]=d,l[10]=m,l[11]=t):t=l[11],l[12]!==a||l[13]!==r||l[14]!==t?(o=(0,n.FD)("div",{className:"flex gap-turbo-24",children:[a,r,t]}),l[12]=a,l[13]=r,l[14]=t,l[15]=o):o=l[15],o}:function(e){var a=e.isOneTrustActive,r=e.partnersColumn,t=e.socialColumn,o=e.supportColumn,l=e.t;return(0,n.FD)("div",{className:"flex gap-turbo-24",children:[(0,n.Y)(eu,{isOneTrustActive:a,listClassName:ei,links:o,t:l}),(0,n.Y)(eu,{isOneTrustActive:a,listClassName:ei,links:r,t:l}),(0,n.Y)(eu,{isOneTrustActive:a,listClassName:ei,links:t,t:l})]})},eh=(0,l.F)()?function(e){var a,r,t,o,l,s,c,d=(0,i.c)(25),u=e.appStoreLinks,m=e.isOneTrustActive,p=e.partnersWithoutApps,h=e.socialColumn,f=e.supportColumn,b=e.t;return d[0]!==m||d[1]!==f||d[2]!==b?(a=(0,n.Y)(eu,{isOneTrustActive:m,listClassName:el,links:f,t:b,testId:"home-footer-mobile-support"}),d[0]=m,d[1]=f,d[2]=b,d[3]=a):a=d[3],d[4]!==m||d[5]!==h||d[6]!==b?(r=(0,n.Y)(eu,{isOneTrustActive:m,listClassName:el,links:h,t:b,testId:"home-footer-mobile-social"}),d[4]=m,d[5]=h,d[6]=b,d[7]=r):r=d[7],d[8]!==a||d[9]!==r?(t=(0,n.FD)("div",{className:"grid grid-cols-2 gap-x-turbo-8",children:[a,r]}),d[8]=a,d[9]=r,d[10]=t):t=d[10],d[11]!==m||d[12]!==p||d[13]!==b?(o=(0,n.Y)(eu,{isOneTrustActive:m,listClassName:el,links:p,t:b,testId:"home-footer-mobile-partners"}),d[11]=m,d[12]=p,d[13]=b,d[14]=o):o=d[14],d[15]!==u||d[16]!==m||d[17]!==b?(l=(0,n.Y)(eu,{isOneTrustActive:m,listClassName:el,links:u,t:b,testId:"home-footer-mobile-apps"}),d[15]=u,d[16]=m,d[17]=b,d[18]=l):l=d[18],d[19]!==o||d[20]!==l?(s=(0,n.FD)("div",{className:"grid grid-cols-2 gap-x-turbo-8",children:[o,l]}),d[19]=o,d[20]=l,d[21]=s):s=d[21],d[22]!==t||d[23]!==s?(c=(0,n.FD)("div",{className:"flex flex-col gap-turbo-32",children:[t,s]}),d[22]=t,d[23]=s,d[24]=c):c=d[24],c}:function(e){var a=e.appStoreLinks,r=e.isOneTrustActive,t=e.partnersWithoutApps,o=e.socialColumn,l=e.supportColumn,i=e.t;return(0,n.FD)("div",{className:"flex flex-col gap-turbo-32",children:[(0,n.FD)("div",{className:"grid grid-cols-2 gap-x-turbo-8",children:[(0,n.Y)(eu,{isOneTrustActive:r,listClassName:el,links:l,t:i,testId:"home-footer-mobile-support"}),(0,n.Y)(eu,{isOneTrustActive:r,listClassName:el,links:o,t:i,testId:"home-footer-mobile-social"})]}),(0,n.FD)("div",{className:"grid grid-cols-2 gap-x-turbo-8",children:[(0,n.Y)(eu,{isOneTrustActive:r,listClassName:el,links:t,t:i,testId:"home-footer-mobile-partners"}),(0,n.Y)(eu,{isOneTrustActive:r,listClassName:el,links:a,t:i,testId:"home-footer-mobile-apps"})]})]})},ef=(0,l.F)()?function(e){var a,r,t,o,l,s,c,d,u,m,p,_,w,k,C,N,V,z,E,B,T,M,O,P,K,R,L,H,G,W,j,U,q,X,Q,J=(0,i.c)(73);J[0]!==e?(a=void 0===e?{}:e,J[0]=e,J[1]=a):a=J[1];var ea=a.withCategoryBreadcrumb,et=void 0!==ea&&ea,el=(0,y.Bd)("home").t,ei=$();J[2]!==ei||J[3]!==et?(r=et&&ei?(0,n.Y)(Z,{breadcrumb:ei}):null,J[2]=ei,J[3]=et,J[4]=r):r=J[4];var ec=r,eu=(0,f._T)(b.nsN);J[5]===Symbol.for("react.memo_cache_sentinel")?(t=new Date().getFullYear(),J[5]=t):t=J[5];var ef=t;J[6]!==el?(o=es(el,F),J[6]=el,J[7]=o):o=J[7];
1var eb=o,ey=(0,h._)(ee.columns,3),ev=ey[0],e_=ey[1],eg=ey[2];J[8]===Symbol.for("react.memo_cache_sentinel")?(l=er(null!=e_?e_:[]),J[8]=l):l=J[8];var ew=l.appStoreLinks,ek=l.partnersWithoutApps,eS=(0,v.z1)().trackEvent,ex=!!ee.showConsumerAwardBadge,eA=ee.logo,eF=eA.width,eC=eA.height;J[9]===Symbol.for("react.memo_cache_sentinel")?(s=(0,g.A)(A.Ez,"flex flex-col gap-turbo-32 pt-turbo-32 pb-turbo-56 md:grid md:grid-cols-4 md:items-start md:gap-x-turbo-24 md:pt-turbo-40 md:pb-turbo-48"),J[9]=s):s=J[9],J[10]!==ec?(c=ec?(0,n.Y)("div",{className:"md:col-span-4",children:ec}):null,J[10]=ec,J[11]=c):c=J[11],J[12]!==eS?(d=()=>{eS("footer_logo_click","click",{touch_point_button:"brand_logo"})},J[12]=eS,J[13]=d):d=J[13],J[14]===Symbol.for("react.memo_cache_sentinel")?(u=(0,n.Y)("img",{alt:ee.brandName,className:"object-contain object-left",height:eC,src:"".concat("//statics.otomoto.pl/optimus-storage/a/otomotopl/","images/home/footer-logo.svg"),width:eF}),J[14]=u):u=J[14],J[15]!==d?(m=(0,n.Y)("a",{className:"inline-flex",href:"https://www.otomoto.pl",onClick:d,children:u}),J[15]=d,J[16]=m):m=J[16],J[17]!==eb?(p=(0,n.Y)("p",{className:eo,children:eb}),J[17]=eb,J[18]=p):p=J[18],J[19]!==m||J[20]!==p?(_=(0,n.FD)("div",{className:"col-span-2 flex flex-col items-start gap-turbo-12",children:[m,p]}),J[19]=m,J[20]=p,J[21]=_):_=J[21],J[22]!==_||J[23]!==c?(w=(0,n.FD)(x.jj,{desktop:!0,tablet:!0,children:[c,_]}),J[22]=_,J[23]=c,J[24]=w):w=J[24],J[25]===Symbol.for("react.memo_cache_sentinel")?(k=null!=e_?e_:[],C=null!=eg?eg:[],N=null!=ev?ev:[],J[25]=k,J[26]=C,J[27]=N):(k=J[25],C=J[26],N=J[27]),J[28]!==eu||J[29]!==el?(V=(0,n.Y)(x.jj,{desktop:!0,tablet:!0,children:(0,n.Y)(ep,{isOneTrustActive:eu,partnersColumn:k,socialColumn:C,supportColumn:N,t:el})}),J[28]=eu,J[29]=el,J[30]=V):V=J[30],J[31]===Symbol.for("react.memo_cache_sentinel")?(z=null!=eg?eg:[],E=null!=ev?ev:[],J[31]=z,J[32]=E):(z=J[31],E=J[32]),J[33]!==eu||J[34]!==el?(B=(0,n.Y)(x.jj,{mobile:!0,children:(0,n.Y)(eh,{appStoreLinks:ew,isOneTrustActive:eu,partnersWithoutApps:ek,socialColumn:z,supportColumn:E,t:el})}),J[33]=eu,J[34]=el,J[35]=B):B=J[35],J[36]!==V||J[37]!==B?(T=(0,n.FD)("div",{className:"col-span-2",children:[V,B]}),J[36]=V,J[37]=B,J[38]=T):T=J[38],J[39]!==ec?(M=ec?null:(0,n.Y)(S,{"aria-hidden":!0,className:"w-full md:hidden"}),J[39]=ec,J[40]=M):M=J[40];var eN=ec&&"max-md:gap-turbo-32";return J[41]!==eN?(O=(0,g.A)("flex flex-col items-center md:contents",eN),J[41]=eN,J[42]=O):O=J[42],J[43]!==ec?(P=ec?(0,n.Y)("div",{className:"w-full",children:ec}):null,J[43]=ec,J[44]=P):P=J[44],J[45]!==P?(K=(0,n.Y)(x.jj,{mobile:!0,children:P}),J[45]=P,J[46]=K):K=J[46],J[47]===Symbol.for("react.memo_cache_sentinel")?(R=(0,g.A)(eo,"col-span-2 flex flex-wrap items-center justify-center gap-turbo-8 md:justify-start"),L=(0,n.Y)("p",{className:"m-0",children:"\xa9 ".concat(ef," OLX Global B.V.")}),J[47]=R,J[48]=L):(R=J[47],L=J[48]),J[49]!==el?(H=ex?(0,n.FD)(n.FK,{children:[(0,n.Y)("span",{"aria-hidden":!0,children:"\xb7"}),(0,n.Y)("span",{children:es(el,I)}),(0,n.Y)(em,{})]}):null,J[49]=el,J[50]=H):H=J[50],J[51]!==H?(G=(0,n.FD)("div",{className:R,children:[L,H]}),J[51]=H,J[52]=G):G=J[52],J[53]!==el?(W=es(el,Y),J[53]=el,J[54]=W):W=J[54],J[55]!==eu||J[56]!==el?(j=ee.legal.map((e,a)=>(0,n.FD)("span",{className:"flex items-center gap-turbo-8",children:[a>0?(0,n.Y)("span",{"aria-hidden":!0,className:eo,children:"\xb7"}):null,(0,n.Y)(ed,{className:en,isOneTrustActive:eu,link:e,t:el})]},e.labelKey)),J[55]=eu,J[56]=el,J[57]=j):j=J[57],J[58]!==W||J[59]!==j?(U=(0,n.Y)("nav",{"aria-label":W,className:"col-span-2 flex flex-wrap items-center justify-center gap-turbo-8 md:justify-start",children:j}),J[58]=W,J[59]=j,J[60]=U):U=J[60],J[61]!==G||J[62]!==U?(q=(0,n.FD)("div",{className:"flex w-full flex-col items-center gap-turbo-20 md:contents",children:[G,U]}),J[61]=G,J[62]=U,J[63]=q):q=J[63],J[64]!==O||J[65]!==K||J[66]!==q?(X=(0,n.FD)("div",{className:O,children:[K,q]}),J[64]=O,J[65]=K,J[66]=q,J[67]=X):X=J[67],J[68]!==w||J[69]!==T||J[70]!==M||J[71]!==X?(Q=(0,n.Y)("footer",{className:D,"data-testid":"home-footer",children:(0,n.FD)("div",{className:s,children:[w,T,M,X]})}),J[68]=w,J[69]=T,J[70]=M,J[71]=X,J[72]=Q):Q=J[72],Q}:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=e.withCategoryBreadcrumb,r=(0,y.Bd)("home").t,t=$(),o=void 0!==a&&a&&t?(0,n.Y)(Z,{breadcrumb:t}):null,l=(0,f._T)(b.nsN),i=new Date().getFullYear(),s=es(r,F),c=(0,h._)(ee.columns,3),d=c[0],u=c[1],m=c[2],p=er(null!=u?u:[]),_=p.appStoreLinks,w=p.partnersWithoutApps,k=(0,v.z1)().trackEvent,C=!!ee.showConsumerAwardBadge,N=ee.logo,V=N.width,z=N.height;return(0,n.Y)("footer",{className:D,"data-testid":"home-footer",children:(0,n.FD)("div",{className:(0,g.A)(A.Ez,"flex flex-col gap-turbo-32 pt-turbo-32 pb-turbo-56 md:grid md:grid-cols-4 md:items-start md:gap-x-turbo-24 md:pt-turbo-40 md:pb-turbo-48"),children:[(0,n.FD)(x.jj,{desktop:!0,tablet:!0,children:[o?(0,n.Y)("div",{className:"md:col-span-4",children:o}):null,(0,n.FD)("div",{className:"col-span-2 flex flex-col items-start gap-turbo-12",children:[(0,n.Y)("a",{className:"inline-flex",href:"https://www.otomoto.pl",onClick:()=>{k("footer_logo_click","click",{touch_point_button:"brand_logo"})},children:(0,n.Y)("img",{alt:ee.brandName,className:"object-contain object-left",height:z,src:"".concat("//statics.otomoto.pl/optimus-storage/a/otomotopl/","images/home/footer-logo.svg"),width:V})}),(0,n.Y)("p",{className:eo,children:s})]})]}),(0,n.FD)("div",{className:"col-span-2",children:[(0,n.Y)(x.jj,{desktop:!0,tablet:!0,children:(0,n.Y)(ep,{isOneTrustActive:l,partnersColumn:null!=u?u:[],socialColumn:null!=m?m:[],supportColumn:null!=d?d:[],t:r})}),(0,n.Y)(x.jj,{mobile:!0,children:(0,n.Y)(eh,{appStoreLinks:_,isOneTrustActive:l,partnersWithoutApps:w,socialColumn:null!=m?m:[],supportColumn:null!=d?d:[],t:r})})]}
1),o?null:(0,n.Y)(S,{"aria-hidden":!0,className:"w-full md:hidden"}),(0,n.FD)("div",{className:(0,g.A)("flex flex-col items-center md:contents",o&&"max-md:gap-turbo-32"),children:[(0,n.Y)(x.jj,{mobile:!0,children:o?(0,n.Y)("div",{className:"w-full",children:o}):null}),(0,n.FD)("div",{className:"flex w-full flex-col items-center gap-turbo-20 md:contents",children:[(0,n.FD)("div",{className:(0,g.A)(eo,"col-span-2 flex flex-wrap items-center justify-center gap-turbo-8 md:justify-start"),children:[(0,n.Y)("p",{className:"m-0",children:"\xa9 ".concat(i," OLX Global B.V.")}),C?(0,n.FD)(n.FK,{children:[(0,n.Y)("span",{"aria-hidden":!0,children:"\xb7"}),(0,n.Y)("span",{children:es(r,I)}),(0,n.Y)(em,{})]}):null]}),(0,n.Y)("nav",{"aria-label":es(r,Y),className:"col-span-2 flex flex-wrap items-center justify-center gap-turbo-8 md:justify-start",children:ee.legal.map((e,a)=>(0,n.FD)("span",{className:"flex items-center gap-turbo-8",children:[a>0?(0,n.Y)("span",{"aria-hidden":!0,className:eo,children:"\xb7"}):null,(0,n.Y)(ed,{className:en,isOneTrustActive:l,link:e,t:r})]},e.labelKey))})]})]})]})})},eb=r(582178),ey={variant:null,isEnabled:!1},ev=(0,W.createContext)(null),e_=(0,l.F)()?function(e){var a,r=(0,i.c)(3),t=(0,W.useContext)(ev);if(!t)throw Error("useHomepageExperiment must be used within HomepageExperimentsProvider");return r[0]!==t||r[1]!==e?(a=t.getExperiment(e),r[0]=t,r[1]=e,r[2]=a):a=r[2],a}:function(e){var a=(0,W.useContext)(ev);if(!a)throw Error("useHomepageExperiment must be used within HomepageExperimentsProvider");return a.getExperiment(e)};(0,l.F)();var eg=(0,l.F)()?e=>{var a,r,t,o=(0,i.c)(8),l=e.experiments,s=e.children;o[0]!==l?(a=e=>{var a;return null!=(a=l[e])?a:ey},o[0]=l,o[1]=a):a=o[1],o[2]!==l||o[3]!==a?(r={experiments:l,getExperiment:a},o[2]=l,o[3]=a,o[4]=r):r=o[4];var c=r;return o[5]!==s||o[6]!==c?(t=(0,n.Y)(ev.Provider,{value:c,children:s}),o[5]=s,o[6]=c,o[7]=t):t=o[7],t}:e=>{var a=e.experiments,r=e.children,t=(0,W.useMemo)(()=>({experiments:a,getExperiment:e=>{var r;return null!=(r=a[e])?r:ey}}
1),[a]);return(0,n.Y)(ev.Provider,{value:t,children:r})},ew={HOMEPAGE_LAST_SEARCH:"homepage_last_search",HOMEPAGE_LOCATION_FILTER:"homepage_location_filter",HOMEPAGE_AD_CARD_CAROUSEL:"homepage_ad_card_carousel",HOMEPAGE_PROMOTED_PERSONALIZED_ADS:"homepage_promoted_personalized_ads",HOMEPAGE_SEO_REDESIGN:"homepage_seo_redesign",HOMEPAGE_BUYER_CHAT_ASSISTANT:"homepage_buyer_chat_assistant",HOMEPAGE_BUYER_CHAT_ASSISTANT_MWEB:"homepage_buyer_chat_assistant_mweb",CONSUMER_MWEB_NAVIGATION:"consumer_mweb_navigation"},ek=(0,l.F)()?function(){var e,a=(0,i.c)(2),r=e_(ew.HOMEPAGE_SEO_REDESIGN).isEnabled;return a[0]!==r?(e=r?(0,n.Y)(ef,{withCategoryBreadcrumb:!0}):(0,n.Y)(eb.A,{}),a[0]=r,a[1]=e):e=a[1],e}:function(){return e_(ew.HOMEPAGE_SEO_REDESIGN).isEnabled?(0,n.Y)(ef,{withCategoryBreadcrumb:!0}):(0,n.Y)(eb.A,{})},eS=r(120404),ex=r(409119),eA=r(920584),eF=r(28337),eC=r(702856);function eN(){var e=(0,ex._)(["\n @media "," {\n align-items: center;\n justify-content: center;\n flex-direction: row;\n height: 92px;\n\n h4 {\n margin-right: 24px;\n margin-bottom: 0;\n }\n }\n "]);return eN=function(){return e},e}var eY=(0,eF.default)("section",{target:"ez6l2420"})("background:",e=>e.theme.colors.$05_blue_primary,";color:",e=>e.theme.colors.$01_white,";text-align:center;display:flex;flex-direction:column;padding:16px;h4{margin-bottom:16px;}",e=>{var a=e.theme;return(0,eA.css)(eN(),a.mediaQueries.xsMin)});let eI=(0,y.CI)("common")(e=>{var a=e.t,r=(0,v.z1)().trackEvent;return(0,n.FD)(eY,{"data-testid":"stands-owner-banner",children:[(0,n.Y)("h4",{children:a("stands-banner-label")}),(0,n.Y)(eC.$n,{variant:"secondary",background:"inverse",href:"https://www.otomoto.pl/konto/rejestracja-dealer/",target:"_blank",rel:"noopener",ba:!0,onClick:()=>{r("registration_click","click")},children:a("stands-banner-cta")})]})});var eV=r(683965),eD=r(56287),ez=r(110332),eE=r(687305),eB=r(109972),eT=r.n(eB),eM=r(481404),eO=r(779544),eP={id:"otomoto_lease",name:"otomoto_lease",label:"Leasing",uriPath:"https://www.otomoto.pl/otomotolease?utm_source=otomoto&utm_medium=home_category_click&utm_content=experiment_virtual_category",icon:(0,n.Y)(eO.A,{})};eM.A;var eK=r(393709),eR=["year","first_registration_year","mileage","fuel_type","engine_power","engine_capacity"],eL=e=>{var a,r=null==e?void 0:e.find(e=>e&&"title_parts"===e.key);if(r)return null!=(a=null==r?void 0:r.valueLabel)?a:"";var t=null==e?void 0:e.find(e=>e&&"make"===e.key),o=null==e?void 0:e.find(e=>e&&"model"===e.key),n=null==e?void 0:e.find(e=>e&&"version"===e.key);return[null==t?void 0:t.valueLabel,null==o?void 0:o.valueLabel,null==n?void 0:n.valueLabel].filter(Boolean).join(" ")},eH=(e,a)=>{var r,t,o;return null!=(o=null==e||null==(t=e.find(e=>(null==e?void 0:e.key)===a))||null==(r=t.value)?void 0:r.trim())?o:""},eG=e=>{if(e&&"AdNetGrossPrice"===e.__typename){var a,r=(null==e?void 0:e.grossMinorAmount)?Number(e.grossMinorAmount)/100:"";return{currency:null!=(a=null==e?void 0:e.currencyCode)?a:"",value:(0,eK.ZV)(r),grossNet:""}}return{currency:"",value:"",grossNet:""}},eW=e=>{var a,r;return null==(r=eR.map(a=>null==e?void 0:e.find(e=>(null==e?void 0:e.key)&&e.key===a)))||null==(a=r.filter(Boolean))?void 0:a.map(e=>{var a;return{name:null!=(a=null==e?void 0:e.key)?a:"",value:[e?(e=>{var a,r;switch(e.key){case"engine_capacity":case"mileage":return(0,eK.ZV)(null!=(a=e.value)?a:0);default:return null!=(r=e.valueLabel)?r:""}})(e):"",(null==e?void 0:e.valueSuffix)||""].filter(Boolean).join(" ")}})},ej=(e,a,r)=>{if(!e)return"";var t=e.split(/;s=(\d+)x(\d+)/)[0];return"".concat(t,";s=").concat(a,"x").concat(r)},eU=e=>{if(e)return[e.cityName,e.regionName].reduce((e,a,r)=>a?0===r?a:e?"".concat(e," (").concat(a,")"):a:e,"")||void 0},eq=r(636051),eX=r(382662),e$=r(620703),eQ=async()=>{var e,a=null!=(e=(0,eX.F5)(e$.Vf))?e:"";return{variant:a,isEnabled:(e=>"b"===e||"c"===e)(a)}},eJ=async e=>{var a,r,t=e.categoryId,o=e.isDesktop,n=e.res;if(null!=(a=(0,f.BG)({res:n})(b.Dzn))&&a&&t===G.Wd&&o){var l=null!=(r=(0,eX.F5)(e$.mp))?r:"";return{variant:l,isEnabled:"b"===l||"c"===l}}},eZ=async e=>{var a,r,t=e.categoryId,o=e.isDesktop,n=e.res;if(null!=(a=(0,f.BG)({res:n})(b.Dzn))&&a&&t===G.Wd&&!o){var l=null!=(r=(0,eX.F5)(e$.pY))?r:"";return{variant:l,isEnabled:"b"===l||"c"===l}}},e0={variant:null,isEnabled:!1},e1=async e=>{if(e.categoryId!==G.Wd)return e0;var a,r=null!=(a=(0,eX.F5)(e$.P7))?a:"";return{variant:r,isEnabled:"b"===r}},e2=async e=>{var a,r=e.categoryId,t=e.isDesktop;if(r!==G.Wd||!t)return{variant:null,isEnabled:!1};var o=null!=(a=(0,eX.F5)(e$.kc))?a:"";return{variant:o,isEnabled:"b"===o}},e3={variant:null,isEnabled:!1},e5=async e=>{if(!e)return e3;var a,r=null!=(a=(0,eX.F5)(e$.eD))?a:"";return{variant:r,isEnabled:"b"===r}},e4={variant:null,isEnabled:!1},e8=async e=>{var a,r,t=e.res;if(!(null!=(a=(0,f.BG)({res:t})(b.mPy))&&a))return e4;var o=null!=(r=(0,eX.F5)(e$.do))?r:"";return{variant:o,isEnabled:"b"===o}},e6={variant:null,isEnabled:!1};class e9{static async getAllExperiments(e){var a=e.categoryId,r=e.isDesktop,t=e.isWebView,o=e.res,n=Object.entries({[ew.HOMEPAGE_LAST_SEARCH]:()=>e1({categoryId:a}
1),[ew.HOMEPAGE_LOCATION_FILTER]:()=>e2({categoryId:a,isDesktop:r}),[ew.HOMEPAGE_SEO_REDESIGN]:()=>e8({res:o}),[ew.HOMEPAGE_BUYER_CHAT_ASSISTANT]:()=>eJ({categoryId:a,isDesktop:r,res:o}),[ew.HOMEPAGE_BUYER_CHAT_ASSISTANT_MWEB]:()=>eZ({categoryId:a,isDesktop:r,res:o}),[ew.CONSUMER_MWEB_NAVIGATION]:()=>(0,eq.H)({isDesktop:r,isWebView:t,res:o}),[ew.HOMEPAGE_PROMOTED_PERSONALIZED_ADS]:()=>e5(a)}),l=await Promise.allSettled(n.map(e=>(0,(0,h._)(e,2)[1])())),i=Object.fromEntries(n.flatMap((e,a)=>{var r=(0,h._)(e,1)[0],t=l[a];return(null==t?void 0:t.status)==="fulfilled"?void 0===t.value?[]:[[r,t.value]]:[[r,e6]]}));try{i[ew.HOMEPAGE_AD_CARD_CAROUSEL]=await eQ()}catch(e){i[ew.HOMEPAGE_AD_CARD_CAROUSEL]=e6}return i}}var e7=(e,a)=>e===j.w?"homepage:electric":e===G.Wd&&(null==a?void 0:a.useHomepageLocationFilterExperiment)?"homepage:cars-86388@b":"homepage",ae=r(884375),aa=r(514979),ar=r(204801),at=r.n(ar);let ao=JSON.parse('[{"title":"Strefa Marek","link":"https://motopedia.otomoto.pl/strefa-marek?utm_source=strefamarek&utm_medium=banner&utm_campaign=SGotomoto","image":"banner-strefa-marek.jpg","alt":"Strefa marek hp banner","trackingInfo":"strefa-marek"},{"title":"Inbank raty","link":"https://www.otomoto.pl/finansowanie/redirect/home-banner-entrypoint?platform=web&epp=home&epb=banner&partnerId=inbank","image":"banner-inbank-finansowanie.png","alt":"Inbank raty hp banner","trackingInfo":"inbank"},{"title":"OTOMOTO News","link":"https://motopedia.otomoto.pl?utm_source=otomotonews&utm_medium=banner&utm_campaign=SGotomoto","image":"banner-otomoto-news.jpg","alt":"Otomoto News hp banner","trackingInfo":"otomoto-news"}]');var an=(0,l.F)()?e=>{var a,r,l,s,c,d,u,m,p=(0,i.c)(17);if(p[0]!==e){var h=e.title,f=e.link,b=e.target,y=e.rel,v=e.image,g=(e.alt,(0,_._)(e,["title","link","target","rel","image","alt"]));d=h,r=f,s=b,c=y,a=v,l=g,p[0]=e,p[1]=a,p[2]=r,p[3]=l,p[4]=s,p[5]=c,p[6]=d}else a=p[1],r=p[2],l=p[3],s=p[4],c=p[5],d=p[6];var w=void 0===s?"":s,k=void 0===c?"":c,S="".concat("//statics.otomoto.pl/optimus-storage/a/").concat("otomotopl","/images/homepage-banners/").concat(a);return p[7]!==S||p[8]!==d?(u=(0,n.Y)("img",{src:S,alt:d,loading:"lazy"}),p[7]=S,p[8]=d,p[9]=u):u=p[9],p[10]!==r||p[11]!==l||p[12]!==k||p[13]!==u||p[14]!==w||p[15]!==d?(m=(0,n.Y)("a",(0,o._)((0,t._)({href:r,title:d,target:w,rel:k},l),{children:u})),p[10]=r,p[11]=l,p[12]=k,p[13]=u,p[14]=w,p[15]=d,p[16]=m):m=p[16],m}:e=>{var a=e.title,r=e.link,l=e.target,i=e.rel,s=e.image,c=(e.alt,(0,_._)(e,["title","link","target","rel","image","alt"])),d="".concat("//statics.otomoto.pl/optimus-storage/a/").concat("otomotopl","/images/homepage-banners/").concat(s);return(0,n.Y)("a",(0,o._)((0,t._)({href:r,title:a,target:void 0===l?"":l,rel:void 0===i?"":i},c),{children:(0,n.Y)("img",{src:d,alt:a,loading:"lazy"})}))};(0,l.F)()||(()=>{var e=(0,v.z1)().trackEvent,a=(0,aa.Gu)(),r=a.isMobile,t=a.hasIdentified,o=(0,W.useRef)(null),l=(0,W.useRef)(!1),i=(0,W.useCallback)(()=>{var a,r=null==(a=o.current)?void 0:a.getBoundingClientRect().y;!l.current&&void 0!==r&&r<window.innerHeight&&(e("internal_banner_shown","impression"),l.current=!0)},[e]);return(0,W.useEffect)(()=>{var e=at()(i,150);return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e),e.cancel()}},[i]),(0,n.Y)("div",{className:"max-sm:overflow-x-auto max-sm:whitespace-nowrap max-sm:px-100 max-sm:py-200 max-sm:[&>*]:mx-100 max-sm:[&>*]:inline-block max-sm:[&>*]:h-[60vw] max-sm:[&_img]:max-h-full md:flex md:justify-between md:p-200 [&_img]:max-h-[360px] [&_img]:max-w-full [&_img]:rounded-xs md:[&_img]:max-w-[calc(100%-16px)]",ref:o,children:ao.map(a=>{if(!0===a.advert)return(0,n.Y)(ae.P9,{name:a.id,trackerData:a.trackerData},a.id);var o="string"==typeof a.link?a.link:a.link[t&&r?"mobile":"desktop"];return(0,n.Y)(an,{alt:a.alt,title:a.title,target:a.target,rel:a.rel,image:a.image,link:o,onClick:()=>{e("internal_banner_click","click",{touch_point_button:a.trackingInfo})}},a.title)})})});var al=r(665397),ai=r(366637),as=(0,eF.default)("span",{target:"e1vw3yr90"})("cursor:pointer;position:absolute;border:0;width:25px;height:25px;background:#b1b1b3;right:5px;top:5px;
1display:block;z-index:999;font-size:18px;line-height:25px;text-align:center;color:#fff;border-radius:14px;"),ac=(0,eF.default)("div",{target:"e1vw3yr91"})("text-align:center;position:fixed;margin:0 auto;bottom:0;left:0;right:0;z-index:10;"),ad=(0,l.F)()?e=>{var a,r,o=(0,i.c)(5);o[0]!==e?(a=(0,al._)({},(0,ai._)(e)),o[0]=e,o[1]=a):a=o[1];var l=(0,h._)(W.useState(!0),2),s=l[0],c=l[1];return o[2]!==a||o[3]!==s?(r=s&&(0,n.FD)(ac,{children:[(0,n.Y)(ae.P9,(0,t._)({},a)),(0,n.Y)(as,{"data-testid":"sticky-banner-close-button",onClick:()=>c(!1),children:"X"})]}),o[2]=a,o[3]=s,o[4]=r):r=o[4],r}:e=>{var a=(0,al._)({},(0,ai._)(e)),r=(0,h._)(W.useState(!0),2),o=r[0],l=r[1];return o&&(0,n.FD)(ac,{children:[(0,n.Y)(ae.P9,(0,t._)({},a)),(0,n.Y)(as,{"data-testid":"sticky-banner-close-button",onClick:()=>l(!1),children:"X"})]})},au=(0,eF.default)(e=>{var a,r=(0,aa.Gu)(),t=r.isMobile,o=r.isDesktop,l=r.isTablet,i=r.hasIdentified,s={eventName:"advert_click",tpb:"bottom"};return(0,n.Y)("div",{children:i?(0,n.FD)(n.FK,{children:[t&&(0,n.Y)(ae.P9,{name:"slot-320x50_bottom",trackerData:s}),l&&(0,n.FD)(n.FK,{children:[(0,n.Y)(ae.P9,{name:"slot-750x100_bottom",trackerData:s}),(0,n.Y)(ad,{name:"slot-750x100-bottom-sticky"})]}),o&&(0,n.Y)(ae.P9,{name:"slot-1180_280_bottom",trackerData:s})]}):null},null!=(a=e.key)?a:"")},{target:"e10fa80s0"})("text-align:center;"),am=r(676867),ap=r(551593),ah=r.n(ap),af="hidden min-h-[150px] max-md:block xl:block",ab=(e,a)=>(0,t._)({backgroundColor:"#fff",backgroundImage:"url(".concat(e,")"),backgroundRepeat:"no-repeat",backgroundPosition:"center center"},a?{backgroundSize:"contain"}:{}),ay=(0,am.b)(e=>{var a=e.mobileImageSrc,r=e.desktopImageSrc,t=e.theme;return(0,n.FD)(ah(),{children:[a&&(0,n.Y)("link",{rel:"preload",href:a,as:"image",media:"(max-width: ".concat(t.breakpoints.sm,")")}),r&&(0,n.Y)("link",{rel:"preload",href:r,as:"image",media:"(min-width: ".concat(t.breakpoints.md,")")})]},"underlying-banner")}),av=(0,eF.default)(e=>{var a,r=e.data,t=e.className,o=e.useStaticImage,l=(0,aa.Gu)(),i=l.isMobile,s=l.isLargeDesktop,c=l.hasIdentified,d=(0,v.z1)().trackEvent,u=(0,y.Bd)("home").t,m=(i?(null==r?void 0:r.mobile_banner)||{}:r)||{},p=m.tracking,h=m.image,f=void 0===h?null:h,b=m.link,_=void 0===b?null:b;(0,W.useEffect)(()=>{c&&(null==p?void 0:p.touch_point_button)&&d("homepage_banner_impression","impression",{touch_point_button:p.touch_point_button})},[c,d,null==p?void 0:p.touch_point_button]);var w=(0,W.useCallback)(e=>{c&&d("advert_click","click",{touch_point_button:"top"}),window.open(null!=e?e:_,"_blank")},[c]);if(c&&!i&&!s||!f&&!o||!p&&!o)return null;if(o){var k="".concat("//statics.otomoto.pl/optimus-storage/a/").concat("otomotopl","/images/homepage-banners/redesign-experiment-banner.webp");return c?(0,n.Y)("div",{className:t,children:(0,n.Y)("button",{className:(0,g.A)("w-full border-none",i?"h-[150px]":"h-full"),style:ab(k,i),"data-testid":"banner-static",type:"button",role:"banner","aria-label":u("Fig_advertisement-banner",null,{fallback:"Advertisement banner"})})}):(0,n.Y)("div",{className:(0,g.A)(af,t)})}var S=null==r||null==(a=r.mobile_banner)?void 0:a.image,x=null==r?void 0:r.image,A=(0,n.Y)(ay,{mobileImageSrc:S,desktopImageSrc:x}),F=(null==p?void 0:p.impressions)&&Array.isArray(p.impressions)?p.impressions:null==p?void 0:p.impressions;return c?(0,n.FD)("div",{className:t,children:[A,f&&(0,n.Y)("button",{className:(0,g.A)("w-full border-none",i?"h-[150px]":"h-full"),style:ab(f,i),onClick:()=>w(),"data-testid":"banner-link",type:"button",role:"banner","aria-label":u("Fig_advertisement-banner",null,{fallback:"Advertisement banner"})}),F&&Array.isArray(F)&&F.map(e=>(0,n.Y)("img",{src:e,width:"0",height:"0",hidden:!0,alt:""},e))]}):(0,n.FD)(n.FK,{children:[A,(0,n.Y)("div",{className:(0,g.A)(af,t)})]})},{target:"e13armo20"})("width:100%;height:100%;background:",e=>e.theme.colors.$02_gray,";"),a_=(0,eF.default)(e=>{var a=e.data,r=e.className;if(!(0,f._T)(b.p8T)||!a)return null;var t=a.width,o=a.height,l=a.url;return(0,n.Y)("div",{className:r,"data-testid":"video-banner",children:(0,n.Y)("video",{controls:!0,width:t,height:o,children:(0,n.Y)("source",{src:l})})})},{target:"e1l8c7nr0"})(e=>{var a,r=e.data;switch(null==r?void 0:r.alignment){case"bottom":a="flex-end";break;case"middle":a="center";break;default:a="flex-start"}return(0,eA.css)("justify-content:",a,";")}," width:100%;height:100%;display:flex;flex-direction:column;pointer-events:none;> video{pointer-events:auto;}"),ag=r(599202),aw=r(549076),ak=W.useLayoutEffect;function aS(e){var a=e.railRef,r=e.selectedCategoryId,t=e.categoriesLength,o=e.elementIdPrefix,n=void 0===o?"category-selection-":o,l=(0,W.useRef)(!1);ak(()=>
1{if(!l.current&&r&&t){var e=a.current;if(e){var o=document.getElementById("".concat(n).concat(r));if(o&&e.contains(o)){var i=e.getBoundingClientRect(),s=o.getBoundingClientRect(),c=e.scrollLeft+(s.left-i.left),d=Number.parseFloat(window.getComputedStyle(e).paddingLeft),u=c-(Number.isNaN(d)?0:d),m=e.scrollWidth-e.clientWidth;e.scrollLeft=Math.max(0,Math.min(u,Math.max(0,m))),l.current=!0}}}},[t,n,a,r])}var ax=(0,l.F)()?e=>{var a,r,t,o,l=(0,i.c)(41),s=e.selectedCategoryId,c=e.handleCategoryClick,d=e.virtualCategory,u=e.align,m=e.getCategoryHref,p=e.spacing,h=void 0===u?"center":u,f=void 0===p?"default":p,b=(0,x._g)().type,y="mobile"===b||"tablet"===b,v=X(),_=(0,W.useRef)(null),w=null==v?void 0:v.length;if(l[0]!==s||l[1]!==w?(k={railRef:_,selectedCategoryId:s,categoriesLength:w},l[0]=s,l[1]=w,l[2]=k):k=l[2],aS(k),!(null==v?void 0:v.length))return null;if(l[3]!==h||l[4]!==m||l[5]!==c||l[6]!==y||l[7]!==v||l[8]!==s||l[9]!==f||l[10]!==d){var k,S,A,F,C,N,Y,I,V,D=null==v?void 0:v.filter(aA);S=s===(null==D||null==(I=D.at(-1))?void 0:I.id);var z=y?"-mx-200":"w-full";l[17]!==z?(N=(0,g.A)("relative items-center",z),l[17]=z,l[18]=N):N=l[18],Y=m?(0,n.Y)("nav",{"aria-hidden":"true",className:"sr-only","data-crawler-nav":!0,children:(0,n.FD)("ul",{children:[D.map(e=>(0,n.Y)("li",{children:(0,n.Y)("a",{href:m(e),tabIndex:-1,children:e.label})},e.id)),(null==d?void 0:d.href)?(0,n.Y)("li",{children:(0,n.Y)("a",{href:d.href,tabIndex:-1,children:d.label})},d.id):null]})}):null,A=_;var E=y&&"default"===f,B=!y&&"center"===h,T=!y&&"start"===h;l[19]!==y||l[20]!==E||l[21]!==B||l[22]!==T?(F=(0,g.A)("flex flex-nowrap items-center gap-xs overflow-x-auto overflow-y-hidden py-50 [scrollbar-width:none]",{"justify-start px-200":y,"mb-xs":E,"justify-center":B,"justify-start":T}),l[19]=y,l[20]=E,l[21]=B,l[22]=T,l[23]=F):F=l[23],l[24]!==c||l[25]!==s?(V=e=>{var a=e.id===s,r="category-selection-".concat(e.id),t="category-selection/input-".concat(e.id),o=e.id===G.dI.toString(),l=o&&a?"pl-[5px] [&_figure]:mr-0 [&_figure]:ml-0":"[&_figure]:mr-[4px] [&_figure]:ml-0";return(0,n.Y)(ag.f8,{id:r,onClick:()=>null==c?void 0:c(e),checked:a,as:"button",className:(0,g.A)("flex h-[40px] min-h-[40px] shrink-0 items-center justify-center gap-xs rounded-full bg-transparent text-foreground-primary [&_path]:fill-current [&_svg]:fill-current",{"border border-background-action-primary bg-background-accent-subtle! font-bold text-foreground-action-primary!":a,"border border-transparent":!a},l),children:(0,n.FD)("span",{translate:"no",className:(0,g.A)("notranslate flex items-center",o&&"gap-0",!a&&"text-foreground-secondary text-p3 leading-p3 font-normal"),children:[a?(0,n.Y)(aw.v,{name:t,m:"sm",ext:"png",width:44,height:33}):null,(0,n.Y)("span",{translate:"yes",children:e.label})]})},e.id)},l[24]=c,l[25]=s,l[26]=V):V=l[26],C=D.map(V),l[3]=h,l[4]=m,l[5]=c,l[6]=y,l[7]=v,l[8]=s,l[9]=f,l[10]=d,l[11]=S,l[12]=A,l[13]=F,l[14]=C,l[15]=N,l[16]=Y}else S=l[11],A=l[12],F=l[13],C=l[14],N=l[15],Y=l[16];return l[27]!==d?(a=d?(0,n.Y)(ag.f8,{id:"category-selection-".concat(d.id),onClick:d.onClick,checked:!1,as:"button",className:(0,g.A)("flex h-[40px] min-h-[40px] shrink-0 items-center justify-center gap-xs rounded-full bg-transparent text-foreground-primary [&_path]:fill-current [&_svg]:fill-current","border border-transparent"),children:(0,n.FD)("span",{translate:"no",className:(0,g.A)("notranslate flex items-center","text-foreground-secondary text-p3 leading-p3 font-normal"),children:[d.icon?d.icon:null,(0,n.Y)("span",{translate:"yes",children:d.label})]})},d.id):null,l[27]=d,l[28]=a):a=l[28],l[29]!==a||l[30]!==A||l[31]!==F||l[32]!==C?(r=(0,n.FD)("div",{ref:A,className:F,children:[C,a]}),l[29]=a,l[30]=A,l[31]=F,l[32]=C,l[33]=r):r=l[33],l[34]!==S?(t=S?null:(0,n.Y)(x.jj,{mobile:!0,tablet:!0,children:(0,n.Y)("span",{className:"pointer-events-none absolute top-0 right-0 z-10 block h-full w-lg bg-[linear-gradient(90deg,rgba(255,255,255,0)_0%,rgba(255,255,255,0.87)_100%)]"})}),l[34]=S,l[35]=t):t=l[35],l[36]!==r||l[37]!==t||l[38]!==N||l[39]!==Y?(o=(0,n.FD)("div",{className:N,children:[Y,r,t]}),l[36]=r,l[37]=t,l[38]=N,l[39]=Y,l[40]=o):o=l[40],o}:e=>{var a,r=e.selectedCategoryId,t=e.handleCategoryClick,o=e.virtualCategory,l=e.align,i=void 0===l?"center":l,s=e.getCategoryHref,c=e.spacing,d=(0,x._g)().type,u="mobile"===d||"tablet"===d,m=X(),p=(0,W.useRef)(null);if(aS({railRef:p,selectedCategoryId:r,categoriesLength:null==m?void 0:m.length}),!(null==m?void 0:m.length))return null;var h=null==m?void 0:m.filter(e=>!!e.uriPath),f="flex h-[40px] min-h-[40px] shrink-0 items-center justify-center gap-xs rounded-full bg-transparent text-foreground-primary [&_path]:fill-current [&_svg]:fill-current",b="text-foreground-secondary text-p3 leading-p3 font-normal",y=r===(null==h||null==(a=h.at(-1))?void 0:a.id);return(0,n.FD)("div",{className:(0,g.A)("relative items-center",u?"-mx-200":"w-full"),children:[s?(0,n.Y)("nav",{"aria-hidden":"true",className:"sr-only","data-crawler-nav":!0,children:(0,n.FD)("ul",{children:[h.map(e=>
1(0,n.Y)("li",{children:(0,n.Y)("a",{href:s(e),tabIndex:-1,children:e.label})},e.id)),(null==o?void 0:o.href)?(0,n.Y)("li",{children:(0,n.Y)("a",{href:o.href,tabIndex:-1,children:o.label})},o.id):null]})}):null,(0,n.FD)("div",{ref:p,className:(0,g.A)("flex flex-nowrap items-center gap-xs overflow-x-auto overflow-y-hidden py-50 [scrollbar-width:none]",{"justify-start px-200":u,"mb-xs":u&&"default"===(void 0===c?"default":c),"justify-center":!u&&"center"===i,"justify-start":!u&&"start"===i}),children:[h.map(e=>{var a=e.id===r,o="category-selection-".concat(e.id),l="category-selection/input-".concat(e.id),i=e.id===G.dI.toString(),s=i&&a?"pl-[5px] [&_figure]:mr-0 [&_figure]:ml-0":"[&_figure]:mr-[4px] [&_figure]:ml-0";return(0,n.Y)(ag.f8,{id:o,onClick:()=>null==t?void 0:t(e),checked:a,as:"button",className:(0,g.A)(f,{"border border-background-action-primary bg-background-accent-subtle! font-bold text-foreground-action-primary!":a,"border border-transparent":!a},s),children:(0,n.FD)("span",{translate:"no",className:(0,g.A)("notranslate flex items-center",i&&"gap-0",!a&&b),children:[a?(0,n.Y)(aw.v,{name:l,m:"sm",ext:"png",width:44,height:33}):null,(0,n.Y)("span",{translate:"yes",children:e.label})]})},e.id)}),o?(0,n.Y)(ag.f8,{id:"category-selection-".concat(o.id),onClick:o.onClick,checked:!1,as:"button",className:(0,g.A)(f,"border border-transparent"),children:(0,n.FD)("span",{translate:"no",className:(0,g.A)("notranslate flex items-center",b),children:[o.icon?o.icon:null,(0,n.Y)("span",{translate:"yes",children:o.label})]})},o.id):null]}),y?null:(0,n.Y)(x.jj,{mobile:!0,tablet:!0,children:(0,n.Y)("span",{className:"pointer-events-none absolute top-0 right-0 z-10 block h-full w-lg bg-[linear-gradient(90deg,rgba(255,255,255,0)_0%,rgba(255,255,255,0.87)_100%)]"})})]})};function aA(e){return!!e.uriPath}var aF=r(901055),aC=r(24066),aN=r(289621),aY=r(409006),aI="make",aV="model",aD="year";function az(e){var a;return{value:e.value,label:null!=(a=e.label)?a:e.value}}function aE(e){var a=a=>e.find(e=>e.name===a),r=a(aI),t=a(aV),o=a(aD);return!(null==r?void 0:r.value)||!(null==t?void 0:t.value)||!(null==o?void 0:o.value)||Number.isNaN(Number(o.value))?null:{make:az(r),model:az(t),year:az(o)}}function aB(e){return{make:e.make.value,model:e.model.value,year:Number(e.year.value)}}var aT=r(527429),aM=r(471097),aO=r(279597),aP=r(793625),aK=r(775250),aR=r(999192),aL=r(792897),aH={sectionImpression:"ev_battery_simulator_impression",calculateClick:"ev_battery_simulator_click",controlsImpression:"ev_battery_simulator",pickVehicleClick:"ev_pick_a_vehicle_click",weatherClick:"ev_weather_conditions_click",versionClick:"ev_version_click",resultsImpression:"ev_battery_simulator_results",close:"ev_battery_simulator_close",next:"ev_battery_simulator_next",resultsBack:"ev_battery_simulator_results_back",resultsClose:"ev_battery_simulator_results_close",seeElectrics:"search",feedbackSelect:"ev_battery_feedback_select",feedbackDismiss:"ev_battery_feedback_dismiss"},aG={simulator:"ev_battery_simulator",results:"ev_battery_simulator_results",feedbackThumbsUp:"thumbs_up",feedbackThumbsDown:"thumbs_down"},aW={touch_point_page:"home",ev_page:"true"},aj={SUMMER:"summer",MID_SEASON:"mid-season",WINTER:"winter"},aU={makeStart:"ev_battery_simulator_make_start"},aq=(0,o._)((0,t._)({},aW),{touch_point_button:aG.simulator}),aX=(0,o._)((0,t._)({},aW),{touch_point_button:aG.results}),a$=(e,a,r)=>e(a,"click",r,void 0,!0),aQ=()=>(0,v.wZ)(aH.sectionImpression,aW,void 0,!0),aJ=e=>a$(e,aH.calculateClick,aq),aZ=e=>a$(e,aH.pickVehicleClick,aq),a0=e=>a$(e,aH.close,aq),a1=(e,a)=>a$(e,aH.weatherClick,(0,o._)((0,t._)({},aq),{weather_conditions:aj[a]})),a2=(e,a)=>a$(e,aH.versionClick,(0,o._)((0,t._)({},aq),{ev_version:a})),a3=e=>a$(e,aH.next,aq),a5=e=>a$(e,aH.resultsBack,aX),a4=e=>a$(e,aH.resultsClose,aX),a8=e=>a$(e,aH.seeElectrics,aX),a6=(e,a)=>a$(e,aH.feedbackSelect,(0,o._)((0,t._)({},aX),{touch_point_button:a})),a9=e=>a$(e,aH.feedbackDismiss,aX),a7=()=>(0,v.wZ)(aH.controlsImpression,(0,o._)((0,t._)({},aW),{touch_point_button:aG.simulator}),void 0,!0),re=()=>(0,v.wZ)(aH.resultsImpression,(0,o._)((0,t._)({},aW),{touch_point_button:aG.results}),void 0,!0),ra="[--bgColor:var(--color-background-inverse)] [--fontSize:var(--text-body-extra-small)] whitespace-pre-line",rr="flex size-400 shrink-0 cursor-pointer items-center justify-center overflow-clip rounded-medium border-none bg-transparent p-0 text-foreground-primary transition-colors hover:bg-turbo-state-default-hover active:bg-turbo-state-default-hover focus-visible:bg-turbo-state-default-hover",rt="flex size-400 shrink-0 items-center justify-center",ro="shrink-0",rn="inline-flex size-[18px] shrink-0 aspect-square items-center justify-center",rl="size-[18px] shrink-0 text-foreground-primary",ri={up:"up",down:"down"},rs={prompt:"prompt",thanks:"thanks"},rc=(0,l.F)()?e=>{var a,r,t,o=(0,i.c)(9),l=e.tooltip,s=e.selected,c=e.children,d=e["aria-label"],u=e.onClick,m=void 0!==s&&s;return o[0]===Symbol.for("react.memo_cache_sentinel")?(a=[0,8],o[0]=a):a=o[0],o[1]!==d||o[2]!==c||o[3]!==u||o[4]!==m?(r=(0,n.Y)("button",{type:"button","aria-label":d,"aria-pressed":m,className:rr,onClick:u,children:c}),o[1]=d,o[2]=c,o[3]=u,o[4]=m,o[5]=r):r=o[5],o[6]!==r||o[7]!==l?(t=(0,n.Y)(aT.m,{className:ra,useDefaultTr
1igger:!1,content:l,trigger:"mouseenter focus",placement:"top",touch:!1,offset:a,children:r}),o[6]=r,o[7]=l,o[8]=t):t=o[8],t}:e=>{var a=e.tooltip,r=e.selected,t=e.children,o=e["aria-label"],l=e.onClick;return(0,n.Y)(aT.m,{className:ra,useDefaultTrigger:!1,content:a,trigger:"mouseenter focus",placement:"top",touch:!1,offset:[0,8],children:(0,n.Y)("button",{type:"button","aria-label":o,"aria-pressed":void 0!==r&&r,className:rr,onClick:l,children:t})})},rd=(0,l.F)()?e=>{var a,r,t,o,l,s,c,d,u,m,p,f,b,_,w,k,S,x=(0,i.c)(49),A=e.className,F=e.dismissed,C=e.onDismiss,N=(0,y.Bd)("home").t,Y=(0,y.Bd)("common").t,I=(0,v.z1)().trackEvent,V=(0,h._)((0,W.useState)(null),2),D=V[0],z=V[1],E=(0,h._)((0,W.useState)(rs.prompt),2),B=E[0],T=E[1],M=(0,h._)((0,W.useState)(!1),2),O=M[0],P=M[1],K=B===rs.thanks,R=O||void 0!==F&&F&&null===D&&B===rs.prompt;x[0]===Symbol.for("react.memo_cache_sentinel")?(a=()=>{T(rs.thanks)},x[0]=a):a=x[0];var L=a;x[1]!==C?(r=()=>{null==C||C()},x[1]=C,x[2]=r):r=x[2];var H=r;x[3]===Symbol.for("react.memo_cache_sentinel")?(t=()=>{P(!0)},x[3]=t):t=x[3];var G=t;x[4]!==R||x[5]!==H||x[6]!==D||x[7]!==I?(o=()=>{R||null!==D||(z(ri.up),a6(I,aG.feedbackThumbsUp),H(),L())},x[4]=R,x[5]=H,x[6]=D,x[7]=I,x[8]=o):o=x[8];var j=o;x[9]!==R||x[10]!==H||x[11]!==D||x[12]!==I?(l=()=>{R||null!==D||(z(ri.down),a6(I,aG.feedbackThumbsDown),H(),L())},x[9]=R,x[10]=H,x[11]=D,x[12]=I,x[13]=l):l=x[13];var U=l;x[14]!==R||x[15]!==H||x[16]!==D||x[17]!==I?(s=()=>{R||(a9(I),G(),null===D&&H())},x[14]=R,x[15]=H,x[16]=D,x[17]=I,x[18]=s):s=x[18];var q=s;if(R)return null;x[19]!==Y?(c=Y("yes",null,{fallback:"Yes"}),x[19]=Y,x[20]=c):c=x[20];var X=c;x[21]!==Y?(d=Y("no",null,{fallback:"No"}),x[21]=Y,x[22]=d):d=x[22];var $=d;x[23]!==N?(u=N("homepage-ev-battery-tool-feedback-dismiss",null,{fallback:"Dismiss"}),x[23]=N,x[24]=u):u=x[24];var Q=u;return x[25]!==A?(m=(0,g.A)("flex w-full items-center gap-150 rounded-[12px] bg-[#f1f2f5] py-100 pl-200 pr-100",A),x[25]=A,x[26]=m):m=x[26],x[27]!==K||x[28]!==N?(p=K?(0,n.FD)("div",{className:"flex min-w-0 flex-1 items-center gap-100",children:[(0,n.Y)(aM.S,{size:18,className:rl,"aria-hidden":!0}),(0,n.Y)("p",{id:"ev-battery-feedback-label",className:"min-w-0 text-body-small leading-body-small text-foreground-primary",children:N("homepage-ev-battery-tool-feedback-thanks",null,{fallback:"Thanks for your feedback!"})})]}):(0,n.Y)("p",{id:"ev-battery-feedback-label",className:"min-w-0 flex-1 text-body-small leading-body-small text-foreground-primary",children:N("homepage-ev-battery-tool-feedback-question",null,{fallback:"Do you find this tool useful?"})}),x[27]=K,x[28]=N,x[29]=p):p=x[29],x[30]!==U||x[31]!==j||x[32]!==K||x[33]!==$||x[34]!==D||x[35]!==X?(f=(0,n.Y)("div",{className:"flex items-center",children:K?(0,n.Y)("span",{className:rt,"aria-hidden":!0,children:D===ri.up?(0,n.Y)(aR.$,{size:18,className:ro}):(0,n.Y)(aP.m,{size:18,className:ro})}):(0,n.FD)(n.FK,{children:[(0,n.Y)(rc,{"aria-label":X,tooltip:X,onClick:j,children:(0,n.Y)(aK.G,{size:18,className:ro})}),(0,n.Y)(rc,{"aria-label":$,tooltip:$,onClick:U,children:(0,n.Y)(aO.d,{size:18,className:ro})})]})}),x[30]=U,x[31]=j,x[32]=K,x[33]=$,x[34]=D,x[35]=X,x[36]=f):f=x[36],x[37]===Symbol.for("react.memo_cache_sentinel")?(b=(0,n.Y)("div",{"aria-hidden":"true",className:"h-[16px] w-px shrink-0 bg-[rgba(2,3,9,0.25)]"}),x[37]=b):b=x[37],x[38]===Symbol.for("react.memo_cache_sentinel")?(_=(0,n.Y)("span",{className:rn,children:(0,n.Y)(aL.f,{size:18,className:ro})}),x[38]=_):_=x[38],x[39]!==Q||x[40]!==q?(w=(0,n.Y)("button",{type:"button","aria-label":Q,className:rr,onClick:q,children:_}),x[39]=Q,x[40]=q,x[41]=w):w=x[41],x[42]!==f||x[43]!==w?(k=(0,n.FD)("div",{className:"flex shrink-0 items-center gap-100",children:[f,b,w]}),x[42]=f,x[43]=w,x[44]=k):k=x[44],x[45]!==m||x[46]!==p||x[47]!==k?(S=(0,n.FD)("section",{"aria-labelledby":"ev-battery-feedback-label",className:m,children:[p,k]}),x[45]=m,x[46]=p,x[47]=k,x[48]=S):S=x[48],S}:e=>{var a=e.className,r=e.dismissed,t=e.onDismiss,o=(0,y.Bd)("home").t,l=(0,y.Bd)("common").t,i=(0,v.z1)().trackEvent,s=(0,h._)((0,W.useState)(null),2),c=s[0],d=s[1],u=(0,h._)((0,W.useState)(rs.prompt),2),m=u[0],p=u[1],f=(0,h._)((0,W.useState)(!1),2),b=f[0],_=f[1],w=m===rs.thanks,k=b||void 0!==r&&r&&null===c&&m===rs.prompt,S=(0,W.useCallback)(()=>{p(rs.thanks)},[]),x=(0,W.useCallback)(()=>{null==t||t()},[t]),A=(0,W.useCallback)(()=>{_(!0)},[]),F=(0,W.useCallback)(()=>{k||null!==c||(d(ri.up),a6(i,aG.feedbackThumbsUp),x(),S())},[k,x,c,S,i]),C=(0,W.useCallback)(()=>{k||null!==c||(d(ri.down),a6(i,aG.feedbackThumbsDown),x(),S())},[k,x,c,S,i]),N=(0,W.useCallback)(()=>{k||(a9(i),A(),null===c&&x())},[A,k,x,c,i]);if(k)return null;var Y=l("yes",null,{fallback:"Yes"}),I=l("no",null,{fallback:"No"}),V=o("homepage-ev-battery-tool-feedback-dismiss",null,{fallback:"Dismiss"});return(0,n.FD)("section",{"aria-labelledby":"ev-battery-feedback-label",className:(0,g.A)("flex w-full items-center gap-150 rounded-[12px] bg-[#f1f2f5] py-100 pl-200 pr-100",a),children:[w?(0,n.FD)("div",{className:"flex min-w-0 flex-1 items-center gap-100",children:[(0,n.Y)(aM.S,{size:18,className:rl,"aria-hidden":!0}),(0,n.Y)("p",{id:"ev-battery-feedback-label",className:"min-w-0 text-body-small leading-body-small text-foreground-primary",children:o("homepage-ev-battery-tool-feedback-thanks",null,{fallback:"Thanks for your feedback!"})})]}):(0,n.Y)("p",{id:"ev-battery-feedback-label",className:"min-w-0 flex-1 text-body-small leading-body-small text-foreground-primary",children:o("homepage-ev-battery-tool-feedback-question",null,{fallback:"Do you find this tool useful?"})}),(0,n.FD)("div",{className:"flex shrink-0 items-center gap-100",children:[(0,n.Y)("div",{className:"flex items-center",children:w?(0,n.Y)("span",{className:rt,"aria-hidden":!0,
1children:c===ri.up?(0,n.Y)(aR.$,{size:18,className:ro}):(0,n.Y)(aP.m,{size:18,className:ro})}):(0,n.FD)(n.FK,{children:[(0,n.Y)(rc,{"aria-label":Y,tooltip:Y,onClick:F,children:(0,n.Y)(aK.G,{size:18,className:ro})}),(0,n.Y)(rc,{"aria-label":I,tooltip:I,onClick:C,children:(0,n.Y)(aO.d,{size:18,className:ro})})]})}),(0,n.Y)("div",{"aria-hidden":"true",className:"h-[16px] w-px shrink-0 bg-[rgba(2,3,9,0.25)]"}),(0,n.Y)("button",{type:"button","aria-label":V,className:rr,onClick:N,children:(0,n.Y)("span",{className:rn,children:(0,n.Y)(aL.f,{size:18,className:ro})})})]})]})};function ru(e,a,r){var t,o;return null!=(o=null==(t=e.autonomyScenarios.find(e=>e.season===a&&e.speed===r))?void 0:t.autonomyKm)?o:null}var rm=r(383055),rp=r(346686),rh=(0,rp.UG)("\n query EvBatteryEstimation($input: ElectricVehicleBatteryEstimationInput!) {\n electricVehicleBatteryEstimation(input: $input) {\n ... on ElectricVehicleBatteryEstimation {\n __typename\n items {\n appliedFilters {\n field\n operator\n values\n }\n vehicle {\n id\n make {\n key\n value\n }\n model {\n key\n value\n }\n version {\n key\n value\n }\n year {\n key\n value\n }\n }\n batteryNetWh\n autonomyScenarios {\n season\n speed\n autonomyKm\n }\n chargingTime {\n dcMaxPowerKw\n regularScenario {\n powerKw\n durationMinutes\n }\n fastScenario {\n powerKw\n durationMinutes\n }\n }\n }\n }\n ... on ElectricVehicleBatteryEstimationError {\n __typename\n message\n code\n statusCode\n }\n }\n }\n"),rf={items:[],loading:!1},rb={make:"",model:"",year:0},ry={persistAttempt:!0},rv=r(584624),r_=[];function rg(e){var a,r,t,o,n,l,i,s,c,d,u=function(e){var a,r,t=(0,h._)((0,rm.IT)({query:rh,variables:{input:null!=e?e:rb},pause:null===e,context:ry}),1)[0],o=t.data,n=t.error,l=t.fetching;if(null===e)return rf;if(n)return{items:[],loading:!1,error:{message:n.message,code:null,statusCode:null}};var i=null==o?void 0:o.electricVehicleBatteryEstimation;return(null==i?void 0:i.__typename)==="ElectricVehicleBatteryEstimationError"?{items:[],loading:!1,error:{message:i.message,code:null!=(a=i.code)?a:null,statusCode:null!=(r=i.statusCode)?r:null}}:(null==i?void 0:i.__typename)==="ElectricVehicleBatteryEstimation"?{items:i.items,loading:!1}:{items:[],loading:l||!o}}(e),m=u.items,p=u.loading,f=u.error,b=(0,h._)((0,W.useState)("SUMMER"),2),y=b[0],v=b[1],_=(0,h._)((0,W.useState)(null),2),g=_[0],w=_[1],k=(0,W.useMemo)(()=>{var e,a;return null!=(a=null!=(e=m.find(e=>e.vehicle.id===g))?e:m[0])?a:null},[m,g]),S=(a=m.length,null===e?"no-selection":p?"loading":f?"error":0===a?"empty":"ready"),x=null!=(d=null==k?void 0:k.appliedFilters)?d:r_,A=(r=x.length>0?x:null,o=(t=(0,h._)((0,W.useState)({}),2))[0],n=t[1],i=(l=(0,h._)((0,W.useState)(null),2))[0],s=l[1],c=(0,W.useMemo)(()=>null===r||0===r.length?null:{filters:r.map(e=>{var a;return{name:e.field,value:null!=(a=e.values[0])?a:""}})},[r]),((0,W.useEffect)(()=>{if(null!==c){var e=!1;return(0,rv.A)({criteria:c}).then(a=>{var r,t;!e&&a&&(n({count:null!=(r=a.totalCount)?r:void 0,url:null!=(t=a.url)?t:void 0}),s(c))}).catch(()=>{e||(n({count:0}),s(c))}),()=>{e=!0}}},[c]),null===c||i!==c)?{}:o),F=(0,W.useMemo)(()=>"ready"===S&&k?{item:k,results:{batteryNetWh:k.batteryNetWh,cityAutonomyKm:ru(k,y,"CITY"),motorwayAutonomyKm:ru(k,y,"MOTORWAY"),chargingTime:k.chargingTime}}:null,[S,k,y]);return{status:S,items:m,appliedFilters:x,electricsSummary:A,error:f,season:y,setSeason:v,requestVersionId:w,selection:F}}var rw=(0,W.createContext)(null),rk=rw.Provider;function rS(){var e=(0,W.useContext)(rw);if(null===e)throw Error("useBatterySimulatorContext must be used within a BatterySimulatorStateProvider");return e}var rx=e=>1-Math.pow(1-e,3),rA=(0,l.F)()?e=>{var a,r,t,o,l,s,c,d,u,m,p=(0,i.c)(20),f=e.value,b=Number(f);p[0]!==b?(a=Number.isFinite(b),p[0]=b,p[1]=a):a=p[1];var y=a,v=(0,h._)((0,W.useState)(y?b:0),2),_=v[0],g=v[1],w=(0,W.useRef)(_),k=(0,W.useRef)(null);return(p[2]!==_?(r=()=>{w.current=_},t=[_],p[2]=_,p[3]=r,p[4]=t):(r=p[3],t=p[4]),(0,W.useEffect)(r,t),p[5]!==y||p[6]!==b?(o=()=>
1{if(y){var e=w.current;if(e!==b){null!==k.current&&cancelAnimationFrame(k.current);var a=performance.now(),r=t=>{var o=Math.min(1,(t-a)/520);g(e+(b-e)*rx(o)),o<1?k.current=requestAnimationFrame(r):(k.current=null,g(b))};return k.current=requestAnimationFrame(r),()=>{null!==k.current&&(cancelAnimationFrame(k.current),k.current=null)}}}},l=[b,y],p[5]=y,p[6]=b,p[7]=o,p[8]=l):(o=p[7],l=p[8]),(0,W.useEffect)(o,l),y)?(p[11]!==f?(c=(0,n.Y)("span",{className:"sr-only",children:f}),p[11]=f,p[12]=c):c=p[12],p[13]!==_?(d=Math.round(_),p[13]=_,p[14]=d):d=p[14],p[15]!==d?(u=(0,n.Y)("span",{"aria-hidden":!0,children:d}),p[15]=d,p[16]=u):u=p[16],p[17]!==c||p[18]!==u?(m=(0,n.FD)(n.FK,{children:[c,u]}),p[17]=c,p[18]=u,p[19]=m):m=p[19],m):(p[9]!==f?(s=(0,n.Y)("span",{children:f}),p[9]=f,p[10]=s):s=p[10],s)}:e=>{var a=e.value,r=Number(a),t=Number.isFinite(r),o=(0,h._)((0,W.useState)(t?r:0),2),l=o[0],i=o[1],s=(0,W.useRef)(l),c=(0,W.useRef)(null);return((0,W.useEffect)(()=>{s.current=l},[l]),(0,W.useEffect)(()=>{if(t){var e=s.current;if(e!==r){null!==c.current&&cancelAnimationFrame(c.current);var a=performance.now(),o=t=>{var n=Math.min(1,(t-a)/520);i(e+(r-e)*rx(n)),n<1?c.current=requestAnimationFrame(o):(c.current=null,i(r))};return c.current=requestAnimationFrame(o),()=>{null!==c.current&&(cancelAnimationFrame(c.current),c.current=null)}}}},[r,t]),t)?(0,n.FD)(n.FK,{children:[(0,n.Y)("span",{className:"sr-only",children:a}),(0,n.Y)("span",{"aria-hidden":!0,children:Math.round(l)})]}):(0,n.Y)("span",{children:a})},rF=(0,l.F)()?e=>{var a,r,t,o,l=(0,i.c)(9),s=e.segments,c=e.caption;return l[0]!==s?(a=null===s?(0,n.Y)("span",{className:"text-display leading-none font-medium tracking-regular text-foreground-secondary",children:"â"}):s.map(rV),l[0]=s,l[1]=a):a=l[1],l[2]!==a?(r=(0,n.Y)("p",{className:"flex items-baseline gap-[6px] text-foreground-primary",children:a}),l[2]=a,l[3]=r):r=l[3],l[4]!==c?(t=(0,n.Y)("p",{className:"text-base leading-body-base text-foreground-secondary",children:c}),l[4]=c,l[5]=t):t=l[5],l[6]!==r||l[7]!==t?(o=(0,n.FD)("div",{className:"col-span-1 row-span-1 flex flex-col items-start gap-[6px] self-stretch justify-self-stretch rounded-[20px] bg-[#f1f2f5] p-[20px]",children:[r,t]}),l[6]=r,l[7]=t,l[8]=o):o=l[8],o}:e=>{var a=e.segments,r=e.caption;return(0,n.FD)("div",{className:"col-span-1 row-span-1 flex flex-col items-start gap-[6px] self-stretch justify-self-stretch rounded-[20px] bg-[#f1f2f5] p-[20px]",children:[(0,n.Y)("p",{className:"flex items-baseline gap-[6px] text-foreground-primary",children:null===a?(0,n.Y)("span",{className:"text-display leading-none font-medium tracking-regular text-foreground-secondary",children:"â"}):a.map(e=>{var a=e.value,r=e.unit;return(0,n.FD)("span",{className:"flex items-baseline gap-[2px]",children:[(0,n.Y)("span",{className:"text-display leading-none font-medium tracking-regular",translate:"no",children:(0,n.Y)(rA,{value:a})}),(0,n.Y)("span",{className:"text-base leading-body-base font-medium",children:r})]},r)})}),(0,n.Y)("p",{className:"text-base leading-body-base text-foreground-secondary",children:r})]})},rC=e=>null===e?null:[{value:String(e),unit:"km"}],rN=e=>null===e?null:function(e){var a=Math.floor(e/60),r=e%60;return 0===a?[{value:String(r),unit:"min"}]:0===r?[{value:String(a),unit:"h"}]:[{value:String(a),unit:"h"},{value:String(r),unit:"min"}]}(e),rY={peakLimited:{key:"homepage-ev-battery-tool-charging-assumptions-peak",default:"Regular charging assumes {regularPower} kW; fast charging assumes up to {fastPower} kW, this car's peak rate."}
1,capped:{key:"homepage-ev-battery-tool-charging-assumptions",default:"Regular charging assumes {regularPower} kW; fast charging assumes up to {fastPower} kW."}},rI=(0,l.F)()?()=>{var e,a,r,t,o,l,s,c,d,u,m,p,h,f,b,v,_,g,w,k,S,x,A,F,C,N,Y,I,V,D,z,E=(0,i.c)(59),B=(0,y.Bd)("home").t,T=rS().selection,M=re();if(null===T)return null;var O=T.results,P=O.cityAutonomyKm,K=O.motorwayAutonomyKm,R=O.chargingTime,L=null!=(o=null==(e=R.regularScenario)?void 0:e.powerKw)?o:null,H=null!=(l=null==(a=R.fastScenario)?void 0:a.powerKw)?l:null,G=null!=(s=R.dcMaxPowerKw)?s:null,W=null!==G&&null!==H&&G<H,j=W?G:H,U=null!==L&&null!==j,q=W?rY.peakLimited:rY.capped;E[0]!==B?(c=B("homepage-ev-battery-tool-estimated-range",null,{fallback:"Estimated range"}),E[0]=B,E[1]=c):c=E[1],E[2]!==c?(d=(0,n.Y)("h3",{className:"text-base leading-body-base font-medium text-foreground-primary",children:c}),E[2]=c,E[3]=d):d=E[3],E[4]!==P?(u=rC(P),E[4]=P,E[5]=u):u=E[5],E[6]!==B?(m=B("homepage-ev-battery-tool-city-roads",null,{fallback:"City roads"}),E[6]=B,E[7]=m):m=E[7],E[8]!==u||E[9]!==m?(p=(0,n.Y)(rF,{segments:u,caption:m}),E[8]=u,E[9]=m,E[10]=p):p=E[10],E[11]!==K?(h=rC(K),E[11]=K,E[12]=h):h=E[12],E[13]!==B?(f=B("homepage-ev-battery-tool-motorway",null,{fallback:"Motorway"}),E[13]=B,E[14]=f):f=E[14],E[15]!==h||E[16]!==f?(b=(0,n.Y)(rF,{segments:h,caption:f}),E[15]=h,E[16]=f,E[17]=b):b=E[17],E[18]!==p||E[19]!==b?(v=(0,n.FD)("div",{className:"grid grid-cols-2 gap-150",children:[p,b]}),E[18]=p,E[19]=b,E[20]=v):v=E[20],E[21]!==d||E[22]!==v?(_=(0,n.FD)("section",{className:"flex flex-col gap-200",id:"ev-battery-section-panel",children:[d,v]}),E[21]=d,E[22]=v,E[23]=_):_=E[23],E[24]!==B?(g=B("homepage-ev-battery-tool-charging-time",null,{fallback:"Charging time"}),E[24]=B,E[25]=g):g=E[25],E[26]!==g?(w=(0,n.Y)("h3",{className:"text-base leading-body-base font-medium text-foreground-primary",children:g}),E[26]=g,E[27]=w):w=E[27];var X=null!=(k=null==(r=R.regularScenario)?void 0:r.durationMinutes)?k:null;E[28]!==X?(S=rN(X),E[28]=X,E[29]=S):S=E[29],E[30]!==B?(x=B("homepage-ev-battery-tool-charging-regular",null,{fallback:"Regular"}),E[30]=B,E[31]=x):x=E[31],E[32]!==S||E[33]!==x?(A=(0,n.Y)(rF,{segments:S,caption:x}),E[32]=S,E[33]=x,E[34]=A):A=E[34];var $=null!=(F=null==(t=R.fastScenario)?void 0:t.durationMinutes)?F:null;return E[35]!==$?(C=rN($),E[35]=$,E[36]=C):C=E[36],E[37]!==B?(N=B("homepage-ev-battery-tool-charging-fast",null,{fallback:"Fast charging"}),E[37]=B,E[38]=N):N=E[38],E[39]!==C||E[40]!==N?(Y=(0,n.Y)(rF,{segments:C,caption:N}),E[39]=C,E[40]=N,E[41]=Y):Y=E[41],E[42]!==A||E[43]!==Y?(I=(0,n.FD)("div",{className:"grid grid-cols-2 gap-150",children:[A,Y]}),E[42]=A,E[43]=Y,E[44]=I):I=E[44],E[45]!==q||E[46]!==U||E[47]!==j||E[48]!==L||E[49]!==B?(V=U&&(0,n.Y)("p",{"data-testid":"ev-battery-charging-assumptions",className:"px-100 text-body-extra-small leading-body-extra-small text-foreground-secondary opacity-80",children:B(q.key,{regularPower:L,fastPower:j},{default:q.default})}),E[45]=q,E[46]=U,E[47]=j,E[48]=L,E[49]=B,E[50]=V):V=E[50],E[51]!==w||E[52]!==I||E[53]!==V?(D=(0,n.FD)("section",{className:"flex flex-col gap-200",children:[w,I,V]}),E[51]=w,E[52]=I,E[53]=V,E[54]=D):D=E[54],E[55]!==M||E[56]!==D||E[57]!==_?(z=(0,n.FD)("div",{ref:M,id:"ev-battery-results-panel","data-testid":"ev-battery-results-panel",className:"flex flex-col gap-300",children:[_,D]}),E[55]=M,E[56]=D,E[57]=_,E[58]=z):z=E[58],z}:()=>{var e,a,r,t,o,l,i,s,c,d=(0,y.Bd)("home").t,u=rS().selection,m=re();if(null===u)return null;var p=u.results,h=p.cityAutonomyKm,f=p.motorwayAutonomyKm,b=p.chargingTime,v=null!=(o=null==(e=b.regularScenario)?void 0:e.powerKw)?o:null,_=null!=(l=null==(a=b.fastScenario)?void 0:a.powerKw)?l:null,g=null!=(i=b.dcMaxPowerKw)?i:null,w=null!==g&&null!==_&&g<_,k=w?g:_,S=w?rY.peakLimited:rY.capped;return(0,n.FD)("div",{ref:m,id:"ev-battery-results-panel","data-testid":"ev-battery-results-panel",className:"flex flex-col gap-300",children:[(0,n.FD)("section",{className:"flex flex-col gap-200",id:"ev-battery-section-panel",children:[(0,n.Y)("h3",{className:"text-base leading-body-base font-medium text-foreground-primary",children:d("homepage-ev-battery-tool-estimated-range",null,{fallback:"Estimated range"})}),(0,n.FD)("div",{className:"grid grid-cols-2 gap-150",children:[(0,n.Y)(rF,{segments:rC(h),caption:d("homepage-ev-battery-tool-city-roads",null,{fallback:"City roads"})}),(0,n.Y)(rF,{segments:rC(f),caption:d("homepage-ev-battery-tool-motorway",null,{fallback:"Motorway"})})]})]}),(0,n.FD)("section",{className:"flex flex-col gap-200",children:[(0,n.Y)("h3",{className:"text-base leading-body-base font-medium text-foreground-primary",children:d("homepage-ev-battery-tool-charging-time",null,{fallback:"Charging time"})}),(0,n.FD)("div",{className:"grid grid-cols-2 gap-150",children:[(0,n.Y)(rF,{segments:rN(null!=(s=null==(r=b.regularScenario)?void 0:r.durationMinutes)?s:null),caption:d("homepage-ev-battery-tool-charging-regular",null,{fallback:"Regular"})}),(0,n.Y)(rF,{segments:rN(null!=(c=null==(t=b.fastScenario)?void 0:t.durationMinutes)?c:null),caption:d("homepage-ev-battery-tool-charging-fast",null,{fallback:"Fast charging"})})]}),null!==v&&null!==k&&(0,n.Y)("p",{"data-testid":"ev-battery-charging-assumptions",className:"px-100 text-body-extra-small leading-body-extra-small text-foreground-secondary opacity-80",children:d(S.key,{regularPower:v,fastPower:k},{default:S.default})})]})]})};function rV(e){var a=e.value,r=e.unit;return(0,n.FD)("span",{className:"flex items-baseline gap-[2px]",children:[(0,n.Y)("span",{className:"text-display leading-none font-medium tracking-regular",translate:"no",children:(0,n.Y)(rA,{value:a})}),(0,n.Y)("span",{className:"text-base leading-body-base font-medium",children:r})]},r)}var rD="/osobowe/elektryczne",rz=r(228431),rE=r(468156),rB=(0,l.F)()?e=>{var a,r,t,o,l,s,c=(0,i.c)(15),d=e.labelKey,u=e.labelFallback,m=e.contentKey,p=e.contentFallback,h=(0,y.Bd)("home").t;c[0]!==u||c[1]!==d||c[2]!==h?(a=h(d,null,{fallback:u}),c[0]=u,c[1]=d,c[2]=h,c[3]=a):a=c[3];var f=a;c[4]!==p||c[5]!==m||c[6]!==h?(r=h(m,null,{fallback:p}),c[4]=p,c[5]=m,c[6]=h,c[7]=r):r=c[7];var b=r;return c[8]===Symbol.for("react.memo_cache_sentinel")?(t=[0,8],c[8]=t):t=c[8],c[9]===Symbol.for("react.memo_cache_sentinel")?(o=(0,n.Y)(rE.e,{size:20,"aria-hidden":!0}),c[9]=o):o=c[9],c[10]!==f?(l=(0,n.Y)("button",{type:"button","aria-label":f,className:"font-light m-0 inline-flex shrink-0 cursor-help appearance-none items-center justify-center border-none bg-transparent p-0 text-foreground-secondary",children:o}),c[10]=f,c[11]=l):l=c[11],c[12]!==b||c[13]!==l?(s=(0,n.Y)(rz.A,{content:b,trigger:"mouseenter focus",useDefaultTr
1igger:!1,placement:"bottom",touch:!0,offset:t,className:"max-w-[320px] text-body-small text-foreground-on-inverse [--bgColor:var(--color-background-inverse)]",children:l}),c[12]=b,c[13]=l,c[14]=s):s=c[14],s}:e=>{var a=e.labelKey,r=e.labelFallback,t=e.contentKey,o=e.contentFallback,l=(0,y.Bd)("home").t,i=l(a,null,{fallback:r}),s=l(t,null,{fallback:o});return(0,n.Y)(rz.A,{content:s,trigger:"mouseenter focus",useDefaultTrigger:!1,placement:"bottom",touch:!0,offset:[0,8],className:"max-w-[320px] text-body-small text-foreground-on-inverse [--bgColor:var(--color-background-inverse)]",children:(0,n.Y)("button",{type:"button","aria-label":i,className:"font-light m-0 inline-flex shrink-0 cursor-help appearance-none items-center justify-center border-none bg-transparent p-0 text-foreground-secondary",children:(0,n.Y)(rE.e,{size:20,"aria-hidden":!0})})})},rT=()=>{var e=(0,W.useRef)(null),a=(0,h._)((0,W.useState)(void 0),2),r=a[0],t=a[1];return(0,W.useEffect)(()=>{var a=e.current;if(a){var r=()=>{t(a.scrollTop+a.clientHeight<a.scrollHeight-1)};a.addEventListener("scroll",r,{passive:!0});var o="undefined"==typeof ResizeObserver?null:new ResizeObserver(r);null==o||o.observe(a);var n="undefined"==typeof MutationObserver?null:new MutationObserver(r);return null==n||n.observe(a,{childList:!0,subtree:!0}),()=>{a.removeEventListener("scroll",r),null==o||o.disconnect(),null==n||n.disconnect()}}},[]),{ref:e,showFade:r}},rM="[mask-image:linear-gradient(to_bottom,black_calc(100%_-_48px),transparent)]",rO=(0,l.F)()?e=>{var a,r,t=(0,i.c)(7),o=e.className,l=e.children,s=rT(),c=s.ref,d=s.showFade&&rM;return t[0]!==o||t[1]!==d?(a=(0,g.A)(o,d),t[0]=o,t[1]=d,t[2]=a):a=t[2],t[3]!==l||t[4]!==c||t[5]!==a?(r=(0,n.Y)("div",{ref:c,className:a,children:l}),t[3]=l,t[4]=c,t[5]=a,t[6]=r):r=t[6],r}:e=>{var a=e.className,r=e.children,t=rT(),o=t.ref,l=t.showFade;return(0,n.Y)("div",{ref:o,className:(0,g.A)(a,l&&rM),children:r})},rP=r(71470),rK=(0,l.F)()?e=>{var a,r,t,o,l,s,c,d,u,m,p,h=(0,i.c)(27),f=e.vehicle,b=e.onEdit,_=e.sectionTitle,g=(0,y.Bd)("home").t,w=(0,v.z1)().trackEvent;h[0]!==g?(a=g("homepage-ev-battery-tool-vehicle-card-edit",null,{fallback:"Edit vehicle"}),h[0]=g,h[1]=a):a=h[1];var k=a;h[2]!==_||h[3]!==g?(r=null!=_?_:g("homepage-ev-battery-tool-vehicle-card-section-title",null,{fallback:"Pick a vehicle"}),h[2]=_,h[3]=g,h[4]=r):r=h[4];var S=r;h[5]!==S?(t=(0,n.Y)("h3",{className:"text-base leading-body-base font-medium text-foreground-primary",children:S}),h[5]=S,h[6]=t):t=h[6];var x="".concat(f.make.label," ").concat(f.model.label);h[7]!==x?(o=(0,n.Y)("p",{className:"text-body-base leading-body-base font-medium text-foreground-primary",children:x}),h[7]=x,h[8]=o):o=h[8];var A="BEV \xb7 ".concat(f.year.label);return h[9]!==A?(l=(0,n.Y)("p",{className:"text-body-small leading-body-small text-foreground-secondary",translate:"no",children:A}),h[9]=A,h[10]=l):l=h[10],h[11]!==o||h[12]!==l?(s=(0,n.FD)("div",{className:"flex flex-col gap-[6px]",children:[o,l]}),h[11]=o,h[12]=l,h[13]=s):s=h[13],h[14]===Symbol.for("react.memo_cache_sentinel")?(c=(0,n.Y)(rP.A,{}),h[14]=c):c=h[14],h[15]!==b||h[16]!==w?(d=()=>{aZ(w),b()},h[15]=b,h[16]=w,h[17]=d):d=h[17],h[18]!==k||h[19]!==d?(u=(0,n.Y)(aN.$,{variant:"ghost",size:"small",layout:"icon-only",icon:c,"aria-label":k,onClick:d}),h[18]=k,h[19]=d,h[20]=u):u=h[20],h[21]!==u||h[22]!==s?(m=(0,n.FD)("div",{className:"flex w-full items-center justify-between gap-200 rounded-large border-small border-solid border-border-medium bg-background-primary py-[10px] pr-[14px] pl-[20px]",children:[s,u]}),h[21]=u,h[22]=s,h[23]=m):m=h[23],h[24]!==m||h[25]!==t?(p=(0,n.FD)("section",{className:"flex w-full flex-col gap-200",children:[t,m]}),h[24]=m,h[25]=t,h[26]=p):p=h[26],p}:e=>{var a=e.vehicle,r=e.onEdit,t=e.sectionTitle,o=(0,y.Bd)("home").t,l=(0,v.z1)().trackEvent,i=o("homepage-ev-battery-tool-vehicle-card-edit",null,{fallback:"Edit vehicle"}),s=null!=t?t:o("homepage-ev-battery-tool-vehicle-card-section-title",null,{fallback:"Pick a vehicle"});return(0,n.FD)("section",{className:"flex w-full flex-col gap-200",children:[(0,n.Y)("h3",{className:"text-base leading-body-base font-medium text-foreground-primary",children:s}),(0,n.FD)("div",{className:"flex w-full items-center justify-between gap-200 rounded-large border-small border-solid border-border-medium bg-background-primary py-[10px] pr-[14px] pl-[20px]",children:[(0,n.FD)("div",{className:"flex flex-col gap-[6px]",children:[(0,n.Y)("p",{className:"text-body-base leading-body-base font-medium text-foreground-primary",children:"".concat(a.make.label," ").concat(a.model.label)}),(0,n.Y)("p",{className:"text-body-small leading-body-small text-foreground-secondary",translate:"no",children:"BEV \xb7 ".concat(a.year.label)})]}),(0,n.Y)(aN.$,{variant:"ghost",size:"small",layout:"icon-only",icon:(0,n.Y)(rP.A,{}),"aria-label":i,onClick:()=>{aZ(l),r()}})]})]})},rR=r(279393),rL=r(395744),rH=(0,rR.F)((0,g.A)("turbo-radio-indicator relative flex size-turbo-24 shrink-0 items-center justify-center","transition-[width,height] duration-150"),{variants:{selected:{true:"",false:""},invalid:{true:"",false:""},disabled:{true:"",false:""}},compoundVariants:[{selected:!1,invalid:!1,disabled:!1,className:(0,g.A)("[&_.turbo-radio-ring]:size-turbo-24 [&_.turbo-radio-ring]:rounded-turbo-full","[&_.turbo-radio-ring]:border [&_.turbo-radio-ring]:border-turbo-border-default","[&_.turbo-radio-ring]:[border-width:var(--border-width-turbo-s)]","group-data-[hovered]:[&_.turbo-radio-ring]:border-turbo-border-strong","group-data-[pressed]:[&_.turbo-radio-ring]:size-[22px]","group-data-[pressed]:[&_.turbo-radio-ring]:border-turbo-border-strong","[&_.turbo-radio-dot]:size-turbo-4 [&_.turbo-radio-dot]:opacity-0")},{selected:!0,invalid:!1,disabled:!1,className:(0,g.A)("[&_.turbo-radio-halo]:absolute [&_.turbo-radio-halo]:inset-0","[&_.turbo-radio-halo]:rounded-turbo-full [&_.turbo-radio-halo]:bg-turbo-content-inverse","[&_.turbo-radio-ring]:relative [&_.turbo-radio-ring]:z-[1] [&_.turbo-radio-ring]:size-turbo-24","[&_.turbo-radio-ring]:rounded-turbo-full [&_.turbo-radio-ring]:border","[&_.turbo-radio-ring]:border-turbo-container-accent","[&_.turbo-radio-ring]:[border-width:var(--border-width-turbo-m)]","group-data-[hovered]:[&_.turbo-radio-ring]:border-[#045ec5]","group-data-[pressed]:[&_.turbo-radio-ring]:size-[22px]","group-data-[pressed]:[&_.turbo-radio-ring]:border-[#045ec5]","group-data-[pressed]:[&_.turbo-radio-ring]:[border-width:1.833px]","[&_.turbo-radio-dot]:size-turbo-16 [&_.turbo-radio-dot]:rounded-turbo-full","[&_.turbo-radio-dot]:bg-turbo-container-accent [&_.turbo-radio-dot]:opacity-100","group-data-[hovered]:[&_.turbo-radio-dot]:shadow-[inset_0_0_0_9999px_var(--color-turbo-state-accent-hover)]","group-data-[pressed]:[&_.turbo-radio-dot]:size-[14.667px]","group-data-[pressed]:[&_.turbo-radio-dot]:shadow-[inset_0_0_0_9999px_var(--color-turbo-state-accent-hover)]")},{selected:!1,invalid:!0,disabled:!1,className:(0,g.A)("[&_.turbo-radio-ring]:size-turbo-24 [&_.turbo-radio-ring]:rounded-turbo-full","[&_.turbo-radio-ring]:border [&_.turbo-radio-ring]:border-turbo-border-error","[&_.turbo-radio-ring]:[border-width:var(--border-width-turbo-s)]")},{selected:!0,invalid:!0,disabled:!1,className:(0,g.A)("[&_.turbo-radio-halo]:absolute [&_.turbo-radio-halo]:inset-0","[&_.turbo-radio-halo]:rounded-turbo-full [&_.turbo-radio-halo]:bg-turbo-container-default","[&_.turbo-radio-ring]:relative [&_.turbo-radio-ring]:z-[1] [&_.turbo-radio-ring]:size-turbo-24","[&_.turbo-radio-ring]:rounded-turbo-full [&_.turbo-radio-ring]:border","[&_.turbo-radio-ring]:border-turbo-border-error","[&_.turbo-radio-ring]:[border-width:var(--border-width-turbo-m)]","[&_.turbo-radio-dot]:size-turbo-16 [&_.turbo-radio-dot]:rounded-turbo-full","[&_.turbo-radio-dot]:bg-turbo-border-error [&_.turbo-radio-dot]:opacity-100")},{selected:!1,invalid:!1,disabled:!0,className:(0,g.A)("[&_.turbo-radio-ring]:size-turbo-24 [&_.turbo-radio-ring]:rounded-turbo-full","[&_.turbo-radio-ring]:bg-turbo-container-accent-muted-disabled","[&_.turbo-radio-dot]:size-turbo-4 [&_.turbo-radio-dot]:opacity-0")},{selected:!0,invalid:!1,disabled:!0,className:(0,g.A)("[&_.turbo-radio-halo]:absolute [&_.turbo-radio-halo]:inset-0","[&_.turbo-radio-halo]:rounded-turbo-full [&_.turbo-radio-halo]:bg-turbo-content-inverse","[&_.turbo-radio-ring]:relative [&_.turbo-radio-ring]:z-[1] [&_.turbo-radio-ring]:size-turbo-24","[&_.turbo-radio-ring]:rounded-turbo-full [&_.turbo-radio-ring]:border","[&_.turbo-radio-ring]:border-turbo-container-accent-disabled","[&_.turbo-radio-ring]:[border-width:var(--border-width-turbo-m)]","[&_.turbo-radio-dot]:size-turbo-16 [&_.turbo-radio-dot]:rounded-turbo-full","[&_.turbo-radio-dot]:bg-turbo-container-accent-disabled [&_.turbo-radio-dot]:opacity-100")},{selected:!1,invalid:!0,disabled:!0,className:(0,g.A)("[&_.turbo-radio-ring]:size-turbo-24 [&_.turbo-radio-ring]:rounded-turbo-full","[&_.turbo-radio-ring]:bg-turbo-container-accent-muted-disabled","[&_.turbo-radio-dot]:size-turbo-4 [&_.turbo-radio-dot]:opacity-0")},{selected:!0,invalid:!0,disabled:!0,className:(0,g.A)("[&_.turbo-radio-halo]:absolute [&_.turbo-radio-halo]:inset-0","[&_.turbo-radio-halo]:rounded-turbo-full [&_.turbo-radio-halo]:bg-turbo-content-inverse","[&_.turbo-radio-ring]:relative [&_.turbo-radio-ring]:z-[1] [&_.turbo-radio-ring]:size-turbo-24","[&_.turbo-radio-ring]:rounded-turbo-full [&_.turbo-radio-ring]:border","[&_.turbo-radio-ring]:border-turbo-container-accent-disabled","[&_.turbo-radio-ring]:[border-width:var(--border-width-turbo-m)]","[&_.turbo-radio-dot]:size-turbo-16 [&_.turbo-radio-dot]:rounded-turbo-full","[&_.turbo-radio-dot]:bg-turbo-container-accent-disabled [&_.turbo-radio-dot]:opacity-100")}],defaultVariants:{selected:!1,invalid:!1,disabled:!1}}),rG=(0,l.F)()?function(e){var a,r,t,o,l=(0,i.c)(11),s=e.selected,c=e.invalid,d=e.disabled,u=e.className,m=void 0!==s&&s,p=void 0!==c&&c,h=void 0!==d&&d;return l[0]!==u||l[1]!==h||l[2]!==p||l[3]!==m?(a=(0,g.A)(rH({selected:m,invalid:p,disabled:h}),u),l[0]=u,l[1]=h,l[2]=p,l[3]=m,l[4]=a):a=l[4],l[5]!==m?(r=m?(0,n.Y)("span",{className:"turbo-radio-halo"}):null,l[5]=m,l[6]=r):r=l[6],l[7]===Symbol.for("react.memo_cache_sentinel")?(t=(0,n.Y)("span",{className:"turbo-radio-ring flex items-center justify-center",children:(0,n.Y)("span",{className:"turbo-radio-dot"})}),l[7]=t):t=l[7],l[8]!==a||l[9]!==r?(o=(0,n.FD)("span",{"aria-hidden":!0,
1className:a,children:[r,t]}),l[8]=a,l[9]=r,l[10]=o):o=l[10],o}:function(e){var a=e.selected,r=void 0!==a&&a,t=e.invalid,o=e.disabled,l=e.className;return(0,n.FD)("span",{"aria-hidden":!0,className:(0,g.A)(rH({selected:r,invalid:void 0!==t&&t,disabled:void 0!==o&&o}),l),children:[r?(0,n.Y)("span",{className:"turbo-radio-halo"}):null,(0,n.Y)("span",{className:"turbo-radio-ring flex items-center justify-center",children:(0,n.Y)("span",{className:"turbo-radio-dot"})})]})},rW=(0,g.A)("outline-none","data-[focus-visible]:shadow-[0_0_0_2px_var(--color-turbo-container-default),0_0_0_5px_var(--color-turbo-border-accent)]"),rj=(0,g.A)("group inline-flex cursor-pointer items-center gap-turbo-8 font-turbo","data-[disabled]:cursor-not-allowed",rW),rU=(0,rR.F)((0,g.A)("group flex w-full min-h-turbo-48 cursor-pointer items-center justify-between","gap-turbo-12 rounded-turbo-m py-turbo-12 ps-turbo-16 pe-turbo-12 font-turbo","border [border-width:var(--border-width-turbo-s)]","data-[disabled]:cursor-not-allowed",rW),{variants:{selected:{true:"",false:""},disabled:{true:"",false:""}},compoundVariants:[{selected:!0,disabled:!1,className:"border-turbo-border-accent bg-turbo-container-accent-muted"},{selected:!1,disabled:!1,className:"border-turbo-border-default bg-transparent"},{disabled:!0,className:"border-turbo-border-default bg-turbo-container-accent-muted-disabled"}],defaultVariants:{selected:!1,disabled:!1}}),rq=(0,rR.F)((0,g.A)("font-normal text-[length:var(--text-turbo-body-base)] leading-[20px] tracking-turbo-regular"),{variants:{disabled:{true:"text-turbo-content-default-disabled",false:"text-turbo-content-default"},truncate:{true:"min-w-0 flex-1 truncate text-left",false:""}},defaultVariants:{disabled:!1,truncate:!1}}),rX=(0,l.F)()?function(e){var a,r,l,s,c,d,u,m,p,h,f=(0,i.c)(22);f[0]!==e?(u=(0,_._)(e,["className","children","label","isDisabled","aria-label","aria-labelledby"]),s=e.className,l=e.children,d=e.label,c=e.isDisabled,a=e["aria-label"],r=e["aria-labelledby"],f[0]=e,f[1]=a,f[2]=r,f[3]=l,f[4]=s,f[5]=c,f[6]=d,f[7]=u):(a=f[1],r=f[2],l=f[3],s=f[4],c=f[5],d=f[6],u=f[7]);var b=(0,W.useId)(),y=d?"".concat(b,"-label"):void 0,v=d?void 0:a,w=d?y:r;return f[8]!==s?(m=(0,g.A)("flex w-full flex-col gap-turbo-12 font-turbo",s),f[8]=s,f[9]=m):m=f[9],f[10]!==c||f[11]!==d||f[12]!==y?(p=d?(0,n.Y)("span",{className:rq({disabled:!!c}),id:y,children:d}):null,f[10]=c,f[11]=d,f[12]=y,f[13]=p):p=f[13],f[14]!==l||f[15]!==c||f[16]!==u||f[17]!==v||f[18]!==w||f[19]!==m||f[20]!==p?(h=(0,n.FD)(rL.z6,(0,o._)((0,t._)({},u),{isDisabled:c,"aria-label":v,"aria-labelledby":w,className:m,children:[p,l]})),f[14]=l,f[15]=c,f[16]=u,f[17]=v,f[18]=w,f[19]=m,f[20]=p,f[21]=h):h=f[21],h}:function(e){var a=e.className,r=e.children,l=e.label,i=e.isDisabled,s=e["aria-label"],c=e["aria-labelledby"],d=(0,_._)(e,["className","children","label","isDisabled","aria-label","aria-labelledby"]),u=(0,W.useId)(),m=l?"".concat(u,"-label"):void 0;return(0,n.FD)(rL.z6,(0,o._)((0,t._)({},d),{isDisabled:i,"aria-label":l?void 0:s,"aria-labelledby":l?m:c,className:(0,g.A)("flex w-full flex-col gap-turbo-12 font-turbo",a),children:[l?(0,n.Y)("span",{className:rq({disabled:!!i}),id:m,children:l}):null,r]}))};function r$(e,a,r){return(0,n.Y)(rG,{disabled:r,invalid:a,selected:e})}var rQ=(0,l.F)()?function(e){var a,r,l,s=(0,i.c)(22);if(s[0]!==e?(m=(0,_._)(e,["type","className","children","label"]),p=e.type,d=e.className,c=e.children,u=e.label,s[0]=e,s[1]=c,s[2]=d,s[3]=u,s[4]=m,s[5]=p):(c=s[1],d=s[2],u=s[3],m=s[4],p=s[5]),"option"===(void 0===p?"control":p)){var c,d,u,m,p,h,f,b,y=u;return s[6]!==d?(h=e=>{var a=e.isSelected,r=e.isDisabled;return(0,g.A)(rU({selected:a,disabled:r}),d)},s[6]=d,s[7]=h):h=s[7],s[8]!==y?(f=e=>{var a=e.isSelected,r=e.isDisabled,t=e.isInvalid;return(0,n.FD)(n.FK,{children:[(0,n.Y)("span",{className:rq({disabled:r,truncate:!0}),children:y}),r$(a,t,r)]})},s[8]=y,s[9]=f):f=s[9],s[10]!==m||s[11]!==h||s[12]!==f?(b=(0,n.Y)(rL.sx,(0,o._)((0,t._)({},m),{className:h,children:f})),s[10]=m,s[11]=h,s[12]=f,s[13]=b):b=s[13],b}return s[14]!==d?(a=()=>(0,g.A)(rj,d),s[14]=d,s[15]=a):a=s[15],s[16]!==c?(r=e=>{var a=e.isSelected,r=e.isDisabled,t=e.isInvalid;return(0,n.FD)(n.FK,{children:[r$(a,t,r),c?(0,n.Y)("span",{className:rq({disabled:r}),children:c}):null]})},s[16]=c,s[17]=r):r=s[17],s[18]!==m||s[19]!==a||s[20]!==r?(l=(0,n.Y)(rL.sx,(0,o._)((0,t._)({},m),{className:a,children:r})),s[18]=m,s[19]=a,s[20]=r,s[21]=l):l=s[21],l}:function(e){var a=e.type,r=e.className,l=e.children,i=e.label,s=(0,_._)(e,["type","className","children","label"]);return"option"===(void 0===a?"control":a)?(0,n.Y)(rL.sx,(0,o._)((0,t._)({}
1,s),{className:e=>{var a=e.isSelected,t=e.isDisabled;return(0,g.A)(rU({selected:a,disabled:t}),r)},children:e=>{var a=e.isSelected,r=e.isDisabled,t=e.isInvalid;return(0,n.FD)(n.FK,{children:[(0,n.Y)("span",{className:rq({disabled:r,truncate:!0}),children:i}),r$(a,t,r)]})}})):(0,n.Y)(rL.sx,(0,o._)((0,t._)({},s),{className:()=>(0,g.A)(rj,r),children:e=>{var a=e.isSelected,r=e.isDisabled,t=e.isInvalid;return(0,n.FD)(n.FK,{children:[r$(a,t,r),l?(0,n.Y)("span",{className:rq({disabled:r}),children:l}):null]})}}))};function rJ(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"trim",r=e.vehicle.version.value;return"trim-with-battery"===a?"".concat(e.batteryNetWh/1e3," kWh ").concat(r):r}var rZ=(0,l.F)()?e=>{var a,r,t,o,l,s,c,d,u,m,p,h,f=(0,i.c)(30),b=e.labelFormat,_=void 0===b?"trim":b,g=(0,y.Bd)("home").t,w=(0,v.z1)().trackEvent,k=rS(),S=k.status,x=k.items,A=k.selection,F=k.requestVersionId,C=(0,W.useId)();f[0]!==x||f[1]!==_||f[2]!==F||f[3]!==w?(a=e=>{F(e);var a=x.find(a=>a.vehicle.id===e);a&&a2(w,rJ(a,_))},f[0]=x,f[1]=_,f[2]=F,f[3]=w,f[4]=a):a=f[4];var N=a;if("loading"===S)return f[5]===Symbol.for("react.memo_cache_sentinel")?(r=(0,n.Y)(r0,{}),f[5]=r):r=f[5],r;if(0===x.length)return null;f[6]!==g?(t=g("homepage-ev-battery-tool-version-selector-section-title",null,{fallback:"Choose a version"}),f[6]=g,f[7]=t):t=f[7];var Y=t,I="trim-with-battery"===_;f[8]!==Y||f[9]!==C?(o=(0,n.Y)("h3",{id:C,className:"text-base leading-body-base font-medium text-foreground-primary",children:Y}),f[8]=Y,f[9]=C,f[10]=o):o=f[10],f[11]===Symbol.for("react.memo_cache_sentinel")?(l=(0,n.Y)(rB,{labelKey:"homepage-ev-battery-tool-version-assumption-tooltip-label",labelFallback:"About version specifications",contentKey:"homepage-ev-battery-tool-version-assumption-tooltip",contentFallback:"Results use the latest available specs for each version in the selected model year. Earlier builds may have different range and charging times."}),f[11]=l):l=f[11],f[12]!==o?(s=(0,n.FD)("div",{className:"flex items-center justify-between gap-200",children:[o,l]}),f[12]=o,f[13]=s):s=f[13];var V=I?"no":void 0,D=null!=(c=null==A?void 0:A.item.vehicle.id)?c:null;return f[14]!==x||f[15]!==_?(f[17]!==_?(u=e=>(0,n.Y)(rQ,{type:"option",value:e.vehicle.id,label:rJ(e,_),className:"font-[inherit]!"},e.vehicle.id),f[17]=_,f[18]=u):u=f[18],d=x.map(u),f[14]=x,f[15]=_,f[16]=d):d=f[16],f[19]!==N||f[20]!==D||f[21]!==d||f[22]!==C?(m=(0,n.Y)(rX,{"aria-labelledby":C,value:D,onChange:N,className:"font-[inherit]!",children:d}),f[19]=N,f[20]=D,f[21]=d,f[22]=C,f[23]=m):m=f[23],f[24]!==m||f[25]!==V?(p=(0,n.Y)("div",{translate:V,children:m}),f[24]=m,f[25]=V,f[26]=p):p=f[26],f[27]!==p||f[28]!==s?(h=(0,n.FD)("section",{"data-testid":"battery-simulator-version-selector",className:"flex w-full flex-col gap-200",children:[s,p]}),f[27]=p,f[28]=s,f[29]=h):h=f[29],h}:e=>{var a,r=e.labelFormat,t=void 0===r?"trim":r,o=(0,y.Bd)("home").t,l=(0,v.z1)().trackEvent,i=rS(),s=i.status,c=i.items,d=i.selection,u=i.requestVersionId,m=(0,W.useId)();if("loading"===s)return(0,n.Y)(r0,{});if(0===c.length)return null;var p=o("homepage-ev-battery-tool-version-selector-section-title",null,{fallback:"Choose a version"}),h="trim-with-battery"===t;return(0,n.FD)("section",{"data-testid":"battery-simulator-version-selector",className:"flex w-full flex-col gap-200",children:[(0,n.FD)("div",{className:"flex items-center justify-between gap-200",children:[(0,n.Y)("h3",{id:m,className:"text-base leading-body-base font-medium text-foreground-primary",children:p}),(0,n.Y)(rB,{labelKey:"homepage-ev-battery-tool-version-assumption-tooltip-label",labelFallback:"About version specifications",contentKey:"homepage-ev-battery-tool-version-assumption-tooltip",contentFallback:"Results use the latest available specs for each version in the selected model year. Earlier builds may have different range and charging times."})]}),(0,n.Y)("div",{translate:h?"no":void 0,children:(0,n.Y)(rX,{"aria-labelledby":m,value:null!=(a=null==d?void 0:d.item.vehicle.id)?a:null,onChange:e=>{u(e);var a=c.find(a=>a.vehicle.id===e);a&&a2(l,rJ(a,t))},className:"font-[inherit]!",children:c.map(e=>(0,n.Y)(rQ,{type:"option",value:e.vehicle.id,label:rJ(e,t),className:"font-[inherit]!"},e.vehicle.id))})})]})},r0=(0,l.F)()?()=>{var e,a=(0,i.c)(1);return a[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,n.FD)("div",{className:"flex flex-col gap-200","aria-hidden":"true",children:[(0,n.Y)("div",{className:"w-32 h-[20px] animate-pulse rounded-medium bg-background-secondary"}),[0,1,2].map(r1)]}),a[0]=e):e=a[0],e}:()=>(0,n.FD)("div",{className:"flex flex-col gap-200","aria-hidden":"true",children:[(0,n.Y)("div",{className:"w-32 h-[20px] animate-pulse rounded-medium bg-background-secondary"}),[0,1,2].map(e=>(0,n.Y)("div",{className:"h-[52px] w-full animate-pulse rounded-large bg-background-secondary"},e))]});function r1(e){return(0,n.Y)("div",{className:"h-[52px] w-full animate-pulse rounded-large bg-background-secondary"},e)}var r2={"aria-hidden":!0,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",width:24,height:24,className:"h-[24px] w-[24px]"},r3=[{season:"SUMMER",translationKey:"homepage-ev-battery-tool-weather-summer",fallbackLabel:"Summer",icon:(0,n.FD)("svg",(0,o._)((0,t._)({},r2),{children:[(0,n.Y)("circle",{cx:"12",cy:"12",r:"4"}),(0,n.Y)("path",{d:"M12 2v2"}),(0,n.Y)("path",{d:"M12 20v2"}),(0,n.Y)("path",{d:"m4.93 4.93 1.41 1.41"}),(0,n.Y)("path",{d:"m17.66 17.66 1.41 1.41"}),(0,n.Y)("path",{d:"M2 12h2"}),(0,n.Y)("path",{d:"M20 12h2"}),(0,n.Y)("path",{d:"m6.34 17.66-1.41 1.41"}),(0,n.Y)("path",{d:"m19.07 4.93-1.41 1.41"})]}))},{season:"MID_SEASON",translationKey:"homepage-ev-battery-tool-weather-mid-season",fallbackLabel:"Mid-season",icon:(0,n.FD)("svg",(0,o._)((0,t._)({},r2),{children:[(0,n.Y)("path",{d:"M12 2v2"}),(0,n.Y)("path",{d:"m4.93 4.93 1.41 1.41"}),(0,n.Y)("path",{d:"M20 12h2"}),(0,n.Y)("path",{d:"m19.07 4.93-1.41 1.41"}),(0,n.Y)("path",{d:"M15.947 12.65a4 4 0 0 0-5.925-4.128"}
1),(0,n.Y)("path",{d:"M13 22H7a5 5 0 1 1 4.9-6H13a3 3 0 0 1 0 6Z"})]}))},{season:"WINTER",translationKey:"homepage-ev-battery-tool-weather-winter",fallbackLabel:"Winter",icon:(0,n.FD)("svg",(0,o._)((0,t._)({},r2),{children:[(0,n.Y)("path",{d:"M10 20L8.75 17.5L6 18"}),(0,n.Y)("path",{d:"M10 4L8.75 6.5L6 6"}),(0,n.Y)("path",{d:"M14 20L15.25 17.5L18 18"}),(0,n.Y)("path",{d:"M14 4L15.25 6.5L18 6"}),(0,n.Y)("path",{d:"M17 21L14 15H10"}),(0,n.Y)("path",{d:"M17 3L14 9L15.5 12"}),(0,n.Y)("path",{d:"M2 12H8.5L10 9"}),(0,n.Y)("path",{d:"M20 10L18.5 12L20 14"}),(0,n.Y)("path",{d:"M22 12H15.5L14 15"}),(0,n.Y)("path",{d:"M4 10L5.5 12L4 14"}),(0,n.Y)("path",{d:"M7 21L10 15L8.5 12"}),(0,n.Y)("path",{d:"M7 3L10 9H14"})]}))}],r5=(0,rR.F)("flex w-full items-center justify-center rounded-large border-small border-solid px-[8px] py-[12px]",{variants:{state:{idle:"cursor-pointer border-border-medium bg-background-primary text-foreground-primary",selected:"cursor-pointer border-background-action-primary bg-background-accent-subtle text-foreground-primary",disabled:"cursor-not-allowed border-border-medium bg-background-primary text-foreground-secondary opacity-60"}},defaultVariants:{state:"idle"}}),r4=(0,l.F)()?e=>{var a,r,t,o,l,s=(0,i.c)(18),c=e.vehicle,d=(0,y.Bd)("home").t,u=(0,v.z1)().trackEvent,m=rS(),p=m.season,h=m.setSeason,f=null===c,b=(0,W.useId)();s[0]!==d?(a=d("homepage-ev-battery-tool-weather-conditions-title",null,{fallback:"Weather conditions"}),s[0]=d,s[1]=a):a=s[1];var _=a;return s[2]!==b||s[3]!==_?(r=(0,n.Y)("h3",{id:b,className:"text-base leading-body-base font-medium text-foreground-primary",children:_}),s[2]=b,s[3]=_,s[4]=r):r=s[4],s[5]!==b||s[6]!==f||s[7]!==p||s[8]!==h||s[9]!==d||s[10]!==u?(t=r3.map(e=>{var a=d(e.translationKey,null,{fallback:e.fallbackLabel}),r=p===e.season,t=f?"disabled":r?"selected":"idle",o="".concat(b,"-").concat(e.season.toLowerCase());return(0,n.FD)("div",{className:"flex flex-1 flex-col items-center gap-100",children:[(0,n.Y)("button",{type:"button",role:"radio","aria-checked":r,"aria-labelledby":o,"aria-disabled":f||void 0,disabled:f,onClick:()=>{r||(h(e.season),a1(u,e.season))},className:r5({state:t}),children:e.icon}),(0,n.Y)("span",{id:o,className:"font-light text-body-small leading-body-small text-foreground-primary",children:a})]},e.season)}),s[5]=b,s[6]=f,s[7]=p,s[8]=h,s[9]=d,s[10]=u,s[11]=t):t=s[11],s[12]!==b||s[13]!==t?(o=(0,n.Y)("div",{role:"radiogroup","aria-labelledby":b,className:"flex w-full gap-100",children:t}),s[12]=b,s[13]=t,s[14]=o):o=s[14],s[15]!==r||s[16]!==o?(l=(0,n.FD)("section",{className:"flex w-full flex-col gap-200",children:[r,o]}),s[15]=r,s[16]=o,s[17]=l):l=s[17],l}:e=>{var a=e.vehicle,r=(0,y.Bd)("home").t,t=(0,v.z1)().trackEvent,o=rS(),l=o.season,i=o.setSeason,s=null===a,c=(0,W.useId)(),d=r("homepage-ev-battery-tool-weather-conditions-title",null,{fallback:"Weather conditions"});return(0,n.FD)("section",{className:"flex w-full flex-col gap-200",children:[(0,n.Y)("h3",{id:c,className:"text-base leading-body-base font-medium text-foreground-primary",children:d}),(0,n.Y)("div",{role:"radiogroup","aria-labelledby":c,className:"flex w-full gap-100",children:r3.map(e=>{var a=r(e.translationKey,null,{fallback:e.fallbackLabel}),o=l===e.season,d=s?"disabled":o?"selected":"idle",u="".concat(c,"-").concat(e.season.toLowerCase());return(0,n.FD)("div",{className:"flex flex-1 flex-col items-center gap-100",children:[(0,n.Y)("button",{type:"button",role:"radio","aria-checked":o,"aria-labelledby":u,"aria-disabled":s||void 0,disabled:s,onClick:()=>{o||(i(e.season),a1(t,e.season))},className:r5({state:d}),children:e.icon}),(0,n.Y)("span",{id:u,className:"font-light text-body-small leading-body-small text-foreground-primary",children:a})]},e.season)})})]})},r8="battery-simulator-modal",r6=(0,l.F)()?e=>{var a,r,t,o=(0,i.c)(9),l=e.isOpen,s=e.onOpenChange,c=e.vehicle,d=e.isFeedbackDismissed,u=e.onFeedbackDismiss,m=void 0!==d&&d,p=(0,ag.pA)(r8).openDialog;return(o[0]!==l||o[1]!==p?(a=()=>{l&&p()},r=[l,p],o[0]=l,o[1]=p,o[2]=a,o[3]=r):(a=o[2],r=o[3]),(0,W.useEffect)(a,r),l)?(o[4]!==m||o[5]!==u||o[6]!==s||o[7]!==c?(t=(0,n.Y)(r9,{vehicle:c,onOpenChange:s,isFeedbackDismissed:m,onFeedbackDismiss:u}),o[4]=m,o[5]=u,o[6]=s,o[7]=c,o[8]=t):t=o[8],t):null}:e=>{var a=e.isOpen,r=e.onOpenChange,t=e.vehicle,o=e.isFeedbackDismissed,l=e.onFeedbackDismiss,i=(0,ag.pA)(r8).openDialog;return((0,W.useEffect)(()=>{a&&i()},[a,i]),a)?(0,n.Y)(r9,{vehicle:t,onOpenChange:r,isFeedbackDismissed:void 0!==o&&o,onFeedbackDismiss:l}):null},r9=(0,l.F)()?e=>{var a,r,t,o,l,s,c,d,u,m,p,f,b,_,w,k,S=(0,i.c)(57),A=e.vehicle,F=e.onOpenChange,C=e.isFeedbackDismissed,N=e.onFeedbackDismiss,Y=void 0!==C&&C,I=(0,y.Bd)("home").t,V=(0,x._g)().type,D=(0,v.z1)().trackEvent,z=a7();S[0]!==A?(a=null===A?null:aB(A),S[0]=A,S[1]=a):a=S[1];var E=rg(a),B=E.electricsSummary,T=B.count,M=B.url;S[2]!==M||S[3]!==D?(r=()=>{a8(D),window.location.href=null!=M?M:rD},S[2]=M,S[3]=D,S[4]=r):r=S[4];var O=r,P="mobile"===V,K=(0,h._)((0,W.useState)(1),2),R=K[0],L=K[1];S[5]!==I?(t=I("homepage-ev-battery-tool-see-electrics",null,{fallback:"Search EVs"}),S[5]=I,S[6]=t):t=S[6];var H=t;S[7]!==T||S[8]!==H||S[9]!==I?(o=void 0!==T&&T>0?I("homepage-ev-battery-tool-see-electrics-count",{count:T,n:(0,aY.Q8)(T)},{fallback:"See ".concat((0,aY.Q8)(T)," electrics")}):H,S[7]=T,S[8]=H,S[9]=I,S[10]=o):o=S[10];var G=o,j=null!==E.selection&&void 0!==T;S[11]!==F||S[12]!==A?(l=null!==A&&(0,n.FD)(n.FK,{children:[(0,n.Y)(rK,{vehicle:A,onEdit:()=>F(!1)}),(0,n.Y)(r4,{vehicle:A}),(0,n.Y)(rZ,{})]}),S[11]=F,S[12]=A,S[13]=l):l=S[13];var U=l;S[14]!==F||S[15]!==I||S[16]!==A?(s=null!==A&&(0,n.Y)(rK,{vehicle:A,onEdit:()=>F(!1),sectionTitle:I("homepage-ev-battery-tool-vehicle-card-results-for",null,{fallback:"Results for"})}),S[14]=F,S[15]=I,S[16]=A,S[17]=s):s=S[17];var q=s,X=P?"h-full! [&_button[aria-label='Close']]:!top-[25px]":"h-[610px]! w-[794px]! max-w-[95vw]! rounded-[36px]! [&_button[aria-label='Close']]:!top-[32px]";return S[18]!==X?(c=(0,g.A)("[&_button[aria-label='Close']]:!flex [&_button[aria-label='Close']]:!h-[40px] [&_button[aria-label='Close']]:!w-[40px] [&_button[aria-label='Close']]:!items-center [&_button[aria-label='Close']]:!justify-center","[&_button[aria-label='Close']_svg]:!h-[16px] [&_button[aria-label='Close']_svg]:!w-[16px]",X),S[18]=X,S[19]=c):c=S[19],S[20]!==P||S[21]!==R||S[22]!==F||S[23]!==D?(d=()=>{P&&2===R?a4(D):a0(D),F(!1)},S[20]=P,S[21]=R,S[22]=F,S[23]=D,S[24]=d):d=S[24],S[25]!==I?(u=I("homepage-ev-battery-tool-modal-title",null,{fallback:"Battery simulator"}),S[25]=I,S[26]=u):u=S[26],S[27]!==u?(m=(0,n.Y)("h2",{className:"text-headline-large leading-headline-large font-medium text-foreground-primary",children:u}),S[27]=u,S[28]=m):m=S[28],S[29]===Symbol.for("react.memo_cache_sentinel")?(p=(0,n.Y)(rB,{labelKey:"homepage-ev-battery-tool-charging-assumption-tooltip-label",labelFallback:"About charging time estimates",contentKey:"homepage-ev-battery-tool-charging-assumption-tooltip",contentFallback:"Estimates assume a new battery at full health. Battery age and condition may affect results."}),S[29]=p):p=S[29],S[30]!==m?(f=(0,n.FD)("header",{className:"flex w-full items-center gap-50",children:[m,p]}),S[30]=m,S[31]=f):f=S[31],S[32]!==O||S[33]!==U||S[34]!==Y||S[35]!==P||S[36]!==R||S[37]!==N||S[38]!==q||S[39]!==G||S[40]!==H||S[41]!==j||S[42]!==E.selection||S[43]!==D?(b=(0,n.Y)("div",{className:"flex min-h-0 w-full flex-1 flex-col",children:P?(0,n.Y)(te,{step:R,onNext:()=>{a3(D),L(2)},onBack:()=>{a5(D),L(1)},seeElectricsLabel:H,onSeeElectrics:O,inputsSection:U,resultsVehicleCard:q,hasResults:null!==E.selection,showSeeElectrics:j,isFeedbackDismissed:Y,onFeedbackDismiss:N}):(0,n.Y)(r7,{seeElectricsLabel:G,onSeeElectrics:O,inputsSection:U,hasResults:null!==E.selection,showSeeElectrics:j,isFeedbackDismissed:Y,onFeedbackDismiss:N})}),S[32]=O,S[33]=U,S[34]=Y,S[35]=P,S[36]=R,S[37]=N,S[38]=q,S[39]=G,S[40]=H,S[41]=j,S[42]=E.selection,S[43]=D,S[44]=b):b=S[44],S[45]!==E||S[46]!==b?(_=(0,n.Y)(rk,{value:E,children:b}),S[45]=E,S[46]=b,S[47]=_):_=S[47],S[48]!==z||S[49]!==f||S[50]!==_?(w=(0,n.Y)(ag.R4,{className:"h-full! max-h-none! items-start! overflow-hidden! p-[32px]!",children:(0,n.FD)("div",{ref:z,className:"flex h-full w-full flex-col gap-[32px]",children:[f,_]})}),S[48]=z,S[49]=f,S[50]=_,S[51]=w):w=S[51],S[52]!==P||S[53]!==d||S[54]!==w||S[55]!==c?(k=(0,n.Y)(ag.lG,{id:r8,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,mobileFullscreen:P,className:c,onDialogClose:d,children:w}),S[52]=P,S[53]=d,S[54]=w,S[55]=c,S[56]=k):k=S[56],k}:e=>{var a=e.vehicle,r=e.onOpenChange,t=e.isFeedbackDismissed,o=void 0!==t&&t,l=e.onFeedbackDismiss,i=(0,y.Bd)("home").t,s=(0,x._g)().type,c=(0,v.z1)().trackEvent,d=a7(),u=rg((0,W.useMemo)(()=>null===a?null:aB(a),[a])),m=u.electricsSummary,p=m.count,f=m.url,b=(0,W.useCallback)(()=>{a8(c),window.location.href=null!=f?f:rD},[f,c]),_="mobile"===s,w=(0,h._)((0,W.useState)(1),2),k=w[0],S=w[1],A=i("homepage-ev-battery-tool-see-electrics",null,{fallback:"Search EVs"}),F=void 0!==p&&p>0?i("homepage-ev-battery-tool-see-electrics-count",{count:p,n:(0,aY.Q8)(p)},{fallback:"See ".concat((0,aY.Q8)(p)," electrics")}):A,C=null!==u.selection&&void 0!==p,N=null!==a&&(0,n.FD)(n.FK,{children:[(0,n.Y)(rK,{vehicle:a,onEdit:()=>r(!1)}),(0,n.Y)(r4,{vehicle:a}),(0,n.Y)(rZ,{})]}),Y=null!==a&&(0,n.Y)(rK,{vehicle:a,onEdit:()=>r(!1),sectionTitle:i("homepage-ev-battery-tool-vehicle-card-results-for",null,{fallback:"Results for"})});return(0,n.Y)(ag.lG,{id:r8,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,mobileFullscreen:_,className:(0,g.A)("[&_button[aria-label='Close']]:!flex [&_button[aria-label='Close']]:!h-[40px] [&_button[aria-label='Close']]:!w-[40px] [&_button[aria-label='Close']]:!items-center [&_button[aria-label='Close']]:!justify-center","[&_button[aria-label='Close']_svg]:!h-[16px] [&_button[aria-label='Close']_svg]:!w-[16px]",_?"h-full! [&_button[aria-label='Close']]:!top-[25px]":"h-[610px]! w-[794px]! max-w-[95vw]! rounded-[36px]! [&_button[aria-label='Close']]:!top-[32px]"),onDialogClose:()=>{_&&2===k?a4(c):a0(c),r(!1)},children:(0,n.Y)(ag.R4,{className:"h-full! max-h-none! items-start! overflow-hidden! p-[32px]!",children:(0,n.FD)("div",{ref:d,className:"flex h-full w-full flex-col gap-[32px]",children:[(0,n.FD)("header",{className:"flex w-full items-center gap-50",children:[(0,n.Y)("h2",{className:"text-headline-large leading-headline-large font-medium text-foreground-primary",children:i("homepage-ev-battery-tool-modal-title",null,{fallback:"Battery simulator"})}),(0,n.Y)(rB,{labelKey:"homepage-ev-battery-tool-charging-assumption-tooltip-label",labelFallback:"About charging time estimates",contentKey:"homepage-ev-battery-tool-charging-assumption-tooltip",contentFallback:"Estimates assume a new battery at full health. Battery age and condition may affect results."})]}),(0,n.Y)(rk,{value:u,children:(0,n.Y)("div",{className:"flex min-h-0 w-full flex-1 flex-col",children:_?(0,n.Y)(te,{step:k,onNext:()=>{a3(c),S(2)},onBack:()=>{a5(c),S(1)},seeElectricsLabel:A,onSeeElectrics:b,inputsSection:N,resultsVehicleCard:Y,hasResults:null!==u.selection,showSeeElectrics:C,isFeedbackDismissed:o,onFeedbackDismiss:l}):(0,n.Y)(r7,{seeElectricsLabel:F,onSeeElectrics:b,inputsSection:N,hasResults:null!==u.selection,showSeeElectrics:C,isFeedbackDismissed:o,onFeedbackDismiss:l})})})]})})})},r7=(0,l.F)()?e=>{var a,r,t,o,l,s,c=(0,i.c)(17),d=e.seeElectricsLabel,u=e.onSeeElectrics,m=e.input
1sSection,p=e.hasResults,h=e.showSeeElectrics,f=e.isFeedbackDismissed,b=e.onFeedbackDismiss;return c[0]!==m?(a=(0,n.Y)(rO,{className:"flex min-h-0 flex-col gap-400 overflow-y-auto pr-200",children:m}),c[0]=m,c[1]=a):a=c[1],c[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,n.Y)(rI,{}),c[2]=r):r=c[2],c[3]!==p||c[4]!==f||c[5]!==b?(t=p&&(0,n.Y)(rd,{dismissed:f,onDismiss:b}),c[3]=p,c[4]=f,c[5]=b,c[6]=t):t=c[6],c[7]!==u||c[8]!==d||c[9]!==h?(o=h&&(0,n.Y)(aN.$,{variant:"accent",onClick:u,className:"w-full !font-[family-name:inherit]",children:d}),c[7]=u,c[8]=d,c[9]=h,c[10]=o):o=c[10],c[11]!==t||c[12]!==o?(l=(0,n.FD)("div",{className:"flex flex-col justify-between gap-[24px]",children:[r,(0,n.FD)("div",{className:"flex flex-col gap-150",children:[t,o]})]}),c[11]=t,c[12]=o,c[13]=l):l=c[13],c[14]!==a||c[15]!==l?(s=(0,n.FD)("div",{className:"grid h-full grid-cols-2 gap-[44px]",children:[a,l]}),c[14]=a,c[15]=l,c[16]=s):s=c[16],s}:e=>{var a=e.seeElectricsLabel,r=e.onSeeElectrics,t=e.inputsSection,o=e.hasResults,l=e.showSeeElectrics,i=e.isFeedbackDismissed,s=e.onFeedbackDismiss;return(0,n.FD)("div",{className:"grid h-full grid-cols-2 gap-[44px]",children:[(0,n.Y)(rO,{className:"flex min-h-0 flex-col gap-400 overflow-y-auto pr-200",children:t}),(0,n.FD)("div",{className:"flex flex-col justify-between gap-[24px]",children:[(0,n.Y)(rI,{}),(0,n.FD)("div",{className:"flex flex-col gap-150",children:[o&&(0,n.Y)(rd,{dismissed:i,onDismiss:s}),l&&(0,n.Y)(aN.$,{variant:"accent",onClick:r,className:"w-full !font-[family-name:inherit]",children:a})]})]})]})},te=(0,l.F)()?e=>{var a,r,t,o,l,s,c,d,u,m,p,h,f,b,v,_=(0,i.c)(43),w=e.step,k=e.onNext,S=e.onBack,x=e.seeElectricsLabel,A=e.onSeeElectrics,F=e.inputsSection,C=e.resultsVehicleCard,N=e.hasResults,Y=e.showSeeElectrics,I=e.isFeedbackDismissed,V=e.onFeedbackDismiss,D=(0,y.Bd)("home").t,z=1!==w&&"hidden";_[0]!==z?(a=(0,g.A)("flex h-full flex-col",z),_[0]=z,_[1]=a):a=_[1],_[2]!==F?(r=(0,n.Y)(rO,{className:"flex min-h-0 flex-1 flex-col gap-400 overflow-y-auto pb-400",children:F}),_[2]=F,_[3]=r):r=_[3];var E=!N;_[4]!==D?(t=D("homepage-ev-battery-tool-mobile-next",null,{fallback:"Next"}),_[4]=D,_[5]=t):t=_[5],_[6]!==k||_[7]!==E||_[8]!==t?(o=(0,n.Y)(aN.$,{variant:"accent",disabled:E,onClick:k,className:"w-full !font-[family-name:inherit]",children:t}),_[6]=k,_[7]=E,_[8]=t,_[9]=o):o=_[9],_[10]!==a||_[11]!==r||_[12]!==o?(l=(0,n.FD)("div",{className:a,children:[r,o]}),_[10]=a,_[11]=r,_[12]=o,_[13]=l):l=_[13];var B=2!==w&&"hidden";return _[14]!==B?(s=(0,g.A)("flex h-full flex-col",B),_[14]=B,_[15]=s):s=_[15],_[16]===Symbol.for("react.memo_cache_sentinel")?(c=(0,n.Y)(rI,{}),_[16]=c):c=_[16],_[17]!==C?(d=(0,n.FD)("div",{className:"flex min-h-0 flex-1 flex-col gap-400 overflow-y-auto pb-400",children:[C,c]}),_[17]=C,_[18]=d):d=_[18],_[19]!==N||_[20]!==I||_[21]!==V?(u=N&&(0,n.Y)(rd,{className:"mb-150 shrink-0",dismissed:I,onDismiss:V}),_[19]=N,_[20]=I,_[21]=V,_[22]=u):u=_[22],_[23]!==D?(m=D("homepage-ev-battery-tool-mobile-back",null,{fallback:"Back"}),_[23]=D,_[24]=m):m=_[24],_[25]!==S||_[26]!==m?(p=(0,n.Y)(aN.$,{variant:"tertiary",onClick:S,className:"flex-1 !font-[family-name:inherit]",children:m}),_[25]=S,_[26]=m,_[27]=p):p=_[27],_[28]!==A||_[29]!==x||_[30]!==Y?(h=Y&&(0,n.Y)(aN.$,{variant:"accent",onClick:A,className:"flex-1 !font-[family-name:inherit]",children:x}),_[28]=A,_[29]=x,_[30]=Y,_[31]=h):h=_[31],_[32]!==p||_[33]!==h?(f=(0,n.FD)("div",{className:"flex gap-200",children:[p,h]}),_[32]=p,_[33]=h,_[34]=f):f=_[34],_[35]!==d||_[36]!==u||_[37]!==f||_[38]!==s?(b=(0,n.FD)("div",{className:s,children:[d,u,f]}),_[35]=d,_[36]=u,_[37]=f,_[38]=s,_[39]=b):b=_[39],_[40]!==b||_[41]!==l?(v=(0,n.FD)("div",{className:"flex h-full flex-col",children:[l,b]}),_[40]=b,_[41]=l,_[42]=v):v=_[42],v}:e=>{var a=e.step,r=e.onNext,t=e.onBack,o=e.seeElectricsLabel,l=e.onSeeElectrics,i=e.inputsSection,s=e.resultsVehicleCard,c=e.hasResults,d=e.showSeeElectrics,u=e.isFeedbackDismissed,m=e.onFeedbackDismiss,p=(0,y.Bd)("home").t;return(0,n.FD)("div",{className:"flex h-full flex-col",children:[(0,n.FD)("div",{className:(0,g.A)("flex h-full flex-col",1!==a&&"hidden"),children:[(0,n.Y)(rO,{className:"flex min-h-0 flex-1 flex-col gap-400 overflow-y-auto pb-400",children:i}),(0,n.Y)(aN.$,{variant:"accent",disabled:!c,onClick:r,className:"w-full !font-[family-name:inherit]",children:p("homepage-ev-battery-tool-mobile-next",null,{fallback:"Next"})})]}),(0,n.FD)("div",{className:(0,g.A)("flex h-full flex-col",2!==a&&"hidden"),children:[(0,n.FD)("div",{className:"flex min-h-0 flex-1 flex-col gap-400 overflow-y-auto pb-400",children:[s,(0,n.Y)(rI,{})]}),c&&(0,n.Y)(rd,{className:"mb-150 shrink-0",dismissed:u,onDismiss:m}),(0,n.FD)("div",{className:"flex gap-200",children:[(0,n.Y)(aN.$,{variant:"tertiary",onClick:t,className:"flex-1 !font-[family-name:inherit]",children:p("homepage-ev-battery-tool-mobile-back",null,{fallback:"Back"})}),d&&(0,n.Y)(aN.$,{variant:"accent",onClick:l,className:"flex-1 !font-[family-name:inherit]",children:o})]})]})]})},ta=r(189885),tr=r(560263),tt=r(57918),to=r(610062),tn=r(423141),tl=r(742025),ti=(0,rp.UG)("\n fragment screenFilters on Query @_unmask {\n filters: screen(categoryId: $categoryId, name: $name, platform: WEB) {\n ... on ScreenError {\n __typename\n message\n errorCode\n }\n ... on Screen {\n components {\n __typename\n id\n name\n type\n parentID\n description\n displayConfig {\n __typename\n renderAs\n hasMultiple\n inputMode\n renderAs\n suffix\n }\n }\n states(eager: true) {\n __typename\n filterId\n conditions {\n __typename\n filterId\n value\n type\n }\n ... on DisabledState {\n __typename\n hidden\n }\n ... on OpenForInputState {\n __typename\n values {\n __typename\n name\n values {\n __typename\n id\n name\n description\n counter\n }\n }\n defaultSelectedValues\n }\n }\n }\n }\n }\n"),ts=(0,rp.UG)("\n fragment screenSortOptions on Query @_unmask {\n sortOptions: screen(\n categoryId: $categoryId\n name: $sortingScreenName\n platform: WEB\n ) {\n ... on Screen {\n states {\n ... on OpenForInputState {\n values {\n values {\n id\n name\n }\n }\n defaultSelectedValues\n }\n }\n }\n ... on ScreenError {\n message\n }\n }\n }\n");let tc=(0,rp.UG)("\n query screen(\n $name: String!\n $categoryId: ID!\n $includeSortOptions: Boolean!\n $sortingScreenName: String!\n ) {\n ...screenFilters\n ...screenSortOptions @include(if: $includeSortOptions)\n }\n ",[ti,ts]);var td="An error has occurred while running getScreen";async function tu(e){var a,r,t=await (0,tn.Uq)().query(tc,e).toProm
1ise(),o=t.data,n=t.error;if(n||(null==o||null==(a=o.filters)?void 0:a.__typename)!=="Screen"){(null==o||null==(r=o.filters)?void 0:r.__typename)==="ScreenError"&&(0,tl.v)("".concat(td," on filters => ")+JSON.stringify(o.filters)),n&&(0,tl.v)("".concat(td," => ")+JSON.stringify(n));return}return o.filters}var tm="evs:battery-estimation";async function tp(e){return tu({categoryId:e.categoryId,name:tm,includeSortOptions:!1,sortingScreenName:""})}var th=r(217832),tf=["tesla"],tb=["model3","model_3","model-3"],ty=["2025"];function tv(e){return"OpenForInput"===e.type}function t_(e){return e.values.flatMap(e=>e.values)}function tg(e,a){var r=!0,t=!1,o=void 0;try{for(var n,l=a[Symbol.iterator]();!(r=(n=l.next()).done);r=!0){var i=function(){var a=n.value,r=e.find(e=>e.id===a);if(r)return{v:r}}();if("object"===(0,th._)(i))return i.v}}catch(e){t=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(t)throw o}}return e[0]}function tw(e,a,r){return e.find(e=>{var t;return tv(e)&&e.id===a&&(t=e.conditions,0===t.length||t.every(e=>"IS"===e.type?r[e.filterId]===e.value:"EMPTY"!==e.type||null==r[e.filterId]))})}function tk(e,a){return(0,o._)((0,t._)({},e),{defaultSelectedValues:[a]})}function tS(e){if(e){var a={},r=tw(e.states,aI,a),n=r?tg(t_(r),tf):void 0;n&&(a[aI]=n.id);var l=tw(e.states,aV,a),i=l?tg(t_(l),tb):void 0;i&&(a[aV]=i.id);var s=tw(e.states,aD,a),c=s?tg(t_(s),ty):void 0;return(c&&(a[aD]=c.id),n||i||c)?(0,o._)((0,t._)({},e),{states:e.states.map(e=>tv(e)?e===r&&n?tk(e,n.id):e===l&&i?tk(e,i.id):e===s&&c?tk(e,c.id):e:e)}):e}}function tx(e){if(e){var a={components:[],states:[]},r=!0,t=!1,o=void 0;try{for(var n,l,i=(null!=(n=e.components)?n:[])[Symbol.iterator]();!(r=(l=i.next()).done);r=!0){var s,c,d,u,m,p,h,f,b,y,v,_,g=l.value;g&&a.components.push({id:null!=(m=g.id)?m:"",description:null!=(p=g.description)?p:"",parentId:null!=(h=g.parentID)?h:void 0,name:null!=(f=g.name)?f:"",type:g.type,displayConfig:{hasMultiple:null!=(b=null==(s=g.displayConfig)?void 0:s.hasMultiple)?b:null,inputMode:null!=(y=null==(c=g.displayConfig)?void 0:c.inputMode)?y:null,suffix:null!=(v=null==(d=g.displayConfig)?void 0:d.suffix)?v:null,renderAs:null!=(_=null==(u=g.displayConfig)?void 0:u.renderAs)?_:null}})}}catch(e){t=!0,o=e}finally{try{r||null==i.return||i.return()}finally{if(t)throw o}}var w=!0,k=!1,S=void 0;try{for(var x,A,F=(null!=(x=e.states)?x:[])[Symbol.iterator]();!(w=(A=F.next()).done);w=!0){var C,N,Y=A.value;Y&&("OpenForInputState"===Y.__typename?a.states.push({id:Y.filterId,type:"OpenForInput",defaultSelectedValues:null!=(C=Y.defaultSelectedValues)?C:[],conditions:Y.conditions.map(e=>({filterId:e.filterId,type:e.type,value:e.value})),values:Y.values.map(e=>{var a;return{name:null!=(a=e.name)?a:"",values:e.values.map(e=>{var a,r,t;return{id:e.id,name:null!=(a=e.name)?a:"",description:null!=(r=e.description)?r:void 0,counter:null!=(t=e.counter)?t:void 0}})}})}):"DisabledState"===Y.__typename&&a.states.push({id:Y.filterId,type:"DisabledForInput",hidden:null!=(N=Y.hidden)&&N,conditions:Y.conditions.map(e=>({filterId:e.filterId,type:e.type,value:e.value}))}))}}catch(e){k=!0,S=e}finally{try{w||null==F.return||F.return()}finally{if(k)throw S}}return a}}var tA={desktop:4,tablet:4,mobile:12},tF="[&_div:has(>_[role='combobox'])]:!overflow-visible [&_[role='combobox']:has(input:disabled)]:!bg-background-secondary [&_[role='combobox']:has(input:disabled)]:!border-transparent [&_[role='combobox']:has(input:disabled)_*]:!bg-transparent [&_button.bg-background-primary:disabled]:!bg-background-secondary [&_button.bg-background-primary:disabled]:!border-transparent [&_div:has(>_[role='listbox'])]:!flex [&_div:has(>_[role='listbox'])]:!flex-col [&_div:has(>_[role='listbox'])]:!gap-50 [&_div:has(>_[role='listbox'])]:!bg-background-primary [&_[role='listbox']]:!max-h-[30vh] [&_div:has(>_[role='listbox'])]:!rounded-large [&_div:has(>_[role='listbox'])]:!p-100 [&_div:has(>_[role='listbox'])]:!shadow-[0_22px_13px_0_rgba(0,0,0,0.05),0_10px_10px_0_rgba(0,0,0,0.09)] [&_div:has(>_[role='listbox'])_[role='option']]:!w-full [&_div:has(>_[role='listbox'])_[role='option']]:!cursor-pointer [&_div:has(>_[role='listbox'])_[role='option']]:!rounded-medium [&_div:has(>_[role='listbox'])_[role='option']]:!transition-colors [&_div:has(>_[role='listbox'])_[role='option']:hover]:!bg-background-secondary [&_div:has(>_[role='listbox'])_[role='option'][aria-selected='true']]:!bg-background-secondary [&_div:has(>_[role='listbox'])_[role='option'][data-hovered='true']]:!bg-background-secondary",tC=(0,l.F)()?e=>{var a,r,o,l,s,c,d,u=(0,i.c)(23),m=e.categoryId,p=e.evToolScreen,f=e.onCalculate,b=(0,y.Bd)("home").t,_=(0,v.z1)().trackEvent,g=(0,ta.A)().dispatchHotjarEvent;u[0]!==m||u[1]!==p||u[2]!==b||u[3]!==_?(a=()=>(0,tt.$X)({t:b,categoryId:m,screenName:tm,filterComponentSettings:tS(tx(p)),trackEvent:_,appendCounter:!1,getSearchTotals:tN,getScreenComponents:tY}),u[0]=m,u[1]=p,u[2]=b,u[3]=_,u[4]=a):a=u[4];var w=(0,h._)((0,to.z)(a),1)[0];if(w.hasTag("error"))return null;u[5]!==w.context.appliedFilters?(r=aE(w.context.appliedFilters),u[5]=w.context.appliedFilters,u[6]=r):r=u[6];var k=r;u[7]!==f||u[8]!==k||u[9]!==_?(o=()=>{null!==k&&(aJ(_),null==f||f(k))},u[7]=f,u[8]=k,u[9]=_,u[10]=o):o=u[10];var S=o;return u[11]===Symbol.for("react.memo_cache_sentinel")?(l={SELECT:tA},u[11]=l):l=u[11],u[12]!==g?(s=(e,a,r)=>{"make_start"===e&&g(aU.makeStart),a((0,t._)({},r,aq))},u[12]=g,u[13]=s):s=u[13],u[14]!==S||u[15]!==k||u[16]!==b?(c=(e,a,r)=>{var t=a({fullHeightForSelect:!1,itemLabelClassName:"text-p3 leading-p3",autoSelectIfSingleOption:!0,autoComplete:"one-time-code"});return e.lastItem?(0,n.FD)(n.FK,{children:[t,(0,n.Y)(r,{size:12,className:"w-full",children:(0,n.Y)(aN.$,{variant:"secondary",id:"ev-input-calculate-results",disabled:null===k,onClick:S,"data-testid":"ev-input-calculate",iconTrailing:(0,n.Y)(tr.f,{size:20}),className:"text-base w-full !font-[family-name:inherit] leading-body-small font-medium",children:b("homepage-ev-battery-tool-calculate",null,{fallback:"Calculate range"})})})]}):t},u[14]=S,u[15]=k,u[16]=b,u[17]=c):c=u[17],u[18]!==w.context.components||u[19]!==w.context.machines||u[20]!==s||u[21]!==c?(d=(0,n.Y)("div",{id:"ev-battery-input-card",className:"flex w-full flex-col gap-200 rounded-[36px] border border-border-subtle bg-background-primary p-400 shadow-[0_40px_24px_0_rgba(27,32,34,0.02),0_4px_10px_0_rgba(27,32,34,0.05)]",children:(0,n.Y)(tt.A,{className:tF,components:w.context.components,machines:w.context.machines,intent:"primary",gap:16,labelMode:"floating",sizes:l,trackFilterEvent:s,children:c})}),u[18]=w.context.components,u[19]=w.context.machines,u[20]=s,u[21]=c,u[22]=d):d=u[22],d}:e=>{var a=e.categoryId,r=e.evToolScreen,o=e.onCalculate,l=(0,y.Bd)("home").t,i=(0,v.z1)().trackEvent,s=(0,ta.A)().dispatchHotjarEvent,c=(0,h._)((0,to.z)(()=>(0,tt.$X)({t:l,categoryId:a,screenName:tm,filterComponentSettings:tS(tx(r)),trackEvent:i,appendCounter:!1,getSearchTotals:()=>Promise.resolve(void 0),getScreenComponents:()=>Promise.resolve(void 0)})),1)[0];if(c.hasTag("error"))return null;var d=aE(c.context.appliedFilters),u=()=>{null!==d&&(aJ(i),null==o||o(d))};return(0,n.Y)("div",{id:"ev-battery-input-card",className:"flex w-full flex-col gap-200 rounded-[36px] border border-border-subtle bg-background-primary p-400 shadow-[0_40px_24px_0_rgba(27,32,34,0.02),0_4px_10px_0_rgba(27,32,34,0.05)]",children:(0,n.Y)(tt.A,{className:tF,components:c.context.components,machines:c.context.machines,intent:"primary",gap:16,labelMode:"floating",sizes:{SELECT:tA},trackFilterEvent:(e,a,r)=>{"make_start"===e&&s(aU.makeStart),a((0,t._)({},r,aq))},children:(e,a,r)=>{var t=a({fullHeightForSelect:!1,itemLabelClassName:"text-p3 leading-p3",autoSelectIfSingleOption:!0,autoComplete:"one-time-code"});return e.lastItem?(0,n.FD)(n.FK,{children:[t,(0,n.Y)(r,{size:12,className:"w-full",children:(0,n.Y)(aN.$,{variant:"secondary",id:"ev-input-calculate-results",disabled:null===d,onClick:u,"data-testid":"ev-input-calculate",iconTrailing:(0,n.Y)(tr.f,{size:20}),className:"text-base w-full !font-[family-name:inherit] leading-body-small font-medium",children:l("homepage-ev-battery-tool-calculate",null,{fallback:"Calculate range"})})})]}):t}}
1)})};function tN(){return Promise.resolve(void 0)}function tY(){return Promise.resolve(void 0)}var tI="dismissed_ev_battery_simulator_feedback",tV=()=>{try{return"true"===localStorage.getItem(tI)}catch(e){return!1}};function tD(){var e=(0,h._)((0,W.useState)(tV),2),a=e[0],r=e[1];return{isFeedbackDismissed:a,dismissFeedback:(0,W.useCallback)(()=>{r(!0),(()=>{try{localStorage.setItem(tI,"true")}catch(e){return}})()},[])}}var tz=(0,l.F)()?e=>{var a,r=(0,i.c)(2),t=(0,f._T)(b.BBR),o=null!=e?e:"";r[0]!==o?(a=(0,aF.r4)(o),r[0]=o,r[1]=a):a=r[1];var n=a;return!!t&&n}:e=>{var a=(0,f._T)(b.BBR),r=(0,aF.r4)(null!=e?e:"");return!!a&&r},tE=(0,l.F)()?e=>{var a,r=(0,i.c)(2),t=e.categoryId,o=e.evToolScreen;return tz(t)?(r[0]!==o?(a=(0,n.Y)(tB,{evToolScreen:o}),r[0]=o,r[1]=a):a=r[1],a):null}:e=>{var a=e.categoryId,r=e.evToolScreen;return tz(a)?(0,n.Y)(tB,{evToolScreen:r}):null},tB=(0,l.F)()?e=>{var a,r,t,o,l,s,c,d,u,m,p=(0,i.c)(22),f=e.evToolScreen,b=(0,y.Bd)("home").t,v=aQ(),_=(0,h._)((0,W.useState)(null),2),g=_[0],w=_[1],k=(0,h._)((0,W.useState)(!1),2),S=k[0],x=k[1],A=tD(),F=A.isFeedbackDismissed,C=A.dismissFeedback;p[0]===Symbol.for("react.memo_cache_sentinel")?(a=e=>{w(e),x(!0)},p[0]=a):a=p[0];var N=a;return p[1]===Symbol.for("react.memo_cache_sentinel")?(r=(0,n.Y)("div",{"aria-hidden":"true",className:"mx-auto mt-400 mb-200 h-px w-[256px] bg-border-subtle lg:hidden"}),p[1]=r):r=p[1],p[2]===Symbol.for("react.memo_cache_sentinel")?(t=(0,n.Y)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 overflow-hidden",children:(0,n.Y)("div",{className:"absolute top-1/2 -right-[100px] size-[300px] -translate-y-1/2 rounded-full bg-blue-dark opacity-15 mix-blend-plus-lighter blur-[120px] lg:right-auto lg:left-[calc(50%+208px)] lg:-translate-x-1/2"})}),p[2]=t):t=p[2],p[3]===Symbol.for("react.memo_cache_sentinel")?(o=(0,n.Y)("h2",{className:"text-headline-large leading-headline-large font-medium text-foreground-primary",children:(0,n.Y)(aC.A,{i18nKey:"home:homepage-ev-battery-tool-title",components:{br:(0,n.Y)("br",{})},defaultTrans:"Worth going electric?<br/>Check yourself"})}),p[3]=o):o=p[3],p[4]!==b?(l=b("homepage-ev-battery-tool-subtitle",null,{fallback:"Get a real-world battery simulation."}),p[4]=b,p[5]=l):l=p[5],p[6]!==l?(s=(0,n.FD)("div",{className:"flex flex-col gap-300 lg:min-w-0 lg:flex-1 xl:w-[384px] xl:max-w-[384px] xl:flex-none xl:shrink-0",children:[o,(0,n.Y)("p",{className:"text-base leading-body-base text-foreground-secondary",children:l})]}),p[6]=l,p[7]=s):s=p[7],p[8]!==f?(c=(0,n.Y)("div",{className:"relative w-full shrink-0 overflow-visible lg:w-[600px]",children:(0,n.Y)(tC,{categoryId:G.Wd,evToolScreen:f,onCalculate:N})}),p[8]=f,p[9]=c):c=p[9],p[10]!==s||p[11]!==c?(d=(0,n.FD)("div",{className:"relative mx-auto flex w-full flex-col gap-400 px-300 pt-300 pb-400 lg:flex-row lg:items-center lg:gap-200 lg:px-600 lg:py-600 xl:max-w-[1032px] xl:justify-between xl:gap-400 xl:px-0",children:[s,c]}),p[10]=s,p[11]=c,p[12]=d):d=p[12],p[13]!==C||p[14]!==F||p[15]!==S||p[16]!==g?(u=(0,n.Y)(r6,{isOpen:S,onOpenChange:x,vehicle:g,isFeedbackDismissed:F,onFeedbackDismiss:C}),p[13]=C,p[14]=F,p[15]=S,p[16]=g,p[17]=u):u=p[17],p[18]!==v||p[19]!==d||p[20]!==u?(m=(0,n.FD)("section",{ref:v,id:"ev-battery-tool-section","data-testid":"ev-battery-tool-section",className:"relative w-full bg-gradient-to-t from-background-secondary to-background-primary",children:[r,t,d,u]}),p[18]=v,p[19]=d,p[20]=u,p[21]=m):m=p[21],m}:e=>{var a=e.evToolScreen,r=(0,y.Bd)("home").t,t=aQ(),o=(0,h._)((0,W.useState)(null),2),l=o[0],i=o[1],s=(0,h._)((0,W.useState)(!1),2),c=s[0],d=s[1],u=tD(),m=u.isFeedbackDismissed,p=u.dismissFeedback;return(0,n.FD)("section",{ref:t,id:"ev-battery-tool-section","data-testid":"ev-battery-tool-section",className:"relative w-full bg-gradient-to-t from-background-secondary to-background-primary",children:[(0,n.Y)("div",{"aria-hidden":"true",className:"mx-auto mt-400 mb-200 h-px w-[256px] bg-border-subtle lg:hidden"}),(0,n.Y)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 overflow-hidden",children:(0,n.Y)("div",{className:"absolute top-1/2 -right-[100px] size-[300px] -translate-y-1/2 roun
1ded-full bg-blue-dark opacity-15 mix-blend-plus-lighter blur-[120px] lg:right-auto lg:left-[calc(50%+208px)] lg:-translate-x-1/2"})}),(0,n.FD)("div",{className:"relative mx-auto flex w-full flex-col gap-400 px-300 pt-300 pb-400 lg:flex-row lg:items-center lg:gap-200 lg:px-600 lg:py-600 xl:max-w-[1032px] xl:justify-between xl:gap-400 xl:px-0",children:[(0,n.FD)("div",{className:"flex flex-col gap-300 lg:min-w-0 lg:flex-1 xl:w-[384px] xl:max-w-[384px] xl:flex-none xl:shrink-0",children:[(0,n.Y)("h2",{className:"text-headline-large leading-headline-large font-medium text-foreground-primary",children:(0,n.Y)(aC.A,{i18nKey:"home:homepage-ev-battery-tool-title",components:{br:(0,n.Y)("br",{})},defaultTrans:"Worth going electric?<br/>Check yourself"})}),(0,n.Y)("p",{className:"text-base leading-body-base text-foreground-secondary",children:r("homepage-ev-battery-tool-subtitle",null,{fallback:"Get a real-world battery simulation."})})]}),(0,n.Y)("div",{className:"relative w-full shrink-0 overflow-visible lg:w-[600px]",children:(0,n.Y)(tC,{categoryId:G.Wd,evToolScreen:a,onCalculate:e=>{i(e),d(!0)}})})]}),(0,n.Y)(r6,{isOpen:c,onOpenChange:d,vehicle:l,isFeedbackDismissed:m,onFeedbackDismiss:p})]})},tT=r(78748),tM=r.n(tT),tO=r(687481);function tP(e,a){var r,t=null==(r=e.characteristics.find(e=>e.name===a))?void 0:r.value;return(null==t?void 0:t.trim())||void 0}function tK(e){return e.filter(Boolean).join(" \xb7 ")}function tR(e){var a=function(e){var a,r,t,o,n=null==(r=e.price)||null==(a=r.value)?void 0:a.trim(),l=null==(o=e.price)||null==(t=o.currency)?void 0:t.trim();if(n&&l)return"".concat(n," ").concat(l)}(e),r=tP(e,"mileage"),t=tP(e,"year")||tP(e,"first_registration_year");return{price:a,rest:tK([r,t]),parameters:tK([a,r,t])}}function tL(e){var a,r=(null==(a=e.location)?void 0:a.trim())||void 0;return(0,o._)((0,t._)({},tR(e)),{location:r})}var tH=(0,l.F)()?function(e){var a,r,t=(0,i.c)(7),o=e.price,l=e.rest,s=e.parameters,c=e.standoutPrice,d=void 0!==c&&c;return s?(t[0]!==s||t[1]!==o||t[2]!==l||t[3]!==d?(a=d&&o?(0,n.FD)(n.FK,{children:[(0,n.Y)("span",{className:"font-turbo-medium text-turbo-content-default","data-testid":"homepage-card-standout-price",children:o}),l?" \xb7 ".concat(l):null]}):s,t[0]=s,t[1]=o,t[2]=l,t[3]=d,t[4]=a):a=t[4],t[5]!==a?(r=(0,n.Y)("p",{className:tO._O,translate:"no",children:a}),t[5]=a,t[6]=r):r=t[6],r):null}:function(e){var a=e.price,r=e.rest,t=e.parameters,o=e.standoutPrice;return t?(0,n.Y)("p",{className:tO._O,translate:"no",children:void 0!==o&&o&&a?(0,n.FD)(n.FK,{children:[(0,n.Y)("span",{className:"font-turbo-medium text-turbo-content-default","data-testid":"homepage-card-standout-price",children:a}),r?" \xb7 ".concat(r):null]}):t}):null},tG="M11.2705 1.74969C12.2402 1.74969 13.2081 2.10675 13.9707 2.81317L14.1211 2.95966L14.3144 3.16962C15.2418 4.22625 15.5386 5.41035 15.373 6.60321C15.2026 7.83033 14.5529 9.01104 13.7549 10.0573C12.1568 12.1524 9.76332 13.9642 8.42772 14.8913C8.17069 15.0696 7.82931 15.0695 7.57226 14.8913C6.23637 13.964 3.842 12.1523 2.24413 10.0573C1.4462 9.01103 0.797117 7.82937 0.626943 6.60223C0.450691 5.3301 0.799487 4.0679 1.8789 2.95966C2.66173 2.15597 3.6947 1.74989 4.72851 1.74969C5.76299 1.74969 6.7958 2.15621 7.57909 2.95966L7.99999 3.3913L8.42089 2.95966C9.20376 2.15598 10.2367 1.74982 11.2705 1.74969ZM11.2705 3.24969C10.631 3.24982 9.98852 3.49997 9.49511 4.00653L7.99999 5.54169L7.4619 4.98993L6.50487 4.00653C6.01077 3.49977 5.36844 3.24969 4.72851 3.24969C4.08905 3.24989 3.44648 3.50003 2.95312 4.00653C2.19949 4.78045 1.99919 5.57935 2.11229 6.39618C2.23186 7.25837 2.712 8.19686 3.43749 9.14813C4.7384 10.8536 6.67058 12.3984 7.99901 13.3542C9.32738 12.3986 11.2611 10.8543 12.5625 9.14813C13.2882 8.19672 13.768 7.25849 13.8877 6.39618C14.0009 5.57911 13.7998 4.78055 13.0459 4.00653C12.5518 3.50032 11.9101 3.24969 11.2705 3.24969Z",tW="M11.2705 1.74969C12.2402 1.74969 13.2081 2.10675 13.9707 2.81317L14.1211 2.95966L14.3144 3.16962C15.2418 4.22625 15.5386 5.41035 15.373 6.60321C15.2026 7.83033 14.5529 9.01104 13.7549 10.0573C12.1568 12.1524 9.76332 13.9642 8.42772 14.8913C8.17069 15.0696 7.82931 15.0695 7.57226 14.8913C6.23637 13.964 3.842 12.1523 2.24413 10.0573C1.4462 9.01103 0.797117 7.82937 0.626943 6.60223C0.450691 5.3301 0.799487 4.0679 1.8789 2.95966C2.66173 2.15597 3.6947 1.74989 4.72851 1.74969C5.76299 1.74969 6.7958 2.15621 7.57909 2.95966L7.99999 3.3913L8.42089 2.95966C9.20376 2.15598 10.2367 1.74982 11.2705 1.74969Z",tj=(0,l.F)()?e=>{var a,r,l=(0,i.c)(3);return l[0]===Symbol.for("react.memo_cache_sentinel")?(a=(0,n.Y)("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:tG}),l[0]=a):a=l[0],l[1]!==e?(r=(0,n.Y)("svg",(0,o._)((0,t._)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"none",width:16,height:16,"aria-hidden":!0},e),{children:a})),l[1]=e,l[2]=r):r=l[2],r}:e=>(0,n.Y)("svg",(0,o._)((0,t._)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"none",width:16,height:16,"aria-hidden":!0},e),{children:(0,n.Y)("path",{fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd",d:tG})})),tU=(0,l.F)()?e=>{var a,r,l=(0,i.c)(3);return l[0]===Symbol.for("react.memo_cache_sentinel")?(a=(0,n.Y)("path",{fill:"currentColor",d:tW}),l[0]=a):a=l[0],l[1]!==e?(r=(0,n.Y)("svg",(0,o._)((0,t._)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"none",width:16,height:16,"aria-hidden":!0},e),{children:a})),l[1]=e,l[2]=r):r=l[2],r}:e=>(0,n.Y)("svg",(0,o._)((0,t._)({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"none",width:16,height:16,"aria-hidden":!0},e),{children:(0,n.Y)("path",{fill:"currentColor",d:tW})})),tq=(0,l.F)()?function(e){var a,r,t,o,l,s,c=(0,i.c)(16),d=e.adId,u=e.className,m=(0,ez.r)();c[0]!==d||c[1]!==m?(a=null!=(r=null==m?void 0:m.inFavorites(d))&&r,c[0]=d,c[1]=m,c[2]=a):a=c[2];var p=a,h=p?"Remove from favourites":"Add to favourites",f="promoted-card-favourite-".concat(d);return c[3]!==u?(t=(0,g.A)("!absolute",tO.RD,tO.Be,"!min-h-[28px] !min-w-[28px] !py-0 !rounded-turbo-full","[&_.turbo-button-icon-only]:!size-[16px]",u),c[3]=u,c[4]=t):t=c[4],c[5]!==d||c[6]!==m?(o=()=>{null==m||m.toggleFavoriteAd(d)},c[5]=d,c[6]=m,c[7]=o):o=c[7],c[8]!==p?(l=p?(0,n.Y)(tU,{}):(0,n.Y)(tj,{}),c[8]=p,c[9]=l):l=c[9],c[10]!==h||c[11]!==f||c[12]!==t||c[13]!==o||c[14]!==l?(s=(0,n.Y)(aN.$,{layout:"icon-only",variant:"ghost-inverse",size:"small","aria-label":h,"data-testid":f,className:t,onClick:o,icon:l}),c[10]=h,c[11]=f,c[12]=t,c[13]=o,c[14]=l,c[15]=s):s=c[15],s}:function(e){var a,r=e.adId,t=e.className,o=(0,ez.r)(),l=null!=(a=null==o?void 0:o.inFavorites(r))&&a;return(0,n.Y)(aN.$,{layout:"icon-only",variant:"ghost-inverse",size:"small","aria-label":l?"Remove from favourites":"Add to favourites","data-testid":"promoted-card-favourite-".concat(r),className:(0,g.A)("!absolute",tO.RD,tO.Be,"!min-h-[28px] !min-w-[28px] !py-0 !rounded-turbo-full","[&_.turbo-button-icon-only]:!size-[16px]",t),onClick:()=>{null==o||o.toggleFavoriteAd(r)},icon:l?(0,n.Y)(tU,{}):(0,n.Y)(tj,{})})}
1,tX=r(526546),t$=(0,l.F)()?e=>{var a,r,t,o=(0,i.c)(5),l=e.className;return o[0]!==l?(a=(0,g.A)("flex h-[-webkit-fill-available] min-h-[243px] w-full flex-[2_1] basis-[243px] items-center justify-center rounded-t-xs object-cover",l),o[0]=l,o[1]=a):a=o[1],o[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,n.Y)(tX.A,{className:"text-background-brand-tertiary",size:56}),o[2]=r):r=o[2],o[3]!==a?(t=(0,n.Y)("div",{"data-testid":"advert-no-image-block",className:a,children:r}),o[3]=a,o[4]=t):t=o[4],t}:e=>{var a=e.className;return(0,n.Y)("div",{"data-testid":"advert-no-image-block",className:(0,g.A)("flex h-[-webkit-fill-available] min-h-[243px] w-full flex-[2_1] basis-[243px] items-center justify-center rounded-t-xs object-cover",a),children:(0,n.Y)(tX.A,{className:"text-background-brand-tertiary",size:56})})},tQ=r(129100),tJ=r(939548),tZ="bg-[rgba(2,3,9,0.24)]",t0=(0,g.A)(tO.Zc,tO.o6,"w-full"),t1=(0,g.A)(t0,tO.In),t2=(0,g.A)(t0,tO.zJ,"rounded-turbo-l"),t3={duration:25,loop:!0,align:"start",containScroll:"trimSnaps",dragFree:!1},t5="pointer-events-none absolute top-1/2 z-10 -translate-y-1/2 max-md:hidden",t4="pointer-events-auto relative h-[6px] shrink-0 cursor-pointer appearance-none overflow-hidden rounded-full border-0 p-0 outline-none transition-[width] duration-300 ease-out motion-reduce:transition-none",t8=(0,g.A)("!min-h-[32px] !min-w-[32px] !py-0 !rounded-turbo-full !border !bg-[rgba(255,255,255,0.9)] border-[rgba(255,255,255,0.7)] backdrop-blur-[3.5px] [&_.turbo-button-icon-only]:!size-[16px]","pointer-events-none opacity-0 transition-opacity duration-150 data-[focus-visible]:pointer-events-auto data-[focus-visible]:opacity-100 md:group-hover:pointer-events-auto md:group-hover:opacity-100");function t6(e,a){return Array.from({length:e>=4?3:2*(3===e)},(r,t)=>(a+t+1)%e)}function t9(e,a){return(0,g.A)("rounded-[6px]",0===e&&"rounded-bl-turbo-l",e===a-1&&"rounded-br-turbo-l")}function t7(){var e,a;return null==(e=(a=window).matchMedia)?void 0:e.call(a,"(prefers-reduced-motion: reduce)")}function oe(e){var a=t7();return a?(a.addEventListener("change",e),()=>{a.removeEventListener("change",e)}):()=>{}}function oa(){var e,a;return null!=(a=null==(e=t7())?void 0:e.matches)&&a}var or=(0,l.F)()?function(){return(0,W.useSyncExternalStore)(oe,oa,ot)}:function(){return(0,W.useSyncExternalStore)(oe,oa,()=>!1)};function ot(){return!1}function oo(e){try{return e.matches(":focus-visible")}catch(e){return!0}}var on=(0,l.F)()?function(e){var a,r,t,o,l,s,c,d,u,m,p,f,b,_,w,k,S,x,A,F,C,N,Y,I,V,D,z,E,B=(0,i.c)(52),T=e.photos,M=e.title,O=e.adLink,P=e.onCardClick,R=e.overlays,L=e.footer,H=(0,y.Bd)("home").t,G=(0,v.z1)().trackEvent,j=(0,h._)((0,tJ.A)(t3),2),U=j[0],q=j[1],X=or(),$=T.slice(0,4),Q=$.length,J=(0,h._)((0,W.useState)(0),2),Z=J[0],ee=J[1],ea=(0,h._)((0,W.useState)(!1),2),er=ea[0],et=ea[1],eo=(0,h._)((0,W.useState)(!0),2),en=eo[0],el=eo[1],ei=(0,h._)((0,W.useState)(!1),2),es=ei[0],ec=ei[1],ed=(0,W.useRef)(null),eu=(0,W.useRef)(0),em=(0,W.useRef)(null),ep=(0,W.useRef)(!1),eh=(0,W.useRef)(!1),ef=(0,W.useRef)(!1),eb=(0,W.useRef)(0),ey=(0,W.useRef)(0),ev=(0,W.useRef)(!1);B[0]!==es?(a=()=>{ef.current=es},r=[es],B[0]=es,B[1]=a,B[2]=r):(a=B[1],r=B[2]),(0,W.useEffect)(a,r),B[3]!==Z?(t=()=>{eb.current=Z,eu.current=0,em.current&&(em.current.style.transform="scaleX(0)")},o=[Z],B[3]=Z,B[4]=t,B[5]=o):(t=B[4],o=B[5]),(0,W.useEffect)(t,o),B[6]!==G?(l=e=>{var a=e.selectedScrollSnap(),r=ey.current;ey.current=a,ee(a),et(e.canScrollPrev()),el(e.canScrollNext()),a!==r&&ev.current&&(ev.current=!1,G("gallery_swipe","click",{touch_point_button:"day_offer",touch_point_page:"home"}))},B[6]=G,B[7]=l):l=B[7];var e_=l;B[8]!==q||B[9]!==e_?(s=()=>{if(q)return q.on("select",e_),q.on("reInit",e_),()=>{q.off("select",e_),q.off("reInit",e_)}},c=[q,e_],B[8]=q,B[9]=e_,B[10]=s,B[11]=c):(s=B[10],c=B[11]),(0,W.useEffect)(s,c),B[12]===Symbol.for("react.memo_cache_sentinel")?(d=()=>{ev.current=!0,eu.current=0,ec(!0),ed.current&&clearTimeout(ed.current),ed.current=setTimeout(()=>{ec(!1)},8e3)},B[12]=d):d=B[12];var eg=d;B[13]===Symbol.for("react.memo_cache_sentinel")?(m=()=>()=>{ed.current&&clearTimeout(ed.current)},u=[],B[13]=u,B[14]=m):(u=B[13],m=B[14]),(0,W.useEffect)(m,u),B[15]!==q||B[16]!==X||B[17]!==Q?(p=()=>
1{if(q&&!(Q<=1)&&!X){var e=0,a=null,r=t=>{var o=null===a?0:t-a;if(a=t,!(ep.current||eh.current||ef.current)&&(eu.current=eu.current+o,eu.current>=5e3&&(eu.current=0,q.scrollNext())),em.current){var n=Math.min(eu.current/5e3,1);em.current.style.transform="scaleX(".concat(n,")")}e=requestAnimationFrame(r)};return e=requestAnimationFrame(r),()=>cancelAnimationFrame(e)}},f=[q,Q,X],B[15]=q,B[16]=X,B[17]=Q,B[18]=p,B[19]=f):(p=B[18],f=B[19]),(0,W.useEffect)(p,f),B[20]!==q?(b=()=>{if(q)return q.on("pointerDown",eg),()=>{q.off("pointerDown",eg)}},_=[q,eg],B[20]=q,B[21]=b,B[22]=_):(b=B[21],_=B[22]),(0,W.useEffect)(b,_),B[23]===Symbol.for("react.memo_cache_sentinel")?(w=()=>{ep.current=!0},B[23]=w):w=B[23];var ew=w;B[24]===Symbol.for("react.memo_cache_sentinel")?(k=()=>{ep.current=!1},B[24]=k):k=B[24];var ek=k;B[25]===Symbol.for("react.memo_cache_sentinel")?(S=e=>{oo(e.target)&&(eh.current=!0)},B[25]=S):S=B[25];var eS=S;B[26]===Symbol.for("react.memo_cache_sentinel")?(x=e=>{e.currentTarget.contains(e.relatedTarget)||(eh.current=!1)},B[26]=x):x=B[26];var ex=x;B[27]!==q?(A=e=>a=>{a.preventDefault(),a.stopPropagation(),eg(),null==q||q.scrollTo(e)},B[27]=q,B[28]=A):A=B[28];var eA=A;B[29]!==q?(F=()=>{eg(),null==q||q.scrollPrev()},B[29]=q,B[30]=F):F=B[30];var eF=F;B[31]!==q?(C=()=>{eg(),null==q||q.scrollNext()},B[31]=q,B[32]=C):C=B[32];var eC=C,eN=(0,W.useRef)(null);B[33]===Symbol.for("react.memo_cache_sentinel")?(N=e=>{eN.current={x:e.clientX,y:e.clientY}},B[33]=N):N=B[33];var eY=N;B[34]===Symbol.for("react.memo_cache_sentinel")?(Y=e=>{var a=eN.current;a&&Math.abs(e.clientX-a.x)+Math.abs(e.clientY-a.y)>10&&(e.preventDefault(),e.stopPropagation())},B[34]=Y):Y=B[34];var eI=Y,eV=t6(Q,Z),eD=!es&&!X;return B[35]===Symbol.for("react.memo_cache_sentinel")?(I=(0,g.A)("group",t1,tO.Lz),B[35]=I):I=B[35],B[36]!==Z||B[37]!==M?(V=(e,a)=>(0,n.Y)("div",{className:"group/image relative h-full min-h-0 min-w-0 shrink-0 grow-0 basis-full overflow-hidden",children:(0,n.Y)("img",{src:ej(e,732,549),alt:a===Z?M:"",loading:"lazy","data-testid":"ad-image",className:(0,g.A)(tO.OI,tO.Bk)})},"".concat(e,"-").concat(a)),B[36]=Z,B[37]=M,B[38]=V):V=B[38],B[39]!==er||B[40]!==eF||B[41]!==H?(D=er?(0,n.Y)("span",{className:(0,g.A)(t5,"left-[8px]"),children:(0,n.Y)(aN.$,{layout:"icon-only",variant:"ghost",size:"small","aria-label":H("home-gallery-previous-photo",null,{fallback:"Previous photo"}),"data-testid":"todays-pick-gallery-prev",className:t8,onClick:eF,icon:(0,n.Y)(tQ.A,{size:16})})}):null,B[39]=er,B[40]=eF,B[41]=H,B[42]=D):D=B[42],B[43]!==en||B[44]!==eC||B[45]!==H?(z=en?(0,n.Y)("span",{className:(0,g.A)(t5,"right-[8px]"),children:(0,n.Y)(aN.$,{layout:"icon-only",variant:"ghost",size:"small","aria-label":H("home-gallery-next-photo",null,{fallback:"Next photo"}),"data-testid":"todays-pick-gallery-next",className:t8,onClick:eC,icon:(0,n.Y)(tr.f,{size:16})})}):null,B[43]=en,B[44]=eC,B[45]=H,B[46]=z):z=B[46],B[47]!==O||B[48]!==L||B[49]!==P||B[50]!==M?(E=(0,n.Y)(K(),{href:O,"aria-label":M,"data-testid":"ad-link",className:tO.I9,onClick:P,children:L}),B[47]=O,B[48]=L,B[49]=P,B[50]=M,B[51]=E):E=B[51],(0,n.FD)("div",{className:"relative flex min-h-0 min-w-0 flex-1 flex-col md:h-full",onMouseEnter:ew,onMouseLeave:ek,onFocus:eS,onBlur:ex,children:[(0,n.FD)("div",{className:tO.xD,"data-testid":"todays-pick-images-grid",children:[(0,n.FD)("div",{className:I,"data-testid":"todays-pick-gallery-frame",children:[(0,n.Y)(K(),{href:O,"aria-hidden":!0,tabIndex:-1,className:"block h-full min-h-0",onClick:P,children:(0,n.Y)("div",{ref:U,className:"h-full min-h-0 overflow-hidden rounded-[inherit]","data-testid":"todays-pick-gallery",onPointerDownCapture:eY,onClickCapture:eI,children:(0,n.Y)("div",{className:"flex h-full min-h-0 touch-pan-y",children:$.map(V)})})}),R,D,z,(0,n.Y)("div",{className:"pointer-events-none absolute inset-x-0 bottom-[10px] flex items-center justify-center gap-[3px]","data-testid":"todays-pick-gallery-dots",children:$.map((e,a)=>{var r=a===Z,t=r&&eD;return(0,n.Y)("button",{type:"button","aria-label":H("home-gallery-go-to-photo",null,{fallback:"Go to photo"}),"aria-current":r||void 0,className:(0,g.A)(t4,t?"w-[32px]":"w-[6px]",t?tZ:r?"bg-[#fff]":tO.Fl),onClick:eA(a),children:t?(0,n.Y)("span",{ref:em,"data-testid":"todays-pick-gallery-timer",className:"absolute inset-0 block w-full origin-left rounded-full bg-[#fff]",style:{transform:"scaleX(0)"}}):null},"dot-".concat(e,"-").concat(a))})})]}
1),2===eV.length?(0,n.Y)("div",{className:(0,g.A)("col-span-3 row-start-2 grid min-h-0 grid-cols-2",tO.YS),"data-testid":"todays-pick-gallery-thumbnails",children:eV.map((e,a)=>{var r;return(0,n.Y)("button",{type:"button","aria-label":H("home-gallery-view-photo",null,{fallback:"View photo"}),"data-testid":"todays-pick-gallery-thumbnail",className:(0,g.A)(tO.Zc,tO.o6,"group/image z-10 min-w-0 cursor-pointer border-0 p-0 outline-none md:h-full",t9(a,eV.length)),onClick:eA(e),children:(0,n.Y)("img",{src:ej(null!=(r=$[e])?r:"",360,288),alt:"","aria-hidden":!0,loading:"lazy",className:(0,g.A)(tO.OI,tO.Bk)})},"thumb-".concat($[e],"-").concat(e))})}):eV.map((e,a)=>{var r;return(0,n.Y)("button",{type:"button","aria-label":H("home-gallery-view-photo",null,{fallback:"View photo"}),"data-testid":"todays-pick-gallery-thumbnail",className:(0,g.A)(tO.Zc,tO.o6,"group/image z-10 min-w-0 cursor-pointer border-0 p-0 outline-none",tO.Fg,0===a&&"col-start-1",1===a&&"col-start-2",2===a&&"col-start-3",t9(a,eV.length)),onClick:eA(e),children:(0,n.Y)("img",{src:ej(null!=(r=$[e])?r:"",360,288),alt:"","aria-hidden":!0,loading:"lazy",className:(0,g.A)(tO.OI,tO.Bk)})},"thumb-".concat($[e],"-").concat(e))})]}),E]})}:function(e){var a=e.photos,r=e.title,t=e.adLink,o=e.onCardClick,l=e.overlays,i=e.footer,s=(0,y.Bd)("home").t,c=(0,v.z1)().trackEvent,d=(0,h._)((0,tJ.A)(t3),2),u=d[0],m=d[1],p=or(),f=a.slice(0,4),b=f.length,_=(0,h._)((0,W.useState)(0),2),w=_[0],k=_[1],S=(0,h._)((0,W.useState)(!1),2),x=S[0],A=S[1],F=(0,h._)((0,W.useState)(!0),2),C=F[0],N=F[1],Y=(0,h._)((0,W.useState)(!1),2),I=Y[0],V=Y[1],D=(0,W.useRef)(null),z=(0,W.useRef)(0),E=(0,W.useRef)(null),B=(0,W.useRef)(!1),T=(0,W.useRef)(!1),M=(0,W.useRef)(!1),O=(0,W.useRef)(0),P=(0,W.useRef)(0),R=(0,W.useRef)(!1);(0,W.useEffect)(()=>{M.current=I},[I]),(0,W.useEffect)(()=>{O.current=w,z.current=0,E.current&&(E.current.style.transform="scaleX(0)")},[w]);var L=(0,W.useCallback)(e=>{var a=e.selectedScrollSnap(),r=P.current;P.current=a,k(a),A(e.canScrollPrev()),N(e.canScrollNext()),a!==r&&R.current&&(R.current=!1,c("gallery_swipe","click",{touch_point_button:"day_offer",touch_point_page:"home"}))},[c]);(0,W.useEffect)(()=>{if(m)return m.on("select",L),m.on("reInit",L),()=>{m.off("select",L),m.off("reInit",L)}},[m,L]);var H=(0,W.useCallback)(()=>{R.current=!0,z.current=0,V(!0),D.current&&clearTimeout(D.current),D.current=setTimeout(()=>{V(!1)},8e3)},[]);(0,W.useEffect)(()=>()=>{D.current&&clearTimeout(D.current)},[]),(0,W.useEffect)(()=>{if(m&&!(b<=1)&&!p){var e=0,a=null,r=t=>{var o=null===a?0:t-a;if(a=t,!(B.current||T.current||M.current)&&(z.current+=o,z.current>=5e3&&(z.current=0,m.scrollNext())),E.current){var n=Math.min(z.current/5e3,1);E.current.style.transform="scaleX(".concat(n,")")}e=requestAnimationFrame(r)};return e=requestAnimationFrame(r),()=>cancelAnimationFrame(e)}},[m,b,p]),(0,W.useEffect)(()=>{if(m)return m.on("pointerDown",H),()=>{m.off("pointerDown",H)}},[m,H]);var G=(0,W.useCallback)(()=>{B.current=!0},[]),j=(0,W.useCallback)(()=>{B.current=!1},[]),U=(0,W.useCallback)(e=>{oo(e.target)&&(T.current=!0)},[]),q=(0,W.useCallback)(e=>{e.currentTarget.contains(e.relatedTarget)||(T.current=!1)},[]),X=(0,W.useCallback)(e=>a=>{a.preventDefault(),a.stopPropagation(),H(),null==m||m.scrollTo(e)},[m,H]),$=(0,W.useCallback)(()=>{H(),null==m||m.scrollPrev()},[m,H]),Q=(0,W.useCallback)(()=>{H(),null==m||m.scrollNext()},[m,H]),J=(0,W.useRef)(null),Z=(0,W.useCallback)(e=>{J.current={x:e.clientX,y:e.clientY}},[]),ee=(0,W.useCallback)(e=>{var a=J.current;a&&Math.abs(e.clientX-a.x)+Math.abs(e.clientY-a.y)>10&&(e.preventDefault(),e.stopPropagation())},[]),ea=t6(b,w),er=!I&&!p;return(0,n.FD)("div",{className:"relative flex min-h-0 min-w-0 flex-1 flex-col md:h-full",onMouseEnter:G,onMouseLeave:j,onFocus:U,onBlur:q,children:[(0,n.FD)("div",{className:tO.xD,"data-testid":"todays-pick-images-grid",children:[(0,n.FD)("div",{className:(0,g.A)("group",t1,tO.Lz),"data-testid":"todays-pick-gallery-frame",children:[(0,n.Y)(K(),{href:t,"aria-hidden":!0,tabIndex:-1,className:"block h-full min-h-0",onClick:o,children:(0,n.Y)("div",{ref:u,className:"h-full min-h-0 overflow-hidden rounded-[inherit]","data-testid":"todays-pick-gallery",onPointerDownCapture:Z,onClickCapture:ee,children:(0,n.Y)("div",{className:"flex h-full min-h-0 touch-pan-y",children:f.map((e,a)=>(0,n.Y)("div",{className:"group/image relative h-full min-h-0 min-w-0 shrink-0 grow-0 basis-full overflow-hidden",children:(0,n.Y)("img",{src:ej(e,732,549),alt:a===w?r:"",loading:"lazy","data-testid":"ad-image",className:(0,g.A)(tO.OI,tO.Bk)})},"".concat(e,"-").concat(a)))})})}),l,x?(0,n.Y)("span",{className:(0,g.A)(t5,"left-[8px]"),children:(0,n.Y)(aN.$,{layout:"icon-only",variant:"ghost",size:"small","aria-label":s("home-gallery-previous-photo",null,{fallback:"Previous photo"}),"data-testid":"todays-pick-gallery-prev",className:t8,onClick:$,icon:(0,n.Y)(tQ.A,{size:16})})}):null,C?(0,n.Y)("span",{className:(0,g.A)(t5,"right-[8px]"),children:(0,n.Y)(aN.$,{layout:"icon-only",variant:"ghost",size:"small","aria-label":s("home-gallery-next-photo",null,{fallback:"Next photo"}),"data-testid":"todays-pick-gallery-next",className:t8,onClick:Q,icon:(0,n.Y)(tr.f,{size:16})})}):null,(0,n.Y)("div",{className:"pointer-events-none absolute inset-x-0 bottom-[
110px] flex items-center justify-center gap-[3px]","data-testid":"todays-pick-gallery-dots",children:f.map((e,a)=>{var r=a===w,t=r&&er;return(0,n.Y)("button",{type:"button","aria-label":s("home-gallery-go-to-photo",null,{fallback:"Go to photo"}),"aria-current":r||void 0,className:(0,g.A)(t4,t?"w-[32px]":"w-[6px]",t?tZ:r?"bg-[#fff]":tO.Fl),onClick:X(a),children:t?(0,n.Y)("span",{ref:E,"data-testid":"todays-pick-gallery-timer",className:"absolute inset-0 block w-full origin-left rounded-full bg-[#fff]",style:{transform:"scaleX(0)"}}):null},"dot-".concat(e,"-").concat(a))})})]}),2===ea.length?(0,n.Y)("div",{className:(0,g.A)("col-span-3 row-start-2 grid min-h-0 grid-cols-2",tO.YS),"data-testid":"todays-pick-gallery-thumbnails",children:ea.map((e,a)=>{var r;return(0,n.Y)("button",{type:"button","aria-label":s("home-gallery-view-photo",null,{fallback:"View photo"}),"data-testid":"todays-pick-gallery-thumbnail",className:(0,g.A)(tO.Zc,tO.o6,"group/image z-10 min-w-0 cursor-pointer border-0 p-0 outline-none md:h-full",t9(a,ea.length)),onClick:X(e),children:(0,n.Y)("img",{src:ej(null!=(r=f[e])?r:"",360,288),alt:"","aria-hidden":!0,loading:"lazy",className:(0,g.A)(tO.OI,tO.Bk)})},"thumb-".concat(f[e],"-").concat(e))})}):ea.map((e,a)=>{var r;return(0,n.Y)("button",{type:"button","aria-label":s("home-gallery-view-photo",null,{fallback:"View photo"}),"data-testid":"todays-pick-gallery-thumbnail",className:(0,g.A)(tO.Zc,tO.o6,"group/image z-10 min-w-0 cursor-pointer border-0 p-0 outline-none",tO.Fg,0===a&&"col-start-1",1===a&&"col-start-2",2===a&&"col-start-3",t9(a,ea.length)),onClick:X(e),children:(0,n.Y)("img",{src:ej(null!=(r=f[e])?r:"",360,288),alt:"","aria-hidden":!0,loading:"lazy",className:(0,g.A)(tO.OI,tO.Bk)})},"thumb-".concat(f[e],"-").concat(e))})]}),(0,n.Y)(K(),{href:t,"aria-label":r,"data-testid":"ad-link",className:tO.I9,onClick:o,children:i})]})},ol=(0,l.F)()?function(e){var a,r,l,s,c,d,u,m,p,h,f,b,v,w,k,S,x,A,F=(0,i.c)(45),C=e.ad,N=e.onClick,Y=e.className,I=e.isStandoutPrice,V=(0,_._)(e,["ad","onClick","className","isStandoutPrice"]),D=void 0!==I&&I,z=(0,y.Bd)("home").t;if(!C)return null;F[0]!==C?(a=tR(C),F[0]=C,F[1]=a):a=F[1];var E=a;F[2]!==C.photos?(r=null!=(l=C.photos)?l:[],F[2]=C.photos,F[3]=r):r=F[3];var B=r,T=B.length>=3;F[4]===Symbol.for("react.memo_cache_sentinel")?(s=(0,g.A)("pointer-events-none absolute",tO.Bd),c=(0,g.A)("inline-flex min-h-[26px] items-center rounded-turbo-full px-turbo-8 py-turbo-4 text-turbo-footnote font-turbo-medium tracking-[0.3px] text-turbo-content-default",tO.T8),F[4]=s,F[5]=c):(s=F[4],c=F[5]),F[6]!==z?(d=z("home-todays-pick-badge",null,{fallback:"Today's Pick"}),F[6]=z,F[7]=d):d=F[7],F[8]!==d?(u=(0,n.Y)("div",{className:s,children:(0,n.Y)("span",{className:c,children:d})}),F[8]=d,F[9]=u):u=F[9],F[10]!==C.id?(m=(0,n.Y)(tq,{adId:C.id}),F[10]=C.id,F[11]=m):m=F[11],F[12]!==u||F[13]!==m?(p=(0,n.FD)(n.FK,{children:[u,m]}),F[12]=u,F[13]=m,F[14]=p):p=F[14];var M=p;F[15]===Symbol.for("react.memo_cache_sentinel")?(h=(0,g.A)("flex min-w-0 flex-col",tO.YS),F[15]=h):h=F[15],F[16]===Symbol.for("react.memo_cache_sentinel")?(f=(0,g.A)("line-clamp-2 lg:line-clamp-1",tO.Sn),F[16]=f):f=F[16],F[17]!==C.title?(b=(0,n.Y)("p",{id:"todays-pick-title",className:f,children:C.title}),F[17]=C.title,F[18]=b):b=F[18],F[19]!==D||F[20]!==E.parameters||F[21]!==E.price||F[22]!==E.rest?(v=(0,n.Y)(tH,{price:E.price,rest:E.rest,parameters:E.parameters,standoutPrice:D}),F[19]=D,F[20]=E.parameters,F[21]=E.price,F[22]=E.rest,F[23]=v):v=F[23],F[24]!==b||F[25]!==v?(w=(0,n.FD)("div",{className:h,children:[b,v]}),F[24]=b,F[25]=v,F[26]=w):w=F[26];var O=w;F[27]!==C||F[28]!==N?(k=()=>{N(C)},F[27]=C,F[28]=N,F[29]=k):k=F[29];var P=k;F[30]!==Y?(S=(0,g.A)("flex h-full min-h-0 min-w-0 flex-1 flex-col",Y),F[30]=Y,F[31]=S):S=F[31];var R=tM()(V,"variant","t","className");return F[32]!==C.image||F[33]!==C.link||F[34]!==C.title||F[35]!==O||F[36]!==P||F[37]!==T||F[38]!==M||F[39]!==B?(x=T?(0,n.Y)(on,{photos:B,title:C.title,adLink:C.link,onCardClick:P,overlays:M,footer:O}):(0,n.FD)("div",{className:"group/card relative flex min-h-0 min-w-0 flex-col md:h-full md:flex-1",children:[(0,n.FD)("div",{className:t2,children:[(0,n.Y)(K(),{href:C.link,"aria-hidden":!0,tabIndex:-1,
1className:"block h-full",onClick:P,children:C.image?(0,n.Y)("img",{src:C.image,alt:C.title,loading:"lazy","data-testid":"ad-image",className:(0,g.A)(tO.OI,tO.Xl)}):(0,n.Y)("div",{className:"h-full",children:(0,n.Y)(t$,{className:"h-full min-h-0"})})}),M]}),(0,n.Y)(K(),{href:C.link,"aria-label":C.title,"data-testid":"ad-link",className:tO.I9,onClick:P,children:O})]}),F[32]=C.image,F[33]=C.link,F[34]=C.title,F[35]=O,F[36]=P,F[37]=T,F[38]=M,F[39]=B,F[40]=x):x=F[40],F[41]!==S||F[42]!==R||F[43]!==x?(A=(0,n.Y)("section",(0,o._)((0,t._)({"aria-labelledby":"todays-pick-title","data-testid":"todays-pick-spotlight",className:S},R),{children:x})),F[41]=S,F[42]=R,F[43]=x,F[44]=A):A=F[44],A}:function(e){var a,r=e.ad,l=e.onClick,i=e.className,s=e.isStandoutPrice,c=(0,_._)(e,["ad","onClick","className","isStandoutPrice"]),d=(0,y.Bd)("home").t;if(!r)return null;var u=tR(r),m=null!=(a=r.photos)?a:[],p=m.length>=3,h=(0,n.FD)(n.FK,{children:[(0,n.Y)("div",{className:(0,g.A)("pointer-events-none absolute",tO.Bd),children:(0,n.Y)("span",{className:(0,g.A)("inline-flex min-h-[26px] items-center rounded-turbo-full px-turbo-8 py-turbo-4 text-turbo-footnote font-turbo-medium tracking-[0.3px] text-turbo-content-default",tO.T8),children:d("home-todays-pick-badge",null,{fallback:"Today's Pick"})})}),(0,n.Y)(tq,{adId:r.id})]}),f=(0,n.FD)("div",{className:(0,g.A)("flex min-w-0 flex-col",tO.YS),children:[(0,n.Y)("p",{id:"todays-pick-title",className:(0,g.A)("line-clamp-2 lg:line-clamp-1",tO.Sn),children:r.title}),(0,n.Y)(tH,{price:u.price,rest:u.rest,parameters:u.parameters,standoutPrice:void 0!==s&&s})]}),b=()=>{l(r)};return(0,n.Y)("section",(0,o._)((0,t._)({"aria-labelledby":"todays-pick-title","data-testid":"todays-pick-spotlight",className:(0,g.A)("flex h-full min-h-0 min-w-0 flex-1 flex-col",i)},tM()(c,"variant","t","className")),{children:p?(0,n.Y)(on,{photos:m,title:r.title,adLink:r.link,onCardClick:b,overlays:h,footer:f}):(0,n.FD)("div",{className:"group/card relative flex min-h-0 min-w-0 flex-col md:h-full md:flex-1",children:[(0,n.FD)("div",{className:t2,children:[(0,n.Y)(K(),{href:r.link,"aria-hidden":!0,tabIndex:-1,className:"block h-full",onClick:b,children:r.image?(0,n.Y)("img",{src:r.image,alt:r.title,loading:"lazy","data-testid":"ad-image",className:(0,g.A)(tO.OI,tO.Xl)}):(0,n.Y)("div",{className:"h-full",children:(0,n.Y)(t$,{className:"h-full min-h-0"})})}),h]}),(0,n.Y)(K(),{href:r.link,"aria-label":r.title,"data-testid":"ad-link",className:tO.I9,onClick:b,children:f})]})}))};function oi(e,a){var r=e.filter(e=>e.id);return void 0===a?r:r.slice(0,a)}function os(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8;return oi(e,a)}function oc(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8;return e<a?"mid_offer":"small_offer"}var od=r(746306),ou=r(330154),om=(0,l.F)()?function(e){var a,r,t,o,l=(0,i.c)(9),s=e.className,c=(0,y.Bd)("home").t,d=(0,v.z1)().trackEvent;l[0]===Symbol.for("react.memo_cache_sentinel")?(a=(0,od.L0)("promoted"),l[0]=a):a=l[0];var u=a;l[1]!==c?(r=c("home-featured-offers-title",null,{fallback:"Featured offers"}),l[1]=c,l[2]=r):r=l[2];var m=r;l[3]!==d?(t=()=>{d("see_all_promoted_ads","click")},l[3]=d,l[4]=t):t=l[4];var p=t;return l[5]!==s||l[6]!==p||l[7]!==m?(o=(0,n.Y)(ou.d,{title:m,href:u,onViewAllClick:p,headingId:"featured-offers-heading",testId:"featured-offers-header",className:s}),l[5]=s,l[6]=p,l[7]=m,l[8]=o):o=l[8],o}:function(e){var a=e.className,r=(0,y.Bd)("home").t,t=(0,v.z1)().trackEvent,o=(0,od.L0)("promoted"),l=r("home-featured-offers-title",null,{fallback:"Featured offers"});return(0,n.Y)(ou.d,{title:l,href:o,onViewAllClick:()=>{t("see_all_promoted_ads","click")},headingId:"featured-offers-heading",testId:"featured-offers-header",className:a})},op=(0,l.F)()?function(e){var a,r,t,o,l,s,c,d,u,m,p,h,f,b=(0,i.c)(36),y=e.ad,v=e.globalIndex,_=e.onAdClick,w=e.isStandoutPrice,k=e.className,S=void 0!==w&&w;b[0]!==y?(a=tR(y),b[0]=y,b[1]=a):a=b[1];var x=a;b[2]!==k?(r=(0,g.A)("group/card relative flex shrink-0 flex-col",k),b[2]=k,b[3]=r):r=b[3];var A=y.link,F=y.title,C="compact-promoted-card-".concat(y.id);
1return b[4]!==y||b[5]!==v||b[6]!==_?(t=()=>{_(y,v)},b[4]=y,b[5]=v,b[6]=_,b[7]=t):t=b[7],b[8]===Symbol.for("react.memo_cache_sentinel")?(o=(0,g.A)(tO.Zc,tO.o6,"aspect-[272/204] w-full rounded-turbo-l"),b[8]=o):o=b[8],b[9]!==y.image?(l=(0,n.Y)("div",{className:o,children:y.image?(0,n.Y)("img",{src:y.image,alt:"",loading:"lazy",className:(0,g.A)("size-full object-cover",tO.Xl)}):(0,n.Y)("div",{className:"flex size-full items-center justify-center bg-turbo-container-muted"})}),b[9]=y.image,b[10]=l):l=b[10],b[11]===Symbol.for("react.memo_cache_sentinel")?(s=(0,g.A)("flex min-w-0 flex-col",tO.YS),c=(0,g.A)("line-clamp-2",tO.rB),b[11]=s,b[12]=c):(s=b[11],c=b[12]),b[13]!==y.title?(d=(0,n.Y)("p",{className:c,children:y.title}),b[13]=y.title,b[14]=d):d=b[14],b[15]!==S||b[16]!==x.parameters||b[17]!==x.price||b[18]!==x.rest?(u=(0,n.Y)(tH,{price:x.price,rest:x.rest,parameters:x.parameters,standoutPrice:S}),b[15]=S,b[16]=x.parameters,b[17]=x.price,b[18]=x.rest,b[19]=u):u=b[19],b[20]!==d||b[21]!==u?(m=(0,n.FD)("div",{className:s,children:[d,u]}),b[20]=d,b[21]=u,b[22]=m):m=b[22],b[23]!==y.link||b[24]!==y.title||b[25]!==m||b[26]!==C||b[27]!==t||b[28]!==l?(p=(0,n.FD)(K(),{href:A,"aria-label":F,"data-testid":C,className:"flex w-full flex-col gap-turbo-14",onClick:t,children:[l,m]}),b[23]=y.link,b[24]=y.title,b[25]=m,b[26]=C,b[27]=t,b[28]=l,b[29]=p):p=b[29],b[30]!==y.id?(h=(0,n.Y)(tq,{adId:y.id}),b[30]=y.id,b[31]=h):h=b[31],b[32]!==p||b[33]!==h||b[34]!==r?(f=(0,n.FD)("div",{className:r,children:[p,h]}),b[32]=p,b[33]=h,b[34]=r,b[35]=f):f=b[35],f}:function(e){var a=e.ad,r=e.globalIndex,t=e.onAdClick,o=e.isStandoutPrice,l=e.className,i=tR(a);return(0,n.FD)("div",{className:(0,g.A)("group/card relative flex shrink-0 flex-col",l),children:[(0,n.FD)(K(),{href:a.link,"aria-label":a.title,"data-testid":"compact-promoted-card-".concat(a.id),className:"flex w-full flex-col gap-turbo-14",onClick:()=>{t(a,r)},children:[(0,n.Y)("div",{className:(0,g.A)(tO.Zc,tO.o6,"aspect-[272/204] w-full rounded-turbo-l"),children:a.image?(0,n.Y)("img",{src:a.image,alt:"",loading:"lazy",className:(0,g.A)("size-full object-cover",tO.Xl)}):(0,n.Y)("div",{className:"flex size-full items-center justify-center bg-turbo-container-muted"})}),(0,n.FD)("div",{className:(0,g.A)("flex min-w-0 flex-col",tO.YS),children:[(0,n.Y)("p",{className:(0,g.A)("line-clamp-2",tO.rB),children:a.title}),(0,n.Y)(tH,{price:i.price,rest:i.rest,parameters:i.parameters,standoutPrice:void 0!==o&&o})]})]}),(0,n.Y)(tq,{adId:a.id})]})},oh={canScrollPrev:!1,canScrollNext:!1,showNavigation:!1};function of(e){return{showNavigation:e.scrollWidth>e.clientWidth+1,canScrollPrev:e.scrollLeft>1,canScrollNext:e.scrollLeft+e.clientWidth<e.scrollWidth-1}}function ob(){var e=(0,h._)((0,W.useState)(null),2),a=e[0],r=e[1],t=(0,h._)((0,W.useState)(oh),2),o=t[0],n=t[1],l=(0,W.useCallback)(e=>{r(e),n(e?of(e):oh)},[]);(0,W.useEffect)(()=>{if(a){var e=()=>{n(of(a))},r=new ResizeObserver(e);return r.observe(a),a.addEventListener("scroll",e,{passive:!0}),()=>{r.disconnect(),a.removeEventListener("scroll",e)}}},[a]);var i=(0,W.useCallback)(e=>{if(a){var r=a.querySelector('[data-testid="promoted-ads-grid-page"]'),t=null==r?void 0:r.querySelector('[data-testid^="compact-promoted-card-"]'),o=!!r&&r.scrollWidth>a.clientWidth+1,n=Math.max(.75*a.clientWidth,200);if(o&&r&&t){var l=Number.parseFloat(getComputedStyle(r).columnGap)||16;n=t.getBoundingClientRect().width+l}a.scrollTo({left:a.scrollLeft+("next"===e?n:-n),behavior:"smooth"})}},[a]);return{railRef:l,canScrollPrev:o.canScrollPrev,canScrollNext:o.canScrollNext,showNavigation:o.showNavigation,scrollPrev:()=>i("prev"),scrollNext:()=>i("next")}}var oy="absolute top-1/2 z-10 -translate-y-1/2",ov="!rounded-turbo-full !bg-turbo-container-default shadow-[0px_2px_8px_rgba(28,32,34,0.12)] data-[disabled]:opacity-40",o_=(0,g.A)("overflow-x-auto pb-turbo-4 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden","max-md:-mx-turbo-24 max-md:pl-turbo-24 max-md:pr-0","md:min-w-0 md:max-lg:@container/promoted-ads lg:overflow-x-visible"),og=(0,l.F)()?function(e){var a,r,t,o,l,s,c=(0,i.c)(23),d=e.ads,u=e.onAdClick,m=e.maxAds,p=e.peekNextCard,h=e.isStandoutPrice,f=e.className,b=void 0!==p&&p,y=void 0!==h&&h,v=oi(d,void 0===m?8:m),_=ob(),w=_.railRef,k=_.canScrollPrev,S=_.canScrollNext,x=_.showNavigation,A=_.scrollPrev,F=_.scrollNext;if(!v.length)return null;var C=b?o_:tO.we;c[0]!==f?(a=(0,g.A)("relative min-w-0",f),c[0]=f,c[1]=a):a=c[1],c[2]!==S||c[3]!==k||c[4]!==F||c[5]!==A||c[6]!==x?(r=x?(0,n.FD)("div",{className:"max-md:hidden",children:[(0,n.Y)("span",{className:(0,g.A)(oy,"left-0"),children:(0,n.Y)(aN.$,{layout:"icon-only",variant:"ghost",size:"small","aria-label":"Scroll promoted ads left","data-testid":"promoted-ads-carousel-prev",className:ov,disabled:!k,onClick:A,icon:(0,n.Y)(tQ.A,{size:20})})}),(0,n.Y)("span",{className:(0,g.A)(oy,"right-0"),children:(0,n.Y)(aN.$,{layout:"icon-only",variant:"ghost",size:"small","aria-label":"Scroll promoted ads right","data-testid":"promoted-ads-carousel-next",className:ov,disabled:!S,onClick:F,icon:(0,n.Y)(tr.f,{size:20})})})]}):null,c[2]=S,c[3]=k,c[4]=F,c[5]=A,c[6]=x,c[7]=r):r=c[7];var N=b?"true":void 0,Y=tO.pq;c[8]!==y||c[9]!==u?(t=(e,a)=>(0,n.Y)(op,{ad:e,globalIndex:a,onAdClick:u,isStandoutPrice:y,className:tO.HL}
1,e.id),c[8]=y,c[9]=u,c[10]=t):t=c[10];var I=v.map(t);return c[11]!==I||c[12]!==Y?(o=(0,n.Y)("div",{className:Y,"data-testid":"promoted-ads-grid-page",children:I}),c[11]=I,c[12]=Y,c[13]=o):o=c[13],c[14]!==w||c[15]!==C||c[16]!==o||c[17]!==N?(l=(0,n.Y)("div",{ref:w,className:C,"data-testid":"featured-ads-carousel","data-peek":N,children:o}),c[14]=w,c[15]=C,c[16]=o,c[17]=N,c[18]=l):l=c[18],c[19]!==l||c[20]!==a||c[21]!==r?(s=(0,n.FD)("div",{className:a,"data-testid":"highlighted-ads",children:[r,l]}),c[19]=l,c[20]=a,c[21]=r,c[22]=s):s=c[22],s}:function(e){var a=e.ads,r=e.onAdClick,t=e.maxAds,o=e.peekNextCard,l=void 0!==o&&o,i=e.isStandoutPrice,s=void 0!==i&&i,c=e.className,d=oi(a,void 0===t?8:t),u=ob(),m=u.railRef,p=u.canScrollPrev,h=u.canScrollNext,f=u.showNavigation,b=u.scrollPrev,y=u.scrollNext;if(!d.length)return null;var v=l?o_:tO.we;return(0,n.FD)("div",{className:(0,g.A)("relative min-w-0",c),"data-testid":"highlighted-ads",children:[f?(0,n.FD)("div",{className:"max-md:hidden",children:[(0,n.Y)("span",{className:(0,g.A)(oy,"left-0"),children:(0,n.Y)(aN.$,{layout:"icon-only",variant:"ghost",size:"small","aria-label":"Scroll promoted ads left","data-testid":"promoted-ads-carousel-prev",className:ov,disabled:!p,onClick:b,icon:(0,n.Y)(tQ.A,{size:20})})}),(0,n.Y)("span",{className:(0,g.A)(oy,"right-0"),children:(0,n.Y)(aN.$,{layout:"icon-only",variant:"ghost",size:"small","aria-label":"Scroll promoted ads right","data-testid":"promoted-ads-carousel-next",className:ov,disabled:!h,onClick:y,icon:(0,n.Y)(tr.f,{size:20})})})]}):null,(0,n.Y)("div",{ref:m,className:v,"data-testid":"featured-ads-carousel","data-peek":l?"true":void 0,children:(0,n.Y)("div",{className:tO.pq,"data-testid":"promoted-ads-grid-page",children:d.map((e,a)=>(0,n.Y)(op,{ad:e,globalIndex:a,onAdClick:r,isStandoutPrice:s,className:tO.HL},e.id))})})]})},ow=(0,l.F)()?function(e){var a,r,t,o,l,s,c,d,u,m=(0,i.c)(28),p=e.offerOfTheDay,h=e.promotedAds,f=e.onSpotlightClick,b=e.onPromotedAdClick,y=e.maxPromotedAds,v=e.isCarouselVariant,_=e.isStandoutPrice,w=e.className,k=void 0===y?8:y,S=void 0!==v&&v,x=void 0!==_&&_,A=h.some(ok),F=!!(null==p?void 0:p.id);if(!F&&!A)return null;m[0]!==k||m[1]!==b?(a=(e,a)=>{b(oc(a,k))(e)},m[0]=k,m[1]=b,m[2]=a):a=m[2];var C=a;return!A&&p?(m[3]!==w?(r=(0,g.A)("flex w-full flex-col",w),m[3]=w,m[4]=r):r=m[4],m[5]===Symbol.for("react.memo_cache_sentinel")?(t=(0,n.Y)(om,{className:"hidden md:flex"}
1),m[5]=t):t=m[5],m[6]!==x||m[7]!==p||m[8]!==f?(o=(0,n.FD)("section",{"aria-labelledby":"featured-offers-heading",className:"flex w-full flex-col md:gap-turbo-32",children:[t,(0,n.Y)(ol,{ad:p,onClick:f,isStandoutPrice:x})]}),m[6]=x,m[7]=p,m[8]=f,m[9]=o):o=m[9],m[10]!==r||m[11]!==o?(l=(0,n.Y)("div",{"data-testid":"featured-offers-section",className:r,children:o}),m[10]=r,m[11]=o,m[12]=l):l=m[12],l):(m[13]!==w?(s=(0,g.A)("flex w-full flex-col",w),m[13]=w,m[14]=s):s=m[14],m[15]===Symbol.for("react.memo_cache_sentinel")?(c=(0,n.Y)(om,{className:"order-2 md:order-none"}),m[15]=c):c=m[15],m[16]!==C||m[17]!==F||m[18]!==S||m[19]!==x||m[20]!==k||m[21]!==p||m[22]!==f||m[23]!==h?(d=(0,n.FD)("section",{"aria-labelledby":"featured-offers-heading",className:"flex w-full flex-col gap-turbo-24",children:[c,F&&p?(0,n.FD)("div",{className:(0,g.A)("order-1 w-full min-w-0 max-md:contents md:order-none",tO.N1),children:[(0,n.Y)(ol,{ad:p,onClick:f,isStandoutPrice:x,className:(0,g.A)("order-1 min-w-0 md:order-none",tO.ID)}),(0,n.Y)(og,{ads:h,onAdClick:C,maxAds:k,peekNextCard:S,isStandoutPrice:x,className:(0,g.A)("order-3 min-w-0 md:order-none",tO.vc)})]}):(0,n.Y)(og,{ads:h,onAdClick:C,maxAds:k,peekNextCard:S,isStandoutPrice:x,className:"order-3 min-w-0 md:order-none"})]}),m[16]=C,m[17]=F,m[18]=S,m[19]=x,m[20]=k,m[21]=p,m[22]=f,m[23]=h,m[24]=d):d=m[24],m[25]!==s||m[26]!==d?(u=(0,n.Y)("div",{"data-testid":"featured-offers-section",className:s,children:d}),m[25]=s,m[26]=d,m[27]=u):u=m[27],u)}:function(e){var a=e.offerOfTheDay,r=e.promotedAds,t=e.onSpotlightClick,o=e.onPromotedAdClick,l=e.maxPromotedAds,i=void 0===l?8:l,s=e.isCarouselVariant,c=void 0!==s&&s,d=e.isStandoutPrice,u=void 0!==d&&d,m=e.className,p=r.some(e=>e.id),h=!!(null==a?void 0:a.id);if(!h&&!p)return null;var f=(e,a)=>{o(oc(a,i))(e)};return!p&&a?(0,n.Y)("div",{"data-testid":"featured-offers-section",className:(0,g.A)("flex w-full flex-col",m),children:(0,n.FD)("section",{"aria-labelledby":"featured-offers-heading",className:"flex w-full flex-col md:gap-turbo-32",children:[(0,n.Y)(om,{className:"hidden md:flex"}),(0,n.Y)(ol,{ad:a,onClick:t,isStandoutPrice:u})]})}):(0,n.Y)("div",{"data-testid":"featured-offers-section",className:(0,g.A)("flex w-full flex-col",m),children:(0,n.FD)("section",{"aria-labelledby":"featured-offers-heading",className:"flex w-full flex-col gap-turbo-24",children:[(0,n.Y)(om,{className:"order-2 md:order-none"}),h&&a?(0,n.FD)("div",{className:(0,g.A)("order-1 w-full min-w-0 max-md:contents md:order-none",tO.N1),children:[(0,n.Y)(ol,{ad:a,onClick:t,isStandoutPrice:u,className:(0,g.A)("order-1 min-w-0 md:order-none",tO.ID)}),(0,n.Y)(og,{ads:r,onAdClick:f,maxAds:i,peekNextCard:c,isStandoutPrice:u,className:(0,g.A)("order-3 min-w-0 md:order-none",tO.vc)})]}):(0,n.Y)(og,{ads:r,onAdClick:f,maxAds:i,peekNextCard:c,isStandoutPrice:u,className:"order-3 min-w-0 md:order-none"})]})})};function ok(e){return e.id}var oS=r(107916),ox=r(772598),oA=r(647196),oF=r(797748),oC=r(915123),oN={filtersToHide:{[oC.t.HasVin]:[{searchKey:oC.t.HasVin}],[oC.t.AcceptFinancing]:[{searchKey:oC.t.AcceptFinancing}],[oC.t.FinancialOption]:[{searchKey:oC.t.FinancialOption}]},categoriesWithNewOfferTypeFeature:[],filtersNumberByCategory:{}},oY=(0,o._)((0,t._)({},oN),{categoriesWithNewOfferTypeFeature:["31"],filtersNumberByCategory:{[G.Qs]:4,[G.Wd]:3,[G.cD]:5,[G.oP]:5,[G.IF]:4,[G.jl]:5,[G.tO]:4,[G.dI]:3,[j.w]:4}}),oI=r(493402),oV="An error has occurred while running getScreenComponents";async function oD(e){var a,r,t=await (0,tn.Uq)().query(oI.A,e).toPromise(),o=t.data,n=t.error,l=o&&"sortOptions"in o?o.sortOptions:null;if(n||"errorCode"in(null!=(a=null==o?void 0:o.filters)?a:{})||"errorCode"in(null!=l?l:{})){(null==o||null==(r=o.filters)?void 0:r.__typename)==="ScreenComponentsError"&&(0,tl.v)("".concat(oV," on filters => ")+JSON.stringify(null==o?void 0:o.filters)),(null==l?void 0:l.__typename)==="ScreenComponentsError"&&(0,tl.v)("".concat(oV," on sortOptions => ")+JSON.stringify(l)),n&&(0,tl.v)("".concat(oV," => ")+JSON.stringify(n)+" \uD83D\uDE80\uD83D\uDE80\uD83D\uDE80\uD83D\uDE80\uD83D\uDE80\uD83D\uDE80\uD83D\uDE80 "+JSON.stringify(o));return}return{filters:null==o?void 0:o.filters,sortOptions:l}}var oz={__typename:"ScreenComponentsOutput",components:[{__typename:"Component",id:"filter_enum_make",name:"Marka pojazdu",type:"SINGLE",parentID:null,description:null,icon:null,tag:null,placeholder:"Marka pojazdu",displayConfig:{__typename:"AdvertSearchFilterDisplayConfig",renderAs:"SELECT",hasMultiple:null,inputMode:"TEXT",suffix:null}},{__typename:"Component",id:"filter_enum_model",name:"Model pojazdu",type:"SINGLE",parentID:null,description:null,icon:null,tag:null,placeholder:"Model pojazdu",displayConfig:{__typename:"AdvertSearchFilterDisplayConfig",renderAs:"SELECT",hasMultiple:null,inputMode:"TEXT",suffix:null}},{__typename:"Component",id:"filter_float_price:to",name:"Cena do",type:"SINGLE",parentID:null,description:null,icon:null,tag:null,placeholder:"Cen
1a do",displayConfig:{__typename:"AdvertSearchFilterDisplayConfig",renderAs:"SELECT",hasMultiple:null,inputMode:"NUMERIC",suffix:null}},{__typename:"Component",id:"filter_float_autonomy:from",name:"Autonomia od",type:"SINGLE",parentID:null,description:null,icon:null,tag:null,placeholder:null,displayConfig:{__typename:"AdvertSearchFilterDisplayConfig",renderAs:"SELECT",hasMultiple:null,inputMode:"NUMERIC",suffix:"km"}},{__typename:"Component",id:"filter_float_year:from",name:"Rok produkcji od",type:"SINGLE",parentID:null,description:null,icon:null,tag:null,placeholder:"Rok produkcji od",displayConfig:{__typename:"AdvertSearchFilterDisplayConfig",renderAs:"SELECT",hasMultiple:null,inputMode:"NUMERIC",suffix:null}},{__typename:"Component",id:"filter_enum_leasing_concession",name:"Leasing",type:"SINGLE",parentID:null,description:null,icon:null,tag:null,placeholder:null,displayConfig:{__typename:"AdvertSearchFilterDisplayConfig",renderAs:"SWITCH",hasMultiple:null,inputMode:"TEXT",suffix:null}}],states:[{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"xpeng",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"g6",name:"G6",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"g9",name:"G9",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"p7",name:"P7",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"geely",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"ex5",name:"EX5",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"leapmotor",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"b10",name:"B10",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"c10",name:"C10",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"t03",name:"T03",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"sarini",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"m1-luqi",name:"M1 LUQI",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"x9",name:"X9",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"microcar",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"m-go",name:"M.GO",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"maxus",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"euniq-5",name:"Euniq 5",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"euniq-6",name:"Euniq 6",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"lucid",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"air",name:"Air",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"gravity",name:"Gravity",description:null,counter:null}]}]}
1,{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"jaguar",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"i-pace",name:"I-Pace",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"alfa-romeo",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"junior",name:"Junior",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"skoda",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"citigo",name:"Citigo",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"elroq",name:"Elroq",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"enyaq",name:"Enyaq",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"aixam",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"city",name:"City",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"coupe",name:"Coupe",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"fisker",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"ocean",name:"Ocean",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"mitsubishi",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"i-miev",name:"i-MiEV",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"hyundai",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"inster",name:"Inster",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"ioniq",name:"IONIQ",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"ioniq-5",name:"IONIQ 5",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"ioniq-6",name:"IONIQ 6",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"ioniq-9",name:"IONIQ 9",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"kona",name:"Kona",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"opel",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"ampera",name:"Ampera",de
1scription:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"astra",name:"Astra",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"combo",name:"Combo",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"corsa",name:"Corsa",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"frontera",name:"Frontera",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"grandland",name:"Grandland",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"mokka",name:"Mokka",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"vivaro",name:"Vivaro",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"cupra",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"born",name:"Born",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"tavascan",name:"Tavascan",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"denza",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"n7",name:"N7",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"audi",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"a6-avant-e-tron",name:"A6 Avant e-tron",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"a6-e-tron",name:"A6 Sportback e-tron",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"e-tron",name:"e-tron",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"e-tron-gt",name:"e-tron GT",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"e-tron-sportback",name:"e-tron Sportback",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"q4",name:"Q4 e-tron",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"q4-sportback",name:"Q4 Sportback e-tron",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"q6",name:"Q6 e-tron",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"q6-sportback-e-tron",name:"Q6 Sportback e-tron",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"q7",name:"Q7",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"q8",name:"Q8",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"q8-e-tron",name:"Q8 e-tron",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"q8-sportback-e-tron",name:"Q8 Sportback e-tron",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"rs-e-tron-gt",name:"RS e-tron GT",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"sq6-sportback-e-tron",name:"SQ6 Sportback e-tron",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"sq8-e-tron",name:"SQ8 e-tron",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"subaru",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"solterra",name:"Solterra",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"porsche",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"cayenne",name:"Cayenne",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"macan",name:"Macan",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"taycan",name:"Taycan",description:null,counter:null}]}]}
1,{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"dongfeng",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"box",name:"Box",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"jeep",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"avenger",name:"Avenger",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"compass",name:"Compass",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"nissan",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"ariya",name:"Ariya",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"leaf",name:"Leaf",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"micra",name:"Micra",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"nv200",name:"NV200",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"qashqai",name:"Qashqai",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"townstar",name:"Townstar",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"lexus",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"rz",name:"RZ",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"ux",name:"UX",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"e-go",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"mg",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"4",name:"4",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"5",name:"5",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"cyberster",name:"Cyberster",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"marvel-r",name:"Marvel R",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"s5-ev",name:"S5 EV",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"zs",name:"ZS",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"zs-hybrid-plus",name:"ZS Hybrid+",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"seat",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"mii",name:"Mii",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"voyah",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"free",name:"Free",description:null,counter:null}]}]}
1,{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"mini",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"aceman",name:"Aceman",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"cooper",name:"Cooper",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"cooper-s",name:"Cooper S",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"countryman",name:"Countryman",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"hongqi",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"e-hs9",name:"E-HS9",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"jaecoo",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"5",name:"5",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"byd",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"atto-2",name:"Atto 2",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"atto-3",name:"Atto 3",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"dolphin",name:"Dolphin",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"dolphin-surf",name:"Dolphin Surf",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"han",name:"Han",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"leopard-7",name:"Leopard 7",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"seal",name:"Seal",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"seal-u-byd",name:"Seal U",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"sealion-7",name:"Sealion 7",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"abarth",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"500",name:"500",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"smart",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"smart-1",name:"#1",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"forfour",name:"Forfour",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"fortwo",name:"Fortwo",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"maserati",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"grancabrio",name:"GranCabrio",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"grecale",name:"Grecale",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"cadillac",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"escalade",name:"Escalade",description:null,counter:null}]}]}
1,{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"volkswagen",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"golf",name:"Golf",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"id-buzz",name:"ID. Buzz",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"id3",name:"ID.3",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"id4",name:"ID.4",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"id5",name:"ID.5",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"id-7",name:"ID.7",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"tiguan",name:"Tiguan",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"up",name:"up!",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"alpine",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"a290",name:"A290",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"ssangyong",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"korando",name:"Korando",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"torres",name:"Torres",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"gac",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"aion-v",name:"AION V",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"hyptec-ht",name:"Hyptec HT",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"hummer",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"other",name:"Inny",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"zeekr",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"001",name:"001",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"009",name:"009",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"rolls-royce",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"spectre",name:"Spectre",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"aiways",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"u5",name:"U5",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_make",conditions:[],defaultSelectedValues:[],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"abarth",name:"Abarth",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"aiways",name:"Aiways",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"aixam",name:"Aixam",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"alfa-romeo",name:"Alfa Romeo",description:null,counter:null}
1,{__typename:"AdvertSearchFilterValue",id:"alpine",name:"Alpine",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"audi",name:"Audi",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"avatr",name:"AVATR",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"baw",name:"BAW",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"bmw",name:"BMW",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"byd",name:"BYD",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"cadillac",name:"Cadillac",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"cenntro",name:"Cenntro",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"chevrolet",name:"Chevrolet",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"citroen",name:"Citro\xebn",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"cupra",name:"Cupra",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"dacia",name:"Dacia",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"denza",name:"Denza",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"dfsk",name:"DFSK",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"dongfeng",name:"Dongfeng",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"ds-automobiles",name:"DS Automobiles",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"e-go",name:"e.GO",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"fiat",name:"Fiat",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"fisker",name:"Fisker",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"ford",name:"Ford",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"gac",name:"GAC",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"geely",name:"Geely",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"honda",name:"Honda",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"hongqi",name:"Hongqi",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"hummer",name:"Hummer",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"hyundai",name:"Hyundai",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"other",name:"Inny",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"jaecoo",name:"Jaecoo",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"jaguar",name:"Jaguar",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"jeep",name:"Jeep",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"kia",name:"Kia",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"leapmotor",name:"Leapmotor",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"lexus",name:"Lexus",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"ligier",name:"Ligier",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"lucid",name:"Lucid",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"maserati",name:"Maserati",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"maxus",name:"Maxus",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"mazda",name:"Mazda",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"mercedes-benz",name:"Mercedes-Benz",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"mg",name:"MG",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"microcar",name:"Microcar",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"mini",name:"MINI",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"mitsubishi",name:"Mitsubishi",description:null,counter:null}
1,{__typename:"AdvertSearchFilterValue",id:"nissan",name:"Nissan",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"omoda",name:"Omoda",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"opel",name:"Opel",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"peugeot",name:"Peugeot",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"polestar",name:"Polestar",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"porsche",name:"Porsche",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"renault",name:"Renault",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"rolls-royce",name:"Rolls-Royce",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"sarini",name:"SARINI",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"seat",name:"Seat",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"skoda",name:"Skoda",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"skywell",name:"Skywell",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"smart",name:"Smart",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"ssangyong",name:"SsangYong/KGM",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"subaru",name:"Subaru",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"tesla",name:"Tesla",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"toyota",name:"Toyota",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"volkswagen",name:"Volkswagen",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"volvo",name:"Volvo",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"voyah",name:"Voyah",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"xiaomi",name:"Xiaomi",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"xpeng",name:"XPeng",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"zeekr",name:"ZEEKR",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"zhidou",name:"Zhidou",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"peugeot",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"2008",name:"2008",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"208",name:"208",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"3008",name:"3008",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"308",name:"308",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"5008",name:"5008",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"e-5008",name:"E-5008",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"ion",name:"iOn",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"rifter",name:"Rifter",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"mazda",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"6e",name:"6e",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"ez-60-mazda",name:"EZ-60",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"mx-3",name:"MX-3",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"mx-30",name:"MX-30",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"chevrolet",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"bolt",name:"Bolt",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"silverado",name:"Silverado",description:null,counter:null}]}]}
1,{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"cenntro",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"avantier",name:"Avantier",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"xiaomi",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"su7",name:"SU7",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"yu7",name:"YU7",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"volvo",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"c-40",name:"C40",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"es90",name:"ES90",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"ex30",name:"EX30",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"ex60",name:"EX60",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"ex90",name:"EX90",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"s90",name:"S90",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"xc-40",name:"XC 40",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"xc-60",name:"XC 60",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"omoda",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"7",name:"7",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"e5",name:"E5",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"ligier",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"js50",name:"JS50",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"zhidou",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"d2",name:"D2",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"kwb",name:"KWB",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"dfsk",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"seres-3",name:"Seres 3",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"polestar",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"2",name:"2",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"fiat",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"500",name:"500",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"500-e",name:"500e",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"600",name:"600",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"grande-panda",name:"Grande Panda ",description:null,counter:null}]}]}
1,{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"ds-automobiles",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"ds-3-crossback",name:"DS 3 Crossback",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"ds-4",name:"DS 4",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"n-4",name:"N\xb04",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"n-8",name:"N\xb08",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"skywell",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"et5",name:"ET5",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"renault",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"4",name:"4",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"4-e-tech",name:"4 E-Tech",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"5",name:"5",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"kangoo",name:"Kangoo",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"megane",name:"Megane",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"scenic",name:"Scenic",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"twingo",name:"Twingo",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"twizy",name:"Twizy",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"zoe",name:"Zoe",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"other",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"other",name:"Inny",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_float_year:from",conditions:[],defaultSelectedValues:[],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"2026",name:"2026",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"2025",name:"2025",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"2024",name:"2024",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"2023",name:"2023",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"2022",name:"2022",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"2021",name:"2021",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"2020",name:"2020",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"2019",name:"2019",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"2018",name:"2018",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"2017",name:"2017",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"2016",name:"2016",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"2015",name:"2015",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"2014",name:"2014",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"2013",name:"2013",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"2012",name:"2012",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"2011",name:"2011",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"2010",name:"2010",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"2009",name:"2009",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"2008",name:"2008",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"2007",name:"2007",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"2006",name:"2006",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"2005",name:"2005",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"2004",name:"2004",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"2003",name:"2003",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"2002",name:"2002",description:null,counter:null}
1,{__typename:"AdvertSearchFilterValue",id:"2001",name:"2001",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"2000",name:"2000",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"1999",name:"1999",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"1998",name:"1998",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"1997",name:"1997",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"1996",name:"1996",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"1995",name:"1995",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"1994",name:"1994",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"1993",name:"1993",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"1992",name:"1992",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"1991",name:"1991",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"1990",name:"1990",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"1980",name:"1980",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"1970",name:"1970",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"1960",name:"1960",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"1950",name:"1950",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"1940",name:"1940",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"1930",name:"1930",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"1920",name:"1920",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"1910",name:"1910",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"1900",name:"1900",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"tesla",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"cybertruck",name:"Cybertruck",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"model-3",name:"Model 3",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"model-s",name:"Model S",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"model-x",name:"Model X",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"y",name:"Model Y",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_float_price:to",conditions:[],defaultSelectedValues:[],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"2000",name:"2000",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"3000",name:"3000",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"5000",name:"5000",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"10000",name:"10000",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"15000",name:"15000",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"20000",name:"20000",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"25000",name:"25000",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"30000",name:"30000",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"35000",name:"35000",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"40000",name:"40000",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"50000",name:"50000",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"65000",name:"65000",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"80000",name:"80000",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"100000",name:"100000",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"200000",name:"200000",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"500000",name:"500000",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"1000000",name:"1000000",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"7500000",name:"7500000",description:null,counter:null}]}]}
1,{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"dacia",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"spring",name:"Spring",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"baw",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"pony",name:"Pony",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"kia",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"ev2",name:"EV2",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"ev3",name:"EV3",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"ev4",name:"EV4",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"ev5",name:"EV5",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"ev6",name:"EV6",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"ev9",name:"EV9",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"niro",name:"Niro",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"pv5",name:"PV5",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"soul",name:"Soul",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"mercedes-benz",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"cla",name:"CLA",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"eqa",name:"EQA",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"eqb",name:"EQB",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"eqc",name:"EQC",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"eqe",name:"EQE",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"eqs",name:"EQS",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"eqt",name:"EQT",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"eqv",name:"EQV",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"glb",name:"GLB",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"glc",name:"GLC",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"klasa-b",name:"Klasa B",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"klasa-g",name:"Klasa G",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"klasa-v",name:"Klasa V",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"vito",name:"Vito",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"honda",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"e",name:"e",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"e-ny1",name:"e:NY1",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"avatr",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"12",name:"12",description:null,counter:null}]}]}
1,{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"citroen",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"ami",name:"Ami",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"berlingo",name:"Berlingo",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"c-zero",name:"C-Zero",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"c3",name:"C3",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"c3-aircross",name:"C3 Aircross",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"c4",name:"C4",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"c4x",name:"C4X",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"c5-aircross",name:"C5 Aircross",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"ds3",name:"DS3",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"e-mehari",name:"E-Mehari",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"spacetourer",name:"SpaceTourer",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"ford",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"capri",name:"Capri",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"e-transit-custom",name:"E-Transit Custom",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"explorer",name:"Explorer",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"f150",name:"F150",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"focus",name:"Focus",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"mustang",name:"Mustang",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"mustang-mach-e",name:"Mustang Mach-E",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"puma",name:"Puma",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"puma-gen-e",name:"Puma Gen-E",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"bmw",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"i3",name:"i3",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"i4",name:"i4",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"i5",name:"i5",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"i7",name:"i7",description:null,counter:null}
1,{__typename:"AdvertSearchFilterValue",id:"ix",name:"iX",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"ix1",name:"iX1",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"ix2",name:"iX2",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"ix3",name:"iX3",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_model",defaultSelectedValues:[],conditions:[{__typename:"AdvertSearchFilterStateCondition",filterId:"filter_enum_make",value:"toyota",type:"IS"}],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"bz4x",name:"bZ4X",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"c-hr-plus",name:"C-HR+",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"mirai",name:"Mirai",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"proace",name:"ProAce",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"proace-city",name:"Proace City",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"proace-city-verso",name:"Proace City Verso",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"proace-verso",name:"Proace Verso",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_float_autonomy:from",conditions:[],defaultSelectedValues:[],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"100",name:"100",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"200",name:"200",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"300",name:"300",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"400",name:"400",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"500",name:"500",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"600",name:"600",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"700",name:"700",description:null,counter:null}]}]},{__typename:"OpenForInputFilterState",filterId:"filter_enum_leasing_concession",conditions:[],defaultSelectedValues:[],values:[{__typename:"AdvertSearchFilterValuesGroup",name:null,values:[{__typename:"AdvertSearchFilterValue",id:"0",name:"Kup",description:null,counter:null},{__typename:"AdvertSearchFilterValue",id:"1",name:"Leasing",description:null,counter:null}]}]}]};async function oE(e){var a=e.categoryId,r=e.screenName;if((0,aF.r4)(a)||"homepage:electric"===r)return{filters:oz,sortOptions:{__typename:"ScreenComponentsOutput",states:[]}};try{return await oD({categoryId:a,screen:r,includeSortOptions:!1})}catch(e){return}}var oB=new Map(["tesla","byd","bmw","mercedes-benz","renault","peugeot","volvo","hyundai","audi","kia"].map((e,a)=>[e,a])),oT=e=>(0,aF.r4)(e)?oO:oM,oM=e=>[...e].sort((e,a)=>(a.counter?a.counter:0)-(e.counter?e.counter:0)),oO=e=>[...e].sort((e,a)=>{var r=oB.get(e.id),t=oB.get(a.id);return void 0!==r&&void 0!==t?r-t:void 0!==r?-1:void 0!==t?1:(a.counter?a.counter:0)-(e.counter?e.counter:0)}),oP=async e=>{var a,r=(0,aF.U5)(e),t=await (0,rv.A)({criteria:{filters:r.map(e=>({name:e.name,value:e.value}))},shouldSkipUrl:!0});return null!=(a=null==t?void 0:t.totalCount)?a:0},oK=r(494256);function oR(e,a,r){if((null==e?void 0:e.__typename)==="ScreenComponentsOutput"){var t={components:[],states:[]},o=!0,n=!1,l=void 0;try{for(var i,s=e.components[Symbol.iterator]();!(o=(i=s.next()).done);o=!0){var c,d,u,m,p,h,f,b,y,v,_,g,w=i.value;w&&t.components.push({id:null!=(p=w.id)?p:"",description:null!=(h=w.description)?h:"",parentId:null!=(f=w.parentID)?f:void 0,name:null!=(b=w.name)?b:"",type:w.type,displayConfig:{hasMultiple:null!=(y=null==(c=w.displayConfig)?void 0:c.hasMultiple)?y:null,inputMode:null!=(v=null==(d=w.displayConfig)?void 0:d.inputMode)?v:null,suffix:null!=(_=null==(u=w.displayConfig)?void 0:u.suffix)?_:null,renderAs:null!=(g=null==(m=w.displayConfig)?void 0:m.renderAs)?g:null}})}}catch(e){n=!0,l=e}finally{try{o||null==s.return||s.return()}finally{if(n)throw l}}var k=!0,S=!1,x=void 0;try{for(var A,F=e.states[Symbol.iterator]();!(k=(A=F.next()).done);k=!0)!function(){var e,o=A.value;if(o)if("OpenForInputFilterState"===o.__typename){if(a&&"filter_enum_make"===o.filterId){var n,l,i,s,c=null!=(i=null==(l=o.values[0])?void 0:l.values)?i:[],d=a([...c].filter(e=>!(0,tt.EG)(e.id))).slice(0,10);return t.states.push({id:o.filterId,type:"OpenForInput",defaultSelectedValues:null!=(s=o.defaultSelectedValues)?s:[],conditions:o.conditions.map(e=>({filterId:e.filterId,type:e.type,value:e.value})),values:[...o.values.map(()=>({name:r("home-filter-make-popular"),values:d.map(e=>{var a,r,t;return{id:"top-makes-".concat(e.id),name:null!=(a=e.name)?a:"",description:null!=(r=e.description)?r:void 0,counter:null!=(t=e.counter)?t:void 0}})})),...o.values.map(e=>({name:r("home-filter-make-all"),values:e.values.map(e=>{var a,r,t;return{id:e.id,name:null!=(a=e.name)?a:"",description:null!=(r=e.description)?r:void 0,counter:null!=(t=e.counter)?t:void 0}})}))]})}t.states.push({id:o.filterId,type:"OpenForInput",defaultSelectedValues:null!=(n=o.defaultSelectedValues)?n:[],conditions:o.conditions.map(e=>({filterId:e.filterId,type:e.type,value:e.value})),values:o.values.map(e=>{var a;return{name:null!=(a=e.name)?a:"",values:e.values.map(e=>{var a,r,t;return{id:e.id,name:null!=(a=e.name)?a:"",description:null!=(r=e.description)?r:void 0,counter:null!=(t=e.counter)?t:void 0}})}})})}else"DisabledFilterState"===o.__typename&&t.states.push({id:o.filterId,type:"DisabledForInput",hidden:null!=(e=o.hidden)&&e,conditions:o.conditions.map(e=>({filterId:e.filterId,type:e.type,value:e.value}))})}()}catch(e){S=!0,x=e}finally{try{k||null==F.return||F.return()}finally{if(S)throw x}}return t}}var oL=new Map([["filter_enum_make","brand"],["filter_enum_model","model"],["filter_float_price:to","to_price"],["filter_float_first_registration_year:from","from_year"],["filter_enum_body_type","body_type"],["filter_enum_fuel_type","fuel_type"],["location","location"],["filter_enum_leasing_concession","leasing_concession"]]),oH="border-b border-[rgba(5,12,34,0.14)]",oG=[oH,"[&_button]:!border-none [&_button]:!bg-02-gray [&_[data-filter-field-input]>div]:!border-none [&_[data-filter-field-input]>div]:!bg-02-gray [&_[data-filter-field-input]>div>div>div]:!pl-[14px] [&_[data-filter-field-range-container]_div]:!border-none [&_[data-filter-field-range-container]_div]:!bg-02-gray [&_[data-filter-field-range-container]_div_div]:!bg-02-gray [&_[data-filter-field-range-container]_div_div_input]:!bg-02-gray"].join(" "),oW=[oH,"[--colorsBackgroun
1dActionPrimary:var(--color-foreground-primary)] [--colorsBackgroundSecondary:var(--color-background-primary)] [&>div]:m-[4px_2px] [&>div]:box-border [&>div]:rounded-[12px] [&>div]:border [&>div]:border-[4px] [&>div]:border-02-gray [&>div_button]:h-500 [&>div_button]:rounded-sm"].join(" "),oj=(0,rR.F)("rounded-sm border border-[rgba(5,12,34,0.14)] bg-02-gray!",{variants:{spacing:{compact:"mb-150",relaxed:"mb-200"}},defaultVariants:{spacing:"compact"}}),oU=new Set(["filter_enum_make","filter_enum_model","filter_float_autonomy:from"]);let oq=e=>{var a,r=e.advertsSearchSummary,t=e.categoryId,o=e.screenComponentsFilters,l=e.spacing,i=(0,y.Bd)("page_home").t,s=(0,h._)((0,W.useState)(null!=(a=null==r?void 0:r.totalCount)?a:0),2),c=s[0],d=s[1],u=(0,W.useRef)(null),m=(0,R.useRouter)(),p=e7(t),f=(0,v.z1)().trackEvent,b=(0,h._)((0,to.z)(()=>(0,tt.$X)({t:i,categoryId:t,screenName:p,filterComponentSettings:oX(t,oR(o,oT(t),i)),useNewComponents:!0,initialValues:(0,aF.KJ)(t),trackEvent:f,getScreenComponents:async(e,a)=>{var r=await oE({screenName:e,categoryId:a});return oX(a,oR(null==r?void 0:r.filters,oT(a),i))},getSearchTotals:async e=>oP(e),onFilterUpdate:async e=>{try{var a=await oP(e);d(a)}catch(e){d(0)}}}),{devTools:oF.K}),2),_=b[0],g=b[1];(0,W.useEffect)(()=>{g({type:"UPDATE_SCREEN_NAME",screenName:p,categoryId:t,useNewComponents:!0})},[g,p,t]);var w=e=>{u.current=e};return(0,n.FD)("form",{method:"post",autoComplete:"off",onSubmit:e=>{e.preventDefault();var a,t=new URLSearchParams,o=(0,aF.U5)(_.context.appliedFilters);"advanced-search"===u.current?(f("advanced_search_click","click"),t.append(oK.A,"true")):f("search","click",Object.assign({},...o.filter(e=>"category_id"!==e.name).map(e=>{var a=oL.get(e.name);if(a)return{[null!=a?a:""]:e.value};console.error("The configuration key for '".concat(e.name,"' is missing for the 'SEARCH' tracker"))})));var n=!0,l=!1,i=void 0;try{for(var s,c=o[Symbol.iterator]();!(n=(s=c.next()).done);n=!0){var d=s.value;t.append(d.name,d.value)}}catch(e){l=!0,i=e}finally{try{n||null==c.return||c.return()}finally{if(l)throw i}}t.has("category_id")||t.append("category_id",_.context.categoryId),t.append(oK.j,null!=(a=null==r?void 0:r.url)?a:""),m.push("/homepage-advert-search-summary?"+t.toString())},children:[(0,n.FD)("div",{className:oj({spacing:void 0===l?"compact":l}),children:[(0,n.Y)(tt.A,{components:_.context.components,machines:_.context.machines,intent:"primary",labelMode:"floating",gap:0,children:(e,a)=>"SELECT"===e.renderAs||"RANGE"===e.renderAs||"INPUT"===e.renderAs?(0,n.Y)(tt.$3,{className:oG,$gap:e.gap,$size:e.size,children:a()}):"SWITCH"===e.renderAs?(0,n.Y)(tt.$3,{className:oW,$gap:e.gap,$size:e.size,children:a()}):(0,n.Y)(tt.$3,{className:oH,$gap:e.gap,$size:e.size,children:a()})}),(0,n.Y)("div",{className:"px-200 py-100",children:(0,n.FD)(oA.UnstyledButton,{className:"flex min-h-xl w-full items-center justify-between",onClick:()=>w("advanced-search"),type:"submit",children:[i("home-advanced-search-button"),(0,n.Y)(oS.A,{})]})})]}),(0,n.Y)(ag.$n,{fullWidth:!0,variant:"primary",onClick:()=>w("see-ads"),prefixIcon:()=>(0,n.Y)(ox.default,{}),type:"submit",children:c>0?i("home-show-results-button",[(0,aY.Q8)(c)]):i("home-view-all-link")})]})};function oX(e,a){if(a){var r,t=(0,aF.r4)(e)?a.components.filter(e=>oU.has(e.id)):[],o=t.length>0?t:a.components.slice(0,(null==(r=oY.filtersNumberByCategory)?void 0:r["".concat(e)])||0),n=new Set(o.map(e=>e.id));return{components:o,states:a.states.filter(e=>n.has(e.id))}}}var o$=r(413335),oQ=r(489186),oJ=(0,l.F)()?e=>{var a,r,t,o,l,s,c,d,u,m=(0,i.c)(32),p=e.machine,f=e.useFloatingLabel,b=e.onFilterInteractionStart,y=void 0!==f&&f,_=(0,h._)((0,oQ.B)(p),2),w=_[0],k=_[1],S="desktop"===(0,x._g)().type,A=(0,v.z1)().trackEvent,F=(0,h._)((0,W.useState)(!1),2),C=F[0],N=F[1],Y=!!w.context.value;m[0]!==S||m[1]!==b||m[2]!==k||m[3]!==w.context.trackingId||m[4]!==A||m[5]!==y?(a=()=>{y&&N(!0),k({type:"FOCUS",applyBehaviour:S?void 0:"debounce"}),A("".concat(w.context.trackingId,"_start")),null==b||b()},m[0]=S,m[1]=b,m[2]=k,m[3]=w.context.trackingId,m[4]=A,m[5]=y,m[6]=a):a=m[6];var I=a;m[7]!==k||m[8]!==y?(r=()=>{y&&N(!1),k({type:"BLUR"})},m[7]=k,m[8]=y,m[9]=r):r=m[9];var V=r,D=Y&&!C;m[10]===Symbol.for("react.memo_cache_sentinel")?(t=(0,g.A)("relative flex w-full gap-4","[&:focus-within>div]:[outline-offset:calc(var(--widthSmall,1px)*-2)]","[&:focus-within_input]:[outline-offset:calc(var(--widthSmall,1px)*-2)]"),m[10]=t):t=m[10];var z=t,E=D&&"[&>div]:items-start [&>div>input]:!pt-[20px] [&>div>input]:!pb-[4px] [&>div>div]:items-start [&>div>div]:!pt-[20px] [&>div>div]:!pb-[4px]";m[11]!==E?(o=(0,g.A)("[&_input]:overflow-hidden [&_input]:!pr-[16px] [&_input]:text-ellipsis [&_input]:whitespace-nowrap",E),m[11]=E,m[12]=o):o=m[12];var B=o;m[13]!==D||m[14]!==w.context.label||m[15]!==y?(l=y&&D?(0,n.Y)(tt.b0,{children:w.
1context.label}):null,m[13]=D,m[14]=w.context.label,m[15]=y,m[16]=l):l=m[16];var T=!w.context.enabled;return m[17]!==k?(c=e=>{k({type:"UPDATE_VALUE",value:e.target.value})},s=e=>{"Enter"===e.key&&k({type:"APPLY"})},m[17]=k,m[18]=s,m[19]=c):(s=m[18],c=m[19]),m[20]!==V||m[21]!==I||m[22]!==B||m[23]!==w.context.placeholder||m[24]!==w.context.value||m[25]!==s||m[26]!==T||m[27]!==c?(d=(0,n.Y)(o$.k,{className:B,placeholder:w.context.placeholder,disabled:T,value:w.context.value,prefix:oZ,onChange:c,onKeyDown:s,onFocus:I,onBlur:V}),m[20]=V,m[21]=I,m[22]=B,m[23]=w.context.placeholder,m[24]=w.context.value,m[25]=s,m[26]=T,m[27]=c,m[28]=d):d=m[28],m[29]!==d||m[30]!==l?(u=(0,n.FD)("div",{className:z,children:[l,d]}),m[29]=d,m[30]=l,m[31]=u):u=m[31],u}:e=>{var a=e.machine,r=e.useFloatingLabel,t=void 0!==r&&r,o=e.onFilterInteractionStart,l=(0,h._)((0,oQ.B)(a),2),i=l[0],s=l[1],c="desktop"===(0,x._g)().type,d=(0,v.z1)().trackEvent,u=(0,h._)((0,W.useState)(!1),2),m=u[0],p=u[1],f=!!i.context.value,b=(0,W.useCallback)(()=>{t&&p(!0),s({type:"FOCUS",applyBehaviour:c?void 0:"debounce"}),d("".concat(i.context.trackingId,"_start")),null==o||o()},[t,s,c,d,i.context.trackingId,o]),y=(0,W.useCallback)(()=>{t&&p(!1),s({type:"BLUR"})},[t,s]),_=f&&!m,w=(0,g.A)("relative flex w-full gap-4","[&:focus-within>div]:[outline-offset:calc(var(--widthSmall,1px)*-2)]","[&:focus-within_input]:[outline-offset:calc(var(--widthSmall,1px)*-2)]"),k=(0,g.A)("[&_input]:overflow-hidden [&_input]:!pr-[16px] [&_input]:text-ellipsis [&_input]:whitespace-nowrap",_&&"[&>div]:items-start [&>div>input]:!pt-[20px] [&>div>input]:!pb-[4px] [&>div>div]:items-start [&>div>div]:!pt-[20px] [&>div>div]:!pb-[4px]");return(0,n.FD)("div",{className:w,children:[t&&_?(0,n.Y)(tt.b0,{children:i.context.label}):null,(0,n.Y)(o$.k,{className:k,placeholder:i.context.placeholder,disabled:!i.context.enabled,value:i.context.value,prefix:()=>(0,n.Y)(ox.default,{}),onChange:e=>{s({type:"UPDATE_VALUE",value:e.target.value})},onKeyDown:e=>{"Enter"===e.key&&s({type:"APPLY"})},onFocus:b,onBlur:y})]})};function oZ(){return(0,n.Y)(ox.default,{})}var o0=(0,l.F)()?e=>{var a,r,t,o,l,s,c,d,u=(0,i.c)(15),m=e.t,p=(0,v.z1)().trackEvent;return u[0]!==p?(a=()=>{p("filters_load_message_error","click",{touch_point_page:"home"})},r=[p],u[0]=p,u[1]=a,u[2]=r):(a=u[1],r=u[2]),(0,W.useEffect)(a,r),u[3]===Symbol.for("react.memo_cache_sentinel")?(t={marginBottom:"10px"},u[3]=t):t=u[3],u[4]!==m?(o=m("home-filters-error"),u[4]=m,u[5]=o):o=u[5],u[6]!==o?(l=(0,n.Y)(ag.P1,{css:t,children:o}),u[6]=o,u[7]=l):l=u[7],u[8]!==m?(s=m("home-filters-error-retry"),u[8]=m,u[9]=s):s=u[9],u[10]!==s?(c=(0,n.Y)(ag.P2,{variant:"link",className:"text-foreground-action-primary",children:s}),u[10]=s,u[11]=c):c=u[11],u[12]!==l||u[13]!==c?(d=(0,n.FD)("button",{type:"button",className:"mb-200 w-full border-none bg-transparent p-0 text-center",onClick:o1,children:[l,c]}),u[12]=l,u[13]=c,u[14]=d):d=u[14],d}:e=>{var a=e.t,r=(0,v.z1)().trackEvent;return(0,W.useEffect)(()=>{r("filters_load_message_error","click",{touch_point_page:"home"})},[r]),(0,n.FD)("button",{type:"button",className:"mb-200 w-full border-none bg-transparent p-0 text-center",onClick:e=>{e.preventDefault(),window.location.reload()},children:[(0,n.Y)(ag.P1,{css:{marginBottom:"10px"},children:a("home-filters-error")}),(0,n.Y)(ag.P2,{variant:"link",className:"text-foreground-action-primary",children:a("home-filters-error-retry")})]})};function o1(e){e.preventDefault(),window.location.reload()}var o2={SELECT:{desktop:3,tablet:3,mobile:6},CHECKBOX:{desktop:{single:3},tablet:{single:6},mobile:{single:6}},RANGE:{desktop:{size:6},tablet:{size:6},mobile:{size:6}}},o3={SELECT:{desktop:6,tablet:6,mobile:12},INPUT:{desktop:6,tablet:6,mobile:12}},o5={SELECT:{desktop:6,tablet:6,mobile:12},RANGE:{desktop:{size:6},tablet:{size:6},mobile:{size:12}}},o4={SELECT:{desktop:6,tablet:6,mobile:12},SWITCH:{desktop:6,tablet:6,mobile:12},RANGE:{desktop:{size:6},tablet:{size:6},mobile:{size:12}},INPUT:{desktop:6,tablet:6,mobile:12}},o8={},o6={SELECT:{desktop:6,tablet:6,mobile:12},SWITCH:{desktop:6,tablet:6,mobile:12},RANGE:{desktop:{size:6},tablet:{size:6},mobile:{size:12}},INPUT:{desktop:6,tablet:6,mobile:12}},o9={SELECT:{desktop:6,tablet:6,mobile:12},INPUT:{desktop:6,tablet:6,mobile:12},RANGE:{desktop:{size:6},tablet:{size:6},mobile:{size:12}}},o7={SELECT:{desktop:6,tablet:6,mobile:12},SWITCH:{desktop:6,tablet:6,mobile:12},RANGE:{desktop:{size:6},tablet:{size:6},mobile:{size:12}},INPUT:{desktop:6,tablet:6,mobile:12}},ne={SELECT:{desktop:6,tablet:6,mobile:12},SWITCH:{desktop:6,tablet:6,mobile:12},RANGE:{desktop:{size:6},tablet:{size:6},mobile:{size:12}},INPUT:{desktop:6,tablet:6,mobile:12}},na=e=>{var a,r=e.t,t=e.categoryId,o=e.screenComponentsFilters,l=e.advertsSearchSummary,i=e.useFloatingLabel,s=void 0!==i&&i,c=e.manualSearchTrackingSlot,d=(0,W.useRef)(null),u=(0,h._)((0,W.useState)(null!=(a=null==l?void 0:l.totalCount)?a:0),2),m=u[0],p=u[1],f=(0,R.useRouter)(),b=(0,v.z1)().trackEvent,y=(0,x._g)().type,_=e7(t,{useHomepageLocationFilterExperiment:e_(ew.HOMEPAGE_LO
1CATION_FILTER).isEnabled}),g=(0,h._)((0,to.z)(()=>(0,tt.$X)({t:r,categoryId:t,screenName:_,filterComponentSettings:oR(o,oT(t),r),initialValues:(0,aF.KJ)(t),trackEvent:b,getScreenComponents:async(e,a)=>{var t=await oE({screenName:e,categoryId:a});return oR(null==t?void 0:t.filters,oT(a),r)},getSearchTotals:e=>oP(e),onFilterUpdate:async e=>{try{var a=await oP(e);p(a)}catch(e){p(0)}}}),{devTools:oF.K}),2),w=g[0],k=g[1],S=(e=>{switch((0,aF.$S)(e)){case G.Wd:return o2;case G.dI:return o3;case G.IF:return o5;case G.cD:return o4;case G.W8:return o8;case G.tO:return o6;case G.oP:return o9;case G.Qs:return o7;case G.jl:return ne}})(w.context.categoryId);(0,W.useEffect)(()=>{k({type:"UPDATE_SCREEN_NAME",screenName:_,categoryId:t,useNewComponents:!0})},[k,_,t]);var A=(0,W.useMemo)(()=>{var e,a=new URLSearchParams,r=(0,aF.U5)(w.context.appliedFilters),t=!0,o=!1,n=void 0;try{for(var i,s=r[Symbol.iterator]();!(t=(i=s.next()).done);t=!0){var c=i.value;a.append(c.name,c.value)}}catch(e){o=!0,n=e}finally{try{t||null==s.return||s.return()}finally{if(o)throw n}}return a.has("category_id")||a.append("category_id",w.context.categoryId),a.append(oK.j,null!=(e=null==l?void 0:l.url)?e:""),"/homepage-advert-search-summary?"+a.toString()},[w.context,null==l?void 0:l.url]);return w.hasTag("error")?(0,n.Y)(o0,{t:r}):(0,n.Y)("form",{method:"post",autoComplete:"off",onSubmit:e=>{e.preventDefault();var a,r=new URLSearchParams,t=(0,aF.U5)(w.context.appliedFilters);"advanced-search"===d.current?(b("advanced_search_click","click"),r.append(oK.A,"true")):b("search","click",Object.assign({},...t.filter(e=>"category_id"!==e.name).map(e=>{var a=oL.get(e.name);if(a)return{[null!=a?a:""]:e.value};console.error("The configuration key for '".concat(e.name,"' is missing for the 'SEARCH' tracker"))}),null==c?void 0:c.extraData));var o=!0,n=!1,i=void 0;try{for(var s,u=t[Symbol.iterator]();!(o=(s=u.next()).done);o=!0){var m=s.value;r.append(m.name,m.value)}}catch(e){n=!0,i=e}finally{try{o||null==u.return||u.return()}finally{if(n)throw i}}r.has("category_id")||r.append("category_id",w.context.categoryId),r.append(oK.j,null!=(a=null==l?void 0:l.url)?a:""),f.push("/homepage-advert-search-summary?"+r.toString())},children:(0,n.Y)(tt.A,{className:"[&_div:has(>_[role='listbox'])]:!flex [&_div:has(>_[role='listbox'])]:!flex-col [&_div:has(>_[role='listbox'])]:!gap-50 [&_div:has(>_[role='listbox'])]:!bg-white [&_[role='listbox']]:!max-h-[30vh] [&_div:has(>_[role='listbox'])]:!rounded-large [&_div:has(>_[role='listbox'])]:!p-100 [&_div:has(>_[role='listbox'])]:!shadow-[0_22px_13px_0_rgba(0,0,0,0.05),0_10px_10px_0_rgba(0,0,0,0.09)] [&_div:has(>_[role='listbox'])_[role='option']]:!w-full [&_div:has(>_[role='listbox'])_[role='option']]:!cursor-pointer [&_div:has(>_[role='listbox'])_[role='option']]:!rounded-medium [&_div:has(>_[role='listbox'])_[role='option']]:!transition-colors [&_div:has(>_[role='listbox'])_[role='option']:hover]:!bg-background-secondary [&_div:has(>_[role='listbox'])_[role='option'][aria-selected='true']]:!bg-background-secondary [&_div:has(>_[role='listbox'])_[role='option'][data-hovered='true']]:!bg-background-secondary [&_div:has(>_[role='listbox'])_[role='radio']]:!w-full [&_div:has(>_[role='listbox'])_[role='radio']]:!cursor-pointer [&_div:has(>_[role='listbox'])_[role='radio']]:!rounded-medium [&_div:has(>_[role='listbox'])_[role='radio']]:!transition-colors [&_div:has(>_[role='listbox'])_[role='radio']:hover]:!bg-background-secondary [&_div:has(>_[role='listbox'])_[role='radio'][aria-checked='true']]:!bg-background-secondary [&_div:has(>_[role='listbox'])_[role='radio'][data-hovered='true']]:!bg-background-secondary [&_div:has(>_[role='listbox'])_[role='checkbox']]:!w-full [&_div:has(>_[role='listbox'])_[role='checkbox']]:!cursor-pointer [&_div:has(>_[role='listbox'])_[role='checkbox']]:!rounded-medium [&_div:has(>_[role='listbox'])_[role='checkbox']]:!transition-colors [&_div:has(>_[role='listbox'])_[role='checkbox']:hover]:!bg-background-secondary [&_div:has(>_[role='listbox'])_[role='checkbox'][aria-checked='true']]:!bg-background-secondary [&_div:has(>_[role='listbox'])_[role='checkbox'][data-hovered='true']]:!bg-background-secondary",onFilterInteractionStart:()=>{},components:w.context.components,intent:"primary",gap:16,machines:w.context.machines,sizes:S,labelMode:s?"floating":"visible",dynamicSizeCalculation:!0,children:(e,a,t)=>{var o;return(o="INPUT"===e.renderAs?((e,a,r)=>e?(0,n.Y)(r,{size:a,children:(0,n.Y)(oJ,{machine:e,useFloatingLabel:s})}):null)(e.machine,e.size,t):"SWITCH"===e.renderAs?(0,n.Y)(tt.$3,{className:"[--colorsBackgroun
1dActionPrimary:var(--color-foreground-primary)] [--colorsBackgroundSecondary:var(--color-background-primary)] [&>div]:box-border [&>div]:rounded-[12px] [&>div]:border [&>div]:border-[4px] [&>div]:border-02-gray [&>div_button]:h-500 [&>div_button]:rounded-sm",$gap:e.gap,$size:e.size,children:a()}):a({groupHeaderSpacing:"compact",fullHeightForSelect:!1,noItemGap:"desktop"===y,itemLabelClassName:"text-p3 leading-p3"}),e.lastItem)?(0,n.FD)(n.FK,{children:[o,((e,a)=>(0,n.FD)(n.FK,{children:[(0,n.Y)(e,{size:a,children:(0,n.Y)(ag.$n,{type:"submit",variant:"primary",wrapText:!0,prefixIcon:()=>(0,n.Y)(oS.A,{}),onClick:()=>void(d.current="advanced-search"),className:"!flex !h-full !w-full !items-center !justify-center !bg-background-secondary !px-300 !py-150 !font-medium !tracking-[var(--letterSpacingRegular)] !text-foreground-primary [&_svg]:!text-foreground-primary max-md:[&_svg]:!h-[20px] max-md:[&_svg]:!w-[20px]",children:r("new-home-advanced-search-button")})}),(0,n.Y)(e,{size:a,children:(0,n.Y)(ag.$n,{asChild:!0,variant:"primary",className:"!flex !h-full !w-full !flex-col !items-center !justify-center !gap-100 !px-300 !py-150",children:(0,n.Y)(K(),{role:"button",href:A,onClick:e=>{e.preventDefault(),d.current="see-ads";var a=e.currentTarget.closest("form");a&&a.requestSubmit()},children:m>0?r("home-show-results-button",[(0,aY.Q8)(m)]):r("home-view-all-link")})})})]}))(t,e.size)]}):o}})})},nr="mx-200 flex flex-col [&_fieldset:disabled_button]:bg-background-brand-fields-disabled [&_fieldset:disabled_button]:text-global-disabled [&>article]:rounded-b-xs [&>article]:bg-background-primary lg:[&>div]:flex lg:[&>div]:grow-2 lg:[&>div]:flex-col lg:[&>div]:p-200 lg:[&>div_form]:grow-2 xl:m-0",nt=(0,l.F)()?e=>{var a,r,t,o,l,s=(0,i.c)(18),c=e.categoryId,d=e.screenComponentsFilters,u=e.advertsSearchSummary,m=e.useFloatingLabel,p=e.useSearchAreaPadding,h=e.manualSearchTrackingSlot,f=void 0!==m&&m,b=void 0===p||p,v=(0,y.Bd)("page_home").t;s[0]!==v?(a=v("home-search-title"),s[0]=v,s[1]=a):a=s[1];var _=!b;return s[2]!==_||s[3]!==b?(r=(0,g.A)({"p-300 px-150! pt-200! xl:m-0! xl:px-400!":b,"pt-turbo-20":_}),s[2]=_,s[3]=b,s[4]=r):r=s[4],s[5]!==u||s[6]!==c||s[7]!==h||s[8]!==d||s[9]!==v||s[10]!==f?(t=(0,n.Y)("fieldset",{children:(0,n.Y)(na,{t:v,categoryId:c,screenComponentsFilters:d,advertsSearchSummary:u,useFloatingLabel:f,manualSearchTrackingSlot:h})}),s[5]=u,s[6]=c,s[7]=h,s[8]=d,s[9]=v,s[10]=f,s[11]=t):t=s[11],s[12]!==r||s[13]!==t?(o=(0,n.Y)("article",{className:r,children:t}),s[12]=r,s[13]=t,s[14]=o):o=s[14],s[15]!==a||s[16]!==o?(l=(0,n.Y)("article",{className:nr,"aria-label":a,children:o}),s[15]=a,s[16]=o,s[17]=l):l=s[17],l}:e=>{var a=e.categoryId,r=e.screenComponentsFilters,t=e.advertsSearchSummary,o=e.useFloatingLabel,l=e.useSearchAreaPadding,i=void 0===l||l,s=e.manualSearchTrackingSlot,c=(0,y.Bd)("page_home").t;return(0,n.Y)("article",{className:nr,"aria-label":c("home-search-title"),children:(0,n.Y)("article",{className:(0,g.A)({"p-300 px-150! pt-200! xl:m-0! xl:px-400!":i,"pt-turbo-20":!i}),children:(0,n.Y)("fieldset",{children:(0,n.Y)(na,{t:c,categoryId:a,screenComponentsFilters:r,advertsSearchSummary:t,useFloatingLabel:void 0!==o&&o,manualSearchTrackingSlot:s})})})})},no="home-inspiration-section-title",nn="home-inspiration-show-more",nl="home-inspiration-show-less",ni={[no]:"Inspiration to explore",[nn]:"Show more",[nl]:"Show less"},ns=e=>"desktop"===e||"tablet"===e;function nc(e,a){return e.filter(e=>"all"===e.categories||e.categories.some(e=>e===j.w?(0,aF.r4)(a):e===a))}var nd=r(344525),nu=r(954610);function nm(e,a){var r=a.hasOverflow,t=a.isExpanded,o=a.collapsedLinkCount;return!r||t?[e,[]]:[e.slice(0,o),e.slice(o)]}function np(e,a){return{gridRow:Math.floor(e/a)+1,gridColumn:a}}function nh(e){if(e.startsWith("http://")||e.startsWith("https://"))return e;var a=e.indexOf("#"),r=-1===a?e:e.slice(0,a),t=-1===a?"":e.slice(a),o=r.split("?")[0];return"".concat(o).concat(t)}function nf(e,a){var r=" ".concat(e);if(a.endsWith(r)&&a.length>r.length)return{display:a.slice(0,-r.length),seoPrefix:null,seoSuffix:r};var t="".concat(e," ");return a.startsWith(t)&&a.length>t.length?{display:a.slice(t.length),seoPrefix:t,seoSuffix:null}
1:{display:a,seoPrefix:null,seoSuffix:null}}function nb(e){return"object"==typeof e.primary}function ny(e){return nb(e)?e.secondary.href:e.href}var nv="flex h-full w-full min-w-0 flex-col justify-between gap-[2px] overflow-hidden",n_="block min-w-0 max-w-full no-underline",ng=function(e){var a=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return(0,g.A)(e,"block min-w-0",a&&"truncate","hover:underline")},nw=(0,l.F)()?function(e){var a,r,t,o,l,s,c=(0,i.c)(17),d=e.primaryName,u=e.secondaryName,m=e.className;c[0]!==d||c[1]!==u?(a=nf(d,u),c[0]=d,c[1]=u,c[2]=a):a=c[2];var p=a.display,h=a.seoPrefix,f=a.seoSuffix;return c[3]!==m?(r=ng(m,!1),c[3]=m,c[4]=r):r=c[4],c[5]!==h?(t=h?(0,n.Y)("span",{className:"sr-only",children:h}):null,c[5]=h,c[6]=t):t=c[6],c[7]!==p?(o=(0,n.Y)("span",{className:"block min-w-0 truncate",children:p}),c[7]=p,c[8]=o):o=c[8],c[9]!==f?(l=f?(0,n.Y)("span",{className:"sr-only",children:f}):null,c[9]=f,c[10]=l):l=c[10],c[11]!==u||c[12]!==r||c[13]!==t||c[14]!==o||c[15]!==l?(s=(0,n.FD)("span",{className:r,title:u,children:[t,o,l]}),c[11]=u,c[12]=r,c[13]=t,c[14]=o,c[15]=l,c[16]=s):s=c[16],s}:function(e){var a=e.primaryName,r=e.secondaryName,t=e.className,o=nf(a,r),l=o.display,i=o.seoPrefix,s=o.seoSuffix;return(0,n.FD)("span",{className:ng(t,!1),title:r,children:[i?(0,n.Y)("span",{className:"sr-only",children:i}):null,(0,n.Y)("span",{className:"block min-w-0 truncate",children:l}),s?(0,n.Y)("span",{className:"sr-only",children:s}):null]})},nk=(0,l.F)()?function(e){var a,r,t,o,l,s,c=(0,i.c)(44),d=e.link,u=e.onClick,m=e.className;c[0]!==d||c[1]!==u?(h=()=>{u(d)},c[0]=d,c[1]=u,c[2]=h):h=c[2];var p=h;if(nb(d)){c[3]!==d.primary.href?(f=nh(d.primary.href),c[3]=d.primary.href,c[4]=f):f=c[4];var h,f,b,y,v,_,w,k,S,x,A=f;c[5]!==d.secondary.href?(b=nh(d.secondary.href),c[5]=d.secondary.href,c[6]=b):b=c[6];var F=b;return c[7]!==m?(y=(0,g.A)(nv,m),c[7]=m,c[8]=y):y=c[8],c[9]===Symbol.for("react.memo_cache_sentinel")?(v=ng((0,g.A)(tO.rB,"truncate opacity-90")),c[9]=v):v=c[9],c[10]!==d.primary.name||c[11]!==v?(_=(0,n.Y)("span",{className:v,title:d.primary.name,children:d.primary.name}),c[10]=d.primary.name,c[11]=v,c[12]=_):_=c[12],c[13]!==p||c[14]!==A||c[15]!==_?(w=(0,n.Y)(K(),{href:A,className:n_,onClick:p,children:_}),c[13]=p,c[14]=A,c[15]=_,c[16]=w):w=c[16],c[17]!==d.primary.name||c[18]!==d.secondary.name?(k=(0,n.Y)(nw,{primaryName:d.primary.name,secondaryName:d.secondary.name,className:tO._O}),c[17]=d.primary.name,c[18]=d.secondary.name,c[19]=k):k=c[19],c[20]!==p||c[21]!==F||c[22]!==k?(S=(0,n.Y)(K(),{href:F,className:n_,onClick:p,children:k}),c[20]=p,c[21]=F,c[22]=k,c[23]=S):S=c[23],c[24]!==y||c[25]!==w||c[26]!==S?(x=(0,n.FD)("div",{className:y,children:[w,S]}),c[24]=y,c[25]=w,c[26]=S,c[27]=x):x=c[27],x}c[28]!==d.href?(a=nh(d.href),c[28]=d.href,c[29]=a):a=c[29];var C=a;return c[30]!==m?(r=(0,g.A)(nv,n_,m),c[30]=m,c[31]=r):r=c[31],c[32]===Symbol.for("react.memo_cache_sentinel")?(t=ng((0,g.A)(tO.rB,"truncate opacity-90")),c[32]=t):t=c[32],c[33]!==d.primary||c[34]!==t?(o=(0,n.Y)("span",{className:t,title:d.primary,children:d.primary}),c[33]=d.primary,c[34]=t,c[35]=o):o=c[35],c[36]!==d.secondary?(l=d.secondary?(0,n.Y)("span",{className:ng((0,g.A)(tO._O,"truncate")),title:d.secondary,children:d.secondary}):null,c[36]=d.secondary,c[37]=l):l=c[37],c[38]!==p||c[39]!==C||c[40]!==r||c[41]!==o||c[42]!==l?(s=(0,n.FD)(K(),{href:C,className:r,onClick:p,children:[o,l]}),c[38]=p,c[39]=C,c[40]=r,c[41]=o,c[42]=l,c[43]=s):s=c[43],s}:function(e){var a=e.link,r=e.onClick,t=e.className,o=()=>{r(a)};if(nb(a)){var l=nh(a.primary.href),i=nh(a.secondary.href);return(0,n.FD)("div",{className:(0,g.A)(nv,t),children:[(0,n.Y)(K(),{href:l,className:n_,onClick:o,children:(0,n.Y)("span",{className:ng((0,g.A)(tO.rB,"truncate opacity-90")),title:a.primary.name,children:a.primary.name})}),(0,n.Y)(K(),{href:i,className:n_,onClick:o,children:(0,n.Y)(nw,{primaryName:a.primary.name,secondaryName:a.secondary.name,className:tO._O})})]})}var s=nh(a.href);return(0,n.FD)(K(),{href:s,className:(0,g.A)(nv,n_,t),onClick:o,children:[(0,n.Y)("span",{className:ng((0,g.A)(tO.rB,"truncate opacity-90")),title:a.primary,children:a.primary}),a.secondary?(0,n.Y)("span",{className:ng((0,g.A)(tO._O,"truncate")),title:a.secondary,children:a.secondary}):null]})},nS=e=>({touch_point_button:e,touch_point_page:"home"}),nx=(e,a)=>{e("footer_seo_tab_switch","click",nS(a))},nA=(e,a)=>{e("footer_seo_show_more","click",nS(a))},nF=(e,a)=>{e("footer_seo_show_less","click",nS(a))},nC="pointer-events-none absolute inset-x-0 top-0 h-0 overflow-hidden invisible opacity-0 transition-opacity duration-200 motion-reduce:transition-none",nN="relative overflow-hidden opacity-100 transition-opacity duration-200 motion-reduce:transition-none",nY="pointer-events-none absolute top-0 left-0 m-0 h-0 w-full list-none overflow-hidden p-0 invisible",nI=(0,g.A)("m-0 grid list-none grid-cols-2 gap-x-turbo-8 gap-y-turbo-16 p-0","auto-rows-[42px] md:grid-cols-6","motion-safe:transition-[grid-template-rows] motion-safe:duration-250 motion-reduce:transition-none"),nV=(0,g.A)("flex min-w-0 items-center","h-[42px] min-h-[42px]"),nD="-ml-turbo-12 [&_.turbo-button-label]:no-underline",nz=(0,l.F)()?function(e){var a=(0,i.c)(20),r=e.tabId,t=e.tabName,o=e.links,l=e.isActive,s=(0,y.Bd)("home").t,c=(0,v.z1)().trackEvent,d=(0,x._g)().type,u=(0,h._)((0,W.useState)(!1),2),m=u[0],p=u[1],f=ns(d),b=f?6:2,_=f?12:8,w=o.length>_,k=_-1;if(a[0]!==k||a[1]!==b||a[2]!==w||a[3]!==l||a[4]!==m||a[5]!==o||a[6]!==s||a[7]!==r||a[8]!==t||a[9]!==c){var S,A,F,C,N,Y=(0,h._)(nm(o,{hasOverflow:w,isExpanded:m,collapsedLinkCount:k}),2),I=Y[0],V=Y[1],D=np(I.length,b);a[11]!==c?(A=e=>{c("footer_links_seo","click",{touch_point_button:"block ".concat(e.name)}
1)},a[11]=c,a[12]=A):A=a[12];var z=A,E=l?nN:nC;a[13]!==E?(F=(0,g.A)("w-full",E),a[13]=E,a[14]=F):F=a[14];var B=m&&"motion-safe:transition-opacity motion-safe:duration-250 motion-safe:ease-out";a[15]!==B?(C=(0,g.A)(nI,B),a[15]=B,a[16]=C):C=a[16],a[17]!==z||a[18]!==r?(N=(e,a)=>(0,n.Y)("li",{className:nV,"data-testid":"inspiration-link-cell-".concat(r,"-").concat(a),children:(0,n.Y)(nk,{link:e,onClick:z})},"".concat(r,"-").concat(a,"-").concat(ny(e))),a[17]=z,a[18]=r,a[19]=N):N=a[19],S=(0,n.FD)("div",{role:"tabpanel",id:"inspiration-tabpanel-".concat(r),"aria-labelledby":"inspiration-tab-".concat(r),"aria-hidden":!l,"data-testid":"inspiration-tabpanel-".concat(r),className:F,children:[(0,n.FD)("ul",{className:C,children:[I.map(N),w&&!m?(0,n.Y)("li",{className:nV,style:{gridRow:D.gridRow,gridColumn:D.gridColumn},"data-testid":"inspiration-show-more-".concat(r),children:(0,n.Y)(aN.$,{type:"button",variant:"ghost",size:"small",className:nD,iconTrailing:(0,n.Y)(nd.D,{size:16}),onClick:()=>{nA(c,t),p(!0)},children:s(nn,null,{fallback:ni[nn]})})}):null,w&&m?(0,n.Y)("li",{className:nV,style:{gridRow:D.gridRow,gridColumn:D.gridColumn},"data-testid":"inspiration-show-less-".concat(r),children:(0,n.Y)(aN.$,{type:"button",variant:"ghost",size:"small",className:nD,iconTrailing:(0,n.Y)(nu.M,{size:16}),onClick:()=>{nF(c,t),p(!1)},children:s(nl,null,{fallback:ni[nl]})})}):null]}),V.length>0?(0,n.Y)("ul",{"aria-hidden":!0,className:nY,"data-testid":"inspiration-overflow-links-".concat(r),children:V.map((e,a)=>{var t=k+a;return(0,n.Y)("li",{"data-testid":"inspiration-link-cell-".concat(r,"-").concat(t),children:(0,n.Y)(nk,{link:e,onClick:z})},"".concat(r,"-overflow-").concat(t,"-").concat(ny(e)))})}):null]}),a[0]=k,a[1]=b,a[2]=w,a[3]=l,a[4]=m,a[5]=o,a[6]=s,a[7]=r,a[8]=t,a[9]=c,a[10]=S}else S=a[10];return S}:function(e){var a=e.tabId,r=e.tabName,t=e.links,o=e.isActive,l=(0,y.Bd)("home").t,i=(0,v.z1)().trackEvent,s=(0,x._g)().type,c=(0,h._)((0,W.useState)(!1),2),d=c[0],u=c[1],m=ns(s),p=m?12:8,f=t.length>p,b=p-1,_=(0,h._)(nm(t,{hasOverflow:f,isExpanded:d,collapsedLinkCount:b}),2),w=_[0],k=_[1],S=np(w.length,m?6:2),A=(0,W.useCallback)(e=>{i("footer_links_seo","click",{touch_point_button:"block ".concat(e.name)})},[i]);return(0,n.FD)("div",{role:"tabpanel",id:"inspiration-tabpanel-".concat(a),"aria-labelledby":"inspiration-tab-".concat(a),"aria-hidden":!o,"data-testid":"inspiration-tabpanel-".concat(a),className:(0,g.A)("w-full",o?nN:nC),children:[(0,n.FD)("ul",{className:(0,g.A)(nI,d&&"motion-safe:transition-opacity motion-safe:duration-250 motion-safe:ease-out"),children:[w.map((e,r)=>(0,n.Y)("li",{className:nV,"data-testid":"inspiration-link-cell-".concat(a,"-").concat(r),children:(0,n.Y)(nk,{link:e,onClick:A})},"".concat(a,"-").concat(r,"-").concat(ny(e)))),f&&!d?(0,n.Y)("li",{className:nV,style:{gridRow:S.gridRow,gridColumn:S.gridColumn},"data-testid":"inspiration-show-more-".concat(a),children:(0,n.Y)(aN.$,{type:"button",variant:"ghost",size:"small",className:nD,iconTrailing:(0,n.Y)(nd.D,{size:16}),onClick:()=>{nA(i,r),u(!0)},children:l(nn,null,{fallback:ni[nn]})})}):null,f&&d?(0,n.Y)("li",{className:nV,style:{gridRow:S.gridRow,gridColumn:S.gridColumn},"data-testid":"inspiration-show-less-".concat(a),children:(0,n.Y)(aN.$,{type:"button",variant:"ghost",size:"small",className:nD,iconTrailing:(0,n.Y)(nu.M,{size:16}),onClick:()=>{nF(i,r),u(!1)},children:l(nl,null,{fallback:ni[nl]})})}):null]}),k.length>0?(0,n.Y)("ul",{"aria-hidden":!0,className:nY,"data-testid":"inspiration-overflow-links-".concat(a),children:k.map((e,r)=>{var t=b+r;return(0,n.Y)("li",{"data-testid":"inspiration-link-cell-".concat(a,"-").concat(t),children:(0,n.Y)(nk,{link:e,onClick:A})},"".concat(a,"-overflow-").concat(t,"-").concat(ny(e)))})}):null]})};let nE=JSON.parse('[{"id":"popular","title":"Popularne","categories":"all","links":[{"name":"Kia Sportage","primary":{"name":"Kia","href":"/osobowe/kia"},"secondary":{"name":"Sportage","href":"/osobowe/kia/sportage"}},{"name":"Hyundai Tucson","primary":{"name":"Hyundai","href":"/osobowe/hyundai"},"secondary":{"name":"Tucson","href":"/osobowe/hyundai/tucson"}},{"name":"Volvo XC 60","primary":{"name":"Volvo","href":"/osobowe/volvo"},"secondary":{"name":"XC 60","href":"/osobowe/volvo/xc-60"}},{"name":"BYD Seal U","primary":{"name":"BYD","href":"/osobowe/byd"},"secondary":{"name":"Seal U","href":"/osobowe/byd/seal-u-byd"}},{"name":"Chery Tiggo 7","primary":{"name":"Chery","href":"/osobowe/chery"},"secondary":{"name":"Tiggo 7","href":"/osobowe/chery/tiggo-7"}},{"name":"Omoda 9","primary":{"name":"Omoda","href":"/osobowe/omoda"},"secondary":{"name":"9","href":"/osobowe/omoda/9"}},{"name":"MG HS","primary":{"name":"MG","href":"/osobowe/mg"},"secondary":{"name":"HS","href":"/osobowe/mg/hs"}},{"name":"Tesla Model Y","primary":{"name":"Tesla","href":"/osobowe/tesla"},"secondary":{"name":"Model Y","href":"/osobowe/tesla/y"}},{"name":"Nissan Qashqai","primary":{"name":"Nissan","href":"/osobowe/nissan"},"secondary":{"name":"Qashqai","href":"/osobowe/nissan/qashqai"}},{"name":"Audi A3 Sportback","primary":{"name":"Audi","href":"/osobowe/audi"},"secondary":{"name":"A3 Sportback","href":"/osobowe/audi/a3-sportback"}},{"name":"Audi A4 Limousine","primary":{"name":"Audi","href":"/osobowe/audi"},"secondary":{"name":"A4 Limousine","href":"/osobowe/audi/a4-limousine"}},{"name":"Toyota Yaris","primary":{"name":"Toyota","href":"/osobowe/toyota"},"secondary":{"name":"Yaris","href":"/osobowe/toyota/yaris"}},{"name":"Toyota Yaris Cross","primary":{"name":"Toyota","href":"/osobowe/toyota"},"secondary":{"name":"Yaris Cross","href":"/osobowe/toyota/yaris-cross"}},{"name":"Ford Escort","primary":{"name":"Ford","href":"/osobowe/ford"},"secondary":{"name":"Escort","href":"/osobowe/ford/escort"}},{"name":"Mazda CX-5","primary":{"name":"Mazda","href":"/osobowe/mazda"},"secondary":{"name":"CX-5","href":"/osobowe/mazda/cx-5"}},{"name":"Skoda Kodiaq","primary":{"name":"Skoda","href":"/osobowe/skoda"},"secondary":{"name":"Kodiaq","href":"/osobowe/skoda/kodiaq"}},{"name":"Geely Starray","primary":{"name":"Geely","href":"/osobowe/geely"},"secondary":{"name":"Starray","href":"/osobowe/geely/starray"}},{"name":"Cupra Formentor","primary":{"name":"Cupra","href":"/osobowe/cupra"},"secondary":{"name":"Formentor","href":"/osobowe/cupra/cupra-formentor"}},{"name":"Peugeot 3008","primary":{"name":"Peugeot","href":"/osobowe/peugeot"},"secondary":{"name":"3008","href":"/osobowe/peugeot/3008"}},{"name":"Mercedes-Benz GLS","primary":{"name":"Mercedes-Benz","href":"/osobowe/mercedes-benz"},"secondary":{"name":"GLS","href":"/osobowe/mercedes-benz/gls-klasa"}},{"name":"Skoda Octavia","primary":{"name":"Skoda","href":"/osobowe/skoda"},"secondary":{"name":"Octavia","href":"/osobowe/skoda/octavia"}},{"name":"Hyundai i30","primary":{"name":"Hyundai","href":"/osobowe/hyundai"},"secondary":{"name":"i30","href":"/osobowe/hyundai/i30"}},{"name":"Volkswagen T-Roc","primary":{"name":"Volkswagen","href":"/osobowe/volkswagen"},"secondary":{"name":"T-Roc","href":"/osobowe/volkswagen/t-roc"}},{"name":"Mercedes-Benz CLA","primary":{"name":"Mercedes-Benz","href":"/osobowe/mercedes-benz"},"secondary":{"name":"CLA","href":"/osobowe/mercedes-benz/cla-klasa"}},{"name":"BMW X3","primary":{"name":"BMW","href":"/osobowe/bmw"},"secondary":{"name":"X3","href":"/osobowe/bmw/x3"}},{"name":"Lexus IS","primary":{"name":"Lexus","href":"/osobowe/lexus"},"secondary":{"name":"IS","href":"/osobowe/lexus/is"}},{"name":"Jeep Wrangler","primary":{"name":"Jeep","href":"/osobowe/jeep"},"secondary":{"name":"Wrangler","href":"/osobowe/jeep/wrangler"}},{"name":"Volvo XC 90","primary":{"name":"Volvo","href":"/osobowe/volvo"},"secondary":{"name":"XC 90","href":"/osobowe/volvo/xc-90"}},{"name":"Jeep Grand Cherokee","primary":{"name":"Jeep","href":"/osobowe/jeep"},"secondary":{"name":"Grand Cherokee","href":"/osobowe/jeep/grand-cherokee"}},{"name":"Volkswagen Golf","primary":{"name":"Volkswagen","href":"/osobowe/volkswagen"},"secondary":{"name":"Golf","href":"/osobowe/volkswagen/golf"}},{"name":"Renault Captur","primary":{"name":"Renault","href":"/osobowe/renault"},"secondary":{"name":"Captur","href":"/osobowe/renault/captur"}},{"name":"Omoda 5","primary":{"name":"Omoda","href":"/osobowe/omoda"},"secondary":{"name":"5","href":"/osobowe/omoda/5"}},{"name":"Porsche 911","primary":{"name":"Porsche","href":"/osobowe/porsche"},"secondary":{"name":"911","href":"/osobowe/porsche/911"}},{"name":"Fiat 500","primary":{"name":"Fiat","href":"/osobowe/fiat"},"secondary":{"name":"500","href":"/osobowe/fiat/500"}},{"name":"Kia Stinger","primary":{"name":"Kia","href":"/osobowe/kia"},"secondary":{"name":"Stinger","href":"/osobowe/kia/stinger"}},{"name":"Tesla Cybertruck","primary":{"name":"Tesla","href":"/osobowe/tesla"},"secondary":{"name":"Cybertruck","href":"/osobowe/tesla/cybertruck"}}
1,{"name":"Honda Civic","primary":{"name":"Honda","href":"/osobowe/honda"},"secondary":{"name":"Civic","href":"/osobowe/honda/civic"}},{"name":"Honda CR-V","primary":{"name":"Honda","href":"/osobowe/honda"},"secondary":{"name":"CR-V","href":"/osobowe/honda/cr-v"}},{"name":"Opel Mokka","primary":{"name":"Opel","href":"/osobowe/opel"},"secondary":{"name":"Mokka","href":"/osobowe/opel/mokka"}},{"name":"Peugeot 308","primary":{"name":"Peugeot","href":"/osobowe/peugeot"},"secondary":{"name":"308","href":"/osobowe/peugeot/308"}},{"name":"Dacia Duster","primary":{"name":"Dacia","href":"/osobowe/dacia"},"secondary":{"name":"Duster","href":"/osobowe/dacia/duster"}},{"name":"Lexus LBX","primary":{"name":"Lexus","href":"/osobowe/lexus"},"secondary":{"name":"LBX","href":"/osobowe/lexus/lbx"}},{"name":"Citro\xebn C3","primary":{"name":"Citro\xebn","href":"/osobowe/citroen"},"secondary":{"name":"C3","href":"/osobowe/citroen/c3"}},{"name":"Alfa Romeo Giulia","primary":{"name":"Alfa Romeo","href":"/osobowe/alfa-romeo"},"secondary":{"name":"Giulia","href":"/osobowe/alfa-romeo/giulia"}},{"name":"Opel Astra","primary":{"name":"Opel","href":"/osobowe/opel"},"secondary":{"name":"Astra","href":"/osobowe/opel/astra"}},{"name":"Mercedes-Benz Glc Klasa","primary":{"name":"Mercedes-Benz","href":"/osobowe/mercedes-benz"},"secondary":{"name":"Mercedes-Benz Glc Klasa","href":"/osobowe/mercedes-benz/glc-klasa"}},{"name":"Toyota C Hr","primary":{"name":"Toyota","href":"/osobowe/toyota"},"secondary":{"name":"Toyota C Hr","href":"/osobowe/toyota/c-hr"}},{"name":"Audi A5 Sportback","primary":{"name":"Audi","href":"/osobowe/audi"},"secondary":{"name":"Audi A5 Sportback","href":"/osobowe/audi/a5-sportback"}},{"name":"Audi A7 Sportback","primary":{"name":"Audi","href":"/osobowe/audi"},"secondary":{"name":"Audi A7 Sportback","href":"/osobowe/audi/a7"}},{"name":"Audi A8","primary":{"name":"Audi","href":"/osobowe/audi"},"secondary":{"name":"Audi A8","href":"/osobowe/audi/a8"}},{"name":"Audi R8 Coup\xe9","primary":{"name":"Audi","href":"/osobowe/audi"},"secondary":{"name":"Audi R8 Coup\xe9","href":"/osobowe/audi/r8"}},{"name":"Audi RS7 Sportback","primary":{"name":"Audi","href":"/osobowe/audi"},"secondary":{"name":"Audi RS7 Sportback","href":"/osobowe/audi/rs7"}},{"name":"BMW i8","primary":{"name":"BMW","href":"/osobowe/bmw"},"secondary":{"name":"BMW i8","href":"/osobowe/bmw/i8"}},{"name":"BMW M2","primary":{"name":"BMW","href":"/osobowe/bmw"},"secondary":{"name":"BMW M2","href":"/osobowe/bmw/m2"}},{"name":"BMW M3","primary":{"name":"BMW","href":"/osobowe/bmw"},"secondary":{"name":"BMW M3","href":"/osobowe/bmw/m3"}},{"name":"BMW X1","primary":{"name":"BMW","href":"/osobowe/bmw"},"secondary":{"name":"BMW X1","href":"/osobowe/bmw/x1"}},{"name":"BMW X6","primary":{"name":"BMW","href":"/osobowe/bmw"},"secondary":{"name":"BMW X6","href":"/osobowe/bmw/x6"}},{"name":"Volkswagen Golf Plus","primary":{"name":"Volkswagen","href":"/osobowe/volkswagen"},"secondary":{"name":"Volkswagen Golf Plus","href":"/osobowe/volkswagen/golf-plus"}},{"name":"Volkswagen Jetta","primary":{"name":"Volkswagen","href":"/osobowe/volkswagen"},"secondary":{"name":"Volkswagen Jetta","href":"/osobowe/volkswagen/jetta"}},{"name":"Volkswagen Polo","primary":{"name":"Volkswagen","href":"/osobowe/volkswagen"},"secondary":{"name":"Volkswagen Polo","href":"/osobowe/volkswagen/polo"}},{"name":"Volkswagen Scirocco","primary":{"name":"Volkswagen","href":"/osobowe/volkswagen"},"secondary":{"name":"Volkswagen Scirocco","href":"/osobowe/volkswagen/scirocco"}},{"name":"Volkswagen Sharan","primary":{"name":"Volkswagen","href":"/osobowe/volkswagen"},"secondary":{"name":"Volkswagen Sharan","href":"/osobowe/volkswagen/sharan"}},{"name":"Volkswagen Touareg","primary":{"name":"Volkswagen","href":"/osobowe/volkswagen"},"secondary":{"name":"Volkswagen Touareg","href":"/osobowe/volkswagen/touareg"}},{"name":"Volkswagen Touran","primary":{"name":"Volkswagen","href":"/osobowe/volkswagen"},"secondary":{"name":"Volkswagen Touran","href":"/osobowe/volkswagen/touran"}}]},{"id":"popular-electrics","title":"Elektryczne","categories":["29-electric"],"links":[{"name":"BYD Seal","primary":{"name":"BYD elektryczne","href":"https://www.otomoto.pl/osobowe/byd?search%5Bfilter_enum_fuel_type%5D=electric"},"secondary":{"name":"Seal","href":"/osobowe/byd/seal"}},{"name":"Dacia Spring","primary":{"name":"Dacia elektryczne","href":"https://www.otomoto.pl/osobowe/dacia?search%5Bfilter_enum_fuel_type%5D=electric"},"secondary":{"name":"Spring","href":"/osobowe/dacia/spring"}},{"name":"Tesla Model 3","primary":{"name":"Tesla","href":"/osobowe/tesla"},"secondary":{"name":"Model 3","href":"/osobowe/tesla/model-3"}},{"name":"BYD Dolphin Surf","primary":{"name":"BYD elektryczne","href":"https://www.otomoto.pl/osobowe/byd?search%5Bfilter_enum_fuel_type%5D=electric"},"secondary":{"name":"Dolphin Surf","href":"/osobowe/byd/dolphin-surf"}},{"name":"Tesla Model Y","primary":{"name":"Tesla","href":"/osobowe/tesla"},"secondary":{"name":"Model Y","href":"/osobowe/tesla/y"}},{"name":"Leapmotor T03","primary":{"name":"Leapmotor elektryczne","href":"https://www.otomoto.pl/osobowe/leapmotor?search%5Bfilter_enum_fuel_type%5D=electric"},"secondary":{"name":"T03","href":"/osobowe/leapmotor/t03"}},{"name":"Porsche Taycan","primary":{"name":"Porsche elektryczne","href":"https://www.otomoto.pl/osobowe/porsche?search%5Bfilter_enum_fuel_type%5D=electric"},"secondary":{"name":"Taycan","href":"/osobowe/porsche/taycan"}},{"name":"Skoda Elroq","primary":{"name":"Skoda elektryczne","href":"https://www.otomoto.pl/osobowe/skoda?search%5Bfilter_enum_fuel_type%5D=electric"},"secondary":{"name":"Elroq","href":"/osobowe/skoda/elroq"}},{"name":"Toyota bZ4X","primary":{"name":"Toyota elektryczne","href":"https://www.otomoto.pl/osobowe/toyota?search%5Bfilter_enum_fuel_type%5D=electric"},"secondary":{"name":"bZ4X","href":"/osobowe/toyota/bz4x"}},{"name":"Audi e-tron","primary":{"name":"Audi elektryczne","href":"https://www.otomoto.pl/osobowe/audi?search%5Bfilter_enum_fuel_type%5D=electric"},"secondary":{"name":"e-tron","href":"/osobowe/audi/e-tron"}},{"name":"BYD Sealion 7","primary":{"name":"BYD elektryczne","href":"https://www.otomoto.pl/osobowe/byd?search%5Bfilter_enum_fuel_type%5D=electric"},"secondary":{"name":"Sealion 7","href":"/osobowe/byd/sealion-7"}},{"name":"Kia EV6","primary":{"name":"Kia elektryczne","href":"https://www.otomoto.pl/osobowe/kia?search%5Bfilter_enum_fuel_type%5D=electric"},"secondary":{"name":"EV6","href":"/osobowe/kia/ev6"}}]},{"id":"regions","title":"Regiony","categories":"all","links":[{"name":"Suzuki Vitara MaÅopolskie","primary":{"name":"MaÅopolskie","href":"/osobowe/malopolskie"},"secondary":{"name":"Suzuki Vitara MaÅopolskie","href":"/osobowe/suzuki/vitara/malopolskie"}},{"name":"Opel Mokka Podkarpackie","primary":{"name":"Podkarpackie","href":"/osobowe/podkarpackie"},"secondary":{"name":"Opel Mokka Podkarpackie","href":"/osobowe/opel/mokka/podkarpackie"}},{"name":"Opel Mokka ÅwiÄtokrzyskie","primary":{"name":"ÅwiÄtokrzyskie","href":"/osobowe/swietokrzyskie"},"secondary":{"name":"Opel Mokka ÅwiÄtokrzyskie","href":"/osobowe/opel/mokka/swietokrzyskie"}},{"name":"Nissan Qashqai Zachodniopomorskie","primary":{"name":"Zachodniopomorskie","href":"/osobowe/zachodniopomorskie"},"secondary":{"name":"Nissan Qashqai Zachodniopomorskie","href":"/osobowe/nissan/qashqai/zachodniopomorskie"}},{"name":"Ford Kuga Lubuskie","primary":{"name":"Lubuskie","href":"/osobowe/lubuskie"},"secondary":{"name":"Ford Kuga Lubuskie","href":"/osobowe/ford/kuga/lubuskie"}},{"name":"Renault Captur ÅlÄ
skie","primary":{"name":"ÅlÄ
skie","href":"/osobowe/slaskie"},"secondary":{"name":"Renault Captur ÅlÄ
skie","href":"/osobowe/renault/captur/slaskie"}},{"name":"Hyundai Tucson Warszawa","primary":{"name":"Warszawa","href":"/osobowe/warszawa"},"secondary":{"name":"Hyundai Tucson Warszawa","href":"/osobowe/hyundai/tucson/warszawa"}},{"name":"Suzuki WrocÅaw","primary":{"name":"WrocÅaw","href":"/osobowe/wroclaw"},"secondary":{"name":"Suzuki WrocÅaw","href":"/osobowe/suzuki/wroclaw"}},{"name":"Volkswagen PoznaÅ","primary":{"name":"PoznaÅ","href":"/osobowe/poznan"},"secondary":{"name":"Volkswagen PoznaÅ","href":"/osobowe/volkswagen/poznan"}},{"name":"BYD Å\xf3dź","primary":{"name":"Å\xf3dź","href":"/osobowe/lodz"},"secondary":{"name":"BYD Å\xf3dź","href":"/osobowe/byd/lodz"}}
1,{"name":"Jeep GdaÅsk","primary":{"name":"GdaÅsk","href":"/osobowe/gdansk"},"secondary":{"name":"Jeep GdaÅsk","href":"/osobowe/jeep/gdansk"}},{"name":"Honda Szczecin","primary":{"name":"Szczecin","href":"/osobowe/szczecin"},"secondary":{"name":"Honda Szczecin","href":"/osobowe/honda/szczecin"}},{"name":"BYD Krak\xf3w","primary":{"name":"Krak\xf3w","href":"/osobowe/krakow"},"secondary":{"name":"BYD Krak\xf3w","href":"/osobowe/byd/krakow"}},{"name":"Ford Kuga Ostr\xf3w Mazowiecka","primary":{"name":"Ostr\xf3w Mazowiecka","href":"/osobowe/ostrow-mazowiecka"},"secondary":{"name":"Ford Kuga Ostr\xf3w Mazowiecka","href":"/osobowe/ford/kuga/ostrow-mazowiecka"}},{"name":"Dacia Bydgoszcz","primary":{"name":"Bydgoszcz","href":"/osobowe/bydgoszcz"},"secondary":{"name":"Dacia Bydgoszcz","href":"/osobowe/dacia/bydgoszcz"}},{"name":"Jeep Kalisz","primary":{"name":"Kalisz","href":"/osobowe/kalisz"},"secondary":{"name":"Jeep Kalisz","href":"/osobowe/jeep/kalisz"}},{"name":"Mercedes-Benz ZamoÅÄ","primary":{"name":"ZamoÅÄ","href":"/osobowe/zamosc"},"secondary":{"name":"Mercedes-Benz ZamoÅÄ","href":"/osobowe/mercedes-benz/zamosc"}},{"name":"Ferrari Katowice","primary":{"name":"Katowice","href":"/osobowe/katowice"},"secondary":{"name":"Ferrari Katowice","href":"/osobowe/ferrari/katowice"}},{"name":"Toyota BiaÅystok","primary":{"name":"BiaÅystok","href":"/osobowe/bialystok"},"secondary":{"name":"Toyota BiaÅystok","href":"/osobowe/toyota/bialystok"}},{"name":"Fiat Bielsko-BiaÅa","primary":{"name":"Bielsko-BiaÅa","href":"/osobowe/bielsko-biala"},"secondary":{"name":"Fiat Bielsko-BiaÅa","href":"/osobowe/fiat/bielsko-biala"}},{"name":"Toyota Bytom","primary":{"name":"Bytom","href":"/osobowe/bytom"},"secondary":{"name":"Toyota Bytom","href":"/osobowe/toyota/bytom"}},{"name":"Volkswagen Tiguan CzÄstochowa","primary":{"name":"CzÄstochowa","href":"/osobowe/czestochowa"},"secondary":{"name":"Volkswagen Tiguan CzÄstochowa","href":"/osobowe/volkswagen/tiguan/czestochowa"}},{"name":"Ford DolnoÅlÄ
skie","primary":{"name":"DolnoÅlÄ
skie","href":"/osobowe/dolnoslaskie"},"secondary":{"name":"Ford DolnoÅlÄ
skie","href":"/osobowe/ford/dolnoslaskie"}},{"name":"Toyota Auris Gdynia","primary":{"name":"Gdynia","href":"/osobowe/gdynia"},"secondary":{"name":"Toyota Auris Gdynia","href":"/osobowe/toyota/auris/gdynia"}},{"name":"Volvo Gliwice","primary":{"name":"Gliwice","href":"/osobowe/gliwice"},"secondary":{"name":"Volvo Gliwice","href":"/osobowe/volvo/gliwice"}},{"name":"Opel Gniezno","primary":{"name":"Gniezno","href":"/osobowe/gniezno"},"secondary":{"name":"Opel Gniezno","href":"/osobowe/opel/gniezno"}},{"name":"Dacia Kielce","primary":{"name":"Kielce","href":"/osobowe/kielce"},"secondary":{"name":"Dacia Kielce","href":"/osobowe/dacia/kielce"}},{"name":"Skoda Koszalin","primary":{"name":"Koszalin","href":"/osobowe/koszalin"},"secondary":{"name":"Skoda Koszalin","href":"/osobowe/skoda/koszalin"}},{"name":"Kia Rio Å\xf3dzkie","primary":{"name":"Å\xf3dzkie","href":"/osobowe/lodzkie"},"secondary":{"name":"Kia Rio Å\xf3dzkie","href":"/osobowe/kia/rio/lodzkie"}},{"name":"Toyota Lubelskie","primary":{"name":"Lubelskie","href":"/osobowe/lubelskie"},"secondary":{"name":"Toyota Lubelskie","href":"/osobowe/toyota/lubelskie"}},{"name":"Skoda Yeti Mazowieckie","primary":{"name":"Mazowieckie","href":"/osobowe/mazowieckie"},"secondary":{"name":"Skoda Yeti Mazowieckie","href":"/osobowe/skoda/yeti/mazowieckie"}},{"name":"Samochody Osobowe Nissan Qashqai","primary":{"name":"Samochody Osobowe","href":"/osobowe/nowe"},"secondary":{"name":"Nissan Qashqai","href":"/osobowe/nowe/nissan/qashqai"}},{"name":"Cupra Olsztyn","primary":{"name":"Olsztyn","href":"/osobowe/olsztyn"},"secondary":{"name":"Cupra Olsztyn","href":"/osobowe/cupra/olsztyn"}},{"name":"Volvo Opole","primary":{"name":"Opole","href":"/osobowe/opole"},"secondary":{"name":"Volvo Opole","href":"/osobowe/volvo/opole"}},{"name":"Opolskie Toyota MaÅopolskie","primary":{"name":"Opolskie","href":"/osobowe/opolskie"},"secondary":{"name":"Toyota MaÅopolskie","href":"/osobowe/toyota/malopolskie"}},{"name":"Kia Podlaskie","primary":{"name":"Podlaskie","href":"/osobowe/podlaskie"},"secondary":{"name":"Kia Podlaskie","href":"/osobowe/kia/podlaskie"}},{"name":"Pomorskie Hyundai Tucson Zachodniopomorskie","primary":{"name":"Pomorskie","href":"/osobowe/pomorskie"},"secondary":{"name":"Hyundai Tucson Zachodniopomorskie","href":"/osobowe/hyundai/tucson/zachodniopomorskie"}},{"name":"Dacia Rybnik","primary":{"name":"Rybnik","href":"/osobowe/rybnik"},"secondary":{"name":"Dacia Rybnik","href":"/osobowe/dacia/rybnik"}},{"name":"Toyota Rzesz\xf3w","primary":{"name":"Rzesz\xf3w","href":"/osobowe/rzeszow"},"secondary":{"name":"Toyota Rzesz\xf3w","href":"/osobowe/toyota/rzeszow"}},{"name":"Toyota Siedlce","primary":{"name":"Siedlce","href":"/osobowe/siedlce"},"secondary":{"name":"Toyota Siedlce","href":"/osobowe/toyota/siedlce"}},{"name":"Toyota Sosnowiec","primary":{"name":"Sosnowiec","href":"/osobowe/sosnowiec"},"secondary":{"name":"Toyota Sosnowiec","href":"/osobowe/toyota/sosnowiec"}},{"name":"MG ToruÅ","primary":{"name":"ToruÅ","href":"/osobowe/torun"},"secondary":{"name":"MG ToruÅ","href":"/osobowe/mg/torun"}},{"name":"Jeep Grand Cherokee Wielkopolskie","primary":{"name":"Wielkopolskie","href":"/osobowe/wielkopolskie"},"secondary":{"name":"Jeep Grand Cherokee Wielkopolskie","href":"/osobowe/jeep/grand-cherokee/wielkopolskie"}},{"name":"Volvo Zielona G\xf3ra","primary":{"name":"Zielona G\xf3ra","href":"/osobowe/zielonagora"},"secondary":{"name":"Volvo Zielona G\xf3ra","href":"/osobowe/volvo/zielonagora"}}]},{"id":"body-type","title":"Typ nadwozia","categories":"all","links":[{"name":"Mercedes-Benz SUV","primary":{"name":"SUV","href":"/osobowe/seg-suv"},"secondary":{"name":"Mercedes-Benz SUV","href":"/osobowe/mercedes-benz/seg-suv"}},{"name":"Volvo Kombi","primary":{"name":"Kombi","href":"/osobowe/seg-combi"},"secondary":{"name":"Volvo Kombi","href":"/osobowe/volvo/seg-combi"}},{"name":"Mercedes-Benz Coupe","primary":{"name":"Coupe","href":"/osobowe/seg-coupe"},"secondary":{"name":"Mercedes-Benz Coupe","href":"/osobowe/mercedes-benz/seg-coupe"}},{"name":"Volvo Sedan","primary":{"name":"Sedan","href":"/osobowe/seg-sedan"},"secondary":{"name":"Volvo Sedan","href":"/osobowe/volvo/seg-sedan"}},{"name":"BMW Kabriolet","primary":{"name":"Kabriolet","href":"/osobowe/seg-cabrio"},"secondary":{"name":"BMW Kabriolet","href":"/osobowe/bmw/seg-cabrio"}},{"name":"Toyota Minivan","primary":{"name":"Minivan","href":"/osobowe/seg-minivan"},"secondary":{"name":"Toyota Minivan","href":"/osobowe/toyota/seg-minivan"}},{"name":"Audi Kombi Audi RS6 Kombi","primary":{"name":"Audi Kombi","href":"/osobowe/audi/seg-combi"},"secondary":{"name":"Audi RS6 Kombi","href":"/osobowe/audi/rs6/seg-combi"}},{"name":"Mercedes-Benz Coupe Mercedes-Benz GLC Coupe","primary":{"name":"Mercedes-Benz Coupe","href":"/osobowe/mercedes-benz/seg-coupe"},"secondary":{"name":"Mercedes-Benz GLC Coupe","href":"/osobowe/mercedes-benz/glc-klasa/seg-coupe"}},{"name":"Toyota Kombi Toyota Corolla Kombi","primary":{"name":"Toyota Kombi","href":"/osobowe/toyota/seg-combi"},"secondary":{"name":"Toyota Corolla Kombi","href":"/osobowe/toyota/corolla/seg-combi"}}
1,{"name":"BMW Kombi BMW M3 Kombi","primary":{"name":"BMW Kombi","href":"/osobowe/bmw/seg-combi"},"secondary":{"name":"BMW M3 Kombi","href":"/osobowe/bmw/m3/seg-combi"}},{"name":"Mercedes-Benz Coupe Mercedes-Benz GLE Coupe","primary":{"name":"Mercedes-Benz Coupe","href":"/osobowe/mercedes-benz/seg-coupe"},"secondary":{"name":"Mercedes-Benz GLE Coupe","href":"/osobowe/mercedes-benz/gle-klasa/seg-coupe"}},{"name":"Skoda Kombi Skoda Octavia Kombi","primary":{"name":"Skoda Kombi","href":"/osobowe/skoda/seg-combi"},"secondary":{"name":"Skoda Octavia Kombi","href":"/osobowe/skoda/octavia/seg-combi"}},{"name":"Kia Kombi Kia Ceed Kombi","primary":{"name":"Kia Kombi","href":"/osobowe/kia/seg-combi"},"secondary":{"name":"Kia Ceed Kombi","href":"/osobowe/kia/ceed/seg-combi"}},{"name":"BMW Coupe BMW Seria 1 Coupe","primary":{"name":"BMW Coupe","href":"/osobowe/bmw/seg-coupe"},"secondary":{"name":"BMW Seria 1 Coupe","href":"/osobowe/bmw/seria-1/seg-coupe"}},{"name":"Skoda Kombi Skoda Superb Kombi","primary":{"name":"Skoda Kombi","href":"/osobowe/skoda/seg-combi"},"secondary":{"name":"Skoda Superb Kombi","href":"/osobowe/skoda/superb/seg-combi"}},{"name":"Hyundai Kombi Hyundai i30 Kombi","primary":{"name":"Hyundai Kombi","href":"/osobowe/hyundai/seg-combi"},"secondary":{"name":"Hyundai i30 Kombi","href":"/osobowe/hyundai/i30/seg-combi"}},{"name":"BMW Coupe BMW M3 Coupe","primary":{"name":"BMW Coupe","href":"/osobowe/bmw/seg-coupe"},"secondary":{"name":"BMW M3 Coupe","href":"/osobowe/bmw/m3/seg-coupe"}},{"name":"Renault Coupe Renault Laguna Coupe","primary":{"name":"Renault Coupe","href":"/osobowe/renault/seg-coupe"},"secondary":{"name":"Renault Laguna Coupe","href":"/osobowe/renault/laguna/seg-coupe"}},{"name":"Mazda Sedan Mazda 3 Sedan","primary":{"name":"Mazda Sedan","href":"/osobowe/mazda/seg-sedan"},"secondary":{"name":"Mazda 3 Sedan","href":"/osobowe/mazda/3/seg-sedan"}},{"name":"Fiat Kabriolet Fiat 500 Kabriolet","primary":{"name":"Fiat Kabriolet","href":"/osobowe/fiat/seg-cabrio"},"secondary":{"name":"Fiat 500 Kabriolet","href":"/osobowe/fiat/500/seg-cabrio"}},{"name":"Mazda Kombi Mazda 6 Kombi","primary":{"name":"Mazda Kombi","href":"/osobowe/mazda/seg-combi"},"secondary":{"name":"Mazda 6 Kombi","href":"/osobowe/mazda/6/seg-combi"}},{"name":"Audi Sedan Audi RS3 Sportback Sedan","primary":{"name":"Audi Sedan","href":"/osobowe/audi/seg-sedan"},"secondary":{"name":"Audi RS3 Sportback Sedan","href":"/osobowe/audi/rs3/seg-sedan"}},{"name":"Volkswagen Kombi Volkswagen Arteon Kombi","primary":{"name":"Volkswagen Kombi","href":"/osobowe/volkswagen/seg-combi"},"secondary":{"name":"Volkswagen Arteon Kombi","href":"/osobowe/volkswagen/arteon/seg-combi"}},{"name":"Ford Kombi Ford Focus Kombi","primary":{"name":"Ford Kombi","href":"/osobowe/ford/seg-combi"},"secondary":{"name":"Ford Focus Kombi","href":"/osobowe/ford/focus/seg-combi"}},{"name":"MINI Kabriolet MINI Cooper Kabriolet","primary":{"name":"MINI Kabriolet","href":"/osobowe/mini/seg-cabrio"},"secondary":{"name":"MINI Cooper Kabriolet","href":"/osobowe/mini/cooper/seg-cabrio"}},{"name":"Hyundai Kombi Hyundai i40 Kombi","primary":{"name":"Hyundai Kombi","href":"/osobowe/hyundai/seg-combi"},"secondary":{"name":"Hyundai i40 Kombi","href":"/osobowe/hyundai/i40/seg-combi"}},{"name":"Opel Kombi Opel Astra Kombi","primary":{"name":"Opel Kombi","href":"/osobowe/opel/seg-combi"},"secondary":{"name":"Opel Astra Kombi","href":"/osobowe/opel/astra/seg-combi"}},{"name":"Peugeot Coupe Peugeot 407 Coupe","primary":{"name":"Peugeot Coupe","href":"/osobowe/peugeot/seg-coupe"},"secondary":{"name":"Peugeot 407 Coupe","href":"/osobowe/peugeot/407/seg-coupe"}},{"name":"Fiat Kombi Fiat Tipo Kombi","primary":{"name":"Fiat Kombi","href":"/osobowe/fiat/seg-combi"},"secondary":{"name":"Fiat Tipo Kombi","href":"/osobowe/fiat/tipo/seg-combi"}},{"name":"Toyota Kombi Toyota Avensis Kombi","primary":{"name":"Toyota Kombi","href":"/osobowe/toyota/seg-combi"},"secondary":{"name":"Toyota Avensis Kombi","href":"/osobowe/toyota/avensis/seg-combi"}},{"name":"Peugeot Kombi Peugeot 508 Kombi","primary":{"name":"Peugeot Kombi","href":"/osobowe/peugeot/seg-combi"},"secondary":{"name":"Peugeot 508 Kombi","href":"/osobowe/peugeot/508/seg-combi"}},{"name":"MG SUV MG ZS SUV","primary":{"name":"MG SUV","href":"/osobowe/mg/seg-suv"},"secondary":{"name":"MG ZS SUV","href":"/osobowe/mg/zs/seg-suv"}},{"name":"Opel Kabriolet Opel Astra Kabriolet","primary":{"name":"Opel Kabriolet","href":"/osobowe/opel/seg-cabrio"},"secondary":{"name":"Opel Astra Kabriolet","href":"/osobowe/opel/astra/seg-cabrio"}},{"name":"Peugeot Kombi Peugeot 308 Kombi","primary":{"name":"Peugeot Kombi","href":"/osobowe/peugeot/seg-combi"},"secondary":{"name":"Peugeot 308 Kombi","href":"/osobowe/peugeot/308/seg-combi"}},{"name":"Porsche Kabriolet Porsche 911 Kabriolet","primary":{"name":"Porsche Kabriolet","href":"/osobowe/porsche/seg-cabrio"},"secondary":{"name":"Porsche 911 Kabriolet","href":"/osobowe/porsche/911/seg-cabrio"}},{"name":"Opel Kombi Opel Insignia Kombi","primary":{"name":"Opel Kombi","href":"/osobowe/opel/seg-combi"},"secondary":{"name":"Opel Insignia Kombi","href":"/osobowe/opel/insignia/seg-combi"}},{"name":"Seat Kombi Seat Leon Kombi","primary":{"name":"Seat Kombi","href":"/osobowe/seat/seg-combi"},"secondary":{"name":"Seat Leon Kombi","href":"/osobowe/seat/leon/seg-combi"}}
1,{"name":"Mazda Kabriolet Mazda MX-5 Kabriolet","primary":{"name":"Mazda Kabriolet","href":"/osobowe/mazda/seg-cabrio"},"secondary":{"name":"Mazda MX-5 Kabriolet","href":"/osobowe/mazda/mx-5/seg-cabrio"}},{"name":"Volkswagen Kombi Volkswagen Passat Kombi","primary":{"name":"Volkswagen Kombi","href":"/osobowe/volkswagen/seg-combi"},"secondary":{"name":"Volkswagen Passat Kombi","href":"/osobowe/volkswagen/passat/seg-combi"}},{"name":"Ford Kabriolet Ford Mustang Kabriolet","primary":{"name":"Ford Kabriolet","href":"/osobowe/ford/seg-cabrio"},"secondary":{"name":"Ford Mustang Kabriolet","href":"/osobowe/ford/mustang/seg-cabrio"}},{"name":"Citro\xebn Kombi Citro\xebn C5 Kombi","primary":{"name":"Citro\xebn Kombi","href":"/osobowe/citroen/seg-combi"},"secondary":{"name":"Citro\xebn C5 Kombi","href":"/osobowe/citroen/c5/seg-combi"}},{"name":"Ford Kombi Ford Mondeo Kombi","primary":{"name":"Ford Kombi","href":"/osobowe/ford/seg-combi"},"secondary":{"name":"Ford Mondeo Kombi","href":"/osobowe/ford/mondeo/seg-combi"}},{"name":"Audi Kabriolet Audi 80 Kabriolet","primary":{"name":"Audi Kabriolet","href":"/osobowe/audi/seg-cabrio"},"secondary":{"name":"Audi 80 Kabriolet","href":"/osobowe/audi/80/seg-cabrio"}},{"name":"Renault Coupe Renault Megane Coupe","primary":{"name":"Renault Coupe","href":"/osobowe/renault/seg-coupe"},"secondary":{"name":"Renault Megane Coupe","href":"/osobowe/renault/megane/seg-coupe"}},{"name":"BMW Kabriolet BMW Seria 4 Kabriolet","primary":{"name":"BMW Kabriolet","href":"/osobowe/bmw/seg-cabrio"},"secondary":{"name":"BMW Seria 4 Kabriolet","href":"/osobowe/bmw/seria-4/seg-cabrio"}},{"name":"Kia Kombi Kia Optima Kombi","primary":{"name":"Kia Kombi","href":"/osobowe/kia/seg-combi"},"secondary":{"name":"Kia Optima Kombi","href":"/osobowe/kia/optima/seg-combi"}},{"name":"Volkswagen Kabriolet Volkswagen T-Roc Kabriolet","primary":{"name":"Volkswagen Kabriolet","href":"/osobowe/volkswagen/seg-cabrio"},"secondary":{"name":"Volkswagen T-Roc Kabriolet","href":"/osobowe/volkswagen/t-roc/seg-cabrio"}},{"name":"Honda Sedan Honda Civic Sedan","primary":{"name":"Honda Sedan","href":"/osobowe/honda/seg-sedan"},"secondary":{"name":"Honda Civic Sedan","href":"/osobowe/honda/civic/seg-sedan"}}]},{"id":"fuel","title":"Paliwo","categories":"all","links":[{"name":"Toyota Benzyna","primary":{"name":"Benzyna","href":"https://www.otomoto.pl/osobowe?search%5Bfilter_enum_fuel_type%5D=petrol"},"secondary":{"name":"Toyota Benzyna","href":"https://www.otomoto.pl/osobowe/toyota?search%5Bfilter_enum_fuel_type%5D=petrol"}},{"name":"Volvo Elektryczny","primary":{"name":"Elektryczny","href":"https://www.otomoto.pl/osobowe?search%5Bfilter_enum_fuel_type%5D=electric"},"secondary":{"name":"Volvo Elektryczny","href":"https://www.otomoto.pl/osobowe/volvo?search%5Bfilter_enum_fuel_type%5D=electric"}},{"name":"Toyota Hybryda","primary":{"name":"Hybryda","href":"https://www.otomoto.pl/osobowe?search%5Bfilter_enum_fuel_type%5D=hybrid"},"secondary":{"name":"Toyota Hybryda","href":"https://www.otomoto.pl/osobowe/toyota?search%5Bfilter_enum_fuel_type%5D=hybrid"}},{"name":"Mercedes-Benz Diesel","primary":{"name":"Diesel","href":"https://www.otomoto.pl/osobowe?search%5Bfilter_enum_fuel_type%5D=diesel"},"secondary":{"name":"Mercedes-Benz Diesel","href":"https://www.otomoto.pl/osobowe/mercedes-benz?search%5Bfilter_enum_fuel_type%5D=diesel"}},{"name":"Mercedes-Benz Hybryda plug-in","primary":{"name":"Hybryda plug-in","href":"https://www.otomoto.pl/osobowe?search%5Bfilter_enum_fuel_type%5D=plugin-hybrid"},"secondary":{"name":"Mercedes-Benz Hybryda plug-in","href":"https://www.otomoto.pl/osobowe/mercedes-benz?search%5Bfilter_enum_fuel_type%5D=plugin-hybrid"}},{"name":"BMW Benzyna + LPG","primary":{"name":"Benzyna + LPG","href":"https://www.otomoto.pl/osobowe?search%5Bfilter_enum_fuel_type%5D=petrol-lpg"},"secondary":{"name":"BMW Benzyna + LPG","href":"https://www.otomoto.pl/osobowe/bmw?search%5Bfilter_enum_fuel_type%5D=petrol-lpg"}},{"name":"Toyota Hybryda Toyota Corolla Hybryda","primary":{"name":"Toyota Hybryda","href":"https://www.otomoto.pl/osobowe/toyota?search%5Bfilter_enum_fuel_type%5D=hybrid"},"secondary":{"name":"Toyota Corolla Hybryda","href":"https://www.otomoto.pl/osobowe/toyota/corolla?search%5Bfilter_enum_fuel_type%5D=hybrid"}},{"name":"Hyundai Benzyna Hyundai Tucson Benzyna","primary":{"name":"Hyundai Benzyna","href":"https://www.otomoto.pl/osobowe/hyundai?search[filter_enum_fuel_type]=petrol"},"secondary":{"name":"Hyundai Tucson Benzyna","href":"https://www.otomoto.pl/osobowe/hyundai/tucson?search%5Bfilter_enum_fuel_type%5D=petrol"}},{"name":"Toyota Hybryda Toyota Yaris Hybryda","primary":{"name":"Toyota Hybryda","href":"https://www.otomoto.pl/osobowe/toyota?search%5Bfilter_enum_fuel_type%5D=hybrid"},"secondary":{"name":"Toyota Yaris Hybryda","href":"https://www.otomoto.pl/osobowe/toyota/yaris?search%5Bfilter_enum_fuel_type%5D=hybrid"}},{"name":"Lexus Hybryda Lexus IS Hybryda","primary":{"name":"Lexus Hybryda","href":"https://www.otomoto.pl/osobowe/lexus?search%5Bfilter_enum_fuel_type%5D=hybrid"},"secondary":{"name":"Lexus IS Hybryda","href":"https://www.otomoto.pl/osobowe/lexus/is?search%5Bfilter_enum_fuel_type%5D=hybrid"}},{"name":"Citro\xebn Elektryczny Citro\xebn C3 Elektryczny","primary":{"name":"Citro\xebn Elektryczny","href":"https://www.otomoto.pl/osobowe/citroen?search[filter_enum_fuel_type]=electric"},"secondary":{"name":"Citro\xebn C3 Elektryczny","href":"https://www.otomoto.pl/osobowe/citroen/c3?search%5Bfilter_enum_fuel_type%5D=electric"}},{"name":"Mitsubishi Benzyna Mitsubishi ASX Benzyna","primary":{"name":"Mitsubishi Benzyna","href":"https://www.otomoto.pl/osobowe/mitsubishi?search[filter_enum_fuel_type]=petrol"},"secondary":{"name":"Mitsubishi ASX Benzyna","href":"https://www.otomoto.pl/osobowe/mitsubishi/asx?search%5Bfilter_enum_fuel_type%5D=petrol"}},{"name":"Hyundai Hybryda Hyundai Tucson Hybryda","primary":{"name":"Hyundai Hybryda","href":"https://www.otomoto.pl/osobowe/hyundai?search%5Bfilter_enum_fuel_type%5D=hybrid"},"secondary":{"name":"Hyundai Tucson Hybryda","href":"https://www.otomoto.pl/osobowe/hyundai/tucson?search%5Bfilter_enum_fuel_type%5D=hybrid"}},{"name":"Fiat Hybryda Fiat 600 Hybryda","primary":{"name":"Fiat Hybryda","href":"https://www.otomoto.pl/osobowe/fiat?search[filter_enum_fuel_type]=hybrid"},"secondary":{"name":"Fiat 600 Hybryda","href":"https://www.otomoto.pl/osobowe/fiat/600?search%5Bfilter_enum_fuel_type%5D=hybrid"}}
1,{"name":"Hyundai Elektryczny Hyundai Kona Elektryczny","primary":{"name":"Hyundai Elektryczny","href":"https://www.otomoto.pl/osobowe/hyundai?search%5Bfilter_enum_fuel_type%5D=electric"},"secondary":{"name":"Hyundai Kona Elektryczny","href":"https://www.otomoto.pl/osobowe/hyundai/kona?search%5Bfilter_enum_fuel_type%5D=electric"}},{"name":"Hyundai Hybryda Hyundai Kona Hybryda","primary":{"name":"Hyundai Hybryda","href":"https://www.otomoto.pl/osobowe/hyundai?search%5Bfilter_enum_fuel_type%5D=hybrid"},"secondary":{"name":"Hyundai Kona Hybryda","href":"https://www.otomoto.pl/osobowe/hyundai/kona?search%5Bfilter_enum_fuel_type%5D=hybrid"}},{"name":"Kia Hybryda Kia Sportage Hybryda","primary":{"name":"Kia Hybryda","href":"https://www.otomoto.pl/osobowe/kia?search[filter_enum_fuel_type]=hybrid"},"secondary":{"name":"Kia Sportage Hybryda","href":"https://www.otomoto.pl/osobowe/kia/sportage?search%5Bfilter_enum_fuel_type%5D=hybrid"}},{"name":"Fiat Hybryda Fiat 500 Hybryda","primary":{"name":"Fiat Hybryda","href":"https://www.otomoto.pl/osobowe/fiat?search[filter_enum_fuel_type]=hybrid"},"secondary":{"name":"Fiat 500 Hybryda","href":"https://www.otomoto.pl/osobowe/fiat/500?search%5Bfilter_enum_fuel_type%5D=hybrid"}},{"name":"Fiat Elektryczny Fiat 500 Elektryczny","primary":{"name":"Fiat Elektryczny","href":"https://www.otomoto.pl/osobowe/fiat?search[filter_enum_fuel_type]=electric"},"secondary":{"name":"Fiat 500 Elektryczny","href":"https://www.otomoto.pl/osobowe/fiat/500?search%5Bfilter_enum_fuel_type%5D=electric"}},{"name":"MINI Elektryczny MINI Cooper Elektryczny","primary":{"name":"MINI Elektryczny","href":"https://www.otomoto.pl/osobowe/mini?search[filter_enum_fuel_type]=electric"},"secondary":{"name":"MINI Cooper Elektryczny","href":"https://www.otomoto.pl/osobowe/mini/cooper?search%5Bfilter_enum_fuel_type%5D=electric"}},{"name":"Peugeot Elektryczny Peugeot 208 Elektryczny","primary":{"name":"Peugeot Elektryczny","href":"https://www.otomoto.pl/osobowe/peugeot?search%5Bfilter_enum_fuel_type%5D=electric"},"secondary":{"name":"Peugeot 208 Elektryczny","href":"https://www.otomoto.pl/osobowe/peugeot/208?search%5Bfilter_enum_fuel_type%5D=electric"}},{"name":"Ford Elektryczny Ford Explorer Elektryczny","primary":{"name":"Ford Elektryczny","href":"https://www.otomoto.pl/osobowe/ford?search%5Bfilter_enum_fuel_type%5D=electric"},"secondary":{"name":"Ford Explorer Elektryczny","href":"https://www.otomoto.pl/osobowe/ford/explorer?search%5Bfilter_enum_fuel_type%5D=electric"}},{"name":"Volkswagen Benzyna Volkswagen Transporter Benzyna","primary":{"name":"Volkswagen Benzyna","href":"https://www.otomoto.pl/osobowe/volkswagen?search[filter_enum_fuel_type]=petrol"},"secondary":{"name":"Volkswagen Transporter Benzyna","href":"https://www.otomoto.pl/osobowe/volkswagen/transporter?search%5Bfilter_enum_fuel_type%5D=petrol"}},{"name":"Opel Elektryczny Opel Mokka Elektryczny","primary":{"name":"Opel Elektryczny","href":"https://www.otomoto.pl/osobowe/opel?search[filter_enum_fuel_type]=electric"},"secondary":{"name":"Opel Mokka Elektryczny","href":"https://www.otomoto.pl/osobowe/opel/mokka?search%5Bfilter_enum_fuel_type%5D=electric"}},{"name":"Honda Hybryda Honda CR-V Hybryda","primary":{"name":"Honda Hybryda","href":"https://www.otomoto.pl/osobowe/honda?search[filter_enum_fuel_type]=hybrid"},"secondary":{"name":"Honda CR-V Hybryda","href":"https://www.otomoto.pl/osobowe/honda/cr-v?search%5Bfilter_enum_fuel_type%5D=hybrid"}},{"name":"Jeep Elektryczny Jeep Avenger Elektryczny","primary":{"name":"Jeep Elektryczny","href":"https://www.otomoto.pl/osobowe/jeep?search[filter_enum_fuel_type]=electric"},"secondary":{"name":"Jeep Avenger Elektryczny","href":"https://www.otomoto.pl/osobowe/jeep/avenger?search%5Bfilter_enum_fuel_type%5D=electric"}},{"name":"Ford Hybryda Ford Kuga Hybryda","primary":{"name":"Ford Hybryda","href":"https://www.otomoto.pl/osobowe/ford?search[filter_enum_fuel_type]=hybrid"},"secondary":{"name":"Ford Kuga Hybryda","href":"https://www.otomoto.pl/osobowe/ford/kuga?search%5Bfilter_enum_fuel_type%5D=hybrid"}}
1,{"name":"Toyota Benzyna Toyota Verso Benzyna","primary":{"name":"Toyota Benzyna","href":"https://www.otomoto.pl/osobowe/toyota?search%5Bfilter_enum_fuel_type%5D=petrol"},"secondary":{"name":"Toyota Verso Benzyna","href":"https://www.otomoto.pl/osobowe/toyota/verso?search%5Bfilter_enum_fuel_type%5D=petrol"}},{"name":"Citro\xebn Elektryczny Citro\xebn C4 Elektryczny","primary":{"name":"Citro\xebn Elektryczny","href":"https://www.otomoto.pl/osobowe/citroen?search[filter_enum_fuel_type]=electric"},"secondary":{"name":"Citro\xebn C4 Elektryczny","href":"https://www.otomoto.pl/osobowe/citroen/c4?search%5Bfilter_enum_fuel_type%5D=electric"}},{"name":"Hyundai Benzyna Hyundai ix35 Benzyna","primary":{"name":"Hyundai Benzyna","href":"https://www.otomoto.pl/osobowe/hyundai?search[filter_enum_fuel_type]=petrol"},"secondary":{"name":"Hyundai ix35 Benzyna","href":"https://www.otomoto.pl/osobowe/hyundai/ix35?search%5Bfilter_enum_fuel_type%5D=petrol"}},{"name":"Volvo Hybryda plug-in Volvo XC 60 Hybryda plug-in","primary":{"name":"Volvo Hybryda plug-in","href":"https://www.otomoto.pl/osobowe/volvo?search[filter_enum_fuel_type]=plugin-hybrid"},"secondary":{"name":"Volvo XC 60 Hybryda plug-in","href":"https://www.otomoto.pl/osobowe/volvo/xc-60?search%5Bfilter_enum_fuel_type%5D=plugin-hybrid"}},{"name":"Volvo Benzyna Volvo XC 40 Benzyna","primary":{"name":"Volvo Benzyna","href":"https://www.otomoto.pl/osobowe/volvo?search%5Bfilter_enum_fuel_type%5D=petrol"},"secondary":{"name":"Volvo XC 40 Benzyna","href":"https://www.otomoto.pl/osobowe/volvo/xc-40?search%5Bfilter_enum_fuel_type%5D=petrol"}},{"name":"Lexus Hybryda Lexus GS Hybryda","primary":{"name":"Lexus Hybryda","href":"https://www.otomoto.pl/osobowe/lexus?search%5Bfilter_enum_fuel_type%5D=hybrid"},"secondary":{"name":"Lexus GS Hybryda","href":"https://www.otomoto.pl/osobowe/lexus/gs?search%5Bfilter_enum_fuel_type%5D=hybrid"}},{"name":"Mitsubishi Hybryda plug-in Mitsubishi Outlander Hybryda plug-in","primary":{"name":"Mitsubishi Hybryda plug-in","href":"https://www.otomoto.pl/osobowe/mitsubishi?search[filter_enum_fuel_type]=plugin-hybrid"},"secondary":{"name":"Mitsubishi Outlander Hybryda plug-in","href":"https://www.otomoto.pl/osobowe/mitsubishi/outlander?search%5Bfilter_enum_fuel_type%5D=plugin-hybrid"}},{"name":"Citro\xebn Hybryda Citro\xebn C5 Aircross Hybryda","primary":{"name":"Citro\xebn Hybryda","href":"https://www.otomoto.pl/osobowe/citroen?search%5Bfilter_enum_fuel_type%5D=hybrid"},"secondary":{"name":"Citro\xebn C5 Aircross Hybryda","href":"https://www.otomoto.pl/osobowe/citroen/c5-aircross?search%5Bfilter_enum_fuel_type%5D=hybrid"}},{"name":"Ford Benzyna Ford C-MAX Benzyna","primary":{"name":"Ford Benzyna","href":"https://www.otomoto.pl/osobowe/ford?search[filter_enum_fuel_type]=petrol"},"secondary":{"name":"Ford C-MAX Benzyna","href":"https://www.otomoto.pl/osobowe/ford/c-max?search%5Bfilter_enum_fuel_type%5D=petrol"}},{"name":"Volvo Hybryda plug-in Volvo XC 90 Hybryda plug-in","primary":{"name":"Volvo Hybryda plug-in","href":"https://www.otomoto.pl/osobowe/volvo?search[filter_enum_fuel_type]=plugin-hybrid"},"secondary":{"name":"Volvo XC 90 Hybryda plug-in","href":"https://www.otomoto.pl/osobowe/volvo/xc-90?search%5Bfilter_enum_fuel_type%5D=plugin-hybrid"}},{"name":"Peugeot Hybryda Peugeot 3008 Hybryda","primary":{"name":"Peugeot Hybryda","href":"https://www.otomoto.pl/osobowe/peugeot?search%5Bfilter_enum_fuel_type%5D=hybrid"},"secondary":{"name":"Peugeot 3008 Hybryda","href":"https://www.otomoto.pl/osobowe/peugeot/3008?search%5Bfilter_enum_fuel_type%5D=hybrid"}},{"name":"Opel Hybryda Opel Astra Hybryda","primary":{"name":"Opel Hybryda","href":"https://www.otomoto.pl/osobowe/opel?search%5Bfilter_enum_fuel_type%5D=hybrid"},"secondary":{"name":"Opel Astra Hybryda","href":"https://www.otomoto.pl/osobowe/opel/astra?search%5Bfilter_enum_fuel_type%5D=hybrid"}},{"name":"Kia Elektryczny Kia Niro Elektryczny","primary":{"name":"Kia Elektryczny","href":"https://www.otomoto.pl/osobowe/kia?search%5Bfilter_enum_fuel_type%5D=electric"},"secondary":{"name":"Kia Niro Elektryczny","href":"https://www.otomoto.pl/osobowe/kia/niro?search%5Bfilter_enum_fuel_type%5D=electric"}},{"name":"Ford Hybryda Ford Mondeo Hybryda","primary":{"name":"Ford Hybryda","href":"https://www.otomoto.pl/osobowe/ford?search[filter_enum_fuel_type]=hybrid"},"secondary":{"name":"Ford Mondeo Hybryda","href":"https://www.otomoto.pl/osobowe/ford/mondeo?search%5Bfilter_enum_fuel_type%5D=hybrid"}},{"name":"Dacia Benzyna + LPG Dacia Duster Benzyna + LPG","primary":{"name":"Dacia Benzyna + LPG","href":"https://www.otomoto.pl/osobowe/dacia?search[filter_enum_fuel_type]=petrol-lpg"},"secondary":{"name":"Dacia Duster Benzyna + LPG","href":"https://www.otomoto.pl/osobowe/dacia/duster?search%5Bfilter_enum_fuel_type%5D=petrol-lpg"}},{"name":"Ford Benzyna Ford Focus Benzyna","primary":{"name":"Ford Benzyna","href":"https://www.otomoto.pl/osobowe/ford?search[filter_enum_fuel_type]=petrol"},"secondary":{"name":"Ford Focus Benzyna","href":"https://www.otomoto.pl/osobowe/ford/focus?search%5Bfilter_enum_fuel_type%5D=petrol"}}
1,{"name":"Honda Hybryda Honda Civic Hybryda","primary":{"name":"Honda Hybryda","href":"https://www.otomoto.pl/osobowe/honda?search[filter_enum_fuel_type]=hybrid"},"secondary":{"name":"Honda Civic Hybryda","href":"https://www.otomoto.pl/osobowe/honda/civic?search%5Bfilter_enum_fuel_type%5D=hybrid"}},{"name":"Toyota Benzyna Toyota RAV4 Benzyna","primary":{"name":"Toyota Benzyna","href":"https://www.otomoto.pl/osobowe/toyota?search%5Bfilter_enum_fuel_type%5D=petrol"},"secondary":{"name":"Toyota RAV4 Benzyna","href":"https://www.otomoto.pl/osobowe/toyota/rav4?search%5Bfilter_enum_fuel_type%5D=petrol"}},{"name":"Peugeot Elektryczny Peugeot Rifter Elektryczny","primary":{"name":"Peugeot Elektryczny","href":"https://www.otomoto.pl/osobowe/peugeot?search%5Bfilter_enum_fuel_type%5D=electric"},"secondary":{"name":"Peugeot Rifter Elektryczny","href":"https://www.otomoto.pl/osobowe/peugeot/rifter?search%5Bfilter_enum_fuel_type%5D=electric"}},{"name":"Jeep Hybryda Jeep Renegade Hybryda","primary":{"name":"Jeep Hybryda","href":"https://www.otomoto.pl/osobowe/jeep?search[filter_enum_fuel_type]=hybrid"},"secondary":{"name":"Jeep Renegade Hybryda","href":"https://www.otomoto.pl/osobowe/jeep/renegade?search%5Bfilter_enum_fuel_type%5D=hybrid"}},{"name":"Dacia Hybryda Dacia Duster Hybryda","primary":{"name":"Dacia Hybryda","href":"https://www.otomoto.pl/osobowe/dacia?search[filter_enum_fuel_type]=hybrid"},"secondary":{"name":"Dacia Duster Hybryda","href":"https://www.otomoto.pl/osobowe/dacia/duster?search%5Bfilter_enum_fuel_type%5D=hybrid"}}]},{"id":"generations","title":"Generacje","categories":"all","links":[{"name":"BMW Seria 3 E90/E91/E92/E93","primary":{"name":"BMW Seria 3","href":"/osobowe/bmw/seria-3"},"secondary":{"name":"BMW Seria 3 E90/E91/E92/E93","href":"https://www.otomoto.pl/osobowe/bmw/seria-3?search%5Bfilter_enum_generation%5D=gen-e90-2005-2012"}},{"name":"BMW Seria 3 F30/F31","primary":{"name":"BMW Seria 3","href":"/osobowe/bmw/seria-3"},"secondary":{"name":"BMW Seria 3 F30/F31","href":"https://www.otomoto.pl/osobowe/bmw/seria-3?search%5Bfilter_enum_generation%5D=gen-f30-2012"}},{"name":"Audi A4 Avant B8","primary":{"name":"Audi A4 Avant","href":"/osobowe/audi/a4-avant"},"secondary":{"name":"Audi A4 Avant B8","href":"https://www.otomoto.pl/osobowe/audi/a4-avant?search%5Bfilter_enum_generation%5D=gen-b8-2007-2015"}},{"name":"Audi A4 Avant B6","primary":{"name":"Audi A4 Avant","href":"/osobowe/audi/a4-avant"},"secondary":{"name":"Audi A4 Avant B6","href":"https://www.otomoto.pl/osobowe/audi/a4-avant?search%5Bfilter_enum_generation%5D=gen-b6-2000-2004"}},{"name":"BMW Seria 5 F10/F11","primary":{"name":"BMW Seria 5","href":"/osobowe/bmw/seria-5"},"secondary":{"name":"BMW Seria 5 F10/F11","href":"https://www.otomoto.pl/osobowe/bmw/seria-5?search%5Bfilter_enum_generation%5D=gen-f10-2009"}},{"name":"Audi A6 Avant C7","primary":{"name":"Audi A6 Avant","href":"/osobowe/audi/a6-avant"},"secondary":{"name":"Audi A6 Avant C7","href":"https://www.otomoto.pl/osobowe/audi/a6-avant?search%5Bfilter_enum_generation%5D=gen-c7-2011"}},{"name":"Mercedes-Benz Klasa S W126","primary":{"name":"Mercedes-Benz Klasa S","href":"/osobowe/mercedes-benz/s-klasa"},"secondary":{"name":"Mercedes-Benz Klasa S W126","href":"https://www.otomoto.pl/osobowe/mercedes-benz/s-klasa?search%5Bfilter_enum_generation%5D=gen-w126-1980-1993"}},{"name":"Volkswagen Passat B8","primary":{"name":"Volkswagen Passat","href":"/osobowe/volkswagen/passat"},"secondary":{"name":"Volkswagen Passat B8","href":"https://www.otomoto.pl/osobowe/volkswagen/passat?search%5Bfilter_enum_generation%5D=gen-b8-2014"}},{"name":"Opel Astra J","primary":{"name":"Opel Astra","href":"/osobowe/opel/astra"},"secondary":{"name":"Opel Astra J","href":"https://www.otomoto.pl/osobowe/opel/astra?search%5Bfilter_enum_generation%5D=gen-j-2009-2015"}},{"name":"Mercedes-Benz Klasa E W212/W207","primary":{"name":"Mercedes-Benz Klasa E","href":"/osobowe/mercedes-benz/e-klasa"},"secondary":{"name":"Mercedes-Benz Klasa E W212/W207","href":"https://www.otomoto.pl/osobowe/mercedes-benz/e-klasa?search%5Bfilter_enum_generation%5D=gen-w212-2009"}},{"name":"Audi A6 Avant C5","primary":{"name":"Audi A6 Avant","href":"/osobowe/audi/a6-avant"},"secondary":{"name":"Audi A6 Avant C5","href":"https://www.otomoto.pl/osobowe/audi/a6-avant?search%5Bfilter_enum_generation%5D=gen-c5-1999-2005"}},{"name":"Mercedes-Benz Klasa C W204","primary":{"name":"Mercedes-Benz Klasa C","href":"/osobowe/mercedes-benz/c-klasa"},"secondary":{"name":"Mercedes-Benz Klasa C W204","href":"https://www.otomoto.pl/osobowe/mercedes-benz/c-klasa?search%5Bfilter_enum_generation%5D=gen-w204-2007-2014"}},{"name":"Volkswagen Golf IV","primary":{"name":"Volkswagen Golf","href":"/osobowe/volkswagen/golf"},"secondary":{"name":"Volkswagen Golf IV","href":"https://www.otomoto.pl/osobowe/volkswagen/golf?search%5Bfilter_enum_generation%5D=gen-iv-1997-2006"}},{"name":"BMW Seria 5 E60/E61","primary":{"name":"BMW Seria 5","href":"/osobowe/bmw/seria-5"},"secondary":{"name":"BMW Seria 5 E60/E61","href":"https://www.otomoto.pl/osobowe/bmw/seria-5?search%5Bfilter_enum_generation%5D=gen-e60-2003-2010"}},{"name":"Volkswagen Golf VIII","primary":{"name":"Volkswagen Golf","href":"/osobowe/volkswagen/golf"},"secondary":{"name":"Volkswagen Golf VIII","href":"https://www.otomoto.pl/osobowe/volkswagen/golf?search%5Bfilter_enum_generation%5D=gen-viii-2020"}},{"name":"Opel Astra H","primary":{"name":"Opel Astra","href":"/osobowe/opel/astra"},"secondary":{"name":"Opel Astra H","href":"https://www.otomoto.pl/osobowe/opel/astra?search%5Bfilter_enum_generation%5D=gen-h-2004-2013"}},{"name":"Ford Mondeo Mk4","primary":{"name":"Ford Mondeo","href":"/osobowe/ford/mondeo"},"secondary":{"name":"Ford Mondeo Mk4","href":"https://www.otomoto.pl/osobowe/ford/mondeo?search%5Bfilter_enum_generation%5D=gen-mk4-2007-2014"}},{"name":"Volkswagen Passat B5","primary":{"name":"Volkswagen Passat","href":"/osobowe/volkswagen/passat"},"secondary":{"name":"Volkswagen Passat B5","href":"https://www.otomoto.pl/osobowe/volkswagen/passat?search%5Bfilter_enum_generation%5D=gen-b5-1996-2000"}},{"name":"Ford Mondeo Mk5","primary":{"name":"Ford Mondeo","href":"/osobowe/ford/mondeo"},"secondary":{"name":"Ford Mondeo Mk5","href":"https://www.otomoto.pl/osobowe/ford/mondeo?search%5Bfilter_enum_generation%5D=gen-mk5-2014"}},{"name":"Ford Focus Mk3","primary":{"name":"Ford Focus","href":"/osobowe/ford/focus"},"secondary":{"name":"Ford Focus Mk3","href":"https://www.otomoto.pl/osobowe/ford/focus?search%5Bfilter_enum_generation%5D=gen-mk3-2010"}},{"name":"BMW Seria 7 E38","primary":{"name":"BMW Seria 7","href":"/osobowe/bmw/seria-7"},"secondary":{"name":"BMW Seria 7 E38","href":"https://www.otomoto.pl/osobowe/bmw/seria-7?search%5Bfilter_enum_generation%5D=gen-e38-1994-2001"}},{"name":"Audi A3 Sportback 8P","primary":{"name":"Audi A3 Sportback","href":"/osobowe/audi/a3-sportback"},"secondary":{"name":"Audi A3 Sportback 8P","href":"https://www.otomoto.pl/osobowe/audi/a3-sportback?search%5Bfilter_enum_generation%5D=gen-8p-2003-2012"}},{"name":"Volkswagen Transporter T4","primary":{"name":"Volkswagen Transporter","href":"/osobowe/volkswagen/transporter"},"secondary":{"name":"Volkswagen Transporter T4","href":"https://www.otomoto.pl/osobowe/volkswagen/transporter?search%5Bfilter_enum_generation%5D=gen-t4"}},{"name":"Skoda Octavia III","primary":{"name":"Skoda Octavia","href":"/osobowe/skoda/octavia"},"secondary":{"name":"Skoda Octavia III","href":"https://www.otomoto.pl/osobowe/skoda/octavia?search%5Bfilter_enum_generation%5D=gen-iii-2013"}},{"name":"Ford Focus Mk2","primary":{"name":"Ford Focus","href":"/osobowe/ford/focus"},"secondary":{"name":"Ford Focus Mk2","href":"https://www.otomoto.pl/osobowe/ford/focus?search%5Bfilter_enum_generation%5D=gen-mk2-2004-2011"}},{"name":"Chevrolet Corvette C7","primary":{"name":"Chevrolet Corvette","href":"/osobowe/chevrolet/corvette"},"secondary":{"name":"Chevrolet Corvette C7","href":"https://www.otomoto.pl/osobowe/chevrolet/corvette?search%5Bfilter_enum_generation%5D=gen-c7-2013-2019"}},{"name":"Renault Megane III","primary":{"name":"Renault Megane","href":"/osobowe/renault/megane"},"secondary":{"name":"Renault Megane III","href":"https://www.otomoto.pl/osobowe/renault/megane?search%5Bfilter_enum_generation%5D=gen-iii-2008-2016"}},{"name":"Ford Fiesta Mk7","primary":{"name":"Ford Fiesta","href":"/osobowe/ford/fiesta"},"secondary":{"name":"Ford Fiesta Mk7","href":"https://www.otomoto.pl/osobowe/ford/fiesta?search%5Bfilter_enum_generation%5D=gen-mk7-2008"}},{"name":"Audi A6 Limousine C8","primary":{"name":"Audi A6 Limousine","href":"/osobowe/audi/a6-limousine"},"secondary":{"name":"Audi A6 Limousine C8","href":"https://www.otomoto.pl/osobowe/audi/a6-limousine?search%5Bfilter_enum_generation%5D=gen-c8-2019-2025"}},{"name":"Opel Corsa D","primary":{"name":"Opel Corsa","href":"/osobowe/opel/corsa"},"secondary":{"name":"Opel Corsa D","href":"https://www.otomoto.pl/osobowe/opel/corsa?search%5Bfilter_enum_generation%5D=gen-d-2006-2014"}},{"name":"Renault Clio VI","primary":{"name":"Renault Clio","href":"/osobowe/renault/clio"},"secondary":{"name":"Renault Clio VI","href":"https://www.otomoto.pl/osobowe/renault/clio?search%5Bfilter_enum_generation%5D=gen-vi-2026"}},{"name":"Mercedes-Benz Klasa E W213","primary":{"name":"Mercedes-Benz Klasa E","href":"/osobowe/mercedes-benz/e-klasa"},"secondary":{"name":"Mercedes-Benz Klasa E W213","href":"https://www.otomoto.pl/osobowe/mercedes-benz/e-klasa?search%5Bfilter_enum_generation%5D=gen-w213-2016"}},{"name":"Skoda Octavia II","primary":{"name":"Skoda Octavia","href":"/osobowe/skoda/octavia"},"secondary":{"name":"Skoda Octavia II","href":"https://www.otomoto.pl/osobowe/skoda/octavia?search%5Bfilter_enum_generation%5D=gen-ii-2004-2013"}},{"name":"Skoda Superb III","primary":{"name":"Skoda Superb","href":"/osobowe/skoda/superb"},"secondary":{"name":"Skoda Superb III","href":"https://www.otomoto.pl/osobowe/skoda/superb?search%5Bfilter_enum_generation%5D=gen-iii-2015"}},{"name":"Ford Fiesta Mk6","primary":{"name":"Ford Fiesta","href":"/osobowe/ford/fiesta"},"secondary":{"name":"Ford Fiesta Mk6","href":"https://www.otomoto.pl/osobowe/ford/fiesta?search%5Bfilter_enum_generation%5D=gen-mk6-2002-2008"}},{"name":"Mercedes-Benz Klasa C W203","primary":{"name":"Mercedes-Benz Klasa C","href":"/osobowe/mercedes-benz/c-klasa"},"secondary":{"name":"Mercedes-Benz Klasa C W203","href":"https://www.otomoto.pl/osobowe/mercedes-benz/c-klasa?search%5Bfilter_enum_generation%5D=gen-w203-2000-200
17"}},{"name":"Chevrolet Corvette C6","primary":{"name":"Chevrolet Corvette","href":"/osobowe/chevrolet/corvette"},"secondary":{"name":"Chevrolet Corvette C6","href":"https://www.otomoto.pl/osobowe/chevrolet/corvette?search%5Bfilter_enum_generation%5D=gen-c6-2004-2013"}},{"name":"Audi A3 Sportback 8V","primary":{"name":"Audi A3 Sportback","href":"/osobowe/audi/a3-sportback"},"secondary":{"name":"Audi A3 Sportback 8V","href":"https://www.otomoto.pl/osobowe/audi/a3-sportback?search%5Bfilter_enum_generation%5D=gen-8v-2012"}},{"name":"Renault Clio IV","primary":{"name":"Renault Clio","href":"/osobowe/renault/clio"},"secondary":{"name":"Renault Clio IV","href":"https://www.otomoto.pl/osobowe/renault/clio?search%5Bfilter_enum_generation%5D=gen-iv-2012-clio"}},{"name":"Honda Civic VIII","primary":{"name":"Honda Civic","href":"/osobowe/honda/civic"},"secondary":{"name":"Honda Civic VIII","href":"https://www.otomoto.pl/osobowe/honda/civic?search%5Bfilter_enum_generation%5D=gen-viii-2006-2011"}},{"name":"Mercedes-Benz Klasa S W221","primary":{"name":"Mercedes-Benz Klasa S","href":"/osobowe/mercedes-benz/s-klasa"},"secondary":{"name":"Mercedes-Benz Klasa S W221","href":"https://www.otomoto.pl/osobowe/mercedes-benz/s-klasa?search%5Bfilter_enum_generation%5D=gen-w221-2005-2013"}},{"name":"Hyundai Tucson III","primary":{"name":"Hyundai Tucson","href":"/osobowe/hyundai/tucson"},"secondary":{"name":"Hyundai Tucson III","href":"https://www.otomoto.pl/osobowe/hyundai/tucson?search%5Bfilter_enum_generation%5D=gen-iii-2015-2020"}},{"name":"BMW Seria 1 E81/E87","primary":{"name":"BMW Seria 1","href":"/osobowe/bmw/seria-1"},"secondary":{"name":"BMW Seria 1 E81/E87","href":"https://www.otomoto.pl/osobowe/bmw/seria-1?search%5Bfilter_enum_generation%5D=gen-e87-2004-2013"}},{"name":"BMW Seria 6 E24","primary":{"name":"BMW Seria 6","href":"/osobowe/bmw/seria-6"},"secondary":{"name":"BMW Seria 6 E24","href":"https://www.otomoto.pl/osobowe/bmw/seria-6?search%5Bfilter_enum_generation%5D=gen-e24-1976-1989"}},{"name":"BMW Seria 1 F20/F21","primary":{"name":"BMW Seria 1","href":"/osobowe/bmw/seria-1"},"secondary":{"name":"BMW Seria 1 F20/F21","href":"https://www.otomoto.pl/osobowe/bmw/seria-1?search%5Bfilter_enum_generation%5D=gen-f20-2011"}},{"name":"BMW Seria 3 BMW Seria 3","primary":{"name":"BMW Seria 3","href":"/osobowe/bmw/seria-3"},"secondary":{"name":"BMW Seria 3","href":"https://www.otomoto.pl/osobowe/bmw/seria-3?search%5Bfilter_enum_generation%5D=gen-e36-1990-1999"}},{"name":"Volkswagen Golf Volkswagen Golf","primary":{"name":"Volkswagen Golf","href":"/osobowe/volkswagen/golf"},"secondary":{"name":"Volkswagen Golf","href":"https://www.otomoto.pl/osobowe/volkswagen/golf?search%5Bfilter_enum_generation%5D=gen-vi-2008-2013"}},{"name":"Mercedes-Benz Klasa E Mercedes-Benz Klasa E","primary":{"name":"Mercedes-Benz Klasa E","href":"/osobowe/mercedes-benz/e-klasa"},"secondary":{"name":"Mercedes-Benz Klasa E","href":"https://www.otomoto.pl/osobowe/mercedes-benz/e-klasa?search%5Bfilter_enum_generation%5D=gen-w211-2002-2009"}},{"name":"BMW Seria 3 E46","primary":{"name":"BMW Seria 3","href":"/osobowe/bmw/seria-3"},"secondary":{"name":"BMW Seria 3 E46","href":"https://www.otomoto.pl/osobowe/bmw/seria-3?search[filter_enum_generation]=gen-e46-1998-2007"}},{"name":"Volkswagen Golf V","primary":{"name":"Volkswagen Golf","href":"/osobowe/volkswagen/golf"},"secondary":{"name":"Volkswagen Golf V","href":"https://www.otomoto.pl/osobowe/volkswagen/golf?search[filter_enum_generation]=gen-v-2003-2009"}},{"name":"Volkswagen Passat B6","primary":{"name":"Volkswagen Passat","href":"/osobowe/volkswagen/passat"},"secondary":{"name":"Volkswagen Passat B6","href":"https://www.otomoto.pl/osobowe/volkswagen/passat?search[filter_enum_generation]=gen-b6-2005-2010"}}]},{"id":"year","title":"Rocznik","categories":"all","links":[{"name":"Hyundai Tucson od 2024","primary":{"name":"Hyundai Tucson","href":"/osobowe/hyundai/tucson"},"secondary":{"name":"Hyundai Tucson od 2024","href":"/osobowe/hyundai/tucson/od-2024"}},{"name":"Audi TT Coup\xe9 od 2018","primary":{"name":"Audi TT Coup\xe9","href":"/osobowe/audi/tt"},"secondary":{"name":"Audi TT Coup\xe9 od 2018","href":"/osobowe/audi/tt/od-2018"}},{"name":"Hyundai Tucson od 2016","primary":{"name":"Hyundai Tucson","href":"/osobowe/hyundai/tucson"},"secondary":{"name":"Hyundai Tucson od 2016","href":"/osobowe/hyundai/tucson/od-2016"}},{"name":"Volvo XC 60 od 2021","primary":{"name":"Volvo XC 60","href":"/osobowe/volvo/xc-60"},"secondary":{"name":"Volvo XC 60 od 2021","href":"/osobowe/volvo/xc-60/od-2021"}},{"name":"Kia Sportage od 2020","primary":{"name":"Kia Sportage","href":"/osobowe/kia/sportage"},"secondary":{"name":"Kia Sportage od 2020","href":"/osobowe/kia/sportage/od-2020"}},{"name":"Kia Sportage od 2016","primary":{"name":"Kia Sportage","href":"/osobowe/kia/sportage"},"secondary":{"name":"Kia Sportage od 2016","href":"/osobowe/kia/sportage/od-2016"}},{"name":"Nissan Qashqai od 2018","primary":{"name":"Nissan Qashqai","href":"/osobowe/nissan/qashqai"},"secondary":{"name":"Nissan Qashqai od 2018","href":"/osobowe/nissan/qashqai/od-2018"}},{"name":"Toyota Yaris od 2020","primary":{"name":"Toyota Yaris","href":"/osobowe/toyota/yaris"},"secondary":{"name":"Toyota Yaris od 2020","href":"/osobowe/toyota/yaris/od-2020"}},{"name":"Toyota RAV4 od 2020","primary":{"name":"Toyota RAV4","href":"/osobowe/toyota/rav4"},"secondary":{"name":"Toyota RAV4 od 2020","href":"/osobowe/toyota/rav4/od-2020"}},{"name":"Audi Q7 od 2024","primary":{"name":"Audi Q7","href":"/osobowe/audi/q7"},"secondary":{"name":"Audi Q7 od 2024","href":"/osobowe/audi/q7/od-2024"}},{"name":"Toyota Yaris od 2015","primary":{"name":"Toyota Yaris","href":"/osobowe/toyota/yaris"},"secondary":{"name":"Toyota Yaris od 2015","href":"/osobowe/toyota/yaris/od-2015"}},{"name":"Peugeot 3008 od 2022","primary":{"name":"Peugeot 3008","href":"/osobowe/peugeot/3008"},"secondary":{"name":"Peugeot 3008 od 2022","href":"/osobowe/peugeot/3008/od-2022"}},{"name":"Toyota Corolla od 2022","primary":{"name":"Toyota Corolla","href":"/osobowe/toyota/corolla"},"secondary":{"name":"Toyota Corolla od 2022","href":"/osobowe/toyota/corolla/od-2022"}},{"name":"Ford Kuga od 2018","primary":{"name":"Ford Kuga","href":"/osobowe/ford/kuga"},"secondary":{"name":"Ford Kuga od 2018","href":"/osobowe/ford/kuga/od-2018"}},{"name":"Peugeot 2008 od 2018","primary":{"name":"Peugeot 2008","href":"/osobowe/peugeot/2008"},"secondary":{"name":"Peugeot 2008 od 2018","href":"/osobowe/peugeot/2008/od-2018"}},{"name":"Nissan Qashqai od 2017","primary":{"name":"Nissan Qashqai","href":"/osobowe/nissan/qashqai"},"secondary":{"name":"Nissan Qashqai od 2017","href":"/osobowe/nissan/qashqai/od-2017"}},{"name":"Dodge Challenger od 2018","primary":{"name":"Dodge Challenger","href":"/osobowe/dodge/challenger"},"secondary":{"name":"Dodge Challenger od 2018","href":"/osobowe/dodge/challenger/od-2018"}},{"name":"Toyota Corolla od 2020","primary":{"name":"Toyota Corolla","href":"/osobowe/toyota/corolla"},"secondary":{"name":"Toyota Corolla od 2020","href":"/osobowe/toyota/corolla/od-2020"}},{"name":"Audi Q5 od 2018","primary":{"name":"Audi Q5","href":"/osobowe/audi/q5"},"secondary":{"name":"Audi Q5 od 2018","href":"/osobowe/audi/q5/od-2018"}},{"name":"Skoda Superb od 2018","primary":{"name":"Skoda Superb","href":"/osobowe/skoda/superb"},"secondary":{"name":"Skoda Superb od 2018","href":"/osobowe/skoda/superb/od-2018"}},{"name":"Chevrolet Corvette od 2021","primary":{"name":"Chevrolet Corvette","href":"/osobowe/chevrolet/corvette"},"secondary":{"name":"Chevrolet Corvette od 2021","href":"/osobowe/chevrolet/corvette/od-2021"}},{"name":"Mercedes-Benz CLA od 2018","primary":{"name":"Mercedes-Benz CLA","href":"/osobowe/mercedes-benz/cla-klasa"},"secondary":{"name":"Mercedes-Benz CLA od 2018","href":"/osobowe/mercedes-benz/cla-klasa/od-2018"}},{"name":"Volkswagen Tiguan od 2020","primary":{"name":"Volkswagen Tiguan","href":"/osobowe/volkswagen/tiguan"},"secondary":{"name":"Volkswagen Tiguan od 2020","href":"/osobowe/volkswagen/tiguan/od-2020"}},{"name":"Toyota RAV4 od 2023","primary":{"name":"Toyota RAV4","href":"/osobowe/toyota/rav4"},"secondary":{"name":"Toyota RAV4 od 2023","href":"/osobowe/toyota/rav4/od-2023"}},{"name":"Audi Q5 od 2023","primary":{"name":"Audi Q5","href":"/osobowe/audi/q5"},"secondary":{"name":"Audi Q5 od 2023","href":"/osobowe/audi/q5/od-2023"}},{"name":"Volvo XC 60 od 2018","primary":{"name":"Volvo XC 60","href":"/osobowe/volvo/xc-60"},"secondary":{"name":"Volvo XC 60 od 2018","href":"/osobowe/volvo/xc-60/od-2018"}},{"name":"BMW M6 od 2013","primary":{"name":"BMW M6","href":"/osobowe/bmw/m6"},"secondary":{"name":"BMW M6 od 2013","href":"/osobowe/bmw/m6/od-2013"}},{"name":"BMW X7 od 2023","primary":{"name":"BMW X7","href":"/osobowe/bmw/x7"},"secondary":{"name":"BMW X7 od 2023","href":"/osobowe/bmw/x7/od-2023"}},{"name":"BMW X5 od 2020","primary":{"name":"BMW X5","href":"/osobowe/bmw/x5"},"secondary":{"name":"BMW X5 od 2020","href":"/osobowe/bmw/x5/od-2020"}},{"name":"Mazda 6 od 2018","primary":{"name":"Mazda 6","href":"/osobowe/mazda/6"},"secondary":{"name":"Mazda 6 od 2018","href":"/osobowe/mazda/6/od-2018"}},{"name":"Ford Kuga od 2017","primary":{"name":"Ford Kuga","href":"/osobowe/ford/kuga"},"secondary":{"name":"Ford Kuga od 2017","href":"/osobowe/ford/kuga/od-2017"}},{"name":"Ford Focus od 2020","primary":{"name":"Ford Focus","href":"/osobowe/ford/focus"},"secondary":{"name":"Ford Focus od 2020","href":"/osobowe/ford/focus/od-2020"}},{"name":"Fiat 500 od 2018","primary":{"name":"Fiat 500","href":"/osobowe/fiat/500"},"secondary":{"name":"Fiat 500 od 2018","href":"/osobowe/fiat/500/od-2018"}},{"name":"Skoda Octavia od 2023","primary":{"name":"Skoda Octavia","href":"/osobowe/skoda/octavia"},"secondary":{"name":"Skoda Octavia od 2023","href":"/osobowe/skoda/octavia/od-2023"}},{"name":"Mercedes-Benz Klasa C od 2018","primary":{"name":"Mercedes-Benz Klasa C","href":"/osobowe/mercedes-benz/c-klasa"},"secondary":{"name":"Mercedes-Benz Klasa C od 2018","href":"/osobowe/mercedes-benz/c-klasa/od-2018"}},{"name":"Skoda Fabia od 2020","primary":{"name":"Skoda Fabia","href":"/osobowe/skoda/fabia"},"secondary":{"name":"Skoda Fabia od 2020","href":"/osobowe/skoda/fabia/od-2020"}},{"name":"Mazda 3 od 2015","primary":{"name":"Mazda 3","href":"/osobowe/mazda/3"},"secondary":{"name":"Mazda 3 od 2015","href":"/osobowe/mazda/3/od-2015"}},{"name":"Ford Focus od 2018","primary":{"name":"Ford Focus","href":"/osobowe/ford/focus"},"secondary":{"name":"Ford Focus od 2018","href":"/osobowe/ford/focus/od-2018"}},{"name":"Volkswagen Tiguan od 2018","primary":{"name":"Volkswagen Tiguan","href":"/osobowe/volkswagen/tiguan"},"secondary":{"name":"Volkswagen Tiguan od 2018","href":"/osobowe/volkswagen/tiguan/od-2018"}},{"name":"Toyota Camry od 2023","primary":{"name":"Toyota Camry","href":"/osobowe/toyota/camry"},"secondary":{"name":"Toyota Camry od 2023","href":"/osobowe/toyota/camry/od-2023"}},{"name":"Lamborghini Urus od 2022","primary":{"name":"Lamborghini Urus","href":"/osobowe/lamborghini/urus"},"secondary":{"name":"Lamborghini Urus od 2022","href":"/osobowe/lamborghini/urus/od-2022"}},{"name":"Opel Astra od 2020","primary":{"name":"Opel Astra","href":"/osobowe/opel/astra"},"secondary":{"name":"Opel Astra od 2020","href":"/osobowe/opel/astra/od-2020"}}]},{"id":"price","title":"Cena","categories":"all","links":[{"name":"do 10 000 zÅ","href":"https://www.otomoto.pl/osobowe?search%5Bfilter_float_price%3Ato%5D=10000","primary":"do 10 000 zÅ"},{"name":"do 30 000 zÅ","href":"https://www.otomoto.pl/osobowe?search%5Bfilter_float_price%3Ato%5D=30000","primary":"do 30 000 zÅ"},{"name":"do 20 000 zÅ","href":"https://www.otomoto.pl/osobowe?search%5Bfilter_float_price%3Ato%5D=20000","primary":"do 20 000 zÅ"},{"name":"do 50 000 zÅ","href":"https://www.otomoto.pl/osobowe?search%5Bfilter_float_price%3Ato%5D=50000","primary":"do 50 000 zÅ"},{"name":"do 5 000 zÅ","href":"https://www.otomoto.pl/osobowe?search%5Bfilter_float_price%3Ato%5D=5000","primary":"do 5 000 zÅ"},{"name":"do 100 000 zÅ","href":"https://www.otomoto.pl/osobowe?search%5Bfilter_float_price%3Ato%5D=100000","primary":"do 100 000 zÅ"}]}]');var nB=(0,l.F)()?function(e){var a,r,t,o,l,s,c,d,u,m,p,f,b=(0,i.c)(29),y=e.tabs,_=e.selectedTabId,w=e.onSelectTab,k=(0,v.z1)().trackEvent;b[0]===Symbol.for("react.memo_cache_sentinel")?(a={},b[0]=a):a=b[0];var S=(0,W.useRef)(a),x=(0,W.useRef)(null);b[1]===Symbol.for("react.memo_cache_sentinel")?(r={left:0,width:0},b[1]=r):r=b[1];var A=(0,h._)((0,W.useState)(r),2),F=A[0],C=A[1];b[2]!==_?(t=()=>{var e=x.current,a=S.current[_];if(e&&a){var r=a.getBoundingClientRect(),t=e.getBoundingClientRect();C({left:r.left-t.left+e.scrollLeft,width:r.width})}},b[2]=_,b[3]=t):t=b[3];var N=t;b[4]!==y||b[5]!==N?(o=()=>{N();var e=x.current;if(e){var a="undefined"!=typeof ResizeObserver?new ResizeObserver(N):null;if(a){a.observe(e);var r=!0,t=!1,o=void 0;try{for(var n,l=y[Symbol.iterator]();!(r=(n=l.next()).done);r=!0){var i=n.value,s=S.current[i.id];s&&a.observe(s)}}catch(e){t=!0,o=e}finally{try{r||null==l.return||l.return()}finally{if(t)throw o}}}return window.addEventListener("resize",N),()=>{null==a||a.disconnect(),window.removeEventListener("resize",N)}}},l=[y,N],b[4]=y,b[5]=N,b[6]=o,b[7]=l):(o=b[6],l=b[7]),(0,W.useLayoutEffect)(o,l),b[8]!==w||b[9]!==_||b[10]!==y||b[11]!==k?(s=e=>{if(e!==_){var a=y.find(a=>a.id===e);a&&nx(k,a.title),w(e)}},b[8]=w,b[9]=_,b[10]=y,b[11]=k,b[12]=s):s=b[12];var Y=s;b[13]===Symbol.for("react.memo_cache_sentinel")?(c=e=>{var a;null==(a=S.current[e])||a.focus()},b[13]=c):c=b[13];var I=c;b[14]!==Y||b[15]!==y?(d=(e,a)=>{if("ArrowLeft"===e.key||"ArrowRight"===e.key){var r=y.findIndex(e=>e.id===a);if(-1!==r){var t=(r+("ArrowRight"===e.key?1:-1)+y.length)%y.length,o=y[t];o&&(e.preventDefault(),Y(o.id),I(o.id))}}},b[14]=Y,b[15]=y,b[16]=d):d=b[16];var V=d;return 0===y.length?null:(b[17]!==V||b[18]!==Y||b[19]!==_||b[20]!==y?(u=y.map(e=>{var a=e.id===_,r=e.title;return(0,n.FD)("button",{ref:a=>{S.current[e.id]=a},type:"button",role:"tab",id:"inspiration-tab-".concat(e.id),"aria-selected":a,"aria-controls":"inspiration-tabpanel-".concat(e.id),tabIndex:a?0:-1,"data-testid":"inspiration-tab-".concat(e.id),className:(0,g.A)("m-0 flex h-turbo-48 shrink-0 cursor-pointer flex-col items-stretch justify-between border-0 bg-transparent px-0 pt-turbo-10 pb-0","text-turbo-body-base leading-[1.4] whitespace-nowrap",a?"font-turbo-semibold text-turbo-content-default":"font-turbo-medium text-turbo-content-muted"),onClick:()=>{Y(e.id)},onKeyDown:a=>{V(a,e.id)},children:[(0,n.Y)("span",{children:r}
1),(0,n.Y)("span",{"aria-hidden":!0,className:"h-[3px] w-full shrink-0"})]},e.id)}),b[17]=V,b[18]=Y,b[19]=_,b[20]=y,b[21]=u):u=b[21],b[22]===Symbol.for("react.memo_cache_sentinel")?(m=(0,g.A)("pointer-events-none absolute bottom-0 h-[3px] rounded-t-turbo-xxs bg-turbo-content-default","transition-[left,width] duration-200 ease-out motion-reduce:transition-none"),b[22]=m):m=b[22],b[23]!==F.left||b[24]!==F.width?(p=(0,n.Y)("span",{"aria-hidden":!0,className:m,"data-testid":"inspiration-tabs-indicator",style:{left:F.left,width:F.width}}),b[23]=F.left,b[24]=F.width,b[25]=p):p=b[25],b[26]!==p||b[27]!==u?(f=(0,n.Y)("div",{className:"w-full overflow-x-auto border-b border-turbo-border-default","data-testid":"inspiration-tabs-header-scroll",children:(0,n.FD)("div",{ref:x,role:"tablist",className:"relative flex w-max min-w-full gap-turbo-24","data-testid":"inspiration-tabs-header",children:[u,p]})}),b[26]=p,b[27]=u,b[28]=f):f=b[28],f)}:function(e){var a=e.tabs,r=e.selectedTabId,t=e.onSelectTab,o=(0,v.z1)().trackEvent,l=(0,W.useRef)({}),i=(0,W.useRef)(null),s=(0,h._)((0,W.useState)({left:0,width:0}),2),c=s[0],d=s[1],u=(0,W.useCallback)(()=>{var e=i.current,a=l.current[r];if(e&&a){var t=a.getBoundingClientRect(),o=e.getBoundingClientRect();d({left:t.left-o.left+e.scrollLeft,width:t.width})}},[r]);(0,W.useLayoutEffect)(()=>{u();var e=i.current;if(e){var r="undefined"!=typeof ResizeObserver?new ResizeObserver(u):null;if(r){r.observe(e);var t=!0,o=!1,n=void 0;try{for(var s,c=a[Symbol.iterator]();!(t=(s=c.next()).done);t=!0){var d=s.value,m=l.current[d.id];m&&r.observe(m)}}catch(e){o=!0,n=e}finally{try{t||null==c.return||c.return()}finally{if(o)throw n}}}return window.addEventListener("resize",u),()=>{null==r||r.disconnect(),window.removeEventListener("resize",u)}}},[a,u]);var m=(0,W.useCallback)(e=>{if(e!==r){var n=a.find(a=>a.id===e);n&&nx(o,n.title),t(e)}},[t,r,a,o]),p=(0,W.useCallback)(e=>{var a;null==(a=l.current[e])||a.focus()},[]),f=(0,W.useCallback)((e,r)=>{if("ArrowLeft"===e.key||"ArrowRight"===e.key){var t=a.findIndex(e=>e.id===r);if(-1!==t){var o=(t+("ArrowRight"===e.key?1:-1)+a.length)%a.length,n=a[o];n&&(e.preventDefault(),m(n.id),p(n.id))}}},[p,m,a]);return 0===a.length?null:(0,n.Y)("div",{className:"w-full overflow-x-auto border-b border-turbo-border-default","data-testid":"inspiration-tabs-header-scroll",children:(0,n.FD)("div",{ref:i,role:"tablist",className:"relative flex w-max min-w-full gap-turbo-24","data-testid":"inspiration-tabs-header",children:[a.map(e=>{var a=e.id===r,t=e.title;return(0,n.FD)("button",{ref:a=>{l.current[e.id]=a},type:"button",role:"tab",id:"inspiration-tab-".concat(e.id),"aria-selected":a,"aria-controls":"inspiration-tabpanel-".concat(e.id),tabIndex:a?0:-1,"data-testid":"inspiration-tab-".concat(e.id),className:(0,g.A)("m-0 flex h-turbo-48 shrink-0 cursor-pointer flex-col items-stretch justify-between border-0 bg-transparent px-0 pt-turbo-10 pb-0","text-turbo-body-base leading-[1.4] whitespace-nowrap",a?"font-turbo-semibold text-turbo-content-default":"font-turbo-medium text-turbo-content-muted"),onClick:()=>{m(e.id)},onKeyDown:a=>{f(a,e.id)},children:[(0,n.Y)("span",{children:t}),(0,n.Y)("span",{"aria-hidden":!0,className:"h-[3px] w-full shrink-0"})]},e.id)}),(0,n.Y)("span",{"aria-hidden":!0,className:(0,g.A)("pointer-events-none absolute bottom-0 h-[3px] rounded-t-turbo-xxs bg-turbo-content-default","transition-[left,width] duration-200 ease-out motion-reduce:transition-none"),"data-testid":"inspiration-tabs-indicator",style:{left:c.left,width:c.width}})]})})},nT=(0,l.F)()?function(e){var a,r,t,o,l,s,c,d,u,m,p,f,b,v,_,w,k,x=(0,i.c)(32),F=e.categoryId,C=e.placement,N=void 0===F?"":F,Y=(0,y.Bd)("home").t;x[0]!==N?(r=nc(nE,N),x[0]=N,x[1]=r):r=x[1];var I=r,V=(0,h._)((0,W.useState)(null!=(t=null==(a=I[0])?void 0:a.id)?t:""),2),D=V[0],z=V[1];if(0===I.length)return null;x[2]!==D||x[3]!==I?(o=I.some(e=>e.id===D)&&D?D:null!=(s=null==(l=I[0])?void 0:l.id)?s:"",x[2]=D,x[3]=I,x[4]=o):o=x[4];var E=o,B="below-banner"===(void 0===C?"page":C);x[5]!==Y?(c=Y(no,null,{fallback:ni[no]}),x[5]=Y,x[6]=c):c=x[6];var T=B?"text-turbo-headline-small":"text-turbo-headline-base tracking-[-0.2px]";x[7]!==T?(d=(0,g.A)("font-turbo-medium leading-[1.4]",T),x[7]=T,x[8]=d):d=x[8];var M=B&&"pt-turbo-32 pb-turbo-32";x[9]!==M?(u=(0,g.A)(M),x[9]=M,x[10]=u):u=x[10],x[11]!==E||x[12]!==I?(m=(0,n.Y)(nB,{tabs:I,selectedTabId:E,onSelectTab:z}),x[11]=E,x[12]=I,x[13]=m):m=x[13],x[14]!==E||x[15]!==I?(x[17]!==E?(f=e=>(0,n.Y)(nz,{tabId:e.id,tabName:e.title,links:e.links,isActive:e.id===E},e.id),x[17]=E,x[18]=f):f=x[18],p=I.map(f),x[14]=E,x[15]=I,x[16]=p):p=x[16],x[19]!==p?(b=(0,n.Y)("div",{className:"relative w-full overflow-hidden",children:p}),x[19]=p,x[20]=b):b=x[20],x[21]!==m||x[22]!==b?(v=(0,n.FD)("div",{className:"flex w-full flex-col gap-turbo-32",children:[m,b]}),x[21]=m,x[22]=b,x[23]=v):v=x[23],x[24]!==v||x[25]!==c||x[26]!==d||x[27]!==u?(_=(0,n.Y)(A.tK,{testId:"inspiration-to-explore-section",wideDesktop:!0,title:c,titleClassName:d,contentGapClassName:"gap-turbo-24",headingId:"inspiration-to-explore-heading",className:u,children:v}),x[24]=v,x[25]=c,x[26]=d,x[27]=u,x[28]=_):_=x[28];var O=_;return B?(x[29]===Symbol.for("react.memo_cache_sentinel")?(w=(0,n.Y)(S,{"aria-hidden":!0}),x[29]=w):w=x[29],x[30]!==O?(k=(0,n.FD)("div",{className:"w-full bg-turbo-container-muted-disabled",children:[O,w]}),x[30]=O,x[31]=k):k=x[31],k):O}:function(e){var a,r,t,o,l=e.categoryId,i=void 0===l?"":l,s=e.placement,c=(0,y.Bd)("home").t,d=(0,W.useMemo)(()=>nc(nE,i),[i]),u=(0,h._)((0,W.useState)(null!=(t=null==(a=d[0])?void 0:a.id)?t:""),2),m=u[0],p=u[1];if(0===d.length)return null;var f=d.some(e=>e.id===m)&&m?m:null!=(o=null==(r=d[0])?void 0:r.id)?o:"",b="below-banner"===(void 0===s?"page":s),v=(0,n.Y)(A.tK,{testId:"inspiration-to-explore-section",wideDesktop:!0,title:c(no,null,{fallback:ni[no]}),titleClassName:(0,g.A)("font-turbo-medium leading-[1.4]",b?"text-turbo-headline-small":"text-turbo-headline-base tracking-[-0.2px]"),contentGapClassName:"gap-turbo-24",headingId:"inspiration-to-explore-heading",className:(0,g.A)(b&&"pt-turbo-32 pb-turbo-32"),children:(0,n.FD)("div",{className:"flex w-full flex-col gap-turbo-32",children:[(0,n.Y)(nB,{tabs:d,selectedTabId:f,onSelectTab:p}),(0,n.Y)("div",{className:"relative w-full overflow-hidden",children:d.map(e=>(0,n.Y)(nz,{tabId:e.id,tabName:e.title,links:e.links,isActive:e.id===f},e.id))})]})});return b?(0,n.FD)("div",{className:"w-full bg-turbo-container-muted-disabled",children:[v,(0,n.Y)(S,{"aria-hidden":!0})]}):v},nM="home-professional-seller-banner-label",nO="home-professional-seller-banner-cta",nP={[nM]:"Are you a professional seller?",[nO]:"Create business account"},nK="relative z-1 overflow-hidden bg-turbo-container-accent-muted md:rounded-b-[40px]",nR=(0,l.F)()?function(){var e,a,r,t,o,l,s,c,d,u=(0,i.c)(17),m=(0,y.Bd)("home").t,p=(0,v.z1)().trackEvent;u[0]!==m?(e=m(nM,null,{fallback:nP[nM]}),u[0]=m,u[1]=e):e=u[1];var h=e;u[2]!==m?(a=m(nO,null,{fallback:nP[nO]}),u[2]=m,u[3]=a):a=u[3];var f=a,b="https://www.otomoto.pl/konto/rejestracja-dealer/";return b?(u[4]===Symbol.for("react.memo_cache_sentinel")?(r=(0,g.A)("flex w-full flex-col items-center justify-center gap-turbo-16 px-turbo-24 py-[28px]","md:flex-row md:gap-turbo-24 md:py-0 md:pt-[72px] md:pb-turbo-24",nK),t={backgroundImage:"radial-gradient(ellipse 320px 656px at 50% 100%, rgba(0, 118, 244, 0.05) 0%, transparent 100%)"},u[4]=r,u[5]=t):(r=u[4],t=u[5]),u[6]!==h?(o=(0,n.Y)("p",{className:"m-0 text-center text-turbo-body-base leading-turbo-regular font-turbo-medium text-turbo-content-default",children:h}),u[6]=h,u[7]=o):o=u[7],u[8]===Symbol.for("react.memo_cache_sentinel")?(l=(0,g.A)((0,aN.r)({variant:"secondary",size:"medium"}),"no-underline hover:shadow-[inset_0_0_0_9999px_var(--color-turbo-state-muted-hover)] focus-visible:shadow-[0_0_0_2px_var(--color-turbo-container-default),0_0_0_5px_var(--color-turbo-border-accent)] active:scale-[0.95]"),u[8]=l):l=u[8],u[9]!==p?(s=()=>{p("registration_click","click")}
1,u[9]=p,u[10]=s):s=u[10],u[11]!==f||u[12]!==s?(c=(0,n.Y)(K(),{href:b,target:"_blank",rel:"noopener noreferrer",className:l,onClick:s,children:f}),u[11]=f,u[12]=s,u[13]=c):c=u[13],u[14]!==o||u[15]!==c?(d=(0,n.FD)("section",{"data-testid":"professional-seller-banner",className:r,style:t,children:[o,c]}),u[14]=o,u[15]=c,u[16]=d):d=u[16],d):null}:function(){var e=(0,y.Bd)("home").t,a=(0,v.z1)().trackEvent,r=e(nM,null,{fallback:nP[nM]}),t=e(nO,null,{fallback:nP[nO]}),o="https://www.otomoto.pl/konto/rejestracja-dealer/";return o?(0,n.FD)("section",{"data-testid":"professional-seller-banner",className:(0,g.A)("flex w-full flex-col items-center justify-center gap-turbo-16 px-turbo-24 py-[28px]","md:flex-row md:gap-turbo-24 md:py-0 md:pt-[72px] md:pb-turbo-24",nK),style:{backgroundImage:"radial-gradient(ellipse 320px 656px at 50% 100%, rgba(0, 118, 244, 0.05) 0%, transparent 100%)"},children:[(0,n.Y)("p",{className:"m-0 text-center text-turbo-body-base leading-turbo-regular font-turbo-medium text-turbo-content-default",children:r}),(0,n.Y)(K(),{href:o,target:"_blank",rel:"noopener noreferrer",className:(0,g.A)((0,aN.r)({variant:"secondary",size:"medium"}),"no-underline hover:shadow-[inset_0_0_0_9999px_var(--color-turbo-state-muted-hover)] focus-visible:shadow-[0_0_0_2px_var(--color-turbo-container-default),0_0_0_5px_var(--color-turbo-border-accent)] active:scale-[0.95]"),onClick:()=>{a("registration_click","click")},children:t})]}):null},nL=(0,l.F)()?function(){var e,a,r=(0,i.c)(2),t="https://www.otomoto.pl/konto/rejestracja-dealer/";return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,g.A)("isolate bg-turbo-container-muted-disabled",!t&&"md:pb-turbo-48"),r[0]=e):e=r[0],r[1]===Symbol.for("react.memo_cache_sentinel")?(a=(0,n.FD)("div",{className:e,"data-testid":"professional-seller-banner-transition",children:[(0,n.Y)("div",{"aria-hidden":!0,"data-testid":"professional-seller-banner-section-cap",className:"relative z-2 -mb-turbo-48 hidden h-turbo-48 rounded-b-[40px] bg-background-primary md:block"}),t?(0,n.Y)(nR,{}):null]}),r[1]=a):a=r[1],a}:function(){var e="https://www.otomoto.pl/konto/rejestracja-dealer/";return(0,n.FD)("div",{className:(0,g.A)("isolate bg-turbo-container-muted-disabled",!e&&"md:pb-turbo-48"),"data-testid":"professional-seller-banner-transition",children:[(0,n.Y)("div",{"aria-hidden":!0,"data-testid":"professional-seller-banner-section-cap",className:"relative z-2 -mb-turbo-48 hidden h-turbo-48 rounded-b-[40px] bg-background-primary md:block"}),e?(0,n.Y)(nR,{}):null]})},nH=(0,l.F)()?function(e){var a,r,t,o,l,s,c,d,u,m,p,h,f=(0,i.c)(34),b=e.ad,y=e.onClick,v=e.isStandoutPrice,_=e.className,w=void 0!==v&&v;f[0]!==b?(a=tL(b),f[0]=b,f[1]=a):a=f[1];var k=a,S="recommended-for-you-card-".concat(b.id);f[2]!==_?(r=(0,g.A)("group/card relative flex w-full max-w-full min-w-0 flex-col",_),f[2]=_,f[3]=r):r=f[3];var x=b.link,A=b.title,F="recommended-for-you-card-link-".concat(b.id);return f[4]===Symbol.for("react.memo_cache_sentinel")?(t=(0,g.A)("flex w-full flex-col",tO.yw),f[4]=t):t=f[4],f[5]===Symbol.for("react.memo_cache_sentinel")?(o=(0,g.A)(tO.Zc,tO.o6,"aspect-[4/3] w-full",tO.U5),f[5]=o):o=f[5],f[6]!==b.image?(l=(0,n.Y)("div",{className:o,children:b.image?(0,n.Y)("img",{src:b.image,alt:"",loading:"lazy",className:(0,g.A)("size-full object-cover",tO.Xl)}):(0,n.Y)("div",{className:"flex size-full items-center justify-center bg-turbo-container-muted"})}),f[6]=b.image,f[7]=l):l=f[7],f[8]===Symbol.for("react.memo_cache_sentinel")?(s=(0,g.A)("line-clamp-2",tO.fA),f[8]=s):s=f[8],f[9]!==b.title?(c=(0,n.Y)("p",{className:s,children:b.title}),f[9]=b.title,f[10]=c):c=f[10],f[11]!==w||f[12]!==k.location||f[13]!==k.parameters||f[14]!==k.price||f[15]!==k.rest?(d=k.parameters||k.location?(0,n.FD)("div",{className:"flex w-full min-w-0 flex-col gap-turbo-4",children:[(0,n.Y)(tH,{price:k.price,rest:k.rest,parameters:k.parameters,standoutPrice:w}),k.location?(0,n.Y)("p",{className:tO._O,children:k.location}):null]}):null,f[11]=w,f[12]=k.location,f[13]=k.parameters,f[14]=k.price,f[15]=k.rest,f[16]=d):d=f[16],f[17]!==c||f[18]!==d?(u=(0,n.FD)("div",{className:"flex w-full min-w-0 flex-col gap-turbo-8",children:[c,d]}),f[17]=c,f[18]=d,f[19]=u):u=f[19],f[20]!==b.link||f[21]!==b.title||f[22]!==y||f[23]!==l||f[24]!==u||f[25]!==F?(m=(0,n.FD)(K(),{href:x,"aria-label":A,"data-testid":F,className:t,onClick:y,children:[l,u]}),f[20]=b.link,f[21]=b.title,f[22]=y,f[23]=l,f[24]=u,f[25]=F,f[26]=m):m=f[26],f[27]!==b.id?(p=(0,n.Y)(tq,{adId:b.id,className:tO.V4}),f[27]=b.id,f[28]=p):p=f[28],f[29]!==m||f[30]!==p||f[31]!==S||f[32]!==r?(h=(0,n.FD)("div",{"data-testid":S,className:r,children:[m,p]}),f[29]=m,f[30]=p,f[31]=S,f[32]=r,f[33]=h):h=f[33],h}:function(e){var a=e.ad,r=e.onClick,t=e.isStandoutPrice,o=e.className,l=tL(a);return(0,n.FD)("div",{"data-testid":"recommended-for-you-card-".concat(a.id),className:(0,g.A)("group/card relative flex w-full max-w-full min-w-0 flex-col",o),children:[(0,n.FD)(K(),{href:a.link,"aria-label":a.title,"data-testid":"recommended-for-you-card-link-".concat(a.id),className:(0,g.A)("flex w-full flex-col",tO.yw),onClick:r,children:[(0,n.Y)("div",{className:(0,g.A)(tO.Zc,tO.o6,"aspect-[4/3] w-full",tO.U5),children:a.image?(0,n.Y)("img",{src:a.image,alt:"",loading:"lazy",className:(0,g.A)("size-full object-cover",tO.Xl)}):(0,n.Y)("div",{className:"flex size-full items-center justify-center bg-turbo-container-muted"})}),(0,n.FD)("div",{className:"flex w-full min-w-0 flex-col gap-turbo-8",children:[(0,n.Y)("p",{className:(0,g.A)("line-clamp-2",tO.fA),children:a.title}),l.parameters||l.location?(0,n.FD)("div",{className:"flex w-full min-w-0 flex-col gap-turbo-4",children:[(0,n.Y)(tH,{price:l.price,rest:l.rest,parameters:l.parameters,standoutPrice:void 0!==t&&t}),l.location?(0,n.Y)("p",{className:tO._O,children:l.location}):null]}):null]})]}),(0,n.Y)(tq,{adId:a.id,className:tO.V4})]})},nG=(0,l.F)()?function(e){var a,r=(0,i.c)(3),t=e.title,o=e.className;return r[0]!==o||r[1]!==t?(a=(0,n.Y)(ou.d,{title:t,headingId:"recommended-for-you-heading",className:o}),r[0]=o,r[1]=t,r[2]=a):a=r[2],a}:function(e){var a=e.title,r=e.className;return(0,n.Y)(ou.d,{title:a,headingId:"recommended-for-you-heading",className:r})},nW=r(969555),nj=[{id:"create-ad",labelKey:"sell-section-button-1",imagePath:"common/images/home/sell-section-1.webp",href:"/osobowe/nowe-ogloszenie",gradient:"blue"},{id:"free-valuation",labelKey:"sell-section-button-2",imagePath:"common/images/home/sell-section-2.webp",href:"/wycena-samochodu",gradient:"green"},{id:"sales-tips",labelKey:"sell-section-button-3",imagePath:"common/images/home/sell-section-3.webp",href:"/opcje-sprzedazy?from=postAdButton",gradient:"orange"}],nU={"create-ad":"post_in_vertical","free-valuation":"cvt_banner_click","
1sales-tips":"posting_form_click"},nq={blue:"radial-gradient(circle at 0% 0%, #ECF5FE99 0%, #8DC5F699 100%)",green:"radial-gradient(circle at 0% 0%, #ECF5FE99 0%, #D3F7ED99 100%)",orange:"radial-gradient(circle at 0% 0%, #FFFAE899 0%, #FFDCD899 100%)"},nX={"sell-section-button-1":"Start selling","sell-section-button-2":"Get free car valuation","sell-section-button-3":"See selling tips"},n$=(0,l.F)()?()=>{var e,a,r,t,o,l,s=(0,i.c)(14),c=(0,y.Bd)("page_home").t,d=(0,v.z1)().trackEvent;s[0]!==d?(e=e=>{var a=nU[e];a&&d(a,"click",{touch_point_page:"home",touch_point_button:"sell_section_title"})},s[0]=d,s[1]=e):e=s[1];var u=e;return s[2]!==c?(a=c("sell-section-title",null,{fallback:"Sell your car"}),s[2]=c,s[3]=a):a=s[3],s[4]!==a?(r=(0,n.Y)(x.jj,{desktop:!0,children:(0,n.Y)("div",{className:"flex flex-col items-start lg:max-w-[120px]",children:(0,n.Y)(ag.Ii,{variant:"headlineMedium",as:"h2",children:a})})}),s[4]=a,s[5]=r):r=s[5],s[6]!==u||s[7]!==c?(t=nj.map(e=>(0,n.FD)(K(),{className:"flex h-[86px] w-[192px] min-w-[192px] cursor-pointer items-center justify-between overflow-hidden rounded-[12px] border border-solid border-[#7D83851A] pl-[15px] sm:flex-1 lg:h-[71px] lg:w-auto lg:min-w-0 lg:py-200 lg:pl-300",style:{background:nq[e.gradient],backgroundOrigin:"border-box"},href:e.href,role:"button",tabIndex:0,onClick:()=>{u(e.id)},children:[(0,n.Y)(x.jj,{mobile:!0,tablet:!0,children:(0,n.Y)("span",{className:"flex-1 text-p2 leading-body-base font-medium tracking-[-0.3px] text-foreground-primary",children:c(e.labelKey,null,{fallback:nX[e.labelKey]})})}),(0,n.Y)(x.jj,{desktop:!0,children:(0,n.Y)(ag.IB,{variant:"secondary",size:"small",className:"flex min-w-[200px] cursor-pointer bg-[#37508208]",children:c(e.labelKey,null,{fallback:nX[e.labelKey]})})}),(0,n.Y)("div",{className:(0,g.A)("shrink-0",{"h-[77px] w-[80.7px]":"create-ad"===e.id,"h-[86.09px] w-[75px]":"free-valuation"===e.id,"h-[83.06px] w-[80.7px]":"sales-tips"===e.id}),children:(0,n.Y)(nW.A,{src:"".concat("//statics.otomoto.pl/optimus-storage/a/").concat(e.imagePath),alt:c(e.labelKey,null,{fallback:nX[e.labelKey]}),loading:"lazy",className:(0,g.A)("h-full w-full object-cover",{"translate-y-[10%]":"free-valuation"===e.id})})})]},e.id)),s[6]=u,s[7]=c,s[8]=t):t=s[8],s[9]!==t?(o=(0,n.Y)("div",{className:"-mx-turbo-24 flex gap-100 overflow-x-auto overflow-y-hidden px-turbo-24 [scrollbar-width:none] sm:mx-0 sm:justify-center sm:px-0 lg:flex-1 lg:justify-start lg:gap-200",children:t}),s[9]=t,s[10]=o):o=s[10],s[11]!==r||s[12]!==o?(l=(0,n.Y)("section",{className:"w-full py-0",children:(0,n.FD)("div",{className:"flex flex-col gap-100 lg:flex-row lg:items-center",children:[r,o]})}),s[11]=r,s[12]=o,s[13]=l):l=s[13],l}:()=>{var e=(0,y.Bd)("page_home").t,a=(0,v.z1)().trackEvent;return(0,n.Y)("section",{className:"w-full py-0",children:(0,n.FD)("div",{className:"flex flex-col gap-100 lg:flex-row lg:items-center",children:[(0,n.Y)(x.jj,{desktop:!0,children:(0,n.Y)("div",{className:"flex flex-col items-start lg:max-w-[120px]",children:(0,n.Y)(ag.Ii,{variant:"headlineMedium",as:"h2",children:e("sell-section-title",null,{fallback:"Sell your car"})})})}),(0,n.Y)("div",{className:"-mx-turbo-24 flex gap-100 overflow-x-auto overflow-y-hidden px-turbo-24 [scrollbar-width:none] sm:mx-0 sm:justify-center sm:px-0 lg:flex-1 lg:justify-start lg:gap-200",children:nj.map(r=>(0,n.FD)(K(),{className:"flex h-[86px] w-[192px] min-w-[192px] cursor-pointer items-center justify-between overflow-hidden rounded-[12px] border border-solid border-[#7D83851A] pl-[15px] sm:flex-1 lg:h-[71px] lg:w-auto lg:min-w-0 lg:py-200 lg:pl-300",style:{background:nq[r.gradient],backgroundOrigin:"border-box"},href:r.href,role:"button",tabIndex:0,onClick:()=>{(e=>{var r=nU[e];r&&a(r,"click",{touch_point_page:"home",touch_point_button:"sell_section_title"})})(r.id)},children:[(0,n.Y)(x.jj,{mobile:!0,tablet:!0,children:(0,n.Y)("span",{className:"flex-1 text-p2 leading-body-base font-medium tracking-[-0.3px] text-foreground-primary",children:e(r.labelKey,null,{fallback:nX[r.labelKey]})})}),(0,n.Y)(x.jj,{desktop:!0,children:(0,n.Y)(ag.IB,{variant:"secondary",size:"small",className:"flex min-w-[200px] cursor-pointer bg-[#37508208]",children:e(r.labelKey,null,{fallback:nX[r.labelKey]})})}),(0,n.Y)("div",{className:(0,g.A)("shrink-0",{"h-[77px] w-[80.7px]":"create-ad"===r.id,"h-[86.09px] w-[75px]":"free-valuation"===r.id,"h-[83.06px] w-[80.7px]":"sales-tips"===r.id}),children:(0,n.Y)(nW.A,{src:"".concat("//statics.otomoto.pl/optimus-storage/a/").concat(r.imagePath),alt:e(r.labelKey,null,{fallback:nX[r.labelKey]}),loading:"lazy",className:(0,g.A)("h-full w-full object-cover",{"translate-y-[10%]":"free-valuation"===r.id})})})]},r.id))})]})})};let nQ=JSON.parse('[{"name":"popularCarMakes","title_key":"page_home_toplinks_title_car_makes","links":[{"name":"Volkswagen","href":"/osobowe/volkswagen"},{"name":"Opel","href":"/osobowe/opel"},{"name":"Audi","href":"/osobowe/audi"},{"name":"BMW","href":"/osobowe/bmw"},{"name":"Toyota","href":"/osobowe/toyota"},{"name":"Skoda","href":"/osobowe/skoda"},{"name":"Peugeot","href":"/osobowe/peugeot"},{"name":"Renault","href":"/osobowe/renault"},{"name":"Ford","href":"/osobowe/ford"},{"name":"Mercedes-Benz","href":"/osobowe/mercedes-benz"}]}
1,{"name":"popularCarModelsAndVersions","title_key":"page_home_toplinks_title_car_models_versions","links":[{"name":"Audi A4 B8","href":"/osobowe/audi/a4?search[filter_enum_generation]=gen-b8-2007-2015"},{"name":"BMW Seria 3 E46","href":"/osobowe/bmw/seria-3?search[filter_enum_generation]=gen-e46-1998-2007"},{"name":"Volkswagen Golf V","href":"/osobowe/volkswagen/golf?search[filter_enum_generation]=gen-v-2003-2009"},{"name":"Opel Astra H","href":"/osobowe/opel/astra?search[filter_enum_generation]=gen-h-2004-2013"},{"name":"Opel Astra J","href":"/opel/astra?search[filter_enum_generation]=gen-j-2009-2015"},{"name":"Volkswagen Golf IV","href":"/osobowe/volkswagen/golf?search[filter_enum_generation]=gen-iv-1997-2006"},{"name":"Volkswagen Passat B6","href":"/osobowe/volkswagen/passat?search[filter_enum_generation]=gen-b6-2005-2010"},{"name":"Volkswagen Golf VI","href":"/osobowe/volkswagen/golf?search[filter_enum_generation]=gen-vi-2008-2013"},{"name":"Audi A6 C6","href":"/osobowe/audi/a6?search[filter_enum_generation]=gen-c6-2004-2011"},{"name":"Audi A4 B7","href":"/osobowe/audi/a4?search[filter_enum_generation]=gen-b7-2004-2007"}]},{"name":"popularCarsmileBrands","title_key":"C2B_CARS_IN_RENT_LEASING_LOANS","links":[{"name":"Hyundai","href":"https://www.otomoto.pl/otomotolease/marka/hyundai"},{"name":"Citroen","href":"https://www.otomoto.pl/otomotolease/marka/citroen"},{"name":"Toyota","href":"https://www.otomoto.pl/otomotolease/marka/toyota"},{"name":"Volkswagen","href":"https://www.otomoto.pl/otomotolease/marka/volkswagen"},{"name":"Seat","href":"https://www.otomoto.pl/otomotolease/marka/seat"},{"name":"Mini","href":"https://www.otomoto.pl/otomotolease/marka/mini-bmw"},{"name":"Mercedes-Benz","href":"https://www.otomoto.pl/otomotolease/marka/mercedes-benz"},{"name":"BMW","href":"https://www.otomoto.pl/otomotolease/marka/bmw"},{"name":"Peugeot","href":"https://www.otomoto.pl/otomotolease/marka/peugeot"},{"name":"Nissan","href":"https://www.otomoto.pl/otomotolease/marka/nissan"},{"name":"Audi","href":"https://www.otomoto.pl/otomotolease/marka/audi"},{"name":"Fiat","href":"https://www.otomoto.pl/otomotolease/marka/fiat"},{"name":"Dacia","href":"https://www.otomoto.pl/otomotolease/marka/dacia"},{"name":"Volvo","href":"https://www.otomoto.pl/otomotolease/marka/volvo"},{"name":"Skoda","href":"https://www.otomoto.pl/otomotolease/marka/skoda"}]},{"name":"popularMotorbikeMakes","title_key":"page_home_toplinks_title_motorbike_makes","links":[{"name":"Harley Davidson","href":"/motocykle-i-quady/harley-davidson"},{"name":"Yamaha","href":"/motocykle-i-quady/yamaha"},{"name":"Kawasaki","href":"/motocykle-i-quady/kawasaki"},{"name":"BMW","href":"/motocykle-i-quady/bmw"},{"name":"Bashan","href":"/motocykle-i-quady/bashan"},{"name":"Aprilla","href":"/motocykle-i-quady/aprilia"},{"name":"Ducati","href":"/motocykle-i-quady/ducati"},{"name":"Can-Am","href":"/motocykle-i-quady/can-am"},{"name":"Benelli","href":"/motocykle-i-quady/benelli"}]},{"name":"otherPopularVehicles","title_key":"page_home_toplinks_title_other_vehicles","links":[{"name":"Samochody dostawcze","href":"/dostawcze"},{"name":"Traktory","href":"/maszyny-rolnicze/traktory"},{"name":"Koparko-Åadowarki","href":"/maszyny-budowlane/koparko-ladowarki"},{"name":"CiÄżar\xf3wki","href":"/ciezarowe/uzytkowe/scania"},{"name":"Naczepy i wywrotki","href":"/przyczepy/maczepy_wywrotki"},{"name":"Wywrotki","href":"/ciezarowe/wywrotki/#form"},{"name":"Przyczepy budowlane","href":"/przyczepy/przyczepy-budowlane"},{"name":"Koparki","href":"/maszyny-budowlane/koparki"},{"name":"Autolawety","href":"/ciezarowe/autolaweta"},{"name":"Autobusy","href":"/ciezarowe/autobusy"}]},{"name":"popularModelsVolkswagen","title_key":"page_home_toplinks_title_models_volkswagen","links":[{"name":"Volkswagen Golf","href":"/osobowe/volkswagen/golf"},{"name":"Volkswagen Polo","href":"/osobowe/volkswagen/polo"},{"name":"Volkswagen Tiguan","href":"/osobowe/volkswagen/tiguan"},{"name":"Volkswagen Passat","href":"/osobowe/volkswagen/passat"},{"name":"Volkswagen Scirocco","href":"/osobowe/volkswagen/scirocco"},{"name":"Volkswagen Touran","href":"/osobowe/volkswagen/touran"},{"name":"Volkswagen Sharan","href":"/osobowe/volkswagen/sharan"},{"name":"Volkswagen Golf Plus","href":"/osobowe/volkswagen/golf-plus"},{"name":"Volkswagen Touareg","href":"/osobowe/volkswagen/touareg"},{"name":"Volkswagen Jetta","href":"/osobowe/volkswagen/jetta"}]},{"name":"popularModelsBmw","title_key":"page_home_toplinks_title_models_bmw","links":[{"name":"BMW Seria 1","href":"/osobowe/bmw/seria-1"},{"name":"BMW Seria 3","href":"/osobowe/bmw/seria-3"},{"name":"BMW X5","href":"/osobowe/bmw/x5"},{"name":"BMW Seria 5","href":"/osobowe/bmw/seria-5"},{"name":"BMW M3","href":"/osobowe/bmw/m3"},{"name":"BMW X3","href":"/osobowe/bmw/x3"},{"name":"BMW X1","href":"/osobowe/bmw/x1"},{"name":"BMW M2","href":"/osobowe/bmw/m2"},{"name":"BMW i8","href":"/osobowe/bmw/i8"},{"name":"BMW X6","href":"/osobowe/bmw/x6"}]},{"name":"popularModelsAudi","title_key":"page_home_toplinks_title_models_audi","links":[{"name":"Audi A3","href":"/osobowe/audi/a3"},{"name":"Audi A4","href":"/osobowe/audi/a4"},{"name":"Audi A6","href":"/osobowe/audi/a6"},{"name":"Audi RS7","href":"/osobowe/audi/rs7"},{"name":"Audi A5","href":"/osobowe/audi/a5"},{"name":"Audi Q5","href":"/osobowe/audi/q5"},{"name":"Audi TT","href":"/osobowe/audi/tt"},{"name":"Audi A7","href":"/osobowe/audi/a7"},{"name":"Audi A8","href":"/osobowe/audi/a8"},{"name":"Audi R8","href":"/osobowe/audi/r8"}]}
1,{"name":"popularLocations","title_key":"page_home_toplinks_title_popular_locations","links":[{"name":"BiaÅystok","href":"/osobowe/bialystok?search[dist]=50"},{"name":"Bydgoszcz","href":"/osobowe/bydgoszcz?search[dist]=50"},{"name":"GdaÅsk","href":"/osobowe/gdansk?search[dist]=50"},{"name":"Kielce","href":"/osobowe/kielce?search[dist]=50"},{"name":"Koszalin","href":"/osobowe/koszalin?search[dist]=50"},{"name":"Krak\xf3w","href":"/osobowe/krakow?search[dist]=50"},{"name":"Å\xf3dź","href":"/osobowe/lodz?search[dist]=50"},{"name":"Olsztyn","href":"/osobowe/olsztyn?search[dist]=50"},{"name":"Opole","href":"/osobowe/opole?search[dist]=50"},{"name":"PoznaÅ","href":"/osobowe/poznan?search[dist]=50"},{"name":"Rzesz\xf3w","href":"/osobowe/rzeszow?search[dist]=50"},{"name":"Szczecin","href":"/osobowe/szczecin?search[dist]=50"},{"name":"Warszawa","href":"/osobowe/warszawa?search[dist]=50"},{"name":"WrocÅaw","href":"/osobowe/wroclaw?search[dist]=50"},{"name":"Zielona G\xf3ra","href":"/osobowe/zielonagora?search[dist]=50"},{"name":"Bielsko-BiaÅa","href":"/osobowe/bielsko-biala?search[dist]=50"},{"name":"Bytom","href":"/osobowe/bytom?search[dist]=50"},{"name":"CzÄstochowa","href":"/osobowe/czestochowa?search[dist]=50"},{"name":"Gdynia","href":"/osobowe/gdynia?search[dist]=50"},{"name":"Gliwice","href":"/osobowe/gliwice?search[dist]=50"},{"name":"Gniezno","href":"/osobowe/gniezno?search[dist]=50"},{"name":"Rybnik","href":"/osobowe/rybnik?search[dist]=50"},{"name":"Siedlce","href":"/osobowe/siedlce?search[dist]=50"},{"name":"Sosnowiec","href":"/osobowe/sosnowiec?search[dist]=50"},{"name":"ToruÅ","href":"/osobowe/torun?search[dist]=50"}]},{"name":"districts","title_key":"page_home_toplinks_title_districts","links":[{"name":"Mazowieckie","href":"/osobowe/mazowieckie"},{"name":"Wielkopolskie","href":"/osobowe/wielkopolskie"},{"name":"ÅlÄ
skie","href":"/osobowe/slaskie"},{"name":"MaÅopolskie","href":"/osobowe/malopolskie"},{"name":"DolnoÅlÄ
skie","href":"/osobowe/dolnoslaskie"},{"name":"Pomorskie","href":"/osobowe/pomorskie"},{"name":"Å\xf3dzkie","href":"/osobowe/lodzkie"},{"name":"Lubelskie","href":"/osobowe/lubelskie"},{"name":"Zachodniopomorskie","href":"/osobowe/zachodniopomorskie"},{"name":"Podkarpackie","href":"/osobowe/podkarpackie"},{"name":"ÅwiÄtokrzyskie","href":"/osobowe/swietokrzyskie"},{"name":"Lubuskie","href":"/osobowe/lubuskie"},{"name":"Podlaskie","href":"/osobowe/podlaskie"},{"name":"Opolskie","href":"/osobowe/opolskie"}]}]');var nJ=W.memo((0,l.F)()?function(e){var a,r,t,o=(0,i.c)(7),l=e.t,s=(0,v.z1)().trackEvent;o[0]!==s?(a=e=>{s("footer_links_seo","click",{touch_point_button:"block ".concat(e.name)})},o[0]=s,o[1]=a):a=o[1];var c=a;return o[2]!==c||o[3]!==l?(r=nQ.map(e=>(0,n.FD)("div",{children:[(0,n.FD)("h4",{className:"text-p5 font-bold",children:[l(e.title_key),":"]}),(0,n.Y)("ol",{className:"pb-200",children:e.links.map(a=>(0,n.Y)("li",{className:"mr-200 inline-block h-300",children:(0,n.Y)(K(),{href:a.href,onClick:()=>{c(a)},children:(0,n.Y)(ag.P5,{as:"span",className:"cursor-pointer !font-bold !text-foreground-secondary",children:a.name})})},"".concat(e.name,"-").concat(a.name)))})]},e.name)),o[2]=c,o[3]=l,o[4]=r):r=o[4],o[5]!==r?(t=(0,n.Y)("div",{className:"px-100",children:r}),o[5]=r,o[6]=t):t=o[6],t}:function(e){var a=e.t,r=(0,v.z1)().trackEvent,t=W.useCallback(e=>{r("footer_links_seo","click",{touch_point_button:"block ".concat(e.name)})},[r]);return(0,n.Y)("div",{className:"px-100",children:nQ.map(e=>(0,n.FD)("div",{children:[(0,n.FD)("h4",{className:"text-p5 font-bold",children:[a(e.title_key),":"]}),(0,n.Y)("ol",{className:"pb-200",children:e.links.map(a=>(0,n.Y)("li",{className:"mr-200 inline-block h-300",children:(0,n.Y)(K(),{href:a.href,onClick:()=>{t(a)},children:(0,n.Y)(ag.P5,{as:"span",className:"cursor-pointer !font-bold !text-foreground-secondary",children:a.name})})},"".concat(e.name,"-").concat(a.name)))})]},e.name))})});let nZ=(0,y.CI)("home")(nJ);var n0=e=>{var a=e.loadingFallback,o=(0,_._)(e,["loadingFallback"]),l=(0,h._)((0,W.useState)(null),2),i=l[0],s=l[1];return((0,W.useEffect)(()=>{var e=!1;return Promise.all([r.e(62979),r.e(8755)]).then(r.bind(r,966375)).then(a=>{e||s(()=>a.PersonalizedAdsQuery)}),()=>{e=!0}},[]),i)?(0,n.Y)(i,(0,t._)({},o)):a},n1=e=>{switch(e){case"otomotopl":return"Poland";case"autovitro":return"Romania";default:return"Portugal"}},n2=e=>"New and used electric cars in ".concat(e),n3=e=>{var a=e.isOtomoto,r=e.categoryId,t=e.isAutovit;return e.isElectricCategory?"homepage-search-dynamic-title-electric":a?r===G.Wd?"homepage-search-dynamic-title-oto-cars":"homepage-search-dynamic-title-oto-default":t?"homepage-search-dynamic-title-aut":"homepage-search-dynamic-title-stv"},n5=(0,rR.F)("text-foreground-primary",{variants:{align:{start:"min-w-0 truncate text-[24px] leading-turbo-regular font-medium tracking-[-0.2px]",center:"mx-sm mb-xs text-center text-headline-large leading-headline-large font-bold tracking-[-0.3px] lg:mx-0","center-compact":"w-full text-center text-[24px] leading-[1.1] font-medium tracking-[-0.2px]"}},defaultVariants:{align:"center"}}),n4=(0,l.F)()?e=>{var a,r,t=(0,i.c)(10),o=e.category,l=e.isElectricCategory,s=e.align,c=void 0!==l&&l,d=void 0===s?"center":s,u=(0,y.Bd)("home").t,m=(null==o?void 0:o.label)||"vehicle";if(t[0]!==(null==o?void 0:o.id)||t[1]!==c||t[2]!==u||t[3]!==m){var p,f,b=m.toLowerCase(),v=n3({isOtomoto:!0,categoryId:null!=(f=null==o?void 0:o.id)?f:"",isAutovit:!1,isElectricCategory:c}),_=n1("otomotopl");p=(c?u(v,null,{fallback:n2(_)}):u(v,{category:b})).split("\n"),t[0]=null==o?void 0:o.id,t[1]=c,t[2]=u,t[3]=m,t[4]=p}else p=t[4];var g=(0,h._)(p,1)[0];return t[5]!==d?(a=n5({align:d}),t[5]=d,t[6]=a):a=t[6],t[7]!==a||t[8]!==g?(r=(0,n.Y)("h1",{className:a,children:g}),t[7]=a,t[8]=g,t[9]=r):r=t[9],r}:e=>{var a,r=e.category,t=e.isElectricCategory,o=void 0!==t&&t,l=e.align,i=(0,y.Bd)("home").t,s=((null==r?void 0:r.label)||"vehicle").toLowerCase(),c=n3({isOtomoto:!0,categoryId:null!=(a=null==r?void 0:r.id)?a:"",isAutovit:!1,isElectricCategory:o}),d=n1("otomotopl"),u=o?i(c,null,{fallback:n2(d)}):i(c,{category:s}),m=(0,h._)(u.split("\n"),2),p=m[0];return m[1],(0,n.Y)("h1",{className:n5({align:void 0===l?"center":l}),children:p})},n8=r(608987),n6=e=>"Electric Cars: All you need \xb7 ".concat(e),n9=(e,a)=>"Electric cars on ".concat(e,". Compare brands, models, prices and range. Find guides, rankings and over ").concat(a," listings in one place."),n7=(0,l.F)()?e=>{var a,r,t=(0,i.c)(10),o=e.isDefaultCategory,l=e.isElectricCategory,s=e.categoryUriPath,c=e.totalAdsCount,d=(0,y.Bd)("home").t,u=o||!s?"https://www.otomoto.pl":"".concat("https://www.otomoto.pl","/?category=").concat(s);if(!o&&s&&l){var m,p,h,f,b="Otomoto",v=String(null!=c?c:0);t[0]!==d?(h=d("homepage-seo-title-electric",{brand:b},{fallback:n6(b)}),t[0]=d,t[1]=h):h=t[1],m=h,t[2]!==v||t[3]!==d?(f=d("homepage-seo-description-electric",{brand:b,count:v},{fallback:n9(b,v)}),t[2]=v,t[3]=d,t[4]=f):f=t[4],p=f}
1return t[5]===Symbol.for("react.memo_cache_sentinel")?(a={maxImagePreview:"large"},t[5]=a):a=t[5],t[6]!==u||t[7]!==p||t[8]!==m?(r=(0,n.Y)(n8.bV,{canonical:u,title:m,description:p,robotsProps:a}),t[6]=u,t[7]=p,t[8]=m,t[9]=r):r=t[9],r}:e=>{var a=e.isDefaultCategory,r=e.isElectricCategory,t=e.categoryUriPath,o=e.totalAdsCount,l=(0,y.Bd)("home").t,i=a||!t?"https://www.otomoto.pl":"".concat("https://www.otomoto.pl","/?category=").concat(t);if(!a&&t&&r){var s,c,d="Otomoto",u=String(null!=o?o:0);s=l("homepage-seo-title-electric",{brand:d},{fallback:n6(d)}),c=l("homepage-seo-description-electric",{brand:d,count:u},{fallback:n9(d,u)})}return(0,n.Y)(n8.bV,{canonical:i,title:s,description:c,robotsProps:{maxImagePreview:"large"}})},le=new Set,la=(e,a)=>a.has(String(e))?"personalized":"backfill",lr=r(157013),lt={sessionID:null,isResolving:!0},lo=function(){var e=!(arguments.length>0)||void 0===arguments[0]||arguments[0],a=(0,W.useMemo)(()=>{var a,r;return r=a=e?lt:{sessionID:null,isResolving:!1},{subscribe:r=>{if(!e)return()=>{};var t=()=>{var e,t=null!=(e=(0,lr.bs)())?e:null;return!!t&&(a={sessionID:t,isResolving:!1},r(),!0)};if(t())return()=>{};var o=window.setInterval(()=>{t()&&(window.clearInterval(o),window.clearTimeout(n))},250),n=window.setTimeout(()=>{window.clearInterval(o),a={sessionID:null,isResolving:!1},r()},1e3);return()=>{window.clearInterval(o),window.clearTimeout(n)}},getSnapshot:()=>a,getServerSnapshot:()=>r}},[e]);return(0,W.useSyncExternalStore)(a.subscribe,a.getSnapshot,a.getServerSnapshot)},ln=eT()(async()=>(await r.e(90653).then(r.bind(r,490653))).HomepageLastSearch,{loadableGenerated:{webpack:()=>[490653]},ssr:!0}),ll=eT()(async()=>(await Promise.all([r.e(62979),r.e(8755)]).then(r.bind(r,966375))).SimilarAds,{loadableGenerated:{webpack:()=>[966375]},ssr:!1}),li=eT()(async()=>(await r.e(99145).then(r.bind(r,499145))).ArticlesSectionContainer,{loadableGenerated:{webpack:()=>[499145]},ssr:!0}),ls=eT()(async()=>(await Promise.all([r.e(32719),r.e(21935)]).then(r.bind(r,21935))).EvTable,{loadableGenerated:{webpack:()=>[21935]},ssr:!0});function lc(e){return e.children}var ld=(e,a)=>{var r=new URL(a,"https://localhost");return r.searchParams.set("category",e),"".concat(r.pathname).concat(r.search).concat(r.hash)},lu=(e,a)=>{var r=[];return e&&r.push(e),(null!=a?a:[]).forEach(e=>{r.push(e)}),r},lm=e=>{let a;var r,t,o,l,i,s,c,d,u,m,p,h,y,_,w,k=e.offerOfTheDay,S=e.promotedAds,F=e.category,C=e.banners,N=e.screenComponentsFilters,Y=e.evToolScreen,I=e.advertSearchSummary,V=e.manualSearchTrackingSlot,D=e.buyerChatAssistantSlot,z=e.pageAreaWrapper,E=e.sessionID,B=e.isSessionLongResolving,T=e.shouldPersonalizePromotedAds,M=e.personalizedPromotedAdsState,O=(0,v.z1)(),P=O.usePageView,K=O.trackEvent,L=O.trackLinkEvent,H=(0,R.useRouter)(),j=(0,ez.r)(),U=(0,W.useRef)([]),q=(0,W.useRef)(!1),X=null!=z?z:lc,$=(null==F?void 0:F.id)===G.Wd,Q=!!(null==C?void 0:C.image),J=null!=(t=(0,f._T)(b.kqD))&&t,Z=null!=(o=(0,f._T)(b.Pav))&&o,ee=null!=(l=(0,f._T)(b.STz))&&l,ea=e_(ew.HOMEPAGE_AD_CARD_CAROUSEL),er=ea.isEnabled,et="c"===ea.variant,eo=e_(ew.HOMEPAGE_LAST_SEARCH).isEnabled,en=e_(ew.HOMEPAGE_SEO_REDESIGN).isEnabled,el=(a=null==F?void 0:F.id,a===G.Wd&&!!E),ei=T&&!!E,es=M.groups,ec=M.fetching,ed=M.hasError,eu=M.hasResponse,em=(0,W.useMemo)(()=>{var e,a;return(null!=(a=null==es||null==(e=es[0])?void 0:e.ads)?a:[]).map(e=>{var a,r,t,o,n=null!=(a=e.attributes)?a:[];return{id:e.id,title:null!=(r=e.title)?r:"",image:ej(null!=(t=e.photos[0])?t:"",320,240),price:(e=>{var a,r=e.price;if((null==r?void 0:r.__typename)!=="AdNetGrossPrice")return{currency:"",value:"",grossNet:""};var t=r.grossMinorAmount?Number(r.grossMinorAmount)/100:"";return{currency:null!=(a=r.currencyCode)?a:"",value:(0,eK.ZV)(t),grossNet:""}})(e),characteristics:eW(n),link:e.url,location:eU(null!=(o=e.location)?o:null)}})},[es]),ep=null!=(i=null==es||null==(r=es[0])?void 0:r.adsAlgorithm)?i:lp,eh=(0,W.useMemo)(()=>(e=>{var a=e.defaultAds,r=e.personalizedAds,t=e.personalizedAdsAlgorithm,o=e.requiredCount,n=e.isEligible,l=e.isFetching,i=e.hasResponse,s=e.hasError,c=[...new Map(r.filter(e=>e.id).map(e=>[e.id,e])).values()];if(!(n&&!l&&i&&!s&&c.length>=o))return{ads:a,personalizedAdIds:le};var d=c.slice(0,o),u=new Set(d.map(e=>e.id));return{ads:d,personalizedAdIds:new Set((void 0===t?[]:t).filter(e=>"PERSONALIZED"===e.recommendationOrigin&&u.has(e.adID)).map(e=>e.adID))}})({defaultAds:S,personalizedAds:em,personalizedAdsAlgorithm:ep,requiredCount:8,isEligible:ei,isFetching:ec,hasResponse:eu,hasError:ed}),[eu,em,ep,ed,ec,S,8,ei]),ef=eh.ads,eb=eh.personalizedAdIds,ey=(e=>{var a=e.isTreatment,r=e.isSessionResolving,t=e.hasSession,o=e.isFetching,n=e.hasResponse,l=e.hasError;return a&&(r||t&&(o||!n&&!l))})({isTreatment:T,isSessionResolving:B,hasSession:!!E,isFetching:ec,hasResponse:eu,hasError:ed}),ev=tz(null==F?void 0:F.id);P("home",{cat_l1_id:(null==F?void 0:F.id)?+F.id:void 0,cat_l1_name:(null==F?void 0:F.code)?F.code.toLowerCase():void 0});var eg=(0,W.useMemo)(()=>(function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8;return os(e,a).map(e=>Number.parseInt(e.id,10))})(ef,8),[ef,8]),ek=!!(null==k?void 0:k.id)||ef.some(e=>e.id),ex=(0,W.useMemo)(()=>os(ef,8).map(e=>e.id),[ef,8]),eA=(0,f._T)(b.F_M);(0,W.useEffect)(function(){U.current=lu((null==k?void 0:k.id)?Number(k.id
1):null,eg)},[null==k?void 0:k.id,eg]),(0,W.useEffect)(function(){if(!ey&&!q.current){q.current=!0;var e,a,r,t,o,n,l,i,s,c,d,u=(null==k?void 0:k.id)?Number(k.id):null,m=lu(u,eg);a=(e={offerOfTheDayId:u,promotedAdIds:eg,adImpressionIds:m,personalizedPromotedAdIds:eb,trackEvent:K}).offerOfTheDayId,r=e.promotedAdIds,t=e.adImpressionIds,o=e.personalizedPromotedAdIds,n=e.trackEvent,l=[],i=[],s=[],c=[],d=[],a&&(l.push(l.length+1),i.push(a),s.push(1),c.push([eV.L.OFFER_OF_THE_DAY,eV.L.HOMEPAGE]),d.push("backfill")),(null!=r?r:[]).forEach(e=>{l.push(l.length+1),i.push(e),s.push(s.length+1),c.push([eV.L.HOMEPAGE]),d.push(la(e,o))}),n("ads_impression","impression",{ad_impressions:t,ad_position:l,promoted_ad_impressions:i,promoted_ad_positions:s,promoted_ad_products:c,promoted_ad_origin:d},void 0,!0)}},[ey,null==k?void 0:k.id,eb,eg,K]);var eF=(0,W.useCallback)(e=>a=>{var r=a.id;r&&(e=>{var a=e.adId,r=e.touch_point_button,t=e.offerOfTheDay,o=e.adImpressions,n=e.favorites,l=e.personalizedPromotedAdIds,i=e.trackEvent,s=null==n?void 0:n.inFavorites(null!=a?a:""),c=[eV.L.HOMEPAGE],d=(null==t?void 0:t.id)===a,u=d?eE.Rq.VAS_OFFER_OF_THE_DAY:eE.Rq.VAS_HOME;if(d){var m=t.makeKey&&t.modelKey?(0,eE.en)(t.makeKey,t.modelKey,"otomotopl"):null;m&&(0,eE.Bn)({adReason:eE.EN.HOME,adReasonWidget:u,adId:m}),c.push(eV.L.OFFER_OF_THE_DAY)}(0,eE.Bn)({adReason:eE.EN.HOME,adReasonWidget:u,adId:a}),i("ad_click","click",{ad_id:a,touch_point_button:r,is_favourite_ad:+!!s,result_position:o.current.indexOf(Number(a))+1,is_promoted:1,promoted_ad_products:c,promoted_ad_origin:[d?"backfill":la(a,l)]},void 0,!0)})({adId:r,touch_point_button:e,offerOfTheDay:k,adImpressions:U,favorites:j,personalizedPromotedAdIds:eb,trackEvent:K})},[K,U,j,k,eb]),eC=(0,W.useCallback)(e=>{if(K("home_category_click","click",{cat_l1_id:Number(e.id),cat_l1_name:e.code}),eA&&e.id===G.dI)return void window.open("","_blank","noopener,noreferrer");H.push(ld(e.uriPath,H.asPath))},[H,K,eA]),eN=(0,W.useCallback)(e=>{L("home_category_click",{business_model:"lease"},e,eP.uriPath)},[L]),eY=(0,W.useMemo)(()=>{if(J&&!Z)return{id:eP.id,label:eP.label,href:eP.uriPath,onClick:eN}},[eN,J,Z]),eD=(0,aF.U0)(null!=(s=null==F?void 0:F.id)?s:""),eB=(0,aF.r4)(null!=(c=null==F?void 0:F.id)?c:""),eT=(0,n.Y)(nt,{categoryId:null!=(d=null==F?void 0:F.id)?d:"",screenComponentsFilters:N,advertsSearchSummary:I,useFloatingLabel:!0,useSearchAreaPadding:!D,manualSearchTrackingSlot:V}),eM=(0,n.Y)(oq,{categoryId:null!=(u=null==F?void 0:F.id)?u:"",screenComponentsFilters:N,advertsSearchSummary:I,spacing:D?"relaxed":"compact"}),eO=(0,n.Y)(n4,{category:eD,isElectricCategory:eB,align:D?"start":"center"}),eR=(0,W.useCallback)(e=>ld(e.uriPath,H.asPath),[H.asPath]),eL=(0,n.Y)(ax,{selectedCategoryId:null==F?void 0:F.id,handleCategoryClick:eC,virtualCategory:eY,align:D?"start":"center",getCategoryHref:eR}),eH=(0,n.Y)(n4,{category:eD,isElectricCategory:eB,align:D?"center-compact":"center"}),eG=(0,n.Y)(ax,{selectedCategoryId:null==F?void 0:F.id,handleCategoryClick:eC,virtualCategory:eY,align:D?"start":"center",getCategoryHref:eR,spacing:"none"}),eq=(0,n.FD)(n.FK,{children:[eo?(0,n.Y)("div",{className:"w-full",children:(0,n.Y)(ln,{categoryId:null!=(m=null==F?void 0:F.id)?m:"",categoryLabel:null==F?void 0:F.label})}):null,$?(0,n.Y)(A.tK,{as:"div",testId:"homepage-sell-section",children:(0,n.Y)(n$,{})}):null,ev?(0,n.Y)("div",{className:(0,g.A)("w-full",!eo&&"!mt-0"),children:(0,n.Y)(tE,{categoryId:null==F?void 0:F.id,evToolScreen:Y})}):null,ek?(0,n.Y)(A.tK,{as:"div",wideDesktop:!0,children:(0,n.Y)(ow,{offerOfTheDay:k,promotedAds:ef,maxPromotedAds:8,isCarouselVariant:er,isStandoutPrice:et,onSpotlightClick:eF("day_offer"),onPromotedAdClick:e=>eF(e)})}):null,el&&E?(0,n.Y)(A.tK,{as:"div",testId:"homepage-personalized-ads",wideDesktop:!0,children:(0,n.Y)(ll,{usePersonalizedQuery:!0,personalizedStrategy:"SESSION",sessionID:E,personalizedMaxAds:12,excludeAdIds:ex,touchPointPage:"home",touchPointButton:"homepage_recommendations",showInventoryBtn:!1,titleTranslationKey:"home-recommended-for-you-title",titleTranslationNamespace:"home",layoutMode:"homepage-recommended",peekNextCard:er,showDesktopCarou
1selNav:er,featuredCardStyle:!1,customTitleRenderer:e=>(0,n.Y)(nG,{title:e}),renderAdCard:e=>{var a=e.ad,r=e.onClick;return(0,n.Y)(nH,{ad:function(e){var a,r,t=["mileage","year","first_registration_year"].map(a=>{var r,t,o=(null==(t=e.attributes[a])||null==(r=t.value)?void 0:r.trim())||void 0;return o?{name:a,value:o}:null}).filter(e=>!!e);return{id:e.id,title:e.title,image:ej(e.image,320,240),link:e.url,price:{currency:e.price.currency,value:Number.isFinite(r=Number.parseInt(a=e.price.value,10))?(0,eK.ZV)(r):a},characteristics:t,location:e.address}}(a),onClick:r,isStandoutPrice:et})}},"homepage-recommended-redesign")}):null,eB&&ee?(0,n.Y)("div",{className:"w-full",children:(0,n.Y)(ls,{fallbackUrl:null!=(p=null==I?void 0:I.url)?p:void 0})}):null,(0,n.Y)(li,{categoryId:null!=(h=null==F?void 0:F.id)?h:""},null==F?void 0:F.id),(0,n.Y)("div",{className:"w-full has-[>div:empty]:hidden xl:mx-auto xl:max-w-page",children:(0,n.Y)(au,{})}),en?(0,n.Y)(x.jj,{desktop:!0,tablet:!0,children:(0,n.Y)(nT,{categoryId:null!=(y=null==F?void 0:F.id)?y:"",placement:"page"})}):(0,n.Y)("div",{className:"w-full px-200 xl:mx-auto xl:max-w-page xl:px-0",children:(0,n.Y)(nZ,{})})]});return(0,n.FD)(n.FK,{children:[(0,n.Y)(eS.u,{page:"homepage"}),(0,n.Y)(n7,{isDefaultCategory:(null==F?void 0:F.id)===G.Wd,isElectricCategory:eB,categoryUriPath:null==F?void 0:F.uriPath,totalAdsCount:null!=(_=null==I?void 0:I.totalCount)?_:void 0}),(0,n.FD)("div",{"data-testid":"main-content",className:"w-full space-y-turbo-32 md:space-y-turbo-40",children:[(0,n.FD)(x.jj,{desktop:!0,children:[(0,n.FD)("div",{className:"relative grid w-full grid-rows-[auto_1fr]",children:[(0,n.Y)(av,{data:C,useStaticImage:!Q,className:"xl:relative xl:col-[1/-1] xl:row-[1/2] xl:mx-auto xl:min-h-[300px] xl:w-full xl:max-w-[1920px] xl:overflow-hidden"}),(0,n.Y)("article",{"data-testid":"homepage-search-panel",className:(0,g.A)("flex h-auto w-full flex-col bg-background-primary xl:relative xl:col-span-full xl:row-[2/3] xl:mx-auto xl:-mt-[150px] xl:max-w-[1032px] xl:justify-center",{"gap-turbo-8 rounded-turbo-xxxl p-turbo-32 shadow-[0_0_0_1px_rgba(0,0,0,0.05),0_12px_26px_0_rgba(0,0,0,0.05)]":D,"rounded-large border-small border-solid border-border-subtle pt-400 xl:pb-200":!D}),children:D?D({title:eO,categories:eL,filters:eT,platform:"desktop"}):(0,n.FD)(n.FK,{children:[eO,eL,eT]})})]}),(null==C?void 0:C.video)?(0,n.Y)(a_,{data:C.video,className:"hidden xl:mx-auto xl:flex xl:w-full xl:max-w-page"}):null]}),(0,n.Y)(x.jj,{mobile:!0,tablet:!0,children:(0,n.FD)("div",{className:"flex w-full flex-col",children:[(0,n.Y)(X,{children:(0,n.Y)(av,{data:C})}),(0,n.Y)("article",{"data-testid":"homepage-search-panel",className:(0,g.A)("flex h-auto w-full flex-col bg-background-primary",{"rounded-t-large rounded-b-none border-small border-x-0 border-b-0 border-solid border-border-subtle":!!D||!ev,"gap-turbo-16 px-turbo-16 pt-turbo-24 pb-0":!!D,"px-200 pt-300 pb-0":!D&&ev,"p-200 py-100":!D&&!ev}),children:D?D({title:eH,categories:eG,filters:eM,platform:"mobile"}):(0,n.FD)(n.FK,{children:[(0,n.Y)(n4,{category:eD,isElectricCategory:eB}),(0,n.Y)(ax,{selectedCategoryId:null==F?void 0:F.id,handleCategoryClick:eC,virtualCategory:eY,getCategoryHref:eR}),eM]})})]})}),(0,n.Y)(X,{children:(0,n.Y)("div",{className:"flex w-full flex-col gap-turbo-32 md:gap-turbo-40",children:eq})})]}),en?(0,n.Y)(nL,{}):(0,n.Y)(eI,{}),en?(0,n.Y)(x.jj,{mobile:!0,children:(0,n.Y)(nT,{categoryId:null!=(w=null==F?void 0:F.id)?w:"",placement:"below-banner"})}):null]})},lp=[],lh={groups:null,fetching:!1,hasResponse:!1,hasError:!1},lf=(0,o._)((0,t._)({},lh),{hasError:!0}),lb=(0,l.F)()?e=>{var a,r,l,s,c,d,u,m,p,h,f=(0,i.c)(22),b=e_(ew.HOMEPAGE_PROMOTED_PERSONALIZED_ADS).isEnabled&&!!(null==(a=e.category)?void 0:a.id),y=lo((null==(r=e.category)?void 0:r.id)===G.Wd||b),v=y.sessionID,_=y.isResolving;f[0]!==b||f[1]!==_||f[2]!==e||f[3]!==v?(l=a=>(0,n.Y)(lm,(0,o._)((0,t._)({},e),{sessionID:v,isSessionLongResolving:_,shouldPersonalizePromotedAds:b,personalizedPromotedAdsState:a})),f[0]=b,f[1]=_,f[2]=e,f[3]=v,f[4]=l):l=f[4];var g=l;if(!b)return f[5]!==g?(s=g(lh),f[5]=g,f[6]=s):s=f[6],s;f[7]!==g?(c=g(lf),f[7]=g,f[8]=c):c=f[8];var w=null!=v?v:void 0;f[9]!==e.category?(d=(null==(u=e.category)?void 0:u.id)?[e.category.id]:void 0,f[9]=e.category,f[10]=d):d=f[10];var k=!v;return f[11]!==g?(m=g(lh),f[11]=g,f[12]=m):m=f[12],f[13]!==g||f[14]!==w||f[15]!==d||f[16]!==k||f[17]!==m?(p=(0,n.Y)(n0,{strategy:"PROMOTED",sessionID:w,maxAds:8,categoryIds:d,pause:k,loadingFallback:m,children:g}),f[13]=g,f[14]=w,f[15]=d,f[16]=k,f[17]=m,f[18]=p):p=f[18],f[19]!==c||f[20]!==p?(h=(0,n.Y)(eD.A,{componentName:"HomepagePromotedAdsPersonalization",fallback:c,children:p}),f[19]=c,f[20]=p,f[21]=h):h=f[21],h}:e=>{var a,r,l,i=e_(ew.HOMEPAGE_PROMOTED_PERSONALIZED_ADS).isEnabled&&!!(null==(a=e.category)?void 0:a.id),s=lo((null==(r=e.category)?void 0:r.id)===G.Wd||i),c=s.sessionID,d=s.isResolving,u=a=>(0,n.Y)(lm,(0,o._)((0,t._)({},e),{sessionID:c,isSessionLongResolving:d,shouldPersonalizePromotedAds:i,personalizedPromotedAdsState:a}));return i?(0,n.Y)(eD.A,{componentName:"HomepagePromotedAdsPersonalization",fallback:u(lf),children:(0,n.Y)(n0,{strategy:"PROMOTED",sessionID:null!=c?c:void 0,maxAds:8,categoryIds:(null==(l=e.category)?void 0:l.id)?[e.category.id]:void 0,pause:!c,loadingFallback:u(lh),children:u})}):u(lh)};function ly(e){var a=e.categoryUrl,r=e.currentCategory,t=e.defaultCategory,o=e.homeUrl;return r.id===t.id?{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:t.label,item:o}]}:{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:t.label,item:o},{"@type":"ListItem",position:2,name:r.label,item:a}]}}var lv=(0,l.F)()?function(e){var a,r,t,o=(0,i.c)(9),l=e.categoryUrl,s=e.currentCategory,c=e.defaultCategory,d=e.homeUrl;o[0]!==l||o[1]!==s||o[2]!==c||o[3]!==d?(a=ly({categoryUrl:l,currentCategory:s,defaultCategory:c,homeUrl:d}),o[0]=l,o[1]=s,o[2]=c,o[3]=d,o[4]=a):a=o[4];var u=a;return o[5]!==u?(r=JSON.stringify(u),o[5]=u,o[6]=r):r=o[6],o[7]!==r?(t=(0,n.Y)(ah(),{children:(0,n.Y)("script",{id:"home-breadcrumb-json-ld","data-testid":"home-breadcrumb-json-ld",type:"application/ld+json",dangerouslySetInnerHTML:{__html:r}},"home-breadcrumb-json-ld")}),o[7]=r,o[8]=t):t=o[8],t}:function(e){var a=e.categoryUrl,r=e.currentCategory,t=e.defaultCategory,o=e.homeUrl,l=(0,W.useMemo)(()=>ly({categoryUrl:a,currentCategory:r,defaultCategory:t,homeUrl:o}
1),[a,r,t,o]);return(0,n.Y)(ah(),{children:(0,n.Y)("script",{id:"home-breadcrumb-json-ld","data-testid":"home-breadcrumb-json-ld",type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(l)}},"home-breadcrumb-json-ld")})},l_=r(196944),lg=r(565430),lw=r(882863),lk=r(232719),lS=r(83148),lx=r(378846),lA=r(883856),lF=(0,rp.UG)("\n fragment RecommendedAdFragment on Ad @_unmask {\n __typename\n id\n title\n url\n photos\n location {\n cityName\n regionName\n }\n price {\n __typename\n ... on AdNetGrossPrice {\n isNegotiable\n currencyCode\n netMinorAmount\n grossMinorAmount\n }\n }\n attributes {\n key\n value\n valueLabel\n valueSuffix\n }\n valueAddedServices {\n name\n validity\n }\n }\n"),lC=(0,rp.UG)("\n query RecommendedAds($categoryIds: [String], $maxAds: Int) {\n recommendedOfferOfTheDay(input: { categoryIds: $categoryIds }) {\n __typename\n ... on RecommendedOfferOfTheDayOutput {\n ad {\n ...RecommendedAdFragment\n }\n }\n ... on RecommendedOfferOfTheDayError {\n message\n }\n }\n recommendedPromotedAds(\n input: { categoryIds: $categoryIds, maxAds: $maxAds }\n ) {\n ... on RecommendedPromotedAdsOutput {\n __typename\n ads {\n ...RecommendedAdFragment\n }\n }\n ... on RecommendedPromotedAdsError {\n message\n }\n }\n }\n ",[lF]),lN=async e=>{var a,r,t=e.categoryId,o=e.maxAds,n=(0,tn.Uq)(),l=(await n.query(lC,{categoryIds:t?[t]:[],maxAds:o}).toPromise()).data;return{recommendedPromotedAds:(null==l||null==(a=l.recommendedPromotedAds)?void 0:a.__typename)==="RecommendedPromotedAdsOutput"?null==l?void 0:l.recommendedPromotedAds:null,recommendedOfferOfTheDay:(null==l||null==(r=l.recommendedOfferOfTheDay)?void 0:r.__typename)==="RecommendedOfferOfTheDayOutput"?null==l?void 0:l.recommendedOfferOfTheDay:null}},lY=r(96022);let lI={AND:"AND",OR:"OR",INCLUDES:"INCLUDES",NOT_INCLUDES:"NOT INCLUDES",IS:"IS",IS_NOT:"IS NOT",GT:">",LT:"<",GTE:">=",LTE:"<=",CONTAINER:"CONTAINER",LEFT_BR:"(",RIGHT_BR:")",SUB_EXPRESSION_PREFIX:"#SUB-",DATE:"DATE"};var lV=lI.LEFT_BR,lD=lI.RIGHT_BR,lz=lI.SUB_EXPRESSION_PREFIX,lE=lI.OR,lB=lI.AND,lT=(e,a)=>{throw Error("Parens are not correctly matching in query. Seems like you have too many ".concat(a?"left":"right"," braces. Please check them: ").concat(e))},lM=(e,a)=>e.startsWith(lz)?lP(a[Number(e.replace(lz,""))]):e,lO=(e,a)=>e.includes(" ".concat(lB," "))?{AND:e.split(" ".concat(lB," ")).map(e=>e.trim()).map(e=>lM(e,a))}:lM(e,a),lP=e=>{var a=(e=>{var a=[],r=[];return e.split("").forEach((t,o)=>{if(t===lV)r.push(o);else if(t===lD)if(0===r.length)lT(e,!1);else{var n=r.pop();0===r.length&&a.push({start:n,end:o})}}),r.length>0&&lT(e,!0),a.map(a=>{var r=a.start,t=a.end;return e.substring(r+1,t)})})(e),r=a.reduce((e,a,r)=>e.replace("(".concat(a,")"),"".concat(lz).concat(r)),e);return r.includes(" ".concat(lE," "))?{OR:r.split(" ".concat(lE," ")).map(e=>e.trim()).map(e=>lO(e,a))}:lO(r,a)};let lK={build:lP};var lR=function(e,a){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(a&&"string"==typeof a){var t=a.split("."),o=t[0].split("["),n=o[0],l=[],i=(e,a)=>(a.forEach(a=>{e.hasOwnProperty(a)&&(e=e[a])}),e);if(o.length>1)for(var s=1;s<o.length;s++)l.push(parseInt(o[s].split("]")[0]));if(1===t.length)return i(null!=e[n]?e[n]:r,l);if(null!=n&&e.hasOwnProperty(n)&&(t.shift(),a=t.join("."),null!=e&&null!=e[n]))return r=(e=i(e[n],l))[t[0]],lR(a,e,r)}},lL=function(e){var a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e&&"object"==typeof e&&(!Array.isArray(e)||a)};let lH={get:lR};var lG=e=>{var a=document.getElementById(e);return a&&1===a.nodeType?a:null},lW=e=>!isNaN(e),lj=e=>{var a=e=>String(e).trim();return Array.isArray(e)?e.map(e=>a(e)):a(e)},lU=(e,a,r)=>{if((e=>!lW(e)&&lW(new Date(e)))(e)||e===lI.DATE){var t=e=>lj(e)===lI.DATE?Date.now():Date.parse(e);e=t(e),a=t(a)}
1else{if(!(lW(a)&&lW(e)))return!1;e=Number(e),a=Number(a)}switch(r){case lI.GT:return e>a;case lI.GTE:return e>=a;case lI.LT:return e<a;case lI.LTE:return e<=a;default:return!1}},lq=(e,a)=>"SET"!==(a=lj(a))?a===lj(e):lL(e)?!!Object.keys(e).length:Array.isArray(e)?!!e.length:!!e,lX=(e,a,r)=>!!r.split(",").map(r=>e(a,r)).find(e=>e),l$=(e,a,r)=>{if(!e||!Array.isArray(e=lj(e))&&"string"!=typeof e)return!!r;var t=lX((e,a)=>e.includes(a.trim()),e,a);return r?!t:t},lQ=(e,a)=>lX(lq,e,a);let lJ={checkInclusion:l$,checkExclusion:(e,a)=>l$(e,a,!0),checkEquality:lQ,checkInequality:(e,a)=>!lQ(e,a),checkIfGreaterThan:(e,a)=>lU(e,a,lI.GT),checkIfLessThan:(e,a)=>lU(e,a,lI.LT),checkIfGreaterThanOrEqual:(e,a)=>lU(e,a,lI.GTE),checkIfLessThanOrEqual:(e,a)=>lU(e,a,lI.LTE),checkContainer:(e,a)=>{switch(a){case"EXISTS":return!!lG(e);case"NOT EXISTS":return!lG(e);default:return!1}}};var lZ=lI.NOT_INCLUDES,l0=lI.IS_NOT,l1=lI.INCLUDES,l2=lI.IS,l3=lI.GT,l5=lI.LT,l4=lI.GTE,l8=lI.LTE,l6=lI.CONTAINER,l9=lI.DATE,l7=[lZ,l0,l1,l2,l3,l5,l4,l8,l6],ie={[l1]:lJ.checkInclusion,[lZ]:lJ.checkExclusion,[l2]:lJ.checkEquality,[l0]:lJ.checkInequality,[l3]:lJ.checkIfGreaterThan,[l5]:lJ.checkIfLessThan,[l4]:lJ.checkIfGreaterThanOrEqual,[l8]:lJ.checkIfLessThanOrEqual,[l8]:lJ.checkIfLessThanOrEqual,[l6]:lJ.checkContainer},ia=(e,a)=>{if("object"==typeof a){var r=(a.AND?a.AND:a.OR).map(a=>ia(e,a));return a.AND?r.every(e=>e):r.some(e=>e)}return"string"==typeof a&&((e,a)=>"string"==typeof a?((e,a)=>{var r=l7.find(e=>a.includes(" ".concat(e," "))),t=(0,h._)(a.split(" ".concat(r," ")).map(e=>e.trim()),2),o=t[0],n=t[1],l=(o===l9?o:void 0)||(r===l6?o:void 0)||lH.get(e,o);if(!r)throw Error('No operator found in condition: "'.concat(a,"\". Please use one of the following: '").concat(l7.join("', '"),"'"));if(!n)throw Error("You haven't specified what to look for in condition: \"".concat(a,'"'));return!!r&&!!n&&ie[r](l,n)})(e,a):"boolean"==typeof a&&a)(e,a)};let ir={query:(e,a)=>{try{var r=lK.build(e);return ia(a,r)}catch(e){return!1}}};var it=(e,a)=>{var r=[],t=null;if(Object.entries(e).forEach(e=>{var t=(0,h._)(e,2),o=t[0],n=t[1],l=void 0===n?{}:n;if(!l.rule||ir.query(l.rule,a)){var i,s=parseInt(null==l||null==(i=l.variables)?void 0:i.weight,10);r=[...r,...Array(s).fill(o,0,Number(null!=s?s:0))]}}),r.length){var o,n,l,i,s,c=Math.floor(Math.random()*Math.floor(r.length)),d=null!=(n=null==(o=e[r[c]])?void 0:o.variables)?n:{};
1t={link:d.link,image:d.path,tracking:{impressions:[null!=(l=d.tracking1)?l:"",null!=(i=d.tracking2)?i:""].map(e=>e.replace("[timestamp]",new Date().getTime())),touch_point_button:null!=(s=d.touchPoint)?s:""}},"video"===d.type&&(t.video={url:d.path,width:d.width,height:d.height,alignment:d.alignment})}return t},io=async function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=lY.y.create(),r=null;try{var n=(await a.get("homepage-baxter-slim-homepage.json",{baseURL:"https://cdn.slots.baxter.olx.org/otomoto/web/release/client/"})).data;if(Object.keys(n).length){var l=it(n,(0,o._)((0,t._)({},e),{device:"desktop",deviceSize:"desktop"})),i=it(n,(0,o._)((0,t._)({},e),{device:"phone",deviceSize:"phone"}));r=l,i&&(r=(0,o._)((0,t._)({},r),{mobile_banner:i}))}}catch(e){r=null}return r},il=r(248817),ii=r(176465),is=r(205649),ic=r(729795);async function id(e){e.res&&(e.res.statusCode=200);var a,r,t,o,n,l,i,s,c,d,u,m,p,y,v=e.query.category,_=void 0===v?"":v,g=null!=(i=(0,f.BG)(e)(b.Pav))&&i,w=(0,lA.g)(),k=q(g),S=k.find(e=>e.uriPath===_)||k[0],x=null!=(s=null==S?void 0:S.id)?s:"";if(e.res&&x===G.dI&&(0,f.BG)(e)(b.F_M)){e.res.writeHead(301,{Location:""}),e.res.end();return}var A=(0,aF.$S)(x),F=await e9.getAllExperiments({categoryId:x,isDesktop:"desktop"===w,isWebView:(0,ic.Xb)(null==(r=e.req)?void 0:r.headers["user-agent"],!0),res:e.res}),C=oY.categoriesWithNewOfferTypeFeature.includes(A),N=(0,h._)(await Promise.allSettled([io({}),lN({categoryId:x,maxAds:8})]),2),Y=N[0],I=N[1],V="fulfilled"===I.status?I.value:null,D=(e=>{if(!e)return{id:"",title:"",image:"",photos:[],price:{currency:"",value:"",grossNet:""},characteristics:[],link:""};var a,r,t=(null!=(a=e.photos)?a:[]).filter(e=>!!e);return{id:e.id,title:eL(e.attributes),image:ej(null!=(r=t[0])?r:"",732,488),photos:t,price:eG(e.price),characteristics:eW(e.attributes),link:e.url,makeKey:eH(e.attributes,"make"),modelKey:eH(e.attributes,"model")}})((null==V||null==(t=V.recommendedOfferOfTheDay)?void 0:t.ad)||null),z=(a=(null==V||null==(o=V.recommendedPromotedAds)?void 0:o.ads)||[],a.length<1)?[{id:"",title:"",image:"",price:{currency:"",value:"",grossNet:""},characteristics:[],link:""}]:a.map(e=>{var a,r,t;return{id:(null==e?void 0:e.id)||"",title:eL((null==e?void 0:e.attributes)||[]),image:ej(null!=(a=null==e?void 0:e.photos[0])?a:"",320,240),price:eG((null==e?void 0:e.price)||null),characteristics:eW((null==e?void 0:e.attributes)||[]),link:null!=(r=null==e?void 0:e.url)?r:"",location:eU(null!=(t=null==e?void 0:e.location)?t:null)}}),E="fulfilled"===Y.status?Y.value:{},B=(0,f.BG)(e)(b.nug);if((0,f.BG)(e)(b.z3l)&&(B||(0,il.Ri)("ock"))&&!(0,il.Ri)("id_token")&&!(0,il.Ri)("refresh_token")&&!(0,is.g)()){var T=(0,f.yk)(e)(b.YfF);(0,ii.S3)(null!=T?T:10),(0,ii.p)(null!=B&&B)}var M=null!=(c=null==(n=F[ew.HOMEPAGE_LOCATION_FILTER])?void 0:n.isEnabled)&&c,O=await oE({categoryId:x,screenName:e7(x,{useHomepageLocationFilterExperiment:M})}),P=null!=(d=(0,f.BG)(e)(b.BBR))&&d,K=A===G.Wd&&P?await tp({categoryId:A}):void 0;try{var R=(0,aF.U5)((0,aF.KJ)(x));C&&R.push({name:"filter_string_offer_type",value:eV.c.BUY}),u=await (0,rv.A)({criteria:{filters:R}})}catch(e){console.error("An error occurs while querying the search summary",e)}return{category:S,currentPageUrl:e.req?"https://".concat(null!=(m=e.req.headers.host)?m:"").concat(null!=(p=e.req.url)?p:"/"):"",offerOfTheDay:D,banners:E,promotedAds:z,screenComponentsFilters:(null==O||null==(l=O.filters)?void 0:l.__typename)==="ScreenComponentsOutput"&&null!=(y=null==O?void 0:O.filters)?y:void 0,evToolScreen:K,advertSearchSummary:u,experiments:F}}var iu=r(803298),im=r(864703),ip=r(804268),ih=(0,l.F)()?function(){var e,a=(0,i.c)(3),r=(0,iu.f)(),t=(0,im.w)();return a[0]!==r||a[1]!==t?(e=(0,n.Y)(ip.XC,{onCreateAdPress:r,onProfessionalAccountPress:t}),a[0]=r,a[1]=t,a[2]=e):e=a[2],e}:function(){var e=(0,iu.f)(),a=(0,im.w)();return(0,n.Y)(ip.XC,{onCreateAdPress:e,onProfessionalAccountPress:a})},ib=r(645858),iy=eT()(()=>Promise.all([r.e(75939),r.e(42188),r.e(54431),r.e(77599)]).then(r.bind(r,754431)),{loadableGenerated:{webpack:()=>[754431]},ssr:!1}),iv=(0,l.F)()?function(){var e,a=(0,i.c)(1);return(0,ib.Y)(b.Y1P)?(a[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,n.Y)(eD.A,{componentName:"GenAIChatWidgetHomepage",fallback:(0,n.Y)(n.FK,{}),children:(0,n.Y)(iy,{additionalFlagKey:b.Y1P})}),a[0]=e):e=a[0],e):null}:function(){return(0,ib.Y)(b.Y1P)?(0,n.Y)(eD.A,{componentName:"GenAIChatWidgetHomepage",fallback:(0,n.Y)(n.FK,{}),children:(0,n.Y)(iy,{additionalFlagKey:b.Y1P})}):null},i_=(0,W.createContext)({isEnabled:!1,isDocked:!1,setDocked:()=>void 0}
1),ig=(0,l.F)()?function(e){var a,r,t,o=(0,i.c)(7),l=e.isSlotEnabled,s=e.children,c=(0,h._)((0,W.useState)(!1),2),d=c[0],u=c[1],m=(0,h._)((0,W.useState)(l),2),p=m[0],f=m[1];l&&!p&&f(!0),o[0]===Symbol.for("react.memo_cache_sentinel")?(a=e=>{u(e)},o[0]=a):a=o[0];var b=a;o[1]!==d||o[2]!==p?(r={isEnabled:p,isDocked:d,setDocked:b},o[1]=d,o[2]=p,o[3]=r):r=o[3];var y=r;return o[4]!==s||o[5]!==y?(t=(0,n.Y)(i_.Provider,{value:y,children:s}),o[4]=s,o[5]=y,o[6]=t):t=o[6],t}:function(e){var a=e.isSlotEnabled,r=e.children,t=(0,h._)((0,W.useState)(!1),2),o=t[0],l=t[1],i=(0,h._)((0,W.useState)(a),2),s=i[0],c=i[1];a&&!s&&c(!0);var d=(0,W.useCallback)(e=>{l(e)},[]),u=(0,W.useMemo)(()=>({isEnabled:s,isDocked:o,setDocked:d}),[s,o,d]);return(0,n.Y)(i_.Provider,{value:u,children:r})},iw=(0,l.F)()?function(){return(0,W.useContext)(i_)}:function(){return(0,W.useContext)(i_)},ik=(0,l.F)()?function(e){var a,r,t=(0,i.c)(5),o=e.children,l=iw(),s=l.isEnabled,c=l.isDocked;return s?(t[0]!==c?(a=e=>{null==e||e.toggleAttribute("inert",c)},t[0]=c,t[1]=a):a=t[1],t[2]!==o||t[3]!==a?(r=(0,n.Y)("div",{className:"contents",ref:a,children:o}),t[2]=o,t[3]=a,t[4]=r):r=t[4],r):o}:function(e){var a=e.children,r=iw(),t=r.isEnabled,o=r.isDocked;return t?(0,n.Y)("div",{className:"contents",ref:e=>{null==e||e.toggleAttribute("inert",o)},children:a}):a},iS=r(260950),ix=r(958205),iA=(0,l.F)()?function(e){var a,r,t,o,l,s=(0,i.c)(13),c=e.title,d=e.categories,u=e.control,m=e.children;return s[0]!==c?(a=(0,n.Y)("div",{className:"min-w-0 flex-1",children:c}),s[0]=c,s[1]=a):a=s[1],s[2]!==u?(r=u?(0,n.Y)("div",{className:"shrink-0",children:u}):null,s[2]=u,s[3]=r):r=s[3],s[4]!==a||s[5]!==r?(t=(0,n.FD)("div",{className:"flex min-h-[40px] items-center justify-between gap-turbo-8 pl-turbo-4",children:[a,r]}),s[4]=a,s[5]=r,s[6]=t):t=s[6],s[7]!==d?(o=(0,n.Y)("div",{className:"pt-turbo-8 pl-turbo-4",children:d}),s[7]=d,s[8]=o):o=s[8],s[9]!==m||s[10]!==t||s[11]!==o?(l=(0,n.FD)(n.FK,{children:[t,o,m]}),s[9]=m,s[10]=t,s[11]=o,s[12]=l):l=s[12],l}:function(e){var a=e.title,r=e.categories,t=e.control,o=e.children;return(0,n.FD)(n.FK,{children:[(0,n.FD)("div",{className:"flex min-h-[40px] items-center justify-between gap-turbo-8 pl-turbo-4",children:[(0,n.Y)("div",{className:"min-w-0 flex-1",children:a}),t?(0,n.Y)("div",{className:"shrink-0",children:t}):null]}),(0,n.Y)("div",{className:"pt-turbo-8 pl-turbo-4",children:r}),o]})},iF=eT()(()=>Promise.resolve().then(r.bind(r,260950)).then(e=>e.HomeBuyerChatSearchAiPanel),{loadableGenerated:{webpack:()=>[260950]},ssr:!1}),iC=eT()(()=>r.e(43504).then(r.bind(r,643504)).then(e=>e.HomeBuyerChatSearchMobilePanel),{loadableGenerated:{webpack:()=>[643504]},ssr:!1}),iN=(0,l.F)()?function(e){var a,r,t=(0,i.c)(6),o=e.filters,l="filters"===(0,ix.UH)().activeTab,s=!l;t[0]!==s?(a=(0,g.A)({hidden:s}),t[0]=s,t[1]=a):a=t[1];var c=!l;return t[2]!==o||t[3]!==a||t[4]!==c?(r=(0,n.Y)("div",{id:ix.WR.filters,role:"tabpanel",className:a,"aria-labelledby":ix.v.filters,"aria-hidden":c,children:o}),t[2]=o,t[3]=a,t[4]=c,t[5]=r):r=t[5],r}:function(e){var a=e.filters,r="filters"===(0,ix.UH)().activeTab;return(0,n.Y)("div",{id:ix.WR.filters,role:"tabpanel",className:(0,g.A)({hidden:!r}),"aria-labelledby":ix.v.filters,"aria-hidden":!r,children:a})},iY=(0,l.F)()?function(e){var a,r,t,o,l,s=(0,i.c)(13),c=e.title,d=e.categories,u=e.filters,m=e.fallbackUrl,p=e.totalAdsCount,h=e.defaultTab;return s[0]===Symbol.for("react.memo_cache_sentinel")?(a=(0,n.Y)(y.Ei,{namespaces:["buyer-chat-assistant"],children:(0,n.Y)(iS.HomeBuyerChatSearchTabSwitcher,{})}),s[0]=a):a=s[0],s[1]!==u?(r=(0,n.Y)(iN,{filters:u}),s[1]=u,s[2]=r):r=s[2],s[3]===Symbol.for("react.memo_cache_sentinel")?(t=(0,n.Y)(y.Ei,{namespaces:["buyer-chat-assistant"],children:(0,n.Y)(iF,{})}),s[3]=t):t=s[3],s[4]!==d||s[5]!==r||s[6]!==c?(o=(0,n.FD)(iA,{title:c,categories:d,control:a,children:[r,t]}),s[4]=d,s[5]=r,s[6]=c,s[7]=o):o=s[7],s[8]!==h||s[9]!==m||s[10]!==o||s[11]!==p?(l=(0,n.Y)(ix.Ms,{fallbackUrl:m,totalAdsCount:p,defaultTab:h,children:o}),s[8]=h,s[9]=m,s[10]=o,s[11]=p,s[12]=l):l=s[12],l}:function(e){var a=e.title,r=e.categories,t=e.filters,o=e.fallbackUrl,l=e.totalAdsCount,i=e.defaultTab;return(0,n.Y)(ix.Ms,{fallbackUrl:o,totalAdsCount:l,defaultTab:i,children:(0,n.FD)(iA,{title:a,categories:r,control:(0,n.Y)(y.Ei,{namespaces:["buyer-chat-assistant"],children:(0,n.Y)(iS.HomeBuyerChatSearchTabSwitcher,{})}),children:[(0,n.Y)(iN,{filters:t}),(0,n.Y)(y.Ei,{namespaces:["buyer-chat-assistant"],children:(0,n.Y)(iF,{})})]})})},iI=(0,l.F)()?function(e){var a,r,t,o,l,s,c=(0,i.c)(15),d=e.title,u=e.categories,m=e.filters,p=e.fallbackUrl,h=iw().setDocked;return c[0]!==d?(a=(0,n.Y)(ik,{children:d}),c[0]=d,c[1]=a):a=c[1],c[2]!==u?(r=(0,n.Y)(ik,{children:u}),c[2]=u,c[3]=r):r=c[3],c[4]===Symbol.for("react.memo_cache_sentinel")?(t=["buyer-chat-assistant"],c[4]=t):t=c[4],c[5]!==p||c[6]!==h?(o=(0,n.Y)(y.Ei,{namespaces:t,children:(0,n.Y)(iC,{fallbackUrl:p,onDockedChange:h})}),c[5]=p,c[6]=h,c[7]=o):o=c[7],c[8]!==m?(l=(0,n.Y)(ik,{children:m}),c[8]=m,c[9]=l):l=c[9],c[10]!==a||c[11]!==r||c[12]!==o||c[13]!==l?(s=(0,n.FD)(n.FK,{children:[a,r,o,l]}),c[10]=a,c[11]=r,c[12]=o,c[13]=l,c[14]=s):s=c[14],s}:function(e){var a=e.title,r=e.categories,t=e.filters,o=e.fallbackUrl,l=iw().setDocked;return(0,n.FD)(n.FK,{children:[(0,n.Y)(ik,{children:a}),(0,n.Y)(ik,{children:r}),(0,n.Y)(y.Ei,{namespaces:["buyer-chat-assistant"],children:(0,n.Y)(iC,{fallbackUrl:o,onDockedChange:l})}),(0,n.Y)(ik,{children:t})]})},iV=(0,l.F)()?function(e){var a,r,t=(0,i.c)(12),o=e.title,l=e.categories,s=e.filters,c=e.fallbackUrl,d=e.totalAdsCount,u=e.defaultTab;return"mobile"===e.platform?(t[0]!==l||t[1]!==c||t[2]!==s||t[3]!==o?(a=(0,n.Y)(iI,{title:o,categories:l,filters:s,fallbackUrl:c}),t[0]=l,t[1]=c,t[2]=s,t[3]=o,t[4]=a):a=t[4],a):(t[5]!==l||t[6]!==u||t[7]!==c||t[8]!==s||t[9]!==o||t[10]!==d?(r=(0,n.Y)(iY,{title:o,categories:l,filters:s,fallbackUrl:c,totalAdsCount:d,defaultTab:u}),t[5]=l,t[6]=u,t[7]=c,t[8]=s,t[9]=o,t[10]=d,t[11]=r):r=t[11],r)}:function(e){var a=e.title,r=e.categories,t=e.filters,o=e.fallbackUrl,l=e.totalAdsCount,i=e.defaultTab;return"mobile"===e.platform?(0,n.Y)(iI,{title:a,categories:r,filters:t,fallbackUrl:o}):(0,n.Y)(iY,{title:a,categories:r,filters:t,fallbackUrl:o,totalAdsCount:l,defaultTab:i})},iD=(0,l.F)()?function(e){var a,r,t=(0,i.c)(8),o=e.title,l=e.categories,s=e.filters;return"mobile"===e.platform?(t[0]!==l||t[1]!==s||t[2]!==o?(a=(0,n.FD)(n.FK,{children:[o,l,s]}),t[0]=l,t[1]=s,t[2]=o,t[3]=a):a=t[3],a):(t[4]!==l||t[5]!==s||t[6]!==o?(r=(0,n.Y)(iA,{title:o,categories:l,children:s}),t[4]=l,t[5]=s,t[6]=o,t[7]=r):r=t[7],r)}:function(e){var a=e.title,r=e.categories,t=e.filters;return"mobile"===e.platform?(0,n.FD)(n.FK,{children:[a,r,t]}):(0,n.Y)(iA,{title:a,categories:r,children:t})},iz=(0,l.F)()?function(e){var a,r,t,o=(0,i.c)(16),l=e.title,s=e.categories,c=e.filters,d=e.platform,u=e.fallbackUrl,m=e.totalAdsCount,p=e.defaultTab;o[0]!==s||o[1]!==c||o[2]!==d||o[3]!==l?(a=(0,n.Y)(iD,{title:l,categories:s,filters:c,platform:d}),o[0]=s,o[1]=c,o[2]=d,o[3]=l,o[4]=a):a=o[4];var h=a;return o[5]!==s||o[6]!==p||o[7]!==u||o[8]!==c||o[9]!==d||o[10]!==l||o[11]!==m?(r=(0,n.Y)(iV,{title:l,categories:s,filters:c,platform:d,fallbackUrl:u,totalAdsCount:m,defaultTab:p}),o[5]=s,o[6]=p,o[7]=u,o[8]=c,o[9]=d,o[10]=l,o[11]=m,o[12]=r):r=o[12],o[13]!==h||o[14]!==r?(t=(0,n.Y)(eD.A,{componentName:"HomeBuyerChatSearch",fallback:h,children:r}),o[13]=h,o[14]=r,o[15]=t):t=o[15],t}:function(e){var a=e.title,r=e.categories,t=e.filters,o=e.platform,l=e.fallbackUrl,i=e.totalAdsCount,s=e.defaultTab,c=(0,n.Y)(iD,{title:a,categories:r,filters:t,platform:o});return(0,n.Y)(eD.A,{componentName:"HomeBuyerChatSearch",fallback:c,children:(0,n.Y)(iV,{title:a,categories:r,filters:t,platform:o,fallbackUrl:l,totalAdsCount:i,defaultTab:s})})};function iE(){var e;return null!=(e=(0,f._T)(b.Dzn))&&e}function iB(){var e;return null!=(e=(0,f._T)(b.m7y))&&e}var iT=eT()(()=>r.e(73200).then(r.bind(r,573200)).then(e=>
1e.HomepageFeedbackLoopBannerSlot),{loadableGenerated:{webpack:()=>[573200]},ssr:!1}),iM=(0,l.F)()?e=>{var a,r=(0,i.c)(2),t=e.children;return r[0]!==t?(a=(0,n.Y)("main",{children:t}),r[0]=t,r[1]=a):a=r[1],a}:e=>{var a=e.children;return(0,n.Y)("main",{children:a})},iO=(0,l.F)()?function(e){var a,r,l,m,h,f,b,y,v,_,g,w,k,S,A,F,C,N,Y,I=(0,i.c)(48),V=e.offerOfTheDay,D=e.promotedAds,z=e.category,E=e.currentPageUrl,B=e.banners,T=e.screenComponentsFilters,M=e.evToolScreen,O=e.advertSearchSummary,P=e.experiments,K=void 0===E?"":E,R=(0,l_.s)(),L=(0,lk.wV)().status,H=iE(),W=iB(),j=P[ew.HOMEPAGE_BUYER_CHAT_ASSISTANT];j||(j=P[ew.HOMEPAGE_BUYER_CHAT_ASSISTANT_MWEB]);var U=H&&null!=(r=null==j?void 0:j.isEnabled)&&r,q=(null==j?void 0:j.variant)==="c"?"ai-search":"filters",X=(0,x._g)().type,$=(0,u.e)(),Q=null!=(l=null==(a=P[ew.CONSUMER_MWEB_NAVIGATION])?void 0:a.isEnabled)&&l&&"desktop"!==X&&!R,J=(0,s.y2)(U),Z=(null==z?void 0:z.id)===G.Wd;I[0]===Symbol.for("react.memo_cache_sentinel")?(m=null!=(h=G.R6.find(iP))?h:G.R6[0],I[0]=m):m=I[0];var ee=m,ea="https://www.otomoto.pl";I[1]!==z||I[2]!==K||I[3]!==Z?(f=z&&ee&&(0,n.Y)(lv,{categoryUrl:Z?ea:K||ea,currentCategory:z,defaultCategory:ee,homeUrl:ea}),I[1]=z,I[2]=K,I[3]=Z,I[4]=f):f=I[4],I[5]!==Q?(b=e=>Q?(0,n.Y)(ih,{}):(0,n.Y)(c.Y,{onBurgerIconClick:e}),I[5]=Q,I[6]=b):b=I[6],I[7]===Symbol.for("react.memo_cache_sentinel")?(y=(0,n.Y)(d.default,{}),v=(0,n.Y)(ek,{}),_=(0,n.Y)(p.A,{}),I[7]=y,I[8]=v,I[9]=_):(y=I[7],v=I[8],_=I[9]);var er="authenticated"===L;return I[10]!==D?(g=null!=D?D:[],I[10]=D,I[11]=g):g=I[11],I[12]!==(null==O?void 0:O.totalCount)||I[13]!==(null==O?void 0:O.url)||I[14]!==q||I[15]!==U?(w=U?e=>{var a,r;return(0,n.Y)(iz,(0,o._)((0,t._)({},e),{fallbackUrl:null!=(a=null==O?void 0:O.url)?a:"",totalAdsCount:null!=(r=null==O?void 0:O.totalCount)?r:0,defaultTab:q}))}:void 0,I[12]=null==O?void 0:O.totalCount,I[13]=null==O?void 0:O.url,I[14]=q,I[15]=U,I[16]=w):w=I[16],I[17]!==O||I[18]!==B||I[19]!==z||I[20]!==M||I[21]!==J||I[22]!==V||I[23]!==T||I[24]!==w||I[25]!==g?(k=(0,n.Y)(lb,{advertSearchSummary:O,banners:B,category:z,offerOfTheDay:V,promotedAds:g,screenComponentsFilters:T,evToolScreen:M,manualSearchTrackingSlot:J,pageAreaWrapper:ik,buyerChatAssistantSlot:w}),I[17]=O,I[18]=B,I[19]=z,I[20]=M,I[21]=J,I[22]=V,I[23]=T,I[24]=w,I[25]=g,I[26]=k):k=I[26],I[27]!==U||I[28]!==k?(S=(0,n.Y)(ig,{isSlotEnabled:U,children:k}),I[27]=U,I[28]=k,I[29]=S):S=I[29],I[30]!==R||I[31]!==Q||I[32]!==S||I[33]!==b||I[34]!==er||I[35]!==$?(A=(0,n.Y)(lw.H,{header:b,sideMenuContent:y,footer:v,cookiesBanner:_,ContentContainer:iM,isInMobileBrowser:R,showNavFooter:Q,isAuthenticated:er,onTabPress:$,children:S}),I[30]=R,I[31]=Q,I[32]=S,I[33]=b,I[34]=er,I[35]=$,I[36]=A):A=I[36],I[37]!==W||I[38]!==R?(F=W?(0,n.Y)(iT,{isInMobileBrowser:R}):null,I[37]=W,I[38]=R,I[39]=F):F=I[39],I[40]===Symbol.for("react.memo_cache_sentinel")?(C=(0,n.Y)(iv,{}),I[40]=C):C=I[40],I[41]!==A||I[42]!==F?(N=(0,n.FD)(lS.HM,{children:[A,F,C]}),I[41]=A,I[42]=F,I[43]=N):N=I[43],I[44]!==P||I[45]!==N||I[46]!==f?(Y=(0,n.FD)(eg,{experiments:P,children:[f,N]}),I[44]=P,I[45]=N,I[46]=f,I[47]=Y):Y=I[47],Y}:function(e){var a,r,l,i,m=e.offerOfTheDay,h=e.promotedAds,f=e.category,b=e.currentPageUrl,y=e.banners,v=e.screenComponentsFilters,_=e.evToolScreen,g=e.advertSearchSummary,w=e.experiments,k=(0,l_.s)(),S=(0,lk.wV)().status,A=iE(),F=iB(),C=w[ew.HOMEPAGE_BUYER_CHAT_ASSISTANT];C||(C=w[ew.HOMEPAGE_BUYER_CHAT_ASSISTANT_MWEB]);var N=A&&null!=(r=null==C?void 0:C.isEnabled)&&r,Y=(null==C?void 0:C.variant)==="c"?"ai-search":"filters",I=(0,x._g)().type,V=(0,u.e)(),D=null!=(l=null==(a=w[ew.CONSUMER_MWEB_NAVIGATION])?void 0:a.isEnabled)&&l&&"desktop"!==I&&!k,z=(0,s.y2)(N),E=(null==f?void 0:f.id)===G.Wd,B=null!=(i=G.R6.find(e=>e.id===G.Wd))?i:G.R6[0],T="https://www.otomoto.pl";return(0,n.FD)(eg,{experiments:w,children:[f&&B&&(0,n.Y)(lv,{categoryUrl:E?T:(void 0===b?"":b)||T,currentCategory:f,defaultCategory:B,homeUrl:T}),(0,n.FD)(lS.HM,{children:[(0,n.Y)(lw.H,{header:e=>D?(0,n.Y)(ih,{}):(0,n.Y)(c.Y,{onBurgerIconClick:e}),sideMenuContent:(0,n.Y)(d.default,{}),footer:(0,n.Y)(ek,{}
1),cookiesBanner:(0,n.Y)(p.A,{}),ContentContainer:iM,isInMobileBrowser:k,showNavFooter:D,isAuthenticated:"authenticated"===S,onTabPress:V,children:(0,n.Y)(ig,{isSlotEnabled:N,children:(0,n.Y)(lb,{advertSearchSummary:g,banners:y,category:f,offerOfTheDay:m,promotedAds:null!=h?h:[],screenComponentsFilters:v,evToolScreen:_,manualSearchTrackingSlot:z,pageAreaWrapper:ik,buyerChatAssistantSlot:N?e=>{var a,r;return(0,n.Y)(iz,(0,o._)((0,t._)({},e),{fallbackUrl:null!=(a=null==g?void 0:g.url)?a:"",totalAdsCount:null!=(r=null==g?void 0:g.totalCount)?r:0,defaultTab:Y}))}:void 0})})}),F?(0,n.Y)(iT,{isInMobileBrowser:k}):null,(0,n.Y)(iv,{})]})]})};function iP(e){return e.id===G.Wd}iO.getInitialProps=id;let iK=(0,m.M)((e,a)=>{var r=(0,lg.V)(e,a);return r.fetchOptions.timeout=lx.v,r.requestPolicy=lx.F,r},{ssr:!0})(iO)},560263:(e,a,r)=>{"use strict";r.d(a,{f:()=>d});var t=r(300561),o=r(819470),n=r(271864),l=r(119218),i=r(12013),s=r(413237),c=(0,l.F)()?function(e){var a,r,l=(0,i.c)(3);return l[0]===Symbol.for("react.memo_cache_sentinel")?(a=(0,n.Y)("path",{fill:"currentColor",d:"M11.38 4.38a.9.9 0 0 1 1.24 0l7 7a.87.87 0 0 1 0 1.24l-7 7a.88.88 0 0 1-1.24-1.24l5.5-5.5H5a.88.88 0 0 1 0-1.75h11.89l-5.5-5.51a.9.9 0 0 1 0-1.24"}),l[0]=a):a=l[0],l[1]!==e?(r=(0,n.Y)("svg",(0,o._)((0,t._)({fill:"none",viewBox:"0 0 24 24"},e),{children:a})),l[1]=e,l[2]=r):r=l[2],r}:function(e){return(0,n.Y)("svg",(0,o._)((0,t._)({fill:"none",viewBox:"0 0 24 24"},e),{children:(0,n.Y)("path",{fill:"currentColor",d:"M11.38 4.38a.9.9 0 0 1 1.24 0l7 7a.87.87 0 0 1 0 1.24l-7 7a.88.88 0 0 1-1.24-1.24l5.5-5.5H5a.88.88 0 0 1 0-1.75h11.89l-5.5-5.51a.9.9 0 0 1 0-1.24"})}))},d=(0,s.w)(c,"ArrowRightIcon")},631891:(e,a,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return r(520245)}])},636051:(e,a,r)=>{"use strict";r.d(a,{H:()=>s});var t=r(934085),o=r(761876),n=r(620703),l=r(382662),i={variant:null,isEnabled:!1},s=async e=>{var a,r=e.isDesktop,s=e.isWebView,c=e.res;if(r||s||!(null!=(a=(0,t.BG)({res:c})(o.n40))&&a))return i;var d=(0,l.F5)(n.Wf);return d?{variant:d,isEnabled:"b"===d}:i}},645858:(e,a,r)=>{"use strict";r.d(a,{O:()=>i,Y:()=>s});var t=r(107696),o=r(578618),n=r(800144),l=r(232719);function i(e){var a,r=e.flag,t=e.isDesktop,o=e.isProfessional,n=e.userUUID,l=!!(n&&(null==r||null==(a=r.testUsers)?void 0:a.includes(n))),i=t&&o&&!!(l||(null==r?void 0:r.enable)),s=!t&&o&&!!(l||(null==r?void 0:r.enable)&&(null==r?void 0:r.mobile));return!!(i||s)}function s(e){var a,r=(0,o._g)().type,s=(0,l.wV)().data;return i({flag:(0,t.Rw)(e),isDesktop:"desktop"===r,isProfessional:(0,n.jv)(s),userUUID:null==s||null==(a=s.user)?void 0:a.userUUID})}},671824:(e,a,r)=>{"use strict";r.d(a,{m:()=>l});var t=r(289378),o=r(934085),n=r(761876);function l(){var e=(0,t.N)().benefits;return({isSourcingToolFlagActive:!!(0,o._T)(n.jIL)}).isSourcingToolFlagActive&&e.includes("SOURCING_TOOL")}},680420:(e,a,r)=>{"use strict";r.d(a,{p:()=>n});var t=r(934085),o=r(761876),n=e=>{var a,r=(0,t.Rw)(o.c2T);return(null==r?void 0:r.enable)&&(null==r||null==(a=r.availableSellers)?void 0:a.length)&&e&&r.availableSellers.includes(e)}},683965:(e,a,r)=>{"use strict";r.d(a,{L:()=>o,c:()=>t});var t={BUY:"buy",RENT:"rent"},o=function(e){return e.HIGHLIGHT="highlight",e.TOPAD="topad",e.BUMPUP="bumpup",e.OFFER_OF_THE_DAY="offer-of-the-day",e.HOMEPAGE="homepage",e.PREMIUM_TOP_AD="topad_premium",e}({})},684778:(e,a,r)=>{"use strict";r.d(a,{S:()=>m});var t=r(686121),o=r(934085),n=r(761876),l=r(847017),i=r(135259),s=r(299676),c=r(952978),d=r(469058),u=r(138209);function m(e){var a=e.fallbackUrl,r=e.submitPrompt,m=(0,i.z1)().trackEvent,p=(0,d.useRouter)(),h=(0,o._T)(n.WCr);return(0,u.useCallback)(async e=>{if(h&&a){(0,t.Nd)(t.$d,e.trim()),(0,t.dU)("ai-search"),m("search","click",{touch_point_page:"home",touch_point_button:"ai_search_input"});var o,n,i=(o=new URL(a,window.location.origin),n="".concat(o.pathname).concat(o.search).concat(o.hash),o.searchParams.set(s.hl,s.JT),{destination:"".concat(o.pathname).concat(o.search).concat(o.hash),handoffTarget:n}),d=i.destination,u=i.handoffTarget;(0,t.Ne)("homepage",u),p.push(d);return}var f=await r(e);if("error"!==f.status){if(m("search","click",{touch_point_page:"home",touch_point_button:"ai_search_input"}),f.url){var b=(0,c.Ix)(f.url,window.location.host);(0,t.Ne)("homepage",b),window.location.assign(b);return}var y=(0,l.o)({appliedFilters:f.appliedFilters,categoryId:s.Wd,fallbackUrl:a});(0,t.Ne)("homepage",y),p.push(y)}},[a,h,p,r,m])}},687481:(e,a,r)=>{"use strict";r.d(a,{Bd:()=>V,Be:()=>h,Bk:()=>y,Ci:()=>E,Fg:()=>A,Fl:()=>B,HL:()=>_,I9:()=>C,ID:()=>w,In:()=>u,Lz:()=>x,N1:()=>g,OI:()=>f,P:()=>t,Qq:()=>z,RD:()=>I,Sn:()=>o,T8:()=>D,U5:()=>s,V4:()=>d,Xl:()=>b,YS:()=>v,Zc:()=>m,_O:()=>i,fA:()=>l,o6:()=>p,pq:()=>Y,rB:()=>n,vc:()=>k,we:()=>N,xD:()=>S,yw:()=>c,zJ:()=>F});var t="text-[22px] leading-[26px] font-turbo-medium text-turbo-content-default",o="text-[18px] leading-turbo-regular font-turbo-medium tracking-[-0.3px] text-turbo-content-default md:font-turbo-semibold",n="text-[14px] leading-[1.35] font-turbo-medium tracking-[-0.1px] text-turbo-content-default md:font-turbo-semibold",l="text-[14px] leading-[1.35] font-turbo-medium tracking-[-0.1px] text-turbo-content-default lg:text-[16
1px] lg:leading-turbo-regular lg:font-turbo-semibold",i="text-[14px] leading-turbo-regular text-turbo-content-muted opacity-90 md:text-[12px] lg:text-[14px]",s="rounded-turbo-l lg:rounded-turbo-m",c="gap-turbo-14 lg:gap-turbo-16",d="lg:top-[3px] lg:right-[3px]",u="rounded-tl-turbo-l rounded-tr-turbo-l rounded-br-[6px] rounded-bl-[6px]",m="relative isolate min-h-0 overflow-hidden",p="after:pointer-events-none after:absolute after:inset-0 after:z-[1] after:rounded-[inherit] after:content-[''] after:[box-shadow:inset_0_0_0_1px_var(--color-turbo-border-elevated)] after:mix-blend-color-burn supports-[mix-blend-mode:plus-darker]:after:mix-blend-plus-darker",h="isolate overflow-hidden !bg-transparent data-[hovered]:!bg-transparent data-[pressed]:!bg-transparent shadow-[0_8px_12px_#0000000f,0_4px_6px_#00000014,0_1px_3px_#0000001a] before:pointer-events-none before:absolute before:inset-0 before:z-0 before:rounded-[inherit] before:content-[''] before:backdrop-blur-[3.5px] before:bg-[rgba(36,37,38,0.5)] before:mix-blend-color-burn supports-[mix-blend-mode:plus-darker]:before:mix-blend-plus-darker hover:before:bg-[rgba(36,37,38,0.68)] data-[hovered]:before:bg-[rgba(36,37,38,0.68)] data-[pressed]:before:bg-[rgba(36,37,38,0.68)] before:transition-[background-color] before:duration-300 before:ease-out motion-safe:!transition-[transform,box-shadow] motion-safe:!duration-300 motion-safe:!ease-out hover:!scale-[1.1] data-[hovered]:!scale-[1.1] data-[pressed]:!scale-[0.98] [&_.turbo-button-icon-only]:relative [&_.turbo-button-icon-only]:z-[1]",f="absolute inset-0 z-0 size-full object-cover",b="motion-safe:transition-transform motion-safe:duration-300 motion-safe:ease-out motion-safe:group-hover/card:scale-[1.1]",y="motion-safe:transition-transform motion-safe:duration-300 motion-safe:ease-out motion-safe:group-hover/image:scale-[1.1]",v="gap-[6px]",_="w-[171px] max-w-[171px] min-w-[171px] shrink-0 md:max-lg:w-full md:max-lg:max-w-none md:max-lg:min-w-0 lg:w-full lg:max-w-none lg:min-w-[144px] xl:min-w-0",g="md:grid md:w-full md:min-w-0 md:grid-cols-[repeat(5,minmax(0,1fr))] md:grid-rows-[repeat(2,minmax(0,auto))] md:items-stretch md:gap-x-turbo-16 md:gap-y-turbo-24 lg:grid-cols-[repeat(6,minmax(0,1fr))]",w="flex min-h-0 min-w-0 flex-col md:col-span-2 md:col-start-1 md:row-span-2 md:row-start-1 md:h-full md:overflow-hidden md:self-stretch lg:pr-turbo-16",k="min-w-0 md:col-span-3 md:col-start-3 md:row-span-2 md:row-start-1 md:self-start lg:col-span-4 lg:col-start-3",S="".concat(v," grid h-[335.6px] w-full min-h-0 min-w-0 shrink-0 grid-cols-[repeat(3,minmax(0,1fr))] grid-rows-[minmax(0,3fr)_minmax(0,1fr)] overflow-clip md:h-auto md:flex-1 md:shrink"),x="col-span-3 row-start-1 min-h-0 max-md:h-auto max-md:min-h-0 max-md:self-stretch md:h-full md:min-h-0",A="row-start-2 min-h-0 min-w-0 max-md:aspect-auto max-md:min-h-0 max-md:self-stretch md:h-full md:min-h-0",F="max-md:aspect-[272/204] max-md:h-auto max-md:w-full md:min-h-0 md:grow md:shrink-0 md:basis-0",C="block min-w-0 shrink-0 pt-turbo-20 md:mt-[6px] md:pt-turbo-12",N="overflow-x-auto pb-turbo-4 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden max-md:-mx-turbo-24 max-md:px-turbo-24 md:min-w-0 md:max-lg:@container/promoted-ads lg:overflow-x-visible",Y="flex w-max shrink-0 gap-turbo-12 md:grid md:grid-rows-[repeat(2,auto)] md:gap-x-turbo-16 md:gap-y-turbo-24 md:max-lg:w-max md:max-lg:min-w-0 md:max-lg:[grid-template-columns:repeat(4,calc((100cqw-32px)/3))] lg:w-full lg:min-w-0 lg:max-xl:[grid-template-columns:repeat(4,minmax(144px,1fr))] xl:[grid-template-columns:repeat(4,minmax(0,1fr))]",I="top-[5px] right-[5px]",V="top-[7px] left-[7px]",D="bg-[rgba(255,255,255,0.9)] border border-[rgba(255,255,255,0.7)] backdrop-blur-[3.5px]",z="flex items-center gap-turbo-4 rounded-turbo-xs bg-[rgba(36,37,38,0.32)] px-turbo-8 py-turbo-4 backdrop-blur-[4px] text-[12px] font-turbo-medium leading-turbo-regular text-turbo-content-inverse",E="bg-[#07143614]",B="bg-[rgba(255,255,255,0.4)]"},707767:(e,a,r)=>{"use strict";r.d(a,{Bu:()=>n,yp:()=>t});var t=e=>{if(void 0===e)return!1;var a=e.charCodeAt(0);return a>=48&&a<=57},o=function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ";if(e.length<=3)return e;for(var r=e.length%3||3,t=e.slice(0,r),o=r;o<e.length;o+=3)t+="".concat(a).concat(e.slice(o,o+3));return t},n=function(e){for(var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ",r="",n=0;n<e.length;){if(!t(e[n])){r+=e[n],n+=1;continue}for(var l=n;t(e[n]);)n+=1;r+=o(e.slice(l,n),a)}return r}},775250:(e,a,r)=>{"use strict";r.d(a,{G:()=>d});var t=r(300561),o=r(819470),n=r(271864),l=r(119218),i=r(12013),s=r(413237),c=(0,l.F)()?function(e){var a,r,l=(0,i.c)(3);return l[0]===Symbol.for("react.memo_cache_sentinel")?(a=(0,n.Y)("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.01 1.13a4 4 0 0 1 3.84 4.96l-.74 3.04h4.72a2.88 2.88 0 0 1 2.8 3.51l-.04.16-2.33 8a2.9 2.9 0 0 1-2.76 2.08H4A2.9 2.9 0 0 1 1.13 20v-8A2.9 2.9 0 0 1 4 9.13h2.76l.16-.02a1.1 1.1 0 0 0 .85-.6V8.5l3.45-6.9.06-.1a.9.9 0 0 1 .73-.37M9.33 9.28a3 3 0 0 1-1.45 1.37v10.48h9.62a1.1 1.1 0 0 0 1.08-.81l2.33-8a1.13 1.13 0 0 0-1.08-1.44H14a.87.87 0 0 1-.85-1.09l1-4.12a2.26 2.26 0 0 0-1.64-2.73zM4 10.88A1.13 1.13 0 0 0 2.88 12v8A1.13 1.13 0 0 0 4 21.13h2.13V10.88z",clipRule:"evenodd"}),l[0]=a):a=l[0],l[1]!==e?(r=(0,n.Y)("svg",(0,o._)((0,t._)({fill:"none",viewBox:"0 0 24 24"},e),{children:a})),l[1]=e,l[2]=r):r=l[2],r}:function(e){return(0,n.Y)("svg",(0,o._)((0,t._)({fill:"none",viewBox:"0 0 24 24"},e),{children:(0,n.Y)("path",{fill:"currentColor",fillRule:"evenodd",d:"M12.01 1.13a4 4 0 0 1 3.84 4.96l-.74 3.04h4.72a2.88 2.88 0 0 1 2.8 3.51l-.04.16-2.33 8a2.9 2.9 0 0 1-2.76 2.08H4A2.9 2.9 0 0 1 1.13 20v-8A2.9 2.9 0 0 1 4 9.13h2.76l.16-.02a1.1 1.1 0 0 0 .85-.6V8.5l3.45-6.9.06-.1a.9.9 0 0 1 .73-.37M9.33 9.28a3 3 0 0 1-1.45 1.37v10.48h9.62a1.1 1.1 0 0 0 1.08-.81l2.33-8a1.13 1.13 0 0 0-1.08-1.44H14a.87.87 0 0 1-.85-1.09l1-4.12a2.26 2.26 0 0 0-1.64-2.73zM4 10.88A1.13 1.13 0 0 0 2.88 12v8A1.13 1.13 0 0 0 4 21.13h2.13V10.88z",clipRule:"evenodd"})}))},d=(0,s.w)(c,"ThumbsUpIcon")},793625:(e,a,r)=>{"use strict";r.d(a,{m:()=>d});var t=r(300561),o=r(819470),n=r(271864),l=r(119218),i=r(12013),s=r(413237),c=(0,l.F)()?function(e){var a,r,l,s=(0,i.c)(4);return s[0]===Symbol.for("react.memo_cache_sentinel")?(a=(0,n.Y)("path",{fill:"currentColor",d:"M17.88 1.5H2
10A2.5 2.5 0 0 1 22.5 4v8a2.5 2.5 0 0 1-2.5 2.5h-2.12z"}),r=(0,n.Y)("path",{fill:"currentColor",d:"M12 22.5A3.63 3.63 0 0 1 8.5 18l.85-3.5H4.17a2.5 2.5 0 0 1-2.4-3.2l2.33-8a2.5 2.5 0 0 1 2.4-1.8h9.63V15q-.14.15-.23.33l-3.45 6.9a.5.5 0 0 1-.46.27"}),s[0]=a,s[1]=r):(a=s[0],r=s[1]),s[2]!==e?(l=(0,n.FD)("svg",(0,o._)((0,t._)({fill:"none",viewBox:"0 0 24 24"},e),{children:[a,r]})),s[2]=e,s[3]=l):l=s[3],l}:function(e){return(0,n.FD)("svg",(0,o._)((0,t._)({fill:"none",viewBox:"0 0 24 24"},e),{children:[(0,n.Y)("path",{fill:"currentColor",d:"M17.88 1.5H20A2.5 2.5 0 0 1 22.5 4v8a2.5 2.5 0 0 1-2.5 2.5h-2.12z"}),(0,n.Y)("path",{fill:"currentColor",d:"M12 22.5A3.63 3.63 0 0 1 8.5 18l.85-3.5H4.17a2.5 2.5 0 0 1-2.4-3.2l2.33-8a2.5 2.5 0 0 1 2.4-1.8h9.63V15q-.14.15-.23.33l-3.45 6.9a.5.5 0 0 1-.46.27"})]}))},d=(0,s.w)(c,"ThumbsDownFillIcon")},803298:(e,a,r)=>{"use strict";r.d(a,{b:()=>h,f:()=>p});var t=r(300561),o=r(40145),n=r(135259),l=r(857268),i=r(974988),s=r(469058),c=r(138209),d=r(198447),u="header";function m(e,a){var r=a.includePostingFunnelEvents,o=a.catL1Name,d=(0,s.useRouter)(),m=(0,n.z1)().trackEvent,p=(0,i.S)(["CREATE_ADS"]).permissions,h=(0,l.xe)(),f=h.setIsAccessRestrictedDialogOpen,b=h.getTrackingAccessControlValue;return(0,c.useCallback)(()=>{(async()=>{var a=b(p.CREATE_ADS);if(m("navbar_start_selling_click","click",(0,t._)({touch_point_button:u,access_control:a},void 0!==o?{cat_l1_name:o}:{})),m("navbar_menu_open","click",{touch_point_button:u}),r&&m("posting_form_click","click",{touch_point_button:"top",access_control:a}),!p.CREATE_ADS)return f(!0);await d.push({pathname:e,query:{from:"postAdButton"}})})()},[o,b,r,p.CREATE_ADS,e,d,f,m])}function p(){var e,a=(0,o.B)(),r=(0,d.a)().activeCategory;return m(a,{includePostingFunnelEvents:!0,catL1Name:null==r||null==(e=r.code)?void 0:e.toLowerCase()})}function h(){return m("/osobowe/nowe-ogloszenie",{includePostingFunnelEvents:!1})}},838669:(e,a,r)=>{"use strict";r.d(a,{T:()=>l});var t=r(921753),o=r(289378),n=r(983854),l=()=>{var e=(0,n.c)().isAppraisalToolFlagActive,a=(0,o.N)().benefits;return e&&a.includes(t.X)}},847017:(e,a,r)=>{"use strict";r.d(a,{o:()=>n});var t=r(901055),o=r(494256),n=e=>{var a=e.appliedFilters,r=e.categoryId,n=e.fallbackUrl,l=(0,t.U5)(a),i=new URLSearchParams,s=!0,c=!1,d=void 0;try{for(var u,m=l[Symbol.iterator]();!(s=(u=m.next()).done);s=!0){var p=u.value;i.append(p.name,p.value)}}catch(e){c=!0,d=e}finally{try{s||null==m.return||m.return()}finally{if(c)throw d}}return r&&!i.has("category_id")&&i.append("category_id",r),i.append(o.j,void 0===n?"":n),"/homepage-advert-search-summary?".concat(i.toString())}},864703:(e,a,r)=>{"use strict";r.d(a,{w:()=>n});var t=r(135259),o=r(138209),n=()=>{var e=(0,t.z1)().trackEvent;return(0,o.useCallback)(()=>{e("navbar_professional_account_click","click",{touch_point_button:"header"})},[e])}},870021:(e,a,r)=>{"use strict";r.d(a,{Ty:()=>n,g2:()=>t,jW:()=>o});var t="gclid",o=["creativeId","gdfp_req","google_preview","lineItemId"],n=["utm_source","utm_medium","utm_id","utm_campaign","utm_term","utm_content"]},878062:(e,a,r)=>{"use strict";r.d(a,{$R:()=>c,Cb:()=>l,Dx:()=>n,Mw:()=>i,Rm:()=>u,Ty:()=>t.Ty,Us:()=>p,cb:()=>m,g2:()=>t.g2,h1:()=>s,jW:()=>t.jW,k:()=>o,uf:()=>d});var t=r(870021),o=0x7ffffff4,n={callTracking:"CALLTRACKING",sourcingInsights:"SOURCING_INSIGHTS",featuredDealer:"FEATURED_DEALER"},l="loginType",i="authRedirectUrl",s="An unexpected error occurred, please try again later",c={"Incorrect username or password.":"auth-incorrect-username-password","Invalid verification code provided, please try again.":"auth-invalid-verification-code","PreSignUp failed with error SocialIdentityEmailRequired.":"auth-facebook-signup-no-email-provided","PreSignUp failed with error usernameExists.":"auth-username-exists","Invalid code provided, please request a code again.":"auth-forgot-password-invalid-email","Password attempts exceeded":"auth-password-attempts-exceeded","Password reset required for the user":"auth-password-reset-required","Confirmation code cannot be empty":"auth-confirmation-code-empty-error-message","Password cannot be empty":"auth-password-empty-error-message","Username cannot be empty":"auth-empty-username","PreSignUp failed with error usernameInvalid.":"auth-invalid-username","Code should contain 6 digits":"Code should contain 6 digits"},d={PRIVATE:"private",BUSINESS:"business"},u="notificationData",m={REGISTRATION_DATE:"registration-date",FAST_REPLY:"fast-reply",AUTHORIZED_DEALER:"authorized-dealer",PRIVATE_SELLER:"private-seller"},p=3e4},901055:(e,a,r)=>{"use strict";r.d(a,{$S:()=>c,KJ:()=>u,U0:()=>d,U5:()=>m,r4:()=>s});var t=r(300561),o=r(819470),n=r(299676),l=r(464723),i="category_id",s=e=>e===l.w,c=e=>s(e)?n.Wd:e,d=e=>n.R6.find(a=>a.id===c(e)),u=e=>[{name:i,value:e}],m=e=>{var a=e.some(e=>
1e.name===i&&e.value===l.w),r=e.some(e=>"filter_enum_fuel_type"===e.name),n=e.map(e=>e.name===i?(0,o._)((0,t._)({},e),{value:c(e.value)}):e);return a&&!r&&n.push({name:"filter_enum_fuel_type",value:"electric"}),n}},916129:(e,a,r)=>{"use strict";r.d(a,{C7:()=>t,hn:()=>l,rv:()=>n,zs:()=>o});var t="https://account.otomoto.pl/sessions",o="https://account.otomoto.pl/mfa",n="https://account.otomoto.pl/",l="https://pomoc.otomoto.pl/otomotohelpcenter/s/?_gl=1*14b8yoy*_gcl_au*MTM0MTE1NjU4OC4xNzUwNjg1NzQ5LjE3OTczNDg0MzAuMTc1MDY4NTc3Mi4xNzUwNjg1Nzc3*_ga*MTIxNDgyNDYxMy4xNzQxODcxNTQ2*_ga_1MNBX75RRH*czE3NTIxNDg4OTAkbzIxJGcwJHQxNzUyMTQ4ODkwJGo2MCRsMCRoMA"},921753:(e,a,r)=>{"use strict";r.d(a,{X:()=>t});var t="APPRAISAL_TOOL"},938497:(e,a,r)=>{"use strict";r.d(a,{s:()=>l});var t=r(934085),o=r(761876),n=r(729795);function l(){return!!(0,t._T)(o.miK)&&!(0,n.Xb)(void 0,!0)}},958205:(e,a,r)=>{"use strict";r.d(a,{Ms:()=>u,UH:()=>m,WR:()=>c,v:()=>s});var t=r(698319),o=r(271864),n=r(119218),l=r(12013),i=r(138209),s={filters:"filters-tab","ai-search":"ai-search-tab"},c={filters:"filters-panel","ai-search":"ai-search-panel"},d=(0,i.createContext)(null),u=(0,n.F)()?function(e){var a,r,n=(0,l.c)(7),s=e.fallbackUrl,c=e.totalAdsCount,u=e.defaultTab,m=e.children,p=(0,t._)((0,i.useState)(void 0===u?"filters":u),2),h=p[0],f=p[1];return n[0]!==h||n[1]!==s||n[2]!==c?(a={activeTab:h,setActiveTab:f,fallbackUrl:s,totalAdsCount:c},n[0]=h,n[1]=s,n[2]=c,n[3]=a):a=n[3],n[4]!==m||n[5]!==a?(r=(0,o.Y)(d.Provider,{value:a,children:m}),n[4]=m,n[5]=a,n[6]=r):r=n[6],r}:function(e){var a=e.fallbackUrl,r=e.totalAdsCount,n=e.defaultTab,l=e.children,s=(0,t._)((0,i.useState)(void 0===n?"filters":n),2),c=s[0],u=s[1];return(0,o.Y)(d.Provider,{value:{activeTab:c,setActiveTab:u,fallbackUrl:a,totalAdsCount:r},children:l})},m=(0,n.F)()?function(){var e=(0,i.useContext)(d);if(!e)throw Error("useHomeBuyerChatSearchTabs must be used within HomeBuyerChatSearchTabsProvider");return e}:function(){var e=(0,i.useContext)(d);if(!e)throw Error("useHomeBuyerChatSearchTabs must be used within HomeBuyerChatSearchTabsProvider");return e}},969555:(e,a,r)=>{"use strict";r.d(a,{A:()=>m});var t=r(300561),o=r(558162),n=r(698319),l=r(271864),i=r(119218),s=r(12013),c=r(138209),d=r(574027),u=(e,a)=>"".concat(e?"//statics.otomoto.pl/optimus-storage/a/otomotopl/":"").concat(a);let m=(0,i.F)()?function(e){var a,r,i,m,p,h,f,b,y,v,_,g,w,k,S,x,A=(0,s.c)(33);A[0]!==e?(p=(0,o._)(e,["src","width","height","alt","isLocalImg","loading"]),h=e.src,f=e.width,r=e.height,a=e.alt,i=e.isLocalImg,m=e.loading,A[0]=e,A[1]=a,A[2]=r,A[3]=i,A[4]=m,A[5]=p,A[6]=h,A[7]=f):(a=A[1],r=A[2],i=A[3],m=A[4],p=A[5],h=A[6],f=A[7]);var F=(0,n._)((0,c.useState)(!(f&&r)),2),C=F[0],N=F[1];A[8]!==r||A[9]!==f?(v=f&&r?{width:f,height:r,Wrapper:e=>(0,l.Y)("div",(0,t._)({css:{width:f,height:r},"data-testid":"image-container"},e))}:{Wrapper:c.Fragment},y=(0,o._)(v,["Wrapper"]),b=v.Wrapper,A[8]=r,A[9]=f,A[10]=b,A[11]=y):(b=A[10],y=A[11]),A[12]!==r||A[13]!==C||A[14]!==f?(_=!C&&(0,l.Y)(d.A,{width:f,height:r}),A[12]=r,A[13]=C,A[14]=f,A[15]=_):_=A[15];var Y=a||"",I=m||"lazy",V="string"==typeof h?h:h.x1;A[16]!==i||A[17]!==V?(g=u(i,V),A[16]=i,A[17]=V,A[18]=g):g=A[18],A[19]===Symbol.for("react.memo_cache_sentinel")?(w=()=>N(!0),A[19]=w):w=A[19];var D=C?"visible":"hidden";return A[20]!==D?(k={visibility:D},A[20]=D,A[21]=k):k=A[21],A[22]!==y||A[23]!==p||A[24]!==Y||A[25]!==I||A[26]!==g||A[27]!==k?(S=(0,l.Y)("img",(0,t._)({alt:Y,loading:I,src:g,onLoad:w,css:k},y,p)),A[22]=y,A[23]=p,A[24]=Y,A[25]=I,A[26]=g,A[27]=k,A[28]=S):S=A[28],A[29]!==b||A[30]!==_||A[31]!==S?(x=(0,l.FD)(b,{children:[_,S]}),A[29]=b,A[30]=_,A[31]=S,A[32]=x):x=A[32],x}:function(e){var a=e.src,r=e.width,i=e.height,s=e.alt,m=e.isLocalImg,p=e.loading,h=(0,o._)(e,["src","width","height","alt","isLocalImg","loading"]),f=(0,n._)((0,c.useState)(!(r&&i)),2),b=f[0],y=f[1],v=r&&i?{width:r,height:i,Wrapper:e=>(0,l.Y)("div",(0,t._)({css:{width:r,height:i},"data-testid":"image-container"},e))}:{Wrapper:c.Fragment},_=v.Wrapper,g=(0,o._)(v,["Wrapper"]);return(0,l.FD)(_,{children:[!b&&(0,l.Y)(d.A,{width:r,height:i}),(0,l.Y)("img",(0,t._)({alt:s||"",loading:p||"lazy",src:u(m,"string"==typeof a?a:a.x1),onLoad:()=>y(!0),css:{visibility:b?"visible":"hidden"}},g,h))]})}},983854:(e,a,r)=>{"use strict";r.d(a,{c:()=>n});var t=r(934085),o=r(761876),n=()=>({isAppraisalToolFlagActive:!!(0,t._T)(o.waq),isAppraisalToolBetaTagActive:!!(0,t._T)(o.EUr),isSimilarAdsOnAppraisalToolFlagActive:!!(0,t._T)(o.D4I)})},999192:(e,a,r)=>{"use strict";r.d(a,{$:()=>d});var t=r(300561),o=r(819470),n=r(271864),l=r(119218),i=r(12013),s=r(413237),c=(0,l.F)()?function(e){var a,r,l,s=(0,i.c)(4);return s[0]===Symbol.for("react.memo_cache_sentinel")?(a=(0,n.Y)("path",{fill:"currentColor",d:"M6.13 22.5H4A2.5 2.5 0 0 1 1.5 20v-8A2.5 2.5 0 0 1 4 9.5h2.13z"}),r=(0,n.Y)("path",{fill:"currentColor",d:"M12 1.5A3.63 3.63 0 0 1 15.5 6l-.85 3.5h5.19a2.5 2.5 0 0 1 2.4 3.2l-2.33 8a2.5 2.5 0 0 1-2.4 1.8H7.88V9q.13-.15.22-.33l3.45-6.9a.5.5 0 0 1 .46-.27"}),s[0]=a,s[1]=r):(a=s[0],r=s[1]),s[2]!==e?(l=(0,n.FD)("svg",(0,o._)((0,t._)({fill:"none",viewBox:"0 0 24 24"},e),{children:[a,r]})),s[2]=e,s[3]=l):l=s[3],l}:function(e){return(0,n.FD)("svg",(0,o._)((0,t._)({fill:"none",viewBox:"0 0 24 24"},e),{children:[(0,n.Y)("path",{fill:"currentColor",d:"M6.13 22.5H4A2.5 2.5 0 0 1 1.5 20v-8A2.5 2.5 0 0 1 4 9.5h2.13z"}),(0,n.Y)("path",{fill:"currentColor",d:"M12 1.5A3.63 3.63 0 0 1 15.5 6l-.85 3.5h5.19a2.5 2.5 0 0 1 2.4 3.2l-2.33 8a2.5 2.5 0 0 1-2.4 1.8H7.88V9q.13-.15.22-.33l3.45-6.9a.5.5 0 0 1 .46-.27"})]}))},d=(0,s.w)(c,"ThumbsUpFillIcon")}},e=>{e.O(0,[57744,72277,78322,32023,26319,47418,55815,17390,78721,2139,70094,69466,44263,7970,38638,62728,5992,2206,20029,89621,81280,47241,99676,65936,81179,57918,82209,19916,90636,46593,38792],()=>e(e.s=631891)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.