@waelio/cli 0.1.7 → 0.1.8
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/dist/scaffold.js +132 -11
- package/dist/server.js +41 -0
- package/package.json +1 -1
- package/ui/dist/assets/PublicSitesView-DBnqmdMy.css +1 -0
- package/ui/dist/assets/PublicSitesView-DuDEMQT0.js +1 -0
- package/ui/dist/assets/index-BASEVOdG.js +27 -0
- package/ui/dist/assets/index-MlBRo6xM.css +1 -0
- package/ui/dist/index.html +2 -2
- package/ui/dist/assets/index-C3Eg0a_I.css +0 -1
- package/ui/dist/assets/index-Cde-X4PD.js +0 -18
package/dist/scaffold.js
CHANGED
|
@@ -2,8 +2,12 @@ import { execFile } from "node:child_process";
|
|
|
2
2
|
import { mkdir, readFile, stat, writeFile } from "node:fs/promises";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { promisify } from "node:util";
|
|
5
|
+
import { fileURLToPath } from "node:url";
|
|
5
6
|
const execFileAsync = promisify(execFile);
|
|
6
|
-
const
|
|
7
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
8
|
+
const __dirname = path.dirname(__filename);
|
|
9
|
+
const TEMPLATES_DIR = path.resolve(__dirname, "../../templates/multiframework");
|
|
10
|
+
const DEFAULT_OUT_ROOT = "/Users/waelio/Code/GitHub/waelio/siteforge/public-sites";
|
|
7
11
|
function slugify(value) {
|
|
8
12
|
return value
|
|
9
13
|
.toLowerCase()
|
|
@@ -11,6 +15,13 @@ function slugify(value) {
|
|
|
11
15
|
.replace(/^-+|-+$/g, "")
|
|
12
16
|
|| "site";
|
|
13
17
|
}
|
|
18
|
+
function pascalCase(str) {
|
|
19
|
+
return slugify(str).split("-").map(w => w.charAt(0).toUpperCase() + w.slice(1)).join("");
|
|
20
|
+
}
|
|
21
|
+
function camelCase(str) {
|
|
22
|
+
const p = pascalCase(str);
|
|
23
|
+
return p ? p.charAt(0).toLowerCase() + p.slice(1) : "";
|
|
24
|
+
}
|
|
14
25
|
function pageToRoute(name) {
|
|
15
26
|
const trimmed = name.trim();
|
|
16
27
|
if (!trimmed || trimmed.toLowerCase() === "home")
|
|
@@ -178,14 +189,75 @@ async function bootstrap() {
|
|
|
178
189
|
bootstrap();
|
|
179
190
|
`;
|
|
180
191
|
}
|
|
181
|
-
|
|
192
|
+
function nestAppModule(features) {
|
|
193
|
+
const imports = features.map(f => {
|
|
194
|
+
const routeName = slugify(f);
|
|
195
|
+
const pName = pascalCase(f);
|
|
196
|
+
return `import { ${pName}Module } from "./${routeName}/${routeName}.module.js";`;
|
|
197
|
+
}).join("\n");
|
|
198
|
+
const moduleNames = features.map(f => `${pascalCase(f)}Module`);
|
|
199
|
+
const importsArray = moduleNames.length > 0 ? `\n ${moduleNames.join(",\n ")}\n ` : "";
|
|
200
|
+
return `import { Module } from "@nestjs/common";
|
|
182
201
|
import { HealthController } from "./health.controller.js";
|
|
202
|
+
${imports}
|
|
183
203
|
|
|
184
204
|
@Module({
|
|
205
|
+
imports: [${importsArray}],
|
|
185
206
|
controllers: [HealthController],
|
|
186
207
|
})
|
|
187
208
|
export class AppModule {}
|
|
188
209
|
`;
|
|
210
|
+
}
|
|
211
|
+
function nestFeatureService(name) {
|
|
212
|
+
const pName = pascalCase(name);
|
|
213
|
+
const className = `${pName}Service`;
|
|
214
|
+
return `import { Injectable } from "@nestjs/common";
|
|
215
|
+
|
|
216
|
+
@Injectable()
|
|
217
|
+
export class ${className} {
|
|
218
|
+
get${pName}() {
|
|
219
|
+
return { message: "This action returns a ${name}" };
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
`;
|
|
223
|
+
}
|
|
224
|
+
function nestFeatureController(name) {
|
|
225
|
+
const pName = pascalCase(name);
|
|
226
|
+
const className = `${pName}Controller`;
|
|
227
|
+
const serviceName = `${pName}Service`;
|
|
228
|
+
const serviceVar = `${camelCase(name)}Service`;
|
|
229
|
+
const routeName = slugify(name);
|
|
230
|
+
return `import { Controller, Get } from "@nestjs/common";
|
|
231
|
+
import { ${serviceName} } from "./${routeName}.service.js";
|
|
232
|
+
|
|
233
|
+
@Controller("${routeName}")
|
|
234
|
+
export class ${className} {
|
|
235
|
+
constructor(private readonly ${serviceVar}: ${serviceName}) {}
|
|
236
|
+
|
|
237
|
+
@Get()
|
|
238
|
+
get() {
|
|
239
|
+
return this.${serviceVar}.get${pName}();
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
`;
|
|
243
|
+
}
|
|
244
|
+
function nestFeatureModule(name) {
|
|
245
|
+
const pName = pascalCase(name);
|
|
246
|
+
const className = `${pName}Module`;
|
|
247
|
+
const controllerName = `${pName}Controller`;
|
|
248
|
+
const serviceName = `${pName}Service`;
|
|
249
|
+
const routeName = slugify(name);
|
|
250
|
+
return `import { Module } from "@nestjs/common";
|
|
251
|
+
import { ${controllerName} } from "./${routeName}.controller.js";
|
|
252
|
+
import { ${serviceName} } from "./${routeName}.service.js";
|
|
253
|
+
|
|
254
|
+
@Module({
|
|
255
|
+
controllers: [${controllerName}],
|
|
256
|
+
providers: [${serviceName}],
|
|
257
|
+
})
|
|
258
|
+
export class ${className} {}
|
|
259
|
+
`;
|
|
260
|
+
}
|
|
189
261
|
const NEST_HEALTH_CONTROLLER = `import { Controller, Get } from "@nestjs/common";
|
|
190
262
|
|
|
191
263
|
@Controller("health")
|
|
@@ -288,14 +360,56 @@ async function writeScaffold(blueprint, projectName, slug, outDir, initGit) {
|
|
|
288
360
|
...(sel.selectedPages ?? []),
|
|
289
361
|
]));
|
|
290
362
|
const pages = pageNames.map((name) => ({ name, route: pageToRoute(name) }));
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
363
|
+
const integrations = (sel.selectedIntegrations ?? []).map(x => x.toLowerCase());
|
|
364
|
+
let framework = "next";
|
|
365
|
+
if (integrations.includes("vue"))
|
|
366
|
+
framework = "vue";
|
|
367
|
+
else if (integrations.includes("svelte"))
|
|
368
|
+
framework = "svelte";
|
|
369
|
+
else if (integrations.includes("angular"))
|
|
370
|
+
framework = "angular";
|
|
371
|
+
else if (integrations.includes("react") && !integrations.includes("next.js"))
|
|
372
|
+
framework = "react";
|
|
373
|
+
if (framework === "next") {
|
|
374
|
+
// Next.js Frontend
|
|
375
|
+
await writeFileEnsured(path.join(outDir, "frontend/package.json"), frontendPackageJson(slug));
|
|
376
|
+
await writeFileEnsured(path.join(outDir, "frontend/tsconfig.json"), NEXT_TSCONFIG);
|
|
377
|
+
await writeFileEnsured(path.join(outDir, "frontend/next.config.js"), NEXT_CONFIG);
|
|
378
|
+
await writeFileEnsured(path.join(outDir, "frontend/next-env.d.ts"), NEXT_ENV_DTS);
|
|
379
|
+
await writeFileEnsured(path.join(outDir, "frontend/app/layout.tsx"), rootLayout(projectName, pages));
|
|
380
|
+
for (const page of pages) {
|
|
381
|
+
await writeFileEnsured(path.join(outDir, "frontend", pagePath(page.route)), pageComponent(page.name, projectName));
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
else {
|
|
385
|
+
// Multi-framework Frontend
|
|
386
|
+
try {
|
|
387
|
+
const pkgPath = path.join(TEMPLATES_DIR, `package.${framework}.json`);
|
|
388
|
+
let pkgData = await readFile(pkgPath, "utf8");
|
|
389
|
+
// Render package.json
|
|
390
|
+
pkgData = pkgData.replace(/"name":\s*"[^"]+"/, `"name": "${slug}-frontend"`);
|
|
391
|
+
await writeFileEnsured(path.join(outDir, "frontend/package.json"), pkgData);
|
|
392
|
+
const extMap = {
|
|
393
|
+
vue: "vue",
|
|
394
|
+
react: "tsx",
|
|
395
|
+
svelte: "svelte",
|
|
396
|
+
angular: "component.ts"
|
|
397
|
+
};
|
|
398
|
+
const ext = extMap[framework];
|
|
399
|
+
const tplPath = path.join(TEMPLATES_DIR, `index.${ext}`);
|
|
400
|
+
let tplData = await readFile(tplPath, "utf8");
|
|
401
|
+
// Render template placeholders
|
|
402
|
+
tplData = tplData
|
|
403
|
+
.replace(/\{\{\s*title\s*\}\}/g, projectName)
|
|
404
|
+
.replace(/\{\{\s*email\s*\}\}/g, `${slug}@example.com`)
|
|
405
|
+
.replace(/\{\{\s*description\s*\}\}/g, `Generated frontend for ${projectName}`);
|
|
406
|
+
// For simplicity, just create an App/index file since the templates are single components
|
|
407
|
+
const srcPath = path.join(outDir, "frontend/src", `App.${ext}`);
|
|
408
|
+
await writeFileEnsured(srcPath, tplData);
|
|
409
|
+
}
|
|
410
|
+
catch (e) {
|
|
411
|
+
console.warn(`Failed to scaffold ${framework} frontend, falling back to empty dir: ${e}`);
|
|
412
|
+
}
|
|
299
413
|
}
|
|
300
414
|
// Backend
|
|
301
415
|
const features = sel.selectedFeatures ?? [];
|
|
@@ -303,8 +417,15 @@ async function writeScaffold(blueprint, projectName, slug, outDir, initGit) {
|
|
|
303
417
|
await writeFileEnsured(path.join(outDir, "backend/package.json"), backendPackageJson(slug));
|
|
304
418
|
await writeFileEnsured(path.join(outDir, "backend/tsconfig.json"), NEST_TSCONFIG);
|
|
305
419
|
await writeFileEnsured(path.join(outDir, "backend/src/main.ts"), nestMain(modules));
|
|
306
|
-
await writeFileEnsured(path.join(outDir, "backend/src/app.module.ts"),
|
|
420
|
+
await writeFileEnsured(path.join(outDir, "backend/src/app.module.ts"), nestAppModule(features));
|
|
307
421
|
await writeFileEnsured(path.join(outDir, "backend/src/health.controller.ts"), NEST_HEALTH_CONTROLLER);
|
|
422
|
+
for (const feature of features) {
|
|
423
|
+
const routeName = slugify(feature);
|
|
424
|
+
const featureDir = path.join(outDir, "backend/src", routeName);
|
|
425
|
+
await writeFileEnsured(path.join(featureDir, `${routeName}.service.ts`), nestFeatureService(feature));
|
|
426
|
+
await writeFileEnsured(path.join(featureDir, `${routeName}.controller.ts`), nestFeatureController(feature));
|
|
427
|
+
await writeFileEnsured(path.join(featureDir, `${routeName}.module.ts`), nestFeatureModule(feature));
|
|
428
|
+
}
|
|
308
429
|
// Root
|
|
309
430
|
await writeFileEnsured(path.join(outDir, "README.md"), rootReadme(projectName, slug, blueprint));
|
|
310
431
|
await writeFileEnsured(path.join(outDir, ".gitignore"), ROOT_GITIGNORE);
|
package/dist/server.js
CHANGED
|
@@ -37,6 +37,7 @@ import { createServer } from "node:http";
|
|
|
37
37
|
import { readFile, stat, readdir } from "node:fs/promises";
|
|
38
38
|
import path from "node:path";
|
|
39
39
|
import { fileURLToPath } from "node:url";
|
|
40
|
+
import { io } from "socket.io-client";
|
|
40
41
|
import { DEFAULT_SITEFORGE_REPO, formatBuildPlan, getDoctorReport, prepareBuildPlan, runBuild, } from "./siteforge.js";
|
|
41
42
|
import { DEFAULT_LOCAL_REPOS_ROOT, listLocalRepositoryDirectory, scanLocalRepositories, } from "./localRepos.js";
|
|
42
43
|
import { scaffoldFromBlueprint } from "./scaffold.js";
|
|
@@ -216,6 +217,10 @@ async function handleApiRequest(request, response, requestUrl) {
|
|
|
216
217
|
await handleBuildStream(response, buildOptionsFromSearchParams(requestUrl.searchParams));
|
|
217
218
|
return;
|
|
218
219
|
}
|
|
220
|
+
if (request.method === "POST" && requestUrl.pathname === "/api/webhook/build") {
|
|
221
|
+
await handleWebhookBuild(request, response);
|
|
222
|
+
return;
|
|
223
|
+
}
|
|
219
224
|
sendJson(response, 404, {
|
|
220
225
|
error: `Unknown API route: ${requestUrl.pathname}`,
|
|
221
226
|
});
|
|
@@ -277,6 +282,42 @@ async function handleBuildStream(response, options) {
|
|
|
277
282
|
}
|
|
278
283
|
}
|
|
279
284
|
}
|
|
285
|
+
async function handleWebhookBuild(request, response) {
|
|
286
|
+
if (buildInProgress) {
|
|
287
|
+
sendJson(response, 409, {
|
|
288
|
+
error: "A build is already running. Please wait for it to finish.",
|
|
289
|
+
});
|
|
290
|
+
return;
|
|
291
|
+
}
|
|
292
|
+
const payload = await readJsonBody(request);
|
|
293
|
+
const options = normalizeBuildOptions(payload);
|
|
294
|
+
const messagingUrl = isRecord(payload) && typeof payload.messagingUrl === "string"
|
|
295
|
+
? payload.messagingUrl
|
|
296
|
+
: "http://localhost:3030"; // Default FeathersJS/waelio-messaging port
|
|
297
|
+
const socket = io(messagingUrl);
|
|
298
|
+
buildInProgress = true;
|
|
299
|
+
sendJson(response, 202, { message: "Build triggered via webhook.", messagingUrl });
|
|
300
|
+
try {
|
|
301
|
+
const plan = await runBuild(options, {
|
|
302
|
+
onPlan: (nextPlan) => socket.emit("build-event", { type: "plan", data: nextPlan }),
|
|
303
|
+
onInfo: (message) => socket.emit("build-event", { type: "info", data: message }),
|
|
304
|
+
onStepStart: (step, context) => socket.emit("build-event", { type: "step", data: { step, ...context } }),
|
|
305
|
+
onStdout: (chunk) => socket.emit("build-event", { type: "stdout", data: chunk }),
|
|
306
|
+
onStderr: (chunk) => socket.emit("build-event", { type: "stderr", data: chunk }),
|
|
307
|
+
});
|
|
308
|
+
socket.emit("build-event", { type: "complete", data: plan });
|
|
309
|
+
}
|
|
310
|
+
catch (error) {
|
|
311
|
+
socket.emit("build-event", {
|
|
312
|
+
type: "failure",
|
|
313
|
+
data: toErrorMessage(error),
|
|
314
|
+
});
|
|
315
|
+
}
|
|
316
|
+
finally {
|
|
317
|
+
buildInProgress = false;
|
|
318
|
+
setTimeout(() => socket.disconnect(), 1000);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
280
321
|
async function handleUiRequest(response, pathname) {
|
|
281
322
|
const uiExists = await pathExists(uiDistDir);
|
|
282
323
|
if (!uiExists) {
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.app-main[data-v-cbb3722e]{padding:1.5rem;color:var(--fg)}.group[data-v-cbb3722e]{border:1px solid var(--fg);border-radius:.5rem;padding:1rem 1.25rem;max-width:800px;margin:0 auto}.group-title[data-v-cbb3722e]{margin:0 0 1rem;font-size:1.25rem;font-weight:600}.status-msg[data-v-cbb3722e],.error-msg[data-v-cbb3722e]{padding:1rem 0;opacity:.8}.error-msg[data-v-cbb3722e]{color:#ef4444}.site-list[data-v-cbb3722e]{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem}.site-item[data-v-cbb3722e]{padding:.75rem 1rem;border:1px solid rgba(255,255,255,.1);border-radius:.375rem;background:#ffffff08;transition:background .2s}.site-item[data-v-cbb3722e]:hover{background:#ffffff14}.site-link[data-v-cbb3722e]{color:var(--fg);text-decoration:none;font-weight:500;display:block}.site-link[data-v-cbb3722e]:hover{text-decoration:underline}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{d as _,o as d,c as s,a as c,t as u,F as p,r as m,b as n,e,_ as f}from"./index-BASEVOdG.js";const h={class:"app-main"},g={class:"group"},v={key:0,class:"status-msg"},b={key:1,class:"error-msg"},k={key:2,class:"site-list"},y=["href"],w={key:3,class:"status-msg"},S=_({__name:"PublicSitesView",setup(x){const o=n([]),i=n(""),r=n(!0);return d(async()=>{try{const t=await fetch("/api/public-sites");if(!t.ok)throw new Error(`Error: ${t.status}`);const a=await t.json();o.value=a.sites||[]}catch(t){i.value=t.message||"Failed to load public sites"}finally{r.value=!1}}),(t,a)=>(e(),s("main",h,[c("section",g,[a[0]||(a[0]=c("h2",{class:"group-title"},"Public Sites",-1)),r.value?(e(),s("div",v,"Loading...")):i.value?(e(),s("div",b,u(i.value),1)):o.value.length>0?(e(),s("ul",k,[(e(!0),s(p,null,m(o.value,l=>(e(),s("li",{key:l,class:"site-item"},[c("a",{href:`/public-sites/${l}/`,target:"_blank",class:"site-link"},u(l),9,y)]))),128))])):(e(),s("div",w,"No public sites found."))])]))}}),E=f(S,[["__scopeId","data-v-cbb3722e"]]);export{E as default};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/PublicSitesView-DuDEMQT0.js","assets/PublicSitesView-DBnqmdMy.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();/**
|
|
3
|
+
* @vue/shared v3.5.34
|
|
4
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
5
|
+
* @license MIT
|
|
6
|
+
**/function ys(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const te={},Nt=[],Je=()=>{},kr=()=>!1,On=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Pn=e=>e.startsWith("onUpdate:"),pe=Object.assign,bs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},uo=Object.prototype.hasOwnProperty,Q=(e,t)=>uo.call(e,t),V=Array.isArray,Dt=e=>un(e)==="[object Map]",Vr=e=>un(e)==="[object Set]",Gs=e=>un(e)==="[object Date]",G=e=>typeof e=="function",oe=e=>typeof e=="string",ze=e=>typeof e=="symbol",X=e=>e!==null&&typeof e=="object",Hr=e=>(X(e)||G(e))&&G(e.then)&&G(e.catch),Ur=Object.prototype.toString,un=e=>Ur.call(e),ao=e=>un(e).slice(8,-1),Gr=e=>un(e)==="[object Object]",Es=e=>oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Jt=ys(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},fo=/-\w/g,Ne=Tn(e=>e.replace(fo,t=>t.slice(1).toUpperCase())),ho=/\B([A-Z])/g,At=Tn(e=>e.replace(ho,"-$1").toLowerCase()),Kr=Tn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Vn=Tn(e=>e?`on${Kr(e)}`:""),qe=(e,t)=>!Object.is(e,t),mn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Wr=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Ss=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ks;const In=()=>Ks||(Ks=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Rs(e){if(V(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=oe(s)?_o(s):Rs(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(oe(e)||X(e))return e}const po=/;(?![^(]*\))/g,go=/:([^]+)/,mo=/\/\*[^]*?\*\//g;function _o(e){const t={};return e.replace(mo,"").split(po).forEach(n=>{if(n){const s=n.split(go);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function As(e){let t="";if(oe(e))t=e;else if(V(e))for(let n=0;n<e.length;n++){const s=As(e[n]);s&&(t+=s+" ")}else if(X(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const vo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",yo=ys(vo);function $r(e){return!!e||e===""}function bo(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=ws(e[s],t[s]);return n}function ws(e,t){if(e===t)return!0;let n=Gs(e),s=Gs(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=ze(e),s=ze(t),n||s)return e===t;if(n=V(e),s=V(t),n||s)return n&&s?bo(e,t):!1;if(n=X(e),s=X(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const c=e.hasOwnProperty(o),l=t.hasOwnProperty(o);if(c&&!l||!c&&l||!ws(e[o],t[o]))return!1}}return String(e)===String(t)}const qr=e=>!!(e&&e.__v_isRef===!0),dt=e=>oe(e)?e:e==null?"":V(e)||X(e)&&(e.toString===Ur||!G(e.toString))?qr(e)?dt(e.value):JSON.stringify(e,Jr,2):String(e),Jr=(e,t)=>qr(t)?Jr(e,t.value):Dt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[Hn(s,i)+" =>"]=r,n),{})}:Vr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Hn(n))}:ze(t)?Hn(t):X(t)&&!V(t)&&!Gr(t)?String(t):t,Hn=(e,t="")=>{var n;return ze(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
7
|
+
* @vue/reactivity v3.5.34
|
|
8
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
9
|
+
* @license MIT
|
|
10
|
+
**/let he;class Eo{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&he&&(he.active?(this.parent=he,this.index=(he.scopes||(he.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=he;try{return he=this,t()}finally{he=n}}}on(){++this._on===1&&(this.prevScope=he,he=this)}off(){if(this._on>0&&--this._on===0){if(he===this)he=this.prevScope;else{let t=he;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function So(){return he}let se;const Un=new WeakSet;class zr{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,he&&(he.active?he.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Un.has(this)&&(Un.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Yr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ws(this),Xr(this);const t=se,n=De;se=this,De=!0;try{return this.fn()}finally{Zr(this),se=t,De=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Os(t);this.deps=this.depsTail=void 0,Ws(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Un.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ts(this)&&this.run()}get dirty(){return ts(this)}}let Qr=0,zt,Qt;function Yr(e,t=!1){if(e.flags|=8,t){e.next=Qt,Qt=e;return}e.next=zt,zt=e}function xs(){Qr++}function Cs(){if(--Qr>0)return;if(Qt){let t=Qt;for(Qt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;zt;){let t=zt;for(zt=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Xr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Zr(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Os(s),Ro(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function ts(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ei(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ei(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===nn)||(e.globalVersion=nn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ts(e))))return;e.flags|=2;const t=e.dep,n=se,s=De;se=e,De=!0;try{Xr(e);const r=e.fn(e._value);(t.version===0||qe(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{se=n,De=s,Zr(e),e.flags&=-3}}function Os(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Os(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ro(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let De=!0;const ti=[];function ot(){ti.push(De),De=!1}function lt(){const e=ti.pop();De=e===void 0?!0:e}function Ws(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=se;se=void 0;try{t()}finally{se=n}}}let nn=0;class Ao{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ps{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!se||!De||se===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==se)n=this.activeLink=new Ao(se,this),se.deps?(n.prevDep=se.depsTail,se.depsTail.nextDep=n,se.depsTail=n):se.deps=se.depsTail=n,ni(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=se.depsTail,n.nextDep=void 0,se.depsTail.nextDep=n,se.depsTail=n,se.deps===n&&(se.deps=s)}return n}trigger(t){this.version++,nn++,this.notify(t)}notify(t){xs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Cs()}}}function ni(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)ni(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ns=new WeakMap,St=Symbol(""),ss=Symbol(""),sn=Symbol("");function ge(e,t,n){if(De&&se){let s=ns.get(e);s||ns.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Ps),r.map=s,r.key=n),r.track()}}function nt(e,t,n,s,r,i){const o=ns.get(e);if(!o){nn++;return}const c=l=>{l&&l.trigger()};if(xs(),t==="clear")o.forEach(c);else{const l=V(e),h=l&&Es(n);if(l&&n==="length"){const a=Number(s);o.forEach((d,g)=>{(g==="length"||g===sn||!ze(g)&&g>=a)&&c(d)})}else switch((n!==void 0||o.has(void 0))&&c(o.get(n)),h&&c(o.get(sn)),t){case"add":l?h&&c(o.get("length")):(c(o.get(St)),Dt(e)&&c(o.get(ss)));break;case"delete":l||(c(o.get(St)),Dt(e)&&c(o.get(ss)));break;case"set":Dt(e)&&c(o.get(St));break}}Cs()}function Ot(e){const t=z(e);return t===e?t:(ge(t,"iterate",sn),Pe(e)?t:t.map(Me))}function Nn(e){return ge(e=z(e),"iterate",sn),e}function We(e,t){return ct(e)?Ft(Rt(e)?Me(t):t):Me(t)}const wo={__proto__:null,[Symbol.iterator](){return Gn(this,Symbol.iterator,e=>We(this,e))},concat(...e){return Ot(this).concat(...e.map(t=>V(t)?Ot(t):t))},entries(){return Gn(this,"entries",e=>(e[1]=We(this,e[1]),e))},every(e,t){return Xe(this,"every",e,t,void 0,arguments)},filter(e,t){return Xe(this,"filter",e,t,n=>n.map(s=>We(this,s)),arguments)},find(e,t){return Xe(this,"find",e,t,n=>We(this,n),arguments)},findIndex(e,t){return Xe(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Xe(this,"findLast",e,t,n=>We(this,n),arguments)},findLastIndex(e,t){return Xe(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Xe(this,"forEach",e,t,void 0,arguments)},includes(...e){return Kn(this,"includes",e)},indexOf(...e){return Kn(this,"indexOf",e)},join(e){return Ot(this).join(e)},lastIndexOf(...e){return Kn(this,"lastIndexOf",e)},map(e,t){return Xe(this,"map",e,t,void 0,arguments)},pop(){return Ut(this,"pop")},push(...e){return Ut(this,"push",e)},reduce(e,...t){return $s(this,"reduce",e,t)},reduceRight(e,...t){return $s(this,"reduceRight",e,t)},shift(){return Ut(this,"shift")},some(e,t){return Xe(this,"some",e,t,void 0,arguments)},splice(...e){return Ut(this,"splice",e)},toReversed(){return Ot(this).toReversed()},toSorted(e){return Ot(this).toSorted(e)},toSpliced(...e){return Ot(this).toSpliced(...e)},unshift(...e){return Ut(this,"unshift",e)},values(){return Gn(this,"values",e=>We(this,e))}};function Gn(e,t,n){const s=Nn(e),r=s[t]();return s!==e&&!Pe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=n(i.value)),i}),r}const xo=Array.prototype;function Xe(e,t,n,s,r,i){const o=Nn(e),c=o!==e&&!Pe(e),l=o[t];if(l!==xo[t]){const d=l.apply(e,i);return c?Me(d):d}let h=n;o!==e&&(c?h=function(d,g){return n.call(this,We(e,d),g,e)}:n.length>2&&(h=function(d,g){return n.call(this,d,g,e)}));const a=l.call(o,h,s);return c&&r?r(a):a}function $s(e,t,n,s){const r=Nn(e),i=r!==e&&!Pe(e);let o=n,c=!1;r!==e&&(i?(c=s.length===0,o=function(h,a,d){return c&&(c=!1,h=We(e,h)),n.call(this,h,We(e,a),d,e)}):n.length>3&&(o=function(h,a,d){return n.call(this,h,a,d,e)}));const l=r[t](o,...s);return c?We(e,l):l}function Kn(e,t,n){const s=z(e);ge(s,"iterate",sn);const r=s[t](...n);return(r===-1||r===!1)&&Ns(n[0])?(n[0]=z(n[0]),s[t](...n)):r}function Ut(e,t,n=[]){ot(),xs();const s=z(e)[t].apply(e,n);return Cs(),lt(),s}const Co=ys("__proto__,__v_isRef,__isVue"),si=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ze));function Oo(e){ze(e)||(e=String(e));const t=z(this);return ge(t,"has",e),t.hasOwnProperty(e)}class ri{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?Bo:ci:i?li:oi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=V(t);if(!r){let l;if(o&&(l=wo[n]))return l;if(n==="hasOwnProperty")return Oo}const c=Reflect.get(t,n,_e(t)?t:s);if((ze(n)?si.has(n):Co(n))||(r||ge(t,"get",n),i))return c;if(_e(c)){const l=o&&Es(n)?c:c.value;return r&&X(l)?is(l):l}return X(c)?r?is(c):an(c):c}}class ii extends ri{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];const o=V(t)&&Es(n);if(!this._isShallow){const h=ct(i);if(!Pe(s)&&!ct(s)&&(i=z(i),s=z(s)),!o&&_e(i)&&!_e(s))return h||(i.value=s),!0}const c=o?Number(n)<t.length:Q(t,n),l=Reflect.set(t,n,s,_e(t)?t:r);return t===z(r)&&(c?qe(s,i)&&nt(t,"set",n,s):nt(t,"add",n,s)),l}deleteProperty(t,n){const s=Q(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&nt(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!ze(n)||!si.has(n))&&ge(t,"has",n),s}ownKeys(t){return ge(t,"iterate",V(t)?"length":St),Reflect.ownKeys(t)}}class Po extends ri{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const To=new ii,Io=new Po,No=new ii(!0);const rs=e=>e,hn=e=>Reflect.getPrototypeOf(e);function Do(e,t,n){return function(...s){const r=this.__v_raw,i=z(r),o=Dt(i),c=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,h=r[e](...s),a=n?rs:t?Ft:Me;return!t&&ge(i,"iterate",l?ss:St),pe(Object.create(h),{next(){const{value:d,done:g}=h.next();return g?{value:d,done:g}:{value:c?[a(d[0]),a(d[1])]:a(d),done:g}}})}}function pn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Mo(e,t){const n={get(r){const i=this.__v_raw,o=z(i),c=z(r);e||(qe(r,c)&&ge(o,"get",r),ge(o,"get",c));const{has:l}=hn(o),h=t?rs:e?Ft:Me;if(l.call(o,r))return h(i.get(r));if(l.call(o,c))return h(i.get(c));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&ge(z(r),"iterate",St),r.size},has(r){const i=this.__v_raw,o=z(i),c=z(r);return e||(qe(r,c)&&ge(o,"has",r),ge(o,"has",c)),r===c?i.has(r):i.has(r)||i.has(c)},forEach(r,i){const o=this,c=o.__v_raw,l=z(c),h=t?rs:e?Ft:Me;return!e&&ge(l,"iterate",St),c.forEach((a,d)=>r.call(i,h(a),h(d),o))}};return pe(n,e?{add:pn("add"),set:pn("set"),delete:pn("delete"),clear:pn("clear")}:{add(r){const i=z(this),o=hn(i),c=z(r),l=!t&&!Pe(r)&&!ct(r)?c:r;return o.has.call(i,l)||qe(r,l)&&o.has.call(i,r)||qe(c,l)&&o.has.call(i,c)||(i.add(l),nt(i,"add",l,l)),this},set(r,i){!t&&!Pe(i)&&!ct(i)&&(i=z(i));const o=z(this),{has:c,get:l}=hn(o);let h=c.call(o,r);h||(r=z(r),h=c.call(o,r));const a=l.call(o,r);return o.set(r,i),h?qe(i,a)&&nt(o,"set",r,i):nt(o,"add",r,i),this},delete(r){const i=z(this),{has:o,get:c}=hn(i);let l=o.call(i,r);l||(r=z(r),l=o.call(i,r)),c&&c.call(i,r);const h=i.delete(r);return l&&nt(i,"delete",r,void 0),h},clear(){const r=z(this),i=r.size!==0,o=r.clear();return i&&nt(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Do(r,e,t)}),n}function Ts(e,t){const n=Mo(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(Q(n,r)&&r in s?n:s,r,i)}const Lo={get:Ts(!1,!1)},Fo={get:Ts(!1,!0)},jo={get:Ts(!0,!1)};const oi=new WeakMap,li=new WeakMap,ci=new WeakMap,Bo=new WeakMap;function ko(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Vo(e){return e.__v_skip||!Object.isExtensible(e)?0:ko(ao(e))}function an(e){return ct(e)?e:Is(e,!1,To,Lo,oi)}function ui(e){return Is(e,!1,No,Fo,li)}function is(e){return Is(e,!0,Io,jo,ci)}function Is(e,t,n,s,r){if(!X(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Vo(e);if(i===0)return e;const o=r.get(e);if(o)return o;const c=new Proxy(e,i===2?s:n);return r.set(e,c),c}function Rt(e){return ct(e)?Rt(e.__v_raw):!!(e&&e.__v_isReactive)}function ct(e){return!!(e&&e.__v_isReadonly)}function Pe(e){return!!(e&&e.__v_isShallow)}function Ns(e){return e?!!e.__v_raw:!1}function z(e){const t=e&&e.__v_raw;return t?z(t):e}function Ho(e){return!Q(e,"__v_skip")&&Object.isExtensible(e)&&Wr(e,"__v_skip",!0),e}const Me=e=>X(e)?an(e):e,Ft=e=>X(e)?is(e):e;function _e(e){return e?e.__v_isRef===!0:!1}function ht(e){return ai(e,!1)}function Uo(e){return ai(e,!0)}function ai(e,t){return _e(e)?e:new Go(e,t)}class Go{constructor(t,n){this.dep=new Ps,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:z(t),this._value=n?t:Me(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Pe(t)||ct(t);t=s?t:z(t),qe(t,n)&&(this._rawValue=t,this._value=s?t:Me(t),this.dep.trigger())}}function rt(e){return _e(e)?e.value:e}const Ko={get:(e,t,n)=>t==="__v_raw"?e:rt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return _e(r)&&!_e(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function fi(e){return Rt(e)?e:new Proxy(e,Ko)}class Wo{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ps(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=nn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&se!==this)return Yr(this,!0),!0}get value(){const t=this.dep.track();return ei(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function $o(e,t,n=!1){let s,r;return G(e)?s=e:(s=e.get,r=e.set),new Wo(s,r,n)}const gn={},bn=new WeakMap;let bt;function qo(e,t=!1,n=bt){if(n){let s=bn.get(n);s||bn.set(n,s=[]),s.push(e)}}function Jo(e,t,n=te){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:c,call:l}=n,h=D=>r?D:Pe(D)||r===!1||r===0?st(D,1):st(D);let a,d,g,m,N=!1,w=!1;if(_e(e)?(d=()=>e.value,N=Pe(e)):Rt(e)?(d=()=>h(e),N=!0):V(e)?(w=!0,N=e.some(D=>Rt(D)||Pe(D)),d=()=>e.map(D=>{if(_e(D))return D.value;if(Rt(D))return h(D);if(G(D))return l?l(D,2):D()})):G(e)?t?d=l?()=>l(e,2):e:d=()=>{if(g){ot();try{g()}finally{lt()}}const D=bt;bt=a;try{return l?l(e,3,[m]):e(m)}finally{bt=D}}:d=Je,t&&r){const D=d,$=r===!0?1/0:r;d=()=>st(D(),$)}const P=So(),M=()=>{a.stop(),P&&P.active&&bs(P.effects,a)};if(i&&t){const D=t;t=(...$)=>{D(...$),M()}}let A=w?new Array(e.length).fill(gn):gn;const T=D=>{if(!(!(a.flags&1)||!a.dirty&&!D))if(t){const $=a.run();if(r||N||(w?$.some((ue,re)=>qe(ue,A[re])):qe($,A))){g&&g();const ue=bt;bt=a;try{const re=[$,A===gn?void 0:w&&A[0]===gn?[]:A,m];A=$,l?l(t,3,re):t(...re)}finally{bt=ue}}}else a.run()};return c&&c(T),a=new zr(d),a.scheduler=o?()=>o(T,!1):T,m=D=>qo(D,!1,a),g=a.onStop=()=>{const D=bn.get(a);if(D){if(l)l(D,4);else for(const $ of D)$();bn.delete(a)}},t?s?T(!0):A=a.run():o?o(T.bind(null,!0),!0):a.run(),M.pause=a.pause.bind(a),M.resume=a.resume.bind(a),M.stop=M,M}function st(e,t=1/0,n){if(t<=0||!X(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,_e(e))st(e.value,t,n);else if(V(e))for(let s=0;s<e.length;s++)st(e[s],t,n);else if(Vr(e)||Dt(e))e.forEach(s=>{st(s,t,n)});else if(Gr(e)){for(const s in e)st(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&st(e[s],t,n)}return e}/**
|
|
11
|
+
* @vue/runtime-core v3.5.34
|
|
12
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
13
|
+
* @license MIT
|
|
14
|
+
**/function fn(e,t,n,s){try{return s?e(...s):e()}catch(r){Dn(r,t,n)}}function Qe(e,t,n,s){if(G(e)){const r=fn(e,t,n,s);return r&&Hr(r)&&r.catch(i=>{Dn(i,t,n)}),r}if(V(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Qe(e[i],t,n,s));return r}}function Dn(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||te;if(t){let c=t.parent;const l=t.proxy,h=`https://vuejs.org/error-reference/#runtime-${n}`;for(;c;){const a=c.ec;if(a){for(let d=0;d<a.length;d++)if(a[d](e,l,h)===!1)return}c=c.parent}if(i){ot(),fn(i,null,10,[e,l,h]),lt();return}}zo(e,n,r,s,o)}function zo(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const be=[];let Ke=-1;const Mt=[];let pt=null,Pt=0;const di=Promise.resolve();let En=null;function hi(e){const t=En||di;return e?t.then(this?e.bind(this):e):t}function Qo(e){let t=Ke+1,n=be.length;for(;t<n;){const s=t+n>>>1,r=be[s],i=rn(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function Ds(e){if(!(e.flags&1)){const t=rn(e),n=be[be.length-1];!n||!(e.flags&2)&&t>=rn(n)?be.push(e):be.splice(Qo(t),0,e),e.flags|=1,pi()}}function pi(){En||(En=di.then(mi))}function Yo(e){V(e)?Mt.push(...e):pt&&e.id===-1?pt.splice(Pt+1,0,e):e.flags&1||(Mt.push(e),e.flags|=1),pi()}function qs(e,t,n=Ke+1){for(;n<be.length;n++){const s=be[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;be.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function gi(e){if(Mt.length){const t=[...new Set(Mt)].sort((n,s)=>rn(n)-rn(s));if(Mt.length=0,pt){pt.push(...t);return}for(pt=t,Pt=0;Pt<pt.length;Pt++){const n=pt[Pt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}pt=null,Pt=0}}const rn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function mi(e){try{for(Ke=0;Ke<be.length;Ke++){const t=be[Ke];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),fn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ke<be.length;Ke++){const t=be[Ke];t&&(t.flags&=-2)}Ke=-1,be.length=0,gi(),En=null,(be.length||Mt.length)&&mi()}}let Oe=null,_i=null;function Sn(e){const t=Oe;return Oe=e,_i=e&&e.type.__scopeId||null,t}function os(e,t=Oe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&wn(-1);const i=Sn(t);let o;try{o=e(...r)}finally{Sn(i),s._d&&wn(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Xo(e,t){if(Oe===null)return e;const n=Bn(Oe),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,c,l=te]=t[r];i&&(G(i)&&(i={mounted:i,updated:i}),i.deep&&st(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:c,modifiers:l}))}return e}function vt(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const c=r[o];i&&(c.oldValue=i[o].value);let l=c.dir[s];l&&(ot(),Qe(l,n,8,[e.el,c,e,t]),lt())}}function _n(e,t){if(Ee){let n=Ee.provides;const s=Ee.parent&&Ee.parent.provides;s===n&&(n=Ee.provides=Object.create(s)),n[e]=t}}function it(e,t,n=!1){const s=Yl();if(s||Lt){let r=Lt?Lt._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&G(t)?t.call(s&&s.proxy):t}}const Zo=Symbol.for("v-scx"),el=()=>it(Zo);function vn(e,t,n){return vi(e,t,n)}function vi(e,t,n=te){const{immediate:s,deep:r,flush:i,once:o}=n,c=pe({},n),l=t&&s||!t&&i!=="post";let h;if(ln){if(i==="sync"){const m=el();h=m.__watcherHandles||(m.__watcherHandles=[])}else if(!l){const m=()=>{};return m.stop=Je,m.resume=Je,m.pause=Je,m}}const a=Ee;c.call=(m,N,w)=>Qe(m,a,N,w);let d=!1;i==="post"?c.scheduler=m=>{Re(m,a&&a.suspense)}:i!=="sync"&&(d=!0,c.scheduler=(m,N)=>{N?m():Ds(m)}),c.augmentJob=m=>{t&&(m.flags|=4),d&&(m.flags|=2,a&&(m.id=a.uid,m.i=a))};const g=Jo(e,t,c);return ln&&(h?h.push(g):l&&g()),g}function tl(e,t,n){const s=this.proxy,r=oe(e)?e.includes(".")?yi(s,e):()=>s[e]:e.bind(s,s);let i;G(t)?i=t:(i=t.handler,n=t);const o=dn(this),c=vi(r,i.bind(s),n);return o(),c}function yi(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const nl=Symbol("_vte"),sl=e=>e.__isTeleport,rl=Symbol("_leaveCb");function Ms(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ms(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Mn(e,t){return G(e)?pe({name:e.name},t,{setup:e}):e}function bi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Js(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Rn=new WeakMap;function Yt(e,t,n,s,r=!1){if(V(e)){e.forEach((w,P)=>Yt(w,t&&(V(t)?t[P]:t),n,s,r));return}if(Xt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Yt(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?Bn(s.component):s.el,o=r?null:i,{i:c,r:l}=e,h=t&&t.r,a=c.refs===te?c.refs={}:c.refs,d=c.setupState,g=z(d),m=d===te?kr:w=>Js(a,w)?!1:Q(g,w),N=(w,P)=>!(P&&Js(a,P));if(h!=null&&h!==l){if(zs(t),oe(h))a[h]=null,m(h)&&(d[h]=null);else if(_e(h)){const w=t;N(h,w.k)&&(h.value=null),w.k&&(a[w.k]=null)}}if(G(l))fn(l,c,12,[o,a]);else{const w=oe(l),P=_e(l);if(w||P){const M=()=>{if(e.f){const A=w?m(l)?d[l]:a[l]:N()||!e.k?l.value:a[e.k];if(r)V(A)&&bs(A,i);else if(V(A))A.includes(i)||A.push(i);else if(w)a[l]=[i],m(l)&&(d[l]=a[l]);else{const T=[i];N(l,e.k)&&(l.value=T),e.k&&(a[e.k]=T)}}else w?(a[l]=o,m(l)&&(d[l]=o)):P&&(N(l,e.k)&&(l.value=o),e.k&&(a[e.k]=o))};if(o){const A=()=>{M(),Rn.delete(e)};A.id=-1,Rn.set(e,A),Re(A,n)}else zs(e),M()}}}function zs(e){const t=Rn.get(e);t&&(t.flags|=8,Rn.delete(e))}In().requestIdleCallback;In().cancelIdleCallback;const Xt=e=>!!e.type.__asyncLoader,Ei=e=>e.type.__isKeepAlive;function il(e,t){Si(e,"a",t)}function ol(e,t){Si(e,"da",t)}function Si(e,t,n=Ee){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Ln(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Ei(r.parent.vnode)&&ll(s,t,n,r),r=r.parent}}function ll(e,t,n,s){const r=Ln(t,e,s,!0);Ai(()=>{bs(s[t],r)},n)}function Ln(e,t,n=Ee,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{ot();const c=dn(n),l=Qe(t,n,e,o);return c(),lt(),l});return s?r.unshift(i):r.push(i),i}}const ut=e=>(t,n=Ee)=>{(!ln||e==="sp")&&Ln(e,(...s)=>t(...s),n)},cl=ut("bm"),Ri=ut("m"),ul=ut("bu"),al=ut("u"),fl=ut("bum"),Ai=ut("um"),dl=ut("sp"),hl=ut("rtg"),pl=ut("rtc");function gl(e,t=Ee){Ln("ec",e,t)}const ml=Symbol.for("v-ndc");function Qs(e,t,n,s){let r;const i=n,o=V(e);if(o||oe(e)){const c=o&&Rt(e);let l=!1,h=!1;c&&(l=!Pe(e),h=ct(e),e=Nn(e)),r=new Array(e.length);for(let a=0,d=e.length;a<d;a++)r[a]=t(l?h?Ft(Me(e[a])):Me(e[a]):e[a],a,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let c=0;c<e;c++)r[c]=t(c+1,c,void 0,i)}else if(X(e))if(e[Symbol.iterator])r=Array.from(e,(c,l)=>t(c,l,void 0,i));else{const c=Object.keys(e);r=new Array(c.length);for(let l=0,h=c.length;l<h;l++){const a=c[l];r[l]=t(e[a],a,l,i)}}else r=[];return r}const ls=e=>e?Ki(e)?Bn(e):ls(e.parent):null,Zt=pe(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=>ls(e.parent),$root:e=>ls(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>xi(e),$forceUpdate:e=>e.f||(e.f=()=>{Ds(e.update)}),$nextTick:e=>e.n||(e.n=hi.bind(e.proxy)),$watch:e=>tl.bind(e)}),Wn=(e,t)=>e!==te&&!e.__isScriptSetup&&Q(e,t),_l={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:c,appContext:l}=e;if(t[0]!=="$"){const g=o[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Wn(s,t))return o[t]=1,s[t];if(r!==te&&Q(r,t))return o[t]=2,r[t];if(Q(i,t))return o[t]=3,i[t];if(n!==te&&Q(n,t))return o[t]=4,n[t];cs&&(o[t]=0)}}const h=Zt[t];let a,d;if(h)return t==="$attrs"&&ge(e.attrs,"get",""),h(e);if((a=c.__cssModules)&&(a=a[t]))return a;if(n!==te&&Q(n,t))return o[t]=4,n[t];if(d=l.config.globalProperties,Q(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Wn(r,t)?(r[t]=n,!0):s!==te&&Q(s,t)?(s[t]=n,!0):Q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:i,type:o}},c){let l;return!!(n[c]||e!==te&&c[0]!=="$"&&Q(e,c)||Wn(t,c)||Q(i,c)||Q(s,c)||Q(Zt,c)||Q(r.config.globalProperties,c)||(l=o.__cssModules)&&l[c])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Q(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ys(e){return V(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let cs=!0;function vl(e){const t=xi(e),n=e.proxy,s=e.ctx;cs=!1,t.beforeCreate&&Xs(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:c,provide:l,inject:h,created:a,beforeMount:d,mounted:g,beforeUpdate:m,updated:N,activated:w,deactivated:P,beforeDestroy:M,beforeUnmount:A,destroyed:T,unmounted:D,render:$,renderTracked:ue,renderTriggered:re,errorCaptured:H,serverPrefetch:U,expose:B,inheritAttrs:le,components:Fe,directives:je,filters:Vt}=t;if(h&&yl(h,s,null),o)for(const Z in o){const q=o[Z];G(q)&&(s[Z]=q.bind(n))}if(r){const Z=r.call(n,n);X(Z)&&(e.data=an(Z))}if(cs=!0,i)for(const Z in i){const q=i[Z],Ye=G(q)?q.bind(n,n):G(q.get)?q.get.bind(n,n):Je,at=!G(q)&&G(q.set)?q.set.bind(n):Je,Be=Ie({get:Ye,set:at});Object.defineProperty(s,Z,{enumerable:!0,configurable:!0,get:()=>Be.value,set:Se=>Be.value=Se})}if(c)for(const Z in c)wi(c[Z],s,n,Z);if(l){const Z=G(l)?l.call(n):l;Reflect.ownKeys(Z).forEach(q=>{_n(q,Z[q])})}a&&Xs(a,e,"c");function fe(Z,q){V(q)?q.forEach(Ye=>Z(Ye.bind(n))):q&&Z(q.bind(n))}if(fe(cl,d),fe(Ri,g),fe(ul,m),fe(al,N),fe(il,w),fe(ol,P),fe(gl,H),fe(pl,ue),fe(hl,re),fe(fl,A),fe(Ai,D),fe(dl,U),V(B))if(B.length){const Z=e.exposed||(e.exposed={});B.forEach(q=>{Object.defineProperty(Z,q,{get:()=>n[q],set:Ye=>n[q]=Ye,enumerable:!0})})}else e.exposed||(e.exposed={});$&&e.render===Je&&(e.render=$),le!=null&&(e.inheritAttrs=le),Fe&&(e.components=Fe),je&&(e.directives=je),U&&bi(e)}function yl(e,t,n=Je){V(e)&&(e=us(e));for(const s in e){const r=e[s];let i;X(r)?"default"in r?i=it(r.from||s,r.default,!0):i=it(r.from||s):i=it(r),_e(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Xs(e,t,n){Qe(V(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function wi(e,t,n,s){let r=s.includes(".")?yi(n,s):()=>n[s];if(oe(e)){const i=t[e];G(i)&&vn(r,i)}else if(G(e))vn(r,e.bind(n));else if(X(e))if(V(e))e.forEach(i=>wi(i,t,n,s));else{const i=G(e.handler)?e.handler.bind(n):t[e.handler];G(i)&&vn(r,i,e)}}function xi(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,c=i.get(t);let l;return c?l=c:!r.length&&!n&&!s?l=t:(l={},r.length&&r.forEach(h=>An(l,h,o,!0)),An(l,t,o)),X(t)&&i.set(t,l),l}function An(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&An(e,i,n,!0),r&&r.forEach(o=>An(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const c=bl[o]||n&&n[o];e[o]=c?c(e[o],t[o]):t[o]}return e}const bl={data:Zs,props:er,emits:er,methods:$t,computed:$t,beforeCreate:ve,created:ve,beforeMount:ve,mounted:ve,beforeUpdate:ve,updated:ve,beforeDestroy:ve,beforeUnmount:ve,destroyed:ve,unmounted:ve,activated:ve,deactivated:ve,errorCaptured:ve,serverPrefetch:ve,components:$t,directives:$t,watch:Sl,provide:Zs,inject:El};function Zs(e,t){return t?e?function(){return pe(G(e)?e.call(this,this):e,G(t)?t.call(this,this):t)}:t:e}function El(e,t){return $t(us(e),us(t))}function us(e){if(V(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ve(e,t){return e?[...new Set([].concat(e,t))]:t}function $t(e,t){return e?pe(Object.create(null),e,t):t}function er(e,t){return e?V(e)&&V(t)?[...new Set([...e,...t])]:pe(Object.create(null),Ys(e),Ys(t??{})):t}function Sl(e,t){if(!e)return t;if(!t)return e;const n=pe(Object.create(null),e);for(const s in t)n[s]=ve(e[s],t[s]);return n}function Ci(){return{app:null,config:{isNativeTag:kr,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 Rl=0;function Al(e,t){return function(s,r=null){G(s)||(s=pe({},s)),r!=null&&!X(r)&&(r=null);const i=Ci(),o=new WeakSet,c=[];let l=!1;const h=i.app={_uid:Rl++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:sc,get config(){return i.config},set config(a){},use(a,...d){return o.has(a)||(a&&G(a.install)?(o.add(a),a.install(h,...d)):G(a)&&(o.add(a),a(h,...d))),h},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),h},component(a,d){return d?(i.components[a]=d,h):i.components[a]},directive(a,d){return d?(i.directives[a]=d,h):i.directives[a]},mount(a,d,g){if(!l){const m=h._ceVNode||me(s,r);return m.appContext=i,g===!0?g="svg":g===!1&&(g=void 0),e(m,a,g),l=!0,h._container=a,a.__vue_app__=h,Bn(m.component)}},onUnmount(a){c.push(a)},unmount(){l&&(Qe(c,h._instance,16),e(null,h._container),delete h._container.__vue_app__)},provide(a,d){return i.provides[a]=d,h},runWithContext(a){const d=Lt;Lt=h;try{return a()}finally{Lt=d}}};return h}}let Lt=null;const wl=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ne(t)}Modifiers`]||e[`${At(t)}Modifiers`];function xl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||te;let r=n;const i=t.startsWith("update:"),o=i&&wl(s,t.slice(7));o&&(o.trim&&(r=n.map(a=>oe(a)?a.trim():a)),o.number&&(r=n.map(Ss)));let c,l=s[c=Vn(t)]||s[c=Vn(Ne(t))];!l&&i&&(l=s[c=Vn(At(t))]),l&&Qe(l,e,6,r);const h=s[c+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Qe(h,e,6,r)}}const Cl=new WeakMap;function Oi(e,t,n=!1){const s=n?Cl:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},c=!1;if(!G(e)){const l=h=>{const a=Oi(h,t,!0);a&&(c=!0,pe(o,a))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!c?(X(e)&&s.set(e,null),null):(V(i)?i.forEach(l=>o[l]=null):pe(o,i),X(e)&&s.set(e,o),o)}function Fn(e,t){return!e||!On(t)?!1:(t=t.slice(2).replace(/Once$/,""),Q(e,t[0].toLowerCase()+t.slice(1))||Q(e,At(t))||Q(e,t))}function tr(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:c,emit:l,render:h,renderCache:a,props:d,data:g,setupState:m,ctx:N,inheritAttrs:w}=e,P=Sn(e);let M,A;try{if(n.shapeFlag&4){const D=r||s,$=D;M=$e(h.call($,D,a,d,m,g,N)),A=c}else{const D=t;M=$e(D.length>1?D(d,{attrs:c,slots:o,emit:l}):D(d,null)),A=t.props?c:Ol(c)}}catch(D){en.length=0,Dn(D,e,1),M=me(mt)}let T=M;if(A&&w!==!1){const D=Object.keys(A),{shapeFlag:$}=T;D.length&&$&7&&(i&&D.some(Pn)&&(A=Pl(A,i)),T=jt(T,A,!1,!0))}return n.dirs&&(T=jt(T,null,!1,!0),T.dirs=T.dirs?T.dirs.concat(n.dirs):n.dirs),n.transition&&Ms(T,n.transition),M=T,Sn(P),M}const Ol=e=>{let t;for(const n in e)(n==="class"||n==="style"||On(n))&&((t||(t={}))[n]=e[n]);return t},Pl=(e,t)=>{const n={};for(const s in e)(!Pn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Tl(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:c,patchFlag:l}=t,h=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?nr(s,o,h):!!o;if(l&8){const a=t.dynamicProps;for(let d=0;d<a.length;d++){const g=a[d];if(Pi(o,s,g)&&!Fn(h,g))return!0}}}else return(r||c)&&(!c||!c.$stable)?!0:s===o?!1:s?o?nr(s,o,h):!0:!!o;return!1}function nr(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(Pi(t,e,i)&&!Fn(n,i))return!0}return!1}function Pi(e,t,n){const s=e[n],r=t[n];return n==="style"&&X(s)&&X(r)?!ws(s,r):s!==r}function Il({vnode:e,parent:t,suspense:n},s){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.suspense.vnode.el=r.el=s,e=r),r===e)(e=t.vnode).el=s,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=s)}const Ti={},Ii=()=>Object.create(Ti),Ni=e=>Object.getPrototypeOf(e)===Ti;function Nl(e,t,n,s=!1){const r={},i=Ii();e.propsDefaults=Object.create(null),Di(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:ui(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Dl(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,c=z(r),[l]=e.propsOptions;let h=!1;if((s||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let d=0;d<a.length;d++){let g=a[d];if(Fn(e.emitsOptions,g))continue;const m=t[g];if(l)if(Q(i,g))m!==i[g]&&(i[g]=m,h=!0);else{const N=Ne(g);r[N]=as(l,c,N,m,e,!1)}else m!==i[g]&&(i[g]=m,h=!0)}}}else{Di(e,t,r,i)&&(h=!0);let a;for(const d in c)(!t||!Q(t,d)&&((a=At(d))===d||!Q(t,a)))&&(l?n&&(n[d]!==void 0||n[a]!==void 0)&&(r[d]=as(l,c,d,void 0,e,!0)):delete r[d]);if(i!==c)for(const d in i)(!t||!Q(t,d))&&(delete i[d],h=!0)}h&&nt(e.attrs,"set","")}function Di(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,c;if(t)for(let l in t){if(Jt(l))continue;const h=t[l];let a;r&&Q(r,a=Ne(l))?!i||!i.includes(a)?n[a]=h:(c||(c={}))[a]=h:Fn(e.emitsOptions,l)||(!(l in s)||h!==s[l])&&(s[l]=h,o=!0)}if(i){const l=z(n),h=c||te;for(let a=0;a<i.length;a++){const d=i[a];n[d]=as(r,l,d,h[d],e,!Q(h,d))}}return o}function as(e,t,n,s,r,i){const o=e[n];if(o!=null){const c=Q(o,"default");if(c&&s===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&G(l)){const{propsDefaults:h}=r;if(n in h)s=h[n];else{const a=dn(r);s=h[n]=l.call(null,t),a()}}else s=l;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!c?s=!1:o[1]&&(s===""||s===At(n))&&(s=!0))}return s}const Ml=new WeakMap;function Mi(e,t,n=!1){const s=n?Ml:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},c=[];let l=!1;if(!G(e)){const a=d=>{l=!0;const[g,m]=Mi(d,t,!0);pe(o,g),m&&c.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!l)return X(e)&&s.set(e,Nt),Nt;if(V(i))for(let a=0;a<i.length;a++){const d=Ne(i[a]);sr(d)&&(o[d]=te)}else if(i)for(const a in i){const d=Ne(a);if(sr(d)){const g=i[a],m=o[d]=V(g)||G(g)?{type:g}:pe({},g),N=m.type;let w=!1,P=!0;if(V(N))for(let M=0;M<N.length;++M){const A=N[M],T=G(A)&&A.name;if(T==="Boolean"){w=!0;break}else T==="String"&&(P=!1)}else w=G(N)&&N.name==="Boolean";m[0]=w,m[1]=P,(w||Q(m,"default"))&&c.push(d)}}const h=[o,c];return X(e)&&s.set(e,h),h}function sr(e){return e[0]!=="$"&&!Jt(e)}const Ls=e=>e==="_"||e==="_ctx"||e==="$stable",Fs=e=>V(e)?e.map($e):[$e(e)],Ll=(e,t,n)=>{if(t._n)return t;const s=os((...r)=>Fs(t(...r)),n);return s._c=!1,s},Li=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Ls(r))continue;const i=e[r];if(G(i))t[r]=Ll(r,i,s);else if(i!=null){const o=Fs(i);t[r]=()=>o}}},Fi=(e,t)=>{const n=Fs(t);e.slots.default=()=>n},ji=(e,t,n)=>{for(const s in t)(n||!Ls(s))&&(e[s]=t[s])},Fl=(e,t,n)=>{const s=e.slots=Ii();if(e.vnode.shapeFlag&32){const r=t._;r?(ji(s,t,n),n&&Wr(s,"_",r,!0)):Li(t,s)}else t&&Fi(e,t)},jl=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=te;if(s.shapeFlag&32){const c=t._;c?n&&c===1?i=!1:ji(r,t,n):(i=!t.$stable,Li(t,r)),o=t}else t&&(Fi(e,t),o={default:1});if(i)for(const c in r)!Ls(c)&&o[c]==null&&delete r[c]},Re=Ul;function Bl(e){return kl(e)}function kl(e,t){const n=In();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:c,createComment:l,setText:h,setElementText:a,parentNode:d,nextSibling:g,setScopeId:m=Je,insertStaticContent:N}=e,w=(u,f,p,_=null,b=null,v=null,x=void 0,R=null,S=!!f.dynamicChildren)=>{if(u===f)return;u&&!Gt(u,f)&&(_=y(u),Se(u,b,v,!0),u=null),f.patchFlag===-2&&(S=!1,f.dynamicChildren=null);const{type:E,ref:j,shapeFlag:O}=f;switch(E){case jn:P(u,f,p,_);break;case mt:M(u,f,p,_);break;case qn:u==null&&A(f,p,_,x);break;case we:Fe(u,f,p,_,b,v,x,R,S);break;default:O&1?$(u,f,p,_,b,v,x,R,S):O&6?je(u,f,p,_,b,v,x,R,S):(O&64||O&128)&&E.process(u,f,p,_,b,v,x,R,S,L)}j!=null&&b?Yt(j,u&&u.ref,v,f||u,!f):j==null&&u&&u.ref!=null&&Yt(u.ref,null,v,u,!0)},P=(u,f,p,_)=>{if(u==null)s(f.el=c(f.children),p,_);else{const b=f.el=u.el;f.children!==u.children&&h(b,f.children)}},M=(u,f,p,_)=>{u==null?s(f.el=l(f.children||""),p,_):f.el=u.el},A=(u,f,p,_)=>{[u.el,u.anchor]=N(u.children,f,p,_,u.el,u.anchor)},T=({el:u,anchor:f},p,_)=>{let b;for(;u&&u!==f;)b=g(u),s(u,p,_),u=b;s(f,p,_)},D=({el:u,anchor:f})=>{let p;for(;u&&u!==f;)p=g(u),r(u),u=p;r(f)},$=(u,f,p,_,b,v,x,R,S)=>{if(f.type==="svg"?x="svg":f.type==="math"&&(x="mathml"),u==null)ue(f,p,_,b,v,x,R,S);else{const E=u.el&&u.el._isVueCE?u.el:null;try{E&&E._beginPatch(),U(u,f,b,v,x,R,S)}finally{E&&E._endPatch()}}},ue=(u,f,p,_,b,v,x,R)=>{let S,E;const{props:j,shapeFlag:O,transition:F,dirs:k}=u;if(S=u.el=o(u.type,v,j&&j.is,j),O&8?a(S,u.children):O&16&&H(u.children,S,null,_,b,$n(u,v),x,R),k&&vt(u,null,_,"created"),re(S,u,u.scopeId,x,_),j){for(const ee in j)ee!=="value"&&!Jt(ee)&&i(S,ee,null,j[ee],v,_);"value"in j&&i(S,"value",null,j.value,v),(E=j.onVnodeBeforeMount)&&Ue(E,_,u)}k&&vt(u,null,_,"beforeMount");const W=Vl(b,F);W&&F.beforeEnter(S),s(S,f,p),((E=j&&j.onVnodeMounted)||W||k)&&Re(()=>{try{E&&Ue(E,_,u),W&&F.enter(S),k&&vt(u,null,_,"mounted")}finally{}},b)},re=(u,f,p,_,b)=>{if(p&&m(u,p),_)for(let v=0;v<_.length;v++)m(u,_[v]);if(b){let v=b.subTree;if(f===v||Hi(v.type)&&(v.ssContent===f||v.ssFallback===f)){const x=b.vnode;re(u,x,x.scopeId,x.slotScopeIds,b.parent)}}},H=(u,f,p,_,b,v,x,R,S=0)=>{for(let E=S;E<u.length;E++){const j=u[E]=R?tt(u[E]):$e(u[E]);w(null,j,f,p,_,b,v,x,R)}},U=(u,f,p,_,b,v,x)=>{const R=f.el=u.el;let{patchFlag:S,dynamicChildren:E,dirs:j}=f;S|=u.patchFlag&16;const O=u.props||te,F=f.props||te;let k;if(p&&yt(p,!1),(k=F.onVnodeBeforeUpdate)&&Ue(k,p,f,u),j&&vt(f,u,p,"beforeUpdate"),p&&yt(p,!0),(O.innerHTML&&F.innerHTML==null||O.textContent&&F.textContent==null)&&a(R,""),E?B(u.dynamicChildren,E,R,p,_,$n(f,b),v):x||q(u,f,R,null,p,_,$n(f,b),v,!1),S>0){if(S&16)le(R,O,F,p,b);else if(S&2&&O.class!==F.class&&i(R,"class",null,F.class,b),S&4&&i(R,"style",O.style,F.style,b),S&8){const W=f.dynamicProps;for(let ee=0;ee<W.length;ee++){const ne=W[ee],ce=O[ne],de=F[ne];(de!==ce||ne==="value")&&i(R,ne,ce,de,b,p)}}S&1&&u.children!==f.children&&a(R,f.children)}else!x&&E==null&&le(R,O,F,p,b);((k=F.onVnodeUpdated)||j)&&Re(()=>{k&&Ue(k,p,f,u),j&&vt(f,u,p,"updated")},_)},B=(u,f,p,_,b,v,x)=>{for(let R=0;R<f.length;R++){const S=u[R],E=f[R],j=S.el&&(S.type===we||!Gt(S,E)||S.shapeFlag&198)?d(S.el):p;w(S,E,j,null,_,b,v,x,!0)}},le=(u,f,p,_,b)=>{if(f!==p){if(f!==te)for(const v in f)!Jt(v)&&!(v in p)&&i(u,v,f[v],null,b,_);for(const v in p){if(Jt(v))continue;const x=p[v],R=f[v];x!==R&&v!=="value"&&i(u,v,R,x,b,_)}"value"in p&&i(u,"value",f.value,p.value,b)}},Fe=(u,f,p,_,b,v,x,R,S)=>{const E=f.el=u?u.el:c(""),j=f.anchor=u?u.anchor:c("");let{patchFlag:O,dynamicChildren:F,slotScopeIds:k}=f;k&&(R=R?R.concat(k):k),u==null?(s(E,p,_),s(j,p,_),H(f.children||[],p,j,b,v,x,R,S)):O>0&&O&64&&F&&u.dynamicChildren&&u.dynamicChildren.length===F.length?(B(u.dynamicChildren,F,p,b,v,x,R),(f.key!=null||b&&f===b.subTree)&&Bi(u,f,!0)):q(u,f,p,j,b,v,x,R,S)},je=(u,f,p,_,b,v,x,R,S)=>{f.slotScopeIds=R,u==null?f.shapeFlag&512?b.ctx.activate(f,p,_,x,S):Vt(f,p,_,b,v,x,S):wt(u,f,S)},Vt=(u,f,p,_,b,v,x)=>{const R=u.component=Ql(u,_,b);if(Ei(u)&&(R.ctx.renderer=L),Xl(R,!1,x),R.asyncDep){if(b&&b.registerDep(R,fe,x),!u.el){const S=R.subTree=me(mt);M(null,S,f,p),u.placeholder=S.el}}else fe(R,u,f,p,b,v,x)},wt=(u,f,p)=>{const _=f.component=u.component;if(Tl(u,f,p))if(_.asyncDep&&!_.asyncResolved){Z(_,f,p);return}else _.next=f,_.update();else f.el=u.el,_.vnode=f},fe=(u,f,p,_,b,v,x)=>{const R=()=>{if(u.isMounted){let{next:O,bu:F,u:k,parent:W,vnode:ee}=u;{const Ve=ki(u);if(Ve){O&&(O.el=ee.el,Z(u,O,x)),Ve.asyncDep.then(()=>{Re(()=>{u.isUnmounted||E()},b)});return}}let ne=O,ce;yt(u,!1),O?(O.el=ee.el,Z(u,O,x)):O=ee,F&&mn(F),(ce=O.props&&O.props.onVnodeBeforeUpdate)&&Ue(ce,W,O,ee),yt(u,!0);const de=tr(u),ke=u.subTree;u.subTree=de,w(ke,de,d(ke.el),y(ke),u,b,v),O.el=de.el,ne===null&&Il(u,de.el),k&&Re(k,b),(ce=O.props&&O.props.onVnodeUpdated)&&Re(()=>Ue(ce,W,O,ee),b)}else{let O;const{el:F,props:k}=f,{bm:W,m:ee,parent:ne,root:ce,type:de}=u,ke=Xt(f);yt(u,!1),W&&mn(W),!ke&&(O=k&&k.onVnodeBeforeMount)&&Ue(O,ne,f),yt(u,!0);{ce.ce&&ce.ce._hasShadowRoot()&&ce.ce._injectChildStyle(de,u.parent?u.parent.type:void 0);const Ve=u.subTree=tr(u);w(null,Ve,p,_,u,b,v),f.el=Ve.el}if(ee&&Re(ee,b),!ke&&(O=k&&k.onVnodeMounted)){const Ve=f;Re(()=>Ue(O,ne,Ve),b)}(f.shapeFlag&256||ne&&Xt(ne.vnode)&&ne.vnode.shapeFlag&256)&&u.a&&Re(u.a,b),u.isMounted=!0,f=p=_=null}};u.scope.on();const S=u.effect=new zr(R);u.scope.off();const E=u.update=S.run.bind(S),j=u.job=S.runIfDirty.bind(S);j.i=u,j.id=u.uid,S.scheduler=()=>Ds(j),yt(u,!0),E()},Z=(u,f,p)=>{f.component=u;const _=u.vnode.props;u.vnode=f,u.next=null,Dl(u,f.props,_,p),jl(u,f.children,p),ot(),qs(u),lt()},q=(u,f,p,_,b,v,x,R,S=!1)=>{const E=u&&u.children,j=u?u.shapeFlag:0,O=f.children,{patchFlag:F,shapeFlag:k}=f;if(F>0){if(F&128){at(E,O,p,_,b,v,x,R,S);return}else if(F&256){Ye(E,O,p,_,b,v,x,R,S);return}}k&8?(j&16&&Ce(E,b,v),O!==E&&a(p,O)):j&16?k&16?at(E,O,p,_,b,v,x,R,S):Ce(E,b,v,!0):(j&8&&a(p,""),k&16&&H(O,p,_,b,v,x,R,S))},Ye=(u,f,p,_,b,v,x,R,S)=>{u=u||Nt,f=f||Nt;const E=u.length,j=f.length,O=Math.min(E,j);let F;for(F=0;F<O;F++){const k=f[F]=S?tt(f[F]):$e(f[F]);w(u[F],k,p,null,b,v,x,R,S)}E>j?Ce(u,b,v,!0,!1,O):H(f,p,_,b,v,x,R,S,O)},at=(u,f,p,_,b,v,x,R,S)=>{let E=0;const j=f.length;let O=u.length-1,F=j-1;for(;E<=O&&E<=F;){const k=u[E],W=f[E]=S?tt(f[E]):$e(f[E]);if(Gt(k,W))w(k,W,p,null,b,v,x,R,S);else break;E++}for(;E<=O&&E<=F;){const k=u[O],W=f[F]=S?tt(f[F]):$e(f[F]);if(Gt(k,W))w(k,W,p,null,b,v,x,R,S);else break;O--,F--}if(E>O){if(E<=F){const k=F+1,W=k<j?f[k].el:_;for(;E<=F;)w(null,f[E]=S?tt(f[E]):$e(f[E]),p,W,b,v,x,R,S),E++}}else if(E>F)for(;E<=O;)Se(u[E],b,v,!0),E++;else{const k=E,W=E,ee=new Map;for(E=W;E<=F;E++){const Ae=f[E]=S?tt(f[E]):$e(f[E]);Ae.key!=null&&ee.set(Ae.key,E)}let ne,ce=0;const de=F-W+1;let ke=!1,Ve=0;const Ht=new Array(de);for(E=0;E<de;E++)Ht[E]=0;for(E=k;E<=O;E++){const Ae=u[E];if(ce>=de){Se(Ae,b,v,!0);continue}let He;if(Ae.key!=null)He=ee.get(Ae.key);else for(ne=W;ne<=F;ne++)if(Ht[ne-W]===0&&Gt(Ae,f[ne])){He=ne;break}He===void 0?Se(Ae,b,v,!0):(Ht[He-W]=E+1,He>=Ve?Ve=He:ke=!0,w(Ae,f[He],p,null,b,v,x,R,S),ce++)}const Vs=ke?Hl(Ht):Nt;for(ne=Vs.length-1,E=de-1;E>=0;E--){const Ae=W+E,He=f[Ae],Hs=f[Ae+1],Us=Ae+1<j?Hs.el||Vi(Hs):_;Ht[E]===0?w(null,He,p,Us,b,v,x,R,S):ke&&(ne<0||E!==Vs[ne]?Be(He,p,Us,2):ne--)}}},Be=(u,f,p,_,b=null)=>{const{el:v,type:x,transition:R,children:S,shapeFlag:E}=u;if(E&6){Be(u.component.subTree,f,p,_);return}if(E&128){u.suspense.move(f,p,_);return}if(E&64){x.move(u,f,p,L);return}if(x===we){s(v,f,p);for(let O=0;O<S.length;O++)Be(S[O],f,p,_);s(u.anchor,f,p);return}if(x===qn){T(u,f,p);return}if(_!==2&&E&1&&R)if(_===0)R.beforeEnter(v),s(v,f,p),Re(()=>R.enter(v),b);else{const{leave:O,delayLeave:F,afterLeave:k}=R,W=()=>{u.ctx.isUnmounted?r(v):s(v,f,p)},ee=()=>{v._isLeaving&&v[rl](!0),O(v,()=>{W(),k&&k()})};F?F(v,W,ee):ee()}else s(v,f,p)},Se=(u,f,p,_=!1,b=!1)=>{const{type:v,props:x,ref:R,children:S,dynamicChildren:E,shapeFlag:j,patchFlag:O,dirs:F,cacheIndex:k,memo:W}=u;if(O===-2&&(b=!1),R!=null&&(ot(),Yt(R,null,p,u,!0),lt()),k!=null&&(f.renderCache[k]=void 0),j&256){f.ctx.deactivate(u);return}const ee=j&1&&F,ne=!Xt(u);let ce;if(ne&&(ce=x&&x.onVnodeBeforeUnmount)&&Ue(ce,f,u),j&6)_t(u.component,p,_);else{if(j&128){u.suspense.unmount(p,_);return}ee&&vt(u,null,f,"beforeUnmount"),j&64?u.type.remove(u,f,p,L,_):E&&!E.hasOnce&&(v!==we||O>0&&O&64)?Ce(E,f,p,!1,!0):(v===we&&O&384||!b&&j&16)&&Ce(S,f,p),_&&xt(u)}const de=W!=null&&k==null;(ne&&(ce=x&&x.onVnodeUnmounted)||ee||de)&&Re(()=>{ce&&Ue(ce,f,u),ee&&vt(u,null,f,"unmounted"),de&&(u.el=null)},p)},xt=u=>{const{type:f,el:p,anchor:_,transition:b}=u;if(f===we){Ct(p,_);return}if(f===qn){D(u);return}const v=()=>{r(p),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(u.shapeFlag&1&&b&&!b.persisted){const{leave:x,delayLeave:R}=b,S=()=>x(p,v);R?R(u.el,v,S):S()}else v()},Ct=(u,f)=>{let p;for(;u!==f;)p=g(u),r(u),u=p;r(f)},_t=(u,f,p)=>{const{bum:_,scope:b,job:v,subTree:x,um:R,m:S,a:E}=u;rr(S),rr(E),_&&mn(_),b.stop(),v&&(v.flags|=8,Se(x,u,f,p)),R&&Re(R,f),Re(()=>{u.isUnmounted=!0},f)},Ce=(u,f,p,_=!1,b=!1,v=0)=>{for(let x=v;x<u.length;x++)Se(u[x],f,p,_,b)},y=u=>{if(u.shapeFlag&6)return y(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const f=g(u.anchor||u.el),p=f&&f[nl];return p?g(p):f};let I=!1;const C=(u,f,p)=>{let _;u==null?f._vnode&&(Se(f._vnode,null,null,!0),_=f._vnode.component):w(f._vnode||null,u,f,null,null,null,p),f._vnode=u,I||(I=!0,qs(_),gi(),I=!1)},L={p:w,um:Se,m:Be,r:xt,mt:Vt,mc:H,pc:q,pbc:B,n:y,o:e};return{render:C,hydrate:void 0,createApp:Al(C)}}function $n({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function yt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Vl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Bi(e,t,n=!1){const s=e.children,r=t.children;if(V(s)&&V(r))for(let i=0;i<s.length;i++){const o=s[i];let c=r[i];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=r[i]=tt(r[i]),c.el=o.el),!n&&c.patchFlag!==-2&&Bi(o,c)),c.type===jn&&(c.patchFlag===-1&&(c=r[i]=tt(c)),c.el=o.el),c.type===mt&&!c.el&&(c.el=o.el)}}function Hl(e){const t=e.slice(),n=[0];let s,r,i,o,c;const l=e.length;for(s=0;s<l;s++){const h=e[s];if(h!==0){if(r=n[n.length-1],e[r]<h){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)c=i+o>>1,e[n[c]]<h?i=c+1:o=c;h<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function ki(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ki(t)}function rr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Vi(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Vi(t.subTree):null}const Hi=e=>e.__isSuspense;function Ul(e,t){t&&t.pendingBranch?V(e)?t.effects.push(...e):t.effects.push(e):Yo(e)}const we=Symbol.for("v-fgt"),jn=Symbol.for("v-txt"),mt=Symbol.for("v-cmt"),qn=Symbol.for("v-stc"),en=[];let xe=null;function Te(e=!1){en.push(xe=e?null:[])}function Gl(){en.pop(),xe=en[en.length-1]||null}let on=1;function wn(e,t=!1){on+=e,e<0&&xe&&t&&(xe.hasOnce=!0)}function Ui(e){return e.dynamicChildren=on>0?xe||Nt:null,Gl(),on>0&&xe&&xe.push(e),e}function Ge(e,t,n,s,r,i){return Ui(Y(e,t,n,s,r,i,!0))}function Kl(e,t,n,s,r){return Ui(me(e,t,n,s,r,!0))}function xn(e){return e?e.__v_isVNode===!0:!1}function Gt(e,t){return e.type===t.type&&e.key===t.key}const Gi=({key:e})=>e??null,yn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?oe(e)||_e(e)||G(e)?{i:Oe,r:e,k:t,f:!!n}:e:null);function Y(e,t=null,n=null,s=0,r=null,i=e===we?0:1,o=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Gi(t),ref:t&&yn(t),scopeId:_i,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Oe};return c?(js(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=oe(n)?8:16),on>0&&!o&&xe&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&xe.push(l),l}const me=Wl;function Wl(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===ml)&&(e=mt),xn(e)){const c=jt(e,t,!0);return n&&js(c,n),on>0&&!i&&xe&&(c.shapeFlag&6?xe[xe.indexOf(e)]=c:xe.push(c)),c.patchFlag=-2,c}if(nc(e)&&(e=e.__vccOpts),t){t=$l(t);let{class:c,style:l}=t;c&&!oe(c)&&(t.class=As(c)),X(l)&&(Ns(l)&&!V(l)&&(l=pe({},l)),t.style=Rs(l))}const o=oe(e)?1:Hi(e)?128:sl(e)?64:X(e)?4:G(e)?2:0;return Y(e,t,n,s,r,o,i,!0)}function $l(e){return e?Ns(e)||Ni(e)?pe({},e):e:null}function jt(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:c,transition:l}=e,h=t?ql(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:h,key:h&&Gi(h),ref:t&&t.ref?n&&i?V(i)?i.concat(yn(t)):[i,yn(t)]:yn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==we?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&jt(e.ssContent),ssFallback:e.ssFallback&&jt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&s&&Ms(a,l.clone(a)),a}function fs(e=" ",t=0){return me(jn,null,e,t)}function Kt(e="",t=!1){return t?(Te(),Kl(mt,null,e)):me(mt,null,e)}function $e(e){return e==null||typeof e=="boolean"?me(mt):V(e)?me(we,null,e.slice()):xn(e)?tt(e):me(jn,null,String(e))}function tt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:jt(e)}function js(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(V(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),js(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Ni(t)?t._ctx=Oe:r===3&&Oe&&(Oe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else G(t)?(t={default:t,_ctx:Oe},n=32):(t=String(t),s&64?(n=16,t=[fs(t)]):n=8);e.children=t,e.shapeFlag|=n}function ql(...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=As([t.class,s.class]));else if(r==="style")t.style=Rs([t.style,s.style]);else if(On(r)){const i=t[r],o=s[r];o&&i!==o&&!(V(i)&&i.includes(o))?t[r]=i?[].concat(i,o):o:o==null&&i==null&&!Pn(r)&&(t[r]=o)}else r!==""&&(t[r]=s[r])}return t}function Ue(e,t,n,s=null){Qe(e,t,7,[n,s])}const Jl=Ci();let zl=0;function Ql(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Jl,i={uid:zl++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Eo(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Mi(s,r),emitsOptions:Oi(s,r),emit:null,emitted:null,propsDefaults:te,inheritAttrs:s.inheritAttrs,ctx:te,data:te,props:te,attrs:te,slots:te,refs:te,setupState:te,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=xl.bind(null,i),e.ce&&e.ce(i),i}let Ee=null;const Yl=()=>Ee||Oe;let Cn,ds;{const e=In(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Cn=t("__VUE_INSTANCE_SETTERS__",n=>Ee=n),ds=t("__VUE_SSR_SETTERS__",n=>ln=n)}const dn=e=>{const t=Ee;return Cn(e),e.scope.on(),()=>{e.scope.off(),Cn(t)}},ir=()=>{Ee&&Ee.scope.off(),Cn(null)};function Ki(e){return e.vnode.shapeFlag&4}let ln=!1;function Xl(e,t=!1,n=!1){t&&ds(t);const{props:s,children:r}=e.vnode,i=Ki(e);Nl(e,s,i,t),Fl(e,r,n||t);const o=i?Zl(e,t):void 0;return t&&ds(!1),o}function Zl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,_l);const{setup:s}=n;if(s){ot();const r=e.setupContext=s.length>1?tc(e):null,i=dn(e),o=fn(s,e,0,[e.props,r]),c=Hr(o);if(lt(),i(),(c||e.sp)&&!Xt(e)&&bi(e),c){if(o.then(ir,ir),t)return o.then(l=>{or(e,l)}).catch(l=>{Dn(l,e,0)});e.asyncDep=o}else or(e,o)}else Wi(e)}function or(e,t,n){G(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:X(t)&&(e.setupState=fi(t)),Wi(e)}function Wi(e,t,n){const s=e.type;e.render||(e.render=s.render||Je);{const r=dn(e);ot();try{vl(e)}finally{lt(),r()}}}const ec={get(e,t){return ge(e,"get",""),e[t]}};function tc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,ec),slots:e.slots,emit:e.emit,expose:t}}function Bn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(fi(Ho(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Zt)return Zt[n](e)},has(t,n){return n in t||n in Zt}})):e.proxy}function nc(e){return G(e)&&"__vccOpts"in e}const Ie=(e,t)=>$o(e,t,ln);function $i(e,t,n){try{wn(-1);const s=arguments.length;return s===2?X(t)&&!V(t)?xn(t)?me(e,null,[t]):me(e,t):me(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&xn(n)&&(n=[n]),me(e,t,n))}finally{wn(1)}}const sc="3.5.34";/**
|
|
15
|
+
* @vue/runtime-dom v3.5.34
|
|
16
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
17
|
+
* @license MIT
|
|
18
|
+
**/let hs;const lr=typeof window<"u"&&window.trustedTypes;if(lr)try{hs=lr.createPolicy("vue",{createHTML:e=>e})}catch{}const qi=hs?e=>hs.createHTML(e):e=>e,rc="http://www.w3.org/2000/svg",ic="http://www.w3.org/1998/Math/MathML",et=typeof document<"u"?document:null,cr=et&&et.createElement("template"),oc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?et.createElementNS(rc,e):t==="mathml"?et.createElementNS(ic,e):n?et.createElement(e,{is:n}):et.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>et.createTextNode(e),createComment:e=>et.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>et.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{cr.innerHTML=qi(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const c=cr.content;if(s==="svg"||s==="mathml"){const l=c.firstChild;for(;l.firstChild;)c.appendChild(l.firstChild);c.removeChild(l)}t.insertBefore(c,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},lc=Symbol("_vtc");function cc(e,t,n){const s=e[lc];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ur=Symbol("_vod"),uc=Symbol("_vsh"),ac=Symbol(""),fc=/(?:^|;)\s*display\s*:/;function dc(e,t,n){const s=e.style,r=oe(n);let i=!1;if(n&&!r){if(t)if(oe(t))for(const o of t.split(";")){const c=o.slice(0,o.indexOf(":")).trim();n[c]==null&&qt(s,c,"")}else for(const o in t)n[o]==null&&qt(s,o,"");for(const o in n){o==="display"&&(i=!0);const c=n[o];c!=null?pc(e,o,!oe(t)&&t?t[o]:void 0,c)||qt(s,o,c):qt(s,o,"")}}else if(r){if(t!==n){const o=s[ac];o&&(n+=";"+o),s.cssText=n,i=fc.test(n)}}else t&&e.removeAttribute("style");ur in e&&(e[ur]=i?s.display:"",e[uc]&&(s.display="none"))}const ar=/\s*!important$/;function qt(e,t,n){if(V(n))n.forEach(s=>qt(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=hc(e,t);ar.test(n)?e.setProperty(At(s),n.replace(ar,""),"important"):e[s]=n}}const fr=["Webkit","Moz","ms"],Jn={};function hc(e,t){const n=Jn[t];if(n)return n;let s=Ne(t);if(s!=="filter"&&s in e)return Jn[t]=s;s=Kr(s);for(let r=0;r<fr.length;r++){const i=fr[r]+s;if(i in e)return Jn[t]=i}return t}function pc(e,t,n,s){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&oe(s)&&n===s}const dr="http://www.w3.org/1999/xlink";function hr(e,t,n,s,r,i=yo(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(dr,t.slice(6,t.length)):e.setAttributeNS(dr,t,n):n==null||i&&!$r(n)?e.removeAttribute(t):e.setAttribute(t,i?"":ze(n)?String(n):n)}function pr(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?qi(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const c=i==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(c!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=$r(n):n==null&&c==="string"?(n="",o=!0):c==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function Tt(e,t,n,s){e.addEventListener(t,n,s)}function gc(e,t,n,s){e.removeEventListener(t,n,s)}const gr=Symbol("_vei");function mc(e,t,n,s,r=null){const i=e[gr]||(e[gr]={}),o=i[t];if(s&&o)o.value=s;else{const[c,l]=_c(t);if(s){const h=i[t]=bc(s,r);Tt(e,c,h,l)}else o&&(gc(e,c,o,l),i[t]=void 0)}}const mr=/(?:Once|Passive|Capture)$/;function _c(e){let t;if(mr.test(e)){t={};let s;for(;s=e.match(mr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):At(e.slice(2)),t]}let zn=0;const vc=Promise.resolve(),yc=()=>zn||(vc.then(()=>zn=0),zn=Date.now());function bc(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Qe(Ec(s,n.value),t,5,[s])};return n.value=e,n.attached=yc(),n}function Ec(e,t){if(V(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 _r=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Sc=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?cc(e,s,o):t==="style"?dc(e,n,s):On(t)?Pn(t)||mc(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Rc(e,t,s,o))?(pr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&hr(e,t,s,o,i,t!=="value")):e._isVueCE&&(Ac(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!oe(s)))?pr(e,Ne(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),hr(e,t,s,o))};function Rc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&_r(t)&&G(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return _r(t)&&oe(n)?!1:t in e}function Ac(e,t){const n=e._def.props;if(!n)return!1;const s=Ne(t);return Array.isArray(n)?n.some(r=>Ne(r)===s):Object.keys(n).some(r=>Ne(r)===s)}const vr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return V(t)?n=>mn(t,n):t};function wc(e){e.target.composing=!0}function yr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Qn=Symbol("_assign");function br(e,t,n){return t&&(e=e.trim()),n&&(e=Ss(e)),e}const xc={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Qn]=vr(r);const i=s||r.props&&r.props.type==="number";Tt(e,t?"change":"input",o=>{o.target.composing||e[Qn](br(e.value,n,i))}),(n||i)&&Tt(e,"change",()=>{e.value=br(e.value,n,i)}),t||(Tt(e,"compositionstart",wc),Tt(e,"compositionend",yr),Tt(e,"change",yr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[Qn]=vr(o),e.composing)return;const c=(i||e.type==="number")&&!/^0\d/.test(e.value)?Ss(e.value):e.value,l=t??"";if(c===l)return;const h=e.getRootNode();(h instanceof Document||h instanceof ShadowRoot)&&h.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===l)||(e.value=l)}},Cc=pe({patchProp:Sc},oc);let Er;function Oc(){return Er||(Er=Bl(Cc))}const Pc=(...e)=>{const t=Oc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Ic(s);if(!r)return;const i=t._component;!G(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,Tc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function Tc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ic(e){return oe(e)?document.querySelector(e):e}/*!
|
|
19
|
+
* vue-router v4.6.4
|
|
20
|
+
* (c) 2025 Eduardo San Martin Morote
|
|
21
|
+
* @license MIT
|
|
22
|
+
*/const It=typeof document<"u";function Ji(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Nc(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Ji(e.default)}const J=Object.assign;function Yn(e,t){const n={};for(const s in t){const r=t[s];n[s]=Le(r)?r.map(e):e(r)}return n}const tn=()=>{},Le=Array.isArray;function Sr(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const zi=/#/g,Dc=/&/g,Mc=/\//g,Lc=/=/g,Fc=/\?/g,Qi=/\+/g,jc=/%5B/g,Bc=/%5D/g,Yi=/%5E/g,kc=/%60/g,Xi=/%7B/g,Vc=/%7C/g,Zi=/%7D/g,Hc=/%20/g;function Bs(e){return e==null?"":encodeURI(""+e).replace(Vc,"|").replace(jc,"[").replace(Bc,"]")}function Uc(e){return Bs(e).replace(Xi,"{").replace(Zi,"}").replace(Yi,"^")}function ps(e){return Bs(e).replace(Qi,"%2B").replace(Hc,"+").replace(zi,"%23").replace(Dc,"%26").replace(kc,"`").replace(Xi,"{").replace(Zi,"}").replace(Yi,"^")}function Gc(e){return ps(e).replace(Lc,"%3D")}function Kc(e){return Bs(e).replace(zi,"%23").replace(Fc,"%3F")}function Wc(e){return Kc(e).replace(Mc,"%2F")}function cn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const $c=/\/$/,qc=e=>e.replace($c,"");function Xn(e,t,n="/"){let s,r={},i="",o="";const c=t.indexOf("#");let l=t.indexOf("?");return l=c>=0&&l>c?-1:l,l>=0&&(s=t.slice(0,l),i=t.slice(l,c>0?c:t.length),r=e(i.slice(1))),c>=0&&(s=s||t.slice(0,c),o=t.slice(c,t.length)),s=Yc(s??t,n),{fullPath:s+i+o,path:s,query:r,hash:cn(o)}}function Jc(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Rr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function zc(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Bt(t.matched[s],n.matched[r])&&eo(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Bt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function eo(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Qc(e[n],t[n]))return!1;return!0}function Qc(e,t){return Le(e)?Ar(e,t):Le(t)?Ar(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function Ar(e,t){return Le(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Yc(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let i=n.length-1,o,c;for(o=0;o<s.length;o++)if(c=s[o],c!==".")if(c==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o).join("/")}const ft={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let gs=function(e){return e.pop="pop",e.push="push",e}({}),Zn=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function Xc(e){if(!e)if(It){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),qc(e)}const Zc=/^[^#]+#/;function eu(e,t){return e.replace(Zc,"#")+t}function tu(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const kn=()=>({left:window.scrollX,top:window.scrollY});function nu(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=tu(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function wr(e,t){return(history.state?history.state.position-t:-1)+e}const ms=new Map;function su(e,t){ms.set(e,t)}function ru(e){const t=ms.get(e);return ms.delete(e),t}function iu(e){return typeof e=="string"||e&&typeof e=="object"}function to(e){return typeof e=="string"||typeof e=="symbol"}let ie=function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e}({});const no=Symbol("");ie.MATCHER_NOT_FOUND+"",ie.NAVIGATION_GUARD_REDIRECT+"",ie.NAVIGATION_ABORTED+"",ie.NAVIGATION_CANCELLED+"",ie.NAVIGATION_DUPLICATED+"";function kt(e,t){return J(new Error,{type:e,[no]:!0},t)}function Ze(e,t){return e instanceof Error&&no in e&&(t==null||!!(e.type&t))}const ou=["params","query","hash"];function lu(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of ou)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function cu(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<n.length;++s){const r=n[s].replace(Qi," "),i=r.indexOf("="),o=cn(i<0?r:r.slice(0,i)),c=i<0?null:cn(r.slice(i+1));if(o in t){let l=t[o];Le(l)||(l=t[o]=[l]),l.push(c)}else t[o]=c}return t}function xr(e){let t="";for(let n in e){const s=e[n];if(n=Gc(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Le(s)?s.map(r=>r&&ps(r)):[s&&ps(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function uu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Le(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const au=Symbol(""),Cr=Symbol(""),ks=Symbol(""),so=Symbol(""),_s=Symbol("");function Wt(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function gt(e,t,n,s,r,i=o=>o()){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((c,l)=>{const h=g=>{g===!1?l(kt(ie.NAVIGATION_ABORTED,{from:n,to:t})):g instanceof Error?l(g):iu(g)?l(kt(ie.NAVIGATION_GUARD_REDIRECT,{from:t,to:g})):(o&&s.enterCallbacks[r]===o&&typeof g=="function"&&o.push(g),c())},a=i(()=>e.call(s&&s.instances[r],t,n,h));let d=Promise.resolve(a);e.length<3&&(d=d.then(h)),d.catch(g=>l(g))})}function es(e,t,n,s,r=i=>i()){const i=[];for(const o of e)for(const c in o.components){let l=o.components[c];if(!(t!=="beforeRouteEnter"&&!o.instances[c]))if(Ji(l)){const h=(l.__vccOpts||l)[t];h&&i.push(gt(h,n,s,o,c,r))}else{let h=l();i.push(()=>h.then(a=>{if(!a)throw new Error(`Couldn't resolve component "${c}" at "${o.path}"`);const d=Nc(a)?a.default:a;o.mods[c]=a,o.components[c]=d;const g=(d.__vccOpts||d)[t];return g&>(g,n,s,o,c,r)()}))}}return i}function fu(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const c=t.matched[o];c&&(e.matched.find(h=>Bt(h,c))?s.push(c):n.push(c));const l=e.matched[o];l&&(t.matched.find(h=>Bt(h,l))||r.push(l))}return[n,s,r]}/*!
|
|
23
|
+
* vue-router v4.6.4
|
|
24
|
+
* (c) 2025 Eduardo San Martin Morote
|
|
25
|
+
* @license MIT
|
|
26
|
+
*/let du=()=>location.protocol+"//"+location.host;function ro(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let o=r.includes(e.slice(i))?e.slice(i).length:1,c=r.slice(o);return c[0]!=="/"&&(c="/"+c),Rr(c,"")}return Rr(n,e)+s+r}function hu(e,t,n,s){let r=[],i=[],o=null;const c=({state:g})=>{const m=ro(e,location),N=n.value,w=t.value;let P=0;if(g){if(n.value=m,t.value=g,o&&o===N){o=null;return}P=w?g.position-w.position:0}else s(m);r.forEach(M=>{M(n.value,N,{delta:P,type:gs.pop,direction:P?P>0?Zn.forward:Zn.back:Zn.unknown})})};function l(){o=n.value}function h(g){r.push(g);const m=()=>{const N=r.indexOf(g);N>-1&&r.splice(N,1)};return i.push(m),m}function a(){if(document.visibilityState==="hidden"){const{history:g}=window;if(!g.state)return;g.replaceState(J({},g.state,{scroll:kn()}),"")}}function d(){for(const g of i)g();i=[],window.removeEventListener("popstate",c),window.removeEventListener("pagehide",a),document.removeEventListener("visibilitychange",a)}return window.addEventListener("popstate",c),window.addEventListener("pagehide",a),document.addEventListener("visibilitychange",a),{pauseListeners:l,listen:h,destroy:d}}function Or(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?kn():null}}function pu(e){const{history:t,location:n}=window,s={value:ro(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,h,a){const d=e.indexOf("#"),g=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:du()+e+l;try{t[a?"replaceState":"pushState"](h,"",g),r.value=h}catch(m){console.error(m),n[a?"replace":"assign"](g)}}function o(l,h){i(l,J({},t.state,Or(r.value.back,l,r.value.forward,!0),h,{position:r.value.position}),!0),s.value=l}function c(l,h){const a=J({},r.value,t.state,{forward:l,scroll:kn()});i(a.current,a,!0),i(l,J({},Or(s.value,l,null),{position:a.position+1},h),!1),s.value=l}return{location:s,state:r,push:c,replace:o}}function gu(e){e=Xc(e);const t=pu(e),n=hu(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=J({location:"",base:e,go:s,createHref:eu.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}let Et=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var ae=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e}(ae||{});const mu={type:Et.Static,value:""},_u=/[a-zA-Z0-9_]/;function vu(e){if(!e)return[[]];if(e==="/")return[[mu]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${h}": ${m}`)}let n=ae.Static,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let c=0,l,h="",a="";function d(){h&&(n===ae.Static?i.push({type:Et.Static,value:h}):n===ae.Param||n===ae.ParamRegExp||n===ae.ParamRegExpEnd?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${h}) must be alone in its segment. eg: '/:ids+.`),i.push({type:Et.Param,value:h,regexp:a,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),h="")}function g(){h+=l}for(;c<e.length;){if(l=e[c++],l==="\\"&&n!==ae.ParamRegExp){s=n,n=ae.EscapeNext;continue}switch(n){case ae.Static:l==="/"?(h&&d(),o()):l===":"?(d(),n=ae.Param):g();break;case ae.EscapeNext:g(),n=s;break;case ae.Param:l==="("?n=ae.ParamRegExp:_u.test(l)?g():(d(),n=ae.Static,l!=="*"&&l!=="?"&&l!=="+"&&c--);break;case ae.ParamRegExp:l===")"?a[a.length-1]=="\\"?a=a.slice(0,-1)+l:n=ae.ParamRegExpEnd:a+=l;break;case ae.ParamRegExpEnd:d(),n=ae.Static,l!=="*"&&l!=="?"&&l!=="+"&&c--,a="";break;default:t("Unknown state");break}}return n===ae.ParamRegExp&&t(`Unfinished custom RegExp for param "${h}"`),d(),o(),r}const Pr="[^/]+?",yu={sensitive:!1,strict:!1,start:!0,end:!0};var ye=function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e}(ye||{});const bu=/[.+*?^${}()[\]/\\]/g;function Eu(e,t){const n=J({},yu,t),s=[];let r=n.start?"^":"";const i=[];for(const h of e){const a=h.length?[]:[ye.Root];n.strict&&!h.length&&(r+="/");for(let d=0;d<h.length;d++){const g=h[d];let m=ye.Segment+(n.sensitive?ye.BonusCaseSensitive:0);if(g.type===Et.Static)d||(r+="/"),r+=g.value.replace(bu,"\\$&"),m+=ye.Static;else if(g.type===Et.Param){const{value:N,repeatable:w,optional:P,regexp:M}=g;i.push({name:N,repeatable:w,optional:P});const A=M||Pr;if(A!==Pr){m+=ye.BonusCustomRegExp;try{`${A}`}catch(D){throw new Error(`Invalid custom RegExp for param "${N}" (${A}): `+D.message)}}let T=w?`((?:${A})(?:/(?:${A}))*)`:`(${A})`;d||(T=P&&h.length<2?`(?:/${T})`:"/"+T),P&&(T+="?"),r+=T,m+=ye.Dynamic,P&&(m+=ye.BonusOptional),w&&(m+=ye.BonusRepeatable),A===".*"&&(m+=ye.BonusWildcard)}a.push(m)}s.push(a)}if(n.strict&&n.end){const h=s.length-1;s[h][s[h].length-1]+=ye.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function c(h){const a=h.match(o),d={};if(!a)return null;for(let g=1;g<a.length;g++){const m=a[g]||"",N=i[g-1];d[N.name]=m&&N.repeatable?m.split("/"):m}return d}function l(h){let a="",d=!1;for(const g of e){(!d||!a.endsWith("/"))&&(a+="/"),d=!1;for(const m of g)if(m.type===Et.Static)a+=m.value;else if(m.type===Et.Param){const{value:N,repeatable:w,optional:P}=m,M=N in h?h[N]:"";if(Le(M)&&!w)throw new Error(`Provided param "${N}" is an array but it is not repeatable (* or + modifiers)`);const A=Le(M)?M.join("/"):M;if(!A)if(P)g.length<2&&(a.endsWith("/")?a=a.slice(0,-1):d=!0);else throw new Error(`Missing required param "${N}"`);a+=A}}return a||"/"}return{re:o,score:s,keys:i,parse:c,stringify:l}}function Su(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===ye.Static+ye.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===ye.Static+ye.Segment?1:-1:0}function io(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=Su(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(Tr(s))return 1;if(Tr(r))return-1}return r.length-s.length}function Tr(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Ru={strict:!1,end:!0,sensitive:!1};function Au(e,t,n){const s=Eu(vu(e.path),n),r=J(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function wu(e,t){const n=[],s=new Map;t=Sr(Ru,t);function r(d){return s.get(d)}function i(d,g,m){const N=!m,w=Nr(d);w.aliasOf=m&&m.record;const P=Sr(t,d),M=[w];if("alias"in d){const D=typeof d.alias=="string"?[d.alias]:d.alias;for(const $ of D)M.push(Nr(J({},w,{components:m?m.record.components:w.components,path:$,aliasOf:m?m.record:w})))}let A,T;for(const D of M){const{path:$}=D;if(g&&$[0]!=="/"){const ue=g.record.path,re=ue[ue.length-1]==="/"?"":"/";D.path=g.record.path+($&&re+$)}if(A=Au(D,g,P),m?m.alias.push(A):(T=T||A,T!==A&&T.alias.push(A),N&&d.name&&!Dr(A)&&o(d.name)),oo(A)&&l(A),w.children){const ue=w.children;for(let re=0;re<ue.length;re++)i(ue[re],A,m&&m.children[re])}m=m||A}return T?()=>{o(T)}:tn}function o(d){if(to(d)){const g=s.get(d);g&&(s.delete(d),n.splice(n.indexOf(g),1),g.children.forEach(o),g.alias.forEach(o))}else{const g=n.indexOf(d);g>-1&&(n.splice(g,1),d.record.name&&s.delete(d.record.name),d.children.forEach(o),d.alias.forEach(o))}}function c(){return n}function l(d){const g=Ou(d,n);n.splice(g,0,d),d.record.name&&!Dr(d)&&s.set(d.record.name,d)}function h(d,g){let m,N={},w,P;if("name"in d&&d.name){if(m=s.get(d.name),!m)throw kt(ie.MATCHER_NOT_FOUND,{location:d});P=m.record.name,N=J(Ir(g.params,m.keys.filter(T=>!T.optional).concat(m.parent?m.parent.keys.filter(T=>T.optional):[]).map(T=>T.name)),d.params&&Ir(d.params,m.keys.map(T=>T.name))),w=m.stringify(N)}else if(d.path!=null)w=d.path,m=n.find(T=>T.re.test(w)),m&&(N=m.parse(w),P=m.record.name);else{if(m=g.name?s.get(g.name):n.find(T=>T.re.test(g.path)),!m)throw kt(ie.MATCHER_NOT_FOUND,{location:d,currentLocation:g});P=m.record.name,N=J({},g.params,d.params),w=m.stringify(N)}const M=[];let A=m;for(;A;)M.unshift(A.record),A=A.parent;return{name:P,path:w,params:N,matched:M,meta:Cu(M)}}e.forEach(d=>i(d));function a(){n.length=0,s.clear()}return{addRoute:i,resolve:h,removeRoute:o,clearRoutes:a,getRoutes:c,getRecordMatcher:r}}function Ir(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Nr(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:xu(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function xu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function Dr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Cu(e){return e.reduce((t,n)=>J(t,n.meta),{})}function Ou(e,t){let n=0,s=t.length;for(;n!==s;){const i=n+s>>1;io(e,t[i])<0?s=i:n=i+1}const r=Pu(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function Pu(e){let t=e;for(;t=t.parent;)if(oo(t)&&io(e,t)===0)return t}function oo({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Mr(e){const t=it(ks),n=it(so),s=Ie(()=>{const l=rt(e.to);return t.resolve(l)}),r=Ie(()=>{const{matched:l}=s.value,{length:h}=l,a=l[h-1],d=n.matched;if(!a||!d.length)return-1;const g=d.findIndex(Bt.bind(null,a));if(g>-1)return g;const m=Lr(l[h-2]);return h>1&&Lr(a)===m&&d[d.length-1].path!==m?d.findIndex(Bt.bind(null,l[h-2])):g}),i=Ie(()=>r.value>-1&&Du(n.params,s.value.params)),o=Ie(()=>r.value>-1&&r.value===n.matched.length-1&&eo(n.params,s.value.params));function c(l={}){if(Nu(l)){const h=t[rt(e.replace)?"replace":"push"](rt(e.to)).catch(tn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>h),h}return Promise.resolve()}return{route:s,href:Ie(()=>s.value.href),isActive:i,isExactActive:o,navigate:c}}function Tu(e){return e.length===1?e[0]:e}const Iu=Mn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:Mr,setup(e,{slots:t}){const n=an(Mr(e)),{options:s}=it(ks),r=Ie(()=>({[Fr(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Fr(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&Tu(t.default(n));return e.custom?i:$i("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),vs=Iu;function Nu(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Du(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Le(r)||r.length!==s.length||s.some((i,o)=>i.valueOf()!==r[o].valueOf()))return!1}return!0}function Lr(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Fr=(e,t,n)=>e??t??n,Mu=Mn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=it(_s),r=Ie(()=>e.route||s.value),i=it(Cr,0),o=Ie(()=>{let h=rt(i);const{matched:a}=r.value;let d;for(;(d=a[h])&&!d.components;)h++;return h}),c=Ie(()=>r.value.matched[o.value]);_n(Cr,Ie(()=>o.value+1)),_n(au,c),_n(_s,r);const l=ht();return vn(()=>[l.value,c.value,e.name],([h,a,d],[g,m,N])=>{a&&(a.instances[d]=h,m&&m!==a&&h&&h===g&&(a.leaveGuards.size||(a.leaveGuards=m.leaveGuards),a.updateGuards.size||(a.updateGuards=m.updateGuards))),h&&a&&(!m||!Bt(a,m)||!g)&&(a.enterCallbacks[d]||[]).forEach(w=>w(h))},{flush:"post"}),()=>{const h=r.value,a=e.name,d=c.value,g=d&&d.components[a];if(!g)return jr(n.default,{Component:g,route:h});const m=d.props[a],N=m?m===!0?h.params:typeof m=="function"?m(h):m:null,P=$i(g,J({},N,t,{onVnodeUnmounted:M=>{M.component.isUnmounted&&(d.instances[a]=null)},ref:l}));return jr(n.default,{Component:P,route:h})||P}}});function jr(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const lo=Mu;function Lu(e){const t=wu(e.routes,e),n=e.parseQuery||cu,s=e.stringifyQuery||xr,r=e.history,i=Wt(),o=Wt(),c=Wt(),l=Uo(ft);let h=ft;It&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=Yn.bind(null,y=>""+y),d=Yn.bind(null,Wc),g=Yn.bind(null,cn);function m(y,I){let C,L;return to(y)?(C=t.getRecordMatcher(y),L=I):L=y,t.addRoute(L,C)}function N(y){const I=t.getRecordMatcher(y);I&&t.removeRoute(I)}function w(){return t.getRoutes().map(y=>y.record)}function P(y){return!!t.getRecordMatcher(y)}function M(y,I){if(I=J({},I||l.value),typeof y=="string"){const p=Xn(n,y,I.path),_=t.resolve({path:p.path},I),b=r.createHref(p.fullPath);return J(p,_,{params:g(_.params),hash:cn(p.hash),redirectedFrom:void 0,href:b})}let C;if(y.path!=null)C=J({},y,{path:Xn(n,y.path,I.path).path});else{const p=J({},y.params);for(const _ in p)p[_]==null&&delete p[_];C=J({},y,{params:d(p)}),I.params=d(I.params)}const L=t.resolve(C,I),K=y.hash||"";L.params=a(g(L.params));const u=Jc(s,J({},y,{hash:Uc(K),path:L.path})),f=r.createHref(u);return J({fullPath:u,hash:K,query:s===xr?uu(y.query):y.query||{}},L,{redirectedFrom:void 0,href:f})}function A(y){return typeof y=="string"?Xn(n,y,l.value.path):J({},y)}function T(y,I){if(h!==y)return kt(ie.NAVIGATION_CANCELLED,{from:I,to:y})}function D(y){return re(y)}function $(y){return D(J(A(y),{replace:!0}))}function ue(y,I){const C=y.matched[y.matched.length-1];if(C&&C.redirect){const{redirect:L}=C;let K=typeof L=="function"?L(y,I):L;return typeof K=="string"&&(K=K.includes("?")||K.includes("#")?K=A(K):{path:K},K.params={}),J({query:y.query,hash:y.hash,params:K.path!=null?{}:y.params},K)}}function re(y,I){const C=h=M(y),L=l.value,K=y.state,u=y.force,f=y.replace===!0,p=ue(C,L);if(p)return re(J(A(p),{state:typeof p=="object"?J({},K,p.state):K,force:u,replace:f}),I||C);const _=C;_.redirectedFrom=I;let b;return!u&&zc(s,L,C)&&(b=kt(ie.NAVIGATION_DUPLICATED,{to:_,from:L}),Be(L,L,!0,!1)),(b?Promise.resolve(b):B(_,L)).catch(v=>Ze(v)?Ze(v,ie.NAVIGATION_GUARD_REDIRECT)?v:at(v):q(v,_,L)).then(v=>{if(v){if(Ze(v,ie.NAVIGATION_GUARD_REDIRECT))return re(J({replace:f},A(v.to),{state:typeof v.to=="object"?J({},K,v.to.state):K,force:u}),I||_)}else v=Fe(_,L,!0,f,K);return le(_,L,v),v})}function H(y,I){const C=T(y,I);return C?Promise.reject(C):Promise.resolve()}function U(y){const I=Ct.values().next().value;return I&&typeof I.runWithContext=="function"?I.runWithContext(y):y()}function B(y,I){let C;const[L,K,u]=fu(y,I);C=es(L.reverse(),"beforeRouteLeave",y,I);for(const p of L)p.leaveGuards.forEach(_=>{C.push(gt(_,y,I))});const f=H.bind(null,y,I);return C.push(f),Ce(C).then(()=>{C=[];for(const p of i.list())C.push(gt(p,y,I));return C.push(f),Ce(C)}).then(()=>{C=es(K,"beforeRouteUpdate",y,I);for(const p of K)p.updateGuards.forEach(_=>{C.push(gt(_,y,I))});return C.push(f),Ce(C)}).then(()=>{C=[];for(const p of u)if(p.beforeEnter)if(Le(p.beforeEnter))for(const _ of p.beforeEnter)C.push(gt(_,y,I));else C.push(gt(p.beforeEnter,y,I));return C.push(f),Ce(C)}).then(()=>(y.matched.forEach(p=>p.enterCallbacks={}),C=es(u,"beforeRouteEnter",y,I,U),C.push(f),Ce(C))).then(()=>{C=[];for(const p of o.list())C.push(gt(p,y,I));return C.push(f),Ce(C)}).catch(p=>Ze(p,ie.NAVIGATION_CANCELLED)?p:Promise.reject(p))}function le(y,I,C){c.list().forEach(L=>U(()=>L(y,I,C)))}function Fe(y,I,C,L,K){const u=T(y,I);if(u)return u;const f=I===ft,p=It?history.state:{};C&&(L||f?r.replace(y.fullPath,J({scroll:f&&p&&p.scroll},K)):r.push(y.fullPath,K)),l.value=y,Be(y,I,C,f),at()}let je;function Vt(){je||(je=r.listen((y,I,C)=>{if(!_t.listening)return;const L=M(y),K=ue(L,_t.currentRoute.value);if(K){re(J(K,{replace:!0,force:!0}),L).catch(tn);return}h=L;const u=l.value;It&&su(wr(u.fullPath,C.delta),kn()),B(L,u).catch(f=>Ze(f,ie.NAVIGATION_ABORTED|ie.NAVIGATION_CANCELLED)?f:Ze(f,ie.NAVIGATION_GUARD_REDIRECT)?(re(J(A(f.to),{force:!0}),L).then(p=>{Ze(p,ie.NAVIGATION_ABORTED|ie.NAVIGATION_DUPLICATED)&&!C.delta&&C.type===gs.pop&&r.go(-1,!1)}).catch(tn),Promise.reject()):(C.delta&&r.go(-C.delta,!1),q(f,L,u))).then(f=>{f=f||Fe(L,u,!1),f&&(C.delta&&!Ze(f,ie.NAVIGATION_CANCELLED)?r.go(-C.delta,!1):C.type===gs.pop&&Ze(f,ie.NAVIGATION_ABORTED|ie.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),le(L,u,f)}).catch(tn)}))}let wt=Wt(),fe=Wt(),Z;function q(y,I,C){at(y);const L=fe.list();return L.length?L.forEach(K=>K(y,I,C)):console.error(y),Promise.reject(y)}function Ye(){return Z&&l.value!==ft?Promise.resolve():new Promise((y,I)=>{wt.add([y,I])})}function at(y){return Z||(Z=!y,Vt(),wt.list().forEach(([I,C])=>y?C(y):I()),wt.reset()),y}function Be(y,I,C,L){const{scrollBehavior:K}=e;if(!It||!K)return Promise.resolve();const u=!C&&ru(wr(y.fullPath,0))||(L||!C)&&history.state&&history.state.scroll||null;return hi().then(()=>K(y,I,u)).then(f=>f&&nu(f)).catch(f=>q(f,y,I))}const Se=y=>r.go(y);let xt;const Ct=new Set,_t={currentRoute:l,listening:!0,addRoute:m,removeRoute:N,clearRoutes:t.clearRoutes,hasRoute:P,getRoutes:w,resolve:M,options:e,push:D,replace:$,go:Se,back:()=>Se(-1),forward:()=>Se(1),beforeEach:i.add,beforeResolve:o.add,afterEach:c.add,onError:fe.add,isReady:Ye,install(y){y.component("RouterLink",vs),y.component("RouterView",lo),y.config.globalProperties.$router=_t,Object.defineProperty(y.config.globalProperties,"$route",{enumerable:!0,get:()=>rt(l)}),It&&!xt&&l.value===ft&&(xt=!0,D(r.location).catch(L=>{}));const I={};for(const L in ft)Object.defineProperty(I,L,{get:()=>l.value[L],enumerable:!0});y.provide(ks,_t),y.provide(so,ui(I)),y.provide(_s,l);const C=y.unmount;Ct.add(y),y.unmount=function(){Ct.delete(y),Ct.size<1&&(h=ft,je&&je(),je=null,l.value=ft,xt=!1,Z=!1),C()}}};function Ce(y){return y.reduce((I,C)=>I.then(()=>U(C)),Promise.resolve())}return _t}const Fu={class:"app-header"},ju={class:"header-left"},Bu={class:"app-nav"},ku=["aria-label"],Vu=Mn({__name:"App",setup(e){const t=ht("light");function n(r){t.value=r,document.documentElement.dataset.theme=r,localStorage.setItem("waelio-theme",r)}function s(){n(t.value==="light"?"dark":"light")}return Ri(()=>{const r=localStorage.getItem("waelio-theme"),i=window.matchMedia("(prefers-color-scheme: dark)").matches;n(r??(i?"dark":"light"))}),(r,i)=>(Te(),Ge(we,null,[Y("header",Fu,[Y("div",ju,[i[2]||(i[2]=Y("h1",{class:"app-title"},"waelio/cli",-1)),Y("nav",Bu,[me(rt(vs),{to:"/"},{default:os(()=>[...i[0]||(i[0]=[fs("Scaffold",-1)])]),_:1}),me(rt(vs),{to:"/public"},{default:os(()=>[...i[1]||(i[1]=[fs("Public Sites",-1)])]),_:1})])]),Y("button",{type:"button",class:"theme-toggle","aria-label":t.value==="light"?"Switch to dark mode":"Switch to light mode",onClick:s},dt(t.value==="light"?"Dark":"Light"),9,ku)]),me(rt(lo))],64))}}),co=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Hu=co(Vu,[["__scopeId","data-v-190e145e"]]),Uu="modulepreload",Gu=function(e){return"/"+e},Br={},Ku=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),c=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));r=Promise.allSettled(n.map(l=>{if(l=Gu(l),l in Br)return;Br[l]=!0;const h=l.endsWith(".css"),a=h?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${a}`))return;const d=document.createElement("link");if(d.rel=h?"stylesheet":Uu,h||(d.as="script"),d.crossOrigin="",d.href=l,c&&d.setAttribute("nonce",c),document.head.appendChild(d),h)return new Promise((g,m)=>{d.addEventListener("load",g),d.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(o){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=o,window.dispatchEvent(c),!c.defaultPrevented)throw o}return r.then(o=>{for(const c of o||[])c.status==="rejected"&&i(c.reason);return t().catch(i)})},Wu={class:"app-main"},$u={class:"group","aria-labelledby":"group-project"},qu={class:"check",style:{"flex-direction":"column","align-items":"stretch"}},Ju=["aria-labelledby"],zu=["id"],Qu={class:"group-list"},Yu={class:"check"},Xu=["checked","disabled","onChange"],Zu={key:0,class:"required-tag"},ea={class:"app-footer"},ta={class:"actions"},na=["disabled"],sa=["disabled"],ra=["disabled"],ia=["disabled"],oa=["disabled"],la={key:0,class:"preview"},ca={key:1,class:"build-status"},ua={class:"build-state"},aa={key:0,class:"preview"},fa={key:1,class:"preview"},da=Mn({__name:"ScaffoldView",setup(e){const t=[{key:"pages",title:"Pages",required:["Contact","Privacy","Terms & Conditions","Login"],items:["Home","About","Services","Pricing","Contact","FAQ","Blog","Catalog","Product Detail","Cart","Checkout","Account","Dashboard","Booking","Practitioners","Docs","Login","Privacy","Terms & Conditions"]},{key:"features",title:"Features",required:["SEO","Authentication","Publishing","Brand Assets","CASL Permissions","Local Database","NativeScript Ready"],items:["SEO","Analytics","Authentication","Billing","Search","Booking","Notifications","Customer Portal","Lead Capture","Case Studies","Blog","Payments","Customer Accounts","Knowledge Base","Admin Dashboard","Content Management","Publishing","Brand Assets","CASL Permissions","Local Database","NativeScript Ready"]},{key:"integrations",title:"Integrations",items:["Stripe","CRM","Email & SMS","Analytics"]},{key:"locales",title:"Locales",items:["en","ar","de","es","fr","he","id","it","ru","sv","tr","zh"]},{key:"roles",title:"Roles",items:["Admin","Editor","Operations","Support","Sales","Reception","Dentist","Hygienist"]},{key:"brandTones",title:"Brand tone",items:["Trustworthy","Bold","Premium","Friendly"]},{key:"visualStyles",title:"Visual style",items:["Premium Editorial","Friendly Clinical"]},{key:"contentModels",title:"Content model",items:["Service pages + blog","Catalog + editorial"]},{key:"seoFocuses",title:"SEO focus",items:["Local + service intent","Transactional intent"]}],n=an(Object.fromEntries(t.map(H=>[H.key,new Set(H.required??[])])));function s(H,U){const B=n[H];B&&(B.has(U)?B.delete(U):B.add(U))}function r(H,U){var B;return((B=H.required)==null?void 0:B.includes(U))??!1}function i(H,U){var B;return((B=n[H])==null?void 0:B.has(U))??!1}const o=ht(""),c=ht(!1),l=ht("");function h(H){return H.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")||"site"}const a={pages:"selectedPages",features:"selectedFeatures",integrations:"selectedIntegrations",locales:"selectedLocales",roles:"selectedRoles",brandTones:"selectedBrandTones",visualStyles:"selectedVisualStyles",contentModels:"selectedContentModels",seoFocuses:"selectedSEOFocuses"};function d(){const H={};for(const le of t){const Fe=a[le.key]??le.key;H[Fe]=Array.from(n[le.key]??[])}const U=l.value.trim(),B={$schema:"https://waelio.dev/schemas/blueprint/v1.json",generator:{name:"waelio-cli",version:"0.1.2",url:"https://github.com/waelio/cli"},id:crypto.randomUUID(),createdAt:new Date().toISOString(),projectName:U||"Siteforge Project",slug:h(U||"Siteforge Project"),selections:H};o.value=JSON.stringify(B,null,2),c.value=!1}function g(){o.value||d(),c.value=!0}function m(){o.value||d();const H=new Blob([o.value],{type:"application/json"}),U=URL.createObjectURL(H),B=document.createElement("a");B.href=U,B.download="blueprint.json",B.click(),URL.revokeObjectURL(U)}const N="https://siteforge.wahbehw.workers.dev",w="/api/scaffold",P=ht("idle"),M=ht([]),A=ht("");function T(H){M.value.push(`[${new Date().toLocaleTimeString()}] ${H}`)}async function D(){if(!l.value.trim()){T("error: project name is required"),P.value="error";return}d(),M.value=[],A.value="",P.value="sending",T(`POST ${w}`);try{const H=await fetch(w,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({blueprint:JSON.parse(o.value)})});if(!H.ok){const B=await H.text();T(`error: ${H.status} ${B}`),P.value="error";return}const U=await H.json();A.value=JSON.stringify(U,null,2),P.value="done",T(`scaffolded "${U.slug}" at ${U.outDir}`)}catch(H){T(`network error: ${H.message}`),P.value="error"}}async function $(){if(!l.value.trim()){T("error: project name is required"),P.value="error";return}d(),M.value=[],A.value="",P.value="sending";const H=`${N}/public-sites/`;T(`POST webhook to ${H}`);try{const U=await fetch(H,{method:"POST",headers:{"Content-Type":"application/json"},body:o.value});if(!U.ok){const le=await U.text();T(`webhook error: ${U.status} ${le}`),P.value="error";return}const B=await U.json();A.value=JSON.stringify(B,null,2),P.value="done",T(`Success! Live at: ${N}${B.url}`)}catch(U){T(`webhook network error: ${U.message}`),P.value="error"}}async function ue(){if(!A.value)return;const H=new Blob([A.value],{type:"application/json"}),U=URL.createObjectURL(H),B=document.createElement("a");B.href=U,B.download="siteforge-package.json",B.click(),URL.revokeObjectURL(U),await $()}function re(){for(const H of t)n[H.key]=new Set(H.required??[]);l.value="",o.value="",c.value=!1,M.value=[],A.value="",P.value="idle"}return(H,U)=>(Te(),Ge(we,null,[Y("main",Wu,[Y("section",$u,[U[2]||(U[2]=Y("h2",{id:"group-project",class:"group-title"},"Project",-1)),Y("label",qu,[U[1]||(U[1]=Y("span",null,"Name",-1)),Xo(Y("input",{"onUpdate:modelValue":U[0]||(U[0]=B=>l.value=B),type:"text",placeholder:"Acme Dental",autocomplete:"off",style:{"margin-top":"0.4rem",padding:"0.4rem 0.6rem",border:"1px solid var(--fg)","border-radius":"0.375rem",background:"transparent",color:"var(--fg)",font:"inherit"}},null,512),[[xc,l.value]])])]),(Te(),Ge(we,null,Qs(t,B=>Y("section",{key:B.key,class:"group","aria-labelledby":`group-${B.key}`},[Y("h2",{id:`group-${B.key}`,class:"group-title"},dt(B.title),9,zu),Y("ul",Qu,[(Te(!0),Ge(we,null,Qs(B.items,le=>(Te(),Ge("li",{key:le},[Y("label",Yu,[Y("input",{type:"checkbox",checked:i(B.key,le),disabled:r(B,le),onChange:Fe=>s(B.key,le)},null,40,Xu),Y("span",null,dt(le),1),r(B,le)?(Te(),Ge("span",Zu," required ")):Kt("",!0)])]))),128))])],8,Ju)),64))]),Y("footer",ea,[Y("div",ta,[Y("button",{type:"button",class:"btn",onClick:d}," Generate "),Y("button",{type:"button",class:"btn",onClick:re},"Reset"),Y("button",{type:"button",class:"btn",disabled:!o.value,onClick:g}," View ",8,na),Y("button",{type:"button",class:"btn",disabled:!o.value,onClick:m}," Download ",8,sa),Y("button",{type:"button",class:"btn",disabled:!l.value.trim()||P.value==="connecting"||P.value==="sending"||P.value==="running",onClick:D}," Build ",8,ra),Y("button",{type:"button",class:"btn",disabled:!l.value.trim()||P.value==="connecting"||P.value==="sending"||P.value==="running",onClick:$,style:{background:"var(--fg)",color:"#111"}}," Deploy to Siteforge Webhook ",8,ia),Y("button",{type:"button",class:"btn",disabled:!A.value,onClick:ue}," Download package ",8,oa)]),c.value&&o.value?(Te(),Ge("pre",la,dt(o.value),1)):Kt("",!0),P.value!=="idle"?(Te(),Ge("section",ca,[Y("p",ua,"Build: "+dt(P.value),1),M.value.length?(Te(),Ge("pre",aa,dt(M.value.join(`
|
|
27
|
+
`)),1)):Kt("",!0),A.value?(Te(),Ge("pre",fa,dt(A.value),1)):Kt("",!0)])):Kt("",!0)])],64))}}),ha=co(da,[["__scopeId","data-v-5e6ed138"]]),pa=Lu({history:gu(),routes:[{path:"/",name:"scaffold",component:ha},{path:"/public",name:"public",component:()=>Ku(()=>import("./PublicSitesView-DuDEMQT0.js"),__vite__mapDeps([0,1]))}]});Pc(Hu).use(pa).mount("#app");export{we as F,co as _,Y as a,ht as b,Ge as c,Mn as d,Te as e,Ri as o,Qs as r,dt as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.app-header[data-v-190e145e]{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:1px solid var(--fg);color:var(--fg)}.header-left[data-v-190e145e]{display:flex;align-items:center;gap:1.5rem}.app-title[data-v-190e145e]{margin:0;font-size:1.5rem;font-weight:600;letter-spacing:.02em;color:var(--fg)}.app-nav[data-v-190e145e]{display:flex;gap:1rem}.app-nav a[data-v-190e145e]{color:var(--fg);text-decoration:none;font-weight:500;opacity:.7}.app-nav a.router-link-exact-active[data-v-190e145e]{opacity:1;text-decoration:underline}.app-nav a[data-v-190e145e]:hover{opacity:1}.theme-toggle[data-v-190e145e]{padding:.4rem .9rem;font:inherit;color:var(--fg);background:transparent;border:1px solid var(--fg);border-radius:.375rem;cursor:pointer}.theme-toggle[data-v-190e145e]:hover{opacity:.75}.app-main[data-v-5e6ed138]{padding:1.5rem;color:var(--fg);display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.25rem}.group[data-v-5e6ed138]{border:1px solid var(--fg);border-radius:.5rem;padding:1rem 1.25rem}.group-title[data-v-5e6ed138]{margin:0 0 .75rem;font-size:1rem;font-weight:600}.group-list[data-v-5e6ed138]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.4rem}.check[data-v-5e6ed138]{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.95rem}.check input[data-v-5e6ed138]{accent-color:var(--fg)}.required-tag[data-v-5e6ed138]{margin-left:auto;font-size:.75rem;opacity:.65}.app-footer[data-v-5e6ed138]{padding:1.5rem;border-top:1px solid var(--fg);color:var(--fg)}.actions[data-v-5e6ed138]{display:flex;gap:.75rem;flex-wrap:wrap}.btn[data-v-5e6ed138]{padding:.5rem 1rem;font:inherit;color:var(--fg);background:transparent;border:1px solid var(--fg);border-radius:.375rem;cursor:pointer}.btn[data-v-5e6ed138]:disabled{opacity:.4;cursor:not-allowed}.btn[data-v-5e6ed138]:hover:not(:disabled){opacity:.75}.preview[data-v-5e6ed138]{margin-top:1rem;padding:1rem;border:1px solid var(--fg);border-radius:.375rem;max-height:24rem;overflow:auto;font-size:.85rem;white-space:pre-wrap;word-break:break-word}.build-status[data-v-5e6ed138]{margin-top:1.25rem}.build-state[data-v-5e6ed138]{margin:0 0 .5rem;font-size:.9rem;text-transform:uppercase;letter-spacing:.05em}:root{color-scheme:light;--bg: #ffffff;--fg: #000000}:root[data-theme=dark]{color-scheme:dark;--bg: #000000;--fg: #ffffff}*{box-sizing:border-box}html,body,#app{margin:0;min-height:100%;background:var(--bg);color:var(--fg)}body{min-height:100vh;font-family:system-ui,-apple-system,sans-serif}
|
package/ui/dist/index.html
CHANGED
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
sans-serif;
|
|
36
36
|
}
|
|
37
37
|
</style>
|
|
38
|
-
<script type="module" crossorigin src="/assets/index-
|
|
39
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
38
|
+
<script type="module" crossorigin src="/assets/index-BASEVOdG.js"></script>
|
|
39
|
+
<link rel="stylesheet" crossorigin href="/assets/index-MlBRo6xM.css">
|
|
40
40
|
</head>
|
|
41
41
|
<body>
|
|
42
42
|
<div id="app"></div>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.app-header[data-v-6d55a98d]{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:1px solid var(--fg);color:var(--fg)}.app-title[data-v-6d55a98d]{margin:0;font-size:1.5rem;font-weight:600;letter-spacing:.02em;color:var(--fg)}.theme-toggle[data-v-6d55a98d]{padding:.4rem .9rem;font:inherit;color:var(--fg);background:transparent;border:1px solid var(--fg);border-radius:.375rem;cursor:pointer}.theme-toggle[data-v-6d55a98d]:hover{opacity:.75}.app-main[data-v-6d55a98d]{padding:1.5rem;color:var(--fg);display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.25rem}.group[data-v-6d55a98d]{border:1px solid var(--fg);border-radius:.5rem;padding:1rem 1.25rem}.group-title[data-v-6d55a98d]{margin:0 0 .75rem;font-size:1rem;font-weight:600}.group-list[data-v-6d55a98d]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.4rem}.check[data-v-6d55a98d]{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.95rem}.check input[data-v-6d55a98d]{accent-color:var(--fg)}.required-tag[data-v-6d55a98d]{margin-left:auto;font-size:.75rem;opacity:.65}.app-footer[data-v-6d55a98d]{padding:1.5rem;border-top:1px solid var(--fg);color:var(--fg)}.actions[data-v-6d55a98d]{display:flex;gap:.75rem;flex-wrap:wrap}.btn[data-v-6d55a98d]{padding:.5rem 1rem;font:inherit;color:var(--fg);background:transparent;border:1px solid var(--fg);border-radius:.375rem;cursor:pointer}.btn[data-v-6d55a98d]:disabled{opacity:.4;cursor:not-allowed}.btn[data-v-6d55a98d]:hover:not(:disabled){opacity:.75}.preview[data-v-6d55a98d]{margin-top:1rem;padding:1rem;border:1px solid var(--fg);border-radius:.375rem;max-height:24rem;overflow:auto;font-size:.85rem;white-space:pre-wrap;word-break:break-word}.build-status[data-v-6d55a98d]{margin-top:1.25rem}.build-state[data-v-6d55a98d]{margin:0 0 .5rem;font-size:.9rem;text-transform:uppercase;letter-spacing:.05em}:root{color-scheme:light;--bg: #ffffff;--fg: #000000}:root[data-theme=dark]{color-scheme:dark;--bg: #000000;--fg: #ffffff}*{box-sizing:border-box}html,body,#app{margin:0;min-height:100%;background:var(--bg);color:var(--fg)}body{min-height:100vh;font-family:system-ui,-apple-system,sans-serif}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function n(i){if(i.ep)return;i.ep=!0;const r=s(i);fetch(i.href,r)}})();/**
|
|
2
|
-
* @vue/shared v3.5.34
|
|
3
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
-
* @license MIT
|
|
5
|
-
**/function Fs(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const k={},ct=[],Ie=()=>{},Hn=()=>!1,Xt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Qt=e=>e.startsWith("onUpdate:"),se=Object.assign,Ds=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Ji=Object.prototype.hasOwnProperty,B=(e,t)=>Ji.call(e,t),R=Array.isArray,ft=e=>Dt(e)==="[object Map]",Bn=e=>Dt(e)==="[object Set]",rn=e=>Dt(e)==="[object Date]",I=e=>typeof e=="function",Q=e=>typeof e=="string",Fe=e=>typeof e=="symbol",U=e=>e!==null&&typeof e=="object",Un=e=>(U(e)||I(e))&&I(e.then)&&I(e.catch),Vn=Object.prototype.toString,Dt=e=>Vn.call(e),Gi=e=>Dt(e).slice(8,-1),Kn=e=>Dt(e)==="[object Object]",js=e=>Q(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,St=Fs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Zt=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},Yi=/-\w/g,_e=Zt(e=>e.replace(Yi,t=>t.slice(1).toUpperCase())),zi=/\B([A-Z])/g,it=Zt(e=>e.replace(zi,"-$1").toLowerCase()),kn=Zt(e=>e.charAt(0).toUpperCase()+e.slice(1)),us=Zt(e=>e?`on${kn(e)}`:""),Me=(e,t)=>!Object.is(e,t),Vt=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},Wn=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},Ls=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let on;const es=()=>on||(on=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ns(e){if(R(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],i=Q(n)?er(n):Ns(n);if(i)for(const r in i)t[r]=i[r]}return t}else if(Q(e)||U(e))return e}const Xi=/;(?![^(]*\))/g,Qi=/:([^]+)/,Zi=/\/\*[^]*?\*\//g;function er(e){const t={};return e.replace(Zi,"").split(Xi).forEach(s=>{if(s){const n=s.split(Qi);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function $s(e){let t="";if(Q(e))t=e;else if(R(e))for(let s=0;s<e.length;s++){const n=$s(e[s]);n&&(t+=n+" ")}else if(U(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const tr="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",sr=Fs(tr);function qn(e){return!!e||e===""}function nr(e,t){if(e.length!==t.length)return!1;let s=!0;for(let n=0;s&&n<e.length;n++)s=Hs(e[n],t[n]);return s}function Hs(e,t){if(e===t)return!0;let s=rn(e),n=rn(t);if(s||n)return s&&n?e.getTime()===t.getTime():!1;if(s=Fe(e),n=Fe(t),s||n)return e===t;if(s=R(e),n=R(t),s||n)return s&&n?nr(e,t):!1;if(s=U(e),n=U(t),s||n){if(!s||!n)return!1;const i=Object.keys(e).length,r=Object.keys(t).length;if(i!==r)return!1;for(const o in e){const l=e.hasOwnProperty(o),f=t.hasOwnProperty(o);if(l&&!f||!l&&f||!Hs(e[o],t[o]))return!1}}return String(e)===String(t)}const Jn=e=>!!(e&&e.__v_isRef===!0),qe=e=>Q(e)?e:e==null?"":R(e)||U(e)&&(e.toString===Vn||!I(e.toString))?Jn(e)?qe(e.value):JSON.stringify(e,Gn,2):String(e),Gn=(e,t)=>Jn(t)?Gn(e,t.value):ft(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,i],r)=>(s[as(n,r)+" =>"]=i,s),{})}:Bn(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>as(s))}:Fe(t)?as(t):U(t)&&!R(t)&&!Kn(t)?String(t):t,as=(e,t="")=>{var s;return Fe(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/**
|
|
6
|
-
* @vue/reactivity v3.5.34
|
|
7
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
-
* @license MIT
|
|
9
|
-
**/let te;class ir{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&te&&(te.active?(this.parent=te,this.index=(te.scopes||(te.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].pause();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].resume();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].resume()}}run(t){if(this._active){const s=te;try{return te=this,t()}finally{te=s}}}on(){++this._on===1&&(this.prevScope=te,te=this)}off(){if(this._on>0&&--this._on===0){if(te===this)te=this.prevScope;else{let t=te;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function rr(){return te}let G;const ds=new WeakSet;class Yn{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,te&&(te.active?te.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ds.has(this)&&(ds.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Xn(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ln(this),Qn(this);const t=G,s=be;G=this,be=!0;try{return this.fn()}finally{Zn(this),G=t,be=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Vs(t);this.deps=this.depsTail=void 0,ln(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ds.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ss(this)&&this.run()}get dirty(){return Ss(this)}}let zn=0,wt,Ct;function Xn(e,t=!1){if(e.flags|=8,t){e.next=Ct,Ct=e;return}e.next=wt,wt=e}function Bs(){zn++}function Us(){if(--zn>0)return;if(Ct){let t=Ct;for(Ct=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;wt;){let t=wt;for(wt=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function Qn(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Zn(e){let t,s=e.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),Vs(n),or(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}e.deps=t,e.depsTail=s}function Ss(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ei(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ei(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Pt)||(e.globalVersion=Pt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ss(e))))return;e.flags|=2;const t=e.dep,s=G,n=be;G=e,be=!0;try{Qn(e);const i=e.fn(e._value);(t.version===0||Me(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{G=s,be=n,Zn(e),e.flags&=-3}}function Vs(e,t=!1){const{dep:s,prevSub:n,nextSub:i}=e;if(n&&(n.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let r=s.computed.deps;r;r=r.nextDep)Vs(r,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function or(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let be=!0;const ti=[];function Ve(){ti.push(be),be=!1}function Ke(){const e=ti.pop();be=e===void 0?!0:e}function ln(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=G;G=void 0;try{t()}finally{G=s}}}let Pt=0;class lr{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ks{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!G||!be||G===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==G)s=this.activeLink=new lr(G,this),G.deps?(s.prevDep=G.depsTail,G.depsTail.nextDep=s,G.depsTail=s):G.deps=G.depsTail=s,si(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=G.depsTail,s.nextDep=void 0,G.depsTail.nextDep=s,G.depsTail=s,G.deps===s&&(G.deps=n)}return s}trigger(t){this.version++,Pt++,this.notify(t)}notify(t){Bs();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Us()}}}function si(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)si(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const ws=new WeakMap,st=Symbol(""),Cs=Symbol(""),Rt=Symbol("");function ne(e,t,s){if(be&&G){let n=ws.get(e);n||ws.set(e,n=new Map);let i=n.get(s);i||(n.set(s,i=new Ks),i.map=n,i.key=s),i.track()}}function He(e,t,s,n,i,r){const o=ws.get(e);if(!o){Pt++;return}const l=f=>{f&&f.trigger()};if(Bs(),t==="clear")o.forEach(l);else{const f=R(e),d=f&&js(s);if(f&&s==="length"){const a=Number(n);o.forEach((p,w)=>{(w==="length"||w===Rt||!Fe(w)&&w>=a)&&l(p)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),d&&l(o.get(Rt)),t){case"add":f?d&&l(o.get("length")):(l(o.get(st)),ft(e)&&l(o.get(Cs)));break;case"delete":f||(l(o.get(st)),ft(e)&&l(o.get(Cs)));break;case"set":ft(e)&&l(o.get(st));break}}Us()}function rt(e){const t=H(e);return t===e?t:(ne(t,"iterate",Rt),me(e)?t:t.map(ye))}function ts(e){return ne(e=H(e),"iterate",Rt),e}function Pe(e,t){return ke(e)?dt(nt(e)?ye(t):t):ye(t)}const cr={__proto__:null,[Symbol.iterator](){return hs(this,Symbol.iterator,e=>Pe(this,e))},concat(...e){return rt(this).concat(...e.map(t=>R(t)?rt(t):t))},entries(){return hs(this,"entries",e=>(e[1]=Pe(this,e[1]),e))},every(e,t){return je(this,"every",e,t,void 0,arguments)},filter(e,t){return je(this,"filter",e,t,s=>s.map(n=>Pe(this,n)),arguments)},find(e,t){return je(this,"find",e,t,s=>Pe(this,s),arguments)},findIndex(e,t){return je(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return je(this,"findLast",e,t,s=>Pe(this,s),arguments)},findLastIndex(e,t){return je(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return je(this,"forEach",e,t,void 0,arguments)},includes(...e){return ps(this,"includes",e)},indexOf(...e){return ps(this,"indexOf",e)},join(e){return rt(this).join(e)},lastIndexOf(...e){return ps(this,"lastIndexOf",e)},map(e,t){return je(this,"map",e,t,void 0,arguments)},pop(){return _t(this,"pop")},push(...e){return _t(this,"push",e)},reduce(e,...t){return cn(this,"reduce",e,t)},reduceRight(e,...t){return cn(this,"reduceRight",e,t)},shift(){return _t(this,"shift")},some(e,t){return je(this,"some",e,t,void 0,arguments)},splice(...e){return _t(this,"splice",e)},toReversed(){return rt(this).toReversed()},toSorted(e){return rt(this).toSorted(e)},toSpliced(...e){return rt(this).toSpliced(...e)},unshift(...e){return _t(this,"unshift",e)},values(){return hs(this,"values",e=>Pe(this,e))}};function hs(e,t,s){const n=ts(e),i=n[t]();return n!==e&&!me(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.done||(r.value=s(r.value)),r}),i}const fr=Array.prototype;function je(e,t,s,n,i,r){const o=ts(e),l=o!==e&&!me(e),f=o[t];if(f!==fr[t]){const p=f.apply(e,r);return l?ye(p):p}let d=s;o!==e&&(l?d=function(p,w){return s.call(this,Pe(e,p),w,e)}:s.length>2&&(d=function(p,w){return s.call(this,p,w,e)}));const a=f.call(o,d,n);return l&&i?i(a):a}function cn(e,t,s,n){const i=ts(e),r=i!==e&&!me(e);let o=s,l=!1;i!==e&&(r?(l=n.length===0,o=function(d,a,p){return l&&(l=!1,d=Pe(e,d)),s.call(this,d,Pe(e,a),p,e)}):s.length>3&&(o=function(d,a,p){return s.call(this,d,a,p,e)}));const f=i[t](o,...n);return l?Pe(e,f):f}function ps(e,t,s){const n=H(e);ne(n,"iterate",Rt);const i=n[t](...s);return(i===-1||i===!1)&&qs(s[0])?(s[0]=H(s[0]),n[t](...s)):i}function _t(e,t,s=[]){Ve(),Bs();const n=H(e)[t].apply(e,s);return Us(),Ke(),n}const ur=Fs("__proto__,__v_isRef,__isVue"),ni=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Fe));function ar(e){Fe(e)||(e=String(e));const t=H(this);return ne(t,"has",e),t.hasOwnProperty(e)}class ii{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return r;if(s==="__v_raw")return n===(i?r?xr:ci:r?li:oi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=R(t);if(!i){let f;if(o&&(f=cr[s]))return f;if(s==="hasOwnProperty")return ar}const l=Reflect.get(t,s,ie(t)?t:n);if((Fe(s)?ni.has(s):ur(s))||(i||ne(t,"get",s),r))return l;if(ie(l)){const f=o&&js(s)?l:l.value;return i&&U(f)?Os(f):f}return U(l)?i?Os(l):ss(l):l}}class ri extends ii{constructor(t=!1){super(!1,t)}set(t,s,n,i){let r=t[s];const o=R(t)&&js(s);if(!this._isShallow){const d=ke(r);if(!me(n)&&!ke(n)&&(r=H(r),n=H(n)),!o&&ie(r)&&!ie(n))return d||(r.value=n),!0}const l=o?Number(s)<t.length:B(t,s),f=Reflect.set(t,s,n,ie(t)?t:i);return t===H(i)&&(l?Me(n,r)&&He(t,"set",s,n):He(t,"add",s,n)),f}deleteProperty(t,s){const n=B(t,s);t[s];const i=Reflect.deleteProperty(t,s);return i&&n&&He(t,"delete",s,void 0),i}has(t,s){const n=Reflect.has(t,s);return(!Fe(s)||!ni.has(s))&&ne(t,"has",s),n}ownKeys(t){return ne(t,"iterate",R(t)?"length":st),Reflect.ownKeys(t)}}class dr extends ii{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const hr=new ri,pr=new dr,gr=new ri(!0);const Ts=e=>e,Ht=e=>Reflect.getPrototypeOf(e);function mr(e,t,s){return function(...n){const i=this.__v_raw,r=H(i),o=ft(r),l=e==="entries"||e===Symbol.iterator&&o,f=e==="keys"&&o,d=i[e](...n),a=s?Ts:t?dt:ye;return!t&&ne(r,"iterate",f?Cs:st),se(Object.create(d),{next(){const{value:p,done:w}=d.next();return w?{value:p,done:w}:{value:l?[a(p[0]),a(p[1])]:a(p),done:w}}})}}function Bt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function _r(e,t){const s={get(i){const r=this.__v_raw,o=H(r),l=H(i);e||(Me(i,l)&&ne(o,"get",i),ne(o,"get",l));const{has:f}=Ht(o),d=t?Ts:e?dt:ye;if(f.call(o,i))return d(r.get(i));if(f.call(o,l))return d(r.get(l));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!e&&ne(H(i),"iterate",st),i.size},has(i){const r=this.__v_raw,o=H(r),l=H(i);return e||(Me(i,l)&&ne(o,"has",i),ne(o,"has",l)),i===l?r.has(i):r.has(i)||r.has(l)},forEach(i,r){const o=this,l=o.__v_raw,f=H(l),d=t?Ts:e?dt:ye;return!e&&ne(f,"iterate",st),l.forEach((a,p)=>i.call(r,d(a),d(p),o))}};return se(s,e?{add:Bt("add"),set:Bt("set"),delete:Bt("delete"),clear:Bt("clear")}:{add(i){const r=H(this),o=Ht(r),l=H(i),f=!t&&!me(i)&&!ke(i)?l:i;return o.has.call(r,f)||Me(i,f)&&o.has.call(r,i)||Me(l,f)&&o.has.call(r,l)||(r.add(f),He(r,"add",f,f)),this},set(i,r){!t&&!me(r)&&!ke(r)&&(r=H(r));const o=H(this),{has:l,get:f}=Ht(o);let d=l.call(o,i);d||(i=H(i),d=l.call(o,i));const a=f.call(o,i);return o.set(i,r),d?Me(r,a)&&He(o,"set",i,r):He(o,"add",i,r),this},delete(i){const r=H(this),{has:o,get:l}=Ht(r);let f=o.call(r,i);f||(i=H(i),f=o.call(r,i)),l&&l.call(r,i);const d=r.delete(i);return f&&He(r,"delete",i,void 0),d},clear(){const i=H(this),r=i.size!==0,o=i.clear();return r&&He(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=mr(i,e,t)}),s}function ks(e,t){const s=_r(e,t);return(n,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(B(s,i)&&i in n?s:n,i,r)}const br={get:ks(!1,!1)},yr={get:ks(!1,!0)},vr={get:ks(!0,!1)};const oi=new WeakMap,li=new WeakMap,ci=new WeakMap,xr=new WeakMap;function Sr(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function wr(e){return e.__v_skip||!Object.isExtensible(e)?0:Sr(Gi(e))}function ss(e){return ke(e)?e:Ws(e,!1,hr,br,oi)}function Cr(e){return Ws(e,!1,gr,yr,li)}function Os(e){return Ws(e,!0,pr,vr,ci)}function Ws(e,t,s,n,i){if(!U(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=wr(e);if(r===0)return e;const o=i.get(e);if(o)return o;const l=new Proxy(e,r===2?n:s);return i.set(e,l),l}function nt(e){return ke(e)?nt(e.__v_raw):!!(e&&e.__v_isReactive)}function ke(e){return!!(e&&e.__v_isReadonly)}function me(e){return!!(e&&e.__v_isShallow)}function qs(e){return e?!!e.__v_raw:!1}function H(e){const t=e&&e.__v_raw;return t?H(t):e}function Tr(e){return!B(e,"__v_skip")&&Object.isExtensible(e)&&Wn(e,"__v_skip",!0),e}const ye=e=>U(e)?ss(e):e,dt=e=>U(e)?Os(e):e;function ie(e){return e?e.__v_isRef===!0:!1}function Qe(e){return Or(e,!1)}function Or(e,t){return ie(e)?e:new Er(e,t)}class Er{constructor(t,s){this.dep=new Ks,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:H(t),this._value=s?t:ye(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||me(t)||ke(t);t=n?t:H(t),Me(t,s)&&(this._rawValue=t,this._value=n?t:ye(t),this.dep.trigger())}}function Ar(e){return ie(e)?e.value:e}const Pr={get:(e,t,s)=>t==="__v_raw"?e:Ar(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const i=e[t];return ie(i)&&!ie(s)?(i.value=s,!0):Reflect.set(e,t,s,n)}};function fi(e){return nt(e)?e:new Proxy(e,Pr)}class Rr{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Ks(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Pt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&G!==this)return Xn(this,!0),!0}get value(){const t=this.dep.track();return ei(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Mr(e,t,s=!1){let n,i;return I(e)?n=e:(n=e.get,i=e.set),new Rr(n,i,s)}const Ut={},Wt=new WeakMap;let tt;function Ir(e,t=!1,s=tt){if(s){let n=Wt.get(s);n||Wt.set(s,n=[]),n.push(e)}}function Fr(e,t,s=k){const{immediate:n,deep:i,once:r,scheduler:o,augmentJob:l,call:f}=s,d=T=>i?T:me(T)||i===!1||i===0?Be(T,1):Be(T);let a,p,w,C,L=!1,P=!1;if(ie(e)?(p=()=>e.value,L=me(e)):nt(e)?(p=()=>d(e),L=!0):R(e)?(P=!0,L=e.some(T=>nt(T)||me(T)),p=()=>e.map(T=>{if(ie(T))return T.value;if(nt(T))return d(T);if(I(T))return f?f(T,2):T()})):I(e)?t?p=f?()=>f(e,2):e:p=()=>{if(w){Ve();try{w()}finally{Ke()}}const T=tt;tt=a;try{return f?f(e,3,[C]):e(C)}finally{tt=T}}:p=Ie,t&&i){const T=p,Y=i===!0?1/0:i;p=()=>Be(T(),Y)}const X=rr(),V=()=>{a.stop(),X&&X.active&&Ds(X.effects,a)};if(r&&t){const T=t;t=(...Y)=>{T(...Y),V()}}let M=P?new Array(e.length).fill(Ut):Ut;const $=T=>{if(!(!(a.flags&1)||!a.dirty&&!T))if(t){const Y=a.run();if(i||L||(P?Y.some((ve,he)=>Me(ve,M[he])):Me(Y,M))){w&&w();const ve=tt;tt=a;try{const he=[Y,M===Ut?void 0:P&&M[0]===Ut?[]:M,C];M=Y,f?f(t,3,he):t(...he)}finally{tt=ve}}}else a.run()};return l&&l($),a=new Yn(p),a.scheduler=o?()=>o($,!1):$,C=T=>Ir(T,!1,a),w=a.onStop=()=>{const T=Wt.get(a);if(T){if(f)f(T,4);else for(const Y of T)Y();Wt.delete(a)}},t?n?$(!0):M=a.run():o?o($.bind(null,!0),!0):a.run(),V.pause=a.pause.bind(a),V.resume=a.resume.bind(a),V.stop=V,V}function Be(e,t=1/0,s){if(t<=0||!U(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,ie(e))Be(e.value,t,s);else if(R(e))for(let n=0;n<e.length;n++)Be(e[n],t,s);else if(Bn(e)||ft(e))e.forEach(n=>{Be(n,t,s)});else if(Kn(e)){for(const n in e)Be(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Be(e[n],t,s)}return e}/**
|
|
10
|
-
* @vue/runtime-core v3.5.34
|
|
11
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
-
* @license MIT
|
|
13
|
-
**/function jt(e,t,s,n){try{return n?e(...n):e()}catch(i){ns(i,t,s)}}function De(e,t,s,n){if(I(e)){const i=jt(e,t,s,n);return i&&Un(i)&&i.catch(r=>{ns(r,t,s)}),i}if(R(e)){const i=[];for(let r=0;r<e.length;r++)i.push(De(e[r],t,s,n));return i}}function ns(e,t,s,n=!0){const i=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||k;if(t){let l=t.parent;const f=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const a=l.ec;if(a){for(let p=0;p<a.length;p++)if(a[p](e,f,d)===!1)return}l=l.parent}if(r){Ve(),jt(r,null,10,[e,f,d]),Ke();return}}Dr(e,s,i,n,o)}function Dr(e,t,s,n=!0,i=!1){if(i)throw e;console.error(e)}const ce=[];let Ae=-1;const ut=[];let Je=null,ot=0;const ui=Promise.resolve();let qt=null;function jr(e){const t=qt||ui;return e?t.then(this?e.bind(this):e):t}function Lr(e){let t=Ae+1,s=ce.length;for(;t<s;){const n=t+s>>>1,i=ce[n],r=Mt(i);r<e||r===e&&i.flags&2?t=n+1:s=n}return t}function Js(e){if(!(e.flags&1)){const t=Mt(e),s=ce[ce.length-1];!s||!(e.flags&2)&&t>=Mt(s)?ce.push(e):ce.splice(Lr(t),0,e),e.flags|=1,ai()}}function ai(){qt||(qt=ui.then(hi))}function Nr(e){R(e)?ut.push(...e):Je&&e.id===-1?Je.splice(ot+1,0,e):e.flags&1||(ut.push(e),e.flags|=1),ai()}function fn(e,t,s=Ae+1){for(;s<ce.length;s++){const n=ce[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;ce.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function di(e){if(ut.length){const t=[...new Set(ut)].sort((s,n)=>Mt(s)-Mt(n));if(ut.length=0,Je){Je.push(...t);return}for(Je=t,ot=0;ot<Je.length;ot++){const s=Je[ot];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}Je=null,ot=0}}const Mt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function hi(e){try{for(Ae=0;Ae<ce.length;Ae++){const t=ce[Ae];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),jt(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ae<ce.length;Ae++){const t=ce[Ae];t&&(t.flags&=-2)}Ae=-1,ce.length=0,di(),qt=null,(ce.length||ut.length)&&hi()}}let ge=null,pi=null;function Jt(e){const t=ge;return ge=e,pi=e&&e.type.__scopeId||null,t}function $r(e,t=ge,s){if(!t||e._n)return e;const n=(...i)=>{n._d&&xn(-1);const r=Jt(t);let o;try{o=e(...i)}finally{Jt(r),n._d&&xn(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function Hr(e,t){if(ge===null)return e;const s=ls(ge),n=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[r,o,l,f=k]=t[i];r&&(I(r)&&(r={mounted:r,updated:r}),r.deep&&Be(o),n.push({dir:r,instance:s,value:o,oldValue:void 0,arg:l,modifiers:f}))}return e}function Ze(e,t,s,n){const i=e.dirs,r=t&&t.dirs;for(let o=0;o<i.length;o++){const l=i[o];r&&(l.oldValue=r[o].value);let f=l.dir[n];f&&(Ve(),De(f,s,8,[e.el,l,e,t]),Ke())}}function Br(e,t){if(fe){let s=fe.provides;const n=fe.parent&&fe.parent.provides;n===s&&(s=fe.provides=Object.create(n)),s[e]=t}}function Kt(e,t,s=!1){const n=Vo();if(n||at){let i=at?at._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return s&&I(t)?t.call(n&&n.proxy):t}}const Ur=Symbol.for("v-scx"),Vr=()=>Kt(Ur);function gs(e,t,s){return gi(e,t,s)}function gi(e,t,s=k){const{immediate:n,deep:i,flush:r,once:o}=s,l=se({},s),f=t&&n||!t&&r!=="post";let d;if(Ft){if(r==="sync"){const C=Vr();d=C.__watcherHandles||(C.__watcherHandles=[])}else if(!f){const C=()=>{};return C.stop=Ie,C.resume=Ie,C.pause=Ie,C}}const a=fe;l.call=(C,L,P)=>De(C,a,L,P);let p=!1;r==="post"?l.scheduler=C=>{ue(C,a&&a.suspense)}:r!=="sync"&&(p=!0,l.scheduler=(C,L)=>{L?C():Js(C)}),l.augmentJob=C=>{t&&(C.flags|=4),p&&(C.flags|=2,a&&(C.id=a.uid,C.i=a))};const w=Fr(e,t,l);return Ft&&(d?d.push(w):f&&w()),w}function Kr(e,t,s){const n=this.proxy,i=Q(e)?e.includes(".")?mi(n,e):()=>n[e]:e.bind(n,n);let r;I(t)?r=t:(r=t.handler,s=t);const o=Lt(this),l=gi(i,r.bind(n),s);return o(),l}function mi(e,t){const s=t.split(".");return()=>{let n=e;for(let i=0;i<s.length&&n;i++)n=n[s[i]];return n}}const kr=Symbol("_vte"),Wr=e=>e.__isTeleport,qr=Symbol("_leaveCb");function Gs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Gs(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Jr(e,t){return I(e)?se({name:e.name},t,{setup:e}):e}function _i(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function un(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const Gt=new WeakMap;function Tt(e,t,s,n,i=!1){if(R(e)){e.forEach((P,X)=>Tt(P,t&&(R(t)?t[X]:t),s,n,i));return}if(Ot(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Tt(e,t,s,n.component.subTree);return}const r=n.shapeFlag&4?ls(n.component):n.el,o=i?null:r,{i:l,r:f}=e,d=t&&t.r,a=l.refs===k?l.refs={}:l.refs,p=l.setupState,w=H(p),C=p===k?Hn:P=>un(a,P)?!1:B(w,P),L=(P,X)=>!(X&&un(a,X));if(d!=null&&d!==f){if(an(t),Q(d))a[d]=null,C(d)&&(p[d]=null);else if(ie(d)){const P=t;L(d,P.k)&&(d.value=null),P.k&&(a[P.k]=null)}}if(I(f))jt(f,l,12,[o,a]);else{const P=Q(f),X=ie(f);if(P||X){const V=()=>{if(e.f){const M=P?C(f)?p[f]:a[f]:L()||!e.k?f.value:a[e.k];if(i)R(M)&&Ds(M,r);else if(R(M))M.includes(r)||M.push(r);else if(P)a[f]=[r],C(f)&&(p[f]=a[f]);else{const $=[r];L(f,e.k)&&(f.value=$),e.k&&(a[e.k]=$)}}else P?(a[f]=o,C(f)&&(p[f]=o)):X&&(L(f,e.k)&&(f.value=o),e.k&&(a[e.k]=o))};if(o){const M=()=>{V(),Gt.delete(e)};M.id=-1,Gt.set(e,M),ue(M,s)}else an(e),V()}}}function an(e){const t=Gt.get(e);t&&(t.flags|=8,Gt.delete(e))}es().requestIdleCallback;es().cancelIdleCallback;const Ot=e=>!!e.type.__asyncLoader,bi=e=>e.type.__isKeepAlive;function Gr(e,t){yi(e,"a",t)}function Yr(e,t){yi(e,"da",t)}function yi(e,t,s=fe){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(is(t,n,s),s){let i=s.parent;for(;i&&i.parent;)bi(i.parent.vnode)&&zr(n,t,s,i),i=i.parent}}function zr(e,t,s,n){const i=is(t,e,n,!0);xi(()=>{Ds(n[t],i)},s)}function is(e,t,s=fe,n=!1){if(s){const i=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...o)=>{Ve();const l=Lt(s),f=De(t,s,e,o);return l(),Ke(),f});return n?i.unshift(r):i.push(r),r}}const We=e=>(t,s=fe)=>{(!Ft||e==="sp")&&is(e,(...n)=>t(...n),s)},Xr=We("bm"),vi=We("m"),Qr=We("bu"),Zr=We("u"),eo=We("bum"),xi=We("um"),to=We("sp"),so=We("rtg"),no=We("rtc");function io(e,t=fe){is("ec",e,t)}const ro=Symbol.for("v-ndc");function dn(e,t,s,n){let i;const r=s,o=R(e);if(o||Q(e)){const l=o&&nt(e);let f=!1,d=!1;l&&(f=!me(e),d=ke(e),e=ts(e)),i=new Array(e.length);for(let a=0,p=e.length;a<p;a++)i[a]=t(f?d?dt(ye(e[a])):ye(e[a]):e[a],a,void 0,r)}else if(typeof e=="number"){i=new Array(e);for(let l=0;l<e;l++)i[l]=t(l+1,l,void 0,r)}else if(U(e))if(e[Symbol.iterator])i=Array.from(e,(l,f)=>t(l,f,void 0,r));else{const l=Object.keys(e);i=new Array(l.length);for(let f=0,d=l.length;f<d;f++){const a=l[f];i[f]=t(e[a],a,f,r)}}else i=[];return i}const Es=e=>e?Vi(e)?ls(e):Es(e.parent):null,Et=se(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=>Es(e.parent),$root:e=>Es(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>wi(e),$forceUpdate:e=>e.f||(e.f=()=>{Js(e.update)}),$nextTick:e=>e.n||(e.n=jr.bind(e.proxy)),$watch:e=>Kr.bind(e)}),ms=(e,t)=>e!==k&&!e.__isScriptSetup&&B(e,t),oo={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:r,accessCache:o,type:l,appContext:f}=e;if(t[0]!=="$"){const w=o[t];if(w!==void 0)switch(w){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return r[t]}else{if(ms(n,t))return o[t]=1,n[t];if(i!==k&&B(i,t))return o[t]=2,i[t];if(B(r,t))return o[t]=3,r[t];if(s!==k&&B(s,t))return o[t]=4,s[t];As&&(o[t]=0)}}const d=Et[t];let a,p;if(d)return t==="$attrs"&&ne(e.attrs,"get",""),d(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(s!==k&&B(s,t))return o[t]=4,s[t];if(p=f.config.globalProperties,B(p,t))return p[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:r}=e;return ms(i,t)?(i[t]=s,!0):n!==k&&B(n,t)?(n[t]=s,!0):B(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,props:r,type:o}},l){let f;return!!(s[l]||e!==k&&l[0]!=="$"&&B(e,l)||ms(t,l)||B(r,l)||B(n,l)||B(Et,l)||B(i.config.globalProperties,l)||(f=o.__cssModules)&&f[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:B(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function hn(e){return R(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let As=!0;function lo(e){const t=wi(e),s=e.proxy,n=e.ctx;As=!1,t.beforeCreate&&pn(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:l,provide:f,inject:d,created:a,beforeMount:p,mounted:w,beforeUpdate:C,updated:L,activated:P,deactivated:X,beforeDestroy:V,beforeUnmount:M,destroyed:$,unmounted:T,render:Y,renderTracked:ve,renderTriggered:he,errorCaptured:xe,serverPrefetch:F,expose:j,inheritAttrs:D,components:re,directives:Ye,filters:cs}=t;if(d&&co(d,n,null),o)for(const z in o){const W=o[z];I(W)&&(n[z]=W.bind(s))}if(i){const z=i.call(s,s);U(z)&&(e.data=ss(z))}if(As=!0,r)for(const z in r){const W=r[z],ze=I(W)?W.bind(s,s):I(W.get)?W.get.bind(s,s):Ie,Nt=!I(W)&&I(W.set)?W.set.bind(s):Ie,Xe=Go({get:ze,set:Nt});Object.defineProperty(n,z,{enumerable:!0,configurable:!0,get:()=>Xe.value,set:Se=>Xe.value=Se})}if(l)for(const z in l)Si(l[z],n,s,z);if(f){const z=I(f)?f.call(s):f;Reflect.ownKeys(z).forEach(W=>{Br(W,z[W])})}a&&pn(a,e,"c");function oe(z,W){R(W)?W.forEach(ze=>z(ze.bind(s))):W&&z(W.bind(s))}if(oe(Xr,p),oe(vi,w),oe(Qr,C),oe(Zr,L),oe(Gr,P),oe(Yr,X),oe(io,xe),oe(no,ve),oe(so,he),oe(eo,M),oe(xi,T),oe(to,F),R(j))if(j.length){const z=e.exposed||(e.exposed={});j.forEach(W=>{Object.defineProperty(z,W,{get:()=>s[W],set:ze=>s[W]=ze,enumerable:!0})})}else e.exposed||(e.exposed={});Y&&e.render===Ie&&(e.render=Y),D!=null&&(e.inheritAttrs=D),re&&(e.components=re),Ye&&(e.directives=Ye),F&&_i(e)}function co(e,t,s=Ie){R(e)&&(e=Ps(e));for(const n in e){const i=e[n];let r;U(i)?"default"in i?r=Kt(i.from||n,i.default,!0):r=Kt(i.from||n):r=Kt(i),ie(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[n]=r}}function pn(e,t,s){De(R(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Si(e,t,s,n){let i=n.includes(".")?mi(s,n):()=>s[n];if(Q(e)){const r=t[e];I(r)&&gs(i,r)}else if(I(e))gs(i,e.bind(s));else if(U(e))if(R(e))e.forEach(r=>Si(r,t,s,n));else{const r=I(e.handler)?e.handler.bind(s):t[e.handler];I(r)&&gs(i,r,e)}}function wi(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let f;return l?f=l:!i.length&&!s&&!n?f=t:(f={},i.length&&i.forEach(d=>Yt(f,d,o,!0)),Yt(f,t,o)),U(t)&&r.set(t,f),f}function Yt(e,t,s,n=!1){const{mixins:i,extends:r}=t;r&&Yt(e,r,s,!0),i&&i.forEach(o=>Yt(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const l=fo[o]||s&&s[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const fo={data:gn,props:mn,emits:mn,methods:vt,computed:vt,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:vt,directives:vt,watch:ao,provide:gn,inject:uo};function gn(e,t){return t?e?function(){return se(I(e)?e.call(this,this):e,I(t)?t.call(this,this):t)}:t:e}function uo(e,t){return vt(Ps(e),Ps(t))}function Ps(e){if(R(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function le(e,t){return e?[...new Set([].concat(e,t))]:t}function vt(e,t){return e?se(Object.create(null),e,t):t}function mn(e,t){return e?R(e)&&R(t)?[...new Set([...e,...t])]:se(Object.create(null),hn(e),hn(t??{})):t}function ao(e,t){if(!e)return t;if(!t)return e;const s=se(Object.create(null),e);for(const n in t)s[n]=le(e[n],t[n]);return s}function Ci(){return{app:null,config:{isNativeTag:Hn,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 ho=0;function po(e,t){return function(n,i=null){I(n)||(n=se({},n)),i!=null&&!U(i)&&(i=null);const r=Ci(),o=new WeakSet,l=[];let f=!1;const d=r.app={_uid:ho++,_component:n,_props:i,_container:null,_context:r,_instance:null,version:Yo,get config(){return r.config},set config(a){},use(a,...p){return o.has(a)||(a&&I(a.install)?(o.add(a),a.install(d,...p)):I(a)&&(o.add(a),a(d,...p))),d},mixin(a){return r.mixins.includes(a)||r.mixins.push(a),d},component(a,p){return p?(r.components[a]=p,d):r.components[a]},directive(a,p){return p?(r.directives[a]=p,d):r.directives[a]},mount(a,p,w){if(!f){const C=d._ceVNode||Ue(n,i);return C.appContext=r,w===!0?w="svg":w===!1&&(w=void 0),e(C,a,w),f=!0,d._container=a,a.__vue_app__=d,ls(C.component)}},onUnmount(a){l.push(a)},unmount(){f&&(De(l,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(a,p){return r.provides[a]=p,d},runWithContext(a){const p=at;at=d;try{return a()}finally{at=p}}};return d}}let at=null;const go=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${_e(t)}Modifiers`]||e[`${it(t)}Modifiers`];function mo(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||k;let i=s;const r=t.startsWith("update:"),o=r&&go(n,t.slice(7));o&&(o.trim&&(i=s.map(a=>Q(a)?a.trim():a)),o.number&&(i=s.map(Ls)));let l,f=n[l=us(t)]||n[l=us(_e(t))];!f&&r&&(f=n[l=us(it(t))]),f&&De(f,e,6,i);const d=n[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,De(d,e,6,i)}}const _o=new WeakMap;function Ti(e,t,s=!1){const n=s?_o:t.emitsCache,i=n.get(e);if(i!==void 0)return i;const r=e.emits;let o={},l=!1;if(!I(e)){const f=d=>{const a=Ti(d,t,!0);a&&(l=!0,se(o,a))};!s&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!r&&!l?(U(e)&&n.set(e,null),null):(R(r)?r.forEach(f=>o[f]=null):se(o,r),U(e)&&n.set(e,o),o)}function rs(e,t){return!e||!Xt(t)?!1:(t=t.slice(2).replace(/Once$/,""),B(e,t[0].toLowerCase()+t.slice(1))||B(e,it(t))||B(e,t))}function _n(e){const{type:t,vnode:s,proxy:n,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:f,render:d,renderCache:a,props:p,data:w,setupState:C,ctx:L,inheritAttrs:P}=e,X=Jt(e);let V,M;try{if(s.shapeFlag&4){const T=i||n,Y=T;V=Re(d.call(Y,T,a,p,C,w,L)),M=l}else{const T=t;V=Re(T.length>1?T(p,{attrs:l,slots:o,emit:f}):T(p,null)),M=t.props?l:bo(l)}}catch(T){At.length=0,ns(T,e,1),V=Ue(Ge)}let $=V;if(M&&P!==!1){const T=Object.keys(M),{shapeFlag:Y}=$;T.length&&Y&7&&(r&&T.some(Qt)&&(M=yo(M,r)),$=ht($,M,!1,!0))}return s.dirs&&($=ht($,null,!1,!0),$.dirs=$.dirs?$.dirs.concat(s.dirs):s.dirs),s.transition&&Gs($,s.transition),V=$,Jt(X),V}const bo=e=>{let t;for(const s in e)(s==="class"||s==="style"||Xt(s))&&((t||(t={}))[s]=e[s]);return t},yo=(e,t)=>{const s={};for(const n in e)(!Qt(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function vo(e,t,s){const{props:n,children:i,component:r}=e,{props:o,children:l,patchFlag:f}=t,d=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&f>=0){if(f&1024)return!0;if(f&16)return n?bn(n,o,d):!!o;if(f&8){const a=t.dynamicProps;for(let p=0;p<a.length;p++){const w=a[p];if(Oi(o,n,w)&&!rs(d,w))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?bn(n,o,d):!0:!!o;return!1}function bn(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let i=0;i<n.length;i++){const r=n[i];if(Oi(t,e,r)&&!rs(s,r))return!0}return!1}function Oi(e,t,s){const n=e[s],i=t[s];return s==="style"&&U(n)&&U(i)?!Hs(n,i):n!==i}function xo({vnode:e,parent:t,suspense:s},n){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.suspense.vnode.el=i.el=n,e=i),i===e)(e=t.vnode).el=n,t=t.parent;else break}s&&s.activeBranch===e&&(s.vnode.el=n)}const Ei={},Ai=()=>Object.create(Ei),Pi=e=>Object.getPrototypeOf(e)===Ei;function So(e,t,s,n=!1){const i={},r=Ai();e.propsDefaults=Object.create(null),Ri(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);s?e.props=n?i:Cr(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function wo(e,t,s,n){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,l=H(i),[f]=e.propsOptions;let d=!1;if((n||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let p=0;p<a.length;p++){let w=a[p];if(rs(e.emitsOptions,w))continue;const C=t[w];if(f)if(B(r,w))C!==r[w]&&(r[w]=C,d=!0);else{const L=_e(w);i[L]=Rs(f,l,L,C,e,!1)}else C!==r[w]&&(r[w]=C,d=!0)}}}else{Ri(e,t,i,r)&&(d=!0);let a;for(const p in l)(!t||!B(t,p)&&((a=it(p))===p||!B(t,a)))&&(f?s&&(s[p]!==void 0||s[a]!==void 0)&&(i[p]=Rs(f,l,p,void 0,e,!0)):delete i[p]);if(r!==l)for(const p in r)(!t||!B(t,p))&&(delete r[p],d=!0)}d&&He(e.attrs,"set","")}function Ri(e,t,s,n){const[i,r]=e.propsOptions;let o=!1,l;if(t)for(let f in t){if(St(f))continue;const d=t[f];let a;i&&B(i,a=_e(f))?!r||!r.includes(a)?s[a]=d:(l||(l={}))[a]=d:rs(e.emitsOptions,f)||(!(f in n)||d!==n[f])&&(n[f]=d,o=!0)}if(r){const f=H(s),d=l||k;for(let a=0;a<r.length;a++){const p=r[a];s[p]=Rs(i,f,p,d[p],e,!B(d,p))}}return o}function Rs(e,t,s,n,i,r){const o=e[s];if(o!=null){const l=B(o,"default");if(l&&n===void 0){const f=o.default;if(o.type!==Function&&!o.skipFactory&&I(f)){const{propsDefaults:d}=i;if(s in d)n=d[s];else{const a=Lt(i);n=d[s]=f.call(null,t),a()}}else n=f;i.ce&&i.ce._setProp(s,n)}o[0]&&(r&&!l?n=!1:o[1]&&(n===""||n===it(s))&&(n=!0))}return n}const Co=new WeakMap;function Mi(e,t,s=!1){const n=s?Co:t.propsCache,i=n.get(e);if(i)return i;const r=e.props,o={},l=[];let f=!1;if(!I(e)){const a=p=>{f=!0;const[w,C]=Mi(p,t,!0);se(o,w),C&&l.push(...C)};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!r&&!f)return U(e)&&n.set(e,ct),ct;if(R(r))for(let a=0;a<r.length;a++){const p=_e(r[a]);yn(p)&&(o[p]=k)}else if(r)for(const a in r){const p=_e(a);if(yn(p)){const w=r[a],C=o[p]=R(w)||I(w)?{type:w}:se({},w),L=C.type;let P=!1,X=!0;if(R(L))for(let V=0;V<L.length;++V){const M=L[V],$=I(M)&&M.name;if($==="Boolean"){P=!0;break}else $==="String"&&(X=!1)}else P=I(L)&&L.name==="Boolean";C[0]=P,C[1]=X,(P||B(C,"default"))&&l.push(p)}}const d=[o,l];return U(e)&&n.set(e,d),d}function yn(e){return e[0]!=="$"&&!St(e)}const Ys=e=>e==="_"||e==="_ctx"||e==="$stable",zs=e=>R(e)?e.map(Re):[Re(e)],To=(e,t,s)=>{if(t._n)return t;const n=$r((...i)=>zs(t(...i)),s);return n._c=!1,n},Ii=(e,t,s)=>{const n=e._ctx;for(const i in e){if(Ys(i))continue;const r=e[i];if(I(r))t[i]=To(i,r,n);else if(r!=null){const o=zs(r);t[i]=()=>o}}},Fi=(e,t)=>{const s=zs(t);e.slots.default=()=>s},Di=(e,t,s)=>{for(const n in t)(s||!Ys(n))&&(e[n]=t[n])},Oo=(e,t,s)=>{const n=e.slots=Ai();if(e.vnode.shapeFlag&32){const i=t._;i?(Di(n,t,s),s&&Wn(n,"_",i,!0)):Ii(t,n)}else t&&Fi(e,t)},Eo=(e,t,s)=>{const{vnode:n,slots:i}=e;let r=!0,o=k;if(n.shapeFlag&32){const l=t._;l?s&&l===1?r=!1:Di(i,t,s):(r=!t.$stable,Ii(t,i)),o=t}else t&&(Fi(e,t),o={default:1});if(r)for(const l in i)!Ys(l)&&o[l]==null&&delete i[l]},ue=Io;function Ao(e){return Po(e)}function Po(e,t){const s=es();s.__VUE__=!0;const{insert:n,remove:i,patchProp:r,createElement:o,createText:l,createComment:f,setText:d,setElementText:a,parentNode:p,nextSibling:w,setScopeId:C=Ie,insertStaticContent:L}=e,P=(c,u,h,b=null,g=null,m=null,x=void 0,v=null,y=!!u.dynamicChildren)=>{if(c===u)return;c&&!bt(c,u)&&(b=$t(c),Se(c,g,m,!0),c=null),u.patchFlag===-2&&(y=!1,u.dynamicChildren=null);const{type:_,ref:E,shapeFlag:S}=u;switch(_){case os:X(c,u,h,b);break;case Ge:V(c,u,h,b);break;case bs:c==null&&M(u,h,b,x);break;case pe:re(c,u,h,b,g,m,x,v,y);break;default:S&1?Y(c,u,h,b,g,m,x,v,y):S&6?Ye(c,u,h,b,g,m,x,v,y):(S&64||S&128)&&_.process(c,u,h,b,g,m,x,v,y,gt)}E!=null&&g?Tt(E,c&&c.ref,m,u||c,!u):E==null&&c&&c.ref!=null&&Tt(c.ref,null,m,c,!0)},X=(c,u,h,b)=>{if(c==null)n(u.el=l(u.children),h,b);else{const g=u.el=c.el;u.children!==c.children&&d(g,u.children)}},V=(c,u,h,b)=>{c==null?n(u.el=f(u.children||""),h,b):u.el=c.el},M=(c,u,h,b)=>{[c.el,c.anchor]=L(c.children,u,h,b,c.el,c.anchor)},$=({el:c,anchor:u},h,b)=>{let g;for(;c&&c!==u;)g=w(c),n(c,h,b),c=g;n(u,h,b)},T=({el:c,anchor:u})=>{let h;for(;c&&c!==u;)h=w(c),i(c),c=h;i(u)},Y=(c,u,h,b,g,m,x,v,y)=>{if(u.type==="svg"?x="svg":u.type==="math"&&(x="mathml"),c==null)ve(u,h,b,g,m,x,v,y);else{const _=c.el&&c.el._isVueCE?c.el:null;try{_&&_._beginPatch(),F(c,u,g,m,x,v,y)}finally{_&&_._endPatch()}}},ve=(c,u,h,b,g,m,x,v)=>{let y,_;const{props:E,shapeFlag:S,transition:O,dirs:A}=c;if(y=c.el=o(c.type,m,E&&E.is,E),S&8?a(y,c.children):S&16&&xe(c.children,y,null,b,g,_s(c,m),x,v),A&&Ze(c,null,b,"created"),he(y,c,c.scopeId,x,b),E){for(const K in E)K!=="value"&&!St(K)&&r(y,K,null,E[K],m,b);"value"in E&&r(y,"value",null,E.value,m),(_=E.onVnodeBeforeMount)&&Oe(_,b,c)}A&&Ze(c,null,b,"beforeMount");const N=Ro(g,O);N&&O.beforeEnter(y),n(y,u,h),((_=E&&E.onVnodeMounted)||N||A)&&ue(()=>{try{_&&Oe(_,b,c),N&&O.enter(y),A&&Ze(c,null,b,"mounted")}finally{}},g)},he=(c,u,h,b,g)=>{if(h&&C(c,h),b)for(let m=0;m<b.length;m++)C(c,b[m]);if(g){let m=g.subTree;if(u===m||$i(m.type)&&(m.ssContent===u||m.ssFallback===u)){const x=g.vnode;he(c,x,x.scopeId,x.slotScopeIds,g.parent)}}},xe=(c,u,h,b,g,m,x,v,y=0)=>{for(let _=y;_<c.length;_++){const E=c[_]=v?$e(c[_]):Re(c[_]);P(null,E,u,h,b,g,m,x,v)}},F=(c,u,h,b,g,m,x)=>{const v=u.el=c.el;let{patchFlag:y,dynamicChildren:_,dirs:E}=u;y|=c.patchFlag&16;const S=c.props||k,O=u.props||k;let A;if(h&&et(h,!1),(A=O.onVnodeBeforeUpdate)&&Oe(A,h,u,c),E&&Ze(u,c,h,"beforeUpdate"),h&&et(h,!0),(S.innerHTML&&O.innerHTML==null||S.textContent&&O.textContent==null)&&a(v,""),_?j(c.dynamicChildren,_,v,h,b,_s(u,g),m):x||W(c,u,v,null,h,b,_s(u,g),m,!1),y>0){if(y&16)D(v,S,O,h,g);else if(y&2&&S.class!==O.class&&r(v,"class",null,O.class,g),y&4&&r(v,"style",S.style,O.style,g),y&8){const N=u.dynamicProps;for(let K=0;K<N.length;K++){const q=N[K],Z=S[q],ee=O[q];(ee!==Z||q==="value")&&r(v,q,Z,ee,g,h)}}y&1&&c.children!==u.children&&a(v,u.children)}else!x&&_==null&&D(v,S,O,h,g);((A=O.onVnodeUpdated)||E)&&ue(()=>{A&&Oe(A,h,u,c),E&&Ze(u,c,h,"updated")},b)},j=(c,u,h,b,g,m,x)=>{for(let v=0;v<u.length;v++){const y=c[v],_=u[v],E=y.el&&(y.type===pe||!bt(y,_)||y.shapeFlag&198)?p(y.el):h;P(y,_,E,null,b,g,m,x,!0)}},D=(c,u,h,b,g)=>{if(u!==h){if(u!==k)for(const m in u)!St(m)&&!(m in h)&&r(c,m,u[m],null,g,b);for(const m in h){if(St(m))continue;const x=h[m],v=u[m];x!==v&&m!=="value"&&r(c,m,v,x,g,b)}"value"in h&&r(c,"value",u.value,h.value,g)}},re=(c,u,h,b,g,m,x,v,y)=>{const _=u.el=c?c.el:l(""),E=u.anchor=c?c.anchor:l("");let{patchFlag:S,dynamicChildren:O,slotScopeIds:A}=u;A&&(v=v?v.concat(A):A),c==null?(n(_,h,b),n(E,h,b),xe(u.children||[],h,E,g,m,x,v,y)):S>0&&S&64&&O&&c.dynamicChildren&&c.dynamicChildren.length===O.length?(j(c.dynamicChildren,O,h,g,m,x,v),(u.key!=null||g&&u===g.subTree)&&ji(c,u,!0)):W(c,u,h,E,g,m,x,v,y)},Ye=(c,u,h,b,g,m,x,v,y)=>{u.slotScopeIds=v,c==null?u.shapeFlag&512?g.ctx.activate(u,h,b,x,y):cs(u,h,b,g,m,x,y):Qs(c,u,y)},cs=(c,u,h,b,g,m,x)=>{const v=c.component=Uo(c,b,g);if(bi(c)&&(v.ctx.renderer=gt),Ko(v,!1,x),v.asyncDep){if(g&&g.registerDep(v,oe,x),!c.el){const y=v.subTree=Ue(Ge);V(null,y,u,h),c.placeholder=y.el}}else oe(v,c,u,h,g,m,x)},Qs=(c,u,h)=>{const b=u.component=c.component;if(vo(c,u,h))if(b.asyncDep&&!b.asyncResolved){z(b,u,h);return}else b.next=u,b.update();else u.el=c.el,b.vnode=u},oe=(c,u,h,b,g,m,x)=>{const v=()=>{if(c.isMounted){let{next:S,bu:O,u:A,parent:N,vnode:K}=c;{const Ce=Li(c);if(Ce){S&&(S.el=K.el,z(c,S,x)),Ce.asyncDep.then(()=>{ue(()=>{c.isUnmounted||_()},g)});return}}let q=S,Z;et(c,!1),S?(S.el=K.el,z(c,S,x)):S=K,O&&Vt(O),(Z=S.props&&S.props.onVnodeBeforeUpdate)&&Oe(Z,N,S,K),et(c,!0);const ee=_n(c),we=c.subTree;c.subTree=ee,P(we,ee,p(we.el),$t(we),c,g,m),S.el=ee.el,q===null&&xo(c,ee.el),A&&ue(A,g),(Z=S.props&&S.props.onVnodeUpdated)&&ue(()=>Oe(Z,N,S,K),g)}else{let S;const{el:O,props:A}=u,{bm:N,m:K,parent:q,root:Z,type:ee}=c,we=Ot(u);et(c,!1),N&&Vt(N),!we&&(S=A&&A.onVnodeBeforeMount)&&Oe(S,q,u),et(c,!0);{Z.ce&&Z.ce._hasShadowRoot()&&Z.ce._injectChildStyle(ee,c.parent?c.parent.type:void 0);const Ce=c.subTree=_n(c);P(null,Ce,h,b,c,g,m),u.el=Ce.el}if(K&&ue(K,g),!we&&(S=A&&A.onVnodeMounted)){const Ce=u;ue(()=>Oe(S,q,Ce),g)}(u.shapeFlag&256||q&&Ot(q.vnode)&&q.vnode.shapeFlag&256)&&c.a&&ue(c.a,g),c.isMounted=!0,u=h=b=null}};c.scope.on();const y=c.effect=new Yn(v);c.scope.off();const _=c.update=y.run.bind(y),E=c.job=y.runIfDirty.bind(y);E.i=c,E.id=c.uid,y.scheduler=()=>Js(E),et(c,!0),_()},z=(c,u,h)=>{u.component=c;const b=c.vnode.props;c.vnode=u,c.next=null,wo(c,u.props,b,h),Eo(c,u.children,h),Ve(),fn(c),Ke()},W=(c,u,h,b,g,m,x,v,y=!1)=>{const _=c&&c.children,E=c?c.shapeFlag:0,S=u.children,{patchFlag:O,shapeFlag:A}=u;if(O>0){if(O&128){Nt(_,S,h,b,g,m,x,v,y);return}else if(O&256){ze(_,S,h,b,g,m,x,v,y);return}}A&8?(E&16&&pt(_,g,m),S!==_&&a(h,S)):E&16?A&16?Nt(_,S,h,b,g,m,x,v,y):pt(_,g,m,!0):(E&8&&a(h,""),A&16&&xe(S,h,b,g,m,x,v,y))},ze=(c,u,h,b,g,m,x,v,y)=>{c=c||ct,u=u||ct;const _=c.length,E=u.length,S=Math.min(_,E);let O;for(O=0;O<S;O++){const A=u[O]=y?$e(u[O]):Re(u[O]);P(c[O],A,h,null,g,m,x,v,y)}_>E?pt(c,g,m,!0,!1,S):xe(u,h,b,g,m,x,v,y,S)},Nt=(c,u,h,b,g,m,x,v,y)=>{let _=0;const E=u.length;let S=c.length-1,O=E-1;for(;_<=S&&_<=O;){const A=c[_],N=u[_]=y?$e(u[_]):Re(u[_]);if(bt(A,N))P(A,N,h,null,g,m,x,v,y);else break;_++}for(;_<=S&&_<=O;){const A=c[S],N=u[O]=y?$e(u[O]):Re(u[O]);if(bt(A,N))P(A,N,h,null,g,m,x,v,y);else break;S--,O--}if(_>S){if(_<=O){const A=O+1,N=A<E?u[A].el:b;for(;_<=O;)P(null,u[_]=y?$e(u[_]):Re(u[_]),h,N,g,m,x,v,y),_++}}else if(_>O)for(;_<=S;)Se(c[_],g,m,!0),_++;else{const A=_,N=_,K=new Map;for(_=N;_<=O;_++){const ae=u[_]=y?$e(u[_]):Re(u[_]);ae.key!=null&&K.set(ae.key,_)}let q,Z=0;const ee=O-N+1;let we=!1,Ce=0;const mt=new Array(ee);for(_=0;_<ee;_++)mt[_]=0;for(_=A;_<=S;_++){const ae=c[_];if(Z>=ee){Se(ae,g,m,!0);continue}let Te;if(ae.key!=null)Te=K.get(ae.key);else for(q=N;q<=O;q++)if(mt[q-N]===0&&bt(ae,u[q])){Te=q;break}Te===void 0?Se(ae,g,m,!0):(mt[Te-N]=_+1,Te>=Ce?Ce=Te:we=!0,P(ae,u[Te],h,null,g,m,x,v,y),Z++)}const tn=we?Mo(mt):ct;for(q=tn.length-1,_=ee-1;_>=0;_--){const ae=N+_,Te=u[ae],sn=u[ae+1],nn=ae+1<E?sn.el||Ni(sn):b;mt[_]===0?P(null,Te,h,nn,g,m,x,v,y):we&&(q<0||_!==tn[q]?Xe(Te,h,nn,2):q--)}}},Xe=(c,u,h,b,g=null)=>{const{el:m,type:x,transition:v,children:y,shapeFlag:_}=c;if(_&6){Xe(c.component.subTree,u,h,b);return}if(_&128){c.suspense.move(u,h,b);return}if(_&64){x.move(c,u,h,gt);return}if(x===pe){n(m,u,h);for(let S=0;S<y.length;S++)Xe(y[S],u,h,b);n(c.anchor,u,h);return}if(x===bs){$(c,u,h);return}if(b!==2&&_&1&&v)if(b===0)v.beforeEnter(m),n(m,u,h),ue(()=>v.enter(m),g);else{const{leave:S,delayLeave:O,afterLeave:A}=v,N=()=>{c.ctx.isUnmounted?i(m):n(m,u,h)},K=()=>{m._isLeaving&&m[qr](!0),S(m,()=>{N(),A&&A()})};O?O(m,N,K):K()}else n(m,u,h)},Se=(c,u,h,b=!1,g=!1)=>{const{type:m,props:x,ref:v,children:y,dynamicChildren:_,shapeFlag:E,patchFlag:S,dirs:O,cacheIndex:A,memo:N}=c;if(S===-2&&(g=!1),v!=null&&(Ve(),Tt(v,null,h,c,!0),Ke()),A!=null&&(u.renderCache[A]=void 0),E&256){u.ctx.deactivate(c);return}const K=E&1&&O,q=!Ot(c);let Z;if(q&&(Z=x&&x.onVnodeBeforeUnmount)&&Oe(Z,u,c),E&6)qi(c.component,h,b);else{if(E&128){c.suspense.unmount(h,b);return}K&&Ze(c,null,u,"beforeUnmount"),E&64?c.type.remove(c,u,h,gt,b):_&&!_.hasOnce&&(m!==pe||S>0&&S&64)?pt(_,u,h,!1,!0):(m===pe&&S&384||!g&&E&16)&&pt(y,u,h),b&&Zs(c)}const ee=N!=null&&A==null;(q&&(Z=x&&x.onVnodeUnmounted)||K||ee)&&ue(()=>{Z&&Oe(Z,u,c),K&&Ze(c,null,u,"unmounted"),ee&&(c.el=null)},h)},Zs=c=>{const{type:u,el:h,anchor:b,transition:g}=c;if(u===pe){Wi(h,b);return}if(u===bs){T(c);return}const m=()=>{i(h),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(c.shapeFlag&1&&g&&!g.persisted){const{leave:x,delayLeave:v}=g,y=()=>x(h,m);v?v(c.el,m,y):y()}else m()},Wi=(c,u)=>{let h;for(;c!==u;)h=w(c),i(c),c=h;i(u)},qi=(c,u,h)=>{const{bum:b,scope:g,job:m,subTree:x,um:v,m:y,a:_}=c;vn(y),vn(_),b&&Vt(b),g.stop(),m&&(m.flags|=8,Se(x,c,u,h)),v&&ue(v,u),ue(()=>{c.isUnmounted=!0},u)},pt=(c,u,h,b=!1,g=!1,m=0)=>{for(let x=m;x<c.length;x++)Se(c[x],u,h,b,g)},$t=c=>{if(c.shapeFlag&6)return $t(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const u=w(c.anchor||c.el),h=u&&u[kr];return h?w(h):u};let fs=!1;const en=(c,u,h)=>{let b;c==null?u._vnode&&(Se(u._vnode,null,null,!0),b=u._vnode.component):P(u._vnode||null,c,u,null,null,null,h),u._vnode=c,fs||(fs=!0,fn(b),di(),fs=!1)},gt={p:P,um:Se,m:Xe,r:Zs,mt:cs,mc:xe,pc:W,pbc:j,n:$t,o:e};return{render:en,hydrate:void 0,createApp:po(en)}}function _s({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function et({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ro(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ji(e,t,s=!1){const n=e.children,i=t.children;if(R(n)&&R(i))for(let r=0;r<n.length;r++){const o=n[r];let l=i[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[r]=$e(i[r]),l.el=o.el),!s&&l.patchFlag!==-2&&ji(o,l)),l.type===os&&(l.patchFlag===-1&&(l=i[r]=$e(l)),l.el=o.el),l.type===Ge&&!l.el&&(l.el=o.el)}}function Mo(e){const t=e.slice(),s=[0];let n,i,r,o,l;const f=e.length;for(n=0;n<f;n++){const d=e[n];if(d!==0){if(i=s[s.length-1],e[i]<d){t[n]=i,s.push(n);continue}for(r=0,o=s.length-1;r<o;)l=r+o>>1,e[s[l]]<d?r=l+1:o=l;d<e[s[r]]&&(r>0&&(t[n]=s[r-1]),s[r]=n)}}for(r=s.length,o=s[r-1];r-- >0;)s[r]=o,o=t[o];return s}function Li(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Li(t)}function vn(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Ni(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Ni(t.subTree):null}const $i=e=>e.__isSuspense;function Io(e,t){t&&t.pendingBranch?R(e)?t.effects.push(...e):t.effects.push(e):Nr(e)}const pe=Symbol.for("v-fgt"),os=Symbol.for("v-txt"),Ge=Symbol.for("v-cmt"),bs=Symbol.for("v-stc"),At=[];let de=null;function Ee(e=!1){At.push(de=e?null:[])}function Fo(){At.pop(),de=At[At.length-1]||null}let It=1;function xn(e,t=!1){It+=e,e<0&&de&&t&&(de.hasOnce=!0)}function Hi(e){return e.dynamicChildren=It>0?de||ct:null,Fo(),It>0&&de&&de.push(e),e}function Le(e,t,s,n,i,r){return Hi(J(e,t,s,n,i,r,!0))}function Do(e,t,s,n,i){return Hi(Ue(e,t,s,n,i,!0))}function Bi(e){return e?e.__v_isVNode===!0:!1}function bt(e,t){return e.type===t.type&&e.key===t.key}const Ui=({key:e})=>e??null,kt=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?Q(e)||ie(e)||I(e)?{i:ge,r:e,k:t,f:!!s}:e:null);function J(e,t=null,s=null,n=0,i=null,r=e===pe?0:1,o=!1,l=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ui(t),ref:t&&kt(t),scopeId:pi,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:ge};return l?(Xs(f,s),r&128&&e.normalize(f)):s&&(f.shapeFlag|=Q(s)?8:16),It>0&&!o&&de&&(f.patchFlag>0||r&6)&&f.patchFlag!==32&&de.push(f),f}const Ue=jo;function jo(e,t=null,s=null,n=0,i=null,r=!1){if((!e||e===ro)&&(e=Ge),Bi(e)){const l=ht(e,t,!0);return s&&Xs(l,s),It>0&&!r&&de&&(l.shapeFlag&6?de[de.indexOf(e)]=l:de.push(l)),l.patchFlag=-2,l}if(Jo(e)&&(e=e.__vccOpts),t){t=Lo(t);let{class:l,style:f}=t;l&&!Q(l)&&(t.class=$s(l)),U(f)&&(qs(f)&&!R(f)&&(f=se({},f)),t.style=Ns(f))}const o=Q(e)?1:$i(e)?128:Wr(e)?64:U(e)?4:I(e)?2:0;return J(e,t,s,n,i,o,r,!0)}function Lo(e){return e?qs(e)||Pi(e)?se({},e):e:null}function ht(e,t,s=!1,n=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:f}=e,d=t?$o(i||{},t):i,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Ui(d),ref:t&&t.ref?s&&r?R(r)?r.concat(kt(t)):[r,kt(t)]:kt(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==pe?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ht(e.ssContent),ssFallback:e.ssFallback&&ht(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&n&&Gs(a,f.clone(a)),a}function No(e=" ",t=0){return Ue(os,null,e,t)}function yt(e="",t=!1){return t?(Ee(),Do(Ge,null,e)):Ue(Ge,null,e)}function Re(e){return e==null||typeof e=="boolean"?Ue(Ge):R(e)?Ue(pe,null,e.slice()):Bi(e)?$e(e):Ue(os,null,String(e))}function $e(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ht(e)}function Xs(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(R(t))s=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),Xs(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!Pi(t)?t._ctx=ge:i===3&&ge&&(ge.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else I(t)?(t={default:t,_ctx:ge},s=32):(t=String(t),n&64?(s=16,t=[No(t)]):s=8);e.children=t,e.shapeFlag|=s}function $o(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const i in n)if(i==="class")t.class!==n.class&&(t.class=$s([t.class,n.class]));else if(i==="style")t.style=Ns([t.style,n.style]);else if(Xt(i)){const r=t[i],o=n[i];o&&r!==o&&!(R(r)&&r.includes(o))?t[i]=r?[].concat(r,o):o:o==null&&r==null&&!Qt(i)&&(t[i]=o)}else i!==""&&(t[i]=n[i])}return t}function Oe(e,t,s,n=null){De(e,t,7,[s,n])}const Ho=Ci();let Bo=0;function Uo(e,t,s){const n=e.type,i=(t?t.appContext:e.appContext)||Ho,r={uid:Bo++,vnode:e,type:n,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ir(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Mi(n,i),emitsOptions:Ti(n,i),emit:null,emitted:null,propsDefaults:k,inheritAttrs:n.inheritAttrs,ctx:k,data:k,props:k,attrs:k,slots:k,refs:k,setupState:k,setupContext:null,suspense:s,suspenseId:s?s.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 r.ctx={_:r},r.root=t?t.root:r,r.emit=mo.bind(null,r),e.ce&&e.ce(r),r}let fe=null;const Vo=()=>fe||ge;let zt,Ms;{const e=es(),t=(s,n)=>{let i;return(i=e[s])||(i=e[s]=[]),i.push(n),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};zt=t("__VUE_INSTANCE_SETTERS__",s=>fe=s),Ms=t("__VUE_SSR_SETTERS__",s=>Ft=s)}const Lt=e=>{const t=fe;return zt(e),e.scope.on(),()=>{e.scope.off(),zt(t)}},Sn=()=>{fe&&fe.scope.off(),zt(null)};function Vi(e){return e.vnode.shapeFlag&4}let Ft=!1;function Ko(e,t=!1,s=!1){t&&Ms(t);const{props:n,children:i}=e.vnode,r=Vi(e);So(e,n,r,t),Oo(e,i,s||t);const o=r?ko(e,t):void 0;return t&&Ms(!1),o}function ko(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,oo);const{setup:n}=s;if(n){Ve();const i=e.setupContext=n.length>1?qo(e):null,r=Lt(e),o=jt(n,e,0,[e.props,i]),l=Un(o);if(Ke(),r(),(l||e.sp)&&!Ot(e)&&_i(e),l){if(o.then(Sn,Sn),t)return o.then(f=>{wn(e,f)}).catch(f=>{ns(f,e,0)});e.asyncDep=o}else wn(e,o)}else Ki(e)}function wn(e,t,s){I(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:U(t)&&(e.setupState=fi(t)),Ki(e)}function Ki(e,t,s){const n=e.type;e.render||(e.render=n.render||Ie);{const i=Lt(e);Ve();try{lo(e)}finally{Ke(),i()}}}const Wo={get(e,t){return ne(e,"get",""),e[t]}};function qo(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Wo),slots:e.slots,emit:e.emit,expose:t}}function ls(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(fi(Tr(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Et)return Et[s](e)},has(t,s){return s in t||s in Et}})):e.proxy}function Jo(e){return I(e)&&"__vccOpts"in e}const Go=(e,t)=>Mr(e,t,Ft),Yo="3.5.34";/**
|
|
14
|
-
* @vue/runtime-dom v3.5.34
|
|
15
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
16
|
-
* @license MIT
|
|
17
|
-
**/let Is;const Cn=typeof window<"u"&&window.trustedTypes;if(Cn)try{Is=Cn.createPolicy("vue",{createHTML:e=>e})}catch{}const ki=Is?e=>Is.createHTML(e):e=>e,zo="http://www.w3.org/2000/svg",Xo="http://www.w3.org/1998/Math/MathML",Ne=typeof document<"u"?document:null,Tn=Ne&&Ne.createElement("template"),Qo={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const i=t==="svg"?Ne.createElementNS(zo,e):t==="mathml"?Ne.createElementNS(Xo,e):s?Ne.createElement(e,{is:s}):Ne.createElement(e);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>Ne.createTextNode(e),createComment:e=>Ne.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ne.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,i,r){const o=s?s.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===r||!(i=i.nextSibling)););else{Tn.innerHTML=ki(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=Tn.content;if(n==="svg"||n==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Zo=Symbol("_vtc");function el(e,t,s){const n=e[Zo];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const On=Symbol("_vod"),tl=Symbol("_vsh"),sl=Symbol(""),nl=/(?:^|;)\s*display\s*:/;function il(e,t,s){const n=e.style,i=Q(s);let r=!1;if(s&&!i){if(t)if(Q(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&xt(n,l,"")}else for(const o in t)s[o]==null&&xt(n,o,"");for(const o in s){o==="display"&&(r=!0);const l=s[o];l!=null?ol(e,o,!Q(t)&&t?t[o]:void 0,l)||xt(n,o,l):xt(n,o,"")}}else if(i){if(t!==s){const o=n[sl];o&&(s+=";"+o),n.cssText=s,r=nl.test(s)}}else t&&e.removeAttribute("style");On in e&&(e[On]=r?n.display:"",e[tl]&&(n.display="none"))}const En=/\s*!important$/;function xt(e,t,s){if(R(s))s.forEach(n=>xt(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=rl(e,t);En.test(s)?e.setProperty(it(n),s.replace(En,""),"important"):e[n]=s}}const An=["Webkit","Moz","ms"],ys={};function rl(e,t){const s=ys[t];if(s)return s;let n=_e(t);if(n!=="filter"&&n in e)return ys[t]=n;n=kn(n);for(let i=0;i<An.length;i++){const r=An[i]+n;if(r in e)return ys[t]=r}return t}function ol(e,t,s,n){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&Q(n)&&s===n}const Pn="http://www.w3.org/1999/xlink";function Rn(e,t,s,n,i,r=sr(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(Pn,t.slice(6,t.length)):e.setAttributeNS(Pn,t,s):s==null||r&&!qn(s)?e.removeAttribute(t):e.setAttribute(t,r?"":Fe(s)?String(s):s)}function Mn(e,t,s,n,i){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?ki(s):s);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?e.getAttribute("value")||"":e.value,f=s==null?e.type==="checkbox"?"on":"":String(s);(l!==f||!("_value"in e))&&(e.value=f),s==null&&e.removeAttribute(t),e._value=s;return}let o=!1;if(s===""||s==null){const l=typeof e[t];l==="boolean"?s=qn(s):s==null&&l==="string"?(s="",o=!0):l==="number"&&(s=0,o=!0)}try{e[t]=s}catch{}o&&e.removeAttribute(i||t)}function lt(e,t,s,n){e.addEventListener(t,s,n)}function ll(e,t,s,n){e.removeEventListener(t,s,n)}const In=Symbol("_vei");function cl(e,t,s,n,i=null){const r=e[In]||(e[In]={}),o=r[t];if(n&&o)o.value=n;else{const[l,f]=fl(t);if(n){const d=r[t]=dl(n,i);lt(e,l,d,f)}else o&&(ll(e,l,o,f),r[t]=void 0)}}const Fn=/(?:Once|Passive|Capture)$/;function fl(e){let t;if(Fn.test(e)){t={};let n;for(;n=e.match(Fn);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):it(e.slice(2)),t]}let vs=0;const ul=Promise.resolve(),al=()=>vs||(ul.then(()=>vs=0),vs=Date.now());function dl(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;De(hl(n,s.value),t,5,[n])};return s.value=e,s.attached=al(),s}function hl(e,t){if(R(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n&&n(i))}else return t}const Dn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,pl=(e,t,s,n,i,r)=>{const o=i==="svg";t==="class"?el(e,n,o):t==="style"?il(e,s,n):Xt(t)?Qt(t)||cl(e,t,s,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):gl(e,t,n,o))?(Mn(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Rn(e,t,n,o,r,t!=="value")):e._isVueCE&&(ml(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Q(n)))?Mn(e,_e(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Rn(e,t,n,o))};function gl(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Dn(t)&&I(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Dn(t)&&Q(s)?!1:t in e}function ml(e,t){const s=e._def.props;if(!s)return!1;const n=_e(t);return Array.isArray(s)?s.some(i=>_e(i)===n):Object.keys(s).some(i=>_e(i)===n)}const jn=e=>{const t=e.props["onUpdate:modelValue"]||!1;return R(t)?s=>Vt(t,s):t};function _l(e){e.target.composing=!0}function Ln(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const xs=Symbol("_assign");function Nn(e,t,s){return t&&(e=e.trim()),s&&(e=Ls(e)),e}const bl={created(e,{modifiers:{lazy:t,trim:s,number:n}},i){e[xs]=jn(i);const r=n||i.props&&i.props.type==="number";lt(e,t?"change":"input",o=>{o.target.composing||e[xs](Nn(e.value,s,r))}),(s||r)&<(e,"change",()=>{e.value=Nn(e.value,s,r)}),t||(lt(e,"compositionstart",_l),lt(e,"compositionend",Ln),lt(e,"change",Ln))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:i,number:r}},o){if(e[xs]=jn(o),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?Ls(e.value):e.value,f=t??"";if(l===f)return;const d=e.getRootNode();(d instanceof Document||d instanceof ShadowRoot)&&d.activeElement===e&&e.type!=="range"&&(n&&t===s||i&&e.value.trim()===f)||(e.value=f)}},yl=se({patchProp:pl},Qo);let $n;function vl(){return $n||($n=Ao(yl))}const xl=(...e)=>{const t=vl().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=wl(n);if(!i)return;const r=t._component;!I(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=s(i,!1,Sl(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t};function Sl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function wl(e){return Q(e)?document.querySelector(e):e}const Cl={class:"app-header"},Tl=["aria-label"],Ol={class:"app-main"},El={class:"group","aria-labelledby":"group-project"},Al={class:"check",style:{"flex-direction":"column","align-items":"stretch"}},Pl=["aria-labelledby"],Rl=["id"],Ml={class:"group-list"},Il={class:"check"},Fl=["checked","disabled","onChange"],Dl={key:0,class:"required-tag"},jl={class:"app-footer"},Ll={class:"actions"},Nl=["disabled"],$l=["disabled"],Hl=["disabled"],Bl=["disabled"],Ul={key:0,class:"preview"},Vl={key:1,class:"build-status"},Kl={class:"build-state"},kl={key:0,class:"preview"},Wl={key:1,class:"preview"},ql=Jr({__name:"App",setup(e){const t=Qe("light");function s(F){t.value=F,document.documentElement.dataset.theme=F,localStorage.setItem("waelio-theme",F)}function n(){s(t.value==="light"?"dark":"light")}const i=[{key:"pages",title:"Pages",required:["Contact","Privacy","Terms & Conditions","Login"],items:["Home","About","Services","Pricing","Contact","FAQ","Blog","Catalog","Product Detail","Cart","Checkout","Account","Dashboard","Booking","Practitioners","Docs","Login","Privacy","Terms & Conditions"]},{key:"features",title:"Features",required:["SEO","Authentication","Publishing","Brand Assets","CASL Permissions","Local Database","NativeScript Ready"],items:["SEO","Analytics","Authentication","Billing","Search","Booking","Notifications","Customer Portal","Lead Capture","Case Studies","Blog","Payments","Customer Accounts","Knowledge Base","Admin Dashboard","Content Management","Publishing","Brand Assets","CASL Permissions","Local Database","NativeScript Ready"]},{key:"integrations",title:"Integrations",items:["Stripe","CRM","Email & SMS","Analytics"]},{key:"locales",title:"Locales",items:["en","ar","de","es","fr","he","id","it","ru","sv","tr","zh"]},{key:"roles",title:"Roles",items:["Admin","Editor","Operations","Support","Sales","Reception","Dentist","Hygienist"]},{key:"brandTones",title:"Brand tone",items:["Trustworthy","Bold","Premium","Friendly"]},{key:"visualStyles",title:"Visual style",items:["Premium Editorial","Friendly Clinical"]},{key:"contentModels",title:"Content model",items:["Service pages + blog","Catalog + editorial"]},{key:"seoFocuses",title:"SEO focus",items:["Local + service intent","Transactional intent"]}],r=ss(Object.fromEntries(i.map(F=>[F.key,new Set(F.required??[])])));function o(F,j){const D=r[F];D&&(D.has(j)?D.delete(j):D.add(j))}function l(F,j){var D;return((D=F.required)==null?void 0:D.includes(j))??!1}function f(F,j){var D;return((D=r[F])==null?void 0:D.has(j))??!1}const d=Qe(""),a=Qe(!1),p=Qe("");function w(F){return F.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")||"site"}const C={pages:"selectedPages",features:"selectedFeatures",integrations:"selectedIntegrations",locales:"selectedLocales",roles:"selectedRoles",brandTones:"selectedBrandTones",visualStyles:"selectedVisualStyles",contentModels:"selectedContentModels",seoFocuses:"selectedSEOFocuses"};function L(){const F={};for(const re of i){const Ye=C[re.key]??re.key;F[Ye]=Array.from(r[re.key]??[])}const j=p.value.trim(),D={$schema:"https://waelio.dev/schemas/blueprint/v1.json",generator:{name:"waelio-cli",version:"0.1.2",url:"https://github.com/waelio/cli"},id:crypto.randomUUID(),createdAt:new Date().toISOString(),projectName:j||"Siteforge Project",slug:w(j||"Siteforge Project"),selections:F};d.value=JSON.stringify(D,null,2),a.value=!1}function P(){d.value||L(),a.value=!0}function X(){d.value||L();const F=new Blob([d.value],{type:"application/json"}),j=URL.createObjectURL(F),D=document.createElement("a");D.href=j,D.download="blueprint.json",D.click(),URL.revokeObjectURL(j)}const V="/api/scaffold",M=Qe("idle"),$=Qe([]),T=Qe("");function Y(F){$.value.push(`[${new Date().toLocaleTimeString()}] ${F}`)}async function ve(){if(!p.value.trim()){Y("error: project name is required"),M.value="error";return}L(),$.value=[],T.value="",M.value="sending",Y(`POST ${V}`);try{const F=await fetch(V,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({blueprint:JSON.parse(d.value)})});if(!F.ok){const D=await F.text();Y(`error: ${F.status} ${D}`),M.value="error";return}const j=await F.json();T.value=JSON.stringify(j,null,2),M.value="done",Y(`scaffolded "${j.slug}" at ${j.outDir}`)}catch(F){Y(`network error: ${F.message}`),M.value="error"}}function he(){if(!T.value)return;const F=new Blob([T.value],{type:"application/json"}),j=URL.createObjectURL(F),D=document.createElement("a");D.href=j,D.download="siteforge-package.json",D.click(),URL.revokeObjectURL(j)}function xe(){for(const F of i)r[F.key]=new Set(F.required??[]);p.value="",d.value="",a.value=!1,$.value=[],T.value="",M.value="idle"}return vi(()=>{const F=localStorage.getItem("waelio-theme"),j=window.matchMedia("(prefers-color-scheme: dark)").matches;s(F??(j?"dark":"light"))}),(F,j)=>(Ee(),Le(pe,null,[J("header",Cl,[j[1]||(j[1]=J("h1",{class:"app-title"},"waelio/cli",-1)),J("button",{type:"button",class:"theme-toggle","aria-label":t.value==="light"?"Switch to dark mode":"Switch to light mode",onClick:n},qe(t.value==="light"?"Dark":"Light"),9,Tl)]),J("main",Ol,[J("section",El,[j[3]||(j[3]=J("h2",{id:"group-project",class:"group-title"},"Project",-1)),J("label",Al,[j[2]||(j[2]=J("span",null,"Name",-1)),Hr(J("input",{"onUpdate:modelValue":j[0]||(j[0]=D=>p.value=D),type:"text",placeholder:"Acme Dental",autocomplete:"off",style:{"margin-top":"0.4rem",padding:"0.4rem 0.6rem",border:"1px solid var(--fg)","border-radius":"0.375rem",background:"transparent",color:"var(--fg)",font:"inherit"}},null,512),[[bl,p.value]])])]),(Ee(),Le(pe,null,dn(i,D=>J("section",{key:D.key,class:"group","aria-labelledby":`group-${D.key}`},[J("h2",{id:`group-${D.key}`,class:"group-title"},qe(D.title),9,Rl),J("ul",Ml,[(Ee(!0),Le(pe,null,dn(D.items,re=>(Ee(),Le("li",{key:re},[J("label",Il,[J("input",{type:"checkbox",checked:f(D.key,re),disabled:l(D,re),onChange:Ye=>o(D.key,re)},null,40,Fl),J("span",null,qe(re),1),l(D,re)?(Ee(),Le("span",Dl," required ")):yt("",!0)])]))),128))])],8,Pl)),64))]),J("footer",jl,[J("div",Ll,[J("button",{type:"button",class:"btn",onClick:L}," Generate "),J("button",{type:"button",class:"btn",onClick:xe},"Reset"),J("button",{type:"button",class:"btn",disabled:!d.value,onClick:P}," View ",8,Nl),J("button",{type:"button",class:"btn",disabled:!d.value,onClick:X}," Download ",8,$l),J("button",{type:"button",class:"btn",disabled:!p.value.trim()||M.value==="connecting"||M.value==="sending"||M.value==="running",onClick:ve}," Build ",8,Hl),J("button",{type:"button",class:"btn",disabled:!T.value,onClick:he}," Download package ",8,Bl)]),a.value&&d.value?(Ee(),Le("pre",Ul,qe(d.value),1)):yt("",!0),M.value!=="idle"?(Ee(),Le("section",Vl,[J("p",Kl,"Build: "+qe(M.value),1),$.value.length?(Ee(),Le("pre",kl,qe($.value.join(`
|
|
18
|
-
`)),1)):yt("",!0),T.value?(Ee(),Le("pre",Wl,qe(T.value),1)):yt("",!0)])):yt("",!0)])],64))}}),Jl=(e,t)=>{const s=e.__vccOpts||e;for(const[n,i]of t)s[n]=i;return s},Gl=Jl(ql,[["__scopeId","data-v-6d55a98d"]]);xl(Gl).mount("#app");
|