1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4619],{40832:(e,t,r)=>{r.d(t,{K7:()=>i,ZV:()=>l,lA:()=>a,t_:()=>s});var n=r(94011);function l(e,t=n.A.defaultLanguage??"sv-SE",r,s=0){if(0===e)return`0 ${r||""}`;if(!e||!t)return"";let i=Number(e);return[Number.isNaN(i)||!i?e:new Intl.NumberFormat(t,{maximumFractionDigits:s,minimumFractionDigits:s}).format(i),r].filter(Boolean).join(" ")}function s(e){switch(e){case"BackgroundColor1":return"bg-editor-background";case"BackgroundColor2":return"bg-editor-background-2";case"BackgroundColor3":return"bg-editor-background-3";case"None":return"bg-foundation";default:return""}}function i(){return(n.A.defaultSite??"").toLowerCase().includes("dacia")}function a(){return(n.A.defaultSite??"").toLowerCase().includes("alpine")}},44619:(e,t,r)=>{r.r(t),r.d(t,{default:()=>o});var n=r(2183);r(99772);var l=r(62943),s=r(3638),i=r(5728),a=r(36439),c=r(40832);function o({crumbs:e,params:t,rendering:r}){let[u,d]=(0,a.useState)(!1),[m,f]=(0,a.useState)(!1),p=(0,a.useRef)(null),h=(0,l.useSitecore)(),x=h.page?.layout?.sitecore?.context?.siteSettings?.url?.value,{BackgroundColor:g,TextColor:b}=t||{},v="White"===b?["text-text-invert-primary","text-text-invert-secondary"]:["text-text-primary","text-text-secondary"],y=(0,c.t_)(g??"");(0,a.useEffect)(()=>{if(!p.current)return;let e=new IntersectionObserver(e=>{e.forEach(e=>{e.isIntersecting?document.documentElement.style.setProperty("--breadcrumbs-height",`${e.target.clientHeight}px`):document.documentElement.style.removeProperty("--breadcrumbs-height")})},{threshold:.5,rootMargin:"0px"});return e.observe(p.current),()=>{e.disconnect(),document.documentElement.style.removeProperty("--breadcrumbs-height")}},[p.current]),(0,a.useEffect)(()=>{let e=()=>{if(!p.current)return;let{scrollLeft:e,scrollWidth:t,clientWidth:r}=p.current;p.current.scrollLeft=p.current.scrollWidth,d(e>0),f(e+r<t)};return e(),window.addEventListener("resize",e),()=>{window.removeEventListener("resize",e)}},[p.current]);let N=e&&0!==e.length?{"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:e.map((e,t)=>({"@type":"ListItem",position:t+1,name:e.label,item:e.link?`${x}${e.link}`:void 0}))}:null;return(0,n.jsxs)(n.Fragment,{children:[N&&(0,n.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(N)}}),(0,n.jsxs)("nav",{id:r?.uid,"data-component":"BreadCrumbs",className:(0,s.A)("relative text-sm leading-none",y,v[0]),children:[(0,n.jsx)("ol",{ref:p,onScroll:()=>{if(!p.current)return;let{scrollLeft:e,scrollWidth:t,clientWidth:r}=p.current;d(e>0),f(e+r<t)},className:(0,s.A)("px-sm bp:px-lg no-scrollbar mx-auto flex max-w-3xl items-center overflow-scroll py-2",u||m?"":"justify-center"),children:e?.map((e,t)=>(0,n.jsxs)("li",{className:"flex items-center",children:[t>0&&(0,n.jsx)("span",{className:(0,s.A)("mx-1",v[0]),children:"/"}),e.link?(0,n.jsx)(i.N_,{href:e.link,className:(0,s.A)("text-nowrap text-right",v[1],"hover:"+v[0]),children:e.label}):(0,n.jsx)("span",{className:(0,s.A)("text-nowrap text-right",v[0]),children:e.label})]},t))}),u&&(0,n.jsx)("div",{className:(0,s.A)("pl-sm bp:pl-lg absolute left-0 top-0 z-10 flex h-full items-center justify-center pr-1",y),children:"..."}),m&&(0,n.jsx)("div",{className:(0,s.A)("pr-sm bp:pr-lg absolute right-0 top-0 z-10 flex h-full items-center justify-center pl-1",y),children:"..."})]})]})}}}]);
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.