@mjsz-vbr-elements/core 2.2.2 → 2.2.4

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.2.2 - 08/01/2024, 11:28:50
3
+ * version: v2.2.4 - 08/02/2024, 22:26:29
4
4
  * (c) 2024
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
7
7
  */
8
- var MjszVbrElementsCore=function(w,r){"use strict";var Er={VITE_VBR_API_URL:"https://api.icehockey.hu/vbr",VITE_VBR_API_KEY:"",VITE_USER_NODE_ENV:"production",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const rt=t=>(Er.VITE_CSS_CLASS_PREFIX||"mjsz-vbr-")+t,ze={__name:"BaseSelect",props:{modelValue:{type:[String,Number],default:null}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,o=e,a=rt("base-input"),s=r.computed({get:()=>n.modelValue,set:i=>o("update:modelValue",i)});return(i,l)=>r.withDirectives((r.openBlock(),r.createElementBlock("select",{"onUpdate:modelValue":l[0]||(l[0]=u=>s.value=u),class:r.normalizeClass([r.unref(a),"is-select"])},[r.renderSlot(i.$slots,"default")],2)),[[r.vModelSelect,s.value]])}};function Re(t){return r.getCurrentScope()?(r.onScopeDispose(t),!0):!1}function nt(t){return typeof t=="function"?t():r.unref(t)}const jt=typeof window<"u",ot=()=>{},vr=Ar();function Ar(){var t;return jt&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function xr(t,e){function n(...o){return new Promise((a,s)=>{Promise.resolve(t(()=>e.apply(this,o),{fn:e,thisArg:this,args:o})).then(a).catch(s)})}return n}const Ve=t=>t();function Nr(t=Ve){const e=r.ref(!0);function n(){e.value=!1}function o(){e.value=!0}const a=(...s)=>{e.value&&t(...s)};return{isActive:r.readonly(e),pause:n,resume:o,eventFilter:a}}function ae(t,e=!1,n="Timeout"){return new Promise((o,a)=>{setTimeout(e?()=>a(n):o,t)})}function se(t,e=!1){function n(m,{flush:p="sync",deep:d=!1,timeout:g,throwOnTimeout:h}={}){let y=null;const $=[new Promise(k=>{y=r.watch(t,A=>{m(A)!==e&&(y==null||y(),k(A))},{flush:p,deep:d,immediate:!0})})];return g!=null&&$.push(ae(g,h).then(()=>nt(t)).finally(()=>y==null?void 0:y())),Promise.race($)}function o(m,p){if(!r.isRef(m))return n(A=>A===m,p);const{flush:d="sync",deep:g=!1,timeout:h,throwOnTimeout:y}=p??{};let T=null;const k=[new Promise(A=>{T=r.watch([t,m],([v,M])=>{e!==(v===M)&&(T==null||T(),A(v))},{flush:d,deep:g,immediate:!0})})];return h!=null&&k.push(ae(h,y).then(()=>nt(t)).finally(()=>(T==null||T(),nt(t)))),Promise.race(k)}function a(m){return n(p=>!!p,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 u(m,p){return n(d=>{const g=Array.from(d);return g.includes(m)||g.includes(nt(m))},p)}function c(m){return f(1,m)}function f(m=1,p){let d=-1;return n(()=>(d+=1,d>=m),p)}return Array.isArray(nt(t))?{toMatch:n,toContains:u,changed:c,changedTimes:f,get not(){return se(t,!e)}}:{toMatch:n,toBe:o,toBeTruthy:a,toBeNull:s,toBeNaN:l,toBeUndefined:i,changed:c,changedTimes:f,get not(){return se(t,!e)}}}function Dr(t){return se(t)}function Mr(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 u(...c){i(),a.value=!0,s=setTimeout(()=>{a.value=!1,s=null,t(...c)},nt(e))}return o&&(a.value=!0,jt&&u()),Re(l),{isPending:r.readonly(a),start:u,stop:l}}var Ge=Object.getOwnPropertySymbols,Lr=Object.prototype.hasOwnProperty,Cr=Object.prototype.propertyIsEnumerable,Br=(t,e)=>{var n={};for(var o in t)Lr.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&Ge)for(var o of Ge(t))e.indexOf(o)<0&&Cr.call(t,o)&&(n[o]=t[o]);return n};function Ir(t,e,n={}){const o=n,{eventFilter:a=Ve}=o,s=Br(o,["eventFilter"]);return r.watch(t,xr(a,e),s)}function je(t,e,n){const o=r.watch(t,(...a)=>(r.nextTick(()=>o()),e(...a)),n)}var zr=Object.defineProperty,Rr=Object.defineProperties,Vr=Object.getOwnPropertyDescriptors,Ft=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,Ue=(t,e,n)=>e in t?zr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Gr=(t,e)=>{for(var n in e||(e={}))Fe.call(e,n)&&Ue(t,n,e[n]);if(Ft)for(var n of Ft(e))Ye.call(e,n)&&Ue(t,n,e[n]);return t},jr=(t,e)=>Rr(t,Vr(e)),Fr=(t,e)=>{var n={};for(var o in t)Fe.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&Ft)for(var o of Ft(t))e.indexOf(o)<0&&Ye.call(t,o)&&(n[o]=t[o]);return n};function Yr(t,e,n={}){const o=n,{eventFilter:a}=o,s=Fr(o,["eventFilter"]),{eventFilter:i,pause:l,resume:u,isActive:c}=Nr(a);return{stop:Ir(t,e,jr(Gr({},s),{eventFilter:i})),pause:l,resume:u,isActive:c}}function Ur(t,e,n){return r.watch(t,(o,a,s)=>{o&&e(o,a,s)},n)}function Ot(t){var e;const n=nt(t);return(e=n==null?void 0:n.$el)!=null?e:n}const He=jt?window:void 0,Hr=jt?window.document:void 0;function Yt(...t){let e,n,o,a;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,o,a]=t,e=He):[e,n,o,a]=t,!e)return ot;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const s=[],i=()=>{s.forEach(f=>f()),s.length=0},l=(f,m,p,d)=>(f.addEventListener(m,p,d),()=>f.removeEventListener(m,p,d)),u=r.watch(()=>[Ot(e),nt(a)],([f,m])=>{i(),f&&s.push(...n.flatMap(p=>o.map(d=>l(f,p,d,m))))},{immediate:!0,flush:"post"}),c=()=>{u(),i()};return Re(c),c}let We=!1;function Wr(t,e,n={}){const{window:o=He,ignore:a=[],capture:s=!0,detectIframe:i=!1}=n;if(!o)return;vr&&!We&&(We=!0,Array.from(o.document.body.children).forEach(p=>p.addEventListener("click",ot)));let l=!0;const u=p=>a.some(d=>{if(typeof d=="string")return Array.from(o.document.querySelectorAll(d)).some(g=>g===p.target||p.composedPath().includes(g));{const g=Ot(d);return g&&(p.target===g||p.composedPath().includes(g))}}),f=[Yt(o,"click",p=>{const d=Ot(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:s}),Yt(o,"pointerdown",p=>{const d=Ot(t);d&&(l=!p.composedPath().includes(d)&&!u(p))},{passive:!0}),i&&Yt(o,"blur",p=>{var d;const g=Ot(t);((d=o.document.activeElement)==null?void 0:d.tagName)==="IFRAME"&&!(g!=null&&g.contains(o.document.activeElement))&&e(p)})].filter(Boolean);return()=>f.forEach(p=>p())}var Kr=Object.defineProperty,qr=Object.defineProperties,Zr=Object.getOwnPropertyDescriptors,Ke=Object.getOwnPropertySymbols,Xr=Object.prototype.hasOwnProperty,Jr=Object.prototype.propertyIsEnumerable,qe=(t,e,n)=>e in t?Kr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Qr=(t,e)=>{for(var n in e||(e={}))Xr.call(e,n)&&qe(t,n,e[n]);if(Ke)for(var n of Ke(e))Jr.call(e,n)&&qe(t,n,e[n]);return t},to=(t,e)=>qr(t,Zr(e));function Ze(t,e,n){const{immediate:o=!0,delay:a=0,onError:s=ot,onSuccess:i=ot,resetOnExecute:l=!0,shallow:u=!0,throwError:c}=n??{},f=u?r.shallowRef(e):r.ref(e),m=r.ref(!1),p=r.ref(!1),d=r.shallowRef(void 0);async function g(T=0,...$){l&&(f.value=e),d.value=void 0,m.value=!1,p.value=!0,T>0&&await ae(T);const k=typeof t=="function"?t(...$):t;try{const A=await k;f.value=A,m.value=!0,i(A)}catch(A){if(d.value=A,s(A),c)throw A}finally{p.value=!1}return f.value}o&&g(a);const h={state:f,isReady:m,isLoading:p,error:d,execute:g};function y(){return new Promise((T,$)=>{Dr(p).toBe(!1).then(()=>T(h)).catch($)})}return to(Qr({},h),{then(T,$){return y().then(T,$)}})}function eo({document:t=Hr}={}){if(!t)return r.ref("visible");const e=r.ref(t.visibilityState);return Yt(t,"visibilitychange",()=>{e.value=t.visibilityState}),e}var no=Object.defineProperty,Xe=Object.getOwnPropertySymbols,ro=Object.prototype.hasOwnProperty,oo=Object.prototype.propertyIsEnumerable,Je=(t,e,n)=>e in t?no(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,ao=(t,e)=>{for(var n in e||(e={}))ro.call(e,n)&&Je(t,n,e[n]);if(Xe)for(var n of Xe(e))oo.call(e,n)&&Je(t,n,e[n]);return t};async function so(t){return new Promise((e,n)=>{const o=new Image,{src:a,srcset:s,sizes:i,class:l,loading:u,crossorigin:c}=t;o.src=a,s&&(o.srcset=s),i&&(o.sizes=i),l&&(o.className=l),u&&(o.loading=u),c&&(o.crossOrigin=c),o.onload=()=>e(o),o.onerror=n})}function io(t,e={}){const n=Ze(()=>so(nt(t)),void 0,ao({resetOnExecute:!0},e));return r.watch(()=>nt(t),()=>n.execute(e.delay),{deep:!0}),n}function Qe(t=[],e={}){const{delay:n=0}=e,o=r.ref(!1),a=r.computed(()=>{const l=r.unref(t);return Array.isArray(l)?l.map(u=>r.unref(u)).some(Boolean):l}),{start:s,stop:i}=Mr(()=>{o.value=!0},n);return r.watch(a,l=>{if(l)return s();i(),o.value=!1},{immediate:!0,deep:!0}),o}function G(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function j(t){return function e(n){return arguments.length===0||G(n)?e:t.apply(this,arguments)}}function z(t){return function e(n,o){switch(arguments.length){case 0:return e;case 1:return G(n)?e:j(function(a){return t(n,a)});default:return G(n)&&G(o)?e:G(n)?j(function(a){return t(a,o)}):G(o)?j(function(a){return t(n,a)}):t(n,o)}}}function Ut(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,u){return e.apply(this,arguments)};case 8:return function(n,o,a,s,i,l,u,c){return e.apply(this,arguments)};case 9:return function(n,o,a,s,i,l,u,c,f){return e.apply(this,arguments)};case 10:return function(n,o,a,s,i,l,u,c,f,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 ie(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&&(!G(e[i])||a>=arguments.length)?l=e[i]:(l=arguments[a],a+=1),o[i]=l,G(l)||(s-=1),i+=1}return s<=0?n.apply(this,o):Ut(s,ie(t,o,n))}}var vt=z(function(e,n){return e===1?j(n):Ut(e,ie(e,[],n))});function X(t){return function e(n,o,a){switch(arguments.length){case 0:return e;case 1:return G(n)?e:z(function(s,i){return t(n,s,i)});case 2:return G(n)&&G(o)?e:G(n)?z(function(s,i){return t(s,o,i)}):G(o)?z(function(s,i){return t(n,s,i)}):j(function(s){return t(n,o,s)});default:return G(n)&&G(o)&&G(a)?e:G(n)&&G(o)?z(function(s,i){return t(s,i,a)}):G(n)&&G(a)?z(function(s,i){return t(s,o,i)}):G(o)&&G(a)?z(function(s,i){return t(n,s,i)}):G(n)?j(function(s){return t(s,o,a)}):G(o)?j(function(s){return t(n,s,a)}):G(a)?j(function(s){return t(n,o,s)}):t(n,o,a)}}}const At=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function lo(t){return t!=null&&typeof t["@@transducer/step"]=="function"}function xt(t,e,n){return function(){if(arguments.length===0)return n();var o=arguments[arguments.length-1];if(!At(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(lo(o)){var s=e.apply(null,Array.prototype.slice.call(arguments,0,-1));return s(o)}}return n.apply(this,arguments)}}function le(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}const gt={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};function tn(t){for(var e=[],n;!(n=t.next()).done;)e.push(n.value);return e}function en(t,e,n){for(var o=0,a=n.length;o<a;){if(t(e,n[o]))return!0;o+=1}return!1}function co(t){var e=String(t).match(/^function (\w*)/);return e==null?"":e[1]}function Q(t,e){return Object.prototype.hasOwnProperty.call(e,t)}function uo(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}const ce=typeof Object.is=="function"?Object.is:uo;var nn=Object.prototype.toString,rn=function(){return nn.call(arguments)==="[object Arguments]"?function(e){return nn.call(e)==="[object Arguments]"}:function(e){return Q("callee",e)}}(),fo=!{toString:null}.propertyIsEnumerable("toString"),on=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],an=function(){return arguments.propertyIsEnumerable("length")}(),mo=function(e,n){for(var o=0;o<e.length;){if(e[o]===n)return!0;o+=1}return!1},yt=j(typeof Object.keys=="function"&&!an?function(e){return Object(e)!==e?[]:Object.keys(e)}:function(e){if(Object(e)!==e)return[];var n,o,a=[],s=an&&rn(e);for(n in e)Q(n,e)&&(!s||n!=="length")&&(a[a.length]=n);if(fo)for(o=on.length-1;o>=0;)n=on[o],Q(n,e)&&!mo(a,n)&&(a[a.length]=n),o-=1;return a}),ue=j(function(e){return e===null?"Null":e===void 0?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function sn(t,e,n,o){var a=tn(t),s=tn(e);function i(l,u){return de(l,u,n.slice(),o.slice())}return!en(function(l,u){return!en(i,u,l)},s,a)}function de(t,e,n,o){if(ce(t,e))return!0;var a=ue(t);if(a!==ue(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"&&co(t.constructor)==="Promise")return t===e;break;case"Boolean":case"Number":case"String":if(!(typeof t==typeof e&&ce(t.valueOf(),e.valueOf())))return!1;break;case"Date":if(!ce(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:sn(t.entries(),e.entries(),n.concat([t]),o.concat([e]));case"Set":return t.size!==e.size?!1:sn(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=yt(t);if(i.length!==yt(e).length)return!1;var l=n.concat([t]),u=o.concat([e]);for(s=i.length-1;s>=0;){var c=i[s];if(!(Q(c,e)&&de(e[c],t[c],l,u)))return!1;s-=1}return!0}var Ht=z(function(e,n){return de(e,n,[],[])});function po(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(Ht(t[n],e))return n;n+=1}return-1}function ln(t,e){return po(e,t,0)>=0}function Wt(t,e){for(var n=0,o=e.length,a=Array(o);n<o;)a[n]=t(e[n]),n+=1;return a}function fe(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 Nt=function(e){return(e<10?"0":"")+e},ho=typeof Date.prototype.toISOString=="function"?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Nt(e.getUTCMonth()+1)+"-"+Nt(e.getUTCDate())+"T"+Nt(e.getUTCHours())+":"+Nt(e.getUTCMinutes())+":"+Nt(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function go(t){return function(){return!t.apply(this,arguments)}}function cn(t,e,n){for(var o=0,a=n.length;o<a;)e=t(e,n[o]),o+=1;return e}function yo(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 Kt(t){return Object.prototype.toString.call(t)==="[object Object]"}var bo=function(){function t(e,n){this.xf=n,this.f=e}return t.prototype["@@transducer/init"]=gt.init,t.prototype["@@transducer/result"]=gt.result,t.prototype["@@transducer/step"]=function(e,n){return this.f(n)?this.xf["@@transducer/step"](e,n):e},t}();function wo(t){return function(e){return new bo(t,e)}}var me=z(xt(["fantasy-land/filter","filter"],wo,function(t,e){return Kt(e)?cn(function(n,o){return t(e[o])&&(n[o]=e[o]),n},{},yt(e)):yo(t,e)})),So=z(function(e,n){return me(go(e),n)});function un(t,e){var n=function(i){var l=e.concat([t]);return ln(i,l)?"<Circular>":un(i,l)},o=function(s,i){return Wt(function(l){return fe(l)+": "+n(s[l])},i.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+Wt(n,t).join(", ")+"))";case"[object Array]":return"["+Wt(n,t).concat(o(t,So(function(s){return/^\d+$/.test(s)},yt(t)))).join(", ")+"]";case"[object Boolean]":return typeof t=="object"?"new Boolean("+n(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?n(NaN):fe(ho(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())+")":fe(t);case"[object Undefined]":return"undefined";default:if(typeof t.toString=="function"){var a=t.toString();if(a!=="[object Object]")return a}return"{"+o(t,yt(t)).join(", ")+"}"}}var pe=j(function(e){return un(e,[])}),_o=z(function(e,n){if(e===n)return n;function o(u,c){if(u>c!=c>u)return c>u?c:u}var a=o(e,n);if(a!==void 0)return a;var s=o(typeof e,typeof n);if(s!==void 0)return s===typeof e?e:n;var i=pe(e),l=o(i,pe(n));return l!==void 0&&l===i?e:n}),To=function(){function t(e,n){this.xf=n,this.f=e}return t.prototype["@@transducer/init"]=gt.init,t.prototype["@@transducer/result"]=gt.result,t.prototype["@@transducer/step"]=function(e,n){return this.xf["@@transducer/step"](e,this.f(n))},t}(),Oo=function(e){return function(n){return new To(e,n)}},$o=z(xt(["fantasy-land/map","map"],Oo,function(e,n){switch(Object.prototype.toString.call(n)){case"[object Function]":return vt(n.length,function(){return e.call(this,n.apply(this,arguments))});case"[object Object]":return cn(function(o,a){return o[a]=e(n[a]),o},{},yt(n));default:return Wt(e,n)}}));const ut=$o,qt=Number.isInteger||function(e){return e<<0===e};function Zt(t){return Object.prototype.toString.call(t)==="[object String]"}var dn=z(function(e,n){var o=e<0?n.length+e:e;return Zt(n)?n.charAt(o):n[o]}),at=z(function(e,n){if(n!=null)return qt(e)?dn(e,n):n[e]}),Po=z(function(e,n){return ut(at(e),n)}),ko=j(function(e){return At(e)?!0:!e||typeof e!="object"||Zt(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),fn=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function Eo(t,e,n){return function(a,s,i){if(ko(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[fn]!=null)return n(a,s,i[fn]());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 vo(t,e,n){for(var o=0,a=n.length;o<a;){if(e=t["@@transducer/step"](e,n[o]),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}o+=1}return t["@@transducer/result"](e)}var Ao=z(function(e,n){return Ut(e.length,function(){return e.apply(n,arguments)})});function xo(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 No(t,e,n,o){return t["@@transducer/result"](n[o](Ao(t["@@transducer/step"],t),e))}var mn=Eo(vo,No,xo),Do=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 pn(t){return new Do(t)}var Mo=X(function(t,e,n){return mn(typeof t=="function"?pn(t):t,e,n)});const hn=Mo;var gn=j(function(e){return function(){return e}}),Lo=j(function(e){return vt(hn(_o,0,Po("length",e)),function(){for(var n=0,o=e.length;n<o;){if(e[n].apply(this,arguments))return!0;n+=1}return!1})}),he=X(function(e,n,o){var a=e(n),s=e(o);return a<s?-1:a>s?1:0});function Co(t,e,n){if(qt(t)&&At(n)){var o=[].concat(n);return o[t]=e,o}var a={};for(var s in n)a[s]=n[s];return a[t]=e,a}var Bo=j(function(e){return e==null}),Io=X(function t(e,n,o){if(e.length===0)return n;var a=e[0];if(e.length>1){var s=!Bo(o)&&Q(a,o)&&typeof o[a]=="object"?o[a]:qt(e[1])?[]:{};n=t(Array.prototype.slice.call(e,1),n,s)}return Co(a,n,o)}),zo=X(function(e,n,o){return Io([e],n,o)});function Ro(t){var e=Object.prototype.toString.call(t);return e==="[object Function]"||e==="[object AsyncFunction]"||e==="[object GeneratorFunction]"||e==="[object AsyncGeneratorFunction]"}function Vo(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 ge(t,e,n){if(n||(n=new jo),Go(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?ge(t[l],!0,n):t[l]);return s};switch(ue(t)){case"Object":return o(Object.create(Object.getPrototypeOf(t)));case"Array":return o([]);case"Date":return new Date(t.valueOf());case"RegExp":return Vo(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 Go(t){var e=typeof t;return t==null||e!="object"&&e!="function"}var jo=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 Fo(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function ye(t,e){return function(){var n=arguments.length;if(n===0)return e();var o=arguments[n-1];return At(o)||typeof o[t]!="function"?e.apply(this,arguments):o[t].apply(o,Array.prototype.slice.call(arguments,0,n-1))}}var Yo=X(ye("slice",function(e,n,o){return Array.prototype.slice.call(o,e,n)})),Uo=j(ye("tail",Yo(1,1/0)));const Ho=Uo;function Xt(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return Ut(arguments[0].length,hn(Fo,arguments[0],Ho(arguments)))}var Wo=j(function(e){return Zt(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()});const Ko=Wo;function yn(){if(arguments.length===0)throw new Error("compose requires at least one argument");return Xt.apply(this,Ko(arguments))}var qo=j(function(e){return vt(e.length,e)}),Zo=function(){function t(e,n,o,a){this.valueFn=e,this.valueAcc=n,this.keyFn=o,this.xf=a,this.inputs={}}return t.prototype["@@transducer/init"]=gt.init,t.prototype["@@transducer/result"]=function(e){var n;for(n in this.inputs)if(Q(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,ge(this.valueAcc,!1)],this.inputs[o][1]=this.valueFn(this.inputs[o][1],n),e},t}();function Xo(t,e,n){return function(o){return new Zo(t,e,n,o)}}var Jo=ie(4,[],xt([],Xo,function(e,n,o,a){var s=pn(function(i,l){var u=o(l),c=e(Q(u,i)?i[u]:ge(n,!1),l);return c&&c["@@transducer/reduced"]?le(i):(i[u]=c,i)});return mn(s,{},a)})),Qo=X(function(e,n,o){var a=e(n),s=e(o);return a>s?-1:a<s?1:0});const ta=Qo;function ea(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 na=j(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():At(e)?[]:Zt(e)?"":Kt(e)?{}:rn(e)?function(){return arguments}():ea(e)?e.constructor.from(""):void 0}),ra=function(){function t(e,n){this.xf=n,this.f=e,this.found=!1}return t.prototype["@@transducer/init"]=gt.init,t.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,void 0)),this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,n){return this.f(n)&&(this.found=!0,e=le(this.xf["@@transducer/step"](e,n))),e},t}();function oa(t){return function(e){return new ra(t,e)}}var aa=z(xt(["find"],oa,function(e,n){for(var o=0,a=n.length;o<a;){if(e(n[o]))return n[o];o+=1}})),sa=function(){function t(e,n){this.xf=n,this.f=e,this.idx=-1,this.found=!1}return t.prototype["@@transducer/init"]=gt.init,t.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,-1)),this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,n){return this.idx+=1,this.f(n)&&(this.found=!0,e=le(this.xf["@@transducer/step"](e,this.idx))),e},t}();function ia(t){return function(e){return new sa(t,e)}}var la=z(xt([],ia,function(e,n){for(var o=0,a=n.length;o<a;){if(e(n[o]))return o;o+=1}return-1})),ca=z(ye("groupBy",Jo(function(t,e){return t.push(e),t},[]))),ua=X(function(e,n,o){return vt(Math.max(e.length,n.length,o.length),function(){return e.apply(this,arguments)?n.apply(this,arguments):o.apply(this,arguments)})});const da=ua;var fa=z(ln),bn=z(function(e,n){return vt(e+1,function(){var o=arguments[e];if(o!=null&&Ro(o[n]))return o[n].apply(o,Array.prototype.slice.call(arguments,0,e));throw new TypeError(pe(o)+' does not have a method named "'+n+'"')})}),ma=j(function(e){return e!=null&&Ht(e,na(e))}),pa=z(function(e,n){return function(o){return function(a){return ut(function(s){return n(s,a)},o(e(a)))}}}),ha=z(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=qt(i)?dn(i,a):a[i],s+=1}return a})}),be=z(function(e,n){return ha([e],n)[0]}),ga=j(function(e){return pa(at(e),zo(e))}),ya=X(function(e,n,o){var a={},s;n=n||{},o=o||{};for(s in n)Q(s,n)&&(a[s]=Q(s,o)?e(s,n[s],o[s]):n[s]);for(s in o)Q(s,o)&&!Q(s,a)&&(a[s]=o[s]);return a}),ba=X(function t(e,n,o){return ya(function(a,s,i){return Kt(s)&&Kt(i)?t(e,s,i):e(a,s,i)},n,o)}),wa=z(function(e,n){return ba(function(o,a,s){return s},e,n)});const Sa=wa;var _a=z(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}),wn=function(t){return{value:t,map:function(e){return wn(e(t))}}},Ta=X(function(e,n,o){return e(function(a){return wn(n(a))})(o).value}),Sn=X(function(e,n,o){return e(at(n,o))}),Oa=X(function(e,n,o){return o.replace(e,n)}),$a=z(function(e,n){return Array.prototype.slice.call(n,0).sort(e)}),Pa=z(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 _n=Pa;var $t=bn(1,"split"),Tn=bn(0,"toLowerCase"),Dt=`
9
- \v\f\r                 \u2028\u2029\uFEFF`,ka="​",Ea=typeof String.prototype.trim=="function",va=j(!Ea||Dt.trim()||!ka.trim()?function(e){var n=new RegExp("^["+Dt+"]["+Dt+"]*"),o=new RegExp("["+Dt+"]["+Dt+"]*$");return e.replace(n,"").replace(o,"")}:function(e){return e.trim()});const Jt=va,On=Symbol("I18nContext"),K=r.reactive({messages:{},locale:"",fallbackLocale:""}),$n=({messages:t={},locale:e="",fallbackLocale:n=""})=>{K.messages=t,K.locale=e,K.fallbackLocale=n;const o=(u,c={})=>{const f=!ma(c),m=ut(Jt,$t(".",u));return r.computed(()=>{const d=Pn(m);return f?xa(d,c):d}).value},a=u=>{const c=ut(Jt,$t(".",u));return!!we(K.locale,c,K.messages)},s=u=>{K.locale=u},l={locale:r.computed({get(){return K.locale},set(u){K.locale=u}}),setLocale:s,translate:o,hasTranlation:a};return r.provide(On,l),{translate:o}},st=t=>{t&&(K.messages=t.messages,K.locale=t.locale,K.fallbackLocale=t.fallbackLocale);const e=Aa();return{locale:e.locale,t:e.translate,setLocale:e.setLocale,hasTranlation:e.hasTranlation}},Aa=()=>{const t=r.inject(On,null);if(t===null)throw new Error("Privider is missing a parent component.");return t},Pn=(t=[])=>{let e=we(K.locale,t,K.messages);return!e&&K.fallbackLocale&&(e=we(K.fallbackLocale,t,K.messages)),e||t.join(".")};function we(t,e,n){return be([t,...e],n)}const xa=function(t,e){return t.replace(/\{(\w+)\}/g,function(n,o){return e[o]})},kn=r.defineComponent({props:{tag:{type:String,default:"div"},path:{type:String,defult:""}},setup(t,{slots:e}){const n=ut(Jt,$t(".",t.path)),o=Pn(n),a=$t(/{|}/,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)}}),En="https://api.icehockey.hu/vbr",vn="https://www.jegkorongszovetseg.hu/event/game/{gameId}",An="https://jegkorongszovetseg.hu/assets/images/player_blank.png",xn="https://www.ersteliga.hu/stats/player/?playerId={player.playerId}&championshipId={championshipId}",Nn="https://www.ersteliga.hu/stats/team/?teamId={team.id}&championshipId={championshipId}",Dn="https://api.icehockey.hu/static/api/flag",it="original",b="descend",B="ascend",Mn=new Map().set("hu","hu-hu").set("en","hu-gb"),Ln=new Map().set("Europe/Budapest",{countryLabelKey:"hungary",timezone:"Europe/Budapest"}).set("Europe/Bucharest",{countryLabelKey:"romania",timezone:"Europe/Bucharest"}),Na=1e3*60*5,Cn=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"},Ma=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),La=[Ma];function Ca(t,e){return r.openBlock(),r.createElementBlock("svg",Da,La)}const Bn={render:Ca},Ba={"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"},Ia=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),za=[Ia];function Ra(t,e){return r.openBlock(),r.createElementBlock("svg",Ba,za)}const Va={render:Ra},Ga={"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"},ja=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),Fa=[ja];function Ya(t,e){return r.openBlock(),r.createElementBlock("svg",Ga,Fa)}const Ua={render:Ya};function Mt(t){return t.split("-")[1]}function Se(t){return t==="y"?"height":"width"}function bt(t){return t.split("-")[0]}function Lt(t){return["top","bottom"].includes(bt(t))?"x":"y"}function In(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=Lt(e),u=Se(l),c=o[u]/2-a[u]/2,f=l==="x";let m;switch(bt(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(Mt(e)){case"start":m[l]-=c*(n&&f?-1:1);break;case"end":m[l]+=c*(n&&f?-1:1)}return m}const Ha=async(t,e,n)=>{const{placement:o="bottom",strategy:a="absolute",middleware:s=[],platform:i}=n,l=s.filter(Boolean),u=await(i.isRTL==null?void 0:i.isRTL(e));let c=await i.getElementRects({reference:t,floating:e,strategy:a}),{x:f,y:m}=In(c,o,u),p=o,d={},g=0;for(let h=0;h<l.length;h++){const{name:y,fn:T}=l[h],{x:$,y:k,data:A,reset:v}=await T({x:f,y:m,initialPlacement:o,placement:p,strategy:a,middlewareData:d,rects:c,platform:i,elements:{reference:t,floating:e}});f=$??f,m=k??m,d={...d,[y]:{...d[y],...A}},v&&g<=50&&(g++,typeof v=="object"&&(v.placement&&(p=v.placement),v.rects&&(c=v.rects===!0?await i.getElementRects({reference:t,floating:e,strategy:a}):v.rects),{x:f,y:m}=In(c,p,u)),h=-1)}return{x:f,y:m,placement:p,strategy:a,middlewareData:d}};function zn(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 Qt(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function Rn(t,e){var n;e===void 0&&(e={});const{x:o,y:a,platform:s,rects:i,elements:l,strategy:u}=t,{boundary:c="clippingAncestors",rootBoundary:f="viewport",elementContext:m="floating",altBoundary:p=!1,padding:d=0}=e,g=zn(d),h=l[p?m==="floating"?"reference":"floating":m],y=Qt(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(h)))==null||n?h:h.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:c,rootBoundary:f,strategy:u})),T=m==="floating"?{...i.floating,x:o,y:a}:i.reference,$=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),k=await(s.isElement==null?void 0:s.isElement($))&&await(s.getScale==null?void 0:s.getScale($))||{x:1,y:1},A=Qt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:T,offsetParent:$,strategy:u}):T);return{top:(y.top-A.top+g.top)/k.y,bottom:(A.bottom-y.bottom+g.bottom)/k.y,left:(y.left-A.left+g.left)/k.x,right:(A.right-y.right+g.right)/k.x}}const Wa=Math.min,Ka=Math.max;function _e(t,e,n){return Ka(t,Wa(e,n))}const Vn=t=>({name:"arrow",options:t,async fn(e){const{element:n,padding:o=0}=t||{},{x:a,y:s,placement:i,rects:l,platform:u,elements:c}=e;if(n==null)return{};const f=zn(o),m={x:a,y:s},p=Lt(i),d=Se(p),g=await u.getDimensions(n),h=p==="y",y=h?"top":"left",T=h?"bottom":"right",$=h?"clientHeight":"clientWidth",k=l.reference[d]+l.reference[p]-m[p]-l.floating[d],A=m[p]-l.reference[p],v=await(u.getOffsetParent==null?void 0:u.getOffsetParent(n));let M=v?v[$]:0;M&&await(u.isElement==null?void 0:u.isElement(v))||(M=c.floating[$]||l.floating[d]);const I=k/2-A/2,V=f[y],L=M-g[d]-f[T],N=M/2-g[d]/2+I,R=_e(V,N,L),H=Mt(i)!=null&&N!=R&&l.reference[d]/2-(N<V?f[y]:f[T])-g[d]/2<0;return{[p]:m[p]-(H?N<V?V-N:L-N:0),data:{[p]:R,centerOffset:N-R}}}});["top","right","bottom","left"].reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]);const qa={left:"right",right:"left",bottom:"top",top:"bottom"};function te(t){return t.replace(/left|right|bottom|top/g,e=>qa[e])}function Za(t,e,n){n===void 0&&(n=!1);const o=Mt(t),a=Lt(t),s=Se(a);let i=a==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(i=te(i)),{main:i,cross:te(i)}}const Xa={start:"end",end:"start"};function Te(t){return t.replace(/start|end/g,e=>Xa[e])}const Ja=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:u}=e,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:d="none",flipAlignment:g=!0,...h}=t,y=bt(o),T=bt(i)===i,$=await(l.isRTL==null?void 0:l.isRTL(u.floating)),k=m||(T||!g?[te(i)]:function(R){const H=te(R);return[Te(R),H,Te(H)]}(i));m||d==="none"||k.push(...function(R,H,E,O){const _=Mt(R);let P=function(S,x,D){const C=["left","right"],Y=["right","left"],F=["top","bottom"],W=["bottom","top"];switch(S){case"top":case"bottom":return D?x?Y:C:x?C:Y;case"left":case"right":return x?F:W;default:return[]}}(bt(R),E==="start",O);return _&&(P=P.map(S=>S+"-"+_),H&&(P=P.concat(P.map(Te)))),P}(i,g,d,$));const A=[i,...k],v=await Rn(e,h),M=[];let I=((n=a.flip)==null?void 0:n.overflows)||[];if(c&&M.push(v[y]),f){const{main:R,cross:H}=Za(o,s,$);M.push(v[R],v[H])}if(I=[...I,{placement:o,overflows:M}],!M.every(R=>R<=0)){var V,L;const R=(((V=a.flip)==null?void 0:V.index)||0)+1,H=A[R];if(H)return{data:{index:R,overflows:I},reset:{placement:H}};let E=(L=I.filter(O=>O.overflows[0]<=0).sort((O,_)=>O.overflows[1]-_.overflows[1])[0])==null?void 0:L.placement;if(!E)switch(p){case"bestFit":{var N;const O=(N=I.map(_=>[_.placement,_.overflows.filter(P=>P>0).reduce((P,S)=>P+S,0)]).sort((_,P)=>_[1]-P[1])[0])==null?void 0:N[0];O&&(E=O);break}case"initialPlacement":E=i}if(o!==E)return{reset:{placement:E}}}return{}}}},Qa=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:u,elements:c}=s,f=await(u.isRTL==null?void 0:u.isRTL(c.floating)),m=bt(l),p=Mt(l),d=Lt(l)==="x",g=["left","top"].includes(m)?-1:1,h=f&&d?-1:1,y=typeof i=="function"?i(s):i;let{mainAxis:T,crossAxis:$,alignmentAxis:k}=typeof y=="number"?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...y};return p&&typeof k=="number"&&($=p==="end"?-1*k:k),d?{x:$*h,y:T*g}:{x:T*g,y:$*h}}(e,t);return{x:n+a.x,y:o+a.y,data:a}}}};function ts(t){return t==="x"?"y":"x"}const es=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:T,y:$}=y;return{x:T,y:$}}},...u}=t,c={x:n,y:o},f=await Rn(e,u),m=Lt(bt(a)),p=ts(m);let d=c[m],g=c[p];if(s){const y=m==="y"?"bottom":"right";d=_e(d+f[m==="y"?"top":"left"],d,d-f[y])}if(i){const y=p==="y"?"bottom":"right";g=_e(g+f[p==="y"?"top":"left"],g,g-f[y])}const h=l.fn({...e,[m]:d,[p]:g});return{...h,data:{x:h.x-n,y:h.y-o}}}}};function J(t){var e;return((e=t.ownerDocument)==null?void 0:e.defaultView)||window}function tt(t){return J(t).getComputedStyle(t)}function Gn(t){return t instanceof J(t).Node}function dt(t){return Gn(t)?(t.nodeName||"").toLowerCase():""}function et(t){return t instanceof J(t).HTMLElement}function Z(t){return t instanceof J(t).Element}function jn(t){return typeof ShadowRoot>"u"?!1:t instanceof J(t).ShadowRoot||t instanceof ShadowRoot}function Ct(t){const{overflow:e,overflowX:n,overflowY:o,display:a}=tt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(a)}function ns(t){return["table","td","th"].includes(dt(t))}function Oe(t){const e=$e(),n=tt(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 $e(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ee(t){return["html","body","#document"].includes(dt(t))}const Fn=Math.min,Bt=Math.max,ne=Math.round;function Yn(t){const e=tt(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const a=et(t),s=a?t.offsetWidth:n,i=a?t.offsetHeight:o,l=ne(n)!==s||ne(o)!==i;return l&&(n=s,o=i),{width:n,height:o,fallback:l}}function Un(t){return Z(t)?t:t.contextElement}const Hn={x:1,y:1};function Pt(t){const e=Un(t);if(!et(e))return Hn;const n=e.getBoundingClientRect(),{width:o,height:a,fallback:s}=Yn(e);let i=(s?ne(n.width):n.width)/o,l=(s?ne(n.height):n.height)/a;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}const Wn={x:0,y:0};function Kn(t,e,n){var o,a;if(e===void 0&&(e=!0),!$e())return Wn;const s=t?J(t):window;return!n||e&&n!==s?Wn:{x:((o=s.visualViewport)==null?void 0:o.offsetLeft)||0,y:((a=s.visualViewport)==null?void 0:a.offsetTop)||0}}function wt(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const a=t.getBoundingClientRect(),s=Un(t);let i=Hn;e&&(o?Z(o)&&(i=Pt(o)):i=Pt(t));const l=Kn(s,n,o);let u=(a.left+l.x)/i.x,c=(a.top+l.y)/i.y,f=a.width/i.x,m=a.height/i.y;if(s){const p=J(s),d=o&&Z(o)?J(o):o;let g=p.frameElement;for(;g&&o&&d!==p;){const h=Pt(g),y=g.getBoundingClientRect(),T=getComputedStyle(g);y.x+=(g.clientLeft+parseFloat(T.paddingLeft))*h.x,y.y+=(g.clientTop+parseFloat(T.paddingTop))*h.y,u*=h.x,c*=h.y,f*=h.x,m*=h.y,u+=y.x,c+=y.y,g=J(g).frameElement}}return Qt({width:f,height:m,x:u,y:c})}function ft(t){return((Gn(t)?t.ownerDocument:t.document)||window.document).documentElement}function re(t){return Z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function qn(t){return wt(ft(t)).left+re(t).scrollLeft}function kt(t){if(dt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||jn(t)&&t.host||ft(t);return jn(e)?e.host:e}function Zn(t){const e=kt(t);return ee(e)?e.ownerDocument.body:et(e)&&Ct(e)?e:Zn(e)}function It(t,e){var n;e===void 0&&(e=[]);const o=Zn(t),a=o===((n=t.ownerDocument)==null?void 0:n.body),s=J(o);return a?e.concat(s,s.visualViewport||[],Ct(o)?o:[]):e.concat(o,It(o))}function Xn(t,e,n){let o;if(e==="viewport")o=function(a,s){const i=J(a),l=ft(a),u=i.visualViewport;let c=l.clientWidth,f=l.clientHeight,m=0,p=0;if(u){c=u.width,f=u.height;const d=$e();(!d||d&&s==="fixed")&&(m=u.offsetLeft,p=u.offsetTop)}return{width:c,height:f,x:m,y:p}}(t,n);else if(e==="document")o=function(a){const s=ft(a),i=re(a),l=a.ownerDocument.body,u=Bt(s.scrollWidth,s.clientWidth,l.scrollWidth,l.clientWidth),c=Bt(s.scrollHeight,s.clientHeight,l.scrollHeight,l.clientHeight);let f=-i.scrollLeft+qn(a);const m=-i.scrollTop;return tt(l).direction==="rtl"&&(f+=Bt(s.clientWidth,l.clientWidth)-u),{width:u,height:c,x:f,y:m}}(ft(t));else if(Z(e))o=function(a,s){const i=wt(a,!0,s==="fixed"),l=i.top+a.clientTop,u=i.left+a.clientLeft,c=et(a)?Pt(a):{x:1,y:1};return{width:a.clientWidth*c.x,height:a.clientHeight*c.y,x:u*c.x,y:l*c.y}}(e,n);else{const a=Kn(t);o={...e,x:e.x-a.x,y:e.y-a.y}}return Qt(o)}function Jn(t,e){const n=kt(t);return!(n===e||!Z(n)||ee(n))&&(tt(n).position==="fixed"||Jn(n,e))}function Qn(t,e){return et(t)&&tt(t).position!=="fixed"?e?e(t):t.offsetParent:null}function tr(t,e){const n=J(t);if(!et(t))return n;let o=Qn(t,e);for(;o&&ns(o)&&tt(o).position==="static";)o=Qn(o,e);return o&&(dt(o)==="html"||dt(o)==="body"&&tt(o).position==="static"&&!Oe(o))?n:o||function(a){let s=kt(a);for(;et(s)&&!ee(s);){if(Oe(s))return s;s=kt(s)}return null}(t)||n}function rs(t,e,n){const o=et(e),a=ft(e),s=n==="fixed",i=wt(t,!0,s,e);let l={scrollLeft:0,scrollTop:0};const u={x:0,y:0};if(o||!o&&!s)if((dt(e)!=="body"||Ct(a))&&(l=re(e)),et(e)){const c=wt(e,!0,s,e);u.x=c.x+e.clientLeft,u.y=c.y+e.clientTop}else a&&(u.x=qn(a));return{x:i.left+l.scrollLeft-u.x,y:i.top+l.scrollTop-u.y,width:i.width,height:i.height}}const os={getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:a}=t;const s=n==="clippingAncestors"?function(c,f){const m=f.get(c);if(m)return m;let p=It(c).filter(y=>Z(y)&&dt(y)!=="body"),d=null;const g=tt(c).position==="fixed";let h=g?kt(c):c;for(;Z(h)&&!ee(h);){const y=tt(h),T=Oe(h);T||y.position!=="fixed"||(d=null),(g?!T&&!d:!T&&y.position==="static"&&d&&["absolute","fixed"].includes(d.position)||Ct(h)&&!T&&Jn(c,h))?p=p.filter($=>$!==h):d=y,h=kt(h)}return f.set(c,p),p}(e,this._c):[].concat(n),i=[...s,o],l=i[0],u=i.reduce((c,f)=>{const m=Xn(e,f,a);return c.top=Bt(m.top,c.top),c.right=Fn(m.right,c.right),c.bottom=Fn(m.bottom,c.bottom),c.left=Bt(m.left,c.left),c},Xn(e,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:n,strategy:o}=t;const a=et(n),s=ft(n);if(n===s)return e;let i={scrollLeft:0,scrollTop:0},l={x:1,y:1};const u={x:0,y:0};if((a||!a&&o!=="fixed")&&((dt(n)!=="body"||Ct(s))&&(i=re(n)),et(n))){const c=wt(n);l=Pt(n),u.x=c.x+n.clientLeft,u.y=c.y+n.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-i.scrollLeft*l.x+u.x,y:e.y*l.y-i.scrollTop*l.y+u.y}},isElement:Z,getDimensions:function(t){return Yn(t)},getOffsetParent:tr,getDocumentElement:ft,getScale:Pt,async getElementRects(t){let{reference:e,floating:n,strategy:o}=t;const a=this.getOffsetParent||tr,s=this.getDimensions;return{reference:rs(e,await a(n),o),floating:{x:0,y:0,...await s(n)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>tt(t).direction==="rtl"};function as(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:a=!0,ancestorResize:s=!0,elementResize:i=!0,animationFrame:l=!1}=o,u=a||s?[...Z(t)?It(t):t.contextElement?It(t.contextElement):[],...It(e)]:[];u.forEach(p=>{const d=!Z(p)&&p.toString().includes("V");!a||l&&!d||p.addEventListener("scroll",n,{passive:!0}),s&&p.addEventListener("resize",n)});let c,f=null;i&&(f=new ResizeObserver(()=>{n()}),Z(t)&&!l&&f.observe(t),Z(t)||!t.contextElement||l||f.observe(t.contextElement),f.observe(e));let m=l?wt(t):null;return l&&function p(){const d=wt(t);!m||d.x===m.x&&d.y===m.y&&d.width===m.width&&d.height===m.height||n(),m=d,c=requestAnimationFrame(p)}(),n(),()=>{var p;u.forEach(d=>{a&&d.removeEventListener("scroll",n),s&&d.removeEventListener("resize",n)}),(p=f)==null||p.disconnect(),f=null,l&&cancelAnimationFrame(c)}}const ss=(t,e,n)=>{const o=new Map,a={platform:os,...n},s={...a.platform,_c:o};return Ha(t,e,{...a,platform:s})},er=(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 is({middleware:t,placement:e=null,strategy:n,append:o,enabled:a}){const s=r.ref(null),i=r.ref(null),l=r.ref(null),u=r.ref(null),c=r.ref(null),f=r.ref(null),m=r.ref(null),p=r.ref(n??"absolute"),d=r.ref(null),g=()=>{!s.value||!i.value||ss(s.value,i.value,{middleware:t,placement:e,strategy:n}).then(y=>{l.value=y.x,u.value=y.y,p.value=y.strategy,c.value=y.middlewareData.arrow.x,f.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:T})=>{T&&er(y,T),g()},{flush:"post"}),r.watch(a,y=>{if(!(!s.value||!i.value)){if(!y)return h();d.value=as(s.value,i.value,g,{})}},{flush:"post"});const h=()=>{var y;(y=d.value)==null||y.call(d),d.value=null};return{x:l,y:u,arrowX:c,arrowY:f,placement:m,reference:s,floating:i,strategy:p,update:g}}const ls=t=>{const{element:e,padding:n}=t;return{name:"arrow",options:t,fn(o){return r.isRef(e)?e.value!=null?Vn({element:e.value,padding:n}).fn(o):{}:e?Vn({element:e,padding:n}).fn(o):{}}}},cs=["data-placement"],Pe={__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:u,reference:c,floating:f,strategy:m}=is({placement:e.placement,middleware:[Ja(),es({padding:5}),Qa(e.offset),ls({element:o,padding:5})],append:r.computed(()=>e.appendTo),enabled:n}),p=()=>{e.disabled||n.value||(n.value=!0)},d=y=>{n.value&&y&&(n.value=!1)},g=y=>{c.value=y},h={mouseenter:p,mouseleave:d,focus:p,blur:d};return Wr(f,y=>{var T;(T=c.value)!=null&&T.contains(y.target)||d()}),(y,T)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.renderSlot(y.$slots,"default",{setRef:g,show:p,hide:d,events:h}),r.createElementVNode("div",{ref_key:"floating",ref:f,"data-placement":r.unref(u),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:d},()=>[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,cs)],64))}},us=["onMouseenter","onMouseleave","onFocus","onBlur","onClick","onKeydown","tabindex"],ds={key:0},fs=["colspan"],ms={key:1},ps=["colspan"],ke={__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=Qe(o,{delay:Cn}),i=e,{t:l}=st(),u=rt("table"),c=r.computed(()=>n.columns),f=r.computed(()=>Object.keys(n.columns).length),m=(p,d)=>{p.sortOrders&&i("sort",{target:d,orders:p.sortOrders})};return(p,d)=>(r.openBlock(),r.createElementBlock("table",{class:r.normalizeClass(r.unref(u))},[r.createElementVNode("thead",null,[r.createElementVNode("tr",null,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(c.value,(g,h)=>(r.openBlock(),r.createBlock(Pe,{key:h,placement:"top",content:g.tooltip,disabled:!g.tooltip,"append-to":r.unref(a)},{default:r.withCtx(({setRef:y,show:T,hide:$})=>[r.createElementVNode("th",{ref_for:!0,ref:y,class:r.normalizeClass([[g.class],{"is-active":h===t.sort.sortTarget&&t.sort.orders[0].direction!==r.unref(it),"is-sortable":g.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(B)}]),onMouseenter:T,onMouseleave:$,onFocus:T,onBlur:$,onClick:k=>m(g,h),onKeydown:[r.withKeys(r.withModifiers(k=>m(g,h),["prevent"]),["space"]),r.withKeys(r.withModifiers(k=>m(g,h),["prevent"]),["enter"])],tabindex:g.sortOrders?0:-1,role:"button"},[r.renderSlot(p.$slots,`header-${h}`,{column:g},()=>[r.createTextVNode(r.toDisplayString(g.label),1)]),g.sortOrders&&h!==t.sort.sortTarget?(r.openBlock(),r.createBlock(r.unref(Bn),{key:0,class:"is-icon-sort"})):r.createCommentVNode("",!0),h===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(it)?(r.openBlock(),r.createBlock(r.unref(Bn),{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(Va),{key:2,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(Ua),{key:3,class:"is-icon-sort"})):r.createCommentVNode("",!0)],42,us)]),_:2},1032,["content","disabled","append-to"]))),128))])]),r.createElementVNode("tbody",null,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(n.rows,(g,h)=>(r.openBlock(),r.createElementBlock("tr",{key:h,class:r.normalizeClass(g.rowClasses)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(c.value,(y,T)=>(r.openBlock(),r.createElementBlock("td",{key:T,class:r.normalizeClass([[y.class],{"is-active":T===t.sort.sortTarget&&t.sort.orders[0].direction!==r.unref(it),"is-zero":g[T]==0}])},[r.renderSlot(p.$slots,`cell-${T}`,{row:g,prop:T},()=>[r.createTextVNode(r.toDisplayString(g[T]),1)])],2))),128))],2))),128))]),r.unref(s)&&t.rows.length===0?(r.openBlock(),r.createElementBlock("tfoot",ds,[r.createElementVNode("tr",null,[r.createElementVNode("td",{colspan:f.value},[r.renderSlot(p.$slots,"loading",{},()=>[r.createTextVNode(r.toDisplayString(r.unref(l)("common.loading")),1)])],8,fs)])])):r.createCommentVNode("",!0),t.rows.length===0&&!r.unref(o)&&!r.unref(s)?(r.openBlock(),r.createElementBlock("tfoot",ms,[r.createElementVNode("tr",null,[r.createElementVNode("td",{colspan:f.value},[r.renderSlot(p.$slots,"empty",{},()=>[r.createTextVNode(r.toDisplayString(r.unref(l)("common.noData")),1)])],8,ps)])])):r.createCommentVNode("",!0)],2))}},hs={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"},gs=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),ys=r.createElementVNode("line",{x1:"12",y1:"9",x2:"12",y2:"13"},null,-1),bs=r.createElementVNode("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"},null,-1),ws=[gs,ys,bs];function Ss(t,e){return r.openBlock(),r.createElementBlock("svg",hs,ws)}const _s={render:Ss},Ts={__name:"ErrorNotice",props:{error:{type:Object,default:()=>({})}},setup(t){const e=t,{t:n,hasTranlation:o}=st(),a=rt("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(_s),{class:"icon",width:"20",height:"20"}),r.createElementVNode("span",null,r.toDisplayString(s.value),1)],2))}};function nr(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 St=function(t="",e={}){return t.replace(/\{([^}]+)\}/g,function(n,o){return be($t(".",o),e)})},rr=Symbol("ErrorProviderContext"),or=()=>{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||nr(s.message),cause:s.cause}},a={onError:n,reset:()=>{t.value="",e.value={}}};return r.provide(rr,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}},Ee=()=>{const t=Os();return{onError:t.onError,reset:t.reset}},Os=()=>{const t=r.inject(rr,null);if(t===null)throw new Error("Privider is missing a parent component.");return t},$s={__name:"ErrorProvider",setup(t){const{message:e,hasError:n,error:o}=or();return(a,s)=>r.renderSlot(a.$slots,"default",{message:r.unref(e),error:r.unref(o),hasError:r.unref(n)})}},Ps={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ó"},additionalText:{inheritedPoints:{prependix:"A megelőző bajnokság szakaszban elért eredménye alapján",content:"{team} csapata {points}",appendix:"többletponttal rendelkezik."},penaltyPoints:{prependix:"Fegyelmi Bizottság döntése alapján:",content:"{team} csapatától {points} pont",appendix:"levonva."}},table:{blank:"#",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"}}},ks={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"},additionalText:{inheritedPoints:{prependix:"",content:"{team} has {points} extra point(s)",appendix:"based on its results in the previous championship phase."},penaltyPoints:{prependix:"",content:"{points} point(s) deducted from team {team}",appendix:"based on the decision of the Disciplinary Committee."}},table:{blank:"#",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"}}},Es=(t,e)=>{const n=t.__vccOpts||t;for(const[o,a]of e)n[o]=a;return n},vs=r.defineComponent({props:{locale:{type:String,default:"hu"},messages:{type:Object,default:()=>({})}},setup(t){const e=Sa({hu:Ps,en:ks},t.messages),{translate:n}=$n({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 xs=Es(vs,[["render",As]]),Ns=["src"],Ds=["src","title"],_t=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}=io(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 is-default",i.$attrs.class])},null,10,Ns)):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,Ds))],64))}}),Ms={style:{"text-align":"center"}},ve={__name:"LoadingIndicator",setup(t){const{t:e}=st();return(n,o)=>(r.openBlock(),r.createElementBlock("div",Ms,r.toDisplayString(r.unref(e)("common.loading")),1))}};function Ls({currentPage:t,itemsPerPage:e=20,totalItems:n,rangeLength:o=5,update:a=ot}){const s=r.computed(()=>Math.ceil(r.unref(n)/e)),i=r.computed(()=>{const f=r.unref(t)-1,m=Array.from({length:s.value},(g,h)=>h+1),p=Math.floor(o/2);let d=Math.max(f-p,0);return d+o>=s.value&&(d=Math.max(s.value-o,0)),m.slice(d,d+o)}),l=f=>{const m=r.unref(t)+f;c(m)&&a(m)},u=f=>{c(f)&&a(f)},c=f=>f<=s.value&&f>0;return{page:t,range:i,pageCount:s,goTo:u,pageStep:l}}const Cs={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"},Bs=r.createElementVNode("polyline",{points:"15 18 9 12 15 6"},null,-1),Is=[Bs];function zs(t,e){return r.openBlock(),r.createElementBlock("svg",Cs,Is)}const Rs={render:zs},Vs={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"},Gs=r.createElementVNode("polyline",{points:"9 18 15 12 9 6"},null,-1),js=[Gs];function Fs(t,e){return r.openBlock(),r.createElementBlock("svg",Vs,js)}const Ys={render:Fs},Us=["disabled"],Hs=["disabled"],Ws={key:1,class:"is-disabled"},Ks=["disabled","onClick"],qs={key:2,class:"is-disabled"},Zs=[r.createElementVNode("span",null,"...",-1)],Xs=["disabled"],Js=["disabled"],Qs={__name:"Paginator",props:{page:{type:Number,required:!1,default:0,validator:t=>t>=0},itemsPerPage:{type:Number,required:!1,default:10,validator:t=>t>0},totalItems:{type:Number,required:!0,validator:t=>t>=0},rangeLength:{type:Number,default:3,validator:t=>t>=2},isCompact:{type:Boolean,default:!1}},emits:["change"],setup(t,{emit:e}){const n=t,o=e,a=rt("paginator"),{page:s,pageCount:i,range:l,goTo:u,pageStep:c}=Ls({currentPage:r.computed(()=>n.page),totalItems:r.computed(()=>n.totalItems),itemsPerPage:n.itemsPerPage,rangeLength:n.rangeLength,update:f=>o("change",f)});return(f,m)=>r.unref(i)>1?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(r.unref(a))},[r.createElementVNode("button",{type:"button",disabled:r.unref(s)===1,onClick:m[0]||(m[0]=p=>r.unref(c)(-1))},[r.renderSlot(f.$slots,"prev",{},()=>[r.createVNode(r.unref(Rs),{class:"icon paginator-left"})])],8,Us),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("button",{key:0,type:"button",disabled:r.unref(s)===1,onClick:m[1]||(m[1]=p=>r.unref(u)(1))},"1",8,Hs)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",Ws,"...")),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(l),p=>(r.openBlock(),r.createElementBlock("button",{type:"button",key:p,class:r.normalizeClass({"is-active":p===r.unref(s)}),disabled:p===r.unref(s),onClick:d=>r.unref(u)(p)},r.toDisplayString(p),11,Ks))),128)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",qs,Zs)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("button",{key:3,type:"button",disabled:r.unref(s)===r.unref(i),onClick:m[2]||(m[2]=p=>r.unref(u)(r.unref(i)))},r.toDisplayString(r.unref(i)),9,Xs)),r.createElementVNode("button",{type:"button",disabled:r.unref(s)===r.unref(i),onClick:m[3]||(m[3]=r.withModifiers(p=>r.unref(c)(1),["prevent"]))},[r.renderSlot(f.$slots,"next",{},()=>[r.createVNode(r.unref(Ys),{class:"icon paginator-left"})])],8,Js)],2)):r.createCommentVNode("",!0)}},Ae={__name:"ResponsiveTable",setup(t){const e=r.ref(null),n=rt("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 lt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function mt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ar={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(lt,function(){var n=1e3,o=6e4,a=36e5,s="millisecond",i="second",l="minute",u="hour",c="day",f="week",m="month",p="quarter",d="year",g="date",h="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,T=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,$={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 O=["th","st","nd","rd"],_=E%100;return"["+E+(O[(_-20)%10]||O[_]||O[0])+"]"}},k=function(E,O,_){var P=String(E);return!P||P.length>=O?E:""+Array(O+1-P.length).join(_)+E},A={s:k,z:function(E){var O=-E.utcOffset(),_=Math.abs(O),P=Math.floor(_/60),S=_%60;return(O<=0?"+":"-")+k(P,2,"0")+":"+k(S,2,"0")},m:function E(O,_){if(O.date()<_.date())return-E(_,O);var P=12*(_.year()-O.year())+(_.month()-O.month()),S=O.clone().add(P,m),x=_-S<0,D=O.clone().add(P+(x?-1:1),m);return+(-(P+(_-S)/(x?S-D:D-S))||0)},a:function(E){return E<0?Math.ceil(E)||0:Math.floor(E)},p:function(E){return{M:m,y:d,w:f,d:c,D:g,h:u,m:l,s:i,ms:s,Q:p}[E]||String(E||"").toLowerCase().replace(/s$/,"")},u:function(E){return E===void 0}},v="en",M={};M[v]=$;var I=function(E){return E instanceof R},V=function E(O,_,P){var S;if(!O)return v;if(typeof O=="string"){var x=O.toLowerCase();M[x]&&(S=x),_&&(M[x]=_,S=x);var D=O.split("-");if(!S&&D.length>1)return E(D[0])}else{var C=O.name;M[C]=O,S=C}return!P&&S&&(v=S),S||!P&&v},L=function(E,O){if(I(E))return E.clone();var _=typeof O=="object"?O:{};return _.date=E,_.args=arguments,new R(_)},N=A;N.l=V,N.i=I,N.w=function(E,O){return L(E,{locale:O.$L,utc:O.$u,x:O.$x,$offset:O.$offset})};var R=function(){function E(_){this.$L=V(_.locale,null,!0),this.parse(_)}var O=E.prototype;return O.parse=function(_){this.$d=function(P){var S=P.date,x=P.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 D=S.match(y);if(D){var C=D[2]-1||0,Y=(D[7]||"0").substring(0,3);return x?new Date(Date.UTC(D[1],C,D[3]||1,D[4]||0,D[5]||0,D[6]||0,Y)):new Date(D[1],C,D[3]||1,D[4]||0,D[5]||0,D[6]||0,Y)}}return new Date(S)}(_),this.$x=_.x||{},this.init()},O.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()},O.$utils=function(){return N},O.isValid=function(){return this.$d.toString()!==h},O.isSame=function(_,P){var S=L(_);return this.startOf(P)<=S&&S<=this.endOf(P)},O.isAfter=function(_,P){return L(_)<this.startOf(P)},O.isBefore=function(_,P){return this.endOf(P)<L(_)},O.$g=function(_,P,S){return N.u(_)?this[P]:this.set(S,_)},O.unix=function(){return Math.floor(this.valueOf()/1e3)},O.valueOf=function(){return this.$d.getTime()},O.startOf=function(_,P){var S=this,x=!!N.u(P)||P,D=N.p(_),C=function(Et,q){var ht=N.w(S.$u?Date.UTC(S.$y,q,Et):new Date(S.$y,q,Et),S);return x?ht:ht.endOf(c)},Y=function(Et,q){return N.w(S.toDate()[Et].apply(S.toDate("s"),(x?[0,0,0,0]:[23,59,59,999]).slice(q)),S)},F=this.$W,W=this.$M,pt=this.$D,ct="set"+(this.$u?"UTC":"");switch(D){case d:return x?C(1,0):C(31,11);case m:return x?C(1,W):C(0,W+1);case f:var Vt=this.$locale().weekStart||0,Gt=(F<Vt?F+7:F)-Vt;return C(x?pt-Gt:pt+(6-Gt),W);case c:case g:return Y(ct+"Hours",0);case u:return Y(ct+"Minutes",1);case l:return Y(ct+"Seconds",2);case i:return Y(ct+"Milliseconds",3);default:return this.clone()}},O.endOf=function(_){return this.startOf(_,!1)},O.$set=function(_,P){var S,x=N.p(_),D="set"+(this.$u?"UTC":""),C=(S={},S[c]=D+"Date",S[g]=D+"Date",S[m]=D+"Month",S[d]=D+"FullYear",S[u]=D+"Hours",S[l]=D+"Minutes",S[i]=D+"Seconds",S[s]=D+"Milliseconds",S)[x],Y=x===c?this.$D+(P-this.$W):P;if(x===m||x===d){var F=this.clone().set(g,1);F.$d[C](Y),F.init(),this.$d=F.set(g,Math.min(this.$D,F.daysInMonth())).$d}else C&&this.$d[C](Y);return this.init(),this},O.set=function(_,P){return this.clone().$set(_,P)},O.get=function(_){return this[N.p(_)]()},O.add=function(_,P){var S,x=this;_=Number(_);var D=N.p(P),C=function(W){var pt=L(x);return N.w(pt.date(pt.date()+Math.round(W*_)),x)};if(D===m)return this.set(m,this.$M+_);if(D===d)return this.set(d,this.$y+_);if(D===c)return C(1);if(D===f)return C(7);var Y=(S={},S[l]=o,S[u]=a,S[i]=n,S)[D]||1,F=this.$d.getTime()+_*Y;return N.w(F,this)},O.subtract=function(_,P){return this.add(-1*_,P)},O.format=function(_){var P=this,S=this.$locale();if(!this.isValid())return S.invalidDate||h;var x=_||"YYYY-MM-DDTHH:mm:ssZ",D=N.z(this),C=this.$H,Y=this.$m,F=this.$M,W=S.weekdays,pt=S.months,ct=function(q,ht,Ie,oe){return q&&(q[ht]||q(P,x))||Ie[ht].slice(0,oe)},Vt=function(q){return N.s(C%12||12,q,"0")},Gt=S.meridiem||function(q,ht,Ie){var oe=q<12?"AM":"PM";return Ie?oe.toLowerCase():oe},Et={YY:String(this.$y).slice(-2),YYYY:this.$y,M:F+1,MM:N.s(F+1,2,"0"),MMM:ct(S.monthsShort,F,pt,3),MMMM:ct(pt,F),D:this.$D,DD:N.s(this.$D,2,"0"),d:String(this.$W),dd:ct(S.weekdaysMin,this.$W,W,2),ddd:ct(S.weekdaysShort,this.$W,W,3),dddd:W[this.$W],H:String(C),HH:N.s(C,2,"0"),h:Vt(1),hh:Vt(2),a:Gt(C,Y,!0),A:Gt(C,Y,!1),m:String(Y),mm:N.s(Y,2,"0"),s:String(this.$s),ss:N.s(this.$s,2,"0"),SSS:N.s(this.$ms,3,"0"),Z:D};return x.replace(T,function(q,ht){return ht||Et[q]||D.replace(":","")})},O.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},O.diff=function(_,P,S){var x,D=N.p(P),C=L(_),Y=(C.utcOffset()-this.utcOffset())*o,F=this-C,W=N.m(this,C);return W=(x={},x[d]=W/12,x[m]=W,x[p]=W/3,x[f]=(F-Y)/6048e5,x[c]=(F-Y)/864e5,x[u]=F/a,x[l]=F/o,x[i]=F/n,x)[D]||F,S?W:N.a(W)},O.daysInMonth=function(){return this.endOf(m).$D},O.$locale=function(){return M[this.$L]},O.locale=function(_,P){if(!_)return this.$L;var S=this.clone(),x=V(_,P,!0);return x&&(S.$L=x),S},O.clone=function(){return N.w(this.$d,this)},O.toDate=function(){return new Date(this.valueOf())},O.toJSON=function(){return this.isValid()?this.toISOString():null},O.toISOString=function(){return this.$d.toISOString()},O.toString=function(){return this.$d.toUTCString()},E}(),H=R.prototype;return L.prototype=H,[["$ms",s],["$s",i],["$m",l],["$H",u],["$W",c],["$M",m],["$y",d],["$D",g]].forEach(function(E){H[E[1]]=function(O){return this.$g(O,E[0],E[1])}}),L.extend=function(E,O){return E.$i||(E(O,R,L),E.$i=!0),L},L.locale=V,L.isDayjs=I,L.unix=function(E){return L(1e3*E)},L.en=M[v],L.Ls=M,L.p={},L})})(ar);var sr=ar.exports;const U=mt(sr);var ir={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(lt,function(){var n="minute",o=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(s,i,l){var u=i.prototype;l.utc=function(h){var y={date:h,utc:!0,args:arguments};return new i(y)},u.utc=function(h){var y=l(this.toDate(),{locale:this.$L,utc:!0});return h?y.add(this.utcOffset(),n):y},u.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var c=u.parse;u.parse=function(h){h.utc&&(this.$u=!0),this.$utils().u(h.$offset)||(this.$offset=h.$offset),c.call(this,h)};var f=u.init;u.init=function(){if(this.$u){var h=this.$d;this.$y=h.getUTCFullYear(),this.$M=h.getUTCMonth(),this.$D=h.getUTCDate(),this.$W=h.getUTCDay(),this.$H=h.getUTCHours(),this.$m=h.getUTCMinutes(),this.$s=h.getUTCSeconds(),this.$ms=h.getUTCMilliseconds()}else f.call(this)};var m=u.utcOffset;u.utcOffset=function(h,y){var T=this.$utils().u;if(T(h))return this.$u?0:T(this.$offset)?m.call(this):this.$offset;if(typeof h=="string"&&(h=function(v){v===void 0&&(v="");var M=v.match(o);if(!M)return null;var I=(""+M[0]).match(a)||["-",0,0],V=I[0],L=60*+I[1]+ +I[2];return L===0?0:V==="+"?L:-L}(h),h===null))return this;var $=Math.abs(h)<=16?60*h:h,k=this;if(y)return k.$offset=$,k.$u=h===0,k;if(h!==0){var A=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(k=this.local().add($+A,n)).$offset=$,k.$x.$localOffset=A}else k=this.utc();return k};var p=u.format;u.format=function(h){var y=h||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return p.call(this,y)},u.valueOf=function(){var h=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*h},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(h){return h==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var g=u.diff;u.diff=function(h,y,T){if(h&&this.$u===h.$u)return g.call(this,h,y,T);var $=this.local(),k=l(h).local();return g.call($,k,y,T)}}})})(ir);var ti=ir.exports;const ei=mt(ti);var lr={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(lt,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},o={};return function(a,s,i){var l,u=function(p,d,g){g===void 0&&(g={});var h=new Date(p),y=function(T,$){$===void 0&&($={});var k=$.timeZoneName||"short",A=T+"|"+k,v=o[A];return v||(v=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:T,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:k}),o[A]=v),v}(d,g);return y.formatToParts(h)},c=function(p,d){for(var g=u(p,d),h=[],y=0;y<g.length;y+=1){var T=g[y],$=T.type,k=T.value,A=n[$];A>=0&&(h[A]=parseInt(k,10))}var v=h[3],M=v===24?0:v,I=h[0]+"-"+h[1]+"-"+h[2]+" "+M+":"+h[4]+":"+h[5]+":000",V=+p;return(i.utc(I).valueOf()-(V-=V%1e3))/6e4},f=s.prototype;f.tz=function(p,d){p===void 0&&(p=l);var g=this.utcOffset(),h=this.toDate(),y=h.toLocaleString("en-US",{timeZone:p}),T=Math.round((h-new Date(y))/1e3/60),$=i(y).$set("millisecond",this.$ms).utcOffset(15*-Math.round(h.getTimezoneOffset()/15)-T,!0);if(d){var k=$.utcOffset();$=$.add(g-k,"minute")}return $.$x.$timezone=p,$},f.offsetName=function(p){var d=this.$x.$timezone||i.tz.guess(),g=u(this.valueOf(),d,{timeZoneName:p}).find(function(h){return h.type.toLowerCase()==="timezonename"});return g&&g.value};var m=f.startOf;f.startOf=function(p,d){if(!this.$x||!this.$x.$timezone)return m.call(this,p,d);var g=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return m.call(g,p,d).tz(this.$x.$timezone,!0)},i.tz=function(p,d,g){var h=g&&d,y=g||d||l,T=c(+i(),y);if(typeof p!="string")return i(p).tz(y);var $=function(M,I,V){var L=M-60*I*1e3,N=c(L,V);if(I===N)return[L,I];var R=c(L-=60*(N-I)*1e3,V);return N===R?[L,N]:[M-60*Math.min(N,R)*1e3,Math.max(N,R)]}(i.utc(p,h).valueOf(),T,y),k=$[0],A=$[1],v=i(k).utcOffset(A);return v.$x.$timezone=y,v},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(p){l=p}}})})(lr);var ni=lr.exports;const ri=mt(ni);var cr={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(lt,function(){return function(n,o){var a=o.prototype,s=a.format;a.format=function(i){var l=this,u=this.$locale();if(!this.isValid())return s.bind(this)(i);var c=this.$utils(),f=(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 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(),m==="w"?1:2,"0");case"W":case"WW":return c.s(l.isoWeek(),m==="W"?1:2,"0");case"k":case"kk":return c.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)(f)}}})})(cr);var oi=cr.exports;const ai=mt(oi);var ur={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(lt,function(){return function(n,o){o.prototype.isSameOrBefore=function(a,s){return this.isSame(a,s)||this.isBefore(a,s)}}})})(ur);var si=ur.exports;const ii=mt(si);var dr={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(lt,function(){return function(n,o,a){o.prototype.isBetween=function(s,i,l,u){var c=a(s),f=a(i),m=(u=u||"()")[0]==="(",p=u[1]===")";return(m?this.isAfter(c,l):!this.isBefore(c,l))&&(p?this.isBefore(f,l):!this.isAfter(f,l))||(m?this.isBefore(c,l):!this.isAfter(c,l))&&(p?this.isAfter(f,l):!this.isBefore(f,l))}}})})(dr);var li=dr.exports;const ci=mt(li);var fr={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(lt,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(u){u===void 0&&(u="YYYY-MM-DDTHH:mm:ssZ");var c=this.$locale().formats,f=function(m,p){return m.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(d,g,h){var y=h&&h.toUpperCase();return g||p[h]||n[h]||p[y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(T,$,k){return $||k.slice(1)})})}(u,c===void 0?{}:c);return l.call(this,f)}}})})(fr);var ui=fr.exports;const di=mt(ui);var mr={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(lt,function(){return function(n,o,a){n=n||{};var s=o.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function l(c,f,m,p){return s.fromToBase(c,f,m,p)}a.en.relativeTime=i,s.fromToBase=function(c,f,m,p,d){for(var g,h,y,T=m.$locale().relativeTime||i,$=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],k=$.length,A=0;A<k;A+=1){var v=$[A];v.d&&(g=p?a(c).diff(m,v.d,!0):m.diff(c,v.d,!0));var M=(n.rounding||Math.round)(Math.abs(g));if(y=g>0,M<=v.r||!v.r){M<=1&&A>0&&(v=$[A-1]);var I=T[v.l];d&&(M=d(""+M)),h=typeof I=="string"?I.replace("%d",M):I(M,f,v.l,y);break}}if(f)return h;var V=y?T.future:T.past;return typeof V=="function"?V(h):V.replace("%s",h)},s.to=function(c,f){return l(c,f,this,!0)},s.from=function(c,f){return l(c,f,this)};var u=function(c){return c.$u?a.utc():a()};s.toNow=function(c){return this.to(u(this),c)},s.fromNow=function(c){return this.from(u(this),c)}}})})(mr);var fi=mr.exports;const mi=mt(fi);var pi={exports:{}};(function(t,e){(function(n,o){t.exports=o(sr)})(lt,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,u,c){return"néhány másodperc"+(c||l?"":"e")},m:function(i,l,u,c){return"egy perc"+(c||l?"":"e")},mm:function(i,l,u,c){return i+" perc"+(c||l?"":"e")},h:function(i,l,u,c){return"egy "+(c||l?"óra":"órája")},hh:function(i,l,u,c){return i+" "+(c||l?"óra":"órája")},d:function(i,l,u,c){return"egy "+(c||l?"nap":"napja")},dd:function(i,l,u,c){return i+" "+(c||l?"nap":"napja")},M:function(i,l,u,c){return"egy "+(c||l?"hónap":"hónapja")},MM:function(i,l,u,c){return i+" "+(c||l?"hónap":"hónapja")},y:function(i,l,u,c){return"egy "+(c||l?"év":"éve")},yy:function(i,l,u,c){return i+" "+(c||l?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};return a.default.locale(s,null,!0),s})})(pi),U.extend(ei),U.extend(ri),U.extend(ai),U.extend(mi),U.extend(di),U.extend(ii),U.extend(ci);const pr=()=>U.tz.guess(),Tt=(t="",e="",n="",o="hu")=>(n=n||U.tz.guess(),U(t).isValid()?U(t).tz(n).locale(o).format(e):""),zt=(t="",e="",n="hu")=>{if(!U(t).isValid())return"";e=e||U.tz.guess();const a=new Intl.DateTimeFormat(hi(n),{timeZone:e,timeZoneName:"short"}).formatToParts(new Date(t)).find(s=>s.type==="timeZoneName");return a&&a.value},hi=t=>Mn.get(t),xe=t=>{const e=t.split(":");return parseInt(e[0],10)*60+parseInt(e[1],10)},hr=t=>{const e=~~(t/60),n=~~t%60;return[e.toString().padStart(2,"0"),n.toString().padStart(2,"0")].join(":")},gr=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(":")},Ne=(t,e="day")=>U().isSameOrBefore(U(t),e),gi=(t,e,n)=>U(t).isBetween(e,U(n)),yi=(t,e,n="month")=>U(t).isSame(e,n),bi=(t,e="hu")=>U(t).locale(e).toNow(!0),wi=["onClick"],Si={__name:"TimezoneSelector",props:{locale:{type:String,default:"hu"},currentZone:{type:String,required:!0}},emits:["change"],setup(t,{emit:e}){const n=t,o=e,{t:a}=st(),s=rt("timezone-selector"),i=r.computed(()=>zt(new Date,null,n.locale)),l=pr(),u=r.computed(()=>Array.from(Ln.values()).map(f=>({...f,isActive:zt(new Date,n.currentZone,n.locale)===zt(new Date,f.timezone,n.locale),zoneOffsetName:zt(new Date,f.timezone,n.locale)}))),c=f=>o("change",f);return(f,m)=>(r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(r.unref(s))},[r.createVNode(r.unref(kn),{path:"common.selectTimezone",tag:"span"},{timezone:r.withCtx(()=>[r.createElementVNode("a",{href:"#",onClick:m[0]||(m[0]=r.withModifiers(p=>c(r.unref(l)),["prevent"]))},r.toDisplayString(i.value),1)]),_:1}),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.value,p=>(r.openBlock(),r.createElementBlock("a",{key:p.countryLabelKey,href:"#",class:r.normalizeClass({"is-active":p.isActive}),onClick:r.withModifiers(d=>c(p.timezone),["prevent"])},r.toDisplayString(r.unref(a)(`common.${p.countryLabelKey}`))+" ("+r.toDisplayString(p.zoneOffsetName)+") ",11,wi))),128))],2))}},De=(t,e="",n={})=>{const o=r.ref(""),{t:a}=st(),s=r.computed(()=>{if(r.unref(e))try{const u=yr(r.unref(t),r.unref(e));return _a(u,r.unref(t))}catch(u){o.value=u}return r.unref(t)}),i=u=>({...u,...u.label&&{label:a(u.label??"",r.unref(n))},...u.tooltip&&{tooltip:a(u.tooltip??"")}});return{columns:r.computed(()=>ut(i,s.value)),error:o}},yr=(t,e="")=>{const n=ut(Jt,$t(",",e)),o=yt(t);if(n[0]==="")return resolve([]);const a=n.findIndex(s=>!o.includes(s));if(a>-1)throw n[a];return n};class Me extends Error{constructor(e,n={}){const{key:o,cause:a}=n;super(e),this.name="WidgetError",this.key=o,this.cause=a}}const Rt={message:"Undefined Column name Message",options:{key:"undefined-column",cause:{}}},_i={message:"Invalid season name",options:{key:"invalid-season-name",cause:{}}},Ti={class:"is-portrait-image"},Oi={class:"is-team-name-long"},$i={class:"is-team-name-short"},Pi={class:"is-team-name-long"},ki={class:"is-team-name-short"},Ei={class:"is-team-name-long"},vi={class:"is-team-name-short"},Ai=["href"],xi={class:"is-team-name-long"},Ni={class:"is-team-name-short"},Di=["href"],Mi={key:0,class:"is-text-dark"},Li=["href","target"],Ci={__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),s=e,{onError:i}=Ee(),{columns:l,error:u}=De(o,a,r.computed(()=>({offsetName:n.offsetName})));u.value&&i(new Me(Rt.message,{...Rt.options,cause:{column:u.value}}));const c=f=>s("sort",f);return(f,m)=>(r.openBlock(),r.createBlock(Ae,null,{default:r.withCtx(({el:p})=>[r.createVNode(ke,{columns:r.unref(l),sort:n.sort,rows:n.rows,"is-loading":t.isLoading,"append-to":t.appendTo||p,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",Ti,[(r.openBlock(),r.createBlock(_t,{key:d.player.playerId,src:d.player.picture,"default-src":r.unref(An)},null,8,["src","default-src"]))])]),"cell-teamLogo":r.withCtx(({row:d})=>{var g,h;return[(r.openBlock(),r.createBlock(_t,{class:"is-logo-image",key:((g=d.team)==null?void 0:g.id)??d.id,src:(h=d.team)==null?void 0:h.logo},null,8,["src"]))]}),"cell-homeTeamLogo":r.withCtx(({row:d})=>{var g,h;return[(r.openBlock(),r.createBlock(_t,{class:"is-logo-image is-right",key:(g=d.homeTeam)==null?void 0:g.id,src:(h=d.homeTeam)==null?void 0:h.logo},null,8,["src"]))]}),"cell-awayTeamLogo":r.withCtx(({row:d})=>{var g,h;return[(r.openBlock(),r.createBlock(_t,{class:"is-logo-image is-right",key:(g=d.awayTeam)==null?void 0:g.id,src:(h=d.awayTeam)==null?void 0:h.logo},null,8,["src"]))]}),"cell-teamName":r.withCtx(({row:d})=>{var g,h;return[r.createElementVNode("span",Oi,r.toDisplayString((g=d.team)==null?void 0:g.longName),1),r.createElementVNode("span",$i,r.toDisplayString((h=d.team)==null?void 0:h.shortName),1)]}),"cell-homeTeamName":r.withCtx(({row:d})=>{var g,h;return[r.createElementVNode("span",Pi,r.toDisplayString((g=d.homeTeam)==null?void 0:g.longName),1),r.createElementVNode("span",ki,r.toDisplayString((h=d.homeTeam)==null?void 0:h.shortName),1)]}),"cell-awayTeamName":r.withCtx(({row:d})=>{var g,h;return[r.createElementVNode("span",Ei,r.toDisplayString((g=d.awayTeam)==null?void 0:g.longName),1),r.createElementVNode("span",vi,r.toDisplayString((h=d.awayTeam)==null?void 0:h.shortName),1)]}),"cell-location":r.withCtx(({row:d})=>{var g;return[r.createTextVNode(r.toDisplayString(((g=d.location)==null?void 0:g.locationName)??""),1)]}),"cell-gameResult":r.withCtx(({row:d})=>[d.gameStatus===0?(r.openBlock(),r.createElementBlock("span",Mi,"-:-")):(r.openBlock(),r.createElementBlock("a",{key:1,href:t.externalGameResolver(d),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,Li))]),loading:r.withCtx(()=>[r.createVNode(ve)]),_:2},[t.isTeamLinked?{name:"cell-teamName",fn:r.withCtx(({row:d})=>{var g,h;return[r.createElementVNode("a",{href:t.externalTeamResolver(d),target:"_blank"},[r.createElementVNode("span",xi,r.toDisplayString((g=d.team)==null?void 0:g.longName),1),r.createElementVNode("span",Ni,r.toDisplayString((h=d.team)==null?void 0:h.shortName),1)],8,Ai)]}),key:"0"}:void 0,t.isPlayerLinked?{name:"cell-name",fn:r.withCtx(({row:d})=>[r.createElementVNode("a",{href:t.externalPlayerResolver(d),target:"_blank"},r.toDisplayString(d.name),9,Di)]),key:"1"}:void 0]),1032,["columns","sort","rows","is-loading","append-to"])]),_:1}))}},br={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:""}},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:B}]},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:B}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",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:B}]},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:B},{target:"w",direction:b},{target:"gd",direction:b},{target:"gf",direction:b}]}},Ii={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:B}]},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: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:B}]},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}]}},zi={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:B}]},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:B}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},goals:{label:"table.goals.short",tooltip:"table.goals.tooltip",sortOrders:[{target:"goals",direction:b},{target:"assists",direction:b}]},assists:{label:"table.assists.short",tooltip:"table.assists.tooltip",sortOrders:[{target:"assists",direction:b},{target:"goals",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",sortOrders:[{target:"points",direction:b}]},plusMinus:{label:"table.plusMinus.short",tooltip:"table.plusMinus.tooltip",sortOrders:[{target:"plusMinus",direction:b}]},shots:{label:"table.sog.short",tooltip:"table.sog.tooltip",sortOrders:[{target:"shots",direction:b}]},shotPercent:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"shootPercent",direction:b}]}},Ri={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:B}]},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:B}]},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}]}},Vi={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:B}]},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:B}]},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}]}},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:B}]},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}]}},ji={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:B}]},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}]}},Fi={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:B}]},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:B}]},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}]}},Ui={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:B}]},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:B}]},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:B}]},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:B}]},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:B}]},sp:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"sp",direction:b}]}},wr=async(t,e,n)=>{const o=`${En}${r.unref(t)}?${Hi(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)})})},Hi=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:"")},Ki=(t={})=>{const{initial:e=1,items:n=[],limit:o,auto:a=!1}=t,s=r.ref(r.unref(e)),i=c=>Ne(c,"day");return je(n,()=>{if(!a)return;const c=la(Sn(i,"gameDate"))(r.unref(n));s.value=c===-1?1:Math.floor(c/o)+1}),{page:s,change:c=>{s.value=c}}},qi=({options:t={},transform:e=a=>a,onError:n=ot,onSuccess:o=ot})=>{const{path:a,apiKey:s,params:i,resetOnExecute:l=!1,immediate:u=!1}=t,{state:c,error:f,isLoading:m,execute:p}=Ze(()=>wr(a,s,r.unref(i)).then(d=>e(d)),[],{immediate:u,resetOnExecute:l,onError:n,onSuccess:o});return{state:c,error:f,isLoading:m,execute:p}};/*! *****************************************************************************
8
+ var MjszVbrElementsCore=function(_,r){"use strict";var Er={VITE_VBR_API_URL:"https://api.icehockey.hu/vbr",VITE_VBR_API_KEY:"",VITE_USER_NODE_ENV:"production",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0,SSR:!1};const rt=t=>(Er.VITE_CSS_CLASS_PREFIX||"mjsz-vbr-")+t,ze={__name:"BaseSelect",props:{modelValue:{type:[String,Number],default:null}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,o=e,a=rt("base-input"),s=r.computed({get:()=>n.modelValue,set:i=>o("update:modelValue",i)});return(i,l)=>r.withDirectives((r.openBlock(),r.createElementBlock("select",{"onUpdate:modelValue":l[0]||(l[0]=u=>s.value=u),class:r.normalizeClass([r.unref(a),"is-select"])},[r.renderSlot(i.$slots,"default")],2)),[[r.vModelSelect,s.value]])}};function Ve(t){return r.getCurrentScope()?(r.onScopeDispose(t),!0):!1}function nt(t){return typeof t=="function"?t():r.unref(t)}const jt=typeof window<"u",ot=()=>{},Ar=vr();function vr(){var t;return jt&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function xr(t,e){function n(...o){return new Promise((a,s)=>{Promise.resolve(t(()=>e.apply(this,o),{fn:e,thisArg:this,args:o})).then(a).catch(s)})}return n}const Re=t=>t();function Nr(t=Re){const e=r.ref(!0);function n(){e.value=!1}function o(){e.value=!0}const a=(...s)=>{e.value&&t(...s)};return{isActive:r.readonly(e),pause:n,resume:o,eventFilter:a}}function ae(t,e=!1,n="Timeout"){return new Promise((o,a)=>{setTimeout(e?()=>a(n):o,t)})}function se(t,e=!1){function n(p,{flush:f="sync",deep:d=!1,timeout:g,throwOnTimeout:h}={}){let y=null;const O=[new Promise(k=>{y=r.watch(t,v=>{p(v)!==e&&(y==null||y(),k(v))},{flush:f,deep:d,immediate:!0})})];return g!=null&&O.push(ae(g,h).then(()=>nt(t)).finally(()=>y==null?void 0:y())),Promise.race(O)}function o(p,f){if(!r.isRef(p))return n(v=>v===p,f);const{flush:d="sync",deep:g=!1,timeout:h,throwOnTimeout:y}=f??{};let T=null;const k=[new Promise(v=>{T=r.watch([t,p],([A,M])=>{e!==(A===M)&&(T==null||T(),v(A))},{flush:d,deep:g,immediate:!0})})];return h!=null&&k.push(ae(h,y).then(()=>nt(t)).finally(()=>(T==null||T(),nt(t)))),Promise.race(k)}function a(p){return n(f=>!!f,p)}function s(p){return o(null,p)}function i(p){return o(void 0,p)}function l(p){return n(Number.isNaN,p)}function u(p,f){return n(d=>{const g=Array.from(d);return g.includes(p)||g.includes(nt(p))},f)}function c(p){return m(1,p)}function m(p=1,f){let d=-1;return n(()=>(d+=1,d>=p),f)}return Array.isArray(nt(t))?{toMatch:n,toContains:u,changed:c,changedTimes:m,get not(){return se(t,!e)}}:{toMatch:n,toBe:o,toBeTruthy:a,toBeNull:s,toBeNaN:l,toBeUndefined:i,changed:c,changedTimes:m,get not(){return se(t,!e)}}}function Dr(t){return se(t)}function Mr(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 u(...c){i(),a.value=!0,s=setTimeout(()=>{a.value=!1,s=null,t(...c)},nt(e))}return o&&(a.value=!0,jt&&u()),Ve(l),{isPending:r.readonly(a),start:u,stop:l}}var Ge=Object.getOwnPropertySymbols,Cr=Object.prototype.hasOwnProperty,Lr=Object.prototype.propertyIsEnumerable,Br=(t,e)=>{var n={};for(var o in t)Cr.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&Ge)for(var o of Ge(t))e.indexOf(o)<0&&Lr.call(t,o)&&(n[o]=t[o]);return n};function Ir(t,e,n={}){const o=n,{eventFilter:a=Re}=o,s=Br(o,["eventFilter"]);return r.watch(t,xr(a,e),s)}function je(t,e,n){const o=r.watch(t,(...a)=>(r.nextTick(()=>o()),e(...a)),n)}var zr=Object.defineProperty,Vr=Object.defineProperties,Rr=Object.getOwnPropertyDescriptors,Ft=Object.getOwnPropertySymbols,Fe=Object.prototype.hasOwnProperty,Ye=Object.prototype.propertyIsEnumerable,Ue=(t,e,n)=>e in t?zr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Gr=(t,e)=>{for(var n in e||(e={}))Fe.call(e,n)&&Ue(t,n,e[n]);if(Ft)for(var n of Ft(e))Ye.call(e,n)&&Ue(t,n,e[n]);return t},jr=(t,e)=>Vr(t,Rr(e)),Fr=(t,e)=>{var n={};for(var o in t)Fe.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o]);if(t!=null&&Ft)for(var o of Ft(t))e.indexOf(o)<0&&Ye.call(t,o)&&(n[o]=t[o]);return n};function Yr(t,e,n={}){const o=n,{eventFilter:a}=o,s=Fr(o,["eventFilter"]),{eventFilter:i,pause:l,resume:u,isActive:c}=Nr(a);return{stop:Ir(t,e,jr(Gr({},s),{eventFilter:i})),pause:l,resume:u,isActive:c}}function Ur(t,e,n){return r.watch(t,(o,a,s)=>{o&&e(o,a,s)},n)}function $t(t){var e;const n=nt(t);return(e=n==null?void 0:n.$el)!=null?e:n}const He=jt?window:void 0,Hr=jt?window.document:void 0;function Yt(...t){let e,n,o,a;if(typeof t[0]=="string"||Array.isArray(t[0])?([n,o,a]=t,e=He):[e,n,o,a]=t,!e)return ot;Array.isArray(n)||(n=[n]),Array.isArray(o)||(o=[o]);const s=[],i=()=>{s.forEach(m=>m()),s.length=0},l=(m,p,f,d)=>(m.addEventListener(p,f,d),()=>m.removeEventListener(p,f,d)),u=r.watch(()=>[$t(e),nt(a)],([m,p])=>{i(),m&&s.push(...n.flatMap(f=>o.map(d=>l(m,f,d,p))))},{immediate:!0,flush:"post"}),c=()=>{u(),i()};return Ve(c),c}let We=!1;function Wr(t,e,n={}){const{window:o=He,ignore:a=[],capture:s=!0,detectIframe:i=!1}=n;if(!o)return;Ar&&!We&&(We=!0,Array.from(o.document.body.children).forEach(f=>f.addEventListener("click",ot)));let l=!0;const u=f=>a.some(d=>{if(typeof d=="string")return Array.from(o.document.querySelectorAll(d)).some(g=>g===f.target||f.composedPath().includes(g));{const g=$t(d);return g&&(f.target===g||f.composedPath().includes(g))}}),m=[Yt(o,"click",f=>{const d=$t(t);if(!(!d||d===f.target||f.composedPath().includes(d))){if(f.detail===0&&(l=!u(f)),!l){l=!0;return}e(f)}},{passive:!0,capture:s}),Yt(o,"pointerdown",f=>{const d=$t(t);d&&(l=!f.composedPath().includes(d)&&!u(f))},{passive:!0}),i&&Yt(o,"blur",f=>{var d;const g=$t(t);((d=o.document.activeElement)==null?void 0:d.tagName)==="IFRAME"&&!(g!=null&&g.contains(o.document.activeElement))&&e(f)})].filter(Boolean);return()=>m.forEach(f=>f())}var Kr=Object.defineProperty,qr=Object.defineProperties,Zr=Object.getOwnPropertyDescriptors,Ke=Object.getOwnPropertySymbols,Xr=Object.prototype.hasOwnProperty,Jr=Object.prototype.propertyIsEnumerable,qe=(t,e,n)=>e in t?Kr(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Qr=(t,e)=>{for(var n in e||(e={}))Xr.call(e,n)&&qe(t,n,e[n]);if(Ke)for(var n of Ke(e))Jr.call(e,n)&&qe(t,n,e[n]);return t},to=(t,e)=>qr(t,Zr(e));function Ze(t,e,n){const{immediate:o=!0,delay:a=0,onError:s=ot,onSuccess:i=ot,resetOnExecute:l=!0,shallow:u=!0,throwError:c}=n??{},m=u?r.shallowRef(e):r.ref(e),p=r.ref(!1),f=r.ref(!1),d=r.shallowRef(void 0);async function g(T=0,...O){l&&(m.value=e),d.value=void 0,p.value=!1,f.value=!0,T>0&&await ae(T);const k=typeof t=="function"?t(...O):t;try{const v=await k;m.value=v,p.value=!0,i(v)}catch(v){if(d.value=v,s(v),c)throw v}finally{f.value=!1}return m.value}o&&g(a);const h={state:m,isReady:p,isLoading:f,error:d,execute:g};function y(){return new Promise((T,O)=>{Dr(f).toBe(!1).then(()=>T(h)).catch(O)})}return to(Qr({},h),{then(T,O){return y().then(T,O)}})}function eo({document:t=Hr}={}){if(!t)return r.ref("visible");const e=r.ref(t.visibilityState);return Yt(t,"visibilitychange",()=>{e.value=t.visibilityState}),e}var no=Object.defineProperty,Xe=Object.getOwnPropertySymbols,ro=Object.prototype.hasOwnProperty,oo=Object.prototype.propertyIsEnumerable,Je=(t,e,n)=>e in t?no(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,ao=(t,e)=>{for(var n in e||(e={}))ro.call(e,n)&&Je(t,n,e[n]);if(Xe)for(var n of Xe(e))oo.call(e,n)&&Je(t,n,e[n]);return t};async function so(t){return new Promise((e,n)=>{const o=new Image,{src:a,srcset:s,sizes:i,class:l,loading:u,crossorigin:c}=t;o.src=a,s&&(o.srcset=s),i&&(o.sizes=i),l&&(o.className=l),u&&(o.loading=u),c&&(o.crossOrigin=c),o.onload=()=>e(o),o.onerror=n})}function io(t,e={}){const n=Ze(()=>so(nt(t)),void 0,ao({resetOnExecute:!0},e));return r.watch(()=>nt(t),()=>n.execute(e.delay),{deep:!0}),n}function Qe(t=[],e={}){const{delay:n=0}=e,o=r.ref(!1),a=r.computed(()=>{const l=r.unref(t);return Array.isArray(l)?l.map(u=>r.unref(u)).some(Boolean):l}),{start:s,stop:i}=Mr(()=>{o.value=!0},n);return r.watch(a,l=>{if(l)return s();i(),o.value=!1},{immediate:!0,deep:!0}),o}function G(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function j(t){return function e(n){return arguments.length===0||G(n)?e:t.apply(this,arguments)}}function z(t){return function e(n,o){switch(arguments.length){case 0:return e;case 1:return G(n)?e:j(function(a){return t(n,a)});default:return G(n)&&G(o)?e:G(n)?j(function(a){return t(a,o)}):G(o)?j(function(a){return t(n,a)}):t(n,o)}}}function Ut(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,u){return e.apply(this,arguments)};case 8:return function(n,o,a,s,i,l,u,c){return e.apply(this,arguments)};case 9:return function(n,o,a,s,i,l,u,c,m){return e.apply(this,arguments)};case 10:return function(n,o,a,s,i,l,u,c,m,p){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function ie(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&&(!G(e[i])||a>=arguments.length)?l=e[i]:(l=arguments[a],a+=1),o[i]=l,G(l)||(s-=1),i+=1}return s<=0?n.apply(this,o):Ut(s,ie(t,o,n))}}var At=z(function(e,n){return e===1?j(n):Ut(e,ie(e,[],n))});function X(t){return function e(n,o,a){switch(arguments.length){case 0:return e;case 1:return G(n)?e:z(function(s,i){return t(n,s,i)});case 2:return G(n)&&G(o)?e:G(n)?z(function(s,i){return t(s,o,i)}):G(o)?z(function(s,i){return t(n,s,i)}):j(function(s){return t(n,o,s)});default:return G(n)&&G(o)&&G(a)?e:G(n)&&G(o)?z(function(s,i){return t(s,i,a)}):G(n)&&G(a)?z(function(s,i){return t(s,o,i)}):G(o)&&G(a)?z(function(s,i){return t(n,s,i)}):G(n)?j(function(s){return t(s,o,a)}):G(o)?j(function(s){return t(n,s,a)}):G(a)?j(function(s){return t(n,o,s)}):t(n,o,a)}}}const vt=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function lo(t){return t!=null&&typeof t["@@transducer/step"]=="function"}function xt(t,e,n){return function(){if(arguments.length===0)return n();var o=arguments[arguments.length-1];if(!vt(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(lo(o)){var s=e.apply(null,Array.prototype.slice.call(arguments,0,-1));return s(o)}}return n.apply(this,arguments)}}function le(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}const gt={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};function tn(t){for(var e=[],n;!(n=t.next()).done;)e.push(n.value);return e}function en(t,e,n){for(var o=0,a=n.length;o<a;){if(t(e,n[o]))return!0;o+=1}return!1}function co(t){var e=String(t).match(/^function (\w*)/);return e==null?"":e[1]}function Q(t,e){return Object.prototype.hasOwnProperty.call(e,t)}function uo(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}const ce=typeof Object.is=="function"?Object.is:uo;var nn=Object.prototype.toString,rn=function(){return nn.call(arguments)==="[object Arguments]"?function(e){return nn.call(e)==="[object Arguments]"}:function(e){return Q("callee",e)}}(),fo=!{toString:null}.propertyIsEnumerable("toString"),on=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],an=function(){return arguments.propertyIsEnumerable("length")}(),mo=function(e,n){for(var o=0;o<e.length;){if(e[o]===n)return!0;o+=1}return!1},yt=j(typeof Object.keys=="function"&&!an?function(e){return Object(e)!==e?[]:Object.keys(e)}:function(e){if(Object(e)!==e)return[];var n,o,a=[],s=an&&rn(e);for(n in e)Q(n,e)&&(!s||n!=="length")&&(a[a.length]=n);if(fo)for(o=on.length-1;o>=0;)n=on[o],Q(n,e)&&!mo(a,n)&&(a[a.length]=n),o-=1;return a}),ue=j(function(e){return e===null?"Null":e===void 0?"Undefined":Object.prototype.toString.call(e).slice(8,-1)});function sn(t,e,n,o){var a=tn(t),s=tn(e);function i(l,u){return de(l,u,n.slice(),o.slice())}return!en(function(l,u){return!en(i,u,l)},s,a)}function de(t,e,n,o){if(ce(t,e))return!0;var a=ue(t);if(a!==ue(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"&&co(t.constructor)==="Promise")return t===e;break;case"Boolean":case"Number":case"String":if(!(typeof t==typeof e&&ce(t.valueOf(),e.valueOf())))return!1;break;case"Date":if(!ce(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:sn(t.entries(),e.entries(),n.concat([t]),o.concat([e]));case"Set":return t.size!==e.size?!1:sn(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=yt(t);if(i.length!==yt(e).length)return!1;var l=n.concat([t]),u=o.concat([e]);for(s=i.length-1;s>=0;){var c=i[s];if(!(Q(c,e)&&de(e[c],t[c],l,u)))return!1;s-=1}return!0}var Ht=z(function(e,n){return de(e,n,[],[])});function po(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(Ht(t[n],e))return n;n+=1}return-1}function ln(t,e){return po(e,t,0)>=0}function Wt(t,e){for(var n=0,o=e.length,a=Array(o);n<o;)a[n]=t(e[n]),n+=1;return a}function fe(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 Nt=function(e){return(e<10?"0":"")+e},ho=typeof Date.prototype.toISOString=="function"?function(e){return e.toISOString()}:function(e){return e.getUTCFullYear()+"-"+Nt(e.getUTCMonth()+1)+"-"+Nt(e.getUTCDate())+"T"+Nt(e.getUTCHours())+":"+Nt(e.getUTCMinutes())+":"+Nt(e.getUTCSeconds())+"."+(e.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function go(t){return function(){return!t.apply(this,arguments)}}function cn(t,e,n){for(var o=0,a=n.length;o<a;)e=t(e,n[o]),o+=1;return e}function yo(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 Kt(t){return Object.prototype.toString.call(t)==="[object Object]"}var bo=function(){function t(e,n){this.xf=n,this.f=e}return t.prototype["@@transducer/init"]=gt.init,t.prototype["@@transducer/result"]=gt.result,t.prototype["@@transducer/step"]=function(e,n){return this.f(n)?this.xf["@@transducer/step"](e,n):e},t}();function _o(t){return function(e){return new bo(t,e)}}var me=z(xt(["fantasy-land/filter","filter"],_o,function(t,e){return Kt(e)?cn(function(n,o){return t(e[o])&&(n[o]=e[o]),n},{},yt(e)):yo(t,e)})),wo=z(function(e,n){return me(go(e),n)});function un(t,e){var n=function(i){var l=e.concat([t]);return ln(i,l)?"<Circular>":un(i,l)},o=function(s,i){return Wt(function(l){return fe(l)+": "+n(s[l])},i.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+Wt(n,t).join(", ")+"))";case"[object Array]":return"["+Wt(n,t).concat(o(t,wo(function(s){return/^\d+$/.test(s)},yt(t)))).join(", ")+"]";case"[object Boolean]":return typeof t=="object"?"new Boolean("+n(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?n(NaN):fe(ho(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())+")":fe(t);case"[object Undefined]":return"undefined";default:if(typeof t.toString=="function"){var a=t.toString();if(a!=="[object Object]")return a}return"{"+o(t,yt(t)).join(", ")+"}"}}var pe=j(function(e){return un(e,[])}),So=z(function(e,n){if(e===n)return n;function o(u,c){if(u>c!=c>u)return c>u?c:u}var a=o(e,n);if(a!==void 0)return a;var s=o(typeof e,typeof n);if(s!==void 0)return s===typeof e?e:n;var i=pe(e),l=o(i,pe(n));return l!==void 0&&l===i?e:n}),To=function(){function t(e,n){this.xf=n,this.f=e}return t.prototype["@@transducer/init"]=gt.init,t.prototype["@@transducer/result"]=gt.result,t.prototype["@@transducer/step"]=function(e,n){return this.xf["@@transducer/step"](e,this.f(n))},t}(),$o=function(e){return function(n){return new To(e,n)}},Oo=z(xt(["fantasy-land/map","map"],$o,function(e,n){switch(Object.prototype.toString.call(n)){case"[object Function]":return At(n.length,function(){return e.call(this,n.apply(this,arguments))});case"[object Object]":return cn(function(o,a){return o[a]=e(n[a]),o},{},yt(n));default:return Wt(e,n)}}));const ut=Oo,qt=Number.isInteger||function(e){return e<<0===e};function Zt(t){return Object.prototype.toString.call(t)==="[object String]"}var dn=z(function(e,n){var o=e<0?n.length+e:e;return Zt(n)?n.charAt(o):n[o]}),at=z(function(e,n){if(n!=null)return qt(e)?dn(e,n):n[e]}),Po=z(function(e,n){return ut(at(e),n)}),ko=j(function(e){return vt(e)?!0:!e||typeof e!="object"||Zt(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),fn=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function Eo(t,e,n){return function(a,s,i){if(ko(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[fn]!=null)return n(a,s,i[fn]());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 Ao(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 vo=z(function(e,n){return Ut(e.length,function(){return e.apply(n,arguments)})});function xo(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 No(t,e,n,o){return t["@@transducer/result"](n[o](vo(t["@@transducer/step"],t),e))}var mn=Eo(Ao,No,xo),Do=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 pn(t){return new Do(t)}var Mo=X(function(t,e,n){return mn(typeof t=="function"?pn(t):t,e,n)});const hn=Mo;var gn=j(function(e){return function(){return e}}),Co=j(function(e){return At(hn(So,0,Po("length",e)),function(){for(var n=0,o=e.length;n<o;){if(e[n].apply(this,arguments))return!0;n+=1}return!1})}),he=X(function(e,n,o){var a=e(n),s=e(o);return a<s?-1:a>s?1:0});function Lo(t,e,n){if(qt(t)&&vt(n)){var o=[].concat(n);return o[t]=e,o}var a={};for(var s in n)a[s]=n[s];return a[t]=e,a}var Bo=j(function(e){return e==null}),Io=X(function t(e,n,o){if(e.length===0)return n;var a=e[0];if(e.length>1){var s=!Bo(o)&&Q(a,o)&&typeof o[a]=="object"?o[a]:qt(e[1])?[]:{};n=t(Array.prototype.slice.call(e,1),n,s)}return Lo(a,n,o)}),zo=X(function(e,n,o){return Io([e],n,o)});function Vo(t){var e=Object.prototype.toString.call(t);return e==="[object Function]"||e==="[object AsyncFunction]"||e==="[object GeneratorFunction]"||e==="[object AsyncGeneratorFunction]"}function Ro(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 ge(t,e,n){if(n||(n=new jo),Go(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?ge(t[l],!0,n):t[l]);return s};switch(ue(t)){case"Object":return o(Object.create(Object.getPrototypeOf(t)));case"Array":return o([]);case"Date":return new Date(t.valueOf());case"RegExp":return Ro(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 Go(t){var e=typeof t;return t==null||e!="object"&&e!="function"}var jo=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 Fo(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function ye(t,e){return function(){var n=arguments.length;if(n===0)return e();var o=arguments[n-1];return vt(o)||typeof o[t]!="function"?e.apply(this,arguments):o[t].apply(o,Array.prototype.slice.call(arguments,0,n-1))}}var Yo=X(ye("slice",function(e,n,o){return Array.prototype.slice.call(o,e,n)})),Uo=j(ye("tail",Yo(1,1/0)));const Ho=Uo;function Xt(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return Ut(arguments[0].length,hn(Fo,arguments[0],Ho(arguments)))}var Wo=j(function(e){return Zt(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()});const Ko=Wo;function yn(){if(arguments.length===0)throw new Error("compose requires at least one argument");return Xt.apply(this,Ko(arguments))}var qo=j(function(e){return At(e.length,e)}),Zo=function(){function t(e,n,o,a){this.valueFn=e,this.valueAcc=n,this.keyFn=o,this.xf=a,this.inputs={}}return t.prototype["@@transducer/init"]=gt.init,t.prototype["@@transducer/result"]=function(e){var n;for(n in this.inputs)if(Q(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,ge(this.valueAcc,!1)],this.inputs[o][1]=this.valueFn(this.inputs[o][1],n),e},t}();function Xo(t,e,n){return function(o){return new Zo(t,e,n,o)}}var Jo=ie(4,[],xt([],Xo,function(e,n,o,a){var s=pn(function(i,l){var u=o(l),c=e(Q(u,i)?i[u]:ge(n,!1),l);return c&&c["@@transducer/reduced"]?le(i):(i[u]=c,i)});return mn(s,{},a)})),Qo=X(function(e,n,o){var a=e(n),s=e(o);return a>s?-1:a<s?1:0});const ta=Qo;function ea(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 na=j(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():vt(e)?[]:Zt(e)?"":Kt(e)?{}:rn(e)?function(){return arguments}():ea(e)?e.constructor.from(""):void 0}),ra=function(){function t(e,n){this.xf=n,this.f=e,this.found=!1}return t.prototype["@@transducer/init"]=gt.init,t.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,void 0)),this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,n){return this.f(n)&&(this.found=!0,e=le(this.xf["@@transducer/step"](e,n))),e},t}();function oa(t){return function(e){return new ra(t,e)}}var aa=z(xt(["find"],oa,function(e,n){for(var o=0,a=n.length;o<a;){if(e(n[o]))return n[o];o+=1}})),sa=function(){function t(e,n){this.xf=n,this.f=e,this.idx=-1,this.found=!1}return t.prototype["@@transducer/init"]=gt.init,t.prototype["@@transducer/result"]=function(e){return this.found||(e=this.xf["@@transducer/step"](e,-1)),this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,n){return this.idx+=1,this.f(n)&&(this.found=!0,e=le(this.xf["@@transducer/step"](e,this.idx))),e},t}();function ia(t){return function(e){return new sa(t,e)}}var la=z(xt([],ia,function(e,n){for(var o=0,a=n.length;o<a;){if(e(n[o]))return o;o+=1}return-1})),ca=z(ye("groupBy",Jo(function(t,e){return t.push(e),t},[]))),ua=X(function(e,n,o){return At(Math.max(e.length,n.length,o.length),function(){return e.apply(this,arguments)?n.apply(this,arguments):o.apply(this,arguments)})});const da=ua;var fa=z(ln),bn=z(function(e,n){return At(e+1,function(){var o=arguments[e];if(o!=null&&Vo(o[n]))return o[n].apply(o,Array.prototype.slice.call(arguments,0,e));throw new TypeError(pe(o)+' does not have a method named "'+n+'"')})}),ma=j(function(e){return e!=null&&Ht(e,na(e))}),pa=z(function(e,n){return function(o){return function(a){return ut(function(s){return n(s,a)},o(e(a)))}}}),ha=z(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=qt(i)?dn(i,a):a[i],s+=1}return a})}),be=z(function(e,n){return ha([e],n)[0]}),ga=j(function(e){return pa(at(e),zo(e))}),ya=X(function(e,n,o){var a={},s;n=n||{},o=o||{};for(s in n)Q(s,n)&&(a[s]=Q(s,o)?e(s,n[s],o[s]):n[s]);for(s in o)Q(s,o)&&!Q(s,a)&&(a[s]=o[s]);return a}),ba=X(function t(e,n,o){return ya(function(a,s,i){return Kt(s)&&Kt(i)?t(e,s,i):e(a,s,i)},n,o)}),_a=z(function(e,n){return ba(function(o,a,s){return s},e,n)});const wa=_a;var Sa=z(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}),_n=function(t){return{value:t,map:function(e){return _n(e(t))}}},Ta=X(function(e,n,o){return e(function(a){return _n(n(a))})(o).value}),wn=X(function(e,n,o){return e(at(n,o))}),$a=X(function(e,n,o){return o.replace(e,n)}),Oa=z(function(e,n){return Array.prototype.slice.call(n,0).sort(e)}),Pa=z(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 Sn=Pa;var Ot=bn(1,"split"),Tn=bn(0,"toLowerCase"),Dt=`
9
+ \v\f\r                 \u2028\u2029\uFEFF`,ka="​",Ea=typeof String.prototype.trim=="function",Aa=j(!Ea||Dt.trim()||!ka.trim()?function(e){var n=new RegExp("^["+Dt+"]["+Dt+"]*"),o=new RegExp("["+Dt+"]["+Dt+"]*$");return e.replace(n,"").replace(o,"")}:function(e){return e.trim()});const Jt=Aa,$n=Symbol("I18nContext"),K=r.reactive({messages:{},locale:"",fallbackLocale:""}),On=({messages:t={},locale:e="",fallbackLocale:n=""})=>{K.messages=t,K.locale=e,K.fallbackLocale=n;const o=(u,c={})=>{const m=!ma(c),p=ut(Jt,Ot(".",u));return r.computed(()=>{const d=Pn(p);return m?xa(d,c):d}).value},a=u=>{const c=ut(Jt,Ot(".",u));return!!_e(K.locale,c,K.messages)},s=u=>{K.locale=u},l={locale:r.computed({get(){return K.locale},set(u){K.locale=u}}),setLocale:s,translate:o,hasTranslation:a};return r.provide($n,l),{translate:o}},st=t=>{t&&(K.messages=t.messages,K.locale=t.locale,K.fallbackLocale=t.fallbackLocale);const e=va();return{locale:e.locale,t:e.translate,setLocale:e.setLocale,hasTranslation:e.hasTranslation}},va=()=>{const t=r.inject($n,null);if(t===null)throw new Error("Privider is missing a parent component.");return t},Pn=(t=[])=>{let e=_e(K.locale,t,K.messages);return!e&&K.fallbackLocale&&(e=_e(K.fallbackLocale,t,K.messages)),e||t.join(".")};function _e(t,e,n){return be([t,...e],n)}const xa=function(t,e){return t.replace(/\{(\w+)\}/g,function(n,o){return e[o]})},kn=r.defineComponent({props:{tag:{type:String,default:"div"},path:{type:String,defult:""}},setup(t,{slots:e}){const n=ut(Jt,Ot(".",t.path)),o=Pn(n),a=Ot(/{|}/,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)}}),En="https://api.icehockey.hu/vbr",An="https://www.jegkorongszovetseg.hu/event/game/{gameId}",vn="https://jegkorongszovetseg.hu/assets/images/player_blank.png",xn="https://www.ersteliga.hu/stats/player/?playerId={player.playerId}&championshipId={championshipId}",Nn="https://www.ersteliga.hu/stats/team/?teamId={team.id}&championshipId={championshipId}",Dn="https://api.icehockey.hu/static/api/flag",it="original",b="descend",B="ascend",Mn=new Map().set("hu","hu-hu").set("en","hu-gb"),Cn=new Map().set("Europe/Budapest",{countryLabelKey:"hungary",timezone:"Europe/Budapest"}).set("Europe/Bucharest",{countryLabelKey:"romania",timezone:"Europe/Bucharest"}),Na=1e3*60*5,Ln=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"},Ma=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),Ca=[Ma];function La(t,e){return r.openBlock(),r.createElementBlock("svg",Da,Ca)}const Bn={render:La},Ba={"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"},Ia=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),za=[Ia];function Va(t,e){return r.openBlock(),r.createElementBlock("svg",Ba,za)}const Ra={render:Va},Ga={"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"},ja=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),Fa=[ja];function Ya(t,e){return r.openBlock(),r.createElementBlock("svg",Ga,Fa)}const Ua={render:Ya};function Mt(t){return t.split("-")[1]}function we(t){return t==="y"?"height":"width"}function bt(t){return t.split("-")[0]}function Ct(t){return["top","bottom"].includes(bt(t))?"x":"y"}function In(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=Ct(e),u=we(l),c=o[u]/2-a[u]/2,m=l==="x";let p;switch(bt(e)){case"top":p={x:s,y:o.y-a.height};break;case"bottom":p={x:s,y:o.y+o.height};break;case"right":p={x:o.x+o.width,y:i};break;case"left":p={x:o.x-a.width,y:i};break;default:p={x:o.x,y:o.y}}switch(Mt(e)){case"start":p[l]-=c*(n&&m?-1:1);break;case"end":p[l]+=c*(n&&m?-1:1)}return p}const Ha=async(t,e,n)=>{const{placement:o="bottom",strategy:a="absolute",middleware:s=[],platform:i}=n,l=s.filter(Boolean),u=await(i.isRTL==null?void 0:i.isRTL(e));let c=await i.getElementRects({reference:t,floating:e,strategy:a}),{x:m,y:p}=In(c,o,u),f=o,d={},g=0;for(let h=0;h<l.length;h++){const{name:y,fn:T}=l[h],{x:O,y:k,data:v,reset:A}=await T({x:m,y:p,initialPlacement:o,placement:f,strategy:a,middlewareData:d,rects:c,platform:i,elements:{reference:t,floating:e}});m=O??m,p=k??p,d={...d,[y]:{...d[y],...v}},A&&g<=50&&(g++,typeof A=="object"&&(A.placement&&(f=A.placement),A.rects&&(c=A.rects===!0?await i.getElementRects({reference:t,floating:e,strategy:a}):A.rects),{x:m,y:p}=In(c,f,u)),h=-1)}return{x:m,y:p,placement:f,strategy:a,middlewareData:d}};function zn(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 Qt(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function Vn(t,e){var n;e===void 0&&(e={});const{x:o,y:a,platform:s,rects:i,elements:l,strategy:u}=t,{boundary:c="clippingAncestors",rootBoundary:m="viewport",elementContext:p="floating",altBoundary:f=!1,padding:d=0}=e,g=zn(d),h=l[f?p==="floating"?"reference":"floating":p],y=Qt(await s.getClippingRect({element:(n=await(s.isElement==null?void 0:s.isElement(h)))==null||n?h:h.contextElement||await(s.getDocumentElement==null?void 0:s.getDocumentElement(l.floating)),boundary:c,rootBoundary:m,strategy:u})),T=p==="floating"?{...i.floating,x:o,y:a}:i.reference,O=await(s.getOffsetParent==null?void 0:s.getOffsetParent(l.floating)),k=await(s.isElement==null?void 0:s.isElement(O))&&await(s.getScale==null?void 0:s.getScale(O))||{x:1,y:1},v=Qt(s.convertOffsetParentRelativeRectToViewportRelativeRect?await s.convertOffsetParentRelativeRectToViewportRelativeRect({rect:T,offsetParent:O,strategy:u}):T);return{top:(y.top-v.top+g.top)/k.y,bottom:(v.bottom-y.bottom+g.bottom)/k.y,left:(y.left-v.left+g.left)/k.x,right:(v.right-y.right+g.right)/k.x}}const Wa=Math.min,Ka=Math.max;function Se(t,e,n){return Ka(t,Wa(e,n))}const Rn=t=>({name:"arrow",options:t,async fn(e){const{element:n,padding:o=0}=t||{},{x:a,y:s,placement:i,rects:l,platform:u,elements:c}=e;if(n==null)return{};const m=zn(o),p={x:a,y:s},f=Ct(i),d=we(f),g=await u.getDimensions(n),h=f==="y",y=h?"top":"left",T=h?"bottom":"right",O=h?"clientHeight":"clientWidth",k=l.reference[d]+l.reference[f]-p[f]-l.floating[d],v=p[f]-l.reference[f],A=await(u.getOffsetParent==null?void 0:u.getOffsetParent(n));let M=A?A[O]:0;M&&await(u.isElement==null?void 0:u.isElement(A))||(M=c.floating[O]||l.floating[d]);const I=k/2-v/2,R=m[y],C=M-g[d]-m[T],N=M/2-g[d]/2+I,V=Se(R,N,C),H=Mt(i)!=null&&N!=V&&l.reference[d]/2-(N<R?m[y]:m[T])-g[d]/2<0;return{[f]:p[f]-(H?N<R?R-N:C-N:0),data:{[f]:V,centerOffset:N-V}}}});["top","right","bottom","left"].reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]);const qa={left:"right",right:"left",bottom:"top",top:"bottom"};function te(t){return t.replace(/left|right|bottom|top/g,e=>qa[e])}function Za(t,e,n){n===void 0&&(n=!1);const o=Mt(t),a=Ct(t),s=we(a);let i=a==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[s]>e.floating[s]&&(i=te(i)),{main:i,cross:te(i)}}const Xa={start:"end",end:"start"};function Te(t){return t.replace(/start|end/g,e=>Xa[e])}const Ja=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:u}=e,{mainAxis:c=!0,crossAxis:m=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:d="none",flipAlignment:g=!0,...h}=t,y=bt(o),T=bt(i)===i,O=await(l.isRTL==null?void 0:l.isRTL(u.floating)),k=p||(T||!g?[te(i)]:function(V){const H=te(V);return[Te(V),H,Te(H)]}(i));p||d==="none"||k.push(...function(V,H,E,$){const S=Mt(V);let P=function(w,x,D){const L=["left","right"],Y=["right","left"],F=["top","bottom"],W=["bottom","top"];switch(w){case"top":case"bottom":return D?x?Y:L:x?L:Y;case"left":case"right":return x?F:W;default:return[]}}(bt(V),E==="start",$);return S&&(P=P.map(w=>w+"-"+S),H&&(P=P.concat(P.map(Te)))),P}(i,g,d,O));const v=[i,...k],A=await Vn(e,h),M=[];let I=((n=a.flip)==null?void 0:n.overflows)||[];if(c&&M.push(A[y]),m){const{main:V,cross:H}=Za(o,s,O);M.push(A[V],A[H])}if(I=[...I,{placement:o,overflows:M}],!M.every(V=>V<=0)){var R,C;const V=(((R=a.flip)==null?void 0:R.index)||0)+1,H=v[V];if(H)return{data:{index:V,overflows:I},reset:{placement:H}};let E=(C=I.filter($=>$.overflows[0]<=0).sort(($,S)=>$.overflows[1]-S.overflows[1])[0])==null?void 0:C.placement;if(!E)switch(f){case"bestFit":{var N;const $=(N=I.map(S=>[S.placement,S.overflows.filter(P=>P>0).reduce((P,w)=>P+w,0)]).sort((S,P)=>S[1]-P[1])[0])==null?void 0:N[0];$&&(E=$);break}case"initialPlacement":E=i}if(o!==E)return{reset:{placement:E}}}return{}}}},Qa=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:u,elements:c}=s,m=await(u.isRTL==null?void 0:u.isRTL(c.floating)),p=bt(l),f=Mt(l),d=Ct(l)==="x",g=["left","top"].includes(p)?-1:1,h=m&&d?-1:1,y=typeof i=="function"?i(s):i;let{mainAxis:T,crossAxis:O,alignmentAxis:k}=typeof y=="number"?{mainAxis:y,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...y};return f&&typeof k=="number"&&(O=f==="end"?-1*k:k),d?{x:O*h,y:T*g}:{x:T*g,y:O*h}}(e,t);return{x:n+a.x,y:o+a.y,data:a}}}};function ts(t){return t==="x"?"y":"x"}const es=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:T,y:O}=y;return{x:T,y:O}}},...u}=t,c={x:n,y:o},m=await Vn(e,u),p=Ct(bt(a)),f=ts(p);let d=c[p],g=c[f];if(s){const y=p==="y"?"bottom":"right";d=Se(d+m[p==="y"?"top":"left"],d,d-m[y])}if(i){const y=f==="y"?"bottom":"right";g=Se(g+m[f==="y"?"top":"left"],g,g-m[y])}const h=l.fn({...e,[p]:d,[f]:g});return{...h,data:{x:h.x-n,y:h.y-o}}}}};function J(t){var e;return((e=t.ownerDocument)==null?void 0:e.defaultView)||window}function tt(t){return J(t).getComputedStyle(t)}function Gn(t){return t instanceof J(t).Node}function dt(t){return Gn(t)?(t.nodeName||"").toLowerCase():""}function et(t){return t instanceof J(t).HTMLElement}function Z(t){return t instanceof J(t).Element}function jn(t){return typeof ShadowRoot>"u"?!1:t instanceof J(t).ShadowRoot||t instanceof ShadowRoot}function Lt(t){const{overflow:e,overflowX:n,overflowY:o,display:a}=tt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(a)}function ns(t){return["table","td","th"].includes(dt(t))}function $e(t){const e=Oe(),n=tt(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 Oe(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function ee(t){return["html","body","#document"].includes(dt(t))}const Fn=Math.min,Bt=Math.max,ne=Math.round;function Yn(t){const e=tt(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const a=et(t),s=a?t.offsetWidth:n,i=a?t.offsetHeight:o,l=ne(n)!==s||ne(o)!==i;return l&&(n=s,o=i),{width:n,height:o,fallback:l}}function Un(t){return Z(t)?t:t.contextElement}const Hn={x:1,y:1};function Pt(t){const e=Un(t);if(!et(e))return Hn;const n=e.getBoundingClientRect(),{width:o,height:a,fallback:s}=Yn(e);let i=(s?ne(n.width):n.width)/o,l=(s?ne(n.height):n.height)/a;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}const Wn={x:0,y:0};function Kn(t,e,n){var o,a;if(e===void 0&&(e=!0),!Oe())return Wn;const s=t?J(t):window;return!n||e&&n!==s?Wn:{x:((o=s.visualViewport)==null?void 0:o.offsetLeft)||0,y:((a=s.visualViewport)==null?void 0:a.offsetTop)||0}}function _t(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const a=t.getBoundingClientRect(),s=Un(t);let i=Hn;e&&(o?Z(o)&&(i=Pt(o)):i=Pt(t));const l=Kn(s,n,o);let u=(a.left+l.x)/i.x,c=(a.top+l.y)/i.y,m=a.width/i.x,p=a.height/i.y;if(s){const f=J(s),d=o&&Z(o)?J(o):o;let g=f.frameElement;for(;g&&o&&d!==f;){const h=Pt(g),y=g.getBoundingClientRect(),T=getComputedStyle(g);y.x+=(g.clientLeft+parseFloat(T.paddingLeft))*h.x,y.y+=(g.clientTop+parseFloat(T.paddingTop))*h.y,u*=h.x,c*=h.y,m*=h.x,p*=h.y,u+=y.x,c+=y.y,g=J(g).frameElement}}return Qt({width:m,height:p,x:u,y:c})}function ft(t){return((Gn(t)?t.ownerDocument:t.document)||window.document).documentElement}function re(t){return Z(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function qn(t){return _t(ft(t)).left+re(t).scrollLeft}function kt(t){if(dt(t)==="html")return t;const e=t.assignedSlot||t.parentNode||jn(t)&&t.host||ft(t);return jn(e)?e.host:e}function Zn(t){const e=kt(t);return ee(e)?e.ownerDocument.body:et(e)&&Lt(e)?e:Zn(e)}function It(t,e){var n;e===void 0&&(e=[]);const o=Zn(t),a=o===((n=t.ownerDocument)==null?void 0:n.body),s=J(o);return a?e.concat(s,s.visualViewport||[],Lt(o)?o:[]):e.concat(o,It(o))}function Xn(t,e,n){let o;if(e==="viewport")o=function(a,s){const i=J(a),l=ft(a),u=i.visualViewport;let c=l.clientWidth,m=l.clientHeight,p=0,f=0;if(u){c=u.width,m=u.height;const d=Oe();(!d||d&&s==="fixed")&&(p=u.offsetLeft,f=u.offsetTop)}return{width:c,height:m,x:p,y:f}}(t,n);else if(e==="document")o=function(a){const s=ft(a),i=re(a),l=a.ownerDocument.body,u=Bt(s.scrollWidth,s.clientWidth,l.scrollWidth,l.clientWidth),c=Bt(s.scrollHeight,s.clientHeight,l.scrollHeight,l.clientHeight);let m=-i.scrollLeft+qn(a);const p=-i.scrollTop;return tt(l).direction==="rtl"&&(m+=Bt(s.clientWidth,l.clientWidth)-u),{width:u,height:c,x:m,y:p}}(ft(t));else if(Z(e))o=function(a,s){const i=_t(a,!0,s==="fixed"),l=i.top+a.clientTop,u=i.left+a.clientLeft,c=et(a)?Pt(a):{x:1,y:1};return{width:a.clientWidth*c.x,height:a.clientHeight*c.y,x:u*c.x,y:l*c.y}}(e,n);else{const a=Kn(t);o={...e,x:e.x-a.x,y:e.y-a.y}}return Qt(o)}function Jn(t,e){const n=kt(t);return!(n===e||!Z(n)||ee(n))&&(tt(n).position==="fixed"||Jn(n,e))}function Qn(t,e){return et(t)&&tt(t).position!=="fixed"?e?e(t):t.offsetParent:null}function tr(t,e){const n=J(t);if(!et(t))return n;let o=Qn(t,e);for(;o&&ns(o)&&tt(o).position==="static";)o=Qn(o,e);return o&&(dt(o)==="html"||dt(o)==="body"&&tt(o).position==="static"&&!$e(o))?n:o||function(a){let s=kt(a);for(;et(s)&&!ee(s);){if($e(s))return s;s=kt(s)}return null}(t)||n}function rs(t,e,n){const o=et(e),a=ft(e),s=n==="fixed",i=_t(t,!0,s,e);let l={scrollLeft:0,scrollTop:0};const u={x:0,y:0};if(o||!o&&!s)if((dt(e)!=="body"||Lt(a))&&(l=re(e)),et(e)){const c=_t(e,!0,s,e);u.x=c.x+e.clientLeft,u.y=c.y+e.clientTop}else a&&(u.x=qn(a));return{x:i.left+l.scrollLeft-u.x,y:i.top+l.scrollTop-u.y,width:i.width,height:i.height}}const os={getClippingRect:function(t){let{element:e,boundary:n,rootBoundary:o,strategy:a}=t;const s=n==="clippingAncestors"?function(c,m){const p=m.get(c);if(p)return p;let f=It(c).filter(y=>Z(y)&&dt(y)!=="body"),d=null;const g=tt(c).position==="fixed";let h=g?kt(c):c;for(;Z(h)&&!ee(h);){const y=tt(h),T=$e(h);T||y.position!=="fixed"||(d=null),(g?!T&&!d:!T&&y.position==="static"&&d&&["absolute","fixed"].includes(d.position)||Lt(h)&&!T&&Jn(c,h))?f=f.filter(O=>O!==h):d=y,h=kt(h)}return m.set(c,f),f}(e,this._c):[].concat(n),i=[...s,o],l=i[0],u=i.reduce((c,m)=>{const p=Xn(e,m,a);return c.top=Bt(p.top,c.top),c.right=Fn(p.right,c.right),c.bottom=Fn(p.bottom,c.bottom),c.left=Bt(p.left,c.left),c},Xn(e,l,a));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:n,strategy:o}=t;const a=et(n),s=ft(n);if(n===s)return e;let i={scrollLeft:0,scrollTop:0},l={x:1,y:1};const u={x:0,y:0};if((a||!a&&o!=="fixed")&&((dt(n)!=="body"||Lt(s))&&(i=re(n)),et(n))){const c=_t(n);l=Pt(n),u.x=c.x+n.clientLeft,u.y=c.y+n.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-i.scrollLeft*l.x+u.x,y:e.y*l.y-i.scrollTop*l.y+u.y}},isElement:Z,getDimensions:function(t){return Yn(t)},getOffsetParent:tr,getDocumentElement:ft,getScale:Pt,async getElementRects(t){let{reference:e,floating:n,strategy:o}=t;const a=this.getOffsetParent||tr,s=this.getDimensions;return{reference:rs(e,await a(n),o),floating:{x:0,y:0,...await s(n)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>tt(t).direction==="rtl"};function as(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:a=!0,ancestorResize:s=!0,elementResize:i=!0,animationFrame:l=!1}=o,u=a||s?[...Z(t)?It(t):t.contextElement?It(t.contextElement):[],...It(e)]:[];u.forEach(f=>{const d=!Z(f)&&f.toString().includes("V");!a||l&&!d||f.addEventListener("scroll",n,{passive:!0}),s&&f.addEventListener("resize",n)});let c,m=null;i&&(m=new ResizeObserver(()=>{n()}),Z(t)&&!l&&m.observe(t),Z(t)||!t.contextElement||l||m.observe(t.contextElement),m.observe(e));let p=l?_t(t):null;return l&&function f(){const d=_t(t);!p||d.x===p.x&&d.y===p.y&&d.width===p.width&&d.height===p.height||n(),p=d,c=requestAnimationFrame(f)}(),n(),()=>{var f;u.forEach(d=>{a&&d.removeEventListener("scroll",n),s&&d.removeEventListener("resize",n)}),(f=m)==null||f.disconnect(),m=null,l&&cancelAnimationFrame(c)}}const ss=(t,e,n)=>{const o=new Map,a={platform:os,...n},s={...a.platform,_c:o};return Ha(t,e,{...a,platform:s})},er=(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 is({middleware:t,placement:e=null,strategy:n,append:o,enabled:a}){const s=r.ref(null),i=r.ref(null),l=r.ref(null),u=r.ref(null),c=r.ref(null),m=r.ref(null),p=r.ref(null),f=r.ref(n??"absolute"),d=r.ref(null),g=()=>{!s.value||!i.value||ss(s.value,i.value,{middleware:t,placement:e,strategy:n}).then(y=>{l.value=y.x,u.value=y.y,f.value=y.strategy,c.value=y.middlewareData.arrow.x,m.value=y.middlewareData.arrow.y,p.value=y.placement})};r.watch(()=>({reference:r.unref(s),floating:r.unref(i),append:r.unref(o)}),({floating:y,append:T})=>{T&&er(y,T),g()},{flush:"post"}),r.watch(a,y=>{if(!(!s.value||!i.value)){if(!y)return h();d.value=as(s.value,i.value,g,{})}},{flush:"post"});const h=()=>{var y;(y=d.value)==null||y.call(d),d.value=null};return{x:l,y:u,arrowX:c,arrowY:m,placement:p,reference:s,floating:i,strategy:f,update:g}}const ls=t=>{const{element:e,padding:n}=t;return{name:"arrow",options:t,fn(o){return r.isRef(e)?e.value!=null?Rn({element:e.value,padding:n}).fn(o):{}:e?Rn({element:e,padding:n}).fn(o):{}}}},cs=["data-placement"],Pe={__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:u,reference:c,floating:m,strategy:p}=is({placement:e.placement,middleware:[Ja(),es({padding:5}),Qa(e.offset),ls({element:o,padding:5})],append:r.computed(()=>e.appendTo),enabled:n}),f=()=>{e.disabled||n.value||(n.value=!0)},d=y=>{n.value&&y&&(n.value=!1)},g=y=>{c.value=y},h={mouseenter:f,mouseleave:d,focus:f,blur:d};return Wr(m,y=>{var T;(T=c.value)!=null&&T.contains(y.target)||d()}),(y,T)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.renderSlot(y.$slots,"default",{setRef:g,show:f,hide:d,events:h}),r.createElementVNode("div",{ref_key:"floating",ref:m,"data-placement":r.unref(u),style:r.normalizeStyle({position:r.unref(p),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:d},()=>[r.createTextVNode(r.toDisplayString(t.content),1)]),r.createElementVNode("div",{ref_key:"arrowRef",ref:o,class:"is-arrow",style:r.normalizeStyle({position:r.unref(p),top:r.unref(l)?`${r.unref(l)}px`:"",left:r.unref(i)?`${r.unref(i)}px`:""})},null,4)],2)):r.createCommentVNode("",!0)]),_:3})],12,cs)],64))}},us=["onMouseenter","onMouseleave","onFocus","onBlur","onClick","onKeydown","tabindex"],ds={key:0},fs=["colspan"],ms={key:1},ps=["colspan"],ke={__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=Qe(o,{delay:Ln}),i=e,{t:l}=st(),u=rt("table"),c=r.computed(()=>n.columns),m=r.computed(()=>Object.keys(n.columns).length),p=(f,d)=>{f.sortOrders&&i("sort",{target:d,orders:f.sortOrders})};return(f,d)=>(r.openBlock(),r.createElementBlock("table",{class:r.normalizeClass(r.unref(u))},[r.createElementVNode("thead",null,[r.createElementVNode("tr",null,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(c.value,(g,h)=>(r.openBlock(),r.createBlock(Pe,{key:h,placement:"top",content:g.tooltip,disabled:!g.tooltip,"append-to":r.unref(a)},{default:r.withCtx(({setRef:y,show:T,hide:O})=>[r.createElementVNode("th",{ref_for:!0,ref:y,class:r.normalizeClass([[g.class],{"is-active":h===t.sort.sortTarget&&t.sort.orders[0].direction!==r.unref(it),"is-sortable":g.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(B)}]),onMouseenter:T,onMouseleave:O,onFocus:T,onBlur:O,onClick:k=>p(g,h),onKeydown:[r.withKeys(r.withModifiers(k=>p(g,h),["prevent"]),["space"]),r.withKeys(r.withModifiers(k=>p(g,h),["prevent"]),["enter"])],tabindex:g.sortOrders?0:-1,role:"button"},[r.renderSlot(f.$slots,`header-${h}`,{column:g},()=>[r.createTextVNode(r.toDisplayString(g.label),1)]),g.sortOrders&&h!==t.sort.sortTarget?(r.openBlock(),r.createBlock(r.unref(Bn),{key:0,class:"is-icon-sort"})):r.createCommentVNode("",!0),h===t.sort.sortTarget&&t.sort.orders[0].direction===r.unref(it)?(r.openBlock(),r.createBlock(r.unref(Bn),{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(Ra),{key:2,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(Ua),{key:3,class:"is-icon-sort"})):r.createCommentVNode("",!0)],42,us)]),_:2},1032,["content","disabled","append-to"]))),128))])]),r.createElementVNode("tbody",null,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(n.rows,(g,h)=>(r.openBlock(),r.createElementBlock("tr",{key:h,class:r.normalizeClass(g.rowClasses)},[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(c.value,(y,T)=>(r.openBlock(),r.createElementBlock("td",{key:T,class:r.normalizeClass([[y.class],{"is-active":T===t.sort.sortTarget&&t.sort.orders[0].direction!==r.unref(it),"is-zero":g[T]==0}])},[r.renderSlot(f.$slots,`cell-${T}`,{row:g,prop:T},()=>[r.createTextVNode(r.toDisplayString(g[T]),1)])],2))),128))],2))),128))]),r.unref(s)&&t.rows.length===0?(r.openBlock(),r.createElementBlock("tfoot",ds,[r.createElementVNode("tr",null,[r.createElementVNode("td",{colspan:m.value},[r.renderSlot(f.$slots,"loading",{},()=>[r.createTextVNode(r.toDisplayString(r.unref(l)("common.loading")),1)])],8,fs)])])):r.createCommentVNode("",!0),t.rows.length===0&&!r.unref(o)&&!r.unref(s)?(r.openBlock(),r.createElementBlock("tfoot",ms,[r.createElementVNode("tr",null,[r.createElementVNode("td",{colspan:m.value},[r.renderSlot(f.$slots,"empty",{},()=>[r.createTextVNode(r.toDisplayString(r.unref(l)("common.noData")),1)])],8,ps)])])):r.createCommentVNode("",!0)],2))}},hs={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"},gs=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),ys=r.createElementVNode("line",{x1:"12",y1:"9",x2:"12",y2:"13"},null,-1),bs=r.createElementVNode("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"},null,-1),_s=[gs,ys,bs];function ws(t,e){return r.openBlock(),r.createElementBlock("svg",hs,_s)}const Ss={render:ws},Ts={__name:"ErrorNotice",props:{error:{type:Object,default:()=>({})}},setup(t){const e=t,{t:n,hasTranslation:o}=st(),a=rt("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(Ss),{class:"icon",width:"20",height:"20"}),r.createElementVNode("span",null,r.toDisplayString(s.value),1)],2))}};function nr(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 wt=function(t="",e={}){return t.replace(/\{([^}]+)\}/g,function(n,o){return be(Ot(".",o),e)})},rr=Symbol("ErrorProviderContext"),or=()=>{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||nr(s.message),cause:s.cause}},a={onError:n,reset:()=>{t.value="",e.value={}}};return r.provide(rr,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}},Ee=()=>{const t=$s();return{onError:t.onError,reset:t.reset}},$s=()=>{const t=r.inject(rr,null);if(t===null)throw new Error("Privider is missing a parent component.");return t},Os={__name:"ErrorProvider",setup(t){const{message:e,hasError:n,error:o}=or();return(a,s)=>r.renderSlot(a.$slots,"default",{message:r.unref(e),error:r.unref(o),hasError:r.unref(n)})}},Ps={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ó"},additionalText:{inheritedPoints:{prependix:"A megelőző bajnokság szakaszban elért eredménye alapján",content:"{team} csapata {points}",appendix:"többletponttal rendelkezik."},penaltyPoints:{prependix:"* Fegyelmi Bizottság döntése alapján:",content:"{team} csapatától {points} pont",appendix:"levonva."}},table:{blank:"#",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"}}},ks={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"},additionalText:{inheritedPoints:{prependix:"",content:"{team} has {points} extra point(s)",appendix:"based on its results in the previous championship phase."},penaltyPoints:{prependix:"* ",content:"{points} point(s) deducted from team {team}",appendix:"based on the decision of the Disciplinary Committee."}},table:{blank:"#",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"}}},Es=(t,e)=>{const n=t.__vccOpts||t;for(const[o,a]of e)n[o]=a;return n},As=r.defineComponent({props:{locale:{type:String,default:"hu"},messages:{type:Object,default:()=>({})}},setup(t){const e=wa({hu:Ps,en:ks},t.messages),{translate:n}=On({locale:r.computed(()=>t.locale),messages:e});return{translate:n}}});function vs(t,e,n,o,a,s){return r.renderSlot(t.$slots,"default",{t:t.translate})}const xs=Es(As,[["render",vs]]),Ns=["src"],Ds=["src","title"],St=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}=io(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 is-default",i.$attrs.class])},null,10,Ns)):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,Ds))],64))}}),Ms={style:{"text-align":"center"}},Ae={__name:"LoadingIndicator",setup(t){const{t:e}=st();return(n,o)=>(r.openBlock(),r.createElementBlock("div",Ms,r.toDisplayString(r.unref(e)("common.loading")),1))}};function Cs({currentPage:t,itemsPerPage:e=20,totalItems:n,rangeLength:o=5,update:a=ot}){const s=r.computed(()=>Math.ceil(r.unref(n)/e)),i=r.computed(()=>{const m=r.unref(t)-1,p=Array.from({length:s.value},(g,h)=>h+1),f=Math.floor(o/2);let d=Math.max(m-f,0);return d+o>=s.value&&(d=Math.max(s.value-o,0)),p.slice(d,d+o)}),l=m=>{const p=r.unref(t)+m;c(p)&&a(p)},u=m=>{c(m)&&a(m)},c=m=>m<=s.value&&m>0;return{page:t,range:i,pageCount:s,goTo:u,pageStep:l}}const Ls={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"},Bs=r.createElementVNode("polyline",{points:"15 18 9 12 15 6"},null,-1),Is=[Bs];function zs(t,e){return r.openBlock(),r.createElementBlock("svg",Ls,Is)}const Vs={render:zs},Rs={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"},Gs=r.createElementVNode("polyline",{points:"9 18 15 12 9 6"},null,-1),js=[Gs];function Fs(t,e){return r.openBlock(),r.createElementBlock("svg",Rs,js)}const Ys={render:Fs},Us=["disabled"],Hs=["disabled"],Ws={key:1,class:"is-disabled"},Ks=["disabled","onClick"],qs={key:2,class:"is-disabled"},Zs=[r.createElementVNode("span",null,"...",-1)],Xs=["disabled"],Js=["disabled"],Qs={__name:"Paginator",props:{page:{type:Number,required:!1,default:0,validator:t=>t>=0},itemsPerPage:{type:Number,required:!1,default:10,validator:t=>t>0},totalItems:{type:Number,required:!0,validator:t=>t>=0},rangeLength:{type:Number,default:3,validator:t=>t>=2},isCompact:{type:Boolean,default:!1}},emits:["change"],setup(t,{emit:e}){const n=t,o=e,a=rt("paginator"),{page:s,pageCount:i,range:l,goTo:u,pageStep:c}=Cs({currentPage:r.computed(()=>n.page),totalItems:r.computed(()=>n.totalItems),itemsPerPage:n.itemsPerPage,rangeLength:n.rangeLength,update:m=>o("change",m)});return(m,p)=>r.unref(i)>1?(r.openBlock(),r.createElementBlock("div",{key:0,class:r.normalizeClass(r.unref(a))},[r.createElementVNode("button",{type:"button",disabled:r.unref(s)===1,onClick:p[0]||(p[0]=f=>r.unref(c)(-1))},[r.renderSlot(m.$slots,"prev",{},()=>[r.createVNode(r.unref(Vs),{class:"icon paginator-left"})])],8,Us),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("button",{key:0,type:"button",disabled:r.unref(s)===1,onClick:p[1]||(p[1]=f=>r.unref(u)(1))},"1",8,Hs)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",Ws,"...")),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(r.unref(l),f=>(r.openBlock(),r.createElementBlock("button",{type:"button",key:f,class:r.normalizeClass({"is-active":f===r.unref(s)}),disabled:f===r.unref(s),onClick:d=>r.unref(u)(f)},r.toDisplayString(f),11,Ks))),128)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",qs,Zs)),t.isCompact?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("button",{key:3,type:"button",disabled:r.unref(s)===r.unref(i),onClick:p[2]||(p[2]=f=>r.unref(u)(r.unref(i)))},r.toDisplayString(r.unref(i)),9,Xs)),r.createElementVNode("button",{type:"button",disabled:r.unref(s)===r.unref(i),onClick:p[3]||(p[3]=r.withModifiers(f=>r.unref(c)(1),["prevent"]))},[r.renderSlot(m.$slots,"next",{},()=>[r.createVNode(r.unref(Ys),{class:"icon paginator-left"})])],8,Js)],2)):r.createCommentVNode("",!0)}},ve={__name:"ResponsiveTable",setup(t){const e=r.ref(null),n=rt("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 lt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function mt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var ar={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(lt,function(){var n=1e3,o=6e4,a=36e5,s="millisecond",i="second",l="minute",u="hour",c="day",m="week",p="month",f="quarter",d="year",g="date",h="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,T=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,O={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 $=["th","st","nd","rd"],S=E%100;return"["+E+($[(S-20)%10]||$[S]||$[0])+"]"}},k=function(E,$,S){var P=String(E);return!P||P.length>=$?E:""+Array($+1-P.length).join(S)+E},v={s:k,z:function(E){var $=-E.utcOffset(),S=Math.abs($),P=Math.floor(S/60),w=S%60;return($<=0?"+":"-")+k(P,2,"0")+":"+k(w,2,"0")},m:function E($,S){if($.date()<S.date())return-E(S,$);var P=12*(S.year()-$.year())+(S.month()-$.month()),w=$.clone().add(P,p),x=S-w<0,D=$.clone().add(P+(x?-1:1),p);return+(-(P+(S-w)/(x?w-D:D-w))||0)},a:function(E){return E<0?Math.ceil(E)||0:Math.floor(E)},p:function(E){return{M:p,y:d,w:m,d:c,D:g,h:u,m:l,s:i,ms:s,Q:f}[E]||String(E||"").toLowerCase().replace(/s$/,"")},u:function(E){return E===void 0}},A="en",M={};M[A]=O;var I=function(E){return E instanceof V},R=function E($,S,P){var w;if(!$)return A;if(typeof $=="string"){var x=$.toLowerCase();M[x]&&(w=x),S&&(M[x]=S,w=x);var D=$.split("-");if(!w&&D.length>1)return E(D[0])}else{var L=$.name;M[L]=$,w=L}return!P&&w&&(A=w),w||!P&&A},C=function(E,$){if(I(E))return E.clone();var S=typeof $=="object"?$:{};return S.date=E,S.args=arguments,new V(S)},N=v;N.l=R,N.i=I,N.w=function(E,$){return C(E,{locale:$.$L,utc:$.$u,x:$.$x,$offset:$.$offset})};var V=function(){function E(S){this.$L=R(S.locale,null,!0),this.parse(S)}var $=E.prototype;return $.parse=function(S){this.$d=function(P){var w=P.date,x=P.utc;if(w===null)return new Date(NaN);if(N.u(w))return new Date;if(w instanceof Date)return new Date(w);if(typeof w=="string"&&!/Z$/i.test(w)){var D=w.match(y);if(D){var L=D[2]-1||0,Y=(D[7]||"0").substring(0,3);return x?new Date(Date.UTC(D[1],L,D[3]||1,D[4]||0,D[5]||0,D[6]||0,Y)):new Date(D[1],L,D[3]||1,D[4]||0,D[5]||0,D[6]||0,Y)}}return new Date(w)}(S),this.$x=S.x||{},this.init()},$.init=function(){var S=this.$d;this.$y=S.getFullYear(),this.$M=S.getMonth(),this.$D=S.getDate(),this.$W=S.getDay(),this.$H=S.getHours(),this.$m=S.getMinutes(),this.$s=S.getSeconds(),this.$ms=S.getMilliseconds()},$.$utils=function(){return N},$.isValid=function(){return this.$d.toString()!==h},$.isSame=function(S,P){var w=C(S);return this.startOf(P)<=w&&w<=this.endOf(P)},$.isAfter=function(S,P){return C(S)<this.startOf(P)},$.isBefore=function(S,P){return this.endOf(P)<C(S)},$.$g=function(S,P,w){return N.u(S)?this[P]:this.set(w,S)},$.unix=function(){return Math.floor(this.valueOf()/1e3)},$.valueOf=function(){return this.$d.getTime()},$.startOf=function(S,P){var w=this,x=!!N.u(P)||P,D=N.p(S),L=function(Et,q){var ht=N.w(w.$u?Date.UTC(w.$y,q,Et):new Date(w.$y,q,Et),w);return x?ht:ht.endOf(c)},Y=function(Et,q){return N.w(w.toDate()[Et].apply(w.toDate("s"),(x?[0,0,0,0]:[23,59,59,999]).slice(q)),w)},F=this.$W,W=this.$M,pt=this.$D,ct="set"+(this.$u?"UTC":"");switch(D){case d:return x?L(1,0):L(31,11);case p:return x?L(1,W):L(0,W+1);case m:var Rt=this.$locale().weekStart||0,Gt=(F<Rt?F+7:F)-Rt;return L(x?pt-Gt:pt+(6-Gt),W);case c:case g:return Y(ct+"Hours",0);case u:return Y(ct+"Minutes",1);case l:return Y(ct+"Seconds",2);case i:return Y(ct+"Milliseconds",3);default:return this.clone()}},$.endOf=function(S){return this.startOf(S,!1)},$.$set=function(S,P){var w,x=N.p(S),D="set"+(this.$u?"UTC":""),L=(w={},w[c]=D+"Date",w[g]=D+"Date",w[p]=D+"Month",w[d]=D+"FullYear",w[u]=D+"Hours",w[l]=D+"Minutes",w[i]=D+"Seconds",w[s]=D+"Milliseconds",w)[x],Y=x===c?this.$D+(P-this.$W):P;if(x===p||x===d){var F=this.clone().set(g,1);F.$d[L](Y),F.init(),this.$d=F.set(g,Math.min(this.$D,F.daysInMonth())).$d}else L&&this.$d[L](Y);return this.init(),this},$.set=function(S,P){return this.clone().$set(S,P)},$.get=function(S){return this[N.p(S)]()},$.add=function(S,P){var w,x=this;S=Number(S);var D=N.p(P),L=function(W){var pt=C(x);return N.w(pt.date(pt.date()+Math.round(W*S)),x)};if(D===p)return this.set(p,this.$M+S);if(D===d)return this.set(d,this.$y+S);if(D===c)return L(1);if(D===m)return L(7);var Y=(w={},w[l]=o,w[u]=a,w[i]=n,w)[D]||1,F=this.$d.getTime()+S*Y;return N.w(F,this)},$.subtract=function(S,P){return this.add(-1*S,P)},$.format=function(S){var P=this,w=this.$locale();if(!this.isValid())return w.invalidDate||h;var x=S||"YYYY-MM-DDTHH:mm:ssZ",D=N.z(this),L=this.$H,Y=this.$m,F=this.$M,W=w.weekdays,pt=w.months,ct=function(q,ht,Ie,oe){return q&&(q[ht]||q(P,x))||Ie[ht].slice(0,oe)},Rt=function(q){return N.s(L%12||12,q,"0")},Gt=w.meridiem||function(q,ht,Ie){var oe=q<12?"AM":"PM";return Ie?oe.toLowerCase():oe},Et={YY:String(this.$y).slice(-2),YYYY:this.$y,M:F+1,MM:N.s(F+1,2,"0"),MMM:ct(w.monthsShort,F,pt,3),MMMM:ct(pt,F),D:this.$D,DD:N.s(this.$D,2,"0"),d:String(this.$W),dd:ct(w.weekdaysMin,this.$W,W,2),ddd:ct(w.weekdaysShort,this.$W,W,3),dddd:W[this.$W],H:String(L),HH:N.s(L,2,"0"),h:Rt(1),hh:Rt(2),a:Gt(L,Y,!0),A:Gt(L,Y,!1),m:String(Y),mm:N.s(Y,2,"0"),s:String(this.$s),ss:N.s(this.$s,2,"0"),SSS:N.s(this.$ms,3,"0"),Z:D};return x.replace(T,function(q,ht){return ht||Et[q]||D.replace(":","")})},$.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},$.diff=function(S,P,w){var x,D=N.p(P),L=C(S),Y=(L.utcOffset()-this.utcOffset())*o,F=this-L,W=N.m(this,L);return W=(x={},x[d]=W/12,x[p]=W,x[f]=W/3,x[m]=(F-Y)/6048e5,x[c]=(F-Y)/864e5,x[u]=F/a,x[l]=F/o,x[i]=F/n,x)[D]||F,w?W:N.a(W)},$.daysInMonth=function(){return this.endOf(p).$D},$.$locale=function(){return M[this.$L]},$.locale=function(S,P){if(!S)return this.$L;var w=this.clone(),x=R(S,P,!0);return x&&(w.$L=x),w},$.clone=function(){return N.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()},E}(),H=V.prototype;return C.prototype=H,[["$ms",s],["$s",i],["$m",l],["$H",u],["$W",c],["$M",p],["$y",d],["$D",g]].forEach(function(E){H[E[1]]=function($){return this.$g($,E[0],E[1])}}),C.extend=function(E,$){return E.$i||(E($,V,C),E.$i=!0),C},C.locale=R,C.isDayjs=I,C.unix=function(E){return C(1e3*E)},C.en=M[A],C.Ls=M,C.p={},C})})(ar);var sr=ar.exports;const U=mt(sr);var ir={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(lt,function(){var n="minute",o=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(s,i,l){var u=i.prototype;l.utc=function(h){var y={date:h,utc:!0,args:arguments};return new i(y)},u.utc=function(h){var y=l(this.toDate(),{locale:this.$L,utc:!0});return h?y.add(this.utcOffset(),n):y},u.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var c=u.parse;u.parse=function(h){h.utc&&(this.$u=!0),this.$utils().u(h.$offset)||(this.$offset=h.$offset),c.call(this,h)};var m=u.init;u.init=function(){if(this.$u){var h=this.$d;this.$y=h.getUTCFullYear(),this.$M=h.getUTCMonth(),this.$D=h.getUTCDate(),this.$W=h.getUTCDay(),this.$H=h.getUTCHours(),this.$m=h.getUTCMinutes(),this.$s=h.getUTCSeconds(),this.$ms=h.getUTCMilliseconds()}else m.call(this)};var p=u.utcOffset;u.utcOffset=function(h,y){var T=this.$utils().u;if(T(h))return this.$u?0:T(this.$offset)?p.call(this):this.$offset;if(typeof h=="string"&&(h=function(A){A===void 0&&(A="");var M=A.match(o);if(!M)return null;var I=(""+M[0]).match(a)||["-",0,0],R=I[0],C=60*+I[1]+ +I[2];return C===0?0:R==="+"?C:-C}(h),h===null))return this;var O=Math.abs(h)<=16?60*h:h,k=this;if(y)return k.$offset=O,k.$u=h===0,k;if(h!==0){var v=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(k=this.local().add(O+v,n)).$offset=O,k.$x.$localOffset=v}else k=this.utc();return k};var f=u.format;u.format=function(h){var y=h||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return f.call(this,y)},u.valueOf=function(){var h=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*h},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(h){return h==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():d.call(this)};var g=u.diff;u.diff=function(h,y,T){if(h&&this.$u===h.$u)return g.call(this,h,y,T);var O=this.local(),k=l(h).local();return g.call(O,k,y,T)}}})})(ir);var ti=ir.exports;const ei=mt(ti);var lr={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(lt,function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},o={};return function(a,s,i){var l,u=function(f,d,g){g===void 0&&(g={});var h=new Date(f),y=function(T,O){O===void 0&&(O={});var k=O.timeZoneName||"short",v=T+"|"+k,A=o[v];return A||(A=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:T,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:k}),o[v]=A),A}(d,g);return y.formatToParts(h)},c=function(f,d){for(var g=u(f,d),h=[],y=0;y<g.length;y+=1){var T=g[y],O=T.type,k=T.value,v=n[O];v>=0&&(h[v]=parseInt(k,10))}var A=h[3],M=A===24?0:A,I=h[0]+"-"+h[1]+"-"+h[2]+" "+M+":"+h[4]+":"+h[5]+":000",R=+f;return(i.utc(I).valueOf()-(R-=R%1e3))/6e4},m=s.prototype;m.tz=function(f,d){f===void 0&&(f=l);var g=this.utcOffset(),h=this.toDate(),y=h.toLocaleString("en-US",{timeZone:f}),T=Math.round((h-new Date(y))/1e3/60),O=i(y).$set("millisecond",this.$ms).utcOffset(15*-Math.round(h.getTimezoneOffset()/15)-T,!0);if(d){var k=O.utcOffset();O=O.add(g-k,"minute")}return O.$x.$timezone=f,O},m.offsetName=function(f){var d=this.$x.$timezone||i.tz.guess(),g=u(this.valueOf(),d,{timeZoneName:f}).find(function(h){return h.type.toLowerCase()==="timezonename"});return g&&g.value};var p=m.startOf;m.startOf=function(f,d){if(!this.$x||!this.$x.$timezone)return p.call(this,f,d);var g=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return p.call(g,f,d).tz(this.$x.$timezone,!0)},i.tz=function(f,d,g){var h=g&&d,y=g||d||l,T=c(+i(),y);if(typeof f!="string")return i(f).tz(y);var O=function(M,I,R){var C=M-60*I*1e3,N=c(C,R);if(I===N)return[C,I];var V=c(C-=60*(N-I)*1e3,R);return N===V?[C,N]:[M-60*Math.min(N,V)*1e3,Math.max(N,V)]}(i.utc(f,h).valueOf(),T,y),k=O[0],v=O[1],A=i(k).utcOffset(v);return A.$x.$timezone=y,A},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(f){l=f}}})})(lr);var ni=lr.exports;const ri=mt(ni);var cr={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(lt,function(){return function(n,o){var a=o.prototype,s=a.format;a.format=function(i){var l=this,u=this.$locale();if(!this.isValid())return s.bind(this)(i);var c=this.$utils(),m=(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(p){switch(p){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(),p==="w"?1:2,"0");case"W":case"WW":return c.s(l.isoWeek(),p==="W"?1:2,"0");case"k":case"kk":return c.s(String(l.$H===0?24:l.$H),p==="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 p}});return s.bind(this)(m)}}})})(cr);var oi=cr.exports;const ai=mt(oi);var ur={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(lt,function(){return function(n,o){o.prototype.isSameOrBefore=function(a,s){return this.isSame(a,s)||this.isBefore(a,s)}}})})(ur);var si=ur.exports;const ii=mt(si);var dr={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(lt,function(){return function(n,o,a){o.prototype.isBetween=function(s,i,l,u){var c=a(s),m=a(i),p=(u=u||"()")[0]==="(",f=u[1]===")";return(p?this.isAfter(c,l):!this.isBefore(c,l))&&(f?this.isBefore(m,l):!this.isAfter(m,l))||(p?this.isBefore(c,l):!this.isAfter(c,l))&&(f?this.isAfter(m,l):!this.isBefore(m,l))}}})})(dr);var li=dr.exports;const ci=mt(li);var fr={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(lt,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(u){u===void 0&&(u="YYYY-MM-DDTHH:mm:ssZ");var c=this.$locale().formats,m=function(p,f){return p.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(d,g,h){var y=h&&h.toUpperCase();return g||f[h]||n[h]||f[y].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(T,O,k){return O||k.slice(1)})})}(u,c===void 0?{}:c);return l.call(this,m)}}})})(fr);var ui=fr.exports;const di=mt(ui);var mr={exports:{}};(function(t,e){(function(n,o){t.exports=o()})(lt,function(){return function(n,o,a){n=n||{};var s=o.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function l(c,m,p,f){return s.fromToBase(c,m,p,f)}a.en.relativeTime=i,s.fromToBase=function(c,m,p,f,d){for(var g,h,y,T=p.$locale().relativeTime||i,O=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],k=O.length,v=0;v<k;v+=1){var A=O[v];A.d&&(g=f?a(c).diff(p,A.d,!0):p.diff(c,A.d,!0));var M=(n.rounding||Math.round)(Math.abs(g));if(y=g>0,M<=A.r||!A.r){M<=1&&v>0&&(A=O[v-1]);var I=T[A.l];d&&(M=d(""+M)),h=typeof I=="string"?I.replace("%d",M):I(M,m,A.l,y);break}}if(m)return h;var R=y?T.future:T.past;return typeof R=="function"?R(h):R.replace("%s",h)},s.to=function(c,m){return l(c,m,this,!0)},s.from=function(c,m){return l(c,m,this)};var u=function(c){return c.$u?a.utc():a()};s.toNow=function(c){return this.to(u(this),c)},s.fromNow=function(c){return this.from(u(this),c)}}})})(mr);var fi=mr.exports;const mi=mt(fi);var pi={exports:{}};(function(t,e){(function(n,o){t.exports=o(sr)})(lt,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,u,c){return"néhány másodperc"+(c||l?"":"e")},m:function(i,l,u,c){return"egy perc"+(c||l?"":"e")},mm:function(i,l,u,c){return i+" perc"+(c||l?"":"e")},h:function(i,l,u,c){return"egy "+(c||l?"óra":"órája")},hh:function(i,l,u,c){return i+" "+(c||l?"óra":"órája")},d:function(i,l,u,c){return"egy "+(c||l?"nap":"napja")},dd:function(i,l,u,c){return i+" "+(c||l?"nap":"napja")},M:function(i,l,u,c){return"egy "+(c||l?"hónap":"hónapja")},MM:function(i,l,u,c){return i+" "+(c||l?"hónap":"hónapja")},y:function(i,l,u,c){return"egy "+(c||l?"év":"éve")},yy:function(i,l,u,c){return i+" "+(c||l?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};return a.default.locale(s,null,!0),s})})(pi),U.extend(ei),U.extend(ri),U.extend(ai),U.extend(mi),U.extend(di),U.extend(ii),U.extend(ci);const pr=()=>U.tz.guess(),Tt=(t="",e="",n="",o="hu")=>(n=n||U.tz.guess(),U(t).isValid()?U(t).tz(n).locale(o).format(e):""),zt=(t="",e="",n="hu")=>{if(!U(t).isValid())return"";e=e||U.tz.guess();const a=new Intl.DateTimeFormat(hi(n),{timeZone:e,timeZoneName:"short"}).formatToParts(new Date(t)).find(s=>s.type==="timeZoneName");return a&&a.value},hi=t=>Mn.get(t),xe=t=>{const e=t.split(":");return parseInt(e[0],10)*60+parseInt(e[1],10)},hr=t=>{const e=~~(t/60),n=~~t%60;return[e.toString().padStart(2,"0"),n.toString().padStart(2,"0")].join(":")},gr=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(":")},Ne=(t,e="day")=>U().isSameOrBefore(U(t),e),gi=(t,e,n)=>U(t).isBetween(e,U(n)),yi=(t,e,n="month")=>U(t).isSame(e,n),bi=(t,e="hu")=>U(t).locale(e).toNow(!0),_i=["onClick"],wi={__name:"TimezoneSelector",props:{locale:{type:String,default:"hu"},currentZone:{type:String,required:!0}},emits:["change"],setup(t,{emit:e}){const n=t,o=e,{t:a}=st(),s=rt("timezone-selector"),i=r.computed(()=>zt(new Date,null,n.locale)),l=pr(),u=r.computed(()=>Array.from(Cn.values()).map(m=>({...m,isActive:zt(new Date,n.currentZone,n.locale)===zt(new Date,m.timezone,n.locale),zoneOffsetName:zt(new Date,m.timezone,n.locale)}))),c=m=>o("change",m);return(m,p)=>(r.openBlock(),r.createElementBlock("div",{class:r.normalizeClass(r.unref(s))},[r.createVNode(r.unref(kn),{path:"common.selectTimezone",tag:"span"},{timezone:r.withCtx(()=>[r.createElementVNode("a",{href:"#",onClick:p[0]||(p[0]=r.withModifiers(f=>c(r.unref(l)),["prevent"]))},r.toDisplayString(i.value),1)]),_:1}),(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(u.value,f=>(r.openBlock(),r.createElementBlock("a",{key:f.countryLabelKey,href:"#",class:r.normalizeClass({"is-active":f.isActive}),onClick:r.withModifiers(d=>c(f.timezone),["prevent"])},r.toDisplayString(r.unref(a)(`common.${f.countryLabelKey}`))+" ("+r.toDisplayString(f.zoneOffsetName)+") ",11,_i))),128))],2))}},De=(t,e="",n={})=>{const o=r.ref(""),{t:a}=st(),s=r.computed(()=>{if(r.unref(e))try{const u=yr(r.unref(t),r.unref(e));return Sa(u,r.unref(t))}catch(u){o.value=u}return r.unref(t)}),i=u=>({...u,...u.label&&{label:a(u.label??"",r.unref(n))},...u.tooltip&&{tooltip:a(u.tooltip??"")}});return{columns:r.computed(()=>ut(i,s.value)),error:o}},yr=(t,e="")=>{const n=ut(Jt,Ot(",",e)),o=yt(t);if(n[0]==="")return resolve([]);const a=n.findIndex(s=>!o.includes(s));if(a>-1)throw n[a];return n};class Me extends Error{constructor(e,n={}){const{key:o,cause:a}=n;super(e),this.name="WidgetError",this.key=o,this.cause=a}}const Vt={message:"Undefined Column name Message",options:{key:"undefined-column",cause:{}}},Si={message:"Invalid season name",options:{key:"invalid-season-name",cause:{}}},Ti={class:"is-portrait-image"},$i={class:"is-team-name-long"},Oi={key:0},Pi=[r.createElementVNode("sup",null,"*",-1)],ki={class:"is-team-name-short"},Ei={key:0},Ai=[r.createElementVNode("sup",null,"*",-1)],vi={class:"is-team-name-long"},xi={class:"is-team-name-short"},Ni={class:"is-team-name-long"},Di={class:"is-team-name-short"},Mi=["href"],Ci={class:"is-team-name-long"},Li={class:"is-team-name-short"},Bi=["href"],Ii={key:0,class:"is-text-dark"},zi=["href","target"],Vi={__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),s=e,{onError:i}=Ee(),{columns:l,error:u}=De(o,a,r.computed(()=>({offsetName:n.offsetName})));u.value&&i(new Me(Vt.message,{...Vt.options,cause:{column:u.value}}));const c=m=>s("sort",m);return(m,p)=>(r.openBlock(),r.createBlock(ve,null,{default:r.withCtx(({el:f})=>[r.createVNode(ke,{columns:r.unref(l),sort:n.sort,rows:n.rows,"is-loading":t.isLoading,"append-to":t.appendTo||f,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",Ti,[(r.openBlock(),r.createBlock(St,{key:d.player.playerId,src:d.player.picture,"default-src":r.unref(vn)},null,8,["src","default-src"]))])]),"cell-teamLogo":r.withCtx(({row:d})=>{var g,h;return[(r.openBlock(),r.createBlock(St,{class:"is-logo-image",key:((g=d.team)==null?void 0:g.id)??d.id,src:(h=d.team)==null?void 0:h.logo},null,8,["src"]))]}),"cell-homeTeamLogo":r.withCtx(({row:d})=>{var g,h;return[(r.openBlock(),r.createBlock(St,{class:"is-logo-image is-right",key:(g=d.homeTeam)==null?void 0:g.id,src:(h=d.homeTeam)==null?void 0:h.logo},null,8,["src"]))]}),"cell-awayTeamLogo":r.withCtx(({row:d})=>{var g,h;return[(r.openBlock(),r.createBlock(St,{class:"is-logo-image is-right",key:(g=d.awayTeam)==null?void 0:g.id,src:(h=d.awayTeam)==null?void 0:h.logo},null,8,["src"]))]}),"cell-teamName":r.withCtx(({row:d})=>{var g,h;return[r.createElementVNode("span",$i,[r.createTextVNode(r.toDisplayString((g=d.team)==null?void 0:g.longName)+" ",1),d.penaltyPoints?(r.openBlock(),r.createElementBlock("span",Oi,Pi)):r.createCommentVNode("",!0)]),r.createElementVNode("span",ki,[r.createTextVNode(r.toDisplayString((h=d.team)==null?void 0:h.shortName)+" ",1),d.penaltyPoints?(r.openBlock(),r.createElementBlock("span",Ei,Ai)):r.createCommentVNode("",!0)])]}),"cell-homeTeamName":r.withCtx(({row:d})=>{var g,h;return[r.createElementVNode("span",vi,r.toDisplayString((g=d.homeTeam)==null?void 0:g.longName),1),r.createElementVNode("span",xi,r.toDisplayString((h=d.homeTeam)==null?void 0:h.shortName),1)]}),"cell-awayTeamName":r.withCtx(({row:d})=>{var g,h;return[r.createElementVNode("span",Ni,r.toDisplayString((g=d.awayTeam)==null?void 0:g.longName),1),r.createElementVNode("span",Di,r.toDisplayString((h=d.awayTeam)==null?void 0:h.shortName),1)]}),"cell-location":r.withCtx(({row:d})=>{var g;return[r.createTextVNode(r.toDisplayString(((g=d.location)==null?void 0:g.locationName)??""),1)]}),"cell-gameResult":r.withCtx(({row:d})=>[d.gameStatus===0?(r.openBlock(),r.createElementBlock("span",Ii,"-:-")):(r.openBlock(),r.createElementBlock("a",{key:1,href:t.externalGameResolver(d),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,zi))]),loading:r.withCtx(()=>[r.createVNode(Ae)]),_:2},[t.isTeamLinked?{name:"cell-teamName",fn:r.withCtx(({row:d})=>{var g,h;return[r.createElementVNode("a",{href:t.externalTeamResolver(d),target:"_blank"},[r.createElementVNode("span",Ci,r.toDisplayString((g=d.team)==null?void 0:g.longName),1),r.createElementVNode("span",Li,r.toDisplayString((h=d.team)==null?void 0:h.shortName),1)],8,Mi)]}),key:"0"}:void 0,t.isPlayerLinked?{name:"cell-name",fn:r.withCtx(({row:d})=>[r.createElementVNode("a",{href:t.externalPlayerResolver(d),target:"_blank"},r.toDisplayString(d.name),9,Bi)]),key:"1"}:void 0]),1032,["columns","sort","rows","is-loading","append-to"])]),_:1}))}},br={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:""}},Ri={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:B}]},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:B}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",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:B}]},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:B},{target:"w",direction:b},{target:"gd",direction:b},{target:"gf",direction:b}]}},Gi={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:B}]},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: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:B}]},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}]}},ji={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:B}]},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:B}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},goals:{label:"table.goals.short",tooltip:"table.goals.tooltip",sortOrders:[{target:"goals",direction:b},{target:"assists",direction:b}]},assists:{label:"table.assists.short",tooltip:"table.assists.tooltip",sortOrders:[{target:"assists",direction:b},{target:"goals",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",sortOrders:[{target:"points",direction:b}]},plusMinus:{label:"table.plusMinus.short",tooltip:"table.plusMinus.tooltip",sortOrders:[{target:"plusMinus",direction:b}]},shots:{label:"table.sog.short",tooltip:"table.sog.tooltip",sortOrders:[{target:"shots",direction:b}]},shotPercent:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"shootPercent",direction:b}]}},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:B}]},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:B}]},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}]}},Yi={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:B}]},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:B}]},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}]}},Ui={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:B}]},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:B}]},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}]}},Wi={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:B}]},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}]}},Ki={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:B}]},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}]}},qi={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:B}]},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:B}]},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:B}]},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:B}]},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:B}]},sp:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"sp",direction:b}]}},_r=async(t,e,n)=>{const o=`${En}${r.unref(t)}?${Zi(n)}`;return new Promise((a,s)=>{fetch(o,{method:"GET",cache:"no-cache",headers:{"Content-Type":"application/json","X-API-KEY":Xi(e)}}).then(i=>i.json()).then(i=>{if(i.error)return s(i);a(i.data)}).catch(i=>{s(i)})})},Zi=t=>Object.keys(t).map(e=>e+"="+t[e]).join("&"),Xi=t=>{var e;return t||((e=window.__MJSZ_VBR_WIDGET__)!=null&&e.apiKey?window.__MJSZ_VBR_WIDGET__.apiKey:"")},Ji=(t={})=>{const{initial:e=1,items:n=[],limit:o,auto:a=!1}=t,s=r.ref(r.unref(e)),i=c=>Ne(c,"day");return je(n,()=>{if(!a)return;const c=la(wn(i,"gameDate"))(r.unref(n));s.value=c===-1?1:Math.floor(c/o)+1}),{page:s,change:c=>{s.value=c}}},Qi=({options:t={},transform:e=a=>a,onError:n=ot,onSuccess:o=ot})=>{const{path:a,apiKey:s,params:i,resetOnExecute:l=!1,immediate:u=!1}=t,{state:c,error:m,isLoading:p,execute:f}=Ze(()=>_r(a,s,r.unref(i)).then(d=>e(d)),[],{immediate:u,resetOnExecute:l,onError:n,onSuccess:o});return{state:c,error:m,isLoading:p,execute:f}};/*! *****************************************************************************
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(w,r){"use strict";var Er={VITE_VBR_API_URL:"htt
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 Sr(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 _r;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(_r||(_r={}));var Zi={type:"xstate.init"};function Le(t){return t===void 0?[]:[].concat(t)}function Tr(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 Ce(t){return function(e){return t===e}}function Xi(t){return typeof t=="string"?{type:t}:t}function Or(t,e){return{value:t,context:e,actions:[],changed:!1,matches:Ce(t)}}function $r(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 Ji(t,e){e===void 0&&(e={});var n=Sr($r(Le(t.states[t.initial].entry).map(function(i){return Tr(i,e.actions)}),t.context,Zi),2),o=n[0],a=n[1],s={config:t,_options:e,initialState:{value:t.initial,actions:o,context:a,matches:Ce(t.initial)},transition:function(i,l){var u,c,f=typeof i=="string"?{value:i,context:t.context}:i,m=f.value,p=f.context,d=Xi(l),g=t.states[m];if(g.on){var h=Le(g.on[d.type]);try{for(var y=function(S){var x=typeof Symbol=="function"&&Symbol.iterator,D=x&&S[x],C=0;if(D)return D.call(S);if(S&&typeof S.length=="number")return{next:function(){return S&&C>=S.length&&(S=void 0),{value:S&&S[C++],done:!S}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")}(h),T=y.next();!T.done;T=y.next()){var $=T.value;if($===void 0)return Or(m,p);var k=typeof $=="string"?{target:$}:$,A=k.target,v=k.actions,M=v===void 0?[]:v,I=k.cond,V=I===void 0?function(){return!0}:I,L=A===void 0,N=A??m,R=t.states[N];if(V(p,d)){var H=Sr($r((L?Le(M):[].concat(g.exit,M,R.entry).filter(function(S){return S})).map(function(S){return Tr(S,s._options.actions)}),p,d),3),E=H[0],O=H[1],_=H[2],P=A??m;return{value:P,context:O,actions:E,changed:A!==m||E.length>0||_,matches:Ce(P)}}}}catch(S){u={error:S}}finally{try{T&&!T.done&&(c=y.return)&&c.call(y)}finally{if(u)throw u.error}}}return Or(m,p)}};return s}const Qi=Ji({id:"sort",initial:it,states:{[it]:{on:{DIRECTION1:b,DIRECTION2:B}},[b]:{on:{DIRECTION1:B,DIRECTION2:it}},[B]:{on:{DIRECTION1:it,DIRECTION2:b}}}}),tl=(t,e)=>{const n=e===B?"DIRECTION2":"DIRECTION1";return Qi.transition(t,n).value};function el(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((u,c)=>({...u,direction:tl(o.orders[c].direction,u.direction)}));o.sortTarget=s,o.orders=l}}}function nl(t=!1,e=ot,n=ot){const o=eo();r.watch(o,a=>{if(r.unref(t)){if(a==="visible")return e();n()}})}const rl=(t={})=>{const{items:e=[],element:n,offset:o=0,enabled:a=!0}=t,s=u=>Ne(u,"day"),i=()=>{var d;if(l(),!r.unref(a))return;const u=aa(Sn(s,"gameDate"))(r.unref(e));if(!u)return;const c=Tt(u.gameDate,"YYYY-MM-DD"),f=Ot(n).querySelector(`div[data-gamedate="${c}"]`);if(!f)return;const m=getComputedStyle(f).getPropertyValue("--vbr-widget-sticky-top-offset")||0,p=(((d=f.getBoundingClientRect())==null?void 0:d.top)??0)-r.unref(o)-parseFloat(m);window.scrollTo(0,p)},{stop:l}=Yr(()=>({items:r.unref(e),element:r.unref(n)}),async({items:u,element:c})=>{u.length===0||!c||(await r.nextTick(),i())})};function Pr(t,e,n){const o=r.ref(""),a=r.ref(!1);return je(t,i=>{const l=me(at(e),i),u=l.length>0;if(a.value=u,!u)return o.value="";const f=l.map(m=>({team:m.team.longName,points:at(e,m)})).map(m=>n(`additionalText.${e}.content`,m)).join(", ");o.value=[n(`additionalText.${e}.prependix`),f,...n(`additionalText.${e}.appendix`)&&[n(`additionalText.${e}.appendix`)]].join(" ")}),{text:o,isVisible:a}}const ol=(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(l=>o?Xt(be(l),Ht(e)):Xt(at(l),Tn,fa(Tn(e)))),s=qo(l=>l.name?Ta(ga("name"),Oa(",",""),l):l),i=me(Xt(s,Lo([...a])),this.result);this.isFiltered=!0,this.filteredRowsLength=i.length,this.result=i}return this},sorted(e){if(!e.sortTarget)return this;if(e.orders[0].direction===it)return this;const n=da(Ht(B),gn(he),gn(ta));return this.result=_n(e.orders.map(o=>yn(n(o.direction),at)(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:Tt(o.gameDate,"L dddd",e,n),gameDateTime:Tt(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`]=xe(n[o]):n),n)),this},groupByDays(){return this.result=ca(e=>Tt(e.gameDate,"YYYY-MM-DD"))(this.result),this}}),al=(t,...e)=>ut(yn(...e))(t),sl=t=>{var e,n,o;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}`},...((n=t.player)==null?void 0:n.nationality)&&{name:(o=t.player)!=null&&o.nationality.includes("hu")?`${t.player.lastName} ${t.player.firstName}`:`${t.player.lastName}, ${t.player.firstName}`}}},il=t=>{var e;return{...t,...((e=t==null?void 0:t.team)==null?void 0:e.id)&&{teamName:t.team.longName}}},ll=(t="",e="hu")=>n=>({...n,gameDateDate:Tt(n.gameDate,"L dddd",t,e),gameDateTime:Tt(n.gameDate,"HH:mm",t,e)}),cl=t=>e=>({...e,gameResult:wl(e)}),ul=t=>({...t,opponent:bl(t)}),dl=t=>({...t,resultType:Sl(t)}),fl=(t=[])=>e=>{var n;return{...e,[t]:(n=e[t])==null?void 0:n.toUpperCase()}},ml=(t=[])=>e=>(t.map(n=>e[n]?e[`${n}Sec`]=xe(e[n]):e),e),pl=(t=[])=>e=>(t.map(n=>e[n]?e[`${n}Min`]=gr(e[n]):e),e),hl=(t=[])=>e=>(t.map(n=>e[`${n}Min`]=hr(e[n])),e),gl=_n([(t,e)=>new Date(t.gameDate).getTime()-new Date(e.gameDate).getTime(),he(at("id")),he(at("gameId"))]),yl=$a((t=>(e,n)=>e[t].localeCompare(n[t],"hu"))("name"));function bl(t){var e;return[t.isHomeGame?null:"@",(e=t.opponent)==null?void 0:e.shortName].join(" ")}function wl(t,e){let n=t==null?void 0:t.homeTeamScore,o=t==null?void 0:t.awayTeamScore;return t.isHomeGame||(n=t==null?void 0:t.awayTeamScore,o=t==null?void 0:t.homeTeamScore),[n,o].join(":")}function Sl(t){const e=t.gameResult.split(":"),n=e[0]>e[1],o=e[0]<e[1];return n&&t.isOvertime?"OTW":n&&t.isShootout?"SOW":n?"W":o&&t.isOvertime?"OTL":o&&t.isShootout?"SOL":o?"L":"D"}const _l=(t,e={})=>{const n=Be("gameResolver")||t;return typeof n=="function"?n(e):encodeURI(St(n||vn,e))},Tl=(t,e={})=>{const n=Be("teamResolver")||t;return typeof n=="function"?n(e):encodeURI(St(n||Nn,e))},Ol=(t,e={})=>{const n=Be("playerResolver")||t;return typeof n=="function"?n(e):encodeURI(St(n||xn,e))},$l=(t,e="1x1")=>`${Dn}/flag:${t}-${e}.svg`,Be=(t="")=>{var e;return(e=window==null?void 0:window.__MJSZ_VBR_WIDGET__)==null?void 0:e[t]},Pl=()=>{window.scrollTo(0,0)},kl={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"},El=r.createElementVNode("rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",ry:"2"},null,-1),vl=r.createElementVNode("line",{x1:"8",y1:"21",x2:"16",y2:"21"},null,-1),Al=r.createElementVNode("line",{x1:"12",y1:"17",x2:"12",y2:"21"},null,-1),xl=[El,vl,Al];function Nl(t,e){return r.openBlock(),r.createElementBlock("svg",kl,xl)}const Dl={render:Nl},Ml={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"},Ll=r.createElementVNode("circle",{cx:"12",cy:"12",r:"1"},null,-1),Cl=r.createElementVNode("circle",{cx:"12",cy:"5",r:"1"},null,-1),Bl=r.createElementVNode("circle",{cx:"12",cy:"19",r:"1"},null,-1),Il=[Ll,Cl,Bl];function zl(t,e){return r.openBlock(),r.createElementBlock("svg",Ml,Il)}const Rl={render:zl},Vl={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},Gl=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),jl=r.createElementVNode("rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"},null,-1),Fl=[Gl,jl];function Yl(t,e){return r.openBlock(),r.createElementBlock("svg",Vl,Fl)}const Ul={render:Yl},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"},Wl=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),Kl=r.createElementVNode("polygon",{points:"9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"},null,-1),ql=[Wl,Kl];function Zl(t,e){return r.openBlock(),r.createElementBlock("svg",Hl,ql)}const Xl={render:Zl},Jl={class:"is-team-name-long"},Ql={class:"is-team-name-short"},tc={class:"is-team-name-long"},ec={class:"is-team-name-short"},nc={key:0,class:"is-text-dark"},rc=["href","target"],oc={key:0,class:"label"},ac={key:1,class:"label"},sc={key:2,class:"label"},ic={key:1},lc=["onClick","onFocus","onBlur"],cc={class:"is-dropdown-menu"},uc=["href","target"],dc={key:0},fc=["href"],mc={__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}=Ee(),{columns:a,error:s}=De(br,r.computed(()=>e.hideColumns),r.computed(()=>({offsetName:e.offsetName})));Ur(s,()=>o(new Me(Rt.message,{...Rt.options,cause:{column:s.value}})),{immediate:!0});const{t:i}=st();return(l,u)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createVNode(Ae,null,{default:r.withCtx(({el:c})=>[r.createVNode(ke,{columns:r.unref(a),rows:e.rows,"is-loading":t.isLoading,"append-to":n.value||c},{"cell-homeTeamName":r.withCtx(({row:f})=>[r.createElementVNode("span",Jl,r.toDisplayString(f.homeTeam.longName),1),r.createElementVNode("span",Ql,r.toDisplayString(f.homeTeam.shortName),1)]),"cell-awayTeamName":r.withCtx(({row:f})=>[r.createElementVNode("span",tc,r.toDisplayString(f.awayTeam.longName),1),r.createElementVNode("span",ec,r.toDisplayString(f.awayTeam.shortName),1)]),"cell-homeTeamLogo":r.withCtx(({row:f})=>[(r.openBlock(),r.createBlock(_t,{class:"is-logo-image is-right",key:f.homeTeam.id,src:f.homeTeam.logo},null,8,["src"]))]),"cell-awayTeamLogo":r.withCtx(({row:f})=>[(r.openBlock(),r.createBlock(_t,{class:"is-logo-image is-right",key:f.awayTeam.id,src:f.awayTeam.logo},null,8,["src"]))]),"cell-gameResult":r.withCtx(({row:f})=>[f.gameStatus===0?(r.openBlock(),r.createElementBlock("span",nc,"-:-")):(r.openBlock(),r.createElementBlock("a",{key:1,href:t.externalGameResolver(f.gameId),target:t.externalGameResolverTarget,class:r.normalizeClass({"is-text-dark":f.gameStatus!==1,"is-text-accent":f.gameStatus===1})},r.toDisplayString(f.homeTeamScore)+":"+r.toDisplayString(f.awayTeamScore),11,rc))]),"cell-gameResultType":r.withCtx(({row:f})=>[f.isOvertime?(r.openBlock(),r.createElementBlock("span",oc,r.toDisplayString(r.unref(i)("common.overtimeShort")),1)):r.createCommentVNode("",!0),f.isShootout?(r.openBlock(),r.createElementBlock("span",ac,r.toDisplayString(r.unref(i)("common.shootoutShort")),1)):r.createCommentVNode("",!0),f.seriesStandings?(r.openBlock(),r.createElementBlock("span",sc,r.toDisplayString(f.seriesStandings),1)):r.createCommentVNode("",!0)]),"cell-broadcast":r.withCtx(({row:f})=>[f.broadcast?(r.openBlock(),r.createBlock(r.unref(Dl),{key:0})):(r.openBlock(),r.createElementBlock("span",ic))]),"cell-location":r.withCtx(({row:f})=>{var m;return[r.createTextVNode(r.toDisplayString(((m=f.location)==null?void 0:m.locationName)??""),1)]}),"cell-more":r.withCtx(({row:f})=>[r.createVNode(Pe,{offset:2,placement:"left",theme:"content","append-to":c},{default:r.withCtx(({setRef:m,show:p,hide:d})=>[r.createElementVNode("button",{ref:m,onClick:r.withModifiers(p,["stop"]),onFocus:p,onBlur:d},[r.createVNode(r.unref(Rl))],40,lc)]),content:r.withCtx(()=>[r.createElementVNode("ul",cc,[r.createElementVNode("li",null,[r.createElementVNode("a",{href:t.externalGameResolver(f.gameId),class:"is-dropdown-item",target:t.externalGameResolverTarget},[r.createVNode(r.unref(Ul),{width:"14"}),r.createTextVNode(" "+r.toDisplayString(r.unref(i)("common.report")),1)],8,uc)]),f.video?(r.openBlock(),r.createElementBlock("li",dc,[r.createElementVNode("a",{href:f.video,class:"is-dropdown-item",target:"_blank"},[r.createVNode(r.unref(Xl),{width:"14"}),r.createTextVNode(" "+r.toDisplayString(r.unref(i)("common.video")),1)],8,fc)])):r.createCommentVNode("",!0)])]),_:2},1032,["append-to"])]),loading:r.withCtx(()=>[r.createVNode(ve)]),_:2},1032,["columns","rows","is-loading","append-to"])]),_:1}),r.createElementVNode("div",{ref_key:"tooltipContainer",ref:n},null,512)],64))}},pc={class:"g-row g-gap-normal is-mb-5"},hc=["value"],gc={key:0},yc=["onClick"],bc={__name:"SeasonSelector",props:{seasons:{type:Array,default:()=>[]},championshipId:{type:Number,default:0},sections:{type:Array,default:()=>[]},sectionId:{type:Number,default:0},isSectionSelectionDisabled:{type:Boolean,default:!1}},emits:["onChangeSeason","onChangeSection"],setup(t,{emit:e}){const n=t,o=e,{t:a}=st(),s=r.computed({get(){return n.championshipId},set(l){o("onChangeSeason",l)}});function i(l){o("onChangeSection",l)}return(l,u)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createElementVNode("div",pc,[r.createElementVNode("div",null,[r.createElementVNode("label",{for:"season",class:r.normalizeClass(r.unref(rt)("label"))},r.toDisplayString(r.unref(a)("selection.season")),3),r.createVNode(ze,{id:"season",modelValue:s.value,"onUpdate:modelValue":u[0]||(u[0]=c=>s.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,hc))),128))]),_:1},8,["modelValue"])]),r.renderSlot(l.$slots,"default")]),t.isSectionSelectionDisabled?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",gc,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(t.sections,c=>(r.openBlock(),r.createElementBlock("button",{key:c.phaseId,onClick:f=>i(c),class:r.normalizeClass([r.unref(rt)("tab-button"),{"is-active":c.sectionId===t.sectionId}])},r.toDisplayString(c.sectionName),11,yc))),128))]))],64))}},wc=["textContent"],Sc={__name:"AdditionalStandingsText",props:{rows:{type:Array,default:()=>[]},additionalKey:{type:String,required:!0}},setup(t){const e=t,n=r.toRef(e,"rows"),{t:o}=st(),{isVisible:a,text:s}=Pr(n,e.additionalKey,o);return(i,l)=>r.unref(a)?(r.openBlock(),r.createElementBlock("div",{key:0,class:"is-text-xs is-text-light is-mt-5 is-mb-5",textContent:r.toDisplayString(r.unref(s))},null,8,wc)):r.createCommentVNode("",!0)}},_c={locale:{type:String,default:"hu"},championshipId:{type:String,default:""},division:{type:String,default:""},phaseId:{type:String,default:""},apiKey:{type:String,default:""},hideColumns:{type:String,default:""}},Tc={externalTeamResolver:{type:[String,Function],default:""},isTeamLinked:{type:Boolean,default:!1}},Oc={limit:{type:Number,default:20},teamFilterByName:{type:String,default:""},externalPlayerResolver:{type:[String,Function],default:""},isPlayerLinked:{type:Boolean,default:!1}},$c={externalGameResolver:{type:[String,Function],default:""},isGameTargetExternal:{type:Boolean,default:!1}},kr=({app:t=null,modules:e=[],apiKey:n,gameResolver:o,teamResolver:a,playerResolver:s})=>{if(window.__MJSZ_VBR_WIDGET__={apiKey:n,gameResolver:o,teamResolver:a,playerResolver:s},e.length===0)throw new Error("At least one module must be set");e.forEach(i=>{if(t)return t.use(i);if(i.register)return i.register();i==null||i.install()})},Pc={install:(t,e={})=>kr({app:t,...e})};return w.AVAILABLE_TIMEZONES_BY_COUNTRY=Ln,w.AdditionalStandingsText=Sc,w.BaseSelect=ze,w.COLUMNS_FIELD_PLAYERS=zi,w.COLUMNS_FIELD_PLAYERS_PENALTY=Ri,w.COLUMNS_GOALIES=Vi,w.COLUMNS_SCHEDULE=br,w.COLUMNS_SCORING_EFFICIENCY=Ui,w.COLUMNS_STANDINGS_P_2=Ii,w.COLUMNS_STANDINGS_P_3=Bi,w.COLUMNS_TEAMS_FAIRPLAY=ji,w.COLUMNS_TEAMS_PENALTY_KILLING=Fi,w.COLUMNS_TEAMS_POWERPLAY=Yi,w.COLUMNS_TEAM_ATTENDANCE=Gi,w.DEFAULT_EXTERNAL_GAME_URL=vn,w.DEFAULT_EXTERNAL_PLAYER_URL=xn,w.DEFAULT_EXTERNAL_TEAM_URL=Nn,w.DEFAULT_PORTRAIT_IMAGE_URL=An,w.DataTable=ke,w.ErrorNotice=Ts,w.ErrorProvider=$s,w.FLAG_BASE_URL=Dn,w.FloatingPanel=Pe,w.I18NProvider=xs,w.Image=_t,w.InvalidSeasonName=_i,w.LAZY_LOADING_STATE_DELAY=Cn,w.LOCALE_FOR_LANG=Mn,w.LoadingIndicator=ve,w.Paginator=Qs,w.REFRESH_DELAY=Na,w.ResponsiveTable=Ae,w.SORT_STATE_ASCEND=B,w.SORT_STATE_DESCEND=b,w.SORT_STATE_ORIGINAL=it,w.ScheduleTable=mc,w.SeasonSelector=bc,w.StatisticsTable=Ci,w.TimezoneSelector=Si,w.UndefinedColumn=Rt,w.VBR_API_BASE_URL=En,w.WidgetError=Me,w.appendTo=er,w.baseProps=_c,w.convert=ol,w.convertMinToMinSec=gr,w.convertMinToSec=xe,w.convertSecToMin=hr,w.convertTimes=ml,w.convertTimesMinToMinSec=pl,w.convertTimesSecToMin=hl,w.createConfig=kr,w.createI18n=$n,w.default=Pc,w.externalGameLinkResolver=_l,w.externalPlayerLinkResolver=Ol,w.externalTeamLinkResolver=Tl,w.fetchVBRData=wr,w.flagResolver=$l,w.format=Tt,w.gameDateTime=ll,w.gameProps=$c,w.gameResult=cl,w.getLocalTimezone=pr,w.i18n=kn,w.isBetween=gi,w.isSame=yi,w.isSameOrBefore=Ne,w.localeSort=yl,w.offsetName=zt,w.playerName=sl,w.playerStatsProps=Oc,w.rawConvert=al,w.scrollToTop=Pl,w.sortGames=gl,w.teamName=il,w.teamOpponent=ul,w.teamResultType=dl,w.teamStatsProps=Tc,w.templateReplacer=St,w.toKebabCase=nr,w.upperCase=fl,w.useAdditionalText=Pr,w.useColumns=De,w.useError=Ee,w.useErrorProvider=or,w.useI18n=st,w.useLazyLoadingState=Qe,w.useMainClass=rt,w.usePage=Ki,w.useScrollToGameDate=rl,w.useServices=qi,w.useSort=el,w.useVisibilityChange=nl,w.validateColumnsName=yr,w.yearToNow=bi,Object.defineProperties(w,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),w}({},Vue);
22
+ ***************************************************************************** */function wr(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 Sr;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(Sr||(Sr={}));var tl={type:"xstate.init"};function Ce(t){return t===void 0?[]:[].concat(t)}function Tr(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 Le(t){return function(e){return t===e}}function el(t){return typeof t=="string"?{type:t}:t}function $r(t,e){return{value:t,context:e,actions:[],changed:!1,matches:Le(t)}}function Or(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 nl(t,e){e===void 0&&(e={});var n=wr(Or(Ce(t.states[t.initial].entry).map(function(i){return Tr(i,e.actions)}),t.context,tl),2),o=n[0],a=n[1],s={config:t,_options:e,initialState:{value:t.initial,actions:o,context:a,matches:Le(t.initial)},transition:function(i,l){var u,c,m=typeof i=="string"?{value:i,context:t.context}:i,p=m.value,f=m.context,d=el(l),g=t.states[p];if(g.on){var h=Ce(g.on[d.type]);try{for(var y=function(w){var x=typeof Symbol=="function"&&Symbol.iterator,D=x&&w[x],L=0;if(D)return D.call(w);if(w&&typeof w.length=="number")return{next:function(){return w&&L>=w.length&&(w=void 0),{value:w&&w[L++],done:!w}}};throw new TypeError(x?"Object is not iterable.":"Symbol.iterator is not defined.")}(h),T=y.next();!T.done;T=y.next()){var O=T.value;if(O===void 0)return $r(p,f);var k=typeof O=="string"?{target:O}:O,v=k.target,A=k.actions,M=A===void 0?[]:A,I=k.cond,R=I===void 0?function(){return!0}:I,C=v===void 0,N=v??p,V=t.states[N];if(R(f,d)){var H=wr(Or((C?Ce(M):[].concat(g.exit,M,V.entry).filter(function(w){return w})).map(function(w){return Tr(w,s._options.actions)}),f,d),3),E=H[0],$=H[1],S=H[2],P=v??p;return{value:P,context:$,actions:E,changed:v!==p||E.length>0||S,matches:Le(P)}}}}catch(w){u={error:w}}finally{try{T&&!T.done&&(c=y.return)&&c.call(y)}finally{if(u)throw u.error}}}return $r(p,f)}};return s}const rl=nl({id:"sort",initial:it,states:{[it]:{on:{DIRECTION1:b,DIRECTION2:B}},[b]:{on:{DIRECTION1:B,DIRECTION2:it}},[B]:{on:{DIRECTION1:it,DIRECTION2:b}}}}),ol=(t,e)=>{const n=e===B?"DIRECTION2":"DIRECTION1";return rl.transition(t,n).value};function al(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((u,c)=>({...u,direction:ol(o.orders[c].direction,u.direction)}));o.sortTarget=s,o.orders=l}}}function sl(t=!1,e=ot,n=ot){const o=eo();r.watch(o,a=>{if(r.unref(t)){if(a==="visible")return e();n()}})}const il=(t={})=>{const{items:e=[],element:n,offset:o=0,enabled:a=!0}=t,s=u=>Ne(u,"day"),i=()=>{var d;if(l(),!r.unref(a))return;const u=aa(wn(s,"gameDate"))(r.unref(e));if(!u)return;const c=Tt(u.gameDate,"YYYY-MM-DD"),m=$t(n).querySelector(`div[data-gamedate="${c}"]`);if(!m)return;const p=getComputedStyle(m).getPropertyValue("--vbr-widget-sticky-top-offset")||0,f=(((d=m.getBoundingClientRect())==null?void 0:d.top)??0)-r.unref(o)-parseFloat(p);window.scrollTo(0,f)},{stop:l}=Yr(()=>({items:r.unref(e),element:r.unref(n)}),async({items:u,element:c})=>{u.length===0||!c||(await r.nextTick(),i())})};function Pr(t,e,n,o){const a=r.ref(""),s=r.ref(!1),i=l=>{const u=me(at(e),l),c=u.length>0;if(s.value=c,!c)return a.value="";const p=u.map(f=>({team:f.team.longName,points:Math.abs(at(e,f))})).map(f=>n(`additionalText.${e}.content`,f)).join(", ");a.value=[n(`additionalText.${e}.prependix`),p,...n(`additionalText.${e}.appendix`)&&[n(`additionalText.${e}.appendix`)]].join(" ")};return je(t,i),r.watch(o,()=>i(r.unref(t))),{text:a,isVisible:s}}const ll=(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(l=>o?Xt(be(l),Ht(e)):Xt(at(l),Tn,fa(Tn(e)))),s=qo(l=>l.name?Ta(ga("name"),$a(",",""),l):l),i=me(Xt(s,Co([...a])),this.result);this.isFiltered=!0,this.filteredRowsLength=i.length,this.result=i}return this},sorted(e){if(!e.sortTarget)return this;if(e.orders[0].direction===it)return this;const n=da(Ht(B),gn(he),gn(ta));return this.result=Sn(e.orders.map(o=>yn(n(o.direction),at)(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:Tt(o.gameDate,"L dddd",e,n),gameDateTime:Tt(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`]=xe(n[o]):n),n)),this},groupByDays(){return this.result=ca(e=>Tt(e.gameDate,"YYYY-MM-DD"))(this.result),this}}),cl=(t,...e)=>ut(yn(...e))(t),ul=t=>{var e,n,o;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}`},...((n=t.player)==null?void 0:n.nationality)&&{name:(o=t.player)!=null&&o.nationality.includes("hu")?`${t.player.lastName} ${t.player.firstName}`:`${t.player.lastName}, ${t.player.firstName}`}}},dl=t=>{var e;return{...t,...((e=t==null?void 0:t.team)==null?void 0:e.id)&&{teamName:t.team.longName}}},fl=(t="",e="hu")=>n=>({...n,gameDateDate:Tt(n.gameDate,"L dddd",t,e),gameDateTime:Tt(n.gameDate,"HH:mm",t,e)}),ml=t=>e=>({...e,gameResult:$l(e)}),pl=t=>({...t,opponent:Tl(t)}),hl=t=>({...t,resultType:Ol(t)}),gl=(t=[])=>e=>{var n;return{...e,[t]:(n=e[t])==null?void 0:n.toUpperCase()}},yl=(t=[])=>e=>(t.map(n=>e[n]?e[`${n}Sec`]=xe(e[n]):e),e),bl=(t=[])=>e=>(t.map(n=>e[n]?e[`${n}Min`]=gr(e[n]):e),e),_l=(t=[])=>e=>(t.map(n=>e[`${n}Min`]=hr(e[n])),e),wl=Sn([(t,e)=>new Date(t.gameDate).getTime()-new Date(e.gameDate).getTime(),he(at("id")),he(at("gameId"))]),Sl=Oa((t=>(e,n)=>e[t].localeCompare(n[t],"hu"))("name"));function Tl(t){var e;return[t.isHomeGame?null:"@",(e=t.opponent)==null?void 0:e.shortName].join(" ")}function $l(t,e){let n=t==null?void 0:t.homeTeamScore,o=t==null?void 0:t.awayTeamScore;return t.isHomeGame||(n=t==null?void 0:t.awayTeamScore,o=t==null?void 0:t.homeTeamScore),[n,o].join(":")}function Ol(t){const e=t.gameResult.split(":"),n=e[0]>e[1],o=e[0]<e[1];return n&&t.isOvertime?"OTW":n&&t.isShootout?"SOW":n?"W":o&&t.isOvertime?"OTL":o&&t.isShootout?"SOL":o?"L":"D"}const Pl=(t,e={})=>{const n=Be("gameResolver")||t;return typeof n=="function"?n(e):encodeURI(wt(n||An,e))},kl=(t,e={})=>{const n=Be("teamResolver")||t;return typeof n=="function"?n(e):encodeURI(wt(n||Nn,e))},El=(t,e={})=>{const n=Be("playerResolver")||t;return typeof n=="function"?n(e):encodeURI(wt(n||xn,e))},Al=(t,e="1x1")=>`${Dn}/flag:${t}-${e}.svg`,Be=(t="")=>{var e;return(e=window==null?void 0:window.__MJSZ_VBR_WIDGET__)==null?void 0:e[t]},vl=()=>{window.scrollTo(0,0)},xl={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"},Nl=r.createElementVNode("rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",ry:"2"},null,-1),Dl=r.createElementVNode("line",{x1:"8",y1:"21",x2:"16",y2:"21"},null,-1),Ml=r.createElementVNode("line",{x1:"12",y1:"17",x2:"12",y2:"21"},null,-1),Cl=[Nl,Dl,Ml];function Ll(t,e){return r.openBlock(),r.createElementBlock("svg",xl,Cl)}const Bl={render:Ll},Il={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"},zl=r.createElementVNode("circle",{cx:"12",cy:"12",r:"1"},null,-1),Vl=r.createElementVNode("circle",{cx:"12",cy:"5",r:"1"},null,-1),Rl=r.createElementVNode("circle",{cx:"12",cy:"19",r:"1"},null,-1),Gl=[zl,Vl,Rl];function jl(t,e){return r.openBlock(),r.createElementBlock("svg",Il,Gl)}const Fl={render:jl},Yl={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),Hl=r.createElementVNode("rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"},null,-1),Wl=[Ul,Hl];function Kl(t,e){return r.openBlock(),r.createElementBlock("svg",Yl,Wl)}const ql={render:Kl},Zl={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"},Xl=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),Jl=r.createElementVNode("polygon",{points:"9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"},null,-1),Ql=[Xl,Jl];function tc(t,e){return r.openBlock(),r.createElementBlock("svg",Zl,Ql)}const ec={render:tc},nc={class:"is-team-name-long"},rc={class:"is-team-name-short"},oc={class:"is-team-name-long"},ac={class:"is-team-name-short"},sc={key:0,class:"is-text-dark"},ic=["href","target"],lc={key:0,class:"label"},cc={key:1,class:"label"},uc={key:2,class:"label"},dc={key:1},fc=["onClick","onFocus","onBlur"],mc={class:"is-dropdown-menu"},pc=["href","target"],hc={key:0},gc=["href"],yc={__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}=Ee(),{columns:a,error:s}=De(br,r.computed(()=>e.hideColumns),r.computed(()=>({offsetName:e.offsetName})));Ur(s,()=>o(new Me(Vt.message,{...Vt.options,cause:{column:s.value}})),{immediate:!0});const{t:i}=st();return(l,u)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createVNode(ve,null,{default:r.withCtx(({el:c})=>[r.createVNode(ke,{columns:r.unref(a),rows:e.rows,"is-loading":t.isLoading,"append-to":n.value||c},{"cell-homeTeamName":r.withCtx(({row:m})=>[r.createElementVNode("span",nc,r.toDisplayString(m.homeTeam.longName),1),r.createElementVNode("span",rc,r.toDisplayString(m.homeTeam.shortName),1)]),"cell-awayTeamName":r.withCtx(({row:m})=>[r.createElementVNode("span",oc,r.toDisplayString(m.awayTeam.longName),1),r.createElementVNode("span",ac,r.toDisplayString(m.awayTeam.shortName),1)]),"cell-homeTeamLogo":r.withCtx(({row:m})=>[(r.openBlock(),r.createBlock(St,{class:"is-logo-image is-right",key:m.homeTeam.id,src:m.homeTeam.logo},null,8,["src"]))]),"cell-awayTeamLogo":r.withCtx(({row:m})=>[(r.openBlock(),r.createBlock(St,{class:"is-logo-image is-right",key:m.awayTeam.id,src:m.awayTeam.logo},null,8,["src"]))]),"cell-gameResult":r.withCtx(({row:m})=>[m.gameStatus===0?(r.openBlock(),r.createElementBlock("span",sc,"-:-")):(r.openBlock(),r.createElementBlock("a",{key:1,href:t.externalGameResolver(m.gameId),target:t.externalGameResolverTarget,class:r.normalizeClass({"is-text-dark":m.gameStatus!==1,"is-text-accent":m.gameStatus===1})},r.toDisplayString(m.homeTeamScore)+":"+r.toDisplayString(m.awayTeamScore),11,ic))]),"cell-gameResultType":r.withCtx(({row:m})=>[m.isOvertime?(r.openBlock(),r.createElementBlock("span",lc,r.toDisplayString(r.unref(i)("common.overtimeShort")),1)):r.createCommentVNode("",!0),m.isShootout?(r.openBlock(),r.createElementBlock("span",cc,r.toDisplayString(r.unref(i)("common.shootoutShort")),1)):r.createCommentVNode("",!0),m.seriesStandings?(r.openBlock(),r.createElementBlock("span",uc,r.toDisplayString(m.seriesStandings),1)):r.createCommentVNode("",!0)]),"cell-broadcast":r.withCtx(({row:m})=>[m.broadcast?(r.openBlock(),r.createBlock(r.unref(Bl),{key:0})):(r.openBlock(),r.createElementBlock("span",dc))]),"cell-location":r.withCtx(({row:m})=>{var p;return[r.createTextVNode(r.toDisplayString(((p=m.location)==null?void 0:p.locationName)??""),1)]}),"cell-more":r.withCtx(({row:m})=>[r.createVNode(Pe,{offset:2,placement:"left",theme:"content","append-to":c},{default:r.withCtx(({setRef:p,show:f,hide:d})=>[r.createElementVNode("button",{ref:p,onClick:r.withModifiers(f,["stop"]),onFocus:f,onBlur:d},[r.createVNode(r.unref(Fl))],40,fc)]),content:r.withCtx(()=>[r.createElementVNode("ul",mc,[r.createElementVNode("li",null,[r.createElementVNode("a",{href:t.externalGameResolver(m.gameId),class:"is-dropdown-item",target:t.externalGameResolverTarget},[r.createVNode(r.unref(ql),{width:"14"}),r.createTextVNode(" "+r.toDisplayString(r.unref(i)("common.report")),1)],8,pc)]),m.video?(r.openBlock(),r.createElementBlock("li",hc,[r.createElementVNode("a",{href:m.video,class:"is-dropdown-item",target:"_blank"},[r.createVNode(r.unref(ec),{width:"14"}),r.createTextVNode(" "+r.toDisplayString(r.unref(i)("common.video")),1)],8,gc)])):r.createCommentVNode("",!0)])]),_:2},1032,["append-to"])]),loading:r.withCtx(()=>[r.createVNode(Ae)]),_:2},1032,["columns","rows","is-loading","append-to"])]),_:1}),r.createElementVNode("div",{ref_key:"tooltipContainer",ref:n},null,512)],64))}},bc={class:"g-row g-gap-normal is-mb-5"},_c=["value"],wc={key:0},Sc=["onClick"],Tc={__name:"SeasonSelector",props:{seasons:{type:Array,default:()=>[]},championshipId:{type:Number,default:0},sections:{type:Array,default:()=>[]},sectionId:{type:Number,default:0},isSectionSelectionDisabled:{type:Boolean,default:!1}},emits:["onChangeSeason","onChangeSection"],setup(t,{emit:e}){const n=t,o=e,{t:a}=st(),s=r.computed({get(){return n.championshipId},set(l){o("onChangeSeason",l)}});function i(l){o("onChangeSection",l)}return(l,u)=>(r.openBlock(),r.createElementBlock(r.Fragment,null,[r.createElementVNode("div",bc,[r.createElementVNode("div",null,[r.createElementVNode("label",{for:"season",class:r.normalizeClass(r.unref(rt)("label"))},r.toDisplayString(r.unref(a)("selection.season")),3),r.createVNode(ze,{id:"season",modelValue:s.value,"onUpdate:modelValue":u[0]||(u[0]=c=>s.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,_c))),128))]),_:1},8,["modelValue"])]),r.renderSlot(l.$slots,"default")]),t.isSectionSelectionDisabled?r.createCommentVNode("",!0):(r.openBlock(),r.createElementBlock("div",wc,[(r.openBlock(!0),r.createElementBlock(r.Fragment,null,r.renderList(t.sections,c=>(r.openBlock(),r.createElementBlock("button",{key:c.phaseId,onClick:m=>i(c),class:r.normalizeClass([r.unref(rt)("tab-button"),{"is-active":c.sectionId===t.sectionId}])},r.toDisplayString(c.sectionName),11,Sc))),128))]))],64))}},$c=["textContent"],Oc={__name:"AdditionalStandingsText",props:{rows:{type:Array,default:()=>[]},additionalKey:{type:String,required:!0}},setup(t){const e=t,n=r.toRef(e,"rows"),{t:o,locale:a}=st(),{isVisible:s,text:i}=Pr(n,e.additionalKey,o,a);return(l,u)=>r.unref(s)?(r.openBlock(),r.createElementBlock("div",{key:0,class:"is-text-xs is-text-light is-mt-5 is-mb-5",textContent:r.toDisplayString(r.unref(i))},null,8,$c)):r.createCommentVNode("",!0)}},Pc={locale:{type:String,default:"hu"},championshipId:{type:String,default:""},division:{type:String,default:""},phaseId:{type:String,default:""},apiKey:{type:String,default:""},hideColumns:{type:String,default:""}},kc={externalTeamResolver:{type:[String,Function],default:""},isTeamLinked:{type:Boolean,default:!1}},Ec={limit:{type:Number,default:20},teamFilterByName:{type:String,default:""},externalPlayerResolver:{type:[String,Function],default:""},isPlayerLinked:{type:Boolean,default:!1}},Ac={externalGameResolver:{type:[String,Function],default:""},isGameTargetExternal:{type:Boolean,default:!1}},kr=({app:t=null,modules:e=[],apiKey:n,gameResolver:o,teamResolver:a,playerResolver:s})=>{if(window.__MJSZ_VBR_WIDGET__={apiKey:n,gameResolver:o,teamResolver:a,playerResolver:s},e.length===0)throw new Error("At least one module must be set");e.forEach(i=>{if(t)return t.use(i);if(i.register)return i.register();i==null||i.install()})},vc={install:(t,e={})=>kr({app:t,...e})};return _.AVAILABLE_TIMEZONES_BY_COUNTRY=Cn,_.AdditionalStandingsText=Oc,_.BaseSelect=ze,_.COLUMNS_FIELD_PLAYERS=ji,_.COLUMNS_FIELD_PLAYERS_PENALTY=Fi,_.COLUMNS_GOALIES=Yi,_.COLUMNS_SCHEDULE=br,_.COLUMNS_SCORING_EFFICIENCY=qi,_.COLUMNS_STANDINGS_P_2=Gi,_.COLUMNS_STANDINGS_P_3=Ri,_.COLUMNS_TEAMS_FAIRPLAY=Hi,_.COLUMNS_TEAMS_PENALTY_KILLING=Wi,_.COLUMNS_TEAMS_POWERPLAY=Ki,_.COLUMNS_TEAM_ATTENDANCE=Ui,_.DEFAULT_EXTERNAL_GAME_URL=An,_.DEFAULT_EXTERNAL_PLAYER_URL=xn,_.DEFAULT_EXTERNAL_TEAM_URL=Nn,_.DEFAULT_PORTRAIT_IMAGE_URL=vn,_.DataTable=ke,_.ErrorNotice=Ts,_.ErrorProvider=Os,_.FLAG_BASE_URL=Dn,_.FloatingPanel=Pe,_.I18NProvider=xs,_.Image=St,_.InvalidSeasonName=Si,_.LAZY_LOADING_STATE_DELAY=Ln,_.LOCALE_FOR_LANG=Mn,_.LoadingIndicator=Ae,_.Paginator=Qs,_.REFRESH_DELAY=Na,_.ResponsiveTable=ve,_.SORT_STATE_ASCEND=B,_.SORT_STATE_DESCEND=b,_.SORT_STATE_ORIGINAL=it,_.ScheduleTable=yc,_.SeasonSelector=Tc,_.StatisticsTable=Vi,_.TimezoneSelector=wi,_.UndefinedColumn=Vt,_.VBR_API_BASE_URL=En,_.WidgetError=Me,_.appendTo=er,_.baseProps=Pc,_.convert=ll,_.convertMinToMinSec=gr,_.convertMinToSec=xe,_.convertSecToMin=hr,_.convertTimes=yl,_.convertTimesMinToMinSec=bl,_.convertTimesSecToMin=_l,_.createConfig=kr,_.createI18n=On,_.default=vc,_.externalGameLinkResolver=Pl,_.externalPlayerLinkResolver=El,_.externalTeamLinkResolver=kl,_.fetchVBRData=_r,_.flagResolver=Al,_.format=Tt,_.gameDateTime=fl,_.gameProps=Ac,_.gameResult=ml,_.getLocalTimezone=pr,_.i18n=kn,_.isBetween=gi,_.isSame=yi,_.isSameOrBefore=Ne,_.localeSort=Sl,_.offsetName=zt,_.playerName=ul,_.playerStatsProps=Ec,_.rawConvert=cl,_.scrollToTop=vl,_.sortGames=wl,_.teamName=dl,_.teamOpponent=pl,_.teamResultType=hl,_.teamStatsProps=kc,_.templateReplacer=wt,_.toKebabCase=nr,_.upperCase=gl,_.useAdditionalText=Pr,_.useColumns=De,_.useError=Ee,_.useErrorProvider=or,_.useI18n=st,_.useLazyLoadingState=Qe,_.useMainClass=rt,_.usePage=Ji,_.useScrollToGameDate=il,_.useServices=Qi,_.useSort=al,_.useVisibilityChange=sl,_.validateColumnsName=yr,_.yearToNow=bi,Object.defineProperties(_,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),_}({},Vue);