1import{_ as O}from"./Cfm38LQL.js";import{_ as V,a as S}from"./ajowY-46.js";import{A as g}from"./DQnsv8AC.js";import{B as w}from"./D6i5Gfm2.js";import{b7 as x,b4 as f,bW as N,bg as R,be as L,bq as u,bs as i,br as $,bB as h,bl as o,bj as k,bk as B,eb as z,bm as s,bb as P,ce as G,cc as j,bx as H,by as M,bu as D,cd as E,bt as U,cC as I,bi as F}from"./Bw5c_LE1.js";import{u as W}from"./BChhBU5F.js";import{_ as q}from"./DE-JgQaR.js";import{a as K}from"./C_q5PAqU.js";import{a as J,B as Q}from"./C3PYySVB.js";import{u as X,a as Y}from"./BvPGWJnG.js";import"./vZq0Bsxx.js";import"./CeKgxJkI.js";import"./D5bgs12U.js";import"./DxItQ_R0.js";import"./CvZ_qjD_.js";import"./C_31dcHh.js";import"./DlAUqK2U.js";import"./DSHjIOPz.js";import"./C37P0MmO.js";import"./1bKG6xSw.js";import"./CxXDaWId.js";import"./Cz6DosGX.js";import"./CD4vC9dl.js";import"./Bp5DjZW4.js";const Z={id:"hero",class:"max-lg:bg-light relative z-1 flex flex-col lg:pt-[var(--header-height)]"},tt={class:"pointer-events-none relative max-lg:z-1 lg:absolute lg:inset-0"},ot=x({__name:"CHeroProduct",props:{product:{},anchor:{}},setup(t){const e=z(w),a=t,r=f(()=>!!(a.product.heroImage?.filename||a.product.heroVimeoId)),l=f(()=>e.greater("LG").value),{theme:d}=W(r.value),m=c=>c?g.RATIO_7_3:g.RATIO_1_1,n=N(g.RATIO_1_1);return R(()=>{n.value=m(l.value)}),L(l,c=>{n.value=m(c)}),(c,C)=>{const _=O,p=V,b=S;return s(),u("section",Z,[i(_,{title:t.product.title,body:t.product.intro,variant:"heroProduct",orientation:"horizontal",showBreadcrumbs:"",class:h([o(d)==="dark"?"dark":"","bg-light overflow-visible max-lg:order-last lg:bg-transparent"])},null,8,["title","body","class"]),$("div",tt,[o(r)?(s(),k(p,{key:o(n),image:t.product.heroImage,vimeoId:t.product.heroVimeoId,title:t.product.title,preset:o(n),objectFit:"cover",loading:"eager",class:"relative lg:absolute lg:inset-0"},null,8,["image","vimeoId","title","preset"])):B("",!0),o(r)?(s(),k(b,{key:1,class:"max-lg:hidden"})):B("",!0)])])}}}),et=Object.assign(ot,{__name:"CHeroProduct"}),nt={class:"bg-light"},at={class:"block--content-page"},rt=x({__name:"ProductPage",props:{blok:{}},async setup(t){let e,a;const r=([e,a]=P(()=>U()),e=await e,a(),e),l=t,{anchor:d}=X(()=>l.blok.sections,()=>r.value?.assemblagesTitle),{categories:m}=([e,a]=P(()=>Y()),e=await e,a(),e);return(n,c)=>{const C=et,_=q,p=F("StoryblokComponent"),b=K,T=E,y=j("editable");return s(),u("div",nt,[i(C,{product:t.blok},null,8,["product"]),i(_,{buttons:t.blok.buttons,buttonVariant:o(Q).PILL,buttonGroupVariant:o(J).PILL,buttonSize:"xl",anchor:o(d)},null,8,["buttons","buttonVariant","buttonGroupVariant","anchor"]),G((s(),u("div",at,[(s(!0),u(H,null,M(t.blok.sections,(v,A)=>(s(),k(p,{key:v._uid,blok:v,class:h(("getBackgroundColor"in n?n.getBackgroundColor:o(I))(A+1,!0))},null,8,["blok","class"]))),128))])),[[y,t.blok]]),i(T,null,{default:D(()=>[i(b,{title:o(r)?.otherCategoriesTitle,description:o(r)?.otherCategoriesIntro,content:o(m),class:h(("getBackgroundColor"in n?n.getBackgroundColor:o(I))((t.blok.sections?.length||0)+1))},null,8,["title","description","content","class"])]),_:1})])}}}),Vt=Object.assign(rt,{__name:"ProductPage"});export{Vt as default};
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.