PageSourceSearch

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

js woom.com collected 2026-10-04 00:27:10 UTC 7,486 bytes, 3 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./gwoCKMlo.js","./IZR80Hiv.js","./entry.CasQH4DA.css","./w7OgtN2g.js","./DS2JYWGW.js","./BYyyNrBT.js","./B5TboJPs.js"])))=>i.map(i=>d[i]);
2import{aD as ot,ch as at,bO as nt,bP as i,d5 as lt,au as r,as as u,at as d,aA as y,cm as e,bs as s,ar as C,d9 as L,aq as l,J as it,bI as a,i as dt,df as B,bu as H,dd as st,aC as v,a1 as x,cY as rt,bM as ct,br as mt,V as ut,a2 as yt}from"./IZR80Hiv.js";import ft from"./CaWTQNSW.js";import{_ as gt}from"./w7OgtN2g.js";import{u as ht}from"./ByosNHuF.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"93.1-production"};var o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="a179ce77-4bb1-44c3-85bc-d88c51898c60",t._sentryDebugIdIdentifier="sentry-dbid-a179ce77-4bb1-44c3-85bc-d88c51898c60")}catch{}})();const _t=v(()=>x(()=>import("./gwoCKMlo.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url).then(t=>t.default||t)),bt=v(()=>x(()=>import("./BYyyNrBT.js"),__vite__mapDeps([5,1,2,6]),import.meta.url).then(t=>t.default||t)),vt=v(()=>x(()=>import("./IZR80Hiv.js").then(t=>t.I),__vite__mapDeps([1,2]),import.meta.url).then(t=>t.default||t)),xt=v(()=>x(()=>import("./IZR80Hiv.js").then(t=>t.j),__vite__mapDeps([1,2]),import.meta.url).then(t=>t.default||t)),wt=["id"],kt={key:1,class:"hero-full-darken absolute bottom-0 min-h-44 w-full bg-linear-to-t from-black/90 via-black/80 via-30% to-transparent transition-colors lg:hidden"},pt={key:4,class:"flex gap-2 max-md:flex-col"},St=ot({__name:"Hero",props:{componentIndex:{},data:{},fullHeight:{type:Boolean,default:!1},isActive:{type:Boolean},isSlider:{type:Boolean},slideIndex:{default:0}},setup(t){const o=t,c=rt("heroRef"),{font_color:M=i(void 0),label_color:N=i(void 0),button_color:q=i(void 0),halign:w=i("left"),valign:k=i("bottom"),halign_mobile:p=i("left"),valign_mobile:S=i("bottom"),logo:h=i(void 0),overlay:Y=i("opacity_0")}=at(nt(o.data.style||{})),{countdownExpired:J,countdownDisplay:D,countdownNow:W,countdownBackgroundColor:R}=ht(o.data.countdown),K={128:"w-32",176:"w-44",240:"w-60"},G={240:"md:w-60",360:"md:w-90",450:"md:w-112.5"},z=`cta_${o.componentIndex}_${o.slideIndex}`,I=o.componentIndex===0&&o.slideIndex===0,Q=l(()=>o.isSlider?o.isActive:!0);ct(ut,Q);const F=l(()=>h.value==="small"?"128":h.value==="large"?"240":"176"),P=l(()=>h.value==="small"?"240":h.value==="large"?"450":"360"),f=l(()=>o.data.style?.theme||"light"),V=l(()=>{if(f.value==="custom")return{color:M.value||st("white")}}),m=l(()=>f.value==="dark"?{mainStyling:"solid",secondaryStyling:"outline"}:f.value==="custom"?{mainStyling:"solid-custom",secondaryStyling:"outline-custom",colorBg:q.value,colorLabel:N.value}:{mainStyling:"solid-invert",secondaryStyling:"outline-invert"}),g=l(()=>o.data.style?.size||"medium"),_=l(()=>o.fullHeight||g.value==="large"),b=l(()=>!_.value&&!o.isSlider),E=l(()=>b.value&&g.value==="auto_height"),$=l(()=>!!o.data.animation?.url),U=()=>{if(!c.value)return;const n=c.value.querySelector(".countdown");if(!n)return;R?.value&&n.style.setProperty("--countdown-background-color",R.value);const T=c.value?.querySelector(".countdown-timer");T&&(J?.value&&n.style.setProperty("opacity","0"),D?.value&&(n.style.setProperty("opacity","1"),T.textContent=D.value))};return o.data.countdown&&lt([W,()=>c.value],async()=>{await mt(),U()},{immediate:!0}),(n,T)=>{const j=_t,O=ft,X=bt,A=gt,Z=vt,tt=xt,et=it;return a(),r("section",{id:t.data.codename,class:s(["mol-hero relative flex",{"max-h-screen-mobile min-h-screen-mobile lg:min-h-screen-desktop":e(_),"md:min-h-[75vh]":e(b)&&e(g)!=="auto_height","min-h-[50vh]":e(b)&&e(g)==="small","min-h-[75vh]":e(b)&&e(g)==="medium"}]),ref_key:"heroRef",ref:c},[t.data.link?(a(),u(j,{key:0,link:t.data.link,"link-only":"","data-cta-type":`${z}_0`,class:"gtm-click-hero-cta absolute inset-0 z-10 h-full w-full","aria-hidden":"true",tabindex:"-1"},null,8,["link","data-cta-type"])):d("",!0),y(O,{data:t.data.heroMobile||t.data.hero,"image-preload":e(I),class:s(["lb-hero-image h-full w-full md:hidden",{absolute:!e(E)}
2]),cover:"","image-loading":e(I)?"eager":"lazy",sizes:"300 xs:640 sm:768",preset:"2to3",role:"presentation"},null,8,["data","image-preload","class","image-loading"]),y(O,{data:t.data.hero,class:s(["lb-hero-image hidden h-full w-full md:block",{absolute:!e(E)}]),cover:"","image-loading":e(I)?"eager":"lazy",role:"presentation",sizes:"1px md:1264px lg:1920px"},null,8,["data","class","image-loading"]),C("div",{class:s(["absolute inset-0 bg-black",e(Y)?.replace("_","-")])},null,2),e(_)?(a(),r("div",kt)):d("",!0),e(E)?d("",!0):(a(),u(et,{key:2,width:e($)?"content":void 0,class:"pointer-events-none relative z-20 flex w-full"},{default:L(()=>[C("div",{class:s(["flex w-full",{"max-lg:pt-10 max-lg:pb-24":e(_),"hero-justify-left max-md:justify-start max-md:text-left":e(p)==="left","hero-justify-left-desktop md:justify-start md:text-left":e(w)==="left","hero-justify-center max-md:justify-center max-md:text-center":e(p)==="center","hero-justify-center-desktop md:justify-center md:text-center":e(w)==="center","hero-justify-right max-md:justify-end max-md:text-right":e(p)==="right","hero-justify-right-desktop md:justify-end md:text-right":e(w)==="right","max-md:items-start":e(S)==="top","md:items-start":e(k)==="top","max-md:items-center":e(S)==="middle","md:items-center":e(k)==="middle","max-md:items-end":e(S)==="bottom","md:items-end":e(k)==="bottom"}])},[C("div",{class:s(["lb-hero-content relative my-6 flex w-full flex-col gap-4 max-md:w-full md:my-8 lg:px-0",{"lg:max-w-lg":!e($),"text-woom-black":e(f)==="dark","text-woom-white":e(f)==="light"}])},[t.data.animation?.url?(a(),u(X,{key:0,url:t.data.animation.url,class:"w-full"},null,8,["url"])):(a(),r(dt,{key:1},[t.data.countdown?.timer&&t.data.countdown?.text?(a(),r("div",{key:0,class:s([{"countdown-display-block":t.data.countdown.display==="block"}])},[y(A,{content:("woomTextFormat"in n?n.woomTextFormat:e(B))(t.data.countdown.text)},null,8,["content"])],2)):t.data.logo?(a(),r("div",{key:1,class:s(`${K[e(F)]} ${G[e(P)]}`)},[y(Z,{data:t.data.logo,sizes:`${e(F)} md:${e(P)}`,class:"w-full",role:"presentation"},null,8,["data","sizes"])],2)):d("",!0),t.data.title?(a(),u(tt,{key:2,style:H(e(V))},{default:L(()=>[y(A,{content:("woomTextFormat"in n?n.woomTextFormat:e(B))(t.data.title)},null,8,["content"])]),_:1},8,["style"])):d("",!0),t.data.subtitle?(a(),r("div",{key:3,style:H(e(V)),class:"text-lg max-md:invisible max-md:hidden"},[y(A,{content:("woomTextFormat"in n?n.woomTextFormat:e(B))(t.data.subtitle)},null,8,["content"])],4)):d("",!0),t.data.link||t.data.link2?(a(),r("div",pt,[t.data.link?(a(),u(j,{key:0,"data-cta-type":`${z}_0`,link:t.data.link,styling:e(m).mainStyling,"color-bg":e(m).colorBg,"color-label":e(m).colorLabel,class:"gtm-click-hero-cta pointer-events-auto max-md:max-w-none"},null,8,["data-cta-type","link","styling","color-bg","color-label"])):d("",!0),t.data.link2?(a(),u(j,{key:1,"data-cta-type":`${z}_1`,link:t.data.link2,styling:e(m).secondaryStyling,"color-bg":e(m).colorBg,"color-label":e(m).colorLabel,class:"gtm-click-hero-cta pointer-events-auto max-md:max-w-none"},null,8,["data-cta-type","link","styling","color-bg","color-label"])):d("",!0)])):d("",!0)],64))],2)],2)]),_:1},8,["width"]))],10,wt)}}}),jt=Object.assign(yt(St,[["__scopeId","data-v-4c80e5b2"]]),{__name:"MolHero"});export{jt as _};
3//# sourceMappingURL=B0QbCaz2.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.