PageSourceSearch

https://woom.com/_nuxt/CCid-z78.js

js woom.com collected 2026-09-25 20:49:23 UTC 7,484 bytes, 3 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Q_2wENqN.js","./DxWSqd2v.js","./entry.BH82Mtom.css","./D8UGzC4B.js","./D77BOHao.js","./DJztCXY7.js","./DAtGWper.js"])))=>i.map(i=>d[i]);
2import{aA as ot,ce as at,bM as nt,bN as i,d3 as lt,ar as r,ap as u,aq as d,ax as y,cj as e,bp as s,ao as B,d7 as N,an as l,G as it,bF as a,i as dt,dd as C,br as O,db as st,az as x,Z as b,cW as rt,bK as ct,bo as mt,V as ut,$ as yt}from"./DxWSqd2v.js";import ft from"./VUJtrD3k.js";import{_ as gt}from"./D8UGzC4B.js";import{u as ht}from"./B-gXVDz6.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:"92.1-production"};var o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="aac63336-16e6-4221-b407-41a9c96327dd",t._sentryDebugIdIdentifier="sentry-dbid-aac63336-16e6-4221-b407-41a9c96327dd")}catch{}})();const _t=x(()=>b(()=>import("./Q_2wENqN.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url).then(t=>t.default||t)),vt=x(()=>b(()=>import("./DJztCXY7.js"),__vite__mapDeps([5,1,2,6]),import.meta.url).then(t=>t.default||t)),xt=x(()=>b(()=>import("./DxWSqd2v.js").then(t=>t.I),__vite__mapDeps([1,2]),import.meta.url).then(t=>t.default||t)),bt=x(()=>b(()=>import("./DxWSqd2v.js").then(t=>t.j),__vite__mapDeps([1,2]),import.meta.url).then(t=>t.default||t)),wt=["id"],pt={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"},kt={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:H=i(void 0),label_color:M=i(void 0),button_color:q=i(void 0),halign:w=i("left"),valign:p=i("bottom"),halign_mobile:k=i("left"),valign_mobile:S=i("bottom"),logo:h=i(void 0),overlay:W=i("opacity_0")}=at(nt(o.data.style||{})),{countdownExpired:K,countdownDisplay:F,countdownNow:Y,countdownBackgroundColor:R}=ht(o.data.countdown),G={128:"w-32",176:"w-44",240:"w-60"},J={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,Z=l(()=>o.isSlider?o.isActive:!0);ct(ut,Z);const $=l(()=>h.value==="small"?"128":h.value==="large"?"240":"176"),D=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:H.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:M.value}:{mainStyling:"solid-invert",secondaryStyling:"outline-invert"}),g=l(()=>o.data.style?.size||"medium"),_=l(()=>o.fullHeight||g.value==="large"),v=l(()=>!_.value&&!o.isSlider),E=l(()=>v.value&&g.value==="auto_height"),P=l(()=>!!o.data.animation?.url),Q=()=>{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&&(K?.value&&n.style.setProperty("opacity","0"),F?.value&&(n.style.setProperty("opacity","1"),T.textContent=F.value))};return o.data.countdown&&lt([Y,()=>c.value],async()=>{await mt(),Q()},{immediate:!0}),(n,T)=>{const j=_t,L=ft,U=vt,A=gt,X=xt,tt=bt,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(v)&&e(g)!=="auto_height","min-h-[50vh]":e(v)&&e(g)==="small","min-h-[75vh]":e(v)&&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(L,{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(L,{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"]),B("div",{class:s(["absolute inset-0 bg-black",e(W)?.replace("_","-")])},null,2),e(_)?(a(),r("div",pt)):d("",!0),e(E)?d("",!0):(a(),u(et,{key:2,width:e(P)?"content":void 0,class:"pointer-events-none relative z-20 flex w-full"},{default:N(()=>[B("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(k)==="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(k)==="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(k)==="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(p)==="top","max-md:items-center":e(S)==="middle","md:items-center":e(p)==="middle","max-md:items-end":e(S)==="bottom","md:items-end":e(p)==="bottom"}])},[B("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(P),"text-woom-black":e(f)==="dark","text-woom-white":e(f)==="light"}])},[t.data.animation?.url?(a(),u(U,{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(C))(t.data.countdown.text)},null,8,["content"])],2)):t.data.logo?(a(),r("div",{key:1,class:s(`${G[e($)]} ${J[e(D)]}`)},[y(X,{data:t.data.logo,sizes:`${e($)} md:${e(D)}`,class:"w-full",role:"presentation"},null,8,["data","sizes"])],2)):d("",!0),t.data.title?(a(),u(tt,{key:2,style:O(e(V))},{default:N(()=>[y(A,{content:("woomTextFormat"in n?n.woomTextFormat:e(C))(t.data.title)},null,8,["content"])]),_:1},8,["style"])):d("",!0),t.data.subtitle?(a(),r("div",{key:3,style:O(e(V)),class:"text-lg max-md:invisible max-md:hidden"},[y(A,{content:("woomTextFormat"in n?n.woomTextFormat:e(C))(t.data.subtitle)},null,8,["content"])],4)):d("",!0),t.data.link||t.data.link2?(a(),r("div",kt,[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=CCid-z78.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.