/*!
 *      /|
 *     /@|
 *    /@@|___
 *   /@@@@@@/   blitz-app v2.1.222
 *      |@@/    Copyright (c) 2024 Blitz, Inc.
 *      |@/
 *      |/
 */
import{a as q}from"./chunk-P6PFURHG.js";import{a as ao,b as so}from"./chunk-NCO37IXI.js";import{a as X}from"./chunk-WFDJES6W.js";import{F as Q,Nd as mo,Ud as A,Yc as to,ad as O,bc as T,cc as i,dd as c,ed as ro,md as I}from"./chunk-LWCEDNB6.js";import"./chunk-JHWYIRAQ.js";import"./chunk-PC6GOPNH.js";import"./chunk-U5XRE4AF.js";import"./chunk-EDYIQU3V.js";import"./chunk-IZNMMRJB.js";import"./chunk-DSULHS4J.js";import"./chunk-G5S3ZM7I.js";import"./chunk-MTKC5O2J.js";import"./chunk-ZJ6JLSJ5.js";import"./chunk-JCJQMROY.js";import{a as oo}from"./chunk-RPTV4R7K.js";import"./chunk-KFDRUXPA.js";import"./chunk-B5G2NPVI.js";import"./chunk-2GQWYDXU.js";import"./chunk-TYSIXO4J.js";import"./chunk-R47AJQUH.js";import"./chunk-CUKUV5YN.js";import{G as $,O as Y,Uf as eo,Yg as b,a as B,b as p,be as Z,c as U,cd as J,f,hh as io,oc as z,x as H,z as W}from"./chunk-BV5JBYKO.js";import"./chunk-IHP4VTO5.js";import{c as k,d as E}from"./chunk-VZ7TO5HF.js";import{a as V,w as y,y as j}from"./chunk-4UXBUMVS.js";import{a as G}from"./chunk-GROJSWXX.js";import"./chunk-FTV5Z5LV.js";import"./chunk-DHM24YIC.js";import"./chunk-KVCRI5HN.js";import"./chunk-ONYXJJZK.js";import{A as L,J as e,U as F,Z as M,e as r,ga as s,ia as x,n as S,t as _,v as C}from"./chunk-GPQFBKMU.js";import{a as K}from"./chunk-PFU2AHXD.js";import{a as w}from"./chunk-UZE27B4R.js";import{a as o,e as t}from"./chunk-2TH63EWP.js";import{e as h}from"./chunk-ZGX337N7.js";o();t();o();t();if(!s&&globalThis.window?.self!==globalThis.window?.top)throw new Error("Refusing to run in a frame!");o();t();var P=[38,38,40,40,37,39,37,39,66,65],m=0;typeof r.addEventListener=="function"&&r.addEventListener("keydown",({keyCode:a})=>{if(P[m]!==a){m=0;return}m++,m===P.length&&(po(),m=0)});function po(){e("gamer mode activated \u{1F60E}"),A("ads",!1)}o();t();delete globalThis.alert;delete globalThis.confirm;delete globalThis.prompt;var v=f[p];v._events.once(v.DID_INIT,()=>{delete globalThis.indexedDB});o();t();(async()=>{if(!r.navigator?.serviceWorker)return;if(r.location.protocol!=="https:"){e("Skipping service worker registration because the page is not served over HTTPS.");return}let{navigator:{serviceWorker:a}}=r,g=`/${i?`v${i}/`:""}service-worker.js`,R=await a.getRegistrations();for(let d of R){let{active:u}=d;if(!u)continue;let{scriptURL:D}=u;D.endsWith(g)||d.unregister()}let N=i?`/${T}${i}/`:"/";await(await a.register(g,{scope:N})).update(),e("service worker registered!")})();var fo=h(w(),1);var ot=()=>import("./ipc-game-integrations-YPBIT42M.js"),tt=f[p];var{EVENT_CHANGE_ROUTE:rt,EVENT_LOADED_DATA:et,extractMeta:it,setRoute:mt}=I;var{featurePromises:at,waitForFeatureFlags:st}=b,pt=()=>import("./server.browser-6V7PPWKQ.js");s||(_.mountPromise=c(O()));x&&E(()=>import("./heap-checker-GYNPGOTW.js"))();var export_React=fo.default;export{z as CHAMPION_TABS,rt as EVENT_CHANGE_ROUTE,et as EVENT_LOADED_DATA,L as IPCCore,export_React as React,io as appState,k as appURLs,C as clone,O as createAppInstance,B as createQueue,y as dataModel,tt as db,X as debounce,S as deepEqual,oo as diff,H as digPath,j as eventBus,K as extractCss,it as extractMeta,b as featureFlags,at as featurePromises,ao as forceOverwriteIterable,eo as gamesList,Y as getData,ot as getIPCGameIntegrations,pt as getReactDOMServer,r as globals,G as i18n,V as isCyclic,M as isInitial,Q as lolRefs,q as lruObject,_ as mainRefs,so as mapOriginalRefs,c as mountApp,W as optionalMerge,I as router,to as routes,mt as setRoute,mo as setVolatileKV,$ as stateCleanup,F as symbolName,Z as tftChampTabs,J as tftPatchToSet,ro as unmountApp,st as waitForFeatureFlags,U as wrapDBMethod};
//# sourceMappingURL=root-FJQ6FSH6.js.map
