1System.register(["./hostAppBar-legacy-Dd_Gp-C8.js","./index-legacy-BtJkYB7P.js","./customSearch-legacy-DCvJFPQA.js","./drawerIcon-legacy-BXXlzKEg.js"],function(e,t){"use strict";var l,a,n,s,u,r,o,i,d,c,v,p,y,m,f,g,h,b,S,x,k,_,w,$,N,O,C,I,j,P,T;return{setters:[e=>{l=e.H},e=>{a=e._,n=e.X,s=e.ar,u=e.c,r=e.a3,o=e.a6,i=e.o,d=e.e,c=e.f,v=e.t,p=e.q,y=e.a9,m=e.a4,f=e.r,g=e.n,h=e.x,b=e.a8,S=e.F,x=e.v,k=e.g,_=e.z,w=e.m,$=e.N,N=e.Q,O=e.R,C=e.S,I=e.M,j=e.T,P=e.E,T=e.G},null,null],execute:function(){var t=document.createElement("style");t.textContent=".filterSelector[data-v-8325b358]{max-width:200px}.listTable thead td[data-v-8325b358]{text-transform:capitalize;border-bottom:1px solid silver}\n/*$vite$:1*/",document.head.appendChild(t);const E={class:"d-flex mb-8"},K={key:0,style:{"font-size":"16px","font-weight":"bold",padding:"20px"}},U=["href"],V=["href"],Y={key:1},z=["href"];e("default",a({__name:"newDashboard",setup(e){const t=n(),a=s({year:t.currentYear,season:t.currentSeason,type:"notPaid"}),D=u(()=>{let e="";for(let[l,n]of Object.entries(t.seasonYears))n===+a.year&&(e=l);return e}),M=r([]),R=o(!1),A="https://us-central1-forged-7adb7.cloudfunctions.net";function F(){let e=a.season;const t=D.value;M.value=[],$(T("/venues"),l=>{let n=l.val();const s={};for(let[e,t]of Object.entries(n))"subscription"!==t.paymentMethod&&(s[e]=t);R.value=!0;let u=[];for(let r in s)u.push(new Promise((l,u)=>{$(N(I(`/venues/${r}/event-list/league`),C("currentSeason"),O(t)),o=>{if(o.exists()){let i=o.val();for(let o in i)if("admin-test-test"!==r&&"watl"!==r){if(!i[o].slug){u(!1);continue}$(j(`/venues/${r}/league/${i[o].slug}/${t}/Week5`),t=>{let u=t.exists(),d=n[r].company+" - "+n[r].city;i[o].seasonName===e&&((!i[o].paid&&"notPaid"===a.type||"all"===a.type)&&(u&&i[o].players>0?M.value.push({venueName:d,venueKey:r,slug:i[o].slug,title:i[o].title,due:u,paid:i[o].paid,players:i[o].players,customer:s[r].customer}):console.log("no players",r,i[o].slug)),u&&!i[o].paid&&P(I("/venues/"+r+"/event-list/league/"+o),{due:!0})),l(!0)},{onlyOnce:!0})}else u(!1)}else u(!1)},{onlyOnce:!0})}));Promise.allSettled(u).then(()=>{R.value=!1})},{onlyOnce:!0})}return i(()=>{}),(e,n)=>{const s=f("v-spacer"),u=f("v-btn"),r=f("v-table");return k(),d("div",null,[c(l,{title:"Dashboard","hide-search-input":""}),v("div",E,[c(y,{label:"Year",items:[{title:2024,value:2024},{title:2025,value:2025},{title:2026,value:2026}],value:a.year,onUpdatedSelectValue:n[0]||(n[0]=e=>a.year=e),class:"mr-3 filterSelector"},null,8,["value"]),c(y,{label:"Season",items:m(t).seasons,value:a.season,onUpdatedSelectValue:n[1]||(n[1]=e=>a.season=e),class:"mr-3 filterSelector"},null,8,["items","value"]),c(s),c(y,{label:"Type",items:[{title:"All",value:"all"},{title:"Not paid",value:"notPaid"}],value:a.type,onUpdatedSelectValue:n[2]||(n[2]=e=>a.type=e),class:"filterSelector"},null,8,["value"]),c(b,{onClick:F,class:"my-0"},{default:g(()=>[...n[3]||(n[3]=[h("check",-1)])]),_:1})]),R.value?(k(),d("div",K," Loading please wait... ")):p("",!0),c(r,{class:"listTable"},{default:g(()=>[n[7]||(n[7]=v("thead",null,[v("tr",null,[v("td",null,"â"),v("td",null,"venue"),v("td",null,"league"),v("td",null,"players"),v("td",null,"stripe"),v("td",null,"action")])],-1)),v("tbody",null,[(k(!0),d(S,null,x(M.value,(e,t)=>(k(),d("tr",null,[v("td",null,_(t+1),1),v("td",null,_(e.venueName),1),v("td",null,[v("a",{href:"https://axethrowing.org/"+e.venueKey+"/league/"+e.slug,target:"_blank"},_(e.title),9,U)]),v("td",null,_(e.players),1),v("td",null,[e.customer?(k(),d("a",{key:0,href:"https://dashboard.stripe.com/customers/"+e.customer,target:"_blank"},"STRIPE",8,V)):p("",!0),e.customer?p("",!0):(k(),d("span",Y,[n[4]||(n[4]=h("NO CUSTOMER (",-1)),v("a",{href:`${m(A)}/locations/owner?venue=`+e.venueKey,target:"_blank"},"FIND",8,z),n[5]||(n[5]=h(")",-1))]))]),v("td",null,[e.customer&&!e.paid?(k(),w(u,{key:0,onClick:t=>{return l=e.venueKey,t.target.classList.add("hide"),void window.open(`${A}/payments/generateInvoice?venue=${l}&season=${D.value}`,"_blank");var l}},{default:g(()=>[...n[6]||(n[6]=[h("INVOICE",-1)])]),_:1},8,["onClick"])):p("",!0)])]))),256))])]),_:1})])}}},[["__scopeId","data-v-8325b358"]]))}}});
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.