1import{payload as e}from"../entry/payload.DSmR2FwN.js";import{E as t,R as n,z as r}from"./BMKLcj0c.js";var i=e.base??``,a=e.assets??i??``;function o(e){}function s(e){return e.replace(/[.*+?^${}()|[\]\\]/g,e=>`\\`+e)}var c=/^(\[)?(\.\.\.)?([\w-]+)(?:=([\w-]+))?(\])?$/,l=/^\/\((?:[^)]+)\)$/,u=/\[([ux])\+([^\]]+)\]/;function d(e){return String.fromCodePoint(...e.split(`-`).map(e=>parseInt(e,16)))}function f(e){let t=[];return{pattern:e===`/`||l.test(e)?/^\/$/:RegExp(`^${m(e).map(e=>{let n=/^\[\.\.\.([\w-]+)(?:=([\w-]+))?\]$/.exec(e);if(n)return t.push({name:n[1],matcher:n[2],optional:!1,rest:!0,chained:!0}),`(?:/([^]*))?`;let r=/^\[\[([\w-]+)(?:=([\w-]+))?\]\]$/.exec(e);if(r)return t.push({name:r[1],matcher:r[2],optional:!0,rest:!1,chained:!0}),`(?:/([^/]+))?`;if(!e)return;let i=e.split(/\[(.+?)\](?!\])/);return`/`+i.map((e,n)=>{if(n%2){if(e.startsWith(`x+`)||e.startsWith(`u+`))return v(d(e.slice(2)));let[,r,a,o,s]=c.exec(e);return t.push({name:o,matcher:s,optional:!!r,rest:!!a,chained:a?n===1&&i[0]===``:!1}),a?`([^]*?)`:r?`([^/]*)?`:`([^/]+?)`}return v(e)}).join(``)}).join(``)}/?$`),params:t}}function p(e){return e!==``&&!/^\([^)]+\)$/.test(e)}function m(e){return e.slice(1).split(`/`).filter(p)}function h(e,t){let n=e[`~standard`].validate(t);if(n instanceof Promise)throw Error(`Async param matchers are not supported`);if(n.issues)return{success:!1};let r=n.value;if(typeof r!=`string`&&typeof r!=`number`&&typeof r!=`boolean`&&typeof r!=`bigint`)throw Error(`Param matcher must return a string, number, boolean, or bigint`);return{success:!0,value:r}}function g(e,t,n){let r={},i=e.slice(1),a=i.filter(e=>e!==void 0),o=0;for(let e=0;e<t.length;e+=1){let s=t[e],c=i[e-o];if(s.chained&&s.rest&&o&&(c=i.slice(e-o,e+1).filter(e=>e).join(`/`),o=0),c===void 0){if(s.rest)c=``;else continue}let l=decodeURIComponent(c);if(s.matcher){let e=h(n[s.matcher],l);if(!e.success){if(s.optional&&s.chained){o++;continue}return}r[s.name]=e.value}else r[s.name]=l;let u=t[e+1],d=i[e+1];u&&!u.rest&&u.optional&&d&&s.chained&&(o=0),!u&&!d&&Object.keys(r).length===a.length&&(o=0)}if(!o)return r}var _={"%":`%25`,"/":`%2[Ff]`,"?":`%3[Ff]`,"#":`%23`};function v(e){return e.normalize().split(/([%/?#])/).map((e,t)=>t%2?_[e]:s(e)).join(``)}RegExp(`${u.source}|\\[(\\[)?(\\.\\.\\.)?([\\w-]+?)(?:=([\\w-]+))?\\]\\]?`,`g`);var y=e.version,b=new class{#e=r({});get data(){return t(this.#e)}set data(e){n(this.#e,e)}#t=r(null);get form(){return t(this.#t)}set form(e){n(this.#t,e)}#n=r(null);get error(){return t(this.#n)}set error(e){n(this.#n,e)}#r=r({});get params(){return t(this.#r)}set params(e){n(this.#r,e)}#i=r({id:null});get route(){return t(this.#i)}set route(e){n(this.#i,e)}#a=r(null);get shallow(){return t(this.#a)}set shallow(e){n(this.#a,e)}#o=r({});get state(){return t(this.#o)}set state(e){n(this.#o,e)}#s=r(-1);get status(){return t(this.#s)}set status(e){n(this.#s,e)}#c=r(new URL(`a:`));get url(){return t(this.#c)}set url(e){n(this.#c,e)}};function x(e){Object.assign(b,e)}var S={get data(){return b.data},get error(){return b.error},get form(){return b.form},get params(){return b.params},get route(){return b.route},get shallow(){return b.shallow},get state(){return b.state},get status(){return b.status},get url(){return b.url}},C=r(null);function w(e){n(C,e)}var T=36e5,E,D,O=r(!1),k={get current(){return t(O)},async check(){return window.clearTimeout(E),t(O)?Promise.resolve(!0):D??=(async()=>{try{let e=await fetch(`${a}/_app/version.json`,{headers:{"cache-control":`no-cache`}});if(!e.ok)return!1;let r=await e.json();return n(O,t(O)||r.version!==y)}catch{return!1}finally{D=void 0,t(O)||(E=window.setTimeout(k.check,T))}})()}};T&&(E=window.setTimeout(k.check,T));export{g as a,o as c,k as i,w as n,f as o,x as r,i as s,S as t};
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.