1import{aA as N,cJ as R,cY as A,bF as s,ap as _,b$ as Y,cj as e,br as T,bp as m,d7 as r,ao as E,_ as O,aq as p,ar as C,K as J,aw as K,cc as U,ax as l,dd as P,X,au as G,an as x,bm as L,bU as H,i as Q,b7 as Z,$ as ee,cN as te}from"./DxWSqd2v.js";import{_ as ae}from"./D8UGzC4B.js";import oe from"./CohMoWkP.js";import{u as ne}from"./DxDmTReh.js";import{L as se}from"./7HaPz4Mw.js";import le from"./Q_2wENqN.js";import{_ as re}from"./2XMTmOPi.js";import{_ as ie}from"./C7GGenuS.js";import{k as ce,S as de,a as j,_ as me}from"./BRv6INSi.js";import{_ as _e}from"./BV1CqXV2.js";import"./D77BOHao.js";import"./bvfv2S1o.js";import"./21LJyfTZ.js";import"./C_bUkiVz.js";import"./Bc6-5c4O.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};n.SENTRY_RELEASE={id:"92.1-production"};var t=new n.Error().stack;t&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[t]="3d4aa56e-c84f-4f77-8527-53a43dedb84c",n._sentryDebugIdIdentifier="sentry-dbid-3d4aa56e-c84f-4f77-8527-53a43dedb84c")}catch{}})();const pe={key:1,class:"whitespace-pre-line"},ue=N({__name:"FeatureCard",props:{cardDisplay:{default:"background"},cardSize:{default:"normal"},data:{},componentIndex:{}},setup(n){const t=n,i=R(),{data:a,getValueSequence:b}=A(t),{backgroundColorClass:u,backgroundColorStyle:F,buttonColorClass:z,buttonColorStyle:$,buttonLabelColorClass:D,buttonLabelColorStyle:f,textColorStyle:k,textColorClass:w}=ne(t.data.style),c=b(a.dialog)[0],d=!!c,o=t.cardDisplay==="background",I=t.cardSize==="wide"&&t.cardDisplay==="contained",v=o?d?"button":a.link?le:"div":"div",g=c?.title||a.title,h=x(()=>o?"100vw md:50vw lg:309px xl:390px":I?"100vw md:50vw lg:540px":"100vw md:263px lg:255px xl
1:335px"),y=()=>{o&&(i.$gtm.selectContent({content_type:"feature_slide",content_id:`${t.componentIndex}`,content_action:d?"overlay":"link"}),!(!c||!a.link)&&i.$eventEmitter.emit("global-dialog",{content:{component:se,props:{image:c.image,title:c.title,description:c.description}}}))};return(S,ke)=>{const V=O,W=J,B=ae,q=oe,M=X;return s(),_(Y(e(v)),{class:m(["gtm-click-feature mol-feature-card flex h-full w-full flex-col gap-4 overflow-hidden rounded-2xl p-6 lg:mb-5",{"transition-all duration-300 ease-out lg:hover:-translate-y-1 lg:hover:drop-shadow-xl lg:focus:-translate-y-1 lg:focus:drop-shadow-xl":e(v)!=="div","relative aspect-2/3 max-h-[70vh] min-h-96":o},e(u)]),style:T(e(F)),onClick:y,"data-content-id":e(a).id,"data-content-name":e(a).title,type:o&&e(d)?"button":void 0,link:o&&!e(d)?e(a).link:void 0,"link-only":o&&!!e(a).link},{default:r(()=>[E("span",{class:m([o?"absolute inset-0":"flex items-center justify-center overflow-hidden rounded-xl bg-woom-grey"])},[e(a).image?(s(),_(V,{key:0,data:e(a).image,sizes:e(h),preset:o?"2to3":"3to2",cover:o,contain:!o,alt:e(a).image.caption},null,8,["data","sizes","preset","contain","alt"])):p("",!0)],2),E("span",{class:m(["relative flex w-full flex-col gap-2",{"mt-auto":o}])}
1,[e(g)||e(a).description?(s(),C("span",{key:0,class:m(["flex w-full flex-col gap-2 text-left",e(w),{"text-white":e(a).style?.theme==="dark"}]),style:T([e(k)])},[e(g)?(s(),_(W,{key:0,level:"span",size:"sm",class:"line-clamp-4 whitespace-pre-wrap"},{default:r(()=>[K(U(e(g)),1)]),_:1})):p("",!0),e(a).description?(s(),C("span",pe,[l(B,{content:("woomTextFormat"in S?S.woomTextFormat:e(P))(e(a).description)},null,8,["content"])])):p("",!0)],6)):p("",!0),o&&e(a)?.link?.label?(s(),_(M,{key:1,class:m([e(z),e(D)]),style:T([e($),e(f)]),styling:e(a).style?.theme==="dark"?"solid-invert":"solid-secondary",component:"span",block:""},G({default:r(()=>[l(B,{content:("woomTextFormat"in S?S.woomTextFormat:e(P))(e(a)?.link?.label)},null,8,["content"])]),_:2},[e(d)?{name:"icon",fn:r(()=>[l(q,{class:"h-6 w-6 fill-current"})]),key:"0"}:void 0]),1032,["class","style","styling"])):p("",!0)],2)]),_:1},8,["class","style","data-content-id","data-content-name","type","link","link-only"])}}}),fe=Object.assign(ue,{__name:"MolFeatureCard"}),ge={key:0,class:"absolute bottom-0 left-0 z-0 flex aspect-2/3 max-h-165 max-w-110 items-center max-lg:hidden"},ye=N({__name:"FeatureSlider",props:{data:{}},setup(n){const t=n,i=x(()=>t.data?.value?t.data.value.sequence.map(k=>t.data.value.components.find(w=>w.id===k)).filter(Z):[]),a=x(()=>t.data.card_size==="wide"&&t.data.card_display==="contained"),{componentProps:b,sliderProps:u,setMainSwiper:F,onSlideFocus:z,slideWidth:$}=ce(1.2,2.2,a.value?2.05:3.05,16),D=x(()=>t.data.style?.background_image_position==="full_width"?t.data.style?.background_image:void 0),f=x(()=>!a.value&&!!t.data.style?.background_image&&t.data.style?.background_image_position==="left");return(k,w)=>{const c=O,d=fe,o=re,I=ie,v=me,g=_e;return s(),_(g,L({intro:n.data.intro,"background-image":e(D),style:{"--slide-width":e(f)?`calc(${e($)}px + var(--space-between) * 1px)`:"0"}},e(b),{class:"org-feature-slider relative"}),{default:r(()=>[e(f)?(s(),C("div",ge,[l(c,{preset:"2to3",sizes:"1 lg:440",data:n.data.style?.background_image},null,8,["data"])])):p("",!0),E("div",null,[l(v,{onError:()=>{}},{default:r(()=>[l(e(de),L({"centered-slides":e(i).length===1,"prevent-clicks":!0},e(u),{onSwiper:e(F)}),{default:r(()=>[l(e(j),{class:m(["max-lg:hidden! max-lg:w-0!",{"hidden! w-0!":!e(f)}]),"aria-hidden":"true"},null,8,["class"]),(s(!0),C(Q,null,H(e(i),(h,y)=>(s(),_(e(j),{key:h.id,class:m([{"flex! h-auto! flex-col":t.data?.card_display==="contained"}]),onFocusin:()=>e(z)(y)},{default:r(()=>[l(o,{index:y},{default:r(()=>[l(d,{data:h,"component-index":y,"card-display":t.data?.card_display,"card-size":t.data?.card_size},null,8,["data","component-index","card-display","card-size"])]),_:2},1032,["index"])]),_:2},1032,["class","onFocusin"]))),128)),l(I)]),_:1},16,["centered-slides","onSwiper"])]),_:1})])]),_:1},16,["intro","background-image","style"])}}}),xe=Object.assign(ee(ye,[["__scopeId","data-v-24c5a0d3"]]),{__name:"OrgFeatureSlider"}),be=N({__name:"FeatureSlider",props:{data:{},componentIndex:{}},setup(n){const t=n,{cmsComponentProps:i}=A(t);return te(t),(a,b)=>{const u=xe;return s(),_(u,L({class:"cms-feature-slider"},e(i)),null,16)}}}),Pe=Object.assign(be,{__name:"CmsFeatureSlider"});export{Pe as default}; 2//# sourceMappingURL=D0EE3gxW.js.map
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.