1import{d as T,c as t,b as l,o as r,f as s,m as u,t as n,F as B,r as E,p as b,n as L,j as V}from"./CmM1QDzE.js";const w={class:"card-image"},N=["src","alt"],S={class:"card-content"},j={key:0,class:"event-badge"},F={class:"card-title"},U={class:"card-description"},$={key:1,class:"card-features"},z={class:"button-wrapper"},A=["href","aria-label"],D={key:0,class:"link-sr-suffix"},I=T({__name:"EventTypeCard",props:{block:{}},setup(f){const i=f,e=t(()=>i.block?.settings||i.block?.content||{}),c=t(()=>e.value.title||e.value.name||"Event Type"),g=t(()=>e.value.description||e.value.subtitle||""),h=t(()=>e.value.image||e.value.image_url||"/images/placeholder-event.jpg"),v=t(()=>e.value.badge||e.value.tag||""),o=t(()=>e.value.cta_text||e.value.button_text||"Learn More"),y=t(()=>e.value.cta_url||e.value.url||"#"),k=t(()=>/learn more|read more|click here|more/i.test(o.value)?`Learn more about ${c.value}`:o.value),d=t(()=>/learn more|read more|click here|more/i.test(o.value)?` about ${c.value}`:""),p=t(()=>e.value.features?e.value.features:e.value.bullets?e.value.bullets:[]),x=t(()=>{const a=e.value.event_type||e.value.variant||"";return{"variant-birthday":a.includes("birthday"),"variant-corporate":a.includes("corporate"),"variant-group":a.includes("group"),"variant-special":a.includes("special")}}),C=t(()=>{const a=e.value.event_type||"";return a.includes("corporate")?"is-blue-filled":a.includes("birthday")?"is-yellow-filled":"is-pink-filled"});return(a,_)=>(r(),l("article",{class:b(["event-type-card",x.value])},[s("div",w,[s("img",{src:h.value,alt:c.value},null,8,N),_[0]||(_[0]=s("div",{class:"image-overlay"},null,-1))]),s("div",S,[v.value?(r(),l("span",j,n(v.value),1)):u("",!0),s("h3",F,n(c.value),1),s("p",U,n(g.value),1),p.value.length?(r(),l("ul",$,[(r(!0),l(B,null,E(p.value,m=>(r(),l("li",{key:m},n(m),1))),128))])):u("",!0),s("div",z,[s("a",{href:y.value,"aria-label":k.value,class:b(["button w-inline-block",C.value])},[L(n(o.value),1),d.value?(r(),l("span",D,n(d.value),1)):u("",!0)],10,A)])])],2))}}
1),q=V(I,[["__scopeId","data-v-c646616b"]]);export{q as default};
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.