PageSourceSearch

https://axethrowing.org/assets/hostsTeams-C1dY5C5c.js

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

1import{_ as l,a4 as a,c as e,o as t,O as n,H as s,e as u,v as o,f as r,q as d,F as v,x as c,r as i,d as m,g as h,B as p}from"./index-M5qy_4Wm.js";const f=["onClick"],y={class:"nameField"},g={class:"pagination-controls"},_=l({__name:"hostsTeams",setup(l){const _=a([]),b=a(1),k=m(),x=e(()=>{var l;return Math.ceil(((null==(l=_.value)?void 0:l.length)||0)/30)});const C=e(()=>{if(!_.value)return[];const l=30*(b.value-1),a=l+30;return _.value.slice(l,a)}),F=l=>{b.value=l};return t(()=>{n(s("teams"),l=>{_.value=Object.values(l.val()||{}).filter(l=>!l.archive)})}),(l,a)=>{const e=i("v-table"),t=i("v-pagination");return h(),u("div",null,[a[2]||(a[2]=o("h1",null,"Teams",-1)),r(e,null,{default:d(()=>[a[1]||(a[1]=o("thead",null,[o("tr",null,[o("th",{class:"nameField"},"Name"),o("th",null,"Code"),o("th",null,"Player 1"),o("th",null,"Player 2")])],-1)),o("tbody",null,[(h(!0),u(v,null,c(C.value,l=>{var a,e,t,n;return h(),u("tr",{key:l.code,onClick:a=>function(l){k.push("/team/".concat(l.code))}(l),class:"team"},[o("td",y,p(l.name),1),o("td",null,p(l.code),1),o("td",null,p(null==(a=l.player1)?void 0:a.first)+" "+p(null==(e=l.player1)?void 0:e.last),1),o("td",null,p(null==(t=l.player2)?void 0:t.first)+" "+p(null==(n=l.player2)?void 0:n.last),1)],8,f)}),128))])]),_:1}),o("div",g,[r(t,{modelValue:b.value,"onUpdate:modelValue":[a[0]||(a[0]=l=>b.value=l),F],length:x.value},null,8,["modelValue","length"])])])}}},[["__scopeId","data-v-c26f318f"]]);export{_ 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.