my-openlayer 2.4.9 → 2.4.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -53
- package/LICENSE +21 -21
- package/README.md +43 -8
- package/core/MapBaseLayers.js +7 -9
- package/core/Point.d.ts +18 -1
- package/core/Point.js +201 -1
- package/docs/.vitepress/dist/404.html +22 -0
- package/docs/.vitepress/dist/ConfigManager.html +46 -0
- package/docs/.vitepress/dist/ErrorHandler.html +52 -0
- package/docs/.vitepress/dist/EventManager.html +58 -0
- package/docs/.vitepress/dist/Line.html +92 -0
- package/docs/.vitepress/dist/MapBaseLayers.html +52 -0
- package/docs/.vitepress/dist/MapTools.html +81 -0
- package/docs/.vitepress/dist/MeasureHandler.html +32 -0
- package/docs/.vitepress/dist/MyOl.html +62 -0
- package/docs/.vitepress/dist/Point.html +81 -0
- package/docs/.vitepress/dist/Polygon.html +102 -0
- package/docs/.vitepress/dist/RiverLayerManager.html +66 -0
- package/docs/.vitepress/dist/SelectHandler.html +46 -0
- package/docs/.vitepress/dist/ValidationUtils.html +47 -0
- package/docs/.vitepress/dist/VueTemplatePoint.html +112 -0
- package/docs/.vitepress/dist/assets/ConfigManager.md.BOMdGTaa.js +22 -0
- package/docs/.vitepress/dist/assets/ConfigManager.md.BOMdGTaa.lean.js +1 -0
- package/docs/.vitepress/dist/assets/ErrorHandler.md.yUiuJ9w9.js +28 -0
- package/docs/.vitepress/dist/assets/ErrorHandler.md.yUiuJ9w9.lean.js +1 -0
- package/docs/.vitepress/dist/assets/EventManager.md.BhCUVy1f.js +34 -0
- package/docs/.vitepress/dist/assets/EventManager.md.BhCUVy1f.lean.js +1 -0
- package/docs/.vitepress/dist/assets/Line.md.BAQOzmSt.js +68 -0
- package/docs/.vitepress/dist/assets/Line.md.BAQOzmSt.lean.js +1 -0
- package/docs/.vitepress/dist/assets/MapBaseLayers.md.Bw0L_m0b.js +28 -0
- package/docs/.vitepress/dist/assets/MapBaseLayers.md.Bw0L_m0b.lean.js +1 -0
- package/docs/.vitepress/dist/assets/MapTools.md.DaYgiDPe.js +57 -0
- package/docs/.vitepress/dist/assets/MapTools.md.DaYgiDPe.lean.js +1 -0
- package/docs/.vitepress/dist/assets/MeasureHandler.md.7Sf4ymRv.js +8 -0
- package/docs/.vitepress/dist/assets/MeasureHandler.md.7Sf4ymRv.lean.js +1 -0
- package/docs/.vitepress/dist/assets/MyOl.md.D-14Gzjy.js +38 -0
- package/docs/.vitepress/dist/assets/MyOl.md.D-14Gzjy.lean.js +1 -0
- package/docs/.vitepress/dist/assets/Point.md.Bi9juuuv.js +57 -0
- package/docs/.vitepress/dist/assets/Point.md.Bi9juuuv.lean.js +1 -0
- package/docs/.vitepress/dist/assets/Polygon.md.-JIqEvzD.js +78 -0
- package/docs/.vitepress/dist/assets/Polygon.md.-JIqEvzD.lean.js +1 -0
- package/docs/.vitepress/dist/assets/RiverLayerManager.md.CfUu2RxH.js +42 -0
- package/docs/.vitepress/dist/assets/RiverLayerManager.md.CfUu2RxH.lean.js +1 -0
- package/docs/.vitepress/dist/assets/SelectHandler.md.COR4ez_p.js +22 -0
- package/docs/.vitepress/dist/assets/SelectHandler.md.COR4ez_p.lean.js +1 -0
- package/docs/.vitepress/dist/assets/ValidationUtils.md.ReTVWa73.js +23 -0
- package/docs/.vitepress/dist/assets/ValidationUtils.md.ReTVWa73.lean.js +1 -0
- package/docs/.vitepress/dist/assets/VueTemplatePoint.md.CtxSb5Pm.js +88 -0
- package/docs/.vitepress/dist/assets/VueTemplatePoint.md.CtxSb5Pm.lean.js +1 -0
- package/docs/.vitepress/dist/assets/app.YvjVuxaB.js +1 -0
- package/docs/.vitepress/dist/assets/chunks/framework.C_W0ODpn.js +18 -0
- package/docs/.vitepress/dist/assets/chunks/theme.Bf87fILP.js +1 -0
- package/docs/.vitepress/dist/assets/index.md.BJz6tHSr.js +26 -0
- package/docs/.vitepress/dist/assets/index.md.BJz6tHSr.lean.js +1 -0
- package/docs/.vitepress/dist/assets/inter-italic-cyrillic-ext.r48I6akx.woff2 +0 -0
- package/docs/.vitepress/dist/assets/inter-italic-cyrillic.By2_1cv3.woff2 +0 -0
- package/docs/.vitepress/dist/assets/inter-italic-greek-ext.1u6EdAuj.woff2 +0 -0
- package/docs/.vitepress/dist/assets/inter-italic-greek.DJ8dCoTZ.woff2 +0 -0
- package/docs/.vitepress/dist/assets/inter-italic-latin-ext.CN1xVJS-.woff2 +0 -0
- package/docs/.vitepress/dist/assets/inter-italic-latin.C2AdPX0b.woff2 +0 -0
- package/docs/.vitepress/dist/assets/inter-italic-vietnamese.BSbpV94h.woff2 +0 -0
- package/docs/.vitepress/dist/assets/inter-roman-cyrillic-ext.BBPuwvHQ.woff2 +0 -0
- package/docs/.vitepress/dist/assets/inter-roman-cyrillic.C5lxZ8CY.woff2 +0 -0
- package/docs/.vitepress/dist/assets/inter-roman-greek-ext.CqjqNYQ-.woff2 +0 -0
- package/docs/.vitepress/dist/assets/inter-roman-greek.BBVDIX6e.woff2 +0 -0
- package/docs/.vitepress/dist/assets/inter-roman-latin-ext.4ZJIpNVo.woff2 +0 -0
- package/docs/.vitepress/dist/assets/inter-roman-latin.Di8DUHzh.woff2 +0 -0
- package/docs/.vitepress/dist/assets/inter-roman-vietnamese.BjW4sHH5.woff2 +0 -0
- package/docs/.vitepress/dist/assets/style.C2pAQzDq.css +1 -0
- package/docs/.vitepress/dist/hashmap.json +1 -0
- package/docs/.vitepress/dist/index.html +50 -0
- package/docs/.vitepress/dist/vp-icons.css +1 -0
- package/docs/Point.md +97 -29
- package/docs/index.md +6 -5
- package/index.d.ts +2 -2
- package/package.json +1 -1
- package/types.d.ts +59 -0
- package/core/DomPoint.d.ts +0 -21
- package/core/DomPoint.js +0 -36
- package/docs/.vitepress/cache/deps/@theme_index.js +0 -275
- package/docs/.vitepress/cache/deps/@theme_index.js.map +0 -7
- package/docs/.vitepress/cache/deps/_metadata.json +0 -40
- package/docs/.vitepress/cache/deps/chunk-LW4I4DCF.js +0 -12542
- package/docs/.vitepress/cache/deps/chunk-LW4I4DCF.js.map +0 -7
- package/docs/.vitepress/cache/deps/chunk-Z5QSWKN2.js +0 -9719
- package/docs/.vitepress/cache/deps/chunk-Z5QSWKN2.js.map +0 -7
- package/docs/.vitepress/cache/deps/package.json +0 -3
- package/docs/.vitepress/cache/deps/vitepress___@vue_devtools-api.js +0 -4505
- package/docs/.vitepress/cache/deps/vitepress___@vue_devtools-api.js.map +0 -7
- package/docs/.vitepress/cache/deps/vitepress___@vueuse_core.js +0 -583
- package/docs/.vitepress/cache/deps/vitepress___@vueuse_core.js.map +0 -7
- package/docs/.vitepress/cache/deps/vue.js +0 -343
- package/docs/.vitepress/cache/deps/vue.js.map +0 -7
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import{_ as i,c as t,ae as a,o as n}from"./chunks/framework.C_W0ODpn.js";const g=JSON.parse('{"title":"VueTemplatePoint Vue 组件点位类","description":"","frontmatter":{},"headers":[],"relativePath":"VueTemplatePoint.md","filePath":"VueTemplatePoint.md"}'),l={name:"VueTemplatePoint.md"};function e(p,s,h,k,d,E){return n(),t("div",null,s[0]||(s[0]=[a(`<h1 id="vuetemplatepoint-vue-组件点位类" tabindex="-1">VueTemplatePoint Vue 组件点位类 <a class="header-anchor" href="#vuetemplatepoint-vue-组件点位类" aria-label="Permalink to "VueTemplatePoint Vue 组件点位类""></a></h1><p><code>VueTemplatePoint</code> 允许将 Vue 组件直接渲染为地图上的点位覆盖物(Overlay),支持 Vue 2 和 Vue 3。它通过创建 Overlay 并将 Vue 组件挂载到 Overlay 的 DOM 元素中来实现。</p><h2 id="构造函数" tabindex="-1">构造函数 <a class="header-anchor" href="#构造函数" aria-label="Permalink to "构造函数""></a></h2><div class="language-typescript vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">typescript</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">constructor</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(map: Map)</span></span></code></pre></div><ul><li><strong>参数</strong>: <ul><li><code>map</code> (Map): OpenLayers 地图实例。</li></ul></li></ul><h2 id="接口定义" tabindex="-1">接口定义 <a class="header-anchor" href="#接口定义" aria-label="Permalink to "接口定义""></a></h2><h3 id="vuetemplatepointoptions" tabindex="-1">VueTemplatePointOptions <a class="header-anchor" href="#vuetemplatepointoptions" aria-label="Permalink to "VueTemplatePointOptions""></a></h3><p>配置 Vue 模版点位的选项接口。</p><table tabindex="0"><thead><tr><th style="text-align:left;">属性</th><th style="text-align:left;">类型</th><th style="text-align:left;">必填</th><th style="text-align:left;">默认值</th><th style="text-align:left;">描述</th></tr></thead><tbody><tr><td style="text-align:left;">Template</td><td style="text-align:left;"><code>any</code></td><td style="text-align:left;">是</td><td style="text-align:left;">-</td><td style="text-align:left;">Vue 组件模版对象。</td></tr><tr><td style="text-align:left;">lgtd</td><td style="text-align:left;"><code>number</code></td><td style="text-align:left;">是</td><td style="text-align:left;">-</td><td style="text-align:left;">经度。</td></tr><tr><td style="text-align:left;">lttd</td><td style="text-align:left;"><code>number</code></td><td style="text-align:left;">是</td><td style="text-align:left;">-</td><td style="text-align:left;">纬度。</td></tr><tr><td style="text-align:left;">props</td><td style="text-align:left;"><code>Record<string, any></code></td><td style="text-align:left;">否</td><td style="text-align:left;">-</td><td style="text-align:left;">传递给组件的 props。</td></tr><tr><td style="text-align:left;">positioning</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">否</td><td style="text-align:left;"><code>'center-center'</code></td><td style="text-align:left;">覆盖物相对于位置的锚点。可选值见 OpenLayers Overlay positioning。</td></tr><tr><td style="text-align:left;">stopEvent</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">否</td><td style="text-align:left;"><code>false</code></td><td style="text-align:left;">是否阻止地图事件冒泡。</td></tr><tr><td style="text-align:left;">zIndex</td><td style="text-align:left;"><code>number</code></td><td style="text-align:left;">否</td><td style="text-align:left;">-</td><td style="text-align:left;">DOM 元素的 z-index。</td></tr><tr><td style="text-align:left;">className</td><td style="text-align:left;"><code>string</code></td><td style="text-align:left;">否</td><td style="text-align:left;">-</td><td style="text-align:left;">DOM 元素的 CSS 类名。</td></tr><tr><td style="text-align:left;">visible</td><td style="text-align:left;"><code>boolean</code></td><td style="text-align:left;">否</td><td style="text-align:left;"><code>true</code></td><td style="text-align:left;">初始可见性。</td></tr></tbody></table><h2 id="方法" tabindex="-1">方法 <a class="header-anchor" href="#方法" aria-label="Permalink to "方法""></a></h2><h3 id="addvuetemplatepoint" tabindex="-1">addVueTemplatePoint <a class="header-anchor" href="#addvuetemplatepoint" aria-label="Permalink to "addVueTemplatePoint""></a></h3><p>添加一组 Vue 组件点位。</p><div class="language-typescript vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">typescript</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">addVueTemplatePoint</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span></span>
|
|
2
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> pointDataList: any[], </span></span>
|
|
3
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> template: any, </span></span>
|
|
4
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> options</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">?:</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
|
|
5
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> positioning?: string,</span></span>
|
|
6
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> stopEvent?: boolean</span></span>
|
|
7
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }</span></span>
|
|
8
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">): VueTemplatePointController</span></span></code></pre></div><ul><li><p><strong>参数</strong>:</p><ul><li><code>pointDataList</code> (any[]): 点位数据列表。列表中的每个对象都必须包含 <code>lgtd</code> (经度) 和 <code>lttd</code> (纬度) 属性。</li><li><code>template</code> (any): Vue 组件对象。</li><li><code>options</code> (Object): 可选配置。 <ul><li><code>positioning</code>: 覆盖物定位点(如 <code>'center-center'</code>, <code>'bottom-center'</code> 等)。</li><li><code>stopEvent</code>: 是否阻止事件冒泡(默认 <code>false</code>)。</li></ul></li></ul></li><li><p><strong>返回值</strong>: 返回一个控制对象 <code>VueTemplatePointController</code>,用于批量管理这组点位。</p></li></ul><h3 id="vuetemplatepointcontroller-接口" tabindex="-1">VueTemplatePointController 接口 <a class="header-anchor" href="#vuetemplatepointcontroller-接口" aria-label="Permalink to "VueTemplatePointController 接口""></a></h3><p><code>addVueTemplatePoint</code> 返回的对象包含以下方法:</p><table tabindex="0"><thead><tr><th style="text-align:left;">方法</th><th style="text-align:left;">描述</th></tr></thead><tbody><tr><td style="text-align:left;"><code>setVisible(visible: boolean): void</code></td><td style="text-align:left;">设置该组所有点位的可见性。</td></tr><tr><td style="text-align:left;"><code>setOneVisibleByProp(propName: string, propValue: any, visible: boolean): void</code></td><td style="text-align:left;">根据点位数据中的属性值控制特定点位的可见性。</td></tr><tr><td style="text-align:left;"><code>remove(): void</code></td><td style="text-align:left;">移除该组所有点位并销毁组件实例。</td></tr><tr><td style="text-align:left;"><code>getPoints(): VueTemplatePointInstance[]</code></td><td style="text-align:left;">获取该组创建的所有底层点位实例列表。</td></tr></tbody></table><h3 id="getpointbyid" tabindex="-1">getPointById <a class="header-anchor" href="#getpointbyid" aria-label="Permalink to "getPointById""></a></h3><p>根据 ID 获取单个点位实例。</p><div class="language-typescript vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">typescript</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">getPointById</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(id: string): VueTemplatePointInstance </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">|</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> undefined</span></span></code></pre></div><h3 id="getallpoints" tabindex="-1">getAllPoints <a class="header-anchor" href="#getallpoints" aria-label="Permalink to "getAllPoints""></a></h3><p>获取所有管理的点位实例。</p><div class="language-typescript vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">typescript</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">getAllPoints</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(): VueTemplatePointInstance[]</span></span></code></pre></div><h3 id="removeallpoints" tabindex="-1">removeAllPoints <a class="header-anchor" href="#removeallpoints" aria-label="Permalink to "removeAllPoints""></a></h3><p>移除并销毁所有点位。</p><div class="language-typescript vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">typescript</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">removeAllPoints</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(): </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">void</span></span></code></pre></div><h3 id="getpointcount" tabindex="-1">getPointCount <a class="header-anchor" href="#getpointcount" aria-label="Permalink to "getPointCount""></a></h3><p>获取当前管理的点位数量。</p><div class="language-typescript vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">typescript</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">getPointCount</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(): number</span></span></code></pre></div><h2 id="vuetemplatepointinstance-实例方法" tabindex="-1">VueTemplatePointInstance 实例方法 <a class="header-anchor" href="#vuetemplatepointinstance-实例方法" aria-label="Permalink to "VueTemplatePointInstance 实例方法""></a></h2><p>单个点位实例 (<code>VueTemplatePointInstance</code>) 提供的操作方法:</p><table tabindex="0"><thead><tr><th style="text-align:left;">方法</th><th style="text-align:left;">描述</th></tr></thead><tbody><tr><td style="text-align:left;"><code>setVisible(visible: boolean): void</code></td><td style="text-align:left;">设置当前点位可见性。</td></tr><tr><td style="text-align:left;"><code>isVisible(): boolean</code></td><td style="text-align:left;">获取当前可见性状态。</td></tr><tr><td style="text-align:left;"><code>updatePosition(lgtd: number, lttd: number): void</code></td><td style="text-align:left;">更新点位经纬度位置。</td></tr><tr><td style="text-align:left;"><code>getPosition(): number[]</code></td><td style="text-align:left;">获取当前位置 <code>[lgtd, lttd]</code>。</td></tr><tr><td style="text-align:left;"><code>updateProps(newProps: Record<string, any>): void</code></td><td style="text-align:left;">更新传递给组件的 props。</td></tr><tr><td style="text-align:left;"><code>setStyle(styles: Partial<CSSStyleDeclaration>): void</code></td><td style="text-align:left;">设置 DOM 元素的 CSS 样式。</td></tr><tr><td style="text-align:left;"><code>addClass(className: string): void</code></td><td style="text-align:left;">添加 CSS 类名。</td></tr><tr><td style="text-align:left;"><code>removeClass(className: string): void</code></td><td style="text-align:left;">移除 CSS 类名。</td></tr><tr><td style="text-align:left;"><code>remove(): void</code></td><td style="text-align:left;">移除并销毁当前点位。</td></tr><tr><td style="text-align:left;"><code>getId(): string</code></td><td style="text-align:left;">获取点位唯一 ID。</td></tr><tr><td style="text-align:left;"><code>getDomElement(): HTMLElement</code></td><td style="text-align:left;">获取点位对应的 DOM 元素。</td></tr></tbody></table><h2 id="使用示例" tabindex="-1">使用示例 <a class="header-anchor" href="#使用示例" aria-label="Permalink to "使用示例""></a></h2><h3 id="vue-3-示例" tabindex="-1">Vue 3 示例 <a class="header-anchor" href="#vue-3-示例" aria-label="Permalink to "Vue 3 示例""></a></h3><div class="language-typescript vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">typescript</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { MyOl } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> 'my-openlayer'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
|
|
9
|
+
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> MyPopup </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> './MyPopup.vue'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">; </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// 你的 Vue 组件</span></span>
|
|
10
|
+
<span class="line"></span>
|
|
11
|
+
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> map</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> new</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> MyOl</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'map-container'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">);</span></span>
|
|
12
|
+
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> vuePointManager</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> map.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">getPoint</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">();</span></span>
|
|
13
|
+
<span class="line"></span>
|
|
14
|
+
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> pointData</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> [</span></span>
|
|
15
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { lgtd: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">120.1</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, lttd: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">30.2</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, title: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'位置1'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, status: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'normal'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> },</span></span>
|
|
16
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { lgtd: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">120.2</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, lttd: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">30.3</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, title: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'位置2'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, status: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'warning'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }</span></span>
|
|
17
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">];</span></span>
|
|
18
|
+
<span class="line"></span>
|
|
19
|
+
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// 1. 添加组件点位</span></span>
|
|
20
|
+
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> pointsController</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> vuePointManager.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">addVueTemplatePoint</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span></span>
|
|
21
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> pointData,</span></span>
|
|
22
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> MyPopup,</span></span>
|
|
23
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
|
|
24
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> positioning: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'bottom-center'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span></span>
|
|
25
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> stopEvent: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">true</span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // 允许点击组件交互,阻止地图点击事件</span></span>
|
|
26
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }</span></span>
|
|
27
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">);</span></span>
|
|
28
|
+
<span class="line"></span>
|
|
29
|
+
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// 2. 批量控制显示隐藏</span></span>
|
|
30
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">pointsController.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">setVisible</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">false</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">);</span></span>
|
|
31
|
+
<span class="line"></span>
|
|
32
|
+
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// 3. 根据属性控制特定点位</span></span>
|
|
33
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">pointsController.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">setOneVisibleByProp</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'status'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'warning'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">true</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">);</span></span>
|
|
34
|
+
<span class="line"></span>
|
|
35
|
+
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// 4. 获取单个实例进行精细控制</span></span>
|
|
36
|
+
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> instances</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> pointsController.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">getPoints</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">();</span></span>
|
|
37
|
+
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">if</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> (instances.</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">length</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> ></span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> 0</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) {</span></span>
|
|
38
|
+
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> firstPoint</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> instances[</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">0</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">];</span></span>
|
|
39
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> </span></span>
|
|
40
|
+
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // 更新位置</span></span>
|
|
41
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> firstPoint.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">updatePosition</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">120.15</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">30.25</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">);</span></span>
|
|
42
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> </span></span>
|
|
43
|
+
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // 更新 Props</span></span>
|
|
44
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> firstPoint.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">updateProps</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">({</span></span>
|
|
45
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> pointData: { </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">...</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">pointData[</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">0</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">], title: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'更新后的标题'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }</span></span>
|
|
46
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> });</span></span>
|
|
47
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> </span></span>
|
|
48
|
+
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;"> // 添加样式类</span></span>
|
|
49
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> firstPoint.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">addClass</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'highlight-point'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">);</span></span>
|
|
50
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span>
|
|
51
|
+
<span class="line"></span>
|
|
52
|
+
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// 5. 移除这组点位</span></span>
|
|
53
|
+
<span class="line"><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">// pointsController.remove();</span></span></code></pre></div><h3 id="vue-组件编写规范-mypopup-vue" tabindex="-1">Vue 组件编写规范 (MyPopup.vue) <a class="header-anchor" href="#vue-组件编写规范-mypopup-vue" aria-label="Permalink to "Vue 组件编写规范 (MyPopup.vue)""></a></h3><p>组件会接收 <code>pointData</code> 作为 props,内容为传入 <code>pointDataList</code> 中的对应数据项。</p><div class="language-vue vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">vue</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">template</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">></span></span>
|
|
54
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> <</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">div</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> class</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"popup"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> :</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">class</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">pointData.status</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">></span></span>
|
|
55
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> <</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">h3</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">>{{ pointData.title }}</</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">h3</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">></span></span>
|
|
56
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> <</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">p</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">>状态: {{ pointData.status }}</</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">p</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">></span></span>
|
|
57
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> <</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">button</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> @</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">click</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">=</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">handleClick</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">"</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">>详情</</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">button</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">></span></span>
|
|
58
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> </</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">div</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">></span></span>
|
|
59
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"></</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">template</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">></span></span>
|
|
60
|
+
<span class="line"></span>
|
|
61
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">script</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> setup</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">></span></span>
|
|
62
|
+
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">import</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> { defineProps } </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">from</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> 'vue'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
|
|
63
|
+
<span class="line"></span>
|
|
64
|
+
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> props</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> defineProps</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">({</span></span>
|
|
65
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> pointData: {</span></span>
|
|
66
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> type: Object,</span></span>
|
|
67
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> required: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">true</span></span>
|
|
68
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> }</span></span>
|
|
69
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">});</span></span>
|
|
70
|
+
<span class="line"></span>
|
|
71
|
+
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">const</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> handleClick</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;"> =</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> () </span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=></span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
|
|
72
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> console.</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">log</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">'Clicked point:'</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, props.pointData.title);</span></span>
|
|
73
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">};</span></span>
|
|
74
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"></</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">script</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">></span></span>
|
|
75
|
+
<span class="line"></span>
|
|
76
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"><</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">style</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> scoped</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">></span></span>
|
|
77
|
+
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">.popup</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
|
|
78
|
+
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> background</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">white</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
|
|
79
|
+
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> padding</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">10</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">px</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
|
|
80
|
+
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> border-radius</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">4</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">px</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
|
|
81
|
+
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> box-shadow</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">0</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> 2</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">px</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> 10</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">px</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> rgba</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">0</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">0</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">0</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">,</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">0.2</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">);</span></span>
|
|
82
|
+
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> min-width</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">150</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">px</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
|
|
83
|
+
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> transform</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">translate</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">-50</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">%</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">-100</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">%</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">); </span><span style="--shiki-light:#6A737D;--shiki-dark:#6A737D;">/* 配合 bottom-center 定位 */</span></span>
|
|
84
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span>
|
|
85
|
+
<span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">.popup.warning</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"> {</span></span>
|
|
86
|
+
<span class="line"><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> border</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">2</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">px</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> solid</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> orange</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">;</span></span>
|
|
87
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">}</span></span>
|
|
88
|
+
<span class="line"><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"></</span><span style="--shiki-light:#22863A;--shiki-dark:#85E89D;">style</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">></span></span></code></pre></div>`,38)]))}const o=i(l,[["render",e]]);export{g as __pageData,o as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{_ as i,c as t,ae as a,o as n}from"./chunks/framework.C_W0ODpn.js";const g=JSON.parse('{"title":"VueTemplatePoint Vue 组件点位类","description":"","frontmatter":{},"headers":[],"relativePath":"VueTemplatePoint.md","filePath":"VueTemplatePoint.md"}'),l={name:"VueTemplatePoint.md"};function e(p,s,h,k,d,E){return n(),t("div",null,s[0]||(s[0]=[a("",38)]))}const o=i(l,[["render",e]]);export{g as __pageData,o as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{t as p}from"./chunks/theme.Bf87fILP.js";import{R as s,a0 as i,a1 as u,a2 as c,a3 as l,a4 as f,a5 as d,a6 as m,a7 as h,a8 as g,a9 as A,d as v,u as y,v as C,s as P,aa as b,ab as w,ac as R,ad as E}from"./chunks/framework.C_W0ODpn.js";function r(e){if(e.extends){const a=r(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const n=r(p),S=v({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=y();return C(()=>{P(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&b(),w(),R(),n.setup&&n.setup(),()=>E(n.Layout)}});async function T(){globalThis.__VITEPRESS__=!0;const e=_(),a=D();a.provide(u,e);const t=c(e.route);return a.provide(l,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),n.enhanceApp&&await n.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function D(){return h(S)}function _(){let e=s;return g(a=>{let t=A(a),o=null;return t&&(e&&(t=t.replace(/\.js$/,".lean.js")),o=import(t)),s&&(e=!1),o},n.NotFound)}s&&T().then(({app:e,router:a,data:t})=>{a.go().then(()=>{i(a.route,t.site),e.mount("#app")})});export{T as createApp};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @vue/shared v3.5.13
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**//*! #__NO_SIDE_EFFECTS__ */function Os(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ne={},At=[],ke=()=>{},Ro=()=>!1,Qt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ms=e=>e.startsWith("onUpdate:"),ae=Object.assign,Is=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Oo=Object.prototype.hasOwnProperty,Q=(e,t)=>Oo.call(e,t),B=Array.isArray,Rt=e=>Rn(e)==="[object Map]",qr=e=>Rn(e)==="[object Set]",G=e=>typeof e=="function",oe=e=>typeof e=="string",Ye=e=>typeof e=="symbol",se=e=>e!==null&&typeof e=="object",Gr=e=>(se(e)||G(e))&&G(e.then)&&G(e.catch),Xr=Object.prototype.toString,Rn=e=>Xr.call(e),Mo=e=>Rn(e).slice(8,-1),Yr=e=>Rn(e)==="[object Object]",Ps=e=>oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ot=Os(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),On=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Io=/-(\w)/g,Ne=On(e=>e.replace(Io,(t,n)=>n?n.toUpperCase():"")),Po=/\B([A-Z])/g,rt=On(e=>e.replace(Po,"-$1").toLowerCase()),Mn=On(e=>e.charAt(0).toUpperCase()+e.slice(1)),mn=On(e=>e?`on${Mn(e)}`:""),nt=(e,t)=>!Object.is(e,t),qn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},zr=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Lo=e=>{const t=parseFloat(e);return isNaN(t)?e:t},No=e=>{const t=oe(e)?Number(e):NaN;return isNaN(t)?e:t};let er;const In=()=>er||(er=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ls(e){if(B(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=oe(s)?$o(s):Ls(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(oe(e)||se(e))return e}const Fo=/;(?![^(]*\))/g,Ho=/:([^]+)/,Do=/\/\*[^]*?\*\//g;function $o(e){const t={};return e.replace(Do,"").split(Fo).forEach(n=>{if(n){const s=n.split(Ho);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ns(e){let t="";if(oe(e))t=e;else if(B(e))for(let n=0;n<e.length;n++){const s=Ns(e[n]);s&&(t+=s+" ")}else if(se(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const jo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Vo=Os(jo);function Jr(e){return!!e||e===""}const Qr=e=>!!(e&&e.__v_isRef===!0),Wo=e=>oe(e)?e:e==null?"":B(e)||se(e)&&(e.toString===Xr||!G(e.toString))?Qr(e)?Wo(e.value):JSON.stringify(e,Zr,2):String(e),Zr=(e,t)=>Qr(t)?Zr(e,t.value):Rt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[Gn(s,i)+" =>"]=r,n),{})}:qr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Gn(n))}:Ye(t)?Gn(t):se(t)&&!B(t)&&!Yr(t)?String(t):t,Gn=(e,t="")=>{var n;return Ye(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
6
|
+
* @vue/reactivity v3.5.13
|
|
7
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
+
* @license MIT
|
|
9
|
+
**/let _e;class ko{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=_e,!t&&_e&&(this.index=(_e.scopes||(_e.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[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)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=_e;try{return _e=this,t()}finally{_e=n}}}on(){_e=this}off(){_e=this.parent}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){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[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 ei(){return _e}function Uo(e,t=!1){_e&&_e.cleanups.push(e)}let te;const Xn=new WeakSet;class ti{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,_e&&_e.active&&_e.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Xn.has(this)&&(Xn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||si(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,tr(this),ri(this);const t=te,n=He;te=this,He=!0;try{return this.fn()}finally{ii(this),te=t,He=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Ds(t);this.deps=this.depsTail=void 0,tr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Xn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){gs(this)&&this.run()}get dirty(){return gs(this)}}let ni=0,$t,jt;function si(e,t=!1){if(e.flags|=8,t){e.next=jt,jt=e;return}e.next=$t,$t=e}function Fs(){ni++}function Hs(){if(--ni>0)return;if(jt){let t=jt;for(jt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;$t;){let t=$t;for($t=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 ri(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ii(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Ds(s),Bo(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function gs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(oi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function oi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ut))return;e.globalVersion=Ut;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!gs(e)){e.flags&=-3;return}const n=te,s=He;te=e,He=!0;try{ri(e);const r=e.fn(e._value);(t.version===0||nt(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{te=n,He=s,ii(e),e.flags&=-3}}function Ds(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)Ds(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Bo(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let He=!0;const li=[];function it(){li.push(He),He=!1}function ot(){const e=li.pop();He=e===void 0?!0:e}function tr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=te;te=void 0;try{t()}finally{te=n}}}let Ut=0;class Ko{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 Pn{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}track(t){if(!te||!He||te===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==te)n=this.activeLink=new Ko(te,this),te.deps?(n.prevDep=te.depsTail,te.depsTail.nextDep=n,te.depsTail=n):te.deps=te.depsTail=n,ci(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=te.depsTail,n.nextDep=void 0,te.depsTail.nextDep=n,te.depsTail=n,te.deps===n&&(te.deps=s)}return n}trigger(t){this.version++,Ut++,this.notify(t)}notify(t){Fs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Hs()}}}function ci(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)ci(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const wn=new WeakMap,ht=Symbol(""),ms=Symbol(""),Bt=Symbol("");function me(e,t,n){if(He&&te){let s=wn.get(e);s||wn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Pn),r.map=s,r.key=n),r.track()}}function qe(e,t,n,s,r,i){const o=wn.get(e);if(!o){Ut++;return}const l=c=>{c&&c.trigger()};if(Fs(),t==="clear")o.forEach(l);else{const c=B(e),f=c&&Ps(n);if(c&&n==="length"){const a=Number(s);o.forEach((h,v)=>{(v==="length"||v===Bt||!Ye(v)&&v>=a)&&l(h)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),f&&l(o.get(Bt)),t){case"add":c?f&&l(o.get("length")):(l(o.get(ht)),Rt(e)&&l(o.get(ms)));break;case"delete":c||(l(o.get(ht)),Rt(e)&&l(o.get(ms)));break;case"set":Rt(e)&&l(o.get(ht));break}}Hs()}function qo(e,t){const n=wn.get(e);return n&&n.get(t)}function Tt(e){const t=J(e);return t===e?t:(me(t,"iterate",Bt),Ie(e)?t:t.map(ve))}function Ln(e){return me(e=J(e),"iterate",Bt),e}const Go={__proto__:null,[Symbol.iterator](){return Yn(this,Symbol.iterator,ve)},concat(...e){return Tt(this).concat(...e.map(t=>B(t)?Tt(t):t))},entries(){return Yn(this,"entries",e=>(e[1]=ve(e[1]),e))},every(e,t){return Ue(this,"every",e,t,void 0,arguments)},filter(e,t){return Ue(this,"filter",e,t,n=>n.map(ve),arguments)},find(e,t){return Ue(this,"find",e,t,ve,arguments)},findIndex(e,t){return Ue(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ue(this,"findLast",e,t,ve,arguments)},findLastIndex(e,t){return Ue(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ue(this,"forEach",e,t,void 0,arguments)},includes(...e){return zn(this,"includes",e)},indexOf(...e){return zn(this,"indexOf",e)},join(e){return Tt(this).join(e)},lastIndexOf(...e){return zn(this,"lastIndexOf",e)},map(e,t){return Ue(this,"map",e,t,void 0,arguments)},pop(){return Ft(this,"pop")},push(...e){return Ft(this,"push",e)},reduce(e,...t){return nr(this,"reduce",e,t)},reduceRight(e,...t){return nr(this,"reduceRight",e,t)},shift(){return Ft(this,"shift")},some(e,t){return Ue(this,"some",e,t,void 0,arguments)},splice(...e){return Ft(this,"splice",e)},toReversed(){return Tt(this).toReversed()},toSorted(e){return Tt(this).toSorted(e)},toSpliced(...e){return Tt(this).toSpliced(...e)},unshift(...e){return Ft(this,"unshift",e)},values(){return Yn(this,"values",ve)}};function Yn(e,t,n){const s=Ln(e),r=s[t]();return s!==e&&!Ie(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.value&&(i.value=n(i.value)),i}),r}const Xo=Array.prototype;function Ue(e,t,n,s,r,i){const o=Ln(e),l=o!==e&&!Ie(e),c=o[t];if(c!==Xo[t]){const h=c.apply(e,i);return l?ve(h):h}let f=n;o!==e&&(l?f=function(h,v){return n.call(this,ve(h),v,e)}:n.length>2&&(f=function(h,v){return n.call(this,h,v,e)}));const a=c.call(o,f,s);return l&&r?r(a):a}function nr(e,t,n,s){const r=Ln(e);let i=n;return r!==e&&(Ie(e)?n.length>3&&(i=function(o,l,c){return n.call(this,o,l,c,e)}):i=function(o,l,c){return n.call(this,o,ve(l),c,e)}),r[t](i,...s)}function zn(e,t,n){const s=J(e);me(s,"iterate",Bt);const r=s[t](...n);return(r===-1||r===!1)&&Vs(n[0])?(n[0]=J(n[0]),s[t](...n)):r}function Ft(e,t,n=[]){it(),Fs();const s=J(e)[t].apply(e,n);return Hs(),ot(),s}const Yo=Os("__proto__,__v_isRef,__isVue"),ai=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ye));function zo(e){Ye(e)||(e=String(e));const t=J(this);return me(t,"has",e),t.hasOwnProperty(e)}class fi{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?ol:pi:i?hi:di).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=B(t);if(!r){let c;if(o&&(c=Go[n]))return c;if(n==="hasOwnProperty")return zo}const l=Reflect.get(t,n,fe(t)?t:s);return(Ye(n)?ai.has(n):Yo(n))||(r||me(t,"get",n),i)?l:fe(l)?o&&Ps(n)?l:l.value:se(l)?r?Nn(l):It(l):l}}class ui extends fi{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];if(!this._isShallow){const c=wt(i);if(!Ie(s)&&!wt(s)&&(i=J(i),s=J(s)),!B(t)&&fe(i)&&!fe(s))return c?!1:(i.value=s,!0)}const o=B(t)&&Ps(n)?Number(n)<t.length:Q(t,n),l=Reflect.set(t,n,s,fe(t)?t:r);return t===J(r)&&(o?nt(s,i)&&qe(t,"set",n,s):qe(t,"add",n,s)),l}deleteProperty(t,n){const s=Q(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&qe(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!Ye(n)||!ai.has(n))&&me(t,"has",n),s}ownKeys(t){return me(t,"iterate",B(t)?"length":ht),Reflect.ownKeys(t)}}class Jo extends fi{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Qo=new ui,Zo=new Jo,el=new ui(!0);const vs=e=>e,rn=e=>Reflect.getPrototypeOf(e);function tl(e,t,n){return function(...s){const r=this.__v_raw,i=J(r),o=Rt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,f=r[e](...s),a=n?vs:t?ys:ve;return!t&&me(i,"iterate",c?ms:ht),{next(){const{value:h,done:v}=f.next();return v?{value:h,done:v}:{value:l?[a(h[0]),a(h[1])]:a(h),done:v}},[Symbol.iterator](){return this}}}}function on(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function nl(e,t){const n={get(r){const i=this.__v_raw,o=J(i),l=J(r);e||(nt(r,l)&&me(o,"get",r),me(o,"get",l));const{has:c}=rn(o),f=t?vs:e?ys:ve;if(c.call(o,r))return f(i.get(r));if(c.call(o,l))return f(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&me(J(r),"iterate",ht),Reflect.get(r,"size",r)},has(r){const i=this.__v_raw,o=J(i),l=J(r);return e||(nt(r,l)&&me(o,"has",r),me(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=J(l),f=t?vs:e?ys:ve;return!e&&me(c,"iterate",ht),l.forEach((a,h)=>r.call(i,f(a),f(h),o))}};return ae(n,e?{add:on("add"),set:on("set"),delete:on("delete"),clear:on("clear")}:{add(r){!t&&!Ie(r)&&!wt(r)&&(r=J(r));const i=J(this);return rn(i).has.call(i,r)||(i.add(r),qe(i,"add",r,r)),this},set(r,i){!t&&!Ie(i)&&!wt(i)&&(i=J(i));const o=J(this),{has:l,get:c}=rn(o);let f=l.call(o,r);f||(r=J(r),f=l.call(o,r));const a=c.call(o,r);return o.set(r,i),f?nt(i,a)&&qe(o,"set",r,i):qe(o,"add",r,i),this},delete(r){const i=J(this),{has:o,get:l}=rn(i);let c=o.call(i,r);c||(r=J(r),c=o.call(i,r)),l&&l.call(i,r);const f=i.delete(r);return c&&qe(i,"delete",r,void 0),f},clear(){const r=J(this),i=r.size!==0,o=r.clear();return i&&qe(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=tl(r,e,t)}),n}function $s(e,t){const n=nl(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(Q(n,r)&&r in s?n:s,r,i)}const sl={get:$s(!1,!1)},rl={get:$s(!1,!0)},il={get:$s(!0,!1)};const di=new WeakMap,hi=new WeakMap,pi=new WeakMap,ol=new WeakMap;function ll(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function cl(e){return e.__v_skip||!Object.isExtensible(e)?0:ll(Mo(e))}function It(e){return wt(e)?e:js(e,!1,Qo,sl,di)}function al(e){return js(e,!1,el,rl,hi)}function Nn(e){return js(e,!0,Zo,il,pi)}function js(e,t,n,s,r){if(!se(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=cl(e);if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function pt(e){return wt(e)?pt(e.__v_raw):!!(e&&e.__v_isReactive)}function wt(e){return!!(e&&e.__v_isReadonly)}function Ie(e){return!!(e&&e.__v_isShallow)}function Vs(e){return e?!!e.__v_raw:!1}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function vn(e){return!Q(e,"__v_skip")&&Object.isExtensible(e)&&zr(e,"__v_skip",!0),e}const ve=e=>se(e)?It(e):e,ys=e=>se(e)?Nn(e):e;function fe(e){return e?e.__v_isRef===!0:!1}function gt(e){return gi(e,!1)}function Pe(e){return gi(e,!0)}function gi(e,t){return fe(e)?e:new fl(e,t)}class fl{constructor(t,n){this.dep=new Pn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:J(t),this._value=n?t:ve(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ie(t)||wt(t);t=s?t:J(t),nt(t,n)&&(this._rawValue=t,this._value=s?t:ve(t),this.dep.trigger())}}function Ws(e){return fe(e)?e.value:e}function le(e){return G(e)?e():Ws(e)}const ul={get:(e,t,n)=>t==="__v_raw"?e:Ws(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return fe(r)&&!fe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function mi(e){return pt(e)?e:new Proxy(e,ul)}class dl{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Pn,{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 hl(e){return new dl(e)}class pl{constructor(t,n,s){this._object=t,this._key=n,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return qo(J(this._object),this._key)}}class gl{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 ml(e,t,n){return fe(e)?e:G(e)?new gl(e):se(e)&&arguments.length>1?vl(e,t,n):gt(e)}function vl(e,t,n){const s=e[t];return fe(s)?s:new pl(e,t,n)}class yl{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Pn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ut-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&te!==this)return si(this,!0),!0}get value(){const t=this.dep.track();return oi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function bl(e,t,n=!1){let s,r;return G(e)?s=e:(s=e.get,r=e.set),new yl(s,r,n)}const ln={},Sn=new WeakMap;let ut;function _l(e,t=!1,n=ut){if(n){let s=Sn.get(n);s||Sn.set(n,s=[]),s.push(e)}}function wl(e,t,n=ne){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,f=g=>r?g:Ie(g)||r===!1||r===0?tt(g,1):tt(g);let a,h,v,y,A=!1,P=!1;if(fe(e)?(h=()=>e.value,A=Ie(e)):pt(e)?(h=()=>f(e),A=!0):B(e)?(P=!0,A=e.some(g=>pt(g)||Ie(g)),h=()=>e.map(g=>{if(fe(g))return g.value;if(pt(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){it();try{v()}finally{ot()}}const g=ut;ut=a;try{return c?c(e,3,[y]):e(y)}finally{ut=g}}:h=ke,t&&r){const g=h,M=r===!0?1/0:r;h=()=>tt(g(),M)}const K=ei(),H=()=>{a.stop(),K&&K.active&&Is(K.effects,a)};if(i&&t){const g=t;t=(...M)=>{g(...M),H()}}let W=P?new Array(e.length).fill(ln):ln;const p=g=>{if(!(!(a.flags&1)||!a.dirty&&!g))if(t){const M=a.run();if(r||A||(P?M.some((V,R)=>nt(V,W[R])):nt(M,W))){v&&v();const V=ut;ut=a;try{const R=[M,W===ln?void 0:P&&W[0]===ln?[]:W,y];c?c(t,3,R):t(...R),W=M}finally{ut=V}}}else a.run()};return l&&l(p),a=new ti(h),a.scheduler=o?()=>o(p,!1):p,y=g=>_l(g,!1,a),v=a.onStop=()=>{const g=Sn.get(a);if(g){if(c)c(g,4);else for(const M of g)M();Sn.delete(a)}},t?s?p(!0):W=a.run():o?o(p.bind(null,!0),!0):a.run(),H.pause=a.pause.bind(a),H.resume=a.resume.bind(a),H.stop=H,H}function tt(e,t=1/0,n){if(t<=0||!se(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,fe(e))tt(e.value,t,n);else if(B(e))for(let s=0;s<e.length;s++)tt(e[s],t,n);else if(qr(e)||Rt(e))e.forEach(s=>{tt(s,t,n)});else if(Yr(e)){for(const s in e)tt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&tt(e[s],t,n)}return e}/**
|
|
10
|
+
* @vue/runtime-core v3.5.13
|
|
11
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
+
* @license MIT
|
|
13
|
+
**/function Zt(e,t,n,s){try{return s?e(...s):e()}catch(r){Fn(r,t,n)}}function De(e,t,n,s){if(G(e)){const r=Zt(e,t,n,s);return r&&Gr(r)&&r.catch(i=>{Fn(i,t,n)}),r}if(B(e)){const r=[];for(let i=0;i<e.length;i++)r.push(De(e[i],t,n,s));return r}}function Fn(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||ne;if(t){let l=t.parent;const c=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const a=l.ec;if(a){for(let h=0;h<a.length;h++)if(a[h](e,c,f)===!1)return}l=l.parent}if(i){it(),Zt(i,null,10,[e,c,f]),ot();return}}Sl(e,n,r,s,o)}function Sl(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const we=[];let Ve=-1;const Mt=[];let Qe=null,Ct=0;const vi=Promise.resolve();let xn=null;function Hn(e){const t=xn||vi;return e?t.then(this?e.bind(this):e):t}function xl(e){let t=Ve+1,n=we.length;for(;t<n;){const s=t+n>>>1,r=we[s],i=Kt(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function ks(e){if(!(e.flags&1)){const t=Kt(e),n=we[we.length-1];!n||!(e.flags&2)&&t>=Kt(n)?we.push(e):we.splice(xl(t),0,e),e.flags|=1,yi()}}function yi(){xn||(xn=vi.then(bi))}function Tl(e){B(e)?Mt.push(...e):Qe&&e.id===-1?Qe.splice(Ct+1,0,e):e.flags&1||(Mt.push(e),e.flags|=1),yi()}function sr(e,t,n=Ve+1){for(;n<we.length;n++){const s=we[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;we.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Tn(e){if(Mt.length){const t=[...new Set(Mt)].sort((n,s)=>Kt(n)-Kt(s));if(Mt.length=0,Qe){Qe.push(...t);return}for(Qe=t,Ct=0;Ct<Qe.length;Ct++){const n=Qe[Ct];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Qe=null,Ct=0}}const Kt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function bi(e){try{for(Ve=0;Ve<we.length;Ve++){const t=we[Ve];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Zt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ve<we.length;Ve++){const t=we[Ve];t&&(t.flags&=-2)}Ve=-1,we.length=0,Tn(),xn=null,(we.length||Mt.length)&&bi()}}let de=null,_i=null;function En(e){const t=de;return de=e,_i=e&&e.type.__scopeId||null,t}function El(e,t=de,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&gr(-1);const i=En(t);let o;try{o=e(...r)}finally{En(i),s._d&&gr(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function We(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let c=l.dir[s];c&&(it(),De(c,n,8,[e.el,l,e,t]),ot())}}const Cl=Symbol("_vte"),wi=e=>e.__isTeleport,Ze=Symbol("_leaveCb"),cn=Symbol("_enterCb");function Al(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Pt(()=>{e.isMounted=!0}),Mi(()=>{e.isUnmounting=!0}),e}const Re=[Function,Array],Si={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Re,onEnter:Re,onAfterEnter:Re,onEnterCancelled:Re,onBeforeLeave:Re,onLeave:Re,onAfterLeave:Re,onLeaveCancelled:Re,onBeforeAppear:Re,onAppear:Re,onAfterAppear:Re,onAppearCancelled:Re},xi=e=>{const t=e.subTree;return t.component?xi(t.component):t},Rl={name:"BaseTransition",props:Si,setup(e,{slots:t}){const n=en(),s=Al();return()=>{const r=t.default&&Ci(t.default(),!0);if(!r||!r.length)return;const i=Ti(r),o=J(e),{mode:l}=o;if(s.isLeaving)return Jn(i);const c=rr(i);if(!c)return Jn(i);let f=bs(c,o,s,n,h=>f=h);c.type!==ye&&qt(c,f);let a=n.subTree&&rr(n.subTree);if(a&&a.type!==ye&&!dt(c,a)&&xi(n).type!==ye){let h=bs(a,o,s,n);if(qt(a,h),l==="out-in"&&c.type!==ye)return s.isLeaving=!0,h.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete h.afterLeave,a=void 0},Jn(i);l==="in-out"&&c.type!==ye?h.delayLeave=(v,y,A)=>{const P=Ei(s,a);P[String(a.key)]=a,v[Ze]=()=>{y(),v[Ze]=void 0,delete f.delayedLeave,a=void 0},f.delayedLeave=()=>{A(),delete f.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return i}}};function Ti(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==ye){t=n;break}}return t}const Ol=Rl;function Ei(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 bs(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:a,onEnterCancelled:h,onBeforeLeave:v,onLeave:y,onAfterLeave:A,onLeaveCancelled:P,onBeforeAppear:K,onAppear:H,onAfterAppear:W,onAppearCancelled:p}=t,g=String(e.key),M=Ei(n,e),V=(T,I)=>{T&&De(T,s,9,I)},R=(T,I)=>{const E=I[1];V(T,I),B(T)?T.every(b=>b.length<=1)&&E():T.length<=1&&E()},k={mode:o,persisted:l,beforeEnter(T){let I=c;if(!n.isMounted)if(i)I=K||c;else return;T[Ze]&&T[Ze](!0);const E=M[g];E&&dt(e,E)&&E.el[Ze]&&E.el[Ze](),V(I,[T])},enter(T){let I=f,E=a,b=h;if(!n.isMounted)if(i)I=H||f,E=W||a,b=p||h;else return;let N=!1;const Y=T[cn]=re=>{N||(N=!0,re?V(b,[T]):V(E,[T]),k.delayedLeave&&k.delayedLeave(),T[cn]=void 0)};I?R(I,[T,Y]):Y()},leave(T,I){const E=String(e.key);if(T[cn]&&T[cn](!0),n.isUnmounting)return I();V(v,[T]);let b=!1;const N=T[Ze]=Y=>{b||(b=!0,I(),Y?V(P,[T]):V(A,[T]),T[Ze]=void 0,M[E]===e&&delete M[E])};M[E]=e,y?R(y,[T,N]):N()},clone(T){const I=bs(T,t,n,s,r);return r&&r(I),I}};return k}function Jn(e){if(Dn(e))return e=st(e),e.children=null,e}function rr(e){if(!Dn(e))return wi(e.type)&&e.children?Ti(e.children):e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&G(n.default))return n.default()}}function qt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,qt(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Ci(e,t=!1,n){let s=[],r=0;for(let i=0;i<e.length;i++){let o=e[i];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===Se?(o.patchFlag&128&&r++,s=s.concat(Ci(o.children,t,l))):(t||o.type!==ye)&&s.push(l!=null?st(o,{key:l}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}/*! #__NO_SIDE_EFFECTS__ */function Ai(e,t){return G(e)?ae({name:e.name},t,{setup:e}):e}function Ri(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Gt(e,t,n,s,r=!1){if(B(e)){e.forEach((A,P)=>Gt(A,t&&(B(t)?t[P]:t),n,s,r));return}if(mt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Gt(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?qs(s.component):s.el,o=r?null:i,{i:l,r:c}=e,f=t&&t.r,a=l.refs===ne?l.refs={}:l.refs,h=l.setupState,v=J(h),y=h===ne?()=>!1:A=>Q(v,A);if(f!=null&&f!==c&&(oe(f)?(a[f]=null,y(f)&&(h[f]=null)):fe(f)&&(f.value=null)),G(c))Zt(c,l,12,[o,a]);else{const A=oe(c),P=fe(c);if(A||P){const K=()=>{if(e.f){const H=A?y(c)?h[c]:a[c]:c.value;r?B(H)&&Is(H,i):B(H)?H.includes(i)||H.push(i):A?(a[c]=[i],y(c)&&(h[c]=a[c])):(c.value=[i],e.k&&(a[e.k]=c.value))}else A?(a[c]=o,y(c)&&(h[c]=o)):P&&(c.value=o,e.k&&(a[e.k]=o))};o?(K.id=-1,Ce(K,n)):K()}}}let ir=!1;const Et=()=>{ir||(console.error("Hydration completed but contains mismatches."),ir=!0)},Ml=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Il=e=>e.namespaceURI.includes("MathML"),an=e=>{if(e.nodeType===1){if(Ml(e))return"svg";if(Il(e))return"mathml"}},fn=e=>e.nodeType===8;function Pl(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:l,insert:c,createComment:f}}=e,a=(p,g)=>{if(!g.hasChildNodes()){n(null,p,g),Tn(),g._vnode=p;return}h(g.firstChild,p,null,null,null),Tn(),g._vnode=p},h=(p,g,M,V,R,k=!1)=>{k=k||!!g.dynamicChildren;const T=fn(p)&&p.data==="[",I=()=>P(p,g,M,V,R,T),{type:E,ref:b,shapeFlag:N,patchFlag:Y}=g;let re=p.nodeType;g.el=p,Y===-2&&(k=!1,g.dynamicChildren=null);let $=null;switch(E){case bt:re!==3?g.children===""?(c(g.el=r(""),o(p),p),$=p):$=I():(p.data!==g.children&&(Et(),p.data=g.children),$=i(p));break;case ye:W(p)?($=i(p),H(g.el=p.content.firstChild,p,M)):re!==8||T?$=I():$=i(p);break;case Wt:if(T&&(p=i(p),re=p.nodeType),re===1||re===3){$=p;const X=!g.children.length;for(let D=0;D<g.staticCount;D++)X&&(g.children+=$.nodeType===1?$.outerHTML:$.data),D===g.staticCount-1&&(g.anchor=$),$=i($);return T?i($):$}else I();break;case Se:T?$=A(p,g,M,V,R,k):$=I();break;default:if(N&1)(re!==1||g.type.toLowerCase()!==p.tagName.toLowerCase())&&!W(p)?$=I():$=v(p,g,M,V,R,k);else if(N&6){g.slotScopeIds=R;const X=o(p);if(T?$=K(p):fn(p)&&p.data==="teleport start"?$=K(p,p.data,"teleport end"):$=i(p),t(g,X,null,M,V,an(X),k),mt(g)&&!g.type.__asyncResolved){let D;T?(D=he(Se),D.anchor=$?$.previousSibling:X.lastChild):D=p.nodeType===3?io(""):he("div"),D.el=p,g.component.subTree=D}}else N&64?re!==8?$=I():$=g.type.hydrate(p,g,M,V,R,k,e,y):N&128&&($=g.type.hydrate(p,g,M,V,an(o(p)),R,k,e,h))}return b!=null&&Gt(b,null,V,g),$},v=(p,g,M,V,R,k)=>{k=k||!!g.dynamicChildren;const{type:T,props:I,patchFlag:E,shapeFlag:b,dirs:N,transition:Y}=g,re=T==="input"||T==="option";if(re||E!==-1){N&&We(g,null,M,"created");let $=!1;if(W(p)){$=Gi(null,Y)&&M&&M.vnode.props&&M.vnode.props.appear;const D=p.content.firstChild;$&&Y.beforeEnter(D),H(D,p,M),g.el=p=D}if(b&16&&!(I&&(I.innerHTML||I.textContent))){let D=y(p.firstChild,g,p,M,V,R,k);for(;D;){un(p,1)||Et();const ce=D;D=D.nextSibling,l(ce)}}else if(b&8){let D=g.children;D[0]===`
|
|
14
|
+
`&&(p.tagName==="PRE"||p.tagName==="TEXTAREA")&&(D=D.slice(1)),p.textContent!==D&&(un(p,0)||Et(),p.textContent=g.children)}if(I){if(re||!k||E&48){const D=p.tagName.includes("-");for(const ce in I)(re&&(ce.endsWith("value")||ce==="indeterminate")||Qt(ce)&&!Ot(ce)||ce[0]==="."||D)&&s(p,ce,null,I[ce],void 0,M)}else if(I.onClick)s(p,"onClick",null,I.onClick,void 0,M);else if(E&4&&pt(I.style))for(const D in I.style)I.style[D]}let X;(X=I&&I.onVnodeBeforeMount)&&Oe(X,M,g),N&&We(g,null,M,"beforeMount"),((X=I&&I.onVnodeMounted)||N||$)&&to(()=>{X&&Oe(X,M,g),$&&Y.enter(p),N&&We(g,null,M,"mounted")},V)}return p.nextSibling},y=(p,g,M,V,R,k,T)=>{T=T||!!g.dynamicChildren;const I=g.children,E=I.length;for(let b=0;b<E;b++){const N=T?I[b]:I[b]=Me(I[b]),Y=N.type===bt;p?(Y&&!T&&b+1<E&&Me(I[b+1]).type===bt&&(c(r(p.data.slice(N.children.length)),M,i(p)),p.data=N.children),p=h(p,N,V,R,k,T)):Y&&!N.children?c(N.el=r(""),M):(un(M,1)||Et(),n(null,N,M,null,V,R,an(M),k))}return p},A=(p,g,M,V,R,k)=>{const{slotScopeIds:T}=g;T&&(R=R?R.concat(T):T);const I=o(p),E=y(i(p),g,I,M,V,R,k);return E&&fn(E)&&E.data==="]"?i(g.anchor=E):(Et(),c(g.anchor=f("]"),I,E),E)},P=(p,g,M,V,R,k)=>{if(un(p.parentElement,1)||Et(),g.el=null,k){const E=K(p);for(;;){const b=i(p);if(b&&b!==E)l(b);else break}}const T=i(p),I=o(p);return l(p),n(null,g,I,T,M,V,an(I),R),M&&(M.vnode.el=g.el,Zi(M,g.el)),T},K=(p,g="[",M="]")=>{let V=0;for(;p;)if(p=i(p),p&&fn(p)&&(p.data===g&&V++,p.data===M)){if(V===0)return i(p);V--}return p},H=(p,g,M)=>{const V=g.parentNode;V&&V.replaceChild(p,g);let R=M;for(;R;)R.vnode.el===g&&(R.vnode.el=R.subTree.el=p),R=R.parent},W=p=>p.nodeType===1&&p.tagName==="TEMPLATE";return[a,h]}const or="data-allow-mismatch",Ll={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function un(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(or);)e=e.parentElement;const n=e&&e.getAttribute(or);if(n==null)return!1;if(n==="")return!0;{const s=n.split(",");return t===0&&s.includes("children")?!0:n.split(",").includes(Ll[t])}}In().requestIdleCallback;In().cancelIdleCallback;const mt=e=>!!e.type.__asyncLoader,Dn=e=>e.type.__isKeepAlive;function Nl(e,t){Oi(e,"a",t)}function Fl(e,t){Oi(e,"da",t)}function Oi(e,t,n=ue){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if($n(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Dn(r.parent.vnode)&&Hl(s,t,n,r),r=r.parent}}function Hl(e,t,n,s){const r=$n(t,e,s,!0);jn(()=>{Is(s[t],r)},n)}function $n(e,t,n=ue,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{it();const l=tn(n),c=De(t,n,e,o);return l(),ot(),c});return s?r.unshift(i):r.push(i),i}}const ze=e=>(t,n=ue)=>{(!zt||e==="sp")&&$n(e,(...s)=>t(...s),n)},Dl=ze("bm"),Pt=ze("m"),$l=ze("bu"),jl=ze("u"),Mi=ze("bum"),jn=ze("um"),Vl=ze("sp"),Wl=ze("rtg"),kl=ze("rtc");function Ul(e,t=ue){$n("ec",e,t)}const Ii="components";function uf(e,t){return Li(Ii,e,!0,t)||e}const Pi=Symbol.for("v-ndc");function df(e){return oe(e)?Li(Ii,e,!1)||e:e||Pi}function Li(e,t,n=!0,s=!1){const r=de||ue;if(r){const i=r.type;{const l=Ac(i,!1);if(l&&(l===t||l===Ne(t)||l===Mn(Ne(t))))return i}const o=lr(r[e]||i[e],t)||lr(r.appContext[e],t);return!o&&s?i:o}}function lr(e,t){return e&&(e[t]||e[Ne(t)]||e[Mn(Ne(t))])}function hf(e,t,n,s){let r;const i=n,o=B(e);if(o||oe(e)){const l=o&&pt(e);let c=!1;l&&(c=!Ie(e),e=Ln(e)),r=new Array(e.length);for(let f=0,a=e.length;f<a;f++)r[f]=t(c?ve(e[f]):e[f],f,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(se(e))if(e[Symbol.iterator])r=Array.from(e,(l,c)=>t(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,f=l.length;c<f;c++){const a=l[c];r[c]=t(e[a],a,c,i)}}else r=[];return r}function pf(e,t,n={},s,r){if(de.ce||de.parent&&mt(de.parent)&&de.parent.ce)return t!=="default"&&(n.name=t),Ts(),Es(Se,null,[he("slot",n,s&&s())],64);let i=e[t];i&&i._c&&(i._d=!1),Ts();const o=i&&Ni(i(n)),l=n.key||o&&o.key,c=Es(Se,{key:(l&&!Ye(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||(s?s():[]),o&&e._===1?64:-2);return!r&&c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function Ni(e){return e.some(t=>Yt(t)?!(t.type===ye||t.type===Se&&!Ni(t.children)):!0)?e:null}function gf(e,t){const n={};for(const s in e)n[/[A-Z]/.test(s)?`on:${s}`:mn(s)]=e[s];return n}const _s=e=>e?oo(e)?qs(e):_s(e.parent):null,Vt=ae(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=>_s(e.parent),$root:e=>_s(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Us(e),$forceUpdate:e=>e.f||(e.f=()=>{ks(e.update)}),$nextTick:e=>e.n||(e.n=Hn.bind(e.proxy)),$watch:e=>uc.bind(e)}),Qn=(e,t)=>e!==ne&&!e.__isScriptSetup&&Q(e,t),Bl={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;let f;if(t[0]!=="$"){const y=o[t];if(y!==void 0)switch(y){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Qn(s,t))return o[t]=1,s[t];if(r!==ne&&Q(r,t))return o[t]=2,r[t];if((f=e.propsOptions[0])&&Q(f,t))return o[t]=3,i[t];if(n!==ne&&Q(n,t))return o[t]=4,n[t];ws&&(o[t]=0)}}const a=Vt[t];let h,v;if(a)return t==="$attrs"&&me(e.attrs,"get",""),a(e);if((h=l.__cssModules)&&(h=h[t]))return h;if(n!==ne&&Q(n,t))return o[t]=4,n[t];if(v=c.config.globalProperties,Q(v,t))return v[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Qn(r,t)?(r[t]=n,!0):s!==ne&&Q(s,t)?(s[t]=n,!0):Q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:i}},o){let l;return!!n[o]||e!==ne&&Q(e,o)||Qn(t,o)||(l=i[0])&&Q(l,o)||Q(s,o)||Q(Vt,o)||Q(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Q(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function mf(){return Kl().slots}function Kl(){const e=en();return e.setupContext||(e.setupContext=co(e))}function cr(e){return B(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let ws=!0;function ql(e){const t=Us(e),n=e.proxy,s=e.ctx;ws=!1,t.beforeCreate&&ar(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:f,created:a,beforeMount:h,mounted:v,beforeUpdate:y,updated:A,activated:P,deactivated:K,beforeDestroy:H,beforeUnmount:W,destroyed:p,unmounted:g,render:M,renderTracked:V,renderTriggered:R,errorCaptured:k,serverPrefetch:T,expose:I,inheritAttrs:E,components:b,directives:N,filters:Y}=t;if(f&&Gl(f,s,null),o)for(const X in o){const D=o[X];G(D)&&(s[X]=D.bind(n))}if(r){const X=r.call(n,n);se(X)&&(e.data=It(X))}if(ws=!0,i)for(const X in i){const D=i[X],ce=G(D)?D.bind(n,n):G(D.get)?D.get.bind(n,n):ke,nn=!G(D)&&G(D.set)?D.set.bind(n):ke,lt=ie({get:ce,set:nn});Object.defineProperty(s,X,{enumerable:!0,configurable:!0,get:()=>lt.value,set:$e=>lt.value=$e})}if(l)for(const X in l)Fi(l[X],s,n,X);if(c){const X=G(c)?c.call(n):c;Reflect.ownKeys(X).forEach(D=>{Zl(D,X[D])})}a&&ar(a,e,"c");function $(X,D){B(D)?D.forEach(ce=>X(ce.bind(n))):D&&X(D.bind(n))}if($(Dl,h),$(Pt,v),$($l,y),$(jl,A),$(Nl,P),$(Fl,K),$(Ul,k),$(kl,V),$(Wl,R),$(Mi,W),$(jn,g),$(Vl,T),B(I))if(I.length){const X=e.exposed||(e.exposed={});I.forEach(D=>{Object.defineProperty(X,D,{get:()=>n[D],set:ce=>n[D]=ce})})}else e.exposed||(e.exposed={});M&&e.render===ke&&(e.render=M),E!=null&&(e.inheritAttrs=E),b&&(e.components=b),N&&(e.directives=N),T&&Ri(e)}function Gl(e,t,n=ke){B(e)&&(e=Ss(e));for(const s in e){const r=e[s];let i;se(r)?"default"in r?i=yt(r.from||s,r.default,!0):i=yt(r.from||s):i=yt(r),fe(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function ar(e,t,n){De(B(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Fi(e,t,n,s){let r=s.includes(".")?Ji(n,s):()=>n[s];if(oe(e)){const i=t[e];G(i)&&Le(r,i)}else if(G(e))Le(r,e.bind(n));else if(se(e))if(B(e))e.forEach(i=>Fi(i,t,n,s));else{const i=G(e.handler)?e.handler.bind(n):t[e.handler];G(i)&&Le(r,i,e)}}function Us(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>Cn(c,f,o,!0)),Cn(c,t,o)),se(t)&&i.set(t,c),c}function Cn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Cn(e,i,n,!0),r&&r.forEach(o=>Cn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=Xl[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Xl={data:fr,props:ur,emits:ur,methods:Dt,computed:Dt,beforeCreate:be,created:be,beforeMount:be,mounted:be,beforeUpdate:be,updated:be,beforeDestroy:be,beforeUnmount:be,destroyed:be,unmounted:be,activated:be,deactivated:be,errorCaptured:be,serverPrefetch:be,components:Dt,directives:Dt,watch:zl,provide:fr,inject:Yl};function fr(e,t){return t?e?function(){return ae(G(e)?e.call(this,this):e,G(t)?t.call(this,this):t)}:t:e}function Yl(e,t){return Dt(Ss(e),Ss(t))}function Ss(e){if(B(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function be(e,t){return e?[...new Set([].concat(e,t))]:t}function Dt(e,t){return e?ae(Object.create(null),e,t):t}function ur(e,t){return e?B(e)&&B(t)?[...new Set([...e,...t])]:ae(Object.create(null),cr(e),cr(t??{})):t}function zl(e,t){if(!e)return t;if(!t)return e;const n=ae(Object.create(null),e);for(const s in t)n[s]=be(e[s],t[s]);return n}function Hi(){return{app:null,config:{isNativeTag:Ro,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 Jl=0;function Ql(e,t){return function(s,r=null){G(s)||(s=ae({},s)),r!=null&&!se(r)&&(r=null);const i=Hi(),o=new WeakSet,l=[];let c=!1;const f=i.app={_uid:Jl++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:Oc,get config(){return i.config},set config(a){},use(a,...h){return o.has(a)||(a&&G(a.install)?(o.add(a),a.install(f,...h)):G(a)&&(o.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||he(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,qs(y.component)}},onUnmount(a){l.push(a)},unmount(){c&&(De(l,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=vt;vt=f;try{return a()}finally{vt=h}}};return f}}let vt=null;function Zl(e,t){if(ue){let n=ue.provides;const s=ue.parent&&ue.parent.provides;s===n&&(n=ue.provides=Object.create(s)),n[e]=t}}function yt(e,t,n=!1){const s=ue||de;if(s||vt){const r=vt?vt._context.provides:s?s.parent==null?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 Di(){return!!(ue||de||vt)}const $i={},ji=()=>Object.create($i),Vi=e=>Object.getPrototypeOf(e)===$i;function ec(e,t,n,s=!1){const r={},i=ji();e.propsDefaults=Object.create(null),Wi(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:al(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:o}}=e,l=J(r),[c]=e.propsOptions;let f=!1;if((s||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let h=0;h<a.length;h++){let v=a[h];if(Wn(e.emitsOptions,v))continue;const y=t[v];if(c)if(Q(i,v))y!==i[v]&&(i[v]=y,f=!0);else{const A=Ne(v);r[A]=xs(c,l,A,y,e,!1)}else y!==i[v]&&(i[v]=y,f=!0)}}}else{Wi(e,t,r,i)&&(f=!0);let a;for(const h in l)(!t||!Q(t,h)&&((a=rt(h))===h||!Q(t,a)))&&(c?n&&(n[h]!==void 0||n[a]!==void 0)&&(r[h]=xs(c,l,h,void 0,e,!0)):delete r[h]);if(i!==l)for(const h in i)(!t||!Q(t,h))&&(delete i[h],f=!0)}f&&qe(e.attrs,"set","")}function Wi(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(Ot(c))continue;const f=t[c];let a;r&&Q(r,a=Ne(c))?!i||!i.includes(a)?n[a]=f:(l||(l={}))[a]=f:Wn(e.emitsOptions,c)||(!(c in s)||f!==s[c])&&(s[c]=f,o=!0)}if(i){const c=J(n),f=l||ne;for(let a=0;a<i.length;a++){const h=i[a];n[h]=xs(r,c,h,f[h],e,!Q(f,h))}}return o}function xs(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=Q(o,"default");if(l&&s===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&G(c)){const{propsDefaults:f}=r;if(n in f)s=f[n];else{const a=tn(r);s=f[n]=c.call(null,t),a()}}else s=c;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===rt(n))&&(s=!0))}return s}const nc=new WeakMap;function ki(e,t,n=!1){const s=n?nc:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let c=!1;if(!G(e)){const a=h=>{c=!0;const[v,y]=ki(h,t,!0);ae(o,v),y&&l.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 se(e)&&s.set(e,At),At;if(B(i))for(let a=0;a<i.length;a++){const h=Ne(i[a]);dr(h)&&(o[h]=ne)}else if(i)for(const a in i){const h=Ne(a);if(dr(h)){const v=i[a],y=o[h]=B(v)||G(v)?{type:v}:ae({},v),A=y.type;let P=!1,K=!0;if(B(A))for(let H=0;H<A.length;++H){const W=A[H],p=G(W)&&W.name;if(p==="Boolean"){P=!0;break}else p==="String"&&(K=!1)}else P=G(A)&&A.name==="Boolean";y[0]=P,y[1]=K,(P||Q(y,"default"))&&l.push(h)}}const f=[o,l];return se(e)&&s.set(e,f),f}function dr(e){return e[0]!=="$"&&!Ot(e)}const Ui=e=>e[0]==="_"||e==="$stable",Bs=e=>B(e)?e.map(Me):[Me(e)],sc=(e,t,n)=>{if(t._n)return t;const s=El((...r)=>Bs(t(...r)),n);return s._c=!1,s},Bi=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Ui(r))continue;const i=e[r];if(G(i))t[r]=sc(r,i,s);else if(i!=null){const o=Bs(i);t[r]=()=>o}}},Ki=(e,t)=>{const n=Bs(t);e.slots.default=()=>n},qi=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},rc=(e,t,n)=>{const s=e.slots=ji();if(e.vnode.shapeFlag&32){const r=t._;r?(qi(s,t,n),n&&zr(s,"_",r,!0)):Bi(t,s)}else t&&Ki(e,t)},ic=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=ne;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:qi(r,t,n):(i=!t.$stable,Bi(t,r)),o=t}else t&&(Ki(e,t),o={default:1});if(i)for(const l in r)!Ui(l)&&o[l]==null&&delete r[l]},Ce=to;function oc(e){return lc(e,Pl)}function lc(e,t){const n=In();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:f,setElementText:a,parentNode:h,nextSibling:v,setScopeId:y=ke,insertStaticContent:A}=e,P=(u,d,m,S=null,_=null,w=null,L=void 0,O=null,C=!!d.dynamicChildren)=>{if(u===d)return;u&&!dt(u,d)&&(S=sn(u),$e(u,_,w,!0),u=null),d.patchFlag===-2&&(C=!1,d.dynamicChildren=null);const{type:x,ref:U,shapeFlag:F}=d;switch(x){case bt:K(u,d,m,S);break;case ye:H(u,d,m,S);break;case Wt:u==null&&W(d,m,S,L);break;case Se:b(u,d,m,S,_,w,L,O,C);break;default:F&1?M(u,d,m,S,_,w,L,O,C):F&6?N(u,d,m,S,_,w,L,O,C):(F&64||F&128)&&x.process(u,d,m,S,_,w,L,O,C,xt)}U!=null&&_&&Gt(U,u&&u.ref,w,d||u,!d)},K=(u,d,m,S)=>{if(u==null)s(d.el=l(d.children),m,S);else{const _=d.el=u.el;d.children!==u.children&&f(_,d.children)}},H=(u,d,m,S)=>{u==null?s(d.el=c(d.children||""),m,S):d.el=u.el},W=(u,d,m,S)=>{[u.el,u.anchor]=A(u.children,d,m,S,u.el,u.anchor)},p=({el:u,anchor:d},m,S)=>{let _;for(;u&&u!==d;)_=v(u),s(u,m,S),u=_;s(d,m,S)},g=({el:u,anchor:d})=>{let m;for(;u&&u!==d;)m=v(u),r(u),u=m;r(d)},M=(u,d,m,S,_,w,L,O,C)=>{d.type==="svg"?L="svg":d.type==="math"&&(L="mathml"),u==null?V(d,m,S,_,w,L,O,C):T(u,d,_,w,L,O,C)},V=(u,d,m,S,_,w,L,O)=>{let C,x;const{props:U,shapeFlag:F,transition:j,dirs:q}=u;if(C=u.el=o(u.type,w,U&&U.is,U),F&8?a(C,u.children):F&16&&k(u.children,C,null,S,_,Zn(u,w),L,O),q&&We(u,null,S,"created"),R(C,u,u.scopeId,L,S),U){for(const ee in U)ee!=="value"&&!Ot(ee)&&i(C,ee,null,U[ee],w,S);"value"in U&&i(C,"value",null,U.value,w),(x=U.onVnodeBeforeMount)&&Oe(x,S,u)}q&&We(u,null,S,"beforeMount");const z=Gi(_,j);z&&j.beforeEnter(C),s(C,d,m),((x=U&&U.onVnodeMounted)||z||q)&&Ce(()=>{x&&Oe(x,S,u),z&&j.enter(C),q&&We(u,null,S,"mounted")},_)},R=(u,d,m,S,_)=>{if(m&&y(u,m),S)for(let w=0;w<S.length;w++)y(u,S[w]);if(_){let w=_.subTree;if(d===w||eo(w.type)&&(w.ssContent===d||w.ssFallback===d)){const L=_.vnode;R(u,L,L.scopeId,L.slotScopeIds,_.parent)}}},k=(u,d,m,S,_,w,L,O,C=0)=>{for(let x=C;x<u.length;x++){const U=u[x]=O?et(u[x]):Me(u[x]);P(null,U,d,m,S,_,w,L,O)}},T=(u,d,m,S,_,w,L)=>{const O=d.el=u.el;let{patchFlag:C,dynamicChildren:x,dirs:U}=d;C|=u.patchFlag&16;const F=u.props||ne,j=d.props||ne;let q;if(m&&ct(m,!1),(q=j.onVnodeBeforeUpdate)&&Oe(q,m,d,u),U&&We(d,u,m,"beforeUpdate"),m&&ct(m,!0),(F.innerHTML&&j.innerHTML==null||F.textContent&&j.textContent==null)&&a(O,""),x?I(u.dynamicChildren,x,O,m,S,Zn(d,_),w):L||D(u,d,O,null,m,S,Zn(d,_),w,!1),C>0){if(C&16)E(O,F,j,m,_);else if(C&2&&F.class!==j.class&&i(O,"class",null,j.class,_),C&4&&i(O,"style",F.style,j.style,_),C&8){const z=d.dynamicProps;for(let ee=0;ee<z.length;ee++){const Z=z[ee],xe=F[Z],pe=j[Z];(pe!==xe||Z==="value")&&i(O,Z,xe,pe,_,m)}}C&1&&u.children!==d.children&&a(O,d.children)}else!L&&x==null&&E(O,F,j,m,_);((q=j.onVnodeUpdated)||U)&&Ce(()=>{q&&Oe(q,m,d,u),U&&We(d,u,m,"updated")},S)},I=(u,d,m,S,_,w,L)=>{for(let O=0;O<d.length;O++){const C=u[O],x=d[O],U=C.el&&(C.type===Se||!dt(C,x)||C.shapeFlag&70)?h(C.el):m;P(C,x,U,null,S,_,w,L,!0)}},E=(u,d,m,S,_)=>{if(d!==m){if(d!==ne)for(const w in d)!Ot(w)&&!(w in m)&&i(u,w,d[w],null,_,S);for(const w in m){if(Ot(w))continue;const L=m[w],O=d[w];L!==O&&w!=="value"&&i(u,w,O,L,_,S)}"value"in m&&i(u,"value",d.value,m.value,_)}},b=(u,d,m,S,_,w,L,O,C)=>{const x=d.el=u?u.el:l(""),U=d.anchor=u?u.anchor:l("");let{patchFlag:F,dynamicChildren:j,slotScopeIds:q}=d;q&&(O=O?O.concat(q):q),u==null?(s(x,m,S),s(U,m,S),k(d.children||[],m,U,_,w,L,O,C)):F>0&&F&64&&j&&u.dynamicChildren?(I(u.dynamicChildren,j,m,_,w,L,O),(d.key!=null||_&&d===_.subTree)&&Xi(u,d,!0)):D(u,d,m,U,_,w,L,O,C)},N=(u,d,m,S,_,w,L,O,C)=>{d.slotScopeIds=O,u==null?d.shapeFlag&512?_.ctx.activate(d,m,S,L,C):Y(d,m,S,_,w,L,C):re(u,d,C)},Y=(u,d,m,S,_,w,L)=>{const O=u.component=xc(u,S,_);if(Dn(u)&&(O.ctx.renderer=xt),Tc(O,!1,L),O.asyncDep){if(_&&_.registerDep(O,$,L),!u.el){const C=O.subTree=he(ye);H(null,C,d,m)}}else $(O,u,d,m,_,w,L)},re=(u,d,m)=>{const S=d.component=u.component;if(mc(u,d,m))if(S.asyncDep&&!S.asyncResolved){X(S,d,m);return}else S.next=d,S.update();else d.el=u.el,S.vnode=d},$=(u,d,m,S,_,w,L)=>{const O=()=>{if(u.isMounted){let{next:F,bu:j,u:q,parent:z,vnode:ee}=u;{const Te=Yi(u);if(Te){F&&(F.el=ee.el,X(u,F,L)),Te.asyncDep.then(()=>{u.isUnmounted||O()});return}}let Z=F,xe;ct(u,!1),F?(F.el=ee.el,X(u,F,L)):F=ee,j&&qn(j),(xe=F.props&&F.props.onVnodeBeforeUpdate)&&Oe(xe,z,F,ee),ct(u,!0);const pe=es(u),Fe=u.subTree;u.subTree=pe,P(Fe,pe,h(Fe.el),sn(Fe),u,_,w),F.el=pe.el,Z===null&&Zi(u,pe.el),q&&Ce(q,_),(xe=F.props&&F.props.onVnodeUpdated)&&Ce(()=>Oe(xe,z,F,ee),_)}else{let F;const{el:j,props:q}=d,{bm:z,m:ee,parent:Z,root:xe,type:pe}=u,Fe=mt(d);if(ct(u,!1),z&&qn(z),!Fe&&(F=q&&q.onVnodeBeforeMount)&&Oe(F,Z,d),ct(u,!0),j&&Kn){const Te=()=>{u.subTree=es(u),Kn(j,u.subTree,u,_,null)};Fe&&pe.__asyncHydrate?pe.__asyncHydrate(j,u,Te):Te()}else{xe.ce&&xe.ce._injectChildStyle(pe);const Te=u.subTree=es(u);P(null,Te,m,S,u,_,w),d.el=Te.el}if(ee&&Ce(ee,_),!Fe&&(F=q&&q.onVnodeMounted)){const Te=d;Ce(()=>Oe(F,Z,Te),_)}(d.shapeFlag&256||Z&&mt(Z.vnode)&&Z.vnode.shapeFlag&256)&&u.a&&Ce(u.a,_),u.isMounted=!0,d=m=S=null}};u.scope.on();const C=u.effect=new ti(O);u.scope.off();const x=u.update=C.run.bind(C),U=u.job=C.runIfDirty.bind(C);U.i=u,U.id=u.uid,C.scheduler=()=>ks(U),ct(u,!0),x()},X=(u,d,m)=>{d.component=u;const S=u.vnode.props;u.vnode=d,u.next=null,tc(u,d.props,S,m),ic(u,d.children,m),it(),sr(u),ot()},D=(u,d,m,S,_,w,L,O,C=!1)=>{const x=u&&u.children,U=u?u.shapeFlag:0,F=d.children,{patchFlag:j,shapeFlag:q}=d;if(j>0){if(j&128){nn(x,F,m,S,_,w,L,O,C);return}else if(j&256){ce(x,F,m,S,_,w,L,O,C);return}}q&8?(U&16&&Lt(x,_,w),F!==x&&a(m,F)):U&16?q&16?nn(x,F,m,S,_,w,L,O,C):Lt(x,_,w,!0):(U&8&&a(m,""),q&16&&k(F,m,S,_,w,L,O,C))},ce=(u,d,m,S,_,w,L,O,C)=>{u=u||At,d=d||At;const x=u.length,U=d.length,F=Math.min(x,U);let j;for(j=0;j<F;j++){const q=d[j]=C?et(d[j]):Me(d[j]);P(u[j],q,m,null,_,w,L,O,C)}x>U?Lt(u,_,w,!0,!1,F):k(d,m,S,_,w,L,O,C,F)},nn=(u,d,m,S,_,w,L,O,C)=>{let x=0;const U=d.length;let F=u.length-1,j=U-1;for(;x<=F&&x<=j;){const q=u[x],z=d[x]=C?et(d[x]):Me(d[x]);if(dt(q,z))P(q,z,m,null,_,w,L,O,C);else break;x++}for(;x<=F&&x<=j;){const q=u[F],z=d[j]=C?et(d[j]):Me(d[j]);if(dt(q,z))P(q,z,m,null,_,w,L,O,C);else break;F--,j--}if(x>F){if(x<=j){const q=j+1,z=q<U?d[q].el:S;for(;x<=j;)P(null,d[x]=C?et(d[x]):Me(d[x]),m,z,_,w,L,O,C),x++}}else if(x>j)for(;x<=F;)$e(u[x],_,w,!0),x++;else{const q=x,z=x,ee=new Map;for(x=z;x<=j;x++){const Ee=d[x]=C?et(d[x]):Me(d[x]);Ee.key!=null&&ee.set(Ee.key,x)}let Z,xe=0;const pe=j-z+1;let Fe=!1,Te=0;const Nt=new Array(pe);for(x=0;x<pe;x++)Nt[x]=0;for(x=q;x<=F;x++){const Ee=u[x];if(xe>=pe){$e(Ee,_,w,!0);continue}let je;if(Ee.key!=null)je=ee.get(Ee.key);else for(Z=z;Z<=j;Z++)if(Nt[Z-z]===0&&dt(Ee,d[Z])){je=Z;break}je===void 0?$e(Ee,_,w,!0):(Nt[je-z]=x+1,je>=Te?Te=je:Fe=!0,P(Ee,d[je],m,null,_,w,L,O,C),xe++)}const Qs=Fe?cc(Nt):At;for(Z=Qs.length-1,x=pe-1;x>=0;x--){const Ee=z+x,je=d[Ee],Zs=Ee+1<U?d[Ee+1].el:S;Nt[x]===0?P(null,je,m,Zs,_,w,L,O,C):Fe&&(Z<0||x!==Qs[Z]?lt(je,m,Zs,2):Z--)}}},lt=(u,d,m,S,_=null)=>{const{el:w,type:L,transition:O,children:C,shapeFlag:x}=u;if(x&6){lt(u.component.subTree,d,m,S);return}if(x&128){u.suspense.move(d,m,S);return}if(x&64){L.move(u,d,m,xt);return}if(L===Se){s(w,d,m);for(let F=0;F<C.length;F++)lt(C[F],d,m,S);s(u.anchor,d,m);return}if(L===Wt){p(u,d,m);return}if(S!==2&&x&1&&O)if(S===0)O.beforeEnter(w),s(w,d,m),Ce(()=>O.enter(w),_);else{const{leave:F,delayLeave:j,afterLeave:q}=O,z=()=>s(w,d,m),ee=()=>{F(w,()=>{z(),q&&q()})};j?j(w,z,ee):ee()}else s(w,d,m)},$e=(u,d,m,S=!1,_=!1)=>{const{type:w,props:L,ref:O,children:C,dynamicChildren:x,shapeFlag:U,patchFlag:F,dirs:j,cacheIndex:q}=u;if(F===-2&&(_=!1),O!=null&&Gt(O,null,m,u,!0),q!=null&&(d.renderCache[q]=void 0),U&256){d.ctx.deactivate(u);return}const z=U&1&&j,ee=!mt(u);let Z;if(ee&&(Z=L&&L.onVnodeBeforeUnmount)&&Oe(Z,d,u),U&6)Ao(u.component,m,S);else{if(U&128){u.suspense.unmount(m,S);return}z&&We(u,null,d,"beforeUnmount"),U&64?u.type.remove(u,d,m,xt,S):x&&!x.hasOnce&&(w!==Se||F>0&&F&64)?Lt(x,d,m,!1,!0):(w===Se&&F&384||!_&&U&16)&&Lt(C,d,m),S&&zs(u)}(ee&&(Z=L&&L.onVnodeUnmounted)||z)&&Ce(()=>{Z&&Oe(Z,d,u),z&&We(u,null,d,"unmounted")},m)},zs=u=>{const{type:d,el:m,anchor:S,transition:_}=u;if(d===Se){Co(m,S);return}if(d===Wt){g(u);return}const w=()=>{r(m),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(u.shapeFlag&1&&_&&!_.persisted){const{leave:L,delayLeave:O}=_,C=()=>L(m,w);O?O(u.el,w,C):C()}else w()},Co=(u,d)=>{let m;for(;u!==d;)m=v(u),r(u),u=m;r(d)},Ao=(u,d,m)=>{const{bum:S,scope:_,job:w,subTree:L,um:O,m:C,a:x}=u;hr(C),hr(x),S&&qn(S),_.stop(),w&&(w.flags|=8,$e(L,u,d,m)),O&&Ce(O,d),Ce(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},Lt=(u,d,m,S=!1,_=!1,w=0)=>{for(let L=w;L<u.length;L++)$e(u[L],d,m,S,_)},sn=u=>{if(u.shapeFlag&6)return sn(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const d=v(u.anchor||u.el),m=d&&d[Cl];return m?v(m):d};let Un=!1;const Js=(u,d,m)=>{u==null?d._vnode&&$e(d._vnode,null,null,!0):P(d._vnode||null,u,d,null,null,null,m),d._vnode=u,Un||(Un=!0,sr(),Tn(),Un=!1)},xt={p:P,um:$e,m:lt,r:zs,mt:Y,mc:k,pc:D,pbc:I,n:sn,o:e};let Bn,Kn;return t&&([Bn,Kn]=t(xt)),{render:Js,hydrate:Bn,createApp:Ql(Js,Bn)}}function Zn({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function ct({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Gi(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Xi(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 o=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=et(r[i]),l.el=o.el),!n&&l.patchFlag!==-2&&Xi(o,l)),l.type===bt&&(l.el=o.el)}}function cc(e){const t=e.slice(),n=[0];let s,r,i,o,l;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,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<f?i=l+1:o=l;f<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function Yi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Yi(t)}function hr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const ac=Symbol.for("v-scx"),fc=()=>yt(ac);function zi(e,t){return Vn(e,null,t)}function vf(e,t){return Vn(e,null,{flush:"post"})}function Le(e,t,n){return Vn(e,t,n)}function Vn(e,t,n=ne){const{immediate:s,deep:r,flush:i,once:o}=n,l=ae({},n),c=t&&s||!t&&i!=="post";let f;if(zt){if(i==="sync"){const y=fc();f=y.__watcherHandles||(y.__watcherHandles=[])}else if(!c){const y=()=>{};return y.stop=ke,y.resume=ke,y.pause=ke,y}}const a=ue;l.call=(y,A,P)=>De(y,a,A,P);let h=!1;i==="post"?l.scheduler=y=>{Ce(y,a&&a.suspense)}:i!=="sync"&&(h=!0,l.scheduler=(y,A)=>{A?y():ks(y)}),l.augmentJob=y=>{t&&(y.flags|=4),h&&(y.flags|=2,a&&(y.id=a.uid,y.i=a))};const v=wl(e,t,l);return zt&&(f?f.push(v):c&&v()),v}function uc(e,t,n){const s=this.proxy,r=oe(e)?e.includes(".")?Ji(s,e):()=>s[e]:e.bind(s,s);let i;G(t)?i=t:(i=t.handler,n=t);const o=tn(this),l=Vn(r,i.bind(s),n);return o(),l}function Ji(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 dc=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ne(t)}Modifiers`]||e[`${rt(t)}Modifiers`];function hc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ne;let r=n;const i=t.startsWith("update:"),o=i&&dc(s,t.slice(7));o&&(o.trim&&(r=n.map(a=>oe(a)?a.trim():a)),o.number&&(r=n.map(Lo)));let l,c=s[l=mn(t)]||s[l=mn(Ne(t))];!c&&i&&(c=s[l=mn(rt(t))]),c&&De(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,De(f,e,6,r)}}function Qi(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!G(e)){const c=f=>{const a=Qi(f,t,!0);a&&(l=!0,ae(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(se(e)&&s.set(e,null),null):(B(i)?i.forEach(c=>o[c]=null):ae(o,i),se(e)&&s.set(e,o),o)}function Wn(e,t){return!e||!Qt(t)?!1:(t=t.slice(2).replace(/Once$/,""),Q(e,t[0].toLowerCase()+t.slice(1))||Q(e,rt(t))||Q(e,t))}function es(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:f,renderCache:a,props:h,data:v,setupState:y,ctx:A,inheritAttrs:P}=e,K=En(e);let H,W;try{if(n.shapeFlag&4){const g=r||s,M=g;H=Me(f.call(M,g,a,h,y,v,A)),W=l}else{const g=t;H=Me(g.length>1?g(h,{attrs:l,slots:o,emit:c}):g(h,null)),W=t.props?l:pc(l)}}catch(g){kt.length=0,Fn(g,e,1),H=he(ye)}let p=H;if(W&&P!==!1){const g=Object.keys(W),{shapeFlag:M}=p;g.length&&M&7&&(i&&g.some(Ms)&&(W=gc(W,i)),p=st(p,W,!1,!0))}return n.dirs&&(p=st(p,null,!1,!0),p.dirs=p.dirs?p.dirs.concat(n.dirs):n.dirs),n.transition&&qt(p,n.transition),H=p,En(K),H}const pc=e=>{let t;for(const n in e)(n==="class"||n==="style"||Qt(n))&&((t||(t={}))[n]=e[n]);return t},gc=(e,t)=>{const n={};for(const s in e)(!Ms(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function mc(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,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?pr(s,o,f):!!o;if(c&8){const a=t.dynamicProps;for(let h=0;h<a.length;h++){const v=a[h];if(o[v]!==s[v]&&!Wn(f,v))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?pr(s,o,f):!0:!!o;return!1}function pr(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(t[i]!==e[i]&&!Wn(n,i))return!0}return!1}function Zi({vnode:e,parent:t},n){for(;t;){const s=t.subTree;if(s.suspense&&s.suspense.activeBranch===e&&(s.el=e.el),s===e)(e=t.vnode).el=n,t=t.parent;else break}}const eo=e=>e.__isSuspense;function to(e,t){t&&t.pendingBranch?B(e)?t.effects.push(...e):t.effects.push(e):Tl(e)}const Se=Symbol.for("v-fgt"),bt=Symbol.for("v-txt"),ye=Symbol.for("v-cmt"),Wt=Symbol.for("v-stc"),kt=[];let Ae=null;function Ts(e=!1){kt.push(Ae=e?null:[])}function vc(){kt.pop(),Ae=kt[kt.length-1]||null}let Xt=1;function gr(e,t=!1){Xt+=e,e<0&&Ae&&t&&(Ae.hasOnce=!0)}function no(e){return e.dynamicChildren=Xt>0?Ae||At:null,vc(),Xt>0&&Ae&&Ae.push(e),e}function yf(e,t,n,s,r,i){return no(ro(e,t,n,s,r,i,!0))}function Es(e,t,n,s,r){return no(he(e,t,n,s,r,!0))}function Yt(e){return e?e.__v_isVNode===!0:!1}function dt(e,t){return e.type===t.type&&e.key===t.key}const so=({key:e})=>e??null,yn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?oe(e)||fe(e)||G(e)?{i:de,r:e,k:t,f:!!n}:e:null);function ro(e,t=null,n=null,s=0,r=null,i=e===Se?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&so(t),ref:t&&yn(t),scopeId:_i,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:de};return l?(Ks(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=oe(n)?8:16),Xt>0&&!o&&Ae&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Ae.push(c),c}const he=yc;function yc(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Pi)&&(e=ye),Yt(e)){const l=st(e,t,!0);return n&&Ks(l,n),Xt>0&&!i&&Ae&&(l.shapeFlag&6?Ae[Ae.indexOf(e)]=l:Ae.push(l)),l.patchFlag=-2,l}if(Rc(e)&&(e=e.__vccOpts),t){t=bc(t);let{class:l,style:c}=t;l&&!oe(l)&&(t.class=Ns(l)),se(c)&&(Vs(c)&&!B(c)&&(c=ae({},c)),t.style=Ls(c))}const o=oe(e)?1:eo(e)?128:wi(e)?64:se(e)?4:G(e)?2:0;return ro(e,t,n,s,r,o,i,!0)}function bc(e){return e?Vs(e)||Vi(e)?ae({},e):e:null}function st(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,f=t?_c(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&so(f),ref:t&&t.ref?n&&i?B(i)?i.concat(yn(t)):[i,yn(t)]:yn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Se?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&st(e.ssContent),ssFallback:e.ssFallback&&st(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&qt(a,c.clone(a)),a}function io(e=" ",t=0){return he(bt,null,e,t)}function bf(e,t){const n=he(Wt,null,e);return n.staticCount=t,n}function _f(e="",t=!1){return t?(Ts(),Es(ye,null,e)):he(ye,null,e)}function Me(e){return e==null||typeof e=="boolean"?he(ye):B(e)?he(Se,null,e.slice()):Yt(e)?et(e):he(bt,null,String(e))}function et(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:st(e)}function Ks(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),Ks(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Vi(t)?t._ctx=de:r===3&&de&&(de.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else G(t)?(t={default:t,_ctx:de},n=32):(t=String(t),s&64?(n=16,t=[io(t)]):n=8);e.children=t,e.shapeFlag|=n}function _c(...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=Ns([t.class,s.class]));else if(r==="style")t.style=Ls([t.style,s.style]);else if(Qt(r)){const i=t[r],o=s[r];o&&i!==o&&!(B(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function Oe(e,t,n,s=null){De(e,t,7,[n,s])}const wc=Hi();let Sc=0;function xc(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||wc,i={uid:Sc++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ko(!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:ki(s,r),emitsOptions:Qi(s,r),emit:null,emitted:null,propsDefaults:ne,inheritAttrs:s.inheritAttrs,ctx:ne,data:ne,props:ne,attrs:ne,slots:ne,refs:ne,setupState:ne,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=hc.bind(null,i),e.ce&&e.ce(i),i}let ue=null;const en=()=>ue||de;let An,Cs;{const e=In(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};An=t("__VUE_INSTANCE_SETTERS__",n=>ue=n),Cs=t("__VUE_SSR_SETTERS__",n=>zt=n)}const tn=e=>{const t=ue;return An(e),e.scope.on(),()=>{e.scope.off(),An(t)}},mr=()=>{ue&&ue.scope.off(),An(null)};function oo(e){return e.vnode.shapeFlag&4}let zt=!1;function Tc(e,t=!1,n=!1){t&&Cs(t);const{props:s,children:r}=e.vnode,i=oo(e);ec(e,s,i,t),rc(e,r,n);const o=i?Ec(e,t):void 0;return t&&Cs(!1),o}function Ec(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Bl);const{setup:s}=n;if(s){it();const r=e.setupContext=s.length>1?co(e):null,i=tn(e),o=Zt(s,e,0,[e.props,r]),l=Gr(o);if(ot(),i(),(l||e.sp)&&!mt(e)&&Ri(e),l){if(o.then(mr,mr),t)return o.then(c=>{vr(e,c,t)}).catch(c=>{Fn(c,e,0)});e.asyncDep=o}else vr(e,o,t)}else lo(e,t)}function vr(e,t,n){G(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:se(t)&&(e.setupState=mi(t)),lo(e,n)}let yr;function lo(e,t,n){const s=e.type;if(!e.render){if(!t&&yr&&!s.render){const r=s.template||Us(e).template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:c}=s,f=ae(ae({isCustomElement:i,delimiters:l},o),c);s.render=yr(r,f)}}e.render=s.render||ke}{const r=tn(e);it();try{ql(e)}finally{ot(),r()}}}const Cc={get(e,t){return me(e,"get",""),e[t]}};function co(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Cc),slots:e.slots,emit:e.emit,expose:t}}function qs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(mi(vn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Vt)return Vt[n](e)},has(t,n){return n in t||n in Vt}})):e.proxy}function Ac(e,t=!0){return G(e)?e.displayName||e.name:e.name||t&&e.__name}function Rc(e){return G(e)&&"__vccOpts"in e}const ie=(e,t)=>bl(e,t,zt);function As(e,t,n){const s=arguments.length;return s===2?se(t)&&!B(t)?Yt(t)?he(e,null,[t]):he(e,t):he(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Yt(n)&&(n=[n]),he(e,t,n))}const Oc="3.5.13";/**
|
|
15
|
+
* @vue/runtime-dom v3.5.13
|
|
16
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
17
|
+
* @license MIT
|
|
18
|
+
**/let Rs;const br=typeof window<"u"&&window.trustedTypes;if(br)try{Rs=br.createPolicy("vue",{createHTML:e=>e})}catch{}const ao=Rs?e=>Rs.createHTML(e):e=>e,Mc="http://www.w3.org/2000/svg",Ic="http://www.w3.org/1998/Math/MathML",Ke=typeof document<"u"?document:null,_r=Ke&&Ke.createElement("template"),Pc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?Ke.createElementNS(Mc,e):t==="mathml"?Ke.createElementNS(Ic,e):n?Ke.createElement(e,{is:n}):Ke.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Ke.createTextNode(e),createComment:e=>Ke.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ke.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{_r.innerHTML=ao(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=_r.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Je="transition",Ht="animation",Jt=Symbol("_vtc"),fo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Lc=ae({},Si,fo),Nc=e=>(e.displayName="Transition",e.props=Lc,e),wf=Nc((e,{slots:t})=>As(Ol,Fc(e),t)),at=(e,t=[])=>{B(e)?e.forEach(n=>n(...t)):e&&e(...t)},wr=e=>e?B(e)?e.some(t=>t.length>1):e.length>1:!1;function Fc(e){const t={};for(const b in e)b in fo||(t[b]=e[b]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:f=o,appearToClass:a=l,leaveFromClass:h=`${n}-leave-from`,leaveActiveClass:v=`${n}-leave-active`,leaveToClass:y=`${n}-leave-to`}=e,A=Hc(r),P=A&&A[0],K=A&&A[1],{onBeforeEnter:H,onEnter:W,onEnterCancelled:p,onLeave:g,onLeaveCancelled:M,onBeforeAppear:V=H,onAppear:R=W,onAppearCancelled:k=p}=t,T=(b,N,Y,re)=>{b._enterCancelled=re,ft(b,N?a:l),ft(b,N?f:o),Y&&Y()},I=(b,N)=>{b._isLeaving=!1,ft(b,h),ft(b,y),ft(b,v),N&&N()},E=b=>(N,Y)=>{const re=b?R:W,$=()=>T(N,b,Y);at(re,[N,$]),Sr(()=>{ft(N,b?c:i),Be(N,b?a:l),wr(re)||xr(N,s,P,$)})};return ae(t,{onBeforeEnter(b){at(H,[b]),Be(b,i),Be(b,o)},onBeforeAppear(b){at(V,[b]),Be(b,c),Be(b,f)},onEnter:E(!1),onAppear:E(!0),onLeave(b,N){b._isLeaving=!0;const Y=()=>I(b,N);Be(b,h),b._enterCancelled?(Be(b,v),Cr()):(Cr(),Be(b,v)),Sr(()=>{b._isLeaving&&(ft(b,h),Be(b,y),wr(g)||xr(b,s,K,Y))}),at(g,[b,Y])},onEnterCancelled(b){T(b,!1,void 0,!0),at(p,[b])},onAppearCancelled(b){T(b,!0,void 0,!0),at(k,[b])},onLeaveCancelled(b){I(b),at(M,[b])}})}function Hc(e){if(e==null)return null;if(se(e))return[ts(e.enter),ts(e.leave)];{const t=ts(e);return[t,t]}}function ts(e){return No(e)}function Be(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Jt]||(e[Jt]=new Set)).add(t)}function ft(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[Jt];n&&(n.delete(t),n.size||(e[Jt]=void 0))}function Sr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Dc=0;function xr(e,t,n,s){const r=e._endId=++Dc,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=$c(e,t);if(!o)return s();const f=o+"end";let a=0;const h=()=>{e.removeEventListener(f,v),i()},v=y=>{y.target===e&&++a>=c&&h()};setTimeout(()=>{a<c&&h()},l+1),e.addEventListener(f,v)}function $c(e,t){const n=window.getComputedStyle(e),s=A=>(n[A]||"").split(", "),r=s(`${Je}Delay`),i=s(`${Je}Duration`),o=Tr(r,i),l=s(`${Ht}Delay`),c=s(`${Ht}Duration`),f=Tr(l,c);let a=null,h=0,v=0;t===Je?o>0&&(a=Je,h=o,v=i.length):t===Ht?f>0&&(a=Ht,h=f,v=c.length):(h=Math.max(o,f),a=h>0?o>f?Je:Ht:null,v=a?a===Je?i.length:c.length:0);const y=a===Je&&/\b(transform|all)(,|$)/.test(s(`${Je}Property`).toString());return{type:a,timeout:h,propCount:v,hasTransform:y}}function Tr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Er(n)+Er(e[s])))}function Er(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Cr(){return document.body.offsetHeight}function jc(e,t,n){const s=e[Jt];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ar=Symbol("_vod"),Vc=Symbol("_vsh"),Wc=Symbol(""),kc=/(^|;)\s*display\s*:/;function Uc(e,t,n){const s=e.style,r=oe(n);let i=!1;if(n&&!r){if(t)if(oe(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&bn(s,l,"")}else for(const o in t)n[o]==null&&bn(s,o,"");for(const o in n)o==="display"&&(i=!0),bn(s,o,n[o])}else if(r){if(t!==n){const o=s[Wc];o&&(n+=";"+o),s.cssText=n,i=kc.test(n)}}else t&&e.removeAttribute("style");Ar in e&&(e[Ar]=i?s.display:"",e[Vc]&&(s.display="none"))}const Rr=/\s*!important$/;function bn(e,t,n){if(B(n))n.forEach(s=>bn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Bc(e,t);Rr.test(n)?e.setProperty(rt(s),n.replace(Rr,""),"important"):e[s]=n}}const Or=["Webkit","Moz","ms"],ns={};function Bc(e,t){const n=ns[t];if(n)return n;let s=Ne(t);if(s!=="filter"&&s in e)return ns[t]=s;s=Mn(s);for(let r=0;r<Or.length;r++){const i=Or[r]+s;if(i in e)return ns[t]=i}return t}const Mr="http://www.w3.org/1999/xlink";function Ir(e,t,n,s,r,i=Vo(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Mr,t.slice(6,t.length)):e.setAttributeNS(Mr,t,n):n==null||i&&!Jr(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Ye(n)?String(n):n)}function Pr(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?ao(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Jr(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function Kc(e,t,n,s){e.addEventListener(t,n,s)}function qc(e,t,n,s){e.removeEventListener(t,n,s)}const Lr=Symbol("_vei");function Gc(e,t,n,s,r=null){const i=e[Lr]||(e[Lr]={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=Xc(t);if(s){const f=i[t]=Jc(s,r);Kc(e,l,f,c)}else o&&(qc(e,l,o,c),i[t]=void 0)}}const Nr=/(?:Once|Passive|Capture)$/;function Xc(e){let t;if(Nr.test(e)){t={};let s;for(;s=e.match(Nr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):rt(e.slice(2)),t]}let ss=0;const Yc=Promise.resolve(),zc=()=>ss||(Yc.then(()=>ss=0),ss=Date.now());function Jc(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;De(Qc(s,n.value),t,5,[s])};return n.value=e,n.attached=zc(),n}function Qc(e,t){if(B(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const Fr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Zc=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?jc(e,s,o):t==="style"?Uc(e,n,s):Qt(t)?Ms(t)||Gc(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ea(e,t,s,o))?(Pr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ir(e,t,s,o,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!oe(s))?Pr(e,Ne(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Ir(e,t,s,o))};function ea(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Fr(t)&&G(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Fr(t)&&oe(n)?!1:t in e}const ta=["ctrl","shift","alt","meta"],na={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)=>ta.some(n=>e[`${n}Key`]&&!t.includes(n))},Sf=(e,t)=>{const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o<t.length;o++){const l=na[t[o]];if(l&&l(r,t))return}return e(r,...i)})},sa={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},xf=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=rt(r.key);if(t.some(o=>o===i||sa[o]===i))return e(r)})},ra=ae({patchProp:Zc},Pc);let rs,Hr=!1;function ia(){return rs=Hr?rs:oc(ra),Hr=!0,rs}const Tf=(...e)=>{const t=ia().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=la(s);if(r)return n(r,!0,oa(r))},t};function oa(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function la(e){return oe(e)?document.querySelector(e):e}const ca=window.__VP_SITE_DATA__;function uo(e){return ei()?(Uo(e),!0):!1}const is=new WeakMap,aa=(...e)=>{var t;const n=e[0],s=(t=en())==null?void 0:t.proxy;if(s==null&&!Di())throw new Error("injectLocal must be called in setup");return s&&is.has(s)&&n in is.get(s)?is.get(s)[n]:yt(...e)},ho=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const fa=Object.prototype.toString,ua=e=>fa.call(e)==="[object Object]",St=()=>{},Dr=da();function da(){var e,t;return ho&&((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 Gs(e,t){function n(...s){return new Promise((r,i)=>{Promise.resolve(e(()=>t.apply(this,s),{fn:t,thisArg:this,args:s})).then(r).catch(i)})}return n}const po=e=>e();function ha(e,t={}){let n,s,r=St;const i=c=>{clearTimeout(c),r(),r=St};let o;return c=>{const f=le(e),a=le(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,o=c,a&&!s&&(s=setTimeout(()=>{n&&i(n),s=null,h(o())},a)),n=setTimeout(()=>{s&&i(s),s=null,h(c())},f)})}}function pa(...e){let t=0,n,s=!0,r=St,i,o,l,c,f;!fe(e[0])&&typeof e[0]=="object"?{delay:o,trailing:l=!0,leading:c=!0,rejectOnCancel:f=!1}=e[0]:[o,l=!0,c=!0,f=!1]=e;const a=()=>{n&&(clearTimeout(n),n=void 0,r(),r=St)};return v=>{const y=le(o),A=Date.now()-t,P=()=>i=v();return a(),y<=0?(t=Date.now(),P()):(A>y&&(c||!s)?(t=Date.now(),P()):l&&(i=new Promise((K,H)=>{r=f?H:K,n=setTimeout(()=>{t=Date.now(),s=!0,K(P()),a()},Math.max(0,y-A))})),!c&&!n&&(n=setTimeout(()=>s=!0,y)),s=!1,i)}}function ga(e=po,t={}){const{initialState:n="active"}=t,s=Xs(n==="active");function r(){s.value=!1}function i(){s.value=!0}const o=(...l)=>{s.value&&e(...l)};return{isActive:Nn(s),pause:r,resume:i,eventFilter:o}}function $r(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function ma(e){return en()}function os(e){return Array.isArray(e)?e:[e]}function Xs(...e){if(e.length!==1)return ml(...e);const t=e[0];return typeof t=="function"?Nn(hl(()=>({get:t,set:St}))):gt(t)}function va(e,t=200,n={}){return Gs(ha(t,n),e)}function ya(e,t=200,n=!1,s=!0,r=!1){return Gs(pa(t,n,s,r),e)}function ba(e,t,n={}){const{eventFilter:s=po,...r}=n;return Le(e,Gs(s,t),r)}function _a(e,t,n={}){const{eventFilter:s,initialState:r="active",...i}=n,{eventFilter:o,pause:l,resume:c,isActive:f}=ga(s,{initialState:r});return{stop:ba(e,t,{...i,eventFilter:o}),pause:l,resume:c,isActive:f}}function kn(e,t=!0,n){ma()?Pt(e,n):t?e():Hn(e)}function wa(e,t,n){return Le(e,t,{...n,immediate:!0})}const Ge=ho?window:void 0;function Ys(e){var t;const n=le(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Xe(...e){const t=[],n=()=>{t.forEach(l=>l()),t.length=0},s=(l,c,f,a)=>(l.addEventListener(c,f,a),()=>l.removeEventListener(c,f,a)),r=ie(()=>{const l=os(le(e[0])).filter(c=>c!=null);return l.every(c=>typeof c!="string")?l:void 0}),i=wa(()=>{var l,c;return[(c=(l=r.value)==null?void 0:l.map(f=>Ys(f)))!=null?c:[Ge].filter(f=>f!=null),os(le(r.value?e[1]:e[0])),os(Ws(r.value?e[2]:e[1])),le(r.value?e[3]:e[2])]},([l,c,f,a])=>{if(n(),!(l!=null&&l.length)||!(c!=null&&c.length)||!(f!=null&&f.length))return;const h=ua(a)?{...a}:a;t.push(...l.flatMap(v=>c.flatMap(y=>f.map(A=>s(v,y,A,h)))))},{flush:"post"}),o=()=>{i(),n()};return uo(n),o}function Sa(){const e=Pe(!1),t=en();return t&&Pt(()=>{e.value=!0},t),e}function xa(e){const t=Sa();return ie(()=>(t.value,!!e()))}function Ta(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Ef(...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=Ge,eventName:i="keydown",passive:o=!1,dedupe:l=!1}=s,c=Ta(t);return Xe(r,i,a=>{a.repeat&&le(l)||c(a)&&n(a)},o)}const Ea=Symbol("vueuse-ssr-width");function Ca(){const e=Di()?aa(Ea,null):null;return typeof e=="number"?e:void 0}function go(e,t={}){const{window:n=Ge,ssrWidth:s=Ca()}=t,r=xa(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=Pe(typeof s=="number"),o=Pe(),l=Pe(!1),c=f=>{l.value=f.matches};return zi(()=>{if(i.value){i.value=!r.value;const f=le(e).split(",");l.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 A=!!(v||y);return v&&A&&(A=s>=$r(v[1])),y&&A&&(A=s<=$r(y[1])),h?!A:A});return}r.value&&(o.value=n.matchMedia(le(e)),l.value=o.value.matches)}),Xe(o,"change",c,{passive:!0}),ie(()=>l.value)}const dn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},hn="__vueuse_ssr_handlers__",Aa=Ra();function Ra(){return hn in dn||(dn[hn]=dn[hn]||{}),dn[hn]}function mo(e,t){return Aa[e]||t}function vo(e){return go("(prefers-color-scheme: dark)",e)}function Oa(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const Ma={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},jr="vueuse-storage";function Ia(e,t,n,s={}){var r;const{flush:i="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:c=!0,mergeDefaults:f=!1,shallow:a,window:h=Ge,eventFilter:v,onError:y=E=>{console.error(E)},initOnMounted:A}=s,P=(a?Pe:gt)(typeof t=="function"?t():t),K=ie(()=>le(e));if(!n)try{n=mo("getDefaultStorage",()=>{var E;return(E=Ge)==null?void 0:E.localStorage})()}catch(E){y(E)}if(!n)return P;const H=le(t),W=Oa(H),p=(r=s.serializer)!=null?r:Ma[W],{pause:g,resume:M}=_a(P,()=>R(P.value),{flush:i,deep:o,eventFilter:v});Le(K,()=>T(),{flush:i}),h&&l&&kn(()=>{n instanceof Storage?Xe(h,"storage",T,{passive:!0}):Xe(h,jr,I),A&&T()}),A||T();function V(E,b){if(h){const N={key:K.value,oldValue:E,newValue:b,storageArea:n};h.dispatchEvent(n instanceof Storage?new StorageEvent("storage",N):new CustomEvent(jr,{detail:N}))}}function R(E){try{const b=n.getItem(K.value);if(E==null)V(b,null),n.removeItem(K.value);else{const N=p.write(E);b!==N&&(n.setItem(K.value,N),V(b,N))}}catch(b){y(b)}}function k(E){const b=E?E.newValue:n.getItem(K.value);if(b==null)return c&&H!=null&&n.setItem(K.value,p.write(H)),H;if(!E&&f){const N=p.read(b);return typeof f=="function"?f(N,H):W==="object"&&!Array.isArray(N)?{...H,...N}:N}else return typeof b!="string"?b:p.read(b)}function T(E){if(!(E&&E.storageArea!==n)){if(E&&E.key==null){P.value=H;return}if(!(E&&E.key!==K.value)){g();try{(E==null?void 0:E.newValue)!==p.write(P.value)&&(P.value=k(E))}catch(b){y(b)}finally{E?Hn(M):M()}}}}function I(E){T(E.detail)}return P}const Pa="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function La(e={}){const{selector:t="html",attribute:n="class",initialValue:s="auto",window:r=Ge,storage:i,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:c,emitAuto:f,disableTransition:a=!0}=e,h={auto:"",light:"light",dark:"dark",...e.modes||{}},v=vo({window:r}),y=ie(()=>v.value?"dark":"light"),A=c||(o==null?Xs(s):Ia(o,s,i,{window:r,listenToStorageChanges:l})),P=ie(()=>A.value==="auto"?y.value:A.value),K=mo("updateHTMLAttrs",(g,M,V)=>{const R=typeof g=="string"?r==null?void 0:r.document.querySelector(g):Ys(g);if(!R)return;const k=new Set,T=new Set;let I=null;if(M==="class"){const b=V.split(/\s/g);Object.values(h).flatMap(N=>(N||"").split(/\s/g)).filter(Boolean).forEach(N=>{b.includes(N)?k.add(N):T.add(N)})}else I={key:M,value:V};if(k.size===0&&T.size===0&&I===null)return;let E;a&&(E=r.document.createElement("style"),E.appendChild(document.createTextNode(Pa)),r.document.head.appendChild(E));for(const b of k)R.classList.add(b);for(const b of T)R.classList.remove(b);I&&R.setAttribute(I.key,I.value),a&&(r.getComputedStyle(E).opacity,document.head.removeChild(E))});function H(g){var M;K(t,n,(M=h[g])!=null?M:g)}function W(g){e.onChanged?e.onChanged(g,H):H(g)}Le(P,W,{flush:"post",immediate:!0}),kn(()=>W(P.value));const p=ie({get(){return f?A.value:P.value},set(g){A.value=g}});return Object.assign(p,{store:A,system:y,state:P})}function Na(e={}){const{valueDark:t="dark",valueLight:n=""}=e,s=La({...e,onChanged:(o,l)=>{var c;e.onChanged?(c=e.onChanged)==null||c.call(e,o==="dark",l,o):l(o)},modes:{dark:t,light:n}}),r=ie(()=>s.system.value);return ie({get(){return s.value==="dark"},set(o){const l=o?"dark":"light";r.value===l?s.value="auto":s.value=l}})}function ls(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}const Vr=1;function Fa(e,t={}){const{throttle:n=0,idle:s=200,onStop:r=St,onScroll:i=St,offset:o={left:0,right:0,top:0,bottom:0},eventListenerOptions:l={capture:!1,passive:!0},behavior:c="auto",window:f=Ge,onError:a=R=>{console.error(R)}}=t,h=Pe(0),v=Pe(0),y=ie({get(){return h.value},set(R){P(R,void 0)}}),A=ie({get(){return v.value},set(R){P(void 0,R)}});function P(R,k){var T,I,E,b;if(!f)return;const N=le(e);if(!N)return;(E=N instanceof Document?f.document.body:N)==null||E.scrollTo({top:(T=le(k))!=null?T:A.value,left:(I=le(R))!=null?I:y.value,behavior:le(c)});const Y=((b=N==null?void 0:N.document)==null?void 0:b.documentElement)||(N==null?void 0:N.documentElement)||N;y!=null&&(h.value=Y.scrollLeft),A!=null&&(v.value=Y.scrollTop)}const K=Pe(!1),H=It({left:!0,right:!1,top:!0,bottom:!1}),W=It({left:!1,right:!1,top:!1,bottom:!1}),p=R=>{K.value&&(K.value=!1,W.left=!1,W.right=!1,W.top=!1,W.bottom=!1,r(R))},g=va(p,n+s),M=R=>{var k;if(!f)return;const T=((k=R==null?void 0:R.document)==null?void 0:k.documentElement)||(R==null?void 0:R.documentElement)||Ys(R),{display:I,flexDirection:E,direction:b}=getComputedStyle(T),N=b==="rtl"?-1:1,Y=T.scrollLeft;W.left=Y<h.value,W.right=Y>h.value;const re=Math.abs(Y*N)<=(o.left||0),$=Math.abs(Y*N)+T.clientWidth>=T.scrollWidth-(o.right||0)-Vr;I==="flex"&&E==="row-reverse"?(H.left=$,H.right=re):(H.left=re,H.right=$),h.value=Y;let X=T.scrollTop;R===f.document&&!X&&(X=f.document.body.scrollTop),W.top=X<v.value,W.bottom=X>v.value;const D=Math.abs(X)<=(o.top||0),ce=Math.abs(X)+T.clientHeight>=T.scrollHeight-(o.bottom||0)-Vr;I==="flex"&&E==="column-reverse"?(H.top=ce,H.bottom=D):(H.top=D,H.bottom=ce),v.value=X},V=R=>{var k;if(!f)return;const T=(k=R.target.documentElement)!=null?k:R.target;M(T),K.value=!0,g(R),i(R)};return Xe(e,"scroll",n?ya(V,n,!0,!1):V,l),kn(()=>{try{const R=le(e);if(!R)return;M(R)}catch(R){a(R)}}),Xe(e,"scrollend",p,l),{x:y,y:A,isScrolling:K,arrivedState:H,directions:W,measure(){const R=le(e);f&&R&&M(R)}}}function yo(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:yo(n)}}function Ha(e){const t=e||window.event,n=t.target;return yo(n)?!1:t.touches.length>1?!0:(t.preventDefault&&t.preventDefault(),!1)}const cs=new WeakMap;function Cf(e,t=!1){const n=Pe(t);let s=null,r="";Le(Xs(e),l=>{const c=ls(le(l));if(c){const f=c;if(cs.get(f)||cs.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 l=ls(le(e));!l||n.value||(Dr&&(s=Xe(l,"touchmove",c=>{Ha(c)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{const l=ls(le(e));!l||!n.value||(Dr&&(s==null||s()),l.style.overflow=r,cs.delete(l),n.value=!1)};return uo(o),ie({get(){return n.value},set(l){l?i():o()}})}function Af(e={}){const{window:t=Ge,...n}=e;return Fa(t,n)}function Rf(e={}){const{window:t=Ge,initialWidth:n=Number.POSITIVE_INFINITY,initialHeight:s=Number.POSITIVE_INFINITY,listenOrientation:r=!0,includeScrollbar:i=!0,type:o="inner"}=e,l=Pe(n),c=Pe(s),f=()=>{if(t)if(o==="outer")l.value=t.outerWidth,c.value=t.outerHeight;else if(o==="visual"&&t.visualViewport){const{width:h,height:v,scale:y}=t.visualViewport;l.value=Math.round(h*y),c.value=Math.round(v*y)}else i?(l.value=t.innerWidth,c.value=t.innerHeight):(l.value=t.document.documentElement.clientWidth,c.value=t.document.documentElement.clientHeight)};f(),kn(f);const a={passive:!0};if(Xe("resize",f,a),t&&o==="visual"&&t.visualViewport&&Xe(t.visualViewport,"resize",f,a),r){const h=go("(orientation: portrait)");Le(h,()=>f())}return{width:l,height:c}}const as={BASE_URL:"/my-openlayer/",DEV:!1,MODE:"production",PROD:!0,SSR:!1};var fs={};const bo=/^(?:[a-z]+:|\/\/)/i,Da="vitepress-theme-appearance",$a=/#.*$/,ja=/[?#].*$/,Va=/(?:(^|\/)index)?\.(?:md|html)$/,ge=typeof document<"u",_o={relativePath:"404.md",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Wa(e,t,n=!1){if(t===void 0)return!1;if(e=Wr(`/${e}`),n)return new RegExp(t).test(e);if(Wr(t)!==e)return!1;const s=t.match($a);return s?(ge?location.hash:"")===s[0]:!0}function Wr(e){return decodeURI(e).replace(ja,"").replace(Va,"$1")}function ka(e){return bo.test(e)}function Ua(e,t){return Object.keys((e==null?void 0:e.locales)||{}).find(n=>n!=="root"&&!ka(n)&&Wa(t,`/${n}/`,!0))||"root"}function Ba(e,t){var s,r,i,o,l,c,f;const n=Ua(e,t);return Object.assign({},e,{localeIndex:n,lang:((s=e.locales[n])==null?void 0:s.lang)??e.lang,dir:((r=e.locales[n])==null?void 0:r.dir)??e.dir,title:((i=e.locales[n])==null?void 0:i.title)??e.title,titleTemplate:((o=e.locales[n])==null?void 0:o.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:So(e.head,((c=e.locales[n])==null?void 0:c.head)??[]),themeConfig:{...e.themeConfig,...(f=e.locales[n])==null?void 0:f.themeConfig}})}function wo(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=Ka(e.title,s);return n===r.slice(3)?n:`${n}${r}`}function Ka(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function qa(e,t){const[n,s]=t;if(n!=="meta")return!1;const r=Object.entries(s)[0];return r==null?!1:e.some(([i,o])=>i===n&&o[r[0]]===r[1])}function So(e,t){return[...e.filter(n=>!qa(t,n)),...t]}const Ga=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,Xa=/^[a-z]:/i;function kr(e){const t=Xa.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(Ga,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const us=new Set;function Ya(e){if(us.size===0){const n=typeof process=="object"&&(fs==null?void 0:fs.VITE_EXTRA_EXTENSIONS)||(as==null?void 0:as.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=>us.add(s))}const t=e.split(".").pop();return t==null||!us.has(t.toLowerCase())}const za=Symbol(),_t=Pe(ca);function Of(e){const t=ie(()=>Ba(_t.value,e.data.relativePath)),n=t.value.appearance,s=n==="force-dark"?gt(!0):n==="force-auto"?vo():n?Na({storageKey:Da,initialValue:()=>n==="dark"?"dark":"auto",...typeof n=="object"?n:{}}):gt(!1),r=gt(ge?location.hash:"");return ge&&window.addEventListener("hashchange",()=>{r.value=location.hash}),Le(()=>e.data,()=>{r.value=ge?location.hash:""}),{site:t,theme:ie(()=>t.value.themeConfig),page:ie(()=>e.data),frontmatter:ie(()=>e.data.frontmatter),params:ie(()=>e.data.params),lang:ie(()=>t.value.lang),dir:ie(()=>e.data.frontmatter.dir||t.value.dir),localeIndex:ie(()=>t.value.localeIndex||"root"),title:ie(()=>wo(t.value,e.data)),description:ie(()=>e.data.description||t.value.description),isDark:s,hash:ie(()=>r.value)}}function Ja(){const e=yt(za);if(!e)throw new Error("vitepress data not properly injected in app");return e}function Qa(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Ur(e){return bo.test(e)||!e.startsWith("/")?e:Qa(_t.value.base,e)}function Za(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),ge){const n="/my-openlayer/";t=kr(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=`./${kr(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let _n=[];function Mf(e){_n.push(e),jn(()=>{_n=_n.filter(t=>t!==e)})}function ef(){let e=_t.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=Br(e,n);else if(Array.isArray(e))for(const s of e){const r=Br(s,n);if(r){t=r;break}}return t}function Br(e,t){const n=document.querySelector(e);if(!n)return 0;const s=n.getBoundingClientRect().bottom;return s<0?0:s+t}const tf=Symbol(),xo="http://a.com",nf=()=>({path:"/",component:null,data:_o});function If(e,t){const n=It(nf()),s={route:n,go:r};async function r(l=ge?location.href:"/"){var c,f;l=ds(l),await((c=s.onBeforeRouteChange)==null?void 0:c.call(s,l))!==!1&&(ge&&l!==ds(location.href)&&(history.replaceState({scrollPosition:window.scrollY},""),history.pushState({},"",l)),await o(l),await((f=s.onAfterRouteChange??s.onAfterRouteChanged)==null?void 0:f(l)))}let i=null;async function o(l,c=0,f=!1){var v,y;if(await((v=s.onBeforePageLoad)==null?void 0:v.call(s,l))===!1)return;const a=new URL(l,xo),h=i=a.pathname;try{let A=await e(h);if(!A)throw new Error(`Page not found: ${h}`);if(i===h){i=null;const{default:P,__pageData:K}=A;if(!P)throw new Error(`Invalid route component: ${P}`);await((y=s.onAfterPageLoad)==null?void 0:y.call(s,l)),n.path=ge?h:Ur(h),n.component=vn(P),n.data=vn(K),ge&&Hn(()=>{let H=_t.value.base+K.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!_t.value.cleanUrls&&!H.endsWith("/")&&(H+=".html"),H!==a.pathname&&(a.pathname=H,l=H+a.search+a.hash,history.replaceState({},"",l)),a.hash&&!c){let W=null;try{W=document.getElementById(decodeURIComponent(a.hash).slice(1))}catch(p){console.warn(p)}if(W){Kr(W,a.hash);return}}window.scrollTo(0,c)})}}catch(A){if(!/fetch|Page not found/.test(A.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(A),!f)try{const P=await fetch(_t.value.base+"hashmap.json");window.__VP_HASH_MAP__=await P.json(),await o(l,c,!0);return}catch{}if(i===h){i=null,n.path=ge?h:Ur(h),n.component=t?vn(t):null;const P=ge?h.replace(/(^|\/)$/,"$1index").replace(/(\.html)?$/,".md").replace(/^\//,""):"404.md";n.data={..._o,relativePath:P}}}}return ge&&(history.state===null&&history.replaceState({},""),window.addEventListener("click",l=>{if(l.defaultPrevented||!(l.target instanceof Element)||l.target.closest("button")||l.button!==0||l.ctrlKey||l.shiftKey||l.altKey||l.metaKey)return;const c=l.target.closest("a");if(!c||c.closest(".vp-raw")||c.hasAttribute("download")||c.hasAttribute("target"))return;const 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:A}=new URL(f,c.baseURI),P=new URL(location.href);h===P.origin&&Ya(v)&&(l.preventDefault(),v===P.pathname&&A===P.search?(y!==P.hash&&(history.pushState({},"",a),window.dispatchEvent(new HashChangeEvent("hashchange",{oldURL:P.href,newURL:a}))),y?Kr(c,y,c.classList.contains("header-anchor")):window.scrollTo(0,0)):r(a))},{capture:!0}),window.addEventListener("popstate",async l=>{var f;if(l.state===null)return;const c=ds(location.href);await o(c,l.state&&l.state.scrollPosition||0),await((f=s.onAfterRouteChange??s.onAfterRouteChanged)==null?void 0:f(c))}),window.addEventListener("hashchange",l=>{l.preventDefault()})),s}function sf(){const e=yt(tf);if(!e)throw new Error("useRouter() is called without provider.");return e}function To(){return sf().route}function Kr(e,t,n=!1){let s=null;try{s=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(r){console.warn(r)}if(s){let r=function(){!n||Math.abs(o-window.scrollY)>window.innerHeight?window.scrollTo(0,o):window.scrollTo({left:0,top:o,behavior:"smooth"})};const i=parseInt(window.getComputedStyle(s).paddingTop,10),o=window.scrollY+s.getBoundingClientRect().top-ef()+i;requestAnimationFrame(r)}}function ds(e){const t=new URL(e,xo);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),_t.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 pn=()=>_n.forEach(e=>e()),Pf=Ai({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=To(),{frontmatter:n,site:s}=Ja();return Le(n,pn,{deep:!0,flush:"post"}),()=>As(e.as,s.value.contentProps??{style:{position:"relative"}},[t.component?As(t.component,{onVnodeMounted:pn,onVnodeUpdated:pn,onVnodeUnmounted:pn}):"404 Page Not Found"])}}),Lf=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Nf=Ai({setup(e,{slots:t}){const n=gt(!1);return Pt(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function Ff(){ge&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const s=(n=t.parentElement)==null?void 0:n.parentElement;if(!s)return;const r=Array.from(s.querySelectorAll("input")).indexOf(t);if(r<0)return;const i=s.querySelector(".blocks");if(!i)return;const o=Array.from(i.children).find(f=>f.classList.contains("active"));if(!o)return;const l=i.children[r];if(!l||o===l)return;o.classList.remove("active"),l.classList.add("active");const c=s==null?void 0:s.querySelector(`label[for="${t.id}"]`);c==null||c.scrollIntoView({block:"nearest"})}})}function Hf(){if(ge){const e=new WeakMap;window.addEventListener("click",t=>{var s;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const r=n.parentElement,i=(s=n.nextElementSibling)==null?void 0:s.nextElementSibling;if(!r||!i)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(r.className),l=[".vp-copy-ignore",".diff.remove"],c=i.cloneNode(!0);c.querySelectorAll(l.join(",")).forEach(a=>a.remove());let f=c.textContent||"";o&&(f=f.replace(/^ *(\$|>) /gm,"").trim()),rf(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 rf(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 Df(e,t){let n=!0,s=[];const r=i=>{if(n){n=!1,i.forEach(l=>{const c=hs(l);for(const f of document.head.children)if(f.isEqualNode(c)){s.push(f);return}});return}const o=i.map(hs);s.forEach((l,c)=>{const f=o.findIndex(a=>a==null?void 0:a.isEqualNode(l??null));f!==-1?delete o[f]:(l==null||l.remove(),delete s[c])}),o.forEach(l=>l&&document.head.appendChild(l)),s=[...s,...o].filter(Boolean)};zi(()=>{const i=e.data,o=t.value,l=i&&i.description,c=i&&i.frontmatter.head||[],f=wo(o,i);f!==document.title&&(document.title=f);const a=l||o.description;let h=document.querySelector("meta[name=description]");h?h.getAttribute("content")!==a&&h.setAttribute("content",a):hs(["meta",{name:"description",content:a}]),r(So(o.head,lf(c)))})}function hs([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 of(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function lf(e){return e.filter(t=>!of(t))}const ps=new Set,Eo=()=>document.createElement("link"),cf=e=>{const t=Eo();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 gn;const ff=ge&&(gn=Eo())&&gn.relList&&gn.relList.supports&&gn.relList.supports("prefetch")?cf:af;function $f(){if(!ge||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const s=()=>{n&&n.disconnect(),n=new IntersectionObserver(i=>{i.forEach(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:c}=l;if(!ps.has(c)){ps.add(c);const f=Za(c);f&&ff(f)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(i=>{const{hostname:o,pathname:l}=new URL(i.href instanceof SVGAnimatedString?i.href.animVal:i.href,i.baseURI),c=l.match(/\.\w+$/);c&&c[0]!==".html"||i.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(i):ps.add(l))})})};Pt(s);const r=To();Le(()=>r.path,s),jn(()=>{n&&n.disconnect()})}export{mf as $,ef as A,uf as B,hf as C,Pe as D,Mf as E,Se as F,he as G,df as H,bo as I,To as J,_c as K,yt as L,Rf as M,Ls as N,Ef as O,Hn as P,Af as Q,ge as R,Nn as S,wf as T,Cf as U,Zl as V,xf as W,gf as X,Mi as Y,Sf as Z,Lf as _,io as a,Df as a0,tf as a1,Of as a2,za as a3,Pf as a4,Nf as a5,_t as a6,Tf as a7,If as a8,Za as a9,$f as aa,Hf as ab,Ff as ac,As as ad,bf as ae,Es as b,yf as c,Ai as d,_f as e,Ya as f,Ur as g,ie as h,ka as i,ro as j,Ws as k,Wa as l,go as m,Ns as n,Ts as o,gt as p,Le as q,pf as r,zi as s,Wo as t,Ja as u,Pt as v,El as w,jn as x,vf as y,jl as z};
|