1import{_ as l,m as u,j as h,b as n,c,o as r,a as e,d as g,w as m,Z as i,t as a,F as N,f as v,g as _}from"./index-sUPB-bMu.js";const C={name:"UserEventBase",props:{eventId:{type:[Number,String],required:!0},ticketId:{type:[Number,String],required:!0}},data(){return{hasApiError:!1}},computed:{...h(["userEventTicketContent","userEventSubscribedData"]),eventName(){const t=this.userEventSubscribedData(Number(this.eventId));return t?t.nome:""},alertMessage(){return this.hasApiError?{type:"error",message:this.$t("GLOBAL.ERROR.GENERIC_ERROR")}:{type:"warning",message:this.$t("USER.EVENT.TICKETS.CONTENT.ERROR.NO_CONTENT")}}},created(){this.appSetLoadingState({context:"TICKET_CONTENT_GET",status:!0}),this.loadData()},methods:{...u(["appSetLoadingState","userGetEventTicketContent"]),goBack(){this.$router.go(-1)},async loadData(){try{await this.userGetEventTicketContent({eventId:this.eventId,ticketId:this.ticketId})}catch{this.hasApiError=!0}this.appSetLoadingState({context:"TICKET_CONTENT_GET",status:!1})}}},S={class:"page-ticket-content page-content__desktop-large"},k={class:"page-ticket-content__content container"},I={class:"page-ticket-content__content__inline-content"},R={class:"title"},f={class:"page-content__top-message"},B={class:"text"},y={class:"bold"},b={class:"page-content__content"};function O(t,o,A,w,d,s){const E=n("AlertBox"),p=n("SvgElement"),T=n("router-view");return r(),c("div",S,[e("div",k,[d.hasApiError?(r(),g(E,{key:0,type:s.alertMessage.type},{default:m(()=>[i(a(s.alertMessage.message),1)]),_:1},8,["type"])):(r(),c(N,{key:1},[e("div",I,[e("button",{class:"go-back",onClick:o[0]||(o[0]=v(x=>s.goBack(),["prevent"]))},[_(p,{name:"ArrowLeft",width:"1.4rem"})]),e("h1",R,a(t.$t("USER.EVENT.SUBSCRIBED.TITLE.INTERNAL")),1)]),e("div",f,[e("h2",B,[i(a(t.$t("USER.EVENT.TICKETS.CONTENT.TEXT.CHECK_THE_CONTENT"))+" ",1),e("span",y,'"'+a(s.eventName)+'"',1)])]),e("div",b,[_(T)])],64))])])}const D=l(C,[["render",O]]);export{D 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.