diff --git a/.babelrc b/.babelrc deleted file mode 100644 index 0cb92a3..0000000 --- a/.babelrc +++ /dev/null @@ -1,19 +0,0 @@ -{ - "runtimeHelpers": true, - "externalHelpers": false, - "exclude": "node_modules/**", - "presets": [ - [ - "latest", - { - "es2015": { - "modules": false - } - } - ] - ], - "plugins": [ - "external-helpers", - "transform-object-assign" - ] -} \ No newline at end of file diff --git a/.codeclimate.yml b/.codeclimate.yml deleted file mode 100644 index 2431f08..0000000 --- a/.codeclimate.yml +++ /dev/null @@ -1,16 +0,0 @@ -engines: - eslint: - enabled: true - duplication: - enabled: true - config: - languages: - - javascript -ratings: - paths: - - "src/**/*" -exclude_paths: -- "dist/**.js" -- "examples/**/*" -- "test/**/*" -- "build/*" \ No newline at end of file diff --git a/.editorconfig b/.editorconfig deleted file mode 100644 index 5d12634..0000000 --- a/.editorconfig +++ /dev/null @@ -1,13 +0,0 @@ -# editorconfig.org -root = true - -[*] -indent_style = space -indent_size = 2 -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true - -[*.md] -trim_trailing_whitespace = false diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index 8e4b790..0000000 --- a/.eslintrc.js +++ /dev/null @@ -1,12 +0,0 @@ -module.exports = { - env: { - es2021: true, - }, - extends: ["eslint:recommended", "plugin:vue/essential"], - parserOptions: { - ecmaVersion: 8, - sourceType: "module", - }, - plugins: ["vue"], - rules: {}, -}; diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index f255351..0000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,13 +0,0 @@ -# These are supported funding model platforms - -github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2] -patreon: # Replace with a single Patreon username -open_collective: # Replace with a single Open Collective username -ko_fi: # Replace with a single Ko-fi username -tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel -community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry -liberapay: # Replace with a single Liberapay username -issuehunt: # Replace with a single IssueHunt username -otechie: # Replace with a single Otechie username -lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry -custom: ['https://paypal.me/sd1pu'] diff --git a/.github/workflows/publish-gh-pages.yml b/.github/workflows/publish-gh-pages.yml deleted file mode 100644 index 594e7fe..0000000 --- a/.github/workflows/publish-gh-pages.yml +++ /dev/null @@ -1,45 +0,0 @@ -# This workflow will publish dist to gh-pages on every push to master branch -# For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages - -name: Build - -on: - push: - branches: - - master - -jobs: - gh-pages: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - with: - node-version: 14 - - - name: Build and Lint - run: | - npm i - npm run lint - - - name: Recreating gh-pages - run: | - cd examples/vue - npm i - npm run build - cd dist - cp -r ../../../.git . - git config --local user.email "dipu.sudipta@gmail.com" - git config --local user.name "dipu-bd" - git branch -D gh-pages || true - git checkout -b gh-pages - git add --all - git commit -m "[GHA] Update gh-pages" - - - name: Publish changes - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - branch: gh-pages - force: true - directory: examples/vue/dist diff --git a/.gitignore b/.gitignore deleted file mode 100644 index b484db6..0000000 --- a/.gitignore +++ /dev/null @@ -1,13 +0,0 @@ -Thumbs.db -.DS_Store -.idea -node_modules -bower_components -npm-debug.log -.nyc_output -coverage -reports -selenium-debug.log -local.log -sauce_connect.log -yarn.lock diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 40939fe..0000000 --- a/.npmignore +++ /dev/null @@ -1,10 +0,0 @@ -.editorconfig -.gitignore -.npmignore -.idea/ -.git/ -_config.yml -bower.json -circle.yml -CHANGELOG.md -.codeclimate.yml diff --git a/.prettierrc b/.prettierrc deleted file mode 100644 index 8eb99c3..0000000 --- a/.prettierrc +++ /dev/null @@ -1,7 +0,0 @@ -{ - "trailingComma": "es5", - "singleQuote": false, - "printWidth": 100, - "semi": true, - "tabWidth": 2 -} diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 0306580..0000000 --- a/.travis.yml +++ /dev/null @@ -1,17 +0,0 @@ -language: node_js - -node_js: - - "lts/*" - - "6" - - "7" - - "8" - - "9" - -install: - - npm install - -script: - - npm run prod - -notifications: - email: false diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index e69de29..0000000 diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 8dada3e..0000000 --- a/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright {yyyy} {name of copyright owner} - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/README.md b/README.md deleted file mode 100644 index 06e331a..0000000 --- a/README.md +++ /dev/null @@ -1,147 +0,0 @@ -# Vue Weather Widget - -[![vue 2x](https://img.shields.io/badge/vuejs-2.x-brightgreen.svg)](https://vuejs.org/) -[![npm](https://img.shields.io/npm/v/vue-weather-widget)](http://npmjs.com/package/vue-weather-widget) -[![npm download per month](https://img.shields.io/npm/dm/vue-weather-widget)](http://npmjs.com/package/vue-weather-widget) -[![Libraries.io dependency status for latest release](https://img.shields.io/librariesio/release/npm/vue-weather-widget?color=red)](https://raw.githubusercontent.com/dipu-bd/vue-weather-widget/master/package.json) -[![NPM license](https://img.shields.io/npm/l/vue-weather-widget?color=blueviolet)](https://raw.githubusercontent.com/dipu-bd/vue-weather-widget/master/LICENSE) -[![Build](https://github.com/dipu-bd/vue-weather-widget/actions/workflows/publish-gh-pages.yml/badge.svg)](https://github.com/dipu-bd/vue-weather-widget/actions/workflows/publish-gh-pages.yml) - -Weather widget inspired by [forecast embeds](https://blog.darksky.net/forecast-embeds/) and powered by [OpenWeatherMap](https://openweathermap.org/) and [DarkSky](https://darksky.net/dev) API. - -## Demo - -[Browser preview](https://dipu-bd.github.io/vue-weather-widget/) - -[![Preview](https://raw.githubusercontent.com/dipu-bd/vue-weather-widget/master/other/preview.gif)](https://dipu-bd.github.io/vue-weather-widget/) - -## Install - -### NPM - -``` -npm i vue-weather-widget -``` - -### YARN - -``` -yarn add vue-weather-widget -``` - -## API Keys - -This component works with both the DarkSky API, and the OpenWeatherMap API. Since it is no longer -possible to create a DarkSky API key, it is recommended to use OpenWeatherMap. - -> Generate new API key from https://openweathermap.org/appid - -## Usage - -```html - - - -``` - -## Props - -| Props | Type | Default | Description | -| ----------------- | ------------------- | ------------------ | -------------------------------------------------------------------------------------------------------------- | -| api-key | String (_required_) | - | Your OpenWeatherMap or Dark Sky API key | -| use-dark-sky-api | Boolean | `false` | Use DarkSky API instead of OpenWeatherMap | -| latitude | String | current | The latitude of a location (By default, it will use IP to find location) | -| longitude | String | current | The longitude of a location (By default, it will use IP to find location) | -| language | String | `"en"` | A list of supported languages are given below. | -| units | String | `"us"` | A list of supported units are given below. | -| hide-header | Boolean | `false` | Whether to show or hide the title bar. | -| update-interval | Number | `null` | Interval in _milliseconds_ to update weather data periodically. Set it to `0` or `null` to disable autoupdate. | -| disable-animation | Boolean | `false` | Use static icons when enabled. | -| bar-color | String | `"#444"` | Color of the Temparature bar. | -| text-color | String | `"#333"` | Color of the text. | -| ipregistry-key | String | `"f8n4kqe8pv4kii"` | Your ipregistry key to get current location from IP address | - - | - | - -## Slots - -| Name | Description | -| ------- | ---------------------------------- | -| header | The header component | -| title | The title inside the header | -| loading | Component to display while loading | -| error | Component to display on error | - -### Supported units - -List of supported units: - -- `auto`: automatically select units based on geographic location -- `ca`: same as si, except that windSpeed and windGust are in kilometers per hour -- `uk`: same as si, except that nearestStormDistance and visibility are in miles, and windSpeed and windGust are in miles per hour -- `us`: Imperial units (the default) -- `si`: SI units - -### Supported languages - -- `ar`: Arabic -- `az`: Azerbaijani -- `be`: Belarusian -- `bg`: Bulgarian -- `bs`: Bosnian -- `ca`: Catalan -- `cs`: Czech -- `de`: German -- `el`: Greek -- `en`: English (which is the default) -- `es`: Spanish -- `et`: Estonian -- `fr`: French -- `hr`: Croatian -- `hu`: Hungarian -- `id`: Indonesian -- `it`: Italian -- `is`: Icelandic -- `ka`: Georgian -- `kw`: Cornish -- `nb`: Norwegian Bokmål -- `nl`: Dutch -- `pl`: Polish -- `pt`: Portuguese -- `ru`: Russian -- `sk`: Slovak -- `sl`: Slovenian -- `sr`: Serbian -- `sv`: Swedish -- `tet`: Tetum -- `tr`: Turkish -- `uk`: Ukrainian -- `x-pig-latin`: Igpay Atinlay -- `zh`: simplified Chinese -- `zh-tw`: traditional Chinese diff --git a/_config.yml b/_config.yml deleted file mode 100644 index c419263..0000000 --- a/_config.yml +++ /dev/null @@ -1 +0,0 @@ -theme: jekyll-theme-cayman \ No newline at end of file diff --git a/circle.yml b/circle.yml deleted file mode 100644 index af9411a..0000000 --- a/circle.yml +++ /dev/null @@ -1,25 +0,0 @@ -machine: - node: - version: 6.11.2 - environment: - YARN_VERSION: 0.27.5 - PATH: "${PATH}:${HOME}/.yarn/bin:${HOME}/${CIRCLE_PROJECT_REPONAME}/node_modules/.bin" -dependencies: - pre: - - | - if [[ ! -e ~/.yarn/bin/yarn || $(yarn --version) != "${YARN_VERSION}" ]]; then - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version $YARN_VERSION - fi - cache_directories: - - ~/.yarn - - ~/.cache/yarn - override: - - NODE_ENV=dev yarn install - -compile: - override: - - yarn run build - -test: - override: - - yarn run test diff --git a/css/app.f6fdd5ac.css b/css/app.f6fdd5ac.css new file mode 100644 index 0000000..bcec525 --- /dev/null +++ b/css/app.f6fdd5ac.css @@ -0,0 +1 @@ +.vww__widget{width:100%;min-width:250px;max-width:800px}.vww__header{position:relative;padding:10px;border-bottom-style:solid;border-bottom-width:2px}.vww__title{font-size:18px;font-weight:700;text-transform:capitalize}.vww__content{min-height:150px;height:180px;padding:8px;overflow:hidden}.vww__content,.vww__loading{display:flex;align-items:center}.vww__loading{width:100%;justify-content:center}.vww__loading span{display:block;margin-left:10px}.vww__error{width:100%;text-align:center}.vww__error span{display:block;padding:10px}.vww__currently{width:100%;height:100%;flex-direction:column;justify-content:center}.vww__currently,.vww__currently>div{display:flex;align-items:center}.vww__currently .vww__title{margin-top:10px}.vww__temp{padding:0 10px;font-size:50px;font-weight:700;line-height:.65em}.vww__temp>div{display:block;text-align:center;padding-right:10px}.vww__wind{font-size:14px}.vww__daily{display:none;height:100%}@media screen and (min-width:600px){.vww__currently{width:300px}.vww__daily{display:block;height:100%;width:calc(100% - 300px);display:flex;align-items:center;justify-content:space-between;overflow-x:auto}}.vww__day{height:100%;text-align:start;position:relative;min-width:50px;display:flex;flex-flow:column;justify-content:flex-start;align-items:center;text-align:center}.vww__day>span{display:block;font-size:14px;font-weight:700;margin-bottom:5px}.vww__day-bar{margin-top:20px;width:30px;height:calc(100% - 100px)}.vww__day-bar div{margin:0 5px;display:flex}.vww__day-bar div:first-child{align-items:flex-end}.vww__day-bar div:last-child{align-items:flex-start}.vww__day-bar span{display:block;font-size:12px}.container{font-family:Helvetica,Arial,sans-serif;color:#2c3e50;height:95vh;margin:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:700px}h1{color:teal;border-bottom:1px solid #ddd;padding:10px 0} \ No newline at end of file diff --git a/examples/vue/.gitignore b/examples/vue/.gitignore deleted file mode 100644 index 837579e..0000000 --- a/examples/vue/.gitignore +++ /dev/null @@ -1,23 +0,0 @@ -.DS_Store -node_modules -/dist -package-lock.json - -# local env files -.env.local -.env.*.local - -# Log files -npm-debug.log* -yarn-debug.log* -yarn-error.log* -pnpm-debug.log* - -# Editor directories and files -.idea -.vscode -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/examples/vue/README.md b/examples/vue/README.md deleted file mode 100644 index 3e912e4..0000000 --- a/examples/vue/README.md +++ /dev/null @@ -1,24 +0,0 @@ -# vue - -## Project setup -``` -npm install -``` - -### Compiles and hot-reloads for development -``` -npm run serve -``` - -### Compiles and minifies for production -``` -npm run build -``` - -### Lints and fixes files -``` -npm run lint -``` - -### Customize configuration -See [Configuration Reference](https://cli.vuejs.org/config/). diff --git a/examples/vue/package.json b/examples/vue/package.json deleted file mode 100644 index 85e4d9e..0000000 --- a/examples/vue/package.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "name": "vww-example", - "version": "0.2.0", - "private": true, - "scripts": { - "serve": "vue-cli-service serve", - "build": "vue-cli-service build", - "lint": "vue-cli-service lint" - }, - "dependencies": { - "core-js": "^3.39.0", - "vue": "^2.7.16", - "vue-weather-widget": "file:../../" - }, - "devDependencies": { - "@vue/cli-plugin-babel": "~5.0.8", - "@vue/cli-service": "~5.0.8", - "vue-template-compiler": "^2.7.16" - }, - "browserslist": [ - "> 1%", - "last 2 versions", - "not dead" - ] -} diff --git a/examples/vue/public/index.html b/examples/vue/public/index.html deleted file mode 100644 index 4123528..0000000 --- a/examples/vue/public/index.html +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - <%= htmlWebpackPlugin.options.title %> - - - -
- - - diff --git a/examples/vue/src/App.vue b/examples/vue/src/App.vue deleted file mode 100644 index d843755..0000000 --- a/examples/vue/src/App.vue +++ /dev/null @@ -1,71 +0,0 @@ - - - - - diff --git a/examples/vue/src/main.js b/examples/vue/src/main.js deleted file mode 100644 index dcd0325..0000000 --- a/examples/vue/src/main.js +++ /dev/null @@ -1,6 +0,0 @@ -import Vue from 'vue' -import App from './App.vue' - -new Vue({ - render: h => h(App), -}).$mount('#app') diff --git a/examples/vue/vue.config.js b/examples/vue/vue.config.js deleted file mode 100644 index f803c95..0000000 --- a/examples/vue/vue.config.js +++ /dev/null @@ -1,6 +0,0 @@ -/** - * @type {import('@vue/cli-service').ProjectOptions} - */ -module.exports = { - publicPath: "", -}; diff --git a/examples/vue/public/favicon.ico b/favicon.ico similarity index 100% rename from examples/vue/public/favicon.ico rename to favicon.ico diff --git a/index.html b/index.html new file mode 100644 index 0000000..f41cbeb --- /dev/null +++ b/index.html @@ -0,0 +1 @@ +vww-example
\ No newline at end of file diff --git a/js/app.8ae5b7cf.js b/js/app.8ae5b7cf.js new file mode 100644 index 0000000..d6c0967 --- /dev/null +++ b/js/app.8ae5b7cf.js @@ -0,0 +1,2 @@ +(function(){"use strict";var t={491:function(t,e,a){var r=a(471),n=function(){var t=this,e=t._self._c;return e("section",{staticClass:"container"},[e("h1",[t._v("From Open Weather Map")]),e("vue-weather",{attrs:{"api-key":"45aee2ef715cfa91ed7957e8cfd37a70",units:"uk",language:"en",latitude:t.dhaka.lat,longitude:t.dhaka.lng}},[e("span",{attrs:{slot:"title"},slot:"title"},[t._v("Weather for "+t._s(t.dhaka.name))])]),e("hr"),e("h1",[t._v("From Dark Sky Api")]),e("vue-weather",{attrs:{"use-dark-sky-api":"","api-key":"e20753dfcaae902ab091fbb4925d432a",units:"uk",language:"en",latitude:t.sylhet.lat,longitude:t.sylhet.lng}},[e("span",{attrs:{slot:"title"},slot:"title"},[t._v("Weather for "+t._s(t.sylhet.name))])])],1)},i=[],o=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"vww__widget",style:{color:t.textColor}},[t._t("header",(function(){return[t.hideHeader?t._e():e("div",{staticClass:"vww__header",style:{borderColor:t.barColor}},[e("span",{staticClass:"vww__title"},[t._t("title",(function(){return[t._v("Weather")]}))],2)])]})),e("div",{staticClass:"vww__content"},[t.loading?e("div",{staticClass:"vww__loading"},[t._t("loading",(function(){return[e("skycon",{attrs:{condition:"partly-cloudy-day",color:t.textColor,paused:t.disableAnimation}}),e("span",{staticClass:"vww__title"},[t._v("Loading...")])]}))],2):!t.error&&t.weather&&t.currently&&t.daily?[e("div",{staticClass:"vww__currently"},[e("div",[e("skycon",{attrs:{condition:t.currently.icon,size:"80",color:t.textColor,paused:t.disableAnimation}}),e("div",{staticClass:"vww__temp"},[t._v(" "+t._s(Math.round(t.currently.temperature))+"° "),t.isDownward?e("div",[e("svg",{attrs:{viewBox:"0 0 306 306",width:"24",height:"24"}},[e("polygon",{style:{fill:t.textColor},attrs:{points:"270.3,58.65 153,175.95 35.7,58.65 0,94.35 153,247.35 306,94.35"}})])]):e("div",[e("svg",{attrs:{viewBox:"0 0 306 306",width:"24",height:"24"}},[e("polygon",{style:{fill:t.textColor},attrs:{points:"35.7,247.35 153,130.05 270.3,247.35 306,211.65 153,58.65 0,211.65"}})])])])],1),e("div",{staticClass:"vww__title"},[t._v(t._s(t.currently.summary))]),e("div",{staticClass:"vww__wind"},[t._v(" Wind: "+t._s(Math.round(t.currently.windSpeed))+" mph ("+t._s(t.windBearing)+") ")])]),e("div",{staticClass:"vww__daily"},t._l(t.daily,(function(a){return e("div",{key:a.time,staticClass:"vww__day"},[e("span",[t._v(t._s(a.weekName))]),e("span",[e("skycon",{staticStyle:{display:"block"},attrs:{condition:a.icon,size:"26",color:t.textColor,paused:t.disableAnimation}})],1),e("div",{staticClass:"vww__day-bar"},[e("div",{style:{height:`${a.top}%`}},[e("span",[t._v(t._s(Math.round(a.temperatureMax))+"°")])]),e("div",{style:{borderRadius:"10px",background:t.barColor,height:`${a.height}%`}},[t._v("   ")]),e("div",{style:{height:`${a.bottom}%`}},[e("span",[t._v(t._s(Math.round(a.temperatureMin))+"°")])])])])})),0)]:e("div",{staticClass:"vww__error"},[t._t("error",(function(){return[e("skycon",{attrs:{condition:"rain",color:t.textColor,paused:t.disableAnimation}}),e("span",{staticClass:"vww__title"},[t._v(t._s(t.error||"Something went wrong!"))])]}))],2)],2)],2)},s=[],l=a(0),u=a.n(l);const d="vww__cache_ip",c="vww__cache_ip_location",h="vww__cache_geocode",p={"clear-day":["01d"],"clear-night":["01n"],cloudy:["03d","03n"],fog:["50d","50n"],"partly-cloudy-day":["02d","04d"],"partly-cloudy-night":["02n","04n"],rain:["09d","09n","10d","10n","11d","11n"],sleet:["13d","13n"],snow:["13d","13n"],wind:["50d","50n"]},g={auto:"standard",us:"imperial",uk:"metric"},y={lookupIP:()=>{let t=localStorage[d]||"{}";return t=JSON.parse(t),t.ip?Promise.resolve(t):fetch("https://www.cloudflare.com/cdn-cgi/trace").then((t=>t.text())).then((t=>t.split("\n").map((t=>t.split("="))).filter((t=>2==t.length)).reduce(((t,e)=>(t[e[0].trim()]=e[1].trim(),t)),{}))).then((t=>(localStorage[d]=JSON.stringify(t),t)))},fetchLocationByIP:(t,e)=>{if(!e)return y.lookupIP().then((e=>y.fetchLocationByIP(t,e["ip"])));let a=localStorage[c]||"{}";return a=JSON.parse(a),a[e]?a[e]:(t=t||"f8n4kqe8pv4kii",fetch(`https://api.ipregistry.co/${e}?key=${t}`).then((t=>t.json())).then((t=>(a[e]=t.location||{},localStorage[c]=JSON.stringify(a),a[e]))))},geocode:(t,e,a=!1)=>{let r=localStorage[h]||"{}";if(r=JSON.parse(r),r[e])return Promise.resolve(r[e]);t=t||"c3bb8aa0a56b21122dea6a2a8ada70c8";const n=a?"reverse":"forward";return fetch(`//api.positionstack.com/v1/${n}?access_key=${t}&query=${e}`).then((t=>t.json())).then((t=>{if(t.error)throw new Error("(api.positionstack.com) "+t.error.message);return r[e]=t.data[0],localStorage[h]=JSON.stringify(r),r[e]}))},reverseGeocode:(t,e,a)=>y.geocode(t,`${e},${a}`,!0),fetchWeather:t=>{if(t=t||{},t.units=t.units||"us",t.language=t.language||"en",!t.lat||!t.lng)throw new Error("Geolocation is required");return new Promise(((e,a)=>{u()(`https://api.darksky.net/forecast/${t.apiKey}/${t.lat},${t.lng}?units=${t.units}&lang=${t.language}`,((t,r)=>{t?a(t):e(r)}))}))},fetchOWMWeather:(t={})=>{if(t.units=t.units||"auto",t.version=t.version||"3.0",t.language=t.language||"en",!t.lat||!t.lng)throw new Error("Geolocation is required");const e=g[t.units]||"standard";return fetch(`https://api.openweathermap.org/data/${t.version}/onecall?appid=${t.apiKey}&lat=${t.lat}&lon=${t.lng}&units=${e}&lang=${t.language}`).then((t=>t.json())).then(y.mapData)},mapData:t=>{const{current:e}=t,{weather:a}=e,[r]=a,{description:n,icon:i}=r,o=y.mapIcon(i);return{currently:Object.assign({},e,{icon:o,temperature:e.temp,summary:n,windSpeed:e.wind_speed,windBearing:e.wind_deg}),daily:{data:t.daily.map((t=>({temperatureMax:t.temp.max,temperatureMin:t.temp.min,time:t.dt,icon:y.mapIcon(t.weather[0].icon)})))},hourly:{data:t.hourly.map((t=>({temperature:t.temp})))}}},mapIcon:t=>Object.keys(p).find((e=>p[e].includes(t)))};var w=y,f=a(995),m={name:"VueWeatherWidget",components:{Skycon:f.A},props:{useDarkSkyApi:{type:Boolean,default:!1},apiKey:{type:String,required:!0},latitude:{type:String|Number},longitude:{type:String|Number},language:{type:String,default:"en"},units:{type:String,default:"us"},hideHeader:{type:Boolean,default:!1},updateInterval:{type:Number},disableAnimation:{type:Boolean,default:!1},barColor:{type:String,default:"#444"},textColor:{type:String,default:"#333"},ipregistryKey:{type:String,default:"f8n4kqe8pv4kii"}},data(){return{loading:!0,weather:null,error:null,timeout:null}},watch:{apiKey:"hydrate",latitude:"hydrate",longitude:"hydrate",language:"hydrate",units:"hydrate",updateInterval:"hydrate"},mounted(){this.hydrate()},destroyed(){clearTimeout(this.timeout)},computed:{currently(){return this.weather.currently},isDownward(){const t=this.weather.hourly.data,e=(new Date).getTime()/1e3;for(let a=0;ae&&(e=r.temperatureMax),r.temperatureMinthis.hydrate(!1)),t))},hydrate(t=!0){return this.$set(this,"loading",t),this.$nextTick().then(this.processLocation).then(this.loadWeather).then((()=>{this.$set(this,"error",null)})).catch((t=>{this.$set(this,"error",""+t)})).finally((()=>{this.$set(this,"loading",!1),this.autoupdate()}))},processLocation(){if(!this.latitude||!this.longitude)throw new Error("VueWeatherWidget: Latitude or longitude is required")}}},v=m,_=a(656),k=(0,_.A)(v,o,s,!1,null,null,null),b=k.exports,S=b,C={name:"app",components:{VueWeather:S},data:()=>({dhaka:{name:"Dhaka, Bangladesh",lat:23.8103,lng:90.4125},sylhet:{name:"Sylhet, Bangladesh",lat:24.8949,lng:91.8687}})},x=C,$=(0,_.A)(x,n,i,!1,null,null,null),O=$.exports;new r.Ay({render:t=>t(O)}).$mount("#app")}},e={};function a(r){var n=e[r];if(void 0!==n)return n.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,a),i.exports}a.m=t,function(){var t=[];a.O=function(e,r,n,i){if(!r){var o=1/0;for(d=0;d=i)&&Object.keys(a.O).every((function(t){return a.O[t](r[l])}))?r.splice(l--,1):(s=!1,i0&&t[d-1][2]>i;d--)t[d]=t[d-1];t[d]=[r,n,i]}}(),function(){a.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return a.d(e,{a:e}),e}}(),function(){a.d=function(t,e){for(var r in e)a.o(e,r)&&!a.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})}}(),function(){a.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}()}(),function(){a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)}}(),function(){var t={524:0};a.O.j=function(e){return 0===t[e]};var e=function(e,r){var n,i,o=r[0],s=r[1],l=r[2],u=0;if(o.some((function(e){return 0!==t[e]}))){for(n in s)a.o(s,n)&&(a.m[n]=s[n]);if(l)var d=l(a)}for(e&&e(r);u {\n let cache = localStorage[IP_CACHE] || \"{}\";\n cache = JSON.parse(cache);\n if (cache.ip) {\n return Promise.resolve(cache);\n }\n\n return fetch(\"https://www.cloudflare.com/cdn-cgi/trace\")\n .then((resp) => resp.text())\n .then((text) => {\n return text\n .split(\"\\n\")\n .map((l) => l.split(\"=\"))\n .filter((x) => x.length == 2)\n .reduce((o, x) => {\n o[x[0].trim()] = x[1].trim();\n return o;\n }, {});\n })\n .then((data) => {\n localStorage[IP_CACHE] = JSON.stringify(data);\n return data;\n });\n },\n\n fetchLocationByIP: (apiKey, ip) => {\n if (!ip) {\n return utils.lookupIP().then((data) => {\n return utils.fetchLocationByIP(apiKey, data[\"ip\"]);\n });\n }\n\n let cache = localStorage[IP_LOCATION_CACHE] || \"{}\";\n cache = JSON.parse(cache);\n if (cache[ip]) {\n return cache[ip];\n }\n\n apiKey = apiKey || \"f8n4kqe8pv4kii\";\n return fetch(`https://api.ipregistry.co/${ip}?key=${apiKey}`)\n .then((resp) => resp.json())\n .then((result) => {\n cache[ip] = result.location || {};\n localStorage[IP_LOCATION_CACHE] = JSON.stringify(cache);\n return cache[ip];\n });\n // latitude, longitude, city, country.name\n },\n\n geocode: (apiKey, query, reversed = false) => {\n let cache = localStorage[GEOCODE_CACHE] || \"{}\";\n cache = JSON.parse(cache);\n if (cache[query]) {\n return Promise.resolve(cache[query]);\n }\n\n apiKey = apiKey || \"c3bb8aa0a56b21122dea6a2a8ada70c8\";\n const apiType = reversed ? \"reverse\" : \"forward\";\n return fetch(`//api.positionstack.com/v1/${apiType}?access_key=${apiKey}&query=${query}`)\n .then((resp) => resp.json())\n .then((result) => {\n if (result.error) {\n throw new Error(\"(api.positionstack.com) \" + result.error.message);\n }\n cache[query] = result.data[0];\n localStorage[GEOCODE_CACHE] = JSON.stringify(cache);\n return cache[query];\n });\n // latitude, longitude, region, country\n },\n\n reverseGeocode: (apiKey, lat, lng) => {\n return utils.geocode(apiKey, `${lat},${lng}`, true);\n },\n\n fetchWeather: (opts) => {\n opts = opts || {};\n opts.units = opts.units || \"us\";\n opts.language = opts.language || \"en\";\n if (!opts.lat || !opts.lng) {\n throw new Error(\"Geolocation is required\");\n }\n // return fetchJsonp(\n // `https://api.darksky.net/forecast/${opts.apiKey}` +\n // `/${opts.lat},${opts.lng}` +\n // `?units=${opts.units}&lang=${opts.language}`\n // ).then((resp) => resp.json());\n return new Promise((resolve, reject) => {\n jsonp(\n `https://api.darksky.net/forecast/${opts.apiKey}` +\n `/${opts.lat},${opts.lng}` +\n `?units=${opts.units}&lang=${opts.language}`,\n (err, data) => {\n if (err) reject(err);\n else resolve(data);\n }\n );\n });\n },\n\n fetchOWMWeather: (opts = {}) => {\n opts.units = opts.units || \"auto\";\n opts.version = opts.version || \"3.0\";\n opts.language = opts.language || \"en\";\n if (!opts.lat || !opts.lng) {\n throw new Error(\"Geolocation is required\");\n }\n\n const units = UNIT_MAPPINGS[opts.units] || \"standard\";\n\n return fetch(\n `https://api.openweathermap.org/data/${opts.version}/onecall?appid=${opts.apiKey}` +\n `&lat=${opts.lat}` +\n `&lon=${opts.lng}` +\n `&units=${units}` +\n `&lang=${opts.language}`\n )\n .then((resp) => resp.json())\n .then(utils.mapData);\n },\n\n mapData: (data) => {\n const { current } = data;\n const { weather } = current;\n const [currentWeather] = weather;\n const { description, icon } = currentWeather;\n const iconName = utils.mapIcon(icon);\n\n return {\n currently: Object.assign({}, current, {\n icon: iconName,\n temperature: current.temp,\n summary: description,\n windSpeed: current.wind_speed,\n windBearing: current.wind_deg,\n }),\n daily: {\n data: data.daily.map((day) => {\n return {\n temperatureMax: day.temp.max,\n temperatureMin: day.temp.min,\n time: day.dt,\n icon: utils.mapIcon(day.weather[0].icon),\n };\n }),\n },\n hourly: {\n data: data.hourly.map((hour) => {\n return {\n temperature: hour.temp,\n };\n }),\n },\n };\n },\n\n mapIcon: (code) => {\n return Object.keys(ICON_MAPPINGS).find((key) => {\n return ICON_MAPPINGS[key].includes(code);\n });\n },\n};\n\nexport default utils;\n","import Utils from \"./utils\";\nimport Skycon from \"vue-skycons\";\n\nexport default {\n name: \"VueWeatherWidget\",\n\n components: {\n Skycon,\n },\n\n props: {\n // Pass true to use DarkSky API, otherwise it will use OpenWeatherMap API\n useDarkSkyApi: {\n type: Boolean,\n default: false,\n },\n\n // Your Dark Sky / OpenWeatherMap secret key\n apiKey: {\n type: String,\n required: true,\n },\n\n // // Address to lookup location.\n // address: {\n // type: String,\n // },\n\n // The latitude of a location (in decimal degrees).\n // Positive is north, negative is south.\n latitude: {\n type: String | Number,\n },\n\n // The longitude of a location (in decimal degrees).\n // Positive is east, negative is west.\n longitude: {\n type: String | Number,\n },\n\n // Return summary properties in the desired language.\n // For list of supported languages, visit https://darksky.net/dev/docs/forecast\n language: {\n type: String,\n default: \"en\",\n },\n\n // Return weather conditions in the requested units.\n // For list of supported units, visit https://darksky.net/dev/docs/forecast\n units: {\n type: String,\n default: \"us\",\n },\n\n // Controls whether to show or hide the title bar.\n hideHeader: {\n type: Boolean,\n default: false,\n },\n\n // Auto update interval in milliseconds\n updateInterval: {\n type: Number,\n },\n\n // Use static skycons\n disableAnimation: {\n type: Boolean,\n default: false,\n },\n\n // Color of the Temparature bar. Default: '#444'\n barColor: {\n type: String,\n default: \"#444\",\n },\n\n // Color of the text. Default: '#333'\n textColor: {\n type: String,\n default: \"#333\",\n },\n\n // // Your positionstack api key for geocoding\n // positionstackApi: {\n // type: String,\n // default: \"7f9c71310f410847fceb9537a83f3882\",\n // },\n\n // Your ipregistry key to get location from ip address\n ipregistryKey: {\n type: String,\n default: \"f8n4kqe8pv4kii\",\n },\n },\n\n data() {\n return {\n loading: true,\n weather: null,\n error: null,\n //location: {},\n timeout: null,\n };\n },\n\n watch: {\n apiKey: \"hydrate\",\n // address: \"hydrate\",\n latitude: \"hydrate\",\n longitude: \"hydrate\",\n language: \"hydrate\",\n units: \"hydrate\",\n updateInterval: \"hydrate\",\n },\n\n mounted() {\n this.hydrate();\n },\n\n destroyed() {\n clearTimeout(this.timeout);\n },\n\n computed: {\n currently() {\n return this.weather.currently;\n },\n isDownward() {\n const hourly = this.weather.hourly.data;\n const time = new Date().getTime() / 1e3;\n for (let i = 0; i < hourly.length; i++) {\n if (hourly[i].time <= time) continue;\n return hourly[i].temperature < this.currently.temperature;\n }\n },\n windBearing() {\n const t = Math.round(this.currently.windBearing / 45);\n return [\"N\", \"NE\", \"E\", \"SE\", \"S\", \"SW\", \"W\", \"NW\", \"N\"][t];\n },\n daily() {\n const forecasts = [];\n let globalMaxTemp = -Infinity;\n let globalMinTemp = Infinity;\n\n const tomorrow = new Date(new Date().toDateString());\n const today = tomorrow.getTime() / 1e3 + 24 * 3600 - 1;\n\n const daily = this.weather.daily.data;\n for (let i = 0; i < daily.length; i++) {\n const day = daily[i];\n if (day.temperatureMax > globalMaxTemp) {\n globalMaxTemp = day.temperatureMax;\n }\n if (day.temperatureMin < globalMinTemp) {\n globalMinTemp = day.temperatureMin;\n }\n forecasts.push(Object.assign({}, day));\n }\n\n const tempRange = globalMaxTemp - globalMinTemp;\n for (let i = 0; i < forecasts.length; ++i) {\n const day = forecasts[i];\n if (day.time <= today) {\n day.weekName = \"Today\";\n } else {\n day.weekName = new Date(day.time * 1000).toLocaleDateString(this.language, {\n weekday: \"short\",\n });\n }\n const max = day.temperatureMax;\n const min = day.temperatureMin;\n day.height = Math.round((100 * (max - min)) / tempRange);\n day.top = Math.round((100 * (globalMaxTemp - max)) / tempRange);\n day.bottom = 100 - (day.top + day.height);\n }\n return forecasts;\n },\n },\n\n methods: {\n async loadWeather() {\n const fetchWeatherMethod = this.useDarkSkyApi ? Utils.fetchWeather : Utils.fetchOWMWeather;\n const data = await fetchWeatherMethod({\n apiKey: this.apiKey,\n lat: this.latitude,\n lng: this.longitude,\n units: this.units,\n language: this.language,\n });\n this.$set(this, \"weather\", data);\n },\n\n autoupdate() {\n clearTimeout(this.timeout);\n const time = Number(this.updateInterval);\n if (!time || time < 10 || this.destroyed) {\n return;\n }\n this.timeout = setTimeout(() => this.hydrate(false), time);\n },\n\n hydrate(setLoading = true) {\n this.$set(this, \"loading\", setLoading);\n return this.$nextTick()\n .then(this.processLocation)\n .then(this.loadWeather)\n .then(() => {\n this.$set(this, \"error\", null);\n })\n .catch((err) => {\n this.$set(this, \"error\", \"\" + err);\n })\n .finally(() => {\n this.$set(this, \"loading\", false);\n this.autoupdate();\n });\n },\n\n processLocation() {\n if (!this.latitude || !this.longitude) {\n throw new Error(\"VueWeatherWidget: Latitude or longitude is required\");\n // if (!this.address) {\n // return Utils.fetchLocationByIP(this.ipregistryKey).then((data) => {\n // this.$set(this, \"location\", {\n // lat: data.latitude,\n // lng: data.longitude,\n // name: `${data.city}, ${data.country.name}`,\n // });\n // });\n // } else {\n // return Utils.geocode(this.positionstackApi, this.address).then((data) => {\n // this.$set(this, \"location\", {\n // lat: data.latitude,\n // lng: data.longitude,\n // name: `${data.region}, ${data.country}`,\n // });\n // });\n // }\n } else {\n // return Utils.reverseGeocode(this.positionstackApi, this.latitude, this.longitude).then(\n // (data) => {\n // this.$set(this, \"location\", {\n // lat: this.latitude,\n // lng: this.longitude,\n // name: `${data.region}, ${data.country}`,\n // });\n // }\n // );\n }\n },\n },\n};\n","import mod from \"-!../examples/vue/node_modules/thread-loader/dist/cjs.js!../examples/vue/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./script.js?vue&type=script&lang=js&external\"; export default mod; export * from \"-!../examples/vue/node_modules/thread-loader/dist/cjs.js!../examples/vue/node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./script.js?vue&type=script&lang=js&external\"","import { render, staticRenderFns } from \"./VueWeatherWidget.vue?vue&type=template&id=31f15fec\"\nimport script from \"./script.js?vue&type=script&lang=js&external\"\nexport * from \"./script.js?vue&type=script&lang=js&external\"\nimport style0 from \"./style.css?vue&type=style&index=0&prod&lang=css&external\"\n\n\n/* normalize component */\nimport normalizer from \"!../examples/vue/node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import VueWeatherWidget from \"./VueWeatherWidget.vue\";\n\nexport default VueWeatherWidget;\n","\n\n\n\n\n","import mod from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../node_modules/thread-loader/dist/cjs.js!../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./App.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./App.vue?vue&type=template&id=5bd48688\"\nimport script from \"./App.vue?vue&type=script&lang=js\"\nexport * from \"./App.vue?vue&type=script&lang=js\"\nimport style0 from \"./App.vue?vue&type=style&index=0&id=5bd48688&prod&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import Vue from 'vue'\nimport App from './App.vue'\n\nnew Vue({\n render: h => h(App),\n}).$mount('#app')\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t524: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkvww_example\"] = self[\"webpackChunkvww_example\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [504], function() { return __webpack_require__(491); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["render","_vm","this","_c","_self","staticClass","_v","attrs","dhaka","lat","lng","slot","_s","name","sylhet","staticRenderFns","_setupProxy","style","color","textColor","_t","hideHeader","_e","borderColor","barColor","loading","disableAnimation","error","weather","currently","daily","icon","Math","round","temperature","isDownward","fill","summary","windSpeed","windBearing","_l","day","key","time","weekName","staticStyle","height","top","temperatureMax","borderRadius","background","bottom","temperatureMin","IP_CACHE","IP_LOCATION_CACHE","GEOCODE_CACHE","ICON_MAPPINGS","cloudy","fog","rain","sleet","snow","wind","UNIT_MAPPINGS","auto","us","uk","utils","lookupIP","cache","localStorage","JSON","parse","ip","Promise","resolve","fetch","then","resp","text","split","map","l","filter","x","length","reduce","o","trim","data","stringify","fetchLocationByIP","apiKey","json","result","location","geocode","query","reversed","apiType","Error","message","reverseGeocode","fetchWeather","opts","units","language","reject","jsonp","err","fetchOWMWeather","version","mapData","current","currentWeather","description","iconName","mapIcon","Object","assign","temp","wind_speed","wind_deg","max","min","dt","hourly","hour","code","keys","find","includes","components","Skycon","props","useDarkSkyApi","type","Boolean","default","String","required","latitude","Number","longitude","updateInterval","ipregistryKey","timeout","watch","mounted","hydrate","destroyed","clearTimeout","computed","Date","getTime","i","t","forecasts","globalMaxTemp","Infinity","globalMinTemp","tomorrow","toDateString","today","push","tempRange","toLocaleDateString","weekday","methods","loadWeather","fetchWeatherMethod","Utils","$set","autoupdate","setTimeout","setLoading","$nextTick","processLocation","catch","finally","component","VueWeather","Vue","h","App","$mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","m","deferred","O","chunkIds","fn","priority","notFulfilled","fulfilled","j","every","splice","r","n","getter","__esModule","d","a","definition","defineProperty","enumerable","get","g","globalThis","Function","e","window","obj","prop","prototype","hasOwnProperty","call","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","id","chunkLoadingGlobal","self","forEach","bind","__webpack_exports__"],"sourceRoot":""} \ No newline at end of file diff --git a/js/chunk-vendors.a69b4b20.js b/js/chunk-vendors.a69b4b20.js new file mode 100644 index 0000000..0b9ba0b --- /dev/null +++ b/js/chunk-vendors.a69b4b20.js @@ -0,0 +1,8 @@ +(self["webpackChunkvww_example"]=self["webpackChunkvww_example"]||[]).push([[504],{656:function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,s){var c,u="function"===typeof t?t.options:t;if(e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),i&&(u._scopeId="data-v-"+i),a?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):o&&(c=s?function(){o.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:o),c)if(u.functional){u._injectStyles=c;var l=u.render;u.render=function(t,e){return c.call(e),l(t,e)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return{exports:t,options:u}}n.d(e,{A:function(){return r}})},471:function(t,e,n){"use strict";n.d(e,{Ay:function(){return Xr}}); +/*! + * Vue.js v2.7.16 + * (c) 2014-2023 Evan You + * Released under the MIT License. + */ +var r=Object.freeze({}),o=Array.isArray;function i(t){return void 0===t||null===t}function a(t){return void 0!==t&&null!==t}function s(t){return!0===t}function c(t){return!1===t}function u(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function l(t){return"function"===typeof t}function f(t){return null!==t&&"object"===typeof t}var d=Object.prototype.toString;function p(t){return"[object Object]"===d.call(t)}function v(t){return"[object RegExp]"===d.call(t)}function h(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function m(t){return a(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function g(t){return null==t?"":Array.isArray(t)||p(t)&&t.toString===d?JSON.stringify(t,y,2):String(t)}function y(t,e){return e&&e.__v_isRef?e.value:e}function _(t){var e=parseFloat(t);return isNaN(e)?t:e}function b(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(r,1)}}var $=Object.prototype.hasOwnProperty;function x(t,e){return $.call(t,e)}function k(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var O=/-(\w)/g,S=k((function(t){return t.replace(O,(function(t,e){return e?e.toUpperCase():""}))})),A=k((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),T=/\B([A-Z])/g,E=k((function(t){return t.replace(T,"-$1").toLowerCase()}));function j(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function P(t,e){return t.bind(e)}var I=Function.prototype.bind?P:j;function M(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function D(t,e){for(var n in e)t[n]=e[n];return t}function N(t){for(var e={},n=0;n0,ot=et&&et.indexOf("edge/")>0;et&&et.indexOf("android");var it=et&&/iphone|ipad|ipod|ios/.test(et);et&&/chrome\/\d+/.test(et),et&&/phantomjs/.test(et);var at,st=et&&et.match(/firefox\/(\d+)/),ct={}.watch,ut=!1;if(tt)try{var lt={};Object.defineProperty(lt,"passive",{get:function(){ut=!0}}),window.addEventListener("test-passive",null,lt)}catch(Qa){}var ft=function(){return void 0===at&&(at=!tt&&"undefined"!==typeof n.g&&(n.g["process"]&&"server"===n.g["process"].env.VUE_ENV)),at},dt=tt&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function pt(t){return"function"===typeof t&&/native code/.test(t.toString())}var vt,ht="undefined"!==typeof Symbol&&pt(Symbol)&&"undefined"!==typeof Reflect&&pt(Reflect.ownKeys);vt="undefined"!==typeof Set&&pt(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 mt=null;function gt(t){void 0===t&&(t=null),t||mt&&mt._scope.off(),mt=t,t&&t._scope.on()}var yt=function(){function t(t,e,n,r,o,i,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,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=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),_t=function(t){void 0===t&&(t="");var e=new yt;return e.text=t,e.isComment=!0,e};function bt(t){return new yt(void 0,void 0,void 0,String(t))}function wt(t){var e=new yt(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 Ct=0,$t=[],xt=function(){for(var t=0;t<$t.length;t++){var e=$t[t];e.subs=e.subs.filter((function(t){return t})),e._pending=!1}$t.length=0},kt=function(){function t(){this._pending=!1,this.id=Ct++,this.subs=[]}return t.prototype.addSub=function(t){this.subs.push(t)},t.prototype.removeSub=function(t){this.subs[this.subs.indexOf(t)]=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(t){return t}));for(var n=0,r=e.length;n0&&(r=ue(r,"".concat(e||"","_").concat(n)),ce(r[0])&&ce(l)&&(f[c]=bt(l.text+r[0].text),r.shift()),f.push.apply(f,r)):u(r)?ce(l)?f[c]=bt(l.text+r):""!==r&&f.push(bt(r)):ce(r)&&ce(l)?f[c]=bt(l.text+r.text):(s(t._isVList)&&a(r.tag)&&i(r.key)&&a(e)&&(r.key="__vlist".concat(e,"_").concat(n,"__")),f.push(r)));return f}function le(t,e){var n,r,i,s,c=null;if(o(t)||"string"===typeof t)for(c=new Array(t.length),n=0,r=t.length;n0,s=e?!!e.$stable:!a,c=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&o&&o!==r&&c===o.$key&&!a&&!o.$hasNormal)return o;for(var u in i={},e)e[u]&&"$"!==u[0]&&(i[u]=Te(t,n,u,e[u]))}else i={};for(var l in n)l in i||(i[l]=Ee(n,l));return e&&Object.isExtensible(e)&&(e._normalized=i),Y(i,"$stable",s),Y(i,"$key",c),Y(i,"$hasNormal",a),i}function Te(t,e,n,r){var i=function(){var e=mt;gt(t);var n=arguments.length?r.apply(null,arguments):r({});n=n&&"object"===typeof n&&!o(n)?[n]:se(n);var i=n&&n[0];return gt(e),n&&(!i||1===n.length&&i.isComment&&!Se(i))?void 0:n};return r.proxy&&Object.defineProperty(e,n,{get:i,enumerable:!0,configurable:!0}),i}function Ee(t,e){return function(){return t[e]}}function je(t){var e=t.$options,n=e.setup;if(n){var r=t._setupContext=Pe(t);gt(t),St();var o=Ze(n,null,[t._props||Vt({}),r],t,"setup");if(At(),gt(),l(o))e.render=o;else if(f(o))if(t._setupState=o,o.__sfc){var i=t._setupProxy={};for(var a in o)"__sfc"!==a&&Kt(i,o,a)}else for(var a in o)G(a)||Kt(t,o,a);else 0}}function Pe(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};Y(e,"_v_attr_proxy",!0),Ie(e,t.$attrs,r,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};Ie(e,t.$listeners,r,t,"$listeners")}return t._listenersProxy},get slots(){return De(t)},emit:I(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return Kt(t,e,n)}))}}}function Ie(t,e,n,r,o){var i=!1;for(var a in e)a in t?e[a]!==n[a]&&(i=!0):(i=!0,Me(t,a,r,o));for(var a in t)a in e||(i=!0,delete t[a]);return i}function Me(t,e,n,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[r][e]}})}function De(t){return t._slotsProxy||Ne(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function Ne(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function Le(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,o=n&&n.context;t.$slots=ke(e._renderChildren,o),t.$scopedSlots=n?Ae(t.$parent,n.data.scopedSlots,t.$slots):r,t._c=function(e,n,r,o){return qe(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return qe(t,e,n,r,o,!0)};var i=n&&n.data;Rt(t,"$attrs",i&&i.attrs||r,null,!0),Rt(t,"$listeners",e._parentListeners||r,null,!0)}var Fe=null;function Re(t){xe(t.prototype),t.prototype.$nextTick=function(t){return ln(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,r=e._parentVnode;r&&t._isMounted&&(t.$scopedSlots=Ae(t.$parent,r.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&Ne(t._slotsProxy,t.$scopedSlots)),t.$vnode=r;var i,a=mt,s=Fe;try{gt(t),Fe=t,i=n.call(t._renderProxy,t.$createElement)}catch(Qa){Ye(Qa,t,"render"),i=t._vnode}finally{Fe=s,gt(a)}return o(i)&&1===i.length&&(i=i[0]),i instanceof yt||(i=_t()),i.parent=r,i}}function Ue(t,e){return(t.__esModule||ht&&"Module"===t[Symbol.toStringTag])&&(t=t.default),f(t)?e.extend(t):t}function ze(t,e,n,r,o){var i=_t();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:r,tag:o},i}function Be(t,e){if(s(t.error)&&a(t.errorComp))return t.errorComp;if(a(t.resolved))return t.resolved;var n=Fe;if(n&&a(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),s(t.loading)&&a(t.loadingComp))return t.loadingComp;if(n&&!a(t.owners)){var r=t.owners=[n],o=!0,c=null,u=null;n.$on("hook:destroyed",(function(){return C(r,n)}));var l=function(t){for(var e=0,n=r.length;e1?M(n):n;for(var r=M(arguments,1),o='event handler for "'.concat(t,'"'),i=0,a=n.length;idocument.createEvent("Event").timeStamp&&(Hn=function(){return Wn.now()})}var qn=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function Kn(){var t,e;for(Vn=Hn(),Un=!0,Nn.sort(qn),zn=0;znzn&&Nn[n].id>t.id)n--;Nn.splice(n+1,0,t)}else Nn.push(t);Rn||(Rn=!0,ln(Kn))}}function Xn(t){var e=t.$options.provide;if(e){var n=l(e)?e.call(t):e;if(!f(n))return;for(var r=Qt(t),o=ht?Reflect.ownKeys(n):Object.keys(n),i=0;i-1)if(i&&!x(o,"default"))a=!1;else if(""===a||a===E(t)){var c=jr(String,o.type);(c<0||s-1)return this;var n=M(arguments,1);return n.unshift(this),l(t.install)?t.install.apply(t,n):l(t)&&t.apply(null,n),e.push(t),this}}function to(t){t.mixin=function(t){return this.options=xr(this.options,t),this}}function eo(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=ir(t)||ir(n.options);var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=xr(n.options,t),a["super"]=n,a.options.props&&no(a),a.options.computed&&ro(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,W.forEach((function(t){a[t]=n[t]})),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=D({},a.options),o[r]=a,a}}function no(t){var e=t.options.props;for(var n in e)Ir(t.prototype,"_props",n)}function ro(t){var e=t.options.computed;for(var n in e)Ur(t.prototype,n,e[n])}function oo(t){W.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&p(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&l(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function io(t){return t&&(ir(t.Ctor.options)||t.tag)}function ao(t,e){return o(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!v(t)&&t.test(e)}function so(t,e){var n=t.cache,r=t.keys,o=t._vnode,i=t.$vnode;for(var a in n){var s=n[a];if(s){var c=s.name;c&&!e(c)&&co(n,a,r,o)}}i.componentOptions.children=void 0}function co(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,C(n,e)}Jr(Xr),qr(Xr),kn(Xr),Tn(Xr),Re(Xr);var uo=[String,RegExp,Array],lo={name:"keep-alive",abstract:!0,props:{include:uo,exclude:uo,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,r=t.vnodeToCache,o=t.keyToCache;if(r){var i=r.tag,a=r.componentInstance,s=r.componentOptions;e[o]={name:io(s),tag:i,componentInstance:a},n.push(o),this.max&&n.length>parseInt(this.max)&&co(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)co(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){so(t,(function(t){return ao(e,t)}))})),this.$watch("exclude",(function(e){so(t,(function(t){return!ao(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=Ve(t),n=e&&e.componentOptions;if(n){var r=io(n),o=this,i=o.include,a=o.exclude;if(i&&(!r||!ao(i,r))||a&&r&&ao(a,r))return e;var s=this,c=s.cache,u=s.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;c[l]?(e.componentInstance=c[l].componentInstance,C(u,l),u.push(l)):(this.vnodeToCache=e,this.keyToCache=l),e.data.keepAlive=!0}return e||t&&t[0]}},fo={KeepAlive:lo};function po(t){var e={get:function(){return K}};Object.defineProperty(t,"config",e),t.util={warn:pr,extend:D,mergeOptions:xr,defineReactive:Rt},t.set=Ut,t.delete=zt,t.nextTick=ln,t.observable=function(t){return Ft(t),t},t.options=Object.create(null),W.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,D(t.options.components,fo),Qr(t),to(t),eo(t),oo(t)}po(Xr),Object.defineProperty(Xr.prototype,"$isServer",{get:ft}),Object.defineProperty(Xr.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Xr,"FunctionalRenderContext",{value:er}),Xr.version=pn;var vo=b("style,class"),ho=b("input,textarea,option,select,progress"),mo=function(t,e,n){return"value"===n&&ho(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},go=b("contenteditable,draggable,spellcheck"),yo=b("events,caret,typing,plaintext-only"),_o=function(t,e){return xo(e)||"false"===e?"false":"contenteditable"===t&&yo(e)?e:"true"},bo=b("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"),wo="http://www.w3.org/1999/xlink",Co=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},$o=function(t){return Co(t)?t.slice(6,t.length):""},xo=function(t){return null==t||!1===t};function ko(t){var e=t.data,n=t,r=t;while(a(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(e=Oo(r.data,e));while(a(n=n.parent))n&&n.data&&(e=Oo(e,n.data));return So(e.staticClass,e.class)}function Oo(t,e){return{staticClass:Ao(t.staticClass,e.staticClass),class:a(t.class)?[t.class,e.class]:e.class}}function So(t,e){return a(t)||a(e)?Ao(t,To(e)):""}function Ao(t,e){return t?e?t+" "+e:t:e||""}function To(t){return Array.isArray(t)?Eo(t):f(t)?jo(t):"string"===typeof t?t:""}function Eo(t){for(var e,n="",r=0,o=t.length;r-1?Lo[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Lo[t]=/HTMLUnknownElement/.test(e.toString())}var Ro=b("text,number,password,search,email,tel,url");function Uo(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function zo(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function Bo(t,e){return document.createElementNS(Po[t],e)}function Vo(t){return document.createTextNode(t)}function Ho(t){return document.createComment(t)}function Wo(t,e,n){t.insertBefore(e,n)}function qo(t,e){t.removeChild(e)}function Ko(t,e){t.appendChild(e)}function Jo(t){return t.parentNode}function Go(t){return t.nextSibling}function Yo(t){return t.tagName}function Zo(t,e){t.textContent=e}function Xo(t,e){t.setAttribute(e,"")}var Qo=Object.freeze({__proto__:null,createElement:zo,createElementNS:Bo,createTextNode:Vo,createComment:Ho,insertBefore:Wo,removeChild:qo,appendChild:Ko,parentNode:Jo,nextSibling:Go,tagName:Yo,setTextContent:Zo,setStyleScope:Xo}),ti={create:function(t,e){ei(e)},update:function(t,e){t.data.ref!==e.data.ref&&(ei(t,!0),ei(e))},destroy:function(t){ei(t,!0)}};function ei(t,e){var n=t.data.ref;if(a(n)){var r=t.context,i=t.componentInstance||t.elm,s=e?null:i,c=e?void 0:i;if(l(n))Ze(n,r,[s],r,"template ref function");else{var u=t.data.refInFor,f="string"===typeof n||"number"===typeof n,d=qt(n),p=r.$refs;if(f||d)if(u){var v=f?p[n]:n.value;e?o(v)&&C(v,i):o(v)?v.includes(i)||v.push(i):f?(p[n]=[i],ni(r,n,p[n])):n.value=[i]}else if(f){if(e&&p[n]!==i)return;p[n]=c,ni(r,n,s)}else if(d){if(e&&n.value!==i)return;n.value=s}else 0}}}function ni(t,e,n){var r=t._setupState;r&&x(r,e)&&(qt(r[e])?r[e].value=n:r[e]=n)}var ri=new yt("",{},[]),oi=["create","activate","update","remove","destroy"];function ii(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&a(t.data)===a(e.data)&&ai(t,e)||s(t.isAsyncPlaceholder)&&i(e.asyncFactory.error))}function ai(t,e){if("input"!==t.tag)return!0;var n,r=a(n=t.data)&&a(n=n.attrs)&&n.type,o=a(n=e.data)&&a(n=n.attrs)&&n.type;return r===o||Ro(r)&&Ro(o)}function si(t,e,n){var r,o,i={};for(r=e;r<=n;++r)o=t[r].key,a(o)&&(i[o]=r);return i}function ci(t){var e,n,r={},c=t.modules,l=t.nodeOps;for(e=0;eh?(f=i(n[y+1])?null:n[y+1].elm,x(t,f,n,p,y,r)):p>y&&O(e,d,h)}function T(t,e,n,r){for(var o=n;o-1?_i(t,e,n):bo(e)?xo(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):go(e)?t.setAttribute(e,_o(e,n)):Co(e)?xo(n)?t.removeAttributeNS(wo,$o(e)):t.setAttributeNS(wo,e,n):_i(t,e,n)}function _i(t,e,n){if(xo(n))t.removeAttribute(e);else{if(nt&&!rt&&"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 bi={create:gi,update:gi};function wi(t,e){var n=e.elm,r=e.data,o=t.data;if(!(i(r.staticClass)&&i(r.class)&&(i(o)||i(o.staticClass)&&i(o.class)))){var s=ko(e),c=n._transitionClasses;a(c)&&(s=Ao(s,To(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var Ci,$i={create:wi,update:wi},xi="__r",ki="__c";function Oi(t){if(a(t[xi])){var e=nt?"change":"input";t[e]=[].concat(t[xi],t[e]||[]),delete t[xi]}a(t[ki])&&(t.change=[].concat(t[ki],t.change||[]),delete t[ki])}function Si(t,e,n){var r=Ci;return function o(){var i=e.apply(null,arguments);null!==i&&Ei(t,o,n,r)}}var Ai=en&&!(st&&Number(st[1])<=53);function Ti(t,e,n,r){if(Ai){var o=Vn,i=e;e=i._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return i.apply(this,arguments)}}Ci.addEventListener(t,e,ut?{capture:n,passive:r}:n)}function Ei(t,e,n,r){(r||Ci).removeEventListener(t,e._wrapper||e,n)}function ji(t,e){if(!i(t.data.on)||!i(e.data.on)){var n=e.data.on||{},r=t.data.on||{};Ci=e.elm||t.elm,Oi(n),ne(n,r,Ti,Ei,Si,e.context),Ci=void 0}}var Pi,Ii={create:ji,update:ji,destroy:function(t){return ji(t,ri)}};function Mi(t,e){if(!i(t.data.domProps)||!i(e.data.domProps)){var n,r,o=e.elm,c=t.data.domProps||{},u=e.data.domProps||{};for(n in(a(u.__ob__)||s(u._v_attr_proxy))&&(u=e.data.domProps=D({},u)),c)n in u||(o[n]="");for(n in u){if(r=u[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 l=i(r)?"":String(r);Di(o,l)&&(o.value=l)}else if("innerHTML"===n&&Mo(o.tagName)&&i(o.innerHTML)){Pi=Pi||document.createElement("div"),Pi.innerHTML="".concat(r,"");var f=Pi.firstChild;while(o.firstChild)o.removeChild(o.firstChild);while(f.firstChild)o.appendChild(f.firstChild)}else if(r!==c[n])try{o[n]=r}catch(Qa){}}}}function Di(t,e){return!t.composing&&("OPTION"===t.tagName||Ni(t,e)||Li(t,e))}function Ni(t,e){var n=!0;try{n=document.activeElement!==t}catch(Qa){}return n&&t.value!==e}function Li(t,e){var n=t.value,r=t._vModifiers;if(a(r)){if(r.number)return _(n)!==_(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var Fi={create:Mi,update:Mi},Ri=k((function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function Ui(t){var e=zi(t.style);return t.staticStyle?D(t.staticStyle,e):e}function zi(t){return Array.isArray(t)?N(t):"string"===typeof t?Ri(t):t}function Bi(t,e){var n,r={};if(e){var o=t;while(o.componentInstance)o=o.componentInstance._vnode,o&&o.data&&(n=Ui(o.data))&&D(r,n)}(n=Ui(t.data))&&D(r,n);var i=t;while(i=i.parent)i.data&&(n=Ui(i.data))&&D(r,n);return r}var Vi,Hi=/^--/,Wi=/\s*!important$/,qi=function(t,e,n){if(Hi.test(e))t.style.setProperty(e,n);else if(Wi.test(n))t.style.setProperty(E(e),n.replace(Wi,""),"important");else{var r=Ji(e);if(Array.isArray(n))for(var o=0,i=n.length;o-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 Qi(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{var n=" ".concat(t.getAttribute("class")||""," "),r=" "+e+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function ta(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&D(e,ea(t.name||"v")),D(e,t),e}return"string"===typeof t?ea(t):void 0}}var ea=k((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")}})),na=tt&&!rt,ra="transition",oa="animation",ia="transition",aa="transitionend",sa="animation",ca="animationend";na&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ia="WebkitTransition",aa="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(sa="WebkitAnimation",ca="webkitAnimationEnd"));var ua=tt?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function la(t){ua((function(){ua(t)}))}function fa(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Xi(t,e))}function da(t,e){t._transitionClasses&&C(t._transitionClasses,e),Qi(t,e)}function pa(t,e,n){var r=ha(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===ra?aa:ca,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout((function(){c0&&(n=ra,l=a,f=i.length):e===oa?u>0&&(n=oa,l=u,f=c.length):(l=Math.max(a,u),n=l>0?a>u?ra:oa:null,f=n?n===ra?i.length:c.length:0);var d=n===ra&&va.test(r[ia+"Property"]);return{type:n,timeout:l,propCount:f,hasTransform:d}}function ma(t,e){while(t.length1}function Ca(t,e){!0!==e.data.show&&ya(e)}var $a=tt?{create:Ca,activate:Ca,remove:function(t,e){!0!==t.data.show?_a(t,e):e()}}:{},xa=[bi,$i,Ii,Fi,Yi,$a],ka=xa.concat(mi),Oa=ci({nodeOps:Qo,modules:ka});rt&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Ma(t,"input")}));var Sa={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?re(n,"postpatch",(function(){Sa.componentUpdated(t,e,n)})):Aa(t,e,n.context),t._vOptions=[].map.call(t.options,ja)):("textarea"===n.tag||Ro(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Pa),t.addEventListener("compositionend",Ia),t.addEventListener("change",Ia),rt&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){Aa(t,e,n.context);var r=t._vOptions,o=t._vOptions=[].map.call(t.options,ja);if(o.some((function(t,e){return!U(t,r[e])}))){var i=t.multiple?e.value.some((function(t){return Ea(t,o)})):e.value!==e.oldValue&&Ea(e.value,o);i&&Ma(t,"change")}}}};function Aa(t,e,n){Ta(t,e,n),(nt||ot)&&setTimeout((function(){Ta(t,e,n)}),0)}function Ta(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,c=t.options.length;s-1,a.selected!==i&&(a.selected=i);else if(U(ja(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function Ea(t,e){return e.every((function(e){return!U(e,t)}))}function ja(t){return"_value"in t?t._value:t.value}function Pa(t){t.target.composing=!0}function Ia(t){t.target.composing&&(t.target.composing=!1,Ma(t.target,"input"))}function Ma(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Da(t){return!t.componentInstance||t.data&&t.data.transition?t:Da(t.componentInstance._vnode)}var Na={bind:function(t,e,n){var r=e.value;n=Da(n);var o=n.data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,ya(n,(function(){t.style.display=i}))):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value,o=e.oldValue;if(!r!==!o){n=Da(n);var i=n.data&&n.data.transition;i?(n.data.show=!0,r?ya(n,(function(){t.style.display=t.__vOriginalDisplay})):_a(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)}},La={model:Sa,show:Na},Fa={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 Ra(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Ra(Ve(e.children)):t}function Ua(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var r in o)e[S(r)]=o[r];return e}function za(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Ba(t){while(t=t.parent)if(t.data.transition)return!0}function Va(t,e){return e.key===t.key&&e.tag===t.tag}var Ha=function(t){return t.tag||Se(t)},Wa=function(t){return"show"===t.name},qa={name:"transition",props:Fa,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Ha),n.length)){0;var r=this.mode;0;var o=n[0];if(Ba(this.$vnode))return o;var i=Ra(o);if(!i)return o;if(this._leaving)return za(t,o);var a="__transition-".concat(this._uid,"-");i.key=null==i.key?i.isComment?a+"comment":a+i.tag:u(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var s=(i.data||(i.data={})).transition=Ua(this),c=this._vnode,l=Ra(c);if(i.data.directives&&i.data.directives.some(Wa)&&(i.data.show=!0),l&&l.data&&!Va(i,l)&&!Se(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var f=l.data.transition=D({},s);if("out-in"===r)return this._leaving=!0,re(f,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),za(t,o);if("in-out"===r){if(Se(i))return c;var d,p=function(){d()};re(s,"afterEnter",p),re(s,"enterCancelled",p),re(f,"delayLeave",(function(t){d=t}))}}return o}}},Ka=D({tag:String,moveClass:String},Fa);delete Ka.mode;var Ja={props:Ka,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=Sn(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",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=Ua(this),s=0;s=31||"undefined"!==typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function o(t){var n=this.useColors;if(t[0]=(n?"%c":"")+this.namespace+(n?" %c":" ")+t[0]+(n?"%c ":" ")+"+"+e.humanize(this.diff),n){var r="color: "+this.color;t.splice(1,0,r,"color: inherit");var o=0,i=0;t[0].replace(/%[a-zA-Z%]/g,(function(t){"%%"!==t&&(o++,"%c"===t&&(i=o))})),t.splice(i,0,r)}}function i(){return"object"===typeof console&&console.log&&Function.prototype.apply.call(console.log,console,arguments)}function a(t){try{null==t?e.storage.removeItem("debug"):e.storage.debug=t}catch(n){}}function s(){var t;try{t=e.storage.debug}catch(n){}return!t&&"undefined"!==typeof process&&"env"in process&&(t={NODE_ENV:"production",BASE_URL:""}.DEBUG),t}function c(){try{return window.localStorage}catch(t){}}e=t.exports=n(671),e.log=i,e.formatArgs=o,e.save=a,e.load=s,e.useColors=r,e.storage="undefined"!=typeof chrome&&"undefined"!=typeof chrome.storage?chrome.storage.local:c(),e.colors=["lightseagreen","forestgreen","goldenrod","dodgerblue","darkorchid","crimson"],e.formatters.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}},e.enable(s())},671:function(t,e,n){var r;function o(t){var n,r=0;for(n in t)r=(r<<5)-r+t.charCodeAt(n),r|=0;return e.colors[Math.abs(r)%e.colors.length]}function i(t){function n(){if(n.enabled){var t=n,o=+new Date,i=o-(r||o);t.diff=i,t.prev=r,t.curr=o,r=o;for(var a=new Array(arguments.length),s=0;s100)){var a=/^((?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|years?|yrs?|y)?$/i.exec(t);if(a){var s=parseFloat(a[1]),c=(a[2]||"ms").toLowerCase();switch(c){case"years":case"year":case"yrs":case"yr":case"y":return s*i;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*r;case"minutes":case"minute":case"mins":case"min":case"m":return s*n;case"seconds":case"second":case"secs":case"sec":case"s":return s*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}function s(t){return t>=o?Math.round(t/o)+"d":t>=r?Math.round(t/r)+"h":t>=n?Math.round(t/n)+"m":t>=e?Math.round(t/e)+"s":t+"ms"}function c(t){return u(t,o,"day")||u(t,r,"hour")||u(t,n,"minute")||u(t,e,"second")||t+" ms"}function u(t,e,n){if(!(t0)return a(t);if("number"===n&&!1===isNaN(t))return e.long?c(t):s(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))}},995:function(t,e,n){"use strict";n.d(e,{A:function(){return Es}});var r=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("canvas",{attrs:{width:t.width,height:t.height,"data-condition":t.condition}})},o=[],i=Object.freeze({}),a=Array.isArray;function s(t){return void 0===t||null===t}function c(t){return void 0!==t&&null!==t}function u(t){return!0===t}function l(t){return!1===t}function f(t){return"string"===typeof t||"number"===typeof t||"symbol"===typeof t||"boolean"===typeof t}function d(t){return"function"===typeof t}function p(t){return null!==t&&"object"===typeof t}var v=Object.prototype.toString;function h(t){return"[object Object]"===v.call(t)}function m(t){return"[object RegExp]"===v.call(t)}function g(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function y(t){return c(t)&&"function"===typeof t.then&&"function"===typeof t.catch}function _(t){return null==t?"":Array.isArray(t)||h(t)&&t.toString===v?JSON.stringify(t,b,2):String(t)}function b(t,e){return e&&e.__v_isRef?e.value:e}function w(t){var e=parseFloat(t);return isNaN(e)?t:e}function C(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o-1)return t.splice(r,1)}}var k=Object.prototype.hasOwnProperty;function O(t,e){return k.call(t,e)}function S(t){var e=Object.create(null);return function(n){var r=e[n];return r||(e[n]=t(n))}}var A=/-(\w)/g,T=S((function(t){return t.replace(A,(function(t,e){return e?e.toUpperCase():""}))})),E=S((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),j=/\B([A-Z])/g,P=S((function(t){return t.replace(j,"-$1").toLowerCase()}));function I(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n}function M(t,e){return t.bind(e)}var D=Function.prototype.bind?M:I;function N(t,e){e=e||0;var n=t.length-e,r=new Array(n);while(n--)r[n]=t[n+e];return r}function L(t,e){for(var n in e)t[n]=e[n];return t}function F(t){for(var e={},n=0;n0,at=rt&&rt.indexOf("edge/")>0;rt&&rt.indexOf("android");var st=rt&&/iphone|ipad|ipod|ios/.test(rt);rt&&/chrome\/\d+/.test(rt),rt&&/phantomjs/.test(rt);var ct,ut=rt&&rt.match(/firefox\/(\d+)/),lt={}.watch,ft=!1;if(nt)try{var dt={};Object.defineProperty(dt,"passive",{get:function(){ft=!0}}),window.addEventListener("test-passive",null,dt)}catch(js){}var pt=function(){return void 0===ct&&(ct=!nt&&"undefined"!==typeof n.g&&(n.g["process"]&&"server"===n.g["process"].env.VUE_ENV)),ct},vt=nt&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ht(t){return"function"===typeof t&&/native code/.test(t.toString())}var mt,gt="undefined"!==typeof Symbol&&ht(Symbol)&&"undefined"!==typeof Reflect&&ht(Reflect.ownKeys);mt="undefined"!==typeof Set&&ht(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 yt=null;function _t(t){void 0===t&&(t=null),t||yt&&yt._scope.off(),yt=t,t&&t._scope.on()}var bt=function(){function t(t,e,n,r,o,i,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,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=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),t}(),wt=function(t){void 0===t&&(t="");var e=new bt;return e.text=t,e.isComment=!0,e};function Ct(t){return new bt(void 0,void 0,void 0,String(t))}function $t(t){var e=new bt(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 xt=0,kt=[],Ot=function(){for(var t=0;t0&&(r=fe(r,"".concat(e||"","_").concat(n)),le(r[0])&&le(i)&&(l[o]=Ct(i.text+r[0].text),r.shift()),l.push.apply(l,r)):f(r)?le(i)?l[o]=Ct(i.text+r):""!==r&&l.push(Ct(r)):le(r)&&le(i)?l[o]=Ct(i.text+r.text):(u(t._isVList)&&c(r.tag)&&s(r.key)&&c(e)&&(r.key="__vlist".concat(e,"_").concat(n,"__")),l.push(r)));return l}function de(t,e){var n,r,o,i,s=null;if(a(t)||"string"===typeof t)for(s=new Array(t.length),n=0,r=t.length;n0,s=e?!!e.$stable:!a,c=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&r&&r!==i&&c===r.$key&&!a&&!r.$hasNormal)return r;for(var u in o={},e)e[u]&&"$"!==u[0]&&(o[u]=je(t,n,u,e[u]))}else o={};for(var l in n)l in o||(o[l]=Pe(n,l));return e&&Object.isExtensible(e)&&(e._normalized=o),X(o,"$stable",s),X(o,"$key",c),X(o,"$hasNormal",a),o}function je(t,e,n,r){var o=function(){var e=yt;_t(t);var n=arguments.length?r.apply(null,arguments):r({});n=n&&"object"===typeof n&&!a(n)?[n]:ue(n);var o=n&&n[0];return _t(e),n&&(!o||1===n.length&&o.isComment&&!Te(o))?void 0:n};return r.proxy&&Object.defineProperty(e,n,{get:o,enumerable:!0,configurable:!0}),o}function Pe(t,e){return function(){return t[e]}}function Ie(t){var e=t.$options,n=e.setup;if(n){var r=t._setupContext=Me(t);_t(t),Tt();var o=Qe(n,null,[t._props||Wt({}),r],t,"setup");if(Et(),_t(),d(o))e.render=o;else if(p(o))if(t._setupState=o,o.__sfc){var i=t._setupProxy={};for(var a in o)"__sfc"!==a&&Gt(i,o,a)}else for(var a in o)Z(a)||Gt(t,o,a);else 0}}function Me(t){return{get attrs(){if(!t._attrsProxy){var e=t._attrsProxy={};X(e,"_v_attr_proxy",!0),De(e,t.$attrs,i,t,"$attrs")}return t._attrsProxy},get listeners(){if(!t._listenersProxy){var e=t._listenersProxy={};De(e,t.$listeners,i,t,"$listeners")}return t._listenersProxy},get slots(){return Le(t)},emit:D(t.$emit,t),expose:function(e){e&&Object.keys(e).forEach((function(n){return Gt(t,e,n)}))}}}function De(t,e,n,r,o){var i=!1;for(var a in e)a in t?e[a]!==n[a]&&(i=!0):(i=!0,Ne(t,a,r,o));for(var a in t)a in e||(i=!0,delete t[a]);return i}function Ne(t,e,n,r){Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){return n[r][e]}})}function Le(t){return t._slotsProxy||Fe(t._slotsProxy={},t.$scopedSlots),t._slotsProxy}function Fe(t,e){for(var n in e)t[n]=e[n];for(var n in t)n in e||delete t[n]}function Re(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,r=n&&n.context;t.$slots=Se(e._renderChildren,r),t.$scopedSlots=n?Ee(t.$parent,n.data.scopedSlots,t.$slots):i,t._c=function(e,n,r,o){return Je(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return Je(t,e,n,r,o,!0)};var o=n&&n.data;zt(t,"$attrs",o&&o.attrs||i,null,!0),zt(t,"$listeners",e._parentListeners||i,null,!0)}var Ue=null;function ze(t){Oe(t.prototype),t.prototype.$nextTick=function(t){return dn(t,this)},t.prototype._render=function(){var t=this,e=t.$options,n=e.render,r=e._parentVnode;r&&t._isMounted&&(t.$scopedSlots=Ee(t.$parent,r.data.scopedSlots,t.$slots,t.$scopedSlots),t._slotsProxy&&Fe(t._slotsProxy,t.$scopedSlots)),t.$vnode=r;var o,i=yt,s=Ue;try{_t(t),Ue=t,o=n.call(t._renderProxy,t.$createElement)}catch(js){Xe(js,t,"render"),o=t._vnode}finally{Ue=s,_t(i)}return a(o)&&1===o.length&&(o=o[0]),o instanceof bt||(o=wt()),o.parent=r,o}}function Be(t,e){return(t.__esModule||gt&&"Module"===t[Symbol.toStringTag])&&(t=t.default),p(t)?e.extend(t):t}function Ve(t,e,n,r,o){var i=wt();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:r,tag:o},i}function He(t,e){if(u(t.error)&&c(t.errorComp))return t.errorComp;if(c(t.resolved))return t.resolved;var n=Ue;if(n&&c(t.owners)&&-1===t.owners.indexOf(n)&&t.owners.push(n),u(t.loading)&&c(t.loadingComp))return t.loadingComp;if(n&&!c(t.owners)){var r=t.owners=[n],o=!0,i=null,a=null;n.$on("hook:destroyed",(function(){return x(r,n)}));var l=function(t){for(var e=0,n=r.length;e1?N(n):n;for(var r=N(arguments,1),o='event handler for "'.concat(t,'"'),i=0,a=n.length;idocument.createEvent("Event").timeStamp&&(Kn=function(){return Jn.now()})}var Gn=function(t,e){if(t.post){if(!e.post)return 1}else if(e.post)return-1;return t.id-e.id};function Yn(){var t,e;for(qn=Kn(),Vn=!0,Rn.sort(Gn),Hn=0;HnHn&&Rn[n].id>t.id)n--;Rn.splice(n+1,0,t)}else Rn.push(t);Bn||(Bn=!0,dn(Yn))}}function er(t){var e=t.$options.provide;if(e){var n=d(e)?e.call(t):e;if(!p(n))return;for(var r=ee(t),o=gt?Reflect.ownKeys(n):Object.keys(n),i=0;i-1)if(i&&!O(o,"default"))a=!1;else if(""===a||a===P(t)){var c=Mr(String,o.type);(c<0||s-1)return this;var n=N(arguments,1);return n.unshift(this),d(t.install)?t.install.apply(t,n):d(t)&&t.apply(null,n),e.push(t),this}}function ro(t){t.mixin=function(t){return this.options=Sr(this.options,t),this}}function oo(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=cr(t)||cr(n.options);var a=function(t){this._init(t)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=e++,a.options=Sr(n.options,t),a["super"]=n,a.options.props&&io(a),a.options.computed&&ao(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,K.forEach((function(t){a[t]=n[t]})),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=L({},a.options),o[r]=a,a}}function io(t){var e=t.options.props;for(var n in e)Nr(t.prototype,"_props",n)}function ao(t){var e=t.options.computed;for(var n in e)Vr(t.prototype,n,e[n])}function so(t){K.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&h(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&d(n)&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}function co(t){return t&&(cr(t.Ctor.options)||t.tag)}function uo(t,e){return a(t)?t.indexOf(e)>-1:"string"===typeof t?t.split(",").indexOf(e)>-1:!!m(t)&&t.test(e)}function lo(t,e){var n=t.cache,r=t.keys,o=t._vnode,i=t.$vnode;for(var a in n){var s=n[a];if(s){var c=s.name;c&&!e(c)&&fo(n,a,r,o)}}i.componentOptions.children=void 0}function fo(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,x(n,e)}Zr(eo),Gr(eo),An(eo),Pn(eo),ze(eo);var po=[String,RegExp,Array],vo={name:"keep-alive",abstract:!0,props:{include:po,exclude:po,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,r=t.vnodeToCache,o=t.keyToCache;if(r){var i=r.tag,a=r.componentInstance,s=r.componentOptions;e[o]={name:co(s),tag:i,componentInstance:a},n.push(o),this.max&&n.length>parseInt(this.max)&&fo(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)fo(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode(),this.$watch("include",(function(e){lo(t,(function(t){return uo(e,t)}))})),this.$watch("exclude",(function(e){lo(t,(function(t){return!uo(e,t)}))}))},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default,e=We(t),n=e&&e.componentOptions;if(n){var r=co(n),o=this,i=o.include,a=o.exclude;if(i&&(!r||!uo(i,r))||a&&r&&uo(a,r))return e;var s=this,c=s.cache,u=s.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;c[l]?(e.componentInstance=c[l].componentInstance,x(u,l),u.push(l)):(this.vnodeToCache=e,this.keyToCache=l),e.data.keepAlive=!0}return e||t&&t[0]}},ho={KeepAlive:vo};function mo(t){var e={get:function(){return G}};Object.defineProperty(t,"config",e),t.util={warn:mr,extend:L,mergeOptions:Sr,defineReactive:zt},t.set=Bt,t.delete=Vt,t.nextTick=dn,t.observable=function(t){return Ut(t),t},t.options=Object.create(null),K.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,L(t.options.components,ho),no(t),ro(t),oo(t),so(t)}mo(eo),Object.defineProperty(eo.prototype,"$isServer",{get:pt}),Object.defineProperty(eo.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(eo,"FunctionalRenderContext",{value:or}),eo.version=hn;var go=C("style,class"),yo=C("input,textarea,option,select,progress"),_o=function(t,e,n){return"value"===n&&yo(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},bo=C("contenteditable,draggable,spellcheck"),wo=C("events,caret,typing,plaintext-only"),Co=function(t,e){return So(e)||"false"===e?"false":"contenteditable"===t&&wo(e)?e:"true"},$o=C("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"),xo="http://www.w3.org/1999/xlink",ko=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Oo=function(t){return ko(t)?t.slice(6,t.length):""},So=function(t){return null==t||!1===t};function Ao(t){var e=t.data,n=t,r=t;while(c(r.componentInstance))r=r.componentInstance._vnode,r&&r.data&&(e=To(r.data,e));while(c(n=n.parent))n&&n.data&&(e=To(e,n.data));return Eo(e.staticClass,e.class)}function To(t,e){return{staticClass:jo(t.staticClass,e.staticClass),class:c(t.class)?[t.class,e.class]:e.class}}function Eo(t,e){return c(t)||c(e)?jo(t,Po(e)):""}function jo(t,e){return t?e?t+" "+e:t:e||""}function Po(t){return Array.isArray(t)?Io(t):p(t)?Mo(t):"string"===typeof t?t:""}function Io(t){for(var e,n="",r=0,o=t.length;r-1?Uo[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Uo[t]=/HTMLUnknownElement/.test(e.toString())}var Bo=C("text,number,password,search,email,tel,url");function Vo(t){if("string"===typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}function Ho(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n}function Wo(t,e){return document.createElementNS(Do[t],e)}function qo(t){return document.createTextNode(t)}function Ko(t){return document.createComment(t)}function Jo(t,e,n){t.insertBefore(e,n)}function Go(t,e){t.removeChild(e)}function Yo(t,e){t.appendChild(e)}function Zo(t){return t.parentNode}function Xo(t){return t.nextSibling}function Qo(t){return t.tagName}function ti(t,e){t.textContent=e}function ei(t,e){t.setAttribute(e,"")}var ni=Object.freeze({__proto__:null,createElement:Ho,createElementNS:Wo,createTextNode:qo,createComment:Ko,insertBefore:Jo,removeChild:Go,appendChild:Yo,parentNode:Zo,nextSibling:Xo,tagName:Qo,setTextContent:ti,setStyleScope:ei}),ri={create:function(t,e){oi(e)},update:function(t,e){t.data.ref!==e.data.ref&&(oi(t,!0),oi(e))},destroy:function(t){oi(t,!0)}};function oi(t,e){var n=t.data.ref;if(c(n)){var r=t.context,o=t.componentInstance||t.elm,i=e?null:o,s=e?void 0:o;if(d(n))Qe(n,r,[i],r,"template ref function");else{var u=t.data.refInFor,l="string"===typeof n||"number"===typeof n,f=Jt(n),p=r.$refs;if(l||f)if(u){var v=l?p[n]:n.value;e?a(v)&&x(v,o):a(v)?v.includes(o)||v.push(o):l?(p[n]=[o],ii(r,n,p[n])):n.value=[o]}else if(l){if(e&&p[n]!==o)return;p[n]=s,ii(r,n,i)}else if(f){if(e&&n.value!==o)return;n.value=i}else 0}}}function ii(t,e,n){var r=t._setupState;r&&O(r,e)&&(Jt(r[e])?r[e].value=n:r[e]=n)}var ai=new bt("",{},[]),si=["create","activate","update","remove","destroy"];function ci(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&c(t.data)===c(e.data)&&ui(t,e)||u(t.isAsyncPlaceholder)&&s(e.asyncFactory.error))}function ui(t,e){if("input"!==t.tag)return!0;var n,r=c(n=t.data)&&c(n=n.attrs)&&n.type,o=c(n=e.data)&&c(n=n.attrs)&&n.type;return r===o||Bo(r)&&Bo(o)}function li(t,e,n){var r,o,i={};for(r=e;r<=n;++r)o=t[r].key,c(o)&&(i[o]=r);return i}function fi(t){var e,n,r={},o=t.modules,i=t.nodeOps;for(e=0;eh?(f=s(n[y+1])?null:n[y+1].elm,x(t,f,n,p,y,r)):p>y&&O(e,d,h)}function T(t,e,n,r){for(var o=n;o-1?Ci(t,e,n):$o(e)?So(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):bo(e)?t.setAttribute(e,Co(e,n)):ko(e)?So(n)?t.removeAttributeNS(xo,Oo(e)):t.setAttributeNS(xo,e,n):Ci(t,e,n)}function Ci(t,e,n){if(So(n))t.removeAttribute(e);else{if(ot&&!it&&"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 $i={create:bi,update:bi};function xi(t,e){var n=e.elm,r=e.data,o=t.data;if(!(s(r.staticClass)&&s(r.class)&&(s(o)||s(o.staticClass)&&s(o.class)))){var i=Ao(e),a=n._transitionClasses;c(a)&&(i=jo(i,Po(a))),i!==n._prevClass&&(n.setAttribute("class",i),n._prevClass=i)}}var ki,Oi={create:xi,update:xi},Si="__r",Ai="__c";function Ti(t){if(c(t[Si])){var e=ot?"change":"input";t[e]=[].concat(t[Si],t[e]||[]),delete t[Si]}c(t[Ai])&&(t.change=[].concat(t[Ai],t.change||[]),delete t[Ai])}function Ei(t,e,n){var r=ki;return function o(){var i=e.apply(null,arguments);null!==i&&Ii(t,o,n,r)}}var ji=rn&&!(ut&&Number(ut[1])<=53);function Pi(t,e,n,r){if(ji){var o=qn,i=e;e=i._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=o||t.timeStamp<=0||t.target.ownerDocument!==document)return i.apply(this,arguments)}}ki.addEventListener(t,e,ft?{capture:n,passive:r}:n)}function Ii(t,e,n,r){(r||ki).removeEventListener(t,e._wrapper||e,n)}function Mi(t,e){if(!s(t.data.on)||!s(e.data.on)){var n=e.data.on||{},r=t.data.on||{};ki=e.elm||t.elm,Ti(n),oe(n,r,Pi,Ii,Ei,e.context),ki=void 0}}var Di,Ni={create:Mi,update:Mi,destroy:function(t){return Mi(t,ai)}};function Li(t,e){if(!s(t.data.domProps)||!s(e.data.domProps)){var n,r,o=e.elm,i=t.data.domProps||{},a=e.data.domProps||{};for(n in(c(a.__ob__)||u(a._v_attr_proxy))&&(a=e.data.domProps=L({},a)),i)n in a||(o[n]="");for(n in a){if(r=a[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===i[n])continue;1===o.childNodes.length&&o.removeChild(o.childNodes[0])}if("value"===n&&"PROGRESS"!==o.tagName){o._value=r;var l=s(r)?"":String(r);Fi(o,l)&&(o.value=l)}else if("innerHTML"===n&&Lo(o.tagName)&&s(o.innerHTML)){Di=Di||document.createElement("div"),Di.innerHTML="".concat(r,"");var f=Di.firstChild;while(o.firstChild)o.removeChild(o.firstChild);while(f.firstChild)o.appendChild(f.firstChild)}else if(r!==i[n])try{o[n]=r}catch(js){}}}}function Fi(t,e){return!t.composing&&("OPTION"===t.tagName||Ri(t,e)||Ui(t,e))}function Ri(t,e){var n=!0;try{n=document.activeElement!==t}catch(js){}return n&&t.value!==e}function Ui(t,e){var n=t.value,r=t._vModifiers;if(c(r)){if(r.number)return w(n)!==w(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var zi={create:Li,update:Li},Bi=S((function(t){var e={},n=/;(?![^(]*\))/g,r=/:(.+)/;return t.split(n).forEach((function(t){if(t){var n=t.split(r);n.length>1&&(e[n[0].trim()]=n[1].trim())}})),e}));function Vi(t){var e=Hi(t.style);return t.staticStyle?L(t.staticStyle,e):e}function Hi(t){return Array.isArray(t)?F(t):"string"===typeof t?Bi(t):t}function Wi(t,e){var n,r={};if(e){var o=t;while(o.componentInstance)o=o.componentInstance._vnode,o&&o.data&&(n=Vi(o.data))&&L(r,n)}(n=Vi(t.data))&&L(r,n);var i=t;while(i=i.parent)i.data&&(n=Vi(i.data))&&L(r,n);return r}var qi,Ki=/^--/,Ji=/\s*!important$/,Gi=function(t,e,n){if(Ki.test(e))t.style.setProperty(e,n);else if(Ji.test(n))t.style.setProperty(P(e),n.replace(Ji,""),"important");else{var r=Zi(e);if(Array.isArray(n))for(var o=0,i=n.length;o-1?e.split(ta).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 na(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(ta).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{var n=" ".concat(t.getAttribute("class")||""," "),r=" "+e+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim(),n?t.setAttribute("class",n):t.removeAttribute("class")}}function ra(t){if(t){if("object"===typeof t){var e={};return!1!==t.css&&L(e,oa(t.name||"v")),L(e,t),e}return"string"===typeof t?oa(t):void 0}}var oa=S((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")}})),ia=nt&&!it,aa="transition",sa="animation",ca="transition",ua="transitionend",la="animation",fa="animationend";ia&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(ca="WebkitTransition",ua="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(la="WebkitAnimation",fa="webkitAnimationEnd"));var da=nt?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function pa(t){da((function(){da(t)}))}function va(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),ea(t,e))}function ha(t,e){t._transitionClasses&&x(t._transitionClasses,e),na(t,e)}function ma(t,e,n){var r=ya(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===aa?ua:fa,c=0,u=function(){t.removeEventListener(s,l),n()},l=function(e){e.target===t&&++c>=a&&u()};setTimeout((function(){c0&&(n=aa,l=a,f=i.length):e===sa?u>0&&(n=sa,l=u,f=c.length):(l=Math.max(a,u),n=l>0?a>u?aa:sa:null,f=n?n===aa?i.length:c.length:0);var d=n===aa&&ga.test(r[ca+"Property"]);return{type:n,timeout:l,propCount:f,hasTransform:d}}function _a(t,e){while(t.length1}function ka(t,e){!0!==e.data.show&&wa(e)}var Oa=nt?{create:ka,activate:ka,remove:function(t,e){!0!==t.data.show?Ca(t,e):e()}}:{},Sa=[$i,Oi,Ni,zi,Qi,Oa],Aa=Sa.concat(_i),Ta=fi({nodeOps:ni,modules:Aa});it&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&La(t,"input")}));var Ea={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?ie(n,"postpatch",(function(){Ea.componentUpdated(t,e,n)})):ja(t,e,n.context),t._vOptions=[].map.call(t.options,Ma)):("textarea"===n.tag||Bo(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Da),t.addEventListener("compositionend",Na),t.addEventListener("change",Na),it&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){ja(t,e,n.context);var r=t._vOptions,o=t._vOptions=[].map.call(t.options,Ma);if(o.some((function(t,e){return!B(t,r[e])}))){var i=t.multiple?e.value.some((function(t){return Ia(t,o)})):e.value!==e.oldValue&&Ia(e.value,o);i&&La(t,"change")}}}};function ja(t,e,n){Pa(t,e,n),(ot||at)&&setTimeout((function(){Pa(t,e,n)}),0)}function Pa(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,c=t.options.length;s-1,a.selected!==i&&(a.selected=i);else if(B(Ma(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function Ia(t,e){return e.every((function(e){return!B(e,t)}))}function Ma(t){return"_value"in t?t._value:t.value}function Da(t){t.target.composing=!0}function Na(t){t.target.composing&&(t.target.composing=!1,La(t.target,"input"))}function La(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Fa(t){return!t.componentInstance||t.data&&t.data.transition?t:Fa(t.componentInstance._vnode)}var Ra={bind:function(t,e,n){var r=e.value;n=Fa(n);var o=n.data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,wa(n,(function(){t.style.display=i}))):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value,o=e.oldValue;if(!r!==!o){n=Fa(n);var i=n.data&&n.data.transition;i?(n.data.show=!0,r?wa(n,(function(){t.style.display=t.__vOriginalDisplay})):Ca(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)}},Ua={model:Ea,show:Ra},za={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 Ba(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Ba(We(e.children)):t}function Va(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var r in o)e[T(r)]=o[r];return e}function Ha(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function Wa(t){while(t=t.parent)if(t.data.transition)return!0}function qa(t,e){return e.key===t.key&&e.tag===t.tag}var Ka=function(t){return t.tag||Te(t)},Ja=function(t){return"show"===t.name},Ga={name:"transition",props:za,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Ka),n.length)){0;var r=this.mode;0;var o=n[0];if(Wa(this.$vnode))return o;var i=Ba(o);if(!i)return o;if(this._leaving)return Ha(t,o);var a="__transition-".concat(this._uid,"-");i.key=null==i.key?i.isComment?a+"comment":a+i.tag:f(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var s=(i.data||(i.data={})).transition=Va(this),c=this._vnode,u=Ba(c);if(i.data.directives&&i.data.directives.some(Ja)&&(i.data.show=!0),u&&u.data&&!qa(i,u)&&!Te(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var l=u.data.transition=L({},s);if("out-in"===r)return this._leaving=!0,ie(l,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Ha(t,o);if("in-out"===r){if(Te(i))return c;var d,p=function(){d()};ie(s,"afterEnter",p),ie(s,"enterCancelled",p),ie(l,"delayLeave",(function(t){d=t}))}}return o}}},Ya=L({tag:String,moveClass:String},za);delete Ya.mode;var Za={props:Ya,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=En(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",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=Va(this),s=0;s("string"===typeof t&&(t=$s[t.toUpperCase().replace(/-/g,"_")]||null),t);add(t,e){if("string"===typeof t&&(t=document.getElementById(t)),null===t||void 0===t)return;if(e=this.#t(e),"function"!==typeof e)return;const n={element:t,context:t.getContext("2d"),drawing:e};this.list.push(n),this.draw(n,os)}set(t,e){"string"===typeof t&&(t=document.getElementById(t));for(let n=this.list.length;n--;)if(this.list[n].element===t)return this.list[n].drawing=this.#t(e),void this.draw(this.list[n],os);this.add(t,e)}remove(t){"string"===typeof t&&(t=document.getElementById(t));for(let e=this.list.length;e--;)if(this.list[e].element===t)return void this.list.splice(e,1)}draw(t,e){const n=t.context.canvas;this.resizeClear?n.width=n.width:t.context.clearRect(0,0,n.width,n.height),t.drawing(t.context,e,this.color)}play(){this.pause(),this.interval=ns((()=>{const t=Date.now()*this.speed;for(let e=this.list.length;e--;)this.draw(this.list[e],t)}),1e3/60)}pause(){this.interval&&(rs(this.interval),this.interval=null)}}function xs(t){const e={};return e.paused=!t.interval,e.play=()=>{t.play(),e.paused=!1},e.pause=()=>{t.pause(),e.paused=!0},e}var ks=mn({props:{condition:{type:String,required:!0},size:{type:[Number,String],default:64},color:{type:String,default:"black"},paused:{type:Boolean,default:!1},speed:{type:[Number,String],default:1}},computed:{width(){return""+this.size},height(){return""+this.size},icon(){return this.condition.toUpperCase().replace(/[\s.-]/g,"_")}},mounted(){const t=new $s({color:this.color,speed:this.speed});t.set(this.$el,$s[this.icon]),this.paused||t.play(),this.$emit("load",xs(t))}}),Os=ks,Ss=n(656),As=(0,Ss.A)(Os,r,o,!1,null,null,null),Ts=As.exports,Es=Ts}}]); +//# sourceMappingURL=chunk-vendors.a69b4b20.js.map \ No newline at end of file diff --git a/js/chunk-vendors.a69b4b20.js.map b/js/chunk-vendors.a69b4b20.js.map new file mode 100644 index 0000000..29cc8c9 --- /dev/null +++ b/js/chunk-vendors.a69b4b20.js.map @@ -0,0 +1 @@ +{"version":3,"file":"js/chunk-vendors.a69b4b20.js","mappings":"oHAMe,SAASA,EACtBC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,EACAC,GAGA,IAoBIC,EApBAC,EACuB,oBAAlBT,EAA+BA,EAAcS,QAAUT,EAuDhE,GApDIC,IACFQ,EAAQR,OAASA,EACjBQ,EAAQP,gBAAkBA,EAC1BO,EAAQC,WAAY,GAIlBP,IACFM,EAAQE,YAAa,GAInBN,IACFI,EAAQG,SAAW,UAAYP,GAI7BC,GAEFE,EAAO,SAAUK,GAEfA,EACEA,GACCC,KAAKC,QAAUD,KAAKC,OAAOC,YAC3BF,KAAKG,QAAUH,KAAKG,OAAOF,QAAUD,KAAKG,OAAOF,OAAOC,WAEtDH,GAA0C,qBAAxBK,sBACrBL,EAAUK,qBAGRd,GACFA,EAAae,KAAKL,KAAMD,GAGtBA,GAAWA,EAAQO,uBACrBP,EAAQO,sBAAsBC,IAAIf,EAEtC,EAGAG,EAAQa,aAAed,GACdJ,IACTI,EAAOD,EACH,WACEH,EAAae,KACXL,MACCL,EAAQE,WAAaG,KAAKG,OAASH,MAAMS,MAAMC,SAASC,WAE7D,EACArB,GAGFI,EACF,GAAIC,EAAQE,WAAY,CAGtBF,EAAQiB,cAAgBlB,EAExB,IAAImB,EAAiBlB,EAAQR,OAC7BQ,EAAQR,OAAS,SAAkC2B,EAAGf,GAEpD,OADAL,EAAKW,KAAKN,GACHc,EAAeC,EAAGf,EAC3B,CACF,KAAO,CAEL,IAAIgB,EAAWpB,EAAQqB,aACvBrB,EAAQqB,aAAeD,EAAW,GAAGE,OAAOF,EAAUrB,GAAQ,CAACA,EACjE,CAGF,MAAO,CACLwB,QAAShC,EACTS,QAASA,EAEb,C;;;;;;AC1FA,IAAIwB,EAAcC,OAAOC,OAAO,CAAC,GAC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o9C,IACnB,EACA,IAAAC,GACE,OAAOr9C,KAAKw2C,UAAUhxC,cAAcH,QAAQ,UAAW,IACzD,GAEF,OAAAkyB,GACE,MAAMylB,EAAU,IAAI3B,GAAQ,CAC1B3I,MAAO1yC,KAAK0yC,MACZ8I,MAAOx7C,KAAKw7C,QAEdwB,EAAQrwC,IAAI3M,KAAK4oB,IAAKyyB,GAAQr7C,KAAKq9C,OAC9Br9C,KAAKk9C,QAAQF,EAAQH,OAC1B78C,KAAKke,MAAM,OAAQ6+B,GAAaC,GAClC,ICzEgJ,M,UCO9Il7B,IAAY,QACd,GACA3iB,EACAC,GACA,EACA,KACA,KACA,MAIF,GAAe0iB,GAAiB,QCjBhC,K","sources":["webpack://vww-example/./node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js","webpack://vww-example/./node_modules/vue/dist/vue.runtime.esm.js","webpack://vww-example/../../node_modules/debug/src/browser.js","webpack://vww-example/../../node_modules/debug/src/debug.js","webpack://vww-example/../../node_modules/jsonp/index.js","webpack://vww-example/../../node_modules/ms/index.js","webpack://vww-example/../../node_modules/vue-skycons/src/Skycon.vue?51e5","webpack://vww-example/../../node_modules/vue/dist/vue.runtime.esm.js","webpack://vww-example/../../node_modules/vue-skycons/src/skycons.js","webpack://vww-example/../../node_modules/vue-skycons/src/Skycon.vue","webpack://vww-example/../../node_modules/vue-skycons/src/Skycon.vue?5f5d","webpack://vww-example/../../node_modules/vue-skycons/src/Skycon.vue?6692","webpack://vww-example/../../node_modules/vue-skycons/src/index.js"],"sourcesContent":["/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file (except for modules).\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nexport default function normalizeComponent(\n scriptExports,\n render,\n staticRenderFns,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */,\n shadowMode /* vue-cli only */\n) {\n // Vue.extend constructor export interop\n var options =\n typeof scriptExports === 'function' ? scriptExports.options : scriptExports\n\n // render functions\n if (render) {\n options.render = render\n options.staticRenderFns = staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = 'data-v-' + scopeId\n }\n\n var hook\n if (moduleIdentifier) {\n // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = shadowMode\n ? function () {\n injectStyles.call(\n this,\n (options.functional ? this.parent : this).$root.$options.shadowRoot\n )\n }\n : injectStyles\n }\n\n if (hook) {\n if (options.functional) {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functional component in vue file\n var originalRender = options.render\n options.render = function renderWithStyleInjection(h, context) {\n hook.call(context)\n return originalRender(h, context)\n }\n } else {\n // inject component registration as beforeCreate hook\n var existing = options.beforeCreate\n options.beforeCreate = existing ? [].concat(existing, hook) : [hook]\n }\n }\n\n return {\n exports: scriptExports,\n options: options\n }\n}\n","/*!\n * Vue.js v2.7.16\n * (c) 2014-2023 Evan You\n * Released under the MIT License.\n */\nvar emptyObject = Object.freeze({});\nvar isArray = Array.isArray;\n// These helpers produce better VM code in JS engines due to their\n// explicitness and function inlining.\nfunction isUndef(v) {\n return v === undefined || v === null;\n}\nfunction isDef(v) {\n return v !== undefined && v !== null;\n}\nfunction isTrue(v) {\n return v === true;\n}\nfunction isFalse(v) {\n return v === false;\n}\n/**\n * Check if value is primitive.\n */\nfunction isPrimitive(value) {\n return (typeof value === 'string' ||\n typeof value === 'number' ||\n // $flow-disable-line\n typeof value === 'symbol' ||\n typeof value === 'boolean');\n}\nfunction isFunction(value) {\n return typeof value === 'function';\n}\n/**\n * Quick object check - this is primarily used to tell\n * objects from primitive values when we know the value\n * is a JSON-compliant type.\n */\nfunction isObject(obj) {\n return obj !== null && typeof obj === 'object';\n}\n/**\n * Get the raw type string of a value, e.g., [object Object].\n */\nvar _toString = Object.prototype.toString;\nfunction toRawType(value) {\n return _toString.call(value).slice(8, -1);\n}\n/**\n * Strict object type check. Only returns true\n * for plain JavaScript objects.\n */\nfunction isPlainObject(obj) {\n return _toString.call(obj) === '[object Object]';\n}\nfunction isRegExp(v) {\n return _toString.call(v) === '[object RegExp]';\n}\n/**\n * Check if val is a valid array index.\n */\nfunction isValidArrayIndex(val) {\n var n = parseFloat(String(val));\n return n >= 0 && Math.floor(n) === n && isFinite(val);\n}\nfunction isPromise(val) {\n return (isDef(val) &&\n typeof val.then === 'function' &&\n typeof val.catch === 'function');\n}\n/**\n * Convert a value to a string that is actually rendered.\n */\nfunction toString(val) {\n return val == null\n ? ''\n : Array.isArray(val) || (isPlainObject(val) && val.toString === _toString)\n ? JSON.stringify(val, replacer, 2)\n : String(val);\n}\nfunction replacer(_key, val) {\n // avoid circular deps from v3\n if (val && val.__v_isRef) {\n return val.value;\n }\n return val;\n}\n/**\n * Convert an input value to a number for persistence.\n * If the conversion fails, return original string.\n */\nfunction toNumber(val) {\n var n = parseFloat(val);\n return isNaN(n) ? val : n;\n}\n/**\n * Make a map and return a function for checking if a key\n * is in that map.\n */\nfunction makeMap(str, expectsLowerCase) {\n var map = Object.create(null);\n var list = str.split(',');\n for (var i = 0; i < list.length; i++) {\n map[list[i]] = true;\n }\n return expectsLowerCase ? function (val) { return map[val.toLowerCase()]; } : function (val) { return map[val]; };\n}\n/**\n * Check if a tag is a built-in tag.\n */\nvar isBuiltInTag = makeMap('slot,component', true);\n/**\n * Check if an attribute is a reserved attribute.\n */\nvar isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');\n/**\n * Remove an item from an array.\n */\nfunction remove$2(arr, item) {\n var len = arr.length;\n if (len) {\n // fast path for the only / last item\n if (item === arr[len - 1]) {\n arr.length = len - 1;\n return;\n }\n var index = arr.indexOf(item);\n if (index > -1) {\n return arr.splice(index, 1);\n }\n }\n}\n/**\n * Check whether an object has the property.\n */\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasOwn(obj, key) {\n return hasOwnProperty.call(obj, key);\n}\n/**\n * Create a cached version of a pure function.\n */\nfunction cached(fn) {\n var cache = Object.create(null);\n return function cachedFn(str) {\n var hit = cache[str];\n return hit || (cache[str] = fn(str));\n };\n}\n/**\n * Camelize a hyphen-delimited string.\n */\nvar camelizeRE = /-(\\w)/g;\nvar camelize = cached(function (str) {\n return str.replace(camelizeRE, function (_, c) { return (c ? c.toUpperCase() : ''); });\n});\n/**\n * Capitalize a string.\n */\nvar capitalize = cached(function (str) {\n return str.charAt(0).toUpperCase() + str.slice(1);\n});\n/**\n * Hyphenate a camelCase string.\n */\nvar hyphenateRE = /\\B([A-Z])/g;\nvar hyphenate = cached(function (str) {\n return str.replace(hyphenateRE, '-$1').toLowerCase();\n});\n/**\n * Simple bind polyfill for environments that do not support it,\n * e.g., PhantomJS 1.x. Technically, we don't need this anymore\n * since native bind is now performant enough in most browsers.\n * But removing it would mean breaking code that was able to run in\n * PhantomJS 1.x, so this must be kept for backward compatibility.\n */\n/* istanbul ignore next */\nfunction polyfillBind(fn, ctx) {\n function boundFn(a) {\n var l = arguments.length;\n return l\n ? l > 1\n ? fn.apply(ctx, arguments)\n : fn.call(ctx, a)\n : fn.call(ctx);\n }\n boundFn._length = fn.length;\n return boundFn;\n}\nfunction nativeBind(fn, ctx) {\n return fn.bind(ctx);\n}\n// @ts-expect-error bind cannot be `undefined`\nvar bind = Function.prototype.bind ? nativeBind : polyfillBind;\n/**\n * Convert an Array-like object to a real Array.\n */\nfunction toArray(list, start) {\n start = start || 0;\n var i = list.length - start;\n var ret = new Array(i);\n while (i--) {\n ret[i] = list[i + start];\n }\n return ret;\n}\n/**\n * Mix properties into target object.\n */\nfunction extend(to, _from) {\n for (var key in _from) {\n to[key] = _from[key];\n }\n return to;\n}\n/**\n * Merge an Array of Objects into a single Object.\n */\nfunction toObject(arr) {\n var res = {};\n for (var i = 0; i < arr.length; i++) {\n if (arr[i]) {\n extend(res, arr[i]);\n }\n }\n return res;\n}\n/* eslint-disable no-unused-vars */\n/**\n * Perform no operation.\n * Stubbing args to make Flow happy without leaving useless transpiled code\n * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).\n */\nfunction noop(a, b, c) { }\n/**\n * Always return false.\n */\nvar no = function (a, b, c) { return false; };\n/* eslint-enable no-unused-vars */\n/**\n * Return the same value.\n */\nvar identity = function (_) { return _; };\n/**\n * Check if two values are loosely equal - that is,\n * if they are plain objects, do they have the same shape?\n */\nfunction looseEqual(a, b) {\n if (a === b)\n return true;\n var isObjectA = isObject(a);\n var isObjectB = isObject(b);\n if (isObjectA && isObjectB) {\n try {\n var isArrayA = Array.isArray(a);\n var isArrayB = Array.isArray(b);\n if (isArrayA && isArrayB) {\n return (a.length === b.length &&\n a.every(function (e, i) {\n return looseEqual(e, b[i]);\n }));\n }\n else if (a instanceof Date && b instanceof Date) {\n return a.getTime() === b.getTime();\n }\n else if (!isArrayA && !isArrayB) {\n var keysA = Object.keys(a);\n var keysB = Object.keys(b);\n return (keysA.length === keysB.length &&\n keysA.every(function (key) {\n return looseEqual(a[key], b[key]);\n }));\n }\n else {\n /* istanbul ignore next */\n return false;\n }\n }\n catch (e) {\n /* istanbul ignore next */\n return false;\n }\n }\n else if (!isObjectA && !isObjectB) {\n return String(a) === String(b);\n }\n else {\n return false;\n }\n}\n/**\n * Return the first index at which a loosely equal value can be\n * found in the array (if value is a plain object, the array must\n * contain an object of the same shape), or -1 if it is not present.\n */\nfunction looseIndexOf(arr, val) {\n for (var i = 0; i < arr.length; i++) {\n if (looseEqual(arr[i], val))\n return i;\n }\n return -1;\n}\n/**\n * Ensure a function is called only once.\n */\nfunction once(fn) {\n var called = false;\n return function () {\n if (!called) {\n called = true;\n fn.apply(this, arguments);\n }\n };\n}\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is#polyfill\nfunction hasChanged(x, y) {\n if (x === y) {\n return x === 0 && 1 / x !== 1 / y;\n }\n else {\n return x === x || y === y;\n }\n}\n\nvar SSR_ATTR = 'data-server-rendered';\nvar ASSET_TYPES = ['component', 'directive', 'filter'];\nvar LIFECYCLE_HOOKS = [\n 'beforeCreate',\n 'created',\n 'beforeMount',\n 'mounted',\n 'beforeUpdate',\n 'updated',\n 'beforeDestroy',\n 'destroyed',\n 'activated',\n 'deactivated',\n 'errorCaptured',\n 'serverPrefetch',\n 'renderTracked',\n 'renderTriggered'\n];\n\nvar config = {\n /**\n * Option merge strategies (used in core/util/options)\n */\n // $flow-disable-line\n optionMergeStrategies: Object.create(null),\n /**\n * Whether to suppress warnings.\n */\n silent: false,\n /**\n * Show production mode tip message on boot?\n */\n productionTip: process.env.NODE_ENV !== 'production',\n /**\n * Whether to enable devtools\n */\n devtools: process.env.NODE_ENV !== 'production',\n /**\n * Whether to record perf\n */\n performance: false,\n /**\n * Error handler for watcher errors\n */\n errorHandler: null,\n /**\n * Warn handler for watcher warns\n */\n warnHandler: null,\n /**\n * Ignore certain custom elements\n */\n ignoredElements: [],\n /**\n * Custom user key aliases for v-on\n */\n // $flow-disable-line\n keyCodes: Object.create(null),\n /**\n * Check if a tag is reserved so that it cannot be registered as a\n * component. This is platform-dependent and may be overwritten.\n */\n isReservedTag: no,\n /**\n * Check if an attribute is reserved so that it cannot be used as a component\n * prop. This is platform-dependent and may be overwritten.\n */\n isReservedAttr: no,\n /**\n * Check if a tag is an unknown element.\n * Platform-dependent.\n */\n isUnknownElement: no,\n /**\n * Get the namespace of an element\n */\n getTagNamespace: noop,\n /**\n * Parse the real tag name for the specific platform.\n */\n parsePlatformTagName: identity,\n /**\n * Check if an attribute must be bound using property, e.g. value\n * Platform-dependent.\n */\n mustUseProp: no,\n /**\n * Perform updates asynchronously. Intended to be used by Vue Test Utils\n * This will significantly reduce performance if set to false.\n */\n async: true,\n /**\n * Exposed for legacy reasons\n */\n _lifecycleHooks: LIFECYCLE_HOOKS\n};\n\n/**\n * unicode letters used for parsing html tags, component names and property paths.\n * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname\n * skipping \\u10000-\\uEFFFF due to it freezing up PhantomJS\n */\nvar unicodeRegExp = /a-zA-Z\\u00B7\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u203F-\\u2040\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD/;\n/**\n * Check if a string starts with $ or _\n */\nfunction isReserved(str) {\n var c = (str + '').charCodeAt(0);\n return c === 0x24 || c === 0x5f;\n}\n/**\n * Define a property.\n */\nfunction def(obj, key, val, enumerable) {\n Object.defineProperty(obj, key, {\n value: val,\n enumerable: !!enumerable,\n writable: true,\n configurable: true\n });\n}\n/**\n * Parse simple path.\n */\nvar bailRE = new RegExp(\"[^\".concat(unicodeRegExp.source, \".$_\\\\d]\"));\nfunction parsePath(path) {\n if (bailRE.test(path)) {\n return;\n }\n var segments = path.split('.');\n return function (obj) {\n for (var i = 0; i < segments.length; i++) {\n if (!obj)\n return;\n obj = obj[segments[i]];\n }\n return obj;\n };\n}\n\n// can we use __proto__?\nvar hasProto = '__proto__' in {};\n// Browser environment sniffing\nvar inBrowser = typeof window !== 'undefined';\nvar UA = inBrowser && window.navigator.userAgent.toLowerCase();\nvar isIE = UA && /msie|trident/.test(UA);\nvar isIE9 = UA && UA.indexOf('msie 9.0') > 0;\nvar isEdge = UA && UA.indexOf('edge/') > 0;\nUA && UA.indexOf('android') > 0;\nvar isIOS = UA && /iphone|ipad|ipod|ios/.test(UA);\nUA && /chrome\\/\\d+/.test(UA) && !isEdge;\nUA && /phantomjs/.test(UA);\nvar isFF = UA && UA.match(/firefox\\/(\\d+)/);\n// Firefox has a \"watch\" function on Object.prototype...\n// @ts-expect-error firebox support\nvar nativeWatch = {}.watch;\nvar supportsPassive = false;\nif (inBrowser) {\n try {\n var opts = {};\n Object.defineProperty(opts, 'passive', {\n get: function () {\n /* istanbul ignore next */\n supportsPassive = true;\n }\n }); // https://github.com/facebook/flow/issues/285\n window.addEventListener('test-passive', null, opts);\n }\n catch (e) { }\n}\n// this needs to be lazy-evaled because vue may be required before\n// vue-server-renderer can set VUE_ENV\nvar _isServer;\nvar isServerRendering = function () {\n if (_isServer === undefined) {\n /* istanbul ignore if */\n if (!inBrowser && typeof global !== 'undefined') {\n // detect presence of vue-server-renderer and avoid\n // Webpack shimming the process\n _isServer =\n global['process'] && global['process'].env.VUE_ENV === 'server';\n }\n else {\n _isServer = false;\n }\n }\n return _isServer;\n};\n// detect devtools\nvar devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n/* istanbul ignore next */\nfunction isNative(Ctor) {\n return typeof Ctor === 'function' && /native code/.test(Ctor.toString());\n}\nvar hasSymbol = typeof Symbol !== 'undefined' &&\n isNative(Symbol) &&\n typeof Reflect !== 'undefined' &&\n isNative(Reflect.ownKeys);\nvar _Set; // $flow-disable-line\n/* istanbul ignore if */ if (typeof Set !== 'undefined' && isNative(Set)) {\n // use native Set when available.\n _Set = Set;\n}\nelse {\n // a non-standard Set polyfill that only works with primitive keys.\n _Set = /** @class */ (function () {\n function Set() {\n this.set = Object.create(null);\n }\n Set.prototype.has = function (key) {\n return this.set[key] === true;\n };\n Set.prototype.add = function (key) {\n this.set[key] = true;\n };\n Set.prototype.clear = function () {\n this.set = Object.create(null);\n };\n return Set;\n }());\n}\n\nvar currentInstance = null;\n/**\n * This is exposed for compatibility with v3 (e.g. some functions in VueUse\n * relies on it). Do not use this internally, just use `currentInstance`.\n *\n * @internal this function needs manual type declaration because it relies\n * on previously manually authored types from Vue 2\n */\nfunction getCurrentInstance() {\n return currentInstance && { proxy: currentInstance };\n}\n/**\n * @internal\n */\nfunction setCurrentInstance(vm) {\n if (vm === void 0) { vm = null; }\n if (!vm)\n currentInstance && currentInstance._scope.off();\n currentInstance = vm;\n vm && vm._scope.on();\n}\n\n/**\n * @internal\n */\nvar VNode = /** @class */ (function () {\n function VNode(tag, data, children, text, elm, context, componentOptions, asyncFactory) {\n this.tag = tag;\n this.data = data;\n this.children = children;\n this.text = text;\n this.elm = elm;\n this.ns = undefined;\n this.context = context;\n this.fnContext = undefined;\n this.fnOptions = undefined;\n this.fnScopeId = undefined;\n this.key = data && data.key;\n this.componentOptions = componentOptions;\n this.componentInstance = undefined;\n this.parent = undefined;\n this.raw = false;\n this.isStatic = false;\n this.isRootInsert = true;\n this.isComment = false;\n this.isCloned = false;\n this.isOnce = false;\n this.asyncFactory = asyncFactory;\n this.asyncMeta = undefined;\n this.isAsyncPlaceholder = false;\n }\n Object.defineProperty(VNode.prototype, \"child\", {\n // DEPRECATED: alias for componentInstance for backwards compat.\n /* istanbul ignore next */\n get: function () {\n return this.componentInstance;\n },\n enumerable: false,\n configurable: true\n });\n return VNode;\n}());\nvar createEmptyVNode = function (text) {\n if (text === void 0) { text = ''; }\n var node = new VNode();\n node.text = text;\n node.isComment = true;\n return node;\n};\nfunction createTextVNode(val) {\n return new VNode(undefined, undefined, undefined, String(val));\n}\n// optimized shallow clone\n// used for static nodes and slot nodes because they may be reused across\n// multiple renders, cloning them avoids errors when DOM manipulations rely\n// on their elm reference.\nfunction cloneVNode(vnode) {\n var cloned = new VNode(vnode.tag, vnode.data, \n // #7975\n // clone children array to avoid mutating original in case of cloning\n // a child.\n vnode.children && vnode.children.slice(), vnode.text, vnode.elm, vnode.context, vnode.componentOptions, vnode.asyncFactory);\n cloned.ns = vnode.ns;\n cloned.isStatic = vnode.isStatic;\n cloned.key = vnode.key;\n cloned.isComment = vnode.isComment;\n cloned.fnContext = vnode.fnContext;\n cloned.fnOptions = vnode.fnOptions;\n cloned.fnScopeId = vnode.fnScopeId;\n cloned.asyncMeta = vnode.asyncMeta;\n cloned.isCloned = true;\n return cloned;\n}\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n\r\nvar __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\n\r\ntypeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n};\n\nvar uid$2 = 0;\nvar pendingCleanupDeps = [];\nvar cleanupDeps = function () {\n for (var i = 0; i < pendingCleanupDeps.length; i++) {\n var dep = pendingCleanupDeps[i];\n dep.subs = dep.subs.filter(function (s) { return s; });\n dep._pending = false;\n }\n pendingCleanupDeps.length = 0;\n};\n/**\n * A dep is an observable that can have multiple\n * directives subscribing to it.\n * @internal\n */\nvar Dep = /** @class */ (function () {\n function Dep() {\n // pending subs cleanup\n this._pending = false;\n this.id = uid$2++;\n this.subs = [];\n }\n Dep.prototype.addSub = function (sub) {\n this.subs.push(sub);\n };\n Dep.prototype.removeSub = function (sub) {\n // #12696 deps with massive amount of subscribers are extremely slow to\n // clean up in Chromium\n // to workaround this, we unset the sub for now, and clear them on\n // next scheduler flush.\n this.subs[this.subs.indexOf(sub)] = null;\n if (!this._pending) {\n this._pending = true;\n pendingCleanupDeps.push(this);\n }\n };\n Dep.prototype.depend = function (info) {\n if (Dep.target) {\n Dep.target.addDep(this);\n if (process.env.NODE_ENV !== 'production' && info && Dep.target.onTrack) {\n Dep.target.onTrack(__assign({ effect: Dep.target }, info));\n }\n }\n };\n Dep.prototype.notify = function (info) {\n // stabilize the subscriber list first\n var subs = this.subs.filter(function (s) { return s; });\n if (process.env.NODE_ENV !== 'production' && !config.async) {\n // subs aren't sorted in scheduler if not running async\n // we need to sort them now to make sure they fire in correct\n // order\n subs.sort(function (a, b) { return a.id - b.id; });\n }\n for (var i = 0, l = subs.length; i < l; i++) {\n var sub = subs[i];\n if (process.env.NODE_ENV !== 'production' && info) {\n sub.onTrigger &&\n sub.onTrigger(__assign({ effect: subs[i] }, info));\n }\n sub.update();\n }\n };\n return Dep;\n}());\n// The current target watcher being evaluated.\n// This is globally unique because only one watcher\n// can be evaluated at a time.\nDep.target = null;\nvar targetStack = [];\nfunction pushTarget(target) {\n targetStack.push(target);\n Dep.target = target;\n}\nfunction popTarget() {\n targetStack.pop();\n Dep.target = targetStack[targetStack.length - 1];\n}\n\n/*\n * not type checking this file because flow doesn't play well with\n * dynamically accessing methods on Array prototype\n */\nvar arrayProto = Array.prototype;\nvar arrayMethods = Object.create(arrayProto);\nvar methodsToPatch = [\n 'push',\n 'pop',\n 'shift',\n 'unshift',\n 'splice',\n 'sort',\n 'reverse'\n];\n/**\n * Intercept mutating methods and emit events\n */\nmethodsToPatch.forEach(function (method) {\n // cache original method\n var original = arrayProto[method];\n def(arrayMethods, method, function mutator() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var result = original.apply(this, args);\n var ob = this.__ob__;\n var inserted;\n switch (method) {\n case 'push':\n case 'unshift':\n inserted = args;\n break;\n case 'splice':\n inserted = args.slice(2);\n break;\n }\n if (inserted)\n ob.observeArray(inserted);\n // notify change\n if (process.env.NODE_ENV !== 'production') {\n ob.dep.notify({\n type: \"array mutation\" /* TriggerOpTypes.ARRAY_MUTATION */,\n target: this,\n key: method\n });\n }\n else {\n ob.dep.notify();\n }\n return result;\n });\n});\n\nvar arrayKeys = Object.getOwnPropertyNames(arrayMethods);\nvar NO_INITIAL_VALUE = {};\n/**\n * In some cases we may want to disable observation inside a component's\n * update computation.\n */\nvar shouldObserve = true;\nfunction toggleObserving(value) {\n shouldObserve = value;\n}\n// ssr mock dep\nvar mockDep = {\n notify: noop,\n depend: noop,\n addSub: noop,\n removeSub: noop\n};\n/**\n * Observer class that is attached to each observed\n * object. Once attached, the observer converts the target\n * object's property keys into getter/setters that\n * collect dependencies and dispatch updates.\n */\nvar Observer = /** @class */ (function () {\n function Observer(value, shallow, mock) {\n if (shallow === void 0) { shallow = false; }\n if (mock === void 0) { mock = false; }\n this.value = value;\n this.shallow = shallow;\n this.mock = mock;\n // this.value = value\n this.dep = mock ? mockDep : new Dep();\n this.vmCount = 0;\n def(value, '__ob__', this);\n if (isArray(value)) {\n if (!mock) {\n if (hasProto) {\n value.__proto__ = arrayMethods;\n /* eslint-enable no-proto */\n }\n else {\n for (var i = 0, l = arrayKeys.length; i < l; i++) {\n var key = arrayKeys[i];\n def(value, key, arrayMethods[key]);\n }\n }\n }\n if (!shallow) {\n this.observeArray(value);\n }\n }\n else {\n /**\n * Walk through all properties and convert them into\n * getter/setters. This method should only be called when\n * value type is Object.\n */\n var keys = Object.keys(value);\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n defineReactive(value, key, NO_INITIAL_VALUE, undefined, shallow, mock);\n }\n }\n }\n /**\n * Observe a list of Array items.\n */\n Observer.prototype.observeArray = function (value) {\n for (var i = 0, l = value.length; i < l; i++) {\n observe(value[i], false, this.mock);\n }\n };\n return Observer;\n}());\n// helpers\n/**\n * Attempt to create an observer instance for a value,\n * returns the new observer if successfully observed,\n * or the existing observer if the value already has one.\n */\nfunction observe(value, shallow, ssrMockReactivity) {\n if (value && hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {\n return value.__ob__;\n }\n if (shouldObserve &&\n (ssrMockReactivity || !isServerRendering()) &&\n (isArray(value) || isPlainObject(value)) &&\n Object.isExtensible(value) &&\n !value.__v_skip /* ReactiveFlags.SKIP */ &&\n !isRef(value) &&\n !(value instanceof VNode)) {\n return new Observer(value, shallow, ssrMockReactivity);\n }\n}\n/**\n * Define a reactive property on an Object.\n */\nfunction defineReactive(obj, key, val, customSetter, shallow, mock, observeEvenIfShallow) {\n if (observeEvenIfShallow === void 0) { observeEvenIfShallow = false; }\n var dep = new Dep();\n var property = Object.getOwnPropertyDescriptor(obj, key);\n if (property && property.configurable === false) {\n return;\n }\n // cater for pre-defined getter/setters\n var getter = property && property.get;\n var setter = property && property.set;\n if ((!getter || setter) &&\n (val === NO_INITIAL_VALUE || arguments.length === 2)) {\n val = obj[key];\n }\n var childOb = shallow ? val && val.__ob__ : observe(val, false, mock);\n Object.defineProperty(obj, key, {\n enumerable: true,\n configurable: true,\n get: function reactiveGetter() {\n var value = getter ? getter.call(obj) : val;\n if (Dep.target) {\n if (process.env.NODE_ENV !== 'production') {\n dep.depend({\n target: obj,\n type: \"get\" /* TrackOpTypes.GET */,\n key: key\n });\n }\n else {\n dep.depend();\n }\n if (childOb) {\n childOb.dep.depend();\n if (isArray(value)) {\n dependArray(value);\n }\n }\n }\n return isRef(value) && !shallow ? value.value : value;\n },\n set: function reactiveSetter(newVal) {\n var value = getter ? getter.call(obj) : val;\n if (!hasChanged(value, newVal)) {\n return;\n }\n if (process.env.NODE_ENV !== 'production' && customSetter) {\n customSetter();\n }\n if (setter) {\n setter.call(obj, newVal);\n }\n else if (getter) {\n // #7981: for accessor properties without setter\n return;\n }\n else if (!shallow && isRef(value) && !isRef(newVal)) {\n value.value = newVal;\n return;\n }\n else {\n val = newVal;\n }\n childOb = shallow ? newVal && newVal.__ob__ : observe(newVal, false, mock);\n if (process.env.NODE_ENV !== 'production') {\n dep.notify({\n type: \"set\" /* TriggerOpTypes.SET */,\n target: obj,\n key: key,\n newValue: newVal,\n oldValue: value\n });\n }\n else {\n dep.notify();\n }\n }\n });\n return dep;\n}\nfunction set(target, key, val) {\n if (process.env.NODE_ENV !== 'production' && (isUndef(target) || isPrimitive(target))) {\n warn(\"Cannot set reactive property on undefined, null, or primitive value: \".concat(target));\n }\n if (isReadonly(target)) {\n process.env.NODE_ENV !== 'production' && warn(\"Set operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n return;\n }\n var ob = target.__ob__;\n if (isArray(target) && isValidArrayIndex(key)) {\n target.length = Math.max(target.length, key);\n target.splice(key, 1, val);\n // when mocking for SSR, array methods are not hijacked\n if (ob && !ob.shallow && ob.mock) {\n observe(val, false, true);\n }\n return val;\n }\n if (key in target && !(key in Object.prototype)) {\n target[key] = val;\n return val;\n }\n if (target._isVue || (ob && ob.vmCount)) {\n process.env.NODE_ENV !== 'production' &&\n warn('Avoid adding reactive properties to a Vue instance or its root $data ' +\n 'at runtime - declare it upfront in the data option.');\n return val;\n }\n if (!ob) {\n target[key] = val;\n return val;\n }\n defineReactive(ob.value, key, val, undefined, ob.shallow, ob.mock);\n if (process.env.NODE_ENV !== 'production') {\n ob.dep.notify({\n type: \"add\" /* TriggerOpTypes.ADD */,\n target: target,\n key: key,\n newValue: val,\n oldValue: undefined\n });\n }\n else {\n ob.dep.notify();\n }\n return val;\n}\nfunction del(target, key) {\n if (process.env.NODE_ENV !== 'production' && (isUndef(target) || isPrimitive(target))) {\n warn(\"Cannot delete reactive property on undefined, null, or primitive value: \".concat(target));\n }\n if (isArray(target) && isValidArrayIndex(key)) {\n target.splice(key, 1);\n return;\n }\n var ob = target.__ob__;\n if (target._isVue || (ob && ob.vmCount)) {\n process.env.NODE_ENV !== 'production' &&\n warn('Avoid deleting properties on a Vue instance or its root $data ' +\n '- just set it to null.');\n return;\n }\n if (isReadonly(target)) {\n process.env.NODE_ENV !== 'production' &&\n warn(\"Delete operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n return;\n }\n if (!hasOwn(target, key)) {\n return;\n }\n delete target[key];\n if (!ob) {\n return;\n }\n if (process.env.NODE_ENV !== 'production') {\n ob.dep.notify({\n type: \"delete\" /* TriggerOpTypes.DELETE */,\n target: target,\n key: key\n });\n }\n else {\n ob.dep.notify();\n }\n}\n/**\n * Collect dependencies on array elements when the array is touched, since\n * we cannot intercept array element access like property getters.\n */\nfunction dependArray(value) {\n for (var e = void 0, i = 0, l = value.length; i < l; i++) {\n e = value[i];\n if (e && e.__ob__) {\n e.__ob__.dep.depend();\n }\n if (isArray(e)) {\n dependArray(e);\n }\n }\n}\n\nfunction reactive(target) {\n makeReactive(target, false);\n return target;\n}\n/**\n * Return a shallowly-reactive copy of the original object, where only the root\n * level properties are reactive. It also does not auto-unwrap refs (even at the\n * root level).\n */\nfunction shallowReactive(target) {\n makeReactive(target, true);\n def(target, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, true);\n return target;\n}\nfunction makeReactive(target, shallow) {\n // if trying to observe a readonly proxy, return the readonly version.\n if (!isReadonly(target)) {\n if (process.env.NODE_ENV !== 'production') {\n if (isArray(target)) {\n warn(\"Avoid using Array as root value for \".concat(shallow ? \"shallowReactive()\" : \"reactive()\", \" as it cannot be tracked in watch() or watchEffect(). Use \").concat(shallow ? \"shallowRef()\" : \"ref()\", \" instead. This is a Vue-2-only limitation.\"));\n }\n var existingOb = target && target.__ob__;\n if (existingOb && existingOb.shallow !== shallow) {\n warn(\"Target is already a \".concat(existingOb.shallow ? \"\" : \"non-\", \"shallow reactive object, and cannot be converted to \").concat(shallow ? \"\" : \"non-\", \"shallow.\"));\n }\n }\n var ob = observe(target, shallow, isServerRendering() /* ssr mock reactivity */);\n if (process.env.NODE_ENV !== 'production' && !ob) {\n if (target == null || isPrimitive(target)) {\n warn(\"value cannot be made reactive: \".concat(String(target)));\n }\n if (isCollectionType(target)) {\n warn(\"Vue 2 does not support reactive collection types such as Map or Set.\");\n }\n }\n }\n}\nfunction isReactive(value) {\n if (isReadonly(value)) {\n return isReactive(value[\"__v_raw\" /* ReactiveFlags.RAW */]);\n }\n return !!(value && value.__ob__);\n}\nfunction isShallow(value) {\n return !!(value && value.__v_isShallow);\n}\nfunction isReadonly(value) {\n return !!(value && value.__v_isReadonly);\n}\nfunction isProxy(value) {\n return isReactive(value) || isReadonly(value);\n}\nfunction toRaw(observed) {\n var raw = observed && observed[\"__v_raw\" /* ReactiveFlags.RAW */];\n return raw ? toRaw(raw) : observed;\n}\nfunction markRaw(value) {\n // non-extensible objects won't be observed anyway\n if (Object.isExtensible(value)) {\n def(value, \"__v_skip\" /* ReactiveFlags.SKIP */, true);\n }\n return value;\n}\n/**\n * @internal\n */\nfunction isCollectionType(value) {\n var type = toRawType(value);\n return (type === 'Map' || type === 'WeakMap' || type === 'Set' || type === 'WeakSet');\n}\n\n/**\n * @internal\n */\nvar RefFlag = \"__v_isRef\";\nfunction isRef(r) {\n return !!(r && r.__v_isRef === true);\n}\nfunction ref$1(value) {\n return createRef(value, false);\n}\nfunction shallowRef(value) {\n return createRef(value, true);\n}\nfunction createRef(rawValue, shallow) {\n if (isRef(rawValue)) {\n return rawValue;\n }\n var ref = {};\n def(ref, RefFlag, true);\n def(ref, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, shallow);\n def(ref, 'dep', defineReactive(ref, 'value', rawValue, null, shallow, isServerRendering()));\n return ref;\n}\nfunction triggerRef(ref) {\n if (process.env.NODE_ENV !== 'production' && !ref.dep) {\n warn(\"received object is not a triggerable ref.\");\n }\n if (process.env.NODE_ENV !== 'production') {\n ref.dep &&\n ref.dep.notify({\n type: \"set\" /* TriggerOpTypes.SET */,\n target: ref,\n key: 'value'\n });\n }\n else {\n ref.dep && ref.dep.notify();\n }\n}\nfunction unref(ref) {\n return isRef(ref) ? ref.value : ref;\n}\nfunction proxyRefs(objectWithRefs) {\n if (isReactive(objectWithRefs)) {\n return objectWithRefs;\n }\n var proxy = {};\n var keys = Object.keys(objectWithRefs);\n for (var i = 0; i < keys.length; i++) {\n proxyWithRefUnwrap(proxy, objectWithRefs, keys[i]);\n }\n return proxy;\n}\nfunction proxyWithRefUnwrap(target, source, key) {\n Object.defineProperty(target, key, {\n enumerable: true,\n configurable: true,\n get: function () {\n var val = source[key];\n if (isRef(val)) {\n return val.value;\n }\n else {\n var ob = val && val.__ob__;\n if (ob)\n ob.dep.depend();\n return val;\n }\n },\n set: function (value) {\n var oldValue = source[key];\n if (isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n }\n else {\n source[key] = value;\n }\n }\n });\n}\nfunction customRef(factory) {\n var dep = new Dep();\n var _a = factory(function () {\n if (process.env.NODE_ENV !== 'production') {\n dep.depend({\n target: ref,\n type: \"get\" /* TrackOpTypes.GET */,\n key: 'value'\n });\n }\n else {\n dep.depend();\n }\n }, function () {\n if (process.env.NODE_ENV !== 'production') {\n dep.notify({\n target: ref,\n type: \"set\" /* TriggerOpTypes.SET */,\n key: 'value'\n });\n }\n else {\n dep.notify();\n }\n }), get = _a.get, set = _a.set;\n var ref = {\n get value() {\n return get();\n },\n set value(newVal) {\n set(newVal);\n }\n };\n def(ref, RefFlag, true);\n return ref;\n}\nfunction toRefs(object) {\n if (process.env.NODE_ENV !== 'production' && !isReactive(object)) {\n warn(\"toRefs() expects a reactive object but received a plain one.\");\n }\n var ret = isArray(object) ? new Array(object.length) : {};\n for (var key in object) {\n ret[key] = toRef(object, key);\n }\n return ret;\n}\nfunction toRef(object, key, defaultValue) {\n var val = object[key];\n if (isRef(val)) {\n return val;\n }\n var ref = {\n get value() {\n var val = object[key];\n return val === undefined ? defaultValue : val;\n },\n set value(newVal) {\n object[key] = newVal;\n }\n };\n def(ref, RefFlag, true);\n return ref;\n}\n\nvar rawToReadonlyFlag = \"__v_rawToReadonly\";\nvar rawToShallowReadonlyFlag = \"__v_rawToShallowReadonly\";\nfunction readonly(target) {\n return createReadonly(target, false);\n}\nfunction createReadonly(target, shallow) {\n if (!isPlainObject(target)) {\n if (process.env.NODE_ENV !== 'production') {\n if (isArray(target)) {\n warn(\"Vue 2 does not support readonly arrays.\");\n }\n else if (isCollectionType(target)) {\n warn(\"Vue 2 does not support readonly collection types such as Map or Set.\");\n }\n else {\n warn(\"value cannot be made readonly: \".concat(typeof target));\n }\n }\n return target;\n }\n if (process.env.NODE_ENV !== 'production' && !Object.isExtensible(target)) {\n warn(\"Vue 2 does not support creating readonly proxy for non-extensible object.\");\n }\n // already a readonly object\n if (isReadonly(target)) {\n return target;\n }\n // already has a readonly proxy\n var existingFlag = shallow ? rawToShallowReadonlyFlag : rawToReadonlyFlag;\n var existingProxy = target[existingFlag];\n if (existingProxy) {\n return existingProxy;\n }\n var proxy = Object.create(Object.getPrototypeOf(target));\n def(target, existingFlag, proxy);\n def(proxy, \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */, true);\n def(proxy, \"__v_raw\" /* ReactiveFlags.RAW */, target);\n if (isRef(target)) {\n def(proxy, RefFlag, true);\n }\n if (shallow || isShallow(target)) {\n def(proxy, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, true);\n }\n var keys = Object.keys(target);\n for (var i = 0; i < keys.length; i++) {\n defineReadonlyProperty(proxy, target, keys[i], shallow);\n }\n return proxy;\n}\nfunction defineReadonlyProperty(proxy, target, key, shallow) {\n Object.defineProperty(proxy, key, {\n enumerable: true,\n configurable: true,\n get: function () {\n var val = target[key];\n return shallow || !isPlainObject(val) ? val : readonly(val);\n },\n set: function () {\n process.env.NODE_ENV !== 'production' &&\n warn(\"Set operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n }\n });\n}\n/**\n * Returns a reactive-copy of the original object, where only the root level\n * properties are readonly, and does NOT unwrap refs nor recursively convert\n * returned properties.\n * This is used for creating the props proxy object for stateful components.\n */\nfunction shallowReadonly(target) {\n return createReadonly(target, true);\n}\n\nfunction computed(getterOrOptions, debugOptions) {\n var getter;\n var setter;\n var onlyGetter = isFunction(getterOrOptions);\n if (onlyGetter) {\n getter = getterOrOptions;\n setter = process.env.NODE_ENV !== 'production'\n ? function () {\n warn('Write operation failed: computed value is readonly');\n }\n : noop;\n }\n else {\n getter = getterOrOptions.get;\n setter = getterOrOptions.set;\n }\n var watcher = isServerRendering()\n ? null\n : new Watcher(currentInstance, getter, noop, { lazy: true });\n if (process.env.NODE_ENV !== 'production' && watcher && debugOptions) {\n watcher.onTrack = debugOptions.onTrack;\n watcher.onTrigger = debugOptions.onTrigger;\n }\n var ref = {\n // some libs rely on the presence effect for checking computed refs\n // from normal refs, but the implementation doesn't matter\n effect: watcher,\n get value() {\n if (watcher) {\n if (watcher.dirty) {\n watcher.evaluate();\n }\n if (Dep.target) {\n if (process.env.NODE_ENV !== 'production' && Dep.target.onTrack) {\n Dep.target.onTrack({\n effect: Dep.target,\n target: ref,\n type: \"get\" /* TrackOpTypes.GET */,\n key: 'value'\n });\n }\n watcher.depend();\n }\n return watcher.value;\n }\n else {\n return getter();\n }\n },\n set value(newVal) {\n setter(newVal);\n }\n };\n def(ref, RefFlag, true);\n def(ref, \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */, onlyGetter);\n return ref;\n}\n\nvar WATCHER = \"watcher\";\nvar WATCHER_CB = \"\".concat(WATCHER, \" callback\");\nvar WATCHER_GETTER = \"\".concat(WATCHER, \" getter\");\nvar WATCHER_CLEANUP = \"\".concat(WATCHER, \" cleanup\");\n// Simple effect.\nfunction watchEffect(effect, options) {\n return doWatch(effect, null, options);\n}\nfunction watchPostEffect(effect, options) {\n return doWatch(effect, null, (process.env.NODE_ENV !== 'production'\n ? __assign(__assign({}, options), { flush: 'post' }) : { flush: 'post' }));\n}\nfunction watchSyncEffect(effect, options) {\n return doWatch(effect, null, (process.env.NODE_ENV !== 'production'\n ? __assign(__assign({}, options), { flush: 'sync' }) : { flush: 'sync' }));\n}\n// initial value for watchers to trigger on undefined initial values\nvar INITIAL_WATCHER_VALUE = {};\n// implementation\nfunction watch(source, cb, options) {\n if (process.env.NODE_ENV !== 'production' && typeof cb !== 'function') {\n warn(\"`watch(fn, options?)` signature has been moved to a separate API. \" +\n \"Use `watchEffect(fn, options?)` instead. `watch` now only \" +\n \"supports `watch(source, cb, options?) signature.\");\n }\n return doWatch(source, cb, options);\n}\nfunction doWatch(source, cb, _a) {\n var _b = _a === void 0 ? emptyObject : _a, immediate = _b.immediate, deep = _b.deep, _c = _b.flush, flush = _c === void 0 ? 'pre' : _c, onTrack = _b.onTrack, onTrigger = _b.onTrigger;\n if (process.env.NODE_ENV !== 'production' && !cb) {\n if (immediate !== undefined) {\n warn(\"watch() \\\"immediate\\\" option is only respected when using the \" +\n \"watch(source, callback, options?) signature.\");\n }\n if (deep !== undefined) {\n warn(\"watch() \\\"deep\\\" option is only respected when using the \" +\n \"watch(source, callback, options?) signature.\");\n }\n }\n var warnInvalidSource = function (s) {\n warn(\"Invalid watch source: \".concat(s, \". A watch source can only be a getter/effect \") +\n \"function, a ref, a reactive object, or an array of these types.\");\n };\n var instance = currentInstance;\n var call = function (fn, type, args) {\n if (args === void 0) { args = null; }\n var res = invokeWithErrorHandling(fn, null, args, instance, type);\n if (deep && res && res.__ob__)\n res.__ob__.dep.depend();\n return res;\n };\n var getter;\n var forceTrigger = false;\n var isMultiSource = false;\n if (isRef(source)) {\n getter = function () { return source.value; };\n forceTrigger = isShallow(source);\n }\n else if (isReactive(source)) {\n getter = function () {\n source.__ob__.dep.depend();\n return source;\n };\n deep = true;\n }\n else if (isArray(source)) {\n isMultiSource = true;\n forceTrigger = source.some(function (s) { return isReactive(s) || isShallow(s); });\n getter = function () {\n return source.map(function (s) {\n if (isRef(s)) {\n return s.value;\n }\n else if (isReactive(s)) {\n s.__ob__.dep.depend();\n return traverse(s);\n }\n else if (isFunction(s)) {\n return call(s, WATCHER_GETTER);\n }\n else {\n process.env.NODE_ENV !== 'production' && warnInvalidSource(s);\n }\n });\n };\n }\n else if (isFunction(source)) {\n if (cb) {\n // getter with cb\n getter = function () { return call(source, WATCHER_GETTER); };\n }\n else {\n // no cb -> simple effect\n getter = function () {\n if (instance && instance._isDestroyed) {\n return;\n }\n if (cleanup) {\n cleanup();\n }\n return call(source, WATCHER, [onCleanup]);\n };\n }\n }\n else {\n getter = noop;\n process.env.NODE_ENV !== 'production' && warnInvalidSource(source);\n }\n if (cb && deep) {\n var baseGetter_1 = getter;\n getter = function () { return traverse(baseGetter_1()); };\n }\n var cleanup;\n var onCleanup = function (fn) {\n cleanup = watcher.onStop = function () {\n call(fn, WATCHER_CLEANUP);\n };\n };\n // in SSR there is no need to setup an actual effect, and it should be noop\n // unless it's eager\n if (isServerRendering()) {\n // we will also not call the invalidate callback (+ runner is not set up)\n onCleanup = noop;\n if (!cb) {\n getter();\n }\n else if (immediate) {\n call(cb, WATCHER_CB, [\n getter(),\n isMultiSource ? [] : undefined,\n onCleanup\n ]);\n }\n return noop;\n }\n var watcher = new Watcher(currentInstance, getter, noop, {\n lazy: true\n });\n watcher.noRecurse = !cb;\n var oldValue = isMultiSource ? [] : INITIAL_WATCHER_VALUE;\n // overwrite default run\n watcher.run = function () {\n if (!watcher.active) {\n return;\n }\n if (cb) {\n // watch(source, cb)\n var newValue = watcher.get();\n if (deep ||\n forceTrigger ||\n (isMultiSource\n ? newValue.some(function (v, i) {\n return hasChanged(v, oldValue[i]);\n })\n : hasChanged(newValue, oldValue))) {\n // cleanup before running cb again\n if (cleanup) {\n cleanup();\n }\n call(cb, WATCHER_CB, [\n newValue,\n // pass undefined as the old value when it's changed for the first time\n oldValue === INITIAL_WATCHER_VALUE ? undefined : oldValue,\n onCleanup\n ]);\n oldValue = newValue;\n }\n }\n else {\n // watchEffect\n watcher.get();\n }\n };\n if (flush === 'sync') {\n watcher.update = watcher.run;\n }\n else if (flush === 'post') {\n watcher.post = true;\n watcher.update = function () { return queueWatcher(watcher); };\n }\n else {\n // pre\n watcher.update = function () {\n if (instance && instance === currentInstance && !instance._isMounted) {\n // pre-watcher triggered before\n var buffer = instance._preWatchers || (instance._preWatchers = []);\n if (buffer.indexOf(watcher) < 0)\n buffer.push(watcher);\n }\n else {\n queueWatcher(watcher);\n }\n };\n }\n if (process.env.NODE_ENV !== 'production') {\n watcher.onTrack = onTrack;\n watcher.onTrigger = onTrigger;\n }\n // initial run\n if (cb) {\n if (immediate) {\n watcher.run();\n }\n else {\n oldValue = watcher.get();\n }\n }\n else if (flush === 'post' && instance) {\n instance.$once('hook:mounted', function () { return watcher.get(); });\n }\n else {\n watcher.get();\n }\n return function () {\n watcher.teardown();\n };\n}\n\nvar activeEffectScope;\nvar EffectScope = /** @class */ (function () {\n function EffectScope(detached) {\n if (detached === void 0) { detached = false; }\n this.detached = detached;\n /**\n * @internal\n */\n this.active = true;\n /**\n * @internal\n */\n this.effects = [];\n /**\n * @internal\n */\n this.cleanups = [];\n this.parent = activeEffectScope;\n if (!detached && activeEffectScope) {\n this.index =\n (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(this) - 1;\n }\n }\n EffectScope.prototype.run = function (fn) {\n if (this.active) {\n var currentEffectScope = activeEffectScope;\n try {\n activeEffectScope = this;\n return fn();\n }\n finally {\n activeEffectScope = currentEffectScope;\n }\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"cannot run an inactive effect scope.\");\n }\n };\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n EffectScope.prototype.on = function () {\n activeEffectScope = this;\n };\n /**\n * This should only be called on non-detached scopes\n * @internal\n */\n EffectScope.prototype.off = function () {\n activeEffectScope = this.parent;\n };\n EffectScope.prototype.stop = function (fromParent) {\n if (this.active) {\n var i = void 0, l = void 0;\n for (i = 0, l = this.effects.length; i < l; i++) {\n this.effects[i].teardown();\n }\n for (i = 0, l = this.cleanups.length; i < l; i++) {\n this.cleanups[i]();\n }\n if (this.scopes) {\n for (i = 0, l = this.scopes.length; i < l; i++) {\n this.scopes[i].stop(true);\n }\n }\n // nested scope, dereference from parent to avoid memory leaks\n if (!this.detached && this.parent && !fromParent) {\n // optimized O(1) removal\n var last = this.parent.scopes.pop();\n if (last && last !== this) {\n this.parent.scopes[this.index] = last;\n last.index = this.index;\n }\n }\n this.parent = undefined;\n this.active = false;\n }\n };\n return EffectScope;\n}());\nfunction effectScope(detached) {\n return new EffectScope(detached);\n}\n/**\n * @internal\n */\nfunction recordEffectScope(effect, scope) {\n if (scope === void 0) { scope = activeEffectScope; }\n if (scope && scope.active) {\n scope.effects.push(effect);\n }\n}\nfunction getCurrentScope() {\n return activeEffectScope;\n}\nfunction onScopeDispose(fn) {\n if (activeEffectScope) {\n activeEffectScope.cleanups.push(fn);\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"onScopeDispose() is called when there is no active effect scope\" +\n \" to be associated with.\");\n }\n}\n\nfunction provide(key, value) {\n if (!currentInstance) {\n if (process.env.NODE_ENV !== 'production') {\n warn(\"provide() can only be used inside setup().\");\n }\n }\n else {\n // TS doesn't allow symbol as index type\n resolveProvided(currentInstance)[key] = value;\n }\n}\nfunction resolveProvided(vm) {\n // by default an instance inherits its parent's provides object\n // but when it needs to provide values of its own, it creates its\n // own provides object using parent provides object as prototype.\n // this way in `inject` we can simply look up injections from direct\n // parent and let the prototype chain do the work.\n var existing = vm._provided;\n var parentProvides = vm.$parent && vm.$parent._provided;\n if (parentProvides === existing) {\n return (vm._provided = Object.create(parentProvides));\n }\n else {\n return existing;\n }\n}\nfunction inject(key, defaultValue, treatDefaultAsFactory) {\n if (treatDefaultAsFactory === void 0) { treatDefaultAsFactory = false; }\n // fallback to `currentRenderingInstance` so that this can be called in\n // a functional component\n var instance = currentInstance;\n if (instance) {\n // #2400\n // to support `app.use` plugins,\n // fallback to appContext's `provides` if the instance is at root\n var provides = instance.$parent && instance.$parent._provided;\n if (provides && key in provides) {\n // TS doesn't allow symbol as index type\n return provides[key];\n }\n else if (arguments.length > 1) {\n return treatDefaultAsFactory && isFunction(defaultValue)\n ? defaultValue.call(instance)\n : defaultValue;\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"injection \\\"\".concat(String(key), \"\\\" not found.\"));\n }\n }\n else if (process.env.NODE_ENV !== 'production') {\n warn(\"inject() can only be used inside setup() or functional components.\");\n }\n}\n\nvar normalizeEvent = cached(function (name) {\n var passive = name.charAt(0) === '&';\n name = passive ? name.slice(1) : name;\n var once = name.charAt(0) === '~'; // Prefixed last, checked first\n name = once ? name.slice(1) : name;\n var capture = name.charAt(0) === '!';\n name = capture ? name.slice(1) : name;\n return {\n name: name,\n once: once,\n capture: capture,\n passive: passive\n };\n});\nfunction createFnInvoker(fns, vm) {\n function invoker() {\n var fns = invoker.fns;\n if (isArray(fns)) {\n var cloned = fns.slice();\n for (var i = 0; i < cloned.length; i++) {\n invokeWithErrorHandling(cloned[i], null, arguments, vm, \"v-on handler\");\n }\n }\n else {\n // return handler return value for single handlers\n return invokeWithErrorHandling(fns, null, arguments, vm, \"v-on handler\");\n }\n }\n invoker.fns = fns;\n return invoker;\n}\nfunction updateListeners(on, oldOn, add, remove, createOnceHandler, vm) {\n var name, cur, old, event;\n for (name in on) {\n cur = on[name];\n old = oldOn[name];\n event = normalizeEvent(name);\n if (isUndef(cur)) {\n process.env.NODE_ENV !== 'production' &&\n warn(\"Invalid handler for event \\\"\".concat(event.name, \"\\\": got \") + String(cur), vm);\n }\n else if (isUndef(old)) {\n if (isUndef(cur.fns)) {\n cur = on[name] = createFnInvoker(cur, vm);\n }\n if (isTrue(event.once)) {\n cur = on[name] = createOnceHandler(event.name, cur, event.capture);\n }\n add(event.name, cur, event.capture, event.passive, event.params);\n }\n else if (cur !== old) {\n old.fns = cur;\n on[name] = old;\n }\n }\n for (name in oldOn) {\n if (isUndef(on[name])) {\n event = normalizeEvent(name);\n remove(event.name, oldOn[name], event.capture);\n }\n }\n}\n\nfunction mergeVNodeHook(def, hookKey, hook) {\n if (def instanceof VNode) {\n def = def.data.hook || (def.data.hook = {});\n }\n var invoker;\n var oldHook = def[hookKey];\n function wrappedHook() {\n hook.apply(this, arguments);\n // important: remove merged hook to ensure it's called only once\n // and prevent memory leak\n remove$2(invoker.fns, wrappedHook);\n }\n if (isUndef(oldHook)) {\n // no existing hook\n invoker = createFnInvoker([wrappedHook]);\n }\n else {\n /* istanbul ignore if */\n if (isDef(oldHook.fns) && isTrue(oldHook.merged)) {\n // already a merged invoker\n invoker = oldHook;\n invoker.fns.push(wrappedHook);\n }\n else {\n // existing plain hook\n invoker = createFnInvoker([oldHook, wrappedHook]);\n }\n }\n invoker.merged = true;\n def[hookKey] = invoker;\n}\n\nfunction extractPropsFromVNodeData(data, Ctor, tag) {\n // we are only extracting raw values here.\n // validation and default values are handled in the child\n // component itself.\n var propOptions = Ctor.options.props;\n if (isUndef(propOptions)) {\n return;\n }\n var res = {};\n var attrs = data.attrs, props = data.props;\n if (isDef(attrs) || isDef(props)) {\n for (var key in propOptions) {\n var altKey = hyphenate(key);\n if (process.env.NODE_ENV !== 'production') {\n var keyInLowerCase = key.toLowerCase();\n if (key !== keyInLowerCase && attrs && hasOwn(attrs, keyInLowerCase)) {\n tip(\"Prop \\\"\".concat(keyInLowerCase, \"\\\" is passed to component \") +\n \"\".concat(formatComponentName(\n // @ts-expect-error tag is string\n tag || Ctor), \", but the declared prop name is\") +\n \" \\\"\".concat(key, \"\\\". \") +\n \"Note that HTML attributes are case-insensitive and camelCased \" +\n \"props need to use their kebab-case equivalents when using in-DOM \" +\n \"templates. You should probably use \\\"\".concat(altKey, \"\\\" instead of \\\"\").concat(key, \"\\\".\"));\n }\n }\n checkProp(res, props, key, altKey, true) ||\n checkProp(res, attrs, key, altKey, false);\n }\n }\n return res;\n}\nfunction checkProp(res, hash, key, altKey, preserve) {\n if (isDef(hash)) {\n if (hasOwn(hash, key)) {\n res[key] = hash[key];\n if (!preserve) {\n delete hash[key];\n }\n return true;\n }\n else if (hasOwn(hash, altKey)) {\n res[key] = hash[altKey];\n if (!preserve) {\n delete hash[altKey];\n }\n return true;\n }\n }\n return false;\n}\n\n// The template compiler attempts to minimize the need for normalization by\n// statically analyzing the template at compile time.\n//\n// For plain HTML markup, normalization can be completely skipped because the\n// generated render function is guaranteed to return Array. There are\n// two cases where extra normalization is needed:\n// 1. When the children contains components - because a functional component\n// may return an Array instead of a single root. In this case, just a simple\n// normalization is needed - if any child is an Array, we flatten the whole\n// thing with Array.prototype.concat. It is guaranteed to be only 1-level deep\n// because functional components already normalize their own children.\nfunction simpleNormalizeChildren(children) {\n for (var i = 0; i < children.length; i++) {\n if (isArray(children[i])) {\n return Array.prototype.concat.apply([], children);\n }\n }\n return children;\n}\n// 2. When the children contains constructs that always generated nested Arrays,\n// e.g.