1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[34879,35573],{45559:function(e,n,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_site/tires-configurator",function(){return r(91626)}])},91626:function(e,n,r){"use strict";r.r(n),r.d(n,{__N_SSP:function(){return y},default:function(){return P}});var t=r(7320);r(1834);var o=r(14640);r(11720);var a=r(36271),l=r(380),i=r(14330),d=r(16077),u=r(70496),c=r(44021),s=r(2409),g=r(59888),m=r(75799),f=r(10184),p=r(2775),v=r(34717),h=r(88706),b=r(92836),Z=r(43232);let x="all-generations";var y=!0;function P(e){var n,r,y,P,_,B,N,w,k,S,D,E,C,M;(0,l.x)({id:"content",order:3});let R=(0,v.V)(),z=(0,o.useTranslations)(),I=(0,p.R)();if(!0===e.notFound)return(0,t.tZ)(Z.default,{});let{carBrands:O,carModels:T,carProductionYearsWithGenerations:G,carGenerations:Y,carEngines:X,popularTireModels:j,articleContent:K,matchingTireSizes:L,h1:V,linkFarm:F}=e,W=R.getRouteObject(),A=W.getPredefinedParameter("carBrand"),H=W.getPredefinedParameter("carModel"),J=W.getPredefinedParameter("carYear"),U=W.getPredefinedParameter("carGeneration"),q=[A,H,null!=J?J:U,U,void 0].findIndex(e=>void 0===e),Q="".concat(null!==(r=null==A?void 0:A.name)&&void 0!==r?r:""," ").concat(null!==(y=null==H?void 0:H.name)&&void 0!==y?y:""," ").concat(null!==(P=null==U?void 0:U.name)&&void 0!==P?P:"").trim(),$=(0,h.dL)(R.portalId,"tires",null==H?void 0:H.value,Y),ee=[{href:R.url("tires-configurator"),title:z("txtSEO_BCDoborOponDoPojazdu"),useClientRouting:!0},{href:R.url("tires-configurator-brand",{carBrand:[null!==(_=null==A?void 0:A.name)&&void 0!==_?_:""]}),title:null!==(B=null==A?void 0:A.name)&&void 0!==B?B:"",useClientRouting:!0},{href:R.url("tires-configurator-brand-model",{carBrand:[null!==(N=null==A?void 0:A.name)&&void 0!==N?N:""],carModel:[null!==(w=null==H?void 0:H.name)&&void 0!==w?w:""]}),title:null!==(k=null==H?void 0:H.name)&&void 0!==k?k:"",useClientRouting:!0},{href:R.url("tires-configurator-brand-model-generation",{carBrand:[null!==(S=null==A?void 0:A.name)&&void 0!==S?S:""],carModel:[null!==(D=null==H?void 0:H.name)&&void 0!==D?D:""],carGeneration:[null!==(E=null==U?void 0:U.name)&&void 0!==E?E:""]}),title:null!==(C=null==U?void 0:U.name)&&void 0!==C?C:""}];return(0,t.BX)("main",{id:"content",children:[(0,t.tZ)(i.Z,{items:ee.slice(0,q+(J?0:1))}),(0,t.tZ)(m.Z,{configuratorType:"tires",userSession:e.userSession,routeDestination:{routeKey:"tires-configurator-brand-model-generation",fallback:["tires-configurator-brand-model","tires-configurator-brand","tires-configurator"]},h1:V,background:"bg-[url('/ndcr/images/configurators/hero-tires-960.webp')] s:bg-[url('/ndcr/images/configurators/hero-tires-320.webp')] m:bg-[url('/ndcr/images/configurators/hero-tires-768.webp')]",searchResultRouteKey:"tires-configurator-for"}),(0,t.tZ)(g.Z,{configuratorType:"tires",carBrands:O,carModels:T,carProductionYearsWithGenerations:G,carGenerations:Y,carEngines:X}),K&&(0,t.BX)(a.Z,{children:["tires-configurator-brand-model-generation"!==R.routeKey&&!!(null==Q?void 0:Q.length)&&(0,t.tZ)("h2",{className:"my-[30px] text-3xl font-bold",children:Q}),(0,t.tZ)(u.ZP,{content:K})]}),void 0===U&&$.length>0&&(0,t.BX)(a.Z,{className:"mt-10 border-t border-t-separators-black py-10",children:[(0,t.tZ)("h2",{id:x,className:"mb-[30px] scroll-m-[60px] text-3xl font-bold",children:z("cs_txtPopularneGeneracje",{0:"".concat(null==A?void 0:A.name," ").concat(null==H?void 0:H.name)})}),(0,t.tZ)("div",{className:"flex columns-3 flex-wrap gap-x-[15px] gap-y-[15px]",children:$.orderByDescending(e=>0===e.productionEndYear).thenByDescending(e=>e.productionEndYear).thenByDescending(e=>e.productionStartYear).thenByDescending(e=>e.generation).map(e=>{var n,r;return(0,t.tZ)(s.Z,{configuratorType:"tires",carGeneration:e,carBrandName:null!==(n=null==A?void 0:A.name)&&void 0!==n?n:"",carModelName:null!==(r=null==H?void 0:H.name)&&void 0!==r?r:"",variant:"no-photo",tag:"link"},e.generation)})})]}),"tires-configurator"!==R.routeKey&&(0,t.BX)(a.Z,{className:"flex flex-wrap justify-center gap-x-4 gap-y-4 py-10",children:[!I.disabledProducts.includes("alu-wheels")&&(0,t.tZ)(c.Z,{productCategoryId:b.V.ProductCategoryId.Rim}),!I.disabledProducts.includes("tpms")&&!I.tpmsModelSitesDisabled&&(0,t.tZ)(c.Z,{productCategoryId:b.V.ProductCategoryId.TPMS})]}),L.length>0&&(0,t.tZ)(f.Z,{header:z("g_txtRozmiarOpon",{0:Q}),content:L.map(e=>{var n,r;return{label:null!==(n=e.fullSize)&&void 0!==n?n:"",uri:R.oldOponeoUrl("tires-size",{size:[null!==(r=e.fullSize)&&void 0!==r?r:""]})}}),collapsible:!0}),U&&Y.length>1&&(0,t.BX)(a.Z,{className:"border-t border-t-separators-black py-10",children:[(0,t.tZ)("h2",{id:x,className:"mb-[30px] scroll-m-[60px] text-3xl font-bold",children:z("cs_txtWszystkieGeneracje",{0:"".concat(null==A?void 0:A.name," ").concat(null==H?void 0:H.name)})}),(0,t.tZ)("div",{className:"flex columns-3 flex-wrap gap-x-[15px] gap-y-[15px]",children:Y.filter(e=>e.generation!==U.name).orderByDescending(e=>0===e.productionEndYear).thenByDescending(e=>e.productionEndYear).thenByDescending(e=>e.productionStartYear).thenByDescending(e=>e.generation).map(e=>{var n,r;return(0,t.tZ)(s.Z,{configuratorType:"tires",carGeneration:e,carBrandName:null!==(n=null==A?void 0:A.name)&&void 0!==n?n:"",carModelName:null!==(r=null==H?void 0:H.name)&&void 0!==r?r:"",variant:"no-photo",tag:$.some(n=>n.generation===e.generation)?"link":"button"},e.generation)})})]}),!!(null==j?void 0:j.length)&&(0,t.tZ)(a.Z,{background:"bg-lighthouse contrast:bg-grey-area",children:(0,t.tZ)(d.Z,{tag:"p",title:(0,t.tZ)("span",{className:"block w-full text-left text-2.25xl font-normal",dangerouslySetInnerHTML:{__html:String.format(z.raw("cs_fraOsobyJezdzaceAutem"),"<strong>".concat(Q,"</strong>"),"")}}),models:j})}),(0,t.tZ)(f.Z,{"border-top":!1,header:z("seoNaglowekFarmaLinkow"),content:R.portalId===b.V.PortalId.OponeoPL?"tires-configurator"===R.routeKey?h.P4:h.Ri:null!==(M=null==F?void 0:null===(n=F.groups)||void 0===n?void 0:n.flatMap(e=>e.items))&&void 0!==M?M:[]})]})}}},function(e){e.O(0,[47311,69257,70496,48359,17054,93585,92888,40179],function(){return e(e.s=45559)}),_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.