cloudcommerce 0.0.66 → 0.0.67
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 -0
- package/package.json +8 -8
- package/packages/api/package.json +1 -1
- package/packages/apps/correios/package.json +1 -1
- package/packages/apps/custom-shipping/package.json +1 -1
- package/packages/apps/discounts/package.json +1 -1
- package/packages/apps/tiny-erp/package.json +2 -2
- package/packages/cli/package.json +1 -1
- package/packages/config/package.json +1 -1
- package/packages/events/package.json +2 -2
- package/packages/firebase/lib/handlers/check-store-events.js +17 -8
- package/packages/firebase/lib/handlers/check-store-events.js.map +1 -1
- package/packages/firebase/package.json +2 -2
- package/packages/firebase/src/handlers/check-store-events.ts +18 -9
- package/packages/modules/package.json +2 -2
- package/packages/passport/package.json +2 -2
- package/packages/ssr/package.json +2 -2
- package/packages/storefront/dist/client/client.6d48c590.js +1 -0
- package/packages/storefront/dist/server/entry.mjs +2 -2
- package/packages/storefront/package.json +7 -7
- package/packages/types/package.json +1 -1
- package/packages/storefront/dist/client/client.dbac84dd.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
### [0.0.67](https://github.com/ecomplus/cloud-commerce/compare/v0.0.66...v0.0.67) (2022-09-05)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **deps:** Update all non-major dependencies ([#46](https://github.com/ecomplus/cloud-commerce/issues/46)) ([e70233d](https://github.com/ecomplus/cloud-commerce/commit/e70233d3d31c7e90cf5cc14b52dfd0d717a1d664))
|
|
11
|
+
* **events:** Fix handling events timestamp by resource and last run ([f34fe3c](https://github.com/ecomplus/cloud-commerce/commit/f34fe3cde3d0ea8d52ac89b370e9e77b0432177e))
|
|
12
|
+
* **events:** Properly filter by last non-orders check timestamp ([0d81267](https://github.com/ecomplus/cloud-commerce/commit/0d812675d9eea009c05afa89ec115ce24efa8911))
|
|
13
|
+
|
|
5
14
|
### [0.0.66](https://github.com/ecomplus/cloud-commerce/compare/v0.0.65...v0.0.66) (2022-09-05)
|
|
6
15
|
|
|
7
16
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cloudcommerce",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.67",
|
|
5
5
|
"description": "Open fair-code headless commerce platform: API-first, microservices based, event driven and cloud native",
|
|
6
6
|
"main": "packages/api/lib/index.js",
|
|
7
7
|
"author": "E-Com Club Softwares para E-commerce <ti@e-com.club>",
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
}
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@commitlint/cli": "^17.1.
|
|
19
|
+
"@commitlint/cli": "^17.1.2",
|
|
20
20
|
"@commitlint/config-conventional": "^17.1.0",
|
|
21
21
|
"@commitlint/rules": "^17.0.0",
|
|
22
22
|
"@types/node": "^18.0.5",
|
|
23
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
24
|
-
"@typescript-eslint/parser": "^5.
|
|
25
|
-
"esbuild": "^0.15.
|
|
23
|
+
"@typescript-eslint/eslint-plugin": "^5.36.1",
|
|
24
|
+
"@typescript-eslint/parser": "^5.36.1",
|
|
25
|
+
"esbuild": "^0.15.7",
|
|
26
26
|
"eslint": "^8.23.0",
|
|
27
27
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
28
28
|
"eslint-plugin-import": "^2.26.0",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"node-fetch": "^3.2.10",
|
|
32
32
|
"standard-version": "^9.5.0",
|
|
33
33
|
"ts-node": "^10.9.1",
|
|
34
|
-
"turbo": "^1.4.
|
|
34
|
+
"turbo": "^1.4.5",
|
|
35
35
|
"typescript": "^4.8.2",
|
|
36
|
-
"vite": "^3.0
|
|
37
|
-
"vitest": "^0.
|
|
36
|
+
"vite": "^3.1.0",
|
|
37
|
+
"vitest": "^0.23.1",
|
|
38
38
|
"zx": "^7.0.8"
|
|
39
39
|
},
|
|
40
40
|
"scripts": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/app-tiny-erp",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.67",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce app for Tiny ERP",
|
|
6
6
|
"main": "lib/tiny-erp.js",
|
|
7
7
|
"repository": {
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"@ecomplus/utils": "^1.4.1",
|
|
25
25
|
"axios": "^0.27.2",
|
|
26
26
|
"firebase-admin": "^11.0.1",
|
|
27
|
-
"firebase-functions": "^3.
|
|
27
|
+
"firebase-functions": "^3.23.0",
|
|
28
28
|
"form-data": "^4.0.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/events",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.67",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce app events",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"exports": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@cloudcommerce/app-tiny-erp": "workspace:*",
|
|
28
28
|
"@cloudcommerce/firebase": "workspace:*",
|
|
29
29
|
"firebase-admin": "^11.0.1",
|
|
30
|
-
"firebase-functions": "^3.
|
|
30
|
+
"firebase-functions": "^3.23.0",
|
|
31
31
|
"source-map-support": "^0.5.21"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
@@ -8,10 +8,8 @@ import { EVENT_SKIP_FLAG, GET_PUBSUB_TOPIC } from '../const.js';
|
|
|
8
8
|
|
|
9
9
|
const parseEventName = (evName, baseApiEventsFilter) => {
|
|
10
10
|
const [resource, actionName] = evName.split('-');
|
|
11
|
-
const params = {
|
|
12
|
-
|
|
13
|
-
};
|
|
14
|
-
const bodySet = { ...baseApiEventsFilter };
|
|
11
|
+
const params = { ...baseApiEventsFilter };
|
|
12
|
+
const bodySet = {};
|
|
15
13
|
if (actionName === 'new') {
|
|
16
14
|
params.action = 'create';
|
|
17
15
|
} else {
|
|
@@ -76,9 +74,13 @@ const tryPubSubPublish = (topicName, messageObj, retries = 0) => {
|
|
|
76
74
|
export default async () => {
|
|
77
75
|
const timestamp = Date.now();
|
|
78
76
|
const documentRef = getFirestore().doc('storeEvents/last');
|
|
79
|
-
const
|
|
77
|
+
const documentSnapshot = await documentRef.get();
|
|
78
|
+
const lastRunTimestamp = documentSnapshot.get('timestamp')
|
|
80
79
|
|| Date.now() - 1000 * 60 * 5;
|
|
80
|
+
const lastNonOrdersTimestamp = documentSnapshot.get('nonOrdersTimestamp')
|
|
81
|
+
|| 0;
|
|
81
82
|
const baseApiEventsFilter = {
|
|
83
|
+
'flag!': EVENT_SKIP_FLAG,
|
|
82
84
|
'timestamp>': new Date(lastRunTimestamp - 1).toISOString(),
|
|
83
85
|
'timestamp<': new Date(timestamp).toISOString(),
|
|
84
86
|
};
|
|
@@ -107,11 +109,17 @@ export default async () => {
|
|
|
107
109
|
});
|
|
108
110
|
}
|
|
109
111
|
});
|
|
112
|
+
// Some resource events are not listened to every minute
|
|
113
|
+
const isOrdersOnly = Boolean(new Date().getMinutes() % 5);
|
|
110
114
|
listenedEvents.forEach(async (listenedEventName) => {
|
|
111
115
|
const { resource, params } = parseEventName(listenedEventName, baseApiEventsFilter);
|
|
112
|
-
if (resource !== 'orders'
|
|
113
|
-
|
|
114
|
-
|
|
116
|
+
if (resource !== 'orders') {
|
|
117
|
+
if (isOrdersOnly) {
|
|
118
|
+
return;
|
|
119
|
+
}
|
|
120
|
+
if (lastNonOrdersTimestamp) {
|
|
121
|
+
params['timestamp>'] = new Date(lastNonOrdersTimestamp).toISOString();
|
|
122
|
+
}
|
|
115
123
|
}
|
|
116
124
|
let { data: { result } } = await api.get(`events/${resource}`, {
|
|
117
125
|
params,
|
|
@@ -163,6 +171,7 @@ export default async () => {
|
|
|
163
171
|
});
|
|
164
172
|
return documentRef.set({
|
|
165
173
|
timestamp,
|
|
174
|
+
nonOrdersTimestamp: isOrdersOnly ? lastNonOrdersTimestamp : timestamp,
|
|
166
175
|
activeApps,
|
|
167
176
|
listenedEvents,
|
|
168
177
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"check-store-events.js","sourceRoot":"","sources":["../../src/handlers/check-store-events.ts"],"names":[],"mappings":"AACA,gDAAgD;AAChD,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,MAAM,MAAM,+BAA+B,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAC;AAC9C,OAAO,GAAkB,MAAM,oBAAoB,CAAC;AACpD,OAAO,MAAM,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAE7D,MAAM,cAAc,GAAG,CACrB,MAAoB,EACpB,mBAA2C,EAC3C,EAAE;IACF,MAAM,CAAC,QAAQ,EAAE,UAAU,CAAC,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACjD,MAAM,MAAM,GAAwB
|
|
1
|
+
{"version":3,"file":"check-store-events.js","sourceRoot":"","sources":["../../src/handlers/check-store-events.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/firebase",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.67",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce on Firebase",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "lib/index.d.ts",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"@cloudcommerce/config": "workspace:*",
|
|
34
34
|
"@google-cloud/pubsub": "^3.1.0",
|
|
35
35
|
"firebase-admin": "^11.0.1",
|
|
36
|
-
"firebase-functions": "^3.
|
|
36
|
+
"firebase-functions": "^3.23.0",
|
|
37
37
|
"node-fetch": "^3.2.10",
|
|
38
38
|
"source-map-support": "^0.5.21"
|
|
39
39
|
},
|
|
@@ -12,10 +12,8 @@ const parseEventName = (
|
|
|
12
12
|
baseApiEventsFilter: Record<string, string>,
|
|
13
13
|
) => {
|
|
14
14
|
const [resource, actionName] = evName.split('-');
|
|
15
|
-
const params: ApiConfig['params'] = {
|
|
16
|
-
|
|
17
|
-
};
|
|
18
|
-
const bodySet: { [key: string]: any } = { ...baseApiEventsFilter };
|
|
15
|
+
const params: ApiConfig['params'] = { ...baseApiEventsFilter };
|
|
16
|
+
const bodySet: { [key: string]: any } = {};
|
|
19
17
|
if (actionName === 'new') {
|
|
20
18
|
params.action = 'create';
|
|
21
19
|
} else {
|
|
@@ -62,7 +60,7 @@ const parseEventName = (
|
|
|
62
60
|
});
|
|
63
61
|
return { resource, params } as {
|
|
64
62
|
resource: Resource,
|
|
65
|
-
params: ApiConfig['params'],
|
|
63
|
+
params: Exclude<ApiConfig['params'], undefined>,
|
|
66
64
|
};
|
|
67
65
|
};
|
|
68
66
|
|
|
@@ -88,9 +86,13 @@ const tryPubSubPublish = (
|
|
|
88
86
|
export default async () => {
|
|
89
87
|
const timestamp = Date.now();
|
|
90
88
|
const documentRef = getFirestore().doc('storeEvents/last');
|
|
91
|
-
const
|
|
89
|
+
const documentSnapshot = await documentRef.get();
|
|
90
|
+
const lastRunTimestamp: number = documentSnapshot.get('timestamp')
|
|
92
91
|
|| Date.now() - 1000 * 60 * 5;
|
|
92
|
+
const lastNonOrdersTimestamp: number = documentSnapshot.get('nonOrdersTimestamp')
|
|
93
|
+
|| 0;
|
|
93
94
|
const baseApiEventsFilter = {
|
|
95
|
+
'flag!': EVENT_SKIP_FLAG,
|
|
94
96
|
'timestamp>': new Date(lastRunTimestamp - 1).toISOString(),
|
|
95
97
|
'timestamp<': new Date(timestamp).toISOString(),
|
|
96
98
|
};
|
|
@@ -119,11 +121,17 @@ export default async () => {
|
|
|
119
121
|
});
|
|
120
122
|
}
|
|
121
123
|
});
|
|
124
|
+
// Some resource events are not listened to every minute
|
|
125
|
+
const isOrdersOnly = Boolean(new Date().getMinutes() % 5);
|
|
122
126
|
listenedEvents.forEach(async (listenedEventName) => {
|
|
123
127
|
const { resource, params } = parseEventName(listenedEventName, baseApiEventsFilter);
|
|
124
|
-
if (resource !== 'orders'
|
|
125
|
-
|
|
126
|
-
|
|
128
|
+
if (resource !== 'orders') {
|
|
129
|
+
if (isOrdersOnly) {
|
|
130
|
+
return;
|
|
131
|
+
}
|
|
132
|
+
if (lastNonOrdersTimestamp) {
|
|
133
|
+
params['timestamp>'] = new Date(lastNonOrdersTimestamp).toISOString();
|
|
134
|
+
}
|
|
127
135
|
}
|
|
128
136
|
let { data: { result } } = await api.get(`events/${resource}`, {
|
|
129
137
|
params,
|
|
@@ -175,6 +183,7 @@ export default async () => {
|
|
|
175
183
|
});
|
|
176
184
|
return documentRef.set({
|
|
177
185
|
timestamp,
|
|
186
|
+
nonOrdersTimestamp: isOrdersOnly ? lastNonOrdersTimestamp : timestamp,
|
|
178
187
|
activeApps,
|
|
179
188
|
listenedEvents,
|
|
180
189
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/modules",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.67",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce modules API",
|
|
6
6
|
"main": "lib/index.cjs",
|
|
7
7
|
"exports": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"ajv": "^8.11.0",
|
|
33
33
|
"axios": "^0.27.2",
|
|
34
34
|
"firebase-admin": "^11.0.1",
|
|
35
|
-
"firebase-functions": "^3.
|
|
35
|
+
"firebase-functions": "^3.23.0",
|
|
36
36
|
"source-map-support": "^0.5.21"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/passport",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.67",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce customers authentication (passport) API",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"exports": {
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"@cloudcommerce/api": "workspace:*",
|
|
27
27
|
"@cloudcommerce/firebase": "workspace:*",
|
|
28
28
|
"firebase-admin": "^11.0.1",
|
|
29
|
-
"firebase-functions": "^3.
|
|
29
|
+
"firebase-functions": "^3.23.0",
|
|
30
30
|
"source-map-support": "^0.5.21"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/ssr",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.67",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce storefront SSR",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"exports": {
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@cloudcommerce/firebase": "workspace:*",
|
|
28
28
|
"@cloudcommerce/storefront": "workspace:*",
|
|
29
29
|
"firebase-admin": "^11.0.1",
|
|
30
|
-
"firebase-functions": "^3.
|
|
30
|
+
"firebase-functions": "^3.23.0",
|
|
31
31
|
"source-map-support": "^0.5.21"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function pn(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r<s.length;r++)n[s[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const fr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",cr=pn(fr);function ps(e){return!!e||e===""}function gn(e){if(R(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ie(s)?dr(s):gn(s);if(r)for(const i in r)t[i]=r[i]}return t}else{if(ie(e))return e;if(te(e))return e}}const ur=/;(?![^(]*\))/g,ar=/:(.+)/;function dr(e){const t={};return e.split(ur).forEach(n=>{if(n){const s=n.split(ar);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function mn(e){let t="";if(ie(e))t=e;else if(R(e))for(let n=0;n<e.length;n++){const s=mn(e[n]);s&&(t+=s+" ")}else if(te(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const S={},ct=[],ye=()=>{},hr=()=>!1,pr=/^on[^a-z]/,bt=e=>pr.test(e),_n=e=>e.startsWith("onUpdate:"),fe=Object.assign,bn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},gr=Object.prototype.hasOwnProperty,U=(e,t)=>gr.call(e,t),R=Array.isArray,ut=e=>$t(e)==="[object Map]",mr=e=>$t(e)==="[object Set]",H=e=>typeof e=="function",ie=e=>typeof e=="string",xn=e=>typeof e=="symbol",te=e=>e!==null&&typeof e=="object",gs=e=>te(e)&&H(e.then)&&H(e.catch),_r=Object.prototype.toString,$t=e=>_r.call(e),br=e=>$t(e).slice(8,-1),xr=e=>$t(e)==="[object Object]",yn=e=>ie(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,at=pn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Dt=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},yr=/-(\w)/g,ke=Dt(e=>e.replace(yr,(t,n)=>n?n.toUpperCase():"")),wr=/\B([A-Z])/g,nt=Dt(e=>e.replace(wr,"-$1").toLowerCase()),ms=Dt(e=>e.charAt(0).toUpperCase()+e.slice(1)),zt=Dt(e=>e?`on${ms(e)}`:""),It=(e,t)=>!Object.is(e,t),Xt=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Rt=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Er=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Bn;const Tr=()=>Bn||(Bn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Te;class Cr{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Te&&(this.parent=Te,this.index=(Te.scopes||(Te.scopes=[])).push(this)-1)}run(t){if(this.active){const n=Te;try{return Te=this,t()}finally{Te=n}}}on(){Te=this}off(){Te=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.active=!1}}}function Mr(e,t=Te){t&&t.active&&t.effects.push(e)}const wn=e=>{const t=new Set(e);return t.w=0,t.n=0,t},_s=e=>(e.w&$e)>0,bs=e=>(e.n&$e)>0,Or=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=$e},Fr=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];_s(r)&&!bs(r)?r.delete(e):t[n++]=r,r.w&=~$e,r.n&=~$e}t.length=n}},en=new WeakMap;let ft=0,$e=1;const tn=30;let xe;const Se=Symbol(""),nn=Symbol("");class En{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Mr(this,s)}run(){if(!this.active)return this.fn();let t=xe,n=Ue;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=xe,xe=this,Ue=!0,$e=1<<++ft,ft<=tn?Or(this):Wn(this),this.fn()}finally{ft<=tn&&Fr(this),$e=1<<--ft,xe=this.parent,Ue=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){xe===this?this.deferStop=!0:this.active&&(Wn(this),this.onStop&&this.onStop(),this.active=!1)}}function Wn(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Ue=!0;const xs=[];function st(){xs.push(Ue),Ue=!1}function rt(){const e=xs.pop();Ue=e===void 0?!0:e}function de(e,t,n){if(Ue&&xe){let s=en.get(e);s||en.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=wn()),ys(r)}}function ys(e,t){let n=!1;ft<=tn?bs(e)||(e.n|=$e,n=!_s(e)):n=!e.has(xe),n&&(e.add(xe),xe.deps.push(e))}function Ie(e,t,n,s,r,i){const o=en.get(e);if(!o)return;let f=[];if(t==="clear")f=[...o.values()];else if(n==="length"&&R(e))o.forEach((u,d)=>{(d==="length"||d>=s)&&f.push(u)});else switch(n!==void 0&&f.push(o.get(n)),t){case"add":R(e)?yn(n)&&f.push(o.get("length")):(f.push(o.get(Se)),ut(e)&&f.push(o.get(nn)));break;case"delete":R(e)||(f.push(o.get(Se)),ut(e)&&f.push(o.get(nn)));break;case"set":ut(e)&&f.push(o.get(Se));break}if(f.length===1)f[0]&&sn(f[0]);else{const u=[];for(const d of f)d&&u.push(...d);sn(wn(u))}}function sn(e,t){const n=R(e)?e:[...e];for(const s of n)s.computed&&Sn(s);for(const s of n)s.computed||Sn(s)}function Sn(e,t){(e!==xe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Ar=pn("__proto__,__v_isRef,__isVue"),ws=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(xn)),Pr=Tn(),Ir=Tn(!1,!0),Rr=Tn(!0),qn=Nr();function Nr(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=D(this);for(let i=0,o=this.length;i<o;i++)de(s,"get",i+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(D)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){st();const s=D(this)[t].apply(this,n);return rt(),s}}),e}function Tn(e=!1,t=!1){return function(s,r,i){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&i===(e?t?zr:Os:t?Ms:Cs).get(s))return s;const o=R(s);if(!e&&o&&U(qn,r))return Reflect.get(qn,r,i);const f=Reflect.get(s,r,i);return(xn(r)?ws.has(r):Ar(r))||(e||de(s,"get",r),t)?f:oe(f)?o&&yn(r)?f:f.value:te(f)?e?Fs(f):On(f):f}}const Hr=Es(),vr=Es(!0);function Es(e=!1){return function(n,s,r,i){let o=n[s];if(pt(o)&&oe(o)&&!oe(r))return!1;if(!e&&(!rn(r)&&!pt(r)&&(o=D(o),r=D(r)),!R(n)&&oe(o)&&!oe(r)))return o.value=r,!0;const f=R(n)&&yn(s)?Number(s)<n.length:U(n,s),u=Reflect.set(n,s,r,i);return n===D(i)&&(f?It(r,o)&&Ie(n,"set",s,r):Ie(n,"add",s,r)),u}}function jr(e,t){const n=U(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&Ie(e,"delete",t,void 0),s}function Ur(e,t){const n=Reflect.has(e,t);return(!xn(t)||!ws.has(t))&&de(e,"has",t),n}function Lr(e){return de(e,"iterate",R(e)?"length":Se),Reflect.ownKeys(e)}const Ts={get:Pr,set:Hr,deleteProperty:jr,has:Ur,ownKeys:Lr},$r={get:Rr,set(e,t){return!0},deleteProperty(e,t){return!0}},Dr=fe({},Ts,{get:Ir,set:vr}),Cn=e=>e,Kt=e=>Reflect.getPrototypeOf(e);function yt(e,t,n=!1,s=!1){e=e.__v_raw;const r=D(e),i=D(t);n||(t!==i&&de(r,"get",t),de(r,"get",i));const{has:o}=Kt(r),f=s?Cn:n?Pn:An;if(o.call(r,t))return f(e.get(t));if(o.call(r,i))return f(e.get(i));e!==r&&e.get(t)}function wt(e,t=!1){const n=this.__v_raw,s=D(n),r=D(e);return t||(e!==r&&de(s,"has",e),de(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Et(e,t=!1){return e=e.__v_raw,!t&&de(D(e),"iterate",Se),Reflect.get(e,"size",e)}function Jn(e){e=D(e);const t=D(this);return Kt(t).has.call(t,e)||(t.add(e),Ie(t,"add",e,e)),this}function Yn(e,t){t=D(t);const n=D(this),{has:s,get:r}=Kt(n);let i=s.call(n,e);i||(e=D(e),i=s.call(n,e));const o=r.call(n,e);return n.set(e,t),i?It(t,o)&&Ie(n,"set",e,t):Ie(n,"add",e,t),this}function Vn(e){const t=D(this),{has:n,get:s}=Kt(t);let r=n.call(t,e);r||(e=D(e),r=n.call(t,e)),s&&s.call(t,e);const i=t.delete(e);return r&&Ie(t,"delete",e,void 0),i}function zn(){const e=D(this),t=e.size!==0,n=e.clear();return t&&Ie(e,"clear",void 0,void 0),n}function Tt(e,t){return function(s,r){const i=this,o=i.__v_raw,f=D(o),u=t?Cn:e?Pn:An;return!e&&de(f,"iterate",Se),o.forEach((d,_)=>s.call(r,u(d),u(_),i))}}function Ct(e,t,n){return function(...s){const r=this.__v_raw,i=D(r),o=ut(i),f=e==="entries"||e===Symbol.iterator&&o,u=e==="keys"&&o,d=r[e](...s),_=n?Cn:t?Pn:An;return!t&&de(i,"iterate",u?nn:Se),{next(){const{value:w,done:M}=d.next();return M?{value:w,done:M}:{value:f?[_(w[0]),_(w[1])]:_(w),done:M}},[Symbol.iterator](){return this}}}}function He(e){return function(...t){return e==="delete"?!1:this}}function Kr(){const e={get(i){return yt(this,i)},get size(){return Et(this)},has:wt,add:Jn,set:Yn,delete:Vn,clear:zn,forEach:Tt(!1,!1)},t={get(i){return yt(this,i,!1,!0)},get size(){return Et(this)},has:wt,add:Jn,set:Yn,delete:Vn,clear:zn,forEach:Tt(!1,!0)},n={get(i){return yt(this,i,!0)},get size(){return Et(this,!0)},has(i){return wt.call(this,i,!0)},add:He("add"),set:He("set"),delete:He("delete"),clear:He("clear"),forEach:Tt(!0,!1)},s={get(i){return yt(this,i,!0,!0)},get size(){return Et(this,!0)},has(i){return wt.call(this,i,!0)},add:He("add"),set:He("set"),delete:He("delete"),clear:He("clear"),forEach:Tt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=Ct(i,!1,!1),n[i]=Ct(i,!0,!1),t[i]=Ct(i,!1,!0),s[i]=Ct(i,!0,!0)}),[e,n,t,s]}const[Br,Wr,Sr,qr]=Kr();function Mn(e,t){const n=t?e?qr:Sr:e?Wr:Br;return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(U(n,r)&&r in s?n:s,r,i)}const Jr={get:Mn(!1,!1)},Yr={get:Mn(!1,!0)},Vr={get:Mn(!0,!1)},Cs=new WeakMap,Ms=new WeakMap,Os=new WeakMap,zr=new WeakMap;function Xr(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Zr(e){return e.__v_skip||!Object.isExtensible(e)?0:Xr(br(e))}function On(e){return pt(e)?e:Fn(e,!1,Ts,Jr,Cs)}function Qr(e){return Fn(e,!1,Dr,Yr,Ms)}function Fs(e){return Fn(e,!0,$r,Vr,Os)}function Fn(e,t,n,s,r){if(!te(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=r.get(e);if(i)return i;const o=Zr(e);if(o===0)return e;const f=new Proxy(e,o===2?s:n);return r.set(e,f),f}function Ze(e){return pt(e)?Ze(e.__v_raw):!!(e&&e.__v_isReactive)}function pt(e){return!!(e&&e.__v_isReadonly)}function rn(e){return!!(e&&e.__v_isShallow)}function As(e){return Ze(e)||pt(e)}function D(e){const t=e&&e.__v_raw;return t?D(t):e}function Ps(e){return Rt(e,"__v_skip",!0),e}const An=e=>te(e)?On(e):e,Pn=e=>te(e)?Fs(e):e;function kr(e){Ue&&xe&&(e=D(e),ys(e.dep||(e.dep=wn())))}function Gr(e,t){e=D(e),e.dep&&sn(e.dep)}function oe(e){return!!(e&&e.__v_isRef===!0)}function ei(e){return oe(e)?e.value:e}const ti={get:(e,t,n)=>ei(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return oe(r)&&!oe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Is(e){return Ze(e)?e:new Proxy(e,ti)}var Rs;class ni{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this[Rs]=!1,this._dirty=!0,this.effect=new En(t,()=>{this._dirty||(this._dirty=!0,Gr(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=D(this);return kr(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}Rs="__v_isReadonly";function si(e,t,n=!1){let s,r;const i=H(e);return i?(s=e,r=ye):(s=e.get,r=e.set),new ni(s,r,i||!r,n)}function Le(e,t,n,s){let r;try{r=s?e(...s):e()}catch(i){Bt(i,t,n)}return r}function we(e,t,n,s){if(H(e)){const i=Le(e,t,n,s);return i&&gs(i)&&i.catch(o=>{Bt(o,t,n)}),i}const r=[];for(let i=0;i<e.length;i++)r.push(we(e[i],t,n,s));return r}function Bt(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let i=t.parent;const o=t.proxy,f=n;for(;i;){const d=i.ec;if(d){for(let _=0;_<d.length;_++)if(d[_](e,o,f)===!1)return}i=i.parent}const u=t.appContext.config.errorHandler;if(u){Le(u,null,10,[e,o,f]);return}}ri(e,n,r,s)}function ri(e,t,n,s=!0){console.error(e)}let Nt=!1,ln=!1;const se=[];let Me=0;const Qe=[];let Ae=null,Be=0;const Ns=Promise.resolve();let In=null;function ii(e){const t=In||Ns;return e?t.then(this?e.bind(this):e):t}function li(e){let t=Me+1,n=se.length;for(;t<n;){const s=t+n>>>1;gt(se[s])<e?t=s+1:n=s}return t}function Rn(e){(!se.length||!se.includes(e,Nt&&e.allowRecurse?Me+1:Me))&&(e.id==null?se.push(e):se.splice(li(e.id),0,e),Hs())}function Hs(){!Nt&&!ln&&(ln=!0,In=Ns.then(vs))}function oi(e){const t=se.indexOf(e);t>Me&&se.splice(t,1)}function fi(e){R(e)?Qe.push(...e):(!Ae||!Ae.includes(e,e.allowRecurse?Be+1:Be))&&Qe.push(e),Hs()}function Xn(e,t=Me){for(;t<se.length;t++){const n=se[t];n&&n.pre&&(se.splice(t,1),t--,n())}}function Ht(e){if(Qe.length){const t=[...new Set(Qe)];if(Qe.length=0,Ae){Ae.push(...t);return}for(Ae=t,Ae.sort((n,s)=>gt(n)-gt(s)),Be=0;Be<Ae.length;Be++)Ae[Be]();Ae=null,Be=0}}const gt=e=>e.id==null?1/0:e.id,ci=(e,t)=>{const n=gt(e)-gt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function vs(e){ln=!1,Nt=!0,se.sort(ci);const t=ye;try{for(Me=0;Me<se.length;Me++){const n=se[Me];n&&n.active!==!1&&Le(n,null,14)}}finally{Me=0,se.length=0,Ht(),Nt=!1,In=null,(se.length||Qe.length)&&vs()}}function ui(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||S;let r=n;const i=t.startsWith("update:"),o=i&&t.slice(7);if(o&&o in s){const _=`${o==="modelValue"?"model":o}Modifiers`,{number:w,trim:M}=s[_]||S;M&&(r=n.map(I=>I.trim())),w&&(r=n.map(Er))}let f,u=s[f=zt(t)]||s[f=zt(ke(t))];!u&&i&&(u=s[f=zt(nt(t))]),u&&we(u,e,6,r);const d=s[f+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[f])return;e.emitted[f]=!0,we(d,e,6,r)}}function js(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},f=!1;if(!H(e)){const u=d=>{const _=js(d,t,!0);_&&(f=!0,fe(o,_))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!i&&!f?(te(e)&&s.set(e,null),null):(R(i)?i.forEach(u=>o[u]=null):fe(o,i),te(e)&&s.set(e,o),o)}function Wt(e,t){return!e||!bt(t)?!1:(t=t.slice(2).replace(/Once$/,""),U(e,t[0].toLowerCase()+t.slice(1))||U(e,nt(t))||U(e,t))}let Pe=null,Us=null;function vt(e){const t=Pe;return Pe=e,Us=e&&e.type.__scopeId||null,t}function ai(e,t=Pe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&rs(-1);const i=vt(t),o=e(...r);return vt(i),s._d&&rs(1),o};return s._n=!0,s._c=!0,s._d=!0,s}function Zt(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:i,propsOptions:[o],slots:f,attrs:u,emit:d,render:_,renderCache:w,data:M,setupState:I,ctx:K,inheritAttrs:G}=e;let v,m;const T=vt(e);try{if(n.shapeFlag&4){const L=r||s;v=be(_.call(L,L,w,i,I,M,K)),m=u}else{const L=t;v=be(L.length>1?L(i,{attrs:u,slots:f,emit:d}):L(i,null)),m=t.props?u:di(u)}}catch(L){Bt(L,e,1),v=ae(Ge)}let N=v;if(m&&G!==!1){const L=Object.keys(m),{shapeFlag:q}=N;L.length&&q&7&&(o&&L.some(_n)&&(m=hi(m,o)),N=et(N,m))}return n.dirs&&(N=et(N),N.dirs=N.dirs?N.dirs.concat(n.dirs):n.dirs),n.transition&&(N.transition=n.transition),v=N,vt(T),v}const di=e=>{let t;for(const n in e)(n==="class"||n==="style"||bt(n))&&((t||(t={}))[n]=e[n]);return t},hi=(e,t)=>{const n={};for(const s in e)(!_n(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function pi(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:f,patchFlag:u}=t,d=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return s?Zn(s,o,d):!!o;if(u&8){const _=t.dynamicProps;for(let w=0;w<_.length;w++){const M=_[w];if(o[M]!==s[M]&&!Wt(d,M))return!0}}}else return(r||f)&&(!f||!f.$stable)?!0:s===o?!1:s?o?Zn(s,o,d):!0:!!o;return!1}function Zn(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]&&!Wt(n,i))return!0}return!1}function gi({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const mi=e=>e.__isSuspense;function Ls(e,t){t&&t.pendingBranch?R(e)?t.effects.push(...e):t.effects.push(e):fi(e)}function _i(e,t){if(re){let n=re.provides;const s=re.parent&&re.parent.provides;s===n&&(n=re.provides=Object.create(s)),n[e]=t}}function Qt(e,t,n=!1){const s=re||Pe;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&H(t)?t.call(s.proxy):t}}const Qn={};function kt(e,t,n){return $s(e,t,n)}function $s(e,t,{immediate:n,deep:s,flush:r,onTrack:i,onTrigger:o}=S){const f=re;let u,d=!1,_=!1;if(oe(e)?(u=()=>e.value,d=rn(e)):Ze(e)?(u=()=>e,s=!0):R(e)?(_=!0,d=e.some(m=>Ze(m)||rn(m)),u=()=>e.map(m=>{if(oe(m))return m.value;if(Ze(m))return ze(m);if(H(m))return Le(m,f,2)})):H(e)?t?u=()=>Le(e,f,2):u=()=>{if(!(f&&f.isUnmounted))return w&&w(),we(e,f,3,[M])}:u=ye,t&&s){const m=u;u=()=>ze(m())}let w,M=m=>{w=v.onStop=()=>{Le(m,f,4)}};if(_t)return M=ye,t?n&&we(t,f,3,[u(),_?[]:void 0,M]):u(),ye;let I=_?[]:Qn;const K=()=>{if(!!v.active)if(t){const m=v.run();(s||d||(_?m.some((T,N)=>It(T,I[N])):It(m,I)))&&(w&&w(),we(t,f,3,[m,I===Qn?void 0:I,M]),I=m)}else v.run()};K.allowRecurse=!!t;let G;r==="sync"?G=K:r==="post"?G=()=>ce(K,f&&f.suspense):(K.pre=!0,f&&(K.id=f.uid),G=()=>Rn(K));const v=new En(u,G);return t?n?K():I=v.run():r==="post"?ce(v.run.bind(v),f&&f.suspense):v.run(),()=>{v.stop(),f&&f.scope&&bn(f.scope.effects,v)}}function bi(e,t,n){const s=this.proxy,r=ie(e)?e.includes(".")?Ds(s,e):()=>s[e]:e.bind(s,s);let i;H(t)?i=t:(i=t.handler,n=t);const o=re;tt(this);const f=$s(r,i.bind(s),n);return o?tt(o):qe(),f}function Ds(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}}function ze(e,t){if(!te(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),oe(e))ze(e.value,t);else if(R(e))for(let n=0;n<e.length;n++)ze(e[n],t);else if(mr(e)||ut(e))e.forEach(n=>{ze(n,t)});else if(xr(e))for(const n in e)ze(e[n],t);return e}function xi(e){return H(e)?{setup:e,name:e.name}:e}const dt=e=>!!e.type.__asyncLoader,Ks=e=>e.type.__isKeepAlive;function yi(e,t){Bs(e,"a",t)}function wi(e,t){Bs(e,"da",t)}function Bs(e,t,n=re){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(St(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Ks(r.parent.vnode)&&Ei(s,t,n,r),r=r.parent}}function Ei(e,t,n,s){const r=St(t,e,s,!0);Ws(()=>{bn(s[t],r)},n)}function St(e,t,n=re,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;st(),tt(n);const f=we(t,n,e,o);return qe(),rt(),f});return s?r.unshift(i):r.push(i),i}}const Re=e=>(t,n=re)=>(!_t||e==="sp")&&St(e,t,n),Ti=Re("bm"),Ci=Re("m"),Mi=Re("bu"),Oi=Re("u"),Fi=Re("bum"),Ws=Re("um"),Ai=Re("sp"),Pi=Re("rtg"),Ii=Re("rtc");function Ri(e,t=re){St("ec",e,t)}function Ce(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const f=r[o];i&&(f.oldValue=i[o].value);let u=f.dir[s];u&&(st(),we(u,n,8,[e.el,f,e,t]),rt())}}const Ni=Symbol(),on=e=>e?tr(e)?jn(e)||e.proxy:on(e.parent):null,jt=fe(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=>on(e.parent),$root:e=>on(e.root),$emit:e=>e.emit,$options:e=>qs(e),$forceUpdate:e=>e.f||(e.f=()=>Rn(e.update)),$nextTick:e=>e.n||(e.n=ii.bind(e.proxy)),$watch:e=>bi.bind(e)}),Hi={get({_:e},t){const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:f,appContext:u}=e;let d;if(t[0]!=="$"){const I=o[t];if(I!==void 0)switch(I){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(s!==S&&U(s,t))return o[t]=1,s[t];if(r!==S&&U(r,t))return o[t]=2,r[t];if((d=e.propsOptions[0])&&U(d,t))return o[t]=3,i[t];if(n!==S&&U(n,t))return o[t]=4,n[t];fn&&(o[t]=0)}}const _=jt[t];let w,M;if(_)return t==="$attrs"&&de(e,"get",t),_(e);if((w=f.__cssModules)&&(w=w[t]))return w;if(n!==S&&U(n,t))return o[t]=4,n[t];if(M=u.config.globalProperties,U(M,t))return M[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return r!==S&&U(r,t)?(r[t]=n,!0):s!==S&&U(s,t)?(s[t]=n,!0):U(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 f;return!!n[o]||e!==S&&U(e,o)||t!==S&&U(t,o)||(f=i[0])&&U(f,o)||U(s,o)||U(jt,o)||U(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:U(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let fn=!0;function vi(e){const t=qs(e),n=e.proxy,s=e.ctx;fn=!1,t.beforeCreate&&kn(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:f,provide:u,inject:d,created:_,beforeMount:w,mounted:M,beforeUpdate:I,updated:K,activated:G,deactivated:v,beforeDestroy:m,beforeUnmount:T,destroyed:N,unmounted:L,render:q,renderTracked:Z,renderTriggered:V,errorCaptured:j,serverPrefetch:X,expose:ee,inheritAttrs:Q,components:pe,directives:ne,filters:A}=t;if(d&&ji(d,s,null,e.appContext.config.unwrapInjectedRef),o)for(const k in o){const J=o[k];H(J)&&(s[k]=J.bind(n))}if(r){const k=r.call(n,n);te(k)&&(e.data=On(k))}if(fn=!0,i)for(const k in i){const J=i[k],Oe=H(J)?J.bind(n,n):H(J.get)?J.get.bind(n,n):ye,Jt=!H(J)&&H(J.set)?J.set.bind(n):ye,it=cl({get:Oe,set:Jt});Object.defineProperty(s,k,{enumerable:!0,configurable:!0,get:()=>it.value,set:Je=>it.value=Je})}if(f)for(const k in f)Ss(f[k],s,n,k);if(u){const k=H(u)?u.call(n):u;Reflect.ownKeys(k).forEach(J=>{_i(J,k[J])})}_&&kn(_,e,"c");function z(k,J){R(J)?J.forEach(Oe=>k(Oe.bind(n))):J&&k(J.bind(n))}if(z(Ti,w),z(Ci,M),z(Mi,I),z(Oi,K),z(yi,G),z(wi,v),z(Ri,j),z(Ii,Z),z(Pi,V),z(Fi,T),z(Ws,L),z(Ai,X),R(ee))if(ee.length){const k=e.exposed||(e.exposed={});ee.forEach(J=>{Object.defineProperty(k,J,{get:()=>n[J],set:Oe=>n[J]=Oe})})}else e.exposed||(e.exposed={});q&&e.render===ye&&(e.render=q),Q!=null&&(e.inheritAttrs=Q),pe&&(e.components=pe),ne&&(e.directives=ne)}function ji(e,t,n=ye,s=!1){R(e)&&(e=cn(e));for(const r in e){const i=e[r];let o;te(i)?"default"in i?o=Qt(i.from||r,i.default,!0):o=Qt(i.from||r):o=Qt(i),oe(o)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:f=>o.value=f}):t[r]=o}}function kn(e,t,n){we(R(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ss(e,t,n,s){const r=s.includes(".")?Ds(n,s):()=>n[s];if(ie(e)){const i=t[e];H(i)&&kt(r,i)}else if(H(e))kt(r,e.bind(n));else if(te(e))if(R(e))e.forEach(i=>Ss(i,t,n,s));else{const i=H(e.handler)?e.handler.bind(n):t[e.handler];H(i)&&kt(r,i,e)}}function qs(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,f=i.get(t);let u;return f?u=f:!r.length&&!n&&!s?u=t:(u={},r.length&&r.forEach(d=>Ut(u,d,o,!0)),Ut(u,t,o)),te(t)&&i.set(t,u),u}function Ut(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Ut(e,i,n,!0),r&&r.forEach(o=>Ut(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const f=Ui[o]||n&&n[o];e[o]=f?f(e[o],t[o]):t[o]}return e}const Ui={data:Gn,props:Ke,emits:Ke,methods:Ke,computed:Ke,beforeCreate:le,created:le,beforeMount:le,mounted:le,beforeUpdate:le,updated:le,beforeDestroy:le,beforeUnmount:le,destroyed:le,unmounted:le,activated:le,deactivated:le,errorCaptured:le,serverPrefetch:le,components:Ke,directives:Ke,watch:$i,provide:Gn,inject:Li};function Gn(e,t){return t?e?function(){return fe(H(e)?e.call(this,this):e,H(t)?t.call(this,this):t)}:t:e}function Li(e,t){return Ke(cn(e),cn(t))}function cn(e){if(R(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function le(e,t){return e?[...new Set([].concat(e,t))]:t}function Ke(e,t){return e?fe(fe(Object.create(null),e),t):t}function $i(e,t){if(!e)return t;if(!t)return e;const n=fe(Object.create(null),e);for(const s in t)n[s]=le(e[s],t[s]);return n}function Di(e,t,n,s=!1){const r={},i={};Rt(i,qt,1),e.propsDefaults=Object.create(null),Js(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:Qr(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Ki(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,f=D(r),[u]=e.propsOptions;let d=!1;if((s||o>0)&&!(o&16)){if(o&8){const _=e.vnode.dynamicProps;for(let w=0;w<_.length;w++){let M=_[w];if(Wt(e.emitsOptions,M))continue;const I=t[M];if(u)if(U(i,M))I!==i[M]&&(i[M]=I,d=!0);else{const K=ke(M);r[K]=un(u,f,K,I,e,!1)}else I!==i[M]&&(i[M]=I,d=!0)}}}else{Js(e,t,r,i)&&(d=!0);let _;for(const w in f)(!t||!U(t,w)&&((_=nt(w))===w||!U(t,_)))&&(u?n&&(n[w]!==void 0||n[_]!==void 0)&&(r[w]=un(u,f,w,void 0,e,!0)):delete r[w]);if(i!==f)for(const w in i)(!t||!U(t,w)&&!0)&&(delete i[w],d=!0)}d&&Ie(e,"set","$attrs")}function Js(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,f;if(t)for(let u in t){if(at(u))continue;const d=t[u];let _;r&&U(r,_=ke(u))?!i||!i.includes(_)?n[_]=d:(f||(f={}))[_]=d:Wt(e.emitsOptions,u)||(!(u in s)||d!==s[u])&&(s[u]=d,o=!0)}if(i){const u=D(n),d=f||S;for(let _=0;_<i.length;_++){const w=i[_];n[w]=un(r,u,w,d[w],e,!U(d,w))}}return o}function un(e,t,n,s,r,i){const o=e[n];if(o!=null){const f=U(o,"default");if(f&&s===void 0){const u=o.default;if(o.type!==Function&&H(u)){const{propsDefaults:d}=r;n in d?s=d[n]:(tt(r),s=d[n]=u.call(null,t),qe())}else s=u}o[0]&&(i&&!f?s=!1:o[1]&&(s===""||s===nt(n))&&(s=!0))}return s}function Ys(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},f=[];let u=!1;if(!H(e)){const _=w=>{u=!0;const[M,I]=Ys(w,t,!0);fe(o,M),I&&f.push(...I)};!n&&t.mixins.length&&t.mixins.forEach(_),e.extends&&_(e.extends),e.mixins&&e.mixins.forEach(_)}if(!i&&!u)return te(e)&&s.set(e,ct),ct;if(R(i))for(let _=0;_<i.length;_++){const w=ke(i[_]);es(w)&&(o[w]=S)}else if(i)for(const _ in i){const w=ke(_);if(es(w)){const M=i[_],I=o[w]=R(M)||H(M)?{type:M}:M;if(I){const K=ss(Boolean,I.type),G=ss(String,I.type);I[0]=K>-1,I[1]=G<0||K<G,(K>-1||U(I,"default"))&&f.push(w)}}}const d=[o,f];return te(e)&&s.set(e,d),d}function es(e){return e[0]!=="$"}function ts(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function ns(e,t){return ts(e)===ts(t)}function ss(e,t){return R(t)?t.findIndex(n=>ns(n,e)):H(t)&&ns(t,e)?0:-1}const Vs=e=>e[0]==="_"||e==="$stable",Nn=e=>R(e)?e.map(be):[be(e)],Bi=(e,t,n)=>{if(t._n)return t;const s=ai((...r)=>Nn(t(...r)),n);return s._c=!1,s},zs=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Vs(r))continue;const i=e[r];if(H(i))t[r]=Bi(r,i,s);else if(i!=null){const o=Nn(i);t[r]=()=>o}}},Xs=(e,t)=>{const n=Nn(t);e.slots.default=()=>n},Wi=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=D(t),Rt(t,"_",n)):zs(t,e.slots={})}else e.slots={},t&&Xs(e,t);Rt(e.slots,qt,1)},Si=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=S;if(s.shapeFlag&32){const f=t._;f?n&&f===1?i=!1:(fe(r,t),!n&&f===1&&delete r._):(i=!t.$stable,zs(t,r)),o=t}else t&&(Xs(e,t),o={default:1});if(i)for(const f in r)!Vs(f)&&!(f in o)&&delete r[f]};function Zs(){return{app:null,config:{isNativeTag:hr,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 qi=0;function Ji(e,t){return function(s,r=null){H(s)||(s=Object.assign({},s)),r!=null&&!te(r)&&(r=null);const i=Zs(),o=new Set;let f=!1;const u=i.app={_uid:qi++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:ul,get config(){return i.config},set config(d){},use(d,..._){return o.has(d)||(d&&H(d.install)?(o.add(d),d.install(u,..._)):H(d)&&(o.add(d),d(u,..._))),u},mixin(d){return i.mixins.includes(d)||i.mixins.push(d),u},component(d,_){return _?(i.components[d]=_,u):i.components[d]},directive(d,_){return _?(i.directives[d]=_,u):i.directives[d]},mount(d,_,w){if(!f){const M=ae(s,r);return M.appContext=i,_&&t?t(M,d):e(M,d,w),f=!0,u._container=d,d.__vue_app__=u,jn(M.component)||M.component.proxy}},unmount(){f&&(e(null,u._container),delete u._container.__vue_app__)},provide(d,_){return i.provides[d]=_,u}};return u}}function Lt(e,t,n,s,r=!1){if(R(e)){e.forEach((M,I)=>Lt(M,t&&(R(t)?t[I]:t),n,s,r));return}if(dt(s)&&!r)return;const i=s.shapeFlag&4?jn(s.component)||s.component.proxy:s.el,o=r?null:i,{i:f,r:u}=e,d=t&&t.r,_=f.refs===S?f.refs={}:f.refs,w=f.setupState;if(d!=null&&d!==u&&(ie(d)?(_[d]=null,U(w,d)&&(w[d]=null)):oe(d)&&(d.value=null)),H(u))Le(u,f,12,[o,_]);else{const M=ie(u),I=oe(u);if(M||I){const K=()=>{if(e.f){const G=M?_[u]:u.value;r?R(G)&&bn(G,i):R(G)?G.includes(i)||G.push(i):M?(_[u]=[i],U(w,u)&&(w[u]=_[u])):(u.value=[i],e.k&&(_[e.k]=u.value))}else M?(_[u]=o,U(w,u)&&(w[u]=o)):I&&(u.value=o,e.k&&(_[e.k]=o))};o?(K.id=-1,ce(K,n)):K()}}}let ve=!1;const Mt=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Ot=e=>e.nodeType===8;function Yi(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:i,parentNode:o,remove:f,insert:u,createComment:d}}=e,_=(m,T)=>{if(!T.hasChildNodes()){n(null,m,T),Ht(),T._vnode=m;return}ve=!1,w(T.firstChild,m,null,null,null),Ht(),T._vnode=m,ve&&console.error("Hydration completed but contains mismatches.")},w=(m,T,N,L,q,Z=!1)=>{const V=Ot(m)&&m.data==="[",j=()=>G(m,T,N,L,q,V),{type:X,ref:ee,shapeFlag:Q,patchFlag:pe}=T,ne=m.nodeType;T.el=m,pe===-2&&(Z=!1,T.dynamicChildren=null);let A=null;switch(X){case mt:ne!==3?T.children===""?(u(T.el=r(""),o(m),m),A=m):A=j():(m.data!==T.children&&(ve=!0,m.data=T.children),A=i(m));break;case Ge:ne!==8||V?A=j():A=i(m);break;case Ft:if(ne!==1&&ne!==3)A=j();else{A=m;const ge=!T.children.length;for(let z=0;z<T.staticCount;z++)ge&&(T.children+=A.nodeType===1?A.outerHTML:A.data),z===T.staticCount-1&&(T.anchor=A),A=i(A);return A}break;case _e:V?A=K(m,T,N,L,q,Z):A=j();break;default:if(Q&1)ne!==1||T.type.toLowerCase()!==m.tagName.toLowerCase()?A=j():A=M(m,T,N,L,q,Z);else if(Q&6){T.slotScopeIds=q;const ge=o(m);if(t(T,ge,null,N,L,Mt(ge),Z),A=V?v(m):i(m),A&&Ot(A)&&A.data==="teleport end"&&(A=i(A)),dt(T)){let z;V?(z=ae(_e),z.anchor=A?A.previousSibling:ge.lastChild):z=m.nodeType===3?er(""):ae("div"),z.el=m,T.component.subTree=z}}else Q&64?ne!==8?A=j():A=T.type.hydrate(m,T,N,L,q,Z,e,I):Q&128&&(A=T.type.hydrate(m,T,N,L,Mt(o(m)),q,Z,e,w))}return ee!=null&&Lt(ee,null,L,T),A},M=(m,T,N,L,q,Z)=>{Z=Z||!!T.dynamicChildren;const{type:V,props:j,patchFlag:X,shapeFlag:ee,dirs:Q}=T,pe=V==="input"&&Q||V==="option";if(pe||X!==-1){if(Q&&Ce(T,null,N,"created"),j)if(pe||!Z||X&48)for(const A in j)(pe&&A.endsWith("value")||bt(A)&&!at(A))&&s(m,A,null,j[A],!1,void 0,N);else j.onClick&&s(m,"onClick",null,j.onClick,!1,void 0,N);let ne;if((ne=j&&j.onVnodeBeforeMount)&&he(ne,N,T),Q&&Ce(T,null,N,"beforeMount"),((ne=j&&j.onVnodeMounted)||Q)&&Ls(()=>{ne&&he(ne,N,T),Q&&Ce(T,null,N,"mounted")},L),ee&16&&!(j&&(j.innerHTML||j.textContent))){let A=I(m.firstChild,T,m,N,L,q,Z);for(;A;){ve=!0;const ge=A;A=A.nextSibling,f(ge)}}else ee&8&&m.textContent!==T.children&&(ve=!0,m.textContent=T.children)}return m.nextSibling},I=(m,T,N,L,q,Z,V)=>{V=V||!!T.dynamicChildren;const j=T.children,X=j.length;for(let ee=0;ee<X;ee++){const Q=V?j[ee]:j[ee]=be(j[ee]);if(m)m=w(m,Q,L,q,Z,V);else{if(Q.type===mt&&!Q.children)continue;ve=!0,n(null,Q,N,null,L,q,Mt(N),Z)}}return m},K=(m,T,N,L,q,Z)=>{const{slotScopeIds:V}=T;V&&(q=q?q.concat(V):V);const j=o(m),X=I(i(m),T,j,N,L,q,Z);return X&&Ot(X)&&X.data==="]"?i(T.anchor=X):(ve=!0,u(T.anchor=d("]"),j,X),X)},G=(m,T,N,L,q,Z)=>{if(ve=!0,T.el=null,Z){const X=v(m);for(;;){const ee=i(m);if(ee&&ee!==X)f(ee);else break}}const V=i(m),j=o(m);return f(m),n(null,T,j,V,N,L,Mt(j),q),V},v=m=>{let T=0;for(;m;)if(m=i(m),m&&Ot(m)&&(m.data==="["&&T++,m.data==="]")){if(T===0)return i(m);T--}return m};return[_,w]}const ce=Ls;function Vi(e){return Qs(e)}function zi(e){return Qs(e,Yi)}function Qs(e,t){const n=Tr();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:f,createComment:u,setText:d,setElementText:_,parentNode:w,nextSibling:M,setScopeId:I=ye,cloneNode:K,insertStaticContent:G}=e,v=(l,c,a,p=null,h=null,x=null,E=!1,b=null,y=!!c.dynamicChildren)=>{if(l===c)return;l&&!ot(l,c)&&(p=xt(l),Ne(l,h,x,!0),l=null),c.patchFlag===-2&&(y=!1,c.dynamicChildren=null);const{type:g,ref:O,shapeFlag:C}=c;switch(g){case mt:m(l,c,a,p);break;case Ge:T(l,c,a,p);break;case Ft:l==null&&N(c,a,p,E);break;case _e:ne(l,c,a,p,h,x,E,b,y);break;default:C&1?Z(l,c,a,p,h,x,E,b,y):C&6?A(l,c,a,p,h,x,E,b,y):(C&64||C&128)&&g.process(l,c,a,p,h,x,E,b,y,Ye)}O!=null&&h&&Lt(O,l&&l.ref,x,c||l,!c)},m=(l,c,a,p)=>{if(l==null)s(c.el=f(c.children),a,p);else{const h=c.el=l.el;c.children!==l.children&&d(h,c.children)}},T=(l,c,a,p)=>{l==null?s(c.el=u(c.children||""),a,p):c.el=l.el},N=(l,c,a,p)=>{[l.el,l.anchor]=G(l.children,c,a,p,l.el,l.anchor)},L=({el:l,anchor:c},a,p)=>{let h;for(;l&&l!==c;)h=M(l),s(l,a,p),l=h;s(c,a,p)},q=({el:l,anchor:c})=>{let a;for(;l&&l!==c;)a=M(l),r(l),l=a;r(c)},Z=(l,c,a,p,h,x,E,b,y)=>{E=E||c.type==="svg",l==null?V(c,a,p,h,x,E,b,y):ee(l,c,h,x,E,b,y)},V=(l,c,a,p,h,x,E,b)=>{let y,g;const{type:O,props:C,shapeFlag:F,transition:P,patchFlag:$,dirs:B}=l;if(l.el&&K!==void 0&&$===-1)y=l.el=K(l.el);else{if(y=l.el=o(l.type,x,C&&C.is,C),F&8?_(y,l.children):F&16&&X(l.children,y,null,p,h,x&&O!=="foreignObject",E,b),B&&Ce(l,null,p,"created"),C){for(const Y in C)Y!=="value"&&!at(Y)&&i(y,Y,null,C[Y],x,l.children,p,h,Fe);"value"in C&&i(y,"value",null,C.value),(g=C.onVnodeBeforeMount)&&he(g,p,l)}j(y,l,l.scopeId,E,p)}B&&Ce(l,null,p,"beforeMount");const W=(!h||h&&!h.pendingBranch)&&P&&!P.persisted;W&&P.beforeEnter(y),s(y,c,a),((g=C&&C.onVnodeMounted)||W||B)&&ce(()=>{g&&he(g,p,l),W&&P.enter(y),B&&Ce(l,null,p,"mounted")},h)},j=(l,c,a,p,h)=>{if(a&&I(l,a),p)for(let x=0;x<p.length;x++)I(l,p[x]);if(h){let x=h.subTree;if(c===x){const E=h.vnode;j(l,E,E.scopeId,E.slotScopeIds,h.parent)}}},X=(l,c,a,p,h,x,E,b,y=0)=>{for(let g=y;g<l.length;g++){const O=l[g]=b?je(l[g]):be(l[g]);v(null,O,c,a,p,h,x,E,b)}},ee=(l,c,a,p,h,x,E)=>{const b=c.el=l.el;let{patchFlag:y,dynamicChildren:g,dirs:O}=c;y|=l.patchFlag&16;const C=l.props||S,F=c.props||S;let P;a&&De(a,!1),(P=F.onVnodeBeforeUpdate)&&he(P,a,c,l),O&&Ce(c,l,a,"beforeUpdate"),a&&De(a,!0);const $=h&&c.type!=="foreignObject";if(g?Q(l.dynamicChildren,g,b,a,p,$,x):E||Oe(l,c,b,null,a,p,$,x,!1),y>0){if(y&16)pe(b,c,C,F,a,p,h);else if(y&2&&C.class!==F.class&&i(b,"class",null,F.class,h),y&4&&i(b,"style",C.style,F.style,h),y&8){const B=c.dynamicProps;for(let W=0;W<B.length;W++){const Y=B[W],me=C[Y],Ve=F[Y];(Ve!==me||Y==="value")&&i(b,Y,me,Ve,h,l.children,a,p,Fe)}}y&1&&l.children!==c.children&&_(b,c.children)}else!E&&g==null&&pe(b,c,C,F,a,p,h);((P=F.onVnodeUpdated)||O)&&ce(()=>{P&&he(P,a,c,l),O&&Ce(c,l,a,"updated")},p)},Q=(l,c,a,p,h,x,E)=>{for(let b=0;b<c.length;b++){const y=l[b],g=c[b],O=y.el&&(y.type===_e||!ot(y,g)||y.shapeFlag&70)?w(y.el):a;v(y,g,O,null,p,h,x,E,!0)}},pe=(l,c,a,p,h,x,E)=>{if(a!==p){for(const b in p){if(at(b))continue;const y=p[b],g=a[b];y!==g&&b!=="value"&&i(l,b,g,y,E,c.children,h,x,Fe)}if(a!==S)for(const b in a)!at(b)&&!(b in p)&&i(l,b,a[b],null,E,c.children,h,x,Fe);"value"in p&&i(l,"value",a.value,p.value)}},ne=(l,c,a,p,h,x,E,b,y)=>{const g=c.el=l?l.el:f(""),O=c.anchor=l?l.anchor:f("");let{patchFlag:C,dynamicChildren:F,slotScopeIds:P}=c;P&&(b=b?b.concat(P):P),l==null?(s(g,a,p),s(O,a,p),X(c.children,a,O,h,x,E,b,y)):C>0&&C&64&&F&&l.dynamicChildren?(Q(l.dynamicChildren,F,a,h,x,E,b),(c.key!=null||h&&c===h.subTree)&&ks(l,c,!0)):Oe(l,c,a,O,h,x,E,b,y)},A=(l,c,a,p,h,x,E,b,y)=>{c.slotScopeIds=b,l==null?c.shapeFlag&512?h.ctx.activate(c,a,p,E,y):ge(c,a,p,h,x,E,y):z(l,c,y)},ge=(l,c,a,p,h,x,E)=>{const b=l.component=sl(l,p,h);if(Ks(l)&&(b.ctx.renderer=Ye),rl(b),b.asyncDep){if(h&&h.registerDep(b,k),!l.el){const y=b.subTree=ae(Ge);T(null,y,c,a)}return}k(b,l,c,a,h,x,E)},z=(l,c,a)=>{const p=c.component=l.component;if(pi(l,c,a))if(p.asyncDep&&!p.asyncResolved){J(p,c,a);return}else p.next=c,oi(p.update),p.update();else c.el=l.el,p.vnode=c},k=(l,c,a,p,h,x,E)=>{const b=()=>{if(l.isMounted){let{next:O,bu:C,u:F,parent:P,vnode:$}=l,B=O,W;De(l,!1),O?(O.el=$.el,J(l,O,E)):O=$,C&&Xt(C),(W=O.props&&O.props.onVnodeBeforeUpdate)&&he(W,P,O,$),De(l,!0);const Y=Zt(l),me=l.subTree;l.subTree=Y,v(me,Y,w(me.el),xt(me),l,h,x),O.el=Y.el,B===null&&gi(l,Y.el),F&&ce(F,h),(W=O.props&&O.props.onVnodeUpdated)&&ce(()=>he(W,P,O,$),h)}else{let O;const{el:C,props:F}=c,{bm:P,m:$,parent:B}=l,W=dt(c);if(De(l,!1),P&&Xt(P),!W&&(O=F&&F.onVnodeBeforeMount)&&he(O,B,c),De(l,!0),C&&Vt){const Y=()=>{l.subTree=Zt(l),Vt(C,l.subTree,l,h,null)};W?c.type.__asyncLoader().then(()=>!l.isUnmounted&&Y()):Y()}else{const Y=l.subTree=Zt(l);v(null,Y,a,p,l,h,x),c.el=Y.el}if($&&ce($,h),!W&&(O=F&&F.onVnodeMounted)){const Y=c;ce(()=>he(O,B,Y),h)}(c.shapeFlag&256||B&&dt(B.vnode)&&B.vnode.shapeFlag&256)&&l.a&&ce(l.a,h),l.isMounted=!0,c=a=p=null}},y=l.effect=new En(b,()=>Rn(g),l.scope),g=l.update=()=>y.run();g.id=l.uid,De(l,!0),g()},J=(l,c,a)=>{c.component=l;const p=l.vnode.props;l.vnode=c,l.next=null,Ki(l,c.props,p,a),Si(l,c.children,a),st(),Xn(),rt()},Oe=(l,c,a,p,h,x,E,b,y=!1)=>{const g=l&&l.children,O=l?l.shapeFlag:0,C=c.children,{patchFlag:F,shapeFlag:P}=c;if(F>0){if(F&128){it(g,C,a,p,h,x,E,b,y);return}else if(F&256){Jt(g,C,a,p,h,x,E,b,y);return}}P&8?(O&16&&Fe(g,h,x),C!==g&&_(a,C)):O&16?P&16?it(g,C,a,p,h,x,E,b,y):Fe(g,h,x,!0):(O&8&&_(a,""),P&16&&X(C,a,p,h,x,E,b,y))},Jt=(l,c,a,p,h,x,E,b,y)=>{l=l||ct,c=c||ct;const g=l.length,O=c.length,C=Math.min(g,O);let F;for(F=0;F<C;F++){const P=c[F]=y?je(c[F]):be(c[F]);v(l[F],P,a,null,h,x,E,b,y)}g>O?Fe(l,h,x,!0,!1,C):X(c,a,p,h,x,E,b,y,C)},it=(l,c,a,p,h,x,E,b,y)=>{let g=0;const O=c.length;let C=l.length-1,F=O-1;for(;g<=C&&g<=F;){const P=l[g],$=c[g]=y?je(c[g]):be(c[g]);if(ot(P,$))v(P,$,a,null,h,x,E,b,y);else break;g++}for(;g<=C&&g<=F;){const P=l[C],$=c[F]=y?je(c[F]):be(c[F]);if(ot(P,$))v(P,$,a,null,h,x,E,b,y);else break;C--,F--}if(g>C){if(g<=F){const P=F+1,$=P<O?c[P].el:p;for(;g<=F;)v(null,c[g]=y?je(c[g]):be(c[g]),a,$,h,x,E,b,y),g++}}else if(g>F)for(;g<=C;)Ne(l[g],h,x,!0),g++;else{const P=g,$=g,B=new Map;for(g=$;g<=F;g++){const ue=c[g]=y?je(c[g]):be(c[g]);ue.key!=null&&B.set(ue.key,g)}let W,Y=0;const me=F-$+1;let Ve=!1,$n=0;const lt=new Array(me);for(g=0;g<me;g++)lt[g]=0;for(g=P;g<=C;g++){const ue=l[g];if(Y>=me){Ne(ue,h,x,!0);continue}let Ee;if(ue.key!=null)Ee=B.get(ue.key);else for(W=$;W<=F;W++)if(lt[W-$]===0&&ot(ue,c[W])){Ee=W;break}Ee===void 0?Ne(ue,h,x,!0):(lt[Ee-$]=g+1,Ee>=$n?$n=Ee:Ve=!0,v(ue,c[Ee],a,null,h,x,E,b,y),Y++)}const Dn=Ve?Xi(lt):ct;for(W=Dn.length-1,g=me-1;g>=0;g--){const ue=$+g,Ee=c[ue],Kn=ue+1<O?c[ue+1].el:p;lt[g]===0?v(null,Ee,a,Kn,h,x,E,b,y):Ve&&(W<0||g!==Dn[W]?Je(Ee,a,Kn,2):W--)}}},Je=(l,c,a,p,h=null)=>{const{el:x,type:E,transition:b,children:y,shapeFlag:g}=l;if(g&6){Je(l.component.subTree,c,a,p);return}if(g&128){l.suspense.move(c,a,p);return}if(g&64){E.move(l,c,a,Ye);return}if(E===_e){s(x,c,a);for(let C=0;C<y.length;C++)Je(y[C],c,a,p);s(l.anchor,c,a);return}if(E===Ft){L(l,c,a);return}if(p!==2&&g&1&&b)if(p===0)b.beforeEnter(x),s(x,c,a),ce(()=>b.enter(x),h);else{const{leave:C,delayLeave:F,afterLeave:P}=b,$=()=>s(x,c,a),B=()=>{C(x,()=>{$(),P&&P()})};F?F(x,$,B):B()}else s(x,c,a)},Ne=(l,c,a,p=!1,h=!1)=>{const{type:x,props:E,ref:b,children:y,dynamicChildren:g,shapeFlag:O,patchFlag:C,dirs:F}=l;if(b!=null&&Lt(b,null,a,l,!0),O&256){c.ctx.deactivate(l);return}const P=O&1&&F,$=!dt(l);let B;if($&&(B=E&&E.onVnodeBeforeUnmount)&&he(B,c,l),O&6)or(l.component,a,p);else{if(O&128){l.suspense.unmount(a,p);return}P&&Ce(l,null,c,"beforeUnmount"),O&64?l.type.remove(l,c,a,h,Ye,p):g&&(x!==_e||C>0&&C&64)?Fe(g,c,a,!1,!0):(x===_e&&C&384||!h&&O&16)&&Fe(y,c,a),p&&Un(l)}($&&(B=E&&E.onVnodeUnmounted)||P)&&ce(()=>{B&&he(B,c,l),P&&Ce(l,null,c,"unmounted")},a)},Un=l=>{const{type:c,el:a,anchor:p,transition:h}=l;if(c===_e){lr(a,p);return}if(c===Ft){q(l);return}const x=()=>{r(a),h&&!h.persisted&&h.afterLeave&&h.afterLeave()};if(l.shapeFlag&1&&h&&!h.persisted){const{leave:E,delayLeave:b}=h,y=()=>E(a,x);b?b(l.el,x,y):y()}else x()},lr=(l,c)=>{let a;for(;l!==c;)a=M(l),r(l),l=a;r(c)},or=(l,c,a)=>{const{bum:p,scope:h,update:x,subTree:E,um:b}=l;p&&Xt(p),h.stop(),x&&(x.active=!1,Ne(E,l,c,a)),b&&ce(b,c),ce(()=>{l.isUnmounted=!0},c),c&&c.pendingBranch&&!c.isUnmounted&&l.asyncDep&&!l.asyncResolved&&l.suspenseId===c.pendingId&&(c.deps--,c.deps===0&&c.resolve())},Fe=(l,c,a,p=!1,h=!1,x=0)=>{for(let E=x;E<l.length;E++)Ne(l[E],c,a,p,h)},xt=l=>l.shapeFlag&6?xt(l.component.subTree):l.shapeFlag&128?l.suspense.next():M(l.anchor||l.el),Ln=(l,c,a)=>{l==null?c._vnode&&Ne(c._vnode,null,null,!0):v(c._vnode||null,l,c,null,null,null,a),Xn(),Ht(),c._vnode=l},Ye={p:v,um:Ne,m:Je,r:Un,mt:ge,mc:X,pc:Oe,pbc:Q,n:xt,o:e};let Yt,Vt;return t&&([Yt,Vt]=t(Ye)),{render:Ln,hydrate:Yt,createApp:Ji(Ln,Yt)}}function De({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ks(e,t,n=!1){const s=e.children,r=t.children;if(R(s)&&R(r))for(let i=0;i<s.length;i++){const o=s[i];let f=r[i];f.shapeFlag&1&&!f.dynamicChildren&&((f.patchFlag<=0||f.patchFlag===32)&&(f=r[i]=je(r[i]),f.el=o.el),n||ks(o,f))}}function Xi(e){const t=e.slice(),n=[0];let s,r,i,o,f;const u=e.length;for(s=0;s<u;s++){const d=e[s];if(d!==0){if(r=n[n.length-1],e[r]<d){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)f=i+o>>1,e[n[f]]<d?i=f+1:o=f;d<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}const Zi=e=>e.__isTeleport,_e=Symbol(void 0),mt=Symbol(void 0),Ge=Symbol(void 0),Ft=Symbol(void 0);let Xe=null,Hn=1;function rs(e){Hn+=e}function an(e){return e?e.__v_isVNode===!0:!1}function ot(e,t){return e.type===t.type&&e.key===t.key}const qt="__vInternal",Gs=({key:e})=>e??null,At=({ref:e,ref_key:t,ref_for:n})=>e!=null?ie(e)||oe(e)||H(e)?{i:Pe,r:e,k:t,f:!!n}:e:null;function Qi(e,t=null,n=null,s=0,r=null,i=e===_e?0:1,o=!1,f=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Gs(t),ref:t&&At(t),scopeId:Us,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null};return f?(vn(u,n),i&128&&e.normalize(u)):n&&(u.shapeFlag|=ie(n)?8:16),Hn>0&&!o&&Xe&&(u.patchFlag>0||i&6)&&u.patchFlag!==32&&Xe.push(u),u}const ae=ki;function ki(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Ni)&&(e=Ge),an(e)){const f=et(e,t,!0);return n&&vn(f,n),Hn>0&&!i&&Xe&&(f.shapeFlag&6?Xe[Xe.indexOf(e)]=f:Xe.push(f)),f.patchFlag|=-2,f}if(fl(e)&&(e=e.__vccOpts),t){t=Gi(t);let{class:f,style:u}=t;f&&!ie(f)&&(t.class=mn(f)),te(u)&&(As(u)&&!R(u)&&(u=fe({},u)),t.style=gn(u))}const o=ie(e)?1:mi(e)?128:Zi(e)?64:te(e)?4:H(e)?2:0;return Qi(e,t,n,s,r,o,i,!0)}function Gi(e){return e?As(e)||qt in e?fe({},e):e:null}function et(e,t,n=!1){const{props:s,ref:r,patchFlag:i,children:o}=e,f=t?el(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&Gs(f),ref:t&&t.ref?n&&r?R(r)?r.concat(At(t)):[r,At(t)]:At(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&et(e.ssContent),ssFallback:e.ssFallback&&et(e.ssFallback),el:e.el,anchor:e.anchor}}function er(e=" ",t=0){return ae(mt,null,e,t)}function be(e){return e==null||typeof e=="boolean"?ae(Ge):R(e)?ae(_e,null,e.slice()):typeof e=="object"?je(e):ae(mt,null,String(e))}function je(e){return e.el===null||e.memo?e:et(e)}function vn(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(R(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),vn(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(qt in t)?t._ctx=Pe:r===3&&Pe&&(Pe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else H(t)?(t={default:t,_ctx:Pe},n=32):(t=String(t),s&64?(n=16,t=[er(t)]):n=8);e.children=t,e.shapeFlag|=n}function el(...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=mn([t.class,s.class]));else if(r==="style")t.style=gn([t.style,s.style]);else if(bt(r)){const i=t[r],o=s[r];o&&i!==o&&!(R(i)&&i.includes(o))&&(t[r]=i?[].concat(i,o):o)}else r!==""&&(t[r]=s[r])}return t}function he(e,t,n,s=null){we(e,t,7,[n,s])}const tl=Zs();let nl=0;function sl(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||tl,i={uid:nl++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Cr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ys(s,r),emitsOptions:js(s,r),emit:null,emitted:null,propsDefaults:S,inheritAttrs:s.inheritAttrs,ctx:S,data:S,props:S,attrs:S,slots:S,refs:S,setupState:S,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=ui.bind(null,i),e.ce&&e.ce(i),i}let re=null;const tt=e=>{re=e,e.scope.on()},qe=()=>{re&&re.scope.off(),re=null};function tr(e){return e.vnode.shapeFlag&4}let _t=!1;function rl(e,t=!1){_t=t;const{props:n,children:s}=e.vnode,r=tr(e);Di(e,n,r,t),Wi(e,s);const i=r?il(e,t):void 0;return _t=!1,i}function il(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ps(new Proxy(e.ctx,Hi));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?ol(e):null;tt(e),st();const i=Le(s,e,0,[e.props,r]);if(rt(),qe(),gs(i)){if(i.then(qe,qe),t)return i.then(o=>{is(e,o,t)}).catch(o=>{Bt(o,e,0)});e.asyncDep=i}else is(e,i,t)}else nr(e,t)}function is(e,t,n){H(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:te(t)&&(e.setupState=Is(t)),nr(e,n)}let ls;function nr(e,t,n){const s=e.type;if(!e.render){if(!t&&ls&&!s.render){const r=s.template;if(r){const{isCustomElement:i,compilerOptions:o}=e.appContext.config,{delimiters:f,compilerOptions:u}=s,d=fe(fe({isCustomElement:i,delimiters:f},o),u);s.render=ls(r,d)}}e.render=s.render||ye}tt(e),st(),vi(e),rt(),qe()}function ll(e){return new Proxy(e.attrs,{get(t,n){return de(e,"get","$attrs"),t[n]}})}function ol(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=ll(e))},slots:e.slots,emit:e.emit,expose:t}}function jn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Is(Ps(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in jt)return jt[n](e)}}))}function fl(e){return H(e)&&"__vccOpts"in e}const cl=(e,t)=>si(e,t,_t);function Pt(e,t,n){const s=arguments.length;return s===2?te(t)&&!R(t)?an(t)?ae(e,null,[t]):ae(e,t):ae(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&an(n)&&(n=[n]),ae(e,t,n))}const ul="3.2.38",al="http://www.w3.org/2000/svg",We=typeof document<"u"?document:null,os=We&&We.createElement("template"),dl={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?We.createElementNS(al,e):We.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>We.createTextNode(e),createComment:e=>We.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>We.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),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{os.innerHTML=s?`<svg>${e}</svg>`:e;const f=os.content;if(s){const u=f.firstChild;for(;u.firstChild;)f.appendChild(u.firstChild);f.removeChild(u)}t.insertBefore(f,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function hl(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function pl(e,t,n){const s=e.style,r=ie(n);if(n&&!r){for(const i in n)dn(s,i,n[i]);if(t&&!ie(t))for(const i in t)n[i]==null&&dn(s,i,"")}else{const i=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=i)}}const fs=/\s*!important$/;function dn(e,t,n){if(R(n))n.forEach(s=>dn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=gl(e,t);fs.test(n)?e.setProperty(nt(s),n.replace(fs,""),"important"):e[s]=n}}const cs=["Webkit","Moz","ms"],Gt={};function gl(e,t){const n=Gt[t];if(n)return n;let s=ke(t);if(s!=="filter"&&s in e)return Gt[t]=s;s=ms(s);for(let r=0;r<cs.length;r++){const i=cs[r]+s;if(i in e)return Gt[t]=i}return t}const us="http://www.w3.org/1999/xlink";function ml(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(us,t.slice(6,t.length)):e.setAttributeNS(us,t,n);else{const i=cr(t);n==null||i&&!ps(n)?e.removeAttribute(t):e.setAttribute(t,i?"":n)}}function _l(e,t,n,s,r,i,o){if(t==="innerHTML"||t==="textContent"){s&&o(s,r,i),e[t]=n??"";return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const u=n??"";(e.value!==u||e.tagName==="OPTION")&&(e.value=u),n==null&&e.removeAttribute(t);return}let f=!1;if(n===""||n==null){const u=typeof e[t];u==="boolean"?n=ps(n):n==null&&u==="string"?(n="",f=!0):u==="number"&&(n=0,f=!0)}try{e[t]=n}catch{}f&&e.removeAttribute(t)}const[sr,bl]=(()=>{let e=Date.now,t=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let hn=0;const xl=Promise.resolve(),yl=()=>{hn=0},wl=()=>hn||(xl.then(yl),hn=sr());function El(e,t,n,s){e.addEventListener(t,n,s)}function Tl(e,t,n,s){e.removeEventListener(t,n,s)}function Cl(e,t,n,s,r=null){const i=e._vei||(e._vei={}),o=i[t];if(s&&o)o.value=s;else{const[f,u]=Ml(t);if(s){const d=i[t]=Ol(s,r);El(e,f,d,u)}else o&&(Tl(e,f,o,u),i[t]=void 0)}}const as=/(?:Once|Passive|Capture)$/;function Ml(e){let t;if(as.test(e)){t={};let s;for(;s=e.match(as);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):nt(e.slice(2)),t]}function Ol(e,t){const n=s=>{const r=s.timeStamp||sr();(bl||r>=n.attached-1)&&we(Fl(s,n.value),t,5,[s])};return n.value=e,n.attached=wl(),n}function Fl(e,t){if(R(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 ds=/^on[a-z]/,Al=(e,t,n,s,r=!1,i,o,f,u)=>{t==="class"?hl(e,s,r):t==="style"?pl(e,n,s):bt(t)?_n(t)||Cl(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Pl(e,t,s,r))?_l(e,t,s,i,o,f,u):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),ml(e,t,s,r))};function Pl(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&ds.test(t)&&H(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ds.test(t)&&ie(n)?!1:t in e}const rr=fe({patchProp:Al},dl);let ht,hs=!1;function Il(){return ht||(ht=Vi(rr))}function Rl(){return ht=hs?ht:zi(rr),hs=!0,ht}const Nl=(...e)=>{const t=Il().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=ir(s);if(!r)return;const i=t._component;!H(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},Hl=(...e)=>{const t=Rl().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=ir(s);if(r)return n(r,!0,r instanceof SVGElement)},t};function ir(e){return ie(e)?document.querySelector(e):e}const vl=xi({props:{value:String,name:String},setup({name:e,value:t}){return t?()=>Pt("astro-slot",{name:e,innerHTML:t}):()=>null}}),jl=e=>(t,n,s,{client:r})=>{if(delete n.class,!e.hasAttribute("ssr"))return;const i=t.name?`${t.name} Host`:void 0,o={};for(const[f,u]of Object.entries(s))o[f]=()=>Pt(vl,{value:u,name:f==="default"?void 0:f});r==="only"?Nl({name:i,render:()=>Pt(t,n,o)}).mount(e,!1):Hl({name:i,render:()=>Pt(t,n,o)}).mount(e,!0)};export{jl as default};
|
|
@@ -44,7 +44,7 @@ const _renderer1 = {
|
|
|
44
44
|
renderToStaticMarkup: renderToStaticMarkup$1,
|
|
45
45
|
};
|
|
46
46
|
|
|
47
|
-
const ASTRO_VERSION = "1.1.
|
|
47
|
+
const ASTRO_VERSION = "1.1.5";
|
|
48
48
|
function createDeprecatedFetchContentFn() {
|
|
49
49
|
return () => {
|
|
50
50
|
throw new Error("Deprecated: Astro.fetchContent() has been replaced with Astro.glob().");
|
|
@@ -1657,7 +1657,7 @@ function deserializeManifest(serializedManifest) {
|
|
|
1657
1657
|
};
|
|
1658
1658
|
}
|
|
1659
1659
|
|
|
1660
|
-
const _manifest = Object.assign(deserializeManifest({"adapterName":"@astrojs/node","routes":[{"file":"","links":["assets/_...d4aa8aff.css","assets/index.5608ba47.css"],"scripts":[{"type":"external","value":"page.3aa82516.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.4.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.4.5\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/","type":"page","pattern":"^\\/$","segments":[],"params":[],"component":"src/pages/index.astro","pathname":"/","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":["assets/_...d4aa8aff.css","assets/_...0b5ebd52.css"],"scripts":[{"type":"external","value":"page.3aa82516.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.4.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.4.5\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/[...slug]","type":"page","pattern":"^(?:\\/(.*?))?\\/?$","segments":[[{"content":"...slug","dynamic":true,"spread":true}]],"params":["...slug"],"component":"src/pages/[...slug].astro","_meta":{"trailingSlash":"ignore"}}}],"base":"/","markdown":{"drafts":false,"syntaxHighlight":"shiki","shikiConfig":{"langs":[],"theme":"github-dark","wrap":false},"remarkPlugins":[],"rehypePlugins":[],"remarkRehype":{},"extendDefaultPlugins":false,"isAstroFlavoredMd":false},"pageMap":null,"renderers":[],"entryModules":{"\u0000@astrojs-ssr-virtual-entry":"entry.mjs","@astrojs/vue/client.js":"client.
|
|
1660
|
+
const _manifest = Object.assign(deserializeManifest({"adapterName":"@astrojs/node","routes":[{"file":"","links":["assets/_...d4aa8aff.css","assets/index.5608ba47.css"],"scripts":[{"type":"external","value":"page.3aa82516.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.4.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.4.5\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/","type":"page","pattern":"^\\/$","segments":[],"params":[],"component":"src/pages/index.astro","pathname":"/","_meta":{"trailingSlash":"ignore"}}},{"file":"","links":["assets/_...d4aa8aff.css","assets/_...0b5ebd52.css"],"scripts":[{"type":"external","value":"page.3aa82516.js"},{"stage":"head-inline","children":"!(function(w,p,f,c){c=w[p]=Object.assign(w[p]||{},{\"lib\":\"/~partytown/\",\"debug\":false});c[f]=(c[f]||[])})(window,'partytown','forward');/* Partytown 0.4.5 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,\"/\"==(a=(o.lib||\"/~partytown/\")+(o.debug?\"debug/\":\"\"))[0]&&(s=e.querySelectorAll('script[type=\"text/partytown\"]'),i!=t?i.dispatchEvent(new CustomEvent(\"pt1\",{detail:t})):(d=setTimeout(w,1e4),e.addEventListener(\"pt0\",f),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||\"partytown-sw.js\"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener(\"statechange\",(function(t){\"activated\"==t.target.state&&h()}))}),console.error):w())))}function h(t){c=e.createElement(t?\"script\":\"iframe\"),t||(c.setAttribute(\"style\",\"display:block;width:0;height:0;border:0;visibility:hidden\"),c.setAttribute(\"aria-hidden\",!0)),c.src=a+\"partytown-\"+(t?\"atomics.js?v=0.4.5\":\"sandbox-sw.html?\"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement(\"script\")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(\".\").map((function(e,n,i){p=p[i[n]]=n+1<i.length?\"push\"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),\"complete\"==e.readyState?u():(t.addEventListener(\"DOMContentLoaded\",u),t.addEventListener(\"load\",u))}(window,document,navigator,top,window.crossOriginIsolated);"}],"routeData":{"route":"/[...slug]","type":"page","pattern":"^(?:\\/(.*?))?\\/?$","segments":[[{"content":"...slug","dynamic":true,"spread":true}]],"params":["...slug"],"component":"src/pages/[...slug].astro","_meta":{"trailingSlash":"ignore"}}}],"base":"/","markdown":{"drafts":false,"syntaxHighlight":"shiki","shikiConfig":{"langs":[],"theme":"github-dark","wrap":false},"remarkPlugins":[],"rehypePlugins":[],"remarkRehype":{},"extendDefaultPlugins":false,"isAstroFlavoredMd":false},"pageMap":null,"renderers":[],"entryModules":{"\u0000@astrojs-ssr-virtual-entry":"entry.mjs","@astrojs/vue/client.js":"client.6d48c590.js","astro:scripts/page.js":"page.3aa82516.js","astro:scripts/before-hydration.js":"data:text/javascript;charset=utf-8,//[no before-hydration script]"},"assets":["/assets/_...0b5ebd52.css","/assets/_...d4aa8aff.css","/assets/index.5608ba47.css","/client.6d48c590.js","/favicon.ico","/page.3aa82516.js","/page.3aa82516.js","/~partytown/partytown-atomics.js","/~partytown/partytown-media.js","/~partytown/partytown-sw.js","/~partytown/partytown.js"]}), {
|
|
1661
1661
|
pageMap: pageMap,
|
|
1662
1662
|
renderers: renderers
|
|
1663
1663
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/storefront",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.67",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce storefront with Astro",
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"repository": {
|
|
@@ -23,18 +23,18 @@
|
|
|
23
23
|
"astro": "astro"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@astrojs/node": "^1.0.
|
|
26
|
+
"@astrojs/node": "^1.0.1",
|
|
27
27
|
"@astrojs/partytown": "^1.0.0",
|
|
28
28
|
"@astrojs/prefetch": "^0.0.7",
|
|
29
29
|
"@astrojs/sitemap": "^1.0.0",
|
|
30
30
|
"@astrojs/vue": "^1.0.0",
|
|
31
31
|
"@cloudcommerce/api": "workspace:*",
|
|
32
32
|
"@picocss/pico": "^1.5.3",
|
|
33
|
-
"astro": "^1.1.
|
|
34
|
-
"rollup": "^2.
|
|
35
|
-
"unocss": "^0.45.
|
|
36
|
-
"vite": "^3.0
|
|
33
|
+
"astro": "^1.1.5",
|
|
34
|
+
"rollup": "^2.79.0",
|
|
35
|
+
"unocss": "^0.45.15",
|
|
36
|
+
"vite": "^3.1.0",
|
|
37
37
|
"vite-plugin-pwa": "^0.12.6",
|
|
38
|
-
"vue": "^3.2.
|
|
38
|
+
"vue": "^3.2.38"
|
|
39
39
|
}
|
|
40
40
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function xn(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r<s.length;r++)n[s[r]]=!0;return t?r=>!!n[r.toLowerCase()]:r=>!!n[r]}const dr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",hr=xn(dr);function _s(e){return!!e||e===""}function yn(e){if(R(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=se(s)?mr(s):yn(s);if(r)for(const l in r)t[l]=r[l]}return t}else{if(se(e))return e;if(re(e))return e}}const pr=/;(?![^(]*\))/g,gr=/:(.+)/;function mr(e){const t={};return e.split(pr).forEach(n=>{if(n){const s=n.split(gr);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function wn(e){let t="";if(se(e))t=e;else if(R(e))for(let n=0;n<e.length;n++){const s=wn(e[n]);s&&(t+=s+" ")}else if(re(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const W={},ut=[],ye=()=>{},_r=()=>!1,br=/^on[^a-z]/,wt=e=>br.test(e),En=e=>e.startsWith("onUpdate:"),oe=Object.assign,Tn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},xr=Object.prototype.hasOwnProperty,U=(e,t)=>xr.call(e,t),R=Array.isArray,at=e=>Bt(e)==="[object Map]",yr=e=>Bt(e)==="[object Set]",H=e=>typeof e=="function",se=e=>typeof e=="string",Cn=e=>typeof e=="symbol",re=e=>e!==null&&typeof e=="object",bs=e=>re(e)&&H(e.then)&&H(e.catch),wr=Object.prototype.toString,Bt=e=>wr.call(e),Er=e=>Bt(e).slice(8,-1),Tr=e=>Bt(e)==="[object Object]",Fn=e=>se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,dt=xn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Wt=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Cr=/-(\w)/g,Qe=Wt(e=>e.replace(Cr,(t,n)=>n?n.toUpperCase():"")),Fr=/\B([A-Z])/g,nt=Wt(e=>e.replace(Fr,"-$1").toLowerCase()),xs=Wt(e=>e.charAt(0).toUpperCase()+e.slice(1)),Qt=Wt(e=>e?`on${xs(e)}`:""),Ht=(e,t)=>!Object.is(e,t),Gt=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},jt=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Mr=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Jn;const Or=()=>Jn||(Jn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let Te;class Pr{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&Te&&(this.parent=Te,this.index=(Te.scopes||(Te.scopes=[])).push(this)-1)}run(t){if(this.active){const n=Te;try{return Te=this,t()}finally{Te=n}}}on(){Te=this}off(){Te=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.scopes)for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);if(this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.active=!1}}}function Ar(e,t=Te){t&&t.active&&t.effects.push(e)}const Mn=e=>{const t=new Set(e);return t.w=0,t.n=0,t},ys=e=>(e.w&$e)>0,ws=e=>(e.n&$e)>0,Ir=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=$e},Rr=e=>{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s<t.length;s++){const r=t[s];ys(r)&&!ws(r)?r.delete(e):t[n++]=r,r.w&=~$e,r.n&=~$e}t.length=n}},rn=new WeakMap;let ft=0,$e=1;const ln=30;let xe;const We=Symbol(""),on=Symbol("");class On{constructor(t,n=null,s){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,Ar(this,s)}run(){if(!this.active)return this.fn();let t=xe,n=Ue;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=xe,xe=this,Ue=!0,$e=1<<++ft,ft<=ln?Ir(this):Yn(this),this.fn()}finally{ft<=ln&&Rr(this),$e=1<<--ft,xe=this.parent,Ue=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){xe===this?this.deferStop=!0:this.active&&(Yn(this),this.onStop&&this.onStop(),this.active=!1)}}function Yn(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let Ue=!0;const Es=[];function st(){Es.push(Ue),Ue=!1}function rt(){const e=Es.pop();Ue=e===void 0?!0:e}function de(e,t,n){if(Ue&&xe){let s=rn.get(e);s||rn.set(e,s=new Map);let r=s.get(n);r||s.set(n,r=Mn()),Ts(r)}}function Ts(e,t){let n=!1;ft<=ln?ws(e)||(e.n|=$e,n=!ys(e)):n=!e.has(xe),n&&(e.add(xe),xe.deps.push(e))}function Ae(e,t,n,s,r,l){const o=rn.get(e);if(!o)return;let f=[];if(t==="clear")f=[...o.values()];else if(n==="length"&&R(e))o.forEach((u,d)=>{(d==="length"||d>=s)&&f.push(u)});else switch(n!==void 0&&f.push(o.get(n)),t){case"add":R(e)?Fn(n)&&f.push(o.get("length")):(f.push(o.get(We)),at(e)&&f.push(o.get(on)));break;case"delete":R(e)||(f.push(o.get(We)),at(e)&&f.push(o.get(on)));break;case"set":at(e)&&f.push(o.get(We));break}if(f.length===1)f[0]&&fn(f[0]);else{const u=[];for(const d of f)d&&u.push(...d);fn(Mn(u))}}function fn(e,t){const n=R(e)?e:[...e];for(const s of n)s.computed&&Vn(s);for(const s of n)s.computed||Vn(s)}function Vn(e,t){(e!==xe||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const Nr=xn("__proto__,__v_isRef,__isVue"),Cs=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Cn)),Hr=Pn(),jr=Pn(!1,!0),vr=Pn(!0),zn=Ur();function Ur(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=D(this);for(let l=0,o=this.length;l<o;l++)de(s,"get",l+"");const r=s[t](...n);return r===-1||r===!1?s[t](...n.map(D)):r}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){st();const s=D(this)[t].apply(this,n);return rt(),s}}),e}function Pn(e=!1,t=!1){return function(s,r,l){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&l===(e?t?Qr:As:t?Ps:Os).get(s))return s;const o=R(s);if(!e&&o&&U(zn,r))return Reflect.get(zn,r,l);const f=Reflect.get(s,r,l);return(Cn(r)?Cs.has(r):Nr(r))||(e||de(s,"get",r),t)?f:ie(f)?o&&Fn(r)?f:f.value:re(f)?e?Is(f):Rn(f):f}}const Lr=Fs(),$r=Fs(!0);function Fs(e=!1){return function(n,s,r,l){let o=n[s];if(_t(o)&&ie(o)&&!ie(r))return!1;if(!e&&!_t(r)&&(cn(r)||(r=D(r),o=D(o)),!R(n)&&ie(o)&&!ie(r)))return o.value=r,!0;const f=R(n)&&Fn(s)?Number(s)<n.length:U(n,s),u=Reflect.set(n,s,r,l);return n===D(l)&&(f?Ht(r,o)&&Ae(n,"set",s,r):Ae(n,"add",s,r)),u}}function Dr(e,t){const n=U(e,t);e[t];const s=Reflect.deleteProperty(e,t);return s&&n&&Ae(e,"delete",t,void 0),s}function Kr(e,t){const n=Reflect.has(e,t);return(!Cn(t)||!Cs.has(t))&&de(e,"has",t),n}function Br(e){return de(e,"iterate",R(e)?"length":We),Reflect.ownKeys(e)}const Ms={get:Hr,set:Lr,deleteProperty:Dr,has:Kr,ownKeys:Br},Wr={get:vr,set(e,t){return!0},deleteProperty(e,t){return!0}},Sr=oe({},Ms,{get:jr,set:$r}),An=e=>e,St=e=>Reflect.getPrototypeOf(e);function Tt(e,t,n=!1,s=!1){e=e.__v_raw;const r=D(e),l=D(t);n||(t!==l&&de(r,"get",t),de(r,"get",l));const{has:o}=St(r),f=s?An:n?jn:Hn;if(o.call(r,t))return f(e.get(t));if(o.call(r,l))return f(e.get(l));e!==r&&e.get(t)}function Ct(e,t=!1){const n=this.__v_raw,s=D(n),r=D(e);return t||(e!==r&&de(s,"has",e),de(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function Ft(e,t=!1){return e=e.__v_raw,!t&&de(D(e),"iterate",We),Reflect.get(e,"size",e)}function Xn(e){e=D(e);const t=D(this);return St(t).has.call(t,e)||(t.add(e),Ae(t,"add",e,e)),this}function Zn(e,t){t=D(t);const n=D(this),{has:s,get:r}=St(n);let l=s.call(n,e);l||(e=D(e),l=s.call(n,e));const o=r.call(n,e);return n.set(e,t),l?Ht(t,o)&&Ae(n,"set",e,t):Ae(n,"add",e,t),this}function kn(e){const t=D(this),{has:n,get:s}=St(t);let r=n.call(t,e);r||(e=D(e),r=n.call(t,e)),s&&s.call(t,e);const l=t.delete(e);return r&&Ae(t,"delete",e,void 0),l}function Qn(){const e=D(this),t=e.size!==0,n=e.clear();return t&&Ae(e,"clear",void 0,void 0),n}function Mt(e,t){return function(s,r){const l=this,o=l.__v_raw,f=D(o),u=t?An:e?jn:Hn;return!e&&de(f,"iterate",We),o.forEach((d,_)=>s.call(r,u(d),u(_),l))}}function Ot(e,t,n){return function(...s){const r=this.__v_raw,l=D(r),o=at(l),f=e==="entries"||e===Symbol.iterator&&o,u=e==="keys"&&o,d=r[e](...s),_=n?An:t?jn:Hn;return!t&&de(l,"iterate",u?on:We),{next(){const{value:w,done:F}=d.next();return F?{value:w,done:F}:{value:f?[_(w[0]),_(w[1])]:_(w),done:F}},[Symbol.iterator](){return this}}}}function Ne(e){return function(...t){return e==="delete"?!1:this}}function qr(){const e={get(l){return Tt(this,l)},get size(){return Ft(this)},has:Ct,add:Xn,set:Zn,delete:kn,clear:Qn,forEach:Mt(!1,!1)},t={get(l){return Tt(this,l,!1,!0)},get size(){return Ft(this)},has:Ct,add:Xn,set:Zn,delete:kn,clear:Qn,forEach:Mt(!1,!0)},n={get(l){return Tt(this,l,!0)},get size(){return Ft(this,!0)},has(l){return Ct.call(this,l,!0)},add:Ne("add"),set:Ne("set"),delete:Ne("delete"),clear:Ne("clear"),forEach:Mt(!0,!1)},s={get(l){return Tt(this,l,!0,!0)},get size(){return Ft(this,!0)},has(l){return Ct.call(this,l,!0)},add:Ne("add"),set:Ne("set"),delete:Ne("delete"),clear:Ne("clear"),forEach:Mt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(l=>{e[l]=Ot(l,!1,!1),n[l]=Ot(l,!0,!1),t[l]=Ot(l,!1,!0),s[l]=Ot(l,!0,!0)}),[e,n,t,s]}const[Jr,Yr,Vr,zr]=qr();function In(e,t){const n=t?e?zr:Vr:e?Yr:Jr;return(s,r,l)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(U(n,r)&&r in s?n:s,r,l)}const Xr={get:In(!1,!1)},Zr={get:In(!1,!0)},kr={get:In(!0,!1)},Os=new WeakMap,Ps=new WeakMap,As=new WeakMap,Qr=new WeakMap;function Gr(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function el(e){return e.__v_skip||!Object.isExtensible(e)?0:Gr(Er(e))}function Rn(e){return _t(e)?e:Nn(e,!1,Ms,Xr,Os)}function tl(e){return Nn(e,!1,Sr,Zr,Ps)}function Is(e){return Nn(e,!0,Wr,kr,As)}function Nn(e,t,n,s,r){if(!re(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=r.get(e);if(l)return l;const o=el(e);if(o===0)return e;const f=new Proxy(e,o===2?s:n);return r.set(e,f),f}function ke(e){return _t(e)?ke(e.__v_raw):!!(e&&e.__v_isReactive)}function _t(e){return!!(e&&e.__v_isReadonly)}function cn(e){return!!(e&&e.__v_isShallow)}function Rs(e){return ke(e)||_t(e)}function D(e){const t=e&&e.__v_raw;return t?D(t):e}function Ns(e){return jt(e,"__v_skip",!0),e}const Hn=e=>re(e)?Rn(e):e,jn=e=>re(e)?Is(e):e;function nl(e){Ue&&xe&&(e=D(e),Ts(e.dep||(e.dep=Mn())))}function sl(e,t){e=D(e),e.dep&&fn(e.dep)}function ie(e){return!!(e&&e.__v_isRef===!0)}function rl(e){return ie(e)?e.value:e}const ll={get:(e,t,n)=>rl(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ie(r)&&!ie(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Hs(e){return ke(e)?e:new Proxy(e,ll)}class il{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new On(t,()=>{this._dirty||(this._dirty=!0,sl(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=D(this);return nl(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function ol(e,t,n=!1){let s,r;const l=H(e);return l?(s=e,r=ye):(s=e.get,r=e.set),new il(s,r,l||!r,n)}function Le(e,t,n,s){let r;try{r=s?e(...s):e()}catch(l){qt(l,t,n)}return r}function we(e,t,n,s){if(H(e)){const l=Le(e,t,n,s);return l&&bs(l)&&l.catch(o=>{qt(o,t,n)}),l}const r=[];for(let l=0;l<e.length;l++)r.push(we(e[l],t,n,s));return r}function qt(e,t,n,s=!0){const r=t?t.vnode:null;if(t){let l=t.parent;const o=t.proxy,f=n;for(;l;){const d=l.ec;if(d){for(let _=0;_<d.length;_++)if(d[_](e,o,f)===!1)return}l=l.parent}const u=t.appContext.config.errorHandler;if(u){Le(u,null,10,[e,o,f]);return}}fl(e,n,r,s)}function fl(e,t,n,s=!0){console.error(e)}let vt=!1,un=!1;const ue=[];let Oe=0;const ht=[];let ct=null,Ve=0;const pt=[];let je=null,ze=0;const js=Promise.resolve();let vn=null,an=null;function cl(e){const t=vn||js;return e?t.then(this?e.bind(this):e):t}function ul(e){let t=Oe+1,n=ue.length;for(;t<n;){const s=t+n>>>1;bt(ue[s])<e?t=s+1:n=s}return t}function vs(e){(!ue.length||!ue.includes(e,vt&&e.allowRecurse?Oe+1:Oe))&&e!==an&&(e.id==null?ue.push(e):ue.splice(ul(e.id),0,e),Us())}function Us(){!vt&&!un&&(un=!0,vn=js.then($s))}function al(e){const t=ue.indexOf(e);t>Oe&&ue.splice(t,1)}function Ls(e,t,n,s){R(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?s+1:s))&&n.push(e),Us()}function dl(e){Ls(e,ct,ht,Ve)}function hl(e){Ls(e,je,pt,ze)}function Jt(e,t=null){if(ht.length){for(an=t,ct=[...new Set(ht)],ht.length=0,Ve=0;Ve<ct.length;Ve++)ct[Ve]();ct=null,Ve=0,an=null,Jt(e,t)}}function Ut(e){if(Jt(),pt.length){const t=[...new Set(pt)];if(pt.length=0,je){je.push(...t);return}for(je=t,je.sort((n,s)=>bt(n)-bt(s)),ze=0;ze<je.length;ze++)je[ze]();je=null,ze=0}}const bt=e=>e.id==null?1/0:e.id;function $s(e){un=!1,vt=!0,Jt(e),ue.sort((n,s)=>bt(n)-bt(s));const t=ye;try{for(Oe=0;Oe<ue.length;Oe++){const n=ue[Oe];n&&n.active!==!1&&Le(n,null,14)}}finally{Oe=0,ue.length=0,Ut(),vt=!1,vn=null,(ue.length||ht.length||pt.length)&&$s(e)}}function pl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||W;let r=n;const l=t.startsWith("update:"),o=l&&t.slice(7);if(o&&o in s){const _=`${o==="modelValue"?"model":o}Modifiers`,{number:w,trim:F}=s[_]||W;F&&(r=n.map(I=>I.trim())),w&&(r=n.map(Mr))}let f,u=s[f=Qt(t)]||s[f=Qt(Qe(t))];!u&&l&&(u=s[f=Qt(nt(t))]),u&&we(u,e,6,r);const d=s[f+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[f])return;e.emitted[f]=!0,we(d,e,6,r)}}function Ds(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const l=e.emits;let o={},f=!1;if(!H(e)){const u=d=>{const _=Ds(d,t,!0);_&&(f=!0,oe(o,_))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!l&&!f?(s.set(e,null),null):(R(l)?l.forEach(u=>o[u]=null):oe(o,l),s.set(e,o),o)}function Yt(e,t){return!e||!wt(t)?!1:(t=t.slice(2).replace(/Once$/,""),U(e,t[0].toLowerCase()+t.slice(1))||U(e,nt(t))||U(e,t))}let Pe=null,Ks=null;function Lt(e){const t=Pe;return Pe=e,Ks=e&&e.type.__scopeId||null,t}function gl(e,t=Pe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&os(-1);const l=Lt(t),o=e(...r);return Lt(l),s._d&&os(1),o};return s._n=!0,s._c=!0,s._d=!0,s}function en(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:l,propsOptions:[o],slots:f,attrs:u,emit:d,render:_,renderCache:w,data:F,setupState:I,ctx:S,inheritAttrs:G}=e;let j,m;const T=Lt(e);try{if(n.shapeFlag&4){const L=r||s;j=be(_.call(L,L,w,l,I,F,S)),m=u}else{const L=t;j=be(L.length>1?L(l,{attrs:u,slots:f,emit:d}):L(l,null)),m=t.props?u:ml(u)}}catch(L){qt(L,e,1),j=ae(Ge)}let N=j;if(m&&G!==!1){const L=Object.keys(m),{shapeFlag:q}=N;L.length&&q&7&&(o&&L.some(En)&&(m=_l(m,o)),N=et(N,m))}return n.dirs&&(N=et(N),N.dirs=N.dirs?N.dirs.concat(n.dirs):n.dirs),n.transition&&(N.transition=n.transition),j=N,Lt(T),j}const ml=e=>{let t;for(const n in e)(n==="class"||n==="style"||wt(n))&&((t||(t={}))[n]=e[n]);return t},_l=(e,t)=>{const n={};for(const s in e)(!En(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function bl(e,t,n){const{props:s,children:r,component:l}=e,{props:o,children:f,patchFlag:u}=t,d=l.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return s?Gn(s,o,d):!!o;if(u&8){const _=t.dynamicProps;for(let w=0;w<_.length;w++){const F=_[w];if(o[F]!==s[F]&&!Yt(d,F))return!0}}}else return(r||f)&&(!f||!f.$stable)?!0:s===o?!1:s?o?Gn(s,o,d):!0:!!o;return!1}function Gn(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 l=s[r];if(t[l]!==e[l]&&!Yt(n,l))return!0}return!1}function xl({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const yl=e=>e.__isSuspense;function Bs(e,t){t&&t.pendingBranch?R(e)?t.effects.push(...e):t.effects.push(e):hl(e)}function wl(e,t){if(ne){let n=ne.provides;const s=ne.parent&&ne.parent.provides;s===n&&(n=ne.provides=Object.create(s)),n[e]=t}}function tn(e,t,n=!1){const s=ne||Pe;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&H(t)?t.call(s.proxy):t}}const es={};function nn(e,t,n){return Ws(e,t,n)}function Ws(e,t,{immediate:n,deep:s,flush:r,onTrack:l,onTrigger:o}=W){const f=ne;let u,d=!1,_=!1;if(ie(e)?(u=()=>e.value,d=cn(e)):ke(e)?(u=()=>e,s=!0):R(e)?(_=!0,d=e.some(m=>ke(m)||cn(m)),u=()=>e.map(m=>{if(ie(m))return m.value;if(ke(m))return Xe(m);if(H(m))return Le(m,f,2)})):H(e)?t?u=()=>Le(e,f,2):u=()=>{if(!(f&&f.isUnmounted))return w&&w(),we(e,f,3,[F])}:u=ye,t&&s){const m=u;u=()=>Xe(m())}let w,F=m=>{w=j.onStop=()=>{Le(m,f,4)}};if(yt)return F=ye,t?n&&we(t,f,3,[u(),_?[]:void 0,F]):u(),ye;let I=_?[]:es;const S=()=>{if(!!j.active)if(t){const m=j.run();(s||d||(_?m.some((T,N)=>Ht(T,I[N])):Ht(m,I)))&&(w&&w(),we(t,f,3,[m,I===es?void 0:I,F]),I=m)}else j.run()};S.allowRecurse=!!t;let G;r==="sync"?G=S:r==="post"?G=()=>fe(S,f&&f.suspense):G=()=>dl(S);const j=new On(u,G);return t?n?S():I=j.run():r==="post"?fe(j.run.bind(j),f&&f.suspense):j.run(),()=>{j.stop(),f&&f.scope&&Tn(f.scope.effects,j)}}function El(e,t,n){const s=this.proxy,r=se(e)?e.includes(".")?Ss(s,e):()=>s[e]:e.bind(s,s);let l;H(t)?l=t:(l=t.handler,n=t);const o=ne;tt(this);const f=Ws(r,l.bind(s),n);return o?tt(o):Se(),f}function Ss(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}}function Xe(e,t){if(!re(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),ie(e))Xe(e.value,t);else if(R(e))for(let n=0;n<e.length;n++)Xe(e[n],t);else if(yr(e)||at(e))e.forEach(n=>{Xe(n,t)});else if(Tr(e))for(const n in e)Xe(e[n],t);return e}function Tl(e){return H(e)?{setup:e,name:e.name}:e}const gt=e=>!!e.type.__asyncLoader,qs=e=>e.type.__isKeepAlive;function Cl(e,t){Js(e,"a",t)}function Fl(e,t){Js(e,"da",t)}function Js(e,t,n=ne){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Vt(t,s,n),n){let r=n.parent;for(;r&&r.parent;)qs(r.parent.vnode)&&Ml(s,t,n,r),r=r.parent}}function Ml(e,t,n,s){const r=Vt(t,e,s,!0);Ys(()=>{Tn(s[t],r)},n)}function Vt(e,t,n=ne,s=!1){if(n){const r=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;st(),tt(n);const f=we(t,n,e,o);return Se(),rt(),f});return s?r.unshift(l):r.push(l),l}}const Ie=e=>(t,n=ne)=>(!yt||e==="sp")&&Vt(e,t,n),Ol=Ie("bm"),Pl=Ie("m"),Al=Ie("bu"),Il=Ie("u"),Rl=Ie("bum"),Ys=Ie("um"),Nl=Ie("sp"),Hl=Ie("rtg"),jl=Ie("rtc");function vl(e,t=ne){Vt("ec",e,t)}function Ce(e,t,n,s){const r=e.dirs,l=t&&t.dirs;for(let o=0;o<r.length;o++){const f=r[o];l&&(f.oldValue=l[o].value);let u=f.dir[s];u&&(st(),we(u,n,8,[e.el,f,e,t]),rt())}}const Ul=Symbol(),dn=e=>e?lr(e)?Dn(e)||e.proxy:dn(e.parent):null,$t=oe(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=>dn(e.parent),$root:e=>dn(e.root),$emit:e=>e.emit,$options:e=>zs(e),$forceUpdate:e=>e.f||(e.f=()=>vs(e.update)),$nextTick:e=>e.n||(e.n=cl.bind(e.proxy)),$watch:e=>El.bind(e)}),Ll={get({_:e},t){const{ctx:n,setupState:s,data:r,props:l,accessCache:o,type:f,appContext:u}=e;let d;if(t[0]!=="$"){const I=o[t];if(I!==void 0)switch(I){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return l[t]}else{if(s!==W&&U(s,t))return o[t]=1,s[t];if(r!==W&&U(r,t))return o[t]=2,r[t];if((d=e.propsOptions[0])&&U(d,t))return o[t]=3,l[t];if(n!==W&&U(n,t))return o[t]=4,n[t];hn&&(o[t]=0)}}const _=$t[t];let w,F;if(_)return t==="$attrs"&&de(e,"get",t),_(e);if((w=f.__cssModules)&&(w=w[t]))return w;if(n!==W&&U(n,t))return o[t]=4,n[t];if(F=u.config.globalProperties,U(F,t))return F[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:l}=e;return r!==W&&U(r,t)?(r[t]=n,!0):s!==W&&U(s,t)?(s[t]=n,!0):U(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:l}},o){let f;return!!n[o]||e!==W&&U(e,o)||t!==W&&U(t,o)||(f=l[0])&&U(f,o)||U(s,o)||U($t,o)||U(r.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:U(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let hn=!0;function $l(e){const t=zs(e),n=e.proxy,s=e.ctx;hn=!1,t.beforeCreate&&ts(t.beforeCreate,e,"bc");const{data:r,computed:l,methods:o,watch:f,provide:u,inject:d,created:_,beforeMount:w,mounted:F,beforeUpdate:I,updated:S,activated:G,deactivated:j,beforeDestroy:m,beforeUnmount:T,destroyed:N,unmounted:L,render:q,renderTracked:Z,renderTriggered:V,errorCaptured:v,serverPrefetch:X,expose:ee,inheritAttrs:k,components:pe,directives:te,filters:P}=t;if(d&&Dl(d,s,null,e.appContext.config.unwrapInjectedRef),o)for(const Q in o){const J=o[Q];H(J)&&(s[Q]=J.bind(n))}if(r){const Q=r.call(n,n);re(Q)&&(e.data=Rn(Q))}if(hn=!0,l)for(const Q in l){const J=l[Q],Fe=H(J)?J.bind(n,n):H(J.get)?J.get.bind(n,n):ye,Xt=!H(J)&&H(J.set)?J.set.bind(n):ye,lt=hi({get:Fe,set:Xt});Object.defineProperty(s,Q,{enumerable:!0,configurable:!0,get:()=>lt.value,set:qe=>lt.value=qe})}if(f)for(const Q in f)Vs(f[Q],s,n,Q);if(u){const Q=H(u)?u.call(n):u;Reflect.ownKeys(Q).forEach(J=>{wl(J,Q[J])})}_&&ts(_,e,"c");function z(Q,J){R(J)?J.forEach(Fe=>Q(Fe.bind(n))):J&&Q(J.bind(n))}if(z(Ol,w),z(Pl,F),z(Al,I),z(Il,S),z(Cl,G),z(Fl,j),z(vl,v),z(jl,Z),z(Hl,V),z(Rl,T),z(Ys,L),z(Nl,X),R(ee))if(ee.length){const Q=e.exposed||(e.exposed={});ee.forEach(J=>{Object.defineProperty(Q,J,{get:()=>n[J],set:Fe=>n[J]=Fe})})}else e.exposed||(e.exposed={});q&&e.render===ye&&(e.render=q),k!=null&&(e.inheritAttrs=k),pe&&(e.components=pe),te&&(e.directives=te)}function Dl(e,t,n=ye,s=!1){R(e)&&(e=pn(e));for(const r in e){const l=e[r];let o;re(l)?"default"in l?o=tn(l.from||r,l.default,!0):o=tn(l.from||r):o=tn(l),ie(o)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:f=>o.value=f}):t[r]=o}}function ts(e,t,n){we(R(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Vs(e,t,n,s){const r=s.includes(".")?Ss(n,s):()=>n[s];if(se(e)){const l=t[e];H(l)&&nn(r,l)}else if(H(e))nn(r,e.bind(n));else if(re(e))if(R(e))e.forEach(l=>Vs(l,t,n,s));else{const l=H(e.handler)?e.handler.bind(n):t[e.handler];H(l)&&nn(r,l,e)}}function zs(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:l,config:{optionMergeStrategies:o}}=e.appContext,f=l.get(t);let u;return f?u=f:!r.length&&!n&&!s?u=t:(u={},r.length&&r.forEach(d=>Dt(u,d,o,!0)),Dt(u,t,o)),l.set(t,u),u}function Dt(e,t,n,s=!1){const{mixins:r,extends:l}=t;l&&Dt(e,l,n,!0),r&&r.forEach(o=>Dt(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const f=Kl[o]||n&&n[o];e[o]=f?f(e[o],t[o]):t[o]}return e}const Kl={data:ns,props:Ke,emits:Ke,methods:Ke,computed:Ke,beforeCreate:le,created:le,beforeMount:le,mounted:le,beforeUpdate:le,updated:le,beforeDestroy:le,beforeUnmount:le,destroyed:le,unmounted:le,activated:le,deactivated:le,errorCaptured:le,serverPrefetch:le,components:Ke,directives:Ke,watch:Wl,provide:ns,inject:Bl};function ns(e,t){return t?e?function(){return oe(H(e)?e.call(this,this):e,H(t)?t.call(this,this):t)}:t:e}function Bl(e,t){return Ke(pn(e),pn(t))}function pn(e){if(R(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function le(e,t){return e?[...new Set([].concat(e,t))]:t}function Ke(e,t){return e?oe(oe(Object.create(null),e),t):t}function Wl(e,t){if(!e)return t;if(!t)return e;const n=oe(Object.create(null),e);for(const s in t)n[s]=le(e[s],t[s]);return n}function Sl(e,t,n,s=!1){const r={},l={};jt(l,zt,1),e.propsDefaults=Object.create(null),Xs(e,t,r,l);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:tl(r):e.type.props?e.props=r:e.props=l,e.attrs=l}function ql(e,t,n,s){const{props:r,attrs:l,vnode:{patchFlag:o}}=e,f=D(r),[u]=e.propsOptions;let d=!1;if((s||o>0)&&!(o&16)){if(o&8){const _=e.vnode.dynamicProps;for(let w=0;w<_.length;w++){let F=_[w];if(Yt(e.emitsOptions,F))continue;const I=t[F];if(u)if(U(l,F))I!==l[F]&&(l[F]=I,d=!0);else{const S=Qe(F);r[S]=gn(u,f,S,I,e,!1)}else I!==l[F]&&(l[F]=I,d=!0)}}}else{Xs(e,t,r,l)&&(d=!0);let _;for(const w in f)(!t||!U(t,w)&&((_=nt(w))===w||!U(t,_)))&&(u?n&&(n[w]!==void 0||n[_]!==void 0)&&(r[w]=gn(u,f,w,void 0,e,!0)):delete r[w]);if(l!==f)for(const w in l)(!t||!U(t,w)&&!0)&&(delete l[w],d=!0)}d&&Ae(e,"set","$attrs")}function Xs(e,t,n,s){const[r,l]=e.propsOptions;let o=!1,f;if(t)for(let u in t){if(dt(u))continue;const d=t[u];let _;r&&U(r,_=Qe(u))?!l||!l.includes(_)?n[_]=d:(f||(f={}))[_]=d:Yt(e.emitsOptions,u)||(!(u in s)||d!==s[u])&&(s[u]=d,o=!0)}if(l){const u=D(n),d=f||W;for(let _=0;_<l.length;_++){const w=l[_];n[w]=gn(r,u,w,d[w],e,!U(d,w))}}return o}function gn(e,t,n,s,r,l){const o=e[n];if(o!=null){const f=U(o,"default");if(f&&s===void 0){const u=o.default;if(o.type!==Function&&H(u)){const{propsDefaults:d}=r;n in d?s=d[n]:(tt(r),s=d[n]=u.call(null,t),Se())}else s=u}o[0]&&(l&&!f?s=!1:o[1]&&(s===""||s===nt(n))&&(s=!0))}return s}function Zs(e,t,n=!1){const s=t.propsCache,r=s.get(e);if(r)return r;const l=e.props,o={},f=[];let u=!1;if(!H(e)){const _=w=>{u=!0;const[F,I]=Zs(w,t,!0);oe(o,F),I&&f.push(...I)};!n&&t.mixins.length&&t.mixins.forEach(_),e.extends&&_(e.extends),e.mixins&&e.mixins.forEach(_)}if(!l&&!u)return s.set(e,ut),ut;if(R(l))for(let _=0;_<l.length;_++){const w=Qe(l[_]);ss(w)&&(o[w]=W)}else if(l)for(const _ in l){const w=Qe(_);if(ss(w)){const F=l[_],I=o[w]=R(F)||H(F)?{type:F}:F;if(I){const S=is(Boolean,I.type),G=is(String,I.type);I[0]=S>-1,I[1]=G<0||S<G,(S>-1||U(I,"default"))&&f.push(w)}}}const d=[o,f];return s.set(e,d),d}function ss(e){return e[0]!=="$"}function rs(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function ls(e,t){return rs(e)===rs(t)}function is(e,t){return R(t)?t.findIndex(n=>ls(n,e)):H(t)&&ls(t,e)?0:-1}const ks=e=>e[0]==="_"||e==="$stable",Un=e=>R(e)?e.map(be):[be(e)],Jl=(e,t,n)=>{if(t._n)return t;const s=gl((...r)=>Un(t(...r)),n);return s._c=!1,s},Qs=(e,t,n)=>{const s=e._ctx;for(const r in e){if(ks(r))continue;const l=e[r];if(H(l))t[r]=Jl(r,l,s);else if(l!=null){const o=Un(l);t[r]=()=>o}}},Gs=(e,t)=>{const n=Un(t);e.slots.default=()=>n},Yl=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=D(t),jt(t,"_",n)):Qs(t,e.slots={})}else e.slots={},t&&Gs(e,t);jt(e.slots,zt,1)},Vl=(e,t,n)=>{const{vnode:s,slots:r}=e;let l=!0,o=W;if(s.shapeFlag&32){const f=t._;f?n&&f===1?l=!1:(oe(r,t),!n&&f===1&&delete r._):(l=!t.$stable,Qs(t,r)),o=t}else t&&(Gs(e,t),o={default:1});if(l)for(const f in r)!ks(f)&&!(f in o)&&delete r[f]};function er(){return{app:null,config:{isNativeTag:_r,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 zl=0;function Xl(e,t){return function(s,r=null){H(s)||(s=Object.assign({},s)),r!=null&&!re(r)&&(r=null);const l=er(),o=new Set;let f=!1;const u=l.app={_uid:zl++,_component:s,_props:r,_container:null,_context:l,_instance:null,version:pi,get config(){return l.config},set config(d){},use(d,..._){return o.has(d)||(d&&H(d.install)?(o.add(d),d.install(u,..._)):H(d)&&(o.add(d),d(u,..._))),u},mixin(d){return l.mixins.includes(d)||l.mixins.push(d),u},component(d,_){return _?(l.components[d]=_,u):l.components[d]},directive(d,_){return _?(l.directives[d]=_,u):l.directives[d]},mount(d,_,w){if(!f){const F=ae(s,r);return F.appContext=l,_&&t?t(F,d):e(F,d,w),f=!0,u._container=d,d.__vue_app__=u,Dn(F.component)||F.component.proxy}},unmount(){f&&(e(null,u._container),delete u._container.__vue_app__)},provide(d,_){return l.provides[d]=_,u}};return u}}function Kt(e,t,n,s,r=!1){if(R(e)){e.forEach((F,I)=>Kt(F,t&&(R(t)?t[I]:t),n,s,r));return}if(gt(s)&&!r)return;const l=s.shapeFlag&4?Dn(s.component)||s.component.proxy:s.el,o=r?null:l,{i:f,r:u}=e,d=t&&t.r,_=f.refs===W?f.refs={}:f.refs,w=f.setupState;if(d!=null&&d!==u&&(se(d)?(_[d]=null,U(w,d)&&(w[d]=null)):ie(d)&&(d.value=null)),H(u))Le(u,f,12,[o,_]);else{const F=se(u),I=ie(u);if(F||I){const S=()=>{if(e.f){const G=F?_[u]:u.value;r?R(G)&&Tn(G,l):R(G)?G.includes(l)||G.push(l):F?(_[u]=[l],U(w,u)&&(w[u]=_[u])):(u.value=[l],e.k&&(_[e.k]=u.value))}else F?(_[u]=o,U(w,u)&&(w[u]=o)):I&&(u.value=o,e.k&&(_[e.k]=o))};o?(S.id=-1,fe(S,n)):S()}}}let He=!1;const Pt=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",At=e=>e.nodeType===8;function Zl(e){const{mt:t,p:n,o:{patchProp:s,createText:r,nextSibling:l,parentNode:o,remove:f,insert:u,createComment:d}}=e,_=(m,T)=>{if(!T.hasChildNodes()){n(null,m,T),Ut(),T._vnode=m;return}He=!1,w(T.firstChild,m,null,null,null),Ut(),T._vnode=m,He&&console.error("Hydration completed but contains mismatches.")},w=(m,T,N,L,q,Z=!1)=>{const V=At(m)&&m.data==="[",v=()=>G(m,T,N,L,q,V),{type:X,ref:ee,shapeFlag:k,patchFlag:pe}=T,te=m.nodeType;T.el=m,pe===-2&&(Z=!1,T.dynamicChildren=null);let P=null;switch(X){case xt:te!==3?T.children===""?(u(T.el=r(""),o(m),m),P=m):P=v():(m.data!==T.children&&(He=!0,m.data=T.children),P=l(m));break;case Ge:te!==8||V?P=v():P=l(m);break;case It:if(te!==1&&te!==3)P=v();else{P=m;const ge=!T.children.length;for(let z=0;z<T.staticCount;z++)ge&&(T.children+=P.nodeType===1?P.outerHTML:P.data),z===T.staticCount-1&&(T.anchor=P),P=l(P);return P}break;case _e:V?P=S(m,T,N,L,q,Z):P=v();break;default:if(k&1)te!==1||T.type.toLowerCase()!==m.tagName.toLowerCase()?P=v():P=F(m,T,N,L,q,Z);else if(k&6){T.slotScopeIds=q;const ge=o(m);if(t(T,ge,null,N,L,Pt(ge),Z),P=V?j(m):l(m),P&&At(P)&&P.data==="teleport end"&&(P=l(P)),gt(T)){let z;V?(z=ae(_e),z.anchor=P?P.previousSibling:ge.lastChild):z=m.nodeType===3?rr(""):ae("div"),z.el=m,T.component.subTree=z}}else k&64?te!==8?P=v():P=T.type.hydrate(m,T,N,L,q,Z,e,I):k&128&&(P=T.type.hydrate(m,T,N,L,Pt(o(m)),q,Z,e,w))}return ee!=null&&Kt(ee,null,L,T),P},F=(m,T,N,L,q,Z)=>{Z=Z||!!T.dynamicChildren;const{type:V,props:v,patchFlag:X,shapeFlag:ee,dirs:k}=T,pe=V==="input"&&k||V==="option";if(pe||X!==-1){if(k&&Ce(T,null,N,"created"),v)if(pe||!Z||X&48)for(const P in v)(pe&&P.endsWith("value")||wt(P)&&!dt(P))&&s(m,P,null,v[P],!1,void 0,N);else v.onClick&&s(m,"onClick",null,v.onClick,!1,void 0,N);let te;if((te=v&&v.onVnodeBeforeMount)&&he(te,N,T),k&&Ce(T,null,N,"beforeMount"),((te=v&&v.onVnodeMounted)||k)&&Bs(()=>{te&&he(te,N,T),k&&Ce(T,null,N,"mounted")},L),ee&16&&!(v&&(v.innerHTML||v.textContent))){let P=I(m.firstChild,T,m,N,L,q,Z);for(;P;){He=!0;const ge=P;P=P.nextSibling,f(ge)}}else ee&8&&m.textContent!==T.children&&(He=!0,m.textContent=T.children)}return m.nextSibling},I=(m,T,N,L,q,Z,V)=>{V=V||!!T.dynamicChildren;const v=T.children,X=v.length;for(let ee=0;ee<X;ee++){const k=V?v[ee]:v[ee]=be(v[ee]);if(m)m=w(m,k,L,q,Z,V);else{if(k.type===xt&&!k.children)continue;He=!0,n(null,k,N,null,L,q,Pt(N),Z)}}return m},S=(m,T,N,L,q,Z)=>{const{slotScopeIds:V}=T;V&&(q=q?q.concat(V):V);const v=o(m),X=I(l(m),T,v,N,L,q,Z);return X&&At(X)&&X.data==="]"?l(T.anchor=X):(He=!0,u(T.anchor=d("]"),v,X),X)},G=(m,T,N,L,q,Z)=>{if(He=!0,T.el=null,Z){const X=j(m);for(;;){const ee=l(m);if(ee&&ee!==X)f(ee);else break}}const V=l(m),v=o(m);return f(m),n(null,T,v,V,N,L,Pt(v),q),V},j=m=>{let T=0;for(;m;)if(m=l(m),m&&At(m)&&(m.data==="["&&T++,m.data==="]")){if(T===0)return l(m);T--}return m};return[_,w]}const fe=Bs;function kl(e){return tr(e)}function Ql(e){return tr(e,Zl)}function tr(e,t){const n=Or();n.__VUE__=!0;const{insert:s,remove:r,patchProp:l,createElement:o,createText:f,createComment:u,setText:d,setElementText:_,parentNode:w,nextSibling:F,setScopeId:I=ye,cloneNode:S,insertStaticContent:G}=e,j=(i,c,a,p=null,h=null,x=null,E=!1,b=null,y=!!c.dynamicChildren)=>{if(i===c)return;i&&!ot(i,c)&&(p=Et(i),Re(i,h,x,!0),i=null),c.patchFlag===-2&&(y=!1,c.dynamicChildren=null);const{type:g,ref:M,shapeFlag:C}=c;switch(g){case xt:m(i,c,a,p);break;case Ge:T(i,c,a,p);break;case It:i==null&&N(c,a,p,E);break;case _e:te(i,c,a,p,h,x,E,b,y);break;default:C&1?Z(i,c,a,p,h,x,E,b,y):C&6?P(i,c,a,p,h,x,E,b,y):(C&64||C&128)&&g.process(i,c,a,p,h,x,E,b,y,Je)}M!=null&&h&&Kt(M,i&&i.ref,x,c||i,!c)},m=(i,c,a,p)=>{if(i==null)s(c.el=f(c.children),a,p);else{const h=c.el=i.el;c.children!==i.children&&d(h,c.children)}},T=(i,c,a,p)=>{i==null?s(c.el=u(c.children||""),a,p):c.el=i.el},N=(i,c,a,p)=>{[i.el,i.anchor]=G(i.children,c,a,p,i.el,i.anchor)},L=({el:i,anchor:c},a,p)=>{let h;for(;i&&i!==c;)h=F(i),s(i,a,p),i=h;s(c,a,p)},q=({el:i,anchor:c})=>{let a;for(;i&&i!==c;)a=F(i),r(i),i=a;r(c)},Z=(i,c,a,p,h,x,E,b,y)=>{E=E||c.type==="svg",i==null?V(c,a,p,h,x,E,b,y):ee(i,c,h,x,E,b,y)},V=(i,c,a,p,h,x,E,b)=>{let y,g;const{type:M,props:C,shapeFlag:O,transition:A,patchFlag:$,dirs:K}=i;if(i.el&&S!==void 0&&$===-1)y=i.el=S(i.el);else{if(y=i.el=o(i.type,x,C&&C.is,C),O&8?_(y,i.children):O&16&&X(i.children,y,null,p,h,x&&M!=="foreignObject",E,b),K&&Ce(i,null,p,"created"),C){for(const Y in C)Y!=="value"&&!dt(Y)&&l(y,Y,null,C[Y],x,i.children,p,h,Me);"value"in C&&l(y,"value",null,C.value),(g=C.onVnodeBeforeMount)&&he(g,p,i)}v(y,i,i.scopeId,E,p)}K&&Ce(i,null,p,"beforeMount");const B=(!h||h&&!h.pendingBranch)&&A&&!A.persisted;B&&A.beforeEnter(y),s(y,c,a),((g=C&&C.onVnodeMounted)||B||K)&&fe(()=>{g&&he(g,p,i),B&&A.enter(y),K&&Ce(i,null,p,"mounted")},h)},v=(i,c,a,p,h)=>{if(a&&I(i,a),p)for(let x=0;x<p.length;x++)I(i,p[x]);if(h){let x=h.subTree;if(c===x){const E=h.vnode;v(i,E,E.scopeId,E.slotScopeIds,h.parent)}}},X=(i,c,a,p,h,x,E,b,y=0)=>{for(let g=y;g<i.length;g++){const M=i[g]=b?ve(i[g]):be(i[g]);j(null,M,c,a,p,h,x,E,b)}},ee=(i,c,a,p,h,x,E)=>{const b=c.el=i.el;let{patchFlag:y,dynamicChildren:g,dirs:M}=c;y|=i.patchFlag&16;const C=i.props||W,O=c.props||W;let A;a&&De(a,!1),(A=O.onVnodeBeforeUpdate)&&he(A,a,c,i),M&&Ce(c,i,a,"beforeUpdate"),a&&De(a,!0);const $=h&&c.type!=="foreignObject";if(g?k(i.dynamicChildren,g,b,a,p,$,x):E||Fe(i,c,b,null,a,p,$,x,!1),y>0){if(y&16)pe(b,c,C,O,a,p,h);else if(y&2&&C.class!==O.class&&l(b,"class",null,O.class,h),y&4&&l(b,"style",C.style,O.style,h),y&8){const K=c.dynamicProps;for(let B=0;B<K.length;B++){const Y=K[B],me=C[Y],Ye=O[Y];(Ye!==me||Y==="value")&&l(b,Y,me,Ye,h,i.children,a,p,Me)}}y&1&&i.children!==c.children&&_(b,c.children)}else!E&&g==null&&pe(b,c,C,O,a,p,h);((A=O.onVnodeUpdated)||M)&&fe(()=>{A&&he(A,a,c,i),M&&Ce(c,i,a,"updated")},p)},k=(i,c,a,p,h,x,E)=>{for(let b=0;b<c.length;b++){const y=i[b],g=c[b],M=y.el&&(y.type===_e||!ot(y,g)||y.shapeFlag&70)?w(y.el):a;j(y,g,M,null,p,h,x,E,!0)}},pe=(i,c,a,p,h,x,E)=>{if(a!==p){for(const b in p){if(dt(b))continue;const y=p[b],g=a[b];y!==g&&b!=="value"&&l(i,b,g,y,E,c.children,h,x,Me)}if(a!==W)for(const b in a)!dt(b)&&!(b in p)&&l(i,b,a[b],null,E,c.children,h,x,Me);"value"in p&&l(i,"value",a.value,p.value)}},te=(i,c,a,p,h,x,E,b,y)=>{const g=c.el=i?i.el:f(""),M=c.anchor=i?i.anchor:f("");let{patchFlag:C,dynamicChildren:O,slotScopeIds:A}=c;A&&(b=b?b.concat(A):A),i==null?(s(g,a,p),s(M,a,p),X(c.children,a,M,h,x,E,b,y)):C>0&&C&64&&O&&i.dynamicChildren?(k(i.dynamicChildren,O,a,h,x,E,b),(c.key!=null||h&&c===h.subTree)&&nr(i,c,!0)):Fe(i,c,a,M,h,x,E,b,y)},P=(i,c,a,p,h,x,E,b,y)=>{c.slotScopeIds=b,i==null?c.shapeFlag&512?h.ctx.activate(c,a,p,E,y):ge(c,a,p,h,x,E,y):z(i,c,y)},ge=(i,c,a,p,h,x,E)=>{const b=i.component=oi(i,p,h);if(qs(i)&&(b.ctx.renderer=Je),fi(b),b.asyncDep){if(h&&h.registerDep(b,Q),!i.el){const y=b.subTree=ae(Ge);T(null,y,c,a)}return}Q(b,i,c,a,h,x,E)},z=(i,c,a)=>{const p=c.component=i.component;if(bl(i,c,a))if(p.asyncDep&&!p.asyncResolved){J(p,c,a);return}else p.next=c,al(p.update),p.update();else c.el=i.el,p.vnode=c},Q=(i,c,a,p,h,x,E)=>{const b=()=>{if(i.isMounted){let{next:M,bu:C,u:O,parent:A,vnode:$}=i,K=M,B;De(i,!1),M?(M.el=$.el,J(i,M,E)):M=$,C&&Gt(C),(B=M.props&&M.props.onVnodeBeforeUpdate)&&he(B,A,M,$),De(i,!0);const Y=en(i),me=i.subTree;i.subTree=Y,j(me,Y,w(me.el),Et(me),i,h,x),M.el=Y.el,K===null&&xl(i,Y.el),O&&fe(O,h),(B=M.props&&M.props.onVnodeUpdated)&&fe(()=>he(B,A,M,$),h)}else{let M;const{el:C,props:O}=c,{bm:A,m:$,parent:K}=i,B=gt(c);if(De(i,!1),A&&Gt(A),!B&&(M=O&&O.onVnodeBeforeMount)&&he(M,K,c),De(i,!0),C&&kt){const Y=()=>{i.subTree=en(i),kt(C,i.subTree,i,h,null)};B?c.type.__asyncLoader().then(()=>!i.isUnmounted&&Y()):Y()}else{const Y=i.subTree=en(i);j(null,Y,a,p,i,h,x),c.el=Y.el}if($&&fe($,h),!B&&(M=O&&O.onVnodeMounted)){const Y=c;fe(()=>he(M,K,Y),h)}(c.shapeFlag&256||K&>(K.vnode)&&K.vnode.shapeFlag&256)&&i.a&&fe(i.a,h),i.isMounted=!0,c=a=p=null}},y=i.effect=new On(b,()=>vs(g),i.scope),g=i.update=()=>y.run();g.id=i.uid,De(i,!0),g()},J=(i,c,a)=>{c.component=i;const p=i.vnode.props;i.vnode=c,i.next=null,ql(i,c.props,p,a),Vl(i,c.children,a),st(),Jt(void 0,i.update),rt()},Fe=(i,c,a,p,h,x,E,b,y=!1)=>{const g=i&&i.children,M=i?i.shapeFlag:0,C=c.children,{patchFlag:O,shapeFlag:A}=c;if(O>0){if(O&128){lt(g,C,a,p,h,x,E,b,y);return}else if(O&256){Xt(g,C,a,p,h,x,E,b,y);return}}A&8?(M&16&&Me(g,h,x),C!==g&&_(a,C)):M&16?A&16?lt(g,C,a,p,h,x,E,b,y):Me(g,h,x,!0):(M&8&&_(a,""),A&16&&X(C,a,p,h,x,E,b,y))},Xt=(i,c,a,p,h,x,E,b,y)=>{i=i||ut,c=c||ut;const g=i.length,M=c.length,C=Math.min(g,M);let O;for(O=0;O<C;O++){const A=c[O]=y?ve(c[O]):be(c[O]);j(i[O],A,a,null,h,x,E,b,y)}g>M?Me(i,h,x,!0,!1,C):X(c,a,p,h,x,E,b,y,C)},lt=(i,c,a,p,h,x,E,b,y)=>{let g=0;const M=c.length;let C=i.length-1,O=M-1;for(;g<=C&&g<=O;){const A=i[g],$=c[g]=y?ve(c[g]):be(c[g]);if(ot(A,$))j(A,$,a,null,h,x,E,b,y);else break;g++}for(;g<=C&&g<=O;){const A=i[C],$=c[O]=y?ve(c[O]):be(c[O]);if(ot(A,$))j(A,$,a,null,h,x,E,b,y);else break;C--,O--}if(g>C){if(g<=O){const A=O+1,$=A<M?c[A].el:p;for(;g<=O;)j(null,c[g]=y?ve(c[g]):be(c[g]),a,$,h,x,E,b,y),g++}}else if(g>O)for(;g<=C;)Re(i[g],h,x,!0),g++;else{const A=g,$=g,K=new Map;for(g=$;g<=O;g++){const ce=c[g]=y?ve(c[g]):be(c[g]);ce.key!=null&&K.set(ce.key,g)}let B,Y=0;const me=O-$+1;let Ye=!1,Wn=0;const it=new Array(me);for(g=0;g<me;g++)it[g]=0;for(g=A;g<=C;g++){const ce=i[g];if(Y>=me){Re(ce,h,x,!0);continue}let Ee;if(ce.key!=null)Ee=K.get(ce.key);else for(B=$;B<=O;B++)if(it[B-$]===0&&ot(ce,c[B])){Ee=B;break}Ee===void 0?Re(ce,h,x,!0):(it[Ee-$]=g+1,Ee>=Wn?Wn=Ee:Ye=!0,j(ce,c[Ee],a,null,h,x,E,b,y),Y++)}const Sn=Ye?Gl(it):ut;for(B=Sn.length-1,g=me-1;g>=0;g--){const ce=$+g,Ee=c[ce],qn=ce+1<M?c[ce+1].el:p;it[g]===0?j(null,Ee,a,qn,h,x,E,b,y):Ye&&(B<0||g!==Sn[B]?qe(Ee,a,qn,2):B--)}}},qe=(i,c,a,p,h=null)=>{const{el:x,type:E,transition:b,children:y,shapeFlag:g}=i;if(g&6){qe(i.component.subTree,c,a,p);return}if(g&128){i.suspense.move(c,a,p);return}if(g&64){E.move(i,c,a,Je);return}if(E===_e){s(x,c,a);for(let C=0;C<y.length;C++)qe(y[C],c,a,p);s(i.anchor,c,a);return}if(E===It){L(i,c,a);return}if(p!==2&&g&1&&b)if(p===0)b.beforeEnter(x),s(x,c,a),fe(()=>b.enter(x),h);else{const{leave:C,delayLeave:O,afterLeave:A}=b,$=()=>s(x,c,a),K=()=>{C(x,()=>{$(),A&&A()})};O?O(x,$,K):K()}else s(x,c,a)},Re=(i,c,a,p=!1,h=!1)=>{const{type:x,props:E,ref:b,children:y,dynamicChildren:g,shapeFlag:M,patchFlag:C,dirs:O}=i;if(b!=null&&Kt(b,null,a,i,!0),M&256){c.ctx.deactivate(i);return}const A=M&1&&O,$=!gt(i);let K;if($&&(K=E&&E.onVnodeBeforeUnmount)&&he(K,c,i),M&6)ar(i.component,a,p);else{if(M&128){i.suspense.unmount(a,p);return}A&&Ce(i,null,c,"beforeUnmount"),M&64?i.type.remove(i,c,a,h,Je,p):g&&(x!==_e||C>0&&C&64)?Me(g,c,a,!1,!0):(x===_e&&C&384||!h&&M&16)&&Me(y,c,a),p&&Kn(i)}($&&(K=E&&E.onVnodeUnmounted)||A)&&fe(()=>{K&&he(K,c,i),A&&Ce(i,null,c,"unmounted")},a)},Kn=i=>{const{type:c,el:a,anchor:p,transition:h}=i;if(c===_e){ur(a,p);return}if(c===It){q(i);return}const x=()=>{r(a),h&&!h.persisted&&h.afterLeave&&h.afterLeave()};if(i.shapeFlag&1&&h&&!h.persisted){const{leave:E,delayLeave:b}=h,y=()=>E(a,x);b?b(i.el,x,y):y()}else x()},ur=(i,c)=>{let a;for(;i!==c;)a=F(i),r(i),i=a;r(c)},ar=(i,c,a)=>{const{bum:p,scope:h,update:x,subTree:E,um:b}=i;p&&Gt(p),h.stop(),x&&(x.active=!1,Re(E,i,c,a)),b&&fe(b,c),fe(()=>{i.isUnmounted=!0},c),c&&c.pendingBranch&&!c.isUnmounted&&i.asyncDep&&!i.asyncResolved&&i.suspenseId===c.pendingId&&(c.deps--,c.deps===0&&c.resolve())},Me=(i,c,a,p=!1,h=!1,x=0)=>{for(let E=x;E<i.length;E++)Re(i[E],c,a,p,h)},Et=i=>i.shapeFlag&6?Et(i.component.subTree):i.shapeFlag&128?i.suspense.next():F(i.anchor||i.el),Bn=(i,c,a)=>{i==null?c._vnode&&Re(c._vnode,null,null,!0):j(c._vnode||null,i,c,null,null,null,a),Ut(),c._vnode=i},Je={p:j,um:Re,m:qe,r:Kn,mt:ge,mc:X,pc:Fe,pbc:k,n:Et,o:e};let Zt,kt;return t&&([Zt,kt]=t(Je)),{render:Bn,hydrate:Zt,createApp:Xl(Bn,Zt)}}function De({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function nr(e,t,n=!1){const s=e.children,r=t.children;if(R(s)&&R(r))for(let l=0;l<s.length;l++){const o=s[l];let f=r[l];f.shapeFlag&1&&!f.dynamicChildren&&((f.patchFlag<=0||f.patchFlag===32)&&(f=r[l]=ve(r[l]),f.el=o.el),n||nr(o,f))}}function Gl(e){const t=e.slice(),n=[0];let s,r,l,o,f;const u=e.length;for(s=0;s<u;s++){const d=e[s];if(d!==0){if(r=n[n.length-1],e[r]<d){t[s]=r,n.push(s);continue}for(l=0,o=n.length-1;l<o;)f=l+o>>1,e[n[f]]<d?l=f+1:o=f;d<e[n[l]]&&(l>0&&(t[s]=n[l-1]),n[l]=s)}}for(l=n.length,o=n[l-1];l-- >0;)n[l]=o,o=t[o];return n}const ei=e=>e.__isTeleport,_e=Symbol(void 0),xt=Symbol(void 0),Ge=Symbol(void 0),It=Symbol(void 0);let Ze=null,Ln=1;function os(e){Ln+=e}function mn(e){return e?e.__v_isVNode===!0:!1}function ot(e,t){return e.type===t.type&&e.key===t.key}const zt="__vInternal",sr=({key:e})=>e??null,Rt=({ref:e,ref_key:t,ref_for:n})=>e!=null?se(e)||ie(e)||H(e)?{i:Pe,r:e,k:t,f:!!n}:e:null;function ti(e,t=null,n=null,s=0,r=null,l=e===_e?0:1,o=!1,f=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&sr(t),ref:t&&Rt(t),scopeId:Ks,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null};return f?($n(u,n),l&128&&e.normalize(u)):n&&(u.shapeFlag|=se(n)?8:16),Ln>0&&!o&&Ze&&(u.patchFlag>0||l&6)&&u.patchFlag!==32&&Ze.push(u),u}const ae=ni;function ni(e,t=null,n=null,s=0,r=null,l=!1){if((!e||e===Ul)&&(e=Ge),mn(e)){const f=et(e,t,!0);return n&&$n(f,n),Ln>0&&!l&&Ze&&(f.shapeFlag&6?Ze[Ze.indexOf(e)]=f:Ze.push(f)),f.patchFlag|=-2,f}if(di(e)&&(e=e.__vccOpts),t){t=si(t);let{class:f,style:u}=t;f&&!se(f)&&(t.class=wn(f)),re(u)&&(Rs(u)&&!R(u)&&(u=oe({},u)),t.style=yn(u))}const o=se(e)?1:yl(e)?128:ei(e)?64:re(e)?4:H(e)?2:0;return ti(e,t,n,s,r,o,l,!0)}function si(e){return e?Rs(e)||zt in e?oe({},e):e:null}function et(e,t,n=!1){const{props:s,ref:r,patchFlag:l,children:o}=e,f=t?ri(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&sr(f),ref:t&&t.ref?n&&r?R(r)?r.concat(Rt(t)):[r,Rt(t)]:Rt(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?l===-1?16:l|16:l,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&et(e.ssContent),ssFallback:e.ssFallback&&et(e.ssFallback),el:e.el,anchor:e.anchor}}function rr(e=" ",t=0){return ae(xt,null,e,t)}function be(e){return e==null||typeof e=="boolean"?ae(Ge):R(e)?ae(_e,null,e.slice()):typeof e=="object"?ve(e):ae(xt,null,String(e))}function ve(e){return e.el===null||e.memo?e:et(e)}function $n(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(R(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),$n(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(zt in t)?t._ctx=Pe:r===3&&Pe&&(Pe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else H(t)?(t={default:t,_ctx:Pe},n=32):(t=String(t),s&64?(n=16,t=[rr(t)]):n=8);e.children=t,e.shapeFlag|=n}function ri(...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=wn([t.class,s.class]));else if(r==="style")t.style=yn([t.style,s.style]);else if(wt(r)){const l=t[r],o=s[r];o&&l!==o&&!(R(l)&&l.includes(o))&&(t[r]=l?[].concat(l,o):o)}else r!==""&&(t[r]=s[r])}return t}function he(e,t,n,s=null){we(e,t,7,[n,s])}const li=er();let ii=0;function oi(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||li,l={uid:ii++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,scope:new Pr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Zs(s,r),emitsOptions:Ds(s,r),emit:null,emitted:null,propsDefaults:W,inheritAttrs:s.inheritAttrs,ctx:W,data:W,props:W,attrs:W,slots:W,refs:W,setupState:W,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 l.ctx={_:l},l.root=t?t.root:l,l.emit=pl.bind(null,l),e.ce&&e.ce(l),l}let ne=null;const tt=e=>{ne=e,e.scope.on()},Se=()=>{ne&&ne.scope.off(),ne=null};function lr(e){return e.vnode.shapeFlag&4}let yt=!1;function fi(e,t=!1){yt=t;const{props:n,children:s}=e.vnode,r=lr(e);Sl(e,n,r,t),Yl(e,s);const l=r?ci(e,t):void 0;return yt=!1,l}function ci(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Ns(new Proxy(e.ctx,Ll));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?ai(e):null;tt(e),st();const l=Le(s,e,0,[e.props,r]);if(rt(),Se(),bs(l)){if(l.then(Se,Se),t)return l.then(o=>{fs(e,o,t)}).catch(o=>{qt(o,e,0)});e.asyncDep=l}else fs(e,l,t)}else ir(e,t)}function fs(e,t,n){H(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:re(t)&&(e.setupState=Hs(t)),ir(e,n)}let cs;function ir(e,t,n){const s=e.type;if(!e.render){if(!t&&cs&&!s.render){const r=s.template;if(r){const{isCustomElement:l,compilerOptions:o}=e.appContext.config,{delimiters:f,compilerOptions:u}=s,d=oe(oe({isCustomElement:l,delimiters:f},o),u);s.render=cs(r,d)}}e.render=s.render||ye}tt(e),st(),$l(e),rt(),Se()}function ui(e){return new Proxy(e.attrs,{get(t,n){return de(e,"get","$attrs"),t[n]}})}function ai(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=ui(e))},slots:e.slots,emit:e.emit,expose:t}}function Dn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Hs(Ns(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in $t)return $t[n](e)}}))}function di(e){return H(e)&&"__vccOpts"in e}const hi=(e,t)=>ol(e,t,yt);function Nt(e,t,n){const s=arguments.length;return s===2?re(t)&&!R(t)?mn(t)?ae(e,null,[t]):ae(e,t):ae(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&mn(n)&&(n=[n]),ae(e,t,n))}const pi="3.2.37",gi="http://www.w3.org/2000/svg",Be=typeof document<"u"?document:null,us=Be&&Be.createElement("template"),mi={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?Be.createElementNS(gi,e):Be.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>Be.createTextNode(e),createComment:e=>Be.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Be.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,s,r,l){const o=n?n.previousSibling:t.lastChild;if(r&&(r===l||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===l||!(r=r.nextSibling)););else{us.innerHTML=s?`<svg>${e}</svg>`:e;const f=us.content;if(s){const u=f.firstChild;for(;u.firstChild;)f.appendChild(u.firstChild);f.removeChild(u)}t.insertBefore(f,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function _i(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function bi(e,t,n){const s=e.style,r=se(n);if(n&&!r){for(const l in n)_n(s,l,n[l]);if(t&&!se(t))for(const l in t)n[l]==null&&_n(s,l,"")}else{const l=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=l)}}const as=/\s*!important$/;function _n(e,t,n){if(R(n))n.forEach(s=>_n(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=xi(e,t);as.test(n)?e.setProperty(nt(s),n.replace(as,""),"important"):e[s]=n}}const ds=["Webkit","Moz","ms"],sn={};function xi(e,t){const n=sn[t];if(n)return n;let s=Qe(t);if(s!=="filter"&&s in e)return sn[t]=s;s=xs(s);for(let r=0;r<ds.length;r++){const l=ds[r]+s;if(l in e)return sn[t]=l}return t}const hs="http://www.w3.org/1999/xlink";function yi(e,t,n,s,r){if(s&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(hs,t.slice(6,t.length)):e.setAttributeNS(hs,t,n);else{const l=hr(t);n==null||l&&!_s(n)?e.removeAttribute(t):e.setAttribute(t,l?"":n)}}function wi(e,t,n,s,r,l,o){if(t==="innerHTML"||t==="textContent"){s&&o(s,r,l),e[t]=n??"";return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const u=n??"";(e.value!==u||e.tagName==="OPTION")&&(e.value=u),n==null&&e.removeAttribute(t);return}let f=!1;if(n===""||n==null){const u=typeof e[t];u==="boolean"?n=_s(n):n==null&&u==="string"?(n="",f=!0):u==="number"&&(n=0,f=!0)}try{e[t]=n}catch{}f&&e.removeAttribute(t)}const[or,Ei]=(()=>{let e=Date.now,t=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let bn=0;const Ti=Promise.resolve(),Ci=()=>{bn=0},Fi=()=>bn||(Ti.then(Ci),bn=or());function Mi(e,t,n,s){e.addEventListener(t,n,s)}function Oi(e,t,n,s){e.removeEventListener(t,n,s)}function Pi(e,t,n,s,r=null){const l=e._vei||(e._vei={}),o=l[t];if(s&&o)o.value=s;else{const[f,u]=Ai(t);if(s){const d=l[t]=Ii(s,r);Mi(e,f,d,u)}else o&&(Oi(e,f,o,u),l[t]=void 0)}}const ps=/(?:Once|Passive|Capture)$/;function Ai(e){let t;if(ps.test(e)){t={};let n;for(;n=e.match(ps);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[nt(e.slice(2)),t]}function Ii(e,t){const n=s=>{const r=s.timeStamp||or();(Ei||r>=n.attached-1)&&we(Ri(s,n.value),t,5,[s])};return n.value=e,n.attached=Fi(),n}function Ri(e,t){if(R(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 gs=/^on[a-z]/,Ni=(e,t,n,s,r=!1,l,o,f,u)=>{t==="class"?_i(e,s,r):t==="style"?bi(e,n,s):wt(t)?En(t)||Pi(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Hi(e,t,s,r))?wi(e,t,s,l,o,f,u):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),yi(e,t,s,r))};function Hi(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&gs.test(t)&&H(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||gs.test(t)&&se(n)?!1:t in e}const fr=oe({patchProp:Ni},mi);let mt,ms=!1;function ji(){return mt||(mt=kl(fr))}function vi(){return mt=ms?mt:Ql(fr),ms=!0,mt}const Ui=(...e)=>{const t=ji().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=cr(s);if(!r)return;const l=t._component;!H(l)&&!l.render&&!l.template&&(l.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},Li=(...e)=>{const t=vi().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=cr(s);if(r)return n(r,!0,r instanceof SVGElement)},t};function cr(e){return se(e)?document.querySelector(e):e}const $i=Tl({props:{value:String,name:String},setup({name:e,value:t}){return t?()=>Nt("astro-slot",{name:e,innerHTML:t}):()=>null}}),Di=e=>(t,n,s,{client:r})=>{if(delete n.class,!e.hasAttribute("ssr"))return;const l=t.name?`${t.name} Host`:void 0,o={};for(const[f,u]of Object.entries(s))o[f]=()=>Nt($i,{value:u,name:f==="default"?void 0:f});r==="only"?Ui({name:l,render:()=>Nt(t,n,o)}).mount(e,!1):Li({name:l,render:()=>Nt(t,n,o)}).mount(e,!0)};export{Di as default};
|