diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 00000000..e69de29b diff --git a/404.html b/404.html new file mode 100644 index 00000000..d4bc2cda --- /dev/null +++ b/404.html @@ -0,0 +1,21 @@ + + + + + + 404 | @hpcc-js/wasm + + + + + + + + + + +
+ + + + \ No newline at end of file diff --git a/README.html b/README.html new file mode 100644 index 00000000..e7b90e3c --- /dev/null +++ b/README.html @@ -0,0 +1,24 @@ + + + + + + @hpcc-js/wasm-root | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/assets/README.md.COi_AUbP.js b/assets/README.md.COi_AUbP.js new file mode 100644 index 00000000..e9c41d2b --- /dev/null +++ b/assets/README.md.COi_AUbP.js @@ -0,0 +1 @@ +import{_ as s,c as r,a0 as t,o as c}from"./chunks/framework.Cu6dwUeI.js";const n=JSON.parse('{"title":"@hpcc-js/wasm-root","description":"","frontmatter":{},"headers":[],"relativePath":"README.md","filePath":"README.md","lastUpdated":null}'),e={name:"README.md"};function l(o,a,h,i,m,d){return c(),r("div",null,a[0]||(a[0]=[t('

@hpcc-js/wasm-rootDocs


@hpcc-js/wasm-root

Modules

',5)]))}const E=s(e,[["render",l]]);export{n as __pageData,E as default}; diff --git a/assets/README.md.COi_AUbP.lean.js b/assets/README.md.COi_AUbP.lean.js new file mode 100644 index 00000000..e9c41d2b --- /dev/null +++ b/assets/README.md.COi_AUbP.lean.js @@ -0,0 +1 @@ +import{_ as s,c as r,a0 as t,o as c}from"./chunks/framework.Cu6dwUeI.js";const n=JSON.parse('{"title":"@hpcc-js/wasm-root","description":"","frontmatter":{},"headers":[],"relativePath":"README.md","filePath":"README.md","lastUpdated":null}'),e={name:"README.md"};function l(o,a,h,i,m,d){return c(),r("div",null,a[0]||(a[0]=[t('

@hpcc-js/wasm-rootDocs


@hpcc-js/wasm-root

Modules

',5)]))}const E=s(e,[["render",l]]);export{n as __pageData,E as default}; diff --git a/assets/app.CYYr_Y90.js b/assets/app.CYYr_Y90.js new file mode 100644 index 00000000..356006c7 --- /dev/null +++ b/assets/app.CYYr_Y90.js @@ -0,0 +1 @@ +import{t as i}from"./chunks/theme.5bVqv0zR.js";import{R as o,a1 as u,a2 as c,a3 as l,a4 as f,a5 as d,a6 as m,a7 as h,a8 as g,a9 as A,aa as v,d as P,u as y,v as C,s as b,ab as w,ac as R,ad as E,ae as S}from"./chunks/framework.Cu6dwUeI.js";function p(e){if(e.extends){const a=p(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=p(i),T=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=y();return C(()=>{b(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&w(),R(),E(),s.setup&&s.setup(),()=>S(s.Layout)}});async function D(){globalThis.__VITEPRESS__=!0;const e=j(),a=_();a.provide(c,e);const t=l(e.route);return a.provide(f,t),a.component("Content",d),a.component("ClientOnly",m),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:h}),{app:a,router:e,data:t}}function _(){return g(T)}function j(){let e=o,a;return A(t=>{let n=v(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&D().then(({app:e,router:a,data:t})=>{a.go().then(()=>{u(a.route,t.site),e.mount("#app")})});export{D as createApp}; diff --git a/assets/base91_src_base91_README.md.B3Bl7p9n.js b/assets/base91_src_base91_README.md.B3Bl7p9n.js new file mode 100644 index 00000000..5b8f11d9 --- /dev/null +++ b/assets/base91_src_base91_README.md.B3Bl7p9n.js @@ -0,0 +1 @@ +import{_ as s,c as e,a0 as r,o as t}from"./chunks/framework.Cu6dwUeI.js";const m=JSON.parse('{"title":"base91/src/base91","description":"","frontmatter":{},"headers":[],"relativePath":"base91/src/base91/README.md","filePath":"base91/src/base91/README.md","lastUpdated":null}'),c={name:"base91/src/base91/README.md"};function o(l,a,n,i,d,h){return t(),e("div",null,a[0]||(a[0]=[r('

@hpcc-js/wasm-rootDocs


base91/src/base91

Index

Classes

',6)]))}const p=s(c,[["render",o]]);export{m as __pageData,p as default}; diff --git a/assets/base91_src_base91_README.md.B3Bl7p9n.lean.js b/assets/base91_src_base91_README.md.B3Bl7p9n.lean.js new file mode 100644 index 00000000..5b8f11d9 --- /dev/null +++ b/assets/base91_src_base91_README.md.B3Bl7p9n.lean.js @@ -0,0 +1 @@ +import{_ as s,c as e,a0 as r,o as t}from"./chunks/framework.Cu6dwUeI.js";const m=JSON.parse('{"title":"base91/src/base91","description":"","frontmatter":{},"headers":[],"relativePath":"base91/src/base91/README.md","filePath":"base91/src/base91/README.md","lastUpdated":null}'),c={name:"base91/src/base91/README.md"};function o(l,a,n,i,d,h){return t(),e("div",null,a[0]||(a[0]=[r('

@hpcc-js/wasm-rootDocs


base91/src/base91

Index

Classes

',6)]))}const p=s(c,[["render",o]]);export{m as __pageData,p as default}; diff --git a/assets/base91_src_base91_classes_Base91.md.B9Brvx3d.js b/assets/base91_src_base91_classes_Base91.md.B9Brvx3d.js new file mode 100644 index 00000000..9583941a --- /dev/null +++ b/assets/base91_src_base91_classes_Base91.md.B9Brvx3d.js @@ -0,0 +1,6 @@ +import{_ as e,c as s,a0 as t,o as i}from"./chunks/framework.Cu6dwUeI.js";const b=JSON.parse('{"title":"Class: Base91","description":"","frontmatter":{},"headers":[],"relativePath":"base91/src/base91/classes/Base91.md","filePath":"base91/src/base91/classes/Base91.md","lastUpdated":null}'),r={name:"base91/src/base91/classes/Base91.md"};function n(o,a,d,h,l,c){return i(),s("div",null,a[0]||(a[0]=[t(`

@hpcc-js/wasm-rootDocs


Class: Base91

Base 91 WASM library, similar to Base 64 but uses more characters resulting in smaller strings.

See Base91 for more details.

ts
import { Base91 } from "@hpcc-js/wasm-base91";
+
+const base91 = await Base91.load();
+
+const encoded_data = await base91.encode(data);
+const decoded_data = await base91.decode(encoded_data);

Extends

Methods

load()

static load(): Promise<Base91>

Compiles and instantiates the raw wasm.

INFO

In general WebAssembly compilation is disallowed on the main thread if the buffer size is larger than 4KB, hence forcing load to be asynchronous;

Returns

Promise<Base91>

A promise to an instance of the Base91 class.

Defined in

base91/src/base91.ts:38


unload()

static unload(): void

Unloades the compiled wasm instance.

Returns

void

Defined in

base91/src/base91.ts:50


version()

version(): string

Returns

string

The Base91 c++ version

Defined in

base91/src/base91.ts:57


encode()

encode(data): string

Parameters

data: Uint8Array

Data to encode.

Returns

string

string containing the Base 91 encoded data

Defined in

base91/src/base91.ts:65


decode()

decode(base91Str): Uint8Array

Parameters

base91Str: string

encoded string

Returns

Uint8Array

origonal data

Defined in

base91/src/base91.ts:86

`,56)]))}const k=e(r,[["render",n]]);export{b as __pageData,k as default}; diff --git a/assets/base91_src_base91_classes_Base91.md.B9Brvx3d.lean.js b/assets/base91_src_base91_classes_Base91.md.B9Brvx3d.lean.js new file mode 100644 index 00000000..9583941a --- /dev/null +++ b/assets/base91_src_base91_classes_Base91.md.B9Brvx3d.lean.js @@ -0,0 +1,6 @@ +import{_ as e,c as s,a0 as t,o as i}from"./chunks/framework.Cu6dwUeI.js";const b=JSON.parse('{"title":"Class: Base91","description":"","frontmatter":{},"headers":[],"relativePath":"base91/src/base91/classes/Base91.md","filePath":"base91/src/base91/classes/Base91.md","lastUpdated":null}'),r={name:"base91/src/base91/classes/Base91.md"};function n(o,a,d,h,l,c){return i(),s("div",null,a[0]||(a[0]=[t(`

@hpcc-js/wasm-rootDocs


Class: Base91

Base 91 WASM library, similar to Base 64 but uses more characters resulting in smaller strings.

See Base91 for more details.

ts
import { Base91 } from "@hpcc-js/wasm-base91";
+
+const base91 = await Base91.load();
+
+const encoded_data = await base91.encode(data);
+const decoded_data = await base91.decode(encoded_data);

Extends

Methods

load()

static load(): Promise<Base91>

Compiles and instantiates the raw wasm.

INFO

In general WebAssembly compilation is disallowed on the main thread if the buffer size is larger than 4KB, hence forcing load to be asynchronous;

Returns

Promise<Base91>

A promise to an instance of the Base91 class.

Defined in

base91/src/base91.ts:38


unload()

static unload(): void

Unloades the compiled wasm instance.

Returns

void

Defined in

base91/src/base91.ts:50


version()

version(): string

Returns

string

The Base91 c++ version

Defined in

base91/src/base91.ts:57


encode()

encode(data): string

Parameters

data: Uint8Array

Data to encode.

Returns

string

string containing the Base 91 encoded data

Defined in

base91/src/base91.ts:65


decode()

decode(base91Str): Uint8Array

Parameters

base91Str: string

encoded string

Returns

Uint8Array

origonal data

Defined in

base91/src/base91.ts:86

`,56)]))}const k=e(r,[["render",n]]);export{b as __pageData,k as default}; diff --git a/assets/base91_src_wasm-library_README.md.C9oO9qCw.js b/assets/base91_src_wasm-library_README.md.C9oO9qCw.js new file mode 100644 index 00000000..a8b79de0 --- /dev/null +++ b/assets/base91_src_wasm-library_README.md.C9oO9qCw.js @@ -0,0 +1 @@ +import{_ as s,c as e,a0 as r,o as l}from"./chunks/framework.Cu6dwUeI.js";const d=JSON.parse('{"title":"base91/src/wasm-library","description":"","frontmatter":{},"headers":[],"relativePath":"base91/src/wasm-library/README.md","filePath":"base91/src/wasm-library/README.md","lastUpdated":null}'),t={name:"base91/src/wasm-library/README.md"};function i(c,a,n,o,h,m){return l(),e("div",null,a[0]||(a[0]=[r('

@hpcc-js/wasm-rootDocs


base91/src/wasm-library

Index

Classes

Interfaces

Type Aliases

',10)]))}const p=s(t,[["render",i]]);export{d as __pageData,p as default}; diff --git a/assets/base91_src_wasm-library_README.md.C9oO9qCw.lean.js b/assets/base91_src_wasm-library_README.md.C9oO9qCw.lean.js new file mode 100644 index 00000000..a8b79de0 --- /dev/null +++ b/assets/base91_src_wasm-library_README.md.C9oO9qCw.lean.js @@ -0,0 +1 @@ +import{_ as s,c as e,a0 as r,o as l}from"./chunks/framework.Cu6dwUeI.js";const d=JSON.parse('{"title":"base91/src/wasm-library","description":"","frontmatter":{},"headers":[],"relativePath":"base91/src/wasm-library/README.md","filePath":"base91/src/wasm-library/README.md","lastUpdated":null}'),t={name:"base91/src/wasm-library/README.md"};function i(c,a,n,o,h,m){return l(),e("div",null,a[0]||(a[0]=[r('

@hpcc-js/wasm-rootDocs


base91/src/wasm-library

Index

Classes

Interfaces

Type Aliases

',10)]))}const p=s(t,[["render",i]]);export{d as __pageData,p as default}; diff --git a/assets/base91_src_wasm-library_classes_WasmLibrary.md.BKXp7KsF.js b/assets/base91_src_wasm-library_classes_WasmLibrary.md.BKXp7KsF.js new file mode 100644 index 00000000..b56d98a3 --- /dev/null +++ b/assets/base91_src_wasm-library_classes_WasmLibrary.md.BKXp7KsF.js @@ -0,0 +1 @@ +import{_ as s,c as e,a0 as r,o as t}from"./chunks/framework.Cu6dwUeI.js";const h=JSON.parse('{"title":"Class: WasmLibrary","description":"","frontmatter":{},"headers":[],"relativePath":"base91/src/wasm-library/classes/WasmLibrary.md","filePath":"base91/src/wasm-library/classes/WasmLibrary.md","lastUpdated":null}'),l={name:"base91/src/wasm-library/classes/WasmLibrary.md"};function o(c,a,i,n,m,d){return t(),e("div",null,a[0]||(a[0]=[r('

@hpcc-js/wasm-rootDocs


Class: WasmLibrary

Base class to simplify moving data into and out of Wasm memory.

Extended by

',6)]))}const p=s(l,[["render",o]]);export{h as __pageData,p as default}; diff --git a/assets/base91_src_wasm-library_classes_WasmLibrary.md.BKXp7KsF.lean.js b/assets/base91_src_wasm-library_classes_WasmLibrary.md.BKXp7KsF.lean.js new file mode 100644 index 00000000..b56d98a3 --- /dev/null +++ b/assets/base91_src_wasm-library_classes_WasmLibrary.md.BKXp7KsF.lean.js @@ -0,0 +1 @@ +import{_ as s,c as e,a0 as r,o as t}from"./chunks/framework.Cu6dwUeI.js";const h=JSON.parse('{"title":"Class: WasmLibrary","description":"","frontmatter":{},"headers":[],"relativePath":"base91/src/wasm-library/classes/WasmLibrary.md","filePath":"base91/src/wasm-library/classes/WasmLibrary.md","lastUpdated":null}'),l={name:"base91/src/wasm-library/classes/WasmLibrary.md"};function o(c,a,i,n,m,d){return t(),e("div",null,a[0]||(a[0]=[r('

@hpcc-js/wasm-rootDocs


Class: WasmLibrary

Base class to simplify moving data into and out of Wasm memory.

Extended by

',6)]))}const p=s(l,[["render",o]]);export{h as __pageData,p as default}; diff --git a/assets/base91_src_wasm-library_interfaces_HeapU8.md.EeN2ejds.js b/assets/base91_src_wasm-library_interfaces_HeapU8.md.EeN2ejds.js new file mode 100644 index 00000000..f387ce42 --- /dev/null +++ b/assets/base91_src_wasm-library_interfaces_HeapU8.md.EeN2ejds.js @@ -0,0 +1 @@ +import{_ as a,c as r,a0 as t,o as s}from"./chunks/framework.Cu6dwUeI.js";const b=JSON.parse('{"title":"Interface: HeapU8","description":"","frontmatter":{},"headers":[],"relativePath":"base91/src/wasm-library/interfaces/HeapU8.md","filePath":"base91/src/wasm-library/interfaces/HeapU8.md","lastUpdated":null}'),o={name:"base91/src/wasm-library/interfaces/HeapU8.md"};function i(n,e,c,d,l,p){return s(),r("div",null,e[0]||(e[0]=[t('

@hpcc-js/wasm-rootDocs


Interface: HeapU8

Properties

ptr

ptr: number

Defined in

base91/src/wasm-library.ts:3


size

size: number

Defined in

base91/src/wasm-library.ts:4

',13)]))}const f=a(o,[["render",i]]);export{b as __pageData,f as default}; diff --git a/assets/base91_src_wasm-library_interfaces_HeapU8.md.EeN2ejds.lean.js b/assets/base91_src_wasm-library_interfaces_HeapU8.md.EeN2ejds.lean.js new file mode 100644 index 00000000..f387ce42 --- /dev/null +++ b/assets/base91_src_wasm-library_interfaces_HeapU8.md.EeN2ejds.lean.js @@ -0,0 +1 @@ +import{_ as a,c as r,a0 as t,o as s}from"./chunks/framework.Cu6dwUeI.js";const b=JSON.parse('{"title":"Interface: HeapU8","description":"","frontmatter":{},"headers":[],"relativePath":"base91/src/wasm-library/interfaces/HeapU8.md","filePath":"base91/src/wasm-library/interfaces/HeapU8.md","lastUpdated":null}'),o={name:"base91/src/wasm-library/interfaces/HeapU8.md"};function i(n,e,c,d,l,p){return s(),r("div",null,e[0]||(e[0]=[t('

@hpcc-js/wasm-rootDocs


Interface: HeapU8

Properties

ptr

ptr: number

Defined in

base91/src/wasm-library.ts:3


size

size: number

Defined in

base91/src/wasm-library.ts:4

',13)]))}const f=a(o,[["render",i]]);export{b as __pageData,f as default}; diff --git a/assets/base91_src_wasm-library_type-aliases_PTR.md.ueICuDEn.js b/assets/base91_src_wasm-library_type-aliases_PTR.md.ueICuDEn.js new file mode 100644 index 00000000..f86c8750 --- /dev/null +++ b/assets/base91_src_wasm-library_type-aliases_PTR.md.ueICuDEn.js @@ -0,0 +1 @@ +import{_ as e,c as s,a0 as r,o as t}from"./chunks/framework.Cu6dwUeI.js";const m=JSON.parse('{"title":"Type Alias: PTR","description":"","frontmatter":{},"headers":[],"relativePath":"base91/src/wasm-library/type-aliases/PTR.md","filePath":"base91/src/wasm-library/type-aliases/PTR.md","lastUpdated":null}'),o={name:"base91/src/wasm-library/type-aliases/PTR.md"};function i(c,a,n,l,p,d){return t(),s("div",null,a[0]||(a[0]=[r('

@hpcc-js/wasm-rootDocs


Type Alias: PTR

PTR: number

Defined in

base91/src/wasm-library.ts:1

',6)]))}const h=e(o,[["render",i]]);export{m as __pageData,h as default}; diff --git a/assets/base91_src_wasm-library_type-aliases_PTR.md.ueICuDEn.lean.js b/assets/base91_src_wasm-library_type-aliases_PTR.md.ueICuDEn.lean.js new file mode 100644 index 00000000..f86c8750 --- /dev/null +++ b/assets/base91_src_wasm-library_type-aliases_PTR.md.ueICuDEn.lean.js @@ -0,0 +1 @@ +import{_ as e,c as s,a0 as r,o as t}from"./chunks/framework.Cu6dwUeI.js";const m=JSON.parse('{"title":"Type Alias: PTR","description":"","frontmatter":{},"headers":[],"relativePath":"base91/src/wasm-library/type-aliases/PTR.md","filePath":"base91/src/wasm-library/type-aliases/PTR.md","lastUpdated":null}'),o={name:"base91/src/wasm-library/type-aliases/PTR.md"};function i(c,a,n,l,p,d){return t(),s("div",null,a[0]||(a[0]=[r('

@hpcc-js/wasm-rootDocs


Type Alias: PTR

PTR: number

Defined in

base91/src/wasm-library.ts:1

',6)]))}const h=e(o,[["render",i]]);export{m as __pageData,h as default}; diff --git a/assets/chunks/framework.Cu6dwUeI.js b/assets/chunks/framework.Cu6dwUeI.js new file mode 100644 index 00000000..7fc773bd --- /dev/null +++ b/assets/chunks/framework.Cu6dwUeI.js @@ -0,0 +1,18 @@ +/** +* @vue/shared v3.5.10 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Ts(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const te={},Et=[],Ve=()=>{},Io=()=>!1,Yt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),As=e=>e.startsWith("onUpdate:"),le=Object.assign,Rs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Mo=Object.prototype.hasOwnProperty,J=(e,t)=>Mo.call(e,t),U=Array.isArray,Ct=e=>Cn(e)==="[object Map]",Kr=e=>Cn(e)==="[object Set]",K=e=>typeof e=="function",re=e=>typeof e=="string",st=e=>typeof e=="symbol",ne=e=>e!==null&&typeof e=="object",qr=e=>(ne(e)||K(e))&&K(e.then)&&K(e.catch),Gr=Object.prototype.toString,Cn=e=>Gr.call(e),Po=e=>Cn(e).slice(8,-1),Yr=e=>Cn(e)==="[object Object]",Os=e=>re(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Tt=Ts(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Lo=/-(\w)/g,Pe=Tn(e=>e.replace(Lo,(t,n)=>n?n.toUpperCase():"")),No=/\B([A-Z])/g,rt=Tn(e=>e.replace(No,"-$1").toLowerCase()),An=Tn(e=>e.charAt(0).toUpperCase()+e.slice(1)),hn=Tn(e=>e?`on${An(e)}`:""),tt=(e,t)=>!Object.is(e,t),Kn=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Fo=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ho=e=>{const t=re(e)?Number(e):NaN;return isNaN(t)?e:t};let Qs;const zr=()=>Qs||(Qs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Is(e){if(U(e)){const t={};for(let n=0;n{if(n){const s=n.split(Do);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ms(e){let t="";if(re(e))t=e;else if(U(e))for(let n=0;n!!(e&&e.__v_isRef===!0),ko=e=>re(e)?e:e==null?"":U(e)||ne(e)&&(e.toString===Gr||!K(e.toString))?Qr(e)?ko(e.value):JSON.stringify(e,Zr,2):String(e),Zr=(e,t)=>Qr(t)?Zr(e,t.value):Ct(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[qn(s,i)+" =>"]=r,n),{})}:Kr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>qn(n))}:st(t)?qn(t):ne(t)&&!U(t)&&!Yr(t)?String(t):t,qn=(e,t="")=>{var n;return st(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** +* @vue/reactivity v3.5.10 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let be;class Wo{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=be,!t&&be&&(this.index=(be.scopes||(be.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;let e;for(;xt;){let t=xt,n;for(;t;)t.flags&1||(t.flags&=-9),t=t.next;for(t=xt,xt=void 0;t;){if(n=t.next,t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function ri(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ii(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Ns(s),qo(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function hs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(oi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function oi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Vt))return;e.globalVersion=Vt;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!hs(e)){e.flags&=-3;return}const n=ee,s=Ne;ee=e,Ne=!0;try{ri(e);const r=e.fn(e._value);(t.version===0||tt(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ee=n,Ne=s,ii(e),e.flags&=-3}}function Ns(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s),!n.subs&&n.computed){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Ns(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function qo(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ne=!0;const li=[];function it(){li.push(Ne),Ne=!1}function ot(){const e=li.pop();Ne=e===void 0?!0:e}function Zs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ee;ee=void 0;try{t()}finally{ee=n}}}let Vt=0;class Go{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Rn{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.target=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!ee||!Ne||ee===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ee)n=this.activeLink=new Go(ee,this),ee.deps?(n.prevDep=ee.depsTail,ee.depsTail.nextDep=n,ee.depsTail=n):ee.deps=ee.depsTail=n,ci(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=ee.depsTail,n.nextDep=void 0,ee.depsTail.nextDep=n,ee.depsTail=n,ee.deps===n&&(ee.deps=s)}return n}trigger(t){this.version++,Vt++,this.notify(t)}notify(t){Ps();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ls()}}}function ci(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)ci(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const vn=new WeakMap,ht=Symbol(""),ps=Symbol(""),Ut=Symbol("");function ve(e,t,n){if(Ne&&ee){let s=vn.get(e);s||vn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Rn),r.target=e,r.map=s,r.key=n),r.track()}}function We(e,t,n,s,r,i){const o=vn.get(e);if(!o){Vt++;return}const l=c=>{c&&c.trigger()};if(Ps(),t==="clear")o.forEach(l);else{const c=U(e),u=c&&Os(n);if(c&&n==="length"){const f=Number(s);o.forEach((h,y)=>{(y==="length"||y===Ut||!st(y)&&y>=f)&&l(h)})}else switch(n!==void 0&&l(o.get(n)),u&&l(o.get(Ut)),t){case"add":c?u&&l(o.get("length")):(l(o.get(ht)),Ct(e)&&l(o.get(ps)));break;case"delete":c||(l(o.get(ht)),Ct(e)&&l(o.get(ps)));break;case"set":Ct(e)&&l(o.get(ht));break}}Ls()}function Yo(e,t){const n=vn.get(e);return n&&n.get(t)}function bt(e){const t=z(e);return t===e?t:(ve(t,"iterate",Ut),Me(e)?t:t.map(ge))}function On(e){return ve(e=z(e),"iterate",Ut),e}const Xo={__proto__:null,[Symbol.iterator](){return Yn(this,Symbol.iterator,ge)},concat(...e){return bt(this).concat(...e.map(t=>U(t)?bt(t):t))},entries(){return Yn(this,"entries",e=>(e[1]=ge(e[1]),e))},every(e,t){return Be(this,"every",e,t,void 0,arguments)},filter(e,t){return Be(this,"filter",e,t,n=>n.map(ge),arguments)},find(e,t){return Be(this,"find",e,t,ge,arguments)},findIndex(e,t){return Be(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Be(this,"findLast",e,t,ge,arguments)},findLastIndex(e,t){return Be(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Be(this,"forEach",e,t,void 0,arguments)},includes(...e){return Xn(this,"includes",e)},indexOf(...e){return Xn(this,"indexOf",e)},join(e){return bt(this).join(e)},lastIndexOf(...e){return Xn(this,"lastIndexOf",e)},map(e,t){return Be(this,"map",e,t,void 0,arguments)},pop(){return Nt(this,"pop")},push(...e){return Nt(this,"push",e)},reduce(e,...t){return er(this,"reduce",e,t)},reduceRight(e,...t){return er(this,"reduceRight",e,t)},shift(){return Nt(this,"shift")},some(e,t){return Be(this,"some",e,t,void 0,arguments)},splice(...e){return Nt(this,"splice",e)},toReversed(){return bt(this).toReversed()},toSorted(e){return bt(this).toSorted(e)},toSpliced(...e){return bt(this).toSpliced(...e)},unshift(...e){return Nt(this,"unshift",e)},values(){return Yn(this,"values",ge)}};function Yn(e,t,n){const s=On(e),r=s[t]();return s!==e&&!Me(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const zo=Array.prototype;function Be(e,t,n,s,r,i){const o=On(e),l=o!==e&&!Me(e),c=o[t];if(c!==zo[t]){const h=c.apply(e,i);return l?ge(h):h}let u=n;o!==e&&(l?u=function(h,y){return n.call(this,ge(h),y,e)}:n.length>2&&(u=function(h,y){return n.call(this,h,y,e)}));const f=c.call(o,u,s);return l&&r?r(f):f}function er(e,t,n,s){const r=On(e);let i=n;return r!==e&&(Me(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,ge(l),c,e)}),r[t](i,...s)}function Xn(e,t,n){const s=z(e);ve(s,"iterate",Ut);const r=s[t](...n);return(r===-1||r===!1)&&Ds(n[0])?(n[0]=z(n[0]),s[t](...n)):r}function Nt(e,t,n=[]){it(),Ps();const s=z(e)[t].apply(e,n);return Ls(),ot(),s}const Jo=Ts("__proto__,__v_isRef,__isVue"),ai=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(st));function Qo(e){st(e)||(e=String(e));const t=z(this);return ve(t,"has",e),t.hasOwnProperty(e)}class fi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?ul:pi:i?hi:di).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=U(t);if(!r){let c;if(o&&(c=Xo[n]))return c;if(n==="hasOwnProperty")return Qo}const l=Reflect.get(t,n,ce(t)?t:s);return(st(n)?ai.has(n):Jo(n))||(r||ve(t,"get",n),i)?l:ce(l)?o&&Os(n)?l:l.value:ne(l)?r?Pn(l):Mn(l):l}}class ui extends fi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const c=vt(i);if(!Me(s)&&!vt(s)&&(i=z(i),s=z(s)),!U(t)&&ce(i)&&!ce(s))return c?!1:(i.value=s,!0)}const o=U(t)&&Os(n)?Number(n)e,In=e=>Reflect.getPrototypeOf(e);function Zt(e,t,n=!1,s=!1){e=e.__v_raw;const r=z(e),i=z(t);n||(tt(t,i)&&ve(r,"get",t),ve(r,"get",i));const{has:o}=In(r),l=s?Fs:n?js:ge;if(o.call(r,t))return l(e.get(t));if(o.call(r,i))return l(e.get(i));e!==r&&e.get(t)}function en(e,t=!1){const n=this.__v_raw,s=z(n),r=z(e);return t||(tt(e,r)&&ve(s,"has",e),ve(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function tn(e,t=!1){return e=e.__v_raw,!t&&ve(z(e),"iterate",ht),Reflect.get(e,"size",e)}function tr(e,t=!1){!t&&!Me(e)&&!vt(e)&&(e=z(e));const n=z(this);return In(n).has.call(n,e)||(n.add(e),We(n,"add",e,e)),this}function nr(e,t,n=!1){!n&&!Me(t)&&!vt(t)&&(t=z(t));const s=z(this),{has:r,get:i}=In(s);let o=r.call(s,e);o||(e=z(e),o=r.call(s,e));const l=i.call(s,e);return s.set(e,t),o?tt(t,l)&&We(s,"set",e,t):We(s,"add",e,t),this}function sr(e){const t=z(this),{has:n,get:s}=In(t);let r=n.call(t,e);r||(e=z(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&We(t,"delete",e,void 0),i}function rr(){const e=z(this),t=e.size!==0,n=e.clear();return t&&We(e,"clear",void 0,void 0),n}function nn(e,t){return function(s,r){const i=this,o=i.__v_raw,l=z(o),c=t?Fs:e?js:ge;return!e&&ve(l,"iterate",ht),o.forEach((u,f)=>s.call(r,c(u),c(f),i))}}function sn(e,t,n){return function(...s){const r=this.__v_raw,i=z(r),o=Ct(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,u=r[e](...s),f=n?Fs:t?js:ge;return!t&&ve(i,"iterate",c?ps:ht),{next(){const{value:h,done:y}=u.next();return y?{value:h,done:y}:{value:l?[f(h[0]),f(h[1])]:f(h),done:y}},[Symbol.iterator](){return this}}}}function Ge(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function sl(){const e={get(i){return Zt(this,i)},get size(){return tn(this)},has:en,add:tr,set:nr,delete:sr,clear:rr,forEach:nn(!1,!1)},t={get(i){return Zt(this,i,!1,!0)},get size(){return tn(this)},has:en,add(i){return tr.call(this,i,!0)},set(i,o){return nr.call(this,i,o,!0)},delete:sr,clear:rr,forEach:nn(!1,!0)},n={get(i){return Zt(this,i,!0)},get size(){return tn(this,!0)},has(i){return en.call(this,i,!0)},add:Ge("add"),set:Ge("set"),delete:Ge("delete"),clear:Ge("clear"),forEach:nn(!0,!1)},s={get(i){return Zt(this,i,!0,!0)},get size(){return tn(this,!0)},has(i){return en.call(this,i,!0)},add:Ge("add"),set:Ge("set"),delete:Ge("delete"),clear:Ge("clear"),forEach:nn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=sn(i,!1,!1),n[i]=sn(i,!0,!1),t[i]=sn(i,!1,!0),s[i]=sn(i,!0,!0)}),[e,n,t,s]}const[rl,il,ol,ll]=sl();function Hs(e,t){const n=t?e?ll:ol:e?il:rl;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(J(n,r)&&r in s?n:s,r,i)}const cl={get:Hs(!1,!1)},al={get:Hs(!1,!0)},fl={get:Hs(!0,!1)};const di=new WeakMap,hi=new WeakMap,pi=new WeakMap,ul=new WeakMap;function dl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function hl(e){return e.__v_skip||!Object.isExtensible(e)?0:dl(Po(e))}function Mn(e){return vt(e)?e:$s(e,!1,el,cl,di)}function pl(e){return $s(e,!1,nl,al,hi)}function Pn(e){return $s(e,!0,tl,fl,pi)}function $s(e,t,n,s,r){if(!ne(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=hl(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function pt(e){return vt(e)?pt(e.__v_raw):!!(e&&e.__v_isReactive)}function vt(e){return!!(e&&e.__v_isReadonly)}function Me(e){return!!(e&&e.__v_isShallow)}function Ds(e){return e?!!e.__v_raw:!1}function z(e){const t=e&&e.__v_raw;return t?z(t):e}function pn(e){return!J(e,"__v_skip")&&Object.isExtensible(e)&&Xr(e,"__v_skip",!0),e}const ge=e=>ne(e)?Mn(e):e,js=e=>ne(e)?Pn(e):e;function ce(e){return e?e.__v_isRef===!0:!1}function ue(e){return mi(e,!1)}function gi(e){return mi(e,!0)}function mi(e,t){return ce(e)?e:new gl(e,t)}class gl{constructor(t,n){this.dep=new Rn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:z(t),this._value=n?t:ge(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Me(t)||vt(t);t=s?t:z(t),tt(t,n)&&(this._rawValue=t,this._value=s?t:ge(t),this.dep.trigger())}}function yi(e){return ce(e)?e.value:e}const ml={get:(e,t,n)=>t==="__v_raw"?e:yi(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ce(r)&&!ce(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function vi(e){return pt(e)?e:new Proxy(e,ml)}class yl{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Rn,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function vl(e){return new yl(e)}class _l{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Yo(z(this._object),this._key)}}class bl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function wl(e,t,n){return ce(e)?e:K(e)?new bl(e):ne(e)&&arguments.length>1?Sl(e,t,n):ue(e)}function Sl(e,t,n){const s=e[t];return ce(s)?s:new _l(e,t,n)}class xl{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Rn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Vt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ee!==this)return si(this),!0}get value(){const t=this.dep.track();return oi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function El(e,t,n=!1){let s,r;return K(e)?s=e:(s=e.get,r=e.set),new xl(s,r,n)}const rn={},_n=new WeakMap;let ut;function Cl(e,t=!1,n=ut){if(n){let s=_n.get(n);s||_n.set(n,s=[]),s.push(e)}}function Tl(e,t,n=te){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,u=p=>r?p:Me(p)||r===!1||r===0?Ze(p,1):Ze(p);let f,h,y,E,M=!1,L=!1;if(ce(e)?(h=()=>e.value,M=Me(e)):pt(e)?(h=()=>u(e),M=!0):U(e)?(L=!0,M=e.some(p=>pt(p)||Me(p)),h=()=>e.map(p=>{if(ce(p))return p.value;if(pt(p))return u(p);if(K(p))return c?c(p,2):p()})):K(e)?t?h=c?()=>c(e,2):e:h=()=>{if(y){it();try{y()}finally{ot()}}const p=ut;ut=f;try{return c?c(e,3,[E]):e(E)}finally{ut=p}}:h=Ve,t&&r){const p=h,R=r===!0?1/0:r;h=()=>Ze(p(),R)}const G=ei(),B=()=>{f.stop(),G&&Rs(G.effects,f)};if(i&&t){const p=t;t=(...R)=>{p(...R),B()}}let q=L?new Array(e.length).fill(rn):rn;const g=p=>{if(!(!(f.flags&1)||!f.dirty&&!p))if(t){const R=f.run();if(r||M||(L?R.some(($,j)=>tt($,q[j])):tt(R,q))){y&&y();const $=ut;ut=f;try{const j=[R,q===rn?void 0:L&&q[0]===rn?[]:q,E];c?c(t,3,j):t(...j),q=R}finally{ut=$}}}else f.run()};return l&&l(g),f=new ti(h),f.scheduler=o?()=>o(g,!1):g,E=p=>Cl(p,!1,f),y=f.onStop=()=>{const p=_n.get(f);if(p){if(c)c(p,4);else for(const R of p)R();_n.delete(f)}},t?s?g(!0):q=f.run():o?o(g.bind(null,!0),!0):f.run(),B.pause=f.pause.bind(f),B.resume=f.resume.bind(f),B.stop=B,B}function Ze(e,t=1/0,n){if(t<=0||!ne(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,ce(e))Ze(e.value,t,n);else if(U(e))for(let s=0;s{Ze(s,t,n)});else if(Yr(e)){for(const s in e)Ze(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Ze(e[s],t,n)}return e}/** +* @vue/runtime-core v3.5.10 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Xt(e,t,n,s){try{return s?e(...s):e()}catch(r){Ln(r,t,n)}}function Fe(e,t,n,s){if(K(e)){const r=Xt(e,t,n,s);return r&&qr(r)&&r.catch(i=>{Ln(i,t,n)}),r}if(U(e)){const r=[];for(let i=0;i>>1,r=we[s],i=kt(r);i=kt(n)?we.push(e):we.splice(Rl(t),0,e),e.flags|=1,bi()}}function bi(){!Bt&&!gs&&(gs=!0,Vs=_i.then(wi))}function Ol(e){U(e)?At.push(...e):ze&&e.id===-1?ze.splice(St+1,0,e):e.flags&1||(At.push(e),e.flags|=1),bi()}function ir(e,t,n=Bt?De+1:0){for(;nkt(n)-kt(s));if(At.length=0,ze){ze.push(...t);return}for(ze=t,St=0;Ste.id==null?e.flags&2?-1:1/0:e.id;function wi(e){gs=!1,Bt=!0;try{for(De=0;De{s._d&&yr(-1);const i=wn(t);let o;try{o=e(...r)}finally{wn(i),s._d&&yr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function je(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;oe.__isTeleport,Je=Symbol("_leaveCb"),on=Symbol("_enterCb");function Pl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Mt(()=>{e.isMounted=!0}),Pi(()=>{e.isUnmounting=!0}),e}const Re=[Function,Array],Ei={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Re,onEnter:Re,onAfterEnter:Re,onEnterCancelled:Re,onBeforeLeave:Re,onLeave:Re,onAfterLeave:Re,onLeaveCancelled:Re,onBeforeAppear:Re,onAppear:Re,onAfterAppear:Re,onAppearCancelled:Re},Ci=e=>{const t=e.subTree;return t.component?Ci(t.component):t},Ll={name:"BaseTransition",props:Ei,setup(e,{slots:t}){const n=Vn(),s=Pl();return()=>{const r=t.default&&Ri(t.default(),!0);if(!r||!r.length)return;const i=Ti(r),o=z(e),{mode:l}=o;if(s.isLeaving)return zn(i);const c=or(i);if(!c)return zn(i);let u=ms(c,o,s,n,y=>u=y);c.type!==me&&Wt(c,u);const f=n.subTree,h=f&&or(f);if(h&&h.type!==me&&!dt(c,h)&&Ci(n).type!==me){const y=ms(h,o,s,n);if(Wt(h,y),l==="out-in"&&c.type!==me)return s.isLeaving=!0,y.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete y.afterLeave},zn(i);l==="in-out"&&c.type!==me&&(y.delayLeave=(E,M,L)=>{const G=Ai(s,h);G[String(h.key)]=h,E[Je]=()=>{M(),E[Je]=void 0,delete u.delayedLeave},u.delayedLeave=L})}return i}}};function Ti(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==me){t=n;break}}return t}const Nl=Ll;function Ai(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function ms(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:u,onAfterEnter:f,onEnterCancelled:h,onBeforeLeave:y,onLeave:E,onAfterLeave:M,onLeaveCancelled:L,onBeforeAppear:G,onAppear:B,onAfterAppear:q,onAppearCancelled:g}=t,p=String(e.key),R=Ai(n,e),$=(I,_)=>{I&&Fe(I,s,9,_)},j=(I,_)=>{const P=_[1];$(I,_),U(I)?I.every(w=>w.length<=1)&&P():I.length<=1&&P()},W={mode:o,persisted:l,beforeEnter(I){let _=c;if(!n.isMounted)if(i)_=G||c;else return;I[Je]&&I[Je](!0);const P=R[p];P&&dt(e,P)&&P.el[Je]&&P.el[Je](),$(_,[I])},enter(I){let _=u,P=f,w=h;if(!n.isMounted)if(i)_=B||u,P=q||f,w=g||h;else return;let V=!1;const se=I[on]=oe=>{V||(V=!0,oe?$(w,[I]):$(P,[I]),W.delayedLeave&&W.delayedLeave(),I[on]=void 0)};_?j(_,[I,se]):se()},leave(I,_){const P=String(e.key);if(I[on]&&I[on](!0),n.isUnmounting)return _();$(y,[I]);let w=!1;const V=I[Je]=se=>{w||(w=!0,_(),se?$(L,[I]):$(M,[I]),I[Je]=void 0,R[P]===e&&delete R[P])};R[P]=e,E?j(E,[I,V]):V()},clone(I){const _=ms(I,t,n,s,r);return r&&r(_),_}};return W}function zn(e){if(Fn(e))return e=nt(e),e.children=null,e}function or(e){if(!Fn(e))return xi(e.type)&&e.children?Ti(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&K(n.default))return n.default()}}function Wt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Wt(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ri(e,t=!1,n){let s=[],r=0;for(let i=0;i1)for(let i=0;iSn(M,t&&(U(t)?t[L]:t),n,s,r));return}if(gt(s)&&!r)return;const i=s.shapeFlag&4?Ks(s.component):s.el,o=r?null:i,{i:l,r:c}=e,u=t&&t.r,f=l.refs===te?l.refs={}:l.refs,h=l.setupState,y=z(h),E=h===te?()=>!1:M=>J(y,M);if(u!=null&&u!==c&&(re(u)?(f[u]=null,E(u)&&(h[u]=null)):ce(u)&&(u.value=null)),K(c))Xt(c,l,12,[o,f]);else{const M=re(c),L=ce(c);if(M||L){const G=()=>{if(e.f){const B=M?E(c)?h[c]:f[c]:c.value;r?U(B)&&Rs(B,i):U(B)?B.includes(i)||B.push(i):M?(f[c]=[i],E(c)&&(h[c]=f[c])):(c.value=[i],e.k&&(f[e.k]=c.value))}else M?(f[c]=o,E(c)&&(h[c]=o)):L&&(c.value=o,e.k&&(f[e.k]=o))};o?(G.id=-1,Te(G,n)):G()}}}let lr=!1;const wt=()=>{lr||(console.error("Hydration completed but contains mismatches."),lr=!0)},Fl=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Hl=e=>e.namespaceURI.includes("MathML"),ln=e=>{if(e.nodeType===1){if(Fl(e))return"svg";if(Hl(e))return"mathml"}},cn=e=>e.nodeType===8;function $l(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:u}}=e,f=(g,p)=>{if(!p.hasChildNodes()){n(null,g,p),bn(),p._vnode=g;return}h(p.firstChild,g,null,null,null),bn(),p._vnode=g},h=(g,p,R,$,j,W=!1)=>{W=W||!!p.dynamicChildren;const I=cn(g)&&g.data==="[",_=()=>L(g,p,R,$,j,I),{type:P,ref:w,shapeFlag:V,patchFlag:se}=p;let oe=g.nodeType;p.el=g,se===-2&&(W=!1,p.dynamicChildren=null);let H=null;switch(P){case mt:oe!==3?p.children===""?(c(p.el=r(""),o(g),g),H=g):H=_():(g.data!==p.children&&(wt(),g.data=p.children),H=i(g));break;case me:q(g)?(H=i(g),B(p.el=g.content.firstChild,g,R)):oe!==8||I?H=_():H=i(g);break;case Dt:if(I&&(g=i(g),oe=g.nodeType),oe===1||oe===3){H=g;const Y=!p.children.length;for(let F=0;F{W=W||!!p.dynamicChildren;const{type:I,props:_,patchFlag:P,shapeFlag:w,dirs:V,transition:se}=p,oe=I==="input"||I==="option";if(oe||P!==-1){V&&je(p,null,R,"created");let H=!1;if(q(g)){H=Yi($,se)&&R&&R.vnode.props&&R.vnode.props.appear;const F=g.content.firstChild;H&&se.beforeEnter(F),B(F,g,R),p.el=g=F}if(w&16&&!(_&&(_.innerHTML||_.textContent))){let F=E(g.firstChild,p,g,R,$,j,W);for(;F;){an(g,1)||wt();const ae=F;F=F.nextSibling,l(ae)}}else if(w&8){let F=p.children;F[0]===` +`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(F=F.slice(1)),g.textContent!==F&&(an(g,0)||wt(),g.textContent=p.children)}if(_){if(oe||!W||P&48){const F=g.tagName.includes("-");for(const ae in _)(oe&&(ae.endsWith("value")||ae==="indeterminate")||Yt(ae)&&!Tt(ae)||ae[0]==="."||F)&&s(g,ae,null,_[ae],void 0,R)}else if(_.onClick)s(g,"onClick",null,_.onClick,void 0,R);else if(P&4&&pt(_.style))for(const F in _.style)_.style[F]}let Y;(Y=_&&_.onVnodeBeforeMount)&&Oe(Y,R,p),V&&je(p,null,R,"beforeMount"),((Y=_&&_.onVnodeMounted)||V||H)&&to(()=>{Y&&Oe(Y,R,p),H&&se.enter(g),V&&je(p,null,R,"mounted")},$)}return g.nextSibling},E=(g,p,R,$,j,W,I)=>{I=I||!!p.dynamicChildren;const _=p.children,P=_.length;for(let w=0;w{const{slotScopeIds:I}=p;I&&(j=j?j.concat(I):I);const _=o(g),P=E(i(g),p,_,R,$,j,W);return P&&cn(P)&&P.data==="]"?i(p.anchor=P):(wt(),c(p.anchor=u("]"),_,P),P)},L=(g,p,R,$,j,W)=>{if(an(g.parentElement,1)||wt(),p.el=null,W){const P=G(g);for(;;){const w=i(g);if(w&&w!==P)l(w);else break}}const I=i(g),_=o(g);return l(g),n(null,p,_,I,R,$,ln(_),j),I},G=(g,p="[",R="]")=>{let $=0;for(;g;)if(g=i(g),g&&cn(g)&&(g.data===p&&$++,g.data===R)){if($===0)return i(g);$--}return g},B=(g,p,R)=>{const $=p.parentNode;$&&$.replaceChild(g,p);let j=R;for(;j;)j.vnode.el===p&&(j.vnode.el=j.subTree.el=g),j=j.parent},q=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[f,h]}const cr="data-allow-mismatch",Dl={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function an(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(cr);)e=e.parentElement;const n=e&&e.getAttribute(cr);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:n.split(",").includes(Dl[t])}}const gt=e=>!!e.type.__asyncLoader,Fn=e=>e.type.__isKeepAlive;function jl(e,t){Mi(e,"a",t)}function Vl(e,t){Mi(e,"da",t)}function Mi(e,t,n=fe){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Hn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Fn(r.parent.vnode)&&Ul(s,t,n,r),r=r.parent}}function Ul(e,t,n,s){const r=Hn(t,e,s,!0);$n(()=>{Rs(s[t],r)},n)}function Hn(e,t,n=fe,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{it();const l=zt(n),c=Fe(t,n,e,o);return l(),ot(),c});return s?r.unshift(i):r.push(i),i}}const qe=e=>(t,n=fe)=>{(!Un||e==="sp")&&Hn(e,(...s)=>t(...s),n)},Bl=qe("bm"),Mt=qe("m"),kl=qe("bu"),Wl=qe("u"),Pi=qe("bum"),$n=qe("um"),Kl=qe("sp"),ql=qe("rtg"),Gl=qe("rtc");function Yl(e,t=fe){Hn("ec",e,t)}const Li="components";function ff(e,t){return Fi(Li,e,!0,t)||e}const Ni=Symbol.for("v-ndc");function uf(e){return re(e)?Fi(Li,e,!1)||e:e||Ni}function Fi(e,t,n=!0,s=!1){const r=ye||fe;if(r){const i=r.type;{const l=Lc(i,!1);if(l&&(l===t||l===Pe(t)||l===An(Pe(t))))return i}const o=ar(r[e]||i[e],t)||ar(r.appContext[e],t);return!o&&s?i:o}}function ar(e,t){return e&&(e[t]||e[Pe(t)]||e[An(Pe(t))])}function df(e,t,n,s){let r;const i=n,o=U(e);if(o||re(e)){const l=o&&pt(e);let c=!1;l&&(c=!Me(e),e=On(e)),r=new Array(e.length);for(let u=0,f=e.length;ut(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,u=l.length;cqt(t)?!(t.type===me||t.type===Se&&!Hi(t.children)):!0)?e:null}function pf(e,t){const n={};for(const s in e)n[/[A-Z]/.test(s)?`on:${s}`:hn(s)]=e[s];return n}const ys=e=>e?oo(e)?Ks(e):ys(e.parent):null,$t=le(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ys(e.parent),$root:e=>ys(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Bs(e),$forceUpdate:e=>e.f||(e.f=()=>{Us(e.update)}),$nextTick:e=>e.n||(e.n=Nn.bind(e.proxy)),$watch:e=>mc.bind(e)}),Jn=(e,t)=>e!==te&&!e.__isScriptSetup&&J(e,t),Xl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let u;if(t[0]!=="$"){const E=o[t];if(E!==void 0)switch(E){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Jn(s,t))return o[t]=1,s[t];if(r!==te&&J(r,t))return o[t]=2,r[t];if((u=e.propsOptions[0])&&J(u,t))return o[t]=3,i[t];if(n!==te&&J(n,t))return o[t]=4,n[t];vs&&(o[t]=0)}}const f=$t[t];let h,y;if(f)return t==="$attrs"&&ve(e.attrs,"get",""),f(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==te&&J(n,t))return o[t]=4,n[t];if(y=c.config.globalProperties,J(y,t))return y[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Jn(r,t)?(r[t]=n,!0):s!==te&&J(s,t)?(s[t]=n,!0):J(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==te&&J(e,o)||Jn(t,o)||(l=i[0])&&J(l,o)||J(s,o)||J($t,o)||J(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:J(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function gf(){return zl().slots}function zl(){const e=Vn();return e.setupContext||(e.setupContext=co(e))}function fr(e){return U(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let vs=!0;function Jl(e){const t=Bs(e),n=e.proxy,s=e.ctx;vs=!1,t.beforeCreate&&ur(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:u,created:f,beforeMount:h,mounted:y,beforeUpdate:E,updated:M,activated:L,deactivated:G,beforeDestroy:B,beforeUnmount:q,destroyed:g,unmounted:p,render:R,renderTracked:$,renderTriggered:j,errorCaptured:W,serverPrefetch:I,expose:_,inheritAttrs:P,components:w,directives:V,filters:se}=t;if(u&&Ql(u,s,null),o)for(const Y in o){const F=o[Y];K(F)&&(s[Y]=F.bind(n))}if(r){const Y=r.call(n,n);ne(Y)&&(e.data=Mn(Y))}if(vs=!0,i)for(const Y in i){const F=i[Y],ae=K(F)?F.bind(n,n):K(F.get)?F.get.bind(n,n):Ve,Jt=!K(F)&&K(F.set)?F.set.bind(n):Ve,lt=ie({get:ae,set:Jt});Object.defineProperty(s,Y,{enumerable:!0,configurable:!0,get:()=>lt.value,set:He=>lt.value=He})}if(l)for(const Y in l)$i(l[Y],s,n,Y);if(c){const Y=K(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(F=>{rc(F,Y[F])})}f&&ur(f,e,"c");function H(Y,F){U(F)?F.forEach(ae=>Y(ae.bind(n))):F&&Y(F.bind(n))}if(H(Bl,h),H(Mt,y),H(kl,E),H(Wl,M),H(jl,L),H(Vl,G),H(Yl,W),H(Gl,$),H(ql,j),H(Pi,q),H($n,p),H(Kl,I),U(_))if(_.length){const Y=e.exposed||(e.exposed={});_.forEach(F=>{Object.defineProperty(Y,F,{get:()=>n[F],set:ae=>n[F]=ae})})}else e.exposed||(e.exposed={});R&&e.render===Ve&&(e.render=R),P!=null&&(e.inheritAttrs=P),w&&(e.components=w),V&&(e.directives=V),I&&Ii(e)}function Ql(e,t,n=Ve){U(e)&&(e=_s(e));for(const s in e){const r=e[s];let i;ne(r)?"default"in r?i=Ot(r.from||s,r.default,!0):i=Ot(r.from||s):i=Ot(r),ce(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function ur(e,t,n){Fe(U(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function $i(e,t,n,s){let r=s.includes(".")?Qi(n,s):()=>n[s];if(re(e)){const i=t[e];K(i)&&Ue(r,i)}else if(K(e))Ue(r,e.bind(n));else if(ne(e))if(U(e))e.forEach(i=>$i(i,t,n,s));else{const i=K(e.handler)?e.handler.bind(n):t[e.handler];K(i)&&Ue(r,i,e)}}function Bs(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(u=>xn(c,u,o,!0)),xn(c,t,o)),ne(t)&&i.set(t,c),c}function xn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&xn(e,i,n,!0),r&&r.forEach(o=>xn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=Zl[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Zl={data:dr,props:hr,emits:hr,methods:Ht,computed:Ht,beforeCreate:_e,created:_e,beforeMount:_e,mounted:_e,beforeUpdate:_e,updated:_e,beforeDestroy:_e,beforeUnmount:_e,destroyed:_e,unmounted:_e,activated:_e,deactivated:_e,errorCaptured:_e,serverPrefetch:_e,components:Ht,directives:Ht,watch:tc,provide:dr,inject:ec};function dr(e,t){return t?e?function(){return le(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function ec(e,t){return Ht(_s(e),_s(t))}function _s(e){if(U(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(s&&s.proxy):t}}const ji={},Vi=()=>Object.create(ji),Ui=e=>Object.getPrototypeOf(e)===ji;function ic(e,t,n,s=!1){const r={},i=Vi();e.propsDefaults=Object.create(null),Bi(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:pl(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function oc(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=z(r),[c]=e.propsOptions;let u=!1;if((s||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let h=0;h{c=!0;const[y,E]=ki(h,t,!0);le(o,y),E&&l.push(...E)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!i&&!c)return ne(e)&&s.set(e,Et),Et;if(U(i))for(let f=0;fe[0]==="_"||e==="$stable",ks=e=>U(e)?e.map(Ie):[Ie(e)],cc=(e,t,n)=>{if(t._n)return t;const s=Il((...r)=>ks(t(...r)),n);return s._c=!1,s},Ki=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Wi(r))continue;const i=e[r];if(K(i))t[r]=cc(r,i,s);else if(i!=null){const o=ks(i);t[r]=()=>o}}},qi=(e,t)=>{const n=ks(t);e.slots.default=()=>n},Gi=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},ac=(e,t,n)=>{const s=e.slots=Vi();if(e.vnode.shapeFlag&32){const r=t._;r?(Gi(s,t,n),n&&Xr(s,"_",r,!0)):Ki(t,s)}else t&&qi(e,t)},fc=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=te;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Gi(r,t,n):(i=!t.$stable,Ki(t,r)),o=t}else t&&(qi(e,t),o={default:1});if(i)for(const l in r)!Wi(l)&&o[l]==null&&delete r[l]},Te=to;function uc(e){return dc(e,$l)}function dc(e,t){const n=zr();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:u,setElementText:f,parentNode:h,nextSibling:y,setScopeId:E=Ve,insertStaticContent:M}=e,L=(a,d,m,S=null,v=null,b=null,A=void 0,T=null,C=!!d.dynamicChildren)=>{if(a===d)return;a&&!dt(a,d)&&(S=Qt(a),He(a,v,b,!0),a=null),d.patchFlag===-2&&(C=!1,d.dynamicChildren=null);const{type:x,ref:D,shapeFlag:O}=d;switch(x){case mt:G(a,d,m,S);break;case me:B(a,d,m,S);break;case Dt:a==null&&q(d,m,S,A);break;case Se:w(a,d,m,S,v,b,A,T,C);break;default:O&1?R(a,d,m,S,v,b,A,T,C):O&6?V(a,d,m,S,v,b,A,T,C):(O&64||O&128)&&x.process(a,d,m,S,v,b,A,T,C,_t)}D!=null&&v&&Sn(D,a&&a.ref,b,d||a,!d)},G=(a,d,m,S)=>{if(a==null)s(d.el=l(d.children),m,S);else{const v=d.el=a.el;d.children!==a.children&&u(v,d.children)}},B=(a,d,m,S)=>{a==null?s(d.el=c(d.children||""),m,S):d.el=a.el},q=(a,d,m,S)=>{[a.el,a.anchor]=M(a.children,d,m,S,a.el,a.anchor)},g=({el:a,anchor:d},m,S)=>{let v;for(;a&&a!==d;)v=y(a),s(a,m,S),a=v;s(d,m,S)},p=({el:a,anchor:d})=>{let m;for(;a&&a!==d;)m=y(a),r(a),a=m;r(d)},R=(a,d,m,S,v,b,A,T,C)=>{d.type==="svg"?A="svg":d.type==="math"&&(A="mathml"),a==null?$(d,m,S,v,b,A,T,C):I(a,d,v,b,A,T,C)},$=(a,d,m,S,v,b,A,T)=>{let C,x;const{props:D,shapeFlag:O,transition:N,dirs:k}=a;if(C=a.el=o(a.type,b,D&&D.is,D),O&8?f(C,a.children):O&16&&W(a.children,C,null,S,v,Qn(a,b),A,T),k&&je(a,null,S,"created"),j(C,a,a.scopeId,A,S),D){for(const Z in D)Z!=="value"&&!Tt(Z)&&i(C,Z,null,D[Z],b,S);"value"in D&&i(C,"value",null,D.value,b),(x=D.onVnodeBeforeMount)&&Oe(x,S,a)}k&&je(a,null,S,"beforeMount");const X=Yi(v,N);X&&N.beforeEnter(C),s(C,d,m),((x=D&&D.onVnodeMounted)||X||k)&&Te(()=>{x&&Oe(x,S,a),X&&N.enter(C),k&&je(a,null,S,"mounted")},v)},j=(a,d,m,S,v)=>{if(m&&E(a,m),S)for(let b=0;b{for(let x=C;x{const T=d.el=a.el;let{patchFlag:C,dynamicChildren:x,dirs:D}=d;C|=a.patchFlag&16;const O=a.props||te,N=d.props||te;let k;if(m&&ct(m,!1),(k=N.onVnodeBeforeUpdate)&&Oe(k,m,d,a),D&&je(d,a,m,"beforeUpdate"),m&&ct(m,!0),(O.innerHTML&&N.innerHTML==null||O.textContent&&N.textContent==null)&&f(T,""),x?_(a.dynamicChildren,x,T,m,S,Qn(d,v),b):A||F(a,d,T,null,m,S,Qn(d,v),b,!1),C>0){if(C&16)P(T,O,N,m,v);else if(C&2&&O.class!==N.class&&i(T,"class",null,N.class,v),C&4&&i(T,"style",O.style,N.style,v),C&8){const X=d.dynamicProps;for(let Z=0;Z{k&&Oe(k,m,d,a),D&&je(d,a,m,"updated")},S)},_=(a,d,m,S,v,b,A)=>{for(let T=0;T{if(d!==m){if(d!==te)for(const b in d)!Tt(b)&&!(b in m)&&i(a,b,d[b],null,v,S);for(const b in m){if(Tt(b))continue;const A=m[b],T=d[b];A!==T&&b!=="value"&&i(a,b,T,A,v,S)}"value"in m&&i(a,"value",d.value,m.value,v)}},w=(a,d,m,S,v,b,A,T,C)=>{const x=d.el=a?a.el:l(""),D=d.anchor=a?a.anchor:l("");let{patchFlag:O,dynamicChildren:N,slotScopeIds:k}=d;k&&(T=T?T.concat(k):k),a==null?(s(x,m,S),s(D,m,S),W(d.children||[],m,D,v,b,A,T,C)):O>0&&O&64&&N&&a.dynamicChildren?(_(a.dynamicChildren,N,m,v,b,A,T),(d.key!=null||v&&d===v.subTree)&&Xi(a,d,!0)):F(a,d,m,D,v,b,A,T,C)},V=(a,d,m,S,v,b,A,T,C)=>{d.slotScopeIds=T,a==null?d.shapeFlag&512?v.ctx.activate(d,m,S,A,C):se(d,m,S,v,b,A,C):oe(a,d,C)},se=(a,d,m,S,v,b,A)=>{const T=a.component=Oc(a,S,v);if(Fn(a)&&(T.ctx.renderer=_t),Ic(T,!1,A),T.asyncDep){if(v&&v.registerDep(T,H,A),!a.el){const C=T.subTree=de(me);B(null,C,d,m)}}else H(T,a,d,m,v,b,A)},oe=(a,d,m)=>{const S=d.component=a.component;if(wc(a,d,m))if(S.asyncDep&&!S.asyncResolved){Y(S,d,m);return}else S.next=d,S.update();else d.el=a.el,S.vnode=d},H=(a,d,m,S,v,b,A)=>{const T=()=>{if(a.isMounted){let{next:O,bu:N,u:k,parent:X,vnode:Z}=a;{const Ee=zi(a);if(Ee){O&&(O.el=Z.el,Y(a,O,A)),Ee.asyncDep.then(()=>{a.isUnmounted||T()});return}}let Q=O,xe;ct(a,!1),O?(O.el=Z.el,Y(a,O,A)):O=Z,N&&Kn(N),(xe=O.props&&O.props.onVnodeBeforeUpdate)&&Oe(xe,X,O,Z),ct(a,!0);const he=Zn(a),Le=a.subTree;a.subTree=he,L(Le,he,h(Le.el),Qt(Le),a,v,b),O.el=he.el,Q===null&&Sc(a,he.el),k&&Te(k,v),(xe=O.props&&O.props.onVnodeUpdated)&&Te(()=>Oe(xe,X,O,Z),v)}else{let O;const{el:N,props:k}=d,{bm:X,m:Z,parent:Q,root:xe,type:he}=a,Le=gt(d);if(ct(a,!1),X&&Kn(X),!Le&&(O=k&&k.onVnodeBeforeMount)&&Oe(O,Q,d),ct(a,!0),N&&Wn){const Ee=()=>{a.subTree=Zn(a),Wn(N,a.subTree,a,v,null)};Le&&he.__asyncHydrate?he.__asyncHydrate(N,a,Ee):Ee()}else{xe.ce&&xe.ce._injectChildStyle(he);const Ee=a.subTree=Zn(a);L(null,Ee,m,S,a,v,b),d.el=Ee.el}if(Z&&Te(Z,v),!Le&&(O=k&&k.onVnodeMounted)){const Ee=d;Te(()=>Oe(O,Q,Ee),v)}(d.shapeFlag&256||Q&>(Q.vnode)&&Q.vnode.shapeFlag&256)&&a.a&&Te(a.a,v),a.isMounted=!0,d=m=S=null}};a.scope.on();const C=a.effect=new ti(T);a.scope.off();const x=a.update=C.run.bind(C),D=a.job=C.runIfDirty.bind(C);D.i=a,D.id=a.uid,C.scheduler=()=>Us(D),ct(a,!0),x()},Y=(a,d,m)=>{d.component=a;const S=a.vnode.props;a.vnode=d,a.next=null,oc(a,d.props,S,m),fc(a,d.children,m),it(),ir(a),ot()},F=(a,d,m,S,v,b,A,T,C=!1)=>{const x=a&&a.children,D=a?a.shapeFlag:0,O=d.children,{patchFlag:N,shapeFlag:k}=d;if(N>0){if(N&128){Jt(x,O,m,S,v,b,A,T,C);return}else if(N&256){ae(x,O,m,S,v,b,A,T,C);return}}k&8?(D&16&&Pt(x,v,b),O!==x&&f(m,O)):D&16?k&16?Jt(x,O,m,S,v,b,A,T,C):Pt(x,v,b,!0):(D&8&&f(m,""),k&16&&W(O,m,S,v,b,A,T,C))},ae=(a,d,m,S,v,b,A,T,C)=>{a=a||Et,d=d||Et;const x=a.length,D=d.length,O=Math.min(x,D);let N;for(N=0;ND?Pt(a,v,b,!0,!1,O):W(d,m,S,v,b,A,T,C,O)},Jt=(a,d,m,S,v,b,A,T,C)=>{let x=0;const D=d.length;let O=a.length-1,N=D-1;for(;x<=O&&x<=N;){const k=a[x],X=d[x]=C?Qe(d[x]):Ie(d[x]);if(dt(k,X))L(k,X,m,null,v,b,A,T,C);else break;x++}for(;x<=O&&x<=N;){const k=a[O],X=d[N]=C?Qe(d[N]):Ie(d[N]);if(dt(k,X))L(k,X,m,null,v,b,A,T,C);else break;O--,N--}if(x>O){if(x<=N){const k=N+1,X=kN)for(;x<=O;)He(a[x],v,b,!0),x++;else{const k=x,X=x,Z=new Map;for(x=X;x<=N;x++){const Ce=d[x]=C?Qe(d[x]):Ie(d[x]);Ce.key!=null&&Z.set(Ce.key,x)}let Q,xe=0;const he=N-X+1;let Le=!1,Ee=0;const Lt=new Array(he);for(x=0;x=he){He(Ce,v,b,!0);continue}let $e;if(Ce.key!=null)$e=Z.get(Ce.key);else for(Q=X;Q<=N;Q++)if(Lt[Q-X]===0&&dt(Ce,d[Q])){$e=Q;break}$e===void 0?He(Ce,v,b,!0):(Lt[$e-X]=x+1,$e>=Ee?Ee=$e:Le=!0,L(Ce,d[$e],m,null,v,b,A,T,C),xe++)}const zs=Le?hc(Lt):Et;for(Q=zs.length-1,x=he-1;x>=0;x--){const Ce=X+x,$e=d[Ce],Js=Ce+1{const{el:b,type:A,transition:T,children:C,shapeFlag:x}=a;if(x&6){lt(a.component.subTree,d,m,S);return}if(x&128){a.suspense.move(d,m,S);return}if(x&64){A.move(a,d,m,_t);return}if(A===Se){s(b,d,m);for(let O=0;OT.enter(b),v);else{const{leave:O,delayLeave:N,afterLeave:k}=T,X=()=>s(b,d,m),Z=()=>{O(b,()=>{X(),k&&k()})};N?N(b,X,Z):Z()}else s(b,d,m)},He=(a,d,m,S=!1,v=!1)=>{const{type:b,props:A,ref:T,children:C,dynamicChildren:x,shapeFlag:D,patchFlag:O,dirs:N,cacheIndex:k}=a;if(O===-2&&(v=!1),T!=null&&Sn(T,null,m,a,!0),k!=null&&(d.renderCache[k]=void 0),D&256){d.ctx.deactivate(a);return}const X=D&1&&N,Z=!gt(a);let Q;if(Z&&(Q=A&&A.onVnodeBeforeUnmount)&&Oe(Q,d,a),D&6)Oo(a.component,m,S);else{if(D&128){a.suspense.unmount(m,S);return}X&&je(a,null,d,"beforeUnmount"),D&64?a.type.remove(a,d,m,_t,S):x&&!x.hasOnce&&(b!==Se||O>0&&O&64)?Pt(x,d,m,!1,!0):(b===Se&&O&384||!v&&D&16)&&Pt(C,d,m),S&&Ys(a)}(Z&&(Q=A&&A.onVnodeUnmounted)||X)&&Te(()=>{Q&&Oe(Q,d,a),X&&je(a,null,d,"unmounted")},m)},Ys=a=>{const{type:d,el:m,anchor:S,transition:v}=a;if(d===Se){Ro(m,S);return}if(d===Dt){p(a);return}const b=()=>{r(m),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(a.shapeFlag&1&&v&&!v.persisted){const{leave:A,delayLeave:T}=v,C=()=>A(m,b);T?T(a.el,b,C):C()}else b()},Ro=(a,d)=>{let m;for(;a!==d;)m=y(a),r(a),a=m;r(d)},Oo=(a,d,m)=>{const{bum:S,scope:v,job:b,subTree:A,um:T,m:C,a:x}=a;gr(C),gr(x),S&&Kn(S),v.stop(),b&&(b.flags|=8,He(A,a,d,m)),T&&Te(T,d),Te(()=>{a.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&a.asyncDep&&!a.asyncResolved&&a.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},Pt=(a,d,m,S=!1,v=!1,b=0)=>{for(let A=b;A{if(a.shapeFlag&6)return Qt(a.component.subTree);if(a.shapeFlag&128)return a.suspense.next();const d=y(a.anchor||a.el),m=d&&d[Ml];return m?y(m):d};let Bn=!1;const Xs=(a,d,m)=>{a==null?d._vnode&&He(d._vnode,null,null,!0):L(d._vnode||null,a,d,null,null,null,m),d._vnode=a,Bn||(Bn=!0,ir(),bn(),Bn=!1)},_t={p:L,um:He,m:lt,r:Ys,mt:se,mc:W,pc:F,pbc:_,n:Qt,o:e};let kn,Wn;return t&&([kn,Wn]=t(_t)),{render:Xs,hydrate:kn,createApp:sc(Xs,kn)}}function Qn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ct({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Yi(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Xi(e,t,n=!1){const s=e.children,r=t.children;if(U(s)&&U(r))for(let i=0;i>1,e[n[l]]0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function zi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:zi(t)}function gr(e){if(e)for(let t=0;tOt(pc);function Ji(e,t){return Dn(e,null,t)}function mf(e,t){return Dn(e,null,{flush:"post"})}function Ue(e,t,n){return Dn(e,t,n)}function Dn(e,t,n=te){const{immediate:s,deep:r,flush:i,once:o}=n,l=le({},n);let c;if(Un)if(i==="sync"){const y=gc();c=y.__watcherHandles||(y.__watcherHandles=[])}else if(!t||s)l.once=!0;else{const y=()=>{};return y.stop=Ve,y.resume=Ve,y.pause=Ve,y}const u=fe;l.call=(y,E,M)=>Fe(y,u,E,M);let f=!1;i==="post"?l.scheduler=y=>{Te(y,u&&u.suspense)}:i!=="sync"&&(f=!0,l.scheduler=(y,E)=>{E?y():Us(y)}),l.augmentJob=y=>{t&&(y.flags|=4),f&&(y.flags|=2,u&&(y.id=u.uid,y.i=u))};const h=Tl(e,t,l);return c&&c.push(h),h}function mc(e,t,n){const s=this.proxy,r=re(e)?e.includes(".")?Qi(s,e):()=>s[e]:e.bind(s,s);let i;K(t)?i=t:(i=t.handler,n=t);const o=zt(this),l=Dn(r,i.bind(s),n);return o(),l}function Qi(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;rt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Pe(t)}Modifiers`]||e[`${rt(t)}Modifiers`];function vc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||te;let r=n;const i=t.startsWith("update:"),o=i&&yc(s,t.slice(7));o&&(o.trim&&(r=n.map(f=>re(f)?f.trim():f)),o.number&&(r=n.map(Fo)));let l,c=s[l=hn(t)]||s[l=hn(Pe(t))];!c&&i&&(c=s[l=hn(rt(t))]),c&&Fe(c,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Fe(u,e,6,r)}}function Zi(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!K(e)){const c=u=>{const f=Zi(u,t,!0);f&&(l=!0,le(o,f))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(ne(e)&&s.set(e,null),null):(U(i)?i.forEach(c=>o[c]=null):le(o,i),ne(e)&&s.set(e,o),o)}function jn(e,t){return!e||!Yt(t)?!1:(t=t.slice(2).replace(/Once$/,""),J(e,t[0].toLowerCase()+t.slice(1))||J(e,rt(t))||J(e,t))}function Zn(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:u,renderCache:f,props:h,data:y,setupState:E,ctx:M,inheritAttrs:L}=e,G=wn(e);let B,q;try{if(n.shapeFlag&4){const p=r||s,R=p;B=Ie(u.call(R,p,f,h,E,y,M)),q=l}else{const p=t;B=Ie(p.length>1?p(h,{attrs:l,slots:o,emit:c}):p(h,null)),q=t.props?l:_c(l)}}catch(p){jt.length=0,Ln(p,e,1),B=de(me)}let g=B;if(q&&L!==!1){const p=Object.keys(q),{shapeFlag:R}=g;p.length&&R&7&&(i&&p.some(As)&&(q=bc(q,i)),g=nt(g,q,!1,!0))}return n.dirs&&(g=nt(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&Wt(g,n.transition),B=g,wn(G),B}const _c=e=>{let t;for(const n in e)(n==="class"||n==="style"||Yt(n))&&((t||(t={}))[n]=e[n]);return t},bc=(e,t)=>{const n={};for(const s in e)(!As(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function wc(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?mr(s,o,u):!!o;if(c&8){const f=t.dynamicProps;for(let h=0;he.__isSuspense;function to(e,t){t&&t.pendingBranch?U(e)?t.effects.push(...e):t.effects.push(e):Ol(e)}const Se=Symbol.for("v-fgt"),mt=Symbol.for("v-txt"),me=Symbol.for("v-cmt"),Dt=Symbol.for("v-stc"),jt=[];let Ae=null;function ws(e=!1){jt.push(Ae=e?null:[])}function xc(){jt.pop(),Ae=jt[jt.length-1]||null}let Kt=1;function yr(e){Kt+=e,e<0&&Ae&&(Ae.hasOnce=!0)}function no(e){return e.dynamicChildren=Kt>0?Ae||Et:null,xc(),Kt>0&&Ae&&Ae.push(e),e}function yf(e,t,n,s,r,i){return no(ro(e,t,n,s,r,i,!0))}function Ss(e,t,n,s,r){return no(de(e,t,n,s,r,!0))}function qt(e){return e?e.__v_isVNode===!0:!1}function dt(e,t){return e.type===t.type&&e.key===t.key}const so=({key:e})=>e??null,gn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?re(e)||ce(e)||K(e)?{i:ye,r:e,k:t,f:!!n}:e:null);function ro(e,t=null,n=null,s=0,r=null,i=e===Se?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&so(t),ref:t&&gn(t),scopeId:Si,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ye};return l?(Ws(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=re(n)?8:16),Kt>0&&!o&&Ae&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ae.push(c),c}const de=Ec;function Ec(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Ni)&&(e=me),qt(e)){const l=nt(e,t,!0);return n&&Ws(l,n),Kt>0&&!i&&Ae&&(l.shapeFlag&6?Ae[Ae.indexOf(e)]=l:Ae.push(l)),l.patchFlag=-2,l}if(Nc(e)&&(e=e.__vccOpts),t){t=Cc(t);let{class:l,style:c}=t;l&&!re(l)&&(t.class=Ms(l)),ne(c)&&(Ds(c)&&!U(c)&&(c=le({},c)),t.style=Is(c))}const o=re(e)?1:eo(e)?128:xi(e)?64:ne(e)?4:K(e)?2:0;return ro(e,t,n,s,r,o,i,!0)}function Cc(e){return e?Ds(e)||Ui(e)?le({},e):e:null}function nt(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,u=t?Tc(r||{},t):r,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&so(u),ref:t&&t.ref?n&&i?U(i)?i.concat(gn(t)):[i,gn(t)]:gn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Se?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nt(e.ssContent),ssFallback:e.ssFallback&&nt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Wt(f,c.clone(f)),f}function io(e=" ",t=0){return de(mt,null,e,t)}function vf(e,t){const n=de(Dt,null,e);return n.staticCount=t,n}function _f(e="",t=!1){return t?(ws(),Ss(me,null,e)):de(me,null,e)}function Ie(e){return e==null||typeof e=="boolean"?de(me):U(e)?de(Se,null,e.slice()):qt(e)?Qe(e):de(mt,null,String(e))}function Qe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nt(e)}function Ws(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(U(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ws(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Ui(t)?t._ctx=ye:r===3&&ye&&(ye.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:ye},n=32):(t=String(t),s&64?(n=16,t=[io(t)]):n=8);e.children=t,e.shapeFlag|=n}function Tc(...e){const t={};for(let n=0;nfe||ye;let En,xs;{const e=zr(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};En=t("__VUE_INSTANCE_SETTERS__",n=>fe=n),xs=t("__VUE_SSR_SETTERS__",n=>Un=n)}const zt=e=>{const t=fe;return En(e),e.scope.on(),()=>{e.scope.off(),En(t)}},vr=()=>{fe&&fe.scope.off(),En(null)};function oo(e){return e.vnode.shapeFlag&4}let Un=!1;function Ic(e,t=!1,n=!1){t&&xs(t);const{props:s,children:r}=e.vnode,i=oo(e);ic(e,s,i,t),ac(e,r,n);const o=i?Mc(e,t):void 0;return t&&xs(!1),o}function Mc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Xl);const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?co(e):null,i=zt(e);it();const o=Xt(s,e,0,[e.props,r]);if(ot(),i(),qr(o)){if(gt(e)||Ii(e),o.then(vr,vr),t)return o.then(l=>{_r(e,l,t)}).catch(l=>{Ln(l,e,0)});e.asyncDep=o}else _r(e,o,t)}else lo(e,t)}function _r(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ne(t)&&(e.setupState=vi(t)),lo(e,n)}let br;function lo(e,t,n){const s=e.type;if(!e.render){if(!t&&br&&!s.render){const r=s.template||Bs(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,u=le(le({isCustomElement:i,delimiters:l},o),c);s.render=br(r,u)}}e.render=s.render||Ve}{const r=zt(e);it();try{Jl(e)}finally{ot(),r()}}}const Pc={get(e,t){return ve(e,"get",""),e[t]}};function co(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Pc),slots:e.slots,emit:e.emit,expose:t}}function Ks(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(vi(pn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in $t)return $t[n](e)},has(t,n){return n in t||n in $t}})):e.proxy}function Lc(e,t=!0){return K(e)?e.displayName||e.name:e.name||t&&e.__name}function Nc(e){return K(e)&&"__vccOpts"in e}const ie=(e,t)=>El(e,t,Un);function Es(e,t,n){const s=arguments.length;return s===2?ne(t)&&!U(t)?qt(t)?de(e,null,[t]):de(e,t):de(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&qt(n)&&(n=[n]),de(e,t,n))}const Fc="3.5.10";/** +* @vue/runtime-dom v3.5.10 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Cs;const wr=typeof window<"u"&&window.trustedTypes;if(wr)try{Cs=wr.createPolicy("vue",{createHTML:e=>e})}catch{}const ao=Cs?e=>Cs.createHTML(e):e=>e,Hc="http://www.w3.org/2000/svg",$c="http://www.w3.org/1998/Math/MathML",ke=typeof document<"u"?document:null,Sr=ke&&ke.createElement("template"),Dc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?ke.createElementNS(Hc,e):t==="mathml"?ke.createElementNS($c,e):n?ke.createElement(e,{is:n}):ke.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>ke.createTextNode(e),createComment:e=>ke.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ke.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Sr.innerHTML=ao(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=Sr.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ye="transition",Ft="animation",Gt=Symbol("_vtc"),fo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},jc=le({},Ei,fo),Vc=e=>(e.displayName="Transition",e.props=jc,e),bf=Vc((e,{slots:t})=>Es(Nl,Uc(e),t)),at=(e,t=[])=>{U(e)?e.forEach(n=>n(...t)):e&&e(...t)},xr=e=>e?U(e)?e.some(t=>t.length>1):e.length>1:!1;function Uc(e){const t={};for(const w in e)w in fo||(t[w]=e[w]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:u=o,appearToClass:f=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:y=`${n}-leave-active`,leaveToClass:E=`${n}-leave-to`}=e,M=Bc(r),L=M&&M[0],G=M&&M[1],{onBeforeEnter:B,onEnter:q,onEnterCancelled:g,onLeave:p,onLeaveCancelled:R,onBeforeAppear:$=B,onAppear:j=q,onAppearCancelled:W=g}=t,I=(w,V,se)=>{ft(w,V?f:l),ft(w,V?u:o),se&&se()},_=(w,V)=>{w._isLeaving=!1,ft(w,h),ft(w,E),ft(w,y),V&&V()},P=w=>(V,se)=>{const oe=w?j:q,H=()=>I(V,w,se);at(oe,[V,H]),Er(()=>{ft(V,w?c:i),Xe(V,w?f:l),xr(oe)||Cr(V,s,L,H)})};return le(t,{onBeforeEnter(w){at(B,[w]),Xe(w,i),Xe(w,o)},onBeforeAppear(w){at($,[w]),Xe(w,c),Xe(w,u)},onEnter:P(!1),onAppear:P(!0),onLeave(w,V){w._isLeaving=!0;const se=()=>_(w,V);Xe(w,h),Xe(w,y),Kc(),Er(()=>{w._isLeaving&&(ft(w,h),Xe(w,E),xr(p)||Cr(w,s,G,se))}),at(p,[w,se])},onEnterCancelled(w){I(w,!1),at(g,[w])},onAppearCancelled(w){I(w,!0),at(W,[w])},onLeaveCancelled(w){_(w),at(R,[w])}})}function Bc(e){if(e==null)return null;if(ne(e))return[es(e.enter),es(e.leave)];{const t=es(e);return[t,t]}}function es(e){return Ho(e)}function Xe(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Gt]||(e[Gt]=new Set)).add(t)}function ft(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Gt];n&&(n.delete(t),n.size||(e[Gt]=void 0))}function Er(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let kc=0;function Cr(e,t,n,s){const r=e._endId=++kc,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Wc(e,t);if(!o)return s();const u=o+"end";let f=0;const h=()=>{e.removeEventListener(u,y),i()},y=E=>{E.target===e&&++f>=c&&h()};setTimeout(()=>{f(n[M]||"").split(", "),r=s(`${Ye}Delay`),i=s(`${Ye}Duration`),o=Tr(r,i),l=s(`${Ft}Delay`),c=s(`${Ft}Duration`),u=Tr(l,c);let f=null,h=0,y=0;t===Ye?o>0&&(f=Ye,h=o,y=i.length):t===Ft?u>0&&(f=Ft,h=u,y=c.length):(h=Math.max(o,u),f=h>0?o>u?Ye:Ft:null,y=f?f===Ye?i.length:c.length:0);const E=f===Ye&&/\b(transform|all)(,|$)/.test(s(`${Ye}Property`).toString());return{type:f,timeout:h,propCount:y,hasTransform:E}}function Tr(e,t){for(;e.lengthAr(n)+Ar(e[s])))}function Ar(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Kc(){return document.body.offsetHeight}function qc(e,t,n){const s=e[Gt];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Rr=Symbol("_vod"),Gc=Symbol("_vsh"),Yc=Symbol(""),Xc=/(^|;)\s*display\s*:/;function zc(e,t,n){const s=e.style,r=re(n);let i=!1;if(n&&!r){if(t)if(re(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&mn(s,l,"")}else for(const o in t)n[o]==null&&mn(s,o,"");for(const o in n)o==="display"&&(i=!0),mn(s,o,n[o])}else if(r){if(t!==n){const o=s[Yc];o&&(n+=";"+o),s.cssText=n,i=Xc.test(n)}}else t&&e.removeAttribute("style");Rr in e&&(e[Rr]=i?s.display:"",e[Gc]&&(s.display="none"))}const Or=/\s*!important$/;function mn(e,t,n){if(U(n))n.forEach(s=>mn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Jc(e,t);Or.test(n)?e.setProperty(rt(s),n.replace(Or,""),"important"):e[s]=n}}const Ir=["Webkit","Moz","ms"],ts={};function Jc(e,t){const n=ts[t];if(n)return n;let s=Pe(t);if(s!=="filter"&&s in e)return ts[t]=s;s=An(s);for(let r=0;rns||(na.then(()=>ns=0),ns=Date.now());function ra(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Fe(ia(s,n.value),t,5,[s])};return n.value=e,n.attached=sa(),n}function ia(e,t){if(U(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Hr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,oa=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?qc(e,s,o):t==="style"?zc(e,n,s):Yt(t)?As(t)||ea(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):la(e,t,s,o))?(Lr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Pr(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!re(s))?Lr(e,Pe(t),s):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Pr(e,t,s,o))};function la(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Hr(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Hr(t)&&re(n)?!1:t in e}const ca=["ctrl","shift","alt","meta"],aa={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>ca.some(n=>e[`${n}Key`]&&!t.includes(n))},wf=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=rt(r.key);if(t.some(o=>o===i||fa[o]===i))return e(r)})},ua=le({patchProp:oa},Dc);let ss,$r=!1;function da(){return ss=$r?ss:uc(ua),$r=!0,ss}const xf=(...e)=>{const t=da().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=pa(s);if(r)return n(r,!0,ha(r))},t};function ha(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function pa(e){return re(e)?document.querySelector(e):e}const Ef=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},ga=window.__VP_SITE_DATA__;function qs(e){return ei()?(Ko(e),!0):!1}function et(e){return typeof e=="function"?e():yi(e)}const uo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ma=Object.prototype.toString,ya=e=>ma.call(e)==="[object Object]",ho=()=>{},Dr=va();function va(){var e,t;return uo&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function _a(e,t){function n(...s){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(i)})}return n}const po=e=>e();function ba(e=po){const t=ue(!0);function n(){t.value=!1}function s(){t.value=!0}const r=(...i)=>{t.value&&e(...i)};return{isActive:Pn(t),pause:n,resume:s,eventFilter:r}}function wa(e){return Vn()}function go(...e){if(e.length!==1)return wl(...e);const t=e[0];return typeof t=="function"?Pn(vl(()=>({get:t,set:ho}))):ue(t)}function Sa(e,t,n={}){const{eventFilter:s=po,...r}=n;return Ue(e,_a(s,t),r)}function xa(e,t,n={}){const{eventFilter:s,...r}=n,{eventFilter:i,pause:o,resume:l,isActive:c}=ba(s);return{stop:Sa(e,t,{...r,eventFilter:i}),pause:o,resume:l,isActive:c}}function Gs(e,t=!0,n){wa()?Mt(e,n):t?e():Nn(e)}const Ke=uo?window:void 0;function mo(e){var t;const n=et(e);return(t=n==null?void 0:n.$el)!=null?t:n}function It(...e){let t,n,s,r;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,s,r]=e,t=Ke):[t,n,s,r]=e,!t)return ho;Array.isArray(n)||(n=[n]),Array.isArray(s)||(s=[s]);const i=[],o=()=>{i.forEach(f=>f()),i.length=0},l=(f,h,y,E)=>(f.addEventListener(h,y,E),()=>f.removeEventListener(h,y,E)),c=Ue(()=>[mo(t),et(r)],([f,h])=>{if(o(),!f)return;const y=ya(h)?{...h}:h;i.push(...n.flatMap(E=>s.map(M=>l(f,E,M,y))))},{immediate:!0,flush:"post"}),u=()=>{c(),o()};return qs(u),u}function Ea(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Cf(...e){let t,n,s={};e.length===3?(t=e[0],n=e[1],s=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],s=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:r=Ke,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=s,c=Ea(t);return It(r,i,f=>{f.repeat&&et(l)||c(f)&&n(f)},o)}function Ca(){const e=ue(!1),t=Vn();return t&&Mt(()=>{e.value=!0},t),e}function Ta(e){const t=Ca();return ie(()=>(t.value,!!e()))}function yo(e,t={}){const{window:n=Ke}=t,s=Ta(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let r;const i=ue(!1),o=u=>{i.value=u.matches},l=()=>{r&&("removeEventListener"in r?r.removeEventListener("change",o):r.removeListener(o))},c=Ji(()=>{s.value&&(l(),r=n.matchMedia(et(e)),"addEventListener"in r?r.addEventListener("change",o):r.addListener(o),i.value=r.matches)});return qs(()=>{c(),l(),r=void 0}),i}const fn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},un="__vueuse_ssr_handlers__",Aa=Ra();function Ra(){return un in fn||(fn[un]=fn[un]||{}),fn[un]}function vo(e,t){return Aa[e]||t}function _o(e){return yo("(prefers-color-scheme: dark)",e)}function Oa(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Ia={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},jr="vueuse-storage";function Ma(e,t,n,s={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:u=!1,shallow:f,window:h=Ke,eventFilter:y,onError:E=_=>{console.error(_)},initOnMounted:M}=s,L=(f?gi:ue)(typeof t=="function"?t():t);if(!n)try{n=vo("getDefaultStorage",()=>{var _;return(_=Ke)==null?void 0:_.localStorage})()}catch(_){E(_)}if(!n)return L;const G=et(t),B=Oa(G),q=(r=s.serializer)!=null?r:Ia[B],{pause:g,resume:p}=xa(L,()=>$(L.value),{flush:i,deep:o,eventFilter:y});h&&l&&Gs(()=>{n instanceof Storage?It(h,"storage",W):It(h,jr,I),M&&W()}),M||W();function R(_,P){if(h){const w={key:e,oldValue:_,newValue:P,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",w):new CustomEvent(jr,{detail:w}))}}function $(_){try{const P=n.getItem(e);if(_==null)R(P,null),n.removeItem(e);else{const w=q.write(_);P!==w&&(n.setItem(e,w),R(P,w))}}catch(P){E(P)}}function j(_){const P=_?_.newValue:n.getItem(e);if(P==null)return c&&G!=null&&n.setItem(e,q.write(G)),G;if(!_&&u){const w=q.read(P);return typeof u=="function"?u(w,G):B==="object"&&!Array.isArray(w)?{...G,...w}:w}else return typeof P!="string"?P:q.read(P)}function W(_){if(!(_&&_.storageArea!==n)){if(_&&_.key==null){L.value=G;return}if(!(_&&_.key!==e)){g();try{(_==null?void 0:_.newValue)!==q.write(L.value)&&(L.value=j(_))}catch(P){E(P)}finally{_?Nn(p):p()}}}}function I(_){W(_.detail)}return L}const Pa="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function La(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=Ke,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:u,disableTransition:f=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},y=_o({window:r}),E=ie(()=>y.value?"dark":"light"),M=c||(o==null?go(s):Ma(o,s,i,{window:r,listenToStorageChanges:l})),L=ie(()=>M.value==="auto"?E.value:M.value),G=vo("updateHTMLAttrs",(p,R,$)=>{const j=typeof p=="string"?r==null?void 0:r.document.querySelector(p):mo(p);if(!j)return;const W=new Set,I=new Set;let _=null;if(R==="class"){const w=$.split(/\s/g);Object.values(h).flatMap(V=>(V||"").split(/\s/g)).filter(Boolean).forEach(V=>{w.includes(V)?W.add(V):I.add(V)})}else _={key:R,value:$};if(W.size===0&&I.size===0&&_===null)return;let P;f&&(P=r.document.createElement("style"),P.appendChild(document.createTextNode(Pa)),r.document.head.appendChild(P));for(const w of W)j.classList.add(w);for(const w of I)j.classList.remove(w);_&&j.setAttribute(_.key,_.value),f&&(r.getComputedStyle(P).opacity,document.head.removeChild(P))});function B(p){var R;G(t,n,(R=h[p])!=null?R:p)}function q(p){e.onChanged?e.onChanged(p,B):B(p)}Ue(L,q,{flush:"post",immediate:!0}),Gs(()=>q(L.value));const g=ie({get(){return u?M.value:L.value},set(p){M.value=p}});try{return Object.assign(g,{store:M,system:E,state:L})}catch{return g}}function Na(e={}){const{valueDark:t="dark",valueLight:n="",window:s=Ke}=e,r=La({...e,onChanged:(l,c)=>{var u;e.onChanged?(u=e.onChanged)==null||u.call(e,l==="dark",c,l):c(l)},modes:{dark:t,light:n}}),i=ie(()=>r.system?r.system.value:_o({window:s}).value?"dark":"light");return ie({get(){return r.value==="dark"},set(l){const c=l?"dark":"light";i.value===c?r.value="auto":r.value=c}})}function rs(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function bo(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const is=new WeakMap;function Tf(e,t=!1){const n=ue(t);let s=null,r="";Ue(go(e),l=>{const c=rs(et(l));if(c){const u=c;if(is.get(u)||is.set(u,u.style.overflow),u.style.overflow!=="hidden"&&(r=u.style.overflow),u.style.overflow==="hidden")return n.value=!0;if(n.value)return u.style.overflow="hidden"}},{immediate:!0});const i=()=>{const l=rs(et(e));!l||n.value||(Dr&&(s=It(l,"touchmove",c=>{Fa(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{const l=rs(et(e));!l||!n.value||(Dr&&(s==null||s()),l.style.overflow=r,is.delete(l),n.value=!1)};return qs(o),ie({get(){return n.value},set(l){l?i():o()}})}function Af(e={}){const{window:t=Ke,behavior:n="auto"}=e;if(!t)return{x:ue(0),y:ue(0)};const s=ue(t.scrollX),r=ue(t.scrollY),i=ie({get(){return s.value},set(l){scrollTo({left:l,behavior:n})}}),o=ie({get(){return r.value},set(l){scrollTo({top:l,behavior:n})}});return It(t,"scroll",()=>{s.value=t.scrollX,r.value=t.scrollY},{capture:!1,passive:!0}),{x:i,y:o}}function Rf(e={}){const{window:t=Ke,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:i=!0,type:o="inner"}=e,l=ue(n),c=ue(s),u=()=>{t&&(o==="outer"?(l.value=t.outerWidth,c.value=t.outerHeight):i?(l.value=t.innerWidth,c.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,c.value=t.document.documentElement.clientHeight))};if(u(),Gs(u),It("resize",u,{passive:!0}),r){const f=yo("(orientation: portrait)");Ue(f,()=>u())}return{width:l,height:c}}const os={BASE_URL:"/hpcc-js-wasm/",DEV:!1,MODE:"production",PROD:!0,SSR:!1};var ls={};const wo=/^(?:[a-z]+:|\/\/)/i,Ha="vitepress-theme-appearance",$a=/#.*$/,Da=/[?#].*$/,ja=/(?:(^|\/)index)?\.(?:md|html)$/,pe=typeof document<"u",So={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Va(e,t,n=!1){if(t===void 0)return!1;if(e=Vr(`/${e}`),n)return new RegExp(t).test(e);if(Vr(t)!==e)return!1;const s=t.match($a);return s?(pe?location.hash:"")===s[0]:!0}function Vr(e){return decodeURI(e).replace(Da,"").replace(ja,"$1")}function Ua(e){return wo.test(e)}function Ba(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!Ua(n)&&Va(t,`/${n}/`,!0))||"root"}function ka(e,t){var s,r,i,o,l,c,u;const n=Ba(e,t);return Object.assign({},e,{localeIndex:n,lang:((s=e.locales[n])==null?void 0:s.lang)??e.lang,dir:((r=e.locales[n])==null?void 0:r.dir)??e.dir,title:((i=e.locales[n])==null?void 0:i.title)??e.title,titleTemplate:((o=e.locales[n])==null?void 0:o.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:Eo(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(u=e.locales[n])==null?void 0:u.themeConfig}})}function xo(e,t){const n=t.title||e.title,s=t.titleTemplate??e.titleTemplate;if(typeof s=="string"&&s.includes(":title"))return s.replace(/:title/g,n);const r=Wa(e.title,s);return n===r.slice(3)?n:`${n}${r}`}function Wa(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function Ka(e,t){const[n,s]=t;if(n!=="meta")return!1;const r=Object.entries(s)[0];return r==null?!1:e.some(([i,o])=>i===n&&o[r[0]]===r[1])}function Eo(e,t){return[...e.filter(n=>!Ka(t,n)),...t]}const qa=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,Ga=/^[a-z]:/i;function Ur(e){const t=Ga.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(qa,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const cs=new Set;function Ya(e){if(cs.size===0){const n=typeof process=="object"&&(ls==null?void 0:ls.VITE_EXTRA_EXTENSIONS)||(os==null?void 0:os.VITE_EXTRA_EXTENSIONS)||"";("3g2,3gp,aac,ai,apng,au,avif,bin,bmp,cer,class,conf,crl,css,csv,dll,doc,eps,epub,exe,gif,gz,ics,ief,jar,jpe,jpeg,jpg,js,json,jsonld,m4a,man,mid,midi,mjs,mov,mp2,mp3,mp4,mpe,mpeg,mpg,mpp,oga,ogg,ogv,ogx,opus,otf,p10,p7c,p7m,p7s,pdf,png,ps,qt,roff,rtf,rtx,ser,svg,t,tif,tiff,tr,ts,tsv,ttf,txt,vtt,wav,weba,webm,webp,woff,woff2,xhtml,xml,yaml,yml,zip"+(n&&typeof n=="string"?","+n:"")).split(",").forEach(s=>cs.add(s))}const t=e.split(".").pop();return t==null||!cs.has(t.toLowerCase())}const Xa=Symbol(),yt=gi(ga);function Of(e){const t=ie(()=>ka(yt.value,e.data.relativePath)),n=t.value.appearance,s=n==="force-dark"?ue(!0):n?Na({storageKey:Ha,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):ue(!1),r=ue(pe?location.hash:"");return pe&&window.addEventListener("hashchange",()=>{r.value=location.hash}),Ue(()=>e.data,()=>{r.value=pe?location.hash:""}),{site:t,theme:ie(()=>t.value.themeConfig),page:ie(()=>e.data),frontmatter:ie(()=>e.data.frontmatter),params:ie(()=>e.data.params),lang:ie(()=>t.value.lang),dir:ie(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:ie(()=>t.value.localeIndex||"root"),title:ie(()=>xo(t.value,e.data)),description:ie(()=>e.data.description||t.value.description),isDark:s,hash:ie(()=>r.value)}}function za(){const e=Ot(Xa);if(!e)throw new Error("vitepress data not properly injected in app");return e}function Ja(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Br(e){return wo.test(e)||!e.startsWith("/")?e:Ja(yt.value.base,e)}function Qa(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),pe){const n="/hpcc-js-wasm/";t=Ur(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let s=__VP_HASH_MAP__[t.toLowerCase()];if(s||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",s=__VP_HASH_MAP__[t.toLowerCase()]),!s)return null;t=`${n}assets/${t}.${s}.js`}else t=`./${Ur(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let yn=[];function If(e){yn.push(e),$n(()=>{yn=yn.filter(t=>t!==e)})}function Za(){let e=yt.value.scrollOffset,t=0,n=24;if(typeof e=="object"&&"padding"in e&&(n=e.padding,e=e.selector),typeof e=="number")t=e;else if(typeof e=="string")t=kr(e,n);else if(Array.isArray(e))for(const s of e){const r=kr(s,n);if(r){t=r;break}}return t}function kr(e,t){const n=document.querySelector(e);if(!n)return 0;const s=n.getBoundingClientRect().bottom;return s<0?0:s+t}const ef=Symbol(),Co="http://a.com",tf=()=>({path:"/",component:null,data:So});function Mf(e,t){const n=Mn(tf()),s={route:n,go:r};async function r(l=pe?location.href:"/"){var c,u;l=as(l),await((c=s.onBeforeRouteChange)==null?void 0:c.call(s,l))!==!1&&(pe&&l!==as(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await o(l),await((u=s.onAfterRouteChanged)==null?void 0:u.call(s,l)))}let i=null;async function o(l,c=0,u=!1){var y;if(await((y=s.onBeforePageLoad)==null?void 0:y.call(s,l))===!1)return;const f=new URL(l,Co),h=i=f.pathname;try{let E=await e(h);if(!E)throw new Error(`Page not found: ${h}`);if(i===h){i=null;const{default:M,__pageData:L}=E;if(!M)throw new Error(`Invalid route component: ${M}`);n.path=pe?h:Br(h),n.component=pn(M),n.data=pn(L),pe&&Nn(()=>{let G=yt.value.base+L.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!yt.value.cleanUrls&&!G.endsWith("/")&&(G+=".html"),G!==f.pathname&&(f.pathname=G,l=G+f.search+f.hash,history.replaceState({},"",l)),f.hash&&!c){let B=null;try{B=document.getElementById(decodeURIComponent(f.hash).slice(1))}catch(q){console.warn(q)}if(B){Wr(B,f.hash);return}}window.scrollTo(0,c)})}}catch(E){if(!/fetch|Page not found/.test(E.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(E),!u)try{const M=await fetch(yt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await M.json(),await o(l,c,!0);return}catch{}if(i===h){i=null,n.path=pe?h:Br(h),n.component=t?pn(t):null;const M=pe?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...So,relativePath:M}}}}return pe&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",l=>{if(l.defaultPrevented||!(l.target instanceof Element)||l.target.closest("button")||l.button!==0||l.ctrlKey||l.shiftKey||l.altKey||l.metaKey)return;const c=l.target.closest("a");if(!c||c.closest(".vp-raw")||c.hasAttribute("download")||c.hasAttribute("target"))return;const u=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(u==null)return;const{href:f,origin:h,pathname:y,hash:E,search:M}=new URL(u,c.baseURI),L=new URL(location.href);h===L.origin&&Ya(y)&&(l.preventDefault(),y===L.pathname&&M===L.search?(E!==L.hash&&(history.pushState({},"",f),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:L.href,newURL:f}))),E?Wr(c,E,c.classList.contains("header-anchor")):window.scrollTo(0,0)):r(f))},{capture:!0}),window.addEventListener("popstate",async l=>{var c;l.state!==null&&(await o(as(location.href),l.state&&l.state.scrollPosition||0),(c=s.onAfterRouteChanged)==null||c.call(s,location.href))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function nf(){const e=Ot(ef);if(!e)throw new Error("useRouter() is called without provider.");return e}function To(){return nf().route}function Wr(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(r){console.warn(r)}if(s){let r=function(){!n||Math.abs(o-window.scrollY)>window.innerHeight?window.scrollTo(0,o):window.scrollTo({left:0,top:o,behavior:"smooth"})};const i=parseInt(window.getComputedStyle(s).paddingTop,10),o=window.scrollY+s.getBoundingClientRect().top-Za()+i;requestAnimationFrame(r)}}function as(e){const t=new URL(e,Co);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),yt.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const fs=()=>yn.forEach(e=>e()),Pf=Oi({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=To(),{site:n}=za();return()=>Es(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?Es(t.component,{onVnodeMounted:fs,onVnodeUpdated:fs,onVnodeUnmounted:fs}):"404 Page Not Found"])}}),Lf=Oi({setup(e,{slots:t}){const n=ue(!1);return Mt(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function Nf(){pe&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const s=(n=t.parentElement)==null?void 0:n.parentElement;if(!s)return;const r=Array.from(s.querySelectorAll("input")).indexOf(t);if(r<0)return;const i=s.querySelector(".blocks");if(!i)return;const o=Array.from(i.children).find(u=>u.classList.contains("active"));if(!o)return;const l=i.children[r];if(!l||o===l)return;o.classList.remove("active"),l.classList.add("active");const c=s==null?void 0:s.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function Ff(){if(pe){const e=new WeakMap;window.addEventListener("click",t=>{var s;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const r=n.parentElement,i=(s=n.nextElementSibling)==null?void 0:s.nextElementSibling;if(!r||!i)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(r.className),l=[".vp-copy-ignore",".diff.remove"],c=i.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(f=>f.remove());let u=c.textContent||"";o&&(u=u.replace(/^ *(\$|>) /gm,"").trim()),sf(u).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const f=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,f)})}})}}async function sf(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const s=document.getSelection(),r=s?s.rangeCount>0&&s.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),r&&(s.removeAllRanges(),s.addRange(r)),n&&n.focus()}}function Hf(e,t){let n=!0,s=[];const r=i=>{if(n){n=!1,i.forEach(l=>{const c=us(l);for(const u of document.head.children)if(u.isEqualNode(c)){s.push(u);return}});return}const o=i.map(us);s.forEach((l,c)=>{const u=o.findIndex(f=>f==null?void 0:f.isEqualNode(l??null));u!==-1?delete o[u]:(l==null||l.remove(),delete s[c])}),o.forEach(l=>l&&document.head.appendChild(l)),s=[...s,...o].filter(Boolean)};Ji(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[],u=xo(o,i);u!==document.title&&(document.title=u);const f=l||o.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==f&&h.setAttribute("content",f):us(["meta",{name:"description",content:f}]),r(Eo(o.head,of(c)))})}function us([e,t,n]){const s=document.createElement(e);for(const r in t)s.setAttribute(r,t[r]);return n&&(s.innerHTML=n),e==="script"&&!t.async&&(s.async=!1),s}function rf(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function of(e){return e.filter(t=>!rf(t))}const ds=new Set,Ao=()=>document.createElement("link"),lf=e=>{const t=Ao();t.rel="prefetch",t.href=e,document.head.appendChild(t)},cf=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let dn;const af=pe&&(dn=Ao())&&dn.relList&&dn.relList.supports&&dn.relList.supports("prefetch")?lf:cf;function $f(){if(!pe||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const s=()=>{n&&n.disconnect(),n=new IntersectionObserver(i=>{i.forEach(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:c}=l;if(!ds.has(c)){ds.add(c);const u=Qa(c);u&&af(u)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{hostname:o,pathname:l}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||i.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(i):ds.add(l))})})};Mt(s);const r=To();Ue(()=>r.path,s),$n(()=>{n&&n.disconnect()})}export{gf as $,Za as A,ff as B,df as C,gi as D,If as E,Se as F,de as G,uf as H,wo as I,To as J,Tc as K,Ot as L,Rf as M,Is as N,Cf as O,Nn as P,Af as Q,pe as R,Pn as S,bf as T,Tf as U,rc as V,Sf as W,pf as X,Pi as Y,wf as Z,Ef as _,io as a,vf as a0,Hf as a1,ef as a2,Of as a3,Xa as a4,Pf as a5,Lf as a6,yt as a7,xf as a8,Mf as a9,Qa as aa,$f as ab,Ff as ac,Nf as ad,Es as ae,Ss as b,yf as c,Oi as d,_f as e,Ya as f,Br as g,ie as h,Ua as i,ro as j,yi as k,Va as l,yo as m,Ms as n,ws as o,ue as p,Ue as q,hf as r,Ji as s,ko as t,za as u,Mt as v,Il as w,$n as x,mf as y,Wl as z}; diff --git a/assets/chunks/theme.5bVqv0zR.js b/assets/chunks/theme.5bVqv0zR.js new file mode 100644 index 00000000..794f9b60 --- /dev/null +++ b/assets/chunks/theme.5bVqv0zR.js @@ -0,0 +1 @@ +import{d as m,o as a,c as u,r as c,n as M,a as D,t as T,b as k,w as v,e as h,T as ce,_ as b,u as Ae,i as Be,f as Ce,g as ue,h as y,j as p,k as r,l as z,m as ae,p as N,q as O,s as Q,v as q,x as de,y as ve,z as He,A as Ee,B as W,F as I,C,D as ge,E as X,G as _,H as E,I as $e,J as Z,K as j,L as x,M as Fe,N as ye,O as De,P as Oe,Q as Pe,R as ee,S as Ge,U as Ve,V as Le,W as Ue,X as je,Y as ze,Z as qe,$ as We}from"./framework.Cu6dwUeI.js";const Ke=m({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(s){return(e,t)=>(a(),u("span",{class:M(["VPBadge",e.type])},[c(e.$slots,"default",{},()=>[D(T(e.text),1)])],2))}}),Je={key:0,class:"VPBackdrop"},Re=m({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(s){return(e,t)=>(a(),k(ce,{name:"fade"},{default:v(()=>[e.show?(a(),u("div",Je)):h("",!0)]),_:1}))}}),Ye=b(Re,[["__scopeId","data-v-c79a1216"]]),P=Ae;function Qe(s,e){let t,o=!1;return()=>{t&&clearTimeout(t),o?t=setTimeout(s,e):(s(),(o=!0)&&setTimeout(()=>o=!1,e))}}function re(s){return/^\//.test(s)?s:`/${s}`}function pe(s){const{pathname:e,search:t,hash:o,protocol:n}=new URL(s,"http://a.com");if(Be(s)||s.startsWith("#")||!n.startsWith("http")||!Ce(e))return s;const{site:i}=P(),l=e.endsWith("/")||e.endsWith(".html")?s:s.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,i.value.cleanUrls?"":".html")}${t}${o}`);return ue(l)}function J({correspondingLink:s=!1}={}){const{site:e,localeIndex:t,page:o,theme:n,hash:i}=P(),l=y(()=>{var d,g;return{label:(d=e.value.locales[t.value])==null?void 0:d.label,link:((g=e.value.locales[t.value])==null?void 0:g.link)||(t.value==="root"?"/":`/${t.value}/`)}});return{localeLinks:y(()=>Object.entries(e.value.locales).flatMap(([d,g])=>l.value.label===g.label?[]:{text:g.label,link:Xe(g.link||(d==="root"?"/":`/${d}/`),n.value.i18nRouting!==!1&&s,o.value.relativePath.slice(l.value.link.length-1),!e.value.cleanUrls)+i.value})),currentLang:l}}function Xe(s,e,t,o){return e?s.replace(/\/$/,"")+re(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,o?".html":"")):s}const Ze={class:"NotFound"},xe={class:"code"},et={class:"title"},tt={class:"quote"},nt={class:"action"},ot=["href","aria-label"],st=m({__name:"NotFound",setup(s){const{theme:e}=P(),{currentLang:t}=J();return(o,n)=>{var i,l,f,d,g;return a(),u("div",Ze,[p("p",xe,T(((i=r(e).notFound)==null?void 0:i.code)??"404"),1),p("h1",et,T(((l=r(e).notFound)==null?void 0:l.title)??"PAGE NOT FOUND"),1),n[0]||(n[0]=p("div",{class:"divider"},null,-1)),p("blockquote",tt,T(((f=r(e).notFound)==null?void 0:f.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),p("div",nt,[p("a",{class:"link",href:r(ue)(r(t).link),"aria-label":((d=r(e).notFound)==null?void 0:d.linkLabel)??"go to home"},T(((g=r(e).notFound)==null?void 0:g.linkText)??"Take me home"),9,ot)])])}}}),at=b(st,[["__scopeId","data-v-d6be1790"]]);function Se(s,e){if(Array.isArray(s))return R(s);if(s==null)return[];e=re(e);const t=Object.keys(s).sort((n,i)=>i.split("/").length-n.split("/").length).find(n=>e.startsWith(re(n))),o=t?s[t]:[];return Array.isArray(o)?R(o):R(o.items,o.base)}function rt(s){const e=[];let t=0;for(const o in s){const n=s[o];if(n.items){t=e.push(n);continue}e[t]||e.push({items:[]}),e[t].items.push(n)}return e}function it(s){const e=[];function t(o){for(const n of o)n.text&&n.link&&e.push({text:n.text,link:n.link,docFooterText:n.docFooterText}),n.items&&t(n.items)}return t(s),e}function ie(s,e){return Array.isArray(e)?e.some(t=>ie(s,t)):z(s,e.link)?!0:e.items?ie(s,e.items):!1}function R(s,e){return[...s].map(t=>{const o={...t},n=o.base||e;return n&&o.link&&(o.link=n+o.link),o.items&&(o.items=R(o.items,n)),o})}function G(){const{frontmatter:s,page:e,theme:t}=P(),o=ae("(min-width: 960px)"),n=N(!1),i=y(()=>{const B=t.value.sidebar,S=e.value.relativePath;return B?Se(B,S):[]}),l=N(i.value);O(i,(B,S)=>{JSON.stringify(B)!==JSON.stringify(S)&&(l.value=i.value)});const f=y(()=>s.value.sidebar!==!1&&l.value.length>0&&s.value.layout!=="home"),d=y(()=>g?s.value.aside==null?t.value.aside==="left":s.value.aside==="left":!1),g=y(()=>s.value.layout==="home"?!1:s.value.aside!=null?!!s.value.aside:t.value.aside!==!1),V=y(()=>f.value&&o.value),$=y(()=>f.value?rt(l.value):[]);function L(){n.value=!0}function w(){n.value=!1}function A(){n.value?w():L()}return{isOpen:n,sidebar:l,sidebarGroups:$,hasSidebar:f,hasAside:g,leftAside:d,isSidebarEnabled:V,open:L,close:w,toggle:A}}function lt(s,e){let t;Q(()=>{t=s.value?document.activeElement:void 0}),q(()=>{window.addEventListener("keyup",o)}),de(()=>{window.removeEventListener("keyup",o)});function o(n){n.key==="Escape"&&s.value&&(e(),t==null||t.focus())}}function ct(s){const{page:e,hash:t}=P(),o=N(!1),n=y(()=>s.value.collapsed!=null),i=y(()=>!!s.value.link),l=N(!1),f=()=>{l.value=z(e.value.relativePath,s.value.link)};O([e,s,t],f),q(f);const d=y(()=>l.value?!0:s.value.items?ie(e.value.relativePath,s.value.items):!1),g=y(()=>!!(s.value.items&&s.value.items.length));Q(()=>{o.value=!!(n.value&&s.value.collapsed)}),ve(()=>{(l.value||d.value)&&(o.value=!1)});function V(){n.value&&(o.value=!o.value)}return{collapsed:o,collapsible:n,isLink:i,isActiveLink:l,hasActiveLink:d,hasChildren:g,toggle:V}}function ut(){const{hasSidebar:s}=G(),e=ae("(min-width: 960px)"),t=ae("(min-width: 1280px)");return{isAsideEnabled:y(()=>!t.value&&!e.value?!1:s.value?t.value:e.value)}}const le=[];function Te(s){return typeof s.outline=="object"&&!Array.isArray(s.outline)&&s.outline.label||s.outlineTitle||"On this page"}function fe(s){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const o=Number(t.tagName[1]);return{element:t,title:dt(t),link:"#"+t.id,level:o}});return vt(e,s)}function dt(s){let e="";for(const t of s.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function vt(s,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[o,n]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;s=s.filter(l=>l.level>=o&&l.level<=n),le.length=0;for(const{element:l,link:f}of s)le.push({element:l,link:f});const i=[];e:for(let l=0;l=0;d--){const g=s[d];if(g.level{requestAnimationFrame(i),window.addEventListener("scroll",o)}),He(()=>{l(location.hash)}),de(()=>{window.removeEventListener("scroll",o)});function i(){if(!t.value)return;const f=window.scrollY,d=window.innerHeight,g=document.body.offsetHeight,V=Math.abs(f+d-g)<1,$=le.map(({element:w,link:A})=>({link:A,top:ft(w)})).filter(({top:w})=>!Number.isNaN(w)).sort((w,A)=>w.top-A.top);if(!$.length){l(null);return}if(f<1){l(null);return}if(V){l($[$.length-1].link);return}let L=null;for(const{link:w,top:A}of $){if(A>f+Ee()+4)break;L=w}l(L)}function l(f){n&&n.classList.remove("active"),f==null?n=null:n=s.value.querySelector(`a[href="${decodeURIComponent(f)}"]`);const d=n;d?(d.classList.add("active"),e.value.style.top=d.offsetTop+39+"px",e.value.style.opacity="1"):(e.value.style.top="33px",e.value.style.opacity="0")}}function ft(s){let e=0;for(;s!==document.body;){if(s===null)return NaN;e+=s.offsetTop,s=s.offsetParent}return e}const ht=["href","title"],mt=m({__name:"VPDocOutlineItem",props:{headers:{},root:{type:Boolean}},setup(s){function e({target:t}){const o=t.href.split("#")[1],n=document.getElementById(decodeURIComponent(o));n==null||n.focus({preventScroll:!0})}return(t,o)=>{const n=W("VPDocOutlineItem",!0);return a(),u("ul",{class:M(["VPDocOutlineItem",t.root?"root":"nested"])},[(a(!0),u(I,null,C(t.headers,({children:i,link:l,title:f})=>(a(),u("li",null,[p("a",{class:"outline-link",href:l,onClick:e,title:f},T(f),9,ht),i!=null&&i.length?(a(),k(n,{key:0,headers:i},null,8,["headers"])):h("",!0)]))),256))],2)}}}),Ne=b(mt,[["__scopeId","data-v-b933a997"]]),_t={class:"content"},kt={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},bt=m({__name:"VPDocAsideOutline",setup(s){const{frontmatter:e,theme:t}=P(),o=ge([]);X(()=>{o.value=fe(e.value.outline??t.value.outline)});const n=N(),i=N();return pt(n,i),(l,f)=>(a(),u("nav",{"aria-labelledby":"doc-outline-aria-label",class:M(["VPDocAsideOutline",{"has-outline":o.value.length>0}]),ref_key:"container",ref:n},[p("div",_t,[p("div",{class:"outline-marker",ref_key:"marker",ref:i},null,512),p("div",kt,T(r(Te)(r(t))),1),_(Ne,{headers:o.value,root:!0},null,8,["headers"])])],2))}}),gt=b(bt,[["__scopeId","data-v-a5bbad30"]]),$t={class:"VPDocAsideCarbonAds"},yt=m({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(s){const e=()=>null;return(t,o)=>(a(),u("div",$t,[_(r(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),Pt={class:"VPDocAside"},Vt=m({__name:"VPDocAside",setup(s){const{theme:e}=P();return(t,o)=>(a(),u("div",Pt,[c(t.$slots,"aside-top",{},void 0,!0),c(t.$slots,"aside-outline-before",{},void 0,!0),_(gt),c(t.$slots,"aside-outline-after",{},void 0,!0),o[0]||(o[0]=p("div",{class:"spacer"},null,-1)),c(t.$slots,"aside-ads-before",{},void 0,!0),r(e).carbonAds?(a(),k(yt,{key:0,"carbon-ads":r(e).carbonAds},null,8,["carbon-ads"])):h("",!0),c(t.$slots,"aside-ads-after",{},void 0,!0),c(t.$slots,"aside-bottom",{},void 0,!0)]))}}),Lt=b(Vt,[["__scopeId","data-v-3f215769"]]);function St(){const{theme:s,page:e}=P();return y(()=>{const{text:t="Edit this page",pattern:o=""}=s.value.editLink||{};let n;return typeof o=="function"?n=o(e.value):n=o.replace(/:path/g,e.value.filePath),{url:n,text:t}})}function Tt(){const{page:s,theme:e,frontmatter:t}=P();return y(()=>{var g,V,$,L,w,A,B,S;const o=Se(e.value.sidebar,s.value.relativePath),n=it(o),i=Nt(n,H=>H.link.replace(/[?#].*$/,"")),l=i.findIndex(H=>z(s.value.relativePath,H.link)),f=((g=e.value.docFooter)==null?void 0:g.prev)===!1&&!t.value.prev||t.value.prev===!1,d=((V=e.value.docFooter)==null?void 0:V.next)===!1&&!t.value.next||t.value.next===!1;return{prev:f?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??(($=i[l-1])==null?void 0:$.docFooterText)??((L=i[l-1])==null?void 0:L.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((w=i[l-1])==null?void 0:w.link)},next:d?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((A=i[l+1])==null?void 0:A.docFooterText)??((B=i[l+1])==null?void 0:B.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((S=i[l+1])==null?void 0:S.link)}}})}function Nt(s,e){const t=new Set;return s.filter(o=>{const n=e(o);return t.has(n)?!1:t.add(n)})}const F=m({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(s){const e=s,t=y(()=>e.tag??(e.href?"a":"span")),o=y(()=>e.href&&$e.test(e.href)||e.target==="_blank");return(n,i)=>(a(),k(E(t.value),{class:M(["VPLink",{link:n.href,"vp-external-link-icon":o.value,"no-icon":n.noIcon}]),href:n.href?r(pe)(n.href):void 0,target:n.target??(o.value?"_blank":void 0),rel:n.rel??(o.value?"noreferrer":void 0)},{default:v(()=>[c(n.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),Mt={class:"VPLastUpdated"},wt=["datetime"],It=m({__name:"VPDocFooterLastUpdated",setup(s){const{theme:e,page:t,lang:o}=P(),n=y(()=>new Date(t.value.lastUpdated)),i=y(()=>n.value.toISOString()),l=N("");return q(()=>{Q(()=>{var f,d,g;l.value=new Intl.DateTimeFormat((d=(f=e.value.lastUpdated)==null?void 0:f.formatOptions)!=null&&d.forceLocale?o.value:void 0,((g=e.value.lastUpdated)==null?void 0:g.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(n.value)})}),(f,d)=>{var g;return a(),u("p",Mt,[D(T(((g=r(e).lastUpdated)==null?void 0:g.text)||r(e).lastUpdatedText||"Last updated")+": ",1),p("time",{datetime:i.value},T(l.value),9,wt)])}}}),At=b(It,[["__scopeId","data-v-e98dd255"]]),Bt={key:0,class:"VPDocFooter"},Ct={key:0,class:"edit-info"},Ht={key:0,class:"edit-link"},Et={key:1,class:"last-updated"},Ft={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},Dt={class:"pager"},Ot=["innerHTML"],Gt=["innerHTML"],Ut={class:"pager"},jt=["innerHTML"],zt=["innerHTML"],qt=m({__name:"VPDocFooter",setup(s){const{theme:e,page:t,frontmatter:o}=P(),n=St(),i=Tt(),l=y(()=>e.value.editLink&&o.value.editLink!==!1),f=y(()=>t.value.lastUpdated),d=y(()=>l.value||f.value||i.value.prev||i.value.next);return(g,V)=>{var $,L,w,A;return d.value?(a(),u("footer",Bt,[c(g.$slots,"doc-footer-before",{},void 0,!0),l.value||f.value?(a(),u("div",Ct,[l.value?(a(),u("div",Ht,[_(F,{class:"edit-link-button",href:r(n).url,"no-icon":!0},{default:v(()=>[V[0]||(V[0]=p("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),D(" "+T(r(n).text),1)]),_:1},8,["href"])])):h("",!0),f.value?(a(),u("div",Et,[_(At)])):h("",!0)])):h("",!0),($=r(i).prev)!=null&&$.link||(L=r(i).next)!=null&&L.link?(a(),u("nav",Ft,[V[1]||(V[1]=p("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),p("div",Dt,[(w=r(i).prev)!=null&&w.link?(a(),k(F,{key:0,class:"pager-link prev",href:r(i).prev.link},{default:v(()=>{var B;return[p("span",{class:"desc",innerHTML:((B=r(e).docFooter)==null?void 0:B.prev)||"Previous page"},null,8,Ot),p("span",{class:"title",innerHTML:r(i).prev.text},null,8,Gt)]}),_:1},8,["href"])):h("",!0)]),p("div",Ut,[(A=r(i).next)!=null&&A.link?(a(),k(F,{key:0,class:"pager-link next",href:r(i).next.link},{default:v(()=>{var B;return[p("span",{class:"desc",innerHTML:((B=r(e).docFooter)==null?void 0:B.next)||"Next page"},null,8,jt),p("span",{class:"title",innerHTML:r(i).next.text},null,8,zt)]}),_:1},8,["href"])):h("",!0)])])):h("",!0)])):h("",!0)}}}),Wt=b(qt,[["__scopeId","data-v-e257564d"]]),Kt={class:"container"},Jt={class:"aside-container"},Rt={class:"aside-content"},Yt={class:"content"},Qt={class:"content-container"},Xt={class:"main"},Zt=m({__name:"VPDoc",setup(s){const{theme:e}=P(),t=Z(),{hasSidebar:o,hasAside:n,leftAside:i}=G(),l=y(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(f,d)=>{const g=W("Content");return a(),u("div",{class:M(["VPDoc",{"has-sidebar":r(o),"has-aside":r(n)}])},[c(f.$slots,"doc-top",{},void 0,!0),p("div",Kt,[r(n)?(a(),u("div",{key:0,class:M(["aside",{"left-aside":r(i)}])},[d[0]||(d[0]=p("div",{class:"aside-curtain"},null,-1)),p("div",Jt,[p("div",Rt,[_(Lt,null,{"aside-top":v(()=>[c(f.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[c(f.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[c(f.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[c(f.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[c(f.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[c(f.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):h("",!0),p("div",Yt,[p("div",Qt,[c(f.$slots,"doc-before",{},void 0,!0),p("main",Xt,[_(g,{class:M(["vp-doc",[l.value,r(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),_(Wt,null,{"doc-footer-before":v(()=>[c(f.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),c(f.$slots,"doc-after",{},void 0,!0)])])]),c(f.$slots,"doc-bottom",{},void 0,!0)],2)}}}),xt=b(Zt,[["__scopeId","data-v-39a288b8"]]),en=m({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(s){const e=s,t=y(()=>e.href&&$e.test(e.href)),o=y(()=>e.tag||e.href?"a":"button");return(n,i)=>(a(),k(E(o.value),{class:M(["VPButton",[n.size,n.theme]]),href:n.href?r(pe)(n.href):void 0,target:e.target??(t.value?"_blank":void 0),rel:e.rel??(t.value?"noreferrer":void 0)},{default:v(()=>[D(T(n.text),1)]),_:1},8,["class","href","target","rel"]))}}),tn=b(en,[["__scopeId","data-v-cad61b99"]]),nn=["src","alt"],on=m({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(s){return(e,t)=>{const o=W("VPImage",!0);return e.image?(a(),u(I,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),u("img",j({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:r(ue)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,nn)):(a(),u(I,{key:1},[_(o,j({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),_(o,j({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):h("",!0)}}}),Y=b(on,[["__scopeId","data-v-8426fc1a"]]),sn={class:"container"},an={class:"main"},rn={key:0,class:"name"},ln=["innerHTML"],cn=["innerHTML"],un=["innerHTML"],dn={key:0,class:"actions"},vn={key:0,class:"image"},pn={class:"image-container"},fn=m({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(s){const e=x("hero-image-slot-exists");return(t,o)=>(a(),u("div",{class:M(["VPHero",{"has-image":t.image||r(e)}])},[p("div",sn,[p("div",an,[c(t.$slots,"home-hero-info-before",{},void 0,!0),c(t.$slots,"home-hero-info",{},()=>[t.name?(a(),u("h1",rn,[p("span",{innerHTML:t.name,class:"clip"},null,8,ln)])):h("",!0),t.text?(a(),u("p",{key:1,innerHTML:t.text,class:"text"},null,8,cn)):h("",!0),t.tagline?(a(),u("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,un)):h("",!0)],!0),c(t.$slots,"home-hero-info-after",{},void 0,!0),t.actions?(a(),u("div",dn,[(a(!0),u(I,null,C(t.actions,n=>(a(),u("div",{key:n.link,class:"action"},[_(tn,{tag:"a",size:"medium",theme:n.theme,text:n.text,href:n.link,target:n.target,rel:n.rel},null,8,["theme","text","href","target","rel"])]))),128))])):h("",!0),c(t.$slots,"home-hero-actions-after",{},void 0,!0)]),t.image||r(e)?(a(),u("div",vn,[p("div",pn,[o[0]||(o[0]=p("div",{class:"image-bg"},null,-1)),c(t.$slots,"home-hero-image",{},()=>[t.image?(a(),k(Y,{key:0,class:"image-src",image:t.image},null,8,["image"])):h("",!0)],!0)])])):h("",!0)])],2))}}),hn=b(fn,[["__scopeId","data-v-303bb580"]]),mn=m({__name:"VPHomeHero",setup(s){const{frontmatter:e}=P();return(t,o)=>r(e).hero?(a(),k(hn,{key:0,class:"VPHomeHero",name:r(e).hero.name,text:r(e).hero.text,tagline:r(e).hero.tagline,image:r(e).hero.image,actions:r(e).hero.actions},{"home-hero-info-before":v(()=>[c(t.$slots,"home-hero-info-before")]),"home-hero-info":v(()=>[c(t.$slots,"home-hero-info")]),"home-hero-info-after":v(()=>[c(t.$slots,"home-hero-info-after")]),"home-hero-actions-after":v(()=>[c(t.$slots,"home-hero-actions-after")]),"home-hero-image":v(()=>[c(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):h("",!0)}}),_n={class:"box"},kn={key:0,class:"icon"},bn=["innerHTML"],gn=["innerHTML"],$n=["innerHTML"],yn={key:4,class:"link-text"},Pn={class:"link-text-value"},Vn=m({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(s){return(e,t)=>(a(),k(F,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:v(()=>[p("article",_n,[typeof e.icon=="object"&&e.icon.wrap?(a(),u("div",kn,[_(Y,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(a(),k(Y,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(a(),u("div",{key:2,class:"icon",innerHTML:e.icon},null,8,bn)):h("",!0),p("h2",{class:"title",innerHTML:e.title},null,8,gn),e.details?(a(),u("p",{key:3,class:"details",innerHTML:e.details},null,8,$n)):h("",!0),e.linkText?(a(),u("div",yn,[p("p",Pn,[D(T(e.linkText)+" ",1),t[0]||(t[0]=p("span",{class:"vpi-arrow-right link-text-icon"},null,-1))])])):h("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),Ln=b(Vn,[["__scopeId","data-v-a3976bdc"]]),Sn={key:0,class:"VPFeatures"},Tn={class:"container"},Nn={class:"items"},Mn=m({__name:"VPFeatures",props:{features:{}},setup(s){const e=s,t=y(()=>{const o=e.features.length;if(o){if(o===2)return"grid-2";if(o===3)return"grid-3";if(o%3===0)return"grid-6";if(o>3)return"grid-4"}else return});return(o,n)=>o.features?(a(),u("div",Sn,[p("div",Tn,[p("div",Nn,[(a(!0),u(I,null,C(o.features,i=>(a(),u("div",{key:i.title,class:M(["item",[t.value]])},[_(Ln,{icon:i.icon,title:i.title,details:i.details,link:i.link,"link-text":i.linkText,rel:i.rel,target:i.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):h("",!0)}}),wn=b(Mn,[["__scopeId","data-v-a6181336"]]),In=m({__name:"VPHomeFeatures",setup(s){const{frontmatter:e}=P();return(t,o)=>r(e).features?(a(),k(wn,{key:0,class:"VPHomeFeatures",features:r(e).features},null,8,["features"])):h("",!0)}}),An=m({__name:"VPHomeContent",setup(s){const{width:e}=Fe({initialWidth:0,includeScrollbar:!1});return(t,o)=>(a(),u("div",{class:"vp-doc container",style:ye(r(e)?{"--vp-offset":`calc(50% - ${r(e)/2}px)`}:{})},[c(t.$slots,"default",{},void 0,!0)],4))}}),Bn=b(An,[["__scopeId","data-v-8e2d4988"]]),Cn={class:"VPHome"},Hn=m({__name:"VPHome",setup(s){const{frontmatter:e}=P();return(t,o)=>{const n=W("Content");return a(),u("div",Cn,[c(t.$slots,"home-hero-before",{},void 0,!0),_(mn,null,{"home-hero-info-before":v(()=>[c(t.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[c(t.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[c(t.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[c(t.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[c(t.$slots,"home-hero-image",{},void 0,!0)]),_:3}),c(t.$slots,"home-hero-after",{},void 0,!0),c(t.$slots,"home-features-before",{},void 0,!0),_(In),c(t.$slots,"home-features-after",{},void 0,!0),r(e).markdownStyles!==!1?(a(),k(Bn,{key:0},{default:v(()=>[_(n)]),_:1})):(a(),k(n,{key:1}))])}}}),En=b(Hn,[["__scopeId","data-v-686f80a6"]]),Fn={},Dn={class:"VPPage"};function On(s,e){const t=W("Content");return a(),u("div",Dn,[c(s.$slots,"page-top"),_(t),c(s.$slots,"page-bottom")])}const Gn=b(Fn,[["render",On]]),Un=m({__name:"VPContent",setup(s){const{page:e,frontmatter:t}=P(),{hasSidebar:o}=G();return(n,i)=>(a(),u("div",{class:M(["VPContent",{"has-sidebar":r(o),"is-home":r(t).layout==="home"}]),id:"VPContent"},[r(e).isNotFound?c(n.$slots,"not-found",{key:0},()=>[_(at)],!0):r(t).layout==="page"?(a(),k(Gn,{key:1},{"page-top":v(()=>[c(n.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[c(n.$slots,"page-bottom",{},void 0,!0)]),_:3})):r(t).layout==="home"?(a(),k(En,{key:2},{"home-hero-before":v(()=>[c(n.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":v(()=>[c(n.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[c(n.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[c(n.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[c(n.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[c(n.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[c(n.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[c(n.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[c(n.$slots,"home-features-after",{},void 0,!0)]),_:3})):r(t).layout&&r(t).layout!=="doc"?(a(),k(E(r(t).layout),{key:3})):(a(),k(xt,{key:4},{"doc-top":v(()=>[c(n.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[c(n.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":v(()=>[c(n.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[c(n.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[c(n.$slots,"doc-after",{},void 0,!0)]),"aside-top":v(()=>[c(n.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":v(()=>[c(n.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[c(n.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[c(n.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[c(n.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":v(()=>[c(n.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),jn=b(Un,[["__scopeId","data-v-1428d186"]]),zn={class:"container"},qn=["innerHTML"],Wn=["innerHTML"],Kn=m({__name:"VPFooter",setup(s){const{theme:e,frontmatter:t}=P(),{hasSidebar:o}=G();return(n,i)=>r(e).footer&&r(t).footer!==!1?(a(),u("footer",{key:0,class:M(["VPFooter",{"has-sidebar":r(o)}])},[p("div",zn,[r(e).footer.message?(a(),u("p",{key:0,class:"message",innerHTML:r(e).footer.message},null,8,qn)):h("",!0),r(e).footer.copyright?(a(),u("p",{key:1,class:"copyright",innerHTML:r(e).footer.copyright},null,8,Wn)):h("",!0)])],2)):h("",!0)}}),Jn=b(Kn,[["__scopeId","data-v-e315a0ad"]]);function Rn(){const{theme:s,frontmatter:e}=P(),t=ge([]),o=y(()=>t.value.length>0);return X(()=>{t.value=fe(e.value.outline??s.value.outline)}),{headers:t,hasLocalNav:o}}const Yn={class:"menu-text"},Qn={class:"header"},Xn={class:"outline"},Zn=m({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(s){const e=s,{theme:t}=P(),o=N(!1),n=N(0),i=N(),l=N();function f($){var L;(L=i.value)!=null&&L.contains($.target)||(o.value=!1)}O(o,$=>{if($){document.addEventListener("click",f);return}document.removeEventListener("click",f)}),De("Escape",()=>{o.value=!1}),X(()=>{o.value=!1});function d(){o.value=!o.value,n.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function g($){$.target.classList.contains("outline-link")&&(l.value&&(l.value.style.transition="none"),Oe(()=>{o.value=!1}))}function V(){o.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return($,L)=>(a(),u("div",{class:"VPLocalNavOutlineDropdown",style:ye({"--vp-vh":n.value+"px"}),ref_key:"main",ref:i},[$.headers.length>0?(a(),u("button",{key:0,onClick:d,class:M({open:o.value})},[p("span",Yn,T(r(Te)(r(t))),1),L[0]||(L[0]=p("span",{class:"vpi-chevron-right icon"},null,-1))],2)):(a(),u("button",{key:1,onClick:V},T(r(t).returnToTopLabel||"Return to top"),1)),_(ce,{name:"flyout"},{default:v(()=>[o.value?(a(),u("div",{key:0,ref_key:"items",ref:l,class:"items",onClick:g},[p("div",Qn,[p("a",{class:"top-link",href:"#",onClick:V},T(r(t).returnToTopLabel||"Return to top"),1)]),p("div",Xn,[_(Ne,{headers:$.headers},null,8,["headers"])])],512)):h("",!0)]),_:1})],4))}}),xn=b(Zn,[["__scopeId","data-v-17a5e62e"]]),eo={class:"container"},to=["aria-expanded"],no={class:"menu-text"},oo=m({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(s){const{theme:e,frontmatter:t}=P(),{hasSidebar:o}=G(),{headers:n}=Rn(),{y:i}=Pe(),l=N(0);q(()=>{l.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),X(()=>{n.value=fe(t.value.outline??e.value.outline)});const f=y(()=>n.value.length===0),d=y(()=>f.value&&!o.value),g=y(()=>({VPLocalNav:!0,"has-sidebar":o.value,empty:f.value,fixed:d.value}));return(V,$)=>r(t).layout!=="home"&&(!d.value||r(i)>=l.value)?(a(),u("div",{key:0,class:M(g.value)},[p("div",eo,[r(o)?(a(),u("button",{key:0,class:"menu","aria-expanded":V.open,"aria-controls":"VPSidebarNav",onClick:$[0]||($[0]=L=>V.$emit("open-menu"))},[$[1]||($[1]=p("span",{class:"vpi-align-left menu-icon"},null,-1)),p("span",no,T(r(e).sidebarMenuLabel||"Menu"),1)],8,to)):h("",!0),_(xn,{headers:r(n),navHeight:l.value},null,8,["headers","navHeight"])])],2)):h("",!0)}}),so=b(oo,[["__scopeId","data-v-a6f0e41e"]]);function ao(){const s=N(!1);function e(){s.value=!0,window.addEventListener("resize",n)}function t(){s.value=!1,window.removeEventListener("resize",n)}function o(){s.value?t():e()}function n(){window.outerWidth>=768&&t()}const i=Z();return O(()=>i.path,t),{isScreenOpen:s,openScreen:e,closeScreen:t,toggleScreen:o}}const ro={},io={class:"VPSwitch",type:"button",role:"switch"},lo={class:"check"},co={key:0,class:"icon"};function uo(s,e){return a(),u("button",io,[p("span",lo,[s.$slots.default?(a(),u("span",co,[c(s.$slots,"default",{},void 0,!0)])):h("",!0)])])}const vo=b(ro,[["render",uo],["__scopeId","data-v-1d5665e3"]]),po=m({__name:"VPSwitchAppearance",setup(s){const{isDark:e,theme:t}=P(),o=x("toggle-appearance",()=>{e.value=!e.value}),n=N("");return ve(()=>{n.value=e.value?t.value.lightModeSwitchTitle||"Switch to light theme":t.value.darkModeSwitchTitle||"Switch to dark theme"}),(i,l)=>(a(),k(vo,{title:n.value,class:"VPSwitchAppearance","aria-checked":r(e),onClick:r(o)},{default:v(()=>l[0]||(l[0]=[p("span",{class:"vpi-sun sun"},null,-1),p("span",{class:"vpi-moon moon"},null,-1)])),_:1},8,["title","aria-checked","onClick"]))}}),he=b(po,[["__scopeId","data-v-5337faa4"]]),fo={key:0,class:"VPNavBarAppearance"},ho=m({__name:"VPNavBarAppearance",setup(s){const{site:e}=P();return(t,o)=>r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),u("div",fo,[_(he)])):h("",!0)}}),mo=b(ho,[["__scopeId","data-v-6c893767"]]),me=N();let Me=!1,se=0;function _o(s){const e=N(!1);if(ee){!Me&&ko(),se++;const t=O(me,o=>{var n,i,l;o===s.el.value||(n=s.el.value)!=null&&n.contains(o)?(e.value=!0,(i=s.onFocus)==null||i.call(s)):(e.value=!1,(l=s.onBlur)==null||l.call(s))});de(()=>{t(),se--,se||bo()})}return Ge(e)}function ko(){document.addEventListener("focusin",we),Me=!0,me.value=document.activeElement}function bo(){document.removeEventListener("focusin",we)}function we(){me.value=document.activeElement}const go={class:"VPMenuLink"},$o=m({__name:"VPMenuLink",props:{item:{}},setup(s){const{page:e}=P();return(t,o)=>(a(),u("div",go,[_(F,{class:M({active:r(z)(r(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:v(()=>[D(T(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),te=b($o,[["__scopeId","data-v-43f1e123"]]),yo={class:"VPMenuGroup"},Po={key:0,class:"title"},Vo=m({__name:"VPMenuGroup",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),u("div",yo,[e.text?(a(),u("p",Po,T(e.text),1)):h("",!0),(a(!0),u(I,null,C(e.items,o=>(a(),u(I,null,["link"in o?(a(),k(te,{key:0,item:o},null,8,["item"])):h("",!0)],64))),256))]))}}),Lo=b(Vo,[["__scopeId","data-v-69e747b5"]]),So={class:"VPMenu"},To={key:0,class:"items"},No=m({__name:"VPMenu",props:{items:{}},setup(s){return(e,t)=>(a(),u("div",So,[e.items?(a(),u("div",To,[(a(!0),u(I,null,C(e.items,o=>(a(),u(I,{key:JSON.stringify(o)},["link"in o?(a(),k(te,{key:0,item:o},null,8,["item"])):"component"in o?(a(),k(E(o.component),j({key:1,ref_for:!0},o.props),null,16)):(a(),k(Lo,{key:2,text:o.text,items:o.items},null,8,["text","items"]))],64))),128))])):h("",!0),c(e.$slots,"default",{},void 0,!0)]))}}),Mo=b(No,[["__scopeId","data-v-b98bc113"]]),wo=["aria-expanded","aria-label"],Io={key:0,class:"text"},Ao=["innerHTML"],Bo={key:1,class:"vpi-more-horizontal icon"},Co={class:"menu"},Ho=m({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(s){const e=N(!1),t=N();_o({el:t,onBlur:o});function o(){e.value=!1}return(n,i)=>(a(),u("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:i[1]||(i[1]=l=>e.value=!0),onMouseleave:i[2]||(i[2]=l=>e.value=!1)},[p("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":n.label,onClick:i[0]||(i[0]=l=>e.value=!e.value)},[n.button||n.icon?(a(),u("span",Io,[n.icon?(a(),u("span",{key:0,class:M([n.icon,"option-icon"])},null,2)):h("",!0),n.button?(a(),u("span",{key:1,innerHTML:n.button},null,8,Ao)):h("",!0),i[3]||(i[3]=p("span",{class:"vpi-chevron-down text-icon"},null,-1))])):(a(),u("span",Bo))],8,wo),p("div",Co,[_(Mo,{items:n.items},{default:v(()=>[c(n.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),_e=b(Ho,[["__scopeId","data-v-b6c34ac9"]]),Eo=["href","aria-label","innerHTML"],Fo=m({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(s){const e=s,t=y(()=>typeof e.icon=="object"?e.icon.svg:``);return(o,n)=>(a(),u("a",{class:"VPSocialLink no-icon",href:o.link,"aria-label":o.ariaLabel??(typeof o.icon=="string"?o.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,Eo))}}),Do=b(Fo,[["__scopeId","data-v-eee4e7cb"]]),Oo={class:"VPSocialLinks"},Go=m({__name:"VPSocialLinks",props:{links:{}},setup(s){return(e,t)=>(a(),u("div",Oo,[(a(!0),u(I,null,C(e.links,({link:o,icon:n,ariaLabel:i})=>(a(),k(Do,{key:o,icon:n,link:o,ariaLabel:i},null,8,["icon","link","ariaLabel"]))),128))]))}}),ke=b(Go,[["__scopeId","data-v-7bc22406"]]),Uo={key:0,class:"group translations"},jo={class:"trans-title"},zo={key:1,class:"group"},qo={class:"item appearance"},Wo={class:"label"},Ko={class:"appearance-action"},Jo={key:2,class:"group"},Ro={class:"item social-links"},Yo=m({__name:"VPNavBarExtra",setup(s){const{site:e,theme:t}=P(),{localeLinks:o,currentLang:n}=J({correspondingLink:!0}),i=y(()=>o.value.length&&n.value.label||e.value.appearance||t.value.socialLinks);return(l,f)=>i.value?(a(),k(_e,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:v(()=>[r(o).length&&r(n).label?(a(),u("div",Uo,[p("p",jo,T(r(n).label),1),(a(!0),u(I,null,C(r(o),d=>(a(),k(te,{key:d.link,item:d},null,8,["item"]))),128))])):h("",!0),r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),u("div",zo,[p("div",qo,[p("p",Wo,T(r(t).darkModeSwitchLabel||"Appearance"),1),p("div",Ko,[_(he)])])])):h("",!0),r(t).socialLinks?(a(),u("div",Jo,[p("div",Ro,[_(ke,{class:"social-links-list",links:r(t).socialLinks},null,8,["links"])])])):h("",!0)]),_:1})):h("",!0)}}),Qo=b(Yo,[["__scopeId","data-v-bb2aa2f0"]]),Xo=["aria-expanded"],Zo=m({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(s){return(e,t)=>(a(),u("button",{type:"button",class:M(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=o=>e.$emit("click"))},t[1]||(t[1]=[p("span",{class:"container"},[p("span",{class:"top"}),p("span",{class:"middle"}),p("span",{class:"bottom"})],-1)]),10,Xo))}}),xo=b(Zo,[["__scopeId","data-v-e5dd9c1c"]]),es=["innerHTML"],ts=m({__name:"VPNavBarMenuLink",props:{item:{}},setup(s){const{page:e}=P();return(t,o)=>(a(),k(F,{class:M({VPNavBarMenuLink:!0,active:r(z)(r(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,noIcon:t.item.noIcon,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:v(()=>[p("span",{innerHTML:t.item.text},null,8,es)]),_:1},8,["class","href","noIcon","target","rel"]))}}),ns=b(ts,[["__scopeId","data-v-9c663999"]]),os=m({__name:"VPNavBarMenuGroup",props:{item:{}},setup(s){const e=s,{page:t}=P(),o=i=>"component"in i?!1:"link"in i?z(t.value.relativePath,i.link,!!e.item.activeMatch):i.items.some(o),n=y(()=>o(e.item));return(i,l)=>(a(),k(_e,{class:M({VPNavBarMenuGroup:!0,active:r(z)(r(t).relativePath,i.item.activeMatch,!!i.item.activeMatch)||n.value}),button:i.item.text,items:i.item.items},null,8,["class","button","items"]))}}),ss={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},as=m({__name:"VPNavBarMenu",setup(s){const{theme:e}=P();return(t,o)=>r(e).nav?(a(),u("nav",ss,[o[0]||(o[0]=p("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),(a(!0),u(I,null,C(r(e).nav,n=>(a(),u(I,{key:JSON.stringify(n)},["link"in n?(a(),k(ns,{key:0,item:n},null,8,["item"])):"component"in n?(a(),k(E(n.component),j({key:1,ref_for:!0},n.props),null,16)):(a(),k(os,{key:2,item:n},null,8,["item"]))],64))),128))])):h("",!0)}}),rs=b(as,[["__scopeId","data-v-dc692963"]]);function is(s){const{localeIndex:e,theme:t}=P();function o(n){var A,B,S;const i=n.split("."),l=(A=t.value.search)==null?void 0:A.options,f=l&&typeof l=="object",d=f&&((S=(B=l.locales)==null?void 0:B[e.value])==null?void 0:S.translations)||null,g=f&&l.translations||null;let V=d,$=g,L=s;const w=i.pop();for(const H of i){let U=null;const K=L==null?void 0:L[H];K&&(U=L=K);const ne=$==null?void 0:$[H];ne&&(U=$=ne);const oe=V==null?void 0:V[H];oe&&(U=V=oe),K||(L=U),ne||($=U),oe||(V=U)}return(V==null?void 0:V[w])??($==null?void 0:$[w])??(L==null?void 0:L[w])??""}return o}const ls=["aria-label"],cs={class:"DocSearch-Button-Container"},us={class:"DocSearch-Button-Placeholder"},be=m({__name:"VPNavBarSearchButton",setup(s){const t=is({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(o,n)=>(a(),u("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":r(t)("button.buttonAriaLabel")},[p("span",cs,[n[0]||(n[0]=p("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1)),p("span",us,T(r(t)("button.buttonText")),1)]),n[1]||(n[1]=p("span",{class:"DocSearch-Button-Keys"},[p("kbd",{class:"DocSearch-Button-Key"}),p("kbd",{class:"DocSearch-Button-Key"},"K")],-1))],8,ls))}}),ds={class:"VPNavBarSearch"},vs={id:"local-search"},ps={key:1,id:"docsearch"},fs=m({__name:"VPNavBarSearch",setup(s){const e=()=>null,t=()=>null,{theme:o}=P(),n=N(!1),i=N(!1);q(()=>{});function l(){n.value||(n.value=!0,setTimeout(f,16))}function f(){const V=new Event("keydown");V.key="k",V.metaKey=!0,window.dispatchEvent(V),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||f()},16)}const d=N(!1),g="";return(V,$)=>{var L;return a(),u("div",ds,[r(g)==="local"?(a(),u(I,{key:0},[d.value?(a(),k(r(e),{key:0,onClose:$[0]||($[0]=w=>d.value=!1)})):h("",!0),p("div",vs,[_(be,{onClick:$[1]||($[1]=w=>d.value=!0)})])],64)):r(g)==="algolia"?(a(),u(I,{key:1},[n.value?(a(),k(r(t),{key:0,algolia:((L=r(o).search)==null?void 0:L.options)??r(o).algolia,onVnodeBeforeMount:$[2]||($[2]=w=>i.value=!0)},null,8,["algolia"])):h("",!0),i.value?h("",!0):(a(),u("div",ps,[_(be,{onClick:l})]))],64)):h("",!0)])}}}),hs=m({__name:"VPNavBarSocialLinks",setup(s){const{theme:e}=P();return(t,o)=>r(e).socialLinks?(a(),k(ke,{key:0,class:"VPNavBarSocialLinks",links:r(e).socialLinks},null,8,["links"])):h("",!0)}}),ms=b(hs,[["__scopeId","data-v-0394ad82"]]),_s=["href","rel","target"],ks={key:1},bs={key:2},gs=m({__name:"VPNavBarTitle",setup(s){const{site:e,theme:t}=P(),{hasSidebar:o}=G(),{currentLang:n}=J(),i=y(()=>{var d;return typeof t.value.logoLink=="string"?t.value.logoLink:(d=t.value.logoLink)==null?void 0:d.link}),l=y(()=>{var d;return typeof t.value.logoLink=="string"||(d=t.value.logoLink)==null?void 0:d.rel}),f=y(()=>{var d;return typeof t.value.logoLink=="string"||(d=t.value.logoLink)==null?void 0:d.target});return(d,g)=>(a(),u("div",{class:M(["VPNavBarTitle",{"has-sidebar":r(o)}])},[p("a",{class:"title",href:i.value??r(pe)(r(n).link),rel:l.value,target:f.value},[c(d.$slots,"nav-bar-title-before",{},void 0,!0),r(t).logo?(a(),k(Y,{key:0,class:"logo",image:r(t).logo},null,8,["image"])):h("",!0),r(t).siteTitle?(a(),u("span",ks,T(r(t).siteTitle),1)):r(t).siteTitle===void 0?(a(),u("span",bs,T(r(e).title),1)):h("",!0),c(d.$slots,"nav-bar-title-after",{},void 0,!0)],8,_s)],2))}}),$s=b(gs,[["__scopeId","data-v-ab179fa1"]]),ys={class:"items"},Ps={class:"title"},Vs=m({__name:"VPNavBarTranslations",setup(s){const{theme:e}=P(),{localeLinks:t,currentLang:o}=J({correspondingLink:!0});return(n,i)=>r(t).length&&r(o).label?(a(),k(_e,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:r(e).langMenuLabel||"Change language"},{default:v(()=>[p("div",ys,[p("p",Ps,T(r(o).label),1),(a(!0),u(I,null,C(r(t),l=>(a(),k(te,{key:l.link,item:l},null,8,["item"]))),128))])]),_:1},8,["label"])):h("",!0)}}),Ls=b(Vs,[["__scopeId","data-v-88af2de4"]]),Ss={class:"wrapper"},Ts={class:"container"},Ns={class:"title"},Ms={class:"content"},ws={class:"content-body"},Is=m({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(s){const e=s,{y:t}=Pe(),{hasSidebar:o}=G(),{frontmatter:n}=P(),i=N({});return ve(()=>{i.value={"has-sidebar":o.value,home:n.value.layout==="home",top:t.value===0,"screen-open":e.isScreenOpen}}),(l,f)=>(a(),u("div",{class:M(["VPNavBar",i.value])},[p("div",Ss,[p("div",Ts,[p("div",Ns,[_($s,null,{"nav-bar-title-before":v(()=>[c(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[c(l.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),p("div",Ms,[p("div",ws,[c(l.$slots,"nav-bar-content-before",{},void 0,!0),_(fs,{class:"search"}),_(rs,{class:"menu"}),_(Ls,{class:"translations"}),_(mo,{class:"appearance"}),_(ms,{class:"social-links"}),_(Qo,{class:"extra"}),c(l.$slots,"nav-bar-content-after",{},void 0,!0),_(xo,{class:"hamburger",active:l.isScreenOpen,onClick:f[0]||(f[0]=d=>l.$emit("toggle-screen"))},null,8,["active"])])])])]),f[1]||(f[1]=p("div",{class:"divider"},[p("div",{class:"divider-line"})],-1))],2))}}),As=b(Is,[["__scopeId","data-v-6aa21345"]]),Bs={key:0,class:"VPNavScreenAppearance"},Cs={class:"text"},Hs=m({__name:"VPNavScreenAppearance",setup(s){const{site:e,theme:t}=P();return(o,n)=>r(e).appearance&&r(e).appearance!=="force-dark"&&r(e).appearance!=="force-auto"?(a(),u("div",Bs,[p("p",Cs,T(r(t).darkModeSwitchLabel||"Appearance"),1),_(he)])):h("",!0)}}),Es=b(Hs,[["__scopeId","data-v-b44890b2"]]),Fs=m({__name:"VPNavScreenMenuLink",props:{item:{}},setup(s){const e=x("close-screen");return(t,o)=>(a(),k(F,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:r(e),innerHTML:t.item.text},null,8,["href","target","rel","onClick","innerHTML"]))}}),Ds=b(Fs,[["__scopeId","data-v-7f31e1f6"]]),Os=m({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(s){const e=x("close-screen");return(t,o)=>(a(),k(F,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:r(e)},{default:v(()=>[D(T(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),Ie=b(Os,[["__scopeId","data-v-19976ae1"]]),Gs={class:"VPNavScreenMenuGroupSection"},Us={key:0,class:"title"},js=m({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),u("div",Gs,[e.text?(a(),u("p",Us,T(e.text),1)):h("",!0),(a(!0),u(I,null,C(e.items,o=>(a(),k(Ie,{key:o.text,item:o},null,8,["item"]))),128))]))}}),zs=b(js,[["__scopeId","data-v-8133b170"]]),qs=["aria-controls","aria-expanded"],Ws=["innerHTML"],Ks=["id"],Js={key:0,class:"item"},Rs={key:1,class:"item"},Ys={key:2,class:"group"},Qs=m({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(s){const e=s,t=N(!1),o=y(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function n(){t.value=!t.value}return(i,l)=>(a(),u("div",{class:M(["VPNavScreenMenuGroup",{open:t.value}])},[p("button",{class:"button","aria-controls":o.value,"aria-expanded":t.value,onClick:n},[p("span",{class:"button-text",innerHTML:i.text},null,8,Ws),l[0]||(l[0]=p("span",{class:"vpi-plus button-icon"},null,-1))],8,qs),p("div",{id:o.value,class:"items"},[(a(!0),u(I,null,C(i.items,f=>(a(),u(I,{key:JSON.stringify(f)},["link"in f?(a(),u("div",Js,[_(Ie,{item:f},null,8,["item"])])):"component"in f?(a(),u("div",Rs,[(a(),k(E(f.component),j({ref_for:!0},f.props,{"screen-menu":""}),null,16))])):(a(),u("div",Ys,[_(zs,{text:f.text,items:f.items},null,8,["text","items"])]))],64))),128))],8,Ks)],2))}}),Xs=b(Qs,[["__scopeId","data-v-b9ab8c58"]]),Zs={key:0,class:"VPNavScreenMenu"},xs=m({__name:"VPNavScreenMenu",setup(s){const{theme:e}=P();return(t,o)=>r(e).nav?(a(),u("nav",Zs,[(a(!0),u(I,null,C(r(e).nav,n=>(a(),u(I,{key:JSON.stringify(n)},["link"in n?(a(),k(Ds,{key:0,item:n},null,8,["item"])):"component"in n?(a(),k(E(n.component),j({key:1,ref_for:!0},n.props,{"screen-menu":""}),null,16)):(a(),k(Xs,{key:2,text:n.text||"",items:n.items},null,8,["text","items"]))],64))),128))])):h("",!0)}}),ea=m({__name:"VPNavScreenSocialLinks",setup(s){const{theme:e}=P();return(t,o)=>r(e).socialLinks?(a(),k(ke,{key:0,class:"VPNavScreenSocialLinks",links:r(e).socialLinks},null,8,["links"])):h("",!0)}}),ta={class:"list"},na=m({__name:"VPNavScreenTranslations",setup(s){const{localeLinks:e,currentLang:t}=J({correspondingLink:!0}),o=N(!1);function n(){o.value=!o.value}return(i,l)=>r(e).length&&r(t).label?(a(),u("div",{key:0,class:M(["VPNavScreenTranslations",{open:o.value}])},[p("button",{class:"title",onClick:n},[l[0]||(l[0]=p("span",{class:"vpi-languages icon lang"},null,-1)),D(" "+T(r(t).label)+" ",1),l[1]||(l[1]=p("span",{class:"vpi-chevron-down icon chevron"},null,-1))]),p("ul",ta,[(a(!0),u(I,null,C(r(e),f=>(a(),u("li",{key:f.link,class:"item"},[_(F,{class:"link",href:f.link},{default:v(()=>[D(T(f.text),1)]),_:2},1032,["href"])]))),128))])],2)):h("",!0)}}),oa=b(na,[["__scopeId","data-v-858fe1a4"]]),sa={class:"container"},aa=m({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(s){const e=N(null),t=Ve(ee?document.body:null);return(o,n)=>(a(),k(ce,{name:"fade",onEnter:n[0]||(n[0]=i=>t.value=!0),onAfterLeave:n[1]||(n[1]=i=>t.value=!1)},{default:v(()=>[o.open?(a(),u("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[p("div",sa,[c(o.$slots,"nav-screen-content-before",{},void 0,!0),_(xs,{class:"menu"}),_(oa,{class:"translations"}),_(Es,{class:"appearance"}),_(ea,{class:"social-links"}),c(o.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):h("",!0)]),_:3}))}}),ra=b(aa,[["__scopeId","data-v-f2779853"]]),ia={key:0,class:"VPNav"},la=m({__name:"VPNav",setup(s){const{isScreenOpen:e,closeScreen:t,toggleScreen:o}=ao(),{frontmatter:n}=P(),i=y(()=>n.value.navbar!==!1);return Le("close-screen",t),Q(()=>{ee&&document.documentElement.classList.toggle("hide-nav",!i.value)}),(l,f)=>i.value?(a(),u("header",ia,[_(As,{"is-screen-open":r(e),onToggleScreen:r(o)},{"nav-bar-title-before":v(()=>[c(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[c(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[c(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[c(l.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),_(ra,{open:r(e)},{"nav-screen-content-before":v(()=>[c(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[c(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):h("",!0)}}),ca=b(la,[["__scopeId","data-v-ae24b3ad"]]),ua=["role","tabindex"],da={key:1,class:"items"},va=m({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(s){const e=s,{collapsed:t,collapsible:o,isLink:n,isActiveLink:i,hasActiveLink:l,hasChildren:f,toggle:d}=ct(y(()=>e.item)),g=y(()=>f.value?"section":"div"),V=y(()=>n.value?"a":"div"),$=y(()=>f.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),L=y(()=>n.value?void 0:"button"),w=y(()=>[[`level-${e.depth}`],{collapsible:o.value},{collapsed:t.value},{"is-link":n.value},{"is-active":i.value},{"has-active":l.value}]);function A(S){"key"in S&&S.key!=="Enter"||!e.item.link&&d()}function B(){e.item.link&&d()}return(S,H)=>{const U=W("VPSidebarItem",!0);return a(),k(E(g.value),{class:M(["VPSidebarItem",w.value])},{default:v(()=>[S.item.text?(a(),u("div",j({key:0,class:"item",role:L.value},je(S.item.items?{click:A,keydown:A}:{},!0),{tabindex:S.item.items&&0}),[H[1]||(H[1]=p("div",{class:"indicator"},null,-1)),S.item.link?(a(),k(F,{key:0,tag:V.value,class:"link",href:S.item.link,rel:S.item.rel,target:S.item.target},{default:v(()=>[(a(),k(E($.value),{class:"text",innerHTML:S.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),k(E($.value),{key:1,class:"text",innerHTML:S.item.text},null,8,["innerHTML"])),S.item.collapsed!=null&&S.item.items&&S.item.items.length?(a(),u("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:B,onKeydown:Ue(B,["enter"]),tabindex:"0"},H[0]||(H[0]=[p("span",{class:"vpi-chevron-right caret-icon"},null,-1)]),32)):h("",!0)],16,ua)):h("",!0),S.item.items&&S.item.items.length?(a(),u("div",da,[S.depth<5?(a(!0),u(I,{key:0},C(S.item.items,K=>(a(),k(U,{key:K.text,item:K,depth:S.depth+1},null,8,["item","depth"]))),128)):h("",!0)])):h("",!0)]),_:1},8,["class"])}}}),pa=b(va,[["__scopeId","data-v-b7550ba0"]]),fa=m({__name:"VPSidebarGroup",props:{items:{}},setup(s){const e=N(!0);let t=null;return q(()=>{t=setTimeout(()=>{t=null,e.value=!1},300)}),ze(()=>{t!=null&&(clearTimeout(t),t=null)}),(o,n)=>(a(!0),u(I,null,C(o.items,i=>(a(),u("div",{key:i.text,class:M(["group",{"no-transition":e.value}])},[_(pa,{item:i,depth:0},null,8,["item"])],2))),128))}}),ha=b(fa,[["__scopeId","data-v-c40bc020"]]),ma={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},_a=m({__name:"VPSidebar",props:{open:{type:Boolean}},setup(s){const{sidebarGroups:e,hasSidebar:t}=G(),o=s,n=N(null),i=Ve(ee?document.body:null);O([o,n],()=>{var f;o.open?(i.value=!0,(f=n.value)==null||f.focus()):i.value=!1},{immediate:!0,flush:"post"});const l=N(0);return O(e,()=>{l.value+=1},{deep:!0}),(f,d)=>r(t)?(a(),u("aside",{key:0,class:M(["VPSidebar",{open:f.open}]),ref_key:"navEl",ref:n,onClick:d[0]||(d[0]=qe(()=>{},["stop"]))},[d[2]||(d[2]=p("div",{class:"curtain"},null,-1)),p("nav",ma,[d[1]||(d[1]=p("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),c(f.$slots,"sidebar-nav-before",{},void 0,!0),(a(),k(ha,{items:r(e),key:l.value},null,8,["items"])),c(f.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):h("",!0)}}),ka=b(_a,[["__scopeId","data-v-319d5ca6"]]),ba=m({__name:"VPSkipLink",setup(s){const e=Z(),t=N();O(()=>e.path,()=>t.value.focus());function o({target:n}){const i=document.getElementById(decodeURIComponent(n.hash).slice(1));if(i){const l=()=>{i.removeAttribute("tabindex"),i.removeEventListener("blur",l)};i.setAttribute("tabindex","-1"),i.addEventListener("blur",l),i.focus(),window.scrollTo(0,0)}}return(n,i)=>(a(),u(I,null,[p("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),p("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:o}," Skip to content ")],64))}}),ga=b(ba,[["__scopeId","data-v-0f60ec36"]]),$a=m({__name:"Layout",setup(s){const{isOpen:e,open:t,close:o}=G(),n=Z();O(()=>n.path,o),lt(e,o);const{frontmatter:i}=P(),l=We(),f=y(()=>!!l["home-hero-image"]);return Le("hero-image-slot-exists",f),(d,g)=>{const V=W("Content");return r(i).layout!==!1?(a(),u("div",{key:0,class:M(["Layout",r(i).pageClass])},[c(d.$slots,"layout-top",{},void 0,!0),_(ga),_(Ye,{class:"backdrop",show:r(e),onClick:r(o)},null,8,["show","onClick"]),_(ca,null,{"nav-bar-title-before":v(()=>[c(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":v(()=>[c(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":v(()=>[c(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":v(()=>[c(d.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":v(()=>[c(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":v(()=>[c(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),_(so,{open:r(e),onOpenMenu:r(t)},null,8,["open","onOpenMenu"]),_(ka,{open:r(e)},{"sidebar-nav-before":v(()=>[c(d.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":v(()=>[c(d.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),_(jn,null,{"page-top":v(()=>[c(d.$slots,"page-top",{},void 0,!0)]),"page-bottom":v(()=>[c(d.$slots,"page-bottom",{},void 0,!0)]),"not-found":v(()=>[c(d.$slots,"not-found",{},void 0,!0)]),"home-hero-before":v(()=>[c(d.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":v(()=>[c(d.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":v(()=>[c(d.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":v(()=>[c(d.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":v(()=>[c(d.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":v(()=>[c(d.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":v(()=>[c(d.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":v(()=>[c(d.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":v(()=>[c(d.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":v(()=>[c(d.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":v(()=>[c(d.$slots,"doc-before",{},void 0,!0)]),"doc-after":v(()=>[c(d.$slots,"doc-after",{},void 0,!0)]),"doc-top":v(()=>[c(d.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":v(()=>[c(d.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":v(()=>[c(d.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":v(()=>[c(d.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":v(()=>[c(d.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":v(()=>[c(d.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":v(()=>[c(d.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":v(()=>[c(d.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),_(Jn),c(d.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),k(V,{key:1}))}}}),ya=b($a,[["__scopeId","data-v-5d98c3a5"]]),Va={Layout:ya,enhanceApp:({app:s})=>{s.component("Badge",Ke)}};export{Va as t}; diff --git a/assets/duckdb_src_duckdb_README.md.DSSHXat2.js b/assets/duckdb_src_duckdb_README.md.DSSHXat2.js new file mode 100644 index 00000000..0bb8dee6 --- /dev/null +++ b/assets/duckdb_src_duckdb_README.md.DSSHXat2.js @@ -0,0 +1 @@ +import{_ as d,c as s,a0 as c,o as e}from"./chunks/framework.Cu6dwUeI.js";const k=JSON.parse('{"title":"duckdb/src/duckdb","description":"","frontmatter":{},"headers":[],"relativePath":"duckdb/src/duckdb/README.md","filePath":"duckdb/src/duckdb/README.md","lastUpdated":null}'),r={name:"duckdb/src/duckdb/README.md"};function t(o,a,l,n,u,i){return e(),s("div",null,a[0]||(a[0]=[c('

@hpcc-js/wasm-rootDocs


duckdb/src/duckdb

Index

Classes

',6)]))}const b=d(r,[["render",t]]);export{k as __pageData,b as default}; diff --git a/assets/duckdb_src_duckdb_README.md.DSSHXat2.lean.js b/assets/duckdb_src_duckdb_README.md.DSSHXat2.lean.js new file mode 100644 index 00000000..0bb8dee6 --- /dev/null +++ b/assets/duckdb_src_duckdb_README.md.DSSHXat2.lean.js @@ -0,0 +1 @@ +import{_ as d,c as s,a0 as c,o as e}from"./chunks/framework.Cu6dwUeI.js";const k=JSON.parse('{"title":"duckdb/src/duckdb","description":"","frontmatter":{},"headers":[],"relativePath":"duckdb/src/duckdb/README.md","filePath":"duckdb/src/duckdb/README.md","lastUpdated":null}'),r={name:"duckdb/src/duckdb/README.md"};function t(o,a,l,n,u,i){return e(),s("div",null,a[0]||(a[0]=[c('

@hpcc-js/wasm-rootDocs


duckdb/src/duckdb

Index

Classes

',6)]))}const b=d(r,[["render",t]]);export{k as __pageData,b as default}; diff --git a/assets/duckdb_src_duckdb_classes_DuckDB.md.BjvlGE6-.js b/assets/duckdb_src_duckdb_classes_DuckDB.md.BjvlGE6-.js new file mode 100644 index 00000000..200d6210 --- /dev/null +++ b/assets/duckdb_src_duckdb_classes_DuckDB.md.BjvlGE6-.js @@ -0,0 +1,20 @@ +import{_ as i,c as a,a0 as t,o as n}from"./chunks/framework.Cu6dwUeI.js";const o=JSON.parse('{"title":"Class: DuckDB","description":"","frontmatter":{},"headers":[],"relativePath":"duckdb/src/duckdb/classes/DuckDB.md","filePath":"duckdb/src/duckdb/classes/DuckDB.md","lastUpdated":null}'),h={name:"duckdb/src/duckdb/classes/DuckDB.md"};function e(l,s,k,p,r,d){return n(),a("div",null,s[0]||(s[0]=[t(`

@hpcc-js/wasm-rootDocs


Class: DuckDB

DuckDB WASM library, a in-process SQL OLAP Database Management System..

See DuckDB for more details.

ts
import { DuckDB } from "@hpcc-js/wasm-duckdb";
+
+let duckdb = await DuckDB.load();
+const c = await duckdb.db.connect();
+
+const data = [
+    { "col1": 1, "col2": "foo" },
+    { "col1": 2, "col2": "bar" },
+];
+await duckdb.db.registerFileText("rows.json", JSON.stringify(data));
+await c.insertJSONFromPath('rows.json', { name: 'rows' });
+
+const arrowResult = await c.query("SELECT * FROM read_json_auto('rows.json')");
+const result = arrowResult.toArray().map((row) => row.toJSON());
+expect(result.length).to.equal(data.length);
+for (let i = 0; i < result.length; i++) {
+    expect(result[i].col2).to.equal(data[i].col2);
+}
+
+c.close();

Properties

db

db: AsyncDuckDB

Defined in

duckdb/src/duckdb.ts:35

Methods

load()

static load(): Promise<DuckDB>

Compiles and instantiates the raw wasm.

INFO

In general WebAssembly compilation is disallowed on the main thread if the buffer size is larger than 4KB, hence forcing load to be asynchronous;

Returns

Promise<DuckDB>

A promise to an instance of the DuckDB class.

Defined in

duckdb/src/duckdb.ts:50


unload()

static unload(): void

Unloades the compiled wasm instance.

Returns

void

Defined in

duckdb/src/duckdb.ts:70


version()

version(): string

Returns

string

The DuckDB version

Defined in

duckdb/src/duckdb.ts:78

`,37)]))}const E=i(h,[["render",e]]);export{o as __pageData,E as default}; diff --git a/assets/duckdb_src_duckdb_classes_DuckDB.md.BjvlGE6-.lean.js b/assets/duckdb_src_duckdb_classes_DuckDB.md.BjvlGE6-.lean.js new file mode 100644 index 00000000..200d6210 --- /dev/null +++ b/assets/duckdb_src_duckdb_classes_DuckDB.md.BjvlGE6-.lean.js @@ -0,0 +1,20 @@ +import{_ as i,c as a,a0 as t,o as n}from"./chunks/framework.Cu6dwUeI.js";const o=JSON.parse('{"title":"Class: DuckDB","description":"","frontmatter":{},"headers":[],"relativePath":"duckdb/src/duckdb/classes/DuckDB.md","filePath":"duckdb/src/duckdb/classes/DuckDB.md","lastUpdated":null}'),h={name:"duckdb/src/duckdb/classes/DuckDB.md"};function e(l,s,k,p,r,d){return n(),a("div",null,s[0]||(s[0]=[t(`

@hpcc-js/wasm-rootDocs


Class: DuckDB

DuckDB WASM library, a in-process SQL OLAP Database Management System..

See DuckDB for more details.

ts
import { DuckDB } from "@hpcc-js/wasm-duckdb";
+
+let duckdb = await DuckDB.load();
+const c = await duckdb.db.connect();
+
+const data = [
+    { "col1": 1, "col2": "foo" },
+    { "col1": 2, "col2": "bar" },
+];
+await duckdb.db.registerFileText("rows.json", JSON.stringify(data));
+await c.insertJSONFromPath('rows.json', { name: 'rows' });
+
+const arrowResult = await c.query("SELECT * FROM read_json_auto('rows.json')");
+const result = arrowResult.toArray().map((row) => row.toJSON());
+expect(result.length).to.equal(data.length);
+for (let i = 0; i < result.length; i++) {
+    expect(result[i].col2).to.equal(data[i].col2);
+}
+
+c.close();

Properties

db

db: AsyncDuckDB

Defined in

duckdb/src/duckdb.ts:35

Methods

load()

static load(): Promise<DuckDB>

Compiles and instantiates the raw wasm.

INFO

In general WebAssembly compilation is disallowed on the main thread if the buffer size is larger than 4KB, hence forcing load to be asynchronous;

Returns

Promise<DuckDB>

A promise to an instance of the DuckDB class.

Defined in

duckdb/src/duckdb.ts:50


unload()

static unload(): void

Unloades the compiled wasm instance.

Returns

void

Defined in

duckdb/src/duckdb.ts:70


version()

version(): string

Returns

string

The DuckDB version

Defined in

duckdb/src/duckdb.ts:78

`,37)]))}const E=i(h,[["render",e]]);export{o as __pageData,E as default}; diff --git a/assets/expat_src_expat_README.md.vyLcAduM.js b/assets/expat_src_expat_README.md.vyLcAduM.js new file mode 100644 index 00000000..adaf70e2 --- /dev/null +++ b/assets/expat_src_expat_README.md.vyLcAduM.js @@ -0,0 +1 @@ +import{_ as e,c as t,a0 as s,o as r}from"./chunks/framework.Cu6dwUeI.js";const d=JSON.parse('{"title":"expat/src/expat","description":"","frontmatter":{},"headers":[],"relativePath":"expat/src/expat/README.md","filePath":"expat/src/expat/README.md","lastUpdated":null}'),l={name:"expat/src/expat/README.md"};function c(p,a,i,h,n,o){return r(),t("div",null,a[0]||(a[0]=[s('

@hpcc-js/wasm-rootDocs


expat/src/expat

Index

Classes

Interfaces

Type Aliases

',10)]))}const m=e(l,[["render",c]]);export{d as __pageData,m as default}; diff --git a/assets/expat_src_expat_README.md.vyLcAduM.lean.js b/assets/expat_src_expat_README.md.vyLcAduM.lean.js new file mode 100644 index 00000000..adaf70e2 --- /dev/null +++ b/assets/expat_src_expat_README.md.vyLcAduM.lean.js @@ -0,0 +1 @@ +import{_ as e,c as t,a0 as s,o as r}from"./chunks/framework.Cu6dwUeI.js";const d=JSON.parse('{"title":"expat/src/expat","description":"","frontmatter":{},"headers":[],"relativePath":"expat/src/expat/README.md","filePath":"expat/src/expat/README.md","lastUpdated":null}'),l={name:"expat/src/expat/README.md"};function c(p,a,i,h,n,o){return r(),t("div",null,a[0]||(a[0]=[s('

@hpcc-js/wasm-rootDocs


expat/src/expat

Index

Classes

Interfaces

Type Aliases

',10)]))}const m=e(l,[["render",c]]);export{d as __pageData,m as default}; diff --git a/assets/expat_src_expat_classes_Expat.md.CWp3EuIl.js b/assets/expat_src_expat_classes_Expat.md.CWp3EuIl.js new file mode 100644 index 00000000..95e7fbd4 --- /dev/null +++ b/assets/expat_src_expat_classes_Expat.md.CWp3EuIl.js @@ -0,0 +1,17 @@ +import{_ as s,c as e,a0 as i,o as t}from"./chunks/framework.Cu6dwUeI.js";const k=JSON.parse('{"title":"Class: Expat","description":"","frontmatter":{},"headers":[],"relativePath":"expat/src/expat/classes/Expat.md","filePath":"expat/src/expat/classes/Expat.md","lastUpdated":null}'),n={name:"expat/src/expat/classes/Expat.md"};function l(r,a,p,h,o,c){return t(),e("div",null,a[0]||(a[0]=[i(`

@hpcc-js/wasm-rootDocs


Class: Expat

Expat XML parser WASM library, provides a simplified wrapper around the Expat XML Parser library.

See libexpat.github.io for c++ details.

ts
import { Expat } from "@hpcc-js/wasm-expat";
+
+const expat = await Expat.load();
+
+const xml = \` \\
+    <root>
+        <child xxx="yyy">content</child>
+    </root>
+\`;
+
+const callback = {
+    startElement(tag, attrs) { console.log("start", tag, attrs); },
+    endElement(tag) { console.log("end", tag); },
+    characterData(content) { console.log("characterData", content); }
+};
+
+expat.parse(xml, callback);

Methods

load()

static load(): Promise<Expat>

Compiles and instantiates the raw wasm.

INFO

In general WebAssembly compilation is disallowed on the main thread if the buffer size is larger than 4KB, hence forcing load to be asynchronous;

Returns

Promise<Expat>

A promise to an instance of the Expat class.

Defined in

expat/src/expat.ts:63


unload()

static unload(): void

Unloades the compiled wasm instance.

Returns

void

Defined in

expat/src/expat.ts:72


version()

version(): string

Returns

string

The Expat c++ version

Defined in

expat/src/expat.ts:80


parse()

parse(xml, callback): boolean

Parses the XML with suitable callbacks.

TIP

The IParser.characterData callback method can get called several times for a single tag element.

Parameters

xml: string

string containing XML

callback: IParser

Callback interface

Returns

boolean

true|false if the XML parse succeeds.

Defined in

expat/src/expat.ts:95

`,47)]))}const E=s(n,[["render",l]]);export{k as __pageData,E as default}; diff --git a/assets/expat_src_expat_classes_Expat.md.CWp3EuIl.lean.js b/assets/expat_src_expat_classes_Expat.md.CWp3EuIl.lean.js new file mode 100644 index 00000000..95e7fbd4 --- /dev/null +++ b/assets/expat_src_expat_classes_Expat.md.CWp3EuIl.lean.js @@ -0,0 +1,17 @@ +import{_ as s,c as e,a0 as i,o as t}from"./chunks/framework.Cu6dwUeI.js";const k=JSON.parse('{"title":"Class: Expat","description":"","frontmatter":{},"headers":[],"relativePath":"expat/src/expat/classes/Expat.md","filePath":"expat/src/expat/classes/Expat.md","lastUpdated":null}'),n={name:"expat/src/expat/classes/Expat.md"};function l(r,a,p,h,o,c){return t(),e("div",null,a[0]||(a[0]=[i(`

@hpcc-js/wasm-rootDocs


Class: Expat

Expat XML parser WASM library, provides a simplified wrapper around the Expat XML Parser library.

See libexpat.github.io for c++ details.

ts
import { Expat } from "@hpcc-js/wasm-expat";
+
+const expat = await Expat.load();
+
+const xml = \` \\
+    <root>
+        <child xxx="yyy">content</child>
+    </root>
+\`;
+
+const callback = {
+    startElement(tag, attrs) { console.log("start", tag, attrs); },
+    endElement(tag) { console.log("end", tag); },
+    characterData(content) { console.log("characterData", content); }
+};
+
+expat.parse(xml, callback);

Methods

load()

static load(): Promise<Expat>

Compiles and instantiates the raw wasm.

INFO

In general WebAssembly compilation is disallowed on the main thread if the buffer size is larger than 4KB, hence forcing load to be asynchronous;

Returns

Promise<Expat>

A promise to an instance of the Expat class.

Defined in

expat/src/expat.ts:63


unload()

static unload(): void

Unloades the compiled wasm instance.

Returns

void

Defined in

expat/src/expat.ts:72


version()

version(): string

Returns

string

The Expat c++ version

Defined in

expat/src/expat.ts:80


parse()

parse(xml, callback): boolean

Parses the XML with suitable callbacks.

TIP

The IParser.characterData callback method can get called several times for a single tag element.

Parameters

xml: string

string containing XML

callback: IParser

Callback interface

Returns

boolean

true|false if the XML parse succeeds.

Defined in

expat/src/expat.ts:95

`,47)]))}const E=s(n,[["render",l]]);export{k as __pageData,E as default}; diff --git a/assets/expat_src_expat_classes_StackElement.md.C2Vx9uLW.js b/assets/expat_src_expat_classes_StackElement.md.C2Vx9uLW.js new file mode 100644 index 00000000..2762f1b2 --- /dev/null +++ b/assets/expat_src_expat_classes_StackElement.md.C2Vx9uLW.js @@ -0,0 +1 @@ +import{_ as a,c as t,a0 as r,o as s}from"./chunks/framework.Cu6dwUeI.js";const b=JSON.parse('{"title":"Class: StackElement","description":"","frontmatter":{},"headers":[],"relativePath":"expat/src/expat/classes/StackElement.md","filePath":"expat/src/expat/classes/StackElement.md","lastUpdated":null}'),o={name:"expat/src/expat/classes/StackElement.md"};function n(c,e,d,l,i,h){return s(),t("div",null,e[0]||(e[0]=[r('

@hpcc-js/wasm-rootDocs


Class: StackElement

Constructors

new StackElement()

new StackElement(tag, attrs): StackElement

Parameters

tag: string

attrs: Attributes

Returns

StackElement

Defined in

expat/src/expat.ts:121

Properties

tag

readonly tag: string

Defined in

expat/src/expat.ts:121


attrs

readonly attrs: Attributes

Defined in

expat/src/expat.ts:121

Accessors

content

get content(): string

Returns

string

Defined in

expat/src/expat.ts:117

Methods

appendContent()

appendContent(content): void

Parameters

content: string

Returns

void

Defined in

expat/src/expat.ts:124

',39)]))}const m=a(o,[["render",n]]);export{b as __pageData,m as default}; diff --git a/assets/expat_src_expat_classes_StackElement.md.C2Vx9uLW.lean.js b/assets/expat_src_expat_classes_StackElement.md.C2Vx9uLW.lean.js new file mode 100644 index 00000000..2762f1b2 --- /dev/null +++ b/assets/expat_src_expat_classes_StackElement.md.C2Vx9uLW.lean.js @@ -0,0 +1 @@ +import{_ as a,c as t,a0 as r,o as s}from"./chunks/framework.Cu6dwUeI.js";const b=JSON.parse('{"title":"Class: StackElement","description":"","frontmatter":{},"headers":[],"relativePath":"expat/src/expat/classes/StackElement.md","filePath":"expat/src/expat/classes/StackElement.md","lastUpdated":null}'),o={name:"expat/src/expat/classes/StackElement.md"};function n(c,e,d,l,i,h){return s(),t("div",null,e[0]||(e[0]=[r('

@hpcc-js/wasm-rootDocs


Class: StackElement

Constructors

new StackElement()

new StackElement(tag, attrs): StackElement

Parameters

tag: string

attrs: Attributes

Returns

StackElement

Defined in

expat/src/expat.ts:121

Properties

tag

readonly tag: string

Defined in

expat/src/expat.ts:121


attrs

readonly attrs: Attributes

Defined in

expat/src/expat.ts:121

Accessors

content

get content(): string

Returns

string

Defined in

expat/src/expat.ts:117

Methods

appendContent()

appendContent(content): void

Parameters

content: string

Returns

void

Defined in

expat/src/expat.ts:124

',39)]))}const m=a(o,[["render",n]]);export{b as __pageData,m as default}; diff --git a/assets/expat_src_expat_classes_StackParser.md.DdRF1trH.js b/assets/expat_src_expat_classes_StackParser.md.DdRF1trH.js new file mode 100644 index 00000000..6ac639df --- /dev/null +++ b/assets/expat_src_expat_classes_StackParser.md.DdRF1trH.js @@ -0,0 +1 @@ +import{_ as a,c as t,a0 as r,o as s}from"./chunks/framework.Cu6dwUeI.js";const m=JSON.parse('{"title":"Class: StackParser","description":"","frontmatter":{},"headers":[],"relativePath":"expat/src/expat/classes/StackParser.md","filePath":"expat/src/expat/classes/StackParser.md","lastUpdated":null}'),c={name:"expat/src/expat/classes/StackParser.md"};function o(n,e,l,h,d,i){return s(),t("div",null,e[0]||(e[0]=[r('

@hpcc-js/wasm-rootDocs


Class: StackParser

Implements

Constructors

new StackParser()

new StackParser(): StackParser

Returns

StackParser

Methods

parse()

parse(xml): Promise<boolean>

Parameters

xml: string

Returns

Promise<boolean>

Defined in

expat/src/expat.ts:132


top()

top(): StackElement

Returns

StackElement

Defined in

expat/src/expat.ts:137


startElement()

startElement(tag, attrs): StackElement

Parameters

tag: string

attrs: Attributes

Returns

StackElement

Implementation of

IParser.startElement

Defined in

expat/src/expat.ts:141


endElement()

endElement(_tag): StackElement

Parameters

_tag: string

Returns

StackElement

Implementation of

IParser.endElement

Defined in

expat/src/expat.ts:147


characterData()

characterData(content): void

Parameters

content: string

Returns

void

Implementation of

IParser.characterData

Defined in

expat/src/expat.ts:151

',60)]))}const f=a(c,[["render",o]]);export{m as __pageData,f as default}; diff --git a/assets/expat_src_expat_classes_StackParser.md.DdRF1trH.lean.js b/assets/expat_src_expat_classes_StackParser.md.DdRF1trH.lean.js new file mode 100644 index 00000000..6ac639df --- /dev/null +++ b/assets/expat_src_expat_classes_StackParser.md.DdRF1trH.lean.js @@ -0,0 +1 @@ +import{_ as a,c as t,a0 as r,o as s}from"./chunks/framework.Cu6dwUeI.js";const m=JSON.parse('{"title":"Class: StackParser","description":"","frontmatter":{},"headers":[],"relativePath":"expat/src/expat/classes/StackParser.md","filePath":"expat/src/expat/classes/StackParser.md","lastUpdated":null}'),c={name:"expat/src/expat/classes/StackParser.md"};function o(n,e,l,h,d,i){return s(),t("div",null,e[0]||(e[0]=[r('

@hpcc-js/wasm-rootDocs


Class: StackParser

Implements

Constructors

new StackParser()

new StackParser(): StackParser

Returns

StackParser

Methods

parse()

parse(xml): Promise<boolean>

Parameters

xml: string

Returns

Promise<boolean>

Defined in

expat/src/expat.ts:132


top()

top(): StackElement

Returns

StackElement

Defined in

expat/src/expat.ts:137


startElement()

startElement(tag, attrs): StackElement

Parameters

tag: string

attrs: Attributes

Returns

StackElement

Implementation of

IParser.startElement

Defined in

expat/src/expat.ts:141


endElement()

endElement(_tag): StackElement

Parameters

_tag: string

Returns

StackElement

Implementation of

IParser.endElement

Defined in

expat/src/expat.ts:147


characterData()

characterData(content): void

Parameters

content: string

Returns

void

Implementation of

IParser.characterData

Defined in

expat/src/expat.ts:151

',60)]))}const f=a(c,[["render",o]]);export{m as __pageData,f as default}; diff --git a/assets/expat_src_expat_interfaces_IParser.md.APlKBXlx.js b/assets/expat_src_expat_interfaces_IParser.md.APlKBXlx.js new file mode 100644 index 00000000..31dc3031 --- /dev/null +++ b/assets/expat_src_expat_interfaces_IParser.md.APlKBXlx.js @@ -0,0 +1 @@ +import{_ as a,c as t,a0 as r,o as s}from"./chunks/framework.Cu6dwUeI.js";const m=JSON.parse('{"title":"Interface: IParser","description":"","frontmatter":{},"headers":[],"relativePath":"expat/src/expat/interfaces/IParser.md","filePath":"expat/src/expat/interfaces/IParser.md","lastUpdated":null}'),o={name:"expat/src/expat/interfaces/IParser.md"};function n(c,e,d,i,h,l){return s(),t("div",null,e[0]||(e[0]=[r('

@hpcc-js/wasm-rootDocs


Interface: IParser

Methods

startElement()

startElement(tag, attrs): void

Parameters

tag: string

attrs: Attributes

Returns

void

Defined in

expat/src/expat.ts:6


endElement()

endElement(tag): void

Parameters

tag: string

Returns

void

Defined in

expat/src/expat.ts:7


characterData()

characterData(content): void

Parameters

content: string

Returns

void

Defined in

expat/src/expat.ts:8

',31)]))}const b=a(o,[["render",n]]);export{m as __pageData,b as default}; diff --git a/assets/expat_src_expat_interfaces_IParser.md.APlKBXlx.lean.js b/assets/expat_src_expat_interfaces_IParser.md.APlKBXlx.lean.js new file mode 100644 index 00000000..31dc3031 --- /dev/null +++ b/assets/expat_src_expat_interfaces_IParser.md.APlKBXlx.lean.js @@ -0,0 +1 @@ +import{_ as a,c as t,a0 as r,o as s}from"./chunks/framework.Cu6dwUeI.js";const m=JSON.parse('{"title":"Interface: IParser","description":"","frontmatter":{},"headers":[],"relativePath":"expat/src/expat/interfaces/IParser.md","filePath":"expat/src/expat/interfaces/IParser.md","lastUpdated":null}'),o={name:"expat/src/expat/interfaces/IParser.md"};function n(c,e,d,i,h,l){return s(),t("div",null,e[0]||(e[0]=[r('

@hpcc-js/wasm-rootDocs


Interface: IParser

Methods

startElement()

startElement(tag, attrs): void

Parameters

tag: string

attrs: Attributes

Returns

void

Defined in

expat/src/expat.ts:6


endElement()

endElement(tag): void

Parameters

tag: string

Returns

void

Defined in

expat/src/expat.ts:7


characterData()

characterData(content): void

Parameters

content: string

Returns

void

Defined in

expat/src/expat.ts:8

',31)]))}const b=a(o,[["render",n]]);export{m as __pageData,b as default}; diff --git a/assets/expat_src_expat_type-aliases_Attributes.md.CFOlmGfl.js b/assets/expat_src_expat_type-aliases_Attributes.md.CFOlmGfl.js new file mode 100644 index 00000000..c464f79e --- /dev/null +++ b/assets/expat_src_expat_type-aliases_Attributes.md.CFOlmGfl.js @@ -0,0 +1 @@ +import{_ as t,c as a,a0 as s,o as r}from"./chunks/framework.Cu6dwUeI.js";const h=JSON.parse('{"title":"Type Alias: Attributes","description":"","frontmatter":{},"headers":[],"relativePath":"expat/src/expat/type-aliases/Attributes.md","filePath":"expat/src/expat/type-aliases/Attributes.md","lastUpdated":null}'),i={name:"expat/src/expat/type-aliases/Attributes.md"};function o(n,e,c,d,p,l){return r(),a("div",null,e[0]||(e[0]=[s('

@hpcc-js/wasm-rootDocs


Type Alias: Attributes

Attributes: object

Index Signature

[key: string]: string

Defined in

expat/src/expat.ts:4

',8)]))}const b=t(i,[["render",o]]);export{h as __pageData,b as default}; diff --git a/assets/expat_src_expat_type-aliases_Attributes.md.CFOlmGfl.lean.js b/assets/expat_src_expat_type-aliases_Attributes.md.CFOlmGfl.lean.js new file mode 100644 index 00000000..c464f79e --- /dev/null +++ b/assets/expat_src_expat_type-aliases_Attributes.md.CFOlmGfl.lean.js @@ -0,0 +1 @@ +import{_ as t,c as a,a0 as s,o as r}from"./chunks/framework.Cu6dwUeI.js";const h=JSON.parse('{"title":"Type Alias: Attributes","description":"","frontmatter":{},"headers":[],"relativePath":"expat/src/expat/type-aliases/Attributes.md","filePath":"expat/src/expat/type-aliases/Attributes.md","lastUpdated":null}'),i={name:"expat/src/expat/type-aliases/Attributes.md"};function o(n,e,c,d,p,l){return r(),a("div",null,e[0]||(e[0]=[s('

@hpcc-js/wasm-rootDocs


Type Alias: Attributes

Attributes: object

Index Signature

[key: string]: string

Defined in

expat/src/expat.ts:4

',8)]))}const b=t(i,[["render",o]]);export{h as __pageData,b as default}; diff --git a/assets/getting-started.md.DXtGWebB.js b/assets/getting-started.md.DXtGWebB.js new file mode 100644 index 00000000..d4a5449b --- /dev/null +++ b/assets/getting-started.md.DXtGWebB.js @@ -0,0 +1,48 @@ +import{_ as i,c as a,a0 as n,o as t}from"./chunks/framework.Cu6dwUeI.js";const g=JSON.parse('{"title":"Getting Started","description":"","frontmatter":{},"headers":[],"relativePath":"getting-started.md","filePath":"getting-started.md","lastUpdated":1730794083000}'),h={name:"getting-started.md"};function l(k,s,p,e,r,E){return t(),a("div",null,s[0]||(s[0]=[n(`

Getting Started

Installation

By default @hpcc-js/wasm is a modern JavaScript Module (ESM) package, for convenience it also includes Universal Module Definition (UMD) bundles which can be loaded in older browser / build environments.

NPM

The simplest way to include this project is via NPM:

sh
npm install --save @hpcc-js/wasm

It can then be referenced within your source code:

ts
import { Base91, Graphviz, Zstd } from "@hpcc-js/wasm";
+
+// Graphviz  ---
+async function dot2svg() {
+    const graphviz = await Graphviz.load();
+    console.log("svg:  ", graphviz.dot('digraph G { Hello -> World }'));
+}
+
+dot2svg();
+
+// Base91 + Zstd ---
+const text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi.  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi.";
+const data = new TextEncoder().encode(text);
+
+async function compressDecompress() {
+    const zstd = await Zstd.load();
+    const compressed_data = zstd.compress(data);
+    const base91 = await Base91.load();
+    const base91Str = base91.encode(compressed_data);
+
+    const compressed_data2 = base91.decode(base91Str);
+    const data2 = zstd.decompress(compressed_data2);
+    const text2 = new TextDecoder().decode(data2);
+
+    console.log("Text Length:  ", text.length);
+    console.log("Compressed Length:  ", compressed_data.length);
+    console.log("Base91 Length:  ", base91Str.length);
+    console.log("Passed:  ", text === text2);
+}
+
+compressDecompress();

Vanilla HTML

Alternatively the @hpcc-js/wasm package can be imported directly within the html page, using a NPM CDN server like unpkg or jsdelivr.

For modern browsers and import:

html
<script type="module">
+    import { Graphviz } from "https://cdn.jsdelivr.net/npm/@hpcc-js/wasm/dist/graphviz.js";
+
+    const graphviz = await Graphviz.load();
+    const dot = "digraph G { Hello -> World }";
+    const svg = graphviz.dot(dot);
+    const div = document.getElementById("placeholder");
+    div.innerHTML = graphviz.layout(dot, "svg", "dot");
+</script>

For legacy environments you can load the UMD packages:

html
<script src="https://cdn.jsdelivr.net/npm/@hpcc-js/wasm/dist/graphviz.umd.js"></script>
+<script>
+    var hpccWasm = window["@hpcc-js/wasm"];
+    hpccWasm.Graphviz.load().then(graphviz => {
+        var dot = "digraph G { Hello -> World }";
+        var svg = graphviz.dot(dot);
+        var div = document.getElementById("placeholder");
+        div.innerHTML = graphviz.layout(dot, "svg", "dot");
+    });
+</script>
`,14)]))}const y=i(h,[["render",l]]);export{g as __pageData,y as default}; diff --git a/assets/getting-started.md.DXtGWebB.lean.js b/assets/getting-started.md.DXtGWebB.lean.js new file mode 100644 index 00000000..d4a5449b --- /dev/null +++ b/assets/getting-started.md.DXtGWebB.lean.js @@ -0,0 +1,48 @@ +import{_ as i,c as a,a0 as n,o as t}from"./chunks/framework.Cu6dwUeI.js";const g=JSON.parse('{"title":"Getting Started","description":"","frontmatter":{},"headers":[],"relativePath":"getting-started.md","filePath":"getting-started.md","lastUpdated":1730794083000}'),h={name:"getting-started.md"};function l(k,s,p,e,r,E){return t(),a("div",null,s[0]||(s[0]=[n(`

Getting Started

Installation

By default @hpcc-js/wasm is a modern JavaScript Module (ESM) package, for convenience it also includes Universal Module Definition (UMD) bundles which can be loaded in older browser / build environments.

NPM

The simplest way to include this project is via NPM:

sh
npm install --save @hpcc-js/wasm

It can then be referenced within your source code:

ts
import { Base91, Graphviz, Zstd } from "@hpcc-js/wasm";
+
+// Graphviz  ---
+async function dot2svg() {
+    const graphviz = await Graphviz.load();
+    console.log("svg:  ", graphviz.dot('digraph G { Hello -> World }'));
+}
+
+dot2svg();
+
+// Base91 + Zstd ---
+const text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi.  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi.";
+const data = new TextEncoder().encode(text);
+
+async function compressDecompress() {
+    const zstd = await Zstd.load();
+    const compressed_data = zstd.compress(data);
+    const base91 = await Base91.load();
+    const base91Str = base91.encode(compressed_data);
+
+    const compressed_data2 = base91.decode(base91Str);
+    const data2 = zstd.decompress(compressed_data2);
+    const text2 = new TextDecoder().decode(data2);
+
+    console.log("Text Length:  ", text.length);
+    console.log("Compressed Length:  ", compressed_data.length);
+    console.log("Base91 Length:  ", base91Str.length);
+    console.log("Passed:  ", text === text2);
+}
+
+compressDecompress();

Vanilla HTML

Alternatively the @hpcc-js/wasm package can be imported directly within the html page, using a NPM CDN server like unpkg or jsdelivr.

For modern browsers and import:

html
<script type="module">
+    import { Graphviz } from "https://cdn.jsdelivr.net/npm/@hpcc-js/wasm/dist/graphviz.js";
+
+    const graphviz = await Graphviz.load();
+    const dot = "digraph G { Hello -> World }";
+    const svg = graphviz.dot(dot);
+    const div = document.getElementById("placeholder");
+    div.innerHTML = graphviz.layout(dot, "svg", "dot");
+</script>

For legacy environments you can load the UMD packages:

html
<script src="https://cdn.jsdelivr.net/npm/@hpcc-js/wasm/dist/graphviz.umd.js"></script>
+<script>
+    var hpccWasm = window["@hpcc-js/wasm"];
+    hpccWasm.Graphviz.load().then(graphviz => {
+        var dot = "digraph G { Hello -> World }";
+        var svg = graphviz.dot(dot);
+        var div = document.getElementById("placeholder");
+        div.innerHTML = graphviz.layout(dot, "svg", "dot");
+    });
+</script>
`,14)]))}const y=i(h,[["render",l]]);export{g as __pageData,y as default}; diff --git a/assets/graphviz-cli.md.B9wSRzWZ.js b/assets/graphviz-cli.md.B9wSRzWZ.js new file mode 100644 index 00000000..3222df98 --- /dev/null +++ b/assets/graphviz-cli.md.B9wSRzWZ.js @@ -0,0 +1,36 @@ +import{_ as i,c as a,a0 as h,o as n}from"./chunks/framework.Cu6dwUeI.js";const g=JSON.parse('{"title":"Command Line Interface","description":"","frontmatter":{},"headers":[],"relativePath":"graphviz-cli.md","filePath":"graphviz-cli.md","lastUpdated":1730794083000}'),k={name:"graphviz-cli.md"};function t(p,s,l,F,e,d){return n(),a("div",null,s[0]||(s[0]=[h(`

Command Line Interface

To call dot-wasm without installing:

sh
npx -p @hpcc-js/wasm dot-wasm [options] fileOrDot

To install the global command dot-wasm via NPM:

sh
npm install --global @hpcc-js/wasm

Usage:

sh
Usage: dot-wasm [options] fileOrDot
+
+Options:
+      --version      Show version number                               [boolean]
+  -K, --layout       Set layout engine (circo | dot | fdp | sfdp | neato | osage
+                     | patchwork | twopi | nop | nop2). By default, dot is used.
+  -T, --format       Set output language to one of the supported formats (svg,
+                     dot, json, dot_json, xdot_json, plain, plain-ext). By
+                     default, svg is produced.
+  -n, --neato-no-op  Sets no-op flag in neato.
+                     "-n 1" assumes neato nodes have already been positioned and
+                     all nodes have a pos attribute giving the positions. It
+                     then performs an optional adjustment to remove node-node
+                     overlap, depending on the value of the overlap attribute,
+                     computes the edge layouts, depending on the value of the
+                     splines attribute, and emits the graph in the appropriate
+                     format.
+                     "-n 2" Use node positions as specified, with no adjustment
+                     to remove node-node overlaps, and use any edge layouts
+                     already specified by the pos attribute. neato computes an
+                     edge layout for any edge that does not have a pos
+                     attribute. As usual, edge layout is guided by the splines
+                     attribute.
+  -y, --invert-y     By default, the coordinate system used in generic output
+                     formats, such as attributed dot, extended dot, plain and
+                     plain-ext, is the standard cartesian system with the origin
+                     in the lower left corner, and with increasing y coordinates
+                     as points move from bottom to top. If the -y flag is used,
+                     the coordinate system is inverted, so that increasing
+                     values of y correspond to movement from top to bottom.
+  -v                 Echo GraphViz library version
+  -h, --help         Show help                                         [boolean]
+
+Examples:
+  dot-wasm -K neato -T xdot ./input.dot  Execute NEATO layout and outputs XDOT
+                                         format.
`,7)]))}const y=i(k,[["render",t]]);export{g as __pageData,y as default}; diff --git a/assets/graphviz-cli.md.B9wSRzWZ.lean.js b/assets/graphviz-cli.md.B9wSRzWZ.lean.js new file mode 100644 index 00000000..3222df98 --- /dev/null +++ b/assets/graphviz-cli.md.B9wSRzWZ.lean.js @@ -0,0 +1,36 @@ +import{_ as i,c as a,a0 as h,o as n}from"./chunks/framework.Cu6dwUeI.js";const g=JSON.parse('{"title":"Command Line Interface","description":"","frontmatter":{},"headers":[],"relativePath":"graphviz-cli.md","filePath":"graphviz-cli.md","lastUpdated":1730794083000}'),k={name:"graphviz-cli.md"};function t(p,s,l,F,e,d){return n(),a("div",null,s[0]||(s[0]=[h(`

Command Line Interface

To call dot-wasm without installing:

sh
npx -p @hpcc-js/wasm dot-wasm [options] fileOrDot

To install the global command dot-wasm via NPM:

sh
npm install --global @hpcc-js/wasm

Usage:

sh
Usage: dot-wasm [options] fileOrDot
+
+Options:
+      --version      Show version number                               [boolean]
+  -K, --layout       Set layout engine (circo | dot | fdp | sfdp | neato | osage
+                     | patchwork | twopi | nop | nop2). By default, dot is used.
+  -T, --format       Set output language to one of the supported formats (svg,
+                     dot, json, dot_json, xdot_json, plain, plain-ext). By
+                     default, svg is produced.
+  -n, --neato-no-op  Sets no-op flag in neato.
+                     "-n 1" assumes neato nodes have already been positioned and
+                     all nodes have a pos attribute giving the positions. It
+                     then performs an optional adjustment to remove node-node
+                     overlap, depending on the value of the overlap attribute,
+                     computes the edge layouts, depending on the value of the
+                     splines attribute, and emits the graph in the appropriate
+                     format.
+                     "-n 2" Use node positions as specified, with no adjustment
+                     to remove node-node overlaps, and use any edge layouts
+                     already specified by the pos attribute. neato computes an
+                     edge layout for any edge that does not have a pos
+                     attribute. As usual, edge layout is guided by the splines
+                     attribute.
+  -y, --invert-y     By default, the coordinate system used in generic output
+                     formats, such as attributed dot, extended dot, plain and
+                     plain-ext, is the standard cartesian system with the origin
+                     in the lower left corner, and with increasing y coordinates
+                     as points move from bottom to top. If the -y flag is used,
+                     the coordinate system is inverted, so that increasing
+                     values of y correspond to movement from top to bottom.
+  -v                 Echo GraphViz library version
+  -h, --help         Show help                                         [boolean]
+
+Examples:
+  dot-wasm -K neato -T xdot ./input.dot  Execute NEATO layout and outputs XDOT
+                                         format.
`,7)]))}const y=i(k,[["render",t]]);export{g as __pageData,y as default}; diff --git a/assets/graphviz_src_graphviz_README.md.7cGMhimQ.js b/assets/graphviz_src_graphviz_README.md.7cGMhimQ.js new file mode 100644 index 00000000..20785edb --- /dev/null +++ b/assets/graphviz_src_graphviz_README.md.7cGMhimQ.js @@ -0,0 +1 @@ +import{_ as r,c as e,a0 as s,o as i}from"./chunks/framework.Cu6dwUeI.js";const m=JSON.parse('{"title":"graphviz/src/graphviz","description":"","frontmatter":{},"headers":[],"relativePath":"graphviz/src/graphviz/README.md","filePath":"graphviz/src/graphviz/README.md","lastUpdated":null}'),h={name:"graphviz/src/graphviz/README.md"};function t(l,a,c,p,n,o){return i(),e("div",null,a[0]||(a[0]=[s('

@hpcc-js/wasm-rootDocs


graphviz/src/graphviz

Index

Classes

Interfaces

Type Aliases

',10)]))}const d=r(h,[["render",t]]);export{m as __pageData,d as default}; diff --git a/assets/graphviz_src_graphviz_README.md.7cGMhimQ.lean.js b/assets/graphviz_src_graphviz_README.md.7cGMhimQ.lean.js new file mode 100644 index 00000000..20785edb --- /dev/null +++ b/assets/graphviz_src_graphviz_README.md.7cGMhimQ.lean.js @@ -0,0 +1 @@ +import{_ as r,c as e,a0 as s,o as i}from"./chunks/framework.Cu6dwUeI.js";const m=JSON.parse('{"title":"graphviz/src/graphviz","description":"","frontmatter":{},"headers":[],"relativePath":"graphviz/src/graphviz/README.md","filePath":"graphviz/src/graphviz/README.md","lastUpdated":null}'),h={name:"graphviz/src/graphviz/README.md"};function t(l,a,c,p,n,o){return i(),e("div",null,a[0]||(a[0]=[s('

@hpcc-js/wasm-rootDocs


graphviz/src/graphviz

Index

Classes

Interfaces

Type Aliases

',10)]))}const d=r(h,[["render",t]]);export{m as __pageData,d as default}; diff --git a/assets/graphviz_src_graphviz_classes_Graphviz.md.CMJU0z53.js b/assets/graphviz_src_graphviz_classes_Graphviz.md.CMJU0z53.js new file mode 100644 index 00000000..5eb5d724 --- /dev/null +++ b/assets/graphviz_src_graphviz_classes_Graphviz.md.CMJU0z53.js @@ -0,0 +1,6 @@ +import{_ as a,c as t,a0 as o,o as r}from"./chunks/framework.Cu6dwUeI.js";const u=JSON.parse('{"title":"Class: Graphviz","description":"","frontmatter":{},"headers":[],"relativePath":"graphviz/src/graphviz/classes/Graphviz.md","filePath":"graphviz/src/graphviz/classes/Graphviz.md","lastUpdated":null}'),i={name:"graphviz/src/graphviz/classes/Graphviz.md"};function s(n,e,c,d,h,p){return r(),t("div",null,e[0]||(e[0]=[o(`

@hpcc-js/wasm-rootDocs


Class: Graphviz

The Graphviz layout algorithms take descriptions of graphs in a simple text language, and make diagrams in useful formats, such as images and SVG for web pages or display in an interactive graph browser.

Graphviz has many useful features for concrete diagrams, such as options for colors, fonts, tabular node layouts, line styles, hyperlinks, and custom shapes.

See graphviz.org for more details.

ts
import { Graphviz } from "@hpcc-js/wasm/graphviz";
+
+const graphviz = await Graphviz.load();
+
+const dot = "digraph G { Hello -> World }";
+const svg = graphviz.dot(dot);

Online Demos

Methods

load()

static load(): Promise<Graphviz>

Compiles and instantiates the raw wasm.

INFO

In general WebAssembly compilation is disallowed on the main thread if the buffer size is larger than 4KB, hence forcing load to be asynchronous;

Returns

Promise<Graphviz>

A promise to an instance of the Graphviz class.

Defined in

graphviz/src/graphviz.ts:107


unload()

static unload(): void

Unloades the compiled wasm instance.

Returns

void

Defined in

graphviz/src/graphviz.ts:116


version()

version(): string

Returns

string

The Graphviz c++ version

Defined in

graphviz/src/graphviz.ts:123


layout()

layout(dotSource, outputFormat, layoutEngine, options?): string

Performs layout for the supplied dotSource, see The DOT Language for specification.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

layoutEngine: Engine = "dot"

The type of layout to perform.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:136


acyclic()

acyclic(dotSource, doWrite, verbose): object

acyclic is a filter that takes a directed graph as input and outputs a copy of the graph with sufficient edges reversed to make the graph acyclic. The reversed edge inherits all of the attributes of the original edge. The optional file argument specifies where the input graph is stored; by default.

Parameters

dotSource: string

Required - graph definition in DOT language

doWrite: boolean = false

Enable output is produced, though the return value will indicate whether the graph is acyclic or not.

verbose: boolean = false

Print information about whether the file is acyclic, has a cycle or is undirected.

Returns

object

{ acyclic: boolean, num_rev: number, outFile: string } acyclic will be true if a cycle was found, num_rev will contain the number of reversed edges and outFile will (optionally) contain the output.

acyclic

acyclic: boolean

num_rev

num_rev: number

outFile

outFile: string

Defined in

graphviz/src/graphviz.ts:167


tred()

tred(dotSource, verbose, printRemovedEdges): object

tred computes the transitive reduction of directed graphs, and prints the resulting graphs to standard output. This removes edges implied by transitivity. Nodes and subgraphs are not otherwise affected. The ‘‘meaning’’ and validity of the reduced graphs is application dependent. tred is particularly useful as a preprocessor to dot to reduce clutter in dense layouts. Undirected graphs are silently ignored.

Parameters

dotSource: string

Required - graph definition in DOT language

verbose: boolean = false

Print additional information.

printRemovedEdges: boolean = false

Print information about removed edges.

Returns

object

{ out: string, err: string }.

out

out: string

err

err: string

Defined in

graphviz/src/graphviz.ts:201


unflatten()

unflatten(dotSource, maxMinlen, do_fans, chainLimit): string

unflatten is a preprocessor to dot that is used to improve the aspect ratio of graphs having many leaves or disconnected nodes. The usual layout for such a graph is generally very wide or tall. unflatten inserts invisible edges or adjusts the minlen on edges to improve layout compaction.

Parameters

dotSource: string

Required - graph definition in DOT language

maxMinlen: number = 0

The minimum length of leaf edges is staggered between 1 and len (a small integer).

do_fans: boolean = false

Enables the staggering of the -maxMinlen option to fanout nodes whose indegree and outdegree are both 1. This helps with structures such as a -> {w x y } -> b. This option only works if the -maxMinlen flag is set.

chainLimit: number = 0

Form disconnected nodes into chains of up to len nodes.

Returns

string

A string containing the "unflattened" dotSource.

Defined in

graphviz/src/graphviz.ts:235


circo()

circo(dotSource, outputFormat, options?): string

Convenience function that performs the circo layout, is equivalent to layout(dotSource, outputFormat, "circo");.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:265


dot()

dot(dotSource, outputFormat, options?): string

Convenience function that performs the dot layout, is equivalent to layout(dotSource, outputFormat, "dot");.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:277


fdp()

fdp(dotSource, outputFormat, options?): string

Convenience function that performs the fdp layout, is equivalent to layout(dotSource, outputFormat, "fdp");.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:289


sfdp()

sfdp(dotSource, outputFormat, options?): string

Convenience function that performs the sfdp layout, is equivalent to layout(dotSource, outputFormat, "sfdp");.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:301


neato()

neato(dotSource, outputFormat, options?): string

Convenience function that performs the neato layout, is equivalent to layout(dotSource, outputFormat, "neato");.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:313


osage()

osage(dotSource, outputFormat, options?): string

Convenience function that performs the osage layout, is equivalent to layout(dotSource, outputFormat, "osage");.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:325


patchwork()

patchwork(dotSource, outputFormat, options?): string

Convenience function that performs the patchwork layout, is equivalent to layout(dotSource, outputFormat, "patchwork");.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:337


twopi()

twopi(dotSource, outputFormat, options?): string

Convenience function that performs the twopi layout, is equivalent to layout(dotSource, outputFormat, "twopi");.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:349


nop()

nop(dotSource): string

Convenience function that performs the nop layout, is equivalent to layout(dotSource, "dot", "nop");.

Parameters

dotSource: string

Required - graph definition in DOT language

Returns

string

A string containing the "pretty printed" dotSource.

Defined in

graphviz/src/graphviz.ts:359


nop2()

nop2(dotSource): string

Convenience function that performs the nop2 layout, is equivalent to layout(dotSource, "dot", "nop2");.

Parameters

dotSource: string

Required - graph definition in DOT language

Returns

string

A string containing the "pretty printed" dotSource.

Defined in

graphviz/src/graphviz.ts:369

`,265)]))}const g=a(i,[["render",s]]);export{u as __pageData,g as default}; diff --git a/assets/graphviz_src_graphviz_classes_Graphviz.md.CMJU0z53.lean.js b/assets/graphviz_src_graphviz_classes_Graphviz.md.CMJU0z53.lean.js new file mode 100644 index 00000000..5eb5d724 --- /dev/null +++ b/assets/graphviz_src_graphviz_classes_Graphviz.md.CMJU0z53.lean.js @@ -0,0 +1,6 @@ +import{_ as a,c as t,a0 as o,o as r}from"./chunks/framework.Cu6dwUeI.js";const u=JSON.parse('{"title":"Class: Graphviz","description":"","frontmatter":{},"headers":[],"relativePath":"graphviz/src/graphviz/classes/Graphviz.md","filePath":"graphviz/src/graphviz/classes/Graphviz.md","lastUpdated":null}'),i={name:"graphviz/src/graphviz/classes/Graphviz.md"};function s(n,e,c,d,h,p){return r(),t("div",null,e[0]||(e[0]=[o(`

@hpcc-js/wasm-rootDocs


Class: Graphviz

The Graphviz layout algorithms take descriptions of graphs in a simple text language, and make diagrams in useful formats, such as images and SVG for web pages or display in an interactive graph browser.

Graphviz has many useful features for concrete diagrams, such as options for colors, fonts, tabular node layouts, line styles, hyperlinks, and custom shapes.

See graphviz.org for more details.

ts
import { Graphviz } from "@hpcc-js/wasm/graphviz";
+
+const graphviz = await Graphviz.load();
+
+const dot = "digraph G { Hello -> World }";
+const svg = graphviz.dot(dot);

Online Demos

Methods

load()

static load(): Promise<Graphviz>

Compiles and instantiates the raw wasm.

INFO

In general WebAssembly compilation is disallowed on the main thread if the buffer size is larger than 4KB, hence forcing load to be asynchronous;

Returns

Promise<Graphviz>

A promise to an instance of the Graphviz class.

Defined in

graphviz/src/graphviz.ts:107


unload()

static unload(): void

Unloades the compiled wasm instance.

Returns

void

Defined in

graphviz/src/graphviz.ts:116


version()

version(): string

Returns

string

The Graphviz c++ version

Defined in

graphviz/src/graphviz.ts:123


layout()

layout(dotSource, outputFormat, layoutEngine, options?): string

Performs layout for the supplied dotSource, see The DOT Language for specification.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

layoutEngine: Engine = "dot"

The type of layout to perform.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:136


acyclic()

acyclic(dotSource, doWrite, verbose): object

acyclic is a filter that takes a directed graph as input and outputs a copy of the graph with sufficient edges reversed to make the graph acyclic. The reversed edge inherits all of the attributes of the original edge. The optional file argument specifies where the input graph is stored; by default.

Parameters

dotSource: string

Required - graph definition in DOT language

doWrite: boolean = false

Enable output is produced, though the return value will indicate whether the graph is acyclic or not.

verbose: boolean = false

Print information about whether the file is acyclic, has a cycle or is undirected.

Returns

object

{ acyclic: boolean, num_rev: number, outFile: string } acyclic will be true if a cycle was found, num_rev will contain the number of reversed edges and outFile will (optionally) contain the output.

acyclic

acyclic: boolean

num_rev

num_rev: number

outFile

outFile: string

Defined in

graphviz/src/graphviz.ts:167


tred()

tred(dotSource, verbose, printRemovedEdges): object

tred computes the transitive reduction of directed graphs, and prints the resulting graphs to standard output. This removes edges implied by transitivity. Nodes and subgraphs are not otherwise affected. The ‘‘meaning’’ and validity of the reduced graphs is application dependent. tred is particularly useful as a preprocessor to dot to reduce clutter in dense layouts. Undirected graphs are silently ignored.

Parameters

dotSource: string

Required - graph definition in DOT language

verbose: boolean = false

Print additional information.

printRemovedEdges: boolean = false

Print information about removed edges.

Returns

object

{ out: string, err: string }.

out

out: string

err

err: string

Defined in

graphviz/src/graphviz.ts:201


unflatten()

unflatten(dotSource, maxMinlen, do_fans, chainLimit): string

unflatten is a preprocessor to dot that is used to improve the aspect ratio of graphs having many leaves or disconnected nodes. The usual layout for such a graph is generally very wide or tall. unflatten inserts invisible edges or adjusts the minlen on edges to improve layout compaction.

Parameters

dotSource: string

Required - graph definition in DOT language

maxMinlen: number = 0

The minimum length of leaf edges is staggered between 1 and len (a small integer).

do_fans: boolean = false

Enables the staggering of the -maxMinlen option to fanout nodes whose indegree and outdegree are both 1. This helps with structures such as a -> {w x y } -> b. This option only works if the -maxMinlen flag is set.

chainLimit: number = 0

Form disconnected nodes into chains of up to len nodes.

Returns

string

A string containing the "unflattened" dotSource.

Defined in

graphviz/src/graphviz.ts:235


circo()

circo(dotSource, outputFormat, options?): string

Convenience function that performs the circo layout, is equivalent to layout(dotSource, outputFormat, "circo");.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:265


dot()

dot(dotSource, outputFormat, options?): string

Convenience function that performs the dot layout, is equivalent to layout(dotSource, outputFormat, "dot");.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:277


fdp()

fdp(dotSource, outputFormat, options?): string

Convenience function that performs the fdp layout, is equivalent to layout(dotSource, outputFormat, "fdp");.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:289


sfdp()

sfdp(dotSource, outputFormat, options?): string

Convenience function that performs the sfdp layout, is equivalent to layout(dotSource, outputFormat, "sfdp");.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:301


neato()

neato(dotSource, outputFormat, options?): string

Convenience function that performs the neato layout, is equivalent to layout(dotSource, outputFormat, "neato");.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:313


osage()

osage(dotSource, outputFormat, options?): string

Convenience function that performs the osage layout, is equivalent to layout(dotSource, outputFormat, "osage");.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:325


patchwork()

patchwork(dotSource, outputFormat, options?): string

Convenience function that performs the patchwork layout, is equivalent to layout(dotSource, outputFormat, "patchwork");.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:337


twopi()

twopi(dotSource, outputFormat, options?): string

Convenience function that performs the twopi layout, is equivalent to layout(dotSource, outputFormat, "twopi");.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:349


nop()

nop(dotSource): string

Convenience function that performs the nop layout, is equivalent to layout(dotSource, "dot", "nop");.

Parameters

dotSource: string

Required - graph definition in DOT language

Returns

string

A string containing the "pretty printed" dotSource.

Defined in

graphviz/src/graphviz.ts:359


nop2()

nop2(dotSource): string

Convenience function that performs the nop2 layout, is equivalent to layout(dotSource, "dot", "nop2");.

Parameters

dotSource: string

Required - graph definition in DOT language

Returns

string

A string containing the "pretty printed" dotSource.

Defined in

graphviz/src/graphviz.ts:369

`,265)]))}const g=a(i,[["render",s]]);export{u as __pageData,g as default}; diff --git a/assets/graphviz_src_graphviz_interfaces_File.md.B_3EWbmU.js b/assets/graphviz_src_graphviz_interfaces_File.md.B_3EWbmU.js new file mode 100644 index 00000000..f8288d8d --- /dev/null +++ b/assets/graphviz_src_graphviz_interfaces_File.md.B_3EWbmU.js @@ -0,0 +1 @@ +import{_ as e,c as r,a0 as t,o as i}from"./chunks/framework.Cu6dwUeI.js";const f=JSON.parse('{"title":"Interface: File","description":"","frontmatter":{},"headers":[],"relativePath":"graphviz/src/graphviz/interfaces/File.md","filePath":"graphviz/src/graphviz/interfaces/File.md","lastUpdated":null}'),s={name:"graphviz/src/graphviz/interfaces/File.md"};function o(n,a,c,h,d,p){return i(),r("div",null,a[0]||(a[0]=[t('

@hpcc-js/wasm-rootDocs


Interface: File

Properties

path

path: string

Defined in

graphviz/src/graphviz.ts:40


data

data: string

Defined in

graphviz/src/graphviz.ts:41

',13)]))}const g=e(s,[["render",o]]);export{f as __pageData,g as default}; diff --git a/assets/graphviz_src_graphviz_interfaces_File.md.B_3EWbmU.lean.js b/assets/graphviz_src_graphviz_interfaces_File.md.B_3EWbmU.lean.js new file mode 100644 index 00000000..f8288d8d --- /dev/null +++ b/assets/graphviz_src_graphviz_interfaces_File.md.B_3EWbmU.lean.js @@ -0,0 +1 @@ +import{_ as e,c as r,a0 as t,o as i}from"./chunks/framework.Cu6dwUeI.js";const f=JSON.parse('{"title":"Interface: File","description":"","frontmatter":{},"headers":[],"relativePath":"graphviz/src/graphviz/interfaces/File.md","filePath":"graphviz/src/graphviz/interfaces/File.md","lastUpdated":null}'),s={name:"graphviz/src/graphviz/interfaces/File.md"};function o(n,a,c,h,d,p){return i(),r("div",null,a[0]||(a[0]=[t('

@hpcc-js/wasm-rootDocs


Interface: File

Properties

path

path: string

Defined in

graphviz/src/graphviz.ts:40


data

data: string

Defined in

graphviz/src/graphviz.ts:41

',13)]))}const g=e(s,[["render",o]]);export{f as __pageData,g as default}; diff --git a/assets/graphviz_src_graphviz_interfaces_Image.md.CCSkBa0H.js b/assets/graphviz_src_graphviz_interfaces_Image.md.CCSkBa0H.js new file mode 100644 index 00000000..5fe4224a --- /dev/null +++ b/assets/graphviz_src_graphviz_interfaces_Image.md.CCSkBa0H.js @@ -0,0 +1,11 @@ +import{_ as a,c as i,a0 as t,o as e}from"./chunks/framework.Cu6dwUeI.js";const g=JSON.parse('{"title":"Interface: Image","description":"","frontmatter":{},"headers":[],"relativePath":"graphviz/src/graphviz/interfaces/Image.md","filePath":"graphviz/src/graphviz/interfaces/Image.md","lastUpdated":null}'),h={name:"graphviz/src/graphviz/interfaces/Image.md"};function n(p,s,r,l,k,d){return e(),i("div",null,s[0]||(s[0]=[t(`

@hpcc-js/wasm-rootDocs


Interface: Image

Example: Passing a web hosted Image to GraphViz:

ts
import { Graphviz } from "@hpcc-js/wasm-graphviz";
+
+const graphviz = await Graphviz.load();
+const svg = graphviz.layout('digraph { a[image="https://.../image.png"]; }', "svg", "dot", { 
+   images: [{ 
+       path: "https://.../image.png", 
+           width: "272px", 
+           height: "92px" 
+   }] 
+});
+document.getElementById("placeholder").innerHTML = svg;

Properties

path

path: string

Full URL to image

Defined in

graphviz/src/graphviz.ts:34


width

width: string

Defined in

graphviz/src/graphviz.ts:35


height

height: string

Defined in

graphviz/src/graphviz.ts:36

`,21)]))}const c=a(h,[["render",n]]);export{g as __pageData,c as default}; diff --git a/assets/graphviz_src_graphviz_interfaces_Image.md.CCSkBa0H.lean.js b/assets/graphviz_src_graphviz_interfaces_Image.md.CCSkBa0H.lean.js new file mode 100644 index 00000000..5fe4224a --- /dev/null +++ b/assets/graphviz_src_graphviz_interfaces_Image.md.CCSkBa0H.lean.js @@ -0,0 +1,11 @@ +import{_ as a,c as i,a0 as t,o as e}from"./chunks/framework.Cu6dwUeI.js";const g=JSON.parse('{"title":"Interface: Image","description":"","frontmatter":{},"headers":[],"relativePath":"graphviz/src/graphviz/interfaces/Image.md","filePath":"graphviz/src/graphviz/interfaces/Image.md","lastUpdated":null}'),h={name:"graphviz/src/graphviz/interfaces/Image.md"};function n(p,s,r,l,k,d){return e(),i("div",null,s[0]||(s[0]=[t(`

@hpcc-js/wasm-rootDocs


Interface: Image

Example: Passing a web hosted Image to GraphViz:

ts
import { Graphviz } from "@hpcc-js/wasm-graphviz";
+
+const graphviz = await Graphviz.load();
+const svg = graphviz.layout('digraph { a[image="https://.../image.png"]; }', "svg", "dot", { 
+   images: [{ 
+       path: "https://.../image.png", 
+           width: "272px", 
+           height: "92px" 
+   }] 
+});
+document.getElementById("placeholder").innerHTML = svg;

Properties

path

path: string

Full URL to image

Defined in

graphviz/src/graphviz.ts:34


width

width: string

Defined in

graphviz/src/graphviz.ts:35


height

height: string

Defined in

graphviz/src/graphviz.ts:36

`,21)]))}const c=a(h,[["render",n]]);export{g as __pageData,c as default}; diff --git a/assets/graphviz_src_graphviz_interfaces_Options.md.BR8MuxIr.js b/assets/graphviz_src_graphviz_interfaces_Options.md.BR8MuxIr.js new file mode 100644 index 00000000..ed9b7e98 --- /dev/null +++ b/assets/graphviz_src_graphviz_interfaces_Options.md.BR8MuxIr.js @@ -0,0 +1 @@ +import{_ as a,c as r,a0 as t,o as i}from"./chunks/framework.Cu6dwUeI.js";const f=JSON.parse('{"title":"Interface: Options","description":"","frontmatter":{},"headers":[],"relativePath":"graphviz/src/graphviz/interfaces/Options.md","filePath":"graphviz/src/graphviz/interfaces/Options.md","lastUpdated":null}'),o={name:"graphviz/src/graphviz/interfaces/Options.md"};function s(n,e,c,h,p,d){return i(),r("div",null,e[0]||(e[0]=[t('

@hpcc-js/wasm-rootDocs


Interface: Options

Properties

images?

optional images: Image[]

Defined in

graphviz/src/graphviz.ts:45


files?

optional files: File[]

Defined in

graphviz/src/graphviz.ts:46


yInvert?

optional yInvert: boolean

Defined in

graphviz/src/graphviz.ts:47


nop?

optional nop: number

Defined in

graphviz/src/graphviz.ts:48

',23)]))}const b=a(o,[["render",s]]);export{f as __pageData,b as default}; diff --git a/assets/graphviz_src_graphviz_interfaces_Options.md.BR8MuxIr.lean.js b/assets/graphviz_src_graphviz_interfaces_Options.md.BR8MuxIr.lean.js new file mode 100644 index 00000000..ed9b7e98 --- /dev/null +++ b/assets/graphviz_src_graphviz_interfaces_Options.md.BR8MuxIr.lean.js @@ -0,0 +1 @@ +import{_ as a,c as r,a0 as t,o as i}from"./chunks/framework.Cu6dwUeI.js";const f=JSON.parse('{"title":"Interface: Options","description":"","frontmatter":{},"headers":[],"relativePath":"graphviz/src/graphviz/interfaces/Options.md","filePath":"graphviz/src/graphviz/interfaces/Options.md","lastUpdated":null}'),o={name:"graphviz/src/graphviz/interfaces/Options.md"};function s(n,e,c,h,p,d){return i(),r("div",null,e[0]||(e[0]=[t('

@hpcc-js/wasm-rootDocs


Interface: Options

Properties

images?

optional images: Image[]

Defined in

graphviz/src/graphviz.ts:45


files?

optional files: File[]

Defined in

graphviz/src/graphviz.ts:46


yInvert?

optional yInvert: boolean

Defined in

graphviz/src/graphviz.ts:47


nop?

optional nop: number

Defined in

graphviz/src/graphviz.ts:48

',23)]))}const b=a(o,[["render",s]]);export{f as __pageData,b as default}; diff --git a/assets/graphviz_src_graphviz_type-aliases_Engine.md.D6J1ZD-x.js b/assets/graphviz_src_graphviz_type-aliases_Engine.md.D6J1ZD-x.js new file mode 100644 index 00000000..c0a6672f --- /dev/null +++ b/assets/graphviz_src_graphviz_type-aliases_Engine.md.D6J1ZD-x.js @@ -0,0 +1 @@ +import{_ as o,c as a,a0 as t,o as r}from"./chunks/framework.Cu6dwUeI.js";const h=JSON.parse('{"title":"Type Alias: Engine","description":"","frontmatter":{},"headers":[],"relativePath":"graphviz/src/graphviz/type-aliases/Engine.md","filePath":"graphviz/src/graphviz/type-aliases/Engine.md","lastUpdated":null}'),s={name:"graphviz/src/graphviz/type-aliases/Engine.md"};function i(n,e,c,p,d,l){return r(),a("div",null,e[0]||(e[0]=[t('

@hpcc-js/wasm-rootDocs


Type Alias: Engine

Engine: "circo" | "dot" | "fdp" | "sfdp" | "neato" | "osage" | "patchwork" | "twopi" | "nop" | "nop2"

Various algorithms for projecting abstract graphs into a space for visualization. See Layout Engines for more details.

Defined in

graphviz/src/graphviz.ts:12

',7)]))}const u=o(s,[["render",i]]);export{h as __pageData,u as default}; diff --git a/assets/graphviz_src_graphviz_type-aliases_Engine.md.D6J1ZD-x.lean.js b/assets/graphviz_src_graphviz_type-aliases_Engine.md.D6J1ZD-x.lean.js new file mode 100644 index 00000000..c0a6672f --- /dev/null +++ b/assets/graphviz_src_graphviz_type-aliases_Engine.md.D6J1ZD-x.lean.js @@ -0,0 +1 @@ +import{_ as o,c as a,a0 as t,o as r}from"./chunks/framework.Cu6dwUeI.js";const h=JSON.parse('{"title":"Type Alias: Engine","description":"","frontmatter":{},"headers":[],"relativePath":"graphviz/src/graphviz/type-aliases/Engine.md","filePath":"graphviz/src/graphviz/type-aliases/Engine.md","lastUpdated":null}'),s={name:"graphviz/src/graphviz/type-aliases/Engine.md"};function i(n,e,c,p,d,l){return r(),a("div",null,e[0]||(e[0]=[t('

@hpcc-js/wasm-rootDocs


Type Alias: Engine

Engine: "circo" | "dot" | "fdp" | "sfdp" | "neato" | "osage" | "patchwork" | "twopi" | "nop" | "nop2"

Various algorithms for projecting abstract graphs into a space for visualization. See Layout Engines for more details.

Defined in

graphviz/src/graphviz.ts:12

',7)]))}const u=o(s,[["render",i]]);export{h as __pageData,u as default}; diff --git a/assets/graphviz_src_graphviz_type-aliases_Format.md.CIT9mHPv.js b/assets/graphviz_src_graphviz_type-aliases_Format.md.CIT9mHPv.js new file mode 100644 index 00000000..e276f015 --- /dev/null +++ b/assets/graphviz_src_graphviz_type-aliases_Format.md.CIT9mHPv.js @@ -0,0 +1 @@ +import{_ as t,c as o,a0 as e,o as r}from"./chunks/framework.Cu6dwUeI.js";const u=JSON.parse('{"title":"Type Alias: Format","description":"","frontmatter":{},"headers":[],"relativePath":"graphviz/src/graphviz/type-aliases/Format.md","filePath":"graphviz/src/graphviz/type-aliases/Format.md","lastUpdated":null}'),s={name:"graphviz/src/graphviz/type-aliases/Format.md"};function c(i,a,n,d,p,l){return r(),o("div",null,a[0]||(a[0]=[e('

@hpcc-js/wasm-rootDocs


Type Alias: Format

Format: "svg" | "dot" | "json" | "dot_json" | "xdot_json" | "plain" | "plain-ext" | "canon"

Various graphic and data formats for end user, web, documents and other applications. See Output Formats for more information.

Defined in

graphviz/src/graphviz.ts:7

',7)]))}const m=t(s,[["render",c]]);export{u as __pageData,m as default}; diff --git a/assets/graphviz_src_graphviz_type-aliases_Format.md.CIT9mHPv.lean.js b/assets/graphviz_src_graphviz_type-aliases_Format.md.CIT9mHPv.lean.js new file mode 100644 index 00000000..e276f015 --- /dev/null +++ b/assets/graphviz_src_graphviz_type-aliases_Format.md.CIT9mHPv.lean.js @@ -0,0 +1 @@ +import{_ as t,c as o,a0 as e,o as r}from"./chunks/framework.Cu6dwUeI.js";const u=JSON.parse('{"title":"Type Alias: Format","description":"","frontmatter":{},"headers":[],"relativePath":"graphviz/src/graphviz/type-aliases/Format.md","filePath":"graphviz/src/graphviz/type-aliases/Format.md","lastUpdated":null}'),s={name:"graphviz/src/graphviz/type-aliases/Format.md"};function c(i,a,n,d,p,l){return r(),o("div",null,a[0]||(a[0]=[e('

@hpcc-js/wasm-rootDocs


Type Alias: Format

Format: "svg" | "dot" | "json" | "dot_json" | "xdot_json" | "plain" | "plain-ext" | "canon"

Various graphic and data formats for end user, web, documents and other applications. See Output Formats for more information.

Defined in

graphviz/src/graphviz.ts:7

',7)]))}const m=t(s,[["render",c]]);export{u as __pageData,m as default}; diff --git a/assets/index.md.WK7qQMC9.js b/assets/index.md.WK7qQMC9.js new file mode 100644 index 00000000..7ce9afde --- /dev/null +++ b/assets/index.md.WK7qQMC9.js @@ -0,0 +1 @@ +import{_ as s,c as e,o as a}from"./chunks/framework.Cu6dwUeI.js";const p=JSON.parse(`{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"@hpcc-js/wasm","xtext":"Collection of wasm libraries.","tagline":"HPCC Systems WASM Collection.","image":{"light":{"src":"/hpccsystems.png","alt":"HPCC Systems","link":"https://hpccsystems.com/hpcc-systems/hpcc-js-wasm"},"dark":{"src":"/hpccsystemsdark.png","alt":"HPCC Systems","link":"https://hpccsystems.com/hpcc-systems/hpcc-js-wasm"}},"actions":[{"theme":"brand","text":"Get Started","link":"/getting-started"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/hpcc-systems/hpcc-js-wasm"}]},"features":[{"title":"Base 91","details":"Similar to Base 64 but uses more characters resulting in smaller strings.","link":"/base91/src/base91/classes/Base91"},{"title":"DuckDB","details":"DuckDB - a fast in-process analytical database.","link":"/duckdb/src/duckdb/classes/DuckDB"},{"title":"Expat","details":"A popular stream-oriented XML parser library.","link":"/expat/src/expat/classes/Expat"},{"title":"GraphViz","details":"The Graphviz layout algorithms take descriptions of graphs in a simple text language, and make diagrams in useful formats, such as images and SVG for web pages or display in an interactive graph browser.","link":"/graphviz/src/graphviz/classes/Graphviz"},{"title":"Llama","details":"Inference of Meta's LLaMA model (and others) in pure C/C++.","link":"/llama/src/llama/classes/Llama"},{"title":"Zstd","details":"Zstandard is a fast compression algorithm, providing high compression ratios and is backed by an extremely fast decoder.","link":"/zstd/src/zstd/classes/Zstd"}]},"headers":[],"relativePath":"index.md","filePath":"index.md","lastUpdated":1730794083000}`),t={name:"index.md"};function i(r,c,l,n,o,d){return a(),e("div")}const h=s(t,[["render",i]]);export{p as __pageData,h as default}; diff --git a/assets/index.md.WK7qQMC9.lean.js b/assets/index.md.WK7qQMC9.lean.js new file mode 100644 index 00000000..7ce9afde --- /dev/null +++ b/assets/index.md.WK7qQMC9.lean.js @@ -0,0 +1 @@ +import{_ as s,c as e,o as a}from"./chunks/framework.Cu6dwUeI.js";const p=JSON.parse(`{"title":"","description":"","frontmatter":{"layout":"home","hero":{"name":"@hpcc-js/wasm","xtext":"Collection of wasm libraries.","tagline":"HPCC Systems WASM Collection.","image":{"light":{"src":"/hpccsystems.png","alt":"HPCC Systems","link":"https://hpccsystems.com/hpcc-systems/hpcc-js-wasm"},"dark":{"src":"/hpccsystemsdark.png","alt":"HPCC Systems","link":"https://hpccsystems.com/hpcc-systems/hpcc-js-wasm"}},"actions":[{"theme":"brand","text":"Get Started","link":"/getting-started"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/hpcc-systems/hpcc-js-wasm"}]},"features":[{"title":"Base 91","details":"Similar to Base 64 but uses more characters resulting in smaller strings.","link":"/base91/src/base91/classes/Base91"},{"title":"DuckDB","details":"DuckDB - a fast in-process analytical database.","link":"/duckdb/src/duckdb/classes/DuckDB"},{"title":"Expat","details":"A popular stream-oriented XML parser library.","link":"/expat/src/expat/classes/Expat"},{"title":"GraphViz","details":"The Graphviz layout algorithms take descriptions of graphs in a simple text language, and make diagrams in useful formats, such as images and SVG for web pages or display in an interactive graph browser.","link":"/graphviz/src/graphviz/classes/Graphviz"},{"title":"Llama","details":"Inference of Meta's LLaMA model (and others) in pure C/C++.","link":"/llama/src/llama/classes/Llama"},{"title":"Zstd","details":"Zstandard is a fast compression algorithm, providing high compression ratios and is backed by an extremely fast decoder.","link":"/zstd/src/zstd/classes/Zstd"}]},"headers":[],"relativePath":"index.md","filePath":"index.md","lastUpdated":1730794083000}`),t={name:"index.md"};function i(r,c,l,n,o,d){return a(),e("div")}const h=s(t,[["render",i]]);export{p as __pageData,h as default}; diff --git a/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 b/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 new file mode 100644 index 00000000..b6b603d5 Binary files /dev/null and b/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 differ diff --git a/assets/inter-italic-cyrillic.By2_1cv3.woff2 b/assets/inter-italic-cyrillic.By2_1cv3.woff2 new file mode 100644 index 00000000..def40a4f Binary files /dev/null and b/assets/inter-italic-cyrillic.By2_1cv3.woff2 differ diff --git a/assets/inter-italic-greek-ext.1u6EdAuj.woff2 b/assets/inter-italic-greek-ext.1u6EdAuj.woff2 new file mode 100644 index 00000000..e070c3d3 Binary files /dev/null and b/assets/inter-italic-greek-ext.1u6EdAuj.woff2 differ diff --git a/assets/inter-italic-greek.DJ8dCoTZ.woff2 b/assets/inter-italic-greek.DJ8dCoTZ.woff2 new file mode 100644 index 00000000..a3c16ca4 Binary files /dev/null and b/assets/inter-italic-greek.DJ8dCoTZ.woff2 differ diff --git a/assets/inter-italic-latin-ext.CN1xVJS-.woff2 b/assets/inter-italic-latin-ext.CN1xVJS-.woff2 new file mode 100644 index 00000000..2210a899 Binary files /dev/null and b/assets/inter-italic-latin-ext.CN1xVJS-.woff2 differ diff --git a/assets/inter-italic-latin.C2AdPX0b.woff2 b/assets/inter-italic-latin.C2AdPX0b.woff2 new file mode 100644 index 00000000..790d62dc Binary files /dev/null and b/assets/inter-italic-latin.C2AdPX0b.woff2 differ diff --git a/assets/inter-italic-vietnamese.BSbpV94h.woff2 b/assets/inter-italic-vietnamese.BSbpV94h.woff2 new file mode 100644 index 00000000..1eec0775 Binary files /dev/null and b/assets/inter-italic-vietnamese.BSbpV94h.woff2 differ diff --git a/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 b/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 new file mode 100644 index 00000000..2cfe6153 Binary files /dev/null and b/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 differ diff --git a/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 b/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 new file mode 100644 index 00000000..e3886dd1 Binary files /dev/null and b/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 differ diff --git a/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 b/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 new file mode 100644 index 00000000..36d67487 Binary files /dev/null and b/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 differ diff --git a/assets/inter-roman-greek.BBVDIX6e.woff2 b/assets/inter-roman-greek.BBVDIX6e.woff2 new file mode 100644 index 00000000..2bed1e85 Binary files /dev/null and b/assets/inter-roman-greek.BBVDIX6e.woff2 differ diff --git a/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 b/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 new file mode 100644 index 00000000..9a8d1e2b Binary files /dev/null and b/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 differ diff --git a/assets/inter-roman-latin.Di8DUHzh.woff2 b/assets/inter-roman-latin.Di8DUHzh.woff2 new file mode 100644 index 00000000..07d3c53a Binary files /dev/null and b/assets/inter-roman-latin.Di8DUHzh.woff2 differ diff --git a/assets/inter-roman-vietnamese.BjW4sHH5.woff2 b/assets/inter-roman-vietnamese.BjW4sHH5.woff2 new file mode 100644 index 00000000..57bdc22a Binary files /dev/null and b/assets/inter-roman-vietnamese.BjW4sHH5.woff2 differ diff --git a/assets/llama_src_llama_README.md.CRbTwk1D.js b/assets/llama_src_llama_README.md.CRbTwk1D.js new file mode 100644 index 00000000..920b2ee3 --- /dev/null +++ b/assets/llama_src_llama_README.md.CRbTwk1D.js @@ -0,0 +1 @@ +import{_ as l,c as s,a0 as e,o as r}from"./chunks/framework.Cu6dwUeI.js";const p=JSON.parse('{"title":"llama/src/llama","description":"","frontmatter":{},"headers":[],"relativePath":"llama/src/llama/README.md","filePath":"llama/src/llama/README.md","lastUpdated":null}'),t={name:"llama/src/llama/README.md"};function c(m,a,o,n,i,d){return r(),s("div",null,a[0]||(a[0]=[e('

@hpcc-js/wasm-rootDocs


llama/src/llama

Index

Classes

',6)]))}const u=l(t,[["render",c]]);export{p as __pageData,u as default}; diff --git a/assets/llama_src_llama_README.md.CRbTwk1D.lean.js b/assets/llama_src_llama_README.md.CRbTwk1D.lean.js new file mode 100644 index 00000000..920b2ee3 --- /dev/null +++ b/assets/llama_src_llama_README.md.CRbTwk1D.lean.js @@ -0,0 +1 @@ +import{_ as l,c as s,a0 as e,o as r}from"./chunks/framework.Cu6dwUeI.js";const p=JSON.parse('{"title":"llama/src/llama","description":"","frontmatter":{},"headers":[],"relativePath":"llama/src/llama/README.md","filePath":"llama/src/llama/README.md","lastUpdated":null}'),t={name:"llama/src/llama/README.md"};function c(m,a,o,n,i,d){return r(),s("div",null,a[0]||(a[0]=[e('

@hpcc-js/wasm-rootDocs


llama/src/llama

Index

Classes

',6)]))}const u=l(t,[["render",c]]);export{p as __pageData,u as default}; diff --git a/assets/llama_src_llama_classes_Llama.md.DejEYr4W.js b/assets/llama_src_llama_classes_Llama.md.DejEYr4W.js new file mode 100644 index 00000000..ab8e42ab --- /dev/null +++ b/assets/llama_src_llama_classes_Llama.md.DejEYr4W.js @@ -0,0 +1,9 @@ +import{_ as s,c as e,a0 as i,o as t}from"./chunks/framework.Cu6dwUeI.js";const k=JSON.parse('{"title":"Class: Llama","description":"","frontmatter":{},"headers":[],"relativePath":"llama/src/llama/classes/Llama.md","filePath":"llama/src/llama/classes/Llama.md","lastUpdated":null}'),l={name:"llama/src/llama/classes/Llama.md"};function n(r,a,h,o,d,p){return t(),e("div",null,a[0]||(a[0]=[i(`

@hpcc-js/wasm-rootDocs


Class: Llama

The llama WASM library, provides a simplified wrapper around the llama.cpp library.

See llama.cpp for more details.

ts
import { Llama, WebBlob } from "@hpcc-js/wasm-llama";
+
+let llama = await Llama.load();
+const model = "https://huggingface.co/CompendiumLabs/bge-base-en-v1.5-gguf/resolve/main/bge-base-en-v1.5-q4_k_m.gguf";
+const webBlob: Blob = await WebBlob.create(new URL(model));
+
+const data: ArrayBuffer = await webBlob.arrayBuffer();
+
+const embeddings = llama.embedding("Hello and Welcome!", new Uint8Array(data));

Methods

load()

static load(): Promise<Llama>

Compiles and instantiates the raw wasm.

INFO

In general WebAssembly compilation is disallowed on the main thread if the buffer size is larger than 4KB, hence forcing load to be asynchronous;

Returns

Promise<Llama>

A promise to an instance of the Llama class.

Defined in

llama/src/llama.ts:41


unload()

static unload(): void

Unloades the compiled wasm instance.

Returns

void

Defined in

llama/src/llama.ts:50


version()

version(): string

Returns

string

The Llama c++ version

Defined in

llama/src/llama.ts:57


embedding()

embedding(text, model, format): number[][]

Calculates the vector representation of the input text.

Parameters

text: string

The input text.

model: Uint8Array

The model to use for the embedding.

format: string = "array"

Returns

number[][]

The embedding of the text using the model.

Defined in

llama/src/llama.ts:69

`,47)]))}const m=s(l,[["render",n]]);export{k as __pageData,m as default}; diff --git a/assets/llama_src_llama_classes_Llama.md.DejEYr4W.lean.js b/assets/llama_src_llama_classes_Llama.md.DejEYr4W.lean.js new file mode 100644 index 00000000..ab8e42ab --- /dev/null +++ b/assets/llama_src_llama_classes_Llama.md.DejEYr4W.lean.js @@ -0,0 +1,9 @@ +import{_ as s,c as e,a0 as i,o as t}from"./chunks/framework.Cu6dwUeI.js";const k=JSON.parse('{"title":"Class: Llama","description":"","frontmatter":{},"headers":[],"relativePath":"llama/src/llama/classes/Llama.md","filePath":"llama/src/llama/classes/Llama.md","lastUpdated":null}'),l={name:"llama/src/llama/classes/Llama.md"};function n(r,a,h,o,d,p){return t(),e("div",null,a[0]||(a[0]=[i(`

@hpcc-js/wasm-rootDocs


Class: Llama

The llama WASM library, provides a simplified wrapper around the llama.cpp library.

See llama.cpp for more details.

ts
import { Llama, WebBlob } from "@hpcc-js/wasm-llama";
+
+let llama = await Llama.load();
+const model = "https://huggingface.co/CompendiumLabs/bge-base-en-v1.5-gguf/resolve/main/bge-base-en-v1.5-q4_k_m.gguf";
+const webBlob: Blob = await WebBlob.create(new URL(model));
+
+const data: ArrayBuffer = await webBlob.arrayBuffer();
+
+const embeddings = llama.embedding("Hello and Welcome!", new Uint8Array(data));

Methods

load()

static load(): Promise<Llama>

Compiles and instantiates the raw wasm.

INFO

In general WebAssembly compilation is disallowed on the main thread if the buffer size is larger than 4KB, hence forcing load to be asynchronous;

Returns

Promise<Llama>

A promise to an instance of the Llama class.

Defined in

llama/src/llama.ts:41


unload()

static unload(): void

Unloades the compiled wasm instance.

Returns

void

Defined in

llama/src/llama.ts:50


version()

version(): string

Returns

string

The Llama c++ version

Defined in

llama/src/llama.ts:57


embedding()

embedding(text, model, format): number[][]

Calculates the vector representation of the input text.

Parameters

text: string

The input text.

model: Uint8Array

The model to use for the embedding.

format: string = "array"

Returns

number[][]

The embedding of the text using the model.

Defined in

llama/src/llama.ts:69

`,47)]))}const m=s(l,[["render",n]]);export{k as __pageData,m as default}; diff --git a/assets/style.B2rP4cJA.css b/assets/style.B2rP4cJA.css new file mode 100644 index 00000000..5456ac69 --- /dev/null +++ b/assets/style.B2rP4cJA.css @@ -0,0 +1 @@ +@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/hpcc-js-wasm/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/hpcc-js-wasm/assets/inter-roman-cyrillic.C5lxZ8CY.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/hpcc-js-wasm/assets/inter-roman-greek-ext.CqjqNYQ-.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/hpcc-js-wasm/assets/inter-roman-greek.BBVDIX6e.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/hpcc-js-wasm/assets/inter-roman-vietnamese.BjW4sHH5.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/hpcc-js-wasm/assets/inter-roman-latin-ext.4ZJIpNVo.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:normal;font-weight:100 900;font-display:swap;src:url(/hpcc-js-wasm/assets/inter-roman-latin.Di8DUHzh.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/hpcc-js-wasm/assets/inter-italic-cyrillic-ext.r48I6akx.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/hpcc-js-wasm/assets/inter-italic-cyrillic.By2_1cv3.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/hpcc-js-wasm/assets/inter-italic-greek-ext.1u6EdAuj.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/hpcc-js-wasm/assets/inter-italic-greek.DJ8dCoTZ.woff2) format("woff2");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/hpcc-js-wasm/assets/inter-italic-vietnamese.BSbpV94h.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/hpcc-js-wasm/assets/inter-italic-latin-ext.CN1xVJS-.woff2) format("woff2");unicode-range:U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter;font-style:italic;font-weight:100 900;font-display:swap;src:url(/hpcc-js-wasm/assets/inter-italic-latin.C2AdPX0b.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Punctuation SC;font-weight:400;src:local("PingFang SC Regular"),local("Noto Sans CJK SC"),local("Microsoft YaHei");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:500;src:local("PingFang SC Medium"),local("Noto Sans CJK SC"),local("Microsoft YaHei");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:600;src:local("PingFang SC Semibold"),local("Noto Sans CJK SC Bold"),local("Microsoft YaHei Bold");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}@font-face{font-family:Punctuation SC;font-weight:700;src:local("PingFang SC Semibold"),local("Noto Sans CJK SC Bold"),local("Microsoft YaHei Bold");unicode-range:U+201C,U+201D,U+2018,U+2019,U+2E3A,U+2014,U+2013,U+2026,U+00B7,U+007E,U+002F}:root{--vp-c-white: #ffffff;--vp-c-black: #000000;--vp-c-neutral: var(--vp-c-black);--vp-c-neutral-inverse: var(--vp-c-white)}.dark{--vp-c-neutral: var(--vp-c-white);--vp-c-neutral-inverse: var(--vp-c-black)}:root{--vp-c-gray-1: #dddde3;--vp-c-gray-2: #e4e4e9;--vp-c-gray-3: #ebebef;--vp-c-gray-soft: rgba(142, 150, 170, .14);--vp-c-indigo-1: #3451b2;--vp-c-indigo-2: #3a5ccc;--vp-c-indigo-3: #5672cd;--vp-c-indigo-soft: rgba(100, 108, 255, .14);--vp-c-purple-1: #6f42c1;--vp-c-purple-2: #7e4cc9;--vp-c-purple-3: #8e5cd9;--vp-c-purple-soft: rgba(159, 122, 234, .14);--vp-c-green-1: #18794e;--vp-c-green-2: #299764;--vp-c-green-3: #30a46c;--vp-c-green-soft: rgba(16, 185, 129, .14);--vp-c-yellow-1: #915930;--vp-c-yellow-2: #946300;--vp-c-yellow-3: #9f6a00;--vp-c-yellow-soft: rgba(234, 179, 8, .14);--vp-c-red-1: #b8272c;--vp-c-red-2: #d5393e;--vp-c-red-3: #e0575b;--vp-c-red-soft: rgba(244, 63, 94, .14);--vp-c-sponsor: #db2777}.dark{--vp-c-gray-1: #515c67;--vp-c-gray-2: #414853;--vp-c-gray-3: #32363f;--vp-c-gray-soft: rgba(101, 117, 133, .16);--vp-c-indigo-1: #a8b1ff;--vp-c-indigo-2: #5c73e7;--vp-c-indigo-3: #3e63dd;--vp-c-indigo-soft: rgba(100, 108, 255, .16);--vp-c-purple-1: #c8abfa;--vp-c-purple-2: #a879e6;--vp-c-purple-3: #8e5cd9;--vp-c-purple-soft: rgba(159, 122, 234, .16);--vp-c-green-1: #3dd68c;--vp-c-green-2: #30a46c;--vp-c-green-3: #298459;--vp-c-green-soft: rgba(16, 185, 129, .16);--vp-c-yellow-1: #f9b44e;--vp-c-yellow-2: #da8b17;--vp-c-yellow-3: #a46a0a;--vp-c-yellow-soft: rgba(234, 179, 8, .16);--vp-c-red-1: #f66f81;--vp-c-red-2: #f14158;--vp-c-red-3: #b62a3c;--vp-c-red-soft: rgba(244, 63, 94, .16)}:root{--vp-c-bg: #ffffff;--vp-c-bg-alt: #f6f6f7;--vp-c-bg-elv: #ffffff;--vp-c-bg-soft: #f6f6f7}.dark{--vp-c-bg: #1b1b1f;--vp-c-bg-alt: #161618;--vp-c-bg-elv: #202127;--vp-c-bg-soft: #202127}:root{--vp-c-border: #c2c2c4;--vp-c-divider: #e2e2e3;--vp-c-gutter: #e2e2e3}.dark{--vp-c-border: #3c3f44;--vp-c-divider: #2e2e32;--vp-c-gutter: #000000}:root{--vp-c-text-1: rgba(60, 60, 67);--vp-c-text-2: rgba(60, 60, 67, .78);--vp-c-text-3: rgba(60, 60, 67, .56)}.dark{--vp-c-text-1: rgba(255, 255, 245, .86);--vp-c-text-2: rgba(235, 235, 245, .6);--vp-c-text-3: rgba(235, 235, 245, .38)}:root{--vp-c-default-1: var(--vp-c-gray-1);--vp-c-default-2: var(--vp-c-gray-2);--vp-c-default-3: var(--vp-c-gray-3);--vp-c-default-soft: var(--vp-c-gray-soft);--vp-c-brand-1: var(--vp-c-indigo-1);--vp-c-brand-2: var(--vp-c-indigo-2);--vp-c-brand-3: var(--vp-c-indigo-3);--vp-c-brand-soft: var(--vp-c-indigo-soft);--vp-c-brand: var(--vp-c-brand-1);--vp-c-tip-1: var(--vp-c-brand-1);--vp-c-tip-2: var(--vp-c-brand-2);--vp-c-tip-3: var(--vp-c-brand-3);--vp-c-tip-soft: var(--vp-c-brand-soft);--vp-c-note-1: var(--vp-c-brand-1);--vp-c-note-2: var(--vp-c-brand-2);--vp-c-note-3: var(--vp-c-brand-3);--vp-c-note-soft: var(--vp-c-brand-soft);--vp-c-success-1: var(--vp-c-green-1);--vp-c-success-2: var(--vp-c-green-2);--vp-c-success-3: var(--vp-c-green-3);--vp-c-success-soft: var(--vp-c-green-soft);--vp-c-important-1: var(--vp-c-purple-1);--vp-c-important-2: var(--vp-c-purple-2);--vp-c-important-3: var(--vp-c-purple-3);--vp-c-important-soft: var(--vp-c-purple-soft);--vp-c-warning-1: var(--vp-c-yellow-1);--vp-c-warning-2: var(--vp-c-yellow-2);--vp-c-warning-3: var(--vp-c-yellow-3);--vp-c-warning-soft: var(--vp-c-yellow-soft);--vp-c-danger-1: var(--vp-c-red-1);--vp-c-danger-2: var(--vp-c-red-2);--vp-c-danger-3: var(--vp-c-red-3);--vp-c-danger-soft: var(--vp-c-red-soft);--vp-c-caution-1: var(--vp-c-red-1);--vp-c-caution-2: var(--vp-c-red-2);--vp-c-caution-3: var(--vp-c-red-3);--vp-c-caution-soft: var(--vp-c-red-soft)}:root{--vp-font-family-base: "Inter", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--vp-font-family-mono: ui-monospace, "Menlo", "Monaco", "Consolas", "Liberation Mono", "Courier New", monospace;font-optical-sizing:auto}:root:where(:lang(zh)){--vp-font-family-base: "Punctuation SC", "Inter", ui-sans-serif, system-ui, "PingFang SC", "Noto Sans CJK SC", "Noto Sans SC", "Heiti SC", "Microsoft YaHei", "DengXian", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"}:root{--vp-shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);--vp-shadow-2: 0 3px 12px rgba(0, 0, 0, .07), 0 1px 4px rgba(0, 0, 0, .07);--vp-shadow-3: 0 12px 32px rgba(0, 0, 0, .1), 0 2px 6px rgba(0, 0, 0, .08);--vp-shadow-4: 0 14px 44px rgba(0, 0, 0, .12), 0 3px 9px rgba(0, 0, 0, .12);--vp-shadow-5: 0 18px 56px rgba(0, 0, 0, .16), 0 4px 12px rgba(0, 0, 0, .16)}:root{--vp-z-index-footer: 10;--vp-z-index-local-nav: 20;--vp-z-index-nav: 30;--vp-z-index-layout-top: 40;--vp-z-index-backdrop: 50;--vp-z-index-sidebar: 60}@media (min-width: 960px){:root{--vp-z-index-sidebar: 25}}:root{--vp-layout-max-width: 1440px}:root{--vp-header-anchor-symbol: "#"}:root{--vp-code-line-height: 1.7;--vp-code-font-size: .875em;--vp-code-color: var(--vp-c-brand-1);--vp-code-link-color: var(--vp-c-brand-1);--vp-code-link-hover-color: var(--vp-c-brand-2);--vp-code-bg: var(--vp-c-default-soft);--vp-code-block-color: var(--vp-c-text-2);--vp-code-block-bg: var(--vp-c-bg-alt);--vp-code-block-divider-color: var(--vp-c-gutter);--vp-code-lang-color: var(--vp-c-text-3);--vp-code-line-highlight-color: var(--vp-c-default-soft);--vp-code-line-number-color: var(--vp-c-text-3);--vp-code-line-diff-add-color: var(--vp-c-success-soft);--vp-code-line-diff-add-symbol-color: var(--vp-c-success-1);--vp-code-line-diff-remove-color: var(--vp-c-danger-soft);--vp-code-line-diff-remove-symbol-color: var(--vp-c-danger-1);--vp-code-line-warning-color: var(--vp-c-warning-soft);--vp-code-line-error-color: var(--vp-c-danger-soft);--vp-code-copy-code-border-color: var(--vp-c-divider);--vp-code-copy-code-bg: var(--vp-c-bg-soft);--vp-code-copy-code-hover-border-color: var(--vp-c-divider);--vp-code-copy-code-hover-bg: var(--vp-c-bg);--vp-code-copy-code-active-text: var(--vp-c-text-2);--vp-code-copy-copied-text-content: "Copied";--vp-code-tab-divider: var(--vp-code-block-divider-color);--vp-code-tab-text-color: var(--vp-c-text-2);--vp-code-tab-bg: var(--vp-code-block-bg);--vp-code-tab-hover-text-color: var(--vp-c-text-1);--vp-code-tab-active-text-color: var(--vp-c-text-1);--vp-code-tab-active-bar-color: var(--vp-c-brand-1)}:root{--vp-button-brand-border: transparent;--vp-button-brand-text: var(--vp-c-white);--vp-button-brand-bg: var(--vp-c-brand-3);--vp-button-brand-hover-border: transparent;--vp-button-brand-hover-text: var(--vp-c-white);--vp-button-brand-hover-bg: var(--vp-c-brand-2);--vp-button-brand-active-border: transparent;--vp-button-brand-active-text: var(--vp-c-white);--vp-button-brand-active-bg: var(--vp-c-brand-1);--vp-button-alt-border: transparent;--vp-button-alt-text: var(--vp-c-text-1);--vp-button-alt-bg: var(--vp-c-default-3);--vp-button-alt-hover-border: transparent;--vp-button-alt-hover-text: var(--vp-c-text-1);--vp-button-alt-hover-bg: var(--vp-c-default-2);--vp-button-alt-active-border: transparent;--vp-button-alt-active-text: var(--vp-c-text-1);--vp-button-alt-active-bg: var(--vp-c-default-1);--vp-button-sponsor-border: var(--vp-c-text-2);--vp-button-sponsor-text: var(--vp-c-text-2);--vp-button-sponsor-bg: transparent;--vp-button-sponsor-hover-border: var(--vp-c-sponsor);--vp-button-sponsor-hover-text: var(--vp-c-sponsor);--vp-button-sponsor-hover-bg: transparent;--vp-button-sponsor-active-border: var(--vp-c-sponsor);--vp-button-sponsor-active-text: var(--vp-c-sponsor);--vp-button-sponsor-active-bg: transparent}:root{--vp-custom-block-font-size: 14px;--vp-custom-block-code-font-size: 13px;--vp-custom-block-info-border: transparent;--vp-custom-block-info-text: var(--vp-c-text-1);--vp-custom-block-info-bg: var(--vp-c-default-soft);--vp-custom-block-info-code-bg: var(--vp-c-default-soft);--vp-custom-block-note-border: transparent;--vp-custom-block-note-text: var(--vp-c-text-1);--vp-custom-block-note-bg: var(--vp-c-default-soft);--vp-custom-block-note-code-bg: var(--vp-c-default-soft);--vp-custom-block-tip-border: transparent;--vp-custom-block-tip-text: var(--vp-c-text-1);--vp-custom-block-tip-bg: var(--vp-c-tip-soft);--vp-custom-block-tip-code-bg: var(--vp-c-tip-soft);--vp-custom-block-important-border: transparent;--vp-custom-block-important-text: var(--vp-c-text-1);--vp-custom-block-important-bg: var(--vp-c-important-soft);--vp-custom-block-important-code-bg: var(--vp-c-important-soft);--vp-custom-block-warning-border: transparent;--vp-custom-block-warning-text: var(--vp-c-text-1);--vp-custom-block-warning-bg: var(--vp-c-warning-soft);--vp-custom-block-warning-code-bg: var(--vp-c-warning-soft);--vp-custom-block-danger-border: transparent;--vp-custom-block-danger-text: var(--vp-c-text-1);--vp-custom-block-danger-bg: var(--vp-c-danger-soft);--vp-custom-block-danger-code-bg: var(--vp-c-danger-soft);--vp-custom-block-caution-border: transparent;--vp-custom-block-caution-text: var(--vp-c-text-1);--vp-custom-block-caution-bg: var(--vp-c-caution-soft);--vp-custom-block-caution-code-bg: var(--vp-c-caution-soft);--vp-custom-block-details-border: var(--vp-custom-block-info-border);--vp-custom-block-details-text: var(--vp-custom-block-info-text);--vp-custom-block-details-bg: var(--vp-custom-block-info-bg);--vp-custom-block-details-code-bg: var(--vp-custom-block-info-code-bg)}:root{--vp-input-border-color: var(--vp-c-border);--vp-input-bg-color: var(--vp-c-bg-alt);--vp-input-switch-bg-color: var(--vp-c-default-soft)}:root{--vp-nav-height: 64px;--vp-nav-bg-color: var(--vp-c-bg);--vp-nav-screen-bg-color: var(--vp-c-bg);--vp-nav-logo-height: 24px}.hide-nav{--vp-nav-height: 0px}.hide-nav .VPSidebar{--vp-nav-height: 22px}:root{--vp-local-nav-bg-color: var(--vp-c-bg)}:root{--vp-sidebar-width: 272px;--vp-sidebar-bg-color: var(--vp-c-bg-alt)}:root{--vp-backdrop-bg-color: rgba(0, 0, 0, .6)}:root{--vp-home-hero-name-color: var(--vp-c-brand-1);--vp-home-hero-name-background: transparent;--vp-home-hero-image-background-image: none;--vp-home-hero-image-filter: none}:root{--vp-badge-info-border: transparent;--vp-badge-info-text: var(--vp-c-text-2);--vp-badge-info-bg: var(--vp-c-default-soft);--vp-badge-tip-border: transparent;--vp-badge-tip-text: var(--vp-c-tip-1);--vp-badge-tip-bg: var(--vp-c-tip-soft);--vp-badge-warning-border: transparent;--vp-badge-warning-text: var(--vp-c-warning-1);--vp-badge-warning-bg: var(--vp-c-warning-soft);--vp-badge-danger-border: transparent;--vp-badge-danger-text: var(--vp-c-danger-1);--vp-badge-danger-bg: var(--vp-c-danger-soft)}:root{--vp-carbon-ads-text-color: var(--vp-c-text-1);--vp-carbon-ads-poweredby-color: var(--vp-c-text-2);--vp-carbon-ads-bg-color: var(--vp-c-bg-soft);--vp-carbon-ads-hover-text-color: var(--vp-c-brand-1);--vp-carbon-ads-hover-poweredby-color: var(--vp-c-text-1)}:root{--vp-local-search-bg: var(--vp-c-bg);--vp-local-search-result-bg: var(--vp-c-bg);--vp-local-search-result-border: var(--vp-c-divider);--vp-local-search-result-selected-bg: var(--vp-c-bg);--vp-local-search-result-selected-border: var(--vp-c-brand-1);--vp-local-search-highlight-bg: var(--vp-c-brand-1);--vp-local-search-highlight-text: var(--vp-c-neutral-inverse)}@media (prefers-reduced-motion: reduce){*,:before,:after{animation-delay:-1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important;background-attachment:initial!important;scroll-behavior:auto!important;transition-duration:0s!important;transition-delay:0s!important}}*,:before,:after{box-sizing:border-box}html{line-height:1.4;font-size:16px;-webkit-text-size-adjust:100%}html.dark{color-scheme:dark}body{margin:0;width:100%;min-width:320px;min-height:100vh;line-height:24px;font-family:var(--vp-font-family-base);font-size:16px;font-weight:400;color:var(--vp-c-text-1);background-color:var(--vp-c-bg);font-synthesis:style;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin:0;line-height:24px;font-size:16px;font-weight:400}p{margin:0}strong,b{font-weight:600}a,area,button,[role=button],input,label,select,summary,textarea{touch-action:manipulation}a{color:inherit;text-decoration:inherit}ol,ul{list-style:none;margin:0;padding:0}blockquote{margin:0}pre,code,kbd,samp{font-family:var(--vp-font-family-mono)}img,svg,video,canvas,audio,iframe,embed,object{display:block}figure{margin:0}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{border:0;padding:0;line-height:inherit;color:inherit}button{padding:0;font-family:inherit;background-color:transparent;background-image:none}button:enabled,[role=button]:enabled{cursor:pointer}button:focus,button:focus-visible{outline:1px dotted;outline:4px auto -webkit-focus-ring-color}button:focus:not(:focus-visible){outline:none!important}input:focus,textarea:focus,select:focus{outline:none}table{border-collapse:collapse}input{background-color:transparent}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:var(--vp-c-text-3)}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:var(--vp-c-text-3)}input::placeholder,textarea::placeholder{color:var(--vp-c-text-3)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}textarea{resize:vertical}select{-webkit-appearance:none}fieldset{margin:0;padding:0}h1,h2,h3,h4,h5,h6,li,p{overflow-wrap:break-word}vite-error-overlay{z-index:9999}mjx-container{overflow-x:auto}mjx-container>svg{display:inline-block;margin:auto}[class^=vpi-],[class*=" vpi-"],.vp-icon{width:1em;height:1em}[class^=vpi-].bg,[class*=" vpi-"].bg,.vp-icon.bg{background-size:100% 100%;background-color:transparent}[class^=vpi-]:not(.bg),[class*=" vpi-"]:not(.bg),.vp-icon:not(.bg){-webkit-mask:var(--icon) no-repeat;mask:var(--icon) no-repeat;-webkit-mask-size:100% 100%;mask-size:100% 100%;background-color:currentColor;color:inherit}.vpi-align-left{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M21 6H3M15 12H3M17 18H3'/%3E%3C/svg%3E")}.vpi-arrow-right,.vpi-arrow-down,.vpi-arrow-left,.vpi-arrow-up{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E")}.vpi-chevron-right,.vpi-chevron-down,.vpi-chevron-left,.vpi-chevron-up{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m9 18 6-6-6-6'/%3E%3C/svg%3E")}.vpi-chevron-down,.vpi-arrow-down{transform:rotate(90deg)}.vpi-chevron-left,.vpi-arrow-left{transform:rotate(180deg)}.vpi-chevron-up,.vpi-arrow-up{transform:rotate(-90deg)}.vpi-square-pen{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7'/%3E%3Cpath d='M18.375 2.625a2.121 2.121 0 1 1 3 3L12 15l-4 1 1-4Z'/%3E%3C/svg%3E")}.vpi-plus{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M12 5v14'/%3E%3C/svg%3E")}.vpi-sun{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M6.34 17.66l-1.41 1.41M19.07 4.93l-1.41 1.41'/%3E%3C/svg%3E")}.vpi-moon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M12 3a6 6 0 0 0 9 9 9 9 0 1 1-9-9Z'/%3E%3C/svg%3E")}.vpi-more-horizontal{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3Ccircle cx='19' cy='12' r='1'/%3E%3Ccircle cx='5' cy='12' r='1'/%3E%3C/svg%3E")}.vpi-languages{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m5 8 6 6M4 14l6-6 2-3M2 5h12M7 2h1M22 22l-5-10-5 10M14 18h6'/%3E%3C/svg%3E")}.vpi-heart{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z'/%3E%3C/svg%3E")}.vpi-search{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E")}.vpi-layout-list{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='7' height='7' x='3' y='3' rx='1'/%3E%3Crect width='7' height='7' x='3' y='14' rx='1'/%3E%3Cpath d='M14 4h7M14 9h7M14 15h7M14 20h7'/%3E%3C/svg%3E")}.vpi-delete{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='M20 5H9l-7 7 7 7h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2ZM18 9l-6 6M12 9l6 6'/%3E%3C/svg%3E")}.vpi-corner-down-left{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath d='m9 10-5 5 5 5'/%3E%3Cpath d='M20 4v7a4 4 0 0 1-4 4H4'/%3E%3C/svg%3E")}:root{--vp-icon-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgba(128,128,128,1)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3C/svg%3E");--vp-icon-copied: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='rgba(128,128,128,1)' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' viewBox='0 0 24 24'%3E%3Crect width='8' height='4' x='8' y='2' rx='1' ry='1'/%3E%3Cpath d='M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2'/%3E%3Cpath d='m9 14 2 2 4-4'/%3E%3C/svg%3E")}.vpi-social-discord{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.317 4.37a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418Z'/%3E%3C/svg%3E")}.vpi-social-facebook{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9.101 23.691v-7.98H6.627v-3.667h2.474v-1.58c0-4.085 1.848-5.978 5.858-5.978.401 0 .955.042 1.468.103a8.68 8.68 0 0 1 1.141.195v3.325a8.623 8.623 0 0 0-.653-.036 26.805 26.805 0 0 0-.733-.009c-.707 0-1.259.096-1.675.309a1.686 1.686 0 0 0-.679.622c-.258.42-.374.995-.374 1.752v1.297h3.919l-.386 2.103-.287 1.564h-3.246v8.245C19.396 23.238 24 18.179 24 12.044c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.628 3.874 10.35 9.101 11.647Z'/%3E%3C/svg%3E")}.vpi-social-github{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12'/%3E%3C/svg%3E")}.vpi-social-instagram{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7.03.084c-1.277.06-2.149.264-2.91.563a5.874 5.874 0 0 0-2.124 1.388 5.878 5.878 0 0 0-1.38 2.127C.321 4.926.12 5.8.064 7.076.008 8.354-.005 8.764.001 12.023c.007 3.259.021 3.667.083 4.947.061 1.277.264 2.149.563 2.911.308.789.72 1.457 1.388 2.123a5.872 5.872 0 0 0 2.129 1.38c.763.295 1.636.496 2.913.552 1.278.056 1.689.069 4.947.063 3.257-.007 3.668-.021 4.947-.082 1.28-.06 2.147-.265 2.91-.563a5.881 5.881 0 0 0 2.123-1.388 5.881 5.881 0 0 0 1.38-2.129c.295-.763.496-1.636.551-2.912.056-1.28.07-1.69.063-4.948-.006-3.258-.02-3.667-.081-4.947-.06-1.28-.264-2.148-.564-2.911a5.892 5.892 0 0 0-1.387-2.123 5.857 5.857 0 0 0-2.128-1.38C19.074.322 18.202.12 16.924.066 15.647.009 15.236-.006 11.977 0 8.718.008 8.31.021 7.03.084m.14 21.693c-1.17-.05-1.805-.245-2.228-.408a3.736 3.736 0 0 1-1.382-.895 3.695 3.695 0 0 1-.9-1.378c-.165-.423-.363-1.058-.417-2.228-.06-1.264-.072-1.644-.08-4.848-.006-3.204.006-3.583.061-4.848.05-1.169.246-1.805.408-2.228.216-.561.477-.96.895-1.382a3.705 3.705 0 0 1 1.379-.9c.423-.165 1.057-.361 2.227-.417 1.265-.06 1.644-.072 4.848-.08 3.203-.006 3.583.006 4.85.062 1.168.05 1.804.244 2.227.408.56.216.96.475 1.382.895.421.42.681.817.9 1.378.165.422.362 1.056.417 2.227.06 1.265.074 1.645.08 4.848.005 3.203-.006 3.583-.061 4.848-.051 1.17-.245 1.805-.408 2.23-.216.56-.477.96-.896 1.38a3.705 3.705 0 0 1-1.378.9c-.422.165-1.058.362-2.226.418-1.266.06-1.645.072-4.85.079-3.204.007-3.582-.006-4.848-.06m9.783-16.192a1.44 1.44 0 1 0 1.437-1.442 1.44 1.44 0 0 0-1.437 1.442M5.839 12.012a6.161 6.161 0 1 0 12.323-.024 6.162 6.162 0 0 0-12.323.024M8 12.008A4 4 0 1 1 12.008 16 4 4 0 0 1 8 12.008'/%3E%3C/svg%3E")}.vpi-social-linkedin{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.064 2.064 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z'/%3E%3C/svg%3E")}.vpi-social-mastodon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.268 5.313c-.35-2.578-2.617-4.61-5.304-5.004C17.51.242 15.792 0 11.813 0h-.03c-3.98 0-4.835.242-5.288.309C3.882.692 1.496 2.518.917 5.127.64 6.412.61 7.837.661 9.143c.074 1.874.088 3.745.26 5.611.118 1.24.325 2.47.62 3.68.55 2.237 2.777 4.098 4.96 4.857 2.336.792 4.849.923 7.256.38.265-.061.527-.132.786-.213.585-.184 1.27-.39 1.774-.753a.057.057 0 0 0 .023-.043v-1.809a.052.052 0 0 0-.02-.041.053.053 0 0 0-.046-.01 20.282 20.282 0 0 1-4.709.545c-2.73 0-3.463-1.284-3.674-1.818a5.593 5.593 0 0 1-.319-1.433.053.053 0 0 1 .066-.054c1.517.363 3.072.546 4.632.546.376 0 .75 0 1.125-.01 1.57-.044 3.224-.124 4.768-.422.038-.008.077-.015.11-.024 2.435-.464 4.753-1.92 4.989-5.604.008-.145.03-1.52.03-1.67.002-.512.167-3.63-.024-5.545zm-3.748 9.195h-2.561V8.29c0-1.309-.55-1.976-1.67-1.976-1.23 0-1.846.79-1.846 2.35v3.403h-2.546V8.663c0-1.56-.617-2.35-1.848-2.35-1.112 0-1.668.668-1.67 1.977v6.218H4.822V8.102c0-1.31.337-2.35 1.011-3.12.696-.77 1.608-1.164 2.74-1.164 1.311 0 2.302.5 2.962 1.498l.638 1.06.638-1.06c.66-.999 1.65-1.498 2.96-1.498 1.13 0 2.043.395 2.74 1.164.675.77 1.012 1.81 1.012 3.12z'/%3E%3C/svg%3E")}.vpi-social-npm{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M1.763 0C.786 0 0 .786 0 1.763v20.474C0 23.214.786 24 1.763 24h20.474c.977 0 1.763-.786 1.763-1.763V1.763C24 .786 23.214 0 22.237 0zM5.13 5.323l13.837.019-.009 13.836h-3.464l.01-10.382h-3.456L12.04 19.17H5.113z'/%3E%3C/svg%3E")}.vpi-social-slack{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.042 15.165a2.528 2.528 0 0 1-2.52 2.523A2.528 2.528 0 0 1 0 15.165a2.527 2.527 0 0 1 2.522-2.52h2.52v2.52zm1.271 0a2.527 2.527 0 0 1 2.521-2.52 2.527 2.527 0 0 1 2.521 2.52v6.313A2.528 2.528 0 0 1 8.834 24a2.528 2.528 0 0 1-2.521-2.522v-6.313zM8.834 5.042a2.528 2.528 0 0 1-2.521-2.52A2.528 2.528 0 0 1 8.834 0a2.528 2.528 0 0 1 2.521 2.522v2.52H8.834zm0 1.271a2.528 2.528 0 0 1 2.521 2.521 2.528 2.528 0 0 1-2.521 2.521H2.522A2.528 2.528 0 0 1 0 8.834a2.528 2.528 0 0 1 2.522-2.521h6.312zm10.122 2.521a2.528 2.528 0 0 1 2.522-2.521A2.528 2.528 0 0 1 24 8.834a2.528 2.528 0 0 1-2.522 2.521h-2.522V8.834zm-1.268 0a2.528 2.528 0 0 1-2.523 2.521 2.527 2.527 0 0 1-2.52-2.521V2.522A2.527 2.527 0 0 1 15.165 0a2.528 2.528 0 0 1 2.523 2.522v6.312zm-2.523 10.122a2.528 2.528 0 0 1 2.523 2.522A2.528 2.528 0 0 1 15.165 24a2.527 2.527 0 0 1-2.52-2.522v-2.522h2.52zm0-1.268a2.527 2.527 0 0 1-2.52-2.523 2.526 2.526 0 0 1 2.52-2.52h6.313A2.527 2.527 0 0 1 24 15.165a2.528 2.528 0 0 1-2.522 2.523h-6.313z'/%3E%3C/svg%3E")}.vpi-social-twitter,.vpi-social-x{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z'/%3E%3C/svg%3E")}.vpi-social-youtube{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z'/%3E%3C/svg%3E")}.visually-hidden{position:absolute;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden}.custom-block{border:1px solid transparent;border-radius:8px;padding:16px 16px 8px;line-height:24px;font-size:var(--vp-custom-block-font-size);color:var(--vp-c-text-2)}.custom-block.info{border-color:var(--vp-custom-block-info-border);color:var(--vp-custom-block-info-text);background-color:var(--vp-custom-block-info-bg)}.custom-block.info a,.custom-block.info code{color:var(--vp-c-brand-1)}.custom-block.info a:hover,.custom-block.info a:hover>code{color:var(--vp-c-brand-2)}.custom-block.info code{background-color:var(--vp-custom-block-info-code-bg)}.custom-block.note{border-color:var(--vp-custom-block-note-border);color:var(--vp-custom-block-note-text);background-color:var(--vp-custom-block-note-bg)}.custom-block.note a,.custom-block.note code{color:var(--vp-c-brand-1)}.custom-block.note a:hover,.custom-block.note a:hover>code{color:var(--vp-c-brand-2)}.custom-block.note code{background-color:var(--vp-custom-block-note-code-bg)}.custom-block.tip{border-color:var(--vp-custom-block-tip-border);color:var(--vp-custom-block-tip-text);background-color:var(--vp-custom-block-tip-bg)}.custom-block.tip a,.custom-block.tip code{color:var(--vp-c-tip-1)}.custom-block.tip a:hover,.custom-block.tip a:hover>code{color:var(--vp-c-tip-2)}.custom-block.tip code{background-color:var(--vp-custom-block-tip-code-bg)}.custom-block.important{border-color:var(--vp-custom-block-important-border);color:var(--vp-custom-block-important-text);background-color:var(--vp-custom-block-important-bg)}.custom-block.important a,.custom-block.important code{color:var(--vp-c-important-1)}.custom-block.important a:hover,.custom-block.important a:hover>code{color:var(--vp-c-important-2)}.custom-block.important code{background-color:var(--vp-custom-block-important-code-bg)}.custom-block.warning{border-color:var(--vp-custom-block-warning-border);color:var(--vp-custom-block-warning-text);background-color:var(--vp-custom-block-warning-bg)}.custom-block.warning a,.custom-block.warning code{color:var(--vp-c-warning-1)}.custom-block.warning a:hover,.custom-block.warning a:hover>code{color:var(--vp-c-warning-2)}.custom-block.warning code{background-color:var(--vp-custom-block-warning-code-bg)}.custom-block.danger{border-color:var(--vp-custom-block-danger-border);color:var(--vp-custom-block-danger-text);background-color:var(--vp-custom-block-danger-bg)}.custom-block.danger a,.custom-block.danger code{color:var(--vp-c-danger-1)}.custom-block.danger a:hover,.custom-block.danger a:hover>code{color:var(--vp-c-danger-2)}.custom-block.danger code{background-color:var(--vp-custom-block-danger-code-bg)}.custom-block.caution{border-color:var(--vp-custom-block-caution-border);color:var(--vp-custom-block-caution-text);background-color:var(--vp-custom-block-caution-bg)}.custom-block.caution a,.custom-block.caution code{color:var(--vp-c-caution-1)}.custom-block.caution a:hover,.custom-block.caution a:hover>code{color:var(--vp-c-caution-2)}.custom-block.caution code{background-color:var(--vp-custom-block-caution-code-bg)}.custom-block.details{border-color:var(--vp-custom-block-details-border);color:var(--vp-custom-block-details-text);background-color:var(--vp-custom-block-details-bg)}.custom-block.details a{color:var(--vp-c-brand-1)}.custom-block.details a:hover,.custom-block.details a:hover>code{color:var(--vp-c-brand-2)}.custom-block.details code{background-color:var(--vp-custom-block-details-code-bg)}.custom-block-title{font-weight:600}.custom-block p+p{margin:8px 0}.custom-block.details summary{margin:0 0 8px;font-weight:700;cursor:pointer;-webkit-user-select:none;user-select:none}.custom-block.details summary+p{margin:8px 0}.custom-block a{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px;transition:opacity .25s}.custom-block a:hover{opacity:.75}.custom-block code{font-size:var(--vp-custom-block-code-font-size)}.custom-block.custom-block th,.custom-block.custom-block blockquote>p{font-size:var(--vp-custom-block-font-size);color:inherit}.dark .vp-code span{color:var(--shiki-dark, inherit)}html:not(.dark) .vp-code span{color:var(--shiki-light, inherit)}.vp-code-group{margin-top:16px}.vp-code-group .tabs{position:relative;display:flex;margin-right:-24px;margin-left:-24px;padding:0 12px;background-color:var(--vp-code-tab-bg);overflow-x:auto;overflow-y:hidden;box-shadow:inset 0 -1px var(--vp-code-tab-divider)}@media (min-width: 640px){.vp-code-group .tabs{margin-right:0;margin-left:0;border-radius:8px 8px 0 0}}.vp-code-group .tabs input{position:fixed;opacity:0;pointer-events:none}.vp-code-group .tabs label{position:relative;display:inline-block;border-bottom:1px solid transparent;padding:0 12px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-code-tab-text-color);white-space:nowrap;cursor:pointer;transition:color .25s}.vp-code-group .tabs label:after{position:absolute;right:8px;bottom:-1px;left:8px;z-index:1;height:2px;border-radius:2px;content:"";background-color:transparent;transition:background-color .25s}.vp-code-group label:hover{color:var(--vp-code-tab-hover-text-color)}.vp-code-group input:checked+label{color:var(--vp-code-tab-active-text-color)}.vp-code-group input:checked+label:after{background-color:var(--vp-code-tab-active-bar-color)}.vp-code-group div[class*=language-],.vp-block{display:none;margin-top:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important}.vp-code-group div[class*=language-].active,.vp-block.active{display:block}.vp-block{padding:20px 24px}.vp-doc h1,.vp-doc h2,.vp-doc h3,.vp-doc h4,.vp-doc h5,.vp-doc h6{position:relative;font-weight:600;outline:none}.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:28px}.vp-doc h2{margin:48px 0 16px;border-top:1px solid var(--vp-c-divider);padding-top:24px;letter-spacing:-.02em;line-height:32px;font-size:24px}.vp-doc h3{margin:32px 0 0;letter-spacing:-.01em;line-height:28px;font-size:20px}.vp-doc h4{margin:24px 0 0;letter-spacing:-.01em;line-height:24px;font-size:18px}.vp-doc .header-anchor{position:absolute;top:0;left:0;margin-left:-.87em;font-weight:500;-webkit-user-select:none;user-select:none;opacity:0;text-decoration:none;transition:color .25s,opacity .25s}.vp-doc .header-anchor:before{content:var(--vp-header-anchor-symbol)}.vp-doc h1:hover .header-anchor,.vp-doc h1 .header-anchor:focus,.vp-doc h2:hover .header-anchor,.vp-doc h2 .header-anchor:focus,.vp-doc h3:hover .header-anchor,.vp-doc h3 .header-anchor:focus,.vp-doc h4:hover .header-anchor,.vp-doc h4 .header-anchor:focus,.vp-doc h5:hover .header-anchor,.vp-doc h5 .header-anchor:focus,.vp-doc h6:hover .header-anchor,.vp-doc h6 .header-anchor:focus{opacity:1}@media (min-width: 768px){.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:32px}}.vp-doc h2 .header-anchor{top:24px}.vp-doc p,.vp-doc summary{margin:16px 0}.vp-doc p{line-height:28px}.vp-doc blockquote{margin:16px 0;border-left:2px solid var(--vp-c-divider);padding-left:16px;transition:border-color .5s;color:var(--vp-c-text-2)}.vp-doc blockquote>p{margin:0;font-size:16px;transition:color .5s}.vp-doc a{font-weight:500;color:var(--vp-c-brand-1);text-decoration:underline;text-underline-offset:2px;transition:color .25s,opacity .25s}.vp-doc a:hover{color:var(--vp-c-brand-2)}.vp-doc strong{font-weight:600}.vp-doc ul,.vp-doc ol{padding-left:1.25rem;margin:16px 0}.vp-doc ul{list-style:disc}.vp-doc ol{list-style:decimal}.vp-doc li+li{margin-top:8px}.vp-doc li>ol,.vp-doc li>ul{margin:8px 0 0}.vp-doc table{display:block;border-collapse:collapse;margin:20px 0;overflow-x:auto}.vp-doc tr{background-color:var(--vp-c-bg);border-top:1px solid var(--vp-c-divider);transition:background-color .5s}.vp-doc tr:nth-child(2n){background-color:var(--vp-c-bg-soft)}.vp-doc th,.vp-doc td{border:1px solid var(--vp-c-divider);padding:8px 16px}.vp-doc th{text-align:left;font-size:14px;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-doc td{font-size:14px}.vp-doc hr{margin:16px 0;border:none;border-top:1px solid var(--vp-c-divider)}.vp-doc .custom-block{margin:16px 0}.vp-doc .custom-block p{margin:8px 0;line-height:24px}.vp-doc .custom-block p:first-child{margin:0}.vp-doc .custom-block div[class*=language-]{margin:8px 0;border-radius:8px}.vp-doc .custom-block div[class*=language-] code{font-weight:400;background-color:transparent}.vp-doc .custom-block .vp-code-group .tabs{margin:0;border-radius:8px 8px 0 0}.vp-doc :not(pre,h1,h2,h3,h4,h5,h6)>code{font-size:var(--vp-code-font-size);color:var(--vp-code-color)}.vp-doc :not(pre)>code{border-radius:4px;padding:3px 6px;background-color:var(--vp-code-bg);transition:color .25s,background-color .5s}.vp-doc a>code{color:var(--vp-code-link-color)}.vp-doc a:hover>code{color:var(--vp-code-link-hover-color)}.vp-doc h1>code,.vp-doc h2>code,.vp-doc h3>code,.vp-doc h4>code{font-size:.9em}.vp-doc div[class*=language-],.vp-block{position:relative;margin:16px -24px;background-color:var(--vp-code-block-bg);overflow-x:auto;transition:background-color .5s}@media (min-width: 640px){.vp-doc div[class*=language-],.vp-block{border-radius:8px;margin:16px 0}}@media (max-width: 639px){.vp-doc li div[class*=language-]{border-radius:8px 0 0 8px}}.vp-doc div[class*=language-]+div[class*=language-],.vp-doc div[class$=-api]+div[class*=language-],.vp-doc div[class*=language-]+div[class$=-api]>div[class*=language-]{margin-top:-8px}.vp-doc [class*=language-] pre,.vp-doc [class*=language-] code{direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}.vp-doc [class*=language-] pre{position:relative;z-index:1;margin:0;padding:20px 0;background:transparent;overflow-x:auto}.vp-doc [class*=language-] code{display:block;padding:0 24px;width:fit-content;min-width:100%;line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-block-color);transition:color .5s}.vp-doc [class*=language-] code .highlighted{background-color:var(--vp-code-line-highlight-color);transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .highlighted.error{background-color:var(--vp-code-line-error-color)}.vp-doc [class*=language-] code .highlighted.warning{background-color:var(--vp-code-line-warning-color)}.vp-doc [class*=language-] code .diff{transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .diff:before{position:absolute;left:10px}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){filter:blur(.095rem);opacity:.4;transition:filter .35s,opacity .35s}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){opacity:.7;transition:filter .35s,opacity .35s}.vp-doc [class*=language-]:hover .has-focused-lines .line:not(.has-focus){filter:blur(0);opacity:1}.vp-doc [class*=language-] code .diff.remove{background-color:var(--vp-code-line-diff-remove-color);opacity:.7}.vp-doc [class*=language-] code .diff.remove:before{content:"-";color:var(--vp-code-line-diff-remove-symbol-color)}.vp-doc [class*=language-] code .diff.add{background-color:var(--vp-code-line-diff-add-color)}.vp-doc [class*=language-] code .diff.add:before{content:"+";color:var(--vp-code-line-diff-add-symbol-color)}.vp-doc div[class*=language-].line-numbers-mode{padding-left:32px}.vp-doc .line-numbers-wrapper{position:absolute;top:0;bottom:0;left:0;z-index:3;border-right:1px solid var(--vp-code-block-divider-color);padding-top:20px;width:32px;text-align:center;font-family:var(--vp-font-family-mono);line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-line-number-color);transition:border-color .5s,color .5s}.vp-doc [class*=language-]>button.copy{direction:ltr;position:absolute;top:12px;right:12px;z-index:3;border:1px solid var(--vp-code-copy-code-border-color);border-radius:4px;width:40px;height:40px;background-color:var(--vp-code-copy-code-bg);opacity:0;cursor:pointer;background-image:var(--vp-icon-copy);background-position:50%;background-size:20px;background-repeat:no-repeat;transition:border-color .25s,background-color .25s,opacity .25s}.vp-doc [class*=language-]:hover>button.copy,.vp-doc [class*=language-]>button.copy:focus{opacity:1}.vp-doc [class*=language-]>button.copy:hover,.vp-doc [class*=language-]>button.copy.copied{border-color:var(--vp-code-copy-code-hover-border-color);background-color:var(--vp-code-copy-code-hover-bg)}.vp-doc [class*=language-]>button.copy.copied,.vp-doc [class*=language-]>button.copy:hover.copied{border-radius:0 4px 4px 0;background-color:var(--vp-code-copy-code-hover-bg);background-image:var(--vp-icon-copied)}.vp-doc [class*=language-]>button.copy.copied:before,.vp-doc [class*=language-]>button.copy:hover.copied:before{position:relative;top:-1px;transform:translate(calc(-100% - 1px));display:flex;justify-content:center;align-items:center;border:1px solid var(--vp-code-copy-code-hover-border-color);border-right:0;border-radius:4px 0 0 4px;padding:0 10px;width:fit-content;height:40px;text-align:center;font-size:12px;font-weight:500;color:var(--vp-code-copy-code-active-text);background-color:var(--vp-code-copy-code-hover-bg);white-space:nowrap;content:var(--vp-code-copy-copied-text-content)}.vp-doc [class*=language-]>span.lang{position:absolute;top:2px;right:8px;z-index:2;font-size:12px;font-weight:500;color:var(--vp-code-lang-color);transition:color .4s,opacity .4s}.vp-doc [class*=language-]:hover>button.copy+span.lang,.vp-doc [class*=language-]>button.copy:focus+span.lang{opacity:0}.vp-doc .VPTeamMembers{margin-top:24px}.vp-doc .VPTeamMembers.small.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}.vp-doc .VPTeamMembers.small.count-2 .container,.vp-doc .VPTeamMembers.small.count-3 .container{max-width:100%!important}.vp-doc .VPTeamMembers.medium.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}:is(.vp-external-link-icon,.vp-doc a[href*="://"],.vp-doc a[target=_blank]):not(.no-icon):after{display:inline-block;margin-top:-1px;margin-left:4px;width:11px;height:11px;background:currentColor;color:var(--vp-c-text-3);flex-shrink:0;--icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M0 0h24v24H0V0z' fill='none' /%3E%3Cpath d='M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z' /%3E%3C/svg%3E");-webkit-mask-image:var(--icon);mask-image:var(--icon)}.vp-external-link-icon:after{content:""}.external-link-icon-enabled :is(.vp-doc a[href*="://"],.vp-doc a[target=_blank]):after{content:"";color:currentColor}.vp-sponsor{border-radius:16px;overflow:hidden}.vp-sponsor.aside{border-radius:12px}.vp-sponsor-section+.vp-sponsor-section{margin-top:4px}.vp-sponsor-tier{margin:0 0 4px!important;text-align:center;letter-spacing:1px!important;line-height:24px;width:100%;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-sponsor.normal .vp-sponsor-tier{padding:13px 0 11px;font-size:14px}.vp-sponsor.aside .vp-sponsor-tier{padding:9px 0 7px;font-size:12px}.vp-sponsor-grid+.vp-sponsor-tier{margin-top:4px}.vp-sponsor-grid{display:flex;flex-wrap:wrap;gap:4px}.vp-sponsor-grid.xmini .vp-sponsor-grid-link{height:64px}.vp-sponsor-grid.xmini .vp-sponsor-grid-image{max-width:64px;max-height:22px}.vp-sponsor-grid.mini .vp-sponsor-grid-link{height:72px}.vp-sponsor-grid.mini .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.small .vp-sponsor-grid-link{height:96px}.vp-sponsor-grid.small .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.medium .vp-sponsor-grid-link{height:112px}.vp-sponsor-grid.medium .vp-sponsor-grid-image{max-width:120px;max-height:36px}.vp-sponsor-grid.big .vp-sponsor-grid-link{height:184px}.vp-sponsor-grid.big .vp-sponsor-grid-image{max-width:192px;max-height:56px}.vp-sponsor-grid[data-vp-grid="2"] .vp-sponsor-grid-item{width:calc((100% - 4px)/2)}.vp-sponsor-grid[data-vp-grid="3"] .vp-sponsor-grid-item{width:calc((100% - 4px * 2) / 3)}.vp-sponsor-grid[data-vp-grid="4"] .vp-sponsor-grid-item{width:calc((100% - 12px)/4)}.vp-sponsor-grid[data-vp-grid="5"] .vp-sponsor-grid-item{width:calc((100% - 16px)/5)}.vp-sponsor-grid[data-vp-grid="6"] .vp-sponsor-grid-item{width:calc((100% - 4px * 5) / 6)}.vp-sponsor-grid-item{flex-shrink:0;width:100%;background-color:var(--vp-c-bg-soft);transition:background-color .25s}.vp-sponsor-grid-item:hover{background-color:var(--vp-c-default-soft)}.vp-sponsor-grid-item:hover .vp-sponsor-grid-image{filter:grayscale(0) invert(0)}.vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.dark .vp-sponsor-grid-item:hover{background-color:var(--vp-c-white)}.dark .vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.vp-sponsor-grid-link{display:flex}.vp-sponsor-grid-box{display:flex;justify-content:center;align-items:center;width:100%}.vp-sponsor-grid-image{max-width:100%;filter:grayscale(1);transition:filter .25s}.dark .vp-sponsor-grid-image{filter:grayscale(1) invert(1)}.VPBadge{display:inline-block;margin-left:2px;border:1px solid transparent;border-radius:12px;padding:0 10px;line-height:22px;font-size:12px;font-weight:500;transform:translateY(-2px)}.VPBadge.small{padding:0 6px;line-height:18px;font-size:10px;transform:translateY(-8px)}.VPDocFooter .VPBadge{display:none}.vp-doc h1>.VPBadge{margin-top:4px;vertical-align:top}.vp-doc h2>.VPBadge{margin-top:3px;padding:0 8px;vertical-align:top}.vp-doc h3>.VPBadge{vertical-align:middle}.vp-doc h4>.VPBadge,.vp-doc h5>.VPBadge,.vp-doc h6>.VPBadge{vertical-align:middle;line-height:18px}.VPBadge.info{border-color:var(--vp-badge-info-border);color:var(--vp-badge-info-text);background-color:var(--vp-badge-info-bg)}.VPBadge.tip{border-color:var(--vp-badge-tip-border);color:var(--vp-badge-tip-text);background-color:var(--vp-badge-tip-bg)}.VPBadge.warning{border-color:var(--vp-badge-warning-border);color:var(--vp-badge-warning-text);background-color:var(--vp-badge-warning-bg)}.VPBadge.danger{border-color:var(--vp-badge-danger-border);color:var(--vp-badge-danger-text);background-color:var(--vp-badge-danger-bg)}.VPBackdrop[data-v-c79a1216]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--vp-z-index-backdrop);background:var(--vp-backdrop-bg-color);transition:opacity .5s}.VPBackdrop.fade-enter-from[data-v-c79a1216],.VPBackdrop.fade-leave-to[data-v-c79a1216]{opacity:0}.VPBackdrop.fade-leave-active[data-v-c79a1216]{transition-duration:.25s}@media (min-width: 1280px){.VPBackdrop[data-v-c79a1216]{display:none}}.NotFound[data-v-d6be1790]{padding:64px 24px 96px;text-align:center}@media (min-width: 768px){.NotFound[data-v-d6be1790]{padding:96px 32px 168px}}.code[data-v-d6be1790]{line-height:64px;font-size:64px;font-weight:600}.title[data-v-d6be1790]{padding-top:12px;letter-spacing:2px;line-height:20px;font-size:20px;font-weight:700}.divider[data-v-d6be1790]{margin:24px auto 18px;width:64px;height:1px;background-color:var(--vp-c-divider)}.quote[data-v-d6be1790]{margin:0 auto;max-width:256px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.action[data-v-d6be1790]{padding-top:20px}.link[data-v-d6be1790]{display:inline-block;border:1px solid var(--vp-c-brand-1);border-radius:16px;padding:3px 16px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:border-color .25s,color .25s}.link[data-v-d6be1790]:hover{border-color:var(--vp-c-brand-2);color:var(--vp-c-brand-2)}.root[data-v-b933a997]{position:relative;z-index:1}.nested[data-v-b933a997]{padding-right:16px;padding-left:16px}.outline-link[data-v-b933a997]{display:block;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .5s}.outline-link[data-v-b933a997]:hover,.outline-link.active[data-v-b933a997]{color:var(--vp-c-text-1);transition:color .25s}.outline-link.nested[data-v-b933a997]{padding-left:13px}.VPDocAsideOutline[data-v-a5bbad30]{display:none}.VPDocAsideOutline.has-outline[data-v-a5bbad30]{display:block}.content[data-v-a5bbad30]{position:relative;border-left:1px solid var(--vp-c-divider);padding-left:16px;font-size:13px;font-weight:500}.outline-marker[data-v-a5bbad30]{position:absolute;top:32px;left:-1px;z-index:0;opacity:0;width:2px;border-radius:2px;height:18px;background-color:var(--vp-c-brand-1);transition:top .25s cubic-bezier(0,1,.5,1),background-color .5s,opacity .25s}.outline-title[data-v-a5bbad30]{line-height:32px;font-size:14px;font-weight:600}.VPDocAside[data-v-3f215769]{display:flex;flex-direction:column;flex-grow:1}.spacer[data-v-3f215769]{flex-grow:1}.VPDocAside[data-v-3f215769] .spacer+.VPDocAsideSponsors,.VPDocAside[data-v-3f215769] .spacer+.VPDocAsideCarbonAds{margin-top:24px}.VPDocAside[data-v-3f215769] .VPDocAsideSponsors+.VPDocAsideCarbonAds{margin-top:16px}.VPLastUpdated[data-v-e98dd255]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 640px){.VPLastUpdated[data-v-e98dd255]{line-height:32px;font-size:14px;font-weight:500}}.VPDocFooter[data-v-e257564d]{margin-top:64px}.edit-info[data-v-e257564d]{padding-bottom:18px}@media (min-width: 640px){.edit-info[data-v-e257564d]{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px}}.edit-link-button[data-v-e257564d]{display:flex;align-items:center;border:0;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.edit-link-button[data-v-e257564d]:hover{color:var(--vp-c-brand-2)}.edit-link-icon[data-v-e257564d]{margin-right:8px}.prev-next[data-v-e257564d]{border-top:1px solid var(--vp-c-divider);padding-top:24px;display:grid;grid-row-gap:8px}@media (min-width: 640px){.prev-next[data-v-e257564d]{grid-template-columns:repeat(2,1fr);grid-column-gap:16px}}.pager-link[data-v-e257564d]{display:block;border:1px solid var(--vp-c-divider);border-radius:8px;padding:11px 16px 13px;width:100%;height:100%;transition:border-color .25s}.pager-link[data-v-e257564d]:hover{border-color:var(--vp-c-brand-1)}.pager-link.next[data-v-e257564d]{margin-left:auto;text-align:right}.desc[data-v-e257564d]{display:block;line-height:20px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.title[data-v-e257564d]{display:block;line-height:20px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.VPDoc[data-v-39a288b8]{padding:32px 24px 96px;width:100%}@media (min-width: 768px){.VPDoc[data-v-39a288b8]{padding:48px 32px 128px}}@media (min-width: 960px){.VPDoc[data-v-39a288b8]{padding:48px 32px 0}.VPDoc:not(.has-sidebar) .container[data-v-39a288b8]{display:flex;justify-content:center;max-width:992px}.VPDoc:not(.has-sidebar) .content[data-v-39a288b8]{max-width:752px}}@media (min-width: 1280px){.VPDoc .container[data-v-39a288b8]{display:flex;justify-content:center}.VPDoc .aside[data-v-39a288b8]{display:block}}@media (min-width: 1440px){.VPDoc:not(.has-sidebar) .content[data-v-39a288b8]{max-width:784px}.VPDoc:not(.has-sidebar) .container[data-v-39a288b8]{max-width:1104px}}.container[data-v-39a288b8]{margin:0 auto;width:100%}.aside[data-v-39a288b8]{position:relative;display:none;order:2;flex-grow:1;padding-left:32px;width:100%;max-width:256px}.left-aside[data-v-39a288b8]{order:1;padding-left:unset;padding-right:32px}.aside-container[data-v-39a288b8]{position:fixed;top:0;padding-top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + var(--vp-doc-top-height, 0px) + 48px);width:224px;height:100vh;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}.aside-container[data-v-39a288b8]::-webkit-scrollbar{display:none}.aside-curtain[data-v-39a288b8]{position:fixed;bottom:0;z-index:10;width:224px;height:32px;background:linear-gradient(transparent,var(--vp-c-bg) 70%)}.aside-content[data-v-39a288b8]{display:flex;flex-direction:column;min-height:calc(100vh - (var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px));padding-bottom:32px}.content[data-v-39a288b8]{position:relative;margin:0 auto;width:100%}@media (min-width: 960px){.content[data-v-39a288b8]{padding:0 32px 128px}}@media (min-width: 1280px){.content[data-v-39a288b8]{order:1;margin:0;min-width:640px}}.content-container[data-v-39a288b8]{margin:0 auto}.VPDoc.has-aside .content-container[data-v-39a288b8]{max-width:688px}.VPButton[data-v-cad61b99]{display:inline-block;border:1px solid transparent;text-align:center;font-weight:600;white-space:nowrap;transition:color .25s,border-color .25s,background-color .25s}.VPButton[data-v-cad61b99]:active{transition:color .1s,border-color .1s,background-color .1s}.VPButton.medium[data-v-cad61b99]{border-radius:20px;padding:0 20px;line-height:38px;font-size:14px}.VPButton.big[data-v-cad61b99]{border-radius:24px;padding:0 24px;line-height:46px;font-size:16px}.VPButton.brand[data-v-cad61b99]{border-color:var(--vp-button-brand-border);color:var(--vp-button-brand-text);background-color:var(--vp-button-brand-bg)}.VPButton.brand[data-v-cad61b99]:hover{border-color:var(--vp-button-brand-hover-border);color:var(--vp-button-brand-hover-text);background-color:var(--vp-button-brand-hover-bg)}.VPButton.brand[data-v-cad61b99]:active{border-color:var(--vp-button-brand-active-border);color:var(--vp-button-brand-active-text);background-color:var(--vp-button-brand-active-bg)}.VPButton.alt[data-v-cad61b99]{border-color:var(--vp-button-alt-border);color:var(--vp-button-alt-text);background-color:var(--vp-button-alt-bg)}.VPButton.alt[data-v-cad61b99]:hover{border-color:var(--vp-button-alt-hover-border);color:var(--vp-button-alt-hover-text);background-color:var(--vp-button-alt-hover-bg)}.VPButton.alt[data-v-cad61b99]:active{border-color:var(--vp-button-alt-active-border);color:var(--vp-button-alt-active-text);background-color:var(--vp-button-alt-active-bg)}.VPButton.sponsor[data-v-cad61b99]{border-color:var(--vp-button-sponsor-border);color:var(--vp-button-sponsor-text);background-color:var(--vp-button-sponsor-bg)}.VPButton.sponsor[data-v-cad61b99]:hover{border-color:var(--vp-button-sponsor-hover-border);color:var(--vp-button-sponsor-hover-text);background-color:var(--vp-button-sponsor-hover-bg)}.VPButton.sponsor[data-v-cad61b99]:active{border-color:var(--vp-button-sponsor-active-border);color:var(--vp-button-sponsor-active-text);background-color:var(--vp-button-sponsor-active-bg)}html:not(.dark) .VPImage.dark[data-v-8426fc1a]{display:none}.dark .VPImage.light[data-v-8426fc1a]{display:none}.VPHero[data-v-303bb580]{margin-top:calc((var(--vp-nav-height) + var(--vp-layout-top-height, 0px)) * -1);padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px) 24px 48px}@media (min-width: 640px){.VPHero[data-v-303bb580]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 48px 64px}}@media (min-width: 960px){.VPHero[data-v-303bb580]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 64px 64px}}.container[data-v-303bb580]{display:flex;flex-direction:column;margin:0 auto;max-width:1152px}@media (min-width: 960px){.container[data-v-303bb580]{flex-direction:row}}.main[data-v-303bb580]{position:relative;z-index:10;order:2;flex-grow:1;flex-shrink:0}.VPHero.has-image .container[data-v-303bb580]{text-align:center}@media (min-width: 960px){.VPHero.has-image .container[data-v-303bb580]{text-align:left}}@media (min-width: 960px){.main[data-v-303bb580]{order:1;width:calc((100% / 3) * 2)}.VPHero.has-image .main[data-v-303bb580]{max-width:592px}}.name[data-v-303bb580],.text[data-v-303bb580]{max-width:392px;letter-spacing:-.4px;line-height:40px;font-size:32px;font-weight:700;white-space:pre-wrap}.VPHero.has-image .name[data-v-303bb580],.VPHero.has-image .text[data-v-303bb580]{margin:0 auto}.name[data-v-303bb580]{color:var(--vp-home-hero-name-color)}.clip[data-v-303bb580]{background:var(--vp-home-hero-name-background);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:var(--vp-home-hero-name-color)}@media (min-width: 640px){.name[data-v-303bb580],.text[data-v-303bb580]{max-width:576px;line-height:56px;font-size:48px}}@media (min-width: 960px){.name[data-v-303bb580],.text[data-v-303bb580]{line-height:64px;font-size:56px}.VPHero.has-image .name[data-v-303bb580],.VPHero.has-image .text[data-v-303bb580]{margin:0}}.tagline[data-v-303bb580]{padding-top:8px;max-width:392px;line-height:28px;font-size:18px;font-weight:500;white-space:pre-wrap;color:var(--vp-c-text-2)}.VPHero.has-image .tagline[data-v-303bb580]{margin:0 auto}@media (min-width: 640px){.tagline[data-v-303bb580]{padding-top:12px;max-width:576px;line-height:32px;font-size:20px}}@media (min-width: 960px){.tagline[data-v-303bb580]{line-height:36px;font-size:24px}.VPHero.has-image .tagline[data-v-303bb580]{margin:0}}.actions[data-v-303bb580]{display:flex;flex-wrap:wrap;margin:-6px;padding-top:24px}.VPHero.has-image .actions[data-v-303bb580]{justify-content:center}@media (min-width: 640px){.actions[data-v-303bb580]{padding-top:32px}}@media (min-width: 960px){.VPHero.has-image .actions[data-v-303bb580]{justify-content:flex-start}}.action[data-v-303bb580]{flex-shrink:0;padding:6px}.image[data-v-303bb580]{order:1;margin:-76px -24px -48px}@media (min-width: 640px){.image[data-v-303bb580]{margin:-108px -24px -48px}}@media (min-width: 960px){.image[data-v-303bb580]{flex-grow:1;order:2;margin:0;min-height:100%}}.image-container[data-v-303bb580]{position:relative;margin:0 auto;width:320px;height:320px}@media (min-width: 640px){.image-container[data-v-303bb580]{width:392px;height:392px}}@media (min-width: 960px){.image-container[data-v-303bb580]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;transform:translate(-32px,-32px)}}.image-bg[data-v-303bb580]{position:absolute;top:50%;left:50%;border-radius:50%;width:192px;height:192px;background-image:var(--vp-home-hero-image-background-image);filter:var(--vp-home-hero-image-filter);transform:translate(-50%,-50%)}@media (min-width: 640px){.image-bg[data-v-303bb580]{width:256px;height:256px}}@media (min-width: 960px){.image-bg[data-v-303bb580]{width:320px;height:320px}}[data-v-303bb580] .image-src{position:absolute;top:50%;left:50%;max-width:192px;max-height:192px;transform:translate(-50%,-50%)}@media (min-width: 640px){[data-v-303bb580] .image-src{max-width:256px;max-height:256px}}@media (min-width: 960px){[data-v-303bb580] .image-src{max-width:320px;max-height:320px}}.VPFeature[data-v-a3976bdc]{display:block;border:1px solid var(--vp-c-bg-soft);border-radius:12px;height:100%;background-color:var(--vp-c-bg-soft);transition:border-color .25s,background-color .25s}.VPFeature.link[data-v-a3976bdc]:hover{border-color:var(--vp-c-brand-1)}.box[data-v-a3976bdc]{display:flex;flex-direction:column;padding:24px;height:100%}.box[data-v-a3976bdc]>.VPImage{margin-bottom:20px}.icon[data-v-a3976bdc]{display:flex;justify-content:center;align-items:center;margin-bottom:20px;border-radius:6px;background-color:var(--vp-c-default-soft);width:48px;height:48px;font-size:24px;transition:background-color .25s}.title[data-v-a3976bdc]{line-height:24px;font-size:16px;font-weight:600}.details[data-v-a3976bdc]{flex-grow:1;padding-top:8px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.link-text[data-v-a3976bdc]{padding-top:8px}.link-text-value[data-v-a3976bdc]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.link-text-icon[data-v-a3976bdc]{margin-left:6px}.VPFeatures[data-v-a6181336]{position:relative;padding:0 24px}@media (min-width: 640px){.VPFeatures[data-v-a6181336]{padding:0 48px}}@media (min-width: 960px){.VPFeatures[data-v-a6181336]{padding:0 64px}}.container[data-v-a6181336]{margin:0 auto;max-width:1152px}.items[data-v-a6181336]{display:flex;flex-wrap:wrap;margin:-8px}.item[data-v-a6181336]{padding:8px;width:100%}@media (min-width: 640px){.item.grid-2[data-v-a6181336],.item.grid-4[data-v-a6181336],.item.grid-6[data-v-a6181336]{width:50%}}@media (min-width: 768px){.item.grid-2[data-v-a6181336],.item.grid-4[data-v-a6181336]{width:50%}.item.grid-3[data-v-a6181336],.item.grid-6[data-v-a6181336]{width:calc(100% / 3)}}@media (min-width: 960px){.item.grid-4[data-v-a6181336]{width:25%}}.container[data-v-8e2d4988]{margin:auto;width:100%;max-width:1280px;padding:0 24px}@media (min-width: 640px){.container[data-v-8e2d4988]{padding:0 48px}}@media (min-width: 960px){.container[data-v-8e2d4988]{width:100%;padding:0 64px}}.vp-doc[data-v-8e2d4988] .VPHomeSponsors,.vp-doc[data-v-8e2d4988] .VPTeamPage{margin-left:var(--vp-offset, calc(50% - 50vw) );margin-right:var(--vp-offset, calc(50% - 50vw) )}.vp-doc[data-v-8e2d4988] .VPHomeSponsors h2{border-top:none;letter-spacing:normal}.vp-doc[data-v-8e2d4988] .VPHomeSponsors a,.vp-doc[data-v-8e2d4988] .VPTeamPage a{text-decoration:none}.VPHome[data-v-686f80a6]{margin-bottom:96px}@media (min-width: 768px){.VPHome[data-v-686f80a6]{margin-bottom:128px}}.VPContent[data-v-1428d186]{flex-grow:1;flex-shrink:0;margin:var(--vp-layout-top-height, 0px) auto 0;width:100%}.VPContent.is-home[data-v-1428d186]{width:100%;max-width:100%}.VPContent.has-sidebar[data-v-1428d186]{margin:0}@media (min-width: 960px){.VPContent[data-v-1428d186]{padding-top:var(--vp-nav-height)}.VPContent.has-sidebar[data-v-1428d186]{margin:var(--vp-layout-top-height, 0px) 0 0;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPContent.has-sidebar[data-v-1428d186]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.VPFooter[data-v-e315a0ad]{position:relative;z-index:var(--vp-z-index-footer);border-top:1px solid var(--vp-c-gutter);padding:32px 24px;background-color:var(--vp-c-bg)}.VPFooter.has-sidebar[data-v-e315a0ad]{display:none}.VPFooter[data-v-e315a0ad] a{text-decoration-line:underline;text-underline-offset:2px;transition:color .25s}.VPFooter[data-v-e315a0ad] a:hover{color:var(--vp-c-text-1)}@media (min-width: 768px){.VPFooter[data-v-e315a0ad]{padding:32px}}.container[data-v-e315a0ad]{margin:0 auto;max-width:var(--vp-layout-max-width);text-align:center}.message[data-v-e315a0ad],.copyright[data-v-e315a0ad]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.VPLocalNavOutlineDropdown[data-v-17a5e62e]{padding:12px 20px 11px}@media (min-width: 960px){.VPLocalNavOutlineDropdown[data-v-17a5e62e]{padding:12px 36px 11px}}.VPLocalNavOutlineDropdown button[data-v-17a5e62e]{display:block;font-size:12px;font-weight:500;line-height:24px;color:var(--vp-c-text-2);transition:color .5s;position:relative}.VPLocalNavOutlineDropdown button[data-v-17a5e62e]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPLocalNavOutlineDropdown button.open[data-v-17a5e62e]{color:var(--vp-c-text-1)}.icon[data-v-17a5e62e]{display:inline-block;vertical-align:middle;margin-left:2px;font-size:14px;transform:rotate(0);transition:transform .25s}@media (min-width: 960px){.VPLocalNavOutlineDropdown button[data-v-17a5e62e]{font-size:14px}.icon[data-v-17a5e62e]{font-size:16px}}.open>.icon[data-v-17a5e62e]{transform:rotate(90deg)}.items[data-v-17a5e62e]{position:absolute;top:40px;right:16px;left:16px;display:grid;gap:1px;border:1px solid var(--vp-c-border);border-radius:8px;background-color:var(--vp-c-gutter);max-height:calc(var(--vp-vh, 100vh) - 86px);overflow:hidden auto;box-shadow:var(--vp-shadow-3)}@media (min-width: 960px){.items[data-v-17a5e62e]{right:auto;left:calc(var(--vp-sidebar-width) + 32px);width:320px}}.header[data-v-17a5e62e]{background-color:var(--vp-c-bg-soft)}.top-link[data-v-17a5e62e]{display:block;padding:0 16px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.outline[data-v-17a5e62e]{padding:8px 0;background-color:var(--vp-c-bg-soft)}.flyout-enter-active[data-v-17a5e62e]{transition:all .2s ease-out}.flyout-leave-active[data-v-17a5e62e]{transition:all .15s ease-in}.flyout-enter-from[data-v-17a5e62e],.flyout-leave-to[data-v-17a5e62e]{opacity:0;transform:translateY(-16px)}.VPLocalNav[data-v-a6f0e41e]{position:sticky;top:0;left:0;z-index:var(--vp-z-index-local-nav);border-bottom:1px solid var(--vp-c-gutter);padding-top:var(--vp-layout-top-height, 0px);width:100%;background-color:var(--vp-local-nav-bg-color)}.VPLocalNav.fixed[data-v-a6f0e41e]{position:fixed}@media (min-width: 960px){.VPLocalNav[data-v-a6f0e41e]{top:var(--vp-nav-height)}.VPLocalNav.has-sidebar[data-v-a6f0e41e]{padding-left:var(--vp-sidebar-width)}.VPLocalNav.empty[data-v-a6f0e41e]{display:none}}@media (min-width: 1280px){.VPLocalNav[data-v-a6f0e41e]{display:none}}@media (min-width: 1440px){.VPLocalNav.has-sidebar[data-v-a6f0e41e]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.container[data-v-a6f0e41e]{display:flex;justify-content:space-between;align-items:center}.menu[data-v-a6f0e41e]{display:flex;align-items:center;padding:12px 24px 11px;line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.menu[data-v-a6f0e41e]:hover{color:var(--vp-c-text-1);transition:color .25s}@media (min-width: 768px){.menu[data-v-a6f0e41e]{padding:0 32px}}@media (min-width: 960px){.menu[data-v-a6f0e41e]{display:none}}.menu-icon[data-v-a6f0e41e]{margin-right:8px;font-size:14px}.VPOutlineDropdown[data-v-a6f0e41e]{padding:12px 24px 11px}@media (min-width: 768px){.VPOutlineDropdown[data-v-a6f0e41e]{padding:12px 32px 11px}}.VPSwitch[data-v-1d5665e3]{position:relative;border-radius:11px;display:block;width:40px;height:22px;flex-shrink:0;border:1px solid var(--vp-input-border-color);background-color:var(--vp-input-switch-bg-color);transition:border-color .25s!important}.VPSwitch[data-v-1d5665e3]:hover{border-color:var(--vp-c-brand-1)}.check[data-v-1d5665e3]{position:absolute;top:1px;left:1px;width:18px;height:18px;border-radius:50%;background-color:var(--vp-c-neutral-inverse);box-shadow:var(--vp-shadow-1);transition:transform .25s!important}.icon[data-v-1d5665e3]{position:relative;display:block;width:18px;height:18px;border-radius:50%;overflow:hidden}.icon[data-v-1d5665e3] [class^=vpi-]{position:absolute;top:3px;left:3px;width:12px;height:12px;color:var(--vp-c-text-2)}.dark .icon[data-v-1d5665e3] [class^=vpi-]{color:var(--vp-c-text-1);transition:opacity .25s!important}.sun[data-v-5337faa4]{opacity:1}.moon[data-v-5337faa4],.dark .sun[data-v-5337faa4]{opacity:0}.dark .moon[data-v-5337faa4]{opacity:1}.dark .VPSwitchAppearance[data-v-5337faa4] .check{transform:translate(18px)}.VPNavBarAppearance[data-v-6c893767]{display:none}@media (min-width: 1280px){.VPNavBarAppearance[data-v-6c893767]{display:flex;align-items:center}}.VPMenuGroup+.VPMenuLink[data-v-43f1e123]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.link[data-v-43f1e123]{display:block;border-radius:6px;padding:0 12px;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);white-space:nowrap;transition:background-color .25s,color .25s}.link[data-v-43f1e123]:hover{color:var(--vp-c-brand-1);background-color:var(--vp-c-default-soft)}.link.active[data-v-43f1e123]{color:var(--vp-c-brand-1)}.VPMenuGroup[data-v-69e747b5]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.VPMenuGroup[data-v-69e747b5]:first-child{margin-top:0;border-top:0;padding-top:0}.VPMenuGroup+.VPMenuGroup[data-v-69e747b5]{margin-top:12px;border-top:1px solid var(--vp-c-divider)}.title[data-v-69e747b5]{padding:0 12px;line-height:32px;font-size:14px;font-weight:600;color:var(--vp-c-text-2);white-space:nowrap;transition:color .25s}.VPMenu[data-v-b98bc113]{border-radius:12px;padding:12px;min-width:128px;border:1px solid var(--vp-c-divider);background-color:var(--vp-c-bg-elv);box-shadow:var(--vp-shadow-3);transition:background-color .5s;max-height:calc(100vh - var(--vp-nav-height));overflow-y:auto}.VPMenu[data-v-b98bc113] .group{margin:0 -12px;padding:0 12px 12px}.VPMenu[data-v-b98bc113] .group+.group{border-top:1px solid var(--vp-c-divider);padding:11px 12px 12px}.VPMenu[data-v-b98bc113] .group:last-child{padding-bottom:0}.VPMenu[data-v-b98bc113] .group+.item{border-top:1px solid var(--vp-c-divider);padding:11px 16px 0}.VPMenu[data-v-b98bc113] .item{padding:0 16px;white-space:nowrap}.VPMenu[data-v-b98bc113] .label{flex-grow:1;line-height:28px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.VPMenu[data-v-b98bc113] .action{padding-left:24px}.VPFlyout[data-v-b6c34ac9]{position:relative}.VPFlyout[data-v-b6c34ac9]:hover{color:var(--vp-c-brand-1);transition:color .25s}.VPFlyout:hover .text[data-v-b6c34ac9]{color:var(--vp-c-text-2)}.VPFlyout:hover .icon[data-v-b6c34ac9]{fill:var(--vp-c-text-2)}.VPFlyout.active .text[data-v-b6c34ac9]{color:var(--vp-c-brand-1)}.VPFlyout.active:hover .text[data-v-b6c34ac9]{color:var(--vp-c-brand-2)}.VPFlyout:hover .menu[data-v-b6c34ac9],.button[aria-expanded=true]+.menu[data-v-b6c34ac9]{opacity:1;visibility:visible;transform:translateY(0)}.button[aria-expanded=false]+.menu[data-v-b6c34ac9]{opacity:0;visibility:hidden;transform:translateY(0)}.button[data-v-b6c34ac9]{display:flex;align-items:center;padding:0 12px;height:var(--vp-nav-height);color:var(--vp-c-text-1);transition:color .5s}.text[data-v-b6c34ac9]{display:flex;align-items:center;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.option-icon[data-v-b6c34ac9]{margin-right:0;font-size:16px}.text-icon[data-v-b6c34ac9]{margin-left:4px;font-size:14px}.icon[data-v-b6c34ac9]{font-size:20px;transition:fill .25s}.menu[data-v-b6c34ac9]{position:absolute;top:calc(var(--vp-nav-height) / 2 + 20px);right:0;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s,transform .25s}.VPSocialLink[data-v-eee4e7cb]{display:flex;justify-content:center;align-items:center;width:36px;height:36px;color:var(--vp-c-text-2);transition:color .5s}.VPSocialLink[data-v-eee4e7cb]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPSocialLink[data-v-eee4e7cb]>svg,.VPSocialLink[data-v-eee4e7cb]>[class^=vpi-social-]{width:20px;height:20px;fill:currentColor}.VPSocialLinks[data-v-7bc22406]{display:flex;justify-content:center}.VPNavBarExtra[data-v-bb2aa2f0]{display:none;margin-right:-12px}@media (min-width: 768px){.VPNavBarExtra[data-v-bb2aa2f0]{display:block}}@media (min-width: 1280px){.VPNavBarExtra[data-v-bb2aa2f0]{display:none}}.trans-title[data-v-bb2aa2f0]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.item.appearance[data-v-bb2aa2f0],.item.social-links[data-v-bb2aa2f0]{display:flex;align-items:center;padding:0 12px}.item.appearance[data-v-bb2aa2f0]{min-width:176px}.appearance-action[data-v-bb2aa2f0]{margin-right:-2px}.social-links-list[data-v-bb2aa2f0]{margin:-4px -8px}.VPNavBarHamburger[data-v-e5dd9c1c]{display:flex;justify-content:center;align-items:center;width:48px;height:var(--vp-nav-height)}@media (min-width: 768px){.VPNavBarHamburger[data-v-e5dd9c1c]{display:none}}.container[data-v-e5dd9c1c]{position:relative;width:16px;height:14px;overflow:hidden}.VPNavBarHamburger:hover .top[data-v-e5dd9c1c]{top:0;left:0;transform:translate(4px)}.VPNavBarHamburger:hover .middle[data-v-e5dd9c1c]{top:6px;left:0;transform:translate(0)}.VPNavBarHamburger:hover .bottom[data-v-e5dd9c1c]{top:12px;left:0;transform:translate(8px)}.VPNavBarHamburger.active .top[data-v-e5dd9c1c]{top:6px;transform:translate(0) rotate(225deg)}.VPNavBarHamburger.active .middle[data-v-e5dd9c1c]{top:6px;transform:translate(16px)}.VPNavBarHamburger.active .bottom[data-v-e5dd9c1c]{top:6px;transform:translate(0) rotate(135deg)}.VPNavBarHamburger.active:hover .top[data-v-e5dd9c1c],.VPNavBarHamburger.active:hover .middle[data-v-e5dd9c1c],.VPNavBarHamburger.active:hover .bottom[data-v-e5dd9c1c]{background-color:var(--vp-c-text-2);transition:top .25s,background-color .25s,transform .25s}.top[data-v-e5dd9c1c],.middle[data-v-e5dd9c1c],.bottom[data-v-e5dd9c1c]{position:absolute;width:16px;height:2px;background-color:var(--vp-c-text-1);transition:top .25s,background-color .5s,transform .25s}.top[data-v-e5dd9c1c]{top:0;left:0;transform:translate(0)}.middle[data-v-e5dd9c1c]{top:6px;left:0;transform:translate(8px)}.bottom[data-v-e5dd9c1c]{top:12px;left:0;transform:translate(4px)}.VPNavBarMenuLink[data-v-9c663999]{display:flex;align-items:center;padding:0 12px;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.VPNavBarMenuLink.active[data-v-9c663999],.VPNavBarMenuLink[data-v-9c663999]:hover{color:var(--vp-c-brand-1)}.VPNavBarMenu[data-v-dc692963]{display:none}@media (min-width: 768px){.VPNavBarMenu[data-v-dc692963]{display:flex}}/*! @docsearch/css 3.6.2 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */:root{--docsearch-primary-color:#5468ff;--docsearch-text-color:#1c1e21;--docsearch-spacing:12px;--docsearch-icon-stroke-width:1.4;--docsearch-highlight-color:var(--docsearch-primary-color);--docsearch-muted-color:#969faf;--docsearch-container-background:rgba(101,108,133,.8);--docsearch-logo-color:#5468ff;--docsearch-modal-width:560px;--docsearch-modal-height:600px;--docsearch-modal-background:#f5f6f7;--docsearch-modal-shadow:inset 1px 1px 0 0 hsla(0,0%,100%,.5),0 3px 8px 0 #555a64;--docsearch-searchbox-height:56px;--docsearch-searchbox-background:#ebedf0;--docsearch-searchbox-focus-background:#fff;--docsearch-searchbox-shadow:inset 0 0 0 2px var(--docsearch-primary-color);--docsearch-hit-height:56px;--docsearch-hit-color:#444950;--docsearch-hit-active-color:#fff;--docsearch-hit-background:#fff;--docsearch-hit-shadow:0 1px 3px 0 #d4d9e1;--docsearch-key-gradient:linear-gradient(-225deg,#d5dbe4,#f8f8f8);--docsearch-key-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,.4);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 1px 0 rgba(30,35,90,.4);--docsearch-footer-height:44px;--docsearch-footer-background:#fff;--docsearch-footer-shadow:0 -1px 0 0 #e0e3e8,0 -3px 6px 0 rgba(69,98,155,.12)}html[data-theme=dark]{--docsearch-text-color:#f5f6f7;--docsearch-container-background:rgba(9,10,17,.8);--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 rgba(3,4,9,.3);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 1px 1px 0 rgba(3,4,9,.30196078431372547);--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 rgba(73,76,106,.5),0 -4px 8px 0 rgba(0,0,0,.2);--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}.DocSearch-Button{align-items:center;background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;display:flex;font-weight:500;height:36px;justify-content:space-between;margin:0 0 0 16px;padding:0 8px;-webkit-user-select:none;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:none}.DocSearch-Button-Container{align-items:center;display:flex}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + .8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;position:relative;padding:0 0 2px;border:0;top:-1px;width:20px}.DocSearch-Button-Key--pressed{transform:translate3d(0,1px,0);box-shadow:var(--docsearch-key-pressed-shadow)}@media (max-width:768px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder{display:none}}.DocSearch--active{overflow:hidden!important}.DocSearch-Container,.DocSearch-Container *{box-sizing:border-box}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:200}.DocSearch-Container a{text-decoration:none}.DocSearch-Link{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;font:inherit;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:var(--docsearch-text-color);flex:1;font:inherit;font-size:1.2em;height:100%;outline:none;padding:0 0 0 8px;width:80%}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator{display:none}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{animation:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0;stroke-width:var(--docsearch-icon-stroke-width)}}.DocSearch-Reset{animation:fade-in .1s ease-in forwards;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;padding:2px;right:0;stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Cancel{display:none}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:transparent}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Help{font-size:.9em;margin:0;-webkit-user-select:none;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{color:var(--docsearch-muted-color);display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--deleting{transition:none}}.DocSearch-Hit--deleting{opacity:0;transition:all .25s linear}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--favoriting{transition:none}}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:all .25s linear;transition-delay:.25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:sticky;top:0;z-index:10}.DocSearch-Hit-Tree{color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;stroke-width:var(--docsearch-icon-stroke-width);width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{color:var(--docsearch-muted-color);stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action{margin-left:6px}.DocSearch-Hit-action-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer;padding:2px}svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:background-color .1s ease-in}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{transition:none}}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:none}}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"» "}.DocSearch-Prefill{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:none;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:300}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li{align-items:center;display:flex}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border-radius:2px;box-shadow:var(--docsearch-key-shadow);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;color:var(--docsearch-muted-color);border:0;width:20px}.DocSearch-VisuallyHiddenForAccessibility{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media (max-width:768px){:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Dropdown{max-height:calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Cancel{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:none;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;white-space:nowrap}.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[class*=DocSearch]{--docsearch-primary-color: var(--vp-c-brand-1);--docsearch-highlight-color: var(--docsearch-primary-color);--docsearch-text-color: var(--vp-c-text-1);--docsearch-muted-color: var(--vp-c-text-2);--docsearch-searchbox-shadow: none;--docsearch-searchbox-background: transparent;--docsearch-searchbox-focus-background: transparent;--docsearch-key-gradient: transparent;--docsearch-key-shadow: none;--docsearch-modal-background: var(--vp-c-bg-soft);--docsearch-footer-background: var(--vp-c-bg)}.dark [class*=DocSearch]{--docsearch-modal-shadow: none;--docsearch-footer-shadow: none;--docsearch-logo-color: var(--vp-c-text-2);--docsearch-hit-background: var(--vp-c-default-soft);--docsearch-hit-color: var(--vp-c-text-2);--docsearch-hit-shadow: none}.DocSearch-Button{display:flex;justify-content:center;align-items:center;margin:0;padding:0;width:48px;height:55px;background:transparent;transition:border-color .25s}.DocSearch-Button:hover{background:transparent}.DocSearch-Button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.DocSearch-Button-Key--pressed{transform:none;box-shadow:none}.DocSearch-Button:focus:not(:focus-visible){outline:none!important}@media (min-width: 768px){.DocSearch-Button{justify-content:flex-start;border:1px solid transparent;border-radius:8px;padding:0 10px 0 12px;width:100%;height:40px;background-color:var(--vp-c-bg-alt)}.DocSearch-Button:hover{border-color:var(--vp-c-brand-1);background:var(--vp-c-bg-alt)}}.DocSearch-Button .DocSearch-Button-Container{display:flex;align-items:center}.DocSearch-Button .DocSearch-Search-Icon{position:relative;width:16px;height:16px;color:var(--vp-c-text-1);fill:currentColor;transition:color .5s}.DocSearch-Button:hover .DocSearch-Search-Icon{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Search-Icon{top:1px;margin-right:8px;width:14px;height:14px;color:var(--vp-c-text-2)}}.DocSearch-Button .DocSearch-Button-Placeholder{display:none;margin-top:2px;padding:0 16px 0 0;font-size:13px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.DocSearch-Button:hover .DocSearch-Button-Placeholder{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Placeholder{display:inline-block}}.DocSearch-Button .DocSearch-Button-Keys{direction:ltr;display:none;min-width:auto}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Keys{display:flex;align-items:center}}.DocSearch-Button .DocSearch-Button-Key{display:block;margin:2px 0 0;border:1px solid var(--vp-c-divider);border-right:none;border-radius:4px 0 0 4px;padding-left:6px;min-width:0;width:auto;height:22px;line-height:22px;font-family:var(--vp-font-family-base);font-size:12px;font-weight:500;transition:color .5s,border-color .5s}.DocSearch-Button .DocSearch-Button-Key+.DocSearch-Button-Key{border-right:1px solid var(--vp-c-divider);border-left:none;border-radius:0 4px 4px 0;padding-left:2px;padding-right:6px}.DocSearch-Button .DocSearch-Button-Key:first-child{font-size:0!important}.DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"Ctrl";font-size:12px;letter-spacing:normal;color:var(--docsearch-muted-color)}.mac .DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"⌘"}.DocSearch-Button .DocSearch-Button-Key:first-child>*{display:none}.DocSearch-Search-Icon{--icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' stroke-width='1.6' viewBox='0 0 20 20'%3E%3Cpath fill='none' stroke='currentColor' stroke-linecap='round' stroke-linejoin='round' d='m14.386 14.386 4.088 4.088-4.088-4.088A7.533 7.533 0 1 1 3.733 3.733a7.533 7.533 0 0 1 10.653 10.653z'/%3E%3C/svg%3E")}.VPNavBarSearch{display:flex;align-items:center}@media (min-width: 768px){.VPNavBarSearch{flex-grow:1;padding-left:24px}}@media (min-width: 960px){.VPNavBarSearch{padding-left:32px}}.dark .DocSearch-Footer{border-top:1px solid var(--vp-c-divider)}.DocSearch-Form{border:1px solid var(--vp-c-brand-1);background-color:var(--vp-c-white)}.dark .DocSearch-Form{background-color:var(--vp-c-default-soft)}.DocSearch-Screen-Icon>svg{margin:auto}.VPNavBarSocialLinks[data-v-0394ad82]{display:none}@media (min-width: 1280px){.VPNavBarSocialLinks[data-v-0394ad82]{display:flex;align-items:center}}.title[data-v-ab179fa1]{display:flex;align-items:center;border-bottom:1px solid transparent;width:100%;height:var(--vp-nav-height);font-size:16px;font-weight:600;color:var(--vp-c-text-1);transition:opacity .25s}@media (min-width: 960px){.title[data-v-ab179fa1]{flex-shrink:0}.VPNavBarTitle.has-sidebar .title[data-v-ab179fa1]{border-bottom-color:var(--vp-c-divider)}}[data-v-ab179fa1] .logo{margin-right:8px;height:var(--vp-nav-logo-height)}.VPNavBarTranslations[data-v-88af2de4]{display:none}@media (min-width: 1280px){.VPNavBarTranslations[data-v-88af2de4]{display:flex;align-items:center}}.title[data-v-88af2de4]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.VPNavBar[data-v-6aa21345]{position:relative;height:var(--vp-nav-height);pointer-events:none;white-space:nowrap;transition:background-color .25s}.VPNavBar.screen-open[data-v-6aa21345]{transition:none;background-color:var(--vp-nav-bg-color);border-bottom:1px solid var(--vp-c-divider)}.VPNavBar[data-v-6aa21345]:not(.home){background-color:var(--vp-nav-bg-color)}@media (min-width: 960px){.VPNavBar[data-v-6aa21345]:not(.home){background-color:transparent}.VPNavBar[data-v-6aa21345]:not(.has-sidebar):not(.home.top){background-color:var(--vp-nav-bg-color)}}.wrapper[data-v-6aa21345]{padding:0 8px 0 24px}@media (min-width: 768px){.wrapper[data-v-6aa21345]{padding:0 32px}}@media (min-width: 960px){.VPNavBar.has-sidebar .wrapper[data-v-6aa21345]{padding:0}}.container[data-v-6aa21345]{display:flex;justify-content:space-between;margin:0 auto;max-width:calc(var(--vp-layout-max-width) - 64px);height:var(--vp-nav-height);pointer-events:none}.container>.title[data-v-6aa21345],.container>.content[data-v-6aa21345]{pointer-events:none}.container[data-v-6aa21345] *{pointer-events:auto}@media (min-width: 960px){.VPNavBar.has-sidebar .container[data-v-6aa21345]{max-width:100%}}.title[data-v-6aa21345]{flex-shrink:0;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar.has-sidebar .title[data-v-6aa21345]{position:absolute;top:0;left:0;z-index:2;padding:0 32px;width:var(--vp-sidebar-width);height:var(--vp-nav-height);background-color:transparent}}@media (min-width: 1440px){.VPNavBar.has-sidebar .title[data-v-6aa21345]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}.content[data-v-6aa21345]{flex-grow:1}@media (min-width: 960px){.VPNavBar.has-sidebar .content[data-v-6aa21345]{position:relative;z-index:1;padding-right:32px;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .content[data-v-6aa21345]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2 + 32px);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.content-body[data-v-6aa21345]{display:flex;justify-content:flex-end;align-items:center;height:var(--vp-nav-height);transition:background-color .5s}@media (min-width: 960px){.VPNavBar:not(.home.top) .content-body[data-v-6aa21345]{position:relative;background-color:var(--vp-nav-bg-color)}.VPNavBar:not(.has-sidebar):not(.home.top) .content-body[data-v-6aa21345]{background-color:transparent}}@media (max-width: 767px){.content-body[data-v-6aa21345]{column-gap:.5rem}}.menu+.translations[data-v-6aa21345]:before,.menu+.appearance[data-v-6aa21345]:before,.menu+.social-links[data-v-6aa21345]:before,.translations+.appearance[data-v-6aa21345]:before,.appearance+.social-links[data-v-6aa21345]:before{margin-right:8px;margin-left:8px;width:1px;height:24px;background-color:var(--vp-c-divider);content:""}.menu+.appearance[data-v-6aa21345]:before,.translations+.appearance[data-v-6aa21345]:before{margin-right:16px}.appearance+.social-links[data-v-6aa21345]:before{margin-left:16px}.social-links[data-v-6aa21345]{margin-right:-8px}.divider[data-v-6aa21345]{width:100%;height:1px}@media (min-width: 960px){.VPNavBar.has-sidebar .divider[data-v-6aa21345]{padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .divider[data-v-6aa21345]{padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.divider-line[data-v-6aa21345]{width:100%;height:1px;transition:background-color .5s}.VPNavBar:not(.home) .divider-line[data-v-6aa21345]{background-color:var(--vp-c-gutter)}@media (min-width: 960px){.VPNavBar:not(.home.top) .divider-line[data-v-6aa21345]{background-color:var(--vp-c-gutter)}.VPNavBar:not(.has-sidebar):not(.home.top) .divider[data-v-6aa21345]{background-color:var(--vp-c-gutter)}}.VPNavScreenAppearance[data-v-b44890b2]{display:flex;justify-content:space-between;align-items:center;border-radius:8px;padding:12px 14px 12px 16px;background-color:var(--vp-c-bg-soft)}.text[data-v-b44890b2]{line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.VPNavScreenMenuLink[data-v-7f31e1f6]{display:block;border-bottom:1px solid var(--vp-c-divider);padding:12px 0 11px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:border-color .25s,color .25s}.VPNavScreenMenuLink[data-v-7f31e1f6]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupLink[data-v-19976ae1]{display:block;margin-left:12px;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-1);transition:color .25s}.VPNavScreenMenuGroupLink[data-v-19976ae1]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupSection[data-v-8133b170]{display:block}.title[data-v-8133b170]{line-height:32px;font-size:13px;font-weight:700;color:var(--vp-c-text-2);transition:color .25s}.VPNavScreenMenuGroup[data-v-b9ab8c58]{border-bottom:1px solid var(--vp-c-divider);height:48px;overflow:hidden;transition:border-color .5s}.VPNavScreenMenuGroup .items[data-v-b9ab8c58]{visibility:hidden}.VPNavScreenMenuGroup.open .items[data-v-b9ab8c58]{visibility:visible}.VPNavScreenMenuGroup.open[data-v-b9ab8c58]{padding-bottom:10px;height:auto}.VPNavScreenMenuGroup.open .button[data-v-b9ab8c58]{padding-bottom:6px;color:var(--vp-c-brand-1)}.VPNavScreenMenuGroup.open .button-icon[data-v-b9ab8c58]{transform:rotate(45deg)}.button[data-v-b9ab8c58]{display:flex;justify-content:space-between;align-items:center;padding:12px 4px 11px 0;width:100%;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.button[data-v-b9ab8c58]:hover{color:var(--vp-c-brand-1)}.button-icon[data-v-b9ab8c58]{transition:transform .25s}.group[data-v-b9ab8c58]:first-child{padding-top:0}.group+.group[data-v-b9ab8c58],.group+.item[data-v-b9ab8c58]{padding-top:4px}.VPNavScreenTranslations[data-v-858fe1a4]{height:24px;overflow:hidden}.VPNavScreenTranslations.open[data-v-858fe1a4]{height:auto}.title[data-v-858fe1a4]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-text-1)}.icon[data-v-858fe1a4]{font-size:16px}.icon.lang[data-v-858fe1a4]{margin-right:8px}.icon.chevron[data-v-858fe1a4]{margin-left:4px}.list[data-v-858fe1a4]{padding:4px 0 0 24px}.link[data-v-858fe1a4]{line-height:32px;font-size:13px;color:var(--vp-c-text-1)}.VPNavScreen[data-v-f2779853]{position:fixed;top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px));right:0;bottom:0;left:0;padding:0 32px;width:100%;background-color:var(--vp-nav-screen-bg-color);overflow-y:auto;transition:background-color .25s;pointer-events:auto}.VPNavScreen.fade-enter-active[data-v-f2779853],.VPNavScreen.fade-leave-active[data-v-f2779853]{transition:opacity .25s}.VPNavScreen.fade-enter-active .container[data-v-f2779853],.VPNavScreen.fade-leave-active .container[data-v-f2779853]{transition:transform .25s ease}.VPNavScreen.fade-enter-from[data-v-f2779853],.VPNavScreen.fade-leave-to[data-v-f2779853]{opacity:0}.VPNavScreen.fade-enter-from .container[data-v-f2779853],.VPNavScreen.fade-leave-to .container[data-v-f2779853]{transform:translateY(-8px)}@media (min-width: 768px){.VPNavScreen[data-v-f2779853]{display:none}}.container[data-v-f2779853]{margin:0 auto;padding:24px 0 96px;max-width:288px}.menu+.translations[data-v-f2779853],.menu+.appearance[data-v-f2779853],.translations+.appearance[data-v-f2779853]{margin-top:24px}.menu+.social-links[data-v-f2779853]{margin-top:16px}.appearance+.social-links[data-v-f2779853]{margin-top:16px}.VPNav[data-v-ae24b3ad]{position:relative;top:var(--vp-layout-top-height, 0px);left:0;z-index:var(--vp-z-index-nav);width:100%;pointer-events:none;transition:background-color .5s}@media (min-width: 960px){.VPNav[data-v-ae24b3ad]{position:fixed}}.VPSidebarItem.level-0[data-v-b7550ba0]{padding-bottom:24px}.VPSidebarItem.collapsed.level-0[data-v-b7550ba0]{padding-bottom:10px}.item[data-v-b7550ba0]{position:relative;display:flex;width:100%}.VPSidebarItem.collapsible>.item[data-v-b7550ba0]{cursor:pointer}.indicator[data-v-b7550ba0]{position:absolute;top:6px;bottom:6px;left:-17px;width:2px;border-radius:2px;transition:background-color .25s}.VPSidebarItem.level-2.is-active>.item>.indicator[data-v-b7550ba0],.VPSidebarItem.level-3.is-active>.item>.indicator[data-v-b7550ba0],.VPSidebarItem.level-4.is-active>.item>.indicator[data-v-b7550ba0],.VPSidebarItem.level-5.is-active>.item>.indicator[data-v-b7550ba0]{background-color:var(--vp-c-brand-1)}.link[data-v-b7550ba0]{display:flex;align-items:center;flex-grow:1}.text[data-v-b7550ba0]{flex-grow:1;padding:4px 0;line-height:24px;font-size:14px;transition:color .25s}.VPSidebarItem.level-0 .text[data-v-b7550ba0]{font-weight:700;color:var(--vp-c-text-1)}.VPSidebarItem.level-1 .text[data-v-b7550ba0],.VPSidebarItem.level-2 .text[data-v-b7550ba0],.VPSidebarItem.level-3 .text[data-v-b7550ba0],.VPSidebarItem.level-4 .text[data-v-b7550ba0],.VPSidebarItem.level-5 .text[data-v-b7550ba0]{font-weight:500;color:var(--vp-c-text-2)}.VPSidebarItem.level-0.is-link>.item>.link:hover .text[data-v-b7550ba0],.VPSidebarItem.level-1.is-link>.item>.link:hover .text[data-v-b7550ba0],.VPSidebarItem.level-2.is-link>.item>.link:hover .text[data-v-b7550ba0],.VPSidebarItem.level-3.is-link>.item>.link:hover .text[data-v-b7550ba0],.VPSidebarItem.level-4.is-link>.item>.link:hover .text[data-v-b7550ba0],.VPSidebarItem.level-5.is-link>.item>.link:hover .text[data-v-b7550ba0]{color:var(--vp-c-brand-1)}.VPSidebarItem.level-0.has-active>.item>.text[data-v-b7550ba0],.VPSidebarItem.level-1.has-active>.item>.text[data-v-b7550ba0],.VPSidebarItem.level-2.has-active>.item>.text[data-v-b7550ba0],.VPSidebarItem.level-3.has-active>.item>.text[data-v-b7550ba0],.VPSidebarItem.level-4.has-active>.item>.text[data-v-b7550ba0],.VPSidebarItem.level-5.has-active>.item>.text[data-v-b7550ba0],.VPSidebarItem.level-0.has-active>.item>.link>.text[data-v-b7550ba0],.VPSidebarItem.level-1.has-active>.item>.link>.text[data-v-b7550ba0],.VPSidebarItem.level-2.has-active>.item>.link>.text[data-v-b7550ba0],.VPSidebarItem.level-3.has-active>.item>.link>.text[data-v-b7550ba0],.VPSidebarItem.level-4.has-active>.item>.link>.text[data-v-b7550ba0],.VPSidebarItem.level-5.has-active>.item>.link>.text[data-v-b7550ba0]{color:var(--vp-c-text-1)}.VPSidebarItem.level-0.is-active>.item .link>.text[data-v-b7550ba0],.VPSidebarItem.level-1.is-active>.item .link>.text[data-v-b7550ba0],.VPSidebarItem.level-2.is-active>.item .link>.text[data-v-b7550ba0],.VPSidebarItem.level-3.is-active>.item .link>.text[data-v-b7550ba0],.VPSidebarItem.level-4.is-active>.item .link>.text[data-v-b7550ba0],.VPSidebarItem.level-5.is-active>.item .link>.text[data-v-b7550ba0]{color:var(--vp-c-brand-1)}.caret[data-v-b7550ba0]{display:flex;justify-content:center;align-items:center;margin-right:-7px;width:32px;height:32px;color:var(--vp-c-text-3);cursor:pointer;transition:color .25s;flex-shrink:0}.item:hover .caret[data-v-b7550ba0]{color:var(--vp-c-text-2)}.item:hover .caret[data-v-b7550ba0]:hover{color:var(--vp-c-text-1)}.caret-icon[data-v-b7550ba0]{font-size:18px;transform:rotate(90deg);transition:transform .25s}.VPSidebarItem.collapsed .caret-icon[data-v-b7550ba0]{transform:rotate(0)}.VPSidebarItem.level-1 .items[data-v-b7550ba0],.VPSidebarItem.level-2 .items[data-v-b7550ba0],.VPSidebarItem.level-3 .items[data-v-b7550ba0],.VPSidebarItem.level-4 .items[data-v-b7550ba0],.VPSidebarItem.level-5 .items[data-v-b7550ba0]{border-left:1px solid var(--vp-c-divider);padding-left:16px}.VPSidebarItem.collapsed .items[data-v-b7550ba0]{display:none}.no-transition[data-v-c40bc020] .caret-icon{transition:none}.group+.group[data-v-c40bc020]{border-top:1px solid var(--vp-c-divider);padding-top:10px}@media (min-width: 960px){.group[data-v-c40bc020]{padding-top:10px;width:calc(var(--vp-sidebar-width) - 64px)}}.VPSidebar[data-v-319d5ca6]{position:fixed;top:var(--vp-layout-top-height, 0px);bottom:0;left:0;z-index:var(--vp-z-index-sidebar);padding:32px 32px 96px;width:calc(100vw - 64px);max-width:320px;background-color:var(--vp-sidebar-bg-color);opacity:0;box-shadow:var(--vp-c-shadow-3);overflow-x:hidden;overflow-y:auto;transform:translate(-100%);transition:opacity .5s,transform .25s ease;overscroll-behavior:contain}.VPSidebar.open[data-v-319d5ca6]{opacity:1;visibility:visible;transform:translate(0);transition:opacity .25s,transform .5s cubic-bezier(.19,1,.22,1)}.dark .VPSidebar[data-v-319d5ca6]{box-shadow:var(--vp-shadow-1)}@media (min-width: 960px){.VPSidebar[data-v-319d5ca6]{padding-top:var(--vp-nav-height);width:var(--vp-sidebar-width);max-width:100%;background-color:var(--vp-sidebar-bg-color);opacity:1;visibility:visible;box-shadow:none;transform:translate(0)}}@media (min-width: 1440px){.VPSidebar[data-v-319d5ca6]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}@media (min-width: 960px){.curtain[data-v-319d5ca6]{position:sticky;top:-64px;left:0;z-index:1;margin-top:calc(var(--vp-nav-height) * -1);margin-right:-32px;margin-left:-32px;height:var(--vp-nav-height);background-color:var(--vp-sidebar-bg-color)}}.nav[data-v-319d5ca6]{outline:0}.VPSkipLink[data-v-0f60ec36]{top:8px;left:8px;padding:8px 16px;z-index:999;border-radius:8px;font-size:12px;font-weight:700;text-decoration:none;color:var(--vp-c-brand-1);box-shadow:var(--vp-shadow-3);background-color:var(--vp-c-bg)}.VPSkipLink[data-v-0f60ec36]:focus{height:auto;width:auto;clip:auto;clip-path:none}@media (min-width: 1280px){.VPSkipLink[data-v-0f60ec36]{top:14px;left:16px}}.Layout[data-v-5d98c3a5]{display:flex;flex-direction:column;min-height:100vh}.VPHomeSponsors[data-v-3d121b4a]{border-top:1px solid var(--vp-c-gutter);padding-top:88px!important}.VPHomeSponsors[data-v-3d121b4a]{margin:96px 0}@media (min-width: 768px){.VPHomeSponsors[data-v-3d121b4a]{margin:128px 0}}.VPHomeSponsors[data-v-3d121b4a]{padding:0 24px}@media (min-width: 768px){.VPHomeSponsors[data-v-3d121b4a]{padding:0 48px}}@media (min-width: 960px){.VPHomeSponsors[data-v-3d121b4a]{padding:0 64px}}.container[data-v-3d121b4a]{margin:0 auto;max-width:1152px}.love[data-v-3d121b4a]{margin:0 auto;width:fit-content;font-size:28px;color:var(--vp-c-text-3)}.icon[data-v-3d121b4a]{display:inline-block}.message[data-v-3d121b4a]{margin:0 auto;padding-top:10px;max-width:320px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.sponsors[data-v-3d121b4a]{padding-top:32px}.action[data-v-3d121b4a]{padding-top:40px;text-align:center}.VPTeamPage[data-v-7c57f839]{margin:96px 0}@media (min-width: 768px){.VPTeamPage[data-v-7c57f839]{margin:128px 0}}.VPHome .VPTeamPageTitle[data-v-7c57f839-s]{border-top:1px solid var(--vp-c-gutter);padding-top:88px!important}.VPTeamPageSection+.VPTeamPageSection[data-v-7c57f839-s],.VPTeamMembers+.VPTeamPageSection[data-v-7c57f839-s]{margin-top:64px}.VPTeamMembers+.VPTeamMembers[data-v-7c57f839-s]{margin-top:24px}@media (min-width: 768px){.VPTeamPageTitle+.VPTeamPageSection[data-v-7c57f839-s]{margin-top:16px}.VPTeamPageSection+.VPTeamPageSection[data-v-7c57f839-s],.VPTeamMembers+.VPTeamPageSection[data-v-7c57f839-s]{margin-top:96px}}.VPTeamMembers[data-v-7c57f839-s]{padding:0 24px}@media (min-width: 768px){.VPTeamMembers[data-v-7c57f839-s]{padding:0 48px}}@media (min-width: 960px){.VPTeamMembers[data-v-7c57f839-s]{padding:0 64px}}.VPTeamPageTitle[data-v-bf2cbdac]{padding:48px 32px;text-align:center}@media (min-width: 768px){.VPTeamPageTitle[data-v-bf2cbdac]{padding:64px 48px 48px}}@media (min-width: 960px){.VPTeamPageTitle[data-v-bf2cbdac]{padding:80px 64px 48px}}.title[data-v-bf2cbdac]{letter-spacing:0;line-height:44px;font-size:36px;font-weight:500}@media (min-width: 768px){.title[data-v-bf2cbdac]{letter-spacing:-.5px;line-height:56px;font-size:48px}}.lead[data-v-bf2cbdac]{margin:0 auto;max-width:512px;padding-top:12px;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 768px){.lead[data-v-bf2cbdac]{max-width:592px;letter-spacing:.15px;line-height:28px;font-size:20px}}.VPTeamPageSection[data-v-b1a88750]{padding:0 32px}@media (min-width: 768px){.VPTeamPageSection[data-v-b1a88750]{padding:0 48px}}@media (min-width: 960px){.VPTeamPageSection[data-v-b1a88750]{padding:0 64px}}.title[data-v-b1a88750]{position:relative;margin:0 auto;max-width:1152px;text-align:center;color:var(--vp-c-text-2)}.title-line[data-v-b1a88750]{position:absolute;top:16px;left:0;width:100%;height:1px;background-color:var(--vp-c-divider)}.title-text[data-v-b1a88750]{position:relative;display:inline-block;padding:0 24px;letter-spacing:0;line-height:32px;font-size:20px;font-weight:500;background-color:var(--vp-c-bg)}.lead[data-v-b1a88750]{margin:0 auto;max-width:480px;padding-top:12px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.members[data-v-b1a88750]{padding-top:40px}.VPTeamMembersItem[data-v-f3fa364a]{display:flex;flex-direction:column;gap:2px;border-radius:12px;width:100%;height:100%;overflow:hidden}.VPTeamMembersItem.small .profile[data-v-f3fa364a]{padding:32px}.VPTeamMembersItem.small .data[data-v-f3fa364a]{padding-top:20px}.VPTeamMembersItem.small .avatar[data-v-f3fa364a]{width:64px;height:64px}.VPTeamMembersItem.small .name[data-v-f3fa364a]{line-height:24px;font-size:16px}.VPTeamMembersItem.small .affiliation[data-v-f3fa364a]{padding-top:4px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .desc[data-v-f3fa364a]{padding-top:12px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .links[data-v-f3fa364a]{margin:0 -16px -20px;padding:10px 0 0}.VPTeamMembersItem.medium .profile[data-v-f3fa364a]{padding:48px 32px}.VPTeamMembersItem.medium .data[data-v-f3fa364a]{padding-top:24px;text-align:center}.VPTeamMembersItem.medium .avatar[data-v-f3fa364a]{width:96px;height:96px}.VPTeamMembersItem.medium .name[data-v-f3fa364a]{letter-spacing:.15px;line-height:28px;font-size:20px}.VPTeamMembersItem.medium .affiliation[data-v-f3fa364a]{padding-top:4px;font-size:16px}.VPTeamMembersItem.medium .desc[data-v-f3fa364a]{padding-top:16px;max-width:288px;font-size:16px}.VPTeamMembersItem.medium .links[data-v-f3fa364a]{margin:0 -16px -12px;padding:16px 12px 0}.profile[data-v-f3fa364a]{flex-grow:1;background-color:var(--vp-c-bg-soft)}.data[data-v-f3fa364a]{text-align:center}.avatar[data-v-f3fa364a]{position:relative;flex-shrink:0;margin:0 auto;border-radius:50%;box-shadow:var(--vp-shadow-3)}.avatar-img[data-v-f3fa364a]{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;object-fit:cover}.name[data-v-f3fa364a]{margin:0;font-weight:600}.affiliation[data-v-f3fa364a]{margin:0;font-weight:500;color:var(--vp-c-text-2)}.org.link[data-v-f3fa364a]{color:var(--vp-c-text-2);transition:color .25s}.org.link[data-v-f3fa364a]:hover{color:var(--vp-c-brand-1)}.desc[data-v-f3fa364a]{margin:0 auto}.desc[data-v-f3fa364a] a{font-weight:500;color:var(--vp-c-brand-1);text-decoration-style:dotted;transition:color .25s}.links[data-v-f3fa364a]{display:flex;justify-content:center;height:56px}.sp-link[data-v-f3fa364a]{display:flex;justify-content:center;align-items:center;text-align:center;padding:16px;font-size:14px;font-weight:500;color:var(--vp-c-sponsor);background-color:var(--vp-c-bg-soft);transition:color .25s,background-color .25s}.sp .sp-link.link[data-v-f3fa364a]:hover,.sp .sp-link.link[data-v-f3fa364a]:focus{outline:none;color:var(--vp-c-white);background-color:var(--vp-c-sponsor)}.sp-icon[data-v-f3fa364a]{margin-right:8px;font-size:16px}.VPTeamMembers.small .container[data-v-6cb0dbc4]{grid-template-columns:repeat(auto-fit,minmax(224px,1fr))}.VPTeamMembers.small.count-1 .container[data-v-6cb0dbc4]{max-width:276px}.VPTeamMembers.small.count-2 .container[data-v-6cb0dbc4]{max-width:576px}.VPTeamMembers.small.count-3 .container[data-v-6cb0dbc4]{max-width:876px}.VPTeamMembers.medium .container[data-v-6cb0dbc4]{grid-template-columns:repeat(auto-fit,minmax(256px,1fr))}@media (min-width: 375px){.VPTeamMembers.medium .container[data-v-6cb0dbc4]{grid-template-columns:repeat(auto-fit,minmax(288px,1fr))}}.VPTeamMembers.medium.count-1 .container[data-v-6cb0dbc4]{max-width:368px}.VPTeamMembers.medium.count-2 .container[data-v-6cb0dbc4]{max-width:760px}.container[data-v-6cb0dbc4]{display:grid;gap:24px;margin:0 auto;max-width:1152px} diff --git a/assets/zstd_src_zstd_README.md.QgmrGHIf.js b/assets/zstd_src_zstd_README.md.QgmrGHIf.js new file mode 100644 index 00000000..f5a1bc15 --- /dev/null +++ b/assets/zstd_src_zstd_README.md.QgmrGHIf.js @@ -0,0 +1 @@ +import{_ as t,c as a,a0 as e,o as r}from"./chunks/framework.Cu6dwUeI.js";const m=JSON.parse('{"title":"zstd/src/zstd","description":"","frontmatter":{},"headers":[],"relativePath":"zstd/src/zstd/README.md","filePath":"zstd/src/zstd/README.md","lastUpdated":null}'),d={name:"zstd/src/zstd/README.md"};function c(o,s,l,n,i,h){return r(),a("div",null,s[0]||(s[0]=[e('

@hpcc-js/wasm-rootDocs


zstd/src/zstd

Index

Classes

',6)]))}const p=t(d,[["render",c]]);export{m as __pageData,p as default}; diff --git a/assets/zstd_src_zstd_README.md.QgmrGHIf.lean.js b/assets/zstd_src_zstd_README.md.QgmrGHIf.lean.js new file mode 100644 index 00000000..f5a1bc15 --- /dev/null +++ b/assets/zstd_src_zstd_README.md.QgmrGHIf.lean.js @@ -0,0 +1 @@ +import{_ as t,c as a,a0 as e,o as r}from"./chunks/framework.Cu6dwUeI.js";const m=JSON.parse('{"title":"zstd/src/zstd","description":"","frontmatter":{},"headers":[],"relativePath":"zstd/src/zstd/README.md","filePath":"zstd/src/zstd/README.md","lastUpdated":null}'),d={name:"zstd/src/zstd/README.md"};function c(o,s,l,n,i,h){return r(),a("div",null,s[0]||(s[0]=[e('

@hpcc-js/wasm-rootDocs


zstd/src/zstd

Index

Classes

',6)]))}const p=t(d,[["render",c]]);export{m as __pageData,p as default}; diff --git a/assets/zstd_src_zstd_classes_Zstd.md.DvDt-wy8.js b/assets/zstd_src_zstd_classes_Zstd.md.DvDt-wy8.js new file mode 100644 index 00000000..69351433 --- /dev/null +++ b/assets/zstd_src_zstd_classes_Zstd.md.DvDt-wy8.js @@ -0,0 +1,9 @@ +import{_ as s,c as a,a0 as t,o as i}from"./chunks/framework.Cu6dwUeI.js";const k=JSON.parse('{"title":"Class: Zstd","description":"","frontmatter":{},"headers":[],"relativePath":"zstd/src/zstd/classes/Zstd.md","filePath":"zstd/src/zstd/classes/Zstd.md","lastUpdated":null}'),r={name:"zstd/src/zstd/classes/Zstd.md"};function n(d,e,o,l,h,c){return i(),a("div",null,e[0]||(e[0]=[t(`

@hpcc-js/wasm-rootDocs


Class: Zstd

The Zstandard WASM library, provides a simplified wrapper around the Zstandard c++ library.

See Zstandard for more details.

ts
import { Zstd } from "@hpcc-js/wasm-zstd";
+
+const zstd = await Zstd.load();
+
+//  Generate some "data"
+const data = new Uint8Array(Array.from({ length: 100000 }, (_, i) => i % 256));
+
+const compressed_data = zstd.compress(data);
+const decompressed_data = zstd.decompress(compressed_data);

Extends

  • WasmLibrary

Methods

load()

static load(): Promise<Zstd>

Compiles and instantiates the raw wasm.

INFO

In general WebAssembly compilation is disallowed on the main thread if the buffer size is larger than 4KB, hence forcing load to be asynchronous;

Returns

Promise<Zstd>

A promise to an instance of the Zstd class.

Defined in

zstd/src/zstd.ts:42


unload()

static unload(): void

Unloades the compiled wasm instance.

Returns

void

Defined in

zstd/src/zstd.ts:54


version()

version(): string

Returns

string

The Zstd c++ version

Defined in

zstd/src/zstd.ts:61


compress()

compress(data, compressionLevel): Uint8Array

Parameters

data: Uint8Array

Data to be compressed

compressionLevel: number = ...

Compression v Speed tradeoff, when omitted it will default to zstd.defaultCLevel() which is currently 3.

Returns

Uint8Array

Compressed data.

TIP

A note on compressionLevel: The library supports regular compression levels from 1 up o 22. Levels >= 20, should be used with caution, as they require more memory. The library also offers negative compression levels, which extend the range of speed vs. ratio preferences. The lower the level, the faster the speed (at the cost of compression).

Defined in

zstd/src/zstd.ts:74


decompress()

decompress(compressedData): Uint8Array

Parameters

compressedData: Uint8Array

Data to be compressed

Returns

Uint8Array

Uncompressed data.

Defined in

zstd/src/zstd.ts:95


defaultCLevel()

defaultCLevel(): number

Returns

number

Default compression level (see notes above above).

Defined in

zstd/src/zstd.ts:119


minCLevel()

minCLevel(): number

Returns

number

Defined in

zstd/src/zstd.ts:123


maxCLevel()

maxCLevel(): number

Returns

number

Defined in

zstd/src/zstd.ts:127

`,81)]))}const u=s(r,[["render",n]]);export{k as __pageData,u as default}; diff --git a/assets/zstd_src_zstd_classes_Zstd.md.DvDt-wy8.lean.js b/assets/zstd_src_zstd_classes_Zstd.md.DvDt-wy8.lean.js new file mode 100644 index 00000000..69351433 --- /dev/null +++ b/assets/zstd_src_zstd_classes_Zstd.md.DvDt-wy8.lean.js @@ -0,0 +1,9 @@ +import{_ as s,c as a,a0 as t,o as i}from"./chunks/framework.Cu6dwUeI.js";const k=JSON.parse('{"title":"Class: Zstd","description":"","frontmatter":{},"headers":[],"relativePath":"zstd/src/zstd/classes/Zstd.md","filePath":"zstd/src/zstd/classes/Zstd.md","lastUpdated":null}'),r={name:"zstd/src/zstd/classes/Zstd.md"};function n(d,e,o,l,h,c){return i(),a("div",null,e[0]||(e[0]=[t(`

@hpcc-js/wasm-rootDocs


Class: Zstd

The Zstandard WASM library, provides a simplified wrapper around the Zstandard c++ library.

See Zstandard for more details.

ts
import { Zstd } from "@hpcc-js/wasm-zstd";
+
+const zstd = await Zstd.load();
+
+//  Generate some "data"
+const data = new Uint8Array(Array.from({ length: 100000 }, (_, i) => i % 256));
+
+const compressed_data = zstd.compress(data);
+const decompressed_data = zstd.decompress(compressed_data);

Extends

  • WasmLibrary

Methods

load()

static load(): Promise<Zstd>

Compiles and instantiates the raw wasm.

INFO

In general WebAssembly compilation is disallowed on the main thread if the buffer size is larger than 4KB, hence forcing load to be asynchronous;

Returns

Promise<Zstd>

A promise to an instance of the Zstd class.

Defined in

zstd/src/zstd.ts:42


unload()

static unload(): void

Unloades the compiled wasm instance.

Returns

void

Defined in

zstd/src/zstd.ts:54


version()

version(): string

Returns

string

The Zstd c++ version

Defined in

zstd/src/zstd.ts:61


compress()

compress(data, compressionLevel): Uint8Array

Parameters

data: Uint8Array

Data to be compressed

compressionLevel: number = ...

Compression v Speed tradeoff, when omitted it will default to zstd.defaultCLevel() which is currently 3.

Returns

Uint8Array

Compressed data.

TIP

A note on compressionLevel: The library supports regular compression levels from 1 up o 22. Levels >= 20, should be used with caution, as they require more memory. The library also offers negative compression levels, which extend the range of speed vs. ratio preferences. The lower the level, the faster the speed (at the cost of compression).

Defined in

zstd/src/zstd.ts:74


decompress()

decompress(compressedData): Uint8Array

Parameters

compressedData: Uint8Array

Data to be compressed

Returns

Uint8Array

Uncompressed data.

Defined in

zstd/src/zstd.ts:95


defaultCLevel()

defaultCLevel(): number

Returns

number

Default compression level (see notes above above).

Defined in

zstd/src/zstd.ts:119


minCLevel()

minCLevel(): number

Returns

number

Defined in

zstd/src/zstd.ts:123


maxCLevel()

maxCLevel(): number

Returns

number

Defined in

zstd/src/zstd.ts:127

`,81)]))}const u=s(r,[["render",n]]);export{k as __pageData,u as default}; diff --git a/base91/src/base91/README.html b/base91/src/base91/README.html new file mode 100644 index 00000000..4e21068c --- /dev/null +++ b/base91/src/base91/README.html @@ -0,0 +1,24 @@ + + + + + + base91/src/base91 | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/base91/src/base91/classes/Base91.html b/base91/src/base91/classes/Base91.html new file mode 100644 index 00000000..ab7ca2f6 --- /dev/null +++ b/base91/src/base91/classes/Base91.html @@ -0,0 +1,29 @@ + + + + + + Class: Base91 | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

@hpcc-js/wasm-rootDocs


Class: Base91

Base 91 WASM library, similar to Base 64 but uses more characters resulting in smaller strings.

See Base91 for more details.

ts
import { Base91 } from "@hpcc-js/wasm-base91";
+
+const base91 = await Base91.load();
+
+const encoded_data = await base91.encode(data);
+const decoded_data = await base91.decode(encoded_data);

Extends

Methods

load()

static load(): Promise<Base91>

Compiles and instantiates the raw wasm.

INFO

In general WebAssembly compilation is disallowed on the main thread if the buffer size is larger than 4KB, hence forcing load to be asynchronous;

Returns

Promise<Base91>

A promise to an instance of the Base91 class.

Defined in

base91/src/base91.ts:38


unload()

static unload(): void

Unloades the compiled wasm instance.

Returns

void

Defined in

base91/src/base91.ts:50


version()

version(): string

Returns

string

The Base91 c++ version

Defined in

base91/src/base91.ts:57


encode()

encode(data): string

Parameters

data: Uint8Array

Data to encode.

Returns

string

string containing the Base 91 encoded data

Defined in

base91/src/base91.ts:65


decode()

decode(base91Str): Uint8Array

Parameters

base91Str: string

encoded string

Returns

Uint8Array

origonal data

Defined in

base91/src/base91.ts:86

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/base91/src/wasm-library/README.html b/base91/src/wasm-library/README.html new file mode 100644 index 00000000..7defd4f3 --- /dev/null +++ b/base91/src/wasm-library/README.html @@ -0,0 +1,24 @@ + + + + + + base91/src/wasm-library | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

@hpcc-js/wasm-rootDocs


base91/src/wasm-library

Index

Classes

Interfaces

Type Aliases

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/base91/src/wasm-library/classes/WasmLibrary.html b/base91/src/wasm-library/classes/WasmLibrary.html new file mode 100644 index 00000000..1e817428 --- /dev/null +++ b/base91/src/wasm-library/classes/WasmLibrary.html @@ -0,0 +1,24 @@ + + + + + + Class: WasmLibrary | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

@hpcc-js/wasm-rootDocs


Class: WasmLibrary

Base class to simplify moving data into and out of Wasm memory.

Extended by

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/base91/src/wasm-library/interfaces/HeapU8.html b/base91/src/wasm-library/interfaces/HeapU8.html new file mode 100644 index 00000000..ba93b428 --- /dev/null +++ b/base91/src/wasm-library/interfaces/HeapU8.html @@ -0,0 +1,24 @@ + + + + + + Interface: HeapU8 | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

@hpcc-js/wasm-rootDocs


Interface: HeapU8

Properties

ptr

ptr: number

Defined in

base91/src/wasm-library.ts:3


size

size: number

Defined in

base91/src/wasm-library.ts:4

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/base91/src/wasm-library/type-aliases/PTR.html b/base91/src/wasm-library/type-aliases/PTR.html new file mode 100644 index 00000000..437ae322 --- /dev/null +++ b/base91/src/wasm-library/type-aliases/PTR.html @@ -0,0 +1,24 @@ + + + + + + Type Alias: PTR | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/duckdb/src/duckdb/README.html b/duckdb/src/duckdb/README.html new file mode 100644 index 00000000..88f81847 --- /dev/null +++ b/duckdb/src/duckdb/README.html @@ -0,0 +1,24 @@ + + + + + + duckdb/src/duckdb | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/duckdb/src/duckdb/classes/DuckDB.html b/duckdb/src/duckdb/classes/DuckDB.html new file mode 100644 index 00000000..fb4eedfb --- /dev/null +++ b/duckdb/src/duckdb/classes/DuckDB.html @@ -0,0 +1,43 @@ + + + + + + Class: DuckDB | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

@hpcc-js/wasm-rootDocs


Class: DuckDB

DuckDB WASM library, a in-process SQL OLAP Database Management System..

See DuckDB for more details.

ts
import { DuckDB } from "@hpcc-js/wasm-duckdb";
+
+let duckdb = await DuckDB.load();
+const c = await duckdb.db.connect();
+
+const data = [
+    { "col1": 1, "col2": "foo" },
+    { "col1": 2, "col2": "bar" },
+];
+await duckdb.db.registerFileText("rows.json", JSON.stringify(data));
+await c.insertJSONFromPath('rows.json', { name: 'rows' });
+
+const arrowResult = await c.query("SELECT * FROM read_json_auto('rows.json')");
+const result = arrowResult.toArray().map((row) => row.toJSON());
+expect(result.length).to.equal(data.length);
+for (let i = 0; i < result.length; i++) {
+    expect(result[i].col2).to.equal(data[i].col2);
+}
+
+c.close();

Properties

db

db: AsyncDuckDB

Defined in

duckdb/src/duckdb.ts:35

Methods

load()

static load(): Promise<DuckDB>

Compiles and instantiates the raw wasm.

INFO

In general WebAssembly compilation is disallowed on the main thread if the buffer size is larger than 4KB, hence forcing load to be asynchronous;

Returns

Promise<DuckDB>

A promise to an instance of the DuckDB class.

Defined in

duckdb/src/duckdb.ts:50


unload()

static unload(): void

Unloades the compiled wasm instance.

Returns

void

Defined in

duckdb/src/duckdb.ts:70


version()

version(): string

Returns

string

The DuckDB version

Defined in

duckdb/src/duckdb.ts:78

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/expat/src/expat/README.html b/expat/src/expat/README.html new file mode 100644 index 00000000..262e230f --- /dev/null +++ b/expat/src/expat/README.html @@ -0,0 +1,24 @@ + + + + + + expat/src/expat | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/expat/src/expat/classes/Expat.html b/expat/src/expat/classes/Expat.html new file mode 100644 index 00000000..27290979 --- /dev/null +++ b/expat/src/expat/classes/Expat.html @@ -0,0 +1,40 @@ + + + + + + Class: Expat | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

@hpcc-js/wasm-rootDocs


Class: Expat

Expat XML parser WASM library, provides a simplified wrapper around the Expat XML Parser library.

See libexpat.github.io for c++ details.

ts
import { Expat } from "@hpcc-js/wasm-expat";
+
+const expat = await Expat.load();
+
+const xml = ` \
+    <root>
+        <child xxx="yyy">content</child>
+    </root>
+`;
+
+const callback = {
+    startElement(tag, attrs) { console.log("start", tag, attrs); },
+    endElement(tag) { console.log("end", tag); },
+    characterData(content) { console.log("characterData", content); }
+};
+
+expat.parse(xml, callback);

Methods

load()

static load(): Promise<Expat>

Compiles and instantiates the raw wasm.

INFO

In general WebAssembly compilation is disallowed on the main thread if the buffer size is larger than 4KB, hence forcing load to be asynchronous;

Returns

Promise<Expat>

A promise to an instance of the Expat class.

Defined in

expat/src/expat.ts:63


unload()

static unload(): void

Unloades the compiled wasm instance.

Returns

void

Defined in

expat/src/expat.ts:72


version()

version(): string

Returns

string

The Expat c++ version

Defined in

expat/src/expat.ts:80


parse()

parse(xml, callback): boolean

Parses the XML with suitable callbacks.

TIP

The IParser.characterData callback method can get called several times for a single tag element.

Parameters

xml: string

string containing XML

callback: IParser

Callback interface

Returns

boolean

true|false if the XML parse succeeds.

Defined in

expat/src/expat.ts:95

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/expat/src/expat/classes/StackElement.html b/expat/src/expat/classes/StackElement.html new file mode 100644 index 00000000..469ab64b --- /dev/null +++ b/expat/src/expat/classes/StackElement.html @@ -0,0 +1,24 @@ + + + + + + Class: StackElement | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

@hpcc-js/wasm-rootDocs


Class: StackElement

Constructors

new StackElement()

new StackElement(tag, attrs): StackElement

Parameters

tag: string

attrs: Attributes

Returns

StackElement

Defined in

expat/src/expat.ts:121

Properties

tag

readonly tag: string

Defined in

expat/src/expat.ts:121


attrs

readonly attrs: Attributes

Defined in

expat/src/expat.ts:121

Accessors

content

get content(): string

Returns

string

Defined in

expat/src/expat.ts:117

Methods

appendContent()

appendContent(content): void

Parameters

content: string

Returns

void

Defined in

expat/src/expat.ts:124

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/expat/src/expat/classes/StackParser.html b/expat/src/expat/classes/StackParser.html new file mode 100644 index 00000000..fccf33d1 --- /dev/null +++ b/expat/src/expat/classes/StackParser.html @@ -0,0 +1,24 @@ + + + + + + Class: StackParser | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

@hpcc-js/wasm-rootDocs


Class: StackParser

Implements

Constructors

new StackParser()

new StackParser(): StackParser

Returns

StackParser

Methods

parse()

parse(xml): Promise<boolean>

Parameters

xml: string

Returns

Promise<boolean>

Defined in

expat/src/expat.ts:132


top()

top(): StackElement

Returns

StackElement

Defined in

expat/src/expat.ts:137


startElement()

startElement(tag, attrs): StackElement

Parameters

tag: string

attrs: Attributes

Returns

StackElement

Implementation of

IParser.startElement

Defined in

expat/src/expat.ts:141


endElement()

endElement(_tag): StackElement

Parameters

_tag: string

Returns

StackElement

Implementation of

IParser.endElement

Defined in

expat/src/expat.ts:147


characterData()

characterData(content): void

Parameters

content: string

Returns

void

Implementation of

IParser.characterData

Defined in

expat/src/expat.ts:151

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/expat/src/expat/interfaces/IParser.html b/expat/src/expat/interfaces/IParser.html new file mode 100644 index 00000000..b1e4a0af --- /dev/null +++ b/expat/src/expat/interfaces/IParser.html @@ -0,0 +1,24 @@ + + + + + + Interface: IParser | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

@hpcc-js/wasm-rootDocs


Interface: IParser

Methods

startElement()

startElement(tag, attrs): void

Parameters

tag: string

attrs: Attributes

Returns

void

Defined in

expat/src/expat.ts:6


endElement()

endElement(tag): void

Parameters

tag: string

Returns

void

Defined in

expat/src/expat.ts:7


characterData()

characterData(content): void

Parameters

content: string

Returns

void

Defined in

expat/src/expat.ts:8

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/expat/src/expat/type-aliases/Attributes.html b/expat/src/expat/type-aliases/Attributes.html new file mode 100644 index 00000000..5c8e1b47 --- /dev/null +++ b/expat/src/expat/type-aliases/Attributes.html @@ -0,0 +1,24 @@ + + + + + + Type Alias: Attributes | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

@hpcc-js/wasm-rootDocs


Type Alias: Attributes

Attributes: object

Index Signature

[key: string]: string

Defined in

expat/src/expat.ts:4

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/getting-started.html b/getting-started.html new file mode 100644 index 00000000..088ed74b --- /dev/null +++ b/getting-started.html @@ -0,0 +1,71 @@ + + + + + + Getting Started | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

Getting Started

Installation

By default @hpcc-js/wasm is a modern JavaScript Module (ESM) package, for convenience it also includes Universal Module Definition (UMD) bundles which can be loaded in older browser / build environments.

NPM

The simplest way to include this project is via NPM:

sh
npm install --save @hpcc-js/wasm

It can then be referenced within your source code:

ts
import { Base91, Graphviz, Zstd } from "@hpcc-js/wasm";
+
+// Graphviz  ---
+async function dot2svg() {
+    const graphviz = await Graphviz.load();
+    console.log("svg:  ", graphviz.dot('digraph G { Hello -> World }'));
+}
+
+dot2svg();
+
+// Base91 + Zstd ---
+const text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi.  Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed non risus. Suspendisse lectus tortor, dignissim sit amet, adipiscing nec, ultricies sed, dolor. Cras elementum ultrices diam. Maecenas ligula massa, varius a, semper congue, euismod non, mi.";
+const data = new TextEncoder().encode(text);
+
+async function compressDecompress() {
+    const zstd = await Zstd.load();
+    const compressed_data = zstd.compress(data);
+    const base91 = await Base91.load();
+    const base91Str = base91.encode(compressed_data);
+
+    const compressed_data2 = base91.decode(base91Str);
+    const data2 = zstd.decompress(compressed_data2);
+    const text2 = new TextDecoder().decode(data2);
+
+    console.log("Text Length:  ", text.length);
+    console.log("Compressed Length:  ", compressed_data.length);
+    console.log("Base91 Length:  ", base91Str.length);
+    console.log("Passed:  ", text === text2);
+}
+
+compressDecompress();

Vanilla HTML

Alternatively the @hpcc-js/wasm package can be imported directly within the html page, using a NPM CDN server like unpkg or jsdelivr.

For modern browsers and import:

html
<script type="module">
+    import { Graphviz } from "https://cdn.jsdelivr.net/npm/@hpcc-js/wasm/dist/graphviz.js";
+
+    const graphviz = await Graphviz.load();
+    const dot = "digraph G { Hello -> World }";
+    const svg = graphviz.dot(dot);
+    const div = document.getElementById("placeholder");
+    div.innerHTML = graphviz.layout(dot, "svg", "dot");
+</script>

For legacy environments you can load the UMD packages:

html
<script src="https://cdn.jsdelivr.net/npm/@hpcc-js/wasm/dist/graphviz.umd.js"></script>
+<script>
+    var hpccWasm = window["@hpcc-js/wasm"];
+    hpccWasm.Graphviz.load().then(graphviz => {
+        var dot = "digraph G { Hello -> World }";
+        var svg = graphviz.dot(dot);
+        var div = document.getElementById("placeholder");
+        div.innerHTML = graphviz.layout(dot, "svg", "dot");
+    });
+</script>

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/graphviz-cli.html b/graphviz-cli.html new file mode 100644 index 00000000..b05fb063 --- /dev/null +++ b/graphviz-cli.html @@ -0,0 +1,59 @@ + + + + + + Command Line Interface | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

Command Line Interface

To call dot-wasm without installing:

sh
npx -p @hpcc-js/wasm dot-wasm [options] fileOrDot

To install the global command dot-wasm via NPM:

sh
npm install --global @hpcc-js/wasm

Usage:

sh
Usage: dot-wasm [options] fileOrDot
+
+Options:
+      --version      Show version number                               [boolean]
+  -K, --layout       Set layout engine (circo | dot | fdp | sfdp | neato | osage
+                     | patchwork | twopi | nop | nop2). By default, dot is used.
+  -T, --format       Set output language to one of the supported formats (svg,
+                     dot, json, dot_json, xdot_json, plain, plain-ext). By
+                     default, svg is produced.
+  -n, --neato-no-op  Sets no-op flag in neato.
+                     "-n 1" assumes neato nodes have already been positioned and
+                     all nodes have a pos attribute giving the positions. It
+                     then performs an optional adjustment to remove node-node
+                     overlap, depending on the value of the overlap attribute,
+                     computes the edge layouts, depending on the value of the
+                     splines attribute, and emits the graph in the appropriate
+                     format.
+                     "-n 2" Use node positions as specified, with no adjustment
+                     to remove node-node overlaps, and use any edge layouts
+                     already specified by the pos attribute. neato computes an
+                     edge layout for any edge that does not have a pos
+                     attribute. As usual, edge layout is guided by the splines
+                     attribute.
+  -y, --invert-y     By default, the coordinate system used in generic output
+                     formats, such as attributed dot, extended dot, plain and
+                     plain-ext, is the standard cartesian system with the origin
+                     in the lower left corner, and with increasing y coordinates
+                     as points move from bottom to top. If the -y flag is used,
+                     the coordinate system is inverted, so that increasing
+                     values of y correspond to movement from top to bottom.
+  -v                 Echo GraphViz library version
+  -h, --help         Show help                                         [boolean]
+
+Examples:
+  dot-wasm -K neato -T xdot ./input.dot  Execute NEATO layout and outputs XDOT
+                                         format.

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/graphviz/src/graphviz/README.html b/graphviz/src/graphviz/README.html new file mode 100644 index 00000000..0f4a4057 --- /dev/null +++ b/graphviz/src/graphviz/README.html @@ -0,0 +1,24 @@ + + + + + + graphviz/src/graphviz | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/graphviz/src/graphviz/classes/Graphviz.html b/graphviz/src/graphviz/classes/Graphviz.html new file mode 100644 index 00000000..c19dda7b --- /dev/null +++ b/graphviz/src/graphviz/classes/Graphviz.html @@ -0,0 +1,29 @@ + + + + + + Class: Graphviz | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

@hpcc-js/wasm-rootDocs


Class: Graphviz

The Graphviz layout algorithms take descriptions of graphs in a simple text language, and make diagrams in useful formats, such as images and SVG for web pages or display in an interactive graph browser.

Graphviz has many useful features for concrete diagrams, such as options for colors, fonts, tabular node layouts, line styles, hyperlinks, and custom shapes.

See graphviz.org for more details.

ts
import { Graphviz } from "@hpcc-js/wasm/graphviz";
+
+const graphviz = await Graphviz.load();
+
+const dot = "digraph G { Hello -> World }";
+const svg = graphviz.dot(dot);

Online Demos

Methods

load()

static load(): Promise<Graphviz>

Compiles and instantiates the raw wasm.

INFO

In general WebAssembly compilation is disallowed on the main thread if the buffer size is larger than 4KB, hence forcing load to be asynchronous;

Returns

Promise<Graphviz>

A promise to an instance of the Graphviz class.

Defined in

graphviz/src/graphviz.ts:107


unload()

static unload(): void

Unloades the compiled wasm instance.

Returns

void

Defined in

graphviz/src/graphviz.ts:116


version()

version(): string

Returns

string

The Graphviz c++ version

Defined in

graphviz/src/graphviz.ts:123


layout()

layout(dotSource, outputFormat, layoutEngine, options?): string

Performs layout for the supplied dotSource, see The DOT Language for specification.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

layoutEngine: Engine = "dot"

The type of layout to perform.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:136


acyclic()

acyclic(dotSource, doWrite, verbose): object

acyclic is a filter that takes a directed graph as input and outputs a copy of the graph with sufficient edges reversed to make the graph acyclic. The reversed edge inherits all of the attributes of the original edge. The optional file argument specifies where the input graph is stored; by default.

Parameters

dotSource: string

Required - graph definition in DOT language

doWrite: boolean = false

Enable output is produced, though the return value will indicate whether the graph is acyclic or not.

verbose: boolean = false

Print information about whether the file is acyclic, has a cycle or is undirected.

Returns

object

{ acyclic: boolean, num_rev: number, outFile: string } acyclic will be true if a cycle was found, num_rev will contain the number of reversed edges and outFile will (optionally) contain the output.

acyclic

acyclic: boolean

num_rev

num_rev: number

outFile

outFile: string

Defined in

graphviz/src/graphviz.ts:167


tred()

tred(dotSource, verbose, printRemovedEdges): object

tred computes the transitive reduction of directed graphs, and prints the resulting graphs to standard output. This removes edges implied by transitivity. Nodes and subgraphs are not otherwise affected. The ‘‘meaning’’ and validity of the reduced graphs is application dependent. tred is particularly useful as a preprocessor to dot to reduce clutter in dense layouts. Undirected graphs are silently ignored.

Parameters

dotSource: string

Required - graph definition in DOT language

verbose: boolean = false

Print additional information.

printRemovedEdges: boolean = false

Print information about removed edges.

Returns

object

{ out: string, err: string }.

out

out: string

err

err: string

Defined in

graphviz/src/graphviz.ts:201


unflatten()

unflatten(dotSource, maxMinlen, do_fans, chainLimit): string

unflatten is a preprocessor to dot that is used to improve the aspect ratio of graphs having many leaves or disconnected nodes. The usual layout for such a graph is generally very wide or tall. unflatten inserts invisible edges or adjusts the minlen on edges to improve layout compaction.

Parameters

dotSource: string

Required - graph definition in DOT language

maxMinlen: number = 0

The minimum length of leaf edges is staggered between 1 and len (a small integer).

do_fans: boolean = false

Enables the staggering of the -maxMinlen option to fanout nodes whose indegree and outdegree are both 1. This helps with structures such as a -> {w x y } -> b. This option only works if the -maxMinlen flag is set.

chainLimit: number = 0

Form disconnected nodes into chains of up to len nodes.

Returns

string

A string containing the "unflattened" dotSource.

Defined in

graphviz/src/graphviz.ts:235


circo()

circo(dotSource, outputFormat, options?): string

Convenience function that performs the circo layout, is equivalent to layout(dotSource, outputFormat, "circo");.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:265


dot()

dot(dotSource, outputFormat, options?): string

Convenience function that performs the dot layout, is equivalent to layout(dotSource, outputFormat, "dot");.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:277


fdp()

fdp(dotSource, outputFormat, options?): string

Convenience function that performs the fdp layout, is equivalent to layout(dotSource, outputFormat, "fdp");.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:289


sfdp()

sfdp(dotSource, outputFormat, options?): string

Convenience function that performs the sfdp layout, is equivalent to layout(dotSource, outputFormat, "sfdp");.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:301


neato()

neato(dotSource, outputFormat, options?): string

Convenience function that performs the neato layout, is equivalent to layout(dotSource, outputFormat, "neato");.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:313


osage()

osage(dotSource, outputFormat, options?): string

Convenience function that performs the osage layout, is equivalent to layout(dotSource, outputFormat, "osage");.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:325


patchwork()

patchwork(dotSource, outputFormat, options?): string

Convenience function that performs the patchwork layout, is equivalent to layout(dotSource, outputFormat, "patchwork");.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:337


twopi()

twopi(dotSource, outputFormat, options?): string

Convenience function that performs the twopi layout, is equivalent to layout(dotSource, outputFormat, "twopi");.

Parameters

dotSource: string

Required - graph definition in DOT language

outputFormat: Format = "svg"

The format of the result.

options?: Options

Advanced Options for images, files, yInvert and nop.

Returns

string

A string containing the calculated layout in the format specified by outputFormat

Defined in

graphviz/src/graphviz.ts:349


nop()

nop(dotSource): string

Convenience function that performs the nop layout, is equivalent to layout(dotSource, "dot", "nop");.

Parameters

dotSource: string

Required - graph definition in DOT language

Returns

string

A string containing the "pretty printed" dotSource.

Defined in

graphviz/src/graphviz.ts:359


nop2()

nop2(dotSource): string

Convenience function that performs the nop2 layout, is equivalent to layout(dotSource, "dot", "nop2");.

Parameters

dotSource: string

Required - graph definition in DOT language

Returns

string

A string containing the "pretty printed" dotSource.

Defined in

graphviz/src/graphviz.ts:369

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/graphviz/src/graphviz/interfaces/File.html b/graphviz/src/graphviz/interfaces/File.html new file mode 100644 index 00000000..885127ee --- /dev/null +++ b/graphviz/src/graphviz/interfaces/File.html @@ -0,0 +1,24 @@ + + + + + + Interface: File | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

@hpcc-js/wasm-rootDocs


Interface: File

Properties

path

path: string

Defined in

graphviz/src/graphviz.ts:40


data

data: string

Defined in

graphviz/src/graphviz.ts:41

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/graphviz/src/graphviz/interfaces/Image.html b/graphviz/src/graphviz/interfaces/Image.html new file mode 100644 index 00000000..d3c84504 --- /dev/null +++ b/graphviz/src/graphviz/interfaces/Image.html @@ -0,0 +1,34 @@ + + + + + + Interface: Image | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

@hpcc-js/wasm-rootDocs


Interface: Image

Example: Passing a web hosted Image to GraphViz:

ts
import { Graphviz } from "@hpcc-js/wasm-graphviz";
+
+const graphviz = await Graphviz.load();
+const svg = graphviz.layout('digraph { a[image="https://.../image.png"]; }', "svg", "dot", { 
+   images: [{ 
+       path: "https://.../image.png", 
+           width: "272px", 
+           height: "92px" 
+   }] 
+});
+document.getElementById("placeholder").innerHTML = svg;

Properties

path

path: string

Full URL to image

Defined in

graphviz/src/graphviz.ts:34


width

width: string

Defined in

graphviz/src/graphviz.ts:35


height

height: string

Defined in

graphviz/src/graphviz.ts:36

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/graphviz/src/graphviz/interfaces/Options.html b/graphviz/src/graphviz/interfaces/Options.html new file mode 100644 index 00000000..c1cfec1c --- /dev/null +++ b/graphviz/src/graphviz/interfaces/Options.html @@ -0,0 +1,24 @@ + + + + + + Interface: Options | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

@hpcc-js/wasm-rootDocs


Interface: Options

Properties

images?

optional images: Image[]

Defined in

graphviz/src/graphviz.ts:45


files?

optional files: File[]

Defined in

graphviz/src/graphviz.ts:46


yInvert?

optional yInvert: boolean

Defined in

graphviz/src/graphviz.ts:47


nop?

optional nop: number

Defined in

graphviz/src/graphviz.ts:48

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/graphviz/src/graphviz/type-aliases/Engine.html b/graphviz/src/graphviz/type-aliases/Engine.html new file mode 100644 index 00000000..ad932322 --- /dev/null +++ b/graphviz/src/graphviz/type-aliases/Engine.html @@ -0,0 +1,24 @@ + + + + + + Type Alias: Engine | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

@hpcc-js/wasm-rootDocs


Type Alias: Engine

Engine: "circo" | "dot" | "fdp" | "sfdp" | "neato" | "osage" | "patchwork" | "twopi" | "nop" | "nop2"

Various algorithms for projecting abstract graphs into a space for visualization. See Layout Engines for more details.

Defined in

graphviz/src/graphviz.ts:12

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/graphviz/src/graphviz/type-aliases/Format.html b/graphviz/src/graphviz/type-aliases/Format.html new file mode 100644 index 00000000..bea98dea --- /dev/null +++ b/graphviz/src/graphviz/type-aliases/Format.html @@ -0,0 +1,24 @@ + + + + + + Type Alias: Format | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

@hpcc-js/wasm-rootDocs


Type Alias: Format

Format: "svg" | "dot" | "json" | "dot_json" | "xdot_json" | "plain" | "plain-ext" | "canon"

Various graphic and data formats for end user, web, documents and other applications. See Output Formats for more information.

Defined in

graphviz/src/graphviz.ts:7

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/hashmap.json b/hashmap.json new file mode 100644 index 00000000..511375a0 --- /dev/null +++ b/hashmap.json @@ -0,0 +1 @@ +{"base91_src_base91_classes_base91.md":"B9Brvx3d","base91_src_base91_readme.md":"B3Bl7p9n","base91_src_wasm-library_classes_wasmlibrary.md":"BKXp7KsF","base91_src_wasm-library_interfaces_heapu8.md":"EeN2ejds","base91_src_wasm-library_readme.md":"C9oO9qCw","base91_src_wasm-library_type-aliases_ptr.md":"ueICuDEn","duckdb_src_duckdb_classes_duckdb.md":"BjvlGE6-","duckdb_src_duckdb_readme.md":"DSSHXat2","expat_src_expat_classes_expat.md":"CWp3EuIl","expat_src_expat_classes_stackelement.md":"C2Vx9uLW","expat_src_expat_classes_stackparser.md":"DdRF1trH","expat_src_expat_interfaces_iparser.md":"APlKBXlx","expat_src_expat_readme.md":"vyLcAduM","expat_src_expat_type-aliases_attributes.md":"CFOlmGfl","getting-started.md":"DXtGWebB","graphviz-cli.md":"B9wSRzWZ","graphviz_src_graphviz_classes_graphviz.md":"CMJU0z53","graphviz_src_graphviz_interfaces_file.md":"B_3EWbmU","graphviz_src_graphviz_interfaces_image.md":"CCSkBa0H","graphviz_src_graphviz_interfaces_options.md":"BR8MuxIr","graphviz_src_graphviz_readme.md":"7cGMhimQ","graphviz_src_graphviz_type-aliases_engine.md":"D6J1ZD-x","graphviz_src_graphviz_type-aliases_format.md":"CIT9mHPv","index.md":"WK7qQMC9","llama_src_llama_classes_llama.md":"DejEYr4W","llama_src_llama_readme.md":"CRbTwk1D","readme.md":"COi_AUbP","zstd_src_zstd_classes_zstd.md":"DvDt-wy8","zstd_src_zstd_readme.md":"QgmrGHIf"} diff --git a/hpcc-icon.png b/hpcc-icon.png new file mode 100644 index 00000000..9ab15960 Binary files /dev/null and b/hpcc-icon.png differ diff --git a/hpccsystems.png b/hpccsystems.png new file mode 100644 index 00000000..2fd32ce9 Binary files /dev/null and b/hpccsystems.png differ diff --git a/hpccsystemsdark.png b/hpccsystemsdark.png new file mode 100644 index 00000000..642e1ad6 Binary files /dev/null and b/hpccsystemsdark.png differ diff --git a/index.html b/index.html new file mode 100644 index 00000000..a9015c0f --- /dev/null +++ b/index.html @@ -0,0 +1,24 @@ + + + + + + @hpcc-js/wasm + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/llama/src/llama/README.html b/llama/src/llama/README.html new file mode 100644 index 00000000..ee74873d --- /dev/null +++ b/llama/src/llama/README.html @@ -0,0 +1,24 @@ + + + + + + llama/src/llama | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/llama/src/llama/classes/Llama.html b/llama/src/llama/classes/Llama.html new file mode 100644 index 00000000..99164603 --- /dev/null +++ b/llama/src/llama/classes/Llama.html @@ -0,0 +1,32 @@ + + + + + + Class: Llama | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

@hpcc-js/wasm-rootDocs


Class: Llama

The llama WASM library, provides a simplified wrapper around the llama.cpp library.

See llama.cpp for more details.

ts
import { Llama, WebBlob } from "@hpcc-js/wasm-llama";
+
+let llama = await Llama.load();
+const model = "https://huggingface.co/CompendiumLabs/bge-base-en-v1.5-gguf/resolve/main/bge-base-en-v1.5-q4_k_m.gguf";
+const webBlob: Blob = await WebBlob.create(new URL(model));
+
+const data: ArrayBuffer = await webBlob.arrayBuffer();
+
+const embeddings = llama.embedding("Hello and Welcome!", new Uint8Array(data));

Methods

load()

static load(): Promise<Llama>

Compiles and instantiates the raw wasm.

INFO

In general WebAssembly compilation is disallowed on the main thread if the buffer size is larger than 4KB, hence forcing load to be asynchronous;

Returns

Promise<Llama>

A promise to an instance of the Llama class.

Defined in

llama/src/llama.ts:41


unload()

static unload(): void

Unloades the compiled wasm instance.

Returns

void

Defined in

llama/src/llama.ts:50


version()

version(): string

Returns

string

The Llama c++ version

Defined in

llama/src/llama.ts:57


embedding()

embedding(text, model, format): number[][]

Calculates the vector representation of the input text.

Parameters

text: string

The input text.

model: Uint8Array

The model to use for the embedding.

format: string = "array"

Returns

number[][]

The embedding of the text using the model.

Defined in

llama/src/llama.ts:69

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/zstd/src/zstd/README.html b/zstd/src/zstd/README.html new file mode 100644 index 00000000..56857c71 --- /dev/null +++ b/zstd/src/zstd/README.html @@ -0,0 +1,24 @@ + + + + + + zstd/src/zstd | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file diff --git a/zstd/src/zstd/classes/Zstd.html b/zstd/src/zstd/classes/Zstd.html new file mode 100644 index 00000000..a095dd67 --- /dev/null +++ b/zstd/src/zstd/classes/Zstd.html @@ -0,0 +1,32 @@ + + + + + + Class: Zstd | @hpcc-js/wasm + + + + + + + + + + + + + +
Skip to content

@hpcc-js/wasm-rootDocs


Class: Zstd

The Zstandard WASM library, provides a simplified wrapper around the Zstandard c++ library.

See Zstandard for more details.

ts
import { Zstd } from "@hpcc-js/wasm-zstd";
+
+const zstd = await Zstd.load();
+
+//  Generate some "data"
+const data = new Uint8Array(Array.from({ length: 100000 }, (_, i) => i % 256));
+
+const compressed_data = zstd.compress(data);
+const decompressed_data = zstd.decompress(compressed_data);

Extends

  • WasmLibrary

Methods

load()

static load(): Promise<Zstd>

Compiles and instantiates the raw wasm.

INFO

In general WebAssembly compilation is disallowed on the main thread if the buffer size is larger than 4KB, hence forcing load to be asynchronous;

Returns

Promise<Zstd>

A promise to an instance of the Zstd class.

Defined in

zstd/src/zstd.ts:42


unload()

static unload(): void

Unloades the compiled wasm instance.

Returns

void

Defined in

zstd/src/zstd.ts:54


version()

version(): string

Returns

string

The Zstd c++ version

Defined in

zstd/src/zstd.ts:61


compress()

compress(data, compressionLevel): Uint8Array

Parameters

data: Uint8Array

Data to be compressed

compressionLevel: number = ...

Compression v Speed tradeoff, when omitted it will default to zstd.defaultCLevel() which is currently 3.

Returns

Uint8Array

Compressed data.

TIP

A note on compressionLevel: The library supports regular compression levels from 1 up o 22. Levels >= 20, should be used with caution, as they require more memory. The library also offers negative compression levels, which extend the range of speed vs. ratio preferences. The lower the level, the faster the speed (at the cost of compression).

Defined in

zstd/src/zstd.ts:74


decompress()

decompress(compressedData): Uint8Array

Parameters

compressedData: Uint8Array

Data to be compressed

Returns

Uint8Array

Uncompressed data.

Defined in

zstd/src/zstd.ts:95


defaultCLevel()

defaultCLevel(): number

Returns

number

Default compression level (see notes above above).

Defined in

zstd/src/zstd.ts:119


minCLevel()

minCLevel(): number

Returns

number

Defined in

zstd/src/zstd.ts:123


maxCLevel()

maxCLevel(): number

Returns

number

Defined in

zstd/src/zstd.ts:127

Released under the Apache-2.0 License.

+ + + + \ No newline at end of file