From 5922967b83589dc91fc66db0d0b9d1483b19b7d7 Mon Sep 17 00:00:00 2001 From: kola-web Date: Thu, 23 Apr 2026 12:27:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E7=BA=BF=E7=9B=B8=E5=85=B3=E5=86=85?= =?UTF-8?q?=E5=AE=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .babelrc | 0 .deployment | 0 .editorconfig | 0 .env.bak | 0 .env.production | 0 .env.test | 0 .eslintrc.js | 0 .gitignore | 0 .husky/common.sh | 0 .husky/pre-commit | 0 .nuxt/App.js | 36 +- .nuxt/axios.js | 2 +- .nuxt/client.js | 257 +- .nuxt/components/index.js | 22 +- .nuxt/components/nuxt-build-indicator.vue | 143 - .nuxt/components/nuxt-child.js | 1 - .nuxt/components/nuxt-error.vue | 2 - .nuxt/components/nuxt.js | 5 +- .nuxt/dist/client/0051f4c.js | 1 + .nuxt/dist/client/3490718.js | 1 + .nuxt/dist/client/4530c8c.js | 1 + .nuxt/dist/client/4864bb1.js | 1 + .nuxt/dist/client/50cfb23.js | 1 + .nuxt/dist/client/5207fe0.js | 1 + .nuxt/dist/client/6445172.js | 1 + .nuxt/dist/client/6dbe3f4.js | 1 + .nuxt/dist/client/6dd7e45.js | 2 + .nuxt/dist/client/7335168.js | 1 + .nuxt/dist/client/75e775e.js | 1 + .nuxt/dist/client/7a1b9f9.js | 1 + .nuxt/dist/client/8251167.js | 1 + .nuxt/dist/client/87c1552.js | 1 + .nuxt/dist/client/93710f5.js | 1 + .nuxt/dist/client/95f4e2e.js | 1 + .nuxt/dist/client/9d88f11.js | 1 + .nuxt/dist/client/9d93c64.js | 2 + .nuxt/dist/client/LICENSES | 73 + .nuxt/dist/client/a0ed511.js | 1 + .nuxt/dist/client/b4d6cc7.js | 1 + .nuxt/dist/client/c971676.js | 1 + .nuxt/dist/client/d10b0e8.js | 1 + .nuxt/dist/client/eca4e4d.js | 1 + .nuxt/dist/client/ed411e0.js | 1 + .nuxt/dist/client/f2063a9.js | 1 + .nuxt/dist/client/f9b5fe2.js | 1 + .nuxt/dist/client/fbdded5.js | 1 + .nuxt/dist/client/fonts/element-icons.313f7da.woff | Bin 0 -> 28200 bytes .nuxt/dist/client/fonts/element-icons.4520188.ttf | Bin 0 -> 55956 bytes .nuxt/dist/client/img/article_cover.1918361.png | Bin 0 -> 26878 bytes .nuxt/dist/client/img/beans.96d5ea2.png | Bin 0 -> 12818 bytes .nuxt/dist/client/img/beans_popup_bg.fec0553.png | Bin 0 -> 76306 bytes .../client/img/chatbot_audio_feature.458e9b3.png | Bin 0 -> 25253 bytes .nuxt/dist/client/img/comment.a8854d8.png | Bin 0 -> 2008 bytes .nuxt/dist/client/img/died-popup.7551696.png | Bin 0 -> 272983 bytes .../client/img/doctor_default_poster.4480e36.png | Bin 0 -> 19620 bytes .nuxt/dist/client/img/doctor_list_top.a537251.png | Bin 0 -> 380365 bytes .../dist/client/img/doctor_pause_icon.4b47a3c.png | Bin 0 -> 1091 bytes .nuxt/dist/client/img/doctor_play_icon.b7d2bd8.png | Bin 0 -> 1444 bytes .nuxt/dist/client/img/fail_page_img.ba37fc8.png | Bin 0 -> 31703 bytes .nuxt/dist/client/img/follow_qrcode.5e02c5f.png | Bin 0 -> 10674 bytes .../dist/client/img/follow_qrcode_test.5e02c5f.png | Bin 0 -> 10674 bytes .nuxt/dist/client/img/home_logo.9eb4c10.png | Bin 0 -> 1888406 bytes .nuxt/dist/client/img/like.089b606.png | Bin 0 -> 1319 bytes .nuxt/dist/client/img/like_chosen.3298bf0.png | Bin 0 -> 1324 bytes .../client/img/mobile_doctor_arrow.5ec30a6.png | Bin 0 -> 2046 bytes .../client/img/mobile_doctor_title.f6d35bb.png | Bin 0 -> 5557 bytes .nuxt/dist/client/img/mobile_logo.f089b51.png | Bin 0 -> 5915 bytes .nuxt/dist/client/img/novocare_qrcode.05479af.png | Bin 0 -> 126831 bytes .../client/img/pause_chatbot_audio.48f50e9.png | Bin 0 -> 5886 bytes .../dist/client/img/play_chatbot_audio.87713b4.png | Bin 0 -> 5786 bytes .nuxt/dist/client/img/public.3e79446.png | Bin 0 -> 57535 bytes .nuxt/dist/client/img/share_point.40a9d59.png | Bin 0 -> 14784 bytes .nuxt/dist/client/img/share_qq.2c430c1.png | Bin 0 -> 2620 bytes .nuxt/dist/client/img/share_wechat.64543c8.png | Bin 0 -> 3208 bytes .nuxt/dist/client/img/share_weibo.65d6c36.png | Bin 0 -> 3862 bytes .nuxt/dist/client/img/video_play_icon.edf9948.png | Bin 0 -> 9321 bytes .nuxt/dist/client/img/wechat_color.f9df5a2.png | Bin 0 -> 1678 bytes .nuxt/dist/client/img/wechat_white.73720a3.png | Bin 0 -> 1103 bytes .nuxt/dist/server/client.manifest.json | 6083 ++ .nuxt/dist/server/components/barrage.js | 477 + .nuxt/dist/server/components/barrage.js.map | 1 + .nuxt/dist/server/components/doctor-item.js | 145 + .nuxt/dist/server/components/doctor-item.js.map | 1 + .nuxt/dist/server/components/doctor-video-item.js | 138 + .../server/components/doctor-video-item.js.map | 1 + .nuxt/dist/server/components/user-info-common.js | 405 + .../dist/server/components/user-info-common.js.map | 1 + .../server/components/video-article-list-item.js | 160 + .../components/video-article-list-item.js.map | 1 + .nuxt/dist/server/index.spa.html | 9 + .nuxt/dist/server/index.ssr.html | 9 + .nuxt/dist/server/pages/article/_id.js | 953 + .nuxt/dist/server/pages/article/_id.js.map | 1 + .nuxt/dist/server/pages/article/index.js | 314 + .nuxt/dist/server/pages/article/index.js.map | 1 + .nuxt/dist/server/pages/doctor/_id.js | 288 + .nuxt/dist/server/pages/doctor/_id.js.map | 1 + .nuxt/dist/server/pages/doctor/index.js | 502 + .nuxt/dist/server/pages/doctor/index.js.map | 1 + .nuxt/dist/server/pages/index.js | 804 + .nuxt/dist/server/pages/index.js.map | 1 + .nuxt/dist/server/pages/more.js | 652 + .nuxt/dist/server/pages/more.js.map | 1 + .nuxt/dist/server/pages/other/about.js | 129 + .nuxt/dist/server/pages/other/about.js.map | 1 + .nuxt/dist/server/pages/other/agreement.js | 75 + .nuxt/dist/server/pages/other/agreement.js.map | 1 + .nuxt/dist/server/pages/other/cookies.js | 128 + .nuxt/dist/server/pages/other/cookies.js.map | 1 + .nuxt/dist/server/pages/other/corporate.js | 68 + .nuxt/dist/server/pages/other/corporate.js.map | 1 + .nuxt/dist/server/pages/other/disclaimer.js | 68 + .nuxt/dist/server/pages/other/disclaimer.js.map | 1 + .nuxt/dist/server/pages/other/link.js | 121 + .nuxt/dist/server/pages/other/link.js.map | 1 + .nuxt/dist/server/pages/other/privacy.js | 75 + .nuxt/dist/server/pages/other/privacy.js.map | 1 + .nuxt/dist/server/pages/search/index.js | 453 + .nuxt/dist/server/pages/search/index.js.map | 1 + .nuxt/dist/server/pages/user/index.js | 578 + .nuxt/dist/server/pages/user/index.js.map | 1 + .nuxt/dist/server/pages/user/setting.js | 393 + .nuxt/dist/server/pages/user/setting.js.map | 1 + .nuxt/dist/server/pages/video/_id.js | 283 + .nuxt/dist/server/pages/video/_id.js.map | 1 + .nuxt/dist/server/pages/video/index.js | 297 + .nuxt/dist/server/pages/video/index.js.map | 1 + .nuxt/dist/server/server.js | 74296 +++++++++++++++++++ .nuxt/dist/server/server.js.map | 1 + .nuxt/dist/server/server.manifest.json | 55 + .nuxt/index.js | 9 +- .nuxt/loading.html | 2 - .nuxt/mixins/fetch.server.js | 4 - .nuxt/router.js | 10 +- .nuxt/router.scrollBehavior.js | 8 +- .nuxt/routes.json | 64 +- .nuxt/server.js | 220 +- .nuxt/store.js | 18 - .nuxt/utils.js | 40 +- .nuxt/views/error.html | 2 +- .prettierignore | 0 .prettierrc | 0 README.md | 6 +- deploy.sh | 0 dev/azure/deploy/deploy.sh | 0 dev/azure/deploy/init-repo.sh | 0 dev/azure/nuxt/package.json | 0 dev/build/cpSource.sh | 0 dev/conf/nginx.conf | 0 dev/conf/nginx/default.conf | 0 dev/conf/php/opcache.ini | 0 dev/conf/supervisor/nginx.conf | 0 dev/conf/supervisor/php-fpm.conf | 0 dev/conf/supervisor/worker.conf | 0 dev/conf/template/nginx/default.conf | 0 dev/conf/template/nginx/run-nginx.sh | 0 docker-compose.yml | 0 login-docker.sh | 0 nuxt.config.js | 0 package-lock.json | 14400 ++-- package.json.bak | 0 pnpm-lock.yaml | 0 server.js | 0 src/assets/css/_variable.scss | 0 src/assets/css/common.scss | 0 src/assets/images/article_cover.jpg | Bin src/assets/images/article_cover.png | Bin src/assets/images/beans.png | Bin src/assets/images/beans_popup_bg.png | Bin src/assets/images/chatbot_audio_feature.png | Bin src/assets/images/comment.png | Bin src/assets/images/died-popup.png | Bin 0 -> 272983 bytes src/assets/images/died-popup.png:Zone.Identifier | Bin 0 -> 56 bytes src/assets/images/doctor_default_poster.png | Bin src/assets/images/doctor_list_top.png | Bin src/assets/images/doctor_pause_icon.png | Bin src/assets/images/doctor_play_icon.png | Bin src/assets/images/fail_page_img.png | Bin src/assets/images/follow_qrcode.png | Bin src/assets/images/heart.png | Bin src/assets/images/heart_gray.png | Bin src/assets/images/home_logo.png | Bin src/assets/images/like.png | Bin src/assets/images/like_chosen.png | Bin src/assets/images/logout.png | Bin src/assets/images/mobile_doctor_arrow.png | Bin src/assets/images/mobile_doctor_play.png | Bin src/assets/images/mobile_doctor_title.png | Bin src/assets/images/mobile_logo.png | Bin src/assets/images/novocare_qrcode.png | Bin src/assets/images/pause_chatbot_audio.png | Bin src/assets/images/play_chatbot_audio.png | Bin src/assets/images/share_point.png | Bin src/assets/images/share_qq.png | Bin src/assets/images/share_wechat.png | Bin src/assets/images/share_weibo.png | Bin src/assets/images/video_play_icon.png | Bin src/assets/images/wechat_color.png | Bin src/assets/images/wechat_white.png | Bin src/components/Barrage.vue | 0 src/components/BottomRightFixed.vue | 0 src/components/CommonHeader.vue | 72 +- src/components/DoctorItem.vue | 0 src/components/DoctorVideoItem.vue | 0 src/components/MobileHeader.vue | 0 src/components/NotLogin.vue | 0 src/components/UserInfoCommon.vue | 0 src/components/VideoArticleListItem.vue | 0 src/components/WebFooter.vue | 0 src/components/WebHeader.vue | 0 src/layouts/common.vue | 4 + src/layouts/detail.vue | 3 + src/layouts/diedPopup.vue | 59 + src/layouts/error.vue | 0 src/middleware/authenticated.js | 0 src/middleware/device.js | 0 src/pages/article/_id.vue | 0 src/pages/article/index.vue | 0 src/pages/doctor/_id.vue | 0 src/pages/doctor/index.vue | 0 src/pages/index.vue | 0 src/pages/more.vue | 0 src/pages/other/about.vue | 0 src/pages/other/agreement.vue | 0 src/pages/other/cookies.vue | 0 src/pages/other/corporate.vue | 0 src/pages/other/disclaimer.vue | 0 src/pages/other/link.vue | 0 src/pages/other/privacy.vue | 0 src/pages/search/index.vue | 0 src/pages/user/index.vue | 0 src/pages/user/setting.vue | 0 src/pages/video/_id.vue | 0 src/pages/video/index.vue | 0 src/plugins/axios.js | 0 src/plugins/baidu.js | 0 src/plugins/element-ui.js | 0 src/plugins/filters.js | 0 src/plugins/swiper.js | 0 src/plugins/video.js | 0 src/plugins/vueqr.js | 0 src/plugins/wx-share.js | 0 src/store/README.md | 0 src/store/device.js | 0 src/store/index.js | 0 src/store/user.js | 0 web.config | 0 247 files changed, 96043 insertions(+), 7430 deletions(-) mode change 100755 => 100644 .babelrc mode change 100755 => 100644 .deployment mode change 100755 => 100644 .editorconfig mode change 100755 => 100644 .env.bak mode change 100755 => 100644 .env.production mode change 100755 => 100644 .env.test mode change 100755 => 100644 .eslintrc.js mode change 100755 => 100644 .gitignore mode change 100755 => 100644 .husky/common.sh mode change 100755 => 100644 .husky/pre-commit delete mode 100644 .nuxt/components/nuxt-build-indicator.vue create mode 100644 .nuxt/dist/client/0051f4c.js create mode 100644 .nuxt/dist/client/3490718.js create mode 100644 .nuxt/dist/client/4530c8c.js create mode 100644 .nuxt/dist/client/4864bb1.js create mode 100644 .nuxt/dist/client/50cfb23.js create mode 100644 .nuxt/dist/client/5207fe0.js create mode 100644 .nuxt/dist/client/6445172.js create mode 100644 .nuxt/dist/client/6dbe3f4.js create mode 100644 .nuxt/dist/client/6dd7e45.js create mode 100644 .nuxt/dist/client/7335168.js create mode 100644 .nuxt/dist/client/75e775e.js create mode 100644 .nuxt/dist/client/7a1b9f9.js create mode 100644 .nuxt/dist/client/8251167.js create mode 100644 .nuxt/dist/client/87c1552.js create mode 100644 .nuxt/dist/client/93710f5.js create mode 100644 .nuxt/dist/client/95f4e2e.js create mode 100644 .nuxt/dist/client/9d88f11.js create mode 100644 .nuxt/dist/client/9d93c64.js create mode 100644 .nuxt/dist/client/LICENSES create mode 100644 .nuxt/dist/client/a0ed511.js create mode 100644 .nuxt/dist/client/b4d6cc7.js create mode 100644 .nuxt/dist/client/c971676.js create mode 100644 .nuxt/dist/client/d10b0e8.js create mode 100644 .nuxt/dist/client/eca4e4d.js create mode 100644 .nuxt/dist/client/ed411e0.js create mode 100644 .nuxt/dist/client/f2063a9.js create mode 100644 .nuxt/dist/client/f9b5fe2.js create mode 100644 .nuxt/dist/client/fbdded5.js create mode 100644 .nuxt/dist/client/fonts/element-icons.313f7da.woff create mode 100644 .nuxt/dist/client/fonts/element-icons.4520188.ttf create mode 100644 .nuxt/dist/client/img/article_cover.1918361.png create mode 100644 .nuxt/dist/client/img/beans.96d5ea2.png create mode 100644 .nuxt/dist/client/img/beans_popup_bg.fec0553.png create mode 100644 .nuxt/dist/client/img/chatbot_audio_feature.458e9b3.png create mode 100644 .nuxt/dist/client/img/comment.a8854d8.png create mode 100644 .nuxt/dist/client/img/died-popup.7551696.png create mode 100644 .nuxt/dist/client/img/doctor_default_poster.4480e36.png create mode 100644 .nuxt/dist/client/img/doctor_list_top.a537251.png create mode 100644 .nuxt/dist/client/img/doctor_pause_icon.4b47a3c.png create mode 100644 .nuxt/dist/client/img/doctor_play_icon.b7d2bd8.png create mode 100644 .nuxt/dist/client/img/fail_page_img.ba37fc8.png create mode 100644 .nuxt/dist/client/img/follow_qrcode.5e02c5f.png create mode 100644 .nuxt/dist/client/img/follow_qrcode_test.5e02c5f.png create mode 100644 .nuxt/dist/client/img/home_logo.9eb4c10.png create mode 100644 .nuxt/dist/client/img/like.089b606.png create mode 100644 .nuxt/dist/client/img/like_chosen.3298bf0.png create mode 100644 .nuxt/dist/client/img/mobile_doctor_arrow.5ec30a6.png create mode 100644 .nuxt/dist/client/img/mobile_doctor_title.f6d35bb.png create mode 100644 .nuxt/dist/client/img/mobile_logo.f089b51.png create mode 100644 .nuxt/dist/client/img/novocare_qrcode.05479af.png create mode 100644 .nuxt/dist/client/img/pause_chatbot_audio.48f50e9.png create mode 100644 .nuxt/dist/client/img/play_chatbot_audio.87713b4.png create mode 100644 .nuxt/dist/client/img/public.3e79446.png create mode 100644 .nuxt/dist/client/img/share_point.40a9d59.png create mode 100644 .nuxt/dist/client/img/share_qq.2c430c1.png create mode 100644 .nuxt/dist/client/img/share_wechat.64543c8.png create mode 100644 .nuxt/dist/client/img/share_weibo.65d6c36.png create mode 100644 .nuxt/dist/client/img/video_play_icon.edf9948.png create mode 100644 .nuxt/dist/client/img/wechat_color.f9df5a2.png create mode 100644 .nuxt/dist/client/img/wechat_white.73720a3.png create mode 100644 .nuxt/dist/server/client.manifest.json create mode 100644 .nuxt/dist/server/components/barrage.js create mode 100644 .nuxt/dist/server/components/barrage.js.map create mode 100644 .nuxt/dist/server/components/doctor-item.js create mode 100644 .nuxt/dist/server/components/doctor-item.js.map create mode 100644 .nuxt/dist/server/components/doctor-video-item.js create mode 100644 .nuxt/dist/server/components/doctor-video-item.js.map create mode 100644 .nuxt/dist/server/components/user-info-common.js create mode 100644 .nuxt/dist/server/components/user-info-common.js.map create mode 100644 .nuxt/dist/server/components/video-article-list-item.js create mode 100644 .nuxt/dist/server/components/video-article-list-item.js.map create mode 100644 .nuxt/dist/server/index.spa.html create mode 100644 .nuxt/dist/server/index.ssr.html create mode 100644 .nuxt/dist/server/pages/article/_id.js create mode 100644 .nuxt/dist/server/pages/article/_id.js.map create mode 100644 .nuxt/dist/server/pages/article/index.js create mode 100644 .nuxt/dist/server/pages/article/index.js.map create mode 100644 .nuxt/dist/server/pages/doctor/_id.js create mode 100644 .nuxt/dist/server/pages/doctor/_id.js.map create mode 100644 .nuxt/dist/server/pages/doctor/index.js create mode 100644 .nuxt/dist/server/pages/doctor/index.js.map create mode 100644 .nuxt/dist/server/pages/index.js create mode 100644 .nuxt/dist/server/pages/index.js.map create mode 100644 .nuxt/dist/server/pages/more.js create mode 100644 .nuxt/dist/server/pages/more.js.map create mode 100644 .nuxt/dist/server/pages/other/about.js create mode 100644 .nuxt/dist/server/pages/other/about.js.map create mode 100644 .nuxt/dist/server/pages/other/agreement.js create mode 100644 .nuxt/dist/server/pages/other/agreement.js.map create mode 100644 .nuxt/dist/server/pages/other/cookies.js create mode 100644 .nuxt/dist/server/pages/other/cookies.js.map create mode 100644 .nuxt/dist/server/pages/other/corporate.js create mode 100644 .nuxt/dist/server/pages/other/corporate.js.map create mode 100644 .nuxt/dist/server/pages/other/disclaimer.js create mode 100644 .nuxt/dist/server/pages/other/disclaimer.js.map create mode 100644 .nuxt/dist/server/pages/other/link.js create mode 100644 .nuxt/dist/server/pages/other/link.js.map create mode 100644 .nuxt/dist/server/pages/other/privacy.js create mode 100644 .nuxt/dist/server/pages/other/privacy.js.map create mode 100644 .nuxt/dist/server/pages/search/index.js create mode 100644 .nuxt/dist/server/pages/search/index.js.map create mode 100644 .nuxt/dist/server/pages/user/index.js create mode 100644 .nuxt/dist/server/pages/user/index.js.map create mode 100644 .nuxt/dist/server/pages/user/setting.js create mode 100644 .nuxt/dist/server/pages/user/setting.js.map create mode 100644 .nuxt/dist/server/pages/video/_id.js create mode 100644 .nuxt/dist/server/pages/video/_id.js.map create mode 100644 .nuxt/dist/server/pages/video/index.js create mode 100644 .nuxt/dist/server/pages/video/index.js.map create mode 100644 .nuxt/dist/server/server.js create mode 100644 .nuxt/dist/server/server.js.map create mode 100644 .nuxt/dist/server/server.manifest.json mode change 100755 => 100644 .prettierignore mode change 100755 => 100644 .prettierrc mode change 100755 => 100644 README.md mode change 100755 => 100644 deploy.sh mode change 100755 => 100644 dev/azure/deploy/deploy.sh mode change 100755 => 100644 dev/azure/deploy/init-repo.sh mode change 100755 => 100644 dev/azure/nuxt/package.json mode change 100755 => 100644 dev/build/cpSource.sh mode change 100755 => 100644 dev/conf/nginx.conf mode change 100755 => 100644 dev/conf/nginx/default.conf mode change 100755 => 100644 dev/conf/php/opcache.ini mode change 100755 => 100644 dev/conf/supervisor/nginx.conf mode change 100755 => 100644 dev/conf/supervisor/php-fpm.conf mode change 100755 => 100644 dev/conf/supervisor/worker.conf mode change 100755 => 100644 dev/conf/template/nginx/default.conf mode change 100755 => 100644 dev/conf/template/nginx/run-nginx.sh mode change 100755 => 100644 docker-compose.yml mode change 100755 => 100644 login-docker.sh mode change 100755 => 100644 nuxt.config.js mode change 100755 => 100644 package-lock.json mode change 100755 => 100644 package.json.bak mode change 100755 => 100644 pnpm-lock.yaml mode change 100755 => 100644 server.js mode change 100755 => 100644 src/assets/css/_variable.scss mode change 100755 => 100644 src/assets/css/common.scss mode change 100755 => 100644 src/assets/images/article_cover.jpg mode change 100755 => 100644 src/assets/images/article_cover.png mode change 100755 => 100644 src/assets/images/beans.png mode change 100755 => 100644 src/assets/images/beans_popup_bg.png mode change 100755 => 100644 src/assets/images/chatbot_audio_feature.png mode change 100755 => 100644 src/assets/images/comment.png create mode 100644 src/assets/images/died-popup.png create mode 100644 src/assets/images/died-popup.png:Zone.Identifier mode change 100755 => 100644 src/assets/images/doctor_default_poster.png mode change 100755 => 100644 src/assets/images/doctor_list_top.png mode change 100755 => 100644 src/assets/images/doctor_pause_icon.png mode change 100755 => 100644 src/assets/images/doctor_play_icon.png mode change 100755 => 100644 src/assets/images/fail_page_img.png mode change 100755 => 100644 src/assets/images/follow_qrcode.png mode change 100755 => 100644 src/assets/images/heart.png mode change 100755 => 100644 src/assets/images/heart_gray.png mode change 100755 => 100644 src/assets/images/home_logo.png mode change 100755 => 100644 src/assets/images/like.png mode change 100755 => 100644 src/assets/images/like_chosen.png mode change 100755 => 100644 src/assets/images/logout.png mode change 100755 => 100644 src/assets/images/mobile_doctor_arrow.png mode change 100755 => 100644 src/assets/images/mobile_doctor_play.png mode change 100755 => 100644 src/assets/images/mobile_doctor_title.png mode change 100755 => 100644 src/assets/images/mobile_logo.png mode change 100755 => 100644 src/assets/images/novocare_qrcode.png mode change 100755 => 100644 src/assets/images/pause_chatbot_audio.png mode change 100755 => 100644 src/assets/images/play_chatbot_audio.png mode change 100755 => 100644 src/assets/images/share_point.png mode change 100755 => 100644 src/assets/images/share_qq.png mode change 100755 => 100644 src/assets/images/share_wechat.png mode change 100755 => 100644 src/assets/images/share_weibo.png mode change 100755 => 100644 src/assets/images/video_play_icon.png mode change 100755 => 100644 src/assets/images/wechat_color.png mode change 100755 => 100644 src/assets/images/wechat_white.png mode change 100755 => 100644 src/components/Barrage.vue mode change 100755 => 100644 src/components/BottomRightFixed.vue mode change 100755 => 100644 src/components/CommonHeader.vue mode change 100755 => 100644 src/components/DoctorItem.vue mode change 100755 => 100644 src/components/DoctorVideoItem.vue mode change 100755 => 100644 src/components/MobileHeader.vue mode change 100755 => 100644 src/components/NotLogin.vue mode change 100755 => 100644 src/components/UserInfoCommon.vue mode change 100755 => 100644 src/components/VideoArticleListItem.vue mode change 100755 => 100644 src/components/WebFooter.vue mode change 100755 => 100644 src/components/WebHeader.vue mode change 100755 => 100644 src/layouts/common.vue mode change 100755 => 100644 src/layouts/detail.vue create mode 100644 src/layouts/diedPopup.vue mode change 100755 => 100644 src/layouts/error.vue mode change 100755 => 100644 src/middleware/authenticated.js mode change 100755 => 100644 src/middleware/device.js mode change 100755 => 100644 src/pages/article/_id.vue mode change 100755 => 100644 src/pages/article/index.vue mode change 100755 => 100644 src/pages/doctor/_id.vue mode change 100755 => 100644 src/pages/doctor/index.vue mode change 100755 => 100644 src/pages/index.vue mode change 100755 => 100644 src/pages/more.vue mode change 100755 => 100644 src/pages/other/about.vue mode change 100755 => 100644 src/pages/other/agreement.vue mode change 100755 => 100644 src/pages/other/cookies.vue mode change 100755 => 100644 src/pages/other/corporate.vue mode change 100755 => 100644 src/pages/other/disclaimer.vue mode change 100755 => 100644 src/pages/other/link.vue mode change 100755 => 100644 src/pages/other/privacy.vue mode change 100755 => 100644 src/pages/search/index.vue mode change 100755 => 100644 src/pages/user/index.vue mode change 100755 => 100644 src/pages/user/setting.vue mode change 100755 => 100644 src/pages/video/_id.vue mode change 100755 => 100644 src/pages/video/index.vue mode change 100755 => 100644 src/plugins/axios.js mode change 100755 => 100644 src/plugins/baidu.js mode change 100755 => 100644 src/plugins/element-ui.js mode change 100755 => 100644 src/plugins/filters.js mode change 100755 => 100644 src/plugins/swiper.js mode change 100755 => 100644 src/plugins/video.js mode change 100755 => 100644 src/plugins/vueqr.js mode change 100755 => 100644 src/plugins/wx-share.js mode change 100755 => 100644 src/store/README.md mode change 100755 => 100644 src/store/device.js mode change 100755 => 100644 src/store/index.js mode change 100755 => 100644 src/store/user.js mode change 100755 => 100644 web.config diff --git a/.babelrc b/.babelrc old mode 100755 new mode 100644 diff --git a/.deployment b/.deployment old mode 100755 new mode 100644 diff --git a/.editorconfig b/.editorconfig old mode 100755 new mode 100644 diff --git a/.env.bak b/.env.bak old mode 100755 new mode 100644 diff --git a/.env.production b/.env.production old mode 100755 new mode 100644 diff --git a/.env.test b/.env.test old mode 100755 new mode 100644 diff --git a/.eslintrc.js b/.eslintrc.js old mode 100755 new mode 100644 diff --git a/.gitignore b/.gitignore old mode 100755 new mode 100644 diff --git a/.husky/common.sh b/.husky/common.sh old mode 100755 new mode 100644 diff --git a/.husky/pre-commit b/.husky/pre-commit old mode 100755 new mode 100644 diff --git a/.nuxt/App.js b/.nuxt/App.js index 938187c..e8cdf19 100644 --- a/.nuxt/App.js +++ b/.nuxt/App.js @@ -4,8 +4,6 @@ import { decode, parsePath, withoutBase, withoutTrailingSlash, normalizeURL } fr import { getMatchedComponentsInstances, getChildrenComponentInstancesUsingFetch, promisify, globalHandleError, urlJoin, sanitizeComponent } from './utils' import NuxtError from '../src/layouts/error.vue' -import NuxtBuildIndicator from './components/nuxt-build-indicator' - import '../node_modules/element-ui/lib/theme-chalk/index.css' import '../node_modules/video.js/dist/video-js.css' @@ -14,9 +12,10 @@ import '../node_modules/vue-video-player/src/custom-theme.css' import _6dce6561 from '../src/layouts/common.vue' import _6ef953c7 from '../src/layouts/detail.vue' +import _9b76681c from '../src/layouts/diedPopup.vue' import _6f6c098b from './layouts/default.vue' -const layouts = { "_common": sanitizeComponent(_6dce6561),"_detail": sanitizeComponent(_6ef953c7),"_default": sanitizeComponent(_6f6c098b) } +const layouts = { "_common": sanitizeComponent(_6dce6561),"_detail": sanitizeComponent(_6ef953c7),"_diedPopup": sanitizeComponent(_9b76681c),"_default": sanitizeComponent(_6f6c098b) } export default { render (h, props) { @@ -49,7 +48,6 @@ export default { } }, [ - h(NuxtBuildIndicator), transitionEl ]) }, @@ -120,21 +118,13 @@ export default { return } - const promises = pages.map((page) => { - const p = [] + const promises = pages.map(async (page) => { + let p = [] // Old fetch if (page.$options.fetch && page.$options.fetch.length) { p.push(promisify(page.$options.fetch, this.context)) } - if (page.$fetch) { - p.push(page.$fetch()) - } else { - // Get all component instance to call $fetch - for (const component of getChildrenComponentInstancesUsingFetch(page.$vnode.componentInstance)) { - p.push(component.$fetch()) - } - } if (page.$options.asyncData) { p.push( @@ -147,6 +137,19 @@ export default { ) } + // Wait for asyncData & old fetch to finish + await Promise.all(p) + // Cleanup refs + p = [] + + if (page.$fetch) { + p.push(page.$fetch()) + } + // Get all component instance to call $fetch + for (const component of getChildrenComponentInstancesUsingFetch(page.$vnode.componentInstance)) { + p.push(component.$fetch()) + } + return Promise.all(p) }) try { @@ -164,15 +167,12 @@ export default { errorLayout = errorLayout(this.context) } + this.nuxt.errPageReady = true this.setLayout(errorLayout) } }, setLayout (layout) { - if(layout && typeof layout !== 'string') { - throw new Error('[nuxt] Avoid using non-string value as layout property.') - } - if (!layout || !layouts['_' + layout]) { layout = 'default' } diff --git a/.nuxt/axios.js b/.nuxt/axios.js index 995096c..074e68c 100644 --- a/.nuxt/axios.js +++ b/.nuxt/axios.js @@ -160,7 +160,7 @@ export default (ctx, inject) => { const runtimeConfig = ctx.$config && ctx.$config.axios || {} // baseURL const baseURL = process.browser - ? (runtimeConfig.browserBaseURL || runtimeConfig.browserBaseUrl || runtimeConfig.baseURL || runtimeConfig.baseUrl || '/web') + ? (runtimeConfig.browserBaseURL || runtimeConfig.browserBaseUrl || runtimeConfig.baseURL || runtimeConfig.baseUrl || 'http://localhost:3000/web') : (runtimeConfig.baseURL || runtimeConfig.baseUrl || process.env._AXIOS_BASE_URL_ || 'http://localhost:3000/web') // Create fresh objects for all default header scopes diff --git a/.nuxt/client.js b/.nuxt/client.js index 4cbdc98..c0d8106 100644 --- a/.nuxt/client.js +++ b/.nuxt/client.js @@ -48,66 +48,7 @@ if ($config._app) { __webpack_public_path__ = urlJoin($config._app.cdnURL, $config._app.assetsPath) } -Object.assign(Vue.config, {"silent":false,"performance":true}) - -const logs = NUXT.logs || [] - if (logs.length > 0) { - const ssrLogStyle = 'background: #2E495E;border-radius: 0.5em;color: white;font-weight: bold;padding: 2px 0.5em;' - console.group && console.group ('%cNuxt SSR', ssrLogStyle) - logs.forEach(logObj => (console[logObj.type] || console.log)(...logObj.args)) - delete NUXT.logs - console.groupEnd && console.groupEnd() -} - -// Setup global Vue error handler -if (!Vue.config.$nuxt) { - const defaultErrorHandler = Vue.config.errorHandler - Vue.config.errorHandler = async (err, vm, info, ...rest) => { - // Call other handler if exist - let handled = null - if (typeof defaultErrorHandler === 'function') { - handled = defaultErrorHandler(err, vm, info, ...rest) - } - if (handled === true) { - return handled - } - - if (vm && vm.$root) { - const nuxtApp = Object.keys(Vue.config.$nuxt) - .find(nuxtInstance => vm.$root[nuxtInstance]) - - // Show Nuxt Error Page - if (nuxtApp && vm.$root[nuxtApp].error && info !== 'render function') { - const currentApp = vm.$root[nuxtApp] - - // Load error layout - let layout = (NuxtError.options || NuxtError).layout - if (typeof layout === 'function') { - layout = layout(currentApp.context) - } - if (layout) { - await currentApp.loadLayout(layout).catch(() => {}) - } - currentApp.setLayout(layout) - - currentApp.error(err) - } - } - - if (typeof defaultErrorHandler === 'function') { - return handled - } - - // Log to console - if (process.env.NODE_ENV !== 'production') { - console.error(err) - } else { - console.error(err.message || err) - } - } - Vue.config.$nuxt = {} -} -Vue.config.$nuxt.$nuxt = true +Object.assign(Vue.config, {"silent":true,"performance":false}) const errorHandler = Vue.config.errorHandler || console.error @@ -221,7 +162,7 @@ function resolveComponents (route) { }) } -function callMiddleware (Components, context, layout) { +function callMiddleware (Components, context, layout, renderState) { let midd = ["device"] let unknownMiddleware = false @@ -253,10 +194,10 @@ function callMiddleware (Components, context, layout) { if (unknownMiddleware) { return } - return middlewareSeries(midd, context) + return middlewareSeries(midd, context, renderState) } -async function render (to, from, next) { +async function render (to, from, next, renderState) { if (this._routeChanged === false && this._paramChanged === false && this._queryChanged === false) { return next() } @@ -287,6 +228,12 @@ async function render (to, from, next) { await setContext(app, { route: to, from, + error: (err) => { + if (renderState.aborted) { + return + } + app.nuxt.error.call(this, err) + }, next: _next.bind(this) }) this._dateLastError = app.nuxt.dateErr @@ -299,10 +246,14 @@ async function render (to, from, next) { // If no Components matched, generate 404 if (!Components.length) { // Default layout - await callMiddleware.call(this, Components, app.context) + await callMiddleware.call(this, Components, app.context, undefined, renderState) if (nextCalled) { return } + if (renderState.aborted) { + next(false) + return + } // Load layout for error page const errorLayout = (NuxtError.options || NuxtError).layout @@ -312,10 +263,14 @@ async function render (to, from, next) { : errorLayout ) - await callMiddleware.call(this, Components, app.context, layout) + await callMiddleware.call(this, Components, app.context, layout, renderState) if (nextCalled) { return } + if (renderState.aborted) { + next(false) + return + } // Show error page app.context.error({ statusCode: 404, message: 'This page could not be found' }) @@ -335,10 +290,14 @@ async function render (to, from, next) { try { // Call middleware - await callMiddleware.call(this, Components, app.context) + await callMiddleware.call(this, Components, app.context, undefined, renderState) if (nextCalled) { return } + if (renderState.aborted) { + next(false) + return + } if (app.context._errored) { return next() } @@ -351,10 +310,14 @@ async function render (to, from, next) { layout = await this.loadLayout(layout) // Call middleware for layout - await callMiddleware.call(this, Components, app.context, layout) + await callMiddleware.call(this, Components, app.context, layout, renderState) if (nextCalled) { return } + if (renderState.aborted) { + next(false) + return + } if (app.context._errored) { return next() } @@ -459,9 +422,17 @@ async function render (to, from, next) { // If not redirected if (!nextCalled) { + if (renderState.aborted) { + next(false) + return + } next() } } catch (err) { + if (renderState.aborted) { + next(false) + return + } const error = err || {} if (error.message === 'ERR_REDIRECT') { return this.$nuxt.$emit('routeChanged', to, from, error) @@ -496,7 +467,8 @@ function normalizeComponents (to, ___) { }) } -function setLayoutForNextPage (to) { +const routeMap = new WeakMap() +function getLayoutForNextPage (to, from, next) { // Set layout let hasError = Boolean(this.$options.nuxt.err) if (this._hadError && this._dateLastError === this.$options.nuxt.dateErr) { @@ -510,6 +482,21 @@ function setLayoutForNextPage (to) { layout = layout(app.context) } + routeMap.set(to, layout); + + if (next) next(); +} + +function setLayoutForNextPage(to) { + const layout = routeMap.get(to) + routeMap.delete(to) + + const prevPageIsError = this._hadError && this._dateLastError === this.$options.nuxt.dateErr + + if (prevPageIsError) { + this.$options.nuxt.err = null + } + this.setLayout(layout) } @@ -561,9 +548,6 @@ function fixPrepatch (to, ___) { } checkForErrors(this) - - // Hot reloading - setTimeout(() => hotReloadAPI(this), 100) }) } @@ -584,110 +568,6 @@ function nuxtReady (_app) { }) } -const noopData = () => { return {} } -const noopFetch = () => {} - -// Special hot reload with asyncData(context) -function getNuxtChildComponents ($parent, $components = []) { - $parent.$children.forEach(($child) => { - if ($child.$vnode && $child.$vnode.data.nuxtChild && !$components.find(c =>(c.$options.__file === $child.$options.__file))) { - $components.push($child) - } - if ($child.$children && $child.$children.length) { - getNuxtChildComponents($child, $components) - } - }) - - return $components -} - -function hotReloadAPI(_app) { - if (!module.hot) return - - let $components = getNuxtChildComponents(_app.$nuxt, []) - - $components.forEach(addHotReload.bind(_app)) -} - -function addHotReload ($component, depth) { - if ($component.$vnode.data._hasHotReload) return - $component.$vnode.data._hasHotReload = true - - var _forceUpdate = $component.$forceUpdate.bind($component.$parent) - - $component.$vnode.context.$forceUpdate = async () => { - let Components = getMatchedComponents(router.currentRoute) - let Component = Components[depth] - if (!Component) { - return _forceUpdate() - } - if (typeof Component === 'object' && !Component.options) { - // Updated via vue-router resolveAsyncComponents() - Component = Vue.extend(Component) - Component._Ctor = Component - } - this.error() - let promises = [] - const next = function (path) { - router.push(path) - } - await setContext(app, { - route: router.currentRoute, - isHMR: true, - next: next.bind(this) - }) - const context = app.context - - callMiddleware.call(this, Components, context) - .then(() => { - // If layout changed - if (depth !== 0) { - return - } - - let layout = Component.options.layout || 'default' - if (typeof layout === 'function') { - layout = layout(context) - } - if (this.layoutName === layout) { - return - } - let promise = this.loadLayout(layout) - promise.then(() => { - this.setLayout(layout) - Vue.nextTick(() => hotReloadAPI(this)) - }) - return promise - }) - - .then(() => { - return callMiddleware.call(this, Components, context, this.layout) - }) - - .then(() => { - // Call asyncData(context) - let pAsyncData = promisify(Component.options.asyncData || noopData, context) - pAsyncData.then((asyncDataResult) => { - applyAsyncData(Component, asyncDataResult) - }) - promises.push(pAsyncData) - - // Call fetch() - Component.options.fetch = Component.options.fetch || noopFetch - let pFetch = Component.options.fetch.length && Component.options.fetch(context) - if (!pFetch || (!(pFetch instanceof Promise) && (typeof pFetch.then !== 'function'))) { pFetch = Promise.resolve(pFetch) } - - promises.push(pFetch) - - return Promise.all(promises) - }) - .then(() => { - _forceUpdate() - setTimeout(() => hotReloadAPI(this), 100) - }) - } -} - async function mountApp (__app) { // Set global variables app = __app.app @@ -709,6 +589,7 @@ async function mountApp (__app) { // Add afterEach router hooks router.afterEach(normalizeComponents) + router.beforeResolve(getLayoutForNextPage.bind(_app)) router.afterEach(setLayoutForNextPage.bind(_app)) router.afterEach(fixPrepatch.bind(_app)) @@ -717,9 +598,6 @@ async function mountApp (__app) { Vue.nextTick(() => { // Call window.{{globals.readyCallback}} callbacks nuxtReady(_app) - - // Enable hot reloading - hotReloadAPI(_app) }) } @@ -737,11 +615,22 @@ async function mountApp (__app) { _app.$loading = {} // To avoid error while _app.$nuxt does not exist if (NUXT.error) { _app.error(NUXT.error) + _app.nuxt.errPageReady = true } // Add beforeEach router hooks router.beforeEach(loadAsyncComponents.bind(_app)) - router.beforeEach(render.bind(_app)) + + // Each new invocation of render() aborts previous invocation + let renderState = null + const boundRender = render.bind(_app) + router.beforeEach((to, from, next) => { + if (renderState) { + renderState.aborted = true + } + renderState = { aborted: false } + boundRender(to, from, next, renderState) + }) // Fix in static: remove trailing slash to force hydration // Full static, if server-rendered: hydrate, to allow custom redirect to generated page @@ -751,10 +640,15 @@ async function mountApp (__app) { return mount() } + const clientFirstLayoutSet = () => { + getLayoutForNextPage.call(_app, router.currentRoute) + setLayoutForNextPage.call(_app, router.currentRoute) + } + // First render on client-side const clientFirstMount = () => { normalizeComponents(router.currentRoute, router.currentRoute) - setLayoutForNextPage.call(_app, router.currentRoute) + clientFirstLayoutSet() checkForErrors(_app) // Don't call fixPrepatch.call(_app, router.currentRoute, router.currentRoute) since it's first render mount() @@ -782,5 +676,6 @@ async function mountApp (__app) { errorHandler(err) } }) - }) + }, + { aborted: false }) } diff --git a/.nuxt/components/index.js b/.nuxt/components/index.js index 2948567..3e65981 100644 --- a/.nuxt/components/index.js +++ b/.nuxt/components/index.js @@ -1,14 +1,14 @@ -export { default as Barrage } from '../../src/components/Barrage.vue' -export { default as BottomRightFixed } from '../../src/components/BottomRightFixed.vue' -export { default as CommonHeader } from '../../src/components/CommonHeader.vue' -export { default as DoctorItem } from '../../src/components/DoctorItem.vue' -export { default as DoctorVideoItem } from '../../src/components/DoctorVideoItem.vue' -export { default as MobileHeader } from '../../src/components/MobileHeader.vue' -export { default as NotLogin } from '../../src/components/NotLogin.vue' -export { default as UserInfoCommon } from '../../src/components/UserInfoCommon.vue' -export { default as VideoArticleListItem } from '../../src/components/VideoArticleListItem.vue' -export { default as WebFooter } from '../../src/components/WebFooter.vue' -export { default as WebHeader } from '../../src/components/WebHeader.vue' +export const Barrage = () => import('../../src/components/Barrage.vue' /* webpackChunkName: "components/barrage" */).then(c => wrapFunctional(c.default || c)) +export const BottomRightFixed = () => import('../../src/components/BottomRightFixed.vue' /* webpackChunkName: "components/bottom-right-fixed" */).then(c => wrapFunctional(c.default || c)) +export const CommonHeader = () => import('../../src/components/CommonHeader.vue' /* webpackChunkName: "components/common-header" */).then(c => wrapFunctional(c.default || c)) +export const DoctorItem = () => import('../../src/components/DoctorItem.vue' /* webpackChunkName: "components/doctor-item" */).then(c => wrapFunctional(c.default || c)) +export const DoctorVideoItem = () => import('../../src/components/DoctorVideoItem.vue' /* webpackChunkName: "components/doctor-video-item" */).then(c => wrapFunctional(c.default || c)) +export const MobileHeader = () => import('../../src/components/MobileHeader.vue' /* webpackChunkName: "components/mobile-header" */).then(c => wrapFunctional(c.default || c)) +export const NotLogin = () => import('../../src/components/NotLogin.vue' /* webpackChunkName: "components/not-login" */).then(c => wrapFunctional(c.default || c)) +export const UserInfoCommon = () => import('../../src/components/UserInfoCommon.vue' /* webpackChunkName: "components/user-info-common" */).then(c => wrapFunctional(c.default || c)) +export const VideoArticleListItem = () => import('../../src/components/VideoArticleListItem.vue' /* webpackChunkName: "components/video-article-list-item" */).then(c => wrapFunctional(c.default || c)) +export const WebFooter = () => import('../../src/components/WebFooter.vue' /* webpackChunkName: "components/web-footer" */).then(c => wrapFunctional(c.default || c)) +export const WebHeader = () => import('../../src/components/WebHeader.vue' /* webpackChunkName: "components/web-header" */).then(c => wrapFunctional(c.default || c)) // nuxt/nuxt.js#8607 function wrapFunctional(options) { diff --git a/.nuxt/components/nuxt-build-indicator.vue b/.nuxt/components/nuxt-build-indicator.vue deleted file mode 100644 index 913f544..0000000 --- a/.nuxt/components/nuxt-build-indicator.vue +++ /dev/null @@ -1,143 +0,0 @@ - - - - - diff --git a/.nuxt/components/nuxt-child.js b/.nuxt/components/nuxt-child.js index af27a4d..9db3ee2 100644 --- a/.nuxt/components/nuxt-child.js +++ b/.nuxt/components/nuxt-child.js @@ -1,4 +1,3 @@ - export default { name: 'NuxtChild', functional: true, diff --git a/.nuxt/components/nuxt-error.vue b/.nuxt/components/nuxt-error.vue index e71f7d0..6530609 100644 --- a/.nuxt/components/nuxt-error.vue +++ b/.nuxt/components/nuxt-error.vue @@ -11,8 +11,6 @@ Back to the home page

-

An error occurred while rendering the page. Check developer tools console for details.

- diff --git a/.nuxt/components/nuxt.js b/.nuxt/components/nuxt.js index a26c83e..2c4d804 100644 --- a/.nuxt/components/nuxt.js +++ b/.nuxt/components/nuxt.js @@ -66,8 +66,9 @@ export default { Vue.util.defineReactive(this, 'nuxt', this.$root.$options.nuxt) }, render (h) { - // if there is no error - if (!this.nuxt.err) { + // if there is no error or + // error page has not been loaded yet on client + if (!this.nuxt.err || (process.client && !this.nuxt.errPageReady)) { // Directly return nuxt child return h('NuxtChild', { key: this.routerViewKey, diff --git a/.nuxt/dist/client/0051f4c.js b/.nuxt/dist/client/0051f4c.js new file mode 100644 index 0000000..808bfe0 --- /dev/null +++ b/.nuxt/dist/client/0051f4c.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[23],{736:function(e,t,o){var content=o(779);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,o(24).default)("7b8b8890",content,!0,{sourceMap:!1})},778:function(e,t,o){"use strict";o(736)},779:function(e,t,o){var n=o(23),r=o(39),d=o(42),l=n(function(i){return i[1]}),c=r(d);l.push([e.i,"*{border:none;margin:0;padding:0}html{height:100%}body{background:#fff;font-family:MicrosoftYaHei;font-size:0;min-height:100%;min-width:320px;position:relative}body .outer-container{min-width:1258px}body .outer-container.isMobile{min-width:auto}body .outer-container.isMobile .content-container{padding:60px 0 62px;width:100%}body .outer-container.isMobile .content-container .left-content{display:block!important;margin-right:0!important;width:100%!important}body .outer-container.isMobile .content-container .footer-outer{min-width:auto!important;position:absolute!important}body .outer-container.isMobile .content-container .load-more{width:100%!important}body .outer-container.isMobile .content-container .common-flex{display:block!important}body .outer-container.isMobile .content-container .common-other-content{margin:0!important}body .outer-container.isMobile .content-container .common-other-content h6{font-size:20px!important;line-height:28px!important;margin-bottom:10px!important}body .outer-container.isMobile .content-container .common-other-content .font-content b,body .outer-container.isMobile .content-container .common-other-content .font-content h5,body .outer-container.isMobile .content-container .common-other-content .font-content h6,body .outer-container.isMobile .content-container .common-other-content .font-content p{font-size:16px!important;line-height:24px!important;margin-bottom:8px!important;word-break:break-all}body .outer-container.isMobile .content-container .common-other-content .font-content h5{font-size:18px!important}body .outer-container.isMobile.hasLoginBottom{padding-bottom:calc(env(safe-area-inset-bottom) + 55px)}body .outer-container.isMobile.hasLoginBottom .bottom-outer,body .outer-container.isMobile.hasLoginBottom .footer-outer{bottom:calc(constant(safe-area-inset-bottom) + 55px);bottom:calc(env(safe-area-inset-bottom) + 55px)}body .outer-container.isMobile.hasLoginBottom .fixed-box{bottom:calc(constant(safe-area-inset-bottom) + 65px)!important;bottom:calc(env(safe-area-inset-bottom) + 65px)!important}body .content-container{margin:0 auto;width:1080px}body img{-o-object-fit:cover;object-fit:cover;vertical-align:top}body a{-webkit-text-decoration:none;text-decoration:none}body .text-ellipsis{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body .left-content{display:inline-block;margin-right:32px;width:723px}body .right-content{display:inline-block;float:right;width:325px}body .common-flex{display:grid;grid-template-columns:repeat(4,25%)}body .load-more{background:#f5f5f8;border-radius:4px;color:#939aa7;font-family:PingFangSC-Regular,PingFang SC;font-size:18px;font-weight:400;height:50px;line-height:50px;margin:0 auto;text-align:center;width:357px}body .footer-outer{background:#f5f5f8;bottom:0;left:0;min-width:1258px;position:fixed;width:100%;z-index:9}body .common-title{color:#001965;font-family:PingFangSC-Medium,PingFang SC;font-size:24px;font-weight:500;line-height:33px;padding:20px 0 10px;text-align:left}body .common-title a{color:#5d6269;float:right;font-family:PingFangSC-Regular,PingFang SC;font-size:16px;font-weight:400}body .common-title a i{color:#001965}body p.go-follow{background:#e6553f;border-radius:4px;color:#fff;cursor:pointer;font-family:PingFangSC-Medium,PingFang SC;font-size:18px;font-weight:500;height:50px;line-height:50px;margin-bottom:23px;text-align:center}body .common-other-content{box-sizing:border-box;margin:44px 0;padding:30px}body .common-other-content h6{color:#001965;font-family:PingFangSC-Medium,PingFang SC;font-size:24px;font-weight:500;line-height:33px;margin-bottom:20px}body .common-other-content .font-content b,body .common-other-content .font-content h5,body .common-other-content .font-content h6,body .common-other-content .font-content p{color:#5d6269;font-size:18px;line-height:30px;margin-bottom:12px}body .common-other-content .font-content h5{font-size:20px}body .el-message{top:50%!important}body .el-message i{font-size:16px}@media screen and (max-width:500px){body .el-message{max-width:80%;min-width:200px}}body .video-player-box .vjs-big-play-button{background:url("+c+") 50% no-repeat;background-color:transparent!important;background-size:68px 67px;border:none;height:67px;left:50%;outline:none;top:50%;transform:translate(-50%,-50%);width:68px}body .video-player-box .vjs-big-play-button .vjs-icon-placeholder:before{display:none}body .video-player-box .vjs-control-bar button{outline:none}body .el-avatar>img{width:100%}.video-detail-page{position:relative}.video-detail-page>h4{border-bottom:1px solid #f5f5f8;color:#292b2c;font-family:MicrosoftYaHei-Bold,MicrosoftYaHei;font-size:32px;font-weight:700;line-height:44px;margin-bottom:10px;padding-bottom:10px}.video-detail-page>p:nth-child(2),.video-detail-page>p:nth-child(3){color:#bac0c2;font-family:Apis-Regular,Apis;font-size:16px;font-weight:400;line-height:28px;margin-bottom:10px}.video-detail-page .video-box{text-align:center}.video-detail-page .video-box .video-player-box{height:360px;margin:0 auto;width:648px}.video-detail-page .video-box .video-player-box>div{padding-top:360px}.video-detail-page .go-wechat{align-items:center;background:#f5f5f8;border-radius:4px;border-radius:12px;box-shadow:10px 10px 10px #f2f2f2;box-sizing:border-box;display:flex;height:150px;justify-content:space-between;margin:100px auto 30px;padding:51px 106px 33px 309px;position:relative;width:648px}.video-detail-page .go-wechat .content{color:#001965;flex:1;font-size:16px;line-height:31px;margin-left:15px;white-space:nowrap}.video-detail-page .go-wechat .content .bold{font-size:20px;font-weight:700}.video-detail-page .go-wechat .code{background:#fff;border-radius:8px;box-shadow:0 4px 18px 0 rgba(0,0,0,.13);flex-shrink:0;height:152px;left:106px;padding:10px;position:absolute;top:-48px;width:152px}.video-detail-page .go-follow{margin:40px 0 10px}.isMobile .video-detail-page{background:#fff;padding:0!important}.isMobile .video-detail-page .video-box{box-shadow:none;height:auto;padding:0}.isMobile .video-detail-page .video-box:after{display:none}.isMobile .video-detail-page .video-box .video-player-box{height:auto;width:100%}.isMobile .video-detail-page .video-box .video-player-box>div{padding-top:56.25%}.isMobile .video-detail-page>h4{font-size:18px;line-height:24px;margin:0 15px 4px;padding:20px 5px 16px}.isMobile .video-detail-page>p:nth-child(3){font-size:12px;line-height:17px;margin-bottom:25px;padding:0 22px}.isMobile .video-detail-page .mobile-recomment-video{margin:0 15px}.isMobile .video-detail-page .mobile-recomment-video a{background:#f5f5f8;border-radius:4px;display:inline-block;margin:0 15px 16px 0;overflow:hidden;width:calc(50% - 7.5px)}.isMobile .video-detail-page .mobile-recomment-video a .video-img{position:relative}.isMobile .video-detail-page .mobile-recomment-video a .video-img span{background:rgba(0,0,0,.4);border-radius:4px;color:#fff;font-family:PingFangSC-Regular,PingFang SC;font-size:14px;font-weight:400;height:24px;line-height:24px;padding:0 9px;position:absolute;right:6px;top:6px}.isMobile .video-detail-page .mobile-recomment-video a .video-img>img:last-child{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:68px}.isMobile .video-detail-page .mobile-recomment-video a p{color:#292b2c;display:-webkit-box;font-size:16px;line-height:22px;margin:10px 0;min-height:66px;padding:0 10px;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.isMobile .video-detail-page .mobile-recomment-video a:nth-child(2n){margin-right:0}",""]),l.locals={},e.exports=l},797:function(e,t,o){"use strict";o.r(t);o(28),o(29),o(43),o(44),o(27),o(16),o(30);var n=o(15),r=o(9),d=(o(54),o(95),o(20),o(33));function l(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),o.push.apply(o,n)}return o}function c(e){for(var t=1;t0?t("div",{staticClass:"mobile-recomment-video"},e._l(e.videoDetail.recommendList,function(video){return t("a",{key:"video"+video.id,attrs:{href:"/video/"+video.id},on:{click:function(t){return e.baiduStat("移动端-视频详情页","click","移动端视频详情页-推荐视频-"+video.id+"+"+video.title)}}},[t("div",{staticClass:"video-img"},[t("img",{style:{height:e.mobileVideoImgHeight+"px"},attrs:{src:video.video_cover_url,alt:""}}),e._v(" "),t("span",[e._v(e._s(parseInt(video.video_time/60)>9?parseInt(video.video_time/60):"0"+parseInt(video.video_time/60))+":"+e._s(parseInt(video.video_time%60)>9?parseInt(video.video_time%60):"0"+parseInt(video.video_time%60)))]),e._v(" "),t("img",{staticClass:"play",attrs:{src:o(42),alt:""}})]),e._v(" "),t("p",[e._v(e._s(video.title))])])}),0):e._e()],e._v(" "),t("BottomRightFixed",{attrs:{"show-share":!0,"show-like":!0,"is-login":e.isLogin,"is-like":e.videoDetail.selfLike,"like-num":e.videoDetail.likeNum},on:{likeClick:e.likeClick}})],2)},[function(){var e=this,t=e._self._c;return t("div",{staticClass:"content"},[e._v("\n 微信扫码关注"),t("span",{staticClass:"bold"},[e._v("糖尿病网")]),e._v("公众号\n "),t("br"),e._v("\n 专业资讯随时看\n ")])}],!1,null,null,null);t.default=component.exports;installComponents(component,{BottomRightFixed:o(464).default})}}]); \ No newline at end of file diff --git a/.nuxt/dist/client/3490718.js b/.nuxt/dist/client/3490718.js new file mode 100644 index 0000000..6a34135 --- /dev/null +++ b/.nuxt/dist/client/3490718.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[21],{728:function(t,o,e){var content=e(755);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,e(24).default)("b4be7ff4",content,!0,{sourceMap:!1})},754:function(t,o,e){"use strict";e(728)},755:function(t,o,e){var n=e(23),r=e(39),c=e(42),l=n(function(i){return i[1]}),d=r(c);l.push([t.i,"*{border:none;margin:0;padding:0}html{height:100%}body{background:#fff;font-family:MicrosoftYaHei;font-size:0;min-height:100%;min-width:320px;position:relative}body .outer-container{min-width:1258px}body .outer-container.isMobile{min-width:auto}body .outer-container.isMobile .content-container{padding:60px 0 62px;width:100%}body .outer-container.isMobile .content-container .left-content{display:block!important;margin-right:0!important;width:100%!important}body .outer-container.isMobile .content-container .footer-outer{min-width:auto!important;position:absolute!important}body .outer-container.isMobile .content-container .load-more{width:100%!important}body .outer-container.isMobile .content-container .common-flex{display:block!important}body .outer-container.isMobile .content-container .common-other-content{margin:0!important}body .outer-container.isMobile .content-container .common-other-content h6{font-size:20px!important;line-height:28px!important;margin-bottom:10px!important}body .outer-container.isMobile .content-container .common-other-content .font-content b,body .outer-container.isMobile .content-container .common-other-content .font-content h5,body .outer-container.isMobile .content-container .common-other-content .font-content h6,body .outer-container.isMobile .content-container .common-other-content .font-content p{font-size:16px!important;line-height:24px!important;margin-bottom:8px!important;word-break:break-all}body .outer-container.isMobile .content-container .common-other-content .font-content h5{font-size:18px!important}body .outer-container.isMobile.hasLoginBottom{padding-bottom:calc(env(safe-area-inset-bottom) + 55px)}body .outer-container.isMobile.hasLoginBottom .bottom-outer,body .outer-container.isMobile.hasLoginBottom .footer-outer{bottom:calc(constant(safe-area-inset-bottom) + 55px);bottom:calc(env(safe-area-inset-bottom) + 55px)}body .outer-container.isMobile.hasLoginBottom .fixed-box{bottom:calc(constant(safe-area-inset-bottom) + 65px)!important;bottom:calc(env(safe-area-inset-bottom) + 65px)!important}body .content-container{margin:0 auto;width:1080px}body img{-o-object-fit:cover;object-fit:cover;vertical-align:top}body a{-webkit-text-decoration:none;text-decoration:none}body .text-ellipsis{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body .left-content{display:inline-block;margin-right:32px;width:723px}body .right-content{display:inline-block;float:right;width:325px}body .common-flex{display:grid;grid-template-columns:repeat(4,25%)}body .load-more{background:#f5f5f8;border-radius:4px;color:#939aa7;font-family:PingFangSC-Regular,PingFang SC;font-size:18px;font-weight:400;height:50px;line-height:50px;margin:0 auto;text-align:center;width:357px}body .footer-outer{background:#f5f5f8;bottom:0;left:0;min-width:1258px;position:fixed;width:100%;z-index:9}body .common-title{color:#001965;font-family:PingFangSC-Medium,PingFang SC;font-size:24px;font-weight:500;line-height:33px;padding:20px 0 10px;text-align:left}body .common-title a{color:#5d6269;float:right;font-family:PingFangSC-Regular,PingFang SC;font-size:16px;font-weight:400}body .common-title a i{color:#001965}body p.go-follow{background:#e6553f;border-radius:4px;color:#fff;cursor:pointer;font-family:PingFangSC-Medium,PingFang SC;font-size:18px;font-weight:500;height:50px;line-height:50px;margin-bottom:23px;text-align:center}body .common-other-content{box-sizing:border-box;margin:44px 0;padding:30px}body .common-other-content h6{color:#001965;font-family:PingFangSC-Medium,PingFang SC;font-size:24px;font-weight:500;line-height:33px;margin-bottom:20px}body .common-other-content .font-content b,body .common-other-content .font-content h5,body .common-other-content .font-content h6,body .common-other-content .font-content p{color:#5d6269;font-size:18px;line-height:30px;margin-bottom:12px}body .common-other-content .font-content h5{font-size:20px}body .el-message{top:50%!important}body .el-message i{font-size:16px}@media screen and (max-width:500px){body .el-message{max-width:80%;min-width:200px}}body .video-player-box .vjs-big-play-button{background:url("+d+") 50% no-repeat;background-color:transparent!important;background-size:68px 67px;border:none;height:67px;left:50%;outline:none;top:50%;transform:translate(-50%,-50%);width:68px}body .video-player-box .vjs-big-play-button .vjs-icon-placeholder:before{display:none}body .video-player-box .vjs-control-bar button{outline:none}body .el-avatar>img{width:100%}.user-page{padding-top:259px}",""]),l.locals={},t.exports=l},784:function(t,o,e){"use strict";e.r(o);var n=e(15),r=e(22),c=e(9);e(54),e(96),e(28),e(29),e(43),e(44),e(27),e(16),e(55),e(30),e(56);function l(t,o){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);o&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(t,o).enumerable})),e.push.apply(e,n)}return e}function d(t){for(var o=1;o(document.documentElement.scrollHeight||document.body.scrollHeight)-50&&t.getCollectList()})})},methods:{getCollectList:function(){var t=this;return Object(c.a)(regeneratorRuntime.mark(function o(){var data;return regeneratorRuntime.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(!t.hasMore||t.collectLoading){o.next=2;break}return t.collectLoading=!0,o.next=1,t.$axios.$get("/user/collect-list?page="+t.collectPage);case 1:data=o.sent,t.hasMore=data.detail.hasMore,t.articleList=t.articleList.concat(data.detail.articleList),t.collectPage=t.collectPage+1,t.collectLoading=!1;case 2:case"end":return o.stop()}},o)}))()}}},f=(e(754),e(13)),component=Object(f.a)(m,function(){var t=this,o=t._self._c;return o("div",{staticClass:"user-page"},[o("UserInfoCommon",{attrs:{"bean-num":t.beanNum,total:t.total,"has-more":t.hasMore,"article-list":t.articleList,"collect-loading":t.collectLoading}}),t._v(" "),o("BottomRightFixed")],1)},[],!1,null,null,null);o.default=component.exports;installComponents(component,{UserInfoCommon:e(738).default,BottomRightFixed:e(464).default})}}]); \ No newline at end of file diff --git a/.nuxt/dist/client/4530c8c.js b/.nuxt/dist/client/4530c8c.js new file mode 100644 index 0000000..c8df8f0 --- /dev/null +++ b/.nuxt/dist/client/4530c8c.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{713:function(o,t){o.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACoAAAAqCAYAAADFw8lbAAADf0lEQVRYR9WZT4hXVRTHP1+QpoUGRWqLAUMCIUUTJZhFprTKoaCFLhrRcha5sYWDCwmmJhAXkoiC5KZ00YAKKWnjSjJnMZDkVJR/IMSiIGskKQknpBNnuO/H7fbe7/3eb/7wfnf53j3nfTj3/LvniTaXmT0E9AAbgJXAMmARsCCo/BP4FbgBfAN8BoxJ+rudT6qqkJmtBt4ANgOPVpT/HTgJHJU0XkW2ZVAzc6vtA14EWpYrgDHgPLBHklu7dJV+0MweBvYCbwLzSjVW2/AAOAS8Jel+M9GmoGb2FHAKeKZAyW1gBPgc+A64BfwR9j4CPAksB54HNgKLC/R8BWyS9H0RbCGomT0LfAo8niM8Cuz345PkVildZuan4W6zG3guR2AC6JX0RZ6yXNAAeQGYnwjdBHZKciu2vczMrXsYWJoouQe8kAf7P9Bw3GM5lhz2aJfkyqa9zMyNcBR4NVHmlu1J3eA/oCFwHDL1yXclvT1tuhwFZjYEDCav3GcdthFgKeh7wK5EaNYgs+8UwB6QNJDtaYCGPPllkoKGJfXlWdLM+oGDwJngt3enY3Ez+yhxAw/SNVmejUE9wt3Js+WBs6rIJ83sDvBY2PwjsFWSp6m2VvDZr5MAG5HU6wqnQENZdGvGruCpojC6zcyrS7z+CSlrsN16HrKBG6zhFcGq4xno+6F+ZxtGJa1rZpoc0Gy71/A+SdfaMa2ZXUryrPcFOxS6oF+SBuNlSWfbBHWxvzyxSzpSFdbMXgI+ieS8kXnCQb28XYxeeFnsLqs4TSwas/kx9ktynS2tUMF+Ssrtegd9B4hz5IeStpdpbRHU1XhP6rDnynQ2HNPsA+D1aP+Qg34MvBI9fE3S8TKlFUCn4jVUoQFJ7hZNl5ltA45Fm047qHc9T0cP10ryDFCmLI36MhF/fx3YUqbfzNYClyOFVx30t6SuL5Tk9XY2QF2nX0U8554o+oCZecfmXNmacFCvp13Rw65W8mDFo0+ZfpbU3QTU72OT0fvJjgLtmKOfy2Dyq7NXrabBWhRMHZOeOibhd0wJ9VRQ/6Zkqr6ZzWSbdyVUn5lt8wKoz5Pq3zgH2PpfRQKoD8Hqf7kLsPW/LgdQn9zVfwARYH2CV++RTtZWdcSQLIGt99gxgq0yyP0W+CEZ5C4BVszqIDeCrf9oPL4q1P5nQ3qvqf3vmxzgOf0h9i+RTzB1p2RUjQAAAABJRU5ErkJggg=="},714:function(o,t,n){var content=n(718);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[o.i,content,""]]),content.locals&&(o.exports=content.locals);(0,n(24).default)("84235514",content,!0,{sourceMap:!1})},717:function(o,t,n){"use strict";n(714)},718:function(o,t,n){var e=n(23),r=n(39),c=n(42),d=e(function(i){return i[1]}),l=r(c);d.push([o.i,"*{border:none;margin:0;padding:0}html{height:100%}body{background:#fff;font-family:MicrosoftYaHei;font-size:0;min-height:100%;min-width:320px;position:relative}body .outer-container{min-width:1258px}body .outer-container.isMobile{min-width:auto}body .outer-container.isMobile .content-container{padding:60px 0 62px;width:100%}body .outer-container.isMobile .content-container .left-content{display:block!important;margin-right:0!important;width:100%!important}body .outer-container.isMobile .content-container .footer-outer{min-width:auto!important;position:absolute!important}body .outer-container.isMobile .content-container .load-more{width:100%!important}body .outer-container.isMobile .content-container .common-flex{display:block!important}body .outer-container.isMobile .content-container .common-other-content{margin:0!important}body .outer-container.isMobile .content-container .common-other-content h6{font-size:20px!important;line-height:28px!important;margin-bottom:10px!important}body .outer-container.isMobile .content-container .common-other-content .font-content b,body .outer-container.isMobile .content-container .common-other-content .font-content h5,body .outer-container.isMobile .content-container .common-other-content .font-content h6,body .outer-container.isMobile .content-container .common-other-content .font-content p{font-size:16px!important;line-height:24px!important;margin-bottom:8px!important;word-break:break-all}body .outer-container.isMobile .content-container .common-other-content .font-content h5{font-size:18px!important}body .outer-container.isMobile.hasLoginBottom{padding-bottom:calc(env(safe-area-inset-bottom) + 55px)}body .outer-container.isMobile.hasLoginBottom .bottom-outer,body .outer-container.isMobile.hasLoginBottom .footer-outer{bottom:calc(constant(safe-area-inset-bottom) + 55px);bottom:calc(env(safe-area-inset-bottom) + 55px)}body .outer-container.isMobile.hasLoginBottom .fixed-box{bottom:calc(constant(safe-area-inset-bottom) + 65px)!important;bottom:calc(env(safe-area-inset-bottom) + 65px)!important}body .content-container{margin:0 auto;width:1080px}body img{-o-object-fit:cover;object-fit:cover;vertical-align:top}body a{-webkit-text-decoration:none;text-decoration:none}body .text-ellipsis{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body .left-content{display:inline-block;margin-right:32px;width:723px}body .right-content{display:inline-block;float:right;width:325px}body .common-flex{display:grid;grid-template-columns:repeat(4,25%)}body .load-more{background:#f5f5f8;border-radius:4px;color:#939aa7;font-family:PingFangSC-Regular,PingFang SC;font-size:18px;font-weight:400;height:50px;line-height:50px;margin:0 auto;text-align:center;width:357px}body .footer-outer{background:#f5f5f8;bottom:0;left:0;min-width:1258px;position:fixed;width:100%;z-index:9}body .common-title{color:#001965;font-family:PingFangSC-Medium,PingFang SC;font-size:24px;font-weight:500;line-height:33px;padding:20px 0 10px;text-align:left}body .common-title a{color:#5d6269;float:right;font-family:PingFangSC-Regular,PingFang SC;font-size:16px;font-weight:400}body .common-title a i{color:#001965}body p.go-follow{background:#e6553f;border-radius:4px;color:#fff;cursor:pointer;font-family:PingFangSC-Medium,PingFang SC;font-size:18px;font-weight:500;height:50px;line-height:50px;margin-bottom:23px;text-align:center}body .common-other-content{box-sizing:border-box;margin:44px 0;padding:30px}body .common-other-content h6{color:#001965;font-family:PingFangSC-Medium,PingFang SC;font-size:24px;font-weight:500;line-height:33px;margin-bottom:20px}body .common-other-content .font-content b,body .common-other-content .font-content h5,body .common-other-content .font-content h6,body .common-other-content .font-content p{color:#5d6269;font-size:18px;line-height:30px;margin-bottom:12px}body .common-other-content .font-content h5{font-size:20px}body .el-message{top:50%!important}body .el-message i{font-size:16px}@media screen and (max-width:500px){body .el-message{max-width:80%;min-width:200px}}body .video-player-box .vjs-big-play-button{background:url("+l+') 50% no-repeat;background-color:transparent!important;background-size:68px 67px;border:none;height:67px;left:50%;outline:none;top:50%;transform:translate(-50%,-50%);width:68px}body .video-player-box .vjs-big-play-button .vjs-icon-placeholder:before{display:none}body .video-player-box .vjs-control-bar button{outline:none}body .el-avatar>img{width:100%}.doctor-video-box{background:#fff;box-shadow:0 2px 6px 0 rgba(0,0,0,.06);box-sizing:border-box;cursor:pointer;padding:20px 15px;position:relative}.doctor-video-box h6{color:#333;display:-webkit-box;font-family:PingFangSC-Medium,PingFang SC;font-size:18px;font-weight:500;line-height:25px;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.doctor-video-box span{background:#f7f7fa;border-radius:0 69px 69px 0;color:#7d7d7d;display:inline-block;font-family:PingFangSC-Regular,PingFang SC;font-size:14px;font-weight:400;height:30px;line-height:30px;margin:11px 0 0 -15px;padding:0 9px 0 14px}.doctor-video-box p{background:linear-gradient(180deg,#fad961,#f76b1c);border-radius:20px;color:#fafafc;float:right;font-family:PingFangSC-Medium,PingFang SC;font-size:16px;font-weight:500;height:32px;line-height:32px;margin-top:10px;text-align:center;width:134px}.doctor-video-box p img{display:inline-block;height:21px;margin-right:6px;position:relative;top:5px;width:21px}.doctor-video-box:after{background:#ddd;bottom:0;content:"";height:1px;left:12px;position:absolute;width:calc(100% - 24px)}',""]),d.locals={},o.exports=d},737:function(o,t,n){"use strict";n.r(t);var e=[function(){var o=this._self._c;return o("p",{staticClass:"play-video"},[o("img",{attrs:{src:n(713),alt:"点击播放"}}),this._v("点击播放\n ")])}],r={props:{video:{type:Object,default:null}},created:function(){},methods:{goDoctor:function(o){this.$emit("addStat");var t=this.$router.resolve({path:"/doctor/"+o}).href;window.location.href=t}}},c=(n(717),n(13)),component=Object(c.a)(r,function(){var o=this,t=o._self._c;return t("div",{staticClass:"doctor-video-box",on:{click:function(t){return o.goDoctor(o.video.id)}}},[t("h6",[o._v(o._s(o.video.title))]),o._v(" "),t("span",[o._v(o._s(o.video.record_num)+"次播放")]),o._v(" "),o._m(0)])},e,!1,null,null,null);t.default=component.exports}}]); \ No newline at end of file diff --git a/.nuxt/dist/client/4864bb1.js b/.nuxt/dist/client/4864bb1.js new file mode 100644 index 0000000..cad7d00 --- /dev/null +++ b/.nuxt/dist/client/4864bb1.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{730:function(o,t,n){var content=n(759);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[o.i,content,""]]),content.locals&&(o.exports=content.locals);(0,n(24).default)("6b76f620",content,!0,{sourceMap:!1})},758:function(o,t,n){"use strict";n(730)},759:function(o,t,n){var e=n(23),r=n(39),c=n(42),d=e(function(i){return i[1]}),l=r(c);d.push([o.i,"*{border:none;margin:0;padding:0}html{height:100%}body{background:#fff;font-family:MicrosoftYaHei;font-size:0;min-height:100%;min-width:320px;position:relative}body .outer-container{min-width:1258px}body .outer-container.isMobile{min-width:auto}body .outer-container.isMobile .content-container{padding:60px 0 62px;width:100%}body .outer-container.isMobile .content-container .left-content{display:block!important;margin-right:0!important;width:100%!important}body .outer-container.isMobile .content-container .footer-outer{min-width:auto!important;position:absolute!important}body .outer-container.isMobile .content-container .load-more{width:100%!important}body .outer-container.isMobile .content-container .common-flex{display:block!important}body .outer-container.isMobile .content-container .common-other-content{margin:0!important}body .outer-container.isMobile .content-container .common-other-content h6{font-size:20px!important;line-height:28px!important;margin-bottom:10px!important}body .outer-container.isMobile .content-container .common-other-content .font-content b,body .outer-container.isMobile .content-container .common-other-content .font-content h5,body .outer-container.isMobile .content-container .common-other-content .font-content h6,body .outer-container.isMobile .content-container .common-other-content .font-content p{font-size:16px!important;line-height:24px!important;margin-bottom:8px!important;word-break:break-all}body .outer-container.isMobile .content-container .common-other-content .font-content h5{font-size:18px!important}body .outer-container.isMobile.hasLoginBottom{padding-bottom:calc(env(safe-area-inset-bottom) + 55px)}body .outer-container.isMobile.hasLoginBottom .bottom-outer,body .outer-container.isMobile.hasLoginBottom .footer-outer{bottom:calc(constant(safe-area-inset-bottom) + 55px);bottom:calc(env(safe-area-inset-bottom) + 55px)}body .outer-container.isMobile.hasLoginBottom .fixed-box{bottom:calc(constant(safe-area-inset-bottom) + 65px)!important;bottom:calc(env(safe-area-inset-bottom) + 65px)!important}body .content-container{margin:0 auto;width:1080px}body img{-o-object-fit:cover;object-fit:cover;vertical-align:top}body a{-webkit-text-decoration:none;text-decoration:none}body .text-ellipsis{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body .left-content{display:inline-block;margin-right:32px;width:723px}body .right-content{display:inline-block;float:right;width:325px}body .common-flex{display:grid;grid-template-columns:repeat(4,25%)}body .load-more{background:#f5f5f8;border-radius:4px;color:#939aa7;font-family:PingFangSC-Regular,PingFang SC;font-size:18px;font-weight:400;height:50px;line-height:50px;margin:0 auto;text-align:center;width:357px}body .footer-outer{background:#f5f5f8;bottom:0;left:0;min-width:1258px;position:fixed;width:100%;z-index:9}body .common-title{color:#001965;font-family:PingFangSC-Medium,PingFang SC;font-size:24px;font-weight:500;line-height:33px;padding:20px 0 10px;text-align:left}body .common-title a{color:#5d6269;float:right;font-family:PingFangSC-Regular,PingFang SC;font-size:16px;font-weight:400}body .common-title a i{color:#001965}body p.go-follow{background:#e6553f;border-radius:4px;color:#fff;cursor:pointer;font-family:PingFangSC-Medium,PingFang SC;font-size:18px;font-weight:500;height:50px;line-height:50px;margin-bottom:23px;text-align:center}body .common-other-content{box-sizing:border-box;margin:44px 0;padding:30px}body .common-other-content h6{color:#001965;font-family:PingFangSC-Medium,PingFang SC;font-size:24px;font-weight:500;line-height:33px;margin-bottom:20px}body .common-other-content .font-content b,body .common-other-content .font-content h5,body .common-other-content .font-content h6,body .common-other-content .font-content p{color:#5d6269;font-size:18px;line-height:30px;margin-bottom:12px}body .common-other-content .font-content h5{font-size:20px}body .el-message{top:50%!important}body .el-message i{font-size:16px}@media screen and (max-width:500px){body .el-message{max-width:80%;min-width:200px}}body .video-player-box .vjs-big-play-button{background:url("+l+") 50% no-repeat;background-color:transparent!important;background-size:68px 67px;border:none;height:67px;left:50%;outline:none;top:50%;transform:translate(-50%,-50%);width:68px}body .video-player-box .vjs-big-play-button .vjs-icon-placeholder:before{display:none}body .video-player-box .vjs-control-bar button{outline:none}body .el-avatar>img{width:100%}.cookies-page table{border-collapse:collapse;border-spacing:0}.cookies-page table td{border:1px solid #939aa7;color:#939aa7;font-size:18px;line-height:40px;padding:0 10px}",""]),d.locals={},o.exports=d},788:function(o,t,n){"use strict";n.r(t);var e={name:"OtherCookiesPage",layout:"detail",data:function(){return{content:""}},head:{title:"糖尿病网-cookies政策",meta:[{hid:"description",name:"description",content:""}]},mounted:function(){var o=this;this.$axios.$get("/agreement/get-content?type=4").then(function(t){o.content=t.detail})}},r=(n(758),n(13)),component=Object(r.a)(e,function(){var o=this,t=o._self._c;return t("div",{staticClass:"common-other-content cookies-page"},[t("h6",[o._v("cookies政策")]),o._v(" "),t("div",{staticClass:"font-content",domProps:{innerHTML:o._s(o.content)}})])},[],!1,null,null,null);t.default=component.exports}}]); \ No newline at end of file diff --git a/.nuxt/dist/client/50cfb23.js b/.nuxt/dist/client/50cfb23.js new file mode 100644 index 0000000..55c31d1 --- /dev/null +++ b/.nuxt/dist/client/50cfb23.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{715:function(t,e,r){var content=r(722);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,r(24).default)("11f2e1da",content,!0,{sourceMap:!1})},719:function(t,e,r){"use strict";var n=r(3),h=r(720),o=r(211);n({target:"Array",proto:!0},{fill:h}),o("fill")},720:function(t,e,r){"use strict";var n=r(45),h=r(117),o=r(62);t.exports=function(t){for(var e=n(this),r=o(e),c=arguments.length,l=h(c>1?arguments[1]:void 0,r),d=c>2?arguments[2]:void 0,f=void 0===d?r:h(d,r);f>l;)e[l++]=t;return e}},721:function(t,e,r){"use strict";r(715)},722:function(t,e,r){var n=r(23)(function(i){return i[1]});n.push([t.i,".z_barrage-container[data-v-c3f32de4]{pointer-events:none}.z_container[data-v-c3f32de4]{overflow:hidden;width:100%}.z_barrage[data-v-c3f32de4]{left:0;position:absolute;top:0}",""]),n.locals={},t.exports=n},739:function(t,e,r){"use strict";r.r(e);r(96),r(719),r(467),r(95),r(27),r(16),r(48);var n,h,o={name:"Barrage",props:{barrageList:{type:Array,default:function(){return[]}},speed:{type:Number,default:4},loop:{type:Boolean,default:!0},channels:{type:Number,default:2},barrageHeight:{type:Number,default:60},screenPercent:{type:Number,default:.3},borderColor:{type:String,default:""},background:{type:String,default:""},deviceType:{type:String,default:"pc"},linearGradient:{type:Object,default:function(){return{startColor:"",endColor:""}}}},data:function(){return{newBarrageArray:[],barrageArray:[],barrageQueue:[],containerWidth:0,containerHeight:0,channelsArray:[],barrageChannels:1}},watch:{barrageList:function(t){0!==t.length&&(this.barrageQueue=JSON.parse(JSON.stringify(t)),this.newBarrageArray=JSON.parse(JSON.stringify(t)),this.initData(),window.cancelAnimationFrame(n),n=window.requestAnimationFrame(this.render))}},mounted:function(){this.containerWidth="pc"===this.deviceType?1446:2*document.body.clientWidth,this.containerHeight=730,this.barrageChannels=this.channels,this.ctx=this.$refs.canvas.getContext("2d"),this.ctx1=this.$refs.canvasContainer.getContext("2d"),this.barrageClickEvent()},methods:{initData:function(){for(var i=0;i=Math.floor(this.containerWidth-e.width-40-this.speed)&&t===this.channelsArray[i].length-1&&0!==this.barrageArray.length){var n=this.barrageArray.shift();this.channelsArray[i].push(n)}}catch(t){console.log(t)}},add:function(t){var content=this.dealStr(t.content),img=null,e=null;t.icon&&((img=new Image).src=t.icon),t.tagImage&&((e=new Image).src=t.tagImage);var r={id:t.id,content:content,x:this.containerWidth+this.barrageHeight,icon:t.icon?img:"",tagImage:t.tagImage?e:"",width:3*this.ctx1.measureText(content).width+(t.icon?this.barrageHeight:0),color:t.color||"#FFFFFF",bgColor:t.bgColor||"rgba(0,0,0,0.4)"},n={id:t.id,content:t.content,icon:t.icon,tagImage:t.tagImage,color:t.color||"#FFFFFF",bgColor:t.bgColor||"rgba(0,0,0,0.4)"};if(0===this.barrageArray.length)this.newBarrageArray.unshift(n);else{this.barrageArray.unshift(r);var h=this.barrageList.length-this.barrageArray.length;this.newBarrageArray.splice(h,0,n)}},barrageClickEvent:function(){var t=this;document.getElementById("canvas").addEventListener("click",function(e){for(var p=t.getEventPosition(e),r=Math.floor(p.y/(t.barrageHeight+36)),n=JSON.parse(JSON.stringify(t.channelsArray[r])),i=0;ih.x&&p.x-t[i].width)return!1;return!0},dealStr:function(t){return t.length>50?"".concat(t.substring(0,50),"..."):t},getColor:function(){return"#".concat(Math.floor(16777215*Math.random()).toString(16))},circleImg:function(t,img,e,r,n){t.save();var h=2*n,o=e+n,c=r+n;t.beginPath(),t.arc(o,c,n,0,2*Math.PI),t.clip(),t.drawImage(img,e,r,h,h),t.restore(),t.closePath()},originImg:function(t,img,e,r,n,h){try{t.beginPath(),t.drawImage(img,e,r,n,h),t.closePath()}catch(t){console.log(t)}},drawRoundRect:function(t,e,r,n,h,o,c){if(this.linearGradient.startColor&&this.linearGradient.endColor){var l=t.createLinearGradient(r,n,r,n+o);l.addColorStop(0,this.linearGradient.startColor),l.addColorStop(1,this.linearGradient.endColor),t.fillStyle=l||e}else t.fillStyle=this.background||e;t.beginPath(),t.arc(r+c,n+c,c,Math.PI,3*Math.PI/2),t.lineTo(h-c+r,n),t.arc(h-c+r,c+n,c,3*Math.PI/2,2*Math.PI),t.lineTo(h+r,o+n-c),t.arc(h-c+r,o-c+n,c,0,Math.PI/2),t.lineTo(c+r,o+n),t.arc(c+r,o-c+n,c,Math.PI/2,Math.PI),t.fill(),t.closePath()},drawRoundRectBorder:function(t,e,r,n,h,o){t.beginPath(),t.lineWidth=2,t.strokeStyle=this.borderColor,t.arc(e+o,r+o,o,Math.PI,3*Math.PI/2),t.lineTo(n-o+e,r),t.arc(n-o+e,o+r,o,3*Math.PI/2,2*Math.PI),t.lineTo(n+e,h+r-o),t.arc(n-o+e,h-o+r,o,0,Math.PI/2),t.lineTo(o+e,h+r),t.arc(o+e,h-o+r,o,Math.PI/2,Math.PI),t.stroke(),t.closePath()}}},c=(r(721),r(13)),component=Object(c.a)(o,function(){var t=this,e=t._self._c;return e("div",{staticClass:"z_barrage-container"},[e("canvas",{ref:"canvasContainer",staticStyle:{display:"none"},attrs:{width:t.containerWidth,height:t.containerHeight}}),t._v(" "),e("div",{staticClass:"z_container",style:{height:t.containerHeight/2+"px"}},[e("canvas",{ref:"canvas",staticClass:"z_barrage",style:{width:t.containerWidth/2+"px",height:t.containerHeight/2+"px"},attrs:{id:"canvas",width:t.containerWidth,height:t.containerHeight}})])])},[],!1,null,"c3f32de4",null);e.default=component.exports}}]); \ No newline at end of file diff --git a/.nuxt/dist/client/5207fe0.js b/.nuxt/dist/client/5207fe0.js new file mode 100644 index 0000000..9fb5354 --- /dev/null +++ b/.nuxt/dist/client/5207fe0.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[22],{732:function(e,t,n){var content=n(763);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,n(24).default)("ae7f4322",content,!0,{sourceMap:!1})},762:function(e,t,n){"use strict";n(732)},763:function(e,t,n){var o=n(23),r=n(39),c=n(42),d=o(function(i){return i[1]}),l=r(c);d.push([e.i,"*{border:none;margin:0;padding:0}html{height:100%}body{background:#fff;font-family:MicrosoftYaHei;font-size:0;min-height:100%;min-width:320px;position:relative}body .outer-container{min-width:1258px}body .outer-container.isMobile{min-width:auto}body .outer-container.isMobile .content-container{padding:60px 0 62px;width:100%}body .outer-container.isMobile .content-container .left-content{display:block!important;margin-right:0!important;width:100%!important}body .outer-container.isMobile .content-container .footer-outer{min-width:auto!important;position:absolute!important}body .outer-container.isMobile .content-container .load-more{width:100%!important}body .outer-container.isMobile .content-container .common-flex{display:block!important}body .outer-container.isMobile .content-container .common-other-content{margin:0!important}body .outer-container.isMobile .content-container .common-other-content h6{font-size:20px!important;line-height:28px!important;margin-bottom:10px!important}body .outer-container.isMobile .content-container .common-other-content .font-content b,body .outer-container.isMobile .content-container .common-other-content .font-content h5,body .outer-container.isMobile .content-container .common-other-content .font-content h6,body .outer-container.isMobile .content-container .common-other-content .font-content p{font-size:16px!important;line-height:24px!important;margin-bottom:8px!important;word-break:break-all}body .outer-container.isMobile .content-container .common-other-content .font-content h5{font-size:18px!important}body .outer-container.isMobile.hasLoginBottom{padding-bottom:calc(env(safe-area-inset-bottom) + 55px)}body .outer-container.isMobile.hasLoginBottom .bottom-outer,body .outer-container.isMobile.hasLoginBottom .footer-outer{bottom:calc(constant(safe-area-inset-bottom) + 55px);bottom:calc(env(safe-area-inset-bottom) + 55px)}body .outer-container.isMobile.hasLoginBottom .fixed-box{bottom:calc(constant(safe-area-inset-bottom) + 65px)!important;bottom:calc(env(safe-area-inset-bottom) + 65px)!important}body .content-container{margin:0 auto;width:1080px}body img{-o-object-fit:cover;object-fit:cover;vertical-align:top}body a{-webkit-text-decoration:none;text-decoration:none}body .text-ellipsis{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body .left-content{display:inline-block;margin-right:32px;width:723px}body .right-content{display:inline-block;float:right;width:325px}body .common-flex{display:grid;grid-template-columns:repeat(4,25%)}body .load-more{background:#f5f5f8;border-radius:4px;color:#939aa7;font-family:PingFangSC-Regular,PingFang SC;font-size:18px;font-weight:400;height:50px;line-height:50px;margin:0 auto;text-align:center;width:357px}body .footer-outer{background:#f5f5f8;bottom:0;left:0;min-width:1258px;position:fixed;width:100%;z-index:9}body .common-title{color:#001965;font-family:PingFangSC-Medium,PingFang SC;font-size:24px;font-weight:500;line-height:33px;padding:20px 0 10px;text-align:left}body .common-title a{color:#5d6269;float:right;font-family:PingFangSC-Regular,PingFang SC;font-size:16px;font-weight:400}body .common-title a i{color:#001965}body p.go-follow{background:#e6553f;border-radius:4px;color:#fff;cursor:pointer;font-family:PingFangSC-Medium,PingFang SC;font-size:18px;font-weight:500;height:50px;line-height:50px;margin-bottom:23px;text-align:center}body .common-other-content{box-sizing:border-box;margin:44px 0;padding:30px}body .common-other-content h6{color:#001965;font-family:PingFangSC-Medium,PingFang SC;font-size:24px;font-weight:500;line-height:33px;margin-bottom:20px}body .common-other-content .font-content b,body .common-other-content .font-content h5,body .common-other-content .font-content h6,body .common-other-content .font-content p{color:#5d6269;font-size:18px;line-height:30px;margin-bottom:12px}body .common-other-content .font-content h5{font-size:20px}body .el-message{top:50%!important}body .el-message i{font-size:16px}@media screen and (max-width:500px){body .el-message{max-width:80%;min-width:200px}}body .video-player-box .vjs-big-play-button{background:url("+l+") 50% no-repeat;background-color:transparent!important;background-size:68px 67px;border:none;height:67px;left:50%;outline:none;top:50%;transform:translate(-50%,-50%);width:68px}body .video-player-box .vjs-big-play-button .vjs-icon-placeholder:before{display:none}body .video-player-box .vjs-control-bar button{outline:none}body .el-avatar>img{width:100%}.user-setting-page{padding:36px 0 48px}.user-setting-page .top-box{background:#f5f5f8;height:259px;left:0;position:absolute;top:86px;width:100%}.user-setting-page>div:nth-child(2){background:#fff;border:1px solid #ededed;box-sizing:border-box;padding:36px 32px;position:relative}.user-setting-page>div:nth-child(2)>h6{color:#001965;font-size:24px;font-weight:400;line-height:31px;margin-bottom:32px}.user-setting-page>div:nth-child(2)>div{border-top:1px solid #ededed}.user-setting-page>div:nth-child(2)>div>div{border-bottom:1px solid #ededed;height:88px;padding-left:171px;position:relative}.user-setting-page>div:nth-child(2)>div>div>p:first-child{color:#5d6269;font-size:18px;left:0;line-height:88px;position:absolute}.user-setting-page>div:nth-child(2)>div>div>p:last-child{cursor:pointer;position:absolute;right:0}.user-setting-page>div:nth-child(2)>div>div:first-child .el-input{height:48px;margin-top:20px;width:361px}.user-setting-page>div:nth-child(2)>div>div:first-child .el-input .el-input__inner{background:#f5f5f8;border:none;color:#292b2c;font-size:18px;height:48px;line-height:24px;padding:0 18px}.user-setting-page>div:nth-child(2)>div>div:first-child>p:last-child{background:#005ad2;border-radius:4px;color:#fff;font-family:PingFangSC-Regular,PingFang SC;font-size:16px;font-weight:400;height:40px;line-height:40px;text-align:center;top:21px;width:90px}.user-setting-page>div:nth-child(2)>div>div:nth-child(2)>p:last-child,.user-setting-page>div:nth-child(2)>div>div:nth-child(4)>p:last-child{top:37px}.user-setting-page>div:nth-child(2)>div>div:nth-child(2)>p:last-child span,.user-setting-page>div:nth-child(2)>div>div:nth-child(4)>p:last-child span{color:#5d6269;font-family:PingFangSC-Regular,PingFang SC;font-size:16px;font-weight:400;line-height:22px}.user-setting-page>div:nth-child(2)>div>div:nth-child(2)>p:last-child span i,.user-setting-page>div:nth-child(2)>div>div:nth-child(4)>p:last-child span i{color:#005ad2}.user-setting-page>div:nth-child(2)>div>div:nth-child(3)>p:last-child{top:21px}.user-setting-page>div:nth-child(2)>div>div:nth-child(3)>p:last-child .el-switch{height:30px}.user-setting-page>div:nth-child(2)>div>div:nth-child(3)>p:last-child .el-switch .el-switch__core{border:none;border-radius:15px;height:30px}.user-setting-page>div:nth-child(2)>div>div:nth-child(3)>p:last-child .el-switch .el-switch__core:after{border-radius:12px;height:24px;left:3px;top:3px;width:24px}.user-setting-page>div:nth-child(2)>div>div:nth-child(3)>p:last-child .el-switch.is-checked .el-switch__core:after{left:100%;margin-left:-27px}.isMobile .user-setting-page{padding:0}.isMobile .user-setting-page .top-box{display:none}.isMobile .user-setting-page>div:nth-child(2){border:none;padding:0}.isMobile .user-setting-page>div:nth-child(2)>h6{display:none}.isMobile .user-setting-page>div:nth-child(2)>div>div{display:flex;height:60px;padding:0 15px}.isMobile .user-setting-page>div:nth-child(2)>div>div>p:first-child{font-size:16px;line-height:60px;margin-right:10px;position:relative}.isMobile .user-setting-page>div:nth-child(2)>div>div>p:last-child{right:15px}.isMobile .user-setting-page>div:nth-child(2)>div>div:first-child .el-input{height:40px;margin-top:10px;width:calc(100% - 130px)}.isMobile .user-setting-page>div:nth-child(2)>div>div:first-child .el-input .el-input__inner{height:40px;padding:0 10px}.isMobile .user-setting-page>div:nth-child(2)>div>div:first-child>p:last-child{font-size:15px;height:40px;top:10px;width:70px}.isMobile .user-setting-page>div:nth-child(2)>div>div:nth-child(2)>span{border-radius:20px;height:40px!important;margin-top:10px!important;width:40px!important}.isMobile .user-setting-page>div:nth-child(2)>div>div:nth-child(2)>p:last-child,.isMobile .user-setting-page>div:nth-child(2)>div>div:nth-child(4)>p:last-child{top:17px}.isMobile .user-setting-page>div:nth-child(2)>div>div:nth-child(3)>p:last-child{top:15px}.isMobile .user-setting-page~.bottom-outer{display:none}",""]),d.locals={},e.exports=d},793:function(e,t,n){"use strict";n.r(t);n(28),n(29),n(43),n(44),n(27),n(16),n(30);var o=n(15),r=n(9),c=(n(35),n(54),n(33));function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function l(e){for(var t=1;timg{width:100%}.doctor-item{background:#f5f5f8;border-radius:4px;box-sizing:border-box;cursor:pointer;height:385px;padding:20px 10px 0;text-align:center;width:230px}.doctor-item>img{background:#fff;border:1px solid #ededed;border-radius:54px;height:108px;margin:0 auto;width:108px}.doctor-item h5{color:#001965;font-family:MicrosoftYaHei-Bold,MicrosoftYaHei;font-size:18px;font-weight:700;line-height:24px;margin-top:10px}.doctor-item>p{color:#939aa7;font-size:16px;line-height:21px}.doctor-item>p:nth-child(3){margin:11px 0 1px}.doctor-item .expert-video-list{margin-top:21px}.doctor-item .expert-video-list p{align-items:center;display:flex;margin-bottom:22px;text-align:left}.doctor-item .expert-video-list p img{border-radius:15px;height:30px;margin-right:10px;width:30px}.doctor-item .expert-video-list p span{display:-webkit-box;-webkit-box-orient:vertical;color:#292b2c;font-size:16px;-webkit-line-clamp:2;line-height:21px;overflow:hidden}",""]),d.locals={},t.exports=d},716:function(t,o,e){"use strict";e.r(o);e(95);var n={props:{detail:{type:Object,default:null},columnNum:{type:Number,default:1}},created:function(){},methods:{goDoctor:function(t){this.$emit("addStat");var o=this.$router.resolve({path:"/doctor/"+t}).href;window.open(o,"_blank")}}},r=(e(711),e(13)),component=Object(r.a)(n,function(){var t=this,o=t._self._c;return o("div",{key:t.detail.id,staticClass:"doctor-item",on:{click:function(o){return t.goDoctor(t.detail.video_list[0].id)}}},[o("img",{attrs:{src:t.detail.expert_img,alt:t.detail.username}}),t._v(" "),o("h5",[t._v(t._s(t.detail.username)+" "+t._s(t.detail.title))]),t._v(" "),o("p",{staticClass:"text-ellipsis"},[t._v(t._s(t.detail.hospital_name))]),t._v(" "),o("p",{staticClass:"text-ellipsis"},[t._v(t._s(t.detail.department))]),t._v(" "),o("div",{staticClass:"expert-video-list"},[t._l(t.detail.video_list,function(video,n){return[n<2?o("p",{key:"live"+video.id,on:{click:function(o){return o.stopPropagation(),t.goDoctor(video.id)}}},[o("img",{attrs:{src:e(710),alt:""}}),t._v(" "),o("span",[t._v(t._s(video.title))])]):t._e()]})],2)])},[],!1,null,null,null);o.default=component.exports}}]); \ No newline at end of file diff --git a/.nuxt/dist/client/6dbe3f4.js b/.nuxt/dist/client/6dbe3f4.js new file mode 100644 index 0000000..d2039cd --- /dev/null +++ b/.nuxt/dist/client/6dbe3f4.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{704:function(t,o,e){var content=e(707);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,e(24).default)("f0a69850",content,!0,{sourceMap:!1})},705:function(t,o){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAAAXNSR0IArs4c6QAAA4NJREFUWEftmMtr1FAUxr+TtPoXqOjKheCmaLGKRTuTpI9kqiIqOCulglihVsVFUSpCF5ZCFcRCBUdERQXRheLCdtJHMomi4AtEQcWlYls3FVdqkyMT7djHzDTJdIYKzmqYe77v+90zN8m9ISzwDy1wPvzbgH2GsVKEKIMgAShzGc+JhDeaXDMQpvN6KqUyU5VAWMuMbwDp5Vz+WFGqP+byy9rBQdve5jo4CXB1NiGDPwDUJ04s6qyvrx7NBzs4+GSZU/Yj7dVIoFXZagl47MC9FJPlKzPHpwEahlH2E+I5EFr9dIiBV+Rwm1on6dnq9aGUyiKdIWCNHz8QhsdHRxrj8fiPyfoMYN/ww9Wi4L71ZTSriOKqHLkz9WfdtHcDfDuMnytgRSwa/ZzWZgB10/oEYEUYw9+av5CFwP3xeqPKkYoMYNK0EgQcCA8HeOuScRMkjAHusVzrzW8GM5/SFOk0JU2zgSBkXUN+zYpW57BGSdM+QuDzRQspwJiY22jATF1kUHMBPsWUXic9ZT0Do6qYKWG9vduYbloc1qAUunQHn4CxsRRhwTP4JSVNq4eAw8HFJVAQXaZkym4m5osliAseQdxKumGsB4lPg6tLoGBng/eo003rOoA9JYgMEnFDlaN7PcB+w64XiEPt8YIkBql1mRpiSmQws1kYMK27DOwIYlKsWgLuNcjRnZnNQvpL0jAqSBCHwFharGBfvoQxdp06TVFeTwP0IBfAFc1EBzUpkpiczKwtv56yroLR5Gu2811EuKZK0X1TbWcBPrCsJeWMfmasm+/8fH5EePGTENsSjX7JC5ge7DMMWSSxH8DiEkF+d9iJNSqKOTMv57k4adotBO4tBSCDDmly5EK2rLwH96RhdxHxiWJCMtCuydGuXBlzvlkYMO1eBrcUBZK5VVWkvP/SnIDe7ce0uglom09IIqGtQao5O5enL0DveW1Z++Bi1sl/roBs4wz3qCbLPX60vgE9SONRJch56cc4Zw3xVlWSHvj1CASYNu23rOUC4w4Ym/2G/Kl777gT2xtra98F0QUGTJt3dHQIm5S6BJj3+wy7Pz42sisejzs+6zNloQAn1bppdQJozx9K3aocOR4UbLK+IEDvCh+2qwTBbZ55tiZwwnWFhFYbeR4WLq0rGDDTTcOoJEFscl3+CpTf0pRNId+UTZ/OvAEW0qV82v+AhXb2F1BsL4A14kXbAAAAAElFTkSuQmCC"},706:function(t,o,e){"use strict";e(704)},707:function(t,o,e){var n=e(23),l=e(39),d=e(42),r=n(function(i){return i[1]}),m=l(d);r.push([t.i,"*{border:none;margin:0;padding:0}html{height:100%}body{background:#fff;font-family:MicrosoftYaHei;font-size:0;min-height:100%;min-width:320px;position:relative}body .outer-container{min-width:1258px}body .outer-container.isMobile{min-width:auto}body .outer-container.isMobile .content-container{padding:60px 0 62px;width:100%}body .outer-container.isMobile .content-container .left-content{display:block!important;margin-right:0!important;width:100%!important}body .outer-container.isMobile .content-container .footer-outer{min-width:auto!important;position:absolute!important}body .outer-container.isMobile .content-container .load-more{width:100%!important}body .outer-container.isMobile .content-container .common-flex{display:block!important}body .outer-container.isMobile .content-container .common-other-content{margin:0!important}body .outer-container.isMobile .content-container .common-other-content h6{font-size:20px!important;line-height:28px!important;margin-bottom:10px!important}body .outer-container.isMobile .content-container .common-other-content .font-content b,body .outer-container.isMobile .content-container .common-other-content .font-content h5,body .outer-container.isMobile .content-container .common-other-content .font-content h6,body .outer-container.isMobile .content-container .common-other-content .font-content p{font-size:16px!important;line-height:24px!important;margin-bottom:8px!important;word-break:break-all}body .outer-container.isMobile .content-container .common-other-content .font-content h5{font-size:18px!important}body .outer-container.isMobile.hasLoginBottom{padding-bottom:calc(env(safe-area-inset-bottom) + 55px)}body .outer-container.isMobile.hasLoginBottom .bottom-outer,body .outer-container.isMobile.hasLoginBottom .footer-outer{bottom:calc(constant(safe-area-inset-bottom) + 55px);bottom:calc(env(safe-area-inset-bottom) + 55px)}body .outer-container.isMobile.hasLoginBottom .fixed-box{bottom:calc(constant(safe-area-inset-bottom) + 65px)!important;bottom:calc(env(safe-area-inset-bottom) + 65px)!important}body .content-container{margin:0 auto;width:1080px}body img{-o-object-fit:cover;object-fit:cover;vertical-align:top}body a{-webkit-text-decoration:none;text-decoration:none}body .detail-list-item.one-line-columns-4.large-width>p,body .text-ellipsis{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body .left-content{display:inline-block;margin-right:32px;width:723px}body .right-content{display:inline-block;float:right;width:325px}body .common-flex{display:grid;grid-template-columns:repeat(4,25%)}body .load-more{background:#f5f5f8;border-radius:4px;color:#939aa7;font-family:PingFangSC-Regular,PingFang SC;font-size:18px;font-weight:400;height:50px;line-height:50px;margin:0 auto;text-align:center;width:357px}body .footer-outer{background:#f5f5f8;bottom:0;left:0;min-width:1258px;position:fixed;width:100%;z-index:9}body .common-title{color:#001965;font-family:PingFangSC-Medium,PingFang SC;font-size:24px;font-weight:500;line-height:33px;padding:20px 0 10px;text-align:left}body .common-title a{color:#5d6269;float:right;font-family:PingFangSC-Regular,PingFang SC;font-size:16px;font-weight:400}body .common-title a i{color:#001965}body p.go-follow{background:#e6553f;border-radius:4px;color:#fff;cursor:pointer;font-family:PingFangSC-Medium,PingFang SC;font-size:18px;font-weight:500;height:50px;line-height:50px;margin-bottom:23px;text-align:center}body .common-other-content{box-sizing:border-box;margin:44px 0;padding:30px}body .common-other-content h6{color:#001965;font-family:PingFangSC-Medium,PingFang SC;font-size:24px;font-weight:500;line-height:33px;margin-bottom:20px}body .common-other-content .font-content b,body .common-other-content .font-content h5,body .common-other-content .font-content h6,body .common-other-content .font-content p{color:#5d6269;font-size:18px;line-height:30px;margin-bottom:12px}body .common-other-content .font-content h5{font-size:20px}body .el-message{top:50%!important}body .el-message i{font-size:16px}@media screen and (max-width:500px){body .el-message{max-width:80%;min-width:200px}}body .video-player-box .vjs-big-play-button{background:url("+m+') 50% no-repeat;background-color:transparent!important;background-size:68px 67px;border:none;height:67px;left:50%;outline:none;top:50%;transform:translate(-50%,-50%);width:68px}body .video-player-box .vjs-big-play-button .vjs-icon-placeholder:before{display:none}body .video-player-box .vjs-control-bar button{outline:none}body .el-avatar>img{width:100%}.detail-list-item{background:#f5f5f8;border-radius:4px;cursor:pointer;display:block;margin-bottom:18px;overflow:hidden;position:relative}.detail-list-item .top-img-box{height:131px;position:relative}.detail-list-item .top-img-box>img:first-child{height:100%;width:100%}.detail-list-item .top-img-box span{background:rgba(0,0,0,.4);border-radius:4px;color:#fff;font-family:PingFangSC-Regular,PingFang SC;font-size:14px;font-weight:400;height:24px;line-height:24px;padding:0 9px;position:absolute;right:12px;top:12px}.detail-list-item .top-img-box>img.play{height:67px;left:50%;margin:-34px 0 0 -34px;position:absolute;top:50%;width:68px}.detail-list-item>p{color:#5d6269;display:-webkit-box;font-size:16px;line-height:26px;padding:12px 10px 0;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.detail-list-item .bottom{bottom:0;box-sizing:border-box;height:46px;left:0;padding:0 10px 22px;position:absolute;width:100%}.detail-list-item .bottom span:first-child{border:1px solid #bac0c2;border-radius:4px;box-sizing:border-box;color:#939aa7;font-family:PingFangSC-Regular,PingFang SC;font-size:14px;font-weight:400;height:24px;line-height:22px;padding:0 9px}.detail-list-item .bottom span:last-child{color:#bac0c2;float:right;font-family:Apis-Regular,Apis;font-size:16px;line-height:24px}.detail-list-item .bottom span:last-child i{margin-left:4px}.detail-list-item .bottom span:last-child img{margin:4px 0 0 4px;width:16px}.detail-list-item.one-line-columns-3{height:274px;width:230px}.detail-list-item.one-line-columns-4{height:298px;width:255px}.detail-list-item.one-line-columns-4 .top-img-box{height:144px}.detail-list-item.one-line-columns-4>p{padding-top:18px}.detail-list-item.one-line-columns-4 .bottom{height:54px;padding-bottom:30px}.detail-list-item.one-line-columns-4.large-width{grid-column-start:span 2;position:relative;width:529px}.detail-list-item.one-line-columns-4.large-width .top-img-box{height:100%}.detail-list-item.one-line-columns-4.large-width .top-img-box>img.play{display:none}.detail-list-item.one-line-columns-4.large-width:after{background:linear-gradient(180deg,transparent,rgba(0,0,0,.4));bottom:0;content:"";height:120px;left:0;position:absolute;width:100%}.detail-list-item.one-line-columns-4.large-width>p{bottom:62px;color:#fff;font-size:18px;left:12px;padding:0;position:absolute;width:calc(100% - 24px);z-index:1}.detail-list-item.one-line-columns-4.large-width .bottom{z-index:1}.detail-list-item.one-line-columns-4.large-width .bottom span:first-child{border-color:hsla(0,0%,100%,.6);color:#fff}.detail-list-item.one-line-columns-4.large-width .bottom span:last-child{color:#fff}.detail-list-item.one-line-columns-4.large-width.only-img:after{display:none}.detail-list-item.one-line-columns-4.large-width.only-img>img{height:100%;width:100%}.detail-list-item.isMobile{background:#fff;box-sizing:border-box;display:flex;flex-direction:column-reverse;height:auto!important;margin-bottom:1px!important;padding:15px 15px 43px;position:relative;width:100%!important}.detail-list-item.isMobile>p{color:#292b2c!important;display:block;font-family:PingFangSC-Medium,PingFang SC;font-size:18px;font-weight:500;line-height:25px;margin-bottom:10px;padding:0;position:static!important;white-space:normal!important;width:100%!important}.detail-list-item.isMobile .top-img-box{height:auto}.detail-list-item.isMobile .top-img-box img{border-radius:6px}.detail-list-item.isMobile .top-img-box span{bottom:12px;top:auto}.detail-list-item.isMobile .top-img-box img.play{display:block!important}.detail-list-item.isMobile .bottom{bottom:13px;height:20px;left:15px;padding:0;position:absolute;width:auto}.detail-list-item.isMobile .bottom span:first-child{display:none}.detail-list-item.isMobile .bottom span:last-child{color:#bac0c2!important;font-family:PingFangSC-Regular,PingFang SC;font-size:14px;font-weight:400;line-height:20px}.detail-list-item.isMobile.article-item .top-img-box{height:80px;padding-right:125px;position:relative}.detail-list-item.isMobile.article-item .top-img-box img{border-radius:6px;height:80px;position:absolute;right:0;top:0;width:110px}.detail-list-item.isMobile.article-item.no-intro>p{box-sizing:border-box;display:-webkit-box;padding-right:125px;position:absolute!important;top:15px;width:calc(100% - 30px)!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}.detail-list-item.isMobile.article-item.has-intro .top-img-box p{display:-webkit-box;-webkit-box-orient:vertical;color:#5d6269;font-family:PingFangSC-Regular,PingFang SC;font-size:16px;font-weight:400;-webkit-line-clamp:3;line-height:24px;overflow:hidden}.detail-list-item.isMobile:after{display:none}',""]),r.locals={},t.exports=r},708:function(t,o,e){"use strict";e.r(o);e(95);var n={props:{detail:{type:Object,default:null},columnNum:{type:Number,default:1},deviceType:{type:String,default:"pc"}},created:function(){},methods:{goHref:function(t){this.$emit("addStat");var o=!1;"pc"===this.deviceType&&(o=!0),o?window.open(t,"_blank"):window.location.href=t}}},l=(e(706),e(13)),component=Object(l.a)(n,function(){var t=this,o=t._self._c;return 38==t.detail.mainModule?o("div",{staticClass:"only-img detail-list-item large-width",class:"one-line-columns-"+t.columnNum+("pc"!==t.deviceType?" isMobile":""),on:{click:function(o){return t.goHref(t.detail.action_url)}}},[o("img",{attrs:{src:t.detail.image_url,alt:""}})]):o("div",{staticClass:"detail-list-item",class:(2==t.detail.showType?"large-width ":"")+"one-line-columns-"+t.columnNum+("pc"!==t.deviceType?" isMobile":"")+(47==t.detail.mainModule?" video-item":" article-item")+(t.detail.intro&&""!==t.detail.intro?" has-intro":" no-intro"),on:{click:function(o){t.goHref((47==t.detail.mainModule?"/video/":"/article/")+t.detail.id)}}},[o("div",{staticClass:"top-img-box"},[47===t.detail.mainModule||t.detail.thumb?o("img",{attrs:{src:47==t.detail.mainModule?t.detail.video_cover_url:t.detail.thumb,alt:""}}):o("img",{attrs:{src:e(463),alt:""}}),t._v(" "),"pc"!==t.deviceType&&t.detail.intro&&""!==t.detail.intro?o("p",[t._v("\n "+t._s(t.detail.intro)+"\n ")]):t._e(),t._v(" "),47==t.detail.mainModule?[o("span",[t._v(t._s(parseInt(t.detail.video_time/60)>9?parseInt(t.detail.video_time/60):"0"+parseInt(t.detail.video_time/60))+":"+t._s(parseInt(t.detail.video_time%60)>9?parseInt(t.detail.video_time%60):"0"+parseInt(t.detail.video_time%60)))]),t._v(" "),o("img",{staticClass:"play",attrs:{src:e(42),alt:""}})]:t._e()],2),t._v(" "),o("p",[t._v(t._s(t.detail.title))]),t._v(" "),o("div",{staticClass:"bottom"},[o("span",{style:{display:(47==t.detail.mainModule?t.detail.tag_name:t.detail.labelName)?"":"none"}},[t._v(t._s(47==t.detail.mainModule?t.detail.tag_name:t.detail.labelName))]),t._v(" "),o("span",[t._v(t._s(47==t.detail.mainModule?t.detail.play_num:t.detail.hit)),"pc"!==t.deviceType?[t._v(t._s(47==t.detail.mainModule?"播放":"阅读")+"  ")]:o("i",{staticClass:"el-icon-view",staticStyle:{"margin-right":"8px"}}),t._v(t._s(47==t.detail.mainModule?t.detail.like_num:t.detail.collect)),"pc"!==t.deviceType?[t._v(t._s(47==t.detail.mainModule?"喜欢":"收藏")+"  ")]:[47==t.detail.mainModule?o("img",{attrs:{src:e(705),alt:""}}):o("i",{staticClass:"el-icon-star-on",staticStyle:{"margin-left":"2px","font-size":"18px"}})]],2)])])},[],!1,null,null,null);o.default=component.exports}}]); \ No newline at end of file diff --git a/.nuxt/dist/client/6dd7e45.js b/.nuxt/dist/client/6dd7e45.js new file mode 100644 index 0000000..b2507c2 --- /dev/null +++ b/.nuxt/dist/client/6dd7e45.js @@ -0,0 +1,2 @@ +/*! For license information please see LICENSES */ +(window.webpackJsonp=window.webpackJsonp||[]).push([[2],[,function(t,e,n){"use strict";n.r(e),function(t,r){n.d(e,"EffectScope",function(){return Ie}),n.d(e,"computed",function(){return xe}),n.d(e,"customRef",function(){return de}),n.d(e,"default",function(){return So}),n.d(e,"defineAsyncComponent",function(){return Xn}),n.d(e,"defineComponent",function(){return dr}),n.d(e,"del",function(){return del}),n.d(e,"effectScope",function(){return Ne}),n.d(e,"getCurrentInstance",function(){return St}),n.d(e,"getCurrentScope",function(){return Le}),n.d(e,"h",function(){return Rn}),n.d(e,"inject",function(){return Ue}),n.d(e,"isProxy",function(){return ee}),n.d(e,"isReactive",function(){return Qt}),n.d(e,"isReadonly",function(){return te}),n.d(e,"isRef",function(){return ie}),n.d(e,"isShallow",function(){return Zt}),n.d(e,"markRaw",function(){return re}),n.d(e,"mergeDefaults",function(){return En}),n.d(e,"nextTick",function(){return Wn}),n.d(e,"onActivated",function(){return ir}),n.d(e,"onBeforeMount",function(){return Qn}),n.d(e,"onBeforeUnmount",function(){return rr}),n.d(e,"onBeforeUpdate",function(){return er}),n.d(e,"onDeactivated",function(){return ar}),n.d(e,"onErrorCaptured",function(){return lr}),n.d(e,"onMounted",function(){return Zn}),n.d(e,"onRenderTracked",function(){return sr}),n.d(e,"onRenderTriggered",function(){return cr}),n.d(e,"onScopeDispose",function(){return Me}),n.d(e,"onServerPrefetch",function(){return ur}),n.d(e,"onUnmounted",function(){return or}),n.d(e,"onUpdated",function(){return nr}),n.d(e,"provide",function(){return De}),n.d(e,"proxyRefs",function(){return le}),n.d(e,"reactive",function(){return Jt}),n.d(e,"readonly",function(){return ge}),n.d(e,"ref",function(){return ae}),n.d(e,"set",function(){return Wt}),n.d(e,"shallowReactive",function(){return Xt}),n.d(e,"shallowReadonly",function(){return we}),n.d(e,"shallowRef",function(){return ue}),n.d(e,"toRaw",function(){return ne}),n.d(e,"toRef",function(){return ve}),n.d(e,"toRefs",function(){return he}),n.d(e,"triggerRef",function(){return ce}),n.d(e,"unref",function(){return fe}),n.d(e,"useAttrs",function(){return xn}),n.d(e,"useCssModule",function(){return Kn}),n.d(e,"useCssVars",function(){return Jn}),n.d(e,"useListeners",function(){return On}),n.d(e,"useSlots",function(){return wn}),n.d(e,"version",function(){return pr}),n.d(e,"watch",function(){return Pe}),n.d(e,"watchEffect",function(){return ke}),n.d(e,"watchPostEffect",function(){return Ce}),n.d(e,"watchSyncEffect",function(){return Ae});var o=Object.freeze({}),c=Array.isArray;function f(t){return null==t}function l(t){return null!=t}function d(t){return!0===t}function h(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function v(t){return"function"==typeof t}function y(t){return null!==t&&"object"==typeof t}var m=Object.prototype.toString;function _(t){return"[object Object]"===m.call(t)}function w(t){return"[object RegExp]"===m.call(t)}function x(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function O(t){return l(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function S(t){return null==t?"":Array.isArray(t)||_(t)&&t.toString===m?JSON.stringify(t,E,2):String(t)}function E(t,e){return e&&e.__v_isRef?e.value:e}function j(t){var e=parseFloat(t);return isNaN(e)?t:e}function k(t,e){for(var map=Object.create(null),n=t.split(","),i=0;i-1)return t.splice(r,1)}}var T=Object.prototype.hasOwnProperty;function $(t,e){return T.call(t,e)}function P(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var R=/-(\w)/g,I=P(function(t){return t.replace(R,function(t,e){return e?e.toUpperCase():""})}),N=P(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),L=/\B([A-Z])/g,M=P(function(t){return t.replace(L,"-$1").toLowerCase()});var D=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(a){var n=arguments.length;return n?n>1?t.apply(e,arguments):t.call(e,a):t.call(e)}return n._length=t.length,n};function F(t,e){e=e||0;for(var i=t.length-e,n=new Array(i);i--;)n[i]=t[i+e];return n}function U(t,e){for(var n in e)t[n]=e[n];return t}function B(t){for(var e={},i=0;i0,ft=ut&&ut.indexOf("edge/")>0;ut&&ut.indexOf("android");var lt=ut&&/iphone|ipad|ipod|ios/.test(ut);ut&&/chrome\/\d+/.test(ut),ut&&/phantomjs/.test(ut);var pt,ht=ut&&ut.match(/firefox\/(\d+)/),vt={}.watch,yt=!1;if(at)try{var mt={};Object.defineProperty(mt,"passive",{get:function(){yt=!0}}),window.addEventListener("test-passive",null,mt)}catch(t){}var gt=function(){return void 0===pt&&(pt=!at&&void 0!==t&&(t.process&&"server"===t.process.env.VUE_ENV)),pt},bt=at&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function _t(t){return"function"==typeof t&&/native code/.test(t.toString())}var wt,xt="undefined"!=typeof Symbol&&_t(Symbol)&&"undefined"!=typeof Reflect&&_t(Reflect.ownKeys);wt="undefined"!=typeof Set&&_t(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var Ot=null;function St(){return Ot&&{proxy:Ot}}function Et(t){void 0===t&&(t=null),t||Ot&&Ot._scope.off(),Ot=t,t&&t._scope.on()}var jt=function(){function t(t,data,e,text,n,r,o,c){this.tag=t,this.data=data,this.children=e,this.text=text,this.elm=n,this.ns=void 0,this.context=r,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=data&&data.key,this.componentOptions=o,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=c,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),kt=function(text){void 0===text&&(text="");var t=new jt;return t.text=text,t.isComment=!0,t};function Ct(t){return new jt(void 0,void 0,void 0,String(t))}function At(t){var e=new jt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}"function"==typeof SuppressedError&&SuppressedError;var Tt=0,$t=[],Pt=function(){for(var i=0;i<$t.length;i++){var t=$t[i];t.subs=t.subs.filter(function(s){return s}),t._pending=!1}$t.length=0},Rt=function(){function t(){this._pending=!1,this.id=Tt++,this.subs=[]}return t.prototype.addSub=function(sub){this.subs.push(sub)},t.prototype.removeSub=function(sub){this.subs[this.subs.indexOf(sub)]=null,this._pending||(this._pending=!0,$t.push(this))},t.prototype.depend=function(e){t.target&&t.target.addDep(this)},t.prototype.notify=function(t){var e=this.subs.filter(function(s){return s});for(var i=0,n=e.length;i1)return n&&v(e)?e.call(r):e}else 0}var Be=P(function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),r="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=r?t.slice(1):t,once:n,capture:r,passive:e}});function ze(t,e){function n(){var t=n.fns;if(!c(t))return Nn(t,null,arguments,e,"v-on handler");for(var r=t.slice(),i=0;i0&&(We((n=Ke(n,"".concat(e||"","_").concat(i)))[0])&&We(o)&&(v[r]=Ct(o.text+n[0].text),n.shift()),v.push.apply(v,n)):h(n)?We(o)?v[r]=Ct(o.text+n):""!==n&&v.push(Ct(n)):We(n)&&We(o)?v[r]=Ct(o.text+n.text):(d(t._isVList)&&l(n.tag)&&f(n.key)&&l(e)&&(n.key="__vlist".concat(e,"_").concat(i,"__")),v.push(n)));return v}function Je(t,e){var i,n,r,o,f=null;if(c(t)||"string"==typeof t)for(f=new Array(t.length),i=0,n=t.length;i0,l=e?!!e.$stable:!f,d=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(l&&r&&r!==o&&d===r.$key&&!f&&!r.$hasNormal)return r;for(var h in c={},e)e[h]&&"$"!==h[0]&&(c[h]=vn(t,n,h,e[h]))}else c={};for(var v in n)v in c||(c[v]=yn(n,v));return e&&Object.isExtensible(e)&&(e._normalized=c),nt(c,"$stable",l),nt(c,"$key",d),nt(c,"$hasNormal",f),c}function vn(t,e,n,r){var o=function(){var e=Ot;Et(t);var n=arguments.length?r.apply(null,arguments):r({}),o=(n=n&&"object"==typeof n&&!c(n)?[n]:Ge(n))&&n[0];return Et(e),n&&(!o||1===n.length&&o.isComment&&!dn(o))?void 0:n};return r.proxy&&Object.defineProperty(e,n,{get:o,enumerable:!0,configurable:!0}),o}function yn(t,e){return function(){return t[e]}}function mn(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};nt(e,"_v_attr_proxy",!0),gn(e,t.$attrs,o,t,"$attrs")}return t._attrsProxy},get listeners(){t._listenersProxy||gn(t._listenersProxy={},t.$listeners,o,t,"$listeners");return t._listenersProxy},get slots(){return function(t){t._slotsProxy||_n(t._slotsProxy={},t.$scopedSlots);return t._slotsProxy}(t)},emit:D(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach(function(n){return pe(t,e,n)})}}}function gn(t,e,n,r,o){var c=!1;for(var f in e)f in t?e[f]!==n[f]&&(c=!0):(c=!0,bn(t,f,r,o));for(var f in t)f in e||(c=!0,delete t[f]);return c}function bn(t,e,n,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[r][e]}})}function _n(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function wn(){return Sn().slots}function xn(){return Sn().attrs}function On(){return Sn().listeners}function Sn(){var t=Ot;return t._setupContext||(t._setupContext=mn(t))}function En(t,e){var n=c(t)?t.reduce(function(t,p){return t[p]={},t},{}):t;for(var r in e){var o=n[r];o?c(o)||v(o)?n[r]={type:o,default:e[r]}:o.default=e[r]:null===o&&(n[r]={default:e[r]})}return n}var jn=null;function kn(t,base){return(t.__esModule||xt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),y(t)?base.extend(t):t}function Cn(t){if(c(t))for(var i=0;idocument.createEvent("Event").timeStamp&&(Fr=function(){return Ur.now()})}var Br=function(a,b){if(a.post){if(!b.post)return 1}else if(b.post)return-1;return a.id-b.id};function zr(){var t,e;for(Dr=Fr(),Lr=!0,Pr.sort(Br),Mr=0;MrMr&&Pr[i].id>t.id;)i--;Pr.splice(i+1,0,t)}else Pr.push(t);Nr||(Nr=!0,Wn(zr))}}function Hr(t,e){if(t){for(var n=Object.create(null),r=xt?Reflect.ownKeys(t):Object.keys(t),i=0;i-1)if(c&&!$(o,"default"))f=!1;else if(""===f||f===M(t)){var d=po(String,o.type);(d<0||l-1:"string"==typeof pattern?pattern.split(",").indexOf(t)>-1:!!w(pattern)&&pattern.test(t)}function Co(t,filter){var e=t.cache,n=t.keys,r=t._vnode,o=t.$vnode;for(var c in e){var f=e[c];if(f){var l=f.name;l&&!filter(l)&&Ao(e,c,n,r)}}o.componentOptions.children=void 0}function Ao(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,A(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=xo++,e._isVue=!0,e.__v_skip=!0,e._scope=new Ie(!0),e._scope.parent=void 0,e._scope._vm=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=ao(Oo(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._provided=n?n._provided:Object.create(null),t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&Er(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=ln(e._renderChildren,r),t.$scopedSlots=n?hn(t.$parent,n.data.scopedSlots,t.$slots):o,t._c=function(a,b,e,n){return $n(t,a,b,e,n,!1)},t.$createElement=function(a,b,e,n){return $n(t,a,b,e,n,!0)};var c=n&&n.data;Gt(t,"$attrs",c&&c.attrs||o,null,!0),Gt(t,"$listeners",e._parentListeners||o,null,!0)}(e),$r(e,"beforeCreate",void 0,!1),function(t){var e=Hr(t.$options.inject,t);e&&(zt(!1),Object.keys(e).forEach(function(n){Gt(t,n,e[n])}),zt(!0))}(e),yo(e),function(t){var e=t.$options.provide;if(e){var n=v(e)?e.call(t):e;if(!y(n))return;for(var source=Fe(t),r=xt?Reflect.ownKeys(n):Object.keys(n),i=0;i1?F(n):n;for(var r=F(arguments,1),o='event handler for "'.concat(t,'"'),i=0,c=n.length;iparseInt(this.max)&&Ao(e,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Ao(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",function(e){Co(t,function(t){return ko(e,t)})}),this.$watch("exclude",function(e){Co(t,function(t){return!ko(e,t)})})},updated:function(){this.cacheVNode()},render:function(){var slot=this.$slots.default,t=Cn(slot),e=t&&t.componentOptions;if(e){var n=jo(e),r=this.include,o=this.exclude;if(r&&(!n||!ko(r,n))||o&&n&&ko(o,n))return t;var c=this.cache,f=this.keys,l=null==t.key?e.Ctor.cid+(e.tag?"::".concat(e.tag):""):t.key;c[l]?(t.componentInstance=c[l].componentInstance,A(f,l),f.push(l)):(this.vnodeToCache=t,this.keyToCache=l),t.data.keepAlive=!0}return t||slot&&slot[0]}}};!function(t){var e={get:function(){return Z}};Object.defineProperty(t,"config",e),t.util={warn:Zr,extend:U,mergeOptions:ao,defineReactive:Gt},t.set=Wt,t.delete=del,t.nextTick=Wn,t.observable=function(t){return qt(t),t},t.options=Object.create(null),Y.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,U(t.options.components,$o),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=F(arguments,1);return n.unshift(this),v(t.install)?t.install.apply(t,n):v(t)&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=ao(this.options,t),this}}(t),Eo(t),function(t){Y.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&_(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&v(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}(t)}(So),Object.defineProperty(So.prototype,"$isServer",{get:gt}),Object.defineProperty(So.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(So,"FunctionalRenderContext",{value:qr}),So.version=pr;var Po=k("style,class"),Ro=k("input,textarea,option,select,progress"),Io=k("contenteditable,draggable,spellcheck"),No=k("events,caret,typing,plaintext-only"),Lo=k("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),Mo="http://www.w3.org/1999/xlink",Do=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Fo=function(t){return Do(t)?t.slice(6,t.length):""},Uo=function(t){return null==t||!1===t};function Bo(t){for(var data=t.data,e=t,n=t;l(n.componentInstance);)(n=n.componentInstance._vnode)&&n.data&&(data=zo(n.data,data));for(;l(e=e.parent);)e&&e.data&&(data=zo(data,e.data));return function(t,e){if(l(t)||l(e))return Vo(t,Ho(e));return""}(data.staticClass,data.class)}function zo(t,e){return{staticClass:Vo(t.staticClass,e.staticClass),class:l(t.class)?[t.class,e.class]:e.class}}function Vo(a,b){return a?b?a+" "+b:a:b||""}function Ho(t){return Array.isArray(t)?function(t){for(var e,n="",i=0,r=t.length;i-1?vi(t,e,n):Lo(e)?Uo(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Io(e)?t.setAttribute(e,function(t,e){return Uo(e)||"false"===e?"false":"contenteditable"===t&&No(e)?e:"true"}(e,n)):Do(e)?Uo(n)?t.removeAttributeNS(Mo,Fo(e)):t.setAttributeNS(Mo,e,n):vi(t,e,n)}function vi(t,e,n){if(Uo(n))t.removeAttribute(e);else{if(st&&!ct&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var yi={create:di,update:di};function mi(t,e){var n=e.elm,data=e.data,r=t.data;if(!(f(data.staticClass)&&f(data.class)&&(f(r)||f(r.staticClass)&&f(r.class)))){var o=Bo(e),c=n._transitionClasses;l(c)&&(o=Vo(o,Ho(c))),o!==n._prevClass&&(n.setAttribute("class",o),n._prevClass=o)}}var gi,bi={create:mi,update:mi},_i="__r",wi="__c";function xi(t,e,n){var r=gi;return function o(){null!==e.apply(null,arguments)&&Ei(t,o,n,r)}}var Oi=Fn&&!(ht&&Number(ht[1])<=53);function Si(t,e,n,r){if(Oi){var o=Dr,c=e;e=c._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return c.apply(this,arguments)}}gi.addEventListener(t,e,yt?{capture:n,passive:r}:n)}function Ei(t,e,n,r){(r||gi).removeEventListener(t,e._wrapper||e,n)}function ji(t,e){if(!f(t.data.on)||!f(e.data.on)){var n=e.data.on||{},r=t.data.on||{};gi=e.elm||t.elm,function(t){if(l(t[_i])){var e=st?"change":"input";t[e]=[].concat(t[_i],t[e]||[]),delete t[_i]}l(t[wi])&&(t.change=[].concat(t[wi],t.change||[]),delete t[wi])}(n),Ve(n,r,Si,Ei,xi,e.context),gi=void 0}}var ki,Ci={create:ji,update:ji,destroy:function(t){return ji(t,ei)}};function Ai(t,e){if(!f(t.data.domProps)||!f(e.data.domProps)){var n,r,o=e.elm,c=t.data.domProps||{},h=e.data.domProps||{};for(n in(l(h.__ob__)||d(h._v_attr_proxy))&&(h=e.data.domProps=U({},h)),c)n in h||(o[n]="");for(n in h){if(r=h[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===c[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=r;var v=f(r)?"":String(r);Ti(o,v)&&(o.value=v)}else if("innerHTML"===n&&Wo(o.tagName)&&f(o.innerHTML)){(ki=ki||document.createElement("div")).innerHTML="".concat(r,"");for(var svg=ki.firstChild;o.firstChild;)o.removeChild(o.firstChild);for(;svg.firstChild;)o.appendChild(svg.firstChild)}else if(r!==c[n])try{o[n]=r}catch(t){}}}}function Ti(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(l(r)){if(r.number)return j(n)!==j(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var $i={create:Ai,update:Ai},Pi=P(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e});function Ri(data){var style=Ii(data.style);return data.staticStyle?U(data.staticStyle,style):style}function Ii(t){return Array.isArray(t)?B(t):"string"==typeof t?Pi(t):t}var Ni,Li=/^--/,Mi=/\s*!important$/,Di=function(t,e,n){if(Li.test(e))t.style.setProperty(e,n);else if(Mi.test(n))t.style.setProperty(M(e),n.replace(Mi,""),"important");else{var r=Ui(e);if(Array.isArray(n))for(var i=0,o=n.length;i-1?e.split(zi).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" ".concat(t.getAttribute("class")||""," ");n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Hi(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(zi).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" ".concat(t.getAttribute("class")||""," "),r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function qi(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&U(e,Gi(t.name||"v")),U(e,t),e}return"string"==typeof t?Gi(t):void 0}}var Gi=P(function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}}),Wi=at&&!ct,Ki="transition",Ji="animation",Xi="transition",Yi="transitionend",Qi="animation",Zi="animationend";Wi&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Xi="WebkitTransition",Yi="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Qi="WebkitAnimation",Zi="webkitAnimationEnd"));var ta=at?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function ea(t){ta(function(){ta(t)})}function na(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Vi(t,e))}function ra(t,e){t._transitionClasses&&A(t._transitionClasses,e),Hi(t,e)}function oa(t,e,n){var r=aa(t,e),o=r.type,c=r.timeout,f=r.propCount;if(!o)return n();var l=o===Ki?Yi:Zi,d=0,h=function(){t.removeEventListener(l,v),n()},v=function(e){e.target===t&&++d>=f&&h()};setTimeout(function(){d0&&(n=Ki,v=f,y=c.length):e===Ji?h>0&&(n=Ji,v=h,y=d.length):y=(n=(v=Math.max(f,h))>0?f>h?Ki:Ji:null)?n===Ki?c.length:d.length:0,{type:n,timeout:v,propCount:y,hasTransform:n===Ki&&ia.test(r[Xi+"Property"])}}function ua(t,e){for(;t.length1}function da(t,e){!0!==e.data.show&&ca(e)}var ha=function(t){var i,e,n={},r=t.modules,o=t.nodeOps;for(i=0;iw?E(t,f(n[S+1])?null:n[S+1].elm,n,_,S,r):_>S&&C(e,m,w)}(m,_,w,r,v):l(w)?(l(t.text)&&o.setTextContent(m,""),E(m,null,w,0,w.length-1,r)):l(_)?C(_,0,_.length-1):l(t.text)&&o.setTextContent(m,""):t.text!==e.text&&o.setTextContent(m,e.text),l(data)&&l(i=data.hook)&&l(i=i.postpatch)&&i(t,e)}}}function P(t,e,n){if(d(n)&&l(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r-1,option.selected!==c&&(option.selected=c);else if(G(ba(option),r))return void(t.selectedIndex!==i&&(t.selectedIndex=i));o||(t.selectedIndex=-1)}}function ga(t,e){return e.every(function(e){return!G(e,t)})}function ba(option){return"_value"in option?option._value:option.value}function _a(t){t.target.composing=!0}function wa(t){t.target.composing&&(t.target.composing=!1,xa(t.target,"input"))}function xa(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Oa(t){return!t.componentInstance||t.data&&t.data.transition?t:Oa(t.componentInstance._vnode)}var Sa={bind:function(t,e,n){var r=e.value,o=(n=Oa(n)).data&&n.data.transition,c=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,ca(n,function(){t.style.display=c})):t.style.display=r?c:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=Oa(n)).data&&n.data.transition?(n.data.show=!0,r?ca(n,function(){t.style.display=t.__vOriginalDisplay}):fa(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}},Ea={model:va,show:Sa},ja={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function ka(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?ka(Cn(e.children)):t}function Ca(t){var data={},e=t.$options;for(var n in e.propsData)data[n]=t[n];var r=e._parentListeners;for(var n in r)data[I(n)]=r[n];return data}function Aa(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Ta=function(t){return t.tag||dn(t)},$a=function(t){return"show"===t.name},Pa={name:"transition",props:ja,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Ta)).length){0;var r=this.mode;0;var o=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return o;var c=ka(o);if(!c)return o;if(this._leaving)return Aa(t,o);var f="__transition-".concat(this._uid,"-");c.key=null==c.key?c.isComment?f+"comment":f+c.tag:h(c.key)?0===String(c.key).indexOf(f)?c.key:f+c.key:c.key;var data=(c.data||(c.data={})).transition=Ca(this),l=this._vnode,d=ka(l);if(c.data.directives&&c.data.directives.some($a)&&(c.data.show=!0),d&&d.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(c,d)&&!dn(d)&&(!d.componentInstance||!d.componentInstance._vnode.isComment)){var v=d.data.transition=U({},data);if("out-in"===r)return this._leaving=!0,He(v,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),Aa(t,o);if("in-out"===r){if(dn(c))return l;var y,m=function(){y()};He(data,"afterEnter",m),He(data,"enterCancelled",m),He(v,"delayLeave",function(t){y=t})}}return o}}},Ra=U({tag:String,moveClass:String},ja);delete Ra.mode;var Ia={props:Ra,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=kr(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",map=Object.create(null),n=this.prevChildren=this.children,r=this.$slots.default||[],o=this.children=[],c=Ca(this),i=0;i-1?Jo[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Jo[t]=/HTMLUnknownElement/.test(e.toString())},U(So.options.directives,Ea),U(So.options.components,Da),So.prototype.__patch__=at?ha:z,So.prototype.$mount=function(t,e){return function(t,e,n){var r;t.$el=e,t.$options.render||(t.$options.render=kt),$r(t,"beforeMount"),r=function(){t._update(t._render(),n)},new wr(t,r,z,{before:function(){t._isMounted&&!t._isDestroyed&&$r(t,"beforeUpdate")}},!0),n=!1;var o=t._preWatchers;if(o)for(var i=0;i1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(6),o=n(251),c=n(252),f=n(520),l=n(65),d=function(t){if(t&&t.forEach!==f)try{l(t,"forEach",f)}catch(e){t.forEach=f}};for(var h in o)o[h]&&d(r[h]&&r[h].prototype);d(c)},function(t,e){var g;g=function(){return this}();try{g=g||new Function("return this")()}catch(t){"object"==typeof window&&(g=window)}t.exports=g},function(t,e,n){"use strict";var r=n(76),o=TypeError;t.exports=function(t){if(r(t))throw new o("Can't call method on "+t);return t}},function(t,e,n){"use strict";(function(t){n.d(e,"a",function(){return P});var r=("undefined"!=typeof window?window:void 0!==t?t:{}).__VUE_DEVTOOLS_GLOBAL_HOOK__;function o(t,e){if(void 0===e&&(e=[]),null===t||"object"!=typeof t)return t;var n,r=(n=function(e){return e.original===t},e.filter(n)[0]);if(r)return r.copy;var c=Array.isArray(t)?[]:{};return e.push({original:t,copy:c}),Object.keys(t).forEach(function(n){c[n]=o(t[n],e)}),c}function c(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}function f(t){return null!==t&&"object"==typeof t}var l=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},d={namespaced:{configurable:!0}};d.namespaced.get=function(){return!!this._rawModule.namespaced},l.prototype.addChild=function(t,e){this._children[t]=e},l.prototype.removeChild=function(t){delete this._children[t]},l.prototype.getChild=function(t){return this._children[t]},l.prototype.hasChild=function(t){return t in this._children},l.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},l.prototype.forEachChild=function(t){c(this._children,t)},l.prototype.forEachGetter=function(t){this._rawModule.getters&&c(this._rawModule.getters,t)},l.prototype.forEachAction=function(t){this._rawModule.actions&&c(this._rawModule.actions,t)},l.prototype.forEachMutation=function(t){this._rawModule.mutations&&c(this._rawModule.mutations,t)},Object.defineProperties(l.prototype,d);var h=function(t){this.register([],t,!1)};function v(path,t,e){if(t.update(e),e.modules)for(var n in e.modules){if(!t.getChild(n))return void 0;v(path.concat(n),t.getChild(n),e.modules[n])}}h.prototype.get=function(path){return path.reduce(function(t,e){return t.getChild(e)},this.root)},h.prototype.getNamespace=function(path){var t=this.root;return path.reduce(function(e,n){return e+((t=t.getChild(n)).namespaced?n+"/":"")},"")},h.prototype.update=function(t){v([],this.root,t)},h.prototype.register=function(path,t,e){var n=this;void 0===e&&(e=!0);var r=new l(t,e);0===path.length?this.root=r:this.get(path.slice(0,-1)).addChild(path[path.length-1],r);t.modules&&c(t.modules,function(t,r){n.register(path.concat(r),t,e)})},h.prototype.unregister=function(path){var t=this.get(path.slice(0,-1)),e=path[path.length-1],n=t.getChild(e);n&&n.runtime&&t.removeChild(e)},h.prototype.isRegistered=function(path){var t=this.get(path.slice(0,-1)),e=path[path.length-1];return!!t&&t.hasChild(e)};var y;var m=function(t){var e=this;void 0===t&&(t={}),!y&&"undefined"!=typeof window&&window.Vue&&k(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var o=t.strict;void 0===o&&(o=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new h(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new y,this._makeLocalGettersCache=Object.create(null);var c=this,f=this.dispatch,l=this.commit;this.dispatch=function(t,e){return f.call(c,t,e)},this.commit=function(t,e,n){return l.call(c,t,e,n)},this.strict=o;var d=this._modules.root.state;S(this,d,[],this._modules.root),O(this,d),n.forEach(function(t){return t(e)}),(void 0!==t.devtools?t.devtools:y.config.devtools)&&function(t){r&&(t._devtoolHook=r,r.emit("vuex:init",t),r.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(t,e){r.emit("vuex:mutation",t,e)},{prepend:!0}),t.subscribeAction(function(t,e){r.emit("vuex:action",t,e)},{prepend:!0}))}(this)},_={state:{configurable:!0}};function w(t,e,n){return e.indexOf(t)<0&&(n&&n.prepend?e.unshift(t):e.push(t)),function(){var i=e.indexOf(t);i>-1&&e.splice(i,1)}}function x(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;S(t,n,[],t._modules.root,!0),O(t,n,e)}function O(t,e,n){var r=t._vm;t.getters={},t._makeLocalGettersCache=Object.create(null);var o=t._wrappedGetters,f={};c(o,function(e,n){f[n]=function(t,e){return function(){return t(e)}}(e,t),Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})});var l=y.config.silent;y.config.silent=!0,t._vm=new y({data:{$$state:e},computed:f}),y.config.silent=l,t.strict&&function(t){t._vm.$watch(function(){return this._data.$$state},function(){0},{deep:!0,sync:!0})}(t),r&&(n&&t._withCommit(function(){r._data.$$state=null}),y.nextTick(function(){return r.$destroy()}))}function S(t,e,path,n,r){var o=!path.length,c=t._modules.getNamespace(path);if(n.namespaced&&(t._modulesNamespaceMap[c],t._modulesNamespaceMap[c]=n),!o&&!r){var f=E(e,path.slice(0,-1)),l=path[path.length-1];t._withCommit(function(){y.set(f,l,n.state)})}var d=n.context=function(t,e,path){var n=""===e,r={dispatch:n?t.dispatch:function(n,r,o){var c=j(n,r,o),f=c.payload,l=c.options,d=c.type;return l&&l.root||(d=e+d),t.dispatch(d,f)},commit:n?t.commit:function(n,r,o){var c=j(n,r,o),f=c.payload,l=c.options,d=c.type;l&&l.root||(d=e+d),t.commit(d,f,l)}};return Object.defineProperties(r,{getters:{get:n?function(){return t.getters}:function(){return function(t,e){if(!t._makeLocalGettersCache[e]){var n={},r=e.length;Object.keys(t.getters).forEach(function(o){if(o.slice(0,r)===e){var c=o.slice(r);Object.defineProperty(n,c,{get:function(){return t.getters[o]},enumerable:!0})}}),t._makeLocalGettersCache[e]=n}return t._makeLocalGettersCache[e]}(t,e)}},state:{get:function(){return E(t.state,path)}}}),r}(t,c,path);n.forEachMutation(function(e,n){!function(t,e,n,r){var o=t._mutations[e]||(t._mutations[e]=[]);o.push(function(e){n.call(t,r.state,e)})}(t,c+n,e,d)}),n.forEachAction(function(e,n){var r=e.root?n:c+n,o=e.handler||e;!function(t,e,n,r){var o=t._actions[e]||(t._actions[e]=[]);o.push(function(e){var o,c=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e);return(o=c)&&"function"==typeof o.then||(c=Promise.resolve(c)),t._devtoolHook?c.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):c})}(t,r,o,d)}),n.forEachGetter(function(e,n){!function(t,e,n,r){if(t._wrappedGetters[e])return void 0;t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)}}(t,c+n,e,d)}),n.forEachChild(function(n,o){S(t,e,path.concat(o),n,r)})}function E(t,path){return path.reduce(function(t,e){return t[e]},t)}function j(t,e,n){return f(t)&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function k(t){y&&t===y||function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(y=t)}_.state.get=function(){return this._vm._data.$$state},_.state.set=function(t){0},m.prototype.commit=function(t,e,n){var r=this,o=j(t,e,n),c=o.type,f=o.payload,l=(o.options,{type:c,payload:f}),d=this._mutations[c];d&&(this._withCommit(function(){d.forEach(function(t){t(f)})}),this._subscribers.slice().forEach(function(sub){return sub(l,r.state)}))},m.prototype.dispatch=function(t,e){var n=this,r=j(t,e),o=r.type,c=r.payload,f={type:o,payload:c},l=this._actions[o];if(l){try{this._actionSubscribers.slice().filter(function(sub){return sub.before}).forEach(function(sub){return sub.before(f,n.state)})}catch(t){0}var d=l.length>1?Promise.all(l.map(function(t){return t(c)})):l[0](c);return new Promise(function(t,e){d.then(function(e){try{n._actionSubscribers.filter(function(sub){return sub.after}).forEach(function(sub){return sub.after(f,n.state)})}catch(t){0}t(e)},function(t){try{n._actionSubscribers.filter(function(sub){return sub.error}).forEach(function(sub){return sub.error(f,n.state,t)})}catch(t){0}e(t)})})}},m.prototype.subscribe=function(t,e){return w(t,this._subscribers,e)},m.prototype.subscribeAction=function(t,e){return w("function"==typeof t?{before:t}:t,this._actionSubscribers,e)},m.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch(function(){return t(r.state,r.getters)},e,n)},m.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},m.prototype.registerModule=function(path,t,e){void 0===e&&(e={}),"string"==typeof path&&(path=[path]),this._modules.register(path,t),S(this,this.state,path,this._modules.get(path),e.preserveState),O(this,this.state)},m.prototype.unregisterModule=function(path){var t=this;"string"==typeof path&&(path=[path]),this._modules.unregister(path),this._withCommit(function(){var e=E(t.state,path.slice(0,-1));y.delete(e,path[path.length-1])}),x(this)},m.prototype.hasModule=function(path){return"string"==typeof path&&(path=[path]),this._modules.isRegistered(path)},m.prototype.hotUpdate=function(t){this._modules.update(t),x(this,!0)},m.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(m.prototype,_);var C=I(function(t,e){var n={};return R(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=N(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof o?o.call(this,e,n):e[o]},n[r].vuex=!0}),n}),A=I(function(t,e){var n={};return R(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var c=N(this.$store,"mapMutations",t);if(!c)return;r=c.context.commit}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}}),n}),T=I(function(t,e){var n={};return R(e).forEach(function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){if(!t||N(this.$store,"mapGetters",t))return this.$store.getters[o]},n[r].vuex=!0}),n}),$=I(function(t,e){var n={};return R(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var c=N(this.$store,"mapActions",t);if(!c)return;r=c.context.dispatch}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}}),n}),P=function(t){return{mapState:C.bind(null,t),mapGetters:T.bind(null,t),mapMutations:A.bind(null,t),mapActions:$.bind(null,t)}};function R(map){return function(map){return Array.isArray(map)||f(map)}(map)?Array.isArray(map)?map.map(function(t){return{key:t,val:t}}):Object.keys(map).map(function(t){return{key:t,val:map[t]}}):[]}function I(t){return function(e,map){return"string"!=typeof e?(map=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,map)}}function N(t,e,n){return t._modulesNamespaceMap[n]}function L(t,e,n){var r=n?t.groupCollapsed:t.group;try{r.call(t,e)}catch(n){t.log(e)}}function M(t){try{t.groupEnd()}catch(e){t.log("—— log end ——")}}function D(){var time=new Date;return" @ "+F(time.getHours(),2)+":"+F(time.getMinutes(),2)+":"+F(time.getSeconds(),2)+"."+F(time.getMilliseconds(),3)}function F(t,e){return n="0",r=e-t.toString().length,new Array(r+1).join(n)+t;var n,r}var U={Store:m,install:k,version:"3.6.2",mapState:C,mapMutations:A,mapGetters:T,mapActions:$,createNamespacedHelpers:P,createLogger:function(t){void 0===t&&(t={});var e=t.collapsed;void 0===e&&(e=!0);var filter=t.filter;void 0===filter&&(filter=function(t,e,n){return!0});var n=t.transformer;void 0===n&&(n=function(t){return t});var r=t.mutationTransformer;void 0===r&&(r=function(t){return t});var c=t.actionFilter;void 0===c&&(c=function(t,e){return!0});var f=t.actionTransformer;void 0===f&&(f=function(t){return t});var l=t.logMutations;void 0===l&&(l=!0);var d=t.logActions;void 0===d&&(d=!0);var h=t.logger;return void 0===h&&(h=console),function(t){var v=o(t.state);void 0!==h&&(l&&t.subscribe(function(t,c){var f=o(c);if(filter(t,v,f)){var l=D(),d=r(t),y="mutation "+t.type+l;L(h,y,e),h.log("%c prev state","color: #9E9E9E; font-weight: bold",n(v)),h.log("%c mutation","color: #03A9F4; font-weight: bold",d),h.log("%c next state","color: #4CAF50; font-weight: bold",n(f)),M(h)}v=f}),d&&t.subscribeAction(function(t,n){if(c(t,n)){var r=D(),o=f(t),l="action "+t.type+r;L(h,l,e),h.log("%c action","color: #03A9F4; font-weight: bold",o),M(h)}}))}}};e.b=U}).call(this,n(31))},function(t,e,n){"use strict";var r=n(433),o=Object.prototype.toString;function c(t){return"[object Array]"===o.call(t)}function f(t){return void 0===t}function l(t){return null!==t&&"object"==typeof t}function d(t){if("[object Object]"!==o.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}function h(t){return"[object Function]"===o.call(t)}function v(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),c(t))for(var i=0,n=t.length;iv;)void 0!==(e=r(n,t=o[v++]))&&d(h,t,e);return h}})},function(t,e,n){"use strict";var r=n(32),o=Object;t.exports=function(t){return o(r(t))}},function(t,e,n){"use strict";var r=n(5),o=r({}.toString),c=r("".slice);t.exports=function(t){return c(o(t),8,-1)}},,function(t,e,n){"use strict";var r=n(118).PROPER,o=n(21),c=n(17),f=n(18),l=n(4),d=n(112),h="toString",v=RegExp.prototype,y=v[h],m=l(function(){return"/a/b"!==y.call({source:"a",flags:"b"})}),_=r&&y.name!==h;(m||_)&&o(v,h,function(){var t=c(this);return"/"+f(t.source)+"/"+f(d(t))},{unsafe:!0})},function(t,e,n){"use strict";var r=n(3),o=n(222).includes,c=n(4),f=n(211),l=c(function(){return!Array(1).includes()}),d=c(function(){return[,1].includes(void 0,1)});r({target:"Array",proto:!0,forced:l||d},{includes:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}}),f("includes")},function(t,e,n){"use strict";var r=n(128),o=n(11),c=n(5),f=n(131),l=n(4),d=n(17),h=n(8),v=n(10),y=n(81),m=n(82),_=n(18),w=n(32),x=n(179),O=n(64),S=n(528),E=n(112),j=n(132),k=n(7)("replace"),C=Math.max,A=Math.min,T=c([].concat),$=c([].push),P=c("".indexOf),R=c("".slice),I=function(t){return void 0===t?t:String(t)},N="$0"==="a".replace(/./,"$0"),L=!!/./[k]&&""===/./[k]("a","$0");f("replace",function(t,e,n){var c=L?"$":"$0";return[function(t,n){var r=w(this),c=v(t)?O(t,k):void 0;return c?o(c,t,r,n):o(e,_(r),t,n)},function(t,o){var f=d(this),l=_(t),v=h(o);v||(o=_(o));var w=_(E(f));if("string"==typeof o&&!~P(o,c)&&!~P(o,"$<")&&!~P(w,"y")){var O=n(e,f,l,o);if(O.done)return O.value}var k,N=!!~P(w,"g");N&&(k=!!~P(w,"u")||!!~P(w,"v"),f.lastIndex=0);for(var L,M=[];null!==(L=j(f,l))&&($(M,L),N);){""===_(L[0])&&(f.lastIndex=x(l,m(f.lastIndex),k))}for(var D="",F=0,i=0;i=F&&(D+=R(l,F,z)+U,F=z+B.length)}return D+R(l,F)}]},!!l(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})||!N||L)},,function(t,e,n){"use strict";n.d(e,"a",function(){return yt}),n.d(e,"b",function(){return ht}),n.d(e,"c",function(){return vt}),n.d(e,"d",function(){return lt}),n.d(e,"e",function(){return ct});n(147);n(19);var r=n(22),o=n(15),c=n(145);var f=n(148),l=n(146);function d(t){return Object(c.a)(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||Object(f.a)(t)||Object(l.a)()}n(96),n(29),n(49),n(255),n(88),n(75),n(467),n(256),n(533),n(43),n(44),n(27),n(16),n(28),n(72),n(73),n(74),n(35),n(20),n(534),n(57),n(55),n(535),n(258),n(48),n(50),n(259),n(536),n(260),n(30),n(56),n(537);function h(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function v(t){for(var e=1;e=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,a=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){u=!0,c=t},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw c}}}}function m(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,n=Array(a);e>1,t+=O(t/e);t>455;r+=36)t=O(t/35);return O(r+36*t/(t+38))};function k(t){return function(t){var e=t.split("@"),n="";e.length>1&&(n=e[0]+"@",t=e[1]);var r=function(t,e){for(var n=[],r=t.length;r--;)n[r]=e(t[r]);return n}((t=t.replace(w,".")).split("."),function(t){return _.test(t)?"xn--"+function(t){var e,n=[],r=(t=function(t){for(var e=[],n=0,r=t.length;n=55296&&o<=56319&&n=o&&_O((2147483647-i)/a)&&E("overflow"),i+=(v-o)*a,o=v;var w,x=y(t);try{for(x.s();!(w=x.n()).done;){var k=w.value;if(k2147483647&&E("overflow"),k==o){for(var C=i,A=36;;A+=36){var T=A<=c?1:A>=c+26?26:A-c;if(C0&&void 0!==arguments[0]?arguments[0]:"";try{return decodeURIComponent(""+text)}catch(t){return""+text}}function J(text){return K(text.replace(U,"%252F"))}function X(text){return K(text.replace(R," "))}function Y(text){return K(text.replace(R," "))}function Q(){return k(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"")}function Z(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",object=Object.create(null);"?"===t[0]&&(t=t.slice(1));var e,n=y(t.split("&"));try{for(n.s();!(e=n.n()).done;){var r=e.value.match(/([^=]+)=?(.*)/)||[];if(!(r.length<2)){var o=X(r[1]);if("__proto__"!==o&&"constructor"!==o){var c=Y(r[2]||"");void 0===object[o]?object[o]=c:Array.isArray(object[o])?object[o].push(c):object[o]=[object[o],c]}}}}catch(t){n.e(t)}finally{n.f()}return object}function tt(t){return Object.keys(t).filter(function(e){return void 0!==t[e]}).map(function(e){return n=e,"number"!=typeof(r=t[e])&&"boolean"!=typeof r||(r=String(r)),r?Array.isArray(r)?r.map(function(t){return"".concat(G(n),"=").concat(H(t))}).join("&"):"".concat(G(n),"=").concat(H(r)):G(n);var n,r}).filter(Boolean).join("&")}var et=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,nt=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,ot=/^([/\\]\s*){2,}[^/\\]/,it=/\/$|\/\?|\/#/,at=/^\.?\//;function ut(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"boolean"==typeof e&&(e={acceptRelative:e}),e.strict?et.test(t):nt.test(t)||!!e.acceptRelative&&ot.test(t)}function st(){var input=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(arguments.length>1?arguments[1]:void 0)?it.test(input):input.endsWith("/")}function ct(){var input=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!(arguments.length>1?arguments[1]:void 0))return(st(input)?input.slice(0,-1):input)||"/";if(!st(input,!0))return input||"/";var path=input,t="",e=input.indexOf("#");-1!==e&&(path=input.slice(0,e),t=input.slice(e));var n=d(path.split("?")),r=n[0],s=m(n).slice(1);return((r.endsWith("/")?r.slice(0,-1):r)||"/")+(s.length>0?"?".concat(s.join("?")):"")+t}function ft(){var input=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(!(arguments.length>1?arguments[1]:void 0))return input.endsWith("/")?input:input+"/";if(st(input,!0))return input||"/";var path=input,t="",e=input.indexOf("#");if(-1!==e&&(path=input.slice(0,e),t=input.slice(e),!path))return t;var n=d(path.split("?")),r=n[0],s=m(n).slice(1);return r+"/"+(s.length>0?"?".concat(s.join("?")):"")+t}function lt(input,t){var e=gt(input),n=v(v({},Z(e.search)),t);return e.search=tt(n),_t(e)}function pt(t){return t&&"/"!==t}function ht(base){for(var t=base||"",e=arguments.length,input=new Array(e>1?e-1:0),n=1;n0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,e=input.match(/^[\s\0]*(blob:|data:|javascript:|vbscript:)(.*)/i);if(e){var n=Object(r.a)(e,3),c=n[1],f=n[2],l=void 0===f?"":f;return{protocol:c.toLowerCase(),pathname:l,href:c+l,auth:"",host:"",search:"",hash:""}}if(!ut(input,{acceptRelative:!0}))return t?gt(t+input):bt(input);var d=input.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[],h=Object(r.a)(d,4),v=h[1],y=void 0===v?"":v,m=h[2],_=h[3],w=(void 0===_?"":_).match(/([^#/?]*)(.*)?/)||[],x=Object(r.a)(w,3),O=x[1],S=void 0===O?"":O,E=x[2],path=void 0===E?"":E;"file:"===y&&(path=path.replace(/\/(?=[A-Za-z]:)/,""));var j=bt(path),k=j.pathname,C=j.search,A=j.hash;return Object(o.a)({protocol:y.toLowerCase(),auth:m?m.slice(0,Math.max(0,m.length-1)):"",host:S,pathname:k,search:C,hash:A},mt,!y)}function bt(){var t=((arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1),e=Object(r.a)(t,3),n=e[0],o=void 0===n?"":n,c=e[1],f=void 0===c?"":c,l=e[2];return{pathname:o,search:f,hash:void 0===l?"":l}}function _t(t){var e=t.pathname||"",n=t.search?(t.search.startsWith("?")?"":"?")+t.search:"",r=t.hash||"",o=t.auth?t.auth+"@":"",c=t.host||"";return(t.protocol||t[mt]?(t.protocol||"")+"//":"")+o+c+e+n+r}},,function(t,e){!function(e){"use strict";var n,r=Object.prototype,o=r.hasOwnProperty,c="function"==typeof Symbol?Symbol:{},f=c.iterator||"@@iterator",l=c.asyncIterator||"@@asyncIterator",d=c.toStringTag||"@@toStringTag",h="object"==typeof t,v=e.regeneratorRuntime;if(v)h&&(t.exports=v);else{(v=e.regeneratorRuntime=h?t.exports:{}).wrap=k;var y="suspendedStart",m="suspendedYield",_="executing",w="completed",x={},O={};O[f]=function(){return this};var S=Object.getPrototypeOf,E=S&&S(S(D([])));E&&E!==r&&o.call(E,f)&&(O=E);var j=$.prototype=A.prototype=Object.create(O);T.prototype=j.constructor=$,$.constructor=T,$[d]=T.displayName="GeneratorFunction",v.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===T||"GeneratorFunction"===(e.displayName||e.name))},v.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,$):(t.__proto__=$,d in t||(t[d]="GeneratorFunction")),t.prototype=Object.create(j),t},v.awrap=function(t){return{__await:t}},P(R.prototype),R.prototype[l]=function(){return this},v.AsyncIterator=R,v.async=function(t,e,n,r){var o=new R(k(t,e,n,r));return v.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},P(j),j[d]="Generator",j[f]=function(){return this},j.toString=function(){return"[object Generator]"},v.keys=function(object){var t=[];for(var e in object)t.push(e);return t.reverse(),function e(){for(;t.length;){var n=t.pop();if(n in object)return e.value=n,e.done=!1,e}return e.done=!0,e}},v.values=D,M.prototype={constructor:M,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(L),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,o){return f.type="throw",f.arg=t,e.next=r,o&&(e.method="next",e.arg=n),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var c=this.tryEntries[i],f=c.completion;if("root"===c.tryLoc)return r("end");if(c.tryLoc<=this.prev){var l=o.call(c,"catchLoc"),d=o.call(c,"finallyLoc");if(l&&d){if(this.prev=0;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&o.call(n,"finallyLoc")&&this.prev=0;--i){var e=this.tryEntries[i];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),L(e),x}},catch:function(t){for(var i=this.tryEntries.length-1;i>=0;--i){var e=this.tryEntries[i];if(e.tryLoc===t){var n=e.completion;if("throw"===n.type){var r=n.arg;L(e)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:D(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),x}}}function k(t,e,n,r){var o=e&&e.prototype instanceof A?e:A,c=Object.create(o.prototype),f=new M(r||[]);return c._invoke=function(t,e,n){var r=y;return function(o,c){if(r===_)throw new Error("Generator is already running");if(r===w){if("throw"===o)throw c;return F()}for(n.method=o,n.arg=c;;){var f=n.delegate;if(f){var l=I(f,n);if(l){if(l===x)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===y)throw r=w,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=_;var d=C(t,e,n);if("normal"===d.type){if(r=n.done?w:m,d.arg===x)continue;return{value:d.arg,done:n.done}}"throw"===d.type&&(r=w,n.method="throw",n.arg=d.arg)}}}(t,n,f),c}function C(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}function A(){}function T(){}function $(){}function P(t){["next","throw","return"].forEach(function(e){t[e]=function(t){return this._invoke(e,t)}})}function R(t){function e(n,r,c,f){var l=C(t[n],t,r);if("throw"!==l.type){var d=l.arg,h=d.value;return h&&"object"==typeof h&&o.call(h,"__await")?Promise.resolve(h.__await).then(function(t){e("next",t,c,f)},function(t){e("throw",t,c,f)}):Promise.resolve(h).then(function(t){d.value=t,c(d)},f)}f(l.arg)}var n;this._invoke=function(t,r){function o(){return new Promise(function(n,o){e(t,r,n,o)})}return n=n?n.then(o,o):o()}}function I(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,I(t,e),"throw"===e.method))return x;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return x}var o=C(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,x;var c=o.arg;return c?c.done?(e[t.resultName]=c.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,x):c:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,x)}function N(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function M(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(N,this),this.reset(!0)}function D(t){if(t){var e=t[f];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,r=function e(){for(;++i=n.length?l(void 0,!0):(t=r(n,o),e.index+=t.length,l(t,!1))})},function(t,e,n){"use strict";var r=n(6),o=n(251),c=n(252),f=n(151),l=n(65),d=n(66),h=n(7)("iterator"),v=f.values,y=function(t,e){if(t){if(t[h]!==v)try{l(t,h,v)}catch(e){t[h]=v}if(d(t,e,!0),o[e])for(var n in f)if(t[n]!==f[n])try{l(t,n,f[n])}catch(e){t[n]=f[n]}}};for(var m in o)y(r[m]&&r[m].prototype,m);y(c,"DOMTokenList")},function(t,e,n){"use strict";var r=n(3),o=n(5),c=n(174),f=n(32),l=n(18),d=n(175),h=o("".indexOf);r({target:"String",proto:!0,forced:!d("includes")},{includes:function(t){return!!~h(l(f(this)),l(c(t)),arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){"use strict";var r=n(5);t.exports=r({}.isPrototypeOf)},function(t,e,n){"use strict";var r=n(8),o=n(80),c=TypeError;t.exports=function(t){if(r(t))return t;throw new c(o(t)+" is not a function")}},function(t,e,n){"use strict";var r=n(12),o=n(11),c=n(124),f=n(83),l=n(36),d=n(154),h=n(14),v=n(219),y=Object.getOwnPropertyDescriptor;e.f=r?y:function(t,e){if(t=l(t),e=d(e),v)try{return y(t,e)}catch(t){}if(h(t,e))return f(!o(c.f,t,e),t[e])}},function(t,e){var n=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(t,e,n){"use strict";var r=n(82);t.exports=function(t){return r(t.length)}},function(t,e,n){"use strict";var r,o=n(17),c=n(217),f=n(155),l=n(101),html=n(223),d=n(122),h=n(123),v="prototype",y="script",m=h("IE_PROTO"),_=function(){},w=function(content){return"<"+y+">"+content+""},x=function(t){t.write(w("")),t.close();var e=t.parentWindow.Object;return t=null,e},O=function(){try{r=new ActiveXObject("htmlfile")}catch(t){}var t,iframe,e;O="undefined"!=typeof document?document.domain&&r?x(r):(iframe=d("iframe"),e="java"+y+":",iframe.style.display="none",html.appendChild(iframe),iframe.src=String(e),(t=iframe.contentWindow.document).open(),t.write(w("document.F=Object")),t.close(),t.F):x(r);for(var n=f.length;n--;)delete O[v][f[n]];return O()};l[m]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(_[v]=o(t),n=new _,_[v]=null,n[m]=t):n=O(),void 0===e?n:c.f(n,e)}},function(t,e,n){"use strict";var r=n(59),o=n(76);t.exports=function(t,e){var n=t[e];return o(n)?void 0:r(n)}},function(t,e,n){"use strict";var r=n(12),o=n(26),c=n(83);t.exports=r?function(object,t,e){return o.f(object,t,c(1,e))}:function(object,t,e){return object[t]=e,object}},function(t,e,n){"use strict";var r=n(26).f,o=n(14),c=n(7)("toStringTag");t.exports=function(t,e,n){t&&!n&&(t=t.prototype),t&&!o(t,c)&&r(t,c,{configurable:!0,value:e})}},function(t,e,n){"use strict";var r=n(12),o=n(26),c=n(83);t.exports=function(object,t,e){r?o.f(object,t,c(0,e)):object[t]=e}},,function(t,e,n){t.exports=!n(115)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},,function(t,e,n){"use strict";var r=n(3),o=n(12),c=n(6),f=n(11),l=n(5),d=n(14),h=n(8),v=n(58),y=n(18),m=n(104),_=n(227),w=c.Symbol,x=w&&w.prototype;if(o&&h(w)&&(!("description"in x)||void 0!==w().description)){var O={},S=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:y(arguments[0]),e=v(x,this)?new w(t):void 0===t?w():w(t);return""===t&&(O[e]=!0),e};_(S,w);var E=S.for;S.for={for:function(t){var e=y(t),symbol=f(E,this,e);return""===e&&(O[symbol]=!0),symbol}}.for,S.prototype=x,x.constructor=S;var j="Symbol(description detection)"===String(w("description detection")),k=l(x.valueOf),C=l(x.toString),A=/^Symbol\((.*)\)[^)]+$/,T=l("".replace),$=l("".slice);m(x,"description",{configurable:!0,get:function(){var symbol=k(this);if(d(O,symbol))return"";var t=C(symbol),desc=j?$(t,7,-1):T(t,A,"$1");return""===desc?void 0:desc}}),r({global:!0,constructor:!0,forced:!0},{Symbol:S})}},function(t,e,n){"use strict";n(241)("iterator")},function(t,e,n){"use strict";var r=n(3),o=n(508);r({target:"Array",stat:!0,forced:!n(170)(function(t){Array.from(t)})},{from:o})},function(t,e,n){"use strict";var r=n(3),o=n(110),c=n(127),f=n(10),l=n(117),d=n(62),h=n(36),v=n(67),y=n(130),m=n(7),_=n(111),w=n(86),x=_("slice"),O=m("species"),S=Array,E=Math.max;r({target:"Array",proto:!0,forced:!x},{slice:function(t,e){var n,r,m,_=h(this),x=d(_),j=l(t,x),k=l(void 0===e?x:e,x);if(o(_)&&(n=_.constructor,(c(n)&&(n===S||o(n.prototype))||f(n)&&null===(n=n[O]))&&(n=void 0),n===S||void 0===n))return w(_,j,k);for(r=new(void 0===n?S:n)(E(k-j,0)),m=0;j0?o(e,9007199254740991):0}},function(t,e,n){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){"use strict";var r=n(221),o=n(155).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},function(t,e,n){"use strict";var r=n(165),o=n(59),c=n(120),f=r(r.bind);t.exports=function(t,e){return o(t),void 0===e?t:c?f(t,e):function(){return t.apply(e,arguments)}}},function(t,e,n){"use strict";var r=n(5);t.exports=r([].slice)},function(t,e,n){"use strict";var r=n(6);t.exports=r.Promise},function(t,e,n){"use strict";var r=n(3),o=n(109).map;r({target:"Array",proto:!0,forced:!n(111)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r=n(90),o=n(138);t.exports=n(69)?function(object,t,e){return r.f(object,t,o(1,e))}:function(object,t,e){return object[t]=e,object}},function(t,e,n){var r=n(137),o=n(423),c=n(191),f=Object.defineProperty;e.f=n(69)?Object.defineProperty:function(t,e,n){if(r(t),e=c(e,!0),r(n),o)try{return f(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(426),o=n(192);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(195)("wks"),o=n(141),c=n(61).Symbol,f="function"==typeof c;(t.exports=function(t){return r[t]||(r[t]=f&&c[t]||(f?c:o)("Symbol."+t))}).store=r},,,function(t,e,n){"use strict";var r=n(3),o=n(25),c=n(12),f=n(6),path=n(162),l=n(5),d=n(103),h=n(14),v=n(178),y=n(58),m=n(99),_=n(220),w=n(4),x=n(84).f,O=n(60).f,S=n(26).f,E=n(542),j=n(469).trim,k="Number",C=f[k],A=path[k],T=C.prototype,$=f.TypeError,P=l("".slice),R=l("".charCodeAt),I=function(t){var e,n,r,o,c,f,l,code,d=_(t,"number");if(m(d))throw new $("Cannot convert a Symbol value to a number");if("string"==typeof d&&d.length>2)if(d=j(d),43===(e=R(d,0))||45===e){if(88===(n=R(d,2))||120===n)return NaN}else if(48===e){switch(R(d,1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+d}for(f=(c=P(d,2)).length,l=0;lo)return NaN;return parseInt(c,r)}return+d},N=d(k,!C(" 0o1")||!C("0b1")||C("+0x1")),L=function(t){var e,n=arguments.length<1?0:C(function(t){var e=_(t,"number");return"bigint"==typeof e?e:I(e)}(t));return y(T,e=this)&&w(function(){E(e)})?v(Object(n),this,L):n};L.prototype=T,N&&!o&&(T.constructor=L),r({global:!0,constructor:!0,wrap:!0,forced:N},{Number:L});var M=function(t,source){for(var e,n=c?x(source):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),r=0;n.length>r;r++)h(source,e=n[r])&&!h(t,e)&&S(t,e,O(source,e))};o&&A&&M(path[k],A),(N||o)&&M(path[k],C)},function(t,e,n){"use strict";var r=n(3),o=n(4),c=n(110),f=n(10),l=n(45),d=n(62),h=n(243),v=n(67),y=n(130),m=n(171),_=n(111),w=n(7),x=n(121),O=w("isConcatSpreadable"),S=x>=51||!o(function(){var t=[];return t[O]=!1,t.concat()[0]!==t}),E=function(t){if(!f(t))return!1;var e=t[O];return void 0!==e?!!e:c(t)};r({target:"Array",proto:!0,arity:1,forced:!S||!_("concat")},{concat:function(t){var i,e,n,r,o,c=l(this),f=m(c,0),_=0;for(i=-1,n=arguments.length;iE;E++)if((k=M(t[E]))&&h(x,k))return k;return new w(!1)}O=v(t,S)}for(C=P?t.next:O.next;!(A=o(C,O)).done;){var D=A.value;try{k=M(D)}catch(t){if(!O)throw t;m(O,"throw",t)}if("object"==typeof k&&k&&h(x,k))return k}return new w(!1)}},function(t,e,n){"use strict";var r=n(85),o=n(119),c=n(45),f=n(62),l=n(171),d=n(67),h=function(t){var e=1===t,n=2===t,h=3===t,v=4===t,y=6===t,m=7===t,_=5===t||y;return function(w,x,O){for(var S,E,j=c(w),k=o(j),C=f(k),A=r(x,O),T=0,$=0,P=e?l(w,C):n||m?l(w,0):void 0;C>T;T++)if((_||T in k)&&(E=A(S=k[T],T,j),t))if(e)d(P,T,E);else if(E)switch(t){case 3:return!0;case 5:return S;case 6:return T;case 2:d(P,$++,S)}else switch(t){case 4:return!1;case 7:d(P,$++,S)}return y?-1:h||v?v:P}};t.exports={forEach:h(0),map:h(1),filter:h(2),some:h(3),every:h(4),find:h(5),findIndex:h(6),filterReject:h(7)}},function(t,e,n){"use strict";var r=n(46);t.exports=Array.isArray||function(t){return"Array"===r(t)}},function(t,e,n){"use strict";var r=n(4),o=n(7),c=n(121),f=o("species");t.exports=function(t){return c>=51||!r(function(){var e=[];return(e.constructor={})[f]=function(){return{foo:1}},1!==e[t](Boolean).foo})}},function(t,e,n){"use strict";var r=n(11),o=n(14),c=n(58),f=n(511),l=n(244),d=RegExp.prototype;t.exports=f.correct?function(t){return t.flags}:function(t){return f.correct||!c(d,t)||o(t,"flags")?t.flags:r(l,t)}},function(t,e){var n=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=n)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){t.exports=n(641)},function(t,e,n){"use strict";var r=n(81),o=Math.max,c=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):c(n,e)}},function(t,e,n){"use strict";var r=n(12),o=n(14),c=Function.prototype,f=r&&Object.getOwnPropertyDescriptor,l=o(c,"name"),d=l&&"something"===function(){}.name,h=l&&(!r||r&&f(c,"name").configurable);t.exports={EXISTS:l,PROPER:d,CONFIGURABLE:h}},function(t,e,n){"use strict";var r=n(5),o=n(4),c=n(46),f=Object,l=r("".split);t.exports=o(function(){return!f("z").propertyIsEnumerable(0)})?function(t){return"String"===c(t)?l(t,""):f(t)}:f},function(t,e,n){"use strict";var r=n(4);t.exports=!r(function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})},function(t,e,n){"use strict";var r,o,c=n(6),f=n(79),l=c.process,d=c.Deno,h=l&&l.versions||d&&d.version,v=h&&h.v8;v&&(o=(r=v.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&f&&(!(r=f.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=f.match(/Chrome\/(\d+)/))&&(o=+r[1]),t.exports=o},function(t,e,n){"use strict";var r=n(6),o=n(10),c=r.document,f=o(c)&&o(c.createElement);t.exports=function(t){return f?c.createElement(t):{}}},function(t,e,n){"use strict";var r=n(77),o=n(98),c=r("keys");t.exports=function(t){return c[t]||(c[t]=o(t))}},function(t,e,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,c=o&&!r.call({1:2},1);e.f=c?function(t){var e=o(this,t);return!!e&&e.enumerable}:r},function(t,e,n){"use strict";e.f=Object.getOwnPropertySymbols},function(t,e,n){"use strict";var r=n(58),o=TypeError;t.exports=function(t,e){if(r(e,t))return t;throw new o("Incorrect invocation")}},function(t,e,n){"use strict";var r=n(5),o=n(4),c=n(8),f=n(105),l=n(37),d=n(156),h=function(){},v=l("Reflect","construct"),y=/^\s*(?:class|function)\b/,m=r(y.exec),_=!y.test(h),w=function(t){if(!c(t))return!1;try{return v(h,[],t),!0}catch(t){return!1}},x=function(t){if(!c(t))return!1;switch(f(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return _||!!m(y,d(t))}catch(t){return!0}};x.sham=!0,t.exports=!v||o(function(){var t;return w(w.call)||!w(Object)||!w(function(){t=!0})||t})?x:w},function(t,e,n){"use strict";var r=n(120),o=Function.prototype,c=o.apply,f=o.call;t.exports="object"==typeof Reflect&&Reflect.apply||(r?f.bind(c):function(){return f.apply(c,arguments)})},function(t,e,n){"use strict";var r=n(105),o=n(64),c=n(76),f=n(102),l=n(7)("iterator");t.exports=function(t){if(!c(t))return o(t,l)||o(t,"@@iterator")||f[r(t)]}},function(t,e,n){"use strict";var r=n(12),o=n(110),c=TypeError,f=Object.getOwnPropertyDescriptor,l=r&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=l?function(t,e){if(o(t)&&!f(t,"length").writable)throw new c("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},function(t,e,n){"use strict";n(20);var r=n(11),o=n(21),c=n(172),f=n(4),l=n(7),d=n(65),h=l("species"),v=RegExp.prototype;t.exports=function(t,e,n,y){var m=l(t),_=!f(function(){var e={};return e[m]=function(){return 7},7!==""[t](e)}),w=_&&!f(function(){var e=!1,n=/a/;if("split"===t){var r={};r[h]=function(){return n},(n={constructor:r,flags:""})[m]=/./[m]}return n.exec=function(){return e=!0,null},n[m](""),!e});if(!_||!w||n){var x=/./[m],O=e(m,""[t],function(t,e,n,o,f){var l=e.exec;return l===c||l===v.exec?_&&!f?{done:!0,value:r(x,e,n,o)}:{done:!0,value:r(t,n,e,o)}:{done:!1}});o(String.prototype,t,O[0]),o(v,m,O[1])}y&&d(v[m],"sham",!0)}},function(t,e,n){"use strict";var r=n(11),o=n(17),c=n(8),f=n(46),l=n(172),d=TypeError;t.exports=function(t,e){var n=t.exec;if(c(n)){var h=r(n,t,e);return null!==h&&o(h),h}if("RegExp"===f(t))return r(l,t,e);throw new d("RegExp#exec called on incompatible receiver")}},,,,,function(t,e,n){var r=n(114);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e,n){var r=n(425),o=n(196);t.exports=Object.keys||function(t){return r(t,o)}},function(t,e){t.exports=!0},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){e.f={}.propertyIsEnumerable},,,function(t,e,n){"use strict";function r(t){if(Array.isArray(t))return t}n.d(e,"a",function(){return r})},function(t,e,n){"use strict";function r(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}n.d(e,"a",function(){return r})},function(t,e,n){"use strict";n.d(e,"a",function(){return o});var r=n(19);function o(t){var i=function(t,e){if("object"!=Object(r.a)(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=Object(r.a)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Object(r.a)(i)?i:i+""}},function(t,e,n){"use strict";function r(t,a){(null==a||a>t.length)&&(a=t.length);for(var e=0,n=Array(a);e=e.length)return t.target=null,h(void 0,!0);switch(t.kind){case"keys":return h(n,!1);case"values":return h(e[n],!1)}return h([n,e[n]],!1)},"values");var x=c.Arguments=c.Array;if(o("keys"),o("values"),o("entries"),!v&&y&&"values"!==x.name)try{l(x,"name",{value:"values"})}catch(t){}},function(t,e,n){"use strict";var r=n(25),o=n(6),c=n(153),f="__core-js_shared__",l=t.exports=o[f]||c(f,{});(l.versions||(l.versions=[])).push({version:"3.49.0",mode:r?"pure":"global",copyright:"© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"})},function(t,e,n){"use strict";var r=n(6),o=Object.defineProperty;t.exports=function(t,e){try{o(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},function(t,e,n){"use strict";var r=n(220),o=n(99);t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},function(t,e,n){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},function(t,e,n){"use strict";var r=n(5),o=n(8),c=n(152),f=r(Function.toString);o(c.inspectSource)||(c.inspectSource=function(t){return f(t)}),t.exports=c.inspectSource},function(t,e,n){"use strict";var r=n(14),o=n(8),c=n(45),f=n(123),l=n(479),d=f("IE_PROTO"),h=Object,v=h.prototype;t.exports=l?h.getPrototypeOf:function(t){var object=c(t);if(r(object,d))return object[d];var e=object.constructor;return o(e)&&object instanceof e?e.prototype:object instanceof h?v:null}},function(t,e,n){"use strict";var r=n(480),o=n(10),c=n(32),f=n(481);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,n={};try{(t=r(Object.prototype,"__proto__","set"))(n,[]),e=n instanceof Array}catch(t){}return function(n,r){return c(n),f(r),o(n)?(e?t(n,r):n.__proto__=r,n):n}}():void 0)},function(t,e,n){"use strict";t.exports=function(t,e){return{value:t,done:e}}},function(t,e,n){"use strict";var r=n(161);t.exports="NODE"===r},function(t,e,n){"use strict";var r=n(6),o=n(79),c=n(46),f=function(t){return o.slice(0,t.length)===t};t.exports=f("Bun/")?"BUN":f("Cloudflare-Workers")?"CLOUDFLARE":f("Deno/")?"DENO":f("Node.js/")?"NODE":r.Bun&&"string"==typeof Bun.version?"BUN":r.Deno&&"object"==typeof Deno.version?"DENO":"process"===c(r.process)?"NODE":r.window&&r.document?"BROWSER":"REST"},function(t,e,n){"use strict";var r=n(6);t.exports=r},function(t,e,n){"use strict";var r=n(17),o=n(485),c=n(76),f=n(7)("species");t.exports=function(t,e){var n,l=r(t).constructor;return void 0===l||c(n=r(l)[f])?e:o(n)}},function(t,e,n){"use strict";var r={};r[n(7)("toStringTag")]="z",t.exports="[object z]"===String(r)},function(t,e,n){"use strict";var r=n(46),o=n(5);t.exports=function(t){if("Function"===r(t))return o(t)}},function(t,e,n){"use strict";var r=TypeError;t.exports=function(t,e){if(t0&&E(h,o.lastIndex-1);o.lastIndex>0&&(!o.multiline||o.multiline&&"\n"!==N&&"\r"!==N&&"\u2028"!==N&&"\u2029"!==N)&&(source="(?: (?:"+source+"))",I=" "+I,R++),n=new RegExp("^(?:"+source+")",w)}$&&(n=new RegExp("^"+source+"$(?!\\s)",w)),A&&(r=o.lastIndex);var L=c(O,_?n:o,I);return _?L?(L.input=h,L[0]=C(L[0],R),L.index=o.lastIndex,o.lastIndex+=L[0].length):o.lastIndex=0:A&&L&&(o.lastIndex=o.global?L.index+L[0].length:r),$&&L&&L.length>1&&c(x,L[0],n,function(){for(var i=1;i0?r:n)(t)}},function(t,e,n){var r=n(195)("keys"),o=n(141);t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,e,n){var r=n(113),o=n(61),c="__core-js_shared__",f=o[c]||(o[c]={});(t.exports=function(t,e){return f[t]||(f[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(140)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(192);t.exports=function(t){return Object(r(t))}},function(t,e){t.exports={}},function(t,e,n){var r=n(90).f,o=n(70),c=n(92)("toStringTag");t.exports=function(t,e,n){t&&!o(t=n?t:t.prototype,c)&&r(t,c,{configurable:!0,value:e})}},function(t,e,n){e.f=n(92)},function(t,e,n){var r=n(61),o=n(113),c=n(140),f=n(201),l=n(90).f;t.exports=function(t){var e=o.Symbol||(o.Symbol=c?{}:r.Symbol||{});"_"==t.charAt(0)||t in e||l(e,t,{value:f.f(t)})}},function(t,e,n){"use strict";(function(e){var r=n(34),o=n(646),c=n(435),f={"Content-Type":"application/x-www-form-urlencoded"};function l(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var d,h={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==e&&"[object process]"===Object.prototype.toString.call(e))&&(d=n(436)),d),transformRequest:[function(data,t){return o(t,"Accept"),o(t,"Content-Type"),r.isFormData(data)||r.isArrayBuffer(data)||r.isBuffer(data)||r.isStream(data)||r.isFile(data)||r.isBlob(data)?data:r.isArrayBufferView(data)?data.buffer:r.isURLSearchParams(data)?(l(t,"application/x-www-form-urlencoded;charset=utf-8"),data.toString()):r.isObject(data)||t&&"application/json"===t["Content-Type"]?(l(t,"application/json"),function(t,e,n){if(r.isString(t))try{return(e||JSON.parse)(t),r.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(data)):data}],transformResponse:[function(data){var t=this.transitional,e=t&&t.silentJSONParsing,n=t&&t.forcedJSONParsing,o=!e&&"json"===this.responseType;if(o||n&&r.isString(data)&&data.length)try{return JSON.parse(data)}catch(t){if(o){if("SyntaxError"===t.name)throw c(t,this,"E_JSON_PARSE");throw t}}return data}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(t){return t>=200&&t<300}};h.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(t){h.headers[t]={}}),r.forEach(["post","put","patch"],function(t){h.headers[t]=r.merge(f)}),t.exports=h}).call(this,n(261))},,,,,,,function(t,e,n){"use strict";function r(a,b){for(var t in b)a[t]=b[t];return a}n.d(e,"a",function(){return oe});var o=/[!'()*]/g,c=function(t){return"%"+t.charCodeAt(0).toString(16)},f=/%2C/g,l=function(t){return encodeURIComponent(t).replace(o,c).replace(f,",")};function d(t){try{return decodeURIComponent(t)}catch(t){0}return t}var h=function(t){return null==t||"object"==typeof t?t:String(t)};function v(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(param){var t=param.replace(/\+/g," ").split("="),n=d(t.shift()),r=t.length>0?d(t.join("=")):null;void 0===e[n]?e[n]=r:Array.isArray(e[n])?e[n].push(r):e[n]=[e[n],r]}),e):e}function y(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return l(e);if(Array.isArray(n)){var r=[];return n.forEach(function(t){void 0!==t&&(null===t?r.push(l(e)):r.push(l(e)+"="+l(t)))}),r.join("&")}return l(e)+"="+l(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}var m=/\/?$/;function _(t,e,n,r){var o=r&&r.options.stringifyQuery,c=e.query||{};try{c=w(c)}catch(t){}var f={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:c,params:e.params||{},fullPath:S(e,o),matched:t?O(t):[]};return n&&(f.redirectedFrom=S(n,o)),Object.freeze(f)}function w(t){if(Array.isArray(t))return t.map(w);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=w(t[n]);return e}return t}var x=_(null,{path:"/"});function O(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function S(t,e){var path=t.path,n=t.query;void 0===n&&(n={});var r=t.hash;return void 0===r&&(r=""),(path||"/")+(e||y)(n)+r}function E(a,b,t){return b===x?a===b:!!b&&(a.path&&b.path?a.path.replace(m,"")===b.path.replace(m,"")&&(t||a.hash===b.hash&&j(a.query,b.query)):!(!a.name||!b.name)&&(a.name===b.name&&(t||a.hash===b.hash&&j(a.query,b.query)&&j(a.params,b.params))))}function j(a,b){if(void 0===a&&(a={}),void 0===b&&(b={}),!a||!b)return a===b;var t=Object.keys(a).sort(),e=Object.keys(b).sort();return t.length===e.length&&t.every(function(t,i){var n=a[t];if(e[i]!==t)return!1;var r=b[t];return null==n||null==r?n===r:"object"==typeof n&&"object"==typeof r?j(n,r):String(n)===String(r)})}function k(t){for(var i=0;i=0&&(t=path.slice(n),path=path.slice(0,n));var r=path.indexOf("?");return r>=0&&(e=path.slice(r+1),path=path.slice(0,r)),{path:path,query:e,hash:t}}(c.path||""),m=e&&e.path||"/",path=y.path?T(y.path,m,n||c.append):m,_=function(t,e,n){void 0===e&&(e={});var r,o=n||v;try{r=o(t||"")}catch(t){r={}}for(var c in e){var f=e[c];r[c]=Array.isArray(f)?f.map(h):h(f)}return r}(y.query,c.query,o&&o.options.parseQuery),w=c.hash||y.hash;return w&&"#"!==w.charAt(0)&&(w="#"+w),{_normalized:!0,path:path,query:_,hash:w}}var Z,tt=function(){},et={name:"RouterLink",props:{to:{type:[String,Object],required:!0},tag:{type:String,default:"a"},custom:Boolean,exact:Boolean,exactPath:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:{type:String,default:"page"},event:{type:[String,Array],default:"click"}},render:function(t){var e=this,n=this.$router,o=this.$route,c=n.resolve(this.to,o,this.append),f=c.location,l=c.route,d=c.href,h={},v=n.options.linkActiveClass,y=n.options.linkExactActiveClass,w=null==v?"router-link-active":v,x=null==y?"router-link-exact-active":y,O=null==this.activeClass?w:this.activeClass,S=null==this.exactActiveClass?x:this.exactActiveClass,j=l.redirectedFrom?_(null,Q(l.redirectedFrom),null,n):l;h[S]=E(o,j,this.exactPath),h[O]=this.exact||this.exactPath?h[S]:function(t,e){return 0===t.path.replace(m,"/").indexOf(e.path.replace(m,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(o,j);var k=h[S]?this.ariaCurrentValue:null,C=function(t){nt(t)&&(e.replace?n.replace(f,tt):n.push(f,tt))},A={click:nt};Array.isArray(this.event)?this.event.forEach(function(t){A[t]=C}):A[this.event]=C;var data={class:h},T=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:d,route:l,navigate:C,isActive:h[O],isExactActive:h[S]});if(T){if(1===T.length)return T[0];if(T.length>1||!T.length)return 0===T.length?t():t("span",{},T)}if("a"===this.tag)data.on=A,data.attrs={href:d,"aria-current":k};else{var a=ot(this.$slots.default);if(a){a.isStatic=!1;var $=a.data=r({},a.data);for(var P in $.on=$.on||{},$.on){var R=$.on[P];P in A&&($.on[P]=Array.isArray(R)?R:[R])}for(var I in A)I in $.on?$.on[I].push(A[I]):$.on[I]=C;var N=a.data.attrs=r({},a.data.attrs);N.href=d,N["aria-current"]=k}else data.on=A}return t(this.tag,data,this.$slots.default)}};function nt(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function ot(t){if(t)for(var e,i=0;i-1&&(l.params[m]=n.params[m]);return l.path=Y(v.path,l.params),d(v,l,f)}if(l.path){l.params={};for(var i=0;i-1}function Mt(t,e){return Lt(t)&&t._isRouter&&(null==e||t.type===e)}function Dt(t,e,n){var r=function(o){o>=t.length?n():t[o]?e(t[o],function(){r(o+1)}):r(o+1)};r(0)}function Ft(t){return function(e,n,r){var o=!1,c=0,f=null;Ut(t,function(t,e,n,l){if("function"==typeof t&&void 0===t.cid){o=!0,c++;var d,h=Vt(function(e){var o;((o=e).__esModule||zt&&"Module"===o[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:Z.extend(e),n.components[l]=e,--c<=0&&r()}),v=Vt(function(t){var e="Failed to resolve async component "+l+": "+t;f||(f=Lt(t)?t:new Error(e),r(f))});try{d=t(h,v)}catch(t){v(t)}if(d)if("function"==typeof d.then)d.then(h,v);else{var y=d.component;y&&"function"==typeof y.then&&y.then(h,v)}}}),o||r()}}function Ut(t,e){return Bt(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function Bt(t){return Array.prototype.concat.apply([],t)}var zt="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Vt(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var Ht=function(t,base){this.router=t,this.base=function(base){if(!base)if(it){var t=document.querySelector("base");base=(base=t&&t.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else base="/";"/"!==base.charAt(0)&&(base="/"+base);return base.replace(/\/$/,"")}(base),this.current=x,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function qt(t,e,n,r){var o=Ut(t,function(t,r,o,c){var f=function(t,e){"function"!=typeof t&&(t=Z.extend(t));return t.options[e]}(t,e);if(f)return Array.isArray(f)?f.map(function(t){return n(t,r,o,c)}):n(f,r,o,c)});return Bt(r?o.reverse():o)}function Gt(t,e){if(e)return function(){return t.apply(e,arguments)}}Ht.prototype.listen=function(t){this.cb=t},Ht.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},Ht.prototype.onError=function(t){this.errorCbs.push(t)},Ht.prototype.transitionTo=function(t,e,n){var r,o=this;try{r=this.router.match(t,this.current)}catch(t){throw this.errorCbs.forEach(function(e){e(t)}),t}var c=this.current;this.confirmTransition(r,function(){o.updateRoute(r),e&&e(r),o.ensureURL(),o.router.afterHooks.forEach(function(t){t&&t(r,c)}),o.ready||(o.ready=!0,o.readyCbs.forEach(function(t){t(r)}))},function(t){n&&n(t),t&&!o.ready&&(Mt(t,$t.redirected)&&c===x||(o.ready=!0,o.readyErrorCbs.forEach(function(e){e(t)})))})},Ht.prototype.confirmTransition=function(t,e,n){var r=this,o=this.current;this.pending=t;var c,f,l=function(t){!Mt(t)&&Lt(t)&&(r.errorCbs.length?r.errorCbs.forEach(function(e){e(t)}):console.error(t)),n&&n(t)},d=t.matched.length-1,h=o.matched.length-1;if(E(t,o)&&d===h&&t.matched[d]===o.matched[h])return this.ensureURL(),t.hash&&bt(this.router,o,t,!1),l(((f=It(c=o,t,$t.duplicated,'Avoided redundant navigation to current location: "'+c.fullPath+'".')).name="NavigationDuplicated",f));var v=function(t,e){var i,n=Math.max(t.length,e.length);for(i=0;i0)){var e=this.router,n=e.options.scrollBehavior,r=Ct&&n;r&&this.listeners.push(gt());var o=function(){var n=t.current,o=Kt(t.base);t.current===x&&o===t._startLocation||t.transitionTo(o,function(t){r&&bt(e,t,n,!0)})};window.addEventListener("popstate",o),this.listeners.push(function(){window.removeEventListener("popstate",o)})}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,function(t){At($(r.base+t.fullPath)),bt(r.router,t,o,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,function(t){Tt($(r.base+t.fullPath)),bt(r.router,t,o,!1),e&&e(t)},n)},e.prototype.ensureURL=function(t){if(Kt(this.base)!==this.current.fullPath){var e=$(this.base+this.current.fullPath);t?At(e):Tt(e)}},e.prototype.getCurrentLocation=function(){return Kt(this.base)},e}(Ht);function Kt(base){var path=window.location.pathname,t=path.toLowerCase(),e=base.toLowerCase();return!base||t!==e&&0!==t.indexOf($(e+"/"))||(path=path.slice(base.length)),(path||"/")+window.location.search+window.location.hash}var Jt=function(t){function e(e,base,n){t.call(this,e,base),n&&function(base){var t=Kt(base);if(!/^\/#/.test(t))return window.location.replace($(base+"/#"+t)),!0}(this.base)||Xt()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router.options.scrollBehavior,n=Ct&&e;n&&this.listeners.push(gt());var r=function(){var e=t.current;Xt()&&t.transitionTo(Yt(),function(r){n&&bt(t.router,r,e,!0),Ct||te(r.fullPath)})},o=Ct?"popstate":"hashchange";window.addEventListener(o,r),this.listeners.push(function(){window.removeEventListener(o,r)})}},e.prototype.push=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,function(t){Zt(t.fullPath),bt(r.router,t,o,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,function(t){te(t.fullPath),bt(r.router,t,o,!1),e&&e(t)},n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;Yt()!==e&&(t?Zt(e):te(e))},e.prototype.getCurrentLocation=function(){return Yt()},e}(Ht);function Xt(){var path=Yt();return"/"===path.charAt(0)||(te("/"+path),!1)}function Yt(){var t=window.location.href,e=t.indexOf("#");return e<0?"":t=t.slice(e+1)}function Qt(path){var t=window.location.href,i=t.indexOf("#");return(i>=0?t.slice(0,i):t)+"#"+path}function Zt(path){Ct?At(Qt(path)):window.location.hash=path}function te(path){Ct?Tt(Qt(path)):window.location.replace(Qt(path))}var ee=function(t){function e(e,base){t.call(this,e,base),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){var t=e.current;e.index=n,e.updateRoute(r),e.router.afterHooks.forEach(function(e){e&&e(r,t)})},function(t){Mt(t,$t.duplicated)&&(e.index=n)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Ht),ne=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=ct(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!Ct&&!1!==t.fallback,this.fallback&&(e="hash"),it||(e="abstract"),this.mode=e,e){case"history":this.history=new Wt(this,t.base);break;case"hash":this.history=new Jt(this,t.base,this.fallback);break;case"abstract":this.history=new ee(this,t.base)}},re={currentRoute:{configurable:!0}};ne.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},re.currentRoute.get=function(){return this.history&&this.history.current},ne.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardown()}),!this.app){this.app=t;var n=this.history;if(n instanceof Wt||n instanceof Jt){var r=function(t){n.setupListeners(),function(t){var r=n.current,o=e.options.scrollBehavior;Ct&&o&&"fullPath"in t&&bt(e,t,r,!1)}(t)};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},ne.prototype.beforeEach=function(t){return ie(this.beforeHooks,t)},ne.prototype.beforeResolve=function(t){return ie(this.resolveHooks,t)},ne.prototype.afterEach=function(t){return ie(this.afterHooks,t)},ne.prototype.onReady=function(t,e){this.history.onReady(t,e)},ne.prototype.onError=function(t){this.history.onError(t)},ne.prototype.push=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise(function(e,n){r.history.push(t,e,n)});this.history.push(t,e,n)},ne.prototype.replace=function(t,e,n){var r=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise(function(e,n){r.history.replace(t,e,n)});this.history.replace(t,e,n)},ne.prototype.go=function(t){this.history.go(t)},ne.prototype.back=function(){this.go(-1)},ne.prototype.forward=function(){this.go(1)},ne.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},ne.prototype.resolve=function(t,e,n){var r=Q(t,e=e||this.history.current,n,this),o=this.match(r,e),c=o.redirectedFrom||o.fullPath,f=function(base,t,e){var path="hash"===e?"#"+t:t;return base?$(base+"/"+path):path}(this.history.base,c,this.mode);return{location:r,route:o,href:f,normalizedTo:r,resolved:o}},ne.prototype.getRoutes=function(){return this.matcher.getRoutes()},ne.prototype.addRoute=function(t,e){this.matcher.addRoute(t,e),this.history.current!==x&&this.history.transitionTo(this.history.getCurrentLocation())},ne.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==x&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(ne.prototype,re);var oe=ne;function ie(t,e){return t.push(e),function(){var i=t.indexOf(e);i>-1&&t.splice(i,1)}}ne.install=function t(e){if(!t.installed||Z!==e){t.installed=!0,Z=e;var n=function(t){return void 0!==t},r=function(t,e){var i=t.$options._parentVnode;n(i)&&n(i=i.data)&&n(i=i.registerRouteInstance)&&i(t,e)};e.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",C),e.component("RouterLink",et);var o=e.config.optionMergeStrategies;o.beforeRouteEnter=o.beforeRouteLeave=o.beforeRouteUpdate=o.created}},ne.version="3.6.5",ne.isNavigationFailure=Mt,ne.NavigationFailureType=$t,ne.START_LOCATION=x,it&&window.Vue&&window.Vue.use(ne)},function(t,e,n){"use strict";var r=n(7),o=n(63),c=n(26).f,f=r("unscopables"),l=Array.prototype;void 0===l[f]&&c(l,f,{configurable:!0,value:o(null)}),t.exports=function(t){l[f][t]=!0}},,,,,function(t,e,n){"use strict";var r=n(78);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,e,n){"use strict";var r=n(12),o=n(218),c=n(26),f=n(17),l=n(36),d=n(100);e.f=r&&!o?Object.defineProperties:function(t,e){f(t);for(var n,r=l(e),o=d(e),h=o.length,v=0;h>v;)c.f(t,n=o[v++],r[n]);return t}},function(t,e,n){"use strict";var r=n(12),o=n(4);t.exports=r&&o(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},function(t,e,n){"use strict";var r=n(12),o=n(4),c=n(122);t.exports=!r&&!o(function(){return 7!==Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){"use strict";var r=n(11),o=n(10),c=n(99),f=n(64),l=n(477),d=n(7),h=TypeError,v=d("toPrimitive");t.exports=function(input,t){if(!o(input)||c(input))return input;var e,n=f(input,v);if(n){if(void 0===t&&(t="default"),e=r(n,input,t),!o(e)||c(e))return e;throw new h("Can't convert object to primitive value")}return void 0===t&&(t="number"),l(input,t)}},function(t,e,n){"use strict";var r=n(5),o=n(14),c=n(36),f=n(222).indexOf,l=n(101),d=r([].push);t.exports=function(object,t){var e,n=c(object),i=0,r=[];for(e in n)!o(l,e)&&o(n,e)&&d(r,e);for(;t.length>i;)o(n,e=t[i++])&&(~f(r,e)||d(r,e));return r}},function(t,e,n){"use strict";var r=n(36),o=n(117),c=n(62),f=function(t){return function(e,n,f){var l=r(e),d=c(l);if(0===d)return!t&&-1;var h,v=o(f,d);if(t&&n!=n){for(;d>v;)if((h=l[v++])!=h)return!0}else for(;d>v;v++)if((t||v in l)&&l[v]===n)return t||v||0;return!t&&-1}};t.exports={includes:f(!0),indexOf:f(!1)}},function(t,e,n){"use strict";var r=n(37);t.exports=r("document","documentElement")},function(t,e,n){"use strict";var r=n(6),o=n(8),c=r.WeakMap;t.exports=o(c)&&/native code/.test(String(c))},function(t,e,n){"use strict";var r=n(3),o=n(11),c=n(25),f=n(118),l=n(8),d=n(229),h=n(157),v=n(158),y=n(66),m=n(65),_=n(21),w=n(7),x=n(102),O=n(230),S=f.PROPER,E=f.CONFIGURABLE,j=O.IteratorPrototype,k=O.BUGGY_SAFARI_ITERATORS,C=w("iterator"),A="keys",T="values",$="entries",P=function(){return this};t.exports=function(t,e,n,f,w,O,R){d(n,e,f);var I,N,L,M=function(t){if(t===w&&z)return z;if(!k&&t&&t in U)return U[t];switch(t){case A:case T:case $:return function(){return new n(this,t)}}return function(){return new n(this)}},D=e+" Iterator",F=!1,U=t.prototype,B=U[C]||U["@@iterator"]||w&&U[w],z=!k&&B||M(w),V="Array"===e&&U.entries||B;if(V&&(I=h(V.call(new t)))!==Object.prototype&&I.next&&(c||h(I)===j||(v?v(I,j):l(I[C])||_(I,C,P)),y(I,D,!0,!0),c&&(x[D]=P)),S&&w===T&&B&&B.name!==T&&(!c&&E?m(U,"name",T):(F=!0,z=function(){return o(B,this)})),w)if(N={values:M(T),keys:O?z:M(A),entries:M($)},R)for(L in N)(k||F||!(L in U))&&_(U,L,N[L]);else r({target:e,proto:!0,forced:k||F},N);return c&&!R||U[C]===z||_(U,C,z,{name:w}),x[e]=z,N}},function(t,e,n){"use strict";var r=n(5),o=n(4),c=n(8),f=n(14),l=n(12),d=n(118).CONFIGURABLE,h=n(156),v=n(40),y=v.enforce,m=v.get,_=String,w=Object.defineProperty,x=r("".slice),O=r("".replace),S=r([].join),E=l&&!o(function(){return 8!==w(function(){},"length",{value:8}).length}),j=String(String).split("String"),k=t.exports=function(t,e,n){"Symbol("===x(_(e),0,7)&&(e="["+O(_(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!f(t,"name")||d&&t.name!==e)&&(l?w(t,"name",{value:e,configurable:!0}):t.name=e),E&&n&&f(n,"arity")&&t.length!==n.arity&&w(t,"length",{value:n.arity});try{n&&f(n,"constructor")&&n.constructor?l&&w(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=y(t);return f(r,"source")||(r.source=S(j,"string"==typeof e?e:"")),t};Function.prototype.toString=k(function(){return c(this)&&m(this).source||h(this)},"toString")},function(t,e,n){"use strict";var r=n(14),o=n(228),c=n(60),f=n(26);t.exports=function(t,source,e){for(var n=o(source),l=f.f,d=c.f,i=0;i9007199254740991)throw new r("Maximum allowed index exceeded");return t}},function(t,e,n){"use strict";var r=n(17);t.exports=function(){var t=r(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},function(t,e,n){"use strict";var r=n(4),o=n(6).RegExp;t.exports=r(function(){var t=o(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)})},function(t,e,n){"use strict";var r=n(4),o=n(6).RegExp;t.exports=r(function(){var t=o("(?b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$c")})},function(t,e,n){"use strict";var r=n(10),o=n(46),c=n(7)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[c])?!!e:"RegExp"===o(t))}},function(t,e,n){"use strict";var r=n(5),o=n(81),c=n(18),f=n(32),l=r("".charAt),d=r("".charCodeAt),h=r("".slice),v=function(t){return function(e,n){var r,v,y=c(f(e)),m=o(n),_=y.length;return m<0||m>=_?t?"":void 0:(r=d(y,m))<55296||r>56319||m+1===_||(v=d(y,m+1))<56320||v>57343?t?l(y,m):r:t?h(y,m,m+2):v-56320+(r-55296<<10)+65536}};t.exports={codeAt:v(!1),charAt:v(!0)}},function(t,e,n){"use strict";var r=n(4);t.exports=!r(function(){return Object.isExtensible(Object.preventExtensions({}))})},function(t,e,n){"use strict";var r=n(5),o=WeakMap.prototype;t.exports={WeakMap:WeakMap,set:r(o.set),get:r(o.get),has:r(o.has),remove:r(o.delete)}},function(t,e,n){"use strict";t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},function(t,e,n){"use strict";var r=n(122)("span").classList,o=r&&r.constructor&&r.constructor.prototype;t.exports=o===Object.prototype?void 0:o},function(t,e,n){"use strict";var r=n(4);t.exports=function(t,e){var n=[][t];return!!n&&r(function(){n.call(null,e||function(){return 1},1)})}},function(t,e,n){"use strict";var r,o=n(6),c=n(128),f=n(8),l=n(161),d=n(79),h=n(86),v=n(166),y=o.Function,m=/MSIE .\./.test(d)||"BUN"===l&&((r=o.Bun.version.split(".")).length<3||"0"===r[0]&&(r[1]<3||"3"===r[1]&&"0"===r[2]));t.exports=function(t,e){var n=e?2:1;return m?function(r,o){var l=v(arguments.length,1)>n,d=f(r)?r:y(r),m=l?h(arguments,n):[],_=l?function(){c(d,this,m)}:d;return e?t(_,o):t(_)}:t}},function(t,e,n){"use strict";var r=n(3),o=n(5),c=n(119),f=n(36),l=n(253),d=o([].join);r({target:"Array",proto:!0,forced:c!==Object||!l("join",",")},{join:function(t){return d(f(this),void 0===t?",":t)}})},function(t,e,n){"use strict";var r=n(3),o=n(525).entries;r({target:"Object",stat:!0},{entries:function(t){return o(t)}})},function(t,e,n){"use strict";var r=n(12),o=n(6),c=n(5),f=n(103),l=n(178),d=n(65),h=n(63),v=n(84).f,y=n(58),m=n(247),_=n(18),w=n(112),x=n(173),O=n(526),S=n(21),E=n(4),j=n(14),k=n(40).enforce,C=n(231),A=n(7),T=n(245),$=n(246),P=A("match"),R=o.RegExp,I=R.prototype,N=o.SyntaxError,L=c(I.exec),M=c("".charAt),D=c("".replace),F=c("".indexOf),U=c("".slice),B=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,z=/a/g,V=/a/g,H=new R(z)!==z,G=x.MISSED_STICKY,W=x.UNSUPPORTED_Y,K=r&&(!H||G||T||$||E(function(){return V[P]=!1,R(z)!==z||R(V)===V||"/a/i"!==String(R(z,"i"))}));if(f("RegExp",K)){for(var J=function(pattern,t){var e,n,r,o,c,f,v=y(I,this),x=m(pattern),O=void 0===t,S=[],E=pattern;if(!v&&x&&O&&pattern.constructor===J)return pattern;if((x||y(I,pattern))&&(pattern=pattern.source,O&&(t=w(E))),pattern=void 0===pattern?"":_(pattern),t=void 0===t?"":_(t),E=pattern,T&&"dotAll"in z&&(n=!!t&&F(t,"s")>-1)&&(t=D(t,/s/g,"")),e=t,G&&"sticky"in z&&(r=!!t&&F(t,"y")>-1)&&W&&(t=D(t,/y/g,"")),$&&(o=function(t){for(var e,n=t.length,r=0,o="",c=[],f=h(null),l=!1,d=!1,v=0,y="";r"===e&&d:if(""===y||j(f,y))throw new N("Invalid capture group name");f[y]=!0,c[c.length]=[y,v],d=!1,y="";continue}d?y+=e:o+=e}for(var m=0;m",w="\\"+c[m][1];F(o,_)>-1;)o=D(o,_,w);return[o,c]}(pattern),pattern=o[0],S=o[1]),c=l(R(pattern,t),v?this:I,J),(n||r||S.length)&&(f=k(c),n&&(f.dotAll=!0,f.raw=J(function(t){for(var e,n=t.length,r=0,o="",c=!1;rY;)O(J,R,X[Y++]);I.constructor=J,J.prototype=I,S(o,"RegExp",J,{constructor:!0})}C("RegExp")},function(t,e,n){"use strict";n(3)({target:"String",proto:!0},{repeat:n(527)})},function(t,e,n){"use strict";var r=n(11),o=n(131),c=n(17),f=n(10),l=n(32),d=n(529),h=n(18),v=n(64),y=n(132);o("search",function(t,e,n){return[function(e){var n=l(this),o=f(e)?v(e,t):void 0;return o?r(o,e,n):new RegExp(e)[t](h(n))},function(t){var r=c(this),o=h(t),f=n(e,r,o);if(f.done)return f.value;var l=r.lastIndex;d(l,0)||(r.lastIndex=0);var v=y(r,o);return d(r.lastIndex,l)||(r.lastIndex=l),null===v?-1:v.index}]})},function(t,e,n){"use strict";var r,o=n(3),c=n(165),f=n(60).f,l=n(82),d=n(18),h=n(174),v=n(32),y=n(175),m=n(25),_=c("".slice),w=Math.min,x=y("startsWith");o({target:"String",proto:!0,forced:!!(m||x||(r=f(String.prototype,"startsWith"),!r||r.writable))&&!x},{startsWith:function(t){var e=d(v(this));h(t);var n=d(t),r=l(w(arguments.length>1?arguments[1]:void 0,e.length));return _(e,r,r+n.length)===n}})},function(t,e){var n,r,o=t.exports={};function c(){throw new Error("setTimeout has not been defined")}function f(){throw new Error("clearTimeout has not been defined")}function l(t){if(n===setTimeout)return setTimeout(t,0);if((n===c||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:c}catch(t){n=c}try{r="function"==typeof clearTimeout?clearTimeout:f}catch(t){r=f}}();var d,h=[],v=!1,y=-1;function m(){v&&d&&(v=!1,d.length?h=d.concat(h):y=-1,h.length&&_())}function _(){if(!v){var t=l(m);v=!0;for(var e=h.length;e;){for(d=h,h=[];++y1)for(var i=1;ii;)r(n,e=t[i++])&&(~c(l,e)||l.push(e));return l}},function(t,e,n){var r=n(427);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){"use strict";var r=n(140),o=n(190),c=n(429),f=n(89),l=n(199),d=n(619),h=n(200),v=n(622),y=n(92)("iterator"),m=!([].keys&&"next"in[].keys()),_="keys",w="values",x=function(){return this};t.exports=function(t,e,n,O,S,E,j){d(n,e,O);var k,C,A,T=function(t){if(!m&&t in I)return I[t];switch(t){case _:case w:return function(){return new n(this,t)}}return function(){return new n(this,t)}},$=e+" Iterator",P=S==w,R=!1,I=t.prototype,N=I[y]||I["@@iterator"]||S&&I[S],L=N||T(S),M=S?P?T("entries"):L:void 0,D="Array"==e&&I.entries||N;if(D&&(A=v(D.call(new t)))!==Object.prototype&&A.next&&(h(A,$,!0),r||"function"==typeof A[y]||f(A,y,x)),P&&N&&N.name!==w&&(R=!0,L=function(){return N.call(this)}),r&&!j||!m&&!R&&I[y]||f(I,y,L),l[e]=L,l[$]=x,S)if(k={values:P?L:T(w),keys:E?L:T(_),entries:M},j)for(C in k)C in I||c(I,C,k[C]);else o(o.P+o.F*(m||R),e,k);return k}},function(t,e,n){t.exports=n(89)},function(t,e,n){var r=n(137),o=n(620),c=n(196),f=n(194)("IE_PROTO"),l=function(){},d="prototype",h=function(){var t,iframe=n(424)("iframe"),i=c.length;for(iframe.style.display="none",n(621).appendChild(iframe),iframe.src="javascript:",(t=iframe.contentWindow.document).open(),t.write(" + diff --git a/.nuxt/dist/server/index.ssr.html b/.nuxt/dist/server/index.ssr.html new file mode 100644 index 0000000..8344009 --- /dev/null +++ b/.nuxt/dist/server/index.ssr.html @@ -0,0 +1,9 @@ + + + + {{ HEAD }} + + + {{ APP }} + + diff --git a/.nuxt/dist/server/pages/article/_id.js b/.nuxt/dist/server/pages/article/_id.js new file mode 100644 index 0000000..89bc448 --- /dev/null +++ b/.nuxt/dist/server/pages/article/_id.js @@ -0,0 +1,953 @@ +exports.ids = [6,1]; +exports.modules = { + +/***/ 160: +/***/ (function(module, exports, __webpack_require__) { + +// style-loader: Adds some css to the DOM by adding a ' + } + return css +} + + +/***/ }), +/* 5 */ +/***/ (function(module, exports) { + +module.exports = require("vuex"); + +/***/ }), +/* 6 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +module.exports = function (url, options) { + if (!options) { + // eslint-disable-next-line no-param-reassign + options = {}; + } // eslint-disable-next-line no-underscore-dangle, no-param-reassign + + + url = url && url.__esModule ? url.default : url; + + if (typeof url !== "string") { + return url; + } // If url is already wrapped in quotes, remove them + + + if (/^['"].*['"]$/.test(url)) { + // eslint-disable-next-line no-param-reassign + url = url.slice(1, -1); + } + + if (options.hash) { + // eslint-disable-next-line no-param-reassign + url += options.hash; + } // Should url be wrapped? + // See https://drafts.csswg.org/css-values-3/#urls + + + if (/["'() \t\n]/.test(url) || options.needQuotes) { + return "\"".concat(url.replace(/"/g, '\\"').replace(/\n/g, "\\n"), "\""); + } + + return url; +}; + +/***/ }), +/* 7 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +exports.__esModule = true; +exports.isMac = exports.isEmpty = exports.isEqual = exports.arrayEquals = exports.looseEqual = exports.capitalize = exports.kebabCase = exports.autoprefixer = exports.isFirefox = exports.isEdge = exports.isIE = exports.coerceTruthyValueToArray = exports.arrayFind = exports.arrayFindIndex = exports.escapeRegexpString = exports.valueEquals = exports.generateId = exports.getValueByPath = undefined; + +var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + +exports.noop = noop; +exports.hasOwn = hasOwn; +exports.toObject = toObject; +exports.getPropByPath = getPropByPath; +exports.rafThrottle = rafThrottle; +exports.objToArray = objToArray; + +var _vue = __webpack_require__(0); + +var _vue2 = _interopRequireDefault(_vue); + +var _types = __webpack_require__(49); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +var hasOwnProperty = Object.prototype.hasOwnProperty; + +function noop() {}; + +function hasOwn(obj, key) { + return hasOwnProperty.call(obj, key); +}; + +function extend(to, _from) { + for (var key in _from) { + to[key] = _from[key]; + } + return to; +}; + +function toObject(arr) { + var res = {}; + for (var i = 0; i < arr.length; i++) { + if (arr[i]) { + extend(res, arr[i]); + } + } + return res; +}; + +var getValueByPath = exports.getValueByPath = function getValueByPath(object, prop) { + prop = prop || ''; + var paths = prop.split('.'); + var current = object; + var result = null; + for (var i = 0, j = paths.length; i < j; i++) { + var path = paths[i]; + if (!current) break; + + if (i === j - 1) { + result = current[path]; + break; + } + current = current[path]; + } + return result; +}; + +function getPropByPath(obj, path, strict) { + var tempObj = obj; + path = path.replace(/\[(\w+)\]/g, '.$1'); + path = path.replace(/^\./, ''); + + var keyArr = path.split('.'); + var i = 0; + for (var len = keyArr.length; i < len - 1; ++i) { + if (!tempObj && !strict) break; + var key = keyArr[i]; + if (key in tempObj) { + tempObj = tempObj[key]; + } else { + if (strict) { + throw new Error('please transfer a valid prop path to form item!'); + } + break; + } + } + return { + o: tempObj, + k: keyArr[i], + v: tempObj ? tempObj[keyArr[i]] : null + }; +}; + +var generateId = exports.generateId = function generateId() { + return Math.floor(Math.random() * 10000); +}; + +var valueEquals = exports.valueEquals = function valueEquals(a, b) { + // see: https://stackoverflow.com/questions/3115982/how-to-check-if-two-arrays-are-equal-with-javascript + if (a === b) return true; + if (!(a instanceof Array)) return false; + if (!(b instanceof Array)) return false; + if (a.length !== b.length) return false; + for (var i = 0; i !== a.length; ++i) { + if (a[i] !== b[i]) return false; + } + return true; +}; + +var escapeRegexpString = exports.escapeRegexpString = function escapeRegexpString() { + var value = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; + return String(value).replace(/[|\\{}()[\]^$+*?.]/g, '\\$&'); +}; + +// TODO: use native Array.find, Array.findIndex when IE support is dropped +var arrayFindIndex = exports.arrayFindIndex = function arrayFindIndex(arr, pred) { + for (var i = 0; i !== arr.length; ++i) { + if (pred(arr[i])) { + return i; + } + } + return -1; +}; + +var arrayFind = exports.arrayFind = function arrayFind(arr, pred) { + var idx = arrayFindIndex(arr, pred); + return idx !== -1 ? arr[idx] : undefined; +}; + +// coerce truthy value to array +var coerceTruthyValueToArray = exports.coerceTruthyValueToArray = function coerceTruthyValueToArray(val) { + if (Array.isArray(val)) { + return val; + } else if (val) { + return [val]; + } else { + return []; + } +}; + +var isIE = exports.isIE = function isIE() { + return !_vue2.default.prototype.$isServer && !isNaN(Number(document.documentMode)); +}; + +var isEdge = exports.isEdge = function isEdge() { + return !_vue2.default.prototype.$isServer && navigator.userAgent.indexOf('Edge') > -1; +}; + +var isFirefox = exports.isFirefox = function isFirefox() { + return !_vue2.default.prototype.$isServer && !!window.navigator.userAgent.match(/firefox/i); +}; + +var autoprefixer = exports.autoprefixer = function autoprefixer(style) { + if ((typeof style === 'undefined' ? 'undefined' : _typeof(style)) !== 'object') return style; + var rules = ['transform', 'transition', 'animation']; + var prefixes = ['ms-', 'webkit-']; + rules.forEach(function (rule) { + var value = style[rule]; + if (rule && value) { + prefixes.forEach(function (prefix) { + style[prefix + rule] = value; + }); + } + }); + return style; +}; + +var kebabCase = exports.kebabCase = function kebabCase(str) { + var hyphenateRE = /([^-])([A-Z])/g; + return str.replace(hyphenateRE, '$1-$2').replace(hyphenateRE, '$1-$2').toLowerCase(); +}; + +var capitalize = exports.capitalize = function capitalize(str) { + if (!(0, _types.isString)(str)) return str; + return str.charAt(0).toUpperCase() + str.slice(1); +}; + +var looseEqual = exports.looseEqual = function looseEqual(a, b) { + var isObjectA = (0, _types.isObject)(a); + var isObjectB = (0, _types.isObject)(b); + if (isObjectA && isObjectB) { + return JSON.stringify(a) === JSON.stringify(b); + } else if (!isObjectA && !isObjectB) { + return String(a) === String(b); + } else { + return false; + } +}; + +var arrayEquals = exports.arrayEquals = function arrayEquals(arrayA, arrayB) { + arrayA = arrayA || []; + arrayB = arrayB || []; + + if (arrayA.length !== arrayB.length) { + return false; + } + + for (var i = 0; i < arrayA.length; i++) { + if (!looseEqual(arrayA[i], arrayB[i])) { + return false; + } + } + + return true; +}; + +var isEqual = exports.isEqual = function isEqual(value1, value2) { + if (Array.isArray(value1) && Array.isArray(value2)) { + return arrayEquals(value1, value2); + } + return looseEqual(value1, value2); +}; + +var isEmpty = exports.isEmpty = function isEmpty(val) { + // null or undefined + if (val == null) return true; + + if (typeof val === 'boolean') return false; + + if (typeof val === 'number') return !val; + + if (val instanceof Error) return val.message === ''; + + switch (Object.prototype.toString.call(val)) { + // String or Array + case '[object String]': + case '[object Array]': + return !val.length; + + // Map or Set or File + case '[object File]': + case '[object Map]': + case '[object Set]': + { + return !val.size; + } + // Plain Object + case '[object Object]': + { + return !Object.keys(val).length; + } + } + + return false; +}; + +function rafThrottle(fn) { + var locked = false; + return function () { + var _this = this; + + for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { + args[_key] = arguments[_key]; + } + + if (locked) return; + locked = true; + window.requestAnimationFrame(function (_) { + fn.apply(_this, args); + locked = false; + }); + }; +} + +function objToArray(obj) { + if (Array.isArray(obj)) { + return obj; + } + return isEmpty(obj) ? [] : [obj]; +} + +var isMac = exports.isMac = function isMac() { + return !_vue2.default.prototype.$isServer && /macintosh|mac os x/i.test(navigator.userAgent); +}; + +/***/ }), +/* 8 */ +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__.p + "img/video_play_icon.edf9948.png"; + +/***/ }), +/* 9 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +exports.__esModule = true; +exports.isInContainer = exports.getScrollContainer = exports.isScroll = exports.getStyle = exports.once = exports.off = exports.on = undefined; + +var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; /* istanbul ignore next */ + +exports.hasClass = hasClass; +exports.addClass = addClass; +exports.removeClass = removeClass; +exports.setStyle = setStyle; + +var _vue = __webpack_require__(0); + +var _vue2 = _interopRequireDefault(_vue); + +function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } + +var isServer = _vue2.default.prototype.$isServer; +var SPECIAL_CHARS_REGEXP = /([\:\-\_]+(.))/g; +var MOZ_HACK_REGEXP = /^moz([A-Z])/; +var ieVersion = isServer ? 0 : Number(document.documentMode); + +/* istanbul ignore next */ +var trim = function trim(string) { + return (string || '').replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g, ''); +}; +/* istanbul ignore next */ +var camelCase = function camelCase(name) { + return name.replace(SPECIAL_CHARS_REGEXP, function (_, separator, letter, offset) { + return offset ? letter.toUpperCase() : letter; + }).replace(MOZ_HACK_REGEXP, 'Moz$1'); +}; + +/* istanbul ignore next */ +var on = exports.on = function () { + if (!isServer && document.addEventListener) { + return function (element, event, handler) { + if (element && event && handler) { + element.addEventListener(event, handler, false); + } + }; + } else { + return function (element, event, handler) { + if (element && event && handler) { + element.attachEvent('on' + event, handler); + } + }; + } +}(); + +/* istanbul ignore next */ +var off = exports.off = function () { + if (!isServer && document.removeEventListener) { + return function (element, event, handler) { + if (element && event) { + element.removeEventListener(event, handler, false); + } + }; + } else { + return function (element, event, handler) { + if (element && event) { + element.detachEvent('on' + event, handler); + } + }; + } +}(); + +/* istanbul ignore next */ +var once = exports.once = function once(el, event, fn) { + var listener = function listener() { + if (fn) { + fn.apply(this, arguments); + } + off(el, event, listener); + }; + on(el, event, listener); +}; + +/* istanbul ignore next */ +function hasClass(el, cls) { + if (!el || !cls) return false; + if (cls.indexOf(' ') !== -1) throw new Error('className should not contain space.'); + if (el.classList) { + return el.classList.contains(cls); + } else { + return (' ' + el.className + ' ').indexOf(' ' + cls + ' ') > -1; + } +}; + +/* istanbul ignore next */ +function addClass(el, cls) { + if (!el) return; + var curClass = el.className; + var classes = (cls || '').split(' '); + + for (var i = 0, j = classes.length; i < j; i++) { + var clsName = classes[i]; + if (!clsName) continue; + + if (el.classList) { + el.classList.add(clsName); + } else if (!hasClass(el, clsName)) { + curClass += ' ' + clsName; + } + } + if (!el.classList) { + el.setAttribute('class', curClass); + } +}; + +/* istanbul ignore next */ +function removeClass(el, cls) { + if (!el || !cls) return; + var classes = cls.split(' '); + var curClass = ' ' + el.className + ' '; + + for (var i = 0, j = classes.length; i < j; i++) { + var clsName = classes[i]; + if (!clsName) continue; + + if (el.classList) { + el.classList.remove(clsName); + } else if (hasClass(el, clsName)) { + curClass = curClass.replace(' ' + clsName + ' ', ' '); + } + } + if (!el.classList) { + el.setAttribute('class', trim(curClass)); + } +}; + +/* istanbul ignore next */ +var getStyle = exports.getStyle = ieVersion < 9 ? function (element, styleName) { + if (isServer) return; + if (!element || !styleName) return null; + styleName = camelCase(styleName); + if (styleName === 'float') { + styleName = 'styleFloat'; + } + try { + switch (styleName) { + case 'opacity': + try { + return element.filters.item('alpha').opacity / 100; + } catch (e) { + return 1.0; + } + default: + return element.style[styleName] || element.currentStyle ? element.currentStyle[styleName] : null; + } + } catch (e) { + return element.style[styleName]; + } +} : function (element, styleName) { + if (isServer) return; + if (!element || !styleName) return null; + styleName = camelCase(styleName); + if (styleName === 'float') { + styleName = 'cssFloat'; + } + try { + var computed = document.defaultView.getComputedStyle(element, ''); + return element.style[styleName] || computed ? computed[styleName] : null; + } catch (e) { + return element.style[styleName]; + } +}; + +/* istanbul ignore next */ +function setStyle(element, styleName, value) { + if (!element || !styleName) return; + + if ((typeof styleName === 'undefined' ? 'undefined' : _typeof(styleName)) === 'object') { + for (var prop in styleName) { + if (styleName.hasOwnProperty(prop)) { + setStyle(element, prop, styleName[prop]); + } + } + } else { + styleName = camelCase(styleName); + if (styleName === 'opacity' && ieVersion < 9) { + element.style.filter = isNaN(value) ? '' : 'alpha(opacity=' + value * 100 + ')'; + } else { + element.style[styleName] = value; + } + } +}; + +var isScroll = exports.isScroll = function isScroll(el, vertical) { + if (isServer) return; + + var determinedDirection = vertical !== null && vertical !== undefined; + var overflow = determinedDirection ? vertical ? getStyle(el, 'overflow-y') : getStyle(el, 'overflow-x') : getStyle(el, 'overflow'); + + return overflow.match(/(scroll|auto|overlay)/); +}; + +var getScrollContainer = exports.getScrollContainer = function getScrollContainer(el, vertical) { + if (isServer) return; + + var parent = el; + while (parent) { + if ([window, document, document.documentElement].includes(parent)) { + return window; + } + if (isScroll(parent, vertical)) { + return parent; + } + parent = parent.parentNode; + } + + return parent; +}; + +var isInContainer = exports.isInContainer = function isInContainer(el, container) { + if (isServer || !el || !container) return false; + + var elRect = el.getBoundingClientRect(); + var containerRect = void 0; + + if ([window, document, document.documentElement, null, undefined].includes(container)) { + containerRect = { + top: 0, + right: window.innerWidth, + bottom: window.innerHeight, + left: 0 + }; + } else { + containerRect = container.getBoundingClientRect(); + } + + return elRect.top < containerRect.bottom && elRect.bottom > containerRect.top && elRect.right > containerRect.left && elRect.left < containerRect.right; +}; + +/***/ }), +/* 10 */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; + + +exports.__esModule = true; +function _broadcast(componentName, eventName, params) { + this.$children.forEach(function (child) { + var name = child.$options.componentName; + + if (name === componentName) { + child.$emit.apply(child, [eventName].concat(params)); + } else { + _broadcast.apply(child, [componentName, eventName].concat([params])); + } + }); +} +exports.default = { + methods: { + dispatch: function dispatch(componentName, eventName, params) { + var parent = this.$parent || this.$root; + var name = parent.$options.componentName; + + while (parent && (!name || name !== componentName)) { + parent = parent.$parent; + + if (parent) { + name = parent.$options.componentName; + } + } + if (parent) { + parent.$emit.apply(parent, [eventName].concat(params)); + } + }, + broadcast: function broadcast(componentName, eventName, params) { + _broadcast.call(this, componentName, eventName, params); + } + } +}; + +/***/ }), +/* 11 */ +/***/ (function(module, exports, __webpack_require__) { + +/* WEBPACK VAR INJECTION */(function(URL) {module.exports = +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = "/dist/"; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = 46); +/******/ }) +/************************************************************************/ +/******/ ([ +/* 0 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(117); + +/***/ }), +/* 1 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(9); + +/***/ }), +/* 2 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(7); + +/***/ }), +/* 3 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(10); + +/***/ }), +/* 4 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(20); + +/***/ }), +/* 5 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(13); + +/***/ }), +/* 6 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(0); + +/***/ }), +/* 7 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(14); + +/***/ }), +/* 8 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(22); + +/***/ }), +/* 9 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(51); + +/***/ }), +/* 10 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(52); + +/***/ }), +/* 11 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(50); + +/***/ }), +/* 12 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(19); + +/***/ }), +/* 13 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(123); + +/***/ }), +/* 14 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(53); + +/***/ }), +/* 15 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(23); + +/***/ }), +/* 16 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(49); + +/***/ }), +/* 17 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(24); + +/***/ }), +/* 18 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(25); + +/***/ }), +/* 19 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(15); + +/***/ }), +/* 20 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(48); + +/***/ }), +/* 21 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(125); + +/***/ }), +/* 22 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(126); + +/***/ }), +/* 23 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(26); + +/***/ }), +/* 24 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(55); + +/***/ }), +/* 25 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(127); + +/***/ }), +/* 26 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(128); + +/***/ }), +/* 27 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(27); + +/***/ }), +/* 28 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(129); + +/***/ }), +/* 29 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(131); + +/***/ }), +/* 30 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(57); + +/***/ }), +/* 31 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(21); + +/***/ }), +/* 32 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(132); + +/***/ }), +/* 33 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(133); + +/***/ }), +/* 34 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(134); + +/***/ }), +/* 35 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(28); + +/***/ }), +/* 36 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(54); + +/***/ }), +/* 37 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(135); + +/***/ }), +/* 38 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(136); + +/***/ }), +/* 39 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(137); + +/***/ }), +/* 40 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(138); + +/***/ }), +/* 41 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(139); + +/***/ }), +/* 42 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(140); + +/***/ }), +/* 43 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(141); + +/***/ }), +/* 44 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(58); + +/***/ }), +/* 45 */ +/***/ (function(module, exports) { + +module.exports = __webpack_require__(142); + +/***/ }), +/* 46 */ +/***/ (function(module, exports, __webpack_require__) { + +module.exports = __webpack_require__(47); + + +/***/ }), +/* 47 */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +__webpack_require__.r(__webpack_exports__); + +// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/pagination/src/pager.vue?vue&type=template&id=7274f267& +var pagervue_type_template_id_7274f267_render = function() { + var _vm = this + var _h = _vm.$createElement + var _c = _vm._self._c || _h + return _c( + "ul", + { staticClass: "el-pager", on: { click: _vm.onPagerClick } }, + [ + _vm.pageCount > 0 + ? _c( + "li", + { + staticClass: "number", + class: { active: _vm.currentPage === 1, disabled: _vm.disabled } + }, + [_vm._v("1")] + ) + : _vm._e(), + _vm.showPrevMore + ? _c("li", { + staticClass: "el-icon more btn-quickprev", + class: [_vm.quickprevIconClass, { disabled: _vm.disabled }], + on: { + mouseenter: function($event) { + _vm.onMouseenter("left") + }, + mouseleave: function($event) { + _vm.quickprevIconClass = "el-icon-more" + } + } + }) + : _vm._e(), + _vm._l(_vm.pagers, function(pager) { + return _c( + "li", + { + key: pager, + staticClass: "number", + class: { active: _vm.currentPage === pager, disabled: _vm.disabled } + }, + [_vm._v(_vm._s(pager))] + ) + }), + _vm.showNextMore + ? _c("li", { + staticClass: "el-icon more btn-quicknext", + class: [_vm.quicknextIconClass, { disabled: _vm.disabled }], + on: { + mouseenter: function($event) { + _vm.onMouseenter("right") + }, + mouseleave: function($event) { + _vm.quicknextIconClass = "el-icon-more" + } + } + }) + : _vm._e(), + _vm.pageCount > 1 + ? _c( + "li", + { + staticClass: "number", + class: { + active: _vm.currentPage === _vm.pageCount, + disabled: _vm.disabled + } + }, + [_vm._v(_vm._s(_vm.pageCount))] + ) + : _vm._e() + ], + 2 + ) +} +var staticRenderFns = [] +pagervue_type_template_id_7274f267_render._withStripped = true + + +// CONCATENATED MODULE: ./packages/pagination/src/pager.vue?vue&type=template&id=7274f267& + +// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/pagination/src/pager.vue?vue&type=script&lang=js& +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// + +/* harmony default export */ var pagervue_type_script_lang_js_ = ({ + name: 'ElPager', + + props: { + currentPage: Number, + + pageCount: Number, + + pagerCount: Number, + + disabled: Boolean + }, + + watch: { + showPrevMore: function showPrevMore(val) { + if (!val) this.quickprevIconClass = 'el-icon-more'; + }, + showNextMore: function showNextMore(val) { + if (!val) this.quicknextIconClass = 'el-icon-more'; + } + }, + + methods: { + onPagerClick: function onPagerClick(event) { + var target = event.target; + if (target.tagName === 'UL' || this.disabled) { + return; + } + + var newPage = Number(event.target.textContent); + var pageCount = this.pageCount; + var currentPage = this.currentPage; + var pagerCountOffset = this.pagerCount - 2; + + if (target.className.indexOf('more') !== -1) { + if (target.className.indexOf('quickprev') !== -1) { + newPage = currentPage - pagerCountOffset; + } else if (target.className.indexOf('quicknext') !== -1) { + newPage = currentPage + pagerCountOffset; + } + } + + /* istanbul ignore if */ + if (!isNaN(newPage)) { + if (newPage < 1) { + newPage = 1; + } + + if (newPage > pageCount) { + newPage = pageCount; + } + } + + if (newPage !== currentPage) { + this.$emit('change', newPage); + } + }, + onMouseenter: function onMouseenter(direction) { + if (this.disabled) return; + if (direction === 'left') { + this.quickprevIconClass = 'el-icon-d-arrow-left'; + } else { + this.quicknextIconClass = 'el-icon-d-arrow-right'; + } + } + }, + + computed: { + pagers: function pagers() { + var pagerCount = this.pagerCount; + var halfPagerCount = (pagerCount - 1) / 2; + + var currentPage = Number(this.currentPage); + var pageCount = Number(this.pageCount); + + var showPrevMore = false; + var showNextMore = false; + + if (pageCount > pagerCount) { + if (currentPage > pagerCount - halfPagerCount) { + showPrevMore = true; + } + + if (currentPage < pageCount - halfPagerCount) { + showNextMore = true; + } + } + + var array = []; + + if (showPrevMore && !showNextMore) { + var startPage = pageCount - (pagerCount - 2); + for (var i = startPage; i < pageCount; i++) { + array.push(i); + } + } else if (!showPrevMore && showNextMore) { + for (var _i = 2; _i < pagerCount; _i++) { + array.push(_i); + } + } else if (showPrevMore && showNextMore) { + var offset = Math.floor(pagerCount / 2) - 1; + for (var _i2 = currentPage - offset; _i2 <= currentPage + offset; _i2++) { + array.push(_i2); + } + } else { + for (var _i3 = 2; _i3 < pageCount; _i3++) { + array.push(_i3); + } + } + + this.showPrevMore = showPrevMore; + this.showNextMore = showNextMore; + + return array; + } + }, + + data: function data() { + return { + current: null, + showPrevMore: false, + showNextMore: false, + quicknextIconClass: 'el-icon-more', + quickprevIconClass: 'el-icon-more' + }; + } +}); +// CONCATENATED MODULE: ./packages/pagination/src/pager.vue?vue&type=script&lang=js& + /* harmony default export */ var src_pagervue_type_script_lang_js_ = (pagervue_type_script_lang_js_); +// CONCATENATED MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js +/* globals __VUE_SSR_CONTEXT__ */ + +// IMPORTANT: Do NOT use ES2015 features in this file (except for modules). +// This module is a runtime utility for cleaner component module output and will +// be included in the final webpack user bundle. + +function normalizeComponent ( + scriptExports, + render, + staticRenderFns, + functionalTemplate, + injectStyles, + scopeId, + moduleIdentifier, /* server only */ + shadowMode /* vue-cli only */ +) { + // Vue.extend constructor export interop + var options = typeof scriptExports === 'function' + ? scriptExports.options + : scriptExports + + // render functions + if (render) { + options.render = render + options.staticRenderFns = staticRenderFns + options._compiled = true + } + + // functional template + if (functionalTemplate) { + options.functional = true + } + + // scopedId + if (scopeId) { + options._scopeId = 'data-v-' + scopeId + } + + var hook + if (moduleIdentifier) { // server build + hook = function (context) { + // 2.3 injection + context = + context || // cached call + (this.$vnode && this.$vnode.ssrContext) || // stateful + (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional + // 2.2 with runInNewContext: true + if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { + context = __VUE_SSR_CONTEXT__ + } + // inject component styles + if (injectStyles) { + injectStyles.call(this, context) + } + // register component module identifier for async chunk inferrence + if (context && context._registeredComponents) { + context._registeredComponents.add(moduleIdentifier) + } + } + // used by ssr in case component is cached and beforeCreate + // never gets called + options._ssrRegister = hook + } else if (injectStyles) { + hook = shadowMode + ? function () { injectStyles.call(this, this.$root.$options.shadowRoot) } + : injectStyles + } + + if (hook) { + if (options.functional) { + // for template-only hot-reload because in that case the render fn doesn't + // go through the normalizer + options._injectStyles = hook + // register for functioal component in vue file + var originalRender = options.render + options.render = function renderWithStyleInjection (h, context) { + hook.call(context) + return originalRender(h, context) + } + } else { + // inject component registration as beforeCreate hook + var existing = options.beforeCreate + options.beforeCreate = existing + ? [].concat(existing, hook) + : [hook] + } + } + + return { + exports: scriptExports, + options: options + } +} + +// CONCATENATED MODULE: ./packages/pagination/src/pager.vue + + + + + +/* normalize component */ + +var component = normalizeComponent( + src_pagervue_type_script_lang_js_, + pagervue_type_template_id_7274f267_render, + staticRenderFns, + false, + null, + null, + null + +) + +/* hot reload */ +if (false) { var api; } +component.options.__file = "packages/pagination/src/pager.vue" +/* harmony default export */ var pager = (component.exports); +// EXTERNAL MODULE: external "element-ui/lib/select" +var select_ = __webpack_require__(37); +var select_default = /*#__PURE__*/__webpack_require__.n(select_); + +// EXTERNAL MODULE: external "element-ui/lib/option" +var option_ = __webpack_require__(38); +var option_default = /*#__PURE__*/__webpack_require__.n(option_); + +// EXTERNAL MODULE: external "element-ui/lib/input" +var input_ = __webpack_require__(8); +var input_default = /*#__PURE__*/__webpack_require__.n(input_); + +// EXTERNAL MODULE: external "element-ui/lib/mixins/locale" +var locale_ = __webpack_require__(4); +var locale_default = /*#__PURE__*/__webpack_require__.n(locale_); + +// EXTERNAL MODULE: external "element-ui/lib/utils/util" +var util_ = __webpack_require__(2); + +// CONCATENATED MODULE: ./packages/pagination/src/pagination.js + + + + + + + +/* harmony default export */ var pagination = ({ + name: 'ElPagination', + + props: { + pageSize: { + type: Number, + default: 10 + }, + + small: Boolean, + + total: Number, + + pageCount: Number, + + pagerCount: { + type: Number, + validator: function validator(value) { + return (value | 0) === value && value > 4 && value < 22 && value % 2 === 1; + }, + + default: 7 + }, + + currentPage: { + type: Number, + default: 1 + }, + + layout: { + default: 'prev, pager, next, jumper, ->, total' + }, + + pageSizes: { + type: Array, + default: function _default() { + return [10, 20, 30, 40, 50, 100]; + } + }, + + popperClass: String, + + prevText: String, + + nextText: String, + + background: Boolean, + + disabled: Boolean, + + hideOnSinglePage: Boolean + }, + + data: function data() { + return { + internalCurrentPage: 1, + internalPageSize: 0, + lastEmittedPage: -1, + userChangePageSize: false + }; + }, + render: function render(h) { + var layout = this.layout; + if (!layout) return null; + if (this.hideOnSinglePage && (!this.internalPageCount || this.internalPageCount === 1)) return null; + + var template = h('div', { 'class': ['el-pagination', { + 'is-background': this.background, + 'el-pagination--small': this.small + }] }); + var TEMPLATE_MAP = { + prev: h('prev'), + jumper: h('jumper'), + pager: h('pager', { + attrs: { currentPage: this.internalCurrentPage, pageCount: this.internalPageCount, pagerCount: this.pagerCount, disabled: this.disabled }, + on: { + 'change': this.handleCurrentChange + } + }), + next: h('next'), + sizes: h('sizes', { + attrs: { pageSizes: this.pageSizes } + }), + slot: h('slot', [this.$slots.default ? this.$slots.default : '']), + total: h('total') + }; + var components = layout.split(',').map(function (item) { + return item.trim(); + }); + var rightWrapper = h('div', { 'class': 'el-pagination__rightwrapper' }); + var haveRightWrapper = false; + + template.children = template.children || []; + rightWrapper.children = rightWrapper.children || []; + components.forEach(function (compo) { + if (compo === '->') { + haveRightWrapper = true; + return; + } + + if (!haveRightWrapper) { + template.children.push(TEMPLATE_MAP[compo]); + } else { + rightWrapper.children.push(TEMPLATE_MAP[compo]); + } + }); + + if (haveRightWrapper) { + template.children.unshift(rightWrapper); + } + + return template; + }, + + + components: { + Prev: { + render: function render(h) { + return h( + 'button', + { + attrs: { + type: 'button', + + disabled: this.$parent.disabled || this.$parent.internalCurrentPage <= 1 + }, + 'class': 'btn-prev', on: { + 'click': this.$parent.prev + } + }, + [this.$parent.prevText ? h('span', [this.$parent.prevText]) : h('i', { 'class': 'el-icon el-icon-arrow-left' })] + ); + } + }, + + Next: { + render: function render(h) { + return h( + 'button', + { + attrs: { + type: 'button', + + disabled: this.$parent.disabled || this.$parent.internalCurrentPage === this.$parent.internalPageCount || this.$parent.internalPageCount === 0 + }, + 'class': 'btn-next', on: { + 'click': this.$parent.next + } + }, + [this.$parent.nextText ? h('span', [this.$parent.nextText]) : h('i', { 'class': 'el-icon el-icon-arrow-right' })] + ); + } + }, + + Sizes: { + mixins: [locale_default.a], + + props: { + pageSizes: Array + }, + + watch: { + pageSizes: { + immediate: true, + handler: function handler(newVal, oldVal) { + if (Object(util_["valueEquals"])(newVal, oldVal)) return; + if (Array.isArray(newVal)) { + this.$parent.internalPageSize = newVal.indexOf(this.$parent.pageSize) > -1 ? this.$parent.pageSize : this.pageSizes[0]; + } + } + } + }, + + render: function render(h) { + var _this = this; + + return h( + 'span', + { 'class': 'el-pagination__sizes' }, + [h( + 'el-select', + { + attrs: { + value: this.$parent.internalPageSize, + popperClass: this.$parent.popperClass || '', + size: 'mini', + + disabled: this.$parent.disabled }, + on: { + 'input': this.handleChange + } + }, + [this.pageSizes.map(function (item) { + return h('el-option', { + attrs: { + value: item, + label: item + _this.t('el.pagination.pagesize') } + }); + })] + )] + ); + }, + + + components: { + ElSelect: select_default.a, + ElOption: option_default.a + }, + + methods: { + handleChange: function handleChange(val) { + if (val !== this.$parent.internalPageSize) { + this.$parent.internalPageSize = val = parseInt(val, 10); + this.$parent.userChangePageSize = true; + this.$parent.$emit('update:pageSize', val); + this.$parent.$emit('size-change', val); + } + } + } + }, + + Jumper: { + mixins: [locale_default.a], + + components: { ElInput: input_default.a }, + + data: function data() { + return { + userInput: null + }; + }, + + + watch: { + '$parent.internalCurrentPage': function $parentInternalCurrentPage() { + this.userInput = null; + } + }, + + methods: { + handleKeyup: function handleKeyup(_ref) { + var keyCode = _ref.keyCode, + target = _ref.target; + + // Chrome, Safari, Firefox triggers change event on Enter + // Hack for IE: https://github.com/ElemeFE/element/issues/11710 + // Drop this method when we no longer supports IE + if (keyCode === 13) { + this.handleChange(target.value); + } + }, + handleInput: function handleInput(value) { + this.userInput = value; + }, + handleChange: function handleChange(value) { + this.$parent.internalCurrentPage = this.$parent.getValidCurrentPage(value); + this.$parent.emitChange(); + this.userInput = null; + } + }, + + render: function render(h) { + return h( + 'span', + { 'class': 'el-pagination__jump' }, + [this.t('el.pagination.goto'), h('el-input', { + 'class': 'el-pagination__editor is-in-pagination', + attrs: { min: 1, + max: this.$parent.internalPageCount, + value: this.userInput !== null ? this.userInput : this.$parent.internalCurrentPage, + type: 'number', + disabled: this.$parent.disabled + }, + nativeOn: { + 'keyup': this.handleKeyup + }, + on: { + 'input': this.handleInput, + 'change': this.handleChange + } + }), this.t('el.pagination.pageClassifier')] + ); + } + }, + + Total: { + mixins: [locale_default.a], + + render: function render(h) { + return typeof this.$parent.total === 'number' ? h( + 'span', + { 'class': 'el-pagination__total' }, + [this.t('el.pagination.total', { total: this.$parent.total })] + ) : ''; + } + }, + + Pager: pager + }, + + methods: { + handleCurrentChange: function handleCurrentChange(val) { + this.internalCurrentPage = this.getValidCurrentPage(val); + this.userChangePageSize = true; + this.emitChange(); + }, + prev: function prev() { + if (this.disabled) return; + var newVal = this.internalCurrentPage - 1; + this.internalCurrentPage = this.getValidCurrentPage(newVal); + this.$emit('prev-click', this.internalCurrentPage); + this.emitChange(); + }, + next: function next() { + if (this.disabled) return; + var newVal = this.internalCurrentPage + 1; + this.internalCurrentPage = this.getValidCurrentPage(newVal); + this.$emit('next-click', this.internalCurrentPage); + this.emitChange(); + }, + getValidCurrentPage: function getValidCurrentPage(value) { + value = parseInt(value, 10); + + var havePageCount = typeof this.internalPageCount === 'number'; + + var resetValue = void 0; + if (!havePageCount) { + if (isNaN(value) || value < 1) resetValue = 1; + } else { + if (value < 1) { + resetValue = 1; + } else if (value > this.internalPageCount) { + resetValue = this.internalPageCount; + } + } + + if (resetValue === undefined && isNaN(value)) { + resetValue = 1; + } else if (resetValue === 0) { + resetValue = 1; + } + + return resetValue === undefined ? value : resetValue; + }, + emitChange: function emitChange() { + var _this2 = this; + + this.$nextTick(function () { + if (_this2.internalCurrentPage !== _this2.lastEmittedPage || _this2.userChangePageSize) { + _this2.$emit('current-change', _this2.internalCurrentPage); + _this2.lastEmittedPage = _this2.internalCurrentPage; + _this2.userChangePageSize = false; + } + }); + } + }, + + computed: { + internalPageCount: function internalPageCount() { + if (typeof this.total === 'number') { + return Math.max(1, Math.ceil(this.total / this.internalPageSize)); + } else if (typeof this.pageCount === 'number') { + return Math.max(1, this.pageCount); + } + return null; + } + }, + + watch: { + currentPage: { + immediate: true, + handler: function handler(val) { + this.internalCurrentPage = this.getValidCurrentPage(val); + } + }, + + pageSize: { + immediate: true, + handler: function handler(val) { + this.internalPageSize = isNaN(val) ? 10 : val; + } + }, + + internalCurrentPage: { + immediate: true, + handler: function handler(newVal) { + this.$emit('update:currentPage', newVal); + this.lastEmittedPage = -1; + } + }, + + internalPageCount: function internalPageCount(newVal) { + /* istanbul ignore if */ + var oldPage = this.internalCurrentPage; + if (newVal > 0 && oldPage === 0) { + this.internalCurrentPage = 1; + } else if (oldPage > newVal) { + this.internalCurrentPage = newVal === 0 ? 1 : newVal; + this.userChangePageSize && this.emitChange(); + } + this.userChangePageSize = false; + } + } +}); +// CONCATENATED MODULE: ./packages/pagination/index.js + + +/* istanbul ignore next */ +pagination.install = function (Vue) { + Vue.component(pagination.name, pagination); +}; + +/* harmony default export */ var packages_pagination = (pagination); +// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/component.vue?vue&type=template&id=60140e62& +var componentvue_type_template_id_60140e62_render = function() { + var _vm = this + var _h = _vm.$createElement + var _c = _vm._self._c || _h + return _c( + "transition", + { + attrs: { name: "dialog-fade" }, + on: { "after-enter": _vm.afterEnter, "after-leave": _vm.afterLeave } + }, + [ + _c( + "div", + { + directives: [ + { + name: "show", + rawName: "v-show", + value: _vm.visible, + expression: "visible" + } + ], + staticClass: "el-dialog__wrapper", + on: { + click: function($event) { + if ($event.target !== $event.currentTarget) { + return null + } + return _vm.handleWrapperClick($event) + } + } + }, + [ + _c( + "div", + { + key: _vm.key, + ref: "dialog", + class: [ + "el-dialog", + { + "is-fullscreen": _vm.fullscreen, + "el-dialog--center": _vm.center + }, + _vm.customClass + ], + style: _vm.style, + attrs: { + role: "dialog", + "aria-modal": "true", + "aria-label": _vm.title || "dialog" + } + }, + [ + _c( + "div", + { staticClass: "el-dialog__header" }, + [ + _vm._t("title", [ + _c("span", { staticClass: "el-dialog__title" }, [ + _vm._v(_vm._s(_vm.title)) + ]) + ]), + _vm.showClose + ? _c( + "button", + { + staticClass: "el-dialog__headerbtn", + attrs: { type: "button", "aria-label": "Close" }, + on: { click: _vm.handleClose } + }, + [ + _c("i", { + staticClass: + "el-dialog__close el-icon el-icon-close" + }) + ] + ) + : _vm._e() + ], + 2 + ), + _vm.rendered + ? _c( + "div", + { staticClass: "el-dialog__body" }, + [_vm._t("default")], + 2 + ) + : _vm._e(), + _vm.$slots.footer + ? _c( + "div", + { staticClass: "el-dialog__footer" }, + [_vm._t("footer")], + 2 + ) + : _vm._e() + ] + ) + ] + ) + ] + ) +} +var componentvue_type_template_id_60140e62_staticRenderFns = [] +componentvue_type_template_id_60140e62_render._withStripped = true + + +// CONCATENATED MODULE: ./packages/dialog/src/component.vue?vue&type=template&id=60140e62& + +// EXTERNAL MODULE: external "element-ui/lib/utils/popup" +var popup_ = __webpack_require__(11); +var popup_default = /*#__PURE__*/__webpack_require__.n(popup_); + +// EXTERNAL MODULE: external "element-ui/lib/mixins/migrating" +var migrating_ = __webpack_require__(9); +var migrating_default = /*#__PURE__*/__webpack_require__.n(migrating_); + +// EXTERNAL MODULE: external "element-ui/lib/mixins/emitter" +var emitter_ = __webpack_require__(3); +var emitter_default = /*#__PURE__*/__webpack_require__.n(emitter_); + +// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/dialog/src/component.vue?vue&type=script&lang=js& +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// + + + + + +/* harmony default export */ var componentvue_type_script_lang_js_ = ({ + name: 'ElDialog', + + mixins: [popup_default.a, emitter_default.a, migrating_default.a], + + props: { + title: { + type: String, + default: '' + }, + + modal: { + type: Boolean, + default: true + }, + + modalAppendToBody: { + type: Boolean, + default: true + }, + + appendToBody: { + type: Boolean, + default: false + }, + + lockScroll: { + type: Boolean, + default: true + }, + + closeOnClickModal: { + type: Boolean, + default: true + }, + + closeOnPressEscape: { + type: Boolean, + default: true + }, + + showClose: { + type: Boolean, + default: true + }, + + width: String, + + fullscreen: Boolean, + + customClass: { + type: String, + default: '' + }, + + top: { + type: String, + default: '15vh' + }, + beforeClose: Function, + center: { + type: Boolean, + default: false + }, + + destroyOnClose: Boolean + }, + + data: function data() { + return { + closed: false, + key: 0 + }; + }, + + + watch: { + visible: function visible(val) { + var _this = this; + + if (val) { + this.closed = false; + this.$emit('open'); + this.$el.addEventListener('scroll', this.updatePopper); + this.$nextTick(function () { + _this.$refs.dialog.scrollTop = 0; + }); + if (this.appendToBody) { + document.body.appendChild(this.$el); + } + } else { + this.$el.removeEventListener('scroll', this.updatePopper); + if (!this.closed) this.$emit('close'); + if (this.destroyOnClose) { + this.$nextTick(function () { + _this.key++; + }); + } + } + } + }, + + computed: { + style: function style() { + var style = {}; + if (!this.fullscreen) { + style.marginTop = this.top; + if (this.width) { + style.width = this.width; + } + } + return style; + } + }, + + methods: { + getMigratingConfig: function getMigratingConfig() { + return { + props: { + 'size': 'size is removed.' + } + }; + }, + handleWrapperClick: function handleWrapperClick() { + if (!this.closeOnClickModal) return; + this.handleClose(); + }, + handleClose: function handleClose() { + if (typeof this.beforeClose === 'function') { + this.beforeClose(this.hide); + } else { + this.hide(); + } + }, + hide: function hide(cancel) { + if (cancel !== false) { + this.$emit('update:visible', false); + this.$emit('close'); + this.closed = true; + } + }, + updatePopper: function updatePopper() { + this.broadcast('ElSelectDropdown', 'updatePopper'); + this.broadcast('ElDropdownMenu', 'updatePopper'); + }, + afterEnter: function afterEnter() { + this.$emit('opened'); + }, + afterLeave: function afterLeave() { + this.$emit('closed'); + } + }, + + mounted: function mounted() { + if (this.visible) { + this.rendered = true; + this.open(); + if (this.appendToBody) { + document.body.appendChild(this.$el); + } + } + }, + destroyed: function destroyed() { + // if appendToBody is true, remove DOM node after destroy + if (this.appendToBody && this.$el && this.$el.parentNode) { + this.$el.parentNode.removeChild(this.$el); + } + } +}); +// CONCATENATED MODULE: ./packages/dialog/src/component.vue?vue&type=script&lang=js& + /* harmony default export */ var src_componentvue_type_script_lang_js_ = (componentvue_type_script_lang_js_); +// CONCATENATED MODULE: ./packages/dialog/src/component.vue + + + + + +/* normalize component */ + +var component_component = normalizeComponent( + src_componentvue_type_script_lang_js_, + componentvue_type_template_id_60140e62_render, + componentvue_type_template_id_60140e62_staticRenderFns, + false, + null, + null, + null + +) + +/* hot reload */ +if (false) { var component_api; } +component_component.options.__file = "packages/dialog/src/component.vue" +/* harmony default export */ var src_component = (component_component.exports); +// CONCATENATED MODULE: ./packages/dialog/index.js + + +/* istanbul ignore next */ +src_component.install = function (Vue) { + Vue.component(src_component.name, src_component); +}; + +/* harmony default export */ var dialog = (src_component); +// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/autocomplete/src/autocomplete.vue?vue&type=template&id=152f2ee6& +var autocompletevue_type_template_id_152f2ee6_render = function() { + var _vm = this + var _h = _vm.$createElement + var _c = _vm._self._c || _h + return _c( + "div", + { + directives: [ + { + name: "clickoutside", + rawName: "v-clickoutside", + value: _vm.close, + expression: "close" + } + ], + staticClass: "el-autocomplete", + attrs: { + "aria-haspopup": "listbox", + role: "combobox", + "aria-expanded": _vm.suggestionVisible, + "aria-owns": _vm.id + } + }, + [ + _c( + "el-input", + _vm._b( + { + ref: "input", + on: { + input: _vm.handleInput, + change: _vm.handleChange, + focus: _vm.handleFocus, + blur: _vm.handleBlur, + clear: _vm.handleClear + }, + nativeOn: { + keydown: [ + function($event) { + if ( + !("button" in $event) && + _vm._k($event.keyCode, "up", 38, $event.key, [ + "Up", + "ArrowUp" + ]) + ) { + return null + } + $event.preventDefault() + _vm.highlight(_vm.highlightedIndex - 1) + }, + function($event) { + if ( + !("button" in $event) && + _vm._k($event.keyCode, "down", 40, $event.key, [ + "Down", + "ArrowDown" + ]) + ) { + return null + } + $event.preventDefault() + _vm.highlight(_vm.highlightedIndex + 1) + }, + function($event) { + if ( + !("button" in $event) && + _vm._k($event.keyCode, "enter", 13, $event.key, "Enter") + ) { + return null + } + return _vm.handleKeyEnter($event) + }, + function($event) { + if ( + !("button" in $event) && + _vm._k($event.keyCode, "tab", 9, $event.key, "Tab") + ) { + return null + } + return _vm.close($event) + } + ] + } + }, + "el-input", + [_vm.$props, _vm.$attrs], + false + ), + [ + _vm.$slots.prepend + ? _c("template", { slot: "prepend" }, [_vm._t("prepend")], 2) + : _vm._e(), + _vm.$slots.append + ? _c("template", { slot: "append" }, [_vm._t("append")], 2) + : _vm._e(), + _vm.$slots.prefix + ? _c("template", { slot: "prefix" }, [_vm._t("prefix")], 2) + : _vm._e(), + _vm.$slots.suffix + ? _c("template", { slot: "suffix" }, [_vm._t("suffix")], 2) + : _vm._e() + ], + 2 + ), + _c( + "el-autocomplete-suggestions", + { + ref: "suggestions", + class: [_vm.popperClass ? _vm.popperClass : ""], + attrs: { + "visible-arrow": "", + "popper-options": _vm.popperOptions, + "append-to-body": _vm.popperAppendToBody, + placement: _vm.placement, + id: _vm.id + } + }, + _vm._l(_vm.suggestions, function(item, index) { + return _c( + "li", + { + key: index, + class: { highlighted: _vm.highlightedIndex === index }, + attrs: { + id: _vm.id + "-item-" + index, + role: "option", + "aria-selected": _vm.highlightedIndex === index + }, + on: { + click: function($event) { + _vm.select(item) + } + } + }, + [ + _vm._t( + "default", + [ + _vm._v("\n " + _vm._s(item[_vm.valueKey]) + "\n ") + ], + { item: item } + ) + ], + 2 + ) + }), + 0 + ) + ], + 1 + ) +} +var autocompletevue_type_template_id_152f2ee6_staticRenderFns = [] +autocompletevue_type_template_id_152f2ee6_render._withStripped = true + + +// CONCATENATED MODULE: ./packages/autocomplete/src/autocomplete.vue?vue&type=template&id=152f2ee6& + +// EXTERNAL MODULE: external "throttle-debounce/debounce" +var debounce_ = __webpack_require__(17); +var debounce_default = /*#__PURE__*/__webpack_require__.n(debounce_); + +// EXTERNAL MODULE: external "element-ui/lib/utils/clickoutside" +var clickoutside_ = __webpack_require__(10); +var clickoutside_default = /*#__PURE__*/__webpack_require__.n(clickoutside_); + +// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/autocomplete/src/autocomplete-suggestions.vue?vue&type=template&id=cd10dcf0& +var autocomplete_suggestionsvue_type_template_id_cd10dcf0_render = function() { + var _vm = this + var _h = _vm.$createElement + var _c = _vm._self._c || _h + return _c( + "transition", + { attrs: { name: "el-zoom-in-top" }, on: { "after-leave": _vm.doDestroy } }, + [ + _c( + "div", + { + directives: [ + { + name: "show", + rawName: "v-show", + value: _vm.showPopper, + expression: "showPopper" + } + ], + staticClass: "el-autocomplete-suggestion el-popper", + class: { + "is-loading": !_vm.parent.hideLoading && _vm.parent.loading + }, + style: { width: _vm.dropdownWidth }, + attrs: { role: "region" } + }, + [ + _c( + "el-scrollbar", + { + attrs: { + tag: "ul", + "wrap-class": "el-autocomplete-suggestion__wrap", + "view-class": "el-autocomplete-suggestion__list" + } + }, + [ + !_vm.parent.hideLoading && _vm.parent.loading + ? _c("li", [_c("i", { staticClass: "el-icon-loading" })]) + : _vm._t("default") + ], + 2 + ) + ], + 1 + ) + ] + ) +} +var autocomplete_suggestionsvue_type_template_id_cd10dcf0_staticRenderFns = [] +autocomplete_suggestionsvue_type_template_id_cd10dcf0_render._withStripped = true + + +// CONCATENATED MODULE: ./packages/autocomplete/src/autocomplete-suggestions.vue?vue&type=template&id=cd10dcf0& + +// EXTERNAL MODULE: external "element-ui/lib/utils/vue-popper" +var vue_popper_ = __webpack_require__(5); +var vue_popper_default = /*#__PURE__*/__webpack_require__.n(vue_popper_); + +// EXTERNAL MODULE: external "element-ui/lib/scrollbar" +var scrollbar_ = __webpack_require__(18); +var scrollbar_default = /*#__PURE__*/__webpack_require__.n(scrollbar_); + +// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/autocomplete/src/autocomplete-suggestions.vue?vue&type=script&lang=js& +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// + + + + + +/* harmony default export */ var autocomplete_suggestionsvue_type_script_lang_js_ = ({ + components: { ElScrollbar: scrollbar_default.a }, + mixins: [vue_popper_default.a, emitter_default.a], + + componentName: 'ElAutocompleteSuggestions', + + data: function data() { + return { + parent: this.$parent, + dropdownWidth: '' + }; + }, + + + props: { + options: { + default: function _default() { + return { + gpuAcceleration: false + }; + } + }, + id: String + }, + + methods: { + select: function select(item) { + this.dispatch('ElAutocomplete', 'item-click', item); + } + }, + + updated: function updated() { + var _this = this; + + this.$nextTick(function (_) { + _this.popperJS && _this.updatePopper(); + }); + }, + mounted: function mounted() { + this.$parent.popperElm = this.popperElm = this.$el; + this.referenceElm = this.$parent.$refs.input.$refs.input || this.$parent.$refs.input.$refs.textarea; + this.referenceList = this.$el.querySelector('.el-autocomplete-suggestion__list'); + this.referenceList.setAttribute('role', 'listbox'); + this.referenceList.setAttribute('id', this.id); + }, + created: function created() { + var _this2 = this; + + this.$on('visible', function (val, inputWidth) { + _this2.dropdownWidth = inputWidth + 'px'; + _this2.showPopper = val; + }); + } +}); +// CONCATENATED MODULE: ./packages/autocomplete/src/autocomplete-suggestions.vue?vue&type=script&lang=js& + /* harmony default export */ var src_autocomplete_suggestionsvue_type_script_lang_js_ = (autocomplete_suggestionsvue_type_script_lang_js_); +// CONCATENATED MODULE: ./packages/autocomplete/src/autocomplete-suggestions.vue + + + + + +/* normalize component */ + +var autocomplete_suggestions_component = normalizeComponent( + src_autocomplete_suggestionsvue_type_script_lang_js_, + autocomplete_suggestionsvue_type_template_id_cd10dcf0_render, + autocomplete_suggestionsvue_type_template_id_cd10dcf0_staticRenderFns, + false, + null, + null, + null + +) + +/* hot reload */ +if (false) { var autocomplete_suggestions_api; } +autocomplete_suggestions_component.options.__file = "packages/autocomplete/src/autocomplete-suggestions.vue" +/* harmony default export */ var autocomplete_suggestions = (autocomplete_suggestions_component.exports); +// EXTERNAL MODULE: external "element-ui/lib/mixins/focus" +var focus_ = __webpack_require__(23); +var focus_default = /*#__PURE__*/__webpack_require__.n(focus_); + +// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/autocomplete/src/autocomplete.vue?vue&type=script&lang=js& +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// + + + + + + + + + + +/* harmony default export */ var autocompletevue_type_script_lang_js_ = ({ + name: 'ElAutocomplete', + + mixins: [emitter_default.a, focus_default()('input'), migrating_default.a], + + inheritAttrs: false, + + componentName: 'ElAutocomplete', + + components: { + ElInput: input_default.a, + ElAutocompleteSuggestions: autocomplete_suggestions + }, + + directives: { Clickoutside: clickoutside_default.a }, + + props: { + valueKey: { + type: String, + default: 'value' + }, + popperClass: String, + popperOptions: Object, + placeholder: String, + clearable: { + type: Boolean, + default: false + }, + disabled: Boolean, + name: String, + size: String, + value: String, + maxlength: Number, + minlength: Number, + autofocus: Boolean, + fetchSuggestions: Function, + triggerOnFocus: { + type: Boolean, + default: true + }, + customItem: String, + selectWhenUnmatched: { + type: Boolean, + default: false + }, + prefixIcon: String, + suffixIcon: String, + label: String, + debounce: { + type: Number, + default: 300 + }, + placement: { + type: String, + default: 'bottom-start' + }, + hideLoading: Boolean, + popperAppendToBody: { + type: Boolean, + default: true + }, + highlightFirstItem: { + type: Boolean, + default: false + } + }, + data: function data() { + return { + activated: false, + suggestions: [], + loading: false, + highlightedIndex: -1, + suggestionDisabled: false + }; + }, + + computed: { + suggestionVisible: function suggestionVisible() { + var suggestions = this.suggestions; + var isValidData = Array.isArray(suggestions) && suggestions.length > 0; + return (isValidData || this.loading) && this.activated; + }, + id: function id() { + return 'el-autocomplete-' + Object(util_["generateId"])(); + } + }, + watch: { + suggestionVisible: function suggestionVisible(val) { + var $input = this.getInput(); + if ($input) { + this.broadcast('ElAutocompleteSuggestions', 'visible', [val, $input.offsetWidth]); + } + } + }, + methods: { + getMigratingConfig: function getMigratingConfig() { + return { + props: { + 'custom-item': 'custom-item is removed, use scoped slot instead.', + 'props': 'props is removed, use value-key instead.' + } + }; + }, + getData: function getData(queryString) { + var _this = this; + + if (this.suggestionDisabled) { + return; + } + this.loading = true; + this.fetchSuggestions(queryString, function (suggestions) { + _this.loading = false; + if (_this.suggestionDisabled) { + return; + } + if (Array.isArray(suggestions)) { + _this.suggestions = suggestions; + _this.highlightedIndex = _this.highlightFirstItem ? 0 : -1; + } else { + console.error('[Element Error][Autocomplete]autocomplete suggestions must be an array'); + } + }); + }, + handleInput: function handleInput(value) { + this.$emit('input', value); + this.suggestionDisabled = false; + if (!this.triggerOnFocus && !value) { + this.suggestionDisabled = true; + this.suggestions = []; + return; + } + this.debouncedGetData(value); + }, + handleChange: function handleChange(value) { + this.$emit('change', value); + }, + handleFocus: function handleFocus(event) { + this.activated = true; + this.$emit('focus', event); + if (this.triggerOnFocus) { + this.debouncedGetData(this.value); + } + }, + handleBlur: function handleBlur(event) { + this.$emit('blur', event); + }, + handleClear: function handleClear() { + this.activated = false; + this.$emit('clear'); + }, + close: function close(e) { + this.activated = false; + }, + handleKeyEnter: function handleKeyEnter(e) { + var _this2 = this; + + if (this.suggestionVisible && this.highlightedIndex >= 0 && this.highlightedIndex < this.suggestions.length) { + e.preventDefault(); + this.select(this.suggestions[this.highlightedIndex]); + } else if (this.selectWhenUnmatched) { + this.$emit('select', { value: this.value }); + this.$nextTick(function (_) { + _this2.suggestions = []; + _this2.highlightedIndex = -1; + }); + } + }, + select: function select(item) { + var _this3 = this; + + this.$emit('input', item[this.valueKey]); + this.$emit('select', item); + this.$nextTick(function (_) { + _this3.suggestions = []; + _this3.highlightedIndex = -1; + }); + }, + highlight: function highlight(index) { + if (!this.suggestionVisible || this.loading) { + return; + } + if (index < 0) { + this.highlightedIndex = -1; + return; + } + if (index >= this.suggestions.length) { + index = this.suggestions.length - 1; + } + var suggestion = this.$refs.suggestions.$el.querySelector('.el-autocomplete-suggestion__wrap'); + var suggestionList = suggestion.querySelectorAll('.el-autocomplete-suggestion__list li'); + + var highlightItem = suggestionList[index]; + var scrollTop = suggestion.scrollTop; + var offsetTop = highlightItem.offsetTop; + + if (offsetTop + highlightItem.scrollHeight > scrollTop + suggestion.clientHeight) { + suggestion.scrollTop += highlightItem.scrollHeight; + } + if (offsetTop < scrollTop) { + suggestion.scrollTop -= highlightItem.scrollHeight; + } + this.highlightedIndex = index; + var $input = this.getInput(); + $input.setAttribute('aria-activedescendant', this.id + '-item-' + this.highlightedIndex); + }, + getInput: function getInput() { + return this.$refs.input.getInput(); + } + }, + mounted: function mounted() { + var _this4 = this; + + this.debouncedGetData = debounce_default()(this.debounce, this.getData); + this.$on('item-click', function (item) { + _this4.select(item); + }); + var $input = this.getInput(); + $input.setAttribute('role', 'textbox'); + $input.setAttribute('aria-autocomplete', 'list'); + $input.setAttribute('aria-controls', 'id'); + $input.setAttribute('aria-activedescendant', this.id + '-item-' + this.highlightedIndex); + }, + beforeDestroy: function beforeDestroy() { + this.$refs.suggestions.$destroy(); + } +}); +// CONCATENATED MODULE: ./packages/autocomplete/src/autocomplete.vue?vue&type=script&lang=js& + /* harmony default export */ var src_autocompletevue_type_script_lang_js_ = (autocompletevue_type_script_lang_js_); +// CONCATENATED MODULE: ./packages/autocomplete/src/autocomplete.vue + + + + + +/* normalize component */ + +var autocomplete_component = normalizeComponent( + src_autocompletevue_type_script_lang_js_, + autocompletevue_type_template_id_152f2ee6_render, + autocompletevue_type_template_id_152f2ee6_staticRenderFns, + false, + null, + null, + null + +) + +/* hot reload */ +if (false) { var autocomplete_api; } +autocomplete_component.options.__file = "packages/autocomplete/src/autocomplete.vue" +/* harmony default export */ var autocomplete = (autocomplete_component.exports); +// CONCATENATED MODULE: ./packages/autocomplete/index.js + + +/* istanbul ignore next */ +autocomplete.install = function (Vue) { + Vue.component(autocomplete.name, autocomplete); +}; + +/* harmony default export */ var packages_autocomplete = (autocomplete); +// EXTERNAL MODULE: external "element-ui/lib/button" +var button_ = __webpack_require__(13); +var button_default = /*#__PURE__*/__webpack_require__.n(button_); + +// EXTERNAL MODULE: external "element-ui/lib/button-group" +var button_group_ = __webpack_require__(29); +var button_group_default = /*#__PURE__*/__webpack_require__.n(button_group_); + +// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/dropdown/src/dropdown.vue?vue&type=script&lang=js& + + + + + + + + +/* harmony default export */ var dropdownvue_type_script_lang_js_ = ({ + name: 'ElDropdown', + + componentName: 'ElDropdown', + + mixins: [emitter_default.a, migrating_default.a], + + directives: { Clickoutside: clickoutside_default.a }, + + components: { + ElButton: button_default.a, + ElButtonGroup: button_group_default.a + }, + + provide: function provide() { + return { + dropdown: this + }; + }, + + + props: { + trigger: { + type: String, + default: 'hover' + }, + type: String, + size: { + type: String, + default: '' + }, + splitButton: Boolean, + hideOnClick: { + type: Boolean, + default: true + }, + placement: { + type: String, + default: 'bottom-end' + }, + visibleArrow: { + default: true + }, + showTimeout: { + type: Number, + default: 250 + }, + hideTimeout: { + type: Number, + default: 150 + }, + tabindex: { + type: Number, + default: 0 + }, + disabled: { + type: Boolean, + default: false + } + }, + + data: function data() { + return { + timeout: null, + visible: false, + triggerElm: null, + menuItems: null, + menuItemsArray: null, + dropdownElm: null, + focusing: false, + listId: 'dropdown-menu-' + Object(util_["generateId"])() + }; + }, + + + computed: { + dropdownSize: function dropdownSize() { + return this.size || (this.$ELEMENT || {}).size; + } + }, + + mounted: function mounted() { + this.$on('menu-item-click', this.handleMenuItemClick); + }, + + + watch: { + visible: function visible(val) { + this.broadcast('ElDropdownMenu', 'visible', val); + this.$emit('visible-change', val); + }, + focusing: function focusing(val) { + var selfDefine = this.$el.querySelector('.el-dropdown-selfdefine'); + if (selfDefine) { + // 自定义 + if (val) { + selfDefine.className += ' focusing'; + } else { + selfDefine.className = selfDefine.className.replace('focusing', ''); + } + } + } + }, + + methods: { + getMigratingConfig: function getMigratingConfig() { + return { + props: { + 'menu-align': 'menu-align is renamed to placement.' + } + }; + }, + show: function show() { + var _this = this; + + if (this.disabled) return; + clearTimeout(this.timeout); + this.timeout = setTimeout(function () { + _this.visible = true; + }, this.trigger === 'click' ? 0 : this.showTimeout); + }, + hide: function hide() { + var _this2 = this; + + if (this.disabled) return; + this.removeTabindex(); + if (this.tabindex >= 0) { + this.resetTabindex(this.triggerElm); + } + clearTimeout(this.timeout); + this.timeout = setTimeout(function () { + _this2.visible = false; + }, this.trigger === 'click' ? 0 : this.hideTimeout); + }, + handleClick: function handleClick() { + if (this.disabled) return; + if (this.visible) { + this.hide(); + } else { + this.show(); + } + }, + handleTriggerKeyDown: function handleTriggerKeyDown(ev) { + var keyCode = ev.keyCode; + if ([38, 40].indexOf(keyCode) > -1) { + // up/down + this.removeTabindex(); + this.resetTabindex(this.menuItems[0]); + this.menuItems[0].focus(); + ev.preventDefault(); + ev.stopPropagation(); + } else if (keyCode === 13) { + // space enter选中 + this.handleClick(); + } else if ([9, 27].indexOf(keyCode) > -1) { + // tab || esc + this.hide(); + } + }, + handleItemKeyDown: function handleItemKeyDown(ev) { + var keyCode = ev.keyCode; + var target = ev.target; + var currentIndex = this.menuItemsArray.indexOf(target); + var max = this.menuItemsArray.length - 1; + var nextIndex = void 0; + if ([38, 40].indexOf(keyCode) > -1) { + // up/down + if (keyCode === 38) { + // up + nextIndex = currentIndex !== 0 ? currentIndex - 1 : 0; + } else { + // down + nextIndex = currentIndex < max ? currentIndex + 1 : max; + } + this.removeTabindex(); + this.resetTabindex(this.menuItems[nextIndex]); + this.menuItems[nextIndex].focus(); + ev.preventDefault(); + ev.stopPropagation(); + } else if (keyCode === 13) { + // enter选中 + this.triggerElmFocus(); + target.click(); + if (this.hideOnClick) { + // click关闭 + this.visible = false; + } + } else if ([9, 27].indexOf(keyCode) > -1) { + // tab // esc + this.hide(); + this.triggerElmFocus(); + } + }, + resetTabindex: function resetTabindex(ele) { + // 下次tab时组件聚焦元素 + this.removeTabindex(); + ele.setAttribute('tabindex', '0'); // 下次期望的聚焦元素 + }, + removeTabindex: function removeTabindex() { + this.triggerElm.setAttribute('tabindex', '-1'); + this.menuItemsArray.forEach(function (item) { + item.setAttribute('tabindex', '-1'); + }); + }, + initAria: function initAria() { + this.dropdownElm.setAttribute('id', this.listId); + this.triggerElm.setAttribute('aria-haspopup', 'list'); + this.triggerElm.setAttribute('aria-controls', this.listId); + + if (!this.splitButton) { + // 自定义 + this.triggerElm.setAttribute('role', 'button'); + this.triggerElm.setAttribute('tabindex', this.tabindex); + this.triggerElm.setAttribute('class', (this.triggerElm.getAttribute('class') || '') + ' el-dropdown-selfdefine'); // 控制 + } + }, + initEvent: function initEvent() { + var _this3 = this; + + var trigger = this.trigger, + show = this.show, + hide = this.hide, + handleClick = this.handleClick, + splitButton = this.splitButton, + handleTriggerKeyDown = this.handleTriggerKeyDown, + handleItemKeyDown = this.handleItemKeyDown; + + this.triggerElm = splitButton ? this.$refs.trigger.$el : this.$slots.default[0].elm; + + var dropdownElm = this.dropdownElm; + + this.triggerElm.addEventListener('keydown', handleTriggerKeyDown); // triggerElm keydown + dropdownElm.addEventListener('keydown', handleItemKeyDown, true); // item keydown + // 控制自定义元素的样式 + if (!splitButton) { + this.triggerElm.addEventListener('focus', function () { + _this3.focusing = true; + }); + this.triggerElm.addEventListener('blur', function () { + _this3.focusing = false; + }); + this.triggerElm.addEventListener('click', function () { + _this3.focusing = false; + }); + } + if (trigger === 'hover') { + this.triggerElm.addEventListener('mouseenter', show); + this.triggerElm.addEventListener('mouseleave', hide); + dropdownElm.addEventListener('mouseenter', show); + dropdownElm.addEventListener('mouseleave', hide); + } else if (trigger === 'click') { + this.triggerElm.addEventListener('click', handleClick); + } + }, + handleMenuItemClick: function handleMenuItemClick(command, instance) { + if (this.hideOnClick) { + this.visible = false; + } + this.$emit('command', command, instance); + }, + triggerElmFocus: function triggerElmFocus() { + this.triggerElm.focus && this.triggerElm.focus(); + }, + initDomOperation: function initDomOperation() { + this.dropdownElm = this.popperElm; + this.menuItems = this.dropdownElm.querySelectorAll("[tabindex='-1']"); + this.menuItemsArray = [].slice.call(this.menuItems); + + this.initEvent(); + this.initAria(); + } + }, + + render: function render(h) { + var _this4 = this; + + var hide = this.hide, + splitButton = this.splitButton, + type = this.type, + dropdownSize = this.dropdownSize, + disabled = this.disabled; + + + var handleMainButtonClick = function handleMainButtonClick(event) { + _this4.$emit('click', event); + hide(); + }; + + var triggerElm = null; + if (splitButton) { + triggerElm = h('el-button-group', [h( + 'el-button', + { + attrs: { type: type, size: dropdownSize, disabled: disabled }, + nativeOn: { + 'click': handleMainButtonClick + } + }, + [this.$slots.default] + ), h( + 'el-button', + { ref: 'trigger', attrs: { type: type, size: dropdownSize, disabled: disabled }, + 'class': 'el-dropdown__caret-button' }, + [h('i', { 'class': 'el-dropdown__icon el-icon-arrow-down' })] + )]); + } else { + triggerElm = this.$slots.default; + var vnodeData = triggerElm[0].data || {}; + var _vnodeData$attrs = vnodeData.attrs, + attrs = _vnodeData$attrs === undefined ? {} : _vnodeData$attrs; + + if (disabled && !attrs.disabled) { + attrs.disabled = true; + vnodeData.attrs = attrs; + } + } + var menuElm = disabled ? null : this.$slots.dropdown; + + return h( + 'div', + { 'class': 'el-dropdown', directives: [{ + name: 'clickoutside', + value: hide + }], + attrs: { 'aria-disabled': disabled } + }, + [triggerElm, menuElm] + ); + } +}); +// CONCATENATED MODULE: ./packages/dropdown/src/dropdown.vue?vue&type=script&lang=js& + /* harmony default export */ var src_dropdownvue_type_script_lang_js_ = (dropdownvue_type_script_lang_js_); +// CONCATENATED MODULE: ./packages/dropdown/src/dropdown.vue +var dropdown_render, dropdown_staticRenderFns + + + + +/* normalize component */ + +var dropdown_component = normalizeComponent( + src_dropdownvue_type_script_lang_js_, + dropdown_render, + dropdown_staticRenderFns, + false, + null, + null, + null + +) + +/* hot reload */ +if (false) { var dropdown_api; } +dropdown_component.options.__file = "packages/dropdown/src/dropdown.vue" +/* harmony default export */ var dropdown = (dropdown_component.exports); +// CONCATENATED MODULE: ./packages/dropdown/index.js + + +/* istanbul ignore next */ +dropdown.install = function (Vue) { + Vue.component(dropdown.name, dropdown); +}; + +/* harmony default export */ var packages_dropdown = (dropdown); +// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dropdown/src/dropdown-menu.vue?vue&type=template&id=0da6b714& +var dropdown_menuvue_type_template_id_0da6b714_render = function() { + var _vm = this + var _h = _vm.$createElement + var _c = _vm._self._c || _h + return _c( + "transition", + { attrs: { name: "el-zoom-in-top" }, on: { "after-leave": _vm.doDestroy } }, + [ + _c( + "ul", + { + directives: [ + { + name: "show", + rawName: "v-show", + value: _vm.showPopper, + expression: "showPopper" + } + ], + staticClass: "el-dropdown-menu el-popper", + class: [_vm.size && "el-dropdown-menu--" + _vm.size] + }, + [_vm._t("default")], + 2 + ) + ] + ) +} +var dropdown_menuvue_type_template_id_0da6b714_staticRenderFns = [] +dropdown_menuvue_type_template_id_0da6b714_render._withStripped = true + + +// CONCATENATED MODULE: ./packages/dropdown/src/dropdown-menu.vue?vue&type=template&id=0da6b714& + +// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/dropdown/src/dropdown-menu.vue?vue&type=script&lang=js& +// +// +// +// +// +// +// + + + +/* harmony default export */ var dropdown_menuvue_type_script_lang_js_ = ({ + name: 'ElDropdownMenu', + + componentName: 'ElDropdownMenu', + + mixins: [vue_popper_default.a], + + props: { + visibleArrow: { + type: Boolean, + default: true + }, + arrowOffset: { + type: Number, + default: 0 + } + }, + + data: function data() { + return { + size: this.dropdown.dropdownSize + }; + }, + + + inject: ['dropdown'], + + created: function created() { + var _this = this; + + this.$on('updatePopper', function () { + if (_this.showPopper) _this.updatePopper(); + }); + this.$on('visible', function (val) { + _this.showPopper = val; + }); + }, + mounted: function mounted() { + this.dropdown.popperElm = this.popperElm = this.$el; + this.referenceElm = this.dropdown.$el; + // compatible with 2.6 new v-slot syntax + // issue link https://github.com/ElemeFE/element/issues/14345 + this.dropdown.initDomOperation(); + }, + + + watch: { + 'dropdown.placement': { + immediate: true, + handler: function handler(val) { + this.currentPlacement = val; + } + } + } +}); +// CONCATENATED MODULE: ./packages/dropdown/src/dropdown-menu.vue?vue&type=script&lang=js& + /* harmony default export */ var src_dropdown_menuvue_type_script_lang_js_ = (dropdown_menuvue_type_script_lang_js_); +// CONCATENATED MODULE: ./packages/dropdown/src/dropdown-menu.vue + + + + + +/* normalize component */ + +var dropdown_menu_component = normalizeComponent( + src_dropdown_menuvue_type_script_lang_js_, + dropdown_menuvue_type_template_id_0da6b714_render, + dropdown_menuvue_type_template_id_0da6b714_staticRenderFns, + false, + null, + null, + null + +) + +/* hot reload */ +if (false) { var dropdown_menu_api; } +dropdown_menu_component.options.__file = "packages/dropdown/src/dropdown-menu.vue" +/* harmony default export */ var dropdown_menu = (dropdown_menu_component.exports); +// CONCATENATED MODULE: ./packages/dropdown-menu/index.js + + +/* istanbul ignore next */ +dropdown_menu.install = function (Vue) { + Vue.component(dropdown_menu.name, dropdown_menu); +}; + +/* harmony default export */ var packages_dropdown_menu = (dropdown_menu); +// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/dropdown/src/dropdown-item.vue?vue&type=template&id=6359102a& +var dropdown_itemvue_type_template_id_6359102a_render = function() { + var _vm = this + var _h = _vm.$createElement + var _c = _vm._self._c || _h + return _c( + "li", + { + staticClass: "el-dropdown-menu__item", + class: { + "is-disabled": _vm.disabled, + "el-dropdown-menu__item--divided": _vm.divided + }, + attrs: { + "aria-disabled": _vm.disabled, + tabindex: _vm.disabled ? null : -1 + }, + on: { click: _vm.handleClick } + }, + [_vm.icon ? _c("i", { class: _vm.icon }) : _vm._e(), _vm._t("default")], + 2 + ) +} +var dropdown_itemvue_type_template_id_6359102a_staticRenderFns = [] +dropdown_itemvue_type_template_id_6359102a_render._withStripped = true + + +// CONCATENATED MODULE: ./packages/dropdown/src/dropdown-item.vue?vue&type=template&id=6359102a& + +// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/dropdown/src/dropdown-item.vue?vue&type=script&lang=js& +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// + + + +/* harmony default export */ var dropdown_itemvue_type_script_lang_js_ = ({ + name: 'ElDropdownItem', + + mixins: [emitter_default.a], + + props: { + command: {}, + disabled: Boolean, + divided: Boolean, + icon: String + }, + + methods: { + handleClick: function handleClick(e) { + this.dispatch('ElDropdown', 'menu-item-click', [this.command, this]); + } + } +}); +// CONCATENATED MODULE: ./packages/dropdown/src/dropdown-item.vue?vue&type=script&lang=js& + /* harmony default export */ var src_dropdown_itemvue_type_script_lang_js_ = (dropdown_itemvue_type_script_lang_js_); +// CONCATENATED MODULE: ./packages/dropdown/src/dropdown-item.vue + + + + + +/* normalize component */ + +var dropdown_item_component = normalizeComponent( + src_dropdown_itemvue_type_script_lang_js_, + dropdown_itemvue_type_template_id_6359102a_render, + dropdown_itemvue_type_template_id_6359102a_staticRenderFns, + false, + null, + null, + null + +) + +/* hot reload */ +if (false) { var dropdown_item_api; } +dropdown_item_component.options.__file = "packages/dropdown/src/dropdown-item.vue" +/* harmony default export */ var dropdown_item = (dropdown_item_component.exports); +// CONCATENATED MODULE: ./packages/dropdown-item/index.js + + +/* istanbul ignore next */ +dropdown_item.install = function (Vue) { + Vue.component(dropdown_item.name, dropdown_item); +}; + +/* harmony default export */ var packages_dropdown_item = (dropdown_item); +// CONCATENATED MODULE: ./src/utils/aria-utils.js +var aria = aria || {}; + +aria.Utils = aria.Utils || {}; + +/** + * @desc Set focus on descendant nodes until the first focusable element is + * found. + * @param element + * DOM node for which to find the first focusable descendant. + * @returns + * true if a focusable element is found and focus is set. + */ +aria.Utils.focusFirstDescendant = function (element) { + for (var i = 0; i < element.childNodes.length; i++) { + var child = element.childNodes[i]; + if (aria.Utils.attemptFocus(child) || aria.Utils.focusFirstDescendant(child)) { + return true; + } + } + return false; +}; + +/** + * @desc Find the last descendant node that is focusable. + * @param element + * DOM node for which to find the last focusable descendant. + * @returns + * true if a focusable element is found and focus is set. + */ + +aria.Utils.focusLastDescendant = function (element) { + for (var i = element.childNodes.length - 1; i >= 0; i--) { + var child = element.childNodes[i]; + if (aria.Utils.attemptFocus(child) || aria.Utils.focusLastDescendant(child)) { + return true; + } + } + return false; +}; + +/** + * @desc Set Attempt to set focus on the current node. + * @param element + * The node to attempt to focus on. + * @returns + * true if element is focused. + */ +aria.Utils.attemptFocus = function (element) { + if (!aria.Utils.isFocusable(element)) { + return false; + } + aria.Utils.IgnoreUtilFocusChanges = true; + try { + element.focus(); + } catch (e) {} + aria.Utils.IgnoreUtilFocusChanges = false; + return document.activeElement === element; +}; + +aria.Utils.isFocusable = function (element) { + if (element.tabIndex > 0 || element.tabIndex === 0 && element.getAttribute('tabIndex') !== null) { + return true; + } + + if (element.disabled) { + return false; + } + + switch (element.nodeName) { + case 'A': + return !!element.href && element.rel !== 'ignore'; + case 'INPUT': + return element.type !== 'hidden' && element.type !== 'file'; + case 'BUTTON': + case 'SELECT': + case 'TEXTAREA': + return true; + default: + return false; + } +}; + +/** + * 触发一个事件 + * mouseenter, mouseleave, mouseover, keyup, change, click 等 + * @param {Element} elm + * @param {String} name + * @param {*} opts + */ +aria.Utils.triggerEvent = function (elm, name) { + var eventName = void 0; + + if (/^mouse|click/.test(name)) { + eventName = 'MouseEvents'; + } else if (/^key/.test(name)) { + eventName = 'KeyboardEvent'; + } else { + eventName = 'HTMLEvents'; + } + var evt = document.createEvent(eventName); + + for (var _len = arguments.length, opts = Array(_len > 2 ? _len - 2 : 0), _key = 2; _key < _len; _key++) { + opts[_key - 2] = arguments[_key]; + } + + evt.initEvent.apply(evt, [name].concat(opts)); + elm.dispatchEvent ? elm.dispatchEvent(evt) : elm.fireEvent('on' + name, evt); + + return elm; +}; + +aria.Utils.keys = { + tab: 9, + enter: 13, + space: 32, + left: 37, + up: 38, + right: 39, + down: 40, + esc: 27 +}; + +/* harmony default export */ var aria_utils = (aria.Utils); +// CONCATENATED MODULE: ./src/utils/menu/aria-submenu.js + + +var SubMenu = function SubMenu(parent, domNode) { + this.domNode = domNode; + this.parent = parent; + this.subMenuItems = []; + this.subIndex = 0; + this.init(); +}; + +SubMenu.prototype.init = function () { + this.subMenuItems = this.domNode.querySelectorAll('li'); + this.addListeners(); +}; + +SubMenu.prototype.gotoSubIndex = function (idx) { + if (idx === this.subMenuItems.length) { + idx = 0; + } else if (idx < 0) { + idx = this.subMenuItems.length - 1; + } + this.subMenuItems[idx].focus(); + this.subIndex = idx; +}; + +SubMenu.prototype.addListeners = function () { + var _this = this; + + var keys = aria_utils.keys; + var parentNode = this.parent.domNode; + Array.prototype.forEach.call(this.subMenuItems, function (el) { + el.addEventListener('keydown', function (event) { + var prevDef = false; + switch (event.keyCode) { + case keys.down: + _this.gotoSubIndex(_this.subIndex + 1); + prevDef = true; + break; + case keys.up: + _this.gotoSubIndex(_this.subIndex - 1); + prevDef = true; + break; + case keys.tab: + aria_utils.triggerEvent(parentNode, 'mouseleave'); + break; + case keys.enter: + case keys.space: + prevDef = true; + event.currentTarget.click(); + break; + } + if (prevDef) { + event.preventDefault(); + event.stopPropagation(); + } + return false; + }); + }); +}; + +/* harmony default export */ var aria_submenu = (SubMenu); +// CONCATENATED MODULE: ./src/utils/menu/aria-menuitem.js + + + +var MenuItem = function MenuItem(domNode) { + this.domNode = domNode; + this.submenu = null; + this.init(); +}; + +MenuItem.prototype.init = function () { + this.domNode.setAttribute('tabindex', '0'); + var menuChild = this.domNode.querySelector('.el-menu'); + if (menuChild) { + this.submenu = new aria_submenu(this, menuChild); + } + this.addListeners(); +}; + +MenuItem.prototype.addListeners = function () { + var _this = this; + + var keys = aria_utils.keys; + this.domNode.addEventListener('keydown', function (event) { + var prevDef = false; + switch (event.keyCode) { + case keys.down: + aria_utils.triggerEvent(event.currentTarget, 'mouseenter'); + _this.submenu && _this.submenu.gotoSubIndex(0); + prevDef = true; + break; + case keys.up: + aria_utils.triggerEvent(event.currentTarget, 'mouseenter'); + _this.submenu && _this.submenu.gotoSubIndex(_this.submenu.subMenuItems.length - 1); + prevDef = true; + break; + case keys.tab: + aria_utils.triggerEvent(event.currentTarget, 'mouseleave'); + break; + case keys.enter: + case keys.space: + prevDef = true; + event.currentTarget.click(); + break; + } + if (prevDef) { + event.preventDefault(); + } + }); +}; + +/* harmony default export */ var aria_menuitem = (MenuItem); +// CONCATENATED MODULE: ./src/utils/menu/aria-menubar.js + + +var Menu = function Menu(domNode) { + this.domNode = domNode; + this.init(); +}; + +Menu.prototype.init = function () { + var menuChildren = this.domNode.childNodes; + [].filter.call(menuChildren, function (child) { + return child.nodeType === 1; + }).forEach(function (child) { + new aria_menuitem(child); // eslint-disable-line + }); +}; +/* harmony default export */ var aria_menubar = (Menu); +// EXTERNAL MODULE: external "element-ui/lib/utils/dom" +var dom_ = __webpack_require__(1); + +// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/menu/src/menu.vue?vue&type=script&lang=js& + + + + + + +/* harmony default export */ var menuvue_type_script_lang_js_ = ({ + name: 'ElMenu', + + render: function render(h) { + var component = h( + 'ul', + { + attrs: { + role: 'menubar' + }, + key: +this.collapse, + style: { backgroundColor: this.backgroundColor || '' }, + 'class': { + 'el-menu--horizontal': this.mode === 'horizontal', + 'el-menu--collapse': this.collapse, + "el-menu": true + } + }, + [this.$slots.default] + ); + + if (this.collapseTransition) { + return h('el-menu-collapse-transition', [component]); + } else { + return component; + } + }, + + + componentName: 'ElMenu', + + mixins: [emitter_default.a, migrating_default.a], + + provide: function provide() { + return { + rootMenu: this + }; + }, + + + components: { + 'el-menu-collapse-transition': { + functional: true, + render: function render(createElement, context) { + var data = { + props: { + mode: 'out-in' + }, + on: { + beforeEnter: function beforeEnter(el) { + el.style.opacity = 0.2; + }, + enter: function enter(el) { + Object(dom_["addClass"])(el, 'el-opacity-transition'); + el.style.opacity = 1; + }, + afterEnter: function afterEnter(el) { + Object(dom_["removeClass"])(el, 'el-opacity-transition'); + el.style.opacity = ''; + }, + beforeLeave: function beforeLeave(el) { + if (!el.dataset) el.dataset = {}; + + if (Object(dom_["hasClass"])(el, 'el-menu--collapse')) { + Object(dom_["removeClass"])(el, 'el-menu--collapse'); + el.dataset.oldOverflow = el.style.overflow; + el.dataset.scrollWidth = el.clientWidth; + Object(dom_["addClass"])(el, 'el-menu--collapse'); + } else { + Object(dom_["addClass"])(el, 'el-menu--collapse'); + el.dataset.oldOverflow = el.style.overflow; + el.dataset.scrollWidth = el.clientWidth; + Object(dom_["removeClass"])(el, 'el-menu--collapse'); + } + + el.style.width = el.scrollWidth + 'px'; + el.style.overflow = 'hidden'; + }, + leave: function leave(el) { + Object(dom_["addClass"])(el, 'horizontal-collapse-transition'); + el.style.width = el.dataset.scrollWidth + 'px'; + } + } + }; + return createElement('transition', data, context.children); + } + } + }, + + props: { + mode: { + type: String, + default: 'vertical' + }, + defaultActive: { + type: String, + default: '' + }, + defaultOpeneds: Array, + uniqueOpened: Boolean, + router: Boolean, + menuTrigger: { + type: String, + default: 'hover' + }, + collapse: Boolean, + backgroundColor: String, + textColor: String, + activeTextColor: String, + collapseTransition: { + type: Boolean, + default: true + } + }, + data: function data() { + return { + activeIndex: this.defaultActive, + openedMenus: this.defaultOpeneds && !this.collapse ? this.defaultOpeneds.slice(0) : [], + items: {}, + submenus: {} + }; + }, + + computed: { + hoverBackground: function hoverBackground() { + return this.backgroundColor ? this.mixColor(this.backgroundColor, 0.2) : ''; + }, + isMenuPopup: function isMenuPopup() { + return this.mode === 'horizontal' || this.mode === 'vertical' && this.collapse; + } + }, + watch: { + defaultActive: function defaultActive(value) { + if (!this.items[value]) { + this.activeIndex = null; + } + this.updateActiveIndex(value); + }, + defaultOpeneds: function defaultOpeneds(value) { + if (!this.collapse) { + this.openedMenus = value; + } + }, + collapse: function collapse(value) { + if (value) this.openedMenus = []; + this.broadcast('ElSubmenu', 'toggle-collapse', value); + } + }, + methods: { + updateActiveIndex: function updateActiveIndex(val) { + var item = this.items[val] || this.items[this.activeIndex] || this.items[this.defaultActive]; + if (item) { + this.activeIndex = item.index; + this.initOpenedMenu(); + } else { + this.activeIndex = null; + } + }, + getMigratingConfig: function getMigratingConfig() { + return { + props: { + 'theme': 'theme is removed.' + } + }; + }, + getColorChannels: function getColorChannels(color) { + color = color.replace('#', ''); + if (/^[0-9a-fA-F]{3}$/.test(color)) { + color = color.split(''); + for (var i = 2; i >= 0; i--) { + color.splice(i, 0, color[i]); + } + color = color.join(''); + } + if (/^[0-9a-fA-F]{6}$/.test(color)) { + return { + red: parseInt(color.slice(0, 2), 16), + green: parseInt(color.slice(2, 4), 16), + blue: parseInt(color.slice(4, 6), 16) + }; + } else { + return { + red: 255, + green: 255, + blue: 255 + }; + } + }, + mixColor: function mixColor(color, percent) { + var _getColorChannels = this.getColorChannels(color), + red = _getColorChannels.red, + green = _getColorChannels.green, + blue = _getColorChannels.blue; + + if (percent > 0) { + // shade given color + red *= 1 - percent; + green *= 1 - percent; + blue *= 1 - percent; + } else { + // tint given color + red += (255 - red) * percent; + green += (255 - green) * percent; + blue += (255 - blue) * percent; + } + return 'rgb(' + Math.round(red) + ', ' + Math.round(green) + ', ' + Math.round(blue) + ')'; + }, + addItem: function addItem(item) { + this.$set(this.items, item.index, item); + }, + removeItem: function removeItem(item) { + delete this.items[item.index]; + }, + addSubmenu: function addSubmenu(item) { + this.$set(this.submenus, item.index, item); + }, + removeSubmenu: function removeSubmenu(item) { + delete this.submenus[item.index]; + }, + openMenu: function openMenu(index, indexPath) { + var openedMenus = this.openedMenus; + if (openedMenus.indexOf(index) !== -1) return; + // 将不在该菜单路径下的其余菜单收起 + // collapse all menu that are not under current menu item + if (this.uniqueOpened) { + this.openedMenus = openedMenus.filter(function (index) { + return indexPath.indexOf(index) !== -1; + }); + } + this.openedMenus.push(index); + }, + closeMenu: function closeMenu(index) { + var i = this.openedMenus.indexOf(index); + if (i !== -1) { + this.openedMenus.splice(i, 1); + } + }, + handleSubmenuClick: function handleSubmenuClick(submenu) { + var index = submenu.index, + indexPath = submenu.indexPath; + + var isOpened = this.openedMenus.indexOf(index) !== -1; + + if (isOpened) { + this.closeMenu(index); + this.$emit('close', index, indexPath); + } else { + this.openMenu(index, indexPath); + this.$emit('open', index, indexPath); + } + }, + handleItemClick: function handleItemClick(item) { + var _this = this; + + var index = item.index, + indexPath = item.indexPath; + + var oldActiveIndex = this.activeIndex; + var hasIndex = item.index !== null; + + if (hasIndex) { + this.activeIndex = item.index; + } + + this.$emit('select', index, indexPath, item); + + if (this.mode === 'horizontal' || this.collapse) { + this.openedMenus = []; + } + + if (this.router && hasIndex) { + this.routeToItem(item, function (error) { + _this.activeIndex = oldActiveIndex; + if (error) { + // vue-router 3.1.0+ push/replace cause NavigationDuplicated error + // https://github.com/ElemeFE/element/issues/17044 + if (error.name === 'NavigationDuplicated') return; + console.error(error); + } + }); + } + }, + + // 初始化展开菜单 + // initialize opened menu + initOpenedMenu: function initOpenedMenu() { + var _this2 = this; + + var index = this.activeIndex; + var activeItem = this.items[index]; + if (!activeItem || this.mode === 'horizontal' || this.collapse) return; + + var indexPath = activeItem.indexPath; + + // 展开该菜单项的路径上所有子菜单 + // expand all submenus of the menu item + indexPath.forEach(function (index) { + var submenu = _this2.submenus[index]; + submenu && _this2.openMenu(index, submenu.indexPath); + }); + }, + routeToItem: function routeToItem(item, onError) { + var route = item.route || item.index; + try { + this.$router.push(route, function () {}, onError); + } catch (e) { + console.error(e); + } + }, + open: function open(index) { + var _this3 = this; + + var indexPath = this.submenus[index.toString()].indexPath; + + indexPath.forEach(function (i) { + return _this3.openMenu(i, indexPath); + }); + }, + close: function close(index) { + this.closeMenu(index); + } + }, + mounted: function mounted() { + this.initOpenedMenu(); + this.$on('item-click', this.handleItemClick); + this.$on('submenu-click', this.handleSubmenuClick); + if (this.mode === 'horizontal') { + new aria_menubar(this.$el); // eslint-disable-line + } + this.$watch('items', this.updateActiveIndex); + } +}); +// CONCATENATED MODULE: ./packages/menu/src/menu.vue?vue&type=script&lang=js& + /* harmony default export */ var src_menuvue_type_script_lang_js_ = (menuvue_type_script_lang_js_); +// CONCATENATED MODULE: ./packages/menu/src/menu.vue +var menu_render, menu_staticRenderFns + + + + +/* normalize component */ + +var menu_component = normalizeComponent( + src_menuvue_type_script_lang_js_, + menu_render, + menu_staticRenderFns, + false, + null, + null, + null + +) + +/* hot reload */ +if (false) { var menu_api; } +menu_component.options.__file = "packages/menu/src/menu.vue" +/* harmony default export */ var src_menu = (menu_component.exports); +// CONCATENATED MODULE: ./packages/menu/index.js + + +/* istanbul ignore next */ +src_menu.install = function (Vue) { + Vue.component(src_menu.name, src_menu); +}; + +/* harmony default export */ var packages_menu = (src_menu); +// EXTERNAL MODULE: external "element-ui/lib/transitions/collapse-transition" +var collapse_transition_ = __webpack_require__(21); +var collapse_transition_default = /*#__PURE__*/__webpack_require__.n(collapse_transition_); + +// CONCATENATED MODULE: ./packages/menu/src/menu-mixin.js +/* harmony default export */ var menu_mixin = ({ + inject: ['rootMenu'], + computed: { + indexPath: function indexPath() { + var path = [this.index]; + var parent = this.$parent; + while (parent.$options.componentName !== 'ElMenu') { + if (parent.index) { + path.unshift(parent.index); + } + parent = parent.$parent; + } + return path; + }, + parentMenu: function parentMenu() { + var parent = this.$parent; + while (parent && ['ElMenu', 'ElSubmenu'].indexOf(parent.$options.componentName) === -1) { + parent = parent.$parent; + } + return parent; + }, + paddingStyle: function paddingStyle() { + if (this.rootMenu.mode !== 'vertical') return {}; + + var padding = 20; + var parent = this.$parent; + + if (this.rootMenu.collapse) { + padding = 20; + } else { + while (parent && parent.$options.componentName !== 'ElMenu') { + if (parent.$options.componentName === 'ElSubmenu') { + padding += 20; + } + parent = parent.$parent; + } + } + return { paddingLeft: padding + 'px' }; + } + } +}); +// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/menu/src/submenu.vue?vue&type=script&lang=js& + + + + + + +var poperMixins = { + props: { + transformOrigin: { + type: [Boolean, String], + default: false + }, + offset: vue_popper_default.a.props.offset, + boundariesPadding: vue_popper_default.a.props.boundariesPadding, + popperOptions: vue_popper_default.a.props.popperOptions + }, + data: vue_popper_default.a.data, + methods: vue_popper_default.a.methods, + beforeDestroy: vue_popper_default.a.beforeDestroy, + deactivated: vue_popper_default.a.deactivated +}; + +/* harmony default export */ var submenuvue_type_script_lang_js_ = ({ + name: 'ElSubmenu', + + componentName: 'ElSubmenu', + + mixins: [menu_mixin, emitter_default.a, poperMixins], + + components: { ElCollapseTransition: collapse_transition_default.a }, + + props: { + index: { + type: String, + required: true + }, + showTimeout: { + type: Number, + default: 300 + }, + hideTimeout: { + type: Number, + default: 300 + }, + popperClass: String, + disabled: Boolean, + popperAppendToBody: { + type: Boolean, + default: undefined + } + }, + + data: function data() { + return { + popperJS: null, + timeout: null, + items: {}, + submenus: {}, + mouseInChild: false + }; + }, + + watch: { + opened: function opened(val) { + var _this = this; + + if (this.isMenuPopup) { + this.$nextTick(function (_) { + _this.updatePopper(); + }); + } + } + }, + computed: { + // popper option + appendToBody: function appendToBody() { + return this.popperAppendToBody === undefined ? this.isFirstLevel : this.popperAppendToBody; + }, + menuTransitionName: function menuTransitionName() { + return this.rootMenu.collapse ? 'el-zoom-in-left' : 'el-zoom-in-top'; + }, + opened: function opened() { + return this.rootMenu.openedMenus.indexOf(this.index) > -1; + }, + active: function active() { + var isActive = false; + var submenus = this.submenus; + var items = this.items; + + Object.keys(items).forEach(function (index) { + if (items[index].active) { + isActive = true; + } + }); + + Object.keys(submenus).forEach(function (index) { + if (submenus[index].active) { + isActive = true; + } + }); + + return isActive; + }, + hoverBackground: function hoverBackground() { + return this.rootMenu.hoverBackground; + }, + backgroundColor: function backgroundColor() { + return this.rootMenu.backgroundColor || ''; + }, + activeTextColor: function activeTextColor() { + return this.rootMenu.activeTextColor || ''; + }, + textColor: function textColor() { + return this.rootMenu.textColor || ''; + }, + mode: function mode() { + return this.rootMenu.mode; + }, + isMenuPopup: function isMenuPopup() { + return this.rootMenu.isMenuPopup; + }, + titleStyle: function titleStyle() { + if (this.mode !== 'horizontal') { + return { + color: this.textColor + }; + } + return { + borderBottomColor: this.active ? this.rootMenu.activeTextColor ? this.activeTextColor : '' : 'transparent', + color: this.active ? this.activeTextColor : this.textColor + }; + }, + isFirstLevel: function isFirstLevel() { + var isFirstLevel = true; + var parent = this.$parent; + while (parent && parent !== this.rootMenu) { + if (['ElSubmenu', 'ElMenuItemGroup'].indexOf(parent.$options.componentName) > -1) { + isFirstLevel = false; + break; + } else { + parent = parent.$parent; + } + } + return isFirstLevel; + } + }, + methods: { + handleCollapseToggle: function handleCollapseToggle(value) { + if (value) { + this.initPopper(); + } else { + this.doDestroy(); + } + }, + addItem: function addItem(item) { + this.$set(this.items, item.index, item); + }, + removeItem: function removeItem(item) { + delete this.items[item.index]; + }, + addSubmenu: function addSubmenu(item) { + this.$set(this.submenus, item.index, item); + }, + removeSubmenu: function removeSubmenu(item) { + delete this.submenus[item.index]; + }, + handleClick: function handleClick() { + var rootMenu = this.rootMenu, + disabled = this.disabled; + + if (rootMenu.menuTrigger === 'hover' && rootMenu.mode === 'horizontal' || rootMenu.collapse && rootMenu.mode === 'vertical' || disabled) { + return; + } + this.dispatch('ElMenu', 'submenu-click', this); + }, + handleMouseenter: function handleMouseenter(event) { + var _this2 = this; + + var showTimeout = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.showTimeout; + + + if (!('ActiveXObject' in window) && event.type === 'focus' && !event.relatedTarget) { + return; + } + var rootMenu = this.rootMenu, + disabled = this.disabled; + + if (rootMenu.menuTrigger === 'click' && rootMenu.mode === 'horizontal' || !rootMenu.collapse && rootMenu.mode === 'vertical' || disabled) { + return; + } + this.dispatch('ElSubmenu', 'mouse-enter-child'); + clearTimeout(this.timeout); + this.timeout = setTimeout(function () { + _this2.rootMenu.openMenu(_this2.index, _this2.indexPath); + }, showTimeout); + + if (this.appendToBody) { + this.$parent.$el.dispatchEvent(new MouseEvent('mouseenter')); + } + }, + handleMouseleave: function handleMouseleave() { + var _this3 = this; + + var deepDispatch = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false; + var rootMenu = this.rootMenu; + + if (rootMenu.menuTrigger === 'click' && rootMenu.mode === 'horizontal' || !rootMenu.collapse && rootMenu.mode === 'vertical') { + return; + } + this.dispatch('ElSubmenu', 'mouse-leave-child'); + clearTimeout(this.timeout); + this.timeout = setTimeout(function () { + !_this3.mouseInChild && _this3.rootMenu.closeMenu(_this3.index); + }, this.hideTimeout); + + if (this.appendToBody && deepDispatch) { + if (this.$parent.$options.name === 'ElSubmenu') { + this.$parent.handleMouseleave(true); + } + } + }, + handleTitleMouseenter: function handleTitleMouseenter() { + if (this.mode === 'horizontal' && !this.rootMenu.backgroundColor) return; + var title = this.$refs['submenu-title']; + title && (title.style.backgroundColor = this.rootMenu.hoverBackground); + }, + handleTitleMouseleave: function handleTitleMouseleave() { + if (this.mode === 'horizontal' && !this.rootMenu.backgroundColor) return; + var title = this.$refs['submenu-title']; + title && (title.style.backgroundColor = this.rootMenu.backgroundColor || ''); + }, + updatePlacement: function updatePlacement() { + this.currentPlacement = this.mode === 'horizontal' && this.isFirstLevel ? 'bottom-start' : 'right-start'; + }, + initPopper: function initPopper() { + this.referenceElm = this.$el; + this.popperElm = this.$refs.menu; + this.updatePlacement(); + } + }, + created: function created() { + var _this4 = this; + + this.$on('toggle-collapse', this.handleCollapseToggle); + this.$on('mouse-enter-child', function () { + _this4.mouseInChild = true; + clearTimeout(_this4.timeout); + }); + this.$on('mouse-leave-child', function () { + _this4.mouseInChild = false; + clearTimeout(_this4.timeout); + }); + }, + mounted: function mounted() { + this.parentMenu.addSubmenu(this); + this.rootMenu.addSubmenu(this); + this.initPopper(); + }, + beforeDestroy: function beforeDestroy() { + this.parentMenu.removeSubmenu(this); + this.rootMenu.removeSubmenu(this); + }, + render: function render(h) { + var _this5 = this; + + var active = this.active, + opened = this.opened, + paddingStyle = this.paddingStyle, + titleStyle = this.titleStyle, + backgroundColor = this.backgroundColor, + rootMenu = this.rootMenu, + currentPlacement = this.currentPlacement, + menuTransitionName = this.menuTransitionName, + mode = this.mode, + disabled = this.disabled, + popperClass = this.popperClass, + $slots = this.$slots, + isFirstLevel = this.isFirstLevel; + + + var popupMenu = h( + 'transition', + { + attrs: { name: menuTransitionName } + }, + [h( + 'div', + { + ref: 'menu', + directives: [{ + name: 'show', + value: opened + }], + + 'class': ['el-menu--' + mode, popperClass], + on: { + 'mouseenter': function mouseenter($event) { + return _this5.handleMouseenter($event, 100); + }, + 'mouseleave': function mouseleave() { + return _this5.handleMouseleave(true); + }, + 'focus': function focus($event) { + return _this5.handleMouseenter($event, 100); + } + } + }, + [h( + 'ul', + { + attrs: { + role: 'menu' + }, + 'class': ['el-menu el-menu--popup', 'el-menu--popup-' + currentPlacement], + style: { backgroundColor: rootMenu.backgroundColor || '' } }, + [$slots.default] + )] + )] + ); + + var inlineMenu = h('el-collapse-transition', [h( + 'ul', + { + attrs: { + role: 'menu' + }, + 'class': 'el-menu el-menu--inline', + directives: [{ + name: 'show', + value: opened + }], + + style: { backgroundColor: rootMenu.backgroundColor || '' } }, + [$slots.default] + )]); + + var submenuTitleIcon = rootMenu.mode === 'horizontal' && isFirstLevel || rootMenu.mode === 'vertical' && !rootMenu.collapse ? 'el-icon-arrow-down' : 'el-icon-arrow-right'; + + return h( + 'li', + { + 'class': { + 'el-submenu': true, + 'is-active': active, + 'is-opened': opened, + 'is-disabled': disabled + }, + attrs: { role: 'menuitem', + 'aria-haspopup': 'true', + 'aria-expanded': opened + }, + on: { + 'mouseenter': this.handleMouseenter, + 'mouseleave': function mouseleave() { + return _this5.handleMouseleave(false); + }, + 'focus': this.handleMouseenter + } + }, + [h( + 'div', + { + 'class': 'el-submenu__title', + ref: 'submenu-title', + on: { + 'click': this.handleClick, + 'mouseenter': this.handleTitleMouseenter, + 'mouseleave': this.handleTitleMouseleave + }, + + style: [paddingStyle, titleStyle, { backgroundColor: backgroundColor }] + }, + [$slots.title, h('i', { 'class': ['el-submenu__icon-arrow', submenuTitleIcon] })] + ), this.isMenuPopup ? popupMenu : inlineMenu] + ); + } +}); +// CONCATENATED MODULE: ./packages/menu/src/submenu.vue?vue&type=script&lang=js& + /* harmony default export */ var src_submenuvue_type_script_lang_js_ = (submenuvue_type_script_lang_js_); +// CONCATENATED MODULE: ./packages/menu/src/submenu.vue +var submenu_render, submenu_staticRenderFns + + + + +/* normalize component */ + +var submenu_component = normalizeComponent( + src_submenuvue_type_script_lang_js_, + submenu_render, + submenu_staticRenderFns, + false, + null, + null, + null + +) + +/* hot reload */ +if (false) { var submenu_api; } +submenu_component.options.__file = "packages/menu/src/submenu.vue" +/* harmony default export */ var submenu = (submenu_component.exports); +// CONCATENATED MODULE: ./packages/submenu/index.js + + +/* istanbul ignore next */ +submenu.install = function (Vue) { + Vue.component(submenu.name, submenu); +}; + +/* harmony default export */ var packages_submenu = (submenu); +// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/menu/src/menu-item.vue?vue&type=template&id=2a5dbfea& +var menu_itemvue_type_template_id_2a5dbfea_render = function() { + var _vm = this + var _h = _vm.$createElement + var _c = _vm._self._c || _h + return _c( + "li", + { + staticClass: "el-menu-item", + class: { + "is-active": _vm.active, + "is-disabled": _vm.disabled + }, + style: [ + _vm.paddingStyle, + _vm.itemStyle, + { backgroundColor: _vm.backgroundColor } + ], + attrs: { role: "menuitem", tabindex: "-1" }, + on: { + click: _vm.handleClick, + mouseenter: _vm.onMouseEnter, + focus: _vm.onMouseEnter, + blur: _vm.onMouseLeave, + mouseleave: _vm.onMouseLeave + } + }, + [ + _vm.parentMenu.$options.componentName === "ElMenu" && + _vm.rootMenu.collapse && + _vm.$slots.title + ? _c("el-tooltip", { attrs: { effect: "dark", placement: "right" } }, [ + _c( + "div", + { attrs: { slot: "content" }, slot: "content" }, + [_vm._t("title")], + 2 + ), + _c( + "div", + { + staticStyle: { + position: "absolute", + left: "0", + top: "0", + height: "100%", + width: "100%", + display: "inline-block", + "box-sizing": "border-box", + padding: "0 20px" + } + }, + [_vm._t("default")], + 2 + ) + ]) + : [_vm._t("default"), _vm._t("title")] + ], + 2 + ) +} +var menu_itemvue_type_template_id_2a5dbfea_staticRenderFns = [] +menu_itemvue_type_template_id_2a5dbfea_render._withStripped = true + + +// CONCATENATED MODULE: ./packages/menu/src/menu-item.vue?vue&type=template&id=2a5dbfea& + +// EXTERNAL MODULE: external "element-ui/lib/tooltip" +var tooltip_ = __webpack_require__(26); +var tooltip_default = /*#__PURE__*/__webpack_require__.n(tooltip_); + +// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/menu/src/menu-item.vue?vue&type=script&lang=js& +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// + + + + + +/* harmony default export */ var menu_itemvue_type_script_lang_js_ = ({ + name: 'ElMenuItem', + + componentName: 'ElMenuItem', + + mixins: [menu_mixin, emitter_default.a], + + components: { ElTooltip: tooltip_default.a }, + + props: { + index: { + default: null, + validator: function validator(val) { + return typeof val === 'string' || val === null; + } + }, + route: [String, Object], + disabled: Boolean + }, + computed: { + active: function active() { + return this.index === this.rootMenu.activeIndex; + }, + hoverBackground: function hoverBackground() { + return this.rootMenu.hoverBackground; + }, + backgroundColor: function backgroundColor() { + return this.rootMenu.backgroundColor || ''; + }, + activeTextColor: function activeTextColor() { + return this.rootMenu.activeTextColor || ''; + }, + textColor: function textColor() { + return this.rootMenu.textColor || ''; + }, + mode: function mode() { + return this.rootMenu.mode; + }, + itemStyle: function itemStyle() { + var style = { + color: this.active ? this.activeTextColor : this.textColor + }; + if (this.mode === 'horizontal' && !this.isNested) { + style.borderBottomColor = this.active ? this.rootMenu.activeTextColor ? this.activeTextColor : '' : 'transparent'; + } + return style; + }, + isNested: function isNested() { + return this.parentMenu !== this.rootMenu; + } + }, + methods: { + onMouseEnter: function onMouseEnter() { + if (this.mode === 'horizontal' && !this.rootMenu.backgroundColor) return; + this.$el.style.backgroundColor = this.hoverBackground; + }, + onMouseLeave: function onMouseLeave() { + if (this.mode === 'horizontal' && !this.rootMenu.backgroundColor) return; + this.$el.style.backgroundColor = this.backgroundColor; + }, + handleClick: function handleClick() { + if (!this.disabled) { + this.dispatch('ElMenu', 'item-click', this); + this.$emit('click', this); + } + } + }, + mounted: function mounted() { + this.parentMenu.addItem(this); + this.rootMenu.addItem(this); + }, + beforeDestroy: function beforeDestroy() { + this.parentMenu.removeItem(this); + this.rootMenu.removeItem(this); + } +}); +// CONCATENATED MODULE: ./packages/menu/src/menu-item.vue?vue&type=script&lang=js& + /* harmony default export */ var src_menu_itemvue_type_script_lang_js_ = (menu_itemvue_type_script_lang_js_); +// CONCATENATED MODULE: ./packages/menu/src/menu-item.vue + + + + + +/* normalize component */ + +var menu_item_component = normalizeComponent( + src_menu_itemvue_type_script_lang_js_, + menu_itemvue_type_template_id_2a5dbfea_render, + menu_itemvue_type_template_id_2a5dbfea_staticRenderFns, + false, + null, + null, + null + +) + +/* hot reload */ +if (false) { var menu_item_api; } +menu_item_component.options.__file = "packages/menu/src/menu-item.vue" +/* harmony default export */ var menu_item = (menu_item_component.exports); +// CONCATENATED MODULE: ./packages/menu-item/index.js + + +/* istanbul ignore next */ +menu_item.install = function (Vue) { + Vue.component(menu_item.name, menu_item); +}; + +/* harmony default export */ var packages_menu_item = (menu_item); +// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/menu/src/menu-item-group.vue?vue&type=template&id=543b7bdc& +var menu_item_groupvue_type_template_id_543b7bdc_render = function() { + var _vm = this + var _h = _vm.$createElement + var _c = _vm._self._c || _h + return _c("li", { staticClass: "el-menu-item-group" }, [ + _c( + "div", + { + staticClass: "el-menu-item-group__title", + style: { paddingLeft: _vm.levelPadding + "px" } + }, + [!_vm.$slots.title ? [_vm._v(_vm._s(_vm.title))] : _vm._t("title")], + 2 + ), + _c("ul", [_vm._t("default")], 2) + ]) +} +var menu_item_groupvue_type_template_id_543b7bdc_staticRenderFns = [] +menu_item_groupvue_type_template_id_543b7bdc_render._withStripped = true + + +// CONCATENATED MODULE: ./packages/menu/src/menu-item-group.vue?vue&type=template&id=543b7bdc& + +// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/menu/src/menu-item-group.vue?vue&type=script&lang=js& +// +// +// +// +// +// +// +// +// +// +// + +/* harmony default export */ var menu_item_groupvue_type_script_lang_js_ = ({ + name: 'ElMenuItemGroup', + + componentName: 'ElMenuItemGroup', + + inject: ['rootMenu'], + props: { + title: { + type: String + } + }, + data: function data() { + return { + paddingLeft: 20 + }; + }, + + computed: { + levelPadding: function levelPadding() { + var padding = 20; + var parent = this.$parent; + if (this.rootMenu.collapse) return 20; + while (parent && parent.$options.componentName !== 'ElMenu') { + if (parent.$options.componentName === 'ElSubmenu') { + padding += 20; + } + parent = parent.$parent; + } + return padding; + } + } +}); +// CONCATENATED MODULE: ./packages/menu/src/menu-item-group.vue?vue&type=script&lang=js& + /* harmony default export */ var src_menu_item_groupvue_type_script_lang_js_ = (menu_item_groupvue_type_script_lang_js_); +// CONCATENATED MODULE: ./packages/menu/src/menu-item-group.vue + + + + + +/* normalize component */ + +var menu_item_group_component = normalizeComponent( + src_menu_item_groupvue_type_script_lang_js_, + menu_item_groupvue_type_template_id_543b7bdc_render, + menu_item_groupvue_type_template_id_543b7bdc_staticRenderFns, + false, + null, + null, + null + +) + +/* hot reload */ +if (false) { var menu_item_group_api; } +menu_item_group_component.options.__file = "packages/menu/src/menu-item-group.vue" +/* harmony default export */ var menu_item_group = (menu_item_group_component.exports); +// CONCATENATED MODULE: ./packages/menu-item-group/index.js + + +/* istanbul ignore next */ +menu_item_group.install = function (Vue) { + Vue.component(menu_item_group.name, menu_item_group); +}; + +/* harmony default export */ var packages_menu_item_group = (menu_item_group); +// CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/vue-loader/lib??vue-loader-options!./packages/input/src/input.vue?vue&type=template&id=343dd774& +var inputvue_type_template_id_343dd774_render = function() { + var _vm = this + var _h = _vm.$createElement + var _c = _vm._self._c || _h + return _c( + "div", + { + class: [ + _vm.type === "textarea" ? "el-textarea" : "el-input", + _vm.inputSize ? "el-input--" + _vm.inputSize : "", + { + "is-disabled": _vm.inputDisabled, + "is-exceed": _vm.inputExceed, + "el-input-group": _vm.$slots.prepend || _vm.$slots.append, + "el-input-group--append": _vm.$slots.append, + "el-input-group--prepend": _vm.$slots.prepend, + "el-input--prefix": _vm.$slots.prefix || _vm.prefixIcon, + "el-input--suffix": + _vm.$slots.suffix || + _vm.suffixIcon || + _vm.clearable || + _vm.showPassword + } + ], + on: { + mouseenter: function($event) { + _vm.hovering = true + }, + mouseleave: function($event) { + _vm.hovering = false + } + } + }, + [ + _vm.type !== "textarea" + ? [ + _vm.$slots.prepend + ? _c( + "div", + { staticClass: "el-input-group__prepend" }, + [_vm._t("prepend")], + 2 + ) + : _vm._e(), + _vm.type !== "textarea" + ? _c( + "input", + _vm._b( + { + ref: "input", + staticClass: "el-input__inner", + attrs: { + tabindex: _vm.tabindex, + type: _vm.showPassword + ? _vm.passwordVisible + ? "text" + : "password" + : _vm.type, + disabled: _vm.inputDisabled, + readonly: _vm.readonly, + autocomplete: _vm.autoComplete || _vm.autocomplete, + "aria-label": _vm.label + }, + on: { + compositionstart: _vm.handleCompositionStart, + compositionupdate: _vm.handleCompositionUpdate, + compositionend: _vm.handleCompositionEnd, + input: _vm.handleInput, + focus: _vm.handleFocus, + blur: _vm.handleBlur, + change: _vm.handleChange + } + }, + "input", + _vm.$attrs, + false + ) + ) + : _vm._e(), + _vm.$slots.prefix || _vm.prefixIcon + ? _c( + "span", + { staticClass: "el-input__prefix" }, + [ + _vm._t("prefix"), + _vm.prefixIcon + ? _c("i", { + staticClass: "el-input__icon", + class: _vm.prefixIcon + }) + : _vm._e() + ], + 2 + ) + : _vm._e(), + _vm.getSuffixVisible() + ? _c("span", { staticClass: "el-input__suffix" }, [ + _c( + "span", + { staticClass: "el-input__suffix-inner" }, + [ + !_vm.showClear || + !_vm.showPwdVisible || + !_vm.isWordLimitVisible + ? [ + _vm._t("suffix"), + _vm.suffixIcon + ? _c("i", { + staticClass: "el-input__icon", + class: _vm.suffixIcon + }) + : _vm._e() + ] + : _vm._e(), + _vm.showClear + ? _c("i", { + staticClass: + "el-input__icon el-icon-circle-close el-input__clear", + on: { + mousedown: function($event) { + $event.preventDefault() + }, + click: _vm.clear + } + }) + : _vm._e(), + _vm.showPwdVisible + ? _c("i", { + staticClass: + "el-input__icon el-icon-view el-input__clear", + on: { click: _vm.handlePasswordVisible } + }) + : _vm._e(), + _vm.isWordLimitVisible + ? _c("span", { staticClass: "el-input__count" }, [ + _c( + "span", + { staticClass: "el-input__count-inner" }, + [ + _vm._v( + "\n " + + _vm._s(_vm.textLength) + + "/" + + _vm._s(_vm.upperLimit) + + "\n " + ) + ] + ) + ]) + : _vm._e() + ], + 2 + ), + _vm.validateState + ? _c("i", { + staticClass: "el-input__icon", + class: ["el-input__validateIcon", _vm.validateIcon] + }) + : _vm._e() + ]) + : _vm._e(), + _vm.$slots.append + ? _c( + "div", + { staticClass: "el-input-group__append" }, + [_vm._t("append")], + 2 + ) + : _vm._e() + ] + : _c( + "textarea", + _vm._b( + { + ref: "textarea", + staticClass: "el-textarea__inner", + style: _vm.textareaStyle, + attrs: { + tabindex: _vm.tabindex, + disabled: _vm.inputDisabled, + readonly: _vm.readonly, + autocomplete: _vm.autoComplete || _vm.autocomplete, + "aria-label": _vm.label + }, + on: { + compositionstart: _vm.handleCompositionStart, + compositionupdate: _vm.handleCompositionUpdate, + compositionend: _vm.handleCompositionEnd, + input: _vm.handleInput, + focus: _vm.handleFocus, + blur: _vm.handleBlur, + change: _vm.handleChange + } + }, + "textarea", + _vm.$attrs, + false + ) + ), + _vm.isWordLimitVisible && _vm.type === "textarea" + ? _c("span", { staticClass: "el-input__count" }, [ + _vm._v(_vm._s(_vm.textLength) + "/" + _vm._s(_vm.upperLimit)) + ]) + : _vm._e() + ], + 2 + ) +} +var inputvue_type_template_id_343dd774_staticRenderFns = [] +inputvue_type_template_id_343dd774_render._withStripped = true + + +// CONCATENATED MODULE: ./packages/input/src/input.vue?vue&type=template&id=343dd774& + +// CONCATENATED MODULE: ./packages/input/src/calcTextareaHeight.js +var hiddenTextarea = void 0; + +var HIDDEN_STYLE = '\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n'; + +var CONTEXT_STYLE = ['letter-spacing', 'line-height', 'padding-top', 'padding-bottom', 'font-family', 'font-weight', 'font-size', 'text-rendering', 'text-transform', 'width', 'text-indent', 'padding-left', 'padding-right', 'border-width', 'box-sizing']; + +function calculateNodeStyling(targetElement) { + var style = window.getComputedStyle(targetElement); + + var boxSizing = style.getPropertyValue('box-sizing'); + + var paddingSize = parseFloat(style.getPropertyValue('padding-bottom')) + parseFloat(style.getPropertyValue('padding-top')); + + var borderSize = parseFloat(style.getPropertyValue('border-bottom-width')) + parseFloat(style.getPropertyValue('border-top-width')); + + var contextStyle = CONTEXT_STYLE.map(function (name) { + return name + ':' + style.getPropertyValue(name); + }).join(';'); + + return { contextStyle: contextStyle, paddingSize: paddingSize, borderSize: borderSize, boxSizing: boxSizing }; +} + +function calcTextareaHeight(targetElement) { + var minRows = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1; + var maxRows = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null; + + if (!hiddenTextarea) { + hiddenTextarea = document.createElement('textarea'); + document.body.appendChild(hiddenTextarea); + } + + var _calculateNodeStyling = calculateNodeStyling(targetElement), + paddingSize = _calculateNodeStyling.paddingSize, + borderSize = _calculateNodeStyling.borderSize, + boxSizing = _calculateNodeStyling.boxSizing, + contextStyle = _calculateNodeStyling.contextStyle; + + hiddenTextarea.setAttribute('style', contextStyle + ';' + HIDDEN_STYLE); + hiddenTextarea.value = targetElement.value || targetElement.placeholder || ''; + + var height = hiddenTextarea.scrollHeight; + var result = {}; + + if (boxSizing === 'border-box') { + height = height + borderSize; + } else if (boxSizing === 'content-box') { + height = height - paddingSize; + } + + hiddenTextarea.value = ''; + var singleRowHeight = hiddenTextarea.scrollHeight - paddingSize; + + if (minRows !== null) { + var minHeight = singleRowHeight * minRows; + if (boxSizing === 'border-box') { + minHeight = minHeight + paddingSize + borderSize; + } + height = Math.max(minHeight, height); + result.minHeight = minHeight + 'px'; + } + if (maxRows !== null) { + var maxHeight = singleRowHeight * maxRows; + if (boxSizing === 'border-box') { + maxHeight = maxHeight + paddingSize + borderSize; + } + height = Math.min(maxHeight, height); + } + result.height = height + 'px'; + hiddenTextarea.parentNode && hiddenTextarea.parentNode.removeChild(hiddenTextarea); + hiddenTextarea = null; + return result; +}; +// EXTERNAL MODULE: external "element-ui/lib/utils/merge" +var merge_ = __webpack_require__(7); +var merge_default = /*#__PURE__*/__webpack_require__.n(merge_); + +// EXTERNAL MODULE: external "element-ui/lib/utils/shared" +var shared_ = __webpack_require__(19); + +// CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./packages/input/src/input.vue?vue&type=script&lang=js& +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// +// + + + + + + + +/* harmony default export */ var inputvue_type_script_lang_js_ = ({ + name: 'ElInput', + + componentName: 'ElInput', + + mixins: [emitter_default.a, migrating_default.a], + + inheritAttrs: false, + + inject: { + elForm: { + default: '' + }, + elFormItem: { + default: '' + } + }, + + data: function data() { + return { + textareaCalcStyle: {}, + hovering: false, + focused: false, + isComposing: false, + passwordVisible: false + }; + }, + + + props: { + value: [String, Number], + size: String, + resize: String, + form: String, + disabled: Boolean, + readonly: Boolean, + type: { + type: String, + default: 'text' + }, + autosize: { + type: [Boolean, Object], + default: false + }, + autocomplete: { + type: String, + default: 'off' + }, + /** @Deprecated in next major version */ + autoComplete: { + type: String, + validator: function validator(val) { + false && false; + return true; + } + }, + validateEvent: { + type: Boolean, + default: true + }, + suffixIcon: String, + prefixIcon: String, + label: String, + clearable: { + type: Boolean, + default: false + }, + showPassword: { + type: Boolean, + default: false + }, + showWordLimit: { + type: Boolean, + default: false + }, + tabindex: String + }, + + computed: { + _elFormItemSize: function _elFormItemSize() { + return (this.elFormItem || {}).elFormItemSize; + }, + validateState: function validateState() { + return this.elFormItem ? this.elFormItem.validateState : ''; + }, + needStatusIcon: function needStatusIcon() { + return this.elForm ? this.elForm.statusIcon : false; + }, + validateIcon: function validateIcon() { + return { + validating: 'el-icon-loading', + success: 'el-icon-circle-check', + error: 'el-icon-circle-close' + }[this.validateState]; + }, + textareaStyle: function textareaStyle() { + return merge_default()({}, this.textareaCalcStyle, { resize: this.resize }); + }, + inputSize: function inputSize() { + return this.size || this._elFormItemSize || (this.$ELEMENT || {}).size; + }, + inputDisabled: function inputDisabled() { + return this.disabled || (this.elForm || {}).disabled; + }, + nativeInputValue: function nativeInputValue() { + return this.value === null || this.value === undefined ? '' : String(this.value); + }, + showClear: function showClear() { + return this.clearable && !this.inputDisabled && !this.readonly && this.nativeInputValue && (this.focused || this.hovering); + }, + showPwdVisible: function showPwdVisible() { + return this.showPassword && !this.inputDisabled && !this.readonly && (!!this.nativeInputValue || this.focused); + }, + isWordLimitVisible: function isWordLimitVisible() { + return this.showWordLimit && this.$attrs.maxlength && (this.type === 'text' || this.type === 'textarea') && !this.inputDisabled && !this.readonly && !this.showPassword; + }, + upperLimit: function upperLimit() { + return this.$attrs.maxlength; + }, + textLength: function textLength() { + if (typeof this.value === 'number') { + return String(this.value).length; + } + + return (this.value || '').length; + }, + inputExceed: function inputExceed() { + // show exceed style if length of initial value greater then maxlength + return this.isWordLimitVisible && this.textLength > this.upperLimit; + } + }, + + watch: { + value: function value(val) { + this.$nextTick(this.resizeTextarea); + if (this.validateEvent) { + this.dispatch('ElFormItem', 'el.form.change', [val]); + } + }, + + // native input value is set explicitly + // do not use v-model / :value in template + // see: https://github.com/ElemeFE/element/issues/14521 + nativeInputValue: function nativeInputValue() { + this.setNativeInputValue(); + }, + + // when change between and