@mjsz-vbr-elements/core 2.1.0-beta.18 → 2.1.0-beta.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.1.0-beta.18 - 29/09/2023, 22:21:00
3
+ * version: v2.1.0-beta.19 - 30/09/2023, 18:44:15
4
4
  * (c) 2023
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
@@ -19,4 +19,4 @@ var MjszVbrElementsCore=function(S,o){"use strict";const ft=t=>({}.VITE_CSS_CLAS
19
19
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
20
20
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
21
21
  PERFORMANCE OF THIS SOFTWARE.
22
- ***************************************************************************** */function an(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n,s,a=r.call(t),i=[];try{for(;(e===void 0||e-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(l){s={error:l}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(s)throw s.error}}return i}var sn;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(sn||(sn={}));var ai={type:"xstate.init"};function we(t){return t===void 0?[]:[].concat(t)}function ln(t,e){return typeof(t=typeof t=="string"&&e&&e[t]?e[t]:t)=="string"?{type:t}:typeof t=="function"?{type:t.name,exec:t}:t}function ve(t){return function(e){return t===e}}function si(t){return typeof t=="string"?{type:t}:t}function cn(t,e){return{value:t,context:e,actions:[],changed:!1,matches:ve(t)}}function un(t,e,r){var n=e,s=!1;return[t.filter(function(a){if(a.type==="xstate.assign"){s=!0;var i=Object.assign({},n);return typeof a.assignment=="function"?i=a.assignment(n,r):Object.keys(a.assignment).forEach(function(l){i[l]=typeof a.assignment[l]=="function"?a.assignment[l](n,r):a.assignment[l]}),n=i,!1}return!0}),n,s]}function ii(t,e){e===void 0&&(e={});var r=an(un(we(t.states[t.initial].entry).map(function(i){return ln(i,e.actions)}),t.context,ai),2),n=r[0],s=r[1],a={config:t,_options:e,initialState:{value:t.initial,actions:n,context:s,matches:ve(t.initial)},transition:function(i,l){var f,u,m=typeof i=="string"?{value:i,context:t.context}:i,c=m.value,p=m.context,d=si(l),g=t.states[c];if(g.on){var h=we(g.on[d.type]);try{for(var y=function(w){var E=typeof Symbol=="function"&&Symbol.iterator,L=E&&w[E],N=0;if(L)return L.call(w);if(w&&typeof w.length=="number")return{next:function(){return w&&N>=w.length&&(w=void 0),{value:w&&w[N++],done:!w}}};throw new TypeError(E?"Object is not iterable.":"Symbol.iterator is not defined.")}(h),A=y.next();!A.done;A=y.next()){var T=A.value;if(T===void 0)return cn(c,p);var $=typeof T=="string"?{target:T}:T,D=$.target,x=$.actions,I=x===void 0?[]:x,G=$.cond,F=G===void 0?function(){return!0}:G,M=D===void 0,k=D??c,z=t.states[k];if(F(p,d)){var U=an(un((M?we(I):[].concat(g.exit,I,z.entry).filter(function(w){return w})).map(function(w){return ln(w,a._options.actions)}),p,d),3),P=U[0],_=U[1],v=U[2],O=D??c;return{value:O,context:_,actions:P,changed:D!==c||P.length>0||v,matches:ve(O)}}}}catch(w){f={error:w}}finally{try{A&&!A.done&&(u=y.return)&&u.call(y)}finally{if(f)throw f.error}}}return cn(c,p)}};return a}const li=ii({id:"sort",initial:ot,states:{[ot]:{on:{DIRECTION1:b,DIRECTION2:C}},[b]:{on:{DIRECTION1:C,DIRECTION2:ot}},[C]:{on:{DIRECTION1:ot,DIRECTION2:b}}}}),ci=(t,e)=>{const r=e===C?"DIRECTION2":"DIRECTION1";return li.transition(t,r).value};function ui(t={}){const{sortTarget:e=null,orders:r=[]}=t,n=o.reactive({sortTarget:e,orders:r});return{sort:n,change:({target:a,orders:i})=>{if(n.sortTarget!==a){n.sortTarget=a,n.orders=i;return}const l=i.map((f,u)=>({...f,direction:ci(n.orders[u].direction,f.direction)}));n.sortTarget=a,n.orders=l}}}function fi(t=!1,e=rt,r=rt){const n=$n();o.watch(n,s=>{if(o.unref(t)){if(s==="visible")return e();r()}})}const di=(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 s=r.map(i=>n?Xo(i,e):Je(bt(i),na,zo(e))),a=je(lo([...s]),this.result);this.isFiltered=!0,this.filteredRowsLength=a.length,this.result=a}return this},sorted(e){if(!e.sortTarget)return this;if(e.orders[0].direction===ot)return this;const r=Co(Vt(C),Ze(Xe),Ze(Oo));return this.result=er(e.orders.map(n=>Qe(r(n.direction),bt)(n.target)))(this.result),this},addIndex(e=null){return this.result.reduce((r,n,s)=>{const a=r[r.length-1]||[],i=e&&a[e]===n[e];return n.index=i?a.index:s+1,n.indexClass=i?"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,s=n+r;return this.result=this.result.slice(n,s),this},playerName(){return this.result=this.result.map(e=>({...e,name:`${e.lastName} ${e.firstName}`})),this},schedule(e="",r="hu"){return this.result=this.result.map(n=>({...n,gameResult:`${n.homeTeamScore}-${n.awayTeamScore}`,gameDateDate:Xt(n.gameDate,"L dddd",e,r),gameDateTime:Xt(n.gameDate,"HH:mm",e,r)})),this},gameDateFilter(e){return e===null?this:(this.result=this.result.filter(r=>new Date(r.gameDate).getMonth()==e),this)},convertTimes(e=[]){return this.result=this.result.map(r=>(e.map(n=>r[n]?r[`${n}Sec`]=ye(r[n]):r),r)),this},groupByDays(){return this.result=Mo(e=>Xt(e.gameDate,"YYYY-MM-DD"))(this.result),this}}),pi=(t,...e)=>pt(Qe(...e))(t),mi=t=>({...t,...t.lastName&&{name:`${t.lastName} ${t.firstName}`}}),hi=(t=[])=>e=>{var r;return{...e,[t]:(r=e[t])==null?void 0:r.toUpperCase()}},gi=(t=[])=>e=>(t.map(r=>e[r]?e[`${r}Sec`]=ye(e[r]):e),e),yi=(t=[])=>e=>(t.map(r=>e[`${r}Min`]=Qr(e[r])),e),bi=er([(t,e)=>new Date(t.gameDate).getTime()-new Date(e.gameDate).getTime(),Xe(bt("id"))]),wi=(t,e)=>{const r=Se("gameResolver")||t;return typeof r=="function"?r(e):r?r+e:ir+e},vi=(t,e)=>{const r=Se("teamResolver")||t;return typeof r=="function"?r(e):encodeURI(r?r+e:ur+e)},Si=(t,e)=>{const r=Se("playerResolver")||t;return typeof r=="function"?r(e):encodeURI(r?r+e:cr+e)},Se=(t="")=>{var e;return(e=window==null?void 0:window.__MJSZ_VBR_WIDGET__)==null?void 0:e[t]},_i={locale:{type:String,default:"hu"},championshipId:{type:String,default:""},division:{type:String,default:""},apiKey:{type:String,default:""},hideColumns:{type:String,default:""}},fn={externalTeamLink:{type:[String,Function],default:""},isTeamLinked:{type:Boolean,default:!1}},Ai={limit:{type:Number,default:20},teamFilterByName:{type:String,default:""},externalPlayerLink:{type:[String,Function],default:""},isPlayerLinked:{type:Boolean,default:!1},...fn},Ti={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:""}},Oi={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},gamesPlayed:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"m",direction:b}]},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",sortOrders:[{target:"p3",direction:b},{target:"p2",direction:b}]},otw:{label:"table.otw.short",tooltip:"table.otw.tooltip",sortOrders:[{target:"p2",direction:b}]},otl:{label:"table.otl.short",tooltip:"table.otl.tooltip",sortOrders:[{target:"p1",direction:C}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"p0",direction:C}]},gf:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"plus",direction:b}]},ga:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"minus",direction:C}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gk",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"p",direction:b}]}},Pi={index:{label:"#",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},gamesPlayed:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"m",direction:b}]},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",sortOrders:[{target:"p2",direction:b},{target:"p1",direction:b}]},d:{label:"table.draw.short",tooltip:"table.draw.tooltip",sortOrders:[{target:"p1",direction:b},{target:"p2",direction:b}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"p0",direction:C}]},gf:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"plus",direction:b}]},ga:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"minus",direction:C}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gk",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"p",direction:b}]}},$i={index:{label:"#",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:C}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:C}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},g:{label:"table.goals.short",tooltip:"table.goals.tooltip",sortOrders:[{target:"g",direction:b},{target:"a",direction:b}]},a:{label:"table.assists.short",tooltip:"table.assists.tooltip",sortOrders:[{target:"a",direction:b},{target:"g",direction:b}]},point:{label:"table.points.short",tooltip:"table.points.tooltip",sortOrders:[{target:"point",direction:b}]},plusMinus:{label:"table.plusMinus.short",tooltip:"table.plusMinus.tooltip",sortOrders:[{target:"plusMinus",direction:b}]},shoot:{label:"table.sog.short",tooltip:"table.sog.tooltip",sortOrders:[{target:"shoot",direction:b}]},shootPercent:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"shootPercent",direction:b}]}},Ei={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:C}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:C}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},p2:{label:"table.minorPenalties.short",tooltip:"table.minorPenalties.tooltip",sortOrders:[{target:"p2",direction:b},{target:"pim",direction:b}]},p5:{label:"table.majorPenalties.short",tooltip:"table.majorPenalties.tooltip",sortOrders:[{target:"p5",direction:b},{target:"pim",direction:b}]},p10:{label:"table.misconducts.short",tooltip:"table.misconducts.tooltip",sortOrders:[{target:"p10",direction:b},{target:"pim",direction:b}]},p20:{label:"table.gameMisconducts.short",tooltip:"table.gameMisconducts.tooltip",sortOrders:[{target:"p20",direction:b},{target:"pim",direction:b}]},p25:{label:"table.matchPenalties.short",tooltip:"table.matchPenalties.tooltip",sortOrders:[{target:"p25",direction:b},{target:"pim",direction:b}]},pim:{label:"table.pim.short",tooltip:"table.pim.tooltip",sortOrders:[{target:"pim",direction:b}]}},ki={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:C}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:C}]},gkd:{label:"table.gpgk.short",tooltip:"table.gpgk.tooltip",sortOrders:[{target:"gkd",direction:b}]},gpi:{label:"table.gpi.short",tooltip:"table.gpi.tooltip",sortOrders:[{target:"gpi",direction:b}]},mip:{label:"table.toi.short",tooltip:"table.toi.tooltip",sortOrders:[{target:"mipSec",direction:b}]},mipPercent:{label:"table.toiPercent.short",tooltip:"table.toiPercent.tooltip",sortOrders:[{target:"mipPercent",direction:b}]},ga:{label:"table.ga.short",tooltip:"table.ga.tooltip",sortOrders:[{target:"ga",direction:b}]},gaa:{label:"table.gaa.short",tooltip:"table.gaa.tooltip",sortOrders:[{target:"gaa",direction:b}]},sa:{label:"table.sa.short",tooltip:"table.sa.tooltip",sortOrders:[{target:"sa",direction:b}]},svs:{label:"table.svs.short",tooltip:"table.svs.tooltip",sortOrders:[{target:"svs",direction:b}]},svsPercent:{label:"table.svsPercent.short",tooltip:"table.svsPercent.tooltip",sortOrders:[{target:"svsPercent",direction:b}]}},Li={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},home:{label:"table.homeHeader.short"},homeGame:{label:"table.homeGame.short",tooltip:"table.homeGame.tooltip",sortOrders:[{target:"homeGame",direction:b}]},homeAttendance:{label:"table.homeAttendance.short",tooltip:"table.homeAttendance.tooltip",sortOrders:[{target:"homeAttendance",direction:b}]},homeAttendanceAvg:{label:"table.homeAttendanceAvg.short",tooltip:"table.homeAttendanceAvg.tooltip",sortOrders:[{target:"homeAttendanceAvg",direction:b}]},away:{label:"table.awayHeader.short"},awayGame:{label:"table.awayGame.short",tooltip:"table.awayGame.tooltip",sortOrders:[{target:"awayGame",direction:b}]},awayAttendance:{label:"table.awayAttendance.short",tooltip:"table.awayAttendance.tooltip",sortOrders:[{target:"awayAttendance",direction:b}]},awayAttendanceAvg:{label:"table.awayAttendanceAvg.short",tooltip:"table.awayAttendanceAvg.tooltip",sortOrders:[{target:"awayAttendanceAvg",direction:b}]},total:{label:"table.totalHeader.short"},totalGame:{label:"table.totalGame.short",tooltip:"table.totalGame.tooltip",sortOrders:[{target:"totalGame",direction:b}]},totalAttendance:{label:"table.totalAttendance.short",tooltip:"table.totalAttendance.tooltip",sortOrders:[{target:"totalAttendance",direction:b}]},totalAttendanceAvg:{label:"table.totalAttendanceAvg.short",tooltip:"table.totalAttendanceAvg.tooltip",sortOrders:[{target:"totalAttendanceAvg",direction:b}]}},Di={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},p2:{label:"table.minorPenalties.short",tooltip:"table.minorPenalties.tooltip",sortOrders:[{target:"p2",direction:b},{target:"pim",direction:b}]},p5:{label:"table.majorPenalties.short",tooltip:"table.majorPenalties.tooltip",sortOrders:[{target:"p5",direction:b},{target:"pim",direction:b}]},p10:{label:"table.misconducts.short",tooltip:"table.misconducts.tooltip",sortOrders:[{target:"p10",direction:b},{target:"pim",direction:b}]},p20:{label:"table.gameMisconducts.short",tooltip:"table.gameMisconducts.tooltip",sortOrders:[{target:"p20",direction:b},{target:"pim",direction:b}]},p25:{label:"table.matchPenalties.short",tooltip:"table.matchPenalties.tooltip",sortOrders:[{target:"p25",direction:b},{target:"pim",direction:b}]},pimPerGame:{label:"table.pimPerGame.short",tooltip:"table.pimPerGame.tooltip",sortOrders:[{target:"pimPerGame",direction:b}]},pim:{label:"table.pim.short",tooltip:"table.pim.tooltip",sortOrders:[{target:"pim",direction:b}]}},xi={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},dvg:{label:"table.powerplayDisadvantages.short",tooltip:"table.powerplayDisadvantages.tooltip",sortOrders:[{target:"dvg",direction:b}]},dvgTime:{label:"table.dvgTime.short",tooltip:"table.dvgTime.tooltip",sortOrders:[{target:"dvgTimeSec",direction:b}]},dvgTimePP1:{label:"table.dvgTimePP1.short",tooltip:"table.dvgTimePP1.tooltip",sortOrders:[{target:"dvgTimePP1Sec",direction:b}]},dvgTimePP2:{label:"table.dvgTimePP2.short",tooltip:"table.dvgTimePP2.tooltip",sortOrders:[{target:"dvgTimePP2",direction:b}]},ppga:{label:"table.ppga.short",tooltip:"table.ppga.tooltip",sortOrders:[{target:"ppga",direction:b}]},shgf:{label:"table.shgf.short",tooltip:"table.shgf.tooltip",sortOrders:[{target:"shgf",direction:b}]},pkPercent:{label:"table.pkPercent.short",tooltip:"table.pkPercent.tooltip",sortOrders:[{target:"pkPercent",direction:b}]}},Mi={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},adv:{label:"table.adv.short",tooltip:"table.adv.tooltip",sortOrders:[{target:"adv",direction:b}]},advTime:{label:"table.advTime.short",tooltip:"table.advTime.tooltip",sortOrders:[{target:"advTimeSec",direction:b}]},advTimePP1:{label:"table.advTimePP1.short",tooltip:"table.advTimePP1.tooltip",sortOrders:[{target:"advTimePP1Sec",direction:b}]},advTimePP2:{label:"table.advTimePP2.short",tooltip:"table.advTimePP2.tooltip",sortOrders:[{target:"advTimePP2Sec",direction:b}]},ppgf:{label:"table.ppgf.short",tooltip:"table.ppgf.tooltip",sortOrders:[{target:"ppgf",direction:b}]},shga:{label:"table.shga.short",tooltip:"table.shga.tooltip",sortOrders:[{target:"shga",direction:b}]},ppPercent:{label:"table.ppPercent.short",tooltip:"table.ppPercent.tooltip",sortOrders:[{target:"ppPercent",direction:b}]}},Ni={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},m:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},plus:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"plus",direction:b}]},minus:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"minus",direction:C}]},gk:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gk",direction:b}]},GFGP:{label:"table.gfgp.short",tooltip:"table.gfgp.tooltip",sortOrders:[{target:"GFGP",direction:b}]},GAGP:{label:"table.gagp.short",tooltip:"table.gagp.tooltip",sortOrders:[{target:"GAGP",direction:C}]},Shots:{label:"table.sog.short",tooltip:"table.sog.tooltip",sortOrders:[{target:"Shots",direction:b}]},SA:{label:"table.sa.short",tooltip:"table.sa.tooltip",sortOrders:[{target:"SA",direction:C}]},ShotsGP:{label:"table.sogp.short",tooltip:"table.sogp.tooltip",sortOrders:[{target:"ShotsGP",direction:b}]},SAGP:{label:"table.sagp.short",tooltip:"table.sagp.tooltip",sortOrders:[{target:"SAGP",direction:C}]},GFShots:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"GFShots",direction:b}]}},Ci=({modules:t=[],apiKey:e,gameResolver:r,teamResolver:n,playerResolver:s})=>{if(window.__MJSZ_VBR_WIDGET__={apiKey:e,gameResolver:r,teamResolver:n,playerResolver:s},t.length===0)throw new Error("At least one module must be set");t.forEach(a=>{if(a.register)return a.register();a==null||a()})};return S.AVAILABLE_TIMEZONES_BY_COUNTRY=dr,S.BaseSelect=dn,S.COLUMNS_FIELD_PLAYERS=$i,S.COLUMNS_FIELD_PLAYERS_PENALTY=Ei,S.COLUMNS_GOALIES=ki,S.COLUMNS_SCHEDULE=Ti,S.COLUMNS_SCORING_EFFICIENCY=Ni,S.COLUMNS_STANDINGS_P_2=Pi,S.COLUMNS_STANDINGS_P_3=Oi,S.COLUMNS_TEAMS_FAIRPLAY=Di,S.COLUMNS_TEAMS_PENALTY_KILLING=xi,S.COLUMNS_TEAMS_POWERPLAY=Mi,S.COLUMNS_TEAM_ATTENDANCE=Li,S.DEFAULT_EXTERNAL_BASE_URL=ir,S.DEFAULT_EXTERNAL_PLAYER_URL=cr,S.DEFAULT_EXTERNAL_TEAM_URL=ur,S.DEFAULT_PORTRAIT_IMAGE_URL=lr,S.DataTable=Ir,S.ErrorNotice=Ka,S.ErrorProvider=Za,S.FloatingPanel=Cr,S.I18NProvider=es,S.Image=ge,S.InvalidSeasonName=Fs,S.LAZY_LOADING_STATE_DELAY=pr,S.LOCALE_FOR_LANG=fr,S.LoadingIndicator=jr,S.Paginator=Ts,S.REFRESH_DELAY=ca,S.ResponsiveTable=Fr,S.SORT_STATE_ASCEND=C,S.SORT_STATE_DESCEND=b,S.SORT_STATE_ORIGINAL=ot,S.StatisticsTable=Xs,S.Test=ti,S.TimezoneSelector=js,S.UndefinedColumn=be,S.VBR_API_BASE_URL=sr,S.WidgetError=nn,S.appendTo=Nr,S.baseProps=_i,S.convert=di,S.convertMinToSec=ye,S.convertSecToMin=Qr,S.convertTimes=gi,S.convertTimesSecToMin=yi,S.createConfig=Ci,S.createI18n=nr,S.externalGameLinkResolver=wi,S.externalPlayerLinkResolver=Si,S.externalTeamLinkResolver=vi,S.fetchVBRData=on,S.format=Xt,S.getLocalTimezone=Jr,S.i18n=ar,S.isBetween=Rs,S.isSame=Gs,S.isSameOrBefore=tn,S.offsetName=xt,S.playerName=mi,S.playerStatsProps=Ai,S.rawConvert=pi,S.sortGames=bi,S.stringPadLeft=he,S.teamStatsProps=fn,S.toKebabCase=zr,S.upperCase=hi,S.useColumns=en,S.useError=Gr,S.useErrorProvider=Rr,S.useI18n=wt,S.useLazyLoadingState=De,S.useMainClass=ft,S.usePage=ni,S.useServices=oi,S.useSort=ui,S.useVisibilityChange=fi,S.validateColumnsName=rn,Object.defineProperty(S,Symbol.toStringTag,{value:"Module"}),S}({},Vue);
22
+ ***************************************************************************** */function an(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n,s,a=r.call(t),i=[];try{for(;(e===void 0||e-- >0)&&!(n=a.next()).done;)i.push(n.value)}catch(l){s={error:l}}finally{try{n&&!n.done&&(r=a.return)&&r.call(a)}finally{if(s)throw s.error}}return i}var sn;(function(t){t[t.NotStarted=0]="NotStarted",t[t.Running=1]="Running",t[t.Stopped=2]="Stopped"})(sn||(sn={}));var ai={type:"xstate.init"};function we(t){return t===void 0?[]:[].concat(t)}function ln(t,e){return typeof(t=typeof t=="string"&&e&&e[t]?e[t]:t)=="string"?{type:t}:typeof t=="function"?{type:t.name,exec:t}:t}function ve(t){return function(e){return t===e}}function si(t){return typeof t=="string"?{type:t}:t}function cn(t,e){return{value:t,context:e,actions:[],changed:!1,matches:ve(t)}}function un(t,e,r){var n=e,s=!1;return[t.filter(function(a){if(a.type==="xstate.assign"){s=!0;var i=Object.assign({},n);return typeof a.assignment=="function"?i=a.assignment(n,r):Object.keys(a.assignment).forEach(function(l){i[l]=typeof a.assignment[l]=="function"?a.assignment[l](n,r):a.assignment[l]}),n=i,!1}return!0}),n,s]}function ii(t,e){e===void 0&&(e={});var r=an(un(we(t.states[t.initial].entry).map(function(i){return ln(i,e.actions)}),t.context,ai),2),n=r[0],s=r[1],a={config:t,_options:e,initialState:{value:t.initial,actions:n,context:s,matches:ve(t.initial)},transition:function(i,l){var f,u,m=typeof i=="string"?{value:i,context:t.context}:i,c=m.value,p=m.context,d=si(l),g=t.states[c];if(g.on){var h=we(g.on[d.type]);try{for(var y=function(w){var E=typeof Symbol=="function"&&Symbol.iterator,L=E&&w[E],N=0;if(L)return L.call(w);if(w&&typeof w.length=="number")return{next:function(){return w&&N>=w.length&&(w=void 0),{value:w&&w[N++],done:!w}}};throw new TypeError(E?"Object is not iterable.":"Symbol.iterator is not defined.")}(h),A=y.next();!A.done;A=y.next()){var T=A.value;if(T===void 0)return cn(c,p);var $=typeof T=="string"?{target:T}:T,D=$.target,x=$.actions,I=x===void 0?[]:x,G=$.cond,F=G===void 0?function(){return!0}:G,M=D===void 0,k=D??c,z=t.states[k];if(F(p,d)){var U=an(un((M?we(I):[].concat(g.exit,I,z.entry).filter(function(w){return w})).map(function(w){return ln(w,a._options.actions)}),p,d),3),P=U[0],_=U[1],v=U[2],O=D??c;return{value:O,context:_,actions:P,changed:D!==c||P.length>0||v,matches:ve(O)}}}}catch(w){f={error:w}}finally{try{A&&!A.done&&(u=y.return)&&u.call(y)}finally{if(f)throw f.error}}}return cn(c,p)}};return a}const li=ii({id:"sort",initial:ot,states:{[ot]:{on:{DIRECTION1:b,DIRECTION2:C}},[b]:{on:{DIRECTION1:C,DIRECTION2:ot}},[C]:{on:{DIRECTION1:ot,DIRECTION2:b}}}}),ci=(t,e)=>{const r=e===C?"DIRECTION2":"DIRECTION1";return li.transition(t,r).value};function ui(t={}){const{sortTarget:e=null,orders:r=[]}=t,n=o.reactive({sortTarget:e,orders:r});return{sort:n,change:({target:a,orders:i})=>{if(n.sortTarget!==a){n.sortTarget=a,n.orders=i;return}const l=i.map((f,u)=>({...f,direction:ci(n.orders[u].direction,f.direction)}));n.sortTarget=a,n.orders=l}}}function fi(t=!1,e=rt,r=rt){const n=$n();o.watch(n,s=>{if(o.unref(t)){if(s==="visible")return e();r()}})}const di=(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 s=r.map(i=>n?Xo(i,e):Je(bt(i),na,zo(e))),a=je(lo([...s]),this.result);this.isFiltered=!0,this.filteredRowsLength=a.length,this.result=a}return this},sorted(e){if(!e.sortTarget)return this;if(e.orders[0].direction===ot)return this;const r=Co(Vt(C),Ze(Xe),Ze(Oo));return this.result=er(e.orders.map(n=>Qe(r(n.direction),bt)(n.target)))(this.result),this},addIndex(e=null){return this.result.reduce((r,n,s)=>{const a=r[r.length-1]||[],i=e&&a[e]===n[e];return n.index=i?a.index:s+1,n.indexClass=i?"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,s=n+r;return this.result=this.result.slice(n,s),this},playerName(){return this.result=this.result.map(e=>({...e,name:`${e.lastName} ${e.firstName}`})),this},schedule(e="",r="hu"){return this.result=this.result.map(n=>({...n,gameResult:`${n.homeTeamScore}-${n.awayTeamScore}`,gameDateDate:Xt(n.gameDate,"L dddd",e,r),gameDateTime:Xt(n.gameDate,"HH:mm",e,r)})),this},gameDateFilter(e){return e===null?this:(this.result=this.result.filter(r=>new Date(r.gameDate).getMonth()==e),this)},convertTimes(e=[]){return this.result=this.result.map(r=>(e.map(n=>r[n]?r[`${n}Sec`]=ye(r[n]):r),r)),this},groupByDays(){return this.result=Mo(e=>Xt(e.gameDate,"YYYY-MM-DD"))(this.result),this}}),pi=(t,...e)=>pt(Qe(...e))(t),mi=t=>({...t,...t.lastName&&{name:`${t.lastName} ${t.firstName}`}}),hi=(t=[])=>e=>{var r;return{...e,[t]:(r=e[t])==null?void 0:r.toUpperCase()}},gi=(t=[])=>e=>(t.map(r=>e[r]?e[`${r}Sec`]=ye(e[r]):e),e),yi=(t=[])=>e=>(t.map(r=>e[`${r}Min`]=Qr(e[r])),e),bi=er([(t,e)=>new Date(t.gameDate).getTime()-new Date(e.gameDate).getTime(),Xe(bt("id"))]),wi=(t,e)=>{const r=Se("gameResolver")||t;return typeof r=="function"?r(e):r?r+e:ir+e},vi=(t,e)=>{const r=Se("teamResolver")||t;return typeof r=="function"?r(e):encodeURI(r?r+e:ur+e)},Si=(t,e)=>{const r=Se("playerResolver")||t;return typeof r=="function"?r(e):encodeURI(r?r+e:cr+e)},Se=(t="")=>{var e;return(e=window==null?void 0:window.__MJSZ_VBR_WIDGET__)==null?void 0:e[t]},_i={locale:{type:String,default:"hu"},championshipId:{type:String,default:""},division:{type:String,default:""},apiKey:{type:String,default:""},hideColumns:{type:String,default:""}},fn={externalTeamLink:{type:[String,Function],default:""},isTeamLinked:{type:Boolean,default:!1}},Ai={limit:{type:Number,default:20},teamFilterByName:{type:String,default:""},externalPlayerLink:{type:[String,Function],default:""},isPlayerLinked:{type:Boolean,default:!1},...fn},Ti={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:""}},Oi={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},gamesPlayed:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gamesPlayed",direction:b}]},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",sortOrders:[{target:"w",direction:b},{target:"otw",direction:b}]},otw:{label:"table.otw.short",tooltip:"table.otw.tooltip",sortOrders:[{target:"otw",direction:b}]},otl:{label:"table.otl.short",tooltip:"table.otl.tooltip",sortOrders:[{target:"otl",direction:C}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:C}]},gf:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"gf",direction:b}]},ga:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"ga",direction:C}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"points",direction:b}]}},Pi={index:{label:"#",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},gamesPlayed:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gamesPlayed",direction:b}]},w:{label:"table.wins.short",tooltip:"table.wins.tooltip",sortOrders:[{target:"w",direction:b},{target:"d",direction:b}]},d:{label:"table.draw.short",tooltip:"table.draw.tooltip",sortOrders:[{target:"d",direction:b},{target:"w",direction:b}]},l:{label:"table.losses.short",tooltip:"table.losses.tooltip",sortOrders:[{target:"l",direction:C}]},gf:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"gf",direction:b}]},ga:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"ga",direction:C}]},gd:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gd",direction:b}]},points:{label:"table.points.short",tooltip:"table.points.tooltip",class:"is-text-bold",sortOrders:[{target:"points",direction:b}]}},$i={index:{label:"#",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:C}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:C}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},g:{label:"table.goals.short",tooltip:"table.goals.tooltip",sortOrders:[{target:"g",direction:b},{target:"a",direction:b}]},a:{label:"table.assists.short",tooltip:"table.assists.tooltip",sortOrders:[{target:"a",direction:b},{target:"g",direction:b}]},point:{label:"table.points.short",tooltip:"table.points.tooltip",sortOrders:[{target:"point",direction:b}]},plusMinus:{label:"table.plusMinus.short",tooltip:"table.plusMinus.tooltip",sortOrders:[{target:"plusMinus",direction:b}]},shoot:{label:"table.sog.short",tooltip:"table.sog.tooltip",sortOrders:[{target:"shoot",direction:b}]},shootPercent:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"shootPercent",direction:b}]}},Ei={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:C}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:C}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},p2:{label:"table.minorPenalties.short",tooltip:"table.minorPenalties.tooltip",sortOrders:[{target:"p2",direction:b},{target:"pim",direction:b}]},p5:{label:"table.majorPenalties.short",tooltip:"table.majorPenalties.tooltip",sortOrders:[{target:"p5",direction:b},{target:"pim",direction:b}]},p10:{label:"table.misconducts.short",tooltip:"table.misconducts.tooltip",sortOrders:[{target:"p10",direction:b},{target:"pim",direction:b}]},p20:{label:"table.gameMisconducts.short",tooltip:"table.gameMisconducts.tooltip",sortOrders:[{target:"p20",direction:b},{target:"pim",direction:b}]},p25:{label:"table.matchPenalties.short",tooltip:"table.matchPenalties.tooltip",sortOrders:[{target:"p25",direction:b},{target:"pim",direction:b}]},pim:{label:"table.pim.short",tooltip:"table.pim.tooltip",sortOrders:[{target:"pim",direction:b}]}},ki={index:{label:"table.blank",class:"is-text-left"},playerPortrait:{label:"",class:"is-has-image"},name:{label:"table.name.short",tooltip:"table.name.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"name",direction:C}]},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto",sortOrders:[{target:"teamName",direction:C}]},gkd:{label:"table.gpgk.short",tooltip:"table.gpgk.tooltip",sortOrders:[{target:"gkd",direction:b}]},gpi:{label:"table.gpi.short",tooltip:"table.gpi.tooltip",sortOrders:[{target:"gpi",direction:b}]},mip:{label:"table.toi.short",tooltip:"table.toi.tooltip",sortOrders:[{target:"mipSec",direction:b}]},mipPercent:{label:"table.toiPercent.short",tooltip:"table.toiPercent.tooltip",sortOrders:[{target:"mipPercent",direction:b}]},ga:{label:"table.ga.short",tooltip:"table.ga.tooltip",sortOrders:[{target:"ga",direction:b}]},gaa:{label:"table.gaa.short",tooltip:"table.gaa.tooltip",sortOrders:[{target:"gaa",direction:b}]},sa:{label:"table.sa.short",tooltip:"table.sa.tooltip",sortOrders:[{target:"sa",direction:b}]},svs:{label:"table.svs.short",tooltip:"table.svs.tooltip",sortOrders:[{target:"svs",direction:b}]},svsPercent:{label:"table.svsPercent.short",tooltip:"table.svsPercent.tooltip",sortOrders:[{target:"svsPercent",direction:b}]}},Li={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},home:{label:"table.homeHeader.short"},homeGame:{label:"table.homeGame.short",tooltip:"table.homeGame.tooltip",sortOrders:[{target:"homeGame",direction:b}]},homeAttendance:{label:"table.homeAttendance.short",tooltip:"table.homeAttendance.tooltip",sortOrders:[{target:"homeAttendance",direction:b}]},homeAttendanceAvg:{label:"table.homeAttendanceAvg.short",tooltip:"table.homeAttendanceAvg.tooltip",sortOrders:[{target:"homeAttendanceAvg",direction:b}]},away:{label:"table.awayHeader.short"},awayGame:{label:"table.awayGame.short",tooltip:"table.awayGame.tooltip",sortOrders:[{target:"awayGame",direction:b}]},awayAttendance:{label:"table.awayAttendance.short",tooltip:"table.awayAttendance.tooltip",sortOrders:[{target:"awayAttendance",direction:b}]},awayAttendanceAvg:{label:"table.awayAttendanceAvg.short",tooltip:"table.awayAttendanceAvg.tooltip",sortOrders:[{target:"awayAttendanceAvg",direction:b}]},total:{label:"table.totalHeader.short"},totalGame:{label:"table.totalGame.short",tooltip:"table.totalGame.tooltip",sortOrders:[{target:"totalGame",direction:b}]},totalAttendance:{label:"table.totalAttendance.short",tooltip:"table.totalAttendance.tooltip",sortOrders:[{target:"totalAttendance",direction:b}]},totalAttendanceAvg:{label:"table.totalAttendanceAvg.short",tooltip:"table.totalAttendanceAvg.tooltip",sortOrders:[{target:"totalAttendanceAvg",direction:b}]}},Di={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},p2:{label:"table.minorPenalties.short",tooltip:"table.minorPenalties.tooltip",sortOrders:[{target:"p2",direction:b},{target:"pim",direction:b}]},p5:{label:"table.majorPenalties.short",tooltip:"table.majorPenalties.tooltip",sortOrders:[{target:"p5",direction:b},{target:"pim",direction:b}]},p10:{label:"table.misconducts.short",tooltip:"table.misconducts.tooltip",sortOrders:[{target:"p10",direction:b},{target:"pim",direction:b}]},p20:{label:"table.gameMisconducts.short",tooltip:"table.gameMisconducts.tooltip",sortOrders:[{target:"p20",direction:b},{target:"pim",direction:b}]},p25:{label:"table.matchPenalties.short",tooltip:"table.matchPenalties.tooltip",sortOrders:[{target:"p25",direction:b},{target:"pim",direction:b}]},pimPerGame:{label:"table.pimPerGame.short",tooltip:"table.pimPerGame.tooltip",sortOrders:[{target:"pimPerGame",direction:b}]},pim:{label:"table.pim.short",tooltip:"table.pim.tooltip",sortOrders:[{target:"pim",direction:b}]}},xi={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},dvg:{label:"table.powerplayDisadvantages.short",tooltip:"table.powerplayDisadvantages.tooltip",sortOrders:[{target:"dvg",direction:b}]},dvgTime:{label:"table.dvgTime.short",tooltip:"table.dvgTime.tooltip",sortOrders:[{target:"dvgTimeSec",direction:b}]},dvgTimePP1:{label:"table.dvgTimePP1.short",tooltip:"table.dvgTimePP1.tooltip",sortOrders:[{target:"dvgTimePP1Sec",direction:b}]},dvgTimePP2:{label:"table.dvgTimePP2.short",tooltip:"table.dvgTimePP2.tooltip",sortOrders:[{target:"dvgTimePP2",direction:b}]},ppga:{label:"table.ppga.short",tooltip:"table.ppga.tooltip",sortOrders:[{target:"ppga",direction:b}]},shgf:{label:"table.shgf.short",tooltip:"table.shgf.tooltip",sortOrders:[{target:"shgf",direction:b}]},pkPercent:{label:"table.pkPercent.short",tooltip:"table.pkPercent.tooltip",sortOrders:[{target:"pkPercent",direction:b}]}},Mi={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},gp:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},adv:{label:"table.adv.short",tooltip:"table.adv.tooltip",sortOrders:[{target:"adv",direction:b}]},advTime:{label:"table.advTime.short",tooltip:"table.advTime.tooltip",sortOrders:[{target:"advTimeSec",direction:b}]},advTimePP1:{label:"table.advTimePP1.short",tooltip:"table.advTimePP1.tooltip",sortOrders:[{target:"advTimePP1Sec",direction:b}]},advTimePP2:{label:"table.advTimePP2.short",tooltip:"table.advTimePP2.tooltip",sortOrders:[{target:"advTimePP2Sec",direction:b}]},ppgf:{label:"table.ppgf.short",tooltip:"table.ppgf.tooltip",sortOrders:[{target:"ppgf",direction:b}]},shga:{label:"table.shga.short",tooltip:"table.shga.tooltip",sortOrders:[{target:"shga",direction:b}]},ppPercent:{label:"table.ppPercent.short",tooltip:"table.ppPercent.tooltip",sortOrders:[{target:"ppPercent",direction:b}]}},Ni={index:{label:"table.blank",class:"is-text-left"},teamLogo:{label:"",class:"is-has-image"},teamName:{label:"table.team.short",tooltip:"table.team.tooltip",class:"is-text-left is-w-auto is-text-bold",sortOrders:[{target:"teamName",direction:C}]},m:{label:"table.game.short",tooltip:"table.game.tooltip",sortOrders:[{target:"gp",direction:b}]},plus:{label:"table.goalFor.short",tooltip:"table.goalFor.tooltip",sortOrders:[{target:"plus",direction:b}]},minus:{label:"table.goalAgainst.short",tooltip:"table.goalAgainst.tooltip",sortOrders:[{target:"minus",direction:C}]},gk:{label:"table.goalDiff.short",tooltip:"table.goalDiff.tooltip",sortOrders:[{target:"gk",direction:b}]},GFGP:{label:"table.gfgp.short",tooltip:"table.gfgp.tooltip",sortOrders:[{target:"GFGP",direction:b}]},GAGP:{label:"table.gagp.short",tooltip:"table.gagp.tooltip",sortOrders:[{target:"GAGP",direction:C}]},Shots:{label:"table.sog.short",tooltip:"table.sog.tooltip",sortOrders:[{target:"Shots",direction:b}]},SA:{label:"table.sa.short",tooltip:"table.sa.tooltip",sortOrders:[{target:"SA",direction:C}]},ShotsGP:{label:"table.sogp.short",tooltip:"table.sogp.tooltip",sortOrders:[{target:"ShotsGP",direction:b}]},SAGP:{label:"table.sagp.short",tooltip:"table.sagp.tooltip",sortOrders:[{target:"SAGP",direction:C}]},GFShots:{label:"table.sogPercent.short",tooltip:"table.sogPercent.tooltip",sortOrders:[{target:"GFShots",direction:b}]}},Ci=({modules:t=[],apiKey:e,gameResolver:r,teamResolver:n,playerResolver:s})=>{if(window.__MJSZ_VBR_WIDGET__={apiKey:e,gameResolver:r,teamResolver:n,playerResolver:s},t.length===0)throw new Error("At least one module must be set");t.forEach(a=>{if(a.register)return a.register();a==null||a()})};return S.AVAILABLE_TIMEZONES_BY_COUNTRY=dr,S.BaseSelect=dn,S.COLUMNS_FIELD_PLAYERS=$i,S.COLUMNS_FIELD_PLAYERS_PENALTY=Ei,S.COLUMNS_GOALIES=ki,S.COLUMNS_SCHEDULE=Ti,S.COLUMNS_SCORING_EFFICIENCY=Ni,S.COLUMNS_STANDINGS_P_2=Pi,S.COLUMNS_STANDINGS_P_3=Oi,S.COLUMNS_TEAMS_FAIRPLAY=Di,S.COLUMNS_TEAMS_PENALTY_KILLING=xi,S.COLUMNS_TEAMS_POWERPLAY=Mi,S.COLUMNS_TEAM_ATTENDANCE=Li,S.DEFAULT_EXTERNAL_BASE_URL=ir,S.DEFAULT_EXTERNAL_PLAYER_URL=cr,S.DEFAULT_EXTERNAL_TEAM_URL=ur,S.DEFAULT_PORTRAIT_IMAGE_URL=lr,S.DataTable=Ir,S.ErrorNotice=Ka,S.ErrorProvider=Za,S.FloatingPanel=Cr,S.I18NProvider=es,S.Image=ge,S.InvalidSeasonName=Fs,S.LAZY_LOADING_STATE_DELAY=pr,S.LOCALE_FOR_LANG=fr,S.LoadingIndicator=jr,S.Paginator=Ts,S.REFRESH_DELAY=ca,S.ResponsiveTable=Fr,S.SORT_STATE_ASCEND=C,S.SORT_STATE_DESCEND=b,S.SORT_STATE_ORIGINAL=ot,S.StatisticsTable=Xs,S.Test=ti,S.TimezoneSelector=js,S.UndefinedColumn=be,S.VBR_API_BASE_URL=sr,S.WidgetError=nn,S.appendTo=Nr,S.baseProps=_i,S.convert=di,S.convertMinToSec=ye,S.convertSecToMin=Qr,S.convertTimes=gi,S.convertTimesSecToMin=yi,S.createConfig=Ci,S.createI18n=nr,S.externalGameLinkResolver=wi,S.externalPlayerLinkResolver=Si,S.externalTeamLinkResolver=vi,S.fetchVBRData=on,S.format=Xt,S.getLocalTimezone=Jr,S.i18n=ar,S.isBetween=Rs,S.isSame=Gs,S.isSameOrBefore=tn,S.offsetName=xt,S.playerName=mi,S.playerStatsProps=Ai,S.rawConvert=pi,S.sortGames=bi,S.stringPadLeft=he,S.teamStatsProps=fn,S.toKebabCase=zr,S.upperCase=hi,S.useColumns=en,S.useError=Gr,S.useErrorProvider=Rr,S.useI18n=wt,S.useLazyLoadingState=De,S.useMainClass=ft,S.usePage=ni,S.useServices=oi,S.useSort=ui,S.useVisibilityChange=fi,S.validateColumnsName=rn,Object.defineProperty(S,Symbol.toStringTag,{value:"Module"}),S}({},Vue);
Binary file
Binary file
package/dist/index.js CHANGED
@@ -1,11 +1,11 @@
1
1
  /**
2
2
  * name: @mjsz-vbr-elements/core
3
- * version: v2.1.0-beta.18 - 29/09/2023, 22:21:00
3
+ * version: v2.1.0-beta.19 - 30/09/2023, 18:44:15
4
4
  * (c) 2023
5
5
  * description: Data visualization for MJSZ VBR
6
6
  * author: Ákos Stegner <akos.stegner@gmail.com>
7
7
  */
