diff --git a/package.json b/package.json index b5c0e433..a5f98a0a 100644 --- a/package.json +++ b/package.json @@ -3,10 +3,12 @@ "description": "a component library for Vue 3 base on layui-vue", "homepage": "http://www.layui-vue.com", "scripts": { - "dev": "pnpm -C ./package/document dev", - "dev:layer": "pnpm -C ./package/layer-document dev", + "dev": "pnpm -C ./package/document-component dev", + "dev:layer": "pnpm -C ./package/document-layer dev", "build": "npm run build:icons && npm run build:layer && npm run build:component && npm run build:document", - "build:document": "pnpm -C ./package/document build", + "build:document": " npm run build:document-component && npm run build:document-layer", + "build:document-component": "pnpm -C ./package/document-component build", + "build:document-layer": "pnpm -C ./package/document-layer build", "build:component": "pnpm -C ./package/component build", "build:icons": "pnpm -C ./package/icons build", "build:layer": "pnpm -C ./package/layer build", diff --git a/package/document/.env.demand b/package/document-component/.env.demand similarity index 100% rename from package/document/.env.demand rename to package/document-component/.env.demand diff --git a/package/document/.gitignore b/package/document-component/.gitignore similarity index 100% rename from package/document/.gitignore rename to package/document-component/.gitignore diff --git a/package/document/index.html b/package/document-component/index.html similarity index 100% rename from package/document/index.html rename to package/document-component/index.html diff --git a/package/document/package.json b/package/document-component/package.json similarity index 100% rename from package/document/package.json rename to package/document-component/package.json diff --git a/package/document/prerender.js b/package/document-component/prerender.js similarity index 100% rename from package/document/prerender.js rename to package/document-component/prerender.js diff --git a/package/document/public/docsearch/index.css b/package/document-component/public/docsearch/index.css similarity index 100% rename from package/document/public/docsearch/index.css rename to package/document-component/public/docsearch/index.css diff --git a/package/document/public/docsearch/index.js b/package/document-component/public/docsearch/index.js similarity index 100% rename from package/document/public/docsearch/index.js rename to package/document-component/public/docsearch/index.js diff --git a/package/document/public/favicon.ico b/package/document-component/public/favicon.ico similarity index 100% rename from package/document/public/favicon.ico rename to package/document-component/public/favicon.ico diff --git a/package/document/shims-vue.d.ts b/package/document-component/shims-vue.d.ts similarity index 100% rename from package/document/shims-vue.d.ts rename to package/document-component/shims-vue.d.ts diff --git a/package/document/src/App.vue b/package/document-component/src/App.vue similarity index 100% rename from package/document/src/App.vue rename to package/document-component/src/App.vue diff --git a/package/document/src/assets/background.svg b/package/document-component/src/assets/background.svg similarity index 100% rename from package/document/src/assets/background.svg rename to package/document-component/src/assets/background.svg diff --git a/package/document/src/assets/css/code.css b/package/document-component/src/assets/css/code.css similarity index 100% rename from package/document/src/assets/css/code.css rename to package/document-component/src/assets/css/code.css diff --git a/package/document/src/assets/css/index.css b/package/document-component/src/assets/css/index.css similarity index 100% rename from package/document/src/assets/css/index.css rename to package/document-component/src/assets/css/index.css diff --git a/package/document/src/assets/css/markdown.css b/package/document-component/src/assets/css/markdown.css similarity index 100% rename from package/document/src/assets/css/markdown.css rename to package/document-component/src/assets/css/markdown.css diff --git a/package/document/src/assets/css/mobile.css b/package/document-component/src/assets/css/mobile.css similarity index 100% rename from package/document/src/assets/css/mobile.css rename to package/document-component/src/assets/css/mobile.css diff --git a/package/document/src/assets/layui-logo.png b/package/document-component/src/assets/layui-logo.png similarity index 100% rename from package/document/src/assets/layui-logo.png rename to package/document-component/src/assets/layui-logo.png diff --git a/package/document/src/assets/logo-new.png b/package/document-component/src/assets/logo-new.png similarity index 100% rename from package/document/src/assets/logo-new.png rename to package/document-component/src/assets/logo-new.png diff --git a/package/document/src/assets/logo-png.png b/package/document-component/src/assets/logo-png.png similarity index 100% rename from package/document/src/assets/logo-png.png rename to package/document-component/src/assets/logo-png.png diff --git a/package/document/src/assets/logo.jpg b/package/document-component/src/assets/logo.jpg similarity index 100% rename from package/document/src/assets/logo.jpg rename to package/document-component/src/assets/logo.jpg diff --git a/package/document/src/assets/logo.png b/package/document-component/src/assets/logo.png similarity index 100% rename from package/document/src/assets/logo.png rename to package/document-component/src/assets/logo.png diff --git a/package/document/src/assets/start.svg b/package/document-component/src/assets/start.svg similarity index 100% rename from package/document/src/assets/start.svg rename to package/document-component/src/assets/start.svg diff --git a/package/document/src/components/LayAnchor.vue b/package/document-component/src/components/LayAnchor.vue similarity index 100% rename from package/document/src/components/LayAnchor.vue rename to package/document-component/src/components/LayAnchor.vue diff --git a/package/document/src/components/LayCode.vue b/package/document-component/src/components/LayCode.vue similarity index 100% rename from package/document/src/components/LayCode.vue rename to package/document-component/src/components/LayCode.vue diff --git a/package/document/src/components/LayContributor.vue b/package/document-component/src/components/LayContributor.vue similarity index 100% rename from package/document/src/components/LayContributor.vue rename to package/document-component/src/components/LayContributor.vue diff --git a/package/document/src/components/LaySearch.vue b/package/document-component/src/components/LaySearch.vue similarity index 100% rename from package/document/src/components/LaySearch.vue rename to package/document-component/src/components/LaySearch.vue diff --git a/package/document/src/components/LayTableBox.vue b/package/document-component/src/components/LayTableBox.vue similarity index 100% rename from package/document/src/components/LayTableBox.vue rename to package/document-component/src/components/LayTableBox.vue diff --git a/package/document/src/composable/usePlayground.ts b/package/document-component/src/composable/usePlayground.ts similarity index 100% rename from package/document/src/composable/usePlayground.ts rename to package/document-component/src/composable/usePlayground.ts diff --git a/package/document/src/document/.keep b/package/document-component/src/document/.keep similarity index 100% rename from package/document/src/document/.keep rename to package/document-component/src/document/.keep diff --git a/package/document/src/document/zh-CN/components/animation.md b/package/document-component/src/document/zh-CN/components/animation.md similarity index 100% rename from package/document/src/document/zh-CN/components/animation.md rename to package/document-component/src/document/zh-CN/components/animation.md diff --git a/package/document/src/document/zh-CN/components/avatar.md b/package/document-component/src/document/zh-CN/components/avatar.md similarity index 100% rename from package/document/src/document/zh-CN/components/avatar.md rename to package/document-component/src/document/zh-CN/components/avatar.md diff --git a/package/document/src/document/zh-CN/components/backtop.md b/package/document-component/src/document/zh-CN/components/backtop.md similarity index 100% rename from package/document/src/document/zh-CN/components/backtop.md rename to package/document-component/src/document/zh-CN/components/backtop.md diff --git a/package/document/src/document/zh-CN/components/badge.md b/package/document-component/src/document/zh-CN/components/badge.md similarity index 100% rename from package/document/src/document/zh-CN/components/badge.md rename to package/document-component/src/document/zh-CN/components/badge.md diff --git a/package/document/src/document/zh-CN/components/breadcrumb.md b/package/document-component/src/document/zh-CN/components/breadcrumb.md similarity index 100% rename from package/document/src/document/zh-CN/components/breadcrumb.md rename to package/document-component/src/document/zh-CN/components/breadcrumb.md diff --git a/package/document/src/document/zh-CN/components/button.md b/package/document-component/src/document/zh-CN/components/button.md similarity index 100% rename from package/document/src/document/zh-CN/components/button.md rename to package/document-component/src/document/zh-CN/components/button.md diff --git a/package/document/src/document/zh-CN/components/card.md b/package/document-component/src/document/zh-CN/components/card.md similarity index 100% rename from package/document/src/document/zh-CN/components/card.md rename to package/document-component/src/document/zh-CN/components/card.md diff --git a/package/document/src/document/zh-CN/components/carousel.md b/package/document-component/src/document/zh-CN/components/carousel.md similarity index 100% rename from package/document/src/document/zh-CN/components/carousel.md rename to package/document-component/src/document/zh-CN/components/carousel.md diff --git a/package/document/src/document/zh-CN/components/cascader.md b/package/document-component/src/document/zh-CN/components/cascader.md similarity index 100% rename from package/document/src/document/zh-CN/components/cascader.md rename to package/document-component/src/document/zh-CN/components/cascader.md diff --git a/package/document/src/document/zh-CN/components/checkbox.md b/package/document-component/src/document/zh-CN/components/checkbox.md similarity index 100% rename from package/document/src/document/zh-CN/components/checkbox.md rename to package/document-component/src/document/zh-CN/components/checkbox.md diff --git a/package/document/src/document/zh-CN/components/collapse.md b/package/document-component/src/document/zh-CN/components/collapse.md similarity index 100% rename from package/document/src/document/zh-CN/components/collapse.md rename to package/document-component/src/document/zh-CN/components/collapse.md diff --git a/package/document/src/document/zh-CN/components/color.md b/package/document-component/src/document/zh-CN/components/color.md similarity index 100% rename from package/document/src/document/zh-CN/components/color.md rename to package/document-component/src/document/zh-CN/components/color.md diff --git a/package/document/src/document/zh-CN/components/colorPicker.md b/package/document-component/src/document/zh-CN/components/colorPicker.md similarity index 100% rename from package/document/src/document/zh-CN/components/colorPicker.md rename to package/document-component/src/document/zh-CN/components/colorPicker.md diff --git a/package/document/src/document/zh-CN/components/confirm.md b/package/document-component/src/document/zh-CN/components/confirm.md similarity index 100% rename from package/document/src/document/zh-CN/components/confirm.md rename to package/document-component/src/document/zh-CN/components/confirm.md diff --git a/package/document/src/document/zh-CN/components/container.md b/package/document-component/src/document/zh-CN/components/container.md similarity index 100% rename from package/document/src/document/zh-CN/components/container.md rename to package/document-component/src/document/zh-CN/components/container.md diff --git a/package/document/src/document/zh-CN/components/countup.md b/package/document-component/src/document/zh-CN/components/countup.md similarity index 100% rename from package/document/src/document/zh-CN/components/countup.md rename to package/document-component/src/document/zh-CN/components/countup.md diff --git a/package/document/src/document/zh-CN/components/datePicker.md b/package/document-component/src/document/zh-CN/components/datePicker.md similarity index 100% rename from package/document/src/document/zh-CN/components/datePicker.md rename to package/document-component/src/document/zh-CN/components/datePicker.md diff --git a/package/document/src/document/zh-CN/components/drawer.md b/package/document-component/src/document/zh-CN/components/drawer.md similarity index 100% rename from package/document/src/document/zh-CN/components/drawer.md rename to package/document-component/src/document/zh-CN/components/drawer.md diff --git a/package/document/src/document/zh-CN/components/dropdown.md b/package/document-component/src/document/zh-CN/components/dropdown.md similarity index 100% rename from package/document/src/document/zh-CN/components/dropdown.md rename to package/document-component/src/document/zh-CN/components/dropdown.md diff --git a/package/document/src/document/zh-CN/components/empty.md b/package/document-component/src/document/zh-CN/components/empty.md similarity index 100% rename from package/document/src/document/zh-CN/components/empty.md rename to package/document-component/src/document/zh-CN/components/empty.md diff --git a/package/document/src/document/zh-CN/components/exception.md b/package/document-component/src/document/zh-CN/components/exception.md similarity index 100% rename from package/document/src/document/zh-CN/components/exception.md rename to package/document-component/src/document/zh-CN/components/exception.md diff --git a/package/document/src/document/zh-CN/components/field.md b/package/document-component/src/document/zh-CN/components/field.md similarity index 100% rename from package/document/src/document/zh-CN/components/field.md rename to package/document-component/src/document/zh-CN/components/field.md diff --git a/package/document/src/document/zh-CN/components/form.md b/package/document-component/src/document/zh-CN/components/form.md similarity index 100% rename from package/document/src/document/zh-CN/components/form.md rename to package/document-component/src/document/zh-CN/components/form.md diff --git a/package/document/src/document/zh-CN/components/fullscreen.md b/package/document-component/src/document/zh-CN/components/fullscreen.md similarity index 100% rename from package/document/src/document/zh-CN/components/fullscreen.md rename to package/document-component/src/document/zh-CN/components/fullscreen.md diff --git a/package/document/src/document/zh-CN/components/grid.md b/package/document-component/src/document/zh-CN/components/grid.md similarity index 100% rename from package/document/src/document/zh-CN/components/grid.md rename to package/document-component/src/document/zh-CN/components/grid.md diff --git a/package/document/src/document/zh-CN/components/icon.md b/package/document-component/src/document/zh-CN/components/icon.md similarity index 100% rename from package/document/src/document/zh-CN/components/icon.md rename to package/document-component/src/document/zh-CN/components/icon.md diff --git a/package/document/src/document/zh-CN/components/iconPicker.md b/package/document-component/src/document/zh-CN/components/iconPicker.md similarity index 100% rename from package/document/src/document/zh-CN/components/iconPicker.md rename to package/document-component/src/document/zh-CN/components/iconPicker.md diff --git a/package/document/src/document/zh-CN/components/input.md b/package/document-component/src/document/zh-CN/components/input.md similarity index 100% rename from package/document/src/document/zh-CN/components/input.md rename to package/document-component/src/document/zh-CN/components/input.md diff --git a/package/document/src/document/zh-CN/components/inputNumber.md b/package/document-component/src/document/zh-CN/components/inputNumber.md similarity index 100% rename from package/document/src/document/zh-CN/components/inputNumber.md rename to package/document-component/src/document/zh-CN/components/inputNumber.md diff --git a/package/document/src/document/zh-CN/components/layer.md b/package/document-component/src/document/zh-CN/components/layer.md similarity index 100% rename from package/document/src/document/zh-CN/components/layer.md rename to package/document-component/src/document/zh-CN/components/layer.md diff --git a/package/document/src/document/zh-CN/components/layout.md b/package/document-component/src/document/zh-CN/components/layout.md similarity index 100% rename from package/document/src/document/zh-CN/components/layout.md rename to package/document-component/src/document/zh-CN/components/layout.md diff --git a/package/document/src/document/zh-CN/components/line.md b/package/document-component/src/document/zh-CN/components/line.md similarity index 100% rename from package/document/src/document/zh-CN/components/line.md rename to package/document-component/src/document/zh-CN/components/line.md diff --git a/package/document/src/document/zh-CN/components/load.md b/package/document-component/src/document/zh-CN/components/load.md similarity index 100% rename from package/document/src/document/zh-CN/components/load.md rename to package/document-component/src/document/zh-CN/components/load.md diff --git a/package/document/src/document/zh-CN/components/menu.md b/package/document-component/src/document/zh-CN/components/menu.md similarity index 100% rename from package/document/src/document/zh-CN/components/menu.md rename to package/document-component/src/document/zh-CN/components/menu.md diff --git a/package/document/src/document/zh-CN/components/modal.md b/package/document-component/src/document/zh-CN/components/modal.md similarity index 100% rename from package/document/src/document/zh-CN/components/modal.md rename to package/document-component/src/document/zh-CN/components/modal.md diff --git a/package/document/src/document/zh-CN/components/msg.md b/package/document-component/src/document/zh-CN/components/msg.md similarity index 100% rename from package/document/src/document/zh-CN/components/msg.md rename to package/document-component/src/document/zh-CN/components/msg.md diff --git a/package/document/src/document/zh-CN/components/noticeBar.md b/package/document-component/src/document/zh-CN/components/noticeBar.md similarity index 100% rename from package/document/src/document/zh-CN/components/noticeBar.md rename to package/document-component/src/document/zh-CN/components/noticeBar.md diff --git a/package/document/src/document/zh-CN/components/page.md b/package/document-component/src/document/zh-CN/components/page.md similarity index 100% rename from package/document/src/document/zh-CN/components/page.md rename to package/document-component/src/document/zh-CN/components/page.md diff --git a/package/document/src/document/zh-CN/components/pageHeader.md b/package/document-component/src/document/zh-CN/components/pageHeader.md similarity index 100% rename from package/document/src/document/zh-CN/components/pageHeader.md rename to package/document-component/src/document/zh-CN/components/pageHeader.md diff --git a/package/document/src/document/zh-CN/components/panel.md b/package/document-component/src/document/zh-CN/components/panel.md similarity index 100% rename from package/document/src/document/zh-CN/components/panel.md rename to package/document-component/src/document/zh-CN/components/panel.md diff --git a/package/document/src/document/zh-CN/components/progress.md b/package/document-component/src/document/zh-CN/components/progress.md similarity index 100% rename from package/document/src/document/zh-CN/components/progress.md rename to package/document-component/src/document/zh-CN/components/progress.md diff --git a/package/document/src/document/zh-CN/components/quote.md b/package/document-component/src/document/zh-CN/components/quote.md similarity index 100% rename from package/document/src/document/zh-CN/components/quote.md rename to package/document-component/src/document/zh-CN/components/quote.md diff --git a/package/document/src/document/zh-CN/components/radio.md b/package/document-component/src/document/zh-CN/components/radio.md similarity index 100% rename from package/document/src/document/zh-CN/components/radio.md rename to package/document-component/src/document/zh-CN/components/radio.md diff --git a/package/document/src/document/zh-CN/components/rate.md b/package/document-component/src/document/zh-CN/components/rate.md similarity index 100% rename from package/document/src/document/zh-CN/components/rate.md rename to package/document-component/src/document/zh-CN/components/rate.md diff --git a/package/document/src/document/zh-CN/components/result.md b/package/document-component/src/document/zh-CN/components/result.md similarity index 100% rename from package/document/src/document/zh-CN/components/result.md rename to package/document-component/src/document/zh-CN/components/result.md diff --git a/package/document/src/document/zh-CN/components/ripple.md b/package/document-component/src/document/zh-CN/components/ripple.md similarity index 100% rename from package/document/src/document/zh-CN/components/ripple.md rename to package/document-component/src/document/zh-CN/components/ripple.md diff --git a/package/document/src/document/zh-CN/components/scroll.md b/package/document-component/src/document/zh-CN/components/scroll.md similarity index 100% rename from package/document/src/document/zh-CN/components/scroll.md rename to package/document-component/src/document/zh-CN/components/scroll.md diff --git a/package/document/src/document/zh-CN/components/select.md b/package/document-component/src/document/zh-CN/components/select.md similarity index 100% rename from package/document/src/document/zh-CN/components/select.md rename to package/document-component/src/document/zh-CN/components/select.md diff --git a/package/document/src/document/zh-CN/components/skeleton.md b/package/document-component/src/document/zh-CN/components/skeleton.md similarity index 100% rename from package/document/src/document/zh-CN/components/skeleton.md rename to package/document-component/src/document/zh-CN/components/skeleton.md diff --git a/package/document/src/document/zh-CN/components/slider.md b/package/document-component/src/document/zh-CN/components/slider.md similarity index 100% rename from package/document/src/document/zh-CN/components/slider.md rename to package/document-component/src/document/zh-CN/components/slider.md diff --git a/package/document/src/document/zh-CN/components/splitPanel.md b/package/document-component/src/document/zh-CN/components/splitPanel.md similarity index 100% rename from package/document/src/document/zh-CN/components/splitPanel.md rename to package/document-component/src/document/zh-CN/components/splitPanel.md diff --git a/package/document/src/document/zh-CN/components/step.md b/package/document-component/src/document/zh-CN/components/step.md similarity index 100% rename from package/document/src/document/zh-CN/components/step.md rename to package/document-component/src/document/zh-CN/components/step.md diff --git a/package/document/src/document/zh-CN/components/switch.md b/package/document-component/src/document/zh-CN/components/switch.md similarity index 100% rename from package/document/src/document/zh-CN/components/switch.md rename to package/document-component/src/document/zh-CN/components/switch.md diff --git a/package/document/src/document/zh-CN/components/tab.md b/package/document-component/src/document/zh-CN/components/tab.md similarity index 100% rename from package/document/src/document/zh-CN/components/tab.md rename to package/document-component/src/document/zh-CN/components/tab.md diff --git a/package/document/src/document/zh-CN/components/table.md b/package/document-component/src/document/zh-CN/components/table.md similarity index 100% rename from package/document/src/document/zh-CN/components/table.md rename to package/document-component/src/document/zh-CN/components/table.md diff --git a/package/document/src/document/zh-CN/components/textarea.md b/package/document-component/src/document/zh-CN/components/textarea.md similarity index 100% rename from package/document/src/document/zh-CN/components/textarea.md rename to package/document-component/src/document/zh-CN/components/textarea.md diff --git a/package/document/src/document/zh-CN/components/timeline.md b/package/document-component/src/document/zh-CN/components/timeline.md similarity index 100% rename from package/document/src/document/zh-CN/components/timeline.md rename to package/document-component/src/document/zh-CN/components/timeline.md diff --git a/package/document/src/document/zh-CN/components/tooltip.md b/package/document-component/src/document/zh-CN/components/tooltip.md similarity index 100% rename from package/document/src/document/zh-CN/components/tooltip.md rename to package/document-component/src/document/zh-CN/components/tooltip.md diff --git a/package/document/src/document/zh-CN/components/transfer.md b/package/document-component/src/document/zh-CN/components/transfer.md similarity index 100% rename from package/document/src/document/zh-CN/components/transfer.md rename to package/document-component/src/document/zh-CN/components/transfer.md diff --git a/package/document/src/document/zh-CN/components/transition.md b/package/document-component/src/document/zh-CN/components/transition.md similarity index 100% rename from package/document/src/document/zh-CN/components/transition.md rename to package/document-component/src/document/zh-CN/components/transition.md diff --git a/package/document/src/document/zh-CN/components/tree.md b/package/document-component/src/document/zh-CN/components/tree.md similarity index 100% rename from package/document/src/document/zh-CN/components/tree.md rename to package/document-component/src/document/zh-CN/components/tree.md diff --git a/package/document/src/document/zh-CN/components/upload.md b/package/document-component/src/document/zh-CN/components/upload.md similarity index 100% rename from package/document/src/document/zh-CN/components/upload.md rename to package/document-component/src/document/zh-CN/components/upload.md diff --git a/package/document/src/document/zh-CN/guide/changelog.md b/package/document-component/src/document/zh-CN/guide/changelog.md similarity index 100% rename from package/document/src/document/zh-CN/guide/changelog.md rename to package/document-component/src/document/zh-CN/guide/changelog.md diff --git a/package/document/src/document/zh-CN/guide/dark.md b/package/document-component/src/document/zh-CN/guide/dark.md similarity index 100% rename from package/document/src/document/zh-CN/guide/dark.md rename to package/document-component/src/document/zh-CN/guide/dark.md diff --git a/package/document/src/document/zh-CN/guide/getStarted.md b/package/document-component/src/document/zh-CN/guide/getStarted.md similarity index 100% rename from package/document/src/document/zh-CN/guide/getStarted.md rename to package/document-component/src/document/zh-CN/guide/getStarted.md diff --git a/package/document/src/document/zh-CN/guide/introduce.md b/package/document-component/src/document/zh-CN/guide/introduce.md similarity index 100% rename from package/document/src/document/zh-CN/guide/introduce.md rename to package/document-component/src/document/zh-CN/guide/introduce.md diff --git a/package/document/src/document/zh-CN/guide/locale.md b/package/document-component/src/document/zh-CN/guide/locale.md similarity index 100% rename from package/document/src/document/zh-CN/guide/locale.md rename to package/document-component/src/document/zh-CN/guide/locale.md diff --git a/package/document/src/document/zh-CN/guide/member.md b/package/document-component/src/document/zh-CN/guide/member.md similarity index 100% rename from package/document/src/document/zh-CN/guide/member.md rename to package/document-component/src/document/zh-CN/guide/member.md diff --git a/package/document/src/document/zh-CN/guide/plugin.md b/package/document-component/src/document/zh-CN/guide/plugin.md similarity index 100% rename from package/document/src/document/zh-CN/guide/plugin.md rename to package/document-component/src/document/zh-CN/guide/plugin.md diff --git a/package/document/src/document/zh-CN/guide/problem.md b/package/document-component/src/document/zh-CN/guide/problem.md similarity index 100% rename from package/document/src/document/zh-CN/guide/problem.md rename to package/document-component/src/document/zh-CN/guide/problem.md diff --git a/package/document/src/document/zh-CN/guide/theme.md b/package/document-component/src/document/zh-CN/guide/theme.md similarity index 100% rename from package/document/src/document/zh-CN/guide/theme.md rename to package/document-component/src/document/zh-CN/guide/theme.md diff --git a/package/document/src/entry-client.ts b/package/document-component/src/entry-client.ts similarity index 100% rename from package/document/src/entry-client.ts rename to package/document-component/src/entry-client.ts diff --git a/package/document/src/entry-server.ts b/package/document-component/src/entry-server.ts similarity index 100% rename from package/document/src/entry-server.ts rename to package/document-component/src/entry-server.ts diff --git a/package/document/src/language/en_US.ts b/package/document-component/src/language/en_US.ts similarity index 100% rename from package/document/src/language/en_US.ts rename to package/document-component/src/language/en_US.ts diff --git a/package/document/src/language/zh_CN.ts b/package/document-component/src/language/zh_CN.ts similarity index 100% rename from package/document/src/language/zh_CN.ts rename to package/document-component/src/language/zh_CN.ts diff --git a/package/document/src/layouts/Layout.vue b/package/document-component/src/layouts/Layout.vue similarity index 100% rename from package/document/src/layouts/Layout.vue rename to package/document-component/src/layouts/Layout.vue diff --git a/package/document/src/main.ts b/package/document-component/src/main.ts similarity index 100% rename from package/document/src/main.ts rename to package/document-component/src/main.ts diff --git a/package/document/src/plugin/all-plugins.ts b/package/document-component/src/plugin/all-plugins.ts similarity index 100% rename from package/document/src/plugin/all-plugins.ts rename to package/document-component/src/plugin/all-plugins.ts diff --git a/package/document/src/plugin/create-anchor.ts b/package/document-component/src/plugin/create-anchor.ts similarity index 100% rename from package/document/src/plugin/create-anchor.ts rename to package/document-component/src/plugin/create-anchor.ts diff --git a/package/document/src/plugin/create-contributor.ts b/package/document-component/src/plugin/create-contributor.ts similarity index 100% rename from package/document/src/plugin/create-contributor.ts rename to package/document-component/src/plugin/create-contributor.ts diff --git a/package/document/src/plugin/create-demo.ts b/package/document-component/src/plugin/create-demo.ts similarity index 100% rename from package/document/src/plugin/create-demo.ts rename to package/document-component/src/plugin/create-demo.ts diff --git a/package/document/src/plugin/create-describe.ts b/package/document-component/src/plugin/create-describe.ts similarity index 100% rename from package/document/src/plugin/create-describe.ts rename to package/document-component/src/plugin/create-describe.ts diff --git a/package/document/src/plugin/create-previous-next.ts b/package/document-component/src/plugin/create-previous-next.ts similarity index 100% rename from package/document/src/plugin/create-previous-next.ts rename to package/document-component/src/plugin/create-previous-next.ts diff --git a/package/document/src/plugin/create-quote.ts b/package/document-component/src/plugin/create-quote.ts similarity index 100% rename from package/document/src/plugin/create-quote.ts rename to package/document-component/src/plugin/create-quote.ts diff --git a/package/document/src/plugin/create-table.ts b/package/document-component/src/plugin/create-table.ts similarity index 100% rename from package/document/src/plugin/create-table.ts rename to package/document-component/src/plugin/create-table.ts diff --git a/package/document/src/plugin/create-title.ts b/package/document-component/src/plugin/create-title.ts similarity index 100% rename from package/document/src/plugin/create-title.ts rename to package/document-component/src/plugin/create-title.ts diff --git a/package/document/src/plugin/highlight.ts b/package/document-component/src/plugin/highlight.ts similarity index 100% rename from package/document/src/plugin/highlight.ts rename to package/document-component/src/plugin/highlight.ts diff --git a/package/document/src/plugin/pre-wrapper.ts b/package/document-component/src/plugin/pre-wrapper.ts similarity index 100% rename from package/document/src/plugin/pre-wrapper.ts rename to package/document-component/src/plugin/pre-wrapper.ts diff --git a/package/document/src/plugin/snippet.ts b/package/document-component/src/plugin/snippet.ts similarity index 100% rename from package/document/src/plugin/snippet.ts rename to package/document-component/src/plugin/snippet.ts diff --git a/package/document/src/router/index.ts b/package/document-component/src/router/index.ts similarity index 100% rename from package/document/src/router/index.ts rename to package/document-component/src/router/index.ts diff --git a/package/document/src/router/zh-CN.ts b/package/document-component/src/router/zh-CN.ts similarity index 100% rename from package/document/src/router/zh-CN.ts rename to package/document-component/src/router/zh-CN.ts diff --git a/package/document/src/store/app.ts b/package/document-component/src/store/app.ts similarity index 100% rename from package/document/src/store/app.ts rename to package/document-component/src/store/app.ts diff --git a/package/document/src/store/index.ts b/package/document-component/src/store/index.ts similarity index 100% rename from package/document/src/store/index.ts rename to package/document-component/src/store/index.ts diff --git a/package/document/src/view/component.vue b/package/document-component/src/view/component.vue similarity index 100% rename from package/document/src/view/component.vue rename to package/document-component/src/view/component.vue diff --git a/package/document/src/view/guide.vue b/package/document-component/src/view/guide.vue similarity index 100% rename from package/document/src/view/guide.vue rename to package/document-component/src/view/guide.vue diff --git a/package/document/src/view/index.vue b/package/document-component/src/view/index.vue similarity index 100% rename from package/document/src/view/index.vue rename to package/document-component/src/view/index.vue diff --git a/package/document/src/view/resource.vue b/package/document-component/src/view/resource.vue similarity index 100% rename from package/document/src/view/resource.vue rename to package/document-component/src/view/resource.vue diff --git a/package/document/src/view/utils/menus.ts b/package/document-component/src/view/utils/menus.ts similarity index 100% rename from package/document/src/view/utils/menus.ts rename to package/document-component/src/view/utils/menus.ts diff --git a/package/document/tsconfig.json b/package/document-component/tsconfig.json similarity index 100% rename from package/document/tsconfig.json rename to package/document-component/tsconfig.json diff --git a/package/document/vite.config.ts b/package/document-component/vite.config.ts similarity index 100% rename from package/document/vite.config.ts rename to package/document-component/vite.config.ts diff --git a/package/layer-document/App.vue b/package/document-layer/App.vue similarity index 100% rename from package/layer-document/App.vue rename to package/document-layer/App.vue diff --git a/package/document-layer/dist/assets/icon-ext.e2e7a838.png b/package/document-layer/dist/assets/icon-ext.e2e7a838.png new file mode 100644 index 00000000..bbbb669b Binary files /dev/null and b/package/document-layer/dist/assets/icon-ext.e2e7a838.png differ diff --git a/package/document-layer/dist/assets/icon.99942159.png b/package/document-layer/dist/assets/icon.99942159.png new file mode 100644 index 00000000..3e17da8b Binary files /dev/null and b/package/document-layer/dist/assets/icon.99942159.png differ diff --git a/package/document-layer/dist/assets/index.1157d8c1.js b/package/document-layer/dist/assets/index.1157d8c1.js new file mode 100644 index 00000000..a77eb6c3 --- /dev/null +++ b/package/document-layer/dist/assets/index.1157d8c1.js @@ -0,0 +1,5 @@ +const ni=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerpolicy&&(o.referrerPolicy=r.referrerpolicy),r.crossorigin==="use-credentials"?o.credentials="include":r.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}};ni();function ds(e,t){const n=Object.create(null),s=e.split(",");for(let r=0;r!!n[r.toLowerCase()]:r=>!!n[r]}const si="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",ri=ds(si);function Br(e){return!!e||e===""}function hs(e){if(H(e)){const t={};for(let n=0;n{if(n){const s=n.split(ii);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Cn(e){let t="";if(de(e))t=e;else if(H(e))for(let n=0;nde(e)?e:e==null?"":H(e)||ue(e)&&(e.toString===Dr||!j(e.toString))?JSON.stringify(e,Hr,2):String(e),Hr=(e,t)=>t&&t.__v_isRef?Hr(e,t.value):xt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r])=>(n[`${s} =>`]=r,n),{})}:kr(t)?{[`Set(${t.size})`]:[...t.values()]}:ue(t)&&!H(t)&&!Ur(t)?String(t):t,ee={},wt=[],Le=()=>{},ci=()=>!1,ui=/^on[^a-z]/,An=e=>ui.test(e),ps=e=>e.startsWith("onUpdate:"),he=Object.assign,gs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},fi=Object.prototype.hasOwnProperty,V=(e,t)=>fi.call(e,t),H=Array.isArray,xt=e=>wn(e)==="[object Map]",kr=e=>wn(e)==="[object Set]",j=e=>typeof e=="function",de=e=>typeof e=="string",ms=e=>typeof e=="symbol",ue=e=>e!==null&&typeof e=="object",jr=e=>ue(e)&&j(e.then)&&j(e.catch),Dr=Object.prototype.toString,wn=e=>Dr.call(e),ai=e=>wn(e).slice(8,-1),Ur=e=>wn(e)==="[object Object]",_s=e=>de(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,un=ds(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),xn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},di=/-(\w)/g,Ue=xn(e=>e.replace(di,(t,n)=>n?n.toUpperCase():"")),hi=/\B([A-Z])/g,It=xn(e=>e.replace(hi,"-$1").toLowerCase()),Rn=xn(e=>e.charAt(0).toUpperCase()+e.slice(1)),kn=xn(e=>e?`on${Rn(e)}`:""),Qt=(e,t)=>!Object.is(e,t),fn=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},gn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let js;const pi=()=>js||(js=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let ke;class gi{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&ke&&(this.parent=ke,this.index=(ke.scopes||(ke.scopes=[])).push(this)-1)}run(t){if(this.active){const n=ke;try{return ke=this,t()}finally{ke=n}}}on(){ke=this}off(){ke=this.parent}stop(t){if(this.active){let n,s;for(n=0,s=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},Kr=e=>(e.w&rt)>0,$r=e=>(e.n&rt)>0,_i=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let s=0;s{(f==="length"||f>=s)&&c.push(l)});else switch(n!==void 0&&c.push(i.get(n)),t){case"add":H(e)?_s(n)&&c.push(i.get("length")):(c.push(i.get(gt)),xt(e)&&c.push(i.get(Yn)));break;case"delete":H(e)||(c.push(i.get(gt)),xt(e)&&c.push(i.get(Yn)));break;case"set":xt(e)&&c.push(i.get(gt));break}if(c.length===1)c[0]&&Gn(c[0]);else{const l=[];for(const f of c)f&&l.push(...f);Gn(ys(l))}}function Gn(e,t){const n=H(e)?e:[...e];for(const s of n)s.computed&&Us(s);for(const s of n)s.computed||Us(s)}function Us(e,t){(e!==Me||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const vi=ds("__proto__,__v_isRef,__isVue"),Wr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ms)),bi=bs(),Ei=bs(!1,!0),Ci=bs(!0),Ks=Ai();function Ai(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const s=q(this);for(let o=0,i=this.length;o{e[t]=function(...n){St();const s=q(this)[t].apply(this,n);return Mt(),s}}),e}function bs(e=!1,t=!1){return function(s,r,o){if(r==="__v_isReactive")return!e;if(r==="__v_isReadonly")return e;if(r==="__v_isShallow")return t;if(r==="__v_raw"&&o===(e?t?ji:Xr:t?Gr:Yr).get(s))return s;const i=H(s);if(!e&&i&&V(Ks,r))return Reflect.get(Ks,r,o);const c=Reflect.get(s,r,o);return(ms(r)?Wr.has(r):vi(r))||(e||xe(s,"get",r),t)?c:me(c)?i&&_s(r)?c:c.value:ue(c)?e?Zr(c):nn(c):c}}const wi=qr(),xi=qr(!0);function qr(e=!1){return function(n,s,r,o){let i=n[s];if(Yt(i)&&me(i)&&!me(r))return!1;if(!e&&!Yt(r)&&(Xn(r)||(r=q(r),i=q(i)),!H(n)&&me(i)&&!me(r)))return i.value=r,!0;const c=H(n)&&_s(s)?Number(s)e,Pn=e=>Reflect.getPrototypeOf(e);function sn(e,t,n=!1,s=!1){e=e.__v_raw;const r=q(e),o=q(t);n||(t!==o&&xe(r,"get",t),xe(r,"get",o));const{has:i}=Pn(r),c=s?Es:n?ws:Gt;if(i.call(r,t))return c(e.get(t));if(i.call(r,o))return c(e.get(o));e!==r&&e.get(t)}function rn(e,t=!1){const n=this.__v_raw,s=q(n),r=q(e);return t||(e!==r&&xe(s,"has",e),xe(s,"has",r)),e===r?n.has(e):n.has(e)||n.has(r)}function on(e,t=!1){return e=e.__v_raw,!t&&xe(q(e),"iterate",gt),Reflect.get(e,"size",e)}function $s(e){e=q(e);const t=q(this);return Pn(t).has.call(t,e)||(t.add(e),Ve(t,"add",e,e)),this}function zs(e,t){t=q(t);const n=q(this),{has:s,get:r}=Pn(n);let o=s.call(n,e);o||(e=q(e),o=s.call(n,e));const i=r.call(n,e);return n.set(e,t),o?Qt(t,i)&&Ve(n,"set",e,t):Ve(n,"add",e,t),this}function Vs(e){const t=q(this),{has:n,get:s}=Pn(t);let r=n.call(t,e);r||(e=q(e),r=n.call(t,e)),s&&s.call(t,e);const o=t.delete(e);return r&&Ve(t,"delete",e,void 0),o}function Ws(){const e=q(this),t=e.size!==0,n=e.clear();return t&&Ve(e,"clear",void 0,void 0),n}function ln(e,t){return function(s,r){const o=this,i=o.__v_raw,c=q(i),l=t?Es:e?ws:Gt;return!e&&xe(c,"iterate",gt),i.forEach((f,a)=>s.call(r,l(f),l(a),o))}}function cn(e,t,n){return function(...s){const r=this.__v_raw,o=q(r),i=xt(o),c=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,f=r[e](...s),a=n?Es:t?ws:Gt;return!t&&xe(o,"iterate",l?Yn:gt),{next(){const{value:p,done:h}=f.next();return h?{value:p,done:h}:{value:c?[a(p[0]),a(p[1])]:a(p),done:h}},[Symbol.iterator](){return this}}}}function qe(e){return function(...t){return e==="delete"?!1:this}}function Si(){const e={get(o){return sn(this,o)},get size(){return on(this)},has:rn,add:$s,set:zs,delete:Vs,clear:Ws,forEach:ln(!1,!1)},t={get(o){return sn(this,o,!1,!0)},get size(){return on(this)},has:rn,add:$s,set:zs,delete:Vs,clear:Ws,forEach:ln(!1,!0)},n={get(o){return sn(this,o,!0)},get size(){return on(this,!0)},has(o){return rn.call(this,o,!0)},add:qe("add"),set:qe("set"),delete:qe("delete"),clear:qe("clear"),forEach:ln(!0,!1)},s={get(o){return sn(this,o,!0,!0)},get size(){return on(this,!0)},has(o){return rn.call(this,o,!0)},add:qe("add"),set:qe("set"),delete:qe("delete"),clear:qe("clear"),forEach:ln(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=cn(o,!1,!1),n[o]=cn(o,!0,!1),t[o]=cn(o,!1,!0),s[o]=cn(o,!0,!0)}),[e,n,t,s]}const[Mi,Ni,Li,Fi]=Si();function Cs(e,t){const n=t?e?Fi:Li:e?Ni:Mi;return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(V(n,r)&&r in s?n:s,r,o)}const Bi={get:Cs(!1,!1)},Hi={get:Cs(!1,!0)},ki={get:Cs(!0,!1)},Yr=new WeakMap,Gr=new WeakMap,Xr=new WeakMap,ji=new WeakMap;function Di(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ui(e){return e.__v_skip||!Object.isExtensible(e)?0:Di(ai(e))}function nn(e){return Yt(e)?e:As(e,!1,Qr,Bi,Yr)}function Ki(e){return As(e,!1,Ii,Hi,Gr)}function Zr(e){return As(e,!0,Oi,ki,Xr)}function As(e,t,n,s,r){if(!ue(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=Ui(e);if(i===0)return e;const c=new Proxy(e,i===2?s:n);return r.set(e,c),c}function Rt(e){return Yt(e)?Rt(e.__v_raw):!!(e&&e.__v_isReactive)}function Yt(e){return!!(e&&e.__v_isReadonly)}function Xn(e){return!!(e&&e.__v_isShallow)}function Jr(e){return Rt(e)||Yt(e)}function q(e){const t=e&&e.__v_raw;return t?q(t):e}function eo(e){return pn(e,"__v_skip",!0),e}const Gt=e=>ue(e)?nn(e):e,ws=e=>ue(e)?Zr(e):e;function to(e){tt&&Me&&(e=q(e),Vr(e.dep||(e.dep=ys())))}function no(e,t){e=q(e),e.dep&&Gn(e.dep)}function me(e){return!!(e&&e.__v_isRef===!0)}function kt(e){return so(e,!1)}function $i(e){return so(e,!0)}function so(e,t){return me(e)?e:new zi(e,t)}class zi{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:q(t),this._value=n?t:Gt(t)}get value(){return to(this),this._value}set value(t){t=this.__v_isShallow?t:q(t),Qt(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Gt(t),no(this))}}function Dt(e){return me(e)?e.value:e}const Vi={get:(e,t,n)=>Dt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return me(r)&&!me(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function ro(e){return Rt(e)?e:new Proxy(e,Vi)}class Wi{constructor(t,n,s,r){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new vs(t,()=>{this._dirty||(this._dirty=!0,no(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=s}get value(){const t=q(this);return to(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function qi(e,t,n=!1){let s,r;const o=j(e);return o?(s=e,r=Le):(s=e.get,r=e.set),new Wi(s,r,o||!r,n)}function nt(e,t,n,s){let r;try{r=s?e(...s):e()}catch(o){Tn(o,t,n)}return r}function Oe(e,t,n,s){if(j(e)){const o=nt(e,t,n,s);return o&&jr(o)&&o.catch(i=>{Tn(i,t,n)}),o}const r=[];for(let o=0;o>>1;Xt(we[s])ze&&we.splice(t,1)}function uo(e,t,n,s){H(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?s+1:s))&&n.push(e),co()}function Xi(e){uo(e,jt,Ut,bt)}function Zi(e){uo(e,Ze,Kt,Et)}function On(e,t=null){if(Ut.length){for(Jn=t,jt=[...new Set(Ut)],Ut.length=0,bt=0;btXt(n)-Xt(s)),Et=0;Ete.id==null?1/0:e.id;function ao(e){Zn=!1,mn=!0,On(e),we.sort((n,s)=>Xt(n)-Xt(s));const t=Le;try{for(ze=0;zev.trim())),p&&(r=n.map(gn))}let c,l=s[c=kn(t)]||s[c=kn(Ue(t))];!l&&o&&(l=s[c=kn(It(t))]),l&&Oe(l,e,6,r);const f=s[c+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Oe(f,e,6,r)}}function ho(e,t,n=!1){const s=t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},c=!1;if(!j(e)){const l=f=>{const a=ho(f,t,!0);a&&(c=!0,he(i,a))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!c?(s.set(e,null),null):(H(o)?o.forEach(l=>i[l]=null):he(i,o),s.set(e,i),i)}function In(e,t){return!e||!An(t)?!1:(t=t.slice(2).replace(/Once$/,""),V(e,t[0].toLowerCase()+t.slice(1))||V(e,It(t))||V(e,t))}let _e=null,po=null;function _n(e){const t=_e;return _e=e,po=e&&e.type.__scopeId||null,t}function el(e,t=_e,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&sr(-1);const o=_n(t),i=e(...r);return _n(o),s._d&&sr(1),i};return s._n=!0,s._c=!0,s._d=!0,s}function jn(e){const{type:t,vnode:n,proxy:s,withProxy:r,props:o,propsOptions:[i],slots:c,attrs:l,emit:f,render:a,renderCache:p,data:h,setupState:v,ctx:E,inheritAttrs:M}=e;let T,P;const B=_n(e);try{if(n.shapeFlag&4){const z=r||s;T=je(a.call(z,z,p,o,v,h,E)),P=l}else{const z=t;T=je(z.length>1?z(o,{attrs:l,slots:c,emit:f}):z(o,null)),P=t.props?l:tl(l)}}catch(z){Vt.length=0,Tn(z,e,1),T=ye(Ie)}let U=T;if(P&&M!==!1){const z=Object.keys(P),{shapeFlag:ie}=U;z.length&&ie&7&&(i&&z.some(ps)&&(P=nl(P,i)),U=it(U,P))}return n.dirs&&(U=it(U),U.dirs=U.dirs?U.dirs.concat(n.dirs):n.dirs),n.transition&&(U.transition=n.transition),T=U,_n(B),T}const tl=e=>{let t;for(const n in e)(n==="class"||n==="style"||An(n))&&((t||(t={}))[n]=e[n]);return t},nl=(e,t)=>{const n={};for(const s in e)(!ps(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function sl(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:c,patchFlag:l}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?qs(s,i,f):!!i;if(l&8){const a=t.dynamicProps;for(let p=0;pe.__isSuspense;function il(e,t){t&&t.pendingBranch?H(e)?t.effects.push(...e):t.effects.push(e):Zi(e)}function an(e,t){if(ae){let n=ae.provides;const s=ae.parent&&ae.parent.provides;s===n&&(n=ae.provides=Object.create(s)),n[e]=t}}function st(e,t,n=!1){const s=ae||_e;if(s){const r=s.parent==null?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides;if(r&&e in r)return r[e];if(arguments.length>1)return n&&j(t)?t.call(s.proxy):t}}const Qs={};function $t(e,t,n){return go(e,t,n)}function go(e,t,{immediate:n,deep:s,flush:r,onTrack:o,onTrigger:i}=ee){const c=ae;let l,f=!1,a=!1;if(me(e)?(l=()=>e.value,f=Xn(e)):Rt(e)?(l=()=>e,s=!0):H(e)?(a=!0,f=e.some(P=>Rt(P)||Xn(P)),l=()=>e.map(P=>{if(me(P))return P.value;if(Rt(P))return pt(P);if(j(P))return nt(P,c,2)})):j(e)?t?l=()=>nt(e,c,2):l=()=>{if(!(c&&c.isUnmounted))return p&&p(),Oe(e,c,3,[h])}:l=Le,t&&s){const P=l;l=()=>pt(P())}let p,h=P=>{p=T.onStop=()=>{nt(P,c,4)}};if(en)return h=Le,t?n&&Oe(t,c,3,[l(),a?[]:void 0,h]):l(),Le;let v=a?[]:Qs;const E=()=>{if(!!T.active)if(t){const P=T.run();(s||f||(a?P.some((B,U)=>Qt(B,v[U])):Qt(P,v)))&&(p&&p(),Oe(t,c,3,[P,v===Qs?void 0:v,h]),v=P)}else T.run()};E.allowRecurse=!!t;let M;r==="sync"?M=E:r==="post"?M=()=>Ee(E,c&&c.suspense):M=()=>Xi(E);const T=new vs(l,M);return t?n?E():v=T.run():r==="post"?Ee(T.run.bind(T),c&&c.suspense):T.run(),()=>{T.stop(),c&&c.scope&&gs(c.scope.effects,T)}}function ll(e,t,n){const s=this.proxy,r=de(e)?e.includes(".")?mo(s,e):()=>s[e]:e.bind(s,s);let o;j(t)?o=t:(o=t.handler,n=t);const i=ae;Pt(this);const c=go(r,o.bind(s),n);return i?Pt(i):mt(),c}function mo(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r{pt(n,t)});else if(Ur(e))for(const n in e)pt(e[n],t);return e}function cl(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ps(()=>{e.isMounted=!0}),Eo(()=>{e.isUnmounting=!0}),e}const Pe=[Function,Array],ul={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Pe,onEnter:Pe,onAfterEnter:Pe,onEnterCancelled:Pe,onBeforeLeave:Pe,onLeave:Pe,onAfterLeave:Pe,onLeaveCancelled:Pe,onBeforeAppear:Pe,onAppear:Pe,onAfterAppear:Pe,onAppearCancelled:Pe},setup(e,{slots:t}){const n=Bo(),s=cl();let r;return()=>{const o=t.default&&vo(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const M of o)if(M.type!==Ie){i=M;break}}const c=q(e),{mode:l}=c;if(s.isLeaving)return Dn(i);const f=Ys(i);if(!f)return Dn(i);const a=es(f,c,s,n);ts(f,a);const p=n.subTree,h=p&&Ys(p);let v=!1;const{getTransitionKey:E}=f.type;if(E){const M=E();r===void 0?r=M:M!==r&&(r=M,v=!0)}if(h&&h.type!==Ie&&(!dt(f,h)||v)){const M=es(h,c,s,n);if(ts(h,M),l==="out-in")return s.isLeaving=!0,M.afterLeave=()=>{s.isLeaving=!1,n.update()},Dn(i);l==="in-out"&&f.type!==Ie&&(M.delayLeave=(T,P,B)=>{const U=yo(s,h);U[String(h.key)]=h,T._leaveCb=()=>{P(),T._leaveCb=void 0,delete a.delayedLeave},a.delayedLeave=B})}return i}}},_o=ul;function yo(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function es(e,t,n,s){const{appear:r,mode:o,persisted:i=!1,onBeforeEnter:c,onEnter:l,onAfterEnter:f,onEnterCancelled:a,onBeforeLeave:p,onLeave:h,onAfterLeave:v,onLeaveCancelled:E,onBeforeAppear:M,onAppear:T,onAfterAppear:P,onAppearCancelled:B}=t,U=String(e.key),z=yo(n,e),ie=(K,Q)=>{K&&Oe(K,s,9,Q)},fe=(K,Q)=>{const te=Q[1];ie(K,Q),H(K)?K.every(ce=>ce.length<=1)&&te():K.length<=1&&te()},ve={mode:o,persisted:i,beforeEnter(K){let Q=c;if(!n.isMounted)if(r)Q=M||c;else return;K._leaveCb&&K._leaveCb(!0);const te=z[U];te&&dt(e,te)&&te.el._leaveCb&&te.el._leaveCb(),ie(Q,[K])},enter(K){let Q=l,te=f,ce=a;if(!n.isMounted)if(r)Q=T||l,te=P||f,ce=B||a;else return;let O=!1;const re=K._enterCb=pe=>{O||(O=!0,pe?ie(ce,[K]):ie(te,[K]),ve.delayedLeave&&ve.delayedLeave(),K._enterCb=void 0)};Q?fe(Q,[K,re]):re()},leave(K,Q){const te=String(e.key);if(K._enterCb&&K._enterCb(!0),n.isUnmounting)return Q();ie(p,[K]);let ce=!1;const O=K._leaveCb=re=>{ce||(ce=!0,Q(),re?ie(E,[K]):ie(v,[K]),K._leaveCb=void 0,z[te]===e&&delete z[te])};z[te]=e,h?fe(h,[K,O]):O()},clone(K){return es(K,t,n,s)}};return ve}function Dn(e){if(Sn(e))return e=it(e),e.children=null,e}function Ys(e){return Sn(e)?e.children?e.children[0]:void 0:e}function ts(e,t){e.shapeFlag&6&&e.component?ts(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 vo(e,t=!1,n){let s=[],r=0;for(let o=0;o1)for(let o=0;o!!e.type.__asyncLoader,Sn=e=>e.type.__isKeepAlive;function fl(e,t){bo(e,"a",t)}function al(e,t){bo(e,"da",t)}function bo(e,t,n=ae){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Mn(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Sn(r.parent.vnode)&&dl(s,t,n,r),r=r.parent}}function dl(e,t,n,s){const r=Mn(t,e,s,!0);Ts(()=>{gs(s[t],r)},n)}function Mn(e,t,n=ae,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;St(),Pt(n);const c=Oe(t,n,e,i);return mt(),Mt(),c});return s?r.unshift(o):r.push(o),o}}const We=e=>(t,n=ae)=>(!en||e==="sp")&&Mn(e,t,n),hl=We("bm"),Ps=We("m"),pl=We("bu"),gl=We("u"),Eo=We("bum"),Ts=We("um"),ml=We("sp"),_l=We("rtg"),yl=We("rtc");function vl(e,t=ae){Mn("ec",e,t)}function bl(e,t){const n=_e;if(n===null)return e;const s=Ln(n)||n.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;ot(i,c,void 0,o&&o[c]));else{const i=Object.keys(e);r=new Array(i.length);for(let c=0,l=i.length;cbn(t)?!(t.type===Ie||t.type===Te&&!wo(t.children)):!0)?e:null}const ns=e=>e?Ho(e)?Ln(e)||e.proxy:ns(e.parent):null,yn=he(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=>ns(e.parent),$root:e=>ns(e.root),$emit:e=>e.emit,$options:e=>Ro(e),$forceUpdate:e=>e.f||(e.f=()=>lo(e.update)),$nextTick:e=>e.n||(e.n=io.bind(e.proxy)),$watch:e=>ll.bind(e)}),Al={get({_:e},t){const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:c,appContext:l}=e;let f;if(t[0]!=="$"){const v=i[t];if(v!==void 0)switch(v){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(s!==ee&&V(s,t))return i[t]=1,s[t];if(r!==ee&&V(r,t))return i[t]=2,r[t];if((f=e.propsOptions[0])&&V(f,t))return i[t]=3,o[t];if(n!==ee&&V(n,t))return i[t]=4,n[t];ss&&(i[t]=0)}}const a=yn[t];let p,h;if(a)return t==="$attrs"&&xe(e,"get",t),a(e);if((p=c.__cssModules)&&(p=p[t]))return p;if(n!==ee&&V(n,t))return i[t]=4,n[t];if(h=l.config.globalProperties,V(h,t))return h[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return r!==ee&&V(r,t)?(r[t]=n,!0):s!==ee&&V(s,t)?(s[t]=n,!0):V(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,propsOptions:o}},i){let c;return!!n[i]||e!==ee&&V(e,i)||t!==ee&&V(t,i)||(c=o[0])&&V(c,i)||V(s,i)||V(yn,i)||V(r.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:V(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};let ss=!0;function wl(e){const t=Ro(e),n=e.proxy,s=e.ctx;ss=!1,t.beforeCreate&&Xs(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:c,provide:l,inject:f,created:a,beforeMount:p,mounted:h,beforeUpdate:v,updated:E,activated:M,deactivated:T,beforeDestroy:P,beforeUnmount:B,destroyed:U,unmounted:z,render:ie,renderTracked:fe,renderTriggered:ve,errorCaptured:K,serverPrefetch:Q,expose:te,inheritAttrs:ce,components:O,directives:re,filters:pe}=t;if(f&&xl(f,s,null,e.appContext.config.unwrapInjectedRef),i)for(const ne in i){const Y=i[ne];j(Y)&&(s[ne]=Y.bind(n))}if(r){const ne=r.call(n,n);ue(ne)&&(e.data=nn(ne))}if(ss=!0,o)for(const ne in o){const Y=o[ne],Ce=j(Y)?Y.bind(n,n):j(Y.get)?Y.get.bind(n,n):Le,_t=!j(Y)&&j(Y.set)?Y.set.bind(n):Le,$e=De({get:Ce,set:_t});Object.defineProperty(s,ne,{enumerable:!0,configurable:!0,get:()=>$e.value,set:Fe=>$e.value=Fe})}if(c)for(const ne in c)xo(c[ne],s,n,ne);if(l){const ne=j(l)?l.call(n):l;Reflect.ownKeys(ne).forEach(Y=>{an(Y,ne[Y])})}a&&Xs(a,e,"c");function le(ne,Y){H(Y)?Y.forEach(Ce=>ne(Ce.bind(n))):Y&&ne(Y.bind(n))}if(le(hl,p),le(Ps,h),le(pl,v),le(gl,E),le(fl,M),le(al,T),le(vl,K),le(yl,fe),le(_l,ve),le(Eo,B),le(Ts,z),le(ml,Q),H(te))if(te.length){const ne=e.exposed||(e.exposed={});te.forEach(Y=>{Object.defineProperty(ne,Y,{get:()=>n[Y],set:Ce=>n[Y]=Ce})})}else e.exposed||(e.exposed={});ie&&e.render===Le&&(e.render=ie),ce!=null&&(e.inheritAttrs=ce),O&&(e.components=O),re&&(e.directives=re)}function xl(e,t,n=Le,s=!1){H(e)&&(e=rs(e));for(const r in e){const o=e[r];let i;ue(o)?"default"in o?i=st(o.from||r,o.default,!0):i=st(o.from||r):i=st(o),me(i)&&s?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:c=>i.value=c}):t[r]=i}}function Xs(e,t,n){Oe(H(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function xo(e,t,n,s){const r=s.includes(".")?mo(n,s):()=>n[s];if(de(e)){const o=t[e];j(o)&&$t(r,o)}else if(j(e))$t(r,e.bind(n));else if(ue(e))if(H(e))e.forEach(o=>xo(o,t,n,s));else{const o=j(e.handler)?e.handler.bind(n):t[e.handler];j(o)&&$t(r,o,e)}}function Ro(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,c=o.get(t);let l;return c?l=c:!r.length&&!n&&!s?l=t:(l={},r.length&&r.forEach(f=>vn(l,f,i,!0)),vn(l,t,i)),o.set(t,l),l}function vn(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&vn(e,o,n,!0),r&&r.forEach(i=>vn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const c=Rl[i]||n&&n[i];e[i]=c?c(e[i],t[i]):t[i]}return e}const Rl={data:Zs,props:at,emits:at,methods:at,computed:at,beforeCreate:be,created:be,beforeMount:be,mounted:be,beforeUpdate:be,updated:be,beforeDestroy:be,beforeUnmount:be,destroyed:be,unmounted:be,activated:be,deactivated:be,errorCaptured:be,serverPrefetch:be,components:at,directives:at,watch:Tl,provide:Zs,inject:Pl};function Zs(e,t){return t?e?function(){return he(j(e)?e.call(this,this):e,j(t)?t.call(this,this):t)}:t:e}function Pl(e,t){return at(rs(e),rs(t))}function rs(e){if(H(e)){const t={};for(let n=0;n0)&&!(i&16)){if(i&8){const a=e.vnode.dynamicProps;for(let p=0;p{l=!0;const[h,v]=To(p,t,!0);he(i,h),v&&c.push(...v)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!o&&!l)return s.set(e,wt),wt;if(H(o))for(let a=0;a-1,v[1]=M<0||E-1||V(v,"default"))&&c.push(p)}}}const f=[i,c];return s.set(e,f),f}function Js(e){return e[0]!=="$"}function er(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function tr(e,t){return er(e)===er(t)}function nr(e,t){return H(t)?t.findIndex(n=>tr(n,e)):j(t)&&tr(t,e)?0:-1}const Oo=e=>e[0]==="_"||e==="$stable",Os=e=>H(e)?e.map(je):[je(e)],Sl=(e,t,n)=>{if(t._n)return t;const s=el((...r)=>Os(t(...r)),n);return s._c=!1,s},Io=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Oo(r))continue;const o=e[r];if(j(o))t[r]=Sl(r,o,s);else if(o!=null){const i=Os(o);t[r]=()=>i}}},So=(e,t)=>{const n=Os(t);e.slots.default=()=>n},Ml=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=q(t),pn(t,"_",n)):Io(t,e.slots={})}else e.slots={},t&&So(e,t);pn(e.slots,Nn,1)},Nl=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ee;if(s.shapeFlag&32){const c=t._;c?n&&c===1?o=!1:(he(r,t),!n&&c===1&&delete r._):(o=!t.$stable,Io(t,r)),i=t}else t&&(So(e,t),i={default:1});if(o)for(const c in r)!Oo(c)&&!(c in i)&&delete r[c]};function Mo(){return{app:null,config:{isNativeTag:ci,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 Ll=0;function Fl(e,t){return function(s,r=null){j(s)||(s=Object.assign({},s)),r!=null&&!ue(r)&&(r=null);const o=Mo(),i=new Set;let c=!1;const l=o.app={_uid:Ll++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:nc,get config(){return o.config},set config(f){},use(f,...a){return i.has(f)||(f&&j(f.install)?(i.add(f),f.install(l,...a)):j(f)&&(i.add(f),f(l,...a))),l},mixin(f){return o.mixins.includes(f)||o.mixins.push(f),l},component(f,a){return a?(o.components[f]=a,l):o.components[f]},directive(f,a){return a?(o.directives[f]=a,l):o.directives[f]},mount(f,a,p){if(!c){const h=ye(s,r);return h.appContext=o,a&&t?t(h,f):e(h,f,p),c=!0,l._container=f,f.__vue_app__=l,Ln(h.component)||h.component.proxy}},unmount(){c&&(e(null,l._container),delete l._container.__vue_app__)},provide(f,a){return o.provides[f]=a,l}};return l}}function is(e,t,n,s,r=!1){if(H(e)){e.forEach((h,v)=>is(h,t&&(H(t)?t[v]:t),n,s,r));return}if(zt(s)&&!r)return;const o=s.shapeFlag&4?Ln(s.component)||s.component.proxy:s.el,i=r?null:o,{i:c,r:l}=e,f=t&&t.r,a=c.refs===ee?c.refs={}:c.refs,p=c.setupState;if(f!=null&&f!==l&&(de(f)?(a[f]=null,V(p,f)&&(p[f]=null)):me(f)&&(f.value=null)),j(l))nt(l,c,12,[i,a]);else{const h=de(l),v=me(l);if(h||v){const E=()=>{if(e.f){const M=h?a[l]:l.value;r?H(M)&&gs(M,o):H(M)?M.includes(o)||M.push(o):h?(a[l]=[o],V(p,l)&&(p[l]=a[l])):(l.value=[o],e.k&&(a[e.k]=l.value))}else h?(a[l]=i,V(p,l)&&(p[l]=i)):v&&(l.value=i,e.k&&(a[e.k]=i))};i?(E.id=-1,Ee(E,n)):E()}}}const Ee=il;function Bl(e){return Hl(e)}function Hl(e,t){const n=pi();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:c,createComment:l,setText:f,setElementText:a,parentNode:p,nextSibling:h,setScopeId:v=Le,cloneNode:E,insertStaticContent:M}=e,T=(u,d,g,y=null,_=null,A=null,R=!1,C=null,w=!!d.dynamicChildren)=>{if(u===d)return;u&&!dt(u,d)&&(y=N(u),Re(u,_,A,!0),u=null),d.patchFlag===-2&&(w=!1,d.dynamicChildren=null);const{type:b,ref:L,shapeFlag:I}=d;switch(b){case Is:P(u,d,g,y);break;case Ie:B(u,d,g,y);break;case dn:u==null&&U(d,g,y,R);break;case Te:re(u,d,g,y,_,A,R,C,w);break;default:I&1?fe(u,d,g,y,_,A,R,C,w):I&6?pe(u,d,g,y,_,A,R,C,w):(I&64||I&128)&&b.process(u,d,g,y,_,A,R,C,w,se)}L!=null&&_&&is(L,u&&u.ref,A,d||u,!d)},P=(u,d,g,y)=>{if(u==null)s(d.el=c(d.children),g,y);else{const _=d.el=u.el;d.children!==u.children&&f(_,d.children)}},B=(u,d,g,y)=>{u==null?s(d.el=l(d.children||""),g,y):d.el=u.el},U=(u,d,g,y)=>{[u.el,u.anchor]=M(u.children,d,g,y,u.el,u.anchor)},z=({el:u,anchor:d},g,y)=>{let _;for(;u&&u!==d;)_=h(u),s(u,g,y),u=_;s(d,g,y)},ie=({el:u,anchor:d})=>{let g;for(;u&&u!==d;)g=h(u),r(u),u=g;r(d)},fe=(u,d,g,y,_,A,R,C,w)=>{R=R||d.type==="svg",u==null?ve(d,g,y,_,A,R,C,w):te(u,d,_,A,R,C,w)},ve=(u,d,g,y,_,A,R,C)=>{let w,b;const{type:L,props:I,shapeFlag:F,transition:k,patchFlag:W,dirs:X}=u;if(u.el&&E!==void 0&&W===-1)w=u.el=E(u.el);else{if(w=u.el=i(u.type,A,I&&I.is,I),F&8?a(w,u.children):F&16&&Q(u.children,w,null,y,_,A&&L!=="foreignObject",R,C),X&<(u,null,y,"created"),I){for(const oe in I)oe!=="value"&&!un(oe)&&o(w,oe,null,I[oe],A,u.children,y,_,x);"value"in I&&o(w,"value",null,I.value),(b=I.onVnodeBeforeMount)&&He(b,y,u)}K(w,u,u.scopeId,R,y)}X&<(u,null,y,"beforeMount");const Z=(!_||_&&!_.pendingBranch)&&k&&!k.persisted;Z&&k.beforeEnter(w),s(w,d,g),((b=I&&I.onVnodeMounted)||Z||X)&&Ee(()=>{b&&He(b,y,u),Z&&k.enter(w),X&<(u,null,y,"mounted")},_)},K=(u,d,g,y,_)=>{if(g&&v(u,g),y)for(let A=0;A{for(let b=w;b{const C=d.el=u.el;let{patchFlag:w,dynamicChildren:b,dirs:L}=d;w|=u.patchFlag&16;const I=u.props||ee,F=d.props||ee;let k;g&&ct(g,!1),(k=F.onVnodeBeforeUpdate)&&He(k,g,d,u),L&<(d,u,g,"beforeUpdate"),g&&ct(g,!0);const W=_&&d.type!=="foreignObject";if(b?ce(u.dynamicChildren,b,C,g,y,W,A):R||Ce(u,d,C,null,g,y,W,A,!1),w>0){if(w&16)O(C,d,I,F,g,y,_);else if(w&2&&I.class!==F.class&&o(C,"class",null,F.class,_),w&4&&o(C,"style",I.style,F.style,_),w&8){const X=d.dynamicProps;for(let Z=0;Z{k&&He(k,g,d,u),L&<(d,u,g,"updated")},y)},ce=(u,d,g,y,_,A,R)=>{for(let C=0;C{if(g!==y){for(const C in y){if(un(C))continue;const w=y[C],b=g[C];w!==b&&C!=="value"&&o(u,C,b,w,R,d.children,_,A,x)}if(g!==ee)for(const C in g)!un(C)&&!(C in y)&&o(u,C,g[C],null,R,d.children,_,A,x);"value"in y&&o(u,"value",g.value,y.value)}},re=(u,d,g,y,_,A,R,C,w)=>{const b=d.el=u?u.el:c(""),L=d.anchor=u?u.anchor:c("");let{patchFlag:I,dynamicChildren:F,slotScopeIds:k}=d;k&&(C=C?C.concat(k):k),u==null?(s(b,g,y),s(L,g,y),Q(d.children,g,L,_,A,R,C,w)):I>0&&I&64&&F&&u.dynamicChildren?(ce(u.dynamicChildren,F,g,_,A,R,C),(d.key!=null||_&&d===_.subTree)&&No(u,d,!0)):Ce(u,d,g,L,_,A,R,C,w)},pe=(u,d,g,y,_,A,R,C,w)=>{d.slotScopeIds=C,u==null?d.shapeFlag&512?_.ctx.activate(d,g,y,R,w):Ke(d,g,y,_,A,R,w):le(u,d,w)},Ke=(u,d,g,y,_,A,R)=>{const C=u.component=Yl(u,y,_);if(Sn(u)&&(C.ctx.renderer=se),Gl(C),C.asyncDep){if(_&&_.registerDep(C,ne),!u.el){const w=C.subTree=ye(Ie);B(null,w,d,g)}return}ne(C,u,d,g,_,A,R)},le=(u,d,g)=>{const y=d.component=u.component;if(sl(u,d,g))if(y.asyncDep&&!y.asyncResolved){Y(y,d,g);return}else y.next=d,Gi(y.update),y.update();else d.el=u.el,y.vnode=d},ne=(u,d,g,y,_,A,R)=>{const C=()=>{if(u.isMounted){let{next:L,bu:I,u:F,parent:k,vnode:W}=u,X=L,Z;ct(u,!1),L?(L.el=W.el,Y(u,L,R)):L=W,I&&fn(I),(Z=L.props&&L.props.onVnodeBeforeUpdate)&&He(Z,k,L,W),ct(u,!0);const oe=jn(u),Se=u.subTree;u.subTree=oe,T(Se,oe,p(Se.el),N(Se),u,_,A),L.el=oe.el,X===null&&rl(u,oe.el),F&&Ee(F,_),(Z=L.props&&L.props.onVnodeUpdated)&&Ee(()=>He(Z,k,L,W),_)}else{let L;const{el:I,props:F}=d,{bm:k,m:W,parent:X}=u,Z=zt(d);if(ct(u,!1),k&&fn(k),!Z&&(L=F&&F.onVnodeBeforeMount)&&He(L,X,d),ct(u,!0),I&&D){const oe=()=>{u.subTree=jn(u),D(I,u.subTree,u,_,null)};Z?d.type.__asyncLoader().then(()=>!u.isUnmounted&&oe()):oe()}else{const oe=u.subTree=jn(u);T(null,oe,g,y,u,_,A),d.el=oe.el}if(W&&Ee(W,_),!Z&&(L=F&&F.onVnodeMounted)){const oe=d;Ee(()=>He(L,X,oe),_)}(d.shapeFlag&256||X&&zt(X.vnode)&&X.vnode.shapeFlag&256)&&u.a&&Ee(u.a,_),u.isMounted=!0,d=g=y=null}},w=u.effect=new vs(C,()=>lo(b),u.scope),b=u.update=()=>w.run();b.id=u.uid,ct(u,!0),b()},Y=(u,d,g)=>{d.component=u;const y=u.vnode.props;u.vnode=d,u.next=null,Il(u,d.props,y,g),Nl(u,d.children,g),St(),On(void 0,u.update),Mt()},Ce=(u,d,g,y,_,A,R,C,w=!1)=>{const b=u&&u.children,L=u?u.shapeFlag:0,I=d.children,{patchFlag:F,shapeFlag:k}=d;if(F>0){if(F&128){$e(b,I,g,y,_,A,R,C,w);return}else if(F&256){_t(b,I,g,y,_,A,R,C,w);return}}k&8?(L&16&&x(b,_,A),I!==b&&a(g,I)):L&16?k&16?$e(b,I,g,y,_,A,R,C,w):x(b,_,A,!0):(L&8&&a(g,""),k&16&&Q(I,g,y,_,A,R,C,w))},_t=(u,d,g,y,_,A,R,C,w)=>{u=u||wt,d=d||wt;const b=u.length,L=d.length,I=Math.min(b,L);let F;for(F=0;FL?x(u,_,A,!0,!1,I):Q(d,g,y,_,A,R,C,w,I)},$e=(u,d,g,y,_,A,R,C,w)=>{let b=0;const L=d.length;let I=u.length-1,F=L-1;for(;b<=I&&b<=F;){const k=u[b],W=d[b]=w?Je(d[b]):je(d[b]);if(dt(k,W))T(k,W,g,null,_,A,R,C,w);else break;b++}for(;b<=I&&b<=F;){const k=u[I],W=d[F]=w?Je(d[F]):je(d[F]);if(dt(k,W))T(k,W,g,null,_,A,R,C,w);else break;I--,F--}if(b>I){if(b<=F){const k=F+1,W=kF)for(;b<=I;)Re(u[b],_,A,!0),b++;else{const k=b,W=b,X=new Map;for(b=W;b<=F;b++){const Ae=d[b]=w?Je(d[b]):je(d[b]);Ae.key!=null&&X.set(Ae.key,b)}let Z,oe=0;const Se=F-W+1;let yt=!1,Bs=0;const Lt=new Array(Se);for(b=0;b=Se){Re(Ae,_,A,!0);continue}let Be;if(Ae.key!=null)Be=X.get(Ae.key);else for(Z=W;Z<=F;Z++)if(Lt[Z-W]===0&&dt(Ae,d[Z])){Be=Z;break}Be===void 0?Re(Ae,_,A,!0):(Lt[Be-W]=b+1,Be>=Bs?Bs=Be:yt=!0,T(Ae,d[Be],g,null,_,A,R,C,w),oe++)}const Hs=yt?kl(Lt):wt;for(Z=Hs.length-1,b=Se-1;b>=0;b--){const Ae=W+b,Be=d[Ae],ks=Ae+1{const{el:A,type:R,transition:C,children:w,shapeFlag:b}=u;if(b&6){Fe(u.component.subTree,d,g,y);return}if(b&128){u.suspense.move(d,g,y);return}if(b&64){R.move(u,d,g,se);return}if(R===Te){s(A,d,g);for(let I=0;IC.enter(A),_);else{const{leave:I,delayLeave:F,afterLeave:k}=C,W=()=>s(A,d,g),X=()=>{I(A,()=>{W(),k&&k()})};F?F(A,W,X):X()}else s(A,d,g)},Re=(u,d,g,y=!1,_=!1)=>{const{type:A,props:R,ref:C,children:w,dynamicChildren:b,shapeFlag:L,patchFlag:I,dirs:F}=u;if(C!=null&&is(C,null,g,u,!0),L&256){d.ctx.deactivate(u);return}const k=L&1&&F,W=!zt(u);let X;if(W&&(X=R&&R.onVnodeBeforeUnmount)&&He(X,d,u),L&6)S(u.component,g,y);else{if(L&128){u.suspense.unmount(g,y);return}k&<(u,null,d,"beforeUnmount"),L&64?u.type.remove(u,d,g,_,se,y):b&&(A!==Te||I>0&&I&64)?x(b,d,g,!1,!0):(A===Te&&I&384||!_&&L&16)&&x(w,d,g),y&&Hn(u)}(W&&(X=R&&R.onVnodeUnmounted)||k)&&Ee(()=>{X&&He(X,d,u),k&<(u,null,d,"unmounted")},g)},Hn=u=>{const{type:d,el:g,anchor:y,transition:_}=u;if(d===Te){m(g,y);return}if(d===dn){ie(u);return}const A=()=>{r(g),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(u.shapeFlag&1&&_&&!_.persisted){const{leave:R,delayLeave:C}=_,w=()=>R(g,A);C?C(u.el,A,w):w()}else A()},m=(u,d)=>{let g;for(;u!==d;)g=h(u),r(u),u=g;r(d)},S=(u,d,g)=>{const{bum:y,scope:_,update:A,subTree:R,um:C}=u;y&&fn(y),_.stop(),A&&(A.active=!1,Re(R,u,d,g)),C&&Ee(C,d),Ee(()=>{u.isUnmounted=!0},d),d&&d.pendingBranch&&!d.isUnmounted&&u.asyncDep&&!u.asyncResolved&&u.suspenseId===d.pendingId&&(d.deps--,d.deps===0&&d.resolve())},x=(u,d,g,y=!1,_=!1,A=0)=>{for(let R=A;Ru.shapeFlag&6?N(u.component.subTree):u.shapeFlag&128?u.suspense.next():h(u.anchor||u.el),G=(u,d,g)=>{u==null?d._vnode&&Re(d._vnode,null,null,!0):T(d._vnode||null,u,d,null,null,null,g),fo(),d._vnode=u},se={p:T,um:Re,m:Fe,r:Hn,mt:Ke,mc:Q,pc:Ce,pbc:ce,n:N,o:e};let $,D;return t&&([$,D]=t(se)),{render:G,hydrate:$,createApp:Fl(G,$)}}function ct({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function No(e,t,n=!1){const s=e.children,r=t.children;if(H(s)&&H(r))for(let o=0;o>1,e[n[c]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const jl=e=>e.__isTeleport,Te=Symbol(void 0),Is=Symbol(void 0),Ie=Symbol(void 0),dn=Symbol(void 0),Vt=[];let Ne=null;function ot(e=!1){Vt.push(Ne=e?null:[])}function Dl(){Vt.pop(),Ne=Vt[Vt.length-1]||null}let Zt=1;function sr(e){Zt+=e}function Lo(e){return e.dynamicChildren=Zt>0?Ne||wt:null,Dl(),Zt>0&&Ne&&Ne.push(e),e}function Jt(e,t,n,s,r,o){return Lo(ge(e,t,n,s,r,o,!0))}function Ss(e,t,n,s,r){return Lo(ye(e,t,n,s,r,!0))}function bn(e){return e?e.__v_isVNode===!0:!1}function dt(e,t){return e.type===t.type&&e.key===t.key}const Nn="__vInternal",Fo=({key:e})=>e!=null?e:null,hn=({ref:e,ref_key:t,ref_for:n})=>e!=null?de(e)||me(e)||j(e)?{i:_e,r:e,k:t,f:!!n}:e:null;function ge(e,t=null,n=null,s=0,r=null,o=e===Te?0:1,i=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Fo(t),ref:t&&hn(t),scopeId:po,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:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null};return c?(Ms(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=de(n)?8:16),Zt>0&&!i&&Ne&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Ne.push(l),l}const ye=Ul;function Ul(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===El)&&(e=Ie),bn(e)){const c=it(e,t,!0);return n&&Ms(c,n),Zt>0&&!o&&Ne&&(c.shapeFlag&6?Ne[Ne.indexOf(e)]=c:Ne.push(c)),c.patchFlag|=-2,c}if(ec(e)&&(e=e.__vccOpts),t){t=Kl(t);let{class:c,style:l}=t;c&&!de(c)&&(t.class=Cn(c)),ue(l)&&(Jr(l)&&!H(l)&&(l=he({},l)),t.style=hs(l))}const i=de(e)?1:ol(e)?128:jl(e)?64:ue(e)?4:j(e)?2:0;return ge(e,t,n,s,r,i,o,!0)}function Kl(e){return e?Jr(e)||Nn in e?he({},e):e:null}function it(e,t,n=!1){const{props:s,ref:r,patchFlag:o,children:i}=e,c=t?Wl(s||{},t):s;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Fo(c),ref:t&&t.ref?n&&r?H(r)?r.concat(hn(t)):[r,hn(t)]:hn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Te?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&it(e.ssContent),ssFallback:e.ssFallback&&it(e.ssFallback),el:e.el,anchor:e.anchor}}function $l(e=" ",t=0){return ye(Is,null,e,t)}function zl(e,t){const n=ye(dn,null,e);return n.staticCount=t,n}function Vl(e="",t=!1){return t?(ot(),Ss(Ie,null,e)):ye(Ie,null,e)}function je(e){return e==null||typeof e=="boolean"?ye(Ie):H(e)?ye(Te,null,e.slice()):typeof e=="object"?Je(e):ye(Is,null,String(e))}function Je(e){return e.el===null||e.memo?e:it(e)}function Ms(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(H(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Ms(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!(Nn in t)?t._ctx=_e:r===3&&_e&&(_e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else j(t)?(t={default:t,_ctx:_e},n=32):(t=String(t),s&64?(n=16,t=[$l(t)]):n=8);e.children=t,e.shapeFlag|=n}function Wl(...e){const t={};for(let n=0;nae||_e,Pt=e=>{ae=e,e.scope.on()},mt=()=>{ae&&ae.scope.off(),ae=null};function Ho(e){return e.vnode.shapeFlag&4}let en=!1;function Gl(e,t=!1){en=t;const{props:n,children:s}=e.vnode,r=Ho(e);Ol(e,n,r,t),Ml(e,s);const o=r?Xl(e,t):void 0;return en=!1,o}function Xl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=eo(new Proxy(e.ctx,Al));const{setup:s}=n;if(s){const r=e.setupContext=s.length>1?jo(e):null;Pt(e),St();const o=nt(s,e,0,[e.props,r]);if(Mt(),mt(),jr(o)){if(o.then(mt,mt),t)return o.then(i=>{rr(e,i,t)}).catch(i=>{Tn(i,e,0)});e.asyncDep=o}else rr(e,o,t)}else ko(e,t)}function rr(e,t,n){j(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ue(t)&&(e.setupState=ro(t)),ko(e,n)}let or;function ko(e,t,n){const s=e.type;if(!e.render){if(!t&&or&&!s.render){const r=s.template;if(r){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:c,compilerOptions:l}=s,f=he(he({isCustomElement:o,delimiters:c},i),l);s.render=or(r,f)}}e.render=s.render||Le}Pt(e),St(),wl(e),Mt(),mt()}function Zl(e){return new Proxy(e.attrs,{get(t,n){return xe(e,"get","$attrs"),t[n]}})}function jo(e){const t=s=>{e.exposed=s||{}};let n;return{get attrs(){return n||(n=Zl(e))},slots:e.slots,emit:e.emit,expose:t}}function Ln(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(ro(eo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in yn)return yn[n](e)}}))}function Jl(e,t=!0){return j(e)?e.displayName||e.name:e.name||t&&e.__name}function ec(e){return j(e)&&"__vccOpts"in e}const De=(e,t)=>qi(e,t,en);function _f(){return tc().slots}function tc(){const e=Bo();return e.setupContext||(e.setupContext=jo(e))}function Ns(e,t,n){const s=arguments.length;return s===2?ue(t)&&!H(t)?bn(t)?ye(e,null,[t]):ye(e,t):ye(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&bn(n)&&(n=[n]),ye(e,t,n))}const nc="3.2.37",sc="http://www.w3.org/2000/svg",ht=typeof document!="undefined"?document:null,ir=ht&&ht.createElement("template"),rc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t?ht.createElementNS(sc,e):ht.createElement(e,n?{is:n}:void 0);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},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,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{ir.innerHTML=s?`${e}`:e;const c=ir.content;if(s){const l=c.firstChild;for(;l.firstChild;)c.appendChild(l.firstChild);c.removeChild(l)}t.insertBefore(c,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function oc(e,t,n){const s=e._vtc;s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function ic(e,t,n){const s=e.style,r=de(n);if(n&&!r){for(const o in n)ls(s,o,n[o]);if(t&&!de(t))for(const o in t)n[o]==null&&ls(s,o,"")}else{const o=s.display;r?t!==n&&(s.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(s.display=o)}}const lr=/\s*!important$/;function ls(e,t,n){if(H(n))n.forEach(s=>ls(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=lc(e,t);lr.test(n)?e.setProperty(It(s),n.replace(lr,""),"important"):e[s]=n}}const cr=["Webkit","Moz","ms"],Kn={};function lc(e,t){const n=Kn[t];if(n)return n;let s=Ue(t);if(s!=="filter"&&s in e)return Kn[t]=s;s=Rn(s);for(let r=0;r{let e=Date.now,t=!1;if(typeof window!="undefined"){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 cs=0;const ac=Promise.resolve(),dc=()=>{cs=0},hc=()=>cs||(ac.then(dc),cs=Do());function Ct(e,t,n,s){e.addEventListener(t,n,s)}function pc(e,t,n,s){e.removeEventListener(t,n,s)}function gc(e,t,n,s,r=null){const o=e._vei||(e._vei={}),i=o[t];if(s&&i)i.value=s;else{const[c,l]=mc(t);if(s){const f=o[t]=_c(s,r);Ct(e,c,f,l)}else i&&(pc(e,c,i,l),o[t]=void 0)}}const fr=/(?:Once|Passive|Capture)$/;function mc(e){let t;if(fr.test(e)){t={};let n;for(;n=e.match(fr);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[It(e.slice(2)),t]}function _c(e,t){const n=s=>{const r=s.timeStamp||Do();(fc||r>=n.attached-1)&&Oe(yc(s,n.value),t,5,[s])};return n.value=e,n.attached=hc(),n}function yc(e,t){if(H(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const ar=/^on[a-z]/,vc=(e,t,n,s,r=!1,o,i,c,l)=>{t==="class"?oc(e,s,r):t==="style"?ic(e,n,s):An(t)?ps(t)||gc(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):bc(e,t,s,r))?uc(e,t,s,o,i,c,l):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),cc(e,t,s,r))};function bc(e,t,n,s){return s?!!(t==="innerHTML"||t==="textContent"||t in e&&ar.test(t)&&j(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ar.test(t)&&de(n)?!1:t in e}const Qe="transition",Ft="animation",Uo=(e,{slots:t})=>Ns(_o,Ec(e),t);Uo.displayName="Transition";const Ko={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};Uo.props=he({},_o.props,Ko);const ut=(e,t=[])=>{H(e)?e.forEach(n=>n(...t)):e&&e(...t)},dr=e=>e?H(e)?e.some(t=>t.length>1):e.length>1:!1;function Ec(e){const t={};for(const O in e)O in Ko||(t[O]=e[O]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:c=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:f=i,appearToClass:a=c,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:h=`${n}-leave-active`,leaveToClass:v=`${n}-leave-to`}=e,E=Cc(r),M=E&&E[0],T=E&&E[1],{onBeforeEnter:P,onEnter:B,onEnterCancelled:U,onLeave:z,onLeaveCancelled:ie,onBeforeAppear:fe=P,onAppear:ve=B,onAppearCancelled:K=U}=t,Q=(O,re,pe)=>{ft(O,re?a:c),ft(O,re?f:i),pe&&pe()},te=(O,re)=>{O._isLeaving=!1,ft(O,p),ft(O,v),ft(O,h),re&&re()},ce=O=>(re,pe)=>{const Ke=O?ve:B,le=()=>Q(re,O,pe);ut(Ke,[re,le]),hr(()=>{ft(re,O?l:o),Ye(re,O?a:c),dr(Ke)||pr(re,s,M,le)})};return he(t,{onBeforeEnter(O){ut(P,[O]),Ye(O,o),Ye(O,i)},onBeforeAppear(O){ut(fe,[O]),Ye(O,l),Ye(O,f)},onEnter:ce(!1),onAppear:ce(!0),onLeave(O,re){O._isLeaving=!0;const pe=()=>te(O,re);Ye(O,p),xc(),Ye(O,h),hr(()=>{!O._isLeaving||(ft(O,p),Ye(O,v),dr(z)||pr(O,s,T,pe))}),ut(z,[O,pe])},onEnterCancelled(O){Q(O,!1),ut(U,[O])},onAppearCancelled(O){Q(O,!0),ut(K,[O])},onLeaveCancelled(O){te(O),ut(ie,[O])}})}function Cc(e){if(e==null)return null;if(ue(e))return[$n(e.enter),$n(e.leave)];{const t=$n(e);return[t,t]}}function $n(e){return gn(e)}function Ye(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function ft(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function hr(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ac=0;function pr(e,t,n,s){const r=e._endId=++Ac,o=()=>{r===e._endId&&s()};if(n)return setTimeout(o,n);const{type:i,timeout:c,propCount:l}=wc(e,t);if(!i)return s();const f=i+"end";let a=0;const p=()=>{e.removeEventListener(f,h),o()},h=v=>{v.target===e&&++a>=l&&p()};setTimeout(()=>{a(n[E]||"").split(", "),r=s(Qe+"Delay"),o=s(Qe+"Duration"),i=gr(r,o),c=s(Ft+"Delay"),l=s(Ft+"Duration"),f=gr(c,l);let a=null,p=0,h=0;t===Qe?i>0&&(a=Qe,p=i,h=o.length):t===Ft?f>0&&(a=Ft,p=f,h=l.length):(p=Math.max(i,f),a=p>0?i>f?Qe:Ft:null,h=a?a===Qe?o.length:l.length:0);const v=a===Qe&&/\b(transform|all)(,|$)/.test(n[Qe+"Property"]);return{type:a,timeout:p,propCount:h,hasTransform:v}}function gr(e,t){for(;e.lengthmr(n)+mr(e[s])))}function mr(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function xc(){return document.body.offsetHeight}const _r=e=>{const t=e.props["onUpdate:modelValue"]||!1;return H(t)?n=>fn(t,n):t};function Rc(e){e.target.composing=!0}function yr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Pc={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e._assign=_r(r);const o=s||r.props&&r.props.type==="number";Ct(e,t?"change":"input",i=>{if(i.target.composing)return;let c=e.value;n&&(c=c.trim()),o&&(c=gn(c)),e._assign(c)}),n&&Ct(e,"change",()=>{e.value=e.value.trim()}),t||(Ct(e,"compositionstart",Rc),Ct(e,"compositionend",yr),Ct(e,"change",yr))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:s,number:r}},o){if(e._assign=_r(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||s&&e.value.trim()===t||(r||e.type==="number")&&gn(e.value)===t))return;const i=t==null?"":t;e.value!==i&&(e.value=i)}},Tc=he({patchProp:vc},rc);let vr;function $o(){return vr||(vr=Bl(Tc))}const yf=(...e)=>{$o().render(...e)},Oc=(...e)=>{const t=$o().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Ic(s);if(!r)return;const o=t._component;!j(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.innerHTML="";const i=n(r,!1,r instanceof SVGElement);return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Ic(e){return de(e)?document.querySelector(e):e}var Fn=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n};const Sc={};function Mc(e,t){const n=Ao("router-view");return ot(),Ss(n)}var Nc=Fn(Sc,[["render",Mc]]);/*! + * vue-router v4.0.16 + * (c) 2022 Eduardo San Martin Morote + * @license MIT + */const zo=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Nt=e=>zo?Symbol(e):"_vr_"+e,Lc=Nt("rvlm"),br=Nt("rvd"),Ls=Nt("r"),Vo=Nt("rl"),us=Nt("rvl"),At=typeof window!="undefined";function Fc(e){return e.__esModule||zo&&e[Symbol.toStringTag]==="Module"}const J=Object.assign;function zn(e,t){const n={};for(const s in t){const r=t[s];n[s]=Array.isArray(r)?r.map(e):e(r)}return n}const Wt=()=>{},Bc=/\/$/,Hc=e=>e.replace(Bc,"");function Vn(e,t,n="/"){let s,r={},o="",i="";const c=t.indexOf("?"),l=t.indexOf("#",c>-1?c:0);return c>-1&&(s=t.slice(0,c),o=t.slice(c+1,l>-1?l:t.length),r=e(o)),l>-1&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=Uc(s!=null?s:t,n),{fullPath:s+(o&&"?")+o+i,path:s,query:r,hash:i}}function kc(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Er(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function jc(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Tt(t.matched[s],n.matched[r])&&Wo(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Tt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Wo(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Dc(e[n],t[n]))return!1;return!0}function Dc(e,t){return Array.isArray(e)?Cr(e,t):Array.isArray(t)?Cr(t,e):e===t}function Cr(e,t){return Array.isArray(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Uc(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/");let r=n.length-1,o,i;for(o=0;o({left:window.pageXOffset,top:window.pageYOffset});function Wc(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=Vc(r,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 Ar(e,t){return(history.state?history.state.position-t:-1)+e}const fs=new Map;function qc(e,t){fs.set(e,t)}function Qc(e){const t=fs.get(e);return fs.delete(e),t}let Yc=()=>location.protocol+"//"+location.host;function qo(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let c=r.includes(e.slice(o))?e.slice(o).length:1,l=r.slice(c);return l[0]!=="/"&&(l="/"+l),Er(l,"")}return Er(n,e)+s+r}function Gc(e,t,n,s){let r=[],o=[],i=null;const c=({state:h})=>{const v=qo(e,location),E=n.value,M=t.value;let T=0;if(h){if(n.value=v,t.value=h,i&&i===E){i=null;return}T=M?h.position-M.position:0}else s(v);r.forEach(P=>{P(n.value,E,{delta:T,type:tn.pop,direction:T?T>0?qt.forward:qt.back:qt.unknown})})};function l(){i=n.value}function f(h){r.push(h);const v=()=>{const E=r.indexOf(h);E>-1&&r.splice(E,1)};return o.push(v),v}function a(){const{history:h}=window;!h.state||h.replaceState(J({},h.state,{scroll:Bn()}),"")}function p(){for(const h of o)h();o=[],window.removeEventListener("popstate",c),window.removeEventListener("beforeunload",a)}return window.addEventListener("popstate",c),window.addEventListener("beforeunload",a),{pauseListeners:l,listen:f,destroy:p}}function wr(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Bn():null}}function Xc(e){const{history:t,location:n}=window,s={value:qo(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,f,a){const p=e.indexOf("#"),h=p>-1?(n.host&&document.querySelector("base")?e:e.slice(p))+l:Yc()+e+l;try{t[a?"replaceState":"pushState"](f,"",h),r.value=f}catch(v){console.error(v),n[a?"replace":"assign"](h)}}function i(l,f){const a=J({},t.state,wr(r.value.back,l,r.value.forward,!0),f,{position:r.value.position});o(l,a,!0),s.value=l}function c(l,f){const a=J({},r.value,t.state,{forward:l,scroll:Bn()});o(a.current,a,!0);const p=J({},wr(s.value,l,null),{position:a.position+1},f);o(l,p,!1),s.value=l}return{location:s,state:r,push:c,replace:i}}function Zc(e){e=Kc(e);const t=Xc(e),n=Gc(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=J({location:"",base:e,go:s,createHref:zc.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function Jc(e){return typeof e=="string"||e&&typeof e=="object"}function Qo(e){return typeof e=="string"||typeof e=="symbol"}const Ge={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Yo=Nt("nf");var xr;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(xr||(xr={}));function Ot(e,t){return J(new Error,{type:e,[Yo]:!0},t)}function Xe(e,t){return e instanceof Error&&Yo in e&&(t==null||!!(e.type&t))}const Rr="[^/]+?",eu={sensitive:!1,strict:!1,start:!0,end:!0},tu=/[.+*?^${}()[\]/\\]/g;function nu(e,t){const n=J({},eu,t),s=[];let r=n.start?"^":"";const o=[];for(const f of e){const a=f.length?[]:[90];n.strict&&!f.length&&(r+="/");for(let p=0;p1&&(a.endsWith("/")?a=a.slice(0,-1):p=!0);else throw new Error(`Missing required param "${E}"`);a+=B}}return a}return{re:i,score:s,keys:o,parse:c,stringify:l}}function su(e,t){let n=0;for(;nt.length?t.length===1&&t[0]===40+40?1:-1:0}function ru(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const ou={type:0,value:""},iu=/[a-zA-Z0-9_]/;function lu(e){if(!e)return[[]];if(e==="/")return[[ou]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(v){throw new Error(`ERR (${n})/"${f}": ${v}`)}let n=0,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let c=0,l,f="",a="";function p(){!f||(n===0?o.push({type:0,value:f}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:f,regexp:a,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),f="")}function h(){f+=l}for(;c{i(B)}:Wt}function i(a){if(Qo(a)){const p=s.get(a);p&&(s.delete(a),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(a);p>-1&&(n.splice(p,1),a.record.name&&s.delete(a.record.name),a.children.forEach(i),a.alias.forEach(i))}}function c(){return n}function l(a){let p=0;for(;p=0&&(a.record.path!==n[p].record.path||!Go(a,n[p]));)p++;n.splice(p,0,a),a.record.name&&!Tr(a)&&s.set(a.record.name,a)}function f(a,p){let h,v={},E,M;if("name"in a&&a.name){if(h=s.get(a.name),!h)throw Ot(1,{location:a});M=h.record.name,v=J(fu(p.params,h.keys.filter(B=>!B.optional).map(B=>B.name)),a.params),E=h.stringify(v)}else if("path"in a)E=a.path,h=n.find(B=>B.re.test(E)),h&&(v=h.parse(E),M=h.record.name);else{if(h=p.name?s.get(p.name):n.find(B=>B.re.test(p.path)),!h)throw Ot(1,{location:a,currentLocation:p});M=h.record.name,v=J({},p.params,a.params),E=h.stringify(v)}const T=[];let P=h;for(;P;)T.unshift(P.record),P=P.parent;return{name:M,path:E,params:v,matched:T,meta:hu(T)}}return e.forEach(a=>o(a)),{addRoute:o,resolve:f,removeRoute:i,getRoutes:c,getRecordMatcher:r}}function fu(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function au(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:du(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function du(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="boolean"?n:n[s];return t}function Tr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function hu(e){return e.reduce((t,n)=>J(t,n.meta),{})}function Or(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}function Go(e,t){return t.children.some(n=>n===e||Go(e,n))}const Xo=/#/g,pu=/&/g,gu=/\//g,mu=/=/g,_u=/\?/g,Zo=/\+/g,yu=/%5B/g,vu=/%5D/g,Jo=/%5E/g,bu=/%60/g,ei=/%7B/g,Eu=/%7C/g,ti=/%7D/g,Cu=/%20/g;function Fs(e){return encodeURI(""+e).replace(Eu,"|").replace(yu,"[").replace(vu,"]")}function Au(e){return Fs(e).replace(ei,"{").replace(ti,"}").replace(Jo,"^")}function as(e){return Fs(e).replace(Zo,"%2B").replace(Cu,"+").replace(Xo,"%23").replace(pu,"%26").replace(bu,"`").replace(ei,"{").replace(ti,"}").replace(Jo,"^")}function wu(e){return as(e).replace(mu,"%3D")}function xu(e){return Fs(e).replace(Xo,"%23").replace(_u,"%3F")}function Ru(e){return e==null?"":xu(e).replace(gu,"%2F")}function En(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Pu(e){const t={};if(e===""||e==="?")return t;const s=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;ro&&as(o)):[s&&as(s)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function Tu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Array.isArray(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}function Bt(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function et(e,t,n,s,r){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((i,c)=>{const l=p=>{p===!1?c(Ot(4,{from:n,to:t})):p instanceof Error?c(p):Jc(p)?c(Ot(2,{from:t,to:p})):(o&&s.enterCallbacks[r]===o&&typeof p=="function"&&o.push(p),i())},f=e.call(s&&s.instances[r],t,n,l);let a=Promise.resolve(f);e.length<3&&(a=a.then(l)),a.catch(p=>c(p))})}function Wn(e,t,n,s){const r=[];for(const o of e)for(const i in o.components){let c=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(Ou(c)){const f=(c.__vccOpts||c)[t];f&&r.push(et(f,n,s,o,i))}else{let l=c();r.push(()=>l.then(f=>{if(!f)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const a=Fc(f)?f.default:f;o.components[i]=a;const h=(a.__vccOpts||a)[t];return h&&et(h,n,s,o,i)()}))}}return r}function Ou(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Sr(e){const t=st(Ls),n=st(Vo),s=De(()=>t.resolve(Dt(e.to))),r=De(()=>{const{matched:l}=s.value,{length:f}=l,a=l[f-1],p=n.matched;if(!a||!p.length)return-1;const h=p.findIndex(Tt.bind(null,a));if(h>-1)return h;const v=Mr(l[f-2]);return f>1&&Mr(a)===v&&p[p.length-1].path!==v?p.findIndex(Tt.bind(null,l[f-2])):h}),o=De(()=>r.value>-1&&Nu(n.params,s.value.params)),i=De(()=>r.value>-1&&r.value===n.matched.length-1&&Wo(n.params,s.value.params));function c(l={}){return Mu(l)?t[Dt(e.replace)?"replace":"push"](Dt(e.to)).catch(Wt):Promise.resolve()}return{route:s,href:De(()=>s.value.href),isActive:o,isExactActive:i,navigate:c}}const Iu=Rs({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:Sr,setup(e,{slots:t}){const n=nn(Sr(e)),{options:s}=st(Ls),r=De(()=>({[Nr(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Nr(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:Ns("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),Su=Iu;function Mu(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 Nu(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!Array.isArray(r)||r.length!==s.length||s.some((o,i)=>o!==r[i]))return!1}return!0}function Mr(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Nr=(e,t,n)=>e!=null?e:t!=null?t:n,Lu=Rs({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=st(us),r=De(()=>e.route||s.value),o=st(br,0),i=De(()=>r.value.matched[o]);an(br,o+1),an(Lc,i),an(us,r);const c=kt();return $t(()=>[c.value,i.value,e.name],([l,f,a],[p,h,v])=>{f&&(f.instances[a]=l,h&&h!==f&&l&&l===p&&(f.leaveGuards.size||(f.leaveGuards=h.leaveGuards),f.updateGuards.size||(f.updateGuards=h.updateGuards))),l&&f&&(!h||!Tt(f,h)||!p)&&(f.enterCallbacks[a]||[]).forEach(E=>E(l))},{flush:"post"}),()=>{const l=r.value,f=i.value,a=f&&f.components[e.name],p=e.name;if(!a)return Lr(n.default,{Component:a,route:l});const h=f.props[e.name],v=h?h===!0?l.params:typeof h=="function"?h(l):h:null,M=Ns(a,J({},v,t,{onVnodeUnmounted:T=>{T.component.isUnmounted&&(f.instances[p]=null)},ref:c}));return Lr(n.default,{Component:M,route:l})||M}}});function Lr(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Fu=Lu;function Bu(e){const t=uu(e.routes,e),n=e.parseQuery||Pu,s=e.stringifyQuery||Ir,r=e.history,o=Bt(),i=Bt(),c=Bt(),l=$i(Ge);let f=Ge;At&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=zn.bind(null,m=>""+m),p=zn.bind(null,Ru),h=zn.bind(null,En);function v(m,S){let x,N;return Qo(m)?(x=t.getRecordMatcher(m),N=S):N=m,t.addRoute(N,x)}function E(m){const S=t.getRecordMatcher(m);S&&t.removeRoute(S)}function M(){return t.getRoutes().map(m=>m.record)}function T(m){return!!t.getRecordMatcher(m)}function P(m,S){if(S=J({},S||l.value),typeof m=="string"){const D=Vn(n,m,S.path),u=t.resolve({path:D.path},S),d=r.createHref(D.fullPath);return J(D,u,{params:h(u.params),hash:En(D.hash),redirectedFrom:void 0,href:d})}let x;if("path"in m)x=J({},m,{path:Vn(n,m.path,S.path).path});else{const D=J({},m.params);for(const u in D)D[u]==null&&delete D[u];x=J({},m,{params:p(m.params)}),S.params=p(S.params)}const N=t.resolve(x,S),G=m.hash||"";N.params=a(h(N.params));const se=kc(s,J({},m,{hash:Au(G),path:N.path})),$=r.createHref(se);return J({fullPath:se,hash:G,query:s===Ir?Tu(m.query):m.query||{}},N,{redirectedFrom:void 0,href:$})}function B(m){return typeof m=="string"?Vn(n,m,l.value.path):J({},m)}function U(m,S){if(f!==m)return Ot(8,{from:S,to:m})}function z(m){return ve(m)}function ie(m){return z(J(B(m),{replace:!0}))}function fe(m){const S=m.matched[m.matched.length-1];if(S&&S.redirect){const{redirect:x}=S;let N=typeof x=="function"?x(m):x;return typeof N=="string"&&(N=N.includes("?")||N.includes("#")?N=B(N):{path:N},N.params={}),J({query:m.query,hash:m.hash,params:m.params},N)}}function ve(m,S){const x=f=P(m),N=l.value,G=m.state,se=m.force,$=m.replace===!0,D=fe(x);if(D)return ve(J(B(D),{state:G,force:se,replace:$}),S||x);const u=x;u.redirectedFrom=S;let d;return!se&&jc(s,N,x)&&(d=Ot(16,{to:u,from:N}),_t(N,N,!0,!1)),(d?Promise.resolve(d):Q(u,N)).catch(g=>Xe(g)?Xe(g,2)?g:Ce(g):ne(g,u,N)).then(g=>{if(g){if(Xe(g,2))return ve(J(B(g.to),{state:G,force:se,replace:$}),S||u)}else g=ce(u,N,!0,$,G);return te(u,N,g),g})}function K(m,S){const x=U(m,S);return x?Promise.reject(x):Promise.resolve()}function Q(m,S){let x;const[N,G,se]=Hu(m,S);x=Wn(N.reverse(),"beforeRouteLeave",m,S);for(const D of N)D.leaveGuards.forEach(u=>{x.push(et(u,m,S))});const $=K.bind(null,m,S);return x.push($),vt(x).then(()=>{x=[];for(const D of o.list())x.push(et(D,m,S));return x.push($),vt(x)}).then(()=>{x=Wn(G,"beforeRouteUpdate",m,S);for(const D of G)D.updateGuards.forEach(u=>{x.push(et(u,m,S))});return x.push($),vt(x)}).then(()=>{x=[];for(const D of m.matched)if(D.beforeEnter&&!S.matched.includes(D))if(Array.isArray(D.beforeEnter))for(const u of D.beforeEnter)x.push(et(u,m,S));else x.push(et(D.beforeEnter,m,S));return x.push($),vt(x)}).then(()=>(m.matched.forEach(D=>D.enterCallbacks={}),x=Wn(se,"beforeRouteEnter",m,S),x.push($),vt(x))).then(()=>{x=[];for(const D of i.list())x.push(et(D,m,S));return x.push($),vt(x)}).catch(D=>Xe(D,8)?D:Promise.reject(D))}function te(m,S,x){for(const N of c.list())N(m,S,x)}function ce(m,S,x,N,G){const se=U(m,S);if(se)return se;const $=S===Ge,D=At?history.state:{};x&&(N||$?r.replace(m.fullPath,J({scroll:$&&D&&D.scroll},G)):r.push(m.fullPath,G)),l.value=m,_t(m,S,x,$),Ce()}let O;function re(){O||(O=r.listen((m,S,x)=>{const N=P(m),G=fe(N);if(G){ve(J(G,{replace:!0}),N).catch(Wt);return}f=N;const se=l.value;At&&qc(Ar(se.fullPath,x.delta),Bn()),Q(N,se).catch($=>Xe($,12)?$:Xe($,2)?(ve($.to,N).then(D=>{Xe(D,20)&&!x.delta&&x.type===tn.pop&&r.go(-1,!1)}).catch(Wt),Promise.reject()):(x.delta&&r.go(-x.delta,!1),ne($,N,se))).then($=>{$=$||ce(N,se,!1),$&&(x.delta?r.go(-x.delta,!1):x.type===tn.pop&&Xe($,20)&&r.go(-1,!1)),te(N,se,$)}).catch(Wt)}))}let pe=Bt(),Ke=Bt(),le;function ne(m,S,x){Ce(m);const N=Ke.list();return N.length?N.forEach(G=>G(m,S,x)):console.error(m),Promise.reject(m)}function Y(){return le&&l.value!==Ge?Promise.resolve():new Promise((m,S)=>{pe.add([m,S])})}function Ce(m){return le||(le=!m,re(),pe.list().forEach(([S,x])=>m?x(m):S()),pe.reset()),m}function _t(m,S,x,N){const{scrollBehavior:G}=e;if(!At||!G)return Promise.resolve();const se=!x&&Qc(Ar(m.fullPath,0))||(N||!x)&&history.state&&history.state.scroll||null;return io().then(()=>G(m,S,se)).then($=>$&&Wc($)).catch($=>ne($,m,S))}const $e=m=>r.go(m);let Fe;const Re=new Set;return{currentRoute:l,addRoute:v,removeRoute:E,hasRoute:T,getRoutes:M,resolve:P,options:e,push:z,replace:ie,go:$e,back:()=>$e(-1),forward:()=>$e(1),beforeEach:o.add,beforeResolve:i.add,afterEach:c.add,onError:Ke.add,isReady:Y,install(m){const S=this;m.component("RouterLink",Su),m.component("RouterView",Fu),m.config.globalProperties.$router=S,Object.defineProperty(m.config.globalProperties,"$route",{enumerable:!0,get:()=>Dt(l)}),At&&!Fe&&l.value===Ge&&(Fe=!0,z(r.location).catch(G=>{}));const x={};for(const G in Ge)x[G]=De(()=>l.value[G]);m.provide(Ls,S),m.provide(Vo,nn(x)),m.provide(us,l);const N=m.unmount;Re.add(m),m.unmount=function(){Re.delete(m),Re.size<1&&(f=Ge,O&&O(),O=null,l.value=Ge,Fe=!1,le=!1),N()}}}}function vt(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function Hu(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iTt(f,c))?s.push(c):n.push(c));const l=e.matched[i];l&&(t.matched.find(f=>Tt(f,l))||r.push(l))}return[n,s,r]}const ku="modulepreload",Fr={},ju="/",Du=function(t,n){return!n||n.length===0?t():Promise.all(n.map(s=>{if(s=`${ju}${s}`,s in Fr)return;Fr[s]=!0;const r=s.endsWith(".css"),o=r?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${o}`))return;const i=document.createElement("link");if(i.rel=r?"stylesheet":ku,r||(i.as="script",i.crossOrigin=""),i.href=s,document.head.appendChild(i),r)return new Promise((c,l)=>{i.addEventListener("load",c),i.addEventListener("error",()=>l(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t())};var Uu="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAPwAAABcCAYAAABKt9iJAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAASTQAAEk0B85fEpwAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAAWdEVYdENyZWF0aW9uIFRpbWUAMTAvMTIvMTa1ZpKxAAAJo0lEQVR4nO2dPXbjuBKFL+a80F6AewFybnc+mtx6ubwAOX+evNX5uHNrAe58pAWoc1t5awHWAqy8XoCiBULQHwmKIHm/c3T6ULYhqsnLKhSqCgAhhBBCCCGEEEIIISQpTN0nQAgJIyL3APrOW68AfhpjPoqOGU3wIvII4PpzYGNGscYmpGuIyBjAXeBHSwAPRUX/nzIn5XEN4CbieIR0EhHpISx2AOgBGAB4KTL2H0VPihBSGZcHfn5RdGAKnpD0OOSur4sOTMETkhjGmCWAxY4fLwFMi44dcw5PCImEMWbkROl7sEIvHaWn4AlJFGPMCwoG53ZBl56QDkHBE9IhKHhCOgQFT0iHoOAJ6RAUPCEdgoInpENQ8IR0CAqekA7BTLsIiMgtbHnwhf67q9rpXV9vxpi3M50eIZ9Q8AXQeuUBgFvYPOdj+ewXICIAMAMwjSV+ERkB+Oq89WqMmcQYOxba2OGL89Y/WixyzN/2APztvDU1xhQuJCmDiAxg74GMo7/HCZ8R/ftS8EfiiHyAEvXIHncA7kRkgTg3zAr5JiQ3IjIzxryXHDcKgcYOqxO/8yXy3+81yokV4wr5czlUw16E6N+Xgj+APsmH2G/Jl/p6139D1UyXOkY/MNYNgBcR+V7mCW6MmaqVv3LeHgJ4KjpmZO6941qsc5eh4HegQvfFk7EGMAfwBmB+QrniHMBERL7AWrp75L2FbyKCkm7bBMA353ggIpMyJZUxEJFLbLdt+lnHuXQZCt5DA3BjhIW+hL1JTxH5FupiT0RkBuAf5C3+NxH5MMbMC47tW/kLWCtf91x+4B3P6n4IdREuy21zjW2xL2A7hd4bY6axblQV/gPsg8RlrBaxKL64fVe6DobeMd35GqDgPbTpwC89zFoCj6paRtOHxwNswC3jAsBjiTGn/ng6RakF9Zrch+iSy5L1QMGHGQP4rha98htTRT/23r7TuX5RfCtf5z4BvofBuXtNUPABjDEf517f1QeL37iwX2I838pf1WHl9aH1p/PWuq61c0LBp4bfv2zXZgTH4gurDrfe/w4Ue41Q8AkRiMyfksUX4ifyPcxvdD59TvyHDN35GqHg0yPn1pcRqMYGfK/hoeh4pyIifeSDdb9SyfrrKhR8evz2jssE7oCwlS/rORwLM+sSg4JPD3+NP5QAdDQ7rHzl6/IarHPzwFdFk4lIPCj49IhacaX4Vr7skt8x+Ik2nLsnAAWfHtHTTXdY+arX5f1gHd35BKDgu4Nv5fsl03d3ouv9blEQ8+YTgcUzZ0ZF1sOmXPYSNn8fehyr1j6HMeZDRObYrItXWVTju/NR90cjxaHgK0LnyFewXXG+6Otm7x9VzwT5RJh7ESm1G6mPrgC4qwCL2J1gSHEo+EjoevktbIupMpZ6XeJv92KMedeSXNfK9xF3fs2luISh4AuiFryvr2Mt9xqbjji/9fg38JlLnz04nuOebQ7fyo8QSZQ6Xek7bzFvPjEo+BPQG3oAK5hDyStL5/UbtiS09sBVwMpficggkjD9YB3n7olBwR+BWvMR9hezLGCbDDahBbVv5YeIY+X9YN0swpgkIhT8HtSiP2K30GfQ3nYpWO9jCVj5nojclnlQBZpcMG8+QSj4Heha8iO2A2grWAtZqq9dAvhW/gHlknH8RBu68wlCwQcQkUdsu6drAE9tCUKplV9gE3C8KWrlnS68GasGTGs6CTPtPHRnlNBcNFZgKyX81YCiDTLYfrohUPAO6sb7N+8PY8y44e57kEBbraJFNe6DYg2uvScLBa84ATqXiXaxbTO+lT9pHh9octH02EaroeA3DJEP0C1S24ixCnZY+VOKavxpQOv/z5oMBb+hy1Fm38r7MYwggY60izMvxV0f/hXiQsEjV+iSse5Sd5aAlb8/0srX3ZG2kvLeNkPBW/w2Ul2s7nKtfFZUcwjXK1rVsIpRSZFRm6Hgw3QuQ0ytvLtxxd7gXSBYV7nYA2v752rGGaKR0wkKnri4AbdDO9Vs7QZbwfmEcB9KWf39WdFcjT8P/V6KUPBhqm7wuI/aLEdge6qglQ8E62ZnDNb5062vZ/pcAJ9iL7sjUG1Q8BZ/3bgOq3GpKb3/O/dnexxj5esM1s2947OIT6/P+FyfVxUUPABtweQ2eLzQOepZ0EqzFxy5HFYlASsfErwfrDtn3vzcO+5VvX2Wrlg8Iy/2RgZ2KfgNc++48u2VReSLiDzB3kylNpyIjGvlc/vRBYJ1Z0200Sw+P17gZ0hGQ7/7FHmv7zu275dGQMFv8G/cnrrY0VH3cARr1d25cFZ6WysBK+/uR+f2rFujnhs/dK3GsT9Er9EzNst/awDfA/8/jYGCVzTo5N9Iw5iiV4ue9ZAbIb+O/BNWTKl0idmy8oHto6Z15M3rtfIr8u5iiV5E+iKSXaOMFYCRk2vQyKVb1sM7GGMmIvIV+Zt6qG7dU9G5qrrBfYQDPgsAYyfK/SEiRT4mNnPkG4A8YHujy9rKYI0xT3pdXFf7TpfpCl0rDVAOsN2U9BfsNWp8UVBlgheR16rGPpGFMeaU+fgjgDHyrnYPwLOIrGCFMMeOppTORhPXsG2rbxHOCFsAeE61UYRuXPGCjZW7QV4I586bD/EA4An588qu1RLafgy7r5V7nfoIdzd6alOaNS28h94YjyJyj223+wo2kj4EgIKWeAbrCu8T+hL1ZpFlZNOM0AOr9uIivVYjnSb5D/XchhgnXqs17PeLuklHClDwOzDGvOg8bgjr5pWJoi9grc2xc9714V+pnoCVz0hq62edis1gz7OP4jn2S2weyIeuUyOX5UzdJ9AU1P3rw7qAV9htgVf6eoW9KRrV0dZHpyhT5EU0SblXgMZMbmGv1b5dgJaw1+oNtnFH3VOUyqHgyUHU03E9nL+a/BDrMlyWI3sJ9Jvn1s8NhoInh/BTa9mgssFQ8GQngc0hl6kuI5LjoODJPvrYzgYkDYZBO7ITL1i3Nsb0azwdEgFaeBIkEKzj3L0F0MKTIIGluP92YZ267dDCky20iMRfiqPYWwAtPMkRyKxbA7in4NsBLTzxGSMfmX+h2NsDBU8+0aoztyx4mXLOPDkdCp4A+Jy3u1Vxa1hrT1oEBU8ysX/z3n7Sbr6kRbAevsNogO4R2623ftSwTxw5A4zSdxAV+hDhbjY/jDG1d7Mh1UDBtwztLPsvbJedrK/gG2wziAvYrZn8Jo2AnbM/0bK3G7r07aOv//pNJ/fhd84lLYWCbx/9E3436c65JD506VuGuvRZe+zQLrjvsC7+Gy06IYQQQgghhDSK/wO7c3bWsT1QpAAAAABJRU5ErkJggg==",Ku="/assets/logo.a3fad609.jpg";const $u={},zu={class:"markdown-body light-scheme"},Vu=zl('

layer vue

\u9996 \u9009 \u7684 \u5F39 \u51FA \u5C42 \u89E3 \u51B3 \u65B9 \u6848 \u2B50


',3),Wu={class:"layui-container",style:{width:"80%","margin-left":"10%"}};function qu(e,t){const n=Ao("router-view");return ot(),Jt("div",zu,[Vu,ge("div",Wu,[ye(n)])])}var Qu=Fn($u,[["render",qu]]);const Yu=[{path:"/",redirect:"/zh-CN/index",component:Qu,meta:{title:"\u9996\u9875"},children:[{path:"/zh-CN/index",component:()=>Du(()=>import("./index.d2d188aa.js"),["assets/index.d2d188aa.js","assets/index.9bf043dd.css"]),meta:{title:"\u6307\u5357"}}]}],Gu=[...Yu];function Xu(){return Bu({history:Zc("/"),routes:Gu})}const Zu={class:"lay-code"},Ju={id:"source",class:"source"},ef={key:0,class:"description"},tf={class:"language-html"},nf=ge("svg",{t:"1646244236057",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5505",width:"18",height:"18"},[ge("path",{d:"M768 682.666667V170.666667a85.333333 85.333333 0 0 0-85.333333-85.333334H170.666667a85.333333 85.333333 0 0 0-85.333334 85.333334v512a85.333333 85.333333 0 0 0 85.333334 85.333333h512a85.333333 85.333333 0 0 0 85.333333-85.333333zM170.666667 170.666667h512v512H170.666667z m682.666666 85.333333v512a85.333333 85.333333 0 0 1-85.333333 85.333333H256a85.333333 85.333333 0 0 0 85.333333 85.333334h426.666667a170.666667 170.666667 0 0 0 170.666667-170.666667V341.333333a85.333333 85.333333 0 0 0-85.333334-85.333333z","p-id":"5506"})],-1),sf=[nf],rf=ge("svg",{t:"1646244296040",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7127",width:"18",height:"18"},[ge("path",{d:"M217.301333 414.933333a21.333333 21.333333 0 0 1-1.066666-30.165333l29.098666-31.232a21.333333 21.333333 0 0 1 30.165334-1.024l236.117333 220.16 236.16-220.16a21.333333 21.333333 0 0 1 30.122667 1.024l29.098666 31.232a21.333333 21.333333 0 0 1-1.024 30.165333L541.738667 661.333333l-13.44 14.421334a21.290667 21.290667 0 0 1-16.725334 6.741333 21.290667 21.290667 0 0 1-16.64-6.741333l-13.44-14.506667z","p-id":"7128"})],-1),of=[rf],lf=Rs({__name:"LayCode",setup(e){const t=kt({}),n=kt(!1),s=kt(0),r=kt(!1),o=function(){r.value=!r.value},i=function(){var h,v;const f=t.value.getElementsByClassName("language-html")[0];let a=!1;if(navigator.clipboard&&document.hasFocus()){const E=f.textContent||"";navigator.clipboard.writeText(E),a=!0}else if(window.getSelection()){var p=document.createRange();let E;r.value?p.selectNode(f):(E=document.createElement("div"),E.innerHTML=f.innerHTML,E.style.position="fixed",E.style.left="-9999px",document.body.appendChild(E),p.selectNode(E)),(h=window.getSelection())==null||h.addRange(p);try{a=document.execCommand("copy")}catch(M){a=!1,console.error(M)}(v=window.getSelection())==null||v.removeAllRanges(),E==null||E.remove()}};Ps(()=>{const l=t.value.getElementsByClassName("description"),f=t.value.getElementsByClassName("language-html");l.length?s.value=l[0].clientHeight+f[0].clientHeight+30:s.value=f[0].clientHeight+20}),Ts(()=>{window.removeEventListener("scroll",c)}),$t(r,l=>{l?(t.value.style.height=`${s.value}px`,window.addEventListener("scroll",c),setTimeout(c,100)):(t.value.style.height="0",window.removeEventListener("scroll",c))});function c(){const{top:l,bottom:f}=t.value.getBoundingClientRect();n.value=f>window.innerHeight&&l+44<=window.innerHeight}return(l,f)=>(ot(),Jt("div",Zu,[ge("div",Ju,[Un(l.$slots,"default"),l.$slots.description?(ot(),Jt("div",ef,[Un(l.$slots,"description")])):Vl("",!0)]),ge("div",{ref_key:"meta",ref:t,class:"meta"},[ge("div",tf,[Un(l.$slots,"code")])],512),ge("div",{class:Cn([{"is-fixed":n.value},"control"])},[ge("i",{class:"layui-icon layui-icon-file btn",onClick:i},sf),ge("i",{class:"layui-icon layui-icon-fonts-code btn",onClick:o},of)],2)]))}});const cf={__name:"Children1",props:{data:Object},emits:"called",setup(e,{emit:t}){return(n,s)=>(ot(),Jt("form",null,[bl(ge("input",{type:"text","onUpdate:modelValue":s[0]||(s[0]=r=>e.data.remark=r)},null,512),[[Pc,e.data.remark]])]))}};var uf=Fn(cf,[["__scopeId","data-v-17176fea"]]);const ff={__name:"Children2",emits:"add",setup(e,{emit:t}){const n=()=>{t("add")},s=()=>{t("sub")};return(r,o)=>(ot(),Jt("form",null,[ge("button",{type:"button",onClick:n},"\u52A0"),ge("button",{type:"button",onClick:s},"\u51CF")]))}};var af=Fn(ff,[["__scopeId","data-v-7d777515"]]);function df(){const e=Oc(Nc),t=Xu();return e.use(t).component("LayCode",lf).component("Children1",uf).component("Children2",af),{app:e,router:t}}const{app:hf,router:pf}=df();pf.isReady().then(()=>{hf.mount("#app")});export{Ao as A,bl as B,Pc as C,me as D,Te as F,Uo as T,Fn as _,Jt as a,Vl as b,De as c,Rs as d,ge as e,_f as f,ye as g,el as h,st as i,Cn as j,Ss as k,Un as l,$l as m,hs as n,ot as o,mf as p,io as q,kt as r,Ns as s,gf as t,Dt as u,yf as v,$t as w,bn as x,nn as y,zl as z}; diff --git a/package/document-layer/dist/assets/index.9bf043dd.css b/package/document-layer/dist/assets/index.9bf043dd.css new file mode 100644 index 00000000..f0a3ea79 --- /dev/null +++ b/package/document-layer/dist/assets/index.9bf043dd.css @@ -0,0 +1 @@ +.layui-layer-imgbar,.layui-layer-imgtit a,.layui-layer-tab .layui-layer-title span,.layui-layer-title{text-overflow:ellipsis;white-space:nowrap;user-select:none}html #layuicss-layer{display:none;position:absolute;width:1989px}.layui-layer,.layui-layer-shade{position:fixed;pointer-events:auto}.layui-layer-shade{top:0;left:0;width:100%;height:100%;background-color:#000}.layui-layer{-webkit-overflow-scrolling:touch;top:150px;left:0;margin:0;padding:0;background-color:#fff;-webkit-background-clip:content;border-radius:2px;box-shadow:1px 1px 50px #0000004d}.layui-layer-close{position:absolute}.layui-layer-content{position:relative}.layui-layer-border{border:1px solid #eeeeee;box-shadow:1px 1px 5px #0003}.layui-layer-load{background:url(data:image/gif;base64,R0lGODlhJQAlAJECAL3L2AYrTv///wAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCgACACwAAAAAJQAlAAACi5SPqcvtDyGYIFpF690i8xUw3qJBwUlSadmcLqYmGQu6KDIeM13beGzYWWy3DlB4IYaMk+Dso2RWkFCfLPcRvFbZxFLUDTt21BW56TyjRep1e20+i+eYMR145W2eefj+6VFmgTQi+ECVY8iGxcg35phGo/iDFwlTyXWphwlm1imGRdcnuqhHeop6UAAAIfkEBQoAAgAsEAACAAQACwAAAgWMj6nLXAAh+QQFCgACACwVAAUACgALAAACFZQvgRi92dyJcVJlLobUdi8x4bIhBQAh+QQFCgACACwXABEADAADAAACBYyPqcsFACH5BAUKAAIALBUAFQAKAAsAAAITlGKZwWoMHYxqtmplxlNT7ixGAQAh+QQFCgACACwQABgABAALAAACBYyPqctcACH5BAUKAAIALAUAFQAKAAsAAAIVlC+BGL3Z3IlxUmUuhtR2LzHhsiEFACH5BAUKAAIALAEAEQAMAAMAAAIFjI+pywUAIfkEBQoAAgAsBQAFAAoACwAAAhOUYJnAagwdjGq2amXGU1PuLEYBACH5BAUKAAIALBAAAgAEAAsAAAIFhI+py1wAIfkEBQoAAgAsFQAFAAoACwAAAhWUL4AIvdnciXFSZS6G1HYvMeGyIQUAIfkEBQoAAgAsFwARAAwAAwAAAgWEj6nLBQAh+QQFCgACACwVABUACgALAAACE5RgmcBqDB2MarZqZcZTU+4sRgEAIfkEBQoAAgAsEAAYAAQACwAAAgWEj6nLXAAh+QQFCgACACwFABUACgALAAACFZQvgAi92dyJcVJlLobUdi8x4bIhBQAh+QQFCgACACwBABEADAADAAACBYSPqcsFADs=) center center no-repeat #eee}.layui-layer-ico{background:url(/assets/icon.99942159.png) no-repeat}.layui-layer-btn a,.layui-layer-dialog .layui-layer-ico,.layui-layer-setwin a{display:inline-block;vertical-align:top}.layui-layer-move{display:none;position:fixed;left:0;top:0;width:100%;height:100%;cursor:move;opacity:0;filter:alpha(opacity=0);background-color:#fff;z-index:2147483647}.layui-layer-resize{z-index:999999999;position:absolute;width:15px;height:15px;right:0;bottom:0;cursor:se-resize}.layer-anim{-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.3s;animation-duration:.3s}.layer-drawer-anim{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-timing-function:cubic-bezier(.7,.3,.1,1);animation-timing-function:cubic-bezier(.7,.3,.1,1)}@keyframes layer-rl{0%{-webkit-transform:translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);opacity:1}to{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@-webkit-keyframes layer-rl{0%{-webkit-transform:translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);opacity:1}to{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.layer-anim-rl{-webkit-animation-name:layer-rl;animation-name:layer-rl}@keyframes layer-rl-close{0%{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translateZ(0)}to{-webkit-transform:translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@-webkit-keyframes layer-rl-close{0%{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translateZ(0)}to{-webkit-transform:translate3d(100%,0,0);-ms-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.layer-anim-rl-close{-webkit-animation-name:layer-rl-close;animation-name:layer-rl-close}@-webkit-keyframes layer-lr{0%{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}to{-webkit-transform:translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);opacity:1}}@keyframes layer-lr{0%{-webkit-transform:translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);opacity:1}to{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.layer-anim-lr{-webkit-animation-name:layer-lr;animation-name:layer-lr}@-webkit-keyframes layer-lr-close{0%{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translateZ(0)}to{-webkit-transform:translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes layer-lr-close{0%{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translateZ(0)}to{-webkit-transform:translate3d(-100%,0,0);-ms-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.layer-anim-lr-close{-webkit-animation-name:layer-lr-close;animation-name:layer-lr-close}@-webkit-keyframes layer-tb{0%{-webkit-transform:translate3d(0,-100%,0);-ms-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);opacity:1;animation-timing-function:cubic-bezier(.7,.3,.1,1)}to{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1;animation-timing-function:cubic-bezier(.7,.3,.1,1)}}@keyframes layer-tb{0%{-webkit-transform:translate3d(0,-100%,0);-ms-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);opacity:1;animation-timing-function:cubic-bezier(.7,.3,.1,1)}to{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1;animation-timing-function:cubic-bezier(.7,.3,.1,1)}}.layer-anim-tb{-webkit-animation-name:layer-tb;animation-name:layer-tb}@-webkit-keyframes layer-tb-close{0%{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,-100%,0);-ms-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes layer-tb-close{0%{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,-100%,0);-ms-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.layer-anim-tb-close{-webkit-animation-name:layer-tb-close;animation-name:layer-tb-close}@-webkit-keyframes layer-bt{0%{-webkit-transform:translate3d(0,100%,0);-ms-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);opacity:1}to{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes layer-bt{0%{-webkit-transform:translate3d(0,100%,0);-ms-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);opacity:1}to{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.layer-anim-bt{-webkit-animation-name:layer-bt;animation-name:layer-bt}@-webkit-keyframes layer-bt-close{0%{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,100%,0);-ms-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes layer-bt-close{0%{-webkit-transform:translate3d(0,0,0);-ms-transform:translate3d(0,0,0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,100%,0);-ms-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.layer-anim-bt-close{-webkit-animation-name:layer-bt-close;animation-name:layer-bt-close}@-webkit-keyframes layer-bounceIn{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes layer-bounceIn{0%{opacity:0;-webkit-transform:scale(.5);-ms-transform:scale(.5);transform:scale(.5)}to{opacity:1;-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}}.layer-anim-00{-webkit-animation-name:layer-bounceIn;animation-name:layer-bounceIn}@-webkit-keyframes layer-zoomInDown{0%{opacity:0;-webkit-transform:scale(.1) translateY(-2000px);transform:scale(.1) translateY(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateY(60px);transform:scale(.475) translateY(60px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@keyframes layer-zoomInDown{0%{opacity:0;-webkit-transform:scale(.1) translateY(-2000px);-ms-transform:scale(.1) translateY(-2000px);transform:scale(.1) translateY(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateY(60px);-ms-transform:scale(.475) translateY(60px);transform:scale(.475) translateY(60px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}.layer-anim-01{-webkit-animation-name:layer-zoomInDown;animation-name:layer-zoomInDown}@-webkit-keyframes layer-fadeInUpBig{0%{opacity:0;-webkit-transform:translateY(2000px);transform:translateY(2000px)}to{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes layer-fadeInUpBig{0%{opacity:0;-webkit-transform:translateY(2000px);-ms-transform:translateY(2000px);transform:translateY(2000px)}to{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}}.layer-anim-02{-webkit-animation-name:layer-fadeInUpBig;animation-name:layer-fadeInUpBig}@-webkit-keyframes layer-zoomInLeft{0%{opacity:0;-webkit-transform:scale(.1) translateX(-2000px);transform:scale(.1) translate(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateX(48px);transform:scale(.475) translate(48px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@keyframes layer-zoomInLeft{0%{opacity:0;-webkit-transform:scale(.1) translateX(-2000px);-ms-transform:scale(.1) translateX(-2000px);transform:scale(.1) translate(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateX(48px);-ms-transform:scale(.475) translateX(48px);transform:scale(.475) translate(48px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}.layer-anim-03{-webkit-animation-name:layer-zoomInLeft;animation-name:layer-zoomInLeft}@-webkit-keyframes layer-rollIn{0%{opacity:0;-webkit-transform:translateX(-100%) rotate(-120deg);transform:translate(-100%) rotate(-120deg)}to{opacity:1;-webkit-transform:translateX(0) rotate(0);transform:translate(0) rotate(0)}}@keyframes layer-rollIn{0%{opacity:0;-webkit-transform:translateX(-100%) rotate(-120deg);-ms-transform:translateX(-100%) rotate(-120deg);transform:translate(-100%) rotate(-120deg)}to{opacity:1;-webkit-transform:translateX(0) rotate(0);-ms-transform:translateX(0) rotate(0);transform:translate(0) rotate(0)}}.layer-anim-04{-webkit-animation-name:layer-rollIn;animation-name:layer-rollIn}@keyframes layer-fadeIn{0%{opacity:0}to{opacity:1}}.layer-anim-05{-webkit-animation-name:layer-fadeIn;animation-name:layer-fadeIn}@-webkit-keyframes layer-shake{0%,to{-webkit-transform:translateX(0);transform:translate(0)}10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);transform:translate(-10px)}20%,40%,60%,80%{-webkit-transform:translateX(10px);transform:translate(10px)}}@keyframes layer-shake{0%,to{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translate(0)}10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);-ms-transform:translateX(-10px);transform:translate(-10px)}20%,40%,60%,80%{-webkit-transform:translateX(10px);-ms-transform:translateX(10px);transform:translate(10px)}}.layer-anim-06{-webkit-animation-name:layer-shake;animation-name:layer-shake}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}.layui-layer-title{padding:0 100px 0 20px;height:50px;line-height:50px;border-bottom:1px solid #F0F0F0;font-size:14px;color:#333;overflow:hidden;border-radius:2px 2px 0 0}.layui-layer-setwin{position:absolute;right:15px;top:17px;font-size:0;line-height:initial}.layui-layer-setwin a{position:relative;width:16px;height:16px;margin-left:10px;font-size:12px}.layui-layer-setwin .layui-layer-min cite{position:absolute;width:14px;height:2px;left:0;top:50%;margin-top:-1px;background-color:#2e2d3c;cursor:pointer}.layui-layer-setwin .layui-layer-min:hover cite{background-color:#2d93ca}.layui-layer-setwin .layui-layer-max{background-position:-32px -40px}.layui-layer-setwin .layui-layer-max:hover{background-position:-16px -40px}.layui-layer-setwin .layui-layer-maxmin{background-position:-65px -40px}.layui-layer-setwin .layui-layer-maxmin:hover{background-position:-49px -40px}.layui-layer-setwin .layui-layer-close1{background-position:1px -40px;cursor:pointer}.layui-layer-setwin .layui-layer-close1:hover{opacity:.7}.layui-layer-setwin .layui-layer-close2{position:absolute;right:-28px;top:-28px;width:30px;height:30px;margin-left:0;background-position:-149px -31px}.layui-layer-setwin .layui-layer-close2:hover{background-position:-180px -31px}.layui-layer-btn{text-align:right;padding:0 15px 12px;pointer-events:auto;user-select:none;-webkit-user-select:none}.layui-layer-btn a{height:28px;line-height:28px;margin:5px 5px 0;padding:0 15px;border:1px solid #dedede;background-color:#fff;color:#333;border-radius:2px;font-weight:400;cursor:pointer;text-decoration:none}.layui-layer-btn a:hover{opacity:.9;text-decoration:none}.layui-layer-btn a:active{opacity:.8}.layui-layer-btn .layui-layer-btn0{border-color:#1e9fff;background-color:#1e9fff;color:#fff}.layui-layer-btn-l{text-align:left}.layui-layer-btn-c{text-align:center}.layui-layer-dialog{min-width:300px}.layui-layer-dialog .layui-layer-content{position:relative;padding:20px;line-height:24px;word-break:break-all;overflow:hidden;font-size:14px;overflow-x:hidden;overflow-y:auto}.layui-layer-dialog .layui-layer-content .layui-layer-ico{position:absolute;top:15px;left:15px;width:30px;height:30px}.layui-layer-dialog .layui-layer-content .layui-layer-ico.layui-layer-ico16{width:33px;height:33px}.layui-layer-ico1{background-position:-30px 0}.layui-layer-ico2{background-position:-60px 0}.layui-layer-ico3{background-position:-90px 0}.layui-layer-ico4{background-position:-120px 0}.layui-layer-ico5{background-position:-150px 0}.layui-layer-ico6{background-position:-180px 0}.layui-layer-rim{border:6px solid #8D8D8D;border:6px solid rgba(0,0,0,.3);border-radius:5px;box-shadow:none}.layui-layer-msg{min-width:180px;border:1px solid rgba(220,220,220,.5);box-shadow:2px 0 8px #1d232908}.layui-layer-hui{min-width:100px;background-color:#000;filter:alpha(opacity=60);background-color:#0009;color:#fff;border:none}.layui-layer-hui .layui-layer-content{padding:12px 25px;text-align:center}.layui-layer-dialog .layui-layer-padding{padding:20px 20px 20px 55px;text-align:left}.layui-layer-page .layui-layer-content{position:relative;overflow:auto}.layui-layer-iframe .layui-layer-btn,.layui-layer-page .layui-layer-btn{padding-top:10px}.layui-layer-nobg{background:0 0}.layui-layer-iframe iframe{display:block;width:100%;height:100%}.layui-layer-loading{border-radius:100%;background:0 0;box-shadow:none;border:none}.layui-layer-loading .layui-layer-content{width:60px;height:24px;background:url(/assets/loading-0.07236f68.gif) no-repeat}.layui-layer-loading .layui-layer-loading1{width:37px;height:37px;background:url(data:image/gif;base64,R0lGODlhJQAlAJECAL3L2AYrTv///wAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCgACACwAAAAAJQAlAAACi5SPqcvtDyGYIFpF690i8xUw3qJBwUlSadmcLqYmGQu6KDIeM13beGzYWWy3DlB4IYaMk+Dso2RWkFCfLPcRvFbZxFLUDTt21BW56TyjRep1e20+i+eYMR145W2eefj+6VFmgTQi+ECVY8iGxcg35phGo/iDFwlTyXWphwlm1imGRdcnuqhHeop6UAAAIfkEBQoAAgAsEAACAAQACwAAAgWMj6nLXAAh+QQFCgACACwVAAUACgALAAACFZQvgRi92dyJcVJlLobUdi8x4bIhBQAh+QQFCgACACwXABEADAADAAACBYyPqcsFACH5BAUKAAIALBUAFQAKAAsAAAITlGKZwWoMHYxqtmplxlNT7ixGAQAh+QQFCgACACwQABgABAALAAACBYyPqctcACH5BAUKAAIALAUAFQAKAAsAAAIVlC+BGL3Z3IlxUmUuhtR2LzHhsiEFACH5BAUKAAIALAEAEQAMAAMAAAIFjI+pywUAIfkEBQoAAgAsBQAFAAoACwAAAhOUYJnAagwdjGq2amXGU1PuLEYBACH5BAUKAAIALBAAAgAEAAsAAAIFhI+py1wAIfkEBQoAAgAsFQAFAAoACwAAAhWUL4AIvdnciXFSZS6G1HYvMeGyIQUAIfkEBQoAAgAsFwARAAwAAwAAAgWEj6nLBQAh+QQFCgACACwVABUACgALAAACE5RgmcBqDB2MarZqZcZTU+4sRgEAIfkEBQoAAgAsEAAYAAQACwAAAgWEj6nLXAAh+QQFCgACACwFABUACgALAAACFZQvgAi92dyJcVJlLobUdi8x4bIhBQAh+QQFCgACACwBABEADAADAAACBYSPqcsFADs=) no-repeat}.layui-layer-ico16,.layui-layer-loading .layui-layer-loading2{width:32px;height:32px;background:url(data:image/gif;base64,R0lGODlhIAAgALMAAP///7Ozs/v7+9bW1uHh4fLy8rq6uoGBgTQ0NAEBARsbG8TExJeXl/39/VRUVAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFBQAAACwAAAAAIAAgAAAE5xDISSlLrOrNp0pKNRCdFhxVolJLEJQUoSgOpSYT4RowNSsvyW1icA16k8MMMRkCBjskBTFDAZyuAEkqCfxIQ2hgQRFvAQEEIjNxVDW6XNE4YagRjuBCwe60smQUDnd4Rz1ZAQZnFAGDd0hihh12CEE9kjAEVlycXIg7BAsMB6SlnJ87paqbSKiKoqusnbMdmDC2tXQlkUhziYtyWTxIfy6BE8WJt5YEvpJivxNaGmLHT0VnOgGYf0dZXS7APdpB309RnHOG5gDqXGLDaC457D1zZ/V/nmOM82XiHQjYKhKP1oZmADdEAAAh+QQFBQAAACwAAAAAGAAXAAAEchDISasKNeuJFKoHs4mUYlJIkmjIV54Soypsa0wmLSnqoTEtBw52mG0AjhYpBxioEqRNy8V0qFzNw+GGwlJki4lBqx1IBgjMkRIghwjrzcDti2/Gh7D9qN774wQGAYOEfwCChIV/gYmDho+QkZKTR3p7EQAh+QQFBQAAACwBAAAAHQAOAAAEchDISWdANesNHHJZwE2DUSEo5SjKKB2HOKGYFLD1CB/DnEoIlkti2PlyuKGEATMBaAACSyGbEDYD4zN1YIEmh0SCQQgYehNmTNNaKsQJXmBuuEYPi9ECAU/UFnNzeUp9VBQEBoFOLmFxWHNoQw6RWEocEQAh+QQFBQAAACwHAAAAGQARAAAEaRDICdZZNOvNDsvfBhBDdpwZgohBgE3nQaki0AYEjEqOGmqDlkEnAzBUjhrA0CoBYhLVSkm4SaAAWkahCFAWTU0A4RxzFWJnzXFWJJWb9pTihRu5dvghl+/7NQmBggo/fYKHCX8AiAmEEQAh+QQFBQAAACwOAAAAEgAYAAAEZXCwAaq9ODAMDOUAI17McYDhWA3mCYpb1RooXBktmsbt944BU6zCQCBQiwPB4jAihiCK86irTB20qvWp7Xq/FYV4TNWNz4oqWoEIgL0HX/eQSLi69boCikTkE2VVDAp5d1p0CW4RACH5BAUFAAAALA4AAAASAB4AAASAkBgCqr3YBIMXvkEIMsxXhcFFpiZqBaTXisBClibgAnd+ijYGq2I4HAamwXBgNHJ8BEbzgPNNjz7LwpnFDLvgLGJMdnw/5DRCrHaE3xbKm6FQwOt1xDnpwCvcJgcJMgEIeCYOCQlrF4YmBIoJVV2CCXZvCooHbwGRcAiKcmFUJhEAIfkEBQUAAAAsDwABABEAHwAABHsQyAkGoRivELInnOFlBjeM1BCiFBdcbMUtKQdTN0CUJru5NJQrYMh5VIFTTKJcOj2HqJQRhEqvqGuU+uw6AwgEwxkOO55lxIihoDjKY8pBoThPxmpAYi+hKzoeewkTdHkZghMIdCOIhIuHfBMOjxiNLR4KCW1ODAlxSxEAIfkEBQUAAAAsCAAOABgAEgAABGwQyEkrCDgbYvvMoOF5ILaNaIoGKroch9hacD3MFMHUBzMHiBtgwJMBFolDB4GoGGBCACKRcAAUWAmzOWJQExysQsJgWj0KqvKalTiYPhp1LBFTtp10Is6mT5gdVFx1bRN8FTsVCAqDOB9+KhEAIfkEBQUAAAAsAgASAB0ADgAABHgQyEmrBePS4bQdQZBdR5IcHmWEgUFQgWKaKbWwwSIhc4LonsXhBSCsQoOSScGQDJiWwOHQnAxWBIYJNXEoFCiEWDI9jCzESey7GwMM5doEwW4jJoypQQ743u1WcTV0CgFzbhJ5XClfHYd/EwZnHoYVDgiOfHKQNREAIfkEBQUAAAAsAAAPABkAEQAABGeQqUQruDjrW3vaYCZ5X2ie6EkcKaooTAsi7ytnTq046BBsNcTvItz4AotMwKZBIC6H6CVAJaCcT0CUBTgaTg5nTCu9GKiDEMPJg5YBBOpwlnVzLwtqyKnZagZWahoMB2M3GgsHSRsRACH5BAUFAAAALAEACAARABgAAARcMKR0gL34npkUyyCAcAmyhBijkGi2UW02VHFt33iu7yiDIDaD4/erEYGDlu/nuBAOJ9Dvc2EcDgFAYIuaXS3bbOh6MIC5IAP5Eh5fk2exC4tpgwZyiyFgvhEMBBEAIfkEBQUAAAAsAAACAA4AHQAABHMQyAnYoViSlFDGXBJ808Ep5KRwV8qEg+pRCOeoioKMwJK0Ekcu54h9AoghKgXIMZgAApQZcCCu2Ax2O6NUud2pmJcyHA4L0uDM/ljYDCnGfGakJQE5YH0wUBYBAUYfBIFkHwaBgxkDgX5lgXpHAXcpBIsRADs=) no-repeat}.layui-layer-tips{background:0 0;box-shadow:none;border:none}.layui-layer-tips .layui-layer-content{position:relative;line-height:22px;min-width:12px;padding:8px 15px;font-size:12px;border-radius:2px;box-shadow:1px 1px 3px #0003;background-color:#000;color:#fff}.layui-layer-tips .layui-layer-close{right:-2px;top:-1px}.layui-layer-tips i.layui-layer-TipsG{position:absolute;width:0;height:0;border-width:8px;border-color:transparent;border-style:dashed}.layui-layer-tips i.layui-layer-TipsB,.layui-layer-tips i.layui-layer-TipsT{left:5px;border-right-style:solid;border-right-color:#000}.layui-layer-tips i.layui-layer-TipsT{bottom:-8px}.layui-layer-tips i.layui-layer-TipsB{top:-8px}.layui-layer-tips i.layui-layer-TipsL,.layui-layer-tips i.layui-layer-TipsR{top:5px;border-bottom-style:solid;border-bottom-color:#000}.layui-layer-tips i.layui-layer-TipsR{left:-8px}.layui-layer-tips i.layui-layer-TipsL{right:-8px}.layui-layer-lan[type=dialog]{min-width:280px}.layui-layer-lan .layui-layer-title{background:#4476A7;color:#fff;border:none}.layui-layer-lan .layui-layer-btn{padding:5px 10px 10px;text-align:right;border-top:1px solid #E9E7E7}.layui-layer-lan .layui-layer-btn a{background:#fff;border-color:#e9e7e7;color:#333}.layui-layer-lan .layui-layer-btn .layui-layer-btn1{background:#C9C5C5}.layui-layer-molv .layui-layer-title{background:#009f95;color:#fff;border:none}.layui-layer-molv .layui-layer-btn a{background:#009f95;border-color:#009f95}.layui-layer-molv .layui-layer-btn .layui-layer-btn1{background:#92B8B1}.layui-layer-iconext{background:url(/assets/icon-ext.e2e7a838.png) no-repeat}.layui-layer-prompt .layui-layer-input{display:block;width:260px;height:36px;margin:0 auto;line-height:30px;padding-left:10px;border:1px solid #e6e6e6;color:#333}.layui-layer-prompt textarea.layui-layer-input{width:300px;height:100px;line-height:20px;padding:6px 10px}.layui-layer-prompt .layui-layer-content{padding:20px}.layui-layer-prompt .layui-layer-btn{padding-top:0}.layui-layer-tab{box-shadow:1px 1px 50px #0006}.layui-layer-tab .layui-layer-title{padding-left:0;overflow:visible}.layui-layer-tab .layui-layer-title span{position:relative;float:left;min-width:80px;max-width:300px;padding:0 20px;text-align:center;overflow:hidden;cursor:pointer}.layui-layer-tab .layui-layer-title span.layui-this{height:51px;border-left:1px solid #eee;border-right:1px solid #eee;background-color:#fff;z-index:10}.layui-layer-tab .layui-layer-title span:first-child{border-left:none}.layui-layer-tabmain{line-height:24px;clear:both}.layui-layer-tabmain .layui-layer-tabli{display:none}.layui-layer-tabmain .layui-layer-tabli.layui-this{display:block}.layui-layer-photos{background:0 0;box-shadow:none;border:none}.layui-layer-photos .layui-layer-content{overflow:hidden;text-align:center}.layui-layer-photos .layui-layer-phimg img{position:relative;width:100%;display:inline-block;vertical-align:top}.layui-layer-imgnext,.layui-layer-imgprev{position:fixed;top:50%;width:27px;height:44px;margin-top:-22px;outline:0}.layui-layer-imgprev{left:30px;background-position:-5px -5px}.layui-layer-imgprev:hover{background-position:-33px -5px}.layui-layer-imgnext{right:30px;background-position:-5px -50px}.layui-layer-imgnext:hover{background-position:-33px -50px}.layui-layer-imgbar{position:fixed;left:0;right:0;bottom:0;width:100%;height:40px;line-height:40px;filter:Alpha(opacity=60);background-color:#02000059;color:#fff;overflow:hidden;font-size:0}.layui-layer-imgtit *{display:inline-block;vertical-align:top;font-size:12px}.layui-layer-imgtit a{max-width:65%;overflow:hidden;color:#fff}.layui-layer-imgtit a:hover{color:#fff;text-decoration:underline}.layui-layer-imgtit em{padding-left:10px;font-style:normal}@-webkit-keyframes layer-bounceOut{to{opacity:0;-webkit-transform:scale(.7);transform:scale(.7)}30%{-webkit-transform:scale(1.05);transform:scale(1.05)}0%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes layer-bounceOut{to{opacity:0;-webkit-transform:scale(.7);-ms-transform:scale(.7);transform:scale(.7)}30%{-webkit-transform:scale(1.05);-ms-transform:scale(1.05);transform:scale(1.05)}0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}}.layer-anim-close{-webkit-animation-name:layer-bounceOut;animation-name:layer-bounceOut;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.2s;animation-duration:.2s}@media screen and (max-width:1100px){.layui-layer-iframe{overflow-y:auto;-webkit-overflow-scrolling:touch}} diff --git a/package/document-layer/dist/assets/index.d2d188aa.js b/package/document-layer/dist/assets/index.d2d188aa.js new file mode 100644 index 00000000..2f0d3220 --- /dev/null +++ b/package/document-layer/dist/assets/index.d2d188aa.js @@ -0,0 +1,402 @@ +var Pn=Object.defineProperty,Wn=Object.defineProperties;var Xn=Object.getOwnPropertyDescriptors;var Ln=Object.getOwnPropertySymbols;var Yn=Object.prototype.hasOwnProperty,Un=Object.prototype.propertyIsEnumerable;var $n=(s,e,o)=>e in s?Pn(s,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):s[e]=o,F=(s,e)=>{for(var o in e||(e={}))Yn.call(e,o)&&$n(s,o,e[o]);if(Ln)for(var o of Ln(e))Un.call(e,o)&&$n(s,o,e[o]);return s},M=(s,e)=>Wn(s,Xn(e));import{d as Y,c as H,o as g,a as b,n as Cn,u as c,b as h,t as T,_ as Kn,r as x,w as yn,e as n,f as Gn,i as Jn,g as q,h as y,T as Qn,j as R,k as sn,F as an,l as Zn,m as t,p as nt,q as bn,s as fn,v as en,x as An,y as qn,z as tt,A as xn,B as Bn,C as zn,D as On}from"./index.1157d8c1.js";const st={name:"Shade"},at=Y(M(F({},st),{props:{opacity:null,index:null,visible:{type:[Boolean,String]}},emits:["shadeClick"],setup(s,{emit:e}){const o=s,a=H(()=>({opacity:o.opacity,zIndex:o.index})),r=()=>{e("shadeClick")};return(u,d)=>s.visible?(g(),b("div",{key:0,class:"layui-layer-shade",style:Cn(c(a)),onClick:r},null,4)):h("",!0)}})),et=["src"],ot={name:"Iframe"},ct=Y(M(F({},ot),{props:{src:null},setup(s){const e=s,o=H(()=>e.src);return(a,r)=>(g(),b("iframe",{scrolling:"auto",class:"layui-layer-iframe",allowtransparency:"true",frameborder:"0",src:c(o)},null,8,et))}})),pt={class:"layui-layer-title",style:{cursor:"move"}},lt={name:"Title"},ut=Y(M(F({},lt),{props:{title:{type:[String,Boolean,Function]}},setup(s){const e=function(o){return typeof o=="function"?o():o};return(o,a)=>(g(),b("div",pt,T(e(s.title)),1))}})),it={name:"CloseBtn"},rt=Y(M(F({},it),{emits:["closeHandle"],setup(s,{emit:e}){const o=()=>{e("closeHandle")};return(a,r)=>(g(),b("a",{class:"layui-layer-ico layui-layer-close layui-layer-close1",href:"javascript:;",onClick:o}))}})),kt={name:"Resize"},dt={class:"layui-layer-resize"};function yt(s,e,o,a,r,u){return g(),b("span",dt)}var ft=Kn(kt,[["render",yt]]);const gt={class:"layui-layer-phimg"},mt=["src"],vt={key:0,class:"layui-layer-imgsee"},bt={key:0,class:"layui-layer-imguide"},xt={key:1,class:"layui-layer-imgbar",style:{display:"block"}},ht={class:"layui-layer-imgtit"},wt={key:0},Ct={key:1},_t={name:"Photos"},It=Y(M(F({},_t),{props:{imgList:null,startIndex:{default:0}},emits:["resetCalculationPohtosArea"],setup(s,{emit:e}){const o=s,a=x(o.startIndex);yn(a,()=>{e("resetCalculationPohtosArea",a.value)});const r=u=>{let m=a.value+u;m<0&&(m=o.imgList.length-1),m>=o.imgList.length&&(m=0),a.value=m};return(u,d)=>(g(),b("div",gt,[n("img",{src:s.imgList[a.value].src},null,8,mt),s.imgList.length>0?(g(),b("div",vt,[s.imgList.length>1?(g(),b("span",bt,[n("a",{href:"javascript:;",class:"layui-layer-iconext layui-layer-imgprev",onClick:d[0]||(d[0]=m=>r(-1))}),n("a",{href:"javascript:;",class:"layui-layer-iconext layui-layer-imgnext",onClick:d[1]||(d[1]=m=>r(1))})])):h("",!0),s.imgList.length>1||s.imgList[a.value].alt?(g(),b("div",xt,[n("span",ht,[s.imgList[a.value].alt?(g(),b("span",wt,T(s.imgList[a.value].alt),1)):h("",!0),s.imgList.length>1?(g(),b("em",Ct,T(a.value+1)+" / "+T(s.imgList.length),1)):h("",!0)])])):h("",!0)])):h("",!0)]))}}));function Tn(){for(var s=[],e="0123456789abcdef",o=0;o<36;o++)s[o]=e.substr(Math.floor(Math.random()*16),1);s[14]="4",s[19]=e.substr(s[19]&3|8,1),s[8]=s[13]=s[18]=s[23]="-";var a=s.join("");return a}function Lt(s,e,o){return s!="drawer"?$t(e):Nn(o,e)}function $t(s){return s==="auto"?[]:typeof s=="string"?[s]:[...s]}function Nn(s,e="30%"){return e instanceof Array?e:(e==="auto"&&(e="30%"),s==="l"||s==="r"?[e,"100%"]:s==="t"||s==="b"?["100%",e]:[e,"100%"])}function hn(s,e,o){var a=["t","r","b","l","lt","lb","rt","rb"],r=s[0],u=s[1];return s instanceof Array&&o==="drawer"&&(s="r"),a.indexOf(s)>-1&&(r="50%",u="50%"),(a.indexOf(s)!=-1||r.indexOf("%")>-1)&&(r="calc("+r+" - ("+(e==="auto"?"100px":e[1])+"/2 ))"),(a.indexOf(s)!=-1||u.indexOf("%")>-1)&&(u="calc("+u+" - ("+(e==="auto"?"100px":e[0])+"/2 ))"),s==="t"?r="0px":s==="r"?u="calc(100% - "+e[0]+")":s==="b"?r="calc(100% - "+e[1]+")":s==="l"?u="0px":s==="lt"?(r="0px",u="0px"):s==="lb"?(r="calc(100% - "+e[1]+")",u="0px"):s==="rt"?(r="0px",u="calc(100% - "+e[0]+")"):s==="rb"&&(r="calc(100% - "+e[1]+")",u="calc(100% - "+e[0]+")"),[r,u]}function At(s){return s==="dialog"||s===0||s==="0"?0:s==="page"||s==="drawer"||s===1||s==="1"?1:s==="iframe"||s===2||s==="2"?2:s==="loading"||s===3||s==="3"?3:s==="photos"?4:0}function Vn(s,e,o,a){if(s&&s.indexOf("%")!=-1&&(s="100%"),e&&e.length>0){if(o===0)return"calc("+s+" - 137px)";if(o===1||o===2)return"calc("+s+" - 102px)"}else{if(o===0)return a?s:"calc("+s+" - 137px)";if(o===1||o===2)return"calc("+s+" - 51px)"}}function Hn(){return{w:"100%",h:"100%"}}function Sn(){return{t:"0px",l:"0px"}}function jn(){return{w:"180px",h:"51px"}}function En(s){return{t:"calc(100% - 51px)",l:s+"px"}}function qt(s){let e=getComputedStyle(s,null).width,o=getComputedStyle(s,null).height;return[e,o]}let X=[];function Bt(s,e){var o=0;if(e){const a=X.findIndex(r=>r===void 0);a===-1?(X.push(s),o=X.length-1):(X[a]=s,o=a)}else delete X[X.findIndex(a=>a==s)],o=-1;return o}function Fn(s,e=!1){const o="layer-drawer-anim layer-anim";let a="rl";return s==="l"?a="lr":s==="r"?a="rl":s==="t"?a="tb":s==="b"&&(a="bt"),e?`${o}-${a}-close`:`${o}-${a}`}async function Mn(s,e){let o=new Image;return o.src=s,new Promise((r,u)=>{if(o.complete){r(a(o));return}const d=i.load(2);o.onload=()=>{i.close(d),r(a(o))},o.onerror=()=>{i.close(d),i.msg("\u56FE\u7247\u52A0\u8F7D\u5931\u8D25"),u(!1)}});function a(r){var u=[r.width,r.height],d=[window.innerWidth-100,window.innerHeight-100];if(u[0]>d[0]||u[1]>d[1]){let m=[u[0]/d[0],u[1]/d[1]];m[0]>m[1]?(u[0]=u[0]/m[0],u[1]=u[1]/m[0]):m[0]document.documentElement.clientWidth-s.offsetWidth&&(f=document.documentElement.clientWidth-s.offsetWidth),k<0?k=0:k>document.documentElement.clientHeight-s.offsetHeight&&(k=document.documentElement.clientHeight-s.offsetHeight),s.style.left=`${f}px`,s.style.top=`${k}px`,e(s.style.left,s.style.top)}return!1};document.addEventListener("mousemove",d);const m=function(){document.removeEventListener("mousemove",d),document.removeEventListener("mouseup",m)};document.addEventListener("mouseup",m)}return!1})},Ot=function(s,e){s!=null&&s.addEventListener("mousedown",function(o){if(o.path[0].className==="layui-layer-resize"&&o.button==0&&s!=null){var a=s.offsetLeft,r=s.offsetTop;const u=function(m){if(s!=null){var $=m.clientX,f=m.clientY,k=$-a,v=f-r;k<260&&(k=260),v<115&&(v=115),s.style.width=`${k}px`,s.style.height=`${v}px`,e(s.style.width,s.style.height)}return!1};document.addEventListener("mousemove",u);const d=function(){document.removeEventListener("mousemove",u),document.removeEventListener("mouseup",d)};document.addEventListener("mouseup",d)}return!1})},Vt=Symbol("zIndex"),Ht=["innerHTML"],St={key:1,class:"layui-layer-setwin"},jt={key:0},Et=["onClick"],Ft={name:"LayLayer"},Rn=Y(M(F({},Ft),{props:{id:null,title:{type:[String,Boolean,Function],default:"\u6807\u9898"},icon:null,skin:null,zIndex:null,setTop:{type:Boolean,default:!1},offset:{default:()=>["50%","50%"]},area:{default:"auto"},modelValue:{type:Boolean,default:!1},maxmin:{type:[Boolean,String],default:!1},btn:{type:[Array,Boolean]},move:{type:[Boolean,String],default:!0},resize:{type:[Boolean,String],default:!1},type:{default:1},content:null,isHtmlFragment:{type:Boolean,default:!1},shade:{type:[Boolean,String],default:!0},shadeClose:{type:[Boolean,String],default:!0},shadeOpacity:{default:"0.1"},closeBtn:{type:[Boolean,String],default:!0},btnAlign:{default:"r"},time:{default:0},load:{default:0},anim:{default:0},isOutAnim:{type:Boolean,default:!0},destroy:{type:Function,default:()=>{}},success:{type:Function,default:()=>{}},end:{type:Function,default:()=>{}},yes:null,yesText:{default:"\u786E\u5B9A"},isFunction:{type:Boolean,default:!1},isMessage:{type:Boolean,default:!1},appContext:null,startIndex:{default:0},imgList:{default:()=>[]}},emits:["close","update:modelValue"],setup(s,{expose:e,emit:o}){var _n;const a=s,r=Gn(),u=x(!1),d=x(!1),m=x(a.id||Tn()),$=x(null),f=At(a.type),k=x(Lt(a.type,a.area,a.offset)),v=x(hn(a.offset,k.value,a.type)),U=x(Vn(k.value[1],a.btn,f,a.isMessage)),K=x((_n=a.zIndex)!=null?_n:Jn(Vt,99999)),V=x(!1),D=x(!0),C=x(k.value[0]),w=x(k.value[1]),_=x(v.value[0]),I=x(v.value[1]),z=x(k.value[0]),S=x(k.value[0]),O=x(v.value[0]),A=x(v.value[1]),G=function(){bn(async()=>{k.value=qt($.value),a.type==="drawer"&&(k.value=Nn(a.offset,a.area)),a.type==="photos"&&(k.value=await Mn(a.imgList[a.startIndex].src)),v.value=hn(a.offset,k.value,a.type),C.value=k.value[0],w.value=k.value[1],_.value=v.value[0],I.value=v.value[1],z.value=k.value[0],A.value=k.value[1],O.value=v.value[0],A.value=v.value[1],P()})},on=function(){C.value=z.value,w.value=S.value,_.value=O.value,I.value=A.value,P()},cn=function(){d.value&&Q(),u.value&&J(),z.value=C.value,S.value=w.value,O.value=_.value,A.value=I.value},J=()=>{u.value?(C.value=z.value,w.value=S.value,_.value=O.value,I.value=A.value):(O.value=_.value,A.value=I.value,z.value=C.value,S.value=w.value,C.value=Hn().w,w.value=Hn().h,_.value=Sn().t,I.value=Sn().l),u.value=!u.value},Q=()=>{let L=180*Bt(m.value,!d.value);L>document.documentElement.clientWidth-180&&(L=document.documentElement.clientWidth-180),d.value?(C.value=z.value,w.value=S.value,_.value=O.value,I.value=A.value):(z.value=C.value,S.value=w.value,O.value=_.value,A.value=I.value,w.value=jn().h,C.value=jn().w,_.value=En(L).t,I.value=En(L).l),d.value=!d.value},pn=function(){D.value||(d.value=!1,u.value=!1,C.value=k.value[0],w.value=k.value[1],_.value=v.value[0],I.value=v.value[1],z.value=k.value[0],S.value=k.value[1],O.value=v.value[0],A.value=v.value[1]),a.modelValue||o("update:modelValue",!0)};yn(()=>a.modelValue,()=>{V.value=a.modelValue,V.value?D.value?(D.value=!1,G()):on():cn()},{deep:!0}),yn(()=>V.value,()=>{V.value?(a.isFunction&&G(),a.success()):a.end()}),yn(()=>w.value,()=>{U.value=Vn(w.value,a.btn,f,a.isMessage)});const ln=H(()=>[f===0?"layui-layer-dialog":"",f===1?"layui-layer-page":"",f===2?"layui-layer-iframe":"",f===3?"layui-layer-loading":"",f===4?"layui-layer-photos":"",a.isMessage?"layui-layer-msg":"",a.isMessage&&!a.icon?"layui-layer-hui":"",a.skin]),P=function(){a.move&&a.type!="drawer"&&bn(()=>{zt($.value,(L,W)=>{I.value=L,_.value=W}),Ot($.value,(L,W)=>{w.value=W,C.value=L})})},gn=H(()=>({top:_.value,left:I.value,width:C.value,height:w.value,zIndex:K.value})),un=H(()=>[f===3?`layui-layer-loading${a.load}`:"",a.icon?"layui-layer-padding":""]),Z=()=>{o("close"),o("update:modelValue",!1),a.destroy()},j=()=>{a.yes!=null?a.yes():Z()},mn=()=>{a.shadeClose&&Z()},nn=function(L){return L instanceof Function?L():L},rn=H(()=>["layui-layer-ico",`layui-layer-ico${a.icon}`]),kn=H(()=>a.type==="drawer"?Fn(a.offset):`layer-anim layer-anim-0${a.anim}`),E=H(()=>a.type==="drawer"?Fn(a.offset,!0):a.isOutAnim?"layer-anim-close":""),dn=()=>{V.value=!0},tn=()=>{V.value=!1},l=H(()=>V.value&&a.shade&&!d.value),B=H(()=>a.resize&&!u.value&&!d.value),p=H(()=>a.title&&a.type!=3&&a.type!="photos"),Dn=function(L){bn(async()=>{k.value=await Mn(a.imgList[L].src),v.value=hn(a.offset,k.value,a.type),C.value=k.value[0],w.value=k.value[1],_.value=v.value[0],I.value=v.value[1],z.value=k.value[0],A.value=k.value[1],O.value=v.value[0],A.value=v.value[1]})};return e({reset:pn,open:dn,close:tn}),(L,W)=>(g(),b("div",null,[q(at,{index:K.value,visible:c(l),opacity:s.shadeOpacity,onShadeClick:mn},null,8,["index","visible","opacity"]),q(Qn,{"enter-active-class":c(kn),"leave-active-class":c(E)},{default:y(()=>[V.value?(g(),b("div",{key:0,ref_key:"layero",ref:$,class:R(["layui-layer layui-layer-border",c(ln)]),style:Cn(c(gn))},[c(p)?(g(),sn(ut,{key:0,title:s.title},null,8,["title"])):h("",!0),n("div",{class:R(["layui-layer-content",c(un)]),style:Cn({height:U.value})},[c(f)===0||c(f)===1?(g(),b(an,{key:0},[s.icon?(g(),b("i",{key:0,class:R(c(rn))},null,2)):h("",!0),c(r).default?Zn(L.$slots,"default",{key:1}):(g(),b(an,{key:2},[s.isHtmlFragment?(g(),b("span",{key:0,innerHTML:nn(a.content)},null,8,Ht)):(g(),b(an,{key:1},[t(T(nn(a.content)),1)],64))],64))],64)):h("",!0),c(f)===2?(g(),sn(ct,{key:1,src:a.content},null,8,["src"])):h("",!0),c(f)===4?(g(),sn(It,{key:2,imgList:a.imgList,startIndex:a.startIndex,onResetCalculationPohtosArea:Dn},null,8,["imgList","startIndex"])):h("",!0)],6),c(f)!=3&&c(f)!=4?(g(),b("span",St,[s.maxmin&&!u.value?(g(),b("a",{key:0,class:R(["layui-layer-min",[d.value?"layui-layer-ico layui-layer-maxmin":""]]),href:"javascript:;",onClick:Q},[d.value?h("",!0):(g(),b("cite",jt))],2)):h("",!0),s.maxmin&&!d.value?(g(),b("a",{key:1,class:R(["layui-layer-ico layui-layer-max",[u.value?"layui-layer-maxmin":""]]),href:"javascript:;",onClick:J},null,2)):h("",!0),s.closeBtn?(g(),sn(rt,{key:2,onCloseHandle:Z})):h("",!0)])):h("",!0),(s.btn&&s.btn.length>0||c(f)===0)&&!s.isMessage?(g(),b("div",{key:2,class:R(["layui-layer-btn",[`layui-layer-btn-${s.btnAlign}`]])},[s.btn&&s.btn.length>0?(g(!0),b(an,{key:0},nt(s.btn,(vn,In)=>(g(),b("a",{key:In,class:R([`layui-layer-btn${In}`]),onClick:Rs=>vn.callback(m.value)},T(vn.text),11,Et))),128)):(g(),b(an,{key:1},[c(f)===0?(g(),b("a",{key:0,class:"layui-layer-btn0",onClick:W[0]||(W[0]=vn=>j())},T(s.yesText),1)):h("",!0)],64))],2)):h("",!0),c(B)?(g(),sn(ft,{key:3})):h("",!0)],6)):h("",!0)]),_:3},8,["enter-active-class","leave-active-class"])]))}}));const N=[],Mt=s=>{N.push(s)},wn=s=>{N.forEach((e,o)=>{e.modalContainer.id===s&&N.splice(o,1)})},Tt=()=>{N.splice(0,N.length)},Nt=s=>{let e=!1;return N.forEach((o,a)=>{o.modalContainer.id===s&&(e=!0)}),e},Rt=s=>{let e=null;return N.forEach((o,a)=>{o.modalContainer.id===s&&(e=o)}),e},Dt=(s,e)=>(s&&(e=Object.assign(e,s)),e),Pt=()=>{const s=document.createElement("div");return s.id=Tn(),document.body.appendChild(s),s},Wt=s=>typeof s=="function"?An(s())?{default:()=>s()}:void 0:An(s)?{default:()=>s}:void 0,i={_context:null,open:(s,e)=>{let o={};return i.create(s,o,e)},drawer:(s,e)=>{let o={type:"drawer"};return i.create(s,o,e)},msg:(s,e,o)=>{let a={type:0,title:!1,content:s,closeBtn:!1,shadeClose:!1,isMessage:!0,shade:!1,time:1e3,btn:!1};return i.create(e,a,o)},load:(s,e,o)=>{let a={type:3,load:s,anim:5,isOutAnim:!1,shadeClose:!1};return i.create(e,a,o)},confirm:(s,e,o)=>{let a={type:0,content:s,shadeClose:!1};return i.create(e,a,o)},photos:(s,e)=>{typeof s=="string"&&(s={imgList:[{src:s}]});let o={type:"photos",anim:2,startIndex:0,isOutAnim:!0,shadeClose:!0,shadeOpacity:"0.7"};return i.create(s,o,e)},create:(s,e,o)=>{var m,$;let a;const r=Dt(s,e),u=Pt();r.id=u.id;const d=fn(Rn,M(F({},r),{isFunction:!0,destroy(){var f,k;clearTimeout(a),(k=(f=d.component)==null?void 0:f.exposed)==null||k.close(),setTimeout(()=>{en(null,u),document.body.contains(u)&&document.body.removeChild(u)},2e3),wn(u.id)}}),Wt(r.content));return d.appContext=r.appContext||i._context,en(d,u),($=(m=d.component)==null?void 0:m.exposed)==null||$.open(),e&&e.time!=null&&(a=setTimeout(()=>{var f,k;(k=(f=d.component)==null?void 0:f.exposed)==null||k.close(),o&&o(u.id),setTimeout(()=>{en(null,u),document.body.contains(u)&&document.body.removeChild(u)},2e3),wn(u.id)},e.time)),Mt({modalContainer:u,modalInstance:d}),u.id},close:s=>{var e,o;if(s!=null&&Nt(s)){const a=Rt(s);(o=(e=a.modalInstance.component)==null?void 0:e.exposed)==null||o.close(),setTimeout(()=>{en(null,a.modalContainer),document.body.contains(a.modalContainer)&&document.body.removeChild(a.modalContainer)},2e3)}wn(s)},closeAll:()=>{N.forEach(s=>{var e,o;(o=(e=s.modalInstance.component)==null?void 0:e.exposed)==null||o.close(),setTimeout(()=>{en(null,s.modalContainer),document.body.contains(s.modalContainer)&&document.body.removeChild(s.modalContainer)},2e3)}),Tt()},reset:s=>{var e,o;(o=(e=s.modalInstance.component)==null?void 0:e.exposed)==null||o.reset()}},Xt={class:"markdown-body"},Yt=n("fieldset",{class:"layui-elem-field layui-field-title"},[n("legend",null,"\u5B89\u88C5")],-1),Ut=n("p",null,"\u901A\u8FC7 npm \u5DE5\u5177\u5B89\u88C5 :",-1),Kt=n("div",{class:"language-"},[n("pre",null,[n("code",{"v-pre":""},`npm install @layui/layer-vue +`)])],-1),Gt=n("p",null,"\u5728 main.ts \u5B8C\u6210 layer-vue \u7684\u6CE8\u518C, \u5E76\u5BFC\u5165 css \u6587\u4EF6 :",-1),Jt=n("div",{class:"language-"},[n("pre",null,[n("code",{"v-pre":""},`import App from './App'; +import { createApp } from 'vue'; +import layer from '@layui/layer-vue'; +import '@layui/layer-vue/lib/index.css'; + +const app = createApp(App); + +app.use(layer).mount('#app'); +`)])],-1),Qt=n("fieldset",{class:"layui-elem-field layui-field-title"},[n("legend",null,"\u573A\u666F")],-1),Zt=n("p",null,"\u56E0 layer-vue \u53EF\u4EE5\u72EC\u7ACB\u4F7F\u7528\uFF0C\u4E5F\u53EF\u4EE5\u5728 layui-vue \u4E2D\u4F7F\u7528\u3002\u6240\u4EE5\u8BF7\u6309\u7167\u4F60\u7684\u5B9E\u9645\u9700\u6C42\u6765\u9009\u62E9\u3002",-1),ns=n("p",null,"\u5982\u679C\u4F60\u60F3\u72EC\u7ACB\u4F7F\u7528 layer-vue, \u4F60\u9700\u8981\u901A\u8FC7 npm \u5B89\u88C5\u3002\u5982\u679C\u4F60\u4F7F\u7528\u7684\u662F layui-vue, \u90A3\u4E48\u4F60\u65E0\u9700\u5B89\u88C5 layer-vue\u3002",-1),ts=n("fieldset",{class:"layui-elem-field layui-field-title"},[n("legend",null,"\u5165\u95E8")],-1),ss=n("p",null,[t("\u6211\u4EEC\u63D0\u4F9B "),n("code",null,"layer"),t(" \u51FD\u6570\u6765\u521B\u5EFA\u5F39\u51FA\u5C42 :")],-1),as=n("div",{class:"language-"},[n("pre",null,[n("code",{"v-pre":""},` + + + + + + +
+ +
+ + + diff --git a/package/layer-document/docs/.keep b/package/document-layer/docs/.keep similarity index 100% rename from package/layer-document/docs/.keep rename to package/document-layer/docs/.keep diff --git a/package/layer-document/docs/zh-CN/index.md b/package/document-layer/docs/zh-CN/index.md similarity index 100% rename from package/layer-document/docs/zh-CN/index.md rename to package/document-layer/docs/zh-CN/index.md diff --git a/package/layer-document/entry-client.ts b/package/document-layer/entry-client.ts similarity index 100% rename from package/layer-document/entry-client.ts rename to package/document-layer/entry-client.ts diff --git a/package/layer-document/entry-server.ts b/package/document-layer/entry-server.ts similarity index 100% rename from package/layer-document/entry-server.ts rename to package/document-layer/entry-server.ts diff --git a/package/layer-document/index.html b/package/document-layer/index.html similarity index 100% rename from package/layer-document/index.html rename to package/document-layer/index.html diff --git a/package/layer-document/main.ts b/package/document-layer/main.ts similarity index 100% rename from package/layer-document/main.ts rename to package/document-layer/main.ts diff --git a/package/layer-document/package.json b/package/document-layer/package.json similarity index 100% rename from package/layer-document/package.json rename to package/document-layer/package.json diff --git a/package/document-layer/public/favicon.ico b/package/document-layer/public/favicon.ico new file mode 100644 index 00000000..705c121f Binary files /dev/null and b/package/document-layer/public/favicon.ico differ diff --git a/package/layer-document/src/assets/css/code.css b/package/document-layer/src/assets/css/code.css similarity index 100% rename from package/layer-document/src/assets/css/code.css rename to package/document-layer/src/assets/css/code.css diff --git a/package/layer-document/src/assets/css/index.css b/package/document-layer/src/assets/css/index.css similarity index 100% rename from package/layer-document/src/assets/css/index.css rename to package/document-layer/src/assets/css/index.css diff --git a/package/document-layer/src/assets/logo.jpg b/package/document-layer/src/assets/logo.jpg new file mode 100644 index 00000000..1e600184 Binary files /dev/null and b/package/document-layer/src/assets/logo.jpg differ diff --git a/package/layer-document/src/assets/logo.png b/package/document-layer/src/assets/logo.png similarity index 100% rename from package/layer-document/src/assets/logo.png rename to package/document-layer/src/assets/logo.png diff --git a/package/layer-document/src/components/Children1.vue b/package/document-layer/src/components/Children1.vue similarity index 100% rename from package/layer-document/src/components/Children1.vue rename to package/document-layer/src/components/Children1.vue diff --git a/package/layer-document/src/components/Children2.vue b/package/document-layer/src/components/Children2.vue similarity index 100% rename from package/layer-document/src/components/Children2.vue rename to package/document-layer/src/components/Children2.vue diff --git a/package/layer-document/src/components/LayCode.vue b/package/document-layer/src/components/LayCode.vue similarity index 100% rename from package/layer-document/src/components/LayCode.vue rename to package/document-layer/src/components/LayCode.vue diff --git a/package/layer-document/src/layouts/Layout.vue b/package/document-layer/src/layouts/Layout.vue similarity index 100% rename from package/layer-document/src/layouts/Layout.vue rename to package/document-layer/src/layouts/Layout.vue diff --git a/package/layer-document/src/plugin/common-plugins.ts b/package/document-layer/src/plugin/common-plugins.ts similarity index 100% rename from package/layer-document/src/plugin/common-plugins.ts rename to package/document-layer/src/plugin/common-plugins.ts diff --git a/package/layer-document/src/plugin/demo.ts b/package/document-layer/src/plugin/demo.ts similarity index 100% rename from package/layer-document/src/plugin/demo.ts rename to package/document-layer/src/plugin/demo.ts diff --git a/package/layer-document/src/plugin/highlight.ts b/package/document-layer/src/plugin/highlight.ts similarity index 100% rename from package/layer-document/src/plugin/highlight.ts rename to package/document-layer/src/plugin/highlight.ts diff --git a/package/layer-document/src/plugin/pre-wrapper.ts b/package/document-layer/src/plugin/pre-wrapper.ts similarity index 100% rename from package/layer-document/src/plugin/pre-wrapper.ts rename to package/document-layer/src/plugin/pre-wrapper.ts diff --git a/package/layer-document/src/plugin/snippet.ts b/package/document-layer/src/plugin/snippet.ts similarity index 100% rename from package/layer-document/src/plugin/snippet.ts rename to package/document-layer/src/plugin/snippet.ts diff --git a/package/layer-document/src/router/index.ts b/package/document-layer/src/router/index.ts similarity index 100% rename from package/layer-document/src/router/index.ts rename to package/document-layer/src/router/index.ts diff --git a/package/layer-document/src/router/zh-CN.ts b/package/document-layer/src/router/zh-CN.ts similarity index 100% rename from package/layer-document/src/router/zh-CN.ts rename to package/document-layer/src/router/zh-CN.ts diff --git a/package/layer-document/vite.config.ts b/package/document-layer/vite.config.ts similarity index 100% rename from package/layer-document/vite.config.ts rename to package/document-layer/vite.config.ts diff --git a/package/layer/src/component/Iframe.vue b/package/layer/src/component/Iframe.vue index 408e9023..51016dc9 100644 --- a/package/layer/src/component/Iframe.vue +++ b/package/layer/src/component/Iframe.vue @@ -25,4 +25,4 @@ const src = computed(() => { frameborder="0" :src="src" > - + \ No newline at end of file diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8b58f8c7..fdd7a819 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -93,7 +93,7 @@ importers: uuid: 8.3.2 vue-i18n: 9.1.10_vue@3.2.37 - package/document: + package/document-component: specifiers: '@types/markdown-it': ^12.2.3 '@types/markdown-it-container': ^2.0.4 @@ -115,20 +115,59 @@ importers: dependencies: '@vueuse/core': 8.7.3_vue@3.2.37 axios: 0.27.2 - pinia: 2.0.14_typescript@4.6.3+vue@3.2.37 + pinia: 2.0.14_typescript@4.7.3+vue@3.2.37 pinia-plugin-persist: 1.0.0_pinia@2.0.14+vue@3.2.37 vue-i18n: 9.1.10_vue@3.2.37 vue-router: 4.0.16_vue@3.2.37 devDependencies: '@types/markdown-it': 12.2.3 '@types/markdown-it-container': 2.0.5 - '@types/prettier': registry.npmmirror.com/@types/prettier/2.6.0 + '@types/prettier': 2.6.0 escape-html: 1.0.3 markdown-it-container: 3.0.0 prismjs: 1.28.0 rimraf: 3.0.2 - rollup: 2.70.1 - typescript: 4.6.3 + rollup: 2.75.5 + typescript: 4.7.3 + vite: 2.9.8_less@4.1.2 + vite-plugin-md: 0.13.1_vite@2.9.8 + + package/document-layer: + specifiers: + '@types/markdown-it': ^12.2.3 + '@types/markdown-it-container': ^2.0.4 + '@types/prettier': ^2.4.4 + '@vueuse/core': ^8.7.3 + axios: ^0.27.2 + escape-html: ^1.0.3 + markdown-it-container: ^3.0.0 + pinia: ^2.0.14 + pinia-plugin-persist: ^1.0.0 + prismjs: ^1.28.0 + rimraf: ^3.0.2 + rollup: ^2.70.1 + typescript: ^4.6.3 + vite: 2.9.8 + vite-plugin-md: ^0.13.1 + vue-i18n: ^9.1.10 + vue-router: ^4.0.15 + dependencies: + '@vueuse/core': 8.7.3_vue@3.2.37 + axios: 0.27.2 + pinia: 2.0.14_typescript@4.7.3+vue@3.2.37 + pinia-plugin-persist: 1.0.0_pinia@2.0.14+vue@3.2.37 + vue-i18n: 9.1.10_vue@3.2.37 + vue-router: 4.0.16_vue@3.2.37 + devDependencies: + '@types/markdown-it': 12.2.3 + '@types/markdown-it-container': 2.0.5 + '@types/prettier': 2.6.0 + escape-html: 1.0.3 + markdown-it-container: 3.0.0 + prismjs: 1.28.0 + rimraf: 3.0.2 + rollup: 2.75.5 + typescript: 4.7.3 vite: 2.9.8_less@4.1.2 vite-plugin-md: 0.13.1_vite@2.9.8 @@ -136,7 +175,10 @@ importers: specifiers: {} package/layer: - specifiers: {} + specifiers: + '@babel/plugin-transform-runtime': ^7.18.5 + devDependencies: + '@babel/plugin-transform-runtime': 7.18.5_@babel+core@7.17.9 packages: @@ -341,6 +383,11 @@ packages: engines: {node: '>=6.9.0'} dev: true + /@babel/helper-plugin-utils/7.17.12: + resolution: {integrity: sha512-JDkf04mqtN3y4iAbO1hv9U2ARpPyPL1zqyWs/2WG1pgSq9llHFjStX5jdxb84himgJm+8Ng+x0oiWF/nw/XQKA==} + engines: {node: '>=6.9.0'} + dev: true + /@babel/helper-remap-async-to-generator/7.16.8: resolution: {integrity: sha512-fm0gH7Flb8H51LqJHy3HJ3wnE1+qtYR2A99K06ahwrawLdOFsCEWjZOrYricXJHoPSudNKxrMBUPEIPxiIIvBw==} engines: {node: '>=6.9.0'} @@ -1066,6 +1113,23 @@ packages: '@babel/helper-plugin-utils': 7.16.7 dev: true + /@babel/plugin-transform-runtime/7.18.5_@babel+core@7.17.9: + resolution: {integrity: sha512-Q17hHxXr2fplrE+5BSC1j1Fo5cOA8YeP8XW3/1paI8MzF/faZGh0MaH1KC4jLAvqLPamQWHB5/B7KqSLY1kuHA==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.17.9 + '@babel/helper-module-imports': 7.16.7 + '@babel/helper-plugin-utils': 7.17.12 + babel-plugin-polyfill-corejs2: 0.3.1_@babel+core@7.17.9 + babel-plugin-polyfill-corejs3: 0.5.2_@babel+core@7.17.9 + babel-plugin-polyfill-regenerator: 0.3.1_@babel+core@7.17.9 + semver: 6.3.0 + transitivePeerDependencies: + - supports-color + dev: true + /@babel/plugin-transform-shorthand-properties/7.16.7_@babel+core@7.17.9: resolution: {integrity: sha512-hah2+FEnoRoATdIb05IOXf+4GzXYTq75TVhIn1PewihbpyrNWUt2JbudKQOETWw6QpLe+AIUpJ5MVLYTQbeeUg==} engines: {node: '>=6.9.0'} @@ -1699,6 +1763,10 @@ packages: resolution: {integrity: sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA==} dev: true + /@types/prettier/2.6.0: + resolution: {integrity: sha512-G/AdOadiZhnJp0jXCaBQU449W2h716OW/EoXeYkCytxKL06X1WCXB4DZpp8TpZ8eyIJVS1cw4lrlkkSYU21cDw==} + dev: true + /@typescript-eslint/eslint-plugin/5.17.0_ec46de5930d083862c6e4af5d970d096: resolution: {integrity: sha512-qVstvQilEd89HJk3qcbKt/zZrfBZ+9h2ynpAGlWjWiizA7m/MtLT9RoX6gjtpE500vfIg8jogAkDzdCxbsFASQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} @@ -1887,31 +1955,16 @@ packages: estree-walker: 2.0.2 magic-string: 0.25.9 - /@vue/reactivity/3.2.33: - resolution: {integrity: sha512-62Sq0mp9/0bLmDuxuLD5CIaMG2susFAGARLuZ/5jkU1FCf9EDbwUuF+BO8Ub3Rbodx0ziIecM/NsmyjardBxfQ==} - dependencies: - '@vue/shared': 3.2.33 - dev: true - /@vue/reactivity/3.2.37: resolution: {integrity: sha512-/7WRafBOshOc6m3F7plwzPeCu/RCVv9uMpOwa/5PiY1Zz+WLVRWiy0MYKwmg19KBdGtFWsmZ4cD+LOdVPcs52A==} dependencies: '@vue/shared': 3.2.37 - dev: false - - /@vue/runtime-core/3.2.33: - resolution: {integrity: sha512-N2D2vfaXsBPhzCV3JsXQa2NECjxP3eXgZlFqKh4tgakp3iX6LCGv76DLlc+IfFZq+TW10Y8QUfeihXOupJ1dGw==} - dependencies: - '@vue/reactivity': 3.2.33 - '@vue/shared': 3.2.33 - dev: true /@vue/runtime-core/3.2.37: resolution: {integrity: sha512-JPcd9kFyEdXLl/i0ClS7lwgcs0QpUAWj+SKX2ZC3ANKi1U4DOtiEr6cRqFXsPwY5u1L9fAjkinIdB8Rz3FoYNQ==} dependencies: '@vue/reactivity': 3.2.37 '@vue/shared': 3.2.37 - dev: false /@vue/runtime-dom/3.2.37: resolution: {integrity: sha512-HimKdh9BepShW6YozwRKAYjYQWg9mQn63RGEiSswMbW+ssIht1MILYlVGkAGGQbkhSh31PCdoUcfiu4apXJoPw==} @@ -1930,10 +1983,6 @@ packages: '@vue/shared': 3.2.37 vue: 3.2.37 - /@vue/shared/3.2.33: - resolution: {integrity: sha512-UBc1Pg1T3yZ97vsA2ueER0F6GbJebLHYlEi4ou1H5YL4KWvMOOWwpYo9/QpWq93wxKG6Wo13IY74Hcn/f7c7Bg==} - dev: true - /@vue/shared/3.2.37: resolution: {integrity: sha512-4rSJemR2NQIo9Klm1vabqWjD8rs/ZaJSzMxkMNeJS6lHiUjjUeYFbooN19NgFjztubEKh3WlZUeOLVdbbUWHsw==} @@ -2800,7 +2849,7 @@ packages: dev: true /escape-html/1.0.3: - resolution: {integrity: sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=} + resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==} dev: true /escape-string-regexp/1.0.5: @@ -3012,7 +3061,7 @@ packages: dev: true /extend-shallow/2.0.1: - resolution: {integrity: sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=} + resolution: {integrity: sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==} engines: {node: '>=0.10.0'} dependencies: is-extendable: 0.1.1 @@ -3470,7 +3519,7 @@ packages: dev: true /is-extendable/0.1.1: - resolution: {integrity: sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=} + resolution: {integrity: sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==} engines: {node: '>=0.10.0'} dev: true @@ -3739,7 +3788,7 @@ packages: dev: true /mdurl/1.0.1: - resolution: {integrity: sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=} + resolution: {integrity: sha512-/sKlQJCBYVY9Ers9hqzKou4H6V5UWc/M59TH2dvkt+84itfnq7uFOMLpOiOS4ujvHP4etln18fmIxA5R5fll0g==} dev: true /meow/8.1.2: @@ -4069,12 +4118,12 @@ packages: '@vue/composition-api': optional: true dependencies: - pinia: 2.0.14_typescript@4.6.3+vue@3.2.37 + pinia: 2.0.14_typescript@4.7.3+vue@3.2.37 vue: 3.2.37 vue-demi: 0.12.5_vue@3.2.37 dev: false - /pinia/2.0.14_typescript@4.6.3+vue@3.2.37: + /pinia/2.0.14_typescript@4.7.3+vue@3.2.37: resolution: {integrity: sha512-0nPuZR4TetT/WcLN+feMSjWJku3SQU7dBbXC6uw+R6FLQJCsg+/0pzXyD82T1FmAYe0lsx+jnEDQ1BLgkRKlxA==} peerDependencies: '@vue/composition-api': ^1.4.0 @@ -4087,7 +4136,7 @@ packages: optional: true dependencies: '@vue/devtools-api': 6.1.4 - typescript: 4.6.3 + typescript: 4.7.3 vue: 3.2.37 vue-demi: 0.12.5_vue@3.2.37 dev: false @@ -4298,14 +4347,6 @@ packages: glob: 7.2.0 dev: true - /rollup/2.70.1: - resolution: {integrity: sha512-CRYsI5EuzLbXdxC6RnYhOuRdtz4bhejPMSWjsFLfVM/7w/85n2szZv6yExqUXsBdz5KT8eoubeyDUDjhLHEslA==} - engines: {node: '>=10.0.0'} - hasBin: true - optionalDependencies: - fsevents: 2.3.2 - dev: true - /rollup/2.75.5: resolution: {integrity: sha512-JzNlJZDison3o2mOxVmb44Oz7t74EfSd1SQrplQk0wSaXV7uLQXtVdHbxlcT3w+8tZ1TL4r/eLfc7nAbz38BBA==} engines: {node: '>=10.0.0'} @@ -4446,7 +4487,7 @@ packages: dev: true /sprintf-js/1.0.3: - resolution: {integrity: sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=} + resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} dev: true /string-width/2.1.1: @@ -4494,7 +4535,7 @@ packages: dev: true /strip-bom-string/1.0.0: - resolution: {integrity: sha1-5SEekiQ2n7uB1jOi8ABE3IztrZI=} + resolution: {integrity: sha512-uCC2VHvQRYu+lMh4My/sFNmF2klFymLX1wHJeXnbEJERpV/ZsVuonzerjfrGpIGF7LBVa1O7i9kjiWvJiFck8g==} engines: {node: '>=0.10.0'} dev: true @@ -4670,12 +4711,6 @@ packages: engines: {node: '>=8'} dev: true - /typescript/4.6.3: - resolution: {integrity: sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==} - engines: {node: '>=4.2.0'} - hasBin: true - dev: true - /typescript/4.7.3: resolution: {integrity: sha512-WOkT3XYvrpXx4vMMqlD+8R8R37fZkjyLGlxavMc4iB8lrl8L0DeTcHbYgw/v0N/z9wAFsgBhcsF0ruoySS22mA==} engines: {node: '>=4.2.0'} @@ -4764,7 +4799,7 @@ packages: '@antfu/utils': 0.5.2 '@rollup/pluginutils': 4.2.1 '@types/markdown-it': 12.2.3 - '@vue/runtime-core': 3.2.33 + '@vue/runtime-core': 3.2.37 gray-matter: 4.0.3 markdown-it: 13.0.1 vite: 2.9.8_less@4.1.2 @@ -4815,7 +4850,7 @@ packages: less: 4.1.2 postcss: 8.4.13 resolve: 1.22.0 - rollup: 2.70.1 + rollup: 2.75.5 optionalDependencies: fsevents: 2.3.2 dev: true @@ -4964,9 +4999,3 @@ packages: resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} engines: {node: '>=10'} dev: true - - registry.npmmirror.com/@types/prettier/2.6.0: - resolution: {integrity: sha512-G/AdOadiZhnJp0jXCaBQU449W2h716OW/EoXeYkCytxKL06X1WCXB4DZpp8TpZ8eyIJVS1cw4lrlkkSYU21cDw==, registry: https://registry.npm.taobao.org/, tarball: https://registry.npmmirror.com/@types/prettier/-/prettier-2.6.0.tgz} - name: '@types/prettier' - version: 2.6.0 - dev: true