PageSourceSearch

https://dumaszinhaz.hu/_nuxt/DBxfxOGv.js

js dumaszinhaz.hu collected 2026-10-02 12:13:59 UTC 121,033 bytes, 2 lines download raw bytes

1import{a as Ye}from"./Wt0hH5oR.js";import{be as Se,bf as Re,aN as t,aQ as v,aZ as u,a_ as ne,aT as r,bi as A,aO as a,bo as M,bp as p,aR as g,bj as z,bk as O,bx as te,ba as ze,aP as l,a$ as je,aS as T,bq as pe,aL as R,bs as se,bd as o,bm as ae,aM as re,aU as ie,aK as Le,bz as ce,b2 as E,b7 as ge,bv as Ge,br as Q,bA as qe,bu as he,bB as We,b5 as Ee,bC as Ke,bD as Je,bE as Qe,b4 as Me,bn as Xe,bF as Ze,bG as et,by as ve,bH as tt,bI as lt,aX as nt,bJ as at,bc as st,bK as ot,bL as rt}from"./Cqk3pRhH.js";import{_ as G}from"./JQiM5LNJ.js";import{_ as xe,a as He}from"./BbI_DlE9.js";import{_ as Te,a as it}from"./7QVvvfgx.js";import{_ as ct}from"./hF9NWZtu.js";import{_ as De}from"./Druw97Lx.js";import{_ as dt}from"./B6pROaQo.js";import{_ as ut}from"./1Wy95EKb.js";import{_ as fe,a as ye}from"./CA4lo8wY.js";import{a as Ne,b as mt,c as pt,g as gt,d as Pe}from"./mPs3R0Yu.js";import{u as ft}from"./B0CU8krC.js";import{_ as _t}from"./DoC7MPWj.js";import{o as be,b as $e,s as P,u as we,_ as ke,c as Ve,e as Ce,n as ht,d as vt}from"./RzpcNsIW.js";import{$ as xt,_ as Ie,a as me,b as Ue,c as Ae}from"./BuxHThls.js";import{b as yt}from"./DoPufmDW.js";import{a as bt}from"./-1W8u1AP.js";import{u as $t}from"./UVym7qDE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"1441be03e904265f37f6ee38a33586c9165ab26b"},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=(function(d){for(var n=1;n<arguments.length;n++){var f=arguments[n];if(f!=null)for(var s in f)f.hasOwnProperty(s)&&(d[s]=f[s])}return d})({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:dumaszinhaz-frontend":!0});var i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="5a9622b0-8587-4762-9eaa-c252fa66c49c",e._sentryDebugIdIdentifier="sentry-dbid-5a9622b0-8587-4762-9eaa-c252fa66c49c")}catch{}})();const wt={slots:{root:"relative isolate",container:"flex flex-col lg:grid py-24 sm:py-32 lg:py-40 gap-16 sm:gap-y-24",wrapper:"",header:"",headline:"mb-4",title:"text-5xl sm:text-7xl text-pretty tracking-tight font-bold text-highlighted",description:"text-lg sm:text-xl/8 text-muted",body:"mt-10",footer:"mt-10",links:"flex flex-wrap gap-x-6 gap-y-3"},variants:{orientation:{horizontal:{container:"lg:grid-cols-2 lg:items-center",description:"text-pretty"},vertical:{container:"",headline:"justify-center",wrapper:"text-center",description:"text-balance",links:"justify-center"}},reverse:{true:{wrapper:"order-last"}},headline:{true:{headline:"font-semibold text-primary flex items-center gap-1.5"}},title:{true:{description:"mt-6"}}}},kt={key:2,class:"hidden lg:block"},Vt={__name:"UPageHero",props:{as:{type:null,required:!1},headline:{type:String,required:!1},title:{type:String,required:!1},description:{type:String,required:!1},links:{type:Array,required:!1},orientation:{type:null,required:!1,default:"vertical"},reverse:{type:Boolean,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1}},setup(e){const i=e,d=Se(),n=Re(),f=T(()=>pe({extend:pe(wt),...n.ui?.pageHero||{}})({orientation:i.orientation,reverse:i.reverse,title:!!i.title||!!d.title}));return(s,c)=>(t(),v(l(je),{as:e.as,"data-orientation":e.orientation,"data-slot":"root",class:A(f.value.root({class:[i.ui?.root,i.class]}))},{default:u(()=>[ne(s.$slots,"top"),r(G,{"data-slot":"container",class:A(f.value.container({class:i.ui?.container}))},{default:u(()=>[d.header||e.headline||d.headline||e.title||d.title||e.description||d.description||d.body||d.footer||e.links?.length||d.links?(t(),a("div",{key:0,"data-slot":"wrapper",class:A(f.value.wrapper({class:i.ui?.wrapper}))},[d.header||e.headline||d.headline||e.title||d.title||e.description||d.description?(t(),a("div",{key:0,"data-slot":"header",class:A(f.value.header({class:i.ui?.header}))},[ne(s.$slots,"header",{},()=>[e.headline||d.headline?(t(),a("div",{key:0,"data-slot":"headline",class:A(f.value.headline({class:i.ui?.headline,headline:!d.headline}))},[ne(s.$slots,"headline",{},()=>[M(p(e.headline),1)])],2)):g("",!0),e.title||d.title?(t(),a("h1",{key:1,"data-slot":"title",class:A(f.value.title({class:i.ui?.title}))},[ne(s.$slots,"title",{},()=>
1[M(p(e.title),1)])],2)):g("",!0),e.description||d.description?(t(),a("div",{key:2,"data-slot":"description",class:A(f.value.description({class:i.ui?.description}))},[ne(s.$slots,"description",{},()=>[M(p(e.description),1)])],2)):g("",!0)])],2)):g("",!0),d.body?(t(),a("div",{key:1,"data-slot":"body",class:A(f.value.body({class:i.ui?.body}))},[ne(s.$slots,"body")],2)):g("",!0),d.footer||e.links?.length||d.links?(t(),a("div",{key:2,"data-slot":"footer",class:A(f.value.footer({class:i.ui?.footer}))},[ne(s.$slots,"footer",{},()=>[e.links?.length||d.links?(t(),a("div",{key:0,"data-slot":"links",class:A(f.value.links({class:i.ui?.links}))},[ne(s.$slots,"links",{},()=>[(t(!0),a(z,null,O(e.links,(x,h)=>(t(),v(te,ze({key:h,size:"xl"},{ref_for:!0},x),null,16))),128))])],2)):g("",!0)])],2)):g("",!0)],2)):g("",!0),d.default?ne(s.$slots,"default",{},void 0,void 0,1):e.orientation==="horizontal"?(t(),a("div",kt)):g("",!0)]),_:3},8,["class"]),ne(s.$slots,"bottom")]),_:3},8,["as","data-orientation","class"]))}},Ct={class:"lg:rounded-b-4xl rounded-b-3xl overflow-hidden"},Ft=["src","alt"],qt=["src","alt"],Tt=R({__name:"Hero",props:{items:{}},setup(e){const{$stripTags:i}=se(),d=n=>n.map((f,s)=>({label:f.title,to:f.link,color:s===0?"primary":"neutral",variant:s===0?"solid":"outline"}));return(n,f)=>{const s=Vt,c=xe;return t(),a("div",Ct,[r(c,{arrows:e.items.length>1,loop:e.items.length>1,"wheel-gestures":e.items.length>1,prev:{variant:"solid"},next:{variant:"solid"},items:e.items,ui:{item:"basis-full ps-0 w-full",container:"ms-0"},"watch-drag":e.items.length>1},{default:u(({item:x})=>
1[r(s,{title:x.title,description:l(i)(x.content||""),links:d(x.buttons)},{default:u(()=>[x.mobile_image?(t(),a("img",{key:0,src:x.mobile_image.url,alt:x.mobile_image.alt||x.title,class:"absolute bottom-0 right-0 w-full h-full object-cover -z-1 md:hidden"},null,8,Ft)):g("",!0),x.image?(t(),a("img",{key:1,src:x.image.url,alt:x.image.alt||x.title,class:A(["absolute bottom-0 right-0 w-full h-full object-cover -z-1",{"hidden md:block":x.mobile_image}])},null,10,qt)):g("",!0)]),_:2},1032,["title","description","links"])]),_:1},8,["arrows","loop","wheel-gestures","items","watch-drag"])])}}}),Bt=Object.assign(Tt,{__name:"BlockHero"}),zt={key:0,class:"w-full lg:flex-1 lg:rounded-lg rounded-t-lg overflow-hidden"},Ut=["srcset"],St=["src","alt"],Rt={class:"w-full lg:flex-1 flex flex-col lg:gap-10 gap-4 lg:px-12 lg:py-6"},jt={class:"flex flex-col gap-1 text-neutral-900 dark:text-white"},It={class:"text-2xl lg:text-2xl font-extrabold leading-8 mb-6"},Pt=["innerHTML"],Ot={key:0,class:"flex flex-wrap gap-3"},Lt=R({__name:"TextWithImage",props:{items:{}},setup(e){const{$sanitize:i}=se();return(d,n)=>{const f=te,s=G;return t(),v(s,{class:"lg:mb-10 mb-6"},{default:u(()=>[(t(!0),a(z,null,O(e.items,(c,x)=>(t(),a("div",{key:x,class:A(["flex gap-6 items-center",c.text_left?"flex-col lg:flex-row-reverse":"flex-col lg:flex-row"])},[c.image?(t(),a("div",zt,[o("picture",null,[c.mobile_image?(t(),a("source",{key:0,srcset:c.mobile_image.url,media:"(max-width: 767px)"},null,8,Ut)):g("",!0),c.image?(t(),a("img",{key:1,src:c.image.url,alt:c.image.alt||c.title,class:"w-full h-full object-cover"},null,8,St)):g("",!0)])])):g("",!0),o("div",Rt,[o("div",jt,[o("h2",It,p(c.title),1),o("div",{class:"text-base font-normal leading-6 whitespace-pre-line editor-content",innerHTML:l(i)(c.content)},null,8,Pt)]),c.buttons.length>0?(t(),a("div",Ot,[(t(!0),a(z,null,O(c.buttons,(h,b)=>(t(),v(f,{key:b,to:h.link,color:b===0?"primary":"neutral",variant:b===0?"solid":"outline",size:"xl","trailing-icon":"i-lucide-arrow-right",class:"rounded-full font-bold"},{default:u(()=>[M(p(h.title),1)]),_:2},1032,["to","color","variant"]))),128))])):g("",!0)])],2))),128))]),_:1})}}}),Et=Object.assign(Lt,{__name:"BlockTextWithImage"}),Mt={class:"lg:flex-1 h-48 lg:h-auto"},Ht={class:"w-full h-full"},Dt=["srcset"],Nt=["src","alt"],At={class:"lg:flex-1 bg-green-600 flex flex-col gap-4 lg:p-12 p-4"},Yt={class:"flex flex-col gap-2 lg:gap-6 text-white"},Gt={class:"lg:text-4xl text-3xl font-extrabold leading-9"},Wt=["innerHTML"],Kt={key:0,class:"flex flex-wrap gap-3"},Jt=R({__name:"CarbonCleanBanner",props:{items:{}},setup(e){const{$sanitize:i}=se();return(d,n)=>{const f=te,s=G;return t(),v(s,{class:"lg:mb-10 mb-6"},{default:u(()=>[(t(!0),a(z,null,O(e.items,(c,x)=>(t(),a("div",{key:x,class:"flex flex-col lg:flex-row rounded-lg overflow-hidden"},[o("div",Mt,[o("picture",Ht,[c.mobile_image?(t(),a("source",{key:0,srcset:c.mobile_image.url,media:"(max-width: 767px)"},null,8,Dt)):g("",!0),c.image?(t(),a("img",{key:1,src:c.image.url,alt:c.image.alt||c.title,class:"w-full h-full object-cover"},null,8,Nt)):g("",!0)])]),o("div",At,[o("div",Yt,[o("h2",Gt,p(c.title),1),o("div",{class:"text-base font-normal leading-6 [&_p]:m-0",innerHTML:l(i)(c.content)},null,8,Wt)]),c.buttons.length>0?(t(),a("div",Kt,[(t(!0),a(z,null,O(c.buttons,(h,b)=>(t(),v(f,{key:b,to:h.link,color:"neutral",variant:"link",size:"xl","trailing-icon":"i-lucide-arrow-right",ui:{trailingIcon:"text-lime-400"},class:"text-white font-medium px-0 hover:text-white/80"},{default:u(()=>[M(p(h.title),1)]),_:2},1032,["to"]))),128))])):g("",!0)])]))),128))]),_:1})}}}),Qt=Object.assign(Jt,{__name:"BlockCarbonCleanBanner"}),Xt={class:"lg:mb-10 mb-6"},Zt=["srcset"],el=["src","alt"],tl={class:"relative flex flex-col items-center text-center md:items-start md:text-left gap-8 md:gap-10 py-10 md:py-16 md:max-w-[564px]"},ll={class:"flex flex-col gap-4 md:gap-6 text-white w-full"},nl={class:"text-3xl md:text-4xl font-extrabold leading-9 md:leading-10"},al=["innerHTML"],sl={key:0,class:"flex flex-wrap gap-4"},ol=R({__name:"ActorsBanner",props:{items:{}},setup(e){const{$sanitize:i}=se();return(d,n)=>{const f=te,s=G;return t(),a("div",Xt,[(t(!0),a(z,null,O(e.items,(c,x)=>(t(),a("div",{key:x,class:"relative overflow-hidden md:mx-0 sm:mx-6 mx-4 rounded-lg md:rounded-none"},[o("picture",null,[c.mobile_image?(t(),a("source",{key:0,srcset:c.mobile_image.url,media:"(max-width: 767px)"},null,8,Zt)):g("",!0),c.image?(t(),a("img",{key:1,src:c.image.url,alt:c.image.alt||c.title,class:"absolute inset-0 w-full h-full object-cover"},null,8,el)):g("",!0)]),n[0]||(n[0]=o("div",{class:"absolute inset-0 bg-[rgba(15,23,43,0.6)] md:bg-[rgba(15,23,43,0.8)]"},null,-1)),r(s,null,{default:u(()=>[o("div",tl,[o("div",ll,[o("h2",nl,p(c.title),1),o("div",{class:"text-base font-normal leading-6 [&_p]:m-0",innerHTML:l(i)(c.content)},null,8,al)]),c.buttons.length>0?(t(),a("div",sl,[(t(!0),a(z,null,O(c.buttons,(h,b)=>(t(),v(f,{key:b,to:h.link,color:b===0?"primary":"neutral",variant:b===0?"solid":"outline",size:"xl",class:"rounded-full font-bold"},{default:u(()=>[M(p(h.title),1)]),_:2},1032,["to","color","variant"]))),128))])):g("",!0)])]),_:2},1024)]))),128))])}}}),rl=Object.assign(ol,{__name:"BlockActorsBanner"}),il={class:"hidden lg:block pt-20"},cl={class:"relative rounded-lg flex items-end overflow-visible"},dl={class:"flex flex-col gap-10 py-14 pl-16 pr-8 flex-1"},ul={class:"flex flex-col gap-6 text-neutral-900 dark:text-white"},ml={class:"text-4xl font-extrabold leading-10"},pl=["innerHTML"],gl={key:0,class:"flex flex-wrap gap-4"},fl={class:"flex-none w-[398px]"},_l=["src","alt"],hl={class:"lg:hidden relative overflow-hidden rounded-lg flex flex-col items-center justify-center gap-8 px-6 py-10 bg-brand"},vl={key:0,class:"absolute inset-0 overflow-hidden"},xl=["src","alt"],yl={class:"relative flex flex-col gap-4 text-white text-center w-full"},bl={class:"text-3xl font-extrabold leading-9"},$l=["innerHTML"],wl={key:1,class:"relative flex flex-wrap gap-4"},kl=R({__name:"CtaBanner",props:{items:{}},setup(e){const{$sanitize:i}=se();return(d,n)=>{const f=te,s=G;return t(),v(s,{class:"lg:mb-0 mb-6"},{default:u(()=>[(t(!0),a(z,null,O(e.items,(c,x)=>(t(),a("div",{key:x},[o("div",il,[o("div",cl,[o("div",dl,[o("div",ul,[o("h2",ml,p(c.title),1),o("div",{class:"text-base font-normal leading-6 [&_p]:m-0",innerHTML:l(i)(c.content)},null,8,pl)]),c.buttons.length>0?(t(),a("div",gl,[(t(!0),a(z,null,O(c.buttons,(h,b)=>(t(),v(f,{key:b,to:h.link,color:b===0?"primary":"neutral",variant:b===0?"solid":"outline",size:"xl"},{default:u(()=>[M(p(h.title),1)]),_:2},1032,["to","color","variant"]))),128))])):g("",!0)]),o("div",fl,[c.image?(t(),a("img",{key:0,src:c.image.url,alt:c.image.alt||c.title,class:"w-full h-[376px] object-contain object-bottom"},null,8,_l)):g("",!0)])])]),o("div",hl,[c.mobile_image||c.image?(t(),a("div",vl,[o("img",{src:(c.mobile_image||c.image).url,alt:(c.mobile_image||c.image).alt||c.title,class:"absolute top-0 left-0 w-auto h-full object-cover"},null,8,xl)])):g("",!0),o("div",yl,[o("h2",bl,p(c.title),1),o("div",{class:"text-base font-normal leading-6 [&_p]:m-0",innerHTML:c.content},null,8,$l)]),c.buttons.length>0?(t(),a("div",wl,[(t(!0),a(z,null,O(c.buttons,(h,b)=>(t(),v(f,{key:b,to:h.link,variant:"solid",color:"neutral",size:"xl",class:"relative z-10 rounded-full bg-white text-slate-900 hover:bg-slate-100 font-medium"},{default:u(()=>[M(p(h.title),1)]),_:2},1032,["to"]))),128))])):g("",!0)])]))),128))]),_:1})}}}),Vl=Object.assign(kl,{__name:"BlockCtaBanner"}),Cl={class:"bg-white dark:bg-slate-800 border border-slate-200 dark:border-slate-700 flex flex-col items-start overflow-hidden rounded-t-2xl rounded-b-lg w-full"}
1,Fl={class:"relative w-full aspect-310/174 shrink-0"},ql=["src","alt"],Tl={key:1,class:"w-full h-full bg-slate-200 dark:bg-slate-700"},Bl={class:"flex flex-col gap-2 p-4 w-full"},zl={class:"text-2xl font-extrabold text-slate-900 dark:text-white leading-8 truncate"},Ul={class:"flex flex-col text-sm w-full"},Sl={class:"font-medium text-slate-500 dark:text-slate-400"},Rl=["href"],jl=["href"],Il=R({__name:"Card",props:{colleague:{}},setup(e){const i=n=>n.contacts.find(f=>f.type==="email"),d=n=>n.contacts.find(f=>f.type==="linkedin");return(n,f)=>{const s=ae;return t(),a("div",Cl,[o("div",Fl,[e.colleague.thumbnail?(t(),a("img",{key:0,src:e.colleague.thumbnail,alt:e.colleague.name,class:"w-full object-cover aspect-310/174"},null,8,ql)):(t(),a("div",Tl))]),o("div",Bl,[o("p",zl,p(e.colleague.name),1),o("div",Ul,[o("p",Sl,p(e.colleague.position),1),i(e.colleague)?(t(),a("a",{key:0,href:`mailto:${i(e.colleague).value}`,class:"font-bold text-primary-500 whitespace-nowrap hover:underline"},p(i(e.colleague).value),9,Rl)):g("",!0)]),d(e.colleague)?(t(),a("a",{key:0,href:d(e.colleague).value,target:"_blank",rel:"noopener noreferrer","aria-label":"LinkedIn"},[r(s,{name:"i-simple-icons-linkedin",class:"w-6 h-6 text-primary-500 hover:text-primary-500 transition-colors"})],8,jl)):g("",!0)])])}}}),Pl=Object.assign(Il,{__name:"ColleagueCard"}),Ol={key:0,class:"grid xl:grid-cols-4 lg:grid-cols-3 sm:grid-cols-2 grid-cols-1 gap-6"},Ll={key:1,class:"flex flex-col items-center justify-center py-20"},El={class:"text-2xl font-bold text-slate-900"},Ml=R({__name:"List",props:{colleagues:{}},setup(e){return(i,d)=>{const n=Pl,f=G;return t(),v(f,{class:"flex lg:pb-14 pb-6 flex-col gap-6"},{default:u(()=>[e.colleagues.length>0?(t(),a("div",Ol,[(t(!0),a(z,null,O(e.colleagues,s=>(t(),v(n,{key:s.id,colleague:s},null,8,["colleague"]))),128))])):(t(),a("div",Ll,[o("h2",El,p(i.$t("filters.noResultsFound")),1)]))]),_:1})}}}),Hl=Object.assign(Ml,{__name:"ColleagueList"}),Dl={class:"text-4xl lg:text-5xl font-bold text-slate-900 mb-6 dark:text-white"},Nl={key:0,class:"w-full h-[272px] rounded-lg overflow-hidden bg-slate-900 mb-6"},Al=["src"],Yl=R({__name:"Colleagues",props:{title:{},heroImage:{},colleagues:{}},setup(e){return(i,d)=>{const n=G,f=Hl;return t(),a("div",null,[r(n,null,{default:u(()=>[o("h1",Dl,p(e.title),1),e.heroImage?(t(),a("div",Nl,[o("img",{src:e.heroImage,alt:"",class:"w-full h-full object-cover","aria-hidden":"true"},null,8,Al)])):g("",!0)]),_:1}),r(f,{colleagues:e.colleagues},null,8,["colleagues"])])}}}),Gl=Object.assign(Yl,{__name:"BlockColleagues"}),Wl=["id"],Kl={class:"flex items-center justify-between mb-6"},Jl={class:"text-4xl font-bold text-slate-900 dark:text-white"},Ql={key:0,class:"flex justify-center py-16"},Xl={key:1,class:"grid xl:grid-cols-4 lg:grid-cols-3 md:grid-cols-2 grid-cols-1 gap-4"},Zl={key:2,class:"flex items-center justify-center mt-10"},Oe=8,en=R({__name:"ProgramCategoryEvents",props:{category:{},tag:{},events:{},totalEvents:{}},setup(e){const{t:i}=re(),d=e,n=ie(),{locale:f}=re(),{public:{apiBase:s}}=Le(),c=ce("sectionEl"),x=E(1),h=E(d.events),b=E(!1),B=T(()=>d.category?`program-category-events-${d.category.id}`:`program-tag-events-${d.tag?.id}`),I=T(()=>`${d.category?.name??d.tag?.name} ${i("events")}`),V=T(()=>d.totalEvents>Oe);async function $(w){if(w===1){h.value=d.events;return}b.value=!0;try{const U=d.category?`/program-categories/${d.category.id}/events`:`/tags/${d.tag?.id}/events`,H=await $fetch(U,{baseURL:s,params:{page:w},headers:{Accept:"application/json","Accept-Language":f.value}});h.value=H.data}finally{b.value=!1}}return ge(x,async w=>{await $(w),c.value?.scrollIntoView({behavior:"smooth"})}),(w,U)=>{const H=te,X=Ge,L=De,ee=dt,F=G;return t(),a("section",{id:l(B),ref_key:"sectionEl",ref:c,class:"pb-4 lg:pb-6"},[r(F,null,{default:u(()=>[o("div",Kl,[o("h2",Jl,p(l(I)),1),e.category?(t(),v(H,{key:0,to:l(n)({name:"events",query:{quick_filter:e.category.name}}),variant:"ghost",color:"primary","trailing-icon":"i-heroicons-arrow-right"},{default:u(()=>[M(p(l(i)("viewMore")),1)]),_:1},8,["to"])):g("",!0)]),l(b)?(t(),a("div",Ql,[r(X,{indeterminate:""})])):(t(),a("div",Xl,[(t(!0),a(z,null,O(l(h),C=>(t(),v(L,{key:C.slug,class:"h-full",event:C},null,8,["event"]))),128))])),l(V)?(t(),a("div",Zl,[r(ee,{page:l(x),"onUpdate:page":U[0]||(U[0]=C=>Q(x)?x.value=C:null),"show-edges":"","sibling-count":1,"items-per-page":Oe,color:"primary",variant:"ghost",ui:{prev:"text-neutral-700 dark:text-white",next:"text-neutral-700 dark:text-white",f
1irst:"text-neutral-700 dark:text-white",last:"text-neutral-700 dark:text-white"},total:e.totalEvents},null,8,["page","total"])])):g("",!0)]),_:1})],8,Wl)}}}),tn=Object.assign(en,{__name:"BlockProgramCategoryEvents"}),ln={class:"text-4xl font-bold text-slate-900 dark:text-white mb-6"},nn={class:"grid xl:grid-cols-4 lg:grid-cols-3 md:grid-cols-2 gap-4"},an=R({__name:"ProgramCategoryActors",props:{title:{},category:{},tag:{},actors:{}},setup(e){const i=ie();return(d,n)=>{const f=ut,s=G;return t(),v(s,null,{default:u(()=>[o("h2",ln,p(e.title),1),o("div",nn,[(t(!0),a(z,null,O(e.actors,c=>(t(),v(f,{key:c.id,name:`${c.last_name} ${c.first_name}`,image:c.images[0]?.url,"about-url":l(i)({name:"performers-slug",params:{slug:c.slug}}),"performances-url":l(i)({name:"events",query:{actor:c.id.toString()}})},null,8,["name","image","about-url","performances-url"]))),128))])]),_:1})}}}),sn=Object.assign(an,{__name:"BlockProgramCategoryActors"}),on={class:"bg-white dark:bg-slate-800 border border-slate-200 dark:border-slate-700 flex flex-col overflow-hidden rounded-t-[8px] rounded-b-[32px]"},rn={class:"relative w-full aspect-[310/174] shrink-0"},cn=["src","alt"],dn={class:"flex flex-col gap-2 p-4 flex-1"},un={key:0,class:"text-sm text-gray-950 font-bold dark:text-gray-50"},mn={class:"text-[18px] font-bold text-slate-900 dark:text-white leading-6 line-clamp-2"},pn={class:"mt-auto pt-2"},gn=R({__name:"Card",props:{recommendation:{}},setup(e){const i=qe("timezone",()=>"Europe/Budapest");return(d,n)=>{const f=te;return t(),a("div",on,[o("div",rn,[e.recommendation.image?(t(),a("img",{key:0,src:e.recommendation.image,alt:e.recommendation.name,class:"absolute inset-0 w-full h-full object-cover"},null,8,cn)):g("",!0),n[0]||(n[0]=o("div",{class:"absolute inset-0 bg-black/5"},null,-1))]),o("div",dn,[e.recommendation.date_from?(t(),a("p",un,p(("formatDateToLocaleFromLocal"in d?d.formatDateToLocaleFromLocal:l(Ne))(e.recommendation.date_from,l(i))),1)):g("",!0),o("p",mn,p(e.recommendation.name),1),o("div",pn,[e.recommendation.url?(t(),v(f,{key:0,to:e.recommendation.url,color:"secondary",variant:"outline",size:"lg",class:"w-full justify-center rounded-full",target:"_blank",rel:"noopener noreferrer"},{default:u(()=>[M(p(d.$t("details")),1)]),_:1},8,["to"])):g("",!0)])])])}}}),fn=Object.assign(gn,{__name:"RecommendationCard"}),_n={class:"text-4xl font-extrabold text-slate-900 dark:text-white mb-6"},hn={class:"hidden lg:flex border-b border-slate-200 w-full mb-10"},vn=["onClick"],xn={class:"lg:hidden mb-6"},yn={class:"text-sm text-muted"},bn={key:1,class:"grid grid-cols-1 lg:grid-cols-4 gap-6"},$n=R({__name:"Recommendations",props:{title:{},categories:{}},setup(e){const i=e,d=E(0),n=T(()=>i.categories[d.value]??null),f=T(()=>i.categories.map((c,x)=>({label:c.name,value:x}))),s=T({get:()=>f.value[d.value],set:c=>{c&&(d.value=c.value)}});return(c,x)=>{const h=fe,b=fn,B=G;return t(),v(B,{class:"py-14"},{default:u(()=>[o("h2",_n,p(e.title),1),e.categories.length>1?(t(),a(z,{key:0},[o("div",hn,[(t(!0),a(z,null,O(e.categories,(I,V)=>(t(),a("button",{key:I.id,type:"button",class:A(["flex-1 pb-1 text-sm font-medium transition-colors whitespace-nowrap px-2",l(d)===V?"text-primary border-b-2 border-primary -mb-px":"text-slate-500 hover:text-slate-700"]),onClick:$=>d.value=V},p(I.name),11,vn))),128))]),o("div",xn,[r(h,{modelValue:l(s),"onUpdate:modelValue":x[0]||(x[0]=I=>Q(s)?s.value=I:null),items:l(f),class:"w-full","search-input":{placeholder:c.$t("filters.selectSearch")},ui:{base:"rounded-lg px-6 py-3 text-base font-medium !ring-1 !ring-inset !ring-neutral-950 dark:!ring-neutral-600"}},{empty:u(()=>[o("span",yn,p(c.$t("filters.noResultsFound")),1)]),_:1},8,["modelValue","items","search-input"])])],64)):g("",!0),l(n)?(t(),a("div",bn,[(t(!0),a(z,null,O(l(n).recommendations,I=>(t(),v(b,{key:I.id,recommendation:I},null,8,["recommendation"]))),128))])):g("",!0)]),_:1})}}}),wn=Object.assign($n,{__name:"BlockRecommendations"}),kn=R({__name:"RelatedEvents",props:{title:{},events:{}},setup(e){const i=ie();return(d,n)=>{const f=De,s=He,c=G;return t(),v(c,null,{default:u(()=>[r(s,{items:e.events,title:e.title,"view-more":{title:d.$t("viewMore"),url:l(i)({name:"events"})}},{default:u(({item:x})=>[r(f,{class:"h-full",event:x},null,8,["event"])]),_:1},8,["items","title","view-more"])]),_:1})}}}),Vn=Object.assign(kn,{__name:"BlockRelatedEvents"}),Cn={class:"rounded-lg relative flex flex-col overflow-clip border bg-white dark:bg-neutral-800 border-neutral-200 dark:border-neutral-800"},Fn=["src","alt"],qn={class:"flex flex-col gap-2 p-4 text-sm grow"}
1,Tn={class:"text-lg font-bold text-neutral-950 dark:text-white grow"},Bn={class:"text-sm text-gray-500 dark:text-gray-300"},zn={class:"text-gray-500 dark:text-gray-300"},Un={class:"grid grid-cols-1 gap-2 sm:grid-cols-2 z-10 relative"},Sn=R({__name:"Card",props:{program:{}},setup(e){const i=e,d=ie(),{performerOrderSlug:n}=ft(),f=T(()=>i.program.actors.map(x=>`${x.last_name} ${x.first_name}`).join(", ")),s=T(()=>d({name:"recommended-programs-slug",params:{slug:i.program.slug}})),c=()=>{const x=document.getElementById("performer-order-form");if(!x){We(`${n.value}`);return}const h=Number.parseInt(getComputedStyle(document.documentElement).getPropertyValue("--ui-header-height"),10)||0,b=x.getBoundingClientRect().top+window.scrollY-h;window.scrollTo({top:b,behavior:"smooth"})};return(x,h)=>{const b=he,B=te;return t(),a("div",Cn,[r(b,{to:l(s),class:"absolute inset-0 w-full h-full"},null,8,["to"]),e.program.cover_image_url?(t(),a("img",{key:0,src:e.program.cover_image_url,alt:e.program.name||"",class:"object-cover"},null,8,Fn)):g("",!0),o("div",qn,[o("p",Tn,p(e.program.name),1),o("p",Bn,p(e.program.short_description),1),o("p",zn,p(l(f)),1),o("div",Un,[r(B,{to:l(s),color:"secondary",variant:"outline",size:"lg",ui:{base:"text-base font-medium justify-center"}},{default:u(()=>[M(p(x.$t("details")),1)]),_:1},8,["to"]),r(B,{ui:{base:"text-base font-bold justify-center"},color:"primary",size:"lg",onClick:c},{default:u(()=>[M(p(x.$t("recommendedPrograms.order")),1)]),_:1})])])])}}}),Rn=Object.assign(Sn,{__name:"RecommendedProgramCard"}),jn={class:"text-4xl font-extrabold text-slate-900 dark:text-white lg:mb-8 mb-6"},In={class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6"},Pn=R({__name:"RecommendedProgramsForEvents",props:{title:{},recommended_programs:{}},setup(e){return(i,d)=>{const n=Rn,f=G;return t(),v(f,{class:"lg:mb-10 mb-6"},{default:u(()=>[o("h2",jn,p(e.title),1),o("div",In,[(t(!0),a(z,null,O(e.recommended_programs,s=>(t(),v(n,{key:s.id,program:s},null,8,["program"]))),128))])]),_:1})}}}),On=Object.assign(Pn,{__name:"BlockRecommendedProgramsForEvents"}),Ln={class:"flex flex-col gap-2 rounded-lg border border-default bg-default md:p-6 p-4 text-base text-highlighted"},En={key:0,class:"font-bold"},Mn=["innerHTML"],Hn=R({__name:"TextCard",props:{title:{},text:{}},setup(e){const{$sanitize:i}=se();return(d,n)=>(t(),a("div",Ln,[e.title?(t(),a("p",En,p(e.title),1)):g("",!0),e.text?(t(),a("div",{key:1,class:"prose info-cards-text prose-sm max-w-none",innerHTML:l(i)(e.text)},null,8,Mn)):g("",!0)]))}}),Dn=Object.assign(Hn,{__name:"InfoCardsTextCard"}
1),Nn={class:"flex flex-col gap-4 rounded-lg border border-default bg-default p-6 text-base text-highlighted"},An={key:0},Yn={key:1,class:"flex flex-col gap-4"},Gn={class:"text-sm font-bold"},Wn={key:2,class:"flex flex-wrap gap-x-4 gap-y-2"},Kn=R({__name:"IconCard",props:{title:{},items:{}},setup(e){return(i,d)=>{const n=ae;return t(),a("div",Nn,[e.title?(t(),a("p",An,p(e.title),1)):g("",!0),e.items.some(f=>f.icon)?(t(),a("div",Yn,[(t(!0),a(z,null,O(e.items,(f,s)=>(t(),a("div",{key:s,class:"flex items-start gap-2"},[f.icon?(t(),v(n,{key:0,name:`i-lucide-${f.icon}`,class:"size-6 shrink-0",style:Ee(f.icon_color?{color:f.icon_color}:{})},null,8,["name","style"])):g("",!0),o("span",Gn,p(f.text),1)]))),128))])):(t(),a("div",Wn,[(t(!0),a(z,null,O(e.items,(f,s)=>(t(),a("span",{key:s,class:"text-sm font-bold"},p(f.text),1))),128))]))])}}}),Jn=Object.assign(Kn,{__name:"InfoCardsIconCard"}),Qn={class:"flex flex-col gap-6"},Xn={key:0,class:"flex flex-col gap-2"},Zn={key:1,class:"text-base text-gray-500 dark:text-gray-400"},ea={key:1,class:"text-base text-highlighted"},ta={key:2,class:"grid grid-cols-1 gap-4 md:gap-6 md:grid-cols-2 lg:grid-cols-3"},la=R({__name:"InfoCards",props:{title:{},titleLarge:{type:Boolean},subtitle:{},infoText:{},cards:{}},setup(e){return(i,d)=>{const n=Dn,f=Jn,s=G;return t(),v(s,{class:"lg:mb-10 mb-6"},{default:u(()=>[o("div",Qn,[e.title||e.subtitle?(t(),a("div",Xn,[e.title?(t(),a("h2",{key:0,class:A(e.titleLarge?"text-4xl font-bold text-highlighted lg:text-5xl":"text-2xl font-bold text-highlighted lg:text-3xl")},p(e.title),3)):g("",!0),e.subtitle?(t(),a("p",Zn,p(e.subtitle),1)):g("",!0)])):g("",!0),e.infoText?(t(),a("p",ea,p(e.infoText),1)):g("",!0),e.cards.length?(t(),a("div",ta,[(t(!0),a(z,null,O(e.cards,(c,x)=>(t(),a(z,{key:x},[c.type==="text_card"?(t(),v(n,{key:0,title:c.data.title,text:c.data.text},null,8,["title","text"])):c.type==="icon_card"?(t(),v(f,{key:1,title:c.data.title,items:c.data.items},null,8,["title","items"])):g("",!0)],64))),128))])):g("",!0)])]),_:1})}}}),na=Object.assign(la,{__name:"BlockInfoCards"}),aa={key:0,class:"aspect-310/178 w-full overflow-hidden rounded-lg"},sa=["src","alt"],oa={key:1,class:"flex flex-col gap-1 p-4"},ra={key:0,class:"text-2xl font-extrabold text-highlighted"},ia={key:1,class:"text-base text-muted"},ca=R({__name:"CardListItem",props:{item:{}},setup(e){return(i,d)=>(t(),v(Ke(e.item.url?"a":"div"),{href:e.item.url??void 0,class:A(["flex flex-col overflow-hidden rounded-lg w-full",{"hover:opacity-90 transition-opacity":e.item.url}])},{default:u(()=>[e.item.thumbnail?(t(),a("div",aa,[o("img",{src:e.item.thumbnail,alt:e.item.title??void 0,class:"w-full h-full object-cover"},null,8,sa)])):g("",!0),e.item.title||e.item.description?(t(),a("div",oa,[e.item.title?(t(),a("p",ra,p(e.item.title),1)):g("",!0),e.item.description?(t(),a("p",ia,p(e.item.description),1)):g("",!0)])):g("",!0)]),_:1},8,["href","class"]))}}),da=Object.assign(ca,{__name:"BlockCardListItem"}),ua={key:0,class:"flex items-center gap-6 mb-6"},ma={key:0,class:"flex-1 text-3xl lg:text-4xl font-extrabold text-highlighted"},pa={key:1,class:"hidden lg:flex gap-2 shrink-0 ml-auto"},ga={key:2,class:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-6"},fa=R({__name:"CardList",props:{title:{},carousel:{type:Boolean},items:{}},setup(e){const i=ce("carouselRef");function d(){i.value?.emblaApi?.scrollPrev()}function n(){i.value?.emblaApi?.scrollNext()}return(f,s)=>{const c=te,x=da,h=xe,b=G;return t(),v(b,{class:"py-10 lg:py-14"},{default:u(()=>[e.title||e.carousel?(t(),a("div",ua,[e.title?(t(),a("h2",ma,p(e.title),1)):g("",!0),e.carousel?(t(),a("div",pa,[r(c,{color:"secondary",variant:"outline",icon:"i-lucide-arrow-left",class:"rounded-full size-14 justify-center",onClick:d}),r(c,{color:"secondary",variant:"outline",icon:"i-lucide-arrow-right",class:"rounded-full size-14 justify-center",onClick:n})])):g("",!0)])):g("",!0),e.carousel?(t(),v(h,{key:1,ref_key:"carouselRef",ref:i,items:e.items,"watch-drag":!0,ui:{item:"basis-[88%] sm:basis-1/2 lg:basis-1/4 pe-4",container:"items-stretch",dot:"bg-neutral-900/20 data-[state=active]:bg-primary w-2 h-2"},breakpoints:{"(min-width: 640px)":{slidesToScroll:2},"(min-width: 1024px)":{slidesToScroll:3}},dots:""},{default:u(({item:B})=>[r(x,{item:B},null,8,["item"])]),_:1},8,["items"])):(t(),a("div",ga,[(t(!0),a(z,null,O(e.items,(B,I)=>(t(),v(x,{key:I,item:B},null,8,["item"]))),128))]))]),_:1})}}}),_a=Object.assign(fa,{__name:"BlockCardList"}),ha={class:"relative aspect-video w-full overflow-hidden rounded-2xl bg-black"},va=R({__name:"YoutubeVideoItem",props:{video:{}},setup(e){return(i,d)=>{const n=_t;return t(),a("div",ha,[r(n,{embed:e.video.embed},null,8,["embed"])])}}}),xa=Object.assign(va,{__name:"BlockYoutubeVideoItem"}),ya={key:0,class:"text-4xl font-extrabold text-highlighted mb-6"},ba=R({__name:"YoutubeVideoList",props:{title:{},videos:{}},setup(e){return(i,d)=>{const n=xa,f=G;return t(),v(f,{class:"md:py-10 py-6"},{default:u(()=>
1[e.title?(t(),a("h2",ya,p(e.title),1)):g("",!0),o("div",{class:A(["grid gap-6",e.videos.length===1?"grid-cols-1":"grid-cols-1 sm:grid-cols-2"])},[(t(!0),a(z,null,O(e.videos,s=>(t(),v(n,{key:s.embed,video:s},null,8,["video"]))),128))],2)]),_:1})}}}),$a=Object.assign(ba,{__name:"BlockYoutubeVideoList"}),wa={slots:{root:"relative inline-flex items-center",base:["w-full rounded-md border-0 appearance-none placeholder:text-dimmed focus:outline-none disabled:cursor-not-allowed disabled:opacity-75","transition-colors"],leading:"absolute start-0 flex items-start",leadingIcon:"shrink-0 text-dimmed",leadingAvatar:"shrink-0",leadingAvatarSize:"",trailing:"absolute end-0 flex items-start",trailingIcon:"shrink-0 text-dimmed"},variants:{fieldGroup:{horizontal:{root:"group has-focus-visible:z-[1]",base:"group-not-only:group-first:rounded-e-none group-not-only:group-last:rounded-s-none group-not-last:group-not-first:rounded-none"},vertical:{root:"group has-focus-visible:z-[1]",base:"group-not-only:group-first:rounded-b-none group-not-only:group-last:rounded-t-none group-not-last:group-not-first:rounded-none"}},size:{xs:{base:"px-2 py-1 text-xs gap-1",leading:"ps-2 inset-y-1",trailing:"pe-2 inset-y-1",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},sm:{base:"px-2.5 py-1.5 text-xs gap-1.5",leading:"ps-2.5 inset-y-1.5",trailing:"pe-2.5 inset-y-1.5",leadingIcon:"size-4",leadingAvatarSize:"3xs",trailingIcon:"size-4"},md:{base:"px-2.5 py-1.5 text-sm gap-1.5",leading:"ps-2.5 inset-y-1.5",trailing:"pe-2.5 inset-y-1.5",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},lg:{base:"px-3 py-2 text-sm gap-2",leading:"ps-3 inset-y-2",trailing:"pe-3 inset-y-2",leadingIcon:"size-5",leadingAvatarSize:"2xs",trailingIcon:"size-5"},xl:{base:"px-3 py-2 text-base gap-2",leading:"ps-3 inset-y-2",trailing:"pe-3 inset-y-2",leadingIcon:"size-6",leadingAvatarSize:"xs",trailingIcon:"size-6"}},variant:{outline:"text-highlighted bg-default ring ring-inset ring-accented",soft:"text-highlighted bg-elevated/50 hover:bg-elevated focus:bg-elevated disabled:bg-elevated/50",subtle:"text-highlighted bg-elevated ring ring-inset ring-accented",ghost:"text-highlighted bg-transparent hover:bg-elevated focus:bg-elevated disabled:bg-transparent dark:disabled:bg-transparent",none:"text-highlighted bg-transparent"},color:{primary:"",secondary:"",success:"",info:"",warning:"",error:"",neutral:""},leading:{true:""},trailing:{true:""},loading:{true:""},highlight:{true:""},type:{file:"file:me-1.5 file:font-medium file:text-muted file:outline-none"},autoresize:{true:{base:"resize-none"}}},compoundVariants:[{color:"primary",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary"},{color:"secondary",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-secondary"},{color:"success",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-success"},{color:"info",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-info"},{color:"warning",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-warning"},{color:"error",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-error"},{color:"primary",highlight:!0,class:"ring ring-inset ring-primary"},{color:"secondary",highlight:!0,class:"ring ring-inset ring-secondary"},{color:"success",highlight:!0,class:"ring ring-inset ring-success"},{color:"info",highlight:!0,class:"ring ring-inset ring-info"},{color:"warning",highlight:!0,class:"ring ring-inset ring-warning"},{color:"error",highlight:!0,class:"ring ring-inset ring-error"},{color:"neutral",variant:["outline","subtle"],class:"focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-inverted"},{color:"neutral",highlight:!0,class:"ring ring-inset ring-inverted"},{leading:!0,size:"xs",class:"ps-7"},{leading:!0,size:"sm",class:"ps-8"},{leading:!0,size:"md",class:"ps-9"},{leading:!0,size:"lg",class:"ps-10"},{leading:!0,size:"xl",class:"ps-11"},{trailing:!0,size:"xs",class:"pe-7"},{trailing:!0,size:"sm",class:"pe-8"},{trailing:!0,size:"md",class:"pe-9"},{trailing:!0,size:"lg",class:"pe-10"},{trailing:!0,size:"xl",class:"pe-11"},{loading:!0,leading:!0,class:{leadingIcon:"animate-spin"}},{loading:!0,leading:!1,trailing:!0,class:{trailingIcon:"animate-spin"}}],defaultVariants:{size:"md",color:"primary",variant:"outline"}},ka=["id","value","name","rows","placeholder","disabled","required"],Fe=Object.assign({inheritAttrs:!1},{__name:"UTextarea",props:{as:{type:null,required:!1},id:{type:String,required:!1},name:{type:String,required:!1},placeholder:{type:String,required:!1},color:{type:null,required:!1},variant:{type:null,required:!1},size:{type:null,required:!1},required:{type:Boolean,required:!1},autofocus:{type:Boolean,required:!1},autofocusDelay:{type:Number,required:!1,default:0},autoresize:{type:Boolean,required:!1},autoresizeDelay:{type:Number,required:!1,default:0},disabled:{type:Boolean,required:!1},rows:{type:Number,required:!1,default:3},maxrows:{type:Number,required:!1,default:0},highlight:{type:Boolean,required:!1},modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1},modelModifiers:{type:Object,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1},icon:{type:null,required:!1},avatar:{type:Object,required:!1},leading:{type:Boolean,required:!1},leadingIcon:{type:null,required:!1},trailing:{type:Boolean,required:!1},trailingIcon:{type:null,required:!1},loading:{type:Boolean,required:!1},loadingIcon:{type:null,required:!1}},emits:["update:modelValue","blur","change"],setup(e,{expose:i,emit:d}){const n=e,f=d,s=Se(),c=yt(n,"modelValue",f,{defaultValue:n.defaultValue}),x=Re(),{emitFormFocus:h,emitFormBlur:b,emitFormInput:B,emitFormChange:I,size:V,color:$,id:w,name:U,highlight:H,disabled:X,ariaAttrs:L}=Je(n,{deferInputValidation:!0}
1),{isLeading:ee,isTrailing:F,leadingIconName:C,trailingIconName:W}=Qe(n),j=T(()=>pe({extend:pe(wa),...x.ui?.textarea||{}})({color:$.value,variant:n.variant,size:V?.value,loading:n.loading,highlight:H.value,autoresize:n.autoresize,leading:ee.value||!!n.avatar||!!s.leading,trailing:F.value||!!s.trailing})),D=ce("textareaRef");function y(N){n.modelModifiers?.trim&&(N=N?.trim()??null),n.modelModifiers?.number&&(N=Ze(N)),n.modelModifiers?.nullable&&(N||=null),n.modelModifiers?.optional&&(N||=void 0),c.value=N,B()}function _(N){J(),n.modelModifiers?.lazy||y(N.target.value)}function k(N){const Z=N.target.value;n.modelModifiers?.lazy&&y(Z),n.modelModifiers?.trim&&(N.target.value=Z.trim()),I(),f("change",N)}function le(N){b(),f("blur",N)}function K(){n.autofocus&&D.value?.focus()}function J(){if(n.autoresize&&D.value){D.value.rows=n.rows;const N=D.value.style.overflow;D.value.style.overflow="hidden";const Z=window.getComputedStyle(D.value),oe=Number.parseInt(Z.paddingTop),Y=Number.parseInt(Z.paddingBottom),de=oe+Y,m=Number.parseInt(Z.lineHeight),{scrollHeight:_e}=D.value,ue=(_e-de)/m;ue>n.rows&&(D.value.rows=n.maxrows?Math.min(ue,n.maxrows):ue),D.value.style.overflow=N}}return ge(c,()=>{et(J)}),Me(()=>{setTimeout(()=>{K()},n.autofocusDelay),setTimeout(()=>{J()},n.autoresizeDelay)}),i({textareaRef:D}),(N,Z)=>(t(),v(l(je),{as:e.as,"data-slot":"root",class:A(j.value.root({class:[n.ui?.root,n.class]}))},{default:u(()=>[o("textarea",ze({id:l(w),ref_key:"textareaRef",ref:D,value:l(c),name:l(U),rows:e.rows,placeholder:e.placeholder,"data-slot":"base",class:j.value.base({class:n.ui?.base}),disabled:l(X),required:e.required},{...N.$attrs,...l(L)},{onInput:_,onBlur:le,onChange:k,onFocus:Z[0]||(Z[0]=(...oe)=>l(h)&&l(h)(...oe))}),null,16,ka),ne(N.$slots,"default",{ui:j.value}),l(ee)||e.avatar||s.leading?(t(),a("span",{key:0,"data-slot":"leading",class:A(j.value.leading({class:n.ui?.leading}))},[ne(N.$slots,"leading",{ui:j.value},()=>[l(ee)&&l(C)?(t(),v(ae,{key:0,name:l(C),"data-slot":"leadingIcon",class:A(j.value.leadingIcon({class:n.ui?.leadingIcon}))},null,8,["name","class"])):e.avatar?(t(),v(Xe,ze({key:1,size:n.ui?.leadingAvatarSize||j.value.leadingAvatarSize()},e.avatar,{"data-slot":"leadingAvatar",class:j.value.leadingAvatar({class:n.ui?.leadingAvatar})}),null,16,["size","class"])):g("",!0)])],2)):g("",!0),l(F)||s.trailing?(t(),a("span",{key:1,"data-slot":"trailing",class:A(j.value.trailing({class:n.ui?.trailing}))},[ne(N.$slots,"trailing",{ui:j.value},()=>[l(W)?(t(),v(ae,{key:0,name:l(W),"data-slot":"trailingIcon",class:A(j.value.trailingIcon({class:n.ui?.trailingIcon}))},null,8,["name","class"])):g("",!0)])],2)):g("",!0)]),_:3},8,["as","class"]))}}),Va=e=>be({requester_name:P().min(1,e("partnershipForm.validation.required")),contact_person:P().optional().nullable(),email:P().email(e("partnershipForm.validation.email")),phone:P().min(1,e("partnershipForm.validation.required")),partnership_type:P().min(1,e("partnershipForm.validation.required")),preferred_performer:P().optional().nullable(),campaign_start_date:P().min(1,e("partnershipForm.validation.required")),campaign_end_date:P().min(1,e("partnershipForm.validation.required")),campaign_description:P().max(360,e("partnershipForm.validation.maxLength",{max:360})).optional().nullable(),privacy_accepted:$e().refine(i=>i===!0,e("partnershipForm.validation.privacy"))}).refine(i=>!i.campaign_end_date||!i.campaign_start_date||i.campaign_end_date>=i.campaign_start_date,{message:e("partnershipForm.validation.endDateAfterStart"),path:["campaign_end_date"]}),Ca={key:0,class:"flex flex-col items-center gap-4 text-center text-white"},Fa={class:"text-lg font-medium"},qa={key:0,class:"mb-8 flex flex-col gap-4 text-center text-white"},Ta={key:0,class:"text-3xl font-extrabold leading-tight sm:text-4xl"},Ba={key:1,class:"text-base leading-relaxed"},za={class:"grid grid-cols-1 gap-6 sm:grid-cols-2"},Ua={class:"grid grid-cols-1 gap-6 sm:grid-cols-2"},Sa={class:"grid grid-cols-1 gap-6 sm:grid-cols-2"},Ra={class:"hidden items-end gap-3 sm:flex"},ja={class:"relative"},Ia={class:"absolute bottom-2 right-3 text-sm text-gray-400"},Pa={class:"flex justify-center"},Oa={class:"flex flex-col gap-1"},La=["innerHTML"],Ea={key:0,class:"text-center text-sm text-primary"},Ma={class:"flex justify-center"},Ha=R({__name:"PartnershipForm",props:{title:{},description:{},privacyText:{}},setup(e){const{t:i,locale:d}=re(),n=we(),{$sanitize:f}=se(),s=new xt(d.value,{dateStyle:"medium"}),c=T(()=>[{label:i("partnershipForm.types.sponsorship"),value:"sponsorship"},{label:i("partnershipForm.types.event"),value:"event"},{label:i("partnershipForm.types.media_partnership"),value:"media_partnership"},{label:i("partnershipForm.types.other"),value:"other"}]),x=T(()=>
1Va(i)),h=ve({requester_name:"",contact_person:null,email:"",phone:"",partnership_type:"",preferred_performer:null,campaign_start_date:"",campaign_end_date:"",campaign_description:null,privacy_accepted:!1}),b=E(!1),B=E(!1),I=E(!1);function V(_){if(!_)return;const k=_.split("-").map(Number);return new Ue(k[0],k[1],k[2])}const $=ce("form"),w=T({get:()=>V(h.campaign_start_date),set:_=>{h.campaign_start_date=_?.toString()??"",b.value=!1,$.value?.clear("campaign_start_date")}}),U=T({get:()=>V(h.campaign_end_date),set:_=>{h.campaign_end_date=_?.toString()??"",B.value=!1,$.value?.clear("campaign_end_date")}}),H=T(()=>w.value?s.format(w.value.toDate(me())):i("partnershipForm.placeholders.date")),X=T(()=>U.value?s.format(U.value.toDate(me())):i("partnershipForm.placeholders.date")),L=E(void 0);ge(L,_=>{_&&(h.campaign_start_date=_.start?.toString()??"",h.campaign_end_date=_.end?.toString()??"",$.value?.clear("campaign_start_date"),_.start&&_.end&&_.end.compare(_.start)>0&&(I.value=!1))},{deep:!0});const ee=T(()=>{const _=L.value?.start?s.format(L.value.start.toDate(me())):null,k=L.value?.end?s.format(L.value.end.toDate(me())):null;return _&&k?`${_} – ${k}`:_?`${_} – ?`:i("partnershipForm.placeholders.date")}),F=T(()=>h.campaign_description?.length??0),C=E(null),W=E(!1),j=E(!1),D=E(!1),y=async()=>{if(!W.value){W.value=!0,D.value=!1;try{if(await n("/partnership-form-submissions","POST",{...h,description:h.campaign_description}),j.value=!0,C.value){const _=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--ui-header-height"))||0,k=C.value.getBoundingClientRect().top+window.scrollY-_-100;window.scrollTo({top:k,behavior:"smooth"})}}catch{D.value=!0}finally{W.value=!1}}};return(_,k)=>{const le=ae,K=ye,J=Ve,N=fe,Z=te,oe=Te,Y=Ie,de=Fe,m=Ce,_e=ke,ue=G;return t(),a("div",{id:"partnership-form",ref_key:"sectionRef",ref:C,class:"relative overflow-hidden bg-slate-900 py-14"},[k[15]||(k[15]=o("div",{class:"pointer-events-none absolute -right-48 -top-48 size-[600px] rounded-full bg-purple-700/20 blur-3xl"},null,-1)),k[16]||(k[16]=o("div",{class:"pointer-events-none absolute -bottom-48 -left-48 size-[800px] rounded-full bg-pink-900/20 blur-3xl"},null,-1)),r(ue,{class:"relative z-10 max-w-[904px]"},{default:u(()=>[l(j)?(t(),a("div",Ca,[r(le,{name:"i-lucide-circle-check",class:"size-16 text-green-600"}),o("p",Fa,p(_.$t("partnershipForm.success")),1)])):(t(),a(z,{key:1},[e.title||e.description?(t(),a("div",qa,[e.title?(t(),a("h2",Ta,p(e.title),1)):g("",!0),e.description?(t(),a("p",Ba,p(e.description),1)):g("",!0)])):g("",!0),r(_e,{ref_key:"form",ref:$,schema:l(x),state:l(h),class:"flex flex-col gap-6",onSubmit:y},{default:u(()=>[o("div",za,[r(J,{label:_.$t("partnershipForm.fields.requesterName"),name:"requester_name",required:"",class:"[&_label]:text-white"},{default:u(()=>[r(K,{modelValue:l(h).requester_name,"onUpdate:modelValue":k[0]||(k[0]=q=>l(h).requester_name=q),placeholder:_.$t("partnershipForm.placeholders.requesterName"),size:"xl",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),r(J,{label:_.$t("partnershipForm.fields.contactPerson"),name:"contact_person",class:"[&_label]:text-white"},{default:u(()=>[r(K,{modelValue:l(h).contact_person,"onUpdate:modelValue":k[1]||(k[1]=q=>l(h).contact_person=q),placeholder:_.$t("partnershipForm.placeholders.contactPerson"),size:"xl",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),o("div",Ua,[r(J,{label:_.$t("partnershipForm.fields.email"),name:"email",required:"",class:"[&_label]:text-white"},{default:u(()=>[r(K,{modelValue:l(h).email,"onUpdate:modelValue":k[2]||(k[2]=q=>l(h).email=q),type:"email",placeholder:_.$t("partnershipForm.placeholders.email"),size:"xl",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),r(J,{label:_.$t("partnershipForm.fields.phone"),name:"phone",required:"",class:"[&_label]:text-white"},{default:u(()=>[r(K,{modelValue:l(h).phone,"onUpdate:modelValue":k[3]||(k[3]=q=>l(h).phone=q),type:"tel",placeholder:_.$t("partnershipForm.placeholders.phone"),size:"xl",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),o("div",Sa,[r(J,{label:_.$t("partnershipForm.fields.partnershipType"),name:"partnership_type",required:"",class:"[&_label]:text-white"},{default:u(()=>[r(N,{modelValue:l(h).partnership_type,"onUpdate:modelValue":k[4]||(k[4]=q=>l(h).partnership_type=q),items:l(c),placeholder:_.$t("partnershipForm.placeholders.selectType"),"value-key":"value",size:"xl",class:"w-full"},null,8,["modelValue","items","placeholder"])]),_:1},8,["label"]),r(J,{label:_.$t("partnershipForm.fields.preferredPerformer"),name:"preferred_performer",class:"[&_label]:text-white"},{default:u(()=>[r(K,{modelValue:l(h).preferred_performer,"onUpdate:modelValue":k[5]||(k[5]=q=>l(h).preferred_performer=q),placeholder:_.$t("partnershipForm.placeholders.performer"),size:"xl",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),r(J,{label:_.$t("partnershipForm.fields.campaignDates"),name:"campaign_start_date",required:"",class:"sm:hidden [&_label]:text-white"},{default:u(()=>[r(Y,{open:l(I),"onUpdate:open":k[7]||(k[7]=q=>Q(I)?I.value=q:null)},{content:u(()=>[r(oe,{modelValue:l(L),"onUpdate:modelValue":k[6]||(k[6]=q=>Q(L)?L.value=q:null),range:"",locale:l(d),color:"primary","month-controls":!0,"year-control
1s":!1,"week-starts-on":0,ui:{header:"py-0",gridBody:"mt-0 space-y-2 py-2",cellTrigger:"text-lg text-slate-600 data-[highlighted]:text-white data-[selected]:bg-primary data-[selected]:text-white cursor-pointer !h-8 !w-10",headCell:"!text-lg font-medium",heading:"text-slate-600 text-lg mx-4"}},null,8,["modelValue","locale"])]),default:u(()=>[r(Z,{label:l(ee),color:"neutral",class:"w-full justify-between text-base font-medium",variant:"ghost",size:"lg",ui:{base:"text-neutral-400 bg-white rounded-md",trailingIcon:"text-neutral-500"},"trailing-icon":"i-lucide-calendar"},null,8,["label"])]),_:1},8,["open"])]),_:1},8,["label"]),o("div",Ra,[r(J,{label:_.$t("partnershipForm.fields.campaignDates"),name:"campaign_start_date",required:"",class:"min-w-0 flex-1 [&_label]:text-white"},{default:u(()=>[r(Y,{open:l(b),"onUpdate:open":k[9]||(k[9]=q=>Q(b)?b.value=q:null)},{content:u(()=>[r(oe,{modelValue:l(w),"onUpdate:modelValue":k[8]||(k[8]=q=>Q(w)?w.value=q:null),locale:l(d),color:"primary","month-controls":!0,"year-controls":!1,"week-starts-on":0,ui:{header:"py-0",gridBody:"mt-0 space-y-2 py-2 ",cellTrigger:"text-lg text-slate-600 data-[highlighted]:text-white data-[selected]:bg-primary data-[selected]:text-white cursor-pointer !h-8 !w-10",headCell:"!text-lg font-medium ",heading:"text-slate-600 text-lg mx-4"}},null,8,["modelValue","locale"])]),default:u(()=>[r(Z,{label:l(H),color:"neutral",class:"w-full justify-between text-base font-medium",variant:"ghost",size:"lg",ui:{base:"text-neutral-400 bg-white rounded-md",trailingIcon:"text-neutral-500"},"trailing-icon":"i-lucide-calendar"},null,8,["label"])]),_:1},8,["open"])]),_:1},8,["label"]),k[14]||(k[14]=o("span",{class:"mb-2 shrink-0 text-2xl font-medium text-white"},"-",-1)),r(J,{name:"campaign_end_date",class:"min-w-0 flex-1 [&_label]:text-white"},{default:u(()=>[r(Y,{open:l(B),"onUpdate:open":k[11]||(k[11]=q=>Q(B)?B.value=q:null)},{content:u(()=>[r(oe,{modelValue:l(U),"onUpdate:modelValue":k[10]||(k[10]=q=>Q(U)?U.value=q:null),locale:l(d),color:"primary","month-controls":!0,"year-controls":!1,"min-value":l(w),"week-starts-on":0,ui:{header:"py-0",gridBody:"mt-0 space-y-2 py-2 ",cellTrigger:"text-lg text-slate-600 data-[highlighted]:text-white data-[selected]:bg-primary data-[selected]:text-white cursor-pointer !h-8 !w-10",headCell:"!text-lg font-medium ",heading:"text-slate-600 text-lg mx-4"}},null,8,["modelValue","locale","min-value"])]),default:u(()=>[r(Z,{label:l(X),color:"neutral",class:"w-full justify-between text-base font-medium",variant:"ghost",size:"lg",ui:{base:"text-neutral-400 bg-white rounded-md",trailingIcon:"text-neutral-500"},"trailing-icon":"i-lucide-calendar"},null,8,["label"])]),_:1},8,["open"])]),_:1})]),r(J,{label:_.$t("partnershipForm.fields.description"),name:"campaign_description",class:"[&_label]:text-white"},{default:u(()=>[o("div",ja,[r(de,{modelValue:l(h).campaign_description,"onUpdate:modelValue":k[12]||(k[12]=q=>l(h).campaign_description=q),placeholder:_.$t("partnershipForm.placeholders.description"),rows:5,maxlength:"360",size:"xl",class:"w-full"},null,8,["modelValue","placeholder"]),o("span",Ia,p(l(F))+"/360 ",1)])]),_:1},8,["label"]),o("div",Pa,[r(J,{name:"privacy_accepted"},{default:u(()=>[o("div",Oa,[r(m,{modelValue:l(h).privacy_accepted,"onUpdate:modelValue":k[13]||(k[13]=q=>l(h).privacy_accepted=q)},{label:u(()=>[e.privacyText?(t(),a("span",{key:0,class:"text-sm text-white [&_a]:font-medium [&_a]:underline",innerHTML:l(f)(e.privacyText)},null,8,La)):g("",!0)]),_:1},8,["modelValue"])])]),_:1})]),l(D)?(t(),a("p",Ea,p(_.$t("partnershipForm.error")),1)):g("",!0),o("div",Ma,[r(Z,{type:"submit",color:"primary",size:"xl",loading:l(W),disabled:l(W),class:"rounded-full px-8 font-bold"},{default:u(()=>[M(p(_.$t("partnershipForm.submit")),1)]),_:1},8,["loading","disabled"])])]),_:1},8,["schema","state"])],64))]),_:1})],512)}}}),Da=Object.assign(Ha,{__name:"BlockPartnershipForm"}),Na=e=>be({name:P().min(1,e("performerOrderForm.validation.required")),title:P().min(1,e("performerOrderForm.validation.required")),company_name:P().min(1,e("performerOrderForm.validation.required")),email:P().email(e("performerOrderForm.validation.email")),subject:P().min(1,e("performerOrderForm.validation.required")),performer_name:P().min(1,e("performerOrderForm.validation.required")),message:P().max(360,e("performerOrderForm.validation.maxLength",{max:360})).optional().nullable(),privacy_accepted:$e().refine(i=>i===!0,e("performerOrderForm.validation.privacy"))}),Aa={key:0,class:"flex flex-col items-center gap-4 text-center text-white"},Ya={class:"text-lg font-medium"},Ga={key:0,class:"mb-8 flex flex-col gap-4 text-center text-white"},Wa={key:0,class:"text-3xl font-extrabold leading-tight sm:text-4xl"},Ka={key:1,class:"text-base leading-relaxed"},Ja={class:"grid grid-cols-1 gap-6 sm:grid-cols-2"},Qa={class:"grid grid-cols-1 gap-6 sm:grid-cols-2"},Xa={class:"grid grid-cols-1 gap-6 sm:grid-cols-2"},Za={class:"relative"},es={class:"absolute bottom-2 right-3 text-sm text-gray-400"},ts={class:"flex justify-center"},ls={class:"flex flex-col gap-1"},ns=["innerHTML"],as={key:1,class:"text-sm text-white"},ss={key:0,class:"text-center text-sm text-primary"},os={class:"flex justify-center"},rs=R({__name:"PerformerOrderForm",props:{title:{},description:{},privacyText:{}},setup(e){const{t:i}=re(),d=we(),{$sanitize:n}=se(),f=T(()=>Na(i)),s=ve({name:"",title:"",company_name:"",email:"",subject:"",performer_name:"",message:null,privacy_accepted:!1}),c=T(()=>s.message?.length??0),x=E(null),h=E(!1),b=E(!1),B=E(!1),I=async()=>
1{if(!h.value){h.value=!0,B.value=!1;try{if(await d("/performer-order-form-submissions","POST",{...s}),b.value=!0,x.value){const V=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--ui-header-height"))||0,$=x.value.getBoundingClientRect().top+window.scrollY-V-100;window.scrollTo({top:$,behavior:"smooth"})}}catch{B.value=!0}finally{h.value=!1}}};return(V,$)=>{const w=ae,U=ye,H=Ve,X=Fe,L=he,ee=Ce,F=te,C=ke,W=G;return t(),a("div",{id:"performer-order-form",ref_key:"sectionRef",ref:x,class:"relative overflow-hidden bg-slate-900 py-14"},[$[8]||($[8]=o("div",{class:"pointer-events-none absolute -right-48 -top-48 size-[600px] rounded-full bg-purple-700/20 blur-3xl"},null,-1)),$[9]||($[9]=o("div",{class:"pointer-events-none absolute -bottom-48 -left-48 size-[800px] rounded-full bg-pink-900/20 blur-3xl"},null,-1)),r(W,{class:"relative z-10 max-w-[904px]"},{default:u(()=>[l(b)?(t(),a("div",Aa,[r(w,{name:"i-lucide-circle-check",class:"size-16 text-green-600"}),o("p",Ya,p(V.$t("performerOrderForm.success")),1)])):(t(),a(z,{key:1},[e.title||e.description?(t(),a("div",Ga,[e.title?(t(),a("h2",Wa,p(e.title),1)):g("",!0),e.description?(t(),a("p",Ka,p(e.description),1)):g("",!0)])):g("",!0),r(C,{id:"performer-
1order-form",schema:l(f),state:l(s),class:"flex flex-col gap-6",onSubmit:I},{default:u(()=>[o("div",Ja,[r(H,{label:V.$t("performerOrderForm.fields.name"),name:"name",required:"",class:"[&_label]:text-white"},{default:u(()=>[r(U,{modelValue:l(s).name,"onUpdate:modelValue":$[0]||($[0]=j=>l(s).name=j),placeholder:V.$t("performerOrderForm.placeholders.name"),size:"xl",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),r(H,{label:V.$t("performerOrderForm.fields.title"),name:"title",required:"",class:"[&_label]:text-white"},{default:u(()=>[r(U,{modelValue:l(s).title,"onUpdate:modelValue":$[1]||($[1]=j=>l(s).title=j),placeholder:V.$t("performerOrderForm.placeholders.title"),size:"xl",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),o("div",Qa,[r(H,{label:V.$t("performerOrderForm.fields.companyName"),name:"company_name",required:"",class:"[&_label]:text-white"},{default:u(()=>[r(U,{modelValue:l(s).company_name,"onUpdate:modelValue":$[2]||($[2]=j=>l(s).company_name=j),placeholder:V.$t("performerOrderForm.placeholders.companyName"),size:"xl",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),r(H,{label:V.$t("performerOrderForm.fields.email"),name:"email",required:"",class:"[&_label]:text-white"},{default:u(()=>[r(U,{modelValue:l(s).email,"onUpdate:modelValue":$[3]||($[3]=j=>l(s).email=j),type:"email",placeholder:V.$t("performerOrderForm.placeholders.email"),size:"xl",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),o("div",Xa,[r(H,{label:V.$t("performerOrderForm.fields.subject"),name:"subject",required:"",class:"[&_label]:text-white"},{default:u(()=>[r(U,{modelValue:l(s).subject,"onUpdate:modelValue":$[4]||($[4]=j=>l(s).subject=j),placeholder:V.$t("performerOrderForm.placeholders.subject"),size:"xl",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),r(H,{label:V.$t("performerOrderForm.fields.performerName"),name:"performer_name",required:"",class:"[&_label]:text-white"},{default:u(()=>[r(U,{modelValue:l(s).performer_name,"onUpdate:modelValue":$[5]||($[5]=j=>l(s).performer_name=j),placeholder:V.$t("performerOrderForm.placeholders.performerName"),size:"xl",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),r(H,{label:V.$t("performerOrderForm.fields.message"),name:"message",class:"[&_label]:text-white"},{default:u(()=>[o("div",Za,[r(X,{modelValue:l(s).message,"onUpdate:modelValue":$[6]||($[6]=j=>l(s).message=j),placeholder:V.$t("performerOrderForm.placeholders.message"),rows:5,maxlength:"360",size:"xl",class:"w-full"},null,8,["modelValue","placeholder"]),o("span",es,p(l(c))+"/360 ",1)])]),_:1},8,["label"]),o("div",ts,[r(H,{name:"privacy_accepted"},{default:u(()=>[o("div",ls,[r(ee,{modelValue:l(s).privacy_accepted,"onUpdate:modelValue":$[7]||($[7]=j=>l(s).privacy_accepted=j)},{label:u(()=>[e.privacyText?(t(),a("span",{key:0,class:"text-sm text-white [&_a]:font-medium [&_a]:underline",innerHTML:l(n)(e.privacyText)},null,8,ns)):(t(),a("span",as,[M(p(V.$t("performerOrderForm.fields.privacyPrefix"))+" ",1),r(L,{to:V.$t("performerOrderForm.fields.privacyLink"),target:"_blank",class:"font-medium text-white underline"},{default:u(()=>[M(p(V.$t("performerOrderForm.fields.privacyLinkText")),1)]),_:1},8,["to"]),M(" "+p(V.$t("performerOrderForm.fields.privacySuffix")),1)]))]),_:1},8,["modelValue"])])]),_:1})]),l(B)?(t(),a("p",ss,p(V.$t("performerOrderForm.error")),1)):g("",!0),o("div",os,[r(F,{type:"submit",color:"primary",size:"xl",loading:l(h),disabled:l(h),class:"rounded-full px-8 font-bold"},{default:u(()=>[M(p(V.$t("performerOrderForm.submit")),1)]),_:1},8,["loading","disabled"])])]),_:1},8,["schema","state"])],64))]),_:1})],512)}}}),is=Object.assign(rs,{__name:"BlockPerformerOrderForm"}),cs=e=>{const i=e("podcastStudioRequestForm.validation.required"),d=e("podcastStudioRequestForm.validation.email");return be({requester_name:P().min(1,i),contact_person:P().optional().nullable(),email:P().email(d),phone:P().min(1,i),recording_date:P().min(1,i),recording_start_time:P({required_error:i}).min(1,i),recording_end_time:P({required_error:i}).min(1,i),notes:P().max(360,e("podcastStudioRequestForm.validation.maxLength",{max:360})).optional().nullable(),privacy_accepted:$e().refine(n=>n===!0,e("podcastStudioRequestForm.validation.privacy"))})},ds={key:0,class:"flex flex-col items-center gap-4 text-center text-white"},us={class:"text-lg font-medium"},ms={key:0,class:"mb-8 flex flex-col gap-4 text-center text-white"}
1,ps={key:0,class:"text-3xl font-extrabold leading-tight sm:text-4xl"},gs={key:1,class:"text-base leading-relaxed"},fs={class:"grid grid-cols-1 gap-6 pb-5 sm:grid-cols-2"},_s={class:"grid grid-cols-1 gap-6 pb-5 sm:grid-cols-2"},hs={class:"grid grid-cols-1 gap-6 pb-5 sm:grid-cols-2"},vs={class:"flex flex-col gap-1"},xs={class:"text-sm font-medium text-white"},ys={class:"flex items-center gap-2"},bs={class:"text-sm text-muted"},$s={class:"text-sm text-muted"},ws={class:"relative"},ks={class:"absolute bottom-2 right-3 text-sm text-gray-400"},Vs={class:"flex justify-center"},Cs={class:"flex flex-col gap-1"},Fs=["innerHTML"],qs={key:1,class:"text-sm text-white"},Ts={key:0,class:"text-center text-sm text-primary"},Bs={class:"flex justify-center"},zs=R({__name:"PodcastStudioRequestForm",props:{title:{},description:{},privacyText:{}},setup(e){const{t:i}=re(),d=we(),{$sanitize:n}=se(),f=T(()=>cs(i)),s=ve({requester_name:"",contact_person:null,email:"",phone:"",recording_date:"",recording_start_time:null,recording_end_time:null,notes:null,privacy_accepted:!1}),c=T(()=>s.notes?.length??0),x=T(()=>{const F=[];for(let C=0;C<24;C++)for(let W=0;W<60;W+=30)F.push(`${String(C).padStart(2,"0")}:${String(W).padStart(2,"0")}`);return F}),h=T({get:()=>s.recording_start_time??void 0,set:F=>{s.recording_start_time=F??null}}),b=T({get:()=>s.recording_end_time??void 0,set:F=>{s.recording_end_time=F??null}}),B=T(()=>({...s,contact_person:s.contact_person??void 0,recording_start_time:s.recording_start_time??void 0,recording_end_time:s.recording_end_time??void 0,notes:s.notes??void 0})),I=ce("form"),V=E(Ae(me())),$=E(!1),w=T(()=>{if(!s.recording_date)return i("podcastStudioRequestForm.placeholders.recordingDate");const[F,C,W]=s.recording_date.split("-");return`${F}.${C}.${W}`});ge(V,F=>{s.recording_date=`${F.year}-${String(F.month).padStart(2,"0")}-${String(F.day).padStart(2,"0")}`,$.value=!1,I.value?.clear("recording_date")});const U=E(null),H=E(!1),X=E(!1),L=E(!1),ee=async()=>{if(!H.value){H.value=!0,L.value=!1;try{if(await d("/podcast-studio-request-form-submissions","POST",{...s}),X.value=!0,U.value){const F=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--ui-header-height"))||0,C=U.value.getBoundingClientRect().top+window.scrollY-F-100;window.scrollTo({top:C,behavior:"smooth"})}}catch{L.value=!0}finally{H.value=!1}}};return(F,C)=>{const W=ae,j=ye,D=Ve,y=te,_=Te,k=Ie,le=fe,K=Fe,J=he,N=Ce,Z=ke,oe=G;return t(),a("div",{id:"podcast-studio-request-form",ref_key:"sectionRef",ref:U,class:"relative overflow-hidden bg-slate-900 py-14"},[C[12]||(C[12]=o("div",{class:"pointer-events-none absolute -right-48 -top-48 size-[600px] rounded-full bg-purple-700/20 blur-3xl"},null,-1)),C[13]||(C[13]=o("div",{class:"pointer-events-none absolute -bottom-48 -left-48 size-[800px] rounded-full bg-pink-900/20 blur-3xl"},null,-1)),r(oe,{class:"relative z-10 max-w-[904px]"},{default:u(()=>[l(X)?(t(),a("div",ds,[r(W,{name:"i-lucide-circle-check",class:"size-16 text-green-600"}),o("p",us,p(F.$t("podcastStudioRequestForm.success")),1)])):(t(),a(z,{key:1},[e.title||e.description?(t(),a("div",ms,[e.title?(t(),a("h2",ps,p(e.title),1)):g("",!0),e.description?(t(),a("p",gs,p(e.description),1)):g("",!0)])):g("",!0),r(Z,{ref_key:"form",ref:I,schema:l(f),state:l(B),class:"flex flex-col gap-6",onSubmit:ee},{default:u(()=>[o("div",fs,[r(D,{label:F.$t("podcastStudioRequestForm.fields.requesterName"),name:"requester_name",required:"",class:"[&_label]:text-white"},{default:u(()=>[r(j,{modelValue:l(s).requester_name,"onUpdate:modelValue":C[0]||(C[0]=Y=>l(s).requester_name=Y),placeholder:F.$t("podcastStudioRequestForm.placeholders.requesterName"),size:"xl",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),r(D,{label:F.$t("podcastStudioRequestForm.fields.contactPerson"),name:"contact_person",class:"[&_label]:text-white"},{default:u(()=>[r(j,{modelValue:l(s).contact_person,"onUpdate:modelValue":C[1]||(C[1]=Y=>l(s).contact_person=Y),placeholder:F.$t("podcastStudioRequestForm.placeholders.contactPerson"),size:"xl",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),o("div",_s,[r(D,{label:F.$t("podcastStudioRequestForm.fields.email"),name:"email",required:"",class:"[&_label]:text-white"},{default:u(()=>[r(j,{modelValue:l(s).email,"onUpdate:modelValue":C[2]||(C[2]=Y=>l(s).email=Y),type:"email",placeholder:F.$t("podcastStudioRequestForm.placeholders.email"),size:"xl",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),r(D,{label:F.$t("podcastStudioRequestForm.fields.phone"),name:"phone",required:"",class:"[&_label]:text-white"},{default:u(()=>[r(j,{modelValue:l(s).phone,"onUpdate:modelValue":C[3]||(C[3]=Y=>l(s).phone=Y),type:"tel",placeholder:F.$t("podcastStudioRequestForm.placeholders.phone"),size:"xl",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),o("div",hs,[r(D,{label:F.$t("podcastStudioRequestForm.fields.recordingDate"),name:"recording_date",required:"",class:"[&_label]:text-white"},{default:u(()=>[r(k,{open:l($),"onUpdate:open":C[5]||(C[5]=Y=>Q($)?$.value=Y:null)},{content:u(()=>[r(_,{modelValue:l(V),"onUpdate:modelValue":C[4]||(C[4]=Y=>Q(V)?V.value=Y:null),locale:"locale",color:"primary","month-controls":!0,"year-control
1s":!1,"week-starts-on":0,ui:{header:"py-0",gridBody:"mt-0 space-y-2 py-2 ",cellTrigger:"text-lg text-slate-600 data-[highlighted]:text-white data-[selected]:bg-primary data-[selected]:text-white cursor-pointer !h-8 !w-10",headCell:"!text-lg font-medium ",heading:"text-slate-600 text-lg mx-4"}},null,8,["modelValue"])]),default:u(()=>[r(y,{label:l(w),color:"neutral",class:"w-full justify-between text-base font-medium",variant:"ghost",size:"lg",ui:{base:"text-neutral-400 bg-white rounded-md",trailingIcon:"text-neutral-500"},"trailing-icon":"i-lucide-calendar"},null,8,["label"])]),_:1},8,["open"])]),_:1},8,["label"]),o("div",vs,[o("span",xs,[M(p(F.$t("podcastStudioRequestForm.fields.recordingTime"))+" ",1),C[10]||(C[10]=o("span",{class:"text-primary"},"*",-1))]),o("div",ys,[r(D,{name:"recording_start_time",class:"flex-1"},{default:u(()=>[r(le,{modelValue:l(h),"onUpdate:modelValue":C[6]||(C[6]=Y=>Q(h)?h.value=Y:null),items:l(x),placeholder:F.$t("podcastStudioRequestForm.placeholders.startTime"),size:"xl",class:"w-full","search-input":{placeholder:F.$t("filters.selectSearch")}},{empty:u(()=>[o("span",bs,p(F.$t("filters.noResultsFound")),1)]),_:1},8,["modelValue","items","placeholder","search-input"])]),_:1}),C[11]||(C[11]=o("span",{class:"shrink-0 text-white"},"–",-1)),r(D,{name:"recording_end_time",class:"flex-1"},{default:u(()=>[r(le,{modelValue:l(b),"onUpdate:modelValue":C[7]||(C[7]=Y=>Q(b)?b.value=Y:null),items:l(x),placeholder:F.$t("podcastStudioRequestForm.placeholders.endTime"),size:"xl",class:"w-full","search-input":{placeholder:F.$t("filters.selectSearch")}},{empty:u(()=>[o("span",$s,p(F.$t("filters.noResultsFound")),1)]),_:1},8,["modelValue","items","placeholder","search-input"])]),_:1})])])]),r(D,{label:F.$t("podcastStudioRequestForm.fields.notes"),name:"notes",class:"[&_label]:text-white"},{default:u(()=>[o("div",ws,[r(K,{modelValue:l(s).notes,"onUpdate:modelValue":C[8]||(C[8]=Y=>l(s).notes=Y),placeholder:F.$t("podcastStudioRequestForm.placeholders.notes"),rows:5,maxlength:"360",size:"xl",class:"w-full"},null,8,["modelValue","placeholder"]),o("span",ks,p(l(c))+"/360 ",1)])]),_:1},8,["label"]),o("div",Vs,[r(D,{name:"privacy_accepted"},{default:u(()=>[o("div",Cs,[r(N,{modelValue:l(s).privacy_accepted,"onUpdate:modelValue":C[9]||(C[9]=Y=>l(s).privacy_accepted=Y)},{label:u(()=>[e.privacyText?(t(),a("span",{key:0,class:"text-sm text-white [&_a]:font-medium [&_a]:underline",innerHTML:l(n)(e.privacyText)},null,8,Fs)):(t(),a("span",qs,[M(p(F.$t("podcastStudioRequestForm.fields.privacyPrefix"))+" ",1),r(J,{to:F.$t("podcastStudioRequestForm.fields.privacyLink"),target:"_blank",class:"font-medium text-white underline"},{default:u(()=>[M(p(F.$t("podcastStudioRequestForm.fields.privacyLinkText")),1)]),_:1},8,["to"]),M(" "+p(F.$t("podcastStudioRequestForm.fields.privacySuffix")),1)]))]),_:1},8,["modelValue"])])]),_:1})]),l(L)?(t(),a("p",Ts,p(F.$t("podcastStudioRequestForm.error")),1)):g("",!0),o("div",Bs,[r(y,{type:"submit",color:"primary",size:"xl",loading:l(H),disabled:l(H),class:"rounded-full px-8 font-bold"},{default:u(()=>[M(p(F.$t("podcastStudioRequestForm.submit")),1)]),_:1},8,["loading","disabled"])])]),_:1},8,["schema","state"])],64))]),_:1})],512)}}}),Us=Object.assign(zs,{__name:"BlockPodcastStudioRequestForm"}),Ss=e=>{const i=e("eventVenueRequestForm.validation.required"),d=e("eventVenueRequestForm.validation.email"),n=e("eventVenueRequestForm.validation.minGuests");return be({requester_name:P().min(1,i),contact_person:P().optional().nullable(),email:P().email(d),phone:P().min(1,i),event_type:P({required_error:i}).min(1,i),guest_count:ht({required_error:i,invalid_type_error:i}).min(1,n),event_date:P().min(1,i),event_start_time:P({required_error:i}).min(1,i),event_end_time:P({required_error:i}).min(1,i),catering_type:P().optional().nullable(),technical_requirements:P().optional().nullable(),preferred_performer:P().optional().nullable(),referral_source:P().optional().nullable(),notes:P().max(360,e("eventVenueRequestForm.validation.maxLength",{max:360})).optional().nullable(),privacy_accepted:$e().refine(f=>f===!0,e("eventVenueRequestForm.validation.privacy"))})},Rs={key:0,class:"flex flex-col items-center gap-4 text-center text-white"},js={class:"text-lg font-medium"},Is={key:0,class:"mb-8 flex flex-col gap-4 text-center text-white"},Ps={key:0,class:"text-3xl font-extrabold leading-tight sm:text-4xl"},Os={key:1,class:"text-base leading-relaxed"},Ls={class:"grid grid-cols-1 gap-6 pb-5 sm:grid-cols-2"},Es={class:"grid grid-cols-1 gap-6 pb-5 sm:grid-cols-2"},Ms={class:"grid grid-cols-1 gap-6 pb-5 sm:grid-cols-2"},Hs={class:"text-sm text-muted"},Ds={class:"grid grid-cols-1 gap-6 pb-5 sm:grid-cols-2"},Ns={class:"flex flex-col gap-1"},As={class:"text-sm font-medium text-white"},Ys={class:"flex items-center gap-2"},Gs={class:"text-sm text-muted"},Ws={class:"text-sm text-muted"},Ks={class:"grid grid-cols-1 items-start gap-6 sm:grid-cols-2"},Js={class:"text-sm text-muted"},Qs={class:"text-sm text-muted"},Xs={class:"grid grid-cols-1 gap-6 sm:grid-cols-2"},Zs={class:"text-sm text-muted"},eo={class:"relative"},to={class:"absolute bottom-2 right-3 text-sm text-gray-400"},lo={class:"flex justify-center"},no={class:"flex flex-col gap-1"},ao=["innerHTML"],so={key:1,class:"text-sm text-white"},oo={key:0,class:"text-center text-sm text-primary"},ro={class:"flex justify-center"},io=R({__name:"EventVenueRequestForm",props:{title:{},description:{},privacyText:{},eventTypes:{},cateringTypes:{},technicalRequirements:{},referralSources:{}},setup(e){const{t:i}=re(),d=we(),{$sanitize:n}=se(),f=T(()=>
1Ss(i)),s=ve({requester_name:"",contact_person:null,email:"",phone:"",event_type:null,guest_count:null,event_date:"",event_start_time:null,event_end_time:null,catering_type:null,technical_requirements:null,preferred_performer:null,referral_source:null,notes:null,privacy_accepted:!1}),c=T(()=>s.notes?.length??0),x=T(()=>{const y=[];for(let _=0;_<24;_++)for(let k=0;k<60;k+=30)y.push(`${String(_).padStart(2,"0")}:${String(k).padStart(2,"0")}`);return y}),h=T({get:()=>s.event_start_time??void 0,set:y=>{s.event_start_time=y??null}}),b=T({get:()=>s.event_end_time??void 0,set:y=>{s.event_end_time=y??null}}),B=T({get:()=>s.event_type??void 0,set:y=>{s.event_type=y??null}}),I=T({get:()=>s.catering_type??void 0,set:y=>{s.catering_type=y??null}}),V=T({get:()=>s.technical_requirements??void 0,set:y=>{s.technical_requirements=y??null}}),$=T({get:()=>s.referral_source??void 0,set:y=>{s.referral_source=y??null}}),w=T({get:()=>s.guest_count??void 0,set:y=>{const _=y!==void 0&&y!==""?Number(y):null;s.guest_count=Number.isNaN(_)?null:_}}),U=T(()=>({...s,contact_person:s.contact_person??void 0,event_type:s.event_type??void 0,guest_count:s.guest_count??void 0,event_start_time:s.event_start_time??void 0,event_end_time:s.event_end_time??void 0,catering_type:s.catering_type??void 0,technical_requirements:s.technical_requirements??void 0,preferred_performer:s.preferred_performer??void 0,referral_source:s.referral_source??void 0,notes:s.notes??void 0})),H=ce("form"),X=E(Ae(me())),L=E(!1),ee=T(()=>{if(!s.event_date)return i("eventVenueRequestForm.placeholders.eventDate");const[y,_,k]=s.event_date.split("-");return`${y}.${_}.${k}`});ge(X,y=>{s.event_date=`${y.year}-${String(y.month).padStart(2,"0")}-${String(y.day).padStart(2,"0")}`,L.value=!1,H.value?.clear("event_date")});const F=E(null),C=E(!1),W=E(!1),j=E(!1),D=async()=>{if(!C.value){C.value=!0,j.value=!1;try{if(await d("/event-venue-request-form-submissions","POST",{...s}),W.value=!0,F.value){const y=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--ui-header-height"))||0,_=F.value.getBoundingClientRect().top+window.scrollY-y-100;window.scrollTo({top:_,behavior:"smooth"})}}catch{j.value=!0}finally{C.value=!1}}};return(y,_)=>{const k=ae,le=ye,K=Ve,J=fe,N=te,Z=Te,oe=Ie,Y=Fe,de=he,m=Ce,_e=ke,ue=G;return t(),a("div",{id:"event-venue-request-form",ref_key:"sectionRef",ref:F,class:"relative overflow-hidden bg-slate-900 py-14"},[_[18]||(_[18]=o("div",{class:"pointer-events-none absolute -right-48 -top-48 size-[600px] rounded-full bg-purple-700/20 blur-3xl"},null,-1)),_[19]||(_[19]=o("div",{class:"pointer-events-none absolute -bottom-48 -left-48 size-[800px] rounded-full bg-pink-900/20 blur-3xl"},null,-1)),r(ue,{class:"relative z-10 max-w-[904px]"},{default:u(()=>[l(W)?(t(),a("div",Rs,[r(k,{name:"i-lucide-circle-check",class:"size-16 text-green-600"}),o("p",js,p(y.$t("eventVenueRequestForm.success")),1)])):(t(),a(z,{key:1},[e.title||e.description?(t(),a("div",Is,[e.title?(t(),a("h2",Ps,p(e.title),1)):g("",!0),e.description?(t(),a("p",Os,p(e.description),1)):g("",!0)])):g("",!0),r(_e,{ref_key:"form",ref:H,schema:l(f),state:l(U),class:"flex flex-col gap-6",onSubmit:D},{default:u(()=>[o("div",Ls,[r(K,{label:y.$t("eventVenueRequestForm.fields.requesterName"),name:"requester_name",required:"",class:"[&_label]:text-white"},{default:u(()=>[r(le,{modelValue:l(s).requester_name,"onUpdate:modelValue":_[0]||(_[0]=q=>l(s).requester_name=q),placeholder:y.$t("eventVenueRequestForm.placeholders.requesterName"),size:"xl",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),r(K,{label:y.$t("eventVenueRequestForm.fields.contactPerson"),name:"contact_person",class:"[&_label]:text-white"},{default:u(()=>[r(le,{modelValue:l(s).contact_person,"onUpdate:modelValue":_[1]||(_[1]=q=>l(s).contact_person=q),placeholder:y.$t("eventVenueRequestForm.placeholders.contactPerson"),size:"xl",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),o("div",Es,[r(K,{label:y.$t("eventVenueRequestForm.fields.email"),name:"email",required:"",class:"[&_label]:text-white"},{default:u(()=>[r(le,{modelValue:l(s).email,"onUpdate:modelValue":_[2]||(_[2]=q=>l(s).email=q),type:"email",placeholder:y.$t("eventVenueRequestForm.placeholders.email"),size:"xl",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),r(K,{label:y.$t("eventVenueRequestForm.fields.phone"),name:"phone",required:"",class:"[&_label]:text-white"},{default:u(()=>[r(le,{modelValue:l(s).phone,"onUpdate:modelValue":_[3]||(_[3]=q=>l(s).phone=q),type:"tel",placeholder:y.$t("eventVenueRequestForm.placeholders.phone"),size:"xl",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),o("div",Ms,[r(K,{label:y.$t("eventVenueRequestForm.fields.eventType"),name:"event_type",required:"",class:"[&_label]:text-white"},{default:u(()=>[r(J,{modelValue:l(B),"onUpdate:modelValue":_[4]||(_[4]=q=>Q(B)?B.value=q:null),items:e.eventTypes??[],"value-key":"value",placeholder:y.$t("eventVenueRequestForm.placeholders.selectOption"),size:"xl",class:"w-full","search-input":{placeholder:y.$t("filters.selectSearch")}},{empty:u(()=>[o("span",Hs,p(y.$t("filters.noResultsFound")),1)]),_:1},8,["modelValue","items","placeholder","search-input"])]),_:1},8,["label"]),r(K,{label:y.$t("eventVenueRequestForm.fields.guestCount"),name:"guest_count",required:"",class:"[&_label]:text-white"},{default:u(()=>[r(le,{modelValue:l(w),"onUpdate:modelValue":_[5]||(_[5]=q=>Q(w)?w.value=q:null),type:"number",min:"1",placeholder:y.$t("eventVenueRequestForm.placeholders.guestCount"),size:"xl",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),o("div",Ds,[r(K,{label:y.$t("eventVenueRequestForm.fields.eventDate"),name:"event_date",required:"",class:"[&_label]:text-white"},{default:u(()=>[r(oe,{open:l(L),"onUpdate:open":_[7]||(_[7]=q=>Q(L)?L.value=q:null)},{content:u(()=>[r(Z,{modelValue:l(X),"onUpdate:modelValue":_[6]||(_[6]=q=>Q(X)?X.value=q:null),locale:"locale",color:"primary","month-controls":!0,"year-control
1s":!1,"week-starts-on":0,ui:{header:"py-0",gridBody:"mt-0 space-y-2 py-2 ",cellTrigger:"text-lg text-slate-600 data-[highlighted]:text-white data-[selected]:bg-primary data-[selected]:text-white cursor-pointer !h-8 !w-10",headCell:"!text-lg font-medium ",heading:"text-slate-600 text-lg mx-4"}},null,8,["modelValue"])]),default:u(()=>[r(N,{label:l(ee),color:"neutral",class:"w-full justify-between text-base font-medium",variant:"ghost",size:"lg",ui:{base:"text-neutral-400 bg-white rounded-md",trailingIcon:"text-neutral-500"},"trailing-icon":"i-lucide-calendar"},null,8,["label"])]),_:1},8,["open"])]),_:1},8,["label"]),o("div",Ns,[o("span",As,[M(p(y.$t("eventVenueRequestForm.fields.eventTime"))+" ",1),_[16]||(_[16]=o("span",{class:"text-primary"},"*",-1))]),o("div",Ys,[r(K,{name:"event_start_time",class:"flex-1"},{default:u(()=>[r(J,{modelValue:l(h),"onUpdate:modelValue":_[8]||(_[8]=q=>Q(h)?h.value=q:null),items:l(x),placeholder:y.$t("eventVenueRequestForm.placeholders.startTime"),size:"xl",class:"w-full","search-input":{placeholder:y.$t("filters.selectSearch")}},{empty:u(()=>[o("span",Gs,p(y.$t("filters.noResultsFound")),1)]),_:1},8,["modelValue","items","placeholder","search-input"])]),_:1}),_[17]||(_[17]=o("span",{class:"shrink-0 text-white"},"–",-1)),r(K,{name:"event_end_time",class:"flex-1"},{default:u(()=>[r(J,{modelValue:l(b),"onUpdate:modelValue":_[9]||(_[9]=q=>Q(b)?b.value=q:null),items:l(x),placeholder:y.$t("eventVenueRequestForm.placeholders.endTime"),size:"xl",class:"w-full","search-input":{placeholder:y.$t("filters.selectSearch")}},{empty:u(()=>[o("span",Ws,p(y.$t("filters.noResultsFound")),1)]),_:1},8,["modelValue","items","placeholder","search-input"])]),_:1})])])]),o("div",Ks,[r(K,{label:y.$t("eventVenueRequestForm.fields.cateringType"),name:"catering_type",class:"[&_label]:text-white"},{default:u(()=>[r(J,{modelValue:l(I),"onUpdate:modelValue":_[10]||(_[10]=q=>Q(I)?I.value=q:null),items:e.cateringTypes??[],"value-key":"value",placeholder:y.$t("eventVenueRequestForm.placeholders.selectOption"),size:"xl",class:"w-full","search-input":{placeholder:y.$t("filters.selectSearch")}},{empty:u(()=>[o("span",Js,p(y.$t("filters.noResultsFound")),1)]),_:1},8,["modelValue","items","placeholder","search-input"])]),_:1},8,["label"]),r(K,{label:y.$t("eventVenueRequestForm.fields.technicalRequirements"),name:"technical_requirements",class:"[&_label]:text-white"},{default:u(()=>[r(J,{modelValue:l(V),"onUpdate:modelValue":_[11]||(_[11]=q=>Q(V)?V.value=q:null),items:e.technicalRequirements??[],"value-key":"value",placeholder:y.$t("eventVenueRequestForm.placeholders.selectOption"),size:"xl",class:"w-full","search-input":{placeholder:y.$t("filters.selectSearch")}},{empty:u(()=>[o("span",Qs,p(y.$t("filters.noResultsFound")),1)]),_:1},8,["modelValue","items","placeholder","search-input"])]),_:1},8,["label"])]),o("div",Xs,[r(K,{label:y.$t("eventVenueRequestForm.fields.preferredPerformer"),name:"preferred_performer",class:"[&_label]:text-white"},{default:u(()=>[r(le,{modelValue:l(s).preferred_performer,"onUpdate:modelValue":_[12]||(_[12]=q=>l(s).preferred_performer=q),placeholder:y.$t("eventVenueRequestForm.placeholders.preferredPerformer"),size:"xl",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),r(K,{label:y.$t("eventVenueRequestForm.fields.referralSource"),name:"referral_source",class:"[&_label]:text-white"},{default:u(()=>[r(J,{modelValue:l($),"onUpdate:modelValue":_[13]||(_[13]=q=>Q($)?$.value=q:null),items:e.referralSources??[],"value-key":"value",placeholder:y.$t("eventVenueRequestForm.placeholders.selectOption"),size:"xl",class:"w-full","search-input":{placeholder:y.$t("filters.selectSearch")}},{empty:u(()=>[o("span",Zs,p(y.$t("filters.noResultsFound")),1)]),_:1},8,["modelValue","items","placeholder","search-input"])]),_:1},8,["label"])]),r(K,{label:y.$t("eventVenueRequestForm.fields.notes"),name:"notes",class:"[&_label]:text-white"},{default:u(()=>[o("div",eo,[r(Y,{modelValue:l(s).notes,"onUpdate:modelValue":_[14]||(_[14]=q=>l(s).notes=q),placeholder:y.$t("eventVenueRequestForm.placeholders.notes"),rows:5,maxlength:"360",size:"xl",class:"w-full"},null,8,["modelValue","placeholder"]),o("span",to,p(l(c))+"/360 ",1)])]),_:1},8,["label"]),o("div",lo,[r(K,{name:"privacy_accepted"},{default:u(()=>[o("div",no,[r(m,{modelValue:l(s).privacy_accepted,"onUpdate:modelValue":_[15]||(_[15]=q=>l(s).privacy_accepted=q)},{label:u(()=>[e.privacyText?(t(),a("span",{key:0,class:"text-sm text-white [&_a]:font-medium [&_a]:underline",innerHTML:l(n)(e.privacyText)},null,8,ao)):(t(),a("span",so,[M(p(y.$t("eventVenueRequestForm.fields.privacyPrefix"))+" ",1),r(de,{to:y.$t("eventVenueRequestForm.fields.privacyLink"),target:"_blank",class:"font-medium text-white underline"},{default:u(()=>[M(p(y.$t("eventVenueRequestForm.fields.privacyLinkText")),1)]),_:1},8,["to"]),M(" "+p(y.$t("eventVenueRequestForm.fields.privacySuffix")),1)]))]),_:1},8,["modelValue"])])]),_:1})]),l(j)?(t(),a("p",oo,p(y.$t("eventVenueRequestForm.error")),1)):g("",!0),o("div",ro,[r(N,{type:"submit",color:"primary",size:"xl",loading:l(C),disabled:l(C),class:"rounded-full px-8 font-bold"},{default:u(()=>[M(p(y.$t("eventVenueRequestForm.submit")),1)]),_:1},8,["loading","disabled"])])]),_:1},8,["schema","state"])],64))]),_:1})],512)}}}),co=Object.assign(io,{__name:"BlockEventVenueRequestForm"}
1),uo={class:"flex flex-col gap-4 rounded-lg border border-neutral-200 p-4 lg:gap-6 lg:p-6"},mo={class:"text-lg font-bold lg:text-2xl lg:font-extrabold"},po={class:"flex flex-col gap-4"},go=["href"],fo={class:"text-[15px]"},_o=R({__name:"ContactCard",props:{card:{}},setup(e){const i=n=>n.contact_type==="email"?`mailto:${n.contact}`:`tel:${n.contact}`,d=n=>n.icon?`i-lucide-${n.icon}`:n.contact_type==="email"?"i-lucide-mail":"i-lucide-phone";return(n,f)=>{const s=ae;return t(),a("div",uo,[o("h2",mo,p(e.card.title),1),o("div",po,[(t(!0),a(z,null,O(e.card.contacts,(c,x)=>(t(),a("a",{key:x,href:i(c),class:"flex items-center gap-2 hover:text-primary"},[r(s,{name:d(c),class:"size-6 shrink-0"},null,8,["name"]),o("span",fo,p(c.contact),1)],8,go))),128))])])}}}),ho=Object.assign(_o,{__name:"BlockContactCard"}),vo=e=>be({name:P().min(1,e("contactForm.validation.required")),subject:P().min(1,e("contactForm.validation.required")),email:P().email(e("contactForm.validation.email")),phone:P().min(1,e("contactForm.validation.required")),message:P().max(360,e("contactForm.validation.maxLength",{max:360})).optional().nullable(),location:P().min(1,e("contactForm.validation.required")),privacy_accepted:$e().refine(i=>i===!0,e("contactForm.validation.privacy"))}),xo={key:0,class:"mb-6 text-3xl font-bold sm:text-5xl lg:mb-10"},yo={class:"flex flex-col gap-4 lg:flex-row lg:items-start lg:gap-6"},bo={class:"flex flex-col gap-4 lg:w-[420px] lg:shrink-0 lg:gap-6 xl:w-[520px]"},$o={class:"flex-1 overflow-hidden rounded-lg border border-neutral-200 p-4 lg:p-6"},wo={key:0,class:"flex flex-col items-center gap-4 py-12 text-center"},ko={class:"text-lg font-medium"},Vo={class:"mb-4 flex flex-col gap-4 lg:mb-6"},Co={key:0,class:"text-2xl font-extrabold lg:text-4xl"},Fo=["innerHTML"],qo={class:"grid grid-cols-1 gap-6 sm:grid-cols-2"},To={class:"grid grid-cols-1 gap-6 sm:grid-cols-2"},Bo={class:"relative"},zo={class:"absolute bottom-2 right-3 text-sm"},Uo=["innerHTML"],So={key:1,class:"text-sm"},Ro={key:0,class:"text-sm text-primary"},jo=R({__name:"Contact",props:{title:{},cards:{},formTitle:{},formDescription:{},formPrivacyText:{},subjectOptions:{},locationOptions:{}},setup(e){const i=e,{t:d}=re(),n=we(),{$sanitize:f}=se(),s=T(()=>vo(d)),c=ve({name:"",subject:"",email:"",phone:"",message:null,location:"budapest",privacy_accepted:!1}),x=T(()=>c.message?.length??0),h=E(null),b=E(!1),B=E(!1),I=E(!1),V=async()=>{if(!b.value){b.value=!0,I.value=!1;try{if(await n("/contact-form-submissions","POST",{...c}),B.value=!0,h.value){const $=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--ui-header-height"))||0,w=h.value.getBoundingClientRect().top+window.scrollY-$-100;window.scrollTo({top:w,behavior:"smooth"})}}catch{I.value=!0}finally{b.value=!1}}};return($,w)=>{const U=ho,H=ae,X=ye,L=Ve,ee=fe,F=Fe,C=vt,W=he,j=Ce,D=te,y=ke,_=G;return t(),a("div",{ref_key:"sectionRef",ref:h,class:"relative overflow-hidden pt-10 pb-8 xl:py-14"},[r(_,{class:"relative z-10"},{default:u(()=>[e.title?(t(),a("h1",xo,p(e.title),1)):g("",!0),o("div",yo,[o("div",bo,[(t(!0),a(z,null,O(e.cards,(k,le)=>(t(),v(U,{key:le,card:k},null,8,["card"]))),128))]),o("div",$o,[l(B)?(t(),a("div",wo,[r(H,{name:"i-lucide-circle-check",class:"size-16 text-green-600"}),o("p",ko,p($.$t("contactForm.success")),1)])):(t(),a(z,{key:1},[o("div",Vo,[e.formTitle?(t(),a("h2",Co,p(e.formTitle),1)):g("",!0),e.formDescription?(t(),a("div",{key:1,class:"text-base text-(--ui-text) [&_a]:font-semibold [&_a]:text-primary",innerHTML:l(f)(e.formDescription)},null,8,Fo)):g("",!0)]),r(y,{id:"contact-form",schema:l(s),state:l(c),class:"flex flex-col gap-4 sm:gap-6",onSubmit:V},{default:u(()=>[o("div",qo,[r(L,{label:$.$t("contactForm.fields.name"),name:"name",required:""},{default:u(()=>[r(X,{modelValue:l(c).name,"onUpdate:modelValue":w[0]||(w[0]=k=>l(c).name=k),placeholder:$.$t("contactForm.placeholders.name"),size:"xl",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),r(L,{label:$.$t("contactForm.fields.subject"),name:"subject",required:""},{default:u(()=>[r(ee,{modelValue:l(c).subject,"onUpdate:modelValue":w[1]||(w[1]=k=>l(c).subject=k),items:i.subjectOptions,placeholder:$.$t("contactForm.placeholders.subject"),"value-key":"value",size:"xl",class:"w-full border-neutral-300 border",ui:{base:"dark:!border-neutral-700"}},null,8,["modelValue","items","placeholder"])]),_:1},8,["label"])]),o("div",To,[r(L,{label:$.$t("contactForm.fields.email"),name:"email",required:""},{default:u(()=>[r(X,{modelValue:l(c).email,"onUpdate:modelValue":w[2]||(w[2]=k=>l(c).email=k),type:"email",placeholder:$.$t("contactForm.placeholders.email"),size:"xl",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"]),r(L,{label:$.$t("contactForm.fields.phone"),name:"phone",required:""},{default:u(()=>[r(X,{modelValue:l(c).phone,"onUpdate:modelValue":w[3]||(w[3]=k=>l(c).phone=k),type:"tel",placeholder:$.$t("contactForm.placeholders.phone"),size:"xl",class:"w-full"},null,8,["modelValue","placeholder"])]),_:1},8,["label"])]),r(L,{label:$.$t("contactForm.fields.message"),name:"message"},{default:u(()=>[o("div",Bo,[r(F,{modelValue:l(c).message,"onUpdate:modelValue":w[4]||(w[4]=k=>l(c).message=k),placeholder:$.$t("contactForm.placeholders.message"),rows:5,maxlength:"360",size:"xl",class:"w-full"},null,8,["modelValue","placeholder"]),o("span",zo,p(l(x))+"/360 ",1)])]),_:1},8,["label"]),r(L,{label:$.$t("contactForm.fields.location"),name:"location",required:""},{default:u(()=>[r(C,{modelValue:l(c).location,"onUpdate:modelValue":w[5]||(w[5]=k=>l(c).location=k),items:i.locationOptions,orientation:"horizontal",class:"gap-6"},null,8,["modelValue","items"])]),_:1},8,["label"]),r(L,{name:"privacy_accepted"},{default:u(()=>[r(j,{modelValue:l(c).privacy_accepted,"onUpdate:modelValue":w[6]||(w[6]=k=>l(c).privacy_accepted=k)},{label:u(()=>[e.formPrivacyText?(t(),a("span",{key:0,class:"text-sm [&_a]:font-semibold [&_a]:text-primary",innerHTML:l(f)(e.formPrivacyText)},null,8,Uo)):(t(),a("span",So,[M(p($.$t("contactForm.fields.privacyPrefix"))+" ",1),r(W,{to:$.$t("contactForm.fields.privacyLink"),target:"_blank",class:"font-semibold text-primary"},{default:u(()=>[M(p($.$t("contactForm.fields.privacyLinkText")),1)]),_:1},8,["to"]),M(" "+p($.$t("contactForm.fields.privacySuffix")),1)]))]),_:1},8,["modelValue"])]),_:1}),l(I)?(t(),a("p",Ro,p($.$t("contactForm.error")),1)):g("",!0),o("div",null,[r(D,{type:"submit",color:"primary",loading:l(b),disabled:l(b),size:"xl",class:"rounded-full px-6 font-bold"},{default:u(()=>[M(p($.$t("contactForm.submit")),1)]),_:1},8,["loading","disabled"])])]),_:1},8,["schema","state"])],64))])])]),_:1})],512)}}}),Io=Object.assign(jo,{__name:"BlockContact"}),Po=["innerHTML"],Oo=R({__name:"Editor",props:{content:{},narrow:{type:Boolean}},setup(e){const{$sanitize:i}=se();return(d,n)=>{const f=G;return t(),v(f,{class:A({"container-narrow":e.narrow})},{default:u(()=>[o("div",{class:"editor-content",innerHTML:l(i)(e.content)},null,8,Po)]),_:1},8,["class"])}}}),Lo=Object.assign(Oo,{__name:"BlockEditor"}),Eo={class:"bg-white dark:bg-slate-800 border border-slate-200 dark:border-slate-700 flex flex-col md:flex-row items-start overflow-hidden rounded-md md:rounded-lg md:h-[152px] w-full md:w-auto h-full"},Mo={class:"relative w-full md:w-64 aspect-[310/174] md:aspect-auto md:h-[152px] flex-shrink-0"},Ho=["src","alt"],Do={class:"flex-1 flex flex-col md:flex-row gap-2 md:gap-4 items-start p-4 min-w-0 
1w-full"},No={class:"flex-1 flex flex-col gap-2 min-w-0 w-full"},Ao={class:"flex flex-col gap-2 items-start text-sm leading-5"},Yo={class:"font-bold text-slate-950 dark:text-white shrink-0"},Go={class:"font-medium text-slate-500 dark:text-slate-400 truncate w-full"},Wo={class:"text-lg font-bold text-slate-900 dark:text-white leading-6 line-clamp-2 overflow-hidden text-ellipsis"},Ko={key:0,class:"flex flex-wrap gap-2"},Jo={class:"text-sm font-medium text-slate-500 dark:text-slate-400 leading-5"},Qo={class:"flex flex-col gap-2 justify-end shrink-0 w-full md:w-auto md:flex-col mt-auto"},Xo=R({__name:"UpcomingEventCard",props:{event:{}},setup(e){return(i,d)=>{const n=te;return t(),a("div",Eo,[o("div",Mo,[o("img",{src:e.event.image,alt:e.event.title,class:"w-full h-full object-cover"},null,8,Ho),d[0]||(d[0]=o("div",{class:"absolute inset-0 bg-black/5"},null,-1))]),o("div",Do,[o("div",No,[o("div",Ao,[o("p",Yo,p(e.event.date),1),o("p",Go,p(e.event.location),1)]),o("h3",Wo,p(e.event.title),1),e.event.performer||e.event.host?(t(),a("div",Ko,[o("p",Jo,p(e.event.performer||e.event.host),1)])):g("",!0)]),o("div",Qo,[e.event.detailsUrl?(t(),v(n,{key:0,to:e.event.detailsUrl,color:"secondary",variant:"outline",size:"lg",class:"rounded-full px-3 py-4 w-full md:min-w-44.5 justify-center"},{default:u(()=>[...d[1]||(d[1]=[M(" Részletek ",-1)])]),_:1},8,["to"])):g("",!0),e.event.ticketUrl?(t(),v(n,{key:1,to:e.event.ticketUrl,color:"primary",variant:"solid",size:"lg",class:"rounded-full px-6 py-4 w-full md:min-w-44.5 justify-center"},{default:u(()=>[...d[2]||(d[2]=[M(" Jegyvásárlás ",-1)])]),_:1},8,["to"])):g("",!0)])])])}}}),Zo=Object.assign(Xo,{__name:"UpcomingEventsUpcomingEventCard"}),er={class:"py-10 md:py-14 text-slate-900 dark:text-white"},tr={class:"hidden md:flex flex-row items-center justify-between gap-4 mb-6"},lr={class:"text-4xl font-bold"},nr={class:"text-3xl font-extrabold mb-6 md:hidden"},ar={class:"md:hidden flex flex-col items-start gap-6"},sr={class:"h-full"},or={class:"flex gap-3 items-start h-2 self-center"},rr=["aria-label","onClick"],ir={class:"hidden md:flex flex-col gap-4"},cr=R({__name:"DontMissOut",props:{events:{},title:{}},setup(e){const i=e,d=T(()=>i.title??n("dontMissOut.title")),{t:n}=re(),f=ie(),s=ce("carousel"),c=E(0);return ge(()=>s.value?.emblaApi,(x,h,b)=>{if(!x)return;const B=()=>{c.value=x.selectedScrollSnap()};x.on("select",B),B(),b(()=>x.off("select",B))}),(x,h)=>{const b=ae,B=te,I=Zo,V=xe,$=G;return t(),a("section",er,[r($,null,{default:u(()=>[o("header",tr,[o("h2",lr,p(l(d)),1),r(B,{class:"px-0 group",to:l(f)({name:"events"}),variant:"link",color:"primary",size:"xl","trailing-icon":"i-lucide-arrow-right"},{trailing:u(()=>[r(b,{name:"i-lucide-arrow-right",class:"size-6 transition-transform duration-300 group-hover:translate-x-1"})]),default:u(()=>[M(p(l(n)("dontMissOut.viewAll"))+" ",1)]),_:1},8,["to"])]),o("h2",nr,p(l(d)),1),o("div",ar,[r(V,{ref_key:"carousel",ref:s,items:e.events,draggable:"",options:{align:"start",containScroll:!1},ui:{item:"basis-[calc(100%_-_16px)] ps-4 min-[480px]:basis-[310px] min-[480px]:ps-0 shrink-0",container:"-ms-4 min-[480px]:ms-0 min-[480px]:gap-4 items-stretch justify-start",viewport:"overflow-visible"},class:"w-full"},{default:u(({item:w})=>[o("div",sr,[r(I,{event:w},null,8,["event"])])]),_:1},8,["items"]),o("div",or,[(t(!0),a(z,null,O(e.events,(w,U)=>(t(),a("button",{key:w.id,class:A(["transition-all duration-300 rounded-full w-2 h-2 cursor-pointer",U===l(c)?"bg-primary":"bg-slate-300 dark:bg-slate-600"]),"aria-label":`Go to slide ${Number(U)+1}`,onClick:H=>l(s)?.emblaApi?.scrollTo(U)},null,10,rr))),128))]),r(B,{to:l(f)({name:"events"}),variant:"link",color:"secondary",size:"lg",class:"px-2 py-4 group flex items-center gap-2 self-center"},{default:u(()=>[M(p(l(n)("dontMissOut.viewAll"))+" ",1),r(b,{name:"i-lucide-arrow-right",class:"size-6 transition-transform duration-300 group-hover:translate-x-1"})]),_:1},8,["to"])]),o("div",ir,[(t(!0),a(z,null,O(e.events,w=>(t(),v(I,{key:w.id,event:w},null,8,["event"]))),128))])]),_:1})])}}}),dr=Object.assign(cr,{__name:"UpcomingEventsDontMissOut"}
1),ur=R({__name:"LatestEvents",props:{title:{},events:{}},setup(e){const i=ie(),d=qe("timezone",()=>"Europe/Budapest"),n=e,f=T(()=>n.events.map(s=>({id:s.slug,image:s.images[0]?.url??"",date:Ne(s.date_from,d.value),location:s.audit?.name??"",title:s.program.name,performer:s.actors.map(c=>`${c.last_name} ${c.first_name}`).join(", ")||void 0,ticketUrl:s.ticket_url,detailsUrl:i({name:"events-slug",params:{slug:s.slug}})})));return(s,c)=>{const x=dr;return t(),v(x,{events:l(f),title:e.title},null,8,["events","title"])}}}),mr=Object.assign(ur,{__name:"BlockLatestEvents"}),pr=R({__name:"HighlightedNews",props:{title:{},news:{}},setup(e){const i=Le(),d=ie(),n=i.public.carbonCleanCategorySlug,f=s=>s.categories.some(c=>c.slug===n);return(s,c)=>{const x=bt,h=He,b=G;return t(),v(b,null,{default:u(()=>[r(h,{items:e.news,title:e.title,"view-more":{title:s.$t("news.viewAll"),url:l(d)({name:"news"})}},{default:u(({item:B})=>[r(x,{class:"h-full",news:B,"carbon-clean":f(B)},null,8,["news","carbon-clean"])]),_:1},8,["items","title","view-more"])]),_:1})}}}),gr=Object.assign(pr,{__name:"BlockHighlightedNews"}),fr={class:"flex justify-center items-center"},_r={__name:"Loader",props:{size:{type:String,default:""}},setup(e){return(i,d)=>(t(),a("div",fr,[o("div",{class:A(["border-transparent border-t-primary rounded-full animate-spin",e.size==="sm"?"w-6 h-6 border-2":"w-12 h-12 border-4"])},null,2)]))}},hr={slots:{root:"rounded-lg overflow-hidden",header:"p-4 sm:px-6",body:"p-4 sm:p-6",footer:"p-4 sm:px-6"},variants:{variant:{solid:{root:"bg-inverted text-inverted"},outline:{root:"bg-default ring ring-default divide-y divide-default"},soft:{root:"bg-elevated/50 divide-y divide-default"},subtle:{root:"bg-elevated/50 ring ring-default divide-y divide-default"}}},defaultVariants:{variant:"outline"}},vr={__name:"UCard",props:{as:{type:null,required:!1},variant:{type:null,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1}},setup(e){const i=e,d=Se(),n=Re(),f=T(()=>pe({extend:pe(hr),...n.ui?.card||{}})({variant:i.variant}));return(s,c)=>(t(),v(l(je),{as:e.as,"data-slot":"root",class:A(f.value.root({class:[i.ui?.root,i.class]}))},{default:u(()=>[d.header?(t(),a("div",{key:0,"data-slot":"header",class:A(f.value.header({class:i.ui?.header}))},[ne(s.$slots,"header")],2)):g("",!0),d.default?(t(),a("div",{key:1,"data-slot":"body",class:A(f.value.body({class:i.ui?.body}))},[ne(s.$slots,"default")],2)):g("",!0),d.footer?(t(),a("div",{key:2,"data-slot":"footer",class:A(f.value.footer({class:i.ui?.footer}))},[ne(s.$slots,"footer")],2)):g("",!0)]),_:3},8,["as","class"]))}},xr={class:"text-sm text-slate-500 dark:text-slate-400 mb-1 flex items-center gap-1"},yr={class:"block"},br={key:0,class:"w-px h-[12px] bg-slate-400 dark:bg-slate-600"},$r={key:1,class:"block"},wr={class:"text-base font-bold text-slate-900 dark:text-white mb-1"},kr={key:0,class:"text-sm text-slate-500 dark:text-slate-400"},Vr=R({__name:"EventCard",props:{event:{}},setup(e){const i=T(()=>({root:"bg-white dark:bg-slate-800 border border-slate-200 dark:border-slate-700 rounded-lg px-4 py-2 h-full hover:border-brand-500 dark:hover:border-brand-500 transition-colors cursor-pointer",body:"p-0 sm:p-0"})),d=qe("timezone");return(n,f)=>{const s=vr;return t(),v(s,{ui:l(i)},{default:u(()=>[o("div",xr,[o("span",yr,p(("formatTimeFromDateTime"in n?n.formatTimeFromDateTime:l(mt))(e.event.date_from,l(d))),1),e.event.city?(t(),a("div",br)):g("",!0),e.event.city?(t(),a("span",$r,p(e.event.city.name),1)):g("",!0)]),o("h3",wr,p(e.event.program.name),1),e.event.actors?(t(),a("p",kr,p(e.event.actors.map(c=>c.last_name+" "+c.first_name).join(", ")),1)):g("",!0)]),_:1},8,["ui"])}}}),Cr=Object.assign(Vr,{__name:"ProgramCalendarEventCard"}),Fr=R({__name:"EventItem",props:{event:{}},setup(e){return(i,d)=>{const n=Cr,f=tt;return e.event.ticket_url?(t(),v(f,{key:0,to:e.event.ticket_url,external:!0,target:"_blank",class:"block"},{default:u(()=>[r(n,{event:e.event},null,8,["event"])]),_:1},8,["to"])):(t(),v(n,{key:1,event:e.event},null,8,["event"]))}}}),qr=Object.assign(Fr,{__name:"ProgramCalendarEventItem"}),Tr={class:"flex flex-col h-full"},Br={class:"text-sm text-slate-400 font-bold dark:text-slate-400 mb-2 capitalize"},zr={key:0},Ur={class:"flex items-center justify-between mb-2"}
1,Sr={class:"text-2xl font-bold text-slate-950 dark:text-white"},Rr={key:0,class:"rounded-full px-2 py-1 justify-center items-center gap-0 md:inline-flex border-solid border-secondary border"},jr={class:"grid grid-cols-1 md:grid-cols-2 gap-2"},Ir={key:1,class:"flex flex-col h-full justify-center items-center"},Pr={class:"text-lg text-slate-500 dark:text-slate-400 mb-2"},Be=8,Or=R({__name:"EventList",props:{selectedDate:{},events:{}},setup(e){const i=e,d=T(()=>pt(i.selectedDate)),n=T(()=>i.events.length>Be),f=T(()=>{const h=[];for(let b=0;b<i.events.length;b+=Be)h.push(i.events.slice(b,b+Be));return h}),s=ce("carousel");function c(){s.value?.emblaApi?.scrollPrev()}function x(){s.value?.emblaApi?.scrollNext()}return(h,b)=>{const B=te,I=qr,V=xe;return t(),a("div",Tr,[o("p",Br,p(l(d)),1),e.events.length>0?(t(),a("div",zr,[o("div",Ur,[o("h3",Sr,p(h.$t("programCalendar.performances")),1),l(n)?(t(),a("div",Rr,[r(B,{icon:"i-lucide-arrow-left",variant:"ghost",color:"secondary",onClick:c}),r(B,{icon:"i-lucide-arrow-right",variant:"ghost",color:"secondary",onClick:x})])):g("",!0)]),(t(),v(V,{key:l(d),ref_key:"carousel",ref:s,items:l(f),"watch-drag":l(n),ui:{item:"basis-full ps-4",container:"-ms-4"},class:"flex-1 min-h-0"},{default:u(({item:$})=>[o("div",jr,[(t(!0),a(z,null,O($,(w,U)=>(t(),v(I,{key:U,event:w},null,8,["event"]))),128))])]),_:1},8,["items","watch-drag"]))])):(t(),a("div",Ir,[o("p",Pr,p(h.$t("programCalendar.noPerformances")),1)]))])}}}),Lr=Object.assign(Or,{__name:"ProgramCalendarEventList"}),Er={class:"py-14 text-slate-900 dark:text-white calendar-section"},Mr={class:"flex flex-col sm:flex-row sm:items-center sm:justify-between gap-4 mb-8"},Hr={class:"text-4xl font-bold"},Dr={class:"grid grid-cols-1 lg:grid-cols-12 gap-10"},Nr={class:"flex flex-col col-span-1 lg:col-span-4"},Ar={class:"col-span-1 lg:col-span-8"},Yr={key:0,class:"flex justify-center items-center h-full"},Gr=R({__name:"ProgramCalendar",props:{title:{default:void 0}},async setup(e){let i,d;const{t:n,locale:f}=re(),s=e,c=ie(),x=qe("timezone"),h=gt(x.value),b=lt(new Ue(h.getFullYear(),h.getMonth()+1,h.getDate())),B=new Ue(h.getFullYear(),h.getMonth()+1,h.getDate()),I=T(()=>Pe(b.value,"00:00:00")),V=T(()=>Pe(b.value,"23:59:59")),$=T(()=>({"filters[date_from]":I.value,"filters[date_to]":V.value,perPage:100})),{data:w,status:U}=([i,d]=nt(()=>$t("/events",{query:$})),i=await i,d(),i),H=T(()=>w.value?.data||[]);return(X,L)=>{const ee=ae,F=te,C=Te,W=_r,j=Lr,D=G;return t(),a("section",Er,[r(D,null,{default:u(()=>[o("header",Mr,[o("h2",Hr,p(s.title??l(n)("programCalendar.title")),1),r(F,{class:"px-0 group",to:l(c)({name:"events"}),variant:"link",color:"secondary",size:"xl","trailing-icon":"i-lucide-arrow-right"},{trailing:u(()=>[r(ee,{name:"i-lucide-arrow-right",class:"size-6 transition-transform duration-300 group-hover:translate-x-1"})]),default:u(()=>[M(p(l(n)("programCalendar.allPerformances"))+" ",1)]),_:1},8,["to"])]),o("div",Dr,[o("div",Nr,[r(C,{modelValue:l(b),"onUpdate:modelValue":L[0]||(L[0]=y=>Q(b)?b.value=y:null),"min-value":l(B),"prevent-deselect":!0,"month-controls":!0,"year-controls":!1,"week-starts-on":0,locale:l(f),color:"primary"},null,8,["modelValue","min-value","locale"])]),o("div",Ar,[l(U)==="pending"?(t(),a("div",Yr,[r(W)])):(t(),v(j,{key:1,"selected-date":l(b),events:l(H)},null,8,["selected-date","events"]))])])]),_:1})])}}}),Wr=Object.assign(Gr,{__name:"ProgramCalendar"}),Kr=R({__name:"EventCalendar",props:{title:{}},setup(e){return(i,d)=>{const n=Wr;return t(),a("div",null,[r(n,{title:e.title},null,8,["title"])])}}}),Jr=Object.assign(Kr,{__name:"BlockEventCalendar"}),Qr=["onClick"],Xr=["src","alt"],Zr={class:"hidden lg:grid grid-cols-3 gap-6"},ei=["onClick"],ti=["src","alt"],li=["src","alt"],ni={key:2,class:"absolute bottom-4 text-white text-sm opacity-60"},ai=R({__name:"Gallery",props:{images:{}},setup(e){const i=e,d=E(!1),n=E(0);function f(b){n.value=b,d.value=!0}function s(){d.value=!1}function c(){n.value=(n.value-1+i.images.length)%i.images.length}function x(){n.value=(n.value+1)%i.images.length}function h(b){if(d.value)switch(b.key){case"ArrowLeft":c();break;case"ArrowRight":x();break;case"Escape":s();break}}return Me(()=>window.addEventListener("keydown",h)),at(()=>window.removeEventListener("keydown",h)),(b,B)=>{const I=xe,V=G,$=ae;return t(),a(z,null,[r(V,{class:"py-10 lg:py-14"},{default:u(()=>[r(I,{items:e.images,"watch-drag":!0,ui:{item:"basis-full",dot:"size-3 rounded-full bg-slate-300 data-[state=active]:bg-primary transition-colors"},dots:"",class:"lg:hidden"},{default:u(({item:w,index:U})=>[o("button",{class:"w-full overflow-hidden rounded-lg focus:outline-none focus-visible:ring-2 focus-visible:ring-primary",onClick:H=>f(U)},[o("img",{src:w.url,alt:`Gallery image ${U+1}`,class:"w-full aspect-310/178 object-cover"},null,8,Xr)],8,Qr)]),_:1},8,["items"]),o("div",Zr,[(t(!0),a(z,null,O(e.images,(w,U)=>(t(),a("button",{key:U,class:"overflow-hidden rounded-lg focus:outline-none focus-visible:ring-2 focus-visible:ring-primary",onClick:H=>f(U)},[o("img",{src:w.url,alt:`Gallery image ${U+1}`,class:"w-full aspect-310/178 object-cover transition-transform duration-300 hover:scale-105"},null,8,ti)],8,ei))),128))])]),_:1}),(t(),v(rt,{to:"body"},[r(ot,{name:"fade"},{default:u(()=>[l(d)?(t(),a("div",{key:0,class:"fixed inset-0 z-50 flex items-center justify-center bg-black/90",onClick:st(s,["self"])},[o("button",{class:"absolute top-4 right-4 text-white opacity-80 hover:opacity-100 transition-opacity","aria-label":"Close",onClick:s},[r($,{name:"i-lucide-x",class:"size-8"}
1)]),e.images.length>1?(t(),a("button",{key:0,class:"absolute left-4 text-white opacity-80 hover:opacity-100 transition-opacity","aria-label":"Previous",onClick:c},[r($,{name:"i-lucide-chevron-left",class:"size-10"})])):g("",!0),o("img",{src:e.images[l(n)].url,alt:`Gallery image ${l(n)+1}`,class:"max-h-[90vh] max-w-[90vw] object-contain rounded-lg select-none"},null,8,li),e.images.length>1?(t(),a("button",{key:1,class:"absolute right-4 text-white opacity-80 hover:opacity-100 transition-opacity","aria-label":"Next",onClick:x},[r($,{name:"i-lucide-chevron-right",class:"size-10"})])):g("",!0),e.images.length>1?(t(),a("div",ni,p(l(n)+1)+" / "+p(e.images.length),1)):g("",!0)])):g("",!0)]),_:1})]))],64)}}}),si=Object.assign(ai,{__name:"BlockGallery"}),oi={key:0,class:"text-2xl font-extrabold text-highlighted"},ri={class:"grid grid-cols-1 md:grid-cols-2 gap-5"},ii={key:0,class:"flex-1 min-w-0 bg-default border border-default rounded p-6"},ci=["innerHTML"],di={key:1,class:"flex-1 min-w-0 min-h-80 border border-default rounded-lg overflow-hidden"},ui=["src","alt"],mi=R({__name:"SupportSection",props:{title:{},items:{}},setup(e){const{$sanitize:i}=se();return(d,n)=>{const f=G;return t(),v(f,{class:"py-10 lg:py-14 flex flex-col gap-4"},{default:u(()=>[e.title?(t(),a("h2",oi,p(e.title),1)):g("",!0),o("div",ri,[(t(!0),a(z,null,O(e.items,(s,c)=>(t(),a(z,{key:c},[s.type==="editor"?(t(),a("div",ii,[o("div",{class:"prose prose-sm max-w-none editor-content",innerHTML:l(i)(s.data.content)},null,8,ci)])):s.type==="image"?(t(),a("div",di,[s.data.url?(t(),a("img",{key:0,src:s.data.url,alt:s.data.alt??"",class:"w-full h-full object-cover"},null,8,ui)):g("",!0)])):g("",!0)],64))),128))])]),_:1})}}}),pi=Object.assign(mi,{__name:"BlockSupportSection"}),gi={class:"flex flex-col gap-6 rounded-lg border border-default bg-white px-4 py-3 dark:bg-slate-800 lg:flex-row lg:items-baseline lg:gap-14"},fi={class:"flex min-w-0 flex-1 flex-col gap-2"},_i={class:"text-lg font-bold text-highlighted dark:text-white lg:text-xl"},hi={key:0,class:"text-sm text-highlighted lg:text-base"},vi={key:1,class:"flex h-8 items-center gap-4"},xi={key:0,class:"text-sm text-muted dark:text-white"},yi={key:1,class:"flex items-center gap-2"},bi={key:1,class:"text-sm font-bold text-highlighted"},$i={key:0,class:"shrink-0 text-right text-xl font-bold text-primary"},wi=R({__name:"ItemCard",props:{title:{},description:{},allergenText:{},carbonIcon:{},carbonIconColor:{},carbonText:{},price:{}},setup(e){return(i,d)=>{const n=ae;return t(),a("div",gi,[o("div",fi,[o("p",_i,p(e.title),1),e.description?(t(),a("p",hi,p(e.description),1)):g("",!0),e.allergenText||e.carbonIcon||e.carbonText?(t(),a("div",vi,[e.allergenText?(t(),a("p",xi,p(e.allergenText),1)):g("",!0),e.carbonIcon||e.carbonText?(t(),a("div",yi,[e.carbonIcon?(t(),v(n,{key:0,name:`i-lucide-${e.carbonIcon}`,class:"size-6 shrink-0",style:Ee(e.carbonIconColor?{color:e.carbonIconColor}:{})},null,8,["name","style"])):g("",!0),e.carbonText?(t(),a("p",bi,p(e.carbonText),1)):g("",!0)])):g("",!0)])):g("",!0)]),e.price?(t(),a("p",$i,p(e.price),1)):g("",!0)])}}}),ki=Object.assign(wi,{__name:"MenuItemCard"}),Vi={class:"relative flex flex-col gap-4 overflow-hidden rounded-lg bg-neutral-900 p-6 text-white dark:ring-1 dark:ring-inset dark:ring-neutral-600"},Ci={class:"relative text-2xl font-extrabold"},Fi=["innerHTML"],qi={key:1,class:"relative mt-auto text-right text-2xl font-extrabold"},Ti=R({__name:"TextCard",props:{title:{},text:{},price:{}},setup(e){const{$sanitize:i}=se();return(d,n)=>(t(),a("div",Vi,[n[0]||(n[0]=o("div",{class:"pointer-events-none absolute -bottom-24 -left-28 size-64 rounded-full bg-primary/40 blur-3xl"},null,-1)),n[1]||(n[1]=o("div",{class:"pointer-events-none absolute -right-28 -top-16 h-64 w-48 rounded-full bg-purple-700/30 blur-3xl"},null,-1)),o("p",Ci,p(e.title),1),e.text?(t(),a("div",{key:0,class:"prose prose-invert prose-sm relative max-w-none grow",innerHTML:l(i)(e.text)},null,8,Fi)):g("",!0),e.price?(t(),a("p",qi,p(e.price),1)):g("",!0)]))}}),Bi=Object.assign(Ti,{__name:"MenuTextCard"}),zi={class:"relative flex flex-col gap-4 overflow-hidden rounded-lg bg-neutral-900 p-6 text-white dark:ring-1 dark:ring-inset dark:ring-neutral-600"},Ui={class:"relative text-2xl font-extrabold"},Si={class:"relative flex flex-1 flex-col gap-2"},Ri={class:"flex-1 text-base"},ji={key:0,class:"relative mt-auto text-right text-2xl font-extrabold"},Ii=R({__name:"IconCard",props:{title:{},price:{},items:{}},setup(e){return(i,d)=>{const n=ae;return t(),a("div",zi,[d[0]||(d[0]=o("div",{class:"pointer-events-none absolute -bottom-24 -left-28 size-64 rounded-full bg-primary/40 blur-3xl dark:bg-primary/40"},null,-1)),d[1]||(d[1]=o("div",{class:"pointer-events-none absolute -right-28 -top-16 h-64 w-48 rounded-full bg-purple-700/30 blur-3xl dark:bg-purple-700/30"}
1,null,-1)),o("p",Ui,p(e.title),1),o("div",Si,[(t(!0),a(z,null,O(e.items,(f,s)=>(t(),a("div",{key:s,class:"flex items-start gap-2"},[f.icon?(t(),v(n,{key:0,name:`i-lucide-${f.icon}`,class:"size-6 shrink-0 text-primary"},null,8,["name"])):g("",!0),o("p",Ri,p(f.text),1)]))),128))]),e.price?(t(),a("p",ji,p(e.price),1)):g("",!0)])}}}),Pi=Object.assign(Ii,{__name:"MenuIconCard"}),Oi={key:0,class:"flex flex-col gap-8"},Li={class:"lg:hidden"},Ei={class:"hidden w-full overflow-hidden rounded-lg p-1 lg:flex"},Mi=["onClick"],Hi={key:0,class:"flex flex-col gap-10"},Di={key:0,class:"text-3xl font-extrabold text-highlighted"},Ni={key:1,class:"flex flex-col gap-3"},Ai={key:2,class:"grid grid-cols-1 gap-4 md:grid-cols-2 lg:grid-cols-3"},Yi=R({__name:"Menu",props:{tabs:{}},setup(e){const i=e,d=E(0),n=T(()=>i.tabs[d.value]??null),f=T(()=>i.tabs.map((s,c)=>({label:s.tab_title,value:c})));return(s,c)=>{const x=fe,h=ki,b=Bi,B=Pi,I=G;return t(),v(I,{class:"py-10 lg:py-14"},{default:u(()=>[e.tabs.length?(t(),a("div",Oi,[o("div",Li,[r(x,{modelValue:l(d),"onUpdate:modelValue":c[0]||(c[0]=V=>Q(d)?d.value=V:null),items:l(f),"value-key":"value","label-key":"label","search-input":!1,class:"w-full",ui:{base:"rounded-lg px-6 py-3 text-base font-medium !ring-1 !ring-inset !ring-neutral-950 dark:!ring-neutral-600"}},null,8,["modelValue","items"])]),o("div",Ei,[(t(!0),a(z,null,O(e.tabs,(V,$)=>(t(),a("button",{key:$,class:A(["flex flex-1 items-center justify-center px-2 pb-1 pt-1 text-sm font-medium transition-colors",l(d)===$?"border-b-2 border-primary text-primary":"text-muted hover:text-highlighted border-b-2 border-neutral-200 dark:border-neutral-600"]),onClick:w=>d.value=$},p(V.tab_title),11,Mi))),128))]),l(n)?(t(),a("div",Hi,[(t(!0),a(z,null,O(l(n).sections,(V,$)=>(t(),a("div",{key:$,class:"flex flex-col gap-4"},[V.data.section_title?(t(),a("h3",Di,p(V.data.section_title),1)):g("",!0),V.type==="menu_items"?(t(),a("div",Ni,[(t(!0),a(z,null,O(V.data.cards,(w,U)=>(t(),v(h,{key:U,title:w.title,description:w.description,"allergen-text":w.allergen_text,"carbon-icon":w.carbon_icon,"carbon-icon-color":w.carbon_icon_color,"carbon-text":w.carbon_text,price:w.price},null,8,["title","description","allergen-text","carbon-icon","carbon-icon-color","carbon-text","price"]))),128))])):V.type==="card_section"?(t(),a("div",Ai,[(t(!0),a(z,null,O(V.data.cards,(w,U)=>(t(),a(z,{key:U},[w.type==="text_card"?(t(),v(b,{key:0,title:w.data.title,text:w.data.text,price:w.data.price},null,8,["title","text","price"])):w.type==="icon_card"?(t(),v(B,{key:1,title:w.data.title,price:w.data.price,items:w.data.items},null,8,["title","price","items"])):g("",!0)],64))),128))])):g("",!0)]))),128))])):g("",!0)])):g("",!0)]),_:1})}}}),Gi=Object.assign(Yi,{__name:"BlockMenu"}),Wi={class:"flex flex-col gap-6 lg:flex-row lg:items-center"},Ki={class:"flex flex-1 flex-col gap-4 lg:py-6"},Ji={key:0,class:"text-3xl font-extrabold text-slate-900 dark:text-white lg:text-4xl"},Qi={key:1,class:"flex flex-col gap-2 lg:flex-row lg:flex-wrap lg:gap-x-10 lg:gap-y-3"},Xi={class:"text-sm font-bold text-slate-900 dark:text-white"},Zi={key:2,class:"flex flex-col gap-1"},ec={key:3,class:"text-base font-bold text-slate-900 dark:text-white"},tc={key:4,class:"flex flex-col gap-2 lg:flex-row lg:flex-wrap lg:gap-6"},lc=["href"],nc={class:"flex flex-1 self-stretch"},ac={class:"relative flex min-h-64 w-full items-center justify-center overflow-hidden rounded-lg px-6 py-10 lg:p-12"},sc=["src"],oc={key:1,class:"absolute inset-0 rounded-lg bg-primary"},rc={class:"relative flex flex-col items-center gap-4"},ic={key:0,class:"text-center text-xl text-white lg:text-2xl"},cc={key:1,class:"flex items-center gap-2"},dc={class:"text-base font-bold text-white lg:text-2xl lg:font-extrabold"},uc={key:2,class:"flex items-center gap-2"},mc=["href"],pc={key:3,class:"flex items-center gap-2"},gc=["href"],fc=R({__name:"VenueInfo",props:{title:{},badges:{},description:{},eventTypesLabel:{},buttons:{},cardIntro:{},cardImage:{},contactName:{},contactPhone:{},contactEmail:{}},setup(e){return(i,d)=>{const n=ae,f=G;return t(),v(f,{class:"py-10 lg:py-14"},{default:u(()=>
1[o("div",Wi,[o("div",Ki,[e.title?(t(),a("h2",Ji,p(e.title),1)):g("",!0),e.badges.length?(t(),a("div",Qi,[(t(!0),a(z,null,O(e.badges,(s,c)=>(t(),a("div",{key:c,class:"flex items-center gap-2"},[s.icon?(t(),v(n,{key:0,name:`i-lucide-${s.icon}`,class:"size-6 shrink-0 text-primary"},null,8,["name"])):g("",!0),o("span",Xi,p(s.label),1)]))),128))])):g("",!0),e.description?(t(),a("div",Zi,[(t(!0),a(z,null,O(e.description.split(`
2`).filter(Boolean),(s,c)=>(t(),a("p",{key:c,class:"text-base text-slate-900 dark:text-slate-200"},p(s),1))),128))])):g("",!0),e.eventTypesLabel?(t(),a("p",ec,p(e.eventTypesLabel),1)):g("",!0),e.buttons.length?(t(),a("div",tc,[(t(!0),a(z,null,O(e.buttons,(s,c)=>(t(),a(z,{key:c},[s.label&&s.pdf?(t(),a("a",{key:0,href:s.pdf,target:"_blank",rel:"noopener noreferrer",class:A(["inline-flex w-full items-center justify-center gap-2 rounded-full px-6 py-4 text-base font-bold transition-opacity hover:opacity-90 lg:w-auto",c===0?"bg-primary text-white":"border border-primary/50 text-primary"])},p(s.label),11,lc)):g("",!0)],64))),128))])):g("",!0)]),o("div",nc,[o("div",ac,[e.cardImage?(t(),a(z,{key:0},[o("img",{src:e.cardImage,alt:"",class:"absolute inset-0 size-full rounded-lg object-cover"},null,8,sc),d[0]||(d[0]=o("div",{class:"absolute inset-0 rounded-lg bg-primary mix-blend-multiply"},null,-1)),d[1]||(d[1]=o("div",{class:"absolute inset-0 rounded-lg bg-primary/70"},null,-1))],64)):(t(),a("div",oc)),o("div",rc,[e.cardIntro?(t(),a("p",ic,p(e.cardIntro),1)):g("",!0),e.contactName?(t(),a("div",cc,[r(n,{name:"i-lucide-user-round",class:"size-6 shrink-0 text-white lg:size-8"}),o("span",dc,p(e.contactName),1)])):g("",!0),e.contactPhone?(t(),a("div",uc,[r(n,{name:"i-lucide-phone",class:"size-6 shrink-0 text-white lg:size-8"}),o("a",{href:`tel:${e.contactPhone}`,class:"text-base font-bold text-white hover:underline lg:text-2xl lg:font-extrabold"},p(e.contactPhone),9,mc)])):g("",!0),e.contactEmail?(t(),a("div",pc,[r(n,{name:"i-lucide-mail",class:"size-6 shrink-0 text-white lg:size-8"}),o("a",{href:`mailto:${e.contactEmail}`,class:"text-base font-bold text-white hover:underline lg:text-2xl lg:font-extrabold"},p(e.contactEmail),9,gc)])):g("",!0)])])])])]),_:1})}}}),_c=Object.assign(fc,{__name:"BlockVenueInfo"});var S=(e=>(e.Section="section",e.Hero="hero",e.TextWithImage="text_with_image",e.CarbonCleanBanner="carbon_clean_banner",e.ActorsBanner="actors_banner",e.CtaBanner="cta_banner",e.EventsBanner="events_banner",e.PodcastsBanner="podcasts_banner",e.EmployeeList="employee_list",e.ProgramCategoryEvents="program_category_events",e.ProgramCategoryActors="program_category_actors",e.Recommendations="recommendations",e.RelatedEvents="related_events",e.RecommendedProgramsForEvents="recommended_programs_for_events",e.Menu="menu",e.InfoCards="info_cards",e.CardList="card_list",e.YoutubeVideoList="youtube_video_list",e.PartnershipForm="partnership_form",e.PerformerOrderForm="performer_order_form",e.EventVenueRequestForm="event_venue_request_form",e.PodcastStudioRequestForm="podcast_studio_request_form",e.Contact="contact",e.Editor="editor",e.LatestEvents="latest_events",e.HighlightedNews="highlighted_news",e.EventCalendar="event_calendar",e.Gallery="gallery",e.SupportSection="support_section",e.VenueInfo="venue_info",e))(S||{});const hc={key:0},vc=["id"],xc={key:0},yc=R({__name:"List",props:{breadcrumbs:{},blocks:{},narrow:{type:Boolean}},setup(e){const i=e,d=T(()=>i.blocks.some(n=>n.type===S.Hero||n.type===S.Section&&n.data.section.type==="hero"));return(n,f)=>{const s=Ye,c=Bt,x=Et,h=Qt,b=rl,B=Vl,I=it,V=G,$=ct,w=Gl,U=tn,H=sn,X=wn,L=Vn,ee=On,F=na,C=_a,W=$a,j=Da,D=is,y=Us,_=co,k=Io,le=Lo,K=mr,J=gr,N=Jr,Z=si,oe=pi,Y=Gi,de=_c;return t(),a("div",null,[e.blocks.length>0&&!l(d)?(t(),a("div",hc,[r(s,{breadcrumbs:e.breadcrumbs},null,8,["breadcrumbs"])])):g("",!0),(t(!0),a(z,null,O(e.blocks,m=>(t(),a("div",{key:m.type,id:m.anchorId??void 0},[m.type===("BlockType"in n?n.BlockType:l(S)).Hero||m.type===("BlockType"in n?n.BlockType:l(S)).Section&&m.data.section.type==="hero"?(t(),a("div",xc,[r(c,{items:m.type===("BlockType"in n?n.BlockType:l(S)).Hero?m.data.items:m.data.section.items},null,8,["items"]),r(s,{breadcrumbs:e.breadcrumbs},null,8,["breadcrumbs"])])):m.type===("BlockType"in n?n.BlockType:l(S)).TextWithImage||m.type===("BlockType"in n?n.BlockType:l(S)).Section&&m.data.section.type==="text_with_image"?(t(),v(x,{key:1,items:m.type===("BlockType"in n?n.BlockType:l(S)).TextWithImage?m.data.items:m.data.section.items},null,8,["items"])):m.type===("BlockType"in n?n.BlockType:l(S)).CarbonCleanBanner||m.type===("BlockType"in n?n.BlockType:l(S)).Section&&m.data.section.type==="carbon_clean_banner"?(t(),v(h,{key:2,items:m.type===("BlockType"in n?n.BlockType:l(S)).CarbonCleanBanner?m.data.items:m.data.section.items},null,8,["items"])):m.type===("BlockType"in n?n.BlockType:l(S)).ActorsBanner||m.type===("BlockType"in n?n.BlockType:l(S)).Section&&m.data.section.type==="actors_banner"?(t(),v(b,{key:3,items:m.type===("BlockType"in n?n.BlockType:l(S)).ActorsBanner?m.data.items:m.data.section.items},null,8,["items"])):m.type===("BlockType"in n?n.BlockType:l(S)).CtaBanner||m.type===("BlockType"in n?n.BlockType:l(S)).Section&&m.data.section.type==="cta_banner"?(t(),v(B,{key:4,items:m.type===("BlockType"in n?n.BlockType:l(S)).CtaBanner?m.data.items:m.data.section.items},null,8,["items"])):m.type===("BlockType"in n?n.BlockType:l(S)).EventsBanner||m.type===("BlockType"in n?n.BlockType:l(S)).Section&&m.data.section.type==="events_banner"?(t(),v(V,{key:5,class:"my-6"},{default:u(()=>[r(I,{items:m.type===("BlockType"in n?n.BlockType:l(S)).EventsBanner?m.data.items:m.data.section.items},null,8,["items"])]),_:2},1024)):m.type===("BlockType"in n?n.BlockType:l(S)).PodcastsBanner||m.type===("BlockType"in n?n.BlockType:l(S)).Section&&m.data.section.type==="podcasts_banner"?(t(),v(V,{key:6,class:"my-6"},{default:u(()=>[r($,{items:m.type===("BlockType"in n?n.BlockType:l(S)).PodcastsBanner?m.data.items:m.data.section.items},null,8,["items"])]),_:2},1024)):m.type===("BlockType"in n?n.BlockType:l(S)).EmployeeList?(t(),v(w,{key:7,title:m.data.title,"hero-image":m.data.hero_image,colleagues:m.data.colleagues},null,8,["title","hero-image","colleagues"])):m.type===("BlockType"in n?n.BlockType:l(S)).ProgramCategoryEvents?(t(),v(U,{key:8,category:m.data.category,tag:m.data.tag,events:m.data.events,"total-events":m.data.total_events},null,8,["category","tag","events","total-events"])):m.type===("BlockType"in n?n.BlockType:l(S)).ProgramCategoryActors?(t(),v(H,{key:9,title:m.data.title,category:m.data.category,tag:m.data.tag,actors:m.data.actors},null,8,["title","category","tag","actors"])):m.type===("BlockType"in n?n.BlockType:l(S)).Recommendations?(t
2(),v(X,{key:10,title:m.data.title,categories:m.data.categories},null,8,["title","categories"])):m.type===("BlockType"in n?n.BlockType:l(S)).RelatedEvents?(t(),v(L,{key:11,title:m.data.title,events:m.data.events},null,8,["title","events"])):m.type===("BlockType"in n?n.BlockType:l(S)).RecommendedProgramsForEvents?(t(),v(ee,{key:12,title:m.data.title,recommended_programs:m.data.recommended_programs},null,8,["title","recommended_programs"])):m.type===("BlockType"in n?n.BlockType:l(S)).InfoCards?(t(),v(F,{key:13,title:m.data.title,"title-large":m.data.title_large,subtitle:m.data.subtitle,"info-text":m.data.info_text,cards:m.data.cards},null,8,["title","title-large","subtitle","info-text","cards"])):m.type===("BlockType"in n?n.BlockType:l(S)).CardList?(t(),v(C,{key:14,title:m.data.title,carousel:m.data.carousel,items:m.data.items},null,8,["title","carousel","items"])):m.type===("BlockType"in n?n.BlockType:l(S)).YoutubeVideoList?(t(),v(W,{key:15,title:m.data.title,videos:m.data.videos},null,8,["title","videos"])):m.type===("BlockType"in n?n.BlockType:l(S)).PartnershipForm?(t(),v(j,{key:16,title:m.data.title,description:m.data.description,"privacy-text":m.data.privacy_text,"partnership-types":m.data.partnership_types},null,8,["title","description","privacy-text","partnership-types"])):m.type===("BlockType"in n?n.BlockType:l(S)).PerformerOrderForm?(t(),v(D,{key:17,title:m.data.title,description:m.data.description,"privacy-text":m.data.privacy_text},null,8,["title","description","privacy-text"])):m.type===("BlockType"in n?n.BlockType:l(S)).PodcastStudioRequestForm?(t(),v(y,{key:18,title:m.data.title,description:m.data.description,"privacy-text":m.data.privacy_text},null,8,["title","description","privacy-text"])):m.type===("BlockType"in n?n.BlockType:l(S)).EventVenueRequestForm?(t(),v(_,{key:19,title:m.data.title,description:m.data.description,"privacy-text":m.data.privacy_text,"event-types":m.data.event_types,"catering-types":m.data.catering_types,"technical-requirements":m.data.technical_requirements,"referral-sources":m.data.referral_sources},null,8,["title","description","privacy-text","event-types","catering-types","technical-requirements","referral-sources"])):m.type===("BlockType"in n?n.BlockType:l(S)).Contact?(t(),v(k,{key:20,title:m.data.title,cards:m.data.cards,"form-title":m.data.form_title,"form-description":m.data.form_description,"form-privacy-text":m.data.form_privacy_text,"subject-options":m.data.subject_options,"location-options":m.data.location_options},null,8,["title","cards","form-title","form-description","form-privacy-text","subject-options","location-options"])):m.type===("BlockType"in n?n.BlockType:l(S)).Editor?(t(),v(le,{key:21,content:m.data.content,narrow:e.narrow},null,8,["content","narrow"])):m.type===("BlockType"in n?n.BlockType:l(S)).LatestEvents?(t(),v(K,{key:22,title:m.data.title,events:m.data.events},null,8,["title","events"])):m.type===("BlockType"in n?n.BlockType:l(S)).HighlightedNews?(t(),v(J,{key:23,title:m.data.title,news:m.data.news},null,8,["title","news"])):m.type===("BlockType"in n?n.BlockType:l(S)).EventCalendar?(t(),v(N,{key:24,title:m.data.title},null,8,["title"])):m.type===("BlockType"in n?n.BlockType:l(S)).Gallery?(t(),v(Z,{key:25,images:m.data.images},null,8,["images"])):m.type===("BlockType"in n?n.BlockType:l(S)).SupportSection?(t(),v(oe,{key:26,title:m.data.title,items:m.data.items},null,8,["title","items"])):m.type===("BlockType"in n?n.BlockType:l(S)).Menu?(t(),v(Y,{key:27,tabs:m.data.tabs},null,8,["tabs"])):m.type===("BlockType"in n?n.BlockType:l(S)).VenueInfo?(t(),v(de,{key:28,title:m.data.title,badges:m.data.badges,description:m.data.description,"event-types-label":m.data.event_types_label,buttons:m.data.buttons,"card-intro":m.data.card_intro,"card-image":m.data.card_image,"contact-name":m.data.contact_name,"contact-phone":m.data.contact_phone,"contact-email":m.data.contact_email},null,8,["title","badges","description","event-types-label","buttons","card-intro","card-image","contact-name","contact-phone","contact-email"])):g("",!0)],8,vc))),128))])}}}),Lc=Object.assign(yc,{__name:"BlockList"});export{Lc as _};

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.