PageSourceSearch

https://helse.ch/_nuxt/DfgTMnft.js

js helse.ch collected 2026-10-02 23:30:49 UTC 26,421 bytes, 1 lines download raw bytes

1import{q as A,N as e,l as a,i as t,F as I,D as T,k as d,h,A as n,o as U,_ as N,Q as F,j as M,I as l,n as R,b as G,v as fe,C as O,a5 as xe,y as Y,x as _e,a9 as be,T as ye,X as we,V as ke,U as $e,a6 as Ce,m as Me,Z as Ie,P as Z,S as Ee,L as Te,w as je,r as De,g as Se,J as W,f as ze,Y as Le}from"./C2RZUgHm.js";import{e as Ue}from"./CbDG_eJV.js";import Ae from"./CMO_QTaj.js";import Pe from"./KwGyuUNN.js";import{r as Q}from"./DPHHmVkS.js";import{i as Ne,u as Fe}from"./Cd6vLhxp.js";import{u as qe}from"./D76A2xDn.js";import{_ as Be}from"./DlAUqK2U.js";const Ve={key:0,class:"py-12 lg:py-20"},Re={class:"flex touch-pan-y gap-4 lg:gap-5"},Ge={class:"aspect-[4/3] w-[78vw] sm:w-[55vw] md:w-[28rem] lg:w-[22rem]"},Oe=A({__name:"EventGallery",props:{images:{},alt:{}},setup(o){const r=o,f=h(()=>r.images),[g]=Ue({loop:!1,align:"start",dragFree:!0,containScroll:"trimSnaps",skipSnaps:!0});return(m,c)=>{const x=N;return e(f).length?(n(),a("section",Ve,[t("div",{ref_key:"emblaRef",ref:g,class:"overflow-hidden pl-6 lg:pl-[max(1.75rem,calc((100vw-80rem)/2+1.75rem))]"},[t("ul",Re,[(n(!0),a(I,null,T(e(f),(_,i)=>(n(),a("li",{key:_+i,class:"relative shrink-0 overflow-hidden rounded-sm bg-neutral-800"},[t("div",Ge,[U(x,{src:_,alt:o.alt,width:"880",height:"660",loading:"lazy",draggable:"false",class:"pointer-events-none h-full w-full object-cover"},null,8,["src","alt"])])]))),128))])],512)])):d("",!0)}}}),Je=Object.assign(Oe,{__name:"EventGallery"}),He={class:"py-12 lg:py-20"},Ke={class:"mx-auto grid max-w-7xl gap-8 px-6 lg:grid-cols-2 lg:gap-12 lg:px-8"},Ze={class:"relative aspect-[4/3] overflow-hidden rounded-sm bg-neutral-800 lg:aspect-auto"},We={class:"flex flex-col justify-center"},Qe={class:"text-[28px] leading-tight text-white lg:text-[36px]"},Xe={class:"mt-3 text-lg text-white lg:text-xl"},Ye={class:"mt-1 text-sm text-neutral-400 lg:text-base"},et={key:0,class:"mt-6 text-base leading-relaxed text-neutral-300 lg:text-lg"},tt={key:1,class:"mt-6 list-disc space-y-2 pl-5 text-sm text-neutral-300 marker:text-neutral-500 lg:text-base"},st={class:"mt-8"},ot=["href"],nt=A({__name:"EventVenue",props:{venue:{},image:{},description:{},notes:{}},setup(o){const r=o,{t:f}=F(),g=h(()=>`https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(`${r.venue.name}, ${r.venue.address}, ${r.venue.postalCode} ${r.venue.city}`)}`);return(m,c)=>{const x=N,_=G;return n(),a("section",He,[t("div",Ke,[t("div",Ze,[o.image?(n(),M(x,{key:0,src:o.image,alt:o.venue.name,width:"1200",height:"900",loading:"lazy",class:"absolute inset-0 h-full w-full object-cover"},null,8,["src","alt"])):d("",!0)]),t("div",We,[t("h2",Qe,l(e(f)("events.detail.venueTitle")),1),t("p",Xe,l(o.venue.name),1),t("p",Ye,l(o.venue.address)+" · "+l(o.venue.postalCode)+" "+l(o.venue.city),1),o.description?(n(),a("p",et,l(o.description),1)):d("",!0),o.notes?.length?(n(),a("ul",tt,[(n(!0),a(I,null,T(o.notes,(i,b)=>(n(),a("li",{key:b},l(i),1))),128))])):d("",!0),t("div",st,[t("a",{href:e(g),target:"_blank",rel:"noopener",class:"inline-flex items-center gap-2 text-sm font-medium text-white underline underline-offset-4 hover:text-neutral-300"},[U(_,{name:"heroicons:map-pin",size:"18"}),R(" "+l(e(f)("events.detail.venueDirections")),1)],8,ot)])])])])}}}),at=Object.assign(nt,{__name:"EventVenue"}),lt={class:"py-12 lg:py-20"},it={key:0,class:"flex flex-col justify-center"},rt={class:"text-[28px] leading-tight text-white lg:text-[36px]"},ct={class:"mt-6 whitespace-pre-line text-base leading-relaxed text-neutral-300 lg:text-lg"},ut={key:1,class:"relative aspect-video overflow-hidden rounded-sm bg-neutral-900"},dt=["src"],mt=["aria-label"],pt={class:"grid h-20 w-20 place-items-center rounded-full bg-red-600 text-white transition hover:bg-red-500 lg:h-24 lg:w-24"},gt=A({__name:"EventAboutVideo",props:{text:{},video:{},title:{},posterFallback:{}},setup(o){const r=o,{t:f}=F(),g=O(!1),m=h(()=>!!r.text?.trim()),c=h(()=>r.video?r.video.provider==="youtube"?`https://www.youtube-nocookie.com/embed/${r.video.id}?autoplay=1&rel=0`:`https://player.vimeo.com/video/${r.video.id}?autoplay=1`:null),x=h(()=>r.video?.thumbnail?r.video.thumbnail:r.video?.provider==="youtube"?`https://i.ytimg.com/vi/${r.video.id}/maxresdefault.jpg`:r.posterFallback??null);return(_,i)=>{const b=N,C=G;return n(),a("section",lt,[t("div",{class:fe(["mx-auto max-w-7xl gap-10 px-6 lg:gap-12 lg:px-8",e(m)?"grid lg:grid-cols-2":""])},[e(m)?(n(),a("div",it,[t("h2",rt,l(o.title??e(f)("events.detail.aboutMoreTitle")),1),t("p",ct,l(o.text),1)])):d("",!0),o.video?(n(),a("div",ut,[e(g)&&e(c)?(n(),a("iframe",{key:0,src:e(c),title:"Event video",allow:"autoplay; encrypted-media; picture-in-picture",allowfullscreen:"",class:"absolute inset-0 h-full w-full"},null,8,dt)):(n(),a(I,{key:1},[e(x)?(n(),M(b,{key:0,src:e(x),alt:"",width:"1280",height:"720",loading:"lazy",class:"absolute inset-0 h-full w-full object-cover"},null,8,["src"])):d("",!0),i[1]||(i[1]=t("div",{class:"absolute inset-0 bg-black/40","aria-hidden":"true"},null,-1)),t("button",{type:"button","aria-label":e(f)("events.detail.playVideo"),class:"absolute inset-0 grid place-items-center",onClick:i[0]||(i[0]=$=>g.value=!0)},[t("span",pt,[U(C,{name:"heroicons:play-solid",size:"36"})])],8,mt)],64))])):d("",!0)],2)])}}}),ht=Object.assign(gt,{__name:"EventAboutVideo"}),vt={class:"pb-12 lg:pb-20"},ft={class:"mx-auto max-w-7xl px-6 lg:px-8"},xt={class:"relative aspect-video overflow-hidden rounded-sm bg-neutral-900"},_t=["src"],bt=["aria-label"],yt={class:"grid h-20 w-20 place-items-center rounded-full bg-red-600 text-white transition hover:bg-red-500 lg:h-24 lg:w-24"},wt=A({__name:"EventAfterMovie",props:{video:{},posterFallback:{}},setup(o){const r=o,{t:f}=F(),g=O(!1),m=h(()=>{const{provider:x,id:_,start:i}=r.video;
1if(x==="youtube"){const C=new URLSearchParams({autoplay:"1",rel:"0"});return i&&i>0&&C.set("start",String(i)),`https://www.youtube-nocookie.com/embed/${_}?${C.toString()}`}const b=new URLSearchParams({autoplay:"1"});return i&&i>0&&b.set("#t",`${i}s`),`https://player.vimeo.com/video/${_}?${b.toString()}`}),c=h(()=>r.video.thumbnail?r.video.thumbnail:r.video.provider==="youtube"?`https://i.ytimg.com/vi/${r.video.id}/maxresdefault.jpg`:r.posterFallback??null);return(x,_)=>{const i=N,b=G;return n(),a("section",vt,[t("div",ft,[t("div",xt,[e(g)?(n(),a("iframe",{key:0,src:e(m),title:"After movie",allow:"autoplay; encrypted-media; picture-in-picture",allowfullscreen:"",class:"absolute inset-0 h-full w-full"},null,8,_t)):(n(),a(I,{key:1},[e(c)?(n(),M(i,{key:0,src:e(c),alt:"",width:"1280",height:"720",loading:"lazy",class:"absolute inset-0 h-full w-full object-cover"},null,8,["src"])):d("",!0),_[1]||(_[1]=t("div",{class:"absolute inset-0 bg-black/40","aria-hidden":"true"},null,-1)),t("button",{type:"button","aria-label":e(f)("events.detail.playVideo"),class:"absolute inset-0 grid place-items-center",onClick:_[0]||(_[0]=C=>g.value=!0)},[t("span",yt,[U(b,{name:"heroicons:play-solid",size:"36"})])],8,bt)],64))])])])}}}),kt=Object.assign(wt,{__name:"EventAfterMovie"}),$t={class:"py-12 lg:py-20"},Ct={class:"mx-auto max-w-7xl px-6 lg:px-8"},Mt={key:0,class:"mb-8 flex flex-col gap-2 lg:mb-12"},It={key:0,class:"text-xs tracking-widest text-neutral-500 uppercase"},Et={key:1,class:"text-[28px] leading-tight text-white lg:text-[36px]"},Tt={key:2,class:"text-sm text-neutral-400"},jt={class:"grid grid-cols-2 gap-4 sm:grid-cols-3 lg:grid-cols-4"},Dt=["aria-label","onClick"],St=["src","alt"],zt={key:0,class:"pointer-events-none absolute right-2 bottom-2 rounded-sm bg-black/60 px-2 py-1 text-[10px] tracking-wide text-white opacity-0 backdrop-blur-sm transition group-hover:opacity-100"},Lt={class:"absolute top-4 right-4 flex items-center gap-2"},Ut=["href"],At={class:"flex max-h-[90vh] max-w-[92vw] flex-col items-center gap-3"},Pt=["src","alt"],Nt={class:"flex flex-col items-center gap-1 text-xs text-neutral-400"},Ft={class:"tracking-widest uppercase"},qt={key:0},Bt=A({__name:"EventPastGalleryBento",props:{images:{default:()=>[]},alt:{},eyebrow:{},title:{},credit:{}},setup(o){const r=o,{t:f}=F(),g=[{src:"https://images.unsplash.com/photo-1503095396549-807759245b35?auto=format&fit=crop&w=1400&q=80",credit:"Marko Petrović"},{src:"https://images.unsplash.com/photo-1507924538820-ede94a04019d?auto=format&fit=crop&w=1200&q=80",credit:"Marko Petrović"},{src:"https://images.unsplash.com/photo-1533106497176-45ae19e68ba2?auto=format&fit=crop&w=900&q=80",credit:"Ana Jović"},{src:"https://images.unsplash.com/photo-1514306191717-452ec28c7814?auto=format&fit=crop&w=900&q=80",credit:"Ana Jović"},{src:"https://images.unsplash.com/photo-1507676184212-d03ab07a01bf?auto=format&fit=crop&w=900&q=80"},{src:"https://images.unsplash.com/photo-1536440136628-849c177e76a1?auto=format&fit=crop&w=1200&q=80",credit:"Marko Petrović"},{src:"https://images.unsplash.com/photo-1470225620780-dba8ba36b745?auto=format&fit=crop&w=900&q=80"},{src:"https://images.unsplash.com/photo-1499364615650-ec38552f4f34?auto=format&fit=crop&w=1400&q=80",credit:"Ana Jović"}],m=h(()=>(r.images.length?r.images:g).map(w=>typeof w=="string"?{src:w}:w)),c=h(()=>{if(r.credit)return r.credit;const p=m.value.map(E=>E.credit).filter(Boolean);if(p.length===0)return null;const w=[...new Set(p)];return w.length===1?w[0]:null});function x(p){return f("events.detail.photoBy",{name:p})}function _(p){return p.replace("/gallery/","/gallery-thumbs/").replace(/\.(png|jpe?g|avif)$/i,".webp")}const i=O(null),b=h(()=>i.value!==null);function C(p){i.value=p}function $(){i.value=null}function s(){i.value!==null&&(i.value=(i.value-1+m.value.length)%m.value.length)}function y(){i.value!==null&&(i.value=(i.value+1)%m.value.length)}function D(p){return`/api/download?url=${encodeURIComponent(p)}`}function P(p){b.value&&(p.key==="Escape"?$():p.key==="ArrowLeft"?s():p.key==="ArrowRight"&&y())}return xe(b,p=>{document.body.style.overflow=p?"hidden":""}),Y(()=>window.addEventListener("keydown",P)),_e(()=>{window.removeEventListener("keydown",P),document.body.style.overflow=""}),(p,w)=>(n(),a("section",$t,[t("div",Ct,[o.eyebrow||o.title||e(c)?(n(),a("div",Mt,[o.eyebrow?(n(),a("p",It,l(o.eyebrow),1)):d("",!0),o.title?(n(),a("h2",Et,l(o.title),1)):d("",!0),e(c)?(n(),a("p",Tt,l(x(e(c))),1)):d("",!0)])):d("",!0),t("ul",jt,[(n(!0),a(I,null,T(e(m),(E,S)=>(n(),a("li",{key:E.src+S,class:"group relative aspect-square overflow-hidden rounded-sm bg-neutral-900"},[t("button",{type:"button",class:"absolute inset-0 block h-full w-full cursor-zoom-in","aria-label":`${o.alt} — ${S+1}`,onClick:J=>C(S)},[t("img",{src:_(E.src),alt:`${o.alt} — ${S+1}`,width:"400",height:"400",loading:"lazy",decoding:"async",class:"absolute inset-0 h-full w-full object-cover transition duration-500 group-hover:scale-[1.03]"},null,8,St)],8,Dt),E.credit&&!e(c)?(n(),a("span",zt,l(x(E.credit)),1)):d("",!0)]))),128))])]),(n(),M(ye,{to:"body"},[e(b)&&e(i)!==null?(n(),a("div",{key:0,class:"fixed inset-0 z-[100] flex items-center justify-center bg-black/90 backdrop-blur-sm",role:"dialog","aria-modal":"true",onClick:be($,["self"])},[t("div",Lt,[t("a",{href:D(e(m)[e(i)]?.src??""),class:"rounded-full bg-white/10 p-2 text-white transition hover:bg-white/20","aria-label":"Download"},[...w[0]||(w[0]=[t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[t("path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"}),t("polyline",{points:"7 10 12 15 17 10"}),t("line",{x1:"12",y1:"15",x2:"12",y2:"3"})],-1)])],8,Ut),t("button",{type:"button",class:"rounded-full bg-white/10 p-2 text-white transition hover:bg-white/20","aria-label":"Close",onClick:$},[...w[1]||(w[1]=[t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[t("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),t("line",{x1:"6",y1:"6",x2:"18",y2:"18"})],-1)])])]),e(m).length>
11?(n(),a("button",{key:0,type:"button",class:"absolute left-4 rounded-full bg-white/10 p-3 text-white transition hover:bg-white/20","aria-label":"Previous",onClick:s},[...w[2]||(w[2]=[t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[t("polyline",{points:"15 18 9 12 15 6"})],-1)])])):d("",!0),e(m).length>1?(n(),a("button",{key:1,type:"button",class:"absolute right-4 rounded-full bg-white/10 p-3 text-white transition hover:bg-white/20","aria-label":"Next",onClick:y},[...w[3]||(w[3]=[t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[t("polyline",{points:"9 18 15 12 9 6"})],-1)])])):d("",!0),t("figure",At,[t("img",{src:e(m)[e(i)]?.src,alt:`${o.alt} — ${e(i)+1}`,class:"max-h-[85vh] w-auto object-contain"},null,8,Pt),t("figcaption",Nt,[t("span",Ft,l(e(i)+1)+" / "+l(e(m).length),1),e(m)[e(i)]?.credit?(n(),a("span",qt,l(x(e(m)[e(i)].credit)),1)):d("",!0)])])])):d("",!0)]))]))}}),Vt=Object.assign(Bt,{__name:"EventPastGalleryBento"});function Rt(o,r,f){const g=o.i18n[r],m=`${f.siteUrl}${f.path}`,c=o.images.og??o.images.hero??o.images.poster,x=c.startsWith("http")?c:`${f.siteUrl}${c}`;return{title:g.seo.metaTitle,description:g.seo.metaDescription,ogTitle:g.seo.ogTitle??g.seo.metaTitle,ogDescription:g.seo.ogDescription??g.seo.metaDescription,ogImage:x,ogType:"article",ogUrl:m,twitterCard:g.seo.twitterCard??"summary_large_image",twitterTitle:g.seo.ogTitle??g.seo.metaTitle,twitterDescription:g.seo.ogDescription??g.seo.metaDescription,twitterImage:x,keywords:g.seo.keywords?.join(", ")}}function Gt(o,r,f){const g=o.i18n[r],m=`${f.siteUrl}${f.path}`,c=o.images.og??o.images.hero??o.images.poster,x=c.startsWith("http")?c:`${f.siteUrl}${c}`,_=o.status==="cancelled"?"https://schema.org/EventCancelled":o.status==="postponed"?"https://schema.org/EventPostponed":"https://schema.org/EventScheduled",i={offline:"https://schema.org/OfflineEventAttendanceMode",online:"https://schema.org/OnlineEventAttendanceMode",mixed:"https://schema.org/MixedEventAttendanceMode"},b=o.offers?.tiers.map($=>({"@type":"Offer",name:$.id,price:$.priceMin,priceCurrency:o.offers.currency,availability:o.offers.availability==="sold-out"?"https://schema.org/SoldOut":"https://schema.org/InStock",url:o.offers.url??m,validFrom:o.offers.validFrom??void 0})),C=o.credits?.filter($=>$.role==="cast"||$.role==="musician"||$.role==="host").map($=>({"@type":"Person",name:$.name}));return{"@context":"https://schema.org","@type":"Event",name:g.title,description:g.excerpt,startDate:o.startDate,endDate:o.endDate??void 0,eventStatus:_,eventAttendanceMode:i[o.attendanceMode],inLanguage:o.performanceLanguage??r,image:[x],location:{"@type":"Place",name:o.venue.name,address:{"@type":"PostalAddress",streetAddress:o.venue.address,addressLocality:o.venue.city,addressRegion:o.venue.region??void 0,postalCode:o.venue.postalCode,addressCountry:o.venue.country},...o.venue.geo?{geo:{"@type":"GeoCoordinates",latitude:o.venue.geo.lat,longitude:o.venue.geo.lng}}:{},...o.venue.website?{url:o.venue.website}:{}},organizer:{"@type":"Organization",name:o.organizer.name,url:o.organizer.url??void 0},...C&&C.length?{performer:C}:{},...b&&b.length?{offers:b}:{},url:m}}const Ot={class:"relative isolate overflow-hidden bg-neutral-900 text-white"},Jt={class:"absolute inset-0 -z-10"},Ht={class:"mx-auto flex min-h-[78vh] max-w-7xl flex-col justify-end px-6 pt-24 pb-10 lg:px-8 lg:pt-32 lg:pb-16"},Kt={class:"text-sm tracking-wide text-neutral-400"},Zt={class:"mt-3 max-w-3xl text-5xl leading-none font-bold lg:text-7xl"},Wt={key:0,class:"mt-4 text-lg text-neutral-300 lg:text-xl"},Qt={class:"mt-6 max-w-2xl text-sm leading-relaxed text-neutral-300 lg:text-base"},Xt={class:"mt-8 flex flex-col gap-3 text-sm text-neutral-200 lg:text-base"},Yt={class:"flex items-center gap-3"},es={class:"flex items-center gap-3"},ts={class:"mt-8"},ss=["href"],os={class:"py-12 lg:py-20"},ns={class:"mx-auto grid max-w-7xl gap-10 px-6 lg:grid-cols-3 lg:gap-12 lg:px-8"},as={class:"space-y-8 lg:col-span-1"},ls={key:0,class:"text-sm"},is={class:"text-xs tracking-widest text-white uppercase"},rs={class:"mt-2 text-base text-neutral-400"},cs={key:0},us={key:1},ds={class:"text-xs tracking-widest text-white uppercase"},ms={class:"mt-3 space-y-3 text-sm text-neutral-400"},ps={class:"w-24 shrink-0 text-neutral-500"},gs={class:"space-y-1"}
1,hs={key:0,class:"text-neutral-500"},vs={key:2},fs={class:"text-xs tracking-widest text-white uppercase"},xs={class:"mt-3 space-y-1 text-sm text-neutral-400"},_s={class:"lg:col-span-2"},bs={class:"text-[28px] leading-tight text-white lg:text-[36px]"},ys={class:"mt-6 whitespace-pre-line text-base leading-relaxed text-neutral-300 lg:text-lg"},ws={key:0,class:"pb-12 lg:pb-20"},ks={class:"mx-auto max-w-7xl px-6 lg:px-8"},$s={class:"overflow-hidden rounded-sm bg-neutral-900"},Cs=["src","poster"],Ms={key:4},Is={class:"mx-auto max-w-7xl px-6 lg:px-8"},Es={class:"grid gap-8 border-t border-white/10 py-12 lg:grid-cols-12 lg:gap-12 lg:py-20"},Ts={class:"lg:col-span-4"},js={class:"text-[26px] leading-[1.1] text-white lg:text-[32px]"},Ds={class:"mt-4 text-sm leading-relaxed text-neutral-400 lg:text-base"},Ss={class:"lg:col-span-8"},zs={class:"flex flex-col gap-6 lg:flex-row lg:items-end lg:justify-between"},Ls={class:"flex items-baseline gap-2"},Us={class:"text-5xl leading-none text-white lg:text-6xl"},As={class:"text-sm text-neutral-500"},Ps=["href"],Ns={key:0,class:"mt-8 divide-y divide-white/10 border-t border-white/10"},Fs={class:"text-sm text-neutral-300"},qs={class:"text-sm text-white"},Bs={class:"text-xs text-neutral-500"},Vs={key:1,class:"mt-8 space-y-1 border-t border-white/10 pt-6 text-xs text-neutral-500 lg:text-sm"},X="sm:100vw md:100vw lg:100vw xl:100vw xxl:100vw 2xl:100vw",Rs=A({__name:"[slug]",async setup(o){let r,f;const g=we(),{locale:m,t:c}=F(),x=Le(),_=ke(),i=$e({dir:!0,lang:!0,seo:!0}),b=h(()=>String(g.params.slug)),{event:C,error:$}=([r,f]=Ce(()=>Fe(b.value)),r=await r,f(),r);if($.value||!C.value)throw Me({statusCode:404,statusMessage:"Event not found",fatal:!0});const s=C.value,y=h(()=>s.i18n[m.value]),D=h(()=>Ne(s)),P=h(()=>({siteUrl:x.public.siteUrl,path:g.path})),p=h(()=>Rt(s,m.value,P.value));Ie({title:()=>`${p.value.title}`,description:()=>p.value.description,keywords:()=>p.value.keywords,ogTitle:()=>p.value.ogTitle,ogDescription:()=>p.value.ogDescription,ogImage:()=>p.value.ogImage,ogType:"article",ogUrl:()=>p.value.ogUrl,ogLocale:()=>m.value==="sr"?"sr_Latn_RS":"en_US",twitterCard:()=>p.value.twitterCard,twitterTitle:()=>p.value.twitterTitle,twitterDescription:()=>p.value.twitterDescription,twitterImage:()=>p.value.twitterImage});const w=h(()=>JSON.stringify(ze([{name:c("breadcrumb.home"),url:`${x.public.siteUrl}${_("/")}`},{name:c("nav.events"),url:`${x.public.siteUrl}${_("/events")}`},{name:y.value.title,url:p.value.ogUrl}])));Z({htmlAttrs:{lang:()=>i.value.htmlAttrs?.lang??m.value,dir:()=>i.value.htmlAttrs?.dir??"ltr"},link:i.value.link??[],meta:i.value.meta??[],script:[{type:"application/ld+json",id:"event-jsonld",innerHTML:h(()=>JSON.stringify(Gt(s,m.value,P.value)))},{type:"application/ld+json",id:"breadcrumb-jsonld",innerHTML:w}]});const E=h(()=>m.value==="sr"?"sr-Latn-RS":"en-US"),S=u=>u&&u[0].toUpperCase()+u.slice(1),J=h(()=>new Intl.DateTimeFormat(E.value,{weekday:"long",day:"numeric",month:"long",year:"numeric",timeZone:s.timezone})),H=h(()=>new Intl.DateTimeFormat(E.value,{hour:"2-digit",minute:"2-digit",timeZone:s.timezone})),ee=h(()=>J.value.formatToParts(new Date(s.startDate)).map(u=>u.type==="month"||u.type==="weekday"?S(u.value):u.value).join("")),te=h(()=>{const u=H.value.format(new Date(s.startDate));if(!s.endDate)return u;const v=H.value.format(new Date(s.endDate));return`${u} – ${v}`}),se=h(()=>{if(!s.offers?.tiers.length)return null;const u=s.offers.tiers.map(V=>V.priceMin),v=Math.min(...u),L=Math.max(...u);return v===L?`${v}`:`${v}–${L}`}),oe=u=>c(`events.detail.credits.${u}`,u),ne=(u,v)=>u?c(u,v):v,ae=h(()=>{const u=new Map;for(const v of s.credits??[])u.has(v.role)||u.set(v.role,[]),u.get(v.role).push({name:v.name,characterName:v.characterName});return[...u].map(([v,L])=>({role:v,people:L}))}),le=h(()=>s.images.venue??s.images.hero??s.images.poster),ie=qe(),re=Ee(),q=h(()=>s.images.hero?re.getSizes(s.images.hero,{sizes:X,modifiers:{width:void 0,height:void 0,format:"webp",quality:75}}):null);Z({link:()=>q.value?[{rel:"preload",as:"image",fetchpriority:"high",href:q.value.src,imagesrcset:q.value.srcset,imagesizes:q.value.sizes}]:[]});const B=h(()=>De(s,m.value));Y(()=>{Te(B.value)});const z=h(()=>s.offers?.url?Se(s.offers.url,B.value):null);function K(u){if(!z.value)return;if(u.metaKey||u.ctrlKey||u.shiftKey||u.button===1){W(B.value);return}u.preventDefault(),W(B.value);const v=z.value;setTimeout(()=>{window.open(v,"_blank","noopener")},150)}return(u,v)=>{const L=N,V=G,ce=Je,ue=at,de=ht,me=kt,pe=Vt,ge=Ae,he=Pe;return n(),a("article",null,[t("section",Ot,[t("div",Jt,[e(s).images.hero?(n(),M(L,{key:0,src:e(s).images.hero,alt:e(y).title,width:"1920",loading:"eager",fetchpriority:"high",format:"webp",sizes:X,class:"hero-img h-full w-full object-cover",style:je({"--hero-pos-mobile":("resolveImageFocus"in u?u.resolveImageFocus:e(Q))(e(s).images.focus?.heroMobile??e(s).images.focus?.hero),"--hero-pos-desktop":("resolveImageFocus"in u?u.resolveImageFocus:e(Q))(e(s).images.focus?.hero)})},null,8,["src","alt","style"])):d("",!0),v[0]||(v[0]=t("div",{class:"absolute inset-0 bg-gradient-to-r from-black/85 via-black/55 to-black/30"},null,-1)),v[1]||(v[1]=t("div",{class:"absolute inset-0 bg-gradient-to-t from-black/80 via-trans
1parent to-black/20"},null,-1)),v[2]||(v[2]=t("div",{class:"absolute inset-x-0 bottom-0 h-1/3 bg-gradient-to-t from-neutral-900 via-neutral-900/70 to-transparent"},null,-1))]),t("div",Ht,[t("p",Kt,l(e(c)(`home.events.badges.${e(s).category}`)),1),t("h1",Zt,l(e(y).title),1),e(y).subtitle?(n(),a("p",Wt,l(e(y).subtitle),1)):d("",!0),t("p",Qt,l(e(y).excerpt),1),t("dl",Xt,[t("div",Yt,[U(V,{name:"heroicons:clock",size:"20",class:"shrink-0"}),t("dd",null,l(e(ee))+" · "+l(e(te)),1)]),t("div",es,[U(V,{name:"heroicons:map-pin",size:"20",class:"shrink-0"}),t("dd",null,l(e(s).venue.name)+", "+l(e(s).venue.city),1)])]),t("div",ts,[!e(D)&&e(z)?(n(),a("a",{key:0,href:e(z),target:"_blank",rel:"noopener",class:"inline-flex items-center justify-center rounded-sm bg-red-600 px-16 py-3 text-base font-medium text-white transition hover:bg-red-500",onClick:K},l(e(c)("events.detail.buyCta")),9,ss)):d("",!0)])])]),t("section",os,[t("div",ns,[t("aside",as,[e(s).durationMinutes?(n(),a("dl",ls,[t("dt",is,l(e(c)("events.detail.durationLabel")),1),t("dd",rs,[R(l(e(c)("events.detail.duration",{min:e(s).durationMinutes}))+" ",1),e(s).hasIntermission===!1?(n(),a("span",cs," · "+l(e(c)("events.detail.noIntermission")),1)):d("",!0)])])):d("",!0),e(s).credits?.length?(n(),a("div",us,[t("p",ds,l(e(c)("events.detail.creditsTitle")),1),t("dl",ms,[(n(!0),a(I,null,T(e(ae),k=>(n(),a("div",{key:k.role,class:"flex gap-3"},[t("dt",ps,l(oe(k.role)),1),t("dd",gs,[(n(!0),a(I,null,T(k.people,(j,ve)=>(n(),a("div",{key:ve},[R(l(j.name)+" ",1),j.characterName?(n(),a("span",hs," ("+l(j.characterName)+") ",1)):d("",!0)]))),128))])]))),128))])])):d("",!0),e(s).partners?.length?(n(),a("div",vs,[t("p",fs,l(e(c)("events.detail.partnersTitle")),1),t("ul",xs,[(n(!0),a(I,null,T(e(s).partners,(k,j)=>(n(),a("li",{key:j},l(k.name),1))),128))])])):d("",!0)]),t("div",_s,[t("h2",bs,l(e(c)("events.detail.aboutTitle")),1),t("p",ys,l(e(y).description),1)])])]),e(s).trailer?.src?(n(),a("section",ws,[t("div",ks,[t("div",$s,[t("video",{src:e(s).trailer.src,poster:e(s).trailer.poster??e(s).images.hero??e(s).images.poster,controls:"",playsinline:"",preload:"metadata",class:"aspect-video h-full w-full object-cover"},null,8,Cs)])])])):d("",!0),e(s).sections?.gallery!==!1&&e(s).images.gallery?.length?(n(),M(ce,{key:1,images:e(s).images.gallery,alt:e(y).title},null,8,["images","alt"])):d("",!0),e(s).sections?.venue!==!1?(n(),M(ue,{key:2,venue:e(s).venue,image:e(le),description:e(y).venueDescription,notes:e(y).venueNotes},null,8,["venue","image","description","notes"])):d("",!0),e(s).sections?.aboutVideo!==!1&&(e(y).aboutMore||e(s).video)?(n(),M(de,{key:3,text:e(y).aboutMore??"",video:e(s).video,"poster-fallback":e(s).images.hero??e(s).images.poster},null,8,["text","video","poster-fallback"])):d("",!0),!e(D)&&e(s).sections?.tickets!==!1&&e(s).offers?.tiers.length?(n(),a("section",Ms,[t("div",Is,[t("div",Es,[t("div",Ts,[t("h2",js,l(e(c)("events.detail.ticketsTitle")),1),t("p",Ds,l(e(c)("events.detail.ticketsSubtitle")),1)]),t("div",Ss,[t("div",zs,[t("div",Ls,[t("span",Us,l(e(se)),1),t("span",As,l(e(s).offers.currency),1)]),e(z)?(n(),a("a",{key:0,href:e(z),target:"_blank",rel:"noopener",class:"inline-flex items-center justify-center rounded-sm bg-red-600 px-8 py-3.5 text-base font-medium text-white transition hover:bg-red-500",onClick:K},l(e(c)("events.detail.buyCta")),9,Ps)):d("",!0)]),e(s).offers.tiers.length>1?(n(),a("dl",Ns,[(n(!0),a(I,null,T(e(s).offers.tiers,k=>(n(),a("div",{key:k.id,class:"flex items-baseline justify-between gap-3 py-3"},[t("dt",Fs,l(ne(k.i18nKey,k.id)),1),t("dd",qs,[R(l(k.priceMin===k.priceMax?k.priceMin:`${k.priceMin}–${k.priceMax}`)+" ",1),t("span",Bs,l(e(s).offers.currency),1)])]))),128))])):d("",!0),e(y).policyNotes?.length?(n(),a("ul",Vs,[(n(!0),a(I,null,T(e(y).policyNotes,(k,j)=>(n(),a("li",{key:j},l(k),1))),128))])):d("",!0)])])])])):d("",!0),e(D)&&e(s).sections?.afterMovie!==!1&&e(s).afterMovie?(n(),M(me,{key:5,video:e(s).afterMovie,"poster-fallback":e(s).images.hero??e(s).images.poster},null,8,["video","poster-fallback"])):d("",!0),e(D)&&e(s).sections?.pastGallery!==!1&&e(s).images.pastGallery?.length?(n(),M(pe,{key:6,images:e(s).images.pastGallery,alt:e(y).title,eyebrow:e(c)("events.detail.pastGalleryEyebrow"),title:e(c)("events.detail.pastGalleryTitle"),credit:e(s).images.pastGalleryCredit},null,8,["images","alt","eyebrow","title","credit"])):d("",!0),e(s).sections?.newsletter!==!1?(n(),M(ge,{key:7})):d("",!0),e(s).sections?.faq!==!1?(n(),M(he,{key:8,items:e(ie)},null,8,["items"])):d("",!0)])}}}),Xs=Be(Rs,[["__scopeId","data-v-b603e093"]]);export{Xs 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.