@mjsz-vbr-elements/core 2.1.0-beta.5 → 2.1.0-beta.50

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.
@@ -1,12 +1,12 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.1.0-beta.5 - 14/09/2023, 22:57:17
3
+ * version: v2.1.0-beta.50 - 17/11/2023, 17:31:48
4
4
  * (c) 2023
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
7
7
  */
8
- var MjszVbrElementsCore=function(S,o){"use strict";const ft=t=>({}.VITE_CSS_CLASS_PREFIX||"mjsz-vbr-")+t,dn={__name:"BaseSelect",props:{modelValue:{type:[String,Number],default:null}},emits:["update:modelValue"],setup(t,{emit:e}){const r=t,n=ft("base-input"),i=o.computed({get:()=>r.modelValue,set:a=>e("update:modelValue",a)});return(a,s)=>o.withDirectives((o.openBlock(),o.createElementBlock("select",{"onUpdate:modelValue":s[0]||(s[0]=l=>i.value=l),class:o.normalizeClass([o.unref(n),"is-select"])},[o.renderSlot(a.$slots,"default")],2)),[[o.vModelSelect,i.value]])}};function Ae(t){return o.getCurrentScope()?(o.onScopeDispose(t),!0):!1}function tt(t){return typeof t=="function"?t():o.unref(t)}const Ct=typeof window<"u",at=()=>{},pn=mn();function mn(){var t;return Ct&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function Qt(t,e=!1,r="Timeout"){return new Promise((n,i)=>{setTimeout(e?()=>i(r):n,t)})}function te(t,e=!1){function r(f,{flush:p="sync",deep:d=!1,timeout:g,throwOnTimeout:m}={}){let y=null;const T=[new Promise($=>{y=o.watch(t,D=>{f(D)!==e&&(y==null||y(),$(D))},{flush:p,deep:d,immediate:!0})})];return g!=null&&T.push(Qt(g,m).then(()=>tt(t)).finally(()=>y==null?void 0:y())),Promise.race(T)}function n(f,p){if(!o.isRef(f))return r(D=>D===f,p);const{flush:d="sync",deep:g=!1,timeout:m,throwOnTimeout:y}=p??{};let A=null;const $=[new Promise(D=>{A=o.watch([t,f],([x,I])=>{e!==(x===I)&&(A==null||A(),D(x))},{flush:d,deep:g,immediate:!0})})];return m!=null&&$.push(Qt(m,y).then(()=>tt(t)).finally(()=>(A==null||A(),tt(t)))),Promise.race($)}function i(f){return r(p=>!!p,f)}function a(f){return n(null,f)}function s(f){return n(void 0,f)}function l(f){return r(Number.isNaN,f)}function u(f,p){return r(d=>{const g=Array.from(d);return g.includes(f)||g.includes(tt(f))},p)}function c(f){return h(1,f)}function h(f=1,p){let d=-1;return r(()=>(d+=1,d>=f),p)}return Array.isArray(tt(t))?{toMatch:r,toContains:u,changed:c,changedTimes:h,get not(){return te(t,!e)}}:{toMatch:r,toBe:n,toBeTruthy:i,toBeNull:a,toBeNaN:l,toBeUndefined:s,changed:c,changedTimes:h,get not(){return te(t,!e)}}}function hn(t){return te(t)}function gn(t,e,r={}){const{immediate:n=!0}=r,i=o.ref(!1);let a=null;function s(){a&&(clearTimeout(a),a=null)}function l(){i.value=!1,s()}function u(...c){s(),i.value=!0,a=setTimeout(()=>{i.value=!1,a=null,t(...c)},tt(e))}return n&&(i.value=!0,Ct&&u()),Ae(l),{isPending:o.readonly(i),start:u,stop:l}}function yn(t,e,r){const n=o.watch(t,(...i)=>(o.nextTick(()=>n()),e(...i)),r)}function At(t){var e;const r=tt(t);return(e=r==null?void 0:r.$el)!=null?e:r}const Te=Ct?window:void 0,bn=Ct?window.document:void 0;function It(...t){let e,r,n,i;if(typeof t[0]=="string"||Array.isArray(t[0])?([r,n,i]=t,e=Te):[e,r,n,i]=t,!e)return at;Array.isArray(r)||(r=[r]),Array.isArray(n)||(n=[n]);const a=[],s=()=>{a.forEach(h=>h()),a.length=0},l=(h,f,p,d)=>(h.addEventListener(f,p,d),()=>h.removeEventListener(f,p,d)),u=o.watch(()=>[At(e),tt(i)],([h,f])=>{s(),h&&a.push(...r.flatMap(p=>n.map(d=>l(h,p,d,f))))},{immediate:!0,flush:"post"}),c=()=>{u(),s()};return Ae(c),c}let Pe=!1;function wn(t,e,r={}){const{window:n=Te,ignore:i=[],capture:a=!0,detectIframe:s=!1}=r;if(!n)return;pn&&!Pe&&(Pe=!0,Array.from(n.document.body.children).forEach(p=>p.addEventListener("click",at)));let l=!0;const u=p=>i.some(d=>{if(typeof d=="string")return Array.from(n.document.querySelectorAll(d)).some(g=>g===p.target||p.composedPath().includes(g));{const g=At(d);return g&&(p.target===g||p.composedPath().includes(g))}}),h=[It(n,"click",p=>{const d=At(t);if(!(!d||d===p.target||p.composedPath().includes(d))){if(p.detail===0&&(l=!u(p)),!l){l=!0;return}e(p)}},{passive:!0,capture:a}),It(n,"pointerdown",p=>{const d=At(t);d&&(l=!p.composedPath().includes(d)&&!u(p))},{passive:!0}),s&&It(n,"blur",p=>{var d;const g=At(t);((d=n.document.activeElement)==null?void 0:d.tagName)==="IFRAME"&&!(g!=null&&g.contains(n.document.activeElement))&&e(p)})].filter(Boolean);return()=>h.forEach(p=>p())}var vn=Object.defineProperty,Sn=Object.defineProperties,_n=Object.getOwnPropertyDescriptors,Oe=Object.getOwnPropertySymbols,An=Object.prototype.hasOwnProperty,Tn=Object.prototype.propertyIsEnumerable,$e=(t,e,r)=>e in t?vn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Pn=(t,e)=>{for(var r in e||(e={}))An.call(e,r)&&$e(t,r,e[r]);if(Oe)for(var r of Oe(e))Tn.call(e,r)&&$e(t,r,e[r]);return t},On=(t,e)=>Sn(t,_n(e));function Ee(t,e,r){const{immediate:n=!0,delay:i=0,onError:a=at,onSuccess:s=at,resetOnExecute:l=!0,shallow:u=!0,throwError:c}=r??{},h=u?o.shallowRef(e):o.ref(e),f=o.ref(!1),p=o.ref(!1),d=o.shallowRef(void 0);async function g(A=0,...T){l&&(h.value=e),d.value=void 0,f.value=!1,p.value=!0,A>0&&await Qt(A);const $=typeof t=="function"?t(...T):t;try{const D=await $;h.value=D,f.value=!0,s(D)}catch(D){if(d.value=D,a(D),c)throw D}finally{p.value=!1}return h.value}n&&g(i);const m={state:h,isReady:f,isLoading:p,error:d,execute:g};function y(){return new Promise((A,T)=>{hn(p).toBe(!1).then(()=>A(m)).catch(T)})}return On(Pn({},m),{then(A,T){return y().then(A,T)}})}function $n({document:t=bn}={}){if(!t)return o.ref("visible");const e=o.ref(t.visibilityState);return It(t,"visibilitychange",()=>{e.value=t.visibilityState}),e}var En=Object.defineProperty,ke=Object.getOwnPropertySymbols,kn=Object.prototype.hasOwnProperty,Ln=Object.prototype.propertyIsEnumerable,Le=(t,e,r)=>e in t?En(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,Dn=(t,e)=>{for(var r in e||(e={}))kn.call(e,r)&&Le(t,r,e[r]);if(ke)for(var r of ke(e))Ln.call(e,r)&&Le(t,r,e[r]);return t};async function xn(t){return new Promise((e,r)=>{const n=new Image,{src:i,srcset:a,sizes:s,class:l,loading:u,crossorigin:c}=t;n.src=i,a&&(n.srcset=a),s&&(n.sizes=s),l&&(n.className=l),u&&(n.loading=u),c&&(n.crossOrigin=c),n.onload=()=>e(n),n.onerror=r})}function Mn(t,e={}){const r=Ee(()=>xn(tt(t)),void 0,Dn({resetOnExecute:!0},e));return o.watch(()=>tt(t),()=>r.execute(e.delay),{deep:!0}),r}function De(t=[],e={}){const{delay:r=0}=e,n=o.ref(!1),i=o.computed(()=>{const l=o.unref(t);return Array.isArray(l)?l.map(u=>o.unref(u)).some(Boolean):l}),{start:a,stop:s}=gn(()=>{n.value=!0},r);return o.watch(i,l=>{if(l)return a();s(),n.value=!1},{immediate:!0,deep:!0}),n}function z(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function Y(t){return function e(r){return arguments.length===0||z(r)?e:t.apply(this,arguments)}}function R(t){return function e(r,n){switch(arguments.length){case 0:return e;case 1:return z(r)?e:Y(function(i){return t(r,i)});default:return z(r)&&z(n)?e:z(r)?Y(function(i){return t(i,n)}):z(n)?Y(function(i){return t(r,i)}):t(r,n)}}}function Bt(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(r){return e.apply(this,arguments)};case 2:return function(r,n){return e.apply(this,arguments)};case 3:return function(r,n,i){return e.apply(this,arguments)};case 4:return function(r,n,i,a){return e.apply(this,arguments)};case 5:return function(r,n,i,a,s){return e.apply(this,arguments)};case 6:return function(r,n,i,a,s,l){return e.apply(this,arguments)};case 7:return function(r,n,i,a,s,l,u){return e.apply(this,arguments)};case 8:return function(r,n,i,a,s,l,u,c){return e.apply(this,arguments)};case 9:return function(r,n,i,a,s,l,u,c,h){return e.apply(this,arguments)};case 10:return function(r,n,i,a,s,l,u,c,h,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 ee(t,e,r){return function(){for(var n=[],i=0,a=t,s=0;s<e.length||i<arguments.length;){var l;s<e.length&&(!z(e[s])||i>=arguments.length)?l=e[s]:(l=arguments[i],i+=1),n[s]=l,z(l)||(a-=1),s+=1}return a<=0?r.apply(this,n):Bt(a,ee(t,n,r))}}var zt=R(function(e,r){return e===1?Y(r):Bt(e,ee(e,[],r))});function rt(t){return function e(r,n,i){switch(arguments.length){case 0:return e;case 1:return z(r)?e:R(function(a,s){return t(r,a,s)});case 2:return z(r)&&z(n)?e:z(r)?R(function(a,s){return t(a,n,s)}):z(n)?R(function(a,s){return t(r,a,s)}):Y(function(a){return t(r,n,a)});default:return z(r)&&z(n)&&z(i)?e:z(r)&&z(n)?R(function(a,s){return t(a,s,i)}):z(r)&&z(i)?R(function(a,s){return t(a,n,s)}):z(n)&&z(i)?R(function(a,s){return t(r,a,s)}):z(r)?Y(function(a){return t(a,n,i)}):z(n)?Y(function(a){return t(r,a,i)}):z(i)?Y(function(a){return t(r,n,a)}):t(r,n,i)}}}const Rt=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function Nn(t){return t!=null&&typeof t["@@transducer/step"]=="function"}function Gt(t,e,r){return function(){if(arguments.length===0)return r();var n=arguments[arguments.length-1];if(!Rt(n)){for(var i=0;i<t.length;){if(typeof n[t[i]]=="function")return n[t[i]].apply(n,Array.prototype.slice.call(arguments,0,-1));i+=1}if(Nn(n)){var a=e.apply(null,Array.prototype.slice.call(arguments,0,-1));return a(n)}}return r.apply(this,arguments)}}function xe(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}const yt={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};function Me(t){for(var e=[],r;!(r=t.next()).done;)e.push(r.value);return e}function Ne(t,e,r){for(var n=0,i=r.length;n<i;){if(t(e,r[n]))return!0;n+=1}return!1}function Cn(t){var e=String(t).match(/^function (\w*)/);return e==null?"":e[1]}function et(t,e){return Object.prototype.hasOwnProperty.call(e,t)}function In(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}const re=typeof Object.is=="function"?Object.is:In;var Ce=Object.prototype.toString,Ie=function(){return Ce.call(arguments)==="[object Arguments]"?function(e){return Ce.call(e)==="[object Arguments]"}:function(e){return et("callee",e)}}(),Bn=!{toString:null}.propertyIsEnumerable("toString"),Be=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],ze=function(){return arguments.propertyIsEnumerable("length")}(),zn=function(e,r){for(var n=0;n<e.length;){if(e[n]===r)return!0;n+=1}return!1},dt=Y(typeof Object.keys=="function"&&!ze?function(e){return Object(e)!==e?[]:Object.keys(e)}:function(e){if(Object(e)!==e)return[];var r,n,i=[],a=ze&&Ie(e);for(r in e)et(r,e)&&(!a||r!=="length")&&(i[i.length]=r);if(Bn)for(n=Be.length-1;n>=0;)r=Be[n],et(r,e)&&!zn(i,r)&&(i[i.length]=r),n-=1;return i}),ne=Y(function(e){return e===null?"Null":e===void 0?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function Re(t,e,r,n){var i=Me(t),a=Me(e);function s(l,u){return oe(l,u,r.slice(),n.slice())}return!Ne(function(l,u){return!Ne(s,u,l)},a,i)}function oe(t,e,r,n){if(re(t,e))return!0;var i=ne(t);if(i!==ne(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(i){case"Arguments":case"Array":case"Object":if(typeof t.constructor=="function"&&Cn(t.constructor)==="Promise")return t===e;break;case"Boolean":case"Number":case"String":if(!(typeof t==typeof e&&re(t.valueOf(),e.valueOf())))return!1;break;case"Date":if(!re(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 a=r.length-1;a>=0;){if(r[a]===t)return n[a]===e;a-=1}switch(i){case"Map":return t.size!==e.size?!1:Re(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size!==e.size?!1:Re(t.values(),e.values(),r.concat([t]),n.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=dt(t);if(s.length!==dt(e).length)return!1;var l=r.concat([t]),u=n.concat([e]);for(a=s.length-1;a>=0;){var c=s[a];if(!(et(c,e)&&oe(e[c],t[c],l,u)))return!1;a-=1}return!0}var Vt=R(function(e,r){return oe(e,r,[],[])});function Rn(t,e,r){var n,i;if(typeof t.indexOf=="function")switch(typeof e){case"number":if(e===0){for(n=1/e;r<t.length;){if(i=t[r],i===0&&1/i===n)return r;r+=1}return-1}else if(e!==e){for(;r<t.length;){if(i=t[r],typeof i=="number"&&i!==i)return r;r+=1}return-1}return t.indexOf(e,r);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,r);case"object":if(e===null)return t.indexOf(e,r)}for(;r<t.length;){if(Vt(t[r],e))return r;r+=1}return-1}function Ge(t,e){return Rn(e,t,0)>=0}function jt(t,e){for(var r=0,n=e.length,i=Array(n);r<n;)i[r]=t(e[r]),r+=1;return i}function ae(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 Tt=function(e){return(e<10?"0":"")+e},Gn=typeof Date.prototype.toISOString=="function"?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Tt(e.getUTCMonth()+1)+"-"+Tt(e.getUTCDate())+"T"+Tt(e.getUTCHours())+":"+Tt(e.getUTCMinutes())+":"+Tt(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Vn(t){return function(){return!t.apply(this,arguments)}}function Ve(t,e,r){for(var n=0,i=r.length;n<i;)e=t(e,r[n]),n+=1;return e}function jn(t,e){for(var r=0,n=e.length,i=[];r<n;)t(e[r])&&(i[i.length]=e[r]),r+=1;return i}function Ft(t){return Object.prototype.toString.call(t)==="[object Object]"}var Fn=function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=yt.init,t.prototype["@@transducer/result"]=yt.result,t.prototype["@@transducer/step"]=function(e,r){return this.f(r)?this.xf["@@transducer/step"](e,r):e},t}();function Yn(t){return function(e){return new Fn(t,e)}}var je=R(Gt(["fantasy-land/filter","filter"],Yn,function(t,e){return Ft(e)?Ve(function(r,n){return t(e[n])&&(r[n]=e[n]),r},{},dt(e)):jn(t,e)})),Hn=R(function(e,r){return je(Vn(e),r)});function Fe(t,e){var r=function(s){var l=e.concat([t]);return Ge(s,l)?"<Circular>":Fe(s,l)},n=function(a,s){return jt(function(l){return ae(l)+": "+r(a[l])},s.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+jt(r,t).join(", ")+"))";case"[object Array]":return"["+jt(r,t).concat(n(t,Hn(function(a){return/^\d+$/.test(a)},dt(t)))).join(", ")+"]";case"[object Boolean]":return typeof t=="object"?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):ae(Gn(t)))+")";case"[object Map]":return"new Map("+r(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return typeof t=="object"?"new Number("+r(t.valueOf())+")":1/t===-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+r(Array.from(t).sort())+")";case"[object String]":return typeof t=="object"?"new String("+r(t.valueOf())+")":ae(t);case"[object Undefined]":return"undefined";default:if(typeof t.toString=="function"){var i=t.toString();if(i!=="[object Object]")return i}return"{"+n(t,dt(t)).join(", ")+"}"}}var ie=Y(function(e){return Fe(e,[])}),Un=R(function(e,r){if(e===r)return r;function n(u,c){if(u>c!=c>u)return c>u?c:u}var i=n(e,r);if(i!==void 0)return i;var a=n(typeof e,typeof r);if(a!==void 0)return a===typeof e?e:r;var s=ie(e),l=n(s,ie(r));return l!==void 0&&l===s?e:r}),Wn=function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=yt.init,t.prototype["@@transducer/result"]=yt.result,t.prototype["@@transducer/step"]=function(e,r){return this.xf["@@transducer/step"](e,this.f(r))},t}(),Kn=function(e){return function(r){return new Wn(e,r)}},qn=R(Gt(["fantasy-land/map","map"],Kn,function(e,r){switch(Object.prototype.toString.call(r)){case"[object Function]":return zt(r.length,function(){return e.call(this,r.apply(this,arguments))});case"[object Object]":return Ve(function(n,i){return n[i]=e(r[i]),n},{},dt(r));default:return jt(e,r)}}));const pt=qn,Ye=Number.isInteger||function(e){return e<<0===e};function Yt(t){return Object.prototype.toString.call(t)==="[object String]"}var He=R(function(e,r){var n=e<0?r.length+e:e;return Yt(r)?r.charAt(n):r[n]}),Zn=R(function(e,r){if(r!=null)return Ye(e)?He(e,r):r[e]});const bt=Zn;var Xn=R(function(e,r){return pt(bt(e),r)}),Jn=Y(function(e){return Rt(e)?!0:!e||typeof e!="object"||Yt(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),Ue=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function Qn(t,e,r){return function(i,a,s){if(Jn(s))return t(i,a,s);if(s==null)return a;if(typeof s["fantasy-land/reduce"]=="function")return e(i,a,s,"fantasy-land/reduce");if(s[Ue]!=null)return r(i,a,s[Ue]());if(typeof s.next=="function")return r(i,a,s);if(typeof s.reduce=="function")return e(i,a,s,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function to(t,e,r){for(var n=0,i=r.length;n<i;){if(e=t["@@transducer/step"](e,r[n]),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n+=1}return t["@@transducer/result"](e)}var eo=R(function(e,r){return Bt(e.length,function(){return e.apply(r,arguments)})});function ro(t,e,r){for(var n=r.next();!n.done;){if(e=t["@@transducer/step"](e,n.value),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n=r.next()}return t["@@transducer/result"](e)}function no(t,e,r,n){return t["@@transducer/result"](r[n](eo(t["@@transducer/step"],t),e))}var We=Qn(to,no,ro),oo=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,r){return this.f(e,r)},t}();function Ke(t){return new oo(t)}var ao=rt(function(t,e,r){return We(typeof t=="function"?Ke(t):t,e,r)});const qe=ao;var io=Y(function(e){return function(){return e}});const Ze=io;var so=Y(function(e){return zt(qe(Un,0,Xn("length",e)),function(){for(var r=0,n=e.length;r<n;){if(e[r].apply(this,arguments))return!0;r+=1}return!1})});const lo=so;var co=rt(function(e,r,n){var i=e(r),a=e(n);return i<a?-1:i>a?1:0});const Xe=co;function uo(t){var e=Object.prototype.toString.call(t);return e==="[object Function]"||e==="[object AsyncFunction]"||e==="[object GeneratorFunction]"||e==="[object AsyncGeneratorFunction]"}function fo(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 se(t,e,r){if(r||(r=new mo),po(t))return t;var n=function(a){var s=r.get(t);if(s)return s;r.set(t,a);for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(a[l]=e?se(t[l],!0,r):t[l]);return a};switch(ne(t)){case"Object":return n(Object.create(Object.getPrototypeOf(t)));case"Array":return n([]);case"Date":return new Date(t.valueOf());case"RegExp":return fo(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 po(t){var e=typeof t;return t==null||e!="object"&&e!="function"}var mo=function(){function t(){this.map={},this.length=0}return t.prototype.set=function(e,r){const n=this.hash(e);let i=this.map[n];i||(this.map[n]=i=[]),i.push([e,r]),this.length+=1},t.prototype.hash=function(e){let r=[];for(var n in e)r.push(Object.prototype.toString.call(e[n]));return r.join()},t.prototype.get=function(e){if(this.length<=180){for(const i in this.map){const a=this.map[i];for(let s=0;s<a.length;s+=1){const l=a[s];if(l[0]===e)return l[1]}}return}const r=this.hash(e),n=this.map[r];if(n)for(let i=0;i<n.length;i+=1){const a=n[i];if(a[0]===e)return a[1]}},t}();function ho(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function le(t,e){return function(){var r=arguments.length;if(r===0)return e();var n=arguments[r-1];return Rt(n)||typeof n[t]!="function"?e.apply(this,arguments):n[t].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}var go=rt(le("slice",function(e,r,n){return Array.prototype.slice.call(n,e,r)})),yo=Y(le("tail",go(1,1/0)));const bo=yo;function Je(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return Bt(arguments[0].length,qe(ho,arguments[0],bo(arguments)))}var wo=Y(function(e){return Yt(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()});const vo=wo;function Qe(){if(arguments.length===0)throw new Error("compose requires at least one argument");return Je.apply(this,vo(arguments))}var So=function(){function t(e,r,n,i){this.valueFn=e,this.valueAcc=r,this.keyFn=n,this.xf=i,this.inputs={}}return t.prototype["@@transducer/init"]=yt.init,t.prototype["@@transducer/result"]=function(e){var r;for(r in this.inputs)if(et(r,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[r]),e["@@transducer/reduced"])){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,r){var n=this.keyFn(r);return this.inputs[n]=this.inputs[n]||[n,se(this.valueAcc,!1)],this.inputs[n][1]=this.valueFn(this.inputs[n][1],r),e},t}();function _o(t,e,r){return function(n){return new So(t,e,r,n)}}var Ao=ee(4,[],Gt([],_o,function(e,r,n,i){var a=Ke(function(s,l){var u=n(l),c=e(et(u,s)?s[u]:se(r,!1),l);return c&&c["@@transducer/reduced"]?xe(s):(s[u]=c,s)});return We(a,{},i)})),To=rt(function(e,r,n){var i=e(r),a=e(n);return i>a?-1:i<a?1:0});const Po=To;function Oo(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 $o=Y(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():Rt(e)?[]:Yt(e)?"":Ft(e)?{}:Ie(e)?function(){return arguments}():Oo(e)?e.constructor.from(""):void 0}),Eo=function(){function t(e,r){this.xf=r,this.f=e,this.idx=-1,this.found=!1}return t.prototype["@@transducer/init"]=yt.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,r){return this.idx+=1,this.f(r)&&(this.found=!0,e=xe(this.xf["@@transducer/step"](e,this.idx))),e},t}();function ko(t){return function(e){return new Eo(t,e)}}var Lo=R(Gt([],ko,function(e,r){for(var n=0,i=r.length;n<i;){if(e(r[n]))return n;n+=1}return-1}));const Do=Lo;var xo=R(le("groupBy",Ao(function(t,e){return t.push(e),t},[])));const Mo=xo;var No=rt(function(e,r,n){return zt(Math.max(e.length,r.length,n.length),function(){return e.apply(this,arguments)?r.apply(this,arguments):n.apply(this,arguments)})});const Co=No;var Io=R(Ge);const Bo=Io;var zo=R(function(e,r){return zt(e+1,function(){var n=arguments[e];if(n!=null&&uo(n[r]))return n[r].apply(n,Array.prototype.slice.call(arguments,0,e));throw new TypeError(ie(n)+' does not have a method named "'+r+'"')})});const tr=zo;var Ro=Y(function(e){return e!=null&&Vt(e,$o(e))});const Go=Ro;var Vo=R(function(e,r){return e.map(function(n){for(var i=r,a=0,s;a<n.length;){if(i==null)return;s=n[a],i=Ye(s)?He(s,i):i[s],a+=1}return i})}),jo=R(function(e,r){return Vo([e],r)[0]});const Fo=jo;var Yo=rt(function(e,r,n){var i={},a;r=r||{},n=n||{};for(a in r)et(a,r)&&(i[a]=et(a,n)?e(a,r[a],n[a]):r[a]);for(a in n)et(a,n)&&!et(a,i)&&(i[a]=n[a]);return i}),Ho=rt(function t(e,r,n){return Yo(function(i,a,s){return Ft(a)&&Ft(s)?t(e,a,s):e(i,a,s)},r,n)}),Uo=R(function(e,r){return Ho(function(n,i,a){return a},e,r)});const Wo=Uo;var Ko=R(function(e,r){for(var n={},i={},a=0,s=e.length;a<s;)i[e[a]]=1,a+=1;for(var l in r)i.hasOwnProperty(l)||(n[l]=r[l]);return n});const qo=Ko;var Zo=rt(function(e,r,n){return Vt(e,bt(r,n))});const Xo=Zo;var Jo=rt(function(e,r,n){return e(bt(r,n))});const Qo=Jo;var ta=R(function(e,r){return Array.prototype.slice.call(r,0).sort(function(n,i){for(var a=0,s=0;a===0&&s<e.length;)a=e[s](n,i),s+=1;return a})});const er=ta;var ea=tr(1,"split");const Pt=ea;var ra=tr(0,"toLowerCase");const na=ra;var Ot=`
9
- \v\f\r                 \u2028\u2029\uFEFF`,oa="​",aa=typeof String.prototype.trim=="function",ia=Y(!aa||Ot.trim()||!oa.trim()?function(e){var r=new RegExp("^["+Ot+"]["+Ot+"]*"),n=new RegExp("["+Ot+"]["+Ot+"]*$");return e.replace(r,"").replace(n,"")}:function(e){return e.trim()});const Ht=ia,rr=Symbol("I18nContext"),K=o.reactive({messages:{},locale:"",fallbackLocale:""}),nr=({messages:t={},locale:e="",fallbackLocale:r=""})=>{K.messages=t,K.locale=e,K.fallbackLocale=r;const n=(u,c={})=>{const h=!Go(c),f=pt(Ht,Pt(".",u));return o.computed(()=>{const d=or(f);return h?la(d,c):d}).value},i=u=>{const c=pt(Ht,Pt(".",u));return!!ce(K.locale,c,K.messages)},a=u=>{K.locale=u},l={locale:o.computed({get(){return K.locale},set(u){K.locale=u}}),setLocale:a,translate:n,hasTranlation:i};return o.provide(rr,l),{translate:n}},wt=t=>{t&&(K.messages=t.messages,K.locale=t.locale,K.fallbackLocale=t.fallbackLocale);const e=sa();return{locale:e.locale,t:e.translate,setLocale:e.setLocale,hasTranlation:e.hasTranlation}},sa=()=>{const t=o.inject(rr,null);if(t===null)throw new Error("Privider is missing a parent component.");return t},or=(t=[])=>{let e=ce(K.locale,t,K.messages);return!e&&K.fallbackLocale&&(e=ce(K.fallbackLocale,t,K.messages)),e||t.join(".")};function ce(t,e,r){return Fo([t,...e],r)}const la=function(t,e){return t.replace(/\{(\w+)\}/g,function(r,n){return e[n]})},ar=o.defineComponent({props:{tag:{type:String,default:"div"},path:{type:String,defult:""}},setup(t,{slots:e}){const r=pt(Ht,Pt(".",t.path)),n=or(r),i=Pt(/{|}/,n),a=Object.keys(e).map(s=>{const l=i.indexOf(s);return l>-1&&(i[l]=e[s]()[0]),i});return()=>o.h(t.tag,a)}}),ir="http://localhost:3333/vbr",sr="https://www.jegkorongszovetseg.hu/event/game/",lr="https://jegkorongszovetseg.hu/assets/images/player_blank.png",cr="https://www.ersteliga.hu/stats/players#/player/",ur="https://www.ersteliga.hu/stats/teams#/team/3314/21096?name=",nt="original",b="descend",C="ascend",fr=new Map().set("hu","hu-hu").set("en","hu-gb"),dr=new Map().set("Europe/Budapest",{countryLabelKey:"hungary",timezone:"Europe/Budapest"}).set("Europe/Bucharest",{countryLabelKey:"romania",timezone:"Europe/Bucharest"}),ca="/v1/playersGoaliePeriod",ua="/v1/playersGoalieUnderPeriod",fa=1e3*60*5,pr=1e3,da={"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"},pa=o.createElementVNode("path",{fill:"currentColor",d:"M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z"},null,-1),ma=[pa];function ha(t,e){return o.openBlock(),o.createElementBlock("svg",da,ma)}const mr={render:ha},ga={"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"},ya=o.createElementVNode("path",{fill:"currentColor",d:"M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z"},null,-1),ba=[ya];function wa(t,e){return o.openBlock(),o.createElementBlock("svg",ga,ba)}const hr={render:wa};function $t(t){return t.split("-")[1]}function ue(t){return t==="y"?"height":"width"}function mt(t){return t.split("-")[0]}function Et(t){return["top","bottom"].includes(mt(t))?"x":"y"}function gr(t,e,r){let{reference:n,floating:i}=t;const a=n.x+n.width/2-i.width/2,s=n.y+n.height/2-i.height/2,l=Et(e),u=ue(l),c=n[u]/2-i[u]/2,h=l==="x";let f;switch(mt(e)){case"top":f={x:a,y:n.y-i.height};break;case"bottom":f={x:a,y:n.y+n.height};break;case"right":f={x:n.x+n.width,y:s};break;case"left":f={x:n.x-i.width,y:s};break;default:f={x:n.x,y:n.y}}switch($t(e)){case"start":f[l]-=c*(r&&h?-1:1);break;case"end":f[l]+=c*(r&&h?-1:1)}return f}const va=async(t,e,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:a=[],platform:s}=r,l=a.filter(Boolean),u=await(s.isRTL==null?void 0:s.isRTL(e));let c=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:h,y:f}=gr(c,n,u),p=n,d={},g=0;for(let m=0;m<l.length;m++){const{name:y,fn:A}=l[m],{x:T,y:$,data:D,reset:x}=await A({x:h,y:f,initialPlacement:n,placement:p,strategy:i,middlewareData:d,rects:c,platform:s,elements:{reference:t,floating:e}});h=T??h,f=$??f,d={...d,[y]:{...d[y],...D}},x&&g<=50&&(g++,typeof x=="object"&&(x.placement&&(p=x.placement),x.rects&&(c=x.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):x.rects),{x:h,y:f}=gr(c,p,u)),m=-1)}return{x:h,y:f,placement:p,strategy:i,middlewareData:d}};function yr(t){return typeof t!="number"?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(t):{top:t,right:t,bottom:t,left:t}}function Ut(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function br(t,e){var r;e===void 0&&(e={});const{x:n,y:i,platform:a,rects:s,elements:l,strategy:u}=t,{boundary:c="clippingAncestors",rootBoundary:h="viewport",elementContext:f="floating",altBoundary:p=!1,padding:d=0}=e,g=yr(d),m=l[p?f==="floating"?"reference":"floating":f],y=Ut(await a.getClippingRect({element:(r=await(a.isElement==null?void 0:a.isElement(m)))==null||r?m:m.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:c,rootBoundary:h,strategy:u})),A=f==="floating"?{...s.floating,x:n,y:i}:s.reference,T=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),$=await(a.isElement==null?void 0:a.isElement(T))&&await(a.getScale==null?void 0:a.getScale(T))||{x:1,y:1},D=Ut(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:A,offsetParent:T,strategy:u}):A);return{top:(y.top-D.top+g.top)/$.y,bottom:(D.bottom-y.bottom+g.bottom)/$.y,left:(y.left-D.left+g.left)/$.x,right:(D.right-y.right+g.right)/$.x}}const Sa=Math.min,_a=Math.max;function fe(t,e,r){return _a(t,Sa(e,r))}const wr=t=>({name:"arrow",options:t,async fn(e){const{element:r,padding:n=0}=t||{},{x:i,y:a,placement:s,rects:l,platform:u,elements:c}=e;if(r==null)return{};const h=yr(n),f={x:i,y:a},p=Et(s),d=ue(p),g=await u.getDimensions(r),m=p==="y",y=m?"top":"left",A=m?"bottom":"right",T=m?"clientHeight":"clientWidth",$=l.reference[d]+l.reference[p]-f[p]-l.floating[d],D=f[p]-l.reference[p],x=await(u.getOffsetParent==null?void 0:u.getOffsetParent(r));let I=x?x[T]:0;I&&await(u.isElement==null?void 0:u.isElement(x))||(I=c.floating[T]||l.floating[d]);const G=$/2-D/2,F=h[y],M=I-g[d]-h[A],k=I/2-g[d]/2+G,B=fe(F,k,M),H=$t(s)!=null&&k!=B&&l.reference[d]/2-(k<F?h[y]:h[A])-g[d]/2<0;return{[p]:f[p]-(H?k<F?F-k:M-k:0),data:{[p]:B,centerOffset:k-B}}}});["top","right","bottom","left"].reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]);const Aa={left:"right",right:"left",bottom:"top",top:"bottom"};function Wt(t){return t.replace(/left|right|bottom|top/g,e=>Aa[e])}function Ta(t,e,r){r===void 0&&(r=!1);const n=$t(t),i=Et(t),a=ue(i);let s=i==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(s=Wt(s)),{main:s,cross:Wt(s)}}const Pa={start:"end",end:"start"};function de(t){return t.replace(/start|end/g,e=>Pa[e])}const Oa=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r;const{placement:n,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:u}=e,{mainAxis:c=!0,crossAxis:h=!0,fallbackPlacements:f,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:d="none",flipAlignment:g=!0,...m}=t,y=mt(n),A=mt(s)===s,T=await(l.isRTL==null?void 0:l.isRTL(u.floating)),$=f||(A||!g?[Wt(s)]:function(B){const H=Wt(B);return[de(B),H,de(H)]}(s));f||d==="none"||$.push(...function(B,H,O,_){const v=$t(B);let P=function(w,E,L){const N=["left","right"],j=["right","left"],V=["top","bottom"],U=["bottom","top"];switch(w){case"top":case"bottom":return L?E?j:N:E?N:j;case"left":case"right":return E?V:U;default:return[]}}(mt(B),O==="start",_);return v&&(P=P.map(w=>w+"-"+v),H&&(P=P.concat(P.map(de)))),P}(s,g,d,T));const D=[s,...$],x=await br(e,m),I=[];let G=((r=i.flip)==null?void 0:r.overflows)||[];if(c&&I.push(x[y]),h){const{main:B,cross:H}=Ta(n,a,T);I.push(x[B],x[H])}if(G=[...G,{placement:n,overflows:I}],!I.every(B=>B<=0)){var F,M;const B=(((F=i.flip)==null?void 0:F.index)||0)+1,H=D[B];if(H)return{data:{index:B,overflows:G},reset:{placement:H}};let O=(M=G.filter(_=>_.overflows[0]<=0).sort((_,v)=>_.overflows[1]-v.overflows[1])[0])==null?void 0:M.placement;if(!O)switch(p){case"bestFit":{var k;const _=(k=G.map(v=>[v.placement,v.overflows.filter(P=>P>0).reduce((P,w)=>P+w,0)]).sort((v,P)=>v[1]-P[1])[0])==null?void 0:k[0];_&&(O=_);break}case"initialPlacement":O=s}if(n!==O)return{reset:{placement:O}}}return{}}}},$a=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){const{x:r,y:n}=e,i=await async function(a,s){const{placement:l,platform:u,elements:c}=a,h=await(u.isRTL==null?void 0:u.isRTL(c.floating)),f=mt(l),p=$t(l),d=Et(l)==="x",g=["left","top"].includes(f)?-1:1,m=h&&d?-1:1,y=typeof s=="function"?s(a):s;let{mainAxis:A,crossAxis:T,alignmentAxis:$}=typeof y=="number"?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...y};return p&&typeof $=="number"&&(T=p==="end"?-1*$:$),d?{x:T*m,y:A*g}:{x:A*g,y:T*m}}(e,t);return{x:r+i.x,y:n+i.y,data:i}}}};function Ea(t){return t==="x"?"y":"x"}const ka=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:r,y:n,placement:i}=e,{mainAxis:a=!0,crossAxis:s=!1,limiter:l={fn:y=>{let{x:A,y:T}=y;return{x:A,y:T}}},...u}=t,c={x:r,y:n},h=await br(e,u),f=Et(mt(i)),p=Ea(f);let d=c[f],g=c[p];if(a){const y=f==="y"?"bottom":"right";d=fe(d+h[f==="y"?"top":"left"],d,d-h[y])}if(s){const y=p==="y"?"bottom":"right";g=fe(g+h[p==="y"?"top":"left"],g,g-h[y])}const m=l.fn({...e,[f]:d,[p]:g});return{...m,data:{x:m.x-r,y:m.y-n}}}}};function X(t){var e;return((e=t.ownerDocument)==null?void 0:e.defaultView)||window}function J(t){return X(t).getComputedStyle(t)}function vr(t){return t instanceof X(t).Node}function it(t){return vr(t)?(t.nodeName||"").toLowerCase():""}function Q(t){return t instanceof X(t).HTMLElement}function Z(t){return t instanceof X(t).Element}function Sr(t){return typeof ShadowRoot>"u"?!1:t instanceof X(t).ShadowRoot||t instanceof ShadowRoot}function kt(t){const{overflow:e,overflowX:r,overflowY:n,display:i}=J(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function La(t){return["table","td","th"].includes(it(t))}function pe(t){const e=me(),r=J(t);return r.transform!=="none"||r.perspective!=="none"||!e&&!!r.backdropFilter&&r.backdropFilter!=="none"||!e&&!!r.filter&&r.filter!=="none"||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function me(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Kt(t){return["html","body","#document"].includes(it(t))}const _r=Math.min,Lt=Math.max,qt=Math.round;function Ar(t){const e=J(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=Q(t),a=i?t.offsetWidth:r,s=i?t.offsetHeight:n,l=qt(r)!==a||qt(n)!==s;return l&&(r=a,n=s),{width:r,height:n,fallback:l}}function Tr(t){return Z(t)?t:t.contextElement}const Pr={x:1,y:1};function vt(t){const e=Tr(t);if(!Q(e))return Pr;const r=e.getBoundingClientRect(),{width:n,height:i,fallback:a}=Ar(e);let s=(a?qt(r.width):r.width)/n,l=(a?qt(r.height):r.height)/i;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}const Or={x:0,y:0};function $r(t,e,r){var n,i;if(e===void 0&&(e=!0),!me())return Or;const a=t?X(t):window;return!r||e&&r!==a?Or:{x:((n=a.visualViewport)==null?void 0:n.offsetLeft)||0,y:((i=a.visualViewport)==null?void 0:i.offsetTop)||0}}function ht(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const i=t.getBoundingClientRect(),a=Tr(t);let s=Pr;e&&(n?Z(n)&&(s=vt(n)):s=vt(t));const l=$r(a,r,n);let u=(i.left+l.x)/s.x,c=(i.top+l.y)/s.y,h=i.width/s.x,f=i.height/s.y;if(a){const p=X(a),d=n&&Z(n)?X(n):n;let g=p.frameElement;for(;g&&n&&d!==p;){const m=vt(g),y=g.getBoundingClientRect(),A=getComputedStyle(g);y.x+=(g.clientLeft+parseFloat(A.paddingLeft))*m.x,y.y+=(g.clientTop+parseFloat(A.paddingTop))*m.y,u*=m.x,c*=m.y,h*=m.x,f*=m.y,u+=y.x,c+=y.y,g=X(g).frameElement}}return Ut({width:h,height:f,x:u,y:c})}function st(t){return((vr(t)?t.ownerDocument:t.document)||window.document).documentElement}function Zt(t){return Z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Er(t){return ht(st(t)).left+Zt(t).scrollLeft}function St(t){if(it(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Sr(t)&&t.host||st(t);return Sr(e)?e.host:e}function kr(t){const e=St(t);return Kt(e)?e.ownerDocument.body:Q(e)&&kt(e)?e:kr(e)}function Dt(t,e){var r;e===void 0&&(e=[]);const n=kr(t),i=n===((r=t.ownerDocument)==null?void 0:r.body),a=X(n);return i?e.concat(a,a.visualViewport||[],kt(n)?n:[]):e.concat(n,Dt(n))}function Lr(t,e,r){let n;if(e==="viewport")n=function(i,a){const s=X(i),l=st(i),u=s.visualViewport;let c=l.clientWidth,h=l.clientHeight,f=0,p=0;if(u){c=u.width,h=u.height;const d=me();(!d||d&&a==="fixed")&&(f=u.offsetLeft,p=u.offsetTop)}return{width:c,height:h,x:f,y:p}}(t,r);else if(e==="document")n=function(i){const a=st(i),s=Zt(i),l=i.ownerDocument.body,u=Lt(a.scrollWidth,a.clientWidth,l.scrollWidth,l.clientWidth),c=Lt(a.scrollHeight,a.clientHeight,l.scrollHeight,l.clientHeight);let h=-s.scrollLeft+Er(i);const f=-s.scrollTop;return J(l).direction==="rtl"&&(h+=Lt(a.clientWidth,l.clientWidth)-u),{width:u,height:c,x:h,y:f}}(st(t));else if(Z(e))n=function(i,a){const s=ht(i,!0,a==="fixed"),l=s.top+i.clientTop,u=s.left+i.clientLeft,c=Q(i)?vt(i):{x:1,y:1};return{width:i.clientWidth*c.x,height:i.clientHeight*c.y,x:u*c.x,y:l*c.y}}(e,r);else{const i=$r(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return Ut(n)}function Dr(t,e){const r=St(t);return!(r===e||!Z(r)||Kt(r))&&(J(r).position==="fixed"||Dr(r,e))}function xr(t,e){return Q(t)&&J(t).position!=="fixed"?e?e(t):t.offsetParent:null}function Mr(t,e){const r=X(t);if(!Q(t))return r;let n=xr(t,e);for(;n&&La(n)&&J(n).position==="static";)n=xr(n,e);return n&&(it(n)==="html"||it(n)==="body"&&J(n).position==="static"&&!pe(n))?r:n||function(i){let a=St(i);for(;Q(a)&&!Kt(a);){if(pe(a))return a;a=St(a)}return null}(t)||r}function Da(t,e,r){const n=Q(e),i=st(e),a=r==="fixed",s=ht(t,!0,a,e);let l={scrollLeft:0,scrollTop:0};const u={x:0,y:0};if(n||!n&&!a)if((it(e)!=="body"||kt(i))&&(l=Zt(e)),Q(e)){const c=ht(e,!0,a,e);u.x=c.x+e.clientLeft,u.y=c.y+e.clientTop}else i&&(u.x=Er(i));return{x:s.left+l.scrollLeft-u.x,y:s.top+l.scrollTop-u.y,width:s.width,height:s.height}}const xa={getClippingRect:function(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t;const a=r==="clippingAncestors"?function(c,h){const f=h.get(c);if(f)return f;let p=Dt(c).filter(y=>Z(y)&&it(y)!=="body"),d=null;const g=J(c).position==="fixed";let m=g?St(c):c;for(;Z(m)&&!Kt(m);){const y=J(m),A=pe(m);A||y.position!=="fixed"||(d=null),(g?!A&&!d:!A&&y.position==="static"&&d&&["absolute","fixed"].includes(d.position)||kt(m)&&!A&&Dr(c,m))?p=p.filter(T=>T!==m):d=y,m=St(m)}return h.set(c,p),p}(e,this._c):[].concat(r),s=[...a,n],l=s[0],u=s.reduce((c,h)=>{const f=Lr(e,h,i);return c.top=Lt(f.top,c.top),c.right=_r(f.right,c.right),c.bottom=_r(f.bottom,c.bottom),c.left=Lt(f.left,c.left),c},Lr(e,l,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:r,strategy:n}=t;const i=Q(r),a=st(r);if(r===a)return e;let s={scrollLeft:0,scrollTop:0},l={x:1,y:1};const u={x:0,y:0};if((i||!i&&n!=="fixed")&&((it(r)!=="body"||kt(a))&&(s=Zt(r)),Q(r))){const c=ht(r);l=vt(r),u.x=c.x+r.clientLeft,u.y=c.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+u.x,y:e.y*l.y-s.scrollTop*l.y+u.y}},isElement:Z,getDimensions:function(t){return Ar(t)},getOffsetParent:Mr,getDocumentElement:st,getScale:vt,async getElementRects(t){let{reference:e,floating:r,strategy:n}=t;const i=this.getOffsetParent||Mr,a=this.getDimensions;return{reference:Da(e,await i(r),n),floating:{x:0,y:0,...await a(r)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>J(t).direction==="rtl"};function Ma(t,e,r,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:a=!0,elementResize:s=!0,animationFrame:l=!1}=n,u=i||a?[...Z(t)?Dt(t):t.contextElement?Dt(t.contextElement):[],...Dt(e)]:[];u.forEach(p=>{const d=!Z(p)&&p.toString().includes("V");!i||l&&!d||p.addEventListener("scroll",r,{passive:!0}),a&&p.addEventListener("resize",r)});let c,h=null;s&&(h=new ResizeObserver(()=>{r()}),Z(t)&&!l&&h.observe(t),Z(t)||!t.contextElement||l||h.observe(t.contextElement),h.observe(e));let f=l?ht(t):null;return l&&function p(){const d=ht(t);!f||d.x===f.x&&d.y===f.y&&d.width===f.width&&d.height===f.height||r(),f=d,c=requestAnimationFrame(p)}(),r(),()=>{var p;u.forEach(d=>{i&&d.removeEventListener("scroll",r),a&&d.removeEventListener("resize",r)}),(p=h)==null||p.disconnect(),h=null,l&&cancelAnimationFrame(c)}}const Na=(t,e,r)=>{const n=new Map,i={platform:xa,...r},a={...i.platform,_c:n};return va(t,e,{...i,platform:a})},Nr=(t,e="body")=>{if(!t)return;if(typeof e!="string"){e==null||e.append(t);return}const r=document.querySelector(e);r==null||r.append(t)};function Ca({middleware:t,placement:e=null,strategy:r,append:n,enabled:i}){const a=o.ref(null),s=o.ref(null),l=o.ref(null),u=o.ref(null),c=o.ref(null),h=o.ref(null),f=o.ref(null),p=o.ref(r??"absolute"),d=o.ref(null),g=()=>{!a.value||!s.value||Na(a.value,s.value,{middleware:t,placement:e,strategy:r}).then(y=>{l.value=y.x,u.value=y.y,p.value=y.strategy,c.value=y.middlewareData.arrow.x,h.value=y.middlewareData.arrow.y,f.value=y.placement})};o.watch(()=>({reference:o.unref(a),floating:o.unref(s),append:o.unref(n)}),({floating:y,append:A})=>{A&&Nr(y,A),g()},{flush:"post"}),o.watch(i,y=>{if(!(!a.value||!s.value)){if(!y)return m();d.value=Ma(a.value,s.value,g,{})}},{flush:"post"});const m=()=>{var y;(y=d.value)==null||y.call(d),d.value=null};return{x:l,y:u,arrowX:c,arrowY:h,placement:f,reference:a,floating:s,strategy:p,update:g}}const Ia=t=>{const{element:e,padding:r}=t;return{name:"arrow",options:t,fn(n){return o.isRef(e)?e.value!=null?wr({element:e.value,padding:r}).fn(n):{}:e?wr({element:e,padding:r}).fn(n):{}}}},Ba=["data-placement"],Cr={__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}},setup(t){const e=t,r=o.ref(!1),n=o.ref(null),{x:i,y:a,arrowX:s,arrowY:l,placement:u,reference:c,floating:h,strategy:f}=Ca({placement:e.placement,middleware:[Oa(),ka({padding:5}),$a(e.offset),Ia({element:n,padding:5})],append:o.computed(()=>e.appendTo),enabled:r}),p=()=>{e.disabled||(r.value=!0)},d=()=>{r.value=!1},g=m=>{c.value=m};return wn(h,m=>{var y;(y=c.value)!=null&&y.contains(m.target)||d()}),(m,y)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.renderSlot(m.$slots,"default",{setRef:g,show:p,hide:d}),o.createElementVNode("div",{ref_key:"floating",ref:h,"data-placement":o.unref(u),style:o.normalizeStyle({position:o.unref(f),top:o.unref(a)?`${o.unref(a)}px`:"",left:o.unref(i)?`${o.unref(i)}px`:""})},[o.createVNode(o.Transition,{name:"transition-fade",mode:"out-in"},{default:o.withCtx(()=>[r.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["floating-content",[`is-${e.theme}`]])},[o.renderSlot(m.$slots,"content",{close:d},()=>[o.createTextVNode(o.toDisplayString(t.content),1)]),o.createElementVNode("div",{ref_key:"arrowRef",ref:n,class:"is-arrow",style:o.normalizeStyle({position:o.unref(f),top:o.unref(l)?`${o.unref(l)}px`:"",left:o.unref(s)?`${o.unref(s)}px`:""})},null,4)],2)):o.createCommentVNode("",!0)]),_:3})],12,Ba)],64))}},za=["onMouseenter","onMouseleave","onFocus","onBlur","onClick","onKeydown","tabindex"],Ra={key:0},Ga=["colspan"],Va={key:1},ja=["colspan"],Ir={__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 r=t,{isLoading:n,appendTo:i}=o.toRefs(r),a=De(n,{delay:pr}),{t:s}=wt(),l=ft("table"),u=o.computed(()=>r.columns),c=o.computed(()=>Object.keys(r.columns).length),h=(f,p)=>{f.sortOrders&&e("sort",{target:p,orders:f.sortOrders})};return(f,p)=>(o.openBlock(),o.createElementBlock("table",{class:o.normalizeClass(o.unref(l))},[o.createElementVNode("thead",null,[o.createElementVNode("tr",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u.value,(d,g)=>(o.openBlock(),o.createBlock(Cr,{key:g,placement:"top",content:d.tooltip,disabled:!d.tooltip,"append-to":o.unref(i)},{default:o.withCtx(({setRef:m,show:y,hide:A})=>[o.createElementVNode("th",{ref_for:!0,ref:m,class:o.normalizeClass([[d.class],{"is-active":g===t.sort.sortTarget&&t.sort.orders[0].direction!==o.unref(nt),"is-sortable":d.sortOrders,"is-desc":g===t.sort.sortTarget&&t.sort.orders[0].direction===o.unref(b),"is-asc":g===t.sort.sortTarget&&t.sort.orders[0].direction===o.unref(C)}]),onMouseenter:y,onMouseleave:A,onFocus:y,onBlur:A,onClick:T=>h(d,g),onKeydown:[o.withKeys(o.withModifiers(T=>h(d,g),["prevent"]),["space"]),o.withKeys(o.withModifiers(T=>h(d,g),["prevent"]),["enter"])],tabindex:d.sortOrders?0:-1,role:"button"},[o.renderSlot(f.$slots,`header-${g}`,{column:d},()=>[o.createTextVNode(o.toDisplayString(d.label),1)]),d.sortOrders&&g!==t.sort.sortTarget?(o.openBlock(),o.createBlock(o.unref(mr),{key:0,class:"is-icon-sort"})):o.createCommentVNode("",!0),g===t.sort.sortTarget&&t.sort.orders[0].direction===o.unref(nt)?(o.openBlock(),o.createBlock(o.unref(mr),{key:1,class:"is-icon-sort"})):o.createCommentVNode("",!0),g===t.sort.sortTarget&&t.sort.orders[0].direction===o.unref(b)?(o.openBlock(),o.createBlock(o.unref(hr),{key:2,class:"is-icon-sort"})):o.createCommentVNode("",!0),g===t.sort.sortTarget&&t.sort.orders[0].direction===o.unref(C)?(o.openBlock(),o.createBlock(o.unref(hr),{key:3,class:"is-icon-sort"})):o.createCommentVNode("",!0)],42,za)]),_:2},1032,["content","disabled","append-to"]))),128))])]),o.createElementVNode("tbody",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(r.rows,(d,g)=>(o.openBlock(),o.createElementBlock("tr",{key:g},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(u.value,(m,y)=>(o.openBlock(),o.createElementBlock("td",{key:y,class:o.normalizeClass([[m.class],{"is-active":y===t.sort.sortTarget&&t.sort.orders[0].direction!==o.unref(nt)}])},[o.renderSlot(f.$slots,`cell-${y}`,{row:d,prop:y},()=>[o.createTextVNode(o.toDisplayString(d[y]),1)])],2))),128))]))),128))]),o.unref(a)&&t.rows.length===0?(o.openBlock(),o.createElementBlock("tfoot",Ra,[o.createElementVNode("tr",null,[o.createElementVNode("td",{colspan:c.value},[o.renderSlot(f.$slots,"loading",{},()=>[o.createTextVNode(o.toDisplayString(o.unref(s)("common.loading")),1)])],8,Ga)])])):o.createCommentVNode("",!0),t.rows.length===0&&!o.unref(n)&&!o.unref(a)?(o.openBlock(),o.createElementBlock("tfoot",Va,[o.createElementVNode("tr",null,[o.createElementVNode("td",{colspan:c.value},[o.renderSlot(f.$slots,"empty",{},()=>[o.createTextVNode(o.toDisplayString(o.unref(s)("common.noData")),1)])],8,ja)])])):o.createCommentVNode("",!0)],2))}},Fa={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"},Ya=o.createElementVNode("path",{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"},null,-1),Ha=o.createElementVNode("line",{x1:"12",y1:"9",x2:"12",y2:"13"},null,-1),Ua=o.createElementVNode("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"},null,-1),Wa=[Ya,Ha,Ua];function Ka(t,e){return o.openBlock(),o.createElementBlock("svg",Fa,Wa)}const qa={render:Ka},Za={__name:"ErrorNotice",props:{error:{type:Object,default:()=>({})}},setup(t){const e=t,{t:r,hasTranlation:n}=wt(),i=ft("error-notice"),a=o.computed(()=>{var s;return n(`errors.${e.error.key}`)?r(`errors.${e.error.key}`,e.error.cause):(s=e.error)==null?void 0:s.message});return(s,l)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(o.unref(i))},[o.createVNode(o.unref(qa),{class:"icon",width:"20",height:"20"}),o.createElementVNode("span",null,o.toDisplayString(a.value),1)],2))}};function Br(t){return t&&t.match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g).map(e=>e.toLowerCase()).join("-")}function he(t,e,r){return(new Array(r+1).join(e)+t).slice(-r)}const zr=Symbol("ErrorProviderContext"),Rr=()=>{const t=o.ref(""),e=o.ref({}),r=a=>{console.log({error:a}),t.value=a.message||a.error.message,e.value={message:a.message,key:a.key||Br(a.message),cause:a.cause}},i={onError:r,reset:()=>{t.value="",e.value={}}};return o.provide(zr,i),window.onerror=a=>{console.log("WINDOW_ONERROR:",a)},o.onErrorCaptured((a,s,l)=>{console.log("onErrorCaptured:",a,s,l)}),{hasError:o.computed(()=>t.value.length>0),message:t,error:e,onError:r}},Gr=()=>{const t=Xa();return{onError:t.onError,reset:t.reset}},Xa=()=>{const t=o.inject(zr,null);if(t===null)throw new Error("Privider is missing a parent component.");return t},Ja={__name:"ErrorProvider",setup(t){const{message:e,hasError:r,error:n}=Rr();return(i,a)=>o.renderSlot(i.$slots,"default",{message:o.unref(e),error:o.unref(n),hasError:o.unref(r)})}},Qa={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ő"},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:"SU.",overtimeShort:"HU.",all:"Mind",report:"Jegyzőkönyv",video:"Videó"},table:{blank:"#",team:{short:"Csapat",tooltip:"Csapatnév"},game:{short:"M",tooltip:"Mérkőzésszám"},wins:{short:"GY",tooltip:"Győzelem"},draw:{short:"D",tooltip:"Döntetlen"},otw:{short:"GYH",tooltip:"Győzelem Hosszabbításban"},otl:{short:"VH",tooltip:"Vereség Hosszabbításban"},losses:{short:"V",tooltip:"Vereség"},goalFor:{short:"SZG",tooltip:"Szerzett Gól"},goalAgainst:{short:"KG",tooltip:"Kapott Gól"},goalDiff:{short:"GK",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:"L",tooltip:"Lövések"},sogPercent:{short:"L%",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:"M",tooltip:"Mérkőzésre Nevezve"},gpi:{short:"LM",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:"KL",tooltip:"Kapott Lövés"},svs:{short:"VL",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"}},game:{data:{localTime:"Helyszín szerinti idő"},status:{jury:"Versenybíróság",delayed:"Elhalasztva"},period:{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"}}},ti={errors:{"undefined-column":"The {column} column is not exists!","invalid-season-name":"Invalid season name","api-key-not-found":"API Key not found"},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"},table:{blank:"#",team:{short:"Team",tooltip:"Team name"},game:{short:"GP",tooltip:"Game Played"},wins:{short:"W",tooltip:"Wins"},draw:{short:"D",tooltip:"Draw"},otw:{short:"OTW",tooltip:"Overtime Wins"},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:"PTS",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:"SOG",tooltip:"Shots on Goal"},sogPercent:{short:"SOG%",tooltip:"Shots on Goal Percent"},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"}},game:{data:{localTime:"Game local time"},status:{jury:"Jury result",delayed:"Game delayed"},period:{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"}}},Vr=(t,e)=>{const r=t.__vccOpts||t;for(const[n,i]of e)r[n]=i;return r},ei=o.defineComponent({props:{locale:{type:String,default:"hu"},messages:{type:Object,default:()=>({})}},setup(t){const e=Wo({hu:Qa,en:ti},t.messages),{translate:r}=nr({locale:o.computed(()=>t.locale),messages:e});return{translate:r}}});function ri(t,e,r,n,i,a){return o.renderSlot(t.$slots,"default",{t:t.translate})}const ni=Vr(ei,[["render",ri]]),oi=["src"],ai=["src","title"],ge=Object.assign({inheritAttrs:!1},{__name:"Image",props:{src:{type:String,default:""},title:{type:String,default:""},defaultSrc:{type:String,default:""}},setup(t){const e=t,{defaultSrc:r}=o.toRefs(e),n=o.ref({src:e.src}),{error:i,isReady:a}=Mn(n,{resetOnExecute:!1,shallow:!1});return(s,l)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.unref(i)&&o.unref(r)?(o.openBlock(),o.createElementBlock("img",{key:0,src:o.unref(r),class:o.normalizeClass(["is-loaded",s.$attrs.class])},null,10,oi)):o.createCommentVNode("",!0),o.unref(i)?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("img",{key:1,src:n.value.src,class:o.normalizeClass([s.$attrs.class,{"is-loaded":o.unref(a)}]),title:e.title},null,10,ai))],64))}}),ii={style:{"text-align":"center"}},jr={__name:"LoadingIndicator",setup(t){const{t:e}=wt();return(r,n)=>(o.openBlock(),o.createElementBlock("div",ii,o.toDisplayString(o.unref(e)("common.loading")),1))}};function si({currentPage:t,itemsPerPage:e=20,totalItems:r,rangeLength:n=5,update:i=at}){const a=o.computed(()=>Math.ceil(o.unref(r)/e)),s=o.computed(()=>{const h=o.unref(t)-1,f=Array.from({length:a.value},(g,m)=>m+1),p=Math.floor(n/2);let d=Math.max(h-p,0);return d+n>=a.value&&(d=Math.max(a.value-n,0)),f.slice(d,d+n)}),l=h=>{const f=o.unref(t)+h;c(f)&&i(f)},u=h=>{c(h)&&i(h)},c=h=>h<=a.value&&h>0;return{page:t,range:s,pageCount:a,goTo:u,pageStep:l}}const li={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"},ci=o.createElementVNode("polyline",{points:"15 18 9 12 15 6"},null,-1),ui=[ci];function fi(t,e){return o.openBlock(),o.createElementBlock("svg",li,ui)}const di={render:fi},pi={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"},mi=o.createElementVNode("polyline",{points:"9 18 15 12 9 6"},null,-1),hi=[mi];function gi(t,e){return o.openBlock(),o.createElementBlock("svg",pi,hi)}const yi={render:gi},bi=["disabled"],wi=["disabled"],vi={key:1,class:"is-disabled"},Si=["disabled","onClick"],_i={key:2,class:"is-disabled"},Ai=[o.createElementVNode("span",null,"...",-1)],Ti=["disabled"],Pi=["disabled"],Oi={__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 r=t,n=ft("paginator"),{page:i,pageCount:a,range:s,goTo:l,pageStep:u}=si({currentPage:o.computed(()=>r.page),totalItems:o.computed(()=>r.totalItems),itemsPerPage:r.itemsPerPage,rangeLength:r.rangeLength,update:c=>e("change",c)});return(c,h)=>o.unref(a)>1?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(o.unref(n))},[o.createElementVNode("button",{type:"button",disabled:o.unref(i)===1,onClick:h[0]||(h[0]=f=>o.unref(u)(-1))},[o.renderSlot(c.$slots,"prev",{},()=>[o.createVNode(o.unref(di),{class:"icon paginator-left"})])],8,bi),t.isCompact?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",disabled:o.unref(i)===1,onClick:h[1]||(h[1]=f=>o.unref(l)(1))},"1",8,wi)),t.isCompact?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",vi,"...")),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(o.unref(s),f=>(o.openBlock(),o.createElementBlock("button",{type:"button",key:f,class:o.normalizeClass({"is-active":f===o.unref(i)}),disabled:f===o.unref(i),onClick:p=>o.unref(l)(f)},o.toDisplayString(f),11,Si))),128)),t.isCompact?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("div",_i,Ai)),t.isCompact?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("button",{key:3,type:"button",disabled:o.unref(i)===o.unref(a),onClick:h[2]||(h[2]=f=>o.unref(l)(o.unref(a)))},o.toDisplayString(o.unref(a)),9,Ti)),o.createElementVNode("button",{type:"button",disabled:o.unref(i)===o.unref(a),onClick:h[3]||(h[3]=o.withModifiers(f=>o.unref(u)(1),["prevent"]))},[o.renderSlot(c.$slots,"next",{},()=>[o.createVNode(o.unref(yi),{class:"icon paginator-left"})])],8,Pi)],2)):o.createCommentVNode("",!0)}},Fr={__name:"ResponsiveTable",setup(t){const e=o.ref(null),r=ft("table-responsive");return(n,i)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"el",ref:e,class:o.normalizeClass(o.unref(r))},[o.renderSlot(n.$slots,"default",{el:e.value})],2))}};var lt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function gt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Yr={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(lt,function(){var r=1e3,n=6e4,i=36e5,a="millisecond",s="second",l="minute",u="hour",c="day",h="week",f="month",p="quarter",d="year",g="date",m="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,A=/\[([^\]]+)]|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,T={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(O){var _=["th","st","nd","rd"],v=O%100;return"["+O+(_[(v-20)%10]||_[v]||_[0])+"]"}},$=function(O,_,v){var P=String(O);return!P||P.length>=_?O:""+Array(_+1-P.length).join(v)+O},D={s:$,z:function(O){var _=-O.utcOffset(),v=Math.abs(_),P=Math.floor(v/60),w=v%60;return(_<=0?"+":"-")+$(P,2,"0")+":"+$(w,2,"0")},m:function O(_,v){if(_.date()<v.date())return-O(v,_);var P=12*(v.year()-_.year())+(v.month()-_.month()),w=_.clone().add(P,f),E=v-w<0,L=_.clone().add(P+(E?-1:1),f);return+(-(P+(v-w)/(E?w-L:L-w))||0)},a:function(O){return O<0?Math.ceil(O)||0:Math.floor(O)},p:function(O){return{M:f,y:d,w:h,d:c,D:g,h:u,m:l,s,ms:a,Q:p}[O]||String(O||"").toLowerCase().replace(/s$/,"")},u:function(O){return O===void 0}},x="en",I={};I[x]=T;var G=function(O){return O instanceof B},F=function O(_,v,P){var w;if(!_)return x;if(typeof _=="string"){var E=_.toLowerCase();I[E]&&(w=E),v&&(I[E]=v,w=E);var L=_.split("-");if(!w&&L.length>1)return O(L[0])}else{var N=_.name;I[N]=_,w=N}return!P&&w&&(x=w),w||!P&&x},M=function(O,_){if(G(O))return O.clone();var v=typeof _=="object"?_:{};return v.date=O,v.args=arguments,new B(v)},k=D;k.l=F,k.i=G,k.w=function(O,_){return M(O,{locale:_.$L,utc:_.$u,x:_.$x,$offset:_.$offset})};var B=function(){function O(v){this.$L=F(v.locale,null,!0),this.parse(v)}var _=O.prototype;return _.parse=function(v){this.$d=function(P){var w=P.date,E=P.utc;if(w===null)return new Date(NaN);if(k.u(w))return new Date;if(w instanceof Date)return new Date(w);if(typeof w=="string"&&!/Z$/i.test(w)){var L=w.match(y);if(L){var N=L[2]-1||0,j=(L[7]||"0").substring(0,3);return E?new Date(Date.UTC(L[1],N,L[3]||1,L[4]||0,L[5]||0,L[6]||0,j)):new Date(L[1],N,L[3]||1,L[4]||0,L[5]||0,L[6]||0,j)}}return new Date(w)}(v),this.$x=v.x||{},this.init()},_.init=function(){var v=this.$d;this.$y=v.getFullYear(),this.$M=v.getMonth(),this.$D=v.getDate(),this.$W=v.getDay(),this.$H=v.getHours(),this.$m=v.getMinutes(),this.$s=v.getSeconds(),this.$ms=v.getMilliseconds()},_.$utils=function(){return k},_.isValid=function(){return this.$d.toString()!==m},_.isSame=function(v,P){var w=M(v);return this.startOf(P)<=w&&w<=this.endOf(P)},_.isAfter=function(v,P){return M(v)<this.startOf(P)},_.isBefore=function(v,P){return this.endOf(P)<M(v)},_.$g=function(v,P,w){return k.u(v)?this[P]:this.set(w,v)},_.unix=function(){return Math.floor(this.valueOf()/1e3)},_.valueOf=function(){return this.$d.getTime()},_.startOf=function(v,P){var w=this,E=!!k.u(P)||P,L=k.p(v),N=function(_t,q){var ut=k.w(w.$u?Date.UTC(w.$y,q,_t):new Date(w.$y,q,_t),w);return E?ut:ut.endOf(c)},j=function(_t,q){return k.w(w.toDate()[_t].apply(w.toDate("s"),(E?[0,0,0,0]:[23,59,59,999]).slice(q)),w)},V=this.$W,U=this.$M,ct=this.$D,ot="set"+(this.$u?"UTC":"");switch(L){case d:return E?N(1,0):N(31,11);case f:return E?N(1,U):N(0,U+1);case h:var Mt=this.$locale().weekStart||0,Nt=(V<Mt?V+7:V)-Mt;return N(E?ct-Nt:ct+(6-Nt),U);case c:case g:return j(ot+"Hours",0);case u:return j(ot+"Minutes",1);case l:return j(ot+"Seconds",2);case s:return j(ot+"Milliseconds",3);default:return this.clone()}},_.endOf=function(v){return this.startOf(v,!1)},_.$set=function(v,P){var w,E=k.p(v),L="set"+(this.$u?"UTC":""),N=(w={},w[c]=L+"Date",w[g]=L+"Date",w[f]=L+"Month",w[d]=L+"FullYear",w[u]=L+"Hours",w[l]=L+"Minutes",w[s]=L+"Seconds",w[a]=L+"Milliseconds",w)[E],j=E===c?this.$D+(P-this.$W):P;if(E===f||E===d){var V=this.clone().set(g,1);V.$d[N](j),V.init(),this.$d=V.set(g,Math.min(this.$D,V.daysInMonth())).$d}else N&&this.$d[N](j);return this.init(),this},_.set=function(v,P){return this.clone().$set(v,P)},_.get=function(v){return this[k.p(v)]()},_.add=function(v,P){var w,E=this;v=Number(v);var L=k.p(P),N=function(U){var ct=M(E);return k.w(ct.date(ct.date()+Math.round(U*v)),E)};if(L===f)return this.set(f,this.$M+v);if(L===d)return this.set(d,this.$y+v);if(L===c)return N(1);if(L===h)return N(7);var j=(w={},w[l]=n,w[u]=i,w[s]=r,w)[L]||1,V=this.$d.getTime()+v*j;return k.w(V,this)},_.subtract=function(v,P){return this.add(-1*v,P)},_.format=function(v){var P=this,w=this.$locale();if(!this.isValid())return w.invalidDate||m;var E=v||"YYYY-MM-DDTHH:mm:ssZ",L=k.z(this),N=this.$H,j=this.$m,V=this.$M,U=w.weekdays,ct=w.months,ot=function(q,ut,_e,Jt){return q&&(q[ut]||q(P,E))||_e[ut].slice(0,Jt)},Mt=function(q){return k.s(N%12||12,q,"0")},Nt=w.meridiem||function(q,ut,_e){var Jt=q<12?"AM":"PM";return _e?Jt.toLowerCase():Jt},_t={YY:String(this.$y).slice(-2),YYYY:this.$y,M:V+1,MM:k.s(V+1,2,"0"),MMM:ot(w.monthsShort,V,ct,3),MMMM:ot(ct,V),D:this.$D,DD:k.s(this.$D,2,"0"),d:String(this.$W),dd:ot(w.weekdaysMin,this.$W,U,2),ddd:ot(w.weekdaysShort,this.$W,U,3),dddd:U[this.$W],H:String(N),HH:k.s(N,2,"0"),h:Mt(1),hh:Mt(2),a:Nt(N,j,!0),A:Nt(N,j,!1),m:String(j),mm:k.s(j,2,"0"),s:String(this.$s),ss:k.s(this.$s,2,"0"),SSS:k.s(this.$ms,3,"0"),Z:L};return E.replace(A,function(q,ut){return ut||_t[q]||L.replace(":","")})},_.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},_.diff=function(v,P,w){var E,L=k.p(P),N=M(v),j=(N.utcOffset()-this.utcOffset())*n,V=this-N,U=k.m(this,N);return U=(E={},E[d]=U/12,E[f]=U,E[p]=U/3,E[h]=(V-j)/6048e5,E[c]=(V-j)/864e5,E[u]=V/i,E[l]=V/n,E[s]=V/r,E)[L]||V,w?U:k.a(U)},_.daysInMonth=function(){return this.endOf(f).$D},_.$locale=function(){return I[this.$L]},_.locale=function(v,P){if(!v)return this.$L;var w=this.clone(),E=F(v,P,!0);return E&&(w.$L=E),w},_.clone=function(){return k.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()},O}(),H=B.prototype;return M.prototype=H,[["$ms",a],["$s",s],["$m",l],["$H",u],["$W",c],["$M",f],["$y",d],["$D",g]].forEach(function(O){H[O[1]]=function(_){return this.$g(_,O[0],O[1])}}),M.extend=function(O,_){return O.$i||(O(_,B,M),O.$i=!0),M},M.locale=F,M.isDayjs=G,M.unix=function(O){return M(1e3*O)},M.en=I[x],M.Ls=I,M.p={},M})})(Yr);var Hr=Yr.exports;const W=gt(Hr);var Ur={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(lt,function(){var r="minute",n=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(a,s,l){var u=s.prototype;l.utc=function(m){var y={date:m,utc:!0,args:arguments};return new s(y)},u.utc=function(m){var y=l(this.toDate(),{locale:this.$L,utc:!0});return m?y.add(this.utcOffset(),r):y},u.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var c=u.parse;u.parse=function(m){m.utc&&(this.$u=!0),this.$utils().u(m.$offset)||(this.$offset=m.$offset),c.call(this,m)};var h=u.init;u.init=function(){if(this.$u){var m=this.$d;this.$y=m.getUTCFullYear(),this.$M=m.getUTCMonth(),this.$D=m.getUTCDate(),this.$W=m.getUTCDay(),this.$H=m.getUTCHours(),this.$m=m.getUTCMinutes(),this.$s=m.getUTCSeconds(),this.$ms=m.getUTCMilliseconds()}else h.call(this)};var f=u.utcOffset;u.utcOffset=function(m,y){var A=this.$utils().u;if(A(m))return this.$u?0:A(this.$offset)?f.call(this):this.$offset;if(typeof m=="string"&&(m=function(x){x===void 0&&(x="");var I=x.match(n);if(!I)return null;var G=(""+I[0]).match(i)||["-",0,0],F=G[0],M=60*+G[1]+ +G[2];return M===0?0:F==="+"?M:-M}(m),m===null))return this;var T=Math.abs(m)<=16?60*m:m,$=this;if(y)return $.$offset=T,$.$u=m===0,$;if(m!==0){var D=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();($=this.local().add(T+D,r)).$offset=T,$.$x.$localOffset=D}else $=this.utc();return $};var p=u.format;u.format=function(m){var y=m||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return p.call(this,y)},u.valueOf=function(){var m=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*m},u.isUTC=function(){return!!this.$u},u.toISOString=function(){return this.toDate().toISOString()},u.toString=function(){return this.toDate().toUTCString()};var d=u.toDate;u.toDate=function(m){return m==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var g=u.diff;u.diff=function(m,y,A){if(m&&this.$u===m.$u)return g.call(this,m,y,A);var T=this.local(),$=l(m).local();return g.call(T,$,y,A)}}})})(Ur);var $i=Ur.exports;const Ei=gt($i);var Wr={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(lt,function(){var r={year:0,month:1,day:2,hour:3,minute:4,second:5},n={};return function(i,a,s){var l,u=function(p,d,g){g===void 0&&(g={});var m=new Date(p),y=function(A,T){T===void 0&&(T={});var $=T.timeZoneName||"short",D=A+"|"+$,x=n[D];return x||(x=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:A,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:$}),n[D]=x),x}(d,g);return y.formatToParts(m)},c=function(p,d){for(var g=u(p,d),m=[],y=0;y<g.length;y+=1){var A=g[y],T=A.type,$=A.value,D=r[T];D>=0&&(m[D]=parseInt($,10))}var x=m[3],I=x===24?0:x,G=m[0]+"-"+m[1]+"-"+m[2]+" "+I+":"+m[4]+":"+m[5]+":000",F=+p;return(s.utc(G).valueOf()-(F-=F%1e3))/6e4},h=a.prototype;h.tz=function(p,d){p===void 0&&(p=l);var g=this.utcOffset(),m=this.toDate(),y=m.toLocaleString("en-US",{timeZone:p}),A=Math.round((m-new Date(y))/1e3/60),T=s(y).$set("millisecond",this.$ms).utcOffset(15*-Math.round(m.getTimezoneOffset()/15)-A,!0);if(d){var $=T.utcOffset();T=T.add(g-$,"minute")}return T.$x.$timezone=p,T},h.offsetName=function(p){var d=this.$x.$timezone||s.tz.guess(),g=u(this.valueOf(),d,{timeZoneName:p}).find(function(m){return m.type.toLowerCase()==="timezonename"});return g&&g.value};var f=h.startOf;h.startOf=function(p,d){if(!this.$x||!this.$x.$timezone)return f.call(this,p,d);var g=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return f.call(g,p,d).tz(this.$x.$timezone,!0)},s.tz=function(p,d,g){var m=g&&d,y=g||d||l,A=c(+s(),y);if(typeof p!="string")return s(p).tz(y);var T=function(I,G,F){var M=I-60*G*1e3,k=c(M,F);if(G===k)return[M,G];var B=c(M-=60*(k-G)*1e3,F);return k===B?[M,k]:[I-60*Math.min(k,B)*1e3,Math.max(k,B)]}(s.utc(p,m).valueOf(),A,y),$=T[0],D=T[1],x=s($).utcOffset(D);return x.$x.$timezone=y,x},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(p){l=p}}})})(Wr);var ki=Wr.exports;const Li=gt(ki);var Kr={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(lt,function(){return function(r,n){var i=n.prototype,a=i.format;i.format=function(s){var l=this,u=this.$locale();if(!this.isValid())return a.bind(this)(s);var c=this.$utils(),h=(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 a.bind(this)(h)}}})})(Kr);var Di=Kr.exports;const xi=gt(Di);var qr={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(lt,function(){return function(r,n){n.prototype.isSameOrBefore=function(i,a){return this.isSame(i,a)||this.isBefore(i,a)}}})})(qr);var Mi=qr.exports;const Ni=gt(Mi);var Zr={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(lt,function(){return function(r,n,i){n.prototype.isBetween=function(a,s,l,u){var c=i(a),h=i(s),f=(u=u||"()")[0]==="(",p=u[1]===")";return(f?this.isAfter(c,l):!this.isBefore(c,l))&&(p?this.isBefore(h,l):!this.isAfter(h,l))||(f?this.isBefore(c,l):!this.isAfter(c,l))&&(p?this.isAfter(h,l):!this.isBefore(h,l))}}})})(Zr);var Ci=Zr.exports;const Ii=gt(Ci);var Xr={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(lt,function(){var r={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(n,i,a){var s=i.prototype,l=s.format;a.en.formats=r,s.format=function(u){u===void 0&&(u="YYYY-MM-DDTHH:mm:ssZ");var c=this.$locale().formats,h=function(f,p){return f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(d,g,m){var y=m&&m.toUpperCase();return g||p[m]||r[m]||p[y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(A,T,$){return T||$.slice(1)})})}(u,c===void 0?{}:c);return l.call(this,h)}}})})(Xr);var Bi=Xr.exports;const zi=gt(Bi);var Ri={exports:{}};(function(t,e){(function(r,n){t.exports=n(Hr)})(lt,function(r){function n(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var i=n(r),a={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 i.default.locale(a,null,!0),a})})(Ri),W.extend(Ei),W.extend(Li),W.extend(xi),W.extend(zi),W.extend(Ni),W.extend(Ii);const Jr=()=>W.tz.guess(),Xt=(t="",e="",r="",n="hu")=>(r=r||W.tz.guess(),W(t).isValid()?W(t).tz(r).locale(n).format(e):""),xt=(t="",e="",r="hu")=>{if(!W(t).isValid())return"";e=e||W.tz.guess();const i=new Intl.DateTimeFormat(Gi(r),{timeZone:e,timeZoneName:"short"}).formatToParts(new Date(t)).find(a=>a.type==="timeZoneName");return i&&i.value},Gi=t=>fr.get(t),ye=t=>{const e=t.split(":");return parseInt(e[0],10)*60+parseInt(e[1],10)},Qr=t=>{const e=~~(t/60),r=~~t%60;return he(e,"0",2)+":"+he(r,"0",2)},tn=(t,e="day")=>W().isSameOrBefore(W(t),e),Vi=(t,e,r)=>W(t).isBetween(e,W(r)),ji=(t,e,r="month")=>W(t).isSame(e,r),Fi=["onClick"],Yi={__name:"TimezoneSelector",props:{locale:{type:String,default:"hu"},currentZone:{type:String,required:!0}},emits:["change"],setup(t,{emit:e}){const r=t,{t:n}=wt(),i=ft("timezone-selector"),a=o.computed(()=>xt(new Date,null,r.locale)),s=Jr(),l=o.computed(()=>Array.from(dr.values()).map(c=>({...c,isActive:xt(new Date,r.currentZone,r.locale)===xt(new Date,c.timezone,r.locale),zoneOffsetName:xt(new Date,c.timezone,r.locale)}))),u=c=>e("change",c);return(c,h)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(o.unref(i))},[o.createVNode(o.unref(ar),{path:"common.selectTimezone",tag:"span"},{timezone:o.withCtx(()=>[o.createElementVNode("a",{href:"#",onClick:h[0]||(h[0]=o.withModifiers(f=>u(o.unref(s)),["prevent"]))},o.toDisplayString(a.value),1)]),_:1}),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.value,f=>(o.openBlock(),o.createElementBlock("a",{key:f.countryLabelKey,href:"#",class:o.normalizeClass({"is-active":f.isActive}),onClick:o.withModifiers(p=>u(f.timezone),["prevent"])},o.toDisplayString(o.unref(n)(`common.${f.countryLabelKey}`))+" ("+o.toDisplayString(f.zoneOffsetName)+") ",11,Fi))),128))],2))}},en=(t,e="",r={})=>{const n=o.ref(""),{t:i}=wt();if(e)try{const l=rn(o.unref(t),e);t=qo(l,o.unref(t))}catch(l){n.value=l}const a=l=>({...l,...l.label&&{label:i(l.label??"",o.unref(r))},...l.tooltip&&{tooltip:i(l.tooltip??"")}});return{columns:o.computed(()=>pt(a,o.unref(t))),error:n}},rn=(t,e="")=>{const r=pt(Ht,Pt(",",e)),n=dt(t);if(r[0]==="")return resolve([]);const i=r.findIndex(a=>!n.includes(a));if(i>-1)throw r[i];return r};class nn extends Error{constructor(e,r={}){const{key:n,cause:i}=r;super(e),this.name="WidgetError",this.key=n,this.cause=i}}const be={message:"Undefined Column name Message",options:{key:"undefined-column",cause:{}}},Hi={message:"Invalid season name",options:{key:"invalid-season-name",cause:{}}},Ui={class:"is-portrait-image"},Wi=["href"],Ki=["href"],qi={__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:()=>{}},isTeamLinked:{type:Boolean,default:!1},isPlayerLinked:{type:Boolean,default:!1}},emits:["sort"],setup(t,{emit:e}){const r=t,{onError:n}=Gr(),i=o.computed(()=>r.columns),{columns:a,error:s}=en(i,r.hideColumns);s.value&&n(new nn(be.message,{...be.options,cause:{column:s.value}}));const l=u=>e("sort",u);return(u,c)=>(o.openBlock(),o.createBlock(Fr,null,{default:o.withCtx(({el:h})=>[o.createVNode(Ir,{columns:o.unref(a),sort:r.sort,rows:r.rows,"is-loading":t.isLoading,"append-to":h,onSort:l},o.createSlots({"cell-index":o.withCtx(({row:f})=>[o.createElementVNode("span",{class:o.normalizeClass(f.indexClass)},o.toDisplayString(f.index),3)]),"cell-playerPortrait":o.withCtx(({row:f})=>[o.createElementVNode("div",Ui,[(o.openBlock(),o.createBlock(ge,{key:f.id||f.playerId,src:f.playerPortrait,"default-src":o.unref(lr)},null,8,["src","default-src"]))])]),"cell-teamLogo":o.withCtx(({row:f})=>[(o.openBlock(),o.createBlock(ge,{class:"is-logo-image",key:f.teamId||f.id,src:f.teamLogo},null,8,["src"]))]),loading:o.withCtx(()=>[o.createVNode(jr)]),_:2},[t.isTeamLinked?{name:"cell-teamName",fn:o.withCtx(({row:f})=>[o.createElementVNode("a",{href:t.externalTeamResolver(f.teamName),target:"_blank"},o.toDisplayString(f.teamName),9,Wi)]),key:"0"}:void 0,t.isPlayerLinked?{name:"cell-name",fn:o.withCtx(({row:f})=>[o.createElementVNode("a",{href:t.externalPlayerResolver(f.id),target:"_blank"},o.toDisplayString(f.name),9,Ki)]),key:"1"}:void 0]),1032,["columns","sort","rows","is-loading","append-to"])]),_:1}))}},Zi={};function Xi(t,e){return o.openBlock(),o.createElementBlock("div",null," Test-8 ")}const Ji=Vr(Zi,[["render",Xi]]),on=async(t,e,r)=>{const n=`${ir}${o.unref(t)}?${Qi(r)}`;return new Promise((i,a)=>{fetch(n,{method:"GET",cache:"no-cache",headers:{"Content-Type":"application/json","X-API-KEY":ts(e)}}).then(s=>s.json()).then(s=>{if(s.error)return a(s);i(s.data)}).catch(s=>{a(s)})})},Qi=t=>Object.keys(t).map(e=>e+"="+t[e]).join("&"),ts=t=>{var e;return t||((e=window.__MJSZ_VBR_WIDGET__)!=null&&e.apiKey?window.__MJSZ_VBR_WIDGET__.apiKey:{}.NODE_ENV!=="production"?{}.VITE_VBR_API_KEY:"")},es=(t={})=>{const{initial:e=1,items:r=[],limit:n,auto:i=!1}=t,a=o.ref(e),s=c=>tn(c,"day");return yn(r,()=>{if(!i)return;const c=Do(Qo(s,"gameDate"))(o.unref(r));a.value=c===-1?1:Math.floor(c/n)+1}),{page:a,change:c=>{a.value=c}}},rs=({options:t={},transform:e=n=>n,onError:r=at})=>{const{path:n,apiKey:i,params:a}=t,{state:s,error:l,isLoading:u,execute:c}=Ee(()=>on(n,i,o.unref(a)).then(h=>e(h)),[],{immediate:!1,resetOnExecute:!1,onError:r});return{state:s,error:l,isLoading:u,execute:c}};/*! *****************************************************************************
8
+ var MjszVbrElementsCore=function(w,r){"use strict";const nt=t=>({}.VITE_CSS_CLASS_PREFIX||"mjsz-vbr-")+t,xe={__name:"BaseSelect",props:{modelValue:{type:[String,Number],default:null}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,o=nt("base-input"),a=r.computed({get:()=>n.modelValue,set:s=>e("update:modelValue",s)});return(s,i)=>r.withDirectives((r.openBlock(),r.createElementBlock("select",{"onUpdate:modelValue":i[0]||(i[0]=l=>a.value=l),class:r.normalizeClass([r.unref(o),"is-select"])},[r.renderSlot(s.$slots,"default")],2)),[[r.vModelSelect,a.value]])}};function De(t){return r.getCurrentScope()?(r.onScopeDispose(t),!0):!1}function tt(t){return typeof t=="function"?t():r.unref(t)}const zt=typeof window<"u",rt=()=>{},pr=hr();function hr(){var t;return zt&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function ee(t,e=!1,n="Timeout"){return new Promise((o,a)=>{setTimeout(e?()=>a(n):o,t)})}function ne(t,e=!1){function n(m,{flush:d="sync",deep:f=!1,timeout:h,throwOnTimeout:g}={}){let y=null;const $=[new Promise(A=>{y=r.watch(t,x=>{m(x)!==e&&(y==null||y(),A(x))},{flush:d,deep:f,immediate:!0})})];return h!=null&&$.push(ee(h,g).then(()=>tt(t)).finally(()=>y==null?void 0:y())),Promise.race($)}function o(m,d){if(!r.isRef(m))return n(x=>x===m,d);const{flush:f="sync",deep:h=!1,timeout:g,throwOnTimeout:y}=d??{};let k=null;const A=[new Promise(x=>{k=r.watch([t,m],([D,B])=>{e!==(D===B)&&(k==null||k(),x(D))},{flush:f,deep:h,immediate:!0})})];return g!=null&&A.push(ee(g,y).then(()=>tt(t)).finally(()=>(k==null||k(),tt(t)))),Promise.race(A)}function a(m){return n(d=>!!d,m)}function s(m){return o(null,m)}function i(m){return o(void 0,m)}function l(m){return n(Number.isNaN,m)}function c(m,d){return n(f=>{const h=Array.from(f);return h.includes(m)||h.includes(tt(m))},d)}function u(m){return p(1,m)}function p(m=1,d){let f=-1;return n(()=>(f+=1,f>=m),d)}return Array.isArray(tt(t))?{toMatch:n,toContains:c,changed:u,changedTimes:p,get not(){return ne(t,!e)}}:{toMatch:n,toBe:o,toBeTruthy:a,toBeNull:s,toBeNaN:l,toBeUndefined:i,changed:u,changedTimes:p,get not(){return ne(t,!e)}}}function gr(t){return ne(t)}function yr(t,e,n={}){const{immediate:o=!0}=n,a=r.ref(!1);let s=null;function i(){s&&(clearTimeout(s),s=null)}function l(){a.value=!1,i()}function c(...u){i(),a.value=!0,s=setTimeout(()=>{a.value=!1,s=null,t(...u)},tt(e))}return o&&(a.value=!0,zt&&c()),De(l),{isPending:r.readonly(a),start:c,stop:l}}function br(t,e,n){const o=r.watch(t,(...a)=>(r.nextTick(()=>o()),e(...a)),n)}function Sr(t,e,n){return r.watch(t,(o,a,s)=>{o&&e(o,a,s)},n)}function Ot(t){var e;const n=tt(t);return(e=n==null?void 0:n.$el)!=null?e:n}const Le=zt?window:void 0,wr=zt?window.document:void 0;function Vt(...t){let e,n,o,a;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,o,a]=t,e=Le):[e,n,o,a]=t,!e)return rt;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const s=[],i=()=>{s.forEach(p=>p()),s.length=0},l=(p,m,d,f)=>(p.addEventListener(m,d,f),()=>p.removeEventListener(m,d,f)),c=r.watch(()=>[Ot(e),tt(a)],([p,m])=>{i(),p&&s.push(...n.flatMap(d=>o.map(f=>l(p,d,f,m))))},{immediate:!0,flush:"post"}),u=()=>{c(),i()};return De(u),u}let Me=!1;function _r(t,e,n={}){const{window:o=Le,ignore:a=[],capture:s=!0,detectIframe:i=!1}=n;if(!o)return;pr&&!Me&&(Me=!0,Array.from(o.document.body.children).forEach(d=>d.addEventListener("click",rt)));let l=!0;const c=d=>a.some(f=>{if(typeof f=="string")return Array.from(o.document.querySelectorAll(f)).some(h=>h===d.target||d.composedPath().includes(h));{const h=Ot(f);return h&&(d.target===h||d.composedPath().includes(h))}}),p=[Vt(o,"click",d=>{const f=Ot(t);if(!(!f||f===d.target||d.composedPath().includes(f))){if(d.detail===0&&(l=!c(d)),!l){l=!0;return}e(d)}},{passive:!0,capture:s}),Vt(o,"pointerdown",d=>{const f=Ot(t);f&&(l=!d.composedPath().includes(f)&&!c(d))},{passive:!0}),i&&Vt(o,"blur",d=>{var f;const h=Ot(t);((f=o.document.activeElement)==null?void 0:f.tagName)==="IFRAME"&&!(h!=null&&h.contains(o.document.activeElement))&&e(d)})].filter(Boolean);return()=>p.forEach(d=>d())}var Tr=Object.defineProperty,kr=Object.defineProperties,$r=Object.getOwnPropertyDescriptors,Ce=Object.getOwnPropertySymbols,Or=Object.prototype.hasOwnProperty,Er=Object.prototype.propertyIsEnumerable,Be=(t,e,n)=>e in t?Tr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Ar=(t,e)=>{for(var n in e||(e={}))Or.call(e,n)&&Be(t,n,e[n]);if(Ce)for(var n of Ce(e))Er.call(e,n)&&Be(t,n,e[n]);return t},Pr=(t,e)=>kr(t,$r(e));function Ie(t,e,n){const{immediate:o=!0,delay:a=0,onError:s=rt,onSuccess:i=rt,resetOnExecute:l=!0,shallow:c=!0,throwError:u}=n??{},p=c?r.shallowRef(e):r.ref(e),m=r.ref(!1),d=r.ref(!1),f=r.shallowRef(void 0);async function h(k=0,...$){l&&(p.value=e),f.value=void 0,m.value=!1,d.value=!0,k>0&&await ee(k);const A=typeof t=="function"?t(...$):t;try{const x=await A;p.value=x,m.value=!0,i(x)}catch(x){if(f.value=x,s(x),u)throw x}finally{d.value=!1}return p.value}o&&h(a);const g={state:p,isReady:m,isLoading:d,error:f,execute:h};function y(){return new Promise((k,$)=>{gr(d).toBe(!1).then(()=>k(g)).catch($)})}return Pr(Ar({},g),{then(k,$){return y().then(k,$)}})}function Nr({document:t=wr}={}){if(!t)return r.ref("visible");const e=r.ref(t.visibilityState);return Vt(t,"visibilitychange",()=>{e.value=t.visibilityState}),e}var vr=Object.defineProperty,ze=Object.getOwnPropertySymbols,xr=Object.prototype.hasOwnProperty,Dr=Object.prototype.propertyIsEnumerable,Ve=(t,e,n)=>e in t?vr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Lr=(t,e)=>{for(var n in e||(e={}))xr.call(e,n)&&Ve(t,n,e[n]);if(ze)for(var n of ze(e))Dr.call(e,n)&&Ve(t,n,e[n]);return t};async function Mr(t){return new Promise((e,n)=>{const o=new Image,{src:a,srcset:s,sizes:i,class:l,loading:c,crossorigin:u}=t;o.src=a,s&&(o.srcset=s),i&&(o.sizes=i),l&&(o.className=l),c&&(o.loading=c),u&&(o.crossOrigin=u),o.onload=()=>e(o),o.onerror=n})}function Cr(t,e={}){const n=Ie(()=>Mr(tt(t)),void 0,Lr({resetOnExecute:!0},e));return r.watch(()=>tt(t),()=>n.execute(e.delay),{deep:!0}),n}function Re(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(c=>r.unref(c)).some(Boolean):l}),{start:s,stop:i}=yr(()=>{o.value=!0},n);return r.watch(a,l=>{if(l)return s();i(),o.value=!1},{immediate:!0,deep:!0}),o}function z(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function Y(t){return function e(n){return arguments.length===0||z(n)?e:t.apply(this,arguments)}}function V(t){return function e(n,o){switch(arguments.length){case 0:return e;case 1:return z(n)?e:Y(function(a){return t(n,a)});default:return z(n)&&z(o)?e:z(n)?Y(function(a){return t(a,o)}):z(o)?Y(function(a){return t(n,a)}):t(n,o)}}}function Rt(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,s){return e.apply(this,arguments)};case 5:return function(n,o,a,s,i){return e.apply(this,arguments)};case 6:return function(n,o,a,s,i,l){return e.apply(this,arguments)};case 7:return function(n,o,a,s,i,l,c){return e.apply(this,arguments)};case 8:return function(n,o,a,s,i,l,c,u){return e.apply(this,arguments)};case 9:return function(n,o,a,s,i,l,c,u,p){return e.apply(this,arguments)};case 10:return function(n,o,a,s,i,l,c,u,p,m){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function re(t,e,n){return function(){for(var o=[],a=0,s=t,i=0;i<e.length||a<arguments.length;){var l;i<e.length&&(!z(e[i])||a>=arguments.length)?l=e[i]:(l=arguments[a],a+=1),o[i]=l,z(l)||(s-=1),i+=1}return s<=0?n.apply(this,o):Rt(s,re(t,o,n))}}var Gt=V(function(e,n){return e===1?Y(n):Rt(e,re(e,[],n))});function st(t){return function e(n,o,a){switch(arguments.length){case 0:return e;case 1:return z(n)?e:V(function(s,i){return t(n,s,i)});case 2:return z(n)&&z(o)?e:z(n)?V(function(s,i){return t(s,o,i)}):z(o)?V(function(s,i){return t(n,s,i)}):Y(function(s){return t(n,o,s)});default:return z(n)&&z(o)&&z(a)?e:z(n)&&z(o)?V(function(s,i){return t(s,i,a)}):z(n)&&z(a)?V(function(s,i){return t(s,o,i)}):z(o)&&z(a)?V(function(s,i){return t(n,s,i)}):z(n)?Y(function(s){return t(s,o,a)}):z(o)?Y(function(s){return t(n,s,a)}):z(a)?Y(function(s){return t(n,o,s)}):t(n,o,a)}}}const jt=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function Br(t){return t!=null&&typeof t["@@transducer/step"]=="function"}function Ft(t,e,n){return function(){if(arguments.length===0)return n();var o=arguments[arguments.length-1];if(!jt(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(Br(o)){var s=e.apply(null,Array.prototype.slice.call(arguments,0,-1));return s(o)}}return n.apply(this,arguments)}}function Ge(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}const St={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};function je(t){for(var e=[],n;!(n=t.next()).done;)e.push(n.value);return e}function Fe(t,e,n){for(var o=0,a=n.length;o<a;){if(t(e,n[o]))return!0;o+=1}return!1}function Ir(t){var e=String(t).match(/^function (\w*)/);return e==null?"":e[1]}function et(t,e){return Object.prototype.hasOwnProperty.call(e,t)}function zr(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}const oe=typeof Object.is=="function"?Object.is:zr;var Ye=Object.prototype.toString,He=function(){return Ye.call(arguments)==="[object Arguments]"?function(e){return Ye.call(e)==="[object Arguments]"}:function(e){return et("callee",e)}}(),Vr=!{toString:null}.propertyIsEnumerable("toString"),Ue=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],We=function(){return arguments.propertyIsEnumerable("length")}(),Rr=function(e,n){for(var o=0;o<e.length;){if(e[o]===n)return!0;o+=1}return!1},mt=Y(typeof Object.keys=="function"&&!We?function(e){return Object(e)!==e?[]:Object.keys(e)}:function(e){if(Object(e)!==e)return[];var n,o,a=[],s=We&&He(e);for(n in e)et(n,e)&&(!s||n!=="length")&&(a[a.length]=n);if(Vr)for(o=Ue.length-1;o>=0;)n=Ue[o],et(n,e)&&!Rr(a,n)&&(a[a.length]=n),o-=1;return a}),ae=Y(function(e){return e===null?"Null":e===void 0?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function Ke(t,e,n,o){var a=je(t),s=je(e);function i(l,c){return se(l,c,n.slice(),o.slice())}return!Fe(function(l,c){return!Fe(i,c,l)},s,a)}function se(t,e,n,o){if(oe(t,e))return!0;var a=ae(t);if(a!==ae(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"&&Ir(t.constructor)==="Promise")return t===e;break;case"Boolean":case"Number":case"String":if(!(typeof t==typeof e&&oe(t.valueOf(),e.valueOf())))return!1;break;case"Date":if(!oe(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 s=n.length-1;s>=0;){if(n[s]===t)return o[s]===e;s-=1}switch(a){case"Map":return t.size!==e.size?!1:Ke(t.entries(),e.entries(),n.concat([t]),o.concat([e]));case"Set":return t.size!==e.size?!1:Ke(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 i=mt(t);if(i.length!==mt(e).length)return!1;var l=n.concat([t]),c=o.concat([e]);for(s=i.length-1;s>=0;){var u=i[s];if(!(et(u,e)&&se(e[u],t[u],l,c)))return!1;s-=1}return!0}var Yt=V(function(e,n){return se(e,n,[],[])});function Gr(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(Yt(t[n],e))return n;n+=1}return-1}function Ze(t,e){return Gr(e,t,0)>=0}function Ht(t,e){for(var n=0,o=e.length,a=Array(o);n<o;)a[n]=t(e[n]),n+=1;return a}function ie(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 Et=function(e){return(e<10?"0":"")+e},jr=typeof Date.prototype.toISOString=="function"?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Et(e.getUTCMonth()+1)+"-"+Et(e.getUTCDate())+"T"+Et(e.getUTCHours())+":"+Et(e.getUTCMinutes())+":"+Et(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Fr(t){return function(){return!t.apply(this,arguments)}}function qe(t,e,n){for(var o=0,a=n.length;o<a;)e=t(e,n[o]),o+=1;return e}function Yr(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 Ut(t){return Object.prototype.toString.call(t)==="[object Object]"}var Hr=function(){function t(e,n){this.xf=n,this.f=e}return t.prototype["@@transducer/init"]=St.init,t.prototype["@@transducer/result"]=St.result,t.prototype["@@transducer/step"]=function(e,n){return this.f(n)?this.xf["@@transducer/step"](e,n):e},t}();function Ur(t){return function(e){return new Hr(t,e)}}var Xe=V(Ft(["fantasy-land/filter","filter"],Ur,function(t,e){return Ut(e)?qe(function(n,o){return t(e[o])&&(n[o]=e[o]),n},{},mt(e)):Yr(t,e)})),Wr=V(function(e,n){return Xe(Fr(e),n)});function Je(t,e){var n=function(i){var l=e.concat([t]);return Ze(i,l)?"<Circular>":Je(i,l)},o=function(s,i){return Ht(function(l){return ie(l)+": "+n(s[l])},i.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+Ht(n,t).join(", ")+"))";case"[object Array]":return"["+Ht(n,t).concat(o(t,Wr(function(s){return/^\d+$/.test(s)},mt(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):ie(jr(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())+")":ie(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,mt(t)).join(", ")+"}"}}var le=Y(function(e){return Je(e,[])}),Kr=V(function(e,n){if(e===n)return n;function o(c,u){if(c>u!=u>c)return u>c?u:c}var a=o(e,n);if(a!==void 0)return a;var s=o(typeof e,typeof n);if(s!==void 0)return s===typeof e?e:n;var i=le(e),l=o(i,le(n));return l!==void 0&&l===i?e:n}),Zr=function(){function t(e,n){this.xf=n,this.f=e}return t.prototype["@@transducer/init"]=St.init,t.prototype["@@transducer/result"]=St.result,t.prototype["@@transducer/step"]=function(e,n){return this.xf["@@transducer/step"](e,this.f(n))},t}(),qr=function(e){return function(n){return new Zr(e,n)}},Xr=V(Ft(["fantasy-land/map","map"],qr,function(e,n){switch(Object.prototype.toString.call(n)){case"[object Function]":return Gt(n.length,function(){return e.call(this,n.apply(this,arguments))});case"[object Object]":return qe(function(o,a){return o[a]=e(n[a]),o},{},mt(n));default:return Ht(e,n)}}));const pt=Xr,Qe=Number.isInteger||function(e){return e<<0===e};function Wt(t){return Object.prototype.toString.call(t)==="[object String]"}var tn=V(function(e,n){var o=e<0?n.length+e:e;return Wt(n)?n.charAt(o):n[o]}),Jr=V(function(e,n){if(n!=null)return Qe(e)?tn(e,n):n[e]});const wt=Jr;var Qr=V(function(e,n){return pt(wt(e),n)}),to=Y(function(e){return jt(e)?!0:!e||typeof e!="object"||Wt(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),en=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function eo(t,e,n){return function(a,s,i){if(to(i))return t(a,s,i);if(i==null)return s;if(typeof i["fantasy-land/reduce"]=="function")return e(a,s,i,"fantasy-land/reduce");if(i[en]!=null)return n(a,s,i[en]());if(typeof i.next=="function")return n(a,s,i);if(typeof i.reduce=="function")return e(a,s,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function no(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 ro=V(function(e,n){return Rt(e.length,function(){return e.apply(n,arguments)})});function oo(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 ao(t,e,n,o){return t["@@transducer/result"](n[o](ro(t["@@transducer/step"],t),e))}var nn=eo(no,ao,oo),so=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 rn(t){return new so(t)}var io=st(function(t,e,n){return nn(typeof t=="function"?rn(t):t,e,n)});const on=io;var lo=Y(function(e){return function(){return e}});const an=lo;var co=Y(function(e){return Gt(on(Kr,0,Qr("length",e)),function(){for(var n=0,o=e.length;n<o;){if(e[n].apply(this,arguments))return!0;n+=1}return!1})});const uo=co;var fo=st(function(e,n,o){var a=e(n),s=e(o);return a<s?-1:a>s?1:0});const ce=fo;function mo(t){var e=Object.prototype.toString.call(t);return e==="[object Function]"||e==="[object AsyncFunction]"||e==="[object GeneratorFunction]"||e==="[object AsyncGeneratorFunction]"}function po(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 ue(t,e,n){if(n||(n=new go),ho(t))return t;var o=function(s){var i=n.get(t);if(i)return i;n.set(t,s);for(var l in t)Object.prototype.hasOwnProperty.call(t,l)&&(s[l]=e?ue(t[l],!0,n):t[l]);return s};switch(ae(t)){case"Object":return o(Object.create(Object.getPrototypeOf(t)));case"Array":return o([]);case"Date":return new Date(t.valueOf());case"RegExp":return po(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 ho(t){var e=typeof t;return t==null||e!="object"&&e!="function"}var go=function(){function t(){this.map={},this.length=0}return t.prototype.set=function(e,n){const o=this.hash(e);let a=this.map[o];a||(this.map[o]=a=[]),a.push([e,n]),this.length+=1},t.prototype.hash=function(e){let 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(const a in this.map){const s=this.map[a];for(let i=0;i<s.length;i+=1){const l=s[i];if(l[0]===e)return l[1]}}return}const n=this.hash(e),o=this.map[n];if(o)for(let a=0;a<o.length;a+=1){const s=o[a];if(s[0]===e)return s[1]}},t}();function yo(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function de(t,e){return function(){var n=arguments.length;if(n===0)return e();var o=arguments[n-1];return jt(o)||typeof o[t]!="function"?e.apply(this,arguments):o[t].apply(o,Array.prototype.slice.call(arguments,0,n-1))}}var bo=st(de("slice",function(e,n,o){return Array.prototype.slice.call(o,e,n)})),So=Y(de("tail",bo(1,1/0)));const wo=So;function fe(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return Rt(arguments[0].length,on(yo,arguments[0],wo(arguments)))}var _o=Y(function(e){return Wt(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()});const To=_o;function sn(){if(arguments.length===0)throw new Error("compose requires at least one argument");return fe.apply(this,To(arguments))}var ko=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"]=St.init,t.prototype["@@transducer/result"]=function(e){var n;for(n in this.inputs)if(et(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,ue(this.valueAcc,!1)],this.inputs[o][1]=this.valueFn(this.inputs[o][1],n),e},t}();function $o(t,e,n){return function(o){return new ko(t,e,n,o)}}var Oo=re(4,[],Ft([],$o,function(e,n,o,a){var s=rn(function(i,l){var c=o(l),u=e(et(c,i)?i[c]:ue(n,!1),l);return u&&u["@@transducer/reduced"]?Ge(i):(i[c]=u,i)});return nn(s,{},a)})),Eo=st(function(e,n,o){var a=e(n),s=e(o);return a>s?-1:a<s?1:0});const Ao=Eo;function Po(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 No=Y(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():jt(e)?[]:Wt(e)?"":Ut(e)?{}:He(e)?function(){return arguments}():Po(e)?e.constructor.from(""):void 0}),vo=function(){function t(e,n){this.xf=n,this.f=e,this.idx=-1,this.found=!1}return t.prototype["@@transducer/init"]=St.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=Ge(this.xf["@@transducer/step"](e,this.idx))),e},t}();function xo(t){return function(e){return new vo(t,e)}}var Do=V(Ft([],xo,function(e,n){for(var o=0,a=n.length;o<a;){if(e(n[o]))return o;o+=1}return-1}));const Lo=Do;var Mo=V(de("groupBy",Oo(function(t,e){return t.push(e),t},[])));const Co=Mo;var Bo=st(function(e,n,o){return Gt(Math.max(e.length,n.length,o.length),function(){return e.apply(this,arguments)?n.apply(this,arguments):o.apply(this,arguments)})});const Io=Bo;var zo=V(Ze);const Vo=zo;var Ro=V(function(e,n){return Gt(e+1,function(){var o=arguments[e];if(o!=null&&mo(o[n]))return o[n].apply(o,Array.prototype.slice.call(arguments,0,e));throw new TypeError(le(o)+' does not have a method named "'+n+'"')})});const ln=Ro;var Go=Y(function(e){return e!=null&&Yt(e,No(e))});const jo=Go;var Fo=V(function(e,n){return e.map(function(o){for(var a=n,s=0,i;s<o.length;){if(a==null)return;i=o[s],a=Qe(i)?tn(i,a):a[i],s+=1}return a})}),Yo=V(function(e,n){return Fo([e],n)[0]});const cn=Yo;var Ho=st(function(e,n,o){var a={},s;n=n||{},o=o||{};for(s in n)et(s,n)&&(a[s]=et(s,o)?e(s,n[s],o[s]):n[s]);for(s in o)et(s,o)&&!et(s,a)&&(a[s]=o[s]);return a}),Uo=st(function t(e,n,o){return Ho(function(a,s,i){return Ut(s)&&Ut(i)?t(e,s,i):e(a,s,i)},n,o)}),Wo=V(function(e,n){return Uo(function(o,a,s){return s},e,n)});const Ko=Wo;var Zo=V(function(e,n){for(var o={},a={},s=0,i=e.length;s<i;)a[e[s]]=1,s+=1;for(var l in n)a.hasOwnProperty(l)||(o[l]=n[l]);return o});const qo=Zo;var Xo=st(function(e,n,o){return e(wt(n,o))});const Jo=Xo;var Qo=V(function(e,n){return Array.prototype.slice.call(n,0).sort(function(o,a){for(var s=0,i=0;s===0&&i<e.length;)s=e[i](o,a),i+=1;return s})});const un=Qo;var ta=ln(1,"split");const At=ta;var ea=ln(0,"toLowerCase");const na=ea;var Pt=`
9
+ \v\f\r                 \u2028\u2029\uFEFF`,ra="​",oa=typeof String.prototype.trim=="function",aa=Y(!oa||Pt.trim()||!ra.trim()?function(e){var n=new RegExp("^["+Pt+"]["+Pt+"]*"),o=new RegExp("["+Pt+"]["+Pt+"]*$");return e.replace(n,"").replace(o,"")}:function(e){return e.trim()});const Kt=aa,dn=Symbol("I18nContext"),K=r.reactive({messages:{},locale:"",fallbackLocale:""}),fn=({messages:t={},locale:e="",fallbackLocale:n=""})=>{K.messages=t,K.locale=e,K.fallbackLocale=n;const o=(c,u={})=>{const p=!jo(u),m=pt(Kt,At(".",c));return r.computed(()=>{const f=mn(m);return p?ia(f,u):f}).value},a=c=>{const u=pt(Kt,At(".",c));return!!me(K.locale,u,K.messages)},s=c=>{K.locale=c},l={locale:r.computed({get(){return K.locale},set(c){K.locale=c}}),setLocale:s,translate:o,hasTranlation:a};return r.provide(dn,l),{translate:o}},it=t=>{t&&(K.messages=t.messages,K.locale=t.locale,K.fallbackLocale=t.fallbackLocale);const e=sa();return{locale:e.locale,t:e.translate,setLocale:e.setLocale,hasTranlation:e.hasTranlation}},sa=()=>{const t=r.inject(dn,null);if(t===null)throw new Error("Privider is missing a parent component.");return t},mn=(t=[])=>{let e=me(K.locale,t,K.messages);return!e&&K.fallbackLocale&&(e=me(K.fallbackLocale,t,K.messages)),e||t.join(".")};function me(t,e,n){return cn([t,...e],n)}const ia=function(t,e){return t.replace(/\{(\w+)\}/g,function(n,o){return e[o]})},pn=r.defineComponent({props:{tag:{type:String,default:"div"},path:{type:String,defult:""}},setup(t,{slots:e}){const n=pt(Kt,At(".",t.path)),o=mn(n),a=At(/{|}/,o),s=Object.keys(e).map(i=>{const l=a.indexOf(i);return l>-1&&(a[l]=e[i]()[0]),a});return()=>r.h(t.tag,s)}}),hn="https://api.icehockey.hu/vbr",gn="https://www.jegkorongszovetseg.hu/event/game/",yn="https://jegkorongszovetseg.hu/assets/images/player_blank.png",bn="https://www.ersteliga.hu/stats/player/",Sn="https://www.ersteliga.hu/stats/team/",ot="original",b="descend",C="ascend",wn=new Map().set("hu","hu-hu").set("en","hu-gb"),_n=new Map().set("Europe/Budapest",{countryLabelKey:"hungary",timezone:"Europe/Budapest"}).set("Europe/Bucharest",{countryLabelKey:"romania",timezone:"Europe/Bucharest"}),la=1e3*60*5,Tn=1e3,ca={"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"},ua=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),da=[ua];function fa(t,e){return r.openBlock(),r.createElementBlock("svg",ca,da)}const kn={render:fa},ma={"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"},pa=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),ha=[pa];function ga(t,e){return r.openBlock(),r.createElementBlock("svg",ma,ha)}const ya={render:ga},ba={"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"},Sa=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),wa=[Sa];function _a(t,e){return r.openBlock(),r.createElementBlock("svg",ba,wa)}const Ta={render:_a};function Nt(t){return t.split("-")[1]}function pe(t){return t==="y"?"height":"width"}function ht(t){return t.split("-")[0]}function vt(t){return["top","bottom"].includes(ht(t))?"x":"y"}function $n(t,e,n){let{reference:o,floating:a}=t;const s=o.x+o.width/2-a.width/2,i=o.y+o.height/2-a.height/2,l=vt(e),c=pe(l),u=o[c]/2-a[c]/2,p=l==="x";let m;switch(ht(e)){case"top":m={x:s,y:o.y-a.height};break;case"bottom":m={x:s,y:o.y+o.height};break;case"right":m={x:o.x+o.width,y:i};break;case"left":m={x:o.x-a.width,y:i};break;default:m={x:o.x,y:o.y}}switch(Nt(e)){case"start":m[l]-=u*(n&&p?-1:1);break;case"end":m[l]+=u*(n&&p?-1:1)}return m}const ka=async(t,e,n)=>{const{placement:o="bottom",strategy:a="absolute",middleware:s=[],platform:i}=n,l=s.filter(Boolean),c=await(i.isRTL==null?void 0:i.isRTL(e));let u=await i.getElementRects({reference:t,floating:e,strategy:a}),{x:p,y:m}=$n(u,o,c),d=o,f={},h=0;for(let g=0;g<l.length;g++){const{name:y,fn:k}=l[g],{x:$,y:A,data:x,reset:D}=await k({x:p,y:m,initialPlacement:o,placement:d,strategy:a,middlewareData:f,rects:u,platform:i,elements:{reference:t,floating:e}});p=$??p,m=A??m,f={...f,[y]:{...f[y],...x}},D&&h<=50&&(h++,typeof D=="object"&&(D.placement&&(d=D.placement),D.rects&&(u=D.rects===!0?await i.getElementRects({reference:t,floating:e,strategy:a}):D.rects),{x:p,y:m}=$n(u,d,c)),g=-1)}return{x:p,y:m,placement:d,strategy:a,middlewareData:f}};function On(t){return typeof t!="number"?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(t):{top:t,right:t,bottom:t,left:t}}function Zt(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function En(t,e){var n;e===void 0&&(e={});const{x:o,y:a,platform:s,rects:i,elements:l,strategy:c}=t,{boundary:u="clippingAncestors",rootBoundary:p="viewport",elementContext:m="floating",altBoundary:d=!1,padding:f=0}=e,h=On(f),g=l[d?m==="floating"?"reference":"floating":m],y=Zt(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(g)))==null||n?g:g.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:u,rootBoundary:p,strategy:c})),k=m==="floating"?{...i.floating,x:o,y:a}:i.reference,$=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),A=await(s.isElement==null?void 0:s.isElement($))&&await(s.getScale==null?void 0:s.getScale($))||{x:1,y:1},x=Zt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:k,offsetParent:$,strategy:c}):k);return{top:(y.top-x.top+h.top)/A.y,bottom:(x.bottom-y.bottom+h.bottom)/A.y,left:(y.left-x.left+h.left)/A.x,right:(x.right-y.right+h.right)/A.x}}const $a=Math.min,Oa=Math.max;function he(t,e,n){return Oa(t,$a(e,n))}const An=t=>({name:"arrow",options:t,async fn(e){const{element:n,padding:o=0}=t||{},{x:a,y:s,placement:i,rects:l,platform:c,elements:u}=e;if(n==null)return{};const p=On(o),m={x:a,y:s},d=vt(i),f=pe(d),h=await c.getDimensions(n),g=d==="y",y=g?"top":"left",k=g?"bottom":"right",$=g?"clientHeight":"clientWidth",A=l.reference[f]+l.reference[d]-m[d]-l.floating[f],x=m[d]-l.reference[d],D=await(c.getOffsetParent==null?void 0:c.getOffsetParent(n));let B=D?D[$]:0;B&&await(c.isElement==null?void 0:c.isElement(D))||(B=u.floating[$]||l.floating[f]);const R=A/2-x/2,F=p[y],L=B-h[f]-p[k],N=B/2-h[f]/2+R,I=he(F,N,L),H=Nt(i)!=null&&N!=I&&l.reference[f]/2-(N<F?p[y]:p[k])-h[f]/2<0;return{[d]:m[d]-(H?N<F?F-N:L-N:0),data:{[d]:I,centerOffset:N-I}}}});["top","right","bottom","left"].reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]);const Ea={left:"right",right:"left",bottom:"top",top:"bottom"};function qt(t){return t.replace(/left|right|bottom|top/g,e=>Ea[e])}function Aa(t,e,n){n===void 0&&(n=!1);const o=Nt(t),a=vt(t),s=pe(a);let i=a==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(i=qt(i)),{main:i,cross:qt(i)}}const Pa={start:"end",end:"start"};function ge(t){return t.replace(/start|end/g,e=>Pa[e])}const Na=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n;const{placement:o,middlewareData:a,rects:s,initialPlacement:i,platform:l,elements:c}=e,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:m,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:h=!0,...g}=t,y=ht(o),k=ht(i)===i,$=await(l.isRTL==null?void 0:l.isRTL(c.floating)),A=m||(k||!h?[qt(i)]:function(I){const H=qt(I);return[ge(I),H,ge(H)]}(i));m||f==="none"||A.push(...function(I,H,E,T){const _=Nt(I);let O=function(S,P,v){const M=["left","right"],j=["right","left"],G=["top","bottom"],U=["bottom","top"];switch(S){case"top":case"bottom":return v?P?j:M:P?M:j;case"left":case"right":return P?G:U;default:return[]}}(ht(I),E==="start",T);return _&&(O=O.map(S=>S+"-"+_),H&&(O=O.concat(O.map(ge)))),O}(i,h,f,$));const x=[i,...A],D=await En(e,g),B=[];let R=((n=a.flip)==null?void 0:n.overflows)||[];if(u&&B.push(D[y]),p){const{main:I,cross:H}=Aa(o,s,$);B.push(D[I],D[H])}if(R=[...R,{placement:o,overflows:B}],!B.every(I=>I<=0)){var F,L;const I=(((F=a.flip)==null?void 0:F.index)||0)+1,H=x[I];if(H)return{data:{index:I,overflows:R},reset:{placement:H}};let E=(L=R.filter(T=>T.overflows[0]<=0).sort((T,_)=>T.overflows[1]-_.overflows[1])[0])==null?void 0:L.placement;if(!E)switch(d){case"bestFit":{var N;const T=(N=R.map(_=>[_.placement,_.overflows.filter(O=>O>0).reduce((O,S)=>O+S,0)]).sort((_,O)=>_[1]-O[1])[0])==null?void 0:N[0];T&&(E=T);break}case"initialPlacement":E=i}if(o!==E)return{reset:{placement:E}}}return{}}}},va=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){const{x:n,y:o}=e,a=await async function(s,i){const{placement:l,platform:c,elements:u}=s,p=await(c.isRTL==null?void 0:c.isRTL(u.floating)),m=ht(l),d=Nt(l),f=vt(l)==="x",h=["left","top"].includes(m)?-1:1,g=p&&f?-1:1,y=typeof i=="function"?i(s):i;let{mainAxis:k,crossAxis:$,alignmentAxis:A}=typeof y=="number"?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...y};return d&&typeof A=="number"&&($=d==="end"?-1*A:A),f?{x:$*g,y:k*h}:{x:k*h,y:$*g}}(e,t);return{x:n+a.x,y:o+a.y,data:a}}}};function xa(t){return t==="x"?"y":"x"}const Da=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:a}=e,{mainAxis:s=!0,crossAxis:i=!1,limiter:l={fn:y=>{let{x:k,y:$}=y;return{x:k,y:$}}},...c}=t,u={x:n,y:o},p=await En(e,c),m=vt(ht(a)),d=xa(m);let f=u[m],h=u[d];if(s){const y=m==="y"?"bottom":"right";f=he(f+p[m==="y"?"top":"left"],f,f-p[y])}if(i){const y=d==="y"?"bottom":"right";h=he(h+p[d==="y"?"top":"left"],h,h-p[y])}const g=l.fn({...e,[m]:f,[d]:h});return{...g,data:{x:g.x-n,y:g.y-o}}}}};function X(t){var e;return((e=t.ownerDocument)==null?void 0:e.defaultView)||window}function J(t){return X(t).getComputedStyle(t)}function Pn(t){return t instanceof X(t).Node}function lt(t){return Pn(t)?(t.nodeName||"").toLowerCase():""}function Q(t){return t instanceof X(t).HTMLElement}function q(t){return t instanceof X(t).Element}function Nn(t){return typeof ShadowRoot>"u"?!1:t instanceof X(t).ShadowRoot||t instanceof ShadowRoot}function xt(t){const{overflow:e,overflowX:n,overflowY:o,display:a}=J(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(a)}function La(t){return["table","td","th"].includes(lt(t))}function ye(t){const e=be(),n=J(t);return n.transform!=="none"||n.perspective!=="none"||!e&&!!n.backdropFilter&&n.backdropFilter!=="none"||!e&&!!n.filter&&n.filter!=="none"||["transform","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function be(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Xt(t){return["html","body","#document"].includes(lt(t))}const vn=Math.min,Dt=Math.max,Jt=Math.round;function xn(t){const e=J(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const a=Q(t),s=a?t.offsetWidth:n,i=a?t.offsetHeight:o,l=Jt(n)!==s||Jt(o)!==i;return l&&(n=s,o=i),{width:n,height:o,fallback:l}}function Dn(t){return q(t)?t:t.contextElement}const Ln={x:1,y:1};function _t(t){const e=Dn(t);if(!Q(e))return Ln;const n=e.getBoundingClientRect(),{width:o,height:a,fallback:s}=xn(e);let i=(s?Jt(n.width):n.width)/o,l=(s?Jt(n.height):n.height)/a;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}const Mn={x:0,y:0};function Cn(t,e,n){var o,a;if(e===void 0&&(e=!0),!be())return Mn;const s=t?X(t):window;return!n||e&&n!==s?Mn:{x:((o=s.visualViewport)==null?void 0:o.offsetLeft)||0,y:((a=s.visualViewport)==null?void 0:a.offsetTop)||0}}function gt(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const a=t.getBoundingClientRect(),s=Dn(t);let i=Ln;e&&(o?q(o)&&(i=_t(o)):i=_t(t));const l=Cn(s,n,o);let c=(a.left+l.x)/i.x,u=(a.top+l.y)/i.y,p=a.width/i.x,m=a.height/i.y;if(s){const d=X(s),f=o&&q(o)?X(o):o;let h=d.frameElement;for(;h&&o&&f!==d;){const g=_t(h),y=h.getBoundingClientRect(),k=getComputedStyle(h);y.x+=(h.clientLeft+parseFloat(k.paddingLeft))*g.x,y.y+=(h.clientTop+parseFloat(k.paddingTop))*g.y,c*=g.x,u*=g.y,p*=g.x,m*=g.y,c+=y.x,u+=y.y,h=X(h).frameElement}}return Zt({width:p,height:m,x:c,y:u})}function ct(t){return((Pn(t)?t.ownerDocument:t.document)||window.document).documentElement}function Qt(t){return q(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Bn(t){return gt(ct(t)).left+Qt(t).scrollLeft}function Tt(t){if(lt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Nn(t)&&t.host||ct(t);return Nn(e)?e.host:e}function In(t){const e=Tt(t);return Xt(e)?e.ownerDocument.body:Q(e)&&xt(e)?e:In(e)}function Lt(t,e){var n;e===void 0&&(e=[]);const o=In(t),a=o===((n=t.ownerDocument)==null?void 0:n.body),s=X(o);return a?e.concat(s,s.visualViewport||[],xt(o)?o:[]):e.concat(o,Lt(o))}function zn(t,e,n){let o;if(e==="viewport")o=function(a,s){const i=X(a),l=ct(a),c=i.visualViewport;let u=l.clientWidth,p=l.clientHeight,m=0,d=0;if(c){u=c.width,p=c.height;const f=be();(!f||f&&s==="fixed")&&(m=c.offsetLeft,d=c.offsetTop)}return{width:u,height:p,x:m,y:d}}(t,n);else if(e==="document")o=function(a){const s=ct(a),i=Qt(a),l=a.ownerDocument.body,c=Dt(s.scrollWidth,s.clientWidth,l.scrollWidth,l.clientWidth),u=Dt(s.scrollHeight,s.clientHeight,l.scrollHeight,l.clientHeight);let p=-i.scrollLeft+Bn(a);const m=-i.scrollTop;return J(l).direction==="rtl"&&(p+=Dt(s.clientWidth,l.clientWidth)-c),{width:c,height:u,x:p,y:m}}(ct(t));else if(q(e))o=function(a,s){const i=gt(a,!0,s==="fixed"),l=i.top+a.clientTop,c=i.left+a.clientLeft,u=Q(a)?_t(a):{x:1,y:1};return{width:a.clientWidth*u.x,height:a.clientHeight*u.y,x:c*u.x,y:l*u.y}}(e,n);else{const a=Cn(t);o={...e,x:e.x-a.x,y:e.y-a.y}}return Zt(o)}function Vn(t,e){const n=Tt(t);return!(n===e||!q(n)||Xt(n))&&(J(n).position==="fixed"||Vn(n,e))}function Rn(t,e){return Q(t)&&J(t).position!=="fixed"?e?e(t):t.offsetParent:null}function Gn(t,e){const n=X(t);if(!Q(t))return n;let o=Rn(t,e);for(;o&&La(o)&&J(o).position==="static";)o=Rn(o,e);return o&&(lt(o)==="html"||lt(o)==="body"&&J(o).position==="static"&&!ye(o))?n:o||function(a){let s=Tt(a);for(;Q(s)&&!Xt(s);){if(ye(s))return s;s=Tt(s)}return null}(t)||n}function Ma(t,e,n){const o=Q(e),a=ct(e),s=n==="fixed",i=gt(t,!0,s,e);let l={scrollLeft:0,scrollTop:0};const c={x:0,y:0};if(o||!o&&!s)if((lt(e)!=="body"||xt(a))&&(l=Qt(e)),Q(e)){const u=gt(e,!0,s,e);c.x=u.x+e.clientLeft,c.y=u.y+e.clientTop}else a&&(c.x=Bn(a));return{x:i.left+l.scrollLeft-c.x,y:i.top+l.scrollTop-c.y,width:i.width,height:i.height}}const Ca={getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:a}=t;const s=n==="clippingAncestors"?function(u,p){const m=p.get(u);if(m)return m;let d=Lt(u).filter(y=>q(y)&&lt(y)!=="body"),f=null;const h=J(u).position==="fixed";let g=h?Tt(u):u;for(;q(g)&&!Xt(g);){const y=J(g),k=ye(g);k||y.position!=="fixed"||(f=null),(h?!k&&!f:!k&&y.position==="static"&&f&&["absolute","fixed"].includes(f.position)||xt(g)&&!k&&Vn(u,g))?d=d.filter($=>$!==g):f=y,g=Tt(g)}return p.set(u,d),d}(e,this._c):[].concat(n),i=[...s,o],l=i[0],c=i.reduce((u,p)=>{const m=zn(e,p,a);return u.top=Dt(m.top,u.top),u.right=vn(m.right,u.right),u.bottom=vn(m.bottom,u.bottom),u.left=Dt(m.left,u.left),u},zn(e,l,a));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:n,strategy:o}=t;const a=Q(n),s=ct(n);if(n===s)return e;let i={scrollLeft:0,scrollTop:0},l={x:1,y:1};const c={x:0,y:0};if((a||!a&&o!=="fixed")&&((lt(n)!=="body"||xt(s))&&(i=Qt(n)),Q(n))){const u=gt(n);l=_t(n),c.x=u.x+n.clientLeft,c.y=u.y+n.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-i.scrollLeft*l.x+c.x,y:e.y*l.y-i.scrollTop*l.y+c.y}},isElement:q,getDimensions:function(t){return xn(t)},getOffsetParent:Gn,getDocumentElement:ct,getScale:_t,async getElementRects(t){let{reference:e,floating:n,strategy:o}=t;const a=this.getOffsetParent||Gn,s=this.getDimensions;return{reference:Ma(e,await a(n),o),floating:{x:0,y:0,...await s(n)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>J(t).direction==="rtl"};function Ba(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:a=!0,ancestorResize:s=!0,elementResize:i=!0,animationFrame:l=!1}=o,c=a||s?[...q(t)?Lt(t):t.contextElement?Lt(t.contextElement):[],...Lt(e)]:[];c.forEach(d=>{const f=!q(d)&&d.toString().includes("V");!a||l&&!f||d.addEventListener("scroll",n,{passive:!0}),s&&d.addEventListener("resize",n)});let u,p=null;i&&(p=new ResizeObserver(()=>{n()}),q(t)&&!l&&p.observe(t),q(t)||!t.contextElement||l||p.observe(t.contextElement),p.observe(e));let m=l?gt(t):null;return l&&function d(){const f=gt(t);!m||f.x===m.x&&f.y===m.y&&f.width===m.width&&f.height===m.height||n(),m=f,u=requestAnimationFrame(d)}(),n(),()=>{var d;c.forEach(f=>{a&&f.removeEventListener("scroll",n),s&&f.removeEventListener("resize",n)}),(d=p)==null||d.disconnect(),p=null,l&&cancelAnimationFrame(u)}}const Ia=(t,e,n)=>{const o=new Map,a={platform:Ca,...n},s={...a.platform,_c:o};return ka(t,e,{...a,platform:s})},jn=(t,e="body")=>{if(!t)return;if(typeof e!="string"){e==null||e.append(t);return}const n=document.querySelector(e);n==null||n.append(t)};function za({middleware:t,placement:e=null,strategy:n,append:o,enabled:a}){const s=r.ref(null),i=r.ref(null),l=r.ref(null),c=r.ref(null),u=r.ref(null),p=r.ref(null),m=r.ref(null),d=r.ref(n??"absolute"),f=r.ref(null),h=()=>{!s.value||!i.value||Ia(s.value,i.value,{middleware:t,placement:e,strategy:n}).then(y=>{l.value=y.x,c.value=y.y,d.value=y.strategy,u.value=y.middlewareData.arrow.x,p.value=y.middlewareData.arrow.y,m.value=y.placement})};r.watch(()=>({reference:r.unref(s),floating:r.unref(i),append:r.unref(o)}),({floating:y,append:k})=>{k&&jn(y,k),h()},{flush:"post"}),r.watch(a,y=>{if(!(!s.value||!i.value)){if(!y)return g();f.value=Ba(s.value,i.value,h,{})}},{flush:"post"});const g=()=>{var y;(y=f.value)==null||y.call(f),f.value=null};return{x:l,y:c,arrowX:u,arrowY:p,placement:m,reference:s,floating:i,strategy:d,update:h}}const Va=t=>{const{element:e,padding:n}=t;return{name:"arrow",options:t,fn(o){return r.isRef(e)?e.value!=null?An({element:e.value,padding:n}).fn(o):{}:e?An({element:e,padding:n}).fn(o):{}}}},Ra=["data-placement"],Se={__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}},setup(t){const e=t,n=r.ref(!1),o=r.ref(null),{x:a,y:s,arrowX:i,arrowY:l,placement:c,reference:u,floating:p,strategy:m}=za({placement:e.placement,middleware:[Na(),Da({padding:5}),va(e.offset),Va({element:o,padding:5})],append:r.computed(()=>e.appendTo),enabled:n}),d=()=>{e.disabled||n.value||(n.value=!0)},f=y=>{n.value&&y&&(n.value=!1)},h=y=>{u.value=y},g={mouseenter:d,mouseleave:f,focus:d,blur:f};return _r(p,y=>{var k;(k=u.value)!=null&&k.contains(y.target)||f()}),(y,k)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.renderSlot(y.$slots,"default",{setRef:h,show:d,hide:f,events:g}),r.createElementVNode("div",{ref_key:"floating",ref:p,"data-placement":r.unref(c),style:r.normalizeStyle({position:r.unref(m),top:r.unref(s)?`${r.unref(s)}px`:"",left:r.unref(a)?`${r.unref(a)}px`:""})},[r.createVNode(r.Transition,{name:"transition-fade",mode:"out-in"},{default:r.withCtx(()=>[n.value?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(["floating-content",[`is-${e.theme}`]])},[r.renderSlot(y.$slots,"content",{close:f},()=>[r.createTextVNode(r.toDisplayString(t.content),1)]),r.createElementVNode("div",{ref_key:"arrowRef",ref:o,class:"is-arrow",style:r.normalizeStyle({position:r.unref(m),top:r.unref(l)?`${r.unref(l)}px`:"",left:r.unref(i)?`${r.unref(i)}px`:""})},null,4)],2)):r.createCommentVNode("",!0)]),_:3})],12,Ra)],64))}},Ga=["onMouseenter","onMouseleave","onFocus","onBlur","onClick","onKeydown","tabindex"],ja={key:0},Fa=["colspan"],Ya={key:1},Ha=["colspan"],we={__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,{isLoading:o,appendTo:a}=r.toRefs(n),s=Re(o,{delay:Tn}),{t:i}=it(),l=nt("table"),c=r.computed(()=>n.columns),u=r.computed(()=>Object.keys(n.columns).length),p=(m,d)=>{m.sortOrders&&e("sort",{target:d,orders:m.sortOrders})};return(m,d)=>(r.openBlock(),r.createElementBlock("table",{class:r.normalizeClass(r.unref(l))},[r.createElementVNode("thead",null,[r.createElementVNode("tr",null,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(c.value,(f,h)=>(r.openBlock(),r.createBlock(Se,{key:h,placement:"top",content:f.tooltip,disabled:!f.tooltip,"append-to":r.unref(a)},{default:r.withCtx(({setRef:g,show:y,hide:k})=>[r.createElementVNode("th",{ref_for:!0,ref:g,class:r.normalizeClass([[f.class],{"is-active":h===t.sort.sortTarget&&t.sort.orders[0].direction!==r.unref(ot),"is-sortable":f.sortOrders,"is-desc":h===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(b),"is-asc":h===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(C)}]),onMouseenter:y,onMouseleave:k,onFocus:y,onBlur:k,onClick:$=>p(f,h),onKeydown:[r.withKeys(r.withModifiers($=>p(f,h),["prevent"]),["space"]),r.withKeys(r.withModifiers($=>p(f,h),["prevent"]),["enter"])],tabindex:f.sortOrders?0:-1,role:"button"},[r.renderSlot(m.$slots,`header-${h}`,{column:f},()=>[r.createTextVNode(r.toDisplayString(f.label),1)]),f.sortOrders&&h!==t.sort.sortTarget?(r.openBlock(),r.createBlock(r.unref(kn),{key:0,class:"is-icon-sort"})):r.createCommentVNode("",!0),h===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(ot)?(r.openBlock(),r.createBlock(r.unref(kn),{key:1,class:"is-icon-sort"})):r.createCommentVNode("",!0),h===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(b)?(r.openBlock(),r.createBlock(r.unref(ya),{key:2,class:"is-icon-sort"})):r.createCommentVNode("",!0),h===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(C)?(r.openBlock(),r.createBlock(r.unref(Ta),{key:3,class:"is-icon-sort"})):r.createCommentVNode("",!0)],42,Ga)]),_:2},1032,["content","disabled","append-to"]))),128))])]),r.createElementVNode("tbody",null,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(n.rows,(f,h)=>(r.openBlock(),r.createElementBlock("tr",{key:h,class:r.normalizeClass(f.rowClasses)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(c.value,(g,y)=>(r.openBlock(),r.createElementBlock("td",{key:y,class:r.normalizeClass([[g.class],{"is-active":y===t.sort.sortTarget&&t.sort.orders[0].direction!==r.unref(ot)}])},[r.renderSlot(m.$slots,`cell-${y}`,{row:f,prop:y},()=>[r.createTextVNode(r.toDisplayString(f[y]),1)])],2))),128))],2))),128))]),r.unref(s)&&t.rows.length===0?(r.openBlock(),r.createElementBlock("tfoot",ja,[r.createElementVNode("tr",null,[r.createElementVNode("td",{colspan:u.value},[r.renderSlot(m.$slots,"loading",{},()=>[r.createTextVNode(r.toDisplayString(r.unref(i)("common.loading")),1)])],8,Fa)])])):r.createCommentVNode("",!0),t.rows.length===0&&!r.unref(o)&&!r.unref(s)?(r.openBlock(),r.createElementBlock("tfoot",Ya,[r.createElementVNode("tr",null,[r.createElementVNode("td",{colspan:u.value},[r.renderSlot(m.$slots,"empty",{},()=>[r.createTextVNode(r.toDisplayString(r.unref(i)("common.noData")),1)])],8,Ha)])])):r.createCommentVNode("",!0)],2))}},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"},Wa=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),Ka=r.createElementVNode("line",{x1:"12",y1:"9",x2:"12",y2:"13"},null,-1),Za=r.createElementVNode("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"},null,-1),qa=[Wa,Ka,Za];function Xa(t,e){return r.openBlock(),r.createElementBlock("svg",Ua,qa)}const Ja={render:Xa},Qa={__name:"ErrorNotice",props:{error:{type:Object,default:()=>({})}},setup(t){const e=t,{t:n,hasTranlation:o}=it(),a=nt("error-notice"),s=r.computed(()=>{var i;return o(`errors.${e.error.key}`)?n(`errors.${e.error.key}`,e.error.cause):`${e.error.key}: ${(i=e.error)==null?void 0:i.message}`});return(i,l)=>(r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(r.unref(a))},[r.createVNode(r.unref(Ja),{class:"icon",width:"20",height:"20"}),r.createElementVNode("span",null,r.toDisplayString(s.value),1)],2))}};function Fn(t){return t&&t.match(/[A-Z]{2,}(?=[A-Z][a-z]+[0-9]*|\b)|[A-Z]?[a-z]+[0-9]*|[A-Z]|[0-9]+/g).map(e=>e.toLowerCase()).join("-")}const Yn=Symbol("ErrorProviderContext"),Hn=()=>{const t=r.ref(""),e=r.ref({}),n=s=>{console.error({error:s}),t.value=s.message||s.error.message,e.value={message:s.message,key:s.key||Fn(s.message),cause:s.cause}},a={onError:n,reset:()=>{t.value="",e.value={}}};return r.provide(Yn,a),window.onerror=s=>{console.error("WINDOW_ONERROR:",s)},r.onErrorCaptured((s,i,l)=>{console.error("onErrorCaptured:",s,i,l)}),{hasError:r.computed(()=>t.value.length>0),message:t,error:e,onError:n}},_e=()=>{const t=ts();return{onError:t.onError,reset:t.reset}},ts=()=>{const t=r.inject(Yn,null);if(t===null)throw new Error("Privider is missing a parent component.");return t},es={__name:"ErrorProvider",setup(t){const{message:e,hasError:n,error:o}=Hn();return(a,s)=>r.renderSlot(a.$slots,"default",{message:r.unref(e),error:r.unref(o),hasError:r.unref(n)})}},ns={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ő"},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:"SU.",overtimeShort:"HU.",all:"Mind",report:"Jegyzőkönyv",video:"Videó"},table:{blank:"#",team:{short:"Csapat",tooltip:"Csapatnév"},game:{short:"GP",tooltip:"Mérkőzésszám"},wins:{short:"W",tooltip:"Győzelem"},draw:{short:"D",tooltip:"Döntetlen"},otw:{short:"OTW",tooltip:"Győzelem Hosszabbításban"},sow:{short:"SOW",tooltip:"Győzelem Szétlövésben"},sol:{short:"SOL",tooltip:"Vereség Szétlövésben"},otl:{short:"OTL",tooltip:"Vereség Hosszabbításban"},losses:{short:"L",tooltip:"Vereség"},goalFor:{short:"GF",tooltip:"Szerzett Gól"},goalAgainst:{short:"GA",tooltip:"Kapott Gól"},goalDiff:{short:"GD",tooltip:"Gólkülönbség"},name:{short:"Név",tooltip:"Játékosnév"},goals:{short:"G",tooltip:"Gólok"},assists:{short:"A",tooltip:"Gólpasszok"},points:{short:"P",tooltip:"Pontok"},plusMinus:{short:"+/-",tooltip:"Plussz/Minusz"},sog:{short:"S",tooltip:"Lövések"},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"}},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"}}},rs={errors:{"undefined-column":"The {column} column is not exists!","invalid-season-name":"Invalid season name","api-key-not-found":"API Key not found"},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"},table:{blank:"#",team:{short:"Team",tooltip:"Team name"},game:{short:"GP",tooltip:"Game Played"},wins:{short:"W",tooltip:"Wins"},draw:{short:"D",tooltip:"Draw"},otw:{short:"OTW",tooltip:"Overtime Wins"},sow:{short:"SOW",tooltip:"Shoot Out Wins"},sol:{short:"SOL",tooltip:"Shoot Out Losses"},otl:{short:"OTL",tooltip:"Overtime Losses"},losses:{short:"L",tooltip:"Losses"},goalFor:{short:"GF",tooltip:"Goals For"},goalAgainst:{short:"GA",tooltip:"Goals Against"},goalDiff:{short:"GD",tooltip:"Goal Differential"},points:{short:"P",tooltip:"Points"},name:{short:"Name",tooltip:"Player name"},goals:{short:"G",tooltip:"Goals"},assists:{short:"A",tooltip:"Assists"},plusMinus:{short:"+/-",tooltip:"Plus/Minus"},sog:{short:"S",tooltip:"Shots on Goal"},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"}},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"}}},Un=(t,e)=>{const n=t.__vccOpts||t;for(const[o,a]of e)n[o]=a;return n},os=r.defineComponent({props:{locale:{type:String,default:"hu"},messages:{type:Object,default:()=>({})}},setup(t){const e=Ko({hu:ns,en:rs},t.messages),{translate:n}=fn({locale:r.computed(()=>t.locale),messages:e});return{translate:n}}});function as(t,e,n,o,a,s){return r.renderSlot(t.$slots,"default",{t:t.translate})}const ss=Un(os,[["render",as]]),is=["src"],ls=["src","title"],yt=Object.assign({inheritAttrs:!1},{__name:"Image",props:{src:{type:String,default:""},title:{type:String,default:""},defaultSrc:{type:String,default:""}},setup(t){const e=t,{defaultSrc:n}=r.toRefs(e),o=r.ref({src:e.src}),{error:a,isReady:s}=Cr(o,{resetOnExecute:!1,shallow:!1});return(i,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",i.$attrs.class])},null,10,is)):r.createCommentVNode("",!0),r.unref(a)?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("img",{key:1,src:o.value.src,class:r.normalizeClass([i.$attrs.class,{"is-loaded":r.unref(s)}]),title:e.title},null,10,ls))],64))}}),cs={style:{"text-align":"center"}},Te={__name:"LoadingIndicator",setup(t){const{t:e}=it();return(n,o)=>(r.openBlock(),r.createElementBlock("div",cs,r.toDisplayString(r.unref(e)("common.loading")),1))}};function us({currentPage:t,itemsPerPage:e=20,totalItems:n,rangeLength:o=5,update:a=rt}){const s=r.computed(()=>Math.ceil(r.unref(n)/e)),i=r.computed(()=>{const p=r.unref(t)-1,m=Array.from({length:s.value},(h,g)=>g+1),d=Math.floor(o/2);let f=Math.max(p-d,0);return f+o>=s.value&&(f=Math.max(s.value-o,0)),m.slice(f,f+o)}),l=p=>{const m=r.unref(t)+p;u(m)&&a(m)},c=p=>{u(p)&&a(p)},u=p=>p<=s.value&&p>0;return{page:t,range:i,pageCount:s,goTo:c,pageStep:l}}const ds={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"},fs=r.createElementVNode("polyline",{points:"15 18 9 12 15 6"},null,-1),ms=[fs];function ps(t,e){return r.openBlock(),r.createElementBlock("svg",ds,ms)}const hs={render:ps},gs={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"},ys=r.createElementVNode("polyline",{points:"9 18 15 12 9 6"},null,-1),bs=[ys];function Ss(t,e){return r.openBlock(),r.createElementBlock("svg",gs,bs)}const ws={render:Ss},_s=["disabled"],Ts=["disabled"],ks={key:1,class:"is-disabled"},$s=["disabled","onClick"],Os={key:2,class:"is-disabled"},Es=[r.createElementVNode("span",null,"...",-1)],As=["disabled"],Ps=["disabled"],Ns={__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=nt("paginator"),{page:a,pageCount:s,range:i,goTo:l,pageStep:c}=us({currentPage:r.computed(()=>n.page),totalItems:r.computed(()=>n.totalItems),itemsPerPage:n.itemsPerPage,rangeLength:n.rangeLength,update:u=>e("change",u)});return(u,p)=>r.unref(s)>1?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(r.unref(o))},[r.createElementVNode("button",{type:"button",disabled:r.unref(a)===1,onClick:p[0]||(p[0]=m=>r.unref(c)(-1))},[r.renderSlot(u.$slots,"prev",{},()=>[r.createVNode(r.unref(hs),{class:"icon paginator-left"})])],8,_s),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("button",{key:0,type:"button",disabled:r.unref(a)===1,onClick:p[1]||(p[1]=m=>r.unref(l)(1))},"1",8,Ts)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",ks,"...")),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(i),m=>(r.openBlock(),r.createElementBlock("button",{type:"button",key:m,class:r.normalizeClass({"is-active":m===r.unref(a)}),disabled:m===r.unref(a),onClick:d=>r.unref(l)(m)},r.toDisplayString(m),11,$s))),128)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",Os,Es)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("button",{key:3,type:"button",disabled:r.unref(a)===r.unref(s),onClick:p[2]||(p[2]=m=>r.unref(l)(r.unref(s)))},r.toDisplayString(r.unref(s)),9,As)),r.createElementVNode("button",{type:"button",disabled:r.unref(a)===r.unref(s),onClick:p[3]||(p[3]=r.withModifiers(m=>r.unref(c)(1),["prevent"]))},[r.renderSlot(u.$slots,"next",{},()=>[r.createVNode(r.unref(ws),{class:"icon paginator-left"})])],8,Ps)],2)):r.createCommentVNode("",!0)}},ke={__name:"ResponsiveTable",setup(t){const e=r.ref(null),n=nt("table-responsive");return(o,a)=>(r.openBlock(),r.createElementBlock("div",{ref_key:"el",ref:e,class:r.normalizeClass(r.unref(n))},[r.renderSlot(o.$slots,"default",{el:e.value})],2))}};var ut=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function bt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Wn={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(ut,function(){var n=1e3,o=6e4,a=36e5,s="millisecond",i="second",l="minute",c="hour",u="day",p="week",m="month",d="quarter",f="year",h="date",g="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,k=/\[([^\]]+)]|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,$={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"],_=E%100;return"["+E+(T[(_-20)%10]||T[_]||T[0])+"]"}},A=function(E,T,_){var O=String(E);return!O||O.length>=T?E:""+Array(T+1-O.length).join(_)+E},x={s:A,z:function(E){var T=-E.utcOffset(),_=Math.abs(T),O=Math.floor(_/60),S=_%60;return(T<=0?"+":"-")+A(O,2,"0")+":"+A(S,2,"0")},m:function E(T,_){if(T.date()<_.date())return-E(_,T);var O=12*(_.year()-T.year())+(_.month()-T.month()),S=T.clone().add(O,m),P=_-S<0,v=T.clone().add(O+(P?-1:1),m);return+(-(O+(_-S)/(P?S-v:v-S))||0)},a:function(E){return E<0?Math.ceil(E)||0:Math.floor(E)},p:function(E){return{M:m,y:f,w:p,d:u,D:h,h:c,m:l,s:i,ms:s,Q:d}[E]||String(E||"").toLowerCase().replace(/s$/,"")},u:function(E){return E===void 0}},D="en",B={};B[D]=$;var R=function(E){return E instanceof I},F=function E(T,_,O){var S;if(!T)return D;if(typeof T=="string"){var P=T.toLowerCase();B[P]&&(S=P),_&&(B[P]=_,S=P);var v=T.split("-");if(!S&&v.length>1)return E(v[0])}else{var M=T.name;B[M]=T,S=M}return!O&&S&&(D=S),S||!O&&D},L=function(E,T){if(R(E))return E.clone();var _=typeof T=="object"?T:{};return _.date=E,_.args=arguments,new I(_)},N=x;N.l=F,N.i=R,N.w=function(E,T){return L(E,{locale:T.$L,utc:T.$u,x:T.$x,$offset:T.$offset})};var I=function(){function E(_){this.$L=F(_.locale,null,!0),this.parse(_)}var T=E.prototype;return T.parse=function(_){this.$d=function(O){var S=O.date,P=O.utc;if(S===null)return new Date(NaN);if(N.u(S))return new Date;if(S instanceof Date)return new Date(S);if(typeof S=="string"&&!/Z$/i.test(S)){var v=S.match(y);if(v){var M=v[2]-1||0,j=(v[7]||"0").substring(0,3);return P?new Date(Date.UTC(v[1],M,v[3]||1,v[4]||0,v[5]||0,v[6]||0,j)):new Date(v[1],M,v[3]||1,v[4]||0,v[5]||0,v[6]||0,j)}}return new Date(S)}(_),this.$x=_.x||{},this.init()},T.init=function(){var _=this.$d;this.$y=_.getFullYear(),this.$M=_.getMonth(),this.$D=_.getDate(),this.$W=_.getDay(),this.$H=_.getHours(),this.$m=_.getMinutes(),this.$s=_.getSeconds(),this.$ms=_.getMilliseconds()},T.$utils=function(){return N},T.isValid=function(){return this.$d.toString()!==g},T.isSame=function(_,O){var S=L(_);return this.startOf(O)<=S&&S<=this.endOf(O)},T.isAfter=function(_,O){return L(_)<this.startOf(O)},T.isBefore=function(_,O){return this.endOf(O)<L(_)},T.$g=function(_,O,S){return N.u(_)?this[O]:this.set(S,_)},T.unix=function(){return Math.floor(this.valueOf()/1e3)},T.valueOf=function(){return this.$d.getTime()},T.startOf=function(_,O){var S=this,P=!!N.u(O)||O,v=N.p(_),M=function($t,Z){var ft=N.w(S.$u?Date.UTC(S.$y,Z,$t):new Date(S.$y,Z,$t),S);return P?ft:ft.endOf(u)},j=function($t,Z){return N.w(S.toDate()[$t].apply(S.toDate("s"),(P?[0,0,0,0]:[23,59,59,999]).slice(Z)),S)},G=this.$W,U=this.$M,dt=this.$D,at="set"+(this.$u?"UTC":"");switch(v){case f:return P?M(1,0):M(31,11);case m:return P?M(1,U):M(0,U+1);case p:var Bt=this.$locale().weekStart||0,It=(G<Bt?G+7:G)-Bt;return M(P?dt-It:dt+(6-It),U);case u:case h:return j(at+"Hours",0);case c:return j(at+"Minutes",1);case l:return j(at+"Seconds",2);case i:return j(at+"Milliseconds",3);default:return this.clone()}},T.endOf=function(_){return this.startOf(_,!1)},T.$set=function(_,O){var S,P=N.p(_),v="set"+(this.$u?"UTC":""),M=(S={},S[u]=v+"Date",S[h]=v+"Date",S[m]=v+"Month",S[f]=v+"FullYear",S[c]=v+"Hours",S[l]=v+"Minutes",S[i]=v+"Seconds",S[s]=v+"Milliseconds",S)[P],j=P===u?this.$D+(O-this.$W):O;if(P===m||P===f){var G=this.clone().set(h,1);G.$d[M](j),G.init(),this.$d=G.set(h,Math.min(this.$D,G.daysInMonth())).$d}else M&&this.$d[M](j);return this.init(),this},T.set=function(_,O){return this.clone().$set(_,O)},T.get=function(_){return this[N.p(_)]()},T.add=function(_,O){var S,P=this;_=Number(_);var v=N.p(O),M=function(U){var dt=L(P);return N.w(dt.date(dt.date()+Math.round(U*_)),P)};if(v===m)return this.set(m,this.$M+_);if(v===f)return this.set(f,this.$y+_);if(v===u)return M(1);if(v===p)return M(7);var j=(S={},S[l]=o,S[c]=a,S[i]=n,S)[v]||1,G=this.$d.getTime()+_*j;return N.w(G,this)},T.subtract=function(_,O){return this.add(-1*_,O)},T.format=function(_){var O=this,S=this.$locale();if(!this.isValid())return S.invalidDate||g;var P=_||"YYYY-MM-DDTHH:mm:ssZ",v=N.z(this),M=this.$H,j=this.$m,G=this.$M,U=S.weekdays,dt=S.months,at=function(Z,ft,ve,te){return Z&&(Z[ft]||Z(O,P))||ve[ft].slice(0,te)},Bt=function(Z){return N.s(M%12||12,Z,"0")},It=S.meridiem||function(Z,ft,ve){var te=Z<12?"AM":"PM";return ve?te.toLowerCase():te},$t={YY:String(this.$y).slice(-2),YYYY:this.$y,M:G+1,MM:N.s(G+1,2,"0"),MMM:at(S.monthsShort,G,dt,3),MMMM:at(dt,G),D:this.$D,DD:N.s(this.$D,2,"0"),d:String(this.$W),dd:at(S.weekdaysMin,this.$W,U,2),ddd:at(S.weekdaysShort,this.$W,U,3),dddd:U[this.$W],H:String(M),HH:N.s(M,2,"0"),h:Bt(1),hh:Bt(2),a:It(M,j,!0),A:It(M,j,!1),m:String(j),mm:N.s(j,2,"0"),s:String(this.$s),ss:N.s(this.$s,2,"0"),SSS:N.s(this.$ms,3,"0"),Z:v};return P.replace(k,function(Z,ft){return ft||$t[Z]||v.replace(":","")})},T.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},T.diff=function(_,O,S){var P,v=N.p(O),M=L(_),j=(M.utcOffset()-this.utcOffset())*o,G=this-M,U=N.m(this,M);return U=(P={},P[f]=U/12,P[m]=U,P[d]=U/3,P[p]=(G-j)/6048e5,P[u]=(G-j)/864e5,P[c]=G/a,P[l]=G/o,P[i]=G/n,P)[v]||G,S?U:N.a(U)},T.daysInMonth=function(){return this.endOf(m).$D},T.$locale=function(){return B[this.$L]},T.locale=function(_,O){if(!_)return this.$L;var S=this.clone(),P=F(_,O,!0);return P&&(S.$L=P),S},T.clone=function(){return N.w(this.$d,this)},T.toDate=function(){return new Date(this.valueOf())},T.toJSON=function(){return this.isValid()?this.toISOString():null},T.toISOString=function(){return this.$d.toISOString()},T.toString=function(){return this.$d.toUTCString()},E}(),H=I.prototype;return L.prototype=H,[["$ms",s],["$s",i],["$m",l],["$H",c],["$W",u],["$M",m],["$y",f],["$D",h]].forEach(function(E){H[E[1]]=function(T){return this.$g(T,E[0],E[1])}}),L.extend=function(E,T){return E.$i||(E(T,I,L),E.$i=!0),L},L.locale=F,L.isDayjs=R,L.unix=function(E){return L(1e3*E)},L.en=B[D],L.Ls=B,L.p={},L})})(Wn);var Kn=Wn.exports;const W=bt(Kn);var Zn={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(ut,function(){var n="minute",o=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(s,i,l){var c=i.prototype;l.utc=function(g){var y={date:g,utc:!0,args:arguments};return new i(y)},c.utc=function(g){var y=l(this.toDate(),{locale:this.$L,utc:!0});return g?y.add(this.utcOffset(),n):y},c.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var u=c.parse;c.parse=function(g){g.utc&&(this.$u=!0),this.$utils().u(g.$offset)||(this.$offset=g.$offset),u.call(this,g)};var p=c.init;c.init=function(){if(this.$u){var g=this.$d;this.$y=g.getUTCFullYear(),this.$M=g.getUTCMonth(),this.$D=g.getUTCDate(),this.$W=g.getUTCDay(),this.$H=g.getUTCHours(),this.$m=g.getUTCMinutes(),this.$s=g.getUTCSeconds(),this.$ms=g.getUTCMilliseconds()}else p.call(this)};var m=c.utcOffset;c.utcOffset=function(g,y){var k=this.$utils().u;if(k(g))return this.$u?0:k(this.$offset)?m.call(this):this.$offset;if(typeof g=="string"&&(g=function(D){D===void 0&&(D="");var B=D.match(o);if(!B)return null;var R=(""+B[0]).match(a)||["-",0,0],F=R[0],L=60*+R[1]+ +R[2];return L===0?0:F==="+"?L:-L}(g),g===null))return this;var $=Math.abs(g)<=16?60*g:g,A=this;if(y)return A.$offset=$,A.$u=g===0,A;if(g!==0){var x=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(A=this.local().add($+x,n)).$offset=$,A.$x.$localOffset=x}else A=this.utc();return A};var d=c.format;c.format=function(g){var y=g||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return d.call(this,y)},c.valueOf=function(){var g=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*g},c.isUTC=function(){return!!this.$u},c.toISOString=function(){return this.toDate().toISOString()},c.toString=function(){return this.toDate().toUTCString()};var f=c.toDate;c.toDate=function(g){return g==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var h=c.diff;c.diff=function(g,y,k){if(g&&this.$u===g.$u)return h.call(this,g,y,k);var $=this.local(),A=l(g).local();return h.call($,A,y,k)}}})})(Zn);var vs=Zn.exports;const xs=bt(vs);var qn={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(ut,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},o={};return function(a,s,i){var l,c=function(d,f,h){h===void 0&&(h={});var g=new Date(d),y=function(k,$){$===void 0&&($={});var A=$.timeZoneName||"short",x=k+"|"+A,D=o[x];return D||(D=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:k,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:A}),o[x]=D),D}(f,h);return y.formatToParts(g)},u=function(d,f){for(var h=c(d,f),g=[],y=0;y<h.length;y+=1){var k=h[y],$=k.type,A=k.value,x=n[$];x>=0&&(g[x]=parseInt(A,10))}var D=g[3],B=D===24?0:D,R=g[0]+"-"+g[1]+"-"+g[2]+" "+B+":"+g[4]+":"+g[5]+":000",F=+d;return(i.utc(R).valueOf()-(F-=F%1e3))/6e4},p=s.prototype;p.tz=function(d,f){d===void 0&&(d=l);var h=this.utcOffset(),g=this.toDate(),y=g.toLocaleString("en-US",{timeZone:d}),k=Math.round((g-new Date(y))/1e3/60),$=i(y).$set("millisecond",this.$ms).utcOffset(15*-Math.round(g.getTimezoneOffset()/15)-k,!0);if(f){var A=$.utcOffset();$=$.add(h-A,"minute")}return $.$x.$timezone=d,$},p.offsetName=function(d){var f=this.$x.$timezone||i.tz.guess(),h=c(this.valueOf(),f,{timeZoneName:d}).find(function(g){return g.type.toLowerCase()==="timezonename"});return h&&h.value};var m=p.startOf;p.startOf=function(d,f){if(!this.$x||!this.$x.$timezone)return m.call(this,d,f);var h=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return m.call(h,d,f).tz(this.$x.$timezone,!0)},i.tz=function(d,f,h){var g=h&&f,y=h||f||l,k=u(+i(),y);if(typeof d!="string")return i(d).tz(y);var $=function(B,R,F){var L=B-60*R*1e3,N=u(L,F);if(R===N)return[L,R];var I=u(L-=60*(N-R)*1e3,F);return N===I?[L,N]:[B-60*Math.min(N,I)*1e3,Math.max(N,I)]}(i.utc(d,g).valueOf(),k,y),A=$[0],x=$[1],D=i(A).utcOffset(x);return D.$x.$timezone=y,D},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(d){l=d}}})})(qn);var Ds=qn.exports;const Ls=bt(Ds);var Xn={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(ut,function(){return function(n,o){var a=o.prototype,s=a.format;a.format=function(i){var l=this,c=this.$locale();if(!this.isValid())return s.bind(this)(i);var u=this.$utils(),p=(i||"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(m){switch(m){case"Q":return Math.ceil((l.$M+1)/3);case"Do":return c.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return c.ordinal(l.week(),"W");case"w":case"ww":return u.s(l.week(),m==="w"?1:2,"0");case"W":case"WW":return u.s(l.isoWeek(),m==="W"?1:2,"0");case"k":case"kk":return u.s(String(l.$H===0?24:l.$H),m==="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 m}});return s.bind(this)(p)}}})})(Xn);var Ms=Xn.exports;const Cs=bt(Ms);var Jn={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(ut,function(){return function(n,o){o.prototype.isSameOrBefore=function(a,s){return this.isSame(a,s)||this.isBefore(a,s)}}})})(Jn);var Bs=Jn.exports;const Is=bt(Bs);var Qn={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(ut,function(){return function(n,o,a){o.prototype.isBetween=function(s,i,l,c){var u=a(s),p=a(i),m=(c=c||"()")[0]==="(",d=c[1]===")";return(m?this.isAfter(u,l):!this.isBefore(u,l))&&(d?this.isBefore(p,l):!this.isAfter(p,l))||(m?this.isBefore(u,l):!this.isAfter(u,l))&&(d?this.isAfter(p,l):!this.isBefore(p,l))}}})})(Qn);var zs=Qn.exports;const Vs=bt(zs);var tr={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(ut,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,s){var i=a.prototype,l=i.format;s.en.formats=n,i.format=function(c){c===void 0&&(c="YYYY-MM-DDTHH:mm:ssZ");var u=this.$locale().formats,p=function(m,d){return m.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(f,h,g){var y=g&&g.toUpperCase();return h||d[g]||n[g]||d[y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(k,$,A){return $||A.slice(1)})})}(c,u===void 0?{}:u);return l.call(this,p)}}})})(tr);var Rs=tr.exports;const Gs=bt(Rs);var js={exports:{}};(function(t,e){(function(n,o){t.exports=o(Kn)})(ut,function(n){function o(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var a=o(n),s={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(i){return i+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(i,l,c,u){return"néhány másodperc"+(u||l?"":"e")},m:function(i,l,c,u){return"egy perc"+(u||l?"":"e")},mm:function(i,l,c,u){return i+" perc"+(u||l?"":"e")},h:function(i,l,c,u){return"egy "+(u||l?"óra":"órája")},hh:function(i,l,c,u){return i+" "+(u||l?"óra":"órája")},d:function(i,l,c,u){return"egy "+(u||l?"nap":"napja")},dd:function(i,l,c,u){return i+" "+(u||l?"nap":"napja")},M:function(i,l,c,u){return"egy "+(u||l?"hónap":"hónapja")},MM:function(i,l,c,u){return i+" "+(u||l?"hónap":"hónapja")},y:function(i,l,c,u){return"egy "+(u||l?"év":"éve")},yy:function(i,l,c,u){return i+" "+(u||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(s,null,!0),s})})(js),W.extend(xs),W.extend(Ls),W.extend(Cs),W.extend(Gs),W.extend(Is),W.extend(Vs);const er=()=>W.tz.guess(),kt=(t="",e="",n="",o="hu")=>(n=n||W.tz.guess(),W(t).isValid()?W(t).tz(n).locale(o).format(e):""),Mt=(t="",e="",n="hu")=>{if(!W(t).isValid())return"";e=e||W.tz.guess();const a=new Intl.DateTimeFormat(Fs(n),{timeZone:e,timeZoneName:"short"}).formatToParts(new Date(t)).find(s=>s.type==="timeZoneName");return a&&a.value},Fs=t=>wn.get(t),$e=t=>{const e=t.split(":");return parseInt(e[0],10)*60+parseInt(e[1],10)},nr=t=>{const e=~~(t/60),n=~~t%60;return[e.toString().padStart(2,"0"),n.toString().padStart(2,"0")].join(":")},rr=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(":")},or=(t,e="day")=>W().isSameOrBefore(W(t),e),Ys=(t,e,n)=>W(t).isBetween(e,W(n)),Hs=(t,e,n="month")=>W(t).isSame(e,n),Us=["onClick"],Ws={__name:"TimezoneSelector",props:{locale:{type:String,default:"hu"},currentZone:{type:String,required:!0}},emits:["change"],setup(t,{emit:e}){const n=t,{t:o}=it(),a=nt("timezone-selector"),s=r.computed(()=>Mt(new Date,null,n.locale)),i=er(),l=r.computed(()=>Array.from(_n.values()).map(u=>({...u,isActive:Mt(new Date,n.currentZone,n.locale)===Mt(new Date,u.timezone,n.locale),zoneOffsetName:Mt(new Date,u.timezone,n.locale)}))),c=u=>e("change",u);return(u,p)=>(r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(r.unref(a))},[r.createVNode(r.unref(pn),{path:"common.selectTimezone",tag:"span"},{timezone:r.withCtx(()=>[r.createElementVNode("a",{href:"#",onClick:p[0]||(p[0]=r.withModifiers(m=>c(r.unref(i)),["prevent"]))},r.toDisplayString(s.value),1)]),_:1}),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(l.value,m=>(r.openBlock(),r.createElementBlock("a",{key:m.countryLabelKey,href:"#",class:r.normalizeClass({"is-active":m.isActive}),onClick:r.withModifiers(d=>c(m.timezone),["prevent"])},r.toDisplayString(r.unref(o)(`common.${m.countryLabelKey}`))+" ("+r.toDisplayString(m.zoneOffsetName)+") ",11,Us))),128))],2))}},Oe=(t,e="",n={})=>{const o=r.ref(""),{t:a}=it(),s=r.computed(()=>{if(r.unref(e))try{const c=ar(r.unref(t),r.unref(e));return qo(c,r.unref(t))}catch(c){o.value=c}return r.unref(t)}),i=c=>({...c,...c.label&&{label:a(c.label??"",r.unref(n))},...c.tooltip&&{tooltip:a(c.tooltip??"")}});return{columns:r.computed(()=>pt(i,s.value)),error:o}},ar=(t,e="")=>{const n=pt(Kt,At(",",e)),o=mt(t);if(n[0]==="")return resolve([]);const a=n.findIndex(s=>!o.includes(s));if(a>-1)throw n[a];return n};class Ee extends Error{constructor(e,n={}){const{key:o,cause:a}=n;super(e),this.name="WidgetError",this.key=o,this.cause=a}}const Ct={message:"Undefined Column name Message",options:{key:"undefined-column",cause:{}}},Ks={message:"Invalid season name",options:{key:"invalid-season-name",cause:{}}},Zs={class:"is-portrait-image"},qs={class:"is-team-name-long"},Xs={class:"is-team-name-short"},Js={class:"is-team-name-long"},Qs={class:"is-team-name-short"},ti={class:"is-team-name-long"},ei={class:"is-team-name-short"},ni=["href"],ri={class:"is-team-name-long"},oi={class:"is-team-name-short"},ai=["href"],si={key:0,class:"is-text-dark"},ii=["href","target"],li={__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,{columns:o,hideColumns:a}=r.toRefs(n),{onError:s}=_e(),{columns:i,error:l}=Oe(o,a,r.computed(()=>({offsetName:n.offsetName})));l.value&&s(new Ee(Ct.message,{...Ct.options,cause:{column:l.value}}));const c=u=>e("sort",u);return(u,p)=>(r.openBlock(),r.createBlock(ke,null,{default:r.withCtx(({el:m})=>[r.createVNode(we,{columns:r.unref(i),sort:n.sort,rows:n.rows,"is-loading":t.isLoading,"append-to":t.appendTo||m,onSort:c},r.createSlots({"cell-index":r.withCtx(({row:d})=>[r.createElementVNode("span",{class:r.normalizeClass(d.indexClass)},r.toDisplayString(d.index),3)]),"cell-playerPortrait":r.withCtx(({row:d})=>[r.createElementVNode("div",Zs,[(r.openBlock(),r.createBlock(yt,{key:d.player.playerId,src:d.player.picture,"default-src":r.unref(yn)},null,8,["src","default-src"]))])]),"cell-teamLogo":r.withCtx(({row:d})=>{var f,h;return[(r.openBlock(),r.createBlock(yt,{class:"is-logo-image",key:((f=d.team)==null?void 0:f.id)??d.id,src:(h=d.team)==null?void 0:h.logo},null,8,["src"]))]}),"cell-homeTeamLogo":r.withCtx(({row:d})=>{var f,h;return[(r.openBlock(),r.createBlock(yt,{class:"is-logo-image is-right",key:(f=d.homeTeam)==null?void 0:f.id,src:(h=d.homeTeam)==null?void 0:h.logo},null,8,["src"]))]}),"cell-awayTeamLogo":r.withCtx(({row:d})=>{var f,h;return[(r.openBlock(),r.createBlock(yt,{class:"is-logo-image is-right",key:(f=d.awayTeam)==null?void 0:f.id,src:(h=d.awayTeam)==null?void 0:h.logo},null,8,["src"]))]}),"cell-teamName":r.withCtx(({row:d})=>{var f,h;return[r.createElementVNode("span",qs,r.toDisplayString((f=d.team)==null?void 0:f.longName),1),r.createElementVNode("span",Xs,r.toDisplayString((h=d.team)==null?void 0:h.shortName),1)]}),"cell-homeTeamName":r.withCtx(({row:d})=>{var f,h;return[r.createElementVNode("span",Js,r.toDisplayString((f=d.homeTeam)==null?void 0:f.longName),1),r.createElementVNode("span",Qs,r.toDisplayString((h=d.homeTeam)==null?void 0:h.shortName),1)]}),"cell-awayTeamName":r.withCtx(({row:d})=>{var f,h;return[r.createElementVNode("span",ti,r.toDisplayString((f=d.awayTeam)==null?void 0:f.longName),1),r.createElementVNode("span",ei,r.toDisplayString((h=d.awayTeam)==null?void 0:h.shortName),1)]}),"cell-location":r.withCtx(({row:d})=>{var f;return[r.createTextVNode(r.toDisplayString(((f=d.location)==null?void 0:f.locationName)??""),1)]}),"cell-gameResult":r.withCtx(({row:d})=>[d.gameStatus===0?(r.openBlock(),r.createElementBlock("span",si,"-:-")):(r.openBlock(),r.createElementBlock("a",{key:1,href:t.externalGameResolver(d.gameId),target:t.externalGameResolverTarget,class:r.normalizeClass({"is-text-dark":d.gameStatus!==1,"is-text-accent":d.gameStatus===1})},r.toDisplayString(d.homeTeamScore)+":"+r.toDisplayString(d.awayTeamScore),11,ii))]),loading:r.withCtx(()=>[r.createVNode(Te)]),_:2},[t.isTeamLinked?{name:"cell-teamName",fn:r.withCtx(({row:d})=>{var f,h,g;return[r.createElementVNode("a",{href:t.externalTeamResolver((f=d.team)==null?void 0:f.longName),target:"_blank"},[r.createElementVNode("span",ri,r.toDisplayString((h=d.team)==null?void 0:h.longName),1),r.createElementVNode("span",oi,r.toDisplayString((g=d.team)==null?void 0:g.shortName),1)],8,ni)]}),key:"0"}:void 0,t.isPlayerLinked?{name:"cell-name",fn:r.withCtx(({row:d})=>[r.createElementVNode("a",{href:t.externalPlayerResolver(d.id),target:"_blank"},r.toDisplayString(d.name),9,ai)]),key:"1"}:void 0]),1032,["columns","sort","rows","is-loading","append-to"])]),_:1}))}},sr={gameName:{label:"table.gameName.short",tooltip:"table.gameName.tooltip",class:"is-text-left is-text-light"},gameDateDate:{label:"table.gameDate.short",tooltip:"table.gameDate.tooltip",class:"is-text-left"},gameDateTime:{label:"table.gameDateTime.short",tooltip:"table.gameDateTime.tooltip",class:"is-text-left"},homeTeamName:{label:"table.homeTeam.short",tooltip:"table.homeTeam.tooltip",class:"is-text-right is-w-auto is-text-bold"},homeTeamLogo:{label:"",class:"is-has-image"},gameResult:{label:"",class:"is-text-bold is-text-xl"},gameResultType:{label:"",tooltip:""},awayTeamLogo:{label:"",class:"is-has-image"},awayTeamName:{label:"table.awayTeam.short",tooltip:"table.awayTeam.tooltip",class:"is-text-left is-w-auto is-text-bold"},location:{label:"table.location.short",tooltip:"table.location.tooltip",class:"is-text-left"},broadcast:{label:"table.broadcast.short",tooltip:"table.broadcast.tooltip"},more:{label:""}},ci={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},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:C}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:C}]},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:C}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"points",direction:b},{target:"gamesPlayed",direction:C},{target:"w",direction:b},{target:"gd",direction:b},{target:"gf",direction:b}]}},ui={index:{label:"#",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},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:C}]},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:C}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"points",direction:b}]}},di={index:{label:"#",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:C}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:C}]},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}]},shoots:{label:"table.sog.short",tooltip:"table.sog.tooltip",sortOrders:[{target:"shoots",direction:b}]},shootPercent:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"shootPercent",direction:b}]}},fi={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:C}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:C}]},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}]}},mi={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:C}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:C}]},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}]},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}]}},pi={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},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}]}},hi={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},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}]}},gi={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},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}]}},yi={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},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}]}},bi={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},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:C}]},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:C}]},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:C}]},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:C}]},sp:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"sp",direction:b}]}},ir=async(t,e,n)=>{const o=`${hn}${r.unref(t)}?${Si(n)}`;return new Promise((a,s)=>{fetch(o,{method:"GET",cache:"no-cache",headers:{"Content-Type":"application/json","X-API-KEY":wi(e)}}).then(i=>i.json()).then(i=>{if(i.error)return s(i);a(i.data)}).catch(i=>{s(i)})})},Si=t=>Object.keys(t).map(e=>e+"="+t[e]).join("&"),wi=t=>{var e;return t||((e=window.__MJSZ_VBR_WIDGET__)!=null&&e.apiKey?window.__MJSZ_VBR_WIDGET__.apiKey:{}.NODE_ENV!=="production"?"dd8adf5fdb738b3741fa579b5ede5ce69b681f62":"")},_i=(t={})=>{const{initial:e=1,items:n=[],limit:o,auto:a=!1}=t,s=r.ref(e),i=u=>or(u,"day");return br(n,()=>{if(!a)return;const u=Lo(Jo(i,"gameDate"))(r.unref(n));s.value=u===-1?1:Math.floor(u/o)+1}),{page:s,change:u=>{s.value=u}}},Ti=({options:t={},transform:e=a=>a,onError:n=rt,onSuccess:o=rt})=>{const{path:a,apiKey:s,params:i,resetOnExecute:l=!1,immediate:c=!1}=t,{state:u,error:p,isLoading:m,execute:d}=Ie(()=>ir(a,s,r.unref(i)).then(f=>e(f)),[],{immediate:c,resetOnExecute:l,onError:n,onSuccess:o});return{state:u,error:p,isLoading:m,execute:d}};/*! *****************************************************************************
10
10
  Copyright (c) Microsoft Corporation.
11
11
 
12
12
  Permission to use, copy, modify, and/or distribute this software for any
@@ -19,4 +19,4 @@ var MjszVbrElementsCore=function(S,o){"use strict";const ft=t=>({}.VITE_CSS_CLAS
19
19
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
20
20
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
21
21
  PERFORMANCE OF THIS SOFTWARE.
22
- ***************************************************************************** */function an(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n,i,a=r.call(t),s=[];try{for(;(e===void 0||e-- >0)&&!(n=a.next()).done;)s.push(n.value)}catch(l){i={error:l}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(i)throw i.error}}return s}var sn;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(sn||(sn={}));var ns={type:"xstate.init"};function we(t){return t===void 0?[]:[].concat(t)}function ln(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 ve(t){return function(e){return t===e}}function os(t){return typeof t=="string"?{type:t}:t}function cn(t,e){return{value:t,context:e,actions:[],changed:!1,matches:ve(t)}}function un(t,e,r){var n=e,i=!1;return[t.filter(function(a){if(a.type==="xstate.assign"){i=!0;var s=Object.assign({},n);return typeof a.assignment=="function"?s=a.assignment(n,r):Object.keys(a.assignment).forEach(function(l){s[l]=typeof a.assignment[l]=="function"?a.assignment[l](n,r):a.assignment[l]}),n=s,!1}return!0}),n,i]}function as(t,e){e===void 0&&(e={});var r=an(un(we(t.states[t.initial].entry).map(function(s){return ln(s,e.actions)}),t.context,ns),2),n=r[0],i=r[1],a={config:t,_options:e,initialState:{value:t.initial,actions:n,context:i,matches:ve(t.initial)},transition:function(s,l){var u,c,h=typeof s=="string"?{value:s,context:t.context}:s,f=h.value,p=h.context,d=os(l),g=t.states[f];if(g.on){var m=we(g.on[d.type]);try{for(var y=function(w){var E=typeof Symbol=="function"&&Symbol.iterator,L=E&&w[E],N=0;if(L)return L.call(w);if(w&&typeof w.length=="number")return{next:function(){return w&&N>=w.length&&(w=void 0),{value:w&&w[N++],done:!w}}};throw new TypeError(E?"Object is not iterable.":"Symbol.iterator is not defined.")}(m),A=y.next();!A.done;A=y.next()){var T=A.value;if(T===void 0)return cn(f,p);var $=typeof T=="string"?{target:T}:T,D=$.target,x=$.actions,I=x===void 0?[]:x,G=$.cond,F=G===void 0?function(){return!0}:G,M=D===void 0,k=D??f,B=t.states[k];if(F(p,d)){var H=an(un((M?we(I):[].concat(g.exit,I,B.entry).filter(function(w){return w})).map(function(w){return ln(w,a._options.actions)}),p,d),3),O=H[0],_=H[1],v=H[2],P=D??f;return{value:P,context:_,actions:O,changed:D!==f||O.length>0||v,matches:ve(P)}}}}catch(w){u={error:w}}finally{try{A&&!A.done&&(c=y.return)&&c.call(y)}finally{if(u)throw u.error}}}return cn(f,p)}};return a}const is=as({id:"sort",initial:nt,states:{[nt]:{on:{DIRECTION1:b,DIRECTION2:C}},[b]:{on:{DIRECTION1:C,DIRECTION2:nt}},[C]:{on:{DIRECTION1:nt,DIRECTION2:b}}}}),ss=(t,e)=>{const r=e===C?"DIRECTION2":"DIRECTION1";return is.transition(t,r).value};function ls(t={}){const{sortTarget:e=null,orders:r=[]}=t,n=o.reactive({sortTarget:e,orders:r});return{sort:n,change:({target:a,orders:s})=>{if(n.sortTarget!==a){n.sortTarget=a,n.orders=s;return}const l=s.map((u,c)=>({...u,direction:ss(n.orders[c].direction,u.direction)}));n.sortTarget=a,n.orders=l}}}function cs(t=!1,e=at,r=at){const n=$n();o.watch(n,i=>{if(o.unref(t)){if(i==="visible")return e();r()}})}const us=(t=[])=>({result:[...t],filteredRowsLength:0,isFiltered:!1,value(){return{rows:this.result,totalItems:this.filteredRowsLength,totalItems:this.isFiltered?this.filteredRowsLength:t.length}},filter(e,r=[],n=!1){if(e){const i=r.map(s=>n?Xo(s,e):Je(bt(s),na,Bo(e))),a=je(lo([...i]),this.result);this.isFiltered=!0,this.filteredRowsLength=a.length,this.result=a}return this},sorted(e){if(!e.sortTarget)return this;if(e.orders[0].direction===nt)return this;const r=Co(Vt(C),Ze(Xe),Ze(Po));return this.result=er(e.orders.map(n=>Qe(r(n.direction),bt)(n.target)))(this.result),this},addIndex(e=null){return this.result.reduce((r,n,i)=>{const a=r[r.length-1]||[],s=e&&a[e]===n[e];return n.index=s?a.index:i+1,n.indexClass=s?"is-duplicated":null,r.push(n),r},[]),this},addContinuousIndex(){return this.result=this.result.map((e,r)=>({...e,index:r+1})),this},pagination(e,r){e=Number(e),r=Number(r);const n=(e-1)*r,i=n+r;return this.result=this.result.slice(n,i),this},playerName(){return this.result=this.result.map(e=>({...e,name:`${e.lastName} ${e.firstName}`})),this},schedule(e="",r="hu"){return this.result=this.result.map(n=>({...n,gameResult:`${n.homeTeamScore}-${n.awayTeamScore}`,gameDateDate:Xt(n.gameDate,"L dddd",e,r),gameDateTime:Xt(n.gameDate,"HH:mm",e,r)})),this},gameDateFilter(e){return e===null?this:(this.result=this.result.filter(r=>new Date(r.gameDate).getMonth()==e),this)},convertTimes(e=[]){return this.result=this.result.map(r=>(e.map(n=>r[n]?r[`${n}Sec`]=ye(r[n]):r),r)),this},groupByDays(){return this.result=Mo(e=>Xt(e.gameDate,"YYYY-MM-DD"))(this.result),this}}),fs=(t,...e)=>pt(Qe(...e))(t),ds=t=>({...t,...t.lastName&&{name:`${t.lastName} ${t.firstName}`}}),ps=(t=[])=>e=>(t.map(r=>e[r]?e[`${r}Sec`]=ye(e[r]):e),e),ms=(t=[])=>e=>(t.map(r=>e[`${r}Min`]=Qr(e[r])),e),hs=er([(t,e)=>new Date(t.gameDate).getTime()-new Date(e.gameDate).getTime(),Xe(bt("id"))]),gs=(t,e)=>{const r=Se("gameResolver")||t;return typeof r=="function"?r(e):r?r+e:sr+e},ys=(t,e)=>{const r=Se("teamResolver")||t;return typeof r=="function"?r(e):encodeURI(r?r+e:ur+e)},bs=(t,e)=>{const r=Se("playerResolver")||t;return typeof r=="function"?r(e):encodeURI(r?r+e:cr+e)},Se=(t="")=>{var e;return(e=window==null?void 0:window.__MJSZ_VBR_WIDGET__)==null?void 0:e[t]},ws={locale:{type:String,default:"hu"},championshipId:{type:String,default:""},division:{type:String,default:""},apiKey:{type:String,default:""},hideColumns:{type:String,default:""}},fn={externalTeamLink:{type:[String,Function],default:""},isTeamLinked:{type:Boolean,default:!1}},vs={limit:{type:Number,default:20},teamFilterByName:{type:String,default:""},externalPlayerLink:{type:[String,Function],default:""},isPlayerLinked:{type:Boolean,default:!1},...fn},Ss={name:{label:"table.gameName.short",tooltip:"table.gameName.tooltip",class:"is-text-left is-text-light"},gameDateDate:{label:"table.gameDate.short",tooltip:"table.gameDate.tooltip",class:"is-text-left"},gameDateTime:{label:"table.gameDateTime.short",tooltip:"table.gameDateTime.tooltip",class:"is-text-left"},homeTeamName:{label:"table.homeTeam.short",tooltip:"table.homeTeam.tooltip",class:"is-text-right is-w-auto is-text-bold"},homeTeamLogo:{label:"",class:"is-has-image"},gameResult:{label:"",class:"is-text-bold is-text-xl"},gameResultType:{label:"",tooltip:""},awayTeamLogo:{label:"",class:"is-has-image"},awayTeamName:{label:"table.awayTeam.short",tooltip:"table.awayTeam.tooltip",class:"is-text-left is-w-auto is-text-bold"},location:{label:"table.location.short",tooltip:"table.location.tooltip",class:"is-text-left"},broadcast:{label:"table.broadcast.short",tooltip:"table.broadcast.tooltip"},more:{label:""}},_s={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},m:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"m",direction:b}]},p3:{label:"table.wins.short",tooltip:"table.wins.tooltip",sortOrders:[{target:"p3",direction:b},{target:"p2",direction:b}]},p2:{label:"table.otw.short",tooltip:"table.otw.tooltip",sortOrders:[{target:"p2",direction:b}]},p1:{label:"table.otl.short",tooltip:"table.otl.tooltip",sortOrders:[{target:"p1",direction:C}]},p0:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"p0",direction:C}]},plus:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"plus",direction:b}]},minus:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"minus",direction:C}]},gk:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gk",direction:b}]},p:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"p",direction:b}]}},As={index:{label:"#",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},m:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"m",direction:b}]},p2:{label:"table.wins.short",tooltip:"table.wins.tooltip",sortOrders:[{target:"p2",direction:b},{target:"p1",direction:b}]},p1:{label:"table.draw.short",tooltip:"table.draw.tooltip",sortOrders:[{target:"p1",direction:b},{target:"p2",direction:b}]},p0:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"p0",direction:C}]},plus:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"plus",direction:b}]},minus:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"minus",direction:C}]},gk:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gk",direction:b}]},p:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"p",direction:b}]}},Ts={index:{label:"#",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:C}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:C}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},g:{label:"table.goals.short",tooltip:"table.goals.tooltip",sortOrders:[{target:"g",direction:b},{target:"a",direction:b}]},a:{label:"table.assists.short",tooltip:"table.assists.tooltip",sortOrders:[{target:"a",direction:b},{target:"g",direction:b}]},point:{label:"table.points.short",tooltip:"table.points.tooltip",sortOrders:[{target:"point",direction:b}]},plusMinus:{label:"table.plusMinus.short",tooltip:"table.plusMinus.tooltip",sortOrders:[{target:"plusMinus",direction:b}]},shoot:{label:"table.sog.short",tooltip:"table.sog.tooltip",sortOrders:[{target:"shoot",direction:b}]},shootPercent:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"shootPercent",direction:b}]}},Ps={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:C}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:C}]},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}]}},Os={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:C}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:C}]},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}]},mip:{label:"table.toi.short",tooltip:"table.toi.tooltip",sortOrders:[{target:"mipSec",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}]},sa:{label:"table.sa.short",tooltip:"table.sa.tooltip",sortOrders:[{target:"sa",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}]}},$s={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},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}]}},Es={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},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}]}},ks={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},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}]},dvgTime:{label:"table.dvgTime.short",tooltip:"table.dvgTime.tooltip",sortOrders:[{target:"dvgTimeSec",direction:b}]},dvgTimePP1:{label:"table.dvgTimePP1.short",tooltip:"table.dvgTimePP1.tooltip",sortOrders:[{target:"dvgTimePP1Sec",direction:b}]},dvgTimePP2:{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}]}},Ls={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},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}]},advTime:{label:"table.advTime.short",tooltip:"table.advTime.tooltip",sortOrders:[{target:"advTimeSec",direction:b}]},advTimePP1:{label:"table.advTimePP1.short",tooltip:"table.advTimePP1.tooltip",sortOrders:[{target:"advTimePP1Sec",direction:b}]},advTimePP2:{label:"table.advTimePP2.short",tooltip:"table.advTimePP2.tooltip",sortOrders:[{target:"advTimePP2Sec",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}]}},Ds={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},m:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},plus:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"plus",direction:b}]},minus:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"minus",direction:C}]},gk:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gk",direction:b}]},GFGP:{label:"table.gfgp.short",tooltip:"table.gfgp.tooltip",sortOrders:[{target:"GFGP",direction:b}]},GAGP:{label:"table.gagp.short",tooltip:"table.gagp.tooltip",sortOrders:[{target:"GAGP",direction:C}]},Shots:{label:"table.sog.short",tooltip:"table.sog.tooltip",sortOrders:[{target:"Shots",direction:b}]},SA:{label:"table.sa.short",tooltip:"table.sa.tooltip",sortOrders:[{target:"SA",direction:C}]},ShotsGP:{label:"table.sogp.short",tooltip:"table.sogp.tooltip",sortOrders:[{target:"ShotsGP",direction:b}]},SAGP:{label:"table.sagp.short",tooltip:"table.sagp.tooltip",sortOrders:[{target:"SAGP",direction:C}]},GFShots:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"GFShots",direction:b}]}},xs=({modules:t=[],apiKey:e,gameResolver:r,teamResolver:n,playerResolver:i})=>{if(window.__MJSZ_VBR_WIDGET__={apiKey:e,gameResolver:r,teamResolver:n,playerResolver:i},t.length===0)throw new Error("At least one module must be set");t.forEach(a=>{if(a.register)return a.register();a==null||a()})};return S.AVAILABLE_TIMEZONES_BY_COUNTRY=dr,S.BaseSelect=dn,S.COLUMNS_FIELD_PLAYERS=Ts,S.COLUMNS_FIELD_PLAYERS_PENALTY=Ps,S.COLUMNS_GOALIES=Os,S.COLUMNS_SCHEDULE=Ss,S.COLUMNS_SCORING_EFFICIENCY=Ds,S.COLUMNS_STANDINGS_P_2=As,S.COLUMNS_STANDINGS_P_3=_s,S.COLUMNS_TEAMS_FAIRPLAY=Es,S.COLUMNS_TEAMS_PENALTY_KILLING=ks,S.COLUMNS_TEAMS_POWERPLAY=Ls,S.COLUMNS_TEAM_ATTENDANCE=$s,S.DEFAULT_EXTERNAL_BASE_URL=sr,S.DEFAULT_EXTERNAL_PLAYER_URL=cr,S.DEFAULT_EXTERNAL_TEAM_URL=ur,S.DEFAULT_PORTRAIT_IMAGE_URL=lr,S.DataTable=Ir,S.ErrorNotice=Za,S.ErrorProvider=Ja,S.FloatingPanel=Cr,S.I18NProvider=ni,S.Image=ge,S.InvalidSeasonName=Hi,S.LAZY_LOADING_STATE_DELAY=pr,S.LOCALE_FOR_LANG=fr,S.LoadingIndicator=jr,S.Paginator=Oi,S.REFRESH_DELAY=fa,S.ResponsiveTable=Fr,S.SORT_STATE_ASCEND=C,S.SORT_STATE_DESCEND=b,S.SORT_STATE_ORIGINAL=nt,S.StatisticsTable=qi,S.Test=Ji,S.TimezoneSelector=Yi,S.UndefinedColumn=be,S.VBR_API_BASE_URL=ir,S.VBR_API_GOALIE_PATH=ca,S.VBR_API_GOALIE_UNDER_PATH=ua,S.WidgetError=nn,S.appendTo=Nr,S.baseProps=ws,S.convert=us,S.convertMinToSec=ye,S.convertSecToMin=Qr,S.convertTimes=ps,S.convertTimesSecToMin=ms,S.createConfig=xs,S.createI18n=nr,S.externalGameLinkResolver=gs,S.externalPlayerLinkResolver=bs,S.externalTeamLinkResolver=ys,S.fetchVBRData=on,S.format=Xt,S.getLocalTimezone=Jr,S.i18n=ar,S.isBetween=Vi,S.isSame=ji,S.isSameOrBefore=tn,S.offsetName=xt,S.playerName=ds,S.playerStatsProps=vs,S.rawConvert=fs,S.sortGames=hs,S.stringPadLeft=he,S.teamStatsProps=fn,S.toKebabCase=Br,S.useColumns=en,S.useError=Gr,S.useErrorProvider=Rr,S.useI18n=wt,S.useLazyLoadingState=De,S.useMainClass=ft,S.usePage=es,S.useServices=rs,S.useSort=ls,S.useVisibilityChange=cs,S.validateColumnsName=rn,Object.defineProperty(S,Symbol.toStringTag,{value:"Module"}),S}({},Vue);
22
+ ***************************************************************************** */function lr(t,e){var n=typeof Symbol=="function"&&t[Symbol.iterator];if(!n)return t;var o,a,s=n.call(t),i=[];try{for(;(e===void 0||e-- >0)&&!(o=s.next()).done;)i.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(n=s.return)&&n.call(s)}finally{if(a)throw a.error}}return i}var cr;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(cr||(cr={}));var ki={type:"xstate.init"};function Ae(t){return t===void 0?[]:[].concat(t)}function ur(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 Pe(t){return function(e){return t===e}}function $i(t){return typeof t=="string"?{type:t}:t}function dr(t,e){return{value:t,context:e,actions:[],changed:!1,matches:Pe(t)}}function fr(t,e,n){var o=e,a=!1;return[t.filter(function(s){if(s.type==="xstate.assign"){a=!0;var i=Object.assign({},o);return typeof s.assignment=="function"?i=s.assignment(o,n):Object.keys(s.assignment).forEach(function(l){i[l]=typeof s.assignment[l]=="function"?s.assignment[l](o,n):s.assignment[l]}),o=i,!1}return!0}),o,a]}function Oi(t,e){e===void 0&&(e={});var n=lr(fr(Ae(t.states[t.initial].entry).map(function(i){return ur(i,e.actions)}),t.context,ki),2),o=n[0],a=n[1],s={config:t,_options:e,initialState:{value:t.initial,actions:o,context:a,matches:Pe(t.initial)},transition:function(i,l){var c,u,p=typeof i=="string"?{value:i,context:t.context}:i,m=p.value,d=p.context,f=$i(l),h=t.states[m];if(h.on){var g=Ae(h.on[f.type]);try{for(var y=function(S){var P=typeof Symbol=="function"&&Symbol.iterator,v=P&&S[P],M=0;if(v)return v.call(S);if(S&&typeof S.length=="number")return{next:function(){return S&&M>=S.length&&(S=void 0),{value:S&&S[M++],done:!S}}};throw new TypeError(P?"Object is not iterable.":"Symbol.iterator is not defined.")}(g),k=y.next();!k.done;k=y.next()){var $=k.value;if($===void 0)return dr(m,d);var A=typeof $=="string"?{target:$}:$,x=A.target,D=A.actions,B=D===void 0?[]:D,R=A.cond,F=R===void 0?function(){return!0}:R,L=x===void 0,N=x??m,I=t.states[N];if(F(d,f)){var H=lr(fr((L?Ae(B):[].concat(h.exit,B,I.entry).filter(function(S){return S})).map(function(S){return ur(S,s._options.actions)}),d,f),3),E=H[0],T=H[1],_=H[2],O=x??m;return{value:O,context:T,actions:E,changed:x!==m||E.length>0||_,matches:Pe(O)}}}}catch(S){c={error:S}}finally{try{k&&!k.done&&(u=y.return)&&u.call(y)}finally{if(c)throw c.error}}}return dr(m,d)}};return s}const Ei=Oi({id:"sort",initial:ot,states:{[ot]:{on:{DIRECTION1:b,DIRECTION2:C}},[b]:{on:{DIRECTION1:C,DIRECTION2:ot}},[C]:{on:{DIRECTION1:ot,DIRECTION2:b}}}}),Ai=(t,e)=>{const n=e===C?"DIRECTION2":"DIRECTION1";return Ei.transition(t,n).value};function Pi(t={}){const{sortTarget:e=null,orders:n=[]}=t,o=r.reactive({sortTarget:e,orders:n});return{sort:o,change:({target:s,orders:i})=>{if(o.sortTarget!==s){o.sortTarget=s,o.orders=i;return}const l=i.map((c,u)=>({...c,direction:Ai(o.orders[u].direction,c.direction)}));o.sortTarget=s,o.orders=l}}}function Ni(t=!1,e=rt,n=rt){const o=Nr();r.watch(o,a=>{if(r.unref(t)){if(a==="visible")return e();n()}})}const vi=(t=[])=>({result:[...t],filteredRowsLength:0,isFiltered:!1,value(){return{rows:this.result,totalItems:this.filteredRowsLength,totalItems:this.isFiltered?this.filteredRowsLength:t.length}},filter(e,n=[],o=!1){if(e){const a=n.map(i=>o?fe(cn(i),Yt(e)):fe(wt(i),na,Vo(e))),s=Xe(uo([...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===ot)return this;const n=Io(Yt(C),an(ce),an(Ao));return this.result=un(e.orders.map(o=>sn(n(o.direction),wt)(o.target)))(this.result),this},addIndex(e=null){return this.result.reduce((n,o,a)=>{const s=n[n.length-1]||[],i=e&&s[e]===o[e];return o.index=i?s.index:a+1,o.indexClass=i?"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},playerName(){return this.result=this.result.map(e=>({...e,name:`${e.lastName} ${e.firstName}`})),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`]=$e(n[o]):n),n)),this},groupByDays(){return this.result=Co(e=>kt(e.gameDate,"YYYY-MM-DD"))(this.result),this}}),xi=(t,...e)=>pt(sn(...e))(t),Di=t=>{var e;return{...t,...t.lastName&&t.firstName&&{name:`${t.lastName} ${t.firstName}`},...((e=t.player)==null?void 0:e.playerId)&&{name:`${t.player.lastName} ${t.player.firstName}`}}},Li=t=>{var e;return{...t,...((e=t==null?void 0:t.team)==null?void 0:e.id)&&{teamName:t.team.longName}}},Mi=(t="",e="hu")=>n=>({...n,gameDateDate:kt(n.gameDate,"L dddd",t,e),gameDateTime:kt(n.gameDate,"HH:mm",t,e)}),Ci=t=>e=>({...e,gameResult:Yi(e,t)}),Bi=t=>e=>({...e,opponent:Fi(e,t)}),Ii=t=>e=>({...e,resultType:Hi(e)}),zi=(t=[])=>e=>{var n;return{...e,[t]:(n=e[t])==null?void 0:n.toUpperCase()}},Vi=(t=[])=>e=>(t.map(n=>e[n]?e[`${n}Sec`]=$e(e[n]):e),e),Ri=(t=[])=>e=>(t.map(n=>e[n]?e[`${n}Min`]=rr(e[n]):e),e),Gi=(t=[])=>e=>(t.map(n=>e[`${n}Min`]=nr(e[n])),e),ji=un([(t,e)=>new Date(t.gameDate).getTime()-new Date(e.gameDate).getTime(),ce(wt("id")),ce(wt("gameId"))]);function Fi(t,e){var n,o,a;return((n=t==null?void 0:t.homeTeam)==null?void 0:n.id)===e?((o=t==null?void 0:t.awayTeam)==null?void 0:o.shortName)??"":`@ ${((a=t==null?void 0:t.homeTeam)==null?void 0:a.shortName)??""}`}function Yi(t,e){var a;let n=t==null?void 0:t.homeTeamScore,o=t==null?void 0:t.awayTeamScore;return((a=t==null?void 0:t.awayTeam)==null?void 0:a.id)===e&&(n=t==null?void 0:t.awayTeamScore,o=t==null?void 0:t.homeTeamScore),[n,o].join(":")}function Hi(t,e){const n=t.gameResult.split(":"),o=n[0]>n[1],a=n[0]<n[1];return o&&t.isOvertime?"OTW":o&&t.isShootout?"SOW":o?"W":a&&t.isOvertime?"OTL":a&&t.isShootout?"SOL":a?"L":"D"}const Ui=(t,e)=>{const n=Ne("gameResolver")||t;return typeof n=="function"?n(e):n?n+e:gn+e},Wi=(t,e)=>{const n=Ne("teamResolver")||t;return typeof n=="function"?n(e):encodeURI(n?n+e:Sn+e)},Ki=(t,e)=>{const n=Ne("playerResolver")||t;return typeof n=="function"?n(e):encodeURI(n?n+e:bn+e)},Ne=(t="")=>{var e;return(e=window==null?void 0:window.__MJSZ_VBR_WIDGET__)==null?void 0:e[t]},Zi={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"},qi=r.createElementVNode("rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",ry:"2"},null,-1),Xi=r.createElementVNode("line",{x1:"8",y1:"21",x2:"16",y2:"21"},null,-1),Ji=r.createElementVNode("line",{x1:"12",y1:"17",x2:"12",y2:"21"},null,-1),Qi=[qi,Xi,Ji];function tl(t,e){return r.openBlock(),r.createElementBlock("svg",Zi,Qi)}const el={render:tl},nl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},rl=r.createElementVNode("circle",{cx:"12",cy:"12",r:"1"},null,-1),ol=r.createElementVNode("circle",{cx:"12",cy:"5",r:"1"},null,-1),al=r.createElementVNode("circle",{cx:"12",cy:"19",r:"1"},null,-1),sl=[rl,ol,al];function il(t,e){return r.openBlock(),r.createElementBlock("svg",nl,sl)}const ll={render:il},cl={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"},ul=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),dl=r.createElementVNode("rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"},null,-1),fl=[ul,dl];function ml(t,e){return r.openBlock(),r.createElementBlock("svg",cl,fl)}const pl={render:ml},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"},gl=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),yl=r.createElementVNode("polygon",{points:"9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"},null,-1),bl=[gl,yl];function Sl(t,e){return r.openBlock(),r.createElementBlock("svg",hl,bl)}const wl={render:Sl},_l={class:"is-team-name-long"},Tl={class:"is-team-name-short"},kl={class:"is-team-name-long"},$l={class:"is-team-name-short"},Ol={key:0,class:"is-text-dark"},El=["href","target"],Al={key:0,class:"label"},Pl={key:1,class:"label"},Nl={key:2,class:"label"},vl={key:1},xl=["onClick","onFocus","onBlur"],Dl={class:"is-dropdown-menu"},Ll=["href","target"],Ml={key:0},Cl=["href"],Bl={__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}=_e(),{columns:a,error:s}=Oe(sr,r.computed(()=>e.hideColumns),r.computed(()=>({offsetName:e.offsetName})));Sr(s,()=>o(new Ee(Ct.message,{...Ct.options,cause:{column:s.value}})),{immediate:!0});const{t:i}=it();return(l,c)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createVNode(ke,null,{default:r.withCtx(({el:u})=>[r.createVNode(we,{columns:r.unref(a),rows:e.rows,"is-loading":t.isLoading,"append-to":n.value||u},{"cell-homeTeamName":r.withCtx(({row:p})=>[r.createElementVNode("span",_l,r.toDisplayString(p.homeTeam.longName),1),r.createElementVNode("span",Tl,r.toDisplayString(p.homeTeam.shortName),1)]),"cell-awayTeamName":r.withCtx(({row:p})=>[r.createElementVNode("span",kl,r.toDisplayString(p.awayTeam.longName),1),r.createElementVNode("span",$l,r.toDisplayString(p.awayTeam.shortName),1)]),"cell-homeTeamLogo":r.withCtx(({row:p})=>[(r.openBlock(),r.createBlock(yt,{class:"is-logo-image is-right",key:p.homeTeam.id,src:p.homeTeam.logo},null,8,["src"]))]),"cell-awayTeamLogo":r.withCtx(({row:p})=>[(r.openBlock(),r.createBlock(yt,{class:"is-logo-image is-right",key:p.awayTeam.id,src:p.awayTeam.logo},null,8,["src"]))]),"cell-gameResult":r.withCtx(({row:p})=>[p.gameStatus===0?(r.openBlock(),r.createElementBlock("span",Ol,"-:-")):(r.openBlock(),r.createElementBlock("a",{key:1,href:t.externalGameResolver(p.gameId),target:t.externalGameResolverTarget,class:r.normalizeClass({"is-text-dark":p.gameStatus!==1,"is-text-accent":p.gameStatus===1})},r.toDisplayString(p.homeTeamScore)+":"+r.toDisplayString(p.awayTeamScore),11,El))]),"cell-gameResultType":r.withCtx(({row:p})=>[p.isOvertime?(r.openBlock(),r.createElementBlock("span",Al,r.toDisplayString(r.unref(i)("common.overtimeShort")),1)):r.createCommentVNode("",!0),p.isShootout?(r.openBlock(),r.createElementBlock("span",Pl,r.toDisplayString(r.unref(i)("common.shootoutShort")),1)):r.createCommentVNode("",!0),p.seriesStandings?(r.openBlock(),r.createElementBlock("span",Nl,r.toDisplayString(p.seriesStandings),1)):r.createCommentVNode("",!0)]),"cell-broadcast":r.withCtx(({row:p})=>[p.broadcast?(r.openBlock(),r.createBlock(r.unref(el),{key:0})):(r.openBlock(),r.createElementBlock("span",vl))]),"cell-location":r.withCtx(({row:p})=>{var m;return[r.createTextVNode(r.toDisplayString(((m=p.location)==null?void 0:m.locationName)??""),1)]}),"cell-more":r.withCtx(({row:p})=>[r.createVNode(Se,{offset:2,placement:"left",theme:"content","append-to":u},{default:r.withCtx(({setRef:m,show:d,hide:f})=>[r.createElementVNode("button",{ref:m,onClick:r.withModifiers(d,["stop"]),onFocus:d,onBlur:f},[r.createVNode(r.unref(ll))],40,xl)]),content:r.withCtx(()=>[r.createElementVNode("ul",Dl,[r.createElementVNode("li",null,[r.createElementVNode("a",{href:t.externalGameResolver(p.gameId),class:"is-dropdown-item",target:t.externalGameResolverTarget},[r.createVNode(r.unref(pl),{width:"14"}),r.createTextVNode(" "+r.toDisplayString(r.unref(i)("common.report")),1)],8,Ll)]),p.video?(r.openBlock(),r.createElementBlock("li",Ml,[r.createElementVNode("a",{href:p.video,class:"is-dropdown-item",target:"_blank"},[r.createVNode(r.unref(wl),{width:"14"}),r.createTextVNode(" "+r.toDisplayString(r.unref(i)("common.video")),1)],8,Cl)])):r.createCommentVNode("",!0)])]),_:2},1032,["append-to"])]),loading:r.withCtx(()=>[r.createVNode(Te)]),_:2},1032,["columns","rows","is-loading","append-to"])]),_:1}),r.createElementVNode("div",{ref_key:"tooltipContainer",ref:n},null,512)],64))}},Il={class:"g-row"},zl=["value"],Vl={key:0},Rl=["onClick"],Gl={__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,{t:o}=it(),a=r.computed({get(){return n.championshipId},set(i){e("onChangeSeason",i)}});function s(i){e("onChangeSection",i)}return(i,l)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createElementVNode("div",Il,[r.createElementVNode("div",null,[r.createElementVNode("label",{for:"season",class:r.normalizeClass(r.unref(nt)("label"))},r.toDisplayString(r.unref(o)("selection.season")),3),r.createVNode(xe,{id:"season",modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=c=>a.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,zl))),128))]),_:1},8,["modelValue"])])]),t.isSectionSelectionDisabled?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",Vl,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(t.sections,c=>(r.openBlock(),r.createElementBlock("button",{key:c.phaseId,onClick:u=>s(c),class:r.normalizeClass([r.unref(nt)("tab-button"),{"is-active":c.sectionId===t.sectionId}])},r.toDisplayString(c.sectionName),11,Rl))),128))]))],64))}},jl={};function Fl(t,e){return r.openBlock(),r.createElementBlock("div",null," Test-8 ")}const Yl=Un(jl,[["render",Fl]]),Hl={locale:{type:String,default:"hu"},championshipId:{type:String,default:""},division:{type:String,default:""},apiKey:{type:String,default:""},hideColumns:{type:String,default:""}},mr={externalTeamLink:{type:[String,Function],default:""},isTeamLinked:{type:Boolean,default:!1}},Ul={limit:{type:Number,default:20},teamFilterByName:{type:String,default:""},externalPlayerLink:{type:[String,Function],default:""},isPlayerLinked:{type:Boolean,default:!1},...mr},Wl=({modules:t=[],apiKey:e,gameResolver:n,teamResolver:o,playerResolver:a})=>{if(window.__MJSZ_VBR_WIDGET__={apiKey:e,gameResolver:n,teamResolver:o,playerResolver:a},t.length===0)throw new Error("At least one module must be set");t.forEach(s=>{if(s.register)return s.register();s==null||s()})};return w.AVAILABLE_TIMEZONES_BY_COUNTRY=_n,w.BaseSelect=xe,w.COLUMNS_FIELD_PLAYERS=di,w.COLUMNS_FIELD_PLAYERS_PENALTY=fi,w.COLUMNS_GOALIES=mi,w.COLUMNS_SCHEDULE=sr,w.COLUMNS_SCORING_EFFICIENCY=bi,w.COLUMNS_STANDINGS_P_2=ui,w.COLUMNS_STANDINGS_P_3=ci,w.COLUMNS_TEAMS_FAIRPLAY=hi,w.COLUMNS_TEAMS_PENALTY_KILLING=gi,w.COLUMNS_TEAMS_POWERPLAY=yi,w.COLUMNS_TEAM_ATTENDANCE=pi,w.DEFAULT_EXTERNAL_BASE_URL=gn,w.DEFAULT_EXTERNAL_PLAYER_URL=bn,w.DEFAULT_EXTERNAL_TEAM_URL=Sn,w.DEFAULT_PORTRAIT_IMAGE_URL=yn,w.DataTable=we,w.ErrorNotice=Qa,w.ErrorProvider=es,w.FloatingPanel=Se,w.I18NProvider=ss,w.Image=yt,w.InvalidSeasonName=Ks,w.LAZY_LOADING_STATE_DELAY=Tn,w.LOCALE_FOR_LANG=wn,w.LoadingIndicator=Te,w.Paginator=Ns,w.REFRESH_DELAY=la,w.ResponsiveTable=ke,w.SORT_STATE_ASCEND=C,w.SORT_STATE_DESCEND=b,w.SORT_STATE_ORIGINAL=ot,w.ScheduleTable=Bl,w.SeasonSelector=Gl,w.StatisticsTable=li,w.Test=Yl,w.TimezoneSelector=Ws,w.UndefinedColumn=Ct,w.VBR_API_BASE_URL=hn,w.WidgetError=Ee,w.appendTo=jn,w.baseProps=Hl,w.convert=vi,w.convertMinToMinSec=rr,w.convertMinToSec=$e,w.convertSecToMin=nr,w.convertTimes=Vi,w.convertTimesMinToMinSec=Ri,w.convertTimesSecToMin=Gi,w.createConfig=Wl,w.createI18n=fn,w.externalGameLinkResolver=Ui,w.externalPlayerLinkResolver=Ki,w.externalTeamLinkResolver=Wi,w.fetchVBRData=ir,w.format=kt,w.gameDateTime=Mi,w.gameResult=Ci,w.getLocalTimezone=er,w.i18n=pn,w.isBetween=Ys,w.isSame=Hs,w.isSameOrBefore=or,w.offsetName=Mt,w.playerName=Di,w.playerStatsProps=Ul,w.rawConvert=xi,w.sortGames=ji,w.teamName=Li,w.teamOpponent=Bi,w.teamResultType=Ii,w.teamStatsProps=mr,w.toKebabCase=Fn,w.upperCase=zi,w.useColumns=Oe,w.useError=_e,w.useErrorProvider=Hn,w.useI18n=it,w.useLazyLoadingState=Re,w.useMainClass=nt,w.usePage=_i,w.useServices=Ti,w.useSort=Pi,w.useVisibilityChange=Ni,w.validateColumnsName=ar,Object.defineProperty(w,Symbol.toStringTag,{value:"Module"}),w}({},Vue);