1import{_ as E,a as p,o as l,b as t,n as M,H as F,d as C,i as w,A as j,f as x,g as e,e as y,u,h as A,w as c,l as h,m as P,s as B,c as L,x as I,I as N,R as q,p as G,aN as J,aO as K}from"./B9gSLCn8.js";import{_ as Q,a as X,b as Y}from"./DqGiuMgu.js";import{_ as W}from"./kIk4oHJR.js";import{u as Z}from"./CULEYnTd.js";import{u as H}from"./DJhUMv6o.js";import{u as tt}from"./CnC1l5UU.js";import{f as et}from"./BsAy-0yS.js";import"./DF9aK1HX.js";const st={props:{burgerIsACross:{type:Boolean,default:!1}}},nt={width:"28",height:"28",viewBox:"0 0 34 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function ot(g,o,s,r,a,d){return l(),p("svg",nt,[t("path",{d:"M2 13H32",class:M(["transition-all-slow",s.burgerIsACross?"-translate-y-1/2 translate-x-[10px] rotate-45":"-translate-y-[6px]"]),stroke:"white","stroke-width":"3.5","stroke-linecap":"round","stroke-linejoin":"round"},null,2),t("path",{d:"M2 13H32",class:M(["transition-all-slow",s.burgerIsACross?"-translate-x-[9px] translate-y-1/2 -rotate-45":"translate-y-[6px]"]),stroke:"white","stroke-width":"3.5","stroke-linecap":"round","stroke-linejoin":"round"},null,2)])}const lt=E(st,[["render",ot]]),at={},rt={height:"28",width:"28",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 128 128",style:{border:"2px solid white","border-radius":"50%",display:"inline-block"}};function it(g,o){return l(),p("svg",rt,o[0]||(o[0]=[F('<g fill="none" fill-rule="evenodd"><g fill-rule="nonzero"><path d="M64 0C28.653 0 0 28.653 0 64s28.653 64 64 64 64-28.653 64-64S99.347 0 64 0z" fill="transparent"></path><path d="M64 3C30.31 3 3 30.31 3 64s27.31 61 61 61 61-27.31 61-61S97.69 3 64 3z" fill="transparent"></path><path d="M64 6C31.967 6 6 31.967 6 64s25.967 58 58 58 58-25.967 58-58S96.033 6 64 6z" fill="transparent"></path></g><path d="M72.095 49.514l.01 18.415 7.401 30.374c.494 1.985.47 4.02-1.495 4.514-1.955.493-3.506-.06-4-2.035L64.767 72.63h-2.962l-8.794 28.152c-.74 1.906-2.103 2.775-4 2.035-1.886-.731-1.857-2.874-1.116-4.78l7.138-29.792V49.514L34.01 47.645c-1.836-.148-3.148-1.163-3-3 .139-1.847 1.875-2.945 3.702-2.797H68.01l25.056-.04c1.837-.069 3.885.98 3.944 2.837.08 1.827-2.107 2.921-3.944 3zm-1.721-17.707a6.833 6.833 0 0 1-6.838 6.838c-3.75 0-6.807-3.057-6.807-6.838-.01-3.75 3.047-6.807 6.807-6.807 3.78 0 6.838 3.057 6.838 6.807z" fill="#fff"></path></g>',1)]))}const O=E(at,[["render",it]]),ct={class:"xl:hidden"},ut={key:0,class:"fixed left-0 top-0 -z-10 mt-2 min-h-full min-w-full transition-all-extra-slow"},dt={class:"z-10 -mr-2 flex grow flex-col rounded-tl-xl bg-black"},_t={id:"menuItemsContainer",class:"transition-all"},pt={class:"space-y-4 px-10 py-7"},ft={class:"flex flex-col space-y-4 pl-4"},xt={id:"accessibilityWidget",class:"ml-4 cursor-pointer"},mt=C({__name:"EventTopMenuBurger",props:{eventId:{}},setup(g){const o=w(!1),s=w(!1),r=j();function a(){s.value?(s.value=!1,setTimeout(()=>{o.value=!1},300)):(o.value=!0,s.value=!0)}return(d,n)=>{var k,$;const _=lt,i=A,v=O;return l(),p("div",ct,[t("button",{class:"flex h-10 w-10 flex-col items-center justify-center text-white outline-none transition-all hover:cursor-pointer",onClick:a},[e(_,{burgerIsACross:s.value},null,8,["burgerIsACross"])]),o.value?(l(),p("div",ut,[t("div",{id:"burger-sidebar-container",class:M(["fixed right-0 mt-[72px] flex h-screen w-full flex-col text-lg shadow-lg transition-all-extra-slow",s.value?"slide-in":"slide-out translate-x-[100%]"])},[t("div",dt,[t("div",_t,[t("div",pt,[t("div",ft,[u(r).isLoggedIn?(l(),y(i,{key:0,to:"/orders",class:"text-btn-md text-white hover:text-neutral-400",onClick:a},{default:c(()=>n[0]||(n[0]=[h(" My Orders ")])),_:1})):x("",!0),e(i,{to:"/support",class:"text-btn-md text-white hover:text-neutral-400",onClick:a},{default:c(()=>n[1]||(n[1]=[h(" Help ")])),_:1}),(k=u(r).user)!=null&&k.is_admin?(l(),y(i,{key:1,to:`/dashboard/v2/#/events/${d.eventId}/show`,target:"_blank",class:"external-link text-btn-md text-white hover:text-neutral-400",onClick:a},{default:c(()=>n[2]||(n[2]=[h(" Event Dashboard ")])),_:1},8,["to"])):x("",!0),($=u(r).user)!=null&&$.is_admin?(l(),y(i,{key:2,to:`/dashboard/v2/#/events/${d.eventId}/analytics`,target:"_blank",class:"external-link text-btn-md text-white hover:text-neutral-400",onClick:a},{default:c(()=>n[3]||(n[3]=[h(" Live Sales ")])),_:1},8,["to"])):x("",!0)]),t("div",xt,[e(v)])])])])],2)])):x("",!0)])}}}
1),ht=E(mt,[["__scopeId","data-v-59fea0b8"]]),vt={class:"w-full"},wt={class:"fixed top-0 z-50 flex w-full items-center justify-between px-2 md:px-4 lg:px-8"},gt={class:"mx-auto flex h-[4.5rem] w-full items-center justify-between rounded-b-xl bg-black/70 px-2 shadow-lg backdrop-blur-md md:px-4 lg:px-8"},bt={class:"flex lg:hidden"},yt={class:"hidden list-none items-center justify-center space-x-8 lg:flex"},kt={key:0},$t={key:1},Ct={key:2},Mt=C({__name:"EventTopMenu",async setup(g){let o,s;const r=Z(),a=j(),{windowWidth:d,breakpoints:n}=H();[o,s]=P(()=>tt("event-top-menu:fetch-event",()=>r.fetchEvent(B().params.slug))),await o,s();const _=L(()=>{var f;return((f=r.currentEvent)==null?void 0:f.id)??0}),i=w(!1),v=w(!1);I(()=>{i.value=d.value<n.value.lg,v.value=!0});const k=()=>{window.scrollTo({left:0,top:0,behavior:"smooth"})};N(d,f=>{if(f>=n.value.md){i.value=!1;return}i.value=!0});function $(){if(window.UserWay)return;const f=document.createElement("script");f.src="https://cdn.userway.org/widget.js",f.setAttribute("data-account","USsBzOjsrj"),document.body.appendChild(f)}const V=()=>{window.UserWay&&window.UserWay.widgetOpen()};return I(()=>{$()}),(f,m)=>{var T,z;const U=W,b=A,D=ht,S=Q,R=O;return l(),p("div",vt,[t("nav",wt,[t("div",gt,[e(b,{onClick:k,to:"/",class:"align-center mr-4 flex min-w-[150px] flex-col justify-center"},{default:c(()=>[e(U,{colour:"#ffffff"})]),_:1}),t("div",bt,[e(D,{eventId:u(_)},null,8,["eventId"])]),t("ul",yt,[u(a).isLoggedIn?(l(),p("li",kt,[e(b,{to:"/orders",class:"text-btn-md text-white hover:text-neutral-300"},{default:c(()=>m[0]||(m[0]=[h("My Orders")])),_:1})])):x("",!0),t("li",null,[e(b,{to:"/support",class:"text-btn-md text-white hover:text-neutral-300"},{default:c(()=>m[1]||(m[1]=[h("Help")])),_:1})]),(T=u(a).user)!=null&&T.is_admin?(l(),p("li",$t,[e(b,{to:`/dashboard/v2/#/events/${u(_)}/show`,target:"_blank",class:"external-link text-btn-md text-white hover:text-neutral-300"},{default:c(()=>[e(S,{target:"_blank"},{default:c(()=>m[2]||(m[2]=[h("Event Dashboard")])),_:1})]),_:1},8,["to"])])):x("",!0),(z=u(a).user)!=null&&z.is_admin?(l(),p("li",Ct,[e(b,{to:`/dashboard/v2/#/events/${u(_)}/analytics`,target:"_blank",class:"external-link text-btn-md text-white hover:text-neutral-300"},{default:c(()=>[e(S,{target:"_blank"},{default:c(()=>m[3]||(m[3]=[h("Live Sales")])),_:1})]),_:1},8,["to"])])):x("",!0),t("li",null,[t("div",{onClick:V,class:"ml-4 size-7 cursor-pointer"},[e(R)])])])])])])}}}),It={class:"relative w-full"},Et={class:"absolute bottom-0 z-50 flex w-full items-center px-2 md:px-4 lg:px-8"},jt={class:"h-[6rem] w-full items-center rounded-t-xl bg-black/70 p-2 md:h-[5.25rem] lg:h-[4.25rem]"},At={class:"mx-2 flex h-full max-w-[1110px] flex-col items-center justify-between lg:my-auto lg:flex-row xl:mx-auto"},St=C({__name:"EventFooter",setup(g){const{windowWidth:o,breakpoints:s}=H(),r=w(!1),a=w(!1);I(()=>{r.value=o.value<s.value.md,a.value=!0}),N(o,n=>{if(n>=s.value.md){r.value=!1;return}r.value=!0});const d=()=>{window.scrollTo({left:0,top:0,behavior:"smooth"})};return(n,_)=>{const i=W,v=A;return l(),p("div",It,[t("nav",Et,[t("div",jt,[t("div",At,[_[0]||(_[0]=t("p",{class:"py-2 text-center text-xs text-white lg:py-0"}," Copyright 2024 Megatix on behalf of Lost Paradise who acts as the presenter and seller subject to T&Cs ",-1)),e(v,{onClick:d,to:"/",class:"align-center flex flex-col justify-center pb-4 lg:pb-0"},{default:c(()=>[e(i,{colour:"#ffffff",height:22})]),_:1})])])])])}}}),Tt=J(Y),zt={class:"flex h-full min-h-screen w-full max-w-[100vw] flex-col items-center justify-between overflow-hidden"},Dt=C({__name:"event",setup(g){const o=j(),s=L(()=>B().meta);return q({title:"Megatix - Discover and create great events, products and vouchers"}),G(()=>{o.init(),et()}),(r,a)=>{const d=Tt,n=Mt,_=X,i=K,v=St;return l(),p("div",zt,[e(d),u(s).showEventMenu?(l(),y(n,{key:0})):x("",!0),e(_,{color:"repeating-linear-gradient(to right, var(--mt-accent-soft) 0%, var(--mt-accent-soft) 100%)"}),e(i),u(s).showEventFooter?(l(),y(v,{key:1})):x("",!0)])}}});export{Dt as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.