t2-mapper/docs/assets/index-BZ0wFa-D.js

4 lines
278 KiB
JavaScript
Raw Permalink Normal View History

2026-04-08 23:48:42 -07:00
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/demoStreaming-BFlLHKkt.js","assets/streamHelpers-CYLk-lCT.js","assets/chunk-DECur_0Z.js","assets/three.module-DKAirPAO.js","assets/scene-C20n9V3Y.js","assets/logger-B058WGzf.js","assets/demoTimelineScanner-BbHg_3A9.js","assets/TouchHandler-BYqo6IGL.js","assets/react-three-fiber.esm-El6vNTZj.js","assets/jsx-runtime-BpGWiA-R.js","assets/traditional-CCqNJZlI.js","assets/SettingsProvider-BdqQ2Cm4.js","assets/engineStore-B1KAgiiF.js","assets/manifest-BIDT_vSa.js","assets/stringUtils-1MyeFdQ_.js","assets/JoystickContext-B2sO9eYx.js","assets/TouchJoystick-Cnt0wcWJ.js","assets/preload-helper-BPkniflS.js","assets/TouchJoystick-Dn73xHvm.css","assets/KeyboardOverlay-mMSQ0ePd.js","assets/gr-DFj_ScyC.js","assets/iconBase-DZ3jidsI.js","assets/cameraTourStore-CtH3IrnD.js","assets/KeyboardOverlay-CpSto9KR.css","assets/GameView-Bie98edJ.js","assets/mission-yeigCtfF.js","assets/extends-lXRikpl0.js","assets/PlayerModel-D6m6HpJF.js","assets/Html-CXAi5FD_.js","assets/useQuery-6REtM5HO.js","assets/AudioEmitter-3VHhCc7Y.js","assets/DebugBounds-CZKrvsAw.js","assets/loaders-5n1D4iOD.js","assets/AudioEmitter-DAQByNim.css","assets/DebugSuspense-ChOWTvws.js","assets/playbackUtils-DuS6opSR.js","assets/textureUtils-Bk_jPZib.js","assets/useAnisotropy-D9othEmk.js","assets/streamPlaybackStore-D5ldcfU5.js","assets/PlayerModel-Bi7C0zGW.css","assets/Texture-BYh0PjzP.js","assets/gameEntityTypes-CIesm-Ll.js","assets/GameView-DxG7zBut.css","assets/DemoPlaybackControls-CwlogtTb.js","assets/DemoPlaybackControls-D1aGRzqE.css","assets/PlayerHUD-CuRF2gd3.js","assets/PlayerHUD-DWa6gIym.css","assets/MapInfoDialog-DSwIQB7a.js","assets/MapInfoDialog-qPSE5ow_.css","assets/ServerBrowser-CL7giwqp.js","assets/ServerBrowser-B1ZZ25fp.css","assets/ScoreScreen-BnLWM4r1.js","assets/ScoreScreen-FWyMMObP.css"])))=>i.map(i=>d[i]);
import{r as e,t}from"./chunk-DECur_0Z.js";import{n,r,t as i}from"./jsx-runtime-BpGWiA-R.js";import{a,s as o}from"./react-three-fiber.esm-El6vNTZj.js";import{n as s,r as c}from"./Html-CXAi5FD_.js";import{_ as l,a as u,d,f,g as p,h as m,i as h,l as g,m as _,n as v,p as y,r as b,t as x,u as S}from"./SettingsProvider-BdqQ2Cm4.js";import{S as C,_ as w,a as T,b as E,c as D,d as O,f as k,g as A,h as j,i as M,l as N,m as P,n as F,o as I,p as ee,r as L,s as R,u as te,v as ne,x as re,y as ie}from"./useQuery-6REtM5HO.js";import{Ct as ae,Wt as oe}from"./three.module-DKAirPAO.js";import{i as se,n as z,r as B}from"./traditional-CCqNJZlI.js";import{i as ce,n as le,u as ue}from"./PlayerModel-D6m6HpJF.js";import{n as de}from"./loaders-5n1D4iOD.js";import{t as fe}from"./logger-B058WGzf.js";import{a as pe,l as me,n as he,r as ge,s as _e}from"./manifest-BIDT_vSa.js";import{i as ve,n as ye,r as be}from"./stringUtils-1MyeFdQ_.js";import{i as xe}from"./mission-yeigCtfF.js";import{i as Se,o as Ce,r as we}from"./engineStore-B1KAgiiF.js";import{t as Te}from"./preload-helper-BPkniflS.js";import{n as Ee,t as De}from"./cameraTourStore-CtH3IrnD.js";import{t as V}from"./iconBase-DZ3jidsI.js";import{A as Oe,C as ke,D as Ae,E as je,O as Me,S as Ne,T as Pe,_ as Fe,a as Ie,b as Le,c as Re,d as ze,g as Be,h as Ve,i as He,j as Ue,k as We,l as Ge,m as Ke,o as qe,p as Je,r as Ye,s as Xe,t as Ze,u as Qe,v as $e,w as et,x as tt,y as nt}from"./streamHelpers-CYLk-lCT.js";import{i as rt,r as it}from"./scene-C20n9V3Y.js";import{t as at}from"./JoystickContext-B2sO9eYx.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var H=e(r(),1),ot=e(s(),1),U=n();function st(e,t,n){return r=>{if(!(t.length===0||t.some(t=>!y(r.getAll(t),e.getAll(t)))))return p("[nuqs `%s`] no change, returning previous",t.join(`,`),r),r;let i=ct(e,t,n);return p(`[nuqs \`%s\`] subbed search params change
from %O
2026-04-08 23:48:42 -07:00
to %O`,t.join(`,`),r,i),i}}function ct(e,t,n){if(t.length===0)return e;let r=n?new URLSearchParams(e):e;for(let n of e.keys())t.includes(n)||r.delete(n);return r}var lt=`__nuqs__`,ut=_();function dt(e){return function(t,n){let r=new URL(location.href);r.search=l(t),p(`[nuqs react] Updating url: %s`,r),e&&n.shallow===!1?(n.history===`push`?location.assign:location.replace).call(location,r):(n.history===`push`?history.pushState:history.replaceState).call(history,history.state,lt,r),ut.emit(`update`,t),n.scroll===!0&&window.scrollTo({top:0})}}var ft=(0,H.createContext)({fullPageNavigationOnShallowFalseUpdates:!1});function pt(e){let{fullPageNavigationOnShallowFalseUpdates:t}=(0,H.useContext)(ft),[n,r]=(0,H.useState)(()=>typeof location>`u`?new URLSearchParams:ct(new URLSearchParams(location.search),e,!1));return(0,H.useEffect)(()=>{let t=()=>{r(st(new URLSearchParams(location.search),e,!1))},n=t=>{r(st(t,e,!0))};return ut.on(`update`,n),window.addEventListener(`popstate`,t),()=>{ut.off(`update`,n),window.removeEventListener(`popstate`,t)}},[e.join(`&`)]),{searchParams:n,updateUrl:(0,H.useMemo)(()=>dt(t),[t])}}var mt=m(pt);function ht({children:e,fullPageNavigationOnShallowFalseUpdates:t=!1,...n}){return(0,H.createElement)(ft.Provider,{value:{fullPageNavigationOnShallowFalseUpdates:t}},(0,H.createElement)(mt,{...n,children:e}))}function gt(e){return{onFetch:(t,n)=>{let r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[],s={pages:[],pageParams:[]},c=0,l=async()=>{let n=!1,l=e=>{D(e,()=>t.signal,()=>n=!0)},u=O(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject();if(r==null&&e.pages.length)return Promise.resolve(e);let a=await u((()=>{let e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?`backward`:`forward`,meta:t.options.meta};return l(e),e})()),{maxPages:o}=t.options,s=i?te:N;return{pages:s(e.pages,a,o),pageParams:s(e.pageParams,r,o)}};if(i&&a.length){let e=i===`backward`,t=e?vt:_t,n={pages:a,pageParams:o};s=await d(n,t(r,n),e)}else{let t=e??a.length;do{let e=c===0?o[0]??r.initialPageParam:_t(r,s);if(c>0&&e==null)break;s=await d(s,e),c++}while(c<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=l}}}function _t(e,{pages:t,pageParams:n}){let r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function vt(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var yt=class extends M{#e;#t;#n;#r;constructor(e){super(),this.#e=e.client,this.mutationId=e.mutationId,this.#n=e.mutationCache,this.#t=[],this.state=e.state||bt(),this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#t.includes(e)||(this.#t.push(e),this.clearGcTimeout(),this.#n.notify({type:`observerAdded`,mutation:this,observer:e}))}removeObserver(e){this.#t=this.#t.filter(t=>t!==e),this.scheduleGc(),this.#n.notify({type:`observerRemoved`,mutation:this,observer:e})}optionalRemove(){this.#t.length||(this.state.status===`pending`?this.scheduleGc():this.#n.remove(this))}continue(){return this.#r?.continue()??this.execute(this.state.variables)}async execute(e){let t=()=>{this.#i({type:`continue`})},n={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#r=T({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(Error(`No mutationFn found`)),onFail:(e,t)=>{this.#i({type:`failed`,failureCount:e,error:t})},onPause:()=>{this.#i({type:`pause`})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#n.canRun(this)});let r=this.state.status===`pending`,i=!this.#r.canStart();try{if(r)t();else{this.#i({type:`pending`,variables:e,isPaused:i}),this.#n.config.onMutate&&await this.#n.config.onMutate(e,this,n);let t=await this.options.onMutate?.(e,n);t!==this.state.context&&this.#i({type:`pend