1import{a1 as u,U as n,i as r,n as d,an as h,f as t,m as f,o as k,F as x,a6 as o,h as c,g,ab as y,$ as E,am as M,d as C}from"./swiper-vue.CT7r2VF_.js";import{b as $,z as T,E as w,m as S,A as N}from"./entry.FAhe_pJ7.js";/* empty css */import{u as R}from"./asyncData.DiVXS_Wx.js";const P={},U={class:"bg-[url('~/assets/img/resource/bg-header.webp')] bg-cover bg-bottom bg-no-repeat pb-10"},z={class:"flex flex-col justify-center text-center gap-5"},A=t("span",{class:"text-lg font-medium"},"Explore conferences, workshops, and meetings to connect with the Spamhaus team. Share ideas, exchange best practices, and discuss the latest insights. ",-1);function B(b,a){const l=u("ShHeading"),s=u("ShGrid");return n(),r("section",U,[d(s,{narrow:"",class:"pb-16 pt-12"},{default:h(()=>[t("div",z,[d(l,null,{default:h(()=>[f("Meet Spamhaus at industry events")]),_:1}),A])]),_:1})])}const H=$(P,[["render",B]]),F={class:"justify-between gap-4 items-center mobile:hidden large:flex"},G={class:"flex items-center text-xs gap-2 mb-2"},V={class:"font-semibold"},j={key:0,class:"font-semibold ml-0.5"},O=t("span",null,"â¢",-1),W={class:"flex items-center gap-2"},q={class:"flex flex-col gap-2"},I={class:"flex-[0_0_230px]"},J=["alt","src"],K={class:"flex flex-col gap-4 mobile:block large:hidden"},Q=["alt","src"],X={class:"flex-col flex"},Y={class:"flex"},Z={class:"font-semibold"},ee={key:0,class:"font-semibold ml-0.5"},te={class:"flex items-center gap-2"},ne={class:"flex flex-col gap-2 mt-4"},se=k({__name:"section",props:{event:{}},setup(b){const{isMobile:a}=T(),l=w(),s=e=>S(new Date(e),a?"do MMM yy":"MMMM dd, yyyy");return(e,p)=>{const m=u("ShFlag"),_=u("ShHeading"),v=u("ShLink");return n(),r(x,null,[t("div",F,[t("div",null,[t("div",G,[t("div",null,[t("span",V,o(s(e.event.startDate)),1),e.event.endDate?(n(),r("span",j," - "+o(s(e.event.endDate)),1)):c("",!0)]),O,t("div",W,[e.event.countryCode?(n(),g(m,{key:0,class:"h-4 w-4",country:e.event.countryCode.replace("-","")},null,8,["country"])):c("",!0),f(" "+o(e.event.location),1)])]),t("div",q,[d(_,{size:"h2",class:"text-xl font-semibold"},{default:h(()=>[f(o(e.event.eventTitle),1)]),_:1}),t("span",null,o(e.event.description),1),e.event.eventLink&&e.event.eventLink!=="undefined"?(n(),g(v,{key:0,text:"Learn more",href:e.event.eventLink},null,8,["href"])):c("",!0)])]),t("div",I,[t("img",{width:"230px",alt:`${e.event.eventTitle} image`,src:y(l).public.CONTENT_ASSETS_URL+e.event.image.filename_disk},null,8,J)])]),t("div",K,[t("div",null,[t("img",{class:"mx-auto mb-2",alt:`${e.event.eventTitle} image`,src:y(l).public.CONTENT_ASSETS_URL+e.event.image.filename_disk},null,8,Q)]),t("div",X,[t("div",Y,[t("span",Z,o(s(e.event.startDate)),1),e.event.endDate?(n(),r("span",ee," - "+o(s(e.event.endDate)),1)):c("",!0)]),t("div",te,o(e.event.location),1)]),t("div",ne,[d(_,{size:"h3"},{default:h(()=>[f(o(e.event.eventTitle),1)]),_:1}),t("span",null,o(e.event.description),1),e.event.eventLink&&e.event.eventLink!=="undefined"?(n(),g(v,{key:0,text:"Learn more",href:e.event.eventLink},null,8,["href"])):c("",!0)])])],64)}}}),ae={class:"flex flex-col gap-10"},oe={key:0,class:"mt-10 border-b"},ie=k({__name:"index",props:{events:{}},setup(b){return(a,l)=>
1{const s=se,e=u("ShGrid");return n(),r("section",null,[d(e,{ySpace:"",narrow:""},{default:h(()=>[t("div",ae,[(n(!0),r(x,null,E(a.events,(p,m)=>(n(),r("div",{key:p.id},[d(s,{event:p},null,8,["event"]),m<a.events.length-1?(n(),r("div",oe)):c("",!0)]))),128))])]),_:1})])}}}),ue=k({__name:"index",async setup(b){let a,l;const s=w(),{setBreadcrumbs:e,setPageTitle:p,setPageDescription:m}=N(),{data:_}=([a,l]=M(()=>R("events",()=>{const i=new URL(`${s.public.CMS_URL?s.public.CMS_URL:s.CMS_URL}events`);return i.searchParams.append("filter[_or][0][_and][0][endDate][_null]","true"),i.searchParams.append("filter[_or][0][_and][1][startDate][_gte]",S(new Date,"yyyy-MM-dd")),i.searchParams.append("filter[_or][1][endDate][_gte]",S(new Date,"yyyy-MM-dd")),i.searchParams.append("fields","*.*"),i.searchParams.append("sort","startDate"),$fetch(i.toString())})),a=await a,l(),a),v=C(()=>_?_.value.data.filter(i=>i.status==="published"):[]);return e([{text:"Resources"},{text:"Events",href:"/events/"}]),p("Events | Where you can connect with Spamhaus"),m("Explore conferences, workshops, and meetings where you can connect with the Spamhaus team."),(i,re)=>{const L=H,D=ie;return n(),r("div",null,[d(L,{class:"z-50 relative"}),y(_)?(n(),g(D,{key:0,class:"z-40 relative",events:y(v)},null,8,["events"])):c("",!0)])}}});export{ue 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.