@mjsz-vbr-elements/core 2.25.3 → 2.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/TimezoneSelector-CRy1AyTX.js +1 -1
- package/dist/columns.js +1 -1
- package/dist/components.js +1 -1
- package/dist/composables.js +1 -1
- package/dist/constants.js +1 -1
- package/dist/datetime-D600LvsU.js +1 -1
- package/dist/errors-B6O6sS7H.js +1 -1
- package/dist/index.iife.js +4 -4
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +26 -25
- package/dist/useSort-D-BBQTSZ.js +1 -1
- package/dist/utils.js +55 -51
- package/package.json +2 -2
package/dist/columns.js
CHANGED
package/dist/components.js
CHANGED
package/dist/composables.js
CHANGED
package/dist/constants.js
CHANGED
package/dist/errors-B6O6sS7H.js
CHANGED
package/dist/index.iife.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.26.0 - 03/09/2025, 21:02:59
|
|
4
4
|
* (c) 2025
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
var MjszVbrElementsCore=function(T,o){"use strict";const ln="https://api.icehockey.hu/vbr",cn="https://www.jegkorongszovetseg.hu/event/game/{gameId}",un="https://jegkorongszovetseg.hu/assets/images/player_blank.png",dn="https://www.ersteliga.hu/stats/player/?playerId={player.playerId}&championshipId={championshipId}",fn="https://www.ersteliga.hu/stats/team/?teamId={team.id}&championshipId={championshipId}",mn="https://www.ersteliga.hu/stats?report={id}",pn="https://api.icehockey.hu/static/api/flag",ct="original",b="descend",I="ascend",hn=new Map().set("hu","hu-hu").set("en","hu-gb"),gn=new Map().set("Europe/Budapest",{countryLabelKey:"hungary",timezone:"Europe/Budapest"}).set("Europe/Bucharest",{countryLabelKey:"romania",timezone:"Europe/Bucharest"}),Jo=1e3*60*5,yn=1e3,bn={gameName:{label:"table.gameName.short",tooltip:"table.gameName.tooltip",class:"is-text-left is-text-light"},gameDateDate:{label:"table.gameDate.short",tooltip:"table.gameDate.tooltip",class:"is-text-left"},gameDateTime:{label:"table.gameDateTime.short",tooltip:"table.gameDateTime.tooltip",class:"is-text-left"},homeTeamName:{label:"table.homeTeam.short",tooltip:"table.homeTeam.tooltip",class:"is-text-right is-w-auto is-text-bold"},homeTeamLogo:{label:"",class:"is-has-image"},gameResult:{label:"",class:"is-text-bold is-text-xl"},gameResultType:{label:"",tooltip:""},awayTeamLogo:{label:"",class:"is-has-image"},awayTeamName:{label:"table.awayTeam.short",tooltip:"table.awayTeam.tooltip",class:"is-text-left is-w-auto is-text-bold"},location:{label:"table.location.short",tooltip:"table.location.tooltip",class:"is-text-left"},broadcast:{label:"table.broadcast.short",tooltip:"table.broadcast.tooltip"},more:{label:""}},Qo={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},gamesPlayed:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gamesPlayed",direction:b}]},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",sortOrders:[{target:"w",direction:b},{target:"otw",direction:b}]},otw:{label:"table.otw.short",tooltip:"table.otw.tooltip",sortOrders:[{target:"otw",direction:b}]},sow:{label:"table.sow.short",tooltip:"table.sow.tooltip",sortOrders:[{target:"sow",direction:b}]},sol:{label:"table.sol.short",tooltip:"table.sol.tooltip",sortOrders:[{target:"sol",direction:b}]},otl:{label:"table.otl.short",tooltip:"table.otl.tooltip",sortOrders:[{target:"otl",direction:I}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:I}]},gf:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"gf",direction:b}]},ga:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"ga",direction:I}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"points",direction:b},{target:"gamesPlayed",direction:I},{target:"w",direction:b},{target:"gd",direction:b},{target:"gf",direction:b}]}},tr={index:{label:"#",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},gamesPlayed:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gamesPlayed",direction:b}]},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",sortOrders:[{target:"w",direction:b},{target:"d",direction:b}]},d:{label:"table.draw.short",tooltip:"table.draw.tooltip",sortOrders:[{target:"d",direction:b},{target:"w",direction:b}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:I}]},gf:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"gf",direction:b}]},ga:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"ga",direction:I}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"points",direction:b}]}},er={index:{label:"#",class:"is-text-left is-text-italic is-text-light"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold"},gamesPlayed:{label:"table.game.short",tooltip:"table.game.tooltip",class:"is-text-light"},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",class:"is-text-light"},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",class:"is-text-light"},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",class:"is-text-light"},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold"}},nr={index:{label:"#",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},goals:{label:"table.goals.short",tooltip:"table.goals.tooltip",sortOrders:[{target:"goals",direction:b},{target:"assists",direction:b}]},assists:{label:"table.assists.short",tooltip:"table.assists.tooltip",sortOrders:[{target:"assists",direction:b},{target:"goals",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",sortOrders:[{target:"points",direction:b}]},plusMinus:{label:"table.plusMinus.short",tooltip:"table.plusMinus.tooltip",sortOrders:[{target:"plusMinus",direction:b}]},shots:{label:"table.sog.short",tooltip:"table.sog.tooltip",sortOrders:[{target:"shots",direction:b}]},shotPercent:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"shootPercent",direction:b}]}},or={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},p2:{label:"table.minorPenalties.short",tooltip:"table.minorPenalties.tooltip",sortOrders:[{target:"p2",direction:b},{target:"pim",direction:b}]},p5:{label:"table.majorPenalties.short",tooltip:"table.majorPenalties.tooltip",sortOrders:[{target:"p5",direction:b},{target:"pim",direction:b}]},p10:{label:"table.misconducts.short",tooltip:"table.misconducts.tooltip",sortOrders:[{target:"p10",direction:b},{target:"pim",direction:b}]},p20:{label:"table.gameMisconducts.short",tooltip:"table.gameMisconducts.tooltip",sortOrders:[{target:"p20",direction:b},{target:"pim",direction:b}]},p25:{label:"table.matchPenalties.short",tooltip:"table.matchPenalties.tooltip",sortOrders:[{target:"p25",direction:b},{target:"pim",direction:b}]},pim:{label:"table.pim.short",tooltip:"table.pim.tooltip",sortOrders:[{target:"pim",direction:b}]}},rr={index:{label:"#",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},toiMin:{label:"table.toi.short",tooltip:"table.toi.tooltip",sortOrders:[{target:"toi",direction:b}]},atoiMin:{label:"table.atoi.short",tooltip:"table.atoi.tooltip",sortOrders:[{target:"atoi",direction:b}]},shf:{label:"table.shf.short",tooltip:"table.shf.tooltip",sortOrders:[{target:"shf",direction:b}]},ashf:{label:"table.ashf.short",tooltip:"table.ashf.tooltip",sortOrders:[{target:"ashf",direction:b}]},eqToiMin:{label:"table.eqToi.short",tooltip:"table.eqToi.tooltip",sortOrders:[{target:"eqToi",direction:b}]},pp1ToiMin:{label:"table.pp1Toi.short",tooltip:"table.pp1Toi.tooltip",sortOrders:[{target:"pp1Toi",direction:b}]},pp2ToiMin:{label:"table.pp2Toi.short",tooltip:"table.pp2Toi.tooltip",sortOrders:[{target:"pp2Toi",direction:b}]},sh1ToiMin:{label:"table.sh1Toi.short",tooltip:"table.sh1Toi.tooltip",sortOrders:[{target:"sh1Toi",direction:b}]},sh2ToiMin:{label:"table.sh2Toi.short",tooltip:"table.sh2Toi.tooltip",sortOrders:[{target:"sh2Toi",direction:b}]},eqAToiMin:{label:"table.eqAToi.short",tooltip:"table.eqAToi.tooltip",sortOrders:[{target:"eqAToi",direction:b}]},pp1AToiMin:{label:"table.pp1AToi.short",tooltip:"table.pp1AToi.tooltip",sortOrders:[{target:"pp1AToi",direction:b}]},pp2AToiMin:{label:"table.pp2AToi.short",tooltip:"table.pp2AToi.tooltip",sortOrders:[{target:"pp2AToi",direction:b}]},sh1AToiMin:{label:"table.sh1AToi.short",tooltip:"table.sh1AToi.tooltip",sortOrders:[{target:"sh1AToi",direction:b}]},sh2AToiMin:{label:"table.sh2AToi.short",tooltip:"table.sh2AToi.tooltip",sortOrders:[{target:"sh2AToi",direction:b}]}},ar={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:I}]},gkd:{label:"table.gpgk.short",tooltip:"table.gpgk.tooltip",sortOrders:[{target:"gkd",direction:b}]},gpi:{label:"table.gpi.short",tooltip:"table.gpi.tooltip",sortOrders:[{target:"gpi",direction:b}]},so:{label:"table.so.short",tooltip:"table.so.tooltip",sortOrders:[{target:"so",direction:b}]},mipMin:{label:"table.toi.short",tooltip:"table.toi.tooltip",sortOrders:[{target:"mip",direction:b}]},mipPercent:{label:"table.toiPercent.short",tooltip:"table.toiPercent.tooltip",sortOrders:[{target:"mipPercent",direction:b}]},ga:{label:"table.ga.short",tooltip:"table.ga.tooltip",sortOrders:[{target:"ga",direction:b}]},gaa:{label:"table.gaa.short",tooltip:"table.gaa.tooltip",sortOrders:[{target:"gaa",direction:b}]},sog:{label:"table.sa.short",tooltip:"table.sa.tooltip",sortOrders:[{target:"sog",direction:b}]},svs:{label:"table.svs.short",tooltip:"table.svs.tooltip",sortOrders:[{target:"svs",direction:b}]},svsPercent:{label:"table.svsPercent.short",tooltip:"table.svsPercent.tooltip",sortOrders:[{target:"svsPercent",direction:b}]}},ir={index:{label:"#",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},goals:{label:"table.goals.short",tooltip:"table.goals.tooltip",sortOrders:[{target:"goals",direction:b},{target:"assists",direction:b}]},assist:{label:"table.assists.short",tooltip:"table.assists.tooltip",sortOrders:[{target:"assist",direction:b},{target:"goals",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",sortOrders:[{target:"points",direction:b}]}},sr={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},home:{label:"table.homeHeader.short"},homeGame:{label:"table.homeGame.short",tooltip:"table.homeGame.tooltip",sortOrders:[{target:"homeGame",direction:b}]},homeAttendance:{label:"table.homeAttendance.short",tooltip:"table.homeAttendance.tooltip",sortOrders:[{target:"homeAttendance",direction:b}]},homeAttendanceAvg:{label:"table.homeAttendanceAvg.short",tooltip:"table.homeAttendanceAvg.tooltip",sortOrders:[{target:"homeAttendanceAvg",direction:b}]},away:{label:"table.awayHeader.short"},awayGame:{label:"table.awayGame.short",tooltip:"table.awayGame.tooltip",sortOrders:[{target:"awayGame",direction:b}]},awayAttendance:{label:"table.awayAttendance.short",tooltip:"table.awayAttendance.tooltip",sortOrders:[{target:"awayAttendance",direction:b}]},awayAttendanceAvg:{label:"table.awayAttendanceAvg.short",tooltip:"table.awayAttendanceAvg.tooltip",sortOrders:[{target:"awayAttendanceAvg",direction:b}]},total:{label:"table.totalHeader.short"},totalGame:{label:"table.totalGame.short",tooltip:"table.totalGame.tooltip",sortOrders:[{target:"totalGame",direction:b}]},totalAttendance:{label:"table.totalAttendance.short",tooltip:"table.totalAttendance.tooltip",sortOrders:[{target:"totalAttendance",direction:b}]},totalAttendanceAvg:{label:"table.totalAttendanceAvg.short",tooltip:"table.totalAttendanceAvg.tooltip",sortOrders:[{target:"totalAttendanceAvg",direction:b}]}},lr={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},p2:{label:"table.minorPenalties.short",tooltip:"table.minorPenalties.tooltip",sortOrders:[{target:"p2",direction:b},{target:"pim",direction:b}]},p5:{label:"table.majorPenalties.short",tooltip:"table.majorPenalties.tooltip",sortOrders:[{target:"p5",direction:b},{target:"pim",direction:b}]},p10:{label:"table.misconducts.short",tooltip:"table.misconducts.tooltip",sortOrders:[{target:"p10",direction:b},{target:"pim",direction:b}]},p20:{label:"table.gameMisconducts.short",tooltip:"table.gameMisconducts.tooltip",sortOrders:[{target:"p20",direction:b},{target:"pim",direction:b}]},p25:{label:"table.matchPenalties.short",tooltip:"table.matchPenalties.tooltip",sortOrders:[{target:"p25",direction:b},{target:"pim",direction:b}]},pimPerGame:{label:"table.pimPerGame.short",tooltip:"table.pimPerGame.tooltip",sortOrders:[{target:"pimPerGame",direction:b}]},pim:{label:"table.pim.short",tooltip:"table.pim.tooltip",sortOrders:[{target:"pim",direction:b}]}},cr={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},dvg:{label:"table.powerplayDisadvantages.short",tooltip:"table.powerplayDisadvantages.tooltip",sortOrders:[{target:"dvg",direction:b}]},dvgTimeMin:{label:"table.dvgTime.short",tooltip:"table.dvgTime.tooltip",sortOrders:[{target:"dvgTime",direction:b}]},dvgTimePP1Min:{label:"table.dvgTimePP1.short",tooltip:"table.dvgTimePP1.tooltip",sortOrders:[{target:"dvgTimePP1",direction:b}]},dvgTimePP2Min:{label:"table.dvgTimePP2.short",tooltip:"table.dvgTimePP2.tooltip",sortOrders:[{target:"dvgTimePP2",direction:b}]},ppga:{label:"table.ppga.short",tooltip:"table.ppga.tooltip",sortOrders:[{target:"ppga",direction:b}]},shgf:{label:"table.shgf.short",tooltip:"table.shgf.tooltip",sortOrders:[{target:"shgf",direction:b}]},pkPercent:{label:"table.pkPercent.short",tooltip:"table.pkPercent.tooltip",sortOrders:[{target:"pkPercent",direction:b}]}},ur={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},adv:{label:"table.adv.short",tooltip:"table.adv.tooltip",sortOrders:[{target:"adv",direction:b}]},advTimeMin:{label:"table.advTime.short",tooltip:"table.advTime.tooltip",sortOrders:[{target:"advTime",direction:b}]},advTimePP1Min:{label:"table.advTimePP1.short",tooltip:"table.advTimePP1.tooltip",sortOrders:[{target:"advTimePP1",direction:b}]},advTimePP2Min:{label:"table.advTimePP2.short",tooltip:"table.advTimePP2.tooltip",sortOrders:[{target:"advTimePP2",direction:b}]},ppgf:{label:"table.ppgf.short",tooltip:"table.ppgf.tooltip",sortOrders:[{target:"ppgf",direction:b}]},shga:{label:"table.shga.short",tooltip:"table.shga.tooltip",sortOrders:[{target:"shga",direction:b}]},ppPercent:{label:"table.ppPercent.short",tooltip:"table.ppPercent.tooltip",sortOrders:[{target:"ppPercent",direction:b}]}},dr={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},gf:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"gf",direction:b}]},ga:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"ga",direction:I}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},gfPerGp:{label:"table.gfgp.short",tooltip:"table.gfgp.tooltip",sortOrders:[{target:"gfPerGp",direction:b}]},gaPerGp:{label:"table.gagp.short",tooltip:"table.gagp.tooltip",sortOrders:[{target:"gaPerGp",direction:I}]},s:{label:"table.sog.short",tooltip:"table.sog.tooltip",sortOrders:[{target:"s",direction:b}]},sa:{label:"table.sa.short",tooltip:"table.sa.tooltip",sortOrders:[{target:"sa",direction:I}]},shotsPerGp:{label:"table.sogp.short",tooltip:"table.sogp.tooltip",sortOrders:[{target:"shotsPerGp",direction:b}]},saPerGp:{label:"table.sagp.short",tooltip:"table.sagp.tooltip",sortOrders:[{target:"shotsPerGp",direction:I}]},sp:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"sp",direction:b}]}};function fr(t){return o.getCurrentScope()?(o.onScopeDispose(t),!0):!1}function Tn(t){return typeof t=="function"?t():o.unref(t)}const mr=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const pr=t=>t!=null,we=()=>{};function Oe(t){var e;const n=Tn(t);return(e=n?.$el)!=null?e:n}const hr=mr?window:void 0;function gr(){const t=o.ref(!1);return o.getCurrentInstance()&&o.onMounted(()=>{t.value=!0}),t}function yr(t){const e=gr();return o.computed(()=>(e.value,!!t()))}function br(t,e,n={}){const{root:r,rootMargin:a="0px",threshold:i=.1,window:s=hr,immediate:l=!0}=n,u=yr(()=>s&&"IntersectionObserver"in s),c=o.computed(()=>{const m=Tn(t);return(Array.isArray(m)?m:[m]).map(Oe).filter(pr)});let d=we;const f=o.ref(l),g=u.value?o.watch(()=>[c.value,Oe(r),f.value],([m,y])=>{if(d(),!f.value||!m.length)return;const h=new IntersectionObserver(e,{root:Oe(y),rootMargin:a,threshold:i});m.forEach(S=>S&&h.observe(S)),d=()=>{h.disconnect(),d=we}},{immediate:l,flush:"post"}):we,p=()=>{d(),g(),f.value=!1};return fr(p),{isSupported:u,isActive:f,pause(){d(),f.value=!1},resume(){f.value=!0},stop:p}}const Tr=o.defineComponent({name:"FetchMoreObserver",props:["as","options"],emits:["intersect"],setup(t,{slots:e,emit:n}){const r=o.ref(null),{stop:a}=br(r,([{isIntersecting:i}])=>{i&&n("intersect")},t.options);return o.onUnmounted(a),()=>{if(e.default)return o.h(t.as||"div",{ref:r},e.default())}}});function V(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function G(t){return function e(n){return arguments.length===0||V(n)?e:t.apply(this,arguments)}}function z(t){return function e(n,r){switch(arguments.length){case 0:return e;case 1:return V(n)?e:G(function(a){return t(n,a)});default:return V(n)&&V(r)?e:V(n)?G(function(a){return t(a,r)}):V(r)?G(function(a){return t(n,a)}):t(n,r)}}}function Ht(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(n){return e.apply(this,arguments)};case 2:return function(n,r){return e.apply(this,arguments)};case 3:return function(n,r,a){return e.apply(this,arguments)};case 4:return function(n,r,a,i){return e.apply(this,arguments)};case 5:return function(n,r,a,i,s){return e.apply(this,arguments)};case 6:return function(n,r,a,i,s,l){return e.apply(this,arguments)};case 7:return function(n,r,a,i,s,l,u){return e.apply(this,arguments)};case 8:return function(n,r,a,i,s,l,u,c){return e.apply(this,arguments)};case 9:return function(n,r,a,i,s,l,u,c,d){return e.apply(this,arguments)};case 10:return function(n,r,a,i,s,l,u,c,d,f){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function Ae(t,e,n){return function(){for(var r=[],a=0,i=t,s=0,l=!1;s<e.length||a<arguments.length;){var u;s<e.length&&(!V(e[s])||a>=arguments.length)?u=e[s]:(u=arguments[a],a+=1),r[s]=u,V(u)?l=!0:i-=1,s+=1}return!l&&i<=0?n.apply(this,r):Ht(Math.max(0,i),Ae(t,r,n))}}var Mt=z(function(e,n){return e===1?G(n):Ht(e,Ae(e,[],n))});function J(t){return function e(n,r,a){switch(arguments.length){case 0:return e;case 1:return V(n)?e:z(function(i,s){return t(n,i,s)});case 2:return V(n)&&V(r)?e:V(n)?z(function(i,s){return t(i,r,s)}):V(r)?z(function(i,s){return t(n,i,s)}):G(function(i){return t(n,r,i)});default:return V(n)&&V(r)&&V(a)?e:V(n)&&V(r)?z(function(i,s){return t(i,s,a)}):V(n)&&V(a)?z(function(i,s){return t(i,r,s)}):V(r)&&V(a)?z(function(i,s){return t(n,i,s)}):V(n)?G(function(i){return t(i,r,a)}):V(r)?G(function(i){return t(n,i,a)}):V(a)?G(function(i){return t(n,r,i)}):t(n,r,a)}}}const Dt=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function Sr(t){return t!=null&&typeof t["@@transducer/step"]=="function"}function Ct(t,e,n){return function(){if(arguments.length===0)return n();var r=arguments[arguments.length-1];if(!Dt(r)){for(var a=0;a<t.length;){if(typeof r[t[a]]=="function")return r[t[a]].apply(r,Array.prototype.slice.call(arguments,0,-1));a+=1}if(Sr(r)){var i=e.apply(null,Array.prototype.slice.call(arguments,0,-1));return i(r)}}return n.apply(this,arguments)}}function ke(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}const gt={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};function Sn(t){for(var e=[],n;!(n=t.next()).done;)e.push(n.value);return e}function wn(t,e,n){for(var r=0,a=n.length;r<a;){if(t(e,n[r]))return!0;r+=1}return!1}function wr(t){var e=String(t).match(/^function (\w*)/);return e==null?"":e[1]}function rt(t,e){return Object.prototype.hasOwnProperty.call(e,t)}function Or(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}const _e=typeof Object.is=="function"?Object.is:Or;var On=Object.prototype.toString,An=function(){return On.call(arguments)==="[object Arguments]"?function(e){return On.call(e)==="[object Arguments]"}:function(e){return rt("callee",e)}}(),Ar=!{toString:null}.propertyIsEnumerable("toString"),kn=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],_n=function(){return arguments.propertyIsEnumerable("length")}(),kr=function(e,n){for(var r=0;r<e.length;){if(e[r]===n)return!0;r+=1}return!1},yt=G(typeof Object.keys=="function"&&!_n?function(e){return Object(e)!==e?[]:Object.keys(e)}:function(e){if(Object(e)!==e)return[];var n,r,a=[],i=_n&&An(e);for(n in e)rt(n,e)&&(!i||n!=="length")&&(a[a.length]=n);if(Ar)for(r=kn.length-1;r>=0;)n=kn[r],rt(n,e)&&!kr(a,n)&&(a[a.length]=n),r-=1;return a}),xe=G(function(e){return e===null?"Null":e===void 0?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function xn(t,e,n,r){var a=Sn(t),i=Sn(e);function s(l,u){return Pe(l,u,n.slice(),r.slice())}return!wn(function(l,u){return!wn(s,u,l)},i,a)}function Pe(t,e,n,r){if(_e(t,e))return!0;var a=xe(t);if(a!==xe(e))return!1;if(typeof t["fantasy-land/equals"]=="function"||typeof e["fantasy-land/equals"]=="function")return typeof t["fantasy-land/equals"]=="function"&&t["fantasy-land/equals"](e)&&typeof e["fantasy-land/equals"]=="function"&&e["fantasy-land/equals"](t);if(typeof t.equals=="function"||typeof e.equals=="function")return typeof t.equals=="function"&&t.equals(e)&&typeof e.equals=="function"&&e.equals(t);switch(a){case"Arguments":case"Array":case"Object":if(typeof t.constructor=="function"&&wr(t.constructor)==="Promise")return t===e;break;case"Boolean":case"Number":case"String":if(!(typeof t==typeof e&&_e(t.valueOf(),e.valueOf())))return!1;break;case"Date":if(!_e(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(!(t.source===e.source&&t.global===e.global&&t.ignoreCase===e.ignoreCase&&t.multiline===e.multiline&&t.sticky===e.sticky&&t.unicode===e.unicode))return!1;break}for(var i=n.length-1;i>=0;){if(n[i]===t)return r[i]===e;i-=1}switch(a){case"Map":return t.size!==e.size?!1:xn(t.entries(),e.entries(),n.concat([t]),r.concat([e]));case"Set":return t.size!==e.size?!1:xn(t.values(),e.values(),n.concat([t]),r.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var s=yt(t);if(s.length!==yt(e).length)return!1;var l=n.concat([t]),u=r.concat([e]);for(i=s.length-1;i>=0;){var c=s[i];if(!(rt(c,e)&&Pe(e[c],t[c],l,u)))return!1;i-=1}return!0}var Yt=z(function(e,n){return Pe(e,n,[],[])});function _r(t,e,n){var r,a;if(typeof t.indexOf=="function")switch(typeof e){case"number":if(e===0){for(r=1/e;n<t.length;){if(a=t[n],a===0&&1/a===r)return n;n+=1}return-1}else if(e!==e){for(;n<t.length;){if(a=t[n],typeof a=="number"&&a!==a)return n;n+=1}return-1}return t.indexOf(e,n);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,n);case"object":if(e===null)return t.indexOf(e,n)}for(;n<t.length;){if(Yt(t[n],e))return n;n+=1}return-1}function Pn(t,e){return _r(e,t,0)>=0}function Wt(t,e){for(var n=0,r=e.length,a=Array(r);n<r;)a[n]=t(e[n]),n+=1;return a}function Ee(t){var e=t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0");return'"'+e.replace(/"/g,'\\"')+'"'}var Lt=function(e){return(e<10?"0":"")+e},xr=typeof Date.prototype.toISOString=="function"?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Lt(e.getUTCMonth()+1)+"-"+Lt(e.getUTCDate())+"T"+Lt(e.getUTCHours())+":"+Lt(e.getUTCMinutes())+":"+Lt(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Pr(t){return function(){return!t.apply(this,arguments)}}function En(t,e,n){for(var r=0,a=n.length;r<a;)e=t(e,n[r]),r+=1;return e}function Er(t,e){for(var n=0,r=e.length,a=[];n<r;)t(e[n])&&(a[a.length]=e[n]),n+=1;return a}function Nr(t,e){for(var n=new Map,r=e.entries(),a=r.next();!a.done;)t(a.value[1])&&n.set(a.value[0],a.value[1]),a=r.next();return n}function vr(t){return Object.prototype.toString.call(t)==="[object Map]"}function qt(t){return Object.prototype.toString.call(t)==="[object Object]"}var $r=function(){function t(e,n){this.xf=n,this.f=e}return t.prototype["@@transducer/init"]=gt.init,t.prototype["@@transducer/result"]=gt.result,t.prototype["@@transducer/step"]=function(e,n){return this.f(n)?this.xf["@@transducer/step"](e,n):e},t}();function Mr(t){return function(e){return new $r(t,e)}}var Ne=z(Ct(["fantasy-land/filter","filter"],Mr,function(t,e){return qt(e)?En(function(n,r){return t(e[r])&&(n[r]=e[r]),n},{},yt(e)):vr(e)?Nr(t,e):Er(t,e)})),Dr=z(function(e,n){return Ne(Pr(e),n)});function Nn(t,e){var n=function(s){var l=e.concat([t]);return Pn(s,l)?"<Circular>":Nn(s,l)},r=function(i,s){return Wt(function(l){return Ee(l)+": "+n(i[l])},s.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+Wt(n,t).join(", ")+"))";case"[object Array]":return"["+Wt(n,t).concat(r(t,Dr(function(i){return/^\d+$/.test(i)},yt(t)))).join(", ")+"]";case"[object Boolean]":return typeof t=="object"?"new Boolean("+n(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?n(NaN):Ee(xr(t)))+")";case"[object Map]":return"new Map("+n(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return typeof t=="object"?"new Number("+n(t.valueOf())+")":1/t===-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+n(Array.from(t).sort())+")";case"[object String]":return typeof t=="object"?"new String("+n(t.valueOf())+")":Ee(t);case"[object Undefined]":return"undefined";default:if(typeof t.toString=="function"){var a=t.toString();if(a!=="[object Object]")return a}return"{"+r(t,yt(t)).join(", ")+"}"}}var ve=G(function(e){return Nn(e,[])}),Cr=z(function(e,n){if(e===n)return n;function r(u,c){if(u>c!=c>u)return c>u?c:u}var a=r(e,n);if(a!==void 0)return a;var i=r(typeof e,typeof n);if(i!==void 0)return i===typeof e?e:n;var s=ve(e),l=r(s,ve(n));return l!==void 0&&l===s?e:n}),Lr=function(){function t(e,n){this.xf=n,this.f=e}return t.prototype["@@transducer/init"]=gt.init,t.prototype["@@transducer/result"]=gt.result,t.prototype["@@transducer/step"]=function(e,n){return this.xf["@@transducer/step"](e,this.f(n))},t}(),Ir=function(e){return function(n){return new Lr(e,n)}},ft=z(Ct(["fantasy-land/map","map"],Ir,function(e,n){switch(Object.prototype.toString.call(n)){case"[object Function]":return Mt(n.length,function(){return e.call(this,n.apply(this,arguments))});case"[object Object]":return En(function(r,a){return r[a]=e(n[a]),r},{},yt(n));default:return Wt(e,n)}}));const Kt=Number.isInteger||function(e){return e<<0===e};function vn(t,e){var n=t<0?e.length+t:t;return e[n]}function $n(t,e){if(e!=null)return Kt(t)?vn(t,e):e[t]}var ut=z($n),Br=z(function(e,n){return ft(ut(e),n)});function $e(t){return Object.prototype.toString.call(t)==="[object String]"}var Rr=G(function(e){return Dt(e)?!0:!e||typeof e!="object"||$e(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),Mn=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function zr(t,e,n){return function(a,i,s){if(Rr(s))return t(a,i,s);if(s==null)return i;if(typeof s["fantasy-land/reduce"]=="function")return e(a,i,s,"fantasy-land/reduce");if(s[Mn]!=null)return n(a,i,s[Mn]());if(typeof s.next=="function")return n(a,i,s);if(typeof s.reduce=="function")return e(a,i,s,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Vr(t,e,n){for(var r=0,a=n.length;r<a;){if(e=t["@@transducer/step"](e,n[r]),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}r+=1}return t["@@transducer/result"](e)}var Gr=z(function(e,n){return Ht(e.length,function(){return e.apply(n,arguments)})});function Fr(t,e,n){for(var r=n.next();!r.done;){if(e=t["@@transducer/step"](e,r.value),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}r=n.next()}return t["@@transducer/result"](e)}function jr(t,e,n,r){return t["@@transducer/result"](n[r](Gr(t["@@transducer/step"],t),e))}var Dn=zr(Vr,jr,Fr),Ur=function(){function t(e){this.f=e}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(e){return e},t.prototype["@@transducer/step"]=function(e,n){return this.f(e,n)},t}();function Cn(t){return new Ur(t)}var Ln=J(function(t,e,n){return Dn(typeof t=="function"?Cn(t):t,e,n)}),In=G(function(e){return function(){return e}}),Hr=G(function(e){return Mt(Ln(Cr,0,Br("length",e)),function(){for(var n=0,r=e.length;n<r;){if(e[n].apply(this,arguments))return!0;n+=1}return!1})}),Me=J(function(e,n,r){var a=e(n),i=e(r);return a<i?-1:a>i?1:0}),Yr=G(function(e){return Mt(e.length,e)});function Wr(t,e,n){if(Kt(t)&&Dt(n)){var r=t<0?n.length+t:t,a=[].concat(n);return a[r]=e,a}var i={};for(var s in n)i[s]=n[s];return i[t]=e,i}var qr=G(function(e){return e==null}),Kr=J(function t(e,n,r){if(e.length===0)return n;var a=e[0];if(e.length>1){var i=$n(a,r);(qr(i)||typeof i!="object")&&(i=Kt(e[1])?[]:{}),n=t(Array.prototype.slice.call(e,1),n,i)}return Wr(a,n,r)}),Zr=J(function(e,n,r){return Kr([e],n,r)});function Xr(t){var e=Object.prototype.toString.call(t);return e==="[object Function]"||e==="[object AsyncFunction]"||e==="[object GeneratorFunction]"||e==="[object AsyncGeneratorFunction]"}function Jr(t){return new RegExp(t.source,t.flags?t.flags:(t.global?"g":"")+(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":"")+(t.unicode?"u":"")+(t.dotAll?"s":""))}function Bn(t,e,n){if(n||(n=new ta),Qr(t))return t;var r=function(i){var s=n.get(t);if(s)return s;n.set(t,i);for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(i[l]=t[l]);return i};switch(xe(t)){case"Object":return r(Object.create(Object.getPrototypeOf(t)));case"Array":return r(Array(t.length));case"Date":return new Date(t.valueOf());case"RegExp":return Jr(t);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return t.slice();default:return t}}function Qr(t){var e=typeof t;return t==null||e!="object"&&e!="function"}var ta=function(){function t(){this.map={},this.length=0}return t.prototype.set=function(e,n){var r=this.hash(e),a=this.map[r];a||(this.map[r]=a=[]),a.push([e,n]),this.length+=1},t.prototype.hash=function(e){var n=[];for(var r in e)n.push(Object.prototype.toString.call(e[r]));return n.join()},t.prototype.get=function(e){if(this.length<=180){for(var n in this.map)for(var s=this.map[n],r=0;r<s.length;r+=1){var a=s[r];if(a[0]===e)return a[1]}return}var i=this.hash(e),s=this.map[i];if(s)for(var r=0;r<s.length;r+=1){var a=s[r];if(a[0]===e)return a[1]}},t}();function ea(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function De(t,e){return function(){var n=arguments.length;if(n===0)return e();var r=arguments[n-1];return Dt(r)||typeof r[t]!="function"?e.apply(this,arguments):r[t].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}var na=J(De("slice",function(e,n,r){return Array.prototype.slice.call(r,e,n)})),oa=G(De("tail",na(1,1/0)));function Zt(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return Ht(arguments[0].length,Ln(ea,arguments[0],oa(arguments)))}var ra=G(function(e){return $e(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()});function Rn(){if(arguments.length===0)throw new Error("compose requires at least one argument");return Zt.apply(this,ra(arguments))}var aa=function(){function t(e,n,r,a){this.valueFn=e,this.valueAcc=n,this.keyFn=r,this.xf=a,this.inputs={}}return t.prototype["@@transducer/init"]=gt.init,t.prototype["@@transducer/result"]=function(e){var n;for(n in this.inputs)if(rt(n,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[n]),e["@@transducer/reduced"])){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,n){var r=this.keyFn(n);return this.inputs[r]=this.inputs[r]||[r,Bn(this.valueAcc)],this.inputs[r][1]=this.valueFn(this.inputs[r][1],n),e},t}();function ia(t,e,n){return function(r){return new aa(t,e,n,r)}}var sa=Ae(4,[],Ct([],ia,function(e,n,r,a){var i=Cn(function(s,l){var u=r(l),c=e(rt(u,s)?s[u]:Bn(n),l);return c&&c["@@transducer/reduced"]?ke(s):(s[u]=c,s)});return Dn(i,{},a)})),la=J(function(e,n,r){var a=e(n),i=e(r);return a>i?-1:a<i?1:0});function ca(t){var e=Object.prototype.toString.call(t);return e==="[object Uint8ClampedArray]"||e==="[object Int8Array]"||e==="[object Uint8Array]"||e==="[object Int16Array]"||e==="[object Uint16Array]"||e==="[object Int32Array]"||e==="[object Uint32Array]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object BigInt64Array]"||e==="[object BigUint64Array]"}var ua=G(function(e){return e!=null&&typeof e["fantasy-land/empty"]=="function"?e["fantasy-land/empty"]():e!=null&&e.constructor!=null&&typeof e.constructor["fantasy-land/empty"]=="function"?e.constructor["fantasy-land/empty"]():e!=null&&typeof e.empty=="function"?e.empty():e!=null&&e.constructor!=null&&typeof e.constructor.empty=="function"?e.constructor.empty():e==Set||e instanceof Set?new Set:e==Map||e instanceof Map?new Map:Dt(e)?[]:$e(e)?"":qt(e)?{}:An(e)?function(){return arguments}():ca(e)?e.constructor.from(""):void 0}),da=function(){function t(e,n){this.xf=n,this.f=e,this.found=!1}return t.prototype["@@transducer/init"]=gt.init,t.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,void 0)),this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,n){return this.f(n)&&(this.found=!0,e=ke(this.xf["@@transducer/step"](e,n))),e},t}();function fa(t){return function(e){return new da(t,e)}}var ma=z(Ct(["find"],fa,function(e,n){for(var r=0,a=n.length;r<a;){if(e(n[r]))return n[r];r+=1}})),pa=function(){function t(e,n){this.xf=n,this.f=e,this.idx=-1,this.found=!1}return t.prototype["@@transducer/init"]=gt.init,t.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,-1)),this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,n){return this.idx+=1,this.f(n)&&(this.found=!0,e=ke(this.xf["@@transducer/step"](e,this.idx))),e},t}();function ha(t){return function(e){return new pa(t,e)}}var ga=z(Ct([],ha,function(e,n){for(var r=0,a=n.length;r<a;){if(e(n[r]))return r;r+=1}return-1})),ya=z(De("groupBy",sa(function(t,e){return t.push(e),t},[]))),ba=J(function(e,n,r){return Mt(Math.max(e.length,n.length,r.length),function(){return e.apply(this,arguments)?n.apply(this,arguments):r.apply(this,arguments)})}),Ta=z(Pn),zn=z(function(e,n){return Mt(e+1,function(){var r=arguments[e];if(r!=null&&Xr(r[n]))return r[n].apply(r,Array.prototype.slice.call(arguments,0,e));throw new TypeError(ve(r)+' does not have a method named "'+n+'"')})}),Vn=G(function(e){return e!=null&&Yt(e,ua(e))}),Sa=z(function(e,n){return function(r){return function(a){return ft(function(i){return n(i,a)},r(e(a)))}}});function wa(t,e){for(var n=e,r=0;r<t.length;r+=1){if(n==null)return;var a=t[r];Kt(a)?n=vn(a,n):n=n[a]}return n}var Oa=G(function(e){return Sa(ut(e),Zr(e))}),Aa=J(function(e,n,r){var a={},i;n=n||{},r=r||{};for(i in n)rt(i,n)&&(a[i]=rt(i,r)?e(i,n[i],r[i]):n[i]);for(i in r)rt(i,r)&&!rt(i,a)&&(a[i]=r[i]);return a}),ka=J(function t(e,n,r){return Aa(function(a,i,s){return qt(i)&&qt(s)?t(e,i,s):e(a,i,s)},n,r)}),Gn=z(function(e,n){return ka(function(r,a,i){return i},e,n)}),_a=z(function(e,n){for(var r={},a={},i=0,s=e.length;i<s;)a[e[i]]=1,i+=1;for(var l in n)a.hasOwnProperty(l)||(r[l]=n[l]);return r}),Fn=function(t){return{value:t,map:function(e){return Fn(e(t))}}},xa=J(function(e,n,r){return e(function(a){return Fn(n(a))})(r).value}),Ce=z(wa),jn=J(function(e,n,r){return e(ut(n,r))}),Pa=J(function(e,n,r){return r.replace(e,n)}),Ea=z(function(e,n){return Array.prototype.slice.call(n,0).sort(e)}),Un=z(function(e,n){return Array.prototype.slice.call(n,0).sort(function(r,a){for(var i=0,s=0;i===0&&s<e.length;)i=e[s](r,a),s+=1;return i})}),_t=zn(1,"split"),Hn=zn(0,"toLowerCase"),It=`
|
|
9
|
-
\v\f\r \u2028\u2029\uFEFF`,Na="",va=typeof String.prototype.trim=="function",Xt=G(!va||It.trim()||!Na.trim()?function(e){var n=new RegExp("^["+It+"]["+It+"]*"),r=new RegExp("["+It+"]["+It+"]*$");return e.replace(n,"").replace(r,"")}:function(e){return e.trim()});function Yn(t,e,n,r){const a=o.ref(""),i=o.ref(!1),s=l=>{const u=Ne(ut(e),l),c=u.length>0;if(i.value=c,!c)return a.value="";const f=u.map(g=>({team:g.team.longName,points:Math.abs(ut(e,g))})).map(g=>n(`additionalText.${e}.content`,g)).join(", ");a.value=[n(`additionalText.${e}.prependix`),f,...n(`additionalText.${e}.appendix`)&&[n(`additionalText.${e}.appendix`)]].join(" ")};return o.watch(t,s,{immediate:!0}),o.watch(()=>o.unref(r),()=>s(o.unref(t))),{text:a,isVisible:i}}const Wn=Symbol("I18nContext"),Y=o.reactive({messages:{},locale:"",fallbackLocale:""});function qn({messages:t={},locale:e="",fallbackLocale:n=""}){Y.messages=Gn(Y.messages,t),Y.locale=e,Y.fallbackLocale=n;const r=(u,c={})=>{const d=!Vn(c),f=ft(Xt,_t(".",u));return o.computed(()=>{const p=Kn(f);return d?Ma(p,c):p}).value},a=u=>{const c=ft(Xt,_t(".",u));return!!Le(Y.locale,c,Y.messages)},i=u=>{Y.locale=u},l={locale:o.computed({get(){return Y.locale},set(u){Y.locale=u}}),setLocale:i,translate:r,hasTranslation:a};return o.provide(Wn,l),{translate:r}}function at(t){t&&(Y.messages=t.messages,Y.locale=t.locale,Y.fallbackLocale=t.fallbackLocale);const e=$a();return{locale:e.locale,t:e.translate,setLocale:e.setLocale,hasTranslation:e.hasTranslation}}function $a(){const t=o.inject(Wn,null);if(t===null)throw new Error("Provider is missing a parent component.");return t}function Kn(t=[]){let e=Le(Y.locale,t,Y.messages);return!e&&Y.fallbackLocale&&(e=Le(Y.fallbackLocale,t,Y.messages)),e||t.join(".")}function Le(t,e,n){return Ce([t,...e],n)}function Ma(t,e){return t.replace(/\{(\w+)\}/g,(n,r)=>e[r])}const Zn=o.defineComponent({props:{tag:{type:String,default:"div"},path:{type:String,defult:""}},setup(t,{slots:e}){const n=ft(Xt,_t(".",t.path)),r=Kn(n),a=_t(/\{|\}/,r),i=Object.keys(e).map(s=>{const l=a.indexOf(s);return l>-1&&(a[l]=e[s]()[0]),a});return()=>o.h(t.tag,i)}});function Ie(t,e="",n={}){const r=o.ref(""),{t:a}=at(),i=o.computed(()=>{if(o.unref(e))try{const u=Xn(o.unref(t),o.unref(e));return _a(u,o.unref(t))}catch(u){r.value=u}return o.unref(t)}),s=u=>({...u,...u.label&&{label:a(u.label??"",o.unref(n))},...u.tooltip&&{tooltip:a(u.tooltip??"")}});return{columns:o.computed(()=>ft(s,i.value)),error:r}}function Xn(t,e=""){const n=ft(Xt,_t(",",e)),r=yt(t);if(n[0]==="")return[];const a=n.findIndex(i=>!r.includes(i));if(a>-1)throw n[a];return n}function Jn(t){return t&&t.match(/[A-Z]{2,}(?=[A-Z][a-z]|\b)|[A-Z]?[a-z]+\d*|[A-Z]|\d+/g).map(e=>e.toLowerCase()).join("-")}function dt(t="",e={}){return t.replace(/\{([^}]+)\}/g,(n,r)=>Ce(_t(".",r),e))}const Qn=Symbol("ErrorProviderContext");function to(){const t=o.ref(""),e=o.ref({}),n=i=>{console.error({error:i}),t.value=i.message||i.error.message,e.value={message:i.message,key:i.key||Jn(i.message),cause:i.cause}},r=()=>{t.value="",e.value={}},a={onError:n,reset:r};return o.provide(Qn,a),window.onerror=i=>{console.error("WINDOW_ONERROR:",i)},o.onErrorCaptured((i,s,l)=>{console.error("onErrorCaptured:",i,s,l)}),{hasError:o.computed(()=>t.value.length>0),message:t,error:e,reset:r,onError:n}}function Be(){const t=Da();return{onError:t.onError,reset:t.reset}}function Da(){const t=o.inject(Qn,null);if(t===null)throw new Error("Provider is missing a parent component.");return t}async function eo(t,e,n){const r=`${ln}${o.unref(t)}${Vn(n)?"":`?${Ca(n)}`}`;return new Promise((a,i)=>{fetch(r,{method:"GET",cache:"no-cache",headers:{"Content-Type":"application/json","X-API-KEY":La(e)}}).then(s=>s.json()).then(s=>{if(s.error)return i(s);a(s.data)}).catch(s=>{i(s)})})}function Ca(t){return Object.keys(t).map(e=>`${e}=${t[e]}`).join("&")}function La(t){return t||(window.__MJSZ_VBR_WIDGET__?.apiKey?window.__MJSZ_VBR_WIDGET__.apiKey:"")}function no(t){return o.getCurrentScope()?(o.onScopeDispose(t),!0):!1}const Jt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ia=Object.prototype.toString,Ba=t=>Ia.call(t)==="[object Object]",K=()=>{},Ra=za();function za(){var t,e;return Jt&&((t=window?.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window?.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Va(...t){if(t.length!==1)return o.toRef(...t);const e=t[0];return typeof e=="function"?o.readonly(o.customRef(()=>({get:e,set:K}))):o.ref(e)}function Ga(t,e){function n(...r){return new Promise((a,i)=>{Promise.resolve(t(()=>e.apply(this,r),{fn:e,thisArg:this,args:r})).then(a).catch(i)})}return n}const oo=t=>t();function Fa(t=oo,e={}){const{initialState:n="active"}=e,r=Va(n==="active");function a(){r.value=!1}function i(){r.value=!0}const s=(...l)=>{r.value&&t(...l)};return{isActive:o.readonly(r),pause:a,resume:i,eventFilter:s}}function Re(t,e=!1,n="Timeout"){return new Promise((r,a)=>{setTimeout(e?()=>a(n):r,t)})}function ze(t){return Array.isArray(t)?t:[t]}function ja(t,e,n={}){const{eventFilter:r=oo,...a}=n;return o.watch(t,Ga(r,e),a)}function Ua(t,e,n={}){const{eventFilter:r,initialState:a="active",...i}=n,{eventFilter:s,pause:l,resume:u,isActive:c}=Fa(r,{initialState:a});return{stop:ja(t,e,{...i,eventFilter:s}),pause:l,resume:u,isActive:c}}function Ve(t,e=!1){function n(f,{flush:g="sync",deep:p=!1,timeout:m,throwOnTimeout:y}={}){let h=null;const k=[new Promise(x=>{h=o.watch(t,E=>{f(E)!==e&&(h?h():o.nextTick(()=>h?.()),x(E))},{flush:g,deep:p,immediate:!0})})];return m!=null&&k.push(Re(m,y).then(()=>o.toValue(t)).finally(()=>h?.())),Promise.race(k)}function r(f,g){if(!o.isRef(f))return n(E=>E===f,g);const{flush:p="sync",deep:m=!1,timeout:y,throwOnTimeout:h}=g??{};let S=null;const x=[new Promise(E=>{S=o.watch([t,f],([N,C])=>{e!==(N===C)&&(S?S():o.nextTick(()=>S?.()),E(N))},{flush:p,deep:m,immediate:!0})})];return y!=null&&x.push(Re(y,h).then(()=>o.toValue(t)).finally(()=>(S?.(),o.toValue(t)))),Promise.race(x)}function a(f){return n(g=>!!g,f)}function i(f){return r(null,f)}function s(f){return r(void 0,f)}function l(f){return n(Number.isNaN,f)}function u(f,g){return n(p=>{const m=Array.from(p);return m.includes(f)||m.includes(o.toValue(f))},g)}function c(f){return d(1,f)}function d(f=1,g){let p=-1;return n(()=>(p+=1,p>=f),g)}return Array.isArray(o.toValue(t))?{toMatch:n,toContains:u,changed:c,changedTimes:d,get not(){return Ve(t,!e)}}:{toMatch:n,toBe:r,toBeTruthy:a,toBeNull:i,toBeNaN:l,toBeUndefined:s,changed:c,changedTimes:d,get not(){return Ve(t,!e)}}}function Ha(t){return Ve(t)}function Ya(t,e,n={}){const{immediate:r=!0,immediateCallback:a=!1}=n,i=o.shallowRef(!1);let s;function l(){s&&(clearTimeout(s),s=void 0)}function u(){i.value=!1,l()}function c(...d){a&&t(),l(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=void 0,t(...d)},o.toValue(e))}return r&&(i.value=!0,Jt&&c()),no(u),{isPending:o.shallowReadonly(i),start:c,stop:u}}function Wa(t,e,n){return o.watch(t,e,{...n,immediate:!0})}function qa(t,e,n){return o.watch(t,e,{...n,once:!0})}function Ka(t,e,n){const r=o.watch(t,(a,i,s)=>{a&&(n?.once&&o.nextTick(()=>r()),e(a,i,s))},{...n,once:!1});return r}const ro=Jt?window:void 0,Za=Jt?window.document:void 0;function xt(t){var e;const n=o.toValue(t);return(e=n?.$el)!=null?e:n}function Qt(...t){const e=[],n=()=>{e.forEach(l=>l()),e.length=0},r=(l,u,c,d)=>(l.addEventListener(u,c,d),()=>l.removeEventListener(u,c,d)),a=o.computed(()=>{const l=ze(o.toValue(t[0])).filter(u=>u!=null);return l.every(u=>typeof u!="string")?l:void 0}),i=Wa(()=>{var l,u;return[(u=(l=a.value)==null?void 0:l.map(c=>xt(c)))!=null?u:[ro].filter(c=>c!=null),ze(o.toValue(a.value?t[1]:t[0])),ze(o.unref(a.value?t[2]:t[1])),o.toValue(a.value?t[3]:t[2])]},([l,u,c,d])=>{if(n(),!l?.length||!u?.length||!c?.length)return;const f=Ba(d)?{...d}:d;e.push(...l.flatMap(g=>u.flatMap(p=>c.map(m=>r(g,p,m,f)))))},{flush:"post"}),s=()=>{i(),n()};return no(n),s}let ao=!1;function Xa(t,e,n={}){const{window:r=ro,ignore:a=[],capture:i=!0,detectIframe:s=!1,controls:l=!1}=n;if(!r)return l?{stop:K,cancel:K,trigger:K}:K;if(Ra&&!ao){ao=!0;const h={passive:!0};Array.from(r.document.body.children).forEach(S=>S.addEventListener("click",K,h)),r.document.documentElement.addEventListener("click",K,h)}let u=!0;const c=h=>o.toValue(a).some(S=>{if(typeof S=="string")return Array.from(r.document.querySelectorAll(S)).some(k=>k===h.target||h.composedPath().includes(k));{const k=xt(S);return k&&(h.target===k||h.composedPath().includes(k))}});function d(h){const S=o.toValue(h);return S&&S.$.subTree.shapeFlag===16}function f(h,S){const k=o.toValue(h),x=k.$.subTree&&k.$.subTree.children;return x==null||!Array.isArray(x)?!1:x.some(E=>E.el===S.target||S.composedPath().includes(E.el))}const g=h=>{const S=xt(t);if(h.target!=null&&!(!(S instanceof Element)&&d(t)&&f(t,h))&&!(!S||S===h.target||h.composedPath().includes(S))){if("detail"in h&&h.detail===0&&(u=!c(h)),!u){u=!0;return}e(h)}};let p=!1;const m=[Qt(r,"click",h=>{p||(p=!0,setTimeout(()=>{p=!1},0),g(h))},{passive:!0,capture:i}),Qt(r,"pointerdown",h=>{const S=xt(t);u=!c(h)&&!!(S&&!h.composedPath().includes(S))},{passive:!0}),s&&Qt(r,"blur",h=>{setTimeout(()=>{var S;const k=xt(t);((S=r.document.activeElement)==null?void 0:S.tagName)==="IFRAME"&&!k?.contains(r.document.activeElement)&&e(h)},0)},{passive:!0})].filter(Boolean),y=()=>m.forEach(h=>h());return l?{stop:y,cancel:()=>{u=!1},trigger:h=>{u=!0,g(h),u=!1}}:y}function io(t,e,n){const{immediate:r=!0,delay:a=0,onError:i=K,onSuccess:s=K,resetOnExecute:l=!0,shallow:u=!0,throwError:c}=n??{},d=u?o.shallowRef(e):o.ref(e),f=o.shallowRef(!1),g=o.shallowRef(!1),p=o.shallowRef(void 0);async function m(S=0,...k){l&&(d.value=e),p.value=void 0,f.value=!1,g.value=!0,S>0&&await Re(S);const x=typeof t=="function"?t(...k):t;try{const E=await x;d.value=E,f.value=!0,s(E)}catch(E){if(p.value=E,i(E),c)throw E}finally{g.value=!1}return d.value}r&&m(a);const y={state:d,isReady:f,isLoading:g,error:p,execute:m,executeImmediate:(...S)=>m(0,...S)};function h(){return new Promise((S,k)=>{Ha(g).toBe(!1).then(()=>S(y)).catch(k)})}return{...y,then(S,k){return h().then(S,k)}}}function Ja(t={}){const{document:e=Za}=t;if(!e)return o.shallowRef("visible");const n=o.shallowRef(e.visibilityState);return Qt(e,"visibilitychange",()=>{n.value=e.visibilityState},{passive:!0}),n}async function Qa(t){return new Promise((e,n)=>{const r=new Image,{src:a,srcset:i,sizes:s,class:l,loading:u,crossorigin:c,referrerPolicy:d,width:f,height:g,decoding:p,fetchPriority:m,ismap:y,usemap:h}=t;r.src=a,i!=null&&(r.srcset=i),s!=null&&(r.sizes=s),l!=null&&(r.className=l),u!=null&&(r.loading=u),c!=null&&(r.crossOrigin=c),d!=null&&(r.referrerPolicy=d),f!=null&&(r.width=f),g!=null&&(r.height=g),p!=null&&(r.decoding=p),m!=null&&(r.fetchPriority=m),y!=null&&(r.isMap=y),h!=null&&(r.useMap=h),r.onload=()=>e(r),r.onerror=n})}function ti(t,e={}){const n=io(()=>Qa(o.toValue(t)),void 0,{resetOnExecute:!0,...e});return o.watch(()=>o.toValue(t),()=>n.execute(e.delay),{deep:!0}),n}function so(t=[],e={}){const{delay:n=0}=e,r=o.ref(!1),a=o.computed(()=>{const l=o.unref(t);return Array.isArray(l)?l.map(u=>o.unref(u)).some(Boolean):l}),{start:i,stop:s}=Ya(()=>{r.value=!0},n);return o.watch(a,l=>{if(l)return i();s(),r.value=!1},{immediate:!0,deep:!0}),r}function tt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var te={exports:{}},ei=te.exports,lo;function co(){return lo||(lo=1,function(t,e){(function(n,r){t.exports=r()})(ei,function(){var n=1e3,r=6e4,a=36e5,i="millisecond",s="second",l="minute",u="hour",c="day",d="week",f="month",g="quarter",p="year",m="date",y="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,k={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(P){var _=["th","st","nd","rd"],O=P%100;return"["+P+(_[(O-20)%10]||_[O]||_[0])+"]"}},x=function(P,_,O){var A=String(P);return!A||A.length>=_?P:""+Array(_+1-A.length).join(O)+P},E={s:x,z:function(P){var _=-P.utcOffset(),O=Math.abs(_),A=Math.floor(O/60),w=O%60;return(_<=0?"+":"-")+x(A,2,"0")+":"+x(w,2,"0")},m:function P(_,O){if(_.date()<O.date())return-P(O,_);var A=12*(O.year()-_.year())+(O.month()-_.month()),w=_.clone().add(A,f),v=O-w<0,$=_.clone().add(A+(v?-1:1),f);return+(-(A+(O-w)/(v?w-$:$-w))||0)},a:function(P){return P<0?Math.ceil(P)||0:Math.floor(P)},p:function(P){return{M:f,y:p,w:d,d:c,D:m,h:u,m:l,s,ms:i,Q:g}[P]||String(P||"").toLowerCase().replace(/s$/,"")},u:function(P){return P===void 0}},N="en",C={};C[N]=k;var B="$isDayjsObject",F=function(P){return P instanceof W||!(!P||!P[B])},j=function P(_,O,A){var w;if(!_)return N;if(typeof _=="string"){var v=_.toLowerCase();C[v]&&(w=v),O&&(C[v]=O,w=v);var $=_.split("-");if(!w&&$.length>1)return P($[0])}else{var R=_.name;C[R]=_,w=R}return!A&&w&&(N=w),w||!A&&N},L=function(P,_){if(F(P))return P.clone();var O=typeof _=="object"?_:{};return O.date=P,O.args=arguments,new W(O)},M=E;M.l=j,M.i=F,M.w=function(P,_){return L(P,{locale:_.$L,utc:_.$u,x:_.$x,$offset:_.$offset})};var W=function(){function P(O){this.$L=j(O.locale,null,!0),this.parse(O),this.$x=this.$x||O.x||{},this[B]=!0}var _=P.prototype;return _.parse=function(O){this.$d=function(A){var w=A.date,v=A.utc;if(w===null)return new Date(NaN);if(M.u(w))return new Date;if(w instanceof Date)return new Date(w);if(typeof w=="string"&&!/Z$/i.test(w)){var $=w.match(h);if($){var R=$[2]-1||0,U=($[7]||"0").substring(0,3);return v?new Date(Date.UTC($[1],R,$[3]||1,$[4]||0,$[5]||0,$[6]||0,U)):new Date($[1],R,$[3]||1,$[4]||0,$[5]||0,$[6]||0,U)}}return new Date(w)}(O),this.init()},_.init=function(){var O=this.$d;this.$y=O.getFullYear(),this.$M=O.getMonth(),this.$D=O.getDate(),this.$W=O.getDay(),this.$H=O.getHours(),this.$m=O.getMinutes(),this.$s=O.getSeconds(),this.$ms=O.getMilliseconds()},_.$utils=function(){return M},_.isValid=function(){return this.$d.toString()!==y},_.isSame=function(O,A){var w=L(O);return this.startOf(A)<=w&&w<=this.endOf(A)},_.isAfter=function(O,A){return L(O)<this.startOf(A)},_.isBefore=function(O,A){return this.endOf(A)<L(O)},_.$g=function(O,A,w){return M.u(O)?this[A]:this.set(w,O)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(O,A){var w=this,v=!!M.u(A)||A,$=M.p(O),R=function(kt,Z){var ht=M.w(w.$u?Date.UTC(w.$y,Z,kt):new Date(w.$y,Z,kt),w);return v?ht:ht.endOf(c)},U=function(kt,Z){return M.w(w.toDate()[kt].apply(w.toDate("s"),(v?[0,0,0,0]:[23,59,59,999]).slice(Z)),w)},H=this.$W,q=this.$M,Q=this.$D,$t="set"+(this.$u?"UTC":"");switch($){case p:return v?R(1,0):R(31,11);case f:return v?R(1,q):R(0,q+1);case d:var At=this.$locale().weekStart||0,jt=(H<At?H+7:H)-At;return R(v?Q-jt:Q+(6-jt),q);case c:case m:return U($t+"Hours",0);case u:return U($t+"Minutes",1);case l:return U($t+"Seconds",2);case s:return U($t+"Milliseconds",3);default:return this.clone()}},_.endOf=function(O){return this.startOf(O,!1)},_.$set=function(O,A){var w,v=M.p(O),$="set"+(this.$u?"UTC":""),R=(w={},w[c]=$+"Date",w[m]=$+"Date",w[f]=$+"Month",w[p]=$+"FullYear",w[u]=$+"Hours",w[l]=$+"Minutes",w[s]=$+"Seconds",w[i]=$+"Milliseconds",w)[v],U=v===c?this.$D+(A-this.$W):A;if(v===f||v===p){var H=this.clone().set(m,1);H.$d[R](U),H.init(),this.$d=H.set(m,Math.min(this.$D,H.daysInMonth())).$d}else R&&this.$d[R](U);return this.init(),this},_.set=function(O,A){return this.clone().$set(O,A)},_.get=function(O){return this[M.p(O)]()},_.add=function(O,A){var w,v=this;O=Number(O);var $=M.p(A),R=function(q){var Q=L(v);return M.w(Q.date(Q.date()+Math.round(q*O)),v)};if($===f)return this.set(f,this.$M+O);if($===p)return this.set(p,this.$y+O);if($===c)return R(1);if($===d)return R(7);var U=(w={},w[l]=r,w[u]=a,w[s]=n,w)[$]||1,H=this.$d.getTime()+O*U;return M.w(H,this)},_.subtract=function(O,A){return this.add(-1*O,A)},_.format=function(O){var A=this,w=this.$locale();if(!this.isValid())return w.invalidDate||y;var v=O||"YYYY-MM-DDTHH:mm:ssZ",$=M.z(this),R=this.$H,U=this.$m,H=this.$M,q=w.weekdays,Q=w.months,$t=w.meridiem,At=function(Z,ht,Ut,Se){return Z&&(Z[ht]||Z(A,v))||Ut[ht].slice(0,Se)},jt=function(Z){return M.s(R%12||12,Z,"0")},kt=$t||function(Z,ht,Ut){var Se=Z<12?"AM":"PM";return Ut?Se.toLowerCase():Se};return v.replace(S,function(Z,ht){return ht||function(Ut){switch(Ut){case"YY":return String(A.$y).slice(-2);case"YYYY":return M.s(A.$y,4,"0");case"M":return H+1;case"MM":return M.s(H+1,2,"0");case"MMM":return At(w.monthsShort,H,Q,3);case"MMMM":return At(Q,H);case"D":return A.$D;case"DD":return M.s(A.$D,2,"0");case"d":return String(A.$W);case"dd":return At(w.weekdaysMin,A.$W,q,2);case"ddd":return At(w.weekdaysShort,A.$W,q,3);case"dddd":return q[A.$W];case"H":return String(R);case"HH":return M.s(R,2,"0");case"h":return jt(1);case"hh":return jt(2);case"a":return kt(R,U,!0);case"A":return kt(R,U,!1);case"m":return String(U);case"mm":return M.s(U,2,"0");case"s":return String(A.$s);case"ss":return M.s(A.$s,2,"0");case"SSS":return M.s(A.$ms,3,"0");case"Z":return $}return null}(Z)||$.replace(":","")})},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(O,A,w){var v,$=this,R=M.p(A),U=L(O),H=(U.utcOffset()-this.utcOffset())*r,q=this-U,Q=function(){return M.m($,U)};switch(R){case p:v=Q()/12;break;case f:v=Q();break;case g:v=Q()/3;break;case d:v=(q-H)/6048e5;break;case c:v=(q-H)/864e5;break;case u:v=q/a;break;case l:v=q/r;break;case s:v=q/n;break;default:v=q}return w?v:M.a(v)},_.daysInMonth=function(){return this.endOf(f).$D},_.$locale=function(){return C[this.$L]},_.locale=function(O,A){if(!O)return this.$L;var w=this.clone(),v=j(O,A,!0);return v&&(w.$L=v),w},_.clone=function(){return M.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},P}(),ot=W.prototype;return L.prototype=ot,[["$ms",i],["$s",s],["$m",l],["$H",u],["$W",c],["$M",f],["$y",p],["$D",m]].forEach(function(P){ot[P[1]]=function(_){return this.$g(_,P[0],P[1])}}),L.extend=function(P,_){return P.$i||(P(_,W,L),P.$i=!0),L},L.locale=j,L.isDayjs=F,L.unix=function(P){return L(1e3*P)},L.en=C[N],L.Ls=C,L.p={},L})}(te)),te.exports}var ni=co();const D=tt(ni);var ee={exports:{}},oi=ee.exports,uo;function ri(){return uo||(uo=1,function(t,e){(function(n,r){t.exports=r()})(oi,function(){return function(n,r){var a=r.prototype,i=a.format;a.format=function(s){var l=this,u=this.$locale();if(!this.isValid())return i.bind(this)(s);var c=this.$utils(),d=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(f){switch(f){case"Q":return Math.ceil((l.$M+1)/3);case"Do":return u.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return u.ordinal(l.week(),"W");case"w":case"ww":return c.s(l.week(),f==="w"?1:2,"0");case"W":case"WW":return c.s(l.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return c.s(String(l.$H===0?24:l.$H),f==="k"?1:2,"0");case"X":return Math.floor(l.$d.getTime()/1e3);case"x":return l.$d.getTime();case"z":return"["+l.offsetName()+"]";case"zzz":return"["+l.offsetName("long")+"]";default:return f}});return i.bind(this)(d)}}})}(ee)),ee.exports}var ai=ri();const ii=tt(ai);var ne={exports:{}},si=ne.exports,fo;function li(){return fo||(fo=1,function(t,e){(function(n,r){t.exports=r()})(si,function(){return function(n,r,a){r.prototype.isBetween=function(i,s,l,u){var c=a(i),d=a(s),f=(u=u||"()")[0]==="(",g=u[1]===")";return(f?this.isAfter(c,l):!this.isBefore(c,l))&&(g?this.isBefore(d,l):!this.isAfter(d,l))||(f?this.isBefore(c,l):!this.isAfter(c,l))&&(g?this.isAfter(d,l):!this.isBefore(d,l))}}})}(ne)),ne.exports}var ci=li();const ui=tt(ci);var oe={exports:{}},di=oe.exports,mo;function fi(){return mo||(mo=1,function(t,e){(function(n,r){t.exports=r()})(di,function(){return function(n,r){r.prototype.isSameOrBefore=function(a,i){return this.isSame(a,i)||this.isBefore(a,i)}}})}(oe)),oe.exports}var mi=fi();const pi=tt(mi);var re={exports:{}},hi=re.exports,po;function gi(){return po||(po=1,function(t,e){(function(n,r){t.exports=r()})(hi,function(){return function(n,r,a){r.prototype.isToday=function(){var i="YYYY-MM-DD",s=a();return this.format(i)===s.format(i)}}})}(re)),re.exports}var yi=gi();const bi=tt(yi);var ae={exports:{}},Ti=ae.exports,ho;function Si(){return ho||(ho=1,function(t,e){(function(n,r){t.exports=r()})(Ti,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(r,a,i){var s=a.prototype,l=s.format;i.en.formats=n,s.format=function(u){u===void 0&&(u="YYYY-MM-DDTHH:mm:ssZ");var c=this.$locale().formats,d=function(f,g){return f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(p,m,y){var h=y&&y.toUpperCase();return m||g[y]||n[y]||g[h].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(S,k,x){return k||x.slice(1)})})}(u,c===void 0?{}:c);return l.call(this,d)}}})}(ae)),ae.exports}var wi=Si();const Oi=tt(wi);var ie={exports:{}},Ai=ie.exports,go;function ki(){return go||(go=1,function(t,e){(function(n,r){t.exports=r()})(Ai,function(){return function(n,r,a){var i=function(s,l){if(!l||!l.length||l.length===1&&!l[0]||l.length===1&&Array.isArray(l[0])&&!l[0].length)return null;var u;l.length===1&&l[0].length>0&&(l=l[0]),u=(l=l.filter(function(d){return d}))[0];for(var c=1;c<l.length;c+=1)l[c].isValid()&&!l[c][s](u)||(u=l[c]);return u};a.max=function(){var s=[].slice.call(arguments,0);return i("isAfter",s)},a.min=function(){var s=[].slice.call(arguments,0);return i("isBefore",s)}}})}(ie)),ie.exports}var _i=ki();const xi=tt(_i);var se={exports:{}},Pi=se.exports,yo;function Ei(){return yo||(yo=1,function(t,e){(function(n,r){t.exports=r()})(Pi,function(){return function(n,r,a){n=n||{};var i=r.prototype,s={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function l(c,d,f,g){return i.fromToBase(c,d,f,g)}a.en.relativeTime=s,i.fromToBase=function(c,d,f,g,p){for(var m,y,h,S=f.$locale().relativeTime||s,k=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],x=k.length,E=0;E<x;E+=1){var N=k[E];N.d&&(m=g?a(c).diff(f,N.d,!0):f.diff(c,N.d,!0));var C=(n.rounding||Math.round)(Math.abs(m));if(h=m>0,C<=N.r||!N.r){C<=1&&E>0&&(N=k[E-1]);var B=S[N.l];p&&(C=p(""+C)),y=typeof B=="string"?B.replace("%d",C):B(C,d,N.l,h);break}}if(d)return y;var F=h?S.future:S.past;return typeof F=="function"?F(y):F.replace("%s",y)},i.to=function(c,d){return l(c,d,this,!0)},i.from=function(c,d){return l(c,d,this)};var u=function(c){return c.$u?a.utc():a()};i.toNow=function(c){return this.to(u(this),c)},i.fromNow=function(c){return this.from(u(this),c)}}})}(se)),se.exports}var Ni=Ei();const vi=tt(Ni);var le={exports:{}},$i=le.exports,bo;function Mi(){return bo||(bo=1,function(t,e){(function(n,r){t.exports=r()})($i,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};return function(a,i,s){var l,u=function(g,p,m){m===void 0&&(m={});var y=new Date(g),h=function(S,k){k===void 0&&(k={});var x=k.timeZoneName||"short",E=S+"|"+x,N=r[E];return N||(N=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:S,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:x}),r[E]=N),N}(p,m);return h.formatToParts(y)},c=function(g,p){for(var m=u(g,p),y=[],h=0;h<m.length;h+=1){var S=m[h],k=S.type,x=S.value,E=n[k];E>=0&&(y[E]=parseInt(x,10))}var N=y[3],C=N===24?0:N,B=y[0]+"-"+y[1]+"-"+y[2]+" "+C+":"+y[4]+":"+y[5]+":000",F=+g;return(s.utc(B).valueOf()-(F-=F%1e3))/6e4},d=i.prototype;d.tz=function(g,p){g===void 0&&(g=l);var m,y=this.utcOffset(),h=this.toDate(),S=h.toLocaleString("en-US",{timeZone:g}),k=Math.round((h-new Date(S))/1e3/60),x=15*-Math.round(h.getTimezoneOffset()/15)-k;if(!Number(x))m=this.utcOffset(0,p);else if(m=s(S,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(x,!0),p){var E=m.utcOffset();m=m.add(y-E,"minute")}return m.$x.$timezone=g,m},d.offsetName=function(g){var p=this.$x.$timezone||s.tz.guess(),m=u(this.valueOf(),p,{timeZoneName:g}).find(function(y){return y.type.toLowerCase()==="timezonename"});return m&&m.value};var f=d.startOf;d.startOf=function(g,p){if(!this.$x||!this.$x.$timezone)return f.call(this,g,p);var m=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return f.call(m,g,p).tz(this.$x.$timezone,!0)},s.tz=function(g,p,m){var y=m&&p,h=m||p||l,S=c(+s(),h);if(typeof g!="string")return s(g).tz(h);var k=function(C,B,F){var j=C-60*B*1e3,L=c(j,F);if(B===L)return[j,B];var M=c(j-=60*(L-B)*1e3,F);return L===M?[j,L]:[C-60*Math.min(L,M)*1e3,Math.max(L,M)]}(s.utc(g,y).valueOf(),S,h),x=k[0],E=k[1],N=s(x).utcOffset(E);return N.$x.$timezone=h,N},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(g){l=g}}})}(le)),le.exports}var Di=Mi();const Ci=tt(Di);var ce={exports:{}},Li=ce.exports,To;function Ii(){return To||(To=1,function(t,e){(function(n,r){t.exports=r()})(Li,function(){var n="minute",r=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(i,s,l){var u=s.prototype;l.utc=function(y){var h={date:y,utc:!0,args:arguments};return new s(h)},u.utc=function(y){var h=l(this.toDate(),{locale:this.$L,utc:!0});return y?h.add(this.utcOffset(),n):h},u.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var c=u.parse;u.parse=function(y){y.utc&&(this.$u=!0),this.$utils().u(y.$offset)||(this.$offset=y.$offset),c.call(this,y)};var d=u.init;u.init=function(){if(this.$u){var y=this.$d;this.$y=y.getUTCFullYear(),this.$M=y.getUTCMonth(),this.$D=y.getUTCDate(),this.$W=y.getUTCDay(),this.$H=y.getUTCHours(),this.$m=y.getUTCMinutes(),this.$s=y.getUTCSeconds(),this.$ms=y.getUTCMilliseconds()}else d.call(this)};var f=u.utcOffset;u.utcOffset=function(y,h){var S=this.$utils().u;if(S(y))return this.$u?0:S(this.$offset)?f.call(this):this.$offset;if(typeof y=="string"&&(y=function(N){N===void 0&&(N="");var C=N.match(r);if(!C)return null;var B=(""+C[0]).match(a)||["-",0,0],F=B[0],j=60*+B[1]+ +B[2];return j===0?0:F==="+"?j:-j}(y),y===null))return this;var k=Math.abs(y)<=16?60*y:y,x=this;if(h)return x.$offset=k,x.$u=y===0,x;if(y!==0){var E=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(x=this.local().add(k+E,n)).$offset=k,x.$x.$localOffset=E}else x=this.utc();return x};var g=u.format;u.format=function(y){var h=y||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return g.call(this,h)},u.valueOf=function(){var y=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*y},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var p=u.toDate;u.toDate=function(y){return y==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():p.call(this)};var m=u.diff;u.diff=function(y,h,S){if(y&&this.$u===y.$u)return m.call(this,y,h,S);var k=this.local(),x=l(y).local();return m.call(k,x,h,S)}}})}(ce)),ce.exports}var Bi=Ii();const Ri=tt(Bi);var ue={exports:{}},zi=ue.exports,So;function Vi(){return So||(So=1,function(t,e){(function(n,r){t.exports=r()})(zi,function(){return function(n,r){r.prototype.weekday=function(a){var i=this.$locale().weekStart||0,s=this.$W,l=(s<i?s+7:s)-i;return this.$utils().u(a)?l:this.subtract(l,"day").add(a,"day")}}})}(ue)),ue.exports}var Gi=Vi();const Fi=tt(Gi);var de={exports:{}},ji=de.exports,wo;function Ui(){return wo||(wo=1,function(t,e){(function(n,r){t.exports=r(co())})(ji,function(n){function r(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var a=r(n),i={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(s){return s+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(s,l,u,c){return"néhány másodperc"+(c||l?"":"e")},m:function(s,l,u,c){return"egy perc"+(c||l?"":"e")},mm:function(s,l,u,c){return s+" perc"+(c||l?"":"e")},h:function(s,l,u,c){return"egy "+(c||l?"óra":"órája")},hh:function(s,l,u,c){return s+" "+(c||l?"óra":"órája")},d:function(s,l,u,c){return"egy "+(c||l?"nap":"napja")},dd:function(s,l,u,c){return s+" "+(c||l?"nap":"napja")},M:function(s,l,u,c){return"egy "+(c||l?"hónap":"hónapja")},MM:function(s,l,u,c){return s+" "+(c||l?"hónap":"hónapja")},y:function(s,l,u,c){return"egy "+(c||l?"év":"éve")},yy:function(s,l,u,c){return s+" "+(c||l?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};return a.default.locale(i,null,!0),i})}(de)),de.exports}Ui(),D.extend(Ri),D.extend(Ci),D.extend(ii),D.extend(vi),D.extend(Oi),D.extend(pi),D.extend(ui),D.extend(bi),D.extend(Fi),D.extend(xi);const Oo=()=>D.tz.guess();function bt(t="",e="",n="",r="hu"){return n=n||D.tz.guess(),D(t).isValid()?D(t).tz(n).locale(r).format(e):""}function Bt(t="",e="",n="hu"){if(!D(t).isValid())return"";e=e||D.tz.guess();const a=new Intl.DateTimeFormat(Hi(n),{timeZone:e,timeZoneName:"short"}).formatToParts(new Date(t)).find(i=>i.type==="timeZoneName");return a&&a.value}function Hi(t){return hn.get(t)}function Ge(t){const e=t.split(":");return Number.parseInt(e[0],10)*60+Number.parseInt(e[1],10)}function Ao(t){const e=~~(t/60),n=~~t%60;return[e.toString().padStart(2,"0"),n.toString().padStart(2,"0")].join(":")}function ko(t){const e=Math.trunc(t),n=Math.round((t-e)/10*60*10);return[e.toString().padStart(2,"0"),n.toString().padStart(2,"0")].join(":")}function Fe(t,e="day"){return D().isSameOrBefore(D(t),e)}function _o(t,e,n,r="[]"){return D(t).isBetween(e,D(n),"day",r)}function Yi(t,e,n="month"){return D(t).isSame(e,n)}function Wi(t,e="hu"){return D(t).locale(e).toNow(!0)}function qi(t,e,n="day"){return D(t).isBefore(e,n)}function Ki(t,e,n="day"){return D(t).isAfter(e,n)}function Zi(t){return D(t).isToday()}function Xi(t){const e=D().weekday(1),n=D().weekday(7);return _o(t,e,n)}function Ji(t){const e=D(t).weekday(1),n=D(t).weekday(7);return{startDate:e,endDate:n}}function Qi(t,e){return D(t).subtract(e,"day")}function ts(t,e){return D(t).add(e,"day")}function es(t){return D(t).startOf("month")}function ns(t){return D(t).endOf("month")}function os(t){return Array.isArray(t)&&(t=t.map(e=>D(e))),D.min(t)}function rs(t){return Array.isArray(t)&&(t=t.map(e=>D(e))),D.max(...t)}function as(t={}){const{initial:e=1,items:n=[],limit:r,auto:a=!1}=t,i=o.ref(o.unref(e)),s=c=>Fe(c,"day");return qa(n,()=>{if(!a)return;const c=ga(jn(s,"gameDate"))(o.unref(n));i.value=c===-1?1:Math.floor(c/r)+1}),{page:i,change:c=>{i.value=c}}}function is({currentPage:t,itemsPerPage:e=20,totalItems:n,rangeLength:r=5,update:a=K}){const i=o.computed(()=>Math.ceil(o.unref(n)/e)),s=o.computed(()=>{const d=o.unref(t)-1,f=Array.from({length:i.value},(m,y)=>y+1),g=Math.floor(r/2);let p=Math.max(d-g,0);return p+r>=i.value&&(p=Math.max(i.value-r,0)),f.slice(p,p+r)}),l=d=>{const f=o.unref(t)+d;c(f)&&a(f)},u=d=>{c(d)&&a(d)};function c(d){return d<=i.value&&d>0}return{page:t,range:s,pageCount:i,goTo:u,pageStep:l}}function ss(t={}){const{items:e=[],element:n,offset:r=0,enabled:a=!0}=t,i=l=>Fe(l,"day"),s=()=>{if(!o.unref(a))return;const l=ma(jn(i,"gameDate"))(o.unref(e));if(!l)return;const u=bt(l.gameDate,"YYYY-MM-DD"),c=xt(n).querySelector(`div[data-gamedate="${u}"]`);if(!c)return;const d=getComputedStyle(c).getPropertyValue("--vbr-widget-sticky-top-offset")||0,f=(c.getBoundingClientRect()?.top??0)-o.unref(r)-Number.parseFloat(d);window.scrollTo(0,f)};Ua(()=>({items:o.unref(e),element:o.unref(n)}),async({items:l,element:u})=>{l.length===0||!u||(await o.nextTick(),s())})}function ls({options:t={},transform:e=a=>a,onError:n=K,onSuccess:r=K}){const{path:a,apiKey:i,params:s,resetOnExecute:l=!1,immediate:u=!1}=t,{state:c,error:d,isLoading:f,execute:g}=io(()=>eo(a,i,o.unref(s)).then(p=>e(p)),[],{immediate:u,resetOnExecute:l,onError:n,onSuccess:r});return{state:c,error:d,isLoading:f,execute:g}}/*! *****************************************************************************
|
|
8
|
+
var MjszVbrElementsCore=function(T,r){"use strict";const ln="https://api.icehockey.hu/vbr",cn="https://www.jegkorongszovetseg.hu/event/game/{gameId}",un="https://jegkorongszovetseg.hu/assets/images/player_blank.png",dn="https://www.ersteliga.hu/stats/player/?playerId={player.playerId}&championshipId={championshipId}",fn="https://www.ersteliga.hu/stats/team/?teamId={team.id}&championshipId={championshipId}",mn="https://www.ersteliga.hu/stats?report={id}",pn="https://api.icehockey.hu/static/api/flag",ct="original",b="descend",I="ascend",hn=new Map().set("hu","hu-hu").set("en","hu-gb"),gn=new Map().set("Europe/Budapest",{countryLabelKey:"hungary",timezone:"Europe/Budapest"}).set("Europe/Bucharest",{countryLabelKey:"romania",timezone:"Europe/Bucharest"}),Xr=1e3*60*5,yn=1e3,bn={gameName:{label:"table.gameName.short",tooltip:"table.gameName.tooltip",class:"is-text-left is-text-light"},gameDateDate:{label:"table.gameDate.short",tooltip:"table.gameDate.tooltip",class:"is-text-left"},gameDateTime:{label:"table.gameDateTime.short",tooltip:"table.gameDateTime.tooltip",class:"is-text-left"},homeTeamName:{label:"table.homeTeam.short",tooltip:"table.homeTeam.tooltip",class:"is-text-right is-w-auto is-text-bold"},homeTeamLogo:{label:"",class:"is-has-image"},gameResult:{label:"",class:"is-text-bold is-text-xl"},gameResultType:{label:"",tooltip:""},awayTeamLogo:{label:"",class:"is-has-image"},awayTeamName:{label:"table.awayTeam.short",tooltip:"table.awayTeam.tooltip",class:"is-text-left is-w-auto is-text-bold"},location:{label:"table.location.short",tooltip:"table.location.tooltip",class:"is-text-left"},broadcast:{label:"table.broadcast.short",tooltip:"table.broadcast.tooltip"},more:{label:""}},Jr={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},gamesPlayed:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gamesPlayed",direction:b}]},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",sortOrders:[{target:"w",direction:b},{target:"otw",direction:b}]},otw:{label:"table.otw.short",tooltip:"table.otw.tooltip",sortOrders:[{target:"otw",direction:b}]},sow:{label:"table.sow.short",tooltip:"table.sow.tooltip",sortOrders:[{target:"sow",direction:b}]},sol:{label:"table.sol.short",tooltip:"table.sol.tooltip",sortOrders:[{target:"sol",direction:b}]},otl:{label:"table.otl.short",tooltip:"table.otl.tooltip",sortOrders:[{target:"otl",direction:I}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:I}]},gf:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"gf",direction:b}]},ga:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"ga",direction:I}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"points",direction:b},{target:"gamesPlayed",direction:I},{target:"w",direction:b},{target:"gd",direction:b},{target:"gf",direction:b}]}},Qr={index:{label:"#",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},gamesPlayed:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gamesPlayed",direction:b}]},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",sortOrders:[{target:"w",direction:b},{target:"d",direction:b}]},d:{label:"table.draw.short",tooltip:"table.draw.tooltip",sortOrders:[{target:"d",direction:b},{target:"w",direction:b}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:I}]},gf:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"gf",direction:b}]},ga:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"ga",direction:I}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"points",direction:b}]}},to={index:{label:"#",class:"is-text-left is-text-italic is-text-light"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold"},gamesPlayed:{label:"table.game.short",tooltip:"table.game.tooltip",class:"is-text-light"},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",class:"is-text-light"},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",class:"is-text-light"},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",class:"is-text-light"},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold"}},eo={index:{label:"#",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},goals:{label:"table.goals.short",tooltip:"table.goals.tooltip",sortOrders:[{target:"goals",direction:b},{target:"assists",direction:b}]},assists:{label:"table.assists.short",tooltip:"table.assists.tooltip",sortOrders:[{target:"assists",direction:b},{target:"goals",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",sortOrders:[{target:"points",direction:b}]},plusMinus:{label:"table.plusMinus.short",tooltip:"table.plusMinus.tooltip",sortOrders:[{target:"plusMinus",direction:b}]},shots:{label:"table.sog.short",tooltip:"table.sog.tooltip",sortOrders:[{target:"shots",direction:b}]},shotPercent:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"shootPercent",direction:b}]}},no={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},p2:{label:"table.minorPenalties.short",tooltip:"table.minorPenalties.tooltip",sortOrders:[{target:"p2",direction:b},{target:"pim",direction:b}]},p5:{label:"table.majorPenalties.short",tooltip:"table.majorPenalties.tooltip",sortOrders:[{target:"p5",direction:b},{target:"pim",direction:b}]},p10:{label:"table.misconducts.short",tooltip:"table.misconducts.tooltip",sortOrders:[{target:"p10",direction:b},{target:"pim",direction:b}]},p20:{label:"table.gameMisconducts.short",tooltip:"table.gameMisconducts.tooltip",sortOrders:[{target:"p20",direction:b},{target:"pim",direction:b}]},p25:{label:"table.matchPenalties.short",tooltip:"table.matchPenalties.tooltip",sortOrders:[{target:"p25",direction:b},{target:"pim",direction:b}]},pim:{label:"table.pim.short",tooltip:"table.pim.tooltip",sortOrders:[{target:"pim",direction:b}]}},ro={index:{label:"#",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},toiMin:{label:"table.toi.short",tooltip:"table.toi.tooltip",sortOrders:[{target:"toi",direction:b}]},atoiMin:{label:"table.atoi.short",tooltip:"table.atoi.tooltip",sortOrders:[{target:"atoi",direction:b}]},shf:{label:"table.shf.short",tooltip:"table.shf.tooltip",sortOrders:[{target:"shf",direction:b}]},ashf:{label:"table.ashf.short",tooltip:"table.ashf.tooltip",sortOrders:[{target:"ashf",direction:b}]},eqToiMin:{label:"table.eqToi.short",tooltip:"table.eqToi.tooltip",sortOrders:[{target:"eqToi",direction:b}]},pp1ToiMin:{label:"table.pp1Toi.short",tooltip:"table.pp1Toi.tooltip",sortOrders:[{target:"pp1Toi",direction:b}]},pp2ToiMin:{label:"table.pp2Toi.short",tooltip:"table.pp2Toi.tooltip",sortOrders:[{target:"pp2Toi",direction:b}]},sh1ToiMin:{label:"table.sh1Toi.short",tooltip:"table.sh1Toi.tooltip",sortOrders:[{target:"sh1Toi",direction:b}]},sh2ToiMin:{label:"table.sh2Toi.short",tooltip:"table.sh2Toi.tooltip",sortOrders:[{target:"sh2Toi",direction:b}]},eqAToiMin:{label:"table.eqAToi.short",tooltip:"table.eqAToi.tooltip",sortOrders:[{target:"eqAToi",direction:b}]},pp1AToiMin:{label:"table.pp1AToi.short",tooltip:"table.pp1AToi.tooltip",sortOrders:[{target:"pp1AToi",direction:b}]},pp2AToiMin:{label:"table.pp2AToi.short",tooltip:"table.pp2AToi.tooltip",sortOrders:[{target:"pp2AToi",direction:b}]},sh1AToiMin:{label:"table.sh1AToi.short",tooltip:"table.sh1AToi.tooltip",sortOrders:[{target:"sh1AToi",direction:b}]},sh2AToiMin:{label:"table.sh2AToi.short",tooltip:"table.sh2AToi.tooltip",sortOrders:[{target:"sh2AToi",direction:b}]}},oo={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:I}]},gkd:{label:"table.gpgk.short",tooltip:"table.gpgk.tooltip",sortOrders:[{target:"gkd",direction:b}]},gpi:{label:"table.gpi.short",tooltip:"table.gpi.tooltip",sortOrders:[{target:"gpi",direction:b}]},so:{label:"table.so.short",tooltip:"table.so.tooltip",sortOrders:[{target:"so",direction:b}]},mipMin:{label:"table.toi.short",tooltip:"table.toi.tooltip",sortOrders:[{target:"mip",direction:b}]},mipPercent:{label:"table.toiPercent.short",tooltip:"table.toiPercent.tooltip",sortOrders:[{target:"mipPercent",direction:b}]},ga:{label:"table.ga.short",tooltip:"table.ga.tooltip",sortOrders:[{target:"ga",direction:b}]},gaa:{label:"table.gaa.short",tooltip:"table.gaa.tooltip",sortOrders:[{target:"gaa",direction:b}]},sog:{label:"table.sa.short",tooltip:"table.sa.tooltip",sortOrders:[{target:"sog",direction:b}]},svs:{label:"table.svs.short",tooltip:"table.svs.tooltip",sortOrders:[{target:"svs",direction:b}]},svsPercent:{label:"table.svsPercent.short",tooltip:"table.svsPercent.tooltip",sortOrders:[{target:"svsPercent",direction:b}]}},ao={index:{label:"#",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},goals:{label:"table.goals.short",tooltip:"table.goals.tooltip",sortOrders:[{target:"goals",direction:b},{target:"assists",direction:b}]},assist:{label:"table.assists.short",tooltip:"table.assists.tooltip",sortOrders:[{target:"assist",direction:b},{target:"goals",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",sortOrders:[{target:"points",direction:b}]}},io={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},home:{label:"table.homeHeader.short"},homeGame:{label:"table.homeGame.short",tooltip:"table.homeGame.tooltip",sortOrders:[{target:"homeGame",direction:b}]},homeAttendance:{label:"table.homeAttendance.short",tooltip:"table.homeAttendance.tooltip",sortOrders:[{target:"homeAttendance",direction:b}]},homeAttendanceAvg:{label:"table.homeAttendanceAvg.short",tooltip:"table.homeAttendanceAvg.tooltip",sortOrders:[{target:"homeAttendanceAvg",direction:b}]},away:{label:"table.awayHeader.short"},awayGame:{label:"table.awayGame.short",tooltip:"table.awayGame.tooltip",sortOrders:[{target:"awayGame",direction:b}]},awayAttendance:{label:"table.awayAttendance.short",tooltip:"table.awayAttendance.tooltip",sortOrders:[{target:"awayAttendance",direction:b}]},awayAttendanceAvg:{label:"table.awayAttendanceAvg.short",tooltip:"table.awayAttendanceAvg.tooltip",sortOrders:[{target:"awayAttendanceAvg",direction:b}]},total:{label:"table.totalHeader.short"},totalGame:{label:"table.totalGame.short",tooltip:"table.totalGame.tooltip",sortOrders:[{target:"totalGame",direction:b}]},totalAttendance:{label:"table.totalAttendance.short",tooltip:"table.totalAttendance.tooltip",sortOrders:[{target:"totalAttendance",direction:b}]},totalAttendanceAvg:{label:"table.totalAttendanceAvg.short",tooltip:"table.totalAttendanceAvg.tooltip",sortOrders:[{target:"totalAttendanceAvg",direction:b}]}},so={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},p2:{label:"table.minorPenalties.short",tooltip:"table.minorPenalties.tooltip",sortOrders:[{target:"p2",direction:b},{target:"pim",direction:b}]},p5:{label:"table.majorPenalties.short",tooltip:"table.majorPenalties.tooltip",sortOrders:[{target:"p5",direction:b},{target:"pim",direction:b}]},p10:{label:"table.misconducts.short",tooltip:"table.misconducts.tooltip",sortOrders:[{target:"p10",direction:b},{target:"pim",direction:b}]},p20:{label:"table.gameMisconducts.short",tooltip:"table.gameMisconducts.tooltip",sortOrders:[{target:"p20",direction:b},{target:"pim",direction:b}]},p25:{label:"table.matchPenalties.short",tooltip:"table.matchPenalties.tooltip",sortOrders:[{target:"p25",direction:b},{target:"pim",direction:b}]},pimPerGame:{label:"table.pimPerGame.short",tooltip:"table.pimPerGame.tooltip",sortOrders:[{target:"pimPerGame",direction:b}]},pim:{label:"table.pim.short",tooltip:"table.pim.tooltip",sortOrders:[{target:"pim",direction:b}]}},lo={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},dvg:{label:"table.powerplayDisadvantages.short",tooltip:"table.powerplayDisadvantages.tooltip",sortOrders:[{target:"dvg",direction:b}]},dvgTimeMin:{label:"table.dvgTime.short",tooltip:"table.dvgTime.tooltip",sortOrders:[{target:"dvgTime",direction:b}]},dvgTimePP1Min:{label:"table.dvgTimePP1.short",tooltip:"table.dvgTimePP1.tooltip",sortOrders:[{target:"dvgTimePP1",direction:b}]},dvgTimePP2Min:{label:"table.dvgTimePP2.short",tooltip:"table.dvgTimePP2.tooltip",sortOrders:[{target:"dvgTimePP2",direction:b}]},ppga:{label:"table.ppga.short",tooltip:"table.ppga.tooltip",sortOrders:[{target:"ppga",direction:b}]},shgf:{label:"table.shgf.short",tooltip:"table.shgf.tooltip",sortOrders:[{target:"shgf",direction:b}]},pkPercent:{label:"table.pkPercent.short",tooltip:"table.pkPercent.tooltip",sortOrders:[{target:"pkPercent",direction:b}]}},co={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},adv:{label:"table.adv.short",tooltip:"table.adv.tooltip",sortOrders:[{target:"adv",direction:b}]},advTimeMin:{label:"table.advTime.short",tooltip:"table.advTime.tooltip",sortOrders:[{target:"advTime",direction:b}]},advTimePP1Min:{label:"table.advTimePP1.short",tooltip:"table.advTimePP1.tooltip",sortOrders:[{target:"advTimePP1",direction:b}]},advTimePP2Min:{label:"table.advTimePP2.short",tooltip:"table.advTimePP2.tooltip",sortOrders:[{target:"advTimePP2",direction:b}]},ppgf:{label:"table.ppgf.short",tooltip:"table.ppgf.tooltip",sortOrders:[{target:"ppgf",direction:b}]},shga:{label:"table.shga.short",tooltip:"table.shga.tooltip",sortOrders:[{target:"shga",direction:b}]},ppPercent:{label:"table.ppPercent.short",tooltip:"table.ppPercent.tooltip",sortOrders:[{target:"ppPercent",direction:b}]}},uo={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:I}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},gf:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"gf",direction:b}]},ga:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"ga",direction:I}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},gfPerGp:{label:"table.gfgp.short",tooltip:"table.gfgp.tooltip",sortOrders:[{target:"gfPerGp",direction:b}]},gaPerGp:{label:"table.gagp.short",tooltip:"table.gagp.tooltip",sortOrders:[{target:"gaPerGp",direction:I}]},s:{label:"table.sog.short",tooltip:"table.sog.tooltip",sortOrders:[{target:"s",direction:b}]},sa:{label:"table.sa.short",tooltip:"table.sa.tooltip",sortOrders:[{target:"sa",direction:I}]},shotsPerGp:{label:"table.sogp.short",tooltip:"table.sogp.tooltip",sortOrders:[{target:"shotsPerGp",direction:b}]},saPerGp:{label:"table.sagp.short",tooltip:"table.sagp.tooltip",sortOrders:[{target:"shotsPerGp",direction:I}]},sp:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"sp",direction:b}]}};function fo(t){return r.getCurrentScope()?(r.onScopeDispose(t),!0):!1}function Tn(t){return typeof t=="function"?t():r.unref(t)}const mo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const po=t=>t!=null,Oe=()=>{};function Ae(t){var e;const n=Tn(t);return(e=n?.$el)!=null?e:n}const ho=mo?window:void 0;function go(){const t=r.ref(!1);return r.getCurrentInstance()&&r.onMounted(()=>{t.value=!0}),t}function yo(t){const e=go();return r.computed(()=>(e.value,!!t()))}function bo(t,e,n={}){const{root:o,rootMargin:a="0px",threshold:i=.1,window:s=ho,immediate:l=!0}=n,u=yo(()=>s&&"IntersectionObserver"in s),c=r.computed(()=>{const m=Tn(t);return(Array.isArray(m)?m:[m]).map(Ae).filter(po)});let d=Oe;const f=r.ref(l),g=u.value?r.watch(()=>[c.value,Ae(o),f.value],([m,y])=>{if(d(),!f.value||!m.length)return;const h=new IntersectionObserver(e,{root:Ae(y),rootMargin:a,threshold:i});m.forEach(S=>S&&h.observe(S)),d=()=>{h.disconnect(),d=Oe}},{immediate:l,flush:"post"}):Oe,p=()=>{d(),g(),f.value=!1};return fo(p),{isSupported:u,isActive:f,pause(){d(),f.value=!1},resume(){f.value=!0},stop:p}}const To=r.defineComponent({name:"FetchMoreObserver",props:["as","options"],emits:["intersect"],setup(t,{slots:e,emit:n}){const o=r.ref(null),{stop:a}=bo(o,([{isIntersecting:i}])=>{i&&n("intersect")},t.options);return r.onUnmounted(a),()=>{if(e.default)return r.h(t.as||"div",{ref:o},e.default())}}});function V(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function G(t){return function e(n){return arguments.length===0||V(n)?e:t.apply(this,arguments)}}function z(t){return function e(n,o){switch(arguments.length){case 0:return e;case 1:return V(n)?e:G(function(a){return t(n,a)});default:return V(n)&&V(o)?e:V(n)?G(function(a){return t(a,o)}):V(o)?G(function(a){return t(n,a)}):t(n,o)}}}function Yt(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(n){return e.apply(this,arguments)};case 2:return function(n,o){return e.apply(this,arguments)};case 3:return function(n,o,a){return e.apply(this,arguments)};case 4:return function(n,o,a,i){return e.apply(this,arguments)};case 5:return function(n,o,a,i,s){return e.apply(this,arguments)};case 6:return function(n,o,a,i,s,l){return e.apply(this,arguments)};case 7:return function(n,o,a,i,s,l,u){return e.apply(this,arguments)};case 8:return function(n,o,a,i,s,l,u,c){return e.apply(this,arguments)};case 9:return function(n,o,a,i,s,l,u,c,d){return e.apply(this,arguments)};case 10:return function(n,o,a,i,s,l,u,c,d,f){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function ke(t,e,n){return function(){for(var o=[],a=0,i=t,s=0,l=!1;s<e.length||a<arguments.length;){var u;s<e.length&&(!V(e[s])||a>=arguments.length)?u=e[s]:(u=arguments[a],a+=1),o[s]=u,V(u)?l=!0:i-=1,s+=1}return!l&&i<=0?n.apply(this,o):Yt(Math.max(0,i),ke(t,o,n))}}var Mt=z(function(e,n){return e===1?G(n):Yt(e,ke(e,[],n))});function J(t){return function e(n,o,a){switch(arguments.length){case 0:return e;case 1:return V(n)?e:z(function(i,s){return t(n,i,s)});case 2:return V(n)&&V(o)?e:V(n)?z(function(i,s){return t(i,o,s)}):V(o)?z(function(i,s){return t(n,i,s)}):G(function(i){return t(n,o,i)});default:return V(n)&&V(o)&&V(a)?e:V(n)&&V(o)?z(function(i,s){return t(i,s,a)}):V(n)&&V(a)?z(function(i,s){return t(i,o,s)}):V(o)&&V(a)?z(function(i,s){return t(n,i,s)}):V(n)?G(function(i){return t(i,o,a)}):V(o)?G(function(i){return t(n,i,a)}):V(a)?G(function(i){return t(n,o,i)}):t(n,o,a)}}}const Dt=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function So(t){return t!=null&&typeof t["@@transducer/step"]=="function"}function Ct(t,e,n){return function(){if(arguments.length===0)return n();var o=arguments[arguments.length-1];if(!Dt(o)){for(var a=0;a<t.length;){if(typeof o[t[a]]=="function")return o[t[a]].apply(o,Array.prototype.slice.call(arguments,0,-1));a+=1}if(So(o)){var i=e.apply(null,Array.prototype.slice.call(arguments,0,-1));return i(o)}}return n.apply(this,arguments)}}function _e(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}const gt={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};function Sn(t){for(var e=[],n;!(n=t.next()).done;)e.push(n.value);return e}function wn(t,e,n){for(var o=0,a=n.length;o<a;){if(t(e,n[o]))return!0;o+=1}return!1}function wo(t){var e=String(t).match(/^function (\w*)/);return e==null?"":e[1]}function ot(t,e){return Object.prototype.hasOwnProperty.call(e,t)}function Oo(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}const xe=typeof Object.is=="function"?Object.is:Oo;var On=Object.prototype.toString,An=function(){return On.call(arguments)==="[object Arguments]"?function(e){return On.call(e)==="[object Arguments]"}:function(e){return ot("callee",e)}}(),Ao=!{toString:null}.propertyIsEnumerable("toString"),kn=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],_n=function(){return arguments.propertyIsEnumerable("length")}(),ko=function(e,n){for(var o=0;o<e.length;){if(e[o]===n)return!0;o+=1}return!1},yt=G(typeof Object.keys=="function"&&!_n?function(e){return Object(e)!==e?[]:Object.keys(e)}:function(e){if(Object(e)!==e)return[];var n,o,a=[],i=_n&&An(e);for(n in e)ot(n,e)&&(!i||n!=="length")&&(a[a.length]=n);if(Ao)for(o=kn.length-1;o>=0;)n=kn[o],ot(n,e)&&!ko(a,n)&&(a[a.length]=n),o-=1;return a}),Pe=G(function(e){return e===null?"Null":e===void 0?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function xn(t,e,n,o){var a=Sn(t),i=Sn(e);function s(l,u){return Ee(l,u,n.slice(),o.slice())}return!wn(function(l,u){return!wn(s,u,l)},i,a)}function Ee(t,e,n,o){if(xe(t,e))return!0;var a=Pe(t);if(a!==Pe(e))return!1;if(typeof t["fantasy-land/equals"]=="function"||typeof e["fantasy-land/equals"]=="function")return typeof t["fantasy-land/equals"]=="function"&&t["fantasy-land/equals"](e)&&typeof e["fantasy-land/equals"]=="function"&&e["fantasy-land/equals"](t);if(typeof t.equals=="function"||typeof e.equals=="function")return typeof t.equals=="function"&&t.equals(e)&&typeof e.equals=="function"&&e.equals(t);switch(a){case"Arguments":case"Array":case"Object":if(typeof t.constructor=="function"&&wo(t.constructor)==="Promise")return t===e;break;case"Boolean":case"Number":case"String":if(!(typeof t==typeof e&&xe(t.valueOf(),e.valueOf())))return!1;break;case"Date":if(!xe(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(!(t.source===e.source&&t.global===e.global&&t.ignoreCase===e.ignoreCase&&t.multiline===e.multiline&&t.sticky===e.sticky&&t.unicode===e.unicode))return!1;break}for(var i=n.length-1;i>=0;){if(n[i]===t)return o[i]===e;i-=1}switch(a){case"Map":return t.size!==e.size?!1:xn(t.entries(),e.entries(),n.concat([t]),o.concat([e]));case"Set":return t.size!==e.size?!1:xn(t.values(),e.values(),n.concat([t]),o.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var s=yt(t);if(s.length!==yt(e).length)return!1;var l=n.concat([t]),u=o.concat([e]);for(i=s.length-1;i>=0;){var c=s[i];if(!(ot(c,e)&&Ee(e[c],t[c],l,u)))return!1;i-=1}return!0}var Wt=z(function(e,n){return Ee(e,n,[],[])});function _o(t,e,n){var o,a;if(typeof t.indexOf=="function")switch(typeof e){case"number":if(e===0){for(o=1/e;n<t.length;){if(a=t[n],a===0&&1/a===o)return n;n+=1}return-1}else if(e!==e){for(;n<t.length;){if(a=t[n],typeof a=="number"&&a!==a)return n;n+=1}return-1}return t.indexOf(e,n);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,n);case"object":if(e===null)return t.indexOf(e,n)}for(;n<t.length;){if(Wt(t[n],e))return n;n+=1}return-1}function Pn(t,e){return _o(e,t,0)>=0}function qt(t,e){for(var n=0,o=e.length,a=Array(o);n<o;)a[n]=t(e[n]),n+=1;return a}function Ne(t){var e=t.replace(/\\/g,"\\\\").replace(/[\b]/g,"\\b").replace(/\f/g,"\\f").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\v/g,"\\v").replace(/\0/g,"\\0");return'"'+e.replace(/"/g,'\\"')+'"'}var Lt=function(e){return(e<10?"0":"")+e},xo=typeof Date.prototype.toISOString=="function"?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Lt(e.getUTCMonth()+1)+"-"+Lt(e.getUTCDate())+"T"+Lt(e.getUTCHours())+":"+Lt(e.getUTCMinutes())+":"+Lt(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Po(t){return function(){return!t.apply(this,arguments)}}function En(t,e,n){for(var o=0,a=n.length;o<a;)e=t(e,n[o]),o+=1;return e}function Eo(t,e){for(var n=0,o=e.length,a=[];n<o;)t(e[n])&&(a[a.length]=e[n]),n+=1;return a}function No(t,e){for(var n=new Map,o=e.entries(),a=o.next();!a.done;)t(a.value[1])&&n.set(a.value[0],a.value[1]),a=o.next();return n}function vo(t){return Object.prototype.toString.call(t)==="[object Map]"}function Kt(t){return Object.prototype.toString.call(t)==="[object Object]"}var $o=function(){function t(e,n){this.xf=n,this.f=e}return t.prototype["@@transducer/init"]=gt.init,t.prototype["@@transducer/result"]=gt.result,t.prototype["@@transducer/step"]=function(e,n){return this.f(n)?this.xf["@@transducer/step"](e,n):e},t}();function Mo(t){return function(e){return new $o(t,e)}}var ve=z(Ct(["fantasy-land/filter","filter"],Mo,function(t,e){return Kt(e)?En(function(n,o){return t(e[o])&&(n[o]=e[o]),n},{},yt(e)):vo(e)?No(t,e):Eo(t,e)})),Do=z(function(e,n){return ve(Po(e),n)});function Nn(t,e){var n=function(s){var l=e.concat([t]);return Pn(s,l)?"<Circular>":Nn(s,l)},o=function(i,s){return qt(function(l){return Ne(l)+": "+n(i[l])},s.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+qt(n,t).join(", ")+"))";case"[object Array]":return"["+qt(n,t).concat(o(t,Do(function(i){return/^\d+$/.test(i)},yt(t)))).join(", ")+"]";case"[object Boolean]":return typeof t=="object"?"new Boolean("+n(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?n(NaN):Ne(xo(t)))+")";case"[object Map]":return"new Map("+n(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return typeof t=="object"?"new Number("+n(t.valueOf())+")":1/t===-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+n(Array.from(t).sort())+")";case"[object String]":return typeof t=="object"?"new String("+n(t.valueOf())+")":Ne(t);case"[object Undefined]":return"undefined";default:if(typeof t.toString=="function"){var a=t.toString();if(a!=="[object Object]")return a}return"{"+o(t,yt(t)).join(", ")+"}"}}var $e=G(function(e){return Nn(e,[])}),Co=z(function(e,n){if(e===n)return n;function o(u,c){if(u>c!=c>u)return c>u?c:u}var a=o(e,n);if(a!==void 0)return a;var i=o(typeof e,typeof n);if(i!==void 0)return i===typeof e?e:n;var s=$e(e),l=o(s,$e(n));return l!==void 0&&l===s?e:n}),Lo=function(){function t(e,n){this.xf=n,this.f=e}return t.prototype["@@transducer/init"]=gt.init,t.prototype["@@transducer/result"]=gt.result,t.prototype["@@transducer/step"]=function(e,n){return this.xf["@@transducer/step"](e,this.f(n))},t}(),Io=function(e){return function(n){return new Lo(e,n)}},ft=z(Ct(["fantasy-land/map","map"],Io,function(e,n){switch(Object.prototype.toString.call(n)){case"[object Function]":return Mt(n.length,function(){return e.call(this,n.apply(this,arguments))});case"[object Object]":return En(function(o,a){return o[a]=e(n[a]),o},{},yt(n));default:return qt(e,n)}}));const Zt=Number.isInteger||function(e){return e<<0===e};function vn(t,e){var n=t<0?e.length+t:t;return e[n]}function $n(t,e){if(e!=null)return Zt(t)?vn(t,e):e[t]}var ut=z($n),Bo=z(function(e,n){return ft(ut(e),n)});function Me(t){return Object.prototype.toString.call(t)==="[object String]"}var Ro=G(function(e){return Dt(e)?!0:!e||typeof e!="object"||Me(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),Mn=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function zo(t,e,n){return function(a,i,s){if(Ro(s))return t(a,i,s);if(s==null)return i;if(typeof s["fantasy-land/reduce"]=="function")return e(a,i,s,"fantasy-land/reduce");if(s[Mn]!=null)return n(a,i,s[Mn]());if(typeof s.next=="function")return n(a,i,s);if(typeof s.reduce=="function")return e(a,i,s,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Vo(t,e,n){for(var o=0,a=n.length;o<a;){if(e=t["@@transducer/step"](e,n[o]),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}o+=1}return t["@@transducer/result"](e)}var Go=z(function(e,n){return Yt(e.length,function(){return e.apply(n,arguments)})});function Fo(t,e,n){for(var o=n.next();!o.done;){if(e=t["@@transducer/step"](e,o.value),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}o=n.next()}return t["@@transducer/result"](e)}function jo(t,e,n,o){return t["@@transducer/result"](n[o](Go(t["@@transducer/step"],t),e))}var Dn=zo(Vo,jo,Fo),Uo=function(){function t(e){this.f=e}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(e){return e},t.prototype["@@transducer/step"]=function(e,n){return this.f(e,n)},t}();function Cn(t){return new Uo(t)}var Ln=J(function(t,e,n){return Dn(typeof t=="function"?Cn(t):t,e,n)}),In=G(function(e){return function(){return e}}),Ho=G(function(e){return Mt(Ln(Co,0,Bo("length",e)),function(){for(var n=0,o=e.length;n<o;){if(e[n].apply(this,arguments))return!0;n+=1}return!1})}),De=J(function(e,n,o){var a=e(n),i=e(o);return a<i?-1:a>i?1:0}),Yo=G(function(e){return Mt(e.length,e)});function Wo(t,e,n){if(Zt(t)&&Dt(n)){var o=t<0?n.length+t:t,a=[].concat(n);return a[o]=e,a}var i={};for(var s in n)i[s]=n[s];return i[t]=e,i}var qo=G(function(e){return e==null}),Ko=J(function t(e,n,o){if(e.length===0)return n;var a=e[0];if(e.length>1){var i=$n(a,o);(qo(i)||typeof i!="object")&&(i=Zt(e[1])?[]:{}),n=t(Array.prototype.slice.call(e,1),n,i)}return Wo(a,n,o)}),Zo=J(function(e,n,o){return Ko([e],n,o)});function Xo(t){var e=Object.prototype.toString.call(t);return e==="[object Function]"||e==="[object AsyncFunction]"||e==="[object GeneratorFunction]"||e==="[object AsyncGeneratorFunction]"}function Jo(t){return new RegExp(t.source,t.flags?t.flags:(t.global?"g":"")+(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.sticky?"y":"")+(t.unicode?"u":"")+(t.dotAll?"s":""))}function Bn(t,e,n){if(n||(n=new ta),Qo(t))return t;var o=function(i){var s=n.get(t);if(s)return s;n.set(t,i);for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(i[l]=t[l]);return i};switch(Pe(t)){case"Object":return o(Object.create(Object.getPrototypeOf(t)));case"Array":return o(Array(t.length));case"Date":return new Date(t.valueOf());case"RegExp":return Jo(t);case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":return t.slice();default:return t}}function Qo(t){var e=typeof t;return t==null||e!="object"&&e!="function"}var ta=function(){function t(){this.map={},this.length=0}return t.prototype.set=function(e,n){var o=this.hash(e),a=this.map[o];a||(this.map[o]=a=[]),a.push([e,n]),this.length+=1},t.prototype.hash=function(e){var n=[];for(var o in e)n.push(Object.prototype.toString.call(e[o]));return n.join()},t.prototype.get=function(e){if(this.length<=180){for(var n in this.map)for(var s=this.map[n],o=0;o<s.length;o+=1){var a=s[o];if(a[0]===e)return a[1]}return}var i=this.hash(e),s=this.map[i];if(s)for(var o=0;o<s.length;o+=1){var a=s[o];if(a[0]===e)return a[1]}},t}();function ea(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function Ce(t,e){return function(){var n=arguments.length;if(n===0)return e();var o=arguments[n-1];return Dt(o)||typeof o[t]!="function"?e.apply(this,arguments):o[t].apply(o,Array.prototype.slice.call(arguments,0,n-1))}}var na=J(Ce("slice",function(e,n,o){return Array.prototype.slice.call(o,e,n)})),ra=G(Ce("tail",na(1,1/0)));function Xt(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return Yt(arguments[0].length,Ln(ea,arguments[0],ra(arguments)))}var oa=G(function(e){return Me(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()});function Rn(){if(arguments.length===0)throw new Error("compose requires at least one argument");return Xt.apply(this,oa(arguments))}var aa=function(){function t(e,n,o,a){this.valueFn=e,this.valueAcc=n,this.keyFn=o,this.xf=a,this.inputs={}}return t.prototype["@@transducer/init"]=gt.init,t.prototype["@@transducer/result"]=function(e){var n;for(n in this.inputs)if(ot(n,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[n]),e["@@transducer/reduced"])){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,n){var o=this.keyFn(n);return this.inputs[o]=this.inputs[o]||[o,Bn(this.valueAcc)],this.inputs[o][1]=this.valueFn(this.inputs[o][1],n),e},t}();function ia(t,e,n){return function(o){return new aa(t,e,n,o)}}var sa=ke(4,[],Ct([],ia,function(e,n,o,a){var i=Cn(function(s,l){var u=o(l),c=e(ot(u,s)?s[u]:Bn(n),l);return c&&c["@@transducer/reduced"]?_e(s):(s[u]=c,s)});return Dn(i,{},a)})),la=J(function(e,n,o){var a=e(n),i=e(o);return a>i?-1:a<i?1:0});function ca(t){var e=Object.prototype.toString.call(t);return e==="[object Uint8ClampedArray]"||e==="[object Int8Array]"||e==="[object Uint8Array]"||e==="[object Int16Array]"||e==="[object Uint16Array]"||e==="[object Int32Array]"||e==="[object Uint32Array]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object BigInt64Array]"||e==="[object BigUint64Array]"}var ua=G(function(e){return e!=null&&typeof e["fantasy-land/empty"]=="function"?e["fantasy-land/empty"]():e!=null&&e.constructor!=null&&typeof e.constructor["fantasy-land/empty"]=="function"?e.constructor["fantasy-land/empty"]():e!=null&&typeof e.empty=="function"?e.empty():e!=null&&e.constructor!=null&&typeof e.constructor.empty=="function"?e.constructor.empty():e==Set||e instanceof Set?new Set:e==Map||e instanceof Map?new Map:Dt(e)?[]:Me(e)?"":Kt(e)?{}:An(e)?function(){return arguments}():ca(e)?e.constructor.from(""):void 0}),da=function(){function t(e,n){this.xf=n,this.f=e,this.found=!1}return t.prototype["@@transducer/init"]=gt.init,t.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,void 0)),this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,n){return this.f(n)&&(this.found=!0,e=_e(this.xf["@@transducer/step"](e,n))),e},t}();function fa(t){return function(e){return new da(t,e)}}var ma=z(Ct(["find"],fa,function(e,n){for(var o=0,a=n.length;o<a;){if(e(n[o]))return n[o];o+=1}})),pa=function(){function t(e,n){this.xf=n,this.f=e,this.idx=-1,this.found=!1}return t.prototype["@@transducer/init"]=gt.init,t.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,-1)),this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,n){return this.idx+=1,this.f(n)&&(this.found=!0,e=_e(this.xf["@@transducer/step"](e,this.idx))),e},t}();function ha(t){return function(e){return new pa(t,e)}}var ga=z(Ct([],ha,function(e,n){for(var o=0,a=n.length;o<a;){if(e(n[o]))return o;o+=1}return-1})),ya=z(Ce("groupBy",sa(function(t,e){return t.push(e),t},[]))),ba=J(function(e,n,o){return Mt(Math.max(e.length,n.length,o.length),function(){return e.apply(this,arguments)?n.apply(this,arguments):o.apply(this,arguments)})}),Ta=z(Pn),zn=z(function(e,n){return Mt(e+1,function(){var o=arguments[e];if(o!=null&&Xo(o[n]))return o[n].apply(o,Array.prototype.slice.call(arguments,0,e));throw new TypeError($e(o)+' does not have a method named "'+n+'"')})}),Vn=G(function(e){return e!=null&&Wt(e,ua(e))}),Sa=z(function(e,n){return function(o){return function(a){return ft(function(i){return n(i,a)},o(e(a)))}}});function wa(t,e){for(var n=e,o=0;o<t.length;o+=1){if(n==null)return;var a=t[o];Zt(a)?n=vn(a,n):n=n[a]}return n}var Oa=G(function(e){return Sa(ut(e),Zo(e))}),Aa=J(function(e,n,o){var a={},i;n=n||{},o=o||{};for(i in n)ot(i,n)&&(a[i]=ot(i,o)?e(i,n[i],o[i]):n[i]);for(i in o)ot(i,o)&&!ot(i,a)&&(a[i]=o[i]);return a}),ka=J(function t(e,n,o){return Aa(function(a,i,s){return Kt(i)&&Kt(s)?t(e,i,s):e(a,i,s)},n,o)}),Gn=z(function(e,n){return ka(function(o,a,i){return i},e,n)}),_a=z(function(e,n){for(var o={},a={},i=0,s=e.length;i<s;)a[e[i]]=1,i+=1;for(var l in n)a.hasOwnProperty(l)||(o[l]=n[l]);return o}),Fn=function(t){return{value:t,map:function(e){return Fn(e(t))}}},xa=J(function(e,n,o){return e(function(a){return Fn(n(a))})(o).value}),Le=z(wa),jn=J(function(e,n,o){return e(ut(n,o))}),Pa=J(function(e,n,o){return o.replace(e,n)}),Ea=z(function(e,n){return Array.prototype.slice.call(n,0).sort(e)}),Un=z(function(e,n){return Array.prototype.slice.call(n,0).sort(function(o,a){for(var i=0,s=0;i===0&&s<e.length;)i=e[s](o,a),s+=1;return i})}),_t=zn(1,"split"),Hn=zn(0,"toLowerCase"),It=`
|
|
9
|
+
\v\f\r \u2028\u2029\uFEFF`,Na="",va=typeof String.prototype.trim=="function",Jt=G(!va||It.trim()||!Na.trim()?function(e){var n=new RegExp("^["+It+"]["+It+"]*"),o=new RegExp("["+It+"]["+It+"]*$");return e.replace(n,"").replace(o,"")}:function(e){return e.trim()});function Yn(t,e,n,o){const a=r.ref(""),i=r.ref(!1),s=l=>{const u=ve(ut(e),l),c=u.length>0;if(i.value=c,!c)return a.value="";const f=u.map(g=>({team:g.team.longName,points:Math.abs(ut(e,g))})).map(g=>n(`additionalText.${e}.content`,g)).join(", ");a.value=[n(`additionalText.${e}.prependix`),f,...n(`additionalText.${e}.appendix`)&&[n(`additionalText.${e}.appendix`)]].join(" ")};return r.watch(t,s,{immediate:!0}),r.watch(()=>r.unref(o),()=>s(r.unref(t))),{text:a,isVisible:i}}const Wn=Symbol("I18nContext"),Y=r.reactive({messages:{},locale:"",fallbackLocale:""});function qn({messages:t={},locale:e="",fallbackLocale:n=""}){Y.messages=Gn(Y.messages,t),Y.locale=e,Y.fallbackLocale=n;const o=(u,c={})=>{const d=!Vn(c),f=ft(Jt,_t(".",u));return r.computed(()=>{const p=Kn(f);return d?Ma(p,c):p}).value},a=u=>{const c=ft(Jt,_t(".",u));return!!Ie(Y.locale,c,Y.messages)},i=u=>{Y.locale=u},l={locale:r.computed({get(){return Y.locale},set(u){Y.locale=u}}),setLocale:i,translate:o,hasTranslation:a};return r.provide(Wn,l),{translate:o}}function at(t){t&&(Y.messages=t.messages,Y.locale=t.locale,Y.fallbackLocale=t.fallbackLocale);const e=$a();return{locale:e.locale,t:e.translate,setLocale:e.setLocale,hasTranslation:e.hasTranslation}}function $a(){const t=r.inject(Wn,null);if(t===null)throw new Error("Provider is missing a parent component.");return t}function Kn(t=[]){let e=Ie(Y.locale,t,Y.messages);return!e&&Y.fallbackLocale&&(e=Ie(Y.fallbackLocale,t,Y.messages)),e||t.join(".")}function Ie(t,e,n){return Le([t,...e],n)}function Ma(t,e){return t.replace(/\{(\w+)\}/g,(n,o)=>e[o])}const Zn=r.defineComponent({props:{tag:{type:String,default:"div"},path:{type:String,defult:""}},setup(t,{slots:e}){const n=ft(Jt,_t(".",t.path)),o=Kn(n),a=_t(/\{|\}/,o),i=Object.keys(e).map(s=>{const l=a.indexOf(s);return l>-1&&(a[l]=e[s]()[0]),a});return()=>r.h(t.tag,i)}});function Be(t,e="",n={}){const o=r.ref(""),{t:a}=at(),i=r.computed(()=>{if(r.unref(e))try{const u=Xn(r.unref(t),r.unref(e));return _a(u,r.unref(t))}catch(u){o.value=u}return r.unref(t)}),s=u=>({...u,...u.label&&{label:a(u.label??"",r.unref(n))},...u.tooltip&&{tooltip:a(u.tooltip??"")}});return{columns:r.computed(()=>ft(s,i.value)),error:o}}function Xn(t,e=""){const n=ft(Jt,_t(",",e)),o=yt(t);if(n[0]==="")return[];const a=n.findIndex(i=>!o.includes(i));if(a>-1)throw n[a];return n}function Jn(t){return t&&t.match(/[A-Z]{2,}(?=[A-Z][a-z]|\b)|[A-Z]?[a-z]+\d*|[A-Z]|\d+/g).map(e=>e.toLowerCase()).join("-")}function dt(t="",e={}){return t.replace(/\{([^}]+)\}/g,(n,o)=>Le(_t(".",o),e))}const Qn=Symbol("ErrorProviderContext");function tr(){const t=r.ref(""),e=r.ref({}),n=i=>{console.error({error:i}),t.value=i.message||i.error.message,e.value={message:i.message,key:i.key||Jn(i.message),cause:i.cause}},o=()=>{t.value="",e.value={}},a={onError:n,reset:o};return r.provide(Qn,a),window.onerror=i=>{console.error("WINDOW_ONERROR:",i)},r.onErrorCaptured((i,s,l)=>{console.error("onErrorCaptured:",i,s,l)}),{hasError:r.computed(()=>t.value.length>0),message:t,error:e,reset:o,onError:n}}function Re(){const t=Da();return{onError:t.onError,reset:t.reset}}function Da(){const t=r.inject(Qn,null);if(t===null)throw new Error("Provider is missing a parent component.");return t}async function er(t,e,n){const o=`${ln}${r.unref(t)}${Vn(n)?"":`?${Ca(n)}`}`;return new Promise((a,i)=>{fetch(o,{method:"GET",cache:"no-cache",headers:{"Content-Type":"application/json","X-API-KEY":La(e)}}).then(s=>s.json()).then(s=>{if(s.error)return i(s);a(s.data)}).catch(s=>{i(s)})})}function Ca(t){return Object.keys(t).map(e=>`${e}=${t[e]}`).join("&")}function La(t){return t||(window.__MJSZ_VBR_WIDGET__?.apiKey?window.__MJSZ_VBR_WIDGET__.apiKey:"")}function nr(t){return r.getCurrentScope()?(r.onScopeDispose(t),!0):!1}const Qt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ia=Object.prototype.toString,Ba=t=>Ia.call(t)==="[object Object]",K=()=>{},Ra=za();function za(){var t,e;return Qt&&((t=window?.navigator)==null?void 0:t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window?.navigator)==null?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Va(...t){if(t.length!==1)return r.toRef(...t);const e=t[0];return typeof e=="function"?r.readonly(r.customRef(()=>({get:e,set:K}))):r.ref(e)}function Ga(t,e){function n(...o){return new Promise((a,i)=>{Promise.resolve(t(()=>e.apply(this,o),{fn:e,thisArg:this,args:o})).then(a).catch(i)})}return n}const rr=t=>t();function Fa(t=rr,e={}){const{initialState:n="active"}=e,o=Va(n==="active");function a(){o.value=!1}function i(){o.value=!0}const s=(...l)=>{o.value&&t(...l)};return{isActive:r.readonly(o),pause:a,resume:i,eventFilter:s}}function ze(t,e=!1,n="Timeout"){return new Promise((o,a)=>{setTimeout(e?()=>a(n):o,t)})}function Ve(t){return Array.isArray(t)?t:[t]}function ja(t,e,n={}){const{eventFilter:o=rr,...a}=n;return r.watch(t,Ga(o,e),a)}function Ua(t,e,n={}){const{eventFilter:o,initialState:a="active",...i}=n,{eventFilter:s,pause:l,resume:u,isActive:c}=Fa(o,{initialState:a});return{stop:ja(t,e,{...i,eventFilter:s}),pause:l,resume:u,isActive:c}}function Ge(t,e=!1){function n(f,{flush:g="sync",deep:p=!1,timeout:m,throwOnTimeout:y}={}){let h=null;const k=[new Promise(x=>{h=r.watch(t,E=>{f(E)!==e&&(h?h():r.nextTick(()=>h?.()),x(E))},{flush:g,deep:p,immediate:!0})})];return m!=null&&k.push(ze(m,y).then(()=>r.toValue(t)).finally(()=>h?.())),Promise.race(k)}function o(f,g){if(!r.isRef(f))return n(E=>E===f,g);const{flush:p="sync",deep:m=!1,timeout:y,throwOnTimeout:h}=g??{};let S=null;const x=[new Promise(E=>{S=r.watch([t,f],([N,C])=>{e!==(N===C)&&(S?S():r.nextTick(()=>S?.()),E(N))},{flush:p,deep:m,immediate:!0})})];return y!=null&&x.push(ze(y,h).then(()=>r.toValue(t)).finally(()=>(S?.(),r.toValue(t)))),Promise.race(x)}function a(f){return n(g=>!!g,f)}function i(f){return o(null,f)}function s(f){return o(void 0,f)}function l(f){return n(Number.isNaN,f)}function u(f,g){return n(p=>{const m=Array.from(p);return m.includes(f)||m.includes(r.toValue(f))},g)}function c(f){return d(1,f)}function d(f=1,g){let p=-1;return n(()=>(p+=1,p>=f),g)}return Array.isArray(r.toValue(t))?{toMatch:n,toContains:u,changed:c,changedTimes:d,get not(){return Ge(t,!e)}}:{toMatch:n,toBe:o,toBeTruthy:a,toBeNull:i,toBeNaN:l,toBeUndefined:s,changed:c,changedTimes:d,get not(){return Ge(t,!e)}}}function Ha(t){return Ge(t)}function Ya(t,e,n={}){const{immediate:o=!0,immediateCallback:a=!1}=n,i=r.shallowRef(!1);let s;function l(){s&&(clearTimeout(s),s=void 0)}function u(){i.value=!1,l()}function c(...d){a&&t(),l(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=void 0,t(...d)},r.toValue(e))}return o&&(i.value=!0,Qt&&c()),nr(u),{isPending:r.shallowReadonly(i),start:c,stop:u}}function Wa(t,e,n){return r.watch(t,e,{...n,immediate:!0})}function qa(t,e,n){return r.watch(t,e,{...n,once:!0})}function Ka(t,e,n){const o=r.watch(t,(a,i,s)=>{a&&(n?.once&&r.nextTick(()=>o()),e(a,i,s))},{...n,once:!1});return o}const or=Qt?window:void 0,Za=Qt?window.document:void 0;function xt(t){var e;const n=r.toValue(t);return(e=n?.$el)!=null?e:n}function te(...t){const e=[],n=()=>{e.forEach(l=>l()),e.length=0},o=(l,u,c,d)=>(l.addEventListener(u,c,d),()=>l.removeEventListener(u,c,d)),a=r.computed(()=>{const l=Ve(r.toValue(t[0])).filter(u=>u!=null);return l.every(u=>typeof u!="string")?l:void 0}),i=Wa(()=>{var l,u;return[(u=(l=a.value)==null?void 0:l.map(c=>xt(c)))!=null?u:[or].filter(c=>c!=null),Ve(r.toValue(a.value?t[1]:t[0])),Ve(r.unref(a.value?t[2]:t[1])),r.toValue(a.value?t[3]:t[2])]},([l,u,c,d])=>{if(n(),!l?.length||!u?.length||!c?.length)return;const f=Ba(d)?{...d}:d;e.push(...l.flatMap(g=>u.flatMap(p=>c.map(m=>o(g,p,m,f)))))},{flush:"post"}),s=()=>{i(),n()};return nr(n),s}let ar=!1;function Xa(t,e,n={}){const{window:o=or,ignore:a=[],capture:i=!0,detectIframe:s=!1,controls:l=!1}=n;if(!o)return l?{stop:K,cancel:K,trigger:K}:K;if(Ra&&!ar){ar=!0;const h={passive:!0};Array.from(o.document.body.children).forEach(S=>S.addEventListener("click",K,h)),o.document.documentElement.addEventListener("click",K,h)}let u=!0;const c=h=>r.toValue(a).some(S=>{if(typeof S=="string")return Array.from(o.document.querySelectorAll(S)).some(k=>k===h.target||h.composedPath().includes(k));{const k=xt(S);return k&&(h.target===k||h.composedPath().includes(k))}});function d(h){const S=r.toValue(h);return S&&S.$.subTree.shapeFlag===16}function f(h,S){const k=r.toValue(h),x=k.$.subTree&&k.$.subTree.children;return x==null||!Array.isArray(x)?!1:x.some(E=>E.el===S.target||S.composedPath().includes(E.el))}const g=h=>{const S=xt(t);if(h.target!=null&&!(!(S instanceof Element)&&d(t)&&f(t,h))&&!(!S||S===h.target||h.composedPath().includes(S))){if("detail"in h&&h.detail===0&&(u=!c(h)),!u){u=!0;return}e(h)}};let p=!1;const m=[te(o,"click",h=>{p||(p=!0,setTimeout(()=>{p=!1},0),g(h))},{passive:!0,capture:i}),te(o,"pointerdown",h=>{const S=xt(t);u=!c(h)&&!!(S&&!h.composedPath().includes(S))},{passive:!0}),s&&te(o,"blur",h=>{setTimeout(()=>{var S;const k=xt(t);((S=o.document.activeElement)==null?void 0:S.tagName)==="IFRAME"&&!k?.contains(o.document.activeElement)&&e(h)},0)},{passive:!0})].filter(Boolean),y=()=>m.forEach(h=>h());return l?{stop:y,cancel:()=>{u=!1},trigger:h=>{u=!0,g(h),u=!1}}:y}function ir(t,e,n){const{immediate:o=!0,delay:a=0,onError:i=K,onSuccess:s=K,resetOnExecute:l=!0,shallow:u=!0,throwError:c}=n??{},d=u?r.shallowRef(e):r.ref(e),f=r.shallowRef(!1),g=r.shallowRef(!1),p=r.shallowRef(void 0);async function m(S=0,...k){l&&(d.value=e),p.value=void 0,f.value=!1,g.value=!0,S>0&&await ze(S);const x=typeof t=="function"?t(...k):t;try{const E=await x;d.value=E,f.value=!0,s(E)}catch(E){if(p.value=E,i(E),c)throw E}finally{g.value=!1}return d.value}o&&m(a);const y={state:d,isReady:f,isLoading:g,error:p,execute:m,executeImmediate:(...S)=>m(0,...S)};function h(){return new Promise((S,k)=>{Ha(g).toBe(!1).then(()=>S(y)).catch(k)})}return{...y,then(S,k){return h().then(S,k)}}}function Ja(t={}){const{document:e=Za}=t;if(!e)return r.shallowRef("visible");const n=r.shallowRef(e.visibilityState);return te(e,"visibilitychange",()=>{n.value=e.visibilityState},{passive:!0}),n}async function Qa(t){return new Promise((e,n)=>{const o=new Image,{src:a,srcset:i,sizes:s,class:l,loading:u,crossorigin:c,referrerPolicy:d,width:f,height:g,decoding:p,fetchPriority:m,ismap:y,usemap:h}=t;o.src=a,i!=null&&(o.srcset=i),s!=null&&(o.sizes=s),l!=null&&(o.className=l),u!=null&&(o.loading=u),c!=null&&(o.crossOrigin=c),d!=null&&(o.referrerPolicy=d),f!=null&&(o.width=f),g!=null&&(o.height=g),p!=null&&(o.decoding=p),m!=null&&(o.fetchPriority=m),y!=null&&(o.isMap=y),h!=null&&(o.useMap=h),o.onload=()=>e(o),o.onerror=n})}function ti(t,e={}){const n=ir(()=>Qa(r.toValue(t)),void 0,{resetOnExecute:!0,...e});return r.watch(()=>r.toValue(t),()=>n.execute(e.delay),{deep:!0}),n}function sr(t=[],e={}){const{delay:n=0}=e,o=r.ref(!1),a=r.computed(()=>{const l=r.unref(t);return Array.isArray(l)?l.map(u=>r.unref(u)).some(Boolean):l}),{start:i,stop:s}=Ya(()=>{o.value=!0},n);return r.watch(a,l=>{if(l)return i();s(),o.value=!1},{immediate:!0,deep:!0}),o}function tt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ee={exports:{}},ei=ee.exports,lr;function cr(){return lr||(lr=1,function(t,e){(function(n,o){t.exports=o()})(ei,function(){var n=1e3,o=6e4,a=36e5,i="millisecond",s="second",l="minute",u="hour",c="day",d="week",f="month",g="quarter",p="year",m="date",y="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,k={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(P){var _=["th","st","nd","rd"],O=P%100;return"["+P+(_[(O-20)%10]||_[O]||_[0])+"]"}},x=function(P,_,O){var A=String(P);return!A||A.length>=_?P:""+Array(_+1-A.length).join(O)+P},E={s:x,z:function(P){var _=-P.utcOffset(),O=Math.abs(_),A=Math.floor(O/60),w=O%60;return(_<=0?"+":"-")+x(A,2,"0")+":"+x(w,2,"0")},m:function P(_,O){if(_.date()<O.date())return-P(O,_);var A=12*(O.year()-_.year())+(O.month()-_.month()),w=_.clone().add(A,f),v=O-w<0,$=_.clone().add(A+(v?-1:1),f);return+(-(A+(O-w)/(v?w-$:$-w))||0)},a:function(P){return P<0?Math.ceil(P)||0:Math.floor(P)},p:function(P){return{M:f,y:p,w:d,d:c,D:m,h:u,m:l,s,ms:i,Q:g}[P]||String(P||"").toLowerCase().replace(/s$/,"")},u:function(P){return P===void 0}},N="en",C={};C[N]=k;var B="$isDayjsObject",F=function(P){return P instanceof W||!(!P||!P[B])},j=function P(_,O,A){var w;if(!_)return N;if(typeof _=="string"){var v=_.toLowerCase();C[v]&&(w=v),O&&(C[v]=O,w=v);var $=_.split("-");if(!w&&$.length>1)return P($[0])}else{var R=_.name;C[R]=_,w=R}return!A&&w&&(N=w),w||!A&&N},L=function(P,_){if(F(P))return P.clone();var O=typeof _=="object"?_:{};return O.date=P,O.args=arguments,new W(O)},M=E;M.l=j,M.i=F,M.w=function(P,_){return L(P,{locale:_.$L,utc:_.$u,x:_.$x,$offset:_.$offset})};var W=function(){function P(O){this.$L=j(O.locale,null,!0),this.parse(O),this.$x=this.$x||O.x||{},this[B]=!0}var _=P.prototype;return _.parse=function(O){this.$d=function(A){var w=A.date,v=A.utc;if(w===null)return new Date(NaN);if(M.u(w))return new Date;if(w instanceof Date)return new Date(w);if(typeof w=="string"&&!/Z$/i.test(w)){var $=w.match(h);if($){var R=$[2]-1||0,U=($[7]||"0").substring(0,3);return v?new Date(Date.UTC($[1],R,$[3]||1,$[4]||0,$[5]||0,$[6]||0,U)):new Date($[1],R,$[3]||1,$[4]||0,$[5]||0,$[6]||0,U)}}return new Date(w)}(O),this.init()},_.init=function(){var O=this.$d;this.$y=O.getFullYear(),this.$M=O.getMonth(),this.$D=O.getDate(),this.$W=O.getDay(),this.$H=O.getHours(),this.$m=O.getMinutes(),this.$s=O.getSeconds(),this.$ms=O.getMilliseconds()},_.$utils=function(){return M},_.isValid=function(){return this.$d.toString()!==y},_.isSame=function(O,A){var w=L(O);return this.startOf(A)<=w&&w<=this.endOf(A)},_.isAfter=function(O,A){return L(O)<this.startOf(A)},_.isBefore=function(O,A){return this.endOf(A)<L(O)},_.$g=function(O,A,w){return M.u(O)?this[A]:this.set(w,O)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(O,A){var w=this,v=!!M.u(A)||A,$=M.p(O),R=function(kt,Z){var ht=M.w(w.$u?Date.UTC(w.$y,Z,kt):new Date(w.$y,Z,kt),w);return v?ht:ht.endOf(c)},U=function(kt,Z){return M.w(w.toDate()[kt].apply(w.toDate("s"),(v?[0,0,0,0]:[23,59,59,999]).slice(Z)),w)},H=this.$W,q=this.$M,Q=this.$D,$t="set"+(this.$u?"UTC":"");switch($){case p:return v?R(1,0):R(31,11);case f:return v?R(1,q):R(0,q+1);case d:var At=this.$locale().weekStart||0,Ut=(H<At?H+7:H)-At;return R(v?Q-Ut:Q+(6-Ut),q);case c:case m:return U($t+"Hours",0);case u:return U($t+"Minutes",1);case l:return U($t+"Seconds",2);case s:return U($t+"Milliseconds",3);default:return this.clone()}},_.endOf=function(O){return this.startOf(O,!1)},_.$set=function(O,A){var w,v=M.p(O),$="set"+(this.$u?"UTC":""),R=(w={},w[c]=$+"Date",w[m]=$+"Date",w[f]=$+"Month",w[p]=$+"FullYear",w[u]=$+"Hours",w[l]=$+"Minutes",w[s]=$+"Seconds",w[i]=$+"Milliseconds",w)[v],U=v===c?this.$D+(A-this.$W):A;if(v===f||v===p){var H=this.clone().set(m,1);H.$d[R](U),H.init(),this.$d=H.set(m,Math.min(this.$D,H.daysInMonth())).$d}else R&&this.$d[R](U);return this.init(),this},_.set=function(O,A){return this.clone().$set(O,A)},_.get=function(O){return this[M.p(O)]()},_.add=function(O,A){var w,v=this;O=Number(O);var $=M.p(A),R=function(q){var Q=L(v);return M.w(Q.date(Q.date()+Math.round(q*O)),v)};if($===f)return this.set(f,this.$M+O);if($===p)return this.set(p,this.$y+O);if($===c)return R(1);if($===d)return R(7);var U=(w={},w[l]=o,w[u]=a,w[s]=n,w)[$]||1,H=this.$d.getTime()+O*U;return M.w(H,this)},_.subtract=function(O,A){return this.add(-1*O,A)},_.format=function(O){var A=this,w=this.$locale();if(!this.isValid())return w.invalidDate||y;var v=O||"YYYY-MM-DDTHH:mm:ssZ",$=M.z(this),R=this.$H,U=this.$m,H=this.$M,q=w.weekdays,Q=w.months,$t=w.meridiem,At=function(Z,ht,Ht,we){return Z&&(Z[ht]||Z(A,v))||Ht[ht].slice(0,we)},Ut=function(Z){return M.s(R%12||12,Z,"0")},kt=$t||function(Z,ht,Ht){var we=Z<12?"AM":"PM";return Ht?we.toLowerCase():we};return v.replace(S,function(Z,ht){return ht||function(Ht){switch(Ht){case"YY":return String(A.$y).slice(-2);case"YYYY":return M.s(A.$y,4,"0");case"M":return H+1;case"MM":return M.s(H+1,2,"0");case"MMM":return At(w.monthsShort,H,Q,3);case"MMMM":return At(Q,H);case"D":return A.$D;case"DD":return M.s(A.$D,2,"0");case"d":return String(A.$W);case"dd":return At(w.weekdaysMin,A.$W,q,2);case"ddd":return At(w.weekdaysShort,A.$W,q,3);case"dddd":return q[A.$W];case"H":return String(R);case"HH":return M.s(R,2,"0");case"h":return Ut(1);case"hh":return Ut(2);case"a":return kt(R,U,!0);case"A":return kt(R,U,!1);case"m":return String(U);case"mm":return M.s(U,2,"0");case"s":return String(A.$s);case"ss":return M.s(A.$s,2,"0");case"SSS":return M.s(A.$ms,3,"0");case"Z":return $}return null}(Z)||$.replace(":","")})},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(O,A,w){var v,$=this,R=M.p(A),U=L(O),H=(U.utcOffset()-this.utcOffset())*o,q=this-U,Q=function(){return M.m($,U)};switch(R){case p:v=Q()/12;break;case f:v=Q();break;case g:v=Q()/3;break;case d:v=(q-H)/6048e5;break;case c:v=(q-H)/864e5;break;case u:v=q/a;break;case l:v=q/o;break;case s:v=q/n;break;default:v=q}return w?v:M.a(v)},_.daysInMonth=function(){return this.endOf(f).$D},_.$locale=function(){return C[this.$L]},_.locale=function(O,A){if(!O)return this.$L;var w=this.clone(),v=j(O,A,!0);return v&&(w.$L=v),w},_.clone=function(){return M.w(this.$d,this)},_.toDate=function(){return new Date(this.valueOf())},_.toJSON=function(){return this.isValid()?this.toISOString():null},_.toISOString=function(){return this.$d.toISOString()},_.toString=function(){return this.$d.toUTCString()},P}(),rt=W.prototype;return L.prototype=rt,[["$ms",i],["$s",s],["$m",l],["$H",u],["$W",c],["$M",f],["$y",p],["$D",m]].forEach(function(P){rt[P[1]]=function(_){return this.$g(_,P[0],P[1])}}),L.extend=function(P,_){return P.$i||(P(_,W,L),P.$i=!0),L},L.locale=j,L.isDayjs=F,L.unix=function(P){return L(1e3*P)},L.en=C[N],L.Ls=C,L.p={},L})}(ee)),ee.exports}var ni=cr();const D=tt(ni);var ne={exports:{}},ri=ne.exports,ur;function oi(){return ur||(ur=1,function(t,e){(function(n,o){t.exports=o()})(ri,function(){return function(n,o){var a=o.prototype,i=a.format;a.format=function(s){var l=this,u=this.$locale();if(!this.isValid())return i.bind(this)(s);var c=this.$utils(),d=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(f){switch(f){case"Q":return Math.ceil((l.$M+1)/3);case"Do":return u.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return u.ordinal(l.week(),"W");case"w":case"ww":return c.s(l.week(),f==="w"?1:2,"0");case"W":case"WW":return c.s(l.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return c.s(String(l.$H===0?24:l.$H),f==="k"?1:2,"0");case"X":return Math.floor(l.$d.getTime()/1e3);case"x":return l.$d.getTime();case"z":return"["+l.offsetName()+"]";case"zzz":return"["+l.offsetName("long")+"]";default:return f}});return i.bind(this)(d)}}})}(ne)),ne.exports}var ai=oi();const ii=tt(ai);var re={exports:{}},si=re.exports,dr;function li(){return dr||(dr=1,function(t,e){(function(n,o){t.exports=o()})(si,function(){return function(n,o,a){o.prototype.isBetween=function(i,s,l,u){var c=a(i),d=a(s),f=(u=u||"()")[0]==="(",g=u[1]===")";return(f?this.isAfter(c,l):!this.isBefore(c,l))&&(g?this.isBefore(d,l):!this.isAfter(d,l))||(f?this.isBefore(c,l):!this.isAfter(c,l))&&(g?this.isAfter(d,l):!this.isBefore(d,l))}}})}(re)),re.exports}var ci=li();const ui=tt(ci);var oe={exports:{}},di=oe.exports,fr;function fi(){return fr||(fr=1,function(t,e){(function(n,o){t.exports=o()})(di,function(){return function(n,o){o.prototype.isSameOrBefore=function(a,i){return this.isSame(a,i)||this.isBefore(a,i)}}})}(oe)),oe.exports}var mi=fi();const pi=tt(mi);var ae={exports:{}},hi=ae.exports,mr;function gi(){return mr||(mr=1,function(t,e){(function(n,o){t.exports=o()})(hi,function(){return function(n,o,a){o.prototype.isToday=function(){var i="YYYY-MM-DD",s=a();return this.format(i)===s.format(i)}}})}(ae)),ae.exports}var yi=gi();const bi=tt(yi);var ie={exports:{}},Ti=ie.exports,pr;function Si(){return pr||(pr=1,function(t,e){(function(n,o){t.exports=o()})(Ti,function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(o,a,i){var s=a.prototype,l=s.format;i.en.formats=n,s.format=function(u){u===void 0&&(u="YYYY-MM-DDTHH:mm:ssZ");var c=this.$locale().formats,d=function(f,g){return f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(p,m,y){var h=y&&y.toUpperCase();return m||g[y]||n[y]||g[h].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(S,k,x){return k||x.slice(1)})})}(u,c===void 0?{}:c);return l.call(this,d)}}})}(ie)),ie.exports}var wi=Si();const Oi=tt(wi);var se={exports:{}},Ai=se.exports,hr;function ki(){return hr||(hr=1,function(t,e){(function(n,o){t.exports=o()})(Ai,function(){return function(n,o,a){var i=function(s,l){if(!l||!l.length||l.length===1&&!l[0]||l.length===1&&Array.isArray(l[0])&&!l[0].length)return null;var u;l.length===1&&l[0].length>0&&(l=l[0]),u=(l=l.filter(function(d){return d}))[0];for(var c=1;c<l.length;c+=1)l[c].isValid()&&!l[c][s](u)||(u=l[c]);return u};a.max=function(){var s=[].slice.call(arguments,0);return i("isAfter",s)},a.min=function(){var s=[].slice.call(arguments,0);return i("isBefore",s)}}})}(se)),se.exports}var _i=ki();const xi=tt(_i);var le={exports:{}},Pi=le.exports,gr;function Ei(){return gr||(gr=1,function(t,e){(function(n,o){t.exports=o()})(Pi,function(){return function(n,o,a){n=n||{};var i=o.prototype,s={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function l(c,d,f,g){return i.fromToBase(c,d,f,g)}a.en.relativeTime=s,i.fromToBase=function(c,d,f,g,p){for(var m,y,h,S=f.$locale().relativeTime||s,k=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],x=k.length,E=0;E<x;E+=1){var N=k[E];N.d&&(m=g?a(c).diff(f,N.d,!0):f.diff(c,N.d,!0));var C=(n.rounding||Math.round)(Math.abs(m));if(h=m>0,C<=N.r||!N.r){C<=1&&E>0&&(N=k[E-1]);var B=S[N.l];p&&(C=p(""+C)),y=typeof B=="string"?B.replace("%d",C):B(C,d,N.l,h);break}}if(d)return y;var F=h?S.future:S.past;return typeof F=="function"?F(y):F.replace("%s",y)},i.to=function(c,d){return l(c,d,this,!0)},i.from=function(c,d){return l(c,d,this)};var u=function(c){return c.$u?a.utc():a()};i.toNow=function(c){return this.to(u(this),c)},i.fromNow=function(c){return this.from(u(this),c)}}})}(le)),le.exports}var Ni=Ei();const vi=tt(Ni);var ce={exports:{}},$i=ce.exports,yr;function Mi(){return yr||(yr=1,function(t,e){(function(n,o){t.exports=o()})($i,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},o={};return function(a,i,s){var l,u=function(g,p,m){m===void 0&&(m={});var y=new Date(g),h=function(S,k){k===void 0&&(k={});var x=k.timeZoneName||"short",E=S+"|"+x,N=o[E];return N||(N=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:S,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:x}),o[E]=N),N}(p,m);return h.formatToParts(y)},c=function(g,p){for(var m=u(g,p),y=[],h=0;h<m.length;h+=1){var S=m[h],k=S.type,x=S.value,E=n[k];E>=0&&(y[E]=parseInt(x,10))}var N=y[3],C=N===24?0:N,B=y[0]+"-"+y[1]+"-"+y[2]+" "+C+":"+y[4]+":"+y[5]+":000",F=+g;return(s.utc(B).valueOf()-(F-=F%1e3))/6e4},d=i.prototype;d.tz=function(g,p){g===void 0&&(g=l);var m,y=this.utcOffset(),h=this.toDate(),S=h.toLocaleString("en-US",{timeZone:g}),k=Math.round((h-new Date(S))/1e3/60),x=15*-Math.round(h.getTimezoneOffset()/15)-k;if(!Number(x))m=this.utcOffset(0,p);else if(m=s(S,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(x,!0),p){var E=m.utcOffset();m=m.add(y-E,"minute")}return m.$x.$timezone=g,m},d.offsetName=function(g){var p=this.$x.$timezone||s.tz.guess(),m=u(this.valueOf(),p,{timeZoneName:g}).find(function(y){return y.type.toLowerCase()==="timezonename"});return m&&m.value};var f=d.startOf;d.startOf=function(g,p){if(!this.$x||!this.$x.$timezone)return f.call(this,g,p);var m=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return f.call(m,g,p).tz(this.$x.$timezone,!0)},s.tz=function(g,p,m){var y=m&&p,h=m||p||l,S=c(+s(),h);if(typeof g!="string")return s(g).tz(h);var k=function(C,B,F){var j=C-60*B*1e3,L=c(j,F);if(B===L)return[j,B];var M=c(j-=60*(L-B)*1e3,F);return L===M?[j,L]:[C-60*Math.min(L,M)*1e3,Math.max(L,M)]}(s.utc(g,y).valueOf(),S,h),x=k[0],E=k[1],N=s(x).utcOffset(E);return N.$x.$timezone=h,N},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(g){l=g}}})}(ce)),ce.exports}var Di=Mi();const Ci=tt(Di);var ue={exports:{}},Li=ue.exports,br;function Ii(){return br||(br=1,function(t,e){(function(n,o){t.exports=o()})(Li,function(){var n="minute",o=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(i,s,l){var u=s.prototype;l.utc=function(y){var h={date:y,utc:!0,args:arguments};return new s(h)},u.utc=function(y){var h=l(this.toDate(),{locale:this.$L,utc:!0});return y?h.add(this.utcOffset(),n):h},u.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var c=u.parse;u.parse=function(y){y.utc&&(this.$u=!0),this.$utils().u(y.$offset)||(this.$offset=y.$offset),c.call(this,y)};var d=u.init;u.init=function(){if(this.$u){var y=this.$d;this.$y=y.getUTCFullYear(),this.$M=y.getUTCMonth(),this.$D=y.getUTCDate(),this.$W=y.getUTCDay(),this.$H=y.getUTCHours(),this.$m=y.getUTCMinutes(),this.$s=y.getUTCSeconds(),this.$ms=y.getUTCMilliseconds()}else d.call(this)};var f=u.utcOffset;u.utcOffset=function(y,h){var S=this.$utils().u;if(S(y))return this.$u?0:S(this.$offset)?f.call(this):this.$offset;if(typeof y=="string"&&(y=function(N){N===void 0&&(N="");var C=N.match(o);if(!C)return null;var B=(""+C[0]).match(a)||["-",0,0],F=B[0],j=60*+B[1]+ +B[2];return j===0?0:F==="+"?j:-j}(y),y===null))return this;var k=Math.abs(y)<=16?60*y:y,x=this;if(h)return x.$offset=k,x.$u=y===0,x;if(y!==0){var E=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(x=this.local().add(k+E,n)).$offset=k,x.$x.$localOffset=E}else x=this.utc();return x};var g=u.format;u.format=function(y){var h=y||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return g.call(this,h)},u.valueOf=function(){var y=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*y},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var p=u.toDate;u.toDate=function(y){return y==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():p.call(this)};var m=u.diff;u.diff=function(y,h,S){if(y&&this.$u===y.$u)return m.call(this,y,h,S);var k=this.local(),x=l(y).local();return m.call(k,x,h,S)}}})}(ue)),ue.exports}var Bi=Ii();const Ri=tt(Bi);var de={exports:{}},zi=de.exports,Tr;function Vi(){return Tr||(Tr=1,function(t,e){(function(n,o){t.exports=o()})(zi,function(){return function(n,o){o.prototype.weekday=function(a){var i=this.$locale().weekStart||0,s=this.$W,l=(s<i?s+7:s)-i;return this.$utils().u(a)?l:this.subtract(l,"day").add(a,"day")}}})}(de)),de.exports}var Gi=Vi();const Fi=tt(Gi);var fe={exports:{}},ji=fe.exports,Sr;function Ui(){return Sr||(Sr=1,function(t,e){(function(n,o){t.exports=o(cr())})(ji,function(n){function o(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var a=o(n),i={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(s){return s+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(s,l,u,c){return"néhány másodperc"+(c||l?"":"e")},m:function(s,l,u,c){return"egy perc"+(c||l?"":"e")},mm:function(s,l,u,c){return s+" perc"+(c||l?"":"e")},h:function(s,l,u,c){return"egy "+(c||l?"óra":"órája")},hh:function(s,l,u,c){return s+" "+(c||l?"óra":"órája")},d:function(s,l,u,c){return"egy "+(c||l?"nap":"napja")},dd:function(s,l,u,c){return s+" "+(c||l?"nap":"napja")},M:function(s,l,u,c){return"egy "+(c||l?"hónap":"hónapja")},MM:function(s,l,u,c){return s+" "+(c||l?"hónap":"hónapja")},y:function(s,l,u,c){return"egy "+(c||l?"év":"éve")},yy:function(s,l,u,c){return s+" "+(c||l?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};return a.default.locale(i,null,!0),i})}(fe)),fe.exports}Ui(),D.extend(Ri),D.extend(Ci),D.extend(ii),D.extend(vi),D.extend(Oi),D.extend(pi),D.extend(ui),D.extend(bi),D.extend(Fi),D.extend(xi);const wr=()=>D.tz.guess();function bt(t="",e="",n="",o="hu"){return n=n||D.tz.guess(),D(t).isValid()?D(t).tz(n).locale(o).format(e):""}function Bt(t="",e="",n="hu"){if(!D(t).isValid())return"";e=e||D.tz.guess();const a=new Intl.DateTimeFormat(Hi(n),{timeZone:e,timeZoneName:"short"}).formatToParts(new Date(t)).find(i=>i.type==="timeZoneName");return a&&a.value}function Hi(t){return hn.get(t)}function Fe(t){const e=t.split(":");return Number.parseInt(e[0],10)*60+Number.parseInt(e[1],10)}function Or(t){const e=~~(t/60),n=~~t%60;return[e.toString().padStart(2,"0"),n.toString().padStart(2,"0")].join(":")}function Ar(t){const e=Math.trunc(t),n=Math.round((t-e)/10*60*10);return[e.toString().padStart(2,"0"),n.toString().padStart(2,"0")].join(":")}function je(t,e="day"){return D().isSameOrBefore(D(t),e)}function kr(t,e,n,o="[]"){return D(t).isBetween(e,D(n),"day",o)}function Yi(t,e,n="month"){return D(t).isSame(e,n)}function Wi(t,e="hu"){return D(t).locale(e).toNow(!0)}function qi(t,e,n="day"){return D(t).isBefore(e,n)}function Ki(t,e,n="day"){return D(t).isAfter(e,n)}function Zi(t){return D(t).isToday()}function Xi(t){const e=D().weekday(1),n=D().weekday(7);return kr(t,e,n)}function Ji(t){const e=D(t).weekday(1),n=D(t).weekday(7);return{startDate:e,endDate:n}}function Qi(t,e){return D(t).subtract(e,"day")}function ts(t,e){return D(t).add(e,"day")}function es(t){return D(t).startOf("month")}function ns(t){return D(t).endOf("month")}function rs(t){return Array.isArray(t)&&(t=t.map(e=>D(e))),D.min(t)}function os(t){return Array.isArray(t)&&(t=t.map(e=>D(e))),D.max(...t)}function as(t={}){const{initial:e=1,items:n=[],limit:o,auto:a=!1}=t,i=r.ref(r.unref(e)),s=c=>je(c,"day");return qa(n,()=>{if(!a)return;const c=ga(jn(s,"gameDate"))(r.unref(n));i.value=c===-1?1:Math.floor(c/o)+1}),{page:i,change:c=>{i.value=c}}}function is({currentPage:t,itemsPerPage:e=20,totalItems:n,rangeLength:o=5,update:a=K}){const i=r.computed(()=>Math.ceil(r.unref(n)/e)),s=r.computed(()=>{const d=r.unref(t)-1,f=Array.from({length:i.value},(m,y)=>y+1),g=Math.floor(o/2);let p=Math.max(d-g,0);return p+o>=i.value&&(p=Math.max(i.value-o,0)),f.slice(p,p+o)}),l=d=>{const f=r.unref(t)+d;c(f)&&a(f)},u=d=>{c(d)&&a(d)};function c(d){return d<=i.value&&d>0}return{page:t,range:s,pageCount:i,goTo:u,pageStep:l}}function ss(t={}){const{items:e=[],element:n,offset:o=0,enabled:a=!0}=t,i=l=>je(l,"day"),s=()=>{if(!r.unref(a))return;const l=ma(jn(i,"gameDate"))(r.unref(e));if(!l)return;const u=bt(l.gameDate,"YYYY-MM-DD"),c=xt(n).querySelector(`div[data-gamedate="${u}"]`);if(!c)return;const d=getComputedStyle(c).getPropertyValue("--vbr-widget-sticky-top-offset")||0,f=(c.getBoundingClientRect()?.top??0)-r.unref(o)-Number.parseFloat(d);window.scrollTo(0,f)};Ua(()=>({items:r.unref(e),element:r.unref(n)}),async({items:l,element:u})=>{l.length===0||!u||(await r.nextTick(),s())})}function ls({options:t={},transform:e=a=>a,onError:n=K,onSuccess:o=K}){const{path:a,apiKey:i,params:s,resetOnExecute:l=!1,immediate:u=!1}=t,{state:c,error:d,isLoading:f,execute:g}=ir(()=>er(a,i,r.unref(s)).then(p=>e(p)),[],{immediate:u,resetOnExecute:l,onError:n,onSuccess:o});return{state:c,error:d,isLoading:f,execute:g}}/*! *****************************************************************************
|
|
10
10
|
Copyright (c) Microsoft Corporation.
|
|
11
11
|
|
|
12
12
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -19,4 +19,4 @@ var MjszVbrElementsCore=function(T,o){"use strict";const ln="https://api.icehock
|
|
|
19
19
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
20
20
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
21
21
|
PERFORMANCE OF THIS SOFTWARE.
|
|
22
|
-
***************************************************************************** */function je(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var r,a,i=n.call(t),s=[];try{for(;(e===void 0||e-- >0)&&!(r=i.next()).done;)s.push(r.value)}catch(l){a={error:l}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s}var xo;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(xo||(xo={}));var cs={type:"xstate.init"};function fe(t){return t===void 0?[]:[].concat(t)}function Po(t,e){return typeof(t=typeof t=="string"&&e&&e[t]?e[t]:t)=="string"?{type:t}:typeof t=="function"?{type:t.name,exec:t}:t}function Ue(t){return function(e){return t===e}}function us(t){return typeof t=="string"?{type:t}:t}function Eo(t,e){return{value:t,context:e,actions:[],changed:!1,matches:Ue(t)}}function No(t,e,n){var r=e,a=!1;return[t.filter(function(i){if(i.type==="xstate.assign"){a=!0;var s=Object.assign({},r);return typeof i.assignment=="function"?s=i.assignment(r,n):Object.keys(i.assignment).forEach(function(l){s[l]=typeof i.assignment[l]=="function"?i.assignment[l](r,n):i.assignment[l]}),r=s,!1}return!0}),r,a]}function ds(t,e){e===void 0&&(e={});var n=je(No(fe(t.states[t.initial].entry).map(function(s){return Po(s,e.actions)}),t.context,cs),2),r=n[0],a=n[1],i={config:t,_options:e,initialState:{value:t.initial,actions:r,context:a,matches:Ue(t.initial)},transition:function(s,l){var u,c,d=typeof s=="string"?{value:s,context:t.context}:s,f=d.value,g=d.context,p=us(l),m=t.states[f];if(m.on){var y=fe(m.on[p.type]);"*"in m.on&&y.push.apply(y,function(A,w,v){if(arguments.length===2)for(var $,R=0,U=w.length;R<U;R++)!$&&R in w||($||($=Array.prototype.slice.call(w,0,R)),$[R]=w[R]);return A.concat($||Array.prototype.slice.call(w))}([],je(fe(m.on["*"])),!1));try{for(var h=function(A){var w=typeof Symbol=="function"&&Symbol.iterator,v=w&&A[w],$=0;if(v)return v.call(A);if(A&&typeof A.length=="number")return{next:function(){return A&&$>=A.length&&(A=void 0),{value:A&&A[$++],done:!A}}};throw new TypeError(w?"Object is not iterable.":"Symbol.iterator is not defined.")}(y),S=h.next();!S.done;S=h.next()){var k=S.value;if(k===void 0)return Eo(f,g);var x=typeof k=="string"?{target:k}:k,E=x.target,N=x.actions,C=N===void 0?[]:N,B=x.cond,F=B===void 0?function(){return!0}:B,j=E===void 0,L=E??f,M=t.states[L];if(F(g,p)){var W=je(No((j?fe(C):[].concat(m.exit,C,M.entry).filter(function(A){return A})).map(function(A){return Po(A,i._options.actions)}),g,p),3),ot=W[0],P=W[1],_=W[2],O=E??f;return{value:O,context:P,actions:ot,changed:E!==f||ot.length>0||_,matches:Ue(O)}}}}catch(A){u={error:A}}finally{try{S&&!S.done&&(c=h.return)&&c.call(h)}finally{if(u)throw u.error}}}return Eo(f,g)}};return i}const fs=ds({id:"sort",initial:ct,states:{[ct]:{on:{DIRECTION1:b,DIRECTION2:I}},[b]:{on:{DIRECTION1:I,DIRECTION2:ct}},[I]:{on:{DIRECTION1:ct,DIRECTION2:b}}}});function ms(t,e){const n=e===I?"DIRECTION2":"DIRECTION1";return fs.transition(t,n).value}function ps(t={}){const{sortTarget:e=null,orders:n=[]}=t,r=o.reactive({sortTarget:e,orders:n});return{sort:r,change:({target:i,orders:s})=>{if(r.sortTarget!==i){r.sortTarget=i,r.orders=s;return}const l=s.map((u,c)=>({...u,direction:ms(r.orders[c].direction,u.direction)}));r.sortTarget=i,r.orders=l}}}function hs(t=!1,e=K,n=K){const r=Ja();o.watch(r,a=>{if(o.unref(t)){if(a==="visible")return e();n()}})}const gs=["textContent"],ys={__name:"AdditionalStandingsText",props:{rows:{type:Array,default:()=>[]},additionalKey:{type:String,required:!0}},setup(t){const e=t,n=o.toRef(e,"rows"),{t:r,locale:a}=at(),{isVisible:i,text:s}=Yn(n,e.additionalKey,r,a);return(l,u)=>o.unref(i)?(o.openBlock(),o.createElementBlock("div",{key:0,class:"is-text-xs is-text-light is-mt-5 is-mb-5",textContent:o.toDisplayString(o.unref(s))},null,8,gs)):o.createCommentVNode("",!0)}},vo={__name:"BaseSelect",props:{modelValue:{type:[String,Number],default:null}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,r=e,a=o.computed({get:()=>n.modelValue,set:i=>r("update:modelValue",i)});return(i,s)=>o.withDirectives((o.openBlock(),o.createElementBlock("select",{"onUpdate:modelValue":s[0]||(s[0]=l=>a.value=l),class:"base-input is-select"},[o.renderSlot(i.$slots,"default")],512)),[[o.vModelSelect,a.value]])}},bs={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"sort",class:"svg-inline--fa fa-sort fa-w-10",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"};function Ts(t,e){return o.openBlock(),o.createElementBlock("svg",bs,e[0]||(e[0]=[o.createElementVNode("path",{fill:"currentColor",d:"M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z"},null,-1)]))}const $o={render:Ts},Ss={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"sort-down",class:"svg-inline--fa fa-sort-down fa-w-10",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"};function ws(t,e){return o.openBlock(),o.createElementBlock("svg",Ss,e[0]||(e[0]=[o.createElementVNode("path",{fill:"currentColor",d:"M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z"},null,-1)]))}const Os={render:ws},As={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"sort-up",class:"svg-inline--fa fa-sort-up fa-w-10",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"};function ks(t,e){return o.openBlock(),o.createElementBlock("svg",As,e[0]||(e[0]=[o.createElementVNode("path",{fill:"currentColor",d:"M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z"},null,-1)]))}const _s={render:ks},Pt=Math.min,Tt=Math.max,me=Math.round,pe=Math.floor,it=t=>({x:t,y:t}),xs={left:"right",right:"left",bottom:"top",top:"bottom"},Ps={start:"end",end:"start"};function He(t,e,n){return Tt(t,Pt(e,n))}function Rt(t,e){return typeof t=="function"?t(e):t}function St(t){return t.split("-")[0]}function zt(t){return t.split("-")[1]}function Mo(t){return t==="x"?"y":"x"}function Ye(t){return t==="y"?"height":"width"}const Es=new Set(["top","bottom"]);function mt(t){return Es.has(St(t))?"y":"x"}function We(t){return Mo(mt(t))}function Ns(t,e,n){n===void 0&&(n=!1);const r=zt(t),a=We(t),i=Ye(a);let s=a==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=he(s)),[s,he(s)]}function vs(t){const e=he(t);return[qe(t),e,qe(e)]}function qe(t){return t.replace(/start|end/g,e=>Ps[e])}const Do=["left","right"],Co=["right","left"],$s=["top","bottom"],Ms=["bottom","top"];function Ds(t,e,n){switch(t){case"top":case"bottom":return n?e?Co:Do:e?Do:Co;case"left":case"right":return e?$s:Ms;default:return[]}}function Cs(t,e,n,r){const a=zt(t);let i=Ds(St(t),n==="start",r);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map(qe)))),i}function he(t){return t.replace(/left|right|bottom|top/g,e=>xs[e])}function Ls(t){return{top:0,right:0,bottom:0,left:0,...t}}function Lo(t){return typeof t!="number"?Ls(t):{top:t,right:t,bottom:t,left:t}}function ge(t){const{x:e,y:n,width:r,height:a}=t;return{width:r,height:a,top:n,left:e,right:e+r,bottom:n+a,x:e,y:n}}function Io(t,e,n){let{reference:r,floating:a}=t;const i=mt(e),s=We(e),l=Ye(s),u=St(e),c=i==="y",d=r.x+r.width/2-a.width/2,f=r.y+r.height/2-a.height/2,g=r[l]/2-a[l]/2;let p;switch(u){case"top":p={x:d,y:r.y-a.height};break;case"bottom":p={x:d,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-a.width,y:f};break;default:p={x:r.x,y:r.y}}switch(zt(e)){case"start":p[s]-=g*(n&&c?-1:1);break;case"end":p[s]+=g*(n&&c?-1:1);break}return p}const Is=async(t,e,n)=>{const{placement:r="bottom",strategy:a="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:d,y:f}=Io(c,r,u),g=r,p={},m=0;for(let y=0;y<l.length;y++){const{name:h,fn:S}=l[y],{x:k,y:x,data:E,reset:N}=await S({x:d,y:f,initialPlacement:r,placement:g,strategy:a,middlewareData:p,rects:c,platform:s,elements:{reference:t,floating:e}});d=k??d,f=x??f,p={...p,[h]:{...p[h],...E}},N&&m<=50&&(m++,typeof N=="object"&&(N.placement&&(g=N.placement),N.rects&&(c=N.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):N.rects),{x:d,y:f}=Io(c,g,u)),y=-1)}return{x:d,y:f,placement:g,strategy:a,middlewareData:p}};async function Bo(t,e){var n;e===void 0&&(e={});const{x:r,y:a,platform:i,rects:s,elements:l,strategy:u}=t,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:g=!1,padding:p=0}=Rt(e,t),m=Lo(p),h=l[g?f==="floating"?"reference":"floating":f],S=ge(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(h)))==null||n?h:h.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:u})),k=f==="floating"?{x:r,y:a,width:s.floating.width,height:s.floating.height}:s.reference,x=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),E=await(i.isElement==null?void 0:i.isElement(x))?await(i.getScale==null?void 0:i.getScale(x))||{x:1,y:1}:{x:1,y:1},N=ge(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:k,offsetParent:x,strategy:u}):k);return{top:(S.top-N.top+m.top)/E.y,bottom:(N.bottom-S.bottom+m.bottom)/E.y,left:(S.left-N.left+m.left)/E.x,right:(N.right-S.right+m.right)/E.x}}const Bs=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:a,rects:i,platform:s,elements:l,middlewareData:u}=e,{element:c,padding:d=0}=Rt(t,e)||{};if(c==null)return{};const f=Lo(d),g={x:n,y:r},p=We(a),m=Ye(p),y=await s.getDimensions(c),h=p==="y",S=h?"top":"left",k=h?"bottom":"right",x=h?"clientHeight":"clientWidth",E=i.reference[m]+i.reference[p]-g[p]-i.floating[m],N=g[p]-i.reference[p],C=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let B=C?C[x]:0;(!B||!await(s.isElement==null?void 0:s.isElement(C)))&&(B=l.floating[x]||i.floating[m]);const F=E/2-N/2,j=B/2-y[m]/2-1,L=Pt(f[S],j),M=Pt(f[k],j),W=L,ot=B-y[m]-M,P=B/2-y[m]/2+F,_=He(W,P,ot),O=!u.arrow&&zt(a)!=null&&P!==_&&i.reference[m]/2-(P<W?L:M)-y[m]/2<0,A=O?P<W?P-W:P-ot:0;return{[p]:g[p]+A,data:{[p]:_,centerOffset:P-_-A,...O&&{alignmentOffset:A}},reset:O}}}),Rs=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:a,middlewareData:i,rects:s,initialPlacement:l,platform:u,elements:c}=e,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:g,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:y=!0,...h}=Rt(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const S=St(a),k=mt(l),x=St(l)===l,E=await(u.isRTL==null?void 0:u.isRTL(c.floating)),N=g||(x||!y?[he(l)]:vs(l)),C=m!=="none";!g&&C&&N.push(...Cs(l,y,m,E));const B=[l,...N],F=await Bo(e,h),j=[];let L=((r=i.flip)==null?void 0:r.overflows)||[];if(d&&j.push(F[S]),f){const P=Ns(a,s,E);j.push(F[P[0]],F[P[1]])}if(L=[...L,{placement:a,overflows:j}],!j.every(P=>P<=0)){var M,W;const P=(((M=i.flip)==null?void 0:M.index)||0)+1,_=B[P];if(_&&(!(f==="alignment"?k!==mt(_):!1)||L.every(w=>w.overflows[0]>0&&mt(w.placement)===k)))return{data:{index:P,overflows:L},reset:{placement:_}};let O=(W=L.filter(A=>A.overflows[0]<=0).sort((A,w)=>A.overflows[1]-w.overflows[1])[0])==null?void 0:W.placement;if(!O)switch(p){case"bestFit":{var ot;const A=(ot=L.filter(w=>{if(C){const v=mt(w.placement);return v===k||v==="y"}return!0}).map(w=>[w.placement,w.overflows.filter(v=>v>0).reduce((v,$)=>v+$,0)]).sort((w,v)=>w[1]-v[1])[0])==null?void 0:ot[0];A&&(O=A);break}case"initialPlacement":O=l;break}if(a!==O)return{reset:{placement:O}}}return{}}}},zs=new Set(["left","top"]);async function Vs(t,e){const{placement:n,platform:r,elements:a}=t,i=await(r.isRTL==null?void 0:r.isRTL(a.floating)),s=St(n),l=zt(n),u=mt(n)==="y",c=zs.has(s)?-1:1,d=i&&u?-1:1,f=Rt(e,t);let{mainAxis:g,crossAxis:p,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof m=="number"&&(p=l==="end"?m*-1:m),u?{x:p*d,y:g*c}:{x:g*c,y:p*d}}const Gs=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:a,y:i,placement:s,middlewareData:l}=e,u=await Vs(e,t);return s===((n=l.offset)==null?void 0:n.placement)&&(r=l.arrow)!=null&&r.alignmentOffset?{}:{x:a+u.x,y:i+u.y,data:{...u,placement:s}}}}},Fs=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:h=>{let{x:S,y:k}=h;return{x:S,y:k}}},...u}=Rt(t,e),c={x:n,y:r},d=await Bo(e,u),f=mt(St(a)),g=Mo(f);let p=c[g],m=c[f];if(i){const h=g==="y"?"top":"left",S=g==="y"?"bottom":"right",k=p+d[h],x=p-d[S];p=He(k,p,x)}if(s){const h=f==="y"?"top":"left",S=f==="y"?"bottom":"right",k=m+d[h],x=m-d[S];m=He(k,m,x)}const y=l.fn({...e,[g]:p,[f]:m});return{...y,data:{x:y.x-n,y:y.y-r,enabled:{[g]:i,[f]:s}}}}}};function ye(){return typeof window<"u"}function Et(t){return Ro(t)?(t.nodeName||"").toLowerCase():"#document"}function X(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function st(t){var e;return(e=(Ro(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Ro(t){return ye()?t instanceof Node||t instanceof X(t).Node:!1}function et(t){return ye()?t instanceof Element||t instanceof X(t).Element:!1}function lt(t){return ye()?t instanceof HTMLElement||t instanceof X(t).HTMLElement:!1}function zo(t){return!ye()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof X(t).ShadowRoot}const js=new Set(["inline","contents"]);function Vt(t){const{overflow:e,overflowX:n,overflowY:r,display:a}=nt(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!js.has(a)}const Us=new Set(["table","td","th"]);function Hs(t){return Us.has(Et(t))}const Ys=[":popover-open",":modal"];function be(t){return Ys.some(e=>{try{return t.matches(e)}catch{return!1}})}const Ws=["transform","translate","scale","rotate","perspective"],qs=["transform","translate","scale","rotate","perspective","filter"],Ks=["paint","layout","strict","content"];function Ke(t){const e=Ze(),n=et(t)?nt(t):t;return Ws.some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||qs.some(r=>(n.willChange||"").includes(r))||Ks.some(r=>(n.contain||"").includes(r))}function Zs(t){let e=pt(t);for(;lt(e)&&!Nt(e);){if(Ke(e))return e;if(be(e))return null;e=pt(e)}return null}function Ze(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Xs=new Set(["html","body","#document"]);function Nt(t){return Xs.has(Et(t))}function nt(t){return X(t).getComputedStyle(t)}function Te(t){return et(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function pt(t){if(Et(t)==="html")return t;const e=t.assignedSlot||t.parentNode||zo(t)&&t.host||st(t);return zo(e)?e.host:e}function Vo(t){const e=pt(t);return Nt(e)?t.ownerDocument?t.ownerDocument.body:t.body:lt(e)&&Vt(e)?e:Vo(e)}function Gt(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const a=Vo(t),i=a===((r=t.ownerDocument)==null?void 0:r.body),s=X(a);if(i){const l=Xe(s);return e.concat(s,s.visualViewport||[],Vt(a)?a:[],l&&n?Gt(l):[])}return e.concat(a,Gt(a,[],n))}function Xe(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Go(t){const e=nt(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const a=lt(t),i=a?t.offsetWidth:n,s=a?t.offsetHeight:r,l=me(n)!==i||me(r)!==s;return l&&(n=i,r=s),{width:n,height:r,$:l}}function Je(t){return et(t)?t:t.contextElement}function vt(t){const e=Je(t);if(!lt(e))return it(1);const n=e.getBoundingClientRect(),{width:r,height:a,$:i}=Go(e);let s=(i?me(n.width):n.width)/r,l=(i?me(n.height):n.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Js=it(0);function Fo(t){const e=X(t);return!Ze()||!e.visualViewport?Js:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Qs(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==X(t)?!1:e}function wt(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const a=t.getBoundingClientRect(),i=Je(t);let s=it(1);e&&(r?et(r)&&(s=vt(r)):s=vt(t));const l=Qs(i,n,r)?Fo(i):it(0);let u=(a.left+l.x)/s.x,c=(a.top+l.y)/s.y,d=a.width/s.x,f=a.height/s.y;if(i){const g=X(i),p=r&&et(r)?X(r):r;let m=g,y=Xe(m);for(;y&&r&&p!==m;){const h=vt(y),S=y.getBoundingClientRect(),k=nt(y),x=S.left+(y.clientLeft+parseFloat(k.paddingLeft))*h.x,E=S.top+(y.clientTop+parseFloat(k.paddingTop))*h.y;u*=h.x,c*=h.y,d*=h.x,f*=h.y,u+=x,c+=E,m=X(y),y=Xe(m)}}return ge({width:d,height:f,x:u,y:c})}function Qe(t,e){const n=Te(t).scrollLeft;return e?e.left+n:wt(st(t)).left+n}function jo(t,e,n){n===void 0&&(n=!1);const r=t.getBoundingClientRect(),a=r.left+e.scrollLeft-(n?0:Qe(t,r)),i=r.top+e.scrollTop;return{x:a,y:i}}function tl(t){let{elements:e,rect:n,offsetParent:r,strategy:a}=t;const i=a==="fixed",s=st(r),l=e?be(e.floating):!1;if(r===s||l&&i)return n;let u={scrollLeft:0,scrollTop:0},c=it(1);const d=it(0),f=lt(r);if((f||!f&&!i)&&((Et(r)!=="body"||Vt(s))&&(u=Te(r)),lt(r))){const p=wt(r);c=vt(r),d.x=p.x+r.clientLeft,d.y=p.y+r.clientTop}const g=s&&!f&&!i?jo(s,u,!0):it(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+d.x+g.x,y:n.y*c.y-u.scrollTop*c.y+d.y+g.y}}function el(t){return Array.from(t.getClientRects())}function nl(t){const e=st(t),n=Te(t),r=t.ownerDocument.body,a=Tt(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),i=Tt(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let s=-n.scrollLeft+Qe(t);const l=-n.scrollTop;return nt(r).direction==="rtl"&&(s+=Tt(e.clientWidth,r.clientWidth)-a),{width:a,height:i,x:s,y:l}}function ol(t,e){const n=X(t),r=st(t),a=n.visualViewport;let i=r.clientWidth,s=r.clientHeight,l=0,u=0;if(a){i=a.width,s=a.height;const c=Ze();(!c||c&&e==="fixed")&&(l=a.offsetLeft,u=a.offsetTop)}return{width:i,height:s,x:l,y:u}}const rl=new Set(["absolute","fixed"]);function al(t,e){const n=wt(t,!0,e==="fixed"),r=n.top+t.clientTop,a=n.left+t.clientLeft,i=lt(t)?vt(t):it(1),s=t.clientWidth*i.x,l=t.clientHeight*i.y,u=a*i.x,c=r*i.y;return{width:s,height:l,x:u,y:c}}function Uo(t,e,n){let r;if(e==="viewport")r=ol(t,n);else if(e==="document")r=nl(st(t));else if(et(e))r=al(e,n);else{const a=Fo(t);r={x:e.x-a.x,y:e.y-a.y,width:e.width,height:e.height}}return ge(r)}function Ho(t,e){const n=pt(t);return n===e||!et(n)||Nt(n)?!1:nt(n).position==="fixed"||Ho(n,e)}function il(t,e){const n=e.get(t);if(n)return n;let r=Gt(t,[],!1).filter(l=>et(l)&&Et(l)!=="body"),a=null;const i=nt(t).position==="fixed";let s=i?pt(t):t;for(;et(s)&&!Nt(s);){const l=nt(s),u=Ke(s);!u&&l.position==="fixed"&&(a=null),(i?!u&&!a:!u&&l.position==="static"&&!!a&&rl.has(a.position)||Vt(s)&&!u&&Ho(t,s))?r=r.filter(d=>d!==s):a=l,s=pt(s)}return e.set(t,r),r}function sl(t){let{element:e,boundary:n,rootBoundary:r,strategy:a}=t;const s=[...n==="clippingAncestors"?be(e)?[]:il(e,this._c):[].concat(n),r],l=s[0],u=s.reduce((c,d)=>{const f=Uo(e,d,a);return c.top=Tt(f.top,c.top),c.right=Pt(f.right,c.right),c.bottom=Pt(f.bottom,c.bottom),c.left=Tt(f.left,c.left),c},Uo(e,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function ll(t){const{width:e,height:n}=Go(t);return{width:e,height:n}}function cl(t,e,n){const r=lt(e),a=st(e),i=n==="fixed",s=wt(t,!0,i,e);let l={scrollLeft:0,scrollTop:0};const u=it(0);function c(){u.x=Qe(a)}if(r||!r&&!i)if((Et(e)!=="body"||Vt(a))&&(l=Te(e)),r){const p=wt(e,!0,i,e);u.x=p.x+e.clientLeft,u.y=p.y+e.clientTop}else a&&c();i&&!r&&a&&c();const d=a&&!r&&!i?jo(a,l):it(0),f=s.left+l.scrollLeft-u.x-d.x,g=s.top+l.scrollTop-u.y-d.y;return{x:f,y:g,width:s.width,height:s.height}}function tn(t){return nt(t).position==="static"}function Yo(t,e){if(!lt(t)||nt(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return st(t)===n&&(n=n.ownerDocument.body),n}function Wo(t,e){const n=X(t);if(be(t))return n;if(!lt(t)){let a=pt(t);for(;a&&!Nt(a);){if(et(a)&&!tn(a))return a;a=pt(a)}return n}let r=Yo(t,e);for(;r&&Hs(r)&&tn(r);)r=Yo(r,e);return r&&Nt(r)&&tn(r)&&!Ke(r)?n:r||Zs(t)||n}const ul=async function(t){const e=this.getOffsetParent||Wo,n=this.getDimensions,r=await n(t.floating);return{reference:cl(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function dl(t){return nt(t).direction==="rtl"}const fl={convertOffsetParentRelativeRectToViewportRelativeRect:tl,getDocumentElement:st,getClippingRect:sl,getOffsetParent:Wo,getElementRects:ul,getClientRects:el,getDimensions:ll,getScale:vt,isElement:et,isRTL:dl};function qo(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function ml(t,e){let n=null,r;const a=st(t);function i(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function s(l,u){l===void 0&&(l=!1),u===void 0&&(u=1),i();const c=t.getBoundingClientRect(),{left:d,top:f,width:g,height:p}=c;if(l||e(),!g||!p)return;const m=pe(f),y=pe(a.clientWidth-(d+g)),h=pe(a.clientHeight-(f+p)),S=pe(d),x={rootMargin:-m+"px "+-y+"px "+-h+"px "+-S+"px",threshold:Tt(0,Pt(1,u))||1};let E=!0;function N(C){const B=C[0].intersectionRatio;if(B!==u){if(!E)return s();B?s(!1,B):r=setTimeout(()=>{s(!1,1e-7)},1e3)}B===1&&!qo(c,t.getBoundingClientRect())&&s(),E=!1}try{n=new IntersectionObserver(N,{...x,root:a.ownerDocument})}catch{n=new IntersectionObserver(N,x)}n.observe(t)}return s(!0),i}function pl(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:u=!1}=r,c=Je(t),d=a||i?[...c?Gt(c):[],...Gt(e)]:[];d.forEach(S=>{a&&S.addEventListener("scroll",n,{passive:!0}),i&&S.addEventListener("resize",n)});const f=c&&l?ml(c,n):null;let g=-1,p=null;s&&(p=new ResizeObserver(S=>{let[k]=S;k&&k.target===c&&p&&(p.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var x;(x=p)==null||x.observe(e)})),n()}),c&&!u&&p.observe(c),p.observe(e));let m,y=u?wt(t):null;u&&h();function h(){const S=wt(t);y&&!qo(y,S)&&n(),y=S,m=requestAnimationFrame(h)}return n(),()=>{var S;d.forEach(k=>{a&&k.removeEventListener("scroll",n),i&&k.removeEventListener("resize",n)}),f?.(),(S=p)==null||S.disconnect(),p=null,u&&cancelAnimationFrame(m)}}const hl=Gs,gl=Fs,yl=Rs,Ko=Bs,bl=(t,e,n)=>{const r=new Map,a={platform:fl,...n},i={...a.platform,_c:r};return Is(t,e,{...a,platform:i})};function Zo(t,e="body"){if(!t)return;if(typeof e!="string"){e?.append(t);return}document.querySelector(e)?.append(t)}function Tl(t,e=()=>({})){return t.slice().sort((n,r)=>{const a=e(n),i=e(r);if(a===null||i===null)return 0;const s=a.compareDocumentPosition(i);return s&Node.DOCUMENT_POSITION_FOLLOWING?-1:s&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Sl({middleware:t,placement:e=null,strategy:n,append:r,enabled:a}){const i=o.ref(null),s=o.ref(null),l=o.ref(null),u=o.ref(null),c=o.ref(null),d=o.ref(null),f=o.ref(null),g=o.ref(n??"absolute"),p=o.ref(null),m=()=>{!i.value||!s.value||bl(i.value,s.value,{middleware:t,placement:e,strategy:n}).then(h=>{l.value=h.x,u.value=h.y,g.value=h.strategy,c.value=h.middlewareData.arrow.x,d.value=h.middlewareData.arrow.y,f.value=h.placement})};o.watch(()=>({reference:o.unref(i),floating:o.unref(s),append:o.unref(r)}),({floating:h,append:S})=>{S&&Zo(h,S),m()},{flush:"post"}),o.watch(a,h=>{if(!(!i.value||!s.value)){if(!h)return y();p.value=pl(i.value,s.value,m,{})}},{flush:"post"});function y(){p.value?.(),p.value=null}return{x:l,y:u,arrowX:c,arrowY:d,placement:f,reference:i,floating:s,strategy:g,update:m}}function wl(t){const{element:e,padding:n}=t;return{name:"arrow",options:t,fn(r){return o.isRef(e)?e.value!=null?Ko({element:e.value,padding:n}).fn(r):{}:e?Ko({element:e,padding:n}).fn(r):{}}}}const Ol=["data-placement"],en={__name:"FloatingPanel",props:{disabled:{type:Boolean,default:!1},placement:{type:String,default:"bottom"},theme:{type:String,default:"tooltip"},content:{type:String,default:""},appendTo:{type:[Object,String],default:"body"},offset:{type:Number,default:2},isArrowVisible:{type:Boolean,default:!0}},setup(t){const e=t,n=o.ref(!1),r=o.ref(null),{x:a,y:i,arrowX:s,arrowY:l,placement:u,reference:c,floating:d,strategy:f}=Sl({placement:e.placement,middleware:[yl(),gl({padding:5}),hl(e.offset),wl({element:r,padding:5})],append:o.computed(()=>e.appendTo),enabled:n});function g(){e.disabled||n.value||(n.value=!0)}function p(h){n.value&&h&&(n.value=!1)}function m(h){c.value=h}const y={mouseenter:g,mouseleave:p,focus:g,blur:p};return Xa(d,h=>{c.value?.contains(h.target)||p()}),(h,S)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.renderSlot(h.$slots,"default",{setRef:m,show:g,hide:p,events:y}),o.createElementVNode("div",{ref_key:"floating",ref:d,"data-placement":o.unref(u),style:o.normalizeStyle({position:o.unref(f),top:o.unref(i)?`${o.unref(i)}px`:"",left:o.unref(a)?`${o.unref(a)}px`:""})},[o.createVNode(o.Transition,{name:"transition-fade",mode:"out-in"},{default:o.withCtx(()=>[n.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["floating-content",[[`is-${e.theme}`]]])},[o.renderSlot(h.$slots,"content",{close:p},()=>[o.createTextVNode(o.toDisplayString(t.content),1)]),t.isArrowVisible?(o.openBlock(),o.createElementBlock("div",{key:0,ref_key:"arrowRef",ref:r,class:"is-arrow",style:o.normalizeStyle({position:o.unref(f),top:o.unref(l)?`${o.unref(l)}px`:"",left:o.unref(s)?`${o.unref(s)}px`:""})},null,4)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0)]),_:3})],12,Ol)],64))}},Al={class:"table"},kl=["tabindex","onMouseenter","onMouseleave","onFocus","onBlur","onClick","onKeydown"],_l={key:0},xl=["colspan"],Pl={key:1},El=["colspan"],nn={__name:"DataTable",props:{columns:{type:Object,default:()=>({})},rows:{type:Array,default:()=>[]},sort:{type:Object,default:()=>({})},isLoading:{type:Boolean,default:!1},appendTo:{type:[Object,String],default:null}},emits:["sort"],setup(t,{emit:e}){const n=t,r=e,{isLoading:a,appendTo:i}=o.toRefs(n),s=so(a,{delay:yn}),{t:l}=at(),u=o.computed(()=>n.columns),c=o.computed(()=>Object.keys(n.columns).length);function d(f,g){f.sortOrders&&r("sort",{target:g,orders:f.sortOrders})}return(f,g)=>(o.openBlock(),o.createElementBlock("table",Al,[o.createElementVNode("thead",null,[o.createElementVNode("tr",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u.value,(p,m)=>(o.openBlock(),o.createBlock(en,{key:m,placement:"top",content:p.tooltip,disabled:!p.tooltip,"append-to":o.unref(i)},{default:o.withCtx(({setRef:y,show:h,hide:S})=>[o.createElementVNode("th",{ref_for:!0,ref:y,class:o.normalizeClass([[p.class],{"is-active":m===t.sort.sortTarget&&t.sort.orders[0].direction!==o.unref(ct),"is-sortable":p.sortOrders,"is-desc":m===t.sort.sortTarget&&t.sort.orders[0].direction===o.unref(b),"is-asc":m===t.sort.sortTarget&&t.sort.orders[0].direction===o.unref(I)}]),tabindex:p.sortOrders?0:-1,role:"button",onMouseenter:h,onMouseleave:S,onFocus:h,onBlur:S,onClick:k=>d(p,m),onKeydown:[o.withKeys(o.withModifiers(k=>d(p,m),["prevent"]),["space"]),o.withKeys(o.withModifiers(k=>d(p,m),["prevent"]),["enter"])]},[o.renderSlot(f.$slots,`header-${m}`,{column:p},()=>[o.createTextVNode(o.toDisplayString(p.label),1)]),p.sortOrders&&m!==t.sort.sortTarget?(o.openBlock(),o.createBlock(o.unref($o),{key:0,class:"is-icon-sort"})):o.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===o.unref(ct)?(o.openBlock(),o.createBlock(o.unref($o),{key:1,class:"is-icon-sort"})):o.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===o.unref(b)?(o.openBlock(),o.createBlock(o.unref(Os),{key:2,class:"is-icon-sort"})):o.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===o.unref(I)?(o.openBlock(),o.createBlock(o.unref(_s),{key:3,class:"is-icon-sort"})):o.createCommentVNode("",!0)],42,kl)]),_:2},1032,["content","disabled","append-to"]))),128))])]),o.createElementVNode("tbody",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.rows,(p,m)=>(o.openBlock(),o.createElementBlock("tr",{key:m,class:o.normalizeClass(p.rowClasses)},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u.value,(y,h)=>(o.openBlock(),o.createElementBlock("td",{key:h,class:o.normalizeClass([[y.class],{"is-active":h===t.sort.sortTarget&&t.sort.orders[0].direction!==o.unref(ct),"is-zero":p[h]===0||p[h]==="00:00"}])},[o.renderSlot(f.$slots,`cell-${h}`,{row:p,prop:h},()=>[o.createTextVNode(o.toDisplayString(p[h]),1)])],2))),128))],2))),128))]),o.unref(s)&&t.rows.length===0?(o.openBlock(),o.createElementBlock("tfoot",_l,[o.createElementVNode("tr",null,[o.createElementVNode("td",{colspan:c.value},[o.renderSlot(f.$slots,"loading",{},()=>[o.createTextVNode(o.toDisplayString(o.unref(l)("common.loading")),1)])],8,xl)])])):o.createCommentVNode("",!0),t.rows.length===0&&!o.unref(a)&&!o.unref(s)?(o.openBlock(),o.createElementBlock("tfoot",Pl,[o.createElementVNode("tr",null,[o.createElementVNode("td",{colspan:c.value},[o.renderSlot(f.$slots,"empty",{},()=>[o.createTextVNode(o.toDisplayString(o.unref(l)("common.noData")),1)])],8,El)])])):o.createCommentVNode("",!0)]))}},Nl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function vl(t,e){return o.openBlock(),o.createElementBlock("svg",Nl,e[0]||(e[0]=[o.createElementVNode("path",{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"},null,-1),o.createElementVNode("line",{x1:"12",y1:"9",x2:"12",y2:"13"},null,-1),o.createElementVNode("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"},null,-1)]))}const $l={render:vl},Ml={class:"error-notice"},Dl=["textContent"],Cl={__name:"ErrorNotice",props:{error:{type:Object,default:()=>({})},useRetry:{type:Boolean,default:!1}},emits:["retry"],setup(t){const e=t,{t:n,hasTranslation:r}=at(),a=o.computed(()=>r(`errors.${e.error.key}`)?n(`errors.${e.error.key}`,e.error.cause||[e.error?.message]):e.error?.message);return(i,s)=>(o.openBlock(),o.createElementBlock("div",Ml,[o.createVNode(o.unref($l),{class:"icon",width:"20",height:"20"}),o.createElementVNode("span",null,o.toDisplayString(a.value),1),t.useRetry?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",onClick:s[0]||(s[0]=l=>i.$emit("retry")),textContent:o.toDisplayString(o.unref(n)("common.retry"))},null,8,Dl)):o.createCommentVNode("",!0)]))}},Ll={__name:"ErrorProvider",setup(t){const{message:e,hasError:n,error:r}=to();return(a,i)=>o.renderSlot(a.$slots,"default",{message:o.unref(e),error:o.unref(r),hasError:o.unref(n)})}},Il={errors:{"undefined-column":"The {column} column is not exists!","invalid-season-name":"Invalid season name","api-key-not-found":"API Key not found",gameData:"Game Data: {0}",gameStats:"Game Stats: {0}",gameEvents:"Game Events: {0}",gameOfficials:"Game Officials : {0}"},common:{loading:"Loading...",noData:"No data to display",selectTimezone:"*All times are displayed according to your computer's time zone ({timezone}). Change: ",hungary:"Hungary",romania:"Romania",shootoutShort:"SO",overtimeShort:"OT",all:"All",report:"Report Sheet",video:"Video",retry:"Try Again"},additionalText:{inheritedPoints:{prependix:"",content:"{team} has {points} extra point(s)",appendix:"based on its results in the previous championship phase."},penaltyPoints:{prependix:"* ",content:"{points} point(s) deducted from team {team}",appendix:"based on the decision of the Disciplinary Committee."}},table:{blank:"#",info:"{min} to {max} of {total} entries",team:{short:"Team",tooltip:"Team name"},game:{short:"GP",tooltip:"Game Played"},wins:{short:"W",tooltip:"Wins"},draw:{short:"D",tooltip:"Draw"},otw:{short:"OTW",tooltip:"Overtime Wins"},sow:{short:"SOW",tooltip:"Shoot Out Wins"},sol:{short:"SOL",tooltip:"Shoot Out Losses"},otl:{short:"OTL",tooltip:"Overtime Losses"},losses:{short:"L",tooltip:"Losses"},goalFor:{short:"GF",tooltip:"Goals For"},goalAgainst:{short:"GA",tooltip:"Goals Against"},goalDiff:{short:"GD",tooltip:"Goal Differential"},points:{short:"P",tooltip:"Points"},name:{short:"Name",tooltip:"Player name"},goals:{short:"G",tooltip:"Goals"},assists:{short:"A",tooltip:"Assists"},plusMinus:{short:"+/-",tooltip:"Plus/Minus"},sog:{short:"S",tooltip:"Shots on Goal"},so:{short:"SO",tooltip:"Shutouts"},sogPercent:{short:"S%",tooltip:"Shooting percentage"},gameName:{short:"#",tooltip:"Game name"},gameDate:{short:"Date",tooltip:"Scheduled Date"},gameDateTime:{short:"*Time ({offsetName})",tooltip:"Scheduled Time (Offset Name)"},homeTeam:{short:"Home",tooltip:"Home Team"},awayTeam:{short:"Away",tooltip:"Away Team"},location:{short:"Location",tooltip:"Game Location"},broadcast:{short:"Broadcast",tooltip:"Television Broadcast"},minorPenalties:{short:"MINOR",tooltip:"Penalties Minor"},majorPenalties:{short:"MAJOR",tooltip:"Penalties Major"},misconducts:{short:"MISC",tooltip:"Penalties Misconduct"},gameMisconducts:{short:"GA-MI",tooltip:"Penalties Game Misconduct"},matchPenalties:{short:"MATCH",tooltip:"Penalties Match"},pim:{short:"PIM",tooltip:"Penalty Minutes"},pimPerGame:{short:"PIM/G",tooltip:"Penalty Minutes per Game"},gpgk:{short:"GP",tooltip:"Games Played"},gpi:{short:"GPI",tooltip:"Games Played In"},toi:{short:"TOI",tooltip:"Time On Ice"},toiPercent:{short:"TOI%",tooltip:"Time On Ice as Percentage"},ga:{short:"GA",tooltip:"Goals Against"},gaa:{short:"GAA",tooltip:"Goals Against Average"},sa:{short:"SA",tooltip:"Shots Against"},svs:{short:"SVS",tooltip:"Saves"},svsPercent:{short:"SV%",tooltip:"Save Percentage"},homeHeader:{short:"Home:",tooltip:""},awayHeader:{short:"Away:",tooltip:""},totalHeader:{short:"Total:",tooltip:""},homeGame:{short:"GP",tooltip:"Home Games Played"},awayGame:{short:"GP",tooltip:"Away Games Played"},totalGame:{short:"GP",tooltip:"Total Games Played"},homeAttendance:{short:"Att",tooltip:"Home Attendance"},awayAttendance:{short:"Att",tooltip:"Away Attendance"},totalAttendance:{short:"Att",tooltip:"Total Attendance"},homeAttendanceAvg:{short:"Avg",tooltip:"Home Average Attendance"},awayAttendanceAvg:{short:"Avg",tooltip:"Away Average Attendance"},totalAttendanceAvg:{short:"Avg",tooltip:"Total Average Attendance"},powerplayDisadvantages:{short:"DVG",tooltip:"Disadvantages (Number of Times Shorthanded)"},dvgTime:{short:"DVG-T",tooltip:"Disadvantages Time"},dvgTimePP1:{short:"DVG-T PP1",tooltip:"Disadvantages Time (Period of PP1)"},dvgTimePP2:{short:"DVG-T PP2",tooltip:"Disadvantages Time (Period of PP2)"},ppga:{short:"PPGA",tooltip:"Powerplay Goals Against"},shgf:{short:"SHGF",tooltip:"Shorthanded Goals For"},pkPercent:{short:"PK%",tooltip:"Penalty Killing Percentage"},adv:{short:"ADV",tooltip:"Advantages (Times on Powerplay)"},advTime:{short:"ADV-T",tooltip:"Advantages Time (Period of Powerplay)"},advTimePP1:{short:"ADV-T PP1",tooltip:"Advantages Time (Period of PP1)"},advTimePP2:{short:"ADV-T PP2",tooltip:"Advantages Time (Period of PP2)"},ppgf:{short:"PPGF",tooltip:"Powerplay Goals For"},shga:{short:"SHGA",tooltip:"Shorthanded Goals Against"},ppPercent:{short:"PP%",tooltip:"Powerplay Percentage"},gfgp:{short:"GF/GP",tooltip:"Szerzett gólátlag"},gagp:{short:"GA/GP",tooltip:"Kapott gólátlag"},sogp:{short:"Shots/GP",tooltip:"Átlagos lövésszám"},sagp:{short:"SA/GP",tooltip:"Shots Against per Game"},jerseyNumber:{short:"#",tooltip:"Jersey Number"},row:{short:"Row",tooltip:"Row"},position:{short:"Position",tooltip:"Position"},teamOfficials:{short:"Team officials",tooltip:"Team officials"},score:{short:"Score",tooltip:"Actual Game Score"},opponent:{short:"Opponent",tooltip:"Opponent"},result:{short:"Result",tooltip:"Result"},resultType:{short:"#",tooltip:"Result Type"},atoi:{short:"ATOI",tooltip:"Average Time On Ice"},shf:{short:"SHF",tooltip:"Shifts"},ashf:{short:"ASHF",tooltip:"Average Shifts"},eqToi:{short:"EQ-TOI",tooltip:"Time On Ice in Equal"},pp1Toi:{short:"PP1-TOI",tooltip:"Time On Ice in PowerPlay 1"},pp2Toi:{short:"PP2-TOI",tooltip:"Time On Ice in PowerPlay 2"},sh1Toi:{short:"SH1-TOI",tooltip:"Time On Ice in Shorthanded 1"},sh2Toi:{short:"SH2-TOI",tooltip:"Time On Ice in Shorthanded 2"},eqAToi:{short:"EQ-A-TOI",tooltip:"Average Time On Ice in Equal"},pp1AToi:{short:"PP1-A-TOI",tooltip:"Average Time On Ice in PowerPlay 1"},pp2AToi:{short:"PP2-A-TOI",tooltip:"Average Time On Ice in PowerPlay 2"},sh1AToi:{short:"SH1-A-TOI",tooltip:"Average Time On Ice in Shorthanded 1"},sh2AToi:{short:"SH2-A-TOI",tooltip:"Average Time On Ice in Shorthanded 2"},role:{short:"Role",tooltip:"Role"}},game:{data:{localTime:"Game local time"},status:{jury:"Jury result",delayed:"Game delayed"},period:{wu:"Preparation",pre:"Preparation Ended",p1:"First Period",p1_int:"First Period Ended",p2:"Second Period",p2_int:"Second Period Ended",p3:"Third Period",p3_int:"Third Period Ended",p4:"Fourth Period",p4_int:"Fourth Period Ended",p5:"Fifth Period",p5_int:"Fifth Period Ended",p6:"Sixth Period",p6_int:"Sixth Period Ended",ot:"Overtime",ot_int:"Overtime Ended",so:"Shoot Out",so_int:"Shoot Out Ended",end:"Game Ended",Bemelegítés:"Warm-up","Bemelegítés vége":"Warm-up End","1. harmad":"First period","1. harmad vége":"First period End","2. harmad":"Second period","2. harmad vége":"Second period End","3. harmad":"Third period","3. harmad vége":"Third period End","4. harmad":"IV. period","4. harmad vége":"IV. period End","5. harmad":"V. period","5. harmad vége":"V. period End","6. harmad":"VI. period","6. harmad vége":"VI. period End",Hosszabbítás:"Overtime","Hosszabbítás vége":"Overtime End",Büntetőlövések:"Penalty Shot",Végeredmény:"Game Completed",Szétlövés:"Shoot Out"}}},Bl={errors:{"undefined-column":"A(z) {column} oszlop nem létezik!","invalid-season-name":"Érvénytelen szezon név","api-key-not-found":"API Kulcs nem megfelelő",gameData:"Game Data: {0}",gameStats:"Game Stats: {0}",gameEvents:"Game Events: {0}",gameOfficials:"Game Officials: {0}"},common:{loading:"Töltődés...",noData:"Nincs megjeleníthető adat",selectTimezone:"*Minden időpont a számítógép időzónája szerint jelenik meg ({timezone}). Váltás: ",hungary:"Magyarország",romania:"Románia",shootoutShort:"SO",overtimeShort:"OT",all:"Mind",report:"Jegyzőkönyv",video:"Videó",retry:"Újra"},additionalText:{inheritedPoints:{prependix:"A megelőző bajnokság szakaszban elért eredménye alapján",content:"{team} csapata {points}",appendix:"többletponttal rendelkezik."},penaltyPoints:{prependix:"* Fegyelmi Bizottság döntése alapján:",content:"{team} csapatától {points} pont",appendix:"levonva."}},table:{blank:"#",info:"{min} - {max} / {total} db",team:{short:"Csapat",tooltip:"Csapatnév"},game:{short:"GP",tooltip:"Mérkőzésszám"},wins:{short:"W",tooltip:"Győzelem"},draw:{short:"D",tooltip:"Döntetlen"},otw:{short:"OTW",tooltip:"Győzelem Hosszabbításban"},sow:{short:"SOW",tooltip:"Győzelem Szétlövésben"},sol:{short:"SOL",tooltip:"Vereség Szétlövésben"},otl:{short:"OTL",tooltip:"Vereség Hosszabbításban"},losses:{short:"L",tooltip:"Vereség"},goalFor:{short:"GF",tooltip:"Szerzett Gól"},goalAgainst:{short:"GA",tooltip:"Kapott Gól"},goalDiff:{short:"GD",tooltip:"Gólkülönbség"},name:{short:"Név",tooltip:"Játékosnév"},goals:{short:"G",tooltip:"Gólok"},assists:{short:"A",tooltip:"Gólpasszok"},points:{short:"P",tooltip:"Pontok"},plusMinus:{short:"+/-",tooltip:"Plussz/Minusz"},sog:{short:"S",tooltip:"Lövések"},so:{short:"SO",tooltip:"Kapott gól nélküli mérkőzések"},sogPercent:{short:"S%",tooltip:"Lövés Hatékonyság"},gameName:{short:"#",tooltip:"Mérkőzés Sorszáma"},gameDate:{short:"Dátum",tooltip:"Mérkőzés Dátuma"},gameDateTime:{short:"*Idő ({offsetName})",tooltip:"Mérkőzés kezdési ideje (Zóna neve)"},homeTeam:{short:"Hazai",tooltip:"Hazai Csapat"},awayTeam:{short:"Vendég",tooltip:"Vendég Csapat"},location:{short:"Helyszín",tooltip:"Mérkőzés Helyszíne"},broadcast:{short:"TV",tooltip:"TV Közvetítés"},minorPenalties:{short:"MINOR",tooltip:"Kisbüntetés (2p)"},majorPenalties:{short:"MAJOR",tooltip:"Büntetés (5p)"},misconducts:{short:"MISC",tooltip:"Fegyelmi büntetés (10p)"},gameMisconducts:{short:"GA-MI",tooltip:"Fegyelmi büntetés (20p)"},matchPenalties:{short:"MATCH",tooltip:"Végleges kiállítások (25p)"},pim:{short:"BÜP",tooltip:"Büntetés Percek"},pimPerGame:{short:"BÜP/M",tooltip:"Mérkőzésenkénti Büntetés Percek"},gpgk:{short:"GP",tooltip:"Mérkőzésre Nevezve"},gpi:{short:"GPI",tooltip:"Mérkőzésen Játszott"},toi:{short:"TOI",tooltip:"Jégen Töltött Idő"},toiPercent:{short:"TOI%",tooltip:"Jégen Töltött Idő Százalék"},ga:{short:"GA",tooltip:"Kapott Gól"},gaa:{short:"GAA",tooltip:"Kapott Gólátlag"},sa:{short:"SA",tooltip:"Kapott Lövés"},svs:{short:"SVS",tooltip:"Védett Lövés"},svsPercent:{short:"VH%",tooltip:"Védés Hatékonyság"},homeHeader:{short:"Hazai:",tooltip:""},awayHeader:{short:"Vendég:",tooltip:""},totalHeader:{short:"Összes:",tooltip:""},homeGame:{short:"M",tooltip:"Hazai Mérkőzés"},awayGame:{short:"M",tooltip:"Vendég Mérkőzés"},totalGame:{short:"M",tooltip:"Összes Mérkőzés"},homeAttendance:{short:"Nézőszám",tooltip:"Hazai Néző"},awayAttendance:{short:"Nézőszám",tooltip:"Vendég Néző"},totalAttendance:{short:"Nézőszám",tooltip:"Összes Néző"},homeAttendanceAvg:{short:"Átlag",tooltip:"Hazi Néző Átlag"},awayAttendanceAvg:{short:"Átlag",tooltip:"Vendég Néző Átlag"},totalAttendanceAvg:{short:"Átlag",tooltip:"Összes Néző Átlag"},powerplayDisadvantages:{short:"DVG",tooltip:"Emberhátrányok"},dvgTime:{short:"DVG-T",tooltip:"Emberhátrányban Töltött Idő"},dvgTimePP1:{short:"DVG-T PP1",tooltip:"Szimpla emberhátrányban töltött idő"},dvgTimePP2:{short:"DVG-T PP2",tooltip:"Kettős emberhátrányban töltött idő"},ppga:{short:"PPGA",tooltip:"Emberhátrányban kapott gólok"},shgf:{short:"SHGF",tooltip:"Emberhátrányban szerzett gól"},pkPercent:{short:"PK%",tooltip:"Emberhátrány kivédekezés"},adv:{short:"ADV",tooltip:"Emberelőnyök száma"},advTime:{short:"ADV-T",tooltip:"Emberelőnyben töltött idő"},advTimePP1:{short:"ADV-T PP1",tooltip:"Szimpla emberelőnyben töltött idő"},advTimePP2:{short:"ADV-T PP2",tooltip:"Kettős emberelőnyben töltött idő"},ppgf:{short:"PPGF",tooltip:"Emberelőnyben szerzett gólok"},shga:{short:"SHGA",tooltip:"Emberelőnyben kapott gólok"},ppPercent:{short:"PP%",tooltip:"Emberelőny kihasználás"},gfgp:{short:"GF/GP",tooltip:"Szerzett gólátlag"},gagp:{short:"GA/GP",tooltip:"Kapott gólátlag"},sogp:{short:"Shots/GP",tooltip:"Átlagos lövésszám"},sagp:{short:"SA/GP",tooltip:"Átlagos kapott lövésszám"},jerseyNumber:{short:"#",tooltip:"Mezszám"},row:{short:"Sor",tooltip:"Sor"},position:{short:"Po",tooltip:"Poszt"},teamOfficials:{short:"Hivatalos Személyek",tooltip:"Hivatalos Személyek"},score:{short:"Eredmény",tooltip:"Aktuális eredmény"},opponent:{short:"Ellenfél",tooltip:"Ellenfél"},result:{short:"Eredmény",tooltip:"Végeredmény"},resultType:{short:"#",tooltip:"Végeredmény típusa"},atoi:{short:"ATOI",tooltip:"Átlagos jégen töltött idő"},shf:{short:"SHF",tooltip:"Jégre lépések száma"},ashf:{short:"ASHF",tooltip:"Jégre lépések száma átlagosan"},eqToi:{short:"EQ-TOI",tooltip:"Jégen töltött idő azonos létszámban"},pp1Toi:{short:"PP1-TOI",tooltip:"Jégen töltött idő egyszeres emberelőnyben"},pp2Toi:{short:"PP2-TOI",tooltip:"Jégen töltött idő kétszeres emberelőnyben"},sh1Toi:{short:"SH1-TOI",tooltip:"Jégen töltött idő egyszeres emberhátrányban"},sh2Toi:{short:"SH2-TOI",tooltip:"Jégen töltött idő kétszeres emberhátrányban"},eqAToi:{short:"EQ-A-TOI",tooltip:"Átlagos jégen töltött idő azonos létszámban"},pp1AToi:{short:"PP1-A-TOI",tooltip:"Átlagos jégen töltött idő egyszeres emberelőnyben"},pp2AToi:{short:"PP2-A-TOI",tooltip:"Átlagos jégen töltött idő kétszeres emberelőnyben"},sh1AToi:{short:"SH1-A-TOI",tooltip:"Átlagos jégen töltött idő egyszeres emberhátrányban"},sh2AToi:{short:"SH2-A-TOI",tooltip:"Átlagos jégen töltött idő kétszeres emberhátrányban"},role:{short:"Szerep",tooltip:"Szerep"}},game:{data:{localTime:"Helyszín szerinti idő"},status:{jury:"Versenybíróság",delayed:"Elhalasztva"},period:{wu:"Bemelegítés",pre:"Bemelegítés vége",p1:"I. játékrész",p1_int:"I. játékrész vége",p2:"II. játékrész",p2_int:"II. játékrész vége",p3:"III. játékrész",p3_int:"III. játékrész vége",p4:"IV. játékrész",p4_int:"IV. játékrész vége",p5:"V. játékrész",p5_int:"V. játékrész vége",p6:"VI. játékrész",p6_int:"VI. játékrész vége",ot:"Hosszabbítás",ot_int:"Hosszabbítás vége",so:"Szétlövés",so_int:"Szétlövés vége",end:"Végeredmény",Bemelegítés:"Bemelegítés","Bemelegítés vége":"Bemelegítés Vége","1. harmad":"I. harmad","1. harmad vége":"I. harmad Vége","2. harmad":"II. harmad","2. harmad vége":"II. harmad Vége","3. harmad":"III. harmad","3. harmad vége":"III. harmad Vége","4. harmad":"IV. harmad","4. harmad vége":"IV. harmad Vége","5. harmad":"V. harmad","5. harmad vége":"V. harmad Vége","6. harmad":"VI. harmad","6. harmad vége":"VI. harmad Vége",Hosszabbítás:"Hosszabbítás","Hosszabbítás vége":"Hosszabbítás vége",Büntetők:"Szétlövés","Büntetők vége":"Szétlövés vége",Végeredmény:"Végeredmény",Szétlövés:"Szétlövés"}}},Rl=(t,e)=>{const n=t.__vccOpts||t;for(const[r,a]of e)n[r]=a;return n},zl=o.defineComponent({props:{locale:{type:String,default:"hu"},messages:{type:Object,default:()=>({})}},setup(t){const e=Gn({hu:Bl,en:Il},t.messages),{translate:n}=qn({locale:o.computed(()=>t.locale),messages:e});return{translate:n}}});function Vl(t,e,n,r,a,i){return o.renderSlot(t.$slots,"default",{t:t.translate})}const Gl=Rl(zl,[["render",Vl]]),Fl=["src"],jl=["src","title"],Ot=Object.assign({inheritAttrs:!1},{__name:"Image",props:{src:{type:String,default:""},title:{type:String,default:""},defaultSrc:{type:String,default:""}},setup(t){const e=t,{defaultSrc:n}=o.toRefs(e),r=o.ref({src:e.src}),{error:a,isReady:i}=ti(r,{resetOnExecute:!1,shallow:!1});return(s,l)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.unref(a)&&o.unref(n)?(o.openBlock(),o.createElementBlock("img",{key:0,src:o.unref(n),class:o.normalizeClass(["is-loaded is-default",[s.$attrs.class]])},null,10,Fl)):o.createCommentVNode("",!0),o.unref(a)?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("img",{key:1,src:r.value.src,class:o.normalizeClass([s.$attrs.class,{"is-loaded":o.unref(i)}]),title:e.title,loading:"lazy"},null,10,jl))],64))}}),Ul={class:"loading-indicator"},on={__name:"LoadingIndicator",setup(t){const{t:e}=at();return(n,r)=>(o.openBlock(),o.createElementBlock("div",Ul,o.toDisplayString(o.unref(e)("common.loading")),1))}},Hl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function Yl(t,e){return o.openBlock(),o.createElementBlock("svg",Hl,e[0]||(e[0]=[o.createElementVNode("polyline",{points:"15 18 9 12 15 6"},null,-1)]))}const Wl={render:Yl},ql={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function Kl(t,e){return o.openBlock(),o.createElementBlock("svg",ql,e[0]||(e[0]=[o.createElementVNode("polyline",{points:"9 18 15 12 9 6"},null,-1)]))}const Zl={render:Kl},Xl={key:0,class:"paginator"},Jl=["disabled"],Ql=["disabled"],tc={key:1,class:"is-disabled"},ec=["disabled","onClick"],nc={key:2,class:"is-disabled"},oc=["disabled"],rc=["disabled"],ac={__name:"Paginator",props:{page:{type:Number,required:!1,default:0,validator:t=>t>=0},itemsPerPage:{type:Number,required:!1,default:10,validator:t=>t>0},totalItems:{type:Number,required:!0,validator:t=>t>=0},rangeLength:{type:Number,default:3,validator:t=>t>=2},isCompact:{type:Boolean,default:!1}},emits:["change"],setup(t,{emit:e}){const n=t,r=e,{page:a,pageCount:i,range:s,goTo:l,pageStep:u}=is({currentPage:o.computed(()=>n.page),totalItems:o.computed(()=>n.totalItems),itemsPerPage:n.itemsPerPage,rangeLength:n.rangeLength,update:c=>r("change",c)});return(c,d)=>o.unref(i)>1?(o.openBlock(),o.createElementBlock("div",Xl,[o.createElementVNode("button",{type:"button",disabled:o.unref(a)===1,onClick:d[0]||(d[0]=f=>o.unref(u)(-1))},[o.renderSlot(c.$slots,"prev",{},()=>[o.createVNode(o.unref(Wl),{class:"icon paginator-left"})])],8,Jl),t.isCompact?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",disabled:o.unref(a)===1,onClick:d[1]||(d[1]=f=>o.unref(l)(1))}," 1 ",8,Ql)),t.isCompact?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",tc," ... ")),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(s),f=>(o.openBlock(),o.createElementBlock("button",{key:f,type:"button",class:o.normalizeClass({"is-active":f===o.unref(a)}),disabled:f===o.unref(a),onClick:g=>o.unref(l)(f)},o.toDisplayString(f),11,ec))),128)),t.isCompact?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",nc,d[4]||(d[4]=[o.createElementVNode("span",null,"...",-1)]))),t.isCompact?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("button",{key:3,type:"button",disabled:o.unref(a)===o.unref(i),onClick:d[2]||(d[2]=f=>o.unref(l)(o.unref(i)))},o.toDisplayString(o.unref(i)),9,oc)),o.createElementVNode("button",{type:"button",disabled:o.unref(a)===o.unref(i),onClick:d[3]||(d[3]=o.withModifiers(f=>o.unref(u)(1),["prevent"]))},[o.renderSlot(c.$slots,"next",{},()=>[o.createVNode(o.unref(Zl),{class:"icon paginator-left"})])],8,rc)])):o.createCommentVNode("",!0)}},rn={__name:"ResponsiveTable",setup(t){const e=o.ref(null);return(n,r)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"el",ref:e,class:"table-responsive"},[o.renderSlot(n.$slots,"default",{el:e.value})],512))}},ic={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function sc(t,e){return o.openBlock(),o.createElementBlock("svg",ic,e[0]||(e[0]=[o.createElementVNode("rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",ry:"2"},null,-1),o.createElementVNode("line",{x1:"8",y1:"21",x2:"16",y2:"21"},null,-1),o.createElementVNode("line",{x1:"12",y1:"17",x2:"12",y2:"21"},null,-1)]))}const lc={render:sc},cc={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function uc(t,e){return o.openBlock(),o.createElementBlock("svg",cc,e[0]||(e[0]=[o.createElementVNode("circle",{cx:"12",cy:"12",r:"1"},null,-1),o.createElementVNode("circle",{cx:"12",cy:"5",r:"1"},null,-1),o.createElementVNode("circle",{cx:"12",cy:"19",r:"1"},null,-1)]))}const dc={render:uc},fc={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function mc(t,e){return o.openBlock(),o.createElementBlock("svg",fc,e[0]||(e[0]=[o.createElementVNode("path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"},null,-1),o.createElementVNode("rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"},null,-1)]))}const pc={render:mc},hc={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function gc(t,e){return o.openBlock(),o.createElementBlock("svg",hc,e[0]||(e[0]=[o.createElementVNode("path",{d:"M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z"},null,-1),o.createElementVNode("polygon",{points:"9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"},null,-1)]))}const yc={render:gc};function bc(t=[]){return{result:[...t],filteredRowsLength:0,isFiltered:!1,value(){return{rows:this.result,totalItems:this.isFiltered?this.filteredRowsLength:t.length,currentItems:this.currentItems}},filter(e,n=[],r=!1){if(e){const a=n.map(l=>r?Zt(Ce(l),Yt(e)):Zt(ut(l),Hn,Ta(Hn(e)))),i=Yr(l=>l.name?xa(Oa("name"),Pa(",",""),l):l),s=Ne(Zt(i,Hr([...a])),this.result);this.isFiltered=!0,this.filteredRowsLength=s.length,this.result=s}return this},sorted(e){if(!e.sortTarget)return this;if(e.orders[0].direction===ct)return this;const n=ba(Yt(I),In(Me),In(la));return this.result=Un(e.orders.map(r=>Rn(n(r.direction),ut)(r.target)))(this.result),this},addIndex(e=null){return this.result.reduce((n,r,a)=>{const i=n[n.length-1]||[],s=e&&i[e]===r[e];return r.index=s?i.index:a+1,r.indexClass=s?"is-duplicated":null,n.push(r),n},[]),this},addContinuousIndex(){return this.result=this.result.map((e,n)=>({...e,index:n+1})),this},pagination(e,n){if(!n)return this;e=Number(e),n=Number(n);const r=(e-1)*n,a=r+n;return this.result=this.result.slice(r,a),this},more(e,n){return this.result=this.result.slice(Number(e),Number(n)),this},playerName(){return this.result=this.result.map(e=>({...e,name:Rc(e)})),this},teamName(){return this.result=this.result.map(e=>({...e,teamName:e.team.longName})),this},schedule(e="",n="hu"){return this.result=this.result.map(r=>({...r,gameResult:`${r.homeTeamScore}-${r.awayTeamScore}`,gameDateDate:bt(r.gameDate,"L dddd",e,n),gameDateTime:bt(r.gameDate,"HH:mm",e,n)})),this},gameDateFilter(e){return e===null?this:(this.result=this.result.filter(n=>new Date(n.gameDate).getMonth()===e),this)},convertTimes(e=[]){return this.result=this.result.map(n=>(e.map(r=>n[r]?n[`${r}Sec`]=Ge(n[r]):n),n)),this},groupByDays(){return this.currentItems=this.result.length,this.result=ya(e=>bt(e.gameDate,"YYYY-MM-DD"))(this.result),this},slice(e=3){return this.result=this.result.slice(0,e),this}}}const Tc=(t,...e)=>ft(Rn(...e))(t);function Sc(t){return{...t,...t.lastName&&t.firstName&&{name:`${t.lastName} ${t.firstName}`},...t.player?.playerId&&{name:`${t.player.lastName} ${t.player.firstName}`},...t.player?.id&&{name:`${t.player.lastName} ${t.player.firstName}`},...t.player?.nationality&&{name:t.player?.nationality.includes("hu")?`${t.player.lastName} ${t.player.firstName}`:`${t.player.lastName}, ${t.player.firstName}`},...t.nationality&&{name:t.nationality.includes("hu")?`${t.lastName} ${t.firstName}`:`${t.lastName}, ${t.firstName}`}}}function wc(t){return{...t,...t?.team?.id&&{teamName:t.team.longName}}}function Oc(t="",e="hu"){return n=>({...n,gameDateDate:bt(n.gameDate,"L dddd",t,e),gameDateTime:bt(n.gameDate,"HH:mm",t,e)})}function Ac(t){return e=>({...e,gameResult:Lc(e)})}function kc(t){return{...t,opponent:Cc(t)}}function _c(t){return{...t,resultType:Ic(t)}}function xc(t){return{...t,rowClasses:t.optional?"is-optional":""}}function Pc(t=[]){return e=>({...e,[t]:e[t]?.toUpperCase()})}function Ec(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Sec`]=Ge(e[n]):e),e)}function Nc(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Min`]=ko(e[n]):e),e)}function vc(t=[]){return e=>(t.map(n=>e[`${n}Min`]=Ao(e[n])),e)}function $c(t){return{...t,periodResults:t.result?.match(/\(.*?\)/)?.[0]??""}}const Mc=Un([(t,e)=>new Date(t.gameDate).getTime()-new Date(e.gameDate).getTime(),Me(ut("id")),Me(ut("gameId"))]),Dc=Ea((t=>(e,n)=>e[t].localeCompare(n[t],"hu"))("name"));function Cc(t){return[t.isHomeGame?null:"@",t.opponent?.shortName].join(" ")}function Lc(t){let e=t?.homeTeamScore,n=t?.awayTeamScore;return t.isHomeGame||(e=t?.awayTeamScore,n=t?.homeTeamScore),[e,n].join(":")}function Ic(t){const e=t.gameResult.split(":"),n=e[0]>e[1],r=e[0]<e[1];return n&&t.isOvertime?"OTW":n&&t.isShootout?"SOW":n?"W":r&&t.isOvertime?"OTL":r&&t.isShootout?"SOL":r?"L":"D"}function Bc(t){return t.map(e=>({phaseId:e.phaseId,phaseName:Object.values({phaseName:e.phaseName,...e.phaseType?.phaseTypeName&&e.phaseType.phaseTypeName!==e.phaseName&&{phaseTypeName:e.phaseType.phaseTypeName},...e.phaseSubType?.phaseSubTypeName&&{phaseSubTypeName:e.phaseSubType.phaseSubTypeName}}).join("-")}))}function Rc(t){return t.player?t.player.nationality.includes("hu")?`${t.player.lastName} ${t.player.firstName}`:`${t.player.lastName}, ${t.player.firstName}`:`${t.lastName} ${t.firstName}`}class an extends Error{constructor(e,n={}){const{key:r,cause:a}=n;super(e),this.name="WidgetError",this.key=r,this.cause=a}}const Ft={message:"Undefined Column name Message",options:{key:"undefined-column",cause:{}}},zc={message:"Invalid season name",options:{key:"invalid-season-name",cause:{}}},sn=(t="")=>window?.__MJSZ_VBR_WIDGET__?.[t];function Vc(t,e={}){if(e.externalGameUrl)return e.externalGameUrl;const n=sn("gameResolver")||t;return typeof n=="function"?n(e):encodeURI(dt(n||cn,e))}function Gc(t,e={}){const n=sn("teamResolver")||t;return typeof n=="function"?n(e):encodeURI(dt(n||fn,e))}function Fc(t,e={}){const n=sn("playerResolver")||t;return typeof n=="function"?n(e):encodeURI(dt(n||dn,e))}function jc(t,e={}){return typeof t=="function"?t(e):encodeURI(dt(t||mn,e))}const Uc=(t,e="1x1")=>`${pn}/flag:${t}-${e}.svg`;function Hc(){window.scrollTo(0,0)}const Yc={class:"is-team-name-long"},Wc={class:"is-team-name-short"},qc={class:"is-team-name-long"},Kc={class:"is-team-name-short"},Zc={key:0,class:"is-text-dark"},Xc=["href","target"],Jc={key:0,class:"label"},Qc={key:1,class:"label"},tu={key:2,class:"label"},eu={key:1},nu=["onClick","onFocus","onBlur"],ou={class:"is-dropdown-menu"},ru=["href","target"],au={key:0},iu=["href"],su={__name:"ScheduleTable",props:{rows:{type:Array,default:()=>[]},isLoading:{type:Boolean,deafult:!1},hideColumns:{type:String,default:""},offsetName:{type:String,default:""},externalGameResolver:{type:Function,required:!0},externalGameResolverTarget:{type:String,default:"_blank"}},setup(t){const e=t,n=o.ref(null),{onError:r}=Be(),{columns:a,error:i}=Ie(bn,o.computed(()=>e.hideColumns),o.computed(()=>({offsetName:e.offsetName})));Ka(i,()=>r(new an(Ft.message,{...Ft.options,cause:{column:i.value}})),{immediate:!0});const{t:s}=at();return(l,u)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(rn,null,{default:o.withCtx(({el:c})=>[o.createVNode(nn,{columns:o.unref(a),rows:e.rows,"is-loading":t.isLoading,"append-to":n.value||c},{"cell-homeTeamName":o.withCtx(({row:d})=>[d.homeTeam?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",Yc,o.toDisplayString(d.homeTeam.longName),1),o.createElementVNode("span",Wc,o.toDisplayString(d.homeTeam.shortName),1)],64)):o.createCommentVNode("",!0)]),"cell-awayTeamName":o.withCtx(({row:d})=>[d.awayTeam?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("span",qc,o.toDisplayString(d.awayTeam.longName),1),o.createElementVNode("span",Kc,o.toDisplayString(d.awayTeam.shortName),1)],64)):o.createCommentVNode("",!0)]),"cell-homeTeamLogo":o.withCtx(({row:d})=>[d.homeTeam?(o.openBlock(),o.createBlock(Ot,{key:d.homeTeam.id,class:"is-logo-image is-right",src:d.homeTeam.logo},null,8,["src"])):o.createCommentVNode("",!0)]),"cell-awayTeamLogo":o.withCtx(({row:d})=>[d.awayTeam?(o.openBlock(),o.createBlock(Ot,{key:d.awayTeam.id,class:"is-logo-image is-right",src:d.awayTeam.logo},null,8,["src"])):o.createCommentVNode("",!0)]),"cell-gameResult":o.withCtx(({row:d})=>[d.gameStatus===0?(o.openBlock(),o.createElementBlock("span",Zc,"-:-")):(o.openBlock(),o.createElementBlock("a",{key:1,href:t.externalGameResolver(d.gameId),target:t.externalGameResolverTarget,class:o.normalizeClass({"is-text-dark":d.gameStatus!==1,"is-text-accent":d.gameStatus===1})},o.toDisplayString(d.homeTeamScore)+":"+o.toDisplayString(d.awayTeamScore),11,Xc))]),"cell-gameResultType":o.withCtx(({row:d})=>[d.isOvertime?(o.openBlock(),o.createElementBlock("span",Jc,o.toDisplayString(o.unref(s)("common.overtimeShort")),1)):o.createCommentVNode("",!0),d.isShootout?(o.openBlock(),o.createElementBlock("span",Qc,o.toDisplayString(o.unref(s)("common.shootoutShort")),1)):o.createCommentVNode("",!0),d.seriesStandings?(o.openBlock(),o.createElementBlock("span",tu,o.toDisplayString(d.seriesStandings),1)):o.createCommentVNode("",!0)]),"cell-broadcast":o.withCtx(({row:d})=>[d.broadcast?(o.openBlock(),o.createBlock(o.unref(lc),{key:0})):(o.openBlock(),o.createElementBlock("span",eu))]),"cell-location":o.withCtx(({row:d})=>[o.createTextVNode(o.toDisplayString(d.location?.locationName??""),1)]),"cell-more":o.withCtx(({row:d})=>[o.createVNode(en,{offset:2,placement:"left",theme:"content","append-to":c},{default:o.withCtx(({setRef:f,show:g,hide:p})=>[o.createElementVNode("button",{ref:f,onClick:o.withModifiers(g,["stop"]),onFocus:g,onBlur:p},[o.createVNode(o.unref(dc))],40,nu)]),content:o.withCtx(()=>[o.createElementVNode("ul",ou,[o.createElementVNode("li",null,[o.createElementVNode("a",{href:t.externalGameResolver(d.gameId),class:"is-dropdown-item",target:t.externalGameResolverTarget},[o.createVNode(o.unref(pc),{width:"14"}),o.createTextVNode(" "+o.toDisplayString(o.unref(s)("common.report")),1)],8,ru)]),d.video?(o.openBlock(),o.createElementBlock("li",au,[o.createElementVNode("a",{href:d.video,class:"is-dropdown-item",target:"_blank"},[o.createVNode(o.unref(yc),{width:"14"}),o.createTextVNode(" "+o.toDisplayString(o.unref(s)("common.video")),1)],8,iu)])):o.createCommentVNode("",!0)])]),_:2},1032,["append-to"])]),loading:o.withCtx(()=>[o.createVNode(on)]),_:2},1032,["columns","rows","is-loading","append-to"])]),_:1}),o.createElementVNode("div",{ref_key:"tooltipContainer",ref:n},null,512)],64))}},lu={class:"g-row g-gap-normal is-mb-5"},cu={for:"season",class:"label"},uu=["value"],du={key:0},fu=["onClick"],mu={__name:"SeasonSelector",props:{seasons:{type:Array,default:()=>[]},championshipId:{type:Number,default:0},sections:{type:Array,default:()=>[]},sectionId:{type:Number,default:0},isSectionSelectionDisabled:{type:Boolean,default:!1}},emits:["onChangeSeason","onChangeSection"],setup(t,{emit:e}){const n=t,r=e,{t:a}=at(),i=o.computed({get(){return n.championshipId},set(l){r("onChangeSeason",l)}});function s(l){r("onChangeSection",l)}return(l,u)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createElementVNode("div",lu,[o.createElementVNode("div",null,[o.createElementVNode("label",cu,o.toDisplayString(o.unref(a)("selection.season")),1),o.createVNode(vo,{id:"season",modelValue:i.value,"onUpdate:modelValue":u[0]||(u[0]=c=>i.value=c)},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.seasons,c=>(o.openBlock(),o.createElementBlock("option",{key:c.championshipId,value:c.championshipId},o.toDisplayString(c.seasonName),9,uu))),128))]),_:1},8,["modelValue"])]),o.renderSlot(l.$slots,"default")]),t.isSectionSelectionDisabled?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",du,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.sections,c=>(o.openBlock(),o.createElementBlock("button",{key:c.phaseId,class:o.normalizeClass(["tab-button",{"is-active":c.sectionId===t.sectionId}]),onClick:d=>s(c)},o.toDisplayString(c.sectionName),11,fu))),128))]))],64))}},pu={class:"is-portrait-image"},hu=["href"],gu={class:"is-team-name-long"},yu={class:"is-team-name-short"},bu={class:"is-team-name-long"},Tu={key:0},Su={class:"is-team-name-short"},wu={key:0},Ou={class:"is-team-name-long"},Au={class:"is-team-name-short"},ku={class:"is-team-name-long"},_u={class:"is-team-name-short"},xu=["href"],Pu={key:0,class:"is-text-dark"},Eu=["href","target"],Nu={key:0,class:"label"},vu={key:1,class:"label"},$u={key:2,class:"label"},Mu={__name:"StatisticsTable",props:{columns:{type:Object,required:!0},rows:{type:Array,default:()=>[]},isLoading:{type:Boolean,deafult:!1},hideColumns:{type:String,default:""},sort:{type:Object,default:()=>({})},externalTeamResolver:{type:Function,required:!0},externalPlayerResolver:{type:Function,default:()=>{}},externalGameResolver:{type:Function,default:()=>{}},externalGameResolverTarget:{type:String,default:"_self"},isTeamLinked:{type:Boolean,default:!1},isPlayerLinked:{type:Boolean,default:!1},appendTo:{type:[Object,String],default:null},offsetName:{type:String,default:""}},emits:["sort"],setup(t,{emit:e}){const n=t,r=e,{columns:a,hideColumns:i}=o.toRefs(n),{onError:s}=Be(),{t:l}=at(),{columns:u,error:c}=Ie(a,i,o.computed(()=>({offsetName:n.offsetName})));c.value&&s(new an(Ft.message,{...Ft.options,cause:{column:c.value}}));const d=f=>r("sort",f);return(f,g)=>(o.openBlock(),o.createBlock(rn,null,{default:o.withCtx(({el:p})=>[o.createVNode(nn,{columns:o.unref(u),sort:n.sort,rows:n.rows,"is-loading":t.isLoading,"append-to":t.appendTo||p,onSort:d},o.createSlots({"cell-index":o.withCtx(({row:m})=>[o.createElementVNode("span",{class:o.normalizeClass(m.indexClass)},o.toDisplayString(m.index),3)]),"cell-playerPortrait":o.withCtx(({row:m})=>[o.createElementVNode("div",pu,[(o.openBlock(),o.createBlock(Ot,{key:m.player.playerId,src:m.player.picture,"default-src":o.unref(un)},null,8,["src","default-src"]))])]),"cell-teamLogo":o.withCtx(({row:m})=>[(o.openBlock(),o.createBlock(Ot,{key:m.team?.id??m.id,class:"is-logo-image",src:m.team?.logo},null,8,["src"]))]),"cell-homeTeamLogo":o.withCtx(({row:m})=>[(o.openBlock(),o.createBlock(Ot,{key:m.homeTeam?.id,class:"is-logo-image is-right",src:m.homeTeam?.logo},null,8,["src"]))]),"cell-awayTeamLogo":o.withCtx(({row:m})=>[(o.openBlock(),o.createBlock(Ot,{key:m.awayTeam?.id,class:"is-logo-image is-right",src:m.awayTeam?.logo},null,8,["src"]))]),"cell-teamName":o.withCtx(({row:m})=>[t.isTeamLinked?(o.openBlock(),o.createElementBlock("a",{key:0,href:t.externalTeamResolver(m),target:"_blank"},[o.createElementVNode("span",gu,o.toDisplayString(m.team?.longName),1),o.createElementVNode("span",yu,o.toDisplayString(m.team?.shortName),1)],8,hu)):(o.openBlock(),o.createElementBlock(o.Fragment,{key:1},[o.createElementVNode("span",bu,[o.createTextVNode(o.toDisplayString(m.team?.longName)+" ",1),m.penaltyPoints?(o.openBlock(),o.createElementBlock("span",Tu,g[0]||(g[0]=[o.createElementVNode("sup",null,"*",-1)]))):o.createCommentVNode("",!0)]),o.createElementVNode("span",Su,[o.createTextVNode(o.toDisplayString(m.team?.shortName)+" ",1),m.penaltyPoints?(o.openBlock(),o.createElementBlock("span",wu,g[1]||(g[1]=[o.createElementVNode("sup",null,"*",-1)]))):o.createCommentVNode("",!0)])],64))]),"cell-homeTeamName":o.withCtx(({row:m})=>[o.createElementVNode("span",Ou,o.toDisplayString(m.homeTeam?.longName),1),o.createElementVNode("span",Au,o.toDisplayString(m.homeTeam?.shortName),1)]),"cell-awayTeamName":o.withCtx(({row:m})=>[o.createElementVNode("span",ku,o.toDisplayString(m.awayTeam?.longName),1),o.createElementVNode("span",_u,o.toDisplayString(m.awayTeam?.shortName),1)]),"cell-location":o.withCtx(({row:m})=>[o.createTextVNode(o.toDisplayString(m.location?.locationName??""),1)]),"cell-gameResult":o.withCtx(({row:m})=>[m.gameStatus===0?(o.openBlock(),o.createElementBlock("span",Pu,"-:-")):(o.openBlock(),o.createElementBlock("a",{key:1,href:t.externalGameResolver(m),target:t.externalGameResolverTarget,class:o.normalizeClass({"is-text-dark":m.gameStatus!==1,"is-text-accent":m.gameStatus===1})},o.toDisplayString(m.homeTeamScore)+":"+o.toDisplayString(m.awayTeamScore),11,Eu))]),"cell-gameResultType":o.withCtx(({row:m})=>[m.isOvertime?(o.openBlock(),o.createElementBlock("span",Nu,o.toDisplayString(o.unref(l)("common.overtimeShort")),1)):o.createCommentVNode("",!0),m.isShootout?(o.openBlock(),o.createElementBlock("span",vu,o.toDisplayString(o.unref(l)("common.shootoutShort")),1)):o.createCommentVNode("",!0),m.seriesStandings?(o.openBlock(),o.createElementBlock("span",$u,o.toDisplayString(m.seriesStandings),1)):o.createCommentVNode("",!0)]),loading:o.withCtx(()=>[o.createVNode(on)]),_:2},[t.isPlayerLinked?{name:"cell-name",fn:o.withCtx(({row:m})=>[o.createElementVNode("a",{href:t.externalPlayerResolver(m),target:"_blank"},o.toDisplayString(m.name),9,xu)]),key:"0"}:void 0]),1032,["columns","sort","rows","is-loading","append-to"])]),_:1}))}},Du={class:"timezone-selector"},Cu=["onClick"],Lu={__name:"TimezoneSelector",props:{locale:{type:String,default:"hu"},currentZone:{type:String,required:!0}},emits:["change"],setup(t,{emit:e}){const n=t,r=e,{t:a}=at(),i=o.computed(()=>Bt(new Date,null,n.locale)),s=Oo(),l=o.computed(()=>Array.from(gn.values()).map(c=>({...c,isActive:Bt(new Date,n.currentZone,n.locale)===Bt(new Date,c.timezone,n.locale),zoneOffsetName:Bt(new Date,c.timezone,n.locale)}))),u=c=>r("change",c);return(c,d)=>(o.openBlock(),o.createElementBlock("div",Du,[o.createVNode(o.unref(Zn),{path:"common.selectTimezone",tag:"span"},{timezone:o.withCtx(()=>[o.createElementVNode("a",{href:"#",onClick:d[0]||(d[0]=o.withModifiers(f=>u(o.unref(s)),["prevent"]))},o.toDisplayString(i.value),1)]),_:1}),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.value,f=>(o.openBlock(),o.createElementBlock("a",{key:f.countryLabelKey,href:"#",class:o.normalizeClass({"is-active":f.isActive}),onClick:o.withModifiers(g=>u(f.timezone),["prevent"])},o.toDisplayString(o.unref(a)(`common.${f.countryLabelKey}`))+" ("+o.toDisplayString(f.zoneOffsetName)+") ",11,Cu))),128))]))}},Iu={locale:{type:String,default:"hu"},championshipId:{type:String,default:""},division:{type:String,default:""},phaseId:{type:String,default:""},apiKey:{type:String,default:""},hideColumns:{type:String,default:""}},Bu={externalTeamResolver:{type:[String,Function],default:""},isTeamLinked:{type:Boolean,default:!1}},Ru={limit:{type:Number,default:20},teamFilterByName:{type:String,default:""},externalPlayerResolver:{type:[String,Function],default:""},isPlayerLinked:{type:Boolean,default:!1}},zu={externalGameResolver:{type:[String,Function],default:""},isGameTargetExternal:{type:Boolean,default:!1}};function Xo({app:t=null,modules:e=[],apiKey:n,gameResolver:r,teamResolver:a,playerResolver:i}){if(window.__MJSZ_VBR_WIDGET__={apiKey:n,gameResolver:r,teamResolver:a,playerResolver:i},e.length===0)throw new Error("At least one module must be set");e.forEach(s=>{if(t)return t.use(s);if(s.register)return s.register();s?.install()})}const Vu={install:(t,e={})=>Xo({app:t,...e})};return T.AVAILABLE_TIMEZONES_BY_COUNTRY=gn,T.AdditionalStandingsText=ys,T.BaseSelect=vo,T.COLUMNS_FIELD_PLAYERS=nr,T.COLUMNS_FIELD_PLAYERS_PENALTY=or,T.COLUMNS_FIELD_PLAYERS_TOI=rr,T.COLUMNS_GOALIES=ar,T.COLUMNS_PLAYERS_NATIONAL=ir,T.COLUMNS_SCHEDULE=bn,T.COLUMNS_SCORING_EFFICIENCY=dr,T.COLUMNS_STANDINGS_P_2=tr,T.COLUMNS_STANDINGS_P_3=Qo,T.COLUMNS_STANDINGS_SHORT=er,T.COLUMNS_TEAMS_FAIRPLAY=lr,T.COLUMNS_TEAMS_PENALTY_KILLING=cr,T.COLUMNS_TEAMS_POWERPLAY=ur,T.COLUMNS_TEAM_ATTENDANCE=sr,T.DEFAULT_EXTERNAL_GAME_URL=cn,T.DEFAULT_EXTERNAL_PLAYER_URL=dn,T.DEFAULT_EXTERNAL_STATISTIC_URL=mn,T.DEFAULT_EXTERNAL_TEAM_URL=fn,T.DEFAULT_PORTRAIT_IMAGE_URL=un,T.DataTable=nn,T.ErrorNotice=Cl,T.ErrorProvider=Ll,T.FLAG_BASE_URL=pn,T.FetchMoreObserver=Tr,T.FloatingPanel=en,T.I18NProvider=Gl,T.Image=Ot,T.InvalidSeasonName=zc,T.LAZY_LOADING_STATE_DELAY=yn,T.LOCALE_FOR_LANG=hn,T.LoadingIndicator=on,T.Paginator=ac,T.REFRESH_DELAY=Jo,T.ResponsiveTable=rn,T.SORT_STATE_ASCEND=I,T.SORT_STATE_DESCEND=b,T.SORT_STATE_ORIGINAL=ct,T.ScheduleTable=su,T.SeasonSelector=mu,T.StatisticsTable=Mu,T.TimezoneSelector=Lu,T.UndefinedColumn=Ft,T.VBR_API_BASE_URL=ln,T.WidgetError=an,T.addDays=ts,T.appendTo=Zo,T.baseProps=Iu,T.convert=bc,T.convertGamePeriodResults=$c,T.convertMinToMinSec=ko,T.convertMinToSec=Ge,T.convertPhaseName=Bc,T.convertSecToMin=Ao,T.convertTimes=Ec,T.convertTimesMinToMinSec=Nc,T.convertTimesSecToMin=vc,T.createConfig=Xo,T.createI18n=qn,T.currentWeek=Xi,T.currentWeekStartEnd=Ji,T.default=Vu,T.endOfMonth=ns,T.externalGameLinkResolver=Vc,T.externalPlayerLinkResolver=Fc,T.externalStatisticLinkResolver=jc,T.externalTeamLinkResolver=Gc,T.fetchVBRData=eo,T.flagResolver=Uc,T.format=bt,T.gameDateTime=Oc,T.gameProps=zu,T.gameResult=Ac,T.getLocalTimezone=Oo,T.i18n=Zn,T.isAfter=Ki,T.isBefore=qi,T.isBetween=_o,T.isSame=Yi,T.isSameOrBefore=Fe,T.isToday=Zi,T.localeSort=Dc,T.max=rs,T.min=os,T.offsetName=Bt,T.playerName=Sc,T.playerStatsProps=Ru,T.rawConvert=Tc,T.scheduleOptionalRowClass=xc,T.scrollToTop=Hc,T.sortByDomNode=Tl,T.sortGames=Mc,T.startOfMonth=es,T.subtractDays=Qi,T.teamName=wc,T.teamOpponent=kc,T.teamResultType=_c,T.teamStatsProps=Bu,T.templateReplacer=dt,T.toKebabCase=Jn,T.upperCase=Pc,T.useAdditionalText=Yn,T.useColumns=Ie,T.useError=Be,T.useErrorProvider=to,T.useI18n=at,T.useLazyLoadingState=so,T.usePage=as,T.useScrollToGameDate=ss,T.useServices=ls,T.useSort=ps,T.useVisibilityChange=hs,T.validateColumnsName=Xn,T.yearToNow=Wi,Object.defineProperties(T,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),T}({},Vue);
|
|
22
|
+
***************************************************************************** */function Ue(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var o,a,i=n.call(t),s=[];try{for(;(e===void 0||e-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(a)throw a.error}}return s}var _r;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(_r||(_r={}));var cs={type:"xstate.init"};function me(t){return t===void 0?[]:[].concat(t)}function xr(t,e){return typeof(t=typeof t=="string"&&e&&e[t]?e[t]:t)=="string"?{type:t}:typeof t=="function"?{type:t.name,exec:t}:t}function He(t){return function(e){return t===e}}function us(t){return typeof t=="string"?{type:t}:t}function Pr(t,e){return{value:t,context:e,actions:[],changed:!1,matches:He(t)}}function Er(t,e,n){var o=e,a=!1;return[t.filter(function(i){if(i.type==="xstate.assign"){a=!0;var s=Object.assign({},o);return typeof i.assignment=="function"?s=i.assignment(o,n):Object.keys(i.assignment).forEach(function(l){s[l]=typeof i.assignment[l]=="function"?i.assignment[l](o,n):i.assignment[l]}),o=s,!1}return!0}),o,a]}function ds(t,e){e===void 0&&(e={});var n=Ue(Er(me(t.states[t.initial].entry).map(function(s){return xr(s,e.actions)}),t.context,cs),2),o=n[0],a=n[1],i={config:t,_options:e,initialState:{value:t.initial,actions:o,context:a,matches:He(t.initial)},transition:function(s,l){var u,c,d=typeof s=="string"?{value:s,context:t.context}:s,f=d.value,g=d.context,p=us(l),m=t.states[f];if(m.on){var y=me(m.on[p.type]);"*"in m.on&&y.push.apply(y,function(A,w,v){if(arguments.length===2)for(var $,R=0,U=w.length;R<U;R++)!$&&R in w||($||($=Array.prototype.slice.call(w,0,R)),$[R]=w[R]);return A.concat($||Array.prototype.slice.call(w))}([],Ue(me(m.on["*"])),!1));try{for(var h=function(A){var w=typeof Symbol=="function"&&Symbol.iterator,v=w&&A[w],$=0;if(v)return v.call(A);if(A&&typeof A.length=="number")return{next:function(){return A&&$>=A.length&&(A=void 0),{value:A&&A[$++],done:!A}}};throw new TypeError(w?"Object is not iterable.":"Symbol.iterator is not defined.")}(y),S=h.next();!S.done;S=h.next()){var k=S.value;if(k===void 0)return Pr(f,g);var x=typeof k=="string"?{target:k}:k,E=x.target,N=x.actions,C=N===void 0?[]:N,B=x.cond,F=B===void 0?function(){return!0}:B,j=E===void 0,L=E??f,M=t.states[L];if(F(g,p)){var W=Ue(Er((j?me(C):[].concat(m.exit,C,M.entry).filter(function(A){return A})).map(function(A){return xr(A,i._options.actions)}),g,p),3),rt=W[0],P=W[1],_=W[2],O=E??f;return{value:O,context:P,actions:rt,changed:E!==f||rt.length>0||_,matches:He(O)}}}}catch(A){u={error:A}}finally{try{S&&!S.done&&(c=h.return)&&c.call(h)}finally{if(u)throw u.error}}}return Pr(f,g)}};return i}const fs=ds({id:"sort",initial:ct,states:{[ct]:{on:{DIRECTION1:b,DIRECTION2:I}},[b]:{on:{DIRECTION1:I,DIRECTION2:ct}},[I]:{on:{DIRECTION1:ct,DIRECTION2:b}}}});function ms(t,e){const n=e===I?"DIRECTION2":"DIRECTION1";return fs.transition(t,n).value}function ps(t={}){const{sortTarget:e=null,orders:n=[]}=t,o=r.reactive({sortTarget:e,orders:n});return{sort:o,change:({target:i,orders:s})=>{if(o.sortTarget!==i){o.sortTarget=i,o.orders=s;return}const l=s.map((u,c)=>({...u,direction:ms(o.orders[c].direction,u.direction)}));o.sortTarget=i,o.orders=l}}}function hs(t=!1,e=K,n=K){const o=Ja();r.watch(o,a=>{if(r.unref(t)){if(a==="visible")return e();n()}})}const gs=["textContent"],ys={__name:"AdditionalStandingsText",props:{rows:{type:Array,default:()=>[]},additionalKey:{type:String,required:!0}},setup(t){const e=t,n=r.toRef(e,"rows"),{t:o,locale:a}=at(),{isVisible:i,text:s}=Yn(n,e.additionalKey,o,a);return(l,u)=>r.unref(i)?(r.openBlock(),r.createElementBlock("div",{key:0,class:"is-text-xs is-text-light is-mt-5 is-mb-5",textContent:r.toDisplayString(r.unref(s))},null,8,gs)):r.createCommentVNode("",!0)}},Nr={__name:"BaseSelect",props:{modelValue:{type:[String,Number],default:null}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,o=e,a=r.computed({get:()=>n.modelValue,set:i=>o("update:modelValue",i)});return(i,s)=>r.withDirectives((r.openBlock(),r.createElementBlock("select",{"onUpdate:modelValue":s[0]||(s[0]=l=>a.value=l),class:"base-input is-select"},[r.renderSlot(i.$slots,"default")],512)),[[r.vModelSelect,a.value]])}},bs={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"sort",class:"svg-inline--fa fa-sort fa-w-10",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"};function Ts(t,e){return r.openBlock(),r.createElementBlock("svg",bs,e[0]||(e[0]=[r.createElementVNode("path",{fill:"currentColor",d:"M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z"},null,-1)]))}const vr={render:Ts},Ss={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"sort-down",class:"svg-inline--fa fa-sort-down fa-w-10",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"};function ws(t,e){return r.openBlock(),r.createElementBlock("svg",Ss,e[0]||(e[0]=[r.createElementVNode("path",{fill:"currentColor",d:"M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z"},null,-1)]))}const Os={render:ws},As={"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"sort-up",class:"svg-inline--fa fa-sort-up fa-w-10",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"};function ks(t,e){return r.openBlock(),r.createElementBlock("svg",As,e[0]||(e[0]=[r.createElementVNode("path",{fill:"currentColor",d:"M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z"},null,-1)]))}const _s={render:ks},Pt=Math.min,Tt=Math.max,pe=Math.round,he=Math.floor,it=t=>({x:t,y:t}),xs={left:"right",right:"left",bottom:"top",top:"bottom"},Ps={start:"end",end:"start"};function Ye(t,e,n){return Tt(t,Pt(e,n))}function Rt(t,e){return typeof t=="function"?t(e):t}function St(t){return t.split("-")[0]}function zt(t){return t.split("-")[1]}function $r(t){return t==="x"?"y":"x"}function We(t){return t==="y"?"height":"width"}const Es=new Set(["top","bottom"]);function mt(t){return Es.has(St(t))?"y":"x"}function qe(t){return $r(mt(t))}function Ns(t,e,n){n===void 0&&(n=!1);const o=zt(t),a=qe(t),i=We(a);let s=a==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=ge(s)),[s,ge(s)]}function vs(t){const e=ge(t);return[Ke(t),e,Ke(e)]}function Ke(t){return t.replace(/start|end/g,e=>Ps[e])}const Mr=["left","right"],Dr=["right","left"],$s=["top","bottom"],Ms=["bottom","top"];function Ds(t,e,n){switch(t){case"top":case"bottom":return n?e?Dr:Mr:e?Mr:Dr;case"left":case"right":return e?$s:Ms;default:return[]}}function Cs(t,e,n,o){const a=zt(t);let i=Ds(St(t),n==="start",o);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map(Ke)))),i}function ge(t){return t.replace(/left|right|bottom|top/g,e=>xs[e])}function Ls(t){return{top:0,right:0,bottom:0,left:0,...t}}function Cr(t){return typeof t!="number"?Ls(t):{top:t,right:t,bottom:t,left:t}}function ye(t){const{x:e,y:n,width:o,height:a}=t;return{width:o,height:a,top:n,left:e,right:e+o,bottom:n+a,x:e,y:n}}function Lr(t,e,n){let{reference:o,floating:a}=t;const i=mt(e),s=qe(e),l=We(s),u=St(e),c=i==="y",d=o.x+o.width/2-a.width/2,f=o.y+o.height/2-a.height/2,g=o[l]/2-a[l]/2;let p;switch(u){case"top":p={x:d,y:o.y-a.height};break;case"bottom":p={x:d,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:f};break;case"left":p={x:o.x-a.width,y:f};break;default:p={x:o.x,y:o.y}}switch(zt(e)){case"start":p[s]-=g*(n&&c?-1:1);break;case"end":p[s]+=g*(n&&c?-1:1);break}return p}const Is=async(t,e,n)=>{const{placement:o="bottom",strategy:a="absolute",middleware:i=[],platform:s}=n,l=i.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:d,y:f}=Lr(c,o,u),g=o,p={},m=0;for(let y=0;y<l.length;y++){const{name:h,fn:S}=l[y],{x:k,y:x,data:E,reset:N}=await S({x:d,y:f,initialPlacement:o,placement:g,strategy:a,middlewareData:p,rects:c,platform:s,elements:{reference:t,floating:e}});d=k??d,f=x??f,p={...p,[h]:{...p[h],...E}},N&&m<=50&&(m++,typeof N=="object"&&(N.placement&&(g=N.placement),N.rects&&(c=N.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):N.rects),{x:d,y:f}=Lr(c,g,u)),y=-1)}return{x:d,y:f,placement:g,strategy:a,middlewareData:p}};async function Ir(t,e){var n;e===void 0&&(e={});const{x:o,y:a,platform:i,rects:s,elements:l,strategy:u}=t,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:g=!1,padding:p=0}=Rt(e,t),m=Cr(p),h=l[g?f==="floating"?"reference":"floating":f],S=ye(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(h)))==null||n?h:h.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:u})),k=f==="floating"?{x:o,y:a,width:s.floating.width,height:s.floating.height}:s.reference,x=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),E=await(i.isElement==null?void 0:i.isElement(x))?await(i.getScale==null?void 0:i.getScale(x))||{x:1,y:1}:{x:1,y:1},N=ye(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:k,offsetParent:x,strategy:u}):k);return{top:(S.top-N.top+m.top)/E.y,bottom:(N.bottom-S.bottom+m.bottom)/E.y,left:(S.left-N.left+m.left)/E.x,right:(N.right-S.right+m.right)/E.x}}const Bs=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:a,rects:i,platform:s,elements:l,middlewareData:u}=e,{element:c,padding:d=0}=Rt(t,e)||{};if(c==null)return{};const f=Cr(d),g={x:n,y:o},p=qe(a),m=We(p),y=await s.getDimensions(c),h=p==="y",S=h?"top":"left",k=h?"bottom":"right",x=h?"clientHeight":"clientWidth",E=i.reference[m]+i.reference[p]-g[p]-i.floating[m],N=g[p]-i.reference[p],C=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let B=C?C[x]:0;(!B||!await(s.isElement==null?void 0:s.isElement(C)))&&(B=l.floating[x]||i.floating[m]);const F=E/2-N/2,j=B/2-y[m]/2-1,L=Pt(f[S],j),M=Pt(f[k],j),W=L,rt=B-y[m]-M,P=B/2-y[m]/2+F,_=Ye(W,P,rt),O=!u.arrow&&zt(a)!=null&&P!==_&&i.reference[m]/2-(P<W?L:M)-y[m]/2<0,A=O?P<W?P-W:P-rt:0;return{[p]:g[p]+A,data:{[p]:_,centerOffset:P-_-A,...O&&{alignmentOffset:A}},reset:O}}}),Rs=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:a,middlewareData:i,rects:s,initialPlacement:l,platform:u,elements:c}=e,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:g,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:y=!0,...h}=Rt(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const S=St(a),k=mt(l),x=St(l)===l,E=await(u.isRTL==null?void 0:u.isRTL(c.floating)),N=g||(x||!y?[ge(l)]:vs(l)),C=m!=="none";!g&&C&&N.push(...Cs(l,y,m,E));const B=[l,...N],F=await Ir(e,h),j=[];let L=((o=i.flip)==null?void 0:o.overflows)||[];if(d&&j.push(F[S]),f){const P=Ns(a,s,E);j.push(F[P[0]],F[P[1]])}if(L=[...L,{placement:a,overflows:j}],!j.every(P=>P<=0)){var M,W;const P=(((M=i.flip)==null?void 0:M.index)||0)+1,_=B[P];if(_&&(!(f==="alignment"?k!==mt(_):!1)||L.every(w=>w.overflows[0]>0&&mt(w.placement)===k)))return{data:{index:P,overflows:L},reset:{placement:_}};let O=(W=L.filter(A=>A.overflows[0]<=0).sort((A,w)=>A.overflows[1]-w.overflows[1])[0])==null?void 0:W.placement;if(!O)switch(p){case"bestFit":{var rt;const A=(rt=L.filter(w=>{if(C){const v=mt(w.placement);return v===k||v==="y"}return!0}).map(w=>[w.placement,w.overflows.filter(v=>v>0).reduce((v,$)=>v+$,0)]).sort((w,v)=>w[1]-v[1])[0])==null?void 0:rt[0];A&&(O=A);break}case"initialPlacement":O=l;break}if(a!==O)return{reset:{placement:O}}}return{}}}},zs=new Set(["left","top"]);async function Vs(t,e){const{placement:n,platform:o,elements:a}=t,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),s=St(n),l=zt(n),u=mt(n)==="y",c=zs.has(s)?-1:1,d=i&&u?-1:1,f=Rt(e,t);let{mainAxis:g,crossAxis:p,alignmentAxis:m}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return l&&typeof m=="number"&&(p=l==="end"?m*-1:m),u?{x:p*d,y:g*c}:{x:g*c,y:p*d}}const Gs=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:a,y:i,placement:s,middlewareData:l}=e,u=await Vs(e,t);return s===((n=l.offset)==null?void 0:n.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:a+u.x,y:i+u.y,data:{...u,placement:s}}}}},Fs=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:h=>{let{x:S,y:k}=h;return{x:S,y:k}}},...u}=Rt(t,e),c={x:n,y:o},d=await Ir(e,u),f=mt(St(a)),g=$r(f);let p=c[g],m=c[f];if(i){const h=g==="y"?"top":"left",S=g==="y"?"bottom":"right",k=p+d[h],x=p-d[S];p=Ye(k,p,x)}if(s){const h=f==="y"?"top":"left",S=f==="y"?"bottom":"right",k=m+d[h],x=m-d[S];m=Ye(k,m,x)}const y=l.fn({...e,[g]:p,[f]:m});return{...y,data:{x:y.x-n,y:y.y-o,enabled:{[g]:i,[f]:s}}}}}};function be(){return typeof window<"u"}function Et(t){return Br(t)?(t.nodeName||"").toLowerCase():"#document"}function X(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function st(t){var e;return(e=(Br(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Br(t){return be()?t instanceof Node||t instanceof X(t).Node:!1}function et(t){return be()?t instanceof Element||t instanceof X(t).Element:!1}function lt(t){return be()?t instanceof HTMLElement||t instanceof X(t).HTMLElement:!1}function Rr(t){return!be()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof X(t).ShadowRoot}const js=new Set(["inline","contents"]);function Vt(t){const{overflow:e,overflowX:n,overflowY:o,display:a}=nt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!js.has(a)}const Us=new Set(["table","td","th"]);function Hs(t){return Us.has(Et(t))}const Ys=[":popover-open",":modal"];function Te(t){return Ys.some(e=>{try{return t.matches(e)}catch{return!1}})}const Ws=["transform","translate","scale","rotate","perspective"],qs=["transform","translate","scale","rotate","perspective","filter"],Ks=["paint","layout","strict","content"];function Ze(t){const e=Xe(),n=et(t)?nt(t):t;return Ws.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||qs.some(o=>(n.willChange||"").includes(o))||Ks.some(o=>(n.contain||"").includes(o))}function Zs(t){let e=pt(t);for(;lt(e)&&!Nt(e);){if(Ze(e))return e;if(Te(e))return null;e=pt(e)}return null}function Xe(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Xs=new Set(["html","body","#document"]);function Nt(t){return Xs.has(Et(t))}function nt(t){return X(t).getComputedStyle(t)}function Se(t){return et(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function pt(t){if(Et(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Rr(t)&&t.host||st(t);return Rr(e)?e.host:e}function zr(t){const e=pt(t);return Nt(e)?t.ownerDocument?t.ownerDocument.body:t.body:lt(e)&&Vt(e)?e:zr(e)}function Gt(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const a=zr(t),i=a===((o=t.ownerDocument)==null?void 0:o.body),s=X(a);if(i){const l=Je(s);return e.concat(s,s.visualViewport||[],Vt(a)?a:[],l&&n?Gt(l):[])}return e.concat(a,Gt(a,[],n))}function Je(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Vr(t){const e=nt(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const a=lt(t),i=a?t.offsetWidth:n,s=a?t.offsetHeight:o,l=pe(n)!==i||pe(o)!==s;return l&&(n=i,o=s),{width:n,height:o,$:l}}function Qe(t){return et(t)?t:t.contextElement}function vt(t){const e=Qe(t);if(!lt(e))return it(1);const n=e.getBoundingClientRect(),{width:o,height:a,$:i}=Vr(e);let s=(i?pe(n.width):n.width)/o,l=(i?pe(n.height):n.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Js=it(0);function Gr(t){const e=X(t);return!Xe()||!e.visualViewport?Js:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Qs(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==X(t)?!1:e}function wt(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const a=t.getBoundingClientRect(),i=Qe(t);let s=it(1);e&&(o?et(o)&&(s=vt(o)):s=vt(t));const l=Qs(i,n,o)?Gr(i):it(0);let u=(a.left+l.x)/s.x,c=(a.top+l.y)/s.y,d=a.width/s.x,f=a.height/s.y;if(i){const g=X(i),p=o&&et(o)?X(o):o;let m=g,y=Je(m);for(;y&&o&&p!==m;){const h=vt(y),S=y.getBoundingClientRect(),k=nt(y),x=S.left+(y.clientLeft+parseFloat(k.paddingLeft))*h.x,E=S.top+(y.clientTop+parseFloat(k.paddingTop))*h.y;u*=h.x,c*=h.y,d*=h.x,f*=h.y,u+=x,c+=E,m=X(y),y=Je(m)}}return ye({width:d,height:f,x:u,y:c})}function tn(t,e){const n=Se(t).scrollLeft;return e?e.left+n:wt(st(t)).left+n}function Fr(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),a=o.left+e.scrollLeft-(n?0:tn(t,o)),i=o.top+e.scrollTop;return{x:a,y:i}}function tl(t){let{elements:e,rect:n,offsetParent:o,strategy:a}=t;const i=a==="fixed",s=st(o),l=e?Te(e.floating):!1;if(o===s||l&&i)return n;let u={scrollLeft:0,scrollTop:0},c=it(1);const d=it(0),f=lt(o);if((f||!f&&!i)&&((Et(o)!=="body"||Vt(s))&&(u=Se(o)),lt(o))){const p=wt(o);c=vt(o),d.x=p.x+o.clientLeft,d.y=p.y+o.clientTop}const g=s&&!f&&!i?Fr(s,u,!0):it(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+d.x+g.x,y:n.y*c.y-u.scrollTop*c.y+d.y+g.y}}function el(t){return Array.from(t.getClientRects())}function nl(t){const e=st(t),n=Se(t),o=t.ownerDocument.body,a=Tt(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=Tt(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+tn(t);const l=-n.scrollTop;return nt(o).direction==="rtl"&&(s+=Tt(e.clientWidth,o.clientWidth)-a),{width:a,height:i,x:s,y:l}}function rl(t,e){const n=X(t),o=st(t),a=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,l=0,u=0;if(a){i=a.width,s=a.height;const c=Xe();(!c||c&&e==="fixed")&&(l=a.offsetLeft,u=a.offsetTop)}return{width:i,height:s,x:l,y:u}}const ol=new Set(["absolute","fixed"]);function al(t,e){const n=wt(t,!0,e==="fixed"),o=n.top+t.clientTop,a=n.left+t.clientLeft,i=lt(t)?vt(t):it(1),s=t.clientWidth*i.x,l=t.clientHeight*i.y,u=a*i.x,c=o*i.y;return{width:s,height:l,x:u,y:c}}function jr(t,e,n){let o;if(e==="viewport")o=rl(t,n);else if(e==="document")o=nl(st(t));else if(et(e))o=al(e,n);else{const a=Gr(t);o={x:e.x-a.x,y:e.y-a.y,width:e.width,height:e.height}}return ye(o)}function Ur(t,e){const n=pt(t);return n===e||!et(n)||Nt(n)?!1:nt(n).position==="fixed"||Ur(n,e)}function il(t,e){const n=e.get(t);if(n)return n;let o=Gt(t,[],!1).filter(l=>et(l)&&Et(l)!=="body"),a=null;const i=nt(t).position==="fixed";let s=i?pt(t):t;for(;et(s)&&!Nt(s);){const l=nt(s),u=Ze(s);!u&&l.position==="fixed"&&(a=null),(i?!u&&!a:!u&&l.position==="static"&&!!a&&ol.has(a.position)||Vt(s)&&!u&&Ur(t,s))?o=o.filter(d=>d!==s):a=l,s=pt(s)}return e.set(t,o),o}function sl(t){let{element:e,boundary:n,rootBoundary:o,strategy:a}=t;const s=[...n==="clippingAncestors"?Te(e)?[]:il(e,this._c):[].concat(n),o],l=s[0],u=s.reduce((c,d)=>{const f=jr(e,d,a);return c.top=Tt(f.top,c.top),c.right=Pt(f.right,c.right),c.bottom=Pt(f.bottom,c.bottom),c.left=Tt(f.left,c.left),c},jr(e,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function ll(t){const{width:e,height:n}=Vr(t);return{width:e,height:n}}function cl(t,e,n){const o=lt(e),a=st(e),i=n==="fixed",s=wt(t,!0,i,e);let l={scrollLeft:0,scrollTop:0};const u=it(0);function c(){u.x=tn(a)}if(o||!o&&!i)if((Et(e)!=="body"||Vt(a))&&(l=Se(e)),o){const p=wt(e,!0,i,e);u.x=p.x+e.clientLeft,u.y=p.y+e.clientTop}else a&&c();i&&!o&&a&&c();const d=a&&!o&&!i?Fr(a,l):it(0),f=s.left+l.scrollLeft-u.x-d.x,g=s.top+l.scrollTop-u.y-d.y;return{x:f,y:g,width:s.width,height:s.height}}function en(t){return nt(t).position==="static"}function Hr(t,e){if(!lt(t)||nt(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return st(t)===n&&(n=n.ownerDocument.body),n}function Yr(t,e){const n=X(t);if(Te(t))return n;if(!lt(t)){let a=pt(t);for(;a&&!Nt(a);){if(et(a)&&!en(a))return a;a=pt(a)}return n}let o=Hr(t,e);for(;o&&Hs(o)&&en(o);)o=Hr(o,e);return o&&Nt(o)&&en(o)&&!Ze(o)?n:o||Zs(t)||n}const ul=async function(t){const e=this.getOffsetParent||Yr,n=this.getDimensions,o=await n(t.floating);return{reference:cl(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function dl(t){return nt(t).direction==="rtl"}const fl={convertOffsetParentRelativeRectToViewportRelativeRect:tl,getDocumentElement:st,getClippingRect:sl,getOffsetParent:Yr,getElementRects:ul,getClientRects:el,getDimensions:ll,getScale:vt,isElement:et,isRTL:dl};function Wr(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function ml(t,e){let n=null,o;const a=st(t);function i(){var l;clearTimeout(o),(l=n)==null||l.disconnect(),n=null}function s(l,u){l===void 0&&(l=!1),u===void 0&&(u=1),i();const c=t.getBoundingClientRect(),{left:d,top:f,width:g,height:p}=c;if(l||e(),!g||!p)return;const m=he(f),y=he(a.clientWidth-(d+g)),h=he(a.clientHeight-(f+p)),S=he(d),x={rootMargin:-m+"px "+-y+"px "+-h+"px "+-S+"px",threshold:Tt(0,Pt(1,u))||1};let E=!0;function N(C){const B=C[0].intersectionRatio;if(B!==u){if(!E)return s();B?s(!1,B):o=setTimeout(()=>{s(!1,1e-7)},1e3)}B===1&&!Wr(c,t.getBoundingClientRect())&&s(),E=!1}try{n=new IntersectionObserver(N,{...x,root:a.ownerDocument})}catch{n=new IntersectionObserver(N,x)}n.observe(t)}return s(!0),i}function pl(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:u=!1}=o,c=Qe(t),d=a||i?[...c?Gt(c):[],...Gt(e)]:[];d.forEach(S=>{a&&S.addEventListener("scroll",n,{passive:!0}),i&&S.addEventListener("resize",n)});const f=c&&l?ml(c,n):null;let g=-1,p=null;s&&(p=new ResizeObserver(S=>{let[k]=S;k&&k.target===c&&p&&(p.unobserve(e),cancelAnimationFrame(g),g=requestAnimationFrame(()=>{var x;(x=p)==null||x.observe(e)})),n()}),c&&!u&&p.observe(c),p.observe(e));let m,y=u?wt(t):null;u&&h();function h(){const S=wt(t);y&&!Wr(y,S)&&n(),y=S,m=requestAnimationFrame(h)}return n(),()=>{var S;d.forEach(k=>{a&&k.removeEventListener("scroll",n),i&&k.removeEventListener("resize",n)}),f?.(),(S=p)==null||S.disconnect(),p=null,u&&cancelAnimationFrame(m)}}const hl=Gs,gl=Fs,yl=Rs,qr=Bs,bl=(t,e,n)=>{const o=new Map,a={platform:fl,...n},i={...a.platform,_c:o};return Is(t,e,{...a,platform:i})};function Kr(t,e="body"){if(!t)return;if(typeof e!="string"){e?.append(t);return}document.querySelector(e)?.append(t)}function Tl(t,e=()=>({})){return t.slice().sort((n,o)=>{const a=e(n),i=e(o);if(a===null||i===null)return 0;const s=a.compareDocumentPosition(i);return s&Node.DOCUMENT_POSITION_FOLLOWING?-1:s&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function Sl({middleware:t,placement:e=null,strategy:n,append:o,enabled:a}){const i=r.ref(null),s=r.ref(null),l=r.ref(null),u=r.ref(null),c=r.ref(null),d=r.ref(null),f=r.ref(null),g=r.ref(n??"absolute"),p=r.ref(null),m=()=>{!i.value||!s.value||bl(i.value,s.value,{middleware:t,placement:e,strategy:n}).then(h=>{l.value=h.x,u.value=h.y,g.value=h.strategy,c.value=h.middlewareData.arrow.x,d.value=h.middlewareData.arrow.y,f.value=h.placement})};r.watch(()=>({reference:r.unref(i),floating:r.unref(s),append:r.unref(o)}),({floating:h,append:S})=>{S&&Kr(h,S),m()},{flush:"post"}),r.watch(a,h=>{if(!(!i.value||!s.value)){if(!h)return y();p.value=pl(i.value,s.value,m,{})}},{flush:"post"});function y(){p.value?.(),p.value=null}return{x:l,y:u,arrowX:c,arrowY:d,placement:f,reference:i,floating:s,strategy:g,update:m}}function wl(t){const{element:e,padding:n}=t;return{name:"arrow",options:t,fn(o){return r.isRef(e)?e.value!=null?qr({element:e.value,padding:n}).fn(o):{}:e?qr({element:e,padding:n}).fn(o):{}}}}const Ol=["data-placement"],nn={__name:"FloatingPanel",props:{disabled:{type:Boolean,default:!1},placement:{type:String,default:"bottom"},theme:{type:String,default:"tooltip"},content:{type:String,default:""},appendTo:{type:[Object,String],default:"body"},offset:{type:Number,default:2},isArrowVisible:{type:Boolean,default:!0}},setup(t){const e=t,n=r.ref(!1),o=r.ref(null),{x:a,y:i,arrowX:s,arrowY:l,placement:u,reference:c,floating:d,strategy:f}=Sl({placement:e.placement,middleware:[yl(),gl({padding:5}),hl(e.offset),wl({element:o,padding:5})],append:r.computed(()=>e.appendTo),enabled:n});function g(){e.disabled||n.value||(n.value=!0)}function p(h){n.value&&h&&(n.value=!1)}function m(h){c.value=h}const y={mouseenter:g,mouseleave:p,focus:g,blur:p};return Xa(d,h=>{c.value?.contains(h.target)||p()}),(h,S)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.renderSlot(h.$slots,"default",{setRef:m,show:g,hide:p,events:y}),r.createElementVNode("div",{ref_key:"floating",ref:d,"data-placement":r.unref(u),style:r.normalizeStyle({position:r.unref(f),top:r.unref(i)?`${r.unref(i)}px`:"",left:r.unref(a)?`${r.unref(a)}px`:""})},[r.createVNode(r.Transition,{name:"transition-fade",mode:"out-in"},{default:r.withCtx(()=>[n.value?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(["floating-content",[[`is-${e.theme}`]]])},[r.renderSlot(h.$slots,"content",{close:p},()=>[r.createTextVNode(r.toDisplayString(t.content),1)]),t.isArrowVisible?(r.openBlock(),r.createElementBlock("div",{key:0,ref_key:"arrowRef",ref:o,class:"is-arrow",style:r.normalizeStyle({position:r.unref(f),top:r.unref(l)?`${r.unref(l)}px`:"",left:r.unref(s)?`${r.unref(s)}px`:""})},null,4)):r.createCommentVNode("",!0)],2)):r.createCommentVNode("",!0)]),_:3})],12,Ol)],64))}},Al={class:"table"},kl=["tabindex","onMouseenter","onMouseleave","onFocus","onBlur","onClick","onKeydown"],_l={key:0},xl=["colspan"],Pl={key:1},El=["colspan"],rn={__name:"DataTable",props:{columns:{type:Object,default:()=>({})},rows:{type:Array,default:()=>[]},sort:{type:Object,default:()=>({})},isLoading:{type:Boolean,default:!1},appendTo:{type:[Object,String],default:null}},emits:["sort"],setup(t,{emit:e}){const n=t,o=e,{isLoading:a,appendTo:i}=r.toRefs(n),s=sr(a,{delay:yn}),{t:l}=at(),u=r.computed(()=>n.columns),c=r.computed(()=>Object.keys(n.columns).length);function d(f,g){f.sortOrders&&o("sort",{target:g,orders:f.sortOrders})}return(f,g)=>(r.openBlock(),r.createElementBlock("table",Al,[r.createElementVNode("thead",null,[r.createElementVNode("tr",null,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.value,(p,m)=>(r.openBlock(),r.createBlock(nn,{key:m,placement:"top",content:p.tooltip,disabled:!p.tooltip,"append-to":r.unref(i)},{default:r.withCtx(({setRef:y,show:h,hide:S})=>[r.createElementVNode("th",{ref_for:!0,ref:y,class:r.normalizeClass([[p.class],{"is-active":m===t.sort.sortTarget&&t.sort.orders[0].direction!==r.unref(ct),"is-sortable":p.sortOrders,"is-desc":m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(b),"is-asc":m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(I)}]),tabindex:p.sortOrders?0:-1,role:"button",onMouseenter:h,onMouseleave:S,onFocus:h,onBlur:S,onClick:k=>d(p,m),onKeydown:[r.withKeys(r.withModifiers(k=>d(p,m),["prevent"]),["space"]),r.withKeys(r.withModifiers(k=>d(p,m),["prevent"]),["enter"])]},[r.renderSlot(f.$slots,`header-${m}`,{column:p},()=>[r.createTextVNode(r.toDisplayString(p.label),1)]),p.sortOrders&&m!==t.sort.sortTarget?(r.openBlock(),r.createBlock(r.unref(vr),{key:0,class:"is-icon-sort"})):r.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(ct)?(r.openBlock(),r.createBlock(r.unref(vr),{key:1,class:"is-icon-sort"})):r.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(b)?(r.openBlock(),r.createBlock(r.unref(Os),{key:2,class:"is-icon-sort"})):r.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(I)?(r.openBlock(),r.createBlock(r.unref(_s),{key:3,class:"is-icon-sort"})):r.createCommentVNode("",!0)],42,kl)]),_:2},1032,["content","disabled","append-to"]))),128))])]),r.createElementVNode("tbody",null,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(n.rows,(p,m)=>(r.openBlock(),r.createElementBlock("tr",{key:m,class:r.normalizeClass(p.rowClasses)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.value,(y,h)=>(r.openBlock(),r.createElementBlock("td",{key:h,class:r.normalizeClass([[y.class],{"is-active":h===t.sort.sortTarget&&t.sort.orders[0].direction!==r.unref(ct),"is-zero":p[h]===0||p[h]==="00:00"}])},[r.renderSlot(f.$slots,`cell-${h}`,{row:p,prop:h},()=>[r.createTextVNode(r.toDisplayString(p[h]),1)])],2))),128))],2))),128))]),r.unref(s)&&t.rows.length===0?(r.openBlock(),r.createElementBlock("tfoot",_l,[r.createElementVNode("tr",null,[r.createElementVNode("td",{colspan:c.value},[r.renderSlot(f.$slots,"loading",{},()=>[r.createTextVNode(r.toDisplayString(r.unref(l)("common.loading")),1)])],8,xl)])])):r.createCommentVNode("",!0),t.rows.length===0&&!r.unref(a)&&!r.unref(s)?(r.openBlock(),r.createElementBlock("tfoot",Pl,[r.createElementVNode("tr",null,[r.createElementVNode("td",{colspan:c.value},[r.renderSlot(f.$slots,"empty",{},()=>[r.createTextVNode(r.toDisplayString(r.unref(l)("common.noData")),1)])],8,El)])])):r.createCommentVNode("",!0)]))}},Nl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function vl(t,e){return r.openBlock(),r.createElementBlock("svg",Nl,e[0]||(e[0]=[r.createElementVNode("path",{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"},null,-1),r.createElementVNode("line",{x1:"12",y1:"9",x2:"12",y2:"13"},null,-1),r.createElementVNode("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"},null,-1)]))}const $l={render:vl},Ml={class:"error-notice"},Dl=["textContent"],Cl={__name:"ErrorNotice",props:{error:{type:Object,default:()=>({})},useRetry:{type:Boolean,default:!1}},emits:["retry"],setup(t){const e=t,{t:n,hasTranslation:o}=at(),a=r.computed(()=>o(`errors.${e.error.key}`)?n(`errors.${e.error.key}`,e.error.cause||[e.error?.message]):e.error?.message);return(i,s)=>(r.openBlock(),r.createElementBlock("div",Ml,[r.createVNode(r.unref($l),{class:"icon",width:"20",height:"20"}),r.createElementVNode("span",null,r.toDisplayString(a.value),1),t.useRetry?(r.openBlock(),r.createElementBlock("button",{key:0,type:"button",onClick:s[0]||(s[0]=l=>i.$emit("retry")),textContent:r.toDisplayString(r.unref(n)("common.retry"))},null,8,Dl)):r.createCommentVNode("",!0)]))}},Ll={__name:"ErrorProvider",setup(t){const{message:e,hasError:n,error:o}=tr();return(a,i)=>r.renderSlot(a.$slots,"default",{message:r.unref(e),error:r.unref(o),hasError:r.unref(n)})}},Il={errors:{"undefined-column":"The {column} column is not exists!","invalid-season-name":"Invalid season name","api-key-not-found":"API Key not found",gameData:"Game Data: {0}",gameStats:"Game Stats: {0}",gameEvents:"Game Events: {0}",gameOfficials:"Game Officials : {0}"},common:{loading:"Loading...",noData:"No data to display",selectTimezone:"*All times are displayed according to your computer's time zone ({timezone}). Change: ",hungary:"Hungary",romania:"Romania",shootoutShort:"SO",overtimeShort:"OT",all:"All",report:"Report Sheet",video:"Video",retry:"Try Again"},additionalText:{inheritedPoints:{prependix:"",content:"{team} has {points} extra point(s)",appendix:"based on its results in the previous championship phase."},penaltyPoints:{prependix:"* ",content:"{points} point(s) deducted from team {team}",appendix:"based on the decision of the Disciplinary Committee."}},table:{blank:"#",info:"{min} to {max} of {total} entries",team:{short:"Team",tooltip:"Team name"},game:{short:"GP",tooltip:"Game Played"},wins:{short:"W",tooltip:"Wins"},draw:{short:"D",tooltip:"Draw"},otw:{short:"OTW",tooltip:"Overtime Wins"},sow:{short:"SOW",tooltip:"Shoot Out Wins"},sol:{short:"SOL",tooltip:"Shoot Out Losses"},otl:{short:"OTL",tooltip:"Overtime Losses"},losses:{short:"L",tooltip:"Losses"},goalFor:{short:"GF",tooltip:"Goals For"},goalAgainst:{short:"GA",tooltip:"Goals Against"},goalDiff:{short:"GD",tooltip:"Goal Differential"},points:{short:"P",tooltip:"Points"},name:{short:"Name",tooltip:"Player name"},goals:{short:"G",tooltip:"Goals"},assists:{short:"A",tooltip:"Assists"},plusMinus:{short:"+/-",tooltip:"Plus/Minus"},sog:{short:"S",tooltip:"Shots on Goal"},so:{short:"SO",tooltip:"Shutouts"},sogPercent:{short:"S%",tooltip:"Shooting percentage"},gameName:{short:"#",tooltip:"Game name"},gameDate:{short:"Date",tooltip:"Scheduled Date"},gameDateTime:{short:"*Time ({offsetName})",tooltip:"Scheduled Time (Offset Name)"},homeTeam:{short:"Home",tooltip:"Home Team"},awayTeam:{short:"Away",tooltip:"Away Team"},location:{short:"Location",tooltip:"Game Location"},broadcast:{short:"Broadcast",tooltip:"Television Broadcast"},minorPenalties:{short:"MINOR",tooltip:"Penalties Minor"},majorPenalties:{short:"MAJOR",tooltip:"Penalties Major"},misconducts:{short:"MISC",tooltip:"Penalties Misconduct"},gameMisconducts:{short:"GA-MI",tooltip:"Penalties Game Misconduct"},matchPenalties:{short:"MATCH",tooltip:"Penalties Match"},pim:{short:"PIM",tooltip:"Penalty Minutes"},pimPerGame:{short:"PIM/G",tooltip:"Penalty Minutes per Game"},gpgk:{short:"GP",tooltip:"Games Played"},gpi:{short:"GPI",tooltip:"Games Played In"},toi:{short:"TOI",tooltip:"Time On Ice"},toiPercent:{short:"TOI%",tooltip:"Time On Ice as Percentage"},ga:{short:"GA",tooltip:"Goals Against"},gaa:{short:"GAA",tooltip:"Goals Against Average"},sa:{short:"SA",tooltip:"Shots Against"},svs:{short:"SVS",tooltip:"Saves"},svsPercent:{short:"SV%",tooltip:"Save Percentage"},homeHeader:{short:"Home:",tooltip:""},awayHeader:{short:"Away:",tooltip:""},totalHeader:{short:"Total:",tooltip:""},homeGame:{short:"GP",tooltip:"Home Games Played"},awayGame:{short:"GP",tooltip:"Away Games Played"},totalGame:{short:"GP",tooltip:"Total Games Played"},homeAttendance:{short:"Att",tooltip:"Home Attendance"},awayAttendance:{short:"Att",tooltip:"Away Attendance"},totalAttendance:{short:"Att",tooltip:"Total Attendance"},homeAttendanceAvg:{short:"Avg",tooltip:"Home Average Attendance"},awayAttendanceAvg:{short:"Avg",tooltip:"Away Average Attendance"},totalAttendanceAvg:{short:"Avg",tooltip:"Total Average Attendance"},powerplayDisadvantages:{short:"DVG",tooltip:"Disadvantages (Number of Times Shorthanded)"},dvgTime:{short:"DVG-T",tooltip:"Disadvantages Time"},dvgTimePP1:{short:"DVG-T PP1",tooltip:"Disadvantages Time (Period of PP1)"},dvgTimePP2:{short:"DVG-T PP2",tooltip:"Disadvantages Time (Period of PP2)"},ppga:{short:"PPGA",tooltip:"Powerplay Goals Against"},shgf:{short:"SHGF",tooltip:"Shorthanded Goals For"},pkPercent:{short:"PK%",tooltip:"Penalty Killing Percentage"},adv:{short:"ADV",tooltip:"Advantages (Times on Powerplay)"},advTime:{short:"ADV-T",tooltip:"Advantages Time (Period of Powerplay)"},advTimePP1:{short:"ADV-T PP1",tooltip:"Advantages Time (Period of PP1)"},advTimePP2:{short:"ADV-T PP2",tooltip:"Advantages Time (Period of PP2)"},ppgf:{short:"PPGF",tooltip:"Powerplay Goals For"},shga:{short:"SHGA",tooltip:"Shorthanded Goals Against"},ppPercent:{short:"PP%",tooltip:"Powerplay Percentage"},gfgp:{short:"GF/GP",tooltip:"Szerzett gólátlag"},gagp:{short:"GA/GP",tooltip:"Kapott gólátlag"},sogp:{short:"Shots/GP",tooltip:"Átlagos lövésszám"},sagp:{short:"SA/GP",tooltip:"Shots Against per Game"},jerseyNumber:{short:"#",tooltip:"Jersey Number"},row:{short:"Row",tooltip:"Row"},position:{short:"Position",tooltip:"Position"},teamOfficials:{short:"Team officials",tooltip:"Team officials"},score:{short:"Score",tooltip:"Actual Game Score"},opponent:{short:"Opponent",tooltip:"Opponent"},result:{short:"Result",tooltip:"Result"},resultType:{short:"#",tooltip:"Result Type"},atoi:{short:"ATOI",tooltip:"Average Time On Ice"},shf:{short:"SHF",tooltip:"Shifts"},ashf:{short:"ASHF",tooltip:"Average Shifts"},eqToi:{short:"EQ-TOI",tooltip:"Time On Ice in Equal"},pp1Toi:{short:"PP1-TOI",tooltip:"Time On Ice in PowerPlay 1"},pp2Toi:{short:"PP2-TOI",tooltip:"Time On Ice in PowerPlay 2"},sh1Toi:{short:"SH1-TOI",tooltip:"Time On Ice in Shorthanded 1"},sh2Toi:{short:"SH2-TOI",tooltip:"Time On Ice in Shorthanded 2"},eqAToi:{short:"EQ-A-TOI",tooltip:"Average Time On Ice in Equal"},pp1AToi:{short:"PP1-A-TOI",tooltip:"Average Time On Ice in PowerPlay 1"},pp2AToi:{short:"PP2-A-TOI",tooltip:"Average Time On Ice in PowerPlay 2"},sh1AToi:{short:"SH1-A-TOI",tooltip:"Average Time On Ice in Shorthanded 1"},sh2AToi:{short:"SH2-A-TOI",tooltip:"Average Time On Ice in Shorthanded 2"},role:{short:"Role",tooltip:"Role"}},game:{data:{localTime:"Game local time"},status:{jury:"Jury result",delayed:"Game delayed"},period:{wu:"Preparation",pre:"Preparation Ended",p1:"First Period",p1_int:"First Period Ended",p2:"Second Period",p2_int:"Second Period Ended",p3:"Third Period",p3_int:"Third Period Ended",p4:"Fourth Period",p4_int:"Fourth Period Ended",p5:"Fifth Period",p5_int:"Fifth Period Ended",p6:"Sixth Period",p6_int:"Sixth Period Ended",ot:"Overtime",ot_int:"Overtime Ended",so:"Shoot Out",so_int:"Shoot Out Ended",end:"Game Ended",Bemelegítés:"Warm-up","Bemelegítés vége":"Warm-up End","1. harmad":"First period","1. harmad vége":"First period End","2. harmad":"Second period","2. harmad vége":"Second period End","3. harmad":"Third period","3. harmad vége":"Third period End","4. harmad":"IV. period","4. harmad vége":"IV. period End","5. harmad":"V. period","5. harmad vége":"V. period End","6. harmad":"VI. period","6. harmad vége":"VI. period End",Hosszabbítás:"Overtime","Hosszabbítás vége":"Overtime End",Büntetőlövések:"Penalty Shot",Végeredmény:"Game Completed",Szétlövés:"Shoot Out"}}},Bl={errors:{"undefined-column":"A(z) {column} oszlop nem létezik!","invalid-season-name":"Érvénytelen szezon név","api-key-not-found":"API Kulcs nem megfelelő",gameData:"Game Data: {0}",gameStats:"Game Stats: {0}",gameEvents:"Game Events: {0}",gameOfficials:"Game Officials: {0}"},common:{loading:"Töltődés...",noData:"Nincs megjeleníthető adat",selectTimezone:"*Minden időpont a számítógép időzónája szerint jelenik meg ({timezone}). Váltás: ",hungary:"Magyarország",romania:"Románia",shootoutShort:"SO",overtimeShort:"OT",all:"Mind",report:"Jegyzőkönyv",video:"Videó",retry:"Újra"},additionalText:{inheritedPoints:{prependix:"A megelőző bajnokság szakaszban elért eredménye alapján",content:"{team} csapata {points}",appendix:"többletponttal rendelkezik."},penaltyPoints:{prependix:"* Fegyelmi Bizottság döntése alapján:",content:"{team} csapatától {points} pont",appendix:"levonva."}},table:{blank:"#",info:"{min} - {max} / {total} db",team:{short:"Csapat",tooltip:"Csapatnév"},game:{short:"GP",tooltip:"Mérkőzésszám"},wins:{short:"W",tooltip:"Győzelem"},draw:{short:"D",tooltip:"Döntetlen"},otw:{short:"OTW",tooltip:"Győzelem Hosszabbításban"},sow:{short:"SOW",tooltip:"Győzelem Szétlövésben"},sol:{short:"SOL",tooltip:"Vereség Szétlövésben"},otl:{short:"OTL",tooltip:"Vereség Hosszabbításban"},losses:{short:"L",tooltip:"Vereség"},goalFor:{short:"GF",tooltip:"Szerzett Gól"},goalAgainst:{short:"GA",tooltip:"Kapott Gól"},goalDiff:{short:"GD",tooltip:"Gólkülönbség"},name:{short:"Név",tooltip:"Játékosnév"},goals:{short:"G",tooltip:"Gólok"},assists:{short:"A",tooltip:"Gólpasszok"},points:{short:"P",tooltip:"Pontok"},plusMinus:{short:"+/-",tooltip:"Plussz/Minusz"},sog:{short:"S",tooltip:"Lövések"},so:{short:"SO",tooltip:"Kapott gól nélküli mérkőzések"},sogPercent:{short:"S%",tooltip:"Lövés Hatékonyság"},gameName:{short:"#",tooltip:"Mérkőzés Sorszáma"},gameDate:{short:"Dátum",tooltip:"Mérkőzés Dátuma"},gameDateTime:{short:"*Idő ({offsetName})",tooltip:"Mérkőzés kezdési ideje (Zóna neve)"},homeTeam:{short:"Hazai",tooltip:"Hazai Csapat"},awayTeam:{short:"Vendég",tooltip:"Vendég Csapat"},location:{short:"Helyszín",tooltip:"Mérkőzés Helyszíne"},broadcast:{short:"TV",tooltip:"TV Közvetítés"},minorPenalties:{short:"MINOR",tooltip:"Kisbüntetés (2p)"},majorPenalties:{short:"MAJOR",tooltip:"Büntetés (5p)"},misconducts:{short:"MISC",tooltip:"Fegyelmi büntetés (10p)"},gameMisconducts:{short:"GA-MI",tooltip:"Fegyelmi büntetés (20p)"},matchPenalties:{short:"MATCH",tooltip:"Végleges kiállítások (25p)"},pim:{short:"BÜP",tooltip:"Büntetés Percek"},pimPerGame:{short:"BÜP/M",tooltip:"Mérkőzésenkénti Büntetés Percek"},gpgk:{short:"GP",tooltip:"Mérkőzésre Nevezve"},gpi:{short:"GPI",tooltip:"Mérkőzésen Játszott"},toi:{short:"TOI",tooltip:"Jégen Töltött Idő"},toiPercent:{short:"TOI%",tooltip:"Jégen Töltött Idő Százalék"},ga:{short:"GA",tooltip:"Kapott Gól"},gaa:{short:"GAA",tooltip:"Kapott Gólátlag"},sa:{short:"SA",tooltip:"Kapott Lövés"},svs:{short:"SVS",tooltip:"Védett Lövés"},svsPercent:{short:"VH%",tooltip:"Védés Hatékonyság"},homeHeader:{short:"Hazai:",tooltip:""},awayHeader:{short:"Vendég:",tooltip:""},totalHeader:{short:"Összes:",tooltip:""},homeGame:{short:"M",tooltip:"Hazai Mérkőzés"},awayGame:{short:"M",tooltip:"Vendég Mérkőzés"},totalGame:{short:"M",tooltip:"Összes Mérkőzés"},homeAttendance:{short:"Nézőszám",tooltip:"Hazai Néző"},awayAttendance:{short:"Nézőszám",tooltip:"Vendég Néző"},totalAttendance:{short:"Nézőszám",tooltip:"Összes Néző"},homeAttendanceAvg:{short:"Átlag",tooltip:"Hazi Néző Átlag"},awayAttendanceAvg:{short:"Átlag",tooltip:"Vendég Néző Átlag"},totalAttendanceAvg:{short:"Átlag",tooltip:"Összes Néző Átlag"},powerplayDisadvantages:{short:"DVG",tooltip:"Emberhátrányok"},dvgTime:{short:"DVG-T",tooltip:"Emberhátrányban Töltött Idő"},dvgTimePP1:{short:"DVG-T PP1",tooltip:"Szimpla emberhátrányban töltött idő"},dvgTimePP2:{short:"DVG-T PP2",tooltip:"Kettős emberhátrányban töltött idő"},ppga:{short:"PPGA",tooltip:"Emberhátrányban kapott gólok"},shgf:{short:"SHGF",tooltip:"Emberhátrányban szerzett gól"},pkPercent:{short:"PK%",tooltip:"Emberhátrány kivédekezés"},adv:{short:"ADV",tooltip:"Emberelőnyök száma"},advTime:{short:"ADV-T",tooltip:"Emberelőnyben töltött idő"},advTimePP1:{short:"ADV-T PP1",tooltip:"Szimpla emberelőnyben töltött idő"},advTimePP2:{short:"ADV-T PP2",tooltip:"Kettős emberelőnyben töltött idő"},ppgf:{short:"PPGF",tooltip:"Emberelőnyben szerzett gólok"},shga:{short:"SHGA",tooltip:"Emberelőnyben kapott gólok"},ppPercent:{short:"PP%",tooltip:"Emberelőny kihasználás"},gfgp:{short:"GF/GP",tooltip:"Szerzett gólátlag"},gagp:{short:"GA/GP",tooltip:"Kapott gólátlag"},sogp:{short:"Shots/GP",tooltip:"Átlagos lövésszám"},sagp:{short:"SA/GP",tooltip:"Átlagos kapott lövésszám"},jerseyNumber:{short:"#",tooltip:"Mezszám"},row:{short:"Sor",tooltip:"Sor"},position:{short:"Po",tooltip:"Poszt"},teamOfficials:{short:"Hivatalos Személyek",tooltip:"Hivatalos Személyek"},score:{short:"Eredmény",tooltip:"Aktuális eredmény"},opponent:{short:"Ellenfél",tooltip:"Ellenfél"},result:{short:"Eredmény",tooltip:"Végeredmény"},resultType:{short:"#",tooltip:"Végeredmény típusa"},atoi:{short:"ATOI",tooltip:"Átlagos jégen töltött idő"},shf:{short:"SHF",tooltip:"Jégre lépések száma"},ashf:{short:"ASHF",tooltip:"Jégre lépések száma átlagosan"},eqToi:{short:"EQ-TOI",tooltip:"Jégen töltött idő azonos létszámban"},pp1Toi:{short:"PP1-TOI",tooltip:"Jégen töltött idő egyszeres emberelőnyben"},pp2Toi:{short:"PP2-TOI",tooltip:"Jégen töltött idő kétszeres emberelőnyben"},sh1Toi:{short:"SH1-TOI",tooltip:"Jégen töltött idő egyszeres emberhátrányban"},sh2Toi:{short:"SH2-TOI",tooltip:"Jégen töltött idő kétszeres emberhátrányban"},eqAToi:{short:"EQ-A-TOI",tooltip:"Átlagos jégen töltött idő azonos létszámban"},pp1AToi:{short:"PP1-A-TOI",tooltip:"Átlagos jégen töltött idő egyszeres emberelőnyben"},pp2AToi:{short:"PP2-A-TOI",tooltip:"Átlagos jégen töltött idő kétszeres emberelőnyben"},sh1AToi:{short:"SH1-A-TOI",tooltip:"Átlagos jégen töltött idő egyszeres emberhátrányban"},sh2AToi:{short:"SH2-A-TOI",tooltip:"Átlagos jégen töltött idő kétszeres emberhátrányban"},role:{short:"Szerep",tooltip:"Szerep"}},game:{data:{localTime:"Helyszín szerinti idő"},status:{jury:"Versenybíróság",delayed:"Elhalasztva"},period:{wu:"Bemelegítés",pre:"Bemelegítés vége",p1:"I. játékrész",p1_int:"I. játékrész vége",p2:"II. játékrész",p2_int:"II. játékrész vége",p3:"III. játékrész",p3_int:"III. játékrész vége",p4:"IV. játékrész",p4_int:"IV. játékrész vége",p5:"V. játékrész",p5_int:"V. játékrész vége",p6:"VI. játékrész",p6_int:"VI. játékrész vége",ot:"Hosszabbítás",ot_int:"Hosszabbítás vége",so:"Szétlövés",so_int:"Szétlövés vége",end:"Végeredmény",Bemelegítés:"Bemelegítés","Bemelegítés vége":"Bemelegítés Vége","1. harmad":"I. harmad","1. harmad vége":"I. harmad Vége","2. harmad":"II. harmad","2. harmad vége":"II. harmad Vége","3. harmad":"III. harmad","3. harmad vége":"III. harmad Vége","4. harmad":"IV. harmad","4. harmad vége":"IV. harmad Vége","5. harmad":"V. harmad","5. harmad vége":"V. harmad Vége","6. harmad":"VI. harmad","6. harmad vége":"VI. harmad Vége",Hosszabbítás:"Hosszabbítás","Hosszabbítás vége":"Hosszabbítás vége",Büntetők:"Szétlövés","Büntetők vége":"Szétlövés vége",Végeredmény:"Végeredmény",Szétlövés:"Szétlövés"}}},Rl=(t,e)=>{const n=t.__vccOpts||t;for(const[o,a]of e)n[o]=a;return n},zl=r.defineComponent({props:{locale:{type:String,default:"hu"},messages:{type:Object,default:()=>({})}},setup(t){const e=Gn({hu:Bl,en:Il},t.messages),{translate:n}=qn({locale:r.computed(()=>t.locale),messages:e});return{translate:n}}});function Vl(t,e,n,o,a,i){return r.renderSlot(t.$slots,"default",{t:t.translate})}const Gl=Rl(zl,[["render",Vl]]),Fl=["src"],jl=["src","title"],Ot=Object.assign({inheritAttrs:!1},{__name:"Image",props:{src:{type:String,default:""},title:{type:String,default:""},defaultSrc:{type:String,default:""}},setup(t){const e=t,{defaultSrc:n}=r.toRefs(e),o=r.ref({src:e.src}),{error:a,isReady:i}=ti(o,{resetOnExecute:!1,shallow:!1});return(s,l)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.unref(a)&&r.unref(n)?(r.openBlock(),r.createElementBlock("img",{key:0,src:r.unref(n),class:r.normalizeClass(["is-loaded is-default",[s.$attrs.class]])},null,10,Fl)):r.createCommentVNode("",!0),r.unref(a)?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("img",{key:1,src:o.value.src,class:r.normalizeClass([s.$attrs.class,{"is-loaded":r.unref(i)}]),title:e.title,loading:"lazy"},null,10,jl))],64))}}),Ul={class:"loading-indicator"},on={__name:"LoadingIndicator",setup(t){const{t:e}=at();return(n,o)=>(r.openBlock(),r.createElementBlock("div",Ul,r.toDisplayString(r.unref(e)("common.loading")),1))}},Hl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function Yl(t,e){return r.openBlock(),r.createElementBlock("svg",Hl,e[0]||(e[0]=[r.createElementVNode("polyline",{points:"15 18 9 12 15 6"},null,-1)]))}const Wl={render:Yl},ql={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function Kl(t,e){return r.openBlock(),r.createElementBlock("svg",ql,e[0]||(e[0]=[r.createElementVNode("polyline",{points:"9 18 15 12 9 6"},null,-1)]))}const Zl={render:Kl},Xl={key:0,class:"paginator"},Jl=["disabled"],Ql=["disabled"],tc={key:1,class:"is-disabled"},ec=["disabled","onClick"],nc={key:2,class:"is-disabled"},rc=["disabled"],oc=["disabled"],ac={__name:"Paginator",props:{page:{type:Number,required:!1,default:0,validator:t=>t>=0},itemsPerPage:{type:Number,required:!1,default:10,validator:t=>t>0},totalItems:{type:Number,required:!0,validator:t=>t>=0},rangeLength:{type:Number,default:3,validator:t=>t>=2},isCompact:{type:Boolean,default:!1}},emits:["change"],setup(t,{emit:e}){const n=t,o=e,{page:a,pageCount:i,range:s,goTo:l,pageStep:u}=is({currentPage:r.computed(()=>n.page),totalItems:r.computed(()=>n.totalItems),itemsPerPage:n.itemsPerPage,rangeLength:n.rangeLength,update:c=>o("change",c)});return(c,d)=>r.unref(i)>1?(r.openBlock(),r.createElementBlock("div",Xl,[r.createElementVNode("button",{type:"button",disabled:r.unref(a)===1,onClick:d[0]||(d[0]=f=>r.unref(u)(-1))},[r.renderSlot(c.$slots,"prev",{},()=>[r.createVNode(r.unref(Wl),{class:"icon paginator-left"})])],8,Jl),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("button",{key:0,type:"button",disabled:r.unref(a)===1,onClick:d[1]||(d[1]=f=>r.unref(l)(1))}," 1 ",8,Ql)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",tc," ... ")),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(s),f=>(r.openBlock(),r.createElementBlock("button",{key:f,type:"button",class:r.normalizeClass({"is-active":f===r.unref(a)}),disabled:f===r.unref(a),onClick:g=>r.unref(l)(f)},r.toDisplayString(f),11,ec))),128)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",nc,d[4]||(d[4]=[r.createElementVNode("span",null,"...",-1)]))),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("button",{key:3,type:"button",disabled:r.unref(a)===r.unref(i),onClick:d[2]||(d[2]=f=>r.unref(l)(r.unref(i)))},r.toDisplayString(r.unref(i)),9,rc)),r.createElementVNode("button",{type:"button",disabled:r.unref(a)===r.unref(i),onClick:d[3]||(d[3]=r.withModifiers(f=>r.unref(u)(1),["prevent"]))},[r.renderSlot(c.$slots,"next",{},()=>[r.createVNode(r.unref(Zl),{class:"icon paginator-left"})])],8,oc)])):r.createCommentVNode("",!0)}},an={__name:"ResponsiveTable",setup(t){const e=r.ref(null);return(n,o)=>(r.openBlock(),r.createElementBlock("div",{ref_key:"el",ref:e,class:"table-responsive"},[r.renderSlot(n.$slots,"default",{el:e.value})],512))}},ic={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function sc(t,e){return r.openBlock(),r.createElementBlock("svg",ic,e[0]||(e[0]=[r.createElementVNode("rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",ry:"2"},null,-1),r.createElementVNode("line",{x1:"8",y1:"21",x2:"16",y2:"21"},null,-1),r.createElementVNode("line",{x1:"12",y1:"17",x2:"12",y2:"21"},null,-1)]))}const lc={render:sc},cc={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function uc(t,e){return r.openBlock(),r.createElementBlock("svg",cc,e[0]||(e[0]=[r.createElementVNode("circle",{cx:"12",cy:"12",r:"1"},null,-1),r.createElementVNode("circle",{cx:"12",cy:"5",r:"1"},null,-1),r.createElementVNode("circle",{cx:"12",cy:"19",r:"1"},null,-1)]))}const dc={render:uc},fc={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function mc(t,e){return r.openBlock(),r.createElementBlock("svg",fc,e[0]||(e[0]=[r.createElementVNode("path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"},null,-1),r.createElementVNode("rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"},null,-1)]))}const pc={render:mc},hc={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"};function gc(t,e){return r.openBlock(),r.createElementBlock("svg",hc,e[0]||(e[0]=[r.createElementVNode("path",{d:"M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z"},null,-1),r.createElementVNode("polygon",{points:"9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"},null,-1)]))}const yc={render:gc};function bc(t=[]){return{result:[...t],filteredRowsLength:0,isFiltered:!1,value(){return{rows:this.result,totalItems:this.isFiltered?this.filteredRowsLength:t.length,currentItems:this.currentItems}},filter(e,n=[],o=!1){if(e){const a=n.map(l=>o?Xt(Le(l),Wt(e)):Xt(ut(l),Hn,Ta(Hn(e)))),i=Yo(l=>l.name?xa(Oa("name"),Pa(",",""),l):l),s=ve(Xt(i,Ho([...a])),this.result);this.isFiltered=!0,this.filteredRowsLength=s.length,this.result=s}return this},sorted(e){if(!e.sortTarget)return this;if(e.orders[0].direction===ct)return this;const n=ba(Wt(I),In(De),In(la));return this.result=Un(e.orders.map(o=>Rn(n(o.direction),ut)(o.target)))(this.result),this},addIndex(e=null){return this.result.reduce((n,o,a)=>{const i=n[n.length-1]||[],s=e&&i[e]===o[e];return o.index=s?i.index:a+1,o.indexClass=s?"is-duplicated":null,n.push(o),n},[]),this},addContinuousIndex(){return this.result=this.result.map((e,n)=>({...e,index:n+1})),this},pagination(e,n){if(!n)return this;e=Number(e),n=Number(n);const o=(e-1)*n,a=o+n;return this.result=this.result.slice(o,a),this},more(e,n){return this.result=this.result.slice(Number(e),Number(n)),this},playerName(){return this.result=this.result.map(e=>({...e,name:Rc(e)})),this},teamName(){return this.result=this.result.map(e=>({...e,teamName:e.team.longName})),this},schedule(e="",n="hu"){return this.result=this.result.map(o=>({...o,gameResult:`${o.homeTeamScore}-${o.awayTeamScore}`,gameDateDate:bt(o.gameDate,"L dddd",e,n),gameDateTime:bt(o.gameDate,"HH:mm",e,n)})),this},gameDateFilter(e){return e===null?this:(this.result=this.result.filter(n=>new Date(n.gameDate).getMonth()===e),this)},convertTimes(e=[]){return this.result=this.result.map(n=>(e.map(o=>n[o]?n[`${o}Sec`]=Fe(n[o]):n),n)),this},groupByDays(){return this.currentItems=this.result.length,this.result=ya(e=>bt(e.gameDate,"YYYY-MM-DD"))(this.result),this},slice(e=3){return this.result=this.result.slice(0,e),this}}}const Tc=(t,...e)=>ft(Rn(...e))(t);function Sc(t){return{...t,...t.lastName&&t.firstName&&{name:`${t.lastName} ${t.firstName}`},...t.player?.playerId&&{name:`${t.player.lastName} ${t.player.firstName}`},...t.player?.id&&{name:`${t.player.lastName} ${t.player.firstName}`},...t.player?.nationality&&{name:t.player?.nationality.includes("hu")?`${t.player.lastName} ${t.player.firstName}`:`${t.player.lastName}, ${t.player.firstName}`},...t.nationality&&{name:t.nationality.includes("hu")?`${t.lastName} ${t.firstName}`:`${t.lastName}, ${t.firstName}`}}}function wc(t){return{...t,...t?.team?.id&&{teamName:t.team.longName}}}function Oc(t="",e="hu"){return n=>({...n,gameDateDate:bt(n.gameDate,"L dddd",t,e),gameDateTime:bt(n.gameDate,"HH:mm",t,e)})}function Ac(t){return e=>({...e,gameResult:Lc(e)})}function kc(t){return{...t,opponent:Cc(t)}}function _c(t){return{...t,resultType:Ic(t)}}function xc(t){return{...t,rowClasses:t.optional?"is-optional":""}}function Pc(t=[]){return e=>({...e,[t]:e[t]?.toUpperCase()})}function Ec(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Sec`]=Fe(e[n]):e),e)}function Nc(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Min`]=Ar(e[n]):e),e)}function vc(t=[]){return e=>(t.map(n=>e[`${n}Min`]=Or(e[n])),e)}function $c(t){return{...t,periodResults:t.result?.match(/\(.*?\)/)?.[0]??""}}const Mc=Un([(t,e)=>new Date(t.gameDate).getTime()-new Date(e.gameDate).getTime(),De(ut("id")),De(ut("gameId"))]),Dc=Ea((t=>(e,n)=>e[t].localeCompare(n[t],"hu"))("name"));function Cc(t){return[t.isHomeGame?null:"@",t.opponent?.shortName].join(" ")}function Lc(t){let e=t?.homeTeamScore,n=t?.awayTeamScore;return t.isHomeGame||(e=t?.awayTeamScore,n=t?.homeTeamScore),[e,n].join(":")}function Ic(t){const e=t.gameResult.split(":"),n=e[0]>e[1],o=e[0]<e[1];return n&&t.isOvertime?"OTW":n&&t.isShootout?"SOW":n?"W":o&&t.isOvertime?"OTL":o&&t.isShootout?"SOL":o?"L":"D"}function Bc(t){return t.map(e=>({phaseId:e.phaseId,phaseName:Object.values({phaseName:e.phaseName,...e.phaseType?.phaseTypeName&&e.phaseType.phaseTypeName!==e.phaseName&&{phaseTypeName:e.phaseType.phaseTypeName},...e.phaseSubType?.phaseSubTypeName&&{phaseSubTypeName:e.phaseSubType.phaseSubTypeName}}).join("-")}))}function Rc(t){return t.player?t.player.nationality.includes("hu")?`${t.player.lastName} ${t.player.firstName}`:`${t.player.lastName}, ${t.player.firstName}`:`${t.lastName} ${t.firstName}`}class sn extends Error{constructor(e,n={}){const{key:o,cause:a}=n;super(e),this.name="WidgetError",this.key=o,this.cause=a}}const Ft={message:"Undefined Column name Message",options:{key:"undefined-column",cause:{}}},zc={message:"Invalid season name",options:{key:"invalid-season-name",cause:{}}},jt=(t="")=>window?.__MJSZ_VBR_WIDGET__?.[t];function Vc(t,e={}){if(e.externalGameUrl)return e.externalGameUrl;const n=jt("gameResolver")||t;return typeof n=="function"?n(e):encodeURI(dt(n||cn,e))}function Gc(t,e={}){const n=jt("teamResolver")||t;return typeof n=="function"?n(e):encodeURI(dt(n||fn,e))}function Fc(t,e={}){const n=jt("playerResolver")||t;return typeof n=="function"?n(e):encodeURI(dt(n||dn,e))}function jc(t,e={}){return typeof t=="function"?t(e):encodeURI(dt(t||mn,e))}const Uc=(t,e="1x1")=>`${pn}/flag:${t}-${e}.svg`;function Hc(t){return t||(jt("apiKey")?jt("apiKey"):"")}function Yc(){window.scrollTo(0,0)}const Wc={class:"is-team-name-long"},qc={class:"is-team-name-short"},Kc={class:"is-team-name-long"},Zc={class:"is-team-name-short"},Xc={key:0,class:"is-text-dark"},Jc=["href","target"],Qc={key:0,class:"label"},tu={key:1,class:"label"},eu={key:2,class:"label"},nu={key:1},ru=["onClick","onFocus","onBlur"],ou={class:"is-dropdown-menu"},au=["href","target"],iu={key:0},su=["href"],lu={__name:"ScheduleTable",props:{rows:{type:Array,default:()=>[]},isLoading:{type:Boolean,deafult:!1},hideColumns:{type:String,default:""},offsetName:{type:String,default:""},externalGameResolver:{type:Function,required:!0},externalGameResolverTarget:{type:String,default:"_blank"}},setup(t){const e=t,n=r.ref(null),{onError:o}=Re(),{columns:a,error:i}=Be(bn,r.computed(()=>e.hideColumns),r.computed(()=>({offsetName:e.offsetName})));Ka(i,()=>o(new sn(Ft.message,{...Ft.options,cause:{column:i.value}})),{immediate:!0});const{t:s}=at();return(l,u)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createVNode(an,null,{default:r.withCtx(({el:c})=>[r.createVNode(rn,{columns:r.unref(a),rows:e.rows,"is-loading":t.isLoading,"append-to":n.value||c},{"cell-homeTeamName":r.withCtx(({row:d})=>[d.homeTeam?(r.openBlock(),r.createElementBlock(r.Fragment,{key:0},[r.createElementVNode("span",Wc,r.toDisplayString(d.homeTeam.longName),1),r.createElementVNode("span",qc,r.toDisplayString(d.homeTeam.shortName),1)],64)):r.createCommentVNode("",!0)]),"cell-awayTeamName":r.withCtx(({row:d})=>[d.awayTeam?(r.openBlock(),r.createElementBlock(r.Fragment,{key:0},[r.createElementVNode("span",Kc,r.toDisplayString(d.awayTeam.longName),1),r.createElementVNode("span",Zc,r.toDisplayString(d.awayTeam.shortName),1)],64)):r.createCommentVNode("",!0)]),"cell-homeTeamLogo":r.withCtx(({row:d})=>[d.homeTeam?(r.openBlock(),r.createBlock(Ot,{key:d.homeTeam.id,class:"is-logo-image is-right",src:d.homeTeam.logo},null,8,["src"])):r.createCommentVNode("",!0)]),"cell-awayTeamLogo":r.withCtx(({row:d})=>[d.awayTeam?(r.openBlock(),r.createBlock(Ot,{key:d.awayTeam.id,class:"is-logo-image is-right",src:d.awayTeam.logo},null,8,["src"])):r.createCommentVNode("",!0)]),"cell-gameResult":r.withCtx(({row:d})=>[d.gameStatus===0?(r.openBlock(),r.createElementBlock("span",Xc,"-:-")):(r.openBlock(),r.createElementBlock("a",{key:1,href:t.externalGameResolver(d.gameId),target:t.externalGameResolverTarget,class:r.normalizeClass({"is-text-dark":d.gameStatus!==1,"is-text-accent":d.gameStatus===1})},r.toDisplayString(d.homeTeamScore)+":"+r.toDisplayString(d.awayTeamScore),11,Jc))]),"cell-gameResultType":r.withCtx(({row:d})=>[d.isOvertime?(r.openBlock(),r.createElementBlock("span",Qc,r.toDisplayString(r.unref(s)("common.overtimeShort")),1)):r.createCommentVNode("",!0),d.isShootout?(r.openBlock(),r.createElementBlock("span",tu,r.toDisplayString(r.unref(s)("common.shootoutShort")),1)):r.createCommentVNode("",!0),d.seriesStandings?(r.openBlock(),r.createElementBlock("span",eu,r.toDisplayString(d.seriesStandings),1)):r.createCommentVNode("",!0)]),"cell-broadcast":r.withCtx(({row:d})=>[d.broadcast?(r.openBlock(),r.createBlock(r.unref(lc),{key:0})):(r.openBlock(),r.createElementBlock("span",nu))]),"cell-location":r.withCtx(({row:d})=>[r.createTextVNode(r.toDisplayString(d.location?.locationName??""),1)]),"cell-more":r.withCtx(({row:d})=>[r.createVNode(nn,{offset:2,placement:"left",theme:"content","append-to":c},{default:r.withCtx(({setRef:f,show:g,hide:p})=>[r.createElementVNode("button",{ref:f,onClick:r.withModifiers(g,["stop"]),onFocus:g,onBlur:p},[r.createVNode(r.unref(dc))],40,ru)]),content:r.withCtx(()=>[r.createElementVNode("ul",ou,[r.createElementVNode("li",null,[r.createElementVNode("a",{href:t.externalGameResolver(d.gameId),class:"is-dropdown-item",target:t.externalGameResolverTarget},[r.createVNode(r.unref(pc),{width:"14"}),r.createTextVNode(" "+r.toDisplayString(r.unref(s)("common.report")),1)],8,au)]),d.video?(r.openBlock(),r.createElementBlock("li",iu,[r.createElementVNode("a",{href:d.video,class:"is-dropdown-item",target:"_blank"},[r.createVNode(r.unref(yc),{width:"14"}),r.createTextVNode(" "+r.toDisplayString(r.unref(s)("common.video")),1)],8,su)])):r.createCommentVNode("",!0)])]),_:2},1032,["append-to"])]),loading:r.withCtx(()=>[r.createVNode(on)]),_:2},1032,["columns","rows","is-loading","append-to"])]),_:1}),r.createElementVNode("div",{ref_key:"tooltipContainer",ref:n},null,512)],64))}},cu={class:"g-row g-gap-normal is-mb-5"},uu={for:"season",class:"label"},du=["value"],fu={key:0},mu=["onClick"],pu={__name:"SeasonSelector",props:{seasons:{type:Array,default:()=>[]},championshipId:{type:Number,default:0},sections:{type:Array,default:()=>[]},sectionId:{type:Number,default:0},isSectionSelectionDisabled:{type:Boolean,default:!1}},emits:["onChangeSeason","onChangeSection"],setup(t,{emit:e}){const n=t,o=e,{t:a}=at(),i=r.computed({get(){return n.championshipId},set(l){o("onChangeSeason",l)}});function s(l){o("onChangeSection",l)}return(l,u)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createElementVNode("div",cu,[r.createElementVNode("div",null,[r.createElementVNode("label",uu,r.toDisplayString(r.unref(a)("selection.season")),1),r.createVNode(Nr,{id:"season",modelValue:i.value,"onUpdate:modelValue":u[0]||(u[0]=c=>i.value=c)},{default:r.withCtx(()=>[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(t.seasons,c=>(r.openBlock(),r.createElementBlock("option",{key:c.championshipId,value:c.championshipId},r.toDisplayString(c.seasonName),9,du))),128))]),_:1},8,["modelValue"])]),r.renderSlot(l.$slots,"default")]),t.isSectionSelectionDisabled?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",fu,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(t.sections,c=>(r.openBlock(),r.createElementBlock("button",{key:c.phaseId,class:r.normalizeClass(["tab-button",{"is-active":c.sectionId===t.sectionId}]),onClick:d=>s(c)},r.toDisplayString(c.sectionName),11,mu))),128))]))],64))}},hu={class:"is-portrait-image"},gu=["href"],yu={class:"is-team-name-long"},bu={class:"is-team-name-short"},Tu={class:"is-team-name-long"},Su={key:0},wu={class:"is-team-name-short"},Ou={key:0},Au={class:"is-team-name-long"},ku={class:"is-team-name-short"},_u={class:"is-team-name-long"},xu={class:"is-team-name-short"},Pu=["href"],Eu={key:0,class:"is-text-dark"},Nu=["href","target"],vu={key:0,class:"label"},$u={key:1,class:"label"},Mu={key:2,class:"label"},Du={__name:"StatisticsTable",props:{columns:{type:Object,required:!0},rows:{type:Array,default:()=>[]},isLoading:{type:Boolean,deafult:!1},hideColumns:{type:String,default:""},sort:{type:Object,default:()=>({})},externalTeamResolver:{type:Function,required:!0},externalPlayerResolver:{type:Function,default:()=>{}},externalGameResolver:{type:Function,default:()=>{}},externalGameResolverTarget:{type:String,default:"_self"},isTeamLinked:{type:Boolean,default:!1},isPlayerLinked:{type:Boolean,default:!1},appendTo:{type:[Object,String],default:null},offsetName:{type:String,default:""}},emits:["sort"],setup(t,{emit:e}){const n=t,o=e,{columns:a,hideColumns:i}=r.toRefs(n),{onError:s}=Re(),{t:l}=at(),{columns:u,error:c}=Be(a,i,r.computed(()=>({offsetName:n.offsetName})));c.value&&s(new sn(Ft.message,{...Ft.options,cause:{column:c.value}}));const d=f=>o("sort",f);return(f,g)=>(r.openBlock(),r.createBlock(an,null,{default:r.withCtx(({el:p})=>[r.createVNode(rn,{columns:r.unref(u),sort:n.sort,rows:n.rows,"is-loading":t.isLoading,"append-to":t.appendTo||p,onSort:d},r.createSlots({"cell-index":r.withCtx(({row:m})=>[r.createElementVNode("span",{class:r.normalizeClass(m.indexClass)},r.toDisplayString(m.index),3)]),"cell-playerPortrait":r.withCtx(({row:m})=>[r.createElementVNode("div",hu,[(r.openBlock(),r.createBlock(Ot,{key:m.player.playerId,src:m.player.picture,"default-src":r.unref(un)},null,8,["src","default-src"]))])]),"cell-teamLogo":r.withCtx(({row:m})=>[(r.openBlock(),r.createBlock(Ot,{key:m.team?.id??m.id,class:"is-logo-image",src:m.team?.logo},null,8,["src"]))]),"cell-homeTeamLogo":r.withCtx(({row:m})=>[(r.openBlock(),r.createBlock(Ot,{key:m.homeTeam?.id,class:"is-logo-image is-right",src:m.homeTeam?.logo},null,8,["src"]))]),"cell-awayTeamLogo":r.withCtx(({row:m})=>[(r.openBlock(),r.createBlock(Ot,{key:m.awayTeam?.id,class:"is-logo-image is-right",src:m.awayTeam?.logo},null,8,["src"]))]),"cell-teamName":r.withCtx(({row:m})=>[t.isTeamLinked?(r.openBlock(),r.createElementBlock("a",{key:0,href:t.externalTeamResolver(m),target:"_blank"},[r.createElementVNode("span",yu,r.toDisplayString(m.team?.longName),1),r.createElementVNode("span",bu,r.toDisplayString(m.team?.shortName),1)],8,gu)):(r.openBlock(),r.createElementBlock(r.Fragment,{key:1},[r.createElementVNode("span",Tu,[r.createTextVNode(r.toDisplayString(m.team?.longName)+" ",1),m.penaltyPoints?(r.openBlock(),r.createElementBlock("span",Su,g[0]||(g[0]=[r.createElementVNode("sup",null,"*",-1)]))):r.createCommentVNode("",!0)]),r.createElementVNode("span",wu,[r.createTextVNode(r.toDisplayString(m.team?.shortName)+" ",1),m.penaltyPoints?(r.openBlock(),r.createElementBlock("span",Ou,g[1]||(g[1]=[r.createElementVNode("sup",null,"*",-1)]))):r.createCommentVNode("",!0)])],64))]),"cell-homeTeamName":r.withCtx(({row:m})=>[r.createElementVNode("span",Au,r.toDisplayString(m.homeTeam?.longName),1),r.createElementVNode("span",ku,r.toDisplayString(m.homeTeam?.shortName),1)]),"cell-awayTeamName":r.withCtx(({row:m})=>[r.createElementVNode("span",_u,r.toDisplayString(m.awayTeam?.longName),1),r.createElementVNode("span",xu,r.toDisplayString(m.awayTeam?.shortName),1)]),"cell-location":r.withCtx(({row:m})=>[r.createTextVNode(r.toDisplayString(m.location?.locationName??""),1)]),"cell-gameResult":r.withCtx(({row:m})=>[m.gameStatus===0?(r.openBlock(),r.createElementBlock("span",Eu,"-:-")):(r.openBlock(),r.createElementBlock("a",{key:1,href:t.externalGameResolver(m),target:t.externalGameResolverTarget,class:r.normalizeClass({"is-text-dark":m.gameStatus!==1,"is-text-accent":m.gameStatus===1})},r.toDisplayString(m.homeTeamScore)+":"+r.toDisplayString(m.awayTeamScore),11,Nu))]),"cell-gameResultType":r.withCtx(({row:m})=>[m.isOvertime?(r.openBlock(),r.createElementBlock("span",vu,r.toDisplayString(r.unref(l)("common.overtimeShort")),1)):r.createCommentVNode("",!0),m.isShootout?(r.openBlock(),r.createElementBlock("span",$u,r.toDisplayString(r.unref(l)("common.shootoutShort")),1)):r.createCommentVNode("",!0),m.seriesStandings?(r.openBlock(),r.createElementBlock("span",Mu,r.toDisplayString(m.seriesStandings),1)):r.createCommentVNode("",!0)]),loading:r.withCtx(()=>[r.createVNode(on)]),_:2},[t.isPlayerLinked?{name:"cell-name",fn:r.withCtx(({row:m})=>[r.createElementVNode("a",{href:t.externalPlayerResolver(m),target:"_blank"},r.toDisplayString(m.name),9,Pu)]),key:"0"}:void 0]),1032,["columns","sort","rows","is-loading","append-to"])]),_:1}))}},Cu={class:"timezone-selector"},Lu=["onClick"],Iu={__name:"TimezoneSelector",props:{locale:{type:String,default:"hu"},currentZone:{type:String,required:!0}},emits:["change"],setup(t,{emit:e}){const n=t,o=e,{t:a}=at(),i=r.computed(()=>Bt(new Date,null,n.locale)),s=wr(),l=r.computed(()=>Array.from(gn.values()).map(c=>({...c,isActive:Bt(new Date,n.currentZone,n.locale)===Bt(new Date,c.timezone,n.locale),zoneOffsetName:Bt(new Date,c.timezone,n.locale)}))),u=c=>o("change",c);return(c,d)=>(r.openBlock(),r.createElementBlock("div",Cu,[r.createVNode(r.unref(Zn),{path:"common.selectTimezone",tag:"span"},{timezone:r.withCtx(()=>[r.createElementVNode("a",{href:"#",onClick:d[0]||(d[0]=r.withModifiers(f=>u(r.unref(s)),["prevent"]))},r.toDisplayString(i.value),1)]),_:1}),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(l.value,f=>(r.openBlock(),r.createElementBlock("a",{key:f.countryLabelKey,href:"#",class:r.normalizeClass({"is-active":f.isActive}),onClick:r.withModifiers(g=>u(f.timezone),["prevent"])},r.toDisplayString(r.unref(a)(`common.${f.countryLabelKey}`))+" ("+r.toDisplayString(f.zoneOffsetName)+") ",11,Lu))),128))]))}},Bu={locale:{type:String,default:"hu"},championshipId:{type:String,default:""},division:{type:String,default:""},phaseId:{type:String,default:""},apiKey:{type:String,default:""},hideColumns:{type:String,default:""}},Ru={externalTeamResolver:{type:[String,Function],default:""},isTeamLinked:{type:Boolean,default:!1}},zu={limit:{type:Number,default:20},teamFilterByName:{type:String,default:""},externalPlayerResolver:{type:[String,Function],default:""},isPlayerLinked:{type:Boolean,default:!1}},Vu={externalGameResolver:{type:[String,Function],default:""},isGameTargetExternal:{type:Boolean,default:!1}};function Zr({app:t=null,modules:e=[],apiKey:n,gameResolver:o,teamResolver:a,playerResolver:i}){if(window.__MJSZ_VBR_WIDGET__={apiKey:n,gameResolver:o,teamResolver:a,playerResolver:i},e.length===0)throw new Error("At least one module must be set");e.forEach(s=>{if(t)return t.use(s);if(s.register)return s.register();s?.install()})}const Gu={install:(t,e={})=>Zr({app:t,...e})};return T.AVAILABLE_TIMEZONES_BY_COUNTRY=gn,T.AdditionalStandingsText=ys,T.BaseSelect=Nr,T.COLUMNS_FIELD_PLAYERS=eo,T.COLUMNS_FIELD_PLAYERS_PENALTY=no,T.COLUMNS_FIELD_PLAYERS_TOI=ro,T.COLUMNS_GOALIES=oo,T.COLUMNS_PLAYERS_NATIONAL=ao,T.COLUMNS_SCHEDULE=bn,T.COLUMNS_SCORING_EFFICIENCY=uo,T.COLUMNS_STANDINGS_P_2=Qr,T.COLUMNS_STANDINGS_P_3=Jr,T.COLUMNS_STANDINGS_SHORT=to,T.COLUMNS_TEAMS_FAIRPLAY=so,T.COLUMNS_TEAMS_PENALTY_KILLING=lo,T.COLUMNS_TEAMS_POWERPLAY=co,T.COLUMNS_TEAM_ATTENDANCE=io,T.DEFAULT_EXTERNAL_GAME_URL=cn,T.DEFAULT_EXTERNAL_PLAYER_URL=dn,T.DEFAULT_EXTERNAL_STATISTIC_URL=mn,T.DEFAULT_EXTERNAL_TEAM_URL=fn,T.DEFAULT_PORTRAIT_IMAGE_URL=un,T.DataTable=rn,T.ErrorNotice=Cl,T.ErrorProvider=Ll,T.FLAG_BASE_URL=pn,T.FetchMoreObserver=To,T.FloatingPanel=nn,T.I18NProvider=Gl,T.Image=Ot,T.InvalidSeasonName=zc,T.LAZY_LOADING_STATE_DELAY=yn,T.LOCALE_FOR_LANG=hn,T.LoadingIndicator=on,T.Paginator=ac,T.REFRESH_DELAY=Xr,T.ResponsiveTable=an,T.SORT_STATE_ASCEND=I,T.SORT_STATE_DESCEND=b,T.SORT_STATE_ORIGINAL=ct,T.ScheduleTable=lu,T.SeasonSelector=pu,T.StatisticsTable=Du,T.TimezoneSelector=Iu,T.UndefinedColumn=Ft,T.VBR_API_BASE_URL=ln,T.WidgetError=sn,T.addDays=ts,T.appendTo=Kr,T.baseProps=Bu,T.convert=bc,T.convertGamePeriodResults=$c,T.convertMinToMinSec=Ar,T.convertMinToSec=Fe,T.convertPhaseName=Bc,T.convertSecToMin=Or,T.convertTimes=Ec,T.convertTimesMinToMinSec=Nc,T.convertTimesSecToMin=vc,T.createConfig=Zr,T.createI18n=qn,T.currentWeek=Xi,T.currentWeekStartEnd=Ji,T.default=Gu,T.endOfMonth=ns,T.externalGameLinkResolver=Vc,T.externalPlayerLinkResolver=Fc,T.externalStatisticLinkResolver=jc,T.externalTeamLinkResolver=Gc,T.fetchVBRData=er,T.flagResolver=Uc,T.format=bt,T.gameDateTime=Oc,T.gameProps=Vu,T.gameResult=Ac,T.getLocalTimezone=wr,T.i18n=Zn,T.isAfter=Ki,T.isBefore=qi,T.isBetween=kr,T.isSame=Yi,T.isSameOrBefore=je,T.isToday=Zi,T.localeSort=Dc,T.max=os,T.min=rs,T.offsetName=Bt,T.playerName=Sc,T.playerStatsProps=zu,T.rawConvert=Tc,T.resolveApiKey=Hc,T.scheduleOptionalRowClass=xc,T.scrollToTop=Yc,T.sortByDomNode=Tl,T.sortGames=Mc,T.startOfMonth=es,T.subtractDays=Qi,T.teamName=wc,T.teamOpponent=kc,T.teamResultType=_c,T.teamStatsProps=Ru,T.templateReplacer=dt,T.toKebabCase=Jn,T.upperCase=Pc,T.useAdditionalText=Yn,T.useColumns=Be,T.useError=Re,T.useErrorProvider=tr,T.useI18n=at,T.useLazyLoadingState=sr,T.usePage=as,T.useScrollToGameDate=ss,T.useServices=ls,T.useSort=ps,T.useVisibilityChange=hs,T.validateColumnsName=Xn,T.yearToNow=Wi,Object.defineProperties(T,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),T}({},Vue);
|
package/dist/index.iife.js.br
CHANGED
|
Binary file
|
package/dist/index.iife.js.gz
CHANGED
|
Binary file
|
package/dist/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.26.0 - 03/09/2025, 21:02:58
|
|
4
4
|
* (c) 2025
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
import { COLUMNS_FIELD_PLAYERS as c, COLUMNS_FIELD_PLAYERS_PENALTY as N, COLUMNS_FIELD_PLAYERS_TOI as d, COLUMNS_GOALIES as u, COLUMNS_PLAYERS_NATIONAL as f, COLUMNS_SCHEDULE as
|
|
9
|
-
import { _ as P, a as D, b as x, c as F, d as h, e as G, f as b, I as B, g as Y, h as k, i as w, j as W, k as V, l as
|
|
10
|
-
import { d as
|
|
8
|
+
import { COLUMNS_FIELD_PLAYERS as c, COLUMNS_FIELD_PLAYERS_PENALTY as N, COLUMNS_FIELD_PLAYERS_TOI as d, COLUMNS_GOALIES as u, COLUMNS_PLAYERS_NATIONAL as f, COLUMNS_SCHEDULE as p, COLUMNS_SCORING_EFFICIENCY as R, COLUMNS_STANDINGS_P_2 as I, COLUMNS_STANDINGS_P_3 as O, COLUMNS_STANDINGS_SHORT as C, COLUMNS_TEAMS_FAIRPLAY as g, COLUMNS_TEAMS_PENALTY_KILLING as M, COLUMNS_TEAMS_POWERPLAY as y, COLUMNS_TEAM_ATTENDANCE as v } from "./columns.js";
|
|
9
|
+
import { _ as P, a as D, b as x, c as F, d as h, e as G, f as b, I as B, g as Y, h as k, i as w, j as W, k as V, l as K, m as X, n as j } from "./TimezoneSelector-CRy1AyTX.js";
|
|
10
|
+
import { d as H, i as Z, u as q, a as J, c as Q, b as $, e as ee, f as ae, g as se, v as te } from "./useSort-D-BBQTSZ.js";
|
|
11
11
|
import { fetchVBRData as oe, usePage as ne, useScrollToGameDate as ie, useServices as le, useVisibilityChange as Se } from "./composables.js";
|
|
12
12
|
import "vue";
|
|
13
|
-
import { AVAILABLE_TIMEZONES_BY_COUNTRY as Te, DEFAULT_EXTERNAL_GAME_URL as Le, DEFAULT_EXTERNAL_PLAYER_URL as Ee, DEFAULT_EXTERNAL_STATISTIC_URL as Ae, DEFAULT_EXTERNAL_TEAM_URL as me, DEFAULT_PORTRAIT_IMAGE_URL as ce, FLAG_BASE_URL as Ne, LAZY_LOADING_STATE_DELAY as de, LOCALE_FOR_LANG as ue, REFRESH_DELAY as fe, SORT_STATE_ASCEND as
|
|
14
|
-
import { I as ge, U as Me, W as ye, m as
|
|
13
|
+
import { AVAILABLE_TIMEZONES_BY_COUNTRY as Te, DEFAULT_EXTERNAL_GAME_URL as Le, DEFAULT_EXTERNAL_PLAYER_URL as Ee, DEFAULT_EXTERNAL_STATISTIC_URL as Ae, DEFAULT_EXTERNAL_TEAM_URL as me, DEFAULT_PORTRAIT_IMAGE_URL as ce, FLAG_BASE_URL as Ne, LAZY_LOADING_STATE_DELAY as de, LOCALE_FOR_LANG as ue, REFRESH_DELAY as fe, SORT_STATE_ASCEND as pe, SORT_STATE_DESCEND as Re, SORT_STATE_ORIGINAL as Ie, VBR_API_BASE_URL as Oe } from "./constants.js";
|
|
14
|
+
import { I as ge, U as Me, W as ye, m as ve, c as Ue, i as Pe, k as De, e as xe, f as Fe, h as he, g as Ge, a as be, l as Be, p as Ye, r as ke, s as we, n as We, j as Ve, t as Ke, b as Xe, d as je, u as ze } from "./errors-B6O6sS7H.js";
|
|
15
15
|
import { n as Ze, b as qe, c as Je, a as Qe, l as $e, m as ea, q as aa, f as sa, g as ta, j as ra, h as oa, d as na, e as ia, i as la, k as Sa, t as _a, r as Ta, o as La, p as Ea, s as Aa, v as ma, u as ca, y as Na } from "./datetime-D600LvsU.js";
|
|
16
|
-
import { externalGameLinkResolver as ua, externalPlayerLinkResolver as fa, externalStatisticLinkResolver as
|
|
16
|
+
import { externalGameLinkResolver as ua, externalPlayerLinkResolver as fa, externalStatisticLinkResolver as pa, externalTeamLinkResolver as Ra, flagResolver as Ia, resolveApiKey as Oa, scrollToTop as Ca } from "./utils.js";
|
|
17
17
|
const S = {
|
|
18
18
|
locale: {
|
|
19
19
|
type: String,
|
|
@@ -98,15 +98,15 @@ export {
|
|
|
98
98
|
d as COLUMNS_FIELD_PLAYERS_TOI,
|
|
99
99
|
u as COLUMNS_GOALIES,
|
|
100
100
|
f as COLUMNS_PLAYERS_NATIONAL,
|
|
101
|
-
|
|
102
|
-
|
|
101
|
+
p as COLUMNS_SCHEDULE,
|
|
102
|
+
R as COLUMNS_SCORING_EFFICIENCY,
|
|
103
103
|
I as COLUMNS_STANDINGS_P_2,
|
|
104
104
|
O as COLUMNS_STANDINGS_P_3,
|
|
105
105
|
C as COLUMNS_STANDINGS_SHORT,
|
|
106
106
|
g as COLUMNS_TEAMS_FAIRPLAY,
|
|
107
107
|
M as COLUMNS_TEAMS_PENALTY_KILLING,
|
|
108
108
|
y as COLUMNS_TEAMS_POWERPLAY,
|
|
109
|
-
|
|
109
|
+
v as COLUMNS_TEAM_ATTENDANCE,
|
|
110
110
|
Le as DEFAULT_EXTERNAL_GAME_URL,
|
|
111
111
|
Ee as DEFAULT_EXTERNAL_PLAYER_URL,
|
|
112
112
|
Ae as DEFAULT_EXTERNAL_STATISTIC_URL,
|
|
@@ -127,20 +127,20 @@ export {
|
|
|
127
127
|
w as Paginator,
|
|
128
128
|
fe as REFRESH_DELAY,
|
|
129
129
|
W as ResponsiveTable,
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
pe as SORT_STATE_ASCEND,
|
|
131
|
+
Re as SORT_STATE_DESCEND,
|
|
132
132
|
Ie as SORT_STATE_ORIGINAL,
|
|
133
133
|
V as ScheduleTable,
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
134
|
+
K as SeasonSelector,
|
|
135
|
+
X as StatisticsTable,
|
|
136
|
+
j as TimezoneSelector,
|
|
137
137
|
Me as UndefinedColumn,
|
|
138
138
|
Oe as VBR_API_BASE_URL,
|
|
139
139
|
ye as WidgetError,
|
|
140
140
|
Ze as addDays,
|
|
141
|
-
|
|
141
|
+
ve as appendTo,
|
|
142
142
|
S as baseProps,
|
|
143
|
-
|
|
143
|
+
Ue as convert,
|
|
144
144
|
Pe as convertGamePeriodResults,
|
|
145
145
|
qe as convertMinToMinSec,
|
|
146
146
|
Je as convertMinToSec,
|
|
@@ -150,15 +150,15 @@ export {
|
|
|
150
150
|
Fe as convertTimesMinToMinSec,
|
|
151
151
|
he as convertTimesSecToMin,
|
|
152
152
|
i as createConfig,
|
|
153
|
-
|
|
153
|
+
H as createI18n,
|
|
154
154
|
$e as currentWeek,
|
|
155
155
|
ea as currentWeekStartEnd,
|
|
156
156
|
E as default,
|
|
157
157
|
aa as endOfMonth,
|
|
158
158
|
ua as externalGameLinkResolver,
|
|
159
159
|
fa as externalPlayerLinkResolver,
|
|
160
|
-
|
|
161
|
-
|
|
160
|
+
pa as externalStatisticLinkResolver,
|
|
161
|
+
Ra as externalTeamLinkResolver,
|
|
162
162
|
oe as fetchVBRData,
|
|
163
163
|
Ia as flagResolver,
|
|
164
164
|
sa as format,
|
|
@@ -180,19 +180,20 @@ export {
|
|
|
180
180
|
Ye as playerName,
|
|
181
181
|
T as playerStatsProps,
|
|
182
182
|
ke as rawConvert,
|
|
183
|
+
Oa as resolveApiKey,
|
|
183
184
|
we as scheduleOptionalRowClass,
|
|
184
|
-
|
|
185
|
+
Ca as scrollToTop,
|
|
185
186
|
We as sortByDomNode,
|
|
186
187
|
Ve as sortGames,
|
|
187
188
|
Ea as startOfMonth,
|
|
188
189
|
Aa as subtractDays,
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
190
|
+
Ke as teamName,
|
|
191
|
+
Xe as teamOpponent,
|
|
192
|
+
je as teamResultType,
|
|
192
193
|
_ as teamStatsProps,
|
|
193
194
|
ma as templateReplacer,
|
|
194
195
|
ca as toKebabCase,
|
|
195
|
-
|
|
196
|
+
ze as upperCase,
|
|
196
197
|
q as useAdditionalText,
|
|
197
198
|
J as useColumns,
|
|
198
199
|
Q as useError,
|
package/dist/useSort-D-BBQTSZ.js
CHANGED
package/dist/utils.js
CHANGED
|
@@ -1,86 +1,90 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.26.0 - 03/09/2025, 21:02:58
|
|
4
4
|
* (c) 2025
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
import { I as
|
|
9
|
-
import { v as
|
|
10
|
-
import { n as $, b as j, c as V, a as q, l as z, m as J, q as
|
|
11
|
-
import { FLAG_BASE_URL as
|
|
12
|
-
const
|
|
8
|
+
import { I as p, U as y, W as A, m as S, c as I, i as g, k as M, e as x, f as N, h as D, g as k, a as w, l as G, p as b, r as h, s as B, n as C, j as F, t as O, b as W, d as P, u as X } from "./errors-B6O6sS7H.js";
|
|
9
|
+
import { v as o } from "./datetime-D600LvsU.js";
|
|
10
|
+
import { n as $, b as j, c as V, a as q, l as z, m as J, q as Y, f as Z, g as H, j as Q, h as ee, d as ne, e as te, i as oe, k as re, t as ae, r as se, o as ie, p as ce, s as fe, u as le, y as ue } from "./datetime-D600LvsU.js";
|
|
11
|
+
import { FLAG_BASE_URL as a, DEFAULT_EXTERNAL_GAME_URL as s, DEFAULT_EXTERNAL_TEAM_URL as i, DEFAULT_EXTERNAL_PLAYER_URL as c, DEFAULT_EXTERNAL_STATISTIC_URL as f } from "./constants.js";
|
|
12
|
+
const r = (n = "") => window?.__MJSZ_VBR_WIDGET__?.[n];
|
|
13
13
|
function R(n, e = {}) {
|
|
14
14
|
if (e.externalGameUrl)
|
|
15
15
|
return e.externalGameUrl;
|
|
16
|
-
const
|
|
17
|
-
return typeof
|
|
16
|
+
const t = r("gameResolver") || n;
|
|
17
|
+
return typeof t == "function" ? t(e) : encodeURI(t ? o(t, e) : o(s, e));
|
|
18
18
|
}
|
|
19
19
|
function T(n, e = {}) {
|
|
20
|
-
const
|
|
21
|
-
return typeof
|
|
20
|
+
const t = r("teamResolver") || n;
|
|
21
|
+
return typeof t == "function" ? t(e) : encodeURI(t ? o(t, e) : o(i, e));
|
|
22
22
|
}
|
|
23
23
|
function m(n, e = {}) {
|
|
24
|
-
const
|
|
25
|
-
return typeof
|
|
24
|
+
const t = r("playerResolver") || n;
|
|
25
|
+
return typeof t == "function" ? t(e) : encodeURI(t ? o(t, e) : o(c, e));
|
|
26
26
|
}
|
|
27
27
|
function d(n, e = {}) {
|
|
28
|
-
return typeof n == "function" ? n(e) : encodeURI(n ?
|
|
28
|
+
return typeof n == "function" ? n(e) : encodeURI(n ? o(n, e) : o(f, e));
|
|
29
29
|
}
|
|
30
|
-
const v = (n, e = "1x1") => `${
|
|
31
|
-
function U() {
|
|
30
|
+
const v = (n, e = "1x1") => `${a}/flag:${n}-${e}.svg`;
|
|
31
|
+
function U(n) {
|
|
32
|
+
return n || (r("apiKey") ? r("apiKey") : "");
|
|
33
|
+
}
|
|
34
|
+
function L() {
|
|
32
35
|
window.scrollTo(0, 0);
|
|
33
36
|
}
|
|
34
37
|
export {
|
|
35
|
-
|
|
36
|
-
|
|
38
|
+
p as InvalidSeasonName,
|
|
39
|
+
y as UndefinedColumn,
|
|
37
40
|
A as WidgetError,
|
|
38
41
|
$ as addDays,
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
+
S as appendTo,
|
|
43
|
+
I as convert,
|
|
44
|
+
g as convertGamePeriodResults,
|
|
42
45
|
j as convertMinToMinSec,
|
|
43
46
|
V as convertMinToSec,
|
|
44
|
-
|
|
47
|
+
M as convertPhaseName,
|
|
45
48
|
q as convertSecToMin,
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
+
x as convertTimes,
|
|
50
|
+
N as convertTimesMinToMinSec,
|
|
51
|
+
D as convertTimesSecToMin,
|
|
49
52
|
z as currentWeek,
|
|
50
53
|
J as currentWeekStartEnd,
|
|
51
|
-
|
|
54
|
+
Y as endOfMonth,
|
|
52
55
|
R as externalGameLinkResolver,
|
|
53
56
|
m as externalPlayerLinkResolver,
|
|
54
57
|
d as externalStatisticLinkResolver,
|
|
55
58
|
T as externalTeamLinkResolver,
|
|
56
59
|
v as flagResolver,
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
60
|
+
Z as format,
|
|
61
|
+
k as gameDateTime,
|
|
62
|
+
w as gameResult,
|
|
63
|
+
H as getLocalTimezone,
|
|
64
|
+
Q as isAfter,
|
|
65
|
+
ee as isBefore,
|
|
66
|
+
ne as isBetween,
|
|
67
|
+
te as isSame,
|
|
65
68
|
oe as isSameOrBefore,
|
|
66
|
-
|
|
67
|
-
|
|
69
|
+
re as isToday,
|
|
70
|
+
G as localeSort,
|
|
68
71
|
ae as max,
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
C as
|
|
77
|
-
|
|
78
|
-
ce as
|
|
79
|
-
|
|
80
|
-
O as
|
|
81
|
-
W as
|
|
82
|
-
|
|
72
|
+
se as min,
|
|
73
|
+
ie as offsetName,
|
|
74
|
+
b as playerName,
|
|
75
|
+
h as rawConvert,
|
|
76
|
+
U as resolveApiKey,
|
|
77
|
+
B as scheduleOptionalRowClass,
|
|
78
|
+
L as scrollToTop,
|
|
79
|
+
C as sortByDomNode,
|
|
80
|
+
F as sortGames,
|
|
81
|
+
ce as startOfMonth,
|
|
82
|
+
fe as subtractDays,
|
|
83
|
+
O as teamName,
|
|
84
|
+
W as teamOpponent,
|
|
85
|
+
P as teamResultType,
|
|
86
|
+
o as templateReplacer,
|
|
83
87
|
le as toKebabCase,
|
|
84
|
-
|
|
85
|
-
|
|
88
|
+
X as upperCase,
|
|
89
|
+
ue as yearToNow
|
|
86
90
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mjsz-vbr-elements/core",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.26.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Data visualization for MJSZ VBR",
|
|
7
7
|
"author": "Ákos Stegner <akos.stegner@gmail.com>",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"dayjs": "^1.11.13",
|
|
41
41
|
"ramda": "^0.31.3",
|
|
42
42
|
"vue": "^3.5.17",
|
|
43
|
-
"@mjsz-vbr-elements/shared": "^2.
|
|
43
|
+
"@mjsz-vbr-elements/shared": "^2.26.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@vitejs/plugin-vue": "^6.0.0",
|