import{c as e}from"./vendor-vue-DQuhj895.js";var t=e(`sessionSetting`,{state(){return{host:`localhost`,useHttps:!1,port:58869,apiRoute:`api`,wsRoute:`ws`,cacheRoute:`cache`}},getters:{getHost:e=>e.host,getUseHttps:e=>e.useHttps,getPort:e=>e.port,getApiRoute:e=>e.apiRoute,getWsRoute:e=>e.wsRoute,getCacheRoute:e=>e.cacheRoute},actions:{setHost(e){this.host=e},setUseHttps(e){this.useHttps=e},setPort(e){this.port=e},setApiRoute(e){this.apiRoute=e},setWsRoute(e){this.wsRoute=e},setCacheRoute(e){this.cacheRoute=e},updateSessionSettings(e){this.setHost(e.host),this.setUseHttps(e.useHttps),this.setPort(e.port),this.setApiRoute(e.apiRoute),this.setWsRoute(e.wsRoute),this.setCacheRoute(e.cacheRoute)},toAbsoluteCacheUrl(e){return e.startsWith(`http`)?e:(e.startsWith(`/`)||(e=`/${e}`),e.startsWith(this.cacheRoute)?`${this.useHttps?`https`:`http`}://${this.host}:${this.port}${e}`:`${this.useHttps?`https`:`http`}://${this.host}:${this.port}${this.cacheRoute}/${e}`)}}}),n=class{metaData;bans=[];slots=[];timeline=[];index=0;scoreMatch={};scoreSeason={};fearlessBans},r=function(e){return e[e.BEGIN=0]=`BEGIN`,e[e.BAN1=1]=`BAN1`,e[e.BAN2=2]=`BAN2`,e[e.PICK1=3]=`PICK1`,e[e.PICK2=4]=`PICK2`,e[e.END=5]=`END`,e[e.WAIT=6]=`WAIT`,e}({}),i=function(e){return e.TOP=`top`,e.JUNGLE=`jgl`,e.MID=`mid`,e.BOTTOM=`bot`,e.SUPPORT=`sup`,e}({}),a=e(`championSelectSession`,{state(){return{isActive:!1,isConnected:!1,isTestingEnvironment:!1,blueTeam:new n,redTeam:new n,metaData:{},timer:{phaseDuration:0,phaseName:r.WAIT,timeRemaining:0}}},actions:{update(e){this.isActive=e.isActive,this.isConnected=e.isConnected,this.isTestingEnvironment=e.isTestingEnvironment,this.blueTeam=e.blueTeam,this.redTeam=e.redTeam,this.metaData=e.metaData,this.timer=e.timer}}}),o=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},s=function(e){return e[e.Unknown=0]=`Unknown`,e[e.Player=1]=`Player`,e[e.Coach=2]=`Coach`,e[e.Manager=3]=`Manager`,e[e.Analyst=4]=`Analyst`,e[e.Substitute=5]=`Substitute`,e}({});export{r as a,a as i,o as n,t as o,i as r,s as t};