@mjsz-vbr-elements/extended 2.1.0-beta.30 → 2.1.0-beta.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.iife.js +12 -12
- package/dist/index.iife.js.br +0 -0
- package/dist/index.iife.js.gz +0 -0
- package/dist/index.js +1943 -1927
- package/package.json +3 -3
package/dist/index.iife.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* name: @mjsz-vbr-elements/extended
|
|
3
|
-
* version: v2.1.0-beta.
|
|
3
|
+
* version: v2.1.0-beta.32 - 12/10/2023, 16:45:47
|
|
4
4
|
* (c) 2023
|
|
5
5
|
* description: Data visualization for MJSZ VBR
|
|
6
6
|
* author: Ákos Stegner <akos.stegner@gmail.com>
|
|
7
7
|
*/
|
|
8
|
-
var MjszVbrElementsExtended=function(at,o){"use strict";const X=t=>({}.VITE_CSS_CLASS_PREFIX||"mjsz-vbr-")+t,ne={__name:"BaseSelect",props:{modelValue:{type:[String,Number],default:null}},emits:["update:modelValue"],setup(t,{emit:e}){const r=t,n=X("base-input"),a=o.computed({get:()=>r.modelValue,set:i=>e("update:modelValue",i)});return(i,s)=>o.withDirectives((o.openBlock(),o.createElementBlock("select",{"onUpdate:modelValue":s[0]||(s[0]=l=>a.value=l),class:o.normalizeClass([o.unref(n),"is-select"])},[o.renderSlot(i.$slots,"default")],2)),[[o.vModelSelect,a.value]])}};function Le(t){return o.getCurrentScope()?(o.onScopeDispose(t),!0):!1}function et(t){return typeof t=="function"?t():o.unref(t)}const oe=typeof window<"u",bt=()=>{},Kn=Zn();function Zn(){var t;return oe&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function ae(t,e=!1,r="Timeout"){return new Promise((n,a)=>{setTimeout(e?()=>a(r):n,t)})}function ie(t,e=!1){function r(u,{flush:f="sync",deep:m=!1,timeout:b,throwOnTimeout:g}={}){let h=null;const w=[new Promise(v=>{h=o.watch(t,y=>{u(y)!==e&&(h==null||h(),v(y))},{flush:f,deep:m,immediate:!0})})];return b!=null&&w.push(ae(b,g).then(()=>et(t)).finally(()=>h==null?void 0:h())),Promise.race(w)}function n(u,f){if(!o.isRef(u))return r(y=>y===u,f);const{flush:m="sync",deep:b=!1,timeout:g,throwOnTimeout:h}=f??{};let w=null;const v=[new Promise(y=>{w=o.watch([t,u],([S,N])=>{e!==(S===N)&&(w==null||w(),y(S))},{flush:m,deep:b,immediate:!0})})];return g!=null&&v.push(ae(g,h).then(()=>et(t)).finally(()=>(w==null||w(),et(t)))),Promise.race(v)}function a(u){return r(f=>!!f,u)}function i(u){return n(null,u)}function s(u){return n(void 0,u)}function l(u){return r(Number.isNaN,u)}function c(u,f){return r(m=>{const b=Array.from(m);return b.includes(u)||b.includes(et(u))},f)}function p(u){return d(1,u)}function d(u=1,f){let m=-1;return r(()=>(m+=1,m>=u),f)}return Array.isArray(et(t))?{toMatch:r,toContains:c,changed:p,changedTimes:d,get not(){return ie(t,!e)}}:{toMatch:r,toBe:n,toBeTruthy:a,toBeNull:i,toBeNaN:l,toBeUndefined:s,changed:p,changedTimes:d,get not(){return ie(t,!e)}}}function Jn(t){return ie(t)}function qn(t,e,r={}){const{immediate:n=!0}=r,a=o.ref(!1);let i=null;function s(){i&&(clearTimeout(i),i=null)}function l(){a.value=!1,s()}function c(...p){s(),a.value=!0,i=setTimeout(()=>{a.value=!1,i=null,t(...p)},et(e))}return n&&(a.value=!0,oe&&c()),Le(l),{isPending:o.readonly(a),start:c,stop:l}}function Xn(t,e,r){return o.watch(t,(n,a,i)=>{n&&e(n,a,i)},r)}function _t(t){var e;const r=et(t);return(e=r==null?void 0:r.$el)!=null?e:r}const Ge=oe?window:void 0;function se(...t){let e,r,n,a;if(typeof t[0]=="string"||Array.isArray(t[0])?([r,n,a]=t,e=Ge):[e,r,n,a]=t,!e)return bt;Array.isArray(r)||(r=[r]),Array.isArray(n)||(n=[n]);const i=[],s=()=>{i.forEach(d=>d()),i.length=0},l=(d,u,f,m)=>(d.addEventListener(u,f,m),()=>d.removeEventListener(u,f,m)),c=o.watch(()=>[_t(e),et(a)],([d,u])=>{s(),d&&i.push(...r.flatMap(f=>n.map(m=>l(d,f,m,u))))},{immediate:!0,flush:"post"}),p=()=>{c(),s()};return Le(p),p}let Re=!1;function Qn(t,e,r={}){const{window:n=Ge,ignore:a=[],capture:i=!0,detectIframe:s=!1}=r;if(!n)return;Kn&&!Re&&(Re=!0,Array.from(n.document.body.children).forEach(d=>d.addEventListener("click",bt)));let l=!0;const c=d=>a.some(u=>{if(typeof u=="string")return Array.from(n.document.querySelectorAll(u)).some(f=>f===d.target||d.composedPath().includes(f));{const f=_t(u);return f&&(d.target===f||d.composedPath().includes(f))}}),p=[se(n,"click",d=>{const u=_t(t);if(!(!u||u===d.target||d.composedPath().includes(u))){if(d.detail===0&&(l=!c(d)),!l){l=!0;return}e(d)}},{passive:!0,capture:i}),se(n,"pointerdown",d=>{const u=_t(t);u&&(l=!d.composedPath().includes(u)&&!c(d))},{passive:!0}),s&&se(n,"blur",d=>{var u;const f=_t(t);((u=n.document.activeElement)==null?void 0:u.tagName)==="IFRAME"&&!(f!=null&&f.contains(n.document.activeElement))&&e(d)})].filter(Boolean);return()=>p.forEach(d=>d())}var to=Object.defineProperty,eo=Object.defineProperties,ro=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,no=Object.prototype.hasOwnProperty,oo=Object.prototype.propertyIsEnumerable,He=(t,e,r)=>e in t?to(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,ao=(t,e)=>{for(var r in e||(e={}))no.call(e,r)&&He(t,r,e[r]);if(Fe)for(var r of Fe(e))oo.call(e,r)&&He(t,r,e[r]);return t},io=(t,e)=>eo(t,ro(e));function Ye(t,e,r){const{immediate:n=!0,delay:a=0,onError:i=bt,onSuccess:s=bt,resetOnExecute:l=!0,shallow:c=!0,throwError:p}=r??{},d=c?o.shallowRef(e):o.ref(e),u=o.ref(!1),f=o.ref(!1),m=o.shallowRef(void 0);async function b(w=0,...v){l&&(d.value=e),m.value=void 0,u.value=!1,f.value=!0,w>0&&await ae(w);const y=typeof t=="function"?t(...v):t;try{const S=await y;d.value=S,u.value=!0,s(S)}catch(S){if(m.value=S,i(S),p)throw S}finally{f.value=!1}return d.value}n&&b(a);const g={state:d,isReady:u,isLoading:f,error:m,execute:b};function h(){return new Promise((w,v)=>{Jn(f).toBe(!1).then(()=>w(g)).catch(v)})}return io(ao({},g),{then(w,v){return h().then(w,v)}})}var so=Object.defineProperty,We=Object.getOwnPropertySymbols,lo=Object.prototype.hasOwnProperty,co=Object.prototype.propertyIsEnumerable,Ue=(t,e,r)=>e in t?so(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,uo=(t,e)=>{for(var r in e||(e={}))lo.call(e,r)&&Ue(t,r,e[r]);if(We)for(var r of We(e))co.call(e,r)&&Ue(t,r,e[r]);return t};async function po(t){return new Promise((e,r)=>{const n=new Image,{src:a,srcset:i,sizes:s,class:l,loading:c,crossorigin:p}=t;n.src=a,i&&(n.srcset=i),s&&(n.sizes=s),l&&(n.className=l),c&&(n.loading=c),p&&(n.crossOrigin=p),n.onload=()=>e(n),n.onerror=r})}function fo(t,e={}){const r=Ye(()=>po(et(t)),void 0,uo({resetOnExecute:!0},e));return o.watch(()=>et(t),()=>r.execute(e.delay),{deep:!0}),r}function Ke(t=[],e={}){const{delay:r=0}=e,n=o.ref(!1),a=o.computed(()=>{const l=o.unref(t);return Array.isArray(l)?l.map(c=>o.unref(c)).some(Boolean):l}),{start:i,stop:s}=qn(()=>{n.value=!0},r);return o.watch(a,l=>{if(l)return i();s(),n.value=!1},{immediate:!0,deep:!0}),n}function V(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function R(t){return function e(r){return arguments.length===0||V(r)?e:t.apply(this,arguments)}}function M(t){return function e(r,n){switch(arguments.length){case 0:return e;case 1:return V(r)?e:R(function(a){return t(r,a)});default:return V(r)&&V(n)?e:V(r)?R(function(a){return t(a,n)}):V(n)?R(function(a){return t(r,a)}):t(r,n)}}}function It(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(r){return e.apply(this,arguments)};case 2:return function(r,n){return e.apply(this,arguments)};case 3:return function(r,n,a){return e.apply(this,arguments)};case 4:return function(r,n,a,i){return e.apply(this,arguments)};case 5:return function(r,n,a,i,s){return e.apply(this,arguments)};case 6:return function(r,n,a,i,s,l){return e.apply(this,arguments)};case 7:return function(r,n,a,i,s,l,c){return e.apply(this,arguments)};case 8:return function(r,n,a,i,s,l,c,p){return e.apply(this,arguments)};case 9:return function(r,n,a,i,s,l,c,p,d){return e.apply(this,arguments)};case 10:return function(r,n,a,i,s,l,c,p,d,u){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function le(t,e,r){return function(){for(var n=[],a=0,i=t,s=0;s<e.length||a<arguments.length;){var l;s<e.length&&(!V(e[s])||a>=arguments.length)?l=e[s]:(l=arguments[a],a+=1),n[s]=l,V(l)||(i-=1),s+=1}return i<=0?r.apply(this,n):It(i,le(t,n,r))}}var Mt=M(function(t,e){return t===1?R(e):It(t,le(t,[],e))});function pt(t){return function e(r,n,a){switch(arguments.length){case 0:return e;case 1:return V(r)?e:M(function(i,s){return t(r,i,s)});case 2:return V(r)&&V(n)?e:V(r)?M(function(i,s){return t(i,n,s)}):V(n)?M(function(i,s){return t(r,i,s)}):R(function(i){return t(r,n,i)});default:return V(r)&&V(n)&&V(a)?e:V(r)&&V(n)?M(function(i,s){return t(i,s,a)}):V(r)&&V(a)?M(function(i,s){return t(i,n,s)}):V(n)&&V(a)?M(function(i,s){return t(r,i,s)}):V(r)?R(function(i){return t(i,n,a)}):V(n)?R(function(i){return t(r,i,a)}):V(a)?R(function(i){return t(r,n,i)}):t(r,n,a)}}}const Lt=Array.isArray||function(t){return t!=null&&t.length>=0&&Object.prototype.toString.call(t)==="[object Array]"};function mo(t){return t!=null&&typeof t["@@transducer/step"]=="function"}function ce(t,e,r){return function(){if(arguments.length===0)return r();var n=arguments[arguments.length-1];if(!Lt(n)){for(var a=0;a<t.length;){if(typeof n[t[a]]=="function")return n[t[a]].apply(n,Array.prototype.slice.call(arguments,0,-1));a+=1}if(mo(n)){var i=e.apply(null,Array.prototype.slice.call(arguments,0,-1));return i(n)}}return r.apply(this,arguments)}}function go(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}const Et={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};function Ze(t){for(var e=[],r;!(r=t.next()).done;)e.push(r.value);return e}function Je(t,e,r){for(var n=0,a=r.length;n<a;){if(t(e,r[n]))return!0;n+=1}return!1}function ho(t){var e=String(t).match(/^function (\w*)/);return e==null?"":e[1]}function rt(t,e){return Object.prototype.hasOwnProperty.call(e,t)}function bo(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}const ue=typeof Object.is=="function"?Object.is:bo;var qe=Object.prototype.toString,Xe=function(){return qe.call(arguments)==="[object Arguments]"?function(t){return qe.call(t)==="[object Arguments]"}:function(t){return rt("callee",t)}}(),yo=!{toString:null}.propertyIsEnumerable("toString"),Qe=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],tr=function(){return arguments.propertyIsEnumerable("length")}(),wo=function(t,e){for(var r=0;r<t.length;){if(t[r]===e)return!0;r+=1}return!1},ft=R(typeof Object.keys=="function"&&!tr?function(t){return Object(t)!==t?[]:Object.keys(t)}:function(t){if(Object(t)!==t)return[];var e,r,n=[],a=tr&&Xe(t);for(e in t)rt(e,t)&&(!a||e!=="length")&&(n[n.length]=e);if(yo)for(r=Qe.length-1;r>=0;)e=Qe[r],rt(e,t)&&!wo(n,e)&&(n[n.length]=e),r-=1;return n}),de=R(function(t){return t===null?"Null":t===void 0?"Undefined":Object.prototype.toString.call(t).slice(8,-1)});function er(t,e,r,n){var a=Ze(t),i=Ze(e);function s(l,c){return pe(l,c,r.slice(),n.slice())}return!Je(function(l,c){return!Je(s,c,l)},i,a)}function pe(t,e,r,n){if(ue(t,e))return!0;var a=de(t);if(a!==de(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"&&ho(t.constructor)==="Promise")return t===e;break;case"Boolean":case"Number":case"String":if(!(typeof t==typeof e&&ue(t.valueOf(),e.valueOf())))return!1;break;case"Date":if(!ue(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(!(t.source===e.source&&t.global===e.global&&t.ignoreCase===e.ignoreCase&&t.multiline===e.multiline&&t.sticky===e.sticky&&t.unicode===e.unicode))return!1;break}for(var i=r.length-1;i>=0;){if(r[i]===t)return n[i]===e;i-=1}switch(a){case"Map":return t.size!==e.size?!1:er(t.entries(),e.entries(),r.concat([t]),n.concat([e]));case"Set":return t.size!==e.size?!1:er(t.values(),e.values(),r.concat([t]),n.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var s=ft(t);if(s.length!==ft(e).length)return!1;var l=r.concat([t]),c=n.concat([e]);for(i=s.length-1;i>=0;){var p=s[i];if(!(rt(p,e)&&pe(e[p],t[p],l,c)))return!1;i-=1}return!0}var Gt=M(function(t,e){return pe(t,e,[],[])});function vo(t,e,r){var n,a;if(typeof t.indexOf=="function")switch(typeof e){case"number":if(e===0){for(n=1/e;r<t.length;){if(a=t[r],a===0&&1/a===n)return r;r+=1}return-1}else if(e!==e){for(;r<t.length;){if(a=t[r],typeof a=="number"&&a!==a)return r;r+=1}return-1}return t.indexOf(e,r);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,r);case"object":if(e===null)return t.indexOf(e,r)}for(;r<t.length;){if(Gt(t[r],e))return r;r+=1}return-1}function rr(t,e){return vo(e,t,0)>=0}function Rt(t,e){for(var r=0,n=e.length,a=Array(n);r<n;)a[r]=t(e[r]),r+=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(t){return(t<10?"0":"")+t},xo=typeof Date.prototype.toISOString=="function"?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+Nt(t.getUTCMonth()+1)+"-"+Nt(t.getUTCDate())+"T"+Nt(t.getUTCHours())+":"+Nt(t.getUTCMinutes())+":"+Nt(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function ko(t){return function(){return!t.apply(this,arguments)}}function nr(t,e,r){for(var n=0,a=r.length;n<a;)e=t(e,r[n]),n+=1;return e}function zo(t,e){for(var r=0,n=e.length,a=[];r<n;)t(e[r])&&(a[a.length]=e[r]),r+=1;return a}function Ft(t){return Object.prototype.toString.call(t)==="[object Object]"}var So=function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=Et.init,t.prototype["@@transducer/result"]=Et.result,t.prototype["@@transducer/step"]=function(e,r){return this.f(r)?this.xf["@@transducer/step"](e,r):e},t}();function _o(t){return function(e){return new So(t,e)}}var or=M(ce(["fantasy-land/filter","filter"],_o,function(t,e){return Ft(e)?nr(function(r,n){return t(e[n])&&(r[n]=e[n]),r},{},ft(e)):zo(t,e)})),Eo=M(function(t,e){return or(ko(t),e)});function ar(t,e){var r=function(i){var s=e.concat([t]);return rr(i,s)?"<Circular>":ar(i,s)},n=function(i,s){return Rt(function(l){return fe(l)+": "+r(i[l])},s.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+Rt(r,t).join(", ")+"))";case"[object Array]":return"["+Rt(r,t).concat(n(t,Eo(function(i){return/^\d+$/.test(i)},ft(t)))).join(", ")+"]";case"[object Boolean]":return typeof t=="object"?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):fe(xo(t)))+")";case"[object Map]":return"new Map("+r(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return typeof t=="object"?"new Number("+r(t.valueOf())+")":1/t===-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+r(Array.from(t).sort())+")";case"[object String]":return typeof t=="object"?"new String("+r(t.valueOf())+")":fe(t);case"[object Undefined]":return"undefined";default:if(typeof t.toString=="function"){var a=t.toString();if(a!=="[object Object]")return a}return"{"+n(t,ft(t)).join(", ")+"}"}}var me=R(function(t){return ar(t,[])}),No=M(function(t,e){if(t===e)return e;function r(l,c){if(l>c!=c>l)return c>l?c:l}var n=r(t,e);if(n!==void 0)return n;var a=r(typeof t,typeof e);if(a!==void 0)return a===typeof t?t:e;var i=me(t),s=r(i,me(e));return s!==void 0&&s===i?t:e}),Ao=function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=Et.init,t.prototype["@@transducer/result"]=Et.result,t.prototype["@@transducer/step"]=function(e,r){return this.xf["@@transducer/step"](e,this.f(r))},t}(),jo=function(t){return function(e){return new Ao(t,e)}},Oo=M(ce(["fantasy-land/map","map"],jo,function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return Mt(e.length,function(){return t.call(this,e.apply(this,arguments))});case"[object Object]":return nr(function(r,n){return r[n]=t(e[n]),r},{},ft(e));default:return Rt(t,e)}}));const yt=Oo,ir=Number.isInteger||function(t){return t<<0===t};function Ht(t){return Object.prototype.toString.call(t)==="[object String]"}var sr=M(function(t,e){var r=t<0?e.length+t:t;return Ht(e)?e.charAt(r):e[r]}),Po=M(function(t,e){if(e!=null)return ir(t)?sr(t,e):e[t]});const Yt=Po;var To=M(function(t,e){return yt(Yt(t),e)}),$o=R(function(t){return Lt(t)?!0:!t||typeof t!="object"||Ht(t)?!1:t.length===0?!0:t.length>0?t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1):!1}),lr=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function Do(t,e,r){return function(n,a,i){if($o(i))return t(n,a,i);if(i==null)return a;if(typeof i["fantasy-land/reduce"]=="function")return e(n,a,i,"fantasy-land/reduce");if(i[lr]!=null)return r(n,a,i[lr]());if(typeof i.next=="function")return r(n,a,i);if(typeof i.reduce=="function")return e(n,a,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Co(t,e,r){for(var n=0,a=r.length;n<a;){if(e=t["@@transducer/step"](e,r[n]),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n+=1}return t["@@transducer/result"](e)}var Bo=M(function(t,e){return It(t.length,function(){return t.apply(e,arguments)})});function Vo(t,e,r){for(var n=r.next();!n.done;){if(e=t["@@transducer/step"](e,n.value),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n=r.next()}return t["@@transducer/result"](e)}function Io(t,e,r,n){return t["@@transducer/result"](r[n](Bo(t["@@transducer/step"],t),e))}var cr=Do(Co,Io,Vo),Mo=function(){function t(e){this.f=e}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(e){return e},t.prototype["@@transducer/step"]=function(e,r){return this.f(e,r)},t}();function ur(t){return new Mo(t)}var Lo=pt(function(t,e,r){return cr(typeof t=="function"?ur(t):t,e,r)});const dr=Lo;var Go=R(function(t){return function(){return t}});const pr=Go;var Ro=R(function(t){return Mt(dr(No,0,To("length",t)),function(){for(var e=0,r=t.length;e<r;){if(t[e].apply(this,arguments))return!0;e+=1}return!1})});const Fo=Ro;var Ho=pt(function(t,e,r){var n=t(e),a=t(r);return n<a?-1:n>a?1:0});const fr=Ho;function Yo(t){var e=Object.prototype.toString.call(t);return e==="[object Function]"||e==="[object AsyncFunction]"||e==="[object GeneratorFunction]"||e==="[object AsyncGeneratorFunction]"}function Wo(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,r){if(r||(r=new Ko),Uo(t))return t;var n=function(a){var i=r.get(t);if(i)return i;r.set(t,a);for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(a[s]=e?ge(t[s],!0,r):t[s]);return a};switch(de(t)){case"Object":return n(Object.create(Object.getPrototypeOf(t)));case"Array":return n([]);case"Date":return new Date(t.valueOf());case"RegExp":return Wo(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 Uo(t){var e=typeof t;return t==null||e!="object"&&e!="function"}var Ko=function(){function t(){this.map={},this.length=0}return t.prototype.set=function(e,r){const n=this.hash(e);let a=this.map[n];a||(this.map[n]=a=[]),a.push([e,r]),this.length+=1},t.prototype.hash=function(e){let r=[];for(var n in e)r.push(Object.prototype.toString.call(e[n]));return r.join()},t.prototype.get=function(e){if(this.length<=180){for(const a in this.map){const i=this.map[a];for(let s=0;s<i.length;s+=1){const l=i[s];if(l[0]===e)return l[1]}}return}const r=this.hash(e),n=this.map[r];if(n)for(let a=0;a<n.length;a+=1){const i=n[a];if(i[0]===e)return i[1]}},t}();function Zo(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function he(t,e){return function(){var r=arguments.length;if(r===0)return e();var n=arguments[r-1];return Lt(n)||typeof n[t]!="function"?e.apply(this,arguments):n[t].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}var Jo=pt(he("slice",function(t,e,r){return Array.prototype.slice.call(r,t,e)})),qo=R(he("tail",Jo(1,1/0)));const Xo=qo;function be(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return It(arguments[0].length,dr(Zo,arguments[0],Xo(arguments)))}var Qo=R(function(t){return Ht(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()});const ta=Qo;function ea(){if(arguments.length===0)throw new Error("compose requires at least one argument");return be.apply(this,ta(arguments))}var ra=function(){function t(e,r,n,a){this.valueFn=e,this.valueAcc=r,this.keyFn=n,this.xf=a,this.inputs={}}return t.prototype["@@transducer/init"]=Et.init,t.prototype["@@transducer/result"]=function(e){var r;for(r in this.inputs)if(rt(r,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[r]),e["@@transducer/reduced"])){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,r){var n=this.keyFn(r);return this.inputs[n]=this.inputs[n]||[n,ge(this.valueAcc,!1)],this.inputs[n][1]=this.valueFn(this.inputs[n][1],r),e},t}();function na(t,e,r){return function(n){return new ra(t,e,r,n)}}var oa=le(4,[],ce([],na,function(t,e,r,n){var a=ur(function(i,s){var l=r(s),c=t(rt(l,i)?i[l]:ge(e,!1),s);return c&&c["@@transducer/reduced"]?go(i):(i[l]=c,i)});return cr(a,{},n)})),aa=pt(function(t,e,r){var n=t(e),a=t(r);return n>a?-1:n<a?1:0});const ia=aa;function sa(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 la=R(function(t){return t!=null&&typeof t["fantasy-land/empty"]=="function"?t["fantasy-land/empty"]():t!=null&&t.constructor!=null&&typeof t.constructor["fantasy-land/empty"]=="function"?t.constructor["fantasy-land/empty"]():t!=null&&typeof t.empty=="function"?t.empty():t!=null&&t.constructor!=null&&typeof t.constructor.empty=="function"?t.constructor.empty():Lt(t)?[]:Ht(t)?"":Ft(t)?{}:Xe(t)?function(){return arguments}():sa(t)?t.constructor.from(""):void 0}),ca=M(he("groupBy",oa(function(t,e){return t.push(e),t},[])));const ua=ca;var da=pt(function(t,e,r){return Mt(Math.max(t.length,e.length,r.length),function(){return t.apply(this,arguments)?e.apply(this,arguments):r.apply(this,arguments)})});const pa=da;var fa=M(rr);const ma=fa;var ga=M(function(t,e){return Mt(t+1,function(){var r=arguments[t];if(r!=null&&Yo(r[e]))return r[e].apply(r,Array.prototype.slice.call(arguments,0,t));throw new TypeError(me(r)+' does not have a method named "'+e+'"')})});const mr=ga;var ha=R(function(t){return t!=null&&Gt(t,la(t))});const ba=ha;var ya=M(function(t,e){return t.map(function(r){for(var n=e,a=0,i;a<r.length;){if(n==null)return;i=r[a],n=ir(i)?sr(i,n):n[i],a+=1}return n})}),wa=M(function(t,e){return ya([t],e)[0]});const gr=wa;var va=pt(function(t,e,r){var n={},a;e=e||{},r=r||{};for(a in e)rt(a,e)&&(n[a]=rt(a,r)?t(a,e[a],r[a]):e[a]);for(a in r)rt(a,r)&&!rt(a,n)&&(n[a]=r[a]);return n}),xa=pt(function t(e,r,n){return va(function(a,i,s){return Ft(i)&&Ft(s)?t(e,i,s):e(a,i,s)},r,n)}),ka=M(function(t,e){return xa(function(r,n,a){return a},t,e)});const za=ka;var Sa=M(function(t,e){for(var r={},n={},a=0,i=t.length;a<i;)n[t[a]]=1,a+=1;for(var s in e)n.hasOwnProperty(s)||(r[s]=e[s]);return r});const _a=Sa;var Ea=M(function(t,e){return Array.prototype.slice.call(e,0).sort(function(r,n){for(var a=0,i=0;a===0&&i<t.length;)a=t[i](r,n),i+=1;return a})});const hr=Ea;var Na=mr(1,"split");const At=Na;var Aa=mr(0,"toLowerCase");const ja=Aa;var jt=`
|
|
9
|
-
\v\f\r \u2028\u2029\uFEFF`,Oa="",Pa=typeof String.prototype.trim=="function",Ta=R(!Pa||jt.trim()||!Oa.trim()?function(t){var e=new RegExp("^["+jt+"]["+jt+"]*"),r=new RegExp("["+jt+"]["+jt+"]*$");return t.replace(e,"").replace(r,"")}:function(t){return t.trim()});const Wt=Ta,br=Symbol("I18nContext"),Y=o.reactive({messages:{},locale:"",fallbackLocale:""}),$a=({messages:t={},locale:e="",fallbackLocale:r=""})=>{Y.messages=t,Y.locale=e,Y.fallbackLocale=r;const n=(l,c={})=>{const p=!ba(c),d=yt(Wt,At(".",l));return o.computed(()=>{const u=yr(d);return p?Ca(u,c):u}).value},a=l=>{const c=yt(Wt,At(".",l));return!!ye(Y.locale,c,Y.messages)},i=l=>{Y.locale=l},s={locale:o.computed({get(){return Y.locale},set(l){Y.locale=l}}),setLocale:i,translate:n,hasTranlation:a};return o.provide(br,s),{translate:n}},nt=t=>{t&&(Y.messages=t.messages,Y.locale=t.locale,Y.fallbackLocale=t.fallbackLocale);const e=Da();return{locale:e.locale,t:e.translate,setLocale:e.setLocale,hasTranlation:e.hasTranlation}},Da=()=>{const t=o.inject(br,null);if(t===null)throw new Error("Privider is missing a parent component.");return t},yr=(t=[])=>{let e=ye(Y.locale,t,Y.messages);return!e&&Y.fallbackLocale&&(e=ye(Y.fallbackLocale,t,Y.messages)),e||t.join(".")};function ye(t,e,r){return gr([t,...e],r)}const Ca=function(t,e){return t.replace(/\{(\w+)\}/g,function(r,n){return e[n]})},Ba=o.defineComponent({props:{tag:{type:String,default:"div"},path:{type:String,defult:""}},setup(t,{slots:e}){const r=yt(Wt,At(".",t.path)),n=yr(r),a=At(/{|}/,n),i=Object.keys(e).map(s=>{const l=a.indexOf(s);return l>-1&&(a[l]=e[s]()[0]),a});return()=>o.h(t.tag,i)}}),Va="https://api.icehockey.hu/vbr",Ia="https://www.jegkorongszovetseg.hu/event/game/",it="original",Ot="descend",wt="ascend",Ma=new Map().set("hu","hu-hu").set("en","hu-gb"),La=new Map().set("Europe/Budapest",{countryLabelKey:"hungary",timezone:"Europe/Budapest"}).set("Europe/Bucharest",{countryLabelKey:"romania",timezone:"Europe/Bucharest"}),Ga=1e3,Ra={"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"},Fa=o.createElementVNode("path",{fill:"currentColor",d:"M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41zm255-105L177 64c-9.4-9.4-24.6-9.4-33.9 0L24 183c-15.1 15.1-4.4 41 17 41h238c21.4 0 32.1-25.9 17-41z"},null,-1),Ha=[Fa];function Ya(t,e){return o.openBlock(),o.createElementBlock("svg",Ra,Ha)}const wr={render:Ya},Wa={"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"},Ua=o.createElementVNode("path",{fill:"currentColor",d:"M41 288h238c21.4 0 32.1 25.9 17 41L177 448c-9.4 9.4-24.6 9.4-33.9 0L24 329c-15.1-15.1-4.4-41 17-41z"},null,-1),Ka=[Ua];function Za(t,e){return o.openBlock(),o.createElementBlock("svg",Wa,Ka)}const Ja={render:Za},qa={"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"},Xa=o.createElementVNode("path",{fill:"currentColor",d:"M279 224H41c-21.4 0-32.1-25.9-17-41L143 64c9.4-9.4 24.6-9.4 33.9 0l119 119c15.2 15.1 4.5 41-16.9 41z"},null,-1),Qa=[Xa];function ti(t,e){return o.openBlock(),o.createElementBlock("svg",qa,Qa)}const ei={render:ti};function Pt(t){return t.split("-")[1]}function we(t){return t==="y"?"height":"width"}function mt(t){return t.split("-")[0]}function Tt(t){return["top","bottom"].includes(mt(t))?"x":"y"}function vr(t,e,r){let{reference:n,floating:a}=t;const i=n.x+n.width/2-a.width/2,s=n.y+n.height/2-a.height/2,l=Tt(e),c=we(l),p=n[c]/2-a[c]/2,d=l==="x";let u;switch(mt(e)){case"top":u={x:i,y:n.y-a.height};break;case"bottom":u={x:i,y:n.y+n.height};break;case"right":u={x:n.x+n.width,y:s};break;case"left":u={x:n.x-a.width,y:s};break;default:u={x:n.x,y:n.y}}switch(Pt(e)){case"start":u[l]-=p*(r&&d?-1:1);break;case"end":u[l]+=p*(r&&d?-1:1)}return u}const ri=async(t,e,r)=>{const{placement:n="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,l=i.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e));let p=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:d,y:u}=vr(p,n,c),f=n,m={},b=0;for(let g=0;g<l.length;g++){const{name:h,fn:w}=l[g],{x:v,y,data:S,reset:N}=await w({x:d,y:u,initialPlacement:n,placement:f,strategy:a,middlewareData:m,rects:p,platform:s,elements:{reference:t,floating:e}});d=v??d,u=y??u,m={...m,[h]:{...m[h],...S}},N&&b<=50&&(b++,typeof N=="object"&&(N.placement&&(f=N.placement),N.rects&&(p=N.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):N.rects),{x:d,y:u}=vr(p,f,c)),g=-1)}return{x:d,y:u,placement:f,strategy:a,middlewareData:m}};function xr(t){return typeof t!="number"?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(t):{top:t,right:t,bottom:t,left:t}}function Ut(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function kr(t,e){var r;e===void 0&&(e={});const{x:n,y:a,platform:i,rects:s,elements:l,strategy:c}=t,{boundary:p="clippingAncestors",rootBoundary:d="viewport",elementContext:u="floating",altBoundary:f=!1,padding:m=0}=e,b=xr(m),g=l[f?u==="floating"?"reference":"floating":u],h=Ut(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(g)))==null||r?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:p,rootBoundary:d,strategy:c})),w=u==="floating"?{...s.floating,x:n,y:a}:s.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),y=await(i.isElement==null?void 0:i.isElement(v))&&await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1},S=Ut(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:w,offsetParent:v,strategy:c}):w);return{top:(h.top-S.top+b.top)/y.y,bottom:(S.bottom-h.bottom+b.bottom)/y.y,left:(h.left-S.left+b.left)/y.x,right:(S.right-h.right+b.right)/y.x}}const ni=Math.min,oi=Math.max;function ve(t,e,r){return oi(t,ni(e,r))}const zr=t=>({name:"arrow",options:t,async fn(e){const{element:r,padding:n=0}=t||{},{x:a,y:i,placement:s,rects:l,platform:c,elements:p}=e;if(r==null)return{};const d=xr(n),u={x:a,y:i},f=Tt(s),m=we(f),b=await c.getDimensions(r),g=f==="y",h=g?"top":"left",w=g?"bottom":"right",v=g?"clientHeight":"clientWidth",y=l.reference[m]+l.reference[f]-u[f]-l.floating[m],S=u[f]-l.reference[f],N=await(c.getOffsetParent==null?void 0:c.getOffsetParent(r));let $=N?N[v]:0;$&&await(c.isElement==null?void 0:c.isElement(N))||($=p.floating[v]||l.floating[m]);const C=y/2-S/2,D=d[h],P=$-b[m]-d[w],j=$/2-b[m]/2+C,B=ve(D,j,P),F=Pt(s)!=null&&j!=B&&l.reference[m]/2-(j<D?d[h]:d[w])-b[m]/2<0;return{[f]:u[f]-(F?j<D?D-j:P-j:0),data:{[f]:B,centerOffset:j-B}}}});["top","right","bottom","left"].reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]);const ai={left:"right",right:"left",bottom:"top",top:"bottom"};function Kt(t){return t.replace(/left|right|bottom|top/g,e=>ai[e])}function ii(t,e,r){r===void 0&&(r=!1);const n=Pt(t),a=Tt(t),i=we(a);let s=a==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Kt(s)),{main:s,cross:Kt(s)}}const si={start:"end",end:"start"};function xe(t){return t.replace(/start|end/g,e=>si[e])}const li=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r;const{placement:n,middlewareData:a,rects:i,initialPlacement:s,platform:l,elements:c}=e,{mainAxis:p=!0,crossAxis:d=!0,fallbackPlacements:u,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:b=!0,...g}=t,h=mt(n),w=mt(s)===s,v=await(l.isRTL==null?void 0:l.isRTL(c.floating)),y=u||(w||!b?[Kt(s)]:function(B){const F=Kt(B);return[xe(B),F,xe(F)]}(s));u||m==="none"||y.push(...function(B,F,E,z){const k=Pt(B);let _=function(x,A,O){const T=["left","right"],G=["right","left"],L=["top","bottom"],H=["bottom","top"];switch(x){case"top":case"bottom":return O?A?G:T:A?T:G;case"left":case"right":return A?L:H;default:return[]}}(mt(B),E==="start",z);return k&&(_=_.map(x=>x+"-"+k),F&&(_=_.concat(_.map(xe)))),_}(s,b,m,v));const S=[s,...y],N=await kr(e,g),$=[];let C=((r=a.flip)==null?void 0:r.overflows)||[];if(p&&$.push(N[h]),d){const{main:B,cross:F}=ii(n,i,v);$.push(N[B],N[F])}if(C=[...C,{placement:n,overflows:$}],!$.every(B=>B<=0)){var D,P;const B=(((D=a.flip)==null?void 0:D.index)||0)+1,F=S[B];if(F)return{data:{index:B,overflows:C},reset:{placement:F}};let E=(P=C.filter(z=>z.overflows[0]<=0).sort((z,k)=>z.overflows[1]-k.overflows[1])[0])==null?void 0:P.placement;if(!E)switch(f){case"bestFit":{var j;const z=(j=C.map(k=>[k.placement,k.overflows.filter(_=>_>0).reduce((_,x)=>_+x,0)]).sort((k,_)=>k[1]-_[1])[0])==null?void 0:j[0];z&&(E=z);break}case"initialPlacement":E=s}if(n!==E)return{reset:{placement:E}}}return{}}}},ci=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){const{x:r,y:n}=e,a=await async function(i,s){const{placement:l,platform:c,elements:p}=i,d=await(c.isRTL==null?void 0:c.isRTL(p.floating)),u=mt(l),f=Pt(l),m=Tt(l)==="x",b=["left","top"].includes(u)?-1:1,g=d&&m?-1:1,h=typeof s=="function"?s(i):s;let{mainAxis:w,crossAxis:v,alignmentAxis:y}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};return f&&typeof y=="number"&&(v=f==="end"?-1*y:y),m?{x:v*g,y:w*b}:{x:w*b,y:v*g}}(e,t);return{x:r+a.x,y:n+a.y,data:a}}}};function ui(t){return t==="x"?"y":"x"}const di=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:r,y:n,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:h=>{let{x:w,y:v}=h;return{x:w,y:v}}},...c}=t,p={x:r,y:n},d=await kr(e,c),u=Tt(mt(a)),f=ui(u);let m=p[u],b=p[f];if(i){const h=u==="y"?"bottom":"right";m=ve(m+d[u==="y"?"top":"left"],m,m-d[h])}if(s){const h=f==="y"?"bottom":"right";b=ve(b+d[f==="y"?"top":"left"],b,b-d[h])}const g=l.fn({...e,[u]:m,[f]:b});return{...g,data:{x:g.x-r,y:g.y-n}}}}};function J(t){var e;return((e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Q(t){return J(t).getComputedStyle(t)}function Sr(t){return t instanceof J(t).Node}function st(t){return Sr(t)?(t.nodeName||"").toLowerCase():""}function tt(t){return t instanceof J(t).HTMLElement}function K(t){return t instanceof J(t).Element}function _r(t){return typeof ShadowRoot>"u"?!1:t instanceof J(t).ShadowRoot||t instanceof ShadowRoot}function $t(t){const{overflow:e,overflowX:r,overflowY:n,display:a}=Q(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(a)}function pi(t){return["table","td","th"].includes(st(t))}function ke(t){const e=ze(),r=Q(t);return r.transform!=="none"||r.perspective!=="none"||!e&&!!r.backdropFilter&&r.backdropFilter!=="none"||!e&&!!r.filter&&r.filter!=="none"||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function ze(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Zt(t){return["html","body","#document"].includes(st(t))}const Er=Math.min,Dt=Math.max,Jt=Math.round;function Nr(t){const e=Q(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const a=tt(t),i=a?t.offsetWidth:r,s=a?t.offsetHeight:n,l=Jt(r)!==i||Jt(n)!==s;return l&&(r=i,n=s),{width:r,height:n,fallback:l}}function Ar(t){return K(t)?t:t.contextElement}const jr={x:1,y:1};function vt(t){const e=Ar(t);if(!tt(e))return jr;const r=e.getBoundingClientRect(),{width:n,height:a,fallback:i}=Nr(e);let s=(i?Jt(r.width):r.width)/n,l=(i?Jt(r.height):r.height)/a;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}const Or={x:0,y:0};function Pr(t,e,r){var n,a;if(e===void 0&&(e=!0),!ze())return Or;const i=t?J(t):window;return!r||e&&r!==i?Or:{x:((n=i.visualViewport)==null?void 0:n.offsetLeft)||0,y:((a=i.visualViewport)==null?void 0:a.offsetTop)||0}}function gt(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const a=t.getBoundingClientRect(),i=Ar(t);let s=jr;e&&(n?K(n)&&(s=vt(n)):s=vt(t));const l=Pr(i,r,n);let c=(a.left+l.x)/s.x,p=(a.top+l.y)/s.y,d=a.width/s.x,u=a.height/s.y;if(i){const f=J(i),m=n&&K(n)?J(n):n;let b=f.frameElement;for(;b&&n&&m!==f;){const g=vt(b),h=b.getBoundingClientRect(),w=getComputedStyle(b);h.x+=(b.clientLeft+parseFloat(w.paddingLeft))*g.x,h.y+=(b.clientTop+parseFloat(w.paddingTop))*g.y,c*=g.x,p*=g.y,d*=g.x,u*=g.y,c+=h.x,p+=h.y,b=J(b).frameElement}}return Ut({width:d,height:u,x:c,y:p})}function lt(t){return((Sr(t)?t.ownerDocument:t.document)||window.document).documentElement}function qt(t){return K(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Tr(t){return gt(lt(t)).left+qt(t).scrollLeft}function xt(t){if(st(t)==="html")return t;const e=t.assignedSlot||t.parentNode||_r(t)&&t.host||lt(t);return _r(e)?e.host:e}function $r(t){const e=xt(t);return Zt(e)?e.ownerDocument.body:tt(e)&&$t(e)?e:$r(e)}function Ct(t,e){var r;e===void 0&&(e=[]);const n=$r(t),a=n===((r=t.ownerDocument)==null?void 0:r.body),i=J(n);return a?e.concat(i,i.visualViewport||[],$t(n)?n:[]):e.concat(n,Ct(n))}function Dr(t,e,r){let n;if(e==="viewport")n=function(a,i){const s=J(a),l=lt(a),c=s.visualViewport;let p=l.clientWidth,d=l.clientHeight,u=0,f=0;if(c){p=c.width,d=c.height;const m=ze();(!m||m&&i==="fixed")&&(u=c.offsetLeft,f=c.offsetTop)}return{width:p,height:d,x:u,y:f}}(t,r);else if(e==="document")n=function(a){const i=lt(a),s=qt(a),l=a.ownerDocument.body,c=Dt(i.scrollWidth,i.clientWidth,l.scrollWidth,l.clientWidth),p=Dt(i.scrollHeight,i.clientHeight,l.scrollHeight,l.clientHeight);let d=-s.scrollLeft+Tr(a);const u=-s.scrollTop;return Q(l).direction==="rtl"&&(d+=Dt(i.clientWidth,l.clientWidth)-c),{width:c,height:p,x:d,y:u}}(lt(t));else if(K(e))n=function(a,i){const s=gt(a,!0,i==="fixed"),l=s.top+a.clientTop,c=s.left+a.clientLeft,p=tt(a)?vt(a):{x:1,y:1};return{width:a.clientWidth*p.x,height:a.clientHeight*p.y,x:c*p.x,y:l*p.y}}(e,r);else{const a=Pr(t);n={...e,x:e.x-a.x,y:e.y-a.y}}return Ut(n)}function Cr(t,e){const r=xt(t);return!(r===e||!K(r)||Zt(r))&&(Q(r).position==="fixed"||Cr(r,e))}function Br(t,e){return tt(t)&&Q(t).position!=="fixed"?e?e(t):t.offsetParent:null}function Vr(t,e){const r=J(t);if(!tt(t))return r;let n=Br(t,e);for(;n&&pi(n)&&Q(n).position==="static";)n=Br(n,e);return n&&(st(n)==="html"||st(n)==="body"&&Q(n).position==="static"&&!ke(n))?r:n||function(a){let i=xt(a);for(;tt(i)&&!Zt(i);){if(ke(i))return i;i=xt(i)}return null}(t)||r}function fi(t,e,r){const n=tt(e),a=lt(e),i=r==="fixed",s=gt(t,!0,i,e);let l={scrollLeft:0,scrollTop:0};const c={x:0,y:0};if(n||!n&&!i)if((st(e)!=="body"||$t(a))&&(l=qt(e)),tt(e)){const p=gt(e,!0,i,e);c.x=p.x+e.clientLeft,c.y=p.y+e.clientTop}else a&&(c.x=Tr(a));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}const mi={getClippingRect:function(t){let{element:e,boundary:r,rootBoundary:n,strategy:a}=t;const i=r==="clippingAncestors"?function(p,d){const u=d.get(p);if(u)return u;let f=Ct(p).filter(h=>K(h)&&st(h)!=="body"),m=null;const b=Q(p).position==="fixed";let g=b?xt(p):p;for(;K(g)&&!Zt(g);){const h=Q(g),w=ke(g);w||h.position!=="fixed"||(m=null),(b?!w&&!m:!w&&h.position==="static"&&m&&["absolute","fixed"].includes(m.position)||$t(g)&&!w&&Cr(p,g))?f=f.filter(v=>v!==g):m=h,g=xt(g)}return d.set(p,f),f}(e,this._c):[].concat(r),s=[...i,n],l=s[0],c=s.reduce((p,d)=>{const u=Dr(e,d,a);return p.top=Dt(u.top,p.top),p.right=Er(u.right,p.right),p.bottom=Er(u.bottom,p.bottom),p.left=Dt(u.left,p.left),p},Dr(e,l,a));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:r,strategy:n}=t;const a=tt(r),i=lt(r);if(r===i)return e;let s={scrollLeft:0,scrollTop:0},l={x:1,y:1};const c={x:0,y:0};if((a||!a&&n!=="fixed")&&((st(r)!=="body"||$t(i))&&(s=qt(r)),tt(r))){const p=gt(r);l=vt(r),c.x=p.x+r.clientLeft,c.y=p.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+c.x,y:e.y*l.y-s.scrollTop*l.y+c.y}},isElement:K,getDimensions:function(t){return Nr(t)},getOffsetParent:Vr,getDocumentElement:lt,getScale:vt,async getElementRects(t){let{reference:e,floating:r,strategy:n}=t;const a=this.getOffsetParent||Vr,i=this.getDimensions;return{reference:fi(e,await a(r),n),floating:{x:0,y:0,...await i(r)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>Q(t).direction==="rtl"};function gi(t,e,r,n){n===void 0&&(n={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:s=!0,animationFrame:l=!1}=n,c=a||i?[...K(t)?Ct(t):t.contextElement?Ct(t.contextElement):[],...Ct(e)]:[];c.forEach(f=>{const m=!K(f)&&f.toString().includes("V");!a||l&&!m||f.addEventListener("scroll",r,{passive:!0}),i&&f.addEventListener("resize",r)});let p,d=null;s&&(d=new ResizeObserver(()=>{r()}),K(t)&&!l&&d.observe(t),K(t)||!t.contextElement||l||d.observe(t.contextElement),d.observe(e));let u=l?gt(t):null;return l&&function f(){const m=gt(t);!u||m.x===u.x&&m.y===u.y&&m.width===u.width&&m.height===u.height||r(),u=m,p=requestAnimationFrame(f)}(),r(),()=>{var f;c.forEach(m=>{a&&m.removeEventListener("scroll",r),i&&m.removeEventListener("resize",r)}),(f=d)==null||f.disconnect(),d=null,l&&cancelAnimationFrame(p)}}const hi=(t,e,r)=>{const n=new Map,a={platform:mi,...r},i={...a.platform,_c:n};return ri(t,e,{...a,platform:i})},bi=(t,e="body")=>{if(!t)return;if(typeof e!="string"){e==null||e.append(t);return}const r=document.querySelector(e);r==null||r.append(t)};function yi({middleware:t,placement:e=null,strategy:r,append:n,enabled:a}){const i=o.ref(null),s=o.ref(null),l=o.ref(null),c=o.ref(null),p=o.ref(null),d=o.ref(null),u=o.ref(null),f=o.ref(r??"absolute"),m=o.ref(null),b=()=>{!i.value||!s.value||hi(i.value,s.value,{middleware:t,placement:e,strategy:r}).then(h=>{l.value=h.x,c.value=h.y,f.value=h.strategy,p.value=h.middlewareData.arrow.x,d.value=h.middlewareData.arrow.y,u.value=h.placement})};o.watch(()=>({reference:o.unref(i),floating:o.unref(s),append:o.unref(n)}),({floating:h,append:w})=>{w&&bi(h,w),b()},{flush:"post"}),o.watch(a,h=>{if(!(!i.value||!s.value)){if(!h)return g();m.value=gi(i.value,s.value,b,{})}},{flush:"post"});const g=()=>{var h;(h=m.value)==null||h.call(m),m.value=null};return{x:l,y:c,arrowX:p,arrowY:d,placement:u,reference:i,floating:s,strategy:f,update:b}}const wi=t=>{const{element:e,padding:r}=t;return{name:"arrow",options:t,fn(n){return o.isRef(e)?e.value!=null?zr({element:e.value,padding:r}).fn(n):{}:e?zr({element:e,padding:r}).fn(n):{}}}},vi=["data-placement"],Ir={__name:"FloatingPanel",props:{disabled:{type:Boolean,default:!1},placement:{type:String,default:"bottom"},theme:{type:String,default:"tooltip"},content:{type:String,default:""},appendTo:{type:[Object,String],default:"body"},offset:{type:Number,default:2}},setup(t){const e=t,r=o.ref(!1),n=o.ref(null),{x:a,y:i,arrowX:s,arrowY:l,placement:c,reference:p,floating:d,strategy:u}=yi({placement:e.placement,middleware:[li(),di({padding:5}),ci(e.offset),wi({element:n,padding:5})],append:o.computed(()=>e.appendTo),enabled:r}),f=()=>{e.disabled||r.value||(r.value=!0)},m=h=>{r.value&&h&&(r.value=!1)},b=h=>{p.value=h},g={mouseenter:f,mouseleave:m,focus:f,blur:m};return Qn(d,h=>{var w;(w=p.value)!=null&&w.contains(h.target)||m()}),(h,w)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.renderSlot(h.$slots,"default",{setRef:b,show:f,hide:m,events:g}),o.createElementVNode("div",{ref_key:"floating",ref:d,"data-placement":o.unref(c),style:o.normalizeStyle({position:o.unref(u),top:o.unref(i)?`${o.unref(i)}px`:"",left:o.unref(a)?`${o.unref(a)}px`:""})},[o.createVNode(o.Transition,{name:"transition-fade",mode:"out-in"},{default:o.withCtx(()=>[r.value?(o.openBlock(),o.createElementBlock("div",{key:0,class:o.normalizeClass(["floating-content",[`is-${e.theme}`]])},[o.renderSlot(h.$slots,"content",{close:m},()=>[o.createTextVNode(o.toDisplayString(t.content),1)]),o.createElementVNode("div",{ref_key:"arrowRef",ref:n,class:"is-arrow",style:o.normalizeStyle({position:o.unref(u),top:o.unref(l)?`${o.unref(l)}px`:"",left:o.unref(s)?`${o.unref(s)}px`:""})},null,4)],2)):o.createCommentVNode("",!0)]),_:3})],12,vi)],64))}},xi=["onMouseenter","onMouseleave","onFocus","onBlur","onClick","onKeydown","tabindex"],ki={key:0},zi=["colspan"],Si={key:1},_i=["colspan"],Mr={__name:"DataTable",props:{columns:{type:Object,default:()=>({})},rows:{type:Array,default:()=>[]},sort:{type:Object,default:()=>({})},isLoading:{type:Boolean,default:!1},appendTo:{type:[Object,String],default:null}},emits:["sort"],setup(t,{emit:e}){const r=t,{isLoading:n,appendTo:a}=o.toRefs(r),i=Ke(n,{delay:Ga}),{t:s}=nt(),l=X("table"),c=o.computed(()=>r.columns),p=o.computed(()=>Object.keys(r.columns).length),d=(u,f)=>{u.sortOrders&&e("sort",{target:f,orders:u.sortOrders})};return(u,f)=>(o.openBlock(),o.createElementBlock("table",{class:o.normalizeClass(o.unref(l))},[o.createElementVNode("thead",null,[o.createElementVNode("tr",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(c.value,(m,b)=>(o.openBlock(),o.createBlock(Ir,{key:b,placement:"top",content:m.tooltip,disabled:!m.tooltip,"append-to":o.unref(a)},{default:o.withCtx(({setRef:g,show:h,hide:w})=>[o.createElementVNode("th",{ref_for:!0,ref:g,class:o.normalizeClass([[m.class],{"is-active":b===t.sort.sortTarget&&t.sort.orders[0].direction!==o.unref(it),"is-sortable":m.sortOrders,"is-desc":b===t.sort.sortTarget&&t.sort.orders[0].direction===o.unref(Ot),"is-asc":b===t.sort.sortTarget&&t.sort.orders[0].direction===o.unref(wt)}]),onMouseenter:h,onMouseleave:w,onFocus:h,onBlur:w,onClick:v=>d(m,b),onKeydown:[o.withKeys(o.withModifiers(v=>d(m,b),["prevent"]),["space"]),o.withKeys(o.withModifiers(v=>d(m,b),["prevent"]),["enter"])],tabindex:m.sortOrders?0:-1,role:"button"},[o.renderSlot(u.$slots,`header-${b}`,{column:m},()=>[o.createTextVNode(o.toDisplayString(m.label),1)]),m.sortOrders&&b!==t.sort.sortTarget?(o.openBlock(),o.createBlock(o.unref(wr),{key:0,class:"is-icon-sort"})):o.createCommentVNode("",!0),b===t.sort.sortTarget&&t.sort.orders[0].direction===o.unref(it)?(o.openBlock(),o.createBlock(o.unref(wr),{key:1,class:"is-icon-sort"})):o.createCommentVNode("",!0),b===t.sort.sortTarget&&t.sort.orders[0].direction===o.unref(Ot)?(o.openBlock(),o.createBlock(o.unref(Ja),{key:2,class:"is-icon-sort"})):o.createCommentVNode("",!0),b===t.sort.sortTarget&&t.sort.orders[0].direction===o.unref(wt)?(o.openBlock(),o.createBlock(o.unref(ei),{key:3,class:"is-icon-sort"})):o.createCommentVNode("",!0)],42,xi)]),_:2},1032,["content","disabled","append-to"]))),128))])]),o.createElementVNode("tbody",null,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(r.rows,(m,b)=>(o.openBlock(),o.createElementBlock("tr",{key:b},[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(c.value,(g,h)=>(o.openBlock(),o.createElementBlock("td",{key:h,class:o.normalizeClass([[g.class],{"is-active":h===t.sort.sortTarget&&t.sort.orders[0].direction!==o.unref(it)}])},[o.renderSlot(u.$slots,`cell-${h}`,{row:m,prop:h},()=>[o.createTextVNode(o.toDisplayString(m[h]),1)])],2))),128))]))),128))]),o.unref(i)&&t.rows.length===0?(o.openBlock(),o.createElementBlock("tfoot",ki,[o.createElementVNode("tr",null,[o.createElementVNode("td",{colspan:p.value},[o.renderSlot(u.$slots,"loading",{},()=>[o.createTextVNode(o.toDisplayString(o.unref(s)("common.loading")),1)])],8,zi)])])):o.createCommentVNode("",!0),t.rows.length===0&&!o.unref(n)&&!o.unref(i)?(o.openBlock(),o.createElementBlock("tfoot",Si,[o.createElementVNode("tr",null,[o.createElementVNode("td",{colspan:p.value},[o.renderSlot(u.$slots,"empty",{},()=>[o.createTextVNode(o.toDisplayString(o.unref(s)("common.noData")),1)])],8,_i)])])):o.createCommentVNode("",!0)],2))}},Ei={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"},Ni=o.createElementVNode("path",{d:"M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"},null,-1),Ai=o.createElementVNode("line",{x1:"12",y1:"9",x2:"12",y2:"13"},null,-1),ji=o.createElementVNode("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"},null,-1),Oi=[Ni,Ai,ji];function Pi(t,e){return o.openBlock(),o.createElementBlock("svg",Ei,Oi)}const Ti={render:Pi},Lr={__name:"ErrorNotice",props:{error:{type:Object,default:()=>({})}},setup(t){const e=t,{t:r,hasTranlation:n}=nt(),a=X("error-notice"),i=o.computed(()=>{var s;return n(`errors.${e.error.key}`)?r(`errors.${e.error.key}`,e.error.cause):`${e.error.key}: ${(s=e.error)==null?void 0:s.message}`});return(s,l)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(o.unref(a))},[o.createVNode(o.unref(Ti),{class:"icon",width:"20",height:"20"}),o.createElementVNode("span",null,o.toDisplayString(i.value),1)],2))}};function $i(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 Gr=Symbol("ErrorProviderContext"),Di=()=>{const t=o.ref(""),e=o.ref({}),r=n=>{console.log({error:n}),t.value=n.message||n.error.message,e.value={message:n.message,key:n.key||$i(n.message),cause:n.cause}};return o.provide(Gr,{onError:r,reset:()=>{t.value="",e.value={}}}),window.onerror=n=>{console.log("WINDOW_ONERROR:",n)},o.onErrorCaptured((n,a,i)=>{console.log("onErrorCaptured:",n,a,i)}),{hasError:o.computed(()=>t.value.length>0),message:t,error:e,onError:r}},Se=()=>{const t=Ci();return{onError:t.onError,reset:t.reset}},Ci=()=>{const t=o.inject(Gr,null);if(t===null)throw new Error("Privider is missing a parent component.");return t},Rr={__name:"ErrorProvider",setup(t){const{message:e,hasError:r,error:n}=Di();return(a,i)=>o.renderSlot(a.$slots,"default",{message:o.unref(e),error:o.unref(n),hasError:o.unref(r)})}},Bi={"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ő"},Vi={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ó"},Ii={blank:"#",team:{short:"Csapat",tooltip:"Csapatnév"},game:{short:"M",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:"L",tooltip:"Lövések"},sogPercent:{short:"L%",tooltip:"Lövés Hatékonyság"},gameName:{short:"#",tooltip:"Mérkőzés Sorszáma"},gameDate:{short:"Dátum",tooltip:"Mérkőzés Dátuma"},gameDateTime:{short:"*Idő ({offsetName})",tooltip:"Mérkőzés kezdési ideje (Zóna neve)"},homeTeam:{short:"Hazai",tooltip:"Hazai Csapat"},awayTeam:{short:"Vendég",tooltip:"Vendég Csapat"},location:{short:"Helyszín",tooltip:"Mérkőzés Helyszíne"},broadcast:{short:"TV",tooltip:"TV Közvetítés"},minorPenalties:{short:"MINOR",tooltip:"Kisbüntetés (2p)"},majorPenalties:{short:"MAJOR",tooltip:"Büntetés (5p)"},misconducts:{short:"MISC",tooltip:"Fegyelmi büntetés (10p)"},gameMisconducts:{short:"GA-MI",tooltip:"Fegyelmi büntetés (20p)"},matchPenalties:{short:"MATCH",tooltip:"Végleges kiállítások (25p)"},pim:{short:"BÜP",tooltip:"Büntetés Percek"},pimPerGame:{short:"BÜP/M",tooltip:"Mérkőzésenkénti Büntetés Percek"},gpgk:{short:"M",tooltip:"Mérkőzésre Nevezve"},gpi:{short:"LM",tooltip:"Mérkőzésen Játszott"},toi:{short:"TOI",tooltip:"Jégen Töltött Idő"},toiPercent:{short:"TOI%",tooltip:"Jégen Töltött Idő Százalék"},ga:{short:"GA",tooltip:"Kapott Gól"},gaa:{short:"GAA",tooltip:"Kapott Gólátlag"},sa:{short:"KL",tooltip:"Kapott Lövés"},svs:{short:"VL",tooltip:"Védett Lövés"},svsPercent:{short:"VH%",tooltip:"Védés Hatékonyság"},homeHeader:{short:"Hazai:",tooltip:""},awayHeader:{short:"Vendég:",tooltip:""},totalHeader:{short:"Összes:",tooltip:""},homeGame:{short:"M",tooltip:"Hazai Mérkőzés"},awayGame:{short:"M",tooltip:"Vendég Mérkőzés"},totalGame:{short:"M",tooltip:"Összes Mérkőzés"},homeAttendance:{short:"Nézőszám",tooltip:"Hazai Néző"},awayAttendance:{short:"Nézőszám",tooltip:"Vendég Néző"},totalAttendance:{short:"Nézőszám",tooltip:"Összes Néző"},homeAttendanceAvg:{short:"Átlag",tooltip:"Hazi Néző Átlag"},awayAttendanceAvg:{short:"Átlag",tooltip:"Vendég Néző Átlag"},totalAttendanceAvg:{short:"Átlag",tooltip:"Összes Néző Átlag"},powerplayDisadvantages:{short:"DVG",tooltip:"Emberhátrányok"},dvgTime:{short:"DVG-T",tooltip:"Emberhátrányban Töltött Idő"},dvgTimePP1:{short:"DVG-T PP1",tooltip:"Szimpla emberhátrányban töltött idő"},dvgTimePP2:{short:"DVG-T PP2",tooltip:"Kettős emberhátrányban töltött idő"},ppga:{short:"PPGA",tooltip:"Emberhátrányban kapott gólok"},shgf:{short:"SHGF",tooltip:"Emberhátrányban szerzett gól"},pkPercent:{short:"PK%",tooltip:"Emberhátrány kivédekezés"},adv:{short:"ADV",tooltip:"Emberelőnyök száma"},advTime:{short:"ADV-T",tooltip:"Emberelőnyben töltött idő"},advTimePP1:{short:"ADV-T PP1",tooltip:"Szimpla emberelőnyben töltött idő"},advTimePP2:{short:"ADV-T PP2",tooltip:"Kettős emberelőnyben töltött idő"},ppgf:{short:"PPGF",tooltip:"Emberelőnyben szerzett gólok"},shga:{short:"SHGA",tooltip:"Emberelőnyben kapott gólok"},ppPercent:{short:"PP%",tooltip:"Emberelőny kihasználás"},gfgp:{short:"GF/GP",tooltip:"Szerzett gólátlag"},gagp:{short:"GA/GP",tooltip:"Kapott gólátlag"},sogp:{short:"Shots/GP",tooltip:"Átlagos lövésszám"},sagp:{short:"SA/GP",tooltip:"Átlagos kapott lövésszám"},jerseyNumber:{short:"#",tooltip:"Mezszám"},row:{short:"Sor",tooltip:"Sor"},position:{short:"Po",tooltip:"Poszt"},teamOfficials:{short:"Hivatalos Személyek",tooltip:"Hivatalos Személyek"}},Mi={data:{localTime:"Helyszín szerinti idő"},status:{jury:"Versenybíróság",delayed:"Elhalasztva"},period:{Bemelegítés:"Bemelegítés","Bemelegítés vége":"Bemelegítés Vége","1. harmad":"I. harmad","1. harmad vége":"I. harmad Vége","2. harmad":"II. harmad","2. harmad vége":"II. harmad Vége","3. harmad":"III. harmad","3. harmad vége":"III. harmad Vége","4. harmad":"IV. harmad","4. harmad vége":"IV. harmad Vége","5. harmad":"V. harmad","5. harmad vége":"V. harmad Vége","6. harmad":"VI. harmad","6. harmad vége":"VI. harmad Vége",Hosszabbítás:"Hosszabbítás","Hosszabbítás vége":"Hosszabbítás vége",Büntetők:"Szétlövés","Büntetők vége":"Szétlövés vége",Végeredmény:"Végeredmény",Szétlövés:"Szétlövés"}},Li={errors:Bi,common:Vi,table:Ii,game:Mi},Gi={"undefined-column":"The {column} column is not exists!","invalid-season-name":"Invalid season name","api-key-not-found":"API Key not found"},Ri={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"},Fi={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:"PTS",tooltip:"Points"},name:{short:"Name",tooltip:"Player name"},goals:{short:"G",tooltip:"Goals"},assists:{short:"A",tooltip:"Assists"},plusMinus:{short:"+/-",tooltip:"Plus/Minus"},sog:{short:"SOG",tooltip:"Shots on Goal"},sogPercent:{short:"SOG%",tooltip:"Shots on Goal Percent"},gameName:{short:"#",tooltip:"Game name"},gameDate:{short:"Date",tooltip:"Scheduled Date"},gameDateTime:{short:"*Time ({offsetName})",tooltip:"Scheduled Time (Offset Name)"},homeTeam:{short:"Home",tooltip:"Home Team"},awayTeam:{short:"Away",tooltip:"Away Team"},location:{short:"Location",tooltip:"Game Location"},broadcast:{short:"Broadcast",tooltip:"Television Broadcast"},minorPenalties:{short:"MINOR",tooltip:"Penalties Minor"},majorPenalties:{short:"MAJOR",tooltip:"Penalties Major"},misconducts:{short:"MISC",tooltip:"Penalties Misconduct"},gameMisconducts:{short:"GA-MI",tooltip:"Penalties Game Misconduct"},matchPenalties:{short:"MATCH",tooltip:"Penalties Match"},pim:{short:"PIM",tooltip:"Penalty Minutes"},pimPerGame:{short:"PIM/G",tooltip:"Penalty Minutes per Game"},gpgk:{short:"GP",tooltip:"Games Played"},gpi:{short:"GPI",tooltip:"Games Played In"},toi:{short:"TOI",tooltip:"Time On Ice"},toiPercent:{short:"TOI%",tooltip:"Time On Ice as Percentage"},ga:{short:"GA",tooltip:"Goals Against"},gaa:{short:"GAA",tooltip:"Goals Against Average"},sa:{short:"SA",tooltip:"Shots Against"},svs:{short:"SVS",tooltip:"Saves"},svsPercent:{short:"SV%",tooltip:"Save Percentage"},homeHeader:{short:"Home:",tooltip:""},awayHeader:{short:"Away:",tooltip:""},totalHeader:{short:"Total:",tooltip:""},homeGame:{short:"GP",tooltip:"Home Games Played"},awayGame:{short:"GP",tooltip:"Away Games Played"},totalGame:{short:"GP",tooltip:"Total Games Played"},homeAttendance:{short:"Att",tooltip:"Home Attendance"},awayAttendance:{short:"Att",tooltip:"Away Attendance"},totalAttendance:{short:"Att",tooltip:"Total Attendance"},homeAttendanceAvg:{short:"Avg",tooltip:"Home Average Attendance"},awayAttendanceAvg:{short:"Avg",tooltip:"Away Average Attendance"},totalAttendanceAvg:{short:"Avg",tooltip:"Total Average Attendance"},powerplayDisadvantages:{short:"DVG",tooltip:"Disadvantages (Number of Times Shorthanded)"},dvgTime:{short:"DVG-T",tooltip:"Disadvantages Time"},dvgTimePP1:{short:"DVG-T PP1",tooltip:"Disadvantages Time (Period of PP1)"},dvgTimePP2:{short:"DVG-T PP2",tooltip:"Disadvantages Time (Period of PP2)"},ppga:{short:"PPGA",tooltip:"Powerplay Goals Against"},shgf:{short:"SHGF",tooltip:"Shorthanded Goals For"},pkPercent:{short:"PK%",tooltip:"Penalty Killing Percentage"},adv:{short:"ADV",tooltip:"Advantages (Times on Powerplay)"},advTime:{short:"ADV-T",tooltip:"Advantages Time (Period of Powerplay)"},advTimePP1:{short:"ADV-T PP1",tooltip:"Advantages Time (Period of PP1)"},advTimePP2:{short:"ADV-T PP2",tooltip:"Advantages Time (Period of PP2)"},ppgf:{short:"PPGF",tooltip:"Powerplay Goals For"},shga:{short:"SHGA",tooltip:"Shorthanded Goals Against"},ppPercent:{short:"PP%",tooltip:"Powerplay Percentage"},gfgp:{short:"GF/GP",tooltip:"Szerzett gólátlag"},gagp:{short:"GA/GP",tooltip:"Kapott gólátlag"},sogp:{short:"Shots/GP",tooltip:"Átlagos lövésszám"},sagp:{short:"SA/GP",tooltip:"Shots Against per Game"},jerseyNumber:{short:"#",tooltip:"Jersey Number"},row:{short:"Row",tooltip:"Row"},position:{short:"Position",tooltip:"Position"},teamOfficials:{short:"Team officials",tooltip:"Team officials"}},Hi={data:{localTime:"Game local time"},status:{jury:"Jury result",delayed:"Game delayed"},period:{Bemelegítés:"Warm-up","Bemelegítés vége":"Warm-up End","1. harmad":"First period","1. harmad vége":"First period End","2. harmad":"Second period","2. harmad vége":"Second period End","3. harmad":"Third period","3. harmad vége":"Third period End","4. harmad":"IV. period","4. harmad vége":"IV. period End","5. harmad":"V. period","5. harmad vége":"V. period End","6. harmad":"VI. period","6. harmad vége":"VI. period End",Hosszabbítás:"Overtime","Hosszabbítás vége":"Overtime End",Büntetőlövések:"Penalty Shot",Végeredmény:"Game Completed",Szétlövés:"Shoot Out"}},Yi={errors:Gi,common:Ri,table:Fi,game:Hi},Wi=(t,e)=>{const r=t.__vccOpts||t;for(const[n,a]of e)r[n]=a;return r},Ui=o.defineComponent({props:{locale:{type:String,default:"hu"},messages:{type:Object,default:()=>({})}},setup(t){const e=za({hu:Li,en:Yi},t.messages),{translate:r}=$a({locale:o.computed(()=>t.locale),messages:e});return{translate:r}}});function Ki(t,e,r,n,a,i){return o.renderSlot(t.$slots,"default",{t:t.translate})}const Fr=Wi(Ui,[["render",Ki]]),Zi=["src"],Ji=["src","title"],Hr=Object.assign({inheritAttrs:!1},{__name:"Image",props:{src:{type:String,default:""},title:{type:String,default:""},defaultSrc:{type:String,default:""}},setup(t){const e=t,{defaultSrc:r}=o.toRefs(e),n=o.ref({src:e.src}),{error:a,isReady:i}=fo(n,{resetOnExecute:!1,shallow:!1});return(s,l)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.unref(a)&&o.unref(r)?(o.openBlock(),o.createElementBlock("img",{key:0,src:o.unref(r),class:o.normalizeClass(["is-loaded",s.$attrs.class])},null,10,Zi)):o.createCommentVNode("",!0),o.unref(a)?o.createCommentVNode("",!0):(o.openBlock(),o.createElementBlock("img",{key:1,src:n.value.src,class:o.normalizeClass([s.$attrs.class,{"is-loaded":o.unref(i)}]),title:e.title},null,10,Ji))],64))}}),qi={style:{"text-align":"center"}},Yr={__name:"LoadingIndicator",setup(t){const{t:e}=nt();return(r,n)=>(o.openBlock(),o.createElementBlock("div",qi,o.toDisplayString(o.unref(e)("common.loading")),1))}},Wr={__name:"ResponsiveTable",setup(t){const e=o.ref(null),r=X("table-responsive");return(n,a)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"el",ref:e,class:o.normalizeClass(o.unref(r))},[o.renderSlot(n.$slots,"default",{el:e.value})],2))}};var ct=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ht(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Ur={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(ct,function(){var r=1e3,n=6e4,a=36e5,i="millisecond",s="second",l="minute",c="hour",p="day",d="week",u="month",f="quarter",m="year",b="date",g="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,w=/\[([^\]]+)]|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,v={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 z=["th","st","nd","rd"],k=E%100;return"["+E+(z[(k-20)%10]||z[k]||z[0])+"]"}},y=function(E,z,k){var _=String(E);return!_||_.length>=z?E:""+Array(z+1-_.length).join(k)+E},S={s:y,z:function(E){var z=-E.utcOffset(),k=Math.abs(z),_=Math.floor(k/60),x=k%60;return(z<=0?"+":"-")+y(_,2,"0")+":"+y(x,2,"0")},m:function E(z,k){if(z.date()<k.date())return-E(k,z);var _=12*(k.year()-z.year())+(k.month()-z.month()),x=z.clone().add(_,u),A=k-x<0,O=z.clone().add(_+(A?-1:1),u);return+(-(_+(k-x)/(A?x-O:O-x))||0)},a:function(E){return E<0?Math.ceil(E)||0:Math.floor(E)},p:function(E){return{M:u,y:m,w:d,d:p,D:b,h:c,m:l,s,ms:i,Q:f}[E]||String(E||"").toLowerCase().replace(/s$/,"")},u:function(E){return E===void 0}},N="en",$={};$[N]=v;var C=function(E){return E instanceof B},D=function E(z,k,_){var x;if(!z)return N;if(typeof z=="string"){var A=z.toLowerCase();$[A]&&(x=A),k&&($[A]=k,x=A);var O=z.split("-");if(!x&&O.length>1)return E(O[0])}else{var T=z.name;$[T]=z,x=T}return!_&&x&&(N=x),x||!_&&N},P=function(E,z){if(C(E))return E.clone();var k=typeof z=="object"?z:{};return k.date=E,k.args=arguments,new B(k)},j=S;j.l=D,j.i=C,j.w=function(E,z){return P(E,{locale:z.$L,utc:z.$u,x:z.$x,$offset:z.$offset})};var B=function(){function E(k){this.$L=D(k.locale,null,!0),this.parse(k)}var z=E.prototype;return z.parse=function(k){this.$d=function(_){var x=_.date,A=_.utc;if(x===null)return new Date(NaN);if(j.u(x))return new Date;if(x instanceof Date)return new Date(x);if(typeof x=="string"&&!/Z$/i.test(x)){var O=x.match(h);if(O){var T=O[2]-1||0,G=(O[7]||"0").substring(0,3);return A?new Date(Date.UTC(O[1],T,O[3]||1,O[4]||0,O[5]||0,O[6]||0,G)):new Date(O[1],T,O[3]||1,O[4]||0,O[5]||0,O[6]||0,G)}}return new Date(x)}(k),this.$x=k.x||{},this.init()},z.init=function(){var k=this.$d;this.$y=k.getFullYear(),this.$M=k.getMonth(),this.$D=k.getDate(),this.$W=k.getDay(),this.$H=k.getHours(),this.$m=k.getMinutes(),this.$s=k.getSeconds(),this.$ms=k.getMilliseconds()},z.$utils=function(){return j},z.isValid=function(){return this.$d.toString()!==g},z.isSame=function(k,_){var x=P(k);return this.startOf(_)<=x&&x<=this.endOf(_)},z.isAfter=function(k,_){return P(k)<this.startOf(_)},z.isBefore=function(k,_){return this.endOf(_)<P(k)},z.$g=function(k,_,x){return j.u(k)?this[_]:this.set(x,k)},z.unix=function(){return Math.floor(this.valueOf()/1e3)},z.valueOf=function(){return this.$d.getTime()},z.startOf=function(k,_){var x=this,A=!!j.u(_)||_,O=j.p(k),T=function(St,U){var dt=j.w(x.$u?Date.UTC(x.$y,U,St):new Date(x.$y,U,St),x);return A?dt:dt.endOf(p)},G=function(St,U){return j.w(x.toDate()[St].apply(x.toDate("s"),(A?[0,0,0,0]:[23,59,59,999]).slice(U)),x)},L=this.$W,H=this.$M,ut=this.$D,ot="set"+(this.$u?"UTC":"");switch(O){case m:return A?T(1,0):T(31,11);case u:return A?T(1,H):T(0,H+1);case d:var Bt=this.$locale().weekStart||0,Vt=(L<Bt?L+7:L)-Bt;return T(A?ut-Vt:ut+(6-Vt),H);case p:case b:return G(ot+"Hours",0);case c:return G(ot+"Minutes",1);case l:return G(ot+"Seconds",2);case s:return G(ot+"Milliseconds",3);default:return this.clone()}},z.endOf=function(k){return this.startOf(k,!1)},z.$set=function(k,_){var x,A=j.p(k),O="set"+(this.$u?"UTC":""),T=(x={},x[p]=O+"Date",x[b]=O+"Date",x[u]=O+"Month",x[m]=O+"FullYear",x[c]=O+"Hours",x[l]=O+"Minutes",x[s]=O+"Seconds",x[i]=O+"Milliseconds",x)[A],G=A===p?this.$D+(_-this.$W):_;if(A===u||A===m){var L=this.clone().set(b,1);L.$d[T](G),L.init(),this.$d=L.set(b,Math.min(this.$D,L.daysInMonth())).$d}else T&&this.$d[T](G);return this.init(),this},z.set=function(k,_){return this.clone().$set(k,_)},z.get=function(k){return this[j.p(k)]()},z.add=function(k,_){var x,A=this;k=Number(k);var O=j.p(_),T=function(H){var ut=P(A);return j.w(ut.date(ut.date()+Math.round(H*k)),A)};if(O===u)return this.set(u,this.$M+k);if(O===m)return this.set(m,this.$y+k);if(O===p)return T(1);if(O===d)return T(7);var G=(x={},x[l]=n,x[c]=a,x[s]=r,x)[O]||1,L=this.$d.getTime()+k*G;return j.w(L,this)},z.subtract=function(k,_){return this.add(-1*k,_)},z.format=function(k){var _=this,x=this.$locale();if(!this.isValid())return x.invalidDate||g;var A=k||"YYYY-MM-DDTHH:mm:ssZ",O=j.z(this),T=this.$H,G=this.$m,L=this.$M,H=x.weekdays,ut=x.months,ot=function(U,dt,Me,re){return U&&(U[dt]||U(_,A))||Me[dt].slice(0,re)},Bt=function(U){return j.s(T%12||12,U,"0")},Vt=x.meridiem||function(U,dt,Me){var re=U<12?"AM":"PM";return Me?re.toLowerCase():re},St={YY:String(this.$y).slice(-2),YYYY:this.$y,M:L+1,MM:j.s(L+1,2,"0"),MMM:ot(x.monthsShort,L,ut,3),MMMM:ot(ut,L),D:this.$D,DD:j.s(this.$D,2,"0"),d:String(this.$W),dd:ot(x.weekdaysMin,this.$W,H,2),ddd:ot(x.weekdaysShort,this.$W,H,3),dddd:H[this.$W],H:String(T),HH:j.s(T,2,"0"),h:Bt(1),hh:Bt(2),a:Vt(T,G,!0),A:Vt(T,G,!1),m:String(G),mm:j.s(G,2,"0"),s:String(this.$s),ss:j.s(this.$s,2,"0"),SSS:j.s(this.$ms,3,"0"),Z:O};return A.replace(w,function(U,dt){return dt||St[U]||O.replace(":","")})},z.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},z.diff=function(k,_,x){var A,O=j.p(_),T=P(k),G=(T.utcOffset()-this.utcOffset())*n,L=this-T,H=j.m(this,T);return H=(A={},A[m]=H/12,A[u]=H,A[f]=H/3,A[d]=(L-G)/6048e5,A[p]=(L-G)/864e5,A[c]=L/a,A[l]=L/n,A[s]=L/r,A)[O]||L,x?H:j.a(H)},z.daysInMonth=function(){return this.endOf(u).$D},z.$locale=function(){return $[this.$L]},z.locale=function(k,_){if(!k)return this.$L;var x=this.clone(),A=D(k,_,!0);return A&&(x.$L=A),x},z.clone=function(){return j.w(this.$d,this)},z.toDate=function(){return new Date(this.valueOf())},z.toJSON=function(){return this.isValid()?this.toISOString():null},z.toISOString=function(){return this.$d.toISOString()},z.toString=function(){return this.$d.toUTCString()},E}(),F=B.prototype;return P.prototype=F,[["$ms",i],["$s",s],["$m",l],["$H",c],["$W",p],["$M",u],["$y",m],["$D",b]].forEach(function(E){F[E[1]]=function(z){return this.$g(z,E[0],E[1])}}),P.extend=function(E,z){return E.$i||(E(z,B,P),E.$i=!0),P},P.locale=D,P.isDayjs=C,P.unix=function(E){return P(1e3*E)},P.en=$[N],P.Ls=$,P.p={},P})})(Ur);var Kr=Ur.exports;const q=ht(Kr);var Zr={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(ct,function(){var r="minute",n=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(i,s,l){var c=s.prototype;l.utc=function(g){var h={date:g,utc:!0,args:arguments};return new s(h)},c.utc=function(g){var h=l(this.toDate(),{locale:this.$L,utc:!0});return g?h.add(this.utcOffset(),r):h},c.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var p=c.parse;c.parse=function(g){g.utc&&(this.$u=!0),this.$utils().u(g.$offset)||(this.$offset=g.$offset),p.call(this,g)};var d=c.init;c.init=function(){if(this.$u){var g=this.$d;this.$y=g.getUTCFullYear(),this.$M=g.getUTCMonth(),this.$D=g.getUTCDate(),this.$W=g.getUTCDay(),this.$H=g.getUTCHours(),this.$m=g.getUTCMinutes(),this.$s=g.getUTCSeconds(),this.$ms=g.getUTCMilliseconds()}else d.call(this)};var u=c.utcOffset;c.utcOffset=function(g,h){var w=this.$utils().u;if(w(g))return this.$u?0:w(this.$offset)?u.call(this):this.$offset;if(typeof g=="string"&&(g=function(N){N===void 0&&(N="");var $=N.match(n);if(!$)return null;var C=(""+$[0]).match(a)||["-",0,0],D=C[0],P=60*+C[1]+ +C[2];return P===0?0:D==="+"?P:-P}(g),g===null))return this;var v=Math.abs(g)<=16?60*g:g,y=this;if(h)return y.$offset=v,y.$u=g===0,y;if(g!==0){var S=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(y=this.local().add(v+S,r)).$offset=v,y.$x.$localOffset=S}else y=this.utc();return y};var f=c.format;c.format=function(g){var h=g||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return f.call(this,h)},c.valueOf=function(){var g=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*g},c.isUTC=function(){return!!this.$u},c.toISOString=function(){return this.toDate().toISOString()},c.toString=function(){return this.toDate().toUTCString()};var m=c.toDate;c.toDate=function(g){return g==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():m.call(this)};var b=c.diff;c.diff=function(g,h,w){if(g&&this.$u===g.$u)return b.call(this,g,h,w);var v=this.local(),y=l(g).local();return b.call(v,y,h,w)}}})})(Zr);var Xi=Zr.exports;const Qi=ht(Xi);var Jr={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(ct,function(){var r={year:0,month:1,day:2,hour:3,minute:4,second:5},n={};return function(a,i,s){var l,c=function(f,m,b){b===void 0&&(b={});var g=new Date(f),h=function(w,v){v===void 0&&(v={});var y=v.timeZoneName||"short",S=w+"|"+y,N=n[S];return N||(N=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:w,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:y}),n[S]=N),N}(m,b);return h.formatToParts(g)},p=function(f,m){for(var b=c(f,m),g=[],h=0;h<b.length;h+=1){var w=b[h],v=w.type,y=w.value,S=r[v];S>=0&&(g[S]=parseInt(y,10))}var N=g[3],$=N===24?0:N,C=g[0]+"-"+g[1]+"-"+g[2]+" "+$+":"+g[4]+":"+g[5]+":000",D=+f;return(s.utc(C).valueOf()-(D-=D%1e3))/6e4},d=i.prototype;d.tz=function(f,m){f===void 0&&(f=l);var b=this.utcOffset(),g=this.toDate(),h=g.toLocaleString("en-US",{timeZone:f}),w=Math.round((g-new Date(h))/1e3/60),v=s(h).$set("millisecond",this.$ms).utcOffset(15*-Math.round(g.getTimezoneOffset()/15)-w,!0);if(m){var y=v.utcOffset();v=v.add(b-y,"minute")}return v.$x.$timezone=f,v},d.offsetName=function(f){var m=this.$x.$timezone||s.tz.guess(),b=c(this.valueOf(),m,{timeZoneName:f}).find(function(g){return g.type.toLowerCase()==="timezonename"});return b&&b.value};var u=d.startOf;d.startOf=function(f,m){if(!this.$x||!this.$x.$timezone)return u.call(this,f,m);var b=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return u.call(b,f,m).tz(this.$x.$timezone,!0)},s.tz=function(f,m,b){var g=b&&m,h=b||m||l,w=p(+s(),h);if(typeof f!="string")return s(f).tz(h);var v=function($,C,D){var P=$-60*C*1e3,j=p(P,D);if(C===j)return[P,C];var B=p(P-=60*(j-C)*1e3,D);return j===B?[P,j]:[$-60*Math.min(j,B)*1e3,Math.max(j,B)]}(s.utc(f,g).valueOf(),w,h),y=v[0],S=v[1],N=s(y).utcOffset(S);return N.$x.$timezone=h,N},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(f){l=f}}})})(Jr);var ts=Jr.exports;const es=ht(ts);var qr={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(ct,function(){return function(r,n){var a=n.prototype,i=a.format;a.format=function(s){var l=this,c=this.$locale();if(!this.isValid())return i.bind(this)(s);var p=this.$utils(),d=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(u){switch(u){case"Q":return Math.ceil((l.$M+1)/3);case"Do":return c.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return c.ordinal(l.week(),"W");case"w":case"ww":return p.s(l.week(),u==="w"?1:2,"0");case"W":case"WW":return p.s(l.isoWeek(),u==="W"?1:2,"0");case"k":case"kk":return p.s(String(l.$H===0?24:l.$H),u==="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 u}});return i.bind(this)(d)}}})})(qr);var rs=qr.exports;const ns=ht(rs);var Xr={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(ct,function(){return function(r,n){n.prototype.isSameOrBefore=function(a,i){return this.isSame(a,i)||this.isBefore(a,i)}}})})(Xr);var os=Xr.exports;const as=ht(os);var Qr={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(ct,function(){return function(r,n,a){n.prototype.isBetween=function(i,s,l,c){var p=a(i),d=a(s),u=(c=c||"()")[0]==="(",f=c[1]===")";return(u?this.isAfter(p,l):!this.isBefore(p,l))&&(f?this.isBefore(d,l):!this.isAfter(d,l))||(u?this.isBefore(p,l):!this.isAfter(p,l))&&(f?this.isAfter(d,l):!this.isBefore(d,l))}}})})(Qr);var is=Qr.exports;const ss=ht(is);var tn={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(ct,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(n,a,i){var s=a.prototype,l=s.format;i.en.formats=r,s.format=function(c){c===void 0&&(c="YYYY-MM-DDTHH:mm:ssZ");var p=this.$locale().formats,d=function(u,f){return u.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(m,b,g){var h=g&&g.toUpperCase();return b||f[g]||r[g]||f[h].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(w,v,y){return v||y.slice(1)})})}(c,p===void 0?{}:p);return l.call(this,d)}}})})(tn);var ls=tn.exports;const cs=ht(ls);var us={exports:{}};(function(t,e){(function(r,n){t.exports=n(Kr)})(ct,function(r){function n(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var a=n(r),i={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(s){return s+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(s,l,c,p){return"néhány másodperc"+(p||l?"":"e")},m:function(s,l,c,p){return"egy perc"+(p||l?"":"e")},mm:function(s,l,c,p){return s+" perc"+(p||l?"":"e")},h:function(s,l,c,p){return"egy "+(p||l?"óra":"órája")},hh:function(s,l,c,p){return s+" "+(p||l?"óra":"órája")},d:function(s,l,c,p){return"egy "+(p||l?"nap":"napja")},dd:function(s,l,c,p){return s+" "+(p||l?"nap":"napja")},M:function(s,l,c,p){return"egy "+(p||l?"hónap":"hónapja")},MM:function(s,l,c,p){return s+" "+(p||l?"hónap":"hónapja")},y:function(s,l,c,p){return"egy "+(p||l?"év":"éve")},yy:function(s,l,c,p){return s+" "+(p||l?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};return a.default.locale(i,null,!0),i})})(us),q.extend(Qi),q.extend(es),q.extend(ns),q.extend(cs),q.extend(as),q.extend(ss);const _e=()=>q.tz.guess(),Ee=(t="",e="",r="",n="hu")=>(r=r||q.tz.guess(),q(t).isValid()?q(t).tz(r).locale(n).format(e):""),kt=(t="",e="",r="hu")=>{if(!q(t).isValid())return"";e=e||q.tz.guess();const n=new Intl.DateTimeFormat(ds(r),{timeZone:e,timeZoneName:"short"}).formatToParts(new Date(t)).find(a=>a.type==="timeZoneName");return n&&n.value},ds=t=>Ma.get(t),ps=t=>{const e=t.split(":");return parseInt(e[0],10)*60+parseInt(e[1],10)},fs=["onClick"],ms={__name:"TimezoneSelector",props:{locale:{type:String,default:"hu"},currentZone:{type:String,required:!0}},emits:["change"],setup(t,{emit:e}){const r=t,{t:n}=nt(),a=X("timezone-selector"),i=o.computed(()=>kt(new Date,null,r.locale)),s=_e(),l=o.computed(()=>Array.from(La.values()).map(p=>({...p,isActive:kt(new Date,r.currentZone,r.locale)===kt(new Date,p.timezone,r.locale),zoneOffsetName:kt(new Date,p.timezone,r.locale)}))),c=p=>e("change",p);return(p,d)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(o.unref(a))},[o.createVNode(o.unref(Ba),{path:"common.selectTimezone",tag:"span"},{timezone:o.withCtx(()=>[o.createElementVNode("a",{href:"#",onClick:d[0]||(d[0]=o.withModifiers(u=>c(o.unref(s)),["prevent"]))},o.toDisplayString(i.value),1)]),_:1}),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.value,u=>(o.openBlock(),o.createElementBlock("a",{key:u.countryLabelKey,href:"#",class:o.normalizeClass({"is-active":u.isActive}),onClick:o.withModifiers(f=>c(u.timezone),["prevent"])},o.toDisplayString(o.unref(n)(`common.${u.countryLabelKey}`))+" ("+o.toDisplayString(u.zoneOffsetName)+") ",11,fs))),128))],2))}},en=(t,e="",r={})=>{const n=o.ref(""),{t:a}=nt();if(e)try{const s=gs(o.unref(t),e);t=_a(s,o.unref(t))}catch(s){n.value=s}const i=s=>({...s,...s.label&&{label:a(s.label??"",o.unref(r))},...s.tooltip&&{tooltip:a(s.tooltip??"")}});return{columns:o.computed(()=>yt(i,o.unref(t))),error:n}},gs=(t,e="")=>{const r=yt(Wt,At(",",e)),n=ft(t);if(r[0]==="")return resolve([]);const a=r.findIndex(i=>!n.includes(i));if(a>-1)throw r[a];return r};class Ne extends Error{constructor(e,r={}){const{key:n,cause:a}=r;super(e),this.name="WidgetError",this.key=n,this.cause=a}}const rn={message:"Undefined Column name Message",options:{key:"undefined-column",cause:{}}},Xt={message:"Invalid season name",options:{key:"invalid-season-name",cause:{}}},hs={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:""}},bs=async(t,e,r)=>{const n=`${Va}${o.unref(t)}?${ys(r)}`;return new Promise((a,i)=>{fetch(n,{method:"GET",cache:"no-cache",headers:{"Content-Type":"application/json","X-API-KEY":ws(e)}}).then(s=>s.json()).then(s=>{if(s.error)return i(s);a(s.data)}).catch(s=>{i(s)})})},ys=t=>Object.keys(t).map(e=>e+"="+t[e]).join("&"),ws=t=>{var e;return t||((e=window.__MJSZ_VBR_WIDGET__)!=null&&e.apiKey?window.__MJSZ_VBR_WIDGET__.apiKey:{}.NODE_ENV!=="production"?"dd8adf5fdb738b3741fa579b5ede5ce69b681f62":"")},zt=({options:t={},transform:e=a=>a,onError:r=bt,onSuccess:n=bt})=>{const{path:a,apiKey:i,params:s,resetOnExecute:l=!1}=t,{state:c,error:p,isLoading:d,execute:u}=Ye(()=>bs(a,i,o.unref(s)).then(f=>e(f)),[],{immediate:!1,resetOnExecute:l,onError:r,onSuccess:n});return{state:c,error:p,isLoading:d,execute:u}};/*! *****************************************************************************
|
|
8
|
+
var MjszVbrElementsExtended=function(it,n){"use strict";const rt=t=>({}.VITE_CSS_CLASS_PREFIX||"mjsz-vbr-")+t,ae={__name:"BaseSelect",props:{modelValue:{type:[String,Number],default:null}},emits:["update:modelValue"],setup(t,{emit:e}){const r=t,o=rt("base-input"),a=n.computed({get:()=>r.modelValue,set:i=>e("update:modelValue",i)});return(i,s)=>n.withDirectives((n.openBlock(),n.createElementBlock("select",{"onUpdate:modelValue":s[0]||(s[0]=l=>a.value=l),class:n.normalizeClass([n.unref(o),"is-select"])},[n.renderSlot(i.$slots,"default")],2)),[[n.vModelSelect,a.value]])}};function Le(t){return n.getCurrentScope()?(n.onScopeDispose(t),!0):!1}function ot(t){return typeof t=="function"?t():n.unref(t)}const ie=typeof window<"u",vt=()=>{},Zo=qo();function qo(){var t;return ie&&((t=window==null?void 0:window.navigator)==null?void 0:t.userAgent)&&/iP(ad|hone|od)/.test(window.navigator.userAgent)}function se(t,e=!1,r="Timeout"){return new Promise((o,a)=>{setTimeout(e?()=>a(r):o,t)})}function le(t,e=!1){function r(d,{flush:u="sync",deep:f=!1,timeout:h,throwOnTimeout:g}={}){let b=null;const y=[new Promise(v=>{b=n.watch(t,x=>{d(x)!==e&&(b==null||b(),v(x))},{flush:u,deep:f,immediate:!0})})];return h!=null&&y.push(se(h,g).then(()=>ot(t)).finally(()=>b==null?void 0:b())),Promise.race(y)}function o(d,u){if(!n.isRef(d))return r(x=>x===d,u);const{flush:f="sync",deep:h=!1,timeout:g,throwOnTimeout:b}=u??{};let y=null;const v=[new Promise(x=>{y=n.watch([t,d],([A,O])=>{e!==(A===O)&&(y==null||y(),x(A))},{flush:f,deep:h,immediate:!0})})];return g!=null&&v.push(se(g,b).then(()=>ot(t)).finally(()=>(y==null||y(),ot(t)))),Promise.race(v)}function a(d){return r(u=>!!u,d)}function i(d){return o(null,d)}function s(d){return o(void 0,d)}function l(d){return r(Number.isNaN,d)}function c(d,u){return r(f=>{const h=Array.from(f);return h.includes(d)||h.includes(ot(d))},u)}function p(d){return m(1,d)}function m(d=1,u){let f=-1;return r(()=>(f+=1,f>=d),u)}return Array.isArray(ot(t))?{toMatch:r,toContains:c,changed:p,changedTimes:m,get not(){return le(t,!e)}}:{toMatch:r,toBe:o,toBeTruthy:a,toBeNull:i,toBeNaN:l,toBeUndefined:s,changed:p,changedTimes:m,get not(){return le(t,!e)}}}function Xo(t){return le(t)}function Qo(t,e,r={}){const{immediate:o=!0}=r,a=n.ref(!1);let i=null;function s(){i&&(clearTimeout(i),i=null)}function l(){a.value=!1,s()}function c(...p){s(),a.value=!0,i=setTimeout(()=>{a.value=!1,i=null,t(...p)},ot(e))}return o&&(a.value=!0,ie&&c()),Le(l),{isPending:n.readonly(a),start:c,stop:l}}function _t(t){var e;const r=ot(t);return(e=r==null?void 0:r.$el)!=null?e:r}const Ge=ie?window:void 0;function ce(...t){let e,r,o,a;if(typeof t[0]=="string"||Array.isArray(t[0])?([r,o,a]=t,e=Ge):[e,r,o,a]=t,!e)return vt;Array.isArray(r)||(r=[r]),Array.isArray(o)||(o=[o]);const i=[],s=()=>{i.forEach(m=>m()),i.length=0},l=(m,d,u,f)=>(m.addEventListener(d,u,f),()=>m.removeEventListener(d,u,f)),c=n.watch(()=>[_t(e),ot(a)],([m,d])=>{s(),m&&i.push(...r.flatMap(u=>o.map(f=>l(m,u,f,d))))},{immediate:!0,flush:"post"}),p=()=>{c(),s()};return Le(p),p}let Re=!1;function tn(t,e,r={}){const{window:o=Ge,ignore:a=[],capture:i=!0,detectIframe:s=!1}=r;if(!o)return;Zo&&!Re&&(Re=!0,Array.from(o.document.body.children).forEach(m=>m.addEventListener("click",vt)));let l=!0;const c=m=>a.some(d=>{if(typeof d=="string")return Array.from(o.document.querySelectorAll(d)).some(u=>u===m.target||m.composedPath().includes(u));{const u=_t(d);return u&&(m.target===u||m.composedPath().includes(u))}}),p=[ce(o,"click",m=>{const d=_t(t);if(!(!d||d===m.target||m.composedPath().includes(d))){if(m.detail===0&&(l=!c(m)),!l){l=!0;return}e(m)}},{passive:!0,capture:i}),ce(o,"pointerdown",m=>{const d=_t(t);d&&(l=!m.composedPath().includes(d)&&!c(m))},{passive:!0}),s&&ce(o,"blur",m=>{var d;const u=_t(t);((d=o.document.activeElement)==null?void 0:d.tagName)==="IFRAME"&&!(u!=null&&u.contains(o.document.activeElement))&&e(m)})].filter(Boolean);return()=>p.forEach(m=>m())}var en=Object.defineProperty,rn=Object.defineProperties,on=Object.getOwnPropertyDescriptors,Fe=Object.getOwnPropertySymbols,nn=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable,He=(t,e,r)=>e in t?en(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,sn=(t,e)=>{for(var r in e||(e={}))nn.call(e,r)&&He(t,r,e[r]);if(Fe)for(var r of Fe(e))an.call(e,r)&&He(t,r,e[r]);return t},ln=(t,e)=>rn(t,on(e));function Ye(t,e,r){const{immediate:o=!0,delay:a=0,onError:i=vt,onSuccess:s=vt,resetOnExecute:l=!0,shallow:c=!0,throwError:p}=r??{},m=c?n.shallowRef(e):n.ref(e),d=n.ref(!1),u=n.ref(!1),f=n.shallowRef(void 0);async function h(y=0,...v){l&&(m.value=e),f.value=void 0,d.value=!1,u.value=!0,y>0&&await se(y);const x=typeof t=="function"?t(...v):t;try{const A=await x;m.value=A,d.value=!0,s(A)}catch(A){if(f.value=A,i(A),p)throw A}finally{u.value=!1}return m.value}o&&h(a);const g={state:m,isReady:d,isLoading:u,error:f,execute:h};function b(){return new Promise((y,v)=>{Xo(u).toBe(!1).then(()=>y(g)).catch(v)})}return ln(sn({},g),{then(y,v){return b().then(y,v)}})}var cn=Object.defineProperty,Ue=Object.getOwnPropertySymbols,un=Object.prototype.hasOwnProperty,dn=Object.prototype.propertyIsEnumerable,We=(t,e,r)=>e in t?cn(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,pn=(t,e)=>{for(var r in e||(e={}))un.call(e,r)&&We(t,r,e[r]);if(Ue)for(var r of Ue(e))dn.call(e,r)&&We(t,r,e[r]);return t};async function fn(t){return new Promise((e,r)=>{const o=new Image,{src:a,srcset:i,sizes:s,class:l,loading:c,crossorigin:p}=t;o.src=a,i&&(o.srcset=i),s&&(o.sizes=s),l&&(o.className=l),c&&(o.loading=c),p&&(o.crossOrigin=p),o.onload=()=>e(o),o.onerror=r})}function mn(t,e={}){const r=Ye(()=>fn(ot(t)),void 0,pn({resetOnExecute:!0},e));return n.watch(()=>ot(t),()=>r.execute(e.delay),{deep:!0}),r}function Ke(t=[],e={}){const{delay:r=0}=e,o=n.ref(!1),a=n.computed(()=>{const l=n.unref(t);return Array.isArray(l)?l.map(c=>n.unref(c)).some(Boolean):l}),{start:i,stop:s}=Qo(()=>{o.value=!0},r);return n.watch(a,l=>{if(l)return i();s(),o.value=!1},{immediate:!0,deep:!0}),o}function C(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function F(t){return function e(r){return arguments.length===0||C(r)?e:t.apply(this,arguments)}}function B(t){return function e(r,o){switch(arguments.length){case 0:return e;case 1:return C(r)?e:F(function(a){return t(r,a)});default:return C(r)&&C(o)?e:C(r)?F(function(a){return t(a,o)}):C(o)?F(function(a){return t(r,a)}):t(r,o)}}}function Mt(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(r){return e.apply(this,arguments)};case 2:return function(r,o){return e.apply(this,arguments)};case 3:return function(r,o,a){return e.apply(this,arguments)};case 4:return function(r,o,a,i){return e.apply(this,arguments)};case 5:return function(r,o,a,i,s){return e.apply(this,arguments)};case 6:return function(r,o,a,i,s,l){return e.apply(this,arguments)};case 7:return function(r,o,a,i,s,l,c){return e.apply(this,arguments)};case 8:return function(r,o,a,i,s,l,c,p){return e.apply(this,arguments)};case 9:return function(r,o,a,i,s,l,c,p,m){return e.apply(this,arguments)};case 10:return function(r,o,a,i,s,l,c,p,m,d){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function ue(t,e,r){return function(){for(var o=[],a=0,i=t,s=0;s<e.length||a<arguments.length;){var l;s<e.length&&(!C(e[s])||a>=arguments.length)?l=e[s]:(l=arguments[a],a+=1),o[s]=l,C(l)||(i-=1),s+=1}return i<=0?r.apply(this,o):Mt(i,ue(t,o,r))}}var Bt=B(function(t,e){return t===1?F(e):Mt(t,ue(t,[],e))});function mt(t){return function e(r,o,a){switch(arguments.length){case 0:return e;case 1:return C(r)?e:B(function(i,s){return t(r,i,s)});case 2:return C(r)&&C(o)?e:C(r)?B(function(i,s){return t(i,o,s)}):C(o)?B(function(i,s){return t(r,i,s)}):F(function(i){return t(r,o,i)});default:return C(r)&&C(o)&&C(a)?e:C(r)&&C(o)?B(function(i,s){return t(i,s,a)}):C(r)&&C(a)?B(function(i,s){return t(i,o,s)}):C(o)&&C(a)?B(function(i,s){return t(r,i,s)}):C(r)?F(function(i){return t(i,o,a)}):C(o)?F(function(i){return t(r,i,a)}):C(a)?F(function(i){return t(r,o,i)}):t(r,o,a)}}}const Vt=Array.isArray||function(t){return t!=null&&t.length>=0&&Object.prototype.toString.call(t)==="[object Array]"};function gn(t){return t!=null&&typeof t["@@transducer/step"]=="function"}function de(t,e,r){return function(){if(arguments.length===0)return r();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(gn(o)){var i=e.apply(null,Array.prototype.slice.call(arguments,0,-1));return i(o)}}return r.apply(this,arguments)}}function hn(t){return t&&t["@@transducer/reduced"]?t:{"@@transducer/value":t,"@@transducer/reduced":!0}}const At={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};function Je(t){for(var e=[],r;!(r=t.next()).done;)e.push(r.value);return e}function Ze(t,e,r){for(var o=0,a=r.length;o<a;){if(t(e,r[o]))return!0;o+=1}return!1}function bn(t){var e=String(t).match(/^function (\w*)/);return e==null?"":e[1]}function nt(t,e){return Object.prototype.hasOwnProperty.call(e,t)}function yn(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e}const pe=typeof Object.is=="function"?Object.is:yn;var qe=Object.prototype.toString,Xe=function(){return qe.call(arguments)==="[object Arguments]"?function(t){return qe.call(t)==="[object Arguments]"}:function(t){return nt("callee",t)}}(),vn=!{toString:null}.propertyIsEnumerable("toString"),Qe=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],tr=function(){return arguments.propertyIsEnumerable("length")}(),wn=function(t,e){for(var r=0;r<t.length;){if(t[r]===e)return!0;r+=1}return!1},gt=F(typeof Object.keys=="function"&&!tr?function(t){return Object(t)!==t?[]:Object.keys(t)}:function(t){if(Object(t)!==t)return[];var e,r,o=[],a=tr&&Xe(t);for(e in t)nt(e,t)&&(!a||e!=="length")&&(o[o.length]=e);if(vn)for(r=Qe.length-1;r>=0;)e=Qe[r],nt(e,t)&&!wn(o,e)&&(o[o.length]=e),r-=1;return o}),fe=F(function(t){return t===null?"Null":t===void 0?"Undefined":Object.prototype.toString.call(t).slice(8,-1)});function er(t,e,r,o){var a=Je(t),i=Je(e);function s(l,c){return me(l,c,r.slice(),o.slice())}return!Ze(function(l,c){return!Ze(s,c,l)},i,a)}function me(t,e,r,o){if(pe(t,e))return!0;var a=fe(t);if(a!==fe(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"&&bn(t.constructor)==="Promise")return t===e;break;case"Boolean":case"Number":case"String":if(!(typeof t==typeof e&&pe(t.valueOf(),e.valueOf())))return!1;break;case"Date":if(!pe(t.valueOf(),e.valueOf()))return!1;break;case"Error":return t.name===e.name&&t.message===e.message;case"RegExp":if(!(t.source===e.source&&t.global===e.global&&t.ignoreCase===e.ignoreCase&&t.multiline===e.multiline&&t.sticky===e.sticky&&t.unicode===e.unicode))return!1;break}for(var i=r.length-1;i>=0;){if(r[i]===t)return o[i]===e;i-=1}switch(a){case"Map":return t.size!==e.size?!1:er(t.entries(),e.entries(),r.concat([t]),o.concat([e]));case"Set":return t.size!==e.size?!1:er(t.values(),e.values(),r.concat([t]),o.concat([e]));case"Arguments":case"Array":case"Object":case"Boolean":case"Number":case"String":case"Date":case"Error":case"RegExp":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"ArrayBuffer":break;default:return!1}var s=gt(t);if(s.length!==gt(e).length)return!1;var l=r.concat([t]),c=o.concat([e]);for(i=s.length-1;i>=0;){var p=s[i];if(!(nt(p,e)&&me(e[p],t[p],l,c)))return!1;i-=1}return!0}var Lt=B(function(t,e){return me(t,e,[],[])});function xn(t,e,r){var o,a;if(typeof t.indexOf=="function")switch(typeof e){case"number":if(e===0){for(o=1/e;r<t.length;){if(a=t[r],a===0&&1/a===o)return r;r+=1}return-1}else if(e!==e){for(;r<t.length;){if(a=t[r],typeof a=="number"&&a!==a)return r;r+=1}return-1}return t.indexOf(e,r);case"string":case"boolean":case"function":case"undefined":return t.indexOf(e,r);case"object":if(e===null)return t.indexOf(e,r)}for(;r<t.length;){if(Lt(t[r],e))return r;r+=1}return-1}function rr(t,e){return xn(e,t,0)>=0}function Gt(t,e){for(var r=0,o=e.length,a=Array(o);r<o;)a[r]=t(e[r]),r+=1;return a}function ge(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 Ot=function(t){return(t<10?"0":"")+t},kn=typeof Date.prototype.toISOString=="function"?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+"-"+Ot(t.getUTCMonth()+1)+"-"+Ot(t.getUTCDate())+"T"+Ot(t.getUTCHours())+":"+Ot(t.getUTCMinutes())+":"+Ot(t.getUTCSeconds())+"."+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+"Z"};function Sn(t){return function(){return!t.apply(this,arguments)}}function or(t,e,r){for(var o=0,a=r.length;o<a;)e=t(e,r[o]),o+=1;return e}function zn(t,e){for(var r=0,o=e.length,a=[];r<o;)t(e[r])&&(a[a.length]=e[r]),r+=1;return a}function Rt(t){return Object.prototype.toString.call(t)==="[object Object]"}var _n=function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=At.init,t.prototype["@@transducer/result"]=At.result,t.prototype["@@transducer/step"]=function(e,r){return this.f(r)?this.xf["@@transducer/step"](e,r):e},t}();function An(t){return function(e){return new _n(t,e)}}var nr=B(de(["fantasy-land/filter","filter"],An,function(t,e){return Rt(e)?or(function(r,o){return t(e[o])&&(r[o]=e[o]),r},{},gt(e)):zn(t,e)})),On=B(function(t,e){return nr(Sn(t),e)});function ar(t,e){var r=function(i){var s=e.concat([t]);return rr(i,s)?"<Circular>":ar(i,s)},o=function(i,s){return Gt(function(l){return ge(l)+": "+r(i[l])},s.slice().sort())};switch(Object.prototype.toString.call(t)){case"[object Arguments]":return"(function() { return arguments; }("+Gt(r,t).join(", ")+"))";case"[object Array]":return"["+Gt(r,t).concat(o(t,On(function(i){return/^\d+$/.test(i)},gt(t)))).join(", ")+"]";case"[object Boolean]":return typeof t=="object"?"new Boolean("+r(t.valueOf())+")":t.toString();case"[object Date]":return"new Date("+(isNaN(t.valueOf())?r(NaN):ge(kn(t)))+")";case"[object Map]":return"new Map("+r(Array.from(t))+")";case"[object Null]":return"null";case"[object Number]":return typeof t=="object"?"new Number("+r(t.valueOf())+")":1/t===-1/0?"-0":t.toString(10);case"[object Set]":return"new Set("+r(Array.from(t).sort())+")";case"[object String]":return typeof t=="object"?"new String("+r(t.valueOf())+")":ge(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,gt(t)).join(", ")+"}"}}var he=F(function(t){return ar(t,[])}),Tn=B(function(t,e){if(t===e)return e;function r(l,c){if(l>c!=c>l)return c>l?c:l}var o=r(t,e);if(o!==void 0)return o;var a=r(typeof t,typeof e);if(a!==void 0)return a===typeof t?t:e;var i=he(t),s=r(i,he(e));return s!==void 0&&s===i?t:e}),En=function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=At.init,t.prototype["@@transducer/result"]=At.result,t.prototype["@@transducer/step"]=function(e,r){return this.xf["@@transducer/step"](e,this.f(r))},t}(),jn=function(t){return function(e){return new En(t,e)}},Nn=B(de(["fantasy-land/map","map"],jn,function(t,e){switch(Object.prototype.toString.call(e)){case"[object Function]":return Bt(e.length,function(){return t.call(this,e.apply(this,arguments))});case"[object Object]":return or(function(r,o){return r[o]=t(e[o]),r},{},gt(e));default:return Gt(t,e)}}));const wt=Nn,ir=Number.isInteger||function(t){return t<<0===t};function Ft(t){return Object.prototype.toString.call(t)==="[object String]"}var sr=B(function(t,e){var r=t<0?e.length+t:t;return Ft(e)?e.charAt(r):e[r]}),Pn=B(function(t,e){if(e!=null)return ir(t)?sr(t,e):e[t]});const Ht=Pn;var Dn=B(function(t,e){return wt(Ht(t),e)}),$n=F(function(t){return Vt(t)?!0:!t||typeof t!="object"||Ft(t)?!1:t.length===0?!0:t.length>0?t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1):!1}),lr=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function In(t,e,r){return function(o,a,i){if($n(i))return t(o,a,i);if(i==null)return a;if(typeof i["fantasy-land/reduce"]=="function")return e(o,a,i,"fantasy-land/reduce");if(i[lr]!=null)return r(o,a,i[lr]());if(typeof i.next=="function")return r(o,a,i);if(typeof i.reduce=="function")return e(o,a,i,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Cn(t,e,r){for(var o=0,a=r.length;o<a;){if(e=t["@@transducer/step"](e,r[o]),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}o+=1}return t["@@transducer/result"](e)}var Mn=B(function(t,e){return Mt(t.length,function(){return t.apply(e,arguments)})});function Bn(t,e,r){for(var o=r.next();!o.done;){if(e=t["@@transducer/step"](e,o.value),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}o=r.next()}return t["@@transducer/result"](e)}function Vn(t,e,r,o){return t["@@transducer/result"](r[o](Mn(t["@@transducer/step"],t),e))}var cr=In(Cn,Vn,Bn),Ln=function(){function t(e){this.f=e}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(e){return e},t.prototype["@@transducer/step"]=function(e,r){return this.f(e,r)},t}();function ur(t){return new Ln(t)}var Gn=mt(function(t,e,r){return cr(typeof t=="function"?ur(t):t,e,r)});const dr=Gn;var Rn=F(function(t){return function(){return t}});const pr=Rn;var Fn=F(function(t){return Bt(dr(Tn,0,Dn("length",t)),function(){for(var e=0,r=t.length;e<r;){if(t[e].apply(this,arguments))return!0;e+=1}return!1})});const Hn=Fn;var Yn=mt(function(t,e,r){var o=t(e),a=t(r);return o<a?-1:o>a?1:0});const fr=Yn;function Un(t){var e=Object.prototype.toString.call(t);return e==="[object Function]"||e==="[object AsyncFunction]"||e==="[object GeneratorFunction]"||e==="[object AsyncGeneratorFunction]"}function Wn(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 be(t,e,r){if(r||(r=new Jn),Kn(t))return t;var o=function(a){var i=r.get(t);if(i)return i;r.set(t,a);for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(a[s]=e?be(t[s],!0,r):t[s]);return a};switch(fe(t)){case"Object":return o(Object.create(Object.getPrototypeOf(t)));case"Array":return o([]);case"Date":return new Date(t.valueOf());case"RegExp":return Wn(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 Kn(t){var e=typeof t;return t==null||e!="object"&&e!="function"}var Jn=function(){function t(){this.map={},this.length=0}return t.prototype.set=function(e,r){const o=this.hash(e);let a=this.map[o];a||(this.map[o]=a=[]),a.push([e,r]),this.length+=1},t.prototype.hash=function(e){let r=[];for(var o in e)r.push(Object.prototype.toString.call(e[o]));return r.join()},t.prototype.get=function(e){if(this.length<=180){for(const a in this.map){const i=this.map[a];for(let s=0;s<i.length;s+=1){const l=i[s];if(l[0]===e)return l[1]}}return}const r=this.hash(e),o=this.map[r];if(o)for(let a=0;a<o.length;a+=1){const i=o[a];if(i[0]===e)return i[1]}},t}();function Zn(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function ye(t,e){return function(){var r=arguments.length;if(r===0)return e();var o=arguments[r-1];return Vt(o)||typeof o[t]!="function"?e.apply(this,arguments):o[t].apply(o,Array.prototype.slice.call(arguments,0,r-1))}}var qn=mt(ye("slice",function(t,e,r){return Array.prototype.slice.call(r,t,e)})),Xn=F(ye("tail",qn(1,1/0)));const Qn=Xn;function ve(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return Mt(arguments[0].length,dr(Zn,arguments[0],Qn(arguments)))}var ta=F(function(t){return Ft(t)?t.split("").reverse().join(""):Array.prototype.slice.call(t,0).reverse()});const ea=ta;function ra(){if(arguments.length===0)throw new Error("compose requires at least one argument");return ve.apply(this,ea(arguments))}var oa=function(){function t(e,r,o,a){this.valueFn=e,this.valueAcc=r,this.keyFn=o,this.xf=a,this.inputs={}}return t.prototype["@@transducer/init"]=At.init,t.prototype["@@transducer/result"]=function(e){var r;for(r in this.inputs)if(nt(r,this.inputs)&&(e=this.xf["@@transducer/step"](e,this.inputs[r]),e["@@transducer/reduced"])){e=e["@@transducer/value"];break}return this.inputs=null,this.xf["@@transducer/result"](e)},t.prototype["@@transducer/step"]=function(e,r){var o=this.keyFn(r);return this.inputs[o]=this.inputs[o]||[o,be(this.valueAcc,!1)],this.inputs[o][1]=this.valueFn(this.inputs[o][1],r),e},t}();function na(t,e,r){return function(o){return new oa(t,e,r,o)}}var aa=ue(4,[],de([],na,function(t,e,r,o){var a=ur(function(i,s){var l=r(s),c=t(nt(l,i)?i[l]:be(e,!1),s);return c&&c["@@transducer/reduced"]?hn(i):(i[l]=c,i)});return cr(a,{},o)})),ia=mt(function(t,e,r){var o=t(e),a=t(r);return o>a?-1:o<a?1:0});const sa=ia;function la(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 ca=F(function(t){return t!=null&&typeof t["fantasy-land/empty"]=="function"?t["fantasy-land/empty"]():t!=null&&t.constructor!=null&&typeof t.constructor["fantasy-land/empty"]=="function"?t.constructor["fantasy-land/empty"]():t!=null&&typeof t.empty=="function"?t.empty():t!=null&&t.constructor!=null&&typeof t.constructor.empty=="function"?t.constructor.empty():Vt(t)?[]:Ft(t)?"":Rt(t)?{}:Xe(t)?function(){return arguments}():la(t)?t.constructor.from(""):void 0}),ua=B(ye("groupBy",aa(function(t,e){return t.push(e),t},[])));const da=ua;var pa=mt(function(t,e,r){return Bt(Math.max(t.length,e.length,r.length),function(){return t.apply(this,arguments)?e.apply(this,arguments):r.apply(this,arguments)})});const fa=pa;var ma=B(rr);const ga=ma;var ha=B(function(t,e){return Bt(t+1,function(){var r=arguments[t];if(r!=null&&Un(r[e]))return r[e].apply(r,Array.prototype.slice.call(arguments,0,t));throw new TypeError(he(r)+' does not have a method named "'+e+'"')})});const mr=ha;var ba=F(function(t){return t!=null&&Lt(t,ca(t))});const ya=ba;var va=B(function(t,e){return t.map(function(r){for(var o=e,a=0,i;a<r.length;){if(o==null)return;i=r[a],o=ir(i)?sr(i,o):o[i],a+=1}return o})}),wa=B(function(t,e){return va([t],e)[0]});const gr=wa;var xa=mt(function(t,e,r){var o={},a;e=e||{},r=r||{};for(a in e)nt(a,e)&&(o[a]=nt(a,r)?t(a,e[a],r[a]):e[a]);for(a in r)nt(a,r)&&!nt(a,o)&&(o[a]=r[a]);return o}),ka=mt(function t(e,r,o){return xa(function(a,i,s){return Rt(i)&&Rt(s)?t(e,i,s):e(a,i,s)},r,o)}),Sa=B(function(t,e){return ka(function(r,o,a){return a},t,e)});const za=Sa;var _a=B(function(t,e){for(var r={},o={},a=0,i=t.length;a<i;)o[t[a]]=1,a+=1;for(var s in e)o.hasOwnProperty(s)||(r[s]=e[s]);return r});const Aa=_a;var Oa=B(function(t,e){return Array.prototype.slice.call(e,0).sort(function(r,o){for(var a=0,i=0;a===0&&i<t.length;)a=t[i](r,o),i+=1;return a})});const hr=Oa;var Ta=mr(1,"split");const Tt=Ta;var Ea=mr(0,"toLowerCase");const ja=Ea;var Et=`
|
|
9
|
+
\v\f\r \u2028\u2029\uFEFF`,Na="",Pa=typeof String.prototype.trim=="function",Da=F(!Pa||Et.trim()||!Na.trim()?function(t){var e=new RegExp("^["+Et+"]["+Et+"]*"),r=new RegExp("["+Et+"]["+Et+"]*$");return t.replace(e,"").replace(r,"")}:function(t){return t.trim()});const Yt=Da,br=Symbol("I18nContext"),U=n.reactive({messages:{},locale:"",fallbackLocale:""}),$a=({messages:t={},locale:e="",fallbackLocale:r=""})=>{U.messages=t,U.locale=e,U.fallbackLocale=r;const o=(l,c={})=>{const p=!ya(c),m=wt(Yt,Tt(".",l));return n.computed(()=>{const d=yr(m);return p?Ca(d,c):d}).value},a=l=>{const c=wt(Yt,Tt(".",l));return!!we(U.locale,c,U.messages)},i=l=>{U.locale=l},s={locale:n.computed({get(){return U.locale},set(l){U.locale=l}}),setLocale:i,translate:o,hasTranlation:a};return n.provide(br,s),{translate:o}},st=t=>{t&&(U.messages=t.messages,U.locale=t.locale,U.fallbackLocale=t.fallbackLocale);const e=Ia();return{locale:e.locale,t:e.translate,setLocale:e.setLocale,hasTranlation:e.hasTranlation}},Ia=()=>{const t=n.inject(br,null);if(t===null)throw new Error("Privider is missing a parent component.");return t},yr=(t=[])=>{let e=we(U.locale,t,U.messages);return!e&&U.fallbackLocale&&(e=we(U.fallbackLocale,t,U.messages)),e||t.join(".")};function we(t,e,r){return gr([t,...e],r)}const Ca=function(t,e){return t.replace(/\{(\w+)\}/g,function(r,o){return e[o]})};n.defineComponent({props:{tag:{type:String,default:"div"},path:{type:String,defult:""}},setup(t,{slots:e}){const r=wt(Yt,Tt(".",t.path)),o=yr(r),a=Tt(/{|}/,o),i=Object.keys(e).map(s=>{const l=a.indexOf(s);return l>-1&&(a[l]=e[s]()[0]),a});return()=>n.h(t.tag,i)}});const Ma="https://api.icehockey.hu/vbr",Ba="https://www.jegkorongszovetseg.hu/event/game/",Va="https://jegkorongszovetseg.hu/assets/images/player_blank.png",La="https://www.ersteliga.hu/stats/teams#/team/3314/21096?name=",lt="original",W="descend",Q="ascend",Ga=new Map().set("hu","hu-hu").set("en","hu-gb");new Map().set("Europe/Budapest",{countryLabelKey:"hungary",timezone:"Europe/Budapest"}).set("Europe/Bucharest",{countryLabelKey:"romania",timezone:"Europe/Bucharest"});const Ra=1e3,Fa={"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"},Ha=n.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),Ya=[Ha];function Ua(t,e){return n.openBlock(),n.createElementBlock("svg",Fa,Ya)}const vr={render:Ua},Wa={"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"},Ka=n.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),Ja=[Ka];function Za(t,e){return n.openBlock(),n.createElementBlock("svg",Wa,Ja)}const qa={render:Za},Xa={"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"},Qa=n.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),ti=[Qa];function ei(t,e){return n.openBlock(),n.createElementBlock("svg",Xa,ti)}const ri={render:ei};function jt(t){return t.split("-")[1]}function xe(t){return t==="y"?"height":"width"}function ht(t){return t.split("-")[0]}function Nt(t){return["top","bottom"].includes(ht(t))?"x":"y"}function wr(t,e,r){let{reference:o,floating:a}=t;const i=o.x+o.width/2-a.width/2,s=o.y+o.height/2-a.height/2,l=Nt(e),c=xe(l),p=o[c]/2-a[c]/2,m=l==="x";let d;switch(ht(e)){case"top":d={x:i,y:o.y-a.height};break;case"bottom":d={x:i,y:o.y+o.height};break;case"right":d={x:o.x+o.width,y:s};break;case"left":d={x:o.x-a.width,y:s};break;default:d={x:o.x,y:o.y}}switch(jt(e)){case"start":d[l]-=p*(r&&m?-1:1);break;case"end":d[l]+=p*(r&&m?-1:1)}return d}const oi=async(t,e,r)=>{const{placement:o="bottom",strategy:a="absolute",middleware:i=[],platform:s}=r,l=i.filter(Boolean),c=await(s.isRTL==null?void 0:s.isRTL(e));let p=await s.getElementRects({reference:t,floating:e,strategy:a}),{x:m,y:d}=wr(p,o,c),u=o,f={},h=0;for(let g=0;g<l.length;g++){const{name:b,fn:y}=l[g],{x:v,y:x,data:A,reset:O}=await y({x:m,y:d,initialPlacement:o,placement:u,strategy:a,middlewareData:f,rects:p,platform:s,elements:{reference:t,floating:e}});m=v??m,d=x??d,f={...f,[b]:{...f[b],...A}},O&&h<=50&&(h++,typeof O=="object"&&(O.placement&&(u=O.placement),O.rects&&(p=O.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:a}):O.rects),{x:m,y:d}=wr(p,u,c)),g=-1)}return{x:m,y:d,placement:u,strategy:a,middlewareData:f}};function xr(t){return typeof t!="number"?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(t):{top:t,right:t,bottom:t,left:t}}function Ut(t){return{...t,top:t.y,left:t.x,right:t.x+t.width,bottom:t.y+t.height}}async function kr(t,e){var r;e===void 0&&(e={});const{x:o,y:a,platform:i,rects:s,elements:l,strategy:c}=t,{boundary:p="clippingAncestors",rootBoundary:m="viewport",elementContext:d="floating",altBoundary:u=!1,padding:f=0}=e,h=xr(f),g=l[u?d==="floating"?"reference":"floating":d],b=Ut(await i.getClippingRect({element:(r=await(i.isElement==null?void 0:i.isElement(g)))==null||r?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(l.floating)),boundary:p,rootBoundary:m,strategy:c})),y=d==="floating"?{...s.floating,x:o,y:a}:s.reference,v=await(i.getOffsetParent==null?void 0:i.getOffsetParent(l.floating)),x=await(i.isElement==null?void 0:i.isElement(v))&&await(i.getScale==null?void 0:i.getScale(v))||{x:1,y:1},A=Ut(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({rect:y,offsetParent:v,strategy:c}):y);return{top:(b.top-A.top+h.top)/x.y,bottom:(A.bottom-b.bottom+h.bottom)/x.y,left:(b.left-A.left+h.left)/x.x,right:(A.right-b.right+h.right)/x.x}}const ni=Math.min,ai=Math.max;function ke(t,e,r){return ai(t,ni(e,r))}const Sr=t=>({name:"arrow",options:t,async fn(e){const{element:r,padding:o=0}=t||{},{x:a,y:i,placement:s,rects:l,platform:c,elements:p}=e;if(r==null)return{};const m=xr(o),d={x:a,y:i},u=Nt(s),f=xe(u),h=await c.getDimensions(r),g=u==="y",b=g?"top":"left",y=g?"bottom":"right",v=g?"clientHeight":"clientWidth",x=l.reference[f]+l.reference[u]-d[u]-l.floating[f],A=d[u]-l.reference[u],O=await(c.getOffsetParent==null?void 0:c.getOffsetParent(r));let T=O?O[v]:0;T&&await(c.isElement==null?void 0:c.isElement(O))||(T=p.floating[v]||l.floating[f]);const D=x/2-A/2,V=m[b],P=T-h[f]-m[y],E=T/2-h[f]/2+D,I=ke(V,E,P),R=jt(s)!=null&&E!=I&&l.reference[f]/2-(E<V?m[b]:m[y])-h[f]/2<0;return{[u]:d[u]-(R?E<V?V-E:P-E:0),data:{[u]:I,centerOffset:E-I}}}});["top","right","bottom","left"].reduce((t,e)=>t.concat(e,e+"-start",e+"-end"),[]);const ii={left:"right",right:"left",bottom:"top",top:"bottom"};function Wt(t){return t.replace(/left|right|bottom|top/g,e=>ii[e])}function si(t,e,r){r===void 0&&(r=!1);const o=jt(t),a=Nt(t),i=xe(a);let s=a==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=Wt(s)),{main:s,cross:Wt(s)}}const li={start:"end",end:"start"};function Se(t){return t.replace(/start|end/g,e=>li[e])}const ci=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var r;const{placement:o,middlewareData:a,rects:i,initialPlacement:s,platform:l,elements:c}=e,{mainAxis:p=!0,crossAxis:m=!0,fallbackPlacements:d,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:h=!0,...g}=t,b=ht(o),y=ht(s)===s,v=await(l.isRTL==null?void 0:l.isRTL(c.floating)),x=d||(y||!h?[Wt(s)]:function(I){const R=Wt(I);return[Se(I),R,Se(R)]}(s));d||f==="none"||x.push(...function(I,R,_,S){const k=jt(I);let z=function(w,j,N){const $=["left","right"],G=["right","left"],L=["top","bottom"],H=["bottom","top"];switch(w){case"top":case"bottom":return N?j?G:$:j?$:G;case"left":case"right":return j?L:H;default:return[]}}(ht(I),_==="start",S);return k&&(z=z.map(w=>w+"-"+k),R&&(z=z.concat(z.map(Se)))),z}(s,h,f,v));const A=[s,...x],O=await kr(e,g),T=[];let D=((r=a.flip)==null?void 0:r.overflows)||[];if(p&&T.push(O[b]),m){const{main:I,cross:R}=si(o,i,v);T.push(O[I],O[R])}if(D=[...D,{placement:o,overflows:T}],!T.every(I=>I<=0)){var V,P;const I=(((V=a.flip)==null?void 0:V.index)||0)+1,R=A[I];if(R)return{data:{index:I,overflows:D},reset:{placement:R}};let _=(P=D.filter(S=>S.overflows[0]<=0).sort((S,k)=>S.overflows[1]-k.overflows[1])[0])==null?void 0:P.placement;if(!_)switch(u){case"bestFit":{var E;const S=(E=D.map(k=>[k.placement,k.overflows.filter(z=>z>0).reduce((z,w)=>z+w,0)]).sort((k,z)=>k[1]-z[1])[0])==null?void 0:E[0];S&&(_=S);break}case"initialPlacement":_=s}if(o!==_)return{reset:{placement:_}}}return{}}}},ui=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){const{x:r,y:o}=e,a=await async function(i,s){const{placement:l,platform:c,elements:p}=i,m=await(c.isRTL==null?void 0:c.isRTL(p.floating)),d=ht(l),u=jt(l),f=Nt(l)==="x",h=["left","top"].includes(d)?-1:1,g=m&&f?-1:1,b=typeof s=="function"?s(i):s;let{mainAxis:y,crossAxis:v,alignmentAxis:x}=typeof b=="number"?{mainAxis:b,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...b};return u&&typeof x=="number"&&(v=u==="end"?-1*x:x),f?{x:v*g,y:y*h}:{x:y*h,y:v*g}}(e,t);return{x:r+a.x,y:o+a.y,data:a}}}};function di(t){return t==="x"?"y":"x"}const pi=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:r,y:o,placement:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:b=>{let{x:y,y:v}=b;return{x:y,y:v}}},...c}=t,p={x:r,y:o},m=await kr(e,c),d=Nt(ht(a)),u=di(d);let f=p[d],h=p[u];if(i){const b=d==="y"?"bottom":"right";f=ke(f+m[d==="y"?"top":"left"],f,f-m[b])}if(s){const b=u==="y"?"bottom":"right";h=ke(h+m[u==="y"?"top":"left"],h,h-m[b])}const g=l.fn({...e,[d]:f,[u]:h});return{...g,data:{x:g.x-r,y:g.y-o}}}}};function q(t){var e;return((e=t.ownerDocument)==null?void 0:e.defaultView)||window}function tt(t){return q(t).getComputedStyle(t)}function zr(t){return t instanceof q(t).Node}function ct(t){return zr(t)?(t.nodeName||"").toLowerCase():""}function et(t){return t instanceof q(t).HTMLElement}function J(t){return t instanceof q(t).Element}function _r(t){return typeof ShadowRoot>"u"?!1:t instanceof q(t).ShadowRoot||t instanceof ShadowRoot}function Pt(t){const{overflow:e,overflowX:r,overflowY:o,display:a}=tt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&!["inline","contents"].includes(a)}function fi(t){return["table","td","th"].includes(ct(t))}function ze(t){const e=_e(),r=tt(t);return r.transform!=="none"||r.perspective!=="none"||!e&&!!r.backdropFilter&&r.backdropFilter!=="none"||!e&&!!r.filter&&r.filter!=="none"||["transform","perspective","filter"].some(o=>(r.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(r.contain||"").includes(o))}function _e(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Kt(t){return["html","body","#document"].includes(ct(t))}const Ar=Math.min,Dt=Math.max,Jt=Math.round;function Or(t){const e=tt(t);let r=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const a=et(t),i=a?t.offsetWidth:r,s=a?t.offsetHeight:o,l=Jt(r)!==i||Jt(o)!==s;return l&&(r=i,o=s),{width:r,height:o,fallback:l}}function Tr(t){return J(t)?t:t.contextElement}const Er={x:1,y:1};function xt(t){const e=Tr(t);if(!et(e))return Er;const r=e.getBoundingClientRect(),{width:o,height:a,fallback:i}=Or(e);let s=(i?Jt(r.width):r.width)/o,l=(i?Jt(r.height):r.height)/a;return s&&Number.isFinite(s)||(s=1),l&&Number.isFinite(l)||(l=1),{x:s,y:l}}const jr={x:0,y:0};function Nr(t,e,r){var o,a;if(e===void 0&&(e=!0),!_e())return jr;const i=t?q(t):window;return!r||e&&r!==i?jr:{x:((o=i.visualViewport)==null?void 0:o.offsetLeft)||0,y:((a=i.visualViewport)==null?void 0:a.offsetTop)||0}}function bt(t,e,r,o){e===void 0&&(e=!1),r===void 0&&(r=!1);const a=t.getBoundingClientRect(),i=Tr(t);let s=Er;e&&(o?J(o)&&(s=xt(o)):s=xt(t));const l=Nr(i,r,o);let c=(a.left+l.x)/s.x,p=(a.top+l.y)/s.y,m=a.width/s.x,d=a.height/s.y;if(i){const u=q(i),f=o&&J(o)?q(o):o;let h=u.frameElement;for(;h&&o&&f!==u;){const g=xt(h),b=h.getBoundingClientRect(),y=getComputedStyle(h);b.x+=(h.clientLeft+parseFloat(y.paddingLeft))*g.x,b.y+=(h.clientTop+parseFloat(y.paddingTop))*g.y,c*=g.x,p*=g.y,m*=g.x,d*=g.y,c+=b.x,p+=b.y,h=q(h).frameElement}}return Ut({width:m,height:d,x:c,y:p})}function ut(t){return((zr(t)?t.ownerDocument:t.document)||window.document).documentElement}function Zt(t){return J(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Pr(t){return bt(ut(t)).left+Zt(t).scrollLeft}function kt(t){if(ct(t)==="html")return t;const e=t.assignedSlot||t.parentNode||_r(t)&&t.host||ut(t);return _r(e)?e.host:e}function Dr(t){const e=kt(t);return Kt(e)?e.ownerDocument.body:et(e)&&Pt(e)?e:Dr(e)}function $t(t,e){var r;e===void 0&&(e=[]);const o=Dr(t),a=o===((r=t.ownerDocument)==null?void 0:r.body),i=q(o);return a?e.concat(i,i.visualViewport||[],Pt(o)?o:[]):e.concat(o,$t(o))}function $r(t,e,r){let o;if(e==="viewport")o=function(a,i){const s=q(a),l=ut(a),c=s.visualViewport;let p=l.clientWidth,m=l.clientHeight,d=0,u=0;if(c){p=c.width,m=c.height;const f=_e();(!f||f&&i==="fixed")&&(d=c.offsetLeft,u=c.offsetTop)}return{width:p,height:m,x:d,y:u}}(t,r);else if(e==="document")o=function(a){const i=ut(a),s=Zt(a),l=a.ownerDocument.body,c=Dt(i.scrollWidth,i.clientWidth,l.scrollWidth,l.clientWidth),p=Dt(i.scrollHeight,i.clientHeight,l.scrollHeight,l.clientHeight);let m=-s.scrollLeft+Pr(a);const d=-s.scrollTop;return tt(l).direction==="rtl"&&(m+=Dt(i.clientWidth,l.clientWidth)-c),{width:c,height:p,x:m,y:d}}(ut(t));else if(J(e))o=function(a,i){const s=bt(a,!0,i==="fixed"),l=s.top+a.clientTop,c=s.left+a.clientLeft,p=et(a)?xt(a):{x:1,y:1};return{width:a.clientWidth*p.x,height:a.clientHeight*p.y,x:c*p.x,y:l*p.y}}(e,r);else{const a=Nr(t);o={...e,x:e.x-a.x,y:e.y-a.y}}return Ut(o)}function Ir(t,e){const r=kt(t);return!(r===e||!J(r)||Kt(r))&&(tt(r).position==="fixed"||Ir(r,e))}function Cr(t,e){return et(t)&&tt(t).position!=="fixed"?e?e(t):t.offsetParent:null}function Mr(t,e){const r=q(t);if(!et(t))return r;let o=Cr(t,e);for(;o&&fi(o)&&tt(o).position==="static";)o=Cr(o,e);return o&&(ct(o)==="html"||ct(o)==="body"&&tt(o).position==="static"&&!ze(o))?r:o||function(a){let i=kt(a);for(;et(i)&&!Kt(i);){if(ze(i))return i;i=kt(i)}return null}(t)||r}function mi(t,e,r){const o=et(e),a=ut(e),i=r==="fixed",s=bt(t,!0,i,e);let l={scrollLeft:0,scrollTop:0};const c={x:0,y:0};if(o||!o&&!i)if((ct(e)!=="body"||Pt(a))&&(l=Zt(e)),et(e)){const p=bt(e,!0,i,e);c.x=p.x+e.clientLeft,c.y=p.y+e.clientTop}else a&&(c.x=Pr(a));return{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}const gi={getClippingRect:function(t){let{element:e,boundary:r,rootBoundary:o,strategy:a}=t;const i=r==="clippingAncestors"?function(p,m){const d=m.get(p);if(d)return d;let u=$t(p).filter(b=>J(b)&&ct(b)!=="body"),f=null;const h=tt(p).position==="fixed";let g=h?kt(p):p;for(;J(g)&&!Kt(g);){const b=tt(g),y=ze(g);y||b.position!=="fixed"||(f=null),(h?!y&&!f:!y&&b.position==="static"&&f&&["absolute","fixed"].includes(f.position)||Pt(g)&&!y&&Ir(p,g))?u=u.filter(v=>v!==g):f=b,g=kt(g)}return m.set(p,u),u}(e,this._c):[].concat(r),s=[...i,o],l=s[0],c=s.reduce((p,m)=>{const d=$r(e,m,a);return p.top=Dt(d.top,p.top),p.right=Ar(d.right,p.right),p.bottom=Ar(d.bottom,p.bottom),p.left=Dt(d.left,p.left),p},$r(e,l,a));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{rect:e,offsetParent:r,strategy:o}=t;const a=et(r),i=ut(r);if(r===i)return e;let s={scrollLeft:0,scrollTop:0},l={x:1,y:1};const c={x:0,y:0};if((a||!a&&o!=="fixed")&&((ct(r)!=="body"||Pt(i))&&(s=Zt(r)),et(r))){const p=bt(r);l=xt(r),c.x=p.x+r.clientLeft,c.y=p.y+r.clientTop}return{width:e.width*l.x,height:e.height*l.y,x:e.x*l.x-s.scrollLeft*l.x+c.x,y:e.y*l.y-s.scrollTop*l.y+c.y}},isElement:J,getDimensions:function(t){return Or(t)},getOffsetParent:Mr,getDocumentElement:ut,getScale:xt,async getElementRects(t){let{reference:e,floating:r,strategy:o}=t;const a=this.getOffsetParent||Mr,i=this.getDimensions;return{reference:mi(e,await a(r),o),floating:{x:0,y:0,...await i(r)}}},getClientRects:t=>Array.from(t.getClientRects()),isRTL:t=>tt(t).direction==="rtl"};function hi(t,e,r,o){o===void 0&&(o={});const{ancestorScroll:a=!0,ancestorResize:i=!0,elementResize:s=!0,animationFrame:l=!1}=o,c=a||i?[...J(t)?$t(t):t.contextElement?$t(t.contextElement):[],...$t(e)]:[];c.forEach(u=>{const f=!J(u)&&u.toString().includes("V");!a||l&&!f||u.addEventListener("scroll",r,{passive:!0}),i&&u.addEventListener("resize",r)});let p,m=null;s&&(m=new ResizeObserver(()=>{r()}),J(t)&&!l&&m.observe(t),J(t)||!t.contextElement||l||m.observe(t.contextElement),m.observe(e));let d=l?bt(t):null;return l&&function u(){const f=bt(t);!d||f.x===d.x&&f.y===d.y&&f.width===d.width&&f.height===d.height||r(),d=f,p=requestAnimationFrame(u)}(),r(),()=>{var u;c.forEach(f=>{a&&f.removeEventListener("scroll",r),i&&f.removeEventListener("resize",r)}),(u=m)==null||u.disconnect(),m=null,l&&cancelAnimationFrame(p)}}const bi=(t,e,r)=>{const o=new Map,a={platform:gi,...r},i={...a.platform,_c:o};return oi(t,e,{...a,platform:i})},yi=(t,e="body")=>{if(!t)return;if(typeof e!="string"){e==null||e.append(t);return}const r=document.querySelector(e);r==null||r.append(t)};function vi({middleware:t,placement:e=null,strategy:r,append:o,enabled:a}){const i=n.ref(null),s=n.ref(null),l=n.ref(null),c=n.ref(null),p=n.ref(null),m=n.ref(null),d=n.ref(null),u=n.ref(r??"absolute"),f=n.ref(null),h=()=>{!i.value||!s.value||bi(i.value,s.value,{middleware:t,placement:e,strategy:r}).then(b=>{l.value=b.x,c.value=b.y,u.value=b.strategy,p.value=b.middlewareData.arrow.x,m.value=b.middlewareData.arrow.y,d.value=b.placement})};n.watch(()=>({reference:n.unref(i),floating:n.unref(s),append:n.unref(o)}),({floating:b,append:y})=>{y&&yi(b,y),h()},{flush:"post"}),n.watch(a,b=>{if(!(!i.value||!s.value)){if(!b)return g();f.value=hi(i.value,s.value,h,{})}},{flush:"post"});const g=()=>{var b;(b=f.value)==null||b.call(f),f.value=null};return{x:l,y:c,arrowX:p,arrowY:m,placement:d,reference:i,floating:s,strategy:u,update:h}}const wi=t=>{const{element:e,padding:r}=t;return{name:"arrow",options:t,fn(o){return n.isRef(e)?e.value!=null?Sr({element:e.value,padding:r}).fn(o):{}:e?Sr({element:e,padding:r}).fn(o):{}}}},xi=["data-placement"],ki={__name:"FloatingPanel",props:{disabled:{type:Boolean,default:!1},placement:{type:String,default:"bottom"},theme:{type:String,default:"tooltip"},content:{type:String,default:""},appendTo:{type:[Object,String],default:"body"},offset:{type:Number,default:2}},setup(t){const e=t,r=n.ref(!1),o=n.ref(null),{x:a,y:i,arrowX:s,arrowY:l,placement:c,reference:p,floating:m,strategy:d}=vi({placement:e.placement,middleware:[ci(),pi({padding:5}),ui(e.offset),wi({element:o,padding:5})],append:n.computed(()=>e.appendTo),enabled:r}),u=()=>{e.disabled||r.value||(r.value=!0)},f=b=>{r.value&&b&&(r.value=!1)},h=b=>{p.value=b},g={mouseenter:u,mouseleave:f,focus:u,blur:f};return tn(m,b=>{var y;(y=p.value)!=null&&y.contains(b.target)||f()}),(b,y)=>(n.openBlock(),n.createElementBlock(n.Fragment,null,[n.renderSlot(b.$slots,"default",{setRef:h,show:u,hide:f,events:g}),n.createElementVNode("div",{ref_key:"floating",ref:m,"data-placement":n.unref(c),style:n.normalizeStyle({position:n.unref(d),top:n.unref(i)?`${n.unref(i)}px`:"",left:n.unref(a)?`${n.unref(a)}px`:""})},[n.createVNode(n.Transition,{name:"transition-fade",mode:"out-in"},{default:n.withCtx(()=>[r.value?(n.openBlock(),n.createElementBlock("div",{key:0,class:n.normalizeClass(["floating-content",[`is-${e.theme}`]])},[n.renderSlot(b.$slots,"content",{close:f},()=>[n.createTextVNode(n.toDisplayString(t.content),1)]),n.createElementVNode("div",{ref_key:"arrowRef",ref:o,class:"is-arrow",style:n.normalizeStyle({position:n.unref(d),top:n.unref(l)?`${n.unref(l)}px`:"",left:n.unref(s)?`${n.unref(s)}px`:""})},null,4)],2)):n.createCommentVNode("",!0)]),_:3})],12,xi)],64))}},Si=["onMouseenter","onMouseleave","onFocus","onBlur","onClick","onKeydown","tabindex"],zi={key:0},_i=["colspan"],Ai={key:1},Oi=["colspan"],Br={__name:"DataTable",props:{columns:{type:Object,default:()=>({})},rows:{type:Array,default:()=>[]},sort:{type:Object,default:()=>({})},isLoading:{type:Boolean,default:!1},appendTo:{type:[Object,String],default:null}},emits:["sort"],setup(t,{emit:e}){const r=t,{isLoading:o,appendTo:a}=n.toRefs(r),i=Ke(o,{delay:Ra}),{t:s}=st(),l=rt("table"),c=n.computed(()=>r.columns),p=n.computed(()=>Object.keys(r.columns).length),m=(d,u)=>{d.sortOrders&&e("sort",{target:u,orders:d.sortOrders})};return(d,u)=>(n.openBlock(),n.createElementBlock("table",{class:n.normalizeClass(n.unref(l))},[n.createElementVNode("thead",null,[n.createElementVNode("tr",null,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(c.value,(f,h)=>(n.openBlock(),n.createBlock(ki,{key:h,placement:"top",content:f.tooltip,disabled:!f.tooltip,"append-to":n.unref(a)},{default:n.withCtx(({setRef:g,show:b,hide:y})=>[n.createElementVNode("th",{ref_for:!0,ref:g,class:n.normalizeClass([[f.class],{"is-active":h===t.sort.sortTarget&&t.sort.orders[0].direction!==n.unref(lt),"is-sortable":f.sortOrders,"is-desc":h===t.sort.sortTarget&&t.sort.orders[0].direction===n.unref(W),"is-asc":h===t.sort.sortTarget&&t.sort.orders[0].direction===n.unref(Q)}]),onMouseenter:b,onMouseleave:y,onFocus:b,onBlur:y,onClick:v=>m(f,h),onKeydown:[n.withKeys(n.withModifiers(v=>m(f,h),["prevent"]),["space"]),n.withKeys(n.withModifiers(v=>m(f,h),["prevent"]),["enter"])],tabindex:f.sortOrders?0:-1,role:"button"},[n.renderSlot(d.$slots,`header-${h}`,{column:f},()=>[n.createTextVNode(n.toDisplayString(f.label),1)]),f.sortOrders&&h!==t.sort.sortTarget?(n.openBlock(),n.createBlock(n.unref(vr),{key:0,class:"is-icon-sort"})):n.createCommentVNode("",!0),h===t.sort.sortTarget&&t.sort.orders[0].direction===n.unref(lt)?(n.openBlock(),n.createBlock(n.unref(vr),{key:1,class:"is-icon-sort"})):n.createCommentVNode("",!0),h===t.sort.sortTarget&&t.sort.orders[0].direction===n.unref(W)?(n.openBlock(),n.createBlock(n.unref(qa),{key:2,class:"is-icon-sort"})):n.createCommentVNode("",!0),h===t.sort.sortTarget&&t.sort.orders[0].direction===n.unref(Q)?(n.openBlock(),n.createBlock(n.unref(ri),{key:3,class:"is-icon-sort"})):n.createCommentVNode("",!0)],42,Si)]),_:2},1032,["content","disabled","append-to"]))),128))])]),n.createElementVNode("tbody",null,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(r.rows,(f,h)=>(n.openBlock(),n.createElementBlock("tr",{key:h},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(c.value,(g,b)=>(n.openBlock(),n.createElementBlock("td",{key:b,class:n.normalizeClass([[g.class],{"is-active":b===t.sort.sortTarget&&t.sort.orders[0].direction!==n.unref(lt)}])},[n.renderSlot(d.$slots,`cell-${b}`,{row:f,prop:b},()=>[n.createTextVNode(n.toDisplayString(f[b]),1)])],2))),128))]))),128))]),n.unref(i)&&t.rows.length===0?(n.openBlock(),n.createElementBlock("tfoot",zi,[n.createElementVNode("tr",null,[n.createElementVNode("td",{colspan:p.value},[n.renderSlot(d.$slots,"loading",{},()=>[n.createTextVNode(n.toDisplayString(n.unref(s)("common.loading")),1)])],8,_i)])])):n.createCommentVNode("",!0),t.rows.length===0&&!n.unref(o)&&!n.unref(i)?(n.openBlock(),n.createElementBlock("tfoot",Ai,[n.createElementVNode("tr",null,[n.createElementVNode("td",{colspan:p.value},[n.renderSlot(d.$slots,"empty",{},()=>[n.createTextVNode(n.toDisplayString(n.unref(s)("common.noData")),1)])],8,Oi)])])):n.createCommentVNode("",!0)],2))}},Ti={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"},Ei=n.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),ji=n.createElementVNode("line",{x1:"12",y1:"9",x2:"12",y2:"13"},null,-1),Ni=n.createElementVNode("line",{x1:"12",y1:"17",x2:"12.01",y2:"17"},null,-1),Pi=[Ei,ji,Ni];function Di(t,e){return n.openBlock(),n.createElementBlock("svg",Ti,Pi)}const $i={render:Di},Vr={__name:"ErrorNotice",props:{error:{type:Object,default:()=>({})}},setup(t){const e=t,{t:r,hasTranlation:o}=st(),a=rt("error-notice"),i=n.computed(()=>{var s;return o(`errors.${e.error.key}`)?r(`errors.${e.error.key}`,e.error.cause):`${e.error.key}: ${(s=e.error)==null?void 0:s.message}`});return(s,l)=>(n.openBlock(),n.createElementBlock("div",{class:n.normalizeClass(n.unref(a))},[n.createVNode(n.unref($i),{class:"icon",width:"20",height:"20"}),n.createElementVNode("span",null,n.toDisplayString(i.value),1)],2))}};function Ii(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 Lr=Symbol("ErrorProviderContext"),Ci=()=>{const t=n.ref(""),e=n.ref({}),r=o=>{console.log({error:o}),t.value=o.message||o.error.message,e.value={message:o.message,key:o.key||Ii(o.message),cause:o.cause}};return n.provide(Lr,{onError:r,reset:()=>{t.value="",e.value={}}}),window.onerror=o=>{console.log("WINDOW_ONERROR:",o)},n.onErrorCaptured((o,a,i)=>{console.log("onErrorCaptured:",o,a,i)}),{hasError:n.computed(()=>t.value.length>0),message:t,error:e,onError:r}},Ae=()=>{const t=Mi();return{onError:t.onError,reset:t.reset}},Mi=()=>{const t=n.inject(Lr,null);if(t===null)throw new Error("Privider is missing a parent component.");return t},Gr={__name:"ErrorProvider",setup(t){const{message:e,hasError:r,error:o}=Ci();return(a,i)=>n.renderSlot(a.$slots,"default",{message:n.unref(e),error:n.unref(o),hasError:n.unref(r)})}},Bi={"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ő"},Vi={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ó"},Li={blank:"#",team:{short:"Csapat",tooltip:"Csapatnév"},game:{short:"M",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:"L",tooltip:"Lövések"},sogPercent:{short:"L%",tooltip:"Lövés Hatékonyság"},gameName:{short:"#",tooltip:"Mérkőzés Sorszáma"},gameDate:{short:"Dátum",tooltip:"Mérkőzés Dátuma"},gameDateTime:{short:"*Idő ({offsetName})",tooltip:"Mérkőzés kezdési ideje (Zóna neve)"},homeTeam:{short:"Hazai",tooltip:"Hazai Csapat"},awayTeam:{short:"Vendég",tooltip:"Vendég Csapat"},location:{short:"Helyszín",tooltip:"Mérkőzés Helyszíne"},broadcast:{short:"TV",tooltip:"TV Közvetítés"},minorPenalties:{short:"MINOR",tooltip:"Kisbüntetés (2p)"},majorPenalties:{short:"MAJOR",tooltip:"Büntetés (5p)"},misconducts:{short:"MISC",tooltip:"Fegyelmi büntetés (10p)"},gameMisconducts:{short:"GA-MI",tooltip:"Fegyelmi büntetés (20p)"},matchPenalties:{short:"MATCH",tooltip:"Végleges kiállítások (25p)"},pim:{short:"BÜP",tooltip:"Büntetés Percek"},pimPerGame:{short:"BÜP/M",tooltip:"Mérkőzésenkénti Büntetés Percek"},gpgk:{short:"M",tooltip:"Mérkőzésre Nevezve"},gpi:{short:"LM",tooltip:"Mérkőzésen Játszott"},toi:{short:"TOI",tooltip:"Jégen Töltött Idő"},toiPercent:{short:"TOI%",tooltip:"Jégen Töltött Idő Százalék"},ga:{short:"GA",tooltip:"Kapott Gól"},gaa:{short:"GAA",tooltip:"Kapott Gólátlag"},sa:{short:"KL",tooltip:"Kapott Lövés"},svs:{short:"VL",tooltip:"Védett Lövés"},svsPercent:{short:"VH%",tooltip:"Védés Hatékonyság"},homeHeader:{short:"Hazai:",tooltip:""},awayHeader:{short:"Vendég:",tooltip:""},totalHeader:{short:"Összes:",tooltip:""},homeGame:{short:"M",tooltip:"Hazai Mérkőzés"},awayGame:{short:"M",tooltip:"Vendég Mérkőzés"},totalGame:{short:"M",tooltip:"Összes Mérkőzés"},homeAttendance:{short:"Nézőszám",tooltip:"Hazai Néző"},awayAttendance:{short:"Nézőszám",tooltip:"Vendég Néző"},totalAttendance:{short:"Nézőszám",tooltip:"Összes Néző"},homeAttendanceAvg:{short:"Átlag",tooltip:"Hazi Néző Átlag"},awayAttendanceAvg:{short:"Átlag",tooltip:"Vendég Néző Átlag"},totalAttendanceAvg:{short:"Átlag",tooltip:"Összes Néző Átlag"},powerplayDisadvantages:{short:"DVG",tooltip:"Emberhátrányok"},dvgTime:{short:"DVG-T",tooltip:"Emberhátrányban Töltött Idő"},dvgTimePP1:{short:"DVG-T PP1",tooltip:"Szimpla emberhátrányban töltött idő"},dvgTimePP2:{short:"DVG-T PP2",tooltip:"Kettős emberhátrányban töltött idő"},ppga:{short:"PPGA",tooltip:"Emberhátrányban kapott gólok"},shgf:{short:"SHGF",tooltip:"Emberhátrányban szerzett gól"},pkPercent:{short:"PK%",tooltip:"Emberhátrány kivédekezés"},adv:{short:"ADV",tooltip:"Emberelőnyök száma"},advTime:{short:"ADV-T",tooltip:"Emberelőnyben töltött idő"},advTimePP1:{short:"ADV-T PP1",tooltip:"Szimpla emberelőnyben töltött idő"},advTimePP2:{short:"ADV-T PP2",tooltip:"Kettős emberelőnyben töltött idő"},ppgf:{short:"PPGF",tooltip:"Emberelőnyben szerzett gólok"},shga:{short:"SHGA",tooltip:"Emberelőnyben kapott gólok"},ppPercent:{short:"PP%",tooltip:"Emberelőny kihasználás"},gfgp:{short:"GF/GP",tooltip:"Szerzett gólátlag"},gagp:{short:"GA/GP",tooltip:"Kapott gólátlag"},sogp:{short:"Shots/GP",tooltip:"Átlagos lövésszám"},sagp:{short:"SA/GP",tooltip:"Átlagos kapott lövésszám"},jerseyNumber:{short:"#",tooltip:"Mezszám"},row:{short:"Sor",tooltip:"Sor"},position:{short:"Po",tooltip:"Poszt"},teamOfficials:{short:"Hivatalos Személyek",tooltip:"Hivatalos Személyek"}},Gi={data:{localTime:"Helyszín szerinti idő"},status:{jury:"Versenybíróság",delayed:"Elhalasztva"},period:{Bemelegítés:"Bemelegítés","Bemelegítés vége":"Bemelegítés Vége","1. harmad":"I. harmad","1. harmad vége":"I. harmad Vége","2. harmad":"II. harmad","2. harmad vége":"II. harmad Vége","3. harmad":"III. harmad","3. harmad vége":"III. harmad Vége","4. harmad":"IV. harmad","4. harmad vége":"IV. harmad Vége","5. harmad":"V. harmad","5. harmad vége":"V. harmad Vége","6. harmad":"VI. harmad","6. harmad vége":"VI. harmad Vége",Hosszabbítás:"Hosszabbítás","Hosszabbítás vége":"Hosszabbítás vége",Büntetők:"Szétlövés","Büntetők vége":"Szétlövés vége",Végeredmény:"Végeredmény",Szétlövés:"Szétlövés"}},Ri={errors:Bi,common:Vi,table:Li,game:Gi},Fi={"undefined-column":"The {column} column is not exists!","invalid-season-name":"Invalid season name","api-key-not-found":"API Key not found"},Hi={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"},Yi={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:"PTS",tooltip:"Points"},name:{short:"Name",tooltip:"Player name"},goals:{short:"G",tooltip:"Goals"},assists:{short:"A",tooltip:"Assists"},plusMinus:{short:"+/-",tooltip:"Plus/Minus"},sog:{short:"SOG",tooltip:"Shots on Goal"},sogPercent:{short:"SOG%",tooltip:"Shots on Goal Percent"},gameName:{short:"#",tooltip:"Game name"},gameDate:{short:"Date",tooltip:"Scheduled Date"},gameDateTime:{short:"*Time ({offsetName})",tooltip:"Scheduled Time (Offset Name)"},homeTeam:{short:"Home",tooltip:"Home Team"},awayTeam:{short:"Away",tooltip:"Away Team"},location:{short:"Location",tooltip:"Game Location"},broadcast:{short:"Broadcast",tooltip:"Television Broadcast"},minorPenalties:{short:"MINOR",tooltip:"Penalties Minor"},majorPenalties:{short:"MAJOR",tooltip:"Penalties Major"},misconducts:{short:"MISC",tooltip:"Penalties Misconduct"},gameMisconducts:{short:"GA-MI",tooltip:"Penalties Game Misconduct"},matchPenalties:{short:"MATCH",tooltip:"Penalties Match"},pim:{short:"PIM",tooltip:"Penalty Minutes"},pimPerGame:{short:"PIM/G",tooltip:"Penalty Minutes per Game"},gpgk:{short:"GP",tooltip:"Games Played"},gpi:{short:"GPI",tooltip:"Games Played In"},toi:{short:"TOI",tooltip:"Time On Ice"},toiPercent:{short:"TOI%",tooltip:"Time On Ice as Percentage"},ga:{short:"GA",tooltip:"Goals Against"},gaa:{short:"GAA",tooltip:"Goals Against Average"},sa:{short:"SA",tooltip:"Shots Against"},svs:{short:"SVS",tooltip:"Saves"},svsPercent:{short:"SV%",tooltip:"Save Percentage"},homeHeader:{short:"Home:",tooltip:""},awayHeader:{short:"Away:",tooltip:""},totalHeader:{short:"Total:",tooltip:""},homeGame:{short:"GP",tooltip:"Home Games Played"},awayGame:{short:"GP",tooltip:"Away Games Played"},totalGame:{short:"GP",tooltip:"Total Games Played"},homeAttendance:{short:"Att",tooltip:"Home Attendance"},awayAttendance:{short:"Att",tooltip:"Away Attendance"},totalAttendance:{short:"Att",tooltip:"Total Attendance"},homeAttendanceAvg:{short:"Avg",tooltip:"Home Average Attendance"},awayAttendanceAvg:{short:"Avg",tooltip:"Away Average Attendance"},totalAttendanceAvg:{short:"Avg",tooltip:"Total Average Attendance"},powerplayDisadvantages:{short:"DVG",tooltip:"Disadvantages (Number of Times Shorthanded)"},dvgTime:{short:"DVG-T",tooltip:"Disadvantages Time"},dvgTimePP1:{short:"DVG-T PP1",tooltip:"Disadvantages Time (Period of PP1)"},dvgTimePP2:{short:"DVG-T PP2",tooltip:"Disadvantages Time (Period of PP2)"},ppga:{short:"PPGA",tooltip:"Powerplay Goals Against"},shgf:{short:"SHGF",tooltip:"Shorthanded Goals For"},pkPercent:{short:"PK%",tooltip:"Penalty Killing Percentage"},adv:{short:"ADV",tooltip:"Advantages (Times on Powerplay)"},advTime:{short:"ADV-T",tooltip:"Advantages Time (Period of Powerplay)"},advTimePP1:{short:"ADV-T PP1",tooltip:"Advantages Time (Period of PP1)"},advTimePP2:{short:"ADV-T PP2",tooltip:"Advantages Time (Period of PP2)"},ppgf:{short:"PPGF",tooltip:"Powerplay Goals For"},shga:{short:"SHGA",tooltip:"Shorthanded Goals Against"},ppPercent:{short:"PP%",tooltip:"Powerplay Percentage"},gfgp:{short:"GF/GP",tooltip:"Szerzett gólátlag"},gagp:{short:"GA/GP",tooltip:"Kapott gólátlag"},sogp:{short:"Shots/GP",tooltip:"Átlagos lövésszám"},sagp:{short:"SA/GP",tooltip:"Shots Against per Game"},jerseyNumber:{short:"#",tooltip:"Jersey Number"},row:{short:"Row",tooltip:"Row"},position:{short:"Position",tooltip:"Position"},teamOfficials:{short:"Team officials",tooltip:"Team officials"}},Ui={data:{localTime:"Game local time"},status:{jury:"Jury result",delayed:"Game delayed"},period:{Bemelegítés:"Warm-up","Bemelegítés vége":"Warm-up End","1. harmad":"First period","1. harmad vége":"First period End","2. harmad":"Second period","2. harmad vége":"Second period End","3. harmad":"Third period","3. harmad vége":"Third period End","4. harmad":"IV. period","4. harmad vége":"IV. period End","5. harmad":"V. period","5. harmad vége":"V. period End","6. harmad":"VI. period","6. harmad vége":"VI. period End",Hosszabbítás:"Overtime","Hosszabbítás vége":"Overtime End",Büntetőlövések:"Penalty Shot",Végeredmény:"Game Completed",Szétlövés:"Shoot Out"}},Wi={errors:Fi,common:Hi,table:Yi,game:Ui},Ki=(t,e)=>{const r=t.__vccOpts||t;for(const[o,a]of e)r[o]=a;return r},Ji=n.defineComponent({props:{locale:{type:String,default:"hu"},messages:{type:Object,default:()=>({})}},setup(t){const e=za({hu:Ri,en:Wi},t.messages),{translate:r}=$a({locale:n.computed(()=>t.locale),messages:e});return{translate:r}}});function Zi(t,e,r,o,a,i){return n.renderSlot(t.$slots,"default",{t:t.translate})}const Rr=Ki(Ji,[["render",Zi]]),qi=["src"],Xi=["src","title"],qt=Object.assign({inheritAttrs:!1},{__name:"Image",props:{src:{type:String,default:""},title:{type:String,default:""},defaultSrc:{type:String,default:""}},setup(t){const e=t,{defaultSrc:r}=n.toRefs(e),o=n.ref({src:e.src}),{error:a,isReady:i}=mn(o,{resetOnExecute:!1,shallow:!1});return(s,l)=>(n.openBlock(),n.createElementBlock(n.Fragment,null,[n.unref(a)&&n.unref(r)?(n.openBlock(),n.createElementBlock("img",{key:0,src:n.unref(r),class:n.normalizeClass(["is-loaded",s.$attrs.class])},null,10,qi)):n.createCommentVNode("",!0),n.unref(a)?n.createCommentVNode("",!0):(n.openBlock(),n.createElementBlock("img",{key:1,src:o.value.src,class:n.normalizeClass([s.$attrs.class,{"is-loaded":n.unref(i)}]),title:e.title},null,10,Xi))],64))}}),Qi={style:{"text-align":"center"}},ts={__name:"LoadingIndicator",setup(t){const{t:e}=st();return(r,o)=>(n.openBlock(),n.createElementBlock("div",Qi,n.toDisplayString(n.unref(e)("common.loading")),1))}},Fr={__name:"ResponsiveTable",setup(t){const e=n.ref(null),r=rt("table-responsive");return(o,a)=>(n.openBlock(),n.createElementBlock("div",{ref_key:"el",ref:e,class:n.normalizeClass(n.unref(r))},[n.renderSlot(o.$slots,"default",{el:e.value})],2))}};var dt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function yt(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Hr={exports:{}};(function(t,e){(function(r,o){t.exports=o()})(dt,function(){var r=1e3,o=6e4,a=36e5,i="millisecond",s="second",l="minute",c="hour",p="day",m="week",d="month",u="quarter",f="year",h="date",g="Invalid Date",b=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|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,v={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(_){var S=["th","st","nd","rd"],k=_%100;return"["+_+(S[(k-20)%10]||S[k]||S[0])+"]"}},x=function(_,S,k){var z=String(_);return!z||z.length>=S?_:""+Array(S+1-z.length).join(k)+_},A={s:x,z:function(_){var S=-_.utcOffset(),k=Math.abs(S),z=Math.floor(k/60),w=k%60;return(S<=0?"+":"-")+x(z,2,"0")+":"+x(w,2,"0")},m:function _(S,k){if(S.date()<k.date())return-_(k,S);var z=12*(k.year()-S.year())+(k.month()-S.month()),w=S.clone().add(z,d),j=k-w<0,N=S.clone().add(z+(j?-1:1),d);return+(-(z+(k-w)/(j?w-N:N-w))||0)},a:function(_){return _<0?Math.ceil(_)||0:Math.floor(_)},p:function(_){return{M:d,y:f,w:m,d:p,D:h,h:c,m:l,s,ms:i,Q:u}[_]||String(_||"").toLowerCase().replace(/s$/,"")},u:function(_){return _===void 0}},O="en",T={};T[O]=v;var D=function(_){return _ instanceof I},V=function _(S,k,z){var w;if(!S)return O;if(typeof S=="string"){var j=S.toLowerCase();T[j]&&(w=j),k&&(T[j]=k,w=j);var N=S.split("-");if(!w&&N.length>1)return _(N[0])}else{var $=S.name;T[$]=S,w=$}return!z&&w&&(O=w),w||!z&&O},P=function(_,S){if(D(_))return _.clone();var k=typeof S=="object"?S:{};return k.date=_,k.args=arguments,new I(k)},E=A;E.l=V,E.i=D,E.w=function(_,S){return P(_,{locale:S.$L,utc:S.$u,x:S.$x,$offset:S.$offset})};var I=function(){function _(k){this.$L=V(k.locale,null,!0),this.parse(k)}var S=_.prototype;return S.parse=function(k){this.$d=function(z){var w=z.date,j=z.utc;if(w===null)return new Date(NaN);if(E.u(w))return new Date;if(w instanceof Date)return new Date(w);if(typeof w=="string"&&!/Z$/i.test(w)){var N=w.match(b);if(N){var $=N[2]-1||0,G=(N[7]||"0").substring(0,3);return j?new Date(Date.UTC(N[1],$,N[3]||1,N[4]||0,N[5]||0,N[6]||0,G)):new Date(N[1],$,N[3]||1,N[4]||0,N[5]||0,N[6]||0,G)}}return new Date(w)}(k),this.$x=k.x||{},this.init()},S.init=function(){var k=this.$d;this.$y=k.getFullYear(),this.$M=k.getMonth(),this.$D=k.getDate(),this.$W=k.getDay(),this.$H=k.getHours(),this.$m=k.getMinutes(),this.$s=k.getSeconds(),this.$ms=k.getMilliseconds()},S.$utils=function(){return E},S.isValid=function(){return this.$d.toString()!==g},S.isSame=function(k,z){var w=P(k);return this.startOf(z)<=w&&w<=this.endOf(z)},S.isAfter=function(k,z){return P(k)<this.startOf(z)},S.isBefore=function(k,z){return this.endOf(z)<P(k)},S.$g=function(k,z,w){return E.u(k)?this[z]:this.set(w,k)},S.unix=function(){return Math.floor(this.valueOf()/1e3)},S.valueOf=function(){return this.$d.getTime()},S.startOf=function(k,z){var w=this,j=!!E.u(z)||z,N=E.p(k),$=function(zt,K){var ft=E.w(w.$u?Date.UTC(w.$y,K,zt):new Date(w.$y,K,zt),w);return j?ft:ft.endOf(p)},G=function(zt,K){return E.w(w.toDate()[zt].apply(w.toDate("s"),(j?[0,0,0,0]:[23,59,59,999]).slice(K)),w)},L=this.$W,H=this.$M,pt=this.$D,at="set"+(this.$u?"UTC":"");switch(N){case f:return j?$(1,0):$(31,11);case d:return j?$(1,H):$(0,H+1);case m:var It=this.$locale().weekStart||0,Ct=(L<It?L+7:L)-It;return $(j?pt-Ct:pt+(6-Ct),H);case p:case h:return G(at+"Hours",0);case c:return G(at+"Minutes",1);case l:return G(at+"Seconds",2);case s:return G(at+"Milliseconds",3);default:return this.clone()}},S.endOf=function(k){return this.startOf(k,!1)},S.$set=function(k,z){var w,j=E.p(k),N="set"+(this.$u?"UTC":""),$=(w={},w[p]=N+"Date",w[h]=N+"Date",w[d]=N+"Month",w[f]=N+"FullYear",w[c]=N+"Hours",w[l]=N+"Minutes",w[s]=N+"Seconds",w[i]=N+"Milliseconds",w)[j],G=j===p?this.$D+(z-this.$W):z;if(j===d||j===f){var L=this.clone().set(h,1);L.$d[$](G),L.init(),this.$d=L.set(h,Math.min(this.$D,L.daysInMonth())).$d}else $&&this.$d[$](G);return this.init(),this},S.set=function(k,z){return this.clone().$set(k,z)},S.get=function(k){return this[E.p(k)]()},S.add=function(k,z){var w,j=this;k=Number(k);var N=E.p(z),$=function(H){var pt=P(j);return E.w(pt.date(pt.date()+Math.round(H*k)),j)};if(N===d)return this.set(d,this.$M+k);if(N===f)return this.set(f,this.$y+k);if(N===p)return $(1);if(N===m)return $(7);var G=(w={},w[l]=o,w[c]=a,w[s]=r,w)[N]||1,L=this.$d.getTime()+k*G;return E.w(L,this)},S.subtract=function(k,z){return this.add(-1*k,z)},S.format=function(k){var z=this,w=this.$locale();if(!this.isValid())return w.invalidDate||g;var j=k||"YYYY-MM-DDTHH:mm:ssZ",N=E.z(this),$=this.$H,G=this.$m,L=this.$M,H=w.weekdays,pt=w.months,at=function(K,ft,Ve,ne){return K&&(K[ft]||K(z,j))||Ve[ft].slice(0,ne)},It=function(K){return E.s($%12||12,K,"0")},Ct=w.meridiem||function(K,ft,Ve){var ne=K<12?"AM":"PM";return Ve?ne.toLowerCase():ne},zt={YY:String(this.$y).slice(-2),YYYY:this.$y,M:L+1,MM:E.s(L+1,2,"0"),MMM:at(w.monthsShort,L,pt,3),MMMM:at(pt,L),D:this.$D,DD:E.s(this.$D,2,"0"),d:String(this.$W),dd:at(w.weekdaysMin,this.$W,H,2),ddd:at(w.weekdaysShort,this.$W,H,3),dddd:H[this.$W],H:String($),HH:E.s($,2,"0"),h:It(1),hh:It(2),a:Ct($,G,!0),A:Ct($,G,!1),m:String(G),mm:E.s(G,2,"0"),s:String(this.$s),ss:E.s(this.$s,2,"0"),SSS:E.s(this.$ms,3,"0"),Z:N};return j.replace(y,function(K,ft){return ft||zt[K]||N.replace(":","")})},S.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},S.diff=function(k,z,w){var j,N=E.p(z),$=P(k),G=($.utcOffset()-this.utcOffset())*o,L=this-$,H=E.m(this,$);return H=(j={},j[f]=H/12,j[d]=H,j[u]=H/3,j[m]=(L-G)/6048e5,j[p]=(L-G)/864e5,j[c]=L/a,j[l]=L/o,j[s]=L/r,j)[N]||L,w?H:E.a(H)},S.daysInMonth=function(){return this.endOf(d).$D},S.$locale=function(){return T[this.$L]},S.locale=function(k,z){if(!k)return this.$L;var w=this.clone(),j=V(k,z,!0);return j&&(w.$L=j),w},S.clone=function(){return E.w(this.$d,this)},S.toDate=function(){return new Date(this.valueOf())},S.toJSON=function(){return this.isValid()?this.toISOString():null},S.toISOString=function(){return this.$d.toISOString()},S.toString=function(){return this.$d.toUTCString()},_}(),R=I.prototype;return P.prototype=R,[["$ms",i],["$s",s],["$m",l],["$H",c],["$W",p],["$M",d],["$y",f],["$D",h]].forEach(function(_){R[_[1]]=function(S){return this.$g(S,_[0],_[1])}}),P.extend=function(_,S){return _.$i||(_(S,I,P),_.$i=!0),P},P.locale=V,P.isDayjs=D,P.unix=function(_){return P(1e3*_)},P.en=T[O],P.Ls=T,P.p={},P})})(Hr);var Yr=Hr.exports;const X=yt(Yr);var Ur={exports:{}};(function(t,e){(function(r,o){t.exports=o()})(dt,function(){var r="minute",o=/[+-]\d\d(?::?\d\d)?/g,a=/([+-]|\d\d)/g;return function(i,s,l){var c=s.prototype;l.utc=function(g){var b={date:g,utc:!0,args:arguments};return new s(b)},c.utc=function(g){var b=l(this.toDate(),{locale:this.$L,utc:!0});return g?b.add(this.utcOffset(),r):b},c.local=function(){return l(this.toDate(),{locale:this.$L,utc:!1})};var p=c.parse;c.parse=function(g){g.utc&&(this.$u=!0),this.$utils().u(g.$offset)||(this.$offset=g.$offset),p.call(this,g)};var m=c.init;c.init=function(){if(this.$u){var g=this.$d;this.$y=g.getUTCFullYear(),this.$M=g.getUTCMonth(),this.$D=g.getUTCDate(),this.$W=g.getUTCDay(),this.$H=g.getUTCHours(),this.$m=g.getUTCMinutes(),this.$s=g.getUTCSeconds(),this.$ms=g.getUTCMilliseconds()}else m.call(this)};var d=c.utcOffset;c.utcOffset=function(g,b){var y=this.$utils().u;if(y(g))return this.$u?0:y(this.$offset)?d.call(this):this.$offset;if(typeof g=="string"&&(g=function(O){O===void 0&&(O="");var T=O.match(o);if(!T)return null;var D=(""+T[0]).match(a)||["-",0,0],V=D[0],P=60*+D[1]+ +D[2];return P===0?0:V==="+"?P:-P}(g),g===null))return this;var v=Math.abs(g)<=16?60*g:g,x=this;if(b)return x.$offset=v,x.$u=g===0,x;if(g!==0){var A=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(x=this.local().add(v+A,r)).$offset=v,x.$x.$localOffset=A}else x=this.utc();return x};var u=c.format;c.format=function(g){var b=g||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return u.call(this,b)},c.valueOf=function(){var g=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*g},c.isUTC=function(){return!!this.$u},c.toISOString=function(){return this.toDate().toISOString()},c.toString=function(){return this.toDate().toUTCString()};var f=c.toDate;c.toDate=function(g){return g==="s"&&this.$offset?l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():f.call(this)};var h=c.diff;c.diff=function(g,b,y){if(g&&this.$u===g.$u)return h.call(this,g,b,y);var v=this.local(),x=l(g).local();return h.call(v,x,b,y)}}})})(Ur);var es=Ur.exports;const rs=yt(es);var Wr={exports:{}};(function(t,e){(function(r,o){t.exports=o()})(dt,function(){var r={year:0,month:1,day:2,hour:3,minute:4,second:5},o={};return function(a,i,s){var l,c=function(u,f,h){h===void 0&&(h={});var g=new Date(u),b=function(y,v){v===void 0&&(v={});var x=v.timeZoneName||"short",A=y+"|"+x,O=o[A];return O||(O=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:y,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:x}),o[A]=O),O}(f,h);return b.formatToParts(g)},p=function(u,f){for(var h=c(u,f),g=[],b=0;b<h.length;b+=1){var y=h[b],v=y.type,x=y.value,A=r[v];A>=0&&(g[A]=parseInt(x,10))}var O=g[3],T=O===24?0:O,D=g[0]+"-"+g[1]+"-"+g[2]+" "+T+":"+g[4]+":"+g[5]+":000",V=+u;return(s.utc(D).valueOf()-(V-=V%1e3))/6e4},m=i.prototype;m.tz=function(u,f){u===void 0&&(u=l);var h=this.utcOffset(),g=this.toDate(),b=g.toLocaleString("en-US",{timeZone:u}),y=Math.round((g-new Date(b))/1e3/60),v=s(b).$set("millisecond",this.$ms).utcOffset(15*-Math.round(g.getTimezoneOffset()/15)-y,!0);if(f){var x=v.utcOffset();v=v.add(h-x,"minute")}return v.$x.$timezone=u,v},m.offsetName=function(u){var f=this.$x.$timezone||s.tz.guess(),h=c(this.valueOf(),f,{timeZoneName:u}).find(function(g){return g.type.toLowerCase()==="timezonename"});return h&&h.value};var d=m.startOf;m.startOf=function(u,f){if(!this.$x||!this.$x.$timezone)return d.call(this,u,f);var h=s(this.format("YYYY-MM-DD HH:mm:ss:SSS"));return d.call(h,u,f).tz(this.$x.$timezone,!0)},s.tz=function(u,f,h){var g=h&&f,b=h||f||l,y=p(+s(),b);if(typeof u!="string")return s(u).tz(b);var v=function(T,D,V){var P=T-60*D*1e3,E=p(P,V);if(D===E)return[P,D];var I=p(P-=60*(E-D)*1e3,V);return E===I?[P,E]:[T-60*Math.min(E,I)*1e3,Math.max(E,I)]}(s.utc(u,g).valueOf(),y,b),x=v[0],A=v[1],O=s(x).utcOffset(A);return O.$x.$timezone=b,O},s.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},s.tz.setDefault=function(u){l=u}}})})(Wr);var os=Wr.exports;const ns=yt(os);var Kr={exports:{}};(function(t,e){(function(r,o){t.exports=o()})(dt,function(){return function(r,o){var a=o.prototype,i=a.format;a.format=function(s){var l=this,c=this.$locale();if(!this.isValid())return i.bind(this)(s);var p=this.$utils(),m=(s||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,function(d){switch(d){case"Q":return Math.ceil((l.$M+1)/3);case"Do":return c.ordinal(l.$D);case"gggg":return l.weekYear();case"GGGG":return l.isoWeekYear();case"wo":return c.ordinal(l.week(),"W");case"w":case"ww":return p.s(l.week(),d==="w"?1:2,"0");case"W":case"WW":return p.s(l.isoWeek(),d==="W"?1:2,"0");case"k":case"kk":return p.s(String(l.$H===0?24:l.$H),d==="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 d}});return i.bind(this)(m)}}})})(Kr);var as=Kr.exports;const is=yt(as);var Jr={exports:{}};(function(t,e){(function(r,o){t.exports=o()})(dt,function(){return function(r,o){o.prototype.isSameOrBefore=function(a,i){return this.isSame(a,i)||this.isBefore(a,i)}}})})(Jr);var ss=Jr.exports;const ls=yt(ss);var Zr={exports:{}};(function(t,e){(function(r,o){t.exports=o()})(dt,function(){return function(r,o,a){o.prototype.isBetween=function(i,s,l,c){var p=a(i),m=a(s),d=(c=c||"()")[0]==="(",u=c[1]===")";return(d?this.isAfter(p,l):!this.isBefore(p,l))&&(u?this.isBefore(m,l):!this.isAfter(m,l))||(d?this.isBefore(p,l):!this.isAfter(p,l))&&(u?this.isAfter(m,l):!this.isBefore(m,l))}}})})(Zr);var cs=Zr.exports;const us=yt(cs);var qr={exports:{}};(function(t,e){(function(r,o){t.exports=o()})(dt,function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(o,a,i){var s=a.prototype,l=s.format;i.en.formats=r,s.format=function(c){c===void 0&&(c="YYYY-MM-DDTHH:mm:ssZ");var p=this.$locale().formats,m=function(d,u){return d.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(f,h,g){var b=g&&g.toUpperCase();return h||u[g]||r[g]||u[b].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(y,v,x){return v||x.slice(1)})})}(c,p===void 0?{}:p);return l.call(this,m)}}})})(qr);var ds=qr.exports;const ps=yt(ds);var fs={exports:{}};(function(t,e){(function(r,o){t.exports=o(Yr)})(dt,function(r){function o(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var a=o(r),i={name:"hu",weekdays:"vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),weekdaysShort:"vas_hét_kedd_sze_csüt_pén_szo".split("_"),weekdaysMin:"v_h_k_sze_cs_p_szo".split("_"),months:"január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),monthsShort:"jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),ordinal:function(s){return s+"."},weekStart:1,relativeTime:{future:"%s múlva",past:"%s",s:function(s,l,c,p){return"néhány másodperc"+(p||l?"":"e")},m:function(s,l,c,p){return"egy perc"+(p||l?"":"e")},mm:function(s,l,c,p){return s+" perc"+(p||l?"":"e")},h:function(s,l,c,p){return"egy "+(p||l?"óra":"órája")},hh:function(s,l,c,p){return s+" "+(p||l?"óra":"órája")},d:function(s,l,c,p){return"egy "+(p||l?"nap":"napja")},dd:function(s,l,c,p){return s+" "+(p||l?"nap":"napja")},M:function(s,l,c,p){return"egy "+(p||l?"hónap":"hónapja")},MM:function(s,l,c,p){return s+" "+(p||l?"hónap":"hónapja")},y:function(s,l,c,p){return"egy "+(p||l?"év":"éve")},yy:function(s,l,c,p){return s+" "+(p||l?"év":"éve")}},formats:{LT:"H:mm",LTS:"H:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY. MMMM D.",LLL:"YYYY. MMMM D. H:mm",LLLL:"YYYY. MMMM D., dddd H:mm"}};return a.default.locale(i,null,!0),i})})(fs),X.extend(rs),X.extend(ns),X.extend(is),X.extend(ps),X.extend(ls),X.extend(us);const Xr=()=>X.tz.guess(),Oe=(t="",e="",r="",o="hu")=>(r=r||X.tz.guess(),X(t).isValid()?X(t).tz(r).locale(o).format(e):""),Qr=(t="",e="",r="hu")=>{if(!X(t).isValid())return"";e=e||X.tz.guess();const o=new Intl.DateTimeFormat(ms(r),{timeZone:e,timeZoneName:"short"}).formatToParts(new Date(t)).find(a=>a.type==="timeZoneName");return o&&o.value},ms=t=>Ga.get(t),gs=t=>{const e=t.split(":");return parseInt(e[0],10)*60+parseInt(e[1],10)},to=(t,e="",r={})=>{const o=n.ref(""),{t:a}=st(),i=n.computed(()=>{if(n.unref(e))try{const l=hs(n.unref(t),n.unref(e));return Aa(l,n.unref(t))}catch(l){o.value=l}return n.unref(t)}),s=l=>({...l,...l.label&&{label:a(l.label??"",n.unref(r))},...l.tooltip&&{tooltip:a(l.tooltip??"")}});return{columns:n.computed(()=>wt(s,i.value)),error:o}},hs=(t,e="")=>{const r=wt(Yt,Tt(",",e)),o=gt(t);if(r[0]==="")return resolve([]);const a=r.findIndex(i=>!o.includes(i));if(a>-1)throw r[a];return r};class Te extends Error{constructor(e,r={}){const{key:o,cause:a}=r;super(e),this.name="WidgetError",this.key=o,this.cause=a}}const eo={message:"Undefined Column name Message",options:{key:"undefined-column",cause:{}}},Xt={message:"Invalid season name",options:{key:"invalid-season-name",cause:{}}},bs={class:"is-portrait-image"},ys={class:"is-team-name-long"},vs={class:"is-team-name-short"},ws={class:"is-team-name-long"},xs={class:"is-team-name-short"},ks={class:"is-team-name-long"},Ss={class:"is-team-name-short"},zs=["href"],_s={class:"is-team-name-long"},As={class:"is-team-name-short"},Os=["href"],Ts={key:0,class:"is-text-dark"},Es=["href","target"],js={__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:HTMLElement,default:null},offsetName:{type:String,default:""}},emits:["sort"],setup(t,{emit:e}){const r=t,{columns:o,hideColumns:a}=n.toRefs(r),{onError:i}=Ae(),{columns:s,error:l}=to(o,a,n.computed(()=>({offsetName:r.offsetName})));l.value&&i(new Te(eo.message,{...eo.options,cause:{column:l.value}}));const c=p=>e("sort",p);return(p,m)=>(n.openBlock(),n.createBlock(Fr,null,{default:n.withCtx(({el:d})=>[n.createVNode(Br,{columns:n.unref(s),sort:r.sort,rows:r.rows,"is-loading":t.isLoading,"append-to":t.appendTo||d,onSort:c},n.createSlots({"cell-index":n.withCtx(({row:u})=>[n.createElementVNode("span",{class:n.normalizeClass(u.indexClass)},n.toDisplayString(u.index),3)]),"cell-playerPortrait":n.withCtx(({row:u})=>[n.createElementVNode("div",bs,[(n.openBlock(),n.createBlock(qt,{key:u.id||u.playerId,src:u.playerPortrait,"default-src":n.unref(Va)},null,8,["src","default-src"]))])]),"cell-teamLogo":n.withCtx(({row:u})=>{var f,h;return[(n.openBlock(),n.createBlock(qt,{class:"is-logo-image",key:((f=u.team)==null?void 0:f.id)??u.id,src:(h=u.team)==null?void 0:h.logo},null,8,["src"]))]}),"cell-homeTeamLogo":n.withCtx(({row:u})=>{var f,h;return[(n.openBlock(),n.createBlock(qt,{class:"is-logo-image is-right",key:(f=u.homeTeam)==null?void 0:f.id,src:(h=u.homeTeam)==null?void 0:h.logo},null,8,["src"]))]}),"cell-awayTeamLogo":n.withCtx(({row:u})=>{var f,h;return[(n.openBlock(),n.createBlock(qt,{class:"is-logo-image is-right",key:(f=u.awayTeam)==null?void 0:f.id,src:(h=u.awayTeam)==null?void 0:h.logo},null,8,["src"]))]}),"cell-teamName":n.withCtx(({row:u})=>{var f,h;return[n.createElementVNode("span",ys,n.toDisplayString((f=u.team)==null?void 0:f.longName),1),n.createElementVNode("span",vs,n.toDisplayString((h=u.team)==null?void 0:h.shortName),1)]}),"cell-homeTeamName":n.withCtx(({row:u})=>{var f,h;return[n.createElementVNode("span",ws,n.toDisplayString((f=u.homeTeam)==null?void 0:f.longName),1),n.createElementVNode("span",xs,n.toDisplayString((h=u.homeTeam)==null?void 0:h.shortName),1)]}),"cell-awayTeamName":n.withCtx(({row:u})=>{var f,h;return[n.createElementVNode("span",ks,n.toDisplayString((f=u.awayTeam)==null?void 0:f.longName),1),n.createElementVNode("span",Ss,n.toDisplayString((h=u.awayTeam)==null?void 0:h.shortName),1)]}),"cell-location":n.withCtx(({row:u})=>{var f;return[n.createTextVNode(n.toDisplayString(((f=u.location)==null?void 0:f.locationName)??""),1)]}),"cell-gameResult":n.withCtx(({row:u})=>[u.gameStatus===0?(n.openBlock(),n.createElementBlock("span",Ts,"-:-")):(n.openBlock(),n.createElementBlock("a",{key:1,href:t.externalGameResolver(u.gameId),target:t.externalGameResolverTarget,class:n.normalizeClass({"is-text-dark":u.gameStatus!==1,"is-text-accent":u.gameStatus===1})},n.toDisplayString(u.homeTeamScore)+":"+n.toDisplayString(u.awayTeamScore),11,Es))]),loading:n.withCtx(()=>[n.createVNode(ts)]),_:2},[t.isTeamLinked?{name:"cell-teamName",fn:n.withCtx(({row:u})=>{var f,h,g;return[n.createElementVNode("a",{href:t.externalTeamResolver((f=u.team)==null?void 0:f.longName),target:"_blank"},[n.createElementVNode("span",_s,n.toDisplayString((h=u.team)==null?void 0:h.longName),1),n.createElementVNode("span",As,n.toDisplayString((g=u.team)==null?void 0:g.shortName),1)],8,zs)]}),key:"0"}:void 0,t.isPlayerLinked?{name:"cell-name",fn:n.withCtx(({row:u})=>[n.createElementVNode("a",{href:t.externalPlayerResolver(u.id),target:"_blank"},n.toDisplayString(u.name),9,Os)]),key:"1"}:void 0]),1032,["columns","sort","rows","is-loading","append-to"])]),_:1}))}},ro={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:""}},Ns={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:Q}]},gamesPlayed:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gamesPlayed",direction:W}]},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",sortOrders:[{target:"w",direction:W},{target:"otw",direction:W}]},otw:{label:"table.otw.short",tooltip:"table.otw.tooltip",sortOrders:[{target:"otw",direction:W}]},sow:{label:"table.sow.short",tooltip:"table.sow.tooltip",sortOrders:[{target:"sow",direction:W}]},sol:{label:"table.sol.short",tooltip:"table.sol.tooltip",sortOrders:[{target:"sol",direction:W}]},otl:{label:"table.otl.short",tooltip:"table.otl.tooltip",sortOrders:[{target:"otl",direction:Q}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:Q}]},gf:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"gf",direction:W}]},ga:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"ga",direction:Q}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:W}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"points",direction:W},{target:"gd",direction:W},{target:"gf",direction:W}]}},Ps=async(t,e,r)=>{const o=`${Ma}${n.unref(t)}?${Ds(r)}`;return new Promise((a,i)=>{fetch(o,{method:"GET",cache:"no-cache",headers:{"Content-Type":"application/json","X-API-KEY":$s(e)}}).then(s=>s.json()).then(s=>{if(s.error)return i(s);a(s.data)}).catch(s=>{i(s)})})},Ds=t=>Object.keys(t).map(e=>e+"="+t[e]).join("&"),$s=t=>{var e;return t||((e=window.__MJSZ_VBR_WIDGET__)!=null&&e.apiKey?window.__MJSZ_VBR_WIDGET__.apiKey:{}.NODE_ENV!=="production"?"dd8adf5fdb738b3741fa579b5ede5ce69b681f62":"")},St=({options:t={},transform:e=a=>a,onError:r=vt,onSuccess:o=vt})=>{const{path:a,apiKey:i,params:s,resetOnExecute:l=!1}=t,{state:c,error:p,isLoading:m,execute:d}=Ye(()=>Ps(a,i,n.unref(s)).then(u=>e(u)),[],{immediate:!1,resetOnExecute:l,onError:r,onSuccess:o});return{state:c,error:p,isLoading:m,execute:d}};/*! *****************************************************************************
|
|
10
10
|
Copyright (c) Microsoft Corporation.
|
|
11
11
|
|
|
12
12
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -19,12 +19,12 @@ var MjszVbrElementsExtended=function(at,o){"use strict";const X=t=>({}.VITE_CSS_
|
|
|
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 nn(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n,a,i=r.call(t),s=[];try{for(;(e===void 0||e-- >0)&&!(n=i.next()).done;)s.push(n.value)}catch(l){a={error:l}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return s}var on;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(on||(on={}));var vs={type:"xstate.init"};function Ae(t){return t===void 0?[]:[].concat(t)}function an(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 je(t){return function(e){return t===e}}function xs(t){return typeof t=="string"?{type:t}:t}function sn(t,e){return{value:t,context:e,actions:[],changed:!1,matches:je(t)}}function ln(t,e,r){var n=e,a=!1;return[t.filter(function(i){if(i.type==="xstate.assign"){a=!0;var s=Object.assign({},n);return typeof i.assignment=="function"?s=i.assignment(n,r):Object.keys(i.assignment).forEach(function(l){s[l]=typeof i.assignment[l]=="function"?i.assignment[l](n,r):i.assignment[l]}),n=s,!1}return!0}),n,a]}function ks(t,e){e===void 0&&(e={});var r=nn(ln(Ae(t.states[t.initial].entry).map(function(s){return an(s,e.actions)}),t.context,vs),2),n=r[0],a=r[1],i={config:t,_options:e,initialState:{value:t.initial,actions:n,context:a,matches:je(t.initial)},transition:function(s,l){var c,p,d=typeof s=="string"?{value:s,context:t.context}:s,u=d.value,f=d.context,m=xs(l),b=t.states[u];if(b.on){var g=Ae(b.on[m.type]);try{for(var h=function(x){var A=typeof Symbol=="function"&&Symbol.iterator,O=A&&x[A],T=0;if(O)return O.call(x);if(x&&typeof x.length=="number")return{next:function(){return x&&T>=x.length&&(x=void 0),{value:x&&x[T++],done:!x}}};throw new TypeError(A?"Object is not iterable.":"Symbol.iterator is not defined.")}(g),w=h.next();!w.done;w=h.next()){var v=w.value;if(v===void 0)return sn(u,f);var y=typeof v=="string"?{target:v}:v,S=y.target,N=y.actions,$=N===void 0?[]:N,C=y.cond,D=C===void 0?function(){return!0}:C,P=S===void 0,j=S??u,B=t.states[j];if(D(f,m)){var F=nn(ln((P?Ae($):[].concat(b.exit,$,B.entry).filter(function(x){return x})).map(function(x){return an(x,i._options.actions)}),f,m),3),E=F[0],z=F[1],k=F[2],_=S??u;return{value:_,context:z,actions:E,changed:S!==u||E.length>0||k,matches:je(_)}}}}catch(x){c={error:x}}finally{try{w&&!w.done&&(p=h.return)&&p.call(h)}finally{if(c)throw c.error}}}return sn(u,f)}};return i}ks({id:"sort",initial:it,states:{[it]:{on:{DIRECTION1:Ot,DIRECTION2:wt}},[Ot]:{on:{DIRECTION1:wt,DIRECTION2:it}},[wt]:{on:{DIRECTION1:it,DIRECTION2:Ot}}}});const cn=(t=[])=>({result:[...t],filteredRowsLength:0,isFiltered:!1,value(){return{rows:this.result,totalItems:this.filteredRowsLength,totalItems:this.isFiltered?this.filteredRowsLength:t.length}},filter(e,r=[],n=!1){if(e){const a=r.map(s=>n?be(gr(s),Gt(e)):be(Yt(s),ja,ma(e))),i=or(Fo([...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 r=pa(Gt(wt),pr(fr),pr(ia));return this.result=hr(e.orders.map(n=>ea(r(n.direction),Yt)(n.target)))(this.result),this},addIndex(e=null){return this.result.reduce((r,n,a)=>{const i=r[r.length-1]||[],s=e&&i[e]===n[e];return n.index=s?i.index:a+1,n.indexClass=s?"is-duplicated":null,r.push(n),r},[]),this},addContinuousIndex(){return this.result=this.result.map((e,r)=>({...e,index:r+1})),this},pagination(e,r){e=Number(e),r=Number(r);const n=(e-1)*r,a=n+r;return this.result=this.result.slice(n,a),this},playerName(){return this.result=this.result.map(e=>({...e,name:`${e.lastName} ${e.firstName}`})),this},schedule(e="",r="hu"){return this.result=this.result.map(n=>({...n,gameResult:`${n.homeTeamScore}-${n.awayTeamScore}`,gameDateDate:Ee(n.gameDate,"L dddd",e,r),gameDateTime:Ee(n.gameDate,"HH:mm",e,r)})),this},gameDateFilter(e){return e===null?this:(this.result=this.result.filter(r=>new Date(r.gameDate).getMonth()==e),this)},convertTimes(e=[]){return this.result=this.result.map(r=>(e.map(n=>r[n]?r[`${n}Sec`]=ps(r[n]):r),r)),this},groupByDays(){return this.result=ua(e=>Ee(e.gameDate,"YYYY-MM-DD"))(this.result),this}}),zs=(t,e)=>new Date(t.gameDate).getTime()-new Date(e.gameDate).getTime(),un=hr([zs,fr(Yt("id"))]),Ss=(t,e)=>{const r=_s("gameResolver")||t;return typeof r=="function"?r(e):r?r+e:Ia+e},_s=(t="")=>{var e;return(e=window==null?void 0:window.__MJSZ_VBR_WIDGET__)==null?void 0:e[t]},Es={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"},Ns=o.createElementVNode("rect",{x:"2",y:"3",width:"20",height:"14",rx:"2",ry:"2"},null,-1),As=o.createElementVNode("line",{x1:"8",y1:"21",x2:"16",y2:"21"},null,-1),js=o.createElementVNode("line",{x1:"12",y1:"17",x2:"12",y2:"21"},null,-1),Os=[Ns,As,js];function Ps(t,e){return o.openBlock(),o.createElementBlock("svg",Es,Os)}const Ts={render:Ps},$s={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"},Ds=o.createElementVNode("circle",{cx:"12",cy:"12",r:"1"},null,-1),Cs=o.createElementVNode("circle",{cx:"12",cy:"5",r:"1"},null,-1),Bs=o.createElementVNode("circle",{cx:"12",cy:"19",r:"1"},null,-1),Vs=[Ds,Cs,Bs];function Is(t,e){return o.openBlock(),o.createElementBlock("svg",$s,Vs)}const Ms={render:Is},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"},Gs=o.createElementVNode("path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"},null,-1),Rs=o.createElementVNode("rect",{x:"8",y:"2",width:"8",height:"4",rx:"1",ry:"1"},null,-1),Fs=[Gs,Rs];function Hs(t,e){return o.openBlock(),o.createElementBlock("svg",Ls,Fs)}const Ys={render:Hs},Ws={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"},Us=o.createElementVNode("path",{d:"M22.54 6.42a2.78 2.78 0 0 0-1.94-2C18.88 4 12 4 12 4s-6.88 0-8.6.46a2.78 2.78 0 0 0-1.94 2A29 29 0 0 0 1 11.75a29 29 0 0 0 .46 5.33A2.78 2.78 0 0 0 3.4 19c1.72.46 8.6.46 8.6.46s6.88 0 8.6-.46a2.78 2.78 0 0 0 1.94-2 29 29 0 0 0 .46-5.25 29 29 0 0 0-.46-5.33z"},null,-1),Ks=o.createElementVNode("polygon",{points:"9.75 15.02 15.5 11.75 9.75 8.48 9.75 15.02"},null,-1),Zs=[Us,Ks];function Js(t,e){return o.openBlock(),o.createElementBlock("svg",Ws,Zs)}const qs={render:Js},Xs={class:"is-team-name-long"},Qs={class:"is-team-name-short"},tl={class:"is-team-name-long"},el={class:"is-team-name-short"},rl={key:0,class:"is-text-dark"},nl=["href","target"],ol={key:0,class:"label"},al={key:1,class:"label"},il={key:2,class:"label"},sl={key:1},ll=["onClick","onFocus","onBlur"],cl={class:"is-dropdown-menu"},ul=["href","target"],dl={key:0},pl=["href"],fl={__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,r=o.ref(null),{onError:n}=Se(),{columns:a,error:i}=en(hs,e.hideColumns,o.computed(()=>({offsetName:e.offsetName})));Xn(i,()=>n(new Ne(rn.message,{...rn.options,cause:{column:i.value}})),{immediate:!0});const{t:s}=nt();return(l,c)=>(o.openBlock(),o.createElementBlock(o.Fragment,null,[o.createVNode(Wr,null,{default:o.withCtx(({el:p})=>[o.createVNode(Mr,{columns:o.unref(a),rows:e.rows,"is-loading":t.isLoading,"append-to":r.value||p},{"cell-homeTeamName":o.withCtx(({row:d})=>[o.createElementVNode("span",Xs,o.toDisplayString(d.homeTeam.longName),1),o.createElementVNode("span",Qs,o.toDisplayString(d.homeTeam.shortName),1)]),"cell-awayTeamName":o.withCtx(({row:d})=>[o.createElementVNode("span",tl,o.toDisplayString(d.awayTeam.longName),1),o.createElementVNode("span",el,o.toDisplayString(d.awayTeam.shortName),1)]),"cell-homeTeamLogo":o.withCtx(({row:d})=>[(o.openBlock(),o.createBlock(Hr,{class:"is-logo-image is-right",key:d.homeTeam.id,src:d.homeTeam.logo},null,8,["src"]))]),"cell-awayTeamLogo":o.withCtx(({row:d})=>[(o.openBlock(),o.createBlock(Hr,{class:"is-logo-image is-right",key:d.awayTeam.id,src:d.awayTeam.logo},null,8,["src"]))]),"cell-gameResult":o.withCtx(({row:d})=>[d.gameStatus===0?(o.openBlock(),o.createElementBlock("span",rl,"-:-")):(o.openBlock(),o.createElementBlock("a",{key:1,href:t.externalGameResolver(d.gameId),target:t.externalGameResolverTarget,class:o.normalizeClass({"is-text-dark":d.gameStatus!==1,"is-text-accent":d.gameStatus===1})},o.toDisplayString(d.homeTeamScore)+":"+o.toDisplayString(d.awayTeamScore),11,nl))]),"cell-gameResultType":o.withCtx(({row:d})=>[d.isOvertime?(o.openBlock(),o.createElementBlock("span",ol,o.toDisplayString(o.unref(s)("common.overtimeShort")),1)):o.createCommentVNode("",!0),d.isShootout?(o.openBlock(),o.createElementBlock("span",al,o.toDisplayString(o.unref(s)("common.shootoutShort")),1)):o.createCommentVNode("",!0),d.seriesStandings?(o.openBlock(),o.createElementBlock("span",il,o.toDisplayString(d.seriesStandings),1)):o.createCommentVNode("",!0)]),"cell-broadcast":o.withCtx(({row:d})=>[d.broadcast?(o.openBlock(),o.createBlock(o.unref(Ts),{key:0})):(o.openBlock(),o.createElementBlock("span",sl))]),"cell-location":o.withCtx(({row:d})=>{var u;return[o.createTextVNode(o.toDisplayString(((u=d.location)==null?void 0:u.locationName)??""),1)]}),"cell-more":o.withCtx(({row:d})=>[o.createVNode(Ir,{offset:2,placement:"left",theme:"content","append-to":p},{default:o.withCtx(({setRef:u,show:f,hide:m})=>[o.createElementVNode("button",{ref:u,onClick:o.withModifiers(f,["stop"]),onFocus:f,onBlur:m},[o.createVNode(o.unref(Ms))],40,ll)]),content:o.withCtx(()=>[o.createElementVNode("ul",cl,[o.createElementVNode("li",null,[o.createElementVNode("a",{href:t.externalGameResolver(d.gameId),class:"is-dropdown-item",target:t.externalGameResolverTarget},[o.createVNode(o.unref(Ys),{width:"14"}),o.createTextVNode(" "+o.toDisplayString(o.unref(s)("common.report")),1)],8,ul)]),d.video?(o.openBlock(),o.createElementBlock("li",dl,[o.createElementVNode("a",{href:d.video,class:"is-dropdown-item",target:"_blank"},[o.createVNode(o.unref(qs),{width:"14"}),o.createTextVNode(" "+o.toDisplayString(o.unref(s)("common.video")),1)],8,pl)])):o.createCommentVNode("",!0)])]),_:2},1032,["append-to"])]),loading:o.withCtx(()=>[o.createVNode(Yr)]),_:2},1032,["columns","rows","is-loading","append-to"])]),_:1}),o.createElementVNode("div",{ref_key:"tooltipContainer",ref:r},null,512)],64))}};function ml(t){return o.getCurrentScope()?(o.onScopeDispose(t),!0):!1}function dn(t){return typeof t=="function"?t():o.unref(t)}const gl=typeof window<"u",hl=t=>typeof t<"u",Oe=()=>{};function bl(t,e){function r(...n){return new Promise((a,i)=>{Promise.resolve(t(()=>e.apply(this,n),{fn:e,thisArg:this,args:n})).then(a).catch(i)})}return r}const pn=t=>t();function yl(t=pn){const e=o.ref(!0);function r(){e.value=!1}function n(){e.value=!0}const a=(...i)=>{e.value&&t(...i)};return{isActive:o.readonly(e),pause:r,resume:n,eventFilter:a}}var fn=Object.getOwnPropertySymbols,wl=Object.prototype.hasOwnProperty,vl=Object.prototype.propertyIsEnumerable,xl=(t,e)=>{var r={};for(var n in t)wl.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&fn)for(var n of fn(t))e.indexOf(n)<0&&vl.call(t,n)&&(r[n]=t[n]);return r};function kl(t,e,r={}){const n=r,{eventFilter:a=pn}=n,i=xl(n,["eventFilter"]);return o.watch(t,bl(a,e),i)}var zl=Object.defineProperty,Sl=Object.defineProperties,_l=Object.getOwnPropertyDescriptors,Qt=Object.getOwnPropertySymbols,mn=Object.prototype.hasOwnProperty,gn=Object.prototype.propertyIsEnumerable,hn=(t,e,r)=>e in t?zl(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,El=(t,e)=>{for(var r in e||(e={}))mn.call(e,r)&&hn(t,r,e[r]);if(Qt)for(var r of Qt(e))gn.call(e,r)&&hn(t,r,e[r]);return t},Nl=(t,e)=>Sl(t,_l(e)),Al=(t,e)=>{var r={};for(var n in t)mn.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&Qt)for(var n of Qt(t))e.indexOf(n)<0&&gn.call(t,n)&&(r[n]=t[n]);return r};function jl(t,e,r={}){const n=r,{eventFilter:a}=n,i=Al(n,["eventFilter"]),{eventFilter:s,pause:l,resume:c,isActive:p}=yl(a);return{stop:kl(t,e,Nl(El({},i),{eventFilter:s})),pause:l,resume:c,isActive:p}}function Ol(t){var e;const r=dn(t);return(e=r==null?void 0:r.$el)!=null?e:r}const bn=gl?window:void 0;function yn(...t){let e,r,n,a;if(typeof t[0]=="string"||Array.isArray(t[0])?([r,n,a]=t,e=bn):[e,r,n,a]=t,!e)return Oe;Array.isArray(r)||(r=[r]),Array.isArray(n)||(n=[n]);const i=[],s=()=>{i.forEach(d=>d()),i.length=0},l=(d,u,f,m)=>(d.addEventListener(u,f,m),()=>d.removeEventListener(u,f,m)),c=o.watch(()=>[Ol(e),dn(a)],([d,u])=>{s(),d&&i.push(...r.flatMap(f=>n.map(m=>l(d,f,m,u))))},{immediate:!0,flush:"post"}),p=()=>{c(),s()};return ml(p),p}function te(t,e={}){const{interrupt:r=!0,onError:n=Oe,onFinished:a=Oe}=e,i={pending:"pending",rejected:"rejected",fulfilled:"fulfilled"},s=Array.from(new Array(t.length),()=>({state:i.pending,data:null})),l=o.reactive(s),c=o.ref(-1);if(!t||t.length===0)return a(),{activeIndex:c,result:l};function p(d,u){c.value++,l[c.value].data=u,l[c.value].state=d}return t.reduce((d,u)=>d.then(f=>{var m;if(((m=l[c.value])==null?void 0:m.state)===i.rejected&&r){a();return}return u(f).then(b=>(p(i.fulfilled,b),c.value===t.length-1&&a(),b))}).catch(f=>(p(i.rejected,f),n(),f)),Promise.resolve()),{activeIndex:c,result:l}}function Pl(t){return JSON.parse(JSON.stringify(t))}function Tl(t="history",e={}){const{initialValue:r={},removeNullishValues:n=!0,removeFalsyValues:a=!1,write:i=!0,window:s=bn}=e;if(!s)return o.reactive(r);const l=o.reactive({});function c(){if(t==="history")return s.location.search||"";if(t==="hash"){const w=s.location.hash||"",v=w.indexOf("?");return v>0?w.slice(v):""}else return(s.location.hash||"").replace(/^#/,"")}function p(w){const v=w.toString();if(t==="history")return`${v?`?${v}`:""}${s.location.hash||""}`;if(t==="hash-params")return`${s.location.search||""}${v?`#${v}`:""}`;const y=s.location.hash||"#",S=y.indexOf("?");return S>0?`${y.slice(0,S)}${v?`?${v}`:""}`:`${y}${v?`?${v}`:""}`}function d(){return new URLSearchParams(c())}function u(w){const v=new Set(Object.keys(l));for(const y of w.keys()){const S=w.getAll(y);l[y]=S.length>1?S:w.get(y)||"",v.delete(y)}Array.from(v).forEach(y=>delete l[y])}const{pause:f,resume:m}=jl(l,()=>{const w=new URLSearchParams("");Object.keys(l).forEach(v=>{const y=l[v];Array.isArray(y)?y.forEach(S=>w.append(v,S)):n&&y==null||a&&!y?w.delete(v):w.set(v,y)}),b(w)},{deep:!0});function b(w,v){f(),v&&u(w),s.history.replaceState(s.history.state,s.document.title,s.location.pathname+p(w)),m()}function g(){i&&b(d(),!0)}yn(s,"popstate",g,!1),t!=="history"&&yn(s,"hashchange",g,!1);const h=d();return h.keys().next().value?u(h):Object.assign(l,r),l}function $l(t,e,r,n={}){var a,i,s;const{clone:l=!1,passive:c=!1,eventName:p,deep:d=!1,defaultValue:u,shouldEmit:f}=n,m=o.getCurrentInstance(),b=r||(m==null?void 0:m.emit)||((a=m==null?void 0:m.$emit)==null?void 0:a.bind(m))||((s=(i=m==null?void 0:m.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(m==null?void 0:m.proxy));let g=p;e||(e="modelValue"),g=p||g||`update:${e.toString()}`;const h=y=>l?typeof l=="function"?l(y):Pl(y):y,w=()=>hl(t[e])?h(t[e]):u,v=y=>{f?f(y)&&b(g,y):b(g,y)};if(c){const y=w(),S=o.ref(y);return o.watch(()=>t[e],N=>S.value=h(N)),o.watch(S,N=>{(N!==t[e]||d)&&v(N)},{deep:d}),S}else return o.computed({get(){return w()},set(y){v(y)}})}function wn(t,e,r={}){const n={};for(const a in t)n[a]=$l(t,a,e,r);return n}function I(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function Z(t){return function e(r){return arguments.length===0||I(r)?e:t.apply(this,arguments)}}function W(t){return function e(r,n){switch(arguments.length){case 0:return e;case 1:return I(r)?e:Z(function(a){return t(r,a)});default:return I(r)&&I(n)?e:I(r)?Z(function(a){return t(a,n)}):I(n)?Z(function(a){return t(r,a)}):t(r,n)}}}function ee(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(r){return e.apply(this,arguments)};case 2:return function(r,n){return e.apply(this,arguments)};case 3:return function(r,n,a){return e.apply(this,arguments)};case 4:return function(r,n,a,i){return e.apply(this,arguments)};case 5:return function(r,n,a,i,s){return e.apply(this,arguments)};case 6:return function(r,n,a,i,s,l){return e.apply(this,arguments)};case 7:return function(r,n,a,i,s,l,c){return e.apply(this,arguments)};case 8:return function(r,n,a,i,s,l,c,p){return e.apply(this,arguments)};case 9:return function(r,n,a,i,s,l,c,p,d){return e.apply(this,arguments)};case 10:return function(r,n,a,i,s,l,c,p,d,u){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function vn(t,e,r){return function(){for(var n=[],a=0,i=t,s=0;s<e.length||a<arguments.length;){var l;s<e.length&&(!I(e[s])||a>=arguments.length)?l=e[s]:(l=arguments[a],a+=1),n[s]=l,I(l)||(i-=1),s+=1}return i<=0?r.apply(this,n):ee(i,vn(t,n,r))}}var Dl=W(function(e,r){return e===1?Z(r):ee(e,vn(e,[],r))});function Pe(t){return function e(r,n,a){switch(arguments.length){case 0:return e;case 1:return I(r)?e:W(function(i,s){return t(r,i,s)});case 2:return I(r)&&I(n)?e:I(r)?W(function(i,s){return t(i,n,s)}):I(n)?W(function(i,s){return t(r,i,s)}):Z(function(i){return t(r,n,i)});default:return I(r)&&I(n)&&I(a)?e:I(r)&&I(n)?W(function(i,s){return t(i,s,a)}):I(r)&&I(a)?W(function(i,s){return t(i,n,s)}):I(n)&&I(a)?W(function(i,s){return t(r,i,s)}):I(r)?Z(function(i){return t(i,n,a)}):I(n)?Z(function(i){return t(r,i,a)}):I(a)?Z(function(i){return t(r,n,i)}):t(r,n,a)}}}const Te=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function Cl(t){return t!=null&&typeof t["@@transducer/step"]=="function"}function Bl(t,e,r){return function(){if(arguments.length===0)return r();var n=arguments[arguments.length-1];if(!Te(n)){for(var a=0;a<t.length;){if(typeof n[t[a]]=="function")return n[t[a]].apply(n,Array.prototype.slice.call(arguments,0,-1));a+=1}if(Cl(n)){var i=e.apply(null,Array.prototype.slice.call(arguments,0,-1));return i(n)}}return r.apply(this,arguments)}}const xn={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};function $e(t,e){return Object.prototype.hasOwnProperty.call(e,t)}var kn=Object.prototype.toString,Vl=function(){return kn.call(arguments)==="[object Arguments]"?function(e){return kn.call(e)==="[object Arguments]"}:function(e){return $e("callee",e)}}(),Il=!{toString:null}.propertyIsEnumerable("toString"),zn=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],Sn=function(){return arguments.propertyIsEnumerable("length")}(),Ml=function(e,r){for(var n=0;n<e.length;){if(e[n]===r)return!0;n+=1}return!1},Ll=Z(typeof Object.keys=="function"&&!Sn?function(e){return Object(e)!==e?[]:Object.keys(e)}:function(e){if(Object(e)!==e)return[];var r,n,a=[],i=Sn&&Vl(e);for(r in e)$e(r,e)&&(!i||r!=="length")&&(a[a.length]=r);if(Il)for(n=zn.length-1;n>=0;)r=zn[n],$e(r,e)&&!Ml(a,r)&&(a[a.length]=r),n-=1;return a});function Gl(t,e){for(var r=0,n=e.length,a=Array(n);r<n;)a[r]=t(e[r]),r+=1;return a}function Rl(t,e,r){for(var n=0,a=r.length;n<a;)e=t(e,r[n]),n+=1;return e}var Fl=function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=xn.init,t.prototype["@@transducer/result"]=xn.result,t.prototype["@@transducer/step"]=function(e,r){return this.xf["@@transducer/step"](e,this.f(r))},t}(),Hl=function(e){return function(r){return new Fl(e,r)}},Yl=W(Bl(["fantasy-land/map","map"],Hl,function(e,r){switch(Object.prototype.toString.call(r)){case"[object Function]":return Dl(r.length,function(){return e.call(this,r.apply(this,arguments))});case"[object Object]":return Rl(function(n,a){return n[a]=e(r[a]),n},{},Ll(r));default:return Gl(e,r)}}));const _n=Yl,En=Number.isInteger||function(e){return e<<0===e};function De(t){return Object.prototype.toString.call(t)==="[object String]"}var Wl=W(function(e,r){var n=e<0?r.length+e:e;return De(r)?r.charAt(n):r[n]});const Ce=Wl;var Ul=W(function(e,r){if(r!=null)return En(e)?Ce(e,r):r[e]});const Be=Ul;var Kl=Z(function(e){return Te(e)?!0:!e||typeof e!="object"||De(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),Nn=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function Zl(t,e,r){return function(a,i,s){if(Kl(s))return t(a,i,s);if(s==null)return i;if(typeof s["fantasy-land/reduce"]=="function")return e(a,i,s,"fantasy-land/reduce");if(s[Nn]!=null)return r(a,i,s[Nn]());if(typeof s.next=="function")return r(a,i,s);if(typeof s.reduce=="function")return e(a,i,s,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Jl(t,e,r){for(var n=0,a=r.length;n<a;){if(e=t["@@transducer/step"](e,r[n]),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n+=1}return t["@@transducer/result"](e)}var ql=W(function(e,r){return ee(e.length,function(){return e.apply(r,arguments)})});function Xl(t,e,r){for(var n=r.next();!n.done;){if(e=t["@@transducer/step"](e,n.value),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}n=r.next()}return t["@@transducer/result"](e)}function Ql(t,e,r,n){return t["@@transducer/result"](r[n](ql(t["@@transducer/step"],t),e))}var tc=Zl(Jl,Ql,Xl),ec=function(){function t(e){this.f=e}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(e){return e},t.prototype["@@transducer/step"]=function(e,r){return this.f(e,r)},t}();function rc(t){return new ec(t)}var nc=Pe(function(t,e,r){return tc(typeof t=="function"?rc(t):t,e,r)});const oc=nc;function ac(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function An(t,e){return function(){var r=arguments.length;if(r===0)return e();var n=arguments[r-1];return Te(n)||typeof n[t]!="function"?e.apply(this,arguments):n[t].apply(n,Array.prototype.slice.call(arguments,0,r-1))}}var ic=Pe(An("slice",function(e,r,n){return Array.prototype.slice.call(n,e,r)})),sc=Z(An("tail",ic(1,1/0)));const lc=sc;function cc(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return ee(arguments[0].length,oc(ac,arguments[0],lc(arguments)))}var uc=Z(function(e){return De(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()});const dc=uc;function Ve(){if(arguments.length===0)throw new Error("compose requires at least one argument");return cc.apply(this,dc(arguments))}var pc=Ce(0);const Ie=pc;var fc=Pe(function(e,r,n){var a=e(r),i=e(n);return a>i?-1:a<i?1:0});const jn=fc;var mc=W(function(e,r){return e.map(function(n){for(var a=r,i=0,s;i<n.length;){if(a==null)return;s=n[i],a=En(s)?Ce(s,a):a[s],i+=1}return a})}),gc=W(function(e,r){return mc([e],r)[0]});const On=gc;var hc=W(function(e,r){for(var n={},a={},i=0,s=e.length;i<s;)a[e[i]]=1,i+=1;for(var l in r)a.hasOwnProperty(l)||(n[l]=r[l]);return n});const bc=hc;var yc=W(function(e,r){for(var n={},a=0;a<e.length;)e[a]in r&&(n[e[a]]=r[e[a]]),a+=1;return n});const Pn=yc;var wc=W(function(e,r){return Array.prototype.slice.call(r,0).sort(e)});const Tn=wc,vc=(t,e)=>{if(t.length===0)throw new Ne(Xt.message,Xt.options);e.seasons=xc(t),e.championshipId||(e.championshipId=Ie(e.seasons).championshipId)},xc=t=>Ve(Tn(jn(Be("seasonName"))),_n(Pn(["championshipId","seasonName"])))(t),kc=(t,e)=>{var r,n,a;e.championships=t,e.selectedChampionshipId=(r=t==null?void 0:t[0])==null?void 0:r.sectionId,e.phaseId=(a=(n=t==null?void 0:t[0])==null?void 0:n.phases[0])==null?void 0:a.phaseId},zc={__name:"DataProvider",props:{championshipName:{type:String,default:""},championshipId:{type:Number,default:0},limit:{type:Number,default:20},apiKey:{type:String,default:""},locale:{type:String,default:"hu"},timezone:{type:String,default:""}},setup(t){const e=t,r=Tl("history"),n=o.reactive({loading:!1,seasons:[],championshipId:Number(r.championshipId)||0,championships:[],phaseId:null,selectedChampionshipId:null,sections:[],section:r.section||null}),a=o.toRef(e,"timezone"),{onError:i}=Se();o.computed(()=>{switch(n.selectedTeamGameType){case"all":return[["homeTeam","id"],["awayTeam","id"]];case"home":return[["homeTeam","id"]];default:return[["awayTeam","id"]]}});const{isLoading:s,execute:l}=zt({options:{path:"/v2/championship-seasons",apiKey:e.apiKey,params:{championshipName:e.championshipName}},transform:y=>vc(y,n),onError:i}),{isLoading:c,execute:p}=zt({options:{path:"/v2/championship-sections",apiKey:e.apiKey,params:o.computed(()=>({championshipId:n.championshipId}))},transform:y=>kc(y,n),onError:i}),{isLoading:d,state:u,execute:f}=zt({options:{path:"/v2/games-list",apiKey:e.apiKey,params:o.computed(()=>({championshipId:n.championshipId,phaseId:n.phaseId}))},transform:y=>un(y),onError:i}),m=Ke([c,s,d],{delay:1e3});te([l,p,f]);const b=o.computed(()=>{const y=n.championships.find(S=>S.sectionId===n.selectedChampionshipId);return(y==null?void 0:y.phases)??[]}),g=o.computed(()=>cn(o.unref(u)).schedule(o.unref(a),o.unref(e.locale)).value()),h=y=>{n.championshipId=y,r.championshipId=y,te([p,f])},w=y=>{var S;n.selectedChampionshipId=y,n.phaseId=((S=b.value[0])==null?void 0:S.phaseId)??null,f()},v=y=>{n.phaseId=y,f()};return(y,S)=>o.renderSlot(y.$slots,"default",o.normalizeProps(o.guardReactiveProps({...n,games:g.value,phases:b.value,isLoading:o.unref(m),changeSeason:h,changeChampionship:w,changePhase:v})))}},Sc={class:"g-row"},_c=["value"],Ec={__name:"SeasonSelector",props:{seasons:{type:Array,default:()=>[]},championshipId:{type:Number,default:0}},emits:["update:championshipId"],setup(t,{emit:e}){const r=t,{t:n}=nt(),{championshipId:a}=wn(r,e),i=X("label");return(s,l)=>(o.openBlock(),o.createElementBlock("div",Sc,[o.createElementVNode("div",null,[o.createElementVNode("label",{for:"season",class:o.normalizeClass(o.unref(i))},o.toDisplayString(o.unref(n)("selection.season")),3),o.createVNode(o.unref(ne),{id:"season",modelValue:o.unref(a),"onUpdate:modelValue":l[0]||(l[0]=c=>o.isRef(a)?a.value=c:null)},{default:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.seasons,c=>(o.openBlock(),o.createElementBlock("option",{key:c.championshipId,value:c.championshipId},o.toDisplayString(c.seasonName),9,_c))),128))]),_:1},8,["modelValue"])])]))}},Nc={class:"g-row",style:{"column-gap":"8px"}},Ac={key:0,value:null},jc=["value"],Oc={__name:"Selector",props:{phases:{type:Array,default:()=>[]},phaseId:{type:Number,default:null}},emits:["update:phaseId"],setup(t,{emit:e}){const r=t,{t:n}=nt(),{phaseId:a}=wn(r,e),i=X("label");return(s,l)=>(o.openBlock(),o.createElementBlock("div",Nc,[o.createElementVNode("div",null,[o.createElementVNode("label",{for:"phases",class:o.normalizeClass(o.unref(i))},o.toDisplayString(o.unref(n)("selection.phases")),3),o.createVNode(o.unref(ne),{id:"phases",modelValue:o.unref(a),"onUpdate:modelValue":l[0]||(l[0]=c=>o.isRef(a)?a.value=c:null),disabled:o.unref(a)===null},{default:o.withCtx(()=>[o.unref(a)===null?(o.openBlock(),o.createElementBlock("option",Ac,o.toDisplayString(o.unref(n)("selection.noPhases")),1)):o.createCommentVNode("",!0),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.phases,c=>(o.openBlock(),o.createElementBlock("option",{key:c.phaseId,value:c.phaseId},o.toDisplayString(c.phaseName),9,jc))),128))]),_:1},8,["modelValue","disabled"])])]))}},$n={schedule:"Sorsolás",registration:"Jelentkezés",selection:{report:"Riport",video:"Videó",season:"Szezon",section:"Szakasz",phases:"Szakaszok",noPhases:"Nincsenek szakaszok",teams:"Csapatok",filterName:"Szűrés névre",players:"Játékosok",month:"Hónap",homeOrAway:"Hazai vagy Vendég",home:"Hazai",away:"Vendég"},report:{points:"Pontok",goals:"Gólok",assists:"Gólpasszok",penalties:"Büntetések",goalies:"Kapusok",goaliesLimit:"Kapusok 40% jégidő alatt",teamAttendance:"Nézőszám",teamFairplay:"Büntetések",teamPenaltyKilling:"Emberhátrányok",teamPowerplay:"Emberelőnyök",teamScoringEfficiency:"Hatékonyság"},playoffs:{Negyeddöntő1:"Negyeddöntő 1",Negyeddöntő2:"Negyeddöntő 2",Negyeddöntő3:"Negyeddöntő 3",Negyeddöntő4:"Negyeddöntő 4",Elődöntő1:"Elődöntő 1",Elődöntő2:"Elődöntő 2",Döntő:"Döntő"},table:{section:{short:"Szakasz",tooltip:"Szakasz"},organizer:{short:"Rendező",tooltip:"Rendező csapat"},document:{short:"Dokumentum",tooltip:"Jelentkezés/Sorsolás"}}},Dn={schedule:"Schedule",registration:"Application form",selection:{report:"Report",video:"Video",season:"Season",section:"Section",phases:"Phases",noPhases:"No Phases",teams:"Teams",filterName:"Filter by Name",players:"Players",month:"Month",homeOrAway:"Home or Away",home:"Home",away:"Away"},report:{points:"Points",goals:"Goals",assists:"Assists",penalties:"Penalties",goalies:"Goalies",goaliesLimit:"Goalies under 40%",teamAttendance:"Attendance",teamFairplay:"Fairplay",teamPenaltyKilling:"Penalty Killing",teamPowerplay:"Powerplay",teamScoringEfficiency:"Scoring Efficiency"},playoffs:{Negyeddöntő1:"Quarterfinal 1",Negyeddöntő2:"Quarterfinal 2",Negyeddöntő3:"Quarterfinal 3",Negyeddöntő4:"Quarterfinal 4",Elődöntő1:"Semifinal 1",Elődöntő2:"Semifinal 2",Döntő:"Final"},table:{section:{short:"Section",tooltip:"Section"},organizer:{short:"Organizer",tooltip:"Organizer Team"},document:{short:"Document",tooltip:"Application Form/Schedule"}}},Cn=`h1,h2,h3,ul,li,dl,dt,dd{margin:0;padding:0}button{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0;border-width:0;-webkit-appearance:button;background-color:transparent;background-image:none;cursor:pointer}ol,ul{list-style:none}:root,:host{font-family:Roboto Condensed,Avenir,Helvetica,Arial,sans-serif;--vbr-widget-primary-color-0: #ffffff;--vbr-widget-primary-color-50: #eceff1;--vbr-widget-primary-color-100: #cfd8dc;--vbr-widget-primary-color-200: #b0bec5;--vbr-widget-primary-color-300: #90a4ae;--vbr-widget-primary-color-400: #78909c;--vbr-widget-primary-color-500: #607d8b;--vbr-widget-primary-color-600: #546e7a;--vbr-widget-primary-color-700: #455a64;--vbr-widget-primary-color-800: #37474f;--vbr-widget-primary-color-900: #263238;--vbr-widget-secondary-color-100: #dcedc8;--vbr-widget-secondary-color-200: #badb94;--vbr-widget-secondary-color-300: #aed581;--vbr-widget-secondary-color-400: #9ccc65;--vbr-widget-secondary-color-500: #8bc34a;--vbr-widget-secondary-color-700: #689f38;--vbr-widget-secondary-color-800: #558b2f;--vbr-widget-secondary-color-900: #33691e;--vbr-widget-danger-color-50: #ffebee;--vbr-widget-danger-color-100: #ffcdd2;--vbr-widget-danger-color-200: #ef9a9a;--vbr-widget-danger-color-300: #e57373;--vbr-widget-danger-color-400: #ef5350;--vbr-widget-danger-color-500: #f44336;--vbr-widget-danger-color-700: #d32f2f;--vbr-widget-danger-color-900: #b71c1c;--vbr-widget-danger-color-a400: #ff1744;--vbr-widget-live-game-color: #8bc34a;--vbr-widget-table-header-font-size: 12px;--vbr-widget-table-default-column-width: 30px;--vbr-widget-table-default-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-neutral-color: var(--vbr-widget-primary-color-300);--vbr-widget-table-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-header-hover-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-color: var(--vbr-widget-primary-color-200);--vbr-widget-table-table-header-active-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-table-active-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-table-active-even-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-table-active-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-hover-bg-color: var(--vbr-widget-secondary-color-400);--vbr-widget-table-portrait-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-table-portrait-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-light-color: var(--vbr-widget-primary-color-600);--vbr-widget-table-cell-dark-color: var(--vbr-widget-primary-color-900);--vbr-widget-table-stripped-bg-color: #f8f9fa;--vbr-widget-table-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-table-label-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-logo-size: 20px;--vbr-widget-table-cell-portrait-size: 26px;--vbr-widget-paginator-color: var(--vbr-widget-primary-color-500);--vbr-widget-paginator-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-hover-color: var(--vbr-widget-primary-color-700);--vbr-widget-paginator-hover-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-active-bg-color: var(--vbr-widget-primary-color-900);--vbr-widget-paginator-disabled-color: var(--vbr-widget-primary-color-200);--vbr-widget-tooltip-font-size: 12px;--vbr-widget-tooltip-color: #ffffff;--vbr-widget-tooltip-bg-color: #000000;--vbr-widget-popover-trigger-hover-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-popover-trigger-focus-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-popover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-dropdown-item-color: var(--vbr-widget-primary-color-500);--vbr-widget-dropdown-item-hover-color: var(--vbr-widget-primary-color-800);--vbr-widget-dropdown-item-hover-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-error-notice-bg-color: var(--vbr-widget-danger-color-50);--vbr-widget-error-notice-border-color: var(--vbr-widget-danger-color-100);--vbr-widget-error-notice-color: var(--vbr-widget-danger-color-700);--vbr-widget-link-color: var(--vbr-widget-secondary-color-700);--vbr-widget-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-base-input-color: var(--vbr-widget-primary-color-800);--vbr-widget-base-input-font-size: .875rem;--vbr-widget-base-input-border-color: var(--vbr-widget-primary-color-300);--vbr-widget-base-input-border-radius: 3px;--vbr-widget-form-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-form-label-font-size: .75rem;--vbr-widget-timezone-selector-color: var(--vbr-widget-primary-color-500);--vbr-widget-timezone-selector-font-size: .8125rem;--vbr-widget-badge-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-badge-color: var(--vbr-widget-primary-color-400);--vbr-widget-badge-font-size: .625rem;--vbr-widget-badge-large-font-size: .6875rem;--vbr-widget-tab-btn-padding: .625rem 1rem;--vbr-widget-tab-btn-font-size: 1rem;--vbr-widget-tab-btn-font-weight: 500;--vbr-widget-tab-btn-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-color: var(--vbr-widget-primary-color-300);--vbr-widget-tab-btn-border-color: transparent;--vbr-widget-tab-btn-border-style: solid;--vbr-widget-tab-btn-border-width: 0 0 3px 0;--vbr-widget-tab-btn-text-transform: uppercase;--vbr-widget-tab-btn-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-tab-btn-hover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-hover-border-color: transparent;--vbr-widget-tab-btn-active-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-active-color: var(--vbr-widget-primary-color-900);--vbr-widget-tab-btn-active-border-color: var(--vbr-widget-secondary-color-500);--vbr-widget-progress-height: 10px;--vbr-widget-progress-border-radius: 5px;--vbr-widget-progress-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-progress-bar-color: var(--vbr-widget-live-game-color);--vbr-widget-progress-bar-stripe-color: rgba(255, 255, 255, .2);--vbr-widget-progress-bar-stripe-angle: 45deg;--vbr-widget-gamecenter-result-size: 6rem;--vbr-widget-gamecenter-result-weight: 700;--vbr-widget-gamecenter-result-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-size: 1.3125rem;--vbr-widget-gamecenter-teamname-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-weight: 700;--vbr-widget-gamecenter-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-title-size: 1rem;--vbr-widget-gamecenter-title-weight: 700;--vbr-widget-gamecenter-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-gamedate-size: 1rem;--vbr-widget-gamecenter-local-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-local-gamedate-size: .8125rem;--vbr-widget-gamecenter-gamestatus-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-gamestatus-size: .9375rem;--vbr-widget-gamecenter-periodresults-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-periodresults-size: 1.3125rem;--vbr-widget-gamecenter-period-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-period-header-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-period-header-size: .8125rem;--vbr-widget-gamecenter-period-header-weight: 500;--vbr-widget-gamecenter-stats-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-gamecenter-stats-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-stats-title-size: .8125rem;--vbr-widget-gamecenter-stats-title-color: var(--vbr-widget-primary-color-400);--vbr-widget-gamecenter-stats-size: 1rem;--vbr-widget-gamecenter-stats-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-team-container-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-events-evented-person-size: 1rem;--vbr-widget-gamecenter-events-evented-person-weight: 500;--vbr-widget-gamecenter-events-assitst-list-size: .9375rem;--vbr-widget-gamecenter-events-poi-list-size: .75rem;--vbr-widget-gamecenter-events-score-size: 1rem;--vbr-widget-gamecenter-events-penalty-size: .875rem;--vbr-widget-gamecenter-events-goalie-direction-size: .875rem}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .25s ease}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}img{opacity:0;transition:opacity .5s ease-out}img.is-loaded{opacity:1}a{color:var(--vbr-widget-link-color);text-decoration:none}a:hover{color:var(--vbr-widget-hover-color)}.floating-content.is-tooltip{background-color:var(--vbr-widget-tooltip-bg-color);color:var(--vbr-widget-tooltip-color);font-weight:700;padding:5px 10px;border-radius:4px;font-size:var(--vbr-widget-tooltip-font-size);white-space:nowrap;pointer-events:none}.floating-content.is-tooltip .is-arrow{background-color:var(--vbr-widget-tooltip-bg-color)}.floating-content.is-content{border-radius:4px;box-shadow:2px 14px 23px #00000040}.floating-content.is-content .is-arrow{background-color:var(--vbr-widget-primary-color-50)}.floating-content .is-arrow{position:absolute;width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] .floating-content .is-arrow{bottom:-4px}[data-placement^=bottom] .floating-content .is-arrow{top:-4px}[data-placement^=left] .floating-content .is-arrow{right:-4px}[data-placement^=right] .floating-content .is-arrow{left:-4px}.mjsz-vbr-error-notice{display:flex;align-items:center;justify-items:flex-start;margin:10px 0;padding:10px 20px;background-color:var(--vbr-widget-error-notice-bg-color);color:var(--vbr-widget-error-notice-color);border:1px solid var(--vbr-widget-error-notice-border-color)}.mjsz-vbr-error-notice .icon{margin-right:15px}.mjsz-vbr-timezone-selector{padding:3px 0;color:var(--vbr-widget-timezone-selector-color);font-size:var(--vbr-widget-timezone-selector-font-size);font-weight:500}.mjsz-vbr-timezone-selector .is-active{font-weight:700}.is-badge{display:inline-block;padding:.125rem .25rem;color:var(--vbr-widget-badge-color);font-size:var(--vbr-widget-badge-font-size);font-weight:700;text-transform:uppercase;background-color:var(--vbr-widget-badge-bg-color);border-radius:3px}.is-badge+.is-badge{margin-left:3px}.is-badge.is-invert{color:var(--vbr-widget-badge-bg-color);background-color:var(--vbr-widget-badge-color)}.is-badge.is-green{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-live-game-color)}.is-badge.is-large{font-size:var(--vbr-widget-badge-large-font-size);padding:.15rem .35rem}
|
|
23
|
-
`,
|
|
24
|
-
`,
|
|
25
|
-
`,
|
|
26
|
-
`,
|
|
27
|
-
`,
|
|
28
|
-
`,
|
|
29
|
-
`,
|
|
30
|
-
`,
|
|
22
|
+
***************************************************************************** */function oo(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var o,a,i=r.call(t),s=[];try{for(;(e===void 0||e-- >0)&&!(o=i.next()).done;)s.push(o.value)}catch(l){a={error:l}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return s}var no;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(no||(no={}));var Is={type:"xstate.init"};function Ee(t){return t===void 0?[]:[].concat(t)}function ao(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 je(t){return function(e){return t===e}}function Cs(t){return typeof t=="string"?{type:t}:t}function io(t,e){return{value:t,context:e,actions:[],changed:!1,matches:je(t)}}function so(t,e,r){var o=e,a=!1;return[t.filter(function(i){if(i.type==="xstate.assign"){a=!0;var s=Object.assign({},o);return typeof i.assignment=="function"?s=i.assignment(o,r):Object.keys(i.assignment).forEach(function(l){s[l]=typeof i.assignment[l]=="function"?i.assignment[l](o,r):i.assignment[l]}),o=s,!1}return!0}),o,a]}function Ms(t,e){e===void 0&&(e={});var r=oo(so(Ee(t.states[t.initial].entry).map(function(s){return ao(s,e.actions)}),t.context,Is),2),o=r[0],a=r[1],i={config:t,_options:e,initialState:{value:t.initial,actions:o,context:a,matches:je(t.initial)},transition:function(s,l){var c,p,m=typeof s=="string"?{value:s,context:t.context}:s,d=m.value,u=m.context,f=Cs(l),h=t.states[d];if(h.on){var g=Ee(h.on[f.type]);try{for(var b=function(w){var j=typeof Symbol=="function"&&Symbol.iterator,N=j&&w[j],$=0;if(N)return N.call(w);if(w&&typeof w.length=="number")return{next:function(){return w&&$>=w.length&&(w=void 0),{value:w&&w[$++],done:!w}}};throw new TypeError(j?"Object is not iterable.":"Symbol.iterator is not defined.")}(g),y=b.next();!y.done;y=b.next()){var v=y.value;if(v===void 0)return io(d,u);var x=typeof v=="string"?{target:v}:v,A=x.target,O=x.actions,T=O===void 0?[]:O,D=x.cond,V=D===void 0?function(){return!0}:D,P=A===void 0,E=A??d,I=t.states[E];if(V(u,f)){var R=oo(so((P?Ee(T):[].concat(h.exit,T,I.entry).filter(function(w){return w})).map(function(w){return ao(w,i._options.actions)}),u,f),3),_=R[0],S=R[1],k=R[2],z=A??d;return{value:z,context:S,actions:_,changed:A!==d||_.length>0||k,matches:je(z)}}}}catch(w){c={error:w}}finally{try{y&&!y.done&&(p=b.return)&&p.call(b)}finally{if(c)throw c.error}}}return io(d,u)}};return i}const Bs=Ms({id:"sort",initial:lt,states:{[lt]:{on:{DIRECTION1:W,DIRECTION2:Q}},[W]:{on:{DIRECTION1:Q,DIRECTION2:lt}},[Q]:{on:{DIRECTION1:lt,DIRECTION2:W}}}}),Vs=(t,e)=>{const r=e===Q?"DIRECTION2":"DIRECTION1";return Bs.transition(t,r).value};function Ls(t={}){const{sortTarget:e=null,orders:r=[]}=t,o=n.reactive({sortTarget:e,orders:r});return{sort:o,change:({target:a,orders:i})=>{if(o.sortTarget!==a){o.sortTarget=a,o.orders=i;return}const s=i.map((l,c)=>({...l,direction:Vs(o.orders[c].direction,l.direction)}));o.sortTarget=a,o.orders=s}}}const lo=(t=[])=>({result:[...t],filteredRowsLength:0,isFiltered:!1,value(){return{rows:this.result,totalItems:this.filteredRowsLength,totalItems:this.isFiltered?this.filteredRowsLength:t.length}},filter(e,r=[],o=!1){if(e){const a=r.map(s=>o?ve(gr(s),Lt(e)):ve(Ht(s),ja,ga(e))),i=nr(Hn([...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===lt)return this;const r=fa(Lt(Q),pr(fr),pr(sa));return this.result=hr(e.orders.map(o=>ra(r(o.direction),Ht)(o.target)))(this.result),this},addIndex(e=null){return this.result.reduce((r,o,a)=>{const i=r[r.length-1]||[],s=e&&i[e]===o[e];return o.index=s?i.index:a+1,o.indexClass=s?"is-duplicated":null,r.push(o),r},[]),this},addContinuousIndex(){return this.result=this.result.map((e,r)=>({...e,index:r+1})),this},pagination(e,r){e=Number(e),r=Number(r);const o=(e-1)*r,a=o+r;return this.result=this.result.slice(o,a),this},playerName(){return this.result=this.result.map(e=>({...e,name:`${e.lastName} ${e.firstName}`})),this},schedule(e="",r="hu"){return this.result=this.result.map(o=>({...o,gameResult:`${o.homeTeamScore}-${o.awayTeamScore}`,gameDateDate:Oe(o.gameDate,"L dddd",e,r),gameDateTime:Oe(o.gameDate,"HH:mm",e,r)})),this},gameDateFilter(e){return e===null?this:(this.result=this.result.filter(r=>new Date(r.gameDate).getMonth()==e),this)},convertTimes(e=[]){return this.result=this.result.map(r=>(e.map(o=>r[o]?r[`${o}Sec`]=gs(r[o]):r),r)),this},groupByDays(){return this.result=da(e=>Oe(e.gameDate,"YYYY-MM-DD"))(this.result),this}}),Gs=(t,e)=>new Date(t.gameDate).getTime()-new Date(e.gameDate).getTime(),co=hr([Gs,fr(Ht("id"))]),Rs=(t,e)=>{const r=uo("gameResolver")||t;return typeof r=="function"?r(e):r?r+e:Ba+e},Fs=(t,e)=>{const r=uo("teamResolver")||t;return typeof r=="function"?r(e):encodeURI(r?r+e:La+e)},uo=(t="")=>{var e;return(e=window==null?void 0:window.__MJSZ_VBR_WIDGET__)==null?void 0:e[t]};function Hs(t){return n.getCurrentScope()?(n.onScopeDispose(t),!0):!1}function po(t){return typeof t=="function"?t():n.unref(t)}const Ys=typeof window<"u",Us=t=>typeof t<"u",Ne=()=>{};function Ws(t,e){function r(...o){return new Promise((a,i)=>{Promise.resolve(t(()=>e.apply(this,o),{fn:e,thisArg:this,args:o})).then(a).catch(i)})}return r}const fo=t=>t();function Ks(t=fo){const e=n.ref(!0);function r(){e.value=!1}function o(){e.value=!0}const a=(...i)=>{e.value&&t(...i)};return{isActive:n.readonly(e),pause:r,resume:o,eventFilter:a}}var mo=Object.getOwnPropertySymbols,Js=Object.prototype.hasOwnProperty,Zs=Object.prototype.propertyIsEnumerable,qs=(t,e)=>{var r={};for(var o in t)Js.call(t,o)&&e.indexOf(o)<0&&(r[o]=t[o]);if(t!=null&&mo)for(var o of mo(t))e.indexOf(o)<0&&Zs.call(t,o)&&(r[o]=t[o]);return r};function Xs(t,e,r={}){const o=r,{eventFilter:a=fo}=o,i=qs(o,["eventFilter"]);return n.watch(t,Ws(a,e),i)}var Qs=Object.defineProperty,tl=Object.defineProperties,el=Object.getOwnPropertyDescriptors,Qt=Object.getOwnPropertySymbols,go=Object.prototype.hasOwnProperty,ho=Object.prototype.propertyIsEnumerable,bo=(t,e,r)=>e in t?Qs(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,rl=(t,e)=>{for(var r in e||(e={}))go.call(e,r)&&bo(t,r,e[r]);if(Qt)for(var r of Qt(e))ho.call(e,r)&&bo(t,r,e[r]);return t},ol=(t,e)=>tl(t,el(e)),nl=(t,e)=>{var r={};for(var o in t)go.call(t,o)&&e.indexOf(o)<0&&(r[o]=t[o]);if(t!=null&&Qt)for(var o of Qt(t))e.indexOf(o)<0&&ho.call(t,o)&&(r[o]=t[o]);return r};function al(t,e,r={}){const o=r,{eventFilter:a}=o,i=nl(o,["eventFilter"]),{eventFilter:s,pause:l,resume:c,isActive:p}=Ks(a);return{stop:Xs(t,e,ol(rl({},i),{eventFilter:s})),pause:l,resume:c,isActive:p}}function il(t){var e;const r=po(t);return(e=r==null?void 0:r.$el)!=null?e:r}const yo=Ys?window:void 0;function vo(...t){let e,r,o,a;if(typeof t[0]=="string"||Array.isArray(t[0])?([r,o,a]=t,e=yo):[e,r,o,a]=t,!e)return Ne;Array.isArray(r)||(r=[r]),Array.isArray(o)||(o=[o]);const i=[],s=()=>{i.forEach(m=>m()),i.length=0},l=(m,d,u,f)=>(m.addEventListener(d,u,f),()=>m.removeEventListener(d,u,f)),c=n.watch(()=>[il(e),po(a)],([m,d])=>{s(),m&&i.push(...r.flatMap(u=>o.map(f=>l(m,u,f,d))))},{immediate:!0,flush:"post"}),p=()=>{c(),s()};return Hs(p),p}function te(t,e={}){const{interrupt:r=!0,onError:o=Ne,onFinished:a=Ne}=e,i={pending:"pending",rejected:"rejected",fulfilled:"fulfilled"},s=Array.from(new Array(t.length),()=>({state:i.pending,data:null})),l=n.reactive(s),c=n.ref(-1);if(!t||t.length===0)return a(),{activeIndex:c,result:l};function p(m,d){c.value++,l[c.value].data=d,l[c.value].state=m}return t.reduce((m,d)=>m.then(u=>{var f;if(((f=l[c.value])==null?void 0:f.state)===i.rejected&&r){a();return}return d(u).then(h=>(p(i.fulfilled,h),c.value===t.length-1&&a(),h))}).catch(u=>(p(i.rejected,u),o(),u)),Promise.resolve()),{activeIndex:c,result:l}}function sl(t){return JSON.parse(JSON.stringify(t))}function ll(t="history",e={}){const{initialValue:r={},removeNullishValues:o=!0,removeFalsyValues:a=!1,write:i=!0,window:s=yo}=e;if(!s)return n.reactive(r);const l=n.reactive({});function c(){if(t==="history")return s.location.search||"";if(t==="hash"){const y=s.location.hash||"",v=y.indexOf("?");return v>0?y.slice(v):""}else return(s.location.hash||"").replace(/^#/,"")}function p(y){const v=y.toString();if(t==="history")return`${v?`?${v}`:""}${s.location.hash||""}`;if(t==="hash-params")return`${s.location.search||""}${v?`#${v}`:""}`;const x=s.location.hash||"#",A=x.indexOf("?");return A>0?`${x.slice(0,A)}${v?`?${v}`:""}`:`${x}${v?`?${v}`:""}`}function m(){return new URLSearchParams(c())}function d(y){const v=new Set(Object.keys(l));for(const x of y.keys()){const A=y.getAll(x);l[x]=A.length>1?A:y.get(x)||"",v.delete(x)}Array.from(v).forEach(x=>delete l[x])}const{pause:u,resume:f}=al(l,()=>{const y=new URLSearchParams("");Object.keys(l).forEach(v=>{const x=l[v];Array.isArray(x)?x.forEach(A=>y.append(v,A)):o&&x==null||a&&!x?y.delete(v):y.set(v,x)}),h(y)},{deep:!0});function h(y,v){u(),v&&d(y),s.history.replaceState(s.history.state,s.document.title,s.location.pathname+p(y)),f()}function g(){i&&h(m(),!0)}vo(s,"popstate",g,!1),t!=="history"&&vo(s,"hashchange",g,!1);const b=m();return b.keys().next().value?d(b):Object.assign(l,r),l}function cl(t,e,r,o={}){var a,i,s;const{clone:l=!1,passive:c=!1,eventName:p,deep:m=!1,defaultValue:d,shouldEmit:u}=o,f=n.getCurrentInstance(),h=r||(f==null?void 0:f.emit)||((a=f==null?void 0:f.$emit)==null?void 0:a.bind(f))||((s=(i=f==null?void 0:f.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(f==null?void 0:f.proxy));let g=p;e||(e="modelValue"),g=p||g||`update:${e.toString()}`;const b=x=>l?typeof l=="function"?l(x):sl(x):x,y=()=>Us(t[e])?b(t[e]):d,v=x=>{u?u(x)&&h(g,x):h(g,x)};if(c){const x=y(),A=n.ref(x);return n.watch(()=>t[e],O=>A.value=b(O)),n.watch(A,O=>{(O!==t[e]||m)&&v(O)},{deep:m}),A}else return n.computed({get(){return y()},set(x){v(x)}})}function wo(t,e,r={}){const o={};for(const a in t)o[a]=cl(t,a,e,r);return o}function M(t){return t!=null&&typeof t=="object"&&t["@@functional/placeholder"]===!0}function Z(t){return function e(r){return arguments.length===0||M(r)?e:t.apply(this,arguments)}}function Y(t){return function e(r,o){switch(arguments.length){case 0:return e;case 1:return M(r)?e:Z(function(a){return t(r,a)});default:return M(r)&&M(o)?e:M(r)?Z(function(a){return t(a,o)}):M(o)?Z(function(a){return t(r,a)}):t(r,o)}}}function ee(t,e){switch(t){case 0:return function(){return e.apply(this,arguments)};case 1:return function(r){return e.apply(this,arguments)};case 2:return function(r,o){return e.apply(this,arguments)};case 3:return function(r,o,a){return e.apply(this,arguments)};case 4:return function(r,o,a,i){return e.apply(this,arguments)};case 5:return function(r,o,a,i,s){return e.apply(this,arguments)};case 6:return function(r,o,a,i,s,l){return e.apply(this,arguments)};case 7:return function(r,o,a,i,s,l,c){return e.apply(this,arguments)};case 8:return function(r,o,a,i,s,l,c,p){return e.apply(this,arguments)};case 9:return function(r,o,a,i,s,l,c,p,m){return e.apply(this,arguments)};case 10:return function(r,o,a,i,s,l,c,p,m,d){return e.apply(this,arguments)};default:throw new Error("First argument to _arity must be a non-negative integer no greater than ten")}}function xo(t,e,r){return function(){for(var o=[],a=0,i=t,s=0;s<e.length||a<arguments.length;){var l;s<e.length&&(!M(e[s])||a>=arguments.length)?l=e[s]:(l=arguments[a],a+=1),o[s]=l,M(l)||(i-=1),s+=1}return i<=0?r.apply(this,o):ee(i,xo(t,o,r))}}var ul=Y(function(e,r){return e===1?Z(r):ee(e,xo(e,[],r))});function Pe(t){return function e(r,o,a){switch(arguments.length){case 0:return e;case 1:return M(r)?e:Y(function(i,s){return t(r,i,s)});case 2:return M(r)&&M(o)?e:M(r)?Y(function(i,s){return t(i,o,s)}):M(o)?Y(function(i,s){return t(r,i,s)}):Z(function(i){return t(r,o,i)});default:return M(r)&&M(o)&&M(a)?e:M(r)&&M(o)?Y(function(i,s){return t(i,s,a)}):M(r)&&M(a)?Y(function(i,s){return t(i,o,s)}):M(o)&&M(a)?Y(function(i,s){return t(r,i,s)}):M(r)?Z(function(i){return t(i,o,a)}):M(o)?Z(function(i){return t(r,i,a)}):M(a)?Z(function(i){return t(r,o,i)}):t(r,o,a)}}}const De=Array.isArray||function(e){return e!=null&&e.length>=0&&Object.prototype.toString.call(e)==="[object Array]"};function dl(t){return t!=null&&typeof t["@@transducer/step"]=="function"}function pl(t,e,r){return function(){if(arguments.length===0)return r();var o=arguments[arguments.length-1];if(!De(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(dl(o)){var i=e.apply(null,Array.prototype.slice.call(arguments,0,-1));return i(o)}}return r.apply(this,arguments)}}const ko={init:function(){return this.xf["@@transducer/init"]()},result:function(t){return this.xf["@@transducer/result"](t)}};function $e(t,e){return Object.prototype.hasOwnProperty.call(e,t)}var So=Object.prototype.toString,fl=function(){return So.call(arguments)==="[object Arguments]"?function(e){return So.call(e)==="[object Arguments]"}:function(e){return $e("callee",e)}}(),ml=!{toString:null}.propertyIsEnumerable("toString"),zo=["constructor","valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],_o=function(){return arguments.propertyIsEnumerable("length")}(),gl=function(e,r){for(var o=0;o<e.length;){if(e[o]===r)return!0;o+=1}return!1},hl=Z(typeof Object.keys=="function"&&!_o?function(e){return Object(e)!==e?[]:Object.keys(e)}:function(e){if(Object(e)!==e)return[];var r,o,a=[],i=_o&&fl(e);for(r in e)$e(r,e)&&(!i||r!=="length")&&(a[a.length]=r);if(ml)for(o=zo.length-1;o>=0;)r=zo[o],$e(r,e)&&!gl(a,r)&&(a[a.length]=r),o-=1;return a});function bl(t,e){for(var r=0,o=e.length,a=Array(o);r<o;)a[r]=t(e[r]),r+=1;return a}function yl(t,e,r){for(var o=0,a=r.length;o<a;)e=t(e,r[o]),o+=1;return e}var vl=function(){function t(e,r){this.xf=r,this.f=e}return t.prototype["@@transducer/init"]=ko.init,t.prototype["@@transducer/result"]=ko.result,t.prototype["@@transducer/step"]=function(e,r){return this.xf["@@transducer/step"](e,this.f(r))},t}(),wl=function(e){return function(r){return new vl(e,r)}},xl=Y(pl(["fantasy-land/map","map"],wl,function(e,r){switch(Object.prototype.toString.call(r)){case"[object Function]":return ul(r.length,function(){return e.call(this,r.apply(this,arguments))});case"[object Object]":return yl(function(o,a){return o[a]=e(r[a]),o},{},hl(r));default:return bl(e,r)}}));const Ao=xl,Oo=Number.isInteger||function(e){return e<<0===e};function Ie(t){return Object.prototype.toString.call(t)==="[object String]"}var kl=Y(function(e,r){var o=e<0?r.length+e:e;return Ie(r)?r.charAt(o):r[o]});const Ce=kl;var Sl=Y(function(e,r){if(r!=null)return Oo(e)?Ce(e,r):r[e]});const re=Sl;var zl=Z(function(e){return De(e)?!0:!e||typeof e!="object"||Ie(e)?!1:e.length===0?!0:e.length>0?e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1):!1}),To=typeof Symbol<"u"?Symbol.iterator:"@@iterator";function _l(t,e,r){return function(a,i,s){if(zl(s))return t(a,i,s);if(s==null)return i;if(typeof s["fantasy-land/reduce"]=="function")return e(a,i,s,"fantasy-land/reduce");if(s[To]!=null)return r(a,i,s[To]());if(typeof s.next=="function")return r(a,i,s);if(typeof s.reduce=="function")return e(a,i,s,"reduce");throw new TypeError("reduce: list must be array or iterable")}}function Al(t,e,r){for(var o=0,a=r.length;o<a;){if(e=t["@@transducer/step"](e,r[o]),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}o+=1}return t["@@transducer/result"](e)}var Ol=Y(function(e,r){return ee(e.length,function(){return e.apply(r,arguments)})});function Tl(t,e,r){for(var o=r.next();!o.done;){if(e=t["@@transducer/step"](e,o.value),e&&e["@@transducer/reduced"]){e=e["@@transducer/value"];break}o=r.next()}return t["@@transducer/result"](e)}function El(t,e,r,o){return t["@@transducer/result"](r[o](Ol(t["@@transducer/step"],t),e))}var jl=_l(Al,El,Tl),Nl=function(){function t(e){this.f=e}return t.prototype["@@transducer/init"]=function(){throw new Error("init not implemented on XWrap")},t.prototype["@@transducer/result"]=function(e){return e},t.prototype["@@transducer/step"]=function(e,r){return this.f(e,r)},t}();function Pl(t){return new Nl(t)}var Dl=Pe(function(t,e,r){return jl(typeof t=="function"?Pl(t):t,e,r)});const $l=Dl;function Il(t,e){return function(){return e.call(this,t.apply(this,arguments))}}function Eo(t,e){return function(){var r=arguments.length;if(r===0)return e();var o=arguments[r-1];return De(o)||typeof o[t]!="function"?e.apply(this,arguments):o[t].apply(o,Array.prototype.slice.call(arguments,0,r-1))}}var Cl=Pe(Eo("slice",function(e,r,o){return Array.prototype.slice.call(o,e,r)})),Ml=Z(Eo("tail",Cl(1,1/0)));const Bl=Ml;function Vl(){if(arguments.length===0)throw new Error("pipe requires at least one argument");return ee(arguments[0].length,$l(Il,arguments[0],Bl(arguments)))}var Ll=Z(function(e){return Ie(e)?e.split("").reverse().join(""):Array.prototype.slice.call(e,0).reverse()});const Gl=Ll;function Me(){if(arguments.length===0)throw new Error("compose requires at least one argument");return Vl.apply(this,Gl(arguments))}var Rl=Ce(0);const Be=Rl;var Fl=Pe(function(e,r,o){var a=e(r),i=e(o);return a>i?-1:a<i?1:0});const jo=Fl;var Hl=Y(function(e,r){return e.map(function(o){for(var a=r,i=0,s;i<o.length;){if(a==null)return;s=o[i],a=Oo(s)?Ce(s,a):a[s],i+=1}return a})}),Yl=Y(function(e,r){return Hl([e],r)[0]});const No=Yl;var Ul=Y(function(e,r){for(var o={},a={},i=0,s=e.length;i<s;)a[e[i]]=1,i+=1;for(var l in r)a.hasOwnProperty(l)||(o[l]=r[l]);return o});const Wl=Ul;var Kl=Y(function(e,r){for(var o={},a=0;a<e.length;)e[a]in r&&(o[e[a]]=r[e[a]]),a+=1;return o});const Po=Kl;var Jl=Y(function(e,r){return Array.prototype.slice.call(r,0).sort(e)});const Do=Jl;var Zl=Y(function(e,r){return Array.prototype.slice.call(r,0).sort(function(o,a){var i=e(o),s=e(a);return i<s?-1:i>s?1:0})});const ql=Zl,Xl=(t,e)=>{if(t.length===0)throw new Te(Xt.message,Xt.options);e.seasons=Ql(t),e.championshipId||(e.championshipId=Be(e.seasons).championshipId)},Ql=t=>Me(Do(jo(re("seasonName"))),Ao(Po(["championshipId","seasonName"])))(t),oe="schedule",$o="standings",tc=(t,e)=>{var r,o,a;e.championships=ql(re("sectionName"))(t),e.selectedChampionshipId=(r=t==null?void 0:t[0])==null?void 0:r.sectionId,e.phaseId=(a=(o=t==null?void 0:t[0])==null?void 0:o.phases[0])==null?void 0:a.phaseId},ec=t=>t.map(e=>{var r;return{...e,phaseName:[e.phaseName,((r=e.phaseSubType)==null?void 0:r.phaseSubTypeName)??""].join(" ")}}),rc=new Map().set("schedule",{api:"/v2/games-list",columns:ro,sort:{}}).set("standings",{api:"/v2/standings",columns:Ns,sort:{}}),oc={__name:"DataProvider",props:{championshipName:{type:String,default:""},championshipId:{type:Number,default:0},limit:{type:Number,default:20},apiKey:{type:String,default:""},locale:{type:String,default:"hu"},timezone:{type:String,default:""}},setup(t){const e=t,r=ll("history"),o=n.reactive({loading:!1,seasons:[],championshipId:Number(r.championshipId)||0,championships:[],phaseId:null,selectedChampionshipId:null,sections:[],section:r.section||null,selectedPanel:oe,api:"/v2/games-list",columns:ro,sort:null}),a=n.toRef(e,"timezone"),{onError:i}=Ae(),{sort:s,change:l}=Ls({sortTarget:"",orders:[]}),{isLoading:c,execute:p}=St({options:{path:"/v2/championship-seasons",apiKey:e.apiKey,params:{championshipName:e.championshipName}},transform:T=>Xl(T,o),onError:i}),{isLoading:m,execute:d}=St({options:{path:"/v2/championship-sections",apiKey:e.apiKey,params:n.computed(()=>({championshipId:o.championshipId}))},transform:T=>tc(T,o),onError:i}),{isLoading:u,state:f,execute:h}=St({options:{path:n.computed(()=>o.api),apiKey:e.apiKey,resetOnExecute:!0,params:n.computed(()=>({championshipId:o.championshipId,phaseId:o.phaseId}))},transform:T=>co(T),onError:i}),g=Ke([m,c,u],{delay:1e3});te([p,d,h]);const b=n.computed(()=>{const T=o.championships.find(D=>D.sectionId===o.selectedChampionshipId);return ec((T==null?void 0:T.phases)??[])}),y=n.computed(()=>lo(n.unref(f)).sorted(s).addContinuousIndex().schedule(n.unref(a),n.unref(e.locale)).value()),v=T=>{o.championshipId=T,r.championshipId=T,te([d,h])},x=T=>{var D;o.selectedChampionshipId=T,o.phaseId=((D=b.value[0])==null?void 0:D.phaseId)??null,h()},A=T=>{o.phaseId=T,h()},O=T=>{const D=rc.get(T);o.selectedPanel=T,o.api=D.api,o.columns=D.columns,h()};return(T,D)=>n.renderSlot(T.$slots,"default",n.normalizeProps(n.guardReactiveProps({...o,sort:n.unref(s),phases:b.value,isLoading:n.unref(g),games:y.value,onSort:n.unref(l),changePanel:O,changePhase:A,changeSeason:v,changeChampionship:x})))}},nc={class:"g-row"},ac=["value"],ic={__name:"SeasonSelector",props:{seasons:{type:Array,default:()=>[]},championshipId:{type:Number,default:0}},emits:["update:championshipId"],setup(t,{emit:e}){const r=t,{t:o}=st(),{championshipId:a}=wo(r,e),i=rt("label");return(s,l)=>(n.openBlock(),n.createElementBlock("div",nc,[n.createElementVNode("div",null,[n.createElementVNode("label",{for:"season",class:n.normalizeClass(n.unref(i))},n.toDisplayString(n.unref(o)("selection.season")),3),n.createVNode(n.unref(ae),{id:"season",modelValue:n.unref(a),"onUpdate:modelValue":l[0]||(l[0]=c=>n.isRef(a)?a.value=c:null)},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(t.seasons,c=>(n.openBlock(),n.createElementBlock("option",{key:c.championshipId,value:c.championshipId},n.toDisplayString(c.seasonName),9,ac))),128))]),_:1},8,["modelValue"])])]))}},sc={class:"g-row",style:{"column-gap":"8px"}},lc={key:0,value:null},cc=["value"],uc={__name:"Selector",props:{phases:{type:Array,default:()=>[]},phaseId:{type:Number,default:null}},emits:["update:phaseId"],setup(t,{emit:e}){const r=t,{t:o}=st(),{phaseId:a}=wo(r,e),i=rt("label");return(s,l)=>(n.openBlock(),n.createElementBlock("div",sc,[n.createElementVNode("div",null,[n.createElementVNode("label",{for:"phases",class:n.normalizeClass(n.unref(i))},n.toDisplayString(n.unref(o)("selection.phases")),3),n.createVNode(n.unref(ae),{id:"phases",modelValue:n.unref(a),"onUpdate:modelValue":l[0]||(l[0]=c=>n.isRef(a)?a.value=c:null),disabled:n.unref(a)===null},{default:n.withCtx(()=>[n.unref(a)===null?(n.openBlock(),n.createElementBlock("option",lc,n.toDisplayString(n.unref(o)("selection.noPhases")),1)):n.createCommentVNode("",!0),(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(t.phases,c=>(n.openBlock(),n.createElementBlock("option",{key:c.phaseId,value:c.phaseId},n.toDisplayString(c.phaseName),9,cc))),128))]),_:1},8,["modelValue","disabled"])])]))}},Io={schedule:"Sorsolás",registration:"Jelentkezés",selection:{report:"Riport",video:"Videó",season:"Szezon",section:"Szakasz",phases:"Szakaszok",noPhases:"Nincsenek szakaszok",teams:"Csapatok",filterName:"Szűrés névre",players:"Játékosok",month:"Hónap",homeOrAway:"Hazai vagy Vendég",home:"Hazai",away:"Vendég"},report:{points:"Pontok",goals:"Gólok",assists:"Gólpasszok",penalties:"Büntetések",goalies:"Kapusok",goaliesLimit:"Kapusok 40% jégidő alatt",teamAttendance:"Nézőszám",teamFairplay:"Büntetések",teamPenaltyKilling:"Emberhátrányok",teamPowerplay:"Emberelőnyök",teamScoringEfficiency:"Hatékonyság"},playoffs:{Negyeddöntő1:"Negyeddöntő 1",Negyeddöntő2:"Negyeddöntő 2",Negyeddöntő3:"Negyeddöntő 3",Negyeddöntő4:"Negyeddöntő 4",Elődöntő1:"Elődöntő 1",Elődöntő2:"Elődöntő 2",Döntő:"Döntő"},table:{section:{short:"Szakasz",tooltip:"Szakasz"},organizer:{short:"Rendező",tooltip:"Rendező csapat"},document:{short:"Dokumentum",tooltip:"Jelentkezés/Sorsolás"}}},Co={schedule:"Schedule",registration:"Application form",selection:{report:"Report",video:"Video",season:"Season",section:"Section",phases:"Phases",noPhases:"No Phases",teams:"Teams",filterName:"Filter by Name",players:"Players",month:"Month",homeOrAway:"Home or Away",home:"Home",away:"Away"},report:{points:"Points",goals:"Goals",assists:"Assists",penalties:"Penalties",goalies:"Goalies",goaliesLimit:"Goalies under 40%",teamAttendance:"Attendance",teamFairplay:"Fairplay",teamPenaltyKilling:"Penalty Killing",teamPowerplay:"Powerplay",teamScoringEfficiency:"Scoring Efficiency"},playoffs:{Negyeddöntő1:"Quarterfinal 1",Negyeddöntő2:"Quarterfinal 2",Negyeddöntő3:"Quarterfinal 3",Negyeddöntő4:"Quarterfinal 4",Elődöntő1:"Semifinal 1",Elődöntő2:"Semifinal 2",Döntő:"Final"},table:{section:{short:"Section",tooltip:"Section"},organizer:{short:"Organizer",tooltip:"Organizer Team"},document:{short:"Document",tooltip:"Application Form/Schedule"}}},Mo=`h1,h2,h3,ul,li,dl,dt,dd{margin:0;padding:0}button{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0;border-width:0;-webkit-appearance:button;background-color:transparent;background-image:none;cursor:pointer}ol,ul{list-style:none}:root,:host{font-family:Roboto Condensed,Avenir,Helvetica,Arial,sans-serif;--vbr-widget-primary-color-0: #ffffff;--vbr-widget-primary-color-50: #eceff1;--vbr-widget-primary-color-100: #cfd8dc;--vbr-widget-primary-color-200: #b0bec5;--vbr-widget-primary-color-300: #90a4ae;--vbr-widget-primary-color-400: #78909c;--vbr-widget-primary-color-500: #607d8b;--vbr-widget-primary-color-600: #546e7a;--vbr-widget-primary-color-700: #455a64;--vbr-widget-primary-color-800: #37474f;--vbr-widget-primary-color-900: #263238;--vbr-widget-secondary-color-100: #dcedc8;--vbr-widget-secondary-color-200: #badb94;--vbr-widget-secondary-color-300: #aed581;--vbr-widget-secondary-color-400: #9ccc65;--vbr-widget-secondary-color-500: #8bc34a;--vbr-widget-secondary-color-700: #689f38;--vbr-widget-secondary-color-800: #558b2f;--vbr-widget-secondary-color-900: #33691e;--vbr-widget-danger-color-50: #ffebee;--vbr-widget-danger-color-100: #ffcdd2;--vbr-widget-danger-color-200: #ef9a9a;--vbr-widget-danger-color-300: #e57373;--vbr-widget-danger-color-400: #ef5350;--vbr-widget-danger-color-500: #f44336;--vbr-widget-danger-color-700: #d32f2f;--vbr-widget-danger-color-900: #b71c1c;--vbr-widget-danger-color-a400: #ff1744;--vbr-widget-live-game-color: #8bc34a;--vbr-widget-table-header-font-size: 12px;--vbr-widget-table-default-column-width: 30px;--vbr-widget-table-default-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-neutral-color: var(--vbr-widget-primary-color-300);--vbr-widget-table-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-table-header-hover-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-color: var(--vbr-widget-primary-color-200);--vbr-widget-table-table-header-active-bg-color: var(--vbr-widget-primary-color-700);--vbr-widget-table-header-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-table-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-hover-bg-color: var(--vbr-widget-secondary-color-100);--vbr-widget-table-active-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-table-active-even-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-table-active-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-table-active-hover-bg-color: var(--vbr-widget-secondary-color-400);--vbr-widget-table-portrait-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-table-portrait-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-light-color: var(--vbr-widget-primary-color-600);--vbr-widget-table-cell-dark-color: var(--vbr-widget-primary-color-900);--vbr-widget-table-stripped-bg-color: #f8f9fa;--vbr-widget-table-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-table-label-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-table-cell-logo-size: 20px;--vbr-widget-table-cell-portrait-size: 26px;--vbr-widget-paginator-color: var(--vbr-widget-primary-color-500);--vbr-widget-paginator-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-hover-color: var(--vbr-widget-primary-color-700);--vbr-widget-paginator-hover-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-paginator-active-color: var(--vbr-widget-primary-color-0);--vbr-widget-paginator-active-bg-color: var(--vbr-widget-primary-color-900);--vbr-widget-paginator-disabled-color: var(--vbr-widget-primary-color-200);--vbr-widget-tooltip-font-size: 12px;--vbr-widget-tooltip-color: #ffffff;--vbr-widget-tooltip-bg-color: #000000;--vbr-widget-popover-trigger-hover-bg-color: var(--vbr-widget-secondary-color-200);--vbr-widget-popover-trigger-focus-bg-color: var(--vbr-widget-secondary-color-300);--vbr-widget-popover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-dropdown-item-color: var(--vbr-widget-primary-color-500);--vbr-widget-dropdown-item-hover-color: var(--vbr-widget-primary-color-800);--vbr-widget-dropdown-item-hover-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-error-notice-bg-color: var(--vbr-widget-danger-color-50);--vbr-widget-error-notice-border-color: var(--vbr-widget-danger-color-100);--vbr-widget-error-notice-color: var(--vbr-widget-danger-color-700);--vbr-widget-link-color: var(--vbr-widget-secondary-color-700);--vbr-widget-hover-color: var(--vbr-widget-secondary-color-900);--vbr-widget-base-input-color: var(--vbr-widget-primary-color-800);--vbr-widget-base-input-font-size: .875rem;--vbr-widget-base-input-border-color: var(--vbr-widget-primary-color-300);--vbr-widget-base-input-border-radius: 3px;--vbr-widget-form-label-color: var(--vbr-widget-primary-color-500);--vbr-widget-form-label-font-size: .75rem;--vbr-widget-timezone-selector-color: var(--vbr-widget-primary-color-500);--vbr-widget-timezone-selector-font-size: .8125rem;--vbr-widget-badge-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-badge-color: var(--vbr-widget-primary-color-400);--vbr-widget-badge-font-size: .625rem;--vbr-widget-badge-large-font-size: .6875rem;--vbr-widget-tab-btn-padding: .625rem 1rem;--vbr-widget-tab-btn-font-size: 1rem;--vbr-widget-tab-btn-font-weight: 500;--vbr-widget-tab-btn-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-color: var(--vbr-widget-primary-color-300);--vbr-widget-tab-btn-border-color: transparent;--vbr-widget-tab-btn-border-style: solid;--vbr-widget-tab-btn-border-width: 0 0 3px 0;--vbr-widget-tab-btn-text-transform: uppercase;--vbr-widget-tab-btn-hover-color: var(--vbr-widget-primary-color-500);--vbr-widget-tab-btn-hover-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-hover-border-color: transparent;--vbr-widget-tab-btn-active-bg-color: var(--vbr-widget-primary-color-0);--vbr-widget-tab-btn-active-color: var(--vbr-widget-primary-color-900);--vbr-widget-tab-btn-active-border-color: var(--vbr-widget-secondary-color-500);--vbr-widget-progress-height: 10px;--vbr-widget-progress-border-radius: 5px;--vbr-widget-progress-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-progress-bar-color: var(--vbr-widget-live-game-color);--vbr-widget-progress-bar-stripe-color: rgba(255, 255, 255, .2);--vbr-widget-progress-bar-stripe-angle: 45deg;--vbr-widget-gamecenter-result-size: 6rem;--vbr-widget-gamecenter-result-weight: 700;--vbr-widget-gamecenter-result-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-size: 1.3125rem;--vbr-widget-gamecenter-teamname-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-teamname-weight: 700;--vbr-widget-gamecenter-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-title-size: 1rem;--vbr-widget-gamecenter-title-weight: 700;--vbr-widget-gamecenter-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-gamedate-size: 1rem;--vbr-widget-gamecenter-local-gamedate-color: var(--vbr-widget-primary-color-500);--vbr-widget-gamecenter-local-gamedate-size: .8125rem;--vbr-widget-gamecenter-gamestatus-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-gamestatus-size: .9375rem;--vbr-widget-gamecenter-periodresults-color: var(--vbr-widget-primary-color-600);--vbr-widget-gamecenter-periodresults-size: 1.3125rem;--vbr-widget-gamecenter-period-header-bg-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-period-header-color: var(--vbr-widget-primary-color-0);--vbr-widget-gamecenter-period-header-size: .8125rem;--vbr-widget-gamecenter-period-header-weight: 500;--vbr-widget-gamecenter-stats-bg-color: var(--vbr-widget-primary-color-50);--vbr-widget-gamecenter-stats-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-stats-title-size: .8125rem;--vbr-widget-gamecenter-stats-title-color: var(--vbr-widget-primary-color-400);--vbr-widget-gamecenter-stats-size: 1rem;--vbr-widget-gamecenter-stats-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-color: var(--vbr-widget-primary-color-800);--vbr-widget-gamecenter-team-container-title-bg-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-team-container-border-color: var(--vbr-widget-primary-color-100);--vbr-widget-gamecenter-events-evented-person-size: 1rem;--vbr-widget-gamecenter-events-evented-person-weight: 500;--vbr-widget-gamecenter-events-assitst-list-size: .9375rem;--vbr-widget-gamecenter-events-poi-list-size: .75rem;--vbr-widget-gamecenter-events-score-size: 1rem;--vbr-widget-gamecenter-events-penalty-size: .875rem;--vbr-widget-gamecenter-events-goalie-direction-size: .875rem}.transition-fade-enter-active,.transition-fade-leave-active{transition:all .25s ease}.transition-fade-enter-from,.transition-fade-leave-to{opacity:0;transform:translateY(5px)}img{opacity:0;transition:opacity .5s ease-out}img.is-loaded{opacity:1}a{color:var(--vbr-widget-link-color);text-decoration:none}a:hover{color:var(--vbr-widget-hover-color)}.floating-content.is-tooltip{background-color:var(--vbr-widget-tooltip-bg-color);color:var(--vbr-widget-tooltip-color);font-weight:700;padding:5px 10px;border-radius:4px;font-size:var(--vbr-widget-tooltip-font-size);white-space:nowrap;pointer-events:none}.floating-content.is-tooltip .is-arrow{background-color:var(--vbr-widget-tooltip-bg-color)}.floating-content.is-content{border-radius:4px;box-shadow:2px 14px 23px #00000040}.floating-content.is-content .is-arrow{background-color:var(--vbr-widget-primary-color-50)}.floating-content .is-arrow{position:absolute;width:8px;height:8px;transform:rotate(45deg)}[data-placement^=top] .floating-content .is-arrow{bottom:-4px}[data-placement^=bottom] .floating-content .is-arrow{top:-4px}[data-placement^=left] .floating-content .is-arrow{right:-4px}[data-placement^=right] .floating-content .is-arrow{left:-4px}.mjsz-vbr-error-notice{display:flex;align-items:center;justify-items:flex-start;margin:10px 0;padding:10px 20px;background-color:var(--vbr-widget-error-notice-bg-color);color:var(--vbr-widget-error-notice-color);border:1px solid var(--vbr-widget-error-notice-border-color)}.mjsz-vbr-error-notice .icon{margin-right:15px}.mjsz-vbr-timezone-selector{padding:3px 0;color:var(--vbr-widget-timezone-selector-color);font-size:var(--vbr-widget-timezone-selector-font-size);font-weight:500}.mjsz-vbr-timezone-selector .is-active{font-weight:700}.is-badge{display:inline-block;padding:.125rem .25rem;color:var(--vbr-widget-badge-color);font-size:var(--vbr-widget-badge-font-size);font-weight:700;text-transform:uppercase;background-color:var(--vbr-widget-badge-bg-color);border-radius:3px}.is-badge+.is-badge{margin-left:3px}.is-badge.is-invert{color:var(--vbr-widget-badge-bg-color);background-color:var(--vbr-widget-badge-color)}.is-badge.is-green{color:var(--vbr-widget-primary-color-0);background-color:var(--vbr-widget-live-game-color)}.is-badge.is-large{font-size:var(--vbr-widget-badge-large-font-size);padding:.15rem .35rem}
|
|
23
|
+
`,Bo=`.is-text-right{text-align:right}.is-text-center{text-align:center}.is-text-bold{font-weight:700}.is-text-italic{font-style:italic}.is-text-xs{font-size:.75rem;line-height:1rem}.is-text-sm{font-size:.875rem;line-height:1.25rem}.is-text-base{font-size:1rem;line-height:1.5rem}.is-text-lg{font-size:1.125rem;line-height:1.75rem}.is-text-xl{font-size:1.25rem;line-height:1.75rem}.is-uppercase{text-transform:uppercase}.is-opacity-20{opacity:.2}.is-opacity-30{opacity:.3}.is-opacity-50{opacity:.5}.is-mb-5{margin-bottom:1rem}
|
|
24
|
+
`,Vo=`.mjsz-vbr-base-input{padding:.375rem .75rem;font-family:inherit;color:var(--vbr-widget-base-input-color);border:1px solid var(--vbr-widget-base-input-border-color);border-radius:var(--vbr-widget-base-input-border-radius);width:100%;-moz-padding-start:calc(.75rem - 3px);font-size:var(--vbr-widget-base-input-font-size);font-weight:400;line-height:1.5;background-color:#fff;transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out;appearance:none}.mjsz-vbr-base-input:disabled{opacity:.3}.mjsz-vbr-base-input.is-select{padding-right:2.25rem;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .75rem center;background-size:16px 12px}label{display:block;margin-bottom:3px;color:var(--vbr-widget-form-label-color);font-size:var(--vbr-widget-form-label-font-size);font-weight:700;text-transform:uppercase}.mjsz-vbr-tab-button{padding:var(--vbr-widget-tab-btn-padding);font-family:inherit;font-size:var(--vbr-widget-tab-btn-font-size);font-weight:var(--vbr-widget-tab-btn-font-weight);color:var(--vbr-widget-tab-btn-color);text-transform:var(--vbr-widget-tab-btn-text-transform);background-color:var(--vbr-widget-tab-btn-bg-color);border-color:var(--vbr-widget-tab-btn-border-color);border-width:var(--vbr-widget-tab-btn-border-width);border-style:var(--vbr-widget-tab-btn-border-style);outline:none;box-shadow:none;cursor:pointer}.mjsz-vbr-tab-button:hover{color:var(--vbr-widget-tab-btn-hover-color);border-color:var(--vbr-widget-tab-btn-hover-border-color);background-color:var(--vbr-widget-tab-btn-hover-bg-color)}.mjsz-vbr-tab-button.is-active{color:var(--vbr-widget-tab-btn-active-color);border-color:var(--vbr-widget-tab-btn-active-border-color);background-color:var(--vbr-widget-tab-btn-active-bg-color)}
|
|
25
|
+
`,Lo=`.g-row{display:flex}.g-row-wrap{display:flex;flex-wrap:wrap}.g-col{flex:1 0 0%}[class^=g-col-]{flex:0 0 auto}.g-col-6{width:50%}.g-col-5{width:41.66666667%}.g-col-3{width:25%}.g-col-auto{width:auto}.g-gap-normal{gap:20px}
|
|
26
|
+
`,Go=`.mjsz-vbr-table-responsive{container-name:table-wrapper;container-type:inline-size;width:100%;overflow-x:auto}.mjsz-vbr-table-responsive table{width:100%}
|
|
27
|
+
`,Ro=`.mjsz-vbr-table{border-collapse:collapse;border-spacing:0}.mjsz-vbr-table table,.mjsz-vbr-table caption,.mjsz-vbr-table tbody,.mjsz-vbr-table tfoot,.mjsz-vbr-table thead,.mjsz-vbr-table tr,.mjsz-vbr-table th,.mjsz-vbr-table td{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}.mjsz-vbr-table{color:var(--vbr-widget-table-color);background-color:var(--vbr-widget-table-default-bg-color)}.mjsz-vbr-table th{width:var(--vbr-widget-table-default-column-width);background-color:var(--vbr-widget-table-header-bg-color);font-size:var(--vbr-widget-table-header-font-size);font-weight:700;color:var(--vbr-widget-table-header-color);text-align:center}.mjsz-vbr-table th:focus-visible,.mjsz-vbr-table th:hover{background-color:var(--vbr-widget-table-header-hover-bg-color);outline:none}.mjsz-vbr-table th.is-sortable{position:relative;cursor:pointer}.mjsz-vbr-table th.is-sortable .icon-sort{opacity:.5}.mjsz-vbr-table th.is-active{background-color:var(--vbr-widget-table-table-header-active-bg-color);color:var(--vbr-widget-table-header-active-color)}.mjsz-vbr-table th.is-active .icon-sort{opacity:1}.mjsz-vbr-table th.is-asc,.mjsz-vbr-table th.is-desc{position:relative}.mjsz-vbr-table th.is-w-auto{width:auto}.mjsz-vbr-table th .is-icon-sort{width:11px;height:11px;margin-left:5px}.mjsz-vbr-table td{text-align:center}.mjsz-vbr-table td.is-active{font-weight:700;color:var(--vbr-widget-table-active-color);background-color:var(--vbr-widget-table-active-bg-color)}.mjsz-vbr-table td .is-text-light,.mjsz-vbr-table td.is-text-light{color:var(--vbr-widget-table-cell-light-color)}.mjsz-vbr-table td .is-text-dark,.mjsz-vbr-table td.is-text-dark{color:var(--vbr-widget-table-cell-dark-color)}.mjsz-vbr-table td .is-logo-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-logo-size);height:var(--vbr-widget-table-cell-logo-size)}.mjsz-vbr-table td .is-portrait-image{display:inline-block;vertical-align:middle;width:var(--vbr-widget-table-cell-portrait-size);height:var(--vbr-widget-table-cell-portrait-size);object-fit:cover;object-position:top;overflow:hidden;border-radius:100%;border:1px solid var(--vbr-widget-primary-color-100)}.mjsz-vbr-table td .is-portrait-image img{width:var(--vbr-widget-table-cell-portrait-size);height:auto}.mjsz-vbr-table td.is-text-bold{font-weight:700}.mjsz-vbr-table td.is-text-italic{font-style:italic}.mjsz-vbr-table td.is-text-xl{font-size:1.2 rem}.mjsz-vbr-table td .is-text-accent{color:var(--vbr-widget-secondary-color-500)}.mjsz-vbr-table td.is-w-auto{width:auto}.mjsz-vbr-table td svg{width:16px;height:16px}.mjsz-vbr-table td button{padding:3px;line-height:0;border:none;outline:none;background-color:transparent}.mjsz-vbr-table td button:hover{background-color:var(--vbr-widget-popover-trigger-hover-bg-color)}.mjsz-vbr-table td button:active,.mjsz-vbr-table td button:focus{background-color:var(--vbr-widget-popover-trigger-focus-bg-color)}.mjsz-vbr-table td a{text-decoration:none}.mjsz-vbr-table td .label{padding:3px 6px;font-size:11px;font-weight:700;color:var(--vbr-widget-table-label-color);background-color:var(--vbr-widget-table-label-bg-color);border-radius:2px}.mjsz-vbr-table td .label:not(:last-of-type){margin-right:3px}.mjsz-vbr-table td a{color:var(--vbr-widget-link-color)}.mjsz-vbr-table td a:hover{color:var(--vbr-widget-hover-color)}.mjsz-vbr-table td .is-team-name-long{display:block}.mjsz-vbr-table td .is-team-name-short{display:none}@container table-wrapper (max-width: 768px){.mjsz-vbr-table td .is-team-name-long{display:none}.mjsz-vbr-table td .is-team-name-short{display:block}}.mjsz-vbr-table th,.mjsz-vbr-table td{padding:8px;white-space:nowrap;vertical-align:middle}.mjsz-vbr-table th.is-text-left,.mjsz-vbr-table td.is-text-left{text-align:left}.mjsz-vbr-table th.is-text-right,.mjsz-vbr-table td.is-text-right{text-align:right}.mjsz-vbr-table th.is-has-image,.mjsz-vbr-table td.is-has-image{padding:0 2px}.mjsz-vbr-table th .is-duplicated,.mjsz-vbr-table td .is-duplicated{color:var(--vbr-widget-table-neutral-color)}.mjsz-vbr-table tr:nth-child(even){background-color:var(--vbr-widget-table-stripped-bg-color)}.mjsz-vbr-table tr:nth-child(even) td.is-active{background-color:var(--vbr-widget-table-active-even-bg-color)}.mjsz-vbr-table tr:focus-within,.mjsz-vbr-table tr:hover{color:var(--vbr-widget-table-hover-color);background-color:var(--vbr-widget-table-hover-bg-color)}.mjsz-vbr-table tr:focus-within td.is-active,.mjsz-vbr-table tr:hover td.is-active{color:var(--vbr-widget-table-active-hover-color);background-color:var(--vbr-widget-table-active-hover-bg-color)}
|
|
28
|
+
`,Fo=`.is-dropdown-menu{padding:8px 0;margin:0;min-width:160px;color:#000;list-style:none;background:var(--vbr-widget-popover-bg-color);border-radius:3px;box-shadow:0 5px 30px rgba(black,.3)}.is-dropdown-menu .is-dropdown-item{display:flex;align-items:center;padding:.25rem 1rem;font-family:var(--vbr-widget-font-family);line-height:24px;color:var(--vbr-widget-dropdown-item-color);text-align:inherit;text-decoration:none;white-space:nowrap;background-color:transparent;border:0}.is-dropdown-menu .is-dropdown-item:hover{color:var(--vbr-widget-dropdown-item-hover-color);background-color:var(--vbr-widget-dropdown-item-hover-bg-color)}.is-dropdown-menu .is-dropdown-item svg{margin-right:8px}
|
|
29
|
+
`,dc=`.is-card{container-name:card-row;container-type:inline-size;background-color:#fff;padding:15px;margin-bottom:20px;box-shadow:0 2px 4px #0000001a,0 2px 2px #0000001a}.is-card>div{border-bottom:1px solid var(--vbr-widget-primary-color-100)}.is-card>div:last-of-type{border:none}.mjsz-vbr-card-item{display:grid;grid-gap:1rem;grid-template-columns:2fr 1fr 2fr;padding:2rem 0;border-bottom:1px solid var(--vbr-widget-primary-color-100)}.mjsz-vbr-card-item svg{display:block}.mjsz-vbr-card-item .is-team-name-short{display:none}@container card-row (max-width: 768px){.mjsz-vbr-card-item .is-team-name-long{display:none}.mjsz-vbr-card-item .is-team-name-short{display:block}}.mjsz-vbr-card-item .is-info{grid-column:1/4;display:flex;justify-content:center;align-items:center;color:var(--vbr-widget-primary-color-500)}.mjsz-vbr-card-item .is-home-team{display:flex;gap:8px;align-items:center;justify-content:flex-end;font-weight:700}.mjsz-vbr-card-item .is-away-team{display:flex;gap:8px;align-items:center;justify-content:flex-start;font-weight:700}.mjsz-vbr-card-item .is-logo-image{width:40px}.mjsz-vbr-card-item .is-game-data{display:flex;flex-direction:column;align-items:center;justify-content:center}.mjsz-vbr-card-item .is-game-data a{display:flex;flex-direction:column;align-items:center;color:var(--vbr-widget-primary-color-900)}.mjsz-vbr-card-item .is-game-data a:hover{color:var(--vbr-widget-primary-color-600)}.mjsz-vbr-card-item .is-game-data.is-live,.mjsz-vbr-card-item .is-game-data.is-live a{color:var(--vbr-widget-live-game-color)}.mjsz-vbr-section-selector{margin:20px 0;border-bottom:1px solid var(--vbr-widget-primary-color-200)}
|
|
30
|
+
`,Ho=(t,e)=>{const r=t.__vccOpts||t;for(const[o,a]of e)r[o]=a;return r},pc=["onClick"],fc=["onClick"],mc=["onClick"],Yo=Ho({__name:"Championship.ce",props:{locale:{type:String,default:"hu"},apiKey:{type:String,default:""},championshipName:{type:String,default:""},timezoneSelector:{type:Boolean,default:!1},externalGameLink:{type:[String,Function],default:""}},setup(t){const e=t,r=n.ref(null),o=n.ref(Xr()),a=n.computed(()=>Qr(new Date,n.unref(o),e.locale)),i=rt("tab-button"),s=rt("section-selector"),l={en:Co,hu:Io},c=m=>Rs(e.externalGameLink,m),p=m=>Fs(e.externalTeamLink,m);return(m,d)=>(n.openBlock(),n.createElementBlock("div",null,[n.createVNode(n.unref(Rr),{locale:e.locale,messages:l},{default:n.withCtx(()=>[n.createVNode(n.unref(Gr),null,{default:n.withCtx(({error:u,hasError:f})=>[f?(n.openBlock(),n.createBlock(n.unref(Vr),{key:0,error:u},null,8,["error"])):n.createCommentVNode("",!0),n.createVNode(oc,{locale:t.locale,timezone:o.value,"championship-name":t.championshipName},{default:n.withCtx(({sort:h,games:g,phases:b,phaseId:y,columns:v,seasons:x,isLoading:A,selectedPanel:O,championships:T,championshipId:D,selectedChampionshipId:V,onSort:P,changePanel:E,changePhase:I,changeSeason:R,changeChampionship:_})=>[n.createVNode(ic,{seasons:x,"championship-id":D,"onUpdate:championshipId":R},null,8,["seasons","championship-id","onUpdate:championshipId"]),n.createElementVNode("div",{class:n.normalizeClass(n.unref(s))},[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(T,S=>(n.openBlock(),n.createElementBlock("button",{key:S.phaseId,onClick:k=>_(S.sectionId),class:n.normalizeClass([n.unref(i),{"is-active":S.sectionId===V}])},n.toDisplayString(S.sectionName),11,pc))),128))],2),n.createVNode(uc,{phases:b,"phase-id":y,"onUpdate:phaseId":I},null,8,["phases","phase-id","onUpdate:phaseId"]),n.createElementVNode("div",{class:n.normalizeClass(n.unref(s))},[n.createElementVNode("button",{class:n.normalizeClass([n.unref(i),{"is-active":O===n.unref(oe)}]),onClick:S=>E(n.unref(oe))}," Menetrend ",10,fc),n.createElementVNode("button",{class:n.normalizeClass([n.unref(i),{"is-active":O===n.unref($o)}]),onClick:S=>E(n.unref($o))}," Tabella ",10,mc)],2),n.createVNode(n.unref(js),{columns:v,rows:g.rows,sort:h,"is-loading":A,"offset-name":a.value,"external-team-resolver":p,"external-game-resolver":c,"append-to":r.value,"hide-columns":O===n.unref(oe)?"broadcast":"",onSort:P},null,8,["columns","rows","sort","is-loading","offset-name","append-to","hide-columns","onSort"])]),_:1},8,["locale","timezone","championship-name"]),n.createElementVNode("div",{ref_key:"tooltipContainer",ref:r},null,512)]),_:1})]),_:1},8,["locale"])]))}},[["styles",[Mo,Bo,Vo,Lo,Go,Ro,Fo,dc]]]),gc={class:"g-row"},hc=["value"],bc=["onClick"],yc={__name:"SeasonSelector",props:{seasons:{type:Array,default:()=>[]},championshipId:{type:Number,default:0},sections:{type:Array,default:()=>[]},sectionId:{type:Number,default:0}},emits:["onChangeSeason","onChangeSection"],setup(t,{emit:e}){const r=t,{t:o}=st(),a=n.computed({get(){return r.championshipId},set(s){e("onChangeSeason",s)}});function i(s){e("onChangeSection",s)}return(s,l)=>(n.openBlock(),n.createElementBlock(n.Fragment,null,[n.createElementVNode("div",gc,[n.createElementVNode("div",null,[n.createElementVNode("label",{for:"season",class:n.normalizeClass(n.unref(rt)("label"))},n.toDisplayString(n.unref(o)("selection.season")),3),n.createVNode(n.unref(ae),{id:"season",modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=c=>a.value=c)},{default:n.withCtx(()=>[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(t.seasons,c=>(n.openBlock(),n.createElementBlock("option",{key:c.championshipId,value:c.championshipId},n.toDisplayString(c.seasonName),9,hc))),128))]),_:1},8,["modelValue"])])]),n.createElementVNode("div",null,[(n.openBlock(!0),n.createElementBlock(n.Fragment,null,n.renderList(t.sections,c=>(n.openBlock(),n.createElementBlock("button",{key:c.phaseId,onClick:p=>i(c),class:n.normalizeClass([n.unref(rt)("tab-button"),{"is-active":c.sectionId===t.sectionId}])},n.toDisplayString(c.sectionName),11,bc))),128))])],64))}},vc=(t,e)=>{if(t.length===0)throw new Te(Xt.message,Xt.options);e.seasons=xc(t),e.championshipId||(e.championshipId=Be(e.seasons).championshipId)},wc=(t,e)=>{var r;e.sections=t,e.sectionId=Me(re("sectionId"),Be)(t),e.phaseId=((r=No([0,"phases",0],t))==null?void 0:r.phaseId)??null},xc=t=>Me(Do(jo(re("seasonName"))),Ao(Po(["championshipId","seasonName"])))(t),kc={__name:"DataProvider",props:{championshipName:{type:String,default:""},championshipId:{type:Number,default:0},limit:{type:Number,default:20},apiKey:{type:String,default:""},locale:{type:String,default:"hu"},timezone:{type:String,default:""}},setup(t){const e=t,r=n.reactive({seasons:[],championshipId:null,sections:[],sectionId:null,phaseId:null}),{onError:o}=Ae(),{isLoading:a,execute:i}=St({options:{path:"/v2/championship-seasons",apiKey:e.apiKey,params:{championshipName:e.championshipName}},transform:g=>vc(g,r),onError:o}),{isLoading:s,execute:l}=St({options:{path:"/v2/championship-sections",apiKey:e.apiKey,params:n.computed(()=>({championshipId:r.championshipId}))},transform:g=>wc(g,r),onError:o}),{isLoading:c,state:p,execute:m}=St({options:{path:"/v2/games-list",apiKey:e.apiKey,params:n.computed(()=>({championshipId:r.championshipId,phaseId:r.phaseId}))},transform:g=>co(g),onError:o}),d=n.computed(()=>lo(p.value).schedule(e.timezone,e.locale).value());te([i,l,m]);const u=n.computed(()=>[s.value,a.value,c.value].some(Boolean));function f(g){r.championshipId=g,te([l,m])}function h(g){r.sectionId=g.sectionId,r.phaseId=No(["phases",0,"phaseId"],g),m()}return(g,b)=>n.renderSlot(g.$slots,"default",n.normalizeProps(n.guardReactiveProps({rows:d.value,isLoading:u.value,values:n.unref(Wl)(["phaseId"],r),listeners:{onChangeSection:h,onChangeSeason:f}})))}},Sc=["href"],zc=["href"],_c={__name:"ScheduleCupDataTable",props:{columns:{type:Object,default:()=>({})},rows:{type:Array,default:()=>[]},offsetName:{type:String,default:""},isLoading:{type:Boolean,default:!1}},setup(t){const e=t,r=n.ref(null),{columns:o}=to(e.columns,null,n.computed(()=>({offsetName:e.offsetName}))),{t:a}=st();return(i,s)=>(n.openBlock(),n.createElementBlock("div",{ref_key:"tooltipContainer",ref:r},[n.createVNode(n.unref(Fr),null,{default:n.withCtx(()=>[n.createVNode(n.unref(Br),{columns:n.unref(o),rows:t.rows,"is-loading":t.isLoading,"append-to":r.value},{"cell-homeTeamName":n.withCtx(({row:l})=>{var c;return[n.createTextVNode(n.toDisplayString(((c=l.homeTeam)==null?void 0:c.longName)??""),1)]}),"cell-location":n.withCtx(({row:l})=>{var c;return[n.createTextVNode(n.toDisplayString(((c=l.location)==null?void 0:c.locationName)??""),1)]}),"cell-document":n.withCtx(({row:l})=>[l.schedule?(n.openBlock(),n.createElementBlock("a",{key:0,href:l.schedule,target:"_blank"},n.toDisplayString(n.unref(a)("schedule")),9,Sc)):l.registration?(n.openBlock(),n.createElementBlock("a",{key:1,href:l.registration,target:"_blank"},n.toDisplayString(n.unref(a)("registration")),9,zc)):n.createCommentVNode("",!0)]),_:1},8,["columns","rows","is-loading","append-to"])]),_:1})],512))}},Ac={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"},divisionName:{label:"table.section.short",tooltip:"table.section.tooltip",class:"is-has-image is-text-light"},homeTeamName:{label:"table.organizer.short",tooltip:"table.organizer.tooltip",class:"is-text-left is-w-auto is-text-bold"},location:{label:"table.location.short",tooltip:"table.location.tooltip",class:"is-text-left is-w-auto"},document:{label:"table.document.short",tooltip:"table.document.tooltip",class:"is-text-left"}},Uo=Ho({__name:"ScheduleCup.ce",props:{locale:{type:String,default:"hu"},apiKey:{type:String,default:""},championshipName:{type:String,default:""},timezoneSelector:{type:Boolean,default:!1}},setup(t){const e=t,r={en:Co,hu:Io},o=n.ref(Xr()),a=n.computed(()=>Qr(new Date,o.value,e.locale));return(i,s)=>(n.openBlock(),n.createBlock(n.unref(Rr),{locale:e.locale,messages:r},{default:n.withCtx(()=>[n.createVNode(n.unref(Gr),null,{default:n.withCtx(({error:l,hasError:c})=>[c?(n.openBlock(),n.createBlock(n.unref(Vr),{key:0,error:l},null,8,["error"])):n.createCommentVNode("",!0),n.createVNode(kc,{"championship-name":t.championshipName,locale:t.locale,timezone:o.value},{default:n.withCtx(({rows:p,isLoading:m,values:d,listeners:u})=>[n.createVNode(yc,n.mergeProps(d,n.toHandlers(u)),null,16),n.createVNode(_c,{columns:n.unref(Ac),rows:p.rows,"is-loading":m,"offset-name":a.value},null,8,["columns","rows","is-loading","offset-name"])]),_:1},8,["championship-name","locale","timezone"])]),_:1})]),_:1},8,["locale"]))}},[["styles",[Mo,Bo,Vo,Lo,Go,Ro,Fo]]]),Wo=n.defineCustomElement(Yo),Ko=n.defineCustomElement(Uo);function Jo(){customElements.define("mjsz-vbr-championship",Wo),customElements.define("mjsz-vbr-schedule-cup",Ko)}return it.Championship=Yo,it.ChampionshipCE=Wo,it.ScheduleCup=Uo,it.ScheduleCupCE=Ko,it.default=Jo,it.register=Jo,Object.defineProperties(it,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}}),it}({},Vue);
|