@aopslabs/aops-server 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/THIRD_PARTY_NOTICES +8 -8
- package/THIRD_PARTY_NOTICES.inventory.json +12 -12
- package/build/client/_app/immutable/chunks/Cg977kri.js +1 -0
- package/build/client/_app/immutable/entry/{app.B4DZH0Dz.js → app.BAZgjLCT.js} +2 -2
- package/build/client/_app/immutable/entry/start.jIQB8Lha.js +1 -0
- package/build/client/_app/immutable/nodes/{1.FCISkwbh.js → 1.CF6ZG8Dn.js} +1 -1
- package/build/client/_app/version.json +1 -1
- package/build/handler.js +3 -3
- package/build/index.js +3 -3
- package/build/server/chunks/{1-ocYFK-Eh.js → 1-DsHhV0Kk.js} +2 -2
- package/build/server/chunks/{_server.ts-raQSF1L0.js → _server.ts-0o-1xU8w.js} +1 -1
- package/build/server/chunks/{_server.ts-D82k__aK.js → _server.ts-B8OgGkpA.js} +1 -1
- package/build/server/chunks/{_server.ts-CH2eRv7y.js → _server.ts-BtV_3LLL.js} +1 -1
- package/build/server/chunks/{_server.ts-BcAX_nZO.js → _server.ts-C4yBPwQw.js} +1 -1
- package/build/server/chunks/{_server.ts-Dq7UZyiB.js → _server.ts-CEIqyDR0.js} +1 -1
- package/build/server/chunks/{_server.ts-8ddxpKwo.js → _server.ts-CH1x9o6x.js} +1 -1
- package/build/server/chunks/{_server.ts-DSTj8HQv.js → _server.ts-CezuqKIn.js} +1 -1
- package/build/server/chunks/{_server.ts-BTPwnDzW.js → _server.ts-Cjl_2C-5.js} +1 -1
- package/build/server/chunks/{_server.ts-DFAJmU0m.js → _server.ts-DIosc4Tu.js} +1 -1
- package/build/server/chunks/{_server.ts-BTCau5Qo.js → _server.ts-DRWZdWT_.js} +1 -1
- package/build/server/chunks/{_server.ts-D6VCtEo3.js → _server.ts-DbCeIC54.js} +1 -1
- package/build/server/chunks/{_server.ts-DTn_9fwd.js → _server.ts-DoAt8EiX.js} +1 -1
- package/build/server/chunks/{_server.ts-D9O8VBl2.js → _server.ts-DsbQLcGn.js} +1 -1
- package/build/server/chunks/{_server.ts-BxY5vQr8.js → _server.ts-Du2m0Qmv.js} +1 -1
- package/build/server/chunks/{_server.ts-DUnNnYvH.js → _server.ts-KwxiJM3P.js} +1 -1
- package/build/server/chunks/{_server.ts-CHzmD_jo.js → _server.ts-NiWO4Neg.js} +1 -1
- package/build/server/chunks/{_server.ts-DSIC4IRw.js → _server.ts-eL2agOSX.js} +1 -1
- package/build/server/chunks/{_server.ts-DbOhLbKc.js → _server.ts-qirl4upz.js} +1 -1
- package/build/server/chunks/{error.svelte-D5SYTGsr.js → error.svelte-tRJxGIZT.js} +1 -1
- package/build/server/chunks/{handler-CeuuYN3g.js → handler-BZ5ltf7o.js} +2 -2
- package/build/server/chunks/{hooks.server-BGc6cSdu.js → hooks.server-Cc0zkmln.js} +1 -1
- package/build/server/chunks/{index.js-Ciyn4OZi.js → index.js-MkgEUF7Y.js} +2 -2
- package/build/server/chunks/{manifest.js-4ARh-5fa.js → manifest.js-C0XFtPpj.js} +20 -20
- package/npm-shrinkwrap.json +12 -12
- package/package.json +1 -1
- package/runtime-closure.package.json +4 -4
- package/build/client/_app/immutable/chunks/DfJYK3Wh.js +0 -1
- package/build/client/_app/immutable/entry/start.Ccnf0Qxp.js +0 -1
package/THIRD_PARTY_NOTICES
CHANGED
|
@@ -2,8 +2,8 @@ AOPS Server Runtime Third-Party Notices
|
|
|
2
2
|
|
|
3
3
|
This file is generated mechanically from the exact installed runtime closure.
|
|
4
4
|
The canonical machine-readable inventory is THIRD_PARTY_NOTICES.inventory.json.
|
|
5
|
-
Frozen authority: sha256:
|
|
6
|
-
Installed tree: sha256:
|
|
5
|
+
Frozen authority: sha256:8f1028dc41bca37729c265cd155a4e54d764375e398957dfe0e22d9475d27275
|
|
6
|
+
Installed tree: sha256:67736cb419ddbb411af68d9f77d6de78db2e4e3f02b270c047af8aaf27b20a31
|
|
7
7
|
Unique package identities: 278
|
|
8
8
|
Installed package paths: 278
|
|
9
9
|
Reproducibility scope: same frozen authority on this developer-host OS/architecture; cross-platform not claimed
|
|
@@ -6080,9 +6080,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
6080
6080
|
SOFTWARE.
|
|
6081
6081
|
|
|
6082
6082
|
================================================================================
|
|
6083
|
-
fast-uri@3.1.
|
|
6083
|
+
fast-uri@3.1.5
|
|
6084
6084
|
Declared license: BSD-3-Clause
|
|
6085
|
-
Lock integrity: sha512-
|
|
6085
|
+
Lock integrity: sha512-gHwA1O9LDIcKunMKhObS/HimwtehO1nPUECKAu5TpKgaO19fcWEl4bliWe1jWxVFvIXztJjjQ4L8XQ1EU9f7Jw==
|
|
6086
6086
|
Installed paths: node_modules/fast-uri
|
|
6087
6087
|
|
|
6088
6088
|
--- LICENSE [sha256:b010b0dfdfdb23d7396e03b82cd4621fc9bb8f95d6b0aea70b9c24e12074c786] ---
|
|
@@ -8788,9 +8788,9 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
|
8788
8788
|
SOFTWARE.
|
|
8789
8789
|
|
|
8790
8790
|
================================================================================
|
|
8791
|
-
nanoid@3.3.
|
|
8791
|
+
nanoid@3.3.17
|
|
8792
8792
|
Declared license: MIT
|
|
8793
|
-
Lock integrity: sha512-
|
|
8793
|
+
Lock integrity: sha512-xQLf0A3HOMlgHq0n247/LRuAOYmB7dXJ/DvAxGvsSBij45XtBSmQycu+F8ODbHwns/XyFZagyL1+J0Offw1E0g==
|
|
8794
8794
|
Installed paths: node_modules/nanoid
|
|
8795
8795
|
|
|
8796
8796
|
--- LICENSE [sha256:33dc6a453e22e1f848a633be48c178791c3b07c70910c646f460e0100882aebe] ---
|
|
@@ -9307,9 +9307,9 @@ The above copyright notice and this permission notice shall be included in all c
|
|
|
9307
9307
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
9308
9308
|
|
|
9309
9309
|
================================================================================
|
|
9310
|
-
postcss@8.5.
|
|
9310
|
+
postcss@8.5.26
|
|
9311
9311
|
Declared license: MIT
|
|
9312
|
-
Lock integrity: sha512-
|
|
9312
|
+
Lock integrity: sha512-u82N74LFzG8ca+dD8puPnplTXoGH4fTPpVGuIbt36G3qvNlkvfD0lEAZSxaly3KX8TS/L1A1gsCEmvKmBcVbkQ==
|
|
9313
9313
|
Installed paths: node_modules/postcss
|
|
9314
9314
|
|
|
9315
9315
|
--- LICENSE [sha256:a2764f26c5041bac476cf304efb9f7f2c9474c66409d1c187625885988bbfee0] ---
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
3
|
"authority": {
|
|
4
|
-
"sourcePackageSha256": "sha256:
|
|
5
|
-
"pnpmLockSha256": "sha256:
|
|
6
|
-
"npmShrinkwrapSha256": "sha256:
|
|
4
|
+
"sourcePackageSha256": "sha256:fd9bfa177c731ad26a90c79179da9f3c34c0d83197a909e0add88d028893cf2e",
|
|
5
|
+
"pnpmLockSha256": "sha256:87d5673824fcf851919cedf3cf303bd5d1535457f38eea3bbb4581e4f1ed9815",
|
|
6
|
+
"npmShrinkwrapSha256": "sha256:8f1028dc41bca37729c265cd155a4e54d764375e398957dfe0e22d9475d27275",
|
|
7
7
|
"privateVaultManifestSha256": null,
|
|
8
8
|
"publicCandidatePackages": [
|
|
9
9
|
{
|
|
@@ -34,8 +34,8 @@
|
|
|
34
34
|
},
|
|
35
35
|
"offlineAfterAuthorityCreation": true,
|
|
36
36
|
"installedTreeDigests": [
|
|
37
|
-
"sha256:
|
|
38
|
-
"sha256:
|
|
37
|
+
"sha256:67736cb419ddbb411af68d9f77d6de78db2e4e3f02b270c047af8aaf27b20a31",
|
|
38
|
+
"sha256:67736cb419ddbb411af68d9f77d6de78db2e4e3f02b270c047af8aaf27b20a31"
|
|
39
39
|
],
|
|
40
40
|
"cleanServerRuntimeSmoke": {
|
|
41
41
|
"status": "passed",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"request": "/api-info.json"
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
|
-
"installedTreeDigest": "sha256:
|
|
47
|
+
"installedTreeDigest": "sha256:67736cb419ddbb411af68d9f77d6de78db2e4e3f02b270c047af8aaf27b20a31",
|
|
48
48
|
"packageCount": 278,
|
|
49
49
|
"packagePathCount": 278,
|
|
50
50
|
"excludedOptionalPackages": {
|
|
@@ -1284,9 +1284,9 @@
|
|
|
1284
1284
|
},
|
|
1285
1285
|
{
|
|
1286
1286
|
"name": "fast-uri",
|
|
1287
|
-
"version": "3.1.
|
|
1287
|
+
"version": "3.1.5",
|
|
1288
1288
|
"license": "BSD-3-Clause",
|
|
1289
|
-
"integrity": "sha512-
|
|
1289
|
+
"integrity": "sha512-gHwA1O9LDIcKunMKhObS/HimwtehO1nPUECKAu5TpKgaO19fcWEl4bliWe1jWxVFvIXztJjjQ4L8XQ1EU9f7Jw==",
|
|
1290
1290
|
"installedPaths": [
|
|
1291
1291
|
"node_modules/fast-uri"
|
|
1292
1292
|
],
|
|
@@ -2024,9 +2024,9 @@
|
|
|
2024
2024
|
},
|
|
2025
2025
|
{
|
|
2026
2026
|
"name": "nanoid",
|
|
2027
|
-
"version": "3.3.
|
|
2027
|
+
"version": "3.3.17",
|
|
2028
2028
|
"license": "MIT",
|
|
2029
|
-
"integrity": "sha512-
|
|
2029
|
+
"integrity": "sha512-xQLf0A3HOMlgHq0n247/LRuAOYmB7dXJ/DvAxGvsSBij45XtBSmQycu+F8ODbHwns/XyFZagyL1+J0Offw1E0g==",
|
|
2030
2030
|
"installedPaths": [
|
|
2031
2031
|
"node_modules/nanoid"
|
|
2032
2032
|
],
|
|
@@ -2214,9 +2214,9 @@
|
|
|
2214
2214
|
},
|
|
2215
2215
|
{
|
|
2216
2216
|
"name": "postcss",
|
|
2217
|
-
"version": "8.5.
|
|
2217
|
+
"version": "8.5.26",
|
|
2218
2218
|
"license": "MIT",
|
|
2219
|
-
"integrity": "sha512-
|
|
2219
|
+
"integrity": "sha512-u82N74LFzG8ca+dD8puPnplTXoGH4fTPpVGuIbt36G3qvNlkvfD0lEAZSxaly3KX8TS/L1A1gsCEmvKmBcVbkQ==",
|
|
2220
2220
|
"installedPaths": [
|
|
2221
2221
|
"node_modules/postcss"
|
|
2222
2222
|
],
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{aD as ve,aE as bt,aA as oe,aF as kt,aB as A,G as U,ag as T}from"./2_TffmqH.js";import{o as Fe}from"./B2EkC-sy.js";const V=[];function Ae(e,t=ve){let n=null;const r=new Set;function a(o){if(bt(e,o)&&(e=o,n)){const c=!V.length;for(const l of r)l[1](),V.push(l,e);if(c){for(let l=0;l<V.length;l+=2)V[l][0](V[l+1]);V.length=0}}}function i(o){a(o(e))}function s(o,c=ve){const l=[o,c];return r.add(l),r.size===1&&(n=t(a,i)||ve),o(e),()=>{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:i,subscribe:s}}const Et="1786135461954",L=globalThis.__sveltekit_1ag71e9?.base??"",St=globalThis.__sveltekit_1ag71e9?.assets??L??"";new URL("sveltekit-internal://");function Rt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function xt(e){return e.split("%25").map(decodeURI).join("%25")}function Lt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function ye({href:e}){return e.split("#")[0]}const At=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/,Ut=/^\/\((?:[^)]+)\)$/;function Tt(e){const t=[];return{pattern:e==="/"||Ut.test(e)?/^\/$/:new RegExp(`^${Pt(e).map(r=>{const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const i=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(i)return t.push({name:i[1],matcher:i[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const s=r.split(/\[(.+?)\](?!\])/);return"/"+s.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return be(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return be(String.fromCharCode(...c.slice(2).split("-").map(m=>parseInt(m,16))));const u=At.exec(c),[,p,w,d,f]=u;return t.push({name:d,matcher:f,optional:!!p,rest:!!w,chained:w?l===1&&s[0]==="":!1}),w?"([^]*?)":p?"([^/]*)?":"([^/]+?)"}return be(c)}).join("")}).join("")}/?$`),params:t}}function It(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function Pt(e){return e.slice(1).split("/").filter(It)}function Ot(e,t,n){const r={},a=e.slice(1),i=a.filter(o=>o!==void 0);let s=0;for(let o=0;o<t.length;o+=1){const c=t[o];let l=a[o-s];if(c.chained&&c.rest&&s&&(l=a.slice(o-s,o+1).filter(u=>u).join("/"),s=0),l===void 0)if(c.rest)l="";else continue;if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const u=t[o+1],p=a[o+1];u&&!u.rest&&u.optional&&p&&c.chained&&(s=0),!u&&!p&&Object.keys(r).length===i.length&&(s=0);continue}if(c.optional&&c.chained){s++;continue}return}if(!s)return r}function be(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}class Ue{constructor(t,n){this.status=t,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class Te{constructor(t,n){try{new Headers({location:n})}catch{throw new Error(`Invalid redirect location ${JSON.stringify(n)}: this string contains characters that cannot be used in HTTP headers`)}this.status=t,this.location=n}}class Ie extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}function C(){}function $t(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)t=t*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;function Ct(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}const Nt=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&Y.delete(Pe(e)),Nt(e,t));const Y=new Map;function jt(e,t){const n=Pe(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:a,...i}=JSON.parse(r.textContent);r.getAttribute("data-b64")!==null&&(a=Ct(a));const o=r.getAttribute("data-ttl");return o&&Y.set(n,{body:a,init:i,ttl:1e3*Number(o)}),Promise.resolve(new Response(a,i))}return window.fetch(e,t)}function qt(e,t,n){if(Y.size>0){const r=Pe(e,n),a=Y.get(r);if(a){if(performance.now()<a.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(a.body,a.init);Y.delete(r)}}return window.fetch(t,n)}function Pe(e,t){let r=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const a=[];t.headers&&a.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&a.push(t.body),r+=`[data-hash="${$t(...a)}"]`}return r}function Dt({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([o,[c,l,u]])=>{const{pattern:p,params:w}=Tt(o),d={id:o,exec:f=>{const m=p.exec(f);if(m)return Ot(m,w,r)},errors:[1,...u||[]].map(f=>e[f]),layouts:[0,...l||[]].map(s),leaf:i(c)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function i(o){const c=o<0;return c&&(o=~o),[c,e[o]]}function s(o){return o===void 0?o:[a.has(o),e[o]]}}function Qe(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Ke(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const Ze="sveltekit:snapshot",et="sveltekit:scroll",tt="sveltekit:states",Vt="sveltekit:pageurl",F="sveltekit:history",Q="sveltekit:navigation",q={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},nt=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...nt];const Mt=new Set([...nt]);[...Mt];function Bt(e){return e.filter(t=>t!=null)}function re(e,t){return e+"/"+t}function Oe(e){return e instanceof Ue||e instanceof Ie?e.status:500}function Ft(e){return e instanceof Ie?e.text:"Internal Error"}const Kt=new Set(["icon","shortcut icon","apple-touch-icon"]);let W=null;const j=Qe(et)??{},Z=Qe(Ze)??{},N={url:Ye({}),page:Ye({}),navigating:Ae(null),updated:fn()};function $e(e){j[e]=D()}function Gt(e,t){let n=e+1;for(;j[n];)delete j[n],n+=1;for(n=t+1;Z[n];)delete Z[n],n+=1}function ee(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(C)}async function rt(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(L||"/");e&&await e.update()}}let Ce,Se,se,I,Re,v;const ie=[],ce=[];let S=null;function le(){S?.fork?.then(e=>e?.discard()),S=null,B={element:void 0,href:void 0}}const ae=new Map,at=new Set,Ht=new Set,X=new Set;let _={branch:[],error:null,url:null},ot=!1,ue=!1,Ge=!0,te=!1,J=!1,st=!1,Ne=!1,it,y,R,$;const fe=new Set,He=new Map,ze=new Map;async function gn(e,t,n){if(globalThis.__sveltekit_1ag71e9.data){const{q:i={},p:s={},l:o={},f:c={}}=globalThis.__sveltekit_1ag71e9.data;for(const l in i)i[l];for(const l in o)o[l];for(const l in c)c[l];for(const l in s)s[l]}document.URL!==location.href&&(location.href=location.href),v=e,await e.hooks.init?.(),Ce=Dt(e),I=document.documentElement,Re=t,Se=e.nodes[0],se=e.nodes[1],Se(),se(),y=history.state?.[F],R=history.state?.[Q],y||(y=R=Date.now(),history.replaceState({...history.state,[F]:y,[Q]:R},""));const r=j[y];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await sn(Re,n)):(await K({type:"enter",url:gt(v.hash?un(new URL(location.href)):location.href),replace_state:!0}),a()),on()}function zt(){ie.length=0,Ne=!1}function ct(e){ce.some(t=>t?.snapshot)&&(Z[e]=ce.map(t=>t?.snapshot?.capture()))}function lt(e){Z[e]?.forEach((t,n)=>{ce[n]?.snapshot?.restore(t)})}function We(){$e(y),Ke(et,j),ct(R),Ke(Ze,Z)}async function Wt(e,t,n,r){let a,i;t.invalidateAll&&le(),await K({type:"goto",url:gt(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{if(t.invalidateAll){Ne=!0,a=new Set;for(const[s,o]of He)for(const[c,l]of o)l.resource?.reset(),a.add(re(s,c));i=new Set;for(const[s,o]of ze)for(const c of o.keys())i.add(re(s,c))}t.invalidate&&t.invalidate.forEach(an)}}),t.invalidateAll&&oe().then(oe).then(()=>{for(const[s,o]of He)for(const[c,{resource:l}]of o)a?.has(re(s,c))&&l.start();for(const[s,o]of ze)for(const[c,{resource:l}]of o)i?.has(re(s,c))&&l.reconnect()})}async function Jt(e){if(e.id!==S?.id){le();const t={};fe.add(t),S={id:e.id,token:t,promise:ft({...e,preload:t}).then(n=>(fe.delete(t),n.type==="loaded"&&n.state.error&&le(),n)),fork:null}}return S.promise}async function ke(e){const t=(await ge(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(n=>n[1]()))}async function ut(e,t,n){const r={params:_.params,route:{id:_.route?.id??null},url:new URL(location.href)};if(_={...e.state,nav:r},vt(e.props.page),it=new v.root({target:t,props:{...e.props,stores:N,components:ce},hydrate:n,sync:!1,transformError:void 0}),await Promise.resolve(),n){const a={from:null,to:{...r,scroll:j[y]??D()},willUnload:!1,type:"enter",complete:Promise.resolve()};X.forEach(i=>i(a))}lt(R),ue=!0}async function de({url:e,params:t,branch:n,errors:r,status:a,error:i,route:s,form:o}){let c="never";if(L&&(e.pathname===L||e.pathname===L+"/"))c="always";else for(const f of n)f?.slash!==void 0&&(c=f.slash);e.pathname=Rt(e.pathname,c),e.search=e.search;const l={type:"loaded",state:{url:e,params:t,branch:n,error:i,route:s},props:{constructors:Bt(n).map(f=>f.node.component),page:Me(x)}};o!==void 0&&(l.props.form=o);let u={},p=!x,w=0;for(let f=0;f<Math.max(n.length,_.branch.length);f+=1){const m=n[f],g=_.branch[f];m?.data!==g?.data&&(p=!0),m&&(u={...u,...m.data},p&&(l.props[`data_${w}`]=u),w+=1)}return(!_.url||e.href!==_.url.href||_.error!==i||o!==void 0&&o!==x.form||p)&&(l.props.page={error:i,params:t,route:{id:s?.id??null},state:{},status:a,url:new URL(e),form:o??null,data:p?u:x.data}),l}async function je({loader:e,parent:t,url:n,params:r,route:a,server_data_node:i}){let s=null;const o={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await e();return{node:c,loader:e,server:i,universal:c.universal?.load?{type:"data",data:s,uses:o}:null,data:s??i?.data??null,slash:c.universal?.trailingSlash??i?.slash}}function Yt(e,t,n){let r=e instanceof Request?e.url:e;const a=new URL(r,n);a.origin===n.origin&&(r=a.href.slice(n.origin.length));const i=ue?qt(r,a.href,t):jt(r,t);return{resolved:a,promise:i}}function Xt(e,t,n,r,a,i){if(Ne)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&n)return!0;for(const s of a.search_params)if(r.has(s))return!0;for(const s of a.params)if(i[s]!==_.params[s])return!0;for(const s of a.dependencies)if(ie.some(o=>o(new URL(s))))return!0;return!1}function qe(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function Qt(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const r of n){const a=e.searchParams.getAll(r),i=t.searchParams.getAll(r);a.every(s=>i.includes(s))&&i.every(s=>a.includes(s))&&n.delete(r)}return n}function Zt({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:Me(x),constructors:[]}}}async function ft({id:e,invalidating:t,url:n,params:r,route:a,preload:i}){if(S?.id===e)return fe.delete(S.token),S.promise;const{errors:s,layouts:o,leaf:c}=a,l=[...o,c];s.forEach(g=>g?.().catch(C)),l.forEach(g=>g?.[1]().catch(C));const u=_.url?e!==he(_.url):!1,p=_.route?a.id!==_.route.id:!1,w=Qt(_.url,n);let d=!1;const f=l.map(async(g,h)=>{if(!g)return;const b=_.branch[h];return g[1]===b?.loader&&!Xt(d,p,u,w,b.universal?.uses,r)?b:(d=!0,je({loader:g[1],url:n,params:r,route:a,parent:async()=>{const P={};for(let O=0;O<h;O+=1)Object.assign(P,(await f[O])?.data);return P},server_data_node:qe(g[0]?{type:"skip"}:null,g[0]?b?.server:void 0)}))});for(const g of f)g.catch(C);const m=[];for(let g=0;g<l.length;g+=1)if(l[g])try{m.push(await f[g])}catch(h){if(h instanceof Te)return{type:"redirect",location:h.location};if(i&&fe.has(i))return Zt({error:await G(h,{params:r,url:n,route:{id:a.id}}),url:n,params:r,route:a});let b=Oe(h),E;if(h instanceof Ue)E=h.body;else{if(await N.updated.check())return await rt(),await ee(n);E=await G(h,{params:r,url:n,route:{id:a.id}})}const P=await en(g,m,s);return P?de({url:n,params:r,branch:m.slice(0,P.idx).concat(P.node),errors:s,status:b,error:E,route:a}):await ht(n,{id:a.id},E,b)}else m.push(void 0);return de({url:n,params:r,branch:m,errors:s,status:200,error:null,route:a,form:t?void 0:null})}async function en(e,t,n){for(;e--;)if(n[e]){let r=e;for(;!t[r];)r-=1;try{return{idx:r+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function De({status:e,error:t,url:n,route:r}){const a={};let i=null;try{const s=await je({loader:Se,url:n,params:a,route:r,parent:()=>Promise.resolve({}),server_data_node:qe(i)}),o={node:await se(),loader:se,universal:null,server:null,data:null};return de({url:n,params:a,branch:[s,o],status:e,error:t,errors:[],route:null})}catch(s){if(s instanceof Te){await Wt(new URL(s.location,location.href),{},0);return}const o=await v.get_error_template(),c=await G(s,{url:n,params:a,route:r}),l=String(c?.message??"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),u=o({status:e,message:l}),p=new DOMParser().parseFromString(u,"text/html");throw document.documentElement.replaceChild(document.adoptNode(p.head),document.head),document.documentElement.replaceChild(document.adoptNode(p.body),document.body),s}}async function tn(e){const t=e.href;if(ae.has(t))return ae.get(t);let n;try{const r=(async()=>{let a=await v.hooks.reroute({url:new URL(e),fetch:async(i,s)=>Yt(i,s,e).promise})??e;if(typeof a=="string"){const i=new URL(e);v.hash?i.hash=a:i.pathname=a,a=i}return a})();ae.set(t,r),n=await r}catch{ae.delete(t);return}return n}async function ge(e,t){if(e&&!me(e,L,v.hash)){const n=await tn(e);if(!n)return;const r=nn(n);for(const a of Ce){const i=a.exec(r);if(i)return{id:he(e),invalidating:t,route:a,params:Lt(i),url:e}}}}function nn(e){return xt(v.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(L.length))||"/"}function he(e){return(v.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function dt({url:e,type:t,intent:n,delta:r,event:a,scroll:i}){let s=!1;const o=Ve(_,n,e,t,i??null);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const c={...o.navigation,cancel:()=>{s=!0,o.reject(new Error("navigation cancelled"))}};return te||at.forEach(l=>l(c)),s?null:o}async function K({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:i,state:s={},redirect_count:o=0,nav_token:c={},accept:l=C,block:u=C,event:p}){const w=$;$=c;const d=await ge(t,!1),f=e==="enter"?Ve(_,d,t,e):dt({url:t,type:e,delta:n?.delta,intent:d,scroll:n?.scroll,event:p});if(!f){u(),$===c&&($=w);return}const m=y,g=R;l(),te=!0,ue&&f.navigation.type!=="enter"&&N.navigating.set(ne.current=f.navigation);let h=d&&await ft(d);if(!h){if(me(t,L,v.hash))return await ee(t,i);h=await ht(t,{id:null},await G(new Ie(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,i)}if(t=d?.url||t,$!==c){f.reject(new Error("navigation aborted"));return}if(!h)return;if(h.type==="redirect"){if(o<20){await K({type:e,url:new URL(h.location,t),popped:n,keepfocus:r,noscroll:a,replace_state:i,state:s,redirect_count:o+1,nav_token:c}),f.fulfil(void 0);return}if(h=await De({status:500,error:await G(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}}),!h)return}else if(h.props.page.status>=400&&await N.updated.check())return await rt(),await ee(t,i);if(zt(),$e(m),ct(g),h.props.page.url.pathname!==t.pathname&&(t.pathname=h.props.page.url.pathname),s=n?n.state:s,!n){const k=i?0:1,H={[F]:y+=k,[Q]:R+=k,[tt]:s};(i?history.replaceState:history.pushState).call(history,H,"",t),i||Gt(y,R)}const b=d&&S?.id===d.id?S.fork:null;S?.fork&&!b?le():(S=null,B={element:void 0,href:void 0}),h.props.page.state=s;let E;if(ue){const k=(await Promise.all(Array.from(Ht,z=>z(f.navigation)))).filter(z=>typeof z=="function");if(k.length>0){let z=function(){k.forEach(we=>{X.delete(we)})};k.push(z),k.forEach(we=>{X.add(we)})}const H=f.navigation.to;_={...h.state,nav:{params:H.params,route:H.route,url:H.url}},h.props.page&&(h.props.page.url=t),!r&&document.activeElement instanceof HTMLElement&&document.activeElement!==document.body&&document.activeElement.blur();const _e=b&&await b;_e?E=_e.commit():(W=null,it.$set(h.props),W&&Object.assign(h.props.page,W),vt(h.props.page),E=kt?.()),st=!0}else await ut(h,Re,!1);const{activeElement:P}=document;if(await E,await oe(),await oe(),$!==c){f.reject(new Error("navigation aborted"));return}h.props.page&&W&&Object.assign(h.props.page,W);let O=null;if(Ge){const k=n?n.scroll:a?D():null;k?scrollTo(k.x,k.y):(O=t.hash&&document.getElementById(pt(t)))?O.scrollIntoView():scrollTo(0,0)}const yt=document.activeElement!==P&&document.activeElement!==document.body;!r&&!yt&&ln(t,!O),Ge=!0,te=!1,f.fulfil(void 0),f.navigation.to&&(f.navigation.to.scroll=D()),X.forEach(k=>k(f.navigation)),e==="popstate"&<(R),N.navigating.set(ne.current=null)}async function ht(e,t,n,r,a){return e.origin===Be&&e.pathname===location.pathname&&!ot?await De({status:r,error:n,url:e,route:t}):await ee(e,a)}let B={element:void 0,href:void 0};function rn(){let e,t;I.addEventListener("mousemove",s=>{const o=s.target;clearTimeout(e),e=setTimeout(()=>{a(o,q.hover)},20)});function n(s){s.defaultPrevented||a(s.composedPath()[0],q.tap)}I.addEventListener("mousedown",n),I.addEventListener("touchstart",n,{passive:!0});const r=new IntersectionObserver(s=>{for(const o of s)o.isIntersecting&&(ke(new URL(o.target.href)),r.unobserve(o.target))},{threshold:0});async function a(s,o){const c=_t(s,I),l=c===B.element&&c?.href===B.href&&o>=t;if(!c||l)return;const{url:u,external:p,download:w}=Le(c,L,v.hash);if(p||w)return;const d=pe(c),f=u&&he(_.url)===he(u);if(!(d.reload||f))if(o<=d.preload_data){B={element:c,href:c.href},t=q.tap;const m=await ge(u,!1);if(!m)return;Jt(m)}else o<=d.preload_code&&(B={element:c,href:c.href},t=o,ke(u))}function i(){r.disconnect();for(const s of I.querySelectorAll("a")){const{url:o,external:c,download:l}=Le(s,L,v.hash);if(c||l)continue;const u=pe(s);u.reload||(u.preload_code===q.viewport&&r.observe(s),u.preload_code===q.eager&&ke(o))}}X.add(i),i()}function G(e,t){if(e instanceof Ue)return e.body;const n=Oe(e),r=Ft(e);return v.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function an(e){if(typeof e=="function")ie.push(e);else{const{href:t}=new URL(e,location.href);ie.push(n=>n.href===t)}}function on(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(We(),!te){const r=Ve(_,void 0,null,"leave"),a={...r.navigation,cancel:()=>{n=!0,r.reject(new Error("navigation cancelled"))}};at.forEach(i=>i(a))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&We()}),navigator.connection?.saveData||rn(),I.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=_t(t.composedPath()[0],I);if(!n)return;const{url:r,external:a,target:i,download:s}=Le(n,L,v.hash);if(!r)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const o=pe(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||s)return;const[l,u]=(v.hash?r.hash.replace(/^#/,""):r.href).split("#"),p=l===ye(location);if(a||o.reload&&(!p||!u)){dt({url:r,type:"link",event:t})?te=!0:t.preventDefault();return}if(u!==void 0&&p){const[,w]=_.url.href.split("#");if(w===u){if(t.preventDefault(),u===""||u==="top"&&n.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const d=n.ownerDocument.getElementById(decodeURIComponent(u));d&&(d.scrollIntoView(),d.focus())}return}if(J=!0,$e(y),e(r),!o.replace_state)return;J=!1}t.preventDefault(),await new Promise(w=>{requestAnimationFrame(()=>{setTimeout(w,0)}),setTimeout(w,100)}),await K({type:"link",url:r,keepfocus:o.keepfocus,noscroll:o.noscroll,replace_state:o.replace_state??r.href===location.href,event:t})}),I.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if((r?.formTarget||n.target)==="_blank"||(r?.formMethod||n.method)!=="get")return;const s=new URL(r?.hasAttribute("formaction")&&r?.formAction||n.action);if(me(s,L,!1))return;const o=t.target,c=pe(o);if(c.reload)return;t.preventDefault(),t.stopPropagation();const l=new FormData(o,r);s.search=new URLSearchParams(l).toString(),K({type:"form",url:s,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??s.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!xe){if(t.state?.[F]){const n=t.state[F];if($={},n===y)return;const r=j[n],a=t.state[tt]??{},i=new URL(t.state[Vt]??location.href),s=t.state[Q],o=_.url?ye(location)===ye(_.url):!1;if(s===R&&(st||o)){a!==x.state&&(x.state=a),e(i),j[y]=D(),r&&scrollTo(r.x,r.y),y=n;return}const l=n-y;await K({type:"popstate",url:i,popped:{state:a,scroll:r,delta:l},accept:()=>{y=n,R=s},block:()=>{history.go(-l)},nav_token:$,event:t})}else if(!J){const n=new URL(location.href);e(n),v.hash&&location.reload()}}}),addEventListener("hashchange",()=>{J&&(J=!1,history.replaceState({...history.state,[F]:++y,[Q]:R},"",location.href))});for(const t of document.querySelectorAll("link"))Kt.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&N.navigating.set(ne.current=null)});function e(t){_.url=x.url=t,N.page.set(Me(x)),N.page.notify()}}async function sn(e,{status:t=200,error:n,node_ids:r,params:a,route:i,server_route:s,data:o,form:c}){ot=!0;const l=new URL(location.href);let u;({params:a={},route:i={id:null}}=await ge(l,!1)||{}),u=Ce.find(({id:d})=>d===i.id);let p,w=!0;try{const d=r.map(async(m,g)=>{const h=o[g];return h?.uses&&(h.uses=cn(h.uses)),je({loader:v.nodes[m],url:l,params:a,route:i,parent:async()=>{const b={};for(let E=0;E<g;E+=1)Object.assign(b,(await d[E]).data);return b},server_data_node:qe(h)})}),f=await Promise.all(d);if(u){const m=u.layouts;for(let g=0;g<m.length;g++)m[g]||f.splice(g,0,void 0)}p=await de({url:l,params:a,branch:f,status:t,error:n,errors:u?.errors,form:c,route:u??null})}catch(d){if(d instanceof Te)return await ee(new URL(d.location,location.href));p=await De({status:Oe(d),error:await G(d,{url:l,params:a,route:i}),url:l,route:i}),e.textContent="",w=!1}p&&(p.props.page&&(p.props.page.state={}),await ut(p,e,w))}function cn(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 xe=!1;function ln(e,t=!0){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const r=pt(e);if(r&&document.getElementById(r)){const{x:i,y:s}=D();setTimeout(()=>{const o=history.state;xe=!0,location.replace(new URL(`#${r}`,location.href)),history.replaceState(o,"",e),t&&scrollTo(i,s),xe=!1})}else{const i=document.body,s=i.getAttribute("tabindex");i.tabIndex=-1,i.focus({preventScroll:!0,focusVisible:!1}),s!==null?i.setAttribute("tabindex",s):i.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const i=[];for(let s=0;s<a.rangeCount;s+=1)i.push(a.getRangeAt(s));setTimeout(()=>{if(a.rangeCount===i.length){for(let s=0;s<a.rangeCount;s+=1){const o=i[s],c=a.getRangeAt(s);if(o.commonAncestorContainer!==c.commonAncestorContainer||o.startContainer!==c.startContainer||o.endContainer!==c.endContainer||o.startOffset!==c.startOffset||o.endOffset!==c.endOffset)return}a.removeAllRanges()}})}}}function Ve(e,t,n,r,a=null){let i,s;const o=new Promise((l,u)=>{i=l,s=u});return o.catch(C),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:D()},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n,scroll:a},willUnload:!t,type:r,complete:o},fulfil:i,reject:s}}function Me(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 un(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function pt(e){let t;if(v.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}const Be=location.origin;function gt(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 D(){return{x:pageXOffset,y:pageYOffset}}function M(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const Je={...q,"":q.hover};function mt(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function _t(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=mt(e)}}function Le(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,i=!r||!!a||me(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),s=r?.origin===Be&&e.hasAttribute("download");return{url:r,external:i,target:a,download:s}}function pe(e){let t=null,n=null,r=null,a=null,i=null,s=null,o=e;for(;o&&o!==document.documentElement;)r===null&&(r=M(o,"preload-code")),a===null&&(a=M(o,"preload-data")),t===null&&(t=M(o,"keepfocus")),n===null&&(n=M(o,"noscroll")),i===null&&(i=M(o,"reload")),s===null&&(s=M(o,"replacestate")),o=mt(o);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Je[r??"off"],preload_data:Je[a??"off"],keepfocus:c(t),noscroll:c(n),reload:c(i),replace_state:c(s)}}function Ye(e){const t=Ae(e);let n=!0;function r(){n=!0,t.update(s=>s)}function a(s){n=!1,t.set(s)}function i(s){let o;return t.subscribe(c=>{(o===void 0||n&&c!==o)&&s(o=c)})}return{notify:r,set:a,subscribe:i}}const wt={v:C};function fn(){const{set:e,subscribe:t}=Ae(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${St}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const s=(await a.json()).version!==Et;return s&&(e(!0),wt.v(),clearTimeout(n)),s}catch{return!1}}return{subscribe:t,check:r}}function me(e,t,n){return e.origin!==Be||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function mn(e){}let x,ne,Ee;const dn=Fe.toString().includes("$$")||/function \w+\(\) \{\}/.test(Fe.toString()),Xe="a:";dn?(x={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(Xe)},ne={current:null},Ee={current:!1}):(x=new class{#e=A({});get data(){return U(this.#e)}set data(t){T(this.#e,t)}#t=A(null);get form(){return U(this.#t)}set form(t){T(this.#t,t)}#n=A(null);get error(){return U(this.#n)}set error(t){T(this.#n,t)}#r=A({});get params(){return U(this.#r)}set params(t){T(this.#r,t)}#a=A({id:null});get route(){return U(this.#a)}set route(t){T(this.#a,t)}#o=A({});get state(){return U(this.#o)}set state(t){T(this.#o,t)}#s=A(-1);get status(){return U(this.#s)}set status(t){T(this.#s,t)}#i=A(new URL(Xe));get url(){return U(this.#i)}set url(t){T(this.#i,t)}},ne=new class{#e=A(null);get current(){return U(this.#e)}set current(t){T(this.#e,t)}},Ee=new class{#e=A(!1);get current(){return U(this.#e)}set current(t){T(this.#e,t)}},wt.v=()=>Ee.current=!0);function vt(e){Object.assign(x,e)}export{gn as a,mn as l,x as p,N as s};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.BYBfjxZ5.js","../chunks/rqnVXeyB.js","../chunks/2_TffmqH.js","../chunks/3DOfIKW0.js","../nodes/1.
|
|
2
|
-
import{ag as R,ah as G,G as h,ai as ie,a2 as oe,aj as ce,h as T,A as V,f as z,E as F,ak as H,Z,C as W,a8 as I,e as J,a5 as ue,i as fe,al as le,H as de,j as K,w as Q,am as _e,an as X,ao as ve,ap as he,aq as me,ar as ge,as as ye,at as be,au as Ee,av as Pe,aw as q,ax as we,ay as Se,k as Re,az as Oe,u as Ae,aA as Te,g as O,q as Ie,l as xe,aB as L,n as Le,o as je,t as ke,aC as j}from"../chunks/2_TffmqH.js";import{h as Ce,m as De,u as Ne,s as Be}from"../chunks/CMkIcmi1.js";import{a as S,f as $,c as k,t as pe}from"../chunks/rqnVXeyB.js";import{o as Me}from"../chunks/B2EkC-sy.js";import{B as ee}from"../chunks/3DOfIKW0.js";const Ye="modulepreload",qe=function(t,e){return new URL(t,e).href},U={},M=function(e,s,i){let c=Promise.resolve();if(s&&s.length>0){let d=function(o){return Promise.all(o.map(v=>Promise.resolve(v).then(E=>({status:"fulfilled",value:E}),E=>({status:"rejected",reason:E}))))};const a=document.getElementsByTagName("link"),n=document.querySelector("meta[property=csp-nonce]"),u=n?.nonce||n?.getAttribute("nonce");c=d(s.map(o=>{if(o=qe(o,i),o in U)return;U[o]=!0;const v=o.endsWith(".css"),E=v?'[rel="stylesheet"]':"";if(i)for(let y=a.length-1;y>=0;y--){const f=a[y];if(f.href===o&&(!v||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${E}`))return;const _=document.createElement("link");if(_.rel=v?"stylesheet":Ye,v||(_.as="script"),_.crossOrigin="",_.href=o,u&&_.setAttribute("nonce",u),document.head.appendChild(_),v)return new Promise((y,f)=>{_.addEventListener("load",y),_.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${o}`)))})}))}function r(a){const n=new Event("vite:preloadError",{cancelable:!0});if(n.payload=a,window.dispatchEvent(n),!n.defaultPrevented)throw a}return c.then(a=>{for(const n of a||[])n.status==="rejected"&&r(n.reason);return e().catch(r)})},$e={};let A=!1;function Ue(t){var e=A;try{return A=!1,[t(),A]}finally{A=e}}function Ge(t){return class extends Ve{constructor(e){super({component:t,...e})}}}class Ve{#t;#e;constructor(e){var s=new Map,i=(r,a)=>{var n=ce(a,!1,!1);return s.set(r,n),n};const c=new Proxy({...e.props||{},$$events:{}},{get(r,a){return h(s.get(a)??i(a,Reflect.get(r,a)))},has(r,a){return a===G?!0:(h(s.get(a)??i(a,Reflect.get(r,a))),Reflect.has(r,a))},set(r,a,n){return R(s.get(a)??i(a,n),n),Reflect.set(r,a,n)}});this.#e=(e.hydrate?Ce:De)(e.component,{target:e.target,anchor:e.anchor,props:c,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),(!e?.props?.$$host||e.sync===!1)&&ie(),this.#t=c.$$events;for(const r of Object.keys(this.#e))r==="$set"||r==="$destroy"||r==="$on"||oe(this,r,{get(){return this.#e[r]},set(a){this.#e[r]=a},enumerable:!0});this.#e.$set=r=>{Object.assign(c,r)},this.#e.$destroy=()=>{Ne(this.#e)}}$set(e){this.#e.$set(e)}$on(e,s){this.#t[e]=this.#t[e]||[];const i=(...c)=>s.call(this,...c);return this.#t[e].push(i),()=>{this.#t[e]=this.#t[e].filter(c=>c!==i)}}$destroy(){this.#e.$destroy()}}function C(t,e,s=!1){var i;T&&(i=J,V());var c=new ee(t),r=s?F:0;function a(n,u){if(T){var d=H(i);if(n!==parseInt(d.substring(1))){var o=Z();W(o),c.anchor=o,I(!1),c.ensure(n,u),I(!0);return}}c.ensure(n,u)}z(()=>{var n=!1;e((u,d=0)=>{n=!0,a(d,u)}),n||a(-1,null)},r)}function D(t,e,s){var i;T&&(i=J,V());var c=new ee(t);z(()=>{var r=e()??null;if(T){var a=H(i),n=a===ue,u=r!==null;if(n!==u){var d=Z();W(d),c.anchor=d,I(!1),c.ensure(r,r&&(o=>s(o,r))),I(!0);return}}c.ensure(r,r&&(o=>s(o,r)))},F)}function N(t,e){return t===e||t?.[X]===e}function B(t={},e,s,i){var c=fe.r,r=Q;return le(()=>{var a,n;return de(()=>{a=n,n=[],K(()=>{N(s(...n),t)||(e(t,...n),a&&N(s(...a),t)&&e(null,...a))})}),()=>{let u=r;for(;u!==c&&u.parent!==null&&u.parent.f&_e;)u=u.parent;const d=()=>{n&&N(s(...n),t)&&e(null,...n)},o=u.teardown;u.teardown=()=>{d(),o?.()}}}),t}function p(t,e,s,i){var c=!0,r=(s&Ee)!==0,a=(s&Se)!==0,n=i,u=!0,d=void 0,o=()=>a&&c?(d??=q(i),h(d)):(u&&(u=!1,n=a?K(i):i),n);let v;if(r){var E=X in t||G in t;v=ve(t,e)?.set??(E&&e in t?l=>t[e]=l:void 0)}var _,y=!1;r?[_,y]=Ue(()=>t[e]):_=t[e],_===void 0&&i!==void 0&&(_=o(),v&&(he(),v(_)));var f;if(f=()=>{var l=t[e];return l===void 0?o():(u=!0,l)},(s&me)===0)return f;if(v){var P=t.$$legacy;return(function(l,b){return arguments.length>0?((!b||P||y)&&v(b?f():l),l):f()})}var m=!1,g=((s&Pe)!==0?q:we)(()=>(m=!1,f()));r&&h(g);var w=Q;return(function(l,b){if(arguments.length>0){const x=b?h(g):r?ge(l):l;return R(g,x),m=!0,n!==void 0&&(n=x),l}return ye&&m||(w.f&be)!==0?g.v:h(g)})}var ze=$('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),Fe=$("<!> <!>",1);function He(t,e){Re(e,!0);let s=p(e,"components",23,()=>[]),i=p(e,"data_0",3,null),c=p(e,"data_1",3,null);Oe(()=>e.stores.page.set(e.page)),Ae(()=>{e.stores,e.page,e.constructors,s(),e.form,i(),c(),e.stores.page.notify()});let r=L(!1),a=L(!1),n=L(null);Me(()=>{const f=e.stores.page.subscribe(()=>{h(r)&&(R(a,!0),Te().then(()=>{R(n,document.title||"untitled page",!0)}))});return R(r,!0),f});const u=j(()=>e.constructors[1]);var d=Fe(),o=O(d);{var v=f=>{const P=j(()=>e.constructors[0]);var m=k(),g=O(m);D(g,()=>h(P),(w,l)=>{B(l(w,{get data(){return i()},get form(){return e.form},get params(){return e.page.params},children:(b,x)=>{var Y=k(),re=O(Y);D(re,()=>h(u),(ae,ne)=>{B(ne(ae,{get data(){return c()},get form(){return e.form},get params(){return e.page.params}}),se=>s()[1]=se,()=>s()?.[1])}),S(b,Y)},$$slots:{default:!0}}),b=>s()[0]=b,()=>s()?.[0])}),S(f,m)},E=f=>{const P=j(()=>e.constructors[0]);var m=k(),g=O(m);D(g,()=>h(P),(w,l)=>{B(l(w,{get data(){return i()},get form(){return e.form},get params(){return e.page.params}}),b=>s()[0]=b,()=>s()?.[0])}),S(f,m)};C(o,f=>{e.constructors[1]?f(v):f(E,-1)})}var _=Ie(o,2);{var y=f=>{var P=ze(),m=Le(P);{var g=w=>{var l=pe();ke(()=>Be(l,h(n))),S(w,l)};C(m,w=>{h(a)&&w(g)})}je(P),S(f,P)};C(_,f=>{h(r)&&f(y)})}S(t,d),xe()}const et=Ge(He),tt=[()=>M(()=>import("../nodes/0.BYBfjxZ5.js"),__vite__mapDeps([0,1,2,3]),import.meta.url),()=>M(()=>import("../nodes/1.
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.BYBfjxZ5.js","../chunks/rqnVXeyB.js","../chunks/2_TffmqH.js","../chunks/3DOfIKW0.js","../nodes/1.CF6ZG8Dn.js","../chunks/CMkIcmi1.js","../chunks/Cg977kri.js","../chunks/B2EkC-sy.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{ag as R,ah as G,G as h,ai as ie,a2 as oe,aj as ce,h as T,A as V,f as z,E as F,ak as H,Z,C as W,a8 as I,e as J,a5 as ue,i as fe,al as le,H as de,j as K,w as Q,am as _e,an as X,ao as ve,ap as he,aq as me,ar as ge,as as ye,at as be,au as Ee,av as Pe,aw as q,ax as we,ay as Se,k as Re,az as Oe,u as Ae,aA as Te,g as O,q as Ie,l as xe,aB as L,n as Le,o as je,t as ke,aC as j}from"../chunks/2_TffmqH.js";import{h as Ce,m as De,u as Ne,s as Be}from"../chunks/CMkIcmi1.js";import{a as S,f as $,c as k,t as pe}from"../chunks/rqnVXeyB.js";import{o as Me}from"../chunks/B2EkC-sy.js";import{B as ee}from"../chunks/3DOfIKW0.js";const Ye="modulepreload",qe=function(t,e){return new URL(t,e).href},U={},M=function(e,s,i){let c=Promise.resolve();if(s&&s.length>0){let d=function(o){return Promise.all(o.map(v=>Promise.resolve(v).then(E=>({status:"fulfilled",value:E}),E=>({status:"rejected",reason:E}))))};const a=document.getElementsByTagName("link"),n=document.querySelector("meta[property=csp-nonce]"),u=n?.nonce||n?.getAttribute("nonce");c=d(s.map(o=>{if(o=qe(o,i),o in U)return;U[o]=!0;const v=o.endsWith(".css"),E=v?'[rel="stylesheet"]':"";if(i)for(let y=a.length-1;y>=0;y--){const f=a[y];if(f.href===o&&(!v||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${o}"]${E}`))return;const _=document.createElement("link");if(_.rel=v?"stylesheet":Ye,v||(_.as="script"),_.crossOrigin="",_.href=o,u&&_.setAttribute("nonce",u),document.head.appendChild(_),v)return new Promise((y,f)=>{_.addEventListener("load",y),_.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${o}`)))})}))}function r(a){const n=new Event("vite:preloadError",{cancelable:!0});if(n.payload=a,window.dispatchEvent(n),!n.defaultPrevented)throw a}return c.then(a=>{for(const n of a||[])n.status==="rejected"&&r(n.reason);return e().catch(r)})},$e={};let A=!1;function Ue(t){var e=A;try{return A=!1,[t(),A]}finally{A=e}}function Ge(t){return class extends Ve{constructor(e){super({component:t,...e})}}}class Ve{#t;#e;constructor(e){var s=new Map,i=(r,a)=>{var n=ce(a,!1,!1);return s.set(r,n),n};const c=new Proxy({...e.props||{},$$events:{}},{get(r,a){return h(s.get(a)??i(a,Reflect.get(r,a)))},has(r,a){return a===G?!0:(h(s.get(a)??i(a,Reflect.get(r,a))),Reflect.has(r,a))},set(r,a,n){return R(s.get(a)??i(a,n),n),Reflect.set(r,a,n)}});this.#e=(e.hydrate?Ce:De)(e.component,{target:e.target,anchor:e.anchor,props:c,context:e.context,intro:e.intro??!1,recover:e.recover,transformError:e.transformError}),(!e?.props?.$$host||e.sync===!1)&&ie(),this.#t=c.$$events;for(const r of Object.keys(this.#e))r==="$set"||r==="$destroy"||r==="$on"||oe(this,r,{get(){return this.#e[r]},set(a){this.#e[r]=a},enumerable:!0});this.#e.$set=r=>{Object.assign(c,r)},this.#e.$destroy=()=>{Ne(this.#e)}}$set(e){this.#e.$set(e)}$on(e,s){this.#t[e]=this.#t[e]||[];const i=(...c)=>s.call(this,...c);return this.#t[e].push(i),()=>{this.#t[e]=this.#t[e].filter(c=>c!==i)}}$destroy(){this.#e.$destroy()}}function C(t,e,s=!1){var i;T&&(i=J,V());var c=new ee(t),r=s?F:0;function a(n,u){if(T){var d=H(i);if(n!==parseInt(d.substring(1))){var o=Z();W(o),c.anchor=o,I(!1),c.ensure(n,u),I(!0);return}}c.ensure(n,u)}z(()=>{var n=!1;e((u,d=0)=>{n=!0,a(d,u)}),n||a(-1,null)},r)}function D(t,e,s){var i;T&&(i=J,V());var c=new ee(t);z(()=>{var r=e()??null;if(T){var a=H(i),n=a===ue,u=r!==null;if(n!==u){var d=Z();W(d),c.anchor=d,I(!1),c.ensure(r,r&&(o=>s(o,r))),I(!0);return}}c.ensure(r,r&&(o=>s(o,r)))},F)}function N(t,e){return t===e||t?.[X]===e}function B(t={},e,s,i){var c=fe.r,r=Q;return le(()=>{var a,n;return de(()=>{a=n,n=[],K(()=>{N(s(...n),t)||(e(t,...n),a&&N(s(...a),t)&&e(null,...a))})}),()=>{let u=r;for(;u!==c&&u.parent!==null&&u.parent.f&_e;)u=u.parent;const d=()=>{n&&N(s(...n),t)&&e(null,...n)},o=u.teardown;u.teardown=()=>{d(),o?.()}}}),t}function p(t,e,s,i){var c=!0,r=(s&Ee)!==0,a=(s&Se)!==0,n=i,u=!0,d=void 0,o=()=>a&&c?(d??=q(i),h(d)):(u&&(u=!1,n=a?K(i):i),n);let v;if(r){var E=X in t||G in t;v=ve(t,e)?.set??(E&&e in t?l=>t[e]=l:void 0)}var _,y=!1;r?[_,y]=Ue(()=>t[e]):_=t[e],_===void 0&&i!==void 0&&(_=o(),v&&(he(),v(_)));var f;if(f=()=>{var l=t[e];return l===void 0?o():(u=!0,l)},(s&me)===0)return f;if(v){var P=t.$$legacy;return(function(l,b){return arguments.length>0?((!b||P||y)&&v(b?f():l),l):f()})}var m=!1,g=((s&Pe)!==0?q:we)(()=>(m=!1,f()));r&&h(g);var w=Q;return(function(l,b){if(arguments.length>0){const x=b?h(g):r?ge(l):l;return R(g,x),m=!0,n!==void 0&&(n=x),l}return ye&&m||(w.f&be)!==0?g.v:h(g)})}var ze=$('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),Fe=$("<!> <!>",1);function He(t,e){Re(e,!0);let s=p(e,"components",23,()=>[]),i=p(e,"data_0",3,null),c=p(e,"data_1",3,null);Oe(()=>e.stores.page.set(e.page)),Ae(()=>{e.stores,e.page,e.constructors,s(),e.form,i(),c(),e.stores.page.notify()});let r=L(!1),a=L(!1),n=L(null);Me(()=>{const f=e.stores.page.subscribe(()=>{h(r)&&(R(a,!0),Te().then(()=>{R(n,document.title||"untitled page",!0)}))});return R(r,!0),f});const u=j(()=>e.constructors[1]);var d=Fe(),o=O(d);{var v=f=>{const P=j(()=>e.constructors[0]);var m=k(),g=O(m);D(g,()=>h(P),(w,l)=>{B(l(w,{get data(){return i()},get form(){return e.form},get params(){return e.page.params},children:(b,x)=>{var Y=k(),re=O(Y);D(re,()=>h(u),(ae,ne)=>{B(ne(ae,{get data(){return c()},get form(){return e.form},get params(){return e.page.params}}),se=>s()[1]=se,()=>s()?.[1])}),S(b,Y)},$$slots:{default:!0}}),b=>s()[0]=b,()=>s()?.[0])}),S(f,m)},E=f=>{const P=j(()=>e.constructors[0]);var m=k(),g=O(m);D(g,()=>h(P),(w,l)=>{B(l(w,{get data(){return i()},get form(){return e.form},get params(){return e.page.params}}),b=>s()[0]=b,()=>s()?.[0])}),S(f,m)};C(o,f=>{e.constructors[1]?f(v):f(E,-1)})}var _=Ie(o,2);{var y=f=>{var P=ze(),m=Le(P);{var g=w=>{var l=pe();ke(()=>Be(l,h(n))),S(w,l)};C(m,w=>{h(a)&&w(g)})}je(P),S(f,P)};C(_,f=>{h(r)&&f(y)})}S(t,d),xe()}const et=Ge(He),tt=[()=>M(()=>import("../nodes/0.BYBfjxZ5.js"),__vite__mapDeps([0,1,2,3]),import.meta.url),()=>M(()=>import("../nodes/1.CF6ZG8Dn.js"),__vite__mapDeps([4,1,2,5,6,7]),import.meta.url)],rt=[],at={},te={handleError:(({error:t})=>{console.error(t)}),reroute:(()=>{}),transport:{}},Ze=Object.fromEntries(Object.entries(te.transport).map(([t,e])=>[t,e.decode])),nt=Object.fromEntries(Object.entries(te.transport).map(([t,e])=>[t,e.encode])),st=!1,it=(t,e)=>Ze[t](e),ot=()=>M(()=>import("../chunks/wbPk3Yxo.js"),[],import.meta.url).then(t=>t.default);export{it as decode,Ze as decoders,at as dictionary,nt as encoders,ot as get_error_template,st as hash,te as hooks,$e as matchers,tt as nodes,et as root,rt as server_loads};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as o,a as r}from"../chunks/Cg977kri.js";export{o as load_css,r as start};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as i,f as g}from"../chunks/rqnVXeyB.js";import{k as h,g as l,t as v,l as d,n as s,o as a,q as _}from"../chunks/2_TffmqH.js";import{s as o}from"../chunks/CMkIcmi1.js";import{s as x,p}from"../chunks/
|
|
1
|
+
import{a as i,f as g}from"../chunks/rqnVXeyB.js";import{k as h,g as l,t as v,l as d,n as s,o as a,q as _}from"../chunks/2_TffmqH.js";import{s as o}from"../chunks/CMkIcmi1.js";import{s as x,p}from"../chunks/Cg977kri.js";const k={get error(){return p.error},get status(){return p.status}};x.updated.check;const m=k;var $=g("<h1> </h1> <p> </p>",1);function w(n,c){h(c,!0);var t=$(),r=l(t),f=s(r,!0);a(r);var e=_(r,2),u=s(e,!0);a(e),v(()=>{o(f,m.status),o(u,m.error?.message)}),i(n,t),d()}export{w as component};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"1786135461954"}
|
package/build/handler.js
CHANGED
|
@@ -2,9 +2,9 @@ import './shims.js';
|
|
|
2
2
|
import 'node:fs';
|
|
3
3
|
import 'node:path';
|
|
4
4
|
import 'node:process';
|
|
5
|
-
export { h as handler } from './server/chunks/handler-
|
|
6
|
-
import './server/chunks/index.js-
|
|
7
|
-
import './server/chunks/manifest.js-
|
|
5
|
+
export { h as handler } from './server/chunks/handler-BZ5ltf7o.js';
|
|
6
|
+
import './server/chunks/index.js-MkgEUF7Y.js';
|
|
7
|
+
import './server/chunks/manifest.js-C0XFtPpj.js';
|
|
8
8
|
import './env.js';
|
|
9
9
|
import 'node:buffer';
|
|
10
10
|
import 'node:crypto';
|
package/build/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import http from 'node:http';
|
|
2
2
|
import fs__default from 'node:fs';
|
|
3
3
|
import process from 'node:process';
|
|
4
|
-
import { p as polka, h as handler, f as format_listening_address } from './server/chunks/handler-
|
|
4
|
+
import { p as polka, h as handler, f as format_listening_address } from './server/chunks/handler-BZ5ltf7o.js';
|
|
5
5
|
import { env, timeout_env } from './env.js';
|
|
6
6
|
import { rm } from 'node:fs/promises';
|
|
7
7
|
import './shims.js';
|
|
@@ -11,8 +11,8 @@ import 'node:path';
|
|
|
11
11
|
import 'node:timers';
|
|
12
12
|
import 'node:querystring';
|
|
13
13
|
import 'node:stream';
|
|
14
|
-
import './server/chunks/index.js-
|
|
15
|
-
import './server/chunks/manifest.js-
|
|
14
|
+
import './server/chunks/index.js-MkgEUF7Y.js';
|
|
15
|
+
import './server/chunks/manifest.js-C0XFtPpj.js';
|
|
16
16
|
import 'node:url';
|
|
17
17
|
|
|
18
18
|
const path = env('SOCKET_PATH', false);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const index = 1;
|
|
2
2
|
let component_cache;
|
|
3
|
-
const component = async () => component_cache ??= (await import('./error.svelte-
|
|
4
|
-
const imports = ["_app/immutable/nodes/1.
|
|
3
|
+
const component = async () => component_cache ??= (await import('./error.svelte-tRJxGIZT.js')).default;
|
|
4
|
+
const imports = ["_app/immutable/nodes/1.CF6ZG8Dn.js","_app/immutable/chunks/rqnVXeyB.js","_app/immutable/chunks/2_TffmqH.js","_app/immutable/chunks/CMkIcmi1.js","_app/immutable/chunks/Cg977kri.js","_app/immutable/chunks/B2EkC-sy.js"];
|
|
5
5
|
const stylesheets = [];
|
|
6
6
|
const fonts = [];
|
|
7
7
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as json } from './index.js-
|
|
1
|
+
import { j as json } from './index.js-MkgEUF7Y.js';
|
|
2
2
|
import { a as getAgentToolDetailDocument } from './discovery-DL0RzVks.js';
|
|
3
3
|
import { r as resolveRequestBaseUrl } from './request-base-url-zKJpVUv5.js';
|
|
4
4
|
import './agent-gateway-runtime-DV-xLmJx.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as json } from './index.js-
|
|
1
|
+
import { j as json } from './index.js-MkgEUF7Y.js';
|
|
2
2
|
import { g as getAgentDiscoveryDocument } from './discovery-DL0RzVks.js';
|
|
3
3
|
import { r as resolveRequestBaseUrl } from './request-base-url-zKJpVUv5.js';
|
|
4
4
|
import './agent-gateway-runtime-DV-xLmJx.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as json } from './index.js-
|
|
1
|
+
import { j as json } from './index.js-MkgEUF7Y.js';
|
|
2
2
|
import { HostGatewayError, parseStrictInvokeEnvelope } from '@aopslabs/host-gateway';
|
|
3
3
|
import { i as invokeKernelAgentTool } from './agent-gateway-runtime-DV-xLmJx.js';
|
|
4
4
|
import { n as normalizePluginFailure, t as toSafePluginFailureLogDetails, i as inferFailureStatusFromPayload, c as classifyInvokeFailureMessage } from './plugin-error-normalize-DNeRsopQ.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as json } from './index.js-
|
|
1
|
+
import { j as json } from './index.js-MkgEUF7Y.js';
|
|
2
2
|
import { t as testRuntimeConfigAdminTarget, g as getResolvedAopsServerRuntimeConfig } from './aops-runtime-config-CHpDUCdE.js';
|
|
3
3
|
import { o as okResult } from './xf-result-BRDjvftr.js';
|
|
4
4
|
import 'node:fs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as json } from './index.js-
|
|
1
|
+
import { j as json } from './index.js-MkgEUF7Y.js';
|
|
2
2
|
import { b as getAgentGatewayDiagnostics } from './agent-gateway-runtime-DV-xLmJx.js';
|
|
3
3
|
import { g as getHostConfig, a as getKernelRuntimeSnapshot, b as getHostRegistrationDiagnostics, c as getHostPluginRegistryDiagnostics, d as getHostAdmissionDiagnostics, r as resolveCommunityPackageModule } from './registry-DIreA2IZ.js';
|
|
4
4
|
import { r as readRuntimeConfigAdmin } from './aops-runtime-config-CHpDUCdE.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as json } from './index.js-
|
|
1
|
+
import { j as json } from './index.js-MkgEUF7Y.js';
|
|
2
2
|
import { t as testRuntimeConfigAdminTarget } from './aops-runtime-config-CHpDUCdE.js';
|
|
3
3
|
import { o as okResult, e as errResult } from './xf-result-BRDjvftr.js';
|
|
4
4
|
import 'node:fs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as json } from './index.js-
|
|
1
|
+
import { j as json } from './index.js-MkgEUF7Y.js';
|
|
2
2
|
import { g as getAgentGateway } from './agent-gateway-runtime-DV-xLmJx.js';
|
|
3
3
|
import { r as resolveRequestBaseUrl } from './request-base-url-zKJpVUv5.js';
|
|
4
4
|
import { g as getAuthProvider, i as isTrustedLocalAuthProvider } from './auth-provider-C07OUlnz.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as json } from './index.js-
|
|
1
|
+
import { j as json } from './index.js-MkgEUF7Y.js';
|
|
2
2
|
import { g as getAgentDiscoveryDocument } from './discovery-DL0RzVks.js';
|
|
3
3
|
import { r as resolveRequestBaseUrl } from './request-base-url-zKJpVUv5.js';
|
|
4
4
|
import './agent-gateway-runtime-DV-xLmJx.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as json } from './index.js-
|
|
1
|
+
import { j as json } from './index.js-MkgEUF7Y.js';
|
|
2
2
|
import { Effect } from 'effect';
|
|
3
3
|
import { normalizeProjectmanFlowAction, createProjectmanBoardFlow, applyProjectmanTemplateFlow, createProjectmanTemplateFlow, updateProjectmanTemplateFlow, deleteProjectmanTemplateFlow, createProjectmanBoardColumnFlow, createProjectmanTaskFlow, updateProjectmanTaskFlow, moveProjectmanTaskFlow, repositionProjectmanTaskFlow, createProjectmanSprintFlow, updateProjectmanSprintPlanFlow, createProjectmanSprintMicrotaskFlow, updateProjectmanSprintMicrotaskStatusFlow, createProjectmanIssueFlow, updateProjectmanIssueFlow, createProjectmanFeedbackFlow, updateProjectmanFeedbackFlow, convertProjectmanFeedbackToIssueFlow, convertProjectmanFeedbackToTaskFlow, inferProjectmanFlowErrorStatus } from '@aopslabs/domain-product-projectman';
|
|
4
4
|
import './aops-runtime-config-CHpDUCdE.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as json } from './index.js-
|
|
1
|
+
import { j as json } from './index.js-MkgEUF7Y.js';
|
|
2
2
|
import { g as getAgentGateway } from './agent-gateway-runtime-DV-xLmJx.js';
|
|
3
3
|
import { r as resolveRequestBaseUrl } from './request-base-url-zKJpVUv5.js';
|
|
4
4
|
import { g as getAuthProvider, i as isTrustedLocalAuthProvider } from './auth-provider-C07OUlnz.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as json } from './index.js-
|
|
1
|
+
import { j as json } from './index.js-MkgEUF7Y.js';
|
|
2
2
|
import { r as readRuntimeConfigAdmin, g as getResolvedAopsServerRuntimeConfig } from './aops-runtime-config-CHpDUCdE.js';
|
|
3
3
|
import { g as getAuthProvider } from './auth-provider-C07OUlnz.js';
|
|
4
4
|
import { o as okResult } from './xf-result-BRDjvftr.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as json } from './index.js-
|
|
1
|
+
import { j as json } from './index.js-MkgEUF7Y.js';
|
|
2
2
|
import { Effect } from 'effect';
|
|
3
3
|
import { normalizeDocmanFlowAction, saveDocmanGroupFlow, saveDocmanDocumentFlow, saveDocmanSectionFlow, copyDocmanSectionFlow, createLinkedDocmanSection, linkExistingDocmanSection, linkExistingDocmanPageVersion, updateDocmanDocumentSectionLinksFlow, updateDocmanSectionPageLinksFlow, saveDocmanPageVersionDraftFlow, updateDocmanDocumentVersionFlow, updateDocmanPageFlow, copyDocmanPageFlow, createDocmanDocumentVersionFlow, createDocmanPageWithInitialVersionFlow, createLinkedDocmanPage, inferDocmanFlowErrorStatus } from '@aopslabs/domain-product-docman';
|
|
4
4
|
import { a as attachResolvedProjectScope, b as resolveProjectScopeFromLocals } from './request-context-9wzBoKrz.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as json } from './index.js-
|
|
1
|
+
import { j as json } from './index.js-MkgEUF7Y.js';
|
|
2
2
|
import { g as getAgentGateway } from './agent-gateway-runtime-DV-xLmJx.js';
|
|
3
3
|
import { b as buildAgentDiscoveryDocument } from './discovery-DL0RzVks.js';
|
|
4
4
|
import { g as getHostConfig } from './registry-DIreA2IZ.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createSvelteKitPluginHandler } from '@aopslabs/host-adapter-sveltekit';
|
|
2
2
|
import { checkDomainAdmission } from '@aopslabs/host-admission';
|
|
3
|
-
import { j as json } from './index.js-
|
|
3
|
+
import { j as json } from './index.js-MkgEUF7Y.js';
|
|
4
4
|
import { a as getKernelRuntimeSnapshot, e as getHostPluginRegistry } from './registry-DIreA2IZ.js';
|
|
5
5
|
import { a as toSafeDiagnosticLabel, n as normalizePluginFailure, t as toSafePluginFailureLogDetails, i as inferFailureStatusFromPayload } from './plugin-error-normalize-DNeRsopQ.js';
|
|
6
6
|
import { a as attachResolvedProjectScope, r as resolveHostRequestContext } from './request-context-9wzBoKrz.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as escape_html, g as getContext, n as noop, w as writable } from './index.js-
|
|
1
|
+
import { e as escape_html, g as getContext, n as noop, w as writable } from './index.js-MkgEUF7Y.js';
|
|
2
2
|
|
|
3
3
|
function create_updated_store() {
|
|
4
4
|
const { set, subscribe } = writable(false);
|
|
@@ -7,8 +7,8 @@ import http from 'node:http';
|
|
|
7
7
|
import { setImmediate } from 'node:timers';
|
|
8
8
|
import * as qs from 'node:querystring';
|
|
9
9
|
import { Readable } from 'node:stream';
|
|
10
|
-
import { S as SvelteKitError, a as Server } from './index.js-
|
|
11
|
-
import { m as manifest } from './manifest.js-
|
|
10
|
+
import { S as SvelteKitError, a as Server } from './index.js-MkgEUF7Y.js';
|
|
11
|
+
import { m as manifest } from './manifest.js-C0XFtPpj.js';
|
|
12
12
|
import { env, dir, env_prefix } from '../../env.js';
|
|
13
13
|
import { format } from 'node:url';
|
|
14
14
|
|
|
@@ -6575,7 +6575,7 @@ const options = {
|
|
|
6575
6575
|
app: ({ head, body, assets, nonce, env }) => '<!doctype html>\n<html lang="en">\n <head>\n <meta charset="utf-8" />\n <link rel="icon" href="' + assets + '/favicon.png" />\n <meta name="viewport" content="width=device-width, initial-scale=1" />\n ' + head + '\n </head>\n <body data-sveltekit-preload-data="hover">\n <div style="display: contents">' + body + "</div>\n </body>\n</html>\n",
|
|
6576
6576
|
error
|
|
6577
6577
|
},
|
|
6578
|
-
version_hash: "
|
|
6578
|
+
version_hash: "1ag71e9"
|
|
6579
6579
|
};
|
|
6580
6580
|
async function get_hooks() {
|
|
6581
6581
|
let handle;
|
|
@@ -6583,7 +6583,7 @@ async function get_hooks() {
|
|
|
6583
6583
|
let handleError;
|
|
6584
6584
|
let handleValidationError;
|
|
6585
6585
|
let init;
|
|
6586
|
-
({ handle, handleFetch, handleError, handleValidationError, init } = await import('./hooks.server-
|
|
6586
|
+
({ handle, handleFetch, handleError, handleValidationError, init } = await import('./hooks.server-Cc0zkmln.js'));
|
|
6587
6587
|
let reroute;
|
|
6588
6588
|
let transport;
|
|
6589
6589
|
return {
|
|
@@ -10,10 +10,10 @@ return {
|
|
|
10
10
|
assets: new Set([]),
|
|
11
11
|
mimeTypes: {},
|
|
12
12
|
_: {
|
|
13
|
-
client: {start:"_app/immutable/entry/start.
|
|
13
|
+
client: {start:"_app/immutable/entry/start.jIQB8Lha.js",app:"_app/immutable/entry/app.BAZgjLCT.js",imports:["_app/immutable/entry/start.jIQB8Lha.js","_app/immutable/chunks/Cg977kri.js","_app/immutable/chunks/2_TffmqH.js","_app/immutable/chunks/B2EkC-sy.js","_app/immutable/entry/app.BAZgjLCT.js","_app/immutable/chunks/2_TffmqH.js","_app/immutable/chunks/CMkIcmi1.js","_app/immutable/chunks/rqnVXeyB.js","_app/immutable/chunks/B2EkC-sy.js","_app/immutable/chunks/3DOfIKW0.js"],stylesheets:[],fonts:[],uses_env_dynamic_public:false},
|
|
14
14
|
nodes: [
|
|
15
15
|
__memo(() => import('./0-RfB6m2nq.js')),
|
|
16
|
-
__memo(() => import('./1-
|
|
16
|
+
__memo(() => import('./1-DsHhV0Kk.js'))
|
|
17
17
|
],
|
|
18
18
|
remotes: {
|
|
19
19
|
|
|
@@ -31,7 +31,7 @@ return {
|
|
|
31
31
|
pattern: /^\/api-info\.json\/?$/,
|
|
32
32
|
params: [],
|
|
33
33
|
page: null,
|
|
34
|
-
endpoint: __memo(() => import('./_server.ts-
|
|
34
|
+
endpoint: __memo(() => import('./_server.ts-DbCeIC54.js'))
|
|
35
35
|
},
|
|
36
36
|
{
|
|
37
37
|
id: "/api-info",
|
|
@@ -45,70 +45,70 @@ return {
|
|
|
45
45
|
pattern: /^\/api\/?$/,
|
|
46
46
|
params: [],
|
|
47
47
|
page: null,
|
|
48
|
-
endpoint: __memo(() => import('./_server.ts-
|
|
48
|
+
endpoint: __memo(() => import('./_server.ts-DIosc4Tu.js'))
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
51
|
id: "/api/agent/discovery.json",
|
|
52
52
|
pattern: /^\/api\/agent\/discovery\.json\/?$/,
|
|
53
53
|
params: [],
|
|
54
54
|
page: null,
|
|
55
|
-
endpoint: __memo(() => import('./_server.ts-
|
|
55
|
+
endpoint: __memo(() => import('./_server.ts-C4yBPwQw.js'))
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
id: "/api/agent/openapi.json",
|
|
59
59
|
pattern: /^\/api\/agent\/openapi\.json\/?$/,
|
|
60
60
|
params: [],
|
|
61
61
|
page: null,
|
|
62
|
-
endpoint: __memo(() => import('./_server.ts-
|
|
62
|
+
endpoint: __memo(() => import('./_server.ts-DRWZdWT_.js'))
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
id: "/api/agent/tools",
|
|
66
66
|
pattern: /^\/api\/agent\/tools\/?$/,
|
|
67
67
|
params: [],
|
|
68
68
|
page: null,
|
|
69
|
-
endpoint: __memo(() => import('./_server.ts-
|
|
69
|
+
endpoint: __memo(() => import('./_server.ts-eL2agOSX.js'))
|
|
70
70
|
},
|
|
71
71
|
{
|
|
72
72
|
id: "/api/agent/tools/[toolId]",
|
|
73
73
|
pattern: /^\/api\/agent\/tools\/([^/]+?)\/?$/,
|
|
74
74
|
params: [{"name":"toolId","optional":false,"rest":false,"chained":false}],
|
|
75
75
|
page: null,
|
|
76
|
-
endpoint: __memo(() => import('./_server.ts-
|
|
76
|
+
endpoint: __memo(() => import('./_server.ts-0o-1xU8w.js'))
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
79
|
id: "/api/agent/tools/[toolId]/invoke",
|
|
80
80
|
pattern: /^\/api\/agent\/tools\/([^/]+?)\/invoke\/?$/,
|
|
81
81
|
params: [{"name":"toolId","optional":false,"rest":false,"chained":false}],
|
|
82
82
|
page: null,
|
|
83
|
-
endpoint: __memo(() => import('./_server.ts-
|
|
83
|
+
endpoint: __memo(() => import('./_server.ts-CEIqyDR0.js'))
|
|
84
84
|
},
|
|
85
85
|
{
|
|
86
86
|
id: "/api/aops/docman/flows",
|
|
87
87
|
pattern: /^\/api\/aops\/docman\/flows\/?$/,
|
|
88
88
|
params: [],
|
|
89
89
|
page: null,
|
|
90
|
-
endpoint: __memo(() => import('./_server.ts-
|
|
90
|
+
endpoint: __memo(() => import('./_server.ts-NiWO4Neg.js'))
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
93
|
id: "/api/aops/projectman/flows",
|
|
94
94
|
pattern: /^\/api\/aops\/projectman\/flows\/?$/,
|
|
95
95
|
params: [],
|
|
96
96
|
page: null,
|
|
97
|
-
endpoint: __memo(() => import('./_server.ts-
|
|
97
|
+
endpoint: __memo(() => import('./_server.ts-DoAt8EiX.js'))
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
100
|
id: "/api/aops/settings/database/status",
|
|
101
101
|
pattern: /^\/api\/aops\/settings\/database\/status\/?$/,
|
|
102
102
|
params: [],
|
|
103
103
|
page: null,
|
|
104
|
-
endpoint: __memo(() => import('./_server.ts-
|
|
104
|
+
endpoint: __memo(() => import('./_server.ts-CH1x9o6x.js'))
|
|
105
105
|
},
|
|
106
106
|
{
|
|
107
107
|
id: "/api/auth/me",
|
|
108
108
|
pattern: /^\/api\/auth\/me\/?$/,
|
|
109
109
|
params: [],
|
|
110
110
|
page: null,
|
|
111
|
-
endpoint: __memo(() => import('./_server.ts-
|
|
111
|
+
endpoint: __memo(() => import('./_server.ts-BtV_3LLL.js'))
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
114
|
id: "/api/chatv3/v1/rooms/[roomId]/stream",
|
|
@@ -122,49 +122,49 @@ return {
|
|
|
122
122
|
pattern: /^\/api\/health\/?$/,
|
|
123
123
|
params: [],
|
|
124
124
|
page: null,
|
|
125
|
-
endpoint: __memo(() => import('./_server.ts-
|
|
125
|
+
endpoint: __memo(() => import('./_server.ts-KwxiJM3P.js'))
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
128
|
id: "/api/hello",
|
|
129
129
|
pattern: /^\/api\/hello\/?$/,
|
|
130
130
|
params: [],
|
|
131
131
|
page: null,
|
|
132
|
-
endpoint: __memo(() => import('./_server.ts-
|
|
132
|
+
endpoint: __memo(() => import('./_server.ts-DsbQLcGn.js'))
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
135
|
id: "/api/host-admin/plugins",
|
|
136
136
|
pattern: /^\/api\/host-admin\/plugins\/?$/,
|
|
137
137
|
params: [],
|
|
138
138
|
page: null,
|
|
139
|
-
endpoint: __memo(() => import('./_server.ts-
|
|
139
|
+
endpoint: __memo(() => import('./_server.ts-CezuqKIn.js'))
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
id: "/api/host-admin/runtime-config",
|
|
143
143
|
pattern: /^\/api\/host-admin\/runtime-config\/?$/,
|
|
144
144
|
params: [],
|
|
145
145
|
page: null,
|
|
146
|
-
endpoint: __memo(() => import('./_server.ts-
|
|
146
|
+
endpoint: __memo(() => import('./_server.ts-B8OgGkpA.js'))
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
149
|
id: "/api/host-admin/runtime-config/test",
|
|
150
150
|
pattern: /^\/api\/host-admin\/runtime-config\/test\/?$/,
|
|
151
151
|
params: [],
|
|
152
152
|
page: null,
|
|
153
|
-
endpoint: __memo(() => import('./_server.ts-
|
|
153
|
+
endpoint: __memo(() => import('./_server.ts-Cjl_2C-5.js'))
|
|
154
154
|
},
|
|
155
155
|
{
|
|
156
156
|
id: "/api/[domain]/[...path]",
|
|
157
157
|
pattern: /^\/api\/([^/]+?)(?:\/([^]*))?\/?$/,
|
|
158
158
|
params: [{"name":"domain","optional":false,"rest":false,"chained":false},{"name":"path","optional":false,"rest":true,"chained":true}],
|
|
159
159
|
page: null,
|
|
160
|
-
endpoint: __memo(() => import('./_server.ts-
|
|
160
|
+
endpoint: __memo(() => import('./_server.ts-qirl4upz.js'))
|
|
161
161
|
},
|
|
162
162
|
{
|
|
163
163
|
id: "/openapi.json",
|
|
164
164
|
pattern: /^\/openapi\.json\/?$/,
|
|
165
165
|
params: [],
|
|
166
166
|
page: null,
|
|
167
|
-
endpoint: __memo(() => import('./_server.ts-
|
|
167
|
+
endpoint: __memo(() => import('./_server.ts-Du2m0Qmv.js'))
|
|
168
168
|
}
|
|
169
169
|
],
|
|
170
170
|
prerendered_routes: new Set([]),
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aopslab/aops-server-runtime-closure",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@aopslab/aops-server-runtime-closure",
|
|
9
|
-
"version": "0.2.
|
|
9
|
+
"version": "0.2.6",
|
|
10
10
|
"license": "UNLICENSED",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@aopslabs/aops-error-catalog": "0.2.0",
|
|
@@ -2492,9 +2492,9 @@
|
|
|
2492
2492
|
"license": "MIT"
|
|
2493
2493
|
},
|
|
2494
2494
|
"node_modules/fast-uri": {
|
|
2495
|
-
"version": "3.1.
|
|
2496
|
-
"resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.
|
|
2497
|
-
"integrity": "sha512-
|
|
2495
|
+
"version": "3.1.5",
|
|
2496
|
+
"resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.5.tgz",
|
|
2497
|
+
"integrity": "sha512-gHwA1O9LDIcKunMKhObS/HimwtehO1nPUECKAu5TpKgaO19fcWEl4bliWe1jWxVFvIXztJjjQ4L8XQ1EU9f7Jw==",
|
|
2498
2498
|
"funding": [
|
|
2499
2499
|
{
|
|
2500
2500
|
"type": "github",
|
|
@@ -3791,9 +3791,9 @@
|
|
|
3791
3791
|
"license": "MIT"
|
|
3792
3792
|
},
|
|
3793
3793
|
"node_modules/nanoid": {
|
|
3794
|
-
"version": "3.3.
|
|
3795
|
-
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.
|
|
3796
|
-
"integrity": "sha512-
|
|
3794
|
+
"version": "3.3.17",
|
|
3795
|
+
"resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.17.tgz",
|
|
3796
|
+
"integrity": "sha512-xQLf0A3HOMlgHq0n247/LRuAOYmB7dXJ/DvAxGvsSBij45XtBSmQycu+F8ODbHwns/XyFZagyL1+J0Offw1E0g==",
|
|
3797
3797
|
"funding": [
|
|
3798
3798
|
{
|
|
3799
3799
|
"type": "github",
|
|
@@ -4076,9 +4076,9 @@
|
|
|
4076
4076
|
"license": "MIT"
|
|
4077
4077
|
},
|
|
4078
4078
|
"node_modules/postcss": {
|
|
4079
|
-
"version": "8.5.
|
|
4080
|
-
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.
|
|
4081
|
-
"integrity": "sha512-
|
|
4079
|
+
"version": "8.5.26",
|
|
4080
|
+
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.26.tgz",
|
|
4081
|
+
"integrity": "sha512-u82N74LFzG8ca+dD8puPnplTXoGH4fTPpVGuIbt36G3qvNlkvfD0lEAZSxaly3KX8TS/L1A1gsCEmvKmBcVbkQ==",
|
|
4082
4082
|
"funding": [
|
|
4083
4083
|
{
|
|
4084
4084
|
"type": "opencollective",
|
|
@@ -4096,7 +4096,7 @@
|
|
|
4096
4096
|
"license": "MIT",
|
|
4097
4097
|
"peer": true,
|
|
4098
4098
|
"dependencies": {
|
|
4099
|
-
"nanoid": "^3.3.
|
|
4099
|
+
"nanoid": "^3.3.17",
|
|
4100
4100
|
"picocolors": "^1.1.1",
|
|
4101
4101
|
"source-map-js": "^1.2.1"
|
|
4102
4102
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aopslab/aops-server-runtime-closure",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -222,7 +222,7 @@
|
|
|
222
222
|
"fast-copy": "4.0.4",
|
|
223
223
|
"fast-deep-equal": "3.1.3",
|
|
224
224
|
"fast-safe-stringify": "2.1.1",
|
|
225
|
-
"fast-uri": "3.1.
|
|
225
|
+
"fast-uri": "3.1.5",
|
|
226
226
|
"fdir": "6.5.0",
|
|
227
227
|
"file-uri-to-path": "1.0.0",
|
|
228
228
|
"fs-constants": "1.0.0",
|
|
@@ -306,7 +306,7 @@
|
|
|
306
306
|
"mquery": "5.0.0",
|
|
307
307
|
"mrmime": "2.0.1",
|
|
308
308
|
"ms": "2.1.3",
|
|
309
|
-
"nanoid": "3.3.
|
|
309
|
+
"nanoid": "3.3.17",
|
|
310
310
|
"napi-build-utils": "2.0.0",
|
|
311
311
|
"node-abi": "3.94.0",
|
|
312
312
|
"obug": "2.1.3",
|
|
@@ -328,7 +328,7 @@
|
|
|
328
328
|
"pino-loki": "3.0.0",
|
|
329
329
|
"pino-pretty": "13.1.3",
|
|
330
330
|
"pino-std-serializers": "7.1.0",
|
|
331
|
-
"postcss": "8.5.
|
|
331
|
+
"postcss": "8.5.26",
|
|
332
332
|
"postgres-array": "2.0.0",
|
|
333
333
|
"postgres-bytea": "1.0.1",
|
|
334
334
|
"postgres-date": "1.0.7",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{aD as ve,aE as bt,aA as oe,aF as kt,aB as A,G as U,ag as T}from"./2_TffmqH.js";import{o as Fe}from"./B2EkC-sy.js";const V=[];function Ae(e,t=ve){let n=null;const r=new Set;function a(o){if(bt(e,o)&&(e=o,n)){const c=!V.length;for(const l of r)l[1](),V.push(l,e);if(c){for(let l=0;l<V.length;l+=2)V[l][0](V[l+1]);V.length=0}}}function i(o){a(o(e))}function s(o,c=ve){const l=[o,c];return r.add(l),r.size===1&&(n=t(a,i)||ve),o(e),()=>{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:i,subscribe:s}}const Et="1786125453522",L=globalThis.__sveltekit_cmtin0?.base??"",St=globalThis.__sveltekit_cmtin0?.assets??L??"";new URL("sveltekit-internal://");function Rt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function xt(e){return e.split("%25").map(decodeURI).join("%25")}function Lt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function ye({href:e}){return e.split("#")[0]}const At=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/,Ut=/^\/\((?:[^)]+)\)$/;function Tt(e){const t=[];return{pattern:e==="/"||Ut.test(e)?/^\/$/:new RegExp(`^${Pt(e).map(r=>{const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const i=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(i)return t.push({name:i[1],matcher:i[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const s=r.split(/\[(.+?)\](?!\])/);return"/"+s.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return be(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return be(String.fromCharCode(...c.slice(2).split("-").map(g=>parseInt(g,16))));const u=At.exec(c),[,p,w,d,f]=u;return t.push({name:d,matcher:f,optional:!!p,rest:!!w,chained:w?l===1&&s[0]==="":!1}),w?"([^]*?)":p?"([^/]*)?":"([^/]+?)"}return be(c)}).join("")}).join("")}/?$`),params:t}}function It(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function Pt(e){return e.slice(1).split("/").filter(It)}function Ot(e,t,n){const r={},a=e.slice(1),i=a.filter(o=>o!==void 0);let s=0;for(let o=0;o<t.length;o+=1){const c=t[o];let l=a[o-s];if(c.chained&&c.rest&&s&&(l=a.slice(o-s,o+1).filter(u=>u).join("/"),s=0),l===void 0)if(c.rest)l="";else continue;if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const u=t[o+1],p=a[o+1];u&&!u.rest&&u.optional&&p&&c.chained&&(s=0),!u&&!p&&Object.keys(r).length===i.length&&(s=0);continue}if(c.optional&&c.chained){s++;continue}return}if(!s)return r}function be(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}class Ue{constructor(t,n){this.status=t,typeof n=="string"?this.body={message:n}:n?this.body=n:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class Te{constructor(t,n){try{new Headers({location:n})}catch{throw new Error(`Invalid redirect location ${JSON.stringify(n)}: this string contains characters that cannot be used in HTTP headers`)}this.status=t,this.location=n}}class Ie extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}function C(){}function $t(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let a=r.length;for(;a;)t=t*33^r[--a]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;function Ct(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}const Nt=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&Y.delete(Pe(e)),Nt(e,t));const Y=new Map;function jt(e,t){const n=Pe(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:a,...i}=JSON.parse(r.textContent);r.getAttribute("data-b64")!==null&&(a=Ct(a));const o=r.getAttribute("data-ttl");return o&&Y.set(n,{body:a,init:i,ttl:1e3*Number(o)}),Promise.resolve(new Response(a,i))}return window.fetch(e,t)}function qt(e,t,n){if(Y.size>0){const r=Pe(e,n),a=Y.get(r);if(a){if(performance.now()<a.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(a.body,a.init);Y.delete(r)}}return window.fetch(t,n)}function Pe(e,t){let r=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const a=[];t.headers&&a.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&a.push(t.body),r+=`[data-hash="${$t(...a)}"]`}return r}function Dt({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([o,[c,l,u]])=>{const{pattern:p,params:w}=Tt(o),d={id:o,exec:f=>{const g=p.exec(f);if(g)return Ot(g,w,r)},errors:[1,...u||[]].map(f=>e[f]),layouts:[0,...l||[]].map(s),leaf:i(c)};return d.errors.length=d.layouts.length=Math.max(d.errors.length,d.layouts.length),d});function i(o){const c=o<0;return c&&(o=~o),[c,e[o]]}function s(o){return o===void 0?o:[a.has(o),e[o]]}}function Qe(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Ke(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const Ze="sveltekit:snapshot",et="sveltekit:scroll",tt="sveltekit:states",Vt="sveltekit:pageurl",F="sveltekit:history",Q="sveltekit:navigation",q={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},nt=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...nt];const Mt=new Set([...nt]);[...Mt];function Bt(e){return e.filter(t=>t!=null)}function re(e,t){return e+"/"+t}function Oe(e){return e instanceof Ue||e instanceof Ie?e.status:500}function Ft(e){return e instanceof Ie?e.text:"Internal Error"}const Kt=new Set(["icon","shortcut icon","apple-touch-icon"]);let W=null;const j=Qe(et)??{},Z=Qe(Ze)??{},N={url:Ye({}),page:Ye({}),navigating:Ae(null),updated:fn()};function $e(e){j[e]=D()}function Gt(e,t){let n=e+1;for(;j[n];)delete j[n],n+=1;for(n=t+1;Z[n];)delete Z[n],n+=1}function ee(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(C)}async function rt(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(L||"/");e&&await e.update()}}let Ce,Se,se,I,Re,v;const ie=[],ce=[];let S=null;function le(){S?.fork?.then(e=>e?.discard()),S=null,B={element:void 0,href:void 0}}const ae=new Map,at=new Set,Ht=new Set,X=new Set;let _={branch:[],error:null,url:null},ot=!1,ue=!1,Ge=!0,te=!1,J=!1,st=!1,Ne=!1,it,y,R,$;const fe=new Set,He=new Map,ze=new Map;async function mn(e,t,n){if(globalThis.__sveltekit_cmtin0.data){const{q:i={},p:s={},l:o={},f:c={}}=globalThis.__sveltekit_cmtin0.data;for(const l in i)i[l];for(const l in o)o[l];for(const l in c)c[l];for(const l in s)s[l]}document.URL!==location.href&&(location.href=location.href),v=e,await e.hooks.init?.(),Ce=Dt(e),I=document.documentElement,Re=t,Se=e.nodes[0],se=e.nodes[1],Se(),se(),y=history.state?.[F],R=history.state?.[Q],y||(y=R=Date.now(),history.replaceState({...history.state,[F]:y,[Q]:R},""));const r=j[y];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await sn(Re,n)):(await K({type:"enter",url:mt(v.hash?un(new URL(location.href)):location.href),replace_state:!0}),a()),on()}function zt(){ie.length=0,Ne=!1}function ct(e){ce.some(t=>t?.snapshot)&&(Z[e]=ce.map(t=>t?.snapshot?.capture()))}function lt(e){Z[e]?.forEach((t,n)=>{ce[n]?.snapshot?.restore(t)})}function We(){$e(y),Ke(et,j),ct(R),Ke(Ze,Z)}async function Wt(e,t,n,r){let a,i;t.invalidateAll&&le(),await K({type:"goto",url:mt(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{if(t.invalidateAll){Ne=!0,a=new Set;for(const[s,o]of He)for(const[c,l]of o)l.resource?.reset(),a.add(re(s,c));i=new Set;for(const[s,o]of ze)for(const c of o.keys())i.add(re(s,c))}t.invalidate&&t.invalidate.forEach(an)}}),t.invalidateAll&&oe().then(oe).then(()=>{for(const[s,o]of He)for(const[c,{resource:l}]of o)a?.has(re(s,c))&&l.start();for(const[s,o]of ze)for(const[c,{resource:l}]of o)i?.has(re(s,c))&&l.reconnect()})}async function Jt(e){if(e.id!==S?.id){le();const t={};fe.add(t),S={id:e.id,token:t,promise:ft({...e,preload:t}).then(n=>(fe.delete(t),n.type==="loaded"&&n.state.error&&le(),n)),fork:null}}return S.promise}async function ke(e){const t=(await me(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(n=>n[1]()))}async function ut(e,t,n){const r={params:_.params,route:{id:_.route?.id??null},url:new URL(location.href)};if(_={...e.state,nav:r},vt(e.props.page),it=new v.root({target:t,props:{...e.props,stores:N,components:ce},hydrate:n,sync:!1,transformError:void 0}),await Promise.resolve(),n){const a={from:null,to:{...r,scroll:j[y]??D()},willUnload:!1,type:"enter",complete:Promise.resolve()};X.forEach(i=>i(a))}lt(R),ue=!0}async function de({url:e,params:t,branch:n,errors:r,status:a,error:i,route:s,form:o}){let c="never";if(L&&(e.pathname===L||e.pathname===L+"/"))c="always";else for(const f of n)f?.slash!==void 0&&(c=f.slash);e.pathname=Rt(e.pathname,c),e.search=e.search;const l={type:"loaded",state:{url:e,params:t,branch:n,error:i,route:s},props:{constructors:Bt(n).map(f=>f.node.component),page:Me(x)}};o!==void 0&&(l.props.form=o);let u={},p=!x,w=0;for(let f=0;f<Math.max(n.length,_.branch.length);f+=1){const g=n[f],m=_.branch[f];g?.data!==m?.data&&(p=!0),g&&(u={...u,...g.data},p&&(l.props[`data_${w}`]=u),w+=1)}return(!_.url||e.href!==_.url.href||_.error!==i||o!==void 0&&o!==x.form||p)&&(l.props.page={error:i,params:t,route:{id:s?.id??null},state:{},status:a,url:new URL(e),form:o??null,data:p?u:x.data}),l}async function je({loader:e,parent:t,url:n,params:r,route:a,server_data_node:i}){let s=null;const o={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await e();return{node:c,loader:e,server:i,universal:c.universal?.load?{type:"data",data:s,uses:o}:null,data:s??i?.data??null,slash:c.universal?.trailingSlash??i?.slash}}function Yt(e,t,n){let r=e instanceof Request?e.url:e;const a=new URL(r,n);a.origin===n.origin&&(r=a.href.slice(n.origin.length));const i=ue?qt(r,a.href,t):jt(r,t);return{resolved:a,promise:i}}function Xt(e,t,n,r,a,i){if(Ne)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&n)return!0;for(const s of a.search_params)if(r.has(s))return!0;for(const s of a.params)if(i[s]!==_.params[s])return!0;for(const s of a.dependencies)if(ie.some(o=>o(new URL(s))))return!0;return!1}function qe(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function Qt(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const r of n){const a=e.searchParams.getAll(r),i=t.searchParams.getAll(r);a.every(s=>i.includes(s))&&i.every(s=>a.includes(s))&&n.delete(r)}return n}function Zt({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:Me(x),constructors:[]}}}async function ft({id:e,invalidating:t,url:n,params:r,route:a,preload:i}){if(S?.id===e)return fe.delete(S.token),S.promise;const{errors:s,layouts:o,leaf:c}=a,l=[...o,c];s.forEach(m=>m?.().catch(C)),l.forEach(m=>m?.[1]().catch(C));const u=_.url?e!==he(_.url):!1,p=_.route?a.id!==_.route.id:!1,w=Qt(_.url,n);let d=!1;const f=l.map(async(m,h)=>{if(!m)return;const b=_.branch[h];return m[1]===b?.loader&&!Xt(d,p,u,w,b.universal?.uses,r)?b:(d=!0,je({loader:m[1],url:n,params:r,route:a,parent:async()=>{const P={};for(let O=0;O<h;O+=1)Object.assign(P,(await f[O])?.data);return P},server_data_node:qe(m[0]?{type:"skip"}:null,m[0]?b?.server:void 0)}))});for(const m of f)m.catch(C);const g=[];for(let m=0;m<l.length;m+=1)if(l[m])try{g.push(await f[m])}catch(h){if(h instanceof Te)return{type:"redirect",location:h.location};if(i&&fe.has(i))return Zt({error:await G(h,{params:r,url:n,route:{id:a.id}}),url:n,params:r,route:a});let b=Oe(h),E;if(h instanceof Ue)E=h.body;else{if(await N.updated.check())return await rt(),await ee(n);E=await G(h,{params:r,url:n,route:{id:a.id}})}const P=await en(m,g,s);return P?de({url:n,params:r,branch:g.slice(0,P.idx).concat(P.node),errors:s,status:b,error:E,route:a}):await ht(n,{id:a.id},E,b)}else g.push(void 0);return de({url:n,params:r,branch:g,errors:s,status:200,error:null,route:a,form:t?void 0:null})}async function en(e,t,n){for(;e--;)if(n[e]){let r=e;for(;!t[r];)r-=1;try{return{idx:r+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function De({status:e,error:t,url:n,route:r}){const a={};let i=null;try{const s=await je({loader:Se,url:n,params:a,route:r,parent:()=>Promise.resolve({}),server_data_node:qe(i)}),o={node:await se(),loader:se,universal:null,server:null,data:null};return de({url:n,params:a,branch:[s,o],status:e,error:t,errors:[],route:null})}catch(s){if(s instanceof Te){await Wt(new URL(s.location,location.href),{},0);return}const o=await v.get_error_template(),c=await G(s,{url:n,params:a,route:r}),l=String(c?.message??"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),u=o({status:e,message:l}),p=new DOMParser().parseFromString(u,"text/html");throw document.documentElement.replaceChild(document.adoptNode(p.head),document.head),document.documentElement.replaceChild(document.adoptNode(p.body),document.body),s}}async function tn(e){const t=e.href;if(ae.has(t))return ae.get(t);let n;try{const r=(async()=>{let a=await v.hooks.reroute({url:new URL(e),fetch:async(i,s)=>Yt(i,s,e).promise})??e;if(typeof a=="string"){const i=new URL(e);v.hash?i.hash=a:i.pathname=a,a=i}return a})();ae.set(t,r),n=await r}catch{ae.delete(t);return}return n}async function me(e,t){if(e&&!ge(e,L,v.hash)){const n=await tn(e);if(!n)return;const r=nn(n);for(const a of Ce){const i=a.exec(r);if(i)return{id:he(e),invalidating:t,route:a,params:Lt(i),url:e}}}}function nn(e){return xt(v.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(L.length))||"/"}function he(e){return(v.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function dt({url:e,type:t,intent:n,delta:r,event:a,scroll:i}){let s=!1;const o=Ve(_,n,e,t,i??null);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const c={...o.navigation,cancel:()=>{s=!0,o.reject(new Error("navigation cancelled"))}};return te||at.forEach(l=>l(c)),s?null:o}async function K({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:i,state:s={},redirect_count:o=0,nav_token:c={},accept:l=C,block:u=C,event:p}){const w=$;$=c;const d=await me(t,!1),f=e==="enter"?Ve(_,d,t,e):dt({url:t,type:e,delta:n?.delta,intent:d,scroll:n?.scroll,event:p});if(!f){u(),$===c&&($=w);return}const g=y,m=R;l(),te=!0,ue&&f.navigation.type!=="enter"&&N.navigating.set(ne.current=f.navigation);let h=d&&await ft(d);if(!h){if(ge(t,L,v.hash))return await ee(t,i);h=await ht(t,{id:null},await G(new Ie(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,i)}if(t=d?.url||t,$!==c){f.reject(new Error("navigation aborted"));return}if(!h)return;if(h.type==="redirect"){if(o<20){await K({type:e,url:new URL(h.location,t),popped:n,keepfocus:r,noscroll:a,replace_state:i,state:s,redirect_count:o+1,nav_token:c}),f.fulfil(void 0);return}if(h=await De({status:500,error:await G(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}}),!h)return}else if(h.props.page.status>=400&&await N.updated.check())return await rt(),await ee(t,i);if(zt(),$e(g),ct(m),h.props.page.url.pathname!==t.pathname&&(t.pathname=h.props.page.url.pathname),s=n?n.state:s,!n){const k=i?0:1,H={[F]:y+=k,[Q]:R+=k,[tt]:s};(i?history.replaceState:history.pushState).call(history,H,"",t),i||Gt(y,R)}const b=d&&S?.id===d.id?S.fork:null;S?.fork&&!b?le():(S=null,B={element:void 0,href:void 0}),h.props.page.state=s;let E;if(ue){const k=(await Promise.all(Array.from(Ht,z=>z(f.navigation)))).filter(z=>typeof z=="function");if(k.length>0){let z=function(){k.forEach(we=>{X.delete(we)})};k.push(z),k.forEach(we=>{X.add(we)})}const H=f.navigation.to;_={...h.state,nav:{params:H.params,route:H.route,url:H.url}},h.props.page&&(h.props.page.url=t),!r&&document.activeElement instanceof HTMLElement&&document.activeElement!==document.body&&document.activeElement.blur();const _e=b&&await b;_e?E=_e.commit():(W=null,it.$set(h.props),W&&Object.assign(h.props.page,W),vt(h.props.page),E=kt?.()),st=!0}else await ut(h,Re,!1);const{activeElement:P}=document;if(await E,await oe(),await oe(),$!==c){f.reject(new Error("navigation aborted"));return}h.props.page&&W&&Object.assign(h.props.page,W);let O=null;if(Ge){const k=n?n.scroll:a?D():null;k?scrollTo(k.x,k.y):(O=t.hash&&document.getElementById(pt(t)))?O.scrollIntoView():scrollTo(0,0)}const yt=document.activeElement!==P&&document.activeElement!==document.body;!r&&!yt&&ln(t,!O),Ge=!0,te=!1,f.fulfil(void 0),f.navigation.to&&(f.navigation.to.scroll=D()),X.forEach(k=>k(f.navigation)),e==="popstate"&<(R),N.navigating.set(ne.current=null)}async function ht(e,t,n,r,a){return e.origin===Be&&e.pathname===location.pathname&&!ot?await De({status:r,error:n,url:e,route:t}):await ee(e,a)}let B={element:void 0,href:void 0};function rn(){let e,t;I.addEventListener("mousemove",s=>{const o=s.target;clearTimeout(e),e=setTimeout(()=>{a(o,q.hover)},20)});function n(s){s.defaultPrevented||a(s.composedPath()[0],q.tap)}I.addEventListener("mousedown",n),I.addEventListener("touchstart",n,{passive:!0});const r=new IntersectionObserver(s=>{for(const o of s)o.isIntersecting&&(ke(new URL(o.target.href)),r.unobserve(o.target))},{threshold:0});async function a(s,o){const c=_t(s,I),l=c===B.element&&c?.href===B.href&&o>=t;if(!c||l)return;const{url:u,external:p,download:w}=Le(c,L,v.hash);if(p||w)return;const d=pe(c),f=u&&he(_.url)===he(u);if(!(d.reload||f))if(o<=d.preload_data){B={element:c,href:c.href},t=q.tap;const g=await me(u,!1);if(!g)return;Jt(g)}else o<=d.preload_code&&(B={element:c,href:c.href},t=o,ke(u))}function i(){r.disconnect();for(const s of I.querySelectorAll("a")){const{url:o,external:c,download:l}=Le(s,L,v.hash);if(c||l)continue;const u=pe(s);u.reload||(u.preload_code===q.viewport&&r.observe(s),u.preload_code===q.eager&&ke(o))}}X.add(i),i()}function G(e,t){if(e instanceof Ue)return e.body;const n=Oe(e),r=Ft(e);return v.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function an(e){if(typeof e=="function")ie.push(e);else{const{href:t}=new URL(e,location.href);ie.push(n=>n.href===t)}}function on(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(We(),!te){const r=Ve(_,void 0,null,"leave"),a={...r.navigation,cancel:()=>{n=!0,r.reject(new Error("navigation cancelled"))}};at.forEach(i=>i(a))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&We()}),navigator.connection?.saveData||rn(),I.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=_t(t.composedPath()[0],I);if(!n)return;const{url:r,external:a,target:i,download:s}=Le(n,L,v.hash);if(!r)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const o=pe(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||s)return;const[l,u]=(v.hash?r.hash.replace(/^#/,""):r.href).split("#"),p=l===ye(location);if(a||o.reload&&(!p||!u)){dt({url:r,type:"link",event:t})?te=!0:t.preventDefault();return}if(u!==void 0&&p){const[,w]=_.url.href.split("#");if(w===u){if(t.preventDefault(),u===""||u==="top"&&n.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const d=n.ownerDocument.getElementById(decodeURIComponent(u));d&&(d.scrollIntoView(),d.focus())}return}if(J=!0,$e(y),e(r),!o.replace_state)return;J=!1}t.preventDefault(),await new Promise(w=>{requestAnimationFrame(()=>{setTimeout(w,0)}),setTimeout(w,100)}),await K({type:"link",url:r,keepfocus:o.keepfocus,noscroll:o.noscroll,replace_state:o.replace_state??r.href===location.href,event:t})}),I.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if((r?.formTarget||n.target)==="_blank"||(r?.formMethod||n.method)!=="get")return;const s=new URL(r?.hasAttribute("formaction")&&r?.formAction||n.action);if(ge(s,L,!1))return;const o=t.target,c=pe(o);if(c.reload)return;t.preventDefault(),t.stopPropagation();const l=new FormData(o,r);s.search=new URLSearchParams(l).toString(),K({type:"form",url:s,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??s.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!xe){if(t.state?.[F]){const n=t.state[F];if($={},n===y)return;const r=j[n],a=t.state[tt]??{},i=new URL(t.state[Vt]??location.href),s=t.state[Q],o=_.url?ye(location)===ye(_.url):!1;if(s===R&&(st||o)){a!==x.state&&(x.state=a),e(i),j[y]=D(),r&&scrollTo(r.x,r.y),y=n;return}const l=n-y;await K({type:"popstate",url:i,popped:{state:a,scroll:r,delta:l},accept:()=>{y=n,R=s},block:()=>{history.go(-l)},nav_token:$,event:t})}else if(!J){const n=new URL(location.href);e(n),v.hash&&location.reload()}}}),addEventListener("hashchange",()=>{J&&(J=!1,history.replaceState({...history.state,[F]:++y,[Q]:R},"",location.href))});for(const t of document.querySelectorAll("link"))Kt.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&N.navigating.set(ne.current=null)});function e(t){_.url=x.url=t,N.page.set(Me(x)),N.page.notify()}}async function sn(e,{status:t=200,error:n,node_ids:r,params:a,route:i,server_route:s,data:o,form:c}){ot=!0;const l=new URL(location.href);let u;({params:a={},route:i={id:null}}=await me(l,!1)||{}),u=Ce.find(({id:d})=>d===i.id);let p,w=!0;try{const d=r.map(async(g,m)=>{const h=o[m];return h?.uses&&(h.uses=cn(h.uses)),je({loader:v.nodes[g],url:l,params:a,route:i,parent:async()=>{const b={};for(let E=0;E<m;E+=1)Object.assign(b,(await d[E]).data);return b},server_data_node:qe(h)})}),f=await Promise.all(d);if(u){const g=u.layouts;for(let m=0;m<g.length;m++)g[m]||f.splice(m,0,void 0)}p=await de({url:l,params:a,branch:f,status:t,error:n,errors:u?.errors,form:c,route:u??null})}catch(d){if(d instanceof Te)return await ee(new URL(d.location,location.href));p=await De({status:Oe(d),error:await G(d,{url:l,params:a,route:i}),url:l,route:i}),e.textContent="",w=!1}p&&(p.props.page&&(p.props.page.state={}),await ut(p,e,w))}function cn(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 xe=!1;function ln(e,t=!0){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const r=pt(e);if(r&&document.getElementById(r)){const{x:i,y:s}=D();setTimeout(()=>{const o=history.state;xe=!0,location.replace(new URL(`#${r}`,location.href)),history.replaceState(o,"",e),t&&scrollTo(i,s),xe=!1})}else{const i=document.body,s=i.getAttribute("tabindex");i.tabIndex=-1,i.focus({preventScroll:!0,focusVisible:!1}),s!==null?i.setAttribute("tabindex",s):i.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const i=[];for(let s=0;s<a.rangeCount;s+=1)i.push(a.getRangeAt(s));setTimeout(()=>{if(a.rangeCount===i.length){for(let s=0;s<a.rangeCount;s+=1){const o=i[s],c=a.getRangeAt(s);if(o.commonAncestorContainer!==c.commonAncestorContainer||o.startContainer!==c.startContainer||o.endContainer!==c.endContainer||o.startOffset!==c.startOffset||o.endOffset!==c.endOffset)return}a.removeAllRanges()}})}}}function Ve(e,t,n,r,a=null){let i,s;const o=new Promise((l,u)=>{i=l,s=u});return o.catch(C),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:D()},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n,scroll:a},willUnload:!t,type:r,complete:o},fulfil:i,reject:s}}function Me(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 un(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function pt(e){let t;if(v.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}const Be=location.origin;function mt(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 D(){return{x:pageXOffset,y:pageYOffset}}function M(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const Je={...q,"":q.hover};function gt(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function _t(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=gt(e)}}function Le(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,i=!r||!!a||ge(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),s=r?.origin===Be&&e.hasAttribute("download");return{url:r,external:i,target:a,download:s}}function pe(e){let t=null,n=null,r=null,a=null,i=null,s=null,o=e;for(;o&&o!==document.documentElement;)r===null&&(r=M(o,"preload-code")),a===null&&(a=M(o,"preload-data")),t===null&&(t=M(o,"keepfocus")),n===null&&(n=M(o,"noscroll")),i===null&&(i=M(o,"reload")),s===null&&(s=M(o,"replacestate")),o=gt(o);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Je[r??"off"],preload_data:Je[a??"off"],keepfocus:c(t),noscroll:c(n),reload:c(i),replace_state:c(s)}}function Ye(e){const t=Ae(e);let n=!0;function r(){n=!0,t.update(s=>s)}function a(s){n=!1,t.set(s)}function i(s){let o;return t.subscribe(c=>{(o===void 0||n&&c!==o)&&s(o=c)})}return{notify:r,set:a,subscribe:i}}const wt={v:C};function fn(){const{set:e,subscribe:t}=Ae(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${St}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const s=(await a.json()).version!==Et;return s&&(e(!0),wt.v(),clearTimeout(n)),s}catch{return!1}}return{subscribe:t,check:r}}function ge(e,t,n){return e.origin!==Be||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function gn(e){}let x,ne,Ee;const dn=Fe.toString().includes("$$")||/function \w+\(\) \{\}/.test(Fe.toString()),Xe="a:";dn?(x={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(Xe)},ne={current:null},Ee={current:!1}):(x=new class{#e=A({});get data(){return U(this.#e)}set data(t){T(this.#e,t)}#t=A(null);get form(){return U(this.#t)}set form(t){T(this.#t,t)}#n=A(null);get error(){return U(this.#n)}set error(t){T(this.#n,t)}#r=A({});get params(){return U(this.#r)}set params(t){T(this.#r,t)}#a=A({id:null});get route(){return U(this.#a)}set route(t){T(this.#a,t)}#o=A({});get state(){return U(this.#o)}set state(t){T(this.#o,t)}#s=A(-1);get status(){return U(this.#s)}set status(t){T(this.#s,t)}#i=A(new URL(Xe));get url(){return U(this.#i)}set url(t){T(this.#i,t)}},ne=new class{#e=A(null);get current(){return U(this.#e)}set current(t){T(this.#e,t)}},Ee=new class{#e=A(!1);get current(){return U(this.#e)}set current(t){T(this.#e,t)}},wt.v=()=>Ee.current=!0);function vt(e){Object.assign(x,e)}export{mn as a,gn as l,x as p,N as s};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{l as o,a as r}from"../chunks/DfJYK3Wh.js";export{o as load_css,r as start};
|