1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-BQTcazr8.js","assets/index-BbjaYi6k.js","assets/ui-vendor-7ksmbWQe.js","assets/react-vendor-LSUMIZ7H.js","assets/i18n-vendor-Cq4PMOpV.js","assets/index-D8yDuZbt.css"])))=>i.map(i=>d[i]); 2import{i as l,j as f,aL as r}from"./index-BbjaYi6k.js";import"./ui-vendor-7ksmbWQe.js";import"./react-vendor-LSUMIZ7H.js";import"./i18n-vendor-Cq4PMOpV.js";const u="https://pipoly.app";async function s(t,c={}){const{auth:p=!0}=c,n=t.startsWith("/")?t:`/${t}`;if(!l()){window.location.assign(n);return}try{let o=`${u}${n}`;if(p){const{handoffToken:e}=await f.createHandoffToken(),i=n.includes("?")?"&":"?";o=`${o}${i}handoff=${encodeURIComponent(e)}&return=app`}const{Browser:a}=await r(async()=>{const{Browser:e}=await import("./index-BQTcazr8.js");return{Browser:e}},__vite__mapDeps([0,1,2,3,4,5]));await a.open({url:o,presentationStyle:"fullscreen",windowName:"_self"})}catch(o){if(console.error("[openOnWeb] Failed to open",n,o),typeof window<"u"){const{toast:a}=await r(async()=>{const{toast:e}=await import("./index-BbjaYi6k.js").then(i=>i.aY);return{toast:e}},__vite__mapDeps([1,2,3,4,5])).catch(()=>({toast:null}));a&&a({title:"Could not open page",description:"Please check your connection and try again.",variant:"destructive"})}throw o}}const h=(t="/play")=>s(t),y=t=>s(t,{auth:!1});export{h as openGames,s as openOnWeb,y as openPublicPage};
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.