kindy-editor 3.1.0 → 3.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. package/README.md +27 -2
  2. package/dist-lib/builder.js +4 -4
  3. package/dist-lib/{editorApp-F48A7I6z.js → editorApp-CtrnSSsP.js} +9620 -8998
  4. package/dist-lib/events.js +1 -1
  5. package/dist-lib/export.js +6 -6
  6. package/dist-lib/generate-toc.js +3 -3
  7. package/dist-lib/import.js +2 -2
  8. package/dist-lib/{kindy-editor-DnWvHijW.js → kindy-editor-CoeqFYYG.js} +100 -85
  9. package/dist-lib/kindy-editor.js +1 -1
  10. package/dist-lib/measure.js +3 -3
  11. package/dist-lib/{measureHost-Ca_gM01T.js → measureHost-mtLj644m.js} +2 -2
  12. package/dist-lib/{metrics-BFTHu_jF.js → metrics-DHgtBP-R.js} +1 -1
  13. package/dist-lib/{paintStyle-GQFOpJKx.js → paintStyle-Cjk9egel.js} +10 -9
  14. package/dist-lib/{parse-DmTwoFz6.js → parse-D3V5Abci.js} +11 -11
  15. package/dist-lib/{pipeline-BTemNJdx.js → pipeline-JfHxzjns.js} +1 -1
  16. package/dist-lib/recalc-docx.js +1 -1
  17. package/dist-lib/{recalcToc-c9kIMGbk.js → recalcToc-MRszlj8g.js} +80 -80
  18. package/dist-lib/{stylesheet-BcU1Q_JI.js → stylesheet-E5bu1xch.js} +1 -1
  19. package/dist-lib/{toc-mgkp-28Y.js → toc-DSwkNKls.js} +15 -15
  20. package/dist-lib/{webmcp-BLC_QALL.js → webmcp-Dr3n_xAO.js} +2 -2
  21. package/docs/.vitepress/cache/deps/_metadata.json +7 -7
  22. package/docs/.vitepress/config.ts +4 -0
  23. package/docs/.vitepress/dist/404.html +2 -2
  24. package/docs/.vitepress/dist/assets/{app.DYJtoZwO.js → app.rXBVdtfQ.js} +1 -1
  25. package/docs/.vitepress/dist/assets/chunks/framework.D9_ZvfG7.js +19 -0
  26. package/docs/.vitepress/dist/assets/chunks/{theme.BTGY7hKU.js → theme.CFP3sGN8.js} +1 -1
  27. package/docs/.vitepress/dist/assets/fonts.md.W87hfQua.js +75 -0
  28. package/docs/.vitepress/dist/assets/fonts.md.W87hfQua.lean.js +1 -0
  29. package/docs/.vitepress/dist/assets/{http-event-sink.md.BViKRVhd.js → http-event-sink.md.D7mTerle.js} +1 -1
  30. package/docs/.vitepress/dist/assets/{http-event-sink.md.BViKRVhd.lean.js → http-event-sink.md.D7mTerle.lean.js} +1 -1
  31. package/docs/.vitepress/dist/assets/{index.md.Bc6V9_E3.js → index.md.DN1JXJhG.js} +1 -1
  32. package/docs/.vitepress/dist/assets/{index.md.Bc6V9_E3.lean.js → index.md.DN1JXJhG.lean.js} +1 -1
  33. package/docs/.vitepress/dist/assets/{public-events.md.CMTD1Y84.js → public-events.md.Rj44CdBr.js} +1 -1
  34. package/docs/.vitepress/dist/assets/{public-events.md.CMTD1Y84.lean.js → public-events.md.Rj44CdBr.lean.js} +1 -1
  35. package/docs/.vitepress/dist/assets/{review-comments.md.19jCC2Pi.js → review-comments.md.466PcTcC.js} +1 -1
  36. package/docs/.vitepress/dist/assets/{review-comments.md.19jCC2Pi.lean.js → review-comments.md.466PcTcC.lean.js} +1 -1
  37. package/docs/.vitepress/dist/assets/table-editing.md.Bso_sgTE.js +28 -0
  38. package/docs/.vitepress/dist/assets/table-editing.md.Bso_sgTE.lean.js +1 -0
  39. package/docs/.vitepress/dist/fonts.html +99 -0
  40. package/docs/.vitepress/dist/hashmap.json +1 -1
  41. package/docs/.vitepress/dist/http-event-sink.html +6 -6
  42. package/docs/.vitepress/dist/index.html +6 -6
  43. package/docs/.vitepress/dist/public-events.html +7 -7
  44. package/docs/.vitepress/dist/review-comments.html +6 -6
  45. package/docs/.vitepress/dist/table-editing.html +52 -0
  46. package/docs/fonts.md +139 -0
  47. package/docs/table-editing.md +102 -0
  48. package/package.json +4 -1
  49. package/types/kindy-editor.d.ts +65 -1
  50. package/docs/.vitepress/dist/assets/chunks/framework.DCJ5T8RY.js +0 -19
