1import{u as m,b as f,a as p,o as h,S as _,G as g,c as y,d as b,e as s}from"./index-_Z9lLETR.js";const S={id:"web-loader",class:"web-loader web-loader-start-game"},x=s("div",{class:"d-flex justify-content-center"},[s("div",{class:"spinner-border",role:"status",style:{width:"3rem",height:"3rem","z-index":"20"}},[s("span",{class:"sr-only"},"Loading...")])],-1),v=[x],G={__name:"StartKironLite",setup(w){const{locale:d}=m(),r=f(),l=p();h(()=>{u()});function u(){let e=_.getLocalStorageUser();e=JSON.parse(e);const a=e?e.token:"",n=r.query.freeplay??(a?0:1);if(!a&&n!=1){l.push({path:"/login"});return}const c=r.query.gameId??r.query.gameid;c&&g.StartKironGame(a,d.value,c,n).then(t=>{var i;if((t==null?void 0:t.statusCode)!==0||!((i=t.data)!=null&&i.url))return;const o=document.createElement("iframe");o.src=t.data.url,o.style.cssText="position:fixed;inset:0;width:100%;height:100%;border:0;z-index:10000;background:#000;",o.setAttribute("allowfullscreen",""),document.body.replaceChildren(o)})}return(e,a)=>(y(),b("div",S,v))}};export{G as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.