1import{_,j as m,b as a,c as u,o as y,g as s,a as r,w as l,Z as c,t,aB as R}from"./index-sUPB-bMu.js";import{m as P}from"./menuItemNameMixin-D-Sxrcvm.js";const h={name:"DeletePrayer",mixins:[P],props:{prayerId:{type:String,required:!0}},computed:{...m(["prayerReturnUrl"])},created(){this.$useHead({title:this.$t("PRAYER.MODULE_NAME")})},methods:{goBack(){this.$router.go(-1)},async deleteUserPrayer(){try{await R.deletePrayer(this.prayerId),this.$router.replace({name:"prayerDeleteSuccess"})}catch(e){e.response&&(this.deletePrayerError={type:"error",message:this.$t("CHECKOUT.MESSAGE.ERROR.GENERIC_ERROR")})}}}},f={class:"prayer-delete"},A={class:"prayer-delete__content"},C={class:"prayer-delete__content__title"},D={class:"prayer-delete__content__description"};function T(e,o,$,g,I,n){const d=a("PageContentHeader"),i=a("SvgElement"),p=a("router-link");return y(),u("div",f,[s(d,{padded:!0,leftmobile:!0},{default:l(()=>[c(t(e.menuItemName("INPCAPP_ORACOES")||e.$t("PRAYER.MODULE_NAME")),1)]),_:1}),r("section",A,[s(i,{name:"IlustraDeletePrayer",title:"IlustraDeletePrayer",type:"other",class:"prayer-delete__content__image"}),r("h2",C,t(e.$t("PRAYER.DELETE.TITLE")),1),r("p",D,t(e.$t("PRAYER.DELETE.SUBTITLE")),1),r("button",{class:"btn btn--outline-primary button-delete",onClick:o[0]||(o[0]=(...E)=>n.deleteUserPrayer&&n.deleteUserPrayer(...E))},t(e.$t("PRAYER.DELETE.BUTTON")),1),s(p,{to:{name:e.prayerReturnUrl},class:"btn btn--color-primary button-cancel"},{default:l(()=>[c(t(e.$t("PRAYER.DELETE.CANCEL")),1)]),_:1},8,["to"])])])}const U=_(h,[["render",T],["__scopeId","data-v-f1f4106b"]]);export{U 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.