@liip/liipgpt 3.4.1 → 3.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/button/liipgpt-button.iife.js +85 -85
- package/chat/liipgpt-chat.iife.js +103 -103
- package/config/index.cjs +95 -85
- package/config/index.js +82 -78
- package/configurator/_app/env.js +1 -1
- package/configurator/_app/immutable/chunks/BVVGjklr.js +89 -0
- package/configurator/_app/immutable/chunks/BdP-K7KO.js +3 -0
- package/configurator/_app/immutable/chunks/BmMr_umq.js +1 -0
- package/configurator/_app/immutable/chunks/BmcNmQ0G.js +16 -0
- package/configurator/_app/immutable/chunks/C8mohMXa.js +1 -0
- package/configurator/_app/immutable/chunks/C9x8pbMb.js +1 -0
- package/configurator/_app/immutable/chunks/CNhGYG1q.js +0 -0
- package/configurator/_app/immutable/chunks/CaZV0epm.js +1 -0
- package/configurator/_app/immutable/chunks/D1hYfEew.js +1 -0
- package/configurator/_app/immutable/chunks/DEv5Ueqk.js +324 -0
- package/configurator/_app/immutable/chunks/DUJlwB59.js +15 -0
- package/configurator/_app/immutable/chunks/DZRiPmqv.js +1 -0
- package/configurator/_app/immutable/chunks/DgwBOIN4.js +1 -0
- package/configurator/_app/immutable/chunks/LefYBeig.js +1 -0
- package/configurator/_app/immutable/chunks/cW2jcUnz.js +1 -0
- package/configurator/_app/immutable/chunks/d60TgpyX.js +143 -0
- package/configurator/_app/immutable/chunks/fdiCLIK5.js +1 -0
- package/configurator/_app/immutable/entry/app.BaP_xlDn.js +2 -0
- package/configurator/_app/immutable/entry/start.ldC4tf9d.js +1 -0
- package/configurator/_app/immutable/nodes/{0.B_XTb0XA.js → 0.BrejL_Vm.js} +3 -3
- package/configurator/_app/immutable/nodes/1.D4HRly7L.js +1 -0
- package/configurator/_app/immutable/nodes/2.D6YEON3L.js +31 -0
- package/configurator/_app/immutable/nodes/3.D8XDqzVq.js +954 -0
- package/configurator/_app/version.json +1 -1
- package/configurator/index.html +10 -11
- package/configurator/sidebar.html +10 -11
- package/index.cjs +866 -1838
- package/index.js +830 -1832
- package/package.json +36 -36
- package/configurator/_app/immutable/chunks/3EFJgnry.js +0 -1
- package/configurator/_app/immutable/chunks/6gGOJNBB.js +0 -1
- package/configurator/_app/immutable/chunks/B_3wCAsM.js +0 -1
- package/configurator/_app/immutable/chunks/Bg7q39r6.js +0 -1
- package/configurator/_app/immutable/chunks/C7VUtzlA.js +0 -1
- package/configurator/_app/immutable/chunks/CJpr6qk2.js +0 -324
- package/configurator/_app/immutable/chunks/CR5-hwU3.js +0 -1
- package/configurator/_app/immutable/chunks/CRJbnnWi.js +0 -15
- package/configurator/_app/immutable/chunks/CfJtR48A.js +0 -2
- package/configurator/_app/immutable/chunks/D-P6dqQf.js +0 -1
- package/configurator/_app/immutable/chunks/DPeXO3aA.js +0 -1
- package/configurator/_app/immutable/chunks/DorsiQA9.js +0 -113
- package/configurator/_app/immutable/chunks/DsnmJJEf.js +0 -1
- package/configurator/_app/immutable/chunks/DvaUWHif.js +0 -143
- package/configurator/_app/immutable/chunks/hrZ0qwUL.js +0 -1
- package/configurator/_app/immutable/entry/app.B_XWKku_.js +0 -2
- package/configurator/_app/immutable/entry/start.Cu60dKF7.js +0 -1
- package/configurator/_app/immutable/nodes/1.DrYuOv_f.js +0 -1
- package/configurator/_app/immutable/nodes/2.KIpK6Gup.js +0 -31
- package/configurator/_app/immutable/nodes/3.DLNSyQFh.js +0 -954
package/package.json
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
"name": "@liip/liipgpt",
|
|
3
|
+
"version": "3.4.3",
|
|
4
|
+
"description": "LiipGPT Chat and Library",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"types": "./index.d.ts",
|
|
9
|
+
"import": "./index.js",
|
|
10
|
+
"require": "./index.cjs"
|
|
11
|
+
},
|
|
12
|
+
"./config": {
|
|
13
|
+
"types": "./config/index.d.ts",
|
|
14
|
+
"import": "./config/index.js",
|
|
15
|
+
"require": "./config/index.cjs"
|
|
16
|
+
},
|
|
17
|
+
"./chat": {
|
|
18
|
+
"import": "./chat/liipgpt-chat.iife.js",
|
|
19
|
+
"require": "./chat/liipgpt-chat.iife.js"
|
|
20
|
+
},
|
|
21
|
+
"./button": {
|
|
22
|
+
"import": "./button/liipgpt-button.iife.js",
|
|
23
|
+
"require": "./button/liipgpt-button.iife.js"
|
|
24
|
+
}
|
|
11
25
|
},
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
},
|
|
26
|
-
"files": [
|
|
27
|
-
"index.d.ts",
|
|
28
|
-
"index.js",
|
|
29
|
-
"index.cjs",
|
|
30
|
-
"config/**/*.{js,cjs,d.ts}",
|
|
31
|
-
"button/**/*.{js,cjs,d.ts}",
|
|
32
|
-
"chat/**/*.{js,cjs,d.ts}",
|
|
33
|
-
"configurator"
|
|
34
|
-
],
|
|
35
|
-
"keywords": [],
|
|
36
|
-
"author": "falkz",
|
|
37
|
-
"license": ""
|
|
38
|
-
}
|
|
26
|
+
"files": [
|
|
27
|
+
"index.d.ts",
|
|
28
|
+
"index.js",
|
|
29
|
+
"index.cjs",
|
|
30
|
+
"config/**/*.{js,cjs,d.ts}",
|
|
31
|
+
"button/**/*.{js,cjs,d.ts}",
|
|
32
|
+
"chat/**/*.{js,cjs,d.ts}",
|
|
33
|
+
"configurator"
|
|
34
|
+
],
|
|
35
|
+
"keywords": [],
|
|
36
|
+
"author": "falkz",
|
|
37
|
+
"license": ""
|
|
38
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a3 as r}from"./CfJtR48A.js";import{s as t,p as e}from"./C7VUtzlA.js";r();const a={get error(){return e.error},get status(){return e.status},get url(){return e.url}};t.updated.check;const p=a;export{p};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{l as e,u,h as t,i as a,j as l}from"./CfJtR48A.js";function c(n){t===null&&e(),a&&t.l!==null?i(t).m.push(n):u(()=>{const o=l(n);if(typeof o=="function")return o})}function f(n){t===null&&e(),c(()=>()=>l(n))}function i(n){var o=n.l;return o.u??={a:[],b:[],m:[]}}export{f as a,c as o};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{p as L,n as T,k as h,b as A,m as r,o as b,c as R}from"./CfJtR48A.js";import{p as o,s as U}from"./hrZ0qwUL.js";import{C as _}from"./DvaUWHif.js";import{E}from"./CRJbnnWi.js";function v(S,t){L(t,!0);let a=o(t,"forceTheme",7),l=o(t,"apiUrl",7),i=o(t,"apiKey",7),n=o(t,"speechRecognitionApiKey",7),u=o(t,"lang",7),y=o(t,"features",7),s=o(t,"loaderBackground",7),g=o(t,"loaderColor",7),f=o(t,"flyout",7),c=o(t,"flyoutStyle",7),p=o(t,"flyoutClass",7),d=o(t,"inlineLayout",7),m=b(()=>({forceTheme:a(),apiUrl:l(),apiKey:i(),speechRecognitionApiKey:n(),lang:u(),features:y(),loaderBackground:s(),loaderColor:g(),flyout:f(),flyoutStyle:c(),flyoutClass:p(),inlineLayout:d()}));var C={get forceTheme(){return a()},set forceTheme(e){a(e),r()},get apiUrl(){return l()},set apiUrl(e){l(e),r()},get apiKey(){return i()},set apiKey(e){i(e),r()},get speechRecognitionApiKey(){return n()},set speechRecognitionApiKey(e){n(e),r()},get lang(){return u()},set lang(e){u(e),r()},get features(){return y()},set features(e){y(e),r()},get loaderBackground(){return s()},set loaderBackground(e){s(e),r()},get loaderColor(){return g()},set loaderColor(e){g(e),r()},get flyout(){return f()},set flyout(e){f(e),r()},get flyoutStyle(){return c()},set flyoutStyle(e){c(e),r()},get flyoutClass(){return p()},set flyoutClass(e){p(e),r()},get inlineLayout(){return d()},set inlineLayout(e){d(e),r()}};{const e=(k,B=T)=>{_(k,U({host:t.$$host,get onError(){return B()}},()=>h(m)))};let K=b(()=>h(m).flyout??!1);E(S,{get silent(){return h(K)},body:e,$$slots:{body:!0}})}return A(C)}customElements.define("liipgpt-chat",R(v,{forceTheme:{attribute:"force-theme",type:"String"},apiUrl:{attribute:"api-url",type:"String"},apiKey:{attribute:"api-key",type:"String"},speechRecognitionApiKey:{attribute:"speech-recognition-api-key",type:"String"},lang:{attribute:"lang",type:"String"},features:{attribute:"features",type:"String"},loaderBackground:{attribute:"loader-background",type:"String"},loaderColor:{attribute:"loader-color",type:"String"},flyout:{attribute:"flyout",type:"Boolean"},flyoutStyle:{attribute:"flyout-style",type:"String"},flyoutClass:{attribute:"flyout-class",type:"String"},inlineLayout:{attribute:"inline-layout",type:"Boolean"}},[],[],{mode:"open"}));export{v as LiipGPTChat};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a7 as _,a8 as g,O as E,a9 as p,aa as w,ab as A,ac as N,ad as P,ae as R,af as b,P as k,ag as L,ah as O,ai as $,j as B,V as C}from"./CfJtR48A.js";import{B as y}from"./hrZ0qwUL.js";function Y(n,a,i=!1){var f;E&&(f=k,p());var s=new y(n),e=i?g:0;function o(t,u){if(E){var c=w(f),r;if(c===A?r=0:c===N?r=!1:r=parseInt(c.substring(1)),t!==r){var l=P();R(l),s.anchor=l,b(!1),s.ensure(t,u),b(!0);return}}s.ensure(t,u)}_(()=>{var t=!1;a((u,c=0)=>{t=!0,o(c,u)}),t||o(!1,null)},e)}function x(n,a,i){var f;E&&(f=k,p());var s=new y(n);_(()=>{var e=a()??null;if(E){var o=w(f),t=o===A,u=e!==null;if(t!==u){var c=P();R(c),s.anchor=c,b(!1),s.ensure(e,e&&(r=>i(r,e))),b(!0);return}}s.ensure(e,e&&(r=>i(r,e)))},g)}function S(n,a){return n===a||n?.[C]===a}function D(n={},a,i,f){return L(()=>{var s,e;return O(()=>{s=e,e=[],B(()=>{n!==i(...e)&&(a(n,...e),s&&S(i(...s),n)&&a(null,...s))})}),()=>{$(()=>{e&&S(i(...e),n)&&a(null,...e)})}}),n}const j="modulepreload",q=function(n,a){return new URL(n,a).href},T={},F=function(a,i,f){let s=Promise.resolve();if(i&&i.length>0){let c=function(r){return Promise.all(r.map(l=>Promise.resolve(l).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};const o=document.getElementsByTagName("link"),t=document.querySelector("meta[property=csp-nonce]"),u=t?.nonce||t?.getAttribute("nonce");s=c(i.map(r=>{if(r=q(r,f),r in T)return;T[r]=!0;const l=r.endsWith(".css"),d=l?'[rel="stylesheet"]':"";if(f)for(let v=o.length-1;v>=0;v--){const m=o[v];if(m.href===r&&(!l||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${r}"]${d}`))return;const h=document.createElement("link");if(h.rel=l?"stylesheet":j,l||(h.as="script"),h.crossOrigin="",h.href=r,u&&h.setAttribute("nonce",u),document.head.appendChild(h),l)return new Promise((v,m)=>{h.addEventListener("load",v),h.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${r}`)))})}))}function e(o){const t=new Event("vite:preloadError",{cancelable:!0});if(t.payload=o,window.dispatchEvent(t),!t.defaultPrevented)throw o}return s.then(o=>{for(const t of o||[])t.status==="rejected"&&e(t.reason);return a().catch(e)})};export{F as _,D as b,x as c,Y as i};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as pe,bh as _t,C as A,k as U,D as T,a4 as te,bH as wt}from"./CfJtR48A.js";import{o as De}from"./6gGOJNBB.js";const V=[];function Se(e,t=pe){let n=null;const r=new Set;function a(o){if(_t(e,o)&&(e=o,n)){const c=!V.length;for(const l of r)l[1](),V.push(l,e);if(c){for(let l=0;l<V.length;l+=2)V[l][0](V[l+1]);V.length=0}}}function i(o){a(o(e))}function s(o,c=pe){const l=[o,c];return r.add(l),r.size===1&&(n=t(a,i)||pe),o(e),()=>{r.delete(l),r.size===0&&n&&(n(),n=null)}}return{set:a,update:i,subscribe:s}}class Re{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 xe{constructor(t,n){this.status=t,this.location=n}}class Le extends Error{constructor(t,n,r){super(r),this.status=t,this.text=n}}new URL("sveltekit-internal://");function vt(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function yt(e){return e.split("%25").map(decodeURI).join("%25")}function bt(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function ge({href:e}){return e.split("#")[0]}function kt(e,t,n,r=!1){const a=new URL(e);Object.defineProperty(a,"searchParams",{value:new Proxy(a.searchParams,{get(s,o){if(o==="get"||o==="getAll"||o==="has")return(l,...d)=>(n(l),s[o](l,...d));t();const c=Reflect.get(s,o);return typeof c=="function"?c.bind(s):c}}),enumerable:!0,configurable:!0});const i=["href","pathname","search","toString","toJSON"];r&&i.push("hash");for(const s of i)Object.defineProperty(a,s,{get(){return t(),e[s]},enumerable:!0,configurable:!0});return a}function Et(...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 St(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 Rt=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&H.delete(Ae(e)),Rt(e,t));const H=new Map;function xt(e,t){const n=Ae(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:a,...i}=JSON.parse(r.textContent);const s=r.getAttribute("data-ttl");return s&&H.set(n,{body:a,init:i,ttl:1e3*Number(s)}),r.getAttribute("data-b64")!==null&&(a=St(a)),Promise.resolve(new Response(a,i))}return window.fetch(e,t)}function Lt(e,t,n){if(H.size>0){const r=Ae(e,n),a=H.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);H.delete(r)}}return window.fetch(t,n)}function Ae(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="${Et(...a)}"]`}return r}const At=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/;function Ut(e){const t=[];return{pattern:e==="/"?/^\/$/:new RegExp(`^${Pt(e).map(r=>{const a=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(r);if(a)return t.push({name:a[1],matcher:a[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const i=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(r);if(i)return t.push({name:i[1],matcher:i[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!r)return;const s=r.split(/\[(.+?)\](?!\])/);return"/"+s.map((c,l)=>{if(l%2){if(c.startsWith("x+"))return me(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return me(String.fromCharCode(...c.slice(2).split("-").map(w=>parseInt(w,16))));const d=At.exec(c),[,p,f,u,h]=d;return t.push({name:u,matcher:h,optional:!!p,rest:!!f,chained:f?l===1&&s[0]==="":!1}),f?"([^]*?)":p?"([^/]*)?":"([^/]+?)"}return me(c)}).join("")}).join("")}/?$`),params:t}}function Tt(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function Pt(e){return e.slice(1).split("/").filter(Tt)}function It(e,t,n){const r={},a=e.slice(1),i=a.filter(o=>o!==void 0);let s=0;for(let o=0;o<t.length;o+=1){const c=t[o];let l=a[o-s];if(c.chained&&c.rest&&s&&(l=a.slice(o-s,o+1).filter(d=>d).join("/"),s=0),l===void 0)if(c.rest)l="";else continue;if(!c.matcher||n[c.matcher](l)){r[c.name]=l;const d=t[o+1],p=a[o+1];d&&!d.rest&&d.optional&&p&&c.chained&&(s=0),!d&&!p&&Object.keys(r).length===i.length&&(s=0);continue}if(c.optional&&c.chained){s++;continue}return}if(!s)return r}function me(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Ot({nodes:e,server_loads:t,dictionary:n,matchers:r}){const a=new Set(t);return Object.entries(n).map(([o,[c,l,d]])=>{const{pattern:p,params:f}=Ut(o),u={id:o,exec:h=>{const w=p.exec(h);if(w)return It(w,f,r)},errors:[1,...d||[]].map(h=>e[h]),layouts:[0,...l||[]].map(s),leaf:i(c)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function i(o){const c=o<0;return c&&(o=~o),[c,e[o]]}function s(o){return o===void 0?o:[a.has(o),e[o]]}}function We(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function Ve(e,t,n=JSON.stringify){const r=n(t);try{sessionStorage[e]=r}catch{}}const x=globalThis.__sveltekit_1nonkia?.base??"/configurator",Ct=globalThis.__sveltekit_1nonkia?.assets??x??"",$t="1773658448798",Je="sveltekit:snapshot",Ye="sveltekit:scroll",Xe="sveltekit:states",jt="sveltekit:pageurl",K="sveltekit:history",z="sveltekit:navigation",j={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},ue=location.origin;function Ue(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 q(){return{x:pageXOffset,y:pageYOffset}}function B(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const Be={...j,"":j.hover};function Qe(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function Ze(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=Qe(e)}}function ve(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const a=e instanceof SVGAElement?e.target.baseVal:e.target,i=!r||!!a||fe(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),s=r?.origin===ue&&e.hasAttribute("download");return{url:r,external:i,target:a,download:s}}function ne(e){let t=null,n=null,r=null,a=null,i=null,s=null,o=e;for(;o&&o!==document.documentElement;)r===null&&(r=B(o,"preload-code")),a===null&&(a=B(o,"preload-data")),t===null&&(t=B(o,"keepfocus")),n===null&&(n=B(o,"noscroll")),i===null&&(i=B(o,"reload")),s===null&&(s=B(o,"replacestate")),o=Qe(o);function c(l){switch(l){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:Be[r??"off"],preload_data:Be[a??"off"],keepfocus:c(t),noscroll:c(n),reload:c(i),replace_state:c(s)}}function Ke(e){const t=Se(e);let n=!0;function r(){n=!0,t.update(s=>s)}function a(s){n=!1,t.set(s)}function i(s){let o;return t.subscribe(c=>{(o===void 0||n&&c!==o)&&s(o=c)})}return{notify:r,set:a,subscribe:i}}const et={v:()=>{}};function Nt(){const{set:e,subscribe:t}=Se(!1);let n;async function r(){clearTimeout(n);try{const a=await fetch(`${Ct}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!a.ok)return!1;const s=(await a.json()).version!==$t;return s&&(e(!0),et.v(),clearTimeout(n)),s}catch{return!1}}return{subscribe:t,check:r}}function fe(e,t,n){return e.origin!==ue||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function fn(e){}const tt=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...tt];const qt=new Set([...tt]);[...qt];function Dt(e){return e.filter(t=>t!=null)}function Te(e){return e instanceof Re||e instanceof Le?e.status:500}function Vt(e){return e instanceof Le?e.text:"Internal Error"}let k,W,_e;const Bt=De.toString().includes("$$")||/function \w+\(\) \{\}/.test(De.toString());Bt?(k={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL("https://example.com")},W={current:null},_e={current:!1}):(k=new class{#e=A({});get data(){return U(this.#e)}set data(t){T(this.#e,t)}#t=A(null);get form(){return U(this.#t)}set form(t){T(this.#t,t)}#n=A(null);get error(){return U(this.#n)}set error(t){T(this.#n,t)}#r=A({});get params(){return U(this.#r)}set params(t){T(this.#r,t)}#a=A({id:null});get route(){return U(this.#a)}set route(t){T(this.#a,t)}#o=A({});get state(){return U(this.#o)}set state(t){T(this.#o,t)}#s=A(-1);get status(){return U(this.#s)}set status(t){T(this.#s,t)}#i=A(new URL("https://example.com"));get url(){return U(this.#i)}set url(t){T(this.#i,t)}},W=new class{#e=A(null);get current(){return U(this.#e)}set current(t){T(this.#e,t)}},_e=new class{#e=A(!1);get current(){return U(this.#e)}set current(t){T(this.#e,t)}},et.v=()=>_e.current=!0);function Kt(e){Object.assign(k,e)}const Fe={spanContext(){return Ft},setAttribute(){return this},setAttributes(){return this},addEvent(){return this},setStatus(){return this},updateName(){return this},end(){return this},isRecording(){return!1},recordException(){return this},addLink(){return this},addLinks(){return this}},Ft={traceId:"",spanId:"",traceFlags:0},Gt=new Set(["icon","shortcut icon","apple-touch-icon"]),$=We(Ye)??{},J=We(Je)??{},C={url:Ke({}),page:Ke({}),navigating:Se(null),updated:Nt()};function Pe(e){$[e]=q()}function Ht(e,t){let n=e+1;for(;$[n];)delete $[n],n+=1;for(n=t+1;J[n];)delete J[n],n+=1}function Y(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(()=>{})}async function nt(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(x||"/");e&&await e.update()}}function Ge(){}let Ie,ye,re,P,be,v;const ae=[],oe=[];let L=null;function ke(){L?.fork?.then(e=>e?.discard()),L=null}const ee=new Map,rt=new Set,Mt=new Set,M=new Set;let _={branch:[],error:null,url:null},at=!1,se=!1,He=!0,X=!1,G=!1,ot=!1,Oe=!1,st,y,R,N;const ie=new Set,Me=new Map;async function gn(e,t,n){globalThis.__sveltekit_1nonkia?.data&&globalThis.__sveltekit_1nonkia.data,document.URL!==location.href&&(location.href=location.href),v=e,await e.hooks.init?.(),Ie=Ot(e),P=document.documentElement,be=t,ye=e.nodes[0],re=e.nodes[1],ye(),re(),y=history.state?.[K],R=history.state?.[z],y||(y=R=Date.now(),history.replaceState({...history.state,[K]:y,[z]:R},""));const r=$[y];function a(){r&&(history.scrollRestoration="manual",scrollTo(r.x,r.y))}n?(a(),await an(be,n)):(await F({type:"enter",url:Ue(v.hash?cn(new URL(location.href)):location.href),replace_state:!0}),a()),rn()}function zt(){ae.length=0,Oe=!1}function it(e){oe.some(t=>t?.snapshot)&&(J[e]=oe.map(t=>t?.snapshot?.capture()))}function ct(e){J[e]?.forEach((t,n)=>{oe[n]?.snapshot?.restore(t)})}function ze(){Pe(y),Ve(Ye,$),it(R),Ve(Je,J)}async function lt(e,t,n,r){let a;t.invalidateAll&&ke(),await F({type:"goto",url:Ue(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:n,nav_token:r,accept:()=>{t.invalidateAll&&(Oe=!0,a=[...Me.keys()]),t.invalidate&&t.invalidate.forEach(nn)}}),t.invalidateAll&&te().then(te).then(()=>{Me.forEach(({resource:i},s)=>{a?.includes(s)&&i.refresh?.()})})}async function Wt(e){if(e.id!==L?.id){ke();const t={};ie.add(t),L={id:e.id,token:t,promise:dt({...e,preload:t}).then(n=>(ie.delete(t),n.type==="loaded"&&n.state.error&&ke(),n)),fork:null}}return L.promise}async function we(e){const t=(await de(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(n=>n[1]()))}async function ut(e,t,n){_=e.state;const r=document.querySelector("style[data-sveltekit]");if(r&&r.remove(),Object.assign(k,e.props.page),st=new v.root({target:t,props:{...e.props,stores:C,components:oe},hydrate:n,sync:!1}),await Promise.resolve(),ct(R),n){const a={from:null,to:{params:_.params,route:{id:_.route?.id??null},url:new URL(location.href),scroll:$[y]??q()},willUnload:!1,type:"enter",complete:Promise.resolve()};M.forEach(i=>i(a))}se=!0}function ce({url:e,params:t,branch:n,status:r,error:a,route:i,form:s}){let o="never";if(x&&(e.pathname===x||e.pathname===x+"/"))o="always";else for(const u of n)u?.slash!==void 0&&(o=u.slash);e.pathname=vt(e.pathname,o),e.search=e.search;const c={type:"loaded",state:{url:e,params:t,branch:n,error:a,route:i},props:{constructors:Dt(n).map(u=>u.node.component),page:qe(k)}};s!==void 0&&(c.props.form=s);let l={},d=!k,p=0;for(let u=0;u<Math.max(n.length,_.branch.length);u+=1){const h=n[u],w=_.branch[u];h?.data!==w?.data&&(d=!0),h&&(l={...l,...h.data},d&&(c.props[`data_${p}`]=l),p+=1)}return(!_.url||e.href!==_.url.href||_.error!==a||s!==void 0&&s!==k.form||d)&&(c.props.page={error:a,params:t,route:{id:i?.id??null},state:{},status:r,url:new URL(e),form:s??null,data:d?l:k.data}),c}async function Ce({loader:e,parent:t,url:n,params:r,route:a,server_data_node:i}){let s=null,o=!0;const c={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},l=await e();if(l.universal?.load){let d=function(...f){for(const u of f){const{href:h}=new URL(u,n);c.dependencies.add(h)}};const p={tracing:{enabled:!1,root:Fe,current:Fe},route:new Proxy(a,{get:(f,u)=>(o&&(c.route=!0),f[u])}),params:new Proxy(r,{get:(f,u)=>(o&&c.params.add(u),f[u])}),data:i?.data??null,url:kt(n,()=>{o&&(c.url=!0)},f=>{o&&c.search_params.add(f)},v.hash),async fetch(f,u){f instanceof Request&&(u={body:f.method==="GET"||f.method==="HEAD"?void 0:await f.blob(),cache:f.cache,credentials:f.credentials,headers:[...f.headers].length>0?f?.headers:void 0,integrity:f.integrity,keepalive:f.keepalive,method:f.method,mode:f.mode,redirect:f.redirect,referrer:f.referrer,referrerPolicy:f.referrerPolicy,signal:f.signal,...u});const{resolved:h,promise:w}=ft(f,u,n);return o&&d(h.href),w},setHeaders:()=>{},depends:d,parent(){return o&&(c.parent=!0),t()},untrack(f){o=!1;try{return f()}finally{o=!0}}};s=await l.universal.load.call(null,p)??null}return{node:l,loader:e,server:i,universal:l.universal?.load?{type:"data",data:s,uses:c}:null,data:s??i?.data??null,slash:l.universal?.trailingSlash??i?.slash}}function ft(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=se?Lt(r,a.href,t):xt(r,t);return{resolved:a,promise:i}}function Jt(e,t,n,r,a,i){if(Oe)return!0;if(!a)return!1;if(a.parent&&e||a.route&&t||a.url&&n)return!0;for(const s of a.search_params)if(r.has(s))return!0;for(const s of a.params)if(i[s]!==_.params[s])return!0;for(const s of a.dependencies)if(ae.some(o=>o(new URL(s))))return!0;return!1}function $e(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function Yt(e,t){if(!e)return new Set(t.searchParams.keys());const n=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const r of n){const a=e.searchParams.getAll(r),i=t.searchParams.getAll(r);a.every(s=>i.includes(s))&&i.every(s=>a.includes(s))&&n.delete(r)}return n}function Xt({error:e,url:t,route:n,params:r}){return{type:"loaded",state:{error:e,url:t,route:n,params:r,branch:[]},props:{page:qe(k),constructors:[]}}}async function dt({id:e,invalidating:t,url:n,params:r,route:a,preload:i}){if(L?.id===e)return ie.delete(L.token),L.promise;const{errors:s,layouts:o,leaf:c}=a,l=[...o,c];s.forEach(m=>m?.().catch(()=>{})),l.forEach(m=>m?.[1]().catch(()=>{}));const d=_.url?e!==le(_.url):!1,p=_.route?a.id!==_.route.id:!1,f=Yt(_.url,n);let u=!1;const h=l.map(async(m,g)=>{if(!m)return;const E=_.branch[g];return m[1]===E?.loader&&!Jt(u,p,d,f,E.universal?.uses,r)?E:(u=!0,Ce({loader:m[1],url:n,params:r,route:a,parent:async()=>{const I={};for(let O=0;O<g;O+=1)Object.assign(I,(await h[O])?.data);return I},server_data_node:$e(m[0]?{type:"skip"}:null,m[0]?E?.server:void 0)}))});for(const m of h)m.catch(()=>{});const w=[];for(let m=0;m<l.length;m+=1)if(l[m])try{w.push(await h[m])}catch(g){if(g instanceof xe)return{type:"redirect",location:g.location};if(ie.has(i))return Xt({error:await Q(g,{params:r,url:n,route:{id:a.id}}),url:n,params:r,route:a});let E=Te(g),S;if(g instanceof Re)S=g.body;else{if(await C.updated.check())return await nt(),await Y(n);S=await Q(g,{params:r,url:n,route:{id:a.id}})}const I=await Qt(m,w,s);return I?ce({url:n,params:r,branch:w.slice(0,I.idx).concat(I.node),status:E,error:S,route:a}):await pt(n,{id:a.id},S,E)}else w.push(void 0);return ce({url:n,params:r,branch:w,status:200,error:null,route:a,form:t?void 0:null})}async function Qt(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 je({status:e,error:t,url:n,route:r}){const a={};let i=null;try{const s=await Ce({loader:ye,url:n,params:a,route:r,parent:()=>Promise.resolve({}),server_data_node:$e(i)}),o={node:await re(),loader:re,universal:null,server:null,data:null};return ce({url:n,params:a,branch:[s,o],status:e,error:t,route:null})}catch(s){if(s instanceof xe)return lt(new URL(s.location,location.href),{},0);throw s}}async function Zt(e){const t=e.href;if(ee.has(t))return ee.get(t);let n;try{const r=(async()=>{let a=await v.hooks.reroute({url:new URL(e),fetch:async(i,s)=>ft(i,s,e).promise})??e;if(typeof a=="string"){const i=new URL(e);v.hash?i.hash=a:i.pathname=a,a=i}return a})();ee.set(t,r),n=await r}catch{ee.delete(t);return}return n}async function de(e,t){if(e&&!fe(e,x,v.hash)){const n=await Zt(e);if(!n)return;const r=en(n);for(const a of Ie){const i=a.exec(r);if(i)return{id:le(e),invalidating:t,route:a,params:bt(i),url:e}}}}function en(e){return yt(v.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(x.length))||"/"}function le(e){return(v.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function ht({url:e,type:t,intent:n,delta:r,event:a,scroll:i}){let s=!1;const o=Ne(_,n,e,t,i??null);r!==void 0&&(o.navigation.delta=r),a!==void 0&&(o.navigation.event=a);const c={...o.navigation,cancel:()=>{s=!0,o.reject(new Error("navigation cancelled"))}};return X||rt.forEach(l=>l(c)),s?null:o}async function F({type:e,url:t,popped:n,keepfocus:r,noscroll:a,replace_state:i,state:s={},redirect_count:o=0,nav_token:c={},accept:l=Ge,block:d=Ge,event:p}){const f=N;N=c;const u=await de(t,!1),h=e==="enter"?Ne(_,u,t,e):ht({url:t,type:e,delta:n?.delta,intent:u,scroll:n?.scroll,event:p});if(!h){d(),N===c&&(N=f);return}const w=y,m=R;l(),X=!0,se&&h.navigation.type!=="enter"&&C.navigating.set(W.current=h.navigation);let g=u&&await dt(u);if(!g){if(fe(t,x,v.hash))return await Y(t,i);g=await pt(t,{id:null},await Q(new Le(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,i)}if(t=u?.url||t,N!==c)return h.reject(new Error("navigation aborted")),!1;if(g.type==="redirect"){if(o<20){await F({type:e,url:new URL(g.location,t),popped:n,keepfocus:r,noscroll:a,replace_state:i,state:s,redirect_count:o+1,nav_token:c}),h.fulfil(void 0);return}g=await je({status:500,error:await Q(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}})}else g.props.page.status>=400&&await C.updated.check()&&(await nt(),await Y(t,i));if(zt(),Pe(w),it(m),g.props.page.url.pathname!==t.pathname&&(t.pathname=g.props.page.url.pathname),s=n?n.state:s,!n){const b=i?0:1,Z={[K]:y+=b,[z]:R+=b,[Xe]:s};(i?history.replaceState:history.pushState).call(history,Z,"",t),i||Ht(y,R)}const E=u&&L?.id===u.id?L.fork:null;L=null,g.props.page.state=s;let S;if(se){const b=(await Promise.all(Array.from(Mt,D=>D(h.navigation)))).filter(D=>typeof D=="function");if(b.length>0){let D=function(){b.forEach(he=>{M.delete(he)})};b.push(D),b.forEach(he=>{M.add(he)})}_=g.state,g.props.page&&(g.props.page.url=t);const Z=E&&await E;Z?S=Z.commit():(st.$set(g.props),Kt(g.props.page),S=wt?.()),ot=!0}else await ut(g,be,!1);const{activeElement:I}=document;await S,await te(),await te();let O=null;if(He){const b=n?n.scroll:a?q():null;b?scrollTo(b.x,b.y):(O=t.hash&&document.getElementById(gt(t)))?O.scrollIntoView():scrollTo(0,0)}const mt=document.activeElement!==I&&document.activeElement!==document.body;!r&&!mt&&sn(t,!O),He=!0,g.props.page&&Object.assign(k,g.props.page),X=!1,e==="popstate"&&ct(R),h.fulfil(void 0),h.navigation.to&&(h.navigation.to.scroll=q()),M.forEach(b=>b(h.navigation)),C.navigating.set(W.current=null)}async function pt(e,t,n,r,a){return e.origin===ue&&e.pathname===location.pathname&&!at?await je({status:r,error:n,url:e,route:t}):await Y(e,a)}function tn(){let e,t={element:void 0,href:void 0},n;P.addEventListener("mousemove",o=>{const c=o.target;clearTimeout(e),e=setTimeout(()=>{i(c,j.hover)},20)});function r(o){o.defaultPrevented||i(o.composedPath()[0],j.tap)}P.addEventListener("mousedown",r),P.addEventListener("touchstart",r,{passive:!0});const a=new IntersectionObserver(o=>{for(const c of o)c.isIntersecting&&(we(new URL(c.target.href)),a.unobserve(c.target))},{threshold:0});async function i(o,c){const l=Ze(o,P),d=l===t.element&&l?.href===t.href&&c>=n;if(!l||d)return;const{url:p,external:f,download:u}=ve(l,x,v.hash);if(f||u)return;const h=ne(l),w=p&&le(_.url)===le(p);if(!(h.reload||w))if(c<=h.preload_data){t={element:l,href:l.href},n=j.tap;const m=await de(p,!1);if(!m)return;Wt(m)}else c<=h.preload_code&&(t={element:l,href:l.href},n=c,we(p))}function s(){a.disconnect();for(const o of P.querySelectorAll("a")){const{url:c,external:l,download:d}=ve(o,x,v.hash);if(l||d)continue;const p=ne(o);p.reload||(p.preload_code===j.viewport&&a.observe(o),p.preload_code===j.eager&&we(c))}}M.add(s),s()}function Q(e,t){if(e instanceof Re)return e.body;const n=Te(e),r=Vt(e);return v.hooks.handleError({error:e,event:t,status:n,message:r})??{message:r}}function mn(e,t={}){return e=new URL(Ue(e)),e.origin!==ue?Promise.reject(new Error("goto: invalid URL")):lt(e,t,0)}function nn(e){if(typeof e=="function")ae.push(e);else{const{href:t}=new URL(e,location.href);ae.push(n=>n.href===t)}}function rn(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let n=!1;if(ze(),!X){const r=Ne(_,void 0,null,"leave"),a={...r.navigation,cancel:()=>{n=!0,r.reject(new Error("navigation cancelled"))}};rt.forEach(i=>i(a))}n?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&ze()}),navigator.connection?.saveData||tn(),P.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const n=Ze(t.composedPath()[0],P);if(!n)return;const{url:r,external:a,target:i,download:s}=ve(n,x,v.hash);if(!r)return;if(i==="_parent"||i==="_top"){if(window.parent!==window)return}else if(i&&i!=="_self")return;const o=ne(n);if(!(n instanceof SVGAElement)&&r.protocol!==location.protocol&&!(r.protocol==="https:"||r.protocol==="http:")||s)return;const[l,d]=(v.hash?r.hash.replace(/^#/,""):r.href).split("#"),p=l===ge(location);if(a||o.reload&&(!p||!d)){ht({url:r,type:"link",event:t})?X=!0:t.preventDefault();return}if(d!==void 0&&p){const[,f]=_.url.href.split("#");if(f===d){if(t.preventDefault(),d===""||d==="top"&&n.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const u=n.ownerDocument.getElementById(decodeURIComponent(d));u&&(u.scrollIntoView(),u.focus())}return}if(G=!0,Pe(y),e(r),!o.replace_state)return;G=!1}t.preventDefault(),await new Promise(f=>{requestAnimationFrame(()=>{setTimeout(f,0)}),setTimeout(f,100)}),await F({type:"link",url:r,keepfocus:o.keepfocus,noscroll:o.noscroll,replace_state:o.replace_state??r.href===location.href,event:t})}),P.addEventListener("submit",t=>{if(t.defaultPrevented)return;const n=HTMLFormElement.prototype.cloneNode.call(t.target),r=t.submitter;if((r?.formTarget||n.target)==="_blank"||(r?.formMethod||n.method)!=="get")return;const s=new URL(r?.hasAttribute("formaction")&&r?.formAction||n.action);if(fe(s,x,!1))return;const o=t.target,c=ne(o);if(c.reload)return;t.preventDefault(),t.stopPropagation();const l=new FormData(o,r);s.search=new URLSearchParams(l).toString(),F({type:"form",url:s,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??s.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!Ee){if(t.state?.[K]){const n=t.state[K];if(N={},n===y)return;const r=$[n],a=t.state[Xe]??{},i=new URL(t.state[jt]??location.href),s=t.state[z],o=_.url?ge(location)===ge(_.url):!1;if(s===R&&(ot||o)){a!==k.state&&(k.state=a),e(i),$[y]=q(),r&&scrollTo(r.x,r.y),y=n;return}const l=n-y;await F({type:"popstate",url:i,popped:{state:a,scroll:r,delta:l},accept:()=>{y=n,R=s},block:()=>{history.go(-l)},nav_token:N,event:t})}else if(!G){const n=new URL(location.href);e(n),v.hash&&location.reload()}}}),addEventListener("hashchange",()=>{G&&(G=!1,history.replaceState({...history.state,[K]:++y,[z]:R},"",location.href))});for(const t of document.querySelectorAll("link"))Gt.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&C.navigating.set(W.current=null)});function e(t){_.url=k.url=t,C.page.set(qe(k)),C.page.notify()}}async function an(e,{status:t=200,error:n,node_ids:r,params:a,route:i,server_route:s,data:o,form:c}){at=!0;const l=new URL(location.href);let d;({params:a={},route:i={id:null}}=await de(l,!1)||{}),d=Ie.find(({id:u})=>u===i.id);let p,f=!0;try{const u=r.map(async(w,m)=>{const g=o[m];return g?.uses&&(g.uses=on(g.uses)),Ce({loader:v.nodes[w],url:l,params:a,route:i,parent:async()=>{const E={};for(let S=0;S<m;S+=1)Object.assign(E,(await u[S]).data);return E},server_data_node:$e(g)})}),h=await Promise.all(u);if(d){const w=d.layouts;for(let m=0;m<w.length;m++)w[m]||h.splice(m,0,void 0)}p=ce({url:l,params:a,branch:h,status:t,error:n,form:c,route:d??null})}catch(u){if(u instanceof xe){await Y(new URL(u.location,location.href));return}p=await je({status:Te(u),error:await Q(u,{url:l,params:a,route:i}),url:l,route:i}),e.textContent="",f=!1}p.props.page&&(p.props.page.state={}),await ut(p,e,f)}function on(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let Ee=!1;function sn(e,t=!0){const n=document.querySelector("[autofocus]");if(n)n.focus();else{const r=gt(e);if(r&&document.getElementById(r)){const{x:i,y:s}=q();setTimeout(()=>{const o=history.state;Ee=!0,location.replace(new URL(`#${r}`,location.href)),history.replaceState(o,"",e),t&&scrollTo(i,s),Ee=!1})}else{const i=document.body,s=i.getAttribute("tabindex");i.tabIndex=-1,i.focus({preventScroll:!0,focusVisible:!1}),s!==null?i.setAttribute("tabindex",s):i.removeAttribute("tabindex")}const a=getSelection();if(a&&a.type!=="None"){const i=[];for(let s=0;s<a.rangeCount;s+=1)i.push(a.getRangeAt(s));setTimeout(()=>{if(a.rangeCount===i.length){for(let s=0;s<a.rangeCount;s+=1){const o=i[s],c=a.getRangeAt(s);if(o.commonAncestorContainer!==c.commonAncestorContainer||o.startContainer!==c.startContainer||o.endContainer!==c.endContainer||o.startOffset!==c.startOffset||o.endOffset!==c.endOffset)return}a.removeAllRanges()}})}}}function Ne(e,t,n,r,a=null){let i,s;const o=new Promise((l,d)=>{i=l,s=d});return o.catch(()=>{}),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:q()},to:n&&{params:t?.params??null,route:{id:t?.route?.id??null},url:n,scroll:a},willUnload:!t,type:r,complete:o},fulfil:i,reject:s}}function qe(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function cn(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function gt(e){let t;if(v.hash){const[,,n]=e.hash.split("#",3);t=n??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{gn as a,mn as g,fn as l,k as p,C as s,Se as w};
|