8
- import { computed as X, withDirectives as un, openBlock as L, createElementBlock as I, normalizeClass as rt, unref as b, renderSlot as ot, vModelSelect as fn, ref as H, readonly as dn, watch as dt, nextTick as pn, getCurrentScope as mn, onScopeDispose as hn, isRef as hr, shallowRef as Ie, reactive as gr, defineComponent as yr, h as gn, provide as vr, inject as br, createElementVNode as C, Fragment as Pt, normalizeStyle as Ne, createVNode as xt, Transition as yn, withCtx as st, createTextVNode as Rt, toDisplayString as Z, createCommentVNode as et, toRefs as wr, renderList as Ft, createBlock as yt, withKeys as Ce, withModifiers as Ht, onErrorCaptured as vn, createSlots as bn } from "vue";
8
+ import { computed as X, withDirectives as un, openBlock as L, createElementBlock as I, normalizeClass as rt, unref as b, renderSlot as ot, vModelSelect as fn, ref as H, readonly as dn, watch as dt, nextTick as pn, getCurrentScope as mn, onScopeDispose as hn, isRef as hr, shallowRef as Ie, reactive as gr, defineComponent as yr, h as gn, provide as vr, inject as br, createElementVNode as C, Fragment as $t, normalizeStyle as Ne, createVNode as xt, Transition as yn, withCtx as st, createTextVNode as Rt, toDisplayString as Z, createCommentVNode as et, toRefs as wr, renderList as Ft, createBlock as yt, withKeys as Ce, withModifiers as Ht, onErrorCaptured as vn, createSlots as bn } from "vue";
9
9
  const zt = (t) => ({}.VITE_CSS_CLASS_PREFIX || "mjsz-vbr-") + t, Vi = {
10
10
  __name: "BaseSelect",
11
11
  props: {
@@ -27,15 +27,15 @@ const zt = (t) => ({}.VITE_CSS_CLASS_PREFIX || "mjsz-vbr-") + t, Vi = {
27
27
  ]);
28
28
  }
