import{i as e}from"./useAnalytics-D7ict_xi.js";var t=e(`championStore`,{state:()=>({champions:{}}),getters:{getChampion:e=>t=>e.champions[t],getAllChampions:e=>Object.values(e.champions).sort((e,t)=>e.name.localeCompare(t.name)),getChampionCount:e=>Object.keys(e.champions).length},actions:{addChampion(e){this.champions[e.alias]=e},removeChampion(e){delete this.champions[e]},updateChampion(e){this.champions[e.alias]=e},addChampions(e){this.champions={...this.champions,...e}},setChampions(e){this.champions=e}}});export{t};