@mjsz-vbr-elements/core 2.42.0 → 2.43.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/columns.js +1417 -1010
- package/dist/components-DpAc0iFd.js +2969 -0
- package/dist/components.js +6 -21
- package/dist/composables-DkeAlPNN.js +988 -0
- package/dist/composables.js +4 -183
- package/dist/constants.js +11 -19
- package/dist/datetime-Dr5rQMCL.js +1416 -0
- package/dist/index.iife.js +3 -16
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +27 -196
- package/dist/props.js +63 -66
- package/dist/utils-BzouF97X.js +725 -0
- package/dist/utils.js +4 -166
- package/package.json +10 -10
- package/dist/TimezoneSelector-Cftyj2uC.js +0 -2488
- package/dist/datetime-B_IKGlWy.js +0 -1400
- package/dist/errors-AyJoolyE.js +0 -723
- package/dist/useSort-CoM4Br_9.js +0 -912
package/dist/index.iife.js
CHANGED
|
@@ -1,22 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/core
|
|
3
|
-
* version: v2.
|
|
3
|
+
* version: v2.43.0 - 14/03/2026, 12:04:12
|
|
4
4
|
* (c) 2026
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
var MjszVbrElementsCore=function(p,r){"use strict";const Mn="https://api.icehockey.hu",Cn="wss://api.icehockey.hu/socket/vbr",Dn="https://www.jegkorongszovetseg.hu/event/game/{gameId}",Ln="https://jegkorongszovetseg.hu/assets/images/player_blank.png",In="https://www.ersteliga.hu/stats/player/?playerId={player.playerId}&championshipId={championshipId}",Bn="https://www.ersteliga.hu/stats/team/?teamId={team.id}&championshipId={championshipId}",Rn="https://www.ersteliga.hu/stats?report={id}",zn="https://api.icehockey.hu/static/api/flag",ft="original",b="descend",D="ascend",Vn=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"}),Wo=1e3*60*5,jn=1e3,Fn={gameName:{label:"table.gameName.short",tooltip:"table.gameName.tooltip",class:"text-start text-dimmed"},gameDateDate:{label:"table.gameDate.short",tooltip:"table.gameDate.tooltip",class:"text-start"},gameDateTime:{label:"table.gameDateTime.short",tooltip:"table.gameDateTime.tooltip",class:"text-start"},homeTeamName:{label:"table.homeTeam.short",tooltip:"table.homeTeam.tooltip",class:"text-end w-auto font-bold"},homeTeamLogo:{label:"",class:"is-has-image"},gameResult:{label:"",class:"font-bold text-xl"},gameResultType:{label:"",tooltip:""},awayTeamLogo:{label:"",class:"is-has-image"},awayTeamName:{label:"table.awayTeam.short",tooltip:"table.awayTeam.tooltip",class:"text-start w-auto font-bold"},location:{label:"table.location.short",tooltip:"table.location.tooltip",class:"text-start"},broadcast:{label:"table.broadcast.short",tooltip:"table.broadcast.tooltip"},more:{label:""}},qo={index:{label:"table.blank",class:"text-start"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"teamName",direction:D}]},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:D}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:D}]},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:D}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"font-bold",sortOrders:[{target:"points",direction:b},{target:"gamesPlayed",direction:D},{target:"w",direction:b},{target:"gd",direction:b},{target:"gf",direction:b}]}},Ko={index:{label:"table.blank",class:"text-start"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"teamName",direction:D}]},gamesPlayed:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gamesPlayed",direction:b}]},pper:{label:"table.pper.short",tooltip:"table.pper.tooltip",sortOrders:[{target:"pper",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:D}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:D}]},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:D}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"font-bold",sortOrders:[{target:"points",direction:b},{target:"gamesPlayed",direction:D},{target:"w",direction:b},{target:"gd",direction:b},{target:"gf",direction:b}]}},Zo={index:{label:"#",class:"text-start"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"teamName",direction:D}]},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:D}]},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:D}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"font-bold",sortOrders:[{target:"points",direction:b}]}},Jo={index:{label:"#",class:"text-start italic text-dimmed"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold"},gamesPlayed:{label:"table.game.short",tooltip:"table.game.tooltip",class:"text-dimmed"},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",class:"text-dimmed"},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",class:"text-dimmed"},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",class:"text-dimmed"},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"font-bold"}},Xo={index:{label:"#",class:"text-start"},playerPortrait:{label:"",class:"has-avatar"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"name",direction:D}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto",sortOrders:[{target:"teamName",direction:D}]},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}]}},Qo={index:{label:"table.blank",class:"text-start"},playerPortrait:{label:"",class:"has-avatar"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"name",direction:D}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto",sortOrders:[{target:"teamName",direction:D}]},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}]}},ta={index:{label:"#",class:"text-start"},playerPortrait:{label:"",class:"has-avatar"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"name",direction:D}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto",sortOrders:[{target:"teamName",direction:D}]},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}]}},ea={index:{label:"table.blank",class:"text-start"},playerPortrait:{label:"",class:"has-avatar"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"name",direction:D}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto",sortOrders:[{target:"teamName",direction:D}]},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}]}},na={index:{label:"#",class:"text-start"},playerPortrait:{label:"",class:"has-avatar"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"name",direction:D}]},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}]}},ra={index:{label:"table.blank",class:"text-start"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"teamName",direction:D}]},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}]}},oa={index:{label:"table.blank",class:"text-start"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"teamName",direction:D}]},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}]}},aa={index:{label:"table.blank",class:"text-start"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"teamName",direction:D}]},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}]}},ia={index:{label:"table.blank",class:"text-start"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"teamName",direction:D}]},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}]}},sa={index:{label:"table.blank",class:"text-start"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"text-start w-auto font-bold",sortOrders:[{target:"teamName",direction:D}]},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:D}]},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:D}]},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:D}]},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:D}]},sp:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"sp",direction:b}]}};function la(t){return r.getCurrentScope()?(r.onScopeDispose(t),!0):!1}function Un(t){return typeof t=="function"?t():r.unref(t)}const ca=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ua=t=>t!=null,je=()=>{};function Fe(t){var e;const n=Un(t);return(e=n?.$el)!=null?e:n}const da=ca?window:void 0;function fa(){const t=r.ref(!1);return r.getCurrentInstance()&&r.onMounted(()=>{t.value=!0}),t}function ma(t){const e=fa();return r.computed(()=>(e.value,!!t()))}function pa(t,e,n={}){const{root:o,rootMargin:a="0px",threshold:i=.1,window:s=da,immediate:l=!0}=n,u=ma(()=>s&&"IntersectionObserver"in s),c=r.computed(()=>{const m=Un(t);return(Array.isArray(m)?m:[m]).map(Fe).filter(ua)});let d=je;const f=r.ref(l),y=u.value?r.watch(()=>[c.value,Fe(o),f.value],([m,S])=>{if(d(),!f.value||!m.length)return;const g=new IntersectionObserver(e,{root:Fe(S),rootMargin:a,threshold:i});m.forEach(T=>T&&g.observe(T)),d=()=>{g.disconnect(),d=je}},{immediate:l,flush:"post"}):je,h=()=>{d(),y(),f.value=!1};return la(h),{isSupported:u,isActive:f,pause(){d(),f.value=!1},resume(){f.value=!0},stop:h}}const ha=r.defineComponent({name:"FetchMoreObserver",props:["as","options"],emits:["intersect"],setup(t,{slots:e,emit:n}){const o=r.ref(null),{stop:a}=pa(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 H(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function G(t){return function e(n){return arguments.length===0||H(n)?e:t.apply(this,arguments)}}function V(t){return function e(n,o){switch(arguments.length){case 0:return e;case 1:return H(n)?e:G(function(a){return t(n,a)});default:return H(n)&&H(o)?e:H(n)?G(function(a){return t(a,o)}):H(o)?G(function(a){return t(n,a)}):t(n,o)}}}var ga=V(function(e,n){return Number(e)+Number(n)});function ue(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 Ue(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&&(!H(e[s])||a>=arguments.length)?u=e[s]:(u=arguments[a],a+=1),o[s]=u,H(u)?l=!0:i-=1,s+=1}return!l&&i<=0?n.apply(this,o):ue(Math.max(0,i),Ue(t,o,n))}}var Ct=V(function(e,n){return e===1?G(n):ue(e,Ue(e,[],n))});function X(t){return function e(n,o,a){switch(arguments.length){case 0:return e;case 1:return H(n)?e:V(function(i,s){return t(n,i,s)});case 2:return H(n)&&H(o)?e:H(n)?V(function(i,s){return t(i,o,s)}):H(o)?V(function(i,s){return t(n,i,s)}):G(function(i){return t(n,o,i)});default:return H(n)&&H(o)&&H(a)?e:H(n)&&H(o)?V(function(i,s){return t(i,s,a)}):H(n)&&H(a)?V(function(i,s){return t(i,o,s)}):H(o)&&H(a)?V(function(i,s){return t(n,i,s)}):H(n)?G(function(i){return t(i,o,a)}):H(o)?G(function(i){return t(n,i,a)}):H(a)?G(function(i){return t(n,o,i)}):t(n,o,a)}}}const Ft=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function ya(t){return t!=null&&typeof t["@@transducer/step"]=="function"}function Ut(t,e,n){return function(){if(arguments.length===0)return n();var o=arguments[arguments.length-1];if(!Ft(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(ya(o)){var i=e.apply(null,Array.prototype.slice.call(arguments,0,-1));return i(o)}}return n.apply(this,arguments)}}function He(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}const At={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};function Hn(t){for(var e=[],n;!(n=t.next()).done;)e.push(n.value);return e}function Ye(t,e,n){for(var o=0,a=n.length;o<a;){if(t(e,n[o]))return!0;o+=1}return!1}function ba(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 Sa(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}const We=typeof Object.is=="function"?Object.is:Sa;var Yn=Object.prototype.toString,Wn=function(){return Yn.call(arguments)==="[object Arguments]"?function(e){return Yn.call(e)==="[object Arguments]"}:function(e){return ot("callee",e)}}(),Ta=!{toString:null}.propertyIsEnumerable("toString"),qn=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Kn=function(){return arguments.propertyIsEnumerable("length")}(),wa=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"&&!Kn?function(e){return Object(e)!==e?[]:Object.keys(e)}:function(e){if(Object(e)!==e)return[];var n,o,a=[],i=Kn&&Wn(e);for(n in e)ot(n,e)&&(!i||n!=="length")&&(a[a.length]=n);if(Ta)for(o=qn.length-1;o>=0;)n=qn[o],ot(n,e)&&!wa(a,n)&&(a[a.length]=n),o-=1;return a}),qe=G(function(e){return e===null?"Null":e===void 0?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function Zn(t,e,n,o){var a=Hn(t),i=Hn(e);function s(l,u){return Ke(l,u,n.slice(),o.slice())}return!Ye(function(l,u){return!Ye(s,u,l)},i,a)}function Ke(t,e,n,o){if(We(t,e))return!0;var a=qe(t);if(a!==qe(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"&&ba(t.constructor)==="Promise")return t===e;break;case"Boolean":case"Number":case"String":if(!(typeof t==typeof e&&We(t.valueOf(),e.valueOf())))return!1;break;case"Date":if(!We(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:Zn(t.entries(),e.entries(),n.concat([t]),o.concat([e]));case"Set":return t.size!==e.size?!1:Zn(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)&&Ke(e[c],t[c],l,u)))return!1;i-=1}return!0}var Dt=V(function(e,n){return Ke(e,n,[],[])});function Oa(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(Dt(t[n],e))return n;n+=1}return-1}function Jn(t,e){return Oa(e,t,0)>=0}function de(t,e){for(var n=0,o=e.length,a=Array(o);n<o;)a[n]=t(e[n]),n+=1;return a}function Ze(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 Ht=function(e){return(e<10?"0":"")+e},Aa=typeof Date.prototype.toISOString=="function"?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Ht(e.getUTCMonth()+1)+"-"+Ht(e.getUTCDate())+"T"+Ht(e.getUTCHours())+":"+Ht(e.getUTCMinutes())+":"+Ht(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function va(t){return function(){return!t.apply(this,arguments)}}function Xn(t,e,n){for(var o=0,a=n.length;o<a;)e=t(e,n[o]),o+=1;return e}function Qn(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 _a(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 ka(t){return Object.prototype.toString.call(t)==="[object Map]"}function fe(t){return Object.prototype.toString.call(t)==="[object Object]"}var Pa=function(){function t(e,n){this.xf=n,this.f=e}return t.prototype["@@transducer/init"]=At.init,t.prototype["@@transducer/result"]=At.result,t.prototype["@@transducer/step"]=function(e,n){return this.f(n)?this.xf["@@transducer/step"](e,n):e},t}();function Ea(t){return function(e){return new Pa(t,e)}}var Lt=V(Ut(["fantasy-land/filter","filter"],Ea,function(t,e){return fe(e)?Xn(function(n,o){return t(e[o])&&(n[o]=e[o]),n},{},yt(e)):ka(e)?_a(t,e):Qn(t,e)})),mt=V(function(e,n){return Lt(va(e),n)});function tr(t,e){var n=function(s){var l=e.concat([t]);return Jn(s,l)?"<Circular>":tr(s,l)},o=function(i,s){return de(function(l){return Ze(l)+": "+n(i[l])},s.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+de(n,t).join(", ")+"))";case"[object Array]":return"["+de(n,t).concat(o(t,mt(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):Ze(Aa(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())+")":Ze(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 me=G(function(e){return tr(e,[])}),er=V(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=me(e),l=o(s,me(n));return l!==void 0&&l===s?e:n}),Na=function(){function t(e,n){this.xf=n,this.f=e}return t.prototype["@@transducer/init"]=At.init,t.prototype["@@transducer/result"]=At.result,t.prototype["@@transducer/step"]=function(e,n){return this.xf["@@transducer/step"](e,this.f(n))},t}(),xa=function(e){return function(n){return new Na(e,n)}},K=V(Ut(["fantasy-land/map","map"],xa,function(e,n){switch(Object.prototype.toString.call(n)){case"[object Function]":return Ct(n.length,function(){return e.call(this,n.apply(this,arguments))});case"[object Object]":return Xn(function(o,a){return o[a]=e(n[a]),o},{},yt(n));default:return de(e,n)}}));const pe=Number.isInteger||function(e){return e<<0===e};function he(t,e){var n=t<0?e.length+t:t;return e[n]}function nr(t,e){if(e!=null)return pe(t)?he(t,e):e[t]}var j=V(nr),rr=V(function(e,n){return K(j(e),n)});function Je(t){return Object.prototype.toString.call(t)==="[object String]"}var $a=G(function(e){return Ft(e)?!0:!e||typeof e!="object"||Je(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),or=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function Ma(t,e,n){return function(a,i,s){if($a(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[or]!=null)return n(a,i,s[or]());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 Ca(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 Da=V(function(e,n){return ue(e.length,function(){return e.apply(n,arguments)})});function La(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 Ia(t,e,n,o){return t["@@transducer/result"](n[o](Da(t["@@transducer/step"],t),e))}var ar=Ma(Ca,Ia,La),Ba=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 ir(t){return new Ba(t)}var ge=X(function(t,e,n){return ar(typeof t=="function"?ir(t):t,e,n)}),Ra=G(function(e){return Ct(ge(er,0,rr("length",e)),function(){for(var n=0,o=e.length;n<o;){if(!e[n].apply(this,arguments))return!1;n+=1}return!0})}),sr=G(function(e){return function(){return e}}),za=G(function(e){return Ct(ge(er,0,rr("length",e)),function(){for(var n=0,o=e.length;n<o;){if(e[n].apply(this,arguments))return!0;n+=1}return!1})}),lr=G(function(e){for(var n=yt(e),o=n.length,a=[],i=0;i<o;)a[i]=e[n[i]],i+=1;return a}),Yt=X(function(e,n,o){var a=e(n),i=e(o);return a<i?-1:a>i?1:0}),cr=G(function(e){return Ct(e.length,e)});function Va(t,e,n){if(pe(t)&&Ft(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 Ga=G(function(e){return e==null}),ja=X(function t(e,n,o){if(e.length===0)return n;var a=e[0];if(e.length>1){var i=nr(a,o);(Ga(i)||typeof i!="object")&&(i=pe(e[1])?[]:{}),n=t(Array.prototype.slice.call(e,1),n,i)}return Va(a,n,o)}),Fa=X(function(e,n,o){return ja([e],n,o)});function Ua(t){var e=Object.prototype.toString.call(t);return e==="[object Function]"||e==="[object AsyncFunction]"||e==="[object GeneratorFunction]"||e==="[object AsyncGeneratorFunction]"}function ur(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 ye(t,e,n){if(n||(n=new Ya),Ha(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]=e?ye(t[l],!0,n):t[l]);return i};switch(qe(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 ur(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 Ha(t){var e=typeof t;return t==null||e!="object"&&e!="function"}var Ya=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}(),Wa=G(function(e){return e!=null&&typeof e.clone=="function"?e.clone():ye(e,!0)});function qa(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function Xe(t,e){return function(){var n=arguments.length;if(n===0)return e();var o=arguments[n-1];return Ft(o)||typeof o[t]!="function"?e.apply(this,arguments):o[t].apply(o,Array.prototype.slice.call(arguments,0,n-1))}}var Ka=X(Xe("slice",function(e,n,o){return Array.prototype.slice.call(o,e,n)})),Za=G(Xe("tail",Ka(1,1/0)));function It(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return ue(arguments[0].length,ge(qa,arguments[0],Za(arguments)))}var Wt=G(function(e){return Je(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()});function q(){if(arguments.length===0)throw new Error("compose requires at least one argument");return It.apply(this,Wt(arguments))}var Qe=G(function(t){return he(0,t)}),Ja=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"]=At.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,ye(this.valueAcc,!1)],this.inputs[o][1]=this.valueFn(this.inputs[o][1],n),e},t}();function Xa(t,e,n){return function(o){return new Ja(t,e,n,o)}}var dr=Ue(4,[],Ut([],Xa,function(e,n,o,a){var i=ir(function(s,l){var u=o(l),c=e(ot(u,s)?s[u]:ye(n,!1),l);return c&&c["@@transducer/reduced"]?He(s):(s[u]=c,s)});return ar(i,{},a)})),vt=X(function(e,n,o){var a=e(n),i=e(o);return a>i?-1:a<i?1:0}),fr=G(function(t){return he(-1,t)});function Qa(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 ti=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:Ft(e)?[]:Je(e)?"":fe(e)?{}:Wn(e)?function(){return arguments}():Qa(e)?e.constructor.from(""):void 0}),ei=function(){function t(e,n){this.xf=n,this.f=e,this.found=!1}return t.prototype["@@transducer/init"]=At.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=He(this.xf["@@transducer/step"](e,n))),e},t}();function ni(t){return function(e){return new ei(t,e)}}var ri=V(Ut(["find"],ni,function(e,n){for(var o=0,a=n.length;o<a;){if(e(n[o]))return n[o];o+=1}})),oi=function(){function t(e,n){this.xf=n,this.f=e,this.idx=-1,this.found=!1}return t.prototype["@@transducer/init"]=At.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=He(this.xf["@@transducer/step"](e,this.idx))),e},t}();function ai(t){return function(e){return new oi(t,e)}}var ii=V(Ut([],ai,function(e,n){for(var o=0,a=n.length;o<a;){if(e(n[o]))return o;o+=1}return-1})),qt=V(Xe("groupBy",dr(function(t,e){return t.push(e),t},[]))),si=X(function(e,n,o){return Ct(Math.max(e.length,n.length,o.length),function(){return e.apply(this,arguments)?n.apply(this,arguments):o.apply(this,arguments)})}),li=V(Jn),mr=dr(function(t,e){return e},null),ci=X(function(e,n,o){return Qn(function(a){return Ye(e,a,o)},n)});function ui(t){if(t==null)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),n=1,o=arguments.length;n<o;){var a=arguments[n];if(a!=null)for(var i in a)ot(i,a)&&(e[i]=a[i]);n+=1}return e}const di=typeof Object.assign=="function"?Object.assign:ui;var be=V(function(e,n){return Ct(e+1,function(){var o=arguments[e];if(o!=null&&Ua(o[n]))return o[n].apply(o,Array.prototype.slice.call(arguments,0,e));throw new TypeError(me(o)+' does not have a method named "'+n+'"')})}),Kt=G(function(e){return e!=null&&Dt(e,ti(e))}),fi=G(function(e){return!Kt(e)}),pr=be(1,"join"),mi=V(function(e,n){return function(o){return function(a){return K(function(i){return n(i,a)},o(e(a)))}}});function hr(t,e){for(var n=e,o=0;o<t.length;o+=1){if(n==null)return;var a=t[o];pe(a)?n=he(a,n):n=n[a]}return n}var gr=G(function(e){return mi(j(e),Fa(e))}),pi=ge(ga,0),yr=X(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}),hi=X(function t(e,n,o){return yr(function(a,i,s){return fe(i)&&fe(s)?t(e,i,s):e(a,i,s)},n,o)}),br=V(function(e,n){return hi(function(o,a,i){return i},e,n)}),Sr=V(function(e,n){return di({},n,e)}),gi=X(function(e,n,o){return yr(function(a,i,s){return e(i,s)},n,o)}),tn=V(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}),Tr=function(t){return{value:t,map:function(e){return Tr(e(t))}}},wr=X(function(e,n,o){return e(function(a){return Tr(n(a))})(o).value}),bt=V(hr),Or=X(function(e,n,o){return Dt(hr(n,o),e)}),en=V(function(e,n){for(var o={},a=0;a<e.length;)e[a]in n&&(o[e[a]]=n[e[a]]),a+=1;return o}),Zt=X(function(e,n,o){return Dt(e,j(n,o))}),Ar=X(function(e,n,o){return e(j(n,o))}),Se=X(function(e,n,o){return o.replace(e,n)}),nn=V(function(e,n){return Array.prototype.slice.call(n,0).sort(e)}),St=V(function(e,n){return Array.prototype.slice.call(n,0).sort(function(o,a){var i=e(o),s=e(a);return i<s?-1:i>s?1:0})}),Te=V(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})}),pt=be(1,"split");function yi(t){return Object.prototype.toString.call(t)==="[object RegExp]"}var bi=V(function(e,n){if(!yi(e))throw new TypeError("‘test’ requires a value of type RegExp as its first argument; received "+me(e));return ur(e).test(n)}),vr=be(0,"toLowerCase"),Si=be(0,"toUpperCase"),Jt=`
|
|
9
|
-
\v\f\r \u2028\u2029\uFEFF`,Ti="",wi=typeof String.prototype.trim=="function",Xt=G(!wi||Jt.trim()||!Ti.trim()?function(e){var n=new RegExp("^["+Jt+"]["+Jt+"]*"),o=new RegExp("["+Jt+"]["+Jt+"]*$");return e.replace(n,"").replace(o,"")}:function(e){return e.trim()});function _r(t,e,n,o){const a=r.ref(""),i=r.ref(!1),s=l=>{const u=Lt(j(e),l),c=u.length>0;if(i.value=c,!c)return a.value="";const f=u.map(y=>({team:y.team.longName,points:Math.abs(j(e,y))})).map(y=>n(`additionalText.${e}.content`,y)).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 kr=Symbol("I18nContext"),J=r.reactive({messages:{},locale:"",fallbackLocale:""});function Pr({messages:t={},locale:e="",fallbackLocale:n=""}){J.messages=br(J.messages,t),J.locale=e,J.fallbackLocale=n;const o=(u,c={})=>{const d=!Kt(c),f=K(Xt,pt(".",u));return r.computed(()=>{const h=Er(f);return d?Ai(h,c):h}).value},a=u=>{const c=K(Xt,pt(".",u));return!!rn(J.locale,c,J.messages)},i=u=>{J.locale=u},l={locale:r.computed({get(){return J.locale},set(u){J.locale=u}}),setLocale:i,translate:o,hasTranslation:a};return r.provide(kr,l),{translate:o}}function lt(t){t&&(J.messages=t.messages,J.locale=t.locale,J.fallbackLocale=t.fallbackLocale);const e=Oi();return{locale:e.locale,t:e.translate,setLocale:e.setLocale,hasTranslation:e.hasTranslation}}function Oi(){const t=r.inject(kr,null);if(t===null)throw new Error("Provider is missing a parent component.");return t}function Er(t=[]){let e=rn(J.locale,t,J.messages);return!e&&J.fallbackLocale&&(e=rn(J.fallbackLocale,t,J.messages)),e||t.join(".")}function rn(t,e,n){return bt([t,...e],n)}function Ai(t,e){return t.replace(/\{(\w+)\}/g,(n,o)=>e[o])}const Nr=r.defineComponent({props:{tag:{type:String,default:"div"},path:{type:String,defult:""}},setup(t,{slots:e}){const n=K(Xt,pt(".",t.path)),o=Er(n),a=pt(/\{|\}/,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 on(t,e="",n={}){const o=r.ref(""),{t:a}=lt(),i=r.computed(()=>{if(r.unref(e))try{const u=xr(r.unref(t),r.unref(e));return tn(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(()=>K(s,i.value)),error:o}}function xr(t,e=""){const n=K(Xt,pt(",",e)),o=yt(t);if(n[0]==="")return[];const a=n.findIndex(i=>!o.includes(i));if(a>-1)throw n[a];return n}const vi=["text-start","text-center","text-end","w-auto"];function $r(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 ht(t="",e={}){return t.replace(/\{([^}]+)\}/g,(n,o)=>bt(pt(".",o),e))}function Mr(t){return(t||"").split(" ").filter(e=>vi.includes(e)).join(" ")}const Cr=Symbol("ErrorProviderContext");function Dr(){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||$r(i.message),cause:i.cause}},o=()=>{t.value="",e.value={}},a={onError:n,reset:o};return r.provide(Cr,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 an(){const t=_i();return{onError:t.onError,reset:t.reset}}function _i(){const t=r.inject(Cr,null);if(t===null)throw new Error("Provider is missing a parent component.");return t}async function Lr(t,e,n){const o=`${Mn}/vbr${r.unref(t)}${Kt(n)?"":`?${ki(n)}`}`;return new Promise((a,i)=>{fetch(o,{method:"GET",cache:"no-cache",headers:{"Content-Type":"application/json","X-API-KEY":Pi(e)}}).then(s=>s.json()).then(s=>{if(s.error)return i(s);if(s.data.message)return i(s.data);a(s.data)}).catch(s=>{i(s)})})}function ki(t){return Object.keys(t).map(e=>`${e}=${t[e]}`).join("&")}function Pi(t){return t||(window.__MJSZ_VBR_WIDGET__?.apiKey?window.__MJSZ_VBR_WIDGET__.apiKey:"")}function Qt(t){return r.getCurrentScope()?(r.onScopeDispose(t),!0):!1}const gt=typeof window<"u"&&typeof document<"u",Ir=typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope,Ei=Object.prototype.toString,Ni=t=>Ei.call(t)==="[object Object]",tt=()=>{},xi=$i();function $i(){var t,e;return gt&&((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 Br(...t){if(t.length!==1)return r.toRef(...t);const e=t[0];return typeof e=="function"?r.readonly(r.customRef(()=>({get:e,set:tt}))):r.ref(e)}function Mi(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 Ci(t=Rr,e={}){const{initialState:n="active"}=e,o=Br(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 sn(t,e=!1,n="Timeout"){return new Promise((o,a)=>{setTimeout(e?()=>a(n):o,t)})}function ln(t){return Array.isArray(t)?t:[t]}function Di(t,e,n={}){const{eventFilter:o=Rr,...a}=n;return r.watch(t,Mi(o,e),a)}function Li(t,e,n={}){const{eventFilter:o,initialState:a="active",...i}=n,{eventFilter:s,pause:l,resume:u,isActive:c}=Ci(o,{initialState:a});return{stop:Di(t,e,{...i,eventFilter:s}),pause:l,resume:u,isActive:c}}function cn(t,e=!1){function n(f,{flush:y="sync",deep:h=!1,timeout:m,throwOnTimeout:S}={}){let g=null;const w=[new Promise(k=>{g=r.watch(t,E=>{f(E)!==e&&(g?g():r.nextTick(()=>g?.()),k(E))},{flush:y,deep:h,immediate:!0})})];return m!=null&&w.push(sn(m,S).then(()=>r.toValue(t)).finally(()=>g?.())),Promise.race(w)}function o(f,y){if(!r.isRef(f))return n(E=>E===f,y);const{flush:h="sync",deep:m=!1,timeout:S,throwOnTimeout:g}=y??{};let T=null;const k=[new Promise(E=>{T=r.watch([t,f],([N,L])=>{e!==(N===L)&&(T?T():r.nextTick(()=>T?.()),E(N))},{flush:h,deep:m,immediate:!0})})];return S!=null&&k.push(sn(S,g).then(()=>r.toValue(t)).finally(()=>(T?.(),r.toValue(t)))),Promise.race(k)}function a(f){return n(y=>!!y,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,y){return n(h=>{const m=Array.from(h);return m.includes(f)||m.includes(r.toValue(f))},y)}function c(f){return d(1,f)}function d(f=1,y){let h=-1;return n(()=>(h+=1,h>=f),y)}return Array.isArray(r.toValue(t))?{toMatch:n,toContains:u,changed:c,changedTimes:d,get not(){return cn(t,!e)}}:{toMatch:n,toBe:o,toBeTruthy:a,toBeNull:i,toBeNaN:l,toBeUndefined:s,changed:c,changedTimes:d,get not(){return cn(t,!e)}}}function Ii(t){return cn(t)}function Bi(t,e=1e3,n={}){const{immediate:o=!0,immediateCallback:a=!1}=n;let i=null;const s=r.shallowRef(!1);function l(){i&&(clearInterval(i),i=null)}function u(){s.value=!1,l()}function c(){const d=r.toValue(e);d<=0||(s.value=!0,a&&t(),l(),s.value&&(i=setInterval(t,d)))}if(o&>&&c(),r.isRef(e)||typeof e=="function"){const d=r.watch(e,()=>{s.value&>&&c()});Qt(d)}return Qt(u),{isActive:r.shallowReadonly(s),pause:u,resume:c}}function Ri(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,gt&&c()),Qt(u),{isPending:r.shallowReadonly(i),start:c,stop:u}}function zi(t,e,n){return r.watch(t,e,{...n,immediate:!0})}function Vi(t,e,n){return r.watch(t,e,{...n,once:!0})}function Gi(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 zr=gt?window:void 0,ji=gt?window.document:void 0;function _t(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=ln(r.toValue(t[0])).filter(u=>u!=null);return l.every(u=>typeof u!="string")?l:void 0}),i=zi(()=>{var l,u;return[(u=(l=a.value)==null?void 0:l.map(c=>_t(c)))!=null?u:[zr].filter(c=>c!=null),ln(r.toValue(a.value?t[1]:t[0])),ln(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=Ni(d)?{...d}:d;e.push(...l.flatMap(y=>u.flatMap(h=>c.map(m=>o(y,h,m,f)))))},{flush:"post"}),s=()=>{i(),n()};return Qt(n),s}let Vr=!1;function Fi(t,e,n={}){const{window:o=zr,ignore:a=[],capture:i=!0,detectIframe:s=!1,controls:l=!1}=n;if(!o)return l?{stop:tt,cancel:tt,trigger:tt}:tt;if(xi&&!Vr){Vr=!0;const g={passive:!0};Array.from(o.document.body.children).forEach(T=>T.addEventListener("click",tt,g)),o.document.documentElement.addEventListener("click",tt,g)}let u=!0;const c=g=>r.toValue(a).some(T=>{if(typeof T=="string")return Array.from(o.document.querySelectorAll(T)).some(w=>w===g.target||g.composedPath().includes(w));{const w=_t(T);return w&&(g.target===w||g.composedPath().includes(w))}});function d(g){const T=r.toValue(g);return T&&T.$.subTree.shapeFlag===16}function f(g,T){const w=r.toValue(g),k=w.$.subTree&&w.$.subTree.children;return k==null||!Array.isArray(k)?!1:k.some(E=>E.el===T.target||T.composedPath().includes(E.el))}const y=g=>{const T=_t(t);if(g.target!=null&&!(!(T instanceof Element)&&d(t)&&f(t,g))&&!(!T||T===g.target||g.composedPath().includes(T))){if("detail"in g&&g.detail===0&&(u=!c(g)),!u){u=!0;return}e(g)}};let h=!1;const m=[te(o,"click",g=>{h||(h=!0,setTimeout(()=>{h=!1},0),y(g))},{passive:!0,capture:i}),te(o,"pointerdown",g=>{const T=_t(t);u=!c(g)&&!!(T&&!g.composedPath().includes(T))},{passive:!0}),s&&te(o,"blur",g=>{setTimeout(()=>{var T;const w=_t(t);((T=o.document.activeElement)==null?void 0:T.tagName)==="IFRAME"&&!w?.contains(o.document.activeElement)&&e(g)},0)},{passive:!0})].filter(Boolean),S=()=>m.forEach(g=>g());return l?{stop:S,cancel:()=>{u=!1},trigger:g=>{u=!0,y(g),u=!1}}:S}function Gr(t,e,n){const{immediate:o=!0,delay:a=0,onError:i=tt,onSuccess:s=tt,resetOnExecute:l=!0,shallow:u=!0,throwError:c}=n??{},d=u?r.shallowRef(e):r.ref(e),f=r.shallowRef(!1),y=r.shallowRef(!1),h=r.shallowRef(void 0);async function m(T=0,...w){l&&(d.value=e),h.value=void 0,f.value=!1,y.value=!0,T>0&&await sn(T);const k=typeof t=="function"?t(...w):t;try{const E=await k;d.value=E,f.value=!0,s(E)}catch(E){if(h.value=E,i(E),c)throw E}finally{y.value=!1}return d.value}o&&m(a);const S={state:d,isReady:f,isLoading:y,error:h,execute:m,executeImmediate:(...T)=>m(0,...T)};function g(){return new Promise((T,w)=>{Ii(y).toBe(!1).then(()=>T(S)).catch(w)})}return{...S,then(T,w){return g().then(T,w)}}}function Ui(t={}){const{document:e=ji}=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 Hi(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:y,decoding:h,fetchPriority:m,ismap:S,usemap:g}=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),y!=null&&(o.height=y),h!=null&&(o.decoding=h),m!=null&&(o.fetchPriority=m),S!=null&&(o.isMap=S),g!=null&&(o.useMap=g),o.onload=()=>e(o),o.onerror=n})}function Yi(t,e={}){const n=Gr(()=>Hi(r.toValue(t)),void 0,{resetOnExecute:!0,...e});return r.watch(()=>r.toValue(t),()=>n.execute(e.delay),{deep:!0}),n}const jr="ping";function un(t){return t===!0?{}:t}function Wi(t,e={}){const{onConnected:n,onDisconnected:o,onError:a,onMessage:i,immediate:s=!0,autoConnect:l=!0,autoClose:u=!0,protocols:c=[]}=e,d=r.ref(null),f=r.shallowRef("CLOSED"),y=r.ref(),h=Br(t);let m,S,g=!1,T=0,w=[],k,E;const N=()=>{if(w.length&&y.value&&f.value==="OPEN"){for(const R of w)y.value.send(R);w=[]}},L=()=>{k!=null&&(clearTimeout(k),k=void 0)},B=()=>{clearTimeout(E),E=void 0},F=(R=1e3,Y)=>{L(),!(!gt&&!Ir||!y.value)&&(g=!0,B(),m?.(),y.value.close(R,Y),y.value=void 0)},U=(R,Y=!0)=>!y.value||f.value!=="OPEN"?(Y&&w.push(R),!1):(N(),y.value.send(R),!0),C=()=>{if(g||typeof h.value>"u")return;const R=new WebSocket(h.value,c);y.value=R,f.value="CONNECTING",R.onopen=()=>{f.value="OPEN",T=0,n?.(R),S?.(),N()},R.onclose=Y=>{if(f.value="CLOSED",B(),m?.(),o?.(R,Y),!g&&e.autoReconnect&&(y.value==null||R===y.value)){const{retries:P=-1,delay:_=1e3,onFailed:O}=un(e.autoReconnect);(typeof P=="function"?P:()=>typeof P=="number"&&(P<0||T<P))(T)?(T+=1,k=setTimeout(C,_)):O?.()}},R.onerror=Y=>{a?.(R,Y)},R.onmessage=Y=>{if(e.heartbeat){B();const{message:P=jr,responseMessage:_=P}=un(e.heartbeat);if(Y.data===r.toValue(_))return}d.value=Y.data,i?.(R,Y)}};if(e.heartbeat){const{message:R=jr,interval:Y=1e3,pongTimeout:P=1e3}=un(e.heartbeat),{pause:_,resume:O}=Bi(()=>{U(r.toValue(R),!1),E==null&&(E=setTimeout(()=>{F(),g=!1},P))},Y,{immediate:!1});m=_,S=O}u&&(gt&&te("beforeunload",()=>F(),{passive:!0}),Qt(F));const M=()=>{!gt&&!Ir||(F(),g=!1,T=0,C())};return s&&M(),l&&r.watch(h,M),{data:d,status:f,close:F,send:U,open:M,ws:y}}function qi(t,e){const{open:n,close:o}=Wi(r.unref(t),{autoReconnect:{retries:3},immediate:!1,onMessage:(a,i)=>{const s=i.data,l=JSON.parse(s);l.event!=="welcome"&&(e.value=l.message)}});return r.watch(()=>r.unref(e).gameStatus,a=>{if(a===1)return n();o()},{immediate:!0}),{gameData:e}}function Fr(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}=Ri(()=>{o.value=!0},n);return r.watch(a,l=>{if(l)return i();s(),o.value=!1},{immediate:!0,deep:!0}),o}function at(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var we={exports:{}},Ki=we.exports,Ur;function Hr(){return Ur||(Ur=1,function(t,e){(function(n,o){t.exports=o()})(Ki,function(){var n=1e3,o=6e4,a=36e5,i="millisecond",s="second",l="minute",u="hour",c="day",d="week",f="month",y="quarter",h="year",m="date",S="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,T=/\[([^\]]+)]|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,w={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])+"]"}},k=function(P,_,O){var v=String(P);return!v||v.length>=_?P:""+Array(_+1-v.length).join(O)+P},E={s:k,z:function(P){var _=-P.utcOffset(),O=Math.abs(_),v=Math.floor(O/60),A=O%60;return(_<=0?"+":"-")+k(v,2,"0")+":"+k(A,2,"0")},m:function P(_,O){if(_.date()<O.date())return-P(O,_);var v=12*(O.year()-_.year())+(O.month()-_.month()),A=_.clone().add(v,f),x=O-A<0,$=_.clone().add(v+(x?-1:1),f);return+(-(v+(O-A)/(x?A-$:$-A))||0)},a:function(P){return P<0?Math.ceil(P)||0:Math.floor(P)},p:function(P){return{M:f,y:h,w:d,d:c,D:m,h:u,m:l,s,ms:i,Q:y}[P]||String(P||"").toLowerCase().replace(/s$/,"")},u:function(P){return P===void 0}},N="en",L={};L[N]=w;var B="$isDayjsObject",F=function(P){return P instanceof R||!(!P||!P[B])},U=function P(_,O,v){var A;if(!_)return N;if(typeof _=="string"){var x=_.toLowerCase();L[x]&&(A=x),O&&(L[x]=O,A=x);var $=_.split("-");if(!A&&$.length>1)return P($[0])}else{var z=_.name;L[z]=_,A=z}return!v&&A&&(N=A),A||!v&&N},C=function(P,_){if(F(P))return P.clone();var O=typeof _=="object"?_:{};return O.date=P,O.args=arguments,new R(O)},M=E;M.l=U,M.i=F,M.w=function(P,_){return C(P,{locale:_.$L,utc:_.$u,x:_.$x,$offset:_.$offset})};var R=function(){function P(O){this.$L=U(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(v){var A=v.date,x=v.utc;if(A===null)return new Date(NaN);if(M.u(A))return new Date;if(A instanceof Date)return new Date(A);if(typeof A=="string"&&!/Z$/i.test(A)){var $=A.match(g);if($){var z=$[2]-1||0,W=($[7]||"0").substring(0,3);return x?new Date(Date.UTC($[1],z,$[3]||1,$[4]||0,$[5]||0,$[6]||0,W)):new Date($[1],z,$[3]||1,$[4]||0,$[5]||0,$[6]||0,W)}}return new Date(A)}(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()!==S},_.isSame=function(O,v){var A=C(O);return this.startOf(v)<=A&&A<=this.endOf(v)},_.isAfter=function(O,v){return C(O)<this.startOf(v)},_.isBefore=function(O,v){return this.endOf(v)<C(O)},_.$g=function(O,v,A){return M.u(O)?this[v]:this.set(A,O)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(O,v){var A=this,x=!!M.u(v)||v,$=M.p(O),z=function(Mt,et){var Ot=M.w(A.$u?Date.UTC(A.$y,et,Mt):new Date(A.$y,et,Mt),A);return x?Ot:Ot.endOf(c)},W=function(Mt,et){return M.w(A.toDate()[Mt].apply(A.toDate("s"),(x?[0,0,0,0]:[23,59,59,999]).slice(et)),A)},Z=this.$W,Q=this.$M,rt=this.$D,jt="set"+(this.$u?"UTC":"");switch($){case h:return x?z(1,0):z(31,11);case f:return x?z(1,Q):z(0,Q+1);case d:var $t=this.$locale().weekStart||0,le=(Z<$t?Z+7:Z)-$t;return z(x?rt-le:rt+(6-le),Q);case c:case m:return W(jt+"Hours",0);case u:return W(jt+"Minutes",1);case l:return W(jt+"Seconds",2);case s:return W(jt+"Milliseconds",3);default:return this.clone()}},_.endOf=function(O){return this.startOf(O,!1)},_.$set=function(O,v){var A,x=M.p(O),$="set"+(this.$u?"UTC":""),z=(A={},A[c]=$+"Date",A[m]=$+"Date",A[f]=$+"Month",A[h]=$+"FullYear",A[u]=$+"Hours",A[l]=$+"Minutes",A[s]=$+"Seconds",A[i]=$+"Milliseconds",A)[x],W=x===c?this.$D+(v-this.$W):v;if(x===f||x===h){var Z=this.clone().set(m,1);Z.$d[z](W),Z.init(),this.$d=Z.set(m,Math.min(this.$D,Z.daysInMonth())).$d}else z&&this.$d[z](W);return this.init(),this},_.set=function(O,v){return this.clone().$set(O,v)},_.get=function(O){return this[M.p(O)]()},_.add=function(O,v){var A,x=this;O=Number(O);var $=M.p(v),z=function(Q){var rt=C(x);return M.w(rt.date(rt.date()+Math.round(Q*O)),x)};if($===f)return this.set(f,this.$M+O);if($===h)return this.set(h,this.$y+O);if($===c)return z(1);if($===d)return z(7);var W=(A={},A[l]=o,A[u]=a,A[s]=n,A)[$]||1,Z=this.$d.getTime()+O*W;return M.w(Z,this)},_.subtract=function(O,v){return this.add(-1*O,v)},_.format=function(O){var v=this,A=this.$locale();if(!this.isValid())return A.invalidDate||S;var x=O||"YYYY-MM-DDTHH:mm:ssZ",$=M.z(this),z=this.$H,W=this.$m,Z=this.$M,Q=A.weekdays,rt=A.months,jt=A.meridiem,$t=function(et,Ot,ce,Ge){return et&&(et[Ot]||et(v,x))||ce[Ot].slice(0,Ge)},le=function(et){return M.s(z%12||12,et,"0")},Mt=jt||function(et,Ot,ce){var Ge=et<12?"AM":"PM";return ce?Ge.toLowerCase():Ge};return x.replace(T,function(et,Ot){return Ot||function(ce){switch(ce){case"YY":return String(v.$y).slice(-2);case"YYYY":return M.s(v.$y,4,"0");case"M":return Z+1;case"MM":return M.s(Z+1,2,"0");case"MMM":return $t(A.monthsShort,Z,rt,3);case"MMMM":return $t(rt,Z);case"D":return v.$D;case"DD":return M.s(v.$D,2,"0");case"d":return String(v.$W);case"dd":return $t(A.weekdaysMin,v.$W,Q,2);case"ddd":return $t(A.weekdaysShort,v.$W,Q,3);case"dddd":return Q[v.$W];case"H":return String(z);case"HH":return M.s(z,2,"0");case"h":return le(1);case"hh":return le(2);case"a":return Mt(z,W,!0);case"A":return Mt(z,W,!1);case"m":return String(W);case"mm":return M.s(W,2,"0");case"s":return String(v.$s);case"ss":return M.s(v.$s,2,"0");case"SSS":return M.s(v.$ms,3,"0");case"Z":return $}return null}(et)||$.replace(":","")})},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(O,v,A){var x,$=this,z=M.p(v),W=C(O),Z=(W.utcOffset()-this.utcOffset())*o,Q=this-W,rt=function(){return M.m($,W)};switch(z){case h:x=rt()/12;break;case f:x=rt();break;case y:x=rt()/3;break;case d:x=(Q-Z)/6048e5;break;case c:x=(Q-Z)/864e5;break;case u:x=Q/a;break;case l:x=Q/o;break;case s:x=Q/n;break;default:x=Q}return A?x:M.a(x)},_.daysInMonth=function(){return this.endOf(f).$D},_.$locale=function(){return L[this.$L]},_.locale=function(O,v){if(!O)return this.$L;var A=this.clone(),x=U(O,v,!0);return x&&(A.$L=x),A},_.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}(),Y=R.prototype;return C.prototype=Y,[["$ms",i],["$s",s],["$m",l],["$H",u],["$W",c],["$M",f],["$y",h],["$D",m]].forEach(function(P){Y[P[1]]=function(_){return this.$g(_,P[0],P[1])}}),C.extend=function(P,_){return P.$i||(P(_,R,C),P.$i=!0),C},C.locale=U,C.isDayjs=F,C.unix=function(P){return C(1e3*P)},C.en=L[N],C.Ls=L,C.p={},C})}(we)),we.exports}var Zi=Hr();const I=at(Zi);var Oe={exports:{}},Ji=Oe.exports,Yr;function Xi(){return Yr||(Yr=1,function(t,e){(function(n,o){t.exports=o()})(Ji,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)}}})}(Oe)),Oe.exports}var Qi=Xi();const ts=at(Qi);var Ae={exports:{}},es=Ae.exports,Wr;function ns(){return Wr||(Wr=1,function(t,e){(function(n,o){t.exports=o()})(es,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]==="(",y=u[1]===")";return(f?this.isAfter(c,l):!this.isBefore(c,l))&&(y?this.isBefore(d,l):!this.isAfter(d,l))||(f?this.isBefore(c,l):!this.isAfter(c,l))&&(y?this.isAfter(d,l):!this.isBefore(d,l))}}})}(Ae)),Ae.exports}var rs=ns();const os=at(rs);var ve={exports:{}},as=ve.exports,qr;function is(){return qr||(qr=1,function(t,e){(function(n,o){t.exports=o()})(as,function(){return function(n,o){o.prototype.isSameOrBefore=function(a,i){return this.isSame(a,i)||this.isBefore(a,i)}}})}(ve)),ve.exports}var ss=is();const ls=at(ss);var _e={exports:{}},cs=_e.exports,Kr;function us(){return Kr||(Kr=1,function(t,e){(function(n,o){t.exports=o()})(cs,function(){return function(n,o,a){o.prototype.isToday=function(){var i="YYYY-MM-DD",s=a();return this.format(i)===s.format(i)}}})}(_e)),_e.exports}var ds=us();const fs=at(ds);var ke={exports:{}},ms=ke.exports,Zr;function ps(){return Zr||(Zr=1,function(t,e){(function(n,o){t.exports=o()})(ms,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,y){return f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(h,m,S){var g=S&&S.toUpperCase();return m||y[S]||n[S]||y[g].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(T,w,k){return w||k.slice(1)})})}(u,c===void 0?{}:c);return l.call(this,d)}}})}(ke)),ke.exports}var hs=ps();const gs=at(hs);var Pe={exports:{}},ys=Pe.exports,Jr;function bs(){return Jr||(Jr=1,function(t,e){(function(n,o){t.exports=o()})(ys,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)}}})}(Pe)),Pe.exports}var Ss=bs();const Ts=at(Ss);var Ee={exports:{}},ws=Ee.exports,Xr;function Os(){return Xr||(Xr=1,function(t,e){(function(n,o){t.exports=o()})(ws,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,y){return i.fromToBase(c,d,f,y)}a.en.relativeTime=s,i.fromToBase=function(c,d,f,y,h){for(var m,S,g,T=f.$locale().relativeTime||s,w=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"}],k=w.length,E=0;E<k;E+=1){var N=w[E];N.d&&(m=y?a(c).diff(f,N.d,!0):f.diff(c,N.d,!0));var L=(n.rounding||Math.round)(Math.abs(m));if(g=m>0,L<=N.r||!N.r){L<=1&&E>0&&(N=w[E-1]);var B=T[N.l];h&&(L=h(""+L)),S=typeof B=="string"?B.replace("%d",L):B(L,d,N.l,g);break}}if(d)return S;var F=g?T.future:T.past;return typeof F=="function"?F(S):F.replace("%s",S)},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)}}})}(Ee)),Ee.exports}var As=Os();const vs=at(As);var Ne={exports:{}},_s=Ne.exports,Qr;function ks(){return Qr||(Qr=1,function(t,e){(function(n,o){t.exports=o()})(_s,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(y,h,m){m===void 0&&(m={});var S=new Date(y),g=function(T,w){w===void 0&&(w={});var k=w.timeZoneName||"short",E=T+"|"+k,N=o[E];return N||(N=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:T,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:k}),o[E]=N),N}(h,m);return g.formatToParts(S)},c=function(y,h){for(var m=u(y,h),S=[],g=0;g<m.length;g+=1){var T=m[g],w=T.type,k=T.value,E=n[w];E>=0&&(S[E]=parseInt(k,10))}var N=S[3],L=N===24?0:N,B=S[0]+"-"+S[1]+"-"+S[2]+" "+L+":"+S[4]+":"+S[5]+":000",F=+y;return(s.utc(B).valueOf()-(F-=F%1e3))/6e4},d=i.prototype;d.tz=function(y,h){y===void 0&&(y=l);var m,S=this.utcOffset(),g=this.toDate(),T=g.toLocaleString("en-US",{timeZone:y}),w=Math.round((g-new Date(T))/1e3/60),k=15*-Math.round(g.getTimezoneOffset()/15)-w;if(!Number(k))m=this.utcOffset(0,h);else if(m=s(T,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(k,!0),h){var E=m.utcOffset();m=m.add(S-E,"minute")}return m.$x.$timezone=y,m},d.offsetName=function(y){var h=this.$x.$timezone||s.tz.guess(),m=u(this.valueOf(),h,{timeZoneName:y}).find(function(S){return S.type.toLowerCase()==="timezonename"});return m&&m.value};var f=d.startOf;d.startOf=function(y,h){if(!this.$x||!this.$x.$timezone)return f.call(this,y,h);var m=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return f.call(m,y,h).tz(this.$x.$timezone,!0)},s.tz=function(y,h,m){var S=m&&h,g=m||h||l,T=c(+s(),g);if(typeof y!="string")return s(y).tz(g);var w=function(L,B,F){var U=L-60*B*1e3,C=c(U,F);if(B===C)return[U,B];var M=c(U-=60*(C-B)*1e3,F);return C===M?[U,C]:[L-60*Math.min(C,M)*1e3,Math.max(C,M)]}(s.utc(y,S).valueOf(),T,g),k=w[0],E=w[1],N=s(k).utcOffset(E);return N.$x.$timezone=g,N},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(y){l=y}}})}(Ne)),Ne.exports}var Ps=ks();const Es=at(Ps);var xe={exports:{}},Ns=xe.exports,to;function xs(){return to||(to=1,function(t,e){(function(n,o){t.exports=o()})(Ns,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(S){var g={date:S,utc:!0,args:arguments};return new s(g)},u.utc=function(S){var g=l(this.toDate(),{locale:this.$L,utc:!0});return S?g.add(this.utcOffset(),n):g},u.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var c=u.parse;u.parse=function(S){S.utc&&(this.$u=!0),this.$utils().u(S.$offset)||(this.$offset=S.$offset),c.call(this,S)};var d=u.init;u.init=function(){if(this.$u){var S=this.$d;this.$y=S.getUTCFullYear(),this.$M=S.getUTCMonth(),this.$D=S.getUTCDate(),this.$W=S.getUTCDay(),this.$H=S.getUTCHours(),this.$m=S.getUTCMinutes(),this.$s=S.getUTCSeconds(),this.$ms=S.getUTCMilliseconds()}else d.call(this)};var f=u.utcOffset;u.utcOffset=function(S,g){var T=this.$utils().u;if(T(S))return this.$u?0:T(this.$offset)?f.call(this):this.$offset;if(typeof S=="string"&&(S=function(N){N===void 0&&(N="");var L=N.match(o);if(!L)return null;var B=(""+L[0]).match(a)||["-",0,0],F=B[0],U=60*+B[1]+ +B[2];return U===0?0:F==="+"?U:-U}(S),S===null))return this;var w=Math.abs(S)<=16?60*S:S,k=this;if(g)return k.$offset=w,k.$u=S===0,k;if(S!==0){var E=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(k=this.local().add(w+E,n)).$offset=w,k.$x.$localOffset=E}else k=this.utc();return k};var y=u.format;u.format=function(S){var g=S||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return y.call(this,g)},u.valueOf=function(){var S=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*S},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var h=u.toDate;u.toDate=function(S){return S==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():h.call(this)};var m=u.diff;u.diff=function(S,g,T){if(S&&this.$u===S.$u)return m.call(this,S,g,T);var w=this.local(),k=l(S).local();return m.call(w,k,g,T)}}})}(xe)),xe.exports}var $s=xs();const Ms=at($s);var $e={exports:{}},Cs=$e.exports,eo;function Ds(){return eo||(eo=1,function(t,e){(function(n,o){t.exports=o()})(Cs,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")}}})}($e)),$e.exports}var Ls=Ds();const Is=at(Ls);var Me={exports:{}},Bs=Me.exports,no;function Rs(){return no||(no=1,function(t,e){(function(n,o){t.exports=o(Hr())})(Bs,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})}(Me)),Me.exports}Rs(),I.extend(Ms),I.extend(Es),I.extend(ts),I.extend(vs),I.extend(gs),I.extend(ls),I.extend(os),I.extend(fs),I.extend(Is),I.extend(Ts);const ro=()=>I.tz.guess();function kt(t="",e="",n="",o="hu"){return n=n||I.tz.guess(),I(t).isValid()?I(t).tz(n).locale(o).format(e):""}function ee(t="",e="",n="hu"){if(!I(t).isValid())return"";e=e||I.tz.guess();const a=new Intl.DateTimeFormat(zs(n),{timeZone:e,timeZoneName:"short"}).formatToParts(new Date(t)).find(i=>i.type==="timeZoneName");return a&&a.value}function zs(t){return Vn.get(t)}function dn(t){const e=t.split(":");return Number.parseInt(e[0],10)*60+Number.parseInt(e[1],10)}function oo(t){const e=~~(t/60),n=~~t%60;return[e.toString().padStart(2,"0"),n.toString().padStart(2,"0")].join(":")}function ao(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 fn(t,e="day"){return I().isSameOrBefore(I(t),e)}function io(t,e,n,o="[]"){return I(t).isBetween(e,I(n),"day",o)}function Vs(t,e,n="month"){return I(t).isSame(e,n)}function Gs(t,e="hu"){return I(t).locale(e).toNow(!0)}function js(t,e,n="day"){return I(t).isBefore(e,n)}function Fs(t,e,n="day"){return I(t).isAfter(e,n)}function Us(t){return I(t).isToday()}function Hs(t){const e=I().weekday(1),n=I().weekday(7);return io(t,e,n)}function Ys(t){const e=I(t).weekday(1),n=I(t).weekday(7);return{startDate:e,endDate:n}}function Ws(t,e){return I(t).subtract(e,"day")}function qs(t,e){return I(t).add(e,"day")}function Ks(t){return I(t).startOf("month")}function Zs(t){return I(t).endOf("month")}function Js(t){return Array.isArray(t)&&(t=t.map(e=>I(e))),I.min(t)}function Xs(t){return Array.isArray(t)&&(t=t.map(e=>I(e))),I.max(...t)}function Qs(t={}){const{initial:e=1,items:n=[],limit:o,auto:a=!1}=t,i=r.ref(r.unref(e)),s=c=>fn(c,"day");return Vi(n,()=>{if(!a)return;const c=ii(Ar(s,"gameDate"))(r.unref(n));i.value=c===-1?1:Math.floor(c/o)+1}),{page:i,change:c=>{i.value=c}}}function tl({currentPage:t,itemsPerPage:e=20,totalItems:n,rangeLength:o=5,update:a=tt}){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,S)=>S+1),y=Math.floor(o/2);let h=Math.max(d-y,0);return h+o>=i.value&&(h=Math.max(i.value-o,0)),f.slice(h,h+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 el(t={}){const{items:e=[],element:n,offset:o=0,enabled:a=!0}=t,i=l=>fn(l,"day"),s=()=>{if(!r.unref(a))return;const l=ri(Ar(i,"gameDate"))(r.unref(e));if(!l)return;const u=kt(l.gameDate,"YYYY-MM-DD"),c=_t(n).querySelector(`div[data-gamedate="${u}"]`);if(!c)return;const d=getComputedStyle(c).getPropertyValue("--mvw-sticky-top-offset")||0,f=(c.getBoundingClientRect()?.top??0)-r.unref(o)-Number.parseFloat(d);window.scrollTo(0,f)};Li(()=>({items:r.unref(e),element:r.unref(n)}),async({items:l,element:u})=>{l.length===0||!u||(await r.nextTick(),s())})}function nl({options:t={},transform:e=a=>a,onError:n=tt,onSuccess:o=tt}){const{path:a,apiKey:i,params:s,resetOnExecute:l=!1,immediate:u=!1}=t,{state:c,error:d,isLoading:f,execute:y}=Gr(()=>Lr(a,i,r.unref(s)).then(h=>e(h)),[],{immediate:u,resetOnExecute:l,onError:n,onSuccess:o});return{state:c,error:d,isLoading:f,execute:y}}/*! *****************************************************************************
|
|
10
|
-
Copyright (c) Microsoft Corporation.
|
|
11
|
-
|
|
12
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
13
|
-
purpose with or without fee is hereby granted.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
16
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
17
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
18
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
19
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
20
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
21
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
22
|
-
***************************************************************************** */function mn(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 so;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(so||(so={}));var rl={type:"xstate.init"};function Ce(t){return t===void 0?[]:[].concat(t)}function lo(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 pn(t){return function(e){return t===e}}function ol(t){return typeof t=="string"?{type:t}:t}function co(t,e){return{value:t,context:e,actions:[],changed:!1,matches:pn(t)}}function uo(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 al(t,e){e===void 0&&(e={});var n=mn(uo(Ce(t.states[t.initial].entry).map(function(s){return lo(s,e.actions)}),t.context,rl),2),o=n[0],a=n[1],i={config:t,_options:e,initialState:{value:t.initial,actions:o,context:a,matches:pn(t.initial)},transition:function(s,l){var u,c,d=typeof s=="string"?{value:s,context:t.context}:s,f=d.value,y=d.context,h=ol(l),m=t.states[f];if(m.on){var S=Ce(m.on[h.type]);"*"in m.on&&S.push.apply(S,function(v,A,x){if(arguments.length===2)for(var $,z=0,W=A.length;z<W;z++)!$&&z in A||($||($=Array.prototype.slice.call(A,0,z)),$[z]=A[z]);return v.concat($||Array.prototype.slice.call(A))}([],mn(Ce(m.on["*"])),!1));try{for(var g=function(v){var A=typeof Symbol=="function"&&Symbol.iterator,x=A&&v[A],$=0;if(x)return x.call(v);if(v&&typeof v.length=="number")return{next:function(){return v&&$>=v.length&&(v=void 0),{value:v&&v[$++],done:!v}}};throw new TypeError(A?"Object is not iterable.":"Symbol.iterator is not defined.")}(S),T=g.next();!T.done;T=g.next()){var w=T.value;if(w===void 0)return co(f,y);var k=typeof w=="string"?{target:w}:w,E=k.target,N=k.actions,L=N===void 0?[]:N,B=k.cond,F=B===void 0?function(){return!0}:B,U=E===void 0,C=E??f,M=t.states[C];if(F(y,h)){var R=mn(uo((U?Ce(L):[].concat(m.exit,L,M.entry).filter(function(v){return v})).map(function(v){return lo(v,i._options.actions)}),y,h),3),Y=R[0],P=R[1],_=R[2],O=E??f;return{value:O,context:P,actions:Y,changed:E!==f||Y.length>0||_,matches:pn(O)}}}}catch(v){u={error:v}}finally{try{T&&!T.done&&(c=g.return)&&c.call(g)}finally{if(u)throw u.error}}}return co(f,y)}};return i}const il=al({id:"sort",initial:ft,states:{[ft]:{on:{DIRECTION1:b,DIRECTION2:D}},[b]:{on:{DIRECTION1:D,DIRECTION2:ft}},[D]:{on:{DIRECTION1:ft,DIRECTION2:b}}}});function sl(t,e){const n=e===D?"DIRECTION2":"DIRECTION1";return il.transition(t,n).value}function ll(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:sl(o.orders[c].direction,u.direction)}));o.sortTarget=i,o.orders=l}}}function cl(t=!1,e=tt,n=tt){const o=Ui();r.watch(o,a=>{if(r.unref(t)){if(a==="visible")return e();n()}})}const ul=["textContent"],dl={__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}=lt(),{isVisible:i,text:s}=_r(n,e.additionalKey,o,a);return(l,u)=>r.unref(i)?(r.openBlock(),r.createElementBlock("div",{key:0,textContent:r.toDisplayString(r.unref(s))},null,8,ul)):r.createCommentVNode("",!0)}},fo={__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]])}},fl={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 mo(t,e){return r.openBlock(),r.createElementBlock("svg",fl,[...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 ml={render:mo},pl=Object.freeze(Object.defineProperty({__proto__:null,default:ml,render:mo},Symbol.toStringTag,{value:"Module"})),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 po(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 gl={render:po},yl=Object.freeze(Object.defineProperty({__proto__:null,default:gl,render:po},Symbol.toStringTag,{value:"Module"})),bl={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 ho(t,e){return r.openBlock(),r.createElementBlock("svg",bl,[...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 Sl={render:ho},Tl=Object.freeze(Object.defineProperty({__proto__:null,default:Sl,render:ho},Symbol.toStringTag,{value:"Module"})),wl={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 go(t,e){return r.openBlock(),r.createElementBlock("svg",wl,[...e[0]||(e[0]=[r.createElementVNode("polyline",{points:"9 18 15 12 9 6"},null,-1)])])}const Ol={render:go},Al=Object.freeze(Object.defineProperty({__proto__:null,default:Ol,render:go},Symbol.toStringTag,{value:"Module"})),vl={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 yo(t,e){return r.openBlock(),r.createElementBlock("svg",vl,[...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 _l={render:yo},kl=Object.freeze(Object.defineProperty({__proto__:null,default:_l,render:yo},Symbol.toStringTag,{value:"Module"})),Pl={"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 bo(t,e){return r.openBlock(),r.createElementBlock("svg",Pl,[...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 El={render:bo},So=Object.freeze(Object.defineProperty({__proto__:null,default:El,render:bo},Symbol.toStringTag,{value:"Module"})),Nl={"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 To(t,e){return r.openBlock(),r.createElementBlock("svg",Nl,[...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 xl={render:To},$l=Object.freeze(Object.defineProperty({__proto__:null,default:xl,render:To},Symbol.toStringTag,{value:"Module"})),Ml={"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 wo(t,e){return r.openBlock(),r.createElementBlock("svg",Ml,[...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 Cl={render:wo},Dl=Object.freeze(Object.defineProperty({__proto__:null,default:Cl,render:wo},Symbol.toStringTag,{value:"Module"})),Ll={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 Oo(t,e){return r.openBlock(),r.createElementBlock("svg",Ll,[...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 Il={render:Oo},Bl=Object.freeze(Object.defineProperty({__proto__:null,default:Il,render:Oo},Symbol.toStringTag,{value:"Module"})),Rl={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 Ao(t,e){return r.openBlock(),r.createElementBlock("svg",Rl,[...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 zl={render:Ao},Vl=Object.freeze(Object.defineProperty({__proto__:null,default:zl,render:Ao},Symbol.toStringTag,{value:"Module"}));let Gl=0;function jl(){return++Gl}function Fl(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?It(bt(l),Dt(e)):It(j(l),vr,li(vr(e)))),i=cr(l=>l.name?wr(gr("name"),Se(",",""),l):l),s=Lt(It(i,za([...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===ft)return this;const n=si(Dt(D),sr(Yt),sr(vt));return this.result=Te(e.orders.map(o=>q(n(o.direction),j)(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:ic(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:kt(o.gameDate,"L dddd",e,n),gameDateTime:kt(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`]=dn(n[o]):n),n)),this},groupByDays(){return this.currentItems=this.result.length,this.result=qt(e=>kt(e.gameDate,"YYYY-MM-DD"))(this.result),this},slice(e=3){return this.result=this.result.slice(0,e),this},reverse(e){return e&&(this.result=[...this.result].reverse()),this}}}const Ul=(t,...e)=>K(q(...e))(t);function Bt(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 hn(t){return{...t,...t?.team?.id&&{teamName:t.team.longName}}}function Hl(t="",e="hu"){return n=>({...n,gameDateDate:kt(n.gameDate,"L dddd",t,e),gameDateTime:kt(n.gameDate,"HH:mm",t,e)})}function Yl(t){return e=>({...e,gameResult:rc(e)})}function Wl(t){return{...t,opponent:nc(t)}}function ql(t){return{...t,resultType:oc(t)}}function Kl(t){return{...t,rowClasses:t.optional?"is-optional":""}}function vo(t=[]){return e=>({...e,[t]:e[t]?.toUpperCase()})}function Zl(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Sec`]=dn(e[n]):e),e)}function Jl(t=[]){return e=>(t.map(n=>e[n]?e[`${n}Min`]=ao(e[n]):e),e)}function Xl(t=[]){return e=>(t.map(n=>e[`${n}Min`]=oo(e[n])),e)}function Ql(t){return{...t,periodResults:t.result?.match(/\(.*?\)/)?.[0]??""}}function tc(t){const e=[t.championshipName,...t.championshipName!==t.sectionName?[t.sectionName]:[],t.divisionName];return{...t,gameNames:e.join(" - ")}}const ec=Te([(t,e)=>new Date(t.gameDate).getTime()-new Date(e.gameDate).getTime(),Yt(j("id")),Yt(j("gameId"))]),gn=nn((t=>(e,n)=>e[t].localeCompare(n[t],"hu"))("name"));function nc(t){return[t.isHomeGame?null:"@",t.opponent?.shortName].join(" ")}function rc(t){let e=t?.homeTeamScore,n=t?.awayTeamScore;return t.isHomeGame||(e=t?.awayTeamScore,n=t?.homeTeamScore),[e,n].join(":")}function oc(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 ac(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 ic(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}`}const sc=q(nn(vt(j("seasonName"))),K(en(["championshipId","seasonName"]))),lc=t=>nn(Yt(j("teamName")),t),cc=q(St(j("sectionId")),mt(q(Kt,j("phases")))),uc=q(j("sectionId"),Qe),dc=q(j("phaseName"),Qe),fc=St(j("phaseId")),mc=q(St(j("name")),K(q(Bt,hn))),pc=q(j("phaseName"),fr),hc=q(Si,Se("_","-")),gc=q(mt(bi(/-:-/)),pt(",")),yc=q(K(pt(":")),K(Xt),pt(","),Se(/^\(|\)$/g,"")),bc=Te([vt(j("startingFive"))]),Sc=q(pr(", "),K(t=>`${t.lastName} ${t.firstName}`),mt(t=>!t)),Tc=q(qt(j("eventPeriod")),Wt,mt(Zt("Period","type"))),wc=qt(j("row")),Oc=(t,e)=>Lt(Ra([Or(e,["team","id"]),Zt("Gól","type")]),Wt(t)),Ac=q(K(Bt),en(["headCoach","secondCoach"])),vc=q(Wt,K(t=>({...t,eventId:t.eventId?t.eventId:jl()}))),_c=t=>St(j("eventTimeSec"),Object.values(t));function kc(t,e){const n=a=>{const i=["first_referee","second_referee","first_line_judge","second_line_judge"].indexOf(a.role);return i>-1?i:4},o=a=>({...Bt(a),role:e(`role.${a.role}`)});return qt(j("type"),K(o,St(n,Object.values(t))))}const Pc=Te([vt(j("points")),Yt(j("gamesPlayed")),vt(j("w")),vt(j("gd")),vt(j("gf"))]),Ec=(t,e)=>mt(Zt(t,"championshipId"),e),Nc=(t,e)=>Lt(Zt(t,"championshipId"),e),xc=q(mt(t=>["Rájátszás","Újrajátszandó"].includes(t.phaseName)),bt([0,"phases"])),$c=q(qt(Lc),St(t=>["ld","rd","d"].includes(t.position?.toLowerCase())?1:["lw","rw","c"].includes(t.position?.toLowerCase())?2:0),St(Ic),K(q(Bt,hn,vo(["position"]))));function Mc({goalieStats:t,fieldPlayers:e,playersPenalty:n}){const o=K(bt(["player","playerId"]))(t),i=mt(c=>o.includes(c.player.playerId),n),s=ci((c,d)=>c.player.playerId===d,n,o),l=_o(e,i),u=_o(t,s);return{fieldPlayers:gn(l),goalies:gn(u)}}const Cc=cr((t,e)=>It(Lt(Or(e,["team","id"])),K(Bt))(t));function Dc(t){const e=t.city?wr(gr("city"),Se(/$/,",")):()=>({});return q(pr(" "),lr,e,tn(["type"]))(t)}function Lc(t){return["ld","rd"].includes(t.position?.toLowerCase())?"defenders":["lw","rw","c"].includes(t.position?.toLowerCase())?"forwards":"goalies"}function Ic(t){return Number(t.jerseyNr)}function _o(t,e){return lr(gi(Sr,mr(bt(["player","playerId"]),t),mr(bt(["player","playerId"]),e)))}const Bc={setCookie(t,e,n){const o=new Date;o.setTime(o.getTime()+n*60*60*1e3);const a=`expires=${o.toUTCString()}`;document.cookie=`${t}=${e};${a};path=/`},getCookie(t){const e=`${t}=`,n=document.cookie.split(";");for(let o=0;o<n.length;o++){let a=n[o];for(;a.charAt(0)===" ";)a=a.substring(1);if(a.indexOf(e)===0)return a.substring(e.length,a.length)}return""},checkCookie(t){return this.getCookie(t)!==""}};function ko(t,e="body"){if(!t)return;if(typeof e!="string"){e?.append(t);return}document.querySelector(e)?.append(t)}function Rc(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})}class yn extends Error{constructor(e,n={}){const{key:o,cause:a}=n;super(e),this.name="WidgetError",this.key=o,this.cause=a}}const ne={message:"Undefined Column name Message",options:{key:"undefined-column",cause:{}}},zc={message:"Invalid season name",options:{key:"invalid-season-name",cause:{}}};function Vc(t){return`${Cn}${t}`}const re=(t="")=>window?.__MJSZ_VBR_WIDGET__?.[t];function Gc(t,e={}){if(e.externalGameUrl)return e.externalGameUrl;const n=re("gameResolver")||t;return typeof n=="function"?n(e):encodeURI(ht(n||Dn,e))}function jc(t,e={}){const n=re("teamResolver")||t;return typeof n=="function"?n(e):encodeURI(ht(n||Bn,e))}function Fc(t,e={}){const n=re("playerResolver")||t;return typeof n=="function"?n(e):encodeURI(ht(n||In,e))}function Uc(t,e={}){return typeof t=="function"?t(e):encodeURI(ht(t||Rn,e))}const Hc=(t,e="1x1")=>`${zn}/flag:${t}-${e}.svg`;function Yc(t){return t||(re("apiKey")?re("apiKey"):"")}function Wc(){window.scrollTo(0,0)}const Rt=Math.min,Pt=Math.max,De=Math.round,Le=Math.floor,ct=t=>({x:t,y:t}),qc={left:"right",right:"left",bottom:"top",top:"bottom"},Kc={start:"end",end:"start"};function bn(t,e,n){return Pt(t,Rt(e,n))}function oe(t,e){return typeof t=="function"?t(e):t}function Et(t){return t.split("-")[0]}function ae(t){return t.split("-")[1]}function Po(t){return t==="x"?"y":"x"}function Sn(t){return t==="y"?"height":"width"}const Zc=new Set(["top","bottom"]);function Tt(t){return Zc.has(Et(t))?"y":"x"}function Tn(t){return Po(Tt(t))}function Jc(t,e,n){n===void 0&&(n=!1);const o=ae(t),a=Tn(t),i=Sn(a);let s=a==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Ie(s)),[s,Ie(s)]}function Xc(t){const e=Ie(t);return[wn(t),e,wn(e)]}function wn(t){return t.replace(/start|end/g,e=>Kc[e])}const Eo=["left","right"],No=["right","left"],Qc=["top","bottom"],tu=["bottom","top"];function eu(t,e,n){switch(t){case"top":case"bottom":return n?e?No:Eo:e?Eo:No;case"left":case"right":return e?Qc:tu;default:return[]}}function nu(t,e,n,o){const a=ae(t);let i=eu(Et(t),n==="start",o);return a&&(i=i.map(s=>s+"-"+a),e&&(i=i.concat(i.map(wn)))),i}function Ie(t){return t.replace(/left|right|bottom|top/g,e=>qc[e])}function ru(t){return{top:0,right:0,bottom:0,left:0,...t}}function xo(t){return typeof t!="number"?ru(t):{top:t,right:t,bottom:t,left:t}}function Be(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 $o(t,e,n){let{reference:o,floating:a}=t;const i=Tt(e),s=Tn(e),l=Sn(s),u=Et(e),c=i==="y",d=o.x+o.width/2-a.width/2,f=o.y+o.height/2-a.height/2,y=o[l]/2-a[l]/2;let h;switch(u){case"top":h={x:d,y:o.y-a.height};break;case"bottom":h={x:d,y:o.y+o.height};break;case"right":h={x:o.x+o.width,y:f};break;case"left":h={x:o.x-a.width,y:f};break;default:h={x:o.x,y:o.y}}switch(ae(e)){case"start":h[s]-=y*(n&&c?-1:1);break;case"end":h[s]+=y*(n&&c?-1:1);break}return h}const ou=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}=$o(c,o,u),y=o,h={},m=0;for(let S=0;S<l.length;S++){const{name:g,fn:T}=l[S],{x:w,y:k,data:E,reset:N}=await T({x:d,y:f,initialPlacement:o,placement:y,strategy:a,middlewareData:h,rects:c,platform:s,elements:{reference:t,floating:e}});d=w??d,f=k??f,h={...h,[g]:{...h[g],...E}},N&&m<=50&&(m++,typeof N=="object"&&(N.placement&&(y=N.placement),N.rects&&(c=N.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):N.rects),{x:d,y:f}=$o(c,y,u)),S=-1)}return{x:d,y:f,placement:y,strategy:a,middlewareData:h}};async function Mo(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:y=!1,padding:h=0}=oe(e,t),m=xo(h),g=l[y?f==="floating"?"reference":"floating":f],T=Be(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:c,rootBoundary:d,strategy:u})),w=f==="floating"?{x:o,y:a,width:s.floating.width,height:s.floating.height}:s.reference,k=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),E=await(i.isElement==null?void 0:i.isElement(k))?await(i.getScale==null?void 0:i.getScale(k))||{x:1,y:1}:{x:1,y:1},N=Be(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:w,offsetParent:k,strategy:u}):w);return{top:(T.top-N.top+m.top)/E.y,bottom:(N.bottom-T.bottom+m.bottom)/E.y,left:(T.left-N.left+m.left)/E.x,right:(N.right-T.right+m.right)/E.x}}const au=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}=oe(t,e)||{};if(c==null)return{};const f=xo(d),y={x:n,y:o},h=Tn(a),m=Sn(h),S=await s.getDimensions(c),g=h==="y",T=g?"top":"left",w=g?"bottom":"right",k=g?"clientHeight":"clientWidth",E=i.reference[m]+i.reference[h]-y[h]-i.floating[m],N=y[h]-i.reference[h],L=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let B=L?L[k]:0;(!B||!await(s.isElement==null?void 0:s.isElement(L)))&&(B=l.floating[k]||i.floating[m]);const F=E/2-N/2,U=B/2-S[m]/2-1,C=Rt(f[T],U),M=Rt(f[w],U),R=C,Y=B-S[m]-M,P=B/2-S[m]/2+F,_=bn(R,P,Y),O=!u.arrow&&ae(a)!=null&&P!==_&&i.reference[m]/2-(P<R?C:M)-S[m]/2<0,v=O?P<R?P-R:P-Y:0;return{[h]:y[h]+v,data:{[h]:_,centerOffset:P-_-v,...O&&{alignmentOffset:v}},reset:O}}}),iu=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:y,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:S=!0,...g}=oe(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const T=Et(a),w=Tt(l),k=Et(l)===l,E=await(u.isRTL==null?void 0:u.isRTL(c.floating)),N=y||(k||!S?[Ie(l)]:Xc(l)),L=m!=="none";!y&&L&&N.push(...nu(l,S,m,E));const B=[l,...N],F=await Mo(e,g),U=[];let C=((o=i.flip)==null?void 0:o.overflows)||[];if(d&&U.push(F[T]),f){const P=Jc(a,s,E);U.push(F[P[0]],F[P[1]])}if(C=[...C,{placement:a,overflows:U}],!U.every(P=>P<=0)){var M,R;const P=(((M=i.flip)==null?void 0:M.index)||0)+1,_=B[P];if(_&&(!(f==="alignment"?w!==Tt(_):!1)||C.every(A=>A.overflows[0]>0&&Tt(A.placement)===w)))return{data:{index:P,overflows:C},reset:{placement:_}};let O=(R=C.filter(v=>v.overflows[0]<=0).sort((v,A)=>v.overflows[1]-A.overflows[1])[0])==null?void 0:R.placement;if(!O)switch(h){case"bestFit":{var Y;const v=(Y=C.filter(A=>{if(L){const x=Tt(A.placement);return x===w||x==="y"}return!0}).map(A=>[A.placement,A.overflows.filter(x=>x>0).reduce((x,$)=>x+$,0)]).sort((A,x)=>A[1]-x[1])[0])==null?void 0:Y[0];v&&(O=v);break}case"initialPlacement":O=l;break}if(a!==O)return{reset:{placement:O}}}return{}}}},su=new Set(["left","top"]);async function lu(t,e){const{placement:n,platform:o,elements:a}=t,i=await(o.isRTL==null?void 0:o.isRTL(a.floating)),s=Et(n),l=ae(n),u=Tt(n)==="y",c=su.has(s)?-1:1,d=i&&u?-1:1,f=oe(e,t);let{mainAxis:y,crossAxis:h,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"&&(h=l==="end"?m*-1:m),u?{x:h*d,y:y*c}:{x:y*c,y:h*d}}const cu=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 lu(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}}}}},uu=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:g=>{let{x:T,y:w}=g;return{x:T,y:w}}},...u}=oe(t,e),c={x:n,y:o},d=await Mo(e,u),f=Tt(Et(a)),y=Po(f);let h=c[y],m=c[f];if(i){const g=y==="y"?"top":"left",T=y==="y"?"bottom":"right",w=h+d[g],k=h-d[T];h=bn(w,h,k)}if(s){const g=f==="y"?"top":"left",T=f==="y"?"bottom":"right",w=m+d[g],k=m-d[T];m=bn(w,m,k)}const S=l.fn({...e,[y]:h,[f]:m});return{...S,data:{x:S.x-n,y:S.y-o,enabled:{[y]:i,[f]:s}}}}}};function Re(){return typeof window<"u"}function zt(t){return Co(t)?(t.nodeName||"").toLowerCase():"#document"}function nt(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function ut(t){var e;return(e=(Co(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Co(t){return Re()?t instanceof Node||t instanceof nt(t).Node:!1}function it(t){return Re()?t instanceof Element||t instanceof nt(t).Element:!1}function dt(t){return Re()?t instanceof HTMLElement||t instanceof nt(t).HTMLElement:!1}function Do(t){return!Re()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof nt(t).ShadowRoot}const du=new Set(["inline","contents"]);function ie(t){const{overflow:e,overflowX:n,overflowY:o,display:a}=st(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!du.has(a)}const fu=new Set(["table","td","th"]);function mu(t){return fu.has(zt(t))}const pu=[":popover-open",":modal"];function ze(t){return pu.some(e=>{try{return t.matches(e)}catch{return!1}})}const hu=["transform","translate","scale","rotate","perspective"],gu=["transform","translate","scale","rotate","perspective","filter"],yu=["paint","layout","strict","content"];function On(t){const e=An(),n=it(t)?st(t):t;return hu.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)||gu.some(o=>(n.willChange||"").includes(o))||yu.some(o=>(n.contain||"").includes(o))}function bu(t){let e=wt(t);for(;dt(e)&&!Vt(e);){if(On(e))return e;if(ze(e))return null;e=wt(e)}return null}function An(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Su=new Set(["html","body","#document"]);function Vt(t){return Su.has(zt(t))}function st(t){return nt(t).getComputedStyle(t)}function Ve(t){return it(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function wt(t){if(zt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Do(t)&&t.host||ut(t);return Do(e)?e.host:e}function Lo(t){const e=wt(t);return Vt(e)?t.ownerDocument?t.ownerDocument.body:t.body:dt(e)&&ie(e)?e:Lo(e)}function se(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const a=Lo(t),i=a===((o=t.ownerDocument)==null?void 0:o.body),s=nt(a);if(i){const l=vn(s);return e.concat(s,s.visualViewport||[],ie(a)?a:[],l&&n?se(l):[])}return e.concat(a,se(a,[],n))}function vn(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Io(t){const e=st(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const a=dt(t),i=a?t.offsetWidth:n,s=a?t.offsetHeight:o,l=De(n)!==i||De(o)!==s;return l&&(n=i,o=s),{width:n,height:o,$:l}}function _n(t){return it(t)?t:t.contextElement}function Gt(t){const e=_n(t);if(!dt(e))return ct(1);const n=e.getBoundingClientRect(),{width:o,height:a,$:i}=Io(e);let s=(i?De(n.width):n.width)/o,l=(i?De(n.height):n.height)/a;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Tu=ct(0);function Bo(t){const e=nt(t);return!An()||!e.visualViewport?Tu:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function wu(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==nt(t)?!1:e}function Nt(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const a=t.getBoundingClientRect(),i=_n(t);let s=ct(1);e&&(o?it(o)&&(s=Gt(o)):s=Gt(t));const l=wu(i,n,o)?Bo(i):ct(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 y=nt(i),h=o&&it(o)?nt(o):o;let m=y,S=vn(m);for(;S&&o&&h!==m;){const g=Gt(S),T=S.getBoundingClientRect(),w=st(S),k=T.left+(S.clientLeft+parseFloat(w.paddingLeft))*g.x,E=T.top+(S.clientTop+parseFloat(w.paddingTop))*g.y;u*=g.x,c*=g.y,d*=g.x,f*=g.y,u+=k,c+=E,m=nt(S),S=vn(m)}}return Be({width:d,height:f,x:u,y:c})}function kn(t,e){const n=Ve(t).scrollLeft;return e?e.left+n:Nt(ut(t)).left+n}function Ro(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),a=o.left+e.scrollLeft-(n?0:kn(t,o)),i=o.top+e.scrollTop;return{x:a,y:i}}function Ou(t){let{elements:e,rect:n,offsetParent:o,strategy:a}=t;const i=a==="fixed",s=ut(o),l=e?ze(e.floating):!1;if(o===s||l&&i)return n;let u={scrollLeft:0,scrollTop:0},c=ct(1);const d=ct(0),f=dt(o);if((f||!f&&!i)&&((zt(o)!=="body"||ie(s))&&(u=Ve(o)),dt(o))){const h=Nt(o);c=Gt(o),d.x=h.x+o.clientLeft,d.y=h.y+o.clientTop}const y=s&&!f&&!i?Ro(s,u,!0):ct(0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-u.scrollLeft*c.x+d.x+y.x,y:n.y*c.y-u.scrollTop*c.y+d.y+y.y}}function Au(t){return Array.from(t.getClientRects())}function vu(t){const e=ut(t),n=Ve(t),o=t.ownerDocument.body,a=Pt(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=Pt(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+kn(t);const l=-n.scrollTop;return st(o).direction==="rtl"&&(s+=Pt(e.clientWidth,o.clientWidth)-a),{width:a,height:i,x:s,y:l}}function _u(t,e){const n=nt(t),o=ut(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=An();(!c||c&&e==="fixed")&&(l=a.offsetLeft,u=a.offsetTop)}return{width:i,height:s,x:l,y:u}}const ku=new Set(["absolute","fixed"]);function Pu(t,e){const n=Nt(t,!0,e==="fixed"),o=n.top+t.clientTop,a=n.left+t.clientLeft,i=dt(t)?Gt(t):ct(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 zo(t,e,n){let o;if(e==="viewport")o=_u(t,n);else if(e==="document")o=vu(ut(t));else if(it(e))o=Pu(e,n);else{const a=Bo(t);o={x:e.x-a.x,y:e.y-a.y,width:e.width,height:e.height}}return Be(o)}function Vo(t,e){const n=wt(t);return n===e||!it(n)||Vt(n)?!1:st(n).position==="fixed"||Vo(n,e)}function Eu(t,e){const n=e.get(t);if(n)return n;let o=se(t,[],!1).filter(l=>it(l)&&zt(l)!=="body"),a=null;const i=st(t).position==="fixed";let s=i?wt(t):t;for(;it(s)&&!Vt(s);){const l=st(s),u=On(s);!u&&l.position==="fixed"&&(a=null),(i?!u&&!a:!u&&l.position==="static"&&!!a&&ku.has(a.position)||ie(s)&&!u&&Vo(t,s))?o=o.filter(d=>d!==s):a=l,s=wt(s)}return e.set(t,o),o}function Nu(t){let{element:e,boundary:n,rootBoundary:o,strategy:a}=t;const s=[...n==="clippingAncestors"?ze(e)?[]:Eu(e,this._c):[].concat(n),o],l=s[0],u=s.reduce((c,d)=>{const f=zo(e,d,a);return c.top=Pt(f.top,c.top),c.right=Rt(f.right,c.right),c.bottom=Rt(f.bottom,c.bottom),c.left=Pt(f.left,c.left),c},zo(e,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function xu(t){const{width:e,height:n}=Io(t);return{width:e,height:n}}function $u(t,e,n){const o=dt(e),a=ut(e),i=n==="fixed",s=Nt(t,!0,i,e);let l={scrollLeft:0,scrollTop:0};const u=ct(0);function c(){u.x=kn(a)}if(o||!o&&!i)if((zt(e)!=="body"||ie(a))&&(l=Ve(e)),o){const h=Nt(e,!0,i,e);u.x=h.x+e.clientLeft,u.y=h.y+e.clientTop}else a&&c();i&&!o&&a&&c();const d=a&&!o&&!i?Ro(a,l):ct(0),f=s.left+l.scrollLeft-u.x-d.x,y=s.top+l.scrollTop-u.y-d.y;return{x:f,y,width:s.width,height:s.height}}function Pn(t){return st(t).position==="static"}function Go(t,e){if(!dt(t)||st(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return ut(t)===n&&(n=n.ownerDocument.body),n}function jo(t,e){const n=nt(t);if(ze(t))return n;if(!dt(t)){let a=wt(t);for(;a&&!Vt(a);){if(it(a)&&!Pn(a))return a;a=wt(a)}return n}let o=Go(t,e);for(;o&&mu(o)&&Pn(o);)o=Go(o,e);return o&&Vt(o)&&Pn(o)&&!On(o)?n:o||bu(t)||n}const Mu=async function(t){const e=this.getOffsetParent||jo,n=this.getDimensions,o=await n(t.floating);return{reference:$u(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function Cu(t){return st(t).direction==="rtl"}const Du={convertOffsetParentRelativeRectToViewportRelativeRect:Ou,getDocumentElement:ut,getClippingRect:Nu,getOffsetParent:jo,getElementRects:Mu,getClientRects:Au,getDimensions:xu,getScale:Gt,isElement:it,isRTL:Cu};function Fo(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Lu(t,e){let n=null,o;const a=ut(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:y,height:h}=c;if(l||e(),!y||!h)return;const m=Le(f),S=Le(a.clientWidth-(d+y)),g=Le(a.clientHeight-(f+h)),T=Le(d),k={rootMargin:-m+"px "+-S+"px "+-g+"px "+-T+"px",threshold:Pt(0,Rt(1,u))||1};let E=!0;function N(L){const B=L[0].intersectionRatio;if(B!==u){if(!E)return s();B?s(!1,B):o=setTimeout(()=>{s(!1,1e-7)},1e3)}B===1&&!Fo(c,t.getBoundingClientRect())&&s(),E=!1}try{n=new IntersectionObserver(N,{...k,root:a.ownerDocument})}catch{n=new IntersectionObserver(N,k)}n.observe(t)}return s(!0),i}function Iu(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=_n(t),d=a||i?[...c?se(c):[],...se(e)]:[];d.forEach(T=>{a&&T.addEventListener("scroll",n,{passive:!0}),i&&T.addEventListener("resize",n)});const f=c&&l?Lu(c,n):null;let y=-1,h=null;s&&(h=new ResizeObserver(T=>{let[w]=T;w&&w.target===c&&h&&(h.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var k;(k=h)==null||k.observe(e)})),n()}),c&&!u&&h.observe(c),h.observe(e));let m,S=u?Nt(t):null;u&&g();function g(){const T=Nt(t);S&&!Fo(S,T)&&n(),S=T,m=requestAnimationFrame(g)}return n(),()=>{var T;d.forEach(w=>{a&&w.removeEventListener("scroll",n),i&&w.removeEventListener("resize",n)}),f?.(),(T=h)==null||T.disconnect(),h=null,u&&cancelAnimationFrame(m)}}const Bu=cu,Ru=uu,zu=iu,Uo=au,Vu=(t,e,n)=>{const o=new Map,a={platform:Du,...n},i={...a.platform,_c:o};return ou(t,e,{...a,platform:i})};function Gu({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),y=r.ref(n??"absolute"),h=r.ref(null),m=()=>{!i.value||!s.value||Vu(i.value,s.value,{middleware:t,placement:e,strategy:n}).then(g=>{l.value=g.x,u.value=g.y,y.value=g.strategy,c.value=g.middlewareData.arrow.x,d.value=g.middlewareData.arrow.y,f.value=g.placement})};r.watch(()=>({reference:r.unref(i),floating:r.unref(s),append:r.unref(o)}),({floating:g,append:T})=>{T&&ko(g,T),m()},{flush:"post"}),r.watch(a,g=>{if(!(!i.value||!s.value)){if(!g)return S();h.value=Iu(i.value,s.value,m,{})}},{flush:"post"});function S(){h.value?.(),h.value=null}return{x:l,y:u,arrowX:c,arrowY:d,placement:f,reference:i,floating:s,strategy:y,update:m}}function ju(t){const{element:e,padding:n}=t;return{name:"arrow",options:t,fn(o){return r.isRef(e)?e.value!=null?Uo({element:e.value,padding:n}).fn(o):{}:e?Uo({element:e,padding:n}).fn(o):{}}}}const Fu=["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=r.ref(!1),o=r.ref(null),{x:a,y:i,arrowX:s,arrowY:l,placement:u,reference:c,floating:d,strategy:f}=Gu({placement:e.placement,middleware:[zu(),Ru({padding:5}),Bu(e.offset),ju({element:o,padding:5})],append:r.computed(()=>e.appendTo),enabled:n});function y(){e.disabled||n.value||(n.value=!0)}function h(){n.value&&(n.value=!1)}function m(w){c.value=w}const S={onMouseenter:y,onMouseleave:h,onFocus:y,onBlur:h};Fi(d,()=>{n.value&&h()},{ignore:[c]});function g(){if(n.value)return h();y()}function T(w){if(!n.value)return;_t(d).querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])')[0]?.focus(),w.preventDefault()}return(w,k)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.renderSlot(w.$slots,"default",{setRef:m,nextFocus:T,open:n.value,toggle:g,show:y,hide:h,events:S}),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"},{default:r.withCtx(()=>[n.value?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(["floating-content",[[`is-${e.theme}`]]])},[r.renderSlot(w.$slots,"content",{close:h},()=>[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,Fu)],64))}},Uu={class:"table"},Hu=["tabindex","onMouseenter","onMouseleave","onFocus","onBlur","onClick","onKeydown"],Yu=["data-value"],Wu={key:0},qu=["colspan"],Ku={key:1},Zu=["colspan"],Ju={key:2},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,o=e,{isLoading:a,appendTo:i}=r.toRefs(n),s=Fr(a,{delay:jn}),{t:l}=lt(),u=r.computed(()=>n.columns),c=r.computed(()=>Object.keys(n.columns).length);function d(f,y){f.sortOrders&&o("sort",{target:y,orders:f.sortOrders})}return(f,y)=>(r.openBlock(),r.createElementBlock("table",Uu,[r.createElementVNode("thead",null,[r.createElementVNode("tr",null,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.value,(h,m)=>(r.openBlock(),r.createBlock(En,{key:m,placement:"top",content:h.tooltip,disabled:!h.tooltip,"append-to":r.unref(i)},{default:r.withCtx(({setRef:S,show:g,hide:T})=>[r.createElementVNode("th",{ref_for:!0,ref:S,class:r.normalizeClass([[r.unref(Mr)(h.class)],{"is-active":m===t.sort.sortTarget&&t.sort.orders[0].direction!==r.unref(ft),"is-sortable":h.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(D)}]),tabindex:h.sortOrders?0:-1,role:"button",onMouseenter:g,onMouseleave:T,onFocus:g,onBlur:T,onClick:w=>d(h,m),onKeydown:[r.withKeys(r.withModifiers(w=>d(h,m),["prevent"]),["space"]),r.withKeys(r.withModifiers(w=>d(h,m),["prevent"]),["enter"])]},[r.renderSlot(f.$slots,`header-${m}`,{column:h},()=>[r.createTextVNode(r.toDisplayString(h.label),1)]),h.sortOrders&&m!==t.sort.sortTarget?(r.openBlock(),r.createBlock(r.unref(So),{key:0,class:"is-icon-sort"})):r.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(ft)?(r.openBlock(),r.createBlock(r.unref(So),{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($l),{key:2,class:"is-icon-sort"})):r.createCommentVNode("",!0),m===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(D)?(r.openBlock(),r.createBlock(r.unref(Dl),{key:3,class:"is-icon-sort"})):r.createCommentVNode("",!0)],42,Hu)]),_:2},1032,["content","disabled","append-to"]))),128))])]),r.createElementVNode("tbody",null,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(n.rows,(h,m)=>(r.openBlock(),r.createElementBlock("tr",{key:m,class:r.normalizeClass(h.rowClasses)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.value,(S,g)=>(r.openBlock(),r.createElementBlock("td",{key:g,"data-value":h[g],class:r.normalizeClass([[S.class],{"is-active":g===t.sort.sortTarget&&t.sort.orders[0].direction!==r.unref(ft),"is-zero":h[g]===0||h[g]==="00:00"}])},[r.renderSlot(f.$slots,`cell-${g}`,{row:h,prop:g},()=>[r.createTextVNode(r.toDisplayString(h[g]),1)])],10,Yu))),128))],2))),128))]),r.unref(s)&&t.rows.length===0?(r.openBlock(),r.createElementBlock("tfoot",Wu,[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,qu)])])):r.createCommentVNode("",!0),t.rows.length===0&&!r.unref(a)&&!r.unref(s)?(r.openBlock(),r.createElementBlock("tfoot",Ku,[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,Zu)])])):r.createCommentVNode("",!0),f.$slots.caption?(r.openBlock(),r.createElementBlock("caption",Ju,[r.renderSlot(f.$slots,"caption")])):r.createCommentVNode("",!0)]))}},Xu={class:"error-notice"},Qu=["textContent"],td={__name:"ErrorNotice",props:{error:{type:Object,default:()=>({})},useRetry:{type:Boolean,default:!1}},emits:["retry"],setup(t){const e=t,{t:n,hasTranslation:o}=lt(),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",Xu,[r.createVNode(r.unref(Bl),{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,Qu)):r.createCommentVNode("",!0)]))}},ed={__name:"ErrorProvider",setup(t){const{message:e,hasError:n,error:o}=Dr();return(a,i)=>r.renderSlot(a.$slots,"default",{message:r.unref(e),error:r.unref(o),hasError:r.unref(n)})}},nd={class:"form-field"},rd=["for"],Ho={__name:"FormField",props:{label:{type:String,default:""},name:{type:String,required:!0}},setup(t){return(e,n)=>(r.openBlock(),r.createElementBlock("div",nd,[r.createElementVNode("label",{for:t.name},r.toDisplayString(t.label),9,rd),r.renderSlot(e.$slots,"default")]))}},od={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"},pper:{short:"PPer",tooltip:"Total periods 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"}}},ad={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"},pper:{short:"PPer",tooltip:"Összes lejátszott játékrész"},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"}}},id=(t,e)=>{const n=t.__vccOpts||t;for(const[o,a]of e)n[o]=a;return n},sd=r.defineComponent({props:{locale:{type:String,default:"hu"},messages:{type:Object,default:()=>({})}},setup(t){const e=br({hu:ad,en:od},t.messages),{translate:n}=Pr({locale:r.computed(()=>t.locale),messages:e});return{translate:n}}});function ld(t,e,n,o,a,i){return r.renderSlot(t.$slots,"default",{t:t.translate})}const cd=id(sd,[["render",ld]]),ud=["src","width","height"],dd=["src","title","width","height"],xt=Object.assign({inheritAttrs:!1},{__name:"Image",props:{src:{type:String,default:""},title:{type:String,default:""},defaultSrc:{type:String,default:""},width:{type:Number,default:void 0},height:{type:Number,default:void 0}},setup(t){const e=t,{defaultSrc:n}=r.toRefs(e),o=r.ref({src:e.src}),{error:a,isReady:i}=Yi(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]]),style:r.normalizeStyle([s.$attrs.style]),width:t.width,height:t.height},null,14,ud)):r.createCommentVNode("",!0),r.unref(a)?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("img",{key:1,src:o.value.src,title:e.title,class:r.normalizeClass([s.$attrs.class,{"is-loaded":r.unref(i)}]),style:r.normalizeStyle([s.$attrs.style]),width:t.width,height:t.height,loading:"lazy"},null,14,dd))],64))}}),fd={class:"loading-indicator"},xn={__name:"LoadingIndicator",setup(t){const{t:e}=lt();return(n,o)=>(r.openBlock(),r.createElementBlock("div",fd,r.toDisplayString(r.unref(e)("common.loading")),1))}},md={key:0,class:"paginator"},pd=["disabled"],hd=["disabled"],gd={key:1,class:"is-disabled"},yd=["disabled","onClick"],bd={key:2,class:"is-disabled"},Sd=["disabled"],Td=["disabled"],wd={__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}=tl({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",md,[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(yl),{class:"icon paginator-left"})])],8,pd),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,hd)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",gd," ... ")),(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:y=>r.unref(l)(f)},r.toDisplayString(f),11,yd))),128)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",bd,[...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,Sd)),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(Al),{class:"icon paginator-left"})])],8,Td)])):r.createCommentVNode("",!0)}},$n={__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))}},Od={class:"is-team-name-long"},Ad={class:"is-team-name-short"},vd={class:"is-team-name-long"},_d={class:"is-team-name-short"},kd={key:0,class:"text-highlighted"},Pd=["href","target"],Ed={key:0,class:"badge"},Nd={key:1,class:"badge"},xd={key:2,class:"badge"},$d={key:1},Md=["data-state","onClick","onKeydown"],Cd={class:"list"},Dd=["href","target"],Ld={class:"start"},Id={class:"text"},Bd={key:0},Rd=["href"],zd={class:"start"},Vd={class:"text"},Gd={__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}=an(),{columns:a,error:i}=on(Fn,r.computed(()=>e.hideColumns),r.computed(()=>({offsetName:e.offsetName})));Gi(i,()=>o(new yn(ne.message,{...ne.options,cause:{column:i.value}})),{immediate:!0});const{t:s}=lt();return(l,u)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createVNode($n,null,{default:r.withCtx(({el:c})=>[r.createVNode(Nn,{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",Od,r.toDisplayString(d.homeTeam.longName),1),r.createElementVNode("span",Ad,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",vd,r.toDisplayString(d.awayTeam.longName),1),r.createElementVNode("span",_d,r.toDisplayString(d.awayTeam.shortName),1)],64)):r.createCommentVNode("",!0)]),"cell-homeTeamLogo":r.withCtx(({row:d})=>[d.homeTeam?(r.openBlock(),r.createBlock(xt,{key:d.homeTeam.id,class:"is-logo-image",src:d.homeTeam.logo},null,8,["src"])):r.createCommentVNode("",!0)]),"cell-awayTeamLogo":r.withCtx(({row:d})=>[d.awayTeam?(r.openBlock(),r.createBlock(xt,{key:d.awayTeam.id,class:"is-logo-image",src:d.awayTeam.logo},null,8,["src"])):r.createCommentVNode("",!0)]),"cell-gameResult":r.withCtx(({row:d})=>[d.gameStatus===0?(r.openBlock(),r.createElementBlock("span",kd,"-:-")):(r.openBlock(),r.createElementBlock("a",{key:1,href:t.externalGameResolver(d.gameId),target:t.externalGameResolverTarget,class:r.normalizeClass({"text-highlighted":d.gameStatus!==1,"is-text-accent":d.gameStatus===1})},r.toDisplayString(d.homeTeamScore)+":"+r.toDisplayString(d.awayTeamScore),11,Pd))]),"cell-gameResultType":r.withCtx(({row:d})=>[d.isOvertime?(r.openBlock(),r.createElementBlock("span",Ed,r.toDisplayString(r.unref(s)("common.overtimeShort")),1)):r.createCommentVNode("",!0),d.isShootout?(r.openBlock(),r.createElementBlock("span",Nd,r.toDisplayString(r.unref(s)("common.shootoutShort")),1)):r.createCommentVNode("",!0),d.seriesStandings?(r.openBlock(),r.createElementBlock("span",xd,r.toDisplayString(d.seriesStandings),1)):r.createCommentVNode("",!0)]),"cell-broadcast":r.withCtx(({row:d})=>[d.broadcast?(r.openBlock(),r.createBlock(r.unref(pl),{key:0})):(r.openBlock(),r.createElementBlock("span",$d))]),"cell-location":r.withCtx(({row:d})=>[r.createTextVNode(r.toDisplayString(d.location?.locationName??""),1)]),"cell-more":r.withCtx(({row:d})=>[r.createVNode(En,{offset:2,placement:"left",theme:"content","append-to":c},{default:r.withCtx(({setRef:f,open:y,toggle:h,nextFocus:m})=>[r.createElementVNode("button",{ref:f,type:"button","aria-label":"more","data-state":y?"open":"closed",class:"icon-button",onClick:r.withModifiers(h,["stop","prevent"]),onKeydown:r.withKeys(m,["tab"])},[r.createVNode(r.unref(Tl))],40,Md)]),content:r.withCtx(()=>[r.createElementVNode("ul",Cd,[r.createElementVNode("li",null,[r.createElementVNode("a",{href:t.externalGameResolver(d.gameId),class:"is-dropdown-item",target:t.externalGameResolverTarget},[r.createElementVNode("div",Ld,[r.createVNode(r.unref(kl))]),r.createElementVNode("div",Id,r.toDisplayString(r.unref(s)("common.report")),1)],8,Dd)]),d.video?(r.openBlock(),r.createElementBlock("li",Bd,[r.createElementVNode("a",{href:d.video,class:"is-dropdown-item",target:"_blank"},[r.createElementVNode("div",zd,[r.createVNode(r.unref(Vl))]),r.createElementVNode("div",Vd,r.toDisplayString(r.unref(s)("common.video")),1)],8,Rd)])):r.createCommentVNode("",!0)])]),_:2},1032,["append-to"])]),loading:r.withCtx(()=>[r.createVNode(xn)]),_:2},1032,["columns","rows","is-loading","append-to"])]),_:1}),r.createElementVNode("div",{ref_key:"tooltipContainer",ref:n},null,512)],64))}},jd={class:"flex-container mb-md"},Fd=["value"],Ud={key:0,class:"tabs underlined mb-md"},Hd=["aria-label"],Yd=["aria-selected","onClick"],Wd={__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}=lt(),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",jd,[r.createVNode(Ho,{label:r.unref(a)("selection.season"),name:"season"},{default:r.withCtx(()=>[r.createVNode(fo,{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,Fd))),128))]),_:1},8,["modelValue"])]),_:1},8,["label"]),r.renderSlot(l.$slots,"default")]),t.isSectionSelectionDisabled?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("nav",Ud,[r.createElementVNode("div",{role:"tablist","aria-label":r.unref(a)("selection.sections")},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(t.sections,c=>(r.openBlock(),r.createElementBlock("button",{key:c.phaseId,role:"tab",type:"button","aria-selected":c.phaseName===t.sectionId,onClick:d=>s(c)},r.toDisplayString(c.phaseName),9,Yd))),128))],8,Hd)]))],64))}},qd={class:"avatar"},Kd=["href"],Zd={class:"is-team-name-long"},Jd={class:"is-team-name-short"},Xd={class:"is-team-name-long"},Qd={key:0},tf={class:"is-team-name-short"},ef={key:0},nf={class:"is-team-name-long"},rf={class:"is-team-name-short"},of={class:"is-team-name-long"},af={class:"is-team-name-short"},sf=["href"],lf={key:0,class:"text-highlighted"},cf=["href","target"],uf={key:0,class:"badge"},df={key:1,class:"badge"},ff={key:2,class:"badge"},mf={__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}=an(),{t:l}=lt(),{columns:u,error:c}=on(a,i,r.computed(()=>({offsetName:n.offsetName})));c.value&&s(new yn(ne.message,{...ne.options,cause:{column:c.value}}));const d=f=>o("sort",f);return(f,y)=>(r.openBlock(),r.createBlock($n,null,{default:r.withCtx(({el:h})=>[r.createVNode(Nn,{columns:r.unref(u),sort:n.sort,rows:n.rows,"is-loading":t.isLoading,"append-to":t.appendTo||h,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",qd,[(r.openBlock(),r.createBlock(xt,{key:m.player.playerId,src:m.player.picture,"default-src":r.unref(Ln)},null,8,["src","default-src"]))])]),"cell-teamLogo":r.withCtx(({row:m})=>[(r.openBlock(),r.createBlock(xt,{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(xt,{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(xt,{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",Zd,r.toDisplayString(m.team?.longName),1),r.createElementVNode("span",Jd,r.toDisplayString(m.team?.shortName),1)],8,Kd)):(r.openBlock(),r.createElementBlock(r.Fragment,{key:1},[r.createElementVNode("span",Xd,[r.createTextVNode(r.toDisplayString(m.team?.longName)+" ",1),m.penaltyPoints?(r.openBlock(),r.createElementBlock("span",Qd,[...y[0]||(y[0]=[r.createElementVNode("sup",null,"*",-1)])])):r.createCommentVNode("",!0)]),r.createElementVNode("span",tf,[r.createTextVNode(r.toDisplayString(m.team?.shortName)+" ",1),m.penaltyPoints?(r.openBlock(),r.createElementBlock("span",ef,[...y[1]||(y[1]=[r.createElementVNode("sup",null,"*",-1)])])):r.createCommentVNode("",!0)])],64))]),"cell-homeTeamName":r.withCtx(({row:m})=>[r.createElementVNode("span",nf,r.toDisplayString(m.homeTeam?.longName),1),r.createElementVNode("span",rf,r.toDisplayString(m.homeTeam?.shortName),1)]),"cell-awayTeamName":r.withCtx(({row:m})=>[r.createElementVNode("span",of,r.toDisplayString(m.awayTeam?.longName),1),r.createElementVNode("span",af,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",lf,"-:-")):(r.openBlock(),r.createElementBlock("a",{key:1,href:t.externalGameResolver(m),target:t.externalGameResolverTarget,class:r.normalizeClass({"text-highlighted":m.gameStatus!==1,"is-text-accent":m.gameStatus===1})},r.toDisplayString(m.homeTeamScore)+":"+r.toDisplayString(m.awayTeamScore),11,cf))]),"cell-gameResultType":r.withCtx(({row:m})=>[m.isOvertime?(r.openBlock(),r.createElementBlock("span",uf,r.toDisplayString(r.unref(l)("common.overtimeShort")),1)):r.createCommentVNode("",!0),m.isShootout?(r.openBlock(),r.createElementBlock("span",df,r.toDisplayString(r.unref(l)("common.shootoutShort")),1)):r.createCommentVNode("",!0),m.seriesStandings?(r.openBlock(),r.createElementBlock("span",ff,r.toDisplayString(m.seriesStandings),1)):r.createCommentVNode("",!0)]),loading:r.withCtx(()=>[r.createVNode(xn)]),_: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,sf)]),key:"0"}:void 0,f.$slots.caption?{name:"caption",fn:r.withCtx(()=>[r.renderSlot(f.$slots,"caption")]),key:"1"}:void 0]),1032,["columns","sort","rows","is-loading","append-to"])]),_:3}))}},pf={class:"timezone-selector"},hf=["onClick"],gf={__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}=lt(),i=r.computed(()=>ee(new Date,null,n.locale)),s=ro(),l=r.computed(()=>Array.from(Gn.values()).map(c=>({...c,isActive:ee(new Date,n.currentZone,n.locale)===ee(new Date,c.timezone,n.locale),zoneOffsetName:ee(new Date,c.timezone,n.locale)}))),u=c=>o("change",c);return(c,d)=>(r.openBlock(),r.createElementBlock("div",pf,[r.createVNode(r.unref(Nr),{path:"common.selectTimezone",tag:"span"},{timezone:r.withCtx(()=>[r.createElementVNode("button",{type:"button","data-variant":"link",onClick:d[0]||(d[0]=f=>u(r.unref(s)))},r.toDisplayString(i.value),1)]),_:1}),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(l.value,f=>(r.openBlock(),r.createElementBlock("button",{key:f.countryLabelKey,type:"button","data-variant":"link",class:r.normalizeClass({"is-active":f.isActive}),onClick:r.withModifiers(y=>u(f.timezone),["prevent"])},r.toDisplayString(r.unref(a)(`common.${f.countryLabelKey}`))+" ("+r.toDisplayString(f.zoneOffsetName)+") ",11,hf))),128))]))}},yf={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:""}},bf={externalTeamResolver:{type:[String,Function],default:""},isTeamLinked:{type:Boolean,default:!1}},Sf={limit:{type:Number,default:20},teamFilterByName:{type:String,default:""},externalPlayerResolver:{type:[String,Function],default:""},isPlayerLinked:{type:Boolean,default:!1}},Tf={externalGameResolver:{type:[String,Function],default:""},isGameTargetExternal:{type:Boolean,default:!1}};function Yo({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 wf={install:(t,e={})=>Yo({app:t,...e})};return p.AVAILABLE_TIMEZONES_BY_COUNTRY=Gn,p.AdditionalStandingsText=dl,p.BaseSelect=fo,p.COLUMNS_FIELD_PLAYERS=Xo,p.COLUMNS_FIELD_PLAYERS_PENALTY=Qo,p.COLUMNS_FIELD_PLAYERS_TOI=ta,p.COLUMNS_GOALIES=ea,p.COLUMNS_PLAYERS_NATIONAL=na,p.COLUMNS_SCHEDULE=Fn,p.COLUMNS_SCORING_EFFICIENCY=sa,p.COLUMNS_STANDINGS_P_2=Zo,p.COLUMNS_STANDINGS_P_3=qo,p.COLUMNS_STANDINGS_P_PER=Ko,p.COLUMNS_STANDINGS_SHORT=Jo,p.COLUMNS_TEAMS_FAIRPLAY=oa,p.COLUMNS_TEAMS_PENALTY_KILLING=aa,p.COLUMNS_TEAMS_POWERPLAY=ia,p.COLUMNS_TEAM_ATTENDANCE=ra,p.DEFAULT_EXTERNAL_GAME_URL=Dn,p.DEFAULT_EXTERNAL_PLAYER_URL=In,p.DEFAULT_EXTERNAL_STATISTIC_URL=Rn,p.DEFAULT_EXTERNAL_TEAM_URL=Bn,p.DEFAULT_PORTRAIT_IMAGE_URL=Ln,p.DataTable=Nn,p.ErrorNotice=td,p.ErrorProvider=ed,p.FLAG_BASE_URL=zn,p.FetchMoreObserver=ha,p.FloatingPanel=En,p.FormField=Ho,p.I18NProvider=cd,p.Image=xt,p.InvalidSeasonName=zc,p.LAZY_LOADING_STATE_DELAY=jn,p.LOCALE_FOR_LANG=Vn,p.LoadingIndicator=xn,p.Paginator=wd,p.REFRESH_DELAY=Wo,p.ResponsiveTable=$n,p.SORT_STATE_ASCEND=D,p.SORT_STATE_DESCEND=b,p.SORT_STATE_ORIGINAL=ft,p.ScheduleTable=Gd,p.SeasonSelector=Wd,p.StatisticsTable=mf,p.TimezoneSelector=gf,p.UndefinedColumn=ne,p.VBR_API_BASE_URL=Mn,p.VBR_API_WEBSOCKET_BASE_URL=Cn,p.WidgetError=yn,p.addDays=qs,p.appendTo=ko,p.baseProps=yf,p.clone=Wa,p.convert=Fl,p.convertAddress=Dc,p.convertGameEvents=Tc,p.convertGameNames=tc,p.convertGameOfficials=kc,p.convertGamePeriodResults=Ql,p.convertMinToMinSec=ao,p.convertMinToSec=dn,p.convertPenaltyCauseName=hc,p.convertPeriodResults=gc,p.convertPeriodResultsToArray=yc,p.convertPhaseName=ac,p.convertSeasons=sc,p.convertSecToMin=oo,p.convertTeams=lc,p.convertTimes=Zl,p.convertTimesMinToMinSec=Jl,p.convertTimesSecToMin=Xl,p.cookie=Bc,p.createConfig=Yo,p.createI18n=Pr,p.currentWeek=Hs,p.currentWeekStartEnd=Ys,p.default=wf,p.endOfMonth=Zs,p.externalGameLinkResolver=Gc,p.externalPlayerLinkResolver=Fc,p.externalStatisticLinkResolver=Uc,p.externalTeamLinkResolver=jc,p.fetchVBRData=Lr,p.filterAllowedClasses=Mr,p.filterAndSortSections=cc,p.filterGoalScorersFromEvents=Oc,p.flagResolver=Hc,p.format=kt,p.gameDateTime=Hl,p.gameProps=Tf,p.gameResult=Yl,p.getLocalTimezone=ro,p.getWebsocketURL=Vc,p.groupLines=wc,p.head=Qe,p.i18n=Nr,p.isAfter=Fs,p.isBefore=js,p.isBetween=io,p.isEmpty=Kt,p.isNotEmpty=fi,p.isSame=Vs,p.isSameOrBefore=fn,p.isToday=Us,p.joinOfficals=Sc,p.last=fr,p.localeSort=gn,p.map=K,p.max=Xs,p.mergeLeft=Sr,p.mergePlayerStats=Mc,p.min=Js,p.offsetName=ee,p.omit=tn,p.path=bt,p.pick=en,p.pickCoaches=Ac,p.pipe=It,p.playerName=Bt,p.playerStatsProps=Sf,p.prop=j,p.propEq=Zt,p.rawConvert=Ul,p.reject=mt,p.removeCurrentFromSeasonStats=Ec,p.removeUnneededPhases=xc,p.resolveApiKey=Yc,p.reverse=Wt,p.scheduleOptionalRowClass=Kl,p.scrollToTop=Wc,p.selectFirstPhaseName=dc,p.selectFirstSectionId=uc,p.selectLastSections=pc,p.sortBy=St,p.sortByDomNode=Rc,p.sortByEventTimeSec=_c,p.sortByPhaseId=fc,p.sortByStartingFive=bc,p.sortGames=ec,p.standingTableSort=Pc,p.startOfMonth=Ks,p.subtractDays=Ws,p.sum=pi,p.teamName=hn,p.teamOpponent=Wl,p.teamResultType=ql,p.teamStatsProps=bf,p.templateReplacer=ht,p.toKebabCase=$r,p.transformCurrentSeasonStats=Nc,p.transformEventsForGameTimeline=vc,p.transformFieledPlayersStats=Cc,p.transformPlayers=mc,p.transformRosters=$c,p.upperCase=vo,p.useAdditionalText=_r,p.useColumns=on,p.useError=an,p.useErrorProvider=Dr,p.useGameDataSocket=qi,p.useI18n=lt,p.useLazyLoadingState=Fr,p.usePage=Qs,p.useScrollToGameDate=el,p.useServices=nl,p.useSort=ll,p.useVisibilityChange=cl,p.validateColumnsName=xr,p.yearToNow=Gs,Object.defineProperties(p,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),p}({},Vue);
|
|
8
|
+
var MjszVbrElementsCore=(function(e,t){Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:`Module`}});var n=Object.create,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,c=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),l=(e,t,n,o)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var c=a(t),l=0,u=c.length,d;l<u;l++)d=c[l],!s.call(e,d)&&d!==n&&r(e,d,{get:(e=>t[e]).bind(null,d),enumerable:!(o=i(t,d))||o.enumerable});return e},u=(e,t,i)=>(i=e==null?{}:n(o(e)),l(t||!e||!e.__esModule?r(i,`default`,{value:e,enumerable:!0}):i,e)),d=`https://api.icehockey.hu`,f=`wss://api.icehockey.hu/socket/vbr`,p=`https://www.jegkorongszovetseg.hu/event/game/{gameId}`,m=`https://jegkorongszovetseg.hu/assets/images/player_blank.png`,h=`https://www.ersteliga.hu/stats/player/?playerId={player.playerId}&championshipId={championshipId}`,g=`https://www.ersteliga.hu/stats/team/?teamId={team.id}&championshipId={championshipId}`,_=`https://www.ersteliga.hu/stats?report={id}`,v=`https://api.icehockey.hu/static/api/flag`,y=`original`,b=`descend`,x=`ascend`,S=new Map().set(`hu`,`hu-hu`).set(`en`,`hu-gb`),C=new Map().set(`Europe/Budapest`,{countryLabelKey:`hungary`,timezone:`Europe/Budapest`}).set(`Europe/Bucharest`,{countryLabelKey:`romania`,timezone:`Europe/Bucharest`}),w=1e3*60*5,T=1e3,E={gameName:{label:`table.gameName.short`,tooltip:`table.gameName.tooltip`,class:`text-start text-dimmed`},gameDateDate:{label:`table.gameDate.short`,tooltip:`table.gameDate.tooltip`,class:`text-start`},gameDateTime:{label:`table.gameDateTime.short`,tooltip:`table.gameDateTime.tooltip`,class:`text-start`},homeTeamName:{label:`table.homeTeam.short`,tooltip:`table.homeTeam.tooltip`,class:`text-end w-auto font-bold`},homeTeamLogo:{label:``,class:`is-has-image`},gameResult:{label:``,class:`font-bold text-xl`},gameResultType:{label:``,tooltip:``},awayTeamLogo:{label:``,class:`is-has-image`},awayTeamName:{label:`table.awayTeam.short`,tooltip:`table.awayTeam.tooltip`,class:`text-start w-auto font-bold`},location:{label:`table.location.short`,tooltip:`table.location.tooltip`,class:`text-start`},broadcast:{label:`table.broadcast.short`,tooltip:`table.broadcast.tooltip`},more:{label:``}},ee={index:{label:`table.blank`,class:`text-start`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`teamName`,direction:x}]},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:x}]},l:{label:`table.losses.short`,tooltip:`table.losses.tooltip`,sortOrders:[{target:`l`,direction:x}]},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:x}]},gd:{label:`table.goalDiff.short`,tooltip:`table.goalDiff.tooltip`,sortOrders:[{target:`gd`,direction:b}]},points:{label:`table.points.short`,tooltip:`table.points.tooltip`,class:`font-bold`,sortOrders:[{target:`points`,direction:b},{target:`gamesPlayed`,direction:x},{target:`w`,direction:b},{target:`gd`,direction:b},{target:`gf`,direction:b}]}},D={index:{label:`table.blank`,class:`text-start`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`teamName`,direction:x}]},gamesPlayed:{label:`table.game.short`,tooltip:`table.game.tooltip`,sortOrders:[{target:`gamesPlayed`,direction:b}]},pper:{label:`table.pper.short`,tooltip:`table.pper.tooltip`,sortOrders:[{target:`pper`,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:x}]},l:{label:`table.losses.short`,tooltip:`table.losses.tooltip`,sortOrders:[{target:`l`,direction:x}]},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:x}]},gd:{label:`table.goalDiff.short`,tooltip:`table.goalDiff.tooltip`,sortOrders:[{target:`gd`,direction:b}]},points:{label:`table.points.short`,tooltip:`table.points.tooltip`,class:`font-bold`,sortOrders:[{target:`points`,direction:b},{target:`gamesPlayed`,direction:x},{target:`w`,direction:b},{target:`gd`,direction:b},{target:`gf`,direction:b}]}},te={index:{label:`#`,class:`text-start`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`teamName`,direction:x}]},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:x}]},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:x}]},gd:{label:`table.goalDiff.short`,tooltip:`table.goalDiff.tooltip`,sortOrders:[{target:`gd`,direction:b}]},points:{label:`table.points.short`,tooltip:`table.points.tooltip`,class:`font-bold`,sortOrders:[{target:`points`,direction:b}]}},ne={index:{label:`#`,class:`text-start italic text-dimmed`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`},gamesPlayed:{label:`table.game.short`,tooltip:`table.game.tooltip`,class:`text-dimmed`},w:{label:`table.wins.short`,tooltip:`table.wins.tooltip`,class:`text-dimmed`},l:{label:`table.losses.short`,tooltip:`table.losses.tooltip`,class:`text-dimmed`},gd:{label:`table.goalDiff.short`,tooltip:`table.goalDiff.tooltip`,class:`text-dimmed`},points:{label:`table.points.short`,tooltip:`table.points.tooltip`,class:`font-bold`}},re={index:{label:`#`,class:`text-start`},playerPortrait:{label:``,class:`has-avatar`},name:{label:`table.name.short`,tooltip:`table.name.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`name`,direction:x}]},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto`,sortOrders:[{target:`teamName`,direction:x}]},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}]}},ie={index:{label:`table.blank`,class:`text-start`},playerPortrait:{label:``,class:`has-avatar`},name:{label:`table.name.short`,tooltip:`table.name.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`name`,direction:x}]},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto`,sortOrders:[{target:`teamName`,direction:x}]},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}]}},ae={index:{label:`#`,class:`text-start`},playerPortrait:{label:``,class:`has-avatar`},name:{label:`table.name.short`,tooltip:`table.name.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`name`,direction:x}]},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto`,sortOrders:[{target:`teamName`,direction:x}]},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}]}},oe={index:{label:`table.blank`,class:`text-start`},playerPortrait:{label:``,class:`has-avatar`},name:{label:`table.name.short`,tooltip:`table.name.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`name`,direction:x}]},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto`,sortOrders:[{target:`teamName`,direction:x}]},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}]}},se={index:{label:`#`,class:`text-start`},playerPortrait:{label:``,class:`has-avatar`},name:{label:`table.name.short`,tooltip:`table.name.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`name`,direction:x}]},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}]}},ce={index:{label:`table.blank`,class:`text-start`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`teamName`,direction:x}]},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}]}},le={index:{label:`table.blank`,class:`text-start`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`teamName`,direction:x}]},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}]}},ue={index:{label:`table.blank`,class:`text-start`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`teamName`,direction:x}]},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}]}},de={index:{label:`table.blank`,class:`text-start`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`teamName`,direction:x}]},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}]}},fe={index:{label:`table.blank`,class:`text-start`},teamLogo:{label:``,class:`is-has-image`},teamName:{label:`table.team.short`,tooltip:`table.team.tooltip`,class:`text-start w-auto font-bold`,sortOrders:[{target:`teamName`,direction:x}]},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:x}]},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:x}]},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:x}]},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:x}]},sp:{label:`table.sogPercent.short`,tooltip:`table.sogPercent.tooltip`,sortOrders:[{target:`sp`,direction:b}]}};function pe(e){return(0,t.getCurrentScope)()?((0,t.onScopeDispose)(e),!0):!1}function me(e){return typeof e==`function`?e():(0,t.unref)(e)}var he=typeof window<`u`&&typeof document<`u`;typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope;var ge=e=>e!=null,_e=()=>{};function ve(e){let t=me(e);return t?.$el??t}var ye=he?window:void 0;function be(){let e=(0,t.ref)(!1);return(0,t.getCurrentInstance)()&&(0,t.onMounted)(()=>{e.value=!0}),e}function xe(e){let n=be();return(0,t.computed)(()=>(n.value,!!e()))}function Se(e,n,r={}){let{root:i,rootMargin:a=`0px`,threshold:o=.1,window:s=ye,immediate:c=!0}=r,l=xe(()=>s&&`IntersectionObserver`in s),u=(0,t.computed)(()=>{let t=me(e);return(Array.isArray(t)?t:[t]).map(ve).filter(ge)}),d=_e,f=(0,t.ref)(c),p=l.value?(0,t.watch)(()=>[u.value,ve(i),f.value],([e,t])=>{if(d(),!f.value||!e.length)return;let r=new IntersectionObserver(n,{root:ve(t),rootMargin:a,threshold:o});e.forEach(e=>e&&r.observe(e)),d=()=>{r.disconnect(),d=_e}},{immediate:c,flush:`post`}):_e,m=()=>{d(),p(),f.value=!1};return pe(m),{isSupported:l,isActive:f,pause(){d(),f.value=!1},resume(){f.value=!0},stop:m}}var Ce=(0,t.defineComponent)({name:`FetchMoreObserver`,props:[`as`,`options`],emits:[`intersect`],setup(e,{slots:n,emit:r}){let i=(0,t.ref)(null),{stop:a}=Se(i,([{isIntersecting:e}])=>{e&&r(`intersect`)},e.options);return(0,t.onUnmounted)(a),()=>{if(n.default)return(0,t.h)(e.as||`div`,{ref:i},n.default())}}});function O(e){return typeof e==`object`&&!!e&&e[`@@functional/placeholder`]===!0}function k(e){return function t(n){return arguments.length===0||O(n)?t:e.apply(this,arguments)}}function A(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return O(n)?t:k(function(t){return e(n,t)});default:return O(n)&&O(r)?t:O(n)?k(function(t){return e(t,r)}):O(r)?k(function(t){return e(n,t)}):e(n,r)}}}var we=A(function(e,t){return Number(e)+Number(t)});function Te(e,t){switch(e){case 0:return function(){return t.apply(this,arguments)};case 1:return function(e){return t.apply(this,arguments)};case 2:return function(e,n){return t.apply(this,arguments)};case 3:return function(e,n,r){return t.apply(this,arguments)};case 4:return function(e,n,r,i){return t.apply(this,arguments)};case 5:return function(e,n,r,i,a){return t.apply(this,arguments)};case 6:return function(e,n,r,i,a,o){return t.apply(this,arguments)};case 7:return function(e,n,r,i,a,o,s){return t.apply(this,arguments)};case 8:return function(e,n,r,i,a,o,s,c){return t.apply(this,arguments)};case 9:return function(e,n,r,i,a,o,s,c,l){return t.apply(this,arguments)};case 10:return function(e,n,r,i,a,o,s,c,l,u){return t.apply(this,arguments)};default:throw Error(`First argument to _arity must be a non-negative integer no greater than ten`)}}function Ee(e,t,n){return function(){for(var r=[],i=0,a=e,o=0,s=!1;o<t.length||i<arguments.length;){var c;o<t.length&&(!O(t[o])||i>=arguments.length)?c=t[o]:(c=arguments[i],i+=1),r[o]=c,O(c)?s=!0:--a,o+=1}return!s&&a<=0?n.apply(this,r):Te(Math.max(0,a),Ee(e,r,n))}}var De=A(function(e,t){return e===1?k(t):Te(e,Ee(e,[],t))});function j(e){return function t(n,r,i){switch(arguments.length){case 0:return t;case 1:return O(n)?t:A(function(t,r){return e(n,t,r)});case 2:return O(n)&&O(r)?t:O(n)?A(function(t,n){return e(t,r,n)}):O(r)?A(function(t,r){return e(n,t,r)}):k(function(t){return e(n,r,t)});default:return O(n)&&O(r)&&O(i)?t:O(n)&&O(r)?A(function(t,n){return e(t,n,i)}):O(n)&&O(i)?A(function(t,n){return e(t,r,n)}):O(r)&&O(i)?A(function(t,r){return e(n,t,r)}):O(n)?k(function(t){return e(t,r,i)}):O(r)?k(function(t){return e(n,t,i)}):O(i)?k(function(t){return e(n,r,t)}):e(n,r,i)}}}var Oe=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)===`[object Array]`};function ke(e){return e!=null&&typeof e[`@@transducer/step`]==`function`}function Ae(e,t,n){return function(){if(arguments.length===0)return n();var r=arguments[arguments.length-1];if(!Oe(r)){for(var i=0;i<e.length;){if(typeof r[e[i]]==`function`)return r[e[i]].apply(r,Array.prototype.slice.call(arguments,0,-1));i+=1}if(ke(r))return t.apply(null,Array.prototype.slice.call(arguments,0,-1))(r)}return n.apply(this,arguments)}}function je(e){return e&&e[`@@transducer/reduced`]?e:{"@@transducer/value":e,"@@transducer/reduced":!0}}var Me={init:function(){return this.xf[`@@transducer/init`]()},result:function(e){return this.xf[`@@transducer/result`](e)}};function Ne(e){for(var t=[],n;!(n=e.next()).done;)t.push(n.value);return t}function Pe(e,t,n){for(var r=0,i=n.length;r<i;){if(e(t,n[r]))return!0;r+=1}return!1}function Fe(e){var t=String(e).match(/^function (\w*)/);return t==null?``:t[1]}function M(e,t){return Object.prototype.hasOwnProperty.call(t,e)}function Ie(e,t){return e===t?e!==0||1/e==1/t:e!==e&&t!==t}var Le=typeof Object.is==`function`?Object.is:Ie,Re=Object.prototype.toString,ze=function(){return Re.call(arguments)===`[object Arguments]`?function(e){return Re.call(e)===`[object Arguments]`}:function(e){return M(`callee`,e)}}(),Be=!{toString:null}.propertyIsEnumerable(`toString`),Ve=[`constructor`,`valueOf`,`isPrototypeOf`,`toString`,`propertyIsEnumerable`,`hasOwnProperty`,`toLocaleString`],He=function(){"use strict";return arguments.propertyIsEnumerable(`length`)}(),Ue=function(e,t){for(var n=0;n<e.length;){if(e[n]===t)return!0;n+=1}return!1},N=typeof Object.keys==`function`&&!He?k(function(e){return Object(e)===e?Object.keys(e):[]}):k(function(e){if(Object(e)!==e)return[];var t,n,r=[],i=He&&ze(e);for(t in e)M(t,e)&&(!i||t!==`length`)&&(r[r.length]=t);if(Be)for(n=Ve.length-1;n>=0;)t=Ve[n],M(t,e)&&!Ue(r,t)&&(r[r.length]=t),--n;return r}),We=k(function(e){return e===null?`Null`:e===void 0?`Undefined`:Object.prototype.toString.call(e).slice(8,-1)});function Ge(e,t,n,r){var i=Ne(e),a=Ne(t);function o(e,t){return Ke(e,t,n.slice(),r.slice())}return!Pe(function(e,t){return!Pe(o,t,e)},a,i)}function Ke(e,t,n,r){if(Le(e,t))return!0;var i=We(e);if(i!==We(t))return!1;if(typeof e[`fantasy-land/equals`]==`function`||typeof t[`fantasy-land/equals`]==`function`)return typeof e[`fantasy-land/equals`]==`function`&&e[`fantasy-land/equals`](t)&&typeof t[`fantasy-land/equals`]==`function`&&t[`fantasy-land/equals`](e);if(typeof e.equals==`function`||typeof t.equals==`function`)return typeof e.equals==`function`&&e.equals(t)&&typeof t.equals==`function`&&t.equals(e);switch(i){case`Arguments`:case`Array`:case`Object`:if(typeof e.constructor==`function`&&Fe(e.constructor)===`Promise`)return e===t;break;case`Boolean`:case`Number`:case`String`:if(!(typeof e==typeof t&&Le(e.valueOf(),t.valueOf())))return!1;break;case`Date`:if(!Le(e.valueOf(),t.valueOf()))return!1;break;case`Error`:return e.name===t.name&&e.message===t.message;case`RegExp`:if(!(e.source===t.source&&e.global===t.global&&e.ignoreCase===t.ignoreCase&&e.multiline===t.multiline&&e.sticky===t.sticky&&e.unicode===t.unicode))return!1;break}for(var a=n.length-1;a>=0;){if(n[a]===e)return r[a]===t;--a}switch(i){case`Map`:return e.size===t.size?Ge(e.entries(),t.entries(),n.concat([e]),r.concat([t])):!1;case`Set`:return e.size===t.size?Ge(e.values(),t.values(),n.concat([e]),r.concat([t])):!1;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 o=N(e);if(o.length!==N(t).length)return!1;var s=n.concat([e]),c=r.concat([t]);for(a=o.length-1;a>=0;){var l=o[a];if(!(M(l,t)&&Ke(t[l],e[l],s,c)))return!1;--a}return!0}var qe=A(function(e,t){return Ke(e,t,[],[])});function Je(e,t,n){var r,i;if(typeof e.indexOf==`function`)switch(typeof t){case`number`:if(t===0){for(r=1/t;n<e.length;){if(i=e[n],i===0&&1/i===r)return n;n+=1}return-1}else if(t!==t){for(;n<e.length;){if(i=e[n],typeof i==`number`&&i!==i)return n;n+=1}return-1}return e.indexOf(t,n);case`string`:case`boolean`:case`function`:case`undefined`:return e.indexOf(t,n);case`object`:if(t===null)return e.indexOf(t,n)}for(;n<e.length;){if(qe(e[n],t))return n;n+=1}return-1}function Ye(e,t){return Je(t,e,0)>=0}function Xe(e,t){for(var n=0,r=t.length,i=Array(r);n<r;)i[n]=e(t[n]),n+=1;return i}function Ze(e){return`"`+e.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`).replace(/"/g,`\\"`)+`"`}var Qe=function(e){return(e<10?`0`:``)+e},$e=typeof Date.prototype.toISOString==`function`?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+`-`+Qe(e.getUTCMonth()+1)+`-`+Qe(e.getUTCDate())+`T`+Qe(e.getUTCHours())+`:`+Qe(e.getUTCMinutes())+`:`+Qe(e.getUTCSeconds())+`.`+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+`Z`};function et(e){return function(){return!e.apply(this,arguments)}}function tt(e,t,n){for(var r=0,i=n.length;r<i;)t=e(t,n[r]),r+=1;return t}function nt(e,t){for(var n=0,r=t.length,i=[];n<r;)e(t[n])&&(i[i.length]=t[n]),n+=1;return i}function rt(e,t){for(var n=new Map,r=t.entries(),i=r.next();!i.done;)e(i.value[1])&&n.set(i.value[0],i.value[1]),i=r.next();return n}function it(e){return Object.prototype.toString.call(e)===`[object Map]`}function at(e){return Object.prototype.toString.call(e)===`[object Object]`}var ot=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype[`@@transducer/init`]=Me.init,e.prototype[`@@transducer/result`]=Me.result,e.prototype[`@@transducer/step`]=function(e,t){return this.f(t)?this.xf[`@@transducer/step`](e,t):e},e}();function st(e){return function(t){return new ot(e,t)}}var ct=A(Ae([`fantasy-land/filter`,`filter`],st,function(e,t){return at(t)?tt(function(n,r){return e(t[r])&&(n[r]=t[r]),n},{},N(t)):it(t)?rt(e,t):nt(e,t)})),P=A(function(e,t){return ct(et(e),t)});function lt(e,t){var n=function(n){var r=t.concat([e]);return Ye(n,r)?`<Circular>`:lt(n,r)},r=function(e,t){return Xe(function(t){return Ze(t)+`: `+n(e[t])},t.slice().sort())};switch(Object.prototype.toString.call(e)){case`[object Arguments]`:return`(function() { return arguments; }(`+Xe(n,e).join(`, `)+`))`;case`[object Array]`:return`[`+Xe(n,e).concat(r(e,P(function(e){return/^\d+$/.test(e)},N(e)))).join(`, `)+`]`;case`[object Boolean]`:return typeof e==`object`?`new Boolean(`+n(e.valueOf())+`)`:e.toString();case`[object Date]`:return`new Date(`+(isNaN(e.valueOf())?n(NaN):Ze($e(e)))+`)`;case`[object Map]`:return`new Map(`+n(Array.from(e))+`)`;case`[object Null]`:return`null`;case`[object Number]`:return typeof e==`object`?`new Number(`+n(e.valueOf())+`)`:1/e==-1/0?`-0`:e.toString(10);case`[object Set]`:return`new Set(`+n(Array.from(e).sort())+`)`;case`[object String]`:return typeof e==`object`?`new String(`+n(e.valueOf())+`)`:Ze(e);case`[object Undefined]`:return`undefined`;default:if(typeof e.toString==`function`){var i=e.toString();if(i!==`[object Object]`)return i}return`{`+r(e,N(e)).join(`, `)+`}`}}var ut=k(function(e){return lt(e,[])}),dt=A(function(e,t){if(e===t)return t;function n(e,t){if(e>t!=t>e)return t>e?t:e}var r=n(e,t);if(r!==void 0)return r;var i=n(typeof e,typeof t);if(i!==void 0)return i===typeof e?e:t;var a=ut(e),o=n(a,ut(t));return o===void 0?t:o===a?e:t}),ft=function(){function e(e,t){this.xf=t,this.f=e}return e.prototype[`@@transducer/init`]=Me.init,e.prototype[`@@transducer/result`]=Me.result,e.prototype[`@@transducer/step`]=function(e,t){return this.xf[`@@transducer/step`](e,this.f(t))},e}(),F=A(Ae([`fantasy-land/map`,`map`],function(e){return function(t){return new ft(e,t)}},function(e,t){switch(Object.prototype.toString.call(t)){case`[object Function]`:return De(t.length,function(){return e.call(this,t.apply(this,arguments))});case`[object Object]`:return tt(function(n,r){return n[r]=e(t[r]),n},{},N(t));default:return Xe(e,t)}})),pt=Number.isInteger||function(e){return e<<0===e};function mt(e,t){return t[e<0?t.length+e:e]}function ht(e,t){if(t!=null)return pt(e)?mt(e,t):t[e]}var I=A(ht),gt=A(function(e,t){return F(I(e),t)});function _t(e){return Object.prototype.toString.call(e)===`[object String]`}var vt=k(function(e){return Oe(e)?!0:!e||typeof e!=`object`||_t(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),yt=typeof Symbol<`u`?Symbol.iterator:`@@iterator`;function bt(e,t,n){return function(r,i,a){if(vt(a))return e(r,i,a);if(a==null)return i;if(typeof a[`fantasy-land/reduce`]==`function`)return t(r,i,a,`fantasy-land/reduce`);if(a[yt]!=null)return n(r,i,a[yt]());if(typeof a.next==`function`)return n(r,i,a);if(typeof a.reduce==`function`)return t(r,i,a,`reduce`);throw TypeError(`reduce: list must be array or iterable`)}}function xt(e,t,n){for(var r=0,i=n.length;r<i;){if(t=e[`@@transducer/step`](t,n[r]),t&&t[`@@transducer/reduced`]){t=t[`@@transducer/value`];break}r+=1}return e[`@@transducer/result`](t)}var St=A(function(e,t){return Te(e.length,function(){return e.apply(t,arguments)})});function Ct(e,t,n){for(var r=n.next();!r.done;){if(t=e[`@@transducer/step`](t,r.value),t&&t[`@@transducer/reduced`]){t=t[`@@transducer/value`];break}r=n.next()}return e[`@@transducer/result`](t)}function wt(e,t,n,r){return e[`@@transducer/result`](n[r](St(e[`@@transducer/step`],e),t))}var Tt=bt(xt,wt,Ct),Et=function(){function e(e){this.f=e}return e.prototype[`@@transducer/init`]=function(){throw Error(`init not implemented on XWrap`)},e.prototype[`@@transducer/result`]=function(e){return e},e.prototype[`@@transducer/step`]=function(e,t){return this.f(e,t)},e}();function Dt(e){return new Et(e)}var Ot=j(function(e,t,n){return Tt(typeof e==`function`?Dt(e):e,t,n)}),kt=k(function(e){return De(Ot(dt,0,gt(`length`,e)),function(){for(var t=0,n=e.length;t<n;){if(!e[t].apply(this,arguments))return!1;t+=1}return!0})}),At=k(function(e){return function(){return e}}),jt=k(function(e){return De(Ot(dt,0,gt(`length`,e)),function(){for(var t=0,n=e.length;t<n;){if(e[t].apply(this,arguments))return!0;t+=1}return!1})}),Mt=k(function(e){for(var t=N(e),n=t.length,r=[],i=0;i<n;)r[i]=e[t[i]],i+=1;return r}),Nt=j(function(e,t,n){var r=e(t),i=e(n);return r<i?-1:r>i?1:0}),Pt=k(function(e){return De(e.length,e)});function Ft(e,t,n){if(pt(e)&&Oe(n)){var r=e<0?n.length+e:e,i=[].concat(n);return i[r]=t,i}var a={};for(var o in n)a[o]=n[o];return a[e]=t,a}var It=k(function(e){return e==null}),Lt=j(function e(t,n,r){if(t.length===0)return n;var i=t[0];if(t.length>1){var a=ht(i,r);(It(a)||typeof a!=`object`)&&(a=pt(t[1])?[]:{}),n=e(Array.prototype.slice.call(t,1),n,a)}return Ft(i,n,r)}),Rt=j(function(e,t,n){return Lt([e],t,n)});function zt(e){var t=Object.prototype.toString.call(e);return t===`[object Function]`||t===`[object AsyncFunction]`||t===`[object GeneratorFunction]`||t===`[object AsyncGeneratorFunction]`}function Bt(e){return new RegExp(e.source,e.flags?e.flags:(e.global?`g`:``)+(e.ignoreCase?`i`:``)+(e.multiline?`m`:``)+(e.sticky?`y`:``)+(e.unicode?`u`:``)+(e.dotAll?`s`:``))}function Vt(e,t,n){if(n||=new Ut,Ht(e))return e;var r=function(r){var i=n.get(e);if(i)return i;for(var a in n.set(e,r),e)Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=t?Vt(e[a],!0,n):e[a]);return r};switch(We(e)){case`Object`:return r(Object.create(Object.getPrototypeOf(e)));case`Array`:return r(Array(e.length));case`Date`:return new Date(e.valueOf());case`RegExp`:return Bt(e);case`Int8Array`:case`Uint8Array`:case`Uint8ClampedArray`:case`Int16Array`:case`Uint16Array`:case`Int32Array`:case`Uint32Array`:case`Float32Array`:case`Float64Array`:case`BigInt64Array`:case`BigUint64Array`:return e.slice();default:return e}}function Ht(e){var t=typeof e;return e==null||t!=`object`&&t!=`function`}var Ut=function(){function e(){this.map={},this.length=0}return e.prototype.set=function(e,t){var n=this.hash(e),r=this.map[n];r||(this.map[n]=r=[]),r.push([e,t]),this.length+=1},e.prototype.hash=function(e){var t=[];for(var n in e)t.push(Object.prototype.toString.call(e[n]));return t.join()},e.prototype.get=function(e){if(this.length<=180){for(var t in this.map)for(var n=this.map[t],r=0;r<n.length;r+=1){var i=n[r];if(i[0]===e)return i[1]}return}var a=this.hash(e),n=this.map[a];if(n)for(var r=0;r<n.length;r+=1){var i=n[r];if(i[0]===e)return i[1]}},e}(),Wt=k(function(e){return e!=null&&typeof e.clone==`function`?e.clone():Vt(e,!0)});function Gt(e,t){return function(){return t.call(this,e.apply(this,arguments))}}function Kt(e,t){return function(){var n=arguments.length;if(n===0)return t();var r=arguments[n-1];return Oe(r)||typeof r[e]!=`function`?t.apply(this,arguments):r[e].apply(r,Array.prototype.slice.call(arguments,0,n-1))}}var qt=k(Kt(`tail`,j(Kt(`slice`,function(e,t,n){return Array.prototype.slice.call(n,e,t)}))(1,1/0)));function Jt(){if(arguments.length===0)throw Error(`pipe requires at least one argument`);return Te(arguments[0].length,Ot(Gt,arguments[0],qt(arguments)))}var Yt=k(function(e){return _t(e)?e.split(``).reverse().join(``):Array.prototype.slice.call(e,0).reverse()});function L(){if(arguments.length===0)throw Error(`compose requires at least one argument`);return Jt.apply(this,Yt(arguments))}var Xt=k(function(e){return mt(0,e)}),Zt=function(){function e(e,t,n,r){this.valueFn=e,this.valueAcc=t,this.keyFn=n,this.xf=r,this.inputs={}}return e.prototype[`@@transducer/init`]=Me.init,e.prototype[`@@transducer/result`]=function(e){for(var t in this.inputs)if(M(t,this.inputs)&&(e=this.xf[`@@transducer/step`](e,this.inputs[t]),e[`@@transducer/reduced`])){e=e[`@@transducer/value`];break}return this.inputs=null,this.xf[`@@transducer/result`](e)},e.prototype[`@@transducer/step`]=function(e,t){var n=this.keyFn(t);return this.inputs[n]=this.inputs[n]||[n,Vt(this.valueAcc,!1)],this.inputs[n][1]=this.valueFn(this.inputs[n][1],t),e},e}();function Qt(e,t,n){return function(r){return new Zt(e,t,n,r)}}var $t=Ee(4,[],Ae([],Qt,function(e,t,n,r){return Tt(Dt(function(r,i){var a=n(i),o=e(M(a,r)?r[a]:Vt(t,!1),i);return o&&o[`@@transducer/reduced`]?je(r):(r[a]=o,r)}),{},r)})),en=j(function(e,t,n){var r=e(t),i=e(n);return r>i?-1:r<i?1:0}),tn=k(function(e){return mt(-1,e)});function nn(e){var t=Object.prototype.toString.call(e);return t===`[object Uint8ClampedArray]`||t===`[object Int8Array]`||t===`[object Uint8Array]`||t===`[object Int16Array]`||t===`[object Uint16Array]`||t===`[object Int32Array]`||t===`[object Uint32Array]`||t===`[object Float32Array]`||t===`[object Float64Array]`||t===`[object BigInt64Array]`||t===`[object BigUint64Array]`}var rn=k(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:Oe(e)?[]:_t(e)?``:at(e)?{}:ze(e)?function(){return arguments}():nn(e)?e.constructor.from(``):void 0}),an=function(){function e(e,t){this.xf=t,this.f=e,this.found=!1}return e.prototype[`@@transducer/init`]=Me.init,e.prototype[`@@transducer/result`]=function(e){return this.found||(e=this.xf[`@@transducer/step`](e,void 0)),this.xf[`@@transducer/result`](e)},e.prototype[`@@transducer/step`]=function(e,t){return this.f(t)&&(this.found=!0,e=je(this.xf[`@@transducer/step`](e,t))),e},e}();function on(e){return function(t){return new an(e,t)}}var sn=A(Ae([`find`],on,function(e,t){for(var n=0,r=t.length;n<r;){if(e(t[n]))return t[n];n+=1}})),cn=function(){function e(e,t){this.xf=t,this.f=e,this.idx=-1,this.found=!1}return e.prototype[`@@transducer/init`]=Me.init,e.prototype[`@@transducer/result`]=function(e){return this.found||(e=this.xf[`@@transducer/step`](e,-1)),this.xf[`@@transducer/result`](e)},e.prototype[`@@transducer/step`]=function(e,t){return this.idx+=1,this.f(t)&&(this.found=!0,e=je(this.xf[`@@transducer/step`](e,this.idx))),e},e}();function ln(e){return function(t){return new cn(e,t)}}var un=A(Ae([],ln,function(e,t){for(var n=0,r=t.length;n<r;){if(e(t[n]))return n;n+=1}return-1})),dn=A(Kt(`groupBy`,$t(function(e,t){return e.push(t),e},[]))),fn=j(function(e,t,n){return De(Math.max(e.length,t.length,n.length),function(){return e.apply(this,arguments)?t.apply(this,arguments):n.apply(this,arguments)})}),pn=A(Ye),mn=$t(function(e,t){return t},null),hn=j(function(e,t,n){return nt(function(t){return Pe(e,t,n)},t)});function gn(e){if(e==null)throw TypeError(`Cannot convert undefined or null to object`);for(var t=Object(e),n=1,r=arguments.length;n<r;){var i=arguments[n];if(i!=null)for(var a in i)M(a,i)&&(t[a]=i[a]);n+=1}return t}var _n=typeof Object.assign==`function`?Object.assign:gn,vn=A(function(e,t){return De(e+1,function(){var n=arguments[e];if(n!=null&&zt(n[t]))return n[t].apply(n,Array.prototype.slice.call(arguments,0,e));throw TypeError(ut(n)+` does not have a method named "`+t+`"`)})}),yn=k(function(e){return e!=null&&qe(e,rn(e))}),bn=k(function(e){return!yn(e)}),xn=vn(1,`join`),Sn=A(function(e,t){return function(n){return function(r){return F(function(e){return t(e,r)},n(e(r)))}}});function Cn(e,t){for(var n=t,r=0;r<e.length;r+=1){if(n==null)return;var i=e[r];n=pt(i)?mt(i,n):n[i]}return n}var wn=k(function(e){return Sn(I(e),Rt(e))}),Tn=Ot(we,0),En=j(function(e,t,n){var r={},i;for(i in t||={},n||={},t)M(i,t)&&(r[i]=M(i,n)?e(i,t[i],n[i]):t[i]);for(i in n)M(i,n)&&!M(i,r)&&(r[i]=n[i]);return r}),Dn=j(function e(t,n,r){return En(function(n,r,i){return at(r)&&at(i)?e(t,r,i):t(n,r,i)},n,r)}),On=A(function(e,t){return Dn(function(e,t,n){return n},e,t)}),kn=A(function(e,t){return _n({},t,e)}),An=j(function(e,t,n){return En(function(t,n,r){return e(n,r)},t,n)}),jn=A(function(e,t){for(var n={},r={},i=0,a=e.length;i<a;)r[e[i]]=1,i+=1;for(var o in t)r.hasOwnProperty(o)||(n[o]=t[o]);return n}),Mn=function(e){return{value:e,map:function(t){return Mn(t(e))}}},Nn=j(function(e,t,n){return e(function(e){return Mn(t(e))})(n).value}),R=A(Cn),Pn=j(function(e,t,n){return qe(Cn(t,n),e)}),Fn=A(function(e,t){for(var n={},r=0;r<e.length;)e[r]in t&&(n[e[r]]=t[e[r]]),r+=1;return n}),In=j(function(e,t,n){return qe(e,I(t,n))}),Ln=j(function(e,t,n){return e(I(t,n))}),Rn=j(function(e,t,n){return n.replace(e,t)}),zn=A(function(e,t){return Array.prototype.slice.call(t,0).sort(e)}),z=A(function(e,t){return Array.prototype.slice.call(t,0).sort(function(t,n){var r=e(t),i=e(n);return r<i?-1:r>i?1:0})}),Bn=A(function(e,t){return Array.prototype.slice.call(t,0).sort(function(t,n){for(var r=0,i=0;r===0&&i<e.length;)r=e[i](t,n),i+=1;return r})}),B=vn(1,`split`);function Vn(e){return Object.prototype.toString.call(e)===`[object RegExp]`}var Hn=A(function(e,t){if(!Vn(e))throw TypeError(`‘test’ requires a value of type RegExp as its first argument; received `+ut(e));return Bt(e).test(t)}),Un=vn(0,`toLowerCase`),Wn=vn(0,`toUpperCase`),Gn=`
|
|
9
|
+
\v\f\r \xA0 \u2028\u2029`,Kn=typeof String.prototype.trim!=`function`||Gn.trim()?k(function(e){var t=RegExp(`^[`+Gn+`][`+Gn+`]*`),n=RegExp(`[`+Gn+`][`+Gn+`]*$`);return e.replace(t,``).replace(n,``)}):k(function(e){return e.trim()});function qn(e,n,r,i){let a=(0,t.ref)(``),o=(0,t.ref)(!1),s=e=>{let t=ct(I(n),e),i=t.length>0;if(o.value=i,!i)return a.value=``;let s=t.map(e=>({team:e.team.longName,points:Math.abs(I(n,e))})).map(e=>r(`additionalText.${n}.content`,e)).join(`, `);a.value=[r(`additionalText.${n}.prependix`),s,...r(`additionalText.${n}.appendix`)&&[r(`additionalText.${n}.appendix`)]].join(` `)};return(0,t.watch)(e,s,{immediate:!0}),(0,t.watch)(()=>(0,t.unref)(i),()=>s((0,t.unref)(e))),{text:a,isVisible:o}}var Jn=Symbol(`I18nContext`),Yn=/\{(\w+)\}/g,Xn=/\{|\}/,V=(0,t.reactive)({messages:{},locale:``,fallbackLocale:``});function Zn({messages:e={},locale:n=``,fallbackLocale:r=``}){V.messages=On(V.messages,e),V.locale=n,V.fallbackLocale=r;let i=(e,n={})=>{let r=!yn(n),i=F(Kn,B(`.`,e));return(0,t.computed)(()=>{let e=$n(i);return r?tr(e,n):e}).value};return(0,t.provide)(Jn,{locale:(0,t.computed)({get(){return V.locale},set(e){V.locale=e}}),setLocale:e=>{V.locale=e},translate:i,hasTranslation:e=>{let t=F(Kn,B(`.`,e));return!!er(V.locale,t,V.messages)}}),{translate:i}}function H(e){e&&(V.messages=e.messages,V.locale=e.locale,V.fallbackLocale=e.fallbackLocale);let t=Qn();return{locale:t.locale,t:t.translate,setLocale:t.setLocale,hasTranslation:t.hasTranslation}}function Qn(){let e=(0,t.inject)(Jn,null);if(e===null)throw Error(`Provider is missing a parent component.`);return e}function $n(e=[]){let t=er(V.locale,e,V.messages);return!t&&V.fallbackLocale&&(t=er(V.fallbackLocale,e,V.messages)),t||e.join(`.`)}function er(e,t,n){return R([e,...t],n)}function tr(e,t){return e.replace(Yn,(e,n)=>t[n])}var nr=(0,t.defineComponent)({props:{tag:{type:String,default:`div`},path:{type:String,defult:``}},setup(e,{slots:n}){let r=B(Xn,$n(F(Kn,B(`.`,e.path)))),i=Object.keys(n).map(e=>{let t=r.indexOf(e);return t>-1&&(r[t]=n[e]()[0]),r});return()=>(0,t.h)(e.tag,i)}});function rr(e,n=``,r={}){let i=(0,t.ref)(``),{t:a}=H(),o=(0,t.computed)(()=>{if((0,t.unref)(n))try{return jn(ir((0,t.unref)(e),(0,t.unref)(n)),(0,t.unref)(e))}catch(e){i.value=e}return(0,t.unref)(e)}),s=e=>({...e,...e.label&&{label:a(e.label??``,(0,t.unref)(r))},...e.tooltip&&{tooltip:a(e.tooltip??``)}});return{columns:(0,t.computed)(()=>F(s,o.value)),error:i}}function ir(e,t=``){let n=F(Kn,B(`,`,t)),r=N(e);if(n[0]===``)return[];let i=n.findIndex(e=>!r.includes(e));if(i>-1)throw n[i];return n}var ar=[`text-start`,`text-center`,`text-end`,`w-auto`],or=/[A-Z]{2,}(?=[A-Z][a-z]|\b)|[A-Z]?[a-z]+\d*|[A-Z]|\d+/g,sr=/\{([^}]+)\}/g;function cr(e){return e&&e.match(or).map(e=>e.toLowerCase()).join(`-`)}function U(e=``,t={}){return e.replace(sr,(e,n)=>R(B(`.`,n),t))}function lr(e){return(e||``).split(` `).filter(e=>ar.includes(e)).join(` `)}var ur=Symbol(`ErrorProviderContext`);function dr(){let e=(0,t.ref)(``),n=(0,t.ref)({}),r=t=>{console.error({error:t}),e.value=t.message||t.error.message,n.value={message:t.message,key:t.key||cr(t.message),cause:t.cause}},i=()=>{e.value=``,n.value={}};return(0,t.provide)(ur,{onError:r,reset:i}),window.onerror=e=>{console.error(`WINDOW_ONERROR:`,e)},(0,t.onErrorCaptured)((e,t,n)=>{console.error(`onErrorCaptured:`,e,t,n)}),{hasError:(0,t.computed)(()=>e.value.length>0),message:e,error:n,reset:i,onError:r}}function fr(){let e=pr();return{onError:e.onError,reset:e.reset}}function pr(){let e=(0,t.inject)(ur,null);if(e===null)throw Error(`Provider is missing a parent component.`);return e}async function mr(e,n,r){let i=`${d}/vbr${(0,t.unref)(e)}${yn(r)?``:`?${hr(r)}`}`;return new Promise((e,t)=>{fetch(i,{method:`GET`,cache:`no-cache`,headers:{"Content-Type":`application/json`,"X-API-KEY":gr(n)}}).then(e=>e.json()).then(n=>{if(n.error)return t(n);if(n.data.message)return t(n.data);e(n.data)}).catch(e=>{t(e)})})}function hr(e){return Object.keys(e).map(t=>`${t}=${e[t]}`).join(`&`)}function gr(e){return e||(window.__MJSZ_VBR_WIDGET__?.apiKey?window.__MJSZ_VBR_WIDGET__.apiKey:``)}function _r(e,n){return(0,t.getCurrentScope)()?((0,t.onScopeDispose)(e,n),!0):!1}var W=typeof window<`u`&&typeof document<`u`,vr=typeof WorkerGlobalScope<`u`&&globalThis instanceof WorkerGlobalScope,yr=Object.prototype.toString,br=e=>yr.call(e)===`[object Object]`,G=()=>{},xr=Sr();function Sr(){var e,t;return W&&!!(!((e=window)==null||(e=e.navigator)==null)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)==null||(t=t.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window?.navigator.userAgent))}function Cr(...e){if(e.length!==1)return(0,t.toRef)(...e);let n=e[0];return typeof n==`function`?(0,t.readonly)((0,t.customRef)(()=>({get:n,set:G}))):(0,t.ref)(n)}function wr(e,t){function n(...n){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(r).catch(i)})}return n}var Tr=e=>e();function Er(e=Tr,n={}){let{initialState:r=`active`}=n,i=Cr(r===`active`);function a(){i.value=!1}function o(){i.value=!0}return{isActive:(0,t.readonly)(i),pause:a,resume:o,eventFilter:(...t)=>{i.value&&e(...t)}}}function Dr(e,t=!1,n=`Timeout`){return new Promise((r,i)=>{t?setTimeout(()=>i(n),e):setTimeout(r,e)})}function Or(e){return Array.isArray(e)?e:[e]}function kr(e,n,r={}){let{eventFilter:i=Tr,...a}=r;return(0,t.watch)(e,wr(i,n),a)}function Ar(e,t,n={}){let{eventFilter:r,initialState:i=`active`,...a}=n,{eventFilter:o,pause:s,resume:c,isActive:l}=Er(r,{initialState:i});return{stop:kr(e,t,{...a,eventFilter:o}),pause:s,resume:c,isActive:l}}function jr(e,n=!1){function r(r,{flush:i=`sync`,deep:a=!1,timeout:o,throwOnTimeout:s}={}){let c=null,l=[new Promise(o=>{c=(0,t.watch)(e,e=>{r(e)!==n&&(c?c():(0,t.nextTick)(()=>c?.()),o(e))},{flush:i,deep:a,immediate:!0})})];return o!=null&&l.push(Dr(o,s).then(()=>(0,t.toValue)(e)).finally(()=>c?.())),Promise.race(l)}function i(i,a){if(!(0,t.isRef)(i))return r(e=>e===i,a);let{flush:o=`sync`,deep:s=!1,timeout:c,throwOnTimeout:l}=a??{},u=null,d=[new Promise(r=>{u=(0,t.watch)([e,i],([e,i])=>{n!==(e===i)&&(u?u():(0,t.nextTick)(()=>u?.()),r(e))},{flush:o,deep:s,immediate:!0})})];return c!=null&&d.push(Dr(c,l).then(()=>(0,t.toValue)(e)).finally(()=>(u?.(),(0,t.toValue)(e)))),Promise.race(d)}function a(e){return r(e=>!!e,e)}function o(e){return i(null,e)}function s(e){return i(void 0,e)}function c(e){return r(Number.isNaN,e)}function l(e,n){return r(n=>{let r=Array.from(n);return r.includes(e)||r.includes((0,t.toValue)(e))},n)}function u(e){return d(1,e)}function d(e=1,t){let n=-1;return r(()=>(n+=1,n>=e),t)}return Array.isArray((0,t.toValue)(e))?{toMatch:r,toContains:l,changed:u,changedTimes:d,get not(){return jr(e,!n)}}:{toMatch:r,toBe:i,toBeTruthy:a,toBeNull:o,toBeNaN:c,toBeUndefined:s,changed:u,changedTimes:d,get not(){return jr(e,!n)}}}function Mr(e){return jr(e)}function Nr(e,n=1e3,r={}){let{immediate:i=!0,immediateCallback:a=!1}=r,o=null,s=(0,t.shallowRef)(!1);function c(){o&&=(clearInterval(o),null)}function l(){s.value=!1,c()}function u(){let r=(0,t.toValue)(n);r<=0||(s.value=!0,a&&e(),c(),s.value&&(o=setInterval(e,r)))}return i&&W&&u(),((0,t.isRef)(n)||typeof n==`function`)&&_r((0,t.watch)(n,()=>{s.value&&W&&u()})),_r(l),{isActive:(0,t.shallowReadonly)(s),pause:l,resume:u}}function Pr(e,n,r={}){let{immediate:i=!0,immediateCallback:a=!1}=r,o=(0,t.shallowRef)(!1),s;function c(){s&&=(clearTimeout(s),void 0)}function l(){o.value=!1,c()}function u(...r){a&&e(),c(),o.value=!0,s=setTimeout(()=>{o.value=!1,s=void 0,e(...r)},(0,t.toValue)(n))}return i&&(o.value=!0,W&&u()),_r(l),{isPending:(0,t.shallowReadonly)(o),start:u,stop:l}}function Fr(e,n,r){return(0,t.watch)(e,n,{...r,immediate:!0})}function Ir(e,n,r){return(0,t.watch)(e,n,{...r,once:!0})}function Lr(e,n,r){let i=(0,t.watch)(e,(e,a,o)=>{e&&(r?.once&&(0,t.nextTick)(()=>i()),n(e,a,o))},{...r,once:!1});return i}var Rr=W?window:void 0,zr=W?window.document:void 0;W&&window.navigator,W&&window.location;function Br(e){let n=(0,t.toValue)(e);return n?.$el??n}function Vr(...e){let n=(e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)),r=(0,t.computed)(()=>{let n=Or((0,t.toValue)(e[0])).filter(e=>e!=null);return n.every(e=>typeof e!=`string`)?n:void 0});return Fr(()=>[r.value?.map(e=>Br(e))??[Rr].filter(e=>e!=null),Or((0,t.toValue)(r.value?e[1]:e[0])),Or((0,t.unref)(r.value?e[2]:e[1])),(0,t.toValue)(r.value?e[3]:e[2])],([e,t,r,i],a,o)=>{if(!e?.length||!t?.length||!r?.length)return;let s=br(i)?{...i}:i,c=e.flatMap(e=>t.flatMap(t=>r.map(r=>n(e,t,r,s))));o(()=>{c.forEach(e=>e())})},{flush:`post`})}var Hr=!1;function Ur(e,n,r={}){let{window:i=Rr,ignore:a=[],capture:o=!0,detectIframe:s=!1,controls:c=!1}=r;if(!i)return c?{stop:G,cancel:G,trigger:G}:G;if(xr&&!Hr){Hr=!0;let e={passive:!0};Array.from(i.document.body.children).forEach(t=>t.addEventListener(`click`,G,e)),i.document.documentElement.addEventListener(`click`,G,e)}let l=!0,u=e=>(0,t.toValue)(a).some(t=>{if(typeof t==`string`)return Array.from(i.document.querySelectorAll(t)).some(t=>t===e.target||e.composedPath().includes(t));{let n=Br(t);return n&&(e.target===n||e.composedPath().includes(n))}});function d(e){let n=(0,t.toValue)(e);return n&&n.$.subTree.shapeFlag===16}function f(e,n){let r=(0,t.toValue)(e),i=r.$.subTree&&r.$.subTree.children;return i==null||!Array.isArray(i)?!1:i.some(e=>e.el===n.target||n.composedPath().includes(e.el))}let p=t=>{let r=Br(e);if(t.target!=null&&!(!(r instanceof Element)&&d(e)&&f(e,t))&&!(!r||r===t.target||t.composedPath().includes(r))){if(`detail`in t&&t.detail===0&&(l=!u(t)),!l){l=!0;return}n(t)}},m=!1,h=[Vr(i,`click`,e=>{m||(m=!0,setTimeout(()=>{m=!1},0),p(e))},{passive:!0,capture:o}),Vr(i,`pointerdown`,t=>{let n=Br(e);l=!u(t)&&!!(n&&!t.composedPath().includes(n))},{passive:!0}),s&&Vr(i,`blur`,t=>{setTimeout(()=>{let r=Br(e);i.document.activeElement?.tagName===`IFRAME`&&!r?.contains(i.document.activeElement)&&n(t)},0)},{passive:!0})].filter(Boolean),g=()=>h.forEach(e=>e());return c?{stop:g,cancel:()=>{l=!1},trigger:e=>{l=!0,p(e),l=!1}}:g}function Wr(e,n,r){let{immediate:i=!0,delay:a=0,onError:o=globalThis.reportError??G,onSuccess:s=G,resetOnExecute:c=!0,shallow:l=!0,throwError:u}=r??{},d=l?(0,t.shallowRef)(n):(0,t.ref)(n),f=(0,t.shallowRef)(!1),p=(0,t.shallowRef)(!1),m=(0,t.shallowRef)(void 0),h=0;async function g(r=0,...i){let a=h+=1;c&&(d.value=(0,t.toValue)(n)),m.value=void 0,f.value=!1,p.value=!0,r>0&&await Dr(r);let l=typeof e==`function`?e(...i):e;try{let e=await l;return a===h&&(d.value=e,f.value=!0),s(e),e}catch(e){if(a===h&&(m.value=e),o(e),u)throw e}finally{a===h&&(p.value=!1)}}i&&g(a);let _={state:d,isReady:f,isLoading:p,error:m,execute:g,executeImmediate:(...e)=>g(0,...e)};function v(){return new Promise((e,t)=>{Mr(p).toBe(!1).then(()=>e(_)).catch(t)})}return{..._,then(e,t){return v().then(e,t)}}}function Gr(e={}){let{document:n=zr}=e;if(!n)return(0,t.shallowRef)(`visible`);let r=(0,t.shallowRef)(n.visibilityState);return Vr(n,`visibilitychange`,()=>{r.value=n.visibilityState},{passive:!0}),r}async function Kr(e){return new Promise((t,n)=>{let r=new Image,{src:i,srcset:a,sizes:o,class:s,loading:c,crossorigin:l,referrerPolicy:u,width:d,height:f,decoding:p,fetchPriority:m,ismap:h,usemap:g}=e;r.src=i,a!=null&&(r.srcset=a),o!=null&&(r.sizes=o),s!=null&&(r.className=s),c!=null&&(r.loading=c),l!=null&&(r.crossOrigin=l),u!=null&&(r.referrerPolicy=u),d!=null&&(r.width=d),f!=null&&(r.height=f),p!=null&&(r.decoding=p),m!=null&&(r.fetchPriority=m),h!=null&&(r.isMap=h),g!=null&&(r.useMap=g),r.onload=()=>t(r),r.onerror=n})}function qr(e,n={}){let r=Wr(()=>Kr((0,t.toValue)(e)),void 0,{resetOnExecute:!0,...n});return(0,t.watch)(()=>(0,t.toValue)(e),()=>r.execute(n.delay),{deep:!0}),r}var Jr=`ping`;function Yr(e){return e===!0?{}:e}function Xr(e){if(`interval`in e){let{interval:t=1e3}=e;return e=>Nr(e,t,{immediate:!1})}return e=>Nr(e,1e3,{immediate:!1})}function Zr(e,n={}){let{onConnected:r,onDisconnected:i,onError:a,onMessage:o,immediate:s=!0,autoConnect:c=!0,autoClose:l=!0,protocols:u=[]}=n,d=(0,t.ref)(null),f=(0,t.shallowRef)(`CLOSED`),p=(0,t.ref)(),m=Cr(e),h,g,_=!1,v=0,y=[],b,x,S=()=>{if(y.length&&p.value&&f.value===`OPEN`){for(let e of y)p.value.send(e);y=[]}},C=()=>{b!=null&&(clearTimeout(b),b=void 0)},w=()=>{clearTimeout(x),x=void 0},T=(e=1e3,t)=>{C(),!(!W&&!vr||!p.value)&&(_=!0,w(),h?.(),p.value.close(e,t),p.value=void 0)},E=(e,t=!0)=>!p.value||f.value!==`OPEN`?(t&&y.push(e),!1):(S(),p.value.send(e),!0),ee=()=>{if(_||m.value===void 0)return;let e=new WebSocket(m.value,u);p.value=e,f.value=`CONNECTING`,e.onopen=()=>{f.value=`OPEN`,v=0,r?.(e),g?.(),S()},e.onclose=t=>{if(f.value=`CLOSED`,w(),h?.(),i?.(e,t),!_&&n.autoReconnect&&(p.value==null||e===p.value)){let{retries:e=-1,delay:t=1e3,onFailed:r}=Yr(n.autoReconnect);if((typeof e==`function`?e:()=>typeof e==`number`&&(e<0||v<e))(v)){v+=1;let e=typeof t==`function`?t(v):t;b=setTimeout(ee,e)}else r?.()}},e.onerror=t=>{a?.(e,t)},e.onmessage=r=>{if(n.heartbeat){w();let{message:e=Jr,responseMessage:i=e}=Yr(n.heartbeat);if(r.data===(0,t.toValue)(i))return}d.value=r.data,o?.(e,r)}};if(n.heartbeat){let{message:e=Jr,scheduler:r=Xr(Yr(n.heartbeat)),pongTimeout:i=1e3}=Yr(n.heartbeat),{pause:a,resume:o}=r(()=>{E((0,t.toValue)(e),!1),x??=setTimeout(()=>{T(),_=!1},i)});h=a,g=o}l&&(W&&Vr(`beforeunload`,()=>T(),{passive:!0}),_r(T));let D=()=>{!W&&!vr||(T(),_=!1,v=0,ee())};return s&&D(),c&&(0,t.watch)(m,D),{data:d,status:f,close:T,send:E,open:D,ws:p}}function Qr(e,n){let{open:r,close:i}=Zr((0,t.unref)(e),{autoReconnect:{retries:3},immediate:!1,onMessage:(e,t)=>{let r=t.data,i=JSON.parse(r);i.event!==`welcome`&&(n.value=i.message)}});return(0,t.watch)(()=>(0,t.unref)(n).gameStatus,e=>{if(e===1)return r();i()},{immediate:!0}),{gameData:n}}function $r(e=[],n={}){let{delay:r=0}=n,i=(0,t.ref)(!1),a=(0,t.computed)(()=>{let n=(0,t.unref)(e);return Array.isArray(n)?n.map(e=>(0,t.unref)(e)).some(Boolean):n}),{start:o,stop:s}=Pr(()=>{i.value=!0},r);return(0,t.watch)(a,e=>{if(e)return o();s(),i.value=!1},{immediate:!0,deep:!0}),i}var ei=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs=r()})(e,(function(){"use strict";var e=1e3,t=6e4,n=36e5,r=`millisecond`,i=`second`,a=`minute`,o=`hour`,s=`day`,c=`week`,l=`month`,u=`quarter`,d=`year`,f=`date`,p=`Invalid Date`,m=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|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,g={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(e){var t=[`th`,`st`,`nd`,`rd`],n=e%100;return`[`+e+(t[(n-20)%10]||t[n]||t[0])+`]`}},_=function(e,t,n){var r=String(e);return!r||r.length>=t?e:``+Array(t+1-r.length).join(n)+e},v={s:_,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),r=Math.floor(n/60),i=n%60;return(t<=0?`+`:`-`)+_(r,2,`0`)+`:`+_(i,2,`0`)},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,l),a=n-i<0,o=t.clone().add(r+(a?-1:1),l);return+(-(r+(n-i)/(a?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:l,y:d,w:c,d:s,D:f,h:o,m:a,s:i,ms:r,Q:u}[e]||String(e||``).toLowerCase().replace(/s$/,``)},u:function(e){return e===void 0}},y=`en`,b={};b[y]=g;var x=`$isDayjsObject`,S=function(e){return e instanceof E||!(!e||!e[x])},C=function e(t,n,r){var i;if(!t)return y;if(typeof t==`string`){var a=t.toLowerCase();b[a]&&(i=a),n&&(b[a]=n,i=a);var o=t.split(`-`);if(!i&&o.length>1)return e(o[0])}else{var s=t.name;b[s]=t,i=s}return!r&&i&&(y=i),i||!r&&y},w=function(e,t){if(S(e))return e.clone();var n=typeof t==`object`?t:{};return n.date=e,n.args=arguments,new E(n)},T=v;T.l=C,T.i=S,T.w=function(e,t){return w(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var E=function(){function g(e){this.$L=C(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[x]=!0}var _=g.prototype;return _.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(t===null)return new Date(NaN);if(T.u(t))return new Date;if(t instanceof Date)return new Date(t);if(typeof t==`string`&&!/Z$/i.test(t)){var r=t.match(m);if(r){var i=r[2]-1||0,a=(r[7]||`0`).substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},_.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},_.$utils=function(){return T},_.isValid=function(){return this.$d.toString()!==p},_.isSame=function(e,t){var n=w(e);return this.startOf(t)<=n&&n<=this.endOf(t)},_.isAfter=function(e,t){return w(e)<this.startOf(t)},_.isBefore=function(e,t){return this.endOf(t)<w(e)},_.$g=function(e,t,n){return T.u(e)?this[t]:this.set(n,e)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(e,t){var n=this,r=!!T.u(t)||t,u=T.p(e),p=function(e,t){var i=T.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return r?i:i.endOf(s)},m=function(e,t){return T.w(n.toDate()[e].apply(n.toDate(`s`),(r?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},h=this.$W,g=this.$M,_=this.$D,v=`set`+(this.$u?`UTC`:``);switch(u){case d:return r?p(1,0):p(31,11);case l:return r?p(1,g):p(0,g+1);case c:var y=this.$locale().weekStart||0,b=(h<y?h+7:h)-y;return p(r?_-b:_+(6-b),g);case s:case f:return m(v+`Hours`,0);case o:return m(v+`Minutes`,1);case a:return m(v+`Seconds`,2);case i:return m(v+`Milliseconds`,3);default:return this.clone()}},_.endOf=function(e){return this.startOf(e,!1)},_.$set=function(e,t){var n,c=T.p(e),u=`set`+(this.$u?`UTC`:``),p=(n={},n[s]=u+`Date`,n[f]=u+`Date`,n[l]=u+`Month`,n[d]=u+`FullYear`,n[o]=u+`Hours`,n[a]=u+`Minutes`,n[i]=u+`Seconds`,n[r]=u+`Milliseconds`,n)[c],m=c===s?this.$D+(t-this.$W):t;if(c===l||c===d){var h=this.clone().set(f,1);h.$d[p](m),h.init(),this.$d=h.set(f,Math.min(this.$D,h.daysInMonth())).$d}else p&&this.$d[p](m);return this.init(),this},_.set=function(e,t){return this.clone().$set(e,t)},_.get=function(e){return this[T.p(e)]()},_.add=function(r,u){var f,p=this;r=Number(r);var m=T.p(u),h=function(e){var t=w(p);return T.w(t.date(t.date()+Math.round(e*r)),p)};if(m===l)return this.set(l,this.$M+r);if(m===d)return this.set(d,this.$y+r);if(m===s)return h(1);if(m===c)return h(7);var g=(f={},f[a]=t,f[o]=n,f[i]=e,f)[m]||1,_=this.$d.getTime()+r*g;return T.w(_,this)},_.subtract=function(e,t){return this.add(-1*e,t)},_.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||p;var r=e||`YYYY-MM-DDTHH:mm:ssZ`,i=T.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,l=n.months,u=n.meridiem,d=function(e,n,i,a){return e&&(e[n]||e(t,r))||i[n].slice(0,a)},f=function(e){return T.s(a%12||12,e,`0`)},m=u||function(e,t,n){var r=e<12?`AM`:`PM`;return n?r.toLowerCase():r};return r.replace(h,(function(e,r){return r||function(e){switch(e){case`YY`:return String(t.$y).slice(-2);case`YYYY`:return T.s(t.$y,4,`0`);case`M`:return s+1;case`MM`:return T.s(s+1,2,`0`);case`MMM`:return d(n.monthsShort,s,l,3);case`MMMM`:return d(l,s);case`D`:return t.$D;case`DD`:return T.s(t.$D,2,`0`);case`d`:return String(t.$W);case`dd`:return d(n.weekdaysMin,t.$W,c,2);case`ddd`:return d(n.weekdaysShort,t.$W,c,3);case`dddd`:return c[t.$W];case`H`:return String(a);case`HH`:return T.s(a,2,`0`);case`h`:return f(1);case`hh`:return f(2);case`a`:return m(a,o,!0);case`A`:return m(a,o,!1);case`m`:return String(o);case`mm`:return T.s(o,2,`0`);case`s`:return String(t.$s);case`ss`:return T.s(t.$s,2,`0`);case`SSS`:return T.s(t.$ms,3,`0`);case`Z`:return i}return null}(e)||i.replace(`:`,``)}))},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(r,f,p){var m,h=this,g=T.p(f),_=w(r),v=(_.utcOffset()-this.utcOffset())*t,y=this-_,b=function(){return T.m(h,_)};switch(g){case d:m=b()/12;break;case l:m=b();break;case u:m=b()/3;break;case c:m=(y-v)/6048e5;break;case s:m=(y-v)/864e5;break;case o:m=y/n;break;case a:m=y/t;break;case i:m=y/e;break;default:m=y}return p?m:T.a(m)},_.daysInMonth=function(){return this.endOf(l).$D},_.$locale=function(){return b[this.$L]},_.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=C(e,t,!0);return r&&(n.$L=r),n},_.clone=function(){return T.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()},g}(),ee=E.prototype;return w.prototype=ee,[[`$ms`,r],[`$s`,i],[`$m`,a],[`$H`,o],[`$W`,s],[`$M`,l],[`$y`,d],[`$D`,f]].forEach((function(e){ee[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),w.extend=function(e,t){return e.$i||=(e(t,E,w),!0),w},w.locale=C,w.isDayjs=S,w.unix=function(e){return w(1e3*e)},w.en=b[y],w.Ls=b,w.p={},w}))})),ti=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_advancedFormat=r()})(e,(function(){"use strict";return function(e,t){var n=t.prototype,r=n.format;n.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return r.bind(this)(e);var i=this.$utils(),a=(e||`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(e){switch(e){case`Q`:return Math.ceil((t.$M+1)/3);case`Do`:return n.ordinal(t.$D);case`gggg`:return t.weekYear();case`GGGG`:return t.isoWeekYear();case`wo`:return n.ordinal(t.week(),`W`);case`w`:case`ww`:return i.s(t.week(),e===`w`?1:2,`0`);case`W`:case`WW`:return i.s(t.isoWeek(),e===`W`?1:2,`0`);case`k`:case`kk`:return i.s(String(t.$H===0?24:t.$H),e===`k`?1:2,`0`);case`X`:return Math.floor(t.$d.getTime()/1e3);case`x`:return t.$d.getTime();case`z`:return`[`+t.offsetName()+`]`;case`zzz`:return`[`+t.offsetName(`long`)+`]`;default:return e}}));return r.bind(this)(a)}}}))})),ni=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_isBetween=r()})(e,(function(){"use strict";return function(e,t,n){t.prototype.isBetween=function(e,t,r,i){var a=n(e),o=n(t),s=(i||=`()`)[0]===`(`,c=i[1]===`)`;return(s?this.isAfter(a,r):!this.isBefore(a,r))&&(c?this.isBefore(o,r):!this.isAfter(o,r))||(s?this.isBefore(a,r):!this.isAfter(a,r))&&(c?this.isAfter(o,r):!this.isBefore(o,r))}}}))})),ri=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_isSameOrBefore=r()})(e,(function(){"use strict";return function(e,t){t.prototype.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)}}}))})),ii=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_isToday=r()})(e,(function(){"use strict";return function(e,t,n){t.prototype.isToday=function(){var e=`YYYY-MM-DD`,t=n();return this.format(e)===t.format(e)}}}))})),ai=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_localizedFormat=r()})(e,(function(){"use strict";var e={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(t,n,r){var i=n.prototype,a=i.format;r.en.formats=e,i.format=function(t){t===void 0&&(t=`YYYY-MM-DDTHH:mm:ssZ`);var n=this.$locale().formats,r=function(t,n){return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(t,r,i){var a=i&&i.toUpperCase();return r||n[i]||e[i]||n[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(e,t,n){return t||n.slice(1)}))}))}(t,n===void 0?{}:n);return a.call(this,r)}}}))})),oi=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_minMax=r()})(e,(function(){"use strict";return function(e,t,n){var r=function(e,t){if(!t||!t.length||t.length===1&&!t[0]||t.length===1&&Array.isArray(t[0])&&!t[0].length)return null;var n;t.length===1&&t[0].length>0&&(t=t[0]),n=(t=t.filter((function(e){return e})))[0];for(var r=1;r<t.length;r+=1)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n};n.max=function(){return r(`isAfter`,[].slice.call(arguments,0))},n.min=function(){return r(`isBefore`,[].slice.call(arguments,0))}}}))})),si=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_relativeTime=r()})(e,(function(){"use strict";return function(e,t,n){e||={};var r=t.prototype,i={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 a(e,t,n,i){return r.fromToBase(e,t,n,i)}n.en.relativeTime=i,r.fromToBase=function(t,r,a,o,s){for(var c,l,u,d=a.$locale().relativeTime||i,f=e.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`}],p=f.length,m=0;m<p;m+=1){var h=f[m];h.d&&(c=o?n(t).diff(a,h.d,!0):a.diff(t,h.d,!0));var g=(e.rounding||Math.round)(Math.abs(c));if(u=c>0,g<=h.r||!h.r){g<=1&&m>0&&(h=f[m-1]);var _=d[h.l];s&&(g=s(``+g)),l=typeof _==`string`?_.replace(`%d`,g):_(g,r,h.l,u);break}}if(r)return l;var v=u?d.future:d.past;return typeof v==`function`?v(l):v.replace(`%s`,l)},r.to=function(e,t){return a(e,t,this,!0)},r.from=function(e,t){return a(e,t,this)};var o=function(e){return e.$u?n.utc():n()};r.toNow=function(e){return this.to(o(this),e)},r.fromNow=function(e){return this.from(o(this),e)}}}))})),ci=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_timezone=r()})(e,(function(){"use strict";var e={year:0,month:1,day:2,hour:3,minute:4,second:5},t={};return function(n,r,i){var a,o=function(e,n,r){r===void 0&&(r={});var i=new Date(e);return function(e,n){n===void 0&&(n={});var r=n.timeZoneName||`short`,i=e+`|`+r,a=t[i];return a||(a=new Intl.DateTimeFormat(`en-US`,{hour12:!1,timeZone:e,year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`,timeZoneName:r}),t[i]=a),a}(n,r).formatToParts(i)},s=function(t,n){for(var r=o(t,n),a=[],s=0;s<r.length;s+=1){var c=r[s],l=c.type,u=c.value,d=e[l];d>=0&&(a[d]=parseInt(u,10))}var f=a[3],p=f===24?0:f,m=a[0]+`-`+a[1]+`-`+a[2]+` `+p+`:`+a[4]+`:`+a[5]+`:000`,h=+t;return(i.utc(m).valueOf()-(h-=h%1e3))/6e4},c=r.prototype;c.tz=function(e,t){e===void 0&&(e=a);var n,r=this.utcOffset(),o=this.toDate(),s=o.toLocaleString(`en-US`,{timeZone:e}),c=Math.round((o-new Date(s))/1e3/60),l=15*-Math.round(o.getTimezoneOffset()/15)-c;if(!Number(l))n=this.utcOffset(0,t);else if(n=i(s,{locale:this.$L}).$set(`millisecond`,this.$ms).utcOffset(l,!0),t){var u=n.utcOffset();n=n.add(r-u,`minute`)}return n.$x.$timezone=e,n},c.offsetName=function(e){var t=this.$x.$timezone||i.tz.guess(),n=o(this.valueOf(),t,{timeZoneName:e}).find((function(e){return e.type.toLowerCase()===`timezonename`}));return n&&n.value};var l=c.startOf;c.startOf=function(e,t){if(!this.$x||!this.$x.$timezone)return l.call(this,e,t);var n=i(this.format(`YYYY-MM-DD HH:mm:ss:SSS`),{locale:this.$L});return l.call(n,e,t).tz(this.$x.$timezone,!0)},i.tz=function(e,t,n){var r=n&&t,o=n||t||a,c=s(+i(),o);if(typeof e!=`string`)return i(e).tz(o);var l=function(e,t,n){var r=e-60*t*1e3,i=s(r,n);if(t===i)return[r,t];var a=s(r-=60*(i-t)*1e3,n);return i===a?[r,i]:[e-60*Math.min(i,a)*1e3,Math.max(i,a)]}(i.utc(e,r).valueOf(),c,o),u=l[0],d=l[1],f=i(u).utcOffset(d);return f.$x.$timezone=o,f},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(e){a=e}}}))})),li=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_utc=r()})(e,(function(){"use strict";var e=`minute`,t=/[+-]\d\d(?::?\d\d)?/g,n=/([+-]|\d\d)/g;return function(r,i,a){var o=i.prototype;a.utc=function(e){return new i({date:e,utc:!0,args:arguments})},o.utc=function(t){var n=a(this.toDate(),{locale:this.$L,utc:!0});return t?n.add(this.utcOffset(),e):n},o.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var s=o.parse;o.parse=function(e){e.utc&&(this.$u=!0),this.$utils().u(e.$offset)||(this.$offset=e.$offset),s.call(this,e)};var c=o.init;o.init=function(){if(this.$u){var e=this.$d;this.$y=e.getUTCFullYear(),this.$M=e.getUTCMonth(),this.$D=e.getUTCDate(),this.$W=e.getUTCDay(),this.$H=e.getUTCHours(),this.$m=e.getUTCMinutes(),this.$s=e.getUTCSeconds(),this.$ms=e.getUTCMilliseconds()}else c.call(this)};var l=o.utcOffset;o.utcOffset=function(r,i){var a=this.$utils().u;if(a(r))return this.$u?0:a(this.$offset)?l.call(this):this.$offset;if(typeof r==`string`&&(r=function(e){e===void 0&&(e=``);var r=e.match(t);if(!r)return null;var i=(``+r[0]).match(n)||[`-`,0,0],a=i[0],o=60*i[1]+ +i[2];return o===0?0:a===`+`?o:-o}(r),r===null))return this;var o=Math.abs(r)<=16?60*r:r;if(o===0)return this.utc(i);var s=this.clone();if(i)return s.$offset=o,s.$u=!1,s;var c=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(s=this.local().add(o+c,e)).$offset=o,s.$x.$localOffset=c,s};var u=o.format;o.format=function(e){var t=e||(this.$u?`YYYY-MM-DDTHH:mm:ss[Z]`:``);return u.call(this,t)},o.valueOf=function(){var e=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*e},o.isUTC=function(){return!!this.$u},o.toISOString=function(){return this.toDate().toISOString()},o.toString=function(){return this.toDate().toUTCString()};var d=o.toDate;o.toDate=function(e){return e===`s`&&this.$offset?a(this.format(`YYYY-MM-DD HH:mm:ss:SSS`)).toDate():d.call(this)};var f=o.diff;o.diff=function(e,t,n){if(e&&this.$u===e.$u)return f.call(this,e,t,n);var r=this.local(),i=a(e).local();return f.call(r,i,t,n)}}}))})),ui=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r():typeof define==`function`&&define.amd?define(r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_plugin_weekday=r()})(e,(function(){"use strict";return function(e,t){t.prototype.weekday=function(e){var t=this.$locale().weekStart||0,n=this.$W,r=(n<t?n+7:n)-t;return this.$utils().u(e)?r:this.subtract(r,`day`).add(e,`day`)}}}))})),di=c(((e,t)=>{(function(n,r){typeof e==`object`&&t!==void 0?t.exports=r(ei()):typeof define==`function`&&define.amd?define([`dayjs`],r):(n=typeof globalThis<`u`?globalThis:n||self).dayjs_locale_hu=r(n.dayjs)})(e,(function(e){"use strict";function t(e){return e&&typeof e==`object`&&`default`in e?e:{default:e}}var n=t(e),r={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(e){return e+`.`},weekStart:1,relativeTime:{future:`%s múlva`,past:`%s`,s:function(e,t,n,r){return`néhány másodperc`+(r||t?``:`e`)},m:function(e,t,n,r){return`egy perc`+(r||t?``:`e`)},mm:function(e,t,n,r){return e+` perc`+(r||t?``:`e`)},h:function(e,t,n,r){return`egy `+(r||t?`óra`:`órája`)},hh:function(e,t,n,r){return e+` `+(r||t?`óra`:`órája`)},d:function(e,t,n,r){return`egy `+(r||t?`nap`:`napja`)},dd:function(e,t,n,r){return e+` `+(r||t?`nap`:`napja`)},M:function(e,t,n,r){return`egy `+(r||t?`hónap`:`hónapja`)},MM:function(e,t,n,r){return e+` `+(r||t?`hónap`:`hónapja`)},y:function(e,t,n,r){return`egy `+(r||t?`év`:`éve`)},yy:function(e,t,n,r){return e+` `+(r||t?`é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 n.default.locale(r,null,!0),r}))})),K=u(ei(),1),fi=u(ti(),1),pi=u(ni(),1),mi=u(ri(),1),hi=u(ii(),1),gi=u(ai(),1),_i=u(oi(),1),vi=u(si(),1),yi=u(ci(),1),bi=u(li(),1),xi=u(ui(),1);di(),K.default.extend(bi.default),K.default.extend(yi.default),K.default.extend(fi.default),K.default.extend(vi.default),K.default.extend(gi.default),K.default.extend(mi.default),K.default.extend(pi.default),K.default.extend(hi.default),K.default.extend(xi.default),K.default.extend(_i.default);var Si=()=>K.default.tz.guess();function Ci(e=``,t=``,n=``,r=`hu`){return n||=K.default.tz.guess(),(0,K.default)(e).isValid()?(0,K.default)(e).tz(n).locale(r).format(t):``}function wi(e=``,t=``,n=`hu`){if(!(0,K.default)(e).isValid())return``;t||=K.default.tz.guess();let r=new Intl.DateTimeFormat(Ti(n),{timeZone:t,timeZoneName:`short`}).formatToParts(new Date(e)).find(e=>e.type===`timeZoneName`);return r&&r.value}function Ti(e){return S.get(e)}function Ei(e){let t=e.split(`:`);return Number.parseInt(t[0],10)*60+Number.parseInt(t[1],10)}function Di(e){let t=~~(e/60),n=~~e%60;return[t.toString().padStart(2,`0`),n.toString().padStart(2,`0`)].join(`:`)}function Oi(e){let t=Math.trunc(e),n=Math.round((e-t)/10*60*10);return[t.toString().padStart(2,`0`),n.toString().padStart(2,`0`)].join(`:`)}function ki(e,t=`day`){return(0,K.default)().isSameOrBefore((0,K.default)(e),t)}function Ai(e,t,n,r=`[]`){return(0,K.default)(e).isBetween(t,(0,K.default)(n),`day`,r)}function ji(e,t,n=`month`){return(0,K.default)(e).isSame(t,n)}function Mi(e,t=`hu`){return(0,K.default)(e).locale(t).toNow(!0)}function Ni(e,t,n=`day`){return(0,K.default)(e).isBefore(t,n)}function Pi(e,t,n=`day`){return(0,K.default)(e).isAfter(t,n)}function Fi(e){return(0,K.default)(e).isToday()}function Ii(e){return Ai(e,(0,K.default)().weekday(1),(0,K.default)().weekday(7))}function Li(e){return{startDate:(0,K.default)(e).weekday(1),endDate:(0,K.default)(e).weekday(7)}}function Ri(e,t){return(0,K.default)(e).subtract(t,`day`)}function zi(e,t){return(0,K.default)(e).add(t,`day`)}function Bi(e){return(0,K.default)(e).startOf(`month`)}function Vi(e){return(0,K.default)(e).endOf(`month`)}function Hi(e){return Array.isArray(e)&&(e=e.map(e=>(0,K.default)(e))),K.default.min(e)}function Ui(e){return Array.isArray(e)&&(e=e.map(e=>(0,K.default)(e))),K.default.max(...e)}function Wi(e={}){let{initial:n=1,items:r=[],limit:i,auto:a=!1}=e,o=(0,t.ref)((0,t.unref)(n)),s=e=>ki(e,`day`);return Ir(r,()=>{if(!a)return;let e=un(Ln(s,`gameDate`))((0,t.unref)(r));o.value=e===-1?1:Math.floor(e/i)+1}),{page:o,change:e=>{o.value=e}}}function Gi({currentPage:e,itemsPerPage:n=20,totalItems:r,rangeLength:i=5,update:a=G}){let o=(0,t.computed)(()=>Math.ceil((0,t.unref)(r)/n)),s=(0,t.computed)(()=>{let n=(0,t.unref)(e)-1,r=Array.from({length:o.value},(e,t)=>t+1),a=Math.floor(i/2),s=Math.max(n-a,0);return s+i>=o.value&&(s=Math.max(o.value-i,0)),r.slice(s,s+i)}),c=n=>{let r=(0,t.unref)(e)+n;u(r)&&a(r)},l=e=>{u(e)&&a(e)};function u(e){return e<=o.value&&e>0}return{page:e,range:s,pageCount:o,goTo:l,pageStep:c}}function Ki(e={}){let{items:n=[],element:r,offset:i=0,enabled:a=!0}=e,o=e=>ki(e,`day`),s=()=>{if(!(0,t.unref)(a))return;let e=sn(Ln(o,`gameDate`))((0,t.unref)(n));if(!e)return;let s=Ci(e.gameDate,`YYYY-MM-DD`),c=Br(r).querySelector(`div[data-gamedate="${s}"]`);if(!c)return;let l=getComputedStyle(c).getPropertyValue(`--mvw-sticky-top-offset`)||0,u=(c.getBoundingClientRect()?.top??0)-(0,t.unref)(i)-Number.parseFloat(l);window.scrollTo(0,u)};Ar(()=>({items:(0,t.unref)(n),element:(0,t.unref)(r)}),async({items:e,element:n})=>{e.length===0||!n||(await(0,t.nextTick)(),s())})}function qi({options:e={},transform:n=e=>e,onError:r=G,onSuccess:i=G}){let{path:a,apiKey:o,params:s,resetOnExecute:c=!1,immediate:l=!1}=e,{state:u,error:d,isLoading:f,execute:p}=Wr(()=>mr(a,o,(0,t.unref)(s)).then(e=>n(e)),[],{immediate:l,resetOnExecute:c,onError:r,onSuccess:i});return{state:u,error:d,isLoading:f,execute:p}}function Ji(e,t){var n=typeof Symbol==`function`&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(t===void 0||t-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}var Yi;(function(e){e[e.NotStarted=0]=`NotStarted`,e[e.Running=1]=`Running`,e[e.Stopped=2]=`Stopped`})(Yi||={});var Xi={type:`xstate.init`};function Zi(e){return e===void 0?[]:[].concat(e)}function Qi(e,t){return typeof(e=typeof e==`string`&&t&&t[e]?t[e]:e)==`string`?{type:e}:typeof e==`function`?{type:e.name,exec:e}:e}function $i(e){return function(t){return e===t}}function ea(e){return typeof e==`string`?{type:e}:e}function ta(e,t){return{value:e,context:t,actions:[],changed:!1,matches:$i(e)}}function na(e,t,n){var r=t,i=!1;return[e.filter((function(e){if(e.type===`xstate.assign`){i=!0;var t=Object.assign({},r);return typeof e.assignment==`function`?t=e.assignment(r,n):Object.keys(e.assignment).forEach((function(i){t[i]=typeof e.assignment[i]==`function`?e.assignment[i](r,n):e.assignment[i]})),r=t,!1}return!0})),r,i]}function ra(e,t){t===void 0&&(t={});var n=Ji(na(Zi(e.states[e.initial].entry).map((function(e){return Qi(e,t.actions)})),e.context,Xi),2),r=n[0],i=n[1],a={config:e,_options:t,initialState:{value:e.initial,actions:r,context:i,matches:$i(e.initial)},transition:function(t,n){var r,i,o=typeof t==`string`?{value:t,context:e.context}:t,s=o.value,c=o.context,l=ea(n),u=e.states[s];if(u.on){var d=Zi(u.on[l.type]);`*`in u.on&&d.push.apply(d,function(e,t,n){if(n||arguments.length===2)for(var r,i=0,a=t.length;i<a;i++)!r&&i in t||(r||=Array.prototype.slice.call(t,0,i),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}([],Ji(Zi(u.on[`*`])),!1));try{for(var f=function(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)}(d),p=f.next();!p.done;p=f.next()){var m=p.value;if(m===void 0)return ta(s,c);var h=typeof m==`string`?{target:m}:m,g=h.target,_=h.actions,v=_===void 0?[]:_,y=h.cond,b=y===void 0?function(){return!0}:y,x=g===void 0,S=g??s,C=e.states[S];if(b(c,l)){var w=Ji(na((x?Zi(v):[].concat(u.exit,v,C.entry).filter((function(e){return e}))).map((function(e){return Qi(e,a._options.actions)})),c,l),3),T=w[0],E=w[1],ee=w[2],D=g??s;return{value:D,context:E,actions:T,changed:g!==s||T.length>0||ee,matches:$i(D)}}}}catch(e){r={error:e}}finally{try{p&&!p.done&&(i=f.return)&&i.call(f)}finally{if(r)throw r.error}}}return ta(s,c)}};return a}var ia=ra({id:`sort`,initial:y,states:{[y]:{on:{DIRECTION1:b,DIRECTION2:x}},[b]:{on:{DIRECTION1:x,DIRECTION2:y}},[x]:{on:{DIRECTION1:y,DIRECTION2:b}}}});function aa(e,t){let n=t===`ascend`?`DIRECTION2`:`DIRECTION1`;return ia.transition(e,n).value}function oa(e={}){let{sortTarget:n=null,orders:r=[]}=e,i=(0,t.reactive)({sortTarget:n,orders:r});return{sort:i,change:({target:e,orders:t})=>{if(i.sortTarget!==e){i.sortTarget=e,i.orders=t;return}let n=t.map((e,t)=>({...e,direction:aa(i.orders[t].direction,e.direction)}));i.sortTarget=e,i.orders=n}}}function sa(e=!1,n=G,r=G){(0,t.watch)(Gr(),i=>{if((0,t.unref)(e)){if(i===`visible`)return n();r()}})}var ca=[`textContent`],la={__name:`AdditionalStandingsText`,props:{rows:{type:Array,default:()=>[]},additionalKey:{type:String,required:!0}},setup(e){let n=e,r=(0,t.toRef)(n,`rows`),{t:i,locale:a}=H(),{isVisible:o,text:s}=qn(r,n.additionalKey,i,a);return(e,n)=>(0,t.unref)(o)?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,textContent:(0,t.toDisplayString)((0,t.unref)(s))},null,8,ca)):(0,t.createCommentVNode)(``,!0)}},ua={__name:`BaseSelect`,props:{modelValue:{type:[String,Number],default:null}},emits:[`update:modelValue`],setup(e,{emit:n}){let r=e,i=n,a=(0,t.computed)({get:()=>r.modelValue,set:e=>i(`update:modelValue`,e)});return(e,n)=>(0,t.withDirectives)(((0,t.openBlock)(),(0,t.createElementBlock)(`select`,{"onUpdate:modelValue":n[0]||=e=>a.value=e,class:`base-input is-select`},[(0,t.renderSlot)(e.$slots,`default`)],512)),[[t.vModelSelect,a.value]])}},da=Object.defineProperty,q=(e,t)=>{let n={};for(var r in e)da(n,r,{get:e[r],enumerable:!0});return t||da(n,Symbol.toStringTag,{value:`Module`}),n};q({default:()=>ma,render:()=>pa});var fa={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function pa(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,fa,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M8.12 9.29 12 13.17l3.88-3.88a.996.996 0 1 1 1.41 1.41l-4.59 4.59a.996.996 0 0 1-1.41 0L6.7 10.7a.996.996 0 0 1 0-1.41c.39-.38 1.03-.39 1.42 0z`},null,-1)]])}var ma={render:pa};q({default:()=>_a,render:()=>ga});var ha={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function ga(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,ha,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M8.12 14.71L12 10.83l3.88 3.88a.996.996 0 1 0 1.41-1.41L12.7 8.71a.996.996 0 0 0-1.41 0L6.7 13.3a.996.996 0 0 0 0 1.41c.39.38 1.03.39 1.42 0`},null,-1)]])}var _a={render:ga},va=q({default:()=>xa,render:()=>ba}),ya={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 ba(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,ya,[...n[0]||=[(0,t.createElementVNode)(`rect`,{x:`2`,y:`3`,width:`20`,height:`14`,rx:`2`,ry:`2`},null,-1),(0,t.createElementVNode)(`line`,{x1:`8`,y1:`21`,x2:`16`,y2:`21`},null,-1),(0,t.createElementVNode)(`line`,{x1:`12`,y1:`17`,x2:`12`,y2:`21`},null,-1)]])}var xa={render:ba};q({default:()=>wa,render:()=>Ca});var Sa={xmlns:`http://www.w3.org/2000/svg`,fill:`none`,viewBox:`0 0 24 24`};function Ca(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Sa,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`#000`,d:`m7.712 13.208 3.88 3.88 3.88-3.88a.997.997 0 1 1 1.41 1.41l-4.59 4.59a.997.997 0 0 1-1.41 0l-4.59-4.59a.997.997 0 0 1 0-1.41c.39-.38 1.03-.39 1.42 0ZM7.712 10.792l3.88-3.88 3.88 3.88a.997.997 0 1 0 1.41-1.41l-4.59-4.59a.996.996 0 0 0-1.41 0l-4.59 4.59a.996.996 0 0 0 0 1.41c.39.38 1.03.39 1.42 0Z`},null,-1)]])}var wa={render:Ca};q({default:()=>Da,render:()=>Ea});var Ta={viewBox:`0 0 32 32`};function Ea(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Ta,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M16 7C9.043 7 2 8.718 2 12v8c0 3.282 7.043 5 14 5s14-1.718 14-5v-8c0-3.282-7.043-5-14-5zm0 2c7.444 0 12 1.942 12 3c0 .926-3.489 2.528-9.348 2.914A40.34 40.34 0 0 1 16 15c-7.444 0-12-1.942-12-3s4.556-3 12-3zM4 14.707c.06.035.134.064.195.098a9.77 9.77 0 0 0 1.014.486c.346.144.706.282 1.094.408c.813.265 1.725.48 2.681.664c.289.055.587.1.885.147c.85.137 1.726.247 2.633.324c1.15.098 2.319.166 3.498.166c1.18 0 2.349-.068 3.498-.166a35.139 35.139 0 0 0 2.633-.324c.298-.047.596-.092.885-.147c.956-.184 1.868-.4 2.681-.664a14.457 14.457 0 0 0 1.395-.539a9.77 9.77 0 0 0 .713-.355c.061-.034.136-.063.195-.098V20c0 1.058-4.556 3-12 3S4 21.058 4 20v-5.293z`},null,-1)]])}var Da={render:Ea};q({default:()=>Aa,render:()=>ka});var Oa={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function ka(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Oa,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M18 19H6a1 1 0 0 1-1-1V6a1 1 0 0 1 1-1h5c.55 0 1-.45 1-1s-.45-1-1-1H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h14a2 2 0 0 0 2-2v-6c0-.55-.45-1-1-1s-1 .45-1 1v5a1 1 0 0 1-1 1M14 4a1 1 0 0 0 1 1h2.59l-9.13 9.13a1 1 0 1 0 1.41 1.41L19 6.41V9c0 .55.45 1 1 1s1-.45 1-1V3h-6a1 1 0 0 0-1 1`},null,-1)]])}var Aa={render:ka},ja=q({default:()=>Pa,render:()=>Na}),Ma={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 Na(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Ma,[...n[0]||=[(0,t.createElementVNode)(`polyline`,{points:`15 18 9 12 15 6`},null,-1)]])}var Pa={render:Na};q({default:()=>La,render:()=>Ia});var Fa={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function Ia(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Fa,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M3 18h18v-2H3zm0-5h18v-2H3zm0-7v2h18V6z`},null,-1)]])}var La={render:Ia},Ra=q({default:()=>Va,render:()=>Ba}),za={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 Ba(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,za,[...n[0]||=[(0,t.createElementVNode)(`circle`,{cx:`12`,cy:`12`,r:`1`},null,-1),(0,t.createElementVNode)(`circle`,{cx:`12`,cy:`5`,r:`1`},null,-1),(0,t.createElementVNode)(`circle`,{cx:`12`,cy:`19`,r:`1`},null,-1)]])}var Va={render:Ba},Ha=q({default:()=>Ga,render:()=>Wa}),Ua={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 Wa(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Ua,[...n[0]||=[(0,t.createElementVNode)(`polyline`,{points:`9 18 15 12 9 6`},null,-1)]])}var Ga={render:Wa},Ka=q({default:()=>Ya,render:()=>Ja}),qa={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 Ja(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,qa,[...n[0]||=[(0,t.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),(0,t.createElementVNode)(`rect`,{x:`8`,y:`2`,width:`8`,height:`4`,rx:`1`,ry:`1`},null,-1)]])}var Ya={render:Ja},Xa=q({default:()=>$a,render:()=>Qa}),Za={"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 Qa(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Za,[...n[0]||=[(0,t.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)]])}var $a={render:Qa},eo=q({default:()=>ro,render:()=>no}),to={"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 no(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,to,[...n[0]||=[(0,t.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)]])}var ro={render:no},io=q({default:()=>so,render:()=>oo}),ao={"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 oo(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,ao,[...n[0]||=[(0,t.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)]])}var so={render:oo};q({default:()=>uo,render:()=>lo});var co={xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 24 24`};function lo(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,co,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`m12 15.4-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z`,opacity:`.3`},null,-1),(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`m22 9.24-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28z`},null,-1)]])}var uo={render:lo};q({default:()=>mo,render:()=>po});var fo={width:`32`,height:`32`,viewBox:`0 0 24 24`};function po(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,fo,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M12 20a7 7 0 0 1-7-7a7 7 0 0 1 7-7a7 7 0 0 1 7 7a7 7 0 0 1-7 7m7.03-12.61l1.42-1.42c-.45-.51-.9-.97-1.41-1.41L17.62 6c-1.55-1.26-3.5-2-5.62-2a9 9 0 0 0-9 9a9 9 0 0 0 9 9c5 0 9-4.03 9-9c0-2.12-.74-4.07-1.97-5.61M11 14h2V8h-2m4-7H9v2h6V1Z`},null,-1)]])}var mo={render:po},ho=q({default:()=>vo,render:()=>_o}),go={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 _o(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,go,[...n[0]||=[(0,t.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),(0,t.createElementVNode)(`line`,{x1:`12`,y1:`9`,x2:`12`,y2:`13`},null,-1),(0,t.createElementVNode)(`line`,{x1:`12`,y1:`17`,x2:`12.01`,y2:`17`},null,-1)]])}var vo={render:_o};q({default:()=>xo,render:()=>bo});var yo={viewBox:`0 0 24 24`};function bo(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,yo,[...n[0]||=[(0,t.createElementVNode)(`path`,{fill:`currentColor`,d:`M3.76 3.7L2.14 4.88L4.43 8a8.23 8.23 0 0 1 1.92-.72M11 9v2h7v.29l-5 1.42v2.79A4.5 4.5 0 1 1 8.5 11H9V9h-.5a6.5 6.5 0 1 0 6.5 6.5v-1.59L22 12V9m-5.76-5.3L13.85 7h2.47l1.54-2.12M9 2v5h2V2Z`},null,-1)]])}var xo={render:bo},So=q({default:()=>To,render:()=>wo}),Co={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 wo(e,n){return(0,t.openBlock)(),(0,t.createElementBlock)(`svg`,Co,[...n[0]||=[(0,t.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),(0,t.createElementVNode)(`polygon`,{points:`9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02`},null,-1)]])}var To={render:wo},Eo=0;function Do(){return++Eo}function Oo(e=[]){return{result:[...e],filteredRowsLength:0,isFiltered:!1,value(){return{rows:this.result,totalItems:this.isFiltered?this.filteredRowsLength:e.length,currentItems:this.currentItems}},filter(e,t=[],n=!1){if(e){let r=t.map(t=>n?Jt(R(t),qe(e)):Jt(I(t),Un,pn(Un(e)))),i=ct(Jt(Pt(e=>e.name?Nn(wn(`name`),Rn(`,`,``),e):e),jt([...r])),this.result);this.isFiltered=!0,this.filteredRowsLength=i.length,this.result=i}return this},sorted(e){if(!e.sortTarget||e.orders[0].direction===`original`)return this;let t=fn(qe(x),At(Nt),At(en));return this.result=Bn(e.orders.map(e=>L(t(e.direction),I)(e.target)))(this.result),this},addIndex(e=null){return this.result.reduce((t,n,r)=>{let i=t.at(-1)||[],a=e&&i[e]===n[e];return n.index=a?i.index:r+1,n.indexClass=a?`is-duplicated`:null,t.push(n),t},[]),this},addContinuousIndex(){return this.result=this.result.map((e,t)=>({...e,index:t+1})),this},pagination(e,t){if(!t)return this;e=Number(e),t=Number(t);let n=(e-1)*t,r=n+t;return this.result=this.result.slice(n,r),this},more(e,t){return this.result=this.result.slice(Number(e),Number(t)),this},playerName(){return this.result=this.result.map(e=>({...e,name:Qo(e)})),this},teamName(){return this.result=this.result.map(e=>({...e,teamName:e.team.longName})),this},schedule(e=``,t=`hu`){return this.result=this.result.map(n=>({...n,gameResult:`${n.homeTeamScore}-${n.awayTeamScore}`,gameDateDate:Ci(n.gameDate,`L dddd`,e,t),gameDateTime:Ci(n.gameDate,`HH:mm`,e,t)})),this},gameDateFilter(e){return e===null||(this.result=this.result.filter(t=>new Date(t.gameDate).getMonth()===e)),this},convertTimes(e=[]){return this.result=this.result.map(t=>(e.map(e=>t[e]?t[`${e}Sec`]=Ei(t[e]):t),t)),this},groupByDays(){return this.currentItems=this.result.length,this.result=dn(e=>Ci(e.gameDate,`YYYY-MM-DD`))(this.result),this},slice(e=3){return this.result=this.result.slice(0,e),this},reverse(e){return e&&(this.result=this.result.toReversed()),this}}}var ko=(e,...t)=>F(L(...t))(e);function Ao(e){return{...e,...e.lastName&&e.firstName&&{name:`${e.lastName} ${e.firstName}`},...e.player?.playerId&&{name:`${e.player.lastName} ${e.player.firstName}`},...e.player?.id&&{name:`${e.player.lastName} ${e.player.firstName}`},...e.player?.nationality&&{name:e.player?.nationality.includes(`hu`)?`${e.player.lastName} ${e.player.firstName}`:`${e.player.lastName}, ${e.player.firstName}`},...e.nationality&&{name:e.nationality.includes(`hu`)?`${e.lastName} ${e.firstName}`:`${e.lastName}, ${e.firstName}`}}}function jo(e){return{...e,...e?.team?.id&&{teamName:e.team.longName}}}function Mo(e=``,t=`hu`){return n=>({...n,gameDateDate:Ci(n.gameDate,`L dddd`,e,t),gameDateTime:Ci(n.gameDate,`HH:mm`,e,t)})}function No(e){return t=>({...t,gameResult:Yo(t,e)})}function Po(e){return{...e,opponent:Jo(e)}}function Fo(e){return{...e,resultType:Xo(e)}}var Io=/^\(|\)$/g,Lo=/$/,Ro=/\(.*?\)/;function zo(e){return{...e,rowClasses:e.optional?`is-optional`:``}}function Bo(e=[]){return t=>({...t,[e]:t[e]?.toUpperCase()})}function Vo(e=[]){return t=>(e.map(e=>t[e]?t[`${e}Sec`]=Ei(t[e]):t),t)}function Ho(e=[]){return t=>(e.map(e=>t[e]?t[`${e}Min`]=Oi(t[e]):t),t)}function Uo(e=[]){return t=>(e.map(e=>t[`${e}Min`]=Di(t[e])),t)}function Wo(e){return{...e,periodResults:e.result?.match(Ro)?.[0]??``}}function Go(e){let t=[e.championshipName,...e.championshipName===e.sectionName?[]:[e.sectionName],e.divisionName];return{...e,gameNames:t.join(` - `)}}var Ko=Bn([(e,t)=>new Date(e.gameDate).getTime()-new Date(t.gameDate).getTime(),Nt(I(`id`)),Nt(I(`gameId`))]),qo=zn((e=>(t,n)=>t[e].localeCompare(n[e],`hu`))(`name`));function Jo(e){return[e.isHomeGame?null:`@`,e.opponent?.shortName].join(` `)}function Yo(e){let t=e?.homeTeamScore,n=e?.awayTeamScore;return e.isHomeGame||(t=e?.awayTeamScore,n=e?.homeTeamScore),[t,n].join(`:`)}function Xo(e){let t=e.gameResult.split(`:`),n=t[0]>t[1],r=t[0]<t[1];return n&&e.isOvertime?`OTW`:n&&e.isShootout?`SOW`:n?`W`:r&&e.isOvertime?`OTL`:r&&e.isShootout?`SOL`:r?`L`:`D`}function Zo(e){return e.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 Qo(e){return e.player?e.player.nationality.includes(`hu`)?`${e.player.lastName} ${e.player.firstName}`:`${e.player.lastName}, ${e.player.firstName}`:`${e.lastName} ${e.firstName}`}var $o=L(zn(en(I(`seasonName`))),F(Fn([`championshipId`,`seasonName`]))),es=e=>zn(Nt(I(`teamName`)),e),ts=L(z(I(`sectionId`)),P(L(yn,I(`phases`)))),ns=L(I(`sectionId`),Xt),rs=L(I(`phaseName`),Xt),is=z(I(`phaseId`)),as=L(z(I(`name`)),F(L(Ao,jo))),os=L(I(`phaseName`),tn),ss=L(Wn,Rn(`_`,`-`)),cs=L(P(Hn(/-:-/)),B(`,`)),ls=L(F(B(`:`)),F(Kn),B(`,`),Rn(Io,``)),us=Bn([en(I(`startingFive`))]),ds=L(xn(`, `),F(e=>`${e.lastName} ${e.firstName}`),P(e=>!e)),fs=L(dn(I(`eventPeriod`)),Yt,P(In(`Period`,`type`))),ps=dn(I(`row`)),ms=(e,t)=>ct(kt([Pn(t,[`team`,`id`]),In(`Gól`,`type`)]),Yt(e)),hs=L(F(Ao),Fn([`headCoach`,`secondCoach`])),gs=L(Yt,F(e=>({...e,eventId:e.eventId?e.eventId:Do()}))),_s=e=>z(I(`eventTimeSec`),Object.values(e));function vs(e,t){return dn(I(`type`),F(e=>({...Ao(e),role:t(`role.${e.role}`)}),z(e=>{let t=[`first_referee`,`second_referee`,`first_line_judge`,`second_line_judge`].indexOf(e.role);return t>-1?t:4},Object.values(e))))}var ys=Bn([en(I(`points`)),Nt(I(`gamesPlayed`)),en(I(`w`)),en(I(`gd`)),en(I(`gf`))]),bs=(e,t)=>P(In(e,`championshipId`),t),xs=(e,t)=>ct(In(e,`championshipId`),t),Ss=L(P(e=>[`Rájátszás`,`Újrajátszandó`].includes(e.phaseName)),R([0,`phases`])),Cs=L(dn(Ds),z(e=>[`ld`,`rd`,`d`].includes(e.position?.toLowerCase())?1:[`lw`,`rw`,`c`].includes(e.position?.toLowerCase())?2:0),z(Os),F(L(Ao,jo,Bo([`position`]))));function ws({goalieStats:e,fieldPlayers:t,playersPenalty:n}){let r=F(R([`player`,`playerId`]))(e),i=P(e=>r.includes(e.player.playerId),n),a=hn((e,t)=>e.player.playerId===t,n,r),o=ks(t,i),s=ks(e,a);return{fieldPlayers:qo(o),goalies:qo(s)}}var Ts=Pt((e,t)=>Jt(ct(Pn(t,[`team`,`id`])),F(Ao))(e));function Es(e){let t=e.city?Nn(wn(`city`),Rn(Lo,`,`)):()=>({});return L(xn(` `),Mt,t,jn([`type`]))(e)}function Ds(e){return[`ld`,`rd`].includes(e.position?.toLowerCase())?`defenders`:[`lw`,`rw`,`c`].includes(e.position?.toLowerCase())?`forwards`:`goalies`}function Os(e){return Number(e.jerseyNr)}function ks(e,t){return Mt(An(kn,mn(R([`player`,`playerId`]),e),mn(R([`player`,`playerId`]),t)))}var As={setCookie(e,t,n){let r=new Date;r.setTime(r.getTime()+n*60*60*1e3);let i=`expires=${r.toUTCString()}`;document.cookie=`${e}=${t};${i};path=/`},getCookie(e){let t=`${e}=`,n=document.cookie.split(`;`);for(let e=0;e<n.length;e++){let r=n[e];for(;r.charAt(0)===` `;)r=r.substring(1);if(r.indexOf(t)===0)return r.substring(t.length,r.length)}return``},checkCookie(e){return this.getCookie(e)!==``}};function js(e,t=`body`){if(e){if(typeof t!=`string`){t?.append(e);return}document.querySelector(t)?.append(e)}}function Ms(e,t=()=>({})){return e.toSorted((e,n)=>{let r=t(e),i=t(n);if(r===null||i===null)return 0;let a=r.compareDocumentPosition(i);return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0})}var Ns=class extends Error{constructor(e,t={}){let{key:n,cause:r}=t;super(e),this.name=`WidgetError`,this.key=n,this.cause=r}},Ps={message:`Undefined Column name Message`,options:{key:`undefined-column`,cause:{}}},Fs={message:`Invalid season name`,options:{key:`invalid-season-name`,cause:{}}};function Is(e){return`wss://api.icehockey.hu/socket/vbr${e}`}var Ls=(e=``)=>globalThis?.__MJSZ_VBR_WIDGET__?.[e];function Rs(e,t={}){if(t.externalGameUrl)return t.externalGameUrl;let n=Ls(`gameResolver`)||e;return typeof n==`function`?n(t):n?encodeURI(U(n,t)):encodeURI(U(p,t))}function zs(e,t={}){let n=Ls(`teamResolver`)||e;return typeof n==`function`?n(t):n?encodeURI(U(n,t)):encodeURI(U(g,t))}function Bs(e,t={}){let n=Ls(`playerResolver`)||e;return typeof n==`function`?n(t):n?encodeURI(U(n,t)):encodeURI(U(h,t))}function Vs(e,t={}){return typeof e==`function`?e(t):e?encodeURI(U(e,t)):encodeURI(U(_,t))}var Hs=(e,t=`1x1`)=>`${v}/flag:${e}-${t}.svg`;function Us(e){return e||(Ls(`apiKey`)?Ls(`apiKey`):``)}function Ws(){window.scrollTo(0,0)}var Gs=Math.min,Ks=Math.max,qs=Math.round,Js=Math.floor,J=e=>({x:e,y:e}),Ys={left:`right`,right:`left`,bottom:`top`,top:`bottom`};function Xs(e,t,n){return Ks(e,Gs(t,n))}function Zs(e,t){return typeof e==`function`?e(t):e}function Qs(e){return e.split(`-`)[0]}function $s(e){return e.split(`-`)[1]}function ec(e){return e===`x`?`y`:`x`}function tc(e){return e===`y`?`height`:`width`}function nc(e){let t=e[0];return t===`t`||t===`b`?`y`:`x`}function rc(e){return ec(nc(e))}function ic(e,t,n){n===void 0&&(n=!1);let r=$s(e),i=rc(e),a=tc(i),o=i===`x`?r===(n?`end`:`start`)?`right`:`left`:r===`start`?`bottom`:`top`;return t.reference[a]>t.floating[a]&&(o=pc(o)),[o,pc(o)]}function ac(e){let t=pc(e);return[oc(e),t,oc(t)]}function oc(e){return e.includes(`start`)?e.replace(`start`,`end`):e.replace(`end`,`start`)}var sc=[`left`,`right`],cc=[`right`,`left`],lc=[`top`,`bottom`],uc=[`bottom`,`top`];function dc(e,t,n){switch(e){case`top`:case`bottom`:return n?t?cc:sc:t?sc:cc;case`left`:case`right`:return t?lc:uc;default:return[]}}function fc(e,t,n,r){let i=$s(e),a=dc(Qs(e),n===`start`,r);return i&&(a=a.map(e=>e+`-`+i),t&&(a=a.concat(a.map(oc)))),a}function pc(e){let t=Qs(e);return Ys[t]+e.slice(t.length)}function mc(e){return{top:0,right:0,bottom:0,left:0,...e}}function hc(e){return typeof e==`number`?{top:e,right:e,bottom:e,left:e}:mc(e)}function gc(e){let{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function _c(e,t,n){let{reference:r,floating:i}=e,a=nc(t),o=rc(t),s=tc(o),c=Qs(t),l=a===`y`,u=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[s]/2-i[s]/2,p;switch(c){case`top`:p={x:u,y:r.y-i.height};break;case`bottom`:p={x:u,y:r.y+r.height};break;case`right`:p={x:r.x+r.width,y:d};break;case`left`:p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch($s(t)){case`start`:p[o]-=f*(n&&l?-1:1);break;case`end`:p[o]+=f*(n&&l?-1:1);break}return p}async function vc(e,t){t===void 0&&(t={});let{x:n,y:r,platform:i,rects:a,elements:o,strategy:s}=e,{boundary:c=`clippingAncestors`,rootBoundary:l=`viewport`,elementContext:u=`floating`,altBoundary:d=!1,padding:f=0}=Zs(t,e),p=hc(f),m=o[d?u===`floating`?`reference`:`floating`:u],h=gc(await i.getClippingRect({element:await(i.isElement==null?void 0:i.isElement(m))??!0?m:m.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(o.floating)),boundary:c,rootBoundary:l,strategy:s})),g=u===`floating`?{x:n,y:r,width:a.floating.width,height:a.floating.height}:a.reference,_=await(i.getOffsetParent==null?void 0:i.getOffsetParent(o.floating)),v=await(i.isElement==null?void 0:i.isElement(_))&&await(i.getScale==null?void 0:i.getScale(_))||{x:1,y:1},y=gc(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:g,offsetParent:_,strategy:s}):g);return{top:(h.top-y.top+p.top)/v.y,bottom:(y.bottom-h.bottom+p.bottom)/v.y,left:(h.left-y.left+p.left)/v.x,right:(y.right-h.right+p.right)/v.x}}var yc=50,bc=async(e,t,n)=>{let{placement:r=`bottom`,strategy:i=`absolute`,middleware:a=[],platform:o}=n,s=o.detectOverflow?o:{...o,detectOverflow:vc},c=await(o.isRTL==null?void 0:o.isRTL(t)),l=await o.getElementRects({reference:e,floating:t,strategy:i}),{x:u,y:d}=_c(l,r,c),f=r,p=0,m={};for(let n=0;n<a.length;n++){let h=a[n];if(!h)continue;let{name:g,fn:_}=h,{x:v,y,data:b,reset:x}=await _({x:u,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:m,rects:l,platform:s,elements:{reference:e,floating:t}});u=v??u,d=y??d,m[g]={...m[g],...b},x&&p<yc&&(p++,typeof x==`object`&&(x.placement&&(f=x.placement),x.rects&&(l=x.rects===!0?await o.getElementRects({reference:e,floating:t,strategy:i}):x.rects),{x:u,y:d}=_c(l,f,c)),n=-1)}return{x:u,y:d,placement:f,strategy:i,middlewareData:m}},xc=e=>({name:`arrow`,options:e,async fn(t){let{x:n,y:r,placement:i,rects:a,platform:o,elements:s,middlewareData:c}=t,{element:l,padding:u=0}=Zs(e,t)||{};if(l==null)return{};let d=hc(u),f={x:n,y:r},p=rc(i),m=tc(p),h=await o.getDimensions(l),g=p===`y`,_=g?`top`:`left`,v=g?`bottom`:`right`,y=g?`clientHeight`:`clientWidth`,b=a.reference[m]+a.reference[p]-f[p]-a.floating[m],x=f[p]-a.reference[p],S=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l)),C=S?S[y]:0;(!C||!await(o.isElement==null?void 0:o.isElement(S)))&&(C=s.floating[y]||a.floating[m]);let w=b/2-x/2,T=C/2-h[m]/2-1,E=Gs(d[_],T),ee=Gs(d[v],T),D=E,te=C-h[m]-ee,ne=C/2-h[m]/2+w,re=Xs(D,ne,te),ie=!c.arrow&&$s(i)!=null&&ne!==re&&a.reference[m]/2-(ne<D?E:ee)-h[m]/2<0,ae=ie?ne<D?ne-D:ne-te:0;return{[p]:f[p]+ae,data:{[p]:re,centerOffset:ne-re-ae,...ie&&{alignmentOffset:ae}},reset:ie}}}),Sc=function(e){return e===void 0&&(e={}),{name:`flip`,options:e,async fn(t){var n;let{placement:r,middlewareData:i,rects:a,initialPlacement:o,platform:s,elements:c}=t,{mainAxis:l=!0,crossAxis:u=!0,fallbackPlacements:d,fallbackStrategy:f=`bestFit`,fallbackAxisSideDirection:p=`none`,flipAlignment:m=!0,...h}=Zs(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};let g=Qs(r),_=nc(o),v=Qs(o)===o,y=await(s.isRTL==null?void 0:s.isRTL(c.floating)),b=d||(v||!m?[pc(o)]:ac(o)),x=p!==`none`;!d&&x&&b.push(...fc(o,m,p,y));let S=[o,...b],C=await s.detectOverflow(t,h),w=[],T=i.flip?.overflows||[];if(l&&w.push(C[g]),u){let e=ic(r,a,y);w.push(C[e[0]],C[e[1]])}if(T=[...T,{placement:r,overflows:w}],!w.every(e=>e<=0)){let e=(i.flip?.index||0)+1,t=S[e];if(t&&(!(u===`alignment`&&_!==nc(t))||T.every(e=>nc(e.placement)===_?e.overflows[0]>0:!0)))return{data:{index:e,overflows:T},reset:{placement:t}};let n=T.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0]?.placement;if(!n)switch(f){case`bestFit`:{let e=T.filter(e=>{if(x){let t=nc(e.placement);return t===_||t===`y`}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0]?.[0];e&&(n=e);break}case`initialPlacement`:n=o;break}if(r!==n)return{reset:{placement:n}}}return{}}}},Cc=new Set([`left`,`top`]);async function wc(e,t){let{placement:n,platform:r,elements:i}=e,a=await(r.isRTL==null?void 0:r.isRTL(i.floating)),o=Qs(n),s=$s(n),c=nc(n)===`y`,l=Cc.has(o)?-1:1,u=a&&c?-1:1,d=Zs(t,e),{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d==`number`?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&typeof m==`number`&&(p=s===`end`?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}var Tc=function(e){return e===void 0&&(e=0),{name:`offset`,options:e,async fn(t){var n;let{x:r,y:i,placement:a,middlewareData:o}=t,s=await wc(t,e);return a===o.offset?.placement&&(n=o.arrow)!=null&&n.alignmentOffset?{}:{x:r+s.x,y:i+s.y,data:{...s,placement:a}}}}},Ec=function(e){return e===void 0&&(e={}),{name:`shift`,options:e,async fn(t){let{x:n,y:r,placement:i,platform:a}=t,{mainAxis:o=!0,crossAxis:s=!1,limiter:c={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=Zs(e,t),u={x:n,y:r},d=await a.detectOverflow(t,l),f=nc(Qs(i)),p=ec(f),m=u[p],h=u[f];if(o){let e=p===`y`?`top`:`left`,t=p===`y`?`bottom`:`right`,n=m+d[e],r=m-d[t];m=Xs(n,m,r)}if(s){let e=f===`y`?`top`:`left`,t=f===`y`?`bottom`:`right`,n=h+d[e],r=h-d[t];h=Xs(n,h,r)}let g=c.fn({...t,[p]:m,[f]:h});return{...g,data:{x:g.x-n,y:g.y-r,enabled:{[p]:o,[f]:s}}}}}};function Dc(){return typeof window<`u`}function Oc(e){return kc(e)?(e.nodeName||``).toLowerCase():`#document`}function Y(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function X(e){return((kc(e)?e.ownerDocument:e.document)||window.document)?.documentElement}function kc(e){return Dc()?e instanceof Node||e instanceof Y(e).Node:!1}function Z(e){return Dc()?e instanceof Element||e instanceof Y(e).Element:!1}function Q(e){return Dc()?e instanceof HTMLElement||e instanceof Y(e).HTMLElement:!1}function Ac(e){return!Dc()||typeof ShadowRoot>`u`?!1:e instanceof ShadowRoot||e instanceof Y(e).ShadowRoot}function jc(e){let{overflow:t,overflowX:n,overflowY:r,display:i}=$(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&i!==`inline`&&i!==`contents`}function Mc(e){return/^(table|td|th)$/.test(Oc(e))}function Nc(e){try{if(e.matches(`:popover-open`))return!0}catch{}try{return e.matches(`:modal`)}catch{return!1}}var Pc=/transform|translate|scale|rotate|perspective|filter/,Fc=/paint|layout|strict|content/,Ic=e=>!!e&&e!==`none`,Lc;function Rc(e){let t=Z(e)?$(e):e;return Ic(t.transform)||Ic(t.translate)||Ic(t.scale)||Ic(t.rotate)||Ic(t.perspective)||!Bc()&&(Ic(t.backdropFilter)||Ic(t.filter))||Pc.test(t.willChange||``)||Fc.test(t.contain||``)}function zc(e){let t=Uc(e);for(;Q(t)&&!Vc(t);){if(Rc(t))return t;if(Nc(t))return null;t=Uc(t)}return null}function Bc(){return Lc??=typeof CSS<`u`&&CSS.supports&&CSS.supports(`-webkit-backdrop-filter`,`none`),Lc}function Vc(e){return/^(html|body|#document)$/.test(Oc(e))}function $(e){return Y(e).getComputedStyle(e)}function Hc(e){return Z(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Uc(e){if(Oc(e)===`html`)return e;let t=e.assignedSlot||e.parentNode||Ac(e)&&e.host||X(e);return Ac(t)?t.host:t}function Wc(e){let t=Uc(e);return Vc(t)?e.ownerDocument?e.ownerDocument.body:e.body:Q(t)&&jc(t)?t:Wc(t)}function Gc(e,t,n){t===void 0&&(t=[]),n===void 0&&(n=!0);let r=Wc(e),i=r===e.ownerDocument?.body,a=Y(r);if(i){let e=Kc(a);return t.concat(a,a.visualViewport||[],jc(r)?r:[],e&&n?Gc(e):[])}else return t.concat(r,Gc(r,[],n))}function Kc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function qc(e){let t=$(e),n=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=Q(e),a=i?e.offsetWidth:n,o=i?e.offsetHeight:r,s=qs(n)!==a||qs(r)!==o;return s&&(n=a,r=o),{width:n,height:r,$:s}}function Jc(e){return Z(e)?e:e.contextElement}function Yc(e){let t=Jc(e);if(!Q(t))return J(1);let n=t.getBoundingClientRect(),{width:r,height:i,$:a}=qc(t),o=(a?qs(n.width):n.width)/r,s=(a?qs(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!s||!Number.isFinite(s))&&(s=1),{x:o,y:s}}var Xc=J(0);function Zc(e){let t=Y(e);return!Bc()||!t.visualViewport?Xc:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Qc(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Y(e)?!1:t}function $c(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);let i=e.getBoundingClientRect(),a=Jc(e),o=J(1);t&&(r?Z(r)&&(o=Yc(r)):o=Yc(e));let s=Qc(a,n,r)?Zc(a):J(0),c=(i.left+s.x)/o.x,l=(i.top+s.y)/o.y,u=i.width/o.x,d=i.height/o.y;if(a){let e=Y(a),t=r&&Z(r)?Y(r):r,n=e,i=Kc(n);for(;i&&r&&t!==n;){let e=Yc(i),t=i.getBoundingClientRect(),r=$(i),a=t.left+(i.clientLeft+parseFloat(r.paddingLeft))*e.x,o=t.top+(i.clientTop+parseFloat(r.paddingTop))*e.y;c*=e.x,l*=e.y,u*=e.x,d*=e.y,c+=a,l+=o,n=Y(i),i=Kc(n)}}return gc({width:u,height:d,x:c,y:l})}function el(e,t){let n=Hc(e).scrollLeft;return t?t.left+n:$c(X(e)).left+n}function tl(e,t){let n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-el(e,n),y:n.top+t.scrollTop}}function nl(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e,a=i===`fixed`,o=X(r),s=t?Nc(t.floating):!1;if(r===o||s&&a)return n;let c={scrollLeft:0,scrollTop:0},l=J(1),u=J(0),d=Q(r);if((d||!d&&!a)&&((Oc(r)!==`body`||jc(o))&&(c=Hc(r)),d)){let e=$c(r);l=Yc(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}let f=o&&!d&&!a?tl(o,c):J(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function rl(e){return Array.from(e.getClientRects())}function il(e){let t=X(e),n=Hc(e),r=e.ownerDocument.body,i=Ks(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Ks(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),o=-n.scrollLeft+el(e),s=-n.scrollTop;return $(r).direction===`rtl`&&(o+=Ks(t.clientWidth,r.clientWidth)-i),{width:i,height:a,x:o,y:s}}var al=25;function ol(e,t){let n=Y(e),r=X(e),i=n.visualViewport,a=r.clientWidth,o=r.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;let e=Bc();(!e||e&&t===`fixed`)&&(s=i.offsetLeft,c=i.offsetTop)}let l=el(r);if(l<=0){let e=r.ownerDocument,t=e.body,n=getComputedStyle(t),i=e.compatMode===`CSS1Compat`&&parseFloat(n.marginLeft)+parseFloat(n.marginRight)||0,o=Math.abs(r.clientWidth-t.clientWidth-i);o<=al&&(a-=o)}else l<=al&&(a+=l);return{width:a,height:o,x:s,y:c}}function sl(e,t){let n=$c(e,!0,t===`fixed`),r=n.top+e.clientTop,i=n.left+e.clientLeft,a=Q(e)?Yc(e):J(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:i*a.x,y:r*a.y}}function cl(e,t,n){let r;if(t===`viewport`)r=ol(e,n);else if(t===`document`)r=il(X(e));else if(Z(t))r=sl(t,n);else{let n=Zc(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return gc(r)}function ll(e,t){let n=Uc(e);return n===t||!Z(n)||Vc(n)?!1:$(n).position===`fixed`||ll(n,t)}function ul(e,t){let n=t.get(e);if(n)return n;let r=Gc(e,[],!1).filter(e=>Z(e)&&Oc(e)!==`body`),i=null,a=$(e).position===`fixed`,o=a?Uc(e):e;for(;Z(o)&&!Vc(o);){let t=$(o),n=Rc(o);!n&&t.position===`fixed`&&(i=null),(a?!n&&!i:!n&&t.position===`static`&&i&&(i.position===`absolute`||i.position===`fixed`)||jc(o)&&!n&&ll(e,o))?r=r.filter(e=>e!==o):i=t,o=Uc(o)}return t.set(e,r),r}function dl(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e,a=[...n===`clippingAncestors`?Nc(t)?[]:ul(t,this._c):[].concat(n),r],o=cl(t,a[0],i),s=o.top,c=o.right,l=o.bottom,u=o.left;for(let e=1;e<a.length;e++){let n=cl(t,a[e],i);s=Ks(n.top,s),c=Gs(n.right,c),l=Gs(n.bottom,l),u=Ks(n.left,u)}return{width:c-u,height:l-s,x:u,y:s}}function fl(e){let{width:t,height:n}=qc(e);return{width:t,height:n}}function pl(e,t,n){let r=Q(t),i=X(t),a=n===`fixed`,o=$c(e,!0,a,t),s={scrollLeft:0,scrollTop:0},c=J(0);function l(){c.x=el(i)}if(r||!r&&!a)if((Oc(t)!==`body`||jc(i))&&(s=Hc(t)),r){let e=$c(t,!0,a,t);c.x=e.x+t.clientLeft,c.y=e.y+t.clientTop}else i&&l();a&&!r&&i&&l();let u=i&&!r&&!a?tl(i,s):J(0);return{x:o.left+s.scrollLeft-c.x-u.x,y:o.top+s.scrollTop-c.y-u.y,width:o.width,height:o.height}}function ml(e){return $(e).position===`static`}function hl(e,t){if(!Q(e)||$(e).position===`fixed`)return null;if(t)return t(e);let n=e.offsetParent;return X(e)===n&&(n=n.ownerDocument.body),n}function gl(e,t){let n=Y(e);if(Nc(e))return n;if(!Q(e)){let t=Uc(e);for(;t&&!Vc(t);){if(Z(t)&&!ml(t))return t;t=Uc(t)}return n}let r=hl(e,t);for(;r&&Mc(r)&&ml(r);)r=hl(r,t);return r&&Vc(r)&&ml(r)&&!Rc(r)?n:r||zc(e)||n}var _l=async function(e){let t=this.getOffsetParent||gl,n=this.getDimensions,r=await n(e.floating);return{reference:pl(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function vl(e){return $(e).direction===`rtl`}var yl={convertOffsetParentRelativeRectToViewportRelativeRect:nl,getDocumentElement:X,getClippingRect:dl,getOffsetParent:gl,getElementRects:_l,getClientRects:rl,getDimensions:fl,getScale:Yc,isElement:Z,isRTL:vl};function bl(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function xl(e,t){let n=null,r,i=X(e);function a(){var e;clearTimeout(r),(e=n)==null||e.disconnect(),n=null}function o(s,c){s===void 0&&(s=!1),c===void 0&&(c=1),a();let l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(s||t(),!f||!p)return;let m=Js(d),h=Js(i.clientWidth-(u+f)),g=Js(i.clientHeight-(d+p)),_=Js(u),v={rootMargin:-m+`px `+-h+`px `+-g+`px `+-_+`px`,threshold:Ks(0,Gs(1,c))||1},y=!0;function b(t){let n=t[0].intersectionRatio;if(n!==c){if(!y)return o();n?o(!1,n):r=setTimeout(()=>{o(!1,1e-7)},1e3)}n===1&&!bl(l,e.getBoundingClientRect())&&o(),y=!1}try{n=new IntersectionObserver(b,{...v,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,v)}n.observe(e)}return o(!0),a}function Sl(e,t,n,r){r===void 0&&(r={});let{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:o=typeof ResizeObserver==`function`,layoutShift:s=typeof IntersectionObserver==`function`,animationFrame:c=!1}=r,l=Jc(e),u=i||a?[...l?Gc(l):[],...t?Gc(t):[]]:[];u.forEach(e=>{i&&e.addEventListener(`scroll`,n,{passive:!0}),a&&e.addEventListener(`resize`,n)});let d=l&&s?xl(l,n):null,f=-1,p=null;o&&(p=new ResizeObserver(e=>{let[r]=e;r&&r.target===l&&p&&t&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;(e=p)==null||e.observe(t)})),n()}),l&&!c&&p.observe(l),t&&p.observe(t));let m,h=c?$c(e):null;c&&g();function g(){let t=$c(e);h&&!bl(h,t)&&n(),h=t,m=requestAnimationFrame(g)}return n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener(`scroll`,n),a&&e.removeEventListener(`resize`,n)}),d?.(),(e=p)==null||e.disconnect(),p=null,c&&cancelAnimationFrame(m)}}var Cl=Tc,wl=Ec,Tl=Sc,El=xc,Dl=(e,t,n)=>{let r=new Map,i={platform:yl,...n},a={...i.platform,_c:r};return bc(e,t,{...i,platform:a})};function Ol({middleware:e,placement:n=null,strategy:r,append:i,enabled:a}){let o=(0,t.ref)(null),s=(0,t.ref)(null),c=(0,t.ref)(null),l=(0,t.ref)(null),u=(0,t.ref)(null),d=(0,t.ref)(null),f=(0,t.ref)(null),p=(0,t.ref)(r??`absolute`),m=(0,t.ref)(null),h=()=>{!o.value||!s.value||Dl(o.value,s.value,{middleware:e,placement:n,strategy:r}).then(e=>{c.value=e.x,l.value=e.y,p.value=e.strategy,u.value=e.middlewareData.arrow.x,d.value=e.middlewareData.arrow.y,f.value=e.placement})};(0,t.watch)(()=>({reference:(0,t.unref)(o),floating:(0,t.unref)(s),append:(0,t.unref)(i)}),({floating:e,append:t})=>{t&&js(e,t),h()},{flush:`post`}),(0,t.watch)(a,e=>{if(!(!o.value||!s.value)){if(!e)return g();m.value=Sl(o.value,s.value,h,{})}},{flush:`post`});function g(){m.value?.(),m.value=null}return{x:c,y:l,arrowX:u,arrowY:d,placement:f,reference:o,floating:s,strategy:p,update:h}}function kl(e){let{element:n,padding:r}=e;return{name:`arrow`,options:e,fn(e){return(0,t.isRef)(n)?n.value==null?{}:El({element:n.value,padding:r}).fn(e):n?El({element:n,padding:r}).fn(e):{}}}}var Al=[`data-placement`],jl={__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(e){let n=e,r=(0,t.ref)(!1),i=(0,t.ref)(null),{x:a,y:o,arrowX:s,arrowY:c,placement:l,reference:u,floating:d,strategy:f}=Ol({placement:n.placement,middleware:[Tl(),wl({padding:5}),Cl(n.offset),kl({element:i,padding:5})],append:(0,t.computed)(()=>n.appendTo),enabled:r});function p(){n.disabled||(r.value||=!0)}function m(){r.value&&=!1}function h(e){u.value=e}let g={onMouseenter:p,onMouseleave:m,onFocus:p,onBlur:m};Ur(d,()=>{r.value&&m()},{ignore:[u]});function _(){if(r.value)return m();p()}function v(e){r.value&&(Br(d).querySelectorAll(`button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])`)[0]?.focus(),e.preventDefault())}return(u,y)=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,[(0,t.renderSlot)(u.$slots,`default`,{setRef:h,nextFocus:v,open:r.value,toggle:_,show:p,hide:m,events:g}),(0,t.createElementVNode)(`div`,{ref_key:`floating`,ref:d,"data-placement":(0,t.unref)(l),style:(0,t.normalizeStyle)({position:(0,t.unref)(f),top:(0,t.unref)(o)?`${(0,t.unref)(o)}px`:``,left:(0,t.unref)(a)?`${(0,t.unref)(a)}px`:``})},[(0,t.createVNode)(t.Transition,{name:`transition-fade`},{default:(0,t.withCtx)(()=>[r.value?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,class:(0,t.normalizeClass)([`floating-content`,[[`is-${n.theme}`]]])},[(0,t.renderSlot)(u.$slots,`content`,{close:m},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.content),1)]),e.isArrowVisible?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{key:0,ref_key:`arrowRef`,ref:i,class:`is-arrow`,style:(0,t.normalizeStyle)({position:(0,t.unref)(f),top:(0,t.unref)(c)?`${(0,t.unref)(c)}px`:``,left:(0,t.unref)(s)?`${(0,t.unref)(s)}px`:``})},null,4)):(0,t.createCommentVNode)(``,!0)],2)):(0,t.createCommentVNode)(``,!0)]),_:3})],12,Al)],64))}},Ml={class:`table`},Nl=[`tabindex`,`onMouseenter`,`onMouseleave`,`onFocus`,`onBlur`,`onClick`,`onKeydown`],Pl=[`data-value`],Fl={key:0},Il=[`colspan`],Ll={key:1},Rl=[`colspan`],zl={key:2},Bl={__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(e,{emit:n}){let r=e,i=n,{isLoading:a,appendTo:o}=(0,t.toRefs)(r),s=$r(a,{delay:T}),{t:c}=H(),l=(0,t.computed)(()=>r.columns),u=(0,t.computed)(()=>Object.keys(r.columns).length);function d(e,t){e.sortOrders&&i(`sort`,{target:t,orders:e.sortOrders})}return(n,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`table`,Ml,[(0,t.createElementVNode)(`thead`,null,[(0,t.createElementVNode)(`tr`,null,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(l.value,(r,i)=>((0,t.openBlock)(),(0,t.createBlock)(jl,{key:i,placement:`top`,content:r.tooltip,disabled:!r.tooltip,"append-to":(0,t.unref)(o)},{default:(0,t.withCtx)(({setRef:a,show:o,hide:s})=>[(0,t.createElementVNode)(`th`,{ref_for:!0,ref:a,class:(0,t.normalizeClass)([[(0,t.unref)(lr)(r.class)],{"is-active":i===e.sort.sortTarget&&e.sort.orders[0].direction!==(0,t.unref)(`original`),"is-sortable":r.sortOrders,"is-desc":i===e.sort.sortTarget&&e.sort.orders[0].direction===(0,t.unref)(`descend`),"is-asc":i===e.sort.sortTarget&&e.sort.orders[0].direction===(0,t.unref)(`ascend`)}]),tabindex:r.sortOrders?0:-1,role:`button`,onMouseenter:o,onMouseleave:s,onFocus:o,onBlur:s,onClick:e=>d(r,i),onKeydown:[(0,t.withKeys)((0,t.withModifiers)(e=>d(r,i),[`prevent`]),[`space`]),(0,t.withKeys)((0,t.withModifiers)(e=>d(r,i),[`prevent`]),[`enter`])]},[(0,t.renderSlot)(n.$slots,`header-${i}`,{column:r},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(r.label),1)]),r.sortOrders&&i!==e.sort.sortTarget?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Xa),{key:0,class:`is-icon-sort`})):(0,t.createCommentVNode)(``,!0),i===e.sort.sortTarget&&e.sort.orders[0].direction===(0,t.unref)(`original`)?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(Xa),{key:1,class:`is-icon-sort`})):(0,t.createCommentVNode)(``,!0),i===e.sort.sortTarget&&e.sort.orders[0].direction===(0,t.unref)(`descend`)?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(eo),{key:2,class:`is-icon-sort`})):(0,t.createCommentVNode)(``,!0),i===e.sort.sortTarget&&e.sort.orders[0].direction===(0,t.unref)(`ascend`)?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(io),{key:3,class:`is-icon-sort`})):(0,t.createCommentVNode)(``,!0)],42,Nl)]),_:2},1032,[`content`,`disabled`,`append-to`]))),128))])]),(0,t.createElementVNode)(`tbody`,null,[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(r.rows,(r,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`tr`,{key:i,class:(0,t.normalizeClass)(r.rowClasses)},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(l.value,(i,a)=>((0,t.openBlock)(),(0,t.createElementBlock)(`td`,{key:a,"data-value":r[a],class:(0,t.normalizeClass)([[i.class],{"is-active":a===e.sort.sortTarget&&e.sort.orders[0].direction!==(0,t.unref)(`original`),"is-zero":r[a]===0||r[a]===`00:00`}])},[(0,t.renderSlot)(n.$slots,`cell-${a}`,{row:r,prop:a},()=>[(0,t.createTextVNode)((0,t.toDisplayString)(r[a]),1)])],10,Pl))),128))],2))),128))]),(0,t.unref)(s)&&e.rows.length===0?((0,t.openBlock)(),(0,t.createElementBlock)(`tfoot`,Fl,[(0,t.createElementVNode)(`tr`,null,[(0,t.createElementVNode)(`td`,{colspan:u.value},[(0,t.renderSlot)(n.$slots,`loading`,{},()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(c)(`common.loading`)),1)])],8,Il)])])):(0,t.createCommentVNode)(``,!0),e.rows.length===0&&!(0,t.unref)(a)&&!(0,t.unref)(s)?((0,t.openBlock)(),(0,t.createElementBlock)(`tfoot`,Ll,[(0,t.createElementVNode)(`tr`,null,[(0,t.createElementVNode)(`td`,{colspan:u.value},[(0,t.renderSlot)(n.$slots,`empty`,{},()=>[(0,t.createTextVNode)((0,t.toDisplayString)((0,t.unref)(c)(`common.noData`)),1)])],8,Rl)])])):(0,t.createCommentVNode)(``,!0),n.$slots.caption?((0,t.openBlock)(),(0,t.createElementBlock)(`caption`,zl,[(0,t.renderSlot)(n.$slots,`caption`)])):(0,t.createCommentVNode)(``,!0)]))}},Vl={class:`error-notice`},Hl=[`textContent`],Ul={__name:`ErrorNotice`,props:{error:{type:Object,default:()=>({})},useRetry:{type:Boolean,default:!1}},emits:[`retry`],setup(e){let n=e,{t:r,hasTranslation:i}=H(),a=(0,t.computed)(()=>i(`errors.${n.error.key}`)?r(`errors.${n.error.key}`,n.error.cause||[n.error?.message]):n.error?.message);return(n,i)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Vl,[(0,t.createVNode)((0,t.unref)(ho),{class:`icon`,width:`20`,height:`20`}),(0,t.createElementVNode)(`span`,null,(0,t.toDisplayString)(a.value),1),e.useRetry?((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:0,type:`button`,onClick:i[0]||=e=>n.$emit(`retry`),textContent:(0,t.toDisplayString)((0,t.unref)(r)(`common.retry`))},null,8,Hl)):(0,t.createCommentVNode)(``,!0)]))}},Wl={__name:`ErrorProvider`,setup(e){let{message:n,hasError:r,error:i}=dr();return(e,a)=>(0,t.renderSlot)(e.$slots,`default`,{message:(0,t.unref)(n),error:(0,t.unref)(i),hasError:(0,t.unref)(r)})}},Gl={class:`form-field`},Kl=[`for`],ql={__name:`FormField`,props:{label:{type:String,default:``},name:{type:String,required:!0}},setup(e){return(n,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,Gl,[(0,t.createElementVNode)(`label`,{for:e.name},(0,t.toDisplayString)(e.label),9,Kl),(0,t.renderSlot)(n.$slots,`default`)]))}},Jl={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`},pper:{short:`PPer`,tooltip:`Total periods 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`}}},Yl={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`},pper:{short:`PPer`,tooltip:`Összes lejátszott játékrész`},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`}}},Xl=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},Zl=(0,t.defineComponent)({props:{locale:{type:String,default:`hu`},messages:{type:Object,default:()=>({})}},setup(e){let n=On({hu:Yl,en:Jl},e.messages),{translate:r}=Zn({locale:(0,t.computed)(()=>e.locale),messages:n});return{translate:r}}});function Ql(e,n,r,i,a,o){return(0,t.renderSlot)(e.$slots,`default`,{t:e.translate})}var $l=Xl(Zl,[[`render`,Ql]]),eu=[`src`,`width`,`height`],tu=[`src`,`title`,`width`,`height`],nu=Object.assign({inheritAttrs:!1},{__name:`Image`,props:{src:{type:String,default:``},title:{type:String,default:``},defaultSrc:{type:String,default:``},width:{type:Number,default:void 0},height:{type:Number,default:void 0}},setup(e){let n=e,{defaultSrc:r}=(0,t.toRefs)(n),i=(0,t.ref)({src:n.src}),{error:a,isReady:o}=qr(i,{resetOnExecute:!1,shallow:!1});return(s,c)=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,[(0,t.unref)(a)&&(0,t.unref)(r)?((0,t.openBlock)(),(0,t.createElementBlock)(`img`,{key:0,src:(0,t.unref)(r),class:(0,t.normalizeClass)([`is-loaded is-default`,[s.$attrs.class]]),style:(0,t.normalizeStyle)([s.$attrs.style]),width:e.width,height:e.height},null,14,eu)):(0,t.createCommentVNode)(``,!0),(0,t.unref)(a)?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`img`,{key:1,src:i.value.src,title:n.title,class:(0,t.normalizeClass)([s.$attrs.class,{"is-loaded":(0,t.unref)(o)}]),style:(0,t.normalizeStyle)([s.$attrs.style]),width:e.width,height:e.height,loading:`lazy`},null,14,tu))],64))}}),ru={class:`loading-indicator`},iu={__name:`LoadingIndicator`,setup(e){let{t:n}=H();return(e,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,ru,(0,t.toDisplayString)((0,t.unref)(n)(`common.loading`)),1))}},au={key:0,class:`paginator`},ou=[`disabled`],su=[`disabled`],cu={key:1,class:`is-disabled`},lu=[`disabled`,`onClick`],uu={key:2,class:`is-disabled`},du=[`disabled`],fu=[`disabled`],pu={__name:`Paginator`,props:{page:{type:Number,required:!1,default:0,validator:e=>e>=0},itemsPerPage:{type:Number,required:!1,default:10,validator:e=>e>0},totalItems:{type:Number,required:!0,validator:e=>e>=0},rangeLength:{type:Number,default:3,validator:e=>e>=2},isCompact:{type:Boolean,default:!1}},emits:[`change`],setup(e,{emit:n}){let r=e,i=n,{page:a,pageCount:o,range:s,goTo:c,pageStep:l}=Gi({currentPage:(0,t.computed)(()=>r.page),totalItems:(0,t.computed)(()=>r.totalItems),itemsPerPage:r.itemsPerPage,rangeLength:r.rangeLength,update:e=>i(`change`,e)});return(n,r)=>(0,t.unref)(o)>1?((0,t.openBlock)(),(0,t.createElementBlock)(`div`,au,[(0,t.createElementVNode)(`button`,{type:`button`,disabled:(0,t.unref)(a)===1,onClick:r[0]||=e=>(0,t.unref)(l)(-1)},[(0,t.renderSlot)(n.$slots,`prev`,{},()=>[(0,t.createVNode)((0,t.unref)(ja),{class:`icon paginator-left`})])],8,ou),e.isCompact?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:0,type:`button`,disabled:(0,t.unref)(a)===1,onClick:r[1]||=e=>(0,t.unref)(c)(1)},` 1 `,8,su)),e.isCompact?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,cu,` ... `)),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)((0,t.unref)(s),e=>((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:e,type:`button`,class:(0,t.normalizeClass)({"is-active":e===(0,t.unref)(a)}),disabled:e===(0,t.unref)(a),onClick:n=>(0,t.unref)(c)(e)},(0,t.toDisplayString)(e),11,lu))),128)),e.isCompact?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`div`,uu,[...r[4]||=[(0,t.createElementVNode)(`span`,null,`...`,-1)]])),e.isCompact?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:3,type:`button`,disabled:(0,t.unref)(a)===(0,t.unref)(o),onClick:r[2]||=e=>(0,t.unref)(c)((0,t.unref)(o))},(0,t.toDisplayString)((0,t.unref)(o)),9,du)),(0,t.createElementVNode)(`button`,{type:`button`,disabled:(0,t.unref)(a)===(0,t.unref)(o),onClick:r[3]||=(0,t.withModifiers)(e=>(0,t.unref)(l)(1),[`prevent`])},[(0,t.renderSlot)(n.$slots,`next`,{},()=>[(0,t.createVNode)((0,t.unref)(Ha),{class:`icon paginator-left`})])],8,fu)])):(0,t.createCommentVNode)(``,!0)}},mu={__name:`ResponsiveTable`,setup(e){let n=(0,t.ref)(null);return(e,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,{ref_key:`el`,ref:n,class:`table-responsive`},[(0,t.renderSlot)(e.$slots,`default`,{el:n.value})],512))}},hu={class:`is-team-name-long`},gu={class:`is-team-name-short`},_u={class:`is-team-name-long`},vu={class:`is-team-name-short`},yu={key:0,class:`text-highlighted`},bu=[`href`,`target`],xu={key:0,class:`badge`},Su={key:1,class:`badge`},Cu={key:2,class:`badge`},wu={key:1},Tu=[`data-state`,`onClick`,`onKeydown`],Eu={class:`list`},Du=[`href`,`target`],Ou={class:`start`},ku={class:`text`},Au={key:0},ju=[`href`],Mu={class:`start`},Nu={class:`text`},Pu={__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(e){let n=e,r=(0,t.ref)(null),{onError:i}=fr(),{columns:a,error:o}=rr(E,(0,t.computed)(()=>n.hideColumns),(0,t.computed)(()=>({offsetName:n.offsetName})));Lr(o,()=>i(new Ns(Ps.message,{...Ps.options,cause:{column:o.value}})),{immediate:!0});let{t:s}=H();return(i,o)=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,[(0,t.createVNode)(mu,null,{default:(0,t.withCtx)(({el:i})=>[(0,t.createVNode)(Bl,{columns:(0,t.unref)(a),rows:n.rows,"is-loading":e.isLoading,"append-to":r.value||i},{"cell-homeTeamName":(0,t.withCtx)(({row:e})=>[e.homeTeam?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.createElementVNode)(`span`,hu,(0,t.toDisplayString)(e.homeTeam.longName),1),(0,t.createElementVNode)(`span`,gu,(0,t.toDisplayString)(e.homeTeam.shortName),1)],64)):(0,t.createCommentVNode)(``,!0)]),"cell-awayTeamName":(0,t.withCtx)(({row:e})=>[e.awayTeam?((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:0},[(0,t.createElementVNode)(`span`,_u,(0,t.toDisplayString)(e.awayTeam.longName),1),(0,t.createElementVNode)(`span`,vu,(0,t.toDisplayString)(e.awayTeam.shortName),1)],64)):(0,t.createCommentVNode)(``,!0)]),"cell-homeTeamLogo":(0,t.withCtx)(({row:e})=>[e.homeTeam?((0,t.openBlock)(),(0,t.createBlock)(nu,{key:e.homeTeam.id,class:`is-logo-image`,src:e.homeTeam.logo},null,8,[`src`])):(0,t.createCommentVNode)(``,!0)]),"cell-awayTeamLogo":(0,t.withCtx)(({row:e})=>[e.awayTeam?((0,t.openBlock)(),(0,t.createBlock)(nu,{key:e.awayTeam.id,class:`is-logo-image`,src:e.awayTeam.logo},null,8,[`src`])):(0,t.createCommentVNode)(``,!0)]),"cell-gameResult":(0,t.withCtx)(({row:n})=>[n.gameStatus===0?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,yu,`-:-`)):((0,t.openBlock)(),(0,t.createElementBlock)(`a`,{key:1,href:e.externalGameResolver(n.gameId),target:e.externalGameResolverTarget,class:(0,t.normalizeClass)({"text-highlighted":n.gameStatus!==1,"is-text-accent":n.gameStatus===1})},(0,t.toDisplayString)(n.homeTeamScore)+`:`+(0,t.toDisplayString)(n.awayTeamScore),11,bu))]),"cell-gameResultType":(0,t.withCtx)(({row:e})=>[e.isOvertime?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,xu,(0,t.toDisplayString)((0,t.unref)(s)(`common.overtimeShort`)),1)):(0,t.createCommentVNode)(``,!0),e.isShootout?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Su,(0,t.toDisplayString)((0,t.unref)(s)(`common.shootoutShort`)),1)):(0,t.createCommentVNode)(``,!0),e.seriesStandings?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Cu,(0,t.toDisplayString)(e.seriesStandings),1)):(0,t.createCommentVNode)(``,!0)]),"cell-broadcast":(0,t.withCtx)(({row:e})=>[e.broadcast?((0,t.openBlock)(),(0,t.createBlock)((0,t.unref)(va),{key:0})):((0,t.openBlock)(),(0,t.createElementBlock)(`span`,wu))]),"cell-location":(0,t.withCtx)(({row:e})=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.location?.locationName??``),1)]),"cell-more":(0,t.withCtx)(({row:n})=>[(0,t.createVNode)(jl,{offset:2,placement:`left`,theme:`content`,"append-to":i},{default:(0,t.withCtx)(({setRef:e,open:n,toggle:r,nextFocus:i})=>[(0,t.createElementVNode)(`button`,{ref:e,type:`button`,"aria-label":`more`,"data-state":n?`open`:`closed`,class:`icon-button`,onClick:(0,t.withModifiers)(r,[`stop`,`prevent`]),onKeydown:(0,t.withKeys)(i,[`tab`])},[(0,t.createVNode)((0,t.unref)(Ra))],40,Tu)]),content:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`ul`,Eu,[(0,t.createElementVNode)(`li`,null,[(0,t.createElementVNode)(`a`,{href:e.externalGameResolver(n.gameId),class:`is-dropdown-item`,target:e.externalGameResolverTarget},[(0,t.createElementVNode)(`div`,Ou,[(0,t.createVNode)((0,t.unref)(Ka))]),(0,t.createElementVNode)(`div`,ku,(0,t.toDisplayString)((0,t.unref)(s)(`common.report`)),1)],8,Du)]),n.video?((0,t.openBlock)(),(0,t.createElementBlock)(`li`,Au,[(0,t.createElementVNode)(`a`,{href:n.video,class:`is-dropdown-item`,target:`_blank`},[(0,t.createElementVNode)(`div`,Mu,[(0,t.createVNode)((0,t.unref)(So))]),(0,t.createElementVNode)(`div`,Nu,(0,t.toDisplayString)((0,t.unref)(s)(`common.video`)),1)],8,ju)])):(0,t.createCommentVNode)(``,!0)])]),_:2},1032,[`append-to`])]),loading:(0,t.withCtx)(()=>[(0,t.createVNode)(iu)]),_:2},1032,[`columns`,`rows`,`is-loading`,`append-to`])]),_:1}),(0,t.createElementVNode)(`div`,{ref_key:`tooltipContainer`,ref:r},null,512)],64))}},Fu={class:`flex-container mb-md`},Iu=[`value`],Lu={key:0,class:`tabs underlined mb-md`},Ru=[`aria-label`],zu=[`aria-selected`,`onClick`],Bu={__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(e,{emit:n}){let r=e,i=n,{t:a}=H(),o=(0,t.computed)({get(){return r.championshipId},set(e){i(`onChangeSeason`,e)}});function s(e){i(`onChangeSection`,e)}return(n,r)=>((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,null,[(0,t.createElementVNode)(`div`,Fu,[(0,t.createVNode)(ql,{label:(0,t.unref)(a)(`selection.season`),name:`season`},{default:(0,t.withCtx)(()=>[(0,t.createVNode)(ua,{id:`season`,modelValue:o.value,"onUpdate:modelValue":r[0]||=e=>o.value=e},{default:(0,t.withCtx)(()=>[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.seasons,e=>((0,t.openBlock)(),(0,t.createElementBlock)(`option`,{key:e.championshipId,value:e.championshipId},(0,t.toDisplayString)(e.seasonName),9,Iu))),128))]),_:1},8,[`modelValue`])]),_:1},8,[`label`]),(0,t.renderSlot)(n.$slots,`default`)]),e.isSectionSelectionDisabled?(0,t.createCommentVNode)(``,!0):((0,t.openBlock)(),(0,t.createElementBlock)(`nav`,Lu,[(0,t.createElementVNode)(`div`,{role:`tablist`,"aria-label":(0,t.unref)(a)(`selection.sections`)},[((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(e.sections,n=>((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:n.phaseId,role:`tab`,type:`button`,"aria-selected":n.phaseName===e.sectionId,onClick:e=>s(n)},(0,t.toDisplayString)(n.phaseName),9,zu))),128))],8,Ru)]))],64))}},Vu={class:`avatar`},Hu=[`href`],Uu={class:`is-team-name-long`},Wu={class:`is-team-name-short`},Gu={class:`is-team-name-long`},Ku={key:0},qu={class:`is-team-name-short`},Ju={key:0},Yu={class:`is-team-name-long`},Xu={class:`is-team-name-short`},Zu={class:`is-team-name-long`},Qu={class:`is-team-name-short`},$u=[`href`],ed={key:0,class:`text-highlighted`},td=[`href`,`target`],nd={key:0,class:`badge`},rd={key:1,class:`badge`},id={key:2,class:`badge`},ad={__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(e,{emit:n}){let r=e,i=n,{columns:a,hideColumns:o}=(0,t.toRefs)(r),{onError:s}=fr(),{t:c}=H(),{columns:l,error:u}=rr(a,o,(0,t.computed)(()=>({offsetName:r.offsetName})));u.value&&s(new Ns(Ps.message,{...Ps.options,cause:{column:u.value}}));let d=e=>i(`sort`,e);return(n,i)=>((0,t.openBlock)(),(0,t.createBlock)(mu,null,{default:(0,t.withCtx)(({el:a})=>[(0,t.createVNode)(Bl,{columns:(0,t.unref)(l),sort:r.sort,rows:r.rows,"is-loading":e.isLoading,"append-to":e.appendTo||a,onSort:d},(0,t.createSlots)({"cell-index":(0,t.withCtx)(({row:e})=>[(0,t.createElementVNode)(`span`,{class:(0,t.normalizeClass)(e.indexClass)},(0,t.toDisplayString)(e.index),3)]),"cell-playerPortrait":(0,t.withCtx)(({row:e})=>[(0,t.createElementVNode)(`div`,Vu,[((0,t.openBlock)(),(0,t.createBlock)(nu,{key:e.player.playerId,src:e.player.picture,"default-src":(0,t.unref)(m)},null,8,[`src`,`default-src`]))])]),"cell-teamLogo":(0,t.withCtx)(({row:e})=>[((0,t.openBlock)(),(0,t.createBlock)(nu,{key:e.team?.id??e.id,class:`is-logo-image`,src:e.team?.logo},null,8,[`src`]))]),"cell-homeTeamLogo":(0,t.withCtx)(({row:e})=>[((0,t.openBlock)(),(0,t.createBlock)(nu,{key:e.homeTeam?.id,class:`is-logo-image is-right`,src:e.homeTeam?.logo},null,8,[`src`]))]),"cell-awayTeamLogo":(0,t.withCtx)(({row:e})=>[((0,t.openBlock)(),(0,t.createBlock)(nu,{key:e.awayTeam?.id,class:`is-logo-image is-right`,src:e.awayTeam?.logo},null,8,[`src`]))]),"cell-teamName":(0,t.withCtx)(({row:n})=>[e.isTeamLinked?((0,t.openBlock)(),(0,t.createElementBlock)(`a`,{key:0,href:e.externalTeamResolver(n),target:`_blank`},[(0,t.createElementVNode)(`span`,Uu,(0,t.toDisplayString)(n.team?.longName),1),(0,t.createElementVNode)(`span`,Wu,(0,t.toDisplayString)(n.team?.shortName),1)],8,Hu)):((0,t.openBlock)(),(0,t.createElementBlock)(t.Fragment,{key:1},[(0,t.createElementVNode)(`span`,Gu,[(0,t.createTextVNode)((0,t.toDisplayString)(n.team?.longName)+` `,1),n.penaltyPoints?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Ku,[...i[0]||=[(0,t.createElementVNode)(`sup`,null,`*`,-1)]])):(0,t.createCommentVNode)(``,!0)]),(0,t.createElementVNode)(`span`,qu,[(0,t.createTextVNode)((0,t.toDisplayString)(n.team?.shortName)+` `,1),n.penaltyPoints?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,Ju,[...i[1]||=[(0,t.createElementVNode)(`sup`,null,`*`,-1)]])):(0,t.createCommentVNode)(``,!0)])],64))]),"cell-homeTeamName":(0,t.withCtx)(({row:e})=>[(0,t.createElementVNode)(`span`,Yu,(0,t.toDisplayString)(e.homeTeam?.longName),1),(0,t.createElementVNode)(`span`,Xu,(0,t.toDisplayString)(e.homeTeam?.shortName),1)]),"cell-awayTeamName":(0,t.withCtx)(({row:e})=>[(0,t.createElementVNode)(`span`,Zu,(0,t.toDisplayString)(e.awayTeam?.longName),1),(0,t.createElementVNode)(`span`,Qu,(0,t.toDisplayString)(e.awayTeam?.shortName),1)]),"cell-location":(0,t.withCtx)(({row:e})=>[(0,t.createTextVNode)((0,t.toDisplayString)(e.location?.locationName??``),1)]),"cell-gameResult":(0,t.withCtx)(({row:n})=>[n.gameStatus===0?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,ed,`-:-`)):((0,t.openBlock)(),(0,t.createElementBlock)(`a`,{key:1,href:e.externalGameResolver(n),target:e.externalGameResolverTarget,class:(0,t.normalizeClass)({"text-highlighted":n.gameStatus!==1,"is-text-accent":n.gameStatus===1})},(0,t.toDisplayString)(n.homeTeamScore)+`:`+(0,t.toDisplayString)(n.awayTeamScore),11,td))]),"cell-gameResultType":(0,t.withCtx)(({row:e})=>[e.isOvertime?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,nd,(0,t.toDisplayString)((0,t.unref)(c)(`common.overtimeShort`)),1)):(0,t.createCommentVNode)(``,!0),e.isShootout?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,rd,(0,t.toDisplayString)((0,t.unref)(c)(`common.shootoutShort`)),1)):(0,t.createCommentVNode)(``,!0),e.seriesStandings?((0,t.openBlock)(),(0,t.createElementBlock)(`span`,id,(0,t.toDisplayString)(e.seriesStandings),1)):(0,t.createCommentVNode)(``,!0)]),loading:(0,t.withCtx)(()=>[(0,t.createVNode)(iu)]),_:2},[e.isPlayerLinked?{name:`cell-name`,fn:(0,t.withCtx)(({row:n})=>[(0,t.createElementVNode)(`a`,{href:e.externalPlayerResolver(n),target:`_blank`},(0,t.toDisplayString)(n.name),9,$u)]),key:`0`}:void 0,n.$slots.caption?{name:`caption`,fn:(0,t.withCtx)(()=>[(0,t.renderSlot)(n.$slots,`caption`)]),key:`1`}:void 0]),1032,[`columns`,`sort`,`rows`,`is-loading`,`append-to`])]),_:3}))}},od={class:`timezone-selector`},sd=[`onClick`],cd={__name:`TimezoneSelector`,props:{locale:{type:String,default:`hu`},currentZone:{type:String,required:!0}},emits:[`change`],setup(e,{emit:n}){let r=e,i=n,{t:a}=H(),o=(0,t.computed)(()=>wi(new Date,null,r.locale)),s=Si(),c=(0,t.computed)(()=>Array.from(C.values(),e=>({...e,isActive:wi(new Date,r.currentZone,r.locale)===wi(new Date,e.timezone,r.locale),zoneOffsetName:wi(new Date,e.timezone,r.locale)}))),l=e=>i(`change`,e);return(e,n)=>((0,t.openBlock)(),(0,t.createElementBlock)(`div`,od,[(0,t.createVNode)((0,t.unref)(nr),{path:`common.selectTimezone`,tag:`span`},{timezone:(0,t.withCtx)(()=>[(0,t.createElementVNode)(`button`,{type:`button`,"data-variant":`link`,onClick:n[0]||=e=>l((0,t.unref)(s))},(0,t.toDisplayString)(o.value),1)]),_:1}),((0,t.openBlock)(!0),(0,t.createElementBlock)(t.Fragment,null,(0,t.renderList)(c.value,e=>((0,t.openBlock)(),(0,t.createElementBlock)(`button`,{key:e.countryLabelKey,type:`button`,"data-variant":`link`,class:(0,t.normalizeClass)({"is-active":e.isActive}),onClick:(0,t.withModifiers)(t=>l(e.timezone),[`prevent`])},(0,t.toDisplayString)((0,t.unref)(a)(`common.${e.countryLabelKey}`))+` (`+(0,t.toDisplayString)(e.zoneOffsetName)+`) `,11,sd))),128))]))}},ld={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:``}},ud={externalTeamResolver:{type:[String,Function],default:``},isTeamLinked:{type:Boolean,default:!1}},dd={limit:{type:Number,default:20},teamFilterByName:{type:String,default:``},externalPlayerResolver:{type:[String,Function],default:``},isPlayerLinked:{type:Boolean,default:!1}},fd={externalGameResolver:{type:[String,Function],default:``},isGameTargetExternal:{type:Boolean,default:!1}};function pd({app:e=null,modules:t=[],apiKey:n,gameResolver:r,teamResolver:i,playerResolver:a}){if(window.__MJSZ_VBR_WIDGET__={apiKey:n,gameResolver:r,teamResolver:i,playerResolver:a},t.length===0)throw Error(`At least one module must be set`);t.forEach(t=>{if(e)return e.use(t);if(t.register)return t.register();t?.install()})}return e.AVAILABLE_TIMEZONES_BY_COUNTRY=C,e.AdditionalStandingsText=la,e.BaseSelect=ua,e.COLUMNS_FIELD_PLAYERS=re,e.COLUMNS_FIELD_PLAYERS_PENALTY=ie,e.COLUMNS_FIELD_PLAYERS_TOI=ae,e.COLUMNS_GOALIES=oe,e.COLUMNS_PLAYERS_NATIONAL=se,e.COLUMNS_SCHEDULE=E,e.COLUMNS_SCORING_EFFICIENCY=fe,e.COLUMNS_STANDINGS_P_2=te,e.COLUMNS_STANDINGS_P_3=ee,e.COLUMNS_STANDINGS_P_PER=D,e.COLUMNS_STANDINGS_SHORT=ne,e.COLUMNS_TEAMS_FAIRPLAY=le,e.COLUMNS_TEAMS_PENALTY_KILLING=ue,e.COLUMNS_TEAMS_POWERPLAY=de,e.COLUMNS_TEAM_ATTENDANCE=ce,e.DEFAULT_EXTERNAL_GAME_URL=p,e.DEFAULT_EXTERNAL_PLAYER_URL=h,e.DEFAULT_EXTERNAL_STATISTIC_URL=_,e.DEFAULT_EXTERNAL_TEAM_URL=g,e.DEFAULT_PORTRAIT_IMAGE_URL=m,e.DataTable=Bl,e.ErrorNotice=Ul,e.ErrorProvider=Wl,e.FLAG_BASE_URL=v,e.FetchMoreObserver=Ce,e.FloatingPanel=jl,e.FormField=ql,e.I18NProvider=$l,e.Image=nu,e.InvalidSeasonName=Fs,e.LAZY_LOADING_STATE_DELAY=T,e.LOCALE_FOR_LANG=S,e.LoadingIndicator=iu,e.Paginator=pu,e.REFRESH_DELAY=w,e.ResponsiveTable=mu,e.SORT_STATE_ASCEND=x,e.SORT_STATE_DESCEND=b,e.SORT_STATE_ORIGINAL=y,e.ScheduleTable=Pu,e.SeasonSelector=Bu,e.StatisticsTable=ad,e.TimezoneSelector=cd,e.UndefinedColumn=Ps,e.VBR_API_BASE_URL=d,e.VBR_API_WEBSOCKET_BASE_URL=f,e.WidgetError=Ns,e.addDays=zi,e.appendTo=js,e.baseProps=ld,e.clone=Wt,e.convert=Oo,e.convertAddress=Es,e.convertGameEvents=fs,e.convertGameNames=Go,e.convertGameOfficials=vs,e.convertGamePeriodResults=Wo,e.convertMinToMinSec=Oi,e.convertMinToSec=Ei,e.convertPenaltyCauseName=ss,e.convertPeriodResults=cs,e.convertPeriodResultsToArray=ls,e.convertPhaseName=Zo,e.convertSeasons=$o,e.convertSecToMin=Di,e.convertTeams=es,e.convertTimes=Vo,e.convertTimesMinToMinSec=Ho,e.convertTimesSecToMin=Uo,e.cookie=As,e.createConfig=pd,e.createI18n=Zn,e.currentWeek=Ii,e.currentWeekStartEnd=Li,e.default={install:(e,t={})=>pd({app:e,...t})},e.endOfMonth=Vi,e.externalGameLinkResolver=Rs,e.externalPlayerLinkResolver=Bs,e.externalStatisticLinkResolver=Vs,e.externalTeamLinkResolver=zs,e.fetchVBRData=mr,e.filterAllowedClasses=lr,e.filterAndSortSections=ts,e.filterGoalScorersFromEvents=ms,e.flagResolver=Hs,e.format=Ci,e.gameDateTime=Mo,e.gameProps=fd,e.gameResult=No,e.getLocalTimezone=Si,e.getWebsocketURL=Is,e.groupLines=ps,e.head=Xt,e.i18n=nr,e.isAfter=Pi,e.isBefore=Ni,e.isBetween=Ai,e.isEmpty=yn,e.isNotEmpty=bn,e.isSame=ji,e.isSameOrBefore=ki,e.isToday=Fi,e.joinOfficals=ds,e.last=tn,e.localeSort=qo,e.map=F,e.max=Ui,e.mergeLeft=kn,e.mergePlayerStats=ws,e.min=Hi,e.offsetName=wi,e.omit=jn,e.path=R,e.pick=Fn,e.pickCoaches=hs,e.pipe=Jt,e.playerName=Ao,e.playerStatsProps=dd,e.prop=I,e.propEq=In,e.rawConvert=ko,e.reject=P,e.removeCurrentFromSeasonStats=bs,e.removeUnneededPhases=Ss,e.resolveApiKey=Us,e.reverse=Yt,e.scheduleOptionalRowClass=zo,e.scrollToTop=Ws,e.selectFirstPhaseName=rs,e.selectFirstSectionId=ns,e.selectLastSections=os,e.sortBy=z,e.sortByDomNode=Ms,e.sortByEventTimeSec=_s,e.sortByPhaseId=is,e.sortByStartingFive=us,e.sortGames=Ko,e.standingTableSort=ys,e.startOfMonth=Bi,e.subtractDays=Ri,e.sum=Tn,e.teamName=jo,e.teamOpponent=Po,e.teamResultType=Fo,e.teamStatsProps=ud,e.templateReplacer=U,e.toKebabCase=cr,e.transformCurrentSeasonStats=xs,e.transformEventsForGameTimeline=gs,e.transformFieledPlayersStats=Ts,e.transformPlayers=as,e.transformRosters=Cs,e.upperCase=Bo,e.useAdditionalText=qn,e.useColumns=rr,e.useError=fr,e.useErrorProvider=dr,e.useGameDataSocket=Qr,e.useI18n=H,e.useLazyLoadingState=$r,e.usePage=Wi,e.useScrollToGameDate=Ki,e.useServices=qi,e.useSort=oa,e.useVisibilityChange=sa,e.validateColumnsName=ir,e.yearToNow=Mi,e})({},Vue);
|