openclaw-cortex 3.0.0 → 3.0.2

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.
Files changed (42) hide show
  1. package/README.md +7 -4
  2. package/dist/build-info.json +3 -3
  3. package/dist/canvas-host/a2ui/.bundle.hash +1 -1
  4. package/dist/{command-registry-CKl3i1dn.js → command-registry-B3oActxS.js} +4 -4
  5. package/dist/{completion-cli-D9M167hh.js → completion-cli-C_J-jd9D.js} +1 -1
  6. package/dist/{completion-cli-DWbOrNO2.js → completion-cli-FIejYbDL.js} +2 -2
  7. package/dist/control-ui/_app/immutable/chunks/{BiSHrnLa.js → Bf6c0cUg.js} +1 -1
  8. package/dist/control-ui/_app/immutable/entry/{app.BJyZBQUh.js → app.BwCsQnur.js} +2 -2
  9. package/dist/control-ui/_app/immutable/entry/start.Br3cjxv0.js +1 -0
  10. package/dist/control-ui/_app/immutable/nodes/{0.CJT0Xxdx.js → 0.Dx9jJZSo.js} +1 -1
  11. package/dist/control-ui/_app/immutable/nodes/{1.BUWlSfxE.js → 1.BL0sXqCf.js} +1 -1
  12. package/dist/control-ui/_app/immutable/nodes/{14.DOWskc3T.js → 14.CDt16nEp.js} +1 -1
  13. package/dist/control-ui/_app/version.json +1 -1
  14. package/dist/control-ui/index.html +6 -6
  15. package/dist/{doctor-completion-B18Bypvd.js → doctor-completion-D7sHoVar.js} +1 -1
  16. package/dist/{doctor-completion-C45zyyLh.js → doctor-completion-sHbqqiJx.js} +1 -1
  17. package/dist/entry.js +1 -1
  18. package/dist/{gateway-cli-C9P1VKyA.js → gateway-cli-Ch6gZFPT.js} +6 -6
  19. package/dist/{gateway-cli-Cy10TRa_.js → gateway-cli-DZ4LS2Gw.js} +6 -6
  20. package/dist/index.js +1 -1
  21. package/dist/{onboard-BO-10joL.js → onboard-C4csnV8K.js} +1 -1
  22. package/dist/{onboard-CoGGGg5K.js → onboard-PLazjdti.js} +1 -1
  23. package/dist/{onboarding-CiOMo5_c.js → onboarding-B_8tUxFm.js} +1 -1
  24. package/dist/{onboarding-EMqX1DQj.js → onboarding-IlBStOWQ.js} +1 -1
  25. package/dist/{onboarding.finalize-BkqY37UR.js → onboarding.finalize-CUfEwc_X.js} +4 -4
  26. package/dist/{onboarding.finalize-D-8iuvnX.js → onboarding.finalize-CscOXfzt.js} +3 -3
  27. package/dist/{program-DWc2vj5U.js → program-BEOFzhHf.js} +2 -2
  28. package/dist/{program-context-g9Bf7H9y.js → program-context-CTRcW6qt.js} +6 -6
  29. package/dist/{prompt-select-styled-Dq1G221I.js → prompt-select-styled-DEl1ViOW.js} +1 -1
  30. package/dist/{prompt-select-styled-dUrAqGxZ.js → prompt-select-styled-DxHHs9eu.js} +1 -1
  31. package/dist/{register.maintenance-BQlKe9JQ.js → register.maintenance-BdAIyY7s.js} +4 -4
  32. package/dist/{register.maintenance-BXCIyC2q.js → register.maintenance-jNMy6C-i.js} +5 -5
  33. package/dist/{register.onboard-XjRFAaX-.js → register.onboard-C_oZreTK.js} +2 -2
  34. package/dist/{register.onboard-BjMshgZ4.js → register.onboard-DlDtwyfd.js} +2 -2
  35. package/dist/{register.setup-D9k8Eyg7.js → register.setup-Ba6S39kI.js} +2 -2
  36. package/dist/{register.setup-C3aOJ-9J.js → register.setup-WBFMBTcP.js} +2 -2
  37. package/dist/{register.subclis-DpCWe0ca.js → register.subclis-DtUGzYVz.js} +3 -3
  38. package/dist/{run-main-BRe5c6iW.js → run-main-B6uubEb8.js} +3 -3
  39. package/dist/{update-cli-Cnm99-Cj.js → update-cli-COyyIt37.js} +5 -5
  40. package/dist/{update-cli-3URF877J.js → update-cli-WAMVsPit.js} +4 -4
  41. package/package.json +4 -2
  42. package/dist/control-ui/_app/immutable/entry/start.CWF4Qm2D.js +0 -1
package/README.md CHANGED
@@ -39,7 +39,7 @@ While OpenClaw provides excellent functionality, Cortex addresses specific needs
39
39
 
40
40
  ```bash
41
41
  # Install Cortex globally
42
- npm install -g cortex@latest
42
+ npm install -g openclaw-cortex
43
43
 
44
44
  # Run the onboarding wizard
45
45
  cortex onboard
@@ -112,13 +112,16 @@ Unlike distributed UIs, Cortex centralizes management through the **Cortex UI**,
112
112
  Cortex is a **drop-in replacement** — same data directory, same config format, same protocols.
113
113
 
114
114
  ```bash
