PageSourceSearch

https://fontedavida.com.br/assets/Base-BHnz7lGL.js

js fontedavida.com.br collected 2026-09-26 18:03:13 UTC 1,901 bytes, 1 lines download raw bytes

1import{_ as l,m as h,j as p,b as i,c as d,o as n,d as o,e as c,w as m,Z as v,t as f}from"./index-sUPB-bMu.js";const g={name:"BaseEvents",props:{eventId:{type:Number,required:!0},buyingStep:{type:String,required:!1,default:"tickets"},fillTicket:{type:Number,required:!1,default:0}},data(){return{hasContent:!1,alertBox:{type:null,message:null}}},computed:{...p(["userInpeaceAccount","churchData"])},watch:{eventId(s,t){s!==t&&this.getData()}},mounted(){if(!this.eventId){this.$router.replace({name:"eventAll"});return}this.getData()},methods:{...h(["eventGetAll","checkoutType","eventGetSingle","appSetLoadingState","eventResetCheckout","eventGetBoughtTickets","eventResetCheckoutEvent"]),buyItem(){this.checkoutType("event"),this.$router.push({name:"checkout"}).catch(()=>{})},getData(){this.appSetLoadingState({context:"GLOBAL",status:!0});const s=[this.eventGetSingle(this.eventId),this.eventGetAll(this.churchData.slug)];this.userInpeaceAccount&&s.push(this.eventGetBoughtTickets(this.eventId)),Promise.all(s).then(t=>{if(t[0].status!==200||t[1].status!==200){let e;switch(t.status){case 404:e=this.$t("EVENT.SINGLE.MESSAGE.ERROR.NOT_FOUND"),this.eventResetCheckoutEvent(),this.eventResetCheckout();break;default:e=this.$t("EVENT.SINGLE.MESSAGE.ERROR.GENERIC");break}this.hasContent=!1,this.alertBox={type:"warning",message:e};return}this.hasContent=!0}).finally(()=>{this.appSetLoadingState({context:"GLOBAL",status:!1})})}}},k={class:"page-event"};function _(s,t,e,y,a,E){const r=i("AlertBox"),u=i("router-view");return n(),d("div",k,[a.alertBox.message?(n(),o(r,{key:0,type:a.alertBox.type},{default:m(()=>[v(f(a.alertBox.message),1)]),_:1},8,["type"])):c("",!0),a.hasContent?(n(),o(u,{key:e.eventId,"buying-step":e.buyingStep,"fill-ticket":Number(e.fillTicket)},null,8,["buying-step","fill-ticket"])):c("",!0)])}const B=l(g,[["render",_],["__scopeId","data-v-772eb95f"]]);export{B 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.