w-plot-vue 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.editorconfig +9 -0
- package/.eslintignore +3 -0
- package/.eslintrc.js +55 -0
- package/.jsdoc +25 -0
- package/LICENSE +21 -0
- package/README.md +89 -0
- package/SECURITY.md +5 -0
- package/babel.config.js +15 -0
- package/dist/w-geo-vue.umd.js +7 -0
- package/dist/w-geo-vue.umd.js.map +1 -0
- package/docs/examples/app.html +65 -0
- package/docs/examples/app.umd.js +7 -0
- package/docs/examples/app.umd.js.map +1 -0
- package/docs/examples/w-bar_horizontal_multi-set(color).html +492 -0
- package/docs/examples/w-bar_horizontal_multi-set(color, gradient).html +492 -0
- package/docs/examples/w-bar_horizontal_multi-set(series color).html +492 -0
- package/docs/examples/w-bar_horizontal_multi-set(series color, gradient).html +492 -0
- package/docs/examples/w-bar_horizontal_multi-set.html +492 -0
- package/docs/examples/w-bar_horizontal_multi-set__barDisplay(stackNormal).html +495 -0
- package/docs/examples/w-bar_horizontal_multi-set__barDisplay(stackPercent).html +496 -0
- package/docs/examples/w-bar_horizontal_multi-set__hide legned.html +492 -0
- package/docs/examples/w-bar_horizontal_multi-set__show labels.html +492 -0
- package/docs/examples/w-bar_horizontal_multi-set_barKpColor(gradient).html +508 -0
- package/docs/examples/w-bar_horizontal_multi-set_barKpColor.html +506 -0
- package/docs/examples/w-bar_horizontal_multi-set_barWidthRatio.html +493 -0
- package/docs/examples/w-bar_horizontal_multi-set_barWidthRatio_barGroupWidthRatio.html +498 -0
- package/docs/examples/w-bar_horizontal_one-set(color).html +490 -0
- package/docs/examples/w-bar_horizontal_one-set(color, gradient).html +490 -0
- package/docs/examples/w-bar_horizontal_one-set.html +490 -0
- package/docs/examples/w-bar_horizontal_one-set_barColor(gradient).html +491 -0
- package/docs/examples/w-bar_horizontal_one-set_barColor.html +491 -0
- package/docs/examples/w-bar_horizontal_one-set_barKpColor(gradient).html +500 -0
- package/docs/examples/w-bar_horizontal_one-set_barKpColor.html +498 -0
- package/docs/examples/w-bar_horizontal_one-set_barWidthRatio.html +491 -0
- package/docs/examples/w-bar_horizontal_one-set_barWidthRatio_barGroupWidthRatio.html +496 -0
- package/docs/examples/w-bar_horizontal_one-set_hide labels.html +491 -0
- package/docs/examples/w-bar_horizontal_one-set_marginLeft_marginRight.html +495 -0
- package/docs/examples/w-bar_horizontal_one-set_show legned.html +491 -0
- package/docs/examples/w-bar_multi-set(color).html +489 -0
- package/docs/examples/w-bar_multi-set(color, gradient).html +489 -0
- package/docs/examples/w-bar_multi-set(series color).html +489 -0
- package/docs/examples/w-bar_multi-set(series color, gradient).html +489 -0
- package/docs/examples/w-bar_multi-set.html +489 -0
- package/docs/examples/w-bar_multi-set__barDisplay(stackNormal).html +490 -0
- package/docs/examples/w-bar_multi-set__barDisplay(stackNormal)_.html +492 -0
- package/docs/examples/w-bar_multi-set__barDisplay(stackPercent).html +491 -0
- package/docs/examples/w-bar_multi-set__hide legned.html +489 -0
- package/docs/examples/w-bar_multi-set__show labels.html +489 -0
- package/docs/examples/w-bar_multi-set_barKpColor(gradient).html +503 -0
- package/docs/examples/w-bar_multi-set_barKpColor.html +503 -0
- package/docs/examples/w-bar_multi-set_barWidthRatio.html +490 -0
- package/docs/examples/w-bar_multi-set_barWidthRatio_barGroupWidthRatio_barBorderRadius.html +495 -0
- package/docs/examples/w-bar_one-set(color).html +487 -0
- package/docs/examples/w-bar_one-set(color, gradient).html +487 -0
- package/docs/examples/w-bar_one-set.html +487 -0
- package/docs/examples/w-bar_one-set_barColor(gradient).html +488 -0
- package/docs/examples/w-bar_one-set_barColor.html +488 -0
- package/docs/examples/w-bar_one-set_barKpColor(gradient).html +495 -0
- package/docs/examples/w-bar_one-set_barKpColor.html +495 -0
- package/docs/examples/w-bar_one-set_barWidthRatio.html +488 -0
- package/docs/examples/w-bar_one-set_barWidthRatio_barGroupWidthRatio_barBorderRadius.html +493 -0
- package/docs/examples/w-bar_one-set_hide labels.html +488 -0
- package/docs/examples/w-bar_one-set_marginLeft_marginRight_marginTop.html +493 -0
- package/docs/examples/w-bar_one-set_show legned.html +488 -0
- package/docs/examples/w-pie_one-set(color).html +251 -0
- package/docs/examples/w-pie_one-set(color, gradient).html +251 -0
- package/docs/examples/w-pie_one-set.html +251 -0
- package/docs/examples/w-pie_one-set_hide labels.html +252 -0
- package/docs/examples/w-pie_one-set_hide legned.html +252 -0
- package/docs/examples/w-pie_one-set_marginLeft_marginRight_marginTop.html +257 -0
- package/docs/examples/w-pie_one-set_pieBorderRadius.html +252 -0
- package/docs/examples/w-pie_one-set_pieBorderWidth_pieBorderRadius.html +253 -0
- package/docs/examples/w-pie_one-set_pieKpColor(gradient).html +259 -0
- package/docs/examples/w-pie_one-set_pieKpColor.html +259 -0
- package/docs/examples/w-pie_one-set_pieThicknessRatio.html +252 -0
- package/docs/examples/w-plot_default.html +174 -0
- package/docs/examples/w-rose_multi-set(color).html +489 -0
- package/docs/examples/w-rose_multi-set(color, gradient).html +489 -0
- package/docs/examples/w-rose_multi-set(series color).html +489 -0
- package/docs/examples/w-rose_multi-set(series color, gradient).html +489 -0
- package/docs/examples/w-rose_multi-set.html +489 -0
- package/docs/examples/w-rose_multi-set__hide legned.html +489 -0
- package/docs/examples/w-rose_multi-set__show labels.html +489 -0
- package/docs/examples/w-rose_multi-set_roseBorderWidth.html +490 -0
- package/docs/examples/w-rose_multi-set_roseKpColor(gradient).html +503 -0
- package/docs/examples/w-rose_multi-set_roseKpColor.html +503 -0
- package/docs/examples/w-rose_multi-set_roseWidthRatio.html +490 -0
- package/docs/examples/w-rose_one-set(color).html +487 -0
- package/docs/examples/w-rose_one-set(color, gradient).html +487 -0
- package/docs/examples/w-rose_one-set.html +487 -0
- package/docs/examples/w-rose_one-set_marginLeft_marginRight_marginTop.html +493 -0
- package/docs/examples/w-rose_one-set_roseBorderWidth.html +488 -0
- package/docs/examples/w-rose_one-set_roseKpColor(gradient).html +495 -0
- package/docs/examples/w-rose_one-set_roseKpColor.html +495 -0
- package/docs/examples/w-rose_one-set_roseShowLabels.html +488 -0
- package/docs/examples/w-rose_one-set_roseWidthRatio.html +488 -0
- package/docs/examples/w-rose_one-set_showLegend.html +488 -0
- package/docs/examples/w-rose_one-set_showLegend_legendPosition.html +489 -0
- package/docs/fonts/Montserrat/Montserrat-Bold.eot +0 -0
- package/docs/fonts/Montserrat/Montserrat-Bold.ttf +0 -0
- package/docs/fonts/Montserrat/Montserrat-Bold.woff +0 -0
- package/docs/fonts/Montserrat/Montserrat-Bold.woff2 +0 -0
- package/docs/fonts/Montserrat/Montserrat-Regular.eot +0 -0
- package/docs/fonts/Montserrat/Montserrat-Regular.ttf +0 -0
- package/docs/fonts/Montserrat/Montserrat-Regular.woff +0 -0
- package/docs/fonts/Montserrat/Montserrat-Regular.woff2 +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.eot +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.svg +978 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.ttf +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-light-webfont.woff2 +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.eot +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.svg +1049 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.ttf +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff +0 -0
- package/docs/fonts/Source-Sans-Pro/sourcesanspro-regular-webfont.woff2 +0 -0
- package/docs/getDefAxis.mjs.html +157 -0
- package/docs/getDefChart.mjs.html +123 -0
- package/docs/getDefLegend.mjs.html +115 -0
- package/docs/getDefOpt.mjs.html +137 -0
- package/docs/global.html +1088 -0
- package/docs/index.html +84 -0
- package/docs/module-WBar.html +216 -0
- package/docs/module-WPie.html +216 -0
- package/docs/module-WPlot.html +216 -0
- package/docs/module-WRose.html +216 -0
- package/docs/scripts/collapse.js +39 -0
- package/docs/scripts/commonNav.js +28 -0
- package/docs/scripts/linenumber.js +25 -0
- package/docs/scripts/nav.js +12 -0
- package/docs/scripts/polyfill.js +4 -0
- package/docs/scripts/prettify/Apache-License-2.0.txt +202 -0
- package/docs/scripts/prettify/lang-css.js +2 -0
- package/docs/scripts/prettify/prettify.js +28 -0
- package/docs/scripts/search.js +99 -0
- package/docs/setLegendLoc.mjs.html +176 -0
- package/docs/styles/jsdoc.css +776 -0
- package/docs/styles/prettify.css +80 -0
- package/g.mjs +0 -0
- package/package.json +68 -0
- package/public/index.html +38 -0
- package/src/App.vue +118 -0
- package/src/AppZoneWBar.vue +1454 -0
- package/src/AppZoneWPie.vue +324 -0
- package/src/AppZoneWPlot.vue +78 -0
- package/src/AppZoneWRose.vue +735 -0
- package/src/components/WBar.vue +107 -0
- package/src/components/WGeoVue.vue +18 -0
- package/src/components/WPie.vue +107 -0
- package/src/components/WPlot.vue +86 -0
- package/src/components/WRose.vue +107 -0
- package/src/components/demolink.vue +105 -0
- package/src/js/genBarOpt.mjs +303 -0
- package/src/js/genPieOpt.mjs +233 -0
- package/src/js/genRoseOpt.mjs +297 -0
- package/src/js/getDefAxis.mjs +85 -0
- package/src/js/getDefChart.mjs +51 -0
- package/src/js/getDefLegend.mjs +43 -0
- package/src/js/getDefOpt.mjs +65 -0
- package/src/js/setLegendLoc.mjs +104 -0
- package/src/main.js +8 -0
- package/test/all.test.mjs +10 -0
- package/toolg/addVersion.mjs +4 -0
- package/toolg/cleanFolder.mjs +4 -0
- package/toolg/cvCasename.mjs +43 -0
- package/toolg/gDistApp.mjs +38 -0
- package/toolg/gDistRollupComps.mjs +21 -0
- package/toolg/gDocExams.mjs +47 -0
- package/toolg/gExtractHtml.mjs +263 -0
- package/toolg/gMergeComps.mjs +75 -0
- package/toolg/modifyReadme.mjs +4 -0
- package/vue.config.js +21 -0
package/.editorconfig
ADDED
package/.eslintignore
ADDED
package/.eslintrc.js
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
'env': {
|
|
3
|
+
'browser': true,
|
|
4
|
+
'es6': true,
|
|
5
|
+
'mocha': true
|
|
6
|
+
},
|
|
7
|
+
'extends': ['plugin:vue/base', 'plugin:vue/essential', 'standard'],
|
|
8
|
+
'plugins': [
|
|
9
|
+
'vue'
|
|
10
|
+
],
|
|
11
|
+
'globals': {
|
|
12
|
+
'Atomics': 'readonly',
|
|
13
|
+
'SharedArrayBuffer': 'readonly'
|
|
14
|
+
},
|
|
15
|
+
'parser': 'vue-eslint-parser',
|
|
16
|
+
'parserOptions': {
|
|
17
|
+
'parser': '@babel/eslint-parser',
|
|
18
|
+
'ecmaVersion': 2019,
|
|
19
|
+
'sourceType': 'module',
|
|
20
|
+
},
|
|
21
|
+
'rules': {
|
|
22
|
+
'generator-star-spacing': 'off',
|
|
23
|
+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
24
|
+
'indent': ['error', 4],
|
|
25
|
+
'no-console': 'off',
|
|
26
|
+
'comma-dangle': ['error', {
|
|
27
|
+
'arrays': 'ignore',
|
|
28
|
+
'objects': 'ignore',
|
|
29
|
+
'imports': 'never',
|
|
30
|
+
'exports': 'never',
|
|
31
|
+
'functions': 'ignore'
|
|
32
|
+
}],
|
|
33
|
+
'no-multiple-empty-lines': ['error', { 'max': 2, 'maxEOF': 2 }],
|
|
34
|
+
//'space-before-function-paren': ['error', { 'anonymous': 'always', 'named': 'never' }],
|
|
35
|
+
'space-before-function-paren': 'off',
|
|
36
|
+
'spaced-comment': 'off',
|
|
37
|
+
'brace-style': ['error', 'stroustrup'],
|
|
38
|
+
'padded-blocks': 'off',
|
|
39
|
+
'no-constant-condition': 'off',
|
|
40
|
+
'camelcase': 'off',
|
|
41
|
+
'no-new': 'off',
|
|
42
|
+
'prefer-const': 'off',
|
|
43
|
+
'quote-props': ['error', 'consistent'],
|
|
44
|
+
'dot-notation': 'off',
|
|
45
|
+
'standard/no-callback-literal': 'off',
|
|
46
|
+
'quotes': ['error', 'single', { 'allowTemplateLiterals': true }],
|
|
47
|
+
'prefer-promise-reject-errors': 'off',
|
|
48
|
+
'no-unused-vars': ['error', { 'args': 'none', 'ignoreRestSiblings': true, 'argsIgnorePattern': '^_' }],
|
|
49
|
+
'node/no-callback-literal': 'off',
|
|
50
|
+
'prefer-regex-literals': 'off',
|
|
51
|
+
'array-callback-return': 'off',
|
|
52
|
+
'no-unreachable-loop': 'off',
|
|
53
|
+
'vue/multi-word-component-names': 'off',
|
|
54
|
+
}
|
|
55
|
+
}
|
package/.jsdoc
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"tags": {
|
|
3
|
+
"allowUnknownTags": false
|
|
4
|
+
},
|
|
5
|
+
"source": {
|
|
6
|
+
"include": ["src/", "server/"],
|
|
7
|
+
"includePattern": ".+\\.(js(doc|x)?|mjs|vue)$",
|
|
8
|
+
"excludePattern": "(node_modules/|docs)"
|
|
9
|
+
},
|
|
10
|
+
"plugins": [
|
|
11
|
+
"plugins/markdown",
|
|
12
|
+
"node_modules/jsdoc-vuejs"
|
|
13
|
+
],
|
|
14
|
+
"opts": {
|
|
15
|
+
"template": "node_modules/docdash",
|
|
16
|
+
"encoding": "utf8",
|
|
17
|
+
"destination": "docs/",
|
|
18
|
+
"recurse": true,
|
|
19
|
+
"verbose": true
|
|
20
|
+
},
|
|
21
|
+
"templates": {
|
|
22
|
+
"cleverLinks": false,
|
|
23
|
+
"monospaceLinks": false
|
|
24
|
+
}
|
|
25
|
+
}
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2022 semisphere(yu-da, lyu 呂昱達)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# w-plot-vue
|
|
2
|
+
A geo component for vue(vue2).
|
|
3
|
+
|
|
4
|
+