115
- openclaw gateway stop # Stop OpenClaw
116
- npm install -g cortex # Install Cortex
117
- cortex gateway start # Done. Everything carries over.
115
+ openclaw gateway stop # Stop OpenClaw
116
+ npm uninstall -g openclaw # Remove upstream package
117
+ npm install -g openclaw-cortex # Install Cortex
118
+ cortex gateway start # Done. Everything carries over.
118
119
  ```
119
120
 
120
121
  Your `~/.openclaw/` data, paired nodes, channels, memory, cron jobs, and agent files all work unchanged. The `openclaw` command still works as an alias.
121
122
 
123
+ > **Note:** You must uninstall `openclaw` first to avoid binary conflicts. See the full guide for details.
124
+
122
125
  **[Full Migration Guide →](MIGRATION.md)** — detailed steps, node migration, systemd, rollback, FAQ
123
126
 
124
127
  ## Upstream Sync
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.0.0",
3
- "commit": "3cf37cce6d822f9e719295bff9963345a466370e",
4
- "builtAt": "2026-02-21T15:38:44.732Z"
2
+ "version": "3.0.2",
3
+ "commit": "a864eb12b17e0b0767d3e307ff75f6e8a0b4baa9",
4
+ "builtAt": "2026-02-21T16:00:29.047Z"
5
5
  }
@@ -1 +1 @@
1
- 536752c697fdfb805a7765462a2c9b6e6e9bc1f21ae6ecebc3cd78782e54b5f6
1
+ 01b0ce97fb3982e833c5879eaea6da0c776a5954b9b915c8403270bc5bb1167e
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { an as getPrimaryCommand, cn as hasHelpOrVersion } from "./entry.js";
3
- import { i as registerSubCliCommands, o as reparseProgramFromActionArgs } from "./register.subclis-DpCWe0ca.js";
3
+ import { i as registerSubCliCommands, o as reparseProgramFromActionArgs } from "./register.subclis-DtUGzYVz.js";
4
4
 
5
5
  //#region src/cli/program/command-registry.ts
6
6
  var command_registry_exports = /* @__PURE__ */ __exportAll({
@@ -22,7 +22,7 @@ const coreEntries = [
22
22
  hasSubcommands: false
23
23
  }],
24
24
  register: async ({ program }) => {
25
- (await import("./register.setup-C3aOJ-9J.js")).registerSetupCommand(program);
25
+ (await import("./register.setup-WBFMBTcP.js")).registerSetupCommand(program);
26
26
  }
27
27
  },
28
28
  {
@@ -32,7 +32,7 @@ const coreEntries = [
32
32
  hasSubcommands: false
33
33
  }],
34
34
  register: async ({ program }) => {
35
- (await import("./register.onboard-XjRFAaX-.js")).registerOnboardCommand(program);
35
+ (await import("./register.onboard-C_oZreTK.js")).registerOnboardCommand(program);
36
36
  }
37
37
  },
38
38
  {
@@ -79,7 +79,7 @@ const coreEntries = [
79
79
  }
80
80
  ],
81
81
  register: async ({ program }) => {
82
- (await import("./register.maintenance-BXCIyC2q.js")).registerMaintenanceCommands(program);
82
+ (await import("./register.maintenance-jNMy6C-i.js")).registerMaintenanceCommands(program);
83
83
  }
84
84
  },
85
85
  {
@@ -2,7 +2,7 @@ import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { g as resolveStateDir } from "./paths-B4BZAPZh.js";
3
3
  import { h as pathExists } from "./utils-CP9YLh6M.js";
4
4
  import { i as routeLogsToStderr } from "./subsystem-BCQGGxdd.js";
5
- import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-g9Bf7H9y.js";
5
+ import { a as registerCoreCliByName, c as getSubCliEntries, l as registerSubCliByName, r as getCoreCliCommandNames, t as getProgramContext } from "./program-context-CTRcW6qt.js";
6
6
  import os from "node:os";
7
7
  import path from "node:path";
8
8
  import fs from "node:fs/promises";
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-Cbj13DAv.js";
2
2
  import { Yt as resolveStateDir, l as routeLogsToStderr, nt as pathExists } from "./entry.js";
3
- import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-DpCWe0ca.js";
4
- import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-CKl3i1dn.js";
3
+ import { n as getSubCliEntries, r as registerSubCliByName } from "./register.subclis-DtUGzYVz.js";
4
+ import { i as registerCoreCliByName, n as getCoreCliCommandNames } from "./command-registry-B3oActxS.js";
5
5
  import { t as getProgramContext } from "./program-context--isQKnLs.js";
6
6
  import os from "node:os";
7
7
  import path from "node:path";
@@ -1 +1 @@
1
- import{s as U,g as A,d as T,F as ee,bh as ht}from"./qR_TM3YX.js";import{w as ke}from"./B3DkuU-J.js";import{o as Ne}from"./B-drBnSa.js";class Ee{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 Se{constructor(t,n){this.status=t,this.location=n}}class Re extends Error{constructor(t,n,a){super(a),this.status=t,this.text=n}}new URL("sveltekit-internal://");function pt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function gt(e){return e.split("%25").map(decodeURI).join("%25")}function mt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function he({href:e}){return e.split("#")[0]}function _t(...e){let t=5381;for(const n of e)if(typeof n=="string"){let a=n.length;for(;a;)t=t*33^n.charCodeAt(--a)}else if(ArrayBuffer.isView(n)){const a=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let r=a.length;for(;r;)t=t*33^a[--r]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;new TextDecoder;function wt(e){const t=atob(e),n=new Uint8Array(t.length);for(let a=0;a<t.length;a++)n[a]=t.charCodeAt(a);return n}const vt=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&M.delete(xe(e)),vt(e,t));const M=new Map;function yt(e,t){const n=xe(e,t),a=document.querySelector(n);if(a?.textContent){a.remove();let{body:r,...i}=JSON.parse(a.textContent);const o=a.getAttribute("data-ttl");return o&&M.set(n,{body:r,init:i,ttl:1e3*Number(o)}),a.getAttribute("data-b64")!==null&&(r=wt(r)),Promise.resolve(new Response(r,i))}return window.fetch(e,t)}function bt(e,t,n){if(M.size>0){const a=xe(e,n),r=M.get(a);if(r){if(performance.now()<r.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(r.body,r.init);M.delete(a)}}return window.fetch(t,n)}function xe(e,t){let a=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const r=[];t.headers&&r.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&r.push(t.body),a+=`[data-hash="${_t(...r)}"]`}return a}const kt=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function Et(e){const t=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${Rt(e).map(a=>{const r=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(a);if(r)return t.push({name:r[1],matcher:r[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const i=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(a);if(i)return t.push({name:i[1],matcher:i[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!a)return;const o=a.split(/\[(.+?)\](?!\])/);return"/"+o.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return pe(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return pe(String.fromCharCode(...c.slice(2).split("-").map(_=>parseInt(_,16))));const f=kt.exec(c),[,h,w,u,p]=f;return t.push({name:u,matcher:p,optional:!!h,rest:!!w,chained:w?l===1&&o[0]==="":!1}),w?"([^]*?)":h?"([^/]*)?":"([^/]+?)"}return pe(c)}).join("")}).join("")}/?$`),params:t}}function St(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function Rt(e){return e.slice(1).split("/").filter(St)}function xt(e,t,n){const a={},r=e.slice(1),i=r.filter(s=>s!==void 0);let o=0;for(let s=0;s<t.length;s+=1){const c=t[s];let l=r[s-o];if(c.chained&&c.rest&&o&&(l=r.slice(s-o,s+1).filter(f=>f).join("/"),o=0),l===void 0)if(c.rest)l="";else continue;if(!c.matcher||n[c.matcher](l)){a[c.name]=l;const f=t[s+1],h=r[s+1];f&&!f.rest&&f.optional&&h&&c.chained&&(o=0),!f&&!h&&Object.keys(a).length===i.length&&(o=0);continue}if(c.optional&&c.chained){o++;continue}return}if(!o)return a}function pe(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Lt({nodes:e,server_loads:t,dictionary:n,matchers:a}){const r=new Set(t);return Object.entries(n).map(([s,[c,l,f]])=>{const{pattern:h,params:w}=Et(s),u={id:s,exec:p=>{const _=h.exec(p);if(_)return xt(_,w,a)},errors:[1,...f||[]].map(p=>e[p]),layouts:[0,...l||[]].map(o),leaf:i(c)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function i(s){const c=s<0;return c&&(s=~s),[c,e[s]]}function o(s){return s===void 0?s:[r.has(s),e[s]]}}function Ge(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function De(e,t,n=JSON.stringify){const a=n(t);try{sessionStorage[e]=a}catch{}}const x=globalThis.__sveltekit_1ng8ccd?.base??"",Ut=globalThis.__sveltekit_1ng8ccd?.assets??x??"",At="1771688327932",We="sveltekit:snapshot",Ye="sveltekit:scroll",ze="sveltekit:states",Tt="sveltekit:pageurl",B="sveltekit:history",W="sveltekit:navigation",j={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},le=location.origin;function Le(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function D(){return{x:pageXOffset,y:pageYOffset}}function V(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const qe={...j,"":j.hover};function He(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function Je(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=He(e)}}function _e(e,t,n){let a;try{if(a=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&a.hash.match(/^#[^/]/)){const s=location.hash.split("#")[1]||"/";a.hash=`#${s}${a.hash}`}}catch{}const r=e instanceof SVGAElement?e.target.baseVal:e.target,i=!a||!!r||ue(a,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=a?.origin===le&&e.hasAttribute("download");return{url:a,external:i,target:r,download:o}}function te(e){let t=null,n=null,a=null,r=null,i=null,o=null,s=e;for(;s&&s!==document.documentElement;)a===null&&(a=V(s,"preload-code")),r===null&&(r=V(s,"preload-data")),t===null&&(t=V(s,"keepfocus")),n===null&&(n=V(s,"noscroll")),i===null&&(i=V(s,"reload")),o===null&&(o=V(s,"replacestate")),s=He(s);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:qe[a??"off"],preload_data:qe[r??"off"],keepfocus:c(t),noscroll:c(n),reload:c(i),replace_state:c(o)}}function Ve(e){const t=ke(e);let n=!0;function a(){n=!0,t.update(o=>o)}function r(o){n=!1,t.set(o)}function i(o){let s;return t.subscribe(c=>{(s===void 0||n&&c!==s)&&o(s=c)})}return{notify:a,set:r,subscribe:i}}const Xe={v:()=>{}};function It(){const{set:e,subscribe:t}=ke(!1);let n;async function a(){clearTimeout(n);try{const r=await fetch(`${Ut}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!r.ok)return!1;const o=(await r.json()).version!==At;return o&&(e(!0),Xe.v(),clearTimeout(n)),o}catch{return!1}}return{subscribe:t,check:a}}function ue(e,t,n){return e.origin!==le||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function on(e){}const Qe=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...Qe];const Pt=new Set([...Qe]);[...Pt];function Ot(e){return e.filter(t=>t!=null)}function Ue(e){return e instanceof Ee||e instanceof Re?e.status:500}function $t(e){return e instanceof Re?e.text:"Internal Error"}let k,Y,ge;const Ct=Ne.toString().includes("$$")||/function \w+\(\) \{\}/.test(Ne.toString());Ct?(k={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},Y={current:null},ge={current:!1}):(k=new class{#e=U({});get data(){return A(this.#e)}set data(t){T(this.#e,t)}#t=U(null);get form(){return A(this.#t)}set form(t){T(this.#t,t)}#n=U(null);get error(){return A(this.#n)}set error(t){T(this.#n,t)}#a=U({});get params(){return A(this.#a)}set params(t){T(this.#a,t)}#r=U({id:null});get route(){return A(this.#r)}set route(t){T(this.#r,t)}#o=U({});get state(){return A(this.#o)}set state(t){T(this.#o,t)}#s=U(-1);get status(){return A(this.#s)}set status(t){T(this.#s,t)}#i=U(new URL("https://example.com"));get url(){return A(this.#i)}set url(t){T(this.#i,t)}},Y=new class{#e=U(null);get current(){return A(this.#e)}set current(t){T(this.#e,t)}},ge=new class{#e=U(!1);get current(){return A(this.#e)}set current(t){T(this.#e,t)}},Xe.v=()=>ge.current=!0);function jt(e){Object.assign(k,e)}const Nt=new Set(["icon","shortcut icon","apple-touch-icon"]),C=Ge(Ye)??{},z=Ge(We)??{},$={url:Ve({}),page:Ve({}),navigating:ke(null),updated:It()};function Ae(e){C[e]=D()}function Dt(e,t){let n=e+1;for(;C[n];)delete C[n],n+=1;for(n=t+1;z[n];)delete z[n],n+=1}function H(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(()=>{})}async function Ze(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(x||"/");e&&await e.update()}}function Be(){}let Te,we,ne,I,ve,y;const ae=[],re=[];let L=null;function ye(){L?.fork?.then(e=>e?.discard()),L=null}const Z=new Map,et=new Set,qt=new Set,G=new Set;let m={branch:[],error:null,url:null},tt=!1,oe=!1,Ke=!0,J=!1,F=!1,nt=!1,Ie=!1,at,v,R,N;const se=new Set,Fe=new Map;async function un(e,t,n){globalThis.__sveltekit_1ng8ccd?.data&&globalThis.__sveltekit_1ng8ccd.data,document.URL!==location.href&&(location.href=location.href),y=e,await e.hooks.init?.(),Te=Lt(e),I=document.documentElement,ve=t,we=e.nodes[0],ne=e.nodes[1],we(),ne(),v=history.state?.[B],R=history.state?.[W],v||(v=R=Date.now(),history.replaceState({...history.state,[B]:v,[W]:R},""));const a=C[v];function r(){a&&(history.scrollRestoration="manual",scrollTo(a.x,a.y))}n?(r(),await Qt(ve,n)):(await K({type:"enter",url:Le(y.hash?tn(new URL(location.href)):location.href),replace_state:!0}),r()),Xt()}function Vt(){ae.length=0,Ie=!1}function rt(e){re.some(t=>t?.snapshot)&&(z[e]=re.map(t=>t?.snapshot?.capture()))}function ot(e){z[e]?.forEach((t,n)=>{re[n]?.snapshot?.restore(t)})}function Me(){Ae(v),De(Ye,C),rt(R),De(We,z)}async function st(e,t,n,a){let r;t.invalidateAll&&ye(),await K({type:"goto",url:Le(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:a,accept:()=>{t.invalidateAll&&(Ie=!0,r=[...Fe.keys()]),t.invalidate&&t.invalidate.forEach(Jt)}}),t.invalidateAll&&ee().then(ee).then(()=>{Fe.forEach(({resource:i},o)=>{r?.includes(o)&&i.refresh?.()})})}async function Bt(e){if(e.id!==L?.id){ye();const t={};se.add(t),L={id:e.id,token:t,promise:ct({...e,preload:t}).then(n=>(se.delete(t),n.type==="loaded"&&n.state.error&&ye(),n)),fork:null}}return L.promise}async function me(e){const t=(await fe(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(n=>n[1]()))}async function it(e,t,n){m=e.state;const a=document.querySelector("style[data-sveltekit]");if(a&&a.remove(),Object.assign(k,e.props.page),at=new y.root({target:t,props:{...e.props,stores:$,components:re},hydrate:n,sync:!1}),await Promise.resolve(),ot(R),n){const r={from:null,to:{params:m.params,route:{id:m.route?.id??null},url:new URL(location.href),scroll:C[v]??D()},willUnload:!1,type:"enter",complete:Promise.resolve()};G.forEach(i=>i(r))}oe=!0}function ie({url:e,params:t,branch:n,status:a,error:r,route:i,form:o}){let s="never";if(x&&(e.pathname===x||e.pathname===x+"/"))s="always";else for(const u of n)u?.slash!==void 0&&(s=u.slash);e.pathname=pt(e.pathname,s),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:r,route:i},props:{constructors:Ot(n).map(u=>u.node.component),page:je(k)}};o!==void 0&&(c.props.form=o);let l={},f=!k,h=0;for(let u=0;u<Math.max(n.length,m.branch.length);u+=1){const p=n[u],_=m.branch[u];p?.data!==_?.data&&(f=!0),p&&(l={...l,...p.data},f&&(c.props[`data_${h}`]=l),h+=1)}return(!m.url||e.href!==m.url.href||m.error!==r||o!==void 0&&o!==k.form||f)&&(c.props.page={error:r,params:t,route:{id:i?.id??null},state:{},status:a,url:new URL(e),form:o??null,data:f?l:k.data}),c}async function Pe({loader:e,parent:t,url:n,params:a,route:r,server_data_node:i}){let o=null;const s={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:o,uses:s}:null,data:o??i?.data??null,slash:c.universal?.trailingSlash??i?.slash}}function Kt(e,t,n){let a=e instanceof Request?e.url:e;const r=new URL(a,n);r.origin===n.origin&&(a=r.href.slice(n.origin.length));const i=oe?bt(a,r.href,t):yt(a,t);return{resolved:r,promise:i}}function Ft(e,t,n,a,r,i){if(Ie)return!0;if(!r)return!1;if(r.parent&&e||r.route&&t||r.url&&n)return!0;for(const o of r.search_params)if(a.has(o))return!0;for(const o of r.params)if(i[o]!==m.params[o])return!0;for(const o of r.dependencies)if(ae.some(s=>s(new URL(o))))return!0;return!1}function Oe(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function Mt(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const a of n){const r=e.searchParams.getAll(a),i=t.searchParams.getAll(a);r.every(o=>i.includes(o))&&i.every(o=>r.includes(o))&&n.delete(a)}return n}function Gt({error:e,url:t,route:n,params:a}){return{type:"loaded",state:{error:e,url:t,route:n,params:a,branch:[]},props:{page:je(k),constructors:[]}}}async function ct({id:e,invalidating:t,url:n,params:a,route:r,preload:i}){if(L?.id===e)return se.delete(L.token),L.promise;const{errors:o,layouts:s,leaf:c}=r,l=[...s,c];o.forEach(g=>g?.().catch(()=>{})),l.forEach(g=>g?.[1]().catch(()=>{}));const f=m.url?e!==ce(m.url):!1,h=m.route?r.id!==m.route.id:!1,w=Mt(m.url,n);let u=!1;const p=l.map(async(g,d)=>{if(!g)return;const E=m.branch[d];return g[1]===E?.loader&&!Ft(u,h,f,w,E.universal?.uses,a)?E:(u=!0,Pe({loader:g[1],url:n,params:a,route:r,parent:async()=>{const P={};for(let O=0;O<d;O+=1)Object.assign(P,(await p[O])?.data);return P},server_data_node:Oe(g[0]?{type:"skip"}:null,g[0]?E?.server:void 0)}))});for(const g of p)g.catch(()=>{});const _=[];for(let g=0;g<l.length;g+=1)if(l[g])try{_.push(await p[g])}catch(d){if(d instanceof Se)return{type:"redirect",location:d.location};if(se.has(i))return Gt({error:await X(d,{params:a,url:n,route:{id:r.id}}),url:n,params:a,route:r});let E=Ue(d),S;if(d instanceof Ee)S=d.body;else{if(await $.updated.check())return await Ze(),await H(n);S=await X(d,{params:a,url:n,route:{id:r.id}})}const P=await Wt(g,_,o);return P?ie({url:n,params:a,branch:_.slice(0,P.idx).concat(P.node),status:E,error:S,route:r}):await ut(n,{id:r.id},S,E)}else _.push(void 0);return ie({url:n,params:a,branch:_,status:200,error:null,route:r,form:t?void 0:null})}async function Wt(e,t,n){for(;e--;)if(n[e]){let a=e;for(;!t[a];)a-=1;try{return{idx:a+1,node:{node:await n[e](),loader:n[e],data:{},server:null,universal:null}}}catch{continue}}}async function $e({status:e,error:t,url:n,route:a}){const r={};let i=null;try{const o=await Pe({loader:we,url:n,params:r,route:a,parent:()=>Promise.resolve({}),server_data_node:Oe(i)}),s={node:await ne(),loader:ne,universal:null,server:null,data:null};return ie({url:n,params:r,branch:[o,s],status:e,error:t,route:null})}catch(o){if(o instanceof Se)return st(new URL(o.location,location.href),{},0);throw o}}async function Yt(e){const t=e.href;if(Z.has(t))return Z.get(t);let n;try{const a=(async()=>{let r=await y.hooks.reroute({url:new URL(e),fetch:async(i,o)=>Kt(i,o,e).promise})??e;if(typeof r=="string"){const i=new URL(e);y.hash?i.hash=r:i.pathname=r,r=i}return r})();Z.set(t,a),n=await a}catch{Z.delete(t);return}return n}async function fe(e,t){if(e&&!ue(e,x,y.hash)){const n=await Yt(e);if(!n)return;const a=zt(n);for(const r of Te){const i=r.exec(a);if(i)return{id:ce(e),invalidating:t,route:r,params:mt(i),url:e}}}}function zt(e){return gt(y.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(x.length))||"/"}function ce(e){return(y.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function lt({url:e,type:t,intent:n,delta:a,event:r,scroll:i}){let o=!1;const s=Ce(m,n,e,t,i??null);a!==void 0&&(s.navigation.delta=a),r!==void 0&&(s.navigation.event=r);const c={...s.navigation,cancel:()=>{o=!0,s.reject(new Error("navigation cancelled"))}};return J||et.forEach(l=>l(c)),o?null:s}async function K({type:e,url:t,popped:n,keepfocus:a,noscroll:r,replace_state:i,state:o={},redirect_count:s=0,nav_token:c={},accept:l=Be,block:f=Be,event:h}){const w=N;N=c;const u=await fe(t,!1),p=e==="enter"?Ce(m,u,t,e):lt({url:t,type:e,delta:n?.delta,intent:u,scroll:n?.scroll,event:h});if(!p){f(),N===c&&(N=w);return}const _=v,g=R;l(),J=!0,oe&&p.navigation.type!=="enter"&&$.navigating.set(Y.current=p.navigation);let d=u&&await ct(u);if(!d){if(ue(t,x,y.hash))return await H(t,i);d=await ut(t,{id:null},await X(new Re(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,i)}if(t=u?.url||t,N!==c)return p.reject(new Error("navigation aborted")),!1;if(d.type==="redirect"){if(s<20){await K({type:e,url:new URL(d.location,t),popped:n,keepfocus:a,noscroll:r,replace_state:i,state:o,redirect_count:s+1,nav_token:c}),p.fulfil(void 0);return}d=await $e({status:500,error:await X(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else d.props.page.status>=400&&await $.updated.check()&&(await Ze(),await H(t,i));if(Vt(),Ae(_),rt(g),d.props.page.url.pathname!==t.pathname&&(t.pathname=d.props.page.url.pathname),o=n?n.state:o,!n){const b=i?0:1,Q={[B]:v+=b,[W]:R+=b,[ze]:o};(i?history.replaceState:history.pushState).call(history,Q,"",t),i||Dt(v,R)}const E=u&&L?.id===u.id?L.fork:null;L=null,d.props.page.state=o;let S;if(oe){const b=(await Promise.all(Array.from(qt,q=>q(p.navigation)))).filter(q=>typeof q=="function");if(b.length>0){let q=function(){b.forEach(de=>{G.delete(de)})};b.push(q),b.forEach(de=>{G.add(de)})}m=d.state,d.props.page&&(d.props.page.url=t);const Q=E&&await E;Q?S=Q.commit():(at.$set(d.props),jt(d.props.page),S=ht?.()),nt=!0}else await it(d,ve,!1);const{activeElement:P}=document;await S,await ee(),await ee();let O=null;if(Ke){const b=n?n.scroll:r?D():null;b?scrollTo(b.x,b.y):(O=t.hash&&document.getElementById(ft(t)))?O.scrollIntoView():scrollTo(0,0)}const dt=document.activeElement!==P&&document.activeElement!==document.body;!a&&!dt&&en(t,!O),Ke=!0,d.props.page&&Object.assign(k,d.props.page),J=!1,e==="popstate"&&ot(R),p.fulfil(void 0),p.navigation.to&&(p.navigation.to.scroll=D()),G.forEach(b=>b(p.navigation)),$.navigating.set(Y.current=null)}async function ut(e,t,n,a,r){return e.origin===le&&e.pathname===location.pathname&&!tt?await $e({status:a,error:n,url:e,route:t}):await H(e,r)}function Ht(){let e,t={element:void 0,href:void 0},n;I.addEventListener("mousemove",s=>{const c=s.target;clearTimeout(e),e=setTimeout(()=>{i(c,j.hover)},20)});function a(s){s.defaultPrevented||i(s.composedPath()[0],j.tap)}I.addEventListener("mousedown",a),I.addEventListener("touchstart",a,{passive:!0});const r=new IntersectionObserver(s=>{for(const c of s)c.isIntersecting&&(me(new URL(c.target.href)),r.unobserve(c.target))},{threshold:0});async function i(s,c){const l=Je(s,I),f=l===t.element&&l?.href===t.href&&c>=n;if(!l||f)return;const{url:h,external:w,download:u}=_e(l,x,y.hash);if(w||u)return;const p=te(l),_=h&&ce(m.url)===ce(h);if(!(p.reload||_))if(c<=p.preload_data){t={element:l,href:l.href},n=j.tap;const g=await fe(h,!1);if(!g)return;Bt(g)}else c<=p.preload_code&&(t={element:l,href:l.href},n=c,me(h))}function o(){r.disconnect();for(const s of I.querySelectorAll("a")){const{url:c,external:l,download:f}=_e(s,x,y.hash);if(l||f)continue;const h=te(s);h.reload||(h.preload_code===j.viewport&&r.observe(s),h.preload_code===j.eager&&me(c))}}G.add(o),o()}function X(e,t){if(e instanceof Ee)return e.body;const n=Ue(e),a=$t(e);return y.hooks.handleError({error:e,event:t,status:n,message:a})??{message:a}}function fn(e,t={}){return e=new URL(Le(e)),e.origin!==le?Promise.reject(new Error("goto: invalid URL")):st(e,t,0)}function Jt(e){if(typeof e=="function")ae.push(e);else{const{href:t}=new URL(e,location.href);ae.push(n=>n.href===t)}}function Xt(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(Me(),!J){const a=Ce(m,void 0,null,"leave"),r={...a.navigation,cancel:()=>{n=!0,a.reject(new Error("navigation cancelled"))}};et.forEach(i=>i(r))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Me()}),navigator.connection?.saveData||Ht(),I.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=Je(t.composedPath()[0],I);if(!n)return;const{url:a,external:r,target:i,download:o}=_e(n,x,y.hash);if(!a)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const s=te(n);if(!(n instanceof SVGAElement)&&a.protocol!==location.protocol&&!(a.protocol==="https:"||a.protocol==="http:")||o)return;const[l,f]=(y.hash?a.hash.replace(/^#/,""):a.href).split("#"),h=l===he(location);if(r||s.reload&&(!h||!f)){lt({url:a,type:"link",event:t})?J=!0:t.preventDefault();return}if(f!==void 0&&h){const[,w]=m.url.href.split("#");if(w===f){if(t.preventDefault(),f===""||f==="top"&&n.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const u=n.ownerDocument.getElementById(decodeURIComponent(f));u&&(u.scrollIntoView(),u.focus())}return}if(F=!0,Ae(v),e(a),!s.replace_state)return;F=!1}t.preventDefault(),await new Promise(w=>{requestAnimationFrame(()=>{setTimeout(w,0)}),setTimeout(w,100)}),await K({type:"link",url:a,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??a.href===location.href,event:t})}),I.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),a=t.submitter;if((a?.formTarget||n.target)==="_blank"||(a?.formMethod||n.method)!=="get")return;const o=new URL(a?.hasAttribute("formaction")&&a?.formAction||n.action);if(ue(o,x,!1))return;const s=t.target,c=te(s);if(c.reload)return;t.preventDefault(),t.stopPropagation();const l=new FormData(s,a);o.search=new URLSearchParams(l).toString(),K({type:"form",url:o,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??o.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!be){if(t.state?.[B]){const n=t.state[B];if(N={},n===v)return;const a=C[n],r=t.state[ze]??{},i=new URL(t.state[Tt]??location.href),o=t.state[W],s=m.url?he(location)===he(m.url):!1;if(o===R&&(nt||s)){r!==k.state&&(k.state=r),e(i),C[v]=D(),a&&scrollTo(a.x,a.y),v=n;return}const l=n-v;await K({type:"popstate",url:i,popped:{state:r,scroll:a,delta:l},accept:()=>{v=n,R=o},block:()=>{history.go(-l)},nav_token:N,event:t})}else if(!F){const n=new URL(location.href);e(n),y.hash&&location.reload()}}}),addEventListener("hashchange",()=>{F&&(F=!1,history.replaceState({...history.state,[B]:++v,[W]:R},"",location.href))});for(const t of document.querySelectorAll("link"))Nt.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&$.navigating.set(Y.current=null)});function e(t){m.url=k.url=t,$.page.set(je(k)),$.page.notify()}}async function Qt(e,{status:t=200,error:n,node_ids:a,params:r,route:i,server_route:o,data:s,form:c}){tt=!0;const l=new URL(location.href);let f;({params:r={},route:i={id:null}}=await fe(l,!1)||{}),f=Te.find(({id:u})=>u===i.id);let h,w=!0;try{const u=a.map(async(_,g)=>{const d=s[g];return d?.uses&&(d.uses=Zt(d.uses)),Pe({loader:y.nodes[_],url:l,params:r,route:i,parent:async()=>{const E={};for(let S=0;S<g;S+=1)Object.assign(E,(await u[S]).data);return E},server_data_node:Oe(d)})}),p=await Promise.all(u);if(f){const _=f.layouts;for(let g=0;g<_.length;g++)_[g]||p.splice(g,0,void 0)}h=ie({url:l,params:r,branch:p,status:t,error:n,form:c,route:f??null})}catch(u){if(u instanceof Se){await H(new URL(u.location,location.href));return}h=await $e({status:Ue(u),error:await X(u,{url:l,params:r,route:i}),url:l,route:i}),e.textContent="",w=!1}h.props.page&&(h.props.page.state={}),await it(h,e,w)}function Zt(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let be=!1;function en(e,t=!0){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const a=ft(e);if(a&&document.getElementById(a)){const{x:i,y:o}=D();setTimeout(()=>{const s=history.state;be=!0,location.replace(new URL(`#${a}`,location.href)),history.replaceState(s,"",e),t&&scrollTo(i,o),be=!1})}else{const i=document.body,o=i.getAttribute("tabindex");i.tabIndex=-1,i.focus({preventScroll:!0,focusVisible:!1}),o!==null?i.setAttribute("tabindex",o):i.removeAttribute("tabindex")}const r=getSelection();if(r&&r.type!=="None"){const i=[];for(let o=0;o<r.rangeCount;o+=1)i.push(r.getRangeAt(o));setTimeout(()=>{if(r.rangeCount===i.length){for(let o=0;o<r.rangeCount;o+=1){const s=i[o],c=r.getRangeAt(o);if(s.commonAncestorContainer!==c.commonAncestorContainer||s.startContainer!==c.startContainer||s.endContainer!==c.endContainer||s.startOffset!==c.startOffset||s.endOffset!==c.endOffset)return}r.removeAllRanges()}})}}}function Ce(e,t,n,a,r=null){let i,o;const s=new Promise((l,f)=>{i=l,o=f});return s.catch(()=>{}),{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:r},willUnload:!t,type:a,complete:s},fulfil:i,reject:o}}function je(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function tn(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function ft(e){let t;if(y.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{un as a,fn as g,on as l,k as p,$ as s};
1
+ import{s as U,g as A,d as T,F as ee,bh as ht}from"./qR_TM3YX.js";import{w as ke}from"./B3DkuU-J.js";import{o as Ne}from"./B-drBnSa.js";class Ee{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 Se{constructor(t,n){this.status=t,this.location=n}}class Re extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}new URL("sveltekit-internal://");function pt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function gt(e){return e.split("%25").map(decodeURI).join("%25")}function mt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function he({href:e}){return e.split("#")[0]}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;new TextDecoder;function vt(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 wt=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&M.delete(xe(e)),wt(e,t));const M=new Map;function yt(e,t){const n=xe(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:a,...i}=JSON.parse(r.textContent);const o=r.getAttribute("data-ttl");return o&&M.set(n,{body:a,init:i,ttl:1e3*Number(o)}),r.getAttribute("data-b64")!==null&&(a=vt(a)),Promise.resolve(new Response(a,i))}return window.fetch(e,t)}function bt(e,t,n){if(M.size>0){const r=xe(e,n),a=M.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);M.delete(r)}}return window.fetch(t,n)}function xe(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}const kt=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function Et(e){const t=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${Rt(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 o=r.split(/\[(.+?)\](?!\])/);return"/"+o.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return pe(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return pe(String.fromCharCode(...c.slice(2).split("-").map(_=>parseInt(_,16))));const f=kt.exec(c),[,h,v,u,p]=f;return t.push({name:u,matcher:p,optional:!!h,rest:!!v,chained:v?l===1&&o[0]==="":!1}),v?"([^]*?)":h?"([^/]*)?":"([^/]+?)"}return pe(c)}).join("")}).join("")}/?$`),params:t}}function St(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function Rt(e){return e.slice(1).split("/").filter(St)}function xt(e,t,n){const r={},a=e.slice(1),i=a.filter(s=>s!==void 0);let o=0;for(let s=0;s<t.length;s+=1){const c=t[s];let l=a[s-o];if(c.chained&&c.rest&&o&&(l=a.slice(s-o,s+1).filter(f=>f).join("/"),o=0),l===void 0)if(c.rest)l="";else continue;if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const f=t[s+1],h=a[s+1];f&&!f.rest&&f.optional&&h&&c.chained&&(o=0),!f&&!h&&Object.keys(r).length===i.length&&(o=0);continue}if(c.optional&&c.chained){o++;continue}return}if(!o)return r}function pe(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Lt({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([s,[c,l,f]])=>{const{pattern:h,params:v}=Et(s),u={id:s,exec:p=>{const _=h.exec(p);if(_)return xt(_,v,r)},errors:[1,...f||[]].map(p=>e[p]),layouts:[0,...l||[]].map(o),leaf:i(c)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function i(s){const c=s<0;return c&&(s=~s),[c,e[s]]}function o(s){return s===void 0?s:[a.has(s),e[s]]}}function Ge(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function De(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const x=globalThis.__sveltekit_1hrvmuv?.base??"",Ut=globalThis.__sveltekit_1hrvmuv?.assets??x??"",At="1771689632534",We="sveltekit:snapshot",Ye="sveltekit:scroll",ze="sveltekit:states",Tt="sveltekit:pageurl",B="sveltekit:history",W="sveltekit:navigation",j={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},le=location.origin;function Le(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function D(){return{x:pageXOffset,y:pageYOffset}}function V(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const qe={...j,"":j.hover};function He(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function Je(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=He(e)}}function _e(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 s=location.hash.split("#")[1]||"/";r.hash=`#${s}${r.hash}`}}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,i=!r||!!a||ue(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),o=r?.origin===le&&e.hasAttribute("download");return{url:r,external:i,target:a,download:o}}function te(e){let t=null,n=null,r=null,a=null,i=null,o=null,s=e;for(;s&&s!==document.documentElement;)r===null&&(r=V(s,"preload-code")),a===null&&(a=V(s,"preload-data")),t===null&&(t=V(s,"keepfocus")),n===null&&(n=V(s,"noscroll")),i===null&&(i=V(s,"reload")),o===null&&(o=V(s,"replacestate")),s=He(s);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:qe[r??"off"],preload_data:qe[a??"off"],keepfocus:c(t),noscroll:c(n),reload:c(i),replace_state:c(o)}}function Ve(e){const t=ke(e);let n=!0;function r(){n=!0,t.update(o=>o)}function a(o){n=!1,t.set(o)}function i(o){let s;return t.subscribe(c=>{(s===void 0||n&&c!==s)&&o(s=c)})}return{notify:r,set:a,subscribe:i}}const Xe={v:()=>{}};function It(){const{set:e,subscribe:t}=ke(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Ut}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const o=(await a.json()).version!==At;return o&&(e(!0),Xe.v(),clearTimeout(n)),o}catch{return!1}}return{subscribe:t,check:r}}function ue(e,t,n){return e.origin!==le||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function on(e){}const Qe=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...Qe];const Pt=new Set([...Qe]);[...Pt];function Ot(e){return e.filter(t=>t!=null)}function Ue(e){return e instanceof Ee||e instanceof Re?e.status:500}function $t(e){return e instanceof Re?e.text:"Internal Error"}let k,Y,ge;const Ct=Ne.toString().includes("$$")||/function \w+\(\) \{\}/.test(Ne.toString());Ct?(k={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},Y={current:null},ge={current:!1}):(k=new class{#e=U({});get data(){return A(this.#e)}set data(t){T(this.#e,t)}#t=U(null);get form(){return A(this.#t)}set form(t){T(this.#t,t)}#n=U(null);get error(){return A(this.#n)}set error(t){T(this.#n,t)}#r=U({});get params(){return A(this.#r)}set params(t){T(this.#r,t)}#a=U({id:null});get route(){return A(this.#a)}set route(t){T(this.#a,t)}#o=U({});get state(){return A(this.#o)}set state(t){T(this.#o,t)}#s=U(-1);get status(){return A(this.#s)}set status(t){T(this.#s,t)}#i=U(new URL("https://example.com"));get url(){return A(this.#i)}set url(t){T(this.#i,t)}},Y=new class{#e=U(null);get current(){return A(this.#e)}set current(t){T(this.#e,t)}},ge=new class{#e=U(!1);get current(){return A(this.#e)}set current(t){T(this.#e,t)}},Xe.v=()=>ge.current=!0);function jt(e){Object.assign(k,e)}const Nt=new Set(["icon","shortcut icon","apple-touch-icon"]),C=Ge(Ye)??{},z=Ge(We)??{},$={url:Ve({}),page:Ve({}),navigating:ke(null),updated:It()};function Ae(e){C[e]=D()}function Dt(e,t){let n=e+1;for(;C[n];)delete C[n],n+=1;for(n=t+1;z[n];)delete z[n],n+=1}function H(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(()=>{})}async function Ze(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(x||"/");e&&await e.update()}}function Be(){}let Te,ve,ne,I,we,y;const re=[],ae=[];let L=null;function ye(){L?.fork?.then(e=>e?.discard()),L=null}const Z=new Map,et=new Set,qt=new Set,G=new Set;let m={branch:[],error:null,url:null},tt=!1,oe=!1,Ke=!0,J=!1,F=!1,nt=!1,Ie=!1,rt,w,R,N;const se=new Set,Fe=new Map;async function un(e,t,n){globalThis.__sveltekit_1hrvmuv?.data&&globalThis.__sveltekit_1hrvmuv.data,document.URL!==location.href&&(location.href=location.href),y=e,await e.hooks.init?.(),Te=Lt(e),I=document.documentElement,we=t,ve=e.nodes[0],ne=e.nodes[1],ve(),ne(),w=history.state?.[B],R=history.state?.[W],w||(w=R=Date.now(),history.replaceState({...history.state,[B]:w,[W]:R},""));const r=C[w];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await Qt(we,n)):(await K({type:"enter",url:Le(y.hash?tn(new URL(location.href)):location.href),replace_state:!0}),a()),Xt()}function Vt(){re.length=0,Ie=!1}function at(e){ae.some(t=>t?.snapshot)&&(z[e]=ae.map(t=>t?.snapshot?.capture()))}function ot(e){z[e]?.forEach((t,n)=>{ae[n]?.snapshot?.restore(t)})}function Me(){Ae(w),De(Ye,C),at(R),De(We,z)}async function st(e,t,n,r){let a;t.invalidateAll&&ye(),await K({type:"goto",url:Le(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(Ie=!0,a=[...Fe.keys()]),t.invalidate&&t.invalidate.forEach(Jt)}}),t.invalidateAll&&ee().then(ee).then(()=>{Fe.forEach(({resource:i},o)=>{a?.includes(o)&&i.refresh?.()})})}async function Bt(e){if(e.id!==L?.id){ye();const t={};se.add(t),L={id:e.id,token:t,promise:ct({...e,preload:t}).then(n=>(se.delete(t),n.type==="loaded"&&n.state.error&&ye(),n)),fork:null}}return L.promise}async function me(e){const t=(await fe(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(n=>n[1]()))}async function it(e,t,n){m=e.state;const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(k,e.props.page),rt=new y.root({target:t,props:{...e.props,stores:$,components:ae},hydrate:n,sync:!1}),await Promise.resolve(),ot(R),n){const a={from:null,to:{params:m.params,route:{id:m.route?.id??null},url:new URL(location.href),scroll:C[w]??D()},willUnload:!1,type:"enter",complete:Promise.resolve()};G.forEach(i=>i(a))}oe=!0}function ie({url:e,params:t,branch:n,status:r,error:a,route:i,form:o}){let s="never";if(x&&(e.pathname===x||e.pathname===x+"/"))s="always";else for(const u of n)u?.slash!==void 0&&(s=u.slash);e.pathname=pt(e.pathname,s),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:a,route:i},props:{constructors:Ot(n).map(u=>u.node.component),page:je(k)}};o!==void 0&&(c.props.form=o);let l={},f=!k,h=0;for(let u=0;u<Math.max(n.length,m.branch.length);u+=1){const p=n[u],_=m.branch[u];p?.data!==_?.data&&(f=!0),p&&(l={...l,...p.data},f&&(c.props[`data_${h}`]=l),h+=1)}return(!m.url||e.href!==m.url.href||m.error!==a||o!==void 0&&o!==k.form||f)&&(c.props.page={error:a,params:t,route:{id:i?.id??null},state:{},status:r,url:new URL(e),form:o??null,data:f?l:k.data}),c}async function Pe({loader:e,parent:t,url:n,params:r,route:a,server_data_node:i}){let o=null;const s={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:o,uses:s}:null,data:o??i?.data??null,slash:c.universal?.trailingSlash??i?.slash}}function Kt(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=oe?bt(r,a.href,t):yt(r,t);return{resolved:a,promise:i}}function Ft(e,t,n,r,a,i){if(Ie)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&n)return!0;for(const o of a.search_params)if(r.has(o))return!0;for(const o of a.params)if(i[o]!==m.params[o])return!0;for(const o of a.dependencies)if(re.some(s=>s(new URL(o))))return!0;return!1}function Oe(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function Mt(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(o=>i.includes(o))&&i.every(o=>a.includes(o))&&n.delete(r)}return n}function Gt({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:je(k),constructors:[]}}}async function ct({id:e,invalidating:t,url:n,params:r,route:a,preload:i}){if(L?.id===e)return se.delete(L.token),L.promise;const{errors:o,layouts:s,leaf:c}=a,l=[...s,c];o.forEach(g=>g?.().catch(()=>{})),l.forEach(g=>g?.[1]().catch(()=>{}));const f=m.url?e!==ce(m.url):!1,h=m.route?a.id!==m.route.id:!1,v=Mt(m.url,n);let u=!1;const p=l.map(async(g,d)=>{if(!g)return;const E=m.branch[d];return g[1]===E?.loader&&!Ft(u,h,f,v,E.universal?.uses,r)?E:(u=!0,Pe({loader:g[1],url:n,params:r,route:a,parent:async()=>{const P={};for(let O=0;O<d;O+=1)Object.assign(P,(await p[O])?.data);return P},server_data_node:Oe(g[0]?{type:"skip"}:null,g[0]?E?.server:void 0)}))});for(const g of p)g.catch(()=>{});const _=[];for(let g=0;g<l.length;g+=1)if(l[g])try{_.push(await p[g])}catch(d){if(d instanceof Se)return{type:"redirect",location:d.location};if(se.has(i))return Gt({error:await X(d,{params:r,url:n,route:{id:a.id}}),url:n,params:r,route:a});let E=Ue(d),S;if(d instanceof Ee)S=d.body;else{if(await $.updated.check())return await Ze(),await H(n);S=await X(d,{params:r,url:n,route:{id:a.id}})}const P=await Wt(g,_,o);return P?ie({url:n,params:r,branch:_.slice(0,P.idx).concat(P.node),status:E,error:S,route:a}):await ut(n,{id:a.id},S,E)}else _.push(void 0);return ie({url:n,params:r,branch:_,status:200,error:null,route:a,form:t?void 0:null})}async function Wt(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 $e({status:e,error:t,url:n,route:r}){const a={};let i=null;try{const o=await Pe({loader:ve,url:n,params:a,route:r,parent:()=>Promise.resolve({}),server_data_node:Oe(i)}),s={node:await ne(),loader:ne,universal:null,server:null,data:null};return ie({url:n,params:a,branch:[o,s],status:e,error:t,route:null})}catch(o){if(o instanceof Se)return st(new URL(o.location,location.href),{},0);throw o}}async function Yt(e){const t=e.href;if(Z.has(t))return Z.get(t);let n;try{const r=(async()=>{let a=await y.hooks.reroute({url:new URL(e),fetch:async(i,o)=>Kt(i,o,e).promise})??e;if(typeof a=="string"){const i=new URL(e);y.hash?i.hash=a:i.pathname=a,a=i}return a})();Z.set(t,r),n=await r}catch{Z.delete(t);return}return n}async function fe(e,t){if(e&&!ue(e,x,y.hash)){const n=await Yt(e);if(!n)return;const r=zt(n);for(const a of Te){const i=a.exec(r);if(i)return{id:ce(e),invalidating:t,route:a,params:mt(i),url:e}}}}function zt(e){return gt(y.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(x.length))||"/"}function ce(e){return(y.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function lt({url:e,type:t,intent:n,delta:r,event:a,scroll:i}){let o=!1;const s=Ce(m,n,e,t,i??null);r!==void 0&&(s.navigation.delta=r),a!==void 0&&(s.navigation.event=a);const c={...s.navigation,cancel:()=>{o=!0,s.reject(new Error("navigation cancelled"))}};return J||et.forEach(l=>l(c)),o?null:s}async function K({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:i,state:o={},redirect_count:s=0,nav_token:c={},accept:l=Be,block:f=Be,event:h}){const v=N;N=c;const u=await fe(t,!1),p=e==="enter"?Ce(m,u,t,e):lt({url:t,type:e,delta:n?.delta,intent:u,scroll:n?.scroll,event:h});if(!p){f(),N===c&&(N=v);return}const _=w,g=R;l(),J=!0,oe&&p.navigation.type!=="enter"&&$.navigating.set(Y.current=p.navigation);let d=u&&await ct(u);if(!d){if(ue(t,x,y.hash))return await H(t,i);d=await ut(t,{id:null},await X(new Re(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,i)}if(t=u?.url||t,N!==c)return p.reject(new Error("navigation aborted")),!1;if(d.type==="redirect"){if(s<20){await K({type:e,url:new URL(d.location,t),popped:n,keepfocus:r,noscroll:a,replace_state:i,state:o,redirect_count:s+1,nav_token:c}),p.fulfil(void 0);return}d=await $e({status:500,error:await X(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else d.props.page.status>=400&&await $.updated.check()&&(await Ze(),await H(t,i));if(Vt(),Ae(_),at(g),d.props.page.url.pathname!==t.pathname&&(t.pathname=d.props.page.url.pathname),o=n?n.state:o,!n){const b=i?0:1,Q={[B]:w+=b,[W]:R+=b,[ze]:o};(i?history.replaceState:history.pushState).call(history,Q,"",t),i||Dt(w,R)}const E=u&&L?.id===u.id?L.fork:null;L=null,d.props.page.state=o;let S;if(oe){const b=(await Promise.all(Array.from(qt,q=>q(p.navigation)))).filter(q=>typeof q=="function");if(b.length>0){let q=function(){b.forEach(de=>{G.delete(de)})};b.push(q),b.forEach(de=>{G.add(de)})}m=d.state,d.props.page&&(d.props.page.url=t);const Q=E&&await E;Q?S=Q.commit():(rt.$set(d.props),jt(d.props.page),S=ht?.()),nt=!0}else await it(d,we,!1);const{activeElement:P}=document;await S,await ee(),await ee();let O=null;if(Ke){const b=n?n.scroll:a?D():null;b?scrollTo(b.x,b.y):(O=t.hash&&document.getElementById(ft(t)))?O.scrollIntoView():scrollTo(0,0)}const dt=document.activeElement!==P&&document.activeElement!==document.body;!r&&!dt&&en(t,!O),Ke=!0,d.props.page&&Object.assign(k,d.props.page),J=!1,e==="popstate"&&ot(R),p.fulfil(void 0),p.navigation.to&&(p.navigation.to.scroll=D()),G.forEach(b=>b(p.navigation)),$.navigating.set(Y.current=null)}async function ut(e,t,n,r,a){return e.origin===le&&e.pathname===location.pathname&&!tt?await $e({status:r,error:n,url:e,route:t}):await H(e,a)}function Ht(){let e,t={element:void 0,href:void 0},n;I.addEventListener("mousemove",s=>{const c=s.target;clearTimeout(e),e=setTimeout(()=>{i(c,j.hover)},20)});function r(s){s.defaultPrevented||i(s.composedPath()[0],j.tap)}I.addEventListener("mousedown",r),I.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(s=>{for(const c of s)c.isIntersecting&&(me(new URL(c.target.href)),a.unobserve(c.target))},{threshold:0});async function i(s,c){const l=Je(s,I),f=l===t.element&&l?.href===t.href&&c>=n;if(!l||f)return;const{url:h,external:v,download:u}=_e(l,x,y.hash);if(v||u)return;const p=te(l),_=h&&ce(m.url)===ce(h);if(!(p.reload||_))if(c<=p.preload_data){t={element:l,href:l.href},n=j.tap;const g=await fe(h,!1);if(!g)return;Bt(g)}else c<=p.preload_code&&(t={element:l,href:l.href},n=c,me(h))}function o(){a.disconnect();for(const s of I.querySelectorAll("a")){const{url:c,external:l,download:f}=_e(s,x,y.hash);if(l||f)continue;const h=te(s);h.reload||(h.preload_code===j.viewport&&a.observe(s),h.preload_code===j.eager&&me(c))}}G.add(o),o()}function X(e,t){if(e instanceof Ee)return e.body;const n=Ue(e),r=$t(e);return y.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function fn(e,t={}){return e=new URL(Le(e)),e.origin!==le?Promise.reject(new Error("goto: invalid URL")):st(e,t,0)}function Jt(e){if(typeof e=="function")re.push(e);else{const{href:t}=new URL(e,location.href);re.push(n=>n.href===t)}}function Xt(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(Me(),!J){const r=Ce(m,void 0,null,"leave"),a={...r.navigation,cancel:()=>{n=!0,r.reject(new Error("navigation cancelled"))}};et.forEach(i=>i(a))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Me()}),navigator.connection?.saveData||Ht(),I.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=Je(t.composedPath()[0],I);if(!n)return;const{url:r,external:a,target:i,download:o}=_e(n,x,y.hash);if(!r)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const s=te(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||o)return;const[l,f]=(y.hash?r.hash.replace(/^#/,""):r.href).split("#"),h=l===he(location);if(a||s.reload&&(!h||!f)){lt({url:r,type:"link",event:t})?J=!0:t.preventDefault();return}if(f!==void 0&&h){const[,v]=m.url.href.split("#");if(v===f){if(t.preventDefault(),f===""||f==="top"&&n.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const u=n.ownerDocument.getElementById(decodeURIComponent(f));u&&(u.scrollIntoView(),u.focus())}return}if(F=!0,Ae(w),e(r),!s.replace_state)return;F=!1}t.preventDefault(),await new Promise(v=>{requestAnimationFrame(()=>{setTimeout(v,0)}),setTimeout(v,100)}),await K({type:"link",url:r,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.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 o=new URL(r?.hasAttribute("formaction")&&r?.formAction||n.action);if(ue(o,x,!1))return;const s=t.target,c=te(s);if(c.reload)return;t.preventDefault(),t.stopPropagation();const l=new FormData(s,r);o.search=new URLSearchParams(l).toString(),K({type:"form",url:o,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??o.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!be){if(t.state?.[B]){const n=t.state[B];if(N={},n===w)return;const r=C[n],a=t.state[ze]??{},i=new URL(t.state[Tt]??location.href),o=t.state[W],s=m.url?he(location)===he(m.url):!1;if(o===R&&(nt||s)){a!==k.state&&(k.state=a),e(i),C[w]=D(),r&&scrollTo(r.x,r.y),w=n;return}const l=n-w;await K({type:"popstate",url:i,popped:{state:a,scroll:r,delta:l},accept:()=>{w=n,R=o},block:()=>{history.go(-l)},nav_token:N,event:t})}else if(!F){const n=new URL(location.href);e(n),y.hash&&location.reload()}}}),addEventListener("hashchange",()=>{F&&(F=!1,history.replaceState({...history.state,[B]:++w,[W]:R},"",location.href))});for(const t of document.querySelectorAll("link"))Nt.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&$.navigating.set(Y.current=null)});function e(t){m.url=k.url=t,$.page.set(je(k)),$.page.notify()}}async function Qt(e,{status:t=200,error:n,node_ids:r,params:a,route:i,server_route:o,data:s,form:c}){tt=!0;const l=new URL(location.href);let f;({params:a={},route:i={id:null}}=await fe(l,!1)||{}),f=Te.find(({id:u})=>u===i.id);let h,v=!0;try{const u=r.map(async(_,g)=>{const d=s[g];return d?.uses&&(d.uses=Zt(d.uses)),Pe({loader:y.nodes[_],url:l,params:a,route:i,parent:async()=>{const E={};for(let S=0;S<g;S+=1)Object.assign(E,(await u[S]).data);return E},server_data_node:Oe(d)})}),p=await Promise.all(u);if(f){const _=f.layouts;for(let g=0;g<_.length;g++)_[g]||p.splice(g,0,void 0)}h=ie({url:l,params:a,branch:p,status:t,error:n,form:c,route:f??null})}catch(u){if(u instanceof Se){await H(new URL(u.location,location.href));return}h=await $e({status:Ue(u),error:await X(u,{url:l,params:a,route:i}),url:l,route:i}),e.textContent="",v=!1}h.props.page&&(h.props.page.state={}),await it(h,e,v)}function Zt(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let be=!1;function en(e,t=!0){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const r=ft(e);if(r&&document.getElementById(r)){const{x:i,y:o}=D();setTimeout(()=>{const s=history.state;be=!0,location.replace(new URL(`#${r}`,location.href)),history.replaceState(s,"",e),t&&scrollTo(i,o),be=!1})}else{const i=document.body,o=i.getAttribute("tabindex");i.tabIndex=-1,i.focus({preventScroll:!0,focusVisible:!1}),o!==null?i.setAttribute("tabindex",o):i.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const i=[];for(let o=0;o<a.rangeCount;o+=1)i.push(a.getRangeAt(o));setTimeout(()=>{if(a.rangeCount===i.length){for(let o=0;o<a.rangeCount;o+=1){const s=i[o],c=a.getRangeAt(o);if(s.commonAncestorContainer!==c.commonAncestorContainer||s.startContainer!==c.startContainer||s.endContainer!==c.endContainer||s.startOffset!==c.startOffset||s.endOffset!==c.endOffset)return}a.removeAllRanges()}})}}}function Ce(e,t,n,r,a=null){let i,o;const s=new Promise((l,f)=>{i=l,o=f});return s.catch(()=>{}),{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:s},fulfil:i,reject:o}}function je(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function tn(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function ft(e){let t;if(y.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{un as a,fn as g,on as l,k as p,$ as s};
@@ -1,2 +1,2 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.CJT0Xxdx.js","../chunks/B2A7gHtL.js","../chunks/qR_TM3YX.js","../chunks/CyMYiLoa.js","../chunks/DpBBTLWw.js","../chunks/BhtVncI_.js","../chunks/Be_uRYmX.js","../chunks/9SZhwvK0.js","../chunks/CktI4lAE.js","../chunks/KBP0Pl-D.js","../chunks/nnazh41B.js","../chunks/BYXRTvT-.js","../chunks/CkAYskLX.js","../chunks/B3DkuU-J.js","../chunks/BiSHrnLa.js","../chunks/B-drBnSa.js","../assets/0.z0sOcqs9.css","../nodes/1.BUWlSfxE.js","../nodes/2.Zm6j08A_.js","../chunks/BocS-uwo.js","../chunks/CXQ1lKJR.js","../chunks/jyaC7jQ0.js","../chunks/tr5b7CMr.js","../chunks/DPrxUVm_.js","../assets/2.D5MMRphb.css","../nodes/3.om6ap7s5.js","../chunks/DVP7Iy08.js","../nodes/4.C7I3arj2.js","../assets/4.Cst5sby_.css","../nodes/5.PRkSVQb-.js","../nodes/6.DXFMFV_g.js","../nodes/7.pxR8f42V.js","../nodes/8.BjB_sfx0.js","../nodes/9.M8OWsIew.js","../nodes/10.BuHCBw2C.js","../nodes/11.DaM8Z72M.js","../nodes/12.DctBvrnI.js","../nodes/13.CFlpuIKq.js","../nodes/14.DOWskc3T.js","../nodes/15.Bv1kE6xT.js","../nodes/16.CPH_dMUA.js","../nodes/17.Gpl84s2Y.js"])))=>i.map(i=>d[i]);
2
- import{B as G,i as y,_ as a}from"../chunks/DpBBTLWw.js";import{x,ak as Z,H as q,Y as z,al as J,ao as K,N as Q,M as k,am as U,O as W,d as O,a5 as X,g as u,ap as $,Z as tt,_ as et,p as rt,R as at,u as st,F as ot,j as R,f as nt,c as it,s as T,h as _t,r as mt,t as ut,i as A}from"../chunks/qR_TM3YX.js";import{h as ct,m as dt,u as lt,b as h,e as b,f as w,t as ft,s as vt}from"../chunks/B2A7gHtL.js";import{o as ht}from"../chunks/B-drBnSa.js";import{b as D}from"../chunks/BYXRTvT-.js";import{p as I}from"../chunks/CkAYskLX.js";function L(o,t,s){var i;x&&(i=W,Z());var n=new G(o);q(()=>{var e=t()??null;if(x){var r=J(i),m=r===U,P=e!==null;if(m!==P){var g=K();Q(g),n.anchor=g,k(!1),n.ensure(e,e&&(f=>s(f,e))),k(!0);return}}n.ensure(e,e&&(f=>s(f,e)))},z)}function gt(o){return class extends Et{constructor(t){super({component:o,...t})}}}class Et{#e;#t;constructor(t){var s=new Map,i=(e,r)=>{var m=et(r,!1,!1);return s.set(e,m),m};const n=new Proxy({...t.props||{},$$events:{}},{get(e,r){return u(s.get(r)??i(r,Reflect.get(e,r)))},has(e,r){return r===X?!0:(u(s.get(r)??i(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,m){return O(s.get(r)??i(r,m),m),Reflect.set(e,r,m)}});this.#t=(t.hydrate?ct:dt)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&$(),this.#e=n.$$events;for(const e of Object.keys(this.#t))e==="$set"||e==="$destroy"||e==="$on"||tt(this,e,{get(){return this.#t[e]},set(r){this.#t[e]=r},enumerable:!0});this.#t.$set=e=>{Object.assign(n,e)},this.#t.$destroy=()=>{lt(this.#t)}}$set(t){this.#t.$set(t)}$on(t,s){this.#e[t]=this.#e[t]||[];const i=(...n)=>s.call(this,...n);return this.#e[t].push(i),()=>{this.#e[t]=this.#e[t].filter(n=>n!==i)}}$destroy(){this.#t.$destroy()}}const Vt={};var pt=w('<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>'),Rt=w("<!> <!>",1);function Ot(o,t){rt(t,!0);let s=I(t,"components",23,()=>[]),i=I(t,"data_0",3,null),n=I(t,"data_1",3,null);at(()=>t.stores.page.set(t.page)),st(()=>{t.stores,t.page,t.constructors,s(),t.form,i(),n(),t.stores.page.notify()});let e=T(!1),r=T(!1),m=T(null);ht(()=>{const _=t.stores.page.subscribe(()=>{u(e)&&(O(r,!0),ot().then(()=>{O(m,document.title||"untitled page",!0)}))});return O(e,!0),_});const P=A(()=>t.constructors[1]);var g=Rt(),f=R(g);{var C=_=>{const c=A(()=>t.constructors[0]);var d=b(),E=R(d);L(E,()=>u(c),(l,v)=>{D(v(l,{get data(){return i()},get form(){return t.form},get params(){return t.page.params},children:(p,yt)=>{var V=b(),F=R(V);L(F,()=>u(P),(Y,B)=>{D(B(Y,{get data(){return n()},get form(){return t.form},get params(){return t.page.params}}),H=>s()[1]=H,()=>s()?.[1])}),h(p,V)},$$slots:{default:!0}}),p=>s()[0]=p,()=>s()?.[0])}),h(_,d)},S=_=>{const c=A(()=>t.constructors[0]);var d=b(),E=R(d);L(E,()=>u(c),(l,v)=>{D(v(l,{get data(){return i()},get form(){return t.form},get params(){return t.page.params}}),p=>s()[0]=p,()=>s()?.[0])}),h(_,d)};y(f,_=>{t.constructors[1]?_(C):_(S,!1)})}var M=nt(f,2);{var N=_=>{var c=pt(),d=_t(c);{var E=l=>{var v=ft();ut(()=>vt(v,u(m))),h(l,v)};y(d,l=>{u(r)&&l(E)})}mt(c),h(_,c)};y(M,_=>{u(e)&&_(N)})}h(o,g),it()}const xt=gt(Ot),kt=[()=>a(()=>import("../nodes/0.CJT0Xxdx.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]),import.meta.url),()=>a(()=>import("../nodes/1.BUWlSfxE.js"),__vite__mapDeps([17,1,2,9,14,13,15]),import.meta.url),()=>a(()=>import("../nodes/2.Zm6j08A_.js"),__vite__mapDeps([18,19,1,2,4,5,20,10,12,13,7,6,3,21,11,22,23,24]),import.meta.url),()=>a(()=>import("../nodes/3.om6ap7s5.js"),__vite__mapDeps([25,1,2,4,5,20,10,26,6,23]),import.meta.url),()=>a(()=>import("../nodes/4.C7I3arj2.js"),__vite__mapDeps([27,1,2,4,5,20,22,10,26,6,28]),import.meta.url),()=>a(()=>import("../nodes/5.PRkSVQb-.js"),__vite__mapDeps([29,1,2,4,5,20,6,23]),import.meta.url),()=>a(()=>import("../nodes/6.DXFMFV_g.js"),__vite__mapDeps([30,1,2,4,5,20,10,26,6]),import.meta.url),()=>a(()=>import("../nodes/7.pxR8f42V.js"),__vite__mapDeps([31,1,2,4,5,20,10,26,6]),import.meta.url),()=>a(()=>import("../nodes/8.BjB_sfx0.js"),__vite__mapDeps([32,1,2,4,5,20,10]),import.meta.url),()=>a(()=>import("../nodes/9.M8OWsIew.js"),__vite__mapDeps([33,1,2,4,5,20,22,6]),import.meta.url),()=>a(()=>import("../nodes/10.BuHCBw2C.js"),__vite__mapDeps([34,1,2,4,5,20,10,11]),import.meta.url),()=>a(()=>import("../nodes/11.DaM8Z72M.js"),__vite__mapDeps([35,1,2,4,5,20,10,26,6,23]),import.meta.url),()=>a(()=>import("../nodes/12.DctBvrnI.js"),__vite__mapDeps([36,1,2,4,5,20,10,6,23]),import.meta.url),()=>a(()=>import("../nodes/13.CFlpuIKq.js"),__vite__mapDeps([37,1,2,4,5,20,7,6]),import.meta.url),()=>a(()=>import("../nodes/14.DOWskc3T.js"),__vite__mapDeps([38,1,2,4,5,20,22,10,26,7,6,14,13,15]),import.meta.url),()=>a(()=>import("../nodes/15.Bv1kE6xT.js"),__vite__mapDeps([39,1,2,4,5,20,22,10,11,8,21,6]),import.meta.url),()=>a(()=>import("../nodes/16.CPH_dMUA.js"),__vite__mapDeps([40,1,2,4,5,20,10,26,6]),import.meta.url),()=>a(()=>import("../nodes/17.Gpl84s2Y.js"),__vite__mapDeps([41,1,2,4,5,20,22,10,26,6]),import.meta.url)],wt=[],jt={"/":[2],"/agents":[3],"/approvals":[4],"/channels":[5],"/config":[6],"/cron":[7],"/debug":[8],"/instances":[9],"/logs":[10],"/memory":[11],"/nodes":[12],"/overview":[13],"/sessions":[14],"/settings":[15],"/skills":[16],"/usage":[17]},j={handleError:(({error:o})=>{console.error(o)}),reroute:(()=>{}),transport:{}},Pt=Object.fromEntries(Object.entries(j.transport).map(([o,t])=>[o,t.decode])),Ct=Object.fromEntries(Object.entries(j.transport).map(([o,t])=>[o,t.encode])),St=!1,Mt=(o,t)=>Pt[o](t);export{Mt as decode,Pt as decoders,jt as dictionary,Ct as encoders,St as hash,j as hooks,Vt as matchers,kt as nodes,xt as root,wt as server_loads};
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.Dx9jJZSo.js","../chunks/B2A7gHtL.js","../chunks/qR_TM3YX.js","../chunks/CyMYiLoa.js","../chunks/DpBBTLWw.js","../chunks/BhtVncI_.js","../chunks/Be_uRYmX.js","../chunks/9SZhwvK0.js","../chunks/CktI4lAE.js","../chunks/KBP0Pl-D.js","../chunks/nnazh41B.js","../chunks/BYXRTvT-.js","../chunks/CkAYskLX.js","../chunks/B3DkuU-J.js","../chunks/Bf6c0cUg.js","../chunks/B-drBnSa.js","../assets/0.z0sOcqs9.css","../nodes/1.BL0sXqCf.js","../nodes/2.Zm6j08A_.js","../chunks/BocS-uwo.js","../chunks/CXQ1lKJR.js","../chunks/jyaC7jQ0.js","../chunks/tr5b7CMr.js","../chunks/DPrxUVm_.js","../assets/2.D5MMRphb.css","../nodes/3.om6ap7s5.js","../chunks/DVP7Iy08.js","../nodes/4.C7I3arj2.js","../assets/4.Cst5sby_.css","../nodes/5.PRkSVQb-.js","../nodes/6.DXFMFV_g.js","../nodes/7.pxR8f42V.js","../nodes/8.BjB_sfx0.js","../nodes/9.M8OWsIew.js","../nodes/10.BuHCBw2C.js","../nodes/11.DaM8Z72M.js","../nodes/12.DctBvrnI.js","../nodes/13.CFlpuIKq.js","../nodes/14.CDt16nEp.js","../nodes/15.Bv1kE6xT.js","../nodes/16.CPH_dMUA.js","../nodes/17.Gpl84s2Y.js"])))=>i.map(i=>d[i]);
2
+ import{B as G,i as y,_ as a}from"../chunks/DpBBTLWw.js";import{x,ak as Z,H as q,Y as z,al as J,ao as K,N as Q,M as k,am as U,O as W,d as O,a5 as X,g as u,ap as $,Z as tt,_ as et,p as rt,R as at,u as st,F as ot,j as R,f as nt,c as it,s as T,h as _t,r as mt,t as ut,i as A}from"../chunks/qR_TM3YX.js";import{h as ct,m as dt,u as lt,b as h,e as b,f as w,t as ft,s as vt}from"../chunks/B2A7gHtL.js";import{o as ht}from"../chunks/B-drBnSa.js";import{b as D}from"../chunks/BYXRTvT-.js";import{p as I}from"../chunks/CkAYskLX.js";function L(o,t,s){var i;x&&(i=W,Z());var n=new G(o);q(()=>{var e=t()??null;if(x){var r=J(i),m=r===U,P=e!==null;if(m!==P){var g=K();Q(g),n.anchor=g,k(!1),n.ensure(e,e&&(f=>s(f,e))),k(!0);return}}n.ensure(e,e&&(f=>s(f,e)))},z)}function gt(o){return class extends Et{constructor(t){super({component:o,...t})}}}class Et{#e;#t;constructor(t){var s=new Map,i=(e,r)=>{var m=et(r,!1,!1);return s.set(e,m),m};const n=new Proxy({...t.props||{},$$events:{}},{get(e,r){return u(s.get(r)??i(r,Reflect.get(e,r)))},has(e,r){return r===X?!0:(u(s.get(r)??i(r,Reflect.get(e,r))),Reflect.has(e,r))},set(e,r,m){return O(s.get(r)??i(r,m),m),Reflect.set(e,r,m)}});this.#t=(t.hydrate?ct:dt)(t.component,{target:t.target,anchor:t.anchor,props:n,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&$(),this.#e=n.$$events;for(const e of Object.keys(this.#t))e==="$set"||e==="$destroy"||e==="$on"||tt(this,e,{get(){return this.#t[e]},set(r){this.#t[e]=r},enumerable:!0});this.#t.$set=e=>{Object.assign(n,e)},this.#t.$destroy=()=>{lt(this.#t)}}$set(t){this.#t.$set(t)}$on(t,s){this.#e[t]=this.#e[t]||[];const i=(...n)=>s.call(this,...n);return this.#e[t].push(i),()=>{this.#e[t]=this.#e[t].filter(n=>n!==i)}}$destroy(){this.#t.$destroy()}}const Vt={};var pt=w('<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>'),Rt=w("<!> <!>",1);function Ot(o,t){rt(t,!0);let s=I(t,"components",23,()=>[]),i=I(t,"data_0",3,null),n=I(t,"data_1",3,null);at(()=>t.stores.page.set(t.page)),st(()=>{t.stores,t.page,t.constructors,s(),t.form,i(),n(),t.stores.page.notify()});let e=T(!1),r=T(!1),m=T(null);ht(()=>{const _=t.stores.page.subscribe(()=>{u(e)&&(O(r,!0),ot().then(()=>{O(m,document.title||"untitled page",!0)}))});return O(e,!0),_});const P=A(()=>t.constructors[1]);var g=Rt(),f=R(g);{var C=_=>{const c=A(()=>t.constructors[0]);var d=b(),E=R(d);L(E,()=>u(c),(l,v)=>{D(v(l,{get data(){return i()},get form(){return t.form},get params(){return t.page.params},children:(p,yt)=>{var V=b(),F=R(V);L(F,()=>u(P),(Y,B)=>{D(B(Y,{get data(){return n()},get form(){return t.form},get params(){return t.page.params}}),H=>s()[1]=H,()=>s()?.[1])}),h(p,V)},$$slots:{default:!0}}),p=>s()[0]=p,()=>s()?.[0])}),h(_,d)},S=_=>{const c=A(()=>t.constructors[0]);var d=b(),E=R(d);L(E,()=>u(c),(l,v)=>{D(v(l,{get data(){return i()},get form(){return t.form},get params(){return t.page.params}}),p=>s()[0]=p,()=>s()?.[0])}),h(_,d)};y(f,_=>{t.constructors[1]?_(C):_(S,!1)})}var M=nt(f,2);{var N=_=>{var c=pt(),d=_t(c);{var E=l=>{var v=ft();ut(()=>vt(v,u(m))),h(l,v)};y(d,l=>{u(r)&&l(E)})}mt(c),h(_,c)};y(M,_=>{u(e)&&_(N)})}h(o,g),it()}const xt=gt(Ot),kt=[()=>a(()=>import("../nodes/0.Dx9jJZSo.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16]),import.meta.url),()=>a(()=>import("../nodes/1.BL0sXqCf.js"),__vite__mapDeps([17,1,2,9,14,13,15]),import.meta.url),()=>a(()=>import("../nodes/2.Zm6j08A_.js"),__vite__mapDeps([18,19,1,2,4,5,20,10,12,13,7,6,3,21,11,22,23,24]),import.meta.url),()=>a(()=>import("../nodes/3.om6ap7s5.js"),__vite__mapDeps([25,1,2,4,5,20,10,26,6,23]),import.meta.url),()=>a(()=>import("../nodes/4.C7I3arj2.js"),__vite__mapDeps([27,1,2,4,5,20,22,10,26,6,28]),import.meta.url),()=>a(()=>import("../nodes/5.PRkSVQb-.js"),__vite__mapDeps([29,1,2,4,5,20,6,23]),import.meta.url),()=>a(()=>import("../nodes/6.DXFMFV_g.js"),__vite__mapDeps([30,1,2,4,5,20,10,26,6]),import.meta.url),()=>a(()=>import("../nodes/7.pxR8f42V.js"),__vite__mapDeps([31,1,2,4,5,20,10,26,6]),import.meta.url),()=>a(()=>import("../nodes/8.BjB_sfx0.js"),__vite__mapDeps([32,1,2,4,5,20,10]),import.meta.url),()=>a(()=>import("../nodes/9.M8OWsIew.js"),__vite__mapDeps([33,1,2,4,5,20,22,6]),import.meta.url),()=>a(()=>import("../nodes/10.BuHCBw2C.js"),__vite__mapDeps([34,1,2,4,5,20,10,11]),import.meta.url),()=>a(()=>import("../nodes/11.DaM8Z72M.js"),__vite__mapDeps([35,1,2,4,5,20,10,26,6,23]),import.meta.url),()=>a(()=>import("../nodes/12.DctBvrnI.js"),__vite__mapDeps([36,1,2,4,5,20,10,6,23]),import.meta.url),()=>a(()=>import("../nodes/13.CFlpuIKq.js"),__vite__mapDeps([37,1,2,4,5,20,7,6]),import.meta.url),()=>a(()=>import("../nodes/14.CDt16nEp.js"),__vite__mapDeps([38,1,2,4,5,20,22,10,26,7,6,14,13,15]),import.meta.url),()=>a(()=>import("../nodes/15.Bv1kE6xT.js"),__vite__mapDeps([39,1,2,4,5,20,22,10,11,8,21,6]),import.meta.url),()=>a(()=>import("../nodes/16.CPH_dMUA.js"),__vite__mapDeps([40,1,2,4,5,20,10,26,6]),import.meta.url),()=>a(()=>import("../nodes/17.Gpl84s2Y.js"),__vite__mapDeps([41,1,2,4,5,20,22,10,26,6]),import.meta.url)],wt=[],jt={"/":[2],"/agents":[3],"/approvals":[4],"/channels":[5],"/config":[6],"/cron":[7],"/debug":[8],"/instances":[9],"/logs":[10],"/memory":[11],"/nodes":[12],"/overview":[13],"/sessions":[14],"/settings":[15],"/skills":[16],"/usage":[17]},j={handleError:(({error:o})=>{console.error(o)}),reroute:(()=>{}),transport:{}},Pt=Object.fromEntries(Object.entries(j.transport).map(([o,t])=>[o,t.decode])),Ct=Object.fromEntries(Object.entries(j.transport).map(([o,t])=>[o,t.encode])),St=!1,Mt=(o,t)=>Pt[o](t);export{Mt as decode,Pt as decoders,jt as dictionary,Ct as encoders,St as hash,j as hooks,Vt as matchers,kt as nodes,xt as root,wt as server_loads};
@@ -0,0 +1 @@
1
+ import{l as o,a as r}from"../chunks/Bf6c0cUg.js";export{o as load_css,r as start};
@@ -1,4 +1,4 @@
1
- import{d as fe,b as l,f,s as Q,a as j,e as Le,g as _e,t as be}from"../chunks/B2A7gHtL.js";import{p as de,c as ve,r as t,h as a,f as r,g as e,t as V,a6 as Ae,s as I,a as Ee,u as re,d as o,j as oe,n as he,i as Oe,bd as je,b as He}from"../chunks/qR_TM3YX.js";import{s as Be,g as Ue}from"../chunks/CyMYiLoa.js";import{i as K}from"../chunks/DpBBTLWw.js";import{e as ce,s as ie,b as me,g as ke,r as ye,i as pe,l as Te,a as Se}from"../chunks/BhtVncI_.js";import{g as De}from"../chunks/9SZhwvK0.js";import{g as Ce}from"../chunks/Be_uRYmX.js";import{g as Ve,a as Ie}from"../chunks/CktI4lAE.js";import{i as Ke}from"../chunks/KBP0Pl-D.js";import{b as we}from"../chunks/nnazh41B.js";import{b as Re}from"../chunks/BYXRTvT-.js";import{p as ge,s as Pe,a as qe}from"../chunks/CkAYskLX.js";import{s as Ne,g as ze}from"../chunks/BiSHrnLa.js";const We=!1,Ge=!1,Jt=Object.freeze(Object.defineProperty({__proto__:null,prerender:We,ssr:Ge},Symbol.toStringTag,{value:"Module"}));var Ye=f('<p class="text-xs text-text-secondary mt-1"> </p>'),$e=f('<div role="alert"><div class="flex items-start gap-3"><div class="flex-shrink-0 w-5 h-5 mt-0.5"><svg class="w-full h-full" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"></path></svg></div> <div class="flex-1 min-w-0"><p class="text-sm font-medium text-text-primary"> </p> <!></div> <button class="flex-shrink-0 ml-auto p-1 rounded hover:bg-bg-hover text-text-muted hover:text-text-primary transition-colors" aria-label="Close notification"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></button></div></div>'),Fe=f('<div class="fixed bottom-4 right-4 z-50 space-y-2 max-w-sm" aria-live="polite" aria-relevant="additions removals"></div>');function Xe(R,O){de(O,!1);const m=Ce(),P={success:{color:"bg-accent-green border-accent-green",glow:"glow-green",icon:"M5 13l4 4L19 7"},error:{color:"bg-accent-red border-accent-red",glow:"glow-red",icon:"M6 18L18 6M6 6l12 12"},warning:{color:"bg-accent-amber border-accent-amber",glow:"glow-amber",icon:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L3.732 16.5c-.77.833.192 2.5 1.732 2.5z"},info:{color:"bg-accent-cyan border-accent-cyan",glow:"glow-cyan",icon:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}};Ke();var y=Fe();ce(y,5,()=>m.list,v=>v.id,(v,n)=>{const u=Ae(()=>P[e(n).type]);var x=$e(),S=a(x),k=a(S),C=a(k),H=a(C);t(C),t(k);var U=r(k,2),T=a(U),Z=a(T,!0);t(T);var q=r(T,2);{var Y=g=>{var s=Ye(),p=a(s,!0);t(s),V(()=>Q(p,e(n).message)),l(g,s)};K(q,g=>{e(n).message&&g(Y)})}t(U);var ee=r(U,2);t(S),t(x),V(()=>{ie(x,1,`gradient-border glass p-4 rounded-lg shadow-lg ${e(u).color??""} ${e(u).glow??""} animate-in slide-in-from-right-full duration-300`,"svelte-cqwvc2"),me(H,"d",e(u).icon),Q(Z,e(n).title)}),j("click",ee,()=>m.remove(e(n).id)),l(v,x)}),t(y),l(R,y),ve()}fe(["click"]);var Je=f(`<div><label for="gateway-token" class="block text-sm font-medium text-text-secondary mb-2">Access Token <span class="text-text-muted font-normal">(optional)</span></label> <input id="gateway-token" type="password" placeholder="Leave empty to use device pairing" class="w-full px-3 py-2 rounded-lg glass border border-border-default bg-bg-secondary
1
+ import{d as fe,b as l,f,s as Q,a as j,e as Le,g as _e,t as be}from"../chunks/B2A7gHtL.js";import{p as de,c as ve,r as t,h as a,f as r,g as e,t as V,a6 as Ae,s as I,a as Ee,u as re,d as o,j as oe,n as he,i as Oe,bd as je,b as He}from"../chunks/qR_TM3YX.js";import{s as Be,g as Ue}from"../chunks/CyMYiLoa.js";import{i as K}from"../chunks/DpBBTLWw.js";import{e as ce,s as ie,b as me,g as ke,r as ye,i as pe,l as Te,a as Se}from"../chunks/BhtVncI_.js";import{g as De}from"../chunks/9SZhwvK0.js";import{g as Ce}from"../chunks/Be_uRYmX.js";import{g as Ve,a as Ie}from"../chunks/CktI4lAE.js";import{i as Ke}from"../chunks/KBP0Pl-D.js";import{b as we}from"../chunks/nnazh41B.js";import{b as Re}from"../chunks/BYXRTvT-.js";import{p as ge,s as Pe,a as qe}from"../chunks/CkAYskLX.js";import{s as Ne,g as ze}from"../chunks/Bf6c0cUg.js";const We=!1,Ge=!1,Jt=Object.freeze(Object.defineProperty({__proto__:null,prerender:We,ssr:Ge},Symbol.toStringTag,{value:"Module"}));var Ye=f('<p class="text-xs text-text-secondary mt-1"> </p>'),$e=f('<div role="alert"><div class="flex items-start gap-3"><div class="flex-shrink-0 w-5 h-5 mt-0.5"><svg class="w-full h-full" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"></path></svg></div> <div class="flex-1 min-w-0"><p class="text-sm font-medium text-text-primary"> </p> <!></div> <button class="flex-shrink-0 ml-auto p-1 rounded hover:bg-bg-hover text-text-muted hover:text-text-primary transition-colors" aria-label="Close notification"><svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></button></div></div>'),Fe=f('<div class="fixed bottom-4 right-4 z-50 space-y-2 max-w-sm" aria-live="polite" aria-relevant="additions removals"></div>');function Xe(R,O){de(O,!1);const m=Ce(),P={success:{color:"bg-accent-green border-accent-green",glow:"glow-green",icon:"M5 13l4 4L19 7"},error:{color:"bg-accent-red border-accent-red",glow:"glow-red",icon:"M6 18L18 6M6 6l12 12"},warning:{color:"bg-accent-amber border-accent-amber",glow:"glow-amber",icon:"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L3.732 16.5c-.77.833.192 2.5 1.732 2.5z"},info:{color:"bg-accent-cyan border-accent-cyan",glow:"glow-cyan",icon:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"}};Ke();var y=Fe();ce(y,5,()=>m.list,v=>v.id,(v,n)=>{const u=Ae(()=>P[e(n).type]);var x=$e(),S=a(x),k=a(S),C=a(k),H=a(C);t(C),t(k);var U=r(k,2),T=a(U),Z=a(T,!0);t(T);var q=r(T,2);{var Y=g=>{var s=Ye(),p=a(s,!0);t(s),V(()=>Q(p,e(n).message)),l(g,s)};K(q,g=>{e(n).message&&g(Y)})}t(U);var ee=r(U,2);t(S),t(x),V(()=>{ie(x,1,`gradient-border glass p-4 rounded-lg shadow-lg ${e(u).color??""} ${e(u).glow??""} animate-in slide-in-from-right-full duration-300`,"svelte-cqwvc2"),me(H,"d",e(u).icon),Q(Z,e(n).title)}),j("click",ee,()=>m.remove(e(n).id)),l(v,x)}),t(y),l(R,y),ve()}fe(["click"]);var Je=f(`<div><label for="gateway-token" class="block text-sm font-medium text-text-secondary mb-2">Access Token <span class="text-text-muted font-normal">(optional)</span></label> <input id="gateway-token" type="password" placeholder="Leave empty to use device pairing" class="w-full px-3 py-2 rounded-lg glass border border-border-default bg-bg-secondary
2
2
  text-text-primary placeholder-text-muted
3
3
  focus:outline-none focus:border-accent-cyan focus:glow-cyan
4
4
  transition-all duration-200"/> <p class="text-xs text-text-muted mt-1">If provided, connects immediately. If empty, your gateway owner will need to approve this device.</p></div>`),Qe=f('<button type="button" class="text-xs text-text-muted hover:text-accent-cyan transition-colors flex items-center gap-1"><svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path></svg> I have an access token</button>'),Ze=f('<div class="p-3 rounded-lg border border-accent-amber/30 bg-accent-amber/10" role="status"><div class="flex items-start gap-2"><svg class="w-5 h-5 text-accent-amber flex-shrink-0 animate-pulse mt-0.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg> <div><p class="text-sm font-medium text-accent-amber">Device Pairing Required</p> <p class="text-xs text-text-muted mt-1">Your gateway owner needs to approve this device. Ask them to run:</p> <code class="block text-xs font-mono text-accent-cyan bg-bg-primary/50 px-2 py-1 rounded mt-1">openclaw devices approve</code></div></div></div>'),et=f('<div class="p-3 rounded-lg border border-accent-red/30 bg-accent-red/10 glow-red" role="alert" aria-live="assertive"><div class="flex items-center gap-2"><svg class="w-4 h-4 text-accent-red flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-2.5L13.732 4c-.77-.833-1.964-.833-2.732 0L3.732 16.5c-.77.833.192 2.5 1.732 2.5z"></path></svg> <p class="text-sm text-accent-red"> </p></div></div>'),tt=f('<div class="flex items-center justify-center gap-2"><svg class="w-4 h-4 animate-spin" fill="none" viewBox="0 0 24 24"><circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle><path class="opacity-75" fill="currentColor" d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"></path></svg> Connecting...</div>'),at=f(`<div class="fixed inset-0 z-50 flex items-center justify-center p-4 bg-black/60 backdrop-blur-sm" role="dialog" aria-modal="true" aria-labelledby="auth-dialog-title"><div class="w-full max-w-md gradient-border glass p-6 rounded-lg glow-cyan animate-in zoom-in-95 duration-300 svelte-htsx5a"><div class="flex items-center gap-3 mb-6"><div class="w-12 h-12 rounded-lg gradient-bg flex items-center justify-center glow-purple"><svg class="w-6 h-6 text-accent-purple" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 15v2m-6 4h12a2 2 0 002-2v-6a2 2 0 00-2-2H6a2 2 0 00-2 2v6a2 2 0 002 2zm10-10V7a4 4 0 00-8 0v4h8z"></path></svg></div> <div><h2 id="auth-dialog-title" class="text-lg font-semibold gradient-text">Connect to OpenClaw</h2> <p class="text-sm text-text-muted">Enter your gateway credentials to get started</p></div></div> <form class="space-y-4"><div><label for="gateway-url" class="block text-sm font-medium text-text-secondary mb-2">Gateway URL</label> <input id="gateway-url" type="url" placeholder="wss://your-openclaw-gateway.com" class="w-full px-3 py-2 rounded-lg glass border border-border-default bg-bg-secondary
@@ -1 +1 @@
1
- import{b as h,f as u,s as e}from"../chunks/B2A7gHtL.js";import{i as g}from"../chunks/KBP0Pl-D.js";import{p as l,j as v,t as d,c as _,h as a,r as o,f as x}from"../chunks/qR_TM3YX.js";import{s as $,p}from"../chunks/BiSHrnLa.js";const b={get error(){return p.error},get status(){return p.status}};$.updated.check;const m=b;var k=u("<h1> </h1> <p> </p>",1);function y(f,i){l(i,!1),g();var t=k(),r=v(t),c=a(r,!0);o(r);var s=x(r,2),n=a(s,!0);o(s),d(()=>{e(c,m.status),e(n,m.error?.message)}),h(f,t),_()}export{y as component};
1
+ import{b as h,f as u,s as e}from"../chunks/B2A7gHtL.js";import{i as g}from"../chunks/KBP0Pl-D.js";import{p as l,j as v,t as d,c as _,h as a,r as o,f as x}from"../chunks/qR_TM3YX.js";import{s as $,p}from"../chunks/Bf6c0cUg.js";const b={get error(){return p.error},get status(){return p.status}};$.updated.check;const m=b;var k=u("<h1> </h1> <p> </p>",1);function y(f,i){l(i,!1),g();var t=k(),r=v(t),c=a(r,!0);o(r);var s=x(r,2),n=a(s,!0);o(s),d(()=>{e(c,m.status),e(n,m.error?.message)}),h(f,t),_()}export{y as component};
@@ -1,4 +1,4 @@
1
- import{d as _a,a as k,b as x,s as g,f as b,e as ka,g as Cr}from"../chunks/B2A7gHtL.js";import{p as wa,s as L,a as q,u as Ar,g as e,d as f,b as Ma,t as y,c as Ca,e as Aa,h as a,f as n,i as D,$ as Ta,r,n as O,j as Kt,m as Tr,o as Lr}from"../chunks/qR_TM3YX.js";import{i as w}from"../chunks/DpBBTLWw.js";import{g as La,a as Pt,s as S,r as K,e as ne,i as Qt,b as xe}from"../chunks/BhtVncI_.js";import{h as Sa}from"../chunks/CXQ1lKJR.js";import{s as ja}from"../chunks/tr5b7CMr.js";import{b as $e,a as Be}from"../chunks/nnazh41B.js";import{b as Da,i as Sr,s as jr}from"../chunks/DVP7Iy08.js";import{g as $a}from"../chunks/9SZhwvK0.js";import{g as Ba}from"../chunks/Be_uRYmX.js";import{g as Fa}from"../chunks/BiSHrnLa.js";var za=b('<div class="mt-4 rounded-xl border border-border-default bg-bg-secondary/50 p-4 animate-fade-in"><div class="grid grid-cols-2 md:grid-cols-4 gap-4"><div><label class="block text-xs text-text-muted mb-1">Active Minutes (0=all)</label> <input type="number" min="0" step="1" class="w-full px-3 py-1.5 text-sm rounded-lg border border-border-default bg-bg-tertiary text-text-primary focus:outline-none focus:border-accent-cyan transition-all"/></div> <div><label class="block text-xs text-text-muted mb-1">Limit</label> <input type="number" min="1" max="500" step="1" class="w-full px-3 py-1.5 text-sm rounded-lg border border-border-default bg-bg-tertiary text-text-primary focus:outline-none focus:border-accent-cyan transition-all"/></div> <div class="flex flex-col justify-end gap-2"><label class="flex items-center gap-2 text-sm text-text-secondary cursor-pointer"><input type="checkbox" class="rounded border-border-default bg-bg-tertiary text-accent-cyan focus:ring-accent-cyan/30"/> Include Global</label> <label class="flex items-center gap-2 text-sm text-text-secondary cursor-pointer"><input type="checkbox" class="rounded border-border-default bg-bg-tertiary text-accent-cyan focus:ring-accent-cyan/30"/> Include Unknown</label></div> <div class="flex items-end"><button class="w-full px-3 py-1.5 text-sm rounded-lg bg-accent-cyan/10 text-accent-cyan border border-accent-cyan/30 hover:bg-accent-cyan/20 transition-all">Apply Filters</button></div></div></div>'),Va=b('<div class="flex rounded-lg border border-border-default overflow-hidden"><button>Grouped</button> <button>All</button></div>'),Ha=b('<div class="flex items-center gap-1"><button class="px-2 py-2 text-xs rounded-lg bg-bg-tertiary border border-border-default text-text-muted hover:text-text-secondary transition-all" title="Expand all"><svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path></svg></button> <button class="px-2 py-2 text-xs rounded-lg bg-bg-tertiary border border-border-default text-text-muted hover:text-text-secondary transition-all" title="Collapse all"><svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg></button> <span class="text-[10px] text-text-muted ml-1"> </span></div>'),Ia=b('<div class="flex flex-col items-center justify-center h-full text-center"><div class="w-16 h-16 rounded-2xl bg-bg-tertiary border border-border-default flex items-center justify-center mb-4"><svg class="w-8 h-8 text-text-muted" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18.364 5.636a9 9 0 010 12.728m-2.829-2.829a5 5 0 000-7.07"></path></svg></div> <p class="text-text-muted text-sm">Connect to the gateway to view sessions.</p></div>'),Na=b('<div class="rounded-xl border border-border-default bg-bg-secondary/50 p-5 animate-pulse"><div class="h-4 w-48 bg-bg-tertiary rounded mb-3"></div> <div class="h-3 w-96 bg-bg-tertiary rounded mb-2"></div> <div class="flex gap-2"><div class="h-5 w-16 bg-bg-tertiary rounded-full"></div> <div class="h-5 w-20 bg-bg-tertiary rounded-full"></div> <div class="h-5 w-14 bg-bg-tertiary rounded-full"></div></div></div>'),Ra=b('<div class="flex flex-col gap-3"></div>'),Ua=b('<div class="flex flex-col items-center justify-center h-64 text-center"><p class="text-text-muted text-sm"> </p></div>'),Ea=b('<div class="flex flex-col items-center justify-center h-64 text-center"><p class="text-text-muted text-sm"> </p></div>'),Oa=b('<button><svg fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg></button>'),Ga=b('<div class="w-6 flex-shrink-0 mt-0.5 flex items-center justify-center"><span></span></div>'),qa=b('<form class="flex items-center gap-2"><input type="text" class="px-2 py-1 text-sm rounded border border-accent-cyan/50 bg-bg-tertiary text-text-primary focus:outline-none focus:border-accent-cyan w-48"/> <button type="submit" class="text-accent-cyan text-xs hover:underline">Save</button> <button type="button" class="text-text-muted text-xs hover:text-text-secondary">Cancel</button></form>'),Ka=b('<span> </span> <button class="p-0.5 rounded hover:bg-bg-hover text-text-muted hover:text-accent-cyan transition-colors" title="Rename"><svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"></path></svg></button>',1),Pa=b('<span class="px-2 py-0.5 rounded text-[10px] font-medium bg-bg-tertiary text-text-muted border border-border-default"> </span>'),Qa=b('<span class="px-2 py-0.5 rounded text-[10px] font-medium bg-accent-purple/10 text-purple-300 border border-accent-purple/10"> </span>'),Wa=b("<span> </span>"),Ja=b('<span class="flex items-center gap-1 px-2 py-0.5 rounded text-[10px] bg-accent-purple/10 text-purple-300 border border-accent-purple/10"><svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"></path></svg> </span>'),Xa=b('<span class="px-2 py-0.5 rounded text-[10px] bg-bg-tertiary text-text-muted border border-border-default"> </span>'),Ya=b('<span class="flex items-center gap-1 px-2 py-0.5 rounded text-[10px] bg-accent-green/10 text-accent-green border border-accent-green/10"><svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A2 2 0 013 12V7a4 4 0 014-4z"></path></svg> </span>'),Za=b('<p class="text-xs text-text-muted truncate mb-1.5 max-w-[500px]"> </p>'),en=b('<span class="flex items-center gap-1 px-2 py-1 rounded-lg text-[10px] font-medium bg-accent-amber/15 text-accent-amber border border-accent-amber/30"> </span>'),tn=b("<option> </option>"),rn=b(`<select class="px-2 py-1 rounded-lg text-[11px] border border-border-default bg-bg-tertiary
1
+ import{d as _a,a as k,b as x,s as g,f as b,e as ka,g as Cr}from"../chunks/B2A7gHtL.js";import{p as wa,s as L,a as q,u as Ar,g as e,d as f,b as Ma,t as y,c as Ca,e as Aa,h as a,f as n,i as D,$ as Ta,r,n as O,j as Kt,m as Tr,o as Lr}from"../chunks/qR_TM3YX.js";import{i as w}from"../chunks/DpBBTLWw.js";import{g as La,a as Pt,s as S,r as K,e as ne,i as Qt,b as xe}from"../chunks/BhtVncI_.js";import{h as Sa}from"../chunks/CXQ1lKJR.js";import{s as ja}from"../chunks/tr5b7CMr.js";import{b as $e,a as Be}from"../chunks/nnazh41B.js";import{b as Da,i as Sr,s as jr}from"../chunks/DVP7Iy08.js";import{g as $a}from"../chunks/9SZhwvK0.js";import{g as Ba}from"../chunks/Be_uRYmX.js";import{g as Fa}from"../chunks/Bf6c0cUg.js";var za=b('<div class="mt-4 rounded-xl border border-border-default bg-bg-secondary/50 p-4 animate-fade-in"><div class="grid grid-cols-2 md:grid-cols-4 gap-4"><div><label class="block text-xs text-text-muted mb-1">Active Minutes (0=all)</label> <input type="number" min="0" step="1" class="w-full px-3 py-1.5 text-sm rounded-lg border border-border-default bg-bg-tertiary text-text-primary focus:outline-none focus:border-accent-cyan transition-all"/></div> <div><label class="block text-xs text-text-muted mb-1">Limit</label> <input type="number" min="1" max="500" step="1" class="w-full px-3 py-1.5 text-sm rounded-lg border border-border-default bg-bg-tertiary text-text-primary focus:outline-none focus:border-accent-cyan transition-all"/></div> <div class="flex flex-col justify-end gap-2"><label class="flex items-center gap-2 text-sm text-text-secondary cursor-pointer"><input type="checkbox" class="rounded border-border-default bg-bg-tertiary text-accent-cyan focus:ring-accent-cyan/30"/> Include Global</label> <label class="flex items-center gap-2 text-sm text-text-secondary cursor-pointer"><input type="checkbox" class="rounded border-border-default bg-bg-tertiary text-accent-cyan focus:ring-accent-cyan/30"/> Include Unknown</label></div> <div class="flex items-end"><button class="w-full px-3 py-1.5 text-sm rounded-lg bg-accent-cyan/10 text-accent-cyan border border-accent-cyan/30 hover:bg-accent-cyan/20 transition-all">Apply Filters</button></div></div></div>'),Va=b('<div class="flex rounded-lg border border-border-default overflow-hidden"><button>Grouped</button> <button>All</button></div>'),Ha=b('<div class="flex items-center gap-1"><button class="px-2 py-2 text-xs rounded-lg bg-bg-tertiary border border-border-default text-text-muted hover:text-text-secondary transition-all" title="Expand all"><svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7"></path></svg></button> <button class="px-2 py-2 text-xs rounded-lg bg-bg-tertiary border border-border-default text-text-muted hover:text-text-secondary transition-all" title="Collapse all"><svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg></button> <span class="text-[10px] text-text-muted ml-1"> </span></div>'),Ia=b('<div class="flex flex-col items-center justify-center h-full text-center"><div class="w-16 h-16 rounded-2xl bg-bg-tertiary border border-border-default flex items-center justify-center mb-4"><svg class="w-8 h-8 text-text-muted" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M18.364 5.636a9 9 0 010 12.728m-2.829-2.829a5 5 0 000-7.07"></path></svg></div> <p class="text-text-muted text-sm">Connect to the gateway to view sessions.</p></div>'),Na=b('<div class="rounded-xl border border-border-default bg-bg-secondary/50 p-5 animate-pulse"><div class="h-4 w-48 bg-bg-tertiary rounded mb-3"></div> <div class="h-3 w-96 bg-bg-tertiary rounded mb-2"></div> <div class="flex gap-2"><div class="h-5 w-16 bg-bg-tertiary rounded-full"></div> <div class="h-5 w-20 bg-bg-tertiary rounded-full"></div> <div class="h-5 w-14 bg-bg-tertiary rounded-full"></div></div></div>'),Ra=b('<div class="flex flex-col gap-3"></div>'),Ua=b('<div class="flex flex-col items-center justify-center h-64 text-center"><p class="text-text-muted text-sm"> </p></div>'),Ea=b('<div class="flex flex-col items-center justify-center h-64 text-center"><p class="text-text-muted text-sm"> </p></div>'),Oa=b('<button><svg fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path></svg></button>'),Ga=b('<div class="w-6 flex-shrink-0 mt-0.5 flex items-center justify-center"><span></span></div>'),qa=b('<form class="flex items-center gap-2"><input type="text" class="px-2 py-1 text-sm rounded border border-accent-cyan/50 bg-bg-tertiary text-text-primary focus:outline-none focus:border-accent-cyan w-48"/> <button type="submit" class="text-accent-cyan text-xs hover:underline">Save</button> <button type="button" class="text-text-muted text-xs hover:text-text-secondary">Cancel</button></form>'),Ka=b('<span> </span> <button class="p-0.5 rounded hover:bg-bg-hover text-text-muted hover:text-accent-cyan transition-colors" title="Rename"><svg class="w-3.5 h-3.5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M11 5H6a2 2 0 00-2 2v11a2 2 0 002 2h11a2 2 0 002-2v-5m-1.414-9.414a2 2 0 112.828 2.828L11.828 15H9v-2.828l8.586-8.586z"></path></svg></button>',1),Pa=b('<span class="px-2 py-0.5 rounded text-[10px] font-medium bg-bg-tertiary text-text-muted border border-border-default"> </span>'),Qa=b('<span class="px-2 py-0.5 rounded text-[10px] font-medium bg-accent-purple/10 text-purple-300 border border-accent-purple/10"> </span>'),Wa=b("<span> </span>"),Ja=b('<span class="flex items-center gap-1 px-2 py-0.5 rounded text-[10px] bg-accent-purple/10 text-purple-300 border border-accent-purple/10"><svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9.75 17L9 20l-1 1h8l-1-1-.75-3M3 13h18M5 17h14a2 2 0 002-2V5a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z"></path></svg> </span>'),Xa=b('<span class="px-2 py-0.5 rounded text-[10px] bg-bg-tertiary text-text-muted border border-border-default"> </span>'),Ya=b('<span class="flex items-center gap-1 px-2 py-0.5 rounded text-[10px] bg-accent-green/10 text-accent-green border border-accent-green/10"><svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 7h.01M7 3h5c.512 0 1.024.195 1.414.586l7 7a2 2 0 010 2.828l-7 7a2 2 0 01-2.828 0l-7-7A2 2 0 013 12V7a4 4 0 014-4z"></path></svg> </span>'),Za=b('<p class="text-xs text-text-muted truncate mb-1.5 max-w-[500px]"> </p>'),en=b('<span class="flex items-center gap-1 px-2 py-1 rounded-lg text-[10px] font-medium bg-accent-amber/15 text-accent-amber border border-accent-amber/30"> </span>'),tn=b("<option> </option>"),rn=b(`<select class="px-2 py-1 rounded-lg text-[11px] border border-border-default bg-bg-tertiary
2
2
  text-text-secondary hover:border-accent-purple/40 focus:outline-none focus:border-accent-purple
3
3
  transition-all disabled:opacity-50 max-w-[200px] cursor-pointer appearance-none
4
4
  bg-[url('data:image/svg+xml;charset=UTF-8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2212%22%20height%3D%2212%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%2388929e%22%20stroke-width%3D%222%22%3E%3Cpath%20d%3D%22M6%209l6%206%206-6%22%2F%3E%3C%2Fsvg%3E')]
@@ -1 +1 @@
1
- {"version":"1771688327932"}
1
+ {"version":"1771689632534"}
@@ -13,12 +13,12 @@
13
13
  <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
14
14
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet">
15
15
  <link rel="preconnect" href="wss://openclaw.honercloud.com" />
16
- <link href="/_app/immutable/entry/start.CWF4Qm2D.js" rel="modulepreload">
17
- <link href="/_app/immutable/chunks/BiSHrnLa.js" rel="modulepreload">
16
+ <link href="/_app/immutable/entry/start.Br3cjxv0.js" rel="modulepreload">
17
+ <link href="/_app/immutable/chunks/Bf6c0cUg.js" rel="modulepreload">
18
18
  <link href="/_app/immutable/chunks/qR_TM3YX.js" rel="modulepreload">
19
19
  <link href="/_app/immutable/chunks/B3DkuU-J.js" rel="modulepreload">
20
20
  <link href="/_app/immutable/chunks/B-drBnSa.js" rel="modulepreload">
21
- <link href="/_app/immutable/entry/app.BJyZBQUh.js" rel="modulepreload">
21
+ <link href="/_app/immutable/entry/app.BwCsQnur.js" rel="modulepreload">
22
22
  <link href="/_app/immutable/chunks/DpBBTLWw.js" rel="modulepreload">
23
23
  <link href="/_app/immutable/chunks/B2A7gHtL.js" rel="modulepreload">
24
24
  <link href="/_app/immutable/chunks/BYXRTvT-.js" rel="modulepreload">
@@ -29,15 +29,15 @@
29
29
  <div style="display: contents">
30
30
  <script>
31
31
  {
32
- __sveltekit_1ng8ccd = {
32
+ __sveltekit_1hrvmuv = {
33
33
  base: ""
34
34
  };
35
35
 
36
36
  const element = document.currentScript.parentElement;
37
37
 
38
38
  Promise.all([
39
- import("/_app/immutable/entry/start.CWF4Qm2D.js"),
40
- import("/_app/immutable/entry/app.BJyZBQUh.js")
39
+ import("/_app/immutable/entry/start.Br3cjxv0.js"),
40
+ import("/_app/immutable/entry/app.BwCsQnur.js")
41
41
  ]).then(([kit, app]) => {
42
42
  kit.start(app, element);
43
43
  });
@@ -1,7 +1,7 @@
1
1
  import { r as resolveCliName } from "./command-format-BXGqUdrf.js";
2
2
  import { t as resolveOpenClawPackageRoot } from "./openclaw-root-B5pKN_cp.js";
3
3
  import { t as note } from "./note-D3Xn5qjj.js";
4
- import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-DWbOrNO2.js";
4
+ import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-FIejYbDL.js";
5
5
  import { spawnSync } from "node:child_process";
6
6
  import path from "node:path";
7
7
 
@@ -1,7 +1,7 @@
1
1
  import { t as resolveOpenClawPackageRoot } from "./openclaw-root-BM-yQZH6.js";
2
2
  import { r as resolveCliName } from "./command-format-X5BIa7jQ.js";
3
3
  import { t as note } from "./note-C-OTWf0F.js";
4
- import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-D9M167hh.js";
4
+ import { a as resolveCompletionCachePath, i as isCompletionInstalled, o as resolveShellFromEnv, r as installCompletion, s as usesSlowDynamicCompletion, t as completionCacheExists } from "./completion-cli-C_J-jd9D.js";
5
5
  import path from "node:path";
6
6
  import { spawnSync } from "node:child_process";
7
7
 
package/dist/entry.js CHANGED
@@ -2508,7 +2508,7 @@ if (!ensureExperimentalWarningSuppressed()) {
2508
2508
  applyCliProfileEnv({ profile: parsed.profile });
2509
2509
  process$1.argv = parsed.argv;
2510
2510
  }
2511
- import("./run-main-BRe5c6iW.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
2511
+ import("./run-main-B6uubEb8.js").then(({ runCli }) => runCli(process$1.argv)).catch((error) => {
2512
2512
  console.error("[openclaw] Failed to start CLI:", error instanceof Error ? error.stack ?? error.message : error);
2513
2513
  process$1.exitCode = 1;
2514
2514
  });
@@ -137,7 +137,7 @@ import { i as pickGatewaySelfPresence, r as getStatusSummary } from "./status-Ck
137
137
  import { a as styleHealthChannelLine, c as setHeartbeatsEnabled, l as startHeartbeatRunner, n as getHealthSnapshot, s as runHeartbeatOnce, t as formatHealthChannelLines } from "./health-BsrXWJ-_.js";
138
138
  import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-CwSEyfND.js";
139
139
  import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-Cabl9Oh_.js";
140
- import { t as runOnboardingWizard } from "./onboarding-CiOMo5_c.js";
140
+ import { t as runOnboardingWizard } from "./onboarding-B_8tUxFm.js";
141
141
  import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-DieXdP6q.js";
142
142
  import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-Dr-UjgD8.js";
143
143
  import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, s as loadAgentIdentityFromWorkspace, t as applyAgentConfig } from "./agents.config-CUoqlGqW.js";
@@ -15974,11 +15974,11 @@ function buildControlUiCspHeader() {
15974
15974
  "base-uri 'none'",
15975
15975
  "object-src 'none'",
15976
15976
  "frame-ancestors 'none'",
15977
- "script-src 'self'",
15978
- "style-src 'self' 'unsafe-inline'",
15979
- "img-src 'self' data: https:",
15980
- "font-src 'self'",
15981
- "connect-src 'self' ws: wss:"
15977
+ "script-src 'self' 'unsafe-inline'",
15978
+ "style-src 'self' 'unsafe-inline' https://fonts.googleapis.com",
15979
+ "img-src 'self' data: https: blob:",
15980
+ "font-src 'self' https://fonts.gstatic.com",
15981
+ "connect-src 'self' ws: wss: https:"
15982
15982
  ].join("; ");
15983
15983
  }
15984
15984
 
@@ -142,7 +142,7 @@ import { n as getStatusSummary, r as pickGatewaySelfPresence } from "./status-Bg
142
142
  import { c as startHeartbeatRunner, i as styleHealthChannelLine, n as getHealthSnapshot, o as runHeartbeatOnce, s as setHeartbeatsEnabled, t as formatHealthChannelLines } from "./health-DoJPYIvC.js";
143
143
  import { a as resolveControlUiRootSync, i as resolveControlUiRootOverrideSync, t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BmaUgzFj.js";
144
144
  import { a as resolveNpmChannelTag, c as DEFAULT_PACKAGE_CHANNEL, m as normalizeUpdateChannel, n as compareSemverStrings, t as checkUpdateStatus } from "./update-check-CHLDbXI4.js";
145
- import { t as runOnboardingWizard } from "./onboarding-EMqX1DQj.js";
145
+ import { t as runOnboardingWizard } from "./onboarding-IlBStOWQ.js";
146
146
  import { a as sendApnsAlert, c as parseMessageWithAttachments, d as shouldLogWs, f as summarizeAgentEventForWsLog, i as resolveApnsAuthConfigFromEnv, l as formatForLog, n as normalizeApnsEnvironment, o as sendApnsBackgroundWake, p as setGatewayWsLogStyle, s as normalizeRpcAttachmentsToChatAttachments, t as loadApnsRegistration, u as logWs } from "./push-apns-CVgJnnCa.js";
147
147
  import { T as resolveGmailHookRuntimeConfig, _ as buildGogWatchServeArgs, i as ensureTailscaleEndpoint, v as buildGogWatchStartArgs } from "./gmail-setup-utils-BrHEum7O.js";
148
148
  import { a as pruneAgentConfig, i as loadAgentIdentity, r as findAgentEntryIndex, s as loadAgentIdentityFromWorkspace, t as applyAgentConfig } from "./agents.config--k-cL9FH.js";
@@ -15978,11 +15978,11 @@ function buildControlUiCspHeader() {
15978
15978
  "base-uri 'none'",
15979
15979
  "object-src 'none'",
15980
15980
  "frame-ancestors 'none'",
15981
- "script-src 'self'",
15982
- "style-src 'self' 'unsafe-inline'",
15983
- "img-src 'self' data: https:",
15984
- "font-src 'self'",
15985
- "connect-src 'self' ws: wss:"
15981
+ "script-src 'self' 'unsafe-inline'",
15982
+ "style-src 'self' 'unsafe-inline' https://fonts.googleapis.com",
15983
+ "img-src 'self' data: https: blob:",
15984
+ "font-src 'self' https://fonts.gstatic.com",
15985
+ "connect-src 'self' ws: wss: https:"
15986
15986
  ].join("; ");
15987
15987
  }
15988
15988
 
package/dist/index.js CHANGED
@@ -111,7 +111,7 @@ import { t as ensureOpenClawCliOnPath } from "./path-env-BufaTTaN.js";
111
111
  import { t as assertSupportedRuntime } from "./runtime-guard-DlT3NecY.js";
112
112
  import "./ports-OAiP9UCI.js";
113
113
  import { a as hasFlag, i as getVerboseFlag, n as getCommandPath, o as hasHelpOrVersion, s as hasRootVersionAlias } from "./argv-1cuXh2ix.js";
114
- import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-g9Bf7H9y.js";
114
+ import { i as getCoreCliCommandsWithSubcommands, n as setProgramContext, o as registerProgramCommands, s as getSubCliCommandsWithSubcommands } from "./program-context-CTRcW6qt.js";
115
115
  import "./catalog-CgtgPHMj.js";
116
116
  import "./plugin-registry-Uby1FEL0.js";
117
117
  import { n as resolveCliChannelOptions } from "./channel-options-D1e2PyE-.js";
@@ -12,7 +12,7 @@ import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, r as isGate
12
12
  import { r as isSystemdUserServiceAvailable } from "./systemd-B6S4ND7H.js";
13
13
  import { t as resolveGatewayService } from "./service-Bw9h81em.js";
14
14
  import { r as healthCommand } from "./health-DoJPYIvC.js";
15
- import { t as runOnboardingWizard } from "./onboarding-EMqX1DQj.js";
15
+ import { t as runOnboardingWizard } from "./onboarding-IlBStOWQ.js";
16
16
  import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-CrKdCf4Y.js";
17
17
  import { n as logConfigUpdated } from "./logging-Cl6-FWdR.js";
18
18
  import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-Ch38-Kbr.js";
@@ -10,7 +10,7 @@ import { t as assertSupportedRuntime } from "./runtime-guard-DcwOrtgH.js";
10
10
  import { r as isSystemdUserServiceAvailable } from "./systemd-BeKZd5oD.js";
11
11
  import { t as resolveGatewayService } from "./service-CIkh5YiN.js";
12
12
  import { r as healthCommand } from "./health-BsrXWJ-_.js";
13
- import { t as runOnboardingWizard } from "./onboarding-CiOMo5_c.js";
13
+ import { t as runOnboardingWizard } from "./onboarding-B_8tUxFm.js";
14
14
  import { $ as setHuggingfaceApiKey, A as applyXaiConfig, B as applyVercelAiGatewayConfig, E as applyTogetherConfig, I as applyLitellmConfig, M as applyXiaomiConfig, O as applyVeniceConfig, P as applyZaiConfig, Q as setGeminiApiKey, R as applyCloudflareAiGatewayConfig, S as applyQianfanConfig, X as setAnthropicApiKey, Z as setCloudflareAiGatewayConfig, _ as applyMoonshotConfigCn, a as applyMinimaxApiConfig, at as setOpenrouterApiKey, b as applyOpenrouterConfig, ct as setTogetherApiKey, d as applyAuthProfileConfig, dt as setXaiApiKey, et as setKimiCodingApiKey, f as applyHuggingfaceConfig, ft as setXiaomiApiKey, g as applyMoonshotConfig, it as setOpencodeZenApiKey, l as applyMinimaxConfig, lt as setVeniceApiKey, m as applyKimiCodeConfig, n as validateAnthropicSetupToken, nt as setMinimaxApiKey, o as applyMinimaxApiConfigCn, ot as setQianfanApiKey, pt as setZaiApiKey, r as applyOpencodeZenConfig, rt as setMoonshotApiKey, st as setSyntheticApiKey, t as buildTokenProfileId, tt as setLitellmApiKey, ut as setVercelAiGatewayApiKey, w as applySyntheticConfig } from "./auth-token-DMUSDb5Q.js";
15
15
  import { n as logConfigUpdated } from "./logging-BGewRZy0.js";
16
16
  import { n as isDeprecatedAuthChoice, r as normalizeLegacyOnboardAuthChoice } from "./auth-choice-legacy-BKXTgyr4.js";
@@ -302,7 +302,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
302
302
  mode
303
303
  });
304
304
  await writeConfigFile(nextConfig);
305
- const { finalizeOnboardingWizard } = await import("./onboarding.finalize-BkqY37UR.js");
305
+ const { finalizeOnboardingWizard } = await import("./onboarding.finalize-CUfEwc_X.js");
306
306
  const { launchedTui } = await finalizeOnboardingWizard({
307
307
  flow,
308
308
  opts,
@@ -304,7 +304,7 @@ async function runOnboardingWizard(opts, runtime = defaultRuntime, prompter) {
304
304
  mode
305
305
  });
306
306
  await writeConfigFile(nextConfig);
307
- const { finalizeOnboardingWizard } = await import("./onboarding.finalize-D-8iuvnX.js");
307
+ const { finalizeOnboardingWizard } = await import("./onboarding.finalize-CscOXfzt.js");
308
308
  const { launchedTui } = await finalizeOnboardingWizard({
309
309
  flow,
310
310
  opts,
@@ -98,10 +98,10 @@ import { b as waitForGatewayReachable, f as openUrl, g as resolveControlUiLinks,
98
98
  import "./prompt-style-DwCXob2h.js";
99
99
  import "./pairing-labels-2HXV-KVQ.js";
100
100
  import "./note-D3Xn5qjj.js";
101
- import "./register.subclis-DpCWe0ca.js";
102
- import "./command-registry-CKl3i1dn.js";
101
+ import "./register.subclis-DtUGzYVz.js";
102
+ import "./command-registry-B3oActxS.js";
103
103
  import "./program-context--isQKnLs.js";
104
- import { r as installCompletion } from "./completion-cli-DWbOrNO2.js";
104
+ import { r as installCompletion } from "./completion-cli-FIejYbDL.js";
105
105
  import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-JIaTm7m1.js";
106
106
  import "./runtime-guard-DcwOrtgH.js";
107
107
  import { r as isSystemdUserServiceAvailable } from "./systemd-BeKZd5oD.js";
@@ -109,7 +109,7 @@ import { t as resolveGatewayService } from "./service-CIkh5YiN.js";
109
109
  import { r as healthCommand } from "./health-BsrXWJ-_.js";
110
110
  import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-CwSEyfND.js";
111
111
  import { t as formatHealthCheckFailure } from "./health-format-DkjSgkDx.js";
112
- import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-B18Bypvd.js";
112
+ import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-D7sHoVar.js";
113
113
  import { t as runTui } from "./tui-DIJDni82.js";
114
114
  import os from "node:os";
115
115
  import path from "node:path";
@@ -102,16 +102,16 @@ import "./control-service-DGT3mUo3.js";
102
102
  import "./stagger-B6VQyn1F.js";
103
103
  import "./channel-selection-DuDSoVSC.js";
104
104
  import "./runtime-guard-DlT3NecY.js";
105
- import "./program-context-g9Bf7H9y.js";
105
+ import "./program-context-CTRcW6qt.js";
106
106
  import "./note-C-OTWf0F.js";
107
- import { r as installCompletion } from "./completion-cli-D9M167hh.js";
107
+ import { r as installCompletion } from "./completion-cli-C_J-jd9D.js";
108
108
  import { a as gatewayInstallErrorHint, i as buildGatewayInstallPlan, n as GATEWAY_DAEMON_RUNTIME_OPTIONS, t as DEFAULT_GATEWAY_DAEMON_RUNTIME } from "./daemon-runtime-CxEC09i-.js";
109
109
  import { r as isSystemdUserServiceAvailable } from "./systemd-B6S4ND7H.js";
110
110
  import { t as resolveGatewayService } from "./service-Bw9h81em.js";
111
111
  import { r as healthCommand } from "./health-DoJPYIvC.js";
112
112
  import { t as ensureControlUiAssetsBuilt } from "./control-ui-assets-BmaUgzFj.js";
113
113
  import { t as formatHealthCheckFailure } from "./health-format-DQNr1Hum.js";
114
- import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-C45zyyLh.js";
114
+ import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-sHbqqiJx.js";
115
115
  import { t as runTui } from "./tui-CK_wqabZ.js";
116
116
  import os from "node:os";
117
117
  import path from "node:path";
@@ -100,8 +100,8 @@ import "./pairing-labels-2HXV-KVQ.js";
100
100
  import "./catalog-vmrRUSxJ.js";
101
101
  import "./plugin-registry-D_OXYdWZ.js";
102
102
  import { n as resolveCliChannelOptions } from "./channel-options-CPNP_5h2.js";
103
- import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-DpCWe0ca.js";
104
- import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-CKl3i1dn.js";
103
+ import { t as getSubCliCommandsWithSubcommands } from "./register.subclis-DtUGzYVz.js";
104
+ import { a as registerProgramCommands, r as getCoreCliCommandsWithSubcommands } from "./command-registry-B3oActxS.js";
105
105
  import { r as setProgramContext } from "./program-context--isQKnLs.js";
106
106
  import { t as forceFreePort } from "./ports-0yxh32gW.js";
107
107
  import { n as formatCliBannerLine, r as hasEmittedCliBanner, t as emitCliBanner } from "./banner-Do4A8nN7.js";
@@ -43,7 +43,7 @@ const entries = [
43
43
  description: "Run, inspect, and query the WebSocket Gateway",
44
44
  hasSubcommands: true,
45
45
  register: async (program) => {
46
- (await import("./gateway-cli-Cy10TRa_.js")).registerGatewayCli(program);
46
+ (await import("./gateway-cli-DZ4LS2Gw.js")).registerGatewayCli(program);
47
47
  }
48
48
  },
49
49
  {
@@ -239,7 +239,7 @@ const entries = [
239
239
  description: "Update OpenClaw and inspect update channel status",
240
240
  hasSubcommands: true,
241
241
  register: async (program) => {
242
- (await import("./update-cli-3URF877J.js")).registerUpdateCli(program);
242
+ (await import("./update-cli-WAMVsPit.js")).registerUpdateCli(program);
243
243
  }
244
244
  },
245
245
  {
@@ -247,7 +247,7 @@ const entries = [
247
247
  description: "Generate shell completion script",
248
248
  hasSubcommands: false,
249
249
  register: async (program) => {
250
- (await import("./completion-cli-D9M167hh.js").then((n) => n.n)).registerCompletionCli(program);
250
+ (await import("./completion-cli-C_J-jd9D.js").then((n) => n.n)).registerCompletionCli(program);
251
251
  }
252
252
  }
253
253
  ];
@@ -310,7 +310,7 @@ const coreEntries = [
310
310
  hasSubcommands: false
311
311
  }],
312
312
  register: async ({ program }) => {
313
- (await import("./register.setup-D9k8Eyg7.js")).registerSetupCommand(program);
313
+ (await import("./register.setup-Ba6S39kI.js")).registerSetupCommand(program);
314
314
  }
315
315
  },
316
316
  {
@@ -320,7 +320,7 @@ const coreEntries = [
320
320
  hasSubcommands: false
321
321
  }],
322
322
  register: async ({ program }) => {
323
- (await import("./register.onboard-BjMshgZ4.js")).registerOnboardCommand(program);
323
+ (await import("./register.onboard-DlDtwyfd.js")).registerOnboardCommand(program);
324
324
  }
325
325
  },
326
326
  {
@@ -367,7 +367,7 @@ const coreEntries = [
367
367
  }
368
368
  ],
369
369
  register: async ({ program }) => {
370
- (await import("./register.maintenance-BQlKe9JQ.js")).registerMaintenanceCommands(program);
370
+ (await import("./register.maintenance-BdAIyY7s.js")).registerMaintenanceCommands(program);
371
371
  }
372
372
  },
373
373
  {
@@ -42,7 +42,7 @@ import { n as logConfigUpdated } from "./logging-Cl6-FWdR.js";
42
42
  import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-QDe1npDU.js";
43
43
  import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-C3Tnphf9.js";
44
44
  import { t as formatHealthCheckFailure } from "./health-format-DQNr1Hum.js";
45
- import { n as doctorShellCompletion } from "./doctor-completion-C45zyyLh.js";
45
+ import { n as doctorShellCompletion } from "./doctor-completion-sHbqqiJx.js";
46
46
  import fs from "node:fs";
47
47
  import os from "node:os";
48
48
  import path from "node:path";
@@ -39,7 +39,7 @@ import { n as logConfigUpdated } from "./logging-BGewRZy0.js";
39
39
  import { n as detectLegacyStateMigrations, r as runLegacyStateMigrations, t as loadAndMaybeMigrateDoctorConfig } from "./doctor-config-flow-CAskzyjf.js";
40
40
  import { t as ensureSystemdUserLingerInteractive } from "./systemd-linger-CgYzp_8H.js";
41
41
  import { t as formatHealthCheckFailure } from "./health-format-DkjSgkDx.js";
42
- import { n as doctorShellCompletion } from "./doctor-completion-B18Bypvd.js";
42
+ import { n as doctorShellCompletion } from "./doctor-completion-D7sHoVar.js";
43
43
  import { execFile } from "node:child_process";
44
44
  import os from "node:os";
45
45
  import path from "node:path";
@@ -102,14 +102,14 @@ import "./control-service-DGT3mUo3.js";
102
102
  import "./stagger-B6VQyn1F.js";
103
103
  import "./channel-selection-DuDSoVSC.js";
104
104
  import "./runtime-guard-DlT3NecY.js";
105
- import "./program-context-g9Bf7H9y.js";
105
+ import "./program-context-CTRcW6qt.js";
106
106
  import "./catalog-CgtgPHMj.js";
107
107
  import "./skills-status-kQ1GipOi.js";
108
108
  import { t as copyToClipboard } from "./clipboard-DE_XZZD9.js";
109
109
  import "./note-C-OTWf0F.js";
110
110
  import "./plugin-auto-enable-BKai7KOi.js";
111
111
  import "./channels-status-issues-ClkP4ZUC.js";
112
- import "./completion-cli-D9M167hh.js";
112
+ import "./completion-cli-C_J-jd9D.js";
113
113
  import "./daemon-runtime-CxEC09i-.js";
114
114
  import "./systemd-B6S4ND7H.js";
115
115
  import { t as resolveGatewayService } from "./service-Bw9h81em.js";
@@ -124,8 +124,8 @@ import "./logging-Cl6-FWdR.js";
124
124
  import "./doctor-config-flow-QDe1npDU.js";
125
125
  import "./systemd-linger-C3Tnphf9.js";
126
126
  import "./health-format-DQNr1Hum.js";
127
- import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-Dq1G221I.js";
128
- import "./doctor-completion-C45zyyLh.js";
127
+ import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-DEl1ViOW.js";
128
+ import "./doctor-completion-sHbqqiJx.js";
129
129
  import path from "node:path";
130
130
  import fs from "node:fs/promises";
131
131
  import { cancel, confirm, isCancel, multiselect } from "@clack/prompts";
@@ -103,10 +103,10 @@ import "./catalog-vmrRUSxJ.js";
103
103
  import "./note-D3Xn5qjj.js";
104
104
  import "./plugin-auto-enable-Ixv_LsDS.js";
105
105
  import "./channels-status-issues-DgVhydeW.js";
106
- import "./register.subclis-DpCWe0ca.js";
107
- import "./command-registry-CKl3i1dn.js";
106
+ import "./register.subclis-DtUGzYVz.js";
107
+ import "./command-registry-B3oActxS.js";
108
108
  import "./program-context--isQKnLs.js";
109
- import "./completion-cli-DWbOrNO2.js";
109
+ import "./completion-cli-FIejYbDL.js";
110
110
  import "./daemon-runtime-JIaTm7m1.js";
111
111
  import "./runtime-guard-DcwOrtgH.js";
112
112
  import "./systemd-BeKZd5oD.js";
@@ -122,8 +122,8 @@ import "./logging-BGewRZy0.js";
122
122
  import "./doctor-config-flow-CAskzyjf.js";
123
123
  import "./systemd-linger-CgYzp_8H.js";
124
124
  import "./health-format-DkjSgkDx.js";
125
- import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-dUrAqGxZ.js";
126
- import "./doctor-completion-B18Bypvd.js";
125
+ import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-DxHHs9eu.js";
126
+ import "./doctor-completion-D7sHoVar.js";
127
127
  import path from "node:path";
128
128
  import fs from "node:fs/promises";
129
129
  import { cancel, confirm, isCancel, multiselect } from "@clack/prompts";
@@ -103,7 +103,7 @@ import "./runtime-guard-DcwOrtgH.js";
103
103
  import "./systemd-BeKZd5oD.js";
104
104
  import "./service-CIkh5YiN.js";
105
105
  import "./health-BsrXWJ-_.js";
106
- import "./onboarding-CiOMo5_c.js";
106
+ import "./onboarding-B_8tUxFm.js";
107
107
  import "./shared-B8eUlsft.js";
108
108
  import "./auth-token-DMUSDb5Q.js";
109
109
  import "./logging-BGewRZy0.js";
@@ -113,7 +113,7 @@ import "./vllm-setup-CMJEsBEl.js";
113
113
  import "./systemd-linger-CgYzp_8H.js";
114
114
  import "./model-picker-GQ5Vwdho.js";
115
115
  import "./onboard-custom-CfYR4zdp.js";
116
- import { n as ONBOARD_PROVIDER_AUTH_FLAGS, t as onboardCommand } from "./onboard-CoGGGg5K.js";
116
+ import { n as ONBOARD_PROVIDER_AUTH_FLAGS, t as onboardCommand } from "./onboard-PLazjdti.js";
117
117
 
118
118
  //#region src/cli/program/register.onboard.ts
119
119
  function resolveInstallDaemonFlag(command, opts) {
@@ -107,7 +107,7 @@ import "./daemon-runtime-CxEC09i-.js";
107
107
  import "./systemd-B6S4ND7H.js";
108
108
  import "./service-Bw9h81em.js";
109
109
  import "./health-DoJPYIvC.js";
110
- import "./onboarding-EMqX1DQj.js";
110
+ import "./onboarding-IlBStOWQ.js";
111
111
  import "./shared-DlQn7QVR.js";
112
112
  import "./auth-token-CrKdCf4Y.js";
113
113
  import "./logging-Cl6-FWdR.js";
@@ -117,7 +117,7 @@ import "./vllm-setup-BCCbo63A.js";
117
117
  import "./systemd-linger-C3Tnphf9.js";
118
118
  import "./model-picker-DrU87nI_.js";
119
119
  import "./onboard-custom-Bs5EzQQ5.js";
120
- import { n as ONBOARD_PROVIDER_AUTH_FLAGS, t as onboardCommand } from "./onboard-BO-10joL.js";
120
+ import { n as ONBOARD_PROVIDER_AUTH_FLAGS, t as onboardCommand } from "./onboard-C4csnV8K.js";
121
121
 
122
122
  //#region src/cli/program/register.onboard.ts
123
123
  function resolveInstallDaemonFlag(command, opts) {
@@ -108,7 +108,7 @@ import "./daemon-runtime-CxEC09i-.js";
108
108
  import "./systemd-B6S4ND7H.js";
109
109
  import "./service-Bw9h81em.js";
110
110
  import "./health-DoJPYIvC.js";
111
- import "./onboarding-EMqX1DQj.js";
111
+ import "./onboarding-IlBStOWQ.js";
112
112
  import "./shared-DlQn7QVR.js";
113
113
  import "./auth-token-CrKdCf4Y.js";
114
114
  import { n as logConfigUpdated, t as formatConfigPath } from "./logging-Cl6-FWdR.js";
@@ -117,7 +117,7 @@ import "./vllm-setup-BCCbo63A.js";
117
117
  import "./systemd-linger-C3Tnphf9.js";
118
118
  import "./model-picker-DrU87nI_.js";
119
119
  import "./onboard-custom-Bs5EzQQ5.js";
120
- import { t as onboardCommand } from "./onboard-BO-10joL.js";
120
+ import { t as onboardCommand } from "./onboard-C4csnV8K.js";
121
121
  import JSON5 from "json5";
122
122
  import fs from "node:fs/promises";
123
123
 
@@ -104,7 +104,7 @@ import "./runtime-guard-DcwOrtgH.js";
104
104
  import "./systemd-BeKZd5oD.js";
105
105
  import "./service-CIkh5YiN.js";
106
106
  import "./health-BsrXWJ-_.js";
107
- import "./onboarding-CiOMo5_c.js";
107
+ import "./onboarding-B_8tUxFm.js";
108
108
  import "./shared-B8eUlsft.js";
109
109
  import "./auth-token-DMUSDb5Q.js";
110
110
  import { n as logConfigUpdated, t as formatConfigPath } from "./logging-BGewRZy0.js";
@@ -113,7 +113,7 @@ import "./vllm-setup-CMJEsBEl.js";
113
113
  import "./systemd-linger-CgYzp_8H.js";
114
114
  import "./model-picker-GQ5Vwdho.js";
115
115
  import "./onboard-custom-CfYR4zdp.js";
116
- import { t as onboardCommand } from "./onboard-CoGGGg5K.js";
116
+ import { t as onboardCommand } from "./onboard-PLazjdti.js";
117
117
  import JSON5 from "json5";
118
118
  import fs from "node:fs/promises";
119
119
 
@@ -49,7 +49,7 @@ const entries = [
49
49
  description: "Run, inspect, and query the WebSocket Gateway",
50
50
  hasSubcommands: true,
51
51
  register: async (program) => {
52
- (await import("./gateway-cli-C9P1VKyA.js")).registerGatewayCli(program);
52
+ (await import("./gateway-cli-Ch6gZFPT.js")).registerGatewayCli(program);
53
53
  }
54
54
  },
55
55
  {
@@ -245,7 +245,7 @@ const entries = [
245
245
  description: "Update OpenClaw and inspect update channel status",
246
246
  hasSubcommands: true,
247
247
  register: async (program) => {
248
- (await import("./update-cli-Cnm99-Cj.js")).registerUpdateCli(program);
248
+ (await import("./update-cli-COyyIt37.js")).registerUpdateCli(program);
249
249
  }
250
250
  },
251
251
  {
@@ -253,7 +253,7 @@ const entries = [
253
253
  description: "Generate shell completion script",
254
254
  hasSubcommands: false,
255
255
  register: async (program) => {
256
- (await import("./completion-cli-DWbOrNO2.js").then((n) => n.n)).registerCompletionCli(program);
256
+ (await import("./completion-cli-FIejYbDL.js").then((n) => n.n)).registerCompletionCli(program);
257
257
  }
258
258
  }
259
259
  ];
@@ -378,7 +378,7 @@ async function runCli(argv = process$1.argv) {
378
378
  assertSupportedRuntime();
379
379
  if (await tryRouteCli(normalizedArgv)) return;
380
380
  enableConsoleCapture();
381
- const { buildProgram } = await import("./program-DWc2vj5U.js");
381
+ const { buildProgram } = await import("./program-BEOFzhHf.js");
382
382
  const program = buildProgram();
383
383
  installUnhandledRejectionHandler();
384
384
  process$1.on("uncaughtException", (error) => {
@@ -391,10 +391,10 @@ async function runCli(argv = process$1.argv) {
391
391
  const { getProgramContext } = await import("./program-context--isQKnLs.js").then((n) => n.n);
392
392
  const ctx = getProgramContext(program);
393
393
  if (ctx) {
394
- const { registerCoreCliByName } = await import("./command-registry-CKl3i1dn.js").then((n) => n.t);
394
+ const { registerCoreCliByName } = await import("./command-registry-B3oActxS.js").then((n) => n.t);
395
395
  await registerCoreCliByName(program, ctx, primary, parseArgv);
396
396
  }
397
- const { registerSubCliByName } = await import("./register.subclis-DpCWe0ca.js").then((n) => n.a);
397
+ const { registerSubCliByName } = await import("./register.subclis-DtUGzYVz.js").then((n) => n.a);
398
398
  await registerSubCliByName(program, primary);
399
399
  }
400
400
  if (!shouldSkipPluginCommandRegistration({
@@ -110,10 +110,10 @@ import "./npm-registry-spec-Dx1jSlNK.js";
110
110
  import "./skill-scanner-BlmeBzA8.js";
111
111
  import "./installs-Bfs-7l-S.js";
112
112
  import "./channels-status-issues-DgVhydeW.js";
113
- import "./register.subclis-DpCWe0ca.js";
114
- import "./command-registry-CKl3i1dn.js";
113
+ import "./register.subclis-DtUGzYVz.js";
114
+ import "./command-registry-B3oActxS.js";
115
115
  import "./program-context--isQKnLs.js";
116
- import { r as installCompletion } from "./completion-cli-DWbOrNO2.js";
116
+ import { r as installCompletion } from "./completion-cli-FIejYbDL.js";
117
117
  import "./daemon-runtime-JIaTm7m1.js";
118
118
  import { r as parseSemver } from "./runtime-guard-DcwOrtgH.js";
119
119
  import "./systemd-BeKZd5oD.js";
@@ -134,8 +134,8 @@ import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from
134
134
  import "./doctor-config-flow-CAskzyjf.js";
135
135
  import "./systemd-linger-CgYzp_8H.js";
136
136
  import "./health-format-DkjSgkDx.js";
137
- import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-dUrAqGxZ.js";
138
- import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-B18Bypvd.js";
137
+ import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-DxHHs9eu.js";
138
+ import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-D7sHoVar.js";
139
139
  import { spawn, spawnSync } from "node:child_process";
140
140
  import os from "node:os";
141
141
  import path from "node:path";
@@ -105,7 +105,7 @@ import "./stagger-B6VQyn1F.js";
105
105
  import { c as resolveGatewayLaunchAgentLabel, d as resolveGatewaySystemdServiceName, f as resolveGatewayWindowsTaskName } from "./constants-CEbQvI8z.js";
106
106
  import "./channel-selection-DuDSoVSC.js";
107
107
  import { r as parseSemver } from "./runtime-guard-DlT3NecY.js";
108
- import "./program-context-g9Bf7H9y.js";
108
+ import "./program-context-CTRcW6qt.js";
109
109
  import "./catalog-CgtgPHMj.js";
110
110
  import "./skills-status-kQ1GipOi.js";
111
111
  import { n as inheritOptionFromParent } from "./command-options-ByE5SNIE.js";
@@ -116,7 +116,7 @@ import "./npm-registry-spec-pAPjxG47.js";
116
116
  import "./skill-scanner-D56xvwQF.js";
117
117
  import "./installs-BNOz2SvJ.js";
118
118
  import "./channels-status-issues-ClkP4ZUC.js";
119
- import { r as installCompletion } from "./completion-cli-D9M167hh.js";
119
+ import { r as installCompletion } from "./completion-cli-C_J-jd9D.js";
120
120
  import "./daemon-runtime-CxEC09i-.js";
121
121
  import "./systemd-B6S4ND7H.js";
122
122
  import { t as resolveGatewayService } from "./service-Bw9h81em.js";
@@ -136,8 +136,8 @@ import { n as updateNpmInstalledPlugins, t as syncPluginsForUpdateChannel } from
136
136
  import "./doctor-config-flow-QDe1npDU.js";
137
137
  import "./systemd-linger-C3Tnphf9.js";
138
138
  import "./health-format-DQNr1Hum.js";
139
- import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-Dq1G221I.js";
140
- import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-C45zyyLh.js";
139
+ import { n as doctorCommand, t as selectStyled } from "./prompt-select-styled-DEl1ViOW.js";
140
+ import { r as ensureCompletionCacheExists, t as checkShellCompletionStatus } from "./doctor-completion-sHbqqiJx.js";
141
141
  import os from "node:os";
142
142
  import path from "node:path";
143
143
  import fs from "node:fs/promises";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openclaw-cortex",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "description": "Cortex — AI Assistant Command Center. A security-hardened fork of OpenClaw with Cortex UI.",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/ivanuser/cortex",
@@ -133,7 +133,6 @@
133
133
  "@aws-sdk/client-bedrock": "^3.993.0",
134
134
  "@buape/carbon": "0.0.0-beta-20260216184201",
135
135
  "@clack/prompts": "^1.0.1",
136
- "@discordjs/opus": "^0.9.0",
137
136
  "@discordjs/voice": "^0.19.0",
138
137
  "@grammyjs/runner": "^2.0.3",
139
138
  "@grammyjs/transformer-throttler": "^1.2.1",
@@ -213,6 +212,9 @@
213
212
  "@napi-rs/canvas": "^0.1.89",
214
213
  "node-llama-cpp": "3.15.1"
215
214
  },
215
+ "optionalDependencies": {
216
+ "@discordjs/opus": "^0.9.0"
217
+ },
216
218
  "engines": {
217
219
  "node": ">=22.12.0"
218
220
  },
@@ -1 +0,0 @@
1
- import{l as o,a as r}from"../chunks/BiSHrnLa.js";export{o as load_css,r as start};