PageSourceSearch

https://www.valeoservice.com/_next/static/chunks/pages/techassist/vehicle/[vehicleId]-0c02d6c661a60b56.js

js valeoservice.com collected 2026-09-24 09:47:36 UTC 8,991 bytes, 1 lines download raw bytes

1(self.webpackChunktechassist_host=self.webpackChunktechassist_host||[]).push([[6774],{13401:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return g}});var r=n(1995),o=n(82352),i=n.n(o),s=n(23300),l=n.n(s),a=n(13732),u=n(10865),c=n(51098),p=n(61442),d=n(83431),x=n(77325),f=n(91363),h=n(45436);let m=l()(()=>n.e(5167).then(n.t.bind(n,25167,23)),{loadableGenerated:{webpack:()=>[25167]},ssr:!0});var g=!0;t.default=({type:e,vehicleId:t,vehicleDetails:n,error:o,globalSite:s,techassistApiCountry:l,countryTechAssist:g,langTechAssist:y,page:v,siteUrl:b,locale:A,gtmCode:w})=>{let{metaFollow:C="",metaIndex:j="",metaKeywords:F=null,metaOgImage:S=null,metaImage:_=null}=v,k=(0,u.useRouter)(),{i18n:I,t:D}=(0,c.Bd)(),R=(0,f.A)(),{manufacturerName:$,modelSeriesName:L,engines:z}=n?.vehicle||{},E=(0,a.useMemo)(()=>z?.map((e,t)=>e.code+(t+1!==z.length?", ":"")).join(""),[z]),T=`${$} ${L}`,P=D("techassist.Vehicle Page metaTitle",{Vehicle_Description:T}),V=D("techassist.Vehicle Page metaDescription",{Vehicle_Description:T,Engine_Codes:E,Vehicle_make:$});if(o)return(0,r.jsx)("h2",{children:o});let B=(0,d.dq)({globalSite:s,locale:A})?g:null,{countryPage:q}=k.query;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(p.A,{metaTitle:P,metaDescription:V,metaFollow:C,metaIndex:j,metaKeywords:F,metaOgImage:S,metaImage:_,siteUrl:b,canonical:(0,d.Fp)(b)}),(0,r.jsx)(x.A,{locale:A,selectedCountry:g,globalDomain:s,hasCountrySelector:!0,children:(0,r.jsx)(m,{i18n:I,country:l,countryQuery:B,countryPage:q,lang:y,locale:A,vehicleType:e,vehicleId:t,vehicleDetails:n,Link:i(),router:k,BreadcrumbsComp:h.A,topNavHeight:R,gtmCode:w},`${g}-${y}`)})]})}},48381:function(e,t,n){"use strict";var r=n(13732),o=n(83431);t.A=(e,t)=>{let[n,i]=(0,r.useState)([]);return(0,r.useEffect)(()=>{t&&(async()=>{i((await (0,o.e3)(e)).countries)})()},[t,e]),n}},61723:function(e,t,n){"use strict";n.d(t,{$j:function(){return f},$k:function(){return h},yz:function(){return m}});let r="TAv2_Manual_Country_Selection",o=["ET"],i=e=>e?e.includes("th")?"TH":e.includes("re")?"RE":"FR":"FR",s=e=>{let t=e?.trim().toUpperCase();return/^[A-Z]{2}$/.test(t)?t:null},l=e=>e.filter((t,n)=>t&&e.indexOf(t)===n),a=e=>{if(!e)return[];let t=e.split(",")[0]?.split(";")[0]?.trim();if(!t)return[];let[n,r]=t.split(/[-_]/);return[s(n),s(r)]},u=e=>{let[t,n]=a(e);return l([n,o.includes(t)?null:t])},c=()=>u(navigator.language||navigator.userLanguage||"FR"),p=(e,t)=>t?e.find(e=>e.code.toUpperCase()===t):null,d=(e,t)=>t?e.find(e=>e.value.toLowerCase()===t.toLowerCase()):null,x=e=>{if(!e)return null;try{return decodeURIComponent(e)}catch{return e}},f=()=>{if("undefined"==typeof document)return null;let e=`${r}=`;return x(document.cookie.split("; ").find(t=>t.startsWith(e))?.split("=")[1])},h=e=>{if("undefined"==typeof document||!e)return;let t="https:"===window.location.protocol?"; Secure":"";document.cookie=`${r}=${encodeURIComponent(e)}; max-age=31536000; path=/; SameSite=Lax${t}`},m=(e,t)=>{let n=f();if(n){let t=d(e,n);if(t)return{countryValue:t.value}}let r=c().map(t=>p(e,t)).find(Boolean);if(r)return{countryValue:r.value};let o=p(e,i(t));return o?{countryValue:o.value}:{countryValue:null}}},65064:function(e,t,n){"use strict";var r=n(1995),o=n(85252),i=n(92555),s=n(61613),l=n(13732),a=n(51098),u=n(82283),c=n(53869),p=n(42011),d=n(75225),x=n(11011);t.A=({countries:e,currentCountry:t,onChange:n,isOpenList:f,paperSx:h,placeholder:m="Choose Country",sx:g,...y})=>{let{t:v}=(0,a.Bd)(),b=e?.length===1?e[0]:null,[A,w]=(0,l.useState)(b),[C,j]=(0,l.useState)(!1),F=e=>{if(e.value.startsWith("http")){window.location.href=e.value;return}w(e),n?.(e)};(0,l.useEffect)(()=>{t&&w(e.find(e=>e.value.toLowerCase()===t.toLowerCase()))},[t,e]);let S=(0,l.useMemo)(()=>A?(0,r.jsx)(x.aU,{iso2:A.code.toLowerCase(),size:"20px",alt:"country-flag"}):C?(0,r.jsx)(s.A,{style:{fill:"#1D2433",fontSize:"24px"}}):(0,r.jsx)(i.A,{style:{fill:"#1D2433",fontSize:"24px"}}),[A,C]);return(0,r.jsx)(u.A,{open:f||C,value:A||null,sx:g,options:e,groupBy:e=>e.group,getOptionLabel:e=>e.label,renderInput:e=>(0,r.jsx)(c.A,{...e,placeholder:v(`techassist.${m}`),slotProps:{input:{...e.InputProps,startAdornment:(0,r.jsx)(p.A,{position:"start",children:S})}}}),renderOption:(e,t)=>{let{key:n,...o}=e;return(0,r.jsxs)(d.A,{component:"li",sx:{"& > img":{mr:2,flexShrink:0}},...o,children:[(0,r.jsx)(x.aU,{iso2:t.code.toLowerCase(),size:"20px",alt:"country-flag"}),t.label]},n)},slotProps:{paper:{sx:{borderRadius:"10px",boxShadow:"0 4px 4px #0000001f",mt:"10px",...h}}},popupIcon:(0,r.jsx)(o.A,{style:{fill:"#1D2433"}}),onOpen:()=>j(!0),onClose:()=>j(!1),onChange:(e,t)=>
1{F(t)},disableClearable:!0,...y})}},68234:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/techassist/vehicle/[vehicleId]",function(){return n(13401)}])},77325:function(e,t,n){"use strict";n.d(t,{A:function(){return I}});var r=n(1995),o=n(39578),i=n(75225),s=n(64585),l=n(10865),a=n(51098),u=n(13732),c=n(48381),p=n(26320),d=n(83431),x=n(61723);let f="TAv2_Country_Tooltip_Dismissed";var h=()=>{let[e,t]=(0,u.useState)(!1);return(0,u.useEffect)(()=>{let e="true"===localStorage.getItem(f),n=!!(0,x.$j)();t(!e&&!n)},[]),{isVisible:e,dismiss:(0,u.useCallback)(()=>{t(!1),localStorage.setItem(f,"true")},[]),markManuallySelected:(0,u.useCallback)(()=>{t(!1)},[])}};n(92219);var m=n(65064),g=n(97401),y=n(80183),v=n(81419),b=n(77255);let A={position:"absolute",top:"calc(100% + 8px)",left:{xs:"50%",sm:"70%"},transform:"translateX(-50%)",width:{xs:"calc(100vw - 32px)",sm:"381px"},maxWidth:"381px",minHeight:"128px",background:"#0A0D14",boxShadow:"0px 8px 16px 0px #0000001F",borderRadius:"4px",padding:"16px",display:"flex",flexDirection:"column",gap:"16px",zIndex:1e3,"&::before":{content:'""',position:"absolute",top:"-8px",left:{xs:"90%",sm:"50%"},transform:"translateX(-50%)",width:0,height:0,borderLeft:"8px solid transparent",borderRight:"8px solid transparent",borderBottom:"8px solid #0A0D14"}},w={display:"flex",justifyContent:"space-between",alignItems:"flex-start"},C={fontFamily:"Montserrat",fontWeight:500,fontSize:"16px",lineHeight:"24px",letterSpacing:"0px",color:"#FFFFFF",flex:1},j={color:"#FFFFFF",padding:"4px",marginTop:"-4px",marginRight:"-4px"},F={display:"flex",justifyContent:"flex-end"},S={minWidth:"66px",height:"32px",borderRadius:"4px",padding:"10px 12px",background:"#FFFFFF",fontFamily:"Montserrat",fontWeight:700,fontSize:"12px",lineHeight:"16px",letterSpacing:"0px",textAlign:"center",color:"#0A0D14",textTransform:"none","&:hover":{background:"#F5F5F5"}};var _=({onDismiss:e})=>{let{t}=(0,b.Bd)();return(0,r.jsxs)(i.A,{sx:{...A},"data-testid":"country-selector-tooltip",children:[(0,r.jsxs)(i.A,{sx:w,children:[(0,r.jsx)(s.A,{sx:C,children:t("techassist.Search results are shown based on your location, you can change it from here")}),(0,r.jsx)(g.A,{sx:j,onClick:e,size:"small","data-testid":"close-button",children:(0,r.jsx)(v.A,{fontSize:"small"})})]}),(0,r.jsx)(i.A,{sx:F,children:(0,r.jsx)(y.A,{sx:S,onClick:e,variant:"contained",disableElevation:!0,"data-testid":"got-it-button",children:t("techassist.Got it")})})]})};let k={header:{background:"#fff",p:"8px",display:"flex",alignItems:"center",justifyContent:"center",gap:5,boxShadow:"0 2px 8px 0 #0000001F",position:"sticky",left:"0",top:"0",width:"100vw",marginLeft:"-50vw",marginRight:"-50vw",zIndex:200},selectorContainer:{position:"relative",display:"flex",alignItems:"center",gap:5}};var I=({locale:e,globalDomain:t,selectedCountry:n,hasCountrySelector:u,children:f})=>{let g=(0,l.useRouter)(),{t:y}=(0,a.Bd)(),v=(0,d.dq)({globalSite:t,locale:e}),b=(0,c.A)(e,v),{isVisible:A,dismiss:w,markManuallySelected:C}=h(),j=u&&v;return(0,r.jsxs)(o.A,{theme:p.Ay,children:[j&&(0,r.jsx)(i.A,{sx:k.header,children:(0,r.jsxs)(i.A,{sx:k.selectorContainer,children:[(0,r.jsx)(s.A,{fontWeight:"700",children:y("techassist.You're navigating in")}),(0,r.jsx)(m.A,{countries:b,currentCountry:n,onChange:e=>{(0,x.$k)(e.value),C(),g.replace({pathname:g.pathname,query:{...g.query,country:e.value}})},sx:{width:"240px"}}),A&&(0,r.jsx)(_,{onDismiss:w})]})}),f]})}},91363:function(e,t,n){"use strict";var r=n(13732);let o='[data-test-id="valeo-service-navbar"]';t.A=({selector:e=o,isDesktop:t=!0,desktopFallback:n=140,mobileFallback:i=79}={})=>{let s=t?n:i,[l,a]=(0,r.useState)(s);return(0,r.useLayoutEffect)(()=>{let t=document.querySelector(e),n=t?.offsetHeight??s;a(e=>e===n?e:n)},[s,e]),l}},92219:function(e,t,n){"use strict";var r=n(13732),o=n(61723);t.A=(e,t,n)=>{let[i,s]=(0,r.useState)(null);return(0,r.useEffect)(()=>{if(!e?.length||n)return;let{countryValue:r}=(0,o.yz)(e,t);r&&s(r)},[e,t,n]),{autoSelectedCountry:i}}}},function(e){"function"==typeof e.x?e.x():console.warn("[Module Federation] __webpack_require__.x is not a function, skipping startup extension"),_N_E=Promise.all([e.f.consumes||function(e,t){},e.f.remotes||function(e,t){}].reduce(function(e,t){return t("6774",e),e},[])).then(function(){return e.X(0,[636,8792,2624,4702,2736,7771,3300],function(){return e(e.s=68234)})})}]);

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.