1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Dom5VZyd.js","./BQo0RgWJ.js","./CCGXqi3c.js","./D0o_BzFA.js","./vendor-multiselect.CmpwITBX.css","./entry.CENnT9fH.css","./AccommodationComponent.Dbg1TJUk.css","./LazyAccommodationSection.BZph7yJv.css","./rgmvphQ4.js","./BCnPx0iU.js","./CGqaAioz.js","./AccommodationsButtons.CJ6tJEW4.css","./LazySkyscannerComponent.DKPxFiqT.css","./BcsglBtL.js","./LazyBlablacarComponent.B4yrwLj9.css","./B3kteyKy.js","./CBoKUxwu.js","./BulgSDX4.js","./GallerySection.Dk74b4Zc.css","./DuXYad7S.js","./BlfWmDfB.js","./WIcon.pN7zBr8L.css","./SocialMediaComponent.BK340Pi8.css","./CtirkHzr.js","./WShadow.tj6jBKei.css","./BZxCcN1i.js","./uSX3Sq1J.js","./ModalTemplate.BFficWVo.css","./CBSlHSLo.js","./C2oA3nsP.js","./DAkDVtRU.js","./CollapseComponent.CW7TdmYg.css","./ModalReport.D_OuZO8A.css","./D-zdlqNV.js","./ModalProfiles.BWMM5n1h.css","./uV2LXgyF.js","./ModalShare.CJdJvDJ5.css"])))=>i.map(i=>d[i]); 2var gt=Object.defineProperty;var y=(h,_)=>gt(h,"name",{value:_,configurable:!0});import{h as He,U as ft,n as Me,M as Ge,e as oe,m as Ze,a as be,k as Pe,u as Re,d as ae,i as ht,j as Qe,T as Ke,K as Oe,f as Ye,s as Ee,W as Ce,_ as J,N as Je,S as _t,r as yt,g as wt,a4 as bt,a3 as kt,v as St,O as xt,aw as $t,b as Et,ab as g,t as zt}from"#entry";import{u as ye,f as Le}from"./Czkx91fS.js";import{n as d,E as v,U as i,W as f,$ as l,a6 as je,B as S,a1 as p,a4 as Ue,d as M,G as Xe,A as et,V,F as we,a7 as Fe,R as D,u as e,a0 as _e,P as X,a3 as ne,S as Ie,ao as Pt,v as tt,ae as Dt,w as Tt}from"./D0o_BzFA.js";import{u as st}from"./2Ak8YXsk.js";import Ct from"./DYqUSv9F.js";import{a as It,R as Mt,P as Rt}from"./BfLlCKDw.js";import{u as Ot,b as Lt}from"./CySYI1g2.js";import{S as nt,C as at}from"./CBoKUxwu.js";import{B as $e}from"./BulgSDX4.js";import{W as N}from"./BlfWmDfB.js";import{E as Ft}from"./BDehD2A7.js";import At from"./BrYiQMxg.js";import{S as qe}from"./B-etovF1.js";import{a as ze,f as Ne,c as Te}from"./B4-Q6cIk.js";import{f as A,a as Vt}from"./Dqj6HPn4.js";import{u as ot}from"./CGqaAioz.js";import Bt from"./CnS0fbeG.js";import{_ as jt}from"./DWtCdOZn.js";import{_ as Ut}from"./D0pJWkdU.js";import{u as qt}from"./BjMiOJWJ.js";async function Nt(...h){var T;const _=typeof h[h.length-1]=="string"?h.pop():void 0;typeof h[0]!="string"&&h.unshift(_);const[c,x,w]=h;if(!c||typeof c!="string")throw new TypeError("[nuxt] [callOnce] key must be a string: "+c);if(x!==void 0&&typeof x!="function")throw new Error("[nuxt] [callOnce] fn must be a function: "+x);const m=He();if(w?.mode==="navigation"){let C=y(function(){m.payload.once.delete(c);for(const a of R)a()},"callback");const R=[];R.push(m.hooks.hook("page:start",C),ft().beforeResolve(C))}m.payload.once.has(c)||(m._once||(m._once={}),(T=m._once)[c]||(T[c]=x()||!0),await m._once[c],m.payload.once.add(c),delete m._once[c])}y(Nt,"callOnce");const Wt=y(h=>{const{event:_,metadata:c={title:"",description:""},baseUrl:x="https://www.wegow.com",canonicalUrl:w=null,ogImageUrl:m=null,locale:T="es"}
2=h,C=Me(),R=y(u=>u.includes("_")?u:{es:"es_ES",en:"en_US",fr:"fr_FR",it:"it_IT",pt:"pt_PT",de:"de_DE"}[u]||`${u}_${u.toUpperCase()}`,"getLocaleForOG"),a=y(u=>u&&typeof u=="object"&&"value"in u?u.value:u,"getValue"),I=d(()=>{const u=a(c)?.title,b=a(_)?.title;return u||b||""}),E=d(()=>{const u=a(c)?.description,b=a(_)?.description;return u||b||""}),P=d(()=>{const u=a(w);if(u)return u;let b=x;return typeof b=="function"?b=b():b&&typeof b=="object"&&"value"in b&&(b=b.value),b=b||"https://www.wegow.com",b+C.path}),q=d(()=>{const u=a(m);if(u)return u;let b=x;return typeof b=="function"?b=b():b&&typeof b=="object"&&"value"in b&&(b=b.value),b=b||"https://www.wegow.com",b+"/img/wegow-cabecera.webp"}),Z=d(()=>{const u=a(T)||"es";return R(u)}),B=d(()=>{const u=a(_);return u?.start_date?new Date(u.start_date).toISOString():null}),o=d(()=>{const u=a(_);return u?.end_date?new Date(u.end_date).toISOString():null}),j=d(()=>{const u=a(_);return u?.venue?.address?[u.venue.address,u?.city?.name,u?.city?.administrative_division,u?.city?.iso_code||"ES"].filter(Boolean).join(", "):null});Ge(()=>{const u=[],b=[];u.push({name:"description",content:E.value,key:"description-event",tagPriority:"critical"}),u.push({property:"og:type",content:"event",key:"og:type-event",tagPriority:"critical"}),u.push({property:"og:title",content:I.value,key:"og:title-event",tagPriority:"critical"}),u.push({property:"og:description",content:E.value,key:"og:description-event",tagPriority:"critical"}),u.push({property:"og:image",content:q.value,key:"og:image-event",tagPriority:"critical"}),u.push({property:"og:url",content:P.value,key:"og:url-event",tagPriority:"critical"}),u.push({property:"og:site_name",content:"Wegow",key:"og:site_name-event",tagPriority:"critical"}),u.push({property:"og:locale",content:Z.value,key:"og:locale-event",tagPriority:"critical"}),u.push({property:"og:logo",content:"https://cdn.wegow.com/no-delete/wegow/wegow-conciertos.svg",key:"og:logo-event",tagPriority:"critical"}),u.push({name:"twitter:card",content:"summary_large_image",key:"twitter:card-event",tagPriority:"critical"}),u.push({name:"twitter:title",content:I.value,key:"twitter:title-event",tagPriority:"critical"}),u.push({name:"twitter:description",content:E.value,key:"twitter:description-event",tagPriority:"critical"}),u.push({name:"twitter:image",content:q.value,key:"twitter:image-event",tagPriority:"critical"}),u.push({name:"twitter:site",content:"@wegow",key:"twitter:site-event",tagPriority:"critical"}),u.push({name:"twitter:creator",content:"@wegow",key:"twitter:creator-event",tagPriority:"critical"}),B.value&&u.push({property:"event:start_time",content:B.value,key:"event:start_time",tagPriority:"critical"}),o.value&&u.push({property:"event:end_time",content:o.value,key:"event:end_time",tagPriority:"critical"});const W=a(_);return W?.venue?.name&&u.push({property:"event:location:name",content:W.venue.name,key:"event:location:name",tagPriority:"critical"}),j.value&&u.push({property:"event:location:address",content:j.value,key:"event:location:address",tagPriority:"critical"}),b.push({rel:"canonical",href:P.value,key:"canonical-event-page",tagPriority:"critical"}),b.push({rel:"preconnect",href:"https://cdn.wegow.com",crossorigin:"",tagPriority:"low"}),b.push({rel:"dns-prefetch",href:"https://cdn.wegow.com",tagPriority:"low"}),{title:I.value,titleTemplate:"%s",meta:u,link:b}})},"useEventMetaTags"),Ht=["href"],Gt={class:"absolute artist-name"},Zt=["href"],Qt={class:"absolute artist-name"},Kt={__name:"CompleteArtistCard",props:{artist:{type:Object,default:y(()=>({}),"default")},openLink:{type:Boolean,default:!0},isLink:{type:Boolean,default:!0},openExternal:{type:Boolean,default:!1}},setup(h){const _=h,c=d(()=>_.artist.thumbnails?.s_sq?_.artist.thumbnails.s_sq:_.artist.image_url?_.artist.image_url:"/img/artist-placeholder.svg"),x=y(w=>{window.open(w,"_blank")},"navigateToSpotify");return(w,m)=>h.isLink?(i(),v("a",{key:1,href:h.openLink?h.artist.permalink:null,class:"artist-card relative",target:"_blank",style:Ue({backgroundImage:`url(${c.value})`})},[h.artist.spotify_id?(i(),v("button",{key:0,class:"absolute spotify-icon",onClick:m[1]||(m[1]=je(T=>x(`https://open.spotify.com/intl-es/artist/${h.artist.spotify_id}`),["prevent","stop"]))},[S(N,{size:24,img:"/img/ic-spotify-white.svg"})])):f("",!0),l("div",Qt,p(h.artist.name),1)],12,Zt)):(i(),v("a",{key:0,href:null,class:"artist-card relative",style:Ue({backgroundImage:`url(${c.value})`}),target:"_blank"},[h.artist.spotify_id?(i(),v("button",{key:0,class:"absolute spotify-icon",href:`https://open.spotify.com/intl-es/artist/${h.artist.spotify_id}`,onClick:m[0]||(m[0]=je(T=>x(`https://open.spotify.com/intl-es/artist/${h.artist.spotify_id}`),["prevent","stop"]))},[S(N,{size:24,img:"/img/ic-spotify-white.svg"})],8,Ht)):f("",!0),l("div",Gt,p(h.artist.name),1)],4))}},Yt=oe(Kt,[["__scopeId","data-v-b314c472"]]),Jt=["title"],Xt={class:"h3-titles font-museo-500 mb-8 xs:pl-0"},es={__name:"ArtistsSection",setup(h){const{details:_}=ye(),c=M(!0),x=M(!0),{width:w}=Ze(),m=M(0);Xe(()=>{window.removeEventListener("resize",T)}),et(()=>{window.addEventListener("resize",T),m.value=w});const T=y(()=>{m.value=w},"updateScreen"),C=y(()=>{c.value=!0},"handleMouseDown"),R=y(()=>{c.value&&x.value&&(x.value=!1)},"cancelOpen"),a=y(()=>{c.value&&setTimeout(()=>{c.value=!1,x.value=!0},250)},"handleMouseUp"),I=d(()=>_.value.artists.slice().sort((E,P)=>P.followers_count-E.followers_count));return(E,P)=>{const q=nt,Z=at;return i(),v("section",{title:E.$t("profiles.titles.artists"),class:_e(["two-col section-container relative",{"no-paddings":m.value<475}])},[l("h3",Xt,[l("span",null,p(E.$t("profiles.labels.poster")),1)]),S(Z,{breakpoints:e($e).artistEventCard,transition:500,"wrap-around":!1,class:"carousel fixed-carousel-arrows",onMousedown:P[0]||(P[0]=B=>C()),onMousemove:P[1]||(P[1]=B=>R()),onMouseup:P[2]||(P[2]=B=>a())},{default:V(()=>[(i(!0),v(we,null,Fe(I.value,B=>(i(),D(q,{key:B.id,"aria-hidden":!1},{default:V(()=>[B?(i(),D(Yt,{key:0,artist:B,"open-link":c.value,"is-link":x.value,"open-external":!0},null,8,["artist","open-link","is-link"])):f("",!0)]),_:2},1024))),128))]),_:1},8,["breakpoints"]),P[3]||(P[3]=l("div",{class:"gradient-container"},[l("div",{class:"followers-gradient lg:inline-block hidden artist-gradient"})],-1))],10,Jt)}}},ts=oe(es,[["__scopeId","data-v-9d7e0ab8"]]),ss={class:"text-color-topaz-light font-museo-500 related-title xs:pl-0 pl-[0.813rem]"},ns={__name:"RelatedVenues",props:{venuesRelated:{type:Array,default:void 0},breakpoints:{type:String,default:"short"}},setup(h){const _=h,c=M(!0),x=M(!0),w=y(()=>{x.value=!0},"handleMouseDown"),m=y(()=>{x.value&&c.value&&(c.value=!1)},"cancelOpen"),T=y(()=>{x.value&&setTimeout(()=>{x.value=!1,c.value=!0},250)},"handleMouseUp"),C=y(()=>{switch(_.breakpoints){case"large":return $e.largeSectionProfileRelated;case"short":return $e.eventProfileRelated;case"small":return $e.smallEventCard}},"breakpointSwitch");return(R,a)=>{const I=nt,E=at;return i(),v(we,null,[l("h3",ss,p(R.$t("profiles.titles.relatedVenues")),1),S(E,{breakpoints:C(),transition:500,"wrap-around":!1,class:"carousel fixed-carousel-arrows","aria-label":R.$t("profiles.titles.relatedVenues"),onMousedown:w,onMousemove:m,onMouseup:T},{default:V(()=>[(i(!0),v(we,null,Fe(h.venuesRelated,P=>(i(),D(I,{key:P.id,"aria-hidden":!1},{default:V(()=>[P?(i(),D(At,{key:0,venue:P,type:"small","is-link":c.value},null,8,["venue","is-link"])):f("",!0)]),_:2},1024))),128))]),_:1},8,["breakpoints","aria-label"])],64)}}},as=oe(ns,[["__scopeId","data-v-8a1b95b4"]]),it=y((h={})=>{const{headerOffset:_=140,y:c=null}=h,x=c!==null,w=y((m,T=0)=>{const C=document.getElementById(m);if(!C){T<5&&setTimeout(()=>w(m,T+1),100);return}const a=C.getBoundingClientRect().top+window.pageYOffset-_;x&&c?c.value=a:window.scrollTo({top:a,behavior:"smooth"})},"scrollToSection");return{scrollToSection:w}},"useScrollToSection"),os={key:0,class:"mobile-banner"},is={class:"w-full right-0 flex justify-center cursor-pointer gap-2"},ls={__name:"BuyBanner",emits:["update:interested","update:redirect-followers","update:redirect-chat","update:share-event"],setup(h,{emit:_}){const{details:c}=ye(),{isAuth:x}=be(),w=Me(),{locale:m}=Pe(),{SIGN_IN:T,openModal:C}=Re(),{scrollToSection:R}=it({headerOffset:140}),a=_,I=d(()=>c.value.has_options&&c.value.options.length>0),E=d(()=>Le(Number(c.value.price).toFixed(2),c.value.currency)),P=d(()=>{let o={};return w.query.r&&(o.query={r:w.query.r}),w.hash&&(o.hash=w.hash),o}),q=d(()=>c.value?.slug?c.value.slug.replace(/[()]/g,""):""),Z=y(async()=>{a("update:interested")},"interested"),B=y(()=>{a("openShareModal",!0)},"openShareModal");return(o,j)=>e(w).name!=="EventFilter"&&e(w).name!=="FestivalFilter"&&e(c).id&&e(c).enabled&&e(c).tickets_enabled&&(e(c).ticket_types_count>0||e(c).options?.length>0)?(i(),v("section",os,[S(e(ht),{link:e(c).purchase_url,params:e(c).purchase_url?void 0:{name:`purchase-slug___${e(m)}`,params:{slug:e(q)},...e(P)},full:!1,blank:!0}
2,{link:V(()=>[e(I)?f("",!0):(i(),D(ae,{key:0,id:"square-banner",background:"opacity",color:"topaz-light",type:"button",text:o.$t("wegow.purchase.buy"),"sub-text":`${o.$t("profiles.from")} ${e(E)}`},null,8,["text","sub-text"]))]),_:1},8,["link","params"]),l("div",is,[S(N,{class:"interaction__btn transition-al",img:e(c).user.tracking?"/img/ic-full-heart-rounded-topaz.svg":"/img/ic-empty-heart-rounded-topaz.svg",size:41,onClick:j[0]||(j[0]=u=>{e(x)?Z():e(C)(e(T))})},null,8,["img"]),S(N,{class:"interaction__btn",img:"/img/ic-followers-circle-topaz.svg",size:41,onClick:j[1]||(j[1]=u=>e(R)("followers"))}),l("span",{href:"#",class:"chat-button interaction__btn",onClick:j[2]||(j[2]=u=>e(R)("chat-section"))},[S(N,{img:"/img/ic-chat-circle-topaz.svg",size:41})]),l("div",{class:"share-button flex flex-col interaction__btn",onClick:j[3]||(j[3]=u=>B())},[S(N,{img:"/img/ic-share-circle-topaz.svg",size:41})])])])):f("",!0)}},rs=oe(ls,[["__scopeId","data-v-cf219001"]]);var us={};const cs={id:"wegow__event__tickets",class:"section-container is-external relative p-3"},ds={key:1,class:"no-wegow-tickets no-wegow-tickets-mobile flex lg:hidden :flex-row gap-2 section-container two-col m-3 bg-valhalla p-[14px] rounded-[10px]"},vs={class:"flex-1 text-[12px]"},ps={id:"event-information",class:"section-container information-section"},ms={class:"h3-titles font-museo-500 mb-8"},gs={class:"info flex flex-col text-color-gray gap-2 md:text-s text-[12px] mb-10"},fs={key:0},hs={key:0},_s={key:1},ys=["href"],ws={class:"text-topaz-light"},bs={key:0},ks={key:2},Ss={class:"block md:hidden"},xs={key:0,class:"text-[15px] text-color-white"},$s={class:"h3-titles font-museo-500"},Es={class:"mt-4"},zs={key:0,class:"relative"},Ps={key:1,class:"relative mt-8"},Ds={key:2,class:"relative mt-8"},Ts={class:"relative"},Cs={key:5,id:"event-accommodation",class:"section-container accommodation two-col p-2"},Is={id:"how-to-get",class:"section-container lg:h-[245px] h-fit how-to-get two-col p-2"},Ms={class:"h3-titles title-underline"},Rs={class:"flex flex-col lg:flex-row"},Os={class:"flex flex-col p-4 w-1/2"},Ls={class:"text-base font-museo-500 text-color-gray mt-4"},Fs={class:"mt-2"},As={key:0},Vs={class:"font-museo-500 h3-titles title-underline"},Bs={class:"text-base font-museo-500 text-color-gray mt-4"},js={id:"transport-section",class:"flex flex-col transport-btn lg:w-1/2 gap-8"},Us={class:"font-museo-500 h3-titles title-underline md:hidden inline-block mb-8"},qs={class:"flex-1 flex justify-center sm:justify-start w-full"},Ns={class:"blablacar flex-1 flex justify-center sm:justify-start w-full"},Ws={__name:"EventContent",props:{isConcert:{type:Boolean,default:!1},isFestival:{type:Boolean,default:!1},isParty:{type:Boolean,default:!1},isSession:{type:Boolean,default:!1},isStreaming:{type:Boolean,default:!1},nameFormatted:{type:String,default:""},canShowAccommodation:{type:Boolean,default:!1}},emits:["openShareModal","update:interested"],setup(h,{emit:_}){const c=X(()=>J(()=>import("./Dom5VZyd.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url)),x=X(()=>J(()=>import("./rgmvphQ4.js"),__vite__mapDeps([8,2,3,4,5,9,10,11,12]),import.meta.url)),w=X(()=>J(()=>import("./BcsglBtL.js"),__vite__mapDeps([13,2,3,4,5,9,10,11,14]),import.meta.url)),m=X(()=>J(()=>import("./B3kteyKy.js"),__vite__mapDeps([15,2,3,4,5,16,17,18]),import.meta.url)),T=X(()=>J(()=>import("./DuXYad7S.js"),__vite__mapDeps([19,2,3,4,5,20,21,22]),import.meta.url)),C=X(()=>J(()=>import("./CtirkHzr.js"),__vite__mapDeps([23,2,3,4,5,24]),import.meta.url)),R=X(()=>J(()=>import("./BZxCcN1i.js"),__vite__mapDeps([25,26,2,3,4,5,20,21,27,28]),import.meta.url)),a=X(()=>J(()=>import("./C2oA3nsP.js"),__vite__mapDeps([29,3,4,2,5,26,20,21,27,30,31,32]),import.meta.url)),I=X(()=>J(()=>import("./D-zdlqNV.js"),__vite__mapDeps([33,3,4,20,2,5,21,34]),import.meta.url)),{t:E}=Pe(),P=Qe(),{width:q}=Ze();Ke();const Z=Oe(),B=Ye(),{details:o}=Ee(Z),{eventFollowers:j}=Ee(B),{media:u,eventsRelatedToEvent:b}=ye(),{artistsRelatedToEvent:W}=Ot(),{venuesRelatedToEvent:t}=Lt(),{getValidMedias:H}=st(),{isAuth:Q,userDetail:ie}=be();Re();const G=h,le=_;M(!1),M(!1);const ee=M(!1),K=M(!1),re=M(""),de=M(!1),ve=d(()=>o.value?.type===0),se=d(()=>G.isStreaming),Y=d(()=>!!(o.value?.has_options&&(o.value?.options?.length??0)>0));d(()=>Q&&o.value.show_chat&&(ie.value?.is_staff||us.VUE_APP_CHAT_ENABLED==="true"));const ue=d(()=>
2{if(!o.value?.start_date)return"";const $=ze(o.value.start_date,re.value,se.value);return E("wegow.date.dateFormat",$)}),pe=d(()=>{if(!o.value?.end_date)return"";const $=ze(o.value.end_date,re.value,se.value);return E("wegow.date.dateFormat",$)}),ce=d(()=>o.value?.start_date?Ne(o.value.start_date,P.params.region,se.value):""),me=d(()=>o.value?.opening_hour?Ne(o.value.opening_hour,P.params.region,se.value):""),ge=d(()=>Le(Number(o.value.price).toFixed(2),o.value.currency)),fe=d(()=>({longitude:o.value?.venue?.longitude,latitude:o.value?.venue?.latitude})),k=d(()=>o.value.id===6084173||o.value.id===6093363),F=d(()=>{if(ve.value)return E("profiles.labels.concertInformationOf");if(G.isFestival)return E("profiles.labels.festivalInformationOf");if(G.isSession)return E("profiles.labels.sessionsInformationOf");if(G.isParty)return E("profiles.labels.partiesInformationOf");if(k.value)return E("profiles.labels.eventInformationOf")}),he=d(()=>!o.value||!o.value.artists?[]:o.value.artists.slice().sort(($,O)=>O.followers_count-$.followers_count));d(()=>o.value.image_url?o.value.image_url:"/img/wegow-cabecera.webp");const te=y($=>{de.value=$.some(O=>O.price===null||O.price==="0.00")},"primaryOptionsZero"),ke=y(()=>{le("openShareModal")},"openShareModal"),Se=y(()=>{le("update:interested")},"interested");return($,O)=>(i(),v(we,null,[Y.value?(i(),D(e(C),{key:0,class:"two-col"},{contain:V(()=>[l("section",cs,[S(e(Ft),{"is-profile":!0,onPrimary:O[0]||(O[0]=U=>te(U))})])]),_:1})):f("",!0),Y.value?(i(),v("section",ds,[O[4]||(O[4]=l("svg",{width:"21",height:"21",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[l("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16.6387 2.56689H8.63867C5.32967 2.56689 2.63867 5.25789 2.63867 8.56689V16.5669C2.63867 19.8759 5.32967 22.5669 8.63867 22.5669H21.6387C21.9039 22.5669 22.1582 22.4615 22.3458 22.274C22.5333 22.0865 22.6387 21.8321 22.6387 21.5669V8.56689C22.6387 5.25789 19.9477 2.56689 16.6387 2.56689ZM8.63867 20.5669C6.43267 20.5669 4.63867 18.7729 4.63867 16.5669V8.56689C4.63867 6.36089 6.43267 4.56689 8.63867 4.56689H16.6387C18.8447 4.56689 20.6387 6.36089 20.6387 8.56689V20.5669H8.63867ZM11.6387 6.56689H13.6387V14.5669H11.6387V6.56689ZM11.6387 16.5669H13.6387V18.5669H11.6387V16.5669Z",fill:"#2EFFEC"})],-1)),l("div",vs,[l("p",null,p($.$t("profiles.texts.notWegowTicket")),1),l("p",null,p($.$t("profiles.texts.priceInfo")),1)])])):f("",!0),S(e(C),null,{contain:V(()=>[l("article",ps,[l("h3",ms,[l("span",null,p(F.value)+" "+p(h.nameFormatted),1),ne(" "+p($.$t("profiles.in"))+" "+p(e(o)?.city?.name),1)]),l("div",gs,[l("div",null,[ne(p($.$t("wegow.filters.date"))+" ",1),l("span",null,p(ue.value),1),h.isFestival?(i(),v("span",fs," - "+p(pe.value),1)):f("",!0)]),l("div",null,[ne(p($.$t("profiles.labels.hour"))+" ",1),l("span",null,p(ce.value)+"h",1)]),e(o)?.opening_hour&&e(o)?.opening_hour!==e(o)?.start_date?(i(),v("div",hs,[ne(p($.$t("profiles.labels.doorOpen"))+" ",1),l("span",null,p(me.value)+"h",1)])):f("",!0),l("div",null,[ne(p($.$t("profiles.labels.place"))+" ",1),l("span",null,p(e(o)?.venue?.name)+", ",1),l("span",null,p(e(o)?.city?.name||e(o)?.city?.administrative_division),1)]),e(o)?.artists?.length>0&&e(o)?.artists?.length<3?(i(),v("div",_s,[ne(p($.$t("profiles.titles.artists"))+" ",1),(i(!0),v(we,null,Fe(he.value,(U,xe)=>(i(),v("a",{key:U.id,href:U.permalink},[l("span",ws,p(U.name),1),xe!==e(o).artists.length-1?(i(),v("span",bs,", ")):f("",!0)],8,ys))),128))])):f("",!0),e(o).price||e(o).price===0?(i(),v("div",ks,[ne(p($.$t("profiles.labels.anticipatedPrice"))+" ",1),l("span",null,p(ge.value),1)])):f("",!0),l("div",Ss,[e(o).subtitle?(i(),v("h2",xs,p(e(o).subtitle),1)):f("",!0)])]),l("div",$s,[l("p",null,p($.$t("profiles.labels.descriptionInformationOf")),1)]),e(o)?.html_personalization?.html_description?(i(),D(qe,{key:0,"html-personalization":!0,text:e(o)?.html_personalization?.html_description,"max-words":30,class:"mt-4 mb-4 description__html"},null,8,["text"])):(i(),D(qe,{key:1,text:e(o).description,"max-words":30,class:"mt-4 mb-4"},null,8,["text"])),e(o)?.links?.length>
20?(i(),D(e(T),{key:2,facebook:e(A)(e(o).links).facebook?e(A)(e(o).links).facebook:"",instagram:e(A)(e(o).links)?.instagram?e(A)(e(o).links).instagram:"","medias-to-show":e(Vt)(e(o).links),spotify:e(A)(e(o).links).spotify?e(A)(e(o).links).spotify:"",twitter:e(A)(e(o).links).twitter?e(A)(e(o).links).twitter:"",web:e(A)(e(o).links).web?e(A)(e(o).links).web:"",youtube:e(A)(e(o).links).youtube?e(A)(e(o).links).youtube:"",tiktok:e(A)(e(o).links).tiktok?e(A)(e(o).links).tiktok:"",soundcloud:e(A)(e(o).links).soundcloud?e(A)(e(o).links).soundcloud:"",other:e(A)(e(o).links).other?e(A)(e(o).links).other:"",rounded:0},null,8,["facebook","instagram","medias-to-show","spotify","twitter","web","youtube","tiktok","soundcloud","other"])):f("",!0),l("div",Es,[(i(),D(Ie,null,{default:V(()=>[S(e(a),{"object-id":e(o).id,type:"event"},null,8,["object-id"])]),fallback:V(()=>[S(Ce,{class:"min-h-screen"})]),_:1}))])])]),_:1}),e(b)?.events?.length||e(W)?.length||e(t)?.length?(i(),v("section",{key:2,class:_e(["related-container section-container",{"no-paddings":e(q)<475}])},[e(b)?.events?.length?(i(),v("div",zs,[S(It)])):f("",!0),e(W)?.length?(i(),v("div",Ps,[S(Mt,{"artists-related":e(W),breakpoints:"large"},null,8,["artists-related"])])):f("",!0),e(t)?.length?(i(),v("div",Ds,[O[5]||(O[5]=l("div",{class:"slider-gradient bottom-0"},null,-1)),S(as,{"venues-related":e(t),breakpoints:"large"},null,8,["venues-related"])])):f("",!0)],2)):f("",!0),e(o)?.artists?.length>2?(i(),D(ts,{key:3})):f("",!0),e(H)(e(u))?.length?(i(),v("section",{key:4,class:_e(["section-container two-col relative",{"no-paddings":e(q)<475}])},[l("h3",{class:_e(["h3-titles xs:pl-0 pl-[0.813rem]",{"has-show-more":e(H)(e(u))?.length>3}])},p($.$t("profiles.titles.gallery")),3),e(H)(e(u))?.length>3?(i(),v("button",{key:0,class:"text-color-topaz-light text-sm pl-3 md:pl-0",onClick:O[1]||(O[1]=U=>ee.value=!0)},p($.$t("general.header.dropdown.showAll")),1)):f("",!0),l("div",Ts,[S(e(m),{images:e(H)(e(u)),navigation:!1},null,8,["images"]),O[6]||(O[6]=l("div",{class:"slider-gradient"},null,-1))])],2)):f("",!0),h.canShowAccommodation?(i(),v("section",Cs,[S(e(c),{address:e(o)?.venue?.address,"iso-code":e(o)?.city?.iso_code,location:fe.value,"start-date":e(o)?.start_date,"hydrate-on-visible":""},null,8,["address","iso-code","location","start-date"])])):f("",!0),l("section",Is,[l("h3",Ms,p($.$t("profiles.titles.howToGet")),1),l("div",Rs,[l("div",Os,[l("div",Ls,[l("span",null,p(e(o)?.venue?.address),1),(i(),D(Ie,null,{default:V(()=>[l("div",Fs,[e(o)?.venue?.latitude&&e(o)?.venue?.longitude?(i(),D(e(R),{key:0,location:{latitude:e(o).venue.latitude,longitude:e(o).venue.longitude},title:e(o).venue.address},null,8,["location","title"])):f("",!0)])]),fallback:V(()=>[S(Ce,{class:"min-h-screen"})]),_:1}))]),e(o)?.venue?.description?(i(),v("div",As,[l("span",Vs,p($.$t("profiles.titles.publicTransport")),1),l("div",Bs,[l("span",null,p(e(o).venue.description),1)])])):f("",!0)]),l("section",js,[l("span",Us,p($.$t("profiles.titles.transport")),1),l("div",qs,[S(e(x))]),l("div",Ns,[S(e(w))])])])]),S(rs,{onOpenShareModal:ke,"onUpdate:interested":O[2]||(O[2]=U=>Se())}),ee.value?(i(),D(e(I),{key:6,title:$.$t("profiles.titles.gallery"),type:"medium",onClose:O[3]||(O[3]=U=>(ee.value=!1,K.value=!1))},{modalProfile:V(()=>[S(e(m),{images:e(H)(e(u),{showPrincipal:K.value,showGalleryModal:ee.value}),navigation:!1,type:"venue",modal:!0},null,8,["images"])]),_:1},8,["title"])):f("",!0)],64))}},Hs=oe(Ws,[["__scopeId","data-v-300bb75d"]]),Gs={class:"live-now-section section"},Zs=["innerHTML"],Qs={__name:"LiveNowSection",props:{channel:{type:Object,default:y(()=>{},"default")}},setup(h){return(_,c)=>(i(),v("div",Gs,[c[0]||(c[0]=l("h2",null,"LIVE NOW",-1)),c[1]||(c[1]=l("div",{class:"separator"},null,-1)),l("div",{class:"container-iframe",innerHTML:h.channel.embedded_code},null,8,Zs)]))}},We={__name:"SingleExternalPurchaseButton",setup(h){const{details:_}=ye(),{event:c}=ot(),{userDetail:x}=be(),{$apiService:w}=He(),m=y(a=>{c&&typeof c=="function"&&c("external_sell",{event_name:_.value.title,spider_name:a?.aggregator?.name||a?.name||"",post_category:"affiliates"})},"gaEvent"),T=y(async()=>
2{if(!_.value?.artists?.length)return;const a={artist:_.value.artists[0]?.id||null};try{await w.post("/user_artists/",a)}catch{}},"followArtist"),C=y(async()=>{if(!_.value?.venue?.id)return;const a={venue:_.value.venue.id};try{await w.post("/user_venues/",a)}catch{}},"followVenue"),R=y(async a=>{m(a),await C(),await T(),window.open(a.url,"_blank")},"navigateTo");return(a,I)=>(i(),D(ae,{"button-id":"buy-btn",class:"h-[58px]",text:a.$t("wegow.purchase.buy"),background:"opacity",color:"topaz-light",size:"xl","font-size":"xl",type:"button",onClick:I[0]||(I[0]=E=>R(e(_).options[0]))},null,8,["text"]))}},Ks={},Ys={class:"event-header skeleton-wrapper"};function Js(h,_){return i(),v("div",Ys,_[0]||(_[0]=[Pt('<div class="skeleton-wrapper" data-v-6b37539c><div class="skeleton-line title" data-v-6b37539c></div><div class="skeleton-line subtitle" data-v-6b37539c></div><div class="skeleton-row" data-v-6b37539c><div class="skeleton-line pill wide" data-v-6b37539c></div><div class="skeleton-line pill" data-v-6b37539c></div></div><div class="skeleton-row" data-v-6b37539c><div class="skeleton-line btn" data-v-6b37539c></div><div class="skeleton-line btn" data-v-6b37539c></div><div class="skeleton-line btn" data-v-6b37539c></div></div><div class="skeleton-row icons" data-v-6b37539c><div class="skeleton-line icon" data-v-6b37539c></div><div class="skeleton-line icon" data-v-6b37539c></div><div class="skeleton-line icon" data-v-6b37539c></div><div class="skeleton-line icon" data-v-6b37539c></div></div></div>',1)]))}y(Js,"_sfc_render");const Xs=oe(Ks,[["render",Js],["__scopeId","data-v-6b37539c"]]),en={__name:"TwitterPixel",props:{pixel:{type:[Object,String],default:void 0},type:{type:String,default:void 0}},setup(h){const _=h,c=y(()=>{if(!(!_.pixel||!window.twq))try{const x=_.pixel?.eventId||_.pixel||"tw-or3pj-p7wab";window.twq("event",x,{})}catch{}},"addPixel");return Xe(()=>{window.twq?c():setTimeout(()=>{window.twq&&c()},100)}),(x,w)=>(i(),v("div"))}},tn={key:0,class:"event-header"},sn={class:"content content-top"},nn={class:"title lg:w-3/5 lg:mb-[18px]"},an={key:0,class:"text-[20px] md:block hidden"},on={class:"event"},ln=["href"],rn={key:0},un={key:1},cn={key:2},dn={key:1,class:"no-wegow-tickets lg:flex hidden lg:flex-row gap-2 mb-5 text-[12px]"},vn={class:"flex-1"},pn={class:"font-museo-700 text-sm"},mn={class:"text-sm"},gn={key:2,class:"promo"},fn={class:"purchase-container flex justify-between"},hn={key:0,class:"hidden payment md:flex items-center justify-between purchase-container__data"},_n={key:0},yn=["href"],wn={key:1},bn={key:2},kn={key:3,class:"text font-museo-500 price"},Sn={class:"lg:hidden payment flex justify-between align-middle items-center"},xn={key:0},$n=["href"],En={key:1},zn={key:2},Pn={class:"flex gap-2 icon-links-container"},Dn={__name:"EventHeader",props:{nameFormatted:{type:String,default:""},isZero:{type:Boolean,default:!1}},emits:["openShareModal","update:interested"],setup(h,{emit:_}){const{t:c,locale:x}=Pe(),w=Ke(),m=Me(),{y:T}=Je({behavior:"smooth"}),{scrollToSection:C}=it({y:T,headerOffset:140}),R=Oe(),{details:a,defaultChannels:I,eventPurchaseData:E}=Ee(R),{hasCulturalBonus:P}=ye(),{isAuth:q,userDetail:Z}=be(),{openModal:B,SIGN_IN:o}=Re(),{event:j}=ot(),u=_,b=M(!1),W=M("Europe/Madrid"),t=M(!1),H=M({...m.query}),Q=M(""),ie=d(()=>a.value?.type===1),G=d(()=>a.value.options??[]),le=d(()=>G.value.length===1),ee=d(()=>G.value.length),K=d(()=>!!(a.value?.has_options&&(a.value?.options?.length??0)>0)),re=d(()=>{if(!a.value?.start_date)return"";const k=Te(a.value.start_date,Q.value,!1,W.value);return c("profiles.startDate",{weekday:k.dayweek,monthday:k.day,dayformat:Q.value==="en"?k.sufix:"",month:k.month,year:k.year,hour:k.hour})}),de=d(()=>{if(!a.value?.start_date)return"";const k=ze(a.value.start_date,Q.value,t.value);return c("wegow.date.dateFormat",k)}),ve=d(()=>{if(!a.value||!a.value.start_date||!a.value.end_date)return!1;const k=Te(a.value.start_date,Q.value),F=Te(a.value.end_date,Q.value);return k===F}),se=d(()=>{if(!a.value?.end_date)return"";const k=ze(a.value.end_date,Q.value,t.value);return c("wegow.date.dateFormat",k)}),Y=d(()=>E.value.enabled&&E.value.tickets_enabled&&E.value.ticket_types_count>0),ue=d(()=>E.value.enabled&&E.value.tickets_enabled&&(E.value.ticket_types_count>0||G.value.length>0)),pe=d(()=>Le(Number(a.value.price).toFixed(2),a.value.currency)),ce=y(k=>{k.has_waiting_room&&k.queue_link?window.open(k.queue_link,"_blank"):k.purchase_url&&window.open(k.purchase_url,"_self")},"onClickQueued"),me=y(k=>{typeof j=="function"&&j("click",{event_category:k})},"sendGa"),ge=y(()=>{u("openShareModal",!0)},"openShareModal"),fe=y(()=>{u("update:interested")},"interested");return tt(()=>m.query,k=>{H.value={...k}},{immediate:!0,deep:!0}),(k,F)=>{const he=_t;return e(a)?.id?(i(),v("div",tn,[e(a)?.google_pixel_js?(i(),D(jt,{key:0,class:"hidden",pixel:e(a).google_pixel_js},null,8,["pixel"])):f("",!0),e(a)?.facebook_pixel_js?(i(),D(Bt,{key:1,class:"hidden",pixel:e(a).facebook_pixel_js},null,8,["pixel"])):f("",!0),e(a)?.tiktok_pixel_js?(i(),D(Ut,{key:2,class:"hidden",pixel:e(a).tiktok_pixel_js,type:"EventProfile"},null,8,["pixel"])):f("",!0),e(a)?.twitter_pixel_js?(i(),D(en,{key:3,class:"hidden",pixel:e(a).twitter_pixel_js},null,8,["pixel"])):f("",!0),l("div",sn,[b.value&&e(I)[0]?(i(),D(Qs,{key:0,channel:e(I)[0]},null,8,["channel"])):f("",!0),l("div",null,[l("h1",nn,p(k.$t("profiles.buttons.buyTicketsFor",{event:h.nameFormatted}))+" "+p(e(a)?.permalink?.includes("vibra-mahou-fest-madrid")?"":k.$t("wegow.headerDetails.in",{city:e(a)?.city?.name||e(a)?.city?.administrative_division}))+" "+p(e(a).type===0&&e(a).start_date?e(a).start_date.slice(0,4):""),1),e(a).subtitle?(i(),v("h2",an,p(e(a).subtitle),
21)):f("",!0)]),l("div",on,[l("a",{href:e(a)?.venue?.permalink,class:"place text-color-topaz-light font-museo-500"},p(e(a)?.venue?.name)+", "+p(e(a)?.city?.name),9,ln),l("div",{class:_e(["date first-letter:capitalize md:text-l font-museo-500",ie.value?"festival":""])},[ie.value?(i(),v("span",un,p(de.value),1)):(i(),v("span",rn,p(re.value),1)),ie.value&&!ve.value?(i(),v("span",cn," - "+p(se.value),1)):f("",!0)],2)]),K.value?(i(),v("div",dn,[S(N,{size:20,img:"/img/ic-warning-message.svg"}),l("div",vn,[l("div",pn,p(k.$t("profiles.texts.notWegowTicket")),1),l("div",mn,p(k.$t("profiles.texts.priceInfo")),1)])])):f("",!0),e(P)(e(a),W.value)?(i(),v("div",gn,[S(N,{img:"/img/cultural-bonus.png",size:28,class:"hidden xl:block"}),S(N,{img:"/img/cultural-bonus.png",size:16,class:"xl:hidden block"}),ne(" "+p(k.$t("profiles.titles.culturalBonus")),1)])):f("",!0),l("div",{class:_e(["interactions lg:flex hidden items-center",(!e(a).price||e(a).price!==0)&&!h.isZero?"justify-between":"md:gap-[28px]"])},[l("div",fn,[e(a).enabled&&e(a).tickets_enabled&&(e(a).ticket_types_count>0||e(a).options?.length>0)?(i(),v("div",hn,[e(a).queued?ee.value!==1?(i(),v("div",wn,[S(ae,{class:"h-[58px]",text:k.$t("wegow.purchase.buy"),background:"opacity",color:"topaz-light",size:"xl","font-size":"xl",type:"button","button-id":`purchase-queued-button-${e(a).id}`,onClick:F[0]||(F[0]=te=>ce(e(a)))},null,8,["text","button-id"])])):K.value&&le.value?(i(),v("div",bn,[S(We)])):f("",!0):(i(),v("div",_n,[Y.value&&e(a).purchase_url?(i(),v("a",{key:0,href:e(a).purchase_url},[S(ae,{"button-id":"buy-btn",class:"h-[58px]",text:k.$t("wegow.purchase.buy"),background:"opacity",color:"topaz-light",size:"xl","font-size":"xl",type:"button"},null,8,["text"])],8,yn)):Y.value?(i(),D(he,{key:1,to:e(w)({name:`purchase-slug___${e(x)}`,params:{slug:e(a).slug?.replace(/[()]/g,"")||e(a).slug},...H.value}),target:"_blank"},{default:V(()=>[S(ae,{"button-id":"buy-btn",class:"h-[58px]",text:k.$t("wegow.purchase.buy"),background:"opacity",color:"topaz-light",size:"xl","font-size":"xl",type:"button"},null,8,["text"])]),_:1},8,["to"])):f("",!0)])),(e(a).price||e(a).price===0)&&!h.isZero?(i(),v("div",kn,p(k.$t("profiles.from"))+" "+p(pe.value),1)):f("",!0)])):f("",!0),l("div",Sn,[e(a).queued?ee.value!==1?(i(),v("div",En,[S(ae,{id:"square-banner-purchase",text:k.$t("wegow.purchase.buy"),background:"opacity",color:"topaz-light",size:"xs",type:"button","button-id":`purchase-queued-button-${e(a).id}`,onClick:F[1]||(F[1]=te=>ce(e(a)))},null,8,["text","button-id"])])):K.value&&le.value?(i(),v("div",zn,[S(We)])):f("",!0):(i(),v("div",xn,[ue.value&&e(a).purchase_url?(i(),v("a",{key:0,class:"mr-0",href:e(a).purchase_url},[K.value?f("",!0):(i(),D(ae,{key:0,id:"square-banner-purchase",text:k.$t("wegow.purchase.buy"),background:"opacity",color:"topaz-light",size:"xs",type:"button"},null,8,["text"]))],8,$n)):ue.value?(i(),D(he,{key:1,class:"mr-0",to:e(w)({name:`purchase-slug___${e(x)}`,params:{slug:e(a).slug?.replace(/[()]/g,"")||e(a).slug},...H.value}),target:"_blank"},{default:V(()=>[K.value?f("",!0):(i(),D(ae,{key:0,id:"square-banner-purchase",text:k.$t("wegow.purchase.buy"),background:"opacity",color:"topaz-light",size:"xs",type:"button"},null,8,["text"]))]),_:1},8,["to"])):f("",!0)]))])]),l("div",Pn,[S(N,{class:"interaction__btn transition-all",img:e(a)?.user?.tracking?"/img/ic-full-heart-rounded-topaz.svg":"/img/ic-empty-heart-rounded-topaz.svg",size:41,onClick:F[2]||(F[2]=te=>(e(q)?fe():e(B)(e(o)),me("sign-in")))},null,8,["img"]),S(N,{class:"interaction__btn",img:"/img/ic-followers-circle-topaz.svg",size:41,onClick:F[3]||(F[3]=te=>e(C)("followers"))}),l("span",{href:"#",class:"chat-button interaction__btn",onClick:F[4]||(F[4]=te=>e(C)("chat-section"))},[S(N,{img:"/img/ic-chat-circle-topaz.svg",size:41})]),l("div",{class:"flex flex-col interaction__btn",onClick:F[5]||(F[5]=te=>ge())},[S(N,{img:"/img/ic-share-circle-topaz.svg",size:41})])])],2)])])):(i(),D(Xs,{key:1}))}}},Tn=oe(Dn,[["__scopeId","data-v-7e537217"]]),Cn={key:0},In={key:1},Mn={class:"w-full"},Rn={class:"container-bg-img"},On={class:"background-image-blur loaded"},Ln={id:"event-nav",class:"flex flex-row justify-evenly gap-3"},Fn={__name:"EventLayout",async setup(h){let _,c;const x=X(()=>J(()=>import("./uV2LXgyF.js").then(n=>n.a),__vite__mapDeps([35,2,3,4,5,36]),import.meta.url)),w=Qe();yt();const{t:m,locale:T}=Pe(),C=St(),R=wt(),{y:a}=Je({behavior:"smooth"}),I=Ye(),E=qt(),P=Oe(),q=bt(),Z=kt(),{followEvent:B,unfollowEvent:o,getEventDetails:j}=P,{followEvent:u,unfollowEvent:b,getEventFollowers:W}=I,{details:t}=Ee(P),{media:H,getPurchaseActive:Q,loading:ie}
2=ye(),{userDetail:G}=be(),{getValidMedias:le}=st(),ee=M(!1),K=M(!1),re=M(!1),de=M(!1),ve=M(!1),se=M({...w.query}),Y=M(!1),ue=y(async()=>{try{const n={};w.query.preview==="true"&&(n.preview=!0),w.query.backoffice==="true"&&(n.backoffice=!0),await j(w.params.slug,n)}catch(n){console.error("[EventLayout] Error al obtener los detalles del evento:",n)}},"loadEvent");[_,c]=Dt(async()=>Nt(`event:${w.params.slug}`,async()=>{if(await ue(),t.value?.queued_web&&t.value?.queue_link){await zt(t.value.queue_link,{external:!0});return}},"$6g9tDTeGh2")),await _,c();const pe=d(()=>t.value?.type===0),ce=d(()=>t.value?.type===1),me=d(()=>t.value?.type===2),ge=d(()=>t.value?.type===3),fe=d(()=>{const n=t.value?.artists||[];return n.length>0?n.map(z=>z?.name).filter(Boolean).join(", ").toString():t.value.title}),k=d(()=>{let n=t.value.title||"";return n=n.replace(m("wegow.headerDetails.start"),""),n=n.replace(m("wegow.headerDetails.startStreaming"),""),n.replace(m("wegow.headerDetails.in",{city:t.value.city?.name||t.value.city?.administrative_division}),"")}),F=d(()=>t.value?.thumbnails?.m_hor_dt||t.value?.image_url||""),he=d(()=>!!(t.value?.venue?.latitude&&t.value?.venue?.longitude)),te=d(()=>!!t.value?.venue?.address),ke=d(()=>ve.value&&(he.value||te.value)),Se=d(()=>{let n={title:"",description:""};return t.value?.id&&(t.value?.html_personalization?(n.title=t.value.html_personalization.head_title||t.value.title||"",n.description=t.value.html_personalization.head_meta_description||t.value.description||""):ce.value?(n.title=m("general.metas.festivalTitle",{event_title:t.value.title||""}),n.description=m("general.metas.festivalDescription",{festival:t.value.title||""})):pe.value?(n.title=m("general.metas.concertTitle",{artists:fe.value||t.value.title||"",city:t.value?.city?.name||""}),n.description=m("general.metas.concertDescription",{artist:fe.value||t.value.title||"",city:t.value?.city?.name||"",venue:t.value?.venue?.name||""})):me.value?(n.title=m("general.metas.sessionTitle",{event_title:t.value.title||"",city:t.value?.city?.name||""}),n.description=m("general.metas.sessionDescription",{session:t.value.title||"",city:t.value?.city?.name||"",venue:t.value?.venue?.name||""})):ge.value?(n.title=m("general.metas.partiesTitle",{event_title:t.value.title||"",city:t.value?.city?.name||""}),n.description=m("general.metas.partiesDescription",{party:t.value.title||"",venue:t.value?.venue?.name||""})):(n.title=t.value.title||"",n.description=t.value.description||"")),n}),$=d(()=>C.public.FRONT||"https://www.wegow.com"),O=d(()=>$.value+w.fullPath),U=y(n=>{if(!n||typeof n!="string")return!1;const r=["ic-wegow-topaz.svg","ic-wegow-topaz.png","wegow-logo","wegow-conciertos.svg","/no-delete/wegow/wegow"],L=n.includes("/master/")&&n.includes("/img/")&&n.includes("ic-wegow");return r.some(s=>n.includes(s))||L},"isWegowLogo"),xe=d(()=>{let n=null;return t.value?.thumbnails?.s_hor_dt&&!U(t.value.thumbnails.s_hor_dt)?n=t.value.thumbnails.s_hor_dt:t.value?.thumbnails?.l_hor_dt&&!U(t.value.thumbnails.l_hor_dt)?n=t.value.thumbnails.l_hor_dt:t.value?.image_url&&!U(t.value.image_url)?n=t.value.image_url:t.value?.artists?.length>0&&t.value.artists[0].image_url&&!U(t.value.artists[0].image_url)?n=t.value.artists[0].image_url:t.value?.artists?.length>0&&t.value.artists[0].thumbnails?.s_hor_dt&&!U(t.value.artists[0].thumbnails.s_hor_dt)?n=t.value.artists[0].thumbnails.s_hor_dt:n="/img/wegow-cabecera.png",n}),lt=d(()=>{const n=xe.value||"/img/wegow-cabecera.png";return n.startsWith("http")?n:n.startsWith("/")?$.value+n:$.value+"/"+n}),rt=d(()=>t.value?.closed||t.value?.cancelation_status!==0?"https://schema.org/EventCancelled":"https://schema.org/EventScheduled"),Ae=d(()=>(t.value?.artists||[]).filter(L=>!!L?.name).map(L=>{let s=L.image_url;return(!s||U(s))&&(s="img/wegow-cabecera.webp"),{"@type":"Person","@id":`${t.value.permalink}#/schema/person/${L.id}`,name:L.name,image:s}})),Ve=d(()=>{const n=t.value?.permalink?t.value.permalink.startsWith("http")?t.value.permalink:$.value+t.value.permalink:$.value+w.path,r=xe.value,L=r?.startsWith("http")?r:r?.startsWith("/")?$.value+r:$.value+"/"+r,s=t.value?.start_date?new Date(t.value.start_date).toISOString():null,z=t.value?.end_date?new Date(t.value.end_date).toISOString():null;return{name:t.value?.title,location:{"@type":"Place",name:t.value?.venue?.name,address:{"@type":"PostalAddress",streetAddress:t.value?.venue?.address,addressLocality:t.value?.city?.name,addressRegion:t.value?.city?.administrative_division,addressCountry:t.value?.city?.iso_code||"ES"}},description:Se.value.description,image:L,organizer:{"@type":"Organization",name:"Wegow",url:$.value},performer:Ae.value.length>0?Ae.value:void 0,offers:{"@type":"Offer",price:Number(t.value?.price||0).toFixed(2),priceCurrency:t.value?.currency??"EUR",url:n,validFrom:s||new Date().toISOString(),availability:t.value?.tickets_enabled?"https://schema.org/InStock":"https://schema.org/SoldOut"},startDate:s?R.tz(s,"Europe/Madrid").format():void 0,endDate:z?R.tz(z,"Europe/Madrid").format():void 0,eventAttendanceMode:"https://schema.org/OfflineEventAttendanceMode",eventStatus:rt.value,mainEntityOfPage:{"@i
2d":n+"#webpage"}}}),ut=y(()=>{},"updateScreen"),ct=y(n=>{if(typeof window>"u"||!window.history)return;let r=n.path;const L=t.value.type;if(L===0){if(g.festivalStrinigs.some(s=>n.path.includes("/"+s+"/"))){for(let s=0;s<g.festivalStrinigs.length;s++){const z=new RegExp("\\b/"+g.festivalStrinigs[s]+"/\\b","g");r=r.replace(z,"/"+g.concertStrinigs[s]+"/")}window.history.pushState(null,null,r)}else if(g.sessionStrinigs.some(s=>n.path.includes("/"+s+"/"))){for(let s=0;s<g.sessionStrinigs.length;s++){const z=new RegExp("\\b/"+g.sessionStrinigs[s]+"/\\b","g");r=r.replace(z,"/"+g.concertStrinigs[s]+"/")}window.history.pushState(null,null,r)}else if(g.partyStrinigs.some(s=>n.path.includes("/"+s+"/"))){for(let s=0;s<g.partyStrinigs.length;s++){const z=new RegExp("\\b/"+g.partyStrinigs[s]+"/\\b","g");r=r.replace(z,"/"+g.concertStrinigs[s]+"/")}window.history.pushState(null,null,r)}}else if(L===1){if(g.concertStrinigs.some(s=>n.path.includes(s))){for(let s=0;s<g.concertStrinigs.length;s++){const z=new RegExp("\\b/"+g.concertStrinigs[s]+"/\\b","g");r=r.replace(z,"/"+g.festivalStrinigs[s]+"/")}window.history.pushState(null,null,r)}else if(g.sessionStrinigs.some(s=>n.path.includes("/"+s+"/"))){for(let s=0;s<g.sessionStrinigs.length;s++){const z=new RegExp("\\b/"+g.sessionStrinigs[s]+"/\\b","g");r=r.replace(z,"/"+g.festivalStrinigs[s]+"/")}window.history.pushState(null,null,r)}else if(g.partyStrinigs.some(s=>n.path.includes("/"+s+"/"))){for(let s=0;s<g.partyStrinigs.length;s++){const z=new RegExp("\\b/"+g.partyStrinigs[s]+"/\\b","g");r=r.replace(z,"/"+g.festivalStrinigs[s]+"/")}window.history.pushState(null,null,r)}}else if(L===2){if(g.concertStrinigs.some(s=>n.path.includes(s))){for(let s=0;s<g.concertStrinigs.length;s++){const z=new RegExp("\\b/"+g.concertStrinigs[s]+"/\\b","g");r=r.replace(z,"/"+g.sessionStrinigs[s]+"/")}window.history.pushState(null,null,r)}else if(g.festivalStrinigs.some(s=>n.path.includes("/"+s+"/"))){for(let s=0;s<g.festivalStrinigs.length;s++){const z=new RegExp("\\b/"+g.festivalStrinigs[s]+"/\\b","g");r=r.replace(z,"/"+g.sessionStrinigs[s]+"/")}window.history.pushState(null,null,r)}else if(g.partyStrinigs.some(s=>n.path.includes("/"+s+"/"))){for(let s=0;s<g.partyStrinigs.length;s++){const z=new RegExp("\\b/"+g.partyStrinigs[s]+"/\\b","g");r=r.replace(z,"/"+g.sessionStrinigs[s]+"/")}window.history.pushState(null,null,r)}}else if(L===3){if(g.concertStrinigs.some(s=>n.path.includes(s))){for(let s=0;s<g.concertStrinigs.length;s++){const z=new RegExp("\\b/"+g.concertStrinigs[s]+"/\\b","g");r=r.replace(z,"/"+g.partyStrinigs[s]+"/")}window.history.pushState(null,null,r)}else if(g.festivalStrinigs.some(s=>n.path.includes("/"+s+"/"))){for(let s=0;s<g.festivalStrinigs.length;s++){const z=new RegExp("\\b/"+g.festivalStrinigs[s]+"/\\b","g");r=r.replace(z,"/"+g.partyStrinigs[s]+"/")}window.history.pushState(null,null,r)}else if(g.sessionStrinigs.some(s=>n.path.includes("/"+s+"/"))){for(let s=0;s<g.sessionStrinigs.length;s++){const z=new RegExp("\\b/"+g.sessionStrinigs[s]+"/\\b","g");r=r.replace(z,"/"+g.partyStrinigs[s]+"/")}window.history.pushState(null,null,r)}}},"changeUrlToEventType"),dt=y(async()=>{{const n={campaign:"page_view",id:I.userDetail?.unsubscribe_token?I.userDetail.unsubscribe_token:typeof sessionStorage<"u"?sessionStorage.tt_sessionId:null,uri:w.fullPath,pageName:w.name};typeof window<"u"&&!window.location.href.includes("wegowlocal")&&await E.sendToStatsService(n)}},"sendStats"),De=y(n=>{const r=document.getElementById(n);a.value=r.offsetTop},"scrollToSection"),vt=y(n=>le(n,{showPrincipal:re.value,showGalleryModal:de.value}),"getValidMedias"),pt=y(async()=>{const n=t.value;if(!n?.id)return;const r=!!n.user?.tracking,L=n.followers_count,s=G.value?.events_count;try{r?(await o(n),await b()):(await B(n),await u()),await W({id:n.id})}catch(z){n.followers_count=L,n.user&&(n.user.tracking=r,n.user.following=r),G.value&&typeof s=="number"&&(G.value.events_count=s),console.error("Error toggling interest status:",z)}},"interested"),Be=y(()=>{Y.value=!Y.value},"openShareModal"),mt=y(async()=>{await Promise.all([P.getEventMedia({event:t.value.id}),q.getArtistsRelatedToEvent({count:!0,id:t.value.id,page_size:10}),Z.getVenuesRelatedToEvent({count:!0,id:t.value.id,page_size:10}
2),P.getEventsRelatedToEvent({id:t.value.id,page:1,page_size:10,count:!0})])},"getRelated");et(async()=>{window.addEventListener("resize",ut),await ue(),t.value.id&&(await mt(),await W({id:t.value.id}),ct(w)),t.value?.slug&&setTimeout(async()=>{try{await Q(t.value.slug,{nocache:!0})}catch(n){console.warn("[EventLayout] Error en segunda llamada del evento (no crÃtico):",n)}},500),await dt()}),Tt(()=>{t.value&&(ve.value=!0)}),tt(()=>w.query,n=>{se.value={...n}},{immediate:!0,deep:!0}),Ge({link:[{href:"https://cdn.smartclip-services.com/smartclip.js",crossorigin:"use-credentials"}]});try{Wt({event:t,metadata:Se,baseUrl:$.value,canonicalUrl:O.value,ogImageUrl:lt.value,locale:T})}catch(n){console.error("[event-layout] ERROR en useEventMetaTags (no crÃtico):",n)}try{xt(()=>!Ve.value||!t.value?.id?[]:[$t(Ve.value)])}catch(n){console.error("[event-layout] ERROR en useSchemaOrg (no crÃtico):",n)}return(n,r)=>{const L=Et;return i(),v("div",null,[e(ie)?(i(),v("div",Cn,[S(Ce,{class:"min-h-screen"})])):e(t)&&Object.keys(e(t)).length>0&&e(t).id?(i(),v("div",In,[l("div",Mn,[l("div",Rn,[l("div",On,[S(L,{src:F.value,alt:"",class:"w-full h-full object-cover",format:"avif,webp",loading:"eager",preload:"",fetchpriority:"high",width:1024,height:440,sizes:"(min-width: 992px) 1024px, 100vw"},null,8,["src"])]),r[9]||(r[9]=l("div",{class:"overlay-bg-img"},null,-1))]),S(Rt,{image:e(t)?.image_url,previsualization:!e(t).enabled,profile:e(t).title,medias:e(H).media,type:"event","event-type":e(t).type===0?"concert":"festival",artist:e(t)?.artists,cancelation:e(t).cancelation_status,"onUpdate:openShare":r[6]||(r[6]=s=>Be()),onOpenGallery:r[7]||(r[7]=s=>(vt(e(H))?.length&&(de.value=!0),re.value=!0))},{header:V(()=>[e(t)?.id?(i(),D(Tn,{key:0,"name-formatted":k.value,"is-zero":ee.value,onOpenShareModal:r[0]||(r[0]=s=>Be()),"onUpdate:followEvent":r[1]||(r[1]=s=>n.onFollowEvent()),"onUpdate:interested":r[2]||(r[2]=s=>pt())},null,8,["name-formatted","is-zero"])):f("",!0)]),"top-sections":V(()=>[l("ol",Ln,[l("li",{class:"section",onClick:r[3]||(r[3]=s=>De("event-information"))},p(n.$t("profiles.titles.information")),1),ke.value?(i(),v("li",{key:0,class:"section",onClick:r[4]||(r[4]=s=>De("event-accommodation"))},p(n.$t("profiles.titles.accommodation")),1)):f("",!0),l("li",{class:"section",onClick:r[5]||(r[5]=s=>De("how-to-get"))},p(n.$t("profiles.titles.howToGet")),1)])]),content:V(()=>[S(Hs,{"is-concert":pe.value,"is-festival":ce.value,"is-party":ge.value,"is-session":me.value,"is-streaming":K.value,canShowAccommodation:ke.value,"name-formatted":k.value},null,8,["is-concert","is-festival","is-party","is-session","is-streaming","canShowAccommodation","name-formatted"])]),_:1},8,["image","previsualization","profile","medias","event-type","artist","cancelation"])])])):(i(),D(Ct,{key:2})),(i(),D(Ie,null,{default:V(()=>[Y.value?(i(),D(e(x),{key:0,category:"event",onClose:r[8]||(r[8]=s=>Y.value=!1)})):f("",!0)]),_:1}))])}}},oa=oe(Fn,[["__scopeId","data-v-5907c323"]]);export{oa as E};
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.