package/package.json CHANGED
@@ -1,9 +1,12 @@
1
1
  {
2
2
  "name": "kindy-editor",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
4
4
  "type": "module",
5
5
  "description": "Trình soạn thảo tài liệu Word chính xác, vẽ bằng canvas",
6
6
  "license": "MIT",
7
+ "publishConfig": {
8
+ "access": "public"
9
+ },
7
10
  "module": "./dist-lib/kindy-editor.js",
8
11
  "types": "./types/kindy-editor.d.ts",
9
12
  "exports": {
@@ -35,6 +35,26 @@ export interface DocSelection {
35
35
  goalX?: number;
36
36
  }
37
37
 
38
+ export type TableStoryPath =
39
+ | { kind: "body" }
40
+ | { kind: "band"; band: "header" | "footer" | "headerFirst" | "headerEven" | "footerFirst" | "footerEven" };
41
+ export interface TablePath {
42
+ story: TableStoryPath;
43
+ ancestors: Array<{ tableId: string; cellId: string }>;
44
+ tableId: string;
45
+ }
46
+ export interface TableGridPoint { row: number; col: number }
47
+ export type TableSelection =
48
+ | { kind: "cell"; table: TablePath; anchor: TableGridPoint; focus: TableGridPoint }
49
+ | { kind: "row"; table: TablePath; from: number; to: number }
50
+ | { kind: "column"; table: TablePath; from: number; to: number }
51
+ | { kind: "table"; table: TablePath };
52
+ export type TableAction =
53
+ | "insertRowAbove" | "insertRowBelow"
54
+ | "insertColumnLeft" | "insertColumnRight"
55
+ | "deleteRow" | "deleteColumn" | "deleteTable"
56
+ | "mergeCells" | "unmergeCell";
57
+
38
58
  // ===== Review layer (track changes + comments) =============================
39
59
  // An attributed, anchored overlay on top of the core document. `getReview()`
40
60
  // returns a snapshot; the `reviewChanged` event carries the full layer.
@@ -244,6 +264,33 @@ export interface CustomFontDef {
244
264
  label?: string;
245
265
  }
246
266
 
267
+ /** One versioned font catalog hosted by the application or a CDN. */
268
+ export interface FontManifestSource {
269
+ url: string;
270
+ /** Override for resolving relative face URLs; defaults to the manifest directory. */
271
+ baseUrl?: string;
272
+ }
273
+
274
+ /** JSON schema accepted by `FontsConfig.manifests`. */
275
+ export interface KindyFontManifest {
276
+ schemaVersion: "1.0";
277
+ baseUrl?: string;
278
+ fonts: CustomFontDef[];
279
+ }
280
+
281
+ /** A manifest/font request handed to an authenticated host transport. */
282
+ export interface FontAssetRequest {
283
+ kind: "manifest" | "font";
284
+ url: string;
285
+ family?: string;
286
+ style?: "Regular" | "Bold" | "Italic" | "BoldItalic";
287
+ }
288
+
289
+ export type FontAssetLoader = (
290
+ request: Readonly<FontAssetRequest>,
291
+ signal: AbortSignal,
292
+ ) => Promise<ArrayBuffer | Uint8Array>;
293
+
247
294
  /** The `fonts` option: register custom fonts and/or hide built-ins from the toolbar. */
248
295
  export interface FontsConfig {
249
296
  /** Original family names (e.g. "Calibri") to hide from the toolbar. Hidden
@@ -252,6 +299,12 @@ export interface FontsConfig {
252
299
  disableBuiltin?: string[];
253
300
  /** Custom fonts to register and offer in the toolbar. */
254
301
  fonts?: CustomFontDef[];
302
+ /** Base URL for relative face URLs declared directly in `fonts`. */
303
+ baseUrl?: string;
304
+ /** Versioned JSON catalogs to load before the first Canvas layout. */
305
+ manifests?: Array<string | FontManifestSource>;
306
+ /** Optional authenticated/custom transport; defaults to standards-based fetch. */
307
+ loader?: FontAssetLoader;
255
308
  }
256
309
 
257
310
  /** Overrides the LIBRARY's built-in default run/paragraph styles for NEW/blank
@@ -428,7 +481,10 @@ export interface KindyEditorOptions {
428
481
  /** Behavior tuning: zoom step (default 1.1), zoom clamp (0.25–5), indent step
429
482
  * (36px), and default drawing-grid spacing (24px; `view.gridSpacingPx` wins). */
430
483
  behavior?: EditorBehavior;
431
- /** Supply your OWN fonts, loaded from URLs at runtime. Each custom font needs a
484
+ /** Supply your OWN fonts, loaded from URLs or versioned CDN manifests at runtime.
485
+ * Relative inline URLs resolve against `baseUrl`; `loader` can add auth headers
486
+ * or signed URLs and is shared by Canvas preview and export preparation. Each
487
+ * custom font needs a
432
488
  * `family` (stored in the model + shown in the toolbar), per-style face URLs
433
489
  * (`regular` required; the rest fall back to it), and REQUIRED `sizing`
434
490
  * ({ ascent, descent } as fractions of em) so the editor and the PDF/DOCX
@@ -665,6 +721,10 @@ export interface EditorHandle {
665
721
  getSelection(): DocSelection | null;
666
722
  /** Insert plain text at the caret, replacing any selection. */
667
723
  insertText(text: string): void;
724
+ getTableSelection(): TableSelection | null;
725
+ setTableSelection(selection: TableSelection | null): void;
726
+ canExecuteTableAction(action: TableAction): boolean;
727
+ executeTableAction(action: TableAction): boolean;
668
728
  // ---- review layer (track changes + comments) ----------------------------
669
729
  /** The current editor mode. */
670
730
  getMode(): EditMode;
@@ -763,6 +823,10 @@ export declare class KindyEditor {
763
823
  getSelection(): DocSelection | null;
764
824
  /** Insert plain text at the caret (replacing any selection). */
765
825
  insertText(text: string): Promise<void>;
826
+ getTableSelection(): TableSelection | null;
827
+ setTableSelection(selection: TableSelection | null): Promise<void>;
828
+ canExecuteTableAction(action: TableAction): boolean;
829
+ executeTableAction(action: TableAction): Promise<boolean>;
766
830
  getDocId(): string | null;
767
831
  getShareLink(): string | null;
768
832
  destroy(): void;
@@ -1,19 +0,0 @@
1
- /**
2
- * @vue/shared v3.5.41
3
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
- * @license MIT
5
- **/function Vs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ie={},It=[],Xe=()=>{},ei=()=>!1,ln=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),$n=e=>e.startsWith("onUpdate:"),de=Object.assign,ks=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},$o=Object.prototype.hasOwnProperty,Z=(e,t)=>$o.call(e,t),B=Array.isArray,Lt=e=>cn(e)==="[object Map]",ti=e=>cn(e)==="[object Set]",fr=e=>cn(e)==="[object Date]",G=e=>typeof e=="function",le=e=>typeof e=="string",Ie=e=>typeof e=="symbol",Q=e=>e!==null&&typeof e=="object",ni=e=>(Q(e)||G(e))&&G(e.then)&&G(e.catch),si=Object.prototype.toString,cn=e=>si.call(e),jo=e=>cn(e).slice(8,-1),ri=e=>cn(e)==="[object Object]",jn=e=>le(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,yt=Vs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Vn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Vo=/-\w/g,Ee=Vn(e=>e.replace(Vo,t=>t.slice(1).toUpperCase())),ko=/\B([A-Z])/g,dt=Vn(e=>e.replace(ko,"-$1").toLowerCase()),kn=Vn(e=>e.charAt(0).toUpperCase()+e.slice(1)),wn=Vn(e=>e?`on${kn(e)}`:""),Ge=(e,t)=>!Object.is(e,t),is=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ii=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Wo=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Uo=e=>{const t=le(e)?Number(e):NaN;return isNaN(t)?e:t};let ur;const Wn=()=>ur||(ur=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ws(e){if(B(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=le(s)?Go(s):Ws(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(le(e)||Q(e))return e}const Bo=/;(?![^(]*\))/g,Ko=/:([^]+)/,qo=/\/\*[^]*?\*\//g;function Go(e){const t={};return e.replace(qo,"").split(Bo).forEach(n=>{if(n){const s=n.split(Ko);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Us(e){let t="";if(le(e))t=e;else if(B(e))for(let n=0;n<e.length;n++){const s=Us(e[n]);s&&(t+=s+" ")}else if(Q(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Xo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Yo=Vs(Xo);function oi(e){return!!e||e===""}function zo(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Bs(e[s],t[s]);return n}function Bs(e,t){if(e===t)return!0;let n=fr(e),s=fr(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Ie(e),s=Ie(t),n||s)return e===t;if(n=B(e),s=B(t),n||s)return n&&s?zo(e,t):!1;if(n=Q(e),s=Q(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const l in e){const o=e.hasOwnProperty(l),c=t.hasOwnProperty(l);if(o&&!c||!o&&c||!Bs(e[l],t[l]))return!1}}return String(e)===String(t)}const li=e=>!!(e&&e.__v_isRef===!0),Jo=e=>le(e)?e:e==null?"":B(e)||Q(e)&&(e.toString===si||!G(e.toString))?li(e)?Jo(e.value):JSON.stringify(e,ci,2):String(e),ci=(e,t)=>li(t)?ci(e,t.value):Lt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[os(s,i)+" =>"]=r,n),{})}:ti(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>os(n))}:Ie(t)?os(t):Q(t)&&!B(t)&&!ri(t)?String(t):t,os=(e,t="")=>{var n;return Ie(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
6
- * @vue/reactivity v3.5.41
7
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
- * @license MIT
9
- **/let pe;class Qo{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&pe&&(pe.active?(this.parent=pe,this.index=(pe.scopes||(pe.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const s=this.scopes.slice();for(t=0,n=s.length;t<n;t++)s[t].pause()}for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes){const r=this.scopes.slice();for(t=0,n=r.length;t<n;t++)r[t].resume()}const s=this.effects.slice();for(t=0,n=s.length;t<n;t++)s[t].resume()}}run(t){if(this._active){const n=pe;try{return pe=this,t()}finally{pe=n}}}on(){++this._on===1&&(this.prevScope=pe,pe=this)}off(){if(this._on>0&&--this._on===0){if(pe===this)pe=this.prevScope;else{let t=pe;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){const r=this.scopes.slice();for(n=0,s=r.length;n<s;n++)r[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function ai(){return pe}function Zo(e,t=!1){pe&&pe.cleanups.push(e)}let re;const ls=new WeakSet;class fi{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,pe&&(pe.active?pe.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ls.has(this)&&(ls.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||di(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,dr(this),hi(this);const t=re,n=ke;re=this,ke=!0;try{return this.fn()}finally{pi(this),re=t,ke=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Gs(t);this.deps=this.depsTail=void 0,dr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ls.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Rs(this)&&this.run()}get dirty(){return Rs(this)}}let ui=0,qt,Gt;function di(e,t=!1){if(e.flags|=8,t){e.next=Gt,Gt=e;return}e.next=qt,qt=e}function Ks(){ui++}function qs(){if(--ui>0)return;if(Gt){let t=Gt;for(Gt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;qt;){let t=qt;for(qt=void 0;t;){const n=t.next;if(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 hi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function pi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Gs(s),el(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Rs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(gi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function gi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===zt)||(e.globalVersion=zt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Rs(e))))return;e.flags|=2;const t=e.dep,n=re,s=ke;re=e,ke=!0;try{hi(e);const r=e.fn(e._value);(t.version===0||Ge(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{re=n,ke=s,pi(e),e.flags&=-3}}function Gs(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,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Gs(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function el(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let ke=!0;const mi=[];function tt(){mi.push(ke),ke=!1}function nt(){const e=mi.pop();ke=e===void 0?!0:e}function dr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=re;re=void 0;try{t()}finally{re=n}}}let zt=0;class tl{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 Un{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!re||!ke||re===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==re)n=this.activeLink=new tl(re,this),re.deps?(n.prevDep=re.depsTail,re.depsTail.nextDep=n,re.depsTail=n):re.deps=re.depsTail=n,vi(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=re.depsTail,n.nextDep=void 0,re.depsTail.nextDep=n,re.depsTail=n,re.deps===n&&(re.deps=s)}return n}trigger(t){this.version++,zt++,this.notify(t)}notify(t){Ks();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{qs()}}}function vi(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)vi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const En=new WeakMap,_t=Symbol(""),Ms=Symbol(""),Jt=Symbol("");function be(e,t,n){if(ke&&re){let s=En.get(e);s||En.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Un),r.map=s,r.key=n),r.track()}}function Ze(e,t,n,s,r,i){const l=En.get(e);if(!l){zt++;return}const o=c=>{c&&c.trigger()};if(Ks(),t==="clear")l.forEach(o);else{const c=B(e),f=c&&jn(n);if(c&&n==="length"){const a=Number(s);l.forEach((h,v)=>{(v==="length"||v===Jt||!Ie(v)&&v>=a)&&o(h)})}else switch((n!==void 0||l.has(void 0))&&o(l.get(n)),f&&o(l.get(Jt)),t){case"add":c?f&&o(l.get("length")):(o(l.get(_t)),Lt(e)&&o(l.get(Ms)));break;case"delete":c||(o(l.get(_t)),Lt(e)&&o(l.get(Ms)));break;case"set":Lt(e)&&o(l.get(_t));break}}qs()}function nl(e,t){const n=En.get(e);return n&&n.get(t)}function Mt(e){const t=J(e);return t===e?t:(be(t,"iterate",Jt),Pe(e)?t:t.map(We))}function Bn(e){return be(e=J(e),"iterate",Jt),e}function qe(e,t){return st(e)?Dt(ft(e)?We(t):t):We(t)}const sl={__proto__:null,[Symbol.iterator](){return cs(this,Symbol.iterator,e=>qe(this,e))},concat(...e){return Mt(this).concat(...e.map(t=>B(t)?Mt(t):t))},entries(){return cs(this,"entries",e=>(e[1]=qe(this,e[1]),e))},every(e,t){return Ye(this,"every",e,t,void 0,arguments)},filter(e,t){return Ye(this,"filter",e,t,n=>n.map(s=>qe(this,s)),arguments)},find(e,t){return Ye(this,"find",e,t,n=>qe(this,n),arguments)},findIndex(e,t){return Ye(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ye(this,"findLast",e,t,n=>qe(this,n),arguments)},findLastIndex(e,t){return Ye(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ye(this,"forEach",e,t,void 0,arguments)},includes(...e){return as(this,"includes",e)},indexOf(...e){return as(this,"indexOf",e)},join(e){return Mt(this).join(e)},lastIndexOf(...e){return as(this,"lastIndexOf",e)},map(e,t){return Ye(this,"map",e,t,void 0,arguments)},pop(){return kt(this,"pop")},push(...e){return kt(this,"push",e)},reduce(e,...t){return hr(this,"reduce",e,t)},reduceRight(e,...t){return hr(this,"reduceRight",e,t)},shift(){return kt(this,"shift")},some(e,t){return Ye(this,"some",e,t,void 0,arguments)},splice(...e){return kt(this,"splice",e)},toReversed(){return Mt(this).toReversed()},toSorted(e){return Mt(this).toSorted(e)},toSpliced(...e){return Mt(this).toSpliced(...e)},unshift(...e){return kt(this,"unshift",e)},values(){return cs(this,"values",e=>qe(this,e))}};function cs(e,t,n){const s=Bn(e),r=s[t]();return s!==e&&!Pe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=n(i.value)),i}),r}const rl=Array.prototype;function Ye(e,t,n,s,r,i){const l=Bn(e),o=l!==e&&!Pe(e),c=l[t];if(c!==rl[t]){const h=c.apply(e,i);return o?We(h):h}let f=n;l!==e&&(o?f=function(h,v){return n.call(this,qe(e,h),v,e)}:n.length>2&&(f=function(h,v){return n.call(this,h,v,e)}));const a=c.call(l,f,s);return o&&r?r(a):a}function hr(e,t,n,s){const r=Bn(e),i=r!==e&&!Pe(e);let l=n,o=!1;r!==e&&(i?(o=s.length===0,l=function(f,a,h){return o&&(o=!1,f=qe(e,f)),n.call(this,f,qe(e,a),h,e)}):n.length>3&&(l=function(f,a,h){return n.call(this,f,a,h,e)}));const c=r[t](l,...s);return o?qe(e,c):c}function as(e,t,n){const s=J(e);be(s,"iterate",Jt);const r=s[t](...n);return(r===-1||r===!1)&&Kn(n[0])?(n[0]=J(n[0]),s[t](...n)):r}function kt(e,t,n=[]){tt(),Ks();const s=J(e)[t].apply(e,n);return qs(),nt(),s}const il=Vs("__proto__,__v_isRef,__isVue"),yi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ie));function ol(e){Ie(e)||(e=String(e));const t=J(this);return be(t,"has",e),t.hasOwnProperty(e)}class _i{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;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?ml:xi:i?Si:wi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const l=B(t);if(!r){let c;if(l&&(c=sl[n]))return c;if(n==="hasOwnProperty")return ol}const o=Reflect.get(t,n,ue(t)?t:s);if((Ie(n)?yi.has(n):il(n))||(r||be(t,"get",n),i))return o;if(ue(o)){const c=l&&jn(n)?o:o.value;return r&&Q(c)?Qt(c):c}return Q(o)?r?Qt(o):Ht(o):o}}class bi extends _i{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];const l=B(t)&&jn(n);if(!this._isShallow){const f=st(i);if(!Pe(s)&&!st(s)&&(i=J(i),s=J(s)),!l&&ue(i)&&!ue(s))return f||(i.value=s),!0}const o=l?Number(n)<t.length:Z(t,n),c=Reflect.set(t,n,s,ue(t)?t:r);return t===J(r)&&c&&(o?Ge(s,i)&&Ze(t,"set",n,s):Ze(t,"add",n,s)),c}deleteProperty(t,n){const s=Z(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&Ze(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!Ie(n)||!yi.has(n))&&be(t,"has",n),s}ownKeys(t){return be(t,"iterate",B(t)?"length":_t),Reflect.ownKeys(t)}}class ll extends _i{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const cl=new bi,al=new ll,fl=new bi(!0);const Os=e=>e,dn=e=>Reflect.getPrototypeOf(e);function ul(e,t,n){return function(...s){const r=this.__v_raw,i=J(r),l=Lt(i),o=e==="entries"||e===Symbol.iterator&&l,c=e==="keys"&&l,f=r[e](...s),a=n?Os:t?Dt:We;return!t&&be(i,"iterate",c?Ms:_t),de(Object.create(f),{next(){const{value:h,done:v}=f.next();return v?{value:h,done:v}:{value:o?[a(h[0]),a(h[1])]:a(h),done:v}}})}}function hn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function dl(e,t){const n={get(r){const i=this.__v_raw,l=J(i),o=J(r);e||(Ge(r,o)&&be(l,"get",r),be(l,"get",o));const{has:c}=dn(l),f=t?Os:e?Dt:We;if(c.call(l,r))return f(i.get(r));if(c.call(l,o))return f(i.get(o));i!==l&&i.get(r)},get size(){const r=this.__v_raw;return!e&&be(J(r),"iterate",_t),r.size},has(r){const i=this.__v_raw,l=J(i),o=J(r);return e||(Ge(r,o)&&be(l,"has",r),be(l,"has",o)),r===o?i.has(r):i.has(r)||i.has(o)},forEach(r,i){const l=this,o=l.__v_raw,c=J(o),f=t?Os:e?Dt:We;return!e&&be(c,"iterate",_t),o.forEach((a,h)=>r.call(i,f(a),f(h),l))}};return de(n,e?{add:hn("add"),set:hn("set"),delete:hn("delete"),clear:hn("clear")}:{add(r){const i=J(this),l=dn(i),o=J(r),c=!t&&!Pe(r)&&!st(r)?o:r;return l.has.call(i,c)||Ge(r,c)&&l.has.call(i,r)||Ge(o,c)&&l.has.call(i,o)||(i.add(c),Ze(i,"add",c,c)),this},set(r,i){!t&&!Pe(i)&&!st(i)&&(i=J(i));const l=J(this),{has:o,get:c}=dn(l);let f=o.call(l,r);f||(r=J(r),f=o.call(l,r));const a=c.call(l,r);return l.set(r,i),f?Ge(i,a)&&Ze(l,"set",r,i):Ze(l,"add",r,i),this},delete(r){const i=J(this),{has:l,get:o}=dn(i);let c=l.call(i,r);c||(r=J(r),c=l.call(i,r)),o&&o.call(i,r);const f=i.delete(r);return c&&Ze(i,"delete",r,void 0),f},clear(){const r=J(this),i=r.size!==0,l=r.clear();return i&&Ze(r,"clear",void 0,void 0),l}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=ul(r,e,t)}),n}function Xs(e,t){const n=dl(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(Z(n,r)&&r in s?n:s,r,i)}const hl={get:Xs(!1,!1)},pl={get:Xs(!1,!0)},gl={get:Xs(!0,!1)};const wi=new WeakMap,Si=new WeakMap,xi=new WeakMap,ml=new WeakMap;function vl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ht(e){return st(e)?e:Ys(e,!1,cl,hl,wi)}function yl(e){return Ys(e,!1,fl,pl,Si)}function Qt(e){return Ys(e,!0,al,gl,xi)}function Ys(e,t,n,s,r){if(!Q(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const i=r.get(e);if(i)return i;const l=vl(jo(e));if(l===0)return e;const o=new Proxy(e,l===2?s:n);return r.set(e,o),o}function ft(e){return st(e)?ft(e.__v_raw):!!(e&&e.__v_isReactive)}function st(e){return!!(e&&e.__v_isReadonly)}function Pe(e){return!!(e&&e.__v_isShallow)}function Kn(e){return e?!!e.__v_raw:!1}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function Sn(e){return!Z(e,"__v_skip")&&Object.isExtensible(e)&&ii(e,"__v_skip",!0),e}const We=e=>Q(e)?Ht(e):e,Dt=e=>Q(e)?Qt(e):e;function ue(e){return e?e.__v_isRef===!0:!1}function bt(e){return Ti(e,!1)}function De(e){return Ti(e,!0)}function Ti(e,t){return ue(e)?e:new _l(e,t)}class _l{constructor(t,n){this.dep=new Un,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:J(t),this._value=n?t:We(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Pe(t)||st(t);t=s?t:J(t),Ge(t,n)&&(this._rawValue=t,this._value=s?t:We(t),this.dep.trigger())}}function qn(e){return ue(e)?e.value:e}function ae(e){return G(e)?e():qn(e)}const bl={get:(e,t,n)=>t==="__v_raw"?e:qn(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ue(r)&&!ue(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Ci(e){return ft(e)?e:new Proxy(e,bl)}class wl{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Un,{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 Sl(e){return new wl(e)}class xl{constructor(t,n,s){this._object=t,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._key=Ie(n)?n:String(n),this._raw=J(t);let r=!0,i=t;if(!B(t)||Ie(this._key)||!jn(this._key))do r=!Kn(i)||Pe(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=qn(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ue(this._raw[this._key])){const n=this._object[this._key];if(ue(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return nl(this._raw,this._key)}}class Tl{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 Cl(e,t,n){return ue(e)?e:G(e)?new Tl(e):Q(e)&&arguments.length>1?El(e,t,n):bt(e)}function El(e,t,n){return new xl(e,t,n)}class Al{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Un(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=zt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&re!==this)return di(this,!0),!0}get value(){const t=this.dep.track();return gi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Rl(e,t,n=!1){let s,r;return G(e)?s=e:(s=e.get,r=e.set),new Al(s,r,n)}const pn={},An=new WeakMap;let mt;function Ml(e,t=!1,n=mt){if(n){let s=An.get(n);s||An.set(n,s=[]),s.push(e)}}function Ol(e,t,n=ie){const{immediate:s,deep:r,once:i,scheduler:l,augmentJob:o,call:c}=n,f=g=>r?g:Pe(g)||r===!1||r===0?at(g,1):at(g);let a,h,v,y,P=!1,C=!1;if(ue(e)?(h=()=>e.value,P=Pe(e)):ft(e)?(h=()=>f(e),P=!0):B(e)?(C=!0,P=e.some(g=>ft(g)||Pe(g)),h=()=>e.map(g=>{if(ue(g))return g.value;if(ft(g))return f(g);if(G(g))return c?c(g,2):g()})):G(e)?t?h=c?()=>c(e,2):e:h=()=>{if(v){tt();try{v()}finally{nt()}}const g=mt;mt=a;try{return c?c(e,3,[y]):e(y)}finally{mt=g}}:h=Xe,t&&r){const g=h,M=r===!0?1/0:r;h=()=>at(g(),M)}const k=ai(),H=()=>{a.stop(),k&&k.active&&ks(k.effects,a)};if(i&&t){const g=t;t=(...M)=>{const j=g(...M);return H(),j}}let D=C?new Array(e.length).fill(pn):pn;const p=g=>{if(!(!(a.flags&1)||!a.dirty&&!g))if(t){const M=a.run();if(g||r||P||(C?M.some((j,O)=>Ge(j,D[O])):Ge(M,D))){v&&v();const j=mt;mt=a;try{const O=[M,D===pn?void 0:C&&D[0]===pn?[]:D,y];D=M,c?c(t,3,O):t(...O)}finally{mt=j}}}else a.run()};return o&&o(p),a=new fi(h),a.scheduler=l?()=>l(p,!1):p,y=g=>Ml(g,!1,a),v=a.onStop=()=>{const g=An.get(a);if(g){if(c)c(g,4);else for(const M of g)M();An.delete(a)}},t?s?p(!0):D=a.run():l?l(p.bind(null,!0),!0):a.run(),H.pause=a.pause.bind(a),H.resume=a.resume.bind(a),H.stop=H,H}function at(e,t=1/0,n){if(t<=0||!Q(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ue(e))at(e.value,t,n);else if(B(e))for(let s=0;s<e.length;s++)at(e[s],t,n);else if(ti(e)||Lt(e))e.forEach(s=>{at(s,t,n)});else if(ri(e)){for(const s in e)at(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&at(e[s],t,n)}return e}/**
10
- * @vue/runtime-core v3.5.41
11
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
- * @license MIT
13
- **/function an(e,t,n,s){try{return s?e(...s):e()}catch(r){Gn(r,t,n)}}function je(e,t,n,s){if(G(e)){const r=an(e,t,n,s);return r&&ni(r)&&r.catch(i=>{Gn(i,t,n)}),r}if(B(e)){const r=[];for(let i=0;i<e.length;i++)r.push(je(e[i],t,n,s));return r}}function Gn(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:l}=t&&t.appContext.config||ie;if(t){let o=t.parent;const c=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;o;){const a=o.ec;if(a){for(let h=0;h<a.length;h++)if(a[h](e,c,f)===!1)return}o=o.parent}if(i){tt(),an(i,null,10,[e,c,f]),nt();return}}Pl(e,n,r,s,l)}function Pl(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const xe=[];let Be=-1;const Nt=[];let ct=null,Pt=0;const Ei=Promise.resolve();let Rn=null;function Xn(e){const t=Rn||Ei;return e?t.then(this?e.bind(this):e):t}function Il(e){let t=Be+1,n=xe.length;for(;t<n;){const s=t+n>>>1,r=xe[s],i=Zt(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function zs(e){if(!(e.flags&1)){const t=Zt(e),n=xe[xe.length-1];!n||!(e.flags&2)&&t>=Zt(n)?xe.push(e):xe.splice(Il(t),0,e),e.flags|=1,Ai()}}function Ai(){Rn||(Rn=Ei.then(Ri))}function Ll(e){if(!B(e))ct&&e.id===-1?ct.splice(Pt+1,0,e):e.flags&1||(Nt.push(e),e.flags|=1);else for(let t=0;t<e.length;t++)Nt.push(e[t]);Ai()}function pr(e,t,n=Be+1){for(;n<xe.length;n++){const s=xe[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;xe.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Mn(e){if(Nt.length){const t=[...new Set(Nt)].sort((n,s)=>Zt(n)-Zt(s));if(Nt.length=0,ct){for(let n=0;n<t.length;n++)ct.push(t[n]);return}for(ct=t,Pt=0;Pt<ct.length;Pt++){const n=ct[Pt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}ct=null,Pt=0}}const Zt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Ri(e){try{for(Be=0;Be<xe.length;Be++){const t=xe[Be];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),an(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Be<xe.length;Be++){const t=xe[Be];t&&(t.flags&=-2)}Be=-1,xe.length=0,Mn(),Rn=null,(xe.length||Nt.length)&&Ri()}}let Ce=null,Mi=null;function On(e){const t=Ce;return Ce=e,Mi=e&&e.type.__scopeId||null,t}function Nl(e,t=Ce,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Fn(-1);const i=On(t),l=et.length;let o;try{o=e(...r)}finally{for(let c=et.length;c>l;c--)er();On(i),s._d&&Fn(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Ke(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let l=0;l<r.length;l++){const o=r[l];i&&(o.oldValue=i[l].value);let c=o.dir[s];c&&(tt(),je(c,n,8,[e.el,o,e,t]),nt())}}function Fl(e,t){if(we){let n=we.provides;const s=we.parent&&we.parent.provides;s===n&&(n=we.provides=Object.create(s)),n[e]=t}}function wt(e,t,n=!1){const s=At();if(s||xt){let r=xt?xt._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&G(t)?t.call(s&&s.proxy):t}}function Oi(){return!!(At()||xt)}const Hl=Symbol.for("v-scx"),Dl=()=>wt(Hl);function Pi(e,t){return Yn(e,null,t)}function Mf(e,t){return Yn(e,null,{flush:"post"})}function $e(e,t,n){return Yn(e,t,n)}function Yn(e,t,n=ie){const{immediate:s,deep:r,flush:i,once:l}=n,o=de({},n),c=t&&s||!t&&i!=="post";let f;if(rn){if(i==="sync"){const y=Dl();f=y.__watcherHandles||(y.__watcherHandles=[])}else if(!c){const y=()=>{};return y.stop=Xe,y.resume=Xe,y.pause=Xe,y}}const a=we;o.call=(y,P,C)=>je(y,a,P,C);let h=!1;i==="post"?o.scheduler=y=>{Ae(y,a&&a.suspense)}:i!=="sync"&&(h=!0,o.scheduler=(y,P)=>{P?y():zs(y)}),o.augmentJob=y=>{t&&(y.flags|=4),h&&(y.flags|=2,a&&(y.id=a.uid,y.i=a))};const v=Ol(e,t,o);return rn&&(f?f.push(v):c&&v()),v}function $l(e,t,n){const s=this.proxy,r=le(e)?e.includes(".")?Ii(s,e):()=>s[e]:e.bind(s,s);let i;G(t)?i=t:(i=t.handler,n=t);const l=fn(this),o=Yn(r,i.bind(s),n);return l(),o}function Ii(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const jl=Symbol("_vte"),zn=e=>e.__isTeleport,Fe=Symbol("_leaveCb"),Wt=Symbol("_enterCb");function Vl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return $t(()=>{e.isMounted=!0}),ki(()=>{e.isUnmounting=!0}),e}const Le=[Function,Array],Li={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Le,onEnter:Le,onAfterEnter:Le,onEnterCancelled:Le,onBeforeLeave:Le,onLeave:Le,onAfterLeave:Le,onLeaveCancelled:Le,onBeforeAppear:Le,onAppear:Le,onAfterAppear:Le,onAppearCancelled:Le},Ni=e=>{const t=e.subTree;return t.component?Ni(t.component):t},kl={name:"BaseTransition",props:Li,setup(e,{slots:t}){const n=At(),s=Vl();return()=>{const r=t.default&&Di(t.default(),!0),i=r&&r.length?Fi(r):n.subTree?Nc():void 0;if(!i)return;const l=J(e),{mode:o}=l;if(s.isLeaving)return fs(i);const c=Pn(i);if(!c)return fs(i);let f=Ps(c,l,s,n,h=>f=h);c.type!==me&&en(c,f);let a=n.subTree&&Pn(n.subTree);if(a&&a.type!==me&&!vt(a,c)&&Ni(n).type!==me){let h=Ps(a,l,s,n);if(en(a,h),o==="out-in"&&c.type!==me)return s.isLeaving=!0,h.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,a=void 0},fs(i);o==="in-out"&&c.type!==me?h.delayLeave=(v,y,P)=>{const C=Hi(s,a);C[String(a.key)]=a,v[Fe]=()=>{y(),v[Fe]=void 0,delete f.delayedLeave,a=void 0},f.delayedLeave=()=>{P(),delete f.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return i}}};function Fi(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==me){t=n;break}}return t}const Wl=kl;function Hi(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 Ps(e,t,n,s,r){const{appear:i,mode:l,persisted:o=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:a,onEnterCancelled:h,onBeforeLeave:v,onLeave:y,onAfterLeave:P,onLeaveCancelled:C,onBeforeAppear:k,onAppear:H,onAfterAppear:D,onAppearCancelled:p}=t,g=String(e.key),M=Hi(n,e),j=(E,F)=>{E&&je(E,s,9,F)},O=(E,F)=>{const x=F[1];j(E,F),B(E)?E.every(_=>_.length<=1)&&x():E.length<=1&&x()},U={mode:l,persisted:o,beforeEnter(E){let F=c;if(!n.isMounted)if(i)F=k||c;else return;E[Fe]&&E[Fe](!0);const x=M[g];x&&vt(e,x)&&x.el[Fe]&&x.el[Fe](),j(F,[E])},enter(E){if(M[g]===e)return;let F=f,x=a,_=h;if(!n.isMounted)if(i)F=H||f,x=D||a,_=p||h;else return;let L=!1;E[Wt]=te=>{L||(L=!0,te?j(_,[E]):j(x,[E]),U.delayedLeave&&U.delayedLeave(),E[Wt]=void 0)};const X=E[Wt].bind(null,!1);F?O(F,[E,X]):X()},leave(E,F){const x=String(e.key);if(E[Wt]&&E[Wt](!0),n.isUnmounting)return F();j(v,[E]);let _=!1;E[Fe]=X=>{_||(_=!0,F(),X?j(C,[E]):j(P,[E]),E[Fe]=void 0,M[x]===e&&delete M[x])};const L=E[Fe].bind(null,!1);M[x]=e,y?O(y,[E,L]):L()},clone(E){const F=Ps(E,t,n,s,r);return r&&r(F),F}};return U}function fs(e){if(Jn(e))return e=ut(e),e.children=null,e}function Pn(e){if(!Jn(e))return zn(e.type)&&e.children?Fi(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&G(n.default))return n.default()}}function en(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const n=e.component.subTree;en(zn(n.type)&&Pn(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Di(e,t=!1,n){let s=[],r=0;for(let i=0;i<e.length;i++){let l=e[i];const o=n==null?l.key:String(n)+String(l.key!=null?l.key:i);l.type===Te?(l.patchFlag&128&&r++,s=s.concat(Di(l.children,t,o))):(t||l.type!==me)&&s.push(o!=null?ut(l,{key:o}):l)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}function $i(e,t){return G(e)?de({name:e.name},t,{setup:e}):e}function ji(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function gr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const In=new WeakMap;function Ft(e,t,n,s,r=!1){if(B(e)){e.forEach((C,k)=>Ft(C,t&&(B(t)?t[k]:t),n,s,r));return}if(St(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Ft(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?tr(s.component):s.el,l=r?null:i,{i:o,r:c}=e,f=t&&t.r,a=o.refs===ie?o.refs={}:o.refs,h=o.setupState,v=J(h),y=h===ie?ei:C=>gr(a,C)?!1:Z(v,C),P=(C,k)=>!(k&&gr(a,k));if(f!=null&&f!==c){if(mr(t),le(f))a[f]=null,y(f)&&(h[f]=null);else if(ue(f)){const C=t;P(f,C.k)&&(f.value=null),C.k&&(a[C.k]=null)}}if(G(c))an(c,o,12,[l,a]);else{const C=le(c),k=ue(c);if(C||k){const H=()=>{if(e.f){const D=C?y(c)?h[c]:a[c]:P()||!e.k?c.value:a[e.k];if(r)B(D)&&ks(D,i);else if(B(D))D.includes(i)||D.push(i);else if(C)a[c]=[i],y(c)&&(h[c]=a[c]);else{const p=[i];P(c,e.k)&&(c.value=p),e.k&&(a[e.k]=p)}}else C?(a[c]=l,y(c)&&(h[c]=l)):k&&(P(c,e.k)&&(c.value=l),e.k&&(a[e.k]=l))};if(l){const D=()=>{H(),In.delete(e)};D.id=-1,In.set(e,D),Ae(D,n)}else mr(e),H()}}}function mr(e){const t=In.get(e);t&&(t.flags|=8,In.delete(e))}let vr=!1;const Ot=()=>{vr||(console.error("Hydration completed but contains mismatches."),vr=!0)},Ul=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Bl=e=>e.namespaceURI.includes("MathML"),gn=e=>{if(e.nodeType===1){if(Ul(e))return"svg";if(Bl(e))return"mathml"}},mn=e=>e.nodeType===8;function Kl(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:l,remove:o,insert:c,createComment:f}}=e,a=(p,g)=>{if(!g.hasChildNodes()){n(null,p,g),Mn(),g._vnode=p;return}h(g.firstChild,p,null,null,null),Mn(),g._vnode=p},h=(p,g,M,j,O,U=!1)=>{U=U||!!g.dynamicChildren;const E=mn(p)&&p.data==="[",F=()=>C(p,g,M,j,O,E),{type:x,ref:_,shapeFlag:L,patchFlag:X}=g;let te=p.nodeType;g.el=p,X===-2&&(U=!1,g.dynamicChildren=null);let V=null;switch(x){case Tt:te!==3?g.children===""?(c(g.el=r(""),l(p),p),V=p):V=F():(p.data!==g.children&&(Ot(),p.data=g.children),V=i(p));break;case me:D(p)?(V=i(p),H(g.el=p.content.firstChild,p,M)):te!==8||E?V=F():V=i(p);break;case Yt:if(E&&(p=i(p),te=p.nodeType),te===1||te===3){V=p;const Y=!g.children.length;for(let q=0;q<g.staticCount;q++)Y&&(g.children+=V.nodeType===1?V.outerHTML:V.data),q===g.staticCount-1&&(g.anchor=V),V=i(V);return E?i(V):V}else F();break;case Te:E?V=P(p,g,M,j,O,U):V=F();break;default:if(L&1)(te!==1||g.type.toLowerCase()!==p.tagName.toLowerCase())&&!D(p)?V=F():V=v(p,g,M,j,O,U);else if(L&6){g.slotScopeIds=O;const Y=l(p);if(E?V=k(p):mn(p)&&p.data==="teleport start"?V=k(p,p.data,"teleport end"):V=i(p),t(g,Y,null,M,j,gn(Y),U),St(g)&&!g.type.__asyncResolved){let q;E?(q=ve(Te),q.anchor=V?V.previousSibling:Y.lastChild):q=p.nodeType===3?mo(""):ve("div"),q.el=p,g.component.subTree=q}}else L&64?te!==8?V=F():V=g.type.hydrate(p,g,M,j,O,U,e,y):L&128&&(V=g.type.hydrate(p,g,M,j,gn(l(p)),O,U,e,h))}return _!=null&&Ft(_,null,j,g),V},v=(p,g,M,j,O,U)=>{U=U||!!g.dynamicChildren;const{type:E,dynamicProps:F,props:x,patchFlag:_,shapeFlag:L,dirs:X,transition:te}=g,V=E==="input"||E==="option",Y=!!F;if(V||Y||_!==-1){X&&Ke(g,null,M,"created");let q=!1;if(D(p)){q=oo(null,te)&&M&&M.vnode.props&&M.vnode.props.appear;const se=p.content.firstChild;if(q){const ge=se.getAttribute("class");ge&&(se.$cls=ge),te.beforeEnter(se)}H(se,p,M),g.el=p=se}if(L&16&&!(x&&(x.innerHTML||x.textContent))){let se=y(p.firstChild,g,p,M,j,O,U);for(se&&!xn(p,1)&&Ot();se;){const ge=se;se=se.nextSibling,o(ge)}}else if(L&8){let se=g.children;se[0]===`
14
- `&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&(se=se.slice(1));const{textContent:ge}=p;ge!==se&&ge!==se.replace(/\r\n|\r/g,`
15
- `)&&(xn(p,0)||Ot(),p.textContent=g.children)}if(x){if(V||Y||!U||_&48){const se=p.tagName.includes("-"),ge=p.namespaceURI.includes("svg")?"svg":p.namespaceURI.includes("MathML")?"mathml":void 0;for(const ce in x)if(V&&(ce.endsWith("value")||ce==="indeterminate")||ln(ce)&&!yt(ce)||ce[0]==="."||se&&!yt(ce)||F&&F.includes(ce)){if(Gl(p,ce,x[ce]))continue;s(p,ce,null,x[ce],ge,M)}}else if(x.onClick)s(p,"onClick",null,x.onClick,void 0,M);else if(_&4&&ft(x.style))for(const se in x.style)x.style[se]}let ye;(ye=x&&x.onVnodeBeforeMount)&&Ne(ye,M,g),X&&Ke(g,null,M,"beforeMount"),((ye=x&&x.onVnodeMounted)||X||q)&&uo(()=>{ye&&Ne(ye,M,g),q&&te.enter(p),X&&Ke(g,null,M,"mounted")},j)}return p.nextSibling},y=(p,g,M,j,O,U,E)=>{E=E||!!g.dynamicChildren;const F=g.children,x=F.length;let _=!1;for(let L=0;L<x;L++){const X=E?F[L]:F[L]=He(F[L]),te=X.type===Tt;p?(te&&!E&&L+1<x&&He(F[L+1]).type===Tt&&(c(r(p.data.slice(X.children.length)),M,i(p)),p.data=X.children),p=h(p,X,j,O,U,E)):te&&!X.children?c(X.el=r(""),M):(_||(_=!0,xn(M,1)||Ot()),n(null,X,M,null,j,O,gn(M),U))}return p},P=(p,g,M,j,O,U)=>{const{slotScopeIds:E}=g;E&&(O=O?O.concat(E):E);const F=l(p),x=y(i(p),g,F,M,j,O,U);return x&&mn(x)&&x.data==="]"?i(g.anchor=x):(Ot(),c(g.anchor=f("]"),F,x),x)},C=(p,g,M,j,O,U)=>{if(Yl(p,g)||Ot(),g.el=null,U){const x=k(p);for(;;){const _=i(p);if(_&&_!==x)o(_);else break}}const E=i(p),F=l(p);return o(p),n(null,g,F,E,M,j,gn(F),O),M&&(M.vnode.el=g.el,Ji(M,g.el)),E},k=(p,g="[",M="]")=>{let j=0;for(;p;)if(p=i(p),p&&mn(p)&&(p.data===g&&j++,p.data===M)){if(j===0)return i(p);j--}return p},H=(p,g,M)=>{const j=g.parentNode;j&&j.replaceChild(p,g);let O=M;for(;O;)O.vnode.el===g&&(O.vnode.el=O.subTree.el=p),O=O.parent},D=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[a,h]}const ql=new Set(["src","srcset","href","poster"]);function Gl(e,t,n){return ql.has(t)?e.getAttribute(t)===(n==null?null:`${n}`):!1}const Ln="data-allow-mismatch",Xl={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function xn(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Ln);)e=e.parentElement;return Js(e&&e.getAttribute(Ln),t)}function Js(e,t){if(e==null)return!1;if(e==="")return!0;{const n=e.split(",");return t===0&&n.includes("children")?!0:n.includes(Xl[t])}}function Yl(e,t){return xn(e.parentElement,1)||zl(e)||Jl(t)}function zl(e){return e.nodeType===1&&Js(e.getAttribute(Ln),1)}function Jl({props:e}){const t=e&&e[Ln];return typeof t=="string"&&Js(t,1)}Wn().requestIdleCallback;Wn().cancelIdleCallback;const St=e=>!!e.type.__asyncLoader,Jn=e=>e.type.__isKeepAlive;function Ql(e,t){Vi(e,"a",t)}function Zl(e,t){Vi(e,"da",t)}function Vi(e,t,n=we){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Qn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Jn(r.parent.vnode)&&ec(s,t,n,r),r=r.parent}}function ec(e,t,n,s){const r=Qn(t,e,s,!0);Zn(()=>{ks(s[t],r)},n)}function Qn(e,t,n=we,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...l)=>{tt();const o=fn(n),c=je(t,n,e,l);return o(),nt(),c});return s?r.unshift(i):r.push(i),i}}const ot=e=>(t,n=we)=>{(!rn||e==="sp")&&Qn(e,(...s)=>t(...s),n)},tc=ot("bm"),$t=ot("m"),nc=ot("bu"),sc=ot("u"),ki=ot("bum"),Zn=ot("um"),rc=ot("sp"),ic=ot("rtg"),oc=ot("rtc");function lc(e,t=we){Qn("ec",e,t)}const Wi="components";function Of(e,t){return Bi(Wi,e,!0,t)||e}const Ui=Symbol.for("v-ndc");function Pf(e){return le(e)?Bi(Wi,e,!1)||e:e||Ui}function Bi(e,t,n=!0,s=!1){const r=Ce||we;if(r){const i=r.type;{const o=Wc(i,!1);if(o&&(o===t||o===Ee(t)||o===kn(Ee(t))))return i}const l=yr(r[e]||i[e],t)||yr(r.appContext[e],t);return!l&&s?i:l}}function yr(e,t){return e&&(e[t]||e[Ee(t)]||e[kn(Ee(t))])}function If(e,t,n,s){let r;const i=n,l=B(e);if(l||le(e)){const o=l&&ft(e);let c=!1,f=!1;o&&(c=!Pe(e),f=st(e),e=Bn(e)),r=new Array(e.length);for(let a=0,h=e.length;a<h;a++)r[a]=t(c?f?Dt(We(e[a])):We(e[a]):e[a],a,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let o=0;o<e;o++)r[o]=t(o+1,o,void 0,i)}else if(Q(e))if(e[Symbol.iterator])r=Array.from(e,(o,c)=>t(o,c,void 0,i));else{const o=Object.keys(e);r=new Array(o.length);for(let c=0,f=o.length;c<f;c++){const a=o[c];r[c]=t(e[a],a,c,i)}}else r=[];return r}function Lf(e,t,n,s,r,i){if(n==null&&(n={}),Ce.ce||Ce.parent&&St(Ce.parent)&&Ce.parent.ce){const f=i!=null&&n.key==null?de({},n,{key:i}):n,a=Object.keys(f).length>0;return t!=="default"&&(f.name=t),Hs(),Ds(Te,null,[ve("slot",f,s&&s())],a?-2:64)}let l=e[t];l&&l._c&&(l._d=!1);const o=et.length;Hs();let c;try{const f=l&&Ki(l(n)),a=n.key||i||f&&f.key;c=Ds(Te,{key:(a&&!Ie(a)?a:`_${t}`)+(!f&&s?"_fb":"")},f||(s?s():[]),f&&e._===1?64:-2)}catch(f){for(let a=et.length;a>o;a--)er();throw f}finally{l&&l._c&&(l._d=!0)}return!r&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),c}function Ki(e){return e.some(t=>nn(t)?!(t.type===me||t.type===Te&&!Ki(t.children)):!0)?e:null}function Nf(e,t){const n={};for(const s in e)n[/[A-Z]/.test(s)?`on:${s}`:wn(s)]=e[s];return n}const Is=e=>e?vo(e)?tr(e):Is(e.parent):null,Xt=de(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=>Is(e.parent),$root:e=>Is(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Gi(e),$forceUpdate:e=>e.f||(e.f=()=>{zs(e.update)}),$nextTick:e=>e.n||(e.n=Xn.bind(e.proxy)),$watch:e=>$l.bind(e)}),us=(e,t)=>e!==ie&&!e.__isScriptSetup&&Z(e,t),cc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:l,type:o,appContext:c}=e;if(t[0]!=="$"){const v=l[t];if(v!==void 0)switch(v){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(us(s,t))return l[t]=1,s[t];if(r!==ie&&Z(r,t))return l[t]=2,r[t];if(Z(i,t))return l[t]=3,i[t];if(n!==ie&&Z(n,t))return l[t]=4,n[t];Ls&&(l[t]=0)}}const f=Xt[t];let a,h;if(f)return t==="$attrs"&&be(e.attrs,"get",""),f(e);if((a=o.__cssModules)&&(a=a[t]))return a;if(n!==ie&&Z(n,t))return l[t]=4,n[t];if(h=c.config.globalProperties,Z(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return us(r,t)?(r[t]=n,!0):s!==ie&&Z(s,t)?(s[t]=n,!0):Z(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,props:i,type:l}},o){let c;return!!(n[o]||e!==ie&&o[0]!=="$"&&Z(e,o)||us(t,o)||Z(i,o)||Z(s,o)||Z(Xt,o)||Z(r.config.globalProperties,o)||(c=l.__cssModules)&&c[o])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ff(){return ac().slots}function ac(e){const t=At();return t.setupContext||(t.setupContext=_o(t))}function _r(e){return B(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ls=!0;function fc(e){const t=Gi(e),n=e.proxy,s=e.ctx;Ls=!1,t.beforeCreate&&br(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:l,watch:o,provide:c,inject:f,created:a,beforeMount:h,mounted:v,beforeUpdate:y,updated:P,activated:C,deactivated:k,beforeDestroy:H,beforeUnmount:D,destroyed:p,unmounted:g,render:M,renderTracked:j,renderTriggered:O,errorCaptured:U,serverPrefetch:E,expose:F,inheritAttrs:x,components:_,directives:L,filters:X}=t;if(f&&uc(f,s,null),l)for(const Y in l){const q=l[Y];G(q)&&(s[Y]=q.bind(n))}if(r){const Y=r.call(n,n);Q(Y)&&(e.data=Ht(Y))}if(Ls=!0,i)for(const Y in i){const q=i[Y],ye=G(q)?q.bind(n,n):G(q.get)?q.get.bind(n,n):Xe,se=!G(q)&&G(q.set)?q.set.bind(n):Xe,ge=oe({get:ye,set:se});Object.defineProperty(s,Y,{enumerable:!0,configurable:!0,get:()=>ge.value,set:ce=>ge.value=ce})}if(o)for(const Y in o)qi(o[Y],s,n,Y);if(c){const Y=G(c)?c.call(n):c;Reflect.ownKeys(Y).forEach(q=>{Fl(q,Y[q])})}a&&br(a,e,"c");function V(Y,q){B(q)?q.forEach(ye=>Y(ye.bind(n))):q&&Y(q.bind(n))}if(V(tc,h),V($t,v),V(nc,y),V(sc,P),V(Ql,C),V(Zl,k),V(lc,U),V(oc,j),V(ic,O),V(ki,D),V(Zn,g),V(rc,E),B(F))if(F.length){const Y=e.exposed||(e.exposed={});F.forEach(q=>{Object.defineProperty(Y,q,{get:()=>n[q],set:ye=>n[q]=ye,enumerable:!0})})}else e.exposed||(e.exposed={});M&&e.render===Xe&&(e.render=M),x!=null&&(e.inheritAttrs=x),_&&(e.components=_),L&&(e.directives=L),E&&ji(e)}function uc(e,t,n=Xe){B(e)&&(e=Ns(e));for(const s in e){const r=e[s];let i;Q(r)?"default"in r?i=wt(r.from||s,r.default,!0):i=wt(r.from||s):i=wt(r),ue(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):t[s]=i}}function br(e,t,n){je(B(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function qi(e,t,n,s){let r=s.includes(".")?Ii(n,s):()=>n[s];if(le(e)){const i=t[e];G(i)&&$e(r,i)}else if(G(e))$e(r,e.bind(n));else if(Q(e))if(B(e))e.forEach(i=>qi(i,t,n,s));else{const i=G(e.handler)?e.handler.bind(n):t[e.handler];G(i)&&$e(r,i,e)}}function Gi(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:l}}=e.appContext,o=i.get(t);let c;return o?c=o:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>Nn(c,f,l,!0)),Nn(c,t,l)),Q(t)&&i.set(t,c),c}function Nn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Nn(e,i,n,!0),r&&r.forEach(l=>Nn(e,l,n,!0));for(const l in t)if(!(s&&l==="expose")){const o=dc[l]||n&&n[l];e[l]=o?o(e[l],t[l]):t[l]}return e}const dc={data:wr,props:Sr,emits:Sr,methods:Bt,computed:Bt,beforeCreate:Se,created:Se,beforeMount:Se,mounted:Se,beforeUpdate:Se,updated:Se,beforeDestroy:Se,beforeUnmount:Se,destroyed:Se,unmounted:Se,activated:Se,deactivated:Se,errorCaptured:Se,serverPrefetch:Se,components:Bt,directives:Bt,watch:pc,provide:wr,inject:hc};function wr(e,t){return t?e?function(){return de(G(e)?e.call(this,this):e,G(t)?t.call(this,this):t)}:t:e}function hc(e,t){return Bt(Ns(e),Ns(t))}function Ns(e){if(B(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Se(e,t){return e?[...new Set([].concat(e,t))]:t}function Bt(e,t){return e?de(Object.create(null),e,t):t}function Sr(e,t){return e?B(e)&&B(t)?[...new Set([...e,...t])]:de(Object.create(null),_r(e),_r(t??{})):t}function pc(e,t){if(!e)return t;if(!t)return e;const n=de(Object.create(null),e);for(const s in t)n[s]=Se(e[s],t[s]);return n}function Xi(){return{app:null,config:{isNativeTag:ei,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let gc=0;function mc(e,t){return function(s,r=null){G(s)||(s=de({},s)),r!=null&&!Q(r)&&(r=null);const i=Xi(),l=new WeakSet,o=[];let c=!1;const f=i.app={_uid:gc++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Bc,get config(){return i.config},set config(a){},use(a,...h){return l.has(a)||(a&&G(a.install)?(l.add(a),a.install(f,...h)):G(a)&&(l.add(a),a(f,...h))),f},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),f},component(a,h){return h?(i.components[a]=h,f):i.components[a]},directive(a,h){return h?(i.directives[a]=h,f):i.directives[a]},mount(a,h,v){if(!c){const y=f._ceVNode||ve(s,r);return y.appContext=i,v===!0?v="svg":v===!1&&(v=void 0),h&&t?t(y,a):e(y,a,v),c=!0,f._container=a,a.__vue_app__=f,tr(y.component)}},onUnmount(a){o.push(a)},unmount(){c&&(je(o,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(a,h){return i.provides[a]=h,f},runWithContext(a){const h=xt;xt=f;try{return a()}finally{xt=h}}};return f}}let xt=null;const vc=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ee(t)}Modifiers`]||e[`${dt(t)}Modifiers`];function yc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ie;let r=n;const i=t.startsWith("update:"),l=i&&vc(s,t.slice(7));l&&(l.trim&&(r=n.map(a=>le(a)?a.trim():a)),l.number&&(r=n.map(Wo)));let o,c=s[o=wn(t)]||s[o=wn(Ee(t))];!c&&i&&(c=s[o=wn(dt(t))]),c&&je(c,e,6,r);const f=s[o+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[o])return;e.emitted[o]=!0,je(f,e,6,r)}}const _c=new WeakMap;function Yi(e,t,n=!1){const s=n?_c:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let l={},o=!1;if(!G(e)){const c=f=>{const a=Yi(f,t,!0);a&&(o=!0,de(l,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!o?(Q(e)&&s.set(e,null),null):(B(i)?i.forEach(c=>l[c]=null):de(l,i),Q(e)&&s.set(e,l),l)}function es(e,t){return!e||!ln(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),Z(e,t[0].toLowerCase()+t.slice(1))||Z(e,dt(t))||Z(e,t))}function ds(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:l,attrs:o,emit:c,render:f,renderCache:a,props:h,data:v,setupState:y,ctx:P,inheritAttrs:C}=e,k=On(e);let H,D;try{if(n.shapeFlag&4){const g=r||s,M=g;H=He(f.call(M,g,a,h,y,v,P)),D=o}else{const g=t;H=He(g.length>1?g(h,{attrs:o,slots:l,emit:c}):g(h,null)),D=t.props?o:bc(o)}}catch(g){et.length=0,Gn(g,e,1),H=ve(me)}let p=H;if(D&&C!==!1){const g=Object.keys(D),{shapeFlag:M}=p;g.length&&M&7&&(i&&g.some($n)&&(D=wc(D,i)),p=ut(p,D,!1,!0))}if(n.dirs&&(p=ut(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition){const g=zn(p.type)&&Pn(p)||p;en(g,n.transition)}return H=p,On(k),H}const bc=e=>{let t;for(const n in e)(n==="class"||n==="style"||ln(n))&&((t||(t={}))[n]=e[n]);return t},wc=(e,t)=>{const n={};for(const s in e)(!$n(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Sc(e,t,n){const{props:s,children:r,component:i}=e,{props:l,children:o,patchFlag:c}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?xr(s,l,f):!!l;if(c&8){const a=t.dynamicProps;for(let h=0;h<a.length;h++){const v=a[h];if(zi(l,s,v)&&!es(f,v))return!0}}}else return(r||o)&&(!o||!o.$stable)?!0:s===l?!1:s?l?xr(s,l,f):!0:!!l;return!1}function xr(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const i=s[r];if(zi(t,e,i)&&!es(n,i))return!0}return!1}function zi(e,t,n){const s=e[n],r=t[n];return n==="style"&&Q(s)&&Q(r)?!Bs(s,r):s!==r}function Ji({vnode:e,parent:t,suspense:n},s){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.suspense.vnode.el=r.el=s,e=r),r===e)(e=t.vnode).el=s,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=s)}const Qi={},Zi=()=>Object.create(Qi),eo=e=>Object.getPrototypeOf(e)===Qi;function xc(e,t,n,s=!1){const r={},i=Zi();e.propsDefaults=Object.create(null),to(e,t,r,i);for(const l in e.propsOptions[0])l in r||(r[l]=void 0);n?e.props=s?r:yl(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Tc(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:l}}=e,o=J(r),[c]=e.propsOptions;let f=!1;if((s||l>0)&&!(l&16)){if(l&8){const a=e.vnode.dynamicProps;for(let h=0;h<a.length;h++){let v=a[h];if(es(e.emitsOptions,v))continue;const y=t[v];if(c)if(Z(i,v))y!==i[v]&&(i[v]=y,f=!0);else{const P=Ee(v);r[P]=Fs(c,o,P,y,e,!1)}else y!==i[v]&&(i[v]=y,f=!0)}}}else{to(e,t,r,i)&&(f=!0);let a;for(const h in o)(!t||!Z(t,h)&&((a=dt(h))===h||!Z(t,a)))&&(c?n&&(n[h]!==void 0||n[a]!==void 0)&&(r[h]=Fs(c,o,h,void 0,e,!0)):delete r[h]);if(i!==o)for(const h in i)(!t||!Z(t,h))&&(delete i[h],f=!0)}f&&Ze(e.attrs,"set","")}function to(e,t,n,s){const[r,i]=e.propsOptions;let l=!1,o;if(t)for(let c in t){if(yt(c))continue;const f=t[c];let a;r&&Z(r,a=Ee(c))?!i||!i.includes(a)?n[a]=f:(o||(o={}))[a]=f:es(e.emitsOptions,c)||(!(c in s)||f!==s[c])&&(s[c]=f,l=!0)}if(i){const c=J(n),f=o||ie;for(let a=0;a<i.length;a++){const h=i[a];n[h]=Fs(r,c,h,f[h],e,!Z(f,h))}}return l}function Fs(e,t,n,s,r,i){const l=e[n];if(l!=null){const o=Z(l,"default");if(o&&s===void 0){const c=l.default;if(l.type!==Function&&!l.skipFactory&&G(c)){const{propsDefaults:f}=r;if(n in f)s=f[n];else{const a=fn(r);s=f[n]=c.call(null,t),a()}}else s=c;r.ce&&r.ce._setProp(n,s)}l[0]&&(i&&!o?s=!1:l[1]&&(s===""||s===dt(n))&&(s=!0))}return s}const Cc=new WeakMap;function no(e,t,n=!1){const s=n?Cc:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,l={},o=[];let c=!1;if(!G(e)){const a=h=>{c=!0;const[v,y]=no(h,t,!0);de(l,v),y&&o.push(...y)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!c)return Q(e)&&s.set(e,It),It;if(B(i))for(let a=0;a<i.length;a++){const h=Ee(i[a]);Tr(h)&&(l[h]=ie)}else if(i)for(const a in i){const h=Ee(a);if(Tr(h)){const v=i[a],y=l[h]=B(v)||G(v)?{type:v}:de({},v),P=y.type;let C=!1,k=!0;if(B(P))for(let H=0;H<P.length;++H){const D=P[H],p=G(D)&&D.name;if(p==="Boolean"){C=!0;break}else p==="String"&&(k=!1)}else C=G(P)&&P.name==="Boolean";y[0]=C,y[1]=k,(C||Z(y,"default"))&&o.push(h)}}const f=[l,o];return Q(e)&&s.set(e,f),f}function Tr(e){return e[0]!=="$"&&!yt(e)}const Qs=e=>e==="_"||e==="_ctx"||e==="$stable",Zs=e=>B(e)?e.map(He):[He(e)],Ec=(e,t,n)=>{if(t._n)return t;const s=Nl((...r)=>Zs(t(...r)),n);return s._c=!1,s},so=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Qs(r))continue;const i=e[r];if(G(i))t[r]=Ec(r,i,s);else if(i!=null){const l=Zs(i);t[r]=()=>l}}},ro=(e,t)=>{const n=Zs(t);e.slots.default=()=>n},io=(e,t,n)=>{for(const s in t)(n||!Qs(s))&&(e[s]=t[s])},Ac=(e,t,n)=>{const s=e.slots=Zi();if(e.vnode.shapeFlag&32){const r=t._;r?(io(s,t,n),n&&ii(s,"_",r,!0)):so(t,s)}else t&&ro(e,t)},Rc=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,l=ie;if(s.shapeFlag&32){const o=t._;o?n&&o===1?i=!1:io(r,t,n):(i=!t.$stable,so(t,r)),l=t}else t&&(ro(e,t),l={default:1});if(i)for(const o in r)!Qs(o)&&l[o]==null&&delete r[o]},Ae=uo;function Mc(e){return Oc(e,Kl)}function Oc(e,t){const n=Wn();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:l,createText:o,createComment:c,setText:f,setElementText:a,parentNode:h,nextSibling:v,setScopeId:y=Xe,insertStaticContent:P}=e,C=(u,d,m,T=null,w=null,b=null,I=void 0,R=null,A=!!d.dynamicChildren)=>{if(u===d)return;u&&!vt(u,d)&&(T=un(u),ce(u,w,b,!0),u=null),d.patchFlag===-2&&(A=!1,d.dynamicChildren=null);const{type:S,ref:W,shapeFlag:N}=d;switch(S){case Tt:k(u,d,m,T);break;case me:H(u,d,m,T);break;case Yt:u==null&&D(d,m,T,I);break;case Te:_(u,d,m,T,w,b,I,R,A);break;default:N&1?M(u,d,m,T,w,b,I,R,A):N&6?L(u,d,m,T,w,b,I,R,A):(N&64||N&128)&&S.process(u,d,m,T,w,b,I,R,A,Rt)}W!=null&&w?Ft(W,u&&u.ref,b,d||u,!d):W==null&&u&&u.ref!=null&&Ft(u.ref,null,b,u,!0)},k=(u,d,m,T)=>{if(u==null)s(d.el=o(d.children),m,T);else{const w=d.el=u.el;d.children!==u.children&&f(w,d.children)}},H=(u,d,m,T)=>{u==null?s(d.el=c(d.children||""),m,T):d.el=u.el},D=(u,d,m,T)=>{[u.el,u.anchor]=P(u.children,d,m,T,u.el,u.anchor)},p=({el:u,anchor:d},m,T)=>{let w;for(;u&&u!==d;)w=v(u),s(u,m,T),u=w;s(d,m,T)},g=({el:u,anchor:d})=>{let m;for(;u&&u!==d;)m=v(u),r(u),u=m;r(d)},M=(u,d,m,T,w,b,I,R,A)=>{if(d.type==="svg"?I="svg":d.type==="math"&&(I="mathml"),u==null)j(d,m,T,w,b,I,R,A);else{const S=u.el&&u.el._isVueCE?u.el:null;try{S&&S._beginPatch(),E(u,d,w,b,I,R,A)}finally{S&&S._endPatch()}}},j=(u,d,m,T,w,b,I,R)=>{let A,S;const{props:W,shapeFlag:N,transition:$,dirs:K}=u;if(A=u.el=l(u.type,b,W&&W.is,W),N&8?a(A,u.children):N&16&&U(u.children,A,null,T,w,hs(u,b),I,R),K&&Ke(u,null,T,"created"),O(A,u,u.scopeId,I,T),W){for(const ne in W)ne!=="value"&&!yt(ne)&&i(A,ne,null,W[ne],b,T);"value"in W&&i(A,"value",null,W.value,b),(S=W.onVnodeBeforeMount)&&Ne(S,T,u)}K&&Ke(u,null,T,"beforeMount");const z=oo(w,$);z&&$.beforeEnter(A),s(A,d,m),((S=W&&W.onVnodeMounted)||z||K)&&Ae(()=>{try{S&&Ne(S,T,u),z&&$.enter(A),K&&Ke(u,null,T,"mounted")}finally{}},w)},O=(u,d,m,T,w)=>{if(m&&y(u,m),T)for(let b=0;b<T.length;b++)y(u,T[b]);if(w){let b=w.subTree;if(d===b||fo(b.type)&&(b.ssContent===d||b.ssFallback===d)){const I=w.vnode;O(u,I,I.scopeId,I.slotScopeIds,w.parent)}}},U=(u,d,m,T,w,b,I,R,A=0)=>{for(let S=A;S<u.length;S++){const W=u[S]=R?Qe(u[S]):He(u[S]);C(null,W,d,m,T,w,b,I,R)}},E=(u,d,m,T,w,b,I)=>{const R=d.el=u.el;let{patchFlag:A,dynamicChildren:S,dirs:W}=d;A|=u.patchFlag&16;const N=u.props||ie,$=d.props||ie;let K;if(m&&ht(m,!1),(K=$.onVnodeBeforeUpdate)&&Ne(K,m,d,u),W&&Ke(d,u,m,"beforeUpdate"),m&&ht(m,!0),S&&(!u.dynamicChildren||u.dynamicChildren.length!==S.length)&&(A=0,I=!1,S=null),(N.innerHTML&&$.innerHTML==null||N.textContent&&$.textContent==null)&&a(R,""),S?F(u.dynamicChildren,S,R,m,T,hs(d,w),b):I||q(u,d,R,null,m,T,hs(d,w),b,!1),A>0){if(A&16)x(R,N,$,m,w);else if(A&2&&N.class!==$.class&&i(R,"class",null,$.class,w),A&4&&i(R,"style",N.style,$.style,w),A&8){const z=d.dynamicProps;for(let ne=0;ne<z.length;ne++){const ee=z[ne],fe=N[ee],he=$[ee];(he!==fe||ee==="value")&&i(R,ee,fe,he,w,m)}}A&1&&u.children!==d.children&&a(R,d.children)}else!I&&S==null&&x(R,N,$,m,w);((K=$.onVnodeUpdated)||W)&&Ae(()=>{K&&Ne(K,m,d,u),W&&Ke(d,u,m,"updated")},T)},F=(u,d,m,T,w,b,I)=>{for(let R=0;R<d.length;R++){const A=u[R],S=d[R],W=A.el&&(A.type===Te||!vt(A,S)||A.shapeFlag&198)?h(A.el):m;C(A,S,W,null,T,w,b,I,!0)}},x=(u,d,m,T,w)=>{if(d!==m){if(d!==ie)for(const b in d)!yt(b)&&!(b in m)&&i(u,b,d[b],null,w,T);for(const b in m){if(yt(b))continue;const I=m[b],R=d[b];I!==R&&b!=="value"&&i(u,b,R,I,w,T)}"value"in m&&i(u,"value",d.value,m.value,w)}},_=(u,d,m,T,w,b,I,R,A)=>{const S=d.el=u?u.el:o(""),W=d.anchor=u?u.anchor:o("");let{patchFlag:N,dynamicChildren:$,slotScopeIds:K}=d;K&&(R=R?R.concat(K):K),u==null?(s(S,m,T),s(W,m,T),U(d.children||[],m,W,w,b,I,R,A)):N>0&&N&64&&$&&u.dynamicChildren&&u.dynamicChildren.length===$.length?(F(u.dynamicChildren,$,m,w,b,I,R),(d.key!=null||w&&d===w.subTree)&&lo(u,d,!0)):q(u,d,m,W,w,b,I,R,A)},L=(u,d,m,T,w,b,I,R,A)=>{d.slotScopeIds=R,u==null?d.shapeFlag&512?w.ctx.activate(d,m,T,I,A):X(d,m,T,w,b,I,A):te(u,d,A)},X=(u,d,m,T,w,b,I)=>{const R=u.component=$c(u,T,w);if(Jn(u)&&(R.ctx.renderer=Rt),jc(R,!1,I),R.asyncDep){if(w&&w.registerDep(R,V,I),!u.el){const A=R.subTree=ve(me);H(null,A,d,m),u.placeholder=A.el}}else V(R,u,d,m,w,b,I)},te=(u,d,m)=>{const T=d.component=u.component;if(Sc(u,d,m))if(T.asyncDep&&!T.asyncResolved){Y(T,d,m);return}else T.next=d,T.update();else d.el=u.el,T.vnode=d},V=(u,d,m,T,w,b,I)=>{const R=()=>{if(u.isMounted){let{next:N,bu:$,u:K,parent:z,vnode:ne}=u;{const Re=co(u);if(Re){N&&(N.el=ne.el,Y(u,N,I)),Re.asyncDep.then(()=>{Ae(()=>{u.isUnmounted||S()},w)});return}}let ee=N,fe;ht(u,!1),N?(N.el=ne.el,Y(u,N,I)):N=ne,$&&is($),(fe=N.props&&N.props.onVnodeBeforeUpdate)&&Ne(fe,z,N,ne),ht(u,!0);const he=ds(u),Ve=u.subTree;u.subTree=he,C(Ve,he,h(Ve.el),un(Ve),u,w,b),N.el=he.el,ee===null&&Ji(u,he.el),K&&Ae(K,w),(fe=N.props&&N.props.onVnodeUpdated)&&Ae(()=>Ne(fe,z,N,ne),w)}else{let N;const{el:$,props:K}=d,{bm:z,m:ne,parent:ee,root:fe,type:he}=u,Ve=St(d);if(ht(u,!1),z&&is(z),!Ve&&(N=K&&K.onVnodeBeforeMount)&&Ne(N,ee,d),ht(u,!0),$&&rs){const Re=()=>{u.subTree=ds(u),rs($,u.subTree,u,w,null)};Ve&&he.__asyncHydrate?he.__asyncHydrate($,u,Re):Re()}else{fe.ce&&fe.ce._hasShadowRoot()&&fe.ce._injectChildStyle(he,u.parent?u.parent.type:void 0);const Re=u.subTree=ds(u);C(null,Re,m,T,u,w,b),d.el=Re.el}if(ne&&Ae(ne,w),!Ve&&(N=K&&K.onVnodeMounted)){const Re=d;Ae(()=>Ne(N,ee,Re),w)}(d.shapeFlag&256||ee&&St(ee.vnode)&&ee.vnode.shapeFlag&256)&&u.a&&Ae(u.a,w),u.isMounted=!0,d=m=T=null}};u.scope.on();const A=u.effect=new fi(R);u.scope.off();const S=u.update=A.run.bind(A),W=u.job=A.runIfDirty.bind(A);W.i=u,W.id=u.uid,A.scheduler=()=>zs(W),ht(u,!0),S()},Y=(u,d,m)=>{d.component=u;const T=u.vnode.props;u.vnode=d,u.next=null,Tc(u,d.props,T,m),Rc(u,d.children,m),tt(),pr(u),nt()},q=(u,d,m,T,w,b,I,R,A=!1)=>{const S=u&&u.children,W=u?u.shapeFlag:0,N=d.children,{patchFlag:$,shapeFlag:K}=d;if($>0){if($&128){se(S,N,m,T,w,b,I,R,A);return}else if($&256){ye(S,N,m,T,w,b,I,R,A);return}}K&8?(W&16&&jt(S,w,b),N!==S&&a(m,N)):W&16?K&16?se(S,N,m,T,w,b,I,R,A):jt(S,w,b,!0):(W&8&&a(m,""),K&16&&U(N,m,T,w,b,I,R,A))},ye=(u,d,m,T,w,b,I,R,A)=>{u=u||It,d=d||It;const S=u.length,W=d.length,N=Math.min(S,W);let $;for($=0;$<N;$++){const K=d[$]=A?Qe(d[$]):He(d[$]);C(u[$],K,m,null,w,b,I,R,A)}S>W?jt(u,w,b,!0,!1,N):U(d,m,T,w,b,I,R,A,N)},se=(u,d,m,T,w,b,I,R,A)=>{let S=0;const W=d.length;let N=u.length-1,$=W-1;for(;S<=N&&S<=$;){const K=u[S],z=d[S]=A?Qe(d[S]):He(d[S]);if(vt(K,z))C(K,z,m,null,w,b,I,R,A);else break;S++}for(;S<=N&&S<=$;){const K=u[N],z=d[$]=A?Qe(d[$]):He(d[$]);if(vt(K,z))C(K,z,m,null,w,b,I,R,A);else break;N--,$--}if(S>N){if(S<=$){const K=$+1,z=K<W?d[K].el:T;for(;S<=$;)C(null,d[S]=A?Qe(d[S]):He(d[S]),m,z,w,b,I,R,A),S++}}else if(S>$)for(;S<=N;)ce(u[S],w,b,!0),S++;else{const K=S,z=S,ne=new Map;for(S=z;S<=$;S++){const Me=d[S]=A?Qe(d[S]):He(d[S]);Me.key!=null&&ne.set(Me.key,S)}let ee,fe=0;const he=$-z+1;let Ve=!1,Re=0;const Vt=new Array(he);for(S=0;S<he;S++)Vt[S]=0;for(S=K;S<=N;S++){const Me=u[S];if(fe>=he){ce(Me,w,b,!0);continue}let Ue;if(Me.key!=null)Ue=ne.get(Me.key);else for(ee=z;ee<=$;ee++)if(Vt[ee-z]===0&&vt(Me,d[ee])){Ue=ee;break}Ue===void 0?ce(Me,w,b,!0):(Vt[Ue-z]=S+1,Ue>=Re?Re=Ue:Ve=!0,C(Me,d[Ue],m,null,w,b,I,R,A),fe++)}const lr=Ve?Pc(Vt):It;for(ee=lr.length-1,S=he-1;S>=0;S--){const Me=z+S,Ue=d[Me],cr=d[Me+1],ar=Me+1<W?cr.el||ao(cr):T;Vt[S]===0?C(null,Ue,m,ar,w,b,I,R,A):Ve&&(ee<0||S!==lr[ee]?ge(Ue,m,ar,2):ee--)}}},ge=(u,d,m,T,w=null)=>{const{el:b,type:I,transition:R,children:A,shapeFlag:S}=u;if(S&6){ge(u.component.subTree,d,m,T);return}if(S&128){u.suspense.move(d,m,T);return}if(S&64){I.move(u,d,m,Rt);return}if(I===Te){s(b,d,m);for(let N=0;N<A.length;N++)ge(A[N],d,m,T);s(u.anchor,d,m);return}if(I===Yt){p(u,d,m);return}if(T!==2&&S&1&&R)if(T===0)R.persisted&&!b[Fe]?s(b,d,m):(R.beforeEnter(b),s(b,d,m),Ae(()=>R.enter(b),w));else{const{leave:N,delayLeave:$,afterLeave:K}=R,z=()=>{u.ctx.isUnmounted?r(b):s(b,d,m)},ne=()=>{const ee=b._isLeaving||!!b[Fe];b._isLeaving&&b[Fe](!0),R.persisted&&!ee?z():N(b,()=>{z(),K&&K()})};$?$(b,z,ne):ne()}else s(b,d,m)},ce=(u,d,m,T=!1,w=!1)=>{const{type:b,props:I,ref:R,children:A,dynamicChildren:S,shapeFlag:W,patchFlag:N,dirs:$,cacheIndex:K,memo:z}=u;if(N===-2&&(w=!1),R!=null&&(tt(),Ft(R,null,m,u,!0),nt()),K!=null&&(d.renderCache[K]=void 0),W&256){d.ctx.deactivate(u);return}const ne=W&1&&$,ee=!St(u);let fe;if(ee&&(fe=I&&I.onVnodeBeforeUnmount)&&Ne(fe,d,u),W&6)Do(u.component,m,T);else{if(W&128){u.suspense.unmount(m,T);return}ne&&Ke(u,null,d,"beforeUnmount"),W&64?u.type.remove(u,d,m,Rt,T):S&&!S.hasOnce&&(b!==Te||N>0&&N&64)?jt(S,d,m,!1,!0):(b===Te&&N&384||!w&&W&16)&&jt(A,d,m),T&&ir(u)}const he=z!=null&&K==null;(ee&&(fe=I&&I.onVnodeUnmounted)||ne||he)&&Ae(()=>{fe&&Ne(fe,d,u),ne&&Ke(u,null,d,"unmounted"),he&&(u.el=null)},m)},ir=u=>{const{type:d,el:m,anchor:T,transition:w}=u;if(d===Te){Ho(m,T);return}if(d===Yt){g(u);return}const b=()=>{r(m),w&&!w.persisted&&w.afterLeave&&w.afterLeave()};if(u.shapeFlag&1&&w&&!w.persisted){const{leave:I,delayLeave:R}=w,A=()=>I(m,b);R?R(u.el,b,A):A()}else b()},Ho=(u,d)=>{let m;for(;u!==d;)m=v(u),r(u),u=m;r(d)},Do=(u,d,m)=>{const{bum:T,scope:w,job:b,subTree:I,um:R,m:A,a:S}=u;Cr(A),Cr(S),T&&is(T),w.stop(),b&&(b.flags|=8,ce(I,u,d,m)),R&&Ae(R,d),Ae(()=>{u.isUnmounted=!0},d)},jt=(u,d,m,T=!1,w=!1,b=0)=>{for(let I=b;I<u.length;I++)ce(u[I],d,m,T,w)},un=u=>{if(u.shapeFlag&6)return un(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const d=v(u.anchor||u.el),m=d&&d[jl];return m?v(m):d};let ns=!1;const or=(u,d,m)=>{let T;u==null?d._vnode&&(ce(d._vnode,null,null,!0),T=d._vnode.component):C(d._vnode||null,u,d,null,null,null,m),d._vnode=u,ns||(ns=!0,pr(T),Mn(),ns=!1)},Rt={p:C,um:ce,m:ge,r:ir,mt:X,mc:U,pc:q,pbc:F,n:un,o:e};let ss,rs;return t&&([ss,rs]=t(Rt)),{render:or,hydrate:ss,createApp:mc(or,ss)}}function hs({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 ht({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function oo(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function lo(e,t,n=!1){const s=e.children,r=t.children;if(B(s)&&B(r))for(let i=0;i<s.length;i++){const l=s[i];let o=r[i];o.shapeFlag&1&&!o.dynamicChildren&&((o.patchFlag<=0||o.patchFlag===32)&&(o=r[i]=Qe(r[i]),o.el=l.el),!n&&o.patchFlag!==-2&&lo(l,o)),o.type===Tt&&(o.patchFlag===-1&&(o=r[i]=Qe(o)),o.el=l.el),o.type===me&&!o.el&&(o.el=l.el)}}function Pc(e){const t=e.slice(),n=[0];let s,r,i,l,o;const c=e.length;for(s=0;s<c;s++){const f=e[s];if(f!==0){if(r=n[n.length-1],e[r]<f){t[s]=r,n.push(s);continue}for(i=0,l=n.length-1;i<l;)o=i+l>>1,e[n[o]]<f?i=o+1:l=o;f<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,l=n[i-1];i-- >0;)n[i]=l,l=t[l];return n}function co(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:co(t)}function Cr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function ao(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?ao(t.subTree):null}const fo=e=>e.__isSuspense;function uo(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):Ll(e)}const Te=Symbol.for("v-fgt"),Tt=Symbol.for("v-txt"),me=Symbol.for("v-cmt"),Yt=Symbol.for("v-stc"),et=[];let Oe=null;function Hs(e=!1){et.push(Oe=e?null:[])}function er(){et.pop(),Oe=et[et.length-1]||null}let tn=1;function Fn(e,t=!1){tn+=e,e<0&&Oe&&t&&(Oe.hasOnce=!0)}function ho(e){return e.dynamicChildren=tn>0?Oe||It:null,er(),tn>0&&Oe&&Oe.push(e),e}function Hf(e,t,n,s,r,i){return ho(go(e,t,n,s,r,i,!0))}function Ds(e,t,n,s,r){return ho(ve(e,t,n,s,r,!0))}function nn(e){return e?e.__v_isVNode===!0:!1}function vt(e,t){return e.type===t.type&&e.key===t.key}const po=({key:e})=>e??null,Tn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?le(e)||ue(e)||G(e)?{i:Ce,r:e,k:t,f:!!n}:e:null);function go(e,t=null,n=null,s=0,r=null,i=e===Te?0:1,l=!1,o=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&po(t),ref:t&&Tn(t),scopeId:Mi,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:Ce};return o?(Hn(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=le(n)?8:16),tn>0&&!l&&Oe&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Oe.push(c),c}const ve=Ic;function Ic(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Ui)&&(e=me),nn(e)){const o=ut(e,t,!0);return n&&Hn(o,n),tn>0&&!i&&Oe&&(o.shapeFlag&6?Oe[Oe.indexOf(e)]=o:Oe.push(o)),o.patchFlag=-2,o}if(Uc(e)&&(e=e.__vccOpts),t){t=Lc(t);let{class:o,style:c}=t;o&&!le(o)&&(t.class=Us(o)),Q(c)&&(Kn(c)&&!B(c)&&(c=de({},c)),t.style=Ws(c))}const l=le(e)?1:fo(e)?128:zn(e)?64:Q(e)?4:G(e)?2:0;return go(e,t,n,s,r,l,i,!0)}function Lc(e){return e?Kn(e)||eo(e)?de({},e):e:null}function ut(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:l,children:o,transition:c}=e,f=t?Fc(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&po(f),ref:t&&t.ref?n&&i?B(i)?i.concat(Tn(t)):[i,Tn(t)]:Tn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Te?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ut(e.ssContent),ssFallback:e.ssFallback&&ut(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&en(a,c.clone(a)),a}function mo(e=" ",t=0){return ve(Tt,null,e,t)}function Df(e,t){const n=ve(Yt,null,e);return n.staticCount=t,n}function Nc(e="",t=!1){return t?(Hs(),Ds(me,null,e)):ve(me,null,e)}function He(e){return e==null||typeof e=="boolean"?ve(me):B(e)?ve(Te,null,e.slice()):nn(e)?Qe(e):ve(Tt,null,String(e))}function Qe(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ut(e)}function Hn(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(B(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Hn(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!eo(t)?t._ctx=Ce:r===3&&Ce&&(Ce.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(G(t)){if(s&65){Hn(e,{default:t});return}t={default:t,_ctx:Ce},n=32}else t=String(t),s&64?(n=16,t=[mo(t)]):n=8;e.children=t,e.shapeFlag|=n}function Fc(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Us([t.class,s.class]));else if(r==="style")t.style=Ws([t.style,s.style]);else if(ln(r)){const i=t[r],l=s[r];l&&i!==l&&!(B(i)&&i.includes(l))?t[r]=i?[].concat(i,l):l:l==null&&i==null&&!$n(r)&&(t[r]=l)}else r!==""&&(t[r]=s[r])}return t}function Ne(e,t,n,s=null){je(e,t,7,[n,s])}const Hc=Xi();let Dc=0;function $c(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Hc,i={uid:Dc++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Qo(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:no(s,r),emitsOptions:Yi(s,r),emit:null,emitted:null,propsDefaults:ie,inheritAttrs:s.inheritAttrs,ctx:ie,data:ie,props:ie,attrs:ie,slots:ie,refs:ie,setupState:ie,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=yc.bind(null,i),e.ce&&e.ce(i),i}let we=null;const At=()=>we||Ce;let Dn,sn;{const e=Wn(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(l=>l(i)):r[0](i)}};Dn=t("__VUE_INSTANCE_SETTERS__",n=>we=n),sn=t("__VUE_SSR_SETTERS__",n=>rn=n)}const fn=e=>{const t=we;return Dn(e),e.scope.on(),()=>{e.scope.off(),Dn(t)}},Er=()=>{we&&we.scope.off(),Dn(null)};function vo(e){return e.vnode.shapeFlag&4}let rn=!1;function jc(e,t=!1,n=!1){t&&sn(t);const{props:s,children:r}=e.vnode,i=vo(e);xc(e,s,i,t),Ac(e,r,n||t);const l=i?Vc(e,t):void 0;return t&&sn(!1),l}function Vc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,cc);const{setup:s}=n;if(s){tt();const r=e.setupContext=s.length>1?_o(e):null,i=fn(e),l=an(s,e,0,[e.props,r]),o=ni(l);if(nt(),i(),(o||e.sp)&&!St(e)&&ji(e),o){if(l.then(Er,Er),t)return l.then(c=>{sn(!0);try{Ar(e,c,t)}finally{sn(!1)}}).catch(c=>{Gn(c,e,0)});e.asyncDep=l}else Ar(e,l)}else yo(e)}function Ar(e,t,n){G(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Q(t)&&(e.setupState=Ci(t)),yo(e)}function yo(e,t,n){const s=e.type;e.render||(e.render=s.render||Xe);{const r=fn(e);tt();try{fc(e)}finally{nt(),r()}}}const kc={get(e,t){return be(e,"get",""),e[t]}};function _o(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,kc),slots:e.slots,emit:e.emit,expose:t}}function tr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ci(Sn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Xt)return Xt[n](e)},has(t,n){return n in t||n in Xt}})):e.proxy}function Wc(e,t=!0){return G(e)?e.displayName||e.name:e.name||t&&e.__name}function Uc(e){return G(e)&&"__vccOpts"in e}const oe=(e,t)=>Rl(e,t,rn);function $s(e,t,n){try{Fn(-1);const s=arguments.length;return s===2?Q(t)&&!B(t)?nn(t)?ve(e,null,[t]):ve(e,t):ve(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&nn(n)&&(n=[n]),ve(e,t,n))}finally{Fn(1)}}const Bc="3.5.41";/**
16
- * @vue/runtime-dom v3.5.41
17
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
18
- * @license MIT
19
- **/let js;const Rr=typeof window<"u"&&window.trustedTypes;if(Rr)try{js=Rr.createPolicy("vue",{createHTML:e=>e})}catch{}const bo=js?e=>js.createHTML(e):e=>e,Kc="http://www.w3.org/2000/svg",qc="http://www.w3.org/1998/Math/MathML",Je=typeof document<"u"?document:null,Mr=Je&&Je.createElement("template"),Gc={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"?Je.createElementNS(Kc,e):t==="mathml"?Je.createElementNS(qc,e):n?Je.createElement(e,{is:n}):Je.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Je.createTextNode(e),createComment:e=>Je.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Je.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const l=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{Mr.innerHTML=bo(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const o=Mr.content;if(s==="svg"||s==="mathml"){const c=o.firstChild;for(;c.firstChild;)o.appendChild(c.firstChild);o.removeChild(c)}t.insertBefore(o,n)}return[l?l.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},lt="transition",Ut="animation",on=Symbol("_vtc"),wo={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},Xc=de({},Li,wo),Yc=e=>(e.displayName="Transition",e.props=Xc,e),$f=Yc((e,{slots:t})=>$s(Wl,zc(e),t)),pt=(e,t=[])=>{B(e)?e.forEach(n=>n(...t)):e&&e(...t)},Or=e=>e?B(e)?e.some(t=>t.length>1):e.length>1:!1;function zc(e){const t={};for(const _ in e)_ in wo||(t[_]=e[_]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:l=`${n}-enter-active`,enterToClass:o=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:f=l,appearToClass:a=o,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:v=`${n}-leave-active`,leaveToClass:y=`${n}-leave-to`}=e,P=Jc(r),C=P&&P[0],k=P&&P[1],{onBeforeEnter:H,onEnter:D,onEnterCancelled:p,onLeave:g,onLeaveCancelled:M,onBeforeAppear:j=H,onAppear:O=D,onAppearCancelled:U=p}=t,E=(_,L,X,te)=>{_._enterCancelled=te,gt(_,L?a:o),gt(_,L?f:l),X&&X()},F=(_,L)=>{_._isLeaving=!1,gt(_,h),gt(_,y),gt(_,v),L&&L()},x=_=>(L,X)=>{const te=_?O:D,V=()=>E(L,_,X);pt(te,[L,V]),Pr(()=>{gt(L,_?c:i),ze(L,_?a:o),Or(te)||Ir(L,s,C,V)})};return de(t,{onBeforeEnter(_){pt(H,[_]),ze(_,i),ze(_,l)},onBeforeAppear(_){pt(j,[_]),ze(_,c),ze(_,f)},onEnter:x(!1),onAppear:x(!0),onLeave(_,L){_._isLeaving=!0;const X=()=>F(_,L);ze(_,h),_._enterCancelled?(ze(_,v),Fr(_)):(Fr(_),ze(_,v)),Pr(()=>{_._isLeaving&&(gt(_,h),ze(_,y),Or(g)||Ir(_,s,k,X))}),pt(g,[_,X])},onEnterCancelled(_){E(_,!1,void 0,!0),pt(p,[_])},onAppearCancelled(_){E(_,!0,void 0,!0),pt(U,[_])},onLeaveCancelled(_){F(_),pt(M,[_])}})}function Jc(e){if(e==null)return null;if(Q(e))return[ps(e.enter),ps(e.leave)];{const t=ps(e);return[t,t]}}function ps(e){return Uo(e)}function ze(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[on]||(e[on]=new Set)).add(t)}function gt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[on];n&&(n.delete(t),n.size||(e[on]=void 0))}function Pr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Qc=0;function Ir(e,t,n,s){const r=e._endId=++Qc,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:l,timeout:o,propCount:c}=Zc(e,t);if(!l)return s();const f=l+"end";let a=0;const h=()=>{e.removeEventListener(f,v),i()},v=y=>{y.target===e&&++a>=c&&h()};setTimeout(()=>{a<c&&h()},o+1),e.addEventListener(f,v)}function Zc(e,t){const n=window.getComputedStyle(e),s=P=>(n[P]||"").split(", "),r=s(`${lt}Delay`),i=s(`${lt}Duration`),l=Lr(r,i),o=s(`${Ut}Delay`),c=s(`${Ut}Duration`),f=Lr(o,c);let a=null,h=0,v=0;t===lt?l>0&&(a=lt,h=l,v=i.length):t===Ut?f>0&&(a=Ut,h=f,v=c.length):(h=Math.max(l,f),a=h>0?l>f?lt:Ut:null,v=a?a===lt?i.length:c.length:0);const y=a===lt&&/\b(?:transform|all)(?:,|$)/.test(s(`${lt}Property`).toString());return{type:a,timeout:h,propCount:v,hasTransform:y}}function Lr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Nr(n)+Nr(e[s])))}function Nr(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Fr(e){return(e?e.ownerDocument:document).body.offsetHeight}function ea(e,t,n){const s=e[on];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Hr=Symbol("_vod"),ta=Symbol("_vsh"),na=Symbol(""),sa=/(?:^|;)\s*display\s*:/;function ra(e,t,n){const s=e.style,r=le(n);let i=!1;if(n&&!r){if(t)if(le(t))for(const l of t.split(";")){const o=l.slice(0,l.indexOf(":")).trim();n[o]==null&&Kt(s,o,"")}else for(const l in t)n[l]==null&&Kt(s,l,"");for(const l in n){l==="display"&&(i=!0);const o=n[l];o!=null?oa(e,l,!le(t)&&t?t[l]:void 0,o)||Kt(s,l,o):Kt(s,l,"")}}else if(r){if(t!==n){const l=s[na];l&&(n+=";"+l),s.cssText=n,i=sa.test(n)}}else t&&e.removeAttribute("style");Hr in e&&(e[Hr]=i?s.display:"",e[ta]&&(s.display="none"))}const Dr=/\s*!important$/;function Kt(e,t,n){if(B(n))n.forEach(s=>Kt(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ia(e,t);Dr.test(n)?e.setProperty(dt(s),n.replace(Dr,""),"important"):e[s]=n}}const $r=["Webkit","Moz","ms"],gs={};function ia(e,t){const n=gs[t];if(n)return n;let s=Ee(t);if(s!=="filter"&&s in e)return gs[t]=s;s=kn(s);for(let r=0;r<$r.length;r++){const i=$r[r]+s;if(i in e)return gs[t]=i}return t}function oa(e,t,n,s){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&le(s)&&n===s}const jr="http://www.w3.org/1999/xlink";function Vr(e,t,n,s,r,i=Yo(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(jr,t.slice(6,t.length)):e.setAttributeNS(jr,t,n):n==null||i&&!oi(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Ie(n)?String(n):n)}function kr(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?bo(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const o=i==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(o!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let l=!1;if(n===""||n==null){const o=typeof e[t];o==="boolean"?n=oi(n):n==null&&o==="string"?(n="",l=!0):o==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(r||t)}function la(e,t,n,s){e.addEventListener(t,n,s)}function ca(e,t,n,s){e.removeEventListener(t,n,s)}const Wr=Symbol("_vei");function aa(e,t,n,s,r=null){const i=e[Wr]||(e[Wr]={}),l=i[t];if(s&&l)l.value=s;else{const[o,c]=da(t);if(s){const f=i[t]=ga(s,r);la(e,o,f,c)}else l&&(ca(e,o,l,c),i[t]=void 0)}}const fa=/(Once|Passive|Capture)$/,ua=/^on:?(?:Once|Passive|Capture)$/;function da(e){let t,n;for(;(n=e.match(fa))&&!ua.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):dt(e.slice(2)),t]}let ms=0;const ha=Promise.resolve(),pa=()=>ms||(ha.then(()=>ms=0),ms=Date.now());function ga(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const r=n.value;if(B(r)){const i=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{i.call(s),s._stopped=!0};const l=r.slice(),o=[s];for(let c=0;c<l.length&&!s._stopped;c++){const f=l[c];f&&je(f,t,5,o)}}else je(r,t,5,[s])};return n.value=e,n.attached=pa(),n}const Ur=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ma=(e,t,n,s,r,i)=>{const l=r==="svg";t==="class"?ea(e,s,l):t==="style"?ra(e,n,s):ln(t)?$n(t)||aa(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):va(e,t,s,l))?(kr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Vr(e,t,s,l,i,t!=="value")):e._isVueCE&&(ya(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!le(s)))?kr(e,Ee(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Vr(e,t,s,l))};function va(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ur(t)&&G(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||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 Ur(t)&&le(n)?!1:t in e}function ya(e,t){const n=e._def.props;if(!n)return!1;const s=Ee(t);return Array.isArray(n)?n.some(r=>Ee(r)===s):Object.keys(n).some(r=>Ee(r)===s)}const _a=["ctrl","shift","alt","meta"],ba={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)=>_a.some(n=>e[`${n}Key`]&&!t.includes(n))},jf=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let l=0;l<t.length;l++){const o=ba[t[l]];if(o&&o(r,t))return}return e(r,...i)})},wa={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Vf=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=dt(r.key);if(t.some(l=>l===i||wa[l]===i))return e(r)})},Sa=de({patchProp:ma},Gc);let vs,Br=!1;function xa(){return vs=Br?vs:Mc(Sa),Br=!0,vs}const kf=(...e)=>{const t=xa().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Ca(s);if(r)return n(r,!0,Ta(r))},t};function Ta(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ca(e){return le(e)?document.querySelector(e):e}const Ea=window.__VP_SITE_DATA__;function So(e){return ai()?(Zo(e),!0):!1}const ys=new WeakMap,Aa=(...e)=>{var t;const n=e[0],s=(t=At())==null?void 0:t.proxy;if(s==null&&!Oi())throw new Error("injectLocal must be called in setup");return s&&ys.has(s)&&n in ys.get(s)?ys.get(s)[n]:wt(...e)},xo=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Ra=Object.prototype.toString,Ma=e=>Ra.call(e)==="[object Object]",Et=()=>{},Kr=Oa();function Oa(){var e,t;return xo&&((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 nr(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 To=e=>e();function Pa(e,t={}){let n,s,r=Et;const i=c=>{clearTimeout(c),r(),r=Et};let l;return c=>{const f=ae(e),a=ae(t.maxWait);return n&&i(n),f<=0||a!==void 0&&a<=0?(s&&(i(s),s=null),Promise.resolve(c())):new Promise((h,v)=>{r=t.rejectOnCancel?v:h,l=c,a&&!s&&(s=setTimeout(()=>{n&&i(n),s=null,h(l())},a)),n=setTimeout(()=>{s&&i(s),s=null,h(c())},f)})}}function Ia(...e){let t=0,n,s=!0,r=Et,i,l,o,c,f;!ue(e[0])&&typeof e[0]=="object"?{delay:l,trailing:o=!0,leading:c=!0,rejectOnCancel:f=!1}=e[0]:[l,o=!0,c=!0,f=!1]=e;const a=()=>{n&&(clearTimeout(n),n=void 0,r(),r=Et)};return v=>{const y=ae(l),P=Date.now()-t,C=()=>i=v();return a(),y<=0?(t=Date.now(),C()):(P>y&&(c||!s)?(t=Date.now(),C()):o&&(i=new Promise((k,H)=>{r=f?H:k,n=setTimeout(()=>{t=Date.now(),s=!0,k(C()),a()},Math.max(0,y-P))})),!c&&!n&&(n=setTimeout(()=>s=!0,y)),s=!1,i)}}function La(e=To,t={}){const{initialState:n="active"}=t,s=sr(n==="active");function r(){s.value=!1}function i(){s.value=!0}return{isActive:Qt(s),pause:r,resume:i,eventFilter:(...o)=>{s.value&&e(...o)}}}function qr(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function Na(e){return At()}function _s(e){return Array.isArray(e)?e:[e]}function sr(...e){if(e.length!==1)return Cl(...e);const t=e[0];return typeof t=="function"?Qt(Sl(()=>({get:t,set:Et}))):bt(t)}function Fa(e,t=200,n={}){return nr(Pa(t,n),e)}function Ha(e,t=200,n=!1,s=!0,r=!1){return nr(Ia(t,n,s,r),e)}function Da(e,t,n={}){const{eventFilter:s=To,...r}=n;return $e(e,nr(s,t),r)}function $a(e,t,n={}){const{eventFilter:s,initialState:r="active",...i}=n,{eventFilter:l,pause:o,resume:c,isActive:f}=La(s,{initialState:r});return{stop:Da(e,t,{...i,eventFilter:l}),pause:o,resume:c,isActive:f}}function ts(e,t=!0,n){Na()?$t(e,n):t?e():Xn(e)}function ja(e,t,n){return $e(e,t,{...n,immediate:!0})}const rt=xo?window:void 0;function rr(e){var t;const n=ae(e);return(t=n==null?void 0:n.$el)!=null?t:n}function it(...e){const t=[],n=()=>{t.forEach(o=>o()),t.length=0},s=(o,c,f,a)=>(o.addEventListener(c,f,a),()=>o.removeEventListener(c,f,a)),r=oe(()=>{const o=_s(ae(e[0])).filter(c=>c!=null);return o.every(c=>typeof c!="string")?o:void 0}),i=ja(()=>{var o,c;return[(c=(o=r.value)==null?void 0:o.map(f=>rr(f)))!=null?c:[rt].filter(f=>f!=null),_s(ae(r.value?e[1]:e[0])),_s(qn(r.value?e[2]:e[1])),ae(r.value?e[3]:e[2])]},([o,c,f,a])=>{if(n(),!(o!=null&&o.length)||!(c!=null&&c.length)||!(f!=null&&f.length))return;const h=Ma(a)?{...a}:a;t.push(...o.flatMap(v=>c.flatMap(y=>f.map(P=>s(v,y,P,h)))))},{flush:"post"}),l=()=>{i(),n()};return So(n),l}function Va(){const e=De(!1),t=At();return t&&$t(()=>{e.value=!0},t),e}function ka(e){const t=Va();return oe(()=>(t.value,!!e()))}function Wa(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Wf(...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=rt,eventName:i="keydown",passive:l=!1,dedupe:o=!1}=s,c=Wa(t);return it(r,i,a=>{a.repeat&&ae(o)||c(a)&&n(a)},l)}const Ua=Symbol("vueuse-ssr-width");function Ba(){const e=Oi()?Aa(Ua,null):null;return typeof e=="number"?e:void 0}function Co(e,t={}){const{window:n=rt,ssrWidth:s=Ba()}=t,r=ka(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=De(typeof s=="number"),l=De(),o=De(!1),c=f=>{o.value=f.matches};return Pi(()=>{if(i.value){i.value=!r.value;const f=ae(e).split(",");o.value=f.some(a=>{const h=a.includes("not all"),v=a.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),y=a.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let P=!!(v||y);return v&&P&&(P=s>=qr(v[1])),y&&P&&(P=s<=qr(y[1])),h?!P:P});return}r.value&&(l.value=n.matchMedia(ae(e)),o.value=l.value.matches)}),it(l,"change",c,{passive:!0}),oe(()=>o.value)}const vn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},yn="__vueuse_ssr_handlers__",Ka=qa();function qa(){return yn in vn||(vn[yn]=vn[yn]||{}),vn[yn]}function Eo(e,t){return Ka[e]||t}function Ao(e){return Co("(prefers-color-scheme: dark)",e)}function Ga(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 Xa={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()}},Gr="vueuse-storage";function Ya(e,t,n,s={}){var r;const{flush:i="pre",deep:l=!0,listenToStorageChanges:o=!0,writeDefaults:c=!0,mergeDefaults:f=!1,shallow:a,window:h=rt,eventFilter:v,onError:y=x=>{console.error(x)},initOnMounted:P}=s,C=(a?De:bt)(typeof t=="function"?t():t),k=oe(()=>ae(e));if(!n)try{n=Eo("getDefaultStorage",()=>{var x;return(x=rt)==null?void 0:x.localStorage})()}catch(x){y(x)}if(!n)return C;const H=ae(t),D=Ga(H),p=(r=s.serializer)!=null?r:Xa[D],{pause:g,resume:M}=$a(C,()=>O(C.value),{flush:i,deep:l,eventFilter:v});$e(k,()=>E(),{flush:i}),h&&o&&ts(()=>{n instanceof Storage?it(h,"storage",E,{passive:!0}):it(h,Gr,F),P&&E()}),P||E();function j(x,_){if(h){const L={key:k.value,oldValue:x,newValue:_,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",L):new CustomEvent(Gr,{detail:L}))}}function O(x){try{const _=n.getItem(k.value);if(x==null)j(_,null),n.removeItem(k.value);else{const L=p.write(x);_!==L&&(n.setItem(k.value,L),j(_,L))}}catch(_){y(_)}}function U(x){const _=x?x.newValue:n.getItem(k.value);if(_==null)return c&&H!=null&&n.setItem(k.value,p.write(H)),H;if(!x&&f){const L=p.read(_);return typeof f=="function"?f(L,H):D==="object"&&!Array.isArray(L)?{...H,...L}:L}else return typeof _!="string"?_:p.read(_)}function E(x){if(!(x&&x.storageArea!==n)){if(x&&x.key==null){C.value=H;return}if(!(x&&x.key!==k.value)){g();try{(x==null?void 0:x.newValue)!==p.write(C.value)&&(C.value=U(x))}catch(_){y(_)}finally{x?Xn(M):M()}}}}function F(x){E(x.detail)}return C}const za="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function Ja(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=rt,storage:i,storageKey:l="vueuse-color-scheme",listenToStorageChanges:o=!0,storageRef:c,emitAuto:f,disableTransition:a=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},v=Ao({window:r}),y=oe(()=>v.value?"dark":"light"),P=c||(l==null?sr(s):Ya(l,s,i,{window:r,listenToStorageChanges:o})),C=oe(()=>P.value==="auto"?y.value:P.value),k=Eo("updateHTMLAttrs",(g,M,j)=>{const O=typeof g=="string"?r==null?void 0:r.document.querySelector(g):rr(g);if(!O)return;const U=new Set,E=new Set;let F=null;if(M==="class"){const _=j.split(/\s/g);Object.values(h).flatMap(L=>(L||"").split(/\s/g)).filter(Boolean).forEach(L=>{_.includes(L)?U.add(L):E.add(L)})}else F={key:M,value:j};if(U.size===0&&E.size===0&&F===null)return;let x;a&&(x=r.document.createElement("style"),x.appendChild(document.createTextNode(za)),r.document.head.appendChild(x));for(const _ of U)O.classList.add(_);for(const _ of E)O.classList.remove(_);F&&O.setAttribute(F.key,F.value),a&&(r.getComputedStyle(x).opacity,document.head.removeChild(x))});function H(g){var M;k(t,n,(M=h[g])!=null?M:g)}function D(g){e.onChanged?e.onChanged(g,H):H(g)}$e(C,D,{flush:"post",immediate:!0}),ts(()=>D(C.value));const p=oe({get(){return f?P.value:C.value},set(g){P.value=g}});return Object.assign(p,{store:P,system:y,state:C})}function Qa(e={}){const{valueDark:t="dark",valueLight:n=""}=e,s=Ja({...e,onChanged:(l,o)=>{var c;e.onChanged?(c=e.onChanged)==null||c.call(e,l==="dark",o,l):o(l)},modes:{dark:t,light:n}}),r=oe(()=>s.system.value);return oe({get(){return s.value==="dark"},set(l){const o=l?"dark":"light";r.value===o?s.value="auto":s.value=o}})}function bs(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const Xr=1;function Za(e,t={}){const{throttle:n=0,idle:s=200,onStop:r=Et,onScroll:i=Et,offset:l={left:0,right:0,top:0,bottom:0},eventListenerOptions:o={capture:!1,passive:!0},behavior:c="auto",window:f=rt,onError:a=O=>{console.error(O)}}=t,h=De(0),v=De(0),y=oe({get(){return h.value},set(O){C(O,void 0)}}),P=oe({get(){return v.value},set(O){C(void 0,O)}});function C(O,U){var E,F,x,_;if(!f)return;const L=ae(e);if(!L)return;(x=L instanceof Document?f.document.body:L)==null||x.scrollTo({top:(E=ae(U))!=null?E:P.value,left:(F=ae(O))!=null?F:y.value,behavior:ae(c)});const X=((_=L==null?void 0:L.document)==null?void 0:_.documentElement)||(L==null?void 0:L.documentElement)||L;y!=null&&(h.value=X.scrollLeft),P!=null&&(v.value=X.scrollTop)}const k=De(!1),H=Ht({left:!0,right:!1,top:!0,bottom:!1}),D=Ht({left:!1,right:!1,top:!1,bottom:!1}),p=O=>{k.value&&(k.value=!1,D.left=!1,D.right=!1,D.top=!1,D.bottom=!1,r(O))},g=Fa(p,n+s),M=O=>{var U;if(!f)return;const E=((U=O==null?void 0:O.document)==null?void 0:U.documentElement)||(O==null?void 0:O.documentElement)||rr(O),{display:F,flexDirection:x,direction:_}=getComputedStyle(E),L=_==="rtl"?-1:1,X=E.scrollLeft;D.left=X<h.value,D.right=X>h.value;const te=Math.abs(X*L)<=(l.left||0),V=Math.abs(X*L)+E.clientWidth>=E.scrollWidth-(l.right||0)-Xr;F==="flex"&&x==="row-reverse"?(H.left=V,H.right=te):(H.left=te,H.right=V),h.value=X;let Y=E.scrollTop;O===f.document&&!Y&&(Y=f.document.body.scrollTop),D.top=Y<v.value,D.bottom=Y>v.value;const q=Math.abs(Y)<=(l.top||0),ye=Math.abs(Y)+E.clientHeight>=E.scrollHeight-(l.bottom||0)-Xr;F==="flex"&&x==="column-reverse"?(H.top=ye,H.bottom=q):(H.top=q,H.bottom=ye),v.value=Y},j=O=>{var U;if(!f)return;const E=(U=O.target.documentElement)!=null?U:O.target;M(E),k.value=!0,g(O),i(O)};return it(e,"scroll",n?Ha(j,n,!0,!1):j,o),ts(()=>{try{const O=ae(e);if(!O)return;M(O)}catch(O){a(O)}}),it(e,"scrollend",p,o),{x:y,y:P,isScrolling:k,arrivedState:H,directions:D,measure(){const O=ae(e);f&&O&&M(O)}}}function Ro(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth<e.scrollWidth||t.overflowY==="auto"&&e.clientHeight<e.scrollHeight)return!0;{const n=e.parentNode;return!n||n.tagName==="BODY"?!1:Ro(n)}}function ef(e){const t=e||window.event,n=t.target;return Ro(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const ws=new WeakMap;function Uf(e,t=!1){const n=De(t);let s=null,r="";$e(sr(e),o=>{const c=bs(ae(o));if(c){const f=c;if(ws.get(f)||ws.set(f,f.style.overflow),f.style.overflow!=="hidden"&&(r=f.style.overflow),f.style.overflow==="hidden")return n.value=!0;if(n.value)return f.style.overflow="hidden"}},{immediate:!0});const i=()=>{const o=bs(ae(e));!o||n.value||(Kr&&(s=it(o,"touchmove",c=>{ef(c)},{passive:!1})),o.style.overflow="hidden",n.value=!0)},l=()=>{const o=bs(ae(e));!o||!n.value||(Kr&&(s==null||s()),o.style.overflow=r,ws.delete(o),n.value=!1)};return So(l),oe({get(){return n.value},set(o){o?i():l()}})}function Bf(e={}){const{window:t=rt,...n}=e;return Za(t,n)}function Kf(e={}){const{window:t=rt,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:i=!0,type:l="inner"}=e,o=De(n),c=De(s),f=()=>{if(t)if(l==="outer")o.value=t.outerWidth,c.value=t.outerHeight;else if(l==="visual"&&t.visualViewport){const{width:h,height:v,scale:y}=t.visualViewport;o.value=Math.round(h*y),c.value=Math.round(v*y)}else i?(o.value=t.innerWidth,c.value=t.innerHeight):(o.value=t.document.documentElement.clientWidth,c.value=t.document.documentElement.clientHeight)};f(),ts(f);const a={passive:!0};if(it("resize",f,a),t&&l==="visual"&&t.visualViewport&&it(t.visualViewport,"resize",f,a),r){const h=Co("(orientation: portrait)");$e(h,()=>f())}return{width:o,height:c}}const Ss={};var xs={};const Mo=/^(?:[a-z]+:|\/\/)/i,tf="vitepress-theme-appearance",nf=/#.*$/,sf=/[?#].*$/,rf=/(?:(^|\/)index)?\.(?:md|html)$/,_e=typeof document<"u",Oo={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function of(e,t,n=!1){if(t===void 0)return!1;if(e=Yr(`/${e}`),n)return new RegExp(t).test(e);if(Yr(t)!==e)return!1;const s=t.match(nf);return s?(_e?location.hash:"")===s[0]:!0}function Yr(e){return decodeURI(e).replace(sf,"").replace(rf,"$1")}function lf(e){return Mo.test(e)}function cf(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!lf(n)&&of(t,`/${n}/`,!0))||"root"}function af(e,t){var s,r,i,l,o,c,f;const n=cf(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:((l=e.locales[n])==null?void 0:l.titleTemplate)??e.titleTemplate,description:((o=e.locales[n])==null?void 0:o.description)??e.description,head:Io(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(f=e.locales[n])==null?void 0:f.themeConfig}})}function Po(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=ff(e.title,s);return n===r.slice(3)?n:`${n}${r}`}function ff(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function uf(e,t){const[n,s]=t;if(n!=="meta")return!1;const r=Object.entries(s)[0];return r==null?!1:e.some(([i,l])=>i===n&&l[r[0]]===r[1])}function Io(e,t){return[...e.filter(n=>!uf(t,n)),...t]}const df=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,hf=/^[a-z]:/i;function zr(e){const t=hf.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(df,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const Ts=new Set;function pf(e){if(Ts.size===0){const n=typeof process=="object"&&(xs==null?void 0:xs.VITE_EXTRA_EXTENSIONS)||(Ss==null?void 0:Ss.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=>Ts.add(s))}const t=e.split(".").pop();return t==null||!Ts.has(t.toLowerCase())}const gf=Symbol(),Ct=De(Ea);function qf(e){const t=oe(()=>af(Ct.value,e.data.relativePath)),n=t.value.appearance,s=n==="force-dark"?bt(!0):n==="force-auto"?Ao():n?Qa({storageKey:tf,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):bt(!1),r=bt(_e?location.hash:"");return _e&&window.addEventListener("hashchange",()=>{r.value=location.hash}),$e(()=>e.data,()=>{r.value=_e?location.hash:""}),{site:t,theme:oe(()=>t.value.themeConfig),page:oe(()=>e.data),frontmatter:oe(()=>e.data.frontmatter),params:oe(()=>e.data.params),lang:oe(()=>t.value.lang),dir:oe(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:oe(()=>t.value.localeIndex||"root"),title:oe(()=>Po(t.value,e.data)),description:oe(()=>e.data.description||t.value.description),isDark:s,hash:oe(()=>r.value)}}function mf(){const e=wt(gf);if(!e)throw new Error("vitepress data not properly injected in app");return e}function vf(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Jr(e){return Mo.test(e)||!e.startsWith("/")?e:vf(Ct.value.base,e)}function yf(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),_e){const n="/";t=zr(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=`./${zr(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let Cn=[];function Gf(e){Cn.push(e),Zn(()=>{Cn=Cn.filter(t=>t!==e)})}function _f(){let e=Ct.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=Qr(e,n);else if(Array.isArray(e))for(const s of e){const r=Qr(s,n);if(r){t=r;break}}return t}function Qr(e,t){const n=document.querySelector(e);if(!n)return 0;const s=n.getBoundingClientRect().bottom;return s<0?0:s+t}const bf=Symbol(),Lo="http://a.com",wf=()=>({path:"/",component:null,data:Oo});function Xf(e,t){const n=Ht(wf()),s={route:n,go:r};async function r(o=_e?location.href:"/"){var c,f;o=Cs(o),await((c=s.onBeforeRouteChange)==null?void 0:c.call(s,o))!==!1&&(_e&&o!==Cs(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",o)),await l(o),await((f=s.onAfterRouteChange??s.onAfterRouteChanged)==null?void 0:f(o)))}let i=null;async function l(o,c=0,f=!1){var v,y;if(await((v=s.onBeforePageLoad)==null?void 0:v.call(s,o))===!1)return;const a=new URL(o,Lo),h=i=a.pathname;try{let P=await e(h);if(!P)throw new Error(`Page not found: ${h}`);if(i===h){i=null;const{default:C,__pageData:k}=P;if(!C)throw new Error(`Invalid route component: ${C}`);await((y=s.onAfterPageLoad)==null?void 0:y.call(s,o)),n.path=_e?h:Jr(h),n.component=Sn(C),n.data=Sn(k),_e&&Xn(()=>{let H=Ct.value.base+k.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!Ct.value.cleanUrls&&!H.endsWith("/")&&(H+=".html"),H!==a.pathname&&(a.pathname=H,o=H+a.search+a.hash,history.replaceState({},"",o)),a.hash&&!c){let D=null;try{D=document.getElementById(decodeURIComponent(a.hash).slice(1))}catch(p){console.warn(p)}if(D){Zr(D,a.hash);return}}window.scrollTo(0,c)})}}catch(P){if(!/fetch|Page not found/.test(P.message)&&!/^\/404(\.html|\/)?$/.test(o)&&console.error(P),!f)try{const C=await fetch(Ct.value.base+"hashmap.json");window.__VP_HASH_MAP__=await C.json(),await l(o,c,!0);return}catch{}if(i===h){i=null,n.path=_e?h:Jr(h),n.component=t?Sn(t):null;const C=_e?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={...Oo,relativePath:C}}}}return _e&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",o=>{if(o.defaultPrevented||!(o.target instanceof Element)||o.target.closest("button")||o.button!==0||o.ctrlKey||o.shiftKey||o.altKey||o.metaKey)return;const c=o.target.closest("a");if(!c||c.closest(".vp-raw")||c.hasAttribute("download")||c.hasAttribute("target"))return;const f=c.getAttribute("href")??(c instanceof SVGAElement?c.getAttribute("xlink:href"):null);if(f==null)return;const{href:a,origin:h,pathname:v,hash:y,search:P}=new URL(f,c.baseURI),C=new URL(location.href);h===C.origin&&pf(v)&&(o.preventDefault(),v===C.pathname&&P===C.search?(y!==C.hash&&(history.pushState({},"",a),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:C.href,newURL:a}))),y?Zr(c,y,c.classList.contains("header-anchor")):window.scrollTo(0,0)):r(a))},{capture:!0}),window.addEventListener("popstate",async o=>{var f;if(o.state===null)return;const c=Cs(location.href);await l(c,o.state&&o.state.scrollPosition||0),await((f=s.onAfterRouteChange??s.onAfterRouteChanged)==null?void 0:f(c))}),window.addEventListener("hashchange",o=>{o.preventDefault()})),s}function Sf(){const e=wt(bf);if(!e)throw new Error("useRouter() is called without provider.");return e}function No(){return Sf().route}function Zr(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(l-window.scrollY)>window.innerHeight?window.scrollTo(0,l):window.scrollTo({left:0,top:l,behavior:"smooth"})};const i=parseInt(window.getComputedStyle(s).paddingTop,10),l=window.scrollY+s.getBoundingClientRect().top-_f()+i;requestAnimationFrame(r)}}function Cs(e){const t=new URL(e,Lo);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),Ct.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 _n=()=>Cn.forEach(e=>e()),Yf=$i({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=No(),{frontmatter:n,site:s}=mf();return $e(n,_n,{deep:!0,flush:"post"}),()=>$s(e.as,s.value.contentProps??{style:{position:"relative"}},[t.component?$s(t.component,{onVnodeMounted:_n,onVnodeUpdated:_n,onVnodeUnmounted:_n}):"404 Page Not Found"])}}),zf=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Jf=$i({setup(e,{slots:t}){const n=bt(!1);return $t(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function Qf(){_e&&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 l=Array.from(i.children).find(f=>f.classList.contains("active"));if(!l)return;const o=i.children[r];if(!o||l===o)return;l.classList.remove("active"),o.classList.add("active");const c=s==null?void 0:s.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function Zf(){if(_e){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 l=/language-(shellscript|shell|bash|sh|zsh)/.test(r.className),o=[".vp-copy-ignore",".diff.remove"],c=i.cloneNode(!0);c.querySelectorAll(o.join(",")).forEach(a=>a.remove());let f=c.textContent||"";l&&(f=f.replace(/^ *(\$|>) /gm,"").trim()),xf(f).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const a=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,a)})}})}}async function xf(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 eu(e,t){let n=!0,s=[];const r=i=>{if(n){n=!1,i.forEach(o=>{const c=Es(o);for(const f of document.head.children)if(f.isEqualNode(c)){s.push(f);return}});return}const l=i.map(Es);s.forEach((o,c)=>{const f=l.findIndex(a=>a==null?void 0:a.isEqualNode(o??null));f!==-1?delete l[f]:(o==null||o.remove(),delete s[c])}),l.forEach(o=>o&&document.head.appendChild(o)),s=[...s,...l].filter(Boolean)};Pi(()=>{const i=e.data,l=t.value,o=i&&i.description,c=i&&i.frontmatter.head||[],f=Po(l,i);f!==document.title&&(document.title=f);const a=o||l.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==a&&h.setAttribute("content",a):Es(["meta",{name:"description",content:a}]),r(Io(l.head,Cf(c)))})}function Es([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==null&&(s.async=!1),s}function Tf(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Cf(e){return e.filter(t=>!Tf(t))}const As=new Set,Fo=()=>document.createElement("link"),Ef=e=>{const t=Fo();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Af=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let bn;const Rf=_e&&(bn=Fo())&&bn.relList&&bn.relList.supports&&bn.relList.supports("prefetch")?Ef:Af;function tu(){if(!_e||!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(l=>{if(l.isIntersecting){const o=l.target;n.unobserve(o);const{pathname:c}=o;if(!As.has(c)){As.add(c);const f=yf(c);f&&Rf(f)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{hostname:l,pathname:o}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),c=o.match(/\.\w+$/);c&&c[0]!==".html"||i.target!=="_blank"&&l===location.hostname&&(o!==location.pathname?n.observe(i):As.add(o))})})};$t(s);const r=No();$e(()=>r.path,s),Zn(()=>{n&&n.disconnect()})}export{Ff as $,_f as A,If as B,Of as C,Gf as D,ve as E,Te as F,De as G,Pf as H,Mo as I,No as J,Fc as K,wt as L,Kf as M,Ws as N,Wf as O,Xn as P,Bf as Q,_e as R,Qt as S,$f as T,Uf as U,Fl as V,Nf as W,Vf as X,ki as Y,jf as Z,zf as _,mo as a,eu as a0,bf as a1,qf as a2,gf as a3,Yf as a4,Jf as a5,Ct as a6,Xf as a7,yf as a8,kf as a9,tu as aa,Zf as ab,Qf as ac,$s as ad,Df as ae,Ds as b,Hf as c,$i as d,Nc as e,pf as f,Jr as g,oe as h,lf as i,go as j,qn as k,of as l,Co as m,Us as n,Hs as o,bt as p,$e as q,Lf as r,Pi as s,Jo as t,mf as u,$t as v,Nl as w,Zn as x,Mf as y,sc as z};