PageSourceSearch

https://axethrowing.org/assets/disVenueSubscription-NKEtx4Pi.js

js axethrowing.org collected 2026-10-01 15:01:03 UTC 1,297 bytes, 1 lines download raw bytes

1import{u as e,c as t,w as a,o,a as r,b as s,d as n,e as u,f as l,r as c,g as i,s as p,A as d}from"./index-M5qy_4Wm.js";const v={class:"d-flex align-center justify-center pa-5"},g={__name:"disVenueSubscription",setup(g){const m=s(),f=n(),h=e();const y=t(()=>h.venue);return a(()=>y.value[".key"],e=>{var t,a,o;r.currentUser&&e&&("watl-affiliated"===(null==(t=y.value)?void 0:t.type)||"custom"===(null==(a=y.value)?void 0:a.type)&&y.value.subscription)?(console.log("run redirect"),f.push("/".concat(y.value.locationSlug))):r.currentUser&&e&&"custom"===(null==(o=y.value)?void 0:o.type)&&!y.value.subscription&&(console.log("run subscription"),p(h.venue.locationSlug,h.venue.customer,"price_1QEvolIaRXueNA4wY6sNMuKF",7,1e4,"".concat("https://axethrowing.org","/").concat(y.value.locationSlug)).then(e=>{window.location.replace(e.data.url)}).catch(e=>{console.log(e.response.data),d({group:"notifyMessages",type:"error",title:"Error",text:e.response.data,duration:4e3})}))},{immediate:!0}),o(()=>{r.currentUser||(console.log("!auth.currentUser in mount"),localStorage.setItem("redirect_path",JSON.stringify({path:m.fullPath,expire:Date.now()+36e5})),f.push("/login"))}),(e,t)=>{const a=c("v-progress-circular");return i(),u("div",v,[l(a,{indeterminate:"",color:"#0B2E7D"})])}}};export{g 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.