1import{_ as g}from"./Bo1jy_uS.js";import{d as y,k as b,n as i,a as o,e as u,h as v,w,f as p,t as A,q as d,c as E,v as h}from"./BgOPsrZ5.js";import{u as L,q as x}from"./BQ2ybE4D.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="9cc3e863-2085-4596-83ff-d4ae9fca9e15",e._sentryDebugIdIdentifier="sentry-dbid-9cc3e863-2085-4596-83ff-d4ae9fca9e15")}catch{}})();var s=(e=>(e[e.SALES=162]="SALES",e[e.MEDIA=163]="MEDIA",e[e.CAREERS=164]="CAREERS",e[e.TALENT_CAMP=199]="TALENT_CAMP",e))(s||{});const S={class:"py-16 text-center text-white lg:py-32 bg-gradient-black-01 lg:text-left"},M={class:"max-w-sm px-6 py-8 md:max-w-lg lg:max-w-none lg:p-0"},k={class:"font-medium text-5xl tracking-[-1px] leading-tight whitespace-pre-line"},D=["innerHTML"],R=y({__name:"newsletter",props:{contactListId:{},title:{},copy:{}},async setup(e){let a,r;const n=e,{data:c}=([a,r]=b(()=>L("newsletter",()=>x("globals","newsletter").findOne())),a=await a,r(),a),t=i(()=>c&&c.value?c.value:!1),m=i(()=>t.value?n.contactListId===s.SALES?t.value.privacyLabelSales:n.contactListId===s.MEDIA?t.value.privacyLabelMedia:n.contactListId===s.CAREERS?t.value.privacyLabelCareers:n.contactListId===s.TALENT_CAMP?t.value.privacyLabelTalentCamp:t.value.privacyLabel:"");return(l,T)=>{const f=g,_=h;return o(),u("section",S,[v(_,{class:"flex flex-col items-center lg:grid lg:grid-cols-2"},{default:w(()=>[p("div",M,[p("h2",k,A(l.title),1),l.copy?(o(),u("div",{key:0,class:"mt-8 font-medium lg:text-lg",innerHTML:l.copy},null,8,D)):d("",!0)]),t.value?(o(),E(f,{key:0,"submit-label":t.value.submitLabel,"contact-list-id":l.contactListId,"input-label":t.value.inputLabel,"input-placeholder":t.value.inputPlaceholder,"error-message":t.value.errorMessage,"success-message":t.value.successMessage,"consent-label":m.value},null,8,["submit-label","contact-list-id","input-label","input-placeholder","error-message","success-message","consent-label"])):d("",!0)]),_:1})])}}});export{R as _}; 2//# sourceMappingURL=BSq9ASEO.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.