trellis 2.1.7 → 3.0.2
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/README.md +65 -706
- package/dist/cli/index.d.ts +16 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +3188 -232
- package/dist/client/config.d.ts +56 -0
- package/dist/client/config.d.ts.map +1 -0
- package/dist/client/index.d.ts +15 -0
- package/dist/client/index.d.ts.map +1 -0
- package/dist/client/index.js +32 -0
- package/dist/client/sdk.d.ts +152 -0
- package/dist/client/sdk.d.ts.map +1 -0
- package/dist/config-8hczw0rs.js +20 -0
- package/dist/context/heat-map-manager.d.ts +100 -0
- package/dist/context/heat-map-manager.d.ts.map +1 -0
- package/dist/context/manager.d.ts +16 -0
- package/dist/context/manager.d.ts.map +1 -0
- package/dist/context/types.d.ts +20 -0
- package/dist/context/types.d.ts.map +1 -0
- package/dist/core/agents/harness.d.ts +58 -0
- package/dist/core/agents/harness.d.ts.map +1 -0
- package/dist/core/agents/index.d.ts +8 -0
- package/dist/core/agents/index.d.ts.map +1 -0
- package/dist/core/agents/types.d.ts +79 -0
- package/dist/core/agents/types.d.ts.map +1 -0
- package/dist/core/computation/expr-evaluator.d.ts +52 -0
- package/dist/core/computation/expr-evaluator.d.ts.map +1 -0
- package/dist/core/index.d.ts +25 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +105 -11
- package/dist/core/kernel/logic-middleware.d.ts +19 -0
- package/dist/core/kernel/logic-middleware.d.ts.map +1 -0
- package/dist/core/kernel/middleware.d.ts +28 -0
- package/dist/core/kernel/middleware.d.ts.map +1 -0
- package/dist/core/kernel/schema-middleware.d.ts +15 -0
- package/dist/core/kernel/schema-middleware.d.ts.map +1 -0
- package/dist/core/kernel/security-middleware.d.ts +24 -0
- package/dist/core/kernel/security-middleware.d.ts.map +1 -0
- package/dist/core/kernel/sync-provider.d.ts +59 -0
- package/dist/core/kernel/sync-provider.d.ts.map +1 -0
- package/dist/core/kernel/trellis-kernel.d.ts +217 -0
- package/dist/core/kernel/trellis-kernel.d.ts.map +1 -0
- package/dist/core/ontology/builtins.d.ts +16 -0
- package/dist/core/ontology/builtins.d.ts.map +1 -0
- package/dist/core/ontology/core-ontology.d.ts +20 -0
- package/dist/core/ontology/core-ontology.d.ts.map +1 -0
- package/dist/core/ontology/index.d.ts +12 -0
- package/dist/core/ontology/index.d.ts.map +1 -0
- package/dist/core/ontology/registry.d.ts +70 -0
- package/dist/core/ontology/registry.d.ts.map +1 -0
- package/dist/core/ontology/types.d.ts +201 -0
- package/dist/core/ontology/types.d.ts.map +1 -0
- package/dist/core/ontology/validator.d.ts +34 -0
- package/dist/core/ontology/validator.d.ts.map +1 -0
- package/dist/core/persist/backend.d.ts +62 -0
- package/dist/core/persist/backend.d.ts.map +1 -0
- package/dist/core/persist/better-sqlite-backend.d.ts +33 -0
- package/dist/core/persist/better-sqlite-backend.d.ts.map +1 -0
- package/dist/core/persist/sqlite-backend.d.ts +43 -0
- package/dist/core/persist/sqlite-backend.d.ts.map +1 -0
- package/dist/core/plugins/index.d.ts +8 -0
- package/dist/core/plugins/index.d.ts.map +1 -0
- package/dist/core/plugins/registry.d.ts +69 -0
- package/dist/core/plugins/registry.d.ts.map +1 -0
- package/dist/core/plugins/types.d.ts +87 -0
- package/dist/core/plugins/types.d.ts.map +1 -0
- package/dist/core/query/datalog.d.ts +52 -0
- package/dist/core/query/datalog.d.ts.map +1 -0
- package/dist/core/query/engine.d.ts +42 -0
- package/dist/core/query/engine.d.ts.map +1 -0
- package/dist/core/query/index.d.ts +12 -0
- package/dist/core/query/index.d.ts.map +1 -0
- package/dist/core/query/parser.d.ts +37 -0
- package/dist/core/query/parser.d.ts.map +1 -0
- package/dist/core/query/types.d.ts +135 -0
- package/dist/core/query/types.d.ts.map +1 -0
- package/dist/core/store/eav-store.d.ts +111 -0
- package/dist/core/store/eav-store.d.ts.map +1 -0
- package/dist/db/index.d.ts +18 -0
- package/dist/db/index.d.ts.map +1 -0
- package/dist/db/index.js +85 -0
- package/dist/db/inspector.js +28 -0
- package/dist/db/trellis.css +1 -0
- package/dist/decisions/auto-capture.d.ts +31 -0
- package/dist/decisions/auto-capture.d.ts.map +1 -0
- package/dist/decisions/hooks.d.ts +48 -0
- package/dist/decisions/hooks.d.ts.map +1 -0
- package/dist/decisions/index.d.ts +36 -0
- package/dist/decisions/index.d.ts.map +1 -0
- package/dist/decisions/types.d.ts +73 -0
- package/dist/decisions/types.d.ts.map +1 -0
- package/dist/deploy-999q207z.js +10 -0
- package/dist/embeddings/auto-embed.d.ts +52 -0
- package/dist/embeddings/auto-embed.d.ts.map +1 -0
- package/dist/embeddings/chunker.d.ts +73 -0
- package/dist/embeddings/chunker.d.ts.map +1 -0
- package/dist/embeddings/index.d.ts +18 -0
- package/dist/embeddings/index.d.ts.map +1 -0
- package/dist/embeddings/model.d.ts +30 -0
- package/dist/embeddings/model.d.ts.map +1 -0
- package/dist/embeddings/search.d.ts +87 -0
- package/dist/embeddings/search.d.ts.map +1 -0
- package/dist/embeddings/store.d.ts +66 -0
- package/dist/embeddings/store.d.ts.map +1 -0
- package/dist/embeddings/types.d.ts +54 -0
- package/dist/embeddings/types.d.ts.map +1 -0
- package/dist/engine-y0724kjq.js +8 -0
- package/dist/engine.d.ts +218 -0
- package/dist/engine.d.ts.map +1 -0
- package/dist/evals/types.d.ts +29 -0
- package/dist/evals/types.d.ts.map +1 -0
- package/dist/garden/cluster.d.ts +57 -0
- package/dist/garden/cluster.d.ts.map +1 -0
- package/dist/garden/garden.d.ts +104 -0
- package/dist/garden/garden.d.ts.map +1 -0
- package/dist/garden/index.d.ts +15 -0
- package/dist/garden/index.d.ts.map +1 -0
- package/dist/git/git-exporter.d.ts +37 -0
- package/dist/git/git-exporter.d.ts.map +1 -0
- package/dist/git/git-importer.d.ts +36 -0
- package/dist/git/git-importer.d.ts.map +1 -0
- package/dist/git/git-reader.d.ts +63 -0
- package/dist/git/git-reader.d.ts.map +1 -0
- package/dist/git/index.d.ts +10 -0
- package/dist/git/index.d.ts.map +1 -0
- package/dist/identity/governance.d.ts +54 -0
- package/dist/identity/governance.d.ts.map +1 -0
- package/dist/identity/identity.d.ts +63 -0
- package/dist/identity/identity.d.ts.map +1 -0
- package/dist/identity/index.d.ts +10 -0
- package/dist/identity/index.d.ts.map +1 -0
- package/dist/identity/signing-middleware.d.ts +38 -0
- package/dist/identity/signing-middleware.d.ts.map +1 -0
- package/dist/import-s2b8e0ft.js +11 -0
- package/dist/{index-3ejh8k6v.js → index-0q7wbasy.js} +18 -4
- package/dist/index-0zk3fx2s.js +1004 -0
- package/dist/index-2r4jxwnb.js +32 -0
- package/dist/index-6n5dcebj.js +847 -0
- package/dist/index-7e27kvvj.js +292 -0
- package/dist/index-bmyt7k8n.js +90 -0
- package/dist/index-c9h37r6h.js +1 -0
- package/dist/{index-k5kf7sd0.js → index-hmdbnd4n.js} +1 -1
- package/dist/index-k5b0xskw.js +1 -0
- package/dist/index-n9f2qyh5.js +495 -0
- package/dist/{index-22jx9qsz.js → index-q31hfjja.js} +861 -51
- package/dist/index-skhn0agf.js +155 -0
- package/dist/{index-5m0g9r0y.js → index-w7ng765c.js} +4 -497
- package/dist/index-wt8rz4gn.js +132 -0
- package/dist/index-xzym9w0m.js +43 -0
- package/dist/index-y3d71wzd.js +77 -0
- package/dist/index-y6a4kj0p.js +43 -0
- package/dist/index-yhwjgfvj.js +342 -0
- package/dist/index-yp88he8n.js +316 -0
- package/dist/index.d.ts +25 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +21 -9
- package/dist/links/index.d.ts +16 -0
- package/dist/links/index.d.ts.map +1 -0
- package/dist/links/lifecycle.d.ts +112 -0
- package/dist/links/lifecycle.d.ts.map +1 -0
- package/dist/links/parser.d.ts +56 -0
- package/dist/links/parser.d.ts.map +1 -0
- package/dist/links/ref-index.d.ts +55 -0
- package/dist/links/ref-index.d.ts.map +1 -0
- package/dist/links/resolver.d.ts +90 -0
- package/dist/links/resolver.d.ts.map +1 -0
- package/dist/links/types.d.ts +70 -0
- package/dist/links/types.d.ts.map +1 -0
- package/dist/llm/provider.d.ts +11 -0
- package/dist/llm/provider.d.ts.map +1 -0
- package/dist/llm/types.d.ts +74 -0
- package/dist/llm/types.d.ts.map +1 -0
- package/dist/mcp/docs.d.ts +18 -0
- package/dist/mcp/docs.d.ts.map +1 -0
- package/dist/mcp/index.d.ts +15 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/server.d.ts +26 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/orchestration/types.d.ts +22 -0
- package/dist/orchestration/types.d.ts.map +1 -0
- package/dist/plugins/agent-memory/graph-context-manager.d.ts +75 -0
- package/dist/plugins/agent-memory/graph-context-manager.d.ts.map +1 -0
- package/dist/plugins/agent-memory/index.d.ts +30 -0
- package/dist/plugins/agent-memory/index.d.ts.map +1 -0
- package/dist/plugins/agent-memory/ontology.d.ts +13 -0
- package/dist/plugins/agent-memory/ontology.d.ts.map +1 -0
- package/dist/plugins/agent-memory/plugin.d.ts +17 -0
- package/dist/plugins/agent-memory/plugin.d.ts.map +1 -0
- package/dist/plugins/brand/cache.d.ts +18 -0
- package/dist/plugins/brand/cache.d.ts.map +1 -0
- package/dist/plugins/brand/catalog-generator.d.ts +89 -0
- package/dist/plugins/brand/catalog-generator.d.ts.map +1 -0
- package/dist/plugins/brand/constraints.d.ts +55 -0
- package/dist/plugins/brand/constraints.d.ts.map +1 -0
- package/dist/plugins/brand/index.d.ts +44 -0
- package/dist/plugins/brand/index.d.ts.map +1 -0
- package/dist/plugins/brand/mcp-tools.d.ts +101 -0
- package/dist/plugins/brand/mcp-tools.d.ts.map +1 -0
- package/dist/plugins/brand/ontology.d.ts +13 -0
- package/dist/plugins/brand/ontology.d.ts.map +1 -0
- package/dist/plugins/brand/plugin.d.ts +21 -0
- package/dist/plugins/brand/plugin.d.ts.map +1 -0
- package/dist/plugins/brand/voice-tone.d.ts +24 -0
- package/dist/plugins/brand/voice-tone.d.ts.map +1 -0
- package/dist/plugins/idea-garden/api.d.ts +26 -0
- package/dist/plugins/idea-garden/api.d.ts.map +1 -0
- package/dist/plugins/idea-garden/index.d.ts +12 -0
- package/dist/plugins/idea-garden/index.d.ts.map +1 -0
- package/dist/plugins/idea-garden/plugin.d.ts +16 -0
- package/dist/plugins/idea-garden/plugin.d.ts.map +1 -0
- package/dist/plugins/idea-garden/types.d.ts +22 -0
- package/dist/plugins/idea-garden/types.d.ts.map +1 -0
- package/dist/plugins/plan-approval/index.d.ts +36 -0
- package/dist/plugins/plan-approval/index.d.ts.map +1 -0
- package/dist/plugins/plan-approval/ontology.d.ts +11 -0
- package/dist/plugins/plan-approval/ontology.d.ts.map +1 -0
- package/dist/plugins/plan-approval/plan-manager.d.ts +104 -0
- package/dist/plugins/plan-approval/plan-manager.d.ts.map +1 -0
- package/dist/plugins/plan-approval/plugin.d.ts +110 -0
- package/dist/plugins/plan-approval/plugin.d.ts.map +1 -0
- package/dist/plugins/proactive-watcher/index.d.ts +28 -0
- package/dist/plugins/proactive-watcher/index.d.ts.map +1 -0
- package/dist/plugins/proactive-watcher/ontology.d.ts +8 -0
- package/dist/plugins/proactive-watcher/ontology.d.ts.map +1 -0
- package/dist/plugins/proactive-watcher/plugin.d.ts +20 -0
- package/dist/plugins/proactive-watcher/plugin.d.ts.map +1 -0
- package/dist/plugins/proactive-watcher/watcher-manager.d.ts +36 -0
- package/dist/plugins/proactive-watcher/watcher-manager.d.ts.map +1 -0
- package/dist/plugins/sprite-tools/checkpoint-middleware.d.ts +43 -0
- package/dist/plugins/sprite-tools/checkpoint-middleware.d.ts.map +1 -0
- package/dist/plugins/sprite-tools/index.d.ts +40 -0
- package/dist/plugins/sprite-tools/index.d.ts.map +1 -0
- package/dist/plugins/sprite-tools/plugin.d.ts +69 -0
- package/dist/plugins/sprite-tools/plugin.d.ts.map +1 -0
- package/dist/react/index.js +189 -0
- package/dist/scaffold/index.d.ts +13 -0
- package/dist/scaffold/index.d.ts.map +1 -0
- package/dist/scaffold/infer.d.ts +42 -0
- package/dist/scaffold/infer.d.ts.map +1 -0
- package/dist/scaffold/profile.d.ts +51 -0
- package/dist/scaffold/profile.d.ts.map +1 -0
- package/dist/scaffold/seed.d.ts +27 -0
- package/dist/scaffold/seed.d.ts.map +1 -0
- package/dist/scaffold/write.d.ts +53 -0
- package/dist/scaffold/write.d.ts.map +1 -0
- package/dist/sdk-snn5gad3.js +15 -0
- package/dist/semantic/csharp-parser.d.ts +12 -0
- package/dist/semantic/csharp-parser.d.ts.map +1 -0
- package/dist/semantic/go-parser.d.ts +12 -0
- package/dist/semantic/go-parser.d.ts.map +1 -0
- package/dist/semantic/index.d.ts +22 -0
- package/dist/semantic/index.d.ts.map +1 -0
- package/dist/semantic/java-parser.d.ts +12 -0
- package/dist/semantic/java-parser.d.ts.map +1 -0
- package/dist/semantic/python-parser.d.ts +12 -0
- package/dist/semantic/python-parser.d.ts.map +1 -0
- package/dist/semantic/ruby-parser.d.ts +12 -0
- package/dist/semantic/ruby-parser.d.ts.map +1 -0
- package/dist/semantic/rust-parser.d.ts +12 -0
- package/dist/semantic/rust-parser.d.ts.map +1 -0
- package/dist/semantic/semantic-merge.d.ts +20 -0
- package/dist/semantic/semantic-merge.d.ts.map +1 -0
- package/dist/semantic/ts-parser.d.ts +13 -0
- package/dist/semantic/ts-parser.d.ts.map +1 -0
- package/dist/semantic/types.d.ts +130 -0
- package/dist/semantic/types.d.ts.map +1 -0
- package/dist/server/auth.d.ts +72 -0
- package/dist/server/auth.d.ts.map +1 -0
- package/dist/server/deploy.d.ts +44 -0
- package/dist/server/deploy.d.ts.map +1 -0
- package/dist/server/import.d.ts +40 -0
- package/dist/server/import.d.ts.map +1 -0
- package/dist/server/index.d.ts +26 -0
- package/dist/server/index.d.ts.map +1 -0
- package/dist/server/index.js +90 -0
- package/dist/server/permissions.d.ts +84 -0
- package/dist/server/permissions.d.ts.map +1 -0
- package/dist/server/realtime.d.ts +78 -0
- package/dist/server/realtime.d.ts.map +1 -0
- package/dist/server/server.d.ts +43 -0
- package/dist/server/server.d.ts.map +1 -0
- package/dist/server/sprites.d.ts +26 -0
- package/dist/server/sprites.d.ts.map +1 -0
- package/dist/server/tenancy.d.ts +53 -0
- package/dist/server/tenancy.d.ts.map +1 -0
- package/dist/server/vm-config.d.ts +60 -0
- package/dist/server/vm-config.d.ts.map +1 -0
- package/dist/server-mrctdwzr.js +11 -0
- package/dist/sprites-vc4qbrp1.js +16 -0
- package/dist/streaming/types.d.ts +43 -0
- package/dist/streaming/types.d.ts.map +1 -0
- package/dist/sync/http-transport.d.ts +47 -0
- package/dist/sync/http-transport.d.ts.map +1 -0
- package/dist/sync/index.d.ts +22 -0
- package/dist/sync/index.d.ts.map +1 -0
- package/dist/sync/memory-transport.d.ts +27 -0
- package/dist/sync/memory-transport.d.ts.map +1 -0
- package/dist/sync/multi-repo.d.ts +82 -0
- package/dist/sync/multi-repo.d.ts.map +1 -0
- package/dist/sync/reconciler.d.ts +48 -0
- package/dist/sync/reconciler.d.ts.map +1 -0
- package/dist/sync/sync-engine.d.ts +65 -0
- package/dist/sync/sync-engine.d.ts.map +1 -0
- package/dist/sync/types.d.ts +71 -0
- package/dist/sync/types.d.ts.map +1 -0
- package/dist/sync/ws-transport.d.ts +41 -0
- package/dist/sync/ws-transport.d.ts.map +1 -0
- package/dist/tenancy-7d1g4ayp.js +13 -0
- package/dist/ui/client.html +460 -664
- package/dist/ui/server.d.ts +42 -0
- package/dist/ui/server.d.ts.map +1 -0
- package/dist/vcs/blob-store.d.ts +49 -0
- package/dist/vcs/blob-store.d.ts.map +1 -0
- package/dist/vcs/branch.d.ts +35 -0
- package/dist/vcs/branch.d.ts.map +1 -0
- package/dist/vcs/checkpoint.d.ts +24 -0
- package/dist/vcs/checkpoint.d.ts.map +1 -0
- package/dist/vcs/decompose.d.ts +19 -0
- package/dist/vcs/decompose.d.ts.map +1 -0
- package/dist/vcs/diff.d.ts +65 -0
- package/dist/vcs/diff.d.ts.map +1 -0
- package/dist/vcs/engine-context.d.ts +21 -0
- package/dist/vcs/engine-context.d.ts.map +1 -0
- package/dist/vcs/index.d.ts +23 -0
- package/dist/vcs/index.d.ts.map +1 -0
- package/dist/vcs/index.js +2 -2
- package/dist/vcs/issue.d.ts +159 -0
- package/dist/vcs/issue.d.ts.map +1 -0
- package/dist/vcs/merge.d.ts +55 -0
- package/dist/vcs/merge.d.ts.map +1 -0
- package/dist/vcs/milestone.d.ts +30 -0
- package/dist/vcs/milestone.d.ts.map +1 -0
- package/dist/vcs/ops.d.ts +27 -0
- package/dist/vcs/ops.d.ts.map +1 -0
- package/dist/vcs/types.d.ts +95 -0
- package/dist/vcs/types.d.ts.map +1 -0
- package/dist/vcs/vcs-middleware.d.ts +14 -0
- package/dist/vcs/vcs-middleware.d.ts.map +1 -0
- package/dist/vm-config-6xhsj6b3.js +22 -0
- package/dist/watcher/fs-watcher.d.ts +51 -0
- package/dist/watcher/fs-watcher.d.ts.map +1 -0
- package/dist/watcher/index.d.ts +9 -0
- package/dist/watcher/index.d.ts.map +1 -0
- package/dist/watcher/ingestion.d.ts +28 -0
- package/dist/watcher/ingestion.d.ts.map +1 -0
- package/package.json +57 -7
- package/dist/index-hybgxe40.js +0 -1174
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
(function(){"use strict";/**
|
|
2
|
+
* @vue/shared v3.5.31
|
|
3
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
4
|
+
* @license MIT
|
|
5
|
+
**/function Qe(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const B=process.env.NODE_ENV!=="production"?Object.freeze({}):{},yt=process.env.NODE_ENV!=="production"?Object.freeze([]):[],re=()=>{},Gs=()=>!1,It=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),jt=e=>e.startsWith("onUpdate:"),z=Object.assign,Yn=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},fr=Object.prototype.hasOwnProperty,H=(e,t)=>fr.call(e,t),T=Array.isArray,ut=e=>Ft(e)==="[object Map]",Js=e=>Ft(e)==="[object Set]",Ys=e=>Ft(e)==="[object Date]",$=e=>typeof e=="function",Q=e=>typeof e=="string",Fe=e=>typeof e=="symbol",U=e=>e!==null&&typeof e=="object",zn=e=>(U(e)||$(e))&&$(e.then)&&$(e.catch),zs=Object.prototype.toString,Ft=e=>zs.call(e),Xn=e=>Ft(e).slice(8,-1),hn=e=>Ft(e)==="[object Object]",Qn=e=>Q(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Lt=Qe(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ar=Qe("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),_n=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},dr=/-\w/g,ae=_n(e=>e.replace(dr,t=>t.slice(1).toUpperCase())),pr=/\B([A-Z])/g,ye=_n(e=>e.replace(pr,"-$1").toLowerCase()),gn=_n(e=>e.charAt(0).toUpperCase()+e.slice(1)),ft=_n(e=>e?`on${gn(e)}`:""),Le=(e,t)=>!Object.is(e,t),Nt=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},mn=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Zn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Xs=e=>{const t=Q(e)?Number(e):NaN;return isNaN(t)?e:t};let Qs;const kt=()=>Qs||(Qs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ht(e){if(T(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],o=Q(s)?mr(s):Ht(s);if(o)for(const i in o)t[i]=o[i]}return t}else if(Q(e)||U(e))return e}const hr=/;(?![^(]*\))/g,_r=/:([^]+)/,gr=/\/\*[^]*?\*\//g;function mr(e){const t={};return e.replace(gr,"").split(hr).forEach(n=>{if(n){const s=n.split(_r);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function at(e){let t="";if(Q(e))t=e;else if(T(e))for(let n=0;n<e.length;n++){const s=at(e[n]);s&&(t+=s+" ")}else if(U(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const vr="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",Er="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",br="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",yr=Qe(vr),Nr=Qe(Er),Or=Qe(br),wr=Qe("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly");function Zs(e){return!!e||e===""}function Dr(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=es(e[s],t[s]);return n}function es(e,t){if(e===t)return!0;let n=Ys(e),s=Ys(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Fe(e),s=Fe(t),n||s)return e===t;if(n=T(e),s=T(t),n||s)return n&&s?Dr(e,t):!1;if(n=U(e),s=U(t),n||s){if(!n||!s)return!1;const o=Object.keys(e).length,i=Object.keys(t).length;if(o!==i)return!1;for(const r in e){const l=e.hasOwnProperty(r),u=t.hasOwnProperty(r);if(l&&!u||!l&&u||!es(e[r],t[r]))return!1}}return String(e)===String(t)}const eo=e=>!!(e&&e.__v_isRef===!0),ne=e=>Q(e)?e:e==null?"":T(e)||U(e)&&(e.toString===zs||!$(e.toString))?eo(e)?ne(e.value):JSON.stringify(e,to,2):String(e),to=(e,t)=>eo(t)?to(e,t.value):ut(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,o],i)=>(n[ts(s,i)+" =>"]=o,n),{})}:Js(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ts(n))}:Fe(t)?ts(t):U(t)&&!T(t)&&!hn(t)?String(t):t,ts=(e,t="")=>{var n;return Fe(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
6
|
+
* @vue/reactivity v3.5.31
|
|
7
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
8
|
+
* @license MIT
|
|
9
|
+
**/function Te(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let Ne;class xr{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Ne,!t&&Ne&&(this.index=(Ne.scopes||(Ne.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=Ne;try{return Ne=this,t()}finally{Ne=n}}else process.env.NODE_ENV!=="production"&&Te("cannot run an inactive effect scope.")}on(){++this._on===1&&(this.prevScope=Ne,Ne=this)}off(){this._on>0&&--this._on===0&&(Ne=this.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 o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0}}}function Vr(){return Ne}let W;const ns=new WeakSet;class no{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,Ne&&Ne.active&&Ne.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ns.has(this)&&(ns.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||oo(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,uo(this),io(this);const t=W,n=Ae;W=this,Ae=!0;try{return this.fn()}finally{process.env.NODE_ENV!=="production"&&W!==this&&Te("Active effect was not restored correctly - this is likely a Vue internal bug."),ro(this),W=t,Ae=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)rs(t);this.deps=this.depsTail=void 0,uo(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ns.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){is(this)&&this.run()}get dirty(){return is(this)}}let so=0,Ut,Kt;function oo(e,t=!1){if(e.flags|=8,t){e.next=Kt,Kt=e;return}e.next=Ut,Ut=e}function ss(){so++}function os(){if(--so>0)return;if(Kt){let t=Kt;for(Kt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ut;){let t=Ut;for(Ut=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 io(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ro(e){let t,n=e.depsTail,s=n;for(;s;){const o=s.prevDep;s.version===-1?(s===n&&(n=o),rs(s),Sr(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=o}e.deps=t,e.depsTail=n}function is(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(lo(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function lo(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Bt)||(e.globalVersion=Bt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!is(e))))return;e.flags|=2;const t=e.dep,n=W,s=Ae;W=e,Ae=!0;try{io(e);const o=e.fn(e._value);(t.version===0||Le(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{W=n,Ae=s,ro(e),e.flags&=-3}}function rs(e,t=!1){const{dep:n,prevSub:s,nextSub:o}=e;if(s&&(s.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=s,e.nextSub=void 0),process.env.NODE_ENV!=="production"&&n.subsHead===e&&(n.subsHead=o),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)rs(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Sr(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ae=!0;const co=[];function Pe(){co.push(Ae),Ae=!1}function $e(){const e=co.pop();Ae=e===void 0?!0:e}function uo(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=W;W=void 0;try{t()}finally{W=n}}}let Bt=0;class Cr{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 ls{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,process.env.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!W||!Ae||W===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==W)n=this.activeLink=new Cr(W,this),W.deps?(n.prevDep=W.depsTail,W.depsTail.nextDep=n,W.depsTail=n):W.deps=W.depsTail=n,fo(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=W.depsTail,n.nextDep=void 0,W.depsTail.nextDep=n,W.depsTail=n,W.deps===n&&(W.deps=s)}return process.env.NODE_ENV!=="production"&&W.onTrack&&W.onTrack(z({effect:W},t)),n}trigger(t){this.version++,Bt++,this.notify(t)}notify(t){ss();try{if(process.env.NODE_ENV!=="production")for(let n=this.subsHead;n;n=n.nextSub)n.sub.onTrigger&&!(n.sub.flags&8)&&n.sub.onTrigger(z({effect:n.sub},t));for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{os()}}}function fo(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)fo(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),process.env.NODE_ENV!=="production"&&e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}}const cs=new WeakMap,dt=Symbol(process.env.NODE_ENV!=="production"?"Object iterate":""),us=Symbol(process.env.NODE_ENV!=="production"?"Map keys iterate":""),Wt=Symbol(process.env.NODE_ENV!=="production"?"Array iterate":"");function le(e,t,n){if(Ae&&W){let s=cs.get(e);s||cs.set(e,s=new Map);let o=s.get(n);o||(s.set(n,o=new ls),o.map=s,o.key=n),process.env.NODE_ENV!=="production"?o.track({target:e,type:t,key:n}):o.track()}}function ke(e,t,n,s,o,i){const r=cs.get(e);if(!r){Bt++;return}const l=u=>{u&&(process.env.NODE_ENV!=="production"?u.trigger({target:e,type:t,key:n,newValue:s,oldValue:o,oldTarget:i}):u.trigger())};if(ss(),t==="clear")r.forEach(l);else{const u=T(e),p=u&&Qn(n);if(u&&n==="length"){const d=Number(s);r.forEach((a,_)=>{(_==="length"||_===Wt||!Fe(_)&&_>=d)&&l(a)})}else switch((n!==void 0||r.has(void 0))&&l(r.get(n)),p&&l(r.get(Wt)),t){case"add":u?p&&l(r.get("length")):(l(r.get(dt)),ut(e)&&l(r.get(us)));break;case"delete":u||(l(r.get(dt)),ut(e)&&l(r.get(us)));break;case"set":ut(e)&&l(r.get(dt));break}}os()}function Ot(e){const t=j(e);return t===e?t:(le(t,"iterate",Wt),_e(e)?t:t.map(Re))}function vn(e){return le(e=j(e),"iterate",Wt),e}function He(e,t){return Me(e)?wt(it(e)?Re(t):t):Re(t)}const Tr={__proto__:null,[Symbol.iterator](){return fs(this,Symbol.iterator,e=>He(this,e))},concat(...e){return Ot(this).concat(...e.map(t=>T(t)?Ot(t):t))},entries(){return fs(this,"entries",e=>(e[1]=He(this,e[1]),e))},every(e,t){return Ze(this,"every",e,t,void 0,arguments)},filter(e,t){return Ze(this,"filter",e,t,n=>n.map(s=>He(this,s)),arguments)},find(e,t){return Ze(this,"find",e,t,n=>He(this,n),arguments)},findIndex(e,t){return Ze(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ze(this,"findLast",e,t,n=>He(this,n),arguments)},findLastIndex(e,t){return Ze(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ze(this,"forEach",e,t,void 0,arguments)},includes(...e){return as(this,"includes",e)},indexOf(...e){return as(this,"indexOf",e)},join(e){return Ot(this).join(e)},lastIndexOf(...e){return as(this,"lastIndexOf",e)},map(e,t){return Ze(this,"map",e,t,void 0,arguments)},pop(){return qt(this,"pop")},push(...e){return qt(this,"push",e)},reduce(e,...t){return ao(this,"reduce",e,t)},reduceRight(e,...t){return ao(this,"reduceRight",e,t)},shift(){return qt(this,"shift")},some(e,t){return Ze(this,"some",e,t,void 0,arguments)},splice(...e){return qt(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 qt(this,"unshift",e)},values(){return fs(this,"values",e=>He(this,e))}};function fs(e,t,n){const s=vn(e),o=s[t]();return s!==e&&!_e(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.done||(i.value=n(i.value)),i}),o}const Ar=Array.prototype;function Ze(e,t,n,s,o,i){const r=vn(e),l=r!==e&&!_e(e),u=r[t];if(u!==Ar[t]){const a=u.apply(e,i);return l?Re(a):a}let p=n;r!==e&&(l?p=function(a,_){return n.call(this,He(e,a),_,e)}:n.length>2&&(p=function(a,_){return n.call(this,a,_,e)}));const d=u.call(r,p,s);return l&&o?o(d):d}function ao(e,t,n,s){const o=vn(e),i=o!==e&&!_e(e);let r=n,l=!1;o!==e&&(i?(l=s.length===0,r=function(p,d,a){return l&&(l=!1,p=He(e,p)),n.call(this,p,He(e,d),a,e)}):n.length>3&&(r=function(p,d,a){return n.call(this,p,d,a,e)}));const u=o[t](r,...s);return l?He(e,u):u}function as(e,t,n){const s=j(e);le(s,"iterate",Wt);const o=s[t](...n);return(o===-1||o===!1)&&On(n[0])?(n[0]=j(n[0]),s[t](...n)):o}function qt(e,t,n=[]){Pe(),ss();const s=j(e)[t].apply(e,n);return os(),$e(),s}const Pr=Qe("__proto__,__v_isRef,__isVue"),po=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Fe));function $r(e){Fe(e)||(e=String(e));const t=j(this);return le(t,"has",e),t.hasOwnProperty(e)}class ho{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(o?i?yo:bo:i?Eo:vo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const r=T(t);if(!o){let u;if(r&&(u=Tr[n]))return u;if(n==="hasOwnProperty")return $r}const l=Reflect.get(t,n,se(t)?t:s);if((Fe(n)?po.has(n):Pr(n))||(o||le(t,"get",n),i))return l;if(se(l)){const u=r&&Qn(n)?l:l.value;return o&&U(u)?ps(u):u}return U(l)?o?ps(l):Gt(l):l}}class _o extends ho{constructor(t=!1){super(!1,t)}set(t,n,s,o){let i=t[n];const r=T(t)&&Qn(n);if(!this._isShallow){const p=Me(i);if(!_e(s)&&!Me(s)&&(i=j(i),s=j(s)),!r&&se(i)&&!se(s))return p?(process.env.NODE_ENV!=="production"&&Te(`Set operation on key "${String(n)}" failed: target is readonly.`,t[n]),!0):(i.value=s,!0)}const l=r?Number(n)<t.length:H(t,n),u=Reflect.set(t,n,s,se(t)?t:o);return t===j(o)&&(l?Le(s,i)&&ke(t,"set",n,s,i):ke(t,"add",n,s)),u}deleteProperty(t,n){const s=H(t,n),o=t[n],i=Reflect.deleteProperty(t,n);return i&&s&&ke(t,"delete",n,void 0,o),i}has(t,n){const s=Reflect.has(t,n);return(!Fe(n)||!po.has(n))&&le(t,"has",n),s}ownKeys(t){return le(t,"iterate",T(t)?"length":dt),Reflect.ownKeys(t)}}class go extends ho{constructor(t=!1){super(!0,t)}set(t,n){return process.env.NODE_ENV!=="production"&&Te(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return process.env.NODE_ENV!=="production"&&Te(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const Mr=new _o,Rr=new go,Ir=new _o(!0),jr=new go(!0),ds=e=>e,En=e=>Reflect.getPrototypeOf(e);function Fr(e,t,n){return function(...s){const o=this.__v_raw,i=j(o),r=ut(i),l=e==="entries"||e===Symbol.iterator&&r,u=e==="keys"&&r,p=o[e](...s),d=n?ds:t?wt:Re;return!t&&le(i,"iterate",u?us:dt),z(Object.create(p),{next(){const{value:a,done:_}=p.next();return _?{value:a,done:_}:{value:l?[d(a[0]),d(a[1])]:d(a),done:_}}})}}function bn(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";Te(`${gn(e)} operation ${n}failed: target is readonly.`,j(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function Lr(e,t){const n={get(o){const i=this.__v_raw,r=j(i),l=j(o);e||(Le(o,l)&&le(r,"get",o),le(r,"get",l));const{has:u}=En(r),p=t?ds:e?wt:Re;if(u.call(r,o))return p(i.get(o));if(u.call(r,l))return p(i.get(l));i!==r&&i.get(o)},get size(){const o=this.__v_raw;return!e&&le(j(o),"iterate",dt),o.size},has(o){const i=this.__v_raw,r=j(i),l=j(o);return e||(Le(o,l)&&le(r,"has",o),le(r,"has",l)),o===l?i.has(o):i.has(o)||i.has(l)},forEach(o,i){const r=this,l=r.__v_raw,u=j(l),p=t?ds:e?wt:Re;return!e&&le(u,"iterate",dt),l.forEach((d,a)=>o.call(i,p(d),p(a),r))}};return z(n,e?{add:bn("add"),set:bn("set"),delete:bn("delete"),clear:bn("clear")}:{add(o){const i=j(this),r=En(i),l=j(o),u=!t&&!_e(o)&&!Me(o)?l:o;return r.has.call(i,u)||Le(o,u)&&r.has.call(i,o)||Le(l,u)&&r.has.call(i,l)||(i.add(u),ke(i,"add",u,u)),this},set(o,i){!t&&!_e(i)&&!Me(i)&&(i=j(i));const r=j(this),{has:l,get:u}=En(r);let p=l.call(r,o);p?process.env.NODE_ENV!=="production"&&mo(r,l,o):(o=j(o),p=l.call(r,o));const d=u.call(r,o);return r.set(o,i),p?Le(i,d)&&ke(r,"set",o,i,d):ke(r,"add",o,i),this},delete(o){const i=j(this),{has:r,get:l}=En(i);let u=r.call(i,o);u?process.env.NODE_ENV!=="production"&&mo(i,r,o):(o=j(o),u=r.call(i,o));const p=l?l.call(i,o):void 0,d=i.delete(o);return u&&ke(i,"delete",o,void 0,p),d},clear(){const o=j(this),i=o.size!==0,r=process.env.NODE_ENV!=="production"?ut(o)?new Map(o):new Set(o):void 0,l=o.clear();return i&&ke(o,"clear",void 0,void 0,r),l}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=Fr(o,e,t)}),n}function yn(e,t){const n=Lr(e,t);return(s,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?s:Reflect.get(H(n,o)&&o in s?n:s,o,i)}const kr={get:yn(!1,!1)},Hr={get:yn(!1,!0)},Ur={get:yn(!0,!1)},Kr={get:yn(!0,!0)};function mo(e,t,n){const s=j(n);if(s!==n&&t.call(e,s)){const o=Xn(e);Te(`Reactive ${o} contains both the raw and reactive versions of the same object${o==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const vo=new WeakMap,Eo=new WeakMap,bo=new WeakMap,yo=new WeakMap;function Br(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:Br(Xn(e))}function Gt(e){return Me(e)?e:Nn(e,!1,Mr,kr,vo)}function qr(e){return Nn(e,!1,Ir,Hr,Eo)}function ps(e){return Nn(e,!0,Rr,Ur,bo)}function Ue(e){return Nn(e,!0,jr,Kr,yo)}function Nn(e,t,n,s,o){if(!U(e))return process.env.NODE_ENV!=="production"&&Te(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Wr(e);if(i===0)return e;const r=o.get(e);if(r)return r;const l=new Proxy(e,i===2?s:n);return o.set(e,l),l}function it(e){return Me(e)?it(e.__v_raw):!!(e&&e.__v_isReactive)}function Me(e){return!!(e&&e.__v_isReadonly)}function _e(e){return!!(e&&e.__v_isShallow)}function On(e){return e?!!e.__v_raw:!1}function j(e){const t=e&&e.__v_raw;return t?j(t):e}function Gr(e){return!H(e,"__v_skip")&&Object.isExtensible(e)&&mn(e,"__v_skip",!0),e}const Re=e=>U(e)?Gt(e):e,wt=e=>U(e)?ps(e):e;function se(e){return e?e.__v_isRef===!0:!1}function ge(e){return Jr(e,!1)}function Jr(e,t){return se(e)?e:new Yr(e,t)}class Yr{constructor(t,n){this.dep=new ls,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:j(t),this._value=n?t:Re(t),this.__v_isShallow=n}get value(){return process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||_e(t)||Me(t);t=s?t:j(t),Le(t,n)&&(this._rawValue=t,this._value=s?t:Re(t),process.env.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:n}):this.dep.trigger())}}function No(e){return se(e)?e.value:e}const zr={get:(e,t,n)=>t==="__v_raw"?e:No(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const o=e[t];return se(o)&&!se(n)?(o.value=n,!0):Reflect.set(e,t,n,s)}};function Oo(e){return it(e)?e:new Proxy(e,zr)}class Xr{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ls(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Bt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&W!==this)return oo(this,!0),!0;process.env.NODE_ENV}get value(){const t=process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return lo(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):process.env.NODE_ENV!=="production"&&Te("Write operation failed: computed value is readonly")}}function Qr(e,t,n=!1){let s,o;$(e)?s=e:(s=e.get,o=e.set);const i=new Xr(s,o,n);return process.env.NODE_ENV,i}const wn={},Dn=new WeakMap;let pt;function Zr(e,t=!1,n=pt){if(n){let s=Dn.get(n);s||Dn.set(n,s=[]),s.push(e)}else process.env.NODE_ENV!=="production"&&!t&&Te("onWatcherCleanup() was called when there was no active watcher to associate with.")}function el(e,t,n=B){const{immediate:s,deep:o,once:i,scheduler:r,augmentJob:l,call:u}=n,p=C=>{(n.onWarn||Te)("Invalid watch source: ",C,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},d=C=>o?C:_e(C)||o===!1||o===0?et(C,1):et(C);let a,_,O,M,S=!1,Z=!1;if(se(e)?(_=()=>e.value,S=_e(e)):it(e)?(_=()=>d(e),S=!0):T(e)?(Z=!0,S=e.some(C=>it(C)||_e(C)),_=()=>e.map(C=>{if(se(C))return C.value;if(it(C))return d(C);if($(C))return u?u(C,2):C();process.env.NODE_ENV!=="production"&&p(C)})):$(e)?t?_=u?()=>u(e,2):e:_=()=>{if(O){Pe();try{O()}finally{$e()}}const C=pt;pt=a;try{return u?u(e,3,[M]):e(M)}finally{pt=C}}:(_=re,process.env.NODE_ENV!=="production"&&p(e)),t&&o){const C=_,oe=o===!0?1/0:o;_=()=>et(C(),oe)}const Y=Vr(),L=()=>{a.stop(),Y&&Y.active&&Yn(Y.effects,a)};if(i&&t){const C=t;t=(...oe)=>{C(...oe),L()}}let k=Z?new Array(e.length).fill(wn):wn;const ue=C=>{if(!(!(a.flags&1)||!a.dirty&&!C))if(t){const oe=a.run();if(o||S||(Z?oe.some((he,ee)=>Le(he,k[ee])):Le(oe,k))){O&&O();const he=pt;pt=a;try{const ee=[oe,k===wn?void 0:Z&&k[0]===wn?[]:k,M];k=oe,u?u(t,3,ee):t(...ee)}finally{pt=he}}}else a.run()};return l&&l(ue),a=new no(_),a.scheduler=r?()=>r(ue,!1):ue,M=C=>Zr(C,!1,a),O=a.onStop=()=>{const C=Dn.get(a);if(C){if(u)u(C,4);else for(const oe of C)oe();Dn.delete(a)}},process.env.NODE_ENV!=="production"&&(a.onTrack=n.onTrack,a.onTrigger=n.onTrigger),t?s?ue(!0):k=a.run():r?r(ue.bind(null,!0),!0):a.run(),L.pause=a.pause.bind(a),L.resume=a.resume.bind(a),L.stop=L,L}function et(e,t=1/0,n){if(t<=0||!U(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,se(e))et(e.value,t,n);else if(T(e))for(let s=0;s<e.length;s++)et(e[s],t,n);else if(Js(e)||ut(e))e.forEach(s=>{et(s,t,n)});else if(hn(e)){for(const s in e)et(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&et(e[s],t,n)}return e}/**
|
|
10
|
+
* @vue/runtime-core v3.5.31
|
|
11
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
12
|
+
* @license MIT
|
|
13
|
+
**/const ht=[];function xn(e){ht.push(e)}function Vn(){ht.pop()}let hs=!1;function y(e,...t){if(hs)return;hs=!0,Pe();const n=ht.length?ht[ht.length-1].component:null,s=n&&n.appContext.config.warnHandler,o=tl();if(s)Dt(s,n,11,[e+t.map(i=>{var r,l;return(l=(r=i.toString)==null?void 0:r.call(i))!=null?l:JSON.stringify(i)}).join(""),n&&n.proxy,o.map(({vnode:i})=>`at <${un(n,i.type)}>`).join(`
|
|
14
|
+
`),o]);else{const i=[`[Vue warn]: ${e}`,...t];o.length&&i.push(`
|
|
15
|
+
`,...nl(o)),console.warn(...i)}$e(),hs=!1}function tl(){let e=ht[ht.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const s=e.component&&e.component.parent;e=s&&s.vnode}return t}function nl(e){const t=[];return e.forEach((n,s)=>{t.push(...s===0?[]:[`
|
|
16
|
+
`],...sl(n))}),t}function sl({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",s=e.component?e.component.parent==null:!1,o=` at <${un(e.component,e.type,s)}`,i=">"+n;return e.props?[o,...ol(e.props),i]:[o+i]}function ol(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(s=>{t.push(...wo(s,e[s]))}),n.length>3&&t.push(" ..."),t}function wo(e,t,n){return Q(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:se(t)?(t=wo(e,j(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):$(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=j(t),n?t:[`${e}=`,t])}const _s={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function Dt(e,t,n,s){try{return s?e(...s):e()}catch(o){Jt(o,t,n)}}function Ke(e,t,n,s){if($(e)){const o=Dt(e,t,n,s);return o&&zn(o)&&o.catch(i=>{Jt(i,t,n)}),o}if(T(e)){const o=[];for(let i=0;i<e.length;i++)o.push(Ke(e[i],t,n,s));return o}else process.env.NODE_ENV!=="production"&&y(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function Jt(e,t,n,s=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:r}=t&&t.appContext.config||B;if(t){let l=t.parent;const u=t.proxy,p=process.env.NODE_ENV!=="production"?_s[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const d=l.ec;if(d){for(let a=0;a<d.length;a++)if(d[a](e,u,p)===!1)return}l=l.parent}if(i){Pe(),Dt(i,null,10,[e,u,p]),$e();return}}il(e,n,o,s,r)}function il(e,t,n,s=!0,o=!1){if(process.env.NODE_ENV!=="production"){const i=_s[t];if(n&&xn(n),y(`Unhandled error${i?` during execution of ${i}`:""}`),n&&Vn(),s)throw e;console.error(e)}else{if(o)throw e;console.error(e)}}const me=[];let Be=-1;const xt=[];let rt=null,Vt=0;const Do=Promise.resolve();let Sn=null;const rl=100;function xo(e){const t=Sn||Do;return e?t.then(this?e.bind(this):e):t}function ll(e){let t=Be+1,n=me.length;for(;t<n;){const s=t+n>>>1,o=me[s],i=Yt(o);i<e||i===e&&o.flags&2?t=s+1:n=s}return t}function Cn(e){if(!(e.flags&1)){const t=Yt(e),n=me[me.length-1];!n||!(e.flags&2)&&t>=Yt(n)?me.push(e):me.splice(ll(t),0,e),e.flags|=1,Vo()}}function Vo(){Sn||(Sn=Do.then(Ao))}function So(e){T(e)?xt.push(...e):rt&&e.id===-1?rt.splice(Vt+1,0,e):e.flags&1||(xt.push(e),e.flags|=1),Vo()}function Co(e,t,n=Be+1){for(process.env.NODE_ENV!=="production"&&(t=t||new Map);n<me.length;n++){const s=me[n];if(s&&s.flags&2){if(e&&s.id!==e.uid||process.env.NODE_ENV!=="production"&&gs(t,s))continue;me.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function To(e){if(xt.length){const t=[...new Set(xt)].sort((n,s)=>Yt(n)-Yt(s));if(xt.length=0,rt){rt.push(...t);return}for(rt=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),Vt=0;Vt<rt.length;Vt++){const n=rt[Vt];process.env.NODE_ENV!=="production"&&gs(e,n)||(n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2)}rt=null,Vt=0}}const Yt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Ao(e){process.env.NODE_ENV!=="production"&&(e=e||new Map);const t=process.env.NODE_ENV!=="production"?n=>gs(e,n):re;try{for(Be=0;Be<me.length;Be++){const n=me[Be];if(n&&!(n.flags&8)){if(process.env.NODE_ENV!=="production"&&t(n))continue;n.flags&4&&(n.flags&=-2),Dt(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2)}}}finally{for(;Be<me.length;Be++){const n=me[Be];n&&(n.flags&=-2)}Be=-1,me.length=0,To(e),Sn=null,(me.length||xt.length)&&Ao(e)}}function gs(e,t){const n=e.get(t)||0;if(n>rl){const s=t.i,o=s&&Mi(s.type);return Jt(`Maximum recursive updates exceeded${o?` in component <${o}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,n+1),!1}let we=!1;const Po=e=>{try{return we}finally{we=e}},Tn=new Map;process.env.NODE_ENV!=="production"&&(kt().__VUE_HMR_RUNTIME__={createRecord:ms($o),rerender:ms(fl),reload:ms(al)});const _t=new Map;function cl(e){const t=e.type.__hmrId;let n=_t.get(t);n||($o(t,e.type),n=_t.get(t)),n.instances.add(e)}function ul(e){_t.get(e.type.__hmrId).instances.delete(e)}function $o(e,t){return _t.has(e)?!1:(_t.set(e,{initialDef:An(t),instances:new Set}),!0)}function An(e){return Ri(e)?e.__vccOpts:e}function fl(e,t){const n=_t.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(s=>{t&&(s.render=t,An(s.type).render=t),s.renderCache=[],we=!0,s.job.flags&8||s.update(),we=!1}))}function al(e,t){const n=_t.get(e);if(!n)return;t=An(t),Mo(n.initialDef,t);const s=[...n.instances];for(let o=0;o<s.length;o++){const i=s[o],r=An(i.type);let l=Tn.get(r);l||(r!==n.initialDef&&Mo(r,t),Tn.set(r,l=new Set)),l.add(i),i.appContext.propsCache.delete(i.type),i.appContext.emitsCache.delete(i.type),i.appContext.optionsCache.delete(i.type),i.ceReload?(l.add(i),i.ceReload(t.styles),l.delete(i)):i.parent?Cn(()=>{i.job.flags&8||(we=!0,i.parent.update(),we=!1,l.delete(i))}):i.appContext.reload?i.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),i.root.ce&&i!==i.root&&i.root.ce._removeChildStyle(r)}So(()=>{Tn.clear()})}function Mo(e,t){z(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function ms(e){return(t,n)=>{try{return e(t,n)}catch(s){console.error(s),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Ie,zt=[],vs=!1;function Xt(e,...t){Ie?Ie.emit(e,...t):vs||zt.push({event:e,args:t})}function Es(e,t){var n,s;Ie=e,Ie?(Ie.enabled=!0,zt.forEach(({event:o,args:i})=>Ie.emit(o,...i)),zt=[]):typeof window<"u"&&window.HTMLElement&&!((s=(n=window.navigator)==null?void 0:n.userAgent)!=null&&s.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(i=>{Es(i,t)}),setTimeout(()=>{Ie||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,vs=!0,zt=[])},3e3)):(vs=!0,zt=[])}function dl(e,t){Xt("app:init",e,t,{Fragment:de,Text:nn,Comment:De,Static:Hn})}function pl(e){Xt("app:unmount",e)}const hl=bs("component:added"),Ro=bs("component:updated"),_l=bs("component:removed"),gl=e=>{Ie&&typeof Ie.cleanupBuffer=="function"&&!Ie.cleanupBuffer(e)&&_l(e)};function bs(e){return t=>{Xt(e,t.appContext.app,t.uid,t.parent?t.parent.uid:void 0,t)}}const ml=Io("perf:start"),vl=Io("perf:end");function Io(e){return(t,n,s)=>{Xt(e,t.appContext.app,t.uid,t,n,s)}}function El(e,t,n){Xt("component:emit",e.appContext.app,e,t,n)}let ve=null,jo=null;function Pn(e){const t=ve;return ve=e,jo=e&&e.type.__scopeId||null,t}function bl(e,t=ve,n){if(!t||e._n)return e;const s=(...o)=>{s._d&&Oi(-1);const i=Pn(t);let r;try{r=e(...o)}finally{Pn(i),s._d&&Oi(1)}return process.env.NODE_ENV!=="production"&&Ro(t),r};return s._n=!0,s._c=!0,s._d=!0,s}function Fo(e){ar(e)&&y("Do not use built-in directive ids as custom directive id: "+e)}function yl(e,t){if(ve===null)return process.env.NODE_ENV!=="production"&&y("withDirectives can only be used inside render functions."),e;const n=Wn(ve),s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,r,l,u=B]=t[o];i&&($(i)&&(i={mounted:i,updated:i}),i.deep&&et(r),s.push({dir:i,instance:n,value:r,oldValue:void 0,arg:l,modifiers:u}))}return e}function gt(e,t,n,s){const o=e.dirs,i=t&&t.dirs;for(let r=0;r<o.length;r++){const l=o[r];i&&(l.oldValue=i[r].value);let u=l.dir[s];u&&(Pe(),Ke(u,n,8,[e.el,l,e,t]),$e())}}function Nl(e,t){if(process.env.NODE_ENV!=="production"&&(!ce||ce.isMounted)&&y("provide() can only be used inside setup()."),ce){let n=ce.provides;const s=ce.parent&&ce.parent.provides;s===n&&(n=ce.provides=Object.create(s)),n[e]=t}}function $n(e,t,n=!1){const s=Si();if(s||St){let o=St?St._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&$(t)?t.call(s&&s.proxy):t;process.env.NODE_ENV!=="production"&&y(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&y("inject() can only be used inside setup() or functional components.")}const Ol=Symbol.for("v-scx"),wl=()=>{{const e=$n(Ol);return e||process.env.NODE_ENV!=="production"&&y("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function ys(e,t,n){return process.env.NODE_ENV!=="production"&&!$(t)&&y("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Lo(e,t,n)}function Lo(e,t,n=B){const{immediate:s,deep:o,flush:i,once:r}=n;process.env.NODE_ENV!=="production"&&!t&&(s!==void 0&&y('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&y('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&y('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const l=z({},n);process.env.NODE_ENV!=="production"&&(l.onWarn=y);const u=t&&s||!t&&i!=="post";let p;if(cn){if(i==="sync"){const O=wl();p=O.__watcherHandles||(O.__watcherHandles=[])}else if(!u){const O=()=>{};return O.stop=re,O.resume=re,O.pause=re,O}}const d=ce;l.call=(O,M,S)=>Ke(O,d,M,S);let a=!1;i==="post"?l.scheduler=O=>{Oe(O,d&&d.suspense)}:i!=="sync"&&(a=!0,l.scheduler=(O,M)=>{M?O():Cn(O)}),l.augmentJob=O=>{t&&(O.flags|=4),a&&(O.flags|=2,d&&(O.id=d.uid,O.i=d))};const _=el(e,t,l);return cn&&(p?p.push(_):u&&_()),_}function Dl(e,t,n){const s=this.proxy,o=Q(e)?e.includes(".")?ko(s,e):()=>s[e]:e.bind(s,s);let i;$(t)?i=t:(i=t.handler,n=t);const r=ln(this),l=Lo(o,i.bind(s),n);return r(),l}function ko(e,t){const n=t.split(".");return()=>{let s=e;for(let o=0;o<n.length&&s;o++)s=s[n[o]];return s}}const xl=Symbol("_vte"),Vl=e=>e.__isTeleport,Sl=Symbol("_leaveCb");function Ns(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ns(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 Ho(e,t){return $(e)?z({name:e.name},t,{setup:e}):e}function Uo(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}const Ko=new WeakSet;function Bo(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Mn=new WeakMap;function Qt(e,t,n,s,o=!1){if(T(e)){e.forEach((S,Z)=>Qt(S,t&&(T(t)?t[Z]:t),n,s,o));return}if(Zt(s)&&!o){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Qt(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?Wn(s.component):s.el,r=o?null:i,{i:l,r:u}=e;if(process.env.NODE_ENV!=="production"&&!l){y("Missing ref owner context. ref cannot be used on hoisted vnodes. A vnode with ref must be created inside the render function.");return}const p=t&&t.r,d=l.refs===B?l.refs={}:l.refs,a=l.setupState,_=j(a),O=a===B?Gs:S=>process.env.NODE_ENV!=="production"&&(H(_,S)&&!se(_[S])&&y(`Template ref "${S}" used on a non-ref value. It will not work in the production build.`),Ko.has(_[S]))||Bo(d,S)?!1:H(_,S),M=(S,Z)=>!(process.env.NODE_ENV!=="production"&&Ko.has(S)||Z&&Bo(d,Z));if(p!=null&&p!==u){if(Wo(t),Q(p))d[p]=null,O(p)&&(a[p]=null);else if(se(p)){const S=t;M(p,S.k)&&(p.value=null),S.k&&(d[S.k]=null)}}if($(u))Dt(u,l,12,[r,d]);else{const S=Q(u),Z=se(u);if(S||Z){const Y=()=>{if(e.f){const L=S?O(u)?a[u]:d[u]:M(u)||!e.k?u.value:d[e.k];if(o)T(L)&&Yn(L,i);else if(T(L))L.includes(i)||L.push(i);else if(S)d[u]=[i],O(u)&&(a[u]=d[u]);else{const k=[i];M(u,e.k)&&(u.value=k),e.k&&(d[e.k]=k)}}else S?(d[u]=r,O(u)&&(a[u]=r)):Z?(M(u,e.k)&&(u.value=r),e.k&&(d[e.k]=r)):process.env.NODE_ENV!=="production"&&y("Invalid template ref type:",u,`(${typeof u})`)};if(r){const L=()=>{Y(),Mn.delete(e)};L.id=-1,Mn.set(e,L),Oe(L,n)}else Wo(e),Y()}else process.env.NODE_ENV!=="production"&&y("Invalid template ref type:",u,`(${typeof u})`)}}function Wo(e){const t=Mn.get(e);t&&(t.flags|=8,Mn.delete(e))}kt().requestIdleCallback,kt().cancelIdleCallback;const Zt=e=>!!e.type.__asyncLoader,Os=e=>e.type.__isKeepAlive;function Cl(e,t){qo(e,"a",t)}function Tl(e,t){qo(e,"da",t)}function qo(e,t,n=ce){const s=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Rn(t,s,n),n){let o=n.parent;for(;o&&o.parent;)Os(o.parent.vnode)&&Al(s,t,n,o),o=o.parent}}function Al(e,t,n,s){const o=Rn(t,e,s,!0);ws(()=>{Yn(s[t],o)},n)}function Rn(e,t,n=ce,s=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...r)=>{Pe();const l=ln(n),u=Ke(t,n,e,r);return l(),$e(),u});return s?o.unshift(i):o.push(i),i}else if(process.env.NODE_ENV!=="production"){const o=ft(_s[e].replace(/ hook$/,""));y(`${o} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const tt=e=>(t,n=ce)=>{(!cn||e==="sp")&&Rn(e,(...s)=>t(...s),n)},Pl=tt("bm"),Go=tt("m"),$l=tt("bu"),Ml=tt("u"),Rl=tt("bum"),ws=tt("um"),Il=tt("sp"),jl=tt("rtg"),Fl=tt("rtc");function Ll(e,t=ce){Rn("ec",e,t)}const kl=Symbol.for("v-ndc");function mt(e,t,n,s){let o;const i=n,r=T(e);if(r||Q(e)){const l=r&&it(e);let u=!1,p=!1;l&&(u=!_e(e),p=Me(e),e=vn(e)),o=new Array(e.length);for(let d=0,a=e.length;d<a;d++)o[d]=t(u?p?wt(Re(e[d])):Re(e[d]):e[d],d,void 0,i)}else if(typeof e=="number")if(process.env.NODE_ENV!=="production"&&(!Number.isInteger(e)||e<0))y(`The v-for range expects a positive integer value but got ${e}.`),o=[];else{o=new Array(e);for(let l=0;l<e;l++)o[l]=t(l+1,l,void 0,i)}else if(U(e))if(e[Symbol.iterator])o=Array.from(e,(l,u)=>t(l,u,void 0,i));else{const l=Object.keys(e);o=new Array(l.length);for(let u=0,p=l.length;u<p;u++){const d=l[u];o[u]=t(e[d],d,u,i)}}else o=[];return o}const Ds=e=>e?Ti(e)?Wn(e):Ds(e.parent):null,vt=z(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>process.env.NODE_ENV!=="production"?Ue(e.props):e.props,$attrs:e=>process.env.NODE_ENV!=="production"?Ue(e.attrs):e.attrs,$slots:e=>process.env.NODE_ENV!=="production"?Ue(e.slots):e.slots,$refs:e=>process.env.NODE_ENV!=="production"?Ue(e.refs):e.refs,$parent:e=>Ds(e.parent),$root:e=>Ds(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Qo(e),$forceUpdate:e=>e.f||(e.f=()=>{Cn(e.update)}),$nextTick:e=>e.n||(e.n=xo.bind(e.proxy)),$watch:e=>Dl.bind(e)}),xs=e=>e==="_"||e==="$",Vs=(e,t)=>e!==B&&!e.__isScriptSetup&&H(e,t),Jo={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:o,props:i,accessCache:r,type:l,appContext:u}=e;if(process.env.NODE_ENV!=="production"&&t==="__isVue")return!0;if(t[0]!=="$"){const _=r[t];if(_!==void 0)switch(_){case 1:return s[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(Vs(s,t))return r[t]=1,s[t];if(o!==B&&H(o,t))return r[t]=2,o[t];if(H(i,t))return r[t]=3,i[t];if(n!==B&&H(n,t))return r[t]=4,n[t];Ss&&(r[t]=0)}}const p=vt[t];let d,a;if(p)return t==="$attrs"?(le(e.attrs,"get",""),process.env.NODE_ENV!=="production"&&Fn()):process.env.NODE_ENV!=="production"&&t==="$slots"&&le(e,"get",t),p(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==B&&H(n,t))return r[t]=4,n[t];if(a=u.config.globalProperties,H(a,t))return a[t];process.env.NODE_ENV!=="production"&&ve&&(!Q(t)||t.indexOf("__v")!==0)&&(o!==B&&xs(t[0])&&H(o,t)?y(`Property ${JSON.stringify(t)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):e===ve&&y(`Property ${JSON.stringify(t)} was accessed during render but is not defined on instance.`))},set({_:e},t,n){const{data:s,setupState:o,ctx:i}=e;return Vs(o,t)?(o[t]=n,!0):process.env.NODE_ENV!=="production"&&o.__isScriptSetup&&H(o,t)?(y(`Cannot mutate <script setup> binding "${t}" from Options API.`),!1):s!==B&&H(s,t)?(s[t]=n,!0):H(e.props,t)?(process.env.NODE_ENV!=="production"&&y(`Attempting to mutate prop "${t}". Props are readonly.`),!1):t[0]==="$"&&t.slice(1)in e?(process.env.NODE_ENV!=="production"&&y(`Attempting to mutate public property "${t}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&t in e.appContext.config.globalProperties?Object.defineProperty(i,t,{enumerable:!0,configurable:!0,value:n}):i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:o,props:i,type:r}},l){let u;return!!(n[l]||e!==B&&l[0]!=="$"&&H(e,l)||Vs(t,l)||H(i,l)||H(s,l)||H(vt,l)||H(o.config.globalProperties,l)||(u=r.__cssModules)&&u[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:H(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};process.env.NODE_ENV!=="production"&&(Jo.ownKeys=e=>(y("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));function Hl(e){const t={};return Object.defineProperty(t,"_",{configurable:!0,enumerable:!1,get:()=>e}),Object.keys(vt).forEach(n=>{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,get:()=>vt[n](e),set:re})}),t}function Ul(e){const{ctx:t,propsOptions:[n]}=e;n&&Object.keys(n).forEach(s=>{Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>e.props[s],set:re})})}function Kl(e){const{ctx:t,setupState:n}=e;Object.keys(j(n)).forEach(s=>{if(!n.__isScriptSetup){if(xs(s[0])){y(`setup() return property ${JSON.stringify(s)} should not start with "$" or "_" which are reserved prefixes for Vue internals.`);return}Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>n[s],set:re})}})}function Yo(e){return T(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Bl(){const e=Object.create(null);return(t,n)=>{e[n]?y(`${t} property "${n}" is already defined in ${e[n]}.`):e[n]=t}}let Ss=!0;function Wl(e){const t=Qo(e),n=e.proxy,s=e.ctx;Ss=!1,t.beforeCreate&&zo(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:r,watch:l,provide:u,inject:p,created:d,beforeMount:a,mounted:_,beforeUpdate:O,updated:M,activated:S,deactivated:Z,beforeDestroy:Y,beforeUnmount:L,destroyed:k,unmounted:ue,render:C,renderTracked:oe,renderTriggered:he,errorCaptured:ee,serverPrefetch:fe,expose:Ce,inheritAttrs:Ge,components:Ve,directives:bt,filters:Gn}=t,Je=process.env.NODE_ENV!=="production"?Bl():null;if(process.env.NODE_ENV!=="production"){const[V]=e.propsOptions;if(V)for(const D in V)Je("Props",D)}if(p&&ql(p,s,Je),r)for(const V in r){const D=r[V];$(D)?(process.env.NODE_ENV!=="production"?Object.defineProperty(s,V,{value:D.bind(n),configurable:!0,enumerable:!0,writable:!0}):s[V]=D.bind(n),process.env.NODE_ENV!=="production"&&Je("Methods",V)):process.env.NODE_ENV!=="production"&&y(`Method "${V}" has type "${typeof D}" in the component definition. Did you reference the function correctly?`)}if(o){process.env.NODE_ENV!=="production"&&!$(o)&&y("The data option must be a function. Plain object usage is no longer supported.");const V=o.call(n,n);if(process.env.NODE_ENV!=="production"&&zn(V)&&y("data() returned a Promise - note data() cannot be async; If you intend to perform data fetching before component renders, use async setup() + <Suspense>."),!U(V))process.env.NODE_ENV!=="production"&&y("data() should return an object.");else if(e.data=Gt(V),process.env.NODE_ENV!=="production")for(const D in V)Je("Data",D),xs(D[0])||Object.defineProperty(s,D,{configurable:!0,enumerable:!0,get:()=>V[D],set:re})}if(Ss=!0,i)for(const V in i){const D=i[V],te=$(D)?D.bind(n,n):$(D.get)?D.get.bind(n,n):re;process.env.NODE_ENV!=="production"&&te===re&&y(`Computed property "${V}" has no getter.`);const Mt=!$(D)&&$(D.set)?D.set.bind(n):process.env.NODE_ENV!=="production"?()=>{y(`Write operation failed: computed property "${V}" is readonly.`)}:re,fn=Ii({get:te,set:Mt});Object.defineProperty(s,V,{enumerable:!0,configurable:!0,get:()=>fn.value,set:Rt=>fn.value=Rt}),process.env.NODE_ENV!=="production"&&Je("Computed",V)}if(l)for(const V in l)Xo(l[V],s,n,V);if(u){const V=$(u)?u.call(n):u;Reflect.ownKeys(V).forEach(D=>{Nl(D,V[D])})}d&&zo(d,e,"c");function F(V,D){T(D)?D.forEach(te=>V(te.bind(n))):D&&V(D.bind(n))}if(F(Pl,a),F(Go,_),F($l,O),F(Ml,M),F(Cl,S),F(Tl,Z),F(Ll,ee),F(Fl,oe),F(jl,he),F(Rl,L),F(ws,ue),F(Il,fe),T(Ce))if(Ce.length){const V=e.exposed||(e.exposed={});Ce.forEach(D=>{Object.defineProperty(V,D,{get:()=>n[D],set:te=>n[D]=te,enumerable:!0})})}else e.exposed||(e.exposed={});C&&e.render===re&&(e.render=C),Ge!=null&&(e.inheritAttrs=Ge),Ve&&(e.components=Ve),bt&&(e.directives=bt),fe&&Uo(e)}function ql(e,t,n=re){T(e)&&(e=Cs(e));for(const s in e){const o=e[s];let i;U(o)?"default"in o?i=$n(o.from||s,o.default,!0):i=$n(o.from||s):i=$n(o),se(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:r=>i.value=r}):t[s]=i,process.env.NODE_ENV!=="production"&&n("Inject",s)}}function zo(e,t,n){Ke(T(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Xo(e,t,n,s){let o=s.includes(".")?ko(n,s):()=>n[s];if(Q(e)){const i=t[e];$(i)?ys(o,i):process.env.NODE_ENV!=="production"&&y(`Invalid watch handler specified by key "${e}"`,i)}else if($(e))ys(o,e.bind(n));else if(U(e))if(T(e))e.forEach(i=>Xo(i,t,n,s));else{const i=$(e.handler)?e.handler.bind(n):t[e.handler];$(i)?ys(o,i,e):process.env.NODE_ENV!=="production"&&y(`Invalid watch handler specified by key "${e.handler}"`,i)}else process.env.NODE_ENV!=="production"&&y(`Invalid watch option: "${s}"`,e)}function Qo(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:r}}=e.appContext,l=i.get(t);let u;return l?u=l:!o.length&&!n&&!s?u=t:(u={},o.length&&o.forEach(p=>In(u,p,r,!0)),In(u,t,r)),U(t)&&i.set(t,u),u}function In(e,t,n,s=!1){const{mixins:o,extends:i}=t;i&&In(e,i,n,!0),o&&o.forEach(r=>In(e,r,n,!0));for(const r in t)if(s&&r==="expose")process.env.NODE_ENV!=="production"&&y('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const l=Gl[r]||n&&n[r];e[r]=l?l(e[r],t[r]):t[r]}return e}const Gl={data:Zo,props:ei,emits:ei,methods:en,computed:en,beforeCreate:Ee,created:Ee,beforeMount:Ee,mounted:Ee,beforeUpdate:Ee,updated:Ee,beforeDestroy:Ee,beforeUnmount:Ee,destroyed:Ee,unmounted:Ee,activated:Ee,deactivated:Ee,errorCaptured:Ee,serverPrefetch:Ee,components:en,directives:en,watch:Yl,provide:Zo,inject:Jl};function Zo(e,t){return t?e?function(){return z($(e)?e.call(this,this):e,$(t)?t.call(this,this):t)}:t:e}function Jl(e,t){return en(Cs(e),Cs(t))}function Cs(e){if(T(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ee(e,t){return e?[...new Set([].concat(e,t))]:t}function en(e,t){return e?z(Object.create(null),e,t):t}function ei(e,t){return e?T(e)&&T(t)?[...new Set([...e,...t])]:z(Object.create(null),Yo(e),Yo(t??{})):t}function Yl(e,t){if(!e)return t;if(!t)return e;const n=z(Object.create(null),e);for(const s in t)n[s]=Ee(e[s],t[s]);return n}function ti(){return{app:null,config:{isNativeTag:Gs,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let zl=0;function Xl(e,t){return function(s,o=null){$(s)||(s=z({},s)),o!=null&&!U(o)&&(process.env.NODE_ENV!=="production"&&y("root props passed to app.mount() must be an object."),o=null);const i=ti(),r=new WeakSet,l=[];let u=!1;const p=i.app={_uid:zl++,_component:s,_props:o,_container:null,_context:i,_instance:null,version:ji,get config(){return i.config},set config(d){process.env.NODE_ENV!=="production"&&y("app.config cannot be replaced. Modify individual options instead.")},use(d,...a){return r.has(d)?process.env.NODE_ENV!=="production"&&y("Plugin has already been applied to target app."):d&&$(d.install)?(r.add(d),d.install(p,...a)):$(d)?(r.add(d),d(p,...a)):process.env.NODE_ENV!=="production"&&y('A plugin must either be a function or an object with an "install" function.'),p},mixin(d){return i.mixins.includes(d)?process.env.NODE_ENV!=="production"&&y("Mixin has already been applied to target app"+(d.name?`: ${d.name}`:"")):i.mixins.push(d),p},component(d,a){return process.env.NODE_ENV!=="production"&&Ls(d,i.config),a?(process.env.NODE_ENV!=="production"&&i.components[d]&&y(`Component "${d}" has already been registered in target app.`),i.components[d]=a,p):i.components[d]},directive(d,a){return process.env.NODE_ENV!=="production"&&Fo(d),a?(process.env.NODE_ENV!=="production"&&i.directives[d]&&y(`Directive "${d}" has already been registered in target app.`),i.directives[d]=a,p):i.directives[d]},mount(d,a,_){if(u)process.env.NODE_ENV!=="production"&&y("App has already been mounted.\nIf you want to remount the same app, move your app creation logic into a factory function and create fresh app instances for each mount - e.g. `const createMyApp = () => createApp(App)`");else{process.env.NODE_ENV!=="production"&&d.__vue_app__&&y("There is already an app instance mounted on the host container.\n If you want to mount another app on the same host container, you need to unmount the previous app by calling `app.unmount()` first.");const O=p._ceVNode||We(s,o);return O.appContext=i,_===!0?_="svg":_===!1&&(_=void 0),process.env.NODE_ENV!=="production"&&(i.reload=()=>{const M=lt(O);M.el=null,e(M,d,_)}),e(O,d,_),u=!0,p._container=d,d.__vue_app__=p,process.env.NODE_ENV!=="production"&&(p._instance=O.component,dl(p,ji)),Wn(O.component)}},onUnmount(d){process.env.NODE_ENV!=="production"&&typeof d!="function"&&y(`Expected function as first argument to app.onUnmount(), but got ${typeof d}`),l.push(d)},unmount(){u?(Ke(l,p._instance,16),e(null,p._container),process.env.NODE_ENV!=="production"&&(p._instance=null,pl(p)),delete p._container.__vue_app__):process.env.NODE_ENV!=="production"&&y("Cannot unmount an app that is not mounted.")},provide(d,a){return process.env.NODE_ENV!=="production"&&d in i.provides&&(H(i.provides,d)?y(`App already provides property with key "${String(d)}". It will be overwritten with the new value.`):y(`App already provides property with key "${String(d)}" inherited from its parent element. It will be overwritten with the new value.`)),i.provides[d]=a,p},runWithContext(d){const a=St;St=p;try{return d()}finally{St=a}}};return p}}let St=null;const Ql=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ae(t)}Modifiers`]||e[`${ye(t)}Modifiers`];function Zl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||B;if(process.env.NODE_ENV!=="production"){const{emitsOptions:d,propsOptions:[a]}=e;if(d)if(!(t in d))(!a||!(ft(ae(t))in a))&&y(`Component emitted event "${t}" but it is neither declared in the emits option nor as an "${ft(ae(t))}" prop.`);else{const _=d[t];$(_)&&(_(...n)||y(`Invalid event arguments: event validation failed for event "${t}".`))}}let o=n;const i=t.startsWith("update:"),r=i&&Ql(s,t.slice(7));if(r&&(r.trim&&(o=n.map(d=>Q(d)?d.trim():d)),r.number&&(o=n.map(Zn))),process.env.NODE_ENV!=="production"&&El(e,t,o),process.env.NODE_ENV!=="production"){const d=t.toLowerCase();d!==t&&s[ft(d)]&&y(`Event "${d}" is emitted in component ${un(e,e.type)} but the handler is registered for "${t}". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "${ye(t)}" instead of "${t}".`)}let l,u=s[l=ft(t)]||s[l=ft(ae(t))];!u&&i&&(u=s[l=ft(ye(t))]),u&&Ke(u,e,6,o);const p=s[l+"Once"];if(p){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ke(p,e,6,o)}}const ec=new WeakMap;function ni(e,t,n=!1){const s=n?ec:t.emitsCache,o=s.get(e);if(o!==void 0)return o;const i=e.emits;let r={},l=!1;if(!$(e)){const u=p=>{const d=ni(p,t,!0);d&&(l=!0,z(r,d))};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!i&&!l?(U(e)&&s.set(e,null),null):(T(i)?i.forEach(u=>r[u]=null):z(r,i),U(e)&&s.set(e,r),r)}function jn(e,t){return!e||!It(t)?!1:(t=t.slice(2).replace(/Once$/,""),H(e,t[0].toLowerCase()+t.slice(1))||H(e,ye(t))||H(e,t))}let Ts=!1;function Fn(){Ts=!0}function si(e){const{type:t,vnode:n,proxy:s,withProxy:o,propsOptions:[i],slots:r,attrs:l,emit:u,render:p,renderCache:d,props:a,data:_,setupState:O,ctx:M,inheritAttrs:S}=e,Z=Pn(e);let Y,L;process.env.NODE_ENV!=="production"&&(Ts=!1);try{if(n.shapeFlag&4){const C=o||s,oe=process.env.NODE_ENV!=="production"&&O.__isScriptSetup?new Proxy(C,{get(he,ee,fe){return y(`Property '${String(ee)}' was accessed via 'this'. Avoid using 'this' in templates.`),Reflect.get(he,ee,fe)}}):C;Y=je(p.call(oe,C,d,process.env.NODE_ENV!=="production"?Ue(a):a,O,_,M)),L=l}else{const C=t;process.env.NODE_ENV!=="production"&&l===a&&Fn(),Y=je(C.length>1?C(process.env.NODE_ENV!=="production"?Ue(a):a,process.env.NODE_ENV!=="production"?{get attrs(){return Fn(),Ue(l)},slots:r,emit:u}:{attrs:l,slots:r,emit:u}):C(process.env.NODE_ENV!=="production"?Ue(a):a,null)),L=t.props?l:tc(l)}}catch(C){sn.length=0,Jt(C,e,1),Y=We(De)}let k=Y,ue;if(process.env.NODE_ENV!=="production"&&Y.patchFlag>0&&Y.patchFlag&2048&&([k,ue]=oi(Y)),L&&S!==!1){const C=Object.keys(L),{shapeFlag:oe}=k;if(C.length){if(oe&7)i&&C.some(jt)&&(L=nc(L,i)),k=lt(k,L,!1,!0);else if(process.env.NODE_ENV!=="production"&&!Ts&&k.type!==De){const he=Object.keys(l),ee=[],fe=[];for(let Ce=0,Ge=he.length;Ce<Ge;Ce++){const Ve=he[Ce];It(Ve)?jt(Ve)||ee.push(Ve[2].toLowerCase()+Ve.slice(3)):fe.push(Ve)}fe.length&&y(`Extraneous non-props attributes (${fe.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text or teleport root nodes.`),ee.length&&y(`Extraneous non-emits event listeners (${ee.join(", ")}) were passed to component but could not be automatically inherited because component renders fragment or text root nodes. If the listener is intended to be a component custom event listener only, declare it using the "emits" option.`)}}}return n.dirs&&(process.env.NODE_ENV!=="production"&&!ii(k)&&y("Runtime directive used on component with non-element root node. The directives will not function as intended."),k=lt(k,null,!1,!0),k.dirs=k.dirs?k.dirs.concat(n.dirs):n.dirs),n.transition&&(process.env.NODE_ENV!=="production"&&!ii(k)&&y("Component inside <Transition> renders non-element root node that cannot be animated."),Ns(k,n.transition)),process.env.NODE_ENV!=="production"&&ue?ue(k):Y=k,Pn(Z),Y}const oi=e=>{const t=e.children,n=e.dynamicChildren,s=As(t,!1);if(s){if(process.env.NODE_ENV!=="production"&&s.patchFlag>0&&s.patchFlag&2048)return oi(s)}else return[e,void 0];const o=t.indexOf(s),i=n?n.indexOf(s):-1,r=l=>{t[o]=l,n&&(i>-1?n[i]=l:l.patchFlag>0&&(e.dynamicChildren=[...n,l]))};return[je(s),r]};function As(e,t=!0){let n;for(let s=0;s<e.length;s++){const o=e[s];if(Un(o)){if(o.type!==De||o.children==="v-if"){if(n)return;if(n=o,process.env.NODE_ENV!=="production"&&t&&n.patchFlag>0&&n.patchFlag&2048)return As(n.children)}}else return}return n}const tc=e=>{let t;for(const n in e)(n==="class"||n==="style"||It(n))&&((t||(t={}))[n]=e[n]);return t},nc=(e,t)=>{const n={};for(const s in e)(!jt(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n},ii=e=>e.shapeFlag&7||e.type===De;function sc(e,t,n){const{props:s,children:o,component:i}=e,{props:r,children:l,patchFlag:u}=t,p=i.emitsOptions;if(process.env.NODE_ENV!=="production"&&(o||l)&&we||t.dirs||t.transition)return!0;if(n&&u>=0){if(u&1024)return!0;if(u&16)return s?ri(s,r,p):!!r;if(u&8){const d=t.dynamicProps;for(let a=0;a<d.length;a++){const _=d[a];if(li(r,s,_)&&!jn(p,_))return!0}}}else return(o||l)&&(!l||!l.$stable)?!0:s===r?!1:s?r?ri(s,r,p):!0:!!r;return!1}function ri(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let o=0;o<s.length;o++){const i=s[o];if(li(t,e,i)&&!jn(n,i))return!0}return!1}function li(e,t,n){const s=e[n],o=t[n];return n==="style"&&U(s)&&U(o)?!es(s,o):s!==o}function oc({vnode:e,parent:t,suspense:n},s){for(;t;){const o=t.subTree;if(o.suspense&&o.suspense.activeBranch===e&&(o.suspense.vnode.el=o.el=s,e=o),o===e)(e=t.vnode).el=s,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=s)}const ci={},ui=()=>Object.create(ci),fi=e=>Object.getPrototypeOf(e)===ci;function ic(e,t,n,s=!1){const o={},i=ui();e.propsDefaults=Object.create(null),ai(e,t,o,i);for(const r in e.propsOptions[0])r in o||(o[r]=void 0);process.env.NODE_ENV!=="production"&&hi(t||{},o,e),n?e.props=s?o:qr(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function rc(e){for(;e;){if(e.type.__hmrId)return!0;e=e.parent}}function lc(e,t,n,s){const{props:o,attrs:i,vnode:{patchFlag:r}}=e,l=j(o),[u]=e.propsOptions;let p=!1;if(!(process.env.NODE_ENV!=="production"&&rc(e))&&(s||r>0)&&!(r&16)){if(r&8){const d=e.vnode.dynamicProps;for(let a=0;a<d.length;a++){let _=d[a];if(jn(e.emitsOptions,_))continue;const O=t[_];if(u)if(H(i,_))O!==i[_]&&(i[_]=O,p=!0);else{const M=ae(_);o[M]=Ps(u,l,M,O,e,!1)}else O!==i[_]&&(i[_]=O,p=!0)}}}else{ai(e,t,o,i)&&(p=!0);let d;for(const a in l)(!t||!H(t,a)&&((d=ye(a))===a||!H(t,d)))&&(u?n&&(n[a]!==void 0||n[d]!==void 0)&&(o[a]=Ps(u,l,a,void 0,e,!0)):delete o[a]);if(i!==l)for(const a in i)(!t||!H(t,a))&&(delete i[a],p=!0)}p&&ke(e.attrs,"set",""),process.env.NODE_ENV!=="production"&&hi(t||{},o,e)}function ai(e,t,n,s){const[o,i]=e.propsOptions;let r=!1,l;if(t)for(let u in t){if(Lt(u))continue;const p=t[u];let d;o&&H(o,d=ae(u))?!i||!i.includes(d)?n[d]=p:(l||(l={}))[d]=p:jn(e.emitsOptions,u)||(!(u in s)||p!==s[u])&&(s[u]=p,r=!0)}if(i){const u=j(n),p=l||B;for(let d=0;d<i.length;d++){const a=i[d];n[a]=Ps(o,u,a,p[a],e,!H(p,a))}}return r}function Ps(e,t,n,s,o,i){const r=e[n];if(r!=null){const l=H(r,"default");if(l&&s===void 0){const u=r.default;if(r.type!==Function&&!r.skipFactory&&$(u)){const{propsDefaults:p}=o;if(n in p)s=p[n];else{const d=ln(o);s=p[n]=u.call(null,t),d()}}else s=u;o.ce&&o.ce._setProp(n,s)}r[0]&&(i&&!l?s=!1:r[1]&&(s===""||s===ye(n))&&(s=!0))}return s}const cc=new WeakMap;function di(e,t,n=!1){const s=n?cc:t.propsCache,o=s.get(e);if(o)return o;const i=e.props,r={},l=[];let u=!1;if(!$(e)){const d=a=>{u=!0;const[_,O]=di(a,t,!0);z(r,_),O&&l.push(...O)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!i&&!u)return U(e)&&s.set(e,yt),yt;if(T(i))for(let d=0;d<i.length;d++){process.env.NODE_ENV!=="production"&&!Q(i[d])&&y("props must be strings when using array syntax.",i[d]);const a=ae(i[d]);pi(a)&&(r[a]=B)}else if(i){process.env.NODE_ENV!=="production"&&!U(i)&&y("invalid props options",i);for(const d in i){const a=ae(d);if(pi(a)){const _=i[d],O=r[a]=T(_)||$(_)?{type:_}:z({},_),M=O.type;let S=!1,Z=!0;if(T(M))for(let Y=0;Y<M.length;++Y){const L=M[Y],k=$(L)&&L.name;if(k==="Boolean"){S=!0;break}else k==="String"&&(Z=!1)}else S=$(M)&&M.name==="Boolean";O[0]=S,O[1]=Z,(S||H(O,"default"))&&l.push(a)}}}const p=[r,l];return U(e)&&s.set(e,p),p}function pi(e){return e[0]!=="$"&&!Lt(e)?!0:(process.env.NODE_ENV!=="production"&&y(`Invalid prop name: "${e}" is a reserved property.`),!1)}function uc(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function hi(e,t,n){const s=j(t),o=n.propsOptions[0],i=Object.keys(e).map(r=>ae(r));for(const r in o){let l=o[r];l!=null&&fc(r,s[r],l,process.env.NODE_ENV!=="production"?Ue(s):s,!i.includes(r))}}function fc(e,t,n,s,o){const{type:i,required:r,validator:l,skipCheck:u}=n;if(r&&o){y('Missing required prop: "'+e+'"');return}if(!(t==null&&!r)){if(i!=null&&i!==!0&&!u){let p=!1;const d=T(i)?i:[i],a=[];for(let _=0;_<d.length&&!p;_++){const{valid:O,expectedType:M}=dc(t,d[_]);a.push(M||""),p=O}if(!p){y(pc(e,t,a));return}}l&&!l(t,s)&&y('Invalid prop: custom validator check failed for prop "'+e+'".')}}const ac=Qe("String,Number,Boolean,Function,Symbol,BigInt");function dc(e,t){let n;const s=uc(t);if(s==="null")n=e===null;else if(ac(s)){const o=typeof e;n=o===s.toLowerCase(),!n&&o==="object"&&(n=e instanceof t)}else s==="Object"?n=U(e):s==="Array"?n=T(e):n=e instanceof t;return{valid:n,expectedType:s}}function pc(e,t,n){if(n.length===0)return`Prop type [] for prop "${e}" won't match anything. Did you mean to use type Array instead?`;let s=`Invalid prop: type check failed for prop "${e}". Expected ${n.map(gn).join(" | ")}`;const o=n[0],i=Xn(t),r=_i(t,o),l=_i(t,i);return n.length===1&&gi(o)&&!hc(o,i)&&(s+=` with value ${r}`),s+=`, got ${i} `,gi(i)&&(s+=`with value ${l}.`),s}function _i(e,t){return t==="String"?`"${e}"`:t==="Number"?`${Number(e)}`:`${e}`}function gi(e){return["string","number","boolean"].some(n=>e.toLowerCase()===n)}function hc(...e){return e.some(t=>t.toLowerCase()==="boolean")}const $s=e=>e==="_"||e==="_ctx"||e==="$stable",Ms=e=>T(e)?e.map(je):[je(e)],_c=(e,t,n)=>{if(t._n)return t;const s=bl((...o)=>(process.env.NODE_ENV!=="production"&&ce&&!(n===null&&ve)&&!(n&&n.root!==ce.root)&&y(`Slot "${e}" invoked outside of the render function: this will not track dependencies used in the slot. Invoke the slot function inside the render function instead.`),Ms(t(...o))),n);return s._c=!1,s},mi=(e,t,n)=>{const s=e._ctx;for(const o in e){if($s(o))continue;const i=e[o];if($(i))t[o]=_c(o,i,s);else if(i!=null){process.env.NODE_ENV!=="production"&&y(`Non-function value encountered for slot "${o}". Prefer function slots for better performance.`);const r=Ms(i);t[o]=()=>r}}},vi=(e,t)=>{process.env.NODE_ENV!=="production"&&!Os(e.vnode)&&y("Non-function value encountered for default slot. Prefer function slots for better performance.");const n=Ms(t);e.slots.default=()=>n},Rs=(e,t,n)=>{for(const s in t)(n||!$s(s))&&(e[s]=t[s])},gc=(e,t,n)=>{const s=e.slots=ui();if(e.vnode.shapeFlag&32){const o=t._;o?(Rs(s,t,n),n&&mn(s,"_",o,!0)):mi(t,s)}else t&&vi(e,t)},mc=(e,t,n)=>{const{vnode:s,slots:o}=e;let i=!0,r=B;if(s.shapeFlag&32){const l=t._;l?process.env.NODE_ENV!=="production"&&we?(Rs(o,t,n),ke(e,"set","$slots")):n&&l===1?i=!1:Rs(o,t,n):(i=!t.$stable,mi(t,o)),r=t}else t&&(vi(e,t),r={default:1});if(i)for(const l in o)!$s(l)&&r[l]==null&&delete o[l]};let tn,nt;function Ct(e,t){e.appContext.config.performance&&Ln()&&nt.mark(`vue-${t}-${e.uid}`),process.env.NODE_ENV!=="production"&&ml(e,t,Ln()?nt.now():Date.now())}function Tt(e,t){if(e.appContext.config.performance&&Ln()){const n=`vue-${t}-${e.uid}`,s=n+":end",o=`<${un(e,e.type)}> ${t}`;nt.mark(s),nt.measure(o,n,s),nt.clearMeasures(o),nt.clearMarks(n),nt.clearMarks(s)}process.env.NODE_ENV!=="production"&&vl(e,t,Ln()?nt.now():Date.now())}function Ln(){return tn!==void 0||(typeof window<"u"&&window.performance?(tn=!0,nt=window.performance):tn=!1),tn}function vc(){const e=[];if(process.env.NODE_ENV!=="production"&&e.length){const t=e.length>1;console.warn(`Feature flag${t?"s":""} ${e.join(", ")} ${t?"are":"is"} not explicitly defined. You are running the esm-bundler build of Vue, which expects these compile-time feature flags to be globally injected via the bundler config in order to get better tree-shaking in the production bundle.
|
|
17
|
+
|
|
18
|
+
For more details, see https://link.vuejs.org/feature-flags.`)}}const Oe=Oc;function Ec(e){return bc(e)}function bc(e,t){vc();const n=kt();n.__VUE__=!0,process.env.NODE_ENV!=="production"&&Es(n.__VUE_DEVTOOLS_GLOBAL_HOOK__,n);const{insert:s,remove:o,patchProp:i,createElement:r,createText:l,createComment:u,setText:p,setElementText:d,parentNode:a,nextSibling:_,setScopeId:O=re,insertStaticContent:M}=e,S=(c,f,h,E=null,g=null,m=null,w=void 0,N=null,b=process.env.NODE_ENV!=="production"&&we?!1:!!f.dynamicChildren)=>{if(c===f)return;c&&!rn(c,f)&&(E=Jn(c),ct(c,g,m,!0),c=null),f.patchFlag===-2&&(b=!1,f.dynamicChildren=null);const{type:v,ref:P,shapeFlag:x}=f;switch(v){case nn:Z(c,f,h,E);break;case De:Y(c,f,h,E);break;case Hn:c==null?L(f,h,E,w):process.env.NODE_ENV!=="production"&&k(c,f,h,w);break;case de:bt(c,f,h,E,g,m,w,N,b);break;default:x&1?oe(c,f,h,E,g,m,w,N,b):x&6?Gn(c,f,h,E,g,m,w,N,b):x&64||x&128?v.process(c,f,h,E,g,m,w,N,b,dn):process.env.NODE_ENV!=="production"&&y("Invalid VNode type:",v,`(${typeof v})`)}P!=null&&g?Qt(P,c&&c.ref,m,f||c,!f):P==null&&c&&c.ref!=null&&Qt(c.ref,null,m,c,!0)},Z=(c,f,h,E)=>{if(c==null)s(f.el=l(f.children),h,E);else{const g=f.el=c.el;f.children!==c.children&&p(g,f.children)}},Y=(c,f,h,E)=>{c==null?s(f.el=u(f.children||""),h,E):f.el=c.el},L=(c,f,h,E)=>{[c.el,c.anchor]=M(c.children,f,h,E,c.el,c.anchor)},k=(c,f,h,E)=>{if(f.children!==c.children){const g=_(c.anchor);C(c),[f.el,f.anchor]=M(f.children,h,g,E)}else f.el=c.el,f.anchor=c.anchor},ue=({el:c,anchor:f},h,E)=>{let g;for(;c&&c!==f;)g=_(c),s(c,h,E),c=g;s(f,h,E)},C=({el:c,anchor:f})=>{let h;for(;c&&c!==f;)h=_(c),o(c),c=h;o(f)},oe=(c,f,h,E,g,m,w,N,b)=>{if(f.type==="svg"?w="svg":f.type==="math"&&(w="mathml"),c==null)he(f,h,E,g,m,w,N,b);else{const v=c.el&&c.el._isVueCE?c.el:null;try{v&&v._beginPatch(),Ce(c,f,g,m,w,N,b)}finally{v&&v._endPatch()}}},he=(c,f,h,E,g,m,w,N)=>{let b,v;const{props:P,shapeFlag:x,transition:A,dirs:I}=c;if(b=c.el=r(c.type,m,P&&P.is,P),x&8?d(b,c.children):x&16&&fe(c.children,b,null,E,g,Is(c,m),w,N),I&>(c,null,E,"created"),ee(b,c,c.scopeId,w,E),P){for(const q in P)q!=="value"&&!Lt(q)&&i(b,q,null,P[q],m,E);"value"in P&&i(b,"value",null,P.value,m),(v=P.onVnodeBeforeMount)&&qe(v,E,c)}process.env.NODE_ENV!=="production"&&(mn(b,"__vnode",c,!0),mn(b,"__vueParentComponent",E,!0)),I&>(c,null,E,"beforeMount");const K=yc(g,A);if(K&&A.beforeEnter(b),s(b,f,h),(v=P&&P.onVnodeMounted)||K||I){const q=process.env.NODE_ENV!=="production"&&we;Oe(()=>{let G;process.env.NODE_ENV!=="production"&&(G=Po(q));try{v&&qe(v,E,c),K&&A.enter(b),I&>(c,null,E,"mounted")}finally{process.env.NODE_ENV!=="production"&&Po(G)}},g)}},ee=(c,f,h,E,g)=>{if(h&&O(c,h),E)for(let m=0;m<E.length;m++)O(c,E[m]);if(g){let m=g.subTree;if(process.env.NODE_ENV!=="production"&&m.patchFlag>0&&m.patchFlag&2048&&(m=As(m.children)||m),f===m||Ni(m.type)&&(m.ssContent===f||m.ssFallback===f)){const w=g.vnode;ee(c,w,w.scopeId,w.slotScopeIds,g.parent)}}},fe=(c,f,h,E,g,m,w,N,b=0)=>{for(let v=b;v<c.length;v++){const P=c[v]=N?st(c[v]):je(c[v]);S(null,P,f,h,E,g,m,w,N)}},Ce=(c,f,h,E,g,m,w)=>{const N=f.el=c.el;process.env.NODE_ENV!=="production"&&(N.__vnode=f);let{patchFlag:b,dynamicChildren:v,dirs:P}=f;b|=c.patchFlag&16;const x=c.props||B,A=f.props||B;let I;if(h&&Et(h,!1),(I=A.onVnodeBeforeUpdate)&&qe(I,h,f,c),P&>(f,c,h,"beforeUpdate"),h&&Et(h,!0),process.env.NODE_ENV!=="production"&&we&&(b=0,w=!1,v=null),(x.innerHTML&&A.innerHTML==null||x.textContent&&A.textContent==null)&&d(N,""),v?(Ge(c.dynamicChildren,v,N,h,E,Is(f,g),m),process.env.NODE_ENV!=="production"&&kn(c,f)):w||te(c,f,N,null,h,E,Is(f,g),m,!1),b>0){if(b&16)Ve(N,x,A,h,g);else if(b&2&&x.class!==A.class&&i(N,"class",null,A.class,g),b&4&&i(N,"style",x.style,A.style,g),b&8){const K=f.dynamicProps;for(let q=0;q<K.length;q++){const G=K[q],ie=x[G],pe=A[G];(pe!==ie||G==="value")&&i(N,G,ie,pe,g,h)}}b&1&&c.children!==f.children&&d(N,f.children)}else!w&&v==null&&Ve(N,x,A,h,g);((I=A.onVnodeUpdated)||P)&&Oe(()=>{I&&qe(I,h,f,c),P&>(f,c,h,"updated")},E)},Ge=(c,f,h,E,g,m,w)=>{for(let N=0;N<f.length;N++){const b=c[N],v=f[N],P=b.el&&(b.type===de||!rn(b,v)||b.shapeFlag&198)?a(b.el):h;S(b,v,P,null,E,g,m,w,!0)}},Ve=(c,f,h,E,g)=>{if(f!==h){if(f!==B)for(const m in f)!Lt(m)&&!(m in h)&&i(c,m,f[m],null,g,E);for(const m in h){if(Lt(m))continue;const w=h[m],N=f[m];w!==N&&m!=="value"&&i(c,m,N,w,g,E)}"value"in h&&i(c,"value",f.value,h.value,g)}},bt=(c,f,h,E,g,m,w,N,b)=>{const v=f.el=c?c.el:l(""),P=f.anchor=c?c.anchor:l("");let{patchFlag:x,dynamicChildren:A,slotScopeIds:I}=f;process.env.NODE_ENV!=="production"&&(we||x&2048)&&(x=0,b=!1,A=null),I&&(N=N?N.concat(I):I),c==null?(s(v,h,E),s(P,h,E),fe(f.children||[],h,P,g,m,w,N,b)):x>0&&x&64&&A&&c.dynamicChildren&&c.dynamicChildren.length===A.length?(Ge(c.dynamicChildren,A,h,g,m,w,N),process.env.NODE_ENV!=="production"?kn(c,f):(f.key!=null||g&&f===g.subTree)&&kn(c,f,!0)):te(c,f,h,P,g,m,w,N,b)},Gn=(c,f,h,E,g,m,w,N,b)=>{f.slotScopeIds=N,c==null?f.shapeFlag&512?g.ctx.activate(f,h,E,w,b):Je(f,h,E,g,m,w,b):F(c,f,b)},Je=(c,f,h,E,g,m,w)=>{const N=c.component=Pc(c,E,g);if(process.env.NODE_ENV!=="production"&&N.type.__hmrId&&cl(N),process.env.NODE_ENV!=="production"&&(xn(c),Ct(N,"mount")),Os(c)&&(N.ctx.renderer=dn),process.env.NODE_ENV!=="production"&&Ct(N,"init"),Mc(N,!1,w),process.env.NODE_ENV!=="production"&&Tt(N,"init"),process.env.NODE_ENV!=="production"&&we&&(c.el=null),N.asyncDep){if(g&&g.registerDep(N,V,w),!c.el){const b=N.subTree=We(De);Y(null,b,f,h),c.placeholder=b.el}}else V(N,c,f,h,g,m,w);process.env.NODE_ENV!=="production"&&(Vn(),Tt(N,"mount"))},F=(c,f,h)=>{const E=f.component=c.component;if(sc(c,f,h))if(E.asyncDep&&!E.asyncResolved){process.env.NODE_ENV!=="production"&&xn(f),D(E,f,h),process.env.NODE_ENV!=="production"&&Vn();return}else E.next=f,E.update();else f.el=c.el,E.vnode=f},V=(c,f,h,E,g,m,w)=>{const N=()=>{if(c.isMounted){let{next:x,bu:A,u:I,parent:K,vnode:q}=c;{const ze=Ei(c);if(ze){x&&(x.el=q.el,D(c,x,w)),ze.asyncDep.then(()=>{Oe(()=>{c.isUnmounted||v()},g)});return}}let G=x,ie;process.env.NODE_ENV!=="production"&&xn(x||c.vnode),Et(c,!1),x?(x.el=q.el,D(c,x,w)):x=q,A&&Nt(A),(ie=x.props&&x.props.onVnodeBeforeUpdate)&&qe(ie,K,x,q),Et(c,!0),process.env.NODE_ENV!=="production"&&Ct(c,"render");const pe=si(c);process.env.NODE_ENV!=="production"&&Tt(c,"render");const Ye=c.subTree;c.subTree=pe,process.env.NODE_ENV!=="production"&&Ct(c,"patch"),S(Ye,pe,a(Ye.el),Jn(Ye),c,g,m),process.env.NODE_ENV!=="production"&&Tt(c,"patch"),x.el=pe.el,G===null&&oc(c,pe.el),I&&Oe(I,g),(ie=x.props&&x.props.onVnodeUpdated)&&Oe(()=>qe(ie,K,x,q),g),process.env.NODE_ENV!=="production"&&Ro(c),process.env.NODE_ENV!=="production"&&Vn()}else{let x;const{el:A,props:I}=f,{bm:K,m:q,parent:G,root:ie,type:pe}=c,Ye=Zt(f);Et(c,!1),K&&Nt(K),!Ye&&(x=I&&I.onVnodeBeforeMount)&&qe(x,G,f),Et(c,!0);{ie.ce&&ie.ce._hasShadowRoot()&&ie.ce._injectChildStyle(pe,c.parent?c.parent.type:void 0),process.env.NODE_ENV!=="production"&&Ct(c,"render");const ze=c.subTree=si(c);process.env.NODE_ENV!=="production"&&Tt(c,"render"),process.env.NODE_ENV!=="production"&&Ct(c,"patch"),S(null,ze,h,E,c,g,m),process.env.NODE_ENV!=="production"&&Tt(c,"patch"),f.el=ze.el}if(q&&Oe(q,g),!Ye&&(x=I&&I.onVnodeMounted)){const ze=f;Oe(()=>qe(x,G,ze),g)}(f.shapeFlag&256||G&&Zt(G.vnode)&&G.vnode.shapeFlag&256)&&c.a&&Oe(c.a,g),c.isMounted=!0,process.env.NODE_ENV!=="production"&&hl(c),f=h=E=null}};c.scope.on();const b=c.effect=new no(N);c.scope.off();const v=c.update=b.run.bind(b),P=c.job=b.runIfDirty.bind(b);P.i=c,P.id=c.uid,b.scheduler=()=>Cn(P),Et(c,!0),process.env.NODE_ENV!=="production"&&(b.onTrack=c.rtc?x=>Nt(c.rtc,x):void 0,b.onTrigger=c.rtg?x=>Nt(c.rtg,x):void 0),v()},D=(c,f,h)=>{f.component=c;const E=c.vnode.props;c.vnode=f,c.next=null,lc(c,f.props,E,h),mc(c,f.children,h),Pe(),Co(c),$e()},te=(c,f,h,E,g,m,w,N,b=!1)=>{const v=c&&c.children,P=c?c.shapeFlag:0,x=f.children,{patchFlag:A,shapeFlag:I}=f;if(A>0){if(A&128){fn(v,x,h,E,g,m,w,N,b);return}else if(A&256){Mt(v,x,h,E,g,m,w,N,b);return}}I&8?(P&16&&an(v,g,m),x!==v&&d(h,x)):P&16?I&16?fn(v,x,h,E,g,m,w,N,b):an(v,g,m,!0):(P&8&&d(h,""),I&16&&fe(x,h,E,g,m,w,N,b))},Mt=(c,f,h,E,g,m,w,N,b)=>{c=c||yt,f=f||yt;const v=c.length,P=f.length,x=Math.min(v,P);let A;for(A=0;A<x;A++){const I=f[A]=b?st(f[A]):je(f[A]);S(c[A],I,h,null,g,m,w,N,b)}v>P?an(c,g,m,!0,!1,x):fe(f,h,E,g,m,w,N,b,x)},fn=(c,f,h,E,g,m,w,N,b)=>{let v=0;const P=f.length;let x=c.length-1,A=P-1;for(;v<=x&&v<=A;){const I=c[v],K=f[v]=b?st(f[v]):je(f[v]);if(rn(I,K))S(I,K,h,null,g,m,w,N,b);else break;v++}for(;v<=x&&v<=A;){const I=c[x],K=f[A]=b?st(f[A]):je(f[A]);if(rn(I,K))S(I,K,h,null,g,m,w,N,b);else break;x--,A--}if(v>x){if(v<=A){const I=A+1,K=I<P?f[I].el:E;for(;v<=A;)S(null,f[v]=b?st(f[v]):je(f[v]),h,K,g,m,w,N,b),v++}}else if(v>A)for(;v<=x;)ct(c[v],g,m,!0),v++;else{const I=v,K=v,q=new Map;for(v=K;v<=A;v++){const be=f[v]=b?st(f[v]):je(f[v]);be.key!=null&&(process.env.NODE_ENV!=="production"&&q.has(be.key)&&y("Duplicate keys found during update:",JSON.stringify(be.key),"Make sure keys are unique."),q.set(be.key,v))}let G,ie=0;const pe=A-K+1;let Ye=!1,ze=0;const pn=new Array(pe);for(v=0;v<pe;v++)pn[v]=0;for(v=I;v<=x;v++){const be=c[v];if(ie>=pe){ct(be,g,m,!0);continue}let Xe;if(be.key!=null)Xe=q.get(be.key);else for(G=K;G<=A;G++)if(pn[G-K]===0&&rn(be,f[G])){Xe=G;break}Xe===void 0?ct(be,g,m,!0):(pn[Xe-K]=v+1,Xe>=ze?ze=Xe:Ye=!0,S(be,f[Xe],h,null,g,m,w,N,b),ie++)}const lr=Ye?Nc(pn):yt;for(G=lr.length-1,v=pe-1;v>=0;v--){const be=K+v,Xe=f[be],cr=f[be+1],ur=be+1<P?cr.el||yi(cr):E;pn[v]===0?S(null,Xe,h,ur,g,m,w,N,b):Ye&&(G<0||v!==lr[G]?Rt(Xe,h,ur,2):G--)}}},Rt=(c,f,h,E,g=null)=>{const{el:m,type:w,transition:N,children:b,shapeFlag:v}=c;if(v&6){Rt(c.component.subTree,f,h,E);return}if(v&128){c.suspense.move(f,h,E);return}if(v&64){w.move(c,f,h,dn);return}if(w===de){s(m,f,h);for(let x=0;x<b.length;x++)Rt(b[x],f,h,E);s(c.anchor,f,h);return}if(w===Hn){ue(c,f,h);return}if(E!==2&&v&1&&N)if(E===0)N.beforeEnter(m),s(m,f,h),Oe(()=>N.enter(m),g);else{const{leave:x,delayLeave:A,afterLeave:I}=N,K=()=>{c.ctx.isUnmounted?o(m):s(m,f,h)},q=()=>{m._isLeaving&&m[Sl](!0),x(m,()=>{K(),I&&I()})};A?A(m,K,q):q()}else s(m,f,h)},ct=(c,f,h,E=!1,g=!1)=>{const{type:m,props:w,ref:N,children:b,dynamicChildren:v,shapeFlag:P,patchFlag:x,dirs:A,cacheIndex:I,memo:K}=c;if(x===-2&&(g=!1),N!=null&&(Pe(),Qt(N,null,h,c,!0),$e()),I!=null&&(f.renderCache[I]=void 0),P&256){f.ctx.deactivate(c);return}const q=P&1&&A,G=!Zt(c);let ie;if(G&&(ie=w&&w.onVnodeBeforeUnmount)&&qe(ie,f,c),P&6)ff(c.component,h,E);else{if(P&128){c.suspense.unmount(h,E);return}q&>(c,null,f,"beforeUnmount"),P&64?c.type.remove(c,f,h,dn,E):v&&!v.hasOnce&&(m!==de||x>0&&x&64)?an(v,f,h,!1,!0):(m===de&&x&384||!g&&P&16)&&an(b,f,h),E&&Ws(c)}const pe=K!=null&&I==null;(G&&(ie=w&&w.onVnodeUnmounted)||q||pe)&&Oe(()=>{ie&&qe(ie,f,c),q&>(c,null,f,"unmounted"),pe&&(c.el=null)},h)},Ws=c=>{const{type:f,el:h,anchor:E,transition:g}=c;if(f===de){process.env.NODE_ENV!=="production"&&c.patchFlag>0&&c.patchFlag&2048&&g&&!g.persisted?c.children.forEach(w=>{w.type===De?o(w.el):Ws(w)}):uf(h,E);return}if(f===Hn){C(c);return}const m=()=>{o(h),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(c.shapeFlag&1&&g&&!g.persisted){const{leave:w,delayLeave:N}=g,b=()=>w(h,m);N?N(c.el,m,b):b()}else m()},uf=(c,f)=>{let h;for(;c!==f;)h=_(c),o(c),c=h;o(f)},ff=(c,f,h)=>{process.env.NODE_ENV!=="production"&&c.type.__hmrId&&ul(c);const{bum:E,scope:g,job:m,subTree:w,um:N,m:b,a:v}=c;bi(b),bi(v),E&&Nt(E),g.stop(),m&&(m.flags|=8,ct(w,c,f,h)),N&&Oe(N,f),Oe(()=>{c.isUnmounted=!0},f),process.env.NODE_ENV!=="production"&&gl(c)},an=(c,f,h,E=!1,g=!1,m=0)=>{for(let w=m;w<c.length;w++)ct(c[w],f,h,E,g)},Jn=c=>{if(c.shapeFlag&6)return Jn(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const f=_(c.anchor||c.el),h=f&&f[xl];return h?_(h):f};let qs=!1;const rr=(c,f,h)=>{let E;c==null?f._vnode&&(ct(f._vnode,null,null,!0),E=f._vnode.component):S(f._vnode||null,c,f,null,null,null,h),f._vnode=c,qs||(qs=!0,Co(E),To(),qs=!1)},dn={p:S,um:ct,m:Rt,r:Ws,mt:Je,mc:fe,pc:te,pbc:Ge,n:Jn,o:e};return{render:rr,hydrate:void 0,createApp:Xl(rr)}}function Is({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 Et({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function yc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function kn(e,t,n=!1){const s=e.children,o=t.children;if(T(s)&&T(o))for(let i=0;i<s.length;i++){const r=s[i];let l=o[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=o[i]=st(o[i]),l.el=r.el),!n&&l.patchFlag!==-2&&kn(r,l)),l.type===nn&&(l.patchFlag===-1&&(l=o[i]=st(l)),l.el=r.el),l.type===De&&!l.el&&(l.el=r.el),process.env.NODE_ENV!=="production"&&l.el&&(l.el.__vnode=l)}}function Nc(e){const t=e.slice(),n=[0];let s,o,i,r,l;const u=e.length;for(s=0;s<u;s++){const p=e[s];if(p!==0){if(o=n[n.length-1],e[o]<p){t[s]=o,n.push(s);continue}for(i=0,r=n.length-1;i<r;)l=i+r>>1,e[n[l]]<p?i=l+1:r=l;p<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,r=n[i-1];i-- >0;)n[i]=r,r=t[r];return n}function Ei(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ei(t)}function bi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function yi(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?yi(t.subTree):null}const Ni=e=>e.__isSuspense;function Oc(e,t){t&&t.pendingBranch?T(e)?t.effects.push(...e):t.effects.push(e):So(e)}const de=Symbol.for("v-fgt"),nn=Symbol.for("v-txt"),De=Symbol.for("v-cmt"),Hn=Symbol.for("v-stc"),sn=[];let xe=null;function J(e=!1){sn.push(xe=e?null:[])}function wc(){sn.pop(),xe=sn[sn.length-1]||null}let on=1;function Oi(e,t=!1){on+=e,e<0&&xe&&t&&(xe.hasOnce=!0)}function wi(e){return e.dynamicChildren=on>0?xe||yt:null,wc(),on>0&&xe&&xe.push(e),e}function X(e,t,n,s,o,i){return wi(R(e,t,n,s,o,i,!0))}function Dc(e,t,n,s,o){return wi(We(e,t,n,s,o,!0))}function Un(e){return e?e.__v_isVNode===!0:!1}function rn(e,t){if(process.env.NODE_ENV!=="production"&&t.shapeFlag&6&&e.component){const n=Tn.get(t.type);if(n&&n.has(e.component))return e.shapeFlag&=-257,t.shapeFlag&=-513,!1}return e.type===t.type&&e.key===t.key}const xc=(...e)=>xi(...e),Di=({key:e})=>e??null,Kn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Q(e)||se(e)||$(e)?{i:ve,r:e,k:t,f:!!n}:e:null);function R(e,t=null,n=null,s=0,o=null,i=e===de?0:1,r=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Di(t),ref:t&&Kn(t),scopeId:jo,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:o,dynamicChildren:null,appContext:null,ctx:ve};return l?(js(u,n),i&128&&e.normalize(u)):n&&(u.shapeFlag|=Q(n)?8:16),process.env.NODE_ENV!=="production"&&u.key!==u.key&&y("VNode created with invalid key (NaN). VNode type:",u.type),on>0&&!r&&xe&&(u.patchFlag>0||i&6)&&u.patchFlag!==32&&xe.push(u),u}const We=process.env.NODE_ENV!=="production"?xc:xi;function xi(e,t=null,n=null,s=0,o=null,i=!1){if((!e||e===kl)&&(process.env.NODE_ENV!=="production"&&!e&&y(`Invalid vnode type when creating vnode: ${e}.`),e=De),Un(e)){const l=lt(e,t,!0);return n&&js(l,n),on>0&&!i&&xe&&(l.shapeFlag&6?xe[xe.indexOf(e)]=l:xe.push(l)),l.patchFlag=-2,l}if(Ri(e)&&(e=e.__vccOpts),t){t=Vc(t);let{class:l,style:u}=t;l&&!Q(l)&&(t.class=at(l)),U(u)&&(On(u)&&!T(u)&&(u=z({},u)),t.style=Ht(u))}const r=Q(e)?1:Ni(e)?128:Vl(e)?64:U(e)?4:$(e)?2:0;return process.env.NODE_ENV!=="production"&&r&4&&On(e)&&(e=j(e),y("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
19
|
+
Component that was made reactive: `,e)),R(e,t,n,s,o,r,i,!0)}function Vc(e){return e?On(e)||fi(e)?z({},e):e:null}function lt(e,t,n=!1,s=!1){const{props:o,ref:i,patchFlag:r,children:l,transition:u}=e,p=t?Cc(o||{},t):o,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:p,key:p&&Di(p),ref:t&&t.ref?n&&i?T(i)?i.concat(Kn(t)):[i,Kn(t)]:Kn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&r===-1&&T(l)?l.map(Vi):l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==de?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&<(e.ssContent),ssFallback:e.ssFallback&<(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&s&&Ns(d,u.clone(d)),d}function Vi(e){const t=lt(e);return T(e.children)&&(t.children=e.children.map(Vi)),t}function Sc(e=" ",t=0){return We(nn,null,e,t)}function At(e="",t=!1){return t?(J(),Dc(De,null,e)):We(De,null,e)}function je(e){return e==null||typeof e=="boolean"?We(De):T(e)?We(de,null,e.slice()):Un(e)?st(e):We(nn,null,String(e))}function st(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:lt(e)}function js(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(T(t))n=16;else if(typeof t=="object")if(s&65){const o=t.default;o&&(o._c&&(o._d=!1),js(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!fi(t)?t._ctx=ve:o===3&&ve&&(ve.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else $(t)?(t={default:t,_ctx:ve},n=32):(t=String(t),s&64?(n=16,t=[Sc(t)]):n=8);e.children=t,e.shapeFlag|=n}function Cc(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const o in s)if(o==="class")t.class!==s.class&&(t.class=at([t.class,s.class]));else if(o==="style")t.style=Ht([t.style,s.style]);else if(It(o)){const i=t[o],r=s[o];r&&i!==r&&!(T(i)&&i.includes(r))?t[o]=i?[].concat(i,r):r:r==null&&i==null&&!jt(o)&&(t[o]=r)}else o!==""&&(t[o]=s[o])}return t}function qe(e,t,n,s=null){Ke(e,t,7,[n,s])}const Tc=ti();let Ac=0;function Pc(e,t,n){const s=e.type,o=(t?t.appContext:e.appContext)||Tc,i={uid:Ac++,vnode:e,type:s,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new xr(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:di(s,o),emitsOptions:ni(s,o),emit:null,emitted:null,propsDefaults:B,inheritAttrs:s.inheritAttrs,ctx:B,data:B,props:B,attrs:B,slots:B,refs:B,setupState:B,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 process.env.NODE_ENV!=="production"?i.ctx=Hl(i):i.ctx={_:i},i.root=t?t.root:i,i.emit=Zl.bind(null,i),e.ce&&e.ce(i),i}let ce=null;const Si=()=>ce||ve;let Bn,Fs;{const e=kt(),t=(n,s)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(s),i=>{o.length>1?o.forEach(r=>r(i)):o[0](i)}};Bn=t("__VUE_INSTANCE_SETTERS__",n=>ce=n),Fs=t("__VUE_SSR_SETTERS__",n=>cn=n)}const ln=e=>{const t=ce;return Bn(e),e.scope.on(),()=>{e.scope.off(),Bn(t)}},Ci=()=>{ce&&ce.scope.off(),Bn(null)},$c=Qe("slot,component");function Ls(e,{isNativeTag:t}){($c(e)||t(e))&&y("Do not use built-in or reserved HTML elements as component id: "+e)}function Ti(e){return e.vnode.shapeFlag&4}let cn=!1;function Mc(e,t=!1,n=!1){t&&Fs(t);const{props:s,children:o}=e.vnode,i=Ti(e);ic(e,s,i,t),gc(e,o,n||t);const r=i?Rc(e,t):void 0;return t&&Fs(!1),r}function Rc(e,t){const n=e.type;if(process.env.NODE_ENV!=="production"){if(n.name&&Ls(n.name,e.appContext.config),n.components){const o=Object.keys(n.components);for(let i=0;i<o.length;i++)Ls(o[i],e.appContext.config)}if(n.directives){const o=Object.keys(n.directives);for(let i=0;i<o.length;i++)Fo(o[i])}n.compilerOptions&&Ic()&&y('"compilerOptions" is only supported when using a build of Vue that includes the runtime compiler. Since you are using a runtime-only build, the options should be passed via your build tool config instead.')}e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Jo),process.env.NODE_ENV!=="production"&&Ul(e);const{setup:s}=n;if(s){Pe();const o=e.setupContext=s.length>1?Fc(e):null,i=ln(e),r=Dt(s,e,0,[process.env.NODE_ENV!=="production"?Ue(e.props):e.props,o]),l=zn(r);if($e(),i(),(l||e.sp)&&!Zt(e)&&Uo(e),l){if(r.then(Ci,Ci),t)return r.then(u=>{Ai(e,u,t)}).catch(u=>{Jt(u,e,0)});if(e.asyncDep=r,process.env.NODE_ENV!=="production"&&!e.suspense){const u=un(e,n);y(`Component <${u}>: setup function returned a promise, but no <Suspense> boundary was found in the parent component tree. A component with async setup() must be nested in a <Suspense> in order to be rendered.`)}}else Ai(e,r,t)}else Pi(e,t)}function Ai(e,t,n){$(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:U(t)?(process.env.NODE_ENV!=="production"&&Un(t)&&y("setup() should not return VNodes directly - return a render function instead."),process.env.NODE_ENV!=="production"&&(e.devtoolsRawSetupState=t),e.setupState=Oo(t),process.env.NODE_ENV!=="production"&&Kl(e)):process.env.NODE_ENV!=="production"&&t!==void 0&&y(`setup() should return an object. Received: ${t===null?"null":typeof t}`),Pi(e,n)}const Ic=()=>!0;function Pi(e,t,n){const s=e.type;e.render||(e.render=s.render||re);{const o=ln(e);Pe();try{Wl(e)}finally{$e(),o()}}process.env.NODE_ENV!=="production"&&!s.render&&e.render===re&&!t&&(s.template?y('Component provided template option but runtime compilation is not supported in this build of Vue. Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".'):y("Component is missing template or render function: ",s))}const $i=process.env.NODE_ENV!=="production"?{get(e,t){return Fn(),le(e,"get",""),e[t]},set(){return y("setupContext.attrs is readonly."),!1},deleteProperty(){return y("setupContext.attrs is readonly."),!1}}:{get(e,t){return le(e,"get",""),e[t]}};function jc(e){return new Proxy(e.slots,{get(t,n){return le(e,"get","$slots"),t[n]}})}function Fc(e){const t=n=>{if(process.env.NODE_ENV!=="production"&&(e.exposed&&y("expose() should be called only once per setup()."),n!=null)){let s=typeof n;s==="object"&&(T(n)?s="array":se(n)&&(s="ref")),s!=="object"&&y(`expose() should be passed a plain object, received ${s}.`)}e.exposed=n||{}};if(process.env.NODE_ENV!=="production"){let n,s;return Object.freeze({get attrs(){return n||(n=new Proxy(e.attrs,$i))},get slots(){return s||(s=jc(e))},get emit(){return(o,...i)=>e.emit(o,...i)},expose:t})}else return{attrs:new Proxy(e.attrs,$i),slots:e.slots,emit:e.emit,expose:t}}function Wn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Oo(Gr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in vt)return vt[n](e)},has(t,n){return n in t||n in vt}})):e.proxy}const Lc=/(?:^|[-_])\w/g,kc=e=>e.replace(Lc,t=>t.toUpperCase()).replace(/[-_]/g,"");function Mi(e,t=!0){return $(e)?e.displayName||e.name:e.name||t&&e.__name}function un(e,t,n=!1){let s=Mi(t);if(!s&&t.__file){const o=t.__file.match(/([^/\\]+)\.\w+$/);o&&(s=o[1])}if(!s&&e){const o=i=>{for(const r in i)if(i[r]===t)return r};s=o(e.components)||e.parent&&o(e.parent.type.components)||o(e.appContext.components)}return s?kc(s):n?"App":"Anonymous"}function Ri(e){return $(e)&&"__vccOpts"in e}const Ii=(e,t)=>{const n=Qr(e,t,cn);if(process.env.NODE_ENV!=="production"){const s=Si();s&&s.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function Hc(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},s={style:"color:#eb2f96"},o={__vue_custom_formatter:!0,header(a){if(!U(a))return null;if(a.__isVue)return["div",e,"VueInstance"];if(se(a)){Pe();const _=a.value;return $e(),["div",{},["span",e,d(a)],"<",l(_),">"]}else{if(it(a))return["div",{},["span",e,_e(a)?"ShallowReactive":"Reactive"],"<",l(a),`>${Me(a)?" (readonly)":""}`];if(Me(a))return["div",{},["span",e,_e(a)?"ShallowReadonly":"Readonly"],"<",l(a),">"]}return null},hasBody(a){return a&&a.__isVue},body(a){if(a&&a.__isVue)return["div",{},...i(a.$)]}};function i(a){const _=[];a.type.props&&a.props&&_.push(r("props",j(a.props))),a.setupState!==B&&_.push(r("setup",a.setupState)),a.data!==B&&_.push(r("data",j(a.data)));const O=u(a,"computed");O&&_.push(r("computed",O));const M=u(a,"inject");return M&&_.push(r("injected",M)),_.push(["div",{},["span",{style:s.style+";opacity:0.66"},"$ (internal): "],["object",{object:a}]]),_}function r(a,_){return _=z({},_),Object.keys(_).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},a],["div",{style:"padding-left:1.25em"},...Object.keys(_).map(O=>["div",{},["span",s,O+": "],l(_[O],!1)])]]:["span",{}]}function l(a,_=!0){return typeof a=="number"?["span",t,a]:typeof a=="string"?["span",n,JSON.stringify(a)]:typeof a=="boolean"?["span",s,a]:U(a)?["object",{object:_?j(a):a}]:["span",n,String(a)]}function u(a,_){const O=a.type;if($(O))return;const M={};for(const S in a.ctx)p(O,S,_)&&(M[S]=a.ctx[S]);return M}function p(a,_,O){const M=a[O];if(T(M)&&M.includes(_)||U(M)&&_ in M||a.extends&&p(a.extends,_,O)||a.mixins&&a.mixins.some(S=>p(S,_,O)))return!0}function d(a){return _e(a)?"ShallowRef":a.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(o):window.devtoolsFormatters=[o]}const ji="3.5.31",Se=process.env.NODE_ENV!=="production"?y:re;process.env.NODE_ENV,process.env.NODE_ENV;/**
|
|
20
|
+
* @vue/runtime-dom v3.5.31
|
|
21
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
22
|
+
* @license MIT
|
|
23
|
+
**/let ks;const Fi=typeof window<"u"&&window.trustedTypes;if(Fi)try{ks=Fi.createPolicy("vue",{createHTML:e=>e})}catch(e){process.env.NODE_ENV!=="production"&&Se(`Error creating trusted types policy: ${e}`)}const Li=ks?e=>ks.createHTML(e):e=>e,Uc="http://www.w3.org/2000/svg",Kc="http://www.w3.org/1998/Math/MathML",ot=typeof document<"u"?document:null,ki=ot&&ot.createElement("template"),Bc={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 o=t==="svg"?ot.createElementNS(Uc,e):t==="mathml"?ot.createElementNS(Kc,e):n?ot.createElement(e,{is:n}):ot.createElement(e);return e==="select"&&s&&s.multiple!=null&&o.setAttribute("multiple",s.multiple),o},createText:e=>ot.createTextNode(e),createComment:e=>ot.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ot.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,o,i){const r=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{ki.innerHTML=Li(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=ki.content;if(s==="svg"||s==="mathml"){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}t.insertBefore(l,n)}return[r?r.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Wc=Symbol("_vtc");function qc(e,t,n){const s=e[Wc];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Hi=Symbol("_vod"),Gc=Symbol("_vsh"),Jc=Symbol(process.env.NODE_ENV!=="production"?"CSS_VAR_TEXT":""),Yc=/(?:^|;)\s*display\s*:/;function zc(e,t,n){const s=e.style,o=Q(n);let i=!1;if(n&&!o){if(t)if(Q(t))for(const r of t.split(";")){const l=r.slice(0,r.indexOf(":")).trim();n[l]==null&&qn(s,l,"")}else for(const r in t)n[r]==null&&qn(s,r,"");for(const r in n)r==="display"&&(i=!0),qn(s,r,n[r])}else if(o){if(t!==n){const r=s[Jc];r&&(n+=";"+r),s.cssText=n,i=Yc.test(n)}}else t&&e.removeAttribute("style");Hi in e&&(e[Hi]=i?s.display:"",e[Gc]&&(s.display="none"))}const Xc=/[^\\];\s*$/,Ui=/\s*!important$/;function qn(e,t,n){if(T(n))n.forEach(s=>qn(e,t,s));else if(n==null&&(n=""),process.env.NODE_ENV!=="production"&&Xc.test(n)&&Se(`Unexpected semicolon at the end of '${t}' style value: '${n}'`),t.startsWith("--"))e.setProperty(t,n);else{const s=Qc(e,t);Ui.test(n)?e.setProperty(ye(s),n.replace(Ui,""),"important"):e[s]=n}}const Ki=["Webkit","Moz","ms"],Hs={};function Qc(e,t){const n=Hs[t];if(n)return n;let s=ae(t);if(s!=="filter"&&s in e)return Hs[t]=s;s=gn(s);for(let o=0;o<Ki.length;o++){const i=Ki[o]+s;if(i in e)return Hs[t]=i}return t}const Bi="http://www.w3.org/1999/xlink";function Wi(e,t,n,s,o,i=wr(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Bi,t.slice(6,t.length)):e.setAttributeNS(Bi,t,n):n==null||i&&!Zs(n)?e.removeAttribute(t):e.setAttribute(t,i?"":Fe(n)?String(n):n)}function qi(e,t,n,s,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Li(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,u=n==null?e.type==="checkbox"?"on":"":String(n);(l!==u||!("_value"in e))&&(e.value=u),n==null&&e.removeAttribute(t),e._value=n;return}let r=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=Zs(n):n==null&&l==="string"?(n="",r=!0):l==="number"&&(n=0,r=!0)}try{e[t]=n}catch(l){process.env.NODE_ENV!=="production"&&!r&&Se(`Failed setting prop "${t}" on <${i.toLowerCase()}>: value ${n} is invalid.`,l)}r&&e.removeAttribute(o||t)}function Pt(e,t,n,s){e.addEventListener(t,n,s)}function Zc(e,t,n,s){e.removeEventListener(t,n,s)}const Gi=Symbol("_vei");function eu(e,t,n,s,o=null){const i=e[Gi]||(e[Gi]={}),r=i[t];if(s&&r)r.value=process.env.NODE_ENV!=="production"?Yi(s,t):s;else{const[l,u]=tu(t);if(s){const p=i[t]=ou(process.env.NODE_ENV!=="production"?Yi(s,t):s,o);Pt(e,l,p,u)}else r&&(Zc(e,l,r,u),i[t]=void 0)}}const Ji=/(?:Once|Passive|Capture)$/;function tu(e){let t;if(Ji.test(e)){t={};let s;for(;s=e.match(Ji);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ye(e.slice(2)),t]}let Us=0;const nu=Promise.resolve(),su=()=>Us||(nu.then(()=>Us=0),Us=Date.now());function ou(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ke(iu(s,n.value),t,5,[s])};return n.value=e,n.attached=su(),n}function Yi(e,t){return $(e)||T(e)?e:(Se(`Wrong type passed as event handler to ${t} - did you forget @ or : in front of your prop?
|
|
24
|
+
Expected function or array of functions, received type ${typeof e}.`),re)}function iu(e,t){if(T(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>o=>!o._stopped&&s&&s(o))}else return t}const zi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ru=(e,t,n,s,o,i)=>{const r=o==="svg";t==="class"?qc(e,s,r):t==="style"?zc(e,n,s):It(t)?jt(t)||eu(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):lu(e,t,s,r))?(qi(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Wi(e,t,s,r,i,t!=="value")):e._isVueCE&&(cu(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Q(s)))?qi(e,ae(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Wi(e,t,s,r))};function lu(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&zi(t)&&$(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 o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return zi(t)&&Q(n)?!1:t in e}function cu(e,t){const n=e._def.props;if(!n)return!1;const s=ae(t);return Array.isArray(n)?n.some(o=>ae(o)===s):Object.keys(n).some(o=>ae(o)===s)}const Xi={};function uu(e,t,n){let s=Ho(e,t);hn(s)&&(s=z({},s,t));class o extends Ks{constructor(r){super(s,r,n)}}return o.def=s,o}const fu=typeof HTMLElement<"u"?HTMLElement:class{};class Ks extends fu{constructor(t,n={},s=or){super(),this._def=t,this._props=n,this._createApp=s,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._patching=!1,this._dirty=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._styleAnchors=new WeakMap,this._ob=null,this.shadowRoot&&s!==or?this._root=this.shadowRoot:(process.env.NODE_ENV!=="production"&&this.shadowRoot&&Se("Custom element has pre-rendered declarative shadow root but is not defined as hydratable. Use `defineSSRCustomElement`."),t.shadowRoot!==!1?(this.attachShadow(z({},t.shadowRootOptions,{mode:"open"})),this._root=this.shadowRoot):this._root=this)}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.assignedSlot||t.parentNode||t.host);)if(t instanceof Ks){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,xo(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null,this._teleportTargets&&(this._teleportTargets.clear(),this._teleportTargets=void 0))})}_processMutations(t){for(const n of t)this._setAttr(n.attributeName)}_resolveDef(){if(this._pendingResolve)return;for(let s=0;s<this.attributes.length;s++)this._setAttr(this.attributes[s].name);this._ob=new MutationObserver(this._processMutations.bind(this)),this._ob.observe(this,{attributes:!0});const t=(s,o=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:i,styles:r}=s;let l;if(i&&!T(i))for(const u in i){const p=i[u];(p===Number||p&&p.type===Number)&&(u in this._props&&(this._props[u]=Xs(this._props[u])),(l||(l=Object.create(null)))[ae(u)]=!0)}this._numberProps=l,this._resolveProps(s),this.shadowRoot?this._applyStyles(r):process.env.NODE_ENV!=="production"&&r&&Se("Custom element style injection is not supported when using shadowRoot: false"),this._mount(s)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(s=>{s.configureApp=this._def.configureApp,t(this._def=s,!0)}):t(this._def)}_mount(t){process.env.NODE_ENV!=="production"&&!t.name&&(t.name="VueElement"),this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const s in n)H(this,s)?process.env.NODE_ENV!=="production"&&Se(`Exposed property "${s}" already exists on custom element.`):Object.defineProperty(this,s,{get:()=>No(n[s])})}_resolveProps(t){const{props:n}=t,s=T(n)?n:Object.keys(n||{});for(const o of Object.keys(this))o[0]!=="_"&&s.includes(o)&&this._setProp(o,this[o]);for(const o of s.map(ae))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(i){this._setProp(o,i,!0,!this._patching)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let s=n?this.getAttribute(t):Xi;const o=ae(t);n&&this._numberProps&&this._numberProps[o]&&(s=Xs(s)),this._setProp(o,s,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,s=!0,o=!1){if(n!==this._props[t]&&(this._dirty=!0,n===Xi?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),o&&this._instance&&this._update(),s)){const i=this._ob;i&&(this._processMutations(i.takeRecords()),i.disconnect()),n===!0?this.setAttribute(ye(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(ye(t),n+""):n||this.removeAttribute(ye(t)),i&&i.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),mu(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=We(this._def,z(t,this._props));return this._instance||(n.ce=s=>{this._instance=s,s.ce=this,s.isCE=!0,process.env.NODE_ENV!=="production"&&(s.ceReload=i=>{this._styles&&(this._styles.forEach(r=>this._root.removeChild(r)),this._styles.length=0),this._styleAnchors.delete(this._def),this._applyStyles(i),this._instance=null,this._update()});const o=(i,r)=>{this.dispatchEvent(new CustomEvent(i,hn(r[0])?z({detail:r},r[0]):{detail:r}))};s.emit=(i,...r)=>{o(i,r),ye(i)!==i&&o(ye(i),r)},this._setParent()}),n}_applyStyles(t,n,s){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const o=this._nonce,i=this.shadowRoot,r=s?this._getStyleAnchor(s)||this._getStyleAnchor(this._def):this._getRootStyleInsertionAnchor(i);let l=null;for(let u=t.length-1;u>=0;u--){const p=document.createElement("style");if(o&&p.setAttribute("nonce",o),p.textContent=t[u],i.insertBefore(p,l||r),l=p,u===0&&(s||this._styleAnchors.set(this._def,p),n&&this._styleAnchors.set(n,p)),process.env.NODE_ENV!=="production")if(n){if(n.__hmrId){this._childStyles||(this._childStyles=new Map);let d=this._childStyles.get(n.__hmrId);d||this._childStyles.set(n.__hmrId,d=[]),d.push(p)}}else(this._styles||(this._styles=[])).push(p)}}_getStyleAnchor(t){if(!t)return null;const n=this._styleAnchors.get(t);return n&&n.parentNode===this.shadowRoot?n:(n&&this._styleAnchors.delete(t),null)}_getRootStyleInsertionAnchor(t){for(let n=0;n<t.childNodes.length;n++){const s=t.childNodes[n];if(!(s instanceof HTMLStyleElement))return s}return null}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const s=n.nodeType===1&&n.getAttribute("slot")||"default";(t[s]||(t[s]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=this._getSlots(),n=this._instance.type.__scopeId;for(let s=0;s<t.length;s++){const o=t[s],i=o.getAttribute("name")||"default",r=this._slots[i],l=o.parentNode;if(r)for(const u of r){if(n&&u.nodeType===1){const p=n+"-s",d=document.createTreeWalker(u,1);u.setAttribute(p,"");let a;for(;a=d.nextNode();)a.setAttribute(p,"")}l.insertBefore(u,o)}else for(;o.firstChild;)l.insertBefore(o.firstChild,o);l.removeChild(o)}}_getSlots(){const t=[this];this._teleportTargets&&t.push(...this._teleportTargets);const n=new Set;for(const s of t){const o=s.querySelectorAll("slot");for(let i=0;i<o.length;i++)n.add(o[i])}return Array.from(n)}_injectChildStyle(t,n){this._applyStyles(t.styles,t,n)}_beginPatch(){this._patching=!0,this._dirty=!1}_endPatch(){this._patching=!1,this._dirty&&this._instance&&this._update()}_hasShadowRoot(){return this._def.shadowRoot!==!1}_removeChildStyle(t){if(process.env.NODE_ENV!=="production"&&(this._styleChildren.delete(t),this._styleAnchors.delete(t),this._childStyles&&t.__hmrId)){const n=this._childStyles.get(t.__hmrId);n&&(n.forEach(s=>this._root.removeChild(s)),n.length=0)}}}const Qi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return T(t)?n=>Nt(t,n):t};function au(e){e.target.composing=!0}function Zi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Bs=Symbol("_assign");function er(e,t,n){return t&&(e=e.trim()),n&&(e=Zn(e)),e}const du={created(e,{modifiers:{lazy:t,trim:n,number:s}},o){e[Bs]=Qi(o);const i=s||o.props&&o.props.type==="number";Pt(e,t?"change":"input",r=>{r.target.composing||e[Bs](er(e.value,n,i))}),(n||i)&&Pt(e,"change",()=>{e.value=er(e.value,n,i)}),t||(Pt(e,"compositionstart",au),Pt(e,"compositionend",Zi),Pt(e,"change",Zi))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:o,number:i}},r){if(e[Bs]=Qi(r),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?Zn(e.value):e.value,u=t??"";if(l===u)return;const p=e.getRootNode();(p instanceof Document||p instanceof ShadowRoot)&&p.activeElement===e&&e.type!=="range"&&(s&&t===n||o&&e.value.trim()===u)||(e.value=u)}},pu=["ctrl","shift","alt","meta"],hu={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>pu.some(n=>e[`${n}Key`]&&!t.includes(n))},$t=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((o,...i)=>{for(let r=0;r<t.length;r++){const l=hu[t[r]];if(l&&l(o,t))return}return e(o,...i)}))},_u={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},tr=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=(o=>{if(!("key"in o))return;const i=ye(o.key);if(t.some(r=>r===i||_u[r]===i))return e(o)}))},gu=z({patchProp:ru},Bc);let nr;function sr(){return nr||(nr=Ec(gu))}const mu=((...e)=>{sr().render(...e)}),or=((...e)=>{const t=sr().createApp(...e);process.env.NODE_ENV!=="production"&&(Eu(t),bu(t));const{mount:n}=t;return t.mount=s=>{const o=yu(s);if(!o)return;const i=t._component;!$(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const r=n(o,!1,vu(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),r},t});function vu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Eu(e){Object.defineProperty(e.config,"isNativeTag",{value:t=>yr(t)||Nr(t)||Or(t),writable:!1})}function bu(e){{const t=e.config.isCustomElement;Object.defineProperty(e.config,"isCustomElement",{get(){return t},set(){Se("The `isCustomElement` config option is deprecated. Use `compilerOptions.isCustomElement` instead.")}});const n=e.config.compilerOptions,s='The `compilerOptions` config option is only respected when using a build of Vue.js that includes the runtime compiler (aka "full build"). Since you are using the runtime-only build, `compilerOptions` must be passed to `@vue/compiler-dom` in the build setup instead.\n- For vue-loader: pass it via vue-loader\'s `compilerOptions` loader option.\n- For vue-cli: see https://cli.vuejs.org/guide/webpack.html#modifying-options-of-a-loader\n- For vite: pass it via @vitejs/plugin-vue options. See https://github.com/vitejs/vite-plugin-vue/tree/main/packages/plugin-vue#example-for-passing-options-to-vuecompiler-sfc';Object.defineProperty(e.config,"compilerOptions",{get(){return Se(s),n},set(){Se(s)}})}}function yu(e){if(Q(e)){const t=document.querySelector(e);return process.env.NODE_ENV!=="production"&&!t&&Se(`Failed to mount app: mount target selector "${e}" returned null.`),t}return process.env.NODE_ENV!=="production"&&window.ShadowRoot&&e instanceof window.ShadowRoot&&e.mode==="closed"&&Se('mounting on a ShadowRoot with `{mode: "closed"}` may lead to unpredictable bugs'),e}/**
|
|
25
|
+
* vue v3.5.31
|
|
26
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
27
|
+
* @license MIT
|
|
28
|
+
**/function Nu(){Hc()}process.env.NODE_ENV!=="production"&&Nu();const Ou={class:"tdb-header-r"},wu={class:"tdb-urlbar"},Du={class:"tdb-url"},xu={class:"tdb-tabs"},Vu=["onClick"],Su={key:0,class:"tdb-body"},Cu={class:"tdb-pills"},Tu=["onClick"],Au={key:0,class:"tdb-muted"},Pu={key:1,class:"tdb-muted"},$u={key:2,class:"tdb-list"},Mu=["onClick"],Ru={class:"tdb-arrow"},Iu={class:"tdb-etype"},ju={class:"tdb-eid"},Fu={key:0,class:"tdb-attrs"},Lu={class:"tdb-akey"},ku={class:"tdb-aval"},Hu={key:1,class:"tdb-body"},Uu=["onKeydown"],Ku={class:"tdb-examples"},Bu=["onClick"],Wu=["disabled"],qu={key:0,class:"tdb-error"},Gu={key:1,class:"tdb-result"},Ju={key:2,class:"tdb-body"},Yu={key:0,class:"tdb-block"},zu={class:"tdb-row"},Xu={class:"tdb-badge ok"},Qu={key:0,class:"tdb-row"},Zu={key:1,class:"tdb-block"},ef={class:"tdb-label"},tf={class:"tdb-count"},nf={class:"tdb-row tdb-row-total"},sf={class:"tdb-count"},of={class:"tdb-block"},rf={class:"tdb-path"},lf=uu(Ho({__name:"Inspector",props:{dbUrl:{}},setup(e){const t=e,n=ge(!1),s=ge("entities"),o=Gt({x:0,y:0}),i=ge(!1),r=Gt({sx:0,sy:0,px:0,py:0});function l(F){F.target.closest(".tdb-close, .tdb-link")||(i.value=!0,r.sx=F.clientX,r.sy=F.clientY,r.px=o.x,r.py=o.y,F.preventDefault())}function u(F){i.value&&(o.x=r.px+(F.clientX-r.sx),o.y=r.py+(F.clientY-r.sy))}function p(){i.value=!1}Go(()=>{o.x=window.innerWidth-360-20,o.y=window.innerHeight-48-20,window.addEventListener("mousemove",u),window.addEventListener("mouseup",p)}),ws(()=>{window.removeEventListener("mousemove",u),window.removeEventListener("mouseup",p)});const d=ge([]),a=ge([]),_=ge(null),O=ge(new Set),M=ge(!1),S=Ii(()=>_.value?d.value.filter(F=>F.type===_.value):d.value);async function Z(){M.value=!0;try{const V=await(await fetch(`${t.dbUrl}/entities?limit=200`)).json();d.value=V.data??[],a.value=[...new Set(d.value.map(D=>D.type))]}catch{d.value=[]}finally{M.value=!1}}function Y(F){const V=new Set(O.value);V.has(F)?V.delete(F):V.add(F),O.value=V}const L=ge(""),k=ge(null),ue=ge(null),C=ge(!1),oe=["find Note",'find Note where pinned = "true"',"find Note limit 5"];async function he(){if(L.value.trim()){C.value=!0,ue.value=null,k.value=null;try{const V=await(await fetch(`${t.dbUrl}/query`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:L.value})})).json();if(V.error)throw new Error(V.error);k.value=V}catch(F){ue.value=F.message}finally{C.value=!1}}}const ee=ge(null),fe=ge({}),Ce=ge(0),Ge=[{m:"GET",p:"/health"},{m:"GET",p:"/entities"},{m:"POST",p:"/entities"},{m:"GET",p:"/entities/:id"},{m:"PUT",p:"/entities/:id"},{m:"DELETE",p:"/entities/:id"},{m:"POST",p:"/query"},{m:"POST",p:"/upload"},{m:"GET",p:"/files/:hash"}];async function Ve(){try{const[F,V]=await Promise.all([fetch(`${t.dbUrl}/health`).then(D=>D.json()).catch(()=>null),fetch(`${t.dbUrl}/entities?limit=500`).then(D=>D.json()).catch(()=>null)]);if(ee.value=F,V?.data){const D={};for(const te of V.data)D[te.type]=(D[te.type]??0)+1;fe.value=D,Ce.value=V.total??V.data.length}}catch{}}function bt(F){s.value=F,F==="entities"?Z():F==="stats"&&Ve()}function Gn(){n.value=!0,bt(s.value)}function Je(){n.value=!1}return(F,V)=>n.value?(J(),X("div",{key:1,class:"tdb-panel",style:Ht({left:`${o.x}px`,top:`${o.y}px`})},[R("div",{class:"tdb-header",onMousedown:$t(l,["prevent"])},[V[4]||(V[4]=R("div",{class:"tdb-header-l"},[R("svg",{width:"13",height:"13",viewBox:"0 0 24 24",fill:"none",stroke:"#a78bfa","stroke-width":"2"},[R("polygon",{points:"12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5"})]),R("span",{class:"tdb-title"},"Trellis DB")],-1)),R("div",Ou,[V[3]||(V[3]=R("span",{class:"tdb-link",title:"Coming soon — full client UI"},"Open Client ↗",-1)),R("button",{class:"tdb-close",onClick:$t(Je,["stop"])},"✕")])],32),R("div",wu,[V[5]||(V[5]=R("span",{class:"tdb-dot"},"◉",-1)),R("code",Du,ne(e.dbUrl),1)]),R("div",xu,[(J(),X(de,null,mt(["entities","query","stats"],D=>R("button",{key:D,class:at(["tdb-tab",{active:s.value===D}]),onClick:te=>bt(D)},ne(D),11,Vu)),64))]),s.value==="entities"?(J(),X("div",Su,[R("div",Cu,[R("button",{class:at(["tdb-pill",{active:!_.value}]),onClick:V[0]||(V[0]=D=>_.value=null)}," All · "+ne(d.value.length),3),(J(!0),X(de,null,mt(a.value,D=>(J(),X("button",{key:D,class:at(["tdb-pill",{active:_.value===D}]),onClick:te=>_.value=D},ne(D),11,Tu))),128)),R("button",{class:"tdb-pill tdb-pill-icon",onClick:Z,title:"Refresh"},"↻")]),M.value?(J(),X("div",Au,"Loading…")):S.value.length?(J(),X("div",$u,[(J(!0),X(de,null,mt(S.value,D=>(J(),X("div",{key:D.id,class:"tdb-entity"},[R("div",{class:"tdb-entity-row",onClick:te=>Y(D.id)},[R("span",Ru,ne(O.value.has(D.id)?"▾":"▸"),1),R("span",Iu,ne(D.type),1),R("span",ju,ne(D.id),1)],8,Mu),O.value.has(D.id)?(J(),X("div",Fu,[(J(!0),X(de,null,mt(D,(te,Mt)=>(J(),X("div",{key:String(Mt),class:"tdb-attr"},[R("span",Lu,ne(Mt),1),R("span",ku,ne(te),1)]))),128))])):At("",!0)]))),128))])):(J(),X("div",Pu,"No entities found."))])):s.value==="query"?(J(),X("div",Hu,[yl(R("textarea",{class:"tdb-textarea","onUpdate:modelValue":V[1]||(V[1]=D=>L.value=D),placeholder:'find Note where pinned = "true"',onKeydown:[tr($t(he,["meta","prevent"]),["enter"]),tr($t(he,["ctrl","prevent"]),["enter"])],spellcheck:"false"},null,40,Uu),[[du,L.value]]),R("div",Ku,[(J(),X(de,null,mt(oe,D=>R("span",{key:D,class:"tdb-ex",onClick:te=>L.value=D},ne(D),9,Bu)),64))]),R("button",{class:"tdb-run",disabled:C.value||!L.value.trim(),onClick:he},ne(C.value?"Running…":"Run ⌘↵"),9,Wu),ue.value?(J(),X("div",qu,ne(ue.value),1)):k.value?(J(),X("pre",Gu,ne(JSON.stringify(k.value,null,2)),1)):At("",!0)])):s.value==="stats"?(J(),X("div",Ju,[ee.value?(J(),X("div",Yu,[R("div",zu,[V[6]||(V[6]=R("span",{class:"tdb-label"},"Status",-1)),R("span",Xu,ne(ee.value.status),1)]),ee.value.uptime!==void 0?(J(),X("div",Qu,[V[7]||(V[7]=R("span",{class:"tdb-label"},"Uptime",-1)),R("span",null,ne(Math.round(ee.value.uptime))+"s",1)])):At("",!0)])):At("",!0),Object.keys(fe.value).length?(J(),X("div",Zu,[V[9]||(V[9]=R("div",{class:"tdb-section-label"},"Entity Types",-1)),(J(!0),X(de,null,mt(fe.value,(D,te)=>(J(),X("div",{key:String(te),class:"tdb-row"},[R("span",ef,ne(te),1),R("span",tf,ne(D),1)]))),128)),R("div",nf,[V[8]||(V[8]=R("span",{class:"tdb-label"},"Total",-1)),R("span",sf,ne(Ce.value),1)])])):At("",!0),R("div",of,[V[10]||(V[10]=R("div",{class:"tdb-section-label"},"REST API",-1)),(J(),X(de,null,mt(Ge,D=>R("div",{key:D.m+D.p,class:"tdb-ep"},[R("span",{class:at(["tdb-method",D.m.toLowerCase()])},ne(D.m),3),R("code",rf,ne(D.p),1)])),64))])])):At("",!0)],4)):(J(),X("div",{key:0,class:"tdb-toggle",onMousedown:$t(l,["prevent"]),onClick:$t(Gn,["stop"]),style:Ht({left:`${o.x}px`,top:`${o.y}px`})},[...V[2]||(V[2]=[R("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[R("polygon",{points:"12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5"})],-1),R("span",null,"DB",-1)])],36))}}));customElements.get("trellis-db-inspector")||customElements.define("trellis-db-inspector",lf);function cf(){const e=document.currentScript;if(e?.src)return new URL(e.src).origin;for(const t of Array.from(document.querySelectorAll("script[src]")))if(t.src.includes("/__trellis/inspector"))return new URL(t.src).origin;return window.location.origin}function ir(){if(document.querySelector("trellis-db-inspector"))return;const e=document.createElement("trellis-db-inspector");e.setAttribute("db-url",cf()),document.body.appendChild(e)}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",ir):ir()})();
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
:host{all:initial;font-family:ui-monospace,Cascadia Code,SF Mono,monospace;font-size:12px;line-height:1.5;color-scheme:dark}*,*:before,*:after{box-sizing:border-box;margin:0;padding:0}.tdb-toggle{position:fixed;z-index:2147483647;display:flex;align-items:center;gap:5px;padding:7px 13px;background:#0f0f1a;border:1px solid #4c1d95;border-radius:999px;color:#a78bfa;cursor:pointer;user-select:none;font-size:11px;font-weight:600;letter-spacing:.4px;box-shadow:0 2px 16px #6d28d959;transition:border-color .15s,box-shadow .15s}.tdb-toggle:hover{border-color:#a78bfa;box-shadow:0 2px 20px #6d28d98c}.tdb-panel{position:fixed;z-index:2147483647;width:360px;max-height:520px;background:#0a0a14;border:1px solid #1e1b4b;border-radius:10px;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 12px 48px #000000b3,0 0 0 1px #7c3aed26;font-family:ui-monospace,Cascadia Code,monospace;font-size:12px;color:#e2e8f0}.tdb-header{display:flex;align-items:center;justify-content:space-between;padding:9px 12px;background:#0f0f1e;border-bottom:1px solid #1e1b4b;cursor:grab;user-select:none;flex-shrink:0}.tdb-header:active{cursor:grabbing}.tdb-header-l,.tdb-header-r{display:flex;align-items:center;gap:7px}.tdb-title{font-weight:700;font-size:12px;color:#a78bfa;letter-spacing:.3px}.tdb-link{font-size:10px;color:#374151;cursor:default;letter-spacing:.2px;pointer-events:none}.tdb-close{background:none;border:none;color:#4b5563;cursor:pointer;font-size:12px;padding:2px 5px;border-radius:3px;line-height:1;font-family:inherit}.tdb-close:hover{color:#e2e8f0;background:#1e1b4b}.tdb-urlbar{display:flex;align-items:center;gap:7px;padding:5px 12px;background:#08080f;border-bottom:1px solid #13132a;flex-shrink:0}.tdb-dot{font-size:9px;color:#22c55e}.tdb-url{font-size:10px;color:#475569;font-family:inherit}.tdb-tabs{display:flex;background:#08080f;border-bottom:1px solid #1e1b4b;flex-shrink:0}.tdb-tab{flex:1;padding:7px 0;background:none;border:none;border-bottom:2px solid transparent;color:#374151;cursor:pointer;font-size:11px;font-family:inherit;letter-spacing:.3px;transition:color .15s,border-color .15s}.tdb-tab:hover{color:#94a3b8}.tdb-tab.active{color:#a78bfa;border-bottom-color:#7c3aed}.tdb-body{flex:1;overflow-y:auto;padding:8px;display:flex;flex-direction:column;gap:6px}.tdb-body::-webkit-scrollbar{width:3px}.tdb-body::-webkit-scrollbar-track{background:transparent}.tdb-body::-webkit-scrollbar-thumb{background:#1e1b4b;border-radius:2px}.tdb-muted{color:#374151;text-align:center;padding:20px 0;font-size:11px}.tdb-pills{display:flex;flex-wrap:wrap;gap:4px}.tdb-pill{padding:2px 8px;background:#0f0f1e;border:1px solid #1e1b4b;border-radius:999px;color:#374151;cursor:pointer;font-size:10px;font-family:inherit;transition:all .1s}.tdb-pill:hover{color:#94a3b8;border-color:#374151}.tdb-pill.active{background:#1e1044;border-color:#6d28d9;color:#a78bfa}.tdb-pill-icon{padding:2px 7px}.tdb-list{display:flex;flex-direction:column;gap:2px}.tdb-entity-row{display:flex;align-items:center;gap:6px;padding:4px 7px;background:#0f0f1e;border:1px solid #13132a;border-radius:4px;cursor:pointer;transition:background .1s}.tdb-entity-row:hover{background:#141428}.tdb-arrow{color:#374151;font-size:10px;width:10px;flex-shrink:0}.tdb-etype{color:#6d28d9;font-weight:700;font-size:10px;flex-shrink:0}.tdb-eid{color:#334155;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tdb-attrs{background:#08080f;border:1px solid #13132a;border-top:none;border-radius:0 0 4px 4px;padding:5px 8px;display:flex;flex-direction:column;gap:2px;margin-top:-1px}.tdb-attr{display:flex;gap:8px;font-size:10px}.tdb-akey{color:#475569;flex-shrink:0;min-width:72px}.tdb-aval{color:#94a3b8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.tdb-textarea{width:100%;min-height:60px;resize:vertical;background:#08080f;border:1px solid #1e1b4b;border-radius:6px;color:#e2e8f0;font-family:inherit;font-size:11px;padding:8px;outline:none}.tdb-textarea:focus{border-color:#6d28d9}.tdb-examples{display:flex;flex-wrap:wrap;gap:4px}.tdb-ex{padding:2px 6px;background:#0f0f1e;border:1px solid #1e1b4b;border-radius:4px;color:#374151;cursor:pointer;font-size:10px;transition:all .1s}.tdb-ex:hover{color:#94a3b8;border-color:#374151}.tdb-run{padding:5px 12px;background:#6d28d9;border:none;border-radius:6px;color:#fff;cursor:pointer;font-family:inherit;font-size:11px;font-weight:600;transition:background .15s;align-self:flex-start}.tdb-run:hover:not(:disabled){background:#5b21b6}.tdb-run:disabled{opacity:.4;cursor:not-allowed}.tdb-error{background:#180a0a;border:1px solid #7f1d1d;border-radius:4px;color:#f87171;padding:6px 8px;font-size:10px}.tdb-result{background:#08080f;border:1px solid #1e1b4b;border-radius:4px;color:#94a3b8;padding:8px;font-size:10px;overflow:auto;max-height:180px;margin:0;white-space:pre-wrap}.tdb-block{background:#0f0f1e;border:1px solid #13132a;border-radius:6px;padding:8px;display:flex;flex-direction:column;gap:4px}.tdb-section-label{color:#374151;font-size:10px;letter-spacing:.5px;text-transform:uppercase;margin-bottom:2px}.tdb-row{display:flex;justify-content:space-between;align-items:center;font-size:11px}.tdb-row-total{border-top:1px solid #1e1b4b;margin-top:2px;padding-top:4px}.tdb-label{color:#94a3b8}.tdb-badge{padding:1px 7px;border-radius:999px;font-size:10px;font-weight:600}.tdb-badge.ok{background:#052e16;color:#4ade80}.tdb-count{background:#1e1044;color:#a78bfa;padding:1px 7px;border-radius:999px;font-size:10px;font-weight:600}.tdb-ep{display:flex;align-items:center;gap:8px;font-size:10px;padding:2px 0}.tdb-method{font-weight:700;font-size:9px;width:38px;text-align:center;padding:1px 4px;border-radius:3px;flex-shrink:0}.tdb-method.get{background:#172554;color:#60a5fa}.tdb-method.post{background:#052e16;color:#4ade80}.tdb-method.put{background:#2d1900;color:#fbbf24}.tdb-method.delete{background:#280a0a;color:#f87171}.tdb-path{color:#475569;font-family:inherit}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Decision Auto-Capture Middleware
|
|
3
|
+
*
|
|
4
|
+
* Wraps MCP tool handlers to automatically emit vcs:decisionRecord ops
|
|
5
|
+
* for every tool invocation. Pre/post hooks can enrich the trace with
|
|
6
|
+
* rationale, alternatives, and prompt context.
|
|
7
|
+
*/
|
|
8
|
+
import type { HookRegistry } from './hooks.js';
|
|
9
|
+
import type { DecisionInput } from './types.js';
|
|
10
|
+
/** A generic MCP tool handler: receives params, returns a result. */
|
|
11
|
+
export type ToolHandler = (params: Record<string, unknown>) => Promise<unknown>;
|
|
12
|
+
/** Callback invoked after auto-capture builds the DecisionInput. */
|
|
13
|
+
export type DecisionRecorder = (decision: DecisionInput) => Promise<void>;
|
|
14
|
+
export interface AutoCaptureOpts {
|
|
15
|
+
/** The hook registry for pre/post enrichment. */
|
|
16
|
+
hooks: HookRegistry;
|
|
17
|
+
/** Called to persist the decision as a VcsOp. */
|
|
18
|
+
recorder: DecisionRecorder;
|
|
19
|
+
/** Tool names to exclude from auto-capture (e.g. read-only queries). */
|
|
20
|
+
exclude?: Set<string>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Wrap an MCP tool handler for automatic decision trace capture.
|
|
24
|
+
*/
|
|
25
|
+
export declare function wrapToolHandler(toolName: string, handler: ToolHandler, opts: AutoCaptureOpts): ToolHandler;
|
|
26
|
+
/**
|
|
27
|
+
* Summarize a tool result to a concise string (max 500 chars).
|
|
28
|
+
*/
|
|
29
|
+
declare function summarize(result: unknown): string;
|
|
30
|
+
export { summarize as _summarizeForTest };
|
|
31
|
+
//# sourceMappingURL=auto-capture.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auto-capture.d.ts","sourceRoot":"","sources":["../../src/decisions/auto-capture.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC/C,OAAO,KAAK,EAAE,aAAa,EAAmB,MAAM,YAAY,CAAC;AAMjE,qEAAqE;AACrE,MAAM,MAAM,WAAW,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAAK,OAAO,CAAC,OAAO,CAAC,CAAC;AAEhF,oEAAoE;AACpE,MAAM,MAAM,gBAAgB,GAAG,CAAC,QAAQ,EAAE,aAAa,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;AAE1E,MAAM,WAAW,eAAe;IAC9B,iDAAiD;IACjD,KAAK,EAAE,YAAY,CAAC;IACpB,iDAAiD;IACjD,QAAQ,EAAE,gBAAgB,CAAC;IAC3B,wEAAwE;IACxE,OAAO,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;CACvB;AAMD;;GAEG;AACH,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,MAAM,EAChB,OAAO,EAAE,WAAW,EACpB,IAAI,EAAE,eAAe,GACpB,WAAW,CAgDb;AAuBD;;GAEG;AACH,iBAAS,SAAS,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,CAkB1C;AAED,OAAO,EAAE,SAAS,IAAI,iBAAiB,EAAE,CAAC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Decision Hook Registry
|
|
3
|
+
*
|
|
4
|
+
* External agent harnesses register pre/post hooks to enrich decision traces
|
|
5
|
+
* with rationale, alternatives, prompt context, etc.
|
|
6
|
+
*/
|
|
7
|
+
import type { DecisionPreHook, DecisionPostHook, DecisionContext, DecisionEnrichment } from './types.js';
|
|
8
|
+
export declare class HookRegistry {
|
|
9
|
+
private preHooks;
|
|
10
|
+
private postHooks;
|
|
11
|
+
/**
|
|
12
|
+
* Register a pre-hook that runs before a tool handler.
|
|
13
|
+
*/
|
|
14
|
+
registerPreHook(hook: DecisionPreHook): void;
|
|
15
|
+
/**
|
|
16
|
+
* Register a post-hook that runs after a tool handler.
|
|
17
|
+
*/
|
|
18
|
+
registerPostHook(hook: DecisionPostHook): void;
|
|
19
|
+
/**
|
|
20
|
+
* Remove a pre-hook by name.
|
|
21
|
+
*/
|
|
22
|
+
removePreHook(name: string): void;
|
|
23
|
+
/**
|
|
24
|
+
* Remove a post-hook by name.
|
|
25
|
+
*/
|
|
26
|
+
removePostHook(name: string): void;
|
|
27
|
+
/**
|
|
28
|
+
* Get all pre-hooks matching a tool name.
|
|
29
|
+
*/
|
|
30
|
+
getPreHooks(toolName: string): DecisionPreHook[];
|
|
31
|
+
/**
|
|
32
|
+
* Get all post-hooks matching a tool name.
|
|
33
|
+
*/
|
|
34
|
+
getPostHooks(toolName: string): DecisionPostHook[];
|
|
35
|
+
/**
|
|
36
|
+
* Run all matching pre-hooks and merge their contexts.
|
|
37
|
+
*/
|
|
38
|
+
runPreHooks(toolName: string, input: Record<string, unknown>): Promise<DecisionContext>;
|
|
39
|
+
/**
|
|
40
|
+
* Run all matching post-hooks and merge their enrichments.
|
|
41
|
+
*/
|
|
42
|
+
runPostHooks(toolName: string, input: Record<string, unknown>, output: unknown, preContext: DecisionContext): Promise<DecisionEnrichment>;
|
|
43
|
+
/**
|
|
44
|
+
* Clear all hooks.
|
|
45
|
+
*/
|
|
46
|
+
clear(): void;
|
|
47
|
+
}
|
|
48
|
+
//# sourceMappingURL=hooks.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../src/decisions/hooks.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EACV,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,kBAAkB,EACnB,MAAM,YAAY,CAAC;AAMpB,qBAAa,YAAY;IACvB,OAAO,CAAC,QAAQ,CAAyB;IACzC,OAAO,CAAC,SAAS,CAA0B;IAE3C;;OAEG;IACH,eAAe,CAAC,IAAI,EAAE,eAAe,GAAG,IAAI;IAI5C;;OAEG;IACH,gBAAgB,CAAC,IAAI,EAAE,gBAAgB,GAAG,IAAI;IAI9C;;OAEG;IACH,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAIjC;;OAEG;IACH,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAIlC;;OAEG;IACH,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,eAAe,EAAE;IAIhD;;OAEG;IACH,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,gBAAgB,EAAE;IAMlD;;OAEG;IACG,WAAW,CACf,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC7B,OAAO,CAAC,eAAe,CAAC;IAmB3B;;OAEG;IACG,YAAY,CAChB,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9B,MAAM,EAAE,OAAO,EACf,UAAU,EAAE,eAAe,GAC1B,OAAO,CAAC,kBAAkB,CAAC;IAkC9B;;OAEG;IACH,KAAK,IAAI,IAAI;CAId"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Decision Traces Module
|
|
3
|
+
*
|
|
4
|
+
* Auto-captures agent decision traces from MCP tool invocations as
|
|
5
|
+
* first-class Decision entities in the EAV store.
|
|
6
|
+
*
|
|
7
|
+
* Public API:
|
|
8
|
+
* - recordDecision() — persist a decision as a vcs:decisionRecord op
|
|
9
|
+
* - queryDecisions() — filter/list decisions from the EAV store
|
|
10
|
+
* - getDecisionChain() — all decisions that affected a given entity
|
|
11
|
+
* - HookRegistry — pre/post hook registration for external harnesses
|
|
12
|
+
* - wrapToolHandler() — MCP middleware for auto-capture
|
|
13
|
+
*/
|
|
14
|
+
export { HookRegistry } from './hooks.js';
|
|
15
|
+
export { wrapToolHandler, type ToolHandler, type DecisionRecorder, type AutoCaptureOpts, } from './auto-capture.js';
|
|
16
|
+
export type { Decision, DecisionInput, DecisionFilter, DecisionContext, DecisionEnrichment, DecisionPreHook, DecisionPostHook, } from './types.js';
|
|
17
|
+
import type { VcsOp } from '../vcs/types.js';
|
|
18
|
+
import type { EngineContext } from '../vcs/engine-context.js';
|
|
19
|
+
import type { Decision, DecisionInput, DecisionFilter } from './types.js';
|
|
20
|
+
/**
|
|
21
|
+
* Record a decision trace as a vcs:decisionRecord op.
|
|
22
|
+
*/
|
|
23
|
+
export declare function recordDecision(ctx: EngineContext, rootPath: string, input: DecisionInput): Promise<VcsOp>;
|
|
24
|
+
/**
|
|
25
|
+
* Query decisions with optional filters.
|
|
26
|
+
*/
|
|
27
|
+
export declare function queryDecisions(ctx: EngineContext, filter?: DecisionFilter): Decision[];
|
|
28
|
+
/**
|
|
29
|
+
* Get all decisions that affected a given entity (the decision chain).
|
|
30
|
+
*/
|
|
31
|
+
export declare function getDecisionChain(ctx: EngineContext, entityId: string): Decision[];
|
|
32
|
+
/**
|
|
33
|
+
* Get a single decision by ID.
|
|
34
|
+
*/
|
|
35
|
+
export declare function getDecision(ctx: EngineContext, id: string): Decision | null;
|
|
36
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/decisions/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAC1C,OAAO,EACL,eAAe,EACf,KAAK,WAAW,EAChB,KAAK,gBAAgB,EACrB,KAAK,eAAe,GACrB,MAAM,mBAAmB,CAAC;AAC3B,YAAY,EACV,QAAQ,EACR,aAAa,EACb,cAAc,EACd,eAAe,EACf,kBAAkB,EAClB,eAAe,EACf,gBAAgB,GACjB,MAAM,YAAY,CAAC;AAMpB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AA6B1E;;GAEG;AACH,wBAAsB,cAAc,CAClC,GAAG,EAAE,aAAa,EAClB,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,aAAa,GACnB,OAAO,CAAC,KAAK,CAAC,CAkChB;AAoDD;;GAEG;AACH,wBAAgB,cAAc,CAC5B,GAAG,EAAE,aAAa,EAClB,MAAM,CAAC,EAAE,cAAc,GACtB,QAAQ,EAAE,CAsDZ;AAED;;GAEG;AACH,wBAAgB,gBAAgB,CAC9B,GAAG,EAAE,aAAa,EAClB,QAAQ,EAAE,MAAM,GACf,QAAQ,EAAE,CAqBZ;AAED;;GAEG;AACH,wBAAgB,WAAW,CAAC,GAAG,EAAE,aAAa,EAAE,EAAE,EAAE,MAAM,GAAG,QAAQ,GAAG,IAAI,CAO3E"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Decision Trace Types
|
|
3
|
+
*
|
|
4
|
+
* Types for auto-captured agent decision traces. Decisions are first-class
|
|
5
|
+
* entities in the EAV store, emitted automatically from MCP tool calls
|
|
6
|
+
* and enrichable via pre/post hooks.
|
|
7
|
+
*/
|
|
8
|
+
export interface Decision {
|
|
9
|
+
id: string;
|
|
10
|
+
toolName: string;
|
|
11
|
+
input?: Record<string, unknown>;
|
|
12
|
+
outputSummary?: string;
|
|
13
|
+
context?: string;
|
|
14
|
+
rationale?: string;
|
|
15
|
+
alternatives?: string[];
|
|
16
|
+
confidence?: number;
|
|
17
|
+
createdAt?: string;
|
|
18
|
+
createdBy?: string;
|
|
19
|
+
/** IDs of related entities (issues, files, milestones) affected by this decision */
|
|
20
|
+
relatedEntities: string[];
|
|
21
|
+
custom?: Record<string, unknown>;
|
|
22
|
+
}
|
|
23
|
+
export interface DecisionInput {
|
|
24
|
+
toolName: string;
|
|
25
|
+
input?: Record<string, unknown>;
|
|
26
|
+
outputSummary?: string;
|
|
27
|
+
context?: string;
|
|
28
|
+
rationale?: string;
|
|
29
|
+
alternatives?: string[];
|
|
30
|
+
confidence?: number;
|
|
31
|
+
/** Entity IDs this decision relates to (e.g. "issue:TRL-5") */
|
|
32
|
+
relatedEntities?: string[];
|
|
33
|
+
custom?: Record<string, unknown>;
|
|
34
|
+
}
|
|
35
|
+
export interface DecisionFilter {
|
|
36
|
+
/** Filter by MCP tool name (glob-like, e.g. "trellis_issue_*") */
|
|
37
|
+
toolPattern?: string;
|
|
38
|
+
/** Filter by agent ID */
|
|
39
|
+
agentId?: string;
|
|
40
|
+
/** Only decisions after this ISO timestamp */
|
|
41
|
+
since?: string;
|
|
42
|
+
/** Only decisions before this ISO timestamp */
|
|
43
|
+
until?: string;
|
|
44
|
+
/** Only decisions referencing this entity */
|
|
45
|
+
entityId?: string;
|
|
46
|
+
/** Max results */
|
|
47
|
+
limit?: number;
|
|
48
|
+
}
|
|
49
|
+
export interface DecisionContext {
|
|
50
|
+
prompt?: string;
|
|
51
|
+
conversationId?: string;
|
|
52
|
+
agentModel?: string;
|
|
53
|
+
custom?: Record<string, unknown>;
|
|
54
|
+
}
|
|
55
|
+
export interface DecisionEnrichment {
|
|
56
|
+
rationale?: string;
|
|
57
|
+
alternatives?: string[];
|
|
58
|
+
confidence?: number;
|
|
59
|
+
relatedEntities?: string[];
|
|
60
|
+
custom?: Record<string, unknown>;
|
|
61
|
+
}
|
|
62
|
+
export interface DecisionPreHook {
|
|
63
|
+
name: string;
|
|
64
|
+
/** Which tools to intercept — string (glob) or RegExp */
|
|
65
|
+
toolPattern: string | RegExp;
|
|
66
|
+
handler: (toolName: string, input: Record<string, unknown>) => Promise<DecisionContext>;
|
|
67
|
+
}
|
|
68
|
+
export interface DecisionPostHook {
|
|
69
|
+
name: string;
|
|
70
|
+
toolPattern: string | RegExp;
|
|
71
|
+
handler: (toolName: string, input: Record<string, unknown>, output: unknown, preContext: DecisionContext) => Promise<DecisionEnrichment>;
|
|
72
|
+
}
|
|
73
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/decisions/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAMH,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oFAAoF;IACpF,eAAe,EAAE,MAAM,EAAE,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAClC;AAMD,MAAM,WAAW,aAAa;IAC5B,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAChC,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,+DAA+D;IAC/D,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAClC;AAMD,MAAM,WAAW,cAAc;IAC7B,kEAAkE;IAClE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,yBAAyB;IACzB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,8CAA8C;IAC9C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,+CAA+C;IAC/C,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,6CAA6C;IAC7C,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kBAAkB;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAMD,MAAM,WAAW,eAAe;IAC9B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAClC;AAED,MAAM,WAAW,kBAAkB;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAClC;AAED,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,yDAAyD;IACzD,WAAW,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,OAAO,EAAE,CACP,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,KAC3B,OAAO,CAAC,eAAe,CAAC,CAAC;CAC/B;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,OAAO,EAAE,CACP,QAAQ,EAAE,MAAM,EAChB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC9B,MAAM,EAAE,OAAO,EACf,UAAU,EAAE,eAAe,KACxB,OAAO,CAAC,kBAAkB,CAAC,CAAC;CAClC"}
|