1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./BsozegOc.js","./BNbWhL3Y.js","./entry.DqegWqmy.css","./B5F5u5F8.js","./CjsepRUb.js","./_...CcoFKt2Z.css"])))=>i.map(i=>d[i]); 2import{P as X,_ as K,c as Z}from"./BsozegOc.js";import{e as A,Z as B,o as t,c as a,a as y,V as s,$ as I,T as g,w as D,b as C,P as w,y as n,a2 as P,X as o,at as J,t as _,av as Q,aw as Y,aE as ee,U as $,S as x,a1 as b,A as d,q as F,_ as te}from"./BNbWhL3Y.js";import{_ as ne}from"./CjsepRUb.js";import{e as ae}from"./kqaDv7xC.js";import"./B5F5u5F8.js";const ie=Q(()=>Y(()=>import("./BsozegOc.js").then(e=>e.am),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url).then(e=>e.default||e)),le=["data-sb-field-path","data-contentful-entry-id"],oe={key:0,class:"product-overview-item__image aspect-square w-full"},re={key:0},de=["innerHTML","data-contentful-entry-id"],se=["data-contentful-entry-id"],ce=A({__name:"item",props:{image:{},name:{default:""},description:{default:""},linkUrl:{default:""},tags:{},gridLayout:{type:Boolean,default:!1},internalName:{},styles:{},annotationPrefix:{default:""},__metadata:{}},setup(e){return(i,c)=>{const u=ie,m=ne,f=B("handle-external-links");return t(),a("div",{class:"product-overview-item flex flex-col","data-sb-field-path":e.annotationPrefix,"data-contentful-entry-id":e.__metadata?.id},[y("div",{class:s(["product-overview-item__inner mx-auto flex w-full max-w-[240px] flex-col",e.gridLayout?"sm:mx-0 sm:max-w-none":"sm:max-w-none"])},[e.image?(t(),a("div",oe,[e.linkUrl?I((t(),g(m,{key:0,to:i.$urlHandler(e.linkUrl),target:("isExternalUrl"in i?i.isExternalUrl:n(P))(e.linkUrl)?"_blank noopener":void 0,rel:("isExternalUrl"in i?i.isExternalUrl:n(P))(e.linkUrl)?"nofollow":"follow",class:"block h-full w-full"},{default:D(()=>[C(u,w(e.image,{"image-class":["w-full h-full object-contain"],"annotation-prefix":e.annotationPrefix?`${e.annotationPrefix}.image`:".image"}),null,16,["annotation-prefix"])]),_:1},8,["to","target","rel"])),[[f]]):(t(),g(u,w({key:1},e.image,{"image-class":["w-full h-full object-contain"],"annotation-prefix":e.annotationPrefix?`${e.annotationPrefix}.image`:".image"}),null,16,["annotation-prefix"]))])):o("",!0),y("div",{class:s(["product-overview-item__content mt-3 flex flex-col items-start text-left sm:mt-4",e.gridLayout&&"sm:ml-8"])},[e.name&&e.linkUrl?(t(),a("h3",re,[I((t(),g(m,{to:i.$urlHandler(e.linkUrl),target:("isExternalUrl"in i?i.isExternalUrl:n(P))(e.linkUrl)?"_blank noopener":void 0,rel:("isExternalUrl"in i?i.isExternalUrl:n(P))(e.linkUrl)?"nofollow":"follow",class:"inline-flex items-center gap-2 no-underline transition-colors hover:text-heading/80"},{default:D(()=>[y("span",{"data-sb-field-path":".name",innerHTML:("formatText"in i?i.formatText:n(J))(e.name),"data-contentful-entry-id":e.__metadata?.id,"data-contentful-field-id":"name",class:"h3 font-semibold text-inherit"},null,8,de),C(n(X),{class:"h-5 w-5 shrink-0","aria-hidden":"true"})]),_:1},8,["to","target","rel"])),[[f]])])):o("",!0),e.description?(t(),a("p",{key:1,class:"mt-1 font-normal text-grey","data-sb-field-path":".description","data-contentful-entry-id":e.__metadata?.id,"data-contentful-field-id":"description"},_(e.description),9,se)):o("",!0)],2)],2)],8,le)}}}),ue=Object.assign(ce,{__name:"ProductOverviewSectionItem"}),me={"colors-a":"gradient-color-primary","colors-b":"gradient-color-secondary","colors-c":"gradient-color-complementary","colors-primary":"gradient-color-primary","colors-secondary":"gradient-color-secondary","colors-complementary":"gradient-color-complementary"},fe="gradient-color-primary";function ve(e,i,c){const u=i?.trim();if(u)return{customColor:u};if(e)return{gradientClass:e};if(c){const m=me[c];if(m)return{gradientClass:m};if(c.startsWith("brand-color-"))return{gradientClass:`gradient-${c}`}}return{gradientClass:fe}}const ye=["data-sb-field-path","data-contentful-entry-id"],ge={key:1,class:"relative"},he={class:"relative z-[1] flex flex-col gap-4"},xe=["data-contentful-entry-id"],be=["data-contentful-entry-id"],we=["data-contentful-entry-id"],ke={key:3,class:"bio-buttons-container flex-wrap","data-sb-field-path":".ctaLinks"},Pe={class:"container"},_e={key:0,class:"relative grid grid-cols-1 gap-10 overflow-visible sm:grid-cols-2 md:gap-15 xl:grid-cols-4","data-sb-field-path":".products"},Ce={key:1,class:"product-overview-section__grid relative grid min-[850px]:hidden grid-cols-1 gap-10 sm:grid-cols-2 md:gap-15","data-sb-field-path":".products"},Ee={class:"product-overview-carousel__track -ml-6 sm:-ml-8"},Le={key:0,class:"flex items-center justify-center gap-2"},Se=["aria-label","onClick"],T="flex-[0_0_232px]",$e="sm:flex-[0_0_320px]",Ie=A({__name:"container",props:{eyebrow:{default:""},description:{default:""},products:{default:()=>[]},gradientColor:{},customGradientColor:{},pageColor:{},ctaLinks:{default:()=>[]},scrollableProducts:{type:Boolean,default:!1},scrollableProductsOnMobile:{type:Boolean,default:!1},inProductFilter:{type:Boolean,default:!1},elementId:{},headline:{default:""},name:{},internalName:{},styles:{default:()=>({})},annotationPrefix:{},__metadata:{}},setup(e){const i=d(()=>ve(e.gradientColor,e.customGradientColor,e.pageColor)),c=d(()=>i.value.gradientClass),u=d(()=>{const v=i.value.customColor;return v?{"--bio-gradient-from":v}:void 0}),m=d(()=>!!(c.value||i.value.customColor)),f=d(()=>e.styles?.self||{}),p=d(()=>e.inProductFilter&&e.scrollableProductsOnMobile),E=d(()=>e.inProductFilter&&!e.scrollableProductsOnMobile),h=d(()=>!!(e.eyebrow||e.headline||e.description||e.ctaLinks?.length)),R=d(()=>f.value.margin?f.value.margin:e.inProductFilter&&!h.value?"my-0":e.inProductFilter?"my-6 sm:my-8":"my-10 sm:my-12"),G=d(()=>f.value.padding?h.value?void 0:f.value.padding:h.value?"pb-6":"py-6 sm:py-8"),z=d(()=>e.products.length>1),M=`${T} ${$e}`,H=`${T} min-[850px]:flex-[0_0_320px]`,N=d(()=>p.value?H:z.value?M:"flex-[0_0_100%] sm:flex-[0_0_320px]"),[V,U]=ae({align:"start",loop:!0,dragFree:!0}),O=F(0),L=F([]);return ee(U,v=>{if(!v)return;const k=()=>{O.value=v.selectedScrollSnap(),L.value=v.scrollSnapList()};k(),v.on("select",k).on("reInit",k)}),(v,k)=>{const W=K,j=Z,S=ue,q=B("intersection-section");return I((t(),a("section",{class:s(["product-overview-section relative overflow-hidden",[n(R),n(E)&&"product-overview-section--filter-category",n(p)&&"product-overview-section--filtered-results",!e.inProductFilter&&"product-overview-section--standalone"]]),"data-sb-field-path":e.annotationPrefix,"data-contentful-entry-id":e.__metadata?.id,"data-contentful-field-id":"gradientColor"},[C(W,{"element-id":e.elementId},null,8,["element-id"]),n(m)&&n(E)?(t(),a("div",{key:0,class:s(["product-overview-section__gradient-full pointer-events-none absolute inset-0 -z-10 hidden max-[849px]:block",[n(c)]]),style:$(n(u)),"aria-hidden":"true"},null,6)):o("",!0),n(h)?(t(),a("div",ge,[n(m)&&!e.inProductFilter?(t(),a("div",{key:0,class:s(["product-overview-section__gradient-intro pointer-events-none absolute inset-x-0 top-0 -z-10 sm:hidden",[n(c)]]),style:$(n(u)),"aria-hidden":"true"},null,6)):o("",!0),y("div",{class:s(["container",n(f).padding||"pt-12 sm:pt-16",e.products?.length?e.inProductFilter?"mb-10":"mb-8 sm:mb-10":n(f).padding||"pb-6"])},[y("div",he,[e.eyebrow?(t(),a("p",{key:0,class:"text-sm text-grey","data-sb-field-path":".eyebrow","data-contentful-entry-id":e.__metadata?.id,"data-contentful-field-id":"eyebrow"},_(e.eyebrow),9,xe)):o("",!0),e.headline?(t(),a("h2",{key:1,class:"h2","data-sb-field-path":".headline","data-contentful-entry-id":e.__metadata?.id,"data-contentful-field-id":"headline"},_(e.headline),9,be)):o("",!0),e.description?(t(),a("p",{key:2,class:"text-grey prose prose-base lg:prose-lg","data-sb-field-path":".description","data-contentful-entry-id":e.__metadata?.id,"data-contentful-field-id":"description"},_(e.description),9,we)):o("",!0),e.ctaLinks?.length?(t(),a("div",ke,[(t
2(!0),a(x,null,b(e.ctaLinks,(r,l)=>(t(),g(j,{key:`${r.__metadata?.id??l}-${l}`,data:r,"annotation-prefix":`.${l}`},null,8,["data","annotation-prefix"]))),128))])):o("",!0)])],2)])):o("",!0),e.products?.length?(t(),a("div",{key:2,class:s(["product-overview-section__products relative",[n(G),{"product-overview-section__products--with-intro":n(h),"product-overview-section__products--in-filter":e.inProductFilter}]])},[n(m)?(t(),a("div",{key:0,class:s(["product-overview-section__gradient pointer-events-none absolute inset-x-0 -z-10",[n(c),e.inProductFilter?"rounded-none min-[850px]:rounded-t-3xl":"rounded-t-3xl",n(E)&&"max-[849px]:hidden",!e.inProductFilter&&"max-sm:hidden"]]),style:$(n(u)),"aria-hidden":"true"},null,6)):o("",!0),y("div",Pe,[e.scrollableProducts?e.scrollableProducts&&!e.scrollableProductsOnMobile?(t(),a("div",Ce,[(t(!0),a(x,null,b(e.products,(r,l)=>(t(),g(S,w({key:`mobile-${r.__metadata?.id??l}`},{ref_for:!0},r,{"grid-layout":"","annotation-prefix":`.${l}`}),null,16,["annotation-prefix"]))),128))])):o("",!0):(t(),a("div",_e,[(t(!0),a(x,null,b(e.products,(r,l)=>(t(),g(S,w({key:r.__metadata?.id??l},{ref_for:!0},r,{"grid-layout":"","annotation-prefix":`.${l}`}),null,16,["annotation-prefix"]))),128))])),e.scrollableProducts?(t(),a("div",{key:2,class:s(["product-overview-carousel relative z-[1] flex flex-col gap-6",{"hidden min-[850px]:flex":!e.scrollableProductsOnMobile}]),"data-sb-field-path":".products"},[y("div",{ref_key:"emblaRef",ref:V,class:"product-overview-carousel__viewport overflow-hidden"},[y("div",Ee,[(t(!0),a(x,null,b(e.products,(r,l)=>(t(),a("div",{key:`carousel-${r.__metadata?.id??l}`,class:s(["product-overview-carousel__slide min-w-0 shrink-0 pl-6 sm:pl-8",n(N)])},[C(S,w({ref_for:!0},r,{"annotation-prefix":`.${l}`}),null,16,["annotation-prefix"])],2))),128))])],512),n(L).length>1?(t(),a("div",Le,[(t(!0),a(x,null,b(n(L),(r,l)=>(t(),a("button",{key:l,type:"button",class:s(["h-2 w-2 rounded-full bg-heading transition-opacity",l===n(O)?"opacity-100":"opacity-20"]),"aria-label":`Go to slide ${l+1}`,onClick:()=>n(U)?.scrollTo(l)},null,10,Se))),128))])):o("",!0)],2)):o("",!0)])],2)):o("",!0)],10,ye)),[[q,e.inProductFilter?[]:[e.elementId,e.headline]]])}}}),Te=Object.assign(te(Ie,[["__scopeId","data-v-62f0464b"]]),{__name:"ProductOverviewSectionContainer"});export{Te 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.