PageSourceSearch

https://woom.com/_nuxt/Bsv_sPnw.js

js woom.com collected 2026-10-04 00:27:33 UTC 6,268 bytes, 2 lines download raw bytes

1import{aD as L,cM as R,c_ as A,bI as s,as as p,c1 as Z,cm as e,bu as T,bs as m,d9 as r,ar as E,_ as V,at as _,au as C,O as Y,az as G,cf as H,aA as l,df as B,Z as J,ax as K,aq as x,bp as N,bW as Q,i as U,ba as X,a2 as ee,bt as te,aZ as ae}from"./IZR80Hiv.js";import{_ as oe}from"./w7OgtN2g.js";import ne from"./Br0_aTC8.js";import{u as se}from"./C2LTO6Lh.js";import{L as le}from"./Du_9adFf.js";import re from"./gwoCKMlo.js";import{_ as ie}from"./BUrky8oo.js";import{_ as de}from"./DYAzHTvz.js";import{k as ce,S as me,a as O,_ as pe}from"./BAhu04_e.js";import{_ as _e}from"./BAWHTq3b.js";import"./DS2JYWGW.js";import"./D6MOHDKd.js";import"./CNzRTc_T.js";import"./CCDyOHBt.js";import"./PC5wPPQ9.js";import"./C7yEMrvT.js";import"./C6VAe2EL.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:"93.1-production"};var t=new n.Error().stack;t&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[t]="a100bb7d-ddd3-43d6-a6cb-d891d1dd454f",n._sentryDebugIdIdentifier="sentry-dbid-a100bb7d-ddd3-43d6-a6cb-d891d1dd454f")}catch{}})();const ue={key:1,class:"whitespace-pre-line"},fe=L({__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:z,buttonColorClass:D,buttonColorStyle:F,buttonLabelColorClass:$,buttonLabelColorStyle:f,textColorStyle:k,textColorClass:w}=se(t.data.style),d=b(a.dialog)[0],c=!!d,o=t.cardDisplay==="background",I=t.cardSize==="wide"&&t.cardDisplay==="contained",v=o?c?"button":a.link?re:"div":"div",g=d?.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:c?"overlay":"link"}),!(!d||!a.link)&&i.$eventEmitter.emit("global-dialog",{content:{component:le,props:{image:d.image,title:d.title,description:d.description}}}))};return(S,we)=>{const W=V,j=Y,P=oe,M=ne,q=J;return s(),p(Z(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(z)),onClick:y,"data-content-id":e(a).id,"data-content-name":e(a).title,type:o&&e(c)?"button":void 0,link:o&&!e(c)?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(),p(W,{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"])):_("",!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(),p(j,{key:0,level:"span",size:"sm",class:"line-clamp-4 whitespace-pre-wrap"},{default:r(()=>[G(H(e(g)),1)]),_:1})):_("",!0),e(a).description?(s(),C("span",ue,[l(P,{content:("woomTextFormat"in S?S.woomTextFormat:e(B))(e(a).description)},null,8,["content"])])):_("",!0)],6)):_("",!0),o&&e(a)?.link?.label?(s(),p(q,{key:1,class:m([e(D),e($)]),style:T([e(F),e(f)]),styling:e(a).style?.theme==="dark"?"solid-invert":"solid-secondary",component:"span",block:""},K({default:r(()=>[l(P,{content:("woomTextFormat"in S?S.woomTextFormat:e(B))(e(a)?.link?.label)},null,8,["content"])]),_:2},[e(c)?{name:"icon",fn:r(()=>[l(M,{class:"h-6 w-6 fill-current"})]),key:"0"}:void 0]),1032,["class","style","styling"])):_("",!0)],2)]),_:1},8,["class","style","data-content-id","data-content-name","type","link","link-only"])}}}),ge=Object.assign(fe,{__name:"MolFeatureCard"}),ye={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"},xe=L({__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(X):[]),a=x(()=>t.data.card_size==="wide"&&t.data.card_display==="contained"),{componentProps:b,sliderProps:u,setMainSwiper:z,onSlideFocus:D,slideWidth:F}=ce(1.2,2.2,a.value?2.05:3.05,16),$=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 d=V,c=ge,o=ie,I=de,v=pe,g=_e;return s(),p(g,N({intro:n.data.intro,"background-image":e($),style:{"--slide-width":e(f)?`calc(${e(F)}px + var(--space-between) * 1px)`:"0"}},e(b),{class:"org-feature-slider relative"}),{default:r(()=>[e(f)?(s(),C("div",ye,[l(d,{preset:"2to3",sizes:"1 lg:440",data:n.data.style?.background_image},null,8,["data"])])):_("",!0),E("div",null,[l(v,{onError:()=>{}},{default:r(()=>[l(e(me),N({"centered-slides":e(i).length===1,"prevent-clicks":!0},e(u),{onSwiper:e(z)}),{default:r(()=>[l(e(O),{class:m(["max-lg:hidden! max-lg:w-0!",{"hidden! w-0!":!e(f)}]),"aria-hidden":"true"},null,8,["class"]),(s(!0),C(U,null,Q(e(i),(h,y)=>(s(),p(e(O),{key:h.id,class:m([{"flex! h-auto! flex-col":t.data?.card_display==="contained"}]),onFocusin:()=>e(D)(y)},{default:r(()=>[l(o,{index:y},{default:r(()=>[l(c,{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"])}}}),be=Object.assign(ee(xe,[["__scopeId","data-v-24c5a0d3"]]),{__name:"OrgFeatureSlider"}),ke=L({__name:"FeatureSlider",props:{data:{},componentIndex:{}},setup(n){const t=n,{cmsComponentProps:i}=A(t);return(a,b)=>{const u=be;return s(),p(u,te(ae(e(i))),null,16)}}}),Ve=Object.assign(ke,{__name:"CmsFeatureSlider"});export{Ve as default};
2//# sourceMappingURL=Bsv_sPnw.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.