PageSourceSearch

https://cdn.wegow.com/master/0000000990/_nuxt/BXbA5H42.js

js wegow.com collected 2026-10-01 10:31:00 UTC 2,933 bytes, 1 lines download raw bytes

1var D=Object.defineProperty;var i=(g,n)=>D(g,"name",{value:n,configurable:!0});import{c as H,a as V}from"./Czkx91fS.js";import{e as j,K as L,s as B,k as U,v as W,u as F,M as G,j as K,H as X,W as z}from"#entry";import{u as J}from"./DfRq4CWx.js";import{E as Q}from"./BbISBSSM.js";import{_ as Y,T as Z}from"./Oq2vVcy0.js";import{P as ee}from"./9hFSPHra.js";import{d as C,n as v,ae as te,A as ae,v as _,E as h,$ as E,R as se,W as k,u as o,B as r,V as oe,U as u}from"./D0o_BzFA.js";import"./CCyKimDB.js";import"./pYGOJxUL.js";import"./YfvY-W3w.js";import"./2Ak8YXsk.js";import"./B4-Q6cIk.js";import"./CsU9FTKb.js";const ne={class:"ticket-office-page-container"},ce={class:"w-full md:w-fit"},ie={class:"flex flex-col gap-4 justify-between w-full max-w-3xl"},re={key:0,class:"tickets-container"},ue={key:1,class:"loader h-96 flex flex-col justify-around"},le={__name:"[slug]",async setup(g){let n,w;const e=K(),y=H(),x=L(),{ticketsLoading:N,tickets:l}=B(y),{details:t}=B(x),{createNewPurchase:A}=V(),P=W(),{locale:R,t:S}=U(),$=C(P.public.NUXT_HOST),{openModal:b,SIGN_IN:I}=F(),{isAuthenticated:a}=J(),f=C(!1),T=i(()=>{a.value||e.query.loginRequired==="true"&&b(I,{isStatic:!1,origin:"ticket-office",cancelOutsideClick:!0,noArrow:!0})},"openLoginModalIfRequired"),q=i(async()=>{a.value&&t.value?.id&&await y.fetchEventTickets({baseParams:{event:t.value.id,ticket_office:!0}})},"fetchTicketsIfAuthenticated"),O=i(async()=>{a.value&&(await q(),A())},"refreshPageDataAfterAuth"),p=v(()=>S("wegow.ticketOffice.eventSeo.title",{event:t.value?.title||""})),d=v(()=>S("wegow.ticketOffice.eventSeo.description",{event:t.value?.title||""})),c=v(()=>{const s=$.value||"",m=e?.fullPath||e?.path||"";return s?`${String(s).replace(/\/$/,"")}${m}`:m||void 0});return G({title:p,link:[...c.value?[{rel:"canonical",href:c.value}]:[]],meta:[{name:"description",content:d},{property:"og:locale",content:R.value||"es"},{property:"og:type",content:"website"},{property:"og:title",content:p},{property:"og:description",content:d},...c.value?[{property:"og:url",content:c.value}]:[],{name:"twitter:card",content:"summary"},{name:"twitter:title",content:p},{name:"twitter:description",content:d}]}),[n,w]=te(async()=>X(()=>`ticket-office:${e.params.slug}`,async()=>(await x.getEventDetails(e.params.slug),!0),"$g3s7Oxfcm8")),await n,w(),ae(async()=>{T(),a.value&&(f.value=!0,await O())}),_(()=>e.query.loginRequired,()=>T(),{immediate:!0}),_(()=>a.value,async s=>{!s||f.value||(f.value=!0,await O())}),_(()=>l.value?.length,()=>{a.value&&A()}),(s,m)=>(u(),h("section",ne,[E("article",ce,[o(t)?(u(),se(Q,{key:0,event:o(t),hasSeeTicketsButton:!1},null,8,["event"])):k("",!0)]),E("article",ie,[o(l)&&o(l).length>0?(u(),h("div",re,[r(Y,null,{ticket:oe(({ticket:M})=>[r(Z,{ticket:M},null,8,["ticket"])]),_:1})])):k("",!0),o(N)?(u(),h("div",ue,[r(z)])):k("",!0),r(ee,{ticketOffice:!0,isFixed:!1})])]))}},Te=j(le,[["__scopeId","data-v-b49fcf7a"]]);export{Te 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.