├── tests ├── add.ts ├── hello.spec.ts └── index.spec.ts ├── .vscode └── extensions.json ├── src ├── store.ts ├── components │ ├── HelloWorld.vue │ ├── Hello.tsx │ ├── __tests__ │ │ └── HelloWorld.cy.ts │ └── Stepper.vue ├── vite-env.d.ts ├── views │ ├── index.ts │ ├── About.vue │ ├── Home.vue │ └── __tests__ │ │ └── Home.cy.ts ├── main.ts ├── router.ts ├── assets │ └── vue.svg ├── App.vue ├── stores │ └── counter.ts └── style.css ├── cypress ├── fixtures │ └── example.json ├── support │ ├── component-index.html │ ├── e2e.ts │ ├── commands.ts │ └── component.ts └── e2e │ └── 1-getting-started │ └── todo.cy.js ├── tsconfig.node.json ├── .gitignore ├── index.html ├── README.md ├── cypress.config.ts ├── dist ├── index.html ├── vite.svg └── assets │ └── index.f40e0b9d.js ├── vite.config.ts ├── tsconfig.json ├── package.json ├── public └── vite.svg └── .github └── workflows ├── ci.yml └── cd.yml /tests/add.ts: -------------------------------------------------------------------------------- 1 | 2 | 3 | export function add (a,b) { 4 | return a + b 5 | } -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- 1 | { 2 | "recommendations": ["Vue.volar"] 3 | } 4 | -------------------------------------------------------------------------------- /src/store.ts: -------------------------------------------------------------------------------- 1 | import { createPinia } from "pinia"; 2 | export const pinia = createPinia(); 3 | -------------------------------------------------------------------------------- /src/components/HelloWorld.vue: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/components/Hello.tsx: -------------------------------------------------------------------------------- 1 | import { defineComponent } from "vue"; 2 | 3 | export default defineComponent({ 4 | setup() { 5 | return () =>
hello
; 6 | }, 7 | }); 8 | -------------------------------------------------------------------------------- /cypress/fixtures/example.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Using fixtures to represent data", 3 | "email": "hello@cypress.io", 4 | "body": "Fixtures are a great way to mock data for responses to routes" 5 | } 6 | -------------------------------------------------------------------------------- /src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | 3 | declare module '*.vue' { 4 | import type { DefineComponent } from 'vue' 5 | const component: DefineComponent<{}, {}, any> 6 | export default component 7 | } 8 | -------------------------------------------------------------------------------- /tests/hello.spec.ts: -------------------------------------------------------------------------------- 1 | import { test } from "vitest"; 2 | import Hello from "../src/components/Hello"; 3 | import {mount} from '@vue/test-utils' 4 | 5 | test("hello", () => { 6 | console.log(Hello); 7 | mount(Hello) 8 | }); 9 | -------------------------------------------------------------------------------- /src/views/index.ts: -------------------------------------------------------------------------------- 1 | // 统一的导出口 2 | import HomeView from "./Home.vue"; 3 | import AboutView from "./About.vue"; 4 | 5 | 6 | export const Home = HomeView; 7 | export const About = AboutView 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /tsconfig.node.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "composite": true, 4 | "module": "ESNext", 5 | "moduleResolution": "Node", 6 | "allowSyntheticDefaultImports": true 7 | }, 8 | "include": ["vite.config.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /src/components/__tests__/HelloWorld.cy.ts: -------------------------------------------------------------------------------- 1 | import HelloWorld from "../HelloWorld.vue"; 2 | describe("component test: Hello World", () => { 3 | it("mount", () => { 4 | cy.mount(HelloWorld); 5 | 6 | cy.contains("Hello World"); 7 | }); 8 | }); 9 | -------------------------------------------------------------------------------- /tests/index.spec.ts: -------------------------------------------------------------------------------- 1 | import { expect, test } from "vitest"; 2 | import { add } from "./add"; 3 | 4 | test("init", () => { 5 | expect(1 + 1).toBe(2); 6 | }); 7 | 8 | test("support test import file", () => { 9 | expect(add(1, 1)).toBe(2); 10 | }); 11 | -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- 1 | import { createApp } from "vue"; 2 | import "./style.css"; 3 | import App from "./App.vue"; 4 | import { pinia } from "./store"; 5 | import { router } from "./router"; 6 | import 'ant-design-vue/dist/antd.css'; 7 | 8 | const app = createApp(App); 9 | 10 | app.use(router); 11 | app.use(pinia); 12 | 13 | app.mount("#app"); 14 | -------------------------------------------------------------------------------- /cypress/support/component-index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Components App 8 | 9 | 10 |
11 | 12 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Logs 2 | logs 3 | *.log 4 | npm-debug.log* 5 | yarn-debug.log* 6 | yarn-error.log* 7 | pnpm-debug.log* 8 | lerna-debug.log* 9 | 10 | node_modules 11 | dist-ssr 12 | *.local 13 | 14 | # Editor directories and files 15 | .vscode/* 16 | !.vscode/extensions.json 17 | .idea 18 | .DS_Store 19 | *.suo 20 | *.ntvs* 21 | *.njsproj 22 | *.sln 23 | *.sw? 24 | .vercel 25 | -------------------------------------------------------------------------------- /src/router.ts: -------------------------------------------------------------------------------- 1 | import { Home, About } from "./views"; 2 | import { createRouter, createWebHashHistory } from "vue-router"; 3 | 4 | export const routes = [ 5 | { path: "/", component: Home, name: "home" }, 6 | { path: "/about", component: About, name: "about" }, 7 | ]; 8 | 9 | export const router = createRouter({ 10 | history: createWebHashHistory(), 11 | routes, 12 | }); 13 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Vite + Vue + TS 8 | 9 | 10 |
11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # One-step 2 | 3 | vue3 开发技术栈 一步到位 开箱即用 4 | 5 | ## Features 6 | 7 | 集成了以下技术栈 8 | 9 | - [x] vite 10 | - [x] vue3 11 | - [x] typescript 12 | - [x] vitest 13 | - [x] vue-router 14 | - [x] pinia(vuex5) 15 | - [x] ant design 16 | - [x] cypress 17 | - [x] cypress-component-test 18 | - [x] alias 19 | - [x] ci && cd 20 | - [ ] story-book 21 | - [ ] axios 22 | - [ ] lint + eslint + prettier 23 | 24 | 25 | ## 提需求 26 | 27 | 可以发 issue 提需求 你还想集成什么技术栈进来? 28 | -------------------------------------------------------------------------------- /src/views/About.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /src/assets/vue.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cypress.config.ts: -------------------------------------------------------------------------------- 1 | import { defineConfig } from "cypress"; 2 | 3 | const baseUrl = 4 | process.env.NODE_ENV === "developer" 5 | ? "http://127.0.0.1:5174/#/" 6 | : "http://127.0.0.1:4173/#/"; 7 | 8 | export default defineConfig({ 9 | e2e: { 10 | baseUrl, 11 | setupNodeEvents(on, config) { 12 | // implement node event listeners here 13 | }, 14 | }, 15 | 16 | component: { 17 | devServer: { 18 | framework: "vue", 19 | bundler: "vite", 20 | }, 21 | }, 22 | }); 23 | -------------------------------------------------------------------------------- /src/components/Stepper.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /dist/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | Vite + Vue + TS 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /src/App.vue: -------------------------------------------------------------------------------- 1 | 2 | 12 | 13 | 26 | -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- 1 | /// 2 | import { defineConfig } from "vite"; 3 | import vue from "@vitejs/plugin-vue"; 4 | import vuejsx from "@vitejs/plugin-vue-jsx"; 5 | import path from "path"; 6 | 7 | // https://vitejs.dev/config/ 8 | export default defineConfig({ 9 | test: { 10 | transformMode: { 11 | web: [/\.[jt]sx$/], 12 | }, 13 | environment:"jsdom" 14 | }, 15 | plugins: [vuejsx(), vue()], 16 | resolve: { 17 | alias: { 18 | "@/": `${path.resolve(__dirname, "src")}/`, 19 | }, 20 | }, 21 | }); 22 | -------------------------------------------------------------------------------- /src/stores/counter.ts: -------------------------------------------------------------------------------- 1 | import { defineStore } from "pinia"; 2 | import { ref } from "vue"; 3 | 4 | // 支持两种写法 5 | // export const useCounterStore = defineStore("counter", { 6 | // state: () => ({ count: 0 }), 7 | // getters: { 8 | // double: (state) => state.count * 2, 9 | // }, 10 | // actions: { 11 | // increment() { 12 | // this.count++; 13 | // }, 14 | // }, 15 | // }); 16 | 17 | // 我更喜欢这个写法 18 | export const useCounterStore = defineStore("counter", () => { 19 | const count = ref(0); 20 | function increment() { 21 | count.value++; 22 | } 23 | 24 | return { count, increment }; 25 | }); 26 | -------------------------------------------------------------------------------- /cypress/support/e2e.ts: -------------------------------------------------------------------------------- 1 | // *********************************************************** 2 | // This example support/e2e.ts is processed and 3 | // loaded automatically before your test files. 4 | // 5 | // This is a great place to put global configuration and 6 | // behavior that modifies Cypress. 7 | // 8 | // You can change the location of this file or turn off 9 | // automatically serving support files with the 10 | // 'supportFile' configuration option. 11 | // 12 | // You can read more here: 13 | // https://on.cypress.io/configuration 14 | // *********************************************************** 15 | 16 | // Import commands.js using ES2015 syntax: 17 | import './commands' 18 | 19 | // Alternatively you can use CommonJS syntax: 20 | // require('./commands') -------------------------------------------------------------------------------- /src/views/Home.vue: -------------------------------------------------------------------------------- 1 | 12 | 13 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "baseUrl": ".", 4 | "target": "ESNext", 5 | "useDefineForClassFields": true, 6 | "module": "ESNext", 7 | "moduleResolution": "Node", 8 | "strict": true, 9 | "jsx": "preserve", 10 | "sourceMap": true, 11 | "resolveJsonModule": true, 12 | "isolatedModules": true, 13 | "esModuleInterop": true, 14 | "lib": [ 15 | "ESNext", 16 | "DOM" 17 | ], 18 | "skipLibCheck": true, 19 | "paths": { 20 | "@/*": ["src/*"] 21 | } 22 | }, 23 | "include": [ 24 | "src/**/*.ts", 25 | "src/**/*.d.ts", 26 | "src/**/*.tsx", 27 | "src/**/*.vue", 28 | "cypress/**/*.ts", 29 | ], 30 | "references": [ 31 | { 32 | "path": "./tsconfig.node.json" 33 | } 34 | ] 35 | } -------------------------------------------------------------------------------- /cypress/e2e/1-getting-started/todo.cy.js: -------------------------------------------------------------------------------- 1 | /// 2 | 3 | // Welcome to Cypress! 4 | // 5 | // This spec file contains a variety of sample tests 6 | // for a todo list app that are designed to demonstrate 7 | // the power of writing tests in Cypress. 8 | // 9 | // To learn more about how Cypress works and 10 | // what makes it such an awesome testing tool, 11 | // please read our getting started guide: 12 | // https://on.cypress.io/introduction-to-cypress 13 | 14 | describe("example to-do app", () => { 15 | beforeEach(() => { 16 | // Cypress starts out with a blank slate for each test 17 | // so we must tell it to visit our website with the `cy.visit()` command. 18 | // Since we want to visit the same URL at the start of all our tests, 19 | // we include it in our beforeEach function so that it runs before each test 20 | // todo 21 | // 后面需要基于环境来区分不同的 host 22 | cy.visit("/"); 23 | }); 24 | 25 | it('should be show one-step', () => { 26 | cy.contains("欢迎来到 one-step") 27 | }); 28 | }); 29 | -------------------------------------------------------------------------------- /src/views/__tests__/Home.cy.ts: -------------------------------------------------------------------------------- 1 | import Home from '@/views/Home.vue' 2 | import { createMemoryHistory, createRouter } from "vue-router"; 3 | 4 | import { setActivePinia, createPinia } from "pinia"; 5 | import { routes } from "../../router"; 6 | 7 | // 重点描述了应该如何测试用了 pinia 和 vue-router 的组件 8 | describe("Home.vue", () => { 9 | beforeEach(() => { 10 | setActivePinia(createPinia()); 11 | }); 12 | 13 | it("should get mount component ", async () => { 14 | // 使用 then 来获取 比较的繁琐 可读性还非常的差 15 | // cy.mount(Home).then(async () => { 16 | // console.log(Cypress.vue); 17 | // }) 18 | 19 | // 使用 promisify 来解决 20 | const wrapper = await cy.mount(Home).promisify() 21 | console.log("warpper---------",wrapper); 22 | 23 | }); 24 | 25 | it("to about", () => { 26 | const router = createRouter({ 27 | routes: routes, 28 | history: createMemoryHistory(), 29 | }); 30 | 31 | cy.mount(Home, { router }); 32 | cy.contains("to about") 33 | .click() 34 | .then(() => { 35 | const router = Cypress.vue.$router; 36 | const route = Cypress.vue.$route; 37 | expect(route.name).to.eql("about"); 38 | }); 39 | }); 40 | }); 41 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "one-step", 3 | "private": true, 4 | "version": "0.0.0", 5 | "type": "module", 6 | "scripts": { 7 | "dev": "vite", 8 | "build": "vue-tsc --noEmit && vite build", 9 | "preview": "vite preview", 10 | "test": "pnpm test-unit-run && pnpm test-component-run && pnpm test-e2e-run", 11 | "test-unit": "vitest", 12 | "test-component": "cypress open --component", 13 | "test-e2e": "cross-env NODE_ENV=developer cypress open --e2e", 14 | "test-unit-run": "vitest --run", 15 | "test-component-run": "cypress run --component", 16 | "test-e2e-run": "cross-env NODE_ENV=developer cypress run --e2e" 17 | }, 18 | "dependencies": { 19 | "ant-design-vue": "^3.2.10", 20 | "pinia": "^2.0.17", 21 | "vue": "^3.2.37", 22 | "vue-router": "4" 23 | }, 24 | "devDependencies": { 25 | "@vitejs/plugin-vue": "^3.0.0", 26 | "@vitejs/plugin-vue-jsx": "^2.0.0", 27 | "@vue/test-utils": "^2.0.2", 28 | "cross-env": "^7.0.3", 29 | "cypress": "^10.4.0", 30 | "cypress-promise": "^1.1.0", 31 | "jsdom": "^20.0.0", 32 | "path": "^0.12.7", 33 | "typescript": "^4.6.4", 34 | "vite": "^3.0.0", 35 | "vitest": "^0.20.3", 36 | "vue-tsc": "^0.38.4" 37 | } 38 | } -------------------------------------------------------------------------------- /dist/vite.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/vite.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cypress/support/commands.ts: -------------------------------------------------------------------------------- 1 | /// 2 | // *********************************************** 3 | // This example commands.ts shows you how to 4 | // create various custom commands and overwrite 5 | // existing commands. 6 | // 7 | // For more comprehensive examples of custom 8 | // commands please read more here: 9 | // https://on.cypress.io/custom-commands 10 | // *********************************************** 11 | // 12 | // 13 | // -- This is a parent command -- 14 | // Cypress.Commands.add('login', (email, password) => { ... }) 15 | // 16 | // 17 | // -- This is a child command -- 18 | // Cypress.Commands.add('drag', { prevSubject: 'element'}, (subject, options) => { ... }) 19 | // 20 | // 21 | // -- This is a dual command -- 22 | // Cypress.Commands.add('dismiss', { prevSubject: 'optional'}, (subject, options) => { ... }) 23 | // 24 | // 25 | // -- This will overwrite an existing command -- 26 | // Cypress.Commands.overwrite('visit', (originalFn, url, options) => { ... }) 27 | // 28 | // declare global { 29 | // namespace Cypress { 30 | // interface Chainable { 31 | // login(email: string, password: string): Chainable 32 | // drag(subject: string, options?: Partial): Chainable 33 | // dismiss(subject: string, options?: Partial): Chainable 34 | // visit(originalFn: CommandOriginalFn, url: string, options: Partial): Chainable 35 | // } 36 | // } 37 | // } 38 | export {} -------------------------------------------------------------------------------- /src/style.css: -------------------------------------------------------------------------------- 1 | :root { 2 | font-family: Inter, Avenir, Helvetica, Arial, sans-serif; 3 | font-size: 16px; 4 | line-height: 24px; 5 | font-weight: 400; 6 | 7 | color-scheme: light dark; 8 | color: rgba(255, 255, 255, 0.87); 9 | background-color: #242424; 10 | 11 | font-synthesis: none; 12 | text-rendering: optimizeLegibility; 13 | -webkit-font-smoothing: antialiased; 14 | -moz-osx-font-smoothing: grayscale; 15 | -webkit-text-size-adjust: 100%; 16 | } 17 | 18 | a { 19 | font-weight: 500; 20 | color: #646cff; 21 | text-decoration: inherit; 22 | } 23 | a:hover { 24 | color: #535bf2; 25 | } 26 | 27 | body { 28 | margin: 0; 29 | display: flex; 30 | place-items: center; 31 | min-width: 320px; 32 | min-height: 100vh; 33 | } 34 | 35 | h1 { 36 | font-size: 3.2em; 37 | line-height: 1.1; 38 | } 39 | 40 | button { 41 | border-radius: 8px; 42 | border: 1px solid transparent; 43 | padding: 0.6em 1.2em; 44 | font-size: 1em; 45 | font-weight: 500; 46 | font-family: inherit; 47 | background-color: #1a1a1a; 48 | cursor: pointer; 49 | transition: border-color 0.25s; 50 | } 51 | button:hover { 52 | border-color: #646cff; 53 | } 54 | button:focus, 55 | button:focus-visible { 56 | outline: 4px auto -webkit-focus-ring-color; 57 | } 58 | 59 | .card { 60 | padding: 2em; 61 | } 62 | 63 | #app { 64 | max-width: 1280px; 65 | margin: 0 auto; 66 | padding: 2rem; 67 | text-align: center; 68 | } 69 | 70 | @media (prefers-color-scheme: light) { 71 | :root { 72 | color: #213547; 73 | background-color: #ffffff; 74 | } 75 | a:hover { 76 | color: #747bff; 77 | } 78 | button { 79 | background-color: #f9f9f9; 80 | } 81 | } 82 | -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- 1 | name: ci 2 | on: 3 | pull_request: 4 | branches: 5 | - main 6 | 7 | jobs: 8 | unit-test: 9 | name: unit-test 10 | runs-on: ubuntu-latest 11 | steps: 12 | - uses: actions/checkout@v2 13 | 14 | - name: Install pnpm 15 | uses: pnpm/action-setup@v2 16 | with: 17 | version: 6.32.4 18 | 19 | - name: Set node version to 16 20 | uses: actions/setup-node@v2 21 | with: 22 | node-version: 16 23 | cache: 'pnpm' 24 | 25 | - run: pnpm install --frozen-lockfile 26 | 27 | - name: Run unit tests 28 | run: pnpm run test-unit-run 29 | 30 | component-test: 31 | name: component-test 32 | runs-on: ubuntu-latest 33 | steps: 34 | - uses: actions/checkout@v2 35 | 36 | - name: Install pnpm 37 | uses: pnpm/action-setup@v2 38 | with: 39 | version: 6.32.4 40 | 41 | - name: Set node version to 16 42 | uses: actions/setup-node@v2 43 | with: 44 | node-version: 16 45 | cache: 'pnpm' 46 | 47 | - run: pnpm install --frozen-lockfile 48 | 49 | - name: Run component tests 50 | run: pnpm run test-component-run 51 | 52 | 53 | e2e-test: 54 | name: e2e-test 55 | runs-on: ubuntu-latest 56 | steps: 57 | - uses: actions/checkout@v2 58 | 59 | - name: Install pnpm 60 | uses: pnpm/action-setup@v2 61 | with: 62 | version: 6.32.4 63 | 64 | - name: Set node version to 16 65 | uses: actions/setup-node@v2 66 | with: 67 | node-version: 16 68 | cache: 'pnpm' 69 | - run: pnpm install --frozen-lockfile 70 | 71 | - name: Cypress run 72 | uses: cypress-io/github-action@v4 73 | with: 74 | build: pnpm build 75 | start: pnpm preview 76 | browser: chrome -------------------------------------------------------------------------------- /cypress/support/component.ts: -------------------------------------------------------------------------------- 1 | // *********************************************************** 2 | // This example support/component.ts is processed and 3 | // loaded automatically before your test files. 4 | // 5 | // This is a great place to put global configuration and 6 | // behavior that modifies Cypress. 7 | // 8 | // You can change the location of this file or turn off 9 | // automatically serving support files with the 10 | // 'supportFile' configuration option. 11 | // 12 | // You can read more here: 13 | // https://on.cypress.io/configuration 14 | // *********************************************************** 15 | 16 | // Import commands.js using ES2015 syntax: 17 | import "./commands"; 18 | import "cypress-promise/register"; 19 | 20 | // Alternatively you can use CommonJS syntax: 21 | // require('./commands') 22 | 23 | import { mount } from "cypress/vue"; 24 | import { createMemoryHistory, createRouter } from "vue-router"; 25 | import { routes } from "../../src/router"; 26 | import { Router } from 'vue-router' 27 | 28 | type MountParams = Parameters 29 | type OptionsParam = MountParams[1] & { router?: Router } 30 | // Augment the Cypress namespace to include type definitions for 31 | // your custom command. 32 | // Alternatively, can be defined in cypress/support/component.d.ts 33 | // with a at the top of your spec. 34 | declare global { 35 | namespace Cypress { 36 | interface Chainable { 37 | /** 38 | * Helper mount function for Vue Components 39 | * @param component Vue Component or JSX Element to mount 40 | * @param options Options passed to Vue Test Utils 41 | */ 42 | mount(component: any, options?: OptionsParam): Chainable; 43 | } 44 | } 45 | } 46 | 47 | Cypress.Commands.add("mount", (component: any, options = {}) => { 48 | // Setup options object 49 | options.global = options.global || {}; 50 | options.global.plugins = options.global.plugins || []; 51 | 52 | // create router if one is not provided 53 | if (!options.router) { 54 | options.router = createRouter({ 55 | routes: routes, 56 | history: createMemoryHistory(), 57 | }); 58 | } 59 | 60 | // Add router plugin 61 | options.global.plugins.push({ 62 | install(app: any) { 63 | app.use(options.router); 64 | }, 65 | }); 66 | 67 | return mount(component, options); 68 | }); 69 | 70 | // Example use: 71 | // cy.mount(MyComponent) 72 | -------------------------------------------------------------------------------- /.github/workflows/cd.yml: -------------------------------------------------------------------------------- 1 | name: cd 2 | on: 3 | push: 4 | branches: 5 | - '**' 6 | 7 | jobs: 8 | unit-test: 9 | name: unit-test 10 | runs-on: ubuntu-latest 11 | steps: 12 | - uses: actions/checkout@v2 13 | 14 | - name: Install pnpm 15 | uses: pnpm/action-setup@v2 16 | with: 17 | version: 6.32.4 18 | 19 | - name: Set node version to 16 20 | uses: actions/setup-node@v2 21 | with: 22 | node-version: 16 23 | cache: 'pnpm' 24 | 25 | - run: pnpm install --frozen-lockfile 26 | 27 | - name: Run unit tests 28 | run: pnpm run test-unit-run 29 | 30 | component-test: 31 | name: component-test 32 | runs-on: ubuntu-latest 33 | steps: 34 | - uses: actions/checkout@v2 35 | 36 | - name: Install pnpm 37 | uses: pnpm/action-setup@v2 38 | with: 39 | version: 6.32.4 40 | 41 | - name: Set node version to 16 42 | uses: actions/setup-node@v2 43 | with: 44 | node-version: 16 45 | cache: 'pnpm' 46 | 47 | - run: pnpm install --frozen-lockfile 48 | 49 | - name: Run component tests 50 | run: pnpm run test-component-run 51 | 52 | 53 | e2e-test: 54 | name: e2e-test 55 | runs-on: ubuntu-latest 56 | steps: 57 | - uses: actions/checkout@v2 58 | 59 | - name: Install pnpm 60 | uses: pnpm/action-setup@v2 61 | with: 62 | version: 6.32.4 63 | 64 | - name: Set node version to 16 65 | uses: actions/setup-node@v2 66 | with: 67 | node-version: 16 68 | cache: 'pnpm' 69 | - run: pnpm install 70 | 71 | - name: Cypress run 72 | uses: cypress-io/github-action@v4 73 | env: 74 | NODE_ENV: ci 75 | with: 76 | build: pnpm build 77 | start: pnpm preview 78 | browser: chrome 79 | deploy: 80 | name: deploy 81 | needs: [unit-test, component-test, e2e-test] 82 | runs-on: ubuntu-latest 83 | steps: 84 | - uses: actions/checkout@v2 85 | 86 | - uses: amondnet/vercel-action@v20 87 | with: 88 | vercel-token: ${{ secrets.VERCEL_TOKEN }} 89 | github-token: ${{ secrets.GITHUB_TOKEN }} 90 | vercel-args: '--prod' 91 | vercel-org-id: ${{ secrets.ORG_ID}} 92 | vercel-project-id: ${{ secrets.PROJECT_ID}} 93 | working-directory: ./ -------------------------------------------------------------------------------- /dist/assets/index.f40e0b9d.js: -------------------------------------------------------------------------------- 1 | const nu=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const i of o)if(i.type==="childList")for(const a of i.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const i={};return o.integrity&&(i.integrity=o.integrity),o.referrerpolicy&&(i.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?i.credentials="include":o.crossorigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function r(o){if(o.ep)return;o.ep=!0;const i=n(o);fetch(o.href,i)}};nu();function ri(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o!!n[o.toLowerCase()]:o=>!!n[o]}const ru="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ou=ri(ru);function Ls(e){return!!e||e===""}function oi(e){if(Z(e)){const t={};for(let n=0;n{if(n){const r=n.split(au);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ii(e){let t="";if(Se(e))t=e;else if(Z(e))for(let n=0;nSe(e)?e:e==null?"":Z(e)||we(e)&&(e.toString===zs||!re(e.toString))?JSON.stringify(e,Hs,2):String(e),Hs=(e,t)=>t&&t.__v_isRef?Hs(e,t.value):an(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:Bs(t)?{[`Set(${t.size})`]:[...t.values()]}:we(t)&&!Z(t)&&!Us(t)?String(t):t,ve={},on=[],Ze=()=>{},lu=()=>!1,cu=/^on[^a-z]/,Rr=e=>cu.test(e),ai=e=>e.startsWith("onUpdate:"),Oe=Object.assign,si=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},uu=Object.prototype.hasOwnProperty,se=(e,t)=>uu.call(e,t),Z=Array.isArray,an=e=>jr(e)==="[object Map]",Bs=e=>jr(e)==="[object Set]",re=e=>typeof e=="function",Se=e=>typeof e=="string",li=e=>typeof e=="symbol",we=e=>e!==null&&typeof e=="object",Ds=e=>we(e)&&re(e.then)&&re(e.catch),zs=Object.prototype.toString,jr=e=>zs.call(e),fu=e=>jr(e).slice(8,-1),Us=e=>jr(e)==="[object Object]",ci=e=>Se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,gr=ri(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$r=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},du=/-(\w)/g,ut=$r(e=>e.replace(du,(t,n)=>n?n.toUpperCase():"")),pu=/\B([A-Z])/g,gn=$r(e=>e.replace(pu,"-$1").toLowerCase()),Nr=$r(e=>e.charAt(0).toUpperCase()+e.slice(1)),Xr=$r(e=>e?`on${Nr(e)}`:""),Dn=(e,t)=>!Object.is(e,t),Zr=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Ws=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Gi;const hu=()=>Gi||(Gi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});let ot;class Vs{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&ot&&(this.parent=ot,this.index=(ot.scopes||(ot.scopes=[])).push(this)-1)}run(t){if(this.active){const n=ot;try{return ot=this,t()}finally{ot=n}}}on(){ot=this}off(){ot=this.parent}stop(t){if(this.active){let n,r;for(n=0,r=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Ks=e=>(e.w&kt)>0,Gs=e=>(e.n&kt)>0,mu=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r{(u==="length"||u>=r)&&s.push(l)});else switch(n!==void 0&&s.push(a.get(n)),t){case"add":Z(e)?ci(n)&&s.push(a.get("length")):(s.push(a.get(zt)),an(e)&&s.push(a.get(xo)));break;case"delete":Z(e)||(s.push(a.get(zt)),an(e)&&s.push(a.get(xo)));break;case"set":an(e)&&s.push(a.get(zt));break}if(s.length===1)s[0]&&wo(s[0]);else{const l=[];for(const u of s)u&&l.push(...u);wo(ui(l))}}function wo(e,t){const n=Z(e)?e:[...e];for(const r of n)r.computed&&Ji(r);for(const r of n)r.computed||Ji(r)}function Ji(e,t){(e!==Ge||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const yu=ri("__proto__,__v_isRef,__isVue"),Qs=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(li)),bu=di(),Cu=di(!1,!0),_u=di(!0),Qi=xu();function xu(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ue(this);for(let i=0,a=this.length;i{e[t]=function(...n){mn();const r=ue(this)[t].apply(this,n);return vn(),r}}),e}function di(e=!1,t=!1){return function(r,o,i){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&i===(e?t?Fu:nl:t?tl:el).get(r))return r;const a=Z(r);if(!e&&a&&se(Qi,o))return Reflect.get(Qi,o,i);const s=Reflect.get(r,o,i);return(li(o)?Qs.has(o):yu(o))||(e||He(r,"get",o),t)?s:xe(s)?a&&ci(o)?s:s.value:we(s)?e?rl(s):De(s):s}}const wu=Xs(),Eu=Xs(!0);function Xs(e=!1){return function(n,r,o,i){let a=n[r];if(zn(a)&&xe(a)&&!xe(o))return!1;if(!e&&!zn(o)&&(Eo(o)||(o=ue(o),a=ue(a)),!Z(n)&&xe(a)&&!xe(o)))return a.value=o,!0;const s=Z(n)&&ci(r)?Number(r)e,Lr=e=>Reflect.getPrototypeOf(e);function rr(e,t,n=!1,r=!1){e=e.__v_raw;const o=ue(e),i=ue(t);n||(t!==i&&He(o,"get",t),He(o,"get",i));const{has:a}=Lr(o),s=r?pi:n?mi:Un;if(a.call(o,t))return s(e.get(t));if(a.call(o,i))return s(e.get(i));e!==o&&e.get(t)}function or(e,t=!1){const n=this.__v_raw,r=ue(n),o=ue(e);return t||(e!==o&&He(r,"has",e),He(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function ir(e,t=!1){return e=e.__v_raw,!t&&He(ue(e),"iterate",zt),Reflect.get(e,"size",e)}function Xi(e){e=ue(e);const t=ue(this);return Lr(t).has.call(t,e)||(t.add(e),yt(t,"add",e,e)),this}function Zi(e,t){t=ue(t);const n=ue(this),{has:r,get:o}=Lr(n);let i=r.call(n,e);i||(e=ue(e),i=r.call(n,e));const a=o.call(n,e);return n.set(e,t),i?Dn(t,a)&&yt(n,"set",e,t):yt(n,"add",e,t),this}function ea(e){const t=ue(this),{has:n,get:r}=Lr(t);let o=n.call(t,e);o||(e=ue(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&yt(t,"delete",e,void 0),i}function ta(){const e=ue(this),t=e.size!==0,n=e.clear();return t&&yt(e,"clear",void 0,void 0),n}function ar(e,t){return function(r,o){const i=this,a=i.__v_raw,s=ue(a),l=t?pi:e?mi:Un;return!e&&He(s,"iterate",zt),a.forEach((u,c)=>r.call(o,l(u),l(c),i))}}function sr(e,t,n){return function(...r){const o=this.__v_raw,i=ue(o),a=an(i),s=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,u=o[e](...r),c=n?pi:t?mi:Un;return!t&&He(i,"iterate",l?xo:zt),{next(){const{value:f,done:d}=u.next();return d?{value:f,done:d}:{value:s?[c(f[0]),c(f[1])]:c(f),done:d}},[Symbol.iterator](){return this}}}}function Ct(e){return function(...t){return e==="delete"?!1:this}}function Mu(){const e={get(i){return rr(this,i)},get size(){return ir(this)},has:or,add:Xi,set:Zi,delete:ea,clear:ta,forEach:ar(!1,!1)},t={get(i){return rr(this,i,!1,!0)},get size(){return ir(this)},has:or,add:Xi,set:Zi,delete:ea,clear:ta,forEach:ar(!1,!0)},n={get(i){return rr(this,i,!0)},get size(){return ir(this,!0)},has(i){return or.call(this,i,!0)},add:Ct("add"),set:Ct("set"),delete:Ct("delete"),clear:Ct("clear"),forEach:ar(!0,!1)},r={get(i){return rr(this,i,!0,!0)},get size(){return ir(this,!0)},has(i){return or.call(this,i,!0)},add:Ct("add"),set:Ct("set"),delete:Ct("delete"),clear:Ct("clear"),forEach:ar(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=sr(i,!1,!1),n[i]=sr(i,!0,!1),t[i]=sr(i,!1,!0),r[i]=sr(i,!0,!0)}),[e,n,t,r]}const[Iu,ku,Ru,ju]=Mu();function hi(e,t){const n=t?e?ju:Ru:e?ku:Iu;return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(se(n,o)&&o in r?n:r,o,i)}const $u={get:hi(!1,!1)},Nu={get:hi(!1,!0)},Lu={get:hi(!0,!1)},el=new WeakMap,tl=new WeakMap,nl=new WeakMap,Fu=new WeakMap;function Hu(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Bu(e){return e.__v_skip||!Object.isExtensible(e)?0:Hu(fu(e))}function De(e){return zn(e)?e:gi(e,!1,Zs,$u,el)}function Du(e){return gi(e,!1,Au,Nu,tl)}function rl(e){return gi(e,!0,Tu,Lu,nl)}function gi(e,t,n,r,o){if(!we(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const a=Bu(e);if(a===0)return e;const s=new Proxy(e,a===2?r:n);return o.set(e,s),s}function Mt(e){return zn(e)?Mt(e.__v_raw):!!(e&&e.__v_isReactive)}function zn(e){return!!(e&&e.__v_isReadonly)}function Eo(e){return!!(e&&e.__v_isShallow)}function ol(e){return Mt(e)||zn(e)}function ue(e){const t=e&&e.__v_raw;return t?ue(t):e}function cn(e){return _r(e,"__v_skip",!0),e}const Un=e=>we(e)?De(e):e,mi=e=>we(e)?rl(e):e;function il(e){At&&Ge&&(e=ue(e),Js(e.dep||(e.dep=ui())))}function al(e,t){e=ue(e),e.dep&&wo(e.dep)}function xe(e){return!!(e&&e.__v_isRef===!0)}function st(e){return sl(e,!1)}function zu(e){return sl(e,!0)}function sl(e,t){return xe(e)?e:new Uu(e,t)}class Uu{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ue(t),this._value=n?t:Un(t)}get value(){return il(this),this._value}set value(t){t=this.__v_isShallow?t:ue(t),Dn(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Un(t),al(this))}}function Ye(e){return xe(e)?e.value:e}const Wu={get:(e,t,n)=>Ye(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return xe(o)&&!xe(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function ll(e){return Mt(e)?e:new Proxy(e,Wu)}function Vu(e){const t=Z(e)?new Array(e.length):{};for(const n in e)t[n]=Ku(e,n);return t}class qu{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function Ku(e,t,n){const r=e[t];return xe(r)?r:new qu(e,t,n)}class Gu{constructor(t,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new fi(t,()=>{this._dirty||(this._dirty=!0,al(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=ue(this);return il(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function Yu(e,t,n=!1){let r,o;const i=re(e);return i?(r=e,o=Ze):(r=e.get,o=e.set),new Gu(r,o,i||!o,n)}function It(e,t,n,r){let o;try{o=r?e(...r):e()}catch(i){Fr(i,t,n)}return o}function We(e,t,n,r){if(re(e)){const i=It(e,t,n,r);return i&&Ds(i)&&i.catch(a=>{Fr(a,t,n)}),i}const o=[];for(let i=0;i>>1;Wn(Fe[r])vt&&Fe.splice(t,1)}function dl(e,t,n,r){Z(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?r+1:r))&&n.push(e),fl()}function Zu(e){dl(e,Mn,kn,Qt)}function ef(e){dl(e,Et,Rn,Xt)}function Hr(e,t=null){if(kn.length){for(So=t,Mn=[...new Set(kn)],kn.length=0,Qt=0;QtWn(n)-Wn(r)),Xt=0;Xte.id==null?1/0:e.id;function hl(e){Oo=!1,xr=!0,Hr(e),Fe.sort((n,r)=>Wn(n)-Wn(r));const t=Ze;try{for(vt=0;vth.trim())),f&&(o=n.map(Ws))}let s,l=r[s=Xr(t)]||r[s=Xr(ut(t))];!l&&i&&(l=r[s=Xr(gn(t))]),l&&We(l,e,6,o);const u=r[s+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[s])return;e.emitted[s]=!0,We(u,e,6,o)}}function gl(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let a={},s=!1;if(!re(e)){const l=u=>{const c=gl(u,t,!0);c&&(s=!0,Oe(a,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!s?(r.set(e,null),null):(Z(i)?i.forEach(l=>a[l]=null):Oe(a,i),r.set(e,a),a)}function Br(e,t){return!e||!Rr(t)?!1:(t=t.slice(2).replace(/Once$/,""),se(e,t[0].toLowerCase()+t.slice(1))||se(e,gn(t))||se(e,t))}let Je=null,Dr=null;function wr(e){const t=Je;return Je=e,Dr=e&&e.type.__scopeId||null,t}function nf(e){Dr=e}function rf(){Dr=null}function Er(e,t=Je,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&pa(-1);const i=wr(t),a=e(...o);return wr(i),r._d&&pa(1),a};return r._n=!0,r._c=!0,r._d=!0,r}function eo(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:i,propsOptions:[a],slots:s,attrs:l,emit:u,render:c,renderCache:f,data:d,setupState:h,ctx:m,inheritAttrs:w}=e;let S,E;const A=wr(e);try{if(n.shapeFlag&4){const B=o||r;S=at(c.call(B,B,f,i,h,d,m)),E=l}else{const B=t;S=at(B.length>1?B(i,{attrs:l,slots:s,emit:u}):B(i,null)),E=t.props?l:of(l)}}catch(B){$n.length=0,Fr(B,e,1),S=M(ct)}let U=S;if(E&&w!==!1){const B=Object.keys(E),{shapeFlag:F}=U;B.length&&F&7&&(a&&B.some(ai)&&(E=af(E,a)),U=Rt(U,E))}return n.dirs&&(U=Rt(U),U.dirs=U.dirs?U.dirs.concat(n.dirs):n.dirs),n.transition&&(U.transition=n.transition),S=U,wr(A),S}const of=e=>{let t;for(const n in e)(n==="class"||n==="style"||Rr(n))&&((t||(t={}))[n]=e[n]);return t},af=(e,t)=>{const n={};for(const r in e)(!ai(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function sf(e,t,n){const{props:r,children:o,component:i}=e,{props:a,children:s,patchFlag:l}=t,u=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?na(r,a,u):!!a;if(l&8){const c=t.dynamicProps;for(let f=0;fe.__isSuspense;function uf(e,t){t&&t.pendingBranch?Z(e)?t.effects.push(...e):t.effects.push(e):ef(e)}function Ut(e,t){if(Ee){let n=Ee.provides;const r=Ee.parent&&Ee.parent.provides;r===n&&(n=Ee.provides=Object.create(r)),n[e]=t}}function Ve(e,t,n=!1){const r=Ee||Je;if(r){const o=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&re(t)?t.call(r.proxy):t}}function zr(e,t){return yi(e,null,t)}const ra={};function lt(e,t,n){return yi(e,t,n)}function yi(e,t,{immediate:n,deep:r,flush:o,onTrack:i,onTrigger:a}=ve){const s=Ee;let l,u=!1,c=!1;if(xe(e)?(l=()=>e.value,u=Eo(e)):Mt(e)?(l=()=>e,r=!0):Z(e)?(c=!0,u=e.some(E=>Mt(E)||Eo(E)),l=()=>e.map(E=>{if(xe(E))return E.value;if(Mt(E))return rn(E);if(re(E))return It(E,s,2)})):re(e)?t?l=()=>It(e,s,2):l=()=>{if(!(s&&s.isUnmounted))return f&&f(),We(e,s,3,[d])}:l=Ze,t&&r){const E=l;l=()=>rn(E())}let f,d=E=>{f=S.onStop=()=>{It(E,s,4)}};if(Gn)return d=Ze,t?n&&We(t,s,3,[l(),c?[]:void 0,d]):l(),Ze;let h=c?[]:ra;const m=()=>{if(!!S.active)if(t){const E=S.run();(r||u||(c?E.some((A,U)=>Dn(A,h[U])):Dn(E,h)))&&(f&&f(),We(t,s,3,[E,h===ra?void 0:h,d]),h=E)}else S.run()};m.allowRecurse=!!t;let w;o==="sync"?w=m:o==="post"?w=()=>ke(m,s&&s.suspense):w=()=>Zu(m);const S=new fi(l,w);return t?n?m():h=S.run():o==="post"?ke(S.run.bind(S),s&&s.suspense):S.run(),()=>{S.stop(),s&&s.scope&&si(s.scope.effects,S)}}function ff(e,t,n){const r=this.proxy,o=Se(e)?e.includes(".")?ml(r,e):()=>r[e]:e.bind(r,r);let i;re(t)?i=t:(i=t.handler,n=t);const a=Ee;un(this);const s=yi(o,i.bind(r),n);return a?un(a):Wt(),s}function ml(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o{rn(n,t)});else if(Us(e))for(const n in e)rn(e[n],t);return e}function vl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return bn(()=>{e.isMounted=!0}),Vr(()=>{e.isUnmounting=!0}),e}const ze=[Function,Array],df={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:ze,onEnter:ze,onAfterEnter:ze,onEnterCancelled:ze,onBeforeLeave:ze,onLeave:ze,onAfterLeave:ze,onLeaveCancelled:ze,onBeforeAppear:ze,onAppear:ze,onAfterAppear:ze,onAppearCancelled:ze},setup(e,{slots:t}){const n=tr(),r=vl();let o;return()=>{const i=t.default&&bi(t.default(),!0);if(!i||!i.length)return;let a=i[0];if(i.length>1){for(const w of i)if(w.type!==ct){a=w;break}}const s=ue(e),{mode:l}=s;if(r.isLeaving)return to(a);const u=oa(a);if(!u)return to(a);const c=Vn(u,s,r,n);qn(u,c);const f=n.subTree,d=f&&oa(f);let h=!1;const{getTransitionKey:m}=u.type;if(m){const w=m();o===void 0?o=w:w!==o&&(o=w,h=!0)}if(d&&d.type!==ct&&(!Ft(u,d)||h)){const w=Vn(d,s,r,n);if(qn(d,w),l==="out-in")return r.isLeaving=!0,w.afterLeave=()=>{r.isLeaving=!1,n.update()},to(a);l==="in-out"&&u.type!==ct&&(w.delayLeave=(S,E,A)=>{const U=bl(r,d);U[String(d.key)]=d,S._leaveCb=()=>{E(),S._leaveCb=void 0,delete c.delayedLeave},c.delayedLeave=A})}return a}}},yl=df;function bl(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Vn(e,t,n,r){const{appear:o,mode:i,persisted:a=!1,onBeforeEnter:s,onEnter:l,onAfterEnter:u,onEnterCancelled:c,onBeforeLeave:f,onLeave:d,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:w,onAppear:S,onAfterAppear:E,onAppearCancelled:A}=t,U=String(e.key),B=bl(n,e),F=(_,j)=>{_&&We(_,r,9,j)},b=(_,j)=>{const Y=j[1];F(_,j),Z(_)?_.every(X=>X.length<=1)&&Y():_.length<=1&&Y()},O={mode:i,persisted:a,beforeEnter(_){let j=s;if(!n.isMounted)if(o)j=w||s;else return;_._leaveCb&&_._leaveCb(!0);const Y=B[U];Y&&Ft(e,Y)&&Y.el._leaveCb&&Y.el._leaveCb(),F(j,[_])},enter(_){let j=l,Y=u,X=c;if(!n.isMounted)if(o)j=S||l,Y=E||u,X=A||c;else return;let H=!1;const C=_._enterCb=y=>{H||(H=!0,y?F(X,[_]):F(Y,[_]),O.delayedLeave&&O.delayedLeave(),_._enterCb=void 0)};j?b(j,[_,C]):C()},leave(_,j){const Y=String(e.key);if(_._enterCb&&_._enterCb(!0),n.isUnmounting)return j();F(f,[_]);let X=!1;const H=_._leaveCb=C=>{X||(X=!0,j(),C?F(m,[_]):F(h,[_]),_._leaveCb=void 0,B[Y]===e&&delete B[Y])};B[Y]=e,d?b(d,[_,H]):H()},clone(_){return Vn(_,t,n,r)}};return O}function to(e){if(Ur(e))return e=Rt(e),e.children=null,e}function oa(e){return Ur(e)?e.children?e.children[0]:void 0:e}function qn(e,t){e.shapeFlag&6&&e.component?qn(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 bi(e,t=!1,n){let r=[],o=0;for(let i=0;i1)for(let i=0;i!!e.type.__asyncLoader,Ur=e=>e.type.__isKeepAlive;function pf(e,t){Cl(e,"a",t)}function hf(e,t){Cl(e,"da",t)}function Cl(e,t,n=Ee){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Wr(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Ur(o.parent.vnode)&&gf(r,t,n,o),o=o.parent}}function gf(e,t,n,r){const o=Wr(t,e,r,!0);qr(()=>{si(r[t],o)},n)}function Wr(e,t,n=Ee,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;mn(),un(n);const s=We(t,n,e,a);return Wt(),vn(),s});return r?o.unshift(i):o.push(i),i}}const bt=e=>(t,n=Ee)=>(!Gn||e==="sp")&&Wr(e,t,n),mf=bt("bm"),bn=bt("m"),vf=bt("bu"),Ci=bt("u"),Vr=bt("bum"),qr=bt("um"),yf=bt("sp"),bf=bt("rtg"),Cf=bt("rtc");function _f(e,t=Ee){Wr("ec",e,t)}function jt(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let a=0;ae?kl(e)?Si(e)||e.proxy:Po(e.parent):null,Or=Oe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Po(e.parent),$root:e=>Po(e.root),$emit:e=>e.emit,$options:e=>El(e),$forceUpdate:e=>e.f||(e.f=()=>ul(e.update)),$nextTick:e=>e.n||(e.n=yn.bind(e.proxy)),$watch:e=>ff.bind(e)}),Ef={get({_:e},t){const{ctx:n,setupState:r,data:o,props:i,accessCache:a,type:s,appContext:l}=e;let u;if(t[0]!=="$"){const h=a[t];if(h!==void 0)switch(h){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(r!==ve&&se(r,t))return a[t]=1,r[t];if(o!==ve&&se(o,t))return a[t]=2,o[t];if((u=e.propsOptions[0])&&se(u,t))return a[t]=3,i[t];if(n!==ve&&se(n,t))return a[t]=4,n[t];To&&(a[t]=0)}}const c=Or[t];let f,d;if(c)return t==="$attrs"&&He(e,"get",t),c(e);if((f=s.__cssModules)&&(f=f[t]))return f;if(n!==ve&&se(n,t))return a[t]=4,n[t];if(d=l.config.globalProperties,se(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return o!==ve&&se(o,t)?(o[t]=n,!0):r!==ve&&se(r,t)?(r[t]=n,!0):se(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},a){let s;return!!n[a]||e!==ve&&se(e,a)||t!==ve&&se(t,a)||(s=i[0])&&se(s,a)||se(r,a)||se(Or,a)||se(o.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:se(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let To=!0;function Of(e){const t=El(e),n=e.proxy,r=e.ctx;To=!1,t.beforeCreate&&aa(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:a,watch:s,provide:l,inject:u,created:c,beforeMount:f,mounted:d,beforeUpdate:h,updated:m,activated:w,deactivated:S,beforeDestroy:E,beforeUnmount:A,destroyed:U,unmounted:B,render:F,renderTracked:b,renderTriggered:O,errorCaptured:_,serverPrefetch:j,expose:Y,inheritAttrs:X,components:H,directives:C,filters:y}=t;if(u&&Sf(u,r,null,e.appContext.config.unwrapInjectedRef),a)for(const W in a){const V=a[W];re(V)&&(r[W]=V.bind(n))}if(o){const W=o.call(n,n);we(W)&&(e.data=De(W))}if(To=!0,i)for(const W in i){const V=i[W],oe=re(V)?V.bind(n,n):re(V.get)?V.get.bind(n,n):Ze,_e=!re(V)&&re(V.set)?V.set.bind(n):Ze,be=ae({get:oe,set:_e});Object.defineProperty(r,W,{enumerable:!0,configurable:!0,get:()=>be.value,set:te=>be.value=te})}if(s)for(const W in s)wl(s[W],r,n,W);if(l){const W=re(l)?l.call(n):l;Reflect.ownKeys(W).forEach(V=>{Ut(V,W[V])})}c&&aa(c,e,"c");function D(W,V){Z(V)?V.forEach(oe=>W(oe.bind(n))):V&&W(V.bind(n))}if(D(mf,f),D(bn,d),D(vf,h),D(Ci,m),D(pf,w),D(hf,S),D(_f,_),D(Cf,b),D(bf,O),D(Vr,A),D(qr,B),D(yf,j),Z(Y))if(Y.length){const W=e.exposed||(e.exposed={});Y.forEach(V=>{Object.defineProperty(W,V,{get:()=>n[V],set:oe=>n[V]=oe})})}else e.exposed||(e.exposed={});F&&e.render===Ze&&(e.render=F),X!=null&&(e.inheritAttrs=X),H&&(e.components=H),C&&(e.directives=C)}function Sf(e,t,n=Ze,r=!1){Z(e)&&(e=Ao(e));for(const o in e){const i=e[o];let a;we(i)?"default"in i?a=Ve(i.from||o,i.default,!0):a=Ve(i.from||o):a=Ve(i),xe(a)&&r?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>a.value,set:s=>a.value=s}):t[o]=a}}function aa(e,t,n){We(Z(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function wl(e,t,n,r){const o=r.includes(".")?ml(n,r):()=>n[r];if(Se(e)){const i=t[e];re(i)&<(o,i)}else if(re(e))lt(o,e.bind(n));else if(we(e))if(Z(e))e.forEach(i=>wl(i,t,n,r));else{const i=re(e.handler)?e.handler.bind(n):t[e.handler];re(i)&<(o,i,e)}}function El(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:a}}=e.appContext,s=i.get(t);let l;return s?l=s:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(u=>Sr(l,u,a,!0)),Sr(l,t,a)),i.set(t,l),l}function Sr(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&Sr(e,i,n,!0),o&&o.forEach(a=>Sr(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const s=Pf[a]||n&&n[a];e[a]=s?s(e[a],t[a]):t[a]}return e}const Pf={data:sa,props:Lt,emits:Lt,methods:Lt,computed:Lt,beforeCreate:Ae,created:Ae,beforeMount:Ae,mounted:Ae,beforeUpdate:Ae,updated:Ae,beforeDestroy:Ae,beforeUnmount:Ae,destroyed:Ae,unmounted:Ae,activated:Ae,deactivated:Ae,errorCaptured:Ae,serverPrefetch:Ae,components:Lt,directives:Lt,watch:Af,provide:sa,inject:Tf};function sa(e,t){return t?e?function(){return Oe(re(e)?e.call(this,this):e,re(t)?t.call(this,this):t)}:t:e}function Tf(e,t){return Lt(Ao(e),Ao(t))}function Ao(e){if(Z(e)){const t={};for(let n=0;n0)&&!(a&16)){if(a&8){const c=e.vnode.dynamicProps;for(let f=0;f{l=!0;const[d,h]=Sl(f,t,!0);Oe(a,d),h&&s.push(...h)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!i&&!l)return r.set(e,on),on;if(Z(i))for(let c=0;c-1,h[1]=w<0||m-1||se(h,"default"))&&s.push(f)}}}const u=[a,s];return r.set(e,u),u}function la(e){return e[0]!=="$"}function ca(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function ua(e,t){return ca(e)===ca(t)}function fa(e,t){return Z(t)?t.findIndex(n=>ua(n,e)):re(t)&&ua(t,e)?0:-1}const Pl=e=>e[0]==="_"||e==="$stable",_i=e=>Z(e)?e.map(at):[at(e)],kf=(e,t,n)=>{if(t._n)return t;const r=Er((...o)=>_i(t(...o)),n);return r._c=!1,r},Tl=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Pl(o))continue;const i=e[o];if(re(i))t[o]=kf(o,i,r);else if(i!=null){const a=_i(i);t[o]=()=>a}}},Al=(e,t)=>{const n=_i(t);e.slots.default=()=>n},Rf=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ue(t),_r(t,"_",n)):Tl(t,e.slots={})}else e.slots={},t&&Al(e,t);_r(e.slots,Kr,1)},jf=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,a=ve;if(r.shapeFlag&32){const s=t._;s?n&&s===1?i=!1:(Oe(o,t),!n&&s===1&&delete o._):(i=!t.$stable,Tl(t,o)),a=t}else t&&(Al(e,t),a={default:1});if(i)for(const s in o)!Pl(s)&&!(s in a)&&delete o[s]};function Ml(){return{app:null,config:{isNativeTag:lu,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 $f=0;function Nf(e,t){return function(r,o=null){re(r)||(r=Object.assign({},r)),o!=null&&!we(o)&&(o=null);const i=Ml(),a=new Set;let s=!1;const l=i.app={_uid:$f++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:od,get config(){return i.config},set config(u){},use(u,...c){return a.has(u)||(u&&re(u.install)?(a.add(u),u.install(l,...c)):re(u)&&(a.add(u),u(l,...c))),l},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),l},component(u,c){return c?(i.components[u]=c,l):i.components[u]},directive(u,c){return c?(i.directives[u]=c,l):i.directives[u]},mount(u,c,f){if(!s){const d=M(r,o);return d.appContext=i,c&&t?t(d,u):e(d,u,f),s=!0,l._container=u,u.__vue_app__=l,Si(d.component)||d.component.proxy}},unmount(){s&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,c){return i.provides[u]=c,l}};return l}}function Io(e,t,n,r,o=!1){if(Z(e)){e.forEach((d,h)=>Io(d,t&&(Z(t)?t[h]:t),n,r,o));return}if(mr(r)&&!o)return;const i=r.shapeFlag&4?Si(r.component)||r.component.proxy:r.el,a=o?null:i,{i:s,r:l}=e,u=t&&t.r,c=s.refs===ve?s.refs={}:s.refs,f=s.setupState;if(u!=null&&u!==l&&(Se(u)?(c[u]=null,se(f,u)&&(f[u]=null)):xe(u)&&(u.value=null)),re(l))It(l,s,12,[a,c]);else{const d=Se(l),h=xe(l);if(d||h){const m=()=>{if(e.f){const w=d?c[l]:l.value;o?Z(w)&&si(w,i):Z(w)?w.includes(i)||w.push(i):d?(c[l]=[i],se(f,l)&&(f[l]=c[l])):(l.value=[i],e.k&&(c[e.k]=l.value))}else d?(c[l]=a,se(f,l)&&(f[l]=a)):h&&(l.value=a,e.k&&(c[e.k]=a))};a?(m.id=-1,ke(m,n)):m()}}}const ke=uf;function Lf(e){return Ff(e)}function Ff(e,t){const n=hu();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:a,createText:s,createComment:l,setText:u,setElementText:c,parentNode:f,nextSibling:d,setScopeId:h=Ze,cloneNode:m,insertStaticContent:w}=e,S=(p,g,v,T=null,P=null,R=null,z=!1,k=null,L=!!g.dynamicChildren)=>{if(p===g)return;p&&!Ft(p,g)&&(T=K(p),fe(p,P,R,!0),p=null),g.patchFlag===-2&&(L=!1,g.dynamicChildren=null);const{type:I,ref:J,shapeFlag:G}=g;switch(I){case er:E(p,g,v,T);break;case ct:A(p,g,v,T);break;case no:p==null&&U(g,v,T,z);break;case Re:C(p,g,v,T,P,R,z,k,L);break;default:G&1?b(p,g,v,T,P,R,z,k,L):G&6?y(p,g,v,T,P,R,z,k,L):(G&64||G&128)&&I.process(p,g,v,T,P,R,z,k,L,me)}J!=null&&P&&Io(J,p&&p.ref,R,g||p,!g)},E=(p,g,v,T)=>{if(p==null)r(g.el=s(g.children),v,T);else{const P=g.el=p.el;g.children!==p.children&&u(P,g.children)}},A=(p,g,v,T)=>{p==null?r(g.el=l(g.children||""),v,T):g.el=p.el},U=(p,g,v,T)=>{[p.el,p.anchor]=w(p.children,g,v,T,p.el,p.anchor)},B=({el:p,anchor:g},v,T)=>{let P;for(;p&&p!==g;)P=d(p),r(p,v,T),p=P;r(g,v,T)},F=({el:p,anchor:g})=>{let v;for(;p&&p!==g;)v=d(p),o(p),p=v;o(g)},b=(p,g,v,T,P,R,z,k,L)=>{z=z||g.type==="svg",p==null?O(g,v,T,P,R,z,k,L):Y(p,g,P,R,z,k,L)},O=(p,g,v,T,P,R,z,k)=>{let L,I;const{type:J,props:G,shapeFlag:Q,transition:ee,patchFlag:ce,dirs:pe}=p;if(p.el&&m!==void 0&&ce===-1)L=p.el=m(p.el);else{if(L=p.el=a(p.type,R,G&&G.is,G),Q&8?c(L,p.children):Q&16&&j(p.children,L,null,T,P,R&&J!=="foreignObject",z,k),pe&&jt(p,null,T,"created"),G){for(const ye in G)ye!=="value"&&!gr(ye)&&i(L,ye,null,G[ye],R,p.children,T,P,$);"value"in G&&i(L,"value",null,G.value),(I=G.onVnodeBeforeMount)&&rt(I,T,p)}_(L,p,p.scopeId,z,T)}pe&&jt(p,null,T,"beforeMount");const he=(!P||P&&!P.pendingBranch)&&ee&&!ee.persisted;he&&ee.beforeEnter(L),r(L,g,v),((I=G&&G.onVnodeMounted)||he||pe)&&ke(()=>{I&&rt(I,T,p),he&&ee.enter(L),pe&&jt(p,null,T,"mounted")},P)},_=(p,g,v,T,P)=>{if(v&&h(p,v),T)for(let R=0;R{for(let I=L;I{const k=g.el=p.el;let{patchFlag:L,dynamicChildren:I,dirs:J}=g;L|=p.patchFlag&16;const G=p.props||ve,Q=g.props||ve;let ee;v&&$t(v,!1),(ee=Q.onVnodeBeforeUpdate)&&rt(ee,v,g,p),J&&jt(g,p,v,"beforeUpdate"),v&&$t(v,!0);const ce=P&&g.type!=="foreignObject";if(I?X(p.dynamicChildren,I,k,v,T,ce,R):z||oe(p,g,k,null,v,T,ce,R,!1),L>0){if(L&16)H(k,g,G,Q,v,T,P);else if(L&2&&G.class!==Q.class&&i(k,"class",null,Q.class,P),L&4&&i(k,"style",G.style,Q.style,P),L&8){const pe=g.dynamicProps;for(let he=0;he{ee&&rt(ee,v,g,p),J&&jt(g,p,v,"updated")},T)},X=(p,g,v,T,P,R,z)=>{for(let k=0;k{if(v!==T){for(const k in T){if(gr(k))continue;const L=T[k],I=v[k];L!==I&&k!=="value"&&i(p,k,I,L,z,g.children,P,R,$)}if(v!==ve)for(const k in v)!gr(k)&&!(k in T)&&i(p,k,v[k],null,z,g.children,P,R,$);"value"in T&&i(p,"value",v.value,T.value)}},C=(p,g,v,T,P,R,z,k,L)=>{const I=g.el=p?p.el:s(""),J=g.anchor=p?p.anchor:s("");let{patchFlag:G,dynamicChildren:Q,slotScopeIds:ee}=g;ee&&(k=k?k.concat(ee):ee),p==null?(r(I,v,T),r(J,v,T),j(g.children,v,J,P,R,z,k,L)):G>0&&G&64&&Q&&p.dynamicChildren?(X(p.dynamicChildren,Q,v,P,R,z,k),(g.key!=null||P&&g===P.subTree)&&xi(p,g,!0)):oe(p,g,v,J,P,R,z,k,L)},y=(p,g,v,T,P,R,z,k,L)=>{g.slotScopeIds=k,p==null?g.shapeFlag&512?P.ctx.activate(g,v,T,z,L):N(g,v,T,P,R,z,L):D(p,g,L)},N=(p,g,v,T,P,R,z)=>{const k=p.component=Qf(p,T,P);if(Ur(p)&&(k.ctx.renderer=me),Xf(k),k.asyncDep){if(P&&P.registerDep(k,W),!p.el){const L=k.subTree=M(ct);A(null,L,g,v)}return}W(k,p,g,v,P,R,z)},D=(p,g,v)=>{const T=g.component=p.component;if(sf(p,g,v))if(T.asyncDep&&!T.asyncResolved){V(T,g,v);return}else T.next=g,Xu(T.update),T.update();else g.el=p.el,T.vnode=g},W=(p,g,v,T,P,R,z)=>{const k=()=>{if(p.isMounted){let{next:J,bu:G,u:Q,parent:ee,vnode:ce}=p,pe=J,he;$t(p,!1),J?(J.el=ce.el,V(p,J,z)):J=ce,G&&Zr(G),(he=J.props&&J.props.onVnodeBeforeUpdate)&&rt(he,ee,J,ce),$t(p,!0);const ye=eo(p),qe=p.subTree;p.subTree=ye,S(qe,ye,f(qe.el),K(qe),p,P,R),J.el=ye.el,pe===null&&lf(p,ye.el),Q&&ke(Q,P),(he=J.props&&J.props.onVnodeUpdated)&&ke(()=>rt(he,ee,J,ce),P)}else{let J;const{el:G,props:Q}=g,{bm:ee,m:ce,parent:pe}=p,he=mr(g);if($t(p,!1),ee&&Zr(ee),!he&&(J=Q&&Q.onVnodeBeforeMount)&&rt(J,pe,g),$t(p,!0),G&&ne){const ye=()=>{p.subTree=eo(p),ne(G,p.subTree,p,P,null)};he?g.type.__asyncLoader().then(()=>!p.isUnmounted&&ye()):ye()}else{const ye=p.subTree=eo(p);S(null,ye,v,T,p,P,R),g.el=ye.el}if(ce&&ke(ce,P),!he&&(J=Q&&Q.onVnodeMounted)){const ye=g;ke(()=>rt(J,pe,ye),P)}(g.shapeFlag&256||pe&&mr(pe.vnode)&&pe.vnode.shapeFlag&256)&&p.a&&ke(p.a,P),p.isMounted=!0,g=v=T=null}},L=p.effect=new fi(k,()=>ul(I),p.scope),I=p.update=()=>L.run();I.id=p.uid,$t(p,!0),I()},V=(p,g,v)=>{g.component=p;const T=p.vnode.props;p.vnode=g,p.next=null,If(p,g.props,T,v),jf(p,g.children,v),mn(),Hr(void 0,p.update),vn()},oe=(p,g,v,T,P,R,z,k,L=!1)=>{const I=p&&p.children,J=p?p.shapeFlag:0,G=g.children,{patchFlag:Q,shapeFlag:ee}=g;if(Q>0){if(Q&128){be(I,G,v,T,P,R,z,k,L);return}else if(Q&256){_e(I,G,v,T,P,R,z,k,L);return}}ee&8?(J&16&&$(I,P,R),G!==I&&c(v,G)):J&16?ee&16?be(I,G,v,T,P,R,z,k,L):$(I,P,R,!0):(J&8&&c(v,""),ee&16&&j(G,v,T,P,R,z,k,L))},_e=(p,g,v,T,P,R,z,k,L)=>{p=p||on,g=g||on;const I=p.length,J=g.length,G=Math.min(I,J);let Q;for(Q=0;QJ?$(p,P,R,!0,!1,G):j(g,v,T,P,R,z,k,L,G)},be=(p,g,v,T,P,R,z,k,L)=>{let I=0;const J=g.length;let G=p.length-1,Q=J-1;for(;I<=G&&I<=Q;){const ee=p[I],ce=g[I]=L?St(g[I]):at(g[I]);if(Ft(ee,ce))S(ee,ce,v,null,P,R,z,k,L);else break;I++}for(;I<=G&&I<=Q;){const ee=p[G],ce=g[Q]=L?St(g[Q]):at(g[Q]);if(Ft(ee,ce))S(ee,ce,v,null,P,R,z,k,L);else break;G--,Q--}if(I>G){if(I<=Q){const ee=Q+1,ce=eeQ)for(;I<=G;)fe(p[I],P,R,!0),I++;else{const ee=I,ce=I,pe=new Map;for(I=ce;I<=Q;I++){const $e=g[I]=L?St(g[I]):at(g[I]);$e.key!=null&&pe.set($e.key,I)}let he,ye=0;const qe=Q-ce+1;let Gt=!1,Vi=0;const En=new Array(qe);for(I=0;I=qe){fe($e,P,R,!0);continue}let nt;if($e.key!=null)nt=pe.get($e.key);else for(he=ce;he<=Q;he++)if(En[he-ce]===0&&Ft($e,g[he])){nt=he;break}nt===void 0?fe($e,P,R,!0):(En[nt-ce]=I+1,nt>=Vi?Vi=nt:Gt=!0,S($e,g[nt],v,null,P,R,z,k,L),ye++)}const qi=Gt?Hf(En):on;for(he=qi.length-1,I=qe-1;I>=0;I--){const $e=ce+I,nt=g[$e],Ki=$e+1{const{el:R,type:z,transition:k,children:L,shapeFlag:I}=p;if(I&6){te(p.component.subTree,g,v,T);return}if(I&128){p.suspense.move(g,v,T);return}if(I&64){z.move(p,g,v,me);return}if(z===Re){r(R,g,v);for(let G=0;Gk.enter(R),P);else{const{leave:G,delayLeave:Q,afterLeave:ee}=k,ce=()=>r(R,g,v),pe=()=>{G(R,()=>{ce(),ee&&ee()})};Q?Q(R,ce,pe):pe()}else r(R,g,v)},fe=(p,g,v,T=!1,P=!1)=>{const{type:R,props:z,ref:k,children:L,dynamicChildren:I,shapeFlag:J,patchFlag:G,dirs:Q}=p;if(k!=null&&Io(k,null,v,p,!0),J&256){g.ctx.deactivate(p);return}const ee=J&1&&Q,ce=!mr(p);let pe;if(ce&&(pe=z&&z.onVnodeBeforeUnmount)&&rt(pe,g,p),J&6)q(p.component,v,T);else{if(J&128){p.suspense.unmount(v,T);return}ee&&jt(p,null,g,"beforeUnmount"),J&64?p.type.remove(p,g,v,P,me,T):I&&(R!==Re||G>0&&G&64)?$(I,g,v,!1,!0):(R===Re&&G&384||!P&&J&16)&&$(L,g,v),T&&Te(p)}(ce&&(pe=z&&z.onVnodeUnmounted)||ee)&&ke(()=>{pe&&rt(pe,g,p),ee&&jt(p,null,g,"unmounted")},v)},Te=p=>{const{type:g,el:v,anchor:T,transition:P}=p;if(g===Re){x(v,T);return}if(g===no){F(p);return}const R=()=>{o(v),P&&!P.persisted&&P.afterLeave&&P.afterLeave()};if(p.shapeFlag&1&&P&&!P.persisted){const{leave:z,delayLeave:k}=P,L=()=>z(v,R);k?k(p.el,R,L):L()}else R()},x=(p,g)=>{let v;for(;p!==g;)v=d(p),o(p),p=v;o(g)},q=(p,g,v)=>{const{bum:T,scope:P,update:R,subTree:z,um:k}=p;T&&Zr(T),P.stop(),R&&(R.active=!1,fe(z,p,g,v)),k&&ke(k,g),ke(()=>{p.isUnmounted=!0},g),g&&g.pendingBranch&&!g.isUnmounted&&p.asyncDep&&!p.asyncResolved&&p.suspenseId===g.pendingId&&(g.deps--,g.deps===0&&g.resolve())},$=(p,g,v,T=!1,P=!1,R=0)=>{for(let z=R;zp.shapeFlag&6?K(p.component.subTree):p.shapeFlag&128?p.suspense.next():d(p.anchor||p.el),de=(p,g,v)=>{p==null?g._vnode&&fe(g._vnode,null,null,!0):S(g._vnode||null,p,g,null,null,null,v),pl(),g._vnode=p},me={p:S,um:fe,m:te,r:Te,mt:N,mc:j,pc:oe,pbc:X,n:K,o:e};let ie,ne;return t&&([ie,ne]=t(me)),{render:de,hydrate:ie,createApp:Nf(de,ie)}}function $t({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function xi(e,t,n=!1){const r=e.children,o=t.children;if(Z(r)&&Z(o))for(let i=0;i>1,e[n[s]]0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,a=n[i-1];i-- >0;)n[i]=a,a=t[a];return n}const Bf=e=>e.__isTeleport,jn=e=>e&&(e.disabled||e.disabled===""),da=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ko=(e,t)=>{const n=e&&e.to;return Se(n)?t?t(n):null:n},Df={__isTeleport:!0,process(e,t,n,r,o,i,a,s,l,u){const{mc:c,pc:f,pbc:d,o:{insert:h,querySelector:m,createText:w,createComment:S}}=u,E=jn(t.props);let{shapeFlag:A,children:U,dynamicChildren:B}=t;if(e==null){const F=t.el=w(""),b=t.anchor=w("");h(F,n,r),h(b,n,r);const O=t.target=ko(t.props,m),_=t.targetAnchor=w("");O&&(h(_,O),a=a||da(O));const j=(Y,X)=>{A&16&&c(U,Y,X,o,i,a,s,l)};E?j(n,b):O&&j(O,_)}else{t.el=e.el;const F=t.anchor=e.anchor,b=t.target=e.target,O=t.targetAnchor=e.targetAnchor,_=jn(e.props),j=_?n:b,Y=_?F:O;if(a=a||da(b),B?(d(e.dynamicChildren,B,j,o,i,a,s),xi(e,t,!0)):l||f(e,t,j,Y,o,i,a,s,!1),E)_||lr(t,n,F,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const X=t.target=ko(t.props,m);X&&lr(t,X,null,u,0)}else _&&lr(t,b,O,u,1)}},remove(e,t,n,r,{um:o,o:{remove:i}},a){const{shapeFlag:s,children:l,anchor:u,targetAnchor:c,target:f,props:d}=e;if(f&&i(c),(a||!jn(d))&&(i(u),s&16))for(let h=0;h0?Qe||on:null,Wf(),Kn>0&&Qe&&Qe.push(e),e}function Ei(e,t,n,r,o,i){return Vf(tt(e,t,n,r,o,i,!0))}function Pr(e){return e?e.__v_isVNode===!0:!1}function Ft(e,t){return e.type===t.type&&e.key===t.key}const Kr="__vInternal",Il=({key:e})=>e!=null?e:null,vr=({ref:e,ref_key:t,ref_for:n})=>e!=null?Se(e)||xe(e)||re(e)?{i:Je,r:e,k:t,f:!!n}:e:null;function tt(e,t=null,n=null,r=0,o=null,i=e===Re?0:1,a=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Il(t),ref:t&&vr(t),scopeId:Dr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null};return s?(Oi(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=Se(n)?8:16),Kn>0&&!a&&Qe&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Qe.push(l),l}const M=qf;function qf(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===xf)&&(e=ct),Pr(e)){const s=Rt(e,t,!0);return n&&Oi(s,n),Kn>0&&!i&&Qe&&(s.shapeFlag&6?Qe[Qe.indexOf(e)]=s:Qe.push(s)),s.patchFlag|=-2,s}if(rd(e)&&(e=e.__vccOpts),t){t=Kf(t);let{class:s,style:l}=t;s&&!Se(s)&&(t.class=ii(s)),we(l)&&(ol(l)&&!Z(l)&&(l=Oe({},l)),t.style=oi(l))}const a=Se(e)?1:cf(e)?128:Bf(e)?64:we(e)?4:re(e)?2:0;return tt(e,t,n,r,o,a,i,!0)}function Kf(e){return e?ol(e)||Kr in e?Oe({},e):e:null}function Rt(e,t,n=!1){const{props:r,ref:o,patchFlag:i,children:a}=e,s=t?Gf(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:s,key:s&&Il(s),ref:t&&t.ref?n&&o?Z(o)?o.concat(vr(t)):[o,vr(t)]:vr(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Re?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Rt(e.ssContent),ssFallback:e.ssFallback&&Rt(e.ssFallback),el:e.el,anchor:e.anchor}}function Cn(e=" ",t=0){return M(er,null,e,t)}function at(e){return e==null||typeof e=="boolean"?M(ct):Z(e)?M(Re,null,e.slice()):typeof e=="object"?St(e):M(er,null,String(e))}function St(e){return e.el===null||e.memo?e:Rt(e)}function Oi(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Z(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Oi(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Kr in t)?t._ctx=Je:o===3&&Je&&(Je.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else re(t)?(t={default:t,_ctx:Je},n=32):(t=String(t),r&64?(n=16,t=[Cn(t)]):n=8);e.children=t,e.shapeFlag|=n}function Gf(...e){const t={};for(let n=0;nEe||Je,un=e=>{Ee=e,e.scope.on()},Wt=()=>{Ee&&Ee.scope.off(),Ee=null};function kl(e){return e.vnode.shapeFlag&4}let Gn=!1;function Xf(e,t=!1){Gn=t;const{props:n,children:r}=e.vnode,o=kl(e);Mf(e,n,o,t),Rf(e,r);const i=o?Zf(e,t):void 0;return Gn=!1,i}function Zf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=cn(new Proxy(e.ctx,Ef));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?td(e):null;un(e),mn();const i=It(r,e,0,[e.props,o]);if(vn(),Wt(),Ds(i)){if(i.then(Wt,Wt),t)return i.then(a=>{ha(e,a,t)}).catch(a=>{Fr(a,e,0)});e.asyncDep=i}else ha(e,i,t)}else Rl(e,t)}function ha(e,t,n){re(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:we(t)&&(e.setupState=ll(t)),Rl(e,n)}let ga;function Rl(e,t,n){const r=e.type;if(!e.render){if(!t&&ga&&!r.render){const o=r.template;if(o){const{isCustomElement:i,compilerOptions:a}=e.appContext.config,{delimiters:s,compilerOptions:l}=r,u=Oe(Oe({isCustomElement:i,delimiters:s},a),l);r.render=ga(o,u)}}e.render=r.render||Ze}un(e),mn(),Of(e),vn(),Wt()}function ed(e){return new Proxy(e.attrs,{get(t,n){return He(e,"get","$attrs"),t[n]}})}function td(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=ed(e))},slots:e.slots,emit:e.emit,expose:t}}function Si(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ll(cn(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Or)return Or[n](e)}}))}function nd(e,t=!0){return re(e)?e.displayName||e.name:e.name||t&&e.__name}function rd(e){return re(e)&&"__vccOpts"in e}const ae=(e,t)=>Yu(e,t,Gn);function Yn(e,t,n){const r=arguments.length;return r===2?we(t)&&!Z(t)?Pr(t)?M(e,null,[t]):M(e,t):M(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Pr(n)&&(n=[n]),M(e,t,n))}const od="3.2.37",id="http://www.w3.org/2000/svg",Ht=typeof document<"u"?document:null,ma=Ht&&Ht.createElement("template"),ad={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?Ht.createElementNS(id,e):Ht.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Ht.createTextNode(e),createComment:e=>Ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ht.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,r,o,i){const a=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{ma.innerHTML=r?`${e}`:e;const s=ma.content;if(r){const l=s.firstChild;for(;l.firstChild;)s.appendChild(l.firstChild);s.removeChild(l)}t.insertBefore(s,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function sd(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function ld(e,t,n){const r=e.style,o=Se(n);if(n&&!o){for(const i in n)Ro(r,i,n[i]);if(t&&!Se(t))for(const i in t)n[i]==null&&Ro(r,i,"")}else{const i=r.display;o?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=i)}}const va=/\s*!important$/;function Ro(e,t,n){if(Z(n))n.forEach(r=>Ro(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=cd(e,t);va.test(n)?e.setProperty(gn(r),n.replace(va,""),"important"):e[r]=n}}const ya=["Webkit","Moz","ms"],ro={};function cd(e,t){const n=ro[t];if(n)return n;let r=ut(t);if(r!=="filter"&&r in e)return ro[t]=r;r=Nr(r);for(let o=0;o{let e=Date.now,t=!1;if(typeof window<"u"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let jo=0;const pd=Promise.resolve(),hd=()=>{jo=0},gd=()=>jo||(pd.then(hd),jo=jl());function md(e,t,n,r){e.addEventListener(t,n,r)}function vd(e,t,n,r){e.removeEventListener(t,n,r)}function yd(e,t,n,r,o=null){const i=e._vei||(e._vei={}),a=i[t];if(r&&a)a.value=r;else{const[s,l]=bd(t);if(r){const u=i[t]=Cd(r,o);md(e,s,u,l)}else a&&(vd(e,s,a,l),i[t]=void 0)}}const Ca=/(?:Once|Passive|Capture)$/;function bd(e){let t;if(Ca.test(e)){t={};let n;for(;n=e.match(Ca);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[gn(e.slice(2)),t]}function Cd(e,t){const n=r=>{const o=r.timeStamp||jl();(dd||o>=n.attached-1)&&We(_d(r,n.value),t,5,[r])};return n.value=e,n.attached=gd(),n}function _d(e,t){if(Z(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const _a=/^on[a-z]/,xd=(e,t,n,r,o=!1,i,a,s,l)=>{t==="class"?sd(e,r,o):t==="style"?ld(e,n,r):Rr(t)?ai(t)||yd(e,t,n,r,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):wd(e,t,r,o))?fd(e,t,r,i,a,s,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),ud(e,t,r,o))};function wd(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&_a.test(t)&&re(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||_a.test(t)&&Se(n)?!1:t in e}const _t="transition",On="animation",Pi=(e,{slots:t})=>Yn(yl,Nl(e),t);Pi.displayName="Transition";const $l={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Ed=Pi.props=Oe({},yl.props,$l),Nt=(e,t=[])=>{Z(e)?e.forEach(n=>n(...t)):e&&e(...t)},xa=e=>e?Z(e)?e.some(t=>t.length>1):e.length>1:!1;function Nl(e){const t={};for(const H in e)H in $l||(t[H]=e[H]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:u=a,appearToClass:c=s,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=Od(o),w=m&&m[0],S=m&&m[1],{onBeforeEnter:E,onEnter:A,onEnterCancelled:U,onLeave:B,onLeaveCancelled:F,onBeforeAppear:b=E,onAppear:O=A,onAppearCancelled:_=U}=t,j=(H,C,y)=>{Ot(H,C?c:s),Ot(H,C?u:a),y&&y()},Y=(H,C)=>{H._isLeaving=!1,Ot(H,f),Ot(H,h),Ot(H,d),C&&C()},X=H=>(C,y)=>{const N=H?O:A,D=()=>j(C,H,y);Nt(N,[C,D]),wa(()=>{Ot(C,H?l:i),gt(C,H?c:s),xa(N)||Ea(C,r,w,D)})};return Oe(t,{onBeforeEnter(H){Nt(E,[H]),gt(H,i),gt(H,a)},onBeforeAppear(H){Nt(b,[H]),gt(H,l),gt(H,u)},onEnter:X(!1),onAppear:X(!0),onLeave(H,C){H._isLeaving=!0;const y=()=>Y(H,C);gt(H,f),Fl(),gt(H,d),wa(()=>{!H._isLeaving||(Ot(H,f),gt(H,h),xa(B)||Ea(H,r,S,y))}),Nt(B,[H,y])},onEnterCancelled(H){j(H,!1),Nt(U,[H])},onAppearCancelled(H){j(H,!0),Nt(_,[H])},onLeaveCancelled(H){Y(H),Nt(F,[H])}})}function Od(e){if(e==null)return null;if(we(e))return[oo(e.enter),oo(e.leave)];{const t=oo(e);return[t,t]}}function oo(e){return Ws(e)}function gt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Ot(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function wa(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Sd=0;function Ea(e,t,n,r){const o=e._endId=++Sd,i=()=>{o===e._endId&&r()};if(n)return setTimeout(i,n);const{type:a,timeout:s,propCount:l}=Ll(e,t);if(!a)return r();const u=a+"end";let c=0;const f=()=>{e.removeEventListener(u,d),i()},d=h=>{h.target===e&&++c>=l&&f()};setTimeout(()=>{c(n[m]||"").split(", "),o=r(_t+"Delay"),i=r(_t+"Duration"),a=Oa(o,i),s=r(On+"Delay"),l=r(On+"Duration"),u=Oa(s,l);let c=null,f=0,d=0;t===_t?a>0&&(c=_t,f=a,d=i.length):t===On?u>0&&(c=On,f=u,d=l.length):(f=Math.max(a,u),c=f>0?a>u?_t:On:null,d=c?c===_t?i.length:l.length:0);const h=c===_t&&/\b(transform|all)(,|$)/.test(n[_t+"Property"]);return{type:c,timeout:f,propCount:d,hasTransform:h}}function Oa(e,t){for(;e.lengthSa(n)+Sa(e[r])))}function Sa(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Fl(){return document.body.offsetHeight}const Hl=new WeakMap,Bl=new WeakMap,Pd={name:"TransitionGroup",props:Oe({},Ed,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=tr(),r=vl();let o,i;return Ci(()=>{if(!o.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!kd(o[0].el,n.vnode.el,a))return;o.forEach(Ad),o.forEach(Md);const s=o.filter(Id);Fl(),s.forEach(l=>{const u=l.el,c=u.style;gt(u,a),c.transform=c.webkitTransform=c.transitionDuration="";const f=u._moveCb=d=>{d&&d.target!==u||(!d||/transform$/.test(d.propertyName))&&(u.removeEventListener("transitionend",f),u._moveCb=null,Ot(u,a))};u.addEventListener("transitionend",f)})}),()=>{const a=ue(e),s=Nl(a);let l=a.tag||Re;o=i,i=t.default?bi(t.default()):[];for(let u=0;u{a.split(/\s+/).forEach(s=>s&&r.classList.remove(s))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:i}=Ll(r);return o.removeChild(r),i}const Rd=Oe({patchProp:xd},ad);let Pa;function Dl(){return Pa||(Pa=Lf(Rd))}const Ta=(...e)=>{Dl().render(...e)},jd=(...e)=>{const t=Dl().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=$d(r);if(!o)return;const i=t._component;!re(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.innerHTML="";const a=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t};function $d(e){return Se(e)?document.querySelector(e):e}const Nd=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Ld={},Ti=e=>(nf("data-v-5c18d04d"),e=e(),rf(),e),Fd=Ti(()=>tt("h1",null,"\u6B22\u8FCE\u6765\u5230 one-step",-1)),Hd=Ti(()=>tt("p",null," \u4E00\u6B65\u5230\u4F4D \u76F4\u63A5\u5F00\u5199\u4F60\u7684\u5E94\u7528 \u9879\u76EE\u914D\u7F6E\u5168\u90E8\u5E2E\u4F60\u641E\u5B9A ",-1)),Bd=Ti(()=>tt("div",null,"\u8FD9\u662F\u4E00\u4E2A\u6D4B\u8BD5",-1));function Dd(e,t){const n=xl("RouterView");return wi(),Ei("div",null,[Fd,Hd,M(n),Bd])}const zd=Nd(Ld,[["render",Dd],["__scopeId","data-v-5c18d04d"]]);var Ud=!1;/*! 2 | * pinia v2.0.17 3 | * (c) 2022 Eduardo San Martin Morote 4 | * @license MIT 5 | */let zl;const Gr=e=>zl=e,Ul=Symbol();function $o(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var Nn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(Nn||(Nn={}));function Wd(){const e=qs(!0),t=e.run(()=>st({}));let n=[],r=[];const o=cn({install(i){Gr(o),o._a=i,i.provide(Ul,o),i.config.globalProperties.$pinia=o,r.forEach(a=>n.push(a)),r=[]},use(i){return!this._a&&!Ud?r.push(i):n.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const Wl=()=>{};function Aa(e,t,n,r=Wl){e.push(t);const o=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),r())};return!n&&tr()&&qr(o),o}function Yt(e,...t){e.slice().forEach(n=>{n(...t)})}function No(e,t){for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];$o(o)&&$o(r)&&e.hasOwnProperty(n)&&!xe(r)&&!Mt(r)?e[n]=No(o,r):e[n]=r}return e}const Vd=Symbol();function qd(e){return!$o(e)||!e.hasOwnProperty(Vd)}const{assign:mt}=Object;function Kd(e){return!!(xe(e)&&e.effect)}function Gd(e,t,n,r){const{state:o,actions:i,getters:a}=t,s=n.state.value[e];let l;function u(){s||(n.state.value[e]=o?o():{});const c=Vu(n.state.value[e]);return mt(c,i,Object.keys(a||{}).reduce((f,d)=>(f[d]=cn(ae(()=>{Gr(n);const h=n._s.get(e);return a[d].call(h,h)})),f),{}))}return l=Vl(e,u,t,n,r,!0),l.$reset=function(){const f=o?o():{};this.$patch(d=>{mt(d,f)})},l}function Vl(e,t,n={},r,o,i){let a;const s=mt({actions:{}},n),l={deep:!0};let u,c,f=cn([]),d=cn([]),h;const m=r.state.value[e];!i&&!m&&(r.state.value[e]={}),st({});let w;function S(O){let _;u=c=!1,typeof O=="function"?(O(r.state.value[e]),_={type:Nn.patchFunction,storeId:e,events:h}):(No(r.state.value[e],O),_={type:Nn.patchObject,payload:O,storeId:e,events:h});const j=w=Symbol();yn().then(()=>{w===j&&(u=!0)}),c=!0,Yt(f,_,r.state.value[e])}const E=Wl;function A(){a.stop(),f=[],d=[],r._s.delete(e)}function U(O,_){return function(){Gr(r);const j=Array.from(arguments),Y=[],X=[];function H(N){Y.push(N)}function C(N){X.push(N)}Yt(d,{args:j,name:O,store:F,after:H,onError:C});let y;try{y=_.apply(this&&this.$id===e?this:F,j)}catch(N){throw Yt(X,N),N}return y instanceof Promise?y.then(N=>(Yt(Y,N),N)).catch(N=>(Yt(X,N),Promise.reject(N))):(Yt(Y,y),y)}}const B={_p:r,$id:e,$onAction:Aa.bind(null,d),$patch:S,$reset:E,$subscribe(O,_={}){const j=Aa(f,O,_.detached,()=>Y()),Y=a.run(()=>lt(()=>r.state.value[e],X=>{(_.flush==="sync"?c:u)&&O({storeId:e,type:Nn.direct,events:h},X)},mt({},l,_)));return j},$dispose:A},F=De(mt({},B));r._s.set(e,F);const b=r._e.run(()=>(a=qs(),a.run(()=>t())));for(const O in b){const _=b[O];if(xe(_)&&!Kd(_)||Mt(_))i||(m&&qd(_)&&(xe(_)?_.value=m[O]:No(_,m[O])),r.state.value[e][O]=_);else if(typeof _=="function"){const j=U(O,_);b[O]=j,s.actions[O]=_}}return mt(F,b),mt(ue(F),b),Object.defineProperty(F,"$state",{get:()=>r.state.value[e],set:O=>{S(_=>{mt(_,O)})}}),r._p.forEach(O=>{mt(F,a.run(()=>O({store:F,app:r._a,pinia:r,options:s})))}),m&&i&&n.hydrate&&n.hydrate(F.$state,m),u=!0,c=!0,F}function Yd(e,t,n){let r,o;const i=typeof t=="function";typeof e=="string"?(r=e,o=i?n:t):(o=e,r=e.id);function a(s,l){const u=tr();return s=s||u&&Ve(Ul),s&&Gr(s),s=zl,s._s.has(r)||(i?Vl(r,t,o,s):Gd(r,o,s)),s._s.get(r)}return a.$id=r,a}const Jd=Wd();/*! 6 | * vue-router v4.1.3 7 | * (c) 2022 Eduardo San Martin Morote 8 | * @license MIT 9 | */const Zt=typeof window<"u";function Qd(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ge=Object.assign;function io(e,t){const n={};for(const r in t){const o=t[r];n[r]=et(o)?o.map(e):e(o)}return n}const Ln=()=>{},et=Array.isArray,Xd=/\/$/,Zd=e=>e.replace(Xd,"");function ao(e,t,n="/"){let r,o={},i="",a="";const s=t.indexOf("#");let l=t.indexOf("?");return s=0&&(l=-1),l>-1&&(r=t.slice(0,l),i=t.slice(l+1,s>-1?s:t.length),o=e(i)),s>-1&&(r=r||t.slice(0,s),a=t.slice(s,t.length)),r=rp(r!=null?r:t,n),{fullPath:r+(i&&"?")+i+a,path:r,query:o,hash:a}}function ep(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ma(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function tp(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&fn(t.matched[r],n.matched[o])&&ql(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function fn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ql(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!np(e[n],t[n]))return!1;return!0}function np(e,t){return et(e)?Ia(e,t):et(t)?Ia(t,e):e===t}function Ia(e,t){return et(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function rp(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let o=n.length-1,i,a;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(i-(i===r.length?1:0)).join("/")}var Jn;(function(e){e.pop="pop",e.push="push"})(Jn||(Jn={}));var Fn;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Fn||(Fn={}));function op(e){if(!e)if(Zt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Zd(e)}const ip=/^[^#]+#/;function ap(e,t){return e.replace(ip,"#")+t}function sp(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const Yr=()=>({left:window.pageXOffset,top:window.pageYOffset});function lp(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=sp(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function ka(e,t){return(history.state?history.state.position-t:-1)+e}const Lo=new Map;function cp(e,t){Lo.set(e,t)}function up(e){const t=Lo.get(e);return Lo.delete(e),t}let fp=()=>location.protocol+"//"+location.host;function Kl(e,t){const{pathname:n,search:r,hash:o}=t,i=e.indexOf("#");if(i>-1){let s=o.includes(e.slice(i))?e.slice(i).length:1,l=o.slice(s);return l[0]!=="/"&&(l="/"+l),Ma(l,"")}return Ma(n,e)+r+o}function dp(e,t,n,r){let o=[],i=[],a=null;const s=({state:d})=>{const h=Kl(e,location),m=n.value,w=t.value;let S=0;if(d){if(n.value=h,t.value=d,a&&a===m){a=null;return}S=w?d.position-w.position:0}else r(h);o.forEach(E=>{E(n.value,m,{delta:S,type:Jn.pop,direction:S?S>0?Fn.forward:Fn.back:Fn.unknown})})};function l(){a=n.value}function u(d){o.push(d);const h=()=>{const m=o.indexOf(d);m>-1&&o.splice(m,1)};return i.push(h),h}function c(){const{history:d}=window;!d.state||d.replaceState(ge({},d.state,{scroll:Yr()}),"")}function f(){for(const d of i)d();i=[],window.removeEventListener("popstate",s),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",s),window.addEventListener("beforeunload",c),{pauseListeners:l,listen:u,destroy:f}}function Ra(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Yr():null}}function pp(e){const{history:t,location:n}=window,r={value:Kl(e,n)},o={value:t.state};o.value||i(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,u,c){const f=e.indexOf("#"),d=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:fp()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),o.value=u}catch(h){console.error(h),n[c?"replace":"assign"](d)}}function a(l,u){const c=ge({},t.state,Ra(o.value.back,l,o.value.forward,!0),u,{position:o.value.position});i(l,c,!0),r.value=l}function s(l,u){const c=ge({},o.value,t.state,{forward:l,scroll:Yr()});i(c.current,c,!0);const f=ge({},Ra(r.value,l,null),{position:c.position+1},u);i(l,f,!1),r.value=l}return{location:r,state:o,push:s,replace:a}}function hp(e){e=op(e);const t=pp(e),n=dp(e,t.state,t.location,t.replace);function r(i,a=!0){a||n.pauseListeners(),history.go(i)}const o=ge({location:"",base:e,go:r,createHref:ap.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function gp(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),hp(e)}function mp(e){return typeof e=="string"||e&&typeof e=="object"}function Gl(e){return typeof e=="string"||typeof e=="symbol"}const xt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Yl=Symbol("");var ja;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(ja||(ja={}));function dn(e,t){return ge(new Error,{type:e,[Yl]:!0},t)}function pt(e,t){return e instanceof Error&&Yl in e&&(t==null||!!(e.type&t))}const $a="[^/]+?",vp={sensitive:!1,strict:!1,start:!0,end:!0},yp=/[.+*?^${}()[\]/\\]/g;function bp(e,t){const n=ge({},vp,t),r=[];let o=n.start?"^":"";const i=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let f=0;ft.length?t.length===1&&t[0]===40+40?1:-1:0}function _p(e,t){let n=0;const r=e.score,o=t.score;for(;n0&&t[t.length-1]<0}const xp={type:0,value:""},wp=/[a-zA-Z0-9_]/;function Ep(e){if(!e)return[[]];if(e==="/")return[[xp]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(h){throw new Error(`ERR (${n})/"${u}": ${h}`)}let n=0,r=n;const o=[];let i;function a(){i&&o.push(i),i=[]}let s=0,l,u="",c="";function f(){!u||(n===0?i.push({type:0,value:u}):n===1||n===2||n===3?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:u,regexp:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;s{a(A)}:Ln}function a(c){if(Gl(c)){const f=r.get(c);f&&(r.delete(c),n.splice(n.indexOf(f),1),f.children.forEach(a),f.alias.forEach(a))}else{const f=n.indexOf(c);f>-1&&(n.splice(f,1),c.record.name&&r.delete(c.record.name),c.children.forEach(a),c.alias.forEach(a))}}function s(){return n}function l(c){let f=0;for(;f=0&&(c.record.path!==n[f].record.path||!Jl(c,n[f]));)f++;n.splice(f,0,c),c.record.name&&!La(c)&&r.set(c.record.name,c)}function u(c,f){let d,h={},m,w;if("name"in c&&c.name){if(d=r.get(c.name),!d)throw dn(1,{location:c});w=d.record.name,h=ge(Pp(f.params,d.keys.filter(A=>!A.optional).map(A=>A.name)),c.params),m=d.stringify(h)}else if("path"in c)m=c.path,d=n.find(A=>A.re.test(m)),d&&(h=d.parse(m),w=d.record.name);else{if(d=f.name?r.get(f.name):n.find(A=>A.re.test(f.path)),!d)throw dn(1,{location:c,currentLocation:f});w=d.record.name,h=ge({},f.params,c.params),m=d.stringify(h)}const S=[];let E=d;for(;E;)S.unshift(E.record),E=E.parent;return{name:w,path:m,params:h,matched:S,meta:Mp(S)}}return e.forEach(c=>i(c)),{addRoute:i,resolve:u,removeRoute:a,getRoutes:s,getRecordMatcher:o}}function Pp(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Tp(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:Ap(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function Ap(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function La(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Mp(e){return e.reduce((t,n)=>ge(t,n.meta),{})}function Fa(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Jl(e,t){return t.children.some(n=>n===e||Jl(e,n))}const Ql=/#/g,Ip=/&/g,kp=/\//g,Rp=/=/g,jp=/\?/g,Xl=/\+/g,$p=/%5B/g,Np=/%5D/g,Zl=/%5E/g,Lp=/%60/g,ec=/%7B/g,Fp=/%7C/g,tc=/%7D/g,Hp=/%20/g;function Ai(e){return encodeURI(""+e).replace(Fp,"|").replace($p,"[").replace(Np,"]")}function Bp(e){return Ai(e).replace(ec,"{").replace(tc,"}").replace(Zl,"^")}function Fo(e){return Ai(e).replace(Xl,"%2B").replace(Hp,"+").replace(Ql,"%23").replace(Ip,"%26").replace(Lp,"`").replace(ec,"{").replace(tc,"}").replace(Zl,"^")}function Dp(e){return Fo(e).replace(Rp,"%3D")}function zp(e){return Ai(e).replace(Ql,"%23").replace(jp,"%3F")}function Up(e){return e==null?"":zp(e).replace(kp,"%2F")}function Tr(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Wp(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;oi&&Fo(i)):[r&&Fo(r)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+n,i!=null&&(t+="="+i))})}return t}function Vp(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=et(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const qp=Symbol(""),Ba=Symbol(""),Jr=Symbol(""),nc=Symbol(""),Ho=Symbol("");function Sn(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function Pt(e,t,n,r,o){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,s)=>{const l=f=>{f===!1?s(dn(4,{from:n,to:t})):f instanceof Error?s(f):mp(f)?s(dn(2,{from:t,to:f})):(i&&r.enterCallbacks[o]===i&&typeof f=="function"&&i.push(f),a())},u=e.call(r&&r.instances[o],t,n,l);let c=Promise.resolve(u);e.length<3&&(c=c.then(l)),c.catch(f=>s(f))})}function so(e,t,n,r){const o=[];for(const i of e)for(const a in i.components){let s=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(Kp(s)){const u=(s.__vccOpts||s)[t];u&&o.push(Pt(u,n,r,i,a))}else{let l=s();o.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const c=Qd(u)?u.default:u;i.components[a]=c;const d=(c.__vccOpts||c)[t];return d&&Pt(d,n,r,i,a)()}))}}return o}function Kp(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Da(e){const t=Ve(Jr),n=Ve(nc),r=ae(()=>t.resolve(Ye(e.to))),o=ae(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],f=n.matched;if(!c||!f.length)return-1;const d=f.findIndex(fn.bind(null,c));if(d>-1)return d;const h=za(l[u-2]);return u>1&&za(c)===h&&f[f.length-1].path!==h?f.findIndex(fn.bind(null,l[u-2])):d}),i=ae(()=>o.value>-1&&Qp(n.params,r.value.params)),a=ae(()=>o.value>-1&&o.value===n.matched.length-1&&ql(n.params,r.value.params));function s(l={}){return Jp(l)?t[Ye(e.replace)?"replace":"push"](Ye(e.to)).catch(Ln):Promise.resolve()}return{route:r,href:ae(()=>r.value.href),isActive:i,isExactActive:a,navigate:s}}const Gp=je({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Da,setup(e,{slots:t}){const n=De(Da(e)),{options:r}=Ve(Jr),o=ae(()=>({[Ua(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Ua(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&t.default(n);return e.custom?i:Yn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},i)}}}),Yp=Gp;function Jp(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Qp(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!et(o)||o.length!==r.length||r.some((i,a)=>i!==o[a]))return!1}return!0}function za(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Ua=(e,t,n)=>e!=null?e:t!=null?t:n,Xp=je({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Ve(Ho),o=ae(()=>e.route||r.value),i=Ve(Ba,0),a=ae(()=>{let u=Ye(i);const{matched:c}=o.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),s=ae(()=>o.value.matched[a.value]);Ut(Ba,ae(()=>a.value+1)),Ut(qp,s),Ut(Ho,o);const l=st();return lt(()=>[l.value,s.value,e.name],([u,c,f],[d,h,m])=>{c&&(c.instances[f]=u,h&&h!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=h.leaveGuards),c.updateGuards.size||(c.updateGuards=h.updateGuards))),u&&c&&(!h||!fn(c,h)||!d)&&(c.enterCallbacks[f]||[]).forEach(w=>w(u))},{flush:"post"}),()=>{const u=o.value,c=e.name,f=s.value,d=f&&f.components[c];if(!d)return Wa(n.default,{Component:d,route:u});const h=f.props[c],m=h?h===!0?u.params:typeof h=="function"?h(u):h:null,S=Yn(d,ge({},m,t,{onVnodeUnmounted:E=>{E.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return Wa(n.default,{Component:S,route:u})||S}}});function Wa(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Zp=Xp;function eh(e){const t=Sp(e.routes,e),n=e.parseQuery||Wp,r=e.stringifyQuery||Ha,o=e.history,i=Sn(),a=Sn(),s=Sn(),l=zu(xt);let u=xt;Zt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=io.bind(null,x=>""+x),f=io.bind(null,Up),d=io.bind(null,Tr);function h(x,q){let $,K;return Gl(x)?($=t.getRecordMatcher(x),K=q):K=x,t.addRoute(K,$)}function m(x){const q=t.getRecordMatcher(x);q&&t.removeRoute(q)}function w(){return t.getRoutes().map(x=>x.record)}function S(x){return!!t.getRecordMatcher(x)}function E(x,q){if(q=ge({},q||l.value),typeof x=="string"){const ne=ao(n,x,q.path),p=t.resolve({path:ne.path},q),g=o.createHref(ne.fullPath);return ge(ne,p,{params:d(p.params),hash:Tr(ne.hash),redirectedFrom:void 0,href:g})}let $;if("path"in x)$=ge({},x,{path:ao(n,x.path,q.path).path});else{const ne=ge({},x.params);for(const p in ne)ne[p]==null&&delete ne[p];$=ge({},x,{params:f(x.params)}),q.params=f(q.params)}const K=t.resolve($,q),de=x.hash||"";K.params=c(d(K.params));const me=ep(r,ge({},x,{hash:Bp(de),path:K.path})),ie=o.createHref(me);return ge({fullPath:me,hash:de,query:r===Ha?Vp(x.query):x.query||{}},K,{redirectedFrom:void 0,href:ie})}function A(x){return typeof x=="string"?ao(n,x,l.value.path):ge({},x)}function U(x,q){if(u!==x)return dn(8,{from:q,to:x})}function B(x){return O(x)}function F(x){return B(ge(A(x),{replace:!0}))}function b(x){const q=x.matched[x.matched.length-1];if(q&&q.redirect){const{redirect:$}=q;let K=typeof $=="function"?$(x):$;return typeof K=="string"&&(K=K.includes("?")||K.includes("#")?K=A(K):{path:K},K.params={}),ge({query:x.query,hash:x.hash,params:"path"in K?{}:x.params},K)}}function O(x,q){const $=u=E(x),K=l.value,de=x.state,me=x.force,ie=x.replace===!0,ne=b($);if(ne)return O(ge(A(ne),{state:de,force:me,replace:ie}),q||$);const p=$;p.redirectedFrom=q;let g;return!me&&tp(r,K,$)&&(g=dn(16,{to:p,from:K}),_e(K,K,!0,!1)),(g?Promise.resolve(g):j(p,K)).catch(v=>pt(v)?pt(v,2)?v:oe(v):W(v,p,K)).then(v=>{if(v){if(pt(v,2))return O(ge({replace:ie},A(v.to),{state:de,force:me}),q||p)}else v=X(p,K,!0,ie,de);return Y(p,K,v),v})}function _(x,q){const $=U(x,q);return $?Promise.reject($):Promise.resolve()}function j(x,q){let $;const[K,de,me]=th(x,q);$=so(K.reverse(),"beforeRouteLeave",x,q);for(const ne of K)ne.leaveGuards.forEach(p=>{$.push(Pt(p,x,q))});const ie=_.bind(null,x,q);return $.push(ie),Jt($).then(()=>{$=[];for(const ne of i.list())$.push(Pt(ne,x,q));return $.push(ie),Jt($)}).then(()=>{$=so(de,"beforeRouteUpdate",x,q);for(const ne of de)ne.updateGuards.forEach(p=>{$.push(Pt(p,x,q))});return $.push(ie),Jt($)}).then(()=>{$=[];for(const ne of x.matched)if(ne.beforeEnter&&!q.matched.includes(ne))if(et(ne.beforeEnter))for(const p of ne.beforeEnter)$.push(Pt(p,x,q));else $.push(Pt(ne.beforeEnter,x,q));return $.push(ie),Jt($)}).then(()=>(x.matched.forEach(ne=>ne.enterCallbacks={}),$=so(me,"beforeRouteEnter",x,q),$.push(ie),Jt($))).then(()=>{$=[];for(const ne of a.list())$.push(Pt(ne,x,q));return $.push(ie),Jt($)}).catch(ne=>pt(ne,8)?ne:Promise.reject(ne))}function Y(x,q,$){for(const K of s.list())K(x,q,$)}function X(x,q,$,K,de){const me=U(x,q);if(me)return me;const ie=q===xt,ne=Zt?history.state:{};$&&(K||ie?o.replace(x.fullPath,ge({scroll:ie&&ne&&ne.scroll},de)):o.push(x.fullPath,de)),l.value=x,_e(x,q,$,ie),oe()}let H;function C(){H||(H=o.listen((x,q,$)=>{if(!Te.listening)return;const K=E(x),de=b(K);if(de){O(ge(de,{replace:!0}),K).catch(Ln);return}u=K;const me=l.value;Zt&&cp(ka(me.fullPath,$.delta),Yr()),j(K,me).catch(ie=>pt(ie,12)?ie:pt(ie,2)?(O(ie.to,K).then(ne=>{pt(ne,20)&&!$.delta&&$.type===Jn.pop&&o.go(-1,!1)}).catch(Ln),Promise.reject()):($.delta&&o.go(-$.delta,!1),W(ie,K,me))).then(ie=>{ie=ie||X(K,me,!1),ie&&($.delta&&!pt(ie,8)?o.go(-$.delta,!1):$.type===Jn.pop&&pt(ie,20)&&o.go(-1,!1)),Y(K,me,ie)}).catch(Ln)}))}let y=Sn(),N=Sn(),D;function W(x,q,$){oe(x);const K=N.list();return K.length?K.forEach(de=>de(x,q,$)):console.error(x),Promise.reject(x)}function V(){return D&&l.value!==xt?Promise.resolve():new Promise((x,q)=>{y.add([x,q])})}function oe(x){return D||(D=!x,C(),y.list().forEach(([q,$])=>x?$(x):q()),y.reset()),x}function _e(x,q,$,K){const{scrollBehavior:de}=e;if(!Zt||!de)return Promise.resolve();const me=!$&&up(ka(x.fullPath,0))||(K||!$)&&history.state&&history.state.scroll||null;return yn().then(()=>de(x,q,me)).then(ie=>ie&&lp(ie)).catch(ie=>W(ie,x,q))}const be=x=>o.go(x);let te;const fe=new Set,Te={currentRoute:l,listening:!0,addRoute:h,removeRoute:m,hasRoute:S,getRoutes:w,resolve:E,options:e,push:B,replace:F,go:be,back:()=>be(-1),forward:()=>be(1),beforeEach:i.add,beforeResolve:a.add,afterEach:s.add,onError:N.add,isReady:V,install(x){const q=this;x.component("RouterLink",Yp),x.component("RouterView",Zp),x.config.globalProperties.$router=q,Object.defineProperty(x.config.globalProperties,"$route",{enumerable:!0,get:()=>Ye(l)}),Zt&&!te&&l.value===xt&&(te=!0,B(o.location).catch(de=>{}));const $={};for(const de in xt)$[de]=ae(()=>l.value[de]);x.provide(Jr,q),x.provide(nc,De($)),x.provide(Ho,l);const K=x.unmount;fe.add(x),x.unmount=function(){fe.delete(x),fe.size<1&&(u=xt,H&&H(),H=null,l.value=xt,te=!1,D=!1),K()}}};return Te}function Jt(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function th(e,t){const n=[],r=[],o=[],i=Math.max(t.matched.length,e.matched.length);for(let a=0;afn(u,s))?r.push(s):n.push(s));const l=e.matched[a];l&&(t.matched.find(u=>fn(u,l))||o.push(l))}return[n,r,o]}function nh(){return Ve(Jr)}const rc=Yd("counter",()=>{const e=st(0);function t(){e.value++}return{count:e,increment:t}});function Ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Va(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Xe(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return typeof e=="function"?e(t):e!=null?e:n}function nr(){for(var e=[],t=0;te.length)&&(t=e.length);for(var n=0,r=new Array(t);n0&&arguments[0]!==void 0?arguments[0]:[],n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,r=Array.isArray(t)?t:[t],o=[];return r.forEach(function(i){Array.isArray(i)?o.push.apply(o,Mr(e(i,n))):i&&i.type===Re?o.push.apply(o,Mr(e(i.children,n))):i&&Pr(i)?n&&!ac(i)?o.push(i):n||o.push(i):ph(i)&&o.push(i)}),o},Ka=function(t){for(var n,r=((n=t==null?void 0:t.vnode)===null||n===void 0?void 0:n.el)||t&&(t.$el||t);r&&!r.tagName;)r=r.nextSibling;return r};function ac(e){return e&&(e.type===ct||e.type===Re&&e.children.length===0||e.type===er&&e.children.trim()==="")}function mh(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=[];return e.forEach(function(n){Array.isArray(n)?t.push.apply(t,Mr(n)):n.type===Re?t.push.apply(t,Mr(n.children)):t.push(n)}),t.filter(function(n){return!ac(n)})}var sc=function(t){return setTimeout(t,16)},lc=function(t){return clearTimeout(t)};typeof window<"u"&&"requestAnimationFrame"in window&&(sc=function(t){return window.requestAnimationFrame(t)},lc=function(t){return window.cancelAnimationFrame(t)});var Ga=0,Mi=new Map;function cc(e){Mi.delete(e)}function Do(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;Ga+=1;var n=Ga;function r(o){if(o===0)cc(n),e();else{var i=sc(function(){r(o-1)});Mi.set(n,i)}}return r(t),n}Do.cancel=function(e){var t=Mi.get(e);return cc(t),lc(t)};var vh=function(){for(var t=arguments.length,n=new Array(t),r=0;r=0||(o[n]=e[n]);return o}function Qa(e){return((t=e)!=null&&typeof t=="object"&&Array.isArray(t)===!1)==1&&Object.prototype.toString.call(e)==="[object Object]";var t}var yc=Object.prototype,bc=yc.toString,Sh=yc.hasOwnProperty,Cc=/^\s*function (\w+)/;function Xa(e){var t,n=(t=e==null?void 0:e.type)!==null&&t!==void 0?t:e;if(n){var r=n.toString().match(Cc);return r?r[1]:""}return""}var Vt=function(e){var t,n;return Qa(e)!==!1&&typeof(t=e.constructor)=="function"&&Qa(n=t.prototype)!==!1&&n.hasOwnProperty("isPrototypeOf")!==!1},Ph=function(e){return e},Me=Ph,Qn=function(e,t){return Sh.call(e,t)},Th=Number.isInteger||function(e){return typeof e=="number"&&isFinite(e)&&Math.floor(e)===e},pn=Array.isArray||function(e){return bc.call(e)==="[object Array]"},hn=function(e){return bc.call(e)==="[object Function]"},Ir=function(e){return Vt(e)&&Qn(e,"_vueTypes_name")},_c=function(e){return Vt(e)&&(Qn(e,"type")||["_vueTypes_name","validator","default","required"].some(function(t){return Qn(e,t)}))};function Ii(e,t){return Object.defineProperty(e.bind(t),"__original",{value:e})}function qt(e,t,n){var r;n===void 0&&(n=!1);var o=!0,i="";r=Vt(e)?e:{type:e};var a=Ir(r)?r._vueTypes_name+" - ":"";if(_c(r)&&r.type!==null){if(r.type===void 0||r.type===!0||!r.required&&t===void 0)return o;pn(r.type)?(o=r.type.some(function(f){return qt(f,t,!0)===!0}),i=r.type.map(function(f){return Xa(f)}).join(" or ")):o=(i=Xa(r))==="Array"?pn(t):i==="Object"?Vt(t):i==="String"||i==="Number"||i==="Boolean"||i==="Function"?function(f){if(f==null)return"";var d=f.constructor.toString().match(Cc);return d?d[1]:""}(t)===i:t instanceof r.type}if(!o){var s=a+'value "'+t+'" should be of type "'+i+'"';return n===!1?(Me(s),!1):s}if(Qn(r,"validator")&&hn(r.validator)){var l=Me,u=[];if(Me=function(f){u.push(f)},o=r.validator(t),Me=l,!o){var c=(u.length>1?"* ":"")+u.join(` 12 | * `);return u.length=0,n===!1?(Me(c),o):c}}return o}function Be(e,t){var n=Object.defineProperties(t,{_vueTypes_name:{value:e,writable:!0},isRequired:{get:function(){return this.required=!0,this}},def:{value:function(o){return o!==void 0||this.default?hn(o)||qt(this,o,!0)===!0?(this.default=pn(o)?function(){return[].concat(o)}:Vt(o)?function(){return Object.assign({},o)}:o,this):(Me(this._vueTypes_name+' - invalid default value: "'+o+'"'),this):this}}}),r=n.validator;return hn(r)&&(n.validator=Ii(r,n)),n}function ft(e,t){var n=Be(e,t);return Object.defineProperty(n,"validate",{value:function(r){return hn(this.validator)&&Me(this._vueTypes_name+` - calling .validate() will overwrite the current custom validator function. Validator info: 13 | `+JSON.stringify(this)),this.validator=Ii(r,this),this}})}function Za(e,t,n){var r,o,i=(r=t,o={},Object.getOwnPropertyNames(r).forEach(function(f){o[f]=Object.getOwnPropertyDescriptor(r,f)}),Object.defineProperties({},o));if(i._vueTypes_name=e,!Vt(n))return i;var a,s,l=n.validator,u=vc(n,["validator"]);if(hn(l)){var c=i.validator;c&&(c=(s=(a=c).__original)!==null&&s!==void 0?s:a),i.validator=Ii(c?function(f){return c.call(this,f)&&l.call(this,f)}:l,i)}return Object.assign(i,u)}function Qr(e){return e.replace(/^(?!\s*$)/gm," ")}var Ah=function(){return ft("any",{})},Mh=function(){return ft("function",{type:Function})},Ih=function(){return ft("boolean",{type:Boolean})},kh=function(){return ft("string",{type:String})},Rh=function(){return ft("number",{type:Number})},jh=function(){return ft("array",{type:Array})},$h=function(){return ft("object",{type:Object})},Nh=function(){return Be("integer",{type:Number,validator:function(e){return Th(e)}})},Lh=function(){return Be("symbol",{validator:function(e){return typeof e=="symbol"}})};function Fh(e,t){if(t===void 0&&(t="custom validation failed"),typeof e!="function")throw new TypeError("[VueTypes error]: You must provide a function as argument");return Be(e.name||"<>",{validator:function(n){var r=e(n);return r||Me(this._vueTypes_name+" - "+t),r}})}function Hh(e){if(!pn(e))throw new TypeError("[VueTypes error]: You must provide an array as argument.");var t='oneOf - value should be one of "'+e.join('", "')+'".',n=e.reduce(function(r,o){if(o!=null){var i=o.constructor;r.indexOf(i)===-1&&r.push(i)}return r},[]);return Be("oneOf",{type:n.length>0?n:void 0,validator:function(r){var o=e.indexOf(r)!==-1;return o||Me(t),o}})}function Bh(e){if(!pn(e))throw new TypeError("[VueTypes error]: You must provide an array as argument");for(var t=!1,n=[],r=0;r0&&n.some(function(l){return a.indexOf(l)===-1})){var s=n.filter(function(l){return a.indexOf(l)===-1});return Me(s.length===1?'shape - required property "'+s[0]+'" is not defined.':'shape - required properties "'+s.join('", "')+'" are not defined.'),!1}return a.every(function(l){if(t.indexOf(l)===-1)return i._vueTypes_isLoose===!0||(Me('shape - shape definition does not include a "'+l+'" property. Allowed keys: "'+t.join('", "')+'".'),!1);var u=qt(e[l],o[l],!0);return typeof u=="string"&&Me('shape - "'+l+`" property validation error: 18 | `+Qr(u)),u===!0})}});return Object.defineProperty(r,"_vueTypes_isLoose",{writable:!0,value:!1}),Object.defineProperty(r,"loose",{get:function(){return this._vueTypes_isLoose=!0,this}}),r}var it=function(){function e(){}return e.extend=function(t){var n=this;if(pn(t))return t.forEach(function(f){return n.extend(f)}),this;var r=t.name,o=t.validate,i=o!==void 0&&o,a=t.getter,s=a!==void 0&&a,l=vc(t,["name","validate","getter"]);if(Qn(this,r))throw new TypeError('[VueTypes error]: Type "'+r+'" already defined');var u,c=l.type;return Ir(c)?(delete l.type,Object.defineProperty(this,r,s?{get:function(){return Za(r,c,l)}}:{value:function(){var f,d=Za(r,c,l);return d.validator&&(d.validator=(f=d.validator).bind.apply(f,[d].concat([].slice.call(arguments)))),d}})):(u=s?{get:function(){var f=Object.assign({},l);return i?ft(r,f):Be(r,f)},enumerable:!0}:{value:function(){var f,d,h=Object.assign({},l);return f=i?ft(r,h):Be(r,h),h.validator&&(f.validator=(d=h.validator).bind.apply(d,[f].concat([].slice.call(arguments)))),f},enumerable:!0},Object.defineProperty(this,r,u))},gc(e,null,[{key:"any",get:function(){return Ah()}},{key:"func",get:function(){return Mh().def(this.defaults.func)}},{key:"bool",get:function(){return Ih().def(this.defaults.bool)}},{key:"string",get:function(){return kh().def(this.defaults.string)}},{key:"number",get:function(){return Rh().def(this.defaults.number)}},{key:"array",get:function(){return jh().def(this.defaults.array)}},{key:"object",get:function(){return $h().def(this.defaults.object)}},{key:"integer",get:function(){return Nh().def(this.defaults.integer)}},{key:"symbol",get:function(){return Lh()}}]),e}();function xc(e){var t;return e===void 0&&(e={func:function(){},bool:!0,string:"",number:0,array:function(){return[]},object:function(){return{}},integer:0}),(t=function(n){function r(){return n.apply(this,arguments)||this}return mc(r,n),gc(r,null,[{key:"sensibleDefaults",get:function(){return yr({},this.defaults)},set:function(o){this.defaults=o!==!1?yr({},o!==!0?o:e):{}}}]),r}(it)).defaults=yr({},e),t}it.defaults={},it.custom=Fh,it.oneOf=Hh,it.instanceOf=zh,it.oneOfType=Bh,it.arrayOf=Dh,it.objectOf=Uh,it.shape=Wh,it.utils={validate:function(e,t){return qt(t,e,!0)===!0},toType:function(e,t,n){return n===void 0&&(n=!1),n?ft(e,t):Be(e,t)}};(function(e){function t(){return e.apply(this,arguments)||this}return mc(t,e),t})(xc());var wc=xc({func:void 0,bool:void 0,string:void 0,number:void 0,array:void 0,object:void 0,integer:void 0});wc.extend([{name:"looseBool",getter:!0,type:Boolean,default:void 0},{name:"style",getter:!0,type:[String,Object],default:void 0},{name:"VueNode",getter:!0,type:null}]);const Uo=wc;var Vh=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o2&&arguments[2]!==void 0?arguments[2]:"";Pc(e,"[antdv: ".concat(t,"] ").concat(n))};var Wo="internalMark",br=je({name:"ALocaleProvider",props:{locale:{type:Object},ANT_MARK__:String},setup:function(t,n){var r=n.slots;Yh(t.ANT_MARK__===Wo,"LocaleProvider","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead");var o=De({antLocale:le(le({},t.locale),{exist:!0}),ANT_MARK__:Wo});return Ut("localeData",o),lt(function(){return t.locale},function(){o.antLocale=le(le({},t.locale),{exist:!0})},{immediate:!0}),function(){var i;return(i=r.default)===null||i===void 0?void 0:i.call(r)}}});br.install=function(e){return e.component(br.name,br),e};const Jh=uc(br);vh("bottomLeft","bottomRight","topLeft","topRight");var Qh=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=le(t?{name:t,appear:!0,appearActiveClass:"".concat(t),appearToClass:"".concat(t,"-appear ").concat(t,"-appear-active"),enterFromClass:"".concat(t,"-appear ").concat(t,"-enter ").concat(t,"-appear-prepare ").concat(t,"-enter-prepare"),enterActiveClass:"".concat(t),enterToClass:"".concat(t,"-enter ").concat(t,"-appear ").concat(t,"-appear-active ").concat(t,"-enter-active"),leaveActiveClass:"".concat(t," ").concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-active")}:{css:!1},n);return r};const Xh=je({name:"Notice",inheritAttrs:!1,props:["prefixCls","duration","updateMark","noticeKey","closeIcon","closable","props","onClick","onClose","holder","visible"],setup:function(t,n){var r=n.attrs,o=n.slots,i,a=ae(function(){return t.duration===void 0?1.5:t.duration}),s=function(){a.value&&(i=setTimeout(function(){u()},a.value*1e3))},l=function(){i&&(clearTimeout(i),i=null)},u=function(d){d&&d.stopPropagation(),l();var h=t.onClose,m=t.noticeKey;h&&h(m)},c=function(){l(),s()};return bn(function(){s()}),qr(function(){l()}),lt([a,function(){return t.updateMark},function(){return t.visible}],function(f,d){var h=qa(f,3),m=h[0],w=h[1],S=h[2],E=qa(d,3),A=E[0],U=E[1],B=E[2];(m!==A||w!==U||S!==B&&B)&&c()},{flush:"post"}),function(){var f,d,h=t.prefixCls,m=t.closable,w=t.closeIcon,S=w===void 0?(f=o.closeIcon)===null||f===void 0?void 0:f.call(o):w,E=t.onClick,A=t.holder,U=r.class,B=r.style,F="".concat(h,"-notice"),b=Object.keys(r).reduce(function(_,j){return(j.substr(0,5)==="data-"||j.substr(0,5)==="aria-"||j==="role")&&(_[j]=r[j]),_},{}),O=M("div",Xe({class:nr(F,U,Ce({},"".concat(F,"-closable"),m)),style:B,onMouseenter:l,onMouseleave:s,onClick:E},b),[M("div",{class:"".concat(F,"-content")},[(d=o.default)===null||d===void 0?void 0:d.call(o)]),m?M("a",{tabindex:0,onClick:u,class:"".concat(F,"-close")},[S||M("span",{class:"".concat(F,"-close-x")},null)]):null]);return A?M(Uf,{to:A},{default:function(){return O}}):O}}});var Zh=globalThis&&globalThis.__rest||function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o=S&&(w.key=A[0].notice.key,w.updateMark=ns(),w.userPassKey=m,A.shift()),A.push({notice:w,holderCallback:h})),s.value=A},c=function(d){s.value=s.value.filter(function(h){var m=h.notice,w=m.key,S=m.userPassKey,E=S||w;return E!==d})};return o({add:u,remove:c,notices:s}),function(){var f,d,h=t.prefixCls,m=t.closeIcon,w=m===void 0?(d=i.closeIcon)===null||d===void 0?void 0:d.call(i,{prefixCls:h}):m,S=s.value.map(function(A,U){var B=A.notice,F=A.holderCallback,b=U===s.value.length-1?B.updateMark:void 0,O=B.key,_=B.userPassKey,j=B.content,Y=le(le(le({prefixCls:h,closeIcon:typeof w=="function"?w({prefixCls:h}):w},B),B.props),{key:O,noticeKey:_||O,updateMark:b,onClose:function(H){var C;c(H),(C=B.onClose)===null||C===void 0||C.call(B)},onClick:B.onClick});return F?M("div",{key:O,class:"".concat(h,"-hook-holder"),ref:function(H){typeof O>"u"||(H?(a.set(O,H),F(H,Y)):a.delete(O))}},null):M(Xh,Y,{default:function(){return[typeof j=="function"?j({prefixCls:h}):j]}})}),E=(f={},Ce(f,h,1),Ce(f,r.class,!!r.class),f);return M("div",{class:E,style:r.style||{top:"65px",left:"50%"}},[M(Td,Xe({tag:"div"},l.value),{default:function(){return[S]}})])}}});Vo.newInstance=function(t,n){var r=t||{},o=r.name,i=o===void 0?"notification":o,a=r.getContainer,s=r.appContext,l=r.prefixCls,u=r.rootPrefixCls,c=r.transitionName,f=r.hasTransitionName,d=Zh(r,["name","getContainer","appContext","prefixCls","rootPrefixCls","transitionName","hasTransitionName"]),h=document.createElement("div");if(a){var m=a();m.appendChild(h)}else document.body.appendChild(h);var w=je({name:"NotificationWrapper",setup:function(A,U){var B=U.attrs,F=st();return bn(function(){n({notice:function(O){var _;(_=F.value)===null||_===void 0||_.add(O)},removeNotice:function(O){var _;(_=F.value)===null||_===void 0||_.remove(O)},destroy:function(){Ta(null,h),h.parentNode&&h.parentNode.removeChild(h)},component:F})}),function(){var b=Ue,O=b.getPrefixCls(i,l),_=b.getRootPrefixCls(u,O),j=f?c:"".concat(_,"-").concat(c);return M(Bn,Xe(Xe({},b),{},{notUpdateGlobalConfig:!0,prefixCls:_}),{default:function(){return[M(Vo,Xe(Xe({ref:F},B),{},{prefixCls:O,transitionName:j}),null)]}})}}}),S=M(w,d);S.appContext=s||S.appContext,Ta(S,h)};const Tc=Vo;var tg={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};const ng=tg;function Pe(e,t){rg(e)&&(e="100%");var n=og(e);return e=t===360?e:Math.min(t,Math.max(0,parseFloat(e))),n&&(e=parseInt(String(e*t),10)/100),Math.abs(e-t)<1e-6?1:(t===360?e=(e<0?e%t+t:e%t)/parseFloat(String(t)):e=e%t/parseFloat(String(t)),e)}function cr(e){return Math.min(1,Math.max(0,e))}function rg(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function og(e){return typeof e=="string"&&e.indexOf("%")!==-1}function Ac(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function ur(e){return e<=1?"".concat(Number(e)*100,"%"):e}function Dt(e){return e.length===1?"0"+e:String(e)}function ig(e,t,n){return{r:Pe(e,255)*255,g:Pe(t,255)*255,b:Pe(n,255)*255}}function rs(e,t,n){e=Pe(e,255),t=Pe(t,255),n=Pe(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=0,s=(r+o)/2;if(r===o)a=0,i=0;else{var l=r-o;switch(a=s>.5?l/(2-r-o):l/(r+o),r){case e:i=(t-n)/l+(t1&&(n-=1),n<1/6?e+(t-e)*(6*n):n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ag(e,t,n){var r,o,i;if(e=Pe(e,360),t=Pe(t,100),n=Pe(n,100),t===0)o=n,i=n,r=n;else{var a=n<.5?n*(1+t):n+t-n*t,s=2*n-a;r=lo(s,a,e+1/3),o=lo(s,a,e),i=lo(s,a,e-1/3)}return{r:r*255,g:o*255,b:i*255}}function qo(e,t,n){e=Pe(e,255),t=Pe(t,255),n=Pe(n,255);var r=Math.max(e,t,n),o=Math.min(e,t,n),i=0,a=r,s=r-o,l=r===0?0:s/r;if(r===o)i=0;else{switch(r){case e:i=(t-n)/s+(t>16,g:(e&65280)>>8,b:e&255}}var Go={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function en(e){var t={r:0,g:0,b:0},n=1,r=null,o=null,i=null,a=!1,s=!1;return typeof e=="string"&&(e=pg(e)),typeof e=="object"&&(ht(e.r)&&ht(e.g)&&ht(e.b)?(t=ig(e.r,e.g,e.b),a=!0,s=String(e.r).substr(-1)==="%"?"prgb":"rgb"):ht(e.h)&&ht(e.s)&&ht(e.v)?(r=ur(e.s),o=ur(e.v),t=sg(e.h,r,o),a=!0,s="hsv"):ht(e.h)&&ht(e.s)&&ht(e.l)&&(r=ur(e.s),i=ur(e.l),t=ag(e.h,r,i),a=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=Ac(n),{ok:a,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var fg="[-\\+]?\\d+%?",dg="[-\\+]?\\d*\\.\\d+%?",Tt="(?:".concat(dg,")|(?:").concat(fg,")"),co="[\\s|\\(]+(".concat(Tt,")[,|\\s]+(").concat(Tt,")[,|\\s]+(").concat(Tt,")\\s*\\)?"),uo="[\\s|\\(]+(".concat(Tt,")[,|\\s]+(").concat(Tt,")[,|\\s]+(").concat(Tt,")[,|\\s]+(").concat(Tt,")\\s*\\)?"),Ke={CSS_UNIT:new RegExp(Tt),rgb:new RegExp("rgb"+co),rgba:new RegExp("rgba"+uo),hsl:new RegExp("hsl"+co),hsla:new RegExp("hsla"+uo),hsv:new RegExp("hsv"+co),hsva:new RegExp("hsva"+uo),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function pg(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var t=!1;if(Go[e])e=Go[e],t=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var n=Ke.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=Ke.rgba.exec(e),n?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=Ke.hsl.exec(e),n?{h:n[1],s:n[2],l:n[3]}:(n=Ke.hsla.exec(e),n?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=Ke.hsv.exec(e),n?{h:n[1],s:n[2],v:n[3]}:(n=Ke.hsva.exec(e),n?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=Ke.hex8.exec(e),n?{r:Le(n[1]),g:Le(n[2]),b:Le(n[3]),a:os(n[4]),format:t?"name":"hex8"}:(n=Ke.hex6.exec(e),n?{r:Le(n[1]),g:Le(n[2]),b:Le(n[3]),format:t?"name":"hex"}:(n=Ke.hex4.exec(e),n?{r:Le(n[1]+n[1]),g:Le(n[2]+n[2]),b:Le(n[3]+n[3]),a:os(n[4]+n[4]),format:t?"name":"hex8"}:(n=Ke.hex3.exec(e),n?{r:Le(n[1]+n[1]),g:Le(n[2]+n[2]),b:Le(n[3]+n[3]),format:t?"name":"hex"}:!1)))))))))}function ht(e){return Boolean(Ke.CSS_UNIT.exec(String(e)))}var fo=function(){function e(t,n){t===void 0&&(t=""),n===void 0&&(n={});var r;if(t instanceof e)return t;typeof t=="number"&&(t=ug(t)),this.originalInput=t;var o=en(t);this.originalInput=t,this.r=o.r,this.g=o.g,this.b=o.b,this.a=o.a,this.roundA=Math.round(100*this.a)/100,this.format=(r=n.format)!==null&&r!==void 0?r:o.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=o.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},e.prototype.getLuminance=function(){var t=this.toRgb(),n,r,o,i=t.r/255,a=t.g/255,s=t.b/255;return i<=.03928?n=i/12.92:n=Math.pow((i+.055)/1.055,2.4),a<=.03928?r=a/12.92:r=Math.pow((a+.055)/1.055,2.4),s<=.03928?o=s/12.92:o=Math.pow((s+.055)/1.055,2.4),.2126*n+.7152*r+.0722*o},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(t){return this.a=Ac(t),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var t=qo(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},e.prototype.toHsvString=function(){var t=qo(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.v*100);return this.a===1?"hsv(".concat(n,", ").concat(r,"%, ").concat(o,"%)"):"hsva(".concat(n,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var t=rs(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},e.prototype.toHslString=function(){var t=rs(this.r,this.g,this.b),n=Math.round(t.h*360),r=Math.round(t.s*100),o=Math.round(t.l*100);return this.a===1?"hsl(".concat(n,", ").concat(r,"%, ").concat(o,"%)"):"hsla(".concat(n,", ").concat(r,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(t){return t===void 0&&(t=!1),Ko(this.r,this.g,this.b,t)},e.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},e.prototype.toHex8=function(t){return t===void 0&&(t=!1),lg(this.r,this.g,this.b,this.a,t)},e.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var t=Math.round(this.r),n=Math.round(this.g),r=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(n,", ").concat(r,")"):"rgba(".concat(t,", ").concat(n,", ").concat(r,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var t=function(n){return"".concat(Math.round(Pe(n,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var t=function(n){return Math.round(Pe(n,255)*100)};return this.a===1?"rgb(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%)"):"rgba(".concat(t(this.r),"%, ").concat(t(this.g),"%, ").concat(t(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+Ko(this.r,this.g,this.b,!1),n=0,r=Object.entries(Go);n=0,i=!n&&o&&(t.startsWith("hex")||t==="name");return i?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(r=this.toRgbString()),t==="prgb"&&(r=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(r=this.toHexString()),t==="hex3"&&(r=this.toHexString(!0)),t==="hex4"&&(r=this.toHex8String(!0)),t==="hex8"&&(r=this.toHex8String()),t==="name"&&(r=this.toName()),t==="hsl"&&(r=this.toHslString()),t==="hsv"&&(r=this.toHsvString()),r||this.toHexString())},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=cr(n.l),new e(n)},e.prototype.brighten=function(t){t===void 0&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(255*-(t/100)))),n.g=Math.max(0,Math.min(255,n.g-Math.round(255*-(t/100)))),n.b=Math.max(0,Math.min(255,n.b-Math.round(255*-(t/100)))),new e(n)},e.prototype.darken=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=cr(n.l),new e(n)},e.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},e.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},e.prototype.desaturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=cr(n.s),new e(n)},e.prototype.saturate=function(t){t===void 0&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=cr(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){n===void 0&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100,a={r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a};return new e(a)},e.prototype.analogous=function(t,n){t===void 0&&(t=6),n===void 0&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],s=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+s)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb();return new e({r:r.r+(n.r-r.r)*n.a,g:r.g+(n.g-r.g)*n.a,b:r.b+(n.b-r.b)*n.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;a=60&&Math.round(e.h)<=240?r=n?Math.round(e.h)-fr*t:Math.round(e.h)+fr*t:r=n?Math.round(e.h)+fr*t:Math.round(e.h)-fr*t,r<0?r+=360:r>=360&&(r-=360),r}function ls(e,t,n){if(e.h===0&&e.s===0)return e.s;var r;return n?r=e.s-is*t:t===Ic?r=e.s+is:r=e.s+hg*t,r>1&&(r=1),n&&t===Mc&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2))}function cs(e,t,n){var r;return n?r=e.v+gg*t:r=e.v-mg*t,r>1&&(r=1),Number(r.toFixed(2))}function Xn(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=[],r=en(e),o=Mc;o>0;o-=1){var i=as(r),a=dr(en({h:ss(i,o,!0),s:ls(i,o,!0),v:cs(i,o,!0)}));n.push(a)}n.push(dr(r));for(var s=1;s<=Ic;s+=1){var l=as(r),u=dr(en({h:ss(l,s),s:ls(l,s),v:cs(l,s)}));n.push(u)}return t.theme==="dark"?vg.map(function(c){var f=c.index,d=c.opacity,h=dr(yg(en(t.backgroundColor||"#141414"),en(n[f]),d*100));return h}):n}var po={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},ho={},go={};Object.keys(po).forEach(function(e){ho[e]=Xn(po[e]),ho[e].primary=ho[e][5],go[e]=Xn(po[e],{theme:"dark",backgroundColor:"#141414"}),go[e].primary=go[e][5]});var us=[],Tn=[],bg="insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).";function Cg(){var e=document.createElement("style");return e.setAttribute("type","text/css"),e}function _g(e,t){if(t=t||{},e===void 0)throw new Error(bg);var n=t.prepend===!0?"prepend":"append",r=t.container!==void 0?t.container:document.querySelector("head"),o=us.indexOf(r);o===-1&&(o=us.push(r)-1,Tn[o]={});var i;return Tn[o]!==void 0&&Tn[o][n]!==void 0?i=Tn[o][n]:(i=Tn[o][n]=Cg(),n==="prepend"?r.insertBefore(i,r.childNodes[0]):r.appendChild(i)),e.charCodeAt(0)===65279&&(e=e.substr(1,e.length)),i.styleSheet?i.styleSheet.cssText+=e:i.textContent+=e,i}function fs(e){for(var t=1;t * { 33 | line-height: 1; 34 | } 35 | 36 | .anticon svg { 37 | display: inline-block; 38 | } 39 | 40 | .anticon::before { 41 | display: none; 42 | } 43 | 44 | .anticon .anticon-icon { 45 | display: block; 46 | } 47 | 48 | .anticon[tabindex] { 49 | cursor: pointer; 50 | } 51 | 52 | .anticon-spin::before, 53 | .anticon-spin { 54 | display: inline-block; 55 | -webkit-animation: loadingCircle 1s infinite linear; 56 | animation: loadingCircle 1s infinite linear; 57 | } 58 | 59 | @-webkit-keyframes loadingCircle { 60 | 100% { 61 | -webkit-transform: rotate(360deg); 62 | transform: rotate(360deg); 63 | } 64 | } 65 | 66 | @keyframes loadingCircle { 67 | 100% { 68 | -webkit-transform: rotate(360deg); 69 | transform: rotate(360deg); 70 | } 71 | } 72 | `,ps=!1,Eg=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:wg;yn(function(){ps||(typeof window<"u"&&window.document&&window.document.documentElement&&_g(t,{prepend:!0}),ps=!0)})},Og=["icon","primaryColor","secondaryColor"];function Sg(e,t){if(e==null)return{};var n=Pg(e,t),r,o;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function Pg(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}function Cr(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function Wg(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,i;for(i=0;i=0)&&(n[o]=e[o]);return n}jc("#1890ff");var wn=function(t,n){var r,o=ms({},t,n.attrs),i=o.class,a=o.icon,s=o.spin,l=o.rotate,u=o.tabindex,c=o.twoToneColor,f=o.onClick,d=Ug(o,Lg),h=(r={anticon:!0},Jo(r,"anticon-".concat(a.name),Boolean(a.name)),Jo(r,i,i),r),m=s===""||!!s||a.name==="loading"?"anticon-spin":"",w=u;w===void 0&&f&&(w=-1,d.tabindex=w);var S=l?{msTransform:"rotate(".concat(l,"deg)"),transform:"rotate(".concat(l,"deg)")}:void 0,E=Rc(c),A=Fg(E,2),U=A[0],B=A[1];return M("span",ms({role:"img","aria-label":a.name},d,{onClick:f,class:h}),[M(ki,{class:m,icon:a,primaryColor:U,secondaryColor:B,style:S},null)])};wn.props={spin:Boolean,rotate:Number,icon:Object,twoToneColor:String};wn.displayName="AntdIcon";wn.inheritAttrs=!1;wn.getTwoToneColor=Ng;wn.setTwoToneColor=jc;const dt=wn;function vs(e){for(var t=1;t=0;--W){var V=this.tryEntries[W],oe=V.completion;if(V.tryLoc==="root")return D("end");if(V.tryLoc<=this.prev){var _e=i.call(V,"catchLoc"),be=i.call(V,"finallyLoc");if(_e&&be){if(this.prev=0;--D){var W=this.tryEntries[D];if(W.tryLoc<=this.prev&&i.call(W,"finallyLoc")&&this.prev=0;--N){var D=this.tryEntries[N];if(D.finallyLoc===y)return this.complete(D.completion,D.afterLoc),j(D),h}},catch:function(y){for(var N=this.tryEntries.length-1;N>=0;--N){var D=this.tryEntries[N];if(D.tryLoc===y){var W=D.completion;if(W.type==="throw"){var V=W.arg;j(D)}return V}}throw new Error("illegal catch attempt")},delegateYield:function(y,N,D){return this.delegate={iterator:X(y),resultName:N,nextLoc:D},this.method==="next"&&(this.arg=void 0),h}},r}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(Uc);var mo=Uc.exports();try{regeneratorRuntime=mo}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=mo:Function("r","regeneratorRuntime = r")(mo)}var vm={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"};const ym=vm;function xs(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:qc,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Kc,r;switch(e){case"topLeft":r={left:"0px",top:t,bottom:"auto"};break;case"topRight":r={right:"0px",top:t,bottom:"auto"};break;case"bottomLeft":r={left:"0px",top:"auto",bottom:n};break;default:r={right:"0px",top:"auto",bottom:n};break}return r}function Hm(e,t){var n=e.prefixCls,r=e.placement,o=r===void 0?Gc:r,i=e.getContainer,a=i===void 0?Yc:i,s=e.top,l=e.bottom,u=e.closeIcon,c=u===void 0?Jc:u,f=e.appContext,d=ev(),h=d.getPrefixCls,m=h("notification",n||Xo),w="".concat(m,"-").concat(o,"-").concat(Zo),S=Bt[w];if(S){Promise.resolve(S).then(function(A){t(A)});return}var E=nr("".concat(m,"-").concat(o),Ce({},"".concat(m,"-rtl"),Zo===!0));Tc.newInstance({name:"notification",prefixCls:n||Xo,class:E,style:Fm(o,s,l),appContext:f,getContainer:a,closeIcon:function(U){var B=U.prefixCls,F=M("span",{class:"".concat(B,"-close-x")},[In(c,{},M(Nm,{class:"".concat(B,"-close-icon")},null))]);return F},maxCount:Qc,hasTransitionName:!0},function(A){Bt[w]=A,t(A)})}var Bm={success:Cm,info:Em,error:Tm,warning:km};function Dm(e){var t=e.icon,n=e.type,r=e.description,o=e.message,i=e.btn,a=e.duration===void 0?Vc:e.duration;Hm(e,function(s){s.notice({content:function(u){var c=u.prefixCls,f="".concat(c,"-notice"),d=null;if(t)d=function(){return M("span",{class:"".concat(f,"-icon")},[In(t)])};else if(n){var h=Bm[n];d=function(){return M(h,{class:"".concat(f,"-icon ").concat(f,"-icon-").concat(n)},null)}}return M("div",{class:d?"".concat(f,"-with-icon"):""},[d&&d(),M("div",{class:"".concat(f,"-message")},[!r&&d?M("span",{class:"".concat(f,"-message-single-line-auto-margin")},null):null,In(o)]),M("div",{class:"".concat(f,"-description")},[In(r)]),i?M("span",{class:"".concat(f,"-btn")},[In(i)]):null])},duration:a,closable:!0,onClose:e.onClose,onClick:e.onClick,key:e.key,style:e.style||{},class:e.class})})}var Zn={open:Dm,close:function(t){Object.keys(Bt).forEach(function(n){return Promise.resolve(Bt[n]).then(function(r){r.removeNotice(t)})})},config:Lm,destroy:function(){Object.keys(Bt).forEach(function(t){Promise.resolve(Bt[t]).then(function(n){n.destroy()}),delete Bt[t]})}},zm=["success","info","warning","error"];zm.forEach(function(e){Zn[e]=function(t){return Zn.open(le(le({},t),{type:e}))}});Zn.warn=Zn.warning;const Um=Zn;function Xc(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var Wm="vc-util-key";function Zc(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.mark;return t?t.startsWith("data-")?t:"data-".concat(t):Wm}function Ui(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function Ps(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,r;if(!Xc())return null;var o=document.createElement("style");!((n=t.csp)===null||n===void 0)&&n.nonce&&(o.nonce=(r=t.csp)===null||r===void 0?void 0:r.nonce),o.innerHTML=e;var i=Ui(t),a=i.firstChild;return t.prepend&&i.prepend?i.prepend(o):t.prepend&&a?i.insertBefore(o,a):i.appendChild(o),o}var ei=new Map;function Vm(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=Ui(t);return Array.from(ei.get(n).children).find(function(r){return r.tagName==="STYLE"&&r.getAttribute(Zc(t))===e})}function qm(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},r,o,i,a=Ui(n);if(!ei.has(a)){var s=Ps("",n),l=s.parentNode;ei.set(a,l),l.removeChild(s)}var u=Vm(t,n);if(u)return((r=n.csp)===null||r===void 0?void 0:r.nonce)&&u.nonce!==((o=n.csp)===null||o===void 0?void 0:o.nonce)&&(u.nonce=(i=n.csp)===null||i===void 0?void 0:i.nonce),u.innerHTML!==e&&(u.innerHTML=e),u;var c=Ps(e,n);return c.setAttribute(Zc(n),t),c}const eu=function(e,t,n){Pc(e,"[ant-design-vue: ".concat(t,"] ").concat(n))};var Km="-ant-".concat(Date.now(),"-").concat(Math.random());function Gm(e,t){var n={},r=function(c,f){var d=c.clone();return d=(f==null?void 0:f(d))||d,d.toRgbString()},o=function(c,f){var d=new fo(c),h=Xn(d.toRgbString());n["".concat(f,"-color")]=r(d),n["".concat(f,"-color-disabled")]=h[1],n["".concat(f,"-color-hover")]=h[4],n["".concat(f,"-color-active")]=h[7],n["".concat(f,"-color-outline")]=d.clone().setAlpha(.2).toRgbString(),n["".concat(f,"-color-deprecated-bg")]=h[1],n["".concat(f,"-color-deprecated-border")]=h[3]};if(t.primaryColor){o(t.primaryColor,"primary");var i=new fo(t.primaryColor),a=Xn(i.toRgbString());a.forEach(function(u,c){n["primary-".concat(c+1)]=u}),n["primary-color-deprecated-l-35"]=r(i,function(u){return u.lighten(35)}),n["primary-color-deprecated-l-20"]=r(i,function(u){return u.lighten(20)}),n["primary-color-deprecated-t-20"]=r(i,function(u){return u.tint(20)}),n["primary-color-deprecated-t-50"]=r(i,function(u){return u.tint(50)}),n["primary-color-deprecated-f-12"]=r(i,function(u){return u.setAlpha(u.getAlpha()*.12)});var s=new fo(a[0]);n["primary-color-active-deprecated-f-30"]=r(s,function(u){return u.setAlpha(u.getAlpha()*.3)}),n["primary-color-active-deprecated-d-02"]=r(s,function(u){return u.darken(2)})}t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info");var l=Object.keys(n).map(function(u){return"--".concat(e,"-").concat(u,": ").concat(n[u],";")});Xc()?qm(` 75 | :root { 76 | `.concat(l.join(` 77 | `),` 78 | } 79 | `),"".concat(Km,"-dynamic-theme")):eu(!1,"ConfigProvider","SSR do not support dynamic theme with css variables.")}var Ym=Symbol("GlobalFormContextKey"),Jm=function(t){Ut(Ym,t)},Qm=function(){return{getTargetContainer:{type:Function},getPopupContainer:{type:Function},prefixCls:String,getPrefixCls:{type:Function},renderEmpty:{type:Function},transformCellText:{type:Function},csp:{type:Object,default:void 0},input:{type:Object},autoInsertSpaceInButton:{type:Boolean,default:void 0},locale:{type:Object,default:void 0},pageHeader:{type:Object},componentSize:{type:String},direction:{type:String},space:{type:Object},virtual:{type:Boolean,default:void 0},dropdownMatchSelectWidth:{type:[Number,Boolean],default:!0},form:{type:Object,default:void 0},notUpdateGlobalConfig:Boolean}},Xm="ant";function sn(){return Ue.prefixCls||Xm}var ti=De({}),tu=De({}),Ue=De({});zr(function(){le(Ue,ti,tu),Ue.prefixCls=sn(),Ue.getPrefixCls=function(e,t){return t||(e?"".concat(Ue.prefixCls,"-").concat(e):Ue.prefixCls)},Ue.getRootPrefixCls=function(e,t){return e||(Ue.prefixCls?Ue.prefixCls:t&&t.includes("-")?t.replace(/^(.*)-[^-]*$/,"$1"):sn())}});var vo,Zm=function(t){vo&&vo(),vo=zr(function(){le(tu,De(t))}),t.theme&&Gm(sn(),t.theme)},ev=function(){return{getPrefixCls:function(n,r){return r||(n?"".concat(sn(),"-").concat(n):sn())},getRootPrefixCls:function(n,r){return n||(Ue.prefixCls?Ue.prefixCls:r&&r.includes("-")?r.replace(/^(.*)-[^-]*$/,"$1"):sn())}}},Bn=je({name:"AConfigProvider",inheritAttrs:!1,props:Qm(),setup:function(t,n){var r=n.slots,o=function(f,d){var h=t.prefixCls,m=h===void 0?"ant":h;return d||(f?"".concat(m,"-").concat(f):m)},i=function(f){var d=t.renderEmpty||r.renderEmpty||Sc;return d(f)},a=function(f,d){var h=t.prefixCls;if(d)return d;var m=h||o("");return f?"".concat(m,"-").concat(f):m},s=De(le(le({},t),{getPrefixCls:a,renderEmpty:i}));Object.keys(t).forEach(function(c){lt(function(){return t[c]},function(){s[c]=t[c]})}),t.notUpdateGlobalConfig||(le(ti,s),lt(s,function(){le(ti,s)}));var l=ae(function(){var c,f,d={};return t.locale&&(d=((c=t.locale.Form)===null||c===void 0?void 0:c.defaultValidateMessages)||((f=zo.Form)===null||f===void 0?void 0:f.defaultValidateMessages)||{}),t.form&&t.form.validateMessages&&(d=le(le({},d),t.form.validateMessages)),d});Jm({validateMessages:l}),Ut("configProvider",s);var u=function(f){var d;return M(Jh,{locale:t.locale||f,ANT_MARK__:Wo},{default:function(){return[(d=r.default)===null||d===void 0?void 0:d.call(r)]}})};return zr(function(){t.direction&&(mm.config({rtl:t.direction==="rtl"}),Um.config({rtl:t.direction==="rtl"}))}),function(){return M(dc,{children:function(f,d,h){return u(h)}},null)}}}),tv=De({getPrefixCls:function(t,n){return n||(t?"ant-".concat(t):"ant")},renderEmpty:Sc,direction:"ltr"});Bn.config=Zm;Bn.install=function(e){e.component(Bn.name,Bn)};const Kt=function(e,t){var n=Ve("configProvider",tv),r=ae(function(){return n.getPrefixCls(e,t.prefixCls)}),o=ae(function(){var A;return(A=t.direction)!==null&&A!==void 0?A:n.direction}),i=ae(function(){return n.getPrefixCls()}),a=ae(function(){return n.autoInsertSpaceInButton}),s=ae(function(){return n.renderEmpty}),l=ae(function(){return n.space}),u=ae(function(){return n.pageHeader}),c=ae(function(){return n.form}),f=ae(function(){return t.getTargetContainer||n.getTargetContainer}),d=ae(function(){return t.getPopupContainer||n.getPopupContainer}),h=ae(function(){var A;return(A=t.dropdownMatchSelectWidth)!==null&&A!==void 0?A:n.dropdownMatchSelectWidth}),m=ae(function(){return(t.virtual===void 0?n.virtual!==!1:t.virtual!==!1)&&h.value!==!1}),w=ae(function(){return t.size||n.componentSize}),S=ae(function(){var A;return t.autocomplete||((A=n.input)===null||A===void 0?void 0:A.autocomplete)}),E=ae(function(){return n.csp});return{configProvider:n,prefixCls:r,direction:o,size:w,getTargetContainer:f,getPopupContainer:d,space:l,pageHeader:u,form:c,autoInsertSpaceInButton:a,renderEmpty:s,virtual:m,dropdownMatchSelectWidth:h,rootPrefixCls:i,getPrefixCls:n.getPrefixCls,autocomplete:S,csp:E}};var yo={transitionstart:{transition:"transitionstart",WebkitTransition:"webkitTransitionStart",MozTransition:"mozTransitionStart",OTransition:"oTransitionStart",msTransition:"MSTransitionStart"},animationstart:{animation:"animationstart",WebkitAnimation:"webkitAnimationStart",MozAnimation:"mozAnimationStart",OAnimation:"oAnimationStart",msAnimation:"MSAnimationStart"}},bo={transitionend:{transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"mozTransitionEnd",OTransition:"oTransitionEnd",msTransition:"MSTransitionEnd"},animationend:{animation:"animationend",WebkitAnimation:"webkitAnimationEnd",MozAnimation:"mozAnimationEnd",OAnimation:"oAnimationEnd",msAnimation:"MSAnimationEnd"}},tn=[],nn=[];function nv(){var e=document.createElement("div"),t=e.style;"AnimationEvent"in window||(delete yo.animationstart.animation,delete bo.animationend.animation),"TransitionEvent"in window||(delete yo.transitionstart.transition,delete bo.transitionend.transition);function n(r,o){for(var i in r)if(r.hasOwnProperty(i)){var a=r[i];for(var s in a)if(s in t){o.push(a[s]);break}}}n(yo,tn),n(bo,nn)}typeof window<"u"&&typeof document<"u"&&nv();function Ts(e,t,n){e.addEventListener(t,n,!1)}function As(e,t,n){e.removeEventListener(t,n,!1)}var rv={startEvents:tn,addStartEventListener:function(t,n){if(tn.length===0){setTimeout(n,0);return}tn.forEach(function(r){Ts(t,r,n)})},removeStartEventListener:function(t,n){tn.length!==0&&tn.forEach(function(r){As(t,r,n)})},endEvents:nn,addEndEventListener:function(t,n){if(nn.length===0){setTimeout(n,0);return}nn.forEach(function(r){Ts(t,r,n)})},removeEndEventListener:function(t,n){nn.length!==0&&nn.forEach(function(r){As(t,r,n)})}};const pr=rv;var wt;function Ms(e){return!e||e.offsetParent===null}function ov(e){var t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\.\d]*)?\)/);return t&&t[1]&&t[2]&&t[3]?!(t[1]===t[2]&&t[2]===t[3]):!0}const iv=je({name:"Wave",props:{insertExtraNode:Boolean,disabled:Boolean},setup:function(t,n){var r=n.slots,o=n.expose,i=tr(),a=Kt("",t),s=a.csp,l=a.prefixCls;o({csp:s});var u=null,c=null,f=null,d=!1,h=null,m=!1,w=function(b){if(!m){var O=Ka(i);!b||b.target!==O||d||U(O)}},S=function(b){!b||b.animationName!=="fadeEffect"||U(b.target)},E=function(){var b=t.insertExtraNode;return b?"".concat(l.value,"-click-animating"):"".concat(l.value,"-click-animating-without-extra-node")},A=function(b,O){var _,j=t.insertExtraNode,Y=t.disabled;if(!(Y||!b||Ms(b)||b.className.indexOf("-leave")>=0)){h=document.createElement("div"),h.className="".concat(l.value,"-click-animating-node");var X=E();b.removeAttribute(X),b.setAttribute(X,"true"),wt=wt||document.createElement("style"),O&&O!=="#ffffff"&&O!=="rgb(255, 255, 255)"&&ov(O)&&!/rgba\(\d*, \d*, \d*, 0\)/.test(O)&&O!=="transparent"&&(!((_=s.value)===null||_===void 0)&&_.nonce&&(wt.nonce=s.value.nonce),h.style.borderColor=O,wt.innerHTML=` 80 | [`.concat(l.value,"-click-animating-without-extra-node='true']::after, .").concat(l.value,`-click-animating-node { 81 | --antd-wave-shadow-color: `).concat(O,`; 82 | }`),document.body.contains(wt)||document.body.appendChild(wt)),j&&b.appendChild(h),pr.addStartEventListener(b,w),pr.addEndEventListener(b,S)}},U=function(b){if(!(!b||b===h||!(b instanceof Element))){var O=t.insertExtraNode,_=E();b.setAttribute(_,"false"),wt&&(wt.innerHTML=""),O&&h&&b.contains(h)&&b.removeChild(h),pr.removeStartEventListener(b,w),pr.removeEndEventListener(b,S)}},B=function(b){if(!(!b||!b.getAttribute||b.getAttribute("disabled")||b.className.indexOf("disabled")>=0)){var O=function(j){if(!(j.target.tagName==="INPUT"||Ms(j.target))){U(b);var Y=getComputedStyle(b).getPropertyValue("border-top-color")||getComputedStyle(b).getPropertyValue("border-color")||getComputedStyle(b).getPropertyValue("background-color");c=setTimeout(function(){return A(b,Y)},0),Do.cancel(f),d=!0,f=Do(function(){d=!1},10)}};return b.addEventListener("click",O,!0),{cancel:function(){b.removeEventListener("click",O,!0)}}}};return bn(function(){yn(function(){var F=Ka(i);F.nodeType===1&&(u=B(F))})}),Vr(function(){u&&u.cancel(),clearTimeout(c),m=!0}),function(){var F;return(F=r.default)===null||F===void 0?void 0:F.call(r)[0]}}});var av=function(){return{prefixCls:String,type:String,htmlType:{type:String,default:"button"},shape:{type:String},size:{type:String},loading:{type:[Boolean,Object],default:function(){return!1}},disabled:{type:Boolean,default:void 0},ghost:{type:Boolean,default:void 0},block:{type:Boolean,default:void 0},danger:{type:Boolean,default:void 0},icon:Uo.any,href:String,target:String,title:String,onClick:{type:Function},onMousedown:{type:Function}}};const sv=av;var Is=function(t){t&&(t.style.width="0px",t.style.opacity="0",t.style.transform="scale(0)")},ks=function(t){yn(function(){t&&(t.style.width="".concat(t.scrollWidth,"px"),t.style.opacity="1",t.style.transform="scale(1)")})},Rs=function(t){t&&t.style&&(t.style.width=null,t.style.opacity=null,t.style.transform=null)};const lv=je({name:"LoadingIcon",props:{prefixCls:String,loading:[Boolean,Object],existIcon:Boolean},setup:function(t){return function(){var n=t.existIcon,r=t.prefixCls,o=t.loading;if(n)return M("span",{class:"".concat(r,"-loading-icon")},[M(Qo,null,null)]);var i=!!o;return M(Pi,{name:"".concat(r,"-loading-icon-motion"),onBeforeEnter:Is,onEnter:ks,onAfterEnter:Rs,onBeforeLeave:ks,onLeave:function(s){setTimeout(function(){Is(s)})},onAfterLeave:Rs},{default:function(){return[i?M("span",{class:"".concat(r,"-loading-icon")},[M(Qo,null,null)]):null]}})}}});var js=/^[\u4e00-\u9fa5]{2}$/,$s=js.test.bind(js);function hr(e){return e==="text"||e==="link"}const ln=je({name:"AButton",inheritAttrs:!1,__ANT_BUTTON:!0,props:gh(sv(),{type:"default"}),slots:["icon"],setup:function(t,n){var r=n.slots,o=n.attrs,i=n.emit,a=Kt("btn",t),s=a.prefixCls,l=a.autoInsertSpaceInButton,u=a.direction,c=a.size,f=st(null),d=st(void 0),h=!1,m=st(!1),w=st(!1),S=ae(function(){return l.value!==!1}),E=ae(function(){return Ar(t.loading)==="object"&&t.loading.delay?t.loading.delay||!0:!!t.loading});lt(E,function(b){clearTimeout(d.value),typeof E.value=="number"?d.value=setTimeout(function(){m.value=b},E.value):m.value=b},{immediate:!0});var A=ae(function(){var b,O=t.type,_=t.shape,j=_===void 0?"default":_,Y=t.ghost,X=t.block,H=t.danger,C=s.value,y={large:"lg",small:"sm",middle:void 0},N=c.value,D=N&&y[N]||"";return b={},Ce(b,"".concat(C),!0),Ce(b,"".concat(C,"-").concat(O),O),Ce(b,"".concat(C,"-").concat(j),j!=="default"&&j),Ce(b,"".concat(C,"-").concat(D),D),Ce(b,"".concat(C,"-loading"),m.value),Ce(b,"".concat(C,"-background-ghost"),Y&&!hr(O)),Ce(b,"".concat(C,"-two-chinese-chars"),w.value&&S.value),Ce(b,"".concat(C,"-block"),X),Ce(b,"".concat(C,"-dangerous"),!!H),Ce(b,"".concat(C,"-rtl"),u.value==="rtl"),b}),U=function(){var O=f.value;if(!(!O||l.value===!1)){var _=O.textContent;h&&$s(_)?w.value||(w.value=!0):w.value&&(w.value=!1)}},B=function(O){if(m.value||t.disabled){O.preventDefault();return}i("click",O)},F=function(O,_){var j=_?" ":"";if(O.type===er){var Y=O.children.trim();return $s(Y)&&(Y=Y.split("").join(j)),M("span",null,[Y])}return O};return zr(function(){eu(!(t.ghost&&hr(t.type)),"Button","`link` or `text` button can't be a `ghost` button.")}),bn(U),Ci(U),Vr(function(){d.value&&clearTimeout(d.value)}),function(){var b,O,_=t.icon,j=_===void 0?(b=r.icon)===null||b===void 0?void 0:b.call(r):_,Y=ic((O=r.default)===null||O===void 0?void 0:O.call(r));h=Y.length===1&&!j&&!hr(t.type);var X=t.type,H=t.htmlType,C=t.disabled,y=t.href,N=t.title,D=t.target,W=t.onMousedown,V=m.value?"loading":j,oe=le(le({},o),{title:N,disabled:C,class:[A.value,o.class,Ce({},"".concat(s.value,"-icon-only"),Y.length===0&&!!V)],onClick:B,onMousedown:W});C||delete oe.disabled;var _e=j&&!m.value?j:M(lv,{existIcon:!!j,prefixCls:s.value,loading:!!m.value},null),be=Y.map(function(fe){return F(fe,h&&S.value)});if(y!==void 0)return M("a",Xe(Xe({},oe),{},{href:y,target:D,ref:f}),[_e,be]);var te=M("button",Xe(Xe({},oe),{},{ref:f,type:H}),[_e,be]);return hr(X)?te:M(iv,{ref:"wave",disabled:!!m.value},{default:function(){return[te]}})}}});function Ns(e,t){for(var n=0;n{t.push({name:"about"})},r=rc();return console.log(r),(o,i)=>(wi(),Ei("div",null,[pv,M(Ye(ln),{onClick:n},{default:Er(()=>[hv]),_:1}),tt("div",null,[gv,Cn(" count: "+Fs(Ye(r).count)+" ",1),M(Ye(ln),{type:"primary",onClick:Ye(r).increment},{default:Er(()=>[mv]),_:1},8,["onClick"])])]))}}),yv=tt("h2",null,"about",-1),bv=Cn("to home"),Cv=tt("h3",null,"store - counter",-1),_v=je({__name:"About",setup(e){const t=rc();return(n,r)=>{const o=xl("router-link");return wi(),Ei("div",null,[yv,M(o,{to:{name:"home"}},{default:Er(()=>[bv]),_:1}),tt("div",null,[Cv,Cn(" count: "+Fs(Ye(t).count),1)])])}}}),xv=vv,wv=_v,Ev=[{path:"/",component:xv,name:"home"},{path:"/about",component:wv,name:"about"}],Ov=eh({history:gp(),routes:Ev});const Wi=jd(zd);Wi.use(Ov);Wi.use(Jd);Wi.mount("#app"); 83 | --------------------------------------------------------------------------------