|
|
5
|
+
[](https://github.com/vuejs/vue)
|
|
6
|
+
[](https://npmjs.org/package/w-plot-vue)
|
|
7
|
+
[](https://npmjs.org/package/w-plot-vue)
|
|
8
|
+
[](https://github.com/yuda-lyu/w-plot-vue)
|
|
9
|
+
[](https://npmjs.org/package/w-plot-vue)
|
|
10
|
+
[](https://www.jsdelivr.com/package/npm/w-plot-vue)
|
|
11
|
+
|
|
12
|
+
## Documentation
|
|
13
|
+
To view documentation or get support, visit [docs](https://yuda-lyu.github.io/w-plot-vue/global.html).
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
To view some examples for more understanding, visit examples:
|
|
17
|
+
|
|
18
|
+
> **all components:** [web](//yuda-lyu.github.io/w-plot-vue/examples/app.html) [[source code](https://github.com/yuda-lyu/w-plot-vue/blob/master/docs/examples/app.html)]
|
|
19
|
+
|
|
20
|
+
## Installation
|
|
21
|
+
### Using npm(ES6 module):
|
|
22
|
+
> **Note:** w-plot-vue is mainly dependent on `w-component-vue` and `wsemi`.
|
|
23
|
+
|
|
24
|
+
```alias
|
|
25
|
+
npm i w-plot-vue
|
|
26
|
+
```
|
|
27
|
+
Import all components:
|
|
28
|
+
```alias
|
|
29
|
+
//choose component
|
|
30
|
+
<w-plot
|
|
31
|
+
...
|
|
32
|
+
></w-plot>
|
|
33
|
+
|
|
34
|
+
//import
|
|
35
|
+
import WGeoVue from 'w-plot-vue'
|
|
36
|
+
|
|
37
|
+
//use
|
|
38
|
+
Vue.use(WGeoVue)
|
|
39
|
+
```
|
|
40
|
+
Import one component:
|
|
41
|
+
```alias
|
|
42
|
+
//choose component
|
|
43
|
+
<w-plot
|
|
44
|
+
...
|
|
45
|
+
></w-plot>
|
|
46
|
+
|
|
47
|
+
//import
|
|
48
|
+
import WPlot from 'w-plot-vue/src/components/WPlot.vue'
|
|
49
|
+
|
|
50
|
+
//component
|
|
51
|
+
Vue.component('w-plot',WPlot)
|
|
52
|
+
//or
|
|
53
|
+
export default {
|
|
54
|
+
components: {
|
|
55
|
+
WPlot,
|
|
56
|
+
//or
|
|
57
|
+
'w-plot': WPlot,
|
|
58
|
+
},
|
|
59
|
+
...
|
|
60
|
+
}
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### In a browser(UMD module):
|
|
64
|
+
> **Note:** umd file of `w-plot-vue` is mainly dependent on `vue`.
|
|
65
|
+
|
|
66
|
+
[Necessary] Add script for w-plot-vue.
|
|
67
|
+
```alias
|
|
68
|
+
<script src="https://cdn.jsdelivr.net/npm/w-plot-vue@1.0.0/dist/w-plot-vue.umd.js"></script>
|
|
69
|
+
```
|
|
70
|
+
Directly use:
|
|
71
|
+
```alias
|
|
72
|
+
//app and component
|
|
73
|
+
<div id="app">
|
|
74
|
+
<w-plot
|
|
75
|
+
...
|
|
76
|
+
></w-plot>
|
|
77
|
+
</div>
|
|
78
|
+
|
|
79
|
+
//use
|
|
80
|
+
Vue.use(window['w-plot-vue'])
|
|
81
|
+
|
|
82
|
+
//new
|
|
83
|
+
new Vue({
|
|
84
|
+
el: '#app',
|
|
85
|
+
data: {
|
|
86
|
+
...
|
|
87
|
+
}
|
|
88
|
+
})
|
|
89
|
+
```
|
package/SECURITY.md
ADDED
package/babel.config.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
'presets': [
|
|
3
|
+
['@babel/preset-env', {
|
|
4
|
+
'useBuiltIns': 'entry',
|
|
5
|
+
'corejs': 3
|
|
6
|
+
}]
|
|
7
|
+
],
|
|
8
|
+
'plugins': [
|
|
9
|
+
'@babel/plugin-transform-runtime',
|
|
10
|
+
'@babel/plugin-syntax-import-assertions',
|
|
11
|
+
'@babel/plugin-proposal-export-default-from',
|
|
12
|
+
'@babel/plugin-proposal-nullish-coalescing-operator',
|
|
13
|
+
'@babel/plugin-proposal-optional-chaining'
|
|
14
|
+
]
|
|
15
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* w-geo-vue v1.0.0
|
|
3
|
+
* (c) 2018-2021 yuda-lyu(semisphere)
|
|
4
|
+
* Released under the MIT License.
|
|
5
|
+
*/
|
|
6
|
+
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?module.exports=n(require("vue")):"function"==typeof define&&define.amd?define(["vue"],n):(e="undefined"!=typeof globalThis?globalThis:e||self)["w-geo-vue"]=n(e.Vue)}(this,(function(e){"use strict";var n=Array.isArray,t="object"==typeof global&&global&&global.Object===Object&&global,r="object"==typeof self&&self&&self.Object===Object&&self,o=t||r||Function("return this")(),i=o.Symbol,a=Object.prototype,c=a.hasOwnProperty,u=a.toString,l=i?i.toStringTag:void 0;var f=Object.prototype.toString;var s="[object Null]",d="[object Undefined]",p=i?i.toStringTag:void 0;function h(e){return null==e?void 0===e?d:s:p&&p in Object(e)?function(e){var n=c.call(e,l),t=e[l];try{e[l]=void 0;var r=!0}catch(e){}var o=u.call(e);return r&&(n?e[l]=t:delete e[l]),o}(e):function(e){return f.call(e)}(e)}function g(e){return null!=e&&"object"==typeof e}var v="[object Symbol]";function b(e){return"symbol"==typeof e||g(e)&&h(e)==v}var y=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,m=/^\w*$/;function A(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!b(e))||(m.test(e)||!y.test(e)||null!=t&&e in Object(t))}function w(e){var n=typeof e;return null!=e&&("object"==n||"function"==n)}var j="[object AsyncFunction]",k="[object Function]",_="[object GeneratorFunction]",x="[object Proxy]";function O(e){if(!w(e))return!1;var n=h(e);return n==k||n==_||n==j||n==x}var S,C=o["__core-js_shared__"],P=(S=/[^.]+$/.exec(C&&C.keys&&C.keys.IE_PROTO||""))?"Symbol(src)_1."+S:"";var E=Function.prototype.toString;function T(e){if(null!=e){try{return E.call(e)}catch(e){}try{return e+""}catch(e){}}return""}var z=/^\[object .+?Constructor\]$/,R=Function.prototype,B=Object.prototype,L=R.toString,I=B.hasOwnProperty,W=RegExp("^"+L.call(I).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function N(e){return!(!w(e)||(n=e,P&&P in n))&&(O(e)?W:z).test(T(e));var n}function F(e,n){var t=function(e,n){return null==e?void 0:e[n]}(e,n);return N(t)?t:void 0}var $=F(Object,"create");var M=Object.prototype.hasOwnProperty;var D=Object.prototype.hasOwnProperty;function U(e){var n=-1,t=null==e?0:e.length;for(this.clear();++n<t;){var r=e[n];this.set(r[0],r[1])}}function H(e,n){return e===n||e!=e&&n!=n}function Q(e,n){for(var t=e.length;t--;)if(H(e[t][0],n))return t;return-1}U.prototype.clear=function(){this.__data__=$?$(null):{},this.size=0},U.prototype.delete=function(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n},U.prototype.get=function(e){var n=this.__data__;if($){var t=n[e];return"__lodash_hash_undefined__"===t?void 0:t}return M.call(n,e)?n[e]:void 0},U.prototype.has=function(e){var n=this.__data__;return $?void 0!==n[e]:D.call(n,e)},U.prototype.set=function(e,n){var t=this.__data__;return this.size+=this.has(e)?0:1,t[e]=$&&void 0===n?"__lodash_hash_undefined__":n,this};var V=Array.prototype.splice;function G(e){var n=-1,t=null==e?0:e.length;for(this.clear();++n<t;){var r=e[n];this.set(r[0],r[1])}}G.prototype.clear=function(){this.__data__=[],this.size=0},G.prototype.delete=function(e){var n=this.__data__,t=Q(n,e);return!(t<0)&&(t==n.length-1?n.pop():V.call(n,t,1),--this.size,!0)},G.prototype.get=function(e){var n=this.__data__,t=Q(n,e);return t<0?void 0:n[t][1]},G.prototype.has=function(e){return Q(this.__data__,e)>-1},G.prototype.set=function(e,n){var t=this.__data__,r=Q(t,e);return r<0?(++this.size,t.push([e,n])):t[r][1]=n,this};var Z=F(o,"Map");function Y(e,n){var t,r,o=e.__data__;return("string"==(r=typeof(t=n))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==t:null===t)?o["string"==typeof n?"string":"hash"]:o.map}function q(e){var n=-1,t=null==e?0:e.length;for(this.clear();++n<t;){var r=e[n];this.set(r[0],r[1])}}q.prototype.clear=function(){this.size=0,this.__data__={hash:new U,map:new(Z||G),string:new U}},q.prototype.delete=function(e){var n=Y(this,e).delete(e);return this.size-=n?1:0,n},q.prototype.get=function(e){return Y(this,e).get(e)},q.prototype.has=function(e){return Y(this,e).has(e)},q.prototype.set=function(e,n){var t=Y(this,e),r=t.size;return t.set(e,n),this.size+=t.size==r?0:1,this};var J="Expected a function";function K(e,n){if("function"!=typeof e||null!=n&&"function"!=typeof n)throw new TypeError(J);var t=function(){var r=arguments,o=n?n.apply(this,r):r[0],i=t.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return t.cache=i.set(o,a)||i,a};return t.cache=new(K.Cache||q),t}K.Cache=q;var X,ee,ne,te=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,re=/\\(\\)?/g,oe=(X=function(e){var n=[];return 46===e.charCodeAt(0)&&n.push(""),e.replace(te,(function(e,t,r,o){n.push(r?o.replace(re,"$1"):t||e)})),n},ee=K(X,(function(e){return 500===ne.size&&ne.clear(),e})),ne=ee.cache,ee),ie=oe;function ae(e,n){for(var t=-1,r=null==e?0:e.length,o=Array(r);++t<r;)o[t]=n(e[t],t,e);return o}var ce=1/0,ue=i?i.prototype:void 0,le=ue?ue.toString:void 0;function fe(e){if("string"==typeof e)return e;if(n(e))return ae(e,fe)+"";if(b(e))return le?le.call(e):"";var t=e+"";return"0"==t&&1/e==-ce?"-0":t}function se(e){return null==e?"":fe(e)}function de(e,t){return n(e)?e:A(e,t)?[e]:ie(se(e))}var pe=1/0;function he(e){if("string"==typeof e||b(e))return e;var n=e+"";return"0"==n&&1/e==-pe?"-0":n}function ge(e,n){for(var t=0,r=(n=de(n,e)).length;null!=e&&t<r;)e=e[he(n[t++])];return t&&t==r?e:void 0}function ve(e,n,t){var r=null==e?void 0:ge(e,n);return void 0===r?t:r}function be(e){return"[object Object]"===Object.prototype.toString.call(e)}function ye(e){if(be(e)){for(let n in e)return!0;return!1}return!1}function me(e){return"[object String]"===Object.prototype.toString.call(e)}function Ae(e){return!(!me(e)||""===e)}function we(e){return e!=e}function je(e){let n=!1;if(Ae(e))n=!isNaN(Number(e));else if(function(e){return"[object Number]"===Object.prototype.toString.call(e)}(e)){if(we(e))return!1;n=!0}return n}var ke=/\s/;var _e=/^\s+/;function xe(e){return e?e.slice(0,function(e){for(var n=e.length;n--&&ke.test(e.charAt(n)););return n}(e)+1).replace(_e,""):e}var Oe=NaN,Se=/^[-+]0x[0-9a-f]+$/i,Ce=/^0b[01]+$/i,Pe=/^0o[0-7]+$/i,Ee=parseInt;function Te(e){if("number"==typeof e)return e;if(b(e))return Oe;if(w(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=w(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=xe(e);var t=Ce.test(e);return t||Pe.test(e)?Ee(e.slice(2),t?2:8):Se.test(e)?Oe:+e}var ze=1/0,Re=17976931348623157e292;function Be(e){return e?(e=Te(e))===ze||e===-ze?(e<0?-1:1)*Re:e==e?e:0:0===e?e:0}function Le(e){if(!je(e))return 0;return Be(e)}function Ie(e,n){for(var t=-1,r=null==e?0:e.length;++t<r&&!1!==n(e[t],t,e););return e}var We,Ne=function(e,n,t){for(var r=-1,o=Object(e),i=t(e),a=i.length;a--;){var c=i[We?a:++r];if(!1===n(o[c],c,o))break}return e},Fe=Ne;function $e(e){return g(e)&&"[object Arguments]"==h(e)}var Me=Object.prototype,De=Me.hasOwnProperty,Ue=Me.propertyIsEnumerable,He=$e(function(){return arguments}())?$e:function(e){return g(e)&&De.call(e,"callee")&&!Ue.call(e,"callee")},Qe=He;var Ve="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ge=Ve&&"object"==typeof module&&module&&!module.nodeType&&module,Ze=Ge&&Ge.exports===Ve?o.Buffer:void 0,Ye=(Ze?Ze.isBuffer:void 0)||function(){return!1},qe=9007199254740991,Je=/^(?:0|[1-9]\d*)$/;function Ke(e,n){var t=typeof e;return!!(n=null==n?qe:n)&&("number"==t||"symbol"!=t&&Je.test(e))&&e>-1&&e%1==0&&e<n}var Xe=9007199254740991;function en(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Xe}var nn={};function tn(e){return function(n){return e(n)}}nn["[object Float32Array]"]=nn["[object Float64Array]"]=nn["[object Int8Array]"]=nn["[object Int16Array]"]=nn["[object Int32Array]"]=nn["[object Uint8Array]"]=nn["[object Uint8ClampedArray]"]=nn["[object Uint16Array]"]=nn["[object Uint32Array]"]=!0,nn["[object Arguments]"]=nn["[object Array]"]=nn["[object ArrayBuffer]"]=nn["[object Boolean]"]=nn["[object DataView]"]=nn["[object Date]"]=nn["[object Error]"]=nn["[object Function]"]=nn["[object Map]"]=nn["[object Number]"]=nn["[object Object]"]=nn["[object RegExp]"]=nn["[object Set]"]=nn["[object String]"]=nn["[object WeakMap]"]=!1;var rn="object"==typeof exports&&exports&&!exports.nodeType&&exports,on=rn&&"object"==typeof module&&module&&!module.nodeType&&module,an=on&&on.exports===rn&&t.process,cn=function(){try{var e=on&&on.require&&on.require("util").types;return e||an&&an.binding&&an.binding("util")}catch(e){}}(),un=cn&&cn.isTypedArray,ln=un?tn(un):function(e){return g(e)&&en(e.length)&&!!nn[h(e)]},fn=Object.prototype.hasOwnProperty;function sn(e,t){var r=n(e),o=!r&&Qe(e),i=!r&&!o&&Ye(e),a=!r&&!o&&!i&&ln(e),c=r||o||i||a,u=c?function(e,n){for(var t=-1,r=Array(e);++t<e;)r[t]=n(t);return r}(e.length,String):[],l=u.length;for(var f in e)!t&&!fn.call(e,f)||c&&("length"==f||i&&("offset"==f||"parent"==f)||a&&("buffer"==f||"byteLength"==f||"byteOffset"==f)||Ke(f,l))||u.push(f);return u}var dn=Object.prototype;function pn(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||dn)}function hn(e,n){return function(t){return e(n(t))}}var gn=hn(Object.keys,Object),vn=Object.prototype.hasOwnProperty;function bn(e){if(!pn(e))return gn(e);var n=[];for(var t in Object(e))vn.call(e,t)&&"constructor"!=t&&n.push(t);return n}function yn(e){return null!=e&&en(e.length)&&!O(e)}function mn(e){return yn(e)?sn(e):bn(e)}var An=function(e,n){return function(t,r){if(null==t)return t;if(!yn(t))return e(t,r);for(var o=t.length,i=n?o:-1,a=Object(t);(n?i--:++i<o)&&!1!==r(a[i],i,a););return t}}((function(e,n){return e&&Fe(e,n,mn)})),wn=An;function jn(e){return e}function kn(e,t){var r;return(n(e)?Ie:wn)(e,"function"==typeof(r=t)?r:jn)}function _n(e){var n=this.__data__=new G(e);this.size=n.size}_n.prototype.clear=function(){this.__data__=new G,this.size=0},_n.prototype.delete=function(e){var n=this.__data__,t=n.delete(e);return this.size=n.size,t},_n.prototype.get=function(e){return this.__data__.get(e)},_n.prototype.has=function(e){return this.__data__.has(e)},_n.prototype.set=function(e,n){var t=this.__data__;if(t instanceof G){var r=t.__data__;if(!Z||r.length<199)return r.push([e,n]),this.size=++t.size,this;t=this.__data__=new q(r)}return t.set(e,n),this.size=t.size,this};function xn(e){var n=-1,t=null==e?0:e.length;for(this.__data__=new q;++n<t;)this.add(e[n])}function On(e,n){for(var t=-1,r=null==e?0:e.length;++t<r;)if(n(e[t],t,e))return!0;return!1}function Sn(e,n){return e.has(n)}xn.prototype.add=xn.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},xn.prototype.has=function(e){return this.__data__.has(e)};var Cn=1,Pn=2;function En(e,n,t,r,o,i){var a=t&Cn,c=e.length,u=n.length;if(c!=u&&!(a&&u>c))return!1;var l=i.get(e),f=i.get(n);if(l&&f)return l==n&&f==e;var s=-1,d=!0,p=t&Pn?new xn:void 0;for(i.set(e,n),i.set(n,e);++s<c;){var h=e[s],g=n[s];if(r)var v=a?r(g,h,s,n,e,i):r(h,g,s,e,n,i);if(void 0!==v){if(v)continue;d=!1;break}if(p){if(!On(n,(function(e,n){if(!Sn(p,n)&&(h===e||o(h,e,t,r,i)))return p.push(n)}))){d=!1;break}}else if(h!==g&&!o(h,g,t,r,i)){d=!1;break}}return i.delete(e),i.delete(n),d}var Tn=o.Uint8Array;function zn(e){var n=-1,t=Array(e.size);return e.forEach((function(e,r){t[++n]=[r,e]})),t}function Rn(e){var n=-1,t=Array(e.size);return e.forEach((function(e){t[++n]=e})),t}var Bn=1,Ln=2,In="[object Boolean]",Wn="[object Date]",Nn="[object Error]",Fn="[object Map]",$n="[object Number]",Mn="[object RegExp]",Dn="[object Set]",Un="[object String]",Hn="[object Symbol]",Qn="[object ArrayBuffer]",Vn="[object DataView]",Gn=i?i.prototype:void 0,Zn=Gn?Gn.valueOf:void 0;var Yn=Object.prototype.propertyIsEnumerable,qn=Object.getOwnPropertySymbols,Jn=qn?function(e){return null==e?[]:(e=Object(e),function(e,n){for(var t=-1,r=null==e?0:e.length,o=0,i=[];++t<r;){var a=e[t];n(a,t,e)&&(i[o++]=a)}return i}(qn(e),(function(n){return Yn.call(e,n)})))}:function(){return[]},Kn=Jn;function Xn(e){return function(e,t,r){var o=t(e);return n(e)?o:function(e,n){for(var t=-1,r=n.length,o=e.length;++t<r;)e[o+t]=n[t];return e}(o,r(e))}(e,mn,Kn)}var et=1,nt=Object.prototype.hasOwnProperty;var tt=F(o,"DataView"),rt=F(o,"Promise"),ot=F(o,"Set"),it=F(o,"WeakMap"),at="[object Map]",ct="[object Promise]",ut="[object Set]",lt="[object WeakMap]",ft="[object DataView]",st=T(tt),dt=T(Z),pt=T(rt),ht=T(ot),gt=T(it),vt=h;(tt&&vt(new tt(new ArrayBuffer(1)))!=ft||Z&&vt(new Z)!=at||rt&&vt(rt.resolve())!=ct||ot&&vt(new ot)!=ut||it&&vt(new it)!=lt)&&(vt=function(e){var n=h(e),t="[object Object]"==n?e.constructor:void 0,r=t?T(t):"";if(r)switch(r){case st:return ft;case dt:return at;case pt:return ct;case ht:return ut;case gt:return lt}return n});var bt=vt,yt=1,mt="[object Arguments]",At="[object Array]",wt="[object Object]",jt=Object.prototype.hasOwnProperty;function kt(e,t,r,o,i,a){var c=n(e),u=n(t),l=c?At:bt(e),f=u?At:bt(t),s=(l=l==mt?wt:l)==wt,d=(f=f==mt?wt:f)==wt,p=l==f;if(p&&Ye(e)){if(!Ye(t))return!1;c=!0,s=!1}if(p&&!s)return a||(a=new _n),c||ln(e)?En(e,t,r,o,i,a):function(e,n,t,r,o,i,a){switch(t){case Vn:if(e.byteLength!=n.byteLength||e.byteOffset!=n.byteOffset)return!1;e=e.buffer,n=n.buffer;case Qn:return!(e.byteLength!=n.byteLength||!i(new Tn(e),new Tn(n)));case In:case Wn:case $n:return H(+e,+n);case Nn:return e.name==n.name&&e.message==n.message;case Mn:case Un:return e==n+"";case Fn:var c=zn;case Dn:var u=r&Bn;if(c||(c=Rn),e.size!=n.size&&!u)return!1;var l=a.get(e);if(l)return l==n;r|=Ln,a.set(e,n);var f=En(c(e),c(n),r,o,i,a);return a.delete(e),f;case Hn:if(Zn)return Zn.call(e)==Zn.call(n)}return!1}(e,t,l,r,o,i,a);if(!(r&yt)){var h=s&&jt.call(e,"__wrapped__"),g=d&&jt.call(t,"__wrapped__");if(h||g){var v=h?e.value():e,b=g?t.value():t;return a||(a=new _n),i(v,b,r,o,a)}}return!!p&&(a||(a=new _n),function(e,n,t,r,o,i){var a=t&et,c=Xn(e),u=c.length;if(u!=Xn(n).length&&!a)return!1;for(var l=u;l--;){var f=c[l];if(!(a?f in n:nt.call(n,f)))return!1}var s=i.get(e),d=i.get(n);if(s&&d)return s==n&&d==e;var p=!0;i.set(e,n),i.set(n,e);for(var h=a;++l<u;){var g=e[f=c[l]],v=n[f];if(r)var b=a?r(v,g,f,n,e,i):r(g,v,f,e,n,i);if(!(void 0===b?g===v||o(g,v,t,r,i):b)){p=!1;break}h||(h="constructor"==f)}if(p&&!h){var y=e.constructor,m=n.constructor;y==m||!("constructor"in e)||!("constructor"in n)||"function"==typeof y&&y instanceof y&&"function"==typeof m&&m instanceof m||(p=!1)}return i.delete(e),i.delete(n),p}(e,t,r,o,i,a))}function _t(e,n,t,r,o){return e===n||(null==e||null==n||!g(e)&&!g(n)?e!=e&&n!=n:kt(e,n,t,r,_t,o))}var xt=1,Ot=2;function St(e){return e==e&&!w(e)}function Ct(e,n){return function(t){return null!=t&&(t[e]===n&&(void 0!==n||e in Object(t)))}}function Pt(e){var n=function(e){for(var n=mn(e),t=n.length;t--;){var r=n[t],o=e[r];n[t]=[r,o,St(o)]}return n}(e);return 1==n.length&&n[0][2]?Ct(n[0][0],n[0][1]):function(t){return t===e||function(e,n,t,r){var o=t.length,i=o,a=!r;if(null==e)return!i;for(e=Object(e);o--;){var c=t[o];if(a&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++o<i;){var u=(c=t[o])[0],l=e[u],f=c[1];if(a&&c[2]){if(void 0===l&&!(u in e))return!1}else{var s=new _n;if(r)var d=r(l,f,u,e,n,s);if(!(void 0===d?_t(f,l,xt|Ot,r,s):d))return!1}}return!0}(t,e,n)}}function Et(e,n){return null!=e&&n in Object(e)}function Tt(e,t){return null!=e&&function(e,t,r){for(var o=-1,i=(t=de(t,e)).length,a=!1;++o<i;){var c=he(t[o]);if(!(a=null!=e&&r(e,c)))break;e=e[c]}return a||++o!=i?a:!!(i=null==e?0:e.length)&&en(i)&&Ke(c,i)&&(n(e)||Qe(e))}(e,t,Et)}var zt=1,Rt=2;function Bt(e){return function(n){return null==n?void 0:n[e]}}function Lt(e){return A(e)?Bt(he(e)):function(e){return function(n){return ge(n,e)}}(e)}function It(e){return"function"==typeof e?e:null==e?jn:"object"==typeof e?n(e)?(t=e[0],r=e[1],A(t)&&St(r)?Ct(he(t),r):function(e){var n=ve(e,t);return void 0===n&&n===r?Tt(e,t):_t(r,n,zt|Rt)}):Pt(e):Lt(e);var t,r}function Wt(e,n){var t=-1,r=yn(e)?Array(e.length):[];return wn(e,(function(e,o,i){r[++t]=n(e,o,i)})),r}function Nt(e,t){return(n(e)?ae:Wt)(e,It(t))}var Ft=Array.prototype.join;function $t(e){return"[object Array]"===Object.prototype.toString.call(e)}function Mt(e){let n=Object.prototype.toString.call(e);return"[object Function]"===n||"[object AsyncFunction]"===n}function Dt(){let e,n,t=new Promise((function(){e=arguments[0],n=arguments[1]}));return t.resolve=e,t.reject=n,t}function Ut(e,n,t){var r=-1,o=e.length;n<0&&(n=-n>o?0:o+n),(t=t>o?o:t)<0&&(t+=o),o=n>t?0:t-n>>>0,n>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+n];return i}function Ht(e){var n=Be(e),t=n%1;return n==n?t?n-t:n:0}function Qt(e,n){let t=Dt();if(!$t(e)&&!be(e))return t.reject("rs is not an array or object"),t;let r=!1;if(be(e)){r=!0;let n=[];kn(e,((e,t)=>{n.push({k:t,v:e})})),e=n}Mt(n)||(n=function(e){return e});let o=-1,i=[];return e.reduce((function(e,t){return e.then((function(e){i.push(e),o+=1;let a=o,c=t;return r&&(a=t.k,c=t.v),Mt(n)?n(c,a):c}))}),Promise.resolve()).then((function(e){var n,r,o,a;i.push(e),a=null==(n=i)?0:n.length,i=a?Ut(n,(r=o||void 0===r?1:Ht(r))<0?0:r,a):[],t.resolve(i)})).catch((function(e){t.reject(e)})),t}function Vt(e){return!!je(e)&&(e=Le(e),"number"==typeof(n=e)&&n==Ht(n));var n}var Gt=o.isFinite,Zt=Math.min;var Yt=function(e){var n=Math[e];return function(e,t){if(e=Te(e),(t=null==t?0:Zt(Ht(t),292))&&Gt(e)){var r=(se(e)+"e").split("e");return+((r=(se(n(r[0]+"e"+(+r[1]+t)))+"e").split("e"))[0]+"e"+(+r[1]-t))}return n(e)}}("round"),qt=Yt;function Jt(e){if(!je(e))return 0;e=Le(e);let n=qt(e);return"0"===String(n)?0:n}function Kt(e){if(!Vt(e))return!1;return Jt(e)>0}async function Xt(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=null,r=Dt();if(!Mt(e))return r.reject("waitfunction需輸入函數f"),r;let o=async()=>{let n=e();return function(e){let n,t=Object.prototype.toString.call(e);if(n="[object Promise]"===t,n)return!0;if("[object Function]"!==t)return!1;try{n="function"!=typeof e.subscribe&&"function"==typeof e.then}catch(e){}return n}(n)&&(n=await n),n};if(t=await o(),!0===t)return r.resolve(),r;let i=ve(n,"attemptNum",null);Kt(i)||(i=200);let a=ve(n,"timeInterval",null);Kt(a)||(a=1e3);let c=0,u=setInterval((async()=>{c+=1,t=await o(),!0===t&&(clearInterval(u),r.resolve()),c>i&&(clearInterval(u),r.reject(`exceeded attemptNum[${i}]`))}),a);return r}function er(e){if(!Vt(e))return!1;return Jt(e)>=0}function nr(e,n){if(!Ae(e))return"";if(!er(n))return"";if(0===(n=Jt(n)))return"";let t=e.length-n;return t<0&&(t=0),e.substr(t,n)}let tr={},rr={};function or(e){let{tagName:n,path:t,attributes:r={},func:o}=e,i=Dt();if("done"===tr[t])return i.resolve("loaded"),i;if("loading"===tr[t])return Xt((()=>"done"===tr[t])).then((function(){i.resolve("loaded")})),i;tr[t]="loading";let a=document.createElement(n);return kn(r,((e,n)=>{a.setAttribute(n,e)})),r.rel&&"stylesheet"===r.rel?(a.setAttribute("href",t),setTimeout((()=>{i.resolve(a),tr[t]="done"}),1)):(a.src=t,a.addEventListener("load",(()=>{let e;Mt(o)?e=Xt(o):(e=Dt(),e.resolve()),e.then((()=>function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;je(e)||(e=10);let n=Dt();return setTimeout((function(){n.resolve()}),e),n}(500))).then((function(){i.resolve(a),tr[t]="done"}))})),a.addEventListener("error",(()=>{i.reject(a),tr[t]="done"}))),document.getElementsByTagName("head")[0].appendChild(a),i}function ir(e){let n=Dt();$t(e)||(e=[e]),kn(e,((n,t)=>{me(n)&&(e[t]={path:n})}));let t=(r=Nt(e,"path"),o="|",null==r?"":Ft.call(r,o));var r,o;return"done"===rr[t]?(n.resolve("loaded"),n):"loading"===rr[t]?(Xt((()=>"done"===rr[t])).then((function(){n.resolve("loaded")})),n):(rr[t]="loading",kn(e,((e,n)=>{e.type||(".js"===nr(e.path,3)?e.type="js":".css"===nr(e.path,4)?e.type="css":e.type="unknow")})),Qt(e,(e=>{let n=Dt();if("js"===e.type)n=or({tagName:"script",path:e.path,attributes:{type:"text/javascript"},func:e.func});else if("css"===e.type)n=or({tagName:"link",path:e.path,attributes:{rel:"stylesheet"}});else{let t="invalid pathItem.type: "+e.type;console.log(t),n.reject(t)}return n})).finally((()=>{rr[t]="done"})))}function ar(e,n,t){var r=e.length;return t=void 0===t?r:t,!n&&t>=r?e:Ut(e,n,t)}var cr=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function ur(e){return cr.test(e)}var lr="\\ud800-\\udfff",fr="["+lr+"]",sr="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",dr="\\ud83c[\\udffb-\\udfff]",pr="[^"+lr+"]",hr="(?:\\ud83c[\\udde6-\\uddff]){2}",gr="[\\ud800-\\udbff][\\udc00-\\udfff]",vr="(?:"+sr+"|"+dr+")"+"?",br="[\\ufe0e\\ufe0f]?",yr=br+vr+("(?:\\u200d(?:"+[pr,hr,gr].join("|")+")"+br+vr+")*"),mr="(?:"+[pr+sr+"?",sr,hr,gr,fr].join("|")+")",Ar=RegExp(dr+"(?="+dr+")|"+mr+yr,"g");function wr(e){return ur(e)?function(e){return e.match(Ar)||[]}(e):function(e){return e.split("")}(e)}var jr,kr=(jr="toUpperCase",function(e){var n=ur(e=se(e))?wr(e):void 0,t=n?n[0]:e.charAt(0),r=n?ar(n,1).join(""):e.slice(1);return t[jr]()+r});var _r,xr=(_r={"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"},function(e){return null==_r?void 0:_r[e]}),Or=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Sr=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");var Cr=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var Pr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var Er="\\ud800-\\udfff",Tr="\\u2700-\\u27bf",zr="a-z\\xdf-\\xf6\\xf8-\\xff",Rr="A-Z\\xc0-\\xd6\\xd8-\\xde",Br="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Lr="["+Br+"]",Ir="\\d+",Wr="["+Tr+"]",Nr="["+zr+"]",Fr="[^"+Er+Br+Ir+Tr+zr+Rr+"]",$r="(?:\\ud83c[\\udde6-\\uddff]){2}",Mr="[\\ud800-\\udbff][\\udc00-\\udfff]",Dr="["+Rr+"]",Ur="(?:"+Nr+"|"+Fr+")",Hr="(?:"+Dr+"|"+Fr+")",Qr="(?:['’](?:d|ll|m|re|s|t|ve))?",Vr="(?:['’](?:D|LL|M|RE|S|T|VE))?",Gr="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",Zr="[\\ufe0e\\ufe0f]?",Yr=Zr+Gr+("(?:\\u200d(?:"+["[^"+Er+"]",$r,Mr].join("|")+")"+Zr+Gr+")*"),qr="(?:"+[Wr,$r,Mr].join("|")+")"+Yr,Jr=RegExp([Dr+"?"+Nr+"+"+Qr+"(?="+[Lr,Dr,"$"].join("|")+")",Hr+"+"+Vr+"(?="+[Lr,Dr+Ur,"$"].join("|")+")",Dr+"?"+Ur+"+"+Qr,Dr+"+"+Vr,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ir,qr].join("|"),"g");function Kr(e,n,t){return e=se(e),void 0===(n=t?void 0:n)?function(e){return Pr.test(e)}(e)?function(e){return e.match(Jr)||[]}(e):function(e){return e.match(Cr)||[]}(e):e.match(n)||[]}var Xr=RegExp("['’]","g");var eo,no=(eo=function(e,n,t){return n=n.toLowerCase(),e+(t?kr(se(n).toLowerCase()):n)},function(e){return function(e,n,t,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(t=e[++o]);++o<i;)t=n(t,e[o],o,e);return t}(Kr(function(e){return(e=se(e))&&e.replace(Or,xr).replace(Sr,"")}(e).replace(Xr,"")),eo,"")}),to=no;function ro(e,n,t){if(!w(t))return!1;var r=typeof n;return!!("number"==r?yn(t)&&Ke(n,t.length):"string"==r&&n in t)&&H(t[n],e)}var oo=cn&&cn.isRegExp,io=oo?tn(oo):function(e){return g(e)&&"[object RegExp]"==h(e)},ao=4294967295;var co="[object String]";var uo=Bt("length"),lo="\\ud800-\\udfff",fo="["+lo+"]",so="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",po="\\ud83c[\\udffb-\\udfff]",ho="[^"+lo+"]",go="(?:\\ud83c[\\udde6-\\uddff]){2}",vo="[\\ud800-\\udbff][\\udc00-\\udfff]",bo="(?:"+so+"|"+po+")"+"?",yo="[\\ufe0e\\ufe0f]?",mo=yo+bo+("(?:\\u200d(?:"+[ho,go,vo].join("|")+")"+yo+bo+")*"),Ao="(?:"+[ho+so+"?",so,go,vo,fo].join("|")+")",wo=RegExp(po+"(?="+po+")|"+Ao+mo,"g");function jo(e){return ur(e)?function(e){for(var n=wo.lastIndex=0;wo.test(e);)++n;return n}(e):uo(e)}var ko="[object Map]",_o="[object Set]";function xo(e){if(null==e)return 0;if(yn(e))return"string"==typeof(t=e)||!n(t)&&g(t)&&h(t)==co?jo(e):e.length;var t,r=bt(e);return r==ko||r==_o?e.size:bn(e).length}let Oo={default:{red:{base:"#f44336",lighten5:"#ffebee",lighten4:"#ffcdd2",lighten3:"#ef9a9a",lighten2:"#e57373",lighten1:"#ef5350",darken1:"#e53935",darken2:"#d32f2f",darken3:"#c62828",darken4:"#b71c1c",accent1:"#ff8a80",accent2:"#ff5252",accent3:"#ff1744",accent4:"#d50000"},pink:{base:"#e91e63",lighten5:"#fce4ec",lighten4:"#f8bbd0",lighten3:"#f48fb1",lighten2:"#f06292",lighten1:"#ec407a",darken1:"#d81b60",darken2:"#c2185b",darken3:"#ad1457",darken4:"#880e4f",accent1:"#ff80ab",accent2:"#ff4081",accent3:"#f50057",accent4:"#c51162"},purple:{base:"#9c27b0",lighten5:"#f3e5f5",lighten4:"#e1bee7",lighten3:"#ce93d8",lighten2:"#ba68c8",lighten1:"#ab47bc",darken1:"#8e24aa",darken2:"#7b1fa2",darken3:"#6a1b9a",darken4:"#4a148c",accent1:"#ea80fc",accent2:"#e040fb",accent3:"#d500f9",accent4:"#aa00ff"},deepPurple:{base:"#673ab7",lighten5:"#ede7f6",lighten4:"#d1c4e9",lighten3:"#b39ddb",lighten2:"#9575cd",lighten1:"#7e57c2",darken1:"#5e35b1",darken2:"#512da8",darken3:"#4527a0",darken4:"#311b92",accent1:"#b388ff",accent2:"#7c4dff",accent3:"#651fff",accent4:"#6200ea"},indigo:{base:"#3f51b5",lighten5:"#e8eaf6",lighten4:"#c5cae9",lighten3:"#9fa8da",lighten2:"#7986cb",lighten1:"#5c6bc0",darken1:"#3949ab",darken2:"#303f9f",darken3:"#283593",darken4:"#1a237e",accent1:"#8c9eff",accent2:"#536dfe",accent3:"#3d5afe",accent4:"#304ffe"},blue:{base:"#2196f3",lighten5:"#e3f2fd",lighten4:"#bbdefb",lighten3:"#90caf9",lighten2:"#64b5f6",lighten1:"#42a5f5",darken1:"#1e88e5",darken2:"#1976d2",darken3:"#1565c0",darken4:"#0d47a1",accent1:"#82b1ff",accent2:"#448aff",accent3:"#2979ff",accent4:"#2962ff"},lightBlue:{base:"#03a9f4",lighten5:"#e1f5fe",lighten4:"#b3e5fc",lighten3:"#81d4fa",lighten2:"#4fc3f7",lighten1:"#29b6f6",darken1:"#039be5",darken2:"#0288d1",darken3:"#0277bd",darken4:"#01579b",accent1:"#80d8ff",accent2:"#40c4ff",accent3:"#00b0ff",accent4:"#0091ea"},cyan:{base:"#00bcd4",lighten5:"#e0f7fa",lighten4:"#b2ebf2",lighten3:"#80deea",lighten2:"#4dd0e1",lighten1:"#26c6da",darken1:"#00acc1",darken2:"#0097a7",darken3:"#00838f",darken4:"#006064",accent1:"#84ffff",accent2:"#18ffff",accent3:"#00e5ff",accent4:"#00b8d4"},teal:{base:"#009688",lighten5:"#e0f2f1",lighten4:"#b2dfdb",lighten3:"#80cbc4",lighten2:"#4db6ac",lighten1:"#26a69a",darken1:"#00897b",darken2:"#00796b",darken3:"#00695c",darken4:"#004d40",accent1:"#a7ffeb",accent2:"#64ffda",accent3:"#1de9b6",accent4:"#00bfa5"},green:{base:"#4caf50",lighten5:"#e8f5e9",lighten4:"#c8e6c9",lighten3:"#a5d6a7",lighten2:"#81c784",lighten1:"#66bb6a",darken1:"#43a047",darken2:"#388e3c",darken3:"#2e7d32",darken4:"#1b5e20",accent1:"#b9f6ca",accent2:"#69f0ae",accent3:"#00e676",accent4:"#00c853"},lightGreen:{base:"#8bc34a",lighten5:"#f1f8e9",lighten4:"#dcedc8",lighten3:"#c5e1a5",lighten2:"#aed581",lighten1:"#9ccc65",darken1:"#7cb342",darken2:"#689f38",darken3:"#558b2f",darken4:"#33691e",accent1:"#ccff90",accent2:"#b2ff59",accent3:"#76ff03",accent4:"#64dd17"},lime:{base:"#cddc39",lighten5:"#f9fbe7",lighten4:"#f0f4c3",lighten3:"#e6ee9c",lighten2:"#dce775",lighten1:"#d4e157",darken1:"#c0ca33",darken2:"#afb42b",darken3:"#9e9d24",darken4:"#827717",accent1:"#f4ff81",accent2:"#eeff41",accent3:"#c6ff00",accent4:"#aeea00"},yellow:{base:"#ffeb3b",lighten5:"#fffde7",lighten4:"#fff9c4",lighten3:"#fff59d",lighten2:"#fff176",lighten1:"#ffee58",darken1:"#fdd835",darken2:"#fbc02d",darken3:"#f9a825",darken4:"#f57f17",accent1:"#ffff8d",accent2:"#ffff00",accent3:"#ffea00",accent4:"#ffd600"},amber:{base:"#ffc107",lighten5:"#fff8e1",lighten4:"#ffecb3",lighten3:"#ffe082",lighten2:"#ffd54f",lighten1:"#ffca28",darken1:"#ffb300",darken2:"#ffa000",darken3:"#ff8f00",darken4:"#ff6f00",accent1:"#ffe57f",accent2:"#ffd740",accent3:"#ffc400",accent4:"#ffab00"},orange:{base:"#ff9800",lighten5:"#fff3e0",lighten4:"#ffe0b2",lighten3:"#ffcc80",lighten2:"#ffb74d",lighten1:"#ffa726",darken1:"#fb8c00",darken2:"#f57c00",darken3:"#ef6c00",darken4:"#e65100",accent1:"#ffd180",accent2:"#ffab40",accent3:"#ff9100",accent4:"#ff6d00"},deepOrange:{base:"#ff5722",lighten5:"#fbe9e7",lighten4:"#ffccbc",lighten3:"#ffab91",lighten2:"#ff8a65",lighten1:"#ff7043",darken1:"#f4511e",darken2:"#e64a19",darken3:"#d84315",darken4:"#bf360c",accent1:"#ff9e80",accent2:"#ff6e40",accent3:"#ff3d00",accent4:"#dd2c00"},brown:{base:"#795548",lighten5:"#efebe9",lighten4:"#d7ccc8",lighten3:"#bcaaa4",lighten2:"#a1887f",lighten1:"#8d6e63",darken1:"#6d4c41",darken2:"#5d4037",darken3:"#4e342e",darken4:"#3e2723"},blueGrey:{base:"#607d8b",lighten5:"#eceff1",lighten4:"#cfd8dc",lighten3:"#b0bec5",lighten2:"#90a4ae",lighten1:"#78909c",darken1:"#546e7a",darken2:"#455a64",darken3:"#37474f",darken4:"#263238"},grey:{base:"#9e9e9e",lighten5:"#fafafa",lighten4:"#f5f5f5",lighten3:"#eeeeee",lighten2:"#e0e0e0",lighten1:"#bdbdbd",darken1:"#757575",darken2:"#616161",darken3:"#424242",darken4:"#212121"},shades:{black:"#000000",white:"#ffffff",transparent:"transparent"}}};function So(e){let n=(t=e,r=" ",o&&"number"!=typeof o&&ro(t,r,o)&&(r=o=void 0),(o=void 0===o?ao:o>>>0)?(t=se(t))&&("string"==typeof r||null!=r&&!io(r))&&!(r=fe(r))&&ur(t)?ar(wr(t),0,o):t.split(r,o):[]);var t,r,o;return 1===xo(n)&&(n[1]=null),n}function Co(e){if("white"===e)return"#fff";if("black"===e)return"#000";if("transparent"===e)return"rgba(0,0,0,0)";let n=So(e),t=function(e,n,t){let r=ve(Oo,`default.${e}.${n}`,null);return null===r&&(r=t),r}(function(e){let n=e.trim();return n=to(n),n}(n[0]),function(e){Ae(e)||(e="base");let n=e.trim();return n=n.replace("-","").trim(),n}(n[1]),e);return t}var Po={components:{},props:{name:{type:String,default:"cir-wave"},color:{type:String,default:"grey"},size:{type:Number,default:48}},data:function(){return{}},computed:{effColor:function(){return Co(this.color)}},methods:{}};function Eo(e,n,t,r,o,i,a,c,u,l){"boolean"!=typeof a&&(u=c,c=a,a=!1);const f="function"==typeof t?t.options:t;let s;if(e&&e.render&&(f.render=e.render,f.staticRenderFns=e.staticRenderFns,f._compiled=!0,o&&(f.functional=!0)),r&&(f._scopeId=r),i?(s=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,u(e)),e&&e._registeredComponents&&e._registeredComponents.add(i)},f._ssrRegister=s):n&&(s=a?function(e){n.call(this,l(e,this.$root.$options.shadowRoot))}:function(e){n.call(this,c(e))}),s)if(f.functional){const e=f.render;f.render=function(n,t){return s.call(t),e(n,t)}}else{const e=f.beforeCreate;f.beforeCreate=e?[].concat(e,s):[s]}return t}const To="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function zo(e){return(e,n)=>function(e,n){const t=To?n.media||"default":e,r=Bo[t]||(Bo[t]={ids:new Set,styles:[]});if(!r.ids.has(e)){r.ids.add(e);let t=n.source;if(n.map&&(t+="\n/*# sourceURL="+n.map.sources[0]+" */",t+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n.map))))+" */"),r.element||(r.element=document.createElement("style"),r.element.type="text/css",n.media&&r.element.setAttribute("media",n.media),void 0===Ro&&(Ro=document.head||document.getElementsByTagName("head")[0]),Ro.appendChild(r.element)),"styleSheet"in r.element)r.styles.push(t),r.element.styleSheet.cssText=r.styles.filter(Boolean).join("\n");else{const e=r.ids.size-1,n=document.createTextNode(t),o=r.element.childNodes;o[e]&&r.element.removeChild(o[e]),o.length?r.element.insertBefore(n,o[e]):r.element.appendChild(n)}}}(e,n)}let Ro;const Bo={};const Lo=Po;var Io=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("div",{style:"display:inline-block; vertical-align:middle; outline:none; user-select:none; height:"+e.size+"px; width:"+e.size+"px;"},["cir-wave"===e.name?[t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 100 100",preserveAspectRatio:"xMidYMid",width:e.size,height:e.size}},[t("circle",{attrs:{cx:"50",cy:"50",r:"14.6699",fill:"none",stroke:"#420457","stroke-width":"10"}},[t("animate",{attrs:{attributeName:"r",repeatCount:"indefinite",dur:"1s",values:"0;40",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline",begin:"-0.5s"}}),e._v(" "),t("animate",{attrs:{attributeName:"opacity",repeatCount:"indefinite",dur:"1s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline",begin:"-0.5s"}})]),e._v(" "),t("circle",{attrs:{cx:"50",cy:"50",r:"33.9915",fill:"none",stroke:"#5a3faa","stroke-width":"10"}},[t("animate",{attrs:{attributeName:"r",repeatCount:"indefinite",dur:"1s",values:"0;40",keyTimes:"0;1",keySplines:"0 0.2 0.8 1",calcMode:"spline"}}),e._v(" "),t("animate",{attrs:{attributeName:"opacity",repeatCount:"indefinite",dur:"1s",values:"1;0",keyTimes:"0;1",keySplines:"0.2 0 0.8 1",calcMode:"spline"}})])])]:"cir-rotate"===e.name?[t("div",{style:"position:relative; display:inline-flex; align-items:center; justify-content:center; display:inline-block; height:"+e.size+"px; width:"+e.size+"px;"},[t("svg",{staticClass:"pgc-rotate",staticStyle:{transform:"rotate(0deg)"},attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"21.904761904761905 21.904761904761905 43.80952380952381 43.80952380952381"}},[t("circle",{staticClass:"pgc-dash",attrs:{fill:"transparent",cx:"43.80952380952381",cy:"43.80952380952381",r:"20","stroke-width":"4","stroke-dasharray":"100","stroke-dashoffset":"50px",stroke:e.effColor}})])])]:e._e()],2)};Io._withStripped=!0;const Wo=Eo({render:Io,staticRenderFns:[]},(function(e){e&&e("data-v-466c4a5e_0",{source:"\n.pgc-rotate[data-v-466c4a5e] {\r\n width: 100%;\r\n height: 100%;\r\n margin: auto;\r\n position: absolute;\r\n top: 0;\r\n bottom: 0;\r\n left: 0;\r\n right: 0;\r\n z-index: 1;\r\n transition: all .6s ease-in-out;\r\n animation: progress-circular-rotate-data-v-466c4a5e 1.4s linear infinite;\r\n transform-origin: center center;\n}\n.pgc-dash[data-v-466c4a5e] {\r\n animation: progress-circular-dash-data-v-466c4a5e 1.4s ease-in-out infinite;\r\n stroke-linecap: round;\r\n stroke-dasharray: 80,200;\r\n stroke-dashoffset: 0px;\n}\n@-webkit-keyframes progress-circular-dash-data-v-466c4a5e {\n0% {\r\n stroke-dasharray: 1,200;\r\n stroke-dashoffset: 0px\n}\n50% {\r\n stroke-dasharray: 100,200;\r\n stroke-dashoffset: -15px\n}\nto {\r\n stroke-dasharray: 100,200;\r\n stroke-dashoffset: -124px\n}\n}\n@keyframes progress-circular-dash-data-v-466c4a5e {\n0% {\r\n stroke-dasharray: 1,200;\r\n stroke-dashoffset: 0px\n}\n50% {\r\n stroke-dasharray: 100,200;\r\n stroke-dashoffset: -15px\n}\nto {\r\n stroke-dasharray: 100,200;\r\n stroke-dashoffset: -124px\n}\n}\n@-webkit-keyframes progress-circular-rotate-data-v-466c4a5e {\nto {\r\n transform: rotate(1turn)\n}\n}\n@keyframes progress-circular-rotate-data-v-466c4a5e {\nto {\r\n transform: rotate(1turn)\n}\n}\r\n\r\n",map:{version:3,sources:["D:\\- 006 - 開源\\開源-JS-105-3-w-plot-vue\\w-plot-vue\\node_modules\\w-component-vue\\src\\components\\WIconLoading.vue"],names:[],mappings:";AA8FA;IACA,WAAA;IACA,YAAA;IACA,YAAA;IACA,kBAAA;IACA,MAAA;IACA,SAAA;IACA,OAAA;IACA,QAAA;IACA,UAAA;IACA,+BAAA;IACA,wEAAA;IACA,+BAAA;AACA;AAEA;IACA,2EAAA;IACA,qBAAA;IACA,wBAAA;IACA,sBAAA;AACA;AAEA;AACA;QACA,uBAAA;QACA;AACA;AAEA;QACA,yBAAA;QACA;AACA;AAEA;QACA,yBAAA;QACA;AACA;AACA;AAEA;AACA;QACA,uBAAA;QACA;AACA;AAEA;QACA,yBAAA;QACA;AACA;AAEA;QACA,yBAAA;QACA;AACA;AACA;AAEA;AACA;QACA;AACA;AACA;AAEA;AACA;QACA;AACA;AACA",file:"WIconLoading.vue",sourcesContent:['<template>\r\n <div :style="`display:inline-block; vertical-align:middle; outline:none; user-select:none; height:${size}px; width:${size}px;`">\r\n\r\n <template v-if="name===\'cir-wave\'">\r\n\r\n <svg\r\n xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid"\r\n :width="size"\r\n :height="size"\r\n >\r\n <circle cx="50" cy="50" r="14.6699" fill="none" stroke="#420457" stroke-width="10">\r\n <animate attributeName="r" repeatCount="indefinite" dur="1s" values="0;40" keyTimes="0;1" keySplines="0 0.2 0.8 1" calcMode="spline" begin="-0.5s"></animate>\r\n <animate attributeName="opacity" repeatCount="indefinite" dur="1s" values="1;0" keyTimes="0;1" keySplines="0.2 0 0.8 1" calcMode="spline" begin="-0.5s"></animate>\r\n </circle>\r\n <circle cx="50" cy="50" r="33.9915" fill="none" stroke="#5a3faa" stroke-width="10">\r\n <animate attributeName="r" repeatCount="indefinite" dur="1s" values="0;40" keyTimes="0;1" keySplines="0 0.2 0.8 1" calcMode="spline"></animate>\r\n <animate attributeName="opacity" repeatCount="indefinite" dur="1s" values="1;0" keyTimes="0;1" keySplines="0.2 0 0.8 1" calcMode="spline"></animate>\r\n </circle>\r\n </svg>\r\n\r\n </template>\r\n\r\n <template v-else-if="name===\'cir-rotate\'">\r\n\r\n <div :style="`position:relative; display:inline-flex; align-items:center; justify-content:center; display:inline-block; height:${size}px; width:${size}px;`">\r\n <svg\r\n class="pgc-rotate"\r\n style="transform: rotate(0deg);"\r\n xmlns="http://www.w3.org/2000/svg"\r\n viewBox="21.904761904761905 21.904761904761905 43.80952380952381 43.80952380952381"\r\n >\r\n <circle\r\n class="pgc-dash"\r\n fill="transparent"\r\n cx="43.80952380952381"\r\n cy="43.80952380952381"\r\n r="20"\r\n stroke-width="4"\r\n stroke-dasharray="100"\r\n stroke-dashoffset="50px"\r\n :stroke="effColor"\r\n ></circle>\r\n </svg>\r\n </div>\r\n\r\n </template>\r\n\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport color2hex from \'../js/vuetifyColor.mjs\'\r\n\r\n\r\n/**\r\n * @vue-prop {String} [name=\'cir-wave\'] 輸入動畫名稱字串,預設\'cir-wave\'\r\n * @vue-prop {Number} [size=48] 輸入圖標欲顯示的尺寸浮點數,預設48\r\n */\r\nexport default {\r\n components: {\r\n },\r\n props: {\r\n name: {\r\n type: String,\r\n default: \'cir-wave\',\r\n },\r\n color: {\r\n type: String,\r\n default: \'grey\',\r\n },\r\n size: {\r\n type: Number,\r\n default: 48,\r\n },\r\n },\r\n data: function() {\r\n return {\r\n }\r\n },\r\n computed: {\r\n\r\n effColor: function() {\r\n let vo = this\r\n return color2hex(vo.color)\r\n },\r\n\r\n },\r\n methods: {\r\n },\r\n}\r\n<\/script>\r\n\r\n<style scoped>\r\n\r\n.pgc-rotate {\r\n width: 100%;\r\n height: 100%;\r\n margin: auto;\r\n position: absolute;\r\n top: 0;\r\n bottom: 0;\r\n left: 0;\r\n right: 0;\r\n z-index: 1;\r\n transition: all .6s ease-in-out;\r\n animation: progress-circular-rotate 1.4s linear infinite;\r\n transform-origin: center center;\r\n}\r\n\r\n.pgc-dash {\r\n animation: progress-circular-dash 1.4s ease-in-out infinite;\r\n stroke-linecap: round;\r\n stroke-dasharray: 80,200;\r\n stroke-dashoffset: 0px;\r\n}\r\n\r\n@-webkit-keyframes progress-circular-dash {\r\n 0% {\r\n stroke-dasharray: 1,200;\r\n stroke-dashoffset: 0px\r\n }\r\n\r\n 50% {\r\n stroke-dasharray: 100,200;\r\n stroke-dashoffset: -15px\r\n }\r\n\r\n to {\r\n stroke-dasharray: 100,200;\r\n stroke-dashoffset: -124px\r\n }\r\n}\r\n\r\n@keyframes progress-circular-dash {\r\n 0% {\r\n stroke-dasharray: 1,200;\r\n stroke-dashoffset: 0px\r\n }\r\n\r\n 50% {\r\n stroke-dasharray: 100,200;\r\n stroke-dashoffset: -15px\r\n }\r\n\r\n to {\r\n stroke-dasharray: 100,200;\r\n stroke-dashoffset: -124px\r\n }\r\n}\r\n\r\n@-webkit-keyframes progress-circular-rotate {\r\n to {\r\n transform: rotate(1turn)\r\n }\r\n}\r\n\r\n@keyframes progress-circular-rotate {\r\n to {\r\n transform: rotate(1turn)\r\n }\r\n}\r\n\r\n</style>\r\n']},media:void 0})}),Lo,"data-v-466c4a5e",false,undefined,!1,zo,void 0,void 0);function No(){return"undefined"!=typeof self?self:"undefined"!=typeof window&&void 0!==window.document?window:"undefined"!=typeof global?global:null}e&&!window.Vue&&(window.Vue=e);const Fo={components:{WIconLoading:Wo},props:{pathItems:{type:Array,default:()=>["https://code.highcharts.com/11/highcharts.js","https://code.highcharts.com/11/highcharts-more.js","https://code.highcharts.com/11/modules/stock.js","https://code.highcharts.com/11/modules/annotations.js","https://code.highcharts.com/11/modules/heatmap.js","https://code.highcharts.com/11/modules/boost.js","https://code.highcharts.com/11/modules/boost-canvas.js","https://cdn.jsdelivr.net/npm/vue-highcharts@0.1.0/dist/vue-highcharts.min.js","https://cdn.jsdelivr.net/npm/w-highcharts/dist/w-highcharts.umd.js"]},options:{type:Object,default:()=>{}}},data:function(){return{cmpName:"WIconLoading"}},mounted:function(){let n=this;ir(n.pathItems).then((t=>{if("loaded"!==t){let n=window.Highcharts,t=window["w-highcharts"];t.iniMarkers(n),n.setOptions(t.getDefOpt());let r=window.VueHighcharts;r.default&&(r=r.default),function(){let n=No();return e||n.Vue}().use(r,{Highcharts:n})}n.cmpName="Highcharts"}))},computed:{},methods:{}};var $o=function(){var e=this,n=e.$createElement;return(e._self._c||n)(e.cmpName,{ref:"$self",tag:"component",attrs:{options:e.options}})};$o._withStripped=!0;const Mo={components:{WHighchartsVueDyn:Eo({render:$o,staticRenderFns:[]},(function(e){e&&e("data-v-05714b50_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WHighchartsVueDyn.vue"},media:void 0})}),Fo,"data-v-05714b50",false,undefined,!1,zo,void 0,void 0)},props:{options:{type:Object,default:()=>{}},width:{type:Number,default:400},height:{type:Number,default:400}},data:function(){return{}},computed:{widthInp:function(){let e=this.width,n=ve(this,"options.chart.width","");return je(n)&&(e=Le(n)),e},heightInp:function(){let e=this.height,n=ve(this,"options.chart.height","");return je(n)&&(e=Le(n)),e}},methods:{}};var Do=function(){var e=this,n=e.$createElement,t=e._self._c||n;return e.options?t("div",{style:"display:inline-block; width:"+e.widthInp+"px; min-width:"+e.widthInp+"px; height:"+e.heightInp+"px; overflow-y:hidden;"},[t("WHighchartsVueDyn",{attrs:{options:e.options}})],1):e._e()};Do._withStripped=!0;const Uo=Eo({render:Do,staticRenderFns:[]},(function(e){e&&e("data-v-b67ffb76_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WPlot.vue"},media:void 0})}),Mo,"data-v-b67ffb76",false,undefined,!1,zo,void 0,void 0);function Ho(e){return Ho="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ho(e)}function Qo(e){var n=function(e,n){if("object"!=Ho(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,n||"default");if("object"!=Ho(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==Ho(n)?n:String(n)}function Vo(e,n,t){return(n=Qo(n))in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var Go=function(){try{var e=F(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),Zo=Go;function Yo(e,n,t){"__proto__"==n&&Zo?Zo(e,n,{configurable:!0,enumerable:!0,value:t,writable:!0}):e[n]=t}function qo(e,n,t){(void 0!==t&&!H(e[n],t)||void 0===t&&!(n in e))&&Yo(e,n,t)}var Jo="object"==typeof exports&&exports&&!exports.nodeType&&exports,Ko=Jo&&"object"==typeof module&&module&&!module.nodeType&&module,Xo=Ko&&Ko.exports===Jo?o.Buffer:void 0,ei=Xo?Xo.allocUnsafe:void 0;function ni(e,n){var t=n?function(e){var n=new e.constructor(e.byteLength);return new Tn(n).set(new Tn(e)),n}(e.buffer):e.buffer;return new e.constructor(t,e.byteOffset,e.length)}var ti=Object.create,ri=function(){function e(){}return function(n){if(!w(n))return{};if(ti)return ti(n);e.prototype=n;var t=new e;return e.prototype=void 0,t}}(),oi=ri,ii=hn(Object.getPrototypeOf,Object);var ai="[object Object]",ci=Function.prototype,ui=Object.prototype,li=ci.toString,fi=ui.hasOwnProperty,si=li.call(Object);function di(e,n){if(("constructor"!==n||"function"!=typeof e[n])&&"__proto__"!=n)return e[n]}var pi=Object.prototype.hasOwnProperty;function hi(e,n,t){var r=e[n];pi.call(e,n)&&H(r,t)&&(void 0!==t||n in e)||Yo(e,n,t)}var gi=Object.prototype.hasOwnProperty;function vi(e){if(!w(e))return function(e){var n=[];if(null!=e)for(var t in Object(e))n.push(t);return n}(e);var n=pn(e),t=[];for(var r in e)("constructor"!=r||!n&&gi.call(e,r))&&t.push(r);return t}function bi(e){return yn(e)?sn(e,!0):vi(e)}function yi(e){return function(e,n,t,r){var o=!t;t||(t={});for(var i=-1,a=n.length;++i<a;){var c=n[i],u=r?r(t[c],e[c],c,t,e):void 0;void 0===u&&(u=e[c]),o?Yo(t,c,u):hi(t,c,u)}return t}(e,bi(e))}function mi(e,t,r,o,i,a,c){var u=di(e,r),l=di(t,r),f=c.get(l);if(f)qo(e,r,f);else{var s,d=a?a(u,l,r+"",e,t,c):void 0,p=void 0===d;if(p){var v=n(l),b=!v&&Ye(l),y=!v&&!b&&ln(l);d=l,v||b||y?n(u)?d=u:g(s=u)&&yn(s)?d=function(e,n){var t=-1,r=e.length;for(n||(n=Array(r));++t<r;)n[t]=e[t];return n}(u):b?(p=!1,d=function(e,n){if(n)return e.slice();var t=e.length,r=ei?ei(t):new e.constructor(t);return e.copy(r),r}(l,!0)):y?(p=!1,d=ni(l,!0)):d=[]:function(e){if(!g(e)||h(e)!=ai)return!1;var n=ii(e);if(null===n)return!0;var t=fi.call(n,"constructor")&&n.constructor;return"function"==typeof t&&t instanceof t&&li.call(t)==si}(l)||Qe(l)?(d=u,Qe(u)?d=yi(u):w(u)&&!O(u)||(d=function(e){return"function"!=typeof e.constructor||pn(e)?{}:oi(ii(e))}(l))):p=!1}p&&(c.set(l,d),i(d,l,o,a,c),c.delete(l)),qo(e,r,d)}}function Ai(e,n,t,r,o){e!==n&&Fe(n,(function(i,a){if(o||(o=new _n),w(i))mi(e,n,a,t,Ai,r,o);else{var c=r?r(di(e,a),i,a+"",e,n,o):void 0;void 0===c&&(c=i),qo(e,a,c)}}),bi)}var wi=Math.max;var ji=Zo?function(e,n){return Zo(e,"toString",{configurable:!0,enumerable:!1,value:(t=n,function(){return t}),writable:!0});var t}:jn,ki=ji,_i=Date.now;var xi=function(e){var n=0,t=0;return function(){var r=_i(),o=16-(r-t);if(t=r,o>0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}(ki),Oi=xi;function Si(e,n){return Oi(function(e,n,t){return n=wi(void 0===n?e.length-1:n,0),function(){for(var r=arguments,o=-1,i=wi(r.length-n,0),a=Array(i);++o<i;)a[o]=r[n+o];o=-1;for(var c=Array(n+1);++o<n;)c[o]=r[o];return c[n]=t(a),function(e,n,t){switch(t.length){case 0:return e.call(n);case 1:return e.call(n,t[0]);case 2:return e.call(n,t[0],t[1]);case 3:return e.call(n,t[0],t[1],t[2])}return e.apply(n,t)}(e,this,c)}}(e,n,jn),e+"")}var Ci,Pi=(Ci=function(e,n,t){Ai(e,n,t)},Si((function(e,n){var t=-1,r=n.length,o=r>1?n[r-1]:void 0,i=r>2?n[2]:void 0;for(o=Ci.length>3&&"function"==typeof o?(r--,o):void 0,i&&ro(n[0],n[1],i)&&(o=r<3?void 0:o,r=1),e=Object(e);++t<r;){var a=n[t];a&&Ci(e,a,t,o)}return e}))),Ei=Pi,Ti="[object Number]";function zi(e){return"number"==typeof e||g(e)&&h(e)==Ti}function Ri(e,n){return!!be(e)&&(!(!Ae(n)&&!je(n))&&n in e)}function Bi(e){return!!function(e){return"[object Undefined]"===Object.prototype.toString.call(e)}(e)||(!!function(e){return"[object Null]"===Object.prototype.toString.call(e)}(e)||(!!function(e){if(be(e)){for(let n in e)return!1;return!0}return!1}(e)||(!!function(e){return!(!me(e)||""!==e)}(e)||(!!function(e){return!!$t(e)&&0===e.length}(e)||!!we(e)))))}function Li(e){return!!$t(e)&&(0!==e.length&&(1!==e.length||!Bi(e[0])))}function Ii(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return{credits:{enabled:!1},navigation:{buttonOptions:{enabled:!1}},boost:{enabled:!0},plotOptions:{series:{animation:!1}},title:{text:""},subtitle:{text:""},tooltip:{useHTML:!0,enabled:ve(e,"useTooltip",!0)},legend:{useHTML:!0,enabled:ve(e,"useLegend",!0)}}}function Wi(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=ve(e,"marginLeftShift",60),t=ve(e,"marginRightShift",0),r=ve(e,"marginTopShift",10),o=ve(e,"marginBottomShift",50),i=ve(e,"spacingLeft",0),a=ve(e,"spacingRight",0),c=ve(e,"spacingTop",0),u=ve(e,"spacingBottom",0),l=ve(e,"plotBorderColor","#666"),f=ve(e,"plotBorderWidth",1),s=ve(e,"space",5);return{animation:!1,plotBorderColor:l,plotBorderWidth:f,marginLeft:s+n,marginRight:s+t,marginTop:s+r,marginBottom:s+o,spacingLeft:i,spacingRight:a,spacingTop:c,spacingBottom:u}}function Ni(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=ve(e,"softMax"),t=ve(e,"vDig"),r={crosshair:!0,title:{useHTML:!0,text:"",style:{fontFamily:ve(e,"titleFontFamily","微軟正黑體"),fontSize:ve(e,"titleFontSize","12pt"),color:ve(e,"titleColor","#000")}},softMax:n,labels:{autoRotation:!1,style:{fontFamily:ve(e,"labelFontFamily","微軟正黑體"),fontSize:ve(e,"labelFontSize","9pt"),color:ve(e,"labelColor","#222")},formatter:function(){return t?function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return je(e)&&er(n)?(e=Le(e),qt(e,n).toFixed(n)):""}(this.value,t):this.value}},lineColor:"#666",lineWidth:1,gridLineColor:"#eeeeee",gridLineWidth:1,minorGridLineColor:"#eeeeee",minorGridLineWidth:1,tickPosition:"inside",tickColor:"#222222",tickWidth:1,tickLength:5,minorTickPosition:"inside",minorTickColor:"#222222",minorTickWidth:1,minorTickLength:5};return r}function Fi(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=ve(e,"legnedFontFamily","微軟正黑體"),t=ve(e,"legnedFontSize","9pt"),r=ve(e,"legnedColor","#222");return{useHTML:!0,enabled:!0,shared:!0,floating:!0,layout:"vertical",backgroundColor:ve(e,"legendBackgroundColor","rgba(255,255,255,0.75)"),borderColor:ve(e,"legnedBorderColor","#aaa"),borderWidth:1,itemStyle:{fontFamily:n,fontSize:t,color:r}}}function $i(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},t=ve(n,"legendPosition","topright"),r=ve(e,"chart.marginLeft")||ve(e,"chart.margin-left");r=Le(r);let o=ve(e,"chart.marginRight")||ve(e,"chart.margin-right");o=Le(o);let i=ve(e,"chart.marginTop")||ve(e,"chart.margin-top");i=Le(i);let a=ve(e,"chart.marginBottom")||ve(e,"chart.margin-bottom");a=Le(a),ve(n,"legendIgnoreMargin",!1)&&(r=0,o=0,i=0,a=0);let c=ve(e,"chart.spacingLeft")||ve(e,"chart.spacing-left");c=Le(c);let u=ve(e,"chart.spacingRight")||ve(e,"chart.spacing-right");u=Le(u);let l=ve(e,"chart.spacingTop")||ve(e,"chart.spacing-top");l=Le(l);let f=ve(e,"chart.spacingBottom")||ve(e,"chart.spacing-bottom");f=Le(f),ve(n,"legendIgnoreSpacing",!1)&&(c=0,u=0,l=0,f=0);let s=ve(e,"legend",{});if(e.legend=s,"topleft"===t){e.legend.align="left",e.legend.verticalAlign="top";let n=5,t=5;e.legend.x=r-c+n,e.legend.y=i-l+t}else if("bottomleft"===t){e.legend.align="left",e.legend.verticalAlign="bottom";let n=5,t=-5;e.legend.x=r-c+n,e.legend.y=-a+f+t}else if("bottomright"===t){e.legend.align="right",e.legend.verticalAlign="bottom";let n=-5,t=-5;e.legend.x=-o+u+n,e.legend.y=-a+f+t}else{e.legend.align="right",e.legend.verticalAlign="top";let n=-5,t=5;e.legend.x=-o+u+n,e.legend.y=i-l+t}return e}function Mi(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Di(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Mi(Object(t),!0).forEach((function(n){Vo(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Mi(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function Ui(e,n,t,r){let o,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},a=ve(i,"marginLeft",null),c=ve(i,"marginRight",null),u=ve(i,"marginTop",null),l=ve(i,"marginBottom",null),f=ve(i,"direction","vertical"),s=ve(i,"xTitle",""),d=ve(i,"yTitle",""),p=ve(i,"barColor",void 0),h=ve(i,"barKpColor",void 0),g=ve(i,"barGroupWidthRatio",.2),v=ve(i,"barWidthRatio",.2),b=ve(i,"barBorderWidth",1),y=ve(i,"barDisplay","separate");"separate"!==y&&"stackNormal"!==y&&"stackPercent"!==y&&(y="separate"),"stackNormal"===y?o="normal":"stackPercent"===y&&(o="percent");let m=ve(i,"barBorderRadius",4),A=ve(i,"barShowLabels",!0),w=ve(i,"showLegend",!1),j=t,k=[];kn(r,((e,n)=>{let r=ve(e,"name",""),o=p,i=ve(e,"color",void 0),a=ve(e,"data",{}),c=null,u=[];kn(t,(e=>{let t=ve(a,e,null),r=t;if(ye(r)){if(!Ri(r,"value"))throw new Error("bar data is an object but no value");r=ve(r,"value",null)}let l=ve(h,e,void 0),f=ve(h,`${n}.${e}`,void 0),s=ve(t,"color",void 0),d=(e=>{if(Li(e)){let n=xo(e);e=1===n?e[0]:{linearGradient:{x1:0,x2:0,y1:0,y2:1},stops:Nt(e,((e,t)=>[t/(n-1),e]))}}return e})(o||i||l||f||s);null===c&&(c=d),u.push({name:e,y:r,color:d})})),k.push({name:r,data:u,color:c})}));let _=Ii(i),x=Wi(i),O=Ni(i),S=Ei(O,{categories:j,crosshair:!0,panningEnabled:!1,labels:{allowOverlap:!0}});S.title.text=s,S.opposite=!1;let C=Ni(i);C.title.text=d,C.min=0;let P=Fi(i),E=Di(Di({},_),{},{chart:Di(Di({},x),{},{type:"vertical"===f?"column":"bar",width:e,height:n}),xAxis:S,yAxis:C,legend:P,series:k});return zi(a)&&(E.chart.marginLeft=a),zi(c)&&(E.chart.marginRight=c),zi(u)&&(E.chart.marginTop=u),zi(l)&&(E.chart.marginBottom=l),E.plotOptions=Di(Di({},E.plotOptions),{},{series:{groupPadding:g,pointPadding:v,borderWidth:b,grouping:!0,borderRadius:m,stacking:o,dataLabels:{enabled:A,allowOverlap:!0}}}),E=$i(E,i),E.legend.enabled=w,E}const Hi={components:{WPlot:Uo},props:{opt:{type:Object,default:()=>{}}},data:function(){return{}},computed:{hasOptBar:function(){return ye(this.optBar)},optBar:function(){let e=this,n=null;try{n=Ui(e.getWidth(),e.getHeight(),ve(e,"opt.keys",[]),ve(e,"opt.rds",[]),e.opt)}catch(e){console.log(e)}return n}},methods:{getWidth:function(){return ve(this,"opt.width",0)},getHeight:function(){return ve(this,"opt.height",0)}}};var Qi=function(){var e=this,n=e.$createElement,t=e._self._c||n;return e.hasOptBar?t("div",{staticStyle:{display:"inline-block"}},[t("div",{style:"width:"+e.getWidth+"px; max-width:"+e.getWidth+"px;"},[e._t("top",null,{opt:e.optBar})],2),e._v(" "),t("WPlot",{attrs:{options:e.optBar}}),e._v(" "),t("div",{style:"width:"+e.getWidth+"px; max-width:"+e.getWidth+"px;"},[e._t("bottom",null,{opt:e.optBar})],2)],1):e._e()};Qi._withStripped=!0;const Vi=Eo({render:Qi,staticRenderFns:[]},(function(e){e&&e("data-v-18fa7e6f_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WBar.vue"},media:void 0})}),Hi,"data-v-18fa7e6f",false,undefined,!1,zo,void 0,void 0);function Gi(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function Zi(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Gi(Object(t),!0).forEach((function(n){Vo(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Gi(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function Yi(e,n,t,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=ve(o,"marginLeft",null),a=ve(o,"marginRight",null),c=ve(o,"marginTop",null),u=ve(o,"marginBottom",null),l=ve(o,"pieThicknessRatio",.6);l=Math.min(l,1),l=Math.max(l,0);let f=ve(o,"pieBorderRadius",4),s=ve(o,"pieKpColor",void 0),d=ve(o,"pieBorderWidth",1),p=ve(o,"pieShowLabels",!0),h=ve(o,"showLegend",!0),g=[];kn(r,((e,n)=>{let r=ve(e,"name",""),o=ve(e,"color",void 0),i=ve(e,"data",{}),a=null,c=[];kn(t,(e=>{let t=ve(i,e,null),r=t;if(ye(r)){if(!Ri(r,"value"))throw new Error("pie data is an object but no value");r=ve(r,"value",null)}let u=ve(s,e,void 0),l=ve(s,`${n}.${e}`,void 0),f=ve(t,"color",void 0),d=(e=>{if(Li(e)){let n=xo(e);e=1===n?e[0]:{linearGradient:{x1:0,x2:0,y1:0,y2:1},stops:Nt(e,((e,t)=>[t/(n-1),e]))}}return e})(o||u||l||f);null===a&&(a=d),c.push({name:e,y:r,color:d})})),g.push({name:r,data:c,color:a})}));let v=Ii(o),b=Wi(Zi(Zi({},o),{},{marginLeftShift:0,marginRightShift:0,marginTopShift:0,marginBottomShift:0,plotBorderColor:"transparent"})),y=Fi(o),m=Zi(Zi({},v),{},{chart:Zi(Zi({},b),{},{type:"pie",width:e,height:n}),legend:y,series:g});return zi(i)&&(m.chart.marginLeft=i),zi(a)&&(m.chart.marginRight=a),zi(c)&&(m.chart.marginTop=c),zi(u)&&(m.chart.marginBottom=u),m.plotOptions=Zi(Zi({},m.plotOptions),{},{series:{borderWidth:d,dataLabels:{enabled:p,allowOverlap:!0,format:'\n <div style="width:50px;">\n <div style="font-weight:bold;">{point.name}</div>\n <div style="opacity:0.6;">{point.percentage:.1f}%</div>\n </div>\n '},innerSize:100*(1-l)+"%",borderRadius:f,showInLegend:h}}),m=$i(m,Zi(Zi({},o),{},{legendIgnoreMargin:!0})),m.legend.enabled=h,m}const qi={components:{WPlot:Uo},props:{opt:{type:Object,default:()=>{}}},data:function(){return{}},computed:{hasOptPie:function(){return ye(this.optPie)},optPie:function(){let e=this,n=null;try{n=Yi(e.getWidth(),e.getHeight(),ve(e,"opt.keys",[]),ve(e,"opt.rds",[]),e.opt)}catch(e){console.log(e)}return n}},methods:{getWidth:function(){return ve(this,"opt.width",0)},getHeight:function(){return ve(this,"opt.height",0)}}};var Ji=function(){var e=this,n=e.$createElement,t=e._self._c||n;return e.hasOptPie?t("div",{staticStyle:{display:"inline-block"}},[t("div",{style:"width:"+e.getWidth+"px; max-width:"+e.getWidth+"px;"},[e._t("top",null,{opt:e.optPie})],2),e._v(" "),t("WPlot",{attrs:{options:e.optPie}}),e._v(" "),t("div",{style:"width:"+e.getWidth+"px; max-width:"+e.getWidth+"px;"},[e._t("bottom",null,{opt:e.optPie})],2)],1):e._e()};Ji._withStripped=!0;const Ki=Eo({render:Ji,staticRenderFns:[]},(function(e){e&&e("data-v-1b1b1ee8_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WPie.vue"},media:void 0})}),qi,"data-v-1b1b1ee8",false,undefined,!1,zo,void 0,void 0);function Xi(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function ea(e){for(var n=1;n<arguments.length;n++){var t=null!=arguments[n]?arguments[n]:{};n%2?Xi(Object(t),!0).forEach((function(n){Vo(e,n,t[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):Xi(Object(t)).forEach((function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}))}return e}function na(e,n,t,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},i=ve(o,"marginLeft",null),a=ve(o,"marginRight",null),c=ve(o,"marginTop",null),u=ve(o,"marginBottom",null),l=ve(o,"xLabelFontSize","10pt"),f=ve(o,"yTitle",""),s=ve(o,"yTitleFontSize","10pt"),d=ve(o,"yTitleColor","#444"),p=ve(o,"yLabelFontSize","8pt"),h=ve(o,"yLabelColor","#888"),g=ve(o,"roseKpColor",void 0),v=ve(o,"roseWidthRatio",.25),b=ve(o,"roseBorderWidth",1),y=ve(o,"roseShowLabels",!1),m=ve(o,"showLegend",!1),A=t,w=[];kn(r,((e,n)=>{let r=ve(e,"name",""),o=ve(e,"color",void 0),i=ve(e,"data",{}),a=null,c=[];kn(t,(e=>{let t=ve(i,e,null),r=t;if(ye(r)){if(!Ri(r,"value"))throw new Error("rose data is an object but no value");r=ve(r,"value",null)}let u=ve(g,e,void 0),l=ve(g,`${n}.${e}`,void 0),f=ve(t,"color",void 0),s=(e=>{if(Li(e)){let n=xo(e);e=1===n?e[0]:{linearGradient:{x1:0,x2:0,y1:0,y2:1},stops:Nt(e,((e,t)=>[t/(n-1),e]))}}return e})(o||u||l||f);null===a&&(a=s),c.push({name:e,y:r,color:s})})),w.push({name:r,data:c,color:a})}));let j=Ii(o),k=Wi(ea(ea({},o),{},{space:40,marginLeftShift:0,marginRightShift:0,marginTopShift:0,marginBottomShift:0,plotBorderColor:"transparent"})),_=Ni(ea(ea({},o),{},{labelFontSize:l})),x=Ei(_,{categories:A,labels:{allowOverlap:!0}}),O=Ni(ea(ea({},o),{},{titleFontSize:s,titleColor:d,labelFontSize:p,labelColor:h})),S=Ei(O,{});S.title.text=f,S.min=0;let C=Fi(o),P=ea(ea({},j),{},{chart:ea(ea({},k),{},{polar:!0,type:"column",width:e,height:n}),xAxis:x,yAxis:S,legend:C,series:w});return zi(i)&&(P.chart.marginLeft=i),zi(a)&&(P.chart.marginRight=a),zi(c)&&(P.chart.marginTop=c),zi(u)&&(P.chart.marginBottom=u),P.plotOptions=ea(ea({},P.plotOptions),{},{series:{stacking:"normal",groupPadding:0,pointPadding:v,borderWidth:b,dataLabels:{enabled:y,allowOverlap:!0,align:"center",y:-10}}}),P=$i(P,ea(ea({},o),{},{legendIgnoreMargin:!0})),P.legend.enabled=m,P}const ta={components:{WPlot:Uo},props:{opt:{type:Object,default:()=>{}}},data:function(){return{}},computed:{hasOptRose:function(){return ye(this.optRose)},optRose:function(){let e=this,n=null;try{n=na(e.getWidth(),e.getHeight(),ve(e,"opt.keys",[]),ve(e,"opt.rds",[]),e.opt)}catch(e){console.log(e)}return n}},methods:{getWidth:function(){return ve(this,"opt.width",0)},getHeight:function(){return ve(this,"opt.height",0)}}};var ra=function(){var e=this,n=e.$createElement,t=e._self._c||n;return e.hasOptRose?t("div",{staticStyle:{display:"inline-block"}},[t("div",{style:"width:"+e.getWidth+"px; max-width:"+e.getWidth+"px;"},[e._t("top",null,{opt:e.optRose})],2),e._v(" "),t("WPlot",{attrs:{options:e.optRose}}),e._v(" "),t("div",{style:"width:"+e.getWidth+"px; max-width:"+e.getWidth+"px;"},[e._t("bottom",null,{opt:e.optRose})],2)],1):e._e()};ra._withStripped=!0;const oa=Eo({render:ra,staticRenderFns:[]},(function(e){e&&e("data-v-3c0bf96d_0",{source:"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"WRose.vue"},media:void 0})}),ta,"data-v-3c0bf96d",false,undefined,!1,zo,void 0,void 0);let ia={install:function(e){e.component("w-bar",Vi),e.component("w-pie",Ki),e.component("w-plot",Uo),e.component("w-rose",oa)}};return Eo({},undefined,ia,undefined,undefined,undefined,!1,void 0,void 0,void 0)}));
|
|
7
|
+
//# sourceMappingURL=w-geo-vue.umd.js.map
|