29
29
  };
30
- function $r(t) {
30
+ function Pr(t) {
31
31
  return mn() ? (hn(t), !0) : !1;
32
32
  }
33
33
  function ct(t) {
34
34
  return typeof t == "function" ? t() : b(t);
35
35
  }
36
36
  const ae = typeof window < "u", pt = () => {
37
- }, wn = /* @__PURE__ */ $n();
38
- function $n() {
37
+ }, wn = /* @__PURE__ */ Pn();
38
+ function Pn() {
39
39
  var t;
40
40
  return ae && ((t = window == null ? void 0 : window.navigator) == null ? void 0 : t.userAgent) && /* @__PURE__ */ /iP(ad|hone|od)/.test(window.navigator.userAgent);
41
41
  }
@@ -44,7 +44,7 @@ function we(t, e = !1, r = "Timeout") {
44
44
  setTimeout(e ? () => a(r) : n, t);
45
45
  });
46
46
  }
47
- function $e(t, e = !1) {
47
+ function Pe(t, e = !1) {
48
48
  function r(l, { flush: d = "sync", deep: f = !1, timeout: h, throwOnTimeout: m } = {}) {
49
49
  let g = null;
50
50
  const O = [new Promise((S) => {
@@ -68,12 +68,12 @@ function $e(t, e = !1) {
68
68
  if (!hr(l))
69
69
  return r((D) => D === l, d);
70
70
  const { flush: f = "sync", deep: h = !1, timeout: m, throwOnTimeout: g } = d ?? {};
71
- let P = null;
71
+ let $ = null;
72
72
  const S = [new Promise((D) => {
73
- P = dt(
73
+ $ = dt(
74
74
  [t, l],
75
75
  ([k, N]) => {
76
- e !== (k === N) && (P == null || P(), D(k));
76
+ e !== (k === N) && ($ == null || $(), D(k));
77
77
  },
78
78
  {
79
79
  flush: f,
@@ -83,7 +83,7 @@ function $e(t, e = !1) {
83
83
  );
84
84
  })];
85
85
  return m != null && S.push(
86
- we(m, g).then(() => ct(t)).finally(() => (P == null || P(), ct(t)))
86
+ we(m, g).then(() => ct(t)).finally(() => ($ == null || $(), ct(t)))
87
87
  ), Promise.race(S);
88
88
  }
89
89
  function a(l) {
@@ -117,7 +117,7 @@ function $e(t, e = !1) {
117
117
  changed: c,
118
118
  changedTimes: p,
119
119
  get not() {
120
- return $e(t, !e);
120
+ return Pe(t, !e);
121
121
  }
122
122
  } : {
123
123
  toMatch: r,
@@ -129,12 +129,12 @@ function $e(t, e = !1) {
129
129
  changed: c,
130
130
  changedTimes: p,
131
131
  get not() {
132
- return $e(t, !e);
132
+ return Pe(t, !e);
133
133
  }
134
134
  };
135
135
  }
136
- function Pn(t) {
137
- return $e(t);
136
+ function $n(t) {
137
+ return Pe(t);
138
138
  }
139
139
  function On(t, e, r = {}) {
140
140
  const {
@@ -152,7 +152,7 @@ function On(t, e, r = {}) {
152
152
  a.value = !1, o = null, t(...c);
153
153
  }, ct(e));
154
154
  }
155
- return n && (a.value = !0, ae && u()), $r(i), {
155
+ return n && (a.value = !0, ae && u()), Pr(i), {
156
156
  isPending: dn(a),
157
157
  start: u,
158
158
  stop: i
@@ -166,10 +166,10 @@ function jt(t) {
166
166
  const r = ct(t);
167
167
  return (e = r == null ? void 0 : r.$el) != null ? e : r;
168
168
  }
169
- const Pr = ae ? window : void 0, An = ae ? window.document : void 0;
169
+ const $r = ae ? window : void 0, An = ae ? window.document : void 0;
170
170
  function Jt(...t) {
171
171
  let e, r, n, a;
172
- if (typeof t[0] == "string" || Array.isArray(t[0]) ? ([r, n, a] = t, e = Pr) : [e, r, n, a] = t, !e)
172
+ if (typeof t[0] == "string" || Array.isArray(t[0]) ? ([r, n, a] = t, e = $r) : [e, r, n, a] = t, !e)
173
173
  return pt;
174
174
  Array.isArray(r) || (r = [r]), Array.isArray(n) || (n = [n]);
175
175
  const o = [], s = () => {
@@ -185,11 +185,11 @@ function Jt(...t) {
185
185
  ), c = () => {
186
186
  u(), s();
187
187
  };
188
- return $r(c), c;
188
+ return Pr(c), c;
189
189
  }
190
190
  let Ge = !1;
191
191
  function Sn(t, e, r = {}) {
192
- const { window: n = Pr, ignore: a = [], capture: o = !0, detectIframe: s = !1 } = r;
192
+ const { window: n = $r, ignore: a = [], capture: o = !0, detectIframe: s = !1 } = r;
193
193
  if (!n)
194
194
  return;
195
195
  wn && !Ge && (Ge = !0, Array.from(n.document.body.children).forEach((d) => d.addEventListener("click", pt)));
@@ -242,8 +242,8 @@ function Or(t, e, r) {
242
242
  shallow: u = !0,
243
243
  throwError: c
244
244
  } = r ?? {}, p = u ? Ie(e) : H(e), l = H(!1), d = H(!1), f = Ie(void 0);
245
- async function h(P = 0, ...O) {
246
- i && (p.value = e), f.value = void 0, l.value = !1, d.value = !0, P > 0 && await we(P);
245
+ async function h($ = 0, ...O) {
246
+ i && (p.value = e), f.value = void 0, l.value = !1, d.value = !0, $ > 0 && await we($);
247
247
  const S = typeof t == "function" ? t(...O) : t;
248
248
  try {
249
249
  const D = await S;
@@ -265,13 +265,13 @@ function Or(t, e, r) {
265
265
  execute: h
266
266
  };
267
267
  function g() {
268
- return new Promise((P, O) => {
269
- Pn(d).toBe(!1).then(() => P(m)).catch(O);
268
+ return new Promise(($, O) => {
269
+ $n(d).toBe(!1).then(() => $(m)).catch(O);
270
270
  });
271
271
  }
272
272
  return En(Ln({}, m), {
273
- then(P, O) {
274
- return g().then(P, O);
273
+ then($, O) {
274
+ return g().then($, O);
275
275
  }
276
276
  });
277
277
  }
@@ -542,7 +542,7 @@ var Ye = Object.prototype.toString, Ar = /* @__PURE__ */ function() {
542
542
  for (n = Ue.length - 1; n >= 0; )
543
543
  r = Ue[n], ut(r, e) && !Un(a, r) && (a[a.length] = r), n -= 1;
544
544
  return a;
545
- }), Pe = /* @__PURE__ */ W(function(e) {
545
+ }), $e = /* @__PURE__ */ W(function(e) {
546
546
  return e === null ? "Null" : e === void 0 ? "Undefined" : Object.prototype.toString.call(e).slice(8, -1);
547
547
  });
548
548
  function Ke(t, e, r, n) {
@@ -557,8 +557,8 @@ function Ke(t, e, r, n) {
557
557
  function Me(t, e, r, n) {
558
558
  if (he(t, e))
559
559
  return !0;
560
- var a = Pe(t);
561
- if (a !== Pe(e))
560
+ var a = $e(t);
561
+ if (a !== $e(e))
562
562
  return !1;
563
563
  if (typeof t["fantasy-land/equals"] == "function" || typeof e["fantasy-land/equals"] == "function")
564
564
  return typeof t["fantasy-land/equals"] == "function" && t["fantasy-land/equals"](e) && typeof e["fantasy-land/equals"] == "function" && e["fantasy-land/equals"](t);
@@ -933,7 +933,7 @@ function wo(t) {
933
933
  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" : ""));
934
934
  }
935
935
  function De(t, e, r) {
936
- if (r || (r = new Po()), $o(t))
936
+ if (r || (r = new $o()), Po(t))
937
937
  return t;
938
938
  var n = function(o) {
939
939
  var s = r.get(t);
@@ -944,7 +944,7 @@ function De(t, e, r) {
944
944
  Object.prototype.hasOwnProperty.call(t, i) && (o[i] = e ? De(t[i], !0, r) : t[i]);
945
945
  return o;
946
946
  };
947
- switch (Pe(t)) {
947
+ switch ($e(t)) {
948
948
  case "Object":
949
949
  return n(Object.create(Object.getPrototypeOf(t)));
950
950
  case "Array":
@@ -969,11 +969,11 @@ function De(t, e, r) {
969
969
  return t;
970
970
  }
971
971
  }
972
- function $o(t) {
972
+ function Po(t) {
973
973
  var e = typeof t;
974
974
  return t == null || e != "object" && e != "function";
975
975
  }
976
- var Po = /* @__PURE__ */ function() {
976
+ var $o = /* @__PURE__ */ function() {
977
977
  function t() {
978
978
  this.map = {}, this.length = 0;
979
979
  }
@@ -1289,7 +1289,7 @@ const ya = function(t, e) {
1289
1289
  });
1290
1290
  return () => gn(t.tag, o);
1291
1291
  }
1292
- }), ba = "https://api.icehockey.hu/vbr", wa = "https://www.jegkorongszovetseg.hu/event/game/", $a = "https://jegkorongszovetseg.hu/assets/images/player_blank.png", Pa = "https://www.ersteliga.hu/stats/players#/player/", Oa = "https://www.ersteliga.hu/stats/teams#/team/3314/21096?name=", vt = "original", y = "descend", G = "ascend", xa = (/* @__PURE__ */ new Map()).set("hu", "hu-hu").set("en", "hu-gb"), Aa = (/* @__PURE__ */ new Map()).set("Europe/Budapest", { countryLabelKey: "hungary", timezone: "Europe/Budapest" }).set("Europe/Bucharest", { countryLabelKey: "romania", timezone: "Europe/Bucharest" }), Hi = 1e3 * 60 * 5, Sa = 1e3, _a = {
1292
+ }), ba = "https://api.icehockey.hu/vbr", wa = "https://www.jegkorongszovetseg.hu/event/game/", Pa = "https://jegkorongszovetseg.hu/assets/images/player_blank.png", $a = "https://www.ersteliga.hu/stats/players#/player/", Oa = "https://www.ersteliga.hu/stats/teams#/team/3314/21096?name=", vt = "original", y = "descend", G = "ascend", xa = (/* @__PURE__ */ new Map()).set("hu", "hu-hu").set("en", "hu-gb"), Aa = (/* @__PURE__ */ new Map()).set("Europe/Budapest", { countryLabelKey: "hungary", timezone: "Europe/Budapest" }).set("Europe/Bucharest", { countryLabelKey: "romania", timezone: "Europe/Bucharest" }), Hi = 1e3 * 60 * 5, Sa = 1e3, _a = {
1293
1293
  "aria-hidden": "true",
1294
1294
  focusable: "false",
1295
1295
  "data-prefix": "fas",
@@ -1371,7 +1371,7 @@ const Ia = async (t, e, r) => {
1371
1371
  const { placement: n = "bottom", strategy: a = "absolute", middleware: o = [], platform: s } = r, i = o.filter(Boolean), u = await (s.isRTL == null ? void 0 : s.isRTL(e));
1372
1372
  let c = await s.getElementRects({ reference: t, floating: e, strategy: a }), { x: p, y: l } = Qe(c, n, u), d = n, f = {}, h = 0;
1373
1373
  for (let m = 0; m < i.length; m++) {
1374
- const { name: g, fn: P } = i[m], { x: O, y: S, data: D, reset: k } = await P({ x: p, y: l, initialPlacement: n, placement: d, strategy: a, middlewareData: f, rects: c, platform: s, elements: { reference: t, floating: e } });
1374
+ const { name: g, fn: $ } = i[m], { x: O, y: S, data: D, reset: k } = await $({ x: p, y: l, initialPlacement: n, placement: d, strategy: a, middlewareData: f, rects: c, platform: s, elements: { reference: t, floating: e } });
1375
1375
  p = O ?? p, l = S ?? l, f = { ...f, [g]: { ...f[g], ...D } }, k && h <= 50 && (h++, typeof k == "object" && (k.placement && (d = k.placement), k.rects && (c = k.rects === !0 ? await s.getElementRects({ reference: t, floating: e, strategy: a }) : k.rects), { x: p, y: l } = Qe(c, d, u)), m = -1);
1376
1376
  }
1377
1377
  return { x: p, y: l, placement: d, strategy: a, middlewareData: f };
@@ -1387,7 +1387,7 @@ function re(t) {
1387
1387
  async function Vr(t, e) {
1388
1388
  var r;
1389
1389
  e === void 0 && (e = {});
1390
- const { x: n, y: a, platform: o, rects: s, elements: i, strategy: u } = t, { boundary: c = "clippingAncestors", rootBoundary: p = "viewport", elementContext: l = "floating", altBoundary: d = !1, padding: f = 0 } = e, h = Br(f), m = i[d ? l === "floating" ? "reference" : "floating" : l], g = re(await o.getClippingRect({ element: (r = await (o.isElement == null ? void 0 : o.isElement(m))) == null || r ? m : m.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(i.floating)), boundary: c, rootBoundary: p, strategy: u })), P = l === "floating" ? { ...s.floating, x: n, y: a } : s.reference, O = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(i.floating)), S = await (o.isElement == null ? void 0 : o.isElement(O)) && await (o.getScale == null ? void 0 : o.getScale(O)) || { x: 1, y: 1 }, D = re(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: P, offsetParent: O, strategy: u }) : P);
1390
+ const { x: n, y: a, platform: o, rects: s, elements: i, strategy: u } = t, { boundary: c = "clippingAncestors", rootBoundary: p = "viewport", elementContext: l = "floating", altBoundary: d = !1, padding: f = 0 } = e, h = Br(f), m = i[d ? l === "floating" ? "reference" : "floating" : l], g = re(await o.getClippingRect({ element: (r = await (o.isElement == null ? void 0 : o.isElement(m))) == null || r ? m : m.contextElement || await (o.getDocumentElement == null ? void 0 : o.getDocumentElement(i.floating)), boundary: c, rootBoundary: p, strategy: u })), $ = l === "floating" ? { ...s.floating, x: n, y: a } : s.reference, O = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(i.floating)), S = await (o.isElement == null ? void 0 : o.isElement(O)) && await (o.getScale == null ? void 0 : o.getScale(O)) || { x: 1, y: 1 }, D = re(o.convertOffsetParentRelativeRectToViewportRelativeRect ? await o.convertOffsetParentRelativeRectToViewportRelativeRect({ rect: $, offsetParent: O, strategy: u }) : $);
1391
1391
  return { top: (g.top - D.top + h.top) / S.y, bottom: (D.bottom - g.bottom + h.bottom) / S.y, left: (g.left - D.left + h.left) / S.x, right: (D.right - g.right + h.right) / S.x };
1392
1392
  }
1393
1393
  const Na = Math.min, Ca = Math.max;
@@ -1398,10 +1398,10 @@ const tr = (t) => ({ name: "arrow", options: t, async fn(e) {
1398
1398
  const { element: r, padding: n = 0 } = t || {}, { x: a, y: o, placement: s, rects: i, platform: u, elements: c } = e;
1399
1399
  if (r == null)
1400
1400
  return {};
1401
- const p = Br(n), l = { x: a, y: o }, d = qt(s), f = Le(d), h = await u.getDimensions(r), m = d === "y", g = m ? "top" : "left", P = m ? "bottom" : "right", O = m ? "clientHeight" : "clientWidth", S = i.reference[f] + i.reference[d] - l[d] - i.floating[f], D = l[d] - i.reference[d], k = await (u.getOffsetParent == null ? void 0 : u.getOffsetParent(r));
1401
+ const p = Br(n), l = { x: a, y: o }, d = qt(s), f = Le(d), h = await u.getDimensions(r), m = d === "y", g = m ? "top" : "left", $ = m ? "bottom" : "right", O = m ? "clientHeight" : "clientWidth", S = i.reference[f] + i.reference[d] - l[d] - i.floating[f], D = l[d] - i.reference[d], k = await (u.getOffsetParent == null ? void 0 : u.getOffsetParent(r));
1402
1402
  let N = k ? k[O] : 0;
1403
1403
  N && await (u.isElement == null ? void 0 : u.isElement(k)) || (N = c.floating[O] || i.floating[f]);
1404
- const j = S / 2 - D / 2, U = p[g], E = N - h[f] - p[P], T = N / 2 - h[f] / 2 + j, R = Ae(U, T, E), K = Kt(s) != null && T != R && i.reference[f] / 2 - (T < U ? p[g] : p[P]) - h[f] / 2 < 0;
1404
+ const j = S / 2 - D / 2, U = p[g], E = N - h[f] - p[$], T = N / 2 - h[f] / 2 + j, R = Ae(U, T, E), K = Kt(s) != null && T != R && i.reference[f] / 2 - (T < U ? p[g] : p[$]) - h[f] / 2 < 0;
1405
1405
  return { [d]: l[d] - (K ? T < U ? U - T : E - T : 0), data: { [d]: R, centerOffset: T - R } };
1406
1406
  } }), Ga = ["top", "right", "bottom", "left"];
1407
1407
  Ga.reduce((t, e) => t.concat(e, e + "-start", e + "-end"), []);
@@ -1422,11 +1422,11 @@ function ye(t) {
1422
1422
  const Ba = function(t) {
1423
1423
  return t === void 0 && (t = {}), { name: "flip", options: t, async fn(e) {
1424
1424
  var r;
1425
- const { placement: n, middlewareData: a, rects: o, initialPlacement: s, platform: i, elements: u } = e, { mainAxis: c = !0, crossAxis: p = !0, fallbackPlacements: l, fallbackStrategy: d = "bestFit", fallbackAxisSideDirection: f = "none", flipAlignment: h = !0, ...m } = t, g = Ot(n), P = Ot(s) === s, O = await (i.isRTL == null ? void 0 : i.isRTL(u.floating)), S = l || (P || !h ? [ne(s)] : function(R) {
1425
+ const { placement: n, middlewareData: a, rects: o, initialPlacement: s, platform: i, elements: u } = e, { mainAxis: c = !0, crossAxis: p = !0, fallbackPlacements: l, fallbackStrategy: d = "bestFit", fallbackAxisSideDirection: f = "none", flipAlignment: h = !0, ...m } = t, g = Ot(n), $ = Ot(s) === s, O = await (i.isRTL == null ? void 0 : i.isRTL(u.floating)), S = l || ($ || !h ? [ne(s)] : function(R) {
1426
1426
  const K = ne(R);
1427
1427
  return [ye(R), K, ye(K)];
1428
1428
  }(s));
1429
- l || f === "none" || S.push(...function(R, K, A, $) {
1429
+ l || f === "none" || S.push(...function(R, K, A, P) {
1430
1430
  const w = Kt(R);
1431
1431
  let x = function(v, _, M) {
1432
1432
  const z = ["left", "right"], Y = ["right", "left"], V = ["top", "bottom"], q = ["bottom", "top"];
@@ -1440,7 +1440,7 @@ const Ba = function(t) {
1440
1440
  default:
1441
1441
  return [];
1442
1442
  }
1443
- }(Ot(R), A === "start", $);
1443
+ }(Ot(R), A === "start", P);
1444
1444
  return w && (x = x.map((v) => v + "-" + w), K && (x = x.concat(x.map(ye)))), x;
1445
1445
  }(s, h, f, O));
1446
1446
  const D = [s, ...S], k = await Vr(e, m), N = [];
@@ -1454,13 +1454,13 @@ const Ba = function(t) {
1454
1454
  const R = (((U = a.flip) == null ? void 0 : U.index) || 0) + 1, K = D[R];
1455
1455
  if (K)
1456
1456
  return { data: { index: R, overflows: j }, reset: { placement: K } };
1457
- let A = (E = j.filter(($) => $.overflows[0] <= 0).sort(($, w) => $.overflows[1] - w.overflows[1])[0]) == null ? void 0 : E.placement;
1457
+ let A = (E = j.filter((P) => P.overflows[0] <= 0).sort((P, w) => P.overflows[1] - w.overflows[1])[0]) == null ? void 0 : E.placement;
1458
1458
  if (!A)
1459
1459
  switch (d) {
1460
1460
  case "bestFit": {
1461
1461
  var T;
1462
- const $ = (T = j.map((w) => [w.placement, w.overflows.filter((x) => x > 0).reduce((x, v) => x + v, 0)]).sort((w, x) => w[1] - x[1])[0]) == null ? void 0 : T[0];
1463
- $ && (A = $);
1462
+ const P = (T = j.map((w) => [w.placement, w.overflows.filter((x) => x > 0).reduce((x, v) => x + v, 0)]).sort((w, x) => w[1] - x[1])[0]) == null ? void 0 : T[0];
1463
+ P && (A = P);
1464
1464
  break;
1465
1465
  }
1466
1466
  case "initialPlacement":
@@ -1475,8 +1475,8 @@ const Ba = function(t) {
1475
1475
  return t === void 0 && (t = 0), { name: "offset", options: t, async fn(e) {
1476
1476
  const { x: r, y: n } = e, a = await async function(o, s) {
1477
1477
  const { placement: i, platform: u, elements: c } = o, p = await (u.isRTL == null ? void 0 : u.isRTL(c.floating)), l = Ot(i), d = Kt(i), f = qt(i) === "x", h = ["left", "top"].includes(l) ? -1 : 1, m = p && f ? -1 : 1, g = typeof s == "function" ? s(o) : s;
1478
- let { mainAxis: P, crossAxis: O, alignmentAxis: S } = typeof g == "number" ? { mainAxis: g, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...g };
1479
- return d && typeof S == "number" && (O = d === "end" ? -1 * S : S), f ? { x: O * m, y: P * h } : { x: P * h, y: O * m };
1478
+ let { mainAxis: $, crossAxis: O, alignmentAxis: S } = typeof g == "number" ? { mainAxis: g, crossAxis: 0, alignmentAxis: null } : { mainAxis: 0, crossAxis: 0, alignmentAxis: null, ...g };
1479
+ return d && typeof S == "number" && (O = d === "end" ? -1 * S : S), f ? { x: O * m, y: $ * h } : { x: $ * h, y: O * m };
1480
1480
  }(e, t);
1481
1481
  return { x: r + a.x, y: n + a.y, data: a };
1482
1482
  } };
@@ -1487,8 +1487,8 @@ function Ha(t) {
1487
1487
  const Ya = function(t) {
1488
1488
  return t === void 0 && (t = {}), { name: "shift", options: t, async fn(e) {
1489
1489
  const { x: r, y: n, placement: a } = e, { mainAxis: o = !0, crossAxis: s = !1, limiter: i = { fn: (g) => {
1490
- let { x: P, y: O } = g;
1491
- return { x: P, y: O };
1490
+ let { x: $, y: O } = g;
1491
+ return { x: $, y: O };
1492
1492
  } }, ...u } = t, c = { x: r, y: n }, p = await Vr(e, u), l = qt(Ot(a)), d = Ha(l);
1493
1493
  let f = c[l], h = c[d];
1494
1494
  if (o) {
@@ -1580,8 +1580,8 @@ function _t(t, e, r, n) {
1580
1580
  const d = at(o), f = n && nt(n) ? at(n) : n;
1581
1581
  let h = d.frameElement;
1582
1582
  for (; h && n && f !== d; ) {
1583
- const m = Dt(h), g = h.getBoundingClientRect(), P = getComputedStyle(h);
1584
- g.x += (h.clientLeft + parseFloat(P.paddingLeft)) * m.x, g.y += (h.clientTop + parseFloat(P.paddingTop)) * m.y, u *= m.x, c *= m.y, p *= m.x, l *= m.y, u += g.x, c += g.y, h = at(h).frameElement;
1583
+ const m = Dt(h), g = h.getBoundingClientRect(), $ = getComputedStyle(h);
1584
+ g.x += (h.clientLeft + parseFloat($.paddingLeft)) * m.x, g.y += (h.clientTop + parseFloat($.paddingTop)) * m.y, u *= m.x, c *= m.y, p *= m.x, l *= m.y, u += g.x, c += g.y, h = at(h).frameElement;
1585
1585
  }
1586
1586
  }
1587
1587
  return re({ width: p, height: l, x: u, y: c });
@@ -1688,8 +1688,8 @@ const Ka = { getClippingRect: function(t) {
1688
1688
  const h = it(c).position === "fixed";
1689
1689
  let m = h ? Et(c) : c;
1690
1690
  for (; nt(m) && !de(m); ) {
1691
- const g = it(m), P = Se(m);
1692
- P || g.position !== "fixed" || (f = null), (h ? !P && !f : !P && g.position === "static" && f && ["absolute", "fixed"].includes(f.position) || Ut(m) && !P && Xr(c, m)) ? d = d.filter((O) => O !== m) : f = g, m = Et(m);
1691
+ const g = it(m), $ = Se(m);
1692
+ $ || g.position !== "fixed" || (f = null), (h ? !$ && !f : !$ && g.position === "static" && f && ["absolute", "fixed"].includes(f.position) || Ut(m) && !$ && Xr(c, m)) ? d = d.filter((O) => O !== m) : f = g, m = Et(m);
1693
1693
  }
1694
1694
  return p.set(c, d), d;
1695
1695
  }(e, this._c) : [].concat(r), s = [...o, n], i = s[0], u = s.reduce((c, p) => {
@@ -1767,8 +1767,8 @@ function Ja({ middleware: t, placement: e = null, strategy: r, append: n, enable
1767
1767
  floating: b(s),
1768
1768
  append: b(n)
1769
1769
  }),
1770
- ({ floating: g, append: P }) => {
1771
- P && Xa(g, P), h();
1770
+ ({ floating: g, append: $ }) => {
1771
+ $ && Xa(g, $), h();
1772
1772
  },
1773
1773
  { flush: "post" }
1774
1774
  ), dt(
@@ -1854,9 +1854,9 @@ const Qa = (t) => {
1854
1854
  blur: f
1855
1855
  };
1856
1856
  return Sn(p, (g) => {
1857
- var P;
1858
- (P = c.value) != null && P.contains(g.target) || f();
1859
- }), (g, P) => (L(), I(Pt, null, [
1857
+ var $;
1858
+ ($ = c.value) != null && $.contains(g.target) || f();
1859
+ }), (g, $) => (L(), I($t, null, [
1860
1860
  ot(g.$slots, "default", {
1861
1861
  setRef: h,
1862
1862
  show: d,
@@ -1936,14 +1936,14 @@ const Qa = (t) => {
1936
1936
  }, [
1937
1937
  C("thead", null, [
1938
1938
  C("tr", null, [
1939
- (L(!0), I(Pt, null, Ft(u.value, (f, h) => (L(), yt(es, {
1939
+ (L(!0), I($t, null, Ft(u.value, (f, h) => (L(), yt(es, {
1940
1940
  key: h,
1941
1941
  placement: "top",
1942
1942
  content: f.tooltip,
1943
1943
  disabled: !f.tooltip,
1944
1944
  "append-to": b(a)
1945
1945
  }, {
1946
- default: st(({ setRef: m, show: g, hide: P }) => [
1946
+ default: st(({ setRef: m, show: g, hide: $ }) => [
1947
1947
  C("th", {
1948
1948
  ref_for: !0,
1949
1949
  ref: m,
@@ -1957,9 +1957,9 @@ const Qa = (t) => {
1957
1957
  }
1958
1958
  ]),
1959
1959
  onMouseenter: g,
1960
- onMouseleave: P,
1960
+ onMouseleave: $,
1961
1961
  onFocus: g,
1962
- onBlur: P,
1962
+ onBlur: $,
1963
1963
  onClick: (O) => p(f, h),
1964
1964
  onKeydown: [
1965
1965
  Ce(Ht((O) => p(f, h), ["prevent"]), ["space"]),
@@ -1994,8 +1994,8 @@ const Qa = (t) => {
1994
1994
  ])
1995
1995
  ]),
1996
1996
  C("tbody", null, [
1997
- (L(!0), I(Pt, null, Ft(r.rows, (f, h) => (L(), I("tr", { key: h }, [
1998
- (L(!0), I(Pt, null, Ft(u.value, (m, g) => (L(), I("td", {
1997
+ (L(!0), I($t, null, Ft(r.rows, (f, h) => (L(), I("tr", { key: h }, [
1998
+ (L(!0), I($t, null, Ft(u.value, (m, g) => (L(), I("td", {
1999
1999
  key: g,
2000
2000
  class: rt([
2001
2001
  [m.class],
@@ -2149,7 +2149,7 @@ const Jr = Symbol("ErrorProviderContext"), gs = () => {
2149
2149
  all: "Mind",
2150
2150
  report: "Jegyzőkönyv",
2151
2151
  video: "Videó"
2152
- }, $s = {
2152
+ }, Ps = {
2153
2153
  blank: "#",
2154
2154
  team: {
2155
2155
  short: "Csapat",
@@ -2447,7 +2447,7 @@ const Jr = Symbol("ErrorProviderContext"), gs = () => {
2447
2447
  short: "Hivatalos Személyek",
2448
2448
  tooltip: "Hivatalos Személyek"
2449
2449
  }
2450
- }, Ps = {
2450
+ }, $s = {
2451
2451
  data: {
2452
2452
  localTime: "Helyszín szerinti idő"
2453
2453
  },
@@ -2480,8 +2480,8 @@ const Jr = Symbol("ErrorProviderContext"), gs = () => {
2480
2480
  }, Os = {
2481
2481
  errors: bs,
2482
2482
  common: ws,
2483
- table: $s,
2484
- game: Ps
2483
+ table: Ps,
2484
+ game: $s
2485
2485
  }, xs = {
2486
2486
  "undefined-column": "The {column} column is not exists!",
2487
2487
  "invalid-season-name": "Invalid season name",
@@ -2878,7 +2878,7 @@ const Wi = /* @__PURE__ */ Qr(Ms, [["render", Ds]]), ks = ["src"], Ls = ["src",
2878
2878
  },
2879
2879
  setup(t) {
2880
2880
  const e = t, { defaultSrc: r } = wr(e), n = H({ src: e.src }), { error: a, isReady: o } = jn(n, { resetOnExecute: !1, shallow: !1 });
2881
- return (s, i) => (L(), I(Pt, null, [
2881
+ return (s, i) => (L(), I($t, null, [
2882
2882
  b(a) && b(r) ? (L(), I("img", {
2883
2883
  key: 0,
2884
2884
  src: b(r),
@@ -3013,7 +3013,7 @@ const Ys = { render: Hs }, Us = ["disabled"], Ws = ["disabled"], Ks = {
3013
3013
  onClick: p[1] || (p[1] = (l) => b(i)(1))
3014
3014
  }, "1", 8, Ws)),
3015
3015
  t.isCompact ? et("", !0) : (L(), I("div", Ks, "...")),
3016
- (L(!0), I(Pt, null, Ft(b(s), (l) => (L(), I("button", {
3016
+ (L(!0), I($t, null, Ft(b(s), (l) => (L(), I("button", {
3017
3017
  type: "button",
3018
3018
  key: l,
3019
3019
  class: rt({ "is-active": l === b(a) }),
@@ -3051,7 +3051,7 @@ const Ys = { render: Hs }, Us = ["disabled"], Ws = ["disabled"], Ks = {
3051
3051
  ], 2));
3052
3052
  }
3053
3053
  };
3054
- var $t = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3054
+ var Pt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3055
3055
  function Tt(t) {
3056
3056
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
3057
3057
  }
@@ -3059,20 +3059,20 @@ var tn = { exports: {} };
3059
3059
  (function(t, e) {
3060
3060
  (function(r, n) {
3061
3061
  t.exports = n();
3062
- })($t, function() {
3063
- var r = 1e3, n = 6e4, a = 36e5, o = "millisecond", s = "second", i = "minute", u = "hour", c = "day", p = "week", l = "month", d = "quarter", f = "year", h = "date", m = "Invalid Date", g = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, P = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, O = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(A) {
3064
- var $ = ["th", "st", "nd", "rd"], w = A % 100;
3065
- return "[" + A + ($[(w - 20) % 10] || $[w] || $[0]) + "]";
3066
- } }, S = function(A, $, w) {
3062
+ })(Pt, function() {
3063
+ var r = 1e3, n = 6e4, a = 36e5, o = "millisecond", s = "second", i = "minute", u = "hour", c = "day", p = "week", l = "month", d = "quarter", f = "year", h = "date", m = "Invalid Date", g = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, $ = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, O = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(A) {
3064
+ var P = ["th", "st", "nd", "rd"], w = A % 100;
3065
+ return "[" + A + (P[(w - 20) % 10] || P[w] || P[0]) + "]";
3066
+ } }, S = function(A, P, w) {
3067
3067
  var x = String(A);
3068
- return !x || x.length >= $ ? A : "" + Array($ + 1 - x.length).join(w) + A;
3068
+ return !x || x.length >= P ? A : "" + Array(P + 1 - x.length).join(w) + A;
3069
3069
  }, D = { s: S, z: function(A) {
3070
- var $ = -A.utcOffset(), w = Math.abs($), x = Math.floor(w / 60), v = w % 60;
3071
- return ($ <= 0 ? "+" : "-") + S(x, 2, "0") + ":" + S(v, 2, "0");
3072
- }, m: function A($, w) {
3073
- if ($.date() < w.date())
3074
- return -A(w, $);
3075
- var x = 12 * (w.year() - $.year()) + (w.month() - $.month()), v = $.clone().add(x, l), _ = w - v < 0, M = $.clone().add(x + (_ ? -1 : 1), l);
3070
+ var P = -A.utcOffset(), w = Math.abs(P), x = Math.floor(w / 60), v = w % 60;
3071
+ return (P <= 0 ? "+" : "-") + S(x, 2, "0") + ":" + S(v, 2, "0");
3072
+ }, m: function A(P, w) {
3073
+ if (P.date() < w.date())
3074
+ return -A(w, P);
3075
+ var x = 12 * (w.year() - P.year()) + (w.month() - P.month()), v = P.clone().add(x, l), _ = w - v < 0, M = P.clone().add(x + (_ ? -1 : 1), l);
3076
3076
  return +(-(x + (w - v) / (_ ? v - M : M - v)) || 0);
3077
3077
  }, a: function(A) {
3078
3078
  return A < 0 ? Math.ceil(A) || 0 : Math.floor(A);
@@ -3084,36 +3084,36 @@ var tn = { exports: {} };
3084
3084
  N[k] = O;
3085
3085
  var j = function(A) {
3086
3086
  return A instanceof R;
3087
- }, U = function A($, w, x) {
3087
+ }, U = function A(P, w, x) {
3088
3088
  var v;
3089
- if (!$)
3089
+ if (!P)
3090
3090
  return k;
3091
- if (typeof $ == "string") {
3092
- var _ = $.toLowerCase();
3091
+ if (typeof P == "string") {
3092
+ var _ = P.toLowerCase();
3093
3093
  N[_] && (v = _), w && (N[_] = w, v = _);
3094
- var M = $.split("-");
3094
+ var M = P.split("-");
3095
3095
  if (!v && M.length > 1)
3096
3096
  return A(M[0]);
3097
3097
  } else {
3098
- var z = $.name;
3099
- N[z] = $, v = z;
3098
+ var z = P.name;
3099
+ N[z] = P, v = z;
3100
3100
  }
3101
3101
  return !x && v && (k = v), v || !x && k;
3102
- }, E = function(A, $) {
3102
+ }, E = function(A, P) {
3103
3103
  if (j(A))
3104
3104
  return A.clone();
3105
- var w = typeof $ == "object" ? $ : {};
3105
+ var w = typeof P == "object" ? P : {};
3106
3106
  return w.date = A, w.args = arguments, new R(w);
3107
3107
  }, T = D;
3108
- T.l = U, T.i = j, T.w = function(A, $) {
3109
- return E(A, { locale: $.$L, utc: $.$u, x: $.$x, $offset: $.$offset });
3108
+ T.l = U, T.i = j, T.w = function(A, P) {
3109
+ return E(A, { locale: P.$L, utc: P.$u, x: P.$x, $offset: P.$offset });
3110
3110
  };
3111
3111
  var R = function() {
3112
3112
  function A(w) {
3113
3113
  this.$L = U(w.locale, null, !0), this.parse(w);
3114
3114
  }
3115
- var $ = A.prototype;
3116
- return $.parse = function(w) {
3115
+ var P = A.prototype;
3116
+ return P.parse = function(w) {
3117
3117
  this.$d = function(x) {
3118
3118
  var v = x.date, _ = x.utc;
3119
3119
  if (v === null)
@@ -3131,27 +3131,27 @@ var tn = { exports: {} };
3131
3131
  }
3132
3132
  return new Date(v);
3133
3133
  }(w), this.$x = w.x || {}, this.init();
3134
- }, $.init = function() {
3134
+ }, P.init = function() {
3135
3135
  var w = this.$d;
3136
3136
  this.$y = w.getFullYear(), this.$M = w.getMonth(), this.$D = w.getDate(), this.$W = w.getDay(), this.$H = w.getHours(), this.$m = w.getMinutes(), this.$s = w.getSeconds(), this.$ms = w.getMilliseconds();
3137
- }, $.$utils = function() {
3137
+ }, P.$utils = function() {
3138
3138
  return T;
3139
- }, $.isValid = function() {
3139
+ }, P.isValid = function() {
3140
3140
  return this.$d.toString() !== m;
3141
- }, $.isSame = function(w, x) {
3141
+ }, P.isSame = function(w, x) {
3142
3142
  var v = E(w);
3143
3143
  return this.startOf(x) <= v && v <= this.endOf(x);
3144
- }, $.isAfter = function(w, x) {
3144
+ }, P.isAfter = function(w, x) {
3145
3145
  return E(w) < this.startOf(x);
3146
- }, $.isBefore = function(w, x) {
3146
+ }, P.isBefore = function(w, x) {
3147
3147
  return this.endOf(x) < E(w);
3148
- }, $.$g = function(w, x, v) {
3148
+ }, P.$g = function(w, x, v) {
3149
3149
  return T.u(w) ? this[x] : this.set(v, w);
3150
- }, $.unix = function() {
3150
+ }, P.unix = function() {
3151
3151
  return Math.floor(this.valueOf() / 1e3);
3152
- }, $.valueOf = function() {
3152
+ }, P.valueOf = function() {
3153
3153
  return this.$d.getTime();
3154
- }, $.startOf = function(w, x) {
3154
+ }, P.startOf = function(w, x) {
3155
3155
  var v = this, _ = !!T.u(x) || x, M = T.p(w), z = function(Mt, tt) {
3156
3156
  var gt = T.w(v.$u ? Date.UTC(v.$y, tt, Mt) : new Date(v.$y, tt, Mt), v);
3157
3157
  return _ ? gt : gt.endOf(c);
@@ -3178,9 +3178,9 @@ var tn = { exports: {} };
3178
3178
  default:
3179
3179
  return this.clone();
3180
3180
  }
3181
- }, $.endOf = function(w) {
3181
+ }, P.endOf = function(w) {
3182
3182
  return this.startOf(w, !1);
3183
- }, $.$set = function(w, x) {
3183
+ }, P.$set = function(w, x) {
3184
3184
  var v, _ = T.p(w), M = "set" + (this.$u ? "UTC" : ""), z = (v = {}, v[c] = M + "Date", v[h] = M + "Date", v[l] = M + "Month", v[f] = M + "FullYear", v[u] = M + "Hours", v[i] = M + "Minutes", v[s] = M + "Seconds", v[o] = M + "Milliseconds", v)[_], Y = _ === c ? this.$D + (x - this.$W) : x;
3185
3185
  if (_ === l || _ === f) {
3186
3186
  var V = this.clone().set(h, 1);
@@ -3188,11 +3188,11 @@ var tn = { exports: {} };
3188
3188
  } else
3189
3189
  z && this.$d[z](Y);
3190
3190
  return this.init(), this;
3191
- }, $.set = function(w, x) {
3191
+ }, P.set = function(w, x) {
3192
3192
  return this.clone().$set(w, x);
3193
- }, $.get = function(w) {
3193
+ }, P.get = function(w) {
3194
3194
  return this[T.p(w)]();
3195
- }, $.add = function(w, x) {
3195
+ }, P.add = function(w, x) {
3196
3196
  var v, _ = this;
3197
3197
  w = Number(w);
3198
3198
  var M = T.p(x), z = function(q) {
@@ -3209,9 +3209,9 @@ var tn = { exports: {} };
3209
3209
  return z(7);
3210
3210
  var Y = (v = {}, v[i] = n, v[u] = a, v[s] = r, v)[M] || 1, V = this.$d.getTime() + w * Y;
3211
3211
  return T.w(V, this);
3212
- }, $.subtract = function(w, x) {
3212
+ }, P.subtract = function(w, x) {
3213
3213
  return this.add(-1 * w, x);
3214
- }, $.format = function(w) {
3214
+ }, P.format = function(w) {
3215
3215
  var x = this, v = this.$locale();
3216
3216
  if (!this.isValid())
3217
3217
  return v.invalidDate || m;
@@ -3223,41 +3223,41 @@ var tn = { exports: {} };
3223
3223
  var Zt = tt < 12 ? "AM" : "PM";
3224
3224
  return me ? Zt.toLowerCase() : Zt;
3225
3225
  }, Mt = { YY: String(this.$y).slice(-2), YYYY: this.$y, M: V + 1, MM: T.s(V + 1, 2, "0"), MMM: ft(v.monthsShort, V, ht, 3), MMMM: ft(ht, V), D: this.$D, DD: T.s(this.$D, 2, "0"), d: String(this.$W), dd: ft(v.weekdaysMin, this.$W, q, 2), ddd: ft(v.weekdaysShort, this.$W, q, 3), dddd: q[this.$W], H: String(z), HH: T.s(z, 2, "0"), h: It(1), hh: It(2), a: Nt(z, Y, !0), A: Nt(z, Y, !1), m: String(Y), mm: T.s(Y, 2, "0"), s: String(this.$s), ss: T.s(this.$s, 2, "0"), SSS: T.s(this.$ms, 3, "0"), Z: M };
3226
- return _.replace(P, function(tt, gt) {
3226
+ return _.replace($, function(tt, gt) {
3227
3227
  return gt || Mt[tt] || M.replace(":", "");
3228
3228
  });
3229
- }, $.utcOffset = function() {
3229
+ }, P.utcOffset = function() {
3230
3230
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
3231
- }, $.diff = function(w, x, v) {
3231
+ }, P.diff = function(w, x, v) {
3232
3232
  var _, M = T.p(x), z = E(w), Y = (z.utcOffset() - this.utcOffset()) * n, V = this - z, q = T.m(this, z);
3233
3233
  return q = (_ = {}, _[f] = q / 12, _[l] = q, _[d] = q / 3, _[p] = (V - Y) / 6048e5, _[c] = (V - Y) / 864e5, _[u] = V / a, _[i] = V / n, _[s] = V / r, _)[M] || V, v ? q : T.a(q);
3234
- }, $.daysInMonth = function() {
3234
+ }, P.daysInMonth = function() {
3235
3235
  return this.endOf(l).$D;
3236
- }, $.$locale = function() {
3236
+ }, P.$locale = function() {
3237
3237
  return N[this.$L];
3238
- }, $.locale = function(w, x) {
3238
+ }, P.locale = function(w, x) {
3239
3239
  if (!w)
3240
3240
  return this.$L;
3241
3241
  var v = this.clone(), _ = U(w, x, !0);
3242
3242
  return _ && (v.$L = _), v;
3243
- }, $.clone = function() {
3243
+ }, P.clone = function() {
3244
3244
  return T.w(this.$d, this);
3245
- }, $.toDate = function() {
3245
+ }, P.toDate = function() {
3246
3246
  return new Date(this.valueOf());
3247
- }, $.toJSON = function() {
3247
+ }, P.toJSON = function() {
3248
3248
  return this.isValid() ? this.toISOString() : null;
3249
- }, $.toISOString = function() {
3249
+ }, P.toISOString = function() {
3250
3250
  return this.$d.toISOString();
3251
- }, $.toString = function() {
3251
+ }, P.toString = function() {
3252
3252
  return this.$d.toUTCString();
3253
3253
  }, A;
3254
3254
  }(), K = R.prototype;
3255
3255
  return E.prototype = K, [["$ms", o], ["$s", s], ["$m", i], ["$H", u], ["$W", c], ["$M", l], ["$y", f], ["$D", h]].forEach(function(A) {
3256
- K[A[1]] = function($) {
3257
- return this.$g($, A[0], A[1]);
3256
+ K[A[1]] = function(P) {
3257
+ return this.$g(P, A[0], A[1]);
3258
3258
  };
3259
- }), E.extend = function(A, $) {
3260
- return A.$i || (A($, R, E), A.$i = !0), E;
3259
+ }), E.extend = function(A, P) {
3260
+ return A.$i || (A(P, R, E), A.$i = !0), E;
3261
3261
  }, E.locale = U, E.isDayjs = j, E.unix = function(A) {
3262
3262
  return E(1e3 * A);
3263
3263
  }, E.en = N[k], E.Ls = N, E.p = {}, E;
@@ -3269,7 +3269,7 @@ var rn = { exports: {} };
3269
3269
  (function(t, e) {
3270
3270
  (function(r, n) {
3271
3271
  t.exports = n();
3272
- })($t, function() {
3272
+ })(Pt, function() {
3273
3273
  var r = "minute", n = /[+-]\d\d(?::?\d\d)?/g, a = /([+-]|\d\d)/g;
3274
3274
  return function(o, s, i) {
3275
3275
  var u = s.prototype;
@@ -3296,9 +3296,9 @@ var rn = { exports: {} };
3296
3296
  };
3297
3297
  var l = u.utcOffset;
3298
3298
  u.utcOffset = function(m, g) {
3299
- var P = this.$utils().u;
3300
- if (P(m))
3301
- return this.$u ? 0 : P(this.$offset) ? l.call(this) : this.$offset;
3299
+ var $ = this.$utils().u;
3300
+ if ($(m))
3301
+ return this.$u ? 0 : $(this.$offset) ? l.call(this) : this.$offset;
3302
3302
  if (typeof m == "string" && (m = function(k) {
3303
3303
  k === void 0 && (k = "");
3304
3304
  var N = k.match(n);
@@ -3337,11 +3337,11 @@ var rn = { exports: {} };
3337
3337
  return m === "s" && this.$offset ? i(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : f.call(this);
3338
3338
  };
3339
3339
  var h = u.diff;
3340
- u.diff = function(m, g, P) {
3340
+ u.diff = function(m, g, $) {
3341
3341
  if (m && this.$u === m.$u)
3342
- return h.call(this, m, g, P);
3342
+ return h.call(this, m, g, $);
3343
3343
  var O = this.local(), S = i(m).local();
3344
- return h.call(O, S, g, P);
3344
+ return h.call(O, S, g, $);
3345
3345
  };
3346
3346
  };
3347
3347
  });
@@ -3352,20 +3352,20 @@ var nn = { exports: {} };
3352
3352
  (function(t, e) {
3353
3353
  (function(r, n) {
3354
3354
  t.exports = n();
3355
- })($t, function() {
3355
+ })(Pt, function() {
3356
3356
  var r = { year: 0, month: 1, day: 2, hour: 3, minute: 4, second: 5 }, n = {};
3357
3357
  return function(a, o, s) {
3358
3358
  var i, u = function(d, f, h) {
3359
3359
  h === void 0 && (h = {});
3360
- var m = new Date(d), g = function(P, O) {
3360
+ var m = new Date(d), g = function($, O) {
3361
3361
  O === void 0 && (O = {});
3362
- var S = O.timeZoneName || "short", D = P + "|" + S, k = n[D];
3363
- return k || (k = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: P, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: S }), n[D] = k), k;
3362
+ var S = O.timeZoneName || "short", D = $ + "|" + S, k = n[D];
3363
+ return k || (k = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: $, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: S }), n[D] = k), k;
3364
3364
  }(f, h);
3365
3365
  return g.formatToParts(m);
3366
3366
  }, c = function(d, f) {
3367
3367
  for (var h = u(d, f), m = [], g = 0; g < h.length; g += 1) {
3368
- var P = h[g], O = P.type, S = P.value, D = r[O];
3368
+ var $ = h[g], O = $.type, S = $.value, D = r[O];
3369
3369
  D >= 0 && (m[D] = parseInt(S, 10));
3370
3370
  }
3371
3371
  var k = m[3], N = k === 24 ? 0 : k, j = m[0] + "-" + m[1] + "-" + m[2] + " " + N + ":" + m[4] + ":" + m[5] + ":000", U = +d;
@@ -3373,7 +3373,7 @@ var nn = { exports: {} };
3373
3373
  }, p = o.prototype;
3374
3374
  p.tz = function(d, f) {
3375
3375
  d === void 0 && (d = i);
3376
- var h = this.utcOffset(), m = this.toDate(), g = m.toLocaleString("en-US", { timeZone: d }), P = Math.round((m - new Date(g)) / 1e3 / 60), O = s(g).$set("millisecond", this.$ms).utcOffset(15 * -Math.round(m.getTimezoneOffset() / 15) - P, !0);
3376
+ var h = this.utcOffset(), m = this.toDate(), g = m.toLocaleString("en-US", { timeZone: d }), $ = Math.round((m - new Date(g)) / 1e3 / 60), O = s(g).$set("millisecond", this.$ms).utcOffset(15 * -Math.round(m.getTimezoneOffset() / 15) - $, !0);
3377
3377
  if (f) {
3378
3378
  var S = O.utcOffset();
3379
3379
  O = O.add(h - S, "minute");
@@ -3392,7 +3392,7 @@ var nn = { exports: {} };
3392
3392
  var h = s(this.format("YYYY-MM-DD HH:mm:ss:SSS"));
3393
3393
  return l.call(h, d, f).tz(this.$x.$timezone, !0);
3394
3394
  }, s.tz = function(d, f, h) {
3395
- var m = h && f, g = h || f || i, P = c(+s(), g);
3395
+ var m = h && f, g = h || f || i, $ = c(+s(), g);
3396
3396
  if (typeof d != "string")
3397
3397
  return s(d).tz(g);
3398
3398
  var O = function(N, j, U) {
@@ -3401,7 +3401,7 @@ var nn = { exports: {} };
3401
3401
  return [E, j];
3402
3402
  var R = c(E -= 60 * (T - j) * 1e3, U);
3403
3403
  return T === R ? [E, T] : [N - 60 * Math.min(T, R) * 1e3, Math.max(T, R)];
3404
- }(s.utc(d, m).valueOf(), P, g), S = O[0], D = O[1], k = s(S).utcOffset(D);
3404
+ }(s.utc(d, m).valueOf(), $, g), S = O[0], D = O[1], k = s(S).utcOffset(D);
3405
3405
  return k.$x.$timezone = g, k;
3406
3406
  }, s.tz.guess = function() {
3407
3407
  return Intl.DateTimeFormat().resolvedOptions().timeZone;
@@ -3417,7 +3417,7 @@ var on = { exports: {} };
3417
3417
  (function(t, e) {
3418
3418
  (function(r, n) {
3419
3419
  t.exports = n();
3420
- })($t, function() {
3420
+ })(Pt, function() {
3421
3421
  return function(r, n) {
3422
3422
  var a = n.prototype, o = a.format;
3423
3423
  a.format = function(s) {
@@ -3468,7 +3468,7 @@ var an = { exports: {} };
3468
3468
  (function(t, e) {
3469
3469
  (function(r, n) {
3470
3470
  t.exports = n();
3471
- })($t, function() {
3471
+ })(Pt, function() {
3472
3472
  return function(r, n) {
3473
3473
  n.prototype.isSameOrBefore = function(a, o) {
3474
3474
  return this.isSame(a, o) || this.isBefore(a, o);
@@ -3482,7 +3482,7 @@ var sn = { exports: {} };
3482
3482
  (function(t, e) {
3483
3483
  (function(r, n) {
3484
3484
  t.exports = n();
3485
- })($t, function() {
3485
+ })(Pt, function() {
3486
3486
  return function(r, n, a) {
3487
3487
  n.prototype.isBetween = function(o, s, i, u) {
3488
3488
  var c = a(o), p = a(s), l = (u = u || "()")[0] === "(", d = u[1] === ")";
@@ -3497,7 +3497,7 @@ var ln = { exports: {} };
3497
3497
  (function(t, e) {
3498
3498
  (function(r, n) {
3499
3499
  t.exports = n();
3500
- })($t, function() {
3500
+ })(Pt, function() {
3501
3501
  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" };
3502
3502
  return function(n, a, o) {
3503
3503
  var s = a.prototype, i = s.format;
@@ -3506,7 +3506,7 @@ var ln = { exports: {} };
3506
3506
  var c = this.$locale().formats, p = function(l, d) {
3507
3507
  return l.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(f, h, m) {
3508
3508
  var g = m && m.toUpperCase();
3509
- return h || d[m] || r[m] || d[g].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(P, O, S) {
3509
+ return h || d[m] || r[m] || d[g].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function($, O, S) {
3510
3510
  return O || S.slice(1);
3511
3511
  });
3512
3512
  });
@@ -3522,7 +3522,7 @@ var mi = { exports: {} };
3522
3522
  (function(t, e) {
3523
3523
  (function(r, n) {
3524
3524
  t.exports = n(en);
3525
- })($t, function(r) {
3525
+ })(Pt, function(r) {
3526
3526
  function n(s) {
3527
3527
  return s && typeof s == "object" && "default" in s ? s : { default: s };
3528
3528
  }
@@ -3609,7 +3609,7 @@ const hi = () => J.tz.guess(), ve = (t = "", e = "", r = "", n = "hu") => (r = r
3609
3609
  ]),
3610
3610
  _: 1
3611
3611
  }),
3612
- (L(!0), I(Pt, null, Ft(i.value, (l) => (L(), I("a", {
3612
+ (L(!0), I($t, null, Ft(i.value, (l) => (L(), I("a", {
3613
3613
  key: l.countryLabelKey,
3614
3614
  href: "#",
3615
3615
  class: rt({ "is-active": l.isActive }),
@@ -3621,7 +3621,7 @@ const hi = () => J.tz.guess(), ve = (t = "", e = "", r = "", n = "hu") => (r = r
3621
3621
  const n = H(""), { t: a } = Wt();
3622
3622
  if (e)
3623
3623
  try {
3624
- const i = $i(b(t), e);
3624
+ const i = Pi(b(t), e);
3625
3625
  t = na(i, b(t));
3626
3626
  } catch (i) {
3627
3627
  n.value = i;
@@ -3635,7 +3635,7 @@ const hi = () => J.tz.guess(), ve = (t = "", e = "", r = "", n = "hu") => (r = r
3635
3635
  columns: X(() => St(o, b(t))),
3636
3636
  error: n
3637
3637
  };
3638
- }, $i = (t, e = "") => {
3638
+ }, Pi = (t, e = "") => {
3639
3639
  const r = St(ee, Yt(",", e)), n = At(t);
3640
3640
  if (r[0] === "")
3641
3641
  return resolve([]);
@@ -3644,7 +3644,7 @@ const hi = () => J.tz.guess(), ve = (t = "", e = "", r = "", n = "hu") => (r = r
3644
3644
  throw r[a];
3645
3645
  return r;
3646
3646
  };
3647
- class Pi extends Error {
3647
+ class $i extends Error {
3648
3648
  constructor(e, r = {}) {
3649
3649
  const { key: n, cause: a } = r;
3650
3650
  super(e), this.name = "WidgetError", this.key = n, this.cause = a;
@@ -3711,7 +3711,7 @@ const cr = {
3711
3711
  setup(t, { emit: e }) {
3712
3712
  const r = t, { onError: n } = ys(), a = X(() => r.columns), { columns: o, error: s } = wi(a, r.hideColumns);
3713
3713
  s.value && n(
3714
- new Pi(cr.message, {
3714
+ new $i(cr.message, {
3715
3715
  ...cr.options,
3716
3716
  cause: { column: s.value }
3717
3717
  })
@@ -3737,7 +3737,7 @@ const cr = {
3737
3737
  (L(), yt(lr, {
3738
3738
  key: l.id || l.playerId,
3739
3739
  src: l.playerPortrait,
3740
- "default-src": b($a)
3740
+ "default-src": b(Pa)
3741
3741
  }, null, 8, ["src", "default-src"]))
3742
3742
  ])
3743
3743
  ]),
@@ -3929,8 +3929,8 @@ function Ci(t, e) {
3929
3929
  return v && z >= v.length && (v = void 0), { value: v && v[z++], done: !v };
3930
3930
  } };
3931
3931
  throw new TypeError(_ ? "Object is not iterable." : "Symbol.iterator is not defined.");
3932
- }(m), P = g.next(); !P.done; P = g.next()) {
3933
- var O = P.value;
3932
+ }(m), $ = g.next(); !$.done; $ = g.next()) {
3933
+ var O = $.value;
3934
3934
  if (O === void 0)
3935
3935
  return pr(l, d);
3936
3936
  var S = typeof O == "string" ? { target: O } : O, D = S.target, k = S.actions, N = k === void 0 ? [] : k, j = S.cond, U = j === void 0 ? function() {
@@ -3941,15 +3941,15 @@ function Ci(t, e) {
3941
3941
  return v;
3942
3942
  })).map(function(v) {
3943
3943
  return dr(v, o._options.actions);
3944
- }), d, f), 3), A = K[0], $ = K[1], w = K[2], x = D ?? l;
3945
- return { value: x, context: $, actions: A, changed: D !== l || A.length > 0 || w, matches: _e(x) };
3944
+ }), d, f), 3), A = K[0], P = K[1], w = K[2], x = D ?? l;
3945
+ return { value: x, context: P, actions: A, changed: D !== l || A.length > 0 || w, matches: _e(x) };
3946
3946
  }
3947
3947
  }
3948
3948
  } catch (v) {
3949
3949
  u = { error: v };
3950
3950
  } finally {
3951
3951
  try {
3952
- P && !P.done && (c = g.return) && c.call(g);
3952
+ $ && !$.done && (c = g.return) && c.call(g);
3953
3953
  } finally {
3954
3954
  if (u)
3955
3955
  throw u.error;
@@ -4099,7 +4099,7 @@ const al = (t = []) => ({
4099
4099
  return typeof r == "function" ? r(e) : encodeURI(r ? r + e : Oa + e);
4100
4100
  }, ml = (t, e) => {
4101
4101
  const r = ze("playerResolver") || t;
4102
- return typeof r == "function" ? r(e) : encodeURI(r ? r + e : Pa + e);
4102
+ return typeof r == "function" ? r(e) : encodeURI(r ? r + e : $a + e);
4103
4103
  }, ze = (t = "") => {
4104
4104
  var e;
4105
4105
  return (e = window == null ? void 0 : window.__MJSZ_VBR_WIDGET__) == null ? void 0 : e[t];
@@ -4223,51 +4223,51 @@ const al = (t = []) => ({
4223
4223
  gamesPlayed: {
4224
4224
  label: "table.game.short",
4225
4225
  tooltip: "table.game.tooltip",
4226
- sortOrders: [{ target: "m", direction: y }]
4226
+ sortOrders: [{ target: "gamesPlayed", direction: y }]
4227
4227
  },
4228
4228
  w: {
4229
4229
  label: "table.wins.short",
4230
4230
  tooltip: "table.wins.tooltip",
4231
4231
  sortOrders: [
4232
- { target: "p3", direction: y },
4233
- { target: "p2", direction: y }
4232
+ { target: "w", direction: y },
4233
+ { target: "otw", direction: y }
4234
4234
  ]
4235
4235
  },
4236
4236
  otw: {
4237
4237
  label: "table.otw.short",
4238
4238
  tooltip: "table.otw.tooltip",
4239
- sortOrders: [{ target: "p2", direction: y }]
4239
+ sortOrders: [{ target: "otw", direction: y }]
4240
4240
  },
4241
4241
  otl: {
4242
4242
  label: "table.otl.short",
4243
4243
  tooltip: "table.otl.tooltip",
4244
- sortOrders: [{ target: "p1", direction: G }]
4244
+ sortOrders: [{ target: "otl", direction: G }]
4245
4245
  },
4246
4246
  l: {
4247
4247
  label: "table.losses.short",
4248
4248
  tooltip: "table.losses.tooltip",
4249
- sortOrders: [{ target: "p0", direction: G }]
4249
+ sortOrders: [{ target: "l", direction: G }]
4250
4250
  },
4251
4251
  gf: {
4252
4252
  label: "table.goalFor.short",
4253
4253
  tooltip: "table.goalFor.tooltip",
4254
- sortOrders: [{ target: "plus", direction: y }]
4254
+ sortOrders: [{ target: "gf", direction: y }]
4255
4255
  },
4256
4256
  ga: {
4257
4257
  label: "table.goalAgainst.short",
4258
4258
  tooltip: "table.goalAgainst.tooltip",
4259
- sortOrders: [{ target: "minus", direction: G }]
4259
+ sortOrders: [{ target: "ga", direction: G }]
4260
4260
  },
4261
4261
  gd: {
4262
4262
  label: "table.goalDiff.short",
4263
4263
  tooltip: "table.goalDiff.tooltip",
4264
- sortOrders: [{ target: "gk", direction: y }]
4264
+ sortOrders: [{ target: "gd", direction: y }]
4265
4265
  },
4266
4266
  points: {
4267
4267
  label: "table.points.short",
4268
4268
  tooltip: "table.points.tooltip",
4269
4269
  class: "is-text-bold",
4270
- sortOrders: [{ target: "p", direction: y }]
4270
+ sortOrders: [{ target: "points", direction: y }]
4271
4271
  }
4272
4272
  }, bl = {
4273
4273
  index: {
@@ -4287,49 +4287,49 @@ const al = (t = []) => ({
4287
4287
  gamesPlayed: {
4288
4288
  label: "table.game.short",
4289
4289
  tooltip: "table.game.tooltip",
4290
- sortOrders: [{ target: "m", direction: y }]
4290
+ sortOrders: [{ target: "gamesPlayed", direction: y }]
4291
4291
  },
4292
4292
  w: {
4293
4293
  label: "table.wins.short",
4294
4294
  tooltip: "table.wins.tooltip",
4295
4295
  sortOrders: [
4296
- { target: "p2", direction: y },
4297
- { target: "p1", direction: y }
4296
+ { target: "w", direction: y },
4297
+ { target: "d", direction: y }
4298
4298
  ]
4299
4299
  },
4300
4300
  d: {
4301
4301
  label: "table.draw.short",
4302
4302
  tooltip: "table.draw.tooltip",
4303
4303
  sortOrders: [
4304
- { target: "p1", direction: y },
4305
- { target: "p2", direction: y }
4304
+ { target: "d", direction: y },
4305
+ { target: "w", direction: y }
4306
4306
  ]
4307
4307
  },
4308
4308
  l: {
4309
4309
  label: "table.losses.short",
4310
4310
  tooltip: "table.losses.tooltip",
4311
- sortOrders: [{ target: "p0", direction: G }]
4311
+ sortOrders: [{ target: "l", direction: G }]
4312
4312
  },
4313
4313
  gf: {
4314
4314
  label: "table.goalFor.short",
4315
4315
  tooltip: "table.goalFor.tooltip",
4316
- sortOrders: [{ target: "plus", direction: y }]
4316
+ sortOrders: [{ target: "gf", direction: y }]
4317
4317
  },
4318
4318
  ga: {
4319
4319
  label: "table.goalAgainst.short",
4320
4320
  tooltip: "table.goalAgainst.tooltip",
4321
- sortOrders: [{ target: "minus", direction: G }]
4321
+ sortOrders: [{ target: "ga", direction: G }]
4322
4322
  },
4323
4323
  gd: {
4324
4324
  label: "table.goalDiff.short",
4325
4325
  tooltip: "table.goalDiff.tooltip",
4326
- sortOrders: [{ target: "gk", direction: y }]
4326
+ sortOrders: [{ target: "gd", direction: y }]
4327
4327
  },
4328
4328
  points: {
4329
4329
  label: "table.points.short",
4330
4330
  tooltip: "table.points.tooltip",
4331
4331
  class: "is-text-bold",
4332
- sortOrders: [{ target: "p", direction: y }]
4332
+ sortOrders: [{ target: "points", direction: y }]
4333
4333
  }
4334
4334
  }, wl = {
4335
4335
  index: {
@@ -4397,7 +4397,7 @@ const al = (t = []) => ({
4397
4397
  tooltip: "table.sogPercent.tooltip",
4398
4398
  sortOrders: [{ target: "shootPercent", direction: y }]
4399
4399
  }
4400
- }, $l = {
4400
+ }, Pl = {
4401
4401
  index: {
4402
4402
  label: "table.blank",
4403
4403
  class: "is-text-left"
@@ -4472,7 +4472,7 @@ const al = (t = []) => ({
4472
4472
  tooltip: "table.pim.tooltip",
4473
4473
  sortOrders: [{ target: "pim", direction: y }]
4474
4474
  }
4475
- }, Pl = {
4475
+ }, $l = {
4476
4476
  index: {
4477
4477
  label: "table.blank",
4478
4478
  class: "is-text-left"
@@ -4874,8 +4874,8 @@ export {
4874
4874
  Aa as AVAILABLE_TIMEZONES_BY_COUNTRY,
4875
4875
  Vi as BaseSelect,
4876
4876
  wl as COLUMNS_FIELD_PLAYERS,
4877
- $l as COLUMNS_FIELD_PLAYERS_PENALTY,
4878
- Pl as COLUMNS_GOALIES,
4877
+ Pl as COLUMNS_FIELD_PLAYERS_PENALTY,
4878
+ $l as COLUMNS_GOALIES,
4879
4879
  yl as COLUMNS_SCHEDULE,
4880
4880
  _l as COLUMNS_SCORING_EFFICIENCY,
4881
4881
  bl as COLUMNS_STANDINGS_P_2,
@@ -4885,9 +4885,9 @@ export {
4885
4885
  Sl as COLUMNS_TEAMS_POWERPLAY,
4886
4886
  Ol as COLUMNS_TEAM_ATTENDANCE,
4887
4887
  wa as DEFAULT_EXTERNAL_BASE_URL,
4888
- Pa as DEFAULT_EXTERNAL_PLAYER_URL,
4888
+ $a as DEFAULT_EXTERNAL_PLAYER_URL,
4889
4889
  Oa as DEFAULT_EXTERNAL_TEAM_URL,
4890
- $a as DEFAULT_PORTRAIT_IMAGE_URL,
4890
+ Pa as DEFAULT_PORTRAIT_IMAGE_URL,
4891
4891
  is as DataTable,
4892
4892
  Yi as ErrorNotice,
4893
4893
  Ui as ErrorProvider,
@@ -4909,7 +4909,7 @@ export {
4909
4909
  Xi as TimezoneSelector,
4910
4910
  cr as UndefinedColumn,
4911
4911
  ba as VBR_API_BASE_URL,
4912
- Pi as WidgetError,
4912
+ $i as WidgetError,
4913
4913
  Xa as appendTo,
4914
4914
  hl as baseProps,
4915
4915
  al as convert,
@@ -4948,5 +4948,5 @@ export {
4948
4948
  rl as useServices,
4949
4949
  nl as useSort,
4950
4950
  ol as useVisibilityChange,
4951
- $i as validateColumnsName
4951
+ Pi as validateColumnsName
4952
4952
  };
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Data visualization for MJSZ VBR",
4
4
  "author": "Ákos Stegner <akos.stegner@gmail.com>",
5
5
  "private": false,
6
- "version": "2.1.0-beta.18",
6
+ "version": "2.1.0-beta.19",
7
7
  "homepage": "https://api.icehockey.hu/widgets/docs/v2/",
8
8
  "type": "module",
9
9
  "files": [
@@ -32,7 +32,7 @@
32
32
  "dayjs": "^1.11.7",
33
33
  "ramda": "^0.29.0",
34
34
  "vue": "^3.3.4",
35
- "@mjsz-vbr-elements/shared": "^2.1.0-beta.18"
35
+ "@mjsz-vbr-elements/shared": "^2.1.0-beta.19"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@vitejs/plugin-vue": "^4.2.3",