PageSourceSearch

https://tonashitsu.com/_app/immutable/chunks/Oog7db7d.js

js tonashitsu.com collected 2026-10-05 04:40:21 UTC 27,164 bytes, 1 lines download raw bytes

1import{o as Ne,b as gt}from"./BEmWAssD.js";import{b as mt,H as ke,S as Re,R as Se}from"./BUApaBEI.js";import{w as Ee}from"./CcamPJow.js";import{Y as U,g as P,k as T,D as Z,bb as _t}from"./NgcrFIJL.js";new URL("sveltekit-internal://");function vt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function wt(e){return e.split("%25").map(decodeURI).join("%25")}function yt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function he({href:e}){return e.split("#")[0]}function bt(e,t,n,a=!1){const r=new URL(e);Object.defineProperty(r,"searchParams",{value:new Proxy(r.searchParams,{get(o,s){if(s==="get"||s==="getAll"||s==="has")return(l,...d)=>(n(l),o[s](l,...d));t();const c=Reflect.get(o,s);return typeof c=="function"?c.bind(o):c}}),enumerable:!0,configurable:!0});const i=["href","pathname","search","toString","toJSON"];a&&i.push("hash");for(const o of i)Object.defineProperty(r,o,{get(){return t(),e[o]},enumerable:!0,configurable:!0});return r}function kt(...e){let t=5381;for(const n of e)if(typeof n=="string"){let a=n.length;for(;a;)t=t*33^n.charCodeAt(--a)}else if(ArrayBuffer.isView(n)){const a=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let r=a.length;for(;r;)t=t*33^a[--r]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}const Rt=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&F.delete(xe(e)),Rt(e,t));const F=new Map;function St(e,t){const n=xe(e,t),a=document.querySelector(n);if(a?.textContent){a.remove();let{body:r,...i}=JSON.parse(a.textContent);const o=a.getAttribute("data-ttl");return o&&F.set(n,{body:r,init:i,ttl:1e3*Number(o)}),a.getAttribute("data-b64")!==null&&(r=mt(r)),Promise.resolve(new Response(r,i))}return window.fetch(e,t)}function Et(e,t,n){if(F.size>0){const a=xe(e,n),r=F.get(a);if(r){if(performance.now()<r.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(r.body,r.init);F.delete(a)}}return window.fetch(t,n)}function xe(e,t){let a=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const r=[];t.headers&&r.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&r.push(t.body),a+=`[data-hash="${kt(...r)}"]`}return a}const xt=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function Lt(e){const t=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${Ut(e).map(a=>{const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(r)return t.push({name:r[1],matcher:r[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const i=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(a);if(i)return t.push({name:i[1],matcher:i[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!a)return;const o=a.split(/\[(.+?)\](?!\])/);return"/"+o.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return pe(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return pe(String.fromCharCode(...c.slice(2).split("-").map(v=>parseInt(v,16))));const d=xt.exec(c),[,h,f,u,p]=d;return t.push({name:u,matcher:p,optional:!!h,rest:!!f,chained:f?l===1&&o[0]==="":!1}),f?"([^]*?)":h?"([^/]*)?":"([^/]+?)"}return pe(c)}).join("")}).join("")}/?$`),params:t}}function At(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function Ut(e){return e.slice(1).split("/").filter(At)}function Pt(e,t,n){const a={},r=e.slice(1),i=r.filter(s=>s!==void 0);let o=0;for(let s=0;s<t.length;s+=1){const c=t[s];let l=r[s-o];if(c.chained&&c.rest&&o&&(l=r.slice(s-o,s+1).filter(d=>d).join("/"),o=0),l===void 0){c.rest&&(a[c.name]="");continue}if(!c.matcher||n[c.matcher](l)){a[c.name]=l;const d=t[s+1],h=r[s+1];d&&!d.rest&&d.optional&&h&&c.chained&&(o=0),!d&&!h&&Object.keys(a).length===i.length&&(o=0);continue}if(c.optional&&c.chained){o++;continue}return}if(!o)return a}function pe(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Tt({nodes:e,server_loads:t,dictionary:n,matchers:a}){const r=new Set(t);return Object.entries(n).map(([s,[c,l,d]])=>{const{pattern:h,params:f}=Lt(s),u={id:s,exec:p=>{const v=h.exec(p);if(v)return Pt(v,f,a)},errors:[1,...d||[]].map(p=>e[p]),layouts:[0,...l||[]].map(o),leaf:i(c)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function i(s){const c=s<0;return c&&(s=~s),[c,e[s]]}function o(s){return s===void 0?s:[r.has(s),e[s]]}}function Ge(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function De(e,t,n=JSON.stringify){const a=n(t);try{sessionStorage[e]=a}catch{}}const x=globalThis.__sveltekit_dnzibg?.base??"",It=globalThis.__sveltekit_dnzibg?.assets??x??"",Ot="1788314173972",He="sveltekit:snapsh
1ot",Ye="sveltekit:scroll",We="sveltekit:states",Ct="sveltekit:pageurl",z="sveltekit:history",G="sveltekit:navigation",j={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},ce=location.origin;function Le(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function le(){return{x:pageXOffset,y:pageYOffset}}function V(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const qe={...j,"":j.hover};function Je(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function Xe(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Je(e)}}function _e(e,t,n){let a;try{if(a=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&a.hash.match(/^#[^/]/)){const s=location.hash.split("#")[1]||"/";a.hash=`#${s}${a.hash}`}}catch{}const r=e instanceof SVGAElement?e.target.baseVal:e.target,i=!a||!!r||ue(a,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=a?.origin===ce&&e.hasAttribute("download");return{url:a,external:i,target:r,download:o}}function ee(e){let t=null,n=null,a=null,r=null,i=null,o=null,s=e;for(;s&&s!==document.documentElement;)a===null&&(a=V(s,"preload-code")),r===null&&(r=V(s,"preload-data")),t===null&&(t=V(s,"keepfocus")),n===null&&(n=V(s,"noscroll")),i===null&&(i=V(s,"reload")),o===null&&(o=V(s,"replacestate")),s=Je(s);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:qe[a??"off"],preload_data:qe[r??"off"],keepfocus:c(t),noscroll:c(n),reload:c(i),replace_state:c(o)}}function Ve(e){const t=Ee(e);let n=!0;function a(){n=!0,t.update(o=>o)}function r(o){n=!1,t.set(o)}function i(o){let s;return t.subscribe(c=>{(s===void 0||n&&c!==s)&&o(s=c)})}return{notify:a,set:r,subscribe:i}}const Qe={v:()=>{}};function $t(){const{set:e,subscribe:t}=Ee(!1);let n;async function a(){clearTimeout(n);try{const r=await fetch(`${It}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const o=(await r.json()).version!==Ot;return o&&(e(!0),Qe.v(),clearTimeout(n)),o}catch{return!1}}return{subscribe:t,check:a}}function ue(e,t,n){return e.origin!==ce||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function hn(e){}const Ze=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...Ze];const jt=new Set([...Ze]);[...jt];function Nt(e){return e.filter(t=>t!=null)}function Ae(e){return e instanceof ke||e instanceof Re?e.status:500}function Dt(e){return e instanceof Re?e.text:"Internal Error"}let k,H,ge;const qt=Ne.toString().includes("$$")||/function \w+\(\) \{\}/.test(Ne.toString());qt?(k={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},H={current:null},ge={current:!1}):(k=new class{#e=U({});get data(){return P(this.#e)}set data(t){T(this.#e,t)}#t=U(null);get form(){return P(this.#t)}set form(t){T(this.#t,t)}#n=U(null);get error(){return P(this.#n)}set error(t){T(this.#n,t)}#a=U({});get params(){return P(this.#a)}set params(t){T(this.#a,t)}#r=U({id:null});get route(){return P(this.#r)}set route(t){T(this.#r,t)}#o=U({});get state(){return P(this.#o)}set state(t){T(this.#o,t)}#s=U(-1);get status(){return P(this.#s)}set status(t){T(this.#s,t)}#i=U(new URL("https://example.com"));get url(){return P(this.#i)}set url(t){T(this.#i,t)}},H=new class{#e=U(null);get current(){return P(this.#e)}set current(t){T(this.#e,t)}},ge=new class{#e=U(!1);get current(){return P(this.#e)}set current(t){T(this.#e,t)}},Qe.v=()=>ge.current=!0);function Vt(e){Object.assign(k,e)}const ze={spanContext(){return zt},setAttribute(){return this},setAttributes(){return this},addEvent(){return this},setStatus(){return this},updateName(){return this},end(){return this},isRecording(){return!1},recordException(){return this},addLink(){return this},addLinks(){return this}}
1,zt={traceId:"",spanId:"",traceFlags:0},{onMount:Bt}=gt,Kt=new Set(["icon","shortcut icon","apple-touch-icon"]),D=Ge(Ye)??{},Y=Ge(He)??{},$={url:Ve({}),page:Ve({}),navigating:Ee(null),updated:$t()};function Ue(e){D[e]=le()}function Mt(e,t){let n=e+1;for(;D[n];)delete D[n],n+=1;for(n=t+1;Y[n];)delete Y[n],n+=1}function W(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(()=>{})}async function et(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(x||"/");e&&await e.update()}}function Be(){}let Pe,ve,te,I,we,w;const ne=[],ae=[];let L=null;function ye(){L?.fork?.then(e=>e?.discard()),L=null}const Q=new Map,tt=new Set,Ft=new Set,B=new Set;let _={branch:[],error:null,url:null},nt=!1,re=!1,Ke=!0,J=!1,M=!1,at=!1,Te=!1,rt,y,E,N;const oe=new Set,Me=new Map;async function _n(e,t,n){globalThis.__sveltekit_dnzibg?.data&&globalThis.__sveltekit_dnzibg.data,document.URL!==location.href&&(location.href=location.href),w=e,await e.hooks.init?.(),Pe=Tt(e),I=document.documentElement,we=t,ve=e.nodes[0],te=e.nodes[1],ve(),te(),y=history.state?.[z],E=history.state?.[G],y||(y=E=Date.now(),history.replaceState({...history.state,[z]:y,[G]:E},""));const a=D[y];function r(){a&&(history.scrollRestoration="manual",scrollTo(a.x,a.y))}n?(r(),await rn(we,n)):(await K({type:"enter",url:Le(w.hash?cn(new URL(location.href)):location.href),replace_state:!0}),r()),an()}function Gt(){ne.length=0,Te=!1}function ot(e){ae.some(t=>t?.snapshot)&&(Y[e]=ae.map(t=>t?.snapshot?.capture()))}function st(e){Y[e]?.forEach((t,n)=>{ae[n]?.snapshot?.restore(t)})}function Fe(){Ue(y),De(Ye,D),ot(E),De(He,Y)}async function it(e,t,n,a){let r;t.invalidateAll&&ye(),await K({type:"goto",url:Le(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:a,accept:()=>{t.invalidateAll&&(Te=!0,r=[...Me.keys()]),t.invalidate&&t.invalidate.forEach(nn)}}),t.invalidateAll&&Z().then(Z).then(()=>{Me.forEach(({resource:i},o)=>{r?.includes(o)&&i.refresh?.()})})}async function Ht(e){if(e.id!==L?.id){ye();const t={};oe.add(t),L={id:e.id,token:t,promise:ut({...e,preload:t}).then(n=>(oe.delete(t),n.type==="loaded"&&n.state.error&&ye(),n)),fork:null}}return L.promise}async function me(e){const t=(await fe(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].map(n=>n?.[1]()))}async function ct(e,t,n){_=e.state;const a=document.querySelector("style[data-sveltekit]");if(a&&a.remove(),Object.assign(k,e.props.page),rt=new w.root({target:t,props:{...e.props,stores:$,components:ae},hydrate:n,sync:!1}),await Promise.resolve(),st(E),n){const r={from:null,to:{params:_.params,route:{id:_.route?.id??null},url:new URL(location.href)},willUnload:!1,type:"enter",complete:Promise.resolve()};B.forEach(i=>i(r))}re=!0}function se({url:e,params:t,branch:n,status:a,error:r,route:i,form:o}){let s="never";if(x&&(e.pathname===x||e.pathname===x+"/"))s="always";else for(const u of n)u?.slash!==void 0&&(s=u.slash);e.pathname=vt(e.pathname,s),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:r,route:i},props:{constructors:Nt(n).map(u=>u.node.component),page:je(k)}};o!==void 0&&(c.props.form=o);let l={},d=!k,h=0;for(let u=0;u<Math.max(n.length,_.branch.length);u+=1){const p=n[u],v=_.branch[u];p?.data!==v?.data&&(d=!0),p&&(l={...l,...p.data},d&&(c.props[`data_${h}`]=l),h+=1)}return(!_.url||e.href!==_.url.href||_.error!==r||o!==void 0&&o!==k.form||d)&&(c.props.page={error:r,params:t,route:{id:i?.id??null},state:{},status:a,url:new URL(e),form:o??null,data:d?l:k.data}),c}async function Ie({loader:e,parent:t,url:n,params:a,route:r,server_data_node:i}){let o=null,s=!0;const c={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},l=await e();if(l.universal?.load){let d=function(...f){for(const u of f){const{href:p}=new URL(u,n);c.dependencies.add(p)}};const h={tracing:{enabled:!1,root:ze,current:ze},route:new Proxy(r,{get:(f,u)=>(s&&(c.route=!0),f[u])}),params:new Proxy(a,{get:(f,u)=>(s&&c.params.add(u),f[u])}),data:i?.data??null,url:bt(n,()=>{s&&(c.url=!0)},f=>{s&&c.search_params.add(f)},w.hash),async fetch(f,u){f instanceof Request&&(u={body:f.method==="GET"||f.method==="HEAD"?void 0:await f.blob(),cache:f.cache,credentials:f.credentials,headers:[...f.headers].length>0?f?.headers:void 0,integrity:f.integrity,keepalive:f.keepalive,method:f.method,mode:f.mode,redirect:f.redirect,referrer:f.referrer,referrerPolicy:f.referrerPolicy,signal:f.
1signal,...u});const{resolved:p,promise:v}=lt(f,u,n);return s&&d(p.href),v},setHeaders:()=>{},depends:d,parent(){return s&&(c.parent=!0),t()},untrack(f){s=!1;try{return f()}finally{s=!0}}};o=await l.universal.load.call(null,h)??null}return{node:l,loader:e,server:i,universal:l.universal?.load?{type:"data",data:o,uses:c}:null,data:o??i?.data??null,slash:l.universal?.trailingSlash??i?.slash}}function lt(e,t,n){let a=e instanceof Request?e.url:e;const r=new URL(a,n);r.origin===n.origin&&(a=r.href.slice(n.origin.length));const i=re?Et(a,r.href,t):St(a,t);return{resolved:r,promise:i}}function Yt(e,t,n,a,r,i){if(Te)return!0;if(!r)return!1;if(r.parent&&e||r.route&&t||r.url&&n)return!0;for(const o of r.search_params)if(a.has(o))return!0;for(const o of r.params)if(i[o]!==_.params[o])return!0;for(const o of r.dependencies)if(ne.some(s=>s(new URL(o))))return!0;return!1}function Oe(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function Wt(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const a of n){const r=e.searchParams.getAll(a),i=t.searchParams.getAll(a);r.every(o=>i.includes(o))&&i.every(o=>r.includes(o))&&n.delete(a)}return n}function Jt({error:e,url:t,route:n,params:a}){return{type:"loaded",state:{error:e,url:t,route:n,params:a,branch:[]},props:{page:je(k),constructors:[]}}}async function ut({id:e,invalidating:t,url:n,params:a,route:r,preload:i}){if(L?.id===e)return oe.delete(L.token),L.promise;const{errors:o,layouts:s,leaf:c}=r,l=[...s,c];o.forEach(m=>m?.().catch(()=>{})),l.forEach(m=>m?.[1]().catch(()=>{}));const d=_.url?e!==ie(_.url):!1,h=_.route?r.id!==_.route.id:!1,f=Wt(_.url,n);let u=!1;const p=l.map(async(m,g)=>{if(!m)return;const R=_.branch[g];return m[1]===R?.loader&&!Yt(u,h,d,f,R.universal?.uses,a)?R:(u=!0,Ie({loader:m[1],url:n,params:a,route:r,parent:async()=>{const O={};for(let A=0;A<g;A+=1)Object.assign(O,(await p[A])?.data);return O},server_data_node:Oe(m[0]?{type:"skip"}:null,m[0]?R?.server:void 0)}))});for(const m of p)m.catch(()=>{});const v=[];for(let m=0;m<l.length;m+=1)if(l[m])try{v.push(await p[m])}catch(g){if(g instanceof Se)return{type:"redirect",location:g.location};if(oe.has(i))return Jt({error:await X(g,{params:a,url:n,route:{id:r.id}}),url:n,params:a,route:r});let R=Ae(g),S;if(g instanceof ke)S=g.body;else{if(await $.updated.check())return await et(),await W(n);S=await X(g,{params:a,url:n,route:{id:r.id}})}const O=await Xt(m,v,o);return O?se({url:n,params:a,branch:v.slice(0,O.idx).concat(O.node),status:R,error:S,route:r}):await dt(n,{id:r.id},S,R)}else v.push(void 0);return se({url:n,params:a,branch:v,status:200,error:null,route:r,form:t?void 0:null})}async function Xt(e,t,n){for(;e--;)if(n[e]){let a=e;for(;!t[a];)a-=1;try{return{idx:a+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function Ce({status:e,error:t,url:n,route:a}){const r={};let i=null;try{const o=await Ie({loader:ve,url:n,params:r,route:a,parent:()=>Promise.resolve({}),server_data_node:Oe(i)}),s={node:await te(),loader:te,universal:null,server:null,data:null};return se({url:n,params:r,branch:[o,s],status:e,error:t,route:null})}catch(o){if(o instanceof Se)return it(new URL(o.location,location.href),{},0);throw o}}async function Qt(e){const t=e.href;if(Q.has(t))return Q.get(t);let n;try{const a=(async()=>{let r=await w.hooks.reroute({url:new URL(e),fetch:async(i,o)=>lt(i,o,e).promise})??e;if(typeof r=="string"){const i=new URL(e);w.hash?i.hash=r:i.pathname=r,r=i}return r})();Q.set(t,a),n=await a}catch{Q.delete(t);return}return n}async function fe(e,t){if(e&&!ue(e,x,w.hash)){const n=await Qt(e);if(!n)return;const a=Zt(n);for(const r of Pe){const i=r.exec(a);if(i)return{id:ie(e),invalidating:t,route:r,params:yt(i),url:e}}}}function Zt(e){return wt(w.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(x.length))||"/"}function ie(e){return(w.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function ft({url:e,type:t,intent:n,delta:a,event:r}){let i=!1;const o=$e(_,n,e,t);a!==void 0&&(o.navigation.delta=a),r!==void 0&&(o.navigation.event=r);const s={...o.navigation,cancel:()=>{i=!0,o.reject(new Error("navigation cancelled"))}};return J||tt.forEach(c=>c(s)),i?null:o}async function K({type:e,url:t,popped:n,keepfocus:a,noscroll:r,replace_state:i,state:o={},redirect_count:s=0,nav_token:c={},accept:l=Be,block:d=Be,event:h}){const f=N;N=c;const u=await fe(t,!1),p=e==="enter"?$e(_,u,t,e):ft({url:t,type:e,delta:n?.delta,intent:u,event:h});if(!p){d(),N===c&&(N=f);return}const v=y,m=E;l(),J=!0,re&&p.navigation.type!=="enter"&&$.navigating.set(H.current=p.navigation);let g=u&&await ut(u);if(!g){if(ue(t,x,w.hash))return await W(t,i);g=await dt(t,{id:null},await X(new Re(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,i)}if(t=u?.url||t,N!==c)return p.reject(new Error("navigation aborted")),!1;if(g.type==="redirect"){if(s<20){await K({type:e,url:new URL(g.location,t),popped:n,keepfocus:a,noscroll:r,replace_state:i,state:o,redirect_count:s+1,nav_token:c}),p.fulfil(void 0);return}g=await Ce({status:500,error:await X(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else g.props.page.status>=400&&await $.updated.check()&&(await et(),await W(t,i));if(Gt(),Ue(v),ot(m),g.props.page.url.pathname!==t.pathname&&(t.pathname=g.props.page.url.pathname),o=n?
1n.state:o,!n){const b=i?0:1,q={[z]:y+=b,[G]:E+=b,[We]:o};(i?history.replaceState:history.pushState).call(history,q,"",t),i||Mt(y,E)}const R=u&&L?.id===u.id?L.fork:null;L=null,g.props.page.state=o;let S;if(re){const b=(await Promise.all(Array.from(Ft,C=>C(p.navigation)))).filter(C=>typeof C=="function");if(b.length>0){let C=function(){b.forEach(de=>{B.delete(de)})};b.push(C),b.forEach(de=>{B.add(de)})}_=g.state,g.props.page&&(g.props.page.url=t);const q=R&&await R;q?S=q.commit():(rt.$set(g.props),Vt(g.props.page),S=_t?.()),at=!0}else await ct(g,we,!1);const{activeElement:O}=document;await S,await Z(),await Z();let A=n?n.scroll:r?le():null;if(Ke){const b=t.hash&&document.getElementById(ht(t));if(A)scrollTo(A.x,A.y);else if(b){b.scrollIntoView();const{top:q,left:C}=b.getBoundingClientRect();A={x:pageXOffset+C,y:pageYOffset+q}}else scrollTo(0,0)}const pt=document.activeElement!==O&&document.activeElement!==document.body;!a&&!pt&&sn(t,A),Ke=!0,g.props.page&&Object.assign(k,g.props.page),J=!1,e==="popstate"&&st(E),p.fulfil(void 0),B.forEach(b=>b(p.navigation)),$.navigating.set(H.current=null)}async function dt(e,t,n,a,r){return e.origin===ce&&e.pathname===location.pathname&&!nt?await Ce({status:a,error:n,url:e,route:t}):await W(e,r)}function en(){let e,t,n;I.addEventListener("mousemove",s=>{const c=s.target;clearTimeout(e),e=setTimeout(()=>{i(c,j.hover)},20)});function a(s){s.defaultPrevented||i(s.composedPath()[0],j.tap)}I.addEventListener("mousedown",a),I.addEventListener("touchstart",a,{passive:!0});const r=new IntersectionObserver(s=>{for(const c of s)c.isIntersecting&&(me(new URL(c.target.href)),r.unobserve(c.target))},{threshold:0});async function i(s,c){const l=Xe(s,I),d=l===t&&c>=n;if(!l||d)return;const{url:h,external:f,download:u}=_e(l,x,w.hash);if(f||u)return;const p=ee(l),v=h&&ie(_.url)===ie(h);if(!(p.reload||v))if(c<=p.preload_data){t=l,n=j.tap;const m=await fe(h,!1);if(!m)return;Ht(m)}else c<=p.preload_code&&(t=l,n=c,me(h))}function o(){r.disconnect();for(const s of I.querySelectorAll("a")){const{url:c,external:l,download:d}=_e(s,x,w.hash);if(l||d)continue;const h=ee(s);h.reload||(h.preload_code===j.viewport&&r.observe(s),h.preload_code===j.eager&&me(c))}}B.add(o),o()}function X(e,t){if(e instanceof ke)return e.body;const n=Ae(e),a=Dt(e);return w.hooks.handleError({error:e,event:t,status:n,message:a})??{message:a}}function tn(e,t){Bt(()=>(e.add(t),()=>{e.delete(t)}))}function vn(e){tn(B,e)}function wn(e,t={}){return e=new URL(Le(e)),e.origin!==ce?Promise.reject(new Error("goto: invalid URL")):it(e,t,0)}function nn(e){if(typeof e=="function")ne.push(e);else{const{href:t}=new URL(e,location.href);ne.push(n=>n.href===t)}}function an(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(Fe(),!J){const a=$e(_,void 0,null,"leave"),r={...a.navigation,cancel:()=>{n=!0,a.reject(new Error("navigation cancelled"))}};tt.forEach(i=>i(r))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Fe()}),navigator.connection?.saveData||en(),I.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=Xe(t.composedPath()[0],I);if(!n)return;const{url:a,external:r,target:i,download:o}=_e(n,x,w.hash);if(!a)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const s=ee(n);if(!(n instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||o)return;const[l,d]=(w.hash?a.hash.replace(/^#/,""):a.href).split("#"),h=l===he(location);if(r||s.reload&&(!h||!d)){ft({url:a,type:"link",event:t})?J=!0:t.preventDefault();return}if(d!==void 0&&h){const[,f]=_.url.href.split("#");if(f===d){if(t.preventDefault(),d===""||d==="top"&&n.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const u=n.ownerDocument.getElementById(decodeURIComponent(d));u&&(u.scrollIntoView(),u.focus())}return}if(M=!0,Ue(y),e(a),!s.replace_state)return;M=!1}t.preventDefault(),await new Promise(f=>{requestAnimationFrame(()=>{setTimeout(f,0)}),setTimeout(f,100)}),await K({type:"link",url:a,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??a.href===location.href,event:t})}),I.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),a=t.submitter;if((a?.formTarget||n.target)==="_blank"||(a?.formMethod||n.method)!=="get")return;const o=new URL(a?.hasAttribute("formaction")&&a?.formAction||n.action);if(ue(o,x,!1))return;const s=t.target,c=ee(s);if(c.reload)return;t.preventDefault(),t.stopPropagation();const l=new FormData(s,a);o.search=new URLSearchParams(l).toString(),K({type:"form",url:o,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??o.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!be){if(t.state?.[z]){const n=t.state[z];if(N={},n===y)return;const a=D[n],r=t.state[We]??{},i=new URL(t.state[Ct]??location.href),o=t.state[G],s=_.url?he(location)===he(_.url):!1;if(o===E&&(at||s)){r!==k.state&&(k.state=r),e(i),D[y]=le(),a&&scrollTo(a.x,a.y),y=n;return}const l=n-y;await K({type:"popstate",url:i,popped:{state:r,scroll:a,delta:l},accept:()=>{y=n,E=o},block:()=>{history.go(-l)},nav_token:N,event:t})}else if(!M){const n=new URL(location.href);e(n),w.hash&&location.reload()}}}),addEventListener("hashchange",()=>{M&&(M=!1,history.replaceState({...history.state,[z]:++y,[G]:E},"",location.href))});for(const t of document.querySelectorAll("link"))Kt.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&$.navigating.set(H.current=null)});function e(t){_.url=k.url=t,$.page.set(je(k)),$.page.notify()}}async function rn(e,{status:t=200,error:n,node_ids:a,params:r,route:i,server_route:o,data:s,form:c}){nt=!0;const l=new URL(location.href);let d;({params:r={},route:i={id:null}}=await fe(l,!1)||{}),d=Pe.find(({id:u})=>u===i.id);let h,f=!0;try{const u=a.map(async(v,m)=>{const g=s[m];return g?.uses&&(g.uses=on(g.uses)),Ie({loader:w.nodes[v],url:l,params:r,route:i,parent:async()=>{const R={};for(let S=0;S<m;S+=1)Object.assign(R,(await u[S]).data);return R},server_data_node:Oe(g)})}),p=await Promise.all(u);if(d){const v=d.layouts;for(let m=0;m<v.length;m++)v[m]||p.splice(m,0,void 0)}h=se({url:l,params:r,branch:p,status:t,error:n,form:c,route:d??null})}catch(u){if(u instanceof Se){await W(new URL(u.location,location.href));return}h=await Ce({status:Ae(u),error:await X(u,{url:l,params:r,route:i}),url:l,route:i}),e.textContent="",f=!1}h.props.page&&(h.props.page.state={}),await ct(h,e,f)}function on(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let be=!1;function sn(e,t=null){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const a=ht(e);
1if(a&&document.getElementById(a)){const{x:i,y:o}=t??le();setTimeout(()=>{const s=history.state;be=!0,location.replace(`#${a}`),w.hash&&location.replace(e.hash),history.replaceState(s,"",e.hash),scrollTo(i,o),be=!1})}else{const i=document.body,o=i.getAttribute("tabindex");i.tabIndex=-1,i.focus({preventScroll:!0,focusVisible:!1}),o!==null?i.setAttribute("tabindex",o):i.removeAttribute("tabindex")}const r=getSelection();if(r&&r.type!=="None"){const i=[];for(let o=0;o<r.rangeCount;o+=1)i.push(r.getRangeAt(o));setTimeout(()=>{if(r.rangeCount===i.length){for(let o=0;o<r.rangeCount;o+=1){const s=i[o],c=r.getRangeAt(o);if(s.commonAncestorContainer!==c.commonAncestorContainer||s.startContainer!==c.startContainer||s.endContainer!==c.endContainer||s.startOffset!==c.startOffset||s.endOffset!==c.endOffset)return}r.removeAllRanges()}})}}}function $e(e,t,n,a){let r,i;const o=new Promise((c,l)=>{r=c,i=l});return o.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n},willUnload:!t,type:a,complete:o},fulfil:r,reject:i}}function je(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function cn(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function ht(e){let t;if(w.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{vn as a,wn as g,hn as l,_n as s};

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.