Showing preview only (885K chars total). Download the full file or copy to clipboard to get everything.
Repository: dwqs/vue-area-linkage
Branch: master
Commit: a494a7afe769
Files: 63
Total size: 816.9 KB
Directory structure:
gitextract_94_0rqxq/
├── .babelrc
├── .editorconfig
├── .eslintrc
├── .gitignore
├── .npmignore
├── LICENSE
├── README.md
├── build/
│ ├── dev-server.js
│ ├── happypack.js
│ ├── webpack.base.config.js
│ ├── webpack.dev.config.js
│ └── webpack.prod.config.js
├── components/
│ ├── area-cascader/
│ │ ├── cascader/
│ │ │ ├── caspanel.vue
│ │ │ └── index.vue
│ │ ├── index.js
│ │ ├── index.vue
│ │ └── mixins/
│ │ └── emitter.js
│ └── area-select/
│ ├── index.js
│ ├── index.vue
│ └── select/
│ ├── index.vue
│ └── option.vue
├── components.json
├── config/
│ └── index.js
├── demo/
│ ├── gh.ac2a7e95.css
│ ├── gh.f9e788c4.js
│ └── vendor.8d61534d.js
├── dist/
│ ├── index.css
│ ├── index.js
│ └── lib/
│ ├── area-cascader.js
│ └── area-select.js
├── gh/
│ ├── components/
│ │ ├── footer/
│ │ │ └── index.vue
│ │ ├── header/
│ │ │ └── index.vue
│ │ ├── main/
│ │ │ ├── area-code.vue
│ │ │ ├── area.vue
│ │ │ ├── basic.vue
│ │ │ ├── cas-area-code.vue
│ │ │ ├── cas-area.vue
│ │ │ ├── cas-basic.vue
│ │ │ ├── cas-default-value.vue
│ │ │ ├── cas-placeholder.vue
│ │ │ ├── cas-returns.vue
│ │ │ ├── default-value.vue
│ │ │ ├── index.less
│ │ │ ├── index.vue
│ │ │ ├── placeholders.vue
│ │ │ ├── province.vue
│ │ │ ├── returns.vue
│ │ │ └── size.vue
│ │ └── start/
│ │ ├── index.less
│ │ └── index.vue
│ ├── general/
│ │ └── app/
│ │ └── index.vue
│ └── page/
│ ├── index.js
│ └── reset.css
├── index.html
├── package.json
├── postcss.config.js
├── src/
│ ├── bus.js
│ ├── index.js
│ ├── index.less
│ └── utils.js
├── tpl.html
├── webpack.build.config.js
└── webpack.components.config.js
================================================
FILE CONTENTS
================================================
================================================
FILE: .babelrc
================================================
{
"presets": [["latest", {
"es2015": {
"modules": false
}
}]],
"plugins": ["transform-runtime"]
}
================================================
FILE: .editorconfig
================================================
# EditorConfig is awesome: http://EditorConfig.org
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
# Matches multiple files with brace expansion notation
# Set default
[*.{js,vue,less}]
charset = utf-8
indent_style = space
indent_size = 4
# Matches the exact files either package.json or .travis.yml
[{package.json,.travis.yml}]
indent_style = space
indent_size = 2
================================================
FILE: .eslintrc
================================================
{
root: true,
parser: "babel-eslint",
parserOptions: {
ecmaVersion: 7,
sourceType: "module",
allowImportExportEverywhere: false,
ecmaFeatures: {
jsx: true,
modules: true
}
},
env: {
es6: true,
node: true,
browser: true
},
extends: "vue",
rules: {
indent: [2, 4, { "SwitchCase": 1 }],
quotes: [2, "single", { "allowTemplateLiterals": true }],
linebreak-style: [2, "unix"],
semi: [2, "always"],
eqeqeq: [2, "always"],
strict: [2, "global"],
key-spacing: [2, { "afterColon": true }],
no-console: 0,
no-debugger: 0,
no-empty: 0,
no-unused-vars: 0,
no-constant-condition: 0,
no-undef: 0,
}
}
================================================
FILE: .gitignore
================================================
# Created by .ignore support plugin (hsz.mobi)
### Node template
# Logs
logs
*.log
npm-debug.log*
# Runtime data
pids
*.pid
*.seed
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
# nyc test coverage
.nyc_output
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# node-waf configuration
.lock-wscript
# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules
jspm_packages
# Optional npm cache directory
.npm
# Optional REPL history
.node_repl_history
.idea
public/dist
.DS_Store
.cache
converage
.vscode
reports
.cache
.happypack
streets.js
!demo/streets.js
package-lock.json
================================================
FILE: .npmignore
================================================
src
.gitignore
.vscode
.npmrc
.babelrc
node_modules
demo
gh
build
config
*.html
*.js
================================================
FILE: LICENSE
================================================
MIT License
Copyright (c) 2017 Pomy
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
================================================
FILE: README.md
================================================
 
# vue-area-linkage
省市区联动选择. 组合数据来源:[area-data](https://github.com/dwqs/area-data)
## Installation
Install the pkg with npm:
```
// v5之前的版本
npm i --save vue-area-linkage
// v5及之后的版本
npm i --save vue-area-linkage area-data
```
or yarn
```
// v5之前的版本
yarn add vue-area-linkage
// v5及之后的版本
yarn add vue-area-linkage area-data
```
## Usage
```
import Vue from 'vue';
import { pca, pcaa } from 'area-data'; // v5 or higher
import 'vue-area-linkage/dist/index.css'; // v2 or higher
import VueAreaLinkage from 'vue-area-linkage';
Vue.use(VueAreaLinkage)
```
```
// v5之前的版本
<area-select v-model="selected"></area-select>
<area-cascader v-model="selected2"></area-cascader>
// v5及之后的版本
<area-select v-model="selected" :data="pca"></area-select> // 省市
// 省市区:<area-select v-model="selected" :data="pcaa"></area-select>
<area-cascader v-model="selected2" :data="pca"></area-cascader> // 省市
// 省市区:<area-cascader v-model="selected2" :data="pcaa"></area-cascader>
//setting
<area-select type='all' :level='2' v-model="selected" :data="pcaa"></area-select>
<area-cascader type='all' v-model="selected2" :level='1' :data="pcaa"></area-cascader>
```
More demo to visit [here](https://dwqs.github.io/vue-area-linkage/).
## On Demand Import
> version >= 2.1.2
安装 [babel-plugin-on-demand-import](https://github.com/dwqs/babel-plugin-on-demand-import):
```
npm i babel-plugin-on-demand-import -D
```
修改 `.babelrc`:
```
{
// ...
"plugins": [
["on-demand-import" {
"libraryName": "vue-area-linkage",
"libraryPath": "dist/lib"
}]
]
}
```
```
import 'vue-area-linkage/dist/index.css'; // v2 or higher
import pcaa from 'area-data/pcaa';
// Only import AreaCascader component
import { AreaCascader } from 'vue-area-linkage';
Vue.use(AreaCascader);
<area-cascader v-model="val" level={1} :data="pcaa"></area-cascader>
// Only import AreaSelect component
import { AreaSelect } from 'vue-area-linkage';
Vue.use(AreaSelect);
<area-select v-model="val2" level={2} :data="pcaa"></area-select>
```
## 属性
### area-select 组件
| 参数 | 类型 | 可选值 | 默认值 | 说明 |
| :--: | :--: | :--: | :--: | :--: |
| type | String | all/code/text | code | 设置返回的数据格式 |
| placeholders | Array | - | [] | 设置 placeholder text |
| level | Number | 0/1/2 | 1 | 设置联动层级(0-只选省份/1-省市联动/2-省市区联动) |
| size | String | small/medium/large | medium | 设置输入框的大小 |
| disabled | Boolean | - | false | 是否禁用 |
| data | Object | - | - | 地区数据(v5需要传入) |
| icon | String | - | area-select-icon | 自定义下拉小图标 |
| disableLinkage | Boolean | - | true | 地区选择是否进行联动 |
>v4 仅支持省市区联动,即 v4 不再支持 level 的值为 3(省市区街联动)
### area-cascader 组件
| 参数 | 类型 | 可选值 | 默认值 | 说明 |
| :--: | :--: | :--: | :--: | :--: |
| type | String | all/code/text | code | 设置返回的数据格式 |
| placeholder | String | - | '' | 设置 placeholder text |
| level | Number | 0/1 | 0 | 设置联动层级(0-省市联动/1-省市区联动) |
| size | String | small/medium/large | medium | 设置输入框的大小 |
| separator | String | - | '-' | 显示选中文本的分隔符 |
| disabled | Boolean | - | false | 是否禁用 |
| data | Object | - | - | 地区数据(v5需要传入) |
## 事件
| 事件名 | 说明 | 参数 |
| :--: | :--: | :--: |
| change | 选中值发生变化时触发 | 目前选择的值 |
> change 事件在 1.2.5 之后提供
## Related Project
* [react-area-linkage](https://github.com/dwqs/react-area-linkage)
## License
MIT.
================================================
FILE: build/dev-server.js
================================================
const webpack = require('webpack');
const WebpackDevServer = require('webpack-dev-server');
const ora = require('ora');
const gutil = require('gulp-util');
const webpackDevConfig = require('./webpack.dev.config.js');
const config = require('../config/index');
const compiler = webpack(webpackDevConfig);
const server = new WebpackDevServer(compiler, webpackDevConfig.devServer);
const env = process.env.NODE_ENV || 'development';
const url = `localhost:${config.dev.port}/`;
let spinner = ora({
text: 'Webpack 正在编译...\n',
color: 'green'
}).start();
function compiledFail () {
if (spinner) {
spinner.color = 'red';
spinner.text = gutil.colors.white('Webpack 编译失败: \n');
spinner.fail();
spinner = null;
}
}
server.listen(config.dev.port, 'localhost', (err) => {
if (err) {
compiledFail();
throw new gutil.PluginError('[webpack-dev-server err]', err);
}
});
// 编译完成
compiler.plugin('done', (stats) => {
if (spinner) {
spinner.text = gutil.colors.green(`Webpack 编译成功, open browser to visit ${url}\n`);
spinner.succeed();
spinner = null;
}
});
// 编译失败
compiler.plugin('failed', (err) => {
compiledFail();
throw new gutil.PluginError('[webpack build err]', err);
});
// 监听文件修改
compiler.plugin('compilation', compilation => {});
================================================
FILE: build/happypack.js
================================================
const HappyPack = require('happypack');
const os = require('os');
const happyThreadPool = HappyPack.ThreadPool({ size: os.cpus().length });
module.exports = function (opts) {
return {
id: opts.id,
threadPool: happyThreadPool,
verbose: true,
loaders: opts.loaders
};
};
================================================
FILE: build/webpack.base.config.js
================================================
const path = require('path');
const webpack = require('webpack');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const HappyPack = require('happypack');
const getHappyPackConfig = require('./happypack');
const config = require('../config');
module.exports = {
module: {
rules: [
{
test: /\.vue$/,
use: [{
loader: 'happypack/loader?id=vue'
}]
},
{
test: /\.js$/,
exclude: /node_modules/,
use: ['happypack/loader?id=js']
},
{
test: /\.(png|jpg|gif|jpeg)$/,
use: [{
loader: 'file-loader',
options: {
limit: 8192,
name: '[name].[ext]?[hash:8]'
}
}]
}
]
},
resolve: {
extensions: ['.vue', '.js'],
modules: [path.join(__dirname, '../node_modules')],
alias: {
'@src': path.resolve(__dirname, '../src'),
'@gh': path.resolve(__dirname, '../gh'),
'@components': path.resolve(__dirname, '../gh/components'),
'vue$': 'vue/dist/vue.js'
}
},
resolveLoader: {
modules: [path.join(__dirname, '../node_modules')]
},
performance: {
hints: false
},
plugins: [
new HappyPack(getHappyPackConfig({
id: 'vue',
loaders: [{
path: 'vue-loader',
query: {
// https://github.com/vuejs/vue-loader/issues/863
esModule: false
}
}]
})),
new HappyPack(getHappyPackConfig({
id: 'js',
loaders: ['babel-loader']
})),
// https://github.com/ampedandwired/html-webpack-plugin
new HtmlWebpackPlugin({
filename: 'index.html',
template: 'tpl.html',
inject: true,
env: process.env.NODE_ENV,
minify: {
removeComments: true,
collapseWhitespace: true,
removeAttributeQuotes: false
}
})
]
};
================================================
FILE: build/webpack.dev.config.js
================================================
const path = require('path');
const webpack = require('webpack');
const OpenBrowserPlugin = require('open-browser-webpack-plugin');
const HappyPack = require('happypack');
const getHappyPackConfig = require('./happypack');
const devConfig = require('./webpack.base.config');
const config = require('../config');
const url = `http://localhost:${config.dev.port}`;
devConfig.module.rules.unshift({
test: /\.less$/,
use: ['happypack/loader?id=less-dev']
}, {
test: /\.css$/,
use: ['happypack/loader?id=css-dev']
});
devConfig.plugins = (devConfig.plugins || []).concat([
new webpack.HotModuleReplacementPlugin(),
new webpack.DefinePlugin({
'process.env': {
'NODE_ENV': JSON.stringify(config.dev.env)
}
}),
new HappyPack(getHappyPackConfig({
id: 'less-dev',
loaders: ['vue-style-loader', 'css-loader', 'postcss-loader', 'less-loader']
})),
new HappyPack(getHappyPackConfig({
id: 'css-dev',
loaders: ['vue-style-loader', 'css-loader', 'postcss-loader']
})),
new webpack.NoEmitOnErrorsPlugin(),
new OpenBrowserPlugin({ url: url })
]);
// see https://webpack.github.io/docs/webpack-dev-server.html
devConfig.devServer = {
hot: true,
noInfo: false,
quiet: false,
port: config.dev.port,
// #https://github.com/webpack/webpack-dev-server/issues/882
disableHostCheck: true,
headers: {
'Access-Control-Allow-Origin': '*',
'Access-Control-Allow-Headers': 'Origin, X-Requested-With, Content-Type, Accept'
},
inline: true,
// 解决开发模式下 在子路由刷新返回 404 的情景
historyApiFallback: {
index: config.dev.assetsPublicPath
},
stats: {
colors: true,
modules: false
},
contentBase: config.dev.contentBase,
publicPath: config.dev.assetsPublicPath
};
module.exports = Object.assign({}, devConfig, {
entry: {
index: [
'webpack/hot/dev-server',
`webpack-dev-server/client?http://localhost:${config.dev.port}/`,
path.resolve(__dirname, '../gh/page/index.js')
]
},
output: {
filename: '[name].js',
path: config.dev.assetsRoot,
publicPath: config.dev.assetsPublicPath,
sourceMapFilename: '[file].map',
chunkFilename: '[name].js'
},
devtool: 'source-map'
});
================================================
FILE: build/webpack.prod.config.js
================================================
const path = require('path');
const webpack = require('webpack');
const ExtractTextPlugin = require("extract-text-webpack-plugin");
const OptimizeCSSPlugin = require('optimize-css-assets-webpack-plugin');
const ParallelUglifyPlugin = require('webpack-parallel-uglify-plugin');
const CleanWebpackPlugin = require('clean-webpack-plugin');
const WebpackMd5Hash = require('webpack-md5-hash');
const os = require('os');
const CompressionPlugin = require("compression-webpack-plugin");
const HappyPack = require('happypack');
const getHappyPackConfig = require('./happypack');
const prodConfig = require('./webpack.base.config');
const config = require('../config');
prodConfig.module.rules.unshift({
test: /\.less$/,
use: ExtractTextPlugin.extract({
fallback: 'vue-style-loader',
use: ['happypack/loader?id=less-prod']
})
}, {
test: /\.css$/,
use: ExtractTextPlugin.extract({
fallback: 'vue-style-loader',
use: ['happypack/loader?id=css-prod']
})
});
prodConfig.plugins = (prodConfig.plugins || []).concat([
new CleanWebpackPlugin(['demo'], {
root: path.join(__dirname, '../'),
verbose: true,
dry: false
}),
new webpack.DefinePlugin({
'process.env': {
'NODE_ENV': JSON.stringify(config.build.env)
}
}),
new ExtractTextPlugin({
filename: '[name].[contenthash:8].css'
}),
new HappyPack(getHappyPackConfig({
id: 'less-prod',
loaders: ['css-loader', {
path: 'postcss-loader',
query: {
sourceMap: 'inline'
}
}, 'less-loader']
})),
new HappyPack(getHappyPackConfig({
id: 'css-prod',
loaders: ['css-loader', {
path: 'postcss-loader',
query: {
sourceMap: 'inline'
}
}]
})),
// Compress extracted CSS. We are using this plugin so that possible
// duplicated CSS from different components can be deduped.
new OptimizeCSSPlugin({
cssProcessorOptions: {
safe: true
},
assetNameRegExp: /\.less$/g
}),
new webpack.optimize.CommonsChunkPlugin({
name: 'vendor',
minChunks: ({ resource }) => (
resource &&
resource.indexOf('node_modules') >= 0 &&
resource.match(/\.js$/)
)
}),
// gzip
new CompressionPlugin({
asset: '[path].gz[query]',
algorithm: 'gzip',
test: /\.(js|html|less)$/,
threshold: 10240,
minRatio: 0.8
}),
new ParallelUglifyPlugin({
workerCount: os.cpus().length,
cacheDir: '.cache/',
uglifyJS: {
compress: {
warnings: false,
/* eslint-disable camelcase */
drop_debugger: true,
drop_console: true
},
comments: false,
sourceMap: true,
mangle: true
}
}),
new webpack.optimize.ModuleConcatenationPlugin(),
new WebpackMd5Hash()
]);
module.exports = Object.assign({}, prodConfig, {
entry: {
gh: path.resolve(__dirname, '../gh/page/index.js')
},
output: {
filename: '[name].[chunkhash:8].js',
path: config.build.assetsRoot,
publicPath: config.build.assetsPublicPath,
sourceMapFilename: '[file].map',
chunkFilename: '[name].[chunkhash:8].js'
}
});
================================================
FILE: components/area-cascader/cascader/caspanel.vue
================================================
<template>
<span>
<ul class="cascader-menu-list" ref="list">
<li v-for="(item, index) in data"
:key="getUniqueKey(index)"
:class="{
'cascader-menu-option': true,
'cascader-menu-extensible': item['children'],
'selected': cascader.activeValues.includes(item.value)//cascader.useTmp ? cascader.tmpVals.includes(item.value) : cascader.vals.includes(item.value)
}"
@click.stop="handleClickItem(item)">
{{item.label}}
</li>
</ul>
<caspanel v-if="sublist && sublist.length" :data="sublist"></caspanel>
</span>
</template>
<script>
import { isArray, scrollIntoView } from '@src/utils';
import Emitter from '../mixins/emitter';
let key = 0;
export default {
name: 'Caspanel',
inject: ['cascader'],
mixins: [Emitter],
props: {
data: {
type: Array,
default: () => []
}
},
data () {
return {
sublist: [],
val: '', // 当前选中的值
list: null
};
},
watch: {
data () {
this.sublist = [];
}
},
methods: {
getUniqueKey () {
return key++;
},
getBaseItem (item) {
const backItem = Object.assign({}, item);
if (backItem.children) {
delete backItem.children;
}
return backItem;
},
handleClickItem (item) {
this.cascader.handleMenuItemClick(item);
if (!item.children) {
this.sublist = [];
this.cascader.eventBus.$emit('selected');
} else {
this.sublist = [].concat(item.children);
}
},
triggerItem (item, from) {
const base = this.getBaseItem(item);
this.cascader.handleMenuItemClick(item);
if (!item.children) {
this.sublist = [];
this.cascader.eventBus.$emit('selected');
} else {
this.sublist = [].concat(item.children);
}
},
initCaspanel (params) {
const val = params.value;
const value = [...val];
for (let i = 0; i < value.length; i++) {
for (let j = 0; j < this.data.length; j++) {
if (value[i] === this.data[j].value) {
this.triggerItem(this.data[j], params.from);
this.val = value[i];
value.splice(0, 1);
this.$nextTick(() => {
this.broadcast('Caspanel', 'update-selected', {
value: value
});
});
break;
}
}
}
},
scrollToSelectedOption () {
if (!this.list) {
this.list = this.$refs.list;
}
const seletedOption = this.data.filter(item => item.value === this.val);
if (seletedOption.length) {
const target = this.list.querySelector('.selected');
scrollIntoView(this.list, target);
}
}
},
mounted () {
// 保存 ul
this.list = this.$refs.list;
// 根据 value 初始化选择数据
this.$on('update-selected', this.initCaspanel);
this.cascader.eventBus.$on('set-scroll-top', this.scrollToSelectedOption);
}
};
</script>
================================================
FILE: components/area-cascader/cascader/index.vue
================================================
<template>
<div class="area-select" :class="{
'medium': size === 'medium',
'small': size === 'small',
'large': size === 'large',
'is-disabled': disabled
}" ref="area">
<span ref="trigger" class="area-selected-trigger" @click.stop="handleTriggerClick">{{label ? label : placeholder}}</span>
<i :class="[icon, { 'active': shown }]" @click.stop="handleTriggerClick"></i>
<transition name="area-zoom-in-top" @before-enter="handleListEnter">
<div class="cascader-menu-list-wrap" v-show="shown" ref="wrap" :style="{top: top + 'px'}">
<caspanel :data="options"></caspanel>
</div>
</transition>
</div>
</template>
<script>
import Bus from '@src/bus.js';
import { contains, setPanelPosition } from '@src/utils.js';
import Emitter from '../mixins/emitter';
import Caspanel from './caspanel.vue';
export default {
provide () {
return {
'cascader': this
};
},
mixins: [Emitter],
props: {
options: {
type: Array,
required: true
},
data: {
type: Object,
required: true
},
defaultsAreaCodes: {
type: Array,
default: () => []
},
disabled: {
type: Boolean,
default: false
},
placeholder: {
type: String,
default: '请选择'
},
size: {
type: String,
default: 'medium',
validator: (val) => ['small', 'medium', 'large'].indexOf(val) > -1
},
icon: {
type: String,
default: 'area-select-icon'
},
separator: {
type: String,
default: '/'
}
},
components: {
'caspanel': Caspanel
},
data () {
return {
// 计算位置
areaRect: null,
top: 32,
shown: false,
eventBus: null,
activeValues: [], // 当前激活项
values: [], // 当前选择项
labels: [], // 地区的文本
label: '',
isClickOutSide: false
};
},
watch: {
defaultsAreaCodes (val) {
val.length && this.initValue();
}
},
methods: {
initValue () {
this.broadcast('Caspanel', 'update-selected', {
value: this.defaultsAreaCodes
});
this.values = [].concat(this.defaultsAreaCodes);
},
getActiveLabels (codes) {
const provinces = this.data['86'];
const citys = this.data[codes[0]];
const l = codes.length;
if (l < 2) {
return [];
}
let labels = [];
if (l === 2) {
labels = [provinces[codes[0]], citys[codes[1]]];
} else if (l === 3) {
// fix #7
const areas = this.data[codes[1]];
labels = [provinces[codes[0]], citys[codes[1]], areas ? areas[codes[2]] : citys[codes[2]]];
}
return labels;
},
resetActiveVal () {
this.activeValues = [].concat(this.values);
this.labels = this.getActiveLabels(this.values);
if (!this.shown && this.values.length) {
this.broadcast('Caspanel', 'update-selected', {
value: this.values
});
}
},
handleTriggerClick () {
if (this.disabled) {
return;
}
this.$emit('set-default');
const tmp = this.shown;
this.shown = !this.shown;
if (!tmp) {
this.isClickOutSide = false;
} else {
this.isClickOutSide = true;
this.resetActiveVal();
}
},
setPosition () {
const panelHeight = parseInt(window.getComputedStyle(this.$refs.wrap, null).getPropertyValue('height'));
this.top = setPanelPosition(panelHeight, this.areaRect);
},
handleDocClick (e) {
const target = e.target;
if (!contains(this.$el, target) && this.shown) {
this.shown = false;
this.isClickOutSide = true;
this.resetActiveVal();
}
},
handleDocResize () {
this.areaRect = this.$refs.area.getBoundingClientRect();
this.$nextTick(() => {
this.setPosition();
});
},
handleMenuItemClick (item, oldItem) {
const { label, value, children, panelIndex } = item;
let activeValues = this.activeValues;
let labels = this.labels;
activeValues = activeValues.slice(0, panelIndex + 1);
activeValues[panelIndex] = value;
labels = labels.slice(0, panelIndex + 1);
labels[panelIndex] = label;
this.activeValues = [].concat(activeValues);
this.labels = [].concat(labels);
},
handleSelectedChange () {
this.shown = false;
this.values = [].concat(this.activeValues);
this.label = this.labels.join(this.separator);
if (!this.isClickOutSide) {
this.$emit('change', this.values, this.labels);
}
},
handleListEnter () {
this.$nextTick(() => {
this.setPosition();
this.eventBus.$emit('set-scroll-top');
});
}
},
created () {
if (!Bus._Vue) {
throw new Error('[area-cascader]: Must be call Vue.use(VueAreaLinkage) before used');
}
this.eventBus = Bus.createEventBus();
this.eventBus.$on('selected', this.handleSelectedChange);
},
mounted () {
this.areaRect = this.$refs.area.getBoundingClientRect();
this.top = this.areaRect.height;
window.document.addEventListener('scroll', this.handleDocResize, false);
window.addEventListener('resize', this.handleDocResize, false);
window.document.addEventListener('click', this.handleDocClick, false);
if (this.defaultsAreaCodes && this.defaultsAreaCodes.length) {
this.initValue();
}
},
beforeDestroy () {
window.document.removeEventListener('scroll', this.handleDocResize, false);
window.removeEventListener('resize', this.handleDocResize, false);
window.document.removeEventListener('click', this.handleDocClick, false);
}
};
</script>
================================================
FILE: components/area-cascader/index.js
================================================
import AreaCascader from './index.vue';
import Bus from '@src/bus.js';
AreaCascader.install = function (Vue) {
Bus.saveVueRef(Vue);
Vue.component(AreaCascader.name, AreaCascader);
};
export default AreaCascader;
================================================
FILE: components/area-cascader/index.vue
================================================
<template>
<div class="area-cascader-wrap">
<v-cascader
:placeholder="placeholder"
:options="options"
:defaultsAreaCodes="defaultsAreaCodes"
:size="size"
:disabled="disabled"
:separator="separator"
:data="data"
@setDefault="isSetDefault = true"
@change="handleChange">
</v-cascader>
</div>
</template>
<script>
import find from 'lodash.find';
import Cascader from './cascader/index.vue';
import { assert, isArray } from '@src/utils';
export default {
name: 'area-cascader',
components: {
'v-cascader': Cascader
},
props: {
value: {
required: true
},
placeholder: {
type: String,
default: '请选择'
},
type: {
type: String,
default: 'code', // code-返回行政区域代码 text-返回文本 all-返回 code 和 text
validator: (val) => ['all', 'code', 'text'].indexOf(val) > -1
},
level: {
type: Number,
default: 0, // 0->二联 1->三联
validator: (val) => [0, 1].indexOf(val) > -1
},
size: {
type: String,
default: 'large',
validator: (val) => ['small', 'medium', 'large'].indexOf(val) > -1
},
separator: {
type: String,
default: '/'
},
disabled: {
type: Boolean,
default: false
},
data: {
type: Object,
required: true
}
},
data () {
if (!this.data || !this.data['86']) {
throw new Error('[vue-area-linkage]: 需要提供地区数据:https://github.com/dwqs/area-data');
}
return {
provinces: this.data['86'],
citys: {},
areas: {},
// only array
options: [],
curProvince: '', // text
curProvinceCode: '', // code
curCity: '',
curCityCode: '',
curArea: '',
curAreaCode: '',
// 设置默认值的判断
defaultsAreaCodes: [], // 默认值对应的 code
defaults: [],
isCode: false,
isSetDefault: false
};
},
watch: {
value (val) {
if (!this.isSetDefault && isArray(val) && val.length === this.level + 2) {
this.beforeSetDefault();
this.setDefaultValue();
}
if (!this.isSetDefault && isArray(val) && val.length && val.length !== this.level + 2) {
assert(false, `设置的默认值和 level 值不匹配`);
}
},
curProvinceCode (val) {
this.curProvince = this.provinces[val];
this.citys = this.data[val];
if (!this.citys) {
this.citys = {
[this.curProvinceCode]: this.curProvince
};
this.curCity = this.curProvince;
this.curCityCode = this.curCityCode;
return;
}
let curCity = Object.values(this.citys)[0];
let curCityCode = Object.keys(this.citys)[0];
if (this.defaults[1]) {
if (this.isCode) {
curCityCode = find(Object.keys(this.citys), (item) => item === this.defaults[1]);
assert(curCityCode, `城市 ${this.defaults[1]} 不存在于省份 ${this.defaults[0]} 中`);
curCity = this.citys[curCityCode];
} else {
curCity = find(this.citys, (item) => item === this.defaults[1]);
assert(curCity, `城市 ${this.defaults[1]} 不存在于省份 ${this.defaults[0]} 中`);
curCityCode = find(Object.keys(this.citys), (item) => this.citys[item] === this.defaults[1]);
}
}
this.curCity = curCity;
this.curCityCode = curCityCode;
},
curCityCode (val) {
this.curCity = this.citys[val];
if (this.level === 0) {
this.setDefaultsCodes();
} else if (this.level === 1) {
this.areas = this.data[val];
if (!this.areas) {
this.areas = {
[this.curCityCode]: this.curCity
};
this.curArea = this.curCity;
this.curAreaCode = this.curCityCode;
return;
}
let curArea = Object.values(this.areas)[0];
let curAreaCode = Object.keys(this.areas)[0];
if (this.defaults[2]) {
if (this.isCode) {
curAreaCode = find(Object.keys(this.areas), (item) => item === this.defaults[2]);
assert(curAreaCode, `县区 ${this.defaults[2]} 不存在于城市 ${this.defaults[1]} 中`);
curArea = this.areas[curAreaCode];
} else {
curArea = find(this.areas, (item) => item === this.defaults[2]);
assert(curArea, `县区 ${this.defaults[2]} 不存在于城市 ${this.defaults[1]} 中`);
curAreaCode = find(Object.keys(this.areas), (item) => this.areas[item] === this.defaults[2]);
}
}
this.curArea = curArea;
this.curAreaCode = curAreaCode;
}
},
curAreaCode (val) {
this.curArea = this.areas[val];
this.curAreaCode = val;
this.setDefaultsCodes();
}
},
methods: {
beforeSetDefault () {
const chinese = /^[\u4E00-\u9FA5\uF900-\uFA2D]{2,}$/;
const num = /^\d{6,}$/;
const isCode = num.test(this.value[0]);
let isValid;
if (!isCode) {
isValid = this.value.every((item) => chinese.test(item));
} else {
isValid = this.value.every((item) => num.test(item));
}
assert(isValid, '传入的默认值参数有误');
// 映射默认值,避免直接更改props
this.defaults = [].concat(this.value);
this.isCode = isCode;
},
setDefaultValue () {
let provinceCode = '';
if (this.isCode) {
provinceCode = this.defaults[0];
} else {
const province = find(this.provinces, (item) => item === this.defaults[0]);
assert(province, `省份 ${this.defaults[0]} 不存在`);
provinceCode = find(Object.keys(this.provinces), (item) => this.provinces[item] === this.defaults[0]);
}
this.curProvinceCode = provinceCode;
// 还原默认值,避免用户选择出错
this.$nextTick(() => {
this.defaults = [];
// this.isCode = false;
});
},
handleChange (codes, labels) {
let res = [];
if (this.isSetDefault) {
// this.emitter.emit('set-def-values', codes, labels);
}
this.isSetDefault = true;
if (labels[0] === labels[1]) {
// 纠正台湾省的 code 返回
codes[1] = codes[0];
}
if (this.type === 'code') {
res = [].concat(codes);
} else if (this.type === 'text') {
res = [].concat(labels);
} else if (this.type === 'all') {
res = codes.map((code, index) => {
return {
[code]: labels[index]
};
});
}
this.$emit('input', res);
this.$emit('change', res);
},
iterate (obj, panelIndex) {
// panelIndex 表示所在 panel 的索引
const temp = [];
for (const key in obj) {
temp.push({
label: obj[key],
value: key,
panelIndex: panelIndex
});
}
return temp;
},
iterateCities () {
const temp = [];
const provinces = this.iterate(this.data['86'], 0);
for (let i = 0, l = provinces.length; i < l; i++) {
const item = {};
item['label'] = provinces[i].label;
item['value'] = provinces[i].value;
item['panelIndex'] = provinces[i].panelIndex;
item['children'] = this.iterate(this.data[provinces[i].value], 1);
temp.push(item);
}
return temp;
},
iterateAreas () {
const temp = [];
const cities = this.iterateCities();
for (let i = 0, c = cities.length; i < c; i++) {
const city = cities[i];
for (let j = 0, l = city.children.length; j < l; j++) {
const item = city.children[j];
const areas = this.iterate(this.data[city.children[j].value], 2);
// fix #7
if (areas.length) {
item['children'] = areas;
} else {
item['children'] = [{
label: item.label,
value: item.value,
panelIndex: 2
}];
}
}
temp.push(city);
}
return temp;
},
setDefaultsCodes () {
if (this.isSetDefault) {
return;
}
this.isSetDefault = true;
let codes = [];
switch (this.level) {
case 0:
codes = [this.curProvinceCode, this.curCityCode];
break;
case 1:
codes = [this.curProvinceCode, this.curCityCode, this.curAreaCode];
break;
}
this.defaultsAreaCodes = [].concat(codes);
}
},
created () {
if (this.level === 0) {
this.options = this.iterateCities();
} else if (this.level === 1) {
this.options = this.iterateAreas();
} else {
assert(false, `设置的 level 值只支持 0/1`);
}
if (isArray(this.value) && this.value.length === this.level + 2) {
this.beforeSetDefault();
this.setDefaultValue();
}
if (isArray(this.value) && this.value.length && this.value.length !== this.level + 2) {
assert(false, `设置的默认值和 level 值不匹配`);
}
}
};
</script>
================================================
FILE: components/area-cascader/mixins/emitter.js
================================================
function broadcast (componentName, eventName, params) {
this.$children.forEach(child => {
const name = child.$options.name;
if (name === componentName) {
child.$emit.apply(child, [eventName].concat(params));
} else {
broadcast.apply(child, [componentName, eventName].concat([params]));
}
});
}
export default {
methods: {
// dispatch (componentName, eventName, params) {
// let parent = this.$parent || this.$root;
// let name = parent.$options.name;
// while (parent && (!name || name !== componentName)) {
// parent = parent.$parent;
// if (parent) {
// name = parent.$options.name;
// }
// }
// if (parent) {
// parent.$emit.apply(parent, [eventName].concat(params));
// }
// },
broadcast (componentName, eventName, params) {
broadcast.call(this, componentName, eventName, params);
}
}
};
================================================
FILE: components/area-select/index.js
================================================
import AreaSelect from './index.vue';
AreaSelect.install = function (Vue) {
Vue.component(AreaSelect.name, AreaSelect);
};
export default AreaSelect;
================================================
FILE: components/area-select/index.vue
================================================
<template>
<div class="area-select-wrap">
<v-select v-model="curProvinceCode" :placeholder="placeholders[0] ? placeholders[0] : '请选择'" :size="size" :disabled="disabled">
<v-option v-for="(val, key) in provinces"
:key="key"
:label="val"
:value="key">
</v-option>
</v-select>
<v-select v-model="curCityCode" :placeholder="placeholders[1] ? placeholders[1] : '请选择'" v-if="level>=1" :size="size" :disabled="disabled">
<p v-if="!Object.keys(citys).length" class="area-select-empty">暂无数据</p>
<v-option v-else v-for="(val, key) in citys"
:key="key"
:label="val"
:value="key">
</v-option>
</v-select>
<v-select v-model="curAreaCode" :placeholder="placeholders[2] ? placeholders[2] : '请选择'" v-if="level>=2" :size="size" :disabled="disabled">
<p v-if="!Object.keys(areas).length" class="area-select-empty">暂无数据</p>
<v-option v-else v-for="(val, key) in areas"
:key="key"
:label="val"
:value="key">
</v-option>
</v-select>
</div>
</template>
<script>
import find from 'lodash.find';
import Select from './select/index.vue';
import Option from './select/option.vue';
import { assert, isArray } from '@src/utils';
export default {
name: 'area-select',
components: {
'v-select': Select,
'v-option': Option
},
props: {
value: {
type: Array,
required: true
},
type: {
type: String,
default: 'code', // code-返回行政区域代码 text-返回文本 all-返回 code 和 text
validator: (val) => ['all', 'code', 'text'].indexOf(val) > -1
},
placeholders: {
type: Array,
default: () => []
},
level: {
type: Number,
default: 1, // 0-->一联 1->二联 2->三联
validator: (val) => [0, 1, 2].indexOf(val) > -1
},
size: {
type: String,
default: 'medium',
validator: (val) => ['small', 'medium', 'large'].indexOf(val) > -1
},
disabled: {
type: Boolean,
default: false
},
data: {
type: Object,
required: true
},
disableLinkage: {
type: Boolean,
default: false
}
},
data () {
if (!this.data || !this.data['86']) {
throw new Error('[vue-area-linkage]: 需要提供地区数据,格式参考见:https://github.com/dwqs/area-data');
}
return {
// 区域数据
provinces: this.data['86'],
citys: {},
areas: {},
curProvince: '', // text
curProvinceCode: '', // code
curCity: '',
curCityCode: '',
curArea: '',
curAreaCode: '',
// 设置默认值的判断
defaults: [],
isCode: false,
isSetDefault: false
};
},
watch: {
curProvinceCode (val, oldVal) {
this.curProvince = this.provinces[val];
this.provinceChange(val, oldVal === val);
},
curCityCode (val, oldVal) {
this.curCity = this.citys[val];
this.cityChange(val, oldVal === val);
},
curAreaCode (val, oldVal) {
this.curArea = this.areas[val];
this.areaChange(val, oldVal === val);
},
value (val) {
if (!this.isSetDefault && isArray(val) && val.length === this.level + 1) {
this.beforeSetDefault();
this.setDefaultValue();
}
if (!this.isSetDefault && isArray(val) && val.length && val.length !== this.level + 1) {
assert(false, `设置的默认值和 level 值不匹配`);
}
}
},
methods: {
provinceChange (val, isEqual) {
if (this.level === 0) {
this.selectChange();
} else if (this.level >= 1) {
this.citys = this.data[val];
if (!this.citys) {
this.citys = {
[this.curProvinceCode]: this.curProvince
};
if (!this.disableLinkage) {
this.curCity = this.curProvince;
this.curCityCode = this.curCityCode;
}
return;
}
let curCity = Object.values(this.citys)[0];
let curCityCode = Object.keys(this.citys)[0];
if (this.defaults[1]) {
if (this.isCode) {
curCityCode = find(Object.keys(this.citys), (item) => item === this.defaults[1]);
assert(curCityCode, `城市 ${this.defaults[1]} 不存在于省份 ${this.defaults[0]} 中`);
curCity = this.citys[curCityCode];
} else {
curCity = find(this.citys, (item) => item === this.defaults[1]);
assert(curCity, `城市 ${this.defaults[1]} 不存在于省份 ${this.defaults[0]} 中`);
curCityCode = find(Object.keys(this.citys), (item) => this.citys[item] === this.defaults[1]);
}
}
if (!this.disableLinkage) {
this.curCity = curCity;
this.curCityCode = curCityCode;
} else if (!isEqual) {
this.curCity = '';
this.curCityCode = '';
this.curArea = '';
this.curAreaCode = '';
this.selectChange();
}
}
},
cityChange (val, isEqual) {
if (this.level === 1) {
this.selectChange();
} else if (this.level === 2) {
this.areas = this.data[val];
if (!this.areas) {
// fix 市级下不存在城区(#7)
this.areas = {
[this.curCityCode]: this.curCity
};
if (!this.disableLinkage) {
this.curArea = this.curCity;
this.curAreaCode = this.curCityCode;
}
return;
}
let curArea = Object.values(this.areas)[0];
let curAreaCode = Object.keys(this.areas)[0];
if (this.defaults[2]) {
if (this.isCode) {
curAreaCode = find(Object.keys(this.areas), (item) => item === this.defaults[2]);
assert(curAreaCode, `县区 ${this.defaults[2]} 不存在于城市 ${this.defaults[1]} 中`);
curArea = this.areas[curAreaCode];
} else {
curArea = find(this.areas, (item) => item === this.defaults[2]);
assert(curArea, `县区 ${this.defaults[2]} 不存在于城市 ${this.defaults[1]} 中`);
curAreaCode = find(Object.keys(this.areas), (item) => this.areas[item] === this.defaults[2]);
}
}
if (!this.disableLinkage) {
this.curArea = curArea;
this.curAreaCode = curAreaCode;
} else if (!isEqual) {
this.curArea = '';
this.curAreaCode = '';
this.selectChange();
}
}
},
areaChange (val) {
this.curAreaCode = val;
this.selectChange();
},
getAreaCode () {
let codes = [];
switch (this.level) {
case 0:
codes = [this.curProvinceCode];
break;
case 1:
codes = [this.curProvinceCode, this.curCityCode];
break;
case 2:
// fix #32 710000是台湾省
codes = [this.curProvinceCode, this.curProvinceCode === '710000' ? this.curProvinceCode : this.curCityCode, this.curAreaCode];
break;
}
return codes;
},
getAreaText () {
let texts = [];
switch (this.level) {
case 0:
texts = [this.curProvince];
break;
case 1:
// fix #32 710000是台湾省
texts = [this.curProvince, this.curProvinceCode === '710000' ? this.curProvince : this.curCity];
break;
case 2:
texts = [this.curProvince, this.curProvinceCode === '710000' ? this.curProvince : this.curCity, this.curArea];
break;
}
return texts;
},
getAreaCodeAndText (selected) {
let textCodes = [];
switch (this.level) {
case 0:
textCodes = [{ [this.curProvinceCode]: this.curProvince }];
break;
case 1:
textCodes = [{ [this.curProvinceCode]: this.curProvince }, { [this.curCityCode]: this.curCity }];
break;
case 2:
const cityCode = this.curProvinceCode === '710000' ? this.curProvinceCode : this.curCityCode;
const cityText = this.curProvinceCode === '710000' ? this.curProvince : this.curCity;
textCodes = [{ [this.curProvinceCode]: this.curProvince }, { [cityCode]: cityText }, { [this.curAreaCode]: this.curArea }];
break;
}
return textCodes;
},
beforeSetDefault () {
const chinese = /^[\u4E00-\u9FA5\uF900-\uFA2D]{2,}$/;
const num = /^\d{6,}$/;
const isCode = num.test(this.value[0]);
let isValid;
if (!isCode) {
isValid = this.value.every((item) => chinese.test(item));
} else {
isValid = this.value.every((item) => num.test(item));
}
assert(isValid, '传入的默认值参数有误');
// 映射默认值,避免直接更改props
this.defaults = [].concat(this.value);
this.isCode = isCode;
this.isSetDefault = true;
},
setDefaultValue () {
let provinceCode = '';
if (this.isCode) {
provinceCode = this.defaults[0];
} else {
const province = find(this.provinces, (item) => item === this.defaults[0]);
assert(province, `省份 ${this.defaults[0]} 不存在`);
provinceCode = find(Object.keys(this.provinces), (item) => this.provinces[item] === this.defaults[0]);
}
this.curProvinceCode = provinceCode;
// 还原默认值,避免用户选择出错
this.$nextTick(() => {
this.defaults = [];
// this.isCode = false;
this.isSetDefault = false;
});
},
selectChange () {
this.isSetDefault = true;
let res = [];
if (this.type === 'code') {
res = this.getAreaCode();
} else if (this.type === 'text') {
res = this.getAreaText();
} else if (this.type === 'all') {
res = this.getAreaCodeAndText();
}
this.$emit('input', res);
this.$emit('change', res);
}
},
created () {
if (isArray(this.value) && this.value.length === this.level + 1) {
this.beforeSetDefault();
this.setDefaultValue();
}
if (isArray(this.value) && this.value.length && this.value.length !== this.level + 1) {
assert(false, `设置的默认值和 level 值不匹配`);
}
}
};
</script>
<style>
.area-select-wrap .area-select{
margin-left: 10px;
}
.area-select-wrap .area-select-empty{
padding: 4px 0;
margin: 0;
text-align: center;
color: #999;
font-size: 14px;
}
</style>
================================================
FILE: components/area-select/select/index.vue
================================================
<template>
<div class="area-select" :class="{
'medium': size === 'medium',
'small': size === 'small',
'large': size === 'large',
'is-disabled': disabled
}" ref="area">
<span ref="trigger" class="area-selected-trigger" @click="handleTriggerClick">{{label ? label : placeholder}}</span>
<i :class="[icon, { 'active': shown }]" @click.stop="handleTriggerClick"></i>
<transition name="area-zoom-in-top" @before-enter="handleListEnter">
<div class="area-selectable-list-wrap" v-show="shown" ref="wrap" :style="{top: top + 'px'}">
<ul class="area-selectable-list">
<slot></slot>
</ul>
</div>
</transition>
</div>
</template>
<script>
import { contains, scrollIntoView, setPanelPosition } from '@src/utils.js';
export default {
provide () {
return {
'select': this
};
},
props: {
value: {
type: [String, Number, Boolean]
},
disabled: {
type: Boolean,
default: false
},
placeholder: {
type: String,
default: '请选择'
},
icon: {
type: String,
default: 'area-select-icon'
},
size: {
type: String,
default: 'medium',
validator: (val) => ['small', 'medium', 'large'].indexOf(val) > -1
}
},
data () {
return {
shown: false,
options: [],
label: '',
val: '',
areaRect: null,
top: 32
};
},
watch: {
value (val) {
this.setDef();
},
options (val) {
this.setDef();
}
},
methods: {
setDef () {
if (this.value) {
const option = this.options.filter(opt => opt.value === this.value);
this.label = option[0] ? option[0].label : '';
this.val = option[0] ? option[0].value : '';
} else {
this.label = '';
this.val = '';
}
},
handleTriggerClick () {
if (this.disabled) {
return;
}
this.shown = !this.shown;
},
setPosition () {
const panelHeight = parseInt(window.getComputedStyle(this.$refs.wrap, null).getPropertyValue('height'));
this.top = setPanelPosition(panelHeight, this.areaRect);
},
handleDocClick (e) {
const target = e.target;
if (!contains(this.$el, target) && this.shown) {
this.shown = false;
}
},
handleDocResize () {
this.areaRect = this.$refs.area.getBoundingClientRect();
this.$nextTick(() => {
this.setPosition();
});
},
setSelectedValue (option) {
this.label = option.label;
this.val = option.value;
this.$emit('input', option.value);
this.shown = false;
this.$emit('change', option.value);
},
scrollToSelectedOption () {
this.setPosition();
const seletedOption = this.options.filter(option => option.value === this.val);
if (seletedOption.length) {
const target = seletedOption[0].$el;
const container = this.$el.querySelector('.area-selectable-list-wrap');
scrollIntoView(container, target);
}
},
handleListEnter () {
this.$nextTick(() => this.scrollToSelectedOption());
}
},
mounted () {
this.areaRect = this.$refs.area.getBoundingClientRect();
this.top = this.areaRect.height;
window.document.addEventListener('scroll', this.handleDocResize, false);
window.addEventListener('resize', this.handleDocResize, false);
window.document.addEventListener('click', this.handleDocClick, false);
this.$nextTick(() => {
this.setDef();
});
},
beforeDestroy () {
window.document.removeEventListener('scroll', this.handleDocResize, false);
window.removeEventListener('resize', this.handleDocResize, false);
window.document.removeEventListener('click', this.handleDocClick, false);
}
};
</script>
================================================
FILE: components/area-select/select/option.vue
================================================
<template>
<li :class="['area-select-option', {
'hover': hover,
'selected': curSelected === value
}]" :value="value"
@click.stop="selectOptionClick"
@mouseleave="leaveItem"
@mouseenter="hoverItem">
{{label}}
</li>
</template>
<script>
export default {
inject: ['select'],
props: {
value: {
type: [String, Number, Boolean],
required: true
},
label: [String, Number]
},
data () {
return {
hover: false,
isSelected: false
};
},
computed: {
curSelected () {
return this.select.val;
}
},
methods: {
leaveItem () {
this.hover = false;
},
hoverItem () {
this.hover = true;
},
selectOptionClick () {
this.select.setSelectedValue(this);
}
},
created () {
this.select.options.push(this);
}
};
</script>
================================================
FILE: components.json
================================================
{
"area-select": "./components/area-select/index.js",
"area-cascader": "./components/area-cascader/index.js"
}
================================================
FILE: config/index.js
================================================
const path = require('path');
module.exports = {
dev: {
env: 'development',
assetsRoot: path.resolve(__dirname, '../demo'),
assetsPublicPath: '/',
contentBase: path.resolve(__dirname, '../demo'),
port: 4000
},
build: {
env: 'production',
assetsRoot: path.resolve(__dirname, '../demo'),
assetsPublicPath: './demo/'
}
};
================================================
FILE: demo/gh.ac2a7e95.css
================================================
.start {
margin-top: 40px;
}
.start h3 {
text-align: center;
font-size: 25px;
color: #6289ad;
}
.start h4 {
font-size: 18px;
color: #6289ad;
}
.start pre {
margin-top: 15px;
background: #f8f8f8;
padding: 15px 10px;
color: #000;
font-size: 16px;
font-weight: 400;
}
.start .install {
margin-top: 20px;
}
.start .install p {
margin-top: 20px;
margin-bottom: 20px;
}
.start .register {
margin-top: 20px;
}html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
outline:0;
vertical-align:baseline;
background:transparent;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
display: block;
}
html,body {
height: 100%;
width: 100%;
/* # https://github.com/AlloyTeam/Mars/blob/master/solutions/font-family.md */
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC","Helvetica Neue",STHeiti,"Microsoft Yahei",Tahoma,Simsun,sans-serif;
}
body {
margin:0;
padding:0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
font-size: 14px;
line-height: 1;
background: none;
-moz-user-select:none;
-webkit-user-select:none;
-ms-user-select:none;
user-select:none;
overflow-x:hidden;
-webkit-overflow-scrolling:touch;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
tap-highlight-color: transparent;
-webkit-tap-highlight-color: transparent;
}
ol, ul, nav ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
content: '';
}
table {
border-collapse:collapse;
border-spacing:0;
}
a{
text-decoration:none;
margin: 0;
padding: 0;
border: 0;
font-size:100%;
vertical-align:baseline;
background:transparent;
-webkit-appearance: none;
-webkit-tap-highlight-color: transparent;
}
:focus {
outline: none;
}
ins {
background-color:#ff9;
color:#000;
text-decoration:none;
}
mark {
background-color:#ff9;
color:#000;
font-style:italic;
font-weight:bold;
}
del {
text-decoration: line-through;
}
abbr[title], dfn[title] {
border-bottom:1px dotted #000;
cursor:help;
}
hr {
display:block;
height:1px;
border:0;
border-top:1px solid #cccccc;
margin:1em 0;
padding:0;
}
input[type="text"], input[type="password"], textarea, input, select {
outline: none;
-webkit-appearance: none;
}
input, select {
vertical-align:middle;
}
* {
-webkit-box-sizing: border-box;
box-sizing: border-box;
/* # https://github.com/AlloyTeam/Mars/blob/master/solutions/font-family.md */
font-family: -apple-system, BlinkMacSystemFont, "PingFang SC","Helvetica Neue",STHeiti,"Microsoft Yahei",Tahoma,Simsun,sans-serif;
/*font: 0.12rem/1 "Microsoft YaHei", Tahoma, Arial, Helvetica, \\5b8b\4f53, "Helvetica Neue", "PingFang SC", "Heiti SC", "Hiragino Sans GB", "\5FAE\8F6F\96C5\9ED1", sans-serif;*/
color: inherit;
}
/* el-scrollbar */
/* .size-example .area-select.large .el-select:last-child{
margin-left: 30px
} */.app-main {
margin-top: 20px;
}
.app-main h3 {
text-align: center;
font-size: 25px;
color: #6289ad;
}
.app-main h4 {
margin-top: 25px;
font-size: 18px;
color: #6289ad;
}
.app-main h5 {
margin-top: 20px;
font-size: 16px;
color: #6289ad;
}
.app-main .desc {
margin-top: 15px;
}
.app-main .desc code {
background: #f8f8f8;
color: #333;
padding: 5px;
}
.app-main .code-area {
position: relative;
width: 100%;
height: auto;
border: 1px solid #dce7f4;
border-radius: 4px;
margin-top: 20px;
padding: 0;
}
.app-main .code-area > div {
margin-top: 40px;
display: inline-block;
vertical-align: middle;
}
.app-main .code-area .area-left {
width: 75%;
margin-left: 10px;
}
.app-main .code-area .area-right {
width: 21%;
margin-left: 10px;
}
.app-main .code-area .area-right pre {
background: #f8f8f8;
padding: 15px 10px;
color: #6289ad;
line-height: 20px;
}
.app-main .code-area .original-code {
width: 90%;
margin: 25px 45px -10px;
}
.app-main .code-area .original-code pre {
background: #f8f8f8;
padding: 15px 10px;
}
.app-main .code-area .show-code {
width: 100%;
cursor: pointer;
text-align: center;
border-top: 1px solid #dce7f4;
padding-top: 10px;
padding-bottom: 10px;
color: #6289ad;
font-weight: 500;
font-size: 18px;
}
.app-main .code-area .show-code:hover {
background-color: #dce7f4;
color: #fff;
}.area-zoom-in-top-enter-active,
.area-zoom-in-top-leave-active {
opacity: 1;
-webkit-transform: scaleY(1);
-ms-transform: scaleY(1);
transform: scaleY(1);
-webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
-o-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
-webkit-transform-origin: center top;
-ms-transform-origin: center top;
transform-origin: center top;
}
.area-zoom-in-top-enter,
.area-zoom-in-top-leave-active {
opacity: 0;
-webkit-transform: scaleY(0);
-ms-transform: scaleY(0);
transform: scaleY(0);
}
.area-select {
position: relative;
display: inline-block;
vertical-align: top;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
height: 32px;
cursor: pointer;
background: #FFFFFF;
border-radius: 4px;
border: 1px solid #e1e2e6;
}
.area-select * {
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.area-select:hover {
border-color: #a1a4ad;
}
.area-select.small {
width: 126px;
}
.area-select.medium {
width: 160px;
}
.area-select.large {
width: 194px;
}
.area-select.is-disabled {
background: #eceff5;
cursor: not-allowed;
}
.area-select.is-disabled:hover {
border-color: #e1e2e6;
}
.area-select.is-disabled .area-selected-trigger {
cursor: not-allowed;
}
.area-select .area-selected-trigger {
position: relative;
display: block;
font-size: 14px;
cursor: pointer;
margin: 0;
overflow: hidden;
white-space: nowrap;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
height: 100%;
padding: 8px 20px 7px 12px;
}
.area-select .area-select-icon {
position: absolute;
top: 50%;
margin-top: -2px;
right: 6px;
content: '';
width: 0;
height: 0;
border: 6px solid transparent;
border-top-color: #a1a4ad;
-webkit-transition: all .3s linear;
-o-transition: all .3s linear;
transition: all .3s linear;
-webkit-transform-origin: center;
-ms-transform-origin: center;
transform-origin: center;
}
.area-select .area-select-icon.active {
margin-top: -8px;
-webkit-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}
.area-selectable-list-wrap {
position: absolute;
width: 100%;
max-height: 275px;
z-index: 15000;
border: 1px solid #a1a4ad;
border-radius: 2px;
background-color: #FFFFFF;
-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04);
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 5px 0;
overflow-x: hidden;
overflow-x: auto;
}
.area-selectable-list {
position: relative;
margin: 0;
padding: 6px 0;
width: 100%;
font-size: 14px;
color: #565656;
list-style: none;
}
.area-selectable-list .area-select-option {
position: relative;
white-space: nowrap;
overflow: hidden;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
cursor: pointer;
padding: 0px 15px 0px 10px;
height: 32px;
line-height: 32px;
}
.area-selectable-list .area-select-option.hover {
background-color: #e4e8f1;
}
.area-selectable-list .area-select-option.selected {
background-color: #e4e8f1;
color: #FF6200;
font-weight: 700;
}
.cascader-menu-list-wrap {
position: absolute;
white-space: nowrap;
z-index: 15000;
border: 1px solid #a1a4ad;
border-radius: 2px;
background-color: #FFFFFF;
-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12), 0 0 6px rgba(0, 0, 0, 0.04);
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 5px 0;
overflow: hidden;
font-size: 0;
}
.cascader-menu-list {
position: relative;
margin: 0;
font-size: 14px;
color: #565656;
padding: 6px 0;
list-style: none;
display: inline-block;
height: 204px;
overflow-x: hidden;
overflow-y: auto;
min-width: 160px;
vertical-align: top;
background-color: #fff;
border-right: 1px solid #e4e7ed;
}
.cascader-menu-list:last-child {
border-right: none;
}
.cascader-menu-list .cascader-menu-option {
position: relative;
white-space: nowrap;
overflow: hidden;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
cursor: pointer;
padding: 0px 15px 0px 10px;
height: 32px;
line-height: 32px;
}
.cascader-menu-list .cascader-menu-option.hover {
background-color: #e4e8f1;
}
.cascader-menu-list .cascader-menu-option:hover {
background-color: #e4e8f1;
}
.cascader-menu-list .cascader-menu-option.selected {
background-color: #e4e8f1;
color: #FF6200;
font-weight: 700;
}
.cascader-menu-list .cascader-menu-option.cascader-menu-extensible:after {
position: absolute;
top: 50%;
margin-top: -4px;
right: 5px;
content: "";
width: 0;
height: 0;
border: 4px solid transparent;
border-left-color: #a1a4ad;
}
.cascader-menu-list::-webkit-scrollbar,
.area-selectable-list-wrap::-webkit-scrollbar {
width: 8px;
background: transparent;
}
.cascader-menu-list::-webkit-scrollbar-button:vertical:increment,
.area-selectable-list-wrap::-webkit-scrollbar-button:vertical:increment,
.cascader-menu-list::-webkit-scrollbar-button:vertical:decremen,
.area-selectable-list-wrap::-webkit-scrollbar-button:vertical:decremen,
.cascader-menu-list::-webkit-scrollbar-button:vertical:start:increment,
.area-selectable-list-wrap::-webkit-scrollbar-button:vertical:start:increment,
.cascader-menu-list::-webkit-scrollbar-button:vertical:end:decrement,
.area-selectable-list-wrap::-webkit-scrollbar-button:vertical:end:decrement {
display: none;
}
.cascader-menu-list::-webkit-scrollbar-thumb:vertical,
.area-selectable-list-wrap::-webkit-scrollbar-thumb:vertical {
background-color: #b8b8b8;
border-radius: 4px;
}
.cascader-menu-list::-webkit-scrollbar-thumb:vertical:hover,
.area-selectable-list-wrap::-webkit-scrollbar-thumb:vertical:hover {
background-color: #777;
}
================================================
FILE: demo/gh.f9e788c4.js
================================================
webpackJsonp([0],[,,,,,,,,,function(e,t,s){"use strict";function a(e,t){if(!Object.prototype.toString.call(e).includes("Element")||!Object.prototype.toString.call(t).includes("Element"))return!1;for(var s=t;s;){if(s===e)return!0;s=s.parentNode}return!1}function i(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1]}function n(e){return"[object Array]"===Object.prototype.toString.call(e)}function r(e,t){if(!t)return void(e.scrollTop=0);var s=t.offsetTop,a=t.offsetTop+t.offsetHeight,i=e.scrollTop,n=i+e.clientHeight;s<i?e.scrollTop=s:a>n&&(e.scrollTop=a-e.clientHeight)}function l(e,t){var s=t.height,a=t.top,i=document.documentElement.clientHeight,n=a+s,r=i-n;return r<e?a>e?-(e+10):r-e:s}s.d(t,"b",function(){return a}),s.d(t,"a",function(){return i}),s.d(t,"c",function(){return n}),s.d(t,"d",function(){return r}),s.d(t,"e",function(){return l})},,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,s){var a=s(0),i=s(74),n=s(75),r=a(i,n,!1,null,null,null);e.exports=r.exports},function(e,t,s){var a=s(0),i=s(76),n=s(77),r=a(i,n,!1,null,null,null);e.exports=r.exports},function(e,t,s){var a=s(0),i=s(81),n=s(110),r=a(i,n,!1,null,null,null);e.exports=r.exports},function(e,t,s){"use strict";var a={_Vue:null,createEventBus:function(){return new this._Vue},saveVueRef:function(e){this._Vue=e}};t.a=a},function(e,t,s){"use strict";function a(e,t,s){this.$children.forEach(function(i){i.$options.name===e?i.$emit.apply(i,[t].concat(s)):a.apply(i,[e,t].concat([s]))})}t.a={methods:{broadcast:function(e,t,s){a.call(this,e,t,s)}}}},,function(e,t,s){"use strict";function a(e){d.a.saveVueRef(e),h.map(function(t){e.component(t.name,t)})}Object.defineProperty(t,"__esModule",{value:!0});var i=(s(44),s(45)),n=s.n(i),r=s(49),l=(s(52),s(53)),c=s.n(l),o=s(79),u=s.n(o),d=s(40),h=[c.a,u.a],v={install:a,AreaSelect:c.a,AreaCascader:u.a},f=v;"undefined"!=typeof window&&window.Vue&&a(window.Vue);var p=s(112),_=s.n(p);n.a.prototype.$pca=r.pca,n.a.prototype.$pcaa=r.pcaa,n.a.use(f);n.a.config.devtools=!1,n.a.config.productionTip=!1,new n.a({el:"#app",render:function(e){return e(_.a)}})},function(e,t){},,,,,,,,function(e,t){},function(e,t,s){function a(e){s(54)}var i=s(0),n=s(57),r=s(78),l=a,c=i(n,r,!1,l,null,null);e.exports=c.exports},function(e,t,s){var a=s(55);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);s(5)("3bccc8cc",a,!0,{})},function(e,t,s){t=e.exports=s(4)(!1),t.push([e.i,".area-select-wrap .area-select{margin-left:10px}.area-select-wrap .area-select-empty{padding:4px 0;margin:0;text-align:center;color:#999;font-size:14px}",""])},,function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s(24),i=s.n(a),n=s(33),r=s.n(n),l=s(35),c=s.n(l),o=s(36),u=s.n(o),d=s(37),h=s.n(d),v=s(38),f=s.n(v),p=s(9);t.default={name:"area-select",components:{"v-select":h.a,"v-option":f.a},props:{value:{type:Array,required:!0},type:{type:String,default:"code",validator:function(e){return["all","code","text"].indexOf(e)>-1}},placeholders:{type:Array,default:function(){return[]}},level:{type:Number,default:1,validator:function(e){return[0,1,2].indexOf(e)>-1}},size:{type:String,default:"medium",validator:function(e){return["small","medium","large"].indexOf(e)>-1}},disabled:{type:Boolean,default:!1},data:{type:Object,required:!0}},data:function(){if(!this.data||!this.data[86])throw new Error("[vue-area-linkage]: 需要提供地区数据,格式参考见:https://github.com/dwqs/area-data");return{provinces:this.data[86],citys:{},areas:{},curProvince:"",curProvinceCode:"",curCity:"",curCityCode:"",curArea:"",curAreaCode:"",defaults:[],isCode:!1,isSetDefault:!1}},watch:{curProvinceCode:function(e,t){this.curProvince=this.provinces[e],this.provinceChange(e)},curCityCode:function(e,t){this.curCity=this.citys[e],this.cityChange(e)},curAreaCode:function(e,t){this.curArea=this.areas[e],this.areaChange(e)},value:function(e){!this.isSetDefault&&Object(p.c)(e)&&e.length===this.level+1&&(this.beforeSetDefault(),this.setDefaultValue()),!this.isSetDefault&&Object(p.c)(e)&&e.length&&e.length!==this.level+1&&Object(p.a)(!1,"设置的默认值和 level 值不匹配")}},methods:{provinceChange:function(e){var t=this;if(0===this.level)this.selectChange();else if(this.level>=1){if(this.citys=this.data[e],!this.citys)return this.citys=c()({},this.curProvinceCode,this.curProvince),this.curCity=this.curProvince,void(this.curCityCode=this.curCityCode);var s=r()(this.citys)[0],a=i()(this.citys)[0];this.defaults[1]&&(this.isCode?(a=u()(i()(this.citys),function(e){return e===t.defaults[1]}),Object(p.a)(a,"城市 "+this.defaults[1]+" 不存在于省份 "+this.defaults[0]+" 中"),s=this.citys[a]):(s=u()(this.citys,function(e){return e===t.defaults[1]}),Object(p.a)(s,"城市 "+this.defaults[1]+" 不存在于省份 "+this.defaults[0]+" 中"),a=u()(i()(this.citys),function(e){return t.citys[e]===t.defaults[1]}))),this.curCity=s,this.curCityCode=a}},cityChange:function(e){var t=this;if(1===this.level)this.selectChange();else if(2===this.level){if(this.areas=this.data[e],!this.areas)return this.areas=c()({},this.curCityCode,this.curCity),this.curArea=this.curCity,void(this.curAreaCode=this.curCityCode);var s=r()(this.areas)[0],a=i()(this.areas)[0];this.defaults[2]&&(this.isCode?(a=u()(i()(this.areas),function(e){return e===t.defaults[2]}),Object(p.a)(a,"县区 "+this.defaults[2]+" 不存在于城市 "+this.defaults[1]+" 中"),s=this.areas[a]):(s=u()(this.areas,function(e){return e===t.defaults[2]}),Object(p.a)(s,"县区 "+this.defaults[2]+" 不存在于城市 "+this.defaults[1]+" 中"),a=u()(i()(this.areas),function(e){return t.areas[e]===t.defaults[2]}))),this.curArea=s,this.curAreaCode=a}},areaChange:function(e){this.curAreaCode=e,this.selectChange()},getAreaCode:function(){var e=[];switch(this.level){case 0:e=[this.curProvinceCode];break;case 1:e=[this.curProvinceCode,this.curCityCode];break;case 2:e=[this.curProvinceCode,"710000"===this.curProvinceCode?this.curProvinceCode:this.curCityCode,this.curAreaCode]}return e},getAreaText:function(){var e=[];switch(this.level){case 0:e=[this.curProvince];break;case 1:e=[this.curProvince,"710000"===this.curProvinceCode?this.curProvince:this.curCity];break;case 2:e=[this.curProvince,"710000"===this.curProvinceCode?this.curProvince:this.curCity,this.curArea]}return e},getAreaCodeAndText:function(e){var t=[];switch(this.level){case 0:t=[c()({},this.curProvinceCode,this.curProvince)];break;case 1:t=[c()({},this.curProvinceCode,this.curProvince),c()({},this.curCityCode,this.curCity)];break;case 2:var s="710000"===this.curProvinceCode?this.curProvinceCode:this.curCityCode,a="710000"===this.curProvinceCode?this.curProvince:this.curCity;t=[c()({},this.curProvinceCode,this.curProvince),c()({},s,a),c()({},this.curAreaCode,this.curArea)]}return t},beforeSetDefault:function(){var e=/^[\u4E00-\u9FA5\uF900-\uFA2D]{2,}$/,t=/^\d{6,}$/,s=t.test(this.value[0]),a=void 0;a=s?this.value.every(function(e){return t.test(e)}):this.value.every(function(t){return e.test(t)}),Object(p.a)(a,"传入的默认值参数有误"),this.defaults=[].concat(this.value),this.isCode=s,this.isSetDefault=!0},setDefaultValue:function(){var e=this,t="";if(this.isCode)t=this.defaults[0];else{var s=u()(this.provinces,function(t){return t===e.defaults[0]});Object(p.a)(s,"省份 "+this.defaults[0]+" 不存在"),t=u()(i()(this.provinces),function(t){return e.provinces[t]===e.defaults[0]})}this.curProvinceCode=t,this.$nextTick(function(){e.defaults=[]})},selectChange:function(){this.isSetDefault=!0;var e=[];"code"===this.type?e=this.getAreaCode():"text"===this.type?e=this.getAreaText():"all"===this.type&&(e=this.getAreaCodeAndText()),this.$emit("input",e),this.$emit("change",e)}},created:function(){Object(p.c)(this.value)&&this.value.length===this.level+1&&(this.beforeSetDefault(),this.setDefaultValue()),Object(p.c)(this.value)&&this.value.length&&this.value.length!==this.level+1&&Object(p.a)(!1,"设置的默认值和 level 值不匹配")}}},,,,,,,,,,,,,,,,,function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s(9);t.default={provide:function(){return{select:this}},props:{value:{type:[String,Number,Boolean]},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:"请选择"},size:{type:String,default:"medium",validator:function(e){return["small","medium","large"].indexOf(e)>-1}}},data:function(){return{shown:!1,options:[],label:"",val:"",areaRect:null,top:32}},watch:{value:function(e){this.setDef()},options:function(e){this.setDef()}},methods:{setDef:function(){var e=this;if(this.value){var t=this.options.filter(function(t){return t.value===e.value});this.label=t[0]?t[0].label:"",this.val=t[0]?t[0].value:""}else this.label="",this.val=""},handleTriggerClick:function(){this.disabled||(this.shown=!this.shown)},setPosition:function(){var e=parseInt(window.getComputedStyle(this.$refs.wrap,null).getPropertyValue("height"));this.top=Object(a.e)(e,this.areaRect)},handleDocClick:function(e){var t=e.target;!Object(a.b)(this.$el,t)&&this.shown&&(this.shown=!1)},handleDocResize:function(){var e=this;this.areaRect=this.$refs.area.getBoundingClientRect(),this.$nextTick(function(){e.setPosition()})},setSelectedValue:function(e){this.label=e.label,this.val=e.value,this.$emit("input",e.value),this.shown=!1,this.$emit("change",e.value)},scrollToSelectedOption:function(){var e=this;this.setPosition();var t=this.options.filter(function(t){return t.value===e.val});if(t.length){var s=t[0].$el,i=this.$el.querySelector(".area-selectable-list-wrap");Object(a.d)(i,s)}},handleListEnter:function(){var e=this;this.$nextTick(function(){return e.scrollToSelectedOption()})}},mounted:function(){var e=this;this.areaRect=this.$refs.area.getBoundingClientRect(),this.top=this.areaRect.height,window.document.addEventListener("scroll",this.handleDocResize,!1),window.addEventListener("resize",this.handleDocResize,!1),window.document.addEventListener("click",this.handleDocClick,!1),this.$nextTick(function(){e.setDef()})},beforeDestroy:function(){window.document.removeEventListener("scroll",this.handleDocResize,!1),window.removeEventListener("resize",this.handleDocResize,!1),window.document.removeEventListener("click",this.handleDocClick,!1)}}},function(e,t){var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{ref:"area",staticClass:"area-select",class:{medium:"medium"===e.size,small:"small"===e.size,large:"large"===e.size,"is-disabled":e.disabled}},[s("span",{ref:"trigger",staticClass:"area-selected-trigger",on:{click:e.handleTriggerClick}},[e._v(e._s(e.label?e.label:e.placeholder))]),e._v(" "),s("i",{class:["area-select-icon",{active:e.shown}],on:{click:function(t){t.stopPropagation(),e.handleTriggerClick(t)}}}),e._v(" "),s("transition",{attrs:{name:"area-zoom-in-top"},on:{"before-enter":e.handleListEnter}},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.shown,expression:"shown"}],ref:"wrap",staticClass:"area-selectable-list-wrap",style:{top:e.top+"px"}},[s("ul",{staticClass:"area-selectable-list"},[e._t("default")],2)])])],1)},a=[];e.exports={render:s,staticRenderFns:a}},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={inject:["select"],props:{value:{type:[String,Number,Boolean],required:!0},label:[String,Number]},data:function(){return{hover:!1,isSelected:!1}},computed:{curSelected:function(){return this.select.val}},methods:{leaveItem:function(){this.hover=!1},hoverItem:function(){this.hover=!0},selectOptionClick:function(){this.select.setSelectedValue(this)}},created:function(){this.select.options.push(this)}}},function(e,t){var s=function(){var e=this,t=e.$createElement;return(e._self._c||t)("li",{class:["area-select-option",{hover:e.hover,selected:e.curSelected===e.value}],attrs:{value:e.value},on:{click:function(t){t.stopPropagation(),e.selectOptionClick(t)},mouseleave:e.leaveItem,mouseenter:e.hoverItem}},[e._v("\n "+e._s(e.label)+"\n")])},a=[];e.exports={render:s,staticRenderFns:a}},function(e,t){var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"area-select-wrap"},[s("v-select",{attrs:{placeholder:e.placeholders[0]?e.placeholders[0]:"请选择",size:e.size,disabled:e.disabled},model:{value:e.curProvinceCode,callback:function(t){e.curProvinceCode=t},expression:"curProvinceCode"}},e._l(e.provinces,function(e,t){return s("v-option",{key:t,attrs:{label:e,value:t}})})),e._v(" "),e.level>=1?s("v-select",{attrs:{placeholder:e.placeholders[1]?e.placeholders[1]:"请选择",size:e.size,disabled:e.disabled},model:{value:e.curCityCode,callback:function(t){e.curCityCode=t},expression:"curCityCode"}},[Object.keys(e.citys).length?e._l(e.citys,function(e,t){return s("v-option",{key:t,attrs:{label:e,value:t}})}):s("p",{staticClass:"area-select-empty"},[e._v("暂无数据")])],2):e._e(),e._v(" "),e.level>=2?s("v-select",{attrs:{placeholder:e.placeholders[2]?e.placeholders[2]:"请选择",size:e.size,disabled:e.disabled},model:{value:e.curAreaCode,callback:function(t){e.curAreaCode=t},expression:"curAreaCode"}},[Object.keys(e.areas).length?e._l(e.areas,function(e,t){return s("v-option",{key:t,attrs:{label:e,value:t}})}):s("p",{staticClass:"area-select-empty"},[e._v("暂无数据")])],2):e._e()],1)},a=[];e.exports={render:s,staticRenderFns:a}},function(e,t,s){var a=s(0),i=s(80),n=s(111),r=a(i,n,!1,null,null,null);e.exports=r.exports},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s(24),i=s.n(a),n=s(33),r=s.n(n),l=s(35),c=s.n(l),o=s(36),u=s.n(o),d=s(39),h=s.n(d),v=s(9);t.default={name:"area-cascader",components:{"v-cascader":h.a},props:{value:{required:!0},placeholder:{type:String,default:"请选择"},type:{type:String,default:"code",validator:function(e){return["all","code","text"].indexOf(e)>-1}},level:{type:Number,default:0,validator:function(e){return[0,1].indexOf(e)>-1}},size:{type:String,default:"large",validator:function(e){return["small","medium","large"].indexOf(e)>-1}},separator:{type:String,default:"/"},disabled:{type:Boolean,default:!1},data:{type:Object,required:!0}},data:function(){if(!this.data||!this.data[86])throw new Error("[vue-area-linkage]: 需要提供地区数据:https://github.com/dwqs/area-data");return{provinces:this.data[86],citys:{},areas:{},options:[],curProvince:"",curProvinceCode:"",curCity:"",curCityCode:"",curArea:"",curAreaCode:"",defaultsAreaCodes:[],defaults:[],isCode:!1,isSetDefault:!1}},watch:{value:function(e){!this.isSetDefault&&Object(v.c)(e)&&e.length===this.level+2&&(this.beforeSetDefault(),this.setDefaultValue()),!this.isSetDefault&&Object(v.c)(e)&&e.length&&e.length!==this.level+2&&Object(v.a)(!1,"设置的默认值和 level 值不匹配")},curProvinceCode:function(e){var t=this;if(this.curProvince=this.provinces[e],this.citys=this.data[e],!this.citys)return this.citys=c()({},this.curProvinceCode,this.curProvince),this.curCity=this.curProvince,void(this.curCityCode=this.curCityCode);var s=r()(this.citys)[0],a=i()(this.citys)[0];this.defaults[1]&&(this.isCode?(a=u()(i()(this.citys),function(e){return e===t.defaults[1]}),Object(v.a)(a,"城市 "+this.defaults[1]+" 不存在于省份 "+this.defaults[0]+" 中"),s=this.citys[a]):(s=u()(this.citys,function(e){return e===t.defaults[1]}),Object(v.a)(s,"城市 "+this.defaults[1]+" 不存在于省份 "+this.defaults[0]+" 中"),a=u()(i()(this.citys),function(e){return t.citys[e]===t.defaults[1]}))),this.curCity=s,this.curCityCode=a},curCityCode:function(e){var t=this;if(this.curCity=this.citys[e],0===this.level)this.setDefaultsCodes();else if(1===this.level){if(this.areas=this.data[e],!this.areas)return this.areas=c()({},this.curCityCode,this.curCity),this.curArea=this.curCity,void(this.curAreaCode=this.curCityCode);var s=r()(this.areas)[0],a=i()(this.areas)[0];this.defaults[2]&&(this.isCode?(a=u()(i()(this.areas),function(e){return e===t.defaults[2]}),Object(v.a)(a,"县区 "+this.defaults[2]+" 不存在于城市 "+this.defaults[1]+" 中"),s=this.areas[a]):(s=u()(this.areas,function(e){return e===t.defaults[2]}),Object(v.a)(s,"县区 "+this.defaults[2]+" 不存在于城市 "+this.defaults[1]+" 中"),a=u()(i()(this.areas),function(e){return t.areas[e]===t.defaults[2]}))),this.curArea=s,this.curAreaCode=a}},curAreaCode:function(e){this.curArea=this.areas[e],this.curAreaCode=e,this.setDefaultsCodes()}},methods:{beforeSetDefault:function(){var e=/^[\u4E00-\u9FA5\uF900-\uFA2D]{2,}$/,t=/^\d{6,}$/,s=t.test(this.value[0]),a=void 0;a=s?this.value.every(function(e){return t.test(e)}):this.value.every(function(t){return e.test(t)}),Object(v.a)(a,"传入的默认值参数有误"),this.defaults=[].concat(this.value),this.isCode=s},setDefaultValue:function(){var e=this,t="";if(this.isCode)t=this.defaults[0];else{var s=u()(this.provinces,function(t){return t===e.defaults[0]});Object(v.a)(s,"省份 "+this.defaults[0]+" 不存在"),t=u()(i()(this.provinces),function(t){return e.provinces[t]===e.defaults[0]})}this.curProvinceCode=t,this.$nextTick(function(){e.defaults=[]})},handleChange:function(e,t){var s=[];this.isSetDefault,this.isSetDefault=!0,t[0]===t[1]&&(e[1]=e[0]),"code"===this.type?s=[].concat(e):"text"===this.type?s=[].concat(t):"all"===this.type&&(s=e.map(function(e,s){return c()({},e,t[s])})),this.$emit("input",s),this.$emit("change",s)},iterate:function(e,t){var s=[];for(var a in e)s.push({label:e[a],value:a,panelIndex:t});return s},iterateCities:function(){for(var e=[],t=this.iterate(this.data[86],0),s=0,a=t.length;s<a;s++){var i={};i.label=t[s].label,i.value=t[s].value,i.panelIndex=t[s].panelIndex,i.children=this.iterate(this.data[t[s].value],1),e.push(i)}return e},iterateAreas:function(){for(var e=[],t=this.iterateCities(),s=0,a=t.length;s<a;s++){for(var i=t[s],n=0,r=i.children.length;n<r;n++){var l=i.children[n],c=this.iterate(this.data[i.children[n].value],2);c.length?l.children=c:l.children=[{label:l.label,value:l.value,panelIndex:2}]}e.push(i)}return e},setDefaultsCodes:function(){if(!this.isSetDefault){this.isSetDefault=!0;var e=[];switch(this.level){case 0:e=[this.curProvinceCode,this.curCityCode];break;case 1:e=[this.curProvinceCode,this.curCityCode,this.curAreaCode]}this.defaultsAreaCodes=[].concat(e)}}},created:function(){0===this.level?this.options=this.iterateCities():1===this.level?this.options=this.iterateAreas():Object(v.a)(!1,"设置的 level 值只支持 0/1"),Object(v.c)(this.value)&&this.value.length===this.level+2&&(this.beforeSetDefault(),this.setDefaultValue()),Object(v.c)(this.value)&&this.value.length&&this.value.length!==this.level+2&&Object(v.a)(!1,"设置的默认值和 level 值不匹配")}}},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s(40),i=s(9),n=s(41),r=s(82),l=s.n(r);t.default={provide:function(){return{cascader:this}},mixins:[n.a],props:{options:{type:Array,required:!0},data:{type:Object,required:!0},defaultsAreaCodes:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},placeholder:{type:String,default:"请选择"},size:{type:String,default:"medium",validator:function(e){return["small","medium","large"].indexOf(e)>-1}},separator:{type:String,default:"/"}},components:{caspanel:l.a},data:function(){return{areaRect:null,top:32,shown:!1,eventBus:null,activeValues:[],values:[],labels:[],label:"",isClickOutSide:!1}},watch:{defaultsAreaCodes:function(e){e.length&&this.initValue()}},methods:{initValue:function(){this.broadcast("Caspanel","update-selected",{value:this.defaultsAreaCodes}),this.values=[].concat(this.defaultsAreaCodes)},getActiveLabels:function(e){var t=this.data[86],s=this.data[e[0]],a=e.length;if(a<2)return[];var i=[];if(2===a)i=[t[e[0]],s[e[1]]];else if(3===a){var n=this.data[e[1]];i=[t[e[0]],s[e[1]],n?n[e[2]]:s[e[2]]]}return i},resetActiveVal:function(){this.activeValues=[].concat(this.values),this.labels=this.getActiveLabels(this.values),!this.shown&&this.values.length&&this.broadcast("Caspanel","update-selected",{value:this.values})},handleTriggerClick:function(){if(!this.disabled){this.$emit("set-default");var e=this.shown;this.shown=!this.shown,e?(this.isClickOutSide=!0,this.resetActiveVal()):this.isClickOutSide=!1}},setPosition:function(){var e=parseInt(window.getComputedStyle(this.$refs.wrap,null).getPropertyValue("height"));this.top=Object(i.e)(e,this.areaRect)},handleDocClick:function(e){var t=e.target;!Object(i.b)(this.$el,t)&&this.shown&&(this.shown=!1,this.isClickOutSide=!0,this.resetActiveVal())},handleDocResize:function(){var e=this;this.areaRect=this.$refs.area.getBoundingClientRect(),this.$nextTick(function(){e.setPosition()})},handleMenuItemClick:function(e,t){var s=e.label,a=e.value,i=(e.children,e.panelIndex),n=this.activeValues,r=this.labels;n=n.slice(0,i+1),n[i]=a,r=r.slice(0,i+1),r[i]=s,this.activeValues=[].concat(n),this.labels=[].concat(r)},handleSelectedChange:function(){this.shown=!1,this.values=[].concat(this.activeValues),this.label=this.labels.join(this.separator),this.isClickOutSide||this.$emit("change",this.values,this.labels)},handleListEnter:function(){var e=this;this.$nextTick(function(){e.setPosition(),e.eventBus.$emit("set-scroll-top")})}},created:function(){if(!a.a._Vue)throw new Error("[area-cascader]: Must be call Vue.use(VueAreaLinkage) before used");this.eventBus=a.a.createEventBus(),this.eventBus.$on("selected",this.handleSelectedChange)},mounted:function(){this.areaRect=this.$refs.area.getBoundingClientRect(),this.top=this.areaRect.height,window.document.addEventListener("scroll",this.handleDocResize,!1),window.addEventListener("resize",this.handleDocResize,!1),window.document.addEventListener("click",this.handleDocClick,!1),this.defaultsAreaCodes&&this.defaultsAreaCodes.length&&this.initValue()},beforeDestroy:function(){window.document.removeEventListener("scroll",this.handleDocResize,!1),window.removeEventListener("resize",this.handleDocResize,!1),window.document.removeEventListener("click",this.handleDocClick,!1)}}},function(e,t,s){var a=s(0),i=s(83),n=s(109),r=a(i,n,!1,null,null,null);e.exports=r.exports},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s(84),i=s.n(a),n=s(104),r=s.n(n),l=s(9),c=s(41),o=0;t.default={name:"Caspanel",inject:["cascader"],mixins:[c.a],props:{data:{type:Array,default:function(){return[]}}},data:function(){return{sublist:[],val:"",list:null}},watch:{data:function(){this.sublist=[]}},methods:{getUniqueKey:function(){return o++},getBaseItem:function(e){var t=r()({},e);return t.children&&delete t.children,t},handleClickItem:function(e){this.cascader.handleMenuItemClick(e),e.children?this.sublist=[].concat(e.children):(this.sublist=[],this.cascader.eventBus.$emit("selected"))},triggerItem:function(e,t){this.getBaseItem(e);this.cascader.handleMenuItemClick(e),e.children?this.sublist=[].concat(e.children):(this.sublist=[],this.cascader.eventBus.$emit("selected"))},initCaspanel:function(e){for(var t=this,s=e.value,a=[].concat(i()(s)),n=0;n<a.length;n++)for(var r=0;r<this.data.length;r++)if(a[n]===this.data[r].value){this.triggerItem(this.data[r],e.from),this.val=a[n],a.splice(0,1),this.$nextTick(function(){t.broadcast("Caspanel","update-selected",{value:a})});break}},scrollToSelectedOption:function(){var e=this;if(this.list||(this.list=this.$refs.list),this.data.filter(function(t){return t.value===e.val}).length){var t=this.list.querySelector(".selected");Object(l.d)(this.list,t)}}},mounted:function(){this.list=this.$refs.list,this.$on("update-selected",this.initCaspanel),this.cascader.eventBus.$on("set-scroll-top",this.scrollToSelectedOption)}}},,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t){var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("span",[s("ul",{ref:"list",staticClass:"cascader-menu-list"},e._l(e.data,function(t,a){return s("li",{key:e.getUniqueKey(a),class:{"cascader-menu-option":!0,"cascader-menu-extensible":t.children,selected:e.cascader.activeValues.includes(t.value)},on:{click:function(s){s.stopPropagation(),e.handleClickItem(t)}}},[e._v("\n "+e._s(t.label)+"\n ")])})),e._v(" "),e.sublist&&e.sublist.length?s("caspanel",{attrs:{data:e.sublist}}):e._e()],1)},a=[];e.exports={render:s,staticRenderFns:a}},function(e,t){var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{ref:"area",staticClass:"area-select",class:{medium:"medium"===e.size,small:"small"===e.size,large:"large"===e.size,"is-disabled":e.disabled}},[s("span",{ref:"trigger",staticClass:"area-selected-trigger",on:{click:function(t){t.stopPropagation(),e.handleTriggerClick(t)}}},[e._v(e._s(e.label?e.label:e.placeholder))]),e._v(" "),s("i",{class:["area-select-icon",{active:e.shown}],on:{click:function(t){t.stopPropagation(),e.handleTriggerClick(t)}}}),e._v(" "),s("transition",{attrs:{name:"area-zoom-in-top"},on:{"before-enter":e.handleListEnter}},[s("div",{directives:[{name:"show",rawName:"v-show",value:e.shown,expression:"shown"}],ref:"wrap",staticClass:"cascader-menu-list-wrap",style:{top:e.top+"px"}},[s("caspanel",{attrs:{data:e.options}})],1)])],1)},a=[];e.exports={render:s,staticRenderFns:a}},function(e,t){var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"area-cascader-wrap"},[s("v-cascader",{attrs:{placeholder:e.placeholder,options:e.options,defaultsAreaCodes:e.defaultsAreaCodes,size:e.size,disabled:e.disabled,separator:e.separator,data:e.data},on:{setDefault:function(t){e.isSetDefault=!0},change:e.handleChange}})],1)},a=[];e.exports={render:s,staticRenderFns:a}},function(e,t,s){function a(e){s(113)}var i=s(0),n=s(115),r=s(176),l=a,c=i(n,r,!1,l,null,null);e.exports=c.exports},function(e,t,s){var a=s(114);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);s(5)("0b3a6314",a,!0,{})},function(e,t,s){t=e.exports=s(4)(!1),t.push([e.i,".app-wrap{width:960px;height:200px;margin:0 auto}.test{margin-top:100px}",""])},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s(37),i=s.n(a),n=s(38),r=s.n(n),l=s(39),c=s.n(l),o=s(116),u=s.n(o),d=s(120),h=s.n(d),v=s(168),f=s.n(v),p=s(172),_=s.n(p);t.default={data:function(){return{selected:[],t:["1","3","7"],list:[{value:1,label:"text1"},{value:2,label:"text2"}],options:[{value:"21111",label:"222"},{value:"1",label:"1",children:[{value:"2",label:"2"},{value:"3",label:"3",children:[{value:"6",label:"6"},{value:"7",label:"7"},{value:"8",label:"8"},{value:"9",label:"9"},{value:"10",label:"10"},{value:"11",label:"11"},{value:"12",label:"12"}]},{value:"22",label:"22"},{value:"23",label:"23"},{value:"24",label:"24"},{value:"25",label:"25"},{value:"26",label:"26"},{value:"27",label:"27"},{value:"21",label:"21",children:[{value:"28",label:"28"}]}]},{value:"4",label:"4",children:[{value:"5",label:"5"}]}]}},watch:{selected:function(e){}},methods:{selectChange:function(e){}},mounted:function(){setTimeout(function(){},2e3)},components:{"v-header":u.a,"v-footer":_.a,"v-main":h.a,"v-start":f.a,"test-select":i.a,"test-option":r.a,Cascader:c.a}}},function(e,t,s){function a(e){s(117)}var i=s(0),n=s(119),r=a,l=i(null,n,!1,r,null,null);e.exports=l.exports},function(e,t,s){var a=s(118);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);s(5)("12d6682e",a,!0,{})},function(e,t,s){t=e.exports=s(4)(!1),t.push([e.i,"header{text-align:center;margin-top:100px}h2{font-size:27px;font-weight:400}header p{margin-top:20px;margin-bottom:20px;font-size:16px}header>a{position:fixed;right:0;top:0}header p a{color:#008efd}",""])},function(e,t){var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("header",[s("a",{staticClass:"github-corner",attrs:{href:"https://github.com/dwqs/vue-area-linkage","aria-label":"View source on Github"}},[s("svg",{staticStyle:{fill:"#ABD3B4",color:"#fff",position:"absolute",top:"0",border:"0",right:"0"},attrs:{width:"80",height:"80",viewBox:"0 0 250 250","aria-hidden":"true"}},[s("path",{attrs:{d:"M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"}}),s("path",{staticClass:"octo-arm",staticStyle:{"transform-origin":"130px 106px"},attrs:{d:"M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2",fill:"currentColor"}}),s("path",{staticClass:"octo-body",attrs:{d:"M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z",fill:"currentColor"}})])]),e._v(" "),s("h2",[e._v("Vue Area Linkage: 中国行政区联动选择器")]),e._v(" "),s("p",[e._v("\n 省、市、区联动选择\n ")])])},a=[];e.exports={render:s,staticRenderFns:a}},function(e,t,s){var a=s(0),i=s(121),n=s(167),r=a(i,n,!1,null,null,null);e.exports=r.exports},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s(122),i=(s.n(a),s(123)),n=s.n(i),r=s(126),l=s.n(r),c=s(131),o=s.n(c),u=s(134),d=s.n(u),h=s(137),v=s.n(h),f=s(140),p=s.n(f),_=s(143),C=s.n(_),m=s(146),g=s.n(m),b=s(149),w=s.n(b),y=s(152),x=s.n(y),k=s(155),$=s.n(k),P=s(158),O=s.n(P),S=s(161),A=s.n(S),j=s(164),E=s.n(j);t.default={data:function(){return{selected:[],shown:!1}},methods:{toggle:function(){this.shown=!this.shown}},components:{Basic:n.a,Returns:o.a,Province:d.a,"v-area":v.a,AreaCode:p.a,Placeholders:C.a,DefaultValue:g.a,CasBasic:w.a,CasReturns:x.a,CasAreaCode:$.a,CasPlaceholder:O.a,CasArea:E.a,Size:l.a,CasDefaultVal:A.a}}},function(e,t){},function(e,t,s){var a=s(0),i=s(124),n=s(125),r=a(i,n,!1,null,null,null);e.exports=r.exports},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{selected:[],shown:!1}},methods:{toggle:function(){this.shown=!this.shown}}}},function(e,t){var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"code-area"},[s("div",{staticClass:"area-left"},[s("area-select",{attrs:{data:e.$pca},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}})],1),e._v(" "),s("div",{staticClass:"area-right"},[s("pre",[s("code",[e._v(e._s(e.selected))])])]),e._v(" "),e.shown?s("div",{ref:"original",staticClass:"original-code"},[e._m(0)]):e._e(),e._v(" "),s("div",{staticClass:"show-code",on:{click:e.toggle}},[e._v("\n "+e._s(this.shown?"Hide Code":"Show Code")+"\n ")])])},a=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("pre",[s("code",[s("span",[e._v("//返回值是一个数组,分别是省市的行政区域代码")]),s("br"),s("span",[e._v("<")]),e._v("template"),s("span",[e._v(">")]),s("br"),e._v(" "),s("span",[e._v("<")]),e._v("area-select v-model='selected'></area-select>"),s("br"),e._v("<"),e._v("/template"),s("span",[e._v(">")])])])}];e.exports={render:s,staticRenderFns:a}},function(e,t,s){function a(e){s(127)}var i=s(0),n=s(129),r=s(130),l=a,c=i(n,r,!1,l,"data-v-4b1e58a8",null);e.exports=c.exports},function(e,t,s){var a=s(128);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);s(5)("06ae20ea",a,!0,{})},function(e,t,s){t=e.exports=s(4)(!1),t.push([e.i,"",""])},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{selected:[],shown:!1}},methods:{toggle:function(){this.shown=!this.shown}}}},function(e,t){var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"code-area size-example"},[s("div",{staticClass:"area-left"},[s("area-select",{attrs:{size:"large",data:e.$pca},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}})],1),e._v(" "),s("div",{staticClass:"area-right"},[s("pre",[s("code",[e._v(e._s(e.selected))])])]),e._v(" "),e.shown?s("div",{ref:"original",staticClass:"original-code"},[e._m(0)]):e._e(),e._v(" "),s("div",{staticClass:"show-code",on:{click:e.toggle}},[e._v("\n "+e._s(this.shown?"Hide Code":"Show Code")+"\n ")])])},a=[function(){var e=this,t=e.$createElement,s=e._self._c||t
;return s("pre",[s("code",[s("span",[e._v("//size:['small','medium','large'], 默认值是 medium")]),s("br"),s("span",[e._v("<")]),e._v("template"),s("span",[e._v(">")]),s("br"),e._v(" "),s("span",[e._v("<")]),e._v("area-select v-model='selected' size=\"large\"></area-select>"),s("br"),e._v("<"),e._v("/template"),s("span",[e._v(">")])])])}];e.exports={render:s,staticRenderFns:a}},function(e,t,s){var a=s(0),i=s(132),n=s(133),r=a(i,n,!1,null,null,null);e.exports=r.exports},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{selected:[],shown:!1}},methods:{toggle:function(){this.shown=!this.shown}}}},function(e,t){var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"code-area"},[s("div",{staticClass:"area-left"},[s("area-select",{attrs:{type:"text",data:e.$pca},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}})],1),e._v(" "),s("div",{staticClass:"area-right"},[s("pre",[s("code",[e._v(e._s(e.selected))])])]),e._v(" "),e.shown?s("div",{ref:"original",staticClass:"original-code"},[e._m(0)]):e._e(),e._v(" "),s("div",{staticClass:"show-code",on:{click:e.toggle}},[e._v("\n "+e._s(this.shown?"Hide Code":"Show Code")+"\n ")])])},a=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("pre",[s("code",[s("span",[e._v("//返回值是一个数组,分别是省市的行政区域文本")]),s("br"),s("span",[e._v("<")]),e._v("template"),s("span",[e._v(">")]),s("br"),e._v(" "),s("span",[e._v("<")]),e._v("area-select type='text' v-model='selected'></area-select>"),s("br"),e._v("<"),e._v("/template"),s("span",[e._v(">")])])])}];e.exports={render:s,staticRenderFns:a}},function(e,t,s){var a=s(0),i=s(135),n=s(136),r=a(i,n,!1,null,null,null);e.exports=r.exports},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{selected:[],shown:!1}},methods:{toggle:function(){this.shown=!this.shown}}}},function(e,t){var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"code-area"},[s("div",{staticClass:"area-left"},[s("area-select",{attrs:{level:0,data:e.$pca},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}})],1),e._v(" "),s("div",{staticClass:"area-right"},[s("pre",[s("code",[e._v(e._s(e.selected))])])]),e._v(" "),e.shown?s("div",{ref:"original",staticClass:"original-code"},[e._m(0)]):e._e(),e._v(" "),s("div",{staticClass:"show-code",on:{click:e.toggle}},[e._v("\n "+e._s(this.shown?"Hide Code":"Show Code")+"\n ")])])},a=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("pre",[s("code",[s("span",[e._v("//返回值是一个数组,分别是省份行政区域代码")]),s("br"),s("span",[e._v("<")]),e._v("template"),s("span",[e._v(">")]),s("br"),e._v(" "),s("span",[e._v("<")]),e._v("area-select :level='0' v-model='selected'></area-select>"),s("br"),e._v("<"),e._v("/template"),s("span",[e._v(">")])])])}];e.exports={render:s,staticRenderFns:a}},function(e,t,s){var a=s(0),i=s(138),n=s(139),r=a(i,n,!1,null,null,null);e.exports=r.exports},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{selected:[],shown:!1}},methods:{toggle:function(){this.shown=!this.shown}}}},function(e,t){var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"code-area"},[s("div",{staticClass:"area-left"},[s("area-select",{attrs:{level:2,data:e.$pcaa},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}})],1),e._v(" "),s("div",{staticClass:"area-right"},[s("pre",[s("code",[e._v(e._s(e.selected))])])]),e._v(" "),e.shown?s("div",{ref:"original",staticClass:"original-code"},[e._m(0)]):e._e(),e._v(" "),s("div",{staticClass:"show-code",on:{click:e.toggle}},[e._v("\n "+e._s(this.shown?"Hide Code":"Show Code")+"\n ")])])},a=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("pre",[s("code",[s("span",[e._v("//返回值是一个数组,分别是省份行政区域文本")]),s("br"),s("span",[e._v("<")]),e._v("template"),s("span",[e._v(">")]),s("br"),e._v(" "),s("span",[e._v("<")]),e._v("area-select :level='2' type='text' v-model='selected'></area-select>"),s("br"),e._v("<"),e._v("/template"),s("span",[e._v(">")])])])}];e.exports={render:s,staticRenderFns:a}},function(e,t,s){var a=s(0),i=s(141),n=s(142),r=a(i,n,!1,null,null,null);e.exports=r.exports},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{selected:[],shown:!1}},methods:{toggle:function(){this.shown=!this.shown}}}},function(e,t){var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"code-area"},[s("div",{staticClass:"area-left"},[s("area-select",{attrs:{type:"all",data:e.$pca},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}})],1),e._v(" "),s("div",{staticClass:"area-right"},[s("pre",[s("code",[e._v(e._s(e.selected))])])]),e._v(" "),e.shown?s("div",{ref:"original",staticClass:"original-code"},[e._m(0)]):e._e(),e._v(" "),s("div",{staticClass:"show-code",on:{click:e.toggle}},[e._v("\n "+e._s(this.shown?"Hide Code":"Show Code")+"\n ")])])},a=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("pre",[s("code",[s("span",[e._v("//返回值是一个数组,数组项是包含省市的行政区域代码和文本的对象")]),s("br"),s("span",[e._v("<")]),e._v("template"),s("span",[e._v(">")]),s("br"),e._v(" "),s("span",[e._v("<")]),e._v("area-select type='all' v-model='selected'></area-select>"),s("br"),e._v("<"),e._v("/template"),s("span",[e._v(">")])])])}];e.exports={render:s,staticRenderFns:a}},function(e,t,s){var a=s(0),i=s(144),n=s(145),r=a(i,n,!1,null,null,null);e.exports=r.exports},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{selected:[],shown:!1}},methods:{toggle:function(){this.shown=!this.shown}}}},function(e,t){var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"code-area"},[s("div",{staticClass:"area-left"},[s("area-select",{attrs:{placeholders:["选择省","选择市"],data:e.$pca},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}})],1),e._v(" "),s("div",{staticClass:"area-right"},[s("pre",[s("code",[e._v(e._s(e.selected))])])]),e._v(" "),e.shown?s("div",{ref:"original",staticClass:"original-code"},[e._m(0)]):e._e(),e._v(" "),s("div",{staticClass:"show-code",on:{click:e.toggle}},[e._v("\n "+e._s(this.shown?"Hide Code":"Show Code")+"\n ")])])},a=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("pre",[s("code",[s("span",[e._v("//设置 placeholders,其值应该和关联层次对应")]),s("br"),s("span",[e._v("<")]),e._v("template"),s("span",[e._v(">")]),s("br"),e._v(" "),s("span",[e._v("<")]),e._v("area-select :placeholders=['选择省', '选择市'] v-model='selected'></area-select>"),s("br"),e._v("<"),e._v("/template"),s("span",[e._v(">")])])])}];e.exports={render:s,staticRenderFns:a}},function(e,t,s){var a=s(0),i=s(147),n=s(148),r=a(i,n,!1,null,null,null);e.exports=r.exports},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{selected:["440000","440300","440305"],shown:!1}},methods:{toggle:function(){this.shown=!this.shown}}}},function(e,t){var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"code-area"},[s("div",{staticClass:"area-left"},[s("area-select",{attrs:{level:2,data:e.$pcaa},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}})],1),e._v(" "),s("div",{staticClass:"area-right"},[s("pre",[s("code",[e._v(e._s(e.selected))])])]),e._v(" "),e.shown?s("div",{ref:"original",staticClass:"original-code"},[e._m(0)]):e._e(),e._v(" "),s("div",{staticClass:"show-code",on:{click:e.toggle}},[e._v("\n "+e._s(this.shown?"Hide Code":"Show Code")+"\n ")])])},a=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("pre",[s("code",[s("span",[e._v("//绑定默认值selected=['440000','440300','440305'],代码对应的区域文本是['广东省', '深圳市', '南山区']")]),s("br"),s("span",[e._v("<")]),e._v("template"),s("span",[e._v(">")]),s("br"),e._v(" "),s("span",[e._v("<")]),e._v("area-select :level=\"2\" v-model='selected'></area-select>"),s("br"),e._v("<"),e._v("/template"),s("span",[e._v(">")])])])}];e.exports={render:s,staticRenderFns:a}},function(e,t,s){var a=s(0),i=s(150),n=s(151),r=a(i,n,!1,null,null,null);e.exports=r.exports},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{selected:[],shown:!1}},methods:{toggle:function(){this.shown=!this.shown}}}},function(e,t){var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"code-area"},[s("div",{staticClass:"area-left"},[s("area-cascader",{attrs:{data:e.$pca},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}})],1),e._v(" "),s("div",{staticClass:"area-right"},[s("pre",[s("code",[e._v(e._s(e.selected))])])]),e._v(" "),e.shown?s("div",{ref:"original",staticClass:"original-code"},[e._m(0)]):e._e(),e._v(" "),s("div",{staticClass:"show-code",on:{click:e.toggle}},[e._v("\n "+e._s(this.shown?"Hide Code":"Show Code")+"\n ")])])},a=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("pre",[s("code",[s("span",[e._v("//返回值是一个数组,分别是省市的行政区域代码")]),s("br"),s("span",[e._v("<")]),e._v("template"),s("span",[e._v(">")]),s("br"),e._v(" "),s("span",[e._v("<")]),e._v("area-cascader v-model='selected'></area-cascader>"),s("br"),e._v("<"),e._v("/template"),s("span",[e._v(">")])])])}];e.exports={render:s,staticRenderFns:a}},function(e,t,s){var a=s(0),i=s(153),n=s(154),r=a(i,n,!1,null,null,null);e.exports=r.exports},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{selected:[],shown:!1}},methods:{toggle:function(){this.shown=!this.shown}}}},function(e,t){var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"code-area"},[s("div",{staticClass:"area-left"},[s("area-cascader",{attrs:{type:"text",data:e.$pca},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}})],1),e._v(" "),s("div",{staticClass:"area-right"},[s("pre",[s("code",[e._v(e._s(e.selected))])])]),e._v(" "),e.shown?s("div",{ref:"original",staticClass:"original-code"},[e._m(0)]):e._e(),e._v(" "),s("div",{staticClass:"show-code",on:{click:e.toggle}},[e._v("\n "+e._s(this.shown?"Hide Code":"Show Code")+"\n ")])])},a=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("pre",[s("code",[s("span",[e._v("//返回值是一个数组,分别是省市的行政区域文本")]),s("br"),s("span",[e._v("<")]),e._v("template"),s("span",[e._v(">")]),s("br"),e._v(" "),s("span",[e._v("<")]),e._v("area-cascader type='text' v-model='selected'></area-cascader>"),s("br"),e._v("<"),e._v("/template"),s("span",[e._v(">")])])])}];e.exports={render:s,staticRenderFns:a}},function(e,t,s){var a=s(0),i=s(156),n=s(157),r=a(i,n,!1,null,null,null);e.exports=r.exports},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{selected:[],shown:!1}},methods:{toggle:function(){this.shown=!this.shown}}}},function(e,t){var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"code-area"},[s("div",{staticClass:"area-left"},[s("area-cascader",{attrs:{type:"all",data:e.$pca},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}})],1),e._v(" "),s("div",{staticClass:"area-right"},[s("pre",[s("code",[e._v(e._s(e.selected))])])]),e._v(" "),e.shown?s("div",{ref:"original",staticClass:"original-code"},[e._m(0)]):e._e(),e._v(" "),s("div",{staticClass:"show-code",on:{click:e.toggle}},[e._v("\n "+e._s(this.shown?"Hide Code":"Show Code")+"\n ")])])},a=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("pre",[s("code",[s("span",[e._v("//返回值是一个数组,数组项是包含行政区域代码和文本的对象")]),s("br"),s("span",[e._v("<")]),e._v("template"),s("span",[e._v(">")]),s("br"),e._v(" "),s("span",[e._v("<")]),e._v("area-cascader type='all' v-model='selected'></area-cascader>"),s("br"),e._v("<"),e._v("/template"),s("span",[e._v(">")])])])}];e.exports={render:s,staticRenderFns:a}},function(e,t,s){var a=s(0),i=s(159),n=s(160),r=a(i,n,!1,null,null,null);e.exports=r.exports},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{selected:[],shown:!1}},methods:{toggle:function(){this.shown=!this.shown}}}},function(e,t){var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"code-area"},[s("div",{staticClass:"area-left"},[s("area-cascader",{attrs:{placeholder:"请选择地区",data:e.$pca},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}})],1),e._v(" "),s("div",{staticClass:"area-right"},[s("pre",[s("code",[e._v(e._s(e.selected))])])]),e._v(" "),e.shown?s("div",{ref:"original",staticClass:"original-code"},[e._m(0)]):e._e(),e._v(" "),s("div",{staticClass:"show-code",on:{click:e.toggle}},[e._v("\n "+e._s(this.shown?"Hide Code":"Show Code")+"\n ")])])},a=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("pre",[s("code",[s("span",[e._v("//返回值是一个数组,分别是省市的行政区域代码")]),s("br"),s("span",[e._v("<")]),e._v("template"),s("span",[e._v(">")]),s("br"),e._v(" "),s("span",[e._v("<")]),e._v("area-cascader placeholder=\"请选择地区\" v-model='selected'></area-cascader>"),s("br"),e._v("<"),e._v("/template"),s("span",[e._v(">")])])])}];e.exports={render:s,staticRenderFns:a}},function(e,t,s){var a=s(0),i=s(162),n=s(163),r=a(i,n,!1,null,null,null);e.exports=r.exports},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{selected:["440000","440300","440305"],shown:!1}},methods:{toggle:function(){this.shown=!this.shown}}}},function(e,t){var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"code-area"},[s("div",{staticClass:"area-left"},[s("area-cascader",{attrs:{level:1,data:e.$pcaa},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}})],1),e._v(" "),s("div",{staticClass:"area-right"},[s("pre",[s("code",[e._v(e._s(e.selected))])])]),e._v(" "),e.shown?s("div",{ref:"original",staticClass:"original-code"},[e._m(0)]):e._e(),e._v(" "),s("div",{staticClass:"show-code",on:{click:e.toggle}},[e._v("\n "+e._s(this.shown?"Hide Code":"Show Code")+"\n ")])])},a=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("pre",[s("code",[s("span",[e._v("//绑定默认值selected=['440000','440300','440305'],代码对应的区域文本是['广东省', '深圳市', '南山区']")]),s("br"),s("span",[e._v("<")]),e._v("template"),s("span",[e._v(">")]),s("br"),e._v(" "),s("span",[e._v("<")]),e._v("area-cascader :level=\"1\" v-model='selected'></area-cascader>"),s("br"),e._v("<"),e._v("/template"),s("span",[e._v(">")])])])}];e.exports={render:s,staticRenderFns:a}},function(e,t,s){var a=s(0),i=s(165),n=s(166),r=a(i,n,!1,null,null,null);e.exports=r.exports},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={data:function(){return{selected:[],shown:!1}},methods:{toggle:function(){this.shown=!this.shown}}}},function(e,t){var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"code-area"},[s("div",{staticClass:"area-left"},[s("area-cascader",{attrs:{level:1,type:"text",placeholder:"请选择地区",data:e.$pcaa},model:{value:e.selected,callback:function(t){e.selected=t},expression:"selected"}})],1),e._v(" "),s("div",{staticClass:"area-right"},[s("pre",[s("code",[e._v(e._s(e.selected))])])]),e._v(" "),e.shown?s("div",{ref:"original",staticClass:"original-code"},[e._m(0)]):e._e(),e._v(" "),s("div",{staticClass:"show-code",on:{click:e.toggle}},[e._v("\n "+e._s(this.shown?"Hide Code":"Show Code")+"\n ")])])},a=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("pre",[s("code",[s("span",[e._v("//返回值是一个数组,数组项是行政区域文本")]),s("br"),s("span",[e._v("<")]),e._v("template"),s("span",[e._v(">")]),s("br"),e._v(" "),s("span",[e._v("<")]),e._v('area-cascader :level="1" type="text" placeholder="请选择地区" v-model=\'selected\'></area-cascader>'),s("br"),e._v("<"),e._v("/template"),s("span",[e._v(">")])])])}];e.exports={render:s,staticRenderFns:a}},function(e,t){var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"app-main"},[s("h3",[e._v("基本使用")]),e._v(" "),s("h4",[e._v("1. 作为选择器")]),e._v(" "),s("h5",[e._v("默认形式")]),e._v(" "),s("basic"),e._v(" "),s("h5",[e._v("改变大小")]),e._v(" "),s("size"),e._v(" "),s("h5",[e._v("返回区域文本")]),e._v(" "),s("returns"),e._v(" "),s("h5",[e._v("返回区域代码和文本")]),e._v(" "),s("area-code"),e._v(" "),s("h5",[e._v("设置 placeholders")]),e._v(" "),s("placeholders"),e._v(" "),e._m(0),e._v(" "),s("h5",[e._v("设置默认值")]),e._v(" "),s("default-value"),e._v(" "),e._m(1),e._v(" "),s("h5",[e._v("只选省份")]),e._v(" "),s("province"),e._v(" "),s("h5",[e._v("省市区联动")]),e._v(" "),s("v-area"),e._v(" "),s("h4",[e._v("2. 作为级联器(只支持2/3级联动)")]),e._v(" "),s("h5",[e._v("默认形式")]),e._v(" "),s("cas-basic"),e._v(" "),s("h5",[e._v("返回区域文本")]),e._v(" "),s("cas-returns"),e._v(" "),s("h5",[e._v("返回区域文本和代码")]),e._v(" "),s("cas-area-code"),e._v(" "),s("h5",[e._v("设置 placeholder")]),e._v(" "),s("cas-placeholder"),e._v(" "),s("h5",[e._v("设置默认值")]),e._v(" "),s("cas-default-val"),e._v(" "),s("h5",[e._v("省市区联动")]),e._v(" "),s("cas-area")],1)},a=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("p",{staticClass:"desc"},[s("code",[e._v("placeholders")]),e._v(" 是一个数组, 数组项顺序分别对应省/市/区.\n ")])},function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("p",{staticClass:"desc"},[s("code",[e._v("selected")]),e._v(" 是一个数组, 数组项顺序分别对应省/市/区, 且类型(区域代码/区域文本)必须统一. 以第一个元素类型为基准. 类型不统一将报错.\n ")])}];e.exports={render:s,staticRenderFns:a}},function(e,t,s){var a=s(0),i=s(169),n=s(171),r=a(i,n,!1,null,null,null);e.exports=r.exports},function(e,t,s){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a=s(170);s.n(a);t.default={}},function(e,t){},function(e,t){var s=function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)},a=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"start"},[s("h3",[e._v("快速开始")]),e._v(" "),s("div",{staticClass:"install"},[s("h4",[e._v("安装")]),e._v(" "),s("pre",[e._v("npm i --save vue-area-linkage")]),e._v(" "),s("p",[e._v("或者")]),e._v(" "),s("pre",[e._v("yarn add vue-area-linkage")])]),e._v(" "),s("div",{staticClass:"register"},[s("h4",[e._v("全局注册")]),e._v(" "),s("pre",[e._v("import Vue from 'vue';"),s("br"),s("br"),e._v("import 'vue-area-linkage/dist/index.css'; // v2 or higher"),s("br"),s("br"),e._v("import VueAreaLinkage from 'vue-area-linkage';"),s("br"),s("br"),e._v("Vue.use(VueAreaLinkage);"),s("br")])]),e._v(" "),s("br")])}];e.exports={render:s,staticRenderFns:a}},function(e,t,s){function a(e){s(173)}var i=s(0),n=s(175),r=a,l=i(null,n,!1,r,null,null);e.exports=l.exports},function(e,t,s){var a=s(174);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);s(5)("b269eb6c",a,!0,{})},function(e,t,s){t=e.exports=s(4)(!1),t.push([e.i,"footer{margin-top:30px;text-align:center;color:#999}footer p{margin-top:15px;cursor:pointer}footer p:hover{color:#008efd}",""])},function(e,t){var s=function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)},a=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("footer",[s("p",[e._v("React 版本:"),s("a",{attrs:{target:"_blank",href:"https://github.com/dwqs/react-area-linkage"}},[e._v("React Area Linkage")])]),e._v(" "),s("p",[e._v("最新数据来源:"),s("a",{attrs:{href:"https://github.com/dwqs/area-data",target:"_blank"}},[e._v("省/市/区数据")])]),e._v(" "),s("p",[e._v("官方数据:"),s("a",{attrs:{href:"http://www.stats.gov.cn/tjsj/tjbz/tjyqhdmhcxhfdm/2016/index.html",target:"_blank"}},[e._v("国家统计局-城乡划分")])])])}];e.exports={render:s,staticRenderFns:a}},function(e,t){var s=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"app-wrap",attrs:{id:"app"}},[s("v-header"),e._v(" "),s("v-start"),e._v(" "),s("v-main"),e._v(" "),s("v-footer")],1)},a=[];e.exports={render:s,staticRenderFns:a}}],[43]);
================================================
FILE: demo/vendor.8d61534d.js
================================================
!function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,t),o.l=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(r,i,a){for(var s,u,c,l=0,f=[];l<r.length;l++)u=r[l],o[u]&&f.push(o[u][0]),o[u]=0;for(s in i)Object.prototype.hasOwnProperty.call(i,s)&&(e[s]=i[s]);for(n&&n(r,i,a);f.length;)f.shift()();if(a)for(l=0;l<a.length;l++)c=t(t.s=a[l]);return c};var r={},o={1:0};t.m=e,t.c=r,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="./demo/",t.oe=function(e){throw e}}([function(e,t){e.exports=function(e,t,n,r,o,i){var a,s=e=e||{},u=typeof e.default;"object"!==u&&"function"!==u||(a=e,s=e.default);var c="function"==typeof s?s.options:s;t&&(c.render=t.render,c.staticRenderFns=t.staticRenderFns,c._compiled=!0),n&&(c.functional=!0),o&&(c._scopeId=o);var l;if(i?(l=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},c._ssrRegister=l):r&&(l=r),l){var f=c.functional,p=f?c.render:c.beforeCreate;f?(c._injectStyles=l,c.render=function(e,t){return l.call(t),p(e,t)}):c.beforeCreate=p?[].concat(p,l):[l]}return{esModule:a,exports:s,options:c}}},function(e,t){var n=e.exports={version:"2.5.3"};"number"==typeof __e&&(__e=n)},function(e,t,n){var r=n(28)("wks"),o=n(29),i=n(6).Symbol,a="function"==typeof i;(e.exports=function(e){return r[e]||(r[e]=a&&i[e]||(a?i:o)("Symbol."+e))}).store=r},function(e,t,n){var r=n(6),o=n(1),i=n(31),a=n(14),s=function(e,t,n){var u,c,l,f=e&s.F,p=e&s.G,d=e&s.S,v=e&s.P,h=e&s.B,m=e&s.W,y=p?o:o[t]||(o[t]={}),g=y.prototype,_=p?r:d?r[t]:(r[t]||{}).prototype;p&&(n=t);for(u in n)(c=!f&&_&&void 0!==_[u])&&u in y||(l=c?_[u]:n[u],y[u]=p&&"function"!=typeof _[u]?n[u]:h&&c?i(l,r):m&&_[u]==l?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(l):v&&"function"==typeof l?i(Function.call,l):l,v&&((y.virtual||(y.virtual={}))[u]=l,e&s.R&&g&&!g[u]&&a(g,u,l)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t){function n(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"==typeof btoa){var i=r(o);return[n].concat(o.sources.map(function(e){return"/*# sourceURL="+o.sourceRoot+e+" */"})).concat([i]).join("\n")}return[n].join("\n")}function r(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r=n(t,e);return t[2]?"@media "+t[2]+"{"+r+"}":r}).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"==typeof i&&(r[i]=!0)}for(o=0;o<e.length;o++){var a=e[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),t.push(a))}},t}},function(e,t,n){function r(e){for(var t=0;t<e.length;t++){var n=e[t],r=l[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(i(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{for(var a=[],o=0;o<n.parts.length;o++)a.push(i(n.parts[o]));l[n.id]={id:n.id,refs:1,parts:a}}}}function o(){var e=document.createElement("style");return e.type="text/css",f.appendChild(e),e}function i(e){var t,n,r=document.querySelector("style["+y+'~="'+e.id+'"]');if(r){if(v)return h;r.parentNode.removeChild(r)}if(g){var i=d++;r=p||(p=o()),t=a.bind(null,r,i,!1),n=a.bind(null,r,i,!0)}else r=o(),t=s.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}function a(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=_(t,o);else{var i=document.createTextNode(o),a=e.childNodes;a[t]&&e.removeChild(a[t]),a.length?e.insertBefore(i,a[t]):e.appendChild(i)}}function s(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute("media",r),m.ssrId&&e.setAttribute(y,t.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}var u="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!u)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var c=n(56),l={},f=u&&(document.head||document.getElementsByTagName("head")[0]),p=null,d=0,v=!1,h=function(){},m=null,y="data-vue-ssr-id",g="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());e.exports=function(e,t,n,o){v=n,m=o||{};var i=c(e,t);return r(i),function(t){for(var n=[],o=0;o<i.length;o++){var a=i[o],s=l[a.id];s.refs--,n.push(s)}t?(i=c(e,t),r(i)):i=[];for(var o=0;o<n.length;o++){var s=n[o];if(0===s.refs){for(var u=0;u<s.parts.length;u++)s.parts[u]();delete l[s.id]}}}};var _=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()},function(e,t){var n=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=n)},function(e,t,n){var r=n(15),o=n(65),i=n(66),a=Object.defineProperty;t.f=n(8)?Object.defineProperty:function(e,t,n){if(r(e),t=i(t,!0),r(n),o)try{return a(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){e.exports=!n(16)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},,function(e,t){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(17);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(60),o=n(30);e.exports=Object.keys||function(e){return r(e,o)}},function(e,t){var n={}.hasOwnProperty;e.exports=function(e,t){return n.call(e,t)}},function(e,t,n){var r=n(7),o=n(22);e.exports=n(8)?function(e,t,n){return r.f(e,t,o(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(21);e.exports=function(e){if(!r(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t,n){var r=n(25),o=n(17);e.exports=function(e){return r(o(e))}},function(e,t){var n=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:n)(e)}},function(e,t,n){var r=n(28)("keys"),o=n(29);e.exports=function(e){return r[e]||(r[e]=o(e))}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){e.exports={}},function(e,t,n){e.exports={default:n(58),__esModule:!0}},function(e,t,n){var r=n(26);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==r(e)?e.split(""):Object(e)}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){var r=n(19),o=Math.min;e.exports=function(e){return e>0?o(r(e),9007199254740991):0}},function(e,t,n){var r=n(6),o=r["__core-js_shared__"]||(r["__core-js_shared__"]={});e.exports=function(e){return o[e]||(o[e]={})}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++n+r).toString(36))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t,n){var r=n(64);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}}},function(e,t,n){var r=n(21),o=n(6).document,i=r(o)&&r(o.createElement);e.exports=function(e){return i?o.createElement(e):{}}},function(e,t,n){e.exports={default:n(67),__esModule:!0}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,n){"use strict";t.__esModule=!0;var r=n(70),o=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=function(e,t,n){return t in e?(0,o.default)(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},function(e,t,n){(function(e,n){function r(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return!0;return!1}function o(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function i(e){return function(t){return null==t?void 0:t[e]}}function a(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function s(e,t){return null==e?void 0:e[t]}function u(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}function c(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}function l(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++t]=e}),n}function f(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function p(){this.__data__=Yt?Yt(null):{}}function d(e){return this.has(e)&&delete this.__data__[e]}function v(e){var t=this.__data__;if(Yt){var n=t[e];return n===Re?void 0:n}return Ft.call(t,e)?t[e]:void 0}function h(e){var t=this.__data__;return Yt?void 0!==t[e]:Ft.call(t,e)}function m(e,t){return this.__data__[e]=Yt&&void 0===t?Re:t,this}function y(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function g(){this.__data__=[]}function _(e){var t=this.__data__,n=R(t,e);return!(n<0)&&(n==t.length-1?t.pop():Vt.call(t,n,1),!0)}function b(e){var t=this.__data__,n=R(t,e);return n<0?void 0:t[n][1]}function w(e){return R(this.__data__,e)>-1}function x(e,t){var n=this.__data__,r=R(n,e);return r<0?n.push([e,t]):n[r][1]=t,this}function $(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function C(){this.__data__={hash:new f,map:new(Wt||y),string:new f}}function k(e){return oe(this,e).delete(e)}function A(e){return oe(this,e).get(e)}function O(e){return oe(this,e).has(e)}function j(e,t){return oe(this,e).set(e,t),this}function T(e){var t=-1,n=e?e.length:0;for(this.__data__=new $;++t<n;)this.add(e[t])}function S(e){return this.__data__.set(e,Re),this}function E(e){return this.__data__.has(e)}function M(e){this.__data__=new y(e)}function I(){this.__data__=new y}function N(e){return this.__data__.delete(e)}function P(e){return this.__data__.get(e)}function L(e){return this.__data__.has(e)}function F(e,t){var n=this.__data__;if(n instanceof y){var r=n.__data__;if(!Wt||r.length<Fe-1)return r.push([e,t]),this;n=this.__data__=new $(r)}return n.set(e,t),this}function D(e,t){var n=ln(e)||be(e)?a(e.length,String):[],r=n.length,o=!!r;for(var i in e)!t&&!Ft.call(e,i)||o&&("length"==i||ue(i,r))||n.push(i);return n}function R(e,t){for(var n=e.length;n--;)if(_e(e[n][0],t))return n;return-1}function U(e,t){t=ce(t,e)?[t]:ee(t);for(var n=0,r=t.length;null!=e&&n<r;)e=e[he(t[n++])];return n&&n==r?e:void 0}function B(e){return Dt.call(e)}function H(e,t){return null!=e&&t in Object(e)}function V(e,t,n,r,o){return e===t||(null==e||null==t||!ke(e)&&!Ae(t)?e!==e&&t!==t:z(e,t,V,n,r,o))}function z(e,t,n,r,o,i){var a=ln(e),s=ln(t),c=We,l=We;a||(c=sn(e),c=c==qe?tt:c),s||(l=sn(t),l=l==qe?tt:l);var f=c==tt&&!u(e),p=l==tt&&!u(t),d=c==l;if(d&&!f)return i||(i=new M),a||fn(e)?te(e,t,n,r,o,i):ne(e,t,c,n,r,o,i);if(!(o&Be)){var v=f&&Ft.call(e,"__wrapped__"),h=p&&Ft.call(t,"__wrapped__");if(v||h){var m=v?e.value():e,y=h?t.value():t;return i||(i=new M),n(m,y,r,o,i)}}return!!d&&(i||(i=new M),re(e,t,n,r,o,i))}function J(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=Object(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){s=n[o];var u=s[0],c=e[u],l=s[1];if(a&&s[2]){if(void 0===c&&!(u in e))return!1}else{var f=new M;if(r)var p=r(c,l,u,e,t,f);if(!(void 0===p?V(l,c,r,Ue|Be,f):p))return!1}}return!0}function q(e){return!(!ke(e)||fe(e))&&($e(e)||u(e)?Rt:yt).test(me(e))}function W(e){return Ae(e)&&Ce(e.length)&&!!bt[Dt.call(e)]}function K(e){return"function"==typeof e?e:null==e?Pe:"object"==typeof e?ln(e)?Y(e[0],e[1]):X(e):Le(e)}function G(e){if(!pe(e))return zt(e);var t=[];for(var n in Object(e))Ft.call(e,n)&&"constructor"!=n&&t.push(n);return t}function X(e){var t=ie(e);return 1==t.length&&t[0][2]?ve(t[0][0],t[0][1]):function(n){return n===e||J(n,e,t)}}function Y(e,t){return ce(e)&&de(t)?ve(he(e),t):function(n){var r=Me(n,e);return void 0===r&&r===t?Ie(n,e):V(t,r,void 0,Ue|Be)}}function Z(e){return function(t){return U(t,e)}}function Q(e){if("string"==typeof e)return e;if(Oe(e))return an?an.call(e):"";var t=e+"";return"0"==t&&1/e==-He?"-0":t}function ee(e){return ln(e)?e:un(e)}function te(e,t,n,o,i,a){var s=i&Be,u=e.length,c=t.length;if(u!=c&&!(s&&c>u))return!1;var l=a.get(e);if(l&&a.get(t))return l==t;var f=-1,p=!0,d=i&Ue?new T:void 0;for(a.set(e,t),a.set(t,e);++f<u;){var v=e[f],h=t[f];if(o)var m=s?o(h,v,f,t,e,a):o(v,h,f,e,t,a);if(void 0!==m){if(m)continue;p=!1;break}if(d){if(!r(t,function(e,t){if(!d.has(t)&&(v===e||n(v,e,o,i,a)))return d.add(t)})){p=!1;break}}else if(v!==h&&!n(v,h,o,i,a)){p=!1;break}}return a.delete(e),a.delete(t),p}function ne(e,t,n,r,o,i,a){switch(n){case st:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case at:return!(e.byteLength!=t.byteLength||!r(new Bt(e),new Bt(t)));case Ke:case Ge:case et:return _e(+e,+t);case Xe:return e.name==t.name&&e.message==t.message;case nt:case ot:return e==t+"";case Qe:var s=c;case rt:var u=i&Be;if(s||(s=l),e.size!=t.size&&!u)return!1;var f=a.get(e);if(f)return f==t;i|=Ue,a.set(e,t);var p=te(s(e),s(t),r,o,i,a);return a.delete(e),p;case it:if(on)return on.call(e)==on.call(t)}return!1}function re(e,t,n,r,o,i){var a=o&Be,s=Ne(e),u=s.length;if(u!=Ne(t).length&&!a)return!1;for(var c=u;c--;){var l=s[c];if(!(a?l in t:Ft.call(t,l)))return!1}var f=i.get(e);if(f&&i.get(t))return f==t;var p=!0;i.set(e,t),i.set(t,e);for(var d=a;++c<u;){l=s[c];var v=e[l],h=t[l];if(r)var m=a?r(h,v,l,t,e,i):r(v,h,l,e,t,i);if(!(void 0===m?v===h||n(v,h,r,o,i):m)){p=!1;break}d||(d="constructor"==l)}if(p&&!d){var y=e.constructor,g=t.constructor;y!=g&&"constructor"in e&&"constructor"in t&&!("function"==typeof y&&y instanceof y&&"function"==typeof g&&g instanceof g)&&(p=!1)}return i.delete(e),i.delete(t),p}function oe(e,t){var n=e.__data__;return le(t)?n["string"==typeof t?"string":"hash"]:n.map}function ie(e){for(var t=Ne(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,de(o)]}return t}function ae(e,t){var n=s(e,t);return q(n)?n:void 0}function se(e,t,n){t=ce(t,e)?[t]:ee(t);for(var r,o=-1,i=t.length;++o<i;){var a=he(t[o]);if(!(r=null!=e&&n(e,a)))break;e=e[a]}if(r)return r;var i=e?e.length:0;return!!i&&Ce(i)&&ue(a,i)&&(ln(e)||be(e))}function ue(e,t){return!!(t=null==t?Ve:t)&&("number"==typeof e||_t.test(e))&&e>-1&&e%1==0&&e<t}function ce(e,t){if(ln(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Oe(e))||(ct.test(e)||!ut.test(e)||null!=t&&e in Object(t))}function le(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}function fe(e){return!!Pt&&Pt in e}function pe(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||It)}function de(e){return e===e&&!ke(e)}function ve(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!==t||e in Object(n)))}}function he(e){if("string"==typeof e||Oe(e))return e;var t=e+"";return"0"==t&&1/e==-He?"-0":t}function me(e){if(null!=e){try{return Lt.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function ye(e,t,n){var r=e?e.length:0;if(!r)return-1;var i=null==n?0:Te(n);return i<0&&(i=Jt(r+i,0)),o(e,K(t,3),i)}function ge(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError(De);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a),a};return n.cache=new(ge.Cache||$),n}function _e(e,t){return e===t||e!==e&&t!==t}function be(e){return xe(e)&&Ft.call(e,"callee")&&(!Ht.call(e,"callee")||Dt.call(e)==qe)}function we(e){return null!=e&&Ce(e.length)&&!$e(e)}function xe(e){return Ae(e)&&we(e)}function $e(e){var t=ke(e)?Dt.call(e):"";return t==Ye||t==Ze}function Ce(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Ve}function ke(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function Ae(e){return!!e&&"object"==typeof e}function Oe(e){return"symbol"==typeof e||Ae(e)&&Dt.call(e)==it}function je(e){if(!e)return 0===e?e:0;if((e=Se(e))===He||e===-He){return(e<0?-1:1)*ze}return e===e?e:0}function Te(e){var t=je(e),n=t%1;return t===t?n?t-n:t:0}function Se(e){if("number"==typeof e)return e;if(Oe(e))return Je;if(ke(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=ke(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(dt,"");var n=mt.test(e);return n||gt.test(e)?wt(e.slice(2),n?2:8):ht.test(e)?Je:+e}function Ee(e){return null==e?"":Q(e)}function Me(e,t,n){var r=null==e?void 0:U(e,t);return void 0===r?n:r}function Ie(e,t){return null!=e&&se(e,t,H)}function Ne(e){return we(e)?D(e):G(e)}function Pe(e){return e}function Le(e){return ce(e)?i(he(e)):Z(e)}var Fe=200,De="Expected a function",Re="__lodash_hash_undefined__",Ue=1,Be=2,He=1/0,Ve=9007199254740991,ze=1.7976931348623157e308,Je=NaN,qe="[object Arguments]",We="[object Array]",Ke="[object Boolean]",Ge="[object Date]",Xe="[object Error]",Ye="[object Function]",Ze="[object GeneratorFunction]",Qe="[object Map]",et="[object Number]",tt="[object Object]",nt="[object RegExp]",rt="[object Set]",ot="[object String]",it="[object Symbol]",at="[object ArrayBuffer]",st="[object DataView]",ut=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ct=/^\w*$/,lt=/^\./,ft=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,pt=/[\\^$.*+?()[\]{}|]/g,dt=/^\s+|\s+$/g,vt=/\\(\\)?/g,ht=/^[-+]0x[0-9a-f]+$/i,mt=/^0b[01]+$/i,yt=/^\[object .+?Constructor\]$/,gt=/^0o[0-7]+$/i,_t=/^(?:0|[1-9]\d*)$/,bt={};bt["[object Float32Array]"]=bt["[object Float64Array]"]=bt["[object Int8Array]"]=bt["[object Int16Array]"]=bt["[object Int32Array]"]=bt["[object Uint8Array]"]=bt["[object Uint8ClampedArray]"]=bt["[object Uint16Array]"]=bt["[object Uint32Array]"]=!0,bt[qe]=bt[We]=bt[at]=bt[Ke]=bt[st]=bt[Ge]=bt[Xe]=bt[Ye]=bt[Qe]=bt[et]=bt[tt]=bt[nt]=bt[rt]=bt[ot]=bt["[object WeakMap]"]=!1;var wt=parseInt,xt="object"==typeof e&&e&&e.Object===Object&&e,$t="object"==typeof self&&self&&self.Object===Object&&self,Ct=xt||$t||Function("return this")(),kt="object"==typeof t&&t&&!t.nodeType&&t,At=kt&&"object"==typeof n&&n&&!n.nodeType&&n,Ot=At&&At.exports===kt,jt=Ot&&xt.process,Tt=function(){try{return jt&&jt.binding("util")}catch(e){}}(),St=Tt&&Tt.isTypedArray,Et=Array.prototype,Mt=Function.prototype,It=Object.prototype,Nt=Ct["__core-js_shared__"],Pt=function(){var e=/[^.]+$/.exec(Nt&&Nt.keys&&Nt.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Lt=Mt.toString,Ft=It.hasOwnProperty,Dt=It.toString,Rt=RegExp("^"+Lt.call(Ft).replace(pt,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ut=Ct.Symbol,Bt=Ct.Uint8Array,Ht=It.propertyIsEnumerable,Vt=Et.splice,zt=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object),Jt=Math.max,qt=ae(Ct,"DataView"),Wt=ae(Ct,"Map"),Kt=ae(Ct,"Promise"),Gt=ae(Ct,"Set"),Xt=ae(Ct,"WeakMap"),Yt=ae(Object,"create"),Zt=me(qt),Qt=me(Wt),en=me(Kt),tn=me(Gt),nn=me(Xt),rn=Ut?Ut.prototype:void 0,on=rn?rn.valueOf:void 0,an=rn?rn.toString:void 0;f.prototype.clear=p,f.prototype.delete=d,f.prototype.get=v,f.prototype.has=h,f.prototype.set=m,y.prototype.clear=g,y.prototype.delete=_,y.prototype.get=b,y.prototype.has=w,y.prototype.set=x,$.prototype.clear=C,$.prototype.delete=k,$.prototype.get=A,$.prototype.has=O,$.prototype.set=j,T.prototype.add=T.prototype.push=S,T.prototype.has=E,M.prototype.clear=I,M.prototype.delete=N,M.prototype.get=P,M.prototype.has=L,M.prototype.set=F;var sn=B;(qt&&sn(new qt(new ArrayBuffer(1)))!=st||Wt&&sn(new Wt)!=Qe||Kt&&"[object Promise]"!=sn(Kt.resolve())||Gt&&sn(new Gt)!=rt||Xt&&"[object WeakMap]"!=sn(new Xt))&&(sn=function(e){var t=Dt.call(e),n=t==tt?e.constructor:void 0,r=n?me(n):void 0;if(r)switch(r){case Zt:return st;case Qt:return Qe;case en:return"[object Promise]";case tn:return rt;case nn:return"[object WeakMap]"}return t});var un=ge(function(e){e=Ee(e);var t=[];return lt.test(e)&&t.push(""),e.replace(ft,function(e,n,r,o){t.push(r?o.replace(vt,"$1"):n||e)}),t}),cn=function(e){return function(t,n,r){var o=Object(t);if(!we(t)){var i=K(n,3);t=Ne(t),n=function(e){return i(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:void 0}}(ye);ge.Cache=$;var ln=Array.isArray,fn=St?function(e){return function(t){return e(t)}}(St):W;n.exports=cn}).call(t,n(10),n(73)(e))},,,,,,function(e,t,n){var r=n(7).f,o=n(13),i=n(2)("toStringTag");e.exports=function(e,t,n){e&&!o(e=n?e:e.prototype,i)&&r(e,i,{configurable:!0,value:t})}},,,function(e,t,n){(function(t,n){!function(t,n){e.exports=n()}(0,function(){"use strict";function e(e){return void 0===e||null===e}function r(e){return void 0!==e&&null!==e}function o(e){return!0===e}function i(e){return!1===e}function a(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function s(e){return null!==e&&"object"==typeof e}function u(e){return mi.call(e).slice(8,-1)}function c(e){return"[object Object]"===mi.call(e)}function l(e){return"[object RegExp]"===mi.call(e)}function f(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function d(e){var t=parseFloat(e);return isNaN(t)?e:t}function v(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}function h(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(n,1)}}function m(e,t){return _i.call(e,t)}function y(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}function g(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function _(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function b(e,t){for(var n in t)e[n]=t[n];return e}function w(e){for(var t={},n=0;n<e.length;n++)e[n]&&b(t,e[n]);return t}function x(e,t,n){}function $(e,t){if(e===t)return!0;var n=s(e),r=s(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var o=Array.isArray(e),i=Array.isArray(t);if(o&&i)return e.length===t.length&&e.every(function(e,n){return $(e,t[n])});if(o||i)return!1;var a=Object.keys(e),u=Object.keys(t);return a.length===u.length&&a.every(function(n){return $(e[n],t[n])})}catch(e){return!1}}function C(e,t){for(var n=0;n<e.length;n++)if($(e[n],t))return n;return-1}function k(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function A(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function O(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}function j(e){if(!Ei.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}function T(e){return"function"==typeof e&&/native code/.test(e.toString())}function S(e){ia.target&&aa.push(ia.target),ia.target=e}function E(){ia.target=aa.pop()}function M(e){return new sa(void 0,void 0,void 0,String(e))}function I(e,t){var n=e.componentOptions,r=new sa(e.tag,e.data,e.children,e.text,e.elm,e.context,n,e.asyncFactory);return r.ns=e.ns,r.isStatic=e.isStatic,r.key=e.key,r.isComment=e.isComment,r.fnContext=e.fnContext,r.fnOptions=e.fnOptions,r.fnScopeId=e.fnScopeId,r.isCloned=!0,t&&(e.children&&(r.children=N(e.children,!0)),n&&n.children&&(n.children=N(n.children,!0))),r}function N(e,t){for(var n=e.length,r=new Array(n),o=0;o<n;o++)r[o]=I(e[o],t);return r}function P(e,t,n){e.__proto__=t}function L(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];O(e,i,t[i])}}function F(e,t){if(s(e)&&!(e instanceof sa)){var n;return m(e,"__ob__")&&e.__ob__ instanceof va?n=e.__ob__:da.shouldConvert&&!Wi()&&(Array.isArray(e)||c(e))&&Object.isExtensible(e)&&!e._isVue&&(n=new va(e)),t&&n&&n.vmCount++,n}}function D(e,t,n,r,o){var i=new ia,a=Object.getOwnPropertyDescriptor(e,t);if(!a||!1!==a.configurable){var s=a&&a.get,u=a&&a.set,c=!o&&F(n);Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=s?s.call(e):n;return ia.target&&(i.depend(),c&&(c.dep.depend(),Array.isArray(t)&&B(t))),t},set:function(t){var a=s?s.call(e):n;t===a||t!==t&&a!==a||(r&&r(),u?u.call(e,t):n=t,c=!o&&F(t),i.notify())}})}}function R(e,t,n){if(Array.isArray(e)&&f(t))return e.length=Math.max(e.length,t),e.splice(t,1,n),n;if(t in e&&!(t in Object.prototype))return e[t]=n,n;var r=e.__ob__;return e._isVue||r&&r.vmCount?(Xi("Avoid adding reactive properties to a Vue instance or its root $data at runtime - declare it upfront in the data option."),n):r?(D(r.value,t,n),r.dep.notify(),n):(e[t]=n,n)}function U(e,t){if(Array.isArray(e)&&f(t))return void e.splice(t,1);var n=e.__ob__;if(e._isVue||n&&n.vmCount)return void Xi("Avoid deleting properties on a Vue instance or its root $data - just set it to null.");m(e,t)&&(delete e[t],n&&n.dep.notify())}function B(e){for(var t=void 0,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__&&t.__ob__.dep.depend(),Array.isArray(t)&&B(t)}function H(e,t){if(!t)return e;for(var n,r,o,i=Object.keys(t),a=0;a<i.length;a++)n=i[a],r=e[n],o=t[n],m(e,n)?c(r)&&c(o)&&H(r,o):R(e,n,o);return e}function V(e,t,n){return n?function(){var r="function"==typeof t?t.call(n,n):t,o="function"==typeof e?e.call(n,n):e;return r?H(r,o):o}:t?e?function(){return H("function"==typeof t?t.call(this,this):t,"function"==typeof e?e.call(this,this):e)}:t:e}function z(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}function J(e,t,n,r){var o=Object.create(e||null);return t?(Y(r,t,n),b(o,t)):o}function q(e){for(var t in e.components)W(t)}function W(e){/^[a-zA-Z][\w-]*$/.test(e)||Xi('Invalid component name: "'+e+'". Component names can only contain alphanumeric characters and the hyphen, and must start with a letter.'),(yi(e)||Si.isReservedTag(e))&&Xi("Do not use built-in or reserved HTML elements as component id: "+e)}function K(e,t){var n=e.props;if(n){var r,o,i,a={};if(Array.isArray(n))for(r=n.length;r--;)o=n[r],"string"==typeof o?(i=wi(o),a[i]={type:null}):Xi("props must be strings when using array syntax.");else if(c(n))for(var s in n)o=n[s],i=wi(s),a[i]=c(o)?o:{type:o};else Xi('Invalid value for option "props": expected an Array or an Object, but got '+u(n)+".",t);e.props=a}}function G(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(n))for(var o=0;o<n.length;o++)r[n[o]]={from:n[o]};else if(c(n))for(var i in n){var a=n[i];r[i]=c(a)?b({from:i},a):{from:a}}else Xi('Invalid value for option "inject": expected an Array or an Object, but got '+u(n)+".",t)}}function X(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"function"==typeof r&&(t[n]={bind:r,update:r})}}function Y(e,t,n){c(t)||Xi('Invalid value for option "'+e+'": expected an Object, but got '+u(t)+".",n)}function Z(e,t,n){function r(r){var o=ha[r]||ga;u[r]=o(e[r],t[r],n,r)}q(t),"function"==typeof t&&(t=t.options),K(t,n),G(t,n),X(t);var o=t.extends;if(o&&(e=Z(e,o,n)),t.mixins)for(var i=0,a=t.mixins.length;i<a;i++)e=Z(e,t.mixins[i],n);var s,u={};for(s in e)r(s);for(s in t)m(e,s)||r(s);return u}function Q(e,t,n,r){if("string"==typeof n){var o=e[t];if(m(o,n))return o[n];var i=wi(n);if(m(o,i))return o[i];var a=xi(i);if(m(o,a))return o[a];var s=o[n]||o[i]||o[a];return r&&!s&&Xi("Failed to resolve "+t.slice(0,-1)+": "+n,e),s}}function ee(e,t,n,r){var o=t[e],i=!m(n,e),a=n[e];if(ie(Boolean,o.type)&&(i&&!m(o,"default")?a=!1:ie(String,o.type)||""!==a&&a!==Ci(e)||(a=!0)),void 0===a){a=te(r,o,e);var s=da.shouldConvert;da.shouldConvert=!0,F(a),da.shouldConvert=s}return ne(o,e,a,r,i),a}function te(e,t,n){if(m(t,"default")){var r=t.default;return s(r)&&Xi('Invalid default value for prop "'+n+'": Props with type Object/Array must use a factory function to return the default value.',e),e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n]?e._props[n]:"function"==typeof r&&"Function"!==oe(t.type)?r.call(e):r}}function ne(e,t,n,r,o){if(e.required&&o)return void Xi('Missing required prop: "'+t+'"',r);if(null!=n||e.required){var i=e.type,a=!i||!0===i,s=[];if(i){Array.isArray(i)||(i=[i]);for(var c=0;c<i.length&&!a;c++){var l=re(n,i[c]);s.push(l.expectedType||""),a=l.valid}}if(!a)return void Xi('Invalid prop: type check failed for prop "'+t+'". Expected '+s.map(xi).join(", ")+", got "+u(n)+".",r);var f=e.validator;f&&(f(n)||Xi('Invalid prop: custom validator check failed for prop "'+t+'".',r))}}function re(e,t){var n,r=oe(t);if(_a.test(r)){var o=typeof e;n=o===r.toLowerCase(),n||"object"!==o||(n=e instanceof t)}else n="Object"===r?c(e):"Array"===r?Array.isArray(e):e instanceof t;return{valid:n,expectedType:r}}function oe(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function ie(e,t){if(!Array.isArray(t))return oe(t)===oe(e);for(var n=0,r=t.length;n<r;n++)if(oe(t[n])===oe(e))return!0;return!1}function ae(e,t,n){if(t)for(var r=t;r=r.$parent;){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{var a=!1===o[i].call(r,e,t,n);if(a)return}catch(e){se(e,r,"errorCaptured hook")}}se(e,t,n)}function se(e,t,n){if(Si.errorHandler)try{return Si.errorHandler.call(null,e,t,n)}catch(e){ue(e,null,"config.errorHandler")}ue(e,t,n)}function ue(e,t,n){if(Xi("Error in "+n+': "'+e.toString()+'"',t),!Ii&&!Ni||"undefined"==typeof console)throw e}function ce(){wa=!1;var e=ba.slice(0);ba.length=0;for(var t=0;t<e.length;t++)e[t]()}function le(e){return e._withTask||(e._withTask=function(){xa=!0;var t=e.apply(null,arguments);return xa=!1,t})}function fe(e,t){var n;if(ba.push(function(){if(e)try{e.call(t)}catch(e){ae(e,t,"nextTick")}else n&&n(t)}),wa||(wa=!0,xa?ya():ma()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}function pe(e){de(e,Fa),Fa.clear()}function de(e,t){var n,r,o=Array.isArray(e);if((o||s(e))&&!Object.isFrozen(e)){if(e.__ob__){var i=e.__ob__.dep.id;if(t.has(i))return;t.add(i)}if(o)for(n=e.length;n--;)de(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)de(e[r[n]],t)}}function ve(e){function t(){var e=arguments,n=t.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var r=n.slice(),o=0;o<r.length;o++)r[o].apply(null,e)}return t.fns=e,t}function he(t,n,r,o,i){var a,s,u,c;for(a in t)s=t[a],u=n[a],c=Da(a),e(s)?Xi('Invalid handler for event "'+c.name+'": got '+String(s),i):e(u)?(e(s.fns)&&(s=t[a]=ve(s)),r(c.name,s,c.once,c.capture,c.passive,c.params)):s!==u&&(u.fns=s,t[a]=u);for(a in n)e(t[a])&&(c=Da(a),o(c.name,n[a],c.capture))}function me(t,n,i){function a(){i.apply(this,arguments),h(s.fns,a)}t instanceof sa&&(t=t.data.hook||(t.data.hook={}));var s,u=t[n];e(u)?s=ve([a]):r(u.fns)&&o(u.merged)?(s=u,s.fns.push(a)):s=ve([u,a]),s.merged=!0,t[n]=s}function ye(t,n,o){var i=n.options.props;if(!e(i)){var a={},s=t.attrs,u=t.props;if(r(s)||r(u))for(var c in i){var l=Ci(c),f=c.toLowerCase()
;c!==f&&s&&m(s,f)&&Yi('Prop "'+f+'" is passed to component '+Qi(o||n)+', but the declared prop name is "'+c+'". Note that HTML attributes are case-insensitive and camelCased props need to use their kebab-case equivalents when using in-DOM templates. You should probably use "'+l+'" instead of "'+c+'".'),ge(a,u,c,l,!0)||ge(a,s,c,l,!1)}return a}}function ge(e,t,n,o,i){if(r(t)){if(m(t,n))return e[n]=t[n],i||delete t[n],!0;if(m(t,o))return e[n]=t[o],i||delete t[o],!0}return!1}function _e(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return Array.prototype.concat.apply([],e);return e}function be(e){return a(e)?[M(e)]:Array.isArray(e)?xe(e):void 0}function we(e){return r(e)&&r(e.text)&&i(e.isComment)}function xe(t,n){var i,s,u,c,l=[];for(i=0;i<t.length;i++)s=t[i],e(s)||"boolean"==typeof s||(u=l.length-1,c=l[u],Array.isArray(s)?s.length>0&&(s=xe(s,(n||"")+"_"+i),we(s[0])&&we(c)&&(l[u]=M(c.text+s[0].text),s.shift()),l.push.apply(l,s)):a(s)?we(c)?l[u]=M(c.text+s):""!==s&&l.push(M(s)):we(s)&&we(c)?l[u]=M(c.text+s.text):(o(t._isVList)&&r(s.tag)&&e(s.key)&&r(n)&&(s.key="__vlist"+n+"_"+i+"__"),l.push(s)));return l}function $e(e,t){return(e.__esModule||Gi&&"Module"===e[Symbol.toStringTag])&&(e=e.default),s(e)?t.extend(e):e}function Ce(e,t,n,r,o){var i=ca();return i.asyncFactory=e,i.asyncMeta={data:t,context:n,children:r,tag:o},i}function ke(t,n,i){if(o(t.error)&&r(t.errorComp))return t.errorComp;if(r(t.resolved))return t.resolved;if(o(t.loading)&&r(t.loadingComp))return t.loadingComp;if(!r(t.contexts)){var a=t.contexts=[i],u=!0,c=function(){for(var e=0,t=a.length;e<t;e++)a[e].$forceUpdate()},l=k(function(e){t.resolved=$e(e,n),u||c()}),f=k(function(e){Xi("Failed to resolve async component: "+String(t)+(e?"\nReason: "+e:"")),r(t.errorComp)&&(t.error=!0,c())}),p=t(l,f);return s(p)&&("function"==typeof p.then?e(t.resolved)&&p.then(l,f):r(p.component)&&"function"==typeof p.component.then&&(p.component.then(l,f),r(p.error)&&(t.errorComp=$e(p.error,n)),r(p.loading)&&(t.loadingComp=$e(p.loading,n),0===p.delay?t.loading=!0:setTimeout(function(){e(t.resolved)&&e(t.error)&&(t.loading=!0,c())},p.delay||200)),r(p.timeout)&&setTimeout(function(){e(t.resolved)&&f("timeout ("+p.timeout+"ms)")},p.timeout))),u=!1,t.loading?t.loadingComp:t.resolved}t.contexts.push(i)}function Ae(e){return e.isComment&&e.asyncFactory}function Oe(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t];if(r(n)&&(r(n.componentOptions)||Ae(n)))return n}}function je(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Ee(e,t)}function Te(e,t,n){n?La.$once(e,t):La.$on(e,t)}function Se(e,t){La.$off(e,t)}function Ee(e,t,n){La=e,he(t,n||{},Te,Se,e),La=void 0}function Me(e,t){var n={};if(!e)return n;for(var r=0,o=e.length;r<o;r++){var i=e[r],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==t&&i.fnContext!==t||!a||null==a.slot)(n.default||(n.default=[])).push(i);else{var s=a.slot,u=n[s]||(n[s]=[]);"template"===i.tag?u.push.apply(u,i.children||[]):u.push(i)}}for(var c in n)n[c].every(Ie)&&delete n[c];return n}function Ie(e){return e.isComment&&!e.asyncFactory||" "===e.text}function Ne(e,t){t=t||{};for(var n=0;n<e.length;n++)Array.isArray(e[n])?Ne(e[n],t):t[e[n].key]=e[n].fn;return t}function Pe(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}function Le(e,t,n){e.$el=t,e.$options.render||(e.$options.render=ca,e.$options.template&&"#"!==e.$options.template.charAt(0)||e.$options.el||t?Xi("You are using the runtime-only build of Vue where the template compiler is not available. Either pre-compile the templates into render functions, or use the compiler-included build.",e):Xi("Failed to mount component: template or render function not defined.",e)),Be(e,"beforeMount");var r;return r=Si.performance&&Aa?function(){var t=e._name,r=e._uid,o="vue-perf-start:"+r,i="vue-perf-end:"+r;Aa(o);var a=e._render();Aa(i),Oa("vue "+t+" render",o,i),Aa(o),e._update(a,n),Aa(i),Oa("vue "+t+" patch",o,i)}:function(){e._update(e._render(),n)},new Xa(e,r,x,null,!0),n=!1,null==e.$vnode&&(e._isMounted=!0,Be(e,"mounted")),e}function Fe(e,t,n,r,o){Ua=!0;var i=!!(o||e.$options._renderChildren||r.data.scopedSlots||e.$scopedSlots!==hi);if(e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=o,e.$attrs=r.data&&r.data.attrs||hi,e.$listeners=n||hi,t&&e.$options.props){da.shouldConvert=!1;for(var a=e._props,s=e.$options._propKeys||[],u=0;u<s.length;u++){var c=s[u];a[c]=ee(c,e.$options.props,t,e)}da.shouldConvert=!0,e.$options.propsData=t}if(n){var l=e.$options._parentListeners;e.$options._parentListeners=n,Ee(e,n,l)}i&&(e.$slots=Me(o,r.context),e.$forceUpdate()),Ua=!1}function De(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function Re(e,t){if(t){if(e._directInactive=!1,De(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)Re(e.$children[n]);Be(e,"activated")}}function Ue(e,t){if(!(t&&(e._directInactive=!0,De(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)Ue(e.$children[n]);Be(e,"deactivated")}}function Be(e,t){var n=e.$options[t];if(n)for(var r=0,o=n.length;r<o;r++)try{n[r].call(e)}catch(n){ae(n,e,t+" hook")}e._hasHookEvent&&e.$emit("hook:"+t)}function He(){Ka=Ha.length=Va.length=0,za={},Ja={},qa=Wa=!1}function Ve(){Wa=!0;var e,t;for(Ha.sort(function(e,t){return e.id-t.id}),Ka=0;Ka<Ha.length;Ka++)if(e=Ha[Ka],t=e.id,za[t]=null,e.run(),null!=za[t]&&(Ja[t]=(Ja[t]||0)+1,Ja[t]>Ba)){Xi("You may have an infinite update loop "+(e.user?'in watcher with expression "'+e.expression+'"':"in a component render function."),e.vm);break}var n=Va.slice(),r=Ha.slice();He(),qe(n),ze(r),Ki&&Si.devtools&&Ki.emit("flush")}function ze(e){for(var t=e.length;t--;){var n=e[t],r=n.vm;r._watcher===n&&r._isMounted&&Be(r,"updated")}}function Je(e){e._inactive=!1,Va.push(e)}function qe(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Re(e[t],!0)}function We(e){var t=e.id;if(null==za[t]){if(za[t]=!0,Wa){for(var n=Ha.length-1;n>Ka&&Ha[n].id>e.id;)n--;Ha.splice(n+1,0,e)}else Ha.push(e);qa||(qa=!0,fe(Ve))}}function Ke(e,t,n){Ya.get=function(){return this[t][n]},Ya.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Ya)}function Ge(e){e._watchers=[];var t=e.$options;t.props&&Xe(e,t.props),t.methods&&nt(e,t.methods),t.data?Ye(e):F(e._data={},!0),t.computed&&Qe(e,t.computed),t.watch&&t.watch!==Hi&&rt(e,t.watch)}function Xe(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[],i=!e.$parent;da.shouldConvert=i;for(var a in t)!function(i){o.push(i);var a=ee(i,t,n,e),s=Ci(i);(gi(s)||Si.isReservedAttr(s))&&Xi('"'+s+'" is a reserved attribute and cannot be used as component prop.',e),D(r,i,a,function(){e.$parent&&!Ua&&Xi("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: \""+i+'"',e)}),i in e||Ke(e,"_props",i)}(a);da.shouldConvert=!0}function Ye(e){var t=e.$options.data;t=e._data="function"==typeof t?Ze(t,e):t||{},c(t)||(t={},Xi("data functions should return an object:\nhttps://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function",e));for(var n=Object.keys(t),r=e.$options.props,o=e.$options.methods,i=n.length;i--;){var a=n[i];o&&m(o,a)&&Xi('Method "'+a+'" has already been defined as a data property.',e),r&&m(r,a)?Xi('The data property "'+a+'" is already declared as a prop. Use prop default value instead.',e):A(a)||Ke(e,"_data",a)}F(t,!0)}function Ze(e,t){try{return e.call(t,t)}catch(e){return ae(e,t,"data()"),{}}}function Qe(e,t){var n=e._computedWatchers=Object.create(null),r=Wi();for(var o in t){var i=t[o],a="function"==typeof i?i:i.get;null==a&&Xi('Getter is missing for computed property "'+o+'".',e),r||(n[o]=new Xa(e,a||x,x,Za)),o in e?o in e.$data?Xi('The computed property "'+o+'" is already defined in data.',e):e.$options.props&&o in e.$options.props&&Xi('The computed property "'+o+'" is already defined as a prop.',e):et(e,o,i)}}function et(e,t,n){var r=!Wi();"function"==typeof n?(Ya.get=r?tt(t):n,Ya.set=x):(Ya.get=n.get?r&&!1!==n.cache?tt(t):n.get:x,Ya.set=n.set?n.set:x),Ya.set===x&&(Ya.set=function(){Xi('Computed property "'+t+'" was assigned to but it has no setter.',this)}),Object.defineProperty(e,t,Ya)}function tt(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ia.target&&t.depend(),t.value}}function nt(e,t){var n=e.$options.props;for(var r in t)null==t[r]&&Xi('Method "'+r+'" has an undefined value in the component definition. Did you reference the function correctly?',e),n&&m(n,r)&&Xi('Method "'+r+'" has already been defined as a prop.',e),r in e&&A(r)&&Xi('Method "'+r+'" conflicts with an existing Vue instance method. Avoid defining component methods that start with _ or $.'),e[r]=null==t[r]?x:g(t[r],e)}function rt(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)ot(e,n,r[o]);else ot(e,n,r)}}function ot(e,t,n,r){return c(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function it(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}function at(e){var t=st(e.$options.inject,e);t&&(da.shouldConvert=!1,Object.keys(t).forEach(function(n){D(e,n,t[n],function(){Xi('Avoid mutating an injected value directly since the changes will be overwritten whenever the provided component re-renders. injection being mutated: "'+n+'"',e)})}),da.shouldConvert=!0)}function st(e,t){if(e){for(var n=Object.create(null),r=Gi?Reflect.ownKeys(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}):Object.keys(e),o=0;o<r.length;o++){for(var i=r[o],a=e[i].from,s=t;s;){if(s._provided&&a in s._provided){n[i]=s._provided[a];break}s=s.$parent}if(!s)if("default"in e[i]){var u=e[i].default;n[i]="function"==typeof u?u.call(t):u}else Xi('Injection "'+i+'" not found',t)}return n}}function ut(e,t){var n,o,i,a,u;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),o=0,i=e.length;o<i;o++)n[o]=t(e[o],o);else if("number"==typeof e)for(n=new Array(e),o=0;o<e;o++)n[o]=t(o+1,o);else if(s(e))for(a=Object.keys(e),n=new Array(a.length),o=0,i=a.length;o<i;o++)u=a[o],n[o]=t(e[u],u,o);return r(n)&&(n._isVList=!0),n}function ct(e,t,n,r){var o,i=this.$scopedSlots[e];if(i)n=n||{},r&&(s(r)||Xi("slot v-bind without argument expects an Object",this),n=b(b({},r),n)),o=i(n)||t;else{var a=this.$slots[e];a&&(a._rendered&&Xi('Duplicate presence of slot "'+e+'" found in the same render tree - this will likely cause render errors.',this),a._rendered=!0),o=a||t}var u=n&&n.slot;return u?this.$createElement("template",{slot:u},o):o}function lt(e){return Q(this.$options,"filters",e,!0)||Ai}function ft(e,t,n,r){var o=Si.keyCodes[t]||n;return o?Array.isArray(o)?-1===o.indexOf(e):o!==e:r?Ci(r)!==t:void 0}function pt(e,t,n,r,o){if(n)if(s(n)){Array.isArray(n)&&(n=w(n));var i;for(var a in n)!function(a){if("class"===a||"style"===a||gi(a))i=e;else{var s=e.attrs&&e.attrs.type;i=r||Si.mustUseProp(t,s,a)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}if(!(a in i)&&(i[a]=n[a],o)){(e.on||(e.on={}))["update:"+a]=function(e){n[a]=e}}}(a)}else Xi("v-bind without argument expects an Object or Array value",this);return e}function dt(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t?Array.isArray(r)?N(r):I(r):(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,null,this),ht(r,"__static__"+e,!1),r)}function vt(e,t,n){return ht(e,"__once__"+t+(n?"_"+n:""),!0),e}function ht(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&mt(e[r],t+"_"+r,n);else mt(e,t,n)}function mt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function yt(e,t){if(t)if(c(t)){var n=e.on=e.on?b({},e.on):{};for(var r in t){var o=n[r],i=t[r];n[r]=o?[].concat(o,i):i}}else Xi("v-on without argument expects an Object value",this);return e}function gt(e){e._o=vt,e._n=d,e._s=p,e._l=ut,e._t=ct,e._q=$,e._i=C,e._m=dt,e._f=lt,e._k=ft,e._b=pt,e._v=M,e._e=ca,e._u=Ne,e._g=yt}function _t(e,t,n,r,i){var a=i.options;this.data=e,this.props=t,this.children=n,this.parent=r,this.listeners=e.on||hi,this.injections=st(a.inject,r),this.slots=function(){return Me(n,r)};var s=Object.create(r),u=o(a._compiled),c=!u;u&&(this.$options=a,this.$slots=this.slots(),this.$scopedSlots=e.scopedSlots||hi),a._scopeId?this._c=function(e,t,n,o){var i=Ot(s,e,t,n,o,c);return i&&(i.fnScopeId=a._scopeId,i.fnContext=r),i}:this._c=function(e,t,n,r){return Ot(s,e,t,n,r,c)}}function bt(e,t,n,o,i){var a=e.options,s={},u=a.props;if(r(u))for(var c in u)s[c]=ee(c,u,t||hi);else r(n.attrs)&&wt(s,n.attrs),r(n.props)&&wt(s,n.props);var l=new _t(n,s,i,o,e),f=a.render.call(null,l._c,l);return f instanceof sa&&(f.fnContext=o,f.fnOptions=a,n.slot&&((f.data||(f.data={})).slot=n.slot)),f}function wt(e,t){for(var n in t)e[wi(n)]=t[n]}function xt(t,n,i,a,u){if(!e(t)){var c=i.$options._base;if(s(t)&&(t=c.extend(t)),"function"!=typeof t)return void Xi("Invalid Component definition: "+String(t),i);var l;if(e(t.cid)&&(l=t,void 0===(t=ke(l,c,i))))return Ce(l,n,i,a,u);n=n||{},Mt(t),r(n.model)&&At(t.options,n);var f=ye(n,t,u);if(o(t.options.functional))return bt(t,f,n,i,a);var p=n.on;if(n.on=n.nativeOn,o(t.options.abstract)){var d=n.slot;n={},d&&(n.slot=d)}Ct(n);var v=t.options.name||u;return new sa("vue-component-"+t.cid+(v?"-"+v:""),n,void 0,void 0,void 0,i,{Ctor:t,propsData:f,listeners:p,tag:u,children:a},l)}}function $t(e,t,n,o){var i={_isComponent:!0,parent:t,_parentVnode:e,_parentElm:n||null,_refElm:o||null},a=e.data.inlineTemplate;return r(a)&&(i.render=a.render,i.staticRenderFns=a.staticRenderFns),new e.componentOptions.Ctor(i)}function Ct(e){e.hook||(e.hook={});for(var t=0;t<es.length;t++){var n=es[t],r=e.hook[n],o=Qa[n];e.hook[n]=r?kt(o,r):o}}function kt(e,t){return function(n,r,o,i){e(n,r,o,i),t(n,r,o,i)}}function At(e,t){var n=e.model&&e.model.prop||"value",o=e.model&&e.model.event||"input";(t.props||(t.props={}))[n]=t.model.value;var i=t.on||(t.on={});r(i[o])?i[o]=[t.model.callback].concat(i[o]):i[o]=t.model.callback}function Ot(e,t,n,r,i,s){return(Array.isArray(n)||a(n))&&(i=r,r=n,n=void 0),o(s)&&(i=ns),jt(e,t,n,r,i)}function jt(e,t,n,o,i){if(r(n)&&r(n.__ob__))return Xi("Avoid using observed data object as vnode data: "+JSON.stringify(n)+"\nAlways create fresh vnode data objects in each render!",e),ca();if(r(n)&&r(n.is)&&(t=n.is),!t)return ca();r(n)&&r(n.key)&&!a(n.key)&&Xi("Avoid using non-primitive value as key, use string/number value instead.",e),Array.isArray(o)&&"function"==typeof o[0]&&(n=n||{},n.scopedSlots={default:o[0]},o.length=0),i===ns?o=be(o):i===ts&&(o=_e(o));var s,u;if("string"==typeof t){var c;u=e.$vnode&&e.$vnode.ns||Si.getTagNamespace(t),s=Si.isReservedTag(t)?new sa(Si.parsePlatformTagName(t),n,o,void 0,void 0,e):r(c=Q(e.$options,"components",t))?xt(c,n,e,o,t):new sa(t,n,o,void 0,void 0,e)}else s=xt(t,n,e,o);return r(s)?(u&&Tt(s,u),s):ca()}function Tt(t,n,i){if(t.ns=n,"foreignObject"===t.tag&&(n=void 0,i=!0),r(t.children))for(var a=0,s=t.children.length;a<s;a++){var u=t.children[a];r(u.tag)&&(e(u.ns)||o(i))&&Tt(u,n,i)}}function St(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=Me(t._renderChildren,r),e.$scopedSlots=hi,e._c=function(t,n,r,o){return Ot(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return Ot(e,t,n,r,o,!0)};var o=n&&n.data;D(e,"$attrs",o&&o.attrs||hi,function(){!Ua&&Xi("$attrs is readonly.",e)},!0),D(e,"$listeners",t._parentListeners||hi,function(){!Ua&&Xi("$listeners is readonly.",e)},!0)}function Et(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r,n._parentElm=t._parentElm,n._refElm=t._refElm;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}function Mt(e){var t=e.options;if(e.super){var n=Mt(e.super);if(n!==e.superOptions){e.superOptions=n;var r=It(e);r&&b(e.extendOptions,r),t=e.options=Z(n,e.extendOptions),t.name&&(t.components[t.name]=e)}}return t}function It(e){var t,n=e.options,r=e.extendOptions,o=e.sealedOptions;for(var i in n)n[i]!==o[i]&&(t||(t={}),t[i]=Nt(n[i],r[i],o[i]));return t}function Nt(e,t,n){if(Array.isArray(e)){var r=[];n=Array.isArray(n)?n:[n],t=Array.isArray(t)?t:[t];for(var o=0;o<e.length;o++)(t.indexOf(e[o])>=0||n.indexOf(e[o])<0)&&r.push(e[o]);return r}return e}function Pt(e){this instanceof Pt||Xi("Vue is a constructor and should be called with the `new` keyword"),this._init(e)}function Lt(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=_(arguments,1);return n.unshift(this),"function"==typeof e.install?e.install.apply(e,n):"function"==typeof e&&e.apply(null,n),t.push(e),this}}function Ft(e){e.mixin=function(e){return this.options=Z(this.options,e),this}}function Dt(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,o=e._Ctor||(e._Ctor={});if(o[r])return o[r];var i=e.name||n.options.name;i&&W(i);var a=function(e){this._init(e)};return a.prototype=Object.create(n.prototype),a.prototype.constructor=a,a.cid=t++,a.options=Z(n.options,e),a.super=n,a.options.props&&Rt(a),a.options.computed&&Ut(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,ji.forEach(function(e){a[e]=n[e]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=e,a.sealedOptions=b({},a.options),o[r]=a,a}}function Rt(e){var t=e.options.props;for(var n in t)Ke(e.prototype,"_props",n)}function Ut(e){var t=e.options.computed;for(var n in t)et(e.prototype,n,t[n])}function Bt(e){ji.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&W(e),"component"===t&&c(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&"function"==typeof n&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}function Ht(e){return e&&(e.Ctor.options.name||e.tag)}function Vt(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!l(e)&&e.test(t)}function zt(e,t){var n=e.cache,r=e.keys,o=e._vnode;for(var i in n){var a=n[i];if(a){var s=Ht(a.componentOptions);s&&!t(s)&&Jt(n,i,r,o)}}}function Jt(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,h(n,t)}function qt(e){for(var t=e.data,n=e,o=e;r(o.componentInstance);)(o=o.componentInstance._vnode)&&o.data&&(t=Wt(o.data,t));for(;r(n=n.parent);)n&&n.data&&(t=Wt(t,n.data));return Kt(t.staticClass,t.class)}function Wt(e,t){return{staticClass:Gt(e.staticClass,t.staticClass),class:r(e.class)?[e.class,t.class]:t.class}}function Kt(e,t){return r(e)||r(t)?Gt(e,Xt(t)):""}function Gt(e,t){return e?t?e+" "+t:e:t||""}function Xt(e){return Array.isArray(e)?Yt(e):s(e)?Zt(e):"string"==typeof e?e:""}function Yt(e){for(var t,n="",o=0,i=e.length;o<i;o++)r(t=Xt(e[o]))&&""!==t&&(n&&(n+=" "),n+=t);return n}function Zt(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}function Qt(e){return Os(e)?"svg":"math"===e?"math":void 0}function en(e){if(!Ii)return!0;if(Ts(e))return!1;if(e=e.toLowerCase(),null!=Ss[e])return Ss[e];var t=document.createElement(e);return e.indexOf("-")>-1?Ss[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Ss[e]=/HTMLUnknownElement/.test(t.toString())}function tn(e){if("string"==typeof e){var t=document.querySelector(e);return t||(Xi("Cannot find element: "+e),document.createElement("div"))}return e}function nn(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)}function rn(e,t){return document.createElementNS(ks[e],t)}function on(e){return document.createTextNode(e)}function an(e){return document.createComment(e)}function sn(e,t,n){e.insertBefore(t,n)}function un(e,t){e.removeChild(t)}function cn(e,t){e.appendChild(t)}function ln(e){return e.parentNode}function fn(e){return e.nextSibling}function pn(e){return e.tagName}function dn(e,t){e.textContent=t}function vn(e,t,n){e.setAttribute(t,n)}function hn(e,t){var n=e.data.ref;if(n){var r=e.context,o=e.componentInstance||e.elm,i=r.$refs;t?Array.isArray(i[n])?h(i[n],o):i[n]===o&&(i[n]=void 0):e.data.refInFor?Array.isArray(i[n])?i[n].indexOf(o)<0&&i[n].push(o):i[n]=[o]:i[n]=o}}function mn(t,n){return t.key===n.key&&(t.tag===n.tag&&t.isComment===n.isComment&&r(t.data)===r(n.data)&&yn(t,n)||o(t.isAsyncPlaceholder)&&t.asyncFactory===n.asyncFactory&&e(n.asyncFactory.error))}function yn(e,t){if("input"!==e.tag)return!0;var n,o=r(n=e.data)&&r(n=n.attrs)&&n.type,i=r(n=t.data)&&r(n=n.attrs)&&n.type;return o===i||Es(o)&&Es(i)}function gn(e,t,n){var o,i,a={};for(o=t;o<=n;++o)i=e[o].key,r(i)&&(a[i]=o);return a}function _n(e,t){(e.data.directives||t.data.directives)&&bn(e,t)}function bn(e,t){var n,r,o,i=e===Ns,a=t===Ns,s=wn(e.data.directives,e.context),u=wn(t.data.directives,t.context),c=[],l=[];for(n in u)r=s[n],o=u[n],r?(o.oldValue=r.value,$n(o,"update",t,e),o.def&&o.def.componentUpdated&&l.push(o)):($n(o,"bind",t,e),o.def&&o.def.inserted&&c.push(o));if(c.length){var f=function(){for(var n=0;n<c.length;n++)$n(c[n],"inserted",t,e)};i?me(t,"insert",f):f()}if(l.length&&me(t,"postpatch",function(){for(var n=0;n<l.length;n++)$n(l[n],"componentUpdated",t,e)}),!i)for(n in s)u[n]||$n(s[n],"unbind",e,e,a)}function wn(e,t){var n=Object.create(null);if(!e)return n;var r,o;for(r=0;r<e.length;r++)o=e[r],o.modifiers||(o.modifiers=Fs),n[xn(o)]=o,o.def=Q(t.$options,"directives",o.name,!0);return n}function xn(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{}).join(".")}function $n(e,t,n,r,o){var i=e.def&&e.def[t];if(i)try{i(n.elm,e,n,r,o)}catch(r){ae(r,n.context,"directive "+e.name+" "+t+" hook")}}function Cn(t,n){var o=n.componentOptions;if(!(r(o)&&!1===o.Ctor.options.inheritAttrs||e(t.data.attrs)&&e(n.data.attrs))){var i,a,s=n.elm,u=t.data.attrs||{},c=n.data.attrs||{};r(c.__ob__)&&(c=n.data.attrs=b({},c));for(i in c)a=c[i],u[i]!==a&&kn(s,i,a);(Fi||Ri)&&c.value!==u.value&&kn(s,"value",c.value);for(i in u)e(c[i])&&(xs(i)?s.removeAttributeNS(ws,$s(i)):_s(i)||s.removeAttribute(i))}}function kn(e,t,n){if(bs(t))Cs(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n));else if(_s(t))e.setAttribute(t,Cs(n)||"false"===n?"false":"true");else if(xs(t))Cs(n)?e.removeAttributeNS(ws,$s(t)):e.setAttributeNS(ws,t,n);else if(Cs(n))e.removeAttribute(t);else{if(Fi&&!Di&&"TEXTAREA"===e.tagName&&"placeholder"===t&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}function An(t,n){var o=n.elm,i=n.data,a=t.data;if(!(e(i.staticClass)&&e(i.class)&&(e(a)||e(a.staticClass)&&e(a.class)))){var s=qt(n),u=o._transitionClasses;r(u)&&(s=Gt(s,Xt(u))),s!==o._prevClass&&(o.setAttribute("class",s),o._prevClass=s)}}function On(e){function t(){(a||(a=[])).push(e.slice(v,o).trim()),v=o+1}var n,r,o,i,a,s=!1,u=!1,c=!1,l=!1,f=0,p=0,d=0,v=0;for(o=0;o<e.length;o++)if(r=n,n=e.charCodeAt(o),s)39===n&&92!==r&&(s=!1);else if(u)34===n&&92!==r&&(u=!1);else if(c)96===n&&92!==r&&(c=!1);else if(l)47===n&&92!==r&&(l=!1);else if(124!==n||124===e.charCodeAt(o+1)||124===e.charCodeAt(o-1)||f||p||d){switch(n){case 34:u=!0;break;case 39:s=!0;break;case 96:c=!0;break;case 40:d++;break;case 41:d--;break;case 91:p++;break;case 93:p--;break;case 123:f++;break;case 125:f--}if(47===n){for(var h=o-1,m=void 0;h>=0&&" "===(m=e.charAt(h));h--);m&&Bs.test(m)||(l=!0)}}else void 0===i?(v=o+1,i=e.slice(0,o).trim()):t();if(void 0===i?i=e.slice(0,o).trim():0!==v&&t(),a)for(o=0;o<a.length;o++)i=jn(i,a[o]);return i}function jn(e,t){var n=t.indexOf("(");return n<0?'_f("'+t+'")('+e+")":'_f("'+t.slice(0,n)+'")('+e+","+t.slice(n+1)}function Tn(e){}function Sn(e,t){return e?e.map(function(e){return e[t]}).filter(function(e){return e}):[]}function En(e,t,n){(e.props||(e.props=[])).push({name:t,value:n}),e.plain=!1}function Mn(e,t,n){(e.attrs||(e.attrs=[])).push({name:t,value:n}),e.plain=!1}function In(e,t,n){e.attrsMap[t]=n,e.attrsList.push({name:t,value:n})}function Nn(e,t,n,r,o,i){(e.directives||(e.directives=[])).push({name:t,rawName:n,value:r,arg:o,modifiers:i}),e.plain=!1}function Pn(e,t,n,r,o,i){r=r||hi,i&&r.prevent&&r.passive&&i("passive and prevent can't be used together. Passive handler can't prevent default event."),r.capture&&(delete r.capture,t="!"+t),r.once&&(delete r.once,t="~"+t),r.passive&&(delete r.passive,t="&"+t),"click"===t&&(r.right?(t="contextmenu",delete r.right):r.middle&&(t="mouseup"));var a;r.native?(delete r.native,a=e.nativeEvents||(e.nativeEvents={})):a=e.events||(e.events={});var s={value:n};r!==hi&&(s.modifiers=r);var u=a[t];Array.isArray(u)?o?u.unshift(s):u.push(s):a[t]=u?o?[s,u]:[u,s]:s,e.plain=!1}function Ln(e,t,n){var r=Fn(e,":"+t)||Fn(e,"v-bind:"+t);if(null!=r)return On(r);if(!1!==n){var o=Fn(e,t);if(null!=o)return JSON.stringify(o)}}function Fn(e,t,n){var r;if(null!=(r=e.attrsMap[t]))for(var o=e.attrsList,i=0,a=o.length;i<a;i++)if(o[i].name===t){o.splice(i,1);break}return n&&delete e.attrsMap[t],r}function Dn(e,t,n){var r=n||{},o=r.number,i=r.trim,a="$$v";i&&(a="(typeof $$v === 'string'? $$v.trim(): $$v)"),o&&(a="_n("+a+")");var s=Rn(t,a);e.model={value:"("+t+")",expression:'"'+t+'"',callback:"function ($$v) {"+s+"}"}}function Rn(e,t){var n=Un(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Un(e){if(ss=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<ss-1)return ls=e.lastIndexOf("."),ls>-1?{exp:e.slice(0,ls),key:'"'+e.slice(ls+1)+'"'}:{exp:e,key:null};for(us=e,ls=fs=ps=0;!Hn();)cs=Bn(),Vn(cs)?Jn(cs):91===cs&&zn(cs);return{exp:e.slice(0,fs),key:e.slice(fs+1,ps)}}function Bn(){return us.charCodeAt(++ls)}function Hn(){return ls>=ss}function Vn(e){return 34===e||39===e}function zn(e){var t=1;for(fs=ls;!Hn();)if(e=Bn(),Vn(e))Jn(e);else if(91===e&&t++,93===e&&t--,0===t){ps=ls;break}}function Jn(e){for(var t=e;!Hn()&&(e=Bn())!==t;);}function qn(e,t,n){ds=n;var r=t.value,o=t.modifiers,i=e.tag,a=e.attrsMap.type;if("input"===i&&"file"===a&&ds("<"+e.tag+' v-model="'+r+'" type="file">:\nFile inputs are read only. Use a v-on:change listener instead.'),e.component)return Dn(e,r,o),!1;if("select"===i)Gn(e,r,o);else if("input"===i&&"checkbox"===a)Wn(e,r,o);else if("input"===i&&"radio"===a)Kn(e,r,o);else if("input"===i||"textarea"===i)Xn(e,r,o);else{if(!Si.isReservedTag(i))return Dn(e,r,o),!1;ds("<"+e.tag+' v-model="'+r+"\">: v-model is not supported on this element type. If you are working with contenteditable, it's recommended to wrap a library dedicated for that purpose inside a custom component.")}return!0}function Wn(e,t,n){var r=n&&n.number,o=Ln(e,"value")||"null",i=Ln(e,"true-value")||"true",a=Ln(e,"false-value")||"false";En(e,"checked","Array.isArray("+t+")?_i("+t+","+o+")>-1"+("true"===i?":("+t+")":":_q("+t+","+i+")")),Pn(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+i+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+o+")":o)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+t+"=$$a.concat([$$v]))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+Rn(t,"$$c")+"}",null,!0)}function Kn(e,t,n){var r=n&&n.number,o=Ln(e,"value")||"null";o=r?"_n("+o+")":o,En(e,"checked","_q("+t+","+o+")"),Pn(e,"change",Rn(t,o),null,!0)}function Gn(e,t,n){var r=n&&n.number,o='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})",i="var $$selectedVal = "+o+";";i=i+" "+Rn(t,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),Pn(e,"change",i,null,!0)}function Xn(e,t,n){var r=e.attrsMap.type,o=e.attrsMap["v-bind:value"]||e.attrsMap[":value"];if(o){var i=e.attrsMap["v-bind:value"]?"v-bind:value":":value";ds(i+'="'+o+'" conflicts with v-model on the same element because the latter already expands to a value binding internally')}var a=n||{},s=a.lazy,u=a.number,c=a.trim,l=!s&&"range"!==r,f=s?"change":"range"===r?Hs:"input",p="$event.target.value";c&&(p="$event.target.value.trim()"),u&&(p="_n("+p+")");var d=Rn(t,p);l&&(d="if($event.target.composing)return;"+d),En(e,"value","("+t+")"),Pn(e,f,d,null,!0),(c||u)&&Pn(e,"blur","$forceUpdate()")}function Yn(e){if(r(e[Hs])){var t=Fi?"change":"input";e[t]=[].concat(e[Hs],e[t]||[]),delete e[Hs]}r(e[Vs])&&(e.change=[].concat(e[Vs],e.change||[]),delete e[Vs])}function Zn(e,t,n){var r=vs;return function o(){null!==e.apply(null,arguments)&&er(t,o,n,r)}}function Qn(e,t,n,r,o){t=le(t),n&&(t=Zn(t,e,r)),vs.addEventListener(e,t,Vi?{capture:r,passive:o}:r)}function er(e,t,n,r){(r||vs).removeEventListener(e,t._withTask||t,n)}function tr(t,n){if(!e(t.data.on)||!e(n.data.on)){var r=n.data.on||{},o=t.data.on||{};vs=n.elm,Yn(r),he(r,o,Qn,er,n.context),vs=void 0}}function nr(t,n){if(!e(t.data.domProps)||!e(n.data.domProps)){var o,i,a=n.elm,s=t.data.domProps||{},u=n.data.domProps||{};r(u.__ob__)&&(u=n.data.domProps=b({},u));for(o in s)e(u[o])&&(a[o]="");for(o in u){if(i=u[o],"textContent"===o||"innerHTML"===o){if(n.children&&(n.children.length=0),i===s[o])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===o){a._value=i;var c=e(i)?"":String(i);rr(a,c)&&(a.value=c)}else a[o]=i}}}function rr(e,t){return!e.composing&&("OPTION"===e.tagName||or(e,t)||ir(e,t))}function or(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}function ir(e,t){var n=e.value,o=e._vModifiers;if(r(o)){if(o.lazy)return!1;if(o.number)return d(n)!==d(t);if(o.trim)return n.trim()!==t.trim()}return n!==t}function ar(e){var t=sr(e.style);return e.staticStyle?b(e.staticStyle,t):t}function sr(e){return Array.isArray(e)?w(e):"string"==typeof e?qs(e):e}function ur(e,t){var n,r={};if(t)for(var o=e;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=ar(o.data))&&b(r,n);(n=ar(e.data))&&b(r,n);for(var i=e;i=i.parent;)i.data&&(n=ar(i.data))&&b(r,n);return r}function cr(t,n){var o=n.data,i=t.data;if(!(e(o.staticStyle)&&e(o.style)&&e(i.staticStyle)&&e(i.style))){var a,s,u=n.elm,c=i.staticStyle,l=i.normalizedStyle||i.style||{},f=c||l,p=sr(n.data.style)||{};n.data.normalizedStyle=r(p.__ob__)?b({},p):p;var d=ur(n,!0);for(s in f)e(d[s])&&Gs(u,s,"");for(s in d)(a=d[s])!==f[s]&&Gs(u,s,null==a?"":a)}}function lr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+(e.getAttribute("class")||"")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function fr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" "+(e.getAttribute("class")||"")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");n=n.trim(),n?e.setAttribute("class",n):e.removeAttribute("class")}}function pr(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&b(t,Qs(e.name||"v")),b(t,e),t}return"string"==typeof e?Qs(e):void 0}}function dr(e){su(function(){su(e)})}function vr(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),lr(e,t))}function hr(e,t){e._transitionClasses&&h(e._transitionClasses,t),fr(e,t)}function mr(e,t,n){var r=yr(e,t),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===tu?ou:au,u=0,c=function(){e.removeEventListener(s,l),n()},l=function(t){t.target===e&&++u>=a&&c()};setTimeout(function(){u<a&&c()},i+1),e.addEventListener(s,l)}function yr(e,t){
var n,r=window.getComputedStyle(e),o=r[ru+"Delay"].split(", "),i=r[ru+"Duration"].split(", "),a=gr(o,i),s=r[iu+"Delay"].split(", "),u=r[iu+"Duration"].split(", "),c=gr(s,u),l=0,f=0;return t===tu?a>0&&(n=tu,l=a,f=i.length):t===nu?c>0&&(n=nu,l=c,f=u.length):(l=Math.max(a,c),n=l>0?a>c?tu:nu:null,f=n?n===tu?i.length:u.length:0),{type:n,timeout:l,propCount:f,hasTransform:n===tu&&uu.test(r[ru+"Property"])}}function gr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(t,n){return _r(t)+_r(e[n])}))}function _r(e){return 1e3*Number(e.slice(0,-1))}function br(t,n){var o=t.elm;r(o._leaveCb)&&(o._leaveCb.cancelled=!0,o._leaveCb());var i=pr(t.data.transition);if(!e(i)&&!r(o._enterCb)&&1===o.nodeType){for(var a=i.css,u=i.type,c=i.enterClass,l=i.enterToClass,f=i.enterActiveClass,p=i.appearClass,v=i.appearToClass,h=i.appearActiveClass,m=i.beforeEnter,y=i.enter,g=i.afterEnter,_=i.enterCancelled,b=i.beforeAppear,w=i.appear,x=i.afterAppear,$=i.appearCancelled,C=i.duration,A=Ra,O=Ra.$vnode;O&&O.parent;)O=O.parent,A=O.context;var j=!A._isMounted||!t.isRootInsert;if(!j||w||""===w){var T=j&&p?p:c,S=j&&h?h:f,E=j&&v?v:l,M=j?b||m:m,I=j&&"function"==typeof w?w:y,N=j?x||g:g,P=j?$||_:_,L=d(s(C)?C.enter:C);null!=L&&xr(L,"enter",t);var F=!1!==a&&!Di,D=Cr(I),R=o._enterCb=k(function(){F&&(hr(o,E),hr(o,S)),R.cancelled?(F&&hr(o,T),P&&P(o)):N&&N(o),o._enterCb=null});t.data.show||me(t,"insert",function(){var e=o.parentNode,n=e&&e._pending&&e._pending[t.key];n&&n.tag===t.tag&&n.elm._leaveCb&&n.elm._leaveCb(),I&&I(o,R)}),M&&M(o),F&&(vr(o,T),vr(o,S),dr(function(){vr(o,E),hr(o,T),R.cancelled||D||($r(L)?setTimeout(R,L):mr(o,u,R))})),t.data.show&&(n&&n(),I&&I(o,R)),F||D||R()}}}function wr(t,n){function o(){$.cancelled||(t.data.show||((i.parentNode._pending||(i.parentNode._pending={}))[t.key]=t),v&&v(i),b&&(vr(i,l),vr(i,p),dr(function(){vr(i,f),hr(i,l),$.cancelled||w||($r(x)?setTimeout($,x):mr(i,c,$))})),h&&h(i,$),b||w||$())}var i=t.elm;r(i._enterCb)&&(i._enterCb.cancelled=!0,i._enterCb());var a=pr(t.data.transition);if(e(a)||1!==i.nodeType)return n();if(!r(i._leaveCb)){var u=a.css,c=a.type,l=a.leaveClass,f=a.leaveToClass,p=a.leaveActiveClass,v=a.beforeLeave,h=a.leave,m=a.afterLeave,y=a.leaveCancelled,g=a.delayLeave,_=a.duration,b=!1!==u&&!Di,w=Cr(h),x=d(s(_)?_.leave:_);r(x)&&xr(x,"leave",t);var $=i._leaveCb=k(function(){i.parentNode&&i.parentNode._pending&&(i.parentNode._pending[t.key]=null),b&&(hr(i,f),hr(i,p)),$.cancelled?(b&&hr(i,l),y&&y(i)):(n(),m&&m(i)),i._leaveCb=null});g?g(o):o()}}function xr(e,t,n){"number"!=typeof e?Xi("<transition> explicit "+t+" duration is not a valid number - got "+JSON.stringify(e)+".",n.context):isNaN(e)&&Xi("<transition> explicit "+t+" duration is NaN - the duration expression might be incorrect.",n.context)}function $r(e){return"number"==typeof e&&!isNaN(e)}function Cr(t){if(e(t))return!1;var n=t.fns;return r(n)?Cr(Array.isArray(n)?n[0]:n):(t._length||t.length)>1}function kr(e,t){!0!==t.data.show&&br(t)}function Ar(e,t,n){Or(e,t,n),(Fi||Ri)&&setTimeout(function(){Or(e,t,n)},0)}function Or(e,t,n){var r=t.value,o=e.multiple;if(o&&!Array.isArray(r))return void Xi('<select multiple v-model="'+t.expression+'"> expects an Array value for its binding, but got '+Object.prototype.toString.call(r).slice(8,-1),n);for(var i,a,s=0,u=e.options.length;s<u;s++)if(a=e.options[s],o)i=C(r,Tr(a))>-1,a.selected!==i&&(a.selected=i);else if($(Tr(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));o||(e.selectedIndex=-1)}function jr(e,t){return t.every(function(t){return!$(t,e)})}function Tr(e){return"_value"in e?e._value:e.value}function Sr(e){e.target.composing=!0}function Er(e){e.target.composing&&(e.target.composing=!1,Mr(e.target,"input"))}function Mr(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Ir(e){return!e.componentInstance||e.data&&e.data.transition?e:Ir(e.componentInstance._vnode)}function Nr(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Nr(Oe(t.children)):e}function Pr(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var o=n._parentListeners;for(var i in o)t[wi(i)]=o[i];return t}function Lr(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}function Fr(e){for(;e=e.parent;)if(e.data.transition)return!0}function Dr(e,t){return t.key===e.key&&t.tag===e.tag}function Rr(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Ur(e){e.data.newPos=e.elm.getBoundingClientRect()}function Br(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,o=t.top-n.top;if(r||o){e.data.moved=!0;var i=e.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}function Hr(e,t){var n=t?Cu(t):xu;if(n.test(e)){for(var r,o,i,a=[],s=[],u=n.lastIndex=0;r=n.exec(e);){o=r.index,o>u&&(s.push(i=e.slice(u,o)),a.push(JSON.stringify(i)));var c=On(r[1].trim());a.push("_s("+c+")"),s.push({"@binding":c}),u=o+r[0].length}return u<e.length&&(s.push(i=e.slice(u)),a.push(JSON.stringify(i))),{expression:a.join("+"),tokens:s}}}function Vr(e,t){var n=t.warn||Tn,r=Fn(e,"class");if(r){Hr(r,t.delimiters)&&n('class="'+r+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div class="{{ val }}">, use <div :class="val">.')}r&&(e.staticClass=JSON.stringify(r));var o=Ln(e,"class",!1);o&&(e.classBinding=o)}function zr(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}function Jr(e,t){var n=t.warn||Tn,r=Fn(e,"style");if(r){Hr(r,t.delimiters)&&n('style="'+r+'": Interpolation inside attributes has been removed. Use v-bind or the colon shorthand instead. For example, instead of <div style="{{ val }}">, use <div :style="val">.'),e.staticStyle=JSON.stringify(qs(r))}var o=Ln(e,"style",!1);o&&(e.styleBinding=o)}function qr(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}function Wr(e,t){var n=t?nc:tc;return e.replace(n,function(e){return ec[e]})}function Kr(e,t){function n(t){l+=t,e=e.substring(t)}function r(e,n,r){var o,s;if(null==n&&(n=l),null==r&&(r=l),e&&(s=e.toLowerCase()),e)for(o=a.length-1;o>=0&&a[o].lowerCasedTag!==s;o--);else o=0;if(o>=0){for(var u=a.length-1;u>=o;u--)(u>o||!e)&&t.warn&&t.warn("tag <"+a[u].tag+"> has no matching end tag."),t.end&&t.end(a[u].tag,n,r);a.length=o,i=o&&a[o-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,r):"p"===s&&(t.start&&t.start(e,[],!1,n,r),t.end&&t.end(e,n,r))}for(var o,i,a=[],s=t.expectHTML,u=t.isUnaryTag||ki,c=t.canBeLeftOpenTag||ki,l=0;e;){if(o=e,i&&Zu(i)){var f=0,p=i.toLowerCase(),d=Qu[p]||(Qu[p]=new RegExp("([\\s\\S]*?)(</"+p+"[^>]*>)","i")),v=e.replace(d,function(e,n,r){return f=r.length,Zu(p)||"noscript"===p||(n=n.replace(/<!--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),oc(p,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});l+=e.length-v.length,e=v,r(p,l-f,l)}else{var h=e.indexOf("<");if(0===h){if(Du.test(e)){var m=e.indexOf("--\x3e");if(m>=0){t.shouldKeepComment&&t.comment(e.substring(4,m)),n(m+3);continue}}if(Ru.test(e)){var y=e.indexOf("]>");if(y>=0){n(y+2);continue}}var g=e.match(Fu);if(g){n(g[0].length);continue}var _=e.match(Lu);if(_){var b=l;n(_[0].length),r(_[1],b,l);continue}var w=function(){var t=e.match(Nu);if(t){var r={tagName:t[1],attrs:[],start:l};n(t[0].length);for(var o,i;!(o=e.match(Pu))&&(i=e.match(Eu));)n(i[0].length),r.attrs.push(i);if(o)return r.unarySlash=o[1],n(o[0].length),r.end=l,r}}();if(w){!function(e){var n=e.tagName,o=e.unarySlash;s&&("p"===i&&Su(n)&&r(i),c(n)&&i===n&&r(n));for(var l=u(n)||!!o,f=e.attrs.length,p=new Array(f),d=0;d<f;d++){var v=e.attrs[d];Uu&&-1===v[0].indexOf('""')&&(""===v[3]&&delete v[3],""===v[4]&&delete v[4],""===v[5]&&delete v[5]);var h=v[3]||v[4]||v[5]||"",m="a"===n&&"href"===v[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;p[d]={name:v[1],value:Wr(h,m)}}l||(a.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:p}),i=n),t.start&&t.start(n,p,l,e.start,e.end)}(w),oc(i,e)&&n(1);continue}}var x=void 0,$=void 0,C=void 0;if(h>=0){for($=e.slice(h);!(Lu.test($)||Nu.test($)||Du.test($)||Ru.test($)||(C=$.indexOf("<",1))<0);)h+=C,$=e.slice(h);x=e.substring(0,h),n(h)}h<0&&(x=e,e=""),t.chars&&x&&t.chars(x)}if(e===o){t.chars&&t.chars(e),!a.length&&t.warn&&t.warn('Ma
gitextract_94_0rqxq/ ├── .babelrc ├── .editorconfig ├── .eslintrc ├── .gitignore ├── .npmignore ├── LICENSE ├── README.md ├── build/ │ ├── dev-server.js │ ├── happypack.js │ ├── webpack.base.config.js │ ├── webpack.dev.config.js │ └── webpack.prod.config.js ├── components/ │ ├── area-cascader/ │ │ ├── cascader/ │ │ │ ├── caspanel.vue │ │ │ └── index.vue │ │ ├── index.js │ │ ├── index.vue │ │ └── mixins/ │ │ └── emitter.js │ └── area-select/ │ ├── index.js │ ├── index.vue │ └── select/ │ ├── index.vue │ └── option.vue ├── components.json ├── config/ │ └── index.js ├── demo/ │ ├── gh.ac2a7e95.css │ ├── gh.f9e788c4.js │ └── vendor.8d61534d.js ├── dist/ │ ├── index.css │ ├── index.js │ └── lib/ │ ├── area-cascader.js │ └── area-select.js ├── gh/ │ ├── components/ │ │ ├── footer/ │ │ │ └── index.vue │ │ ├── header/ │ │ │ └── index.vue │ │ ├── main/ │ │ │ ├── area-code.vue │ │ │ ├── area.vue │ │ │ ├── basic.vue │ │ │ ├── cas-area-code.vue │ │ │ ├── cas-area.vue │ │ │ ├── cas-basic.vue │ │ │ ├── cas-default-value.vue │ │ │ ├── cas-placeholder.vue │ │ │ ├── cas-returns.vue │ │ │ ├── default-value.vue │ │ │ ├── index.less │ │ │ ├── index.vue │ │ │ ├── placeholders.vue │ │ │ ├── province.vue │ │ │ ├── returns.vue │ │ │ └── size.vue │ │ └── start/ │ │ ├── index.less │ │ └── index.vue │ ├── general/ │ │ └── app/ │ │ └── index.vue │ └── page/ │ ├── index.js │ └── reset.css ├── index.html ├── package.json ├── postcss.config.js ├── src/ │ ├── bus.js │ ├── index.js │ ├── index.less │ └── utils.js ├── tpl.html ├── webpack.build.config.js └── webpack.components.config.js
SYMBOL INDEX (817 symbols across 10 files)
FILE: build/dev-server.js
function compiledFail (line 20) | function compiledFail () {
FILE: components/area-cascader/mixins/emitter.js
function broadcast (line 1) | function broadcast (componentName, eventName, params) {
method broadcast (line 29) | broadcast (componentName, eventName, params) {
FILE: demo/gh.f9e788c4.js
function a (line 1) | function a(e,t){if(!Object.prototype.toString.call(e).includes("Element"...
function i (line 1) | function i(e){arguments.length>1&&void 0!==arguments[1]&&arguments[1]}
function n (line 1) | function n(e){return"[object Array]"===Object.prototype.toString.call(e)}
function r (line 1) | function r(e,t){if(!t)return void(e.scrollTop=0);var s=t.offsetTop,a=t.o...
function l (line 1) | function l(e,t){var s=t.height,a=t.top,i=document.documentElement.client...
function a (line 1) | function a(e,t,s){this.$children.forEach(function(i){i.$options.name===e...
function a (line 1) | function a(e){d.a.saveVueRef(e),h.map(function(t){e.component(t.name,t)})}
function a (line 1) | function a(e){s(54)}
function a (line 1) | function a(e){s(113)}
function a (line 1) | function a(e){s(117)}
function a (line 1) | function a(e){s(127)}
function a (line 2) | function a(e){s(173)}
FILE: demo/vendor.8d61534d.js
function t (line 1) | function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{...
function n (line 1) | function n(e,t){var n=e[1]||"",o=e[3];if(!o)return n;if(t&&"function"==t...
function r (line 1) | function r(e){return"/*# sourceMappingURL=data:application/json;charset=...
function r (line 1) | function r(e){for(var t=0;t<e.length;t++){var n=e[t],r=l[n.id];if(r){r.r...
function o (line 1) | function o(){var e=document.createElement("style");return e.type="text/c...
function i (line 1) | function i(e){var t,n,r=document.querySelector("style["+y+'~="'+e.id+'"]...
function a (line 1) | function a(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssTex...
function s (line 1) | function s(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute...
function r (line 1) | function r(e,t){for(var n=-1,r=e?e.length:0;++n<r;)if(t(e[n],n,e))return...
function o (line 1) | function o(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[...
function i (line 1) | function i(e){return function(t){return null==t?void 0:t[e]}}
function a (line 1) | function a(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}
function s (line 1) | function s(e,t){return null==e?void 0:e[t]}
function u (line 1) | function u(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!...
function c (line 1) | function c(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[...
function l (line 1) | function l(e){var t=-1,n=Array(e.size);return e.forEach(function(e){n[++...
function f (line 1) | function f(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t...
function p (line 1) | function p(){this.__data__=Yt?Yt(null):{}}
function d (line 1) | function d(e){return this.has(e)&&delete this.__data__[e]}
function v (line 1) | function v(e){var t=this.__data__;if(Yt){var n=t[e];return n===Re?void 0...
function h (line 1) | function h(e){var t=this.__data__;return Yt?void 0!==t[e]:Ft.call(t,e)}
function m (line 1) | function m(e,t){return this.__data__[e]=Yt&&void 0===t?Re:t,this}
function y (line 1) | function y(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t...
function g (line 1) | function g(){this.__data__=[]}
function _ (line 1) | function _(e){var t=this.__data__,n=R(t,e);return!(n<0)&&(n==t.length-1?...
function b (line 1) | function b(e){var t=this.__data__,n=R(t,e);return n<0?void 0:t[n][1]}
function w (line 1) | function w(e){return R(this.__data__,e)>-1}
function x (line 1) | function x(e,t){var n=this.__data__,r=R(n,e);return r<0?n.push([e,t]):n[...
function $ (line 1) | function $(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var r=e[t...
function C (line 1) | function C(){this.__data__={hash:new f,map:new(Wt||y),string:new f}}
function k (line 1) | function k(e){return oe(this,e).delete(e)}
function A (line 1) | function A(e){return oe(this,e).get(e)}
function O (line 1) | function O(e){return oe(this,e).has(e)}
function j (line 1) | function j(e,t){return oe(this,e).set(e,t),this}
function T (line 1) | function T(e){var t=-1,n=e?e.length:0;for(this.__data__=new $;++t<n;)thi...
function S (line 1) | function S(e){return this.__data__.set(e,Re),this}
function E (line 1) | function E(e){return this.__data__.has(e)}
function M (line 1) | function M(e){this.__data__=new y(e)}
function I (line 1) | function I(){this.__data__=new y}
function N (line 1) | function N(e){return this.__data__.delete(e)}
function P (line 1) | function P(e){return this.__data__.get(e)}
function L (line 1) | function L(e){return this.__data__.has(e)}
function F (line 1) | function F(e,t){var n=this.__data__;if(n instanceof y){var r=n.__data__;...
function D (line 1) | function D(e,t){var n=ln(e)||be(e)?a(e.length,String):[],r=n.length,o=!!...
function R (line 1) | function R(e,t){for(var n=e.length;n--;)if(_e(e[n][0],t))return n;return-1}
function U (line 1) | function U(e,t){t=ce(t,e)?[t]:ee(t);for(var n=0,r=t.length;null!=e&&n<r;...
function B (line 1) | function B(e){return Dt.call(e)}
function H (line 1) | function H(e,t){return null!=e&&t in Object(e)}
function V (line 1) | function V(e,t,n,r,o){return e===t||(null==e||null==t||!ke(e)&&!Ae(t)?e!...
function z (line 1) | function z(e,t,n,r,o,i){var a=ln(e),s=ln(t),c=We,l=We;a||(c=sn(e),c=c==q...
function J (line 1) | function J(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=Ob...
function q (line 1) | function q(e){return!(!ke(e)||fe(e))&&($e(e)||u(e)?Rt:yt).test(me(e))}
function W (line 1) | function W(e){return Ae(e)&&Ce(e.length)&&!!bt[Dt.call(e)]}
function K (line 1) | function K(e){return"function"==typeof e?e:null==e?Pe:"object"==typeof e...
function G (line 1) | function G(e){if(!pe(e))return zt(e);var t=[];for(var n in Object(e))Ft....
function X (line 1) | function X(e){var t=ie(e);return 1==t.length&&t[0][2]?ve(t[0][0],t[0][1]...
function Y (line 1) | function Y(e,t){return ce(e)&&de(t)?ve(he(e),t):function(n){var r=Me(n,e...
function Z (line 1) | function Z(e){return function(t){return U(t,e)}}
function Q (line 1) | function Q(e){if("string"==typeof e)return e;if(Oe(e))return an?an.call(...
function ee (line 1) | function ee(e){return ln(e)?e:un(e)}
function te (line 1) | function te(e,t,n,o,i,a){var s=i&Be,u=e.length,c=t.length;if(u!=c&&!(s&&...
function ne (line 1) | function ne(e,t,n,r,o,i,a){switch(n){case st:if(e.byteLength!=t.byteLeng...
function re (line 1) | function re(e,t,n,r,o,i){var a=o&Be,s=Ne(e),u=s.length;if(u!=Ne(t).lengt...
function oe (line 1) | function oe(e,t){var n=e.__data__;return le(t)?n["string"==typeof t?"str...
function ie (line 1) | function ie(e){for(var t=Ne(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[...
function ae (line 1) | function ae(e,t){var n=s(e,t);return q(n)?n:void 0}
function se (line 1) | function se(e,t,n){t=ce(t,e)?[t]:ee(t);for(var r,o=-1,i=t.length;++o<i;)...
function ue (line 1) | function ue(e,t){return!!(t=null==t?Ve:t)&&("number"==typeof e||_t.test(...
function ce (line 1) | function ce(e,t){if(ln(e))return!1;var n=typeof e;return!("number"!=n&&"...
function le (line 1) | function le(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==...
function fe (line 1) | function fe(e){return!!Pt&&Pt in e}
function pe (line 1) | function pe(e){var t=e&&e.constructor;return e===("function"==typeof t&&...
function de (line 1) | function de(e){return e===e&&!ke(e)}
function ve (line 1) | function ve(e,t){return function(n){return null!=n&&(n[e]===t&&(void 0!=...
function he (line 1) | function he(e){if("string"==typeof e||Oe(e))return e;var t=e+"";return"0...
function me (line 1) | function me(e){if(null!=e){try{return Lt.call(e)}catch(e){}try{return e+...
function ye (line 1) | function ye(e,t,n){var r=e?e.length:0;if(!r)return-1;var i=null==n?0:Te(...
function ge (line 1) | function ge(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw ...
function _e (line 1) | function _e(e,t){return e===t||e!==e&&t!==t}
function be (line 1) | function be(e){return xe(e)&&Ft.call(e,"callee")&&(!Ht.call(e,"callee")|...
function we (line 1) | function we(e){return null!=e&&Ce(e.length)&&!$e(e)}
function xe (line 1) | function xe(e){return Ae(e)&&we(e)}
function $e (line 1) | function $e(e){var t=ke(e)?Dt.call(e):"";return t==Ye||t==Ze}
function Ce (line 1) | function Ce(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Ve}
function ke (line 1) | function ke(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}
function Ae (line 1) | function Ae(e){return!!e&&"object"==typeof e}
function Oe (line 1) | function Oe(e){return"symbol"==typeof e||Ae(e)&&Dt.call(e)==it}
function je (line 1) | function je(e){if(!e)return 0===e?e:0;if((e=Se(e))===He||e===-He){return...
function Te (line 1) | function Te(e){var t=je(e),n=t%1;return t===t?n?t-n:t:0}
function Se (line 1) | function Se(e){if("number"==typeof e)return e;if(Oe(e))return Je;if(ke(e...
function Ee (line 1) | function Ee(e){return null==e?"":Q(e)}
function Me (line 1) | function Me(e,t,n){var r=null==e?void 0:U(e,t);return void 0===r?n:r}
function Ie (line 1) | function Ie(e,t){return null!=e&&se(e,t,H)}
function Ne (line 1) | function Ne(e){return we(e)?D(e):G(e)}
function Pe (line 1) | function Pe(e){return e}
function Le (line 1) | function Le(e){return ce(e)?i(he(e)):Z(e)}
function e (line 1) | function e(e){return void 0===e||null===e}
function r (line 1) | function r(e){return void 0!==e&&null!==e}
function o (line 1) | function o(e){return!0===e}
function i (line 1) | function i(e){return!1===e}
function a (line 1) | function a(e){return"string"==typeof e||"number"==typeof e||"symbol"==ty...
function s (line 1) | function s(e){return null!==e&&"object"==typeof e}
function u (line 1) | function u(e){return mi.call(e).slice(8,-1)}
function c (line 1) | function c(e){return"[object Object]"===mi.call(e)}
function l (line 1) | function l(e){return"[object RegExp]"===mi.call(e)}
function f (line 1) | function f(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t...
function p (line 1) | function p(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null...
function d (line 1) | function d(e){var t=parseFloat(e);return isNaN(t)?e:t}
function v (line 1) | function v(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o<r.len...
function h (line 1) | function h(e,t){if(e.length){var n=e.indexOf(t);if(n>-1)return e.splice(...
function m (line 1) | function m(e,t){return _i.call(e,t)}
function y (line 1) | function y(e){var t=Object.create(null);return function(n){return t[n]||...
function g (line 1) | function g(e,t){function n(n){var r=arguments.length;return r?r>1?e.appl...
function _ (line 1) | function _(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n...
function b (line 1) | function b(e,t){for(var n in t)e[n]=t[n];return e}
function w (line 1) | function w(e){for(var t={},n=0;n<e.length;n++)e[n]&&b(t,e[n]);return t}
function x (line 1) | function x(e,t,n){}
function $ (line 1) | function $(e,t){if(e===t)return!0;var n=s(e),r=s(t);if(!n||!r)return!n&&...
function C (line 1) | function C(e,t){for(var n=0;n<e.length;n++)if($(e[n],t))return n;return-1}
function k (line 1) | function k(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments...
function A (line 1) | function A(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}
function O (line 1) | function O(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,wr...
function j (line 1) | function j(e){if(!Ei.test(e)){var t=e.split(".");return function(e){for(...
function T (line 1) | function T(e){return"function"==typeof e&&/native code/.test(e.toString())}
function S (line 1) | function S(e){ia.target&&aa.push(ia.target),ia.target=e}
function E (line 1) | function E(){ia.target=aa.pop()}
function M (line 1) | function M(e){return new sa(void 0,void 0,void 0,String(e))}
function I (line 1) | function I(e,t){var n=e.componentOptions,r=new sa(e.tag,e.data,e.childre...
function N (line 1) | function N(e,t){for(var n=e.length,r=new Array(n),o=0;o<n;o++)r[o]=I(e[o...
function P (line 1) | function P(e,t,n){e.__proto__=t}
function L (line 1) | function L(e,t,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];O(e,i,t[i])}}
function F (line 1) | function F(e,t){if(s(e)&&!(e instanceof sa)){var n;return m(e,"__ob__")&...
function D (line 1) | function D(e,t,n,r,o){var i=new ia,a=Object.getOwnPropertyDescriptor(e,t...
function R (line 1) | function R(e,t,n){if(Array.isArray(e)&&f(t))return e.length=Math.max(e.l...
function U (line 1) | function U(e,t){if(Array.isArray(e)&&f(t))return void e.splice(t,1);var ...
function B (line 1) | function B(e){for(var t=void 0,n=0,r=e.length;n<r;n++)t=e[n],t&&t.__ob__...
function H (line 1) | function H(e,t){if(!t)return e;for(var n,r,o,i=Object.keys(t),a=0;a<i.le...
function V (line 1) | function V(e,t,n){return n?function(){var r="function"==typeof t?t.call(...
function z (line 1) | function z(e,t){return t?e?e.concat(t):Array.isArray(t)?t:[t]:e}
function J (line 1) | function J(e,t,n,r){var o=Object.create(e||null);return t?(Y(r,t,n),b(o,...
function q (line 1) | function q(e){for(var t in e.components)W(t)}
function W (line 1) | function W(e){/^[a-zA-Z][\w-]*$/.test(e)||Xi('Invalid component name: "'...
function K (line 1) | function K(e,t){var n=e.props;if(n){var r,o,i,a={};if(Array.isArray(n))f...
function G (line 1) | function G(e,t){var n=e.inject;if(n){var r=e.inject={};if(Array.isArray(...
function X (line 1) | function X(e){var t=e.directives;if(t)for(var n in t){var r=t[n];"functi...
function Y (line 1) | function Y(e,t,n){c(t)||Xi('Invalid value for option "'+e+'": expected a...
function Z (line 1) | function Z(e,t,n){function r(r){var o=ha[r]||ga;u[r]=o(e[r],t[r],n,r)}q(...
function Q (line 1) | function Q(e,t,n,r){if("string"==typeof n){var o=e[t];if(m(o,n))return o...
function ee (line 1) | function ee(e,t,n,r){var o=t[e],i=!m(n,e),a=n[e];if(ie(Boolean,o.type)&&...
function te (line 1) | function te(e,t,n){if(m(t,"default")){var r=t.default;return s(r)&&Xi('I...
function ne (line 1) | function ne(e,t,n,r,o){if(e.required&&o)return void Xi('Missing required...
function re (line 1) | function re(e,t){var n,r=oe(t);if(_a.test(r)){var o=typeof e;n=o===r.toL...
function oe (line 1) | function oe(e){var t=e&&e.toString().match(/^\s*function (\w+)/);return ...
function ie (line 1) | function ie(e,t){if(!Array.isArray(t))return oe(t)===oe(e);for(var n=0,r...
function ae (line 1) | function ae(e,t,n){if(t)for(var r=t;r=r.$parent;){var o=r.$options.error...
function se (line 1) | function se(e,t,n){if(Si.errorHandler)try{return Si.errorHandler.call(nu...
function ue (line 1) | function ue(e,t,n){if(Xi("Error in "+n+': "'+e.toString()+'"',t),!Ii&&!N...
function ce (line 1) | function ce(){wa=!1;var e=ba.slice(0);ba.length=0;for(var t=0;t<e.length...
function le (line 1) | function le(e){return e._withTask||(e._withTask=function(){xa=!0;var t=e...
function fe (line 1) | function fe(e,t){var n;if(ba.push(function(){if(e)try{e.call(t)}catch(e)...
function pe (line 1) | function pe(e){de(e,Fa),Fa.clear()}
function de (line 1) | function de(e,t){var n,r,o=Array.isArray(e);if((o||s(e))&&!Object.isFroz...
function ve (line 1) | function ve(e){function t(){var e=arguments,n=t.fns;if(!Array.isArray(n)...
function he (line 1) | function he(t,n,r,o,i){var a,s,u,c;for(a in t)s=t[a],u=n[a],c=Da(a),e(s)...
function me (line 1) | function me(t,n,i){function a(){i.apply(this,arguments),h(s.fns,a)}t ins...
function ye (line 1) | function ye(t,n,o){var i=n.options.props;if(!e(i)){var a={},s=t.attrs,u=...
function ge (line 2) | function ge(e,t,n,o,i){if(r(t)){if(m(t,n))return e[n]=t[n],i||delete t[n...
function _e (line 2) | function _e(e){for(var t=0;t<e.length;t++)if(Array.isArray(e[t]))return ...
function be (line 2) | function be(e){return a(e)?[M(e)]:Array.isArray(e)?xe(e):void 0}
function we (line 2) | function we(e){return r(e)&&r(e.text)&&i(e.isComment)}
function xe (line 2) | function xe(t,n){var i,s,u,c,l=[];for(i=0;i<t.length;i++)s=t[i],e(s)||"b...
function $e (line 2) | function $e(e,t){return(e.__esModule||Gi&&"Module"===e[Symbol.toStringTa...
function Ce (line 2) | function Ce(e,t,n,r,o){var i=ca();return i.asyncFactory=e,i.asyncMeta={d...
function ke (line 2) | function ke(t,n,i){if(o(t.error)&&r(t.errorComp))return t.errorComp;if(r...
function Ae (line 2) | function Ae(e){return e.isComment&&e.asyncFactory}
function Oe (line 2) | function Oe(e){if(Array.isArray(e))for(var t=0;t<e.length;t++){var n=e[t...
function je (line 2) | function je(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e....
function Te (line 2) | function Te(e,t,n){n?La.$once(e,t):La.$on(e,t)}
function Se (line 2) | function Se(e,t){La.$off(e,t)}
function Ee (line 2) | function Ee(e,t,n){La=e,he(t,n||{},Te,Se,e),La=void 0}
function Me (line 2) | function Me(e,t){var n={};if(!e)return n;for(var r=0,o=e.length;r<o;r++)...
function Ie (line 2) | function Ie(e){return e.isComment&&!e.asyncFactory||" "===e.text}
function Ne (line 2) | function Ne(e,t){t=t||{};for(var n=0;n<e.length;n++)Array.isArray(e[n])?...
function Pe (line 2) | function Pe(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$op...
function Le (line 2) | function Le(e,t,n){e.$el=t,e.$options.render||(e.$options.render=ca,e.$o...
function Fe (line 2) | function Fe(e,t,n,r,o){Ua=!0;var i=!!(o||e.$options._renderChildren||r.d...
function De (line 2) | function De(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}
function Re (line 2) | function Re(e,t){if(t){if(e._directInactive=!1,De(e))return}else if(e._d...
function Ue (line 2) | function Ue(e,t){if(!(t&&(e._directInactive=!0,De(e))||e._inactive)){e._...
function Be (line 2) | function Be(e,t){var n=e.$options[t];if(n)for(var r=0,o=n.length;r<o;r++...
function He (line 2) | function He(){Ka=Ha.length=Va.length=0,za={},Ja={},qa=Wa=!1}
function Ve (line 2) | function Ve(){Wa=!0;var e,t;for(Ha.sort(function(e,t){return e.id-t.id})...
function ze (line 2) | function ze(e){for(var t=e.length;t--;){var n=e[t],r=n.vm;r._watcher===n...
function Je (line 2) | function Je(e){e._inactive=!1,Va.push(e)}
function qe (line 2) | function qe(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Re(e[t],!0)}
function We (line 2) | function We(e){var t=e.id;if(null==za[t]){if(za[t]=!0,Wa){for(var n=Ha.l...
function Ke (line 2) | function Ke(e,t,n){Ya.get=function(){return this[t][n]},Ya.set=function(...
function Ge (line 2) | function Ge(e){e._watchers=[];var t=e.$options;t.props&&Xe(e,t.props),t....
function Xe (line 2) | function Xe(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$optio...
function Ye (line 2) | function Ye(e){var t=e.$options.data;t=e._data="function"==typeof t?Ze(t...
function Ze (line 2) | function Ze(e,t){try{return e.call(t,t)}catch(e){return ae(e,t,"data()")...
function Qe (line 2) | function Qe(e,t){var n=e._computedWatchers=Object.create(null),r=Wi();fo...
function et (line 2) | function et(e,t,n){var r=!Wi();"function"==typeof n?(Ya.get=r?tt(t):n,Ya...
function tt (line 2) | function tt(e){return function(){var t=this._computedWatchers&&this._com...
function nt (line 2) | function nt(e,t){var n=e.$options.props;for(var r in t)null==t[r]&&Xi('M...
function rt (line 2) | function rt(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var ...
function ot (line 2) | function ot(e,t,n,r){return c(n)&&(r=n,n=n.handler),"string"==typeof n&&...
function it (line 2) | function it(e){var t=e.$options.provide;t&&(e._provided="function"==type...
function at (line 2) | function at(e){var t=st(e.$options.inject,e);t&&(da.shouldConvert=!1,Obj...
function st (line 2) | function st(e,t){if(e){for(var n=Object.create(null),r=Gi?Reflect.ownKey...
function ut (line 2) | function ut(e,t){var n,o,i,a,u;if(Array.isArray(e)||"string"==typeof e)f...
function ct (line 2) | function ct(e,t,n,r){var o,i=this.$scopedSlots[e];if(i)n=n||{},r&&(s(r)|...
function lt (line 2) | function lt(e){return Q(this.$options,"filters",e,!0)||Ai}
function ft (line 2) | function ft(e,t,n,r){var o=Si.keyCodes[t]||n;return o?Array.isArray(o)?-...
function pt (line 2) | function pt(e,t,n,r,o){if(n)if(s(n)){Array.isArray(n)&&(n=w(n));var i;fo...
function dt (line 2) | function dt(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];...
function vt (line 2) | function vt(e,t,n){return ht(e,"__once__"+t+(n?"_"+n:""),!0),e}
function ht (line 2) | function ht(e,t,n){if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&...
function mt (line 2) | function mt(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}
function yt (line 2) | function yt(e,t){if(t)if(c(t)){var n=e.on=e.on?b({},e.on):{};for(var r i...
function gt (line 2) | function gt(e){e._o=vt,e._n=d,e._s=p,e._l=ut,e._t=ct,e._q=$,e._i=C,e._m=...
function _t (line 2) | function _t(e,t,n,r,i){var a=i.options;this.data=e,this.props=t,this.chi...
function bt (line 2) | function bt(e,t,n,o,i){var a=e.options,s={},u=a.props;if(r(u))for(var c ...
function wt (line 2) | function wt(e,t){for(var n in t)e[wi(n)]=t[n]}
function xt (line 2) | function xt(t,n,i,a,u){if(!e(t)){var c=i.$options._base;if(s(t)&&(t=c.ex...
function $t (line 2) | function $t(e,t,n,o){var i={_isComponent:!0,parent:t,_parentVnode:e,_par...
function Ct (line 2) | function Ct(e){e.hook||(e.hook={});for(var t=0;t<es.length;t++){var n=es...
function kt (line 2) | function kt(e,t){return function(n,r,o,i){e(n,r,o,i),t(n,r,o,i)}}
function At (line 2) | function At(e,t){var n=e.model&&e.model.prop||"value",o=e.model&&e.model...
function Ot (line 2) | function Ot(e,t,n,r,i,s){return(Array.isArray(n)||a(n))&&(i=r,r=n,n=void...
function jt (line 2) | function jt(e,t,n,o,i){if(r(n)&&r(n.__ob__))return Xi("Avoid using obser...
function Tt (line 2) | function Tt(t,n,i){if(t.ns=n,"foreignObject"===t.tag&&(n=void 0,i=!0),r(...
function St (line 2) | function St(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$v...
function Et (line 2) | function Et(e,t){var n=e.$options=Object.create(e.constructor.options),r...
function Mt (line 2) | function Mt(e){var t=e.options;if(e.super){var n=Mt(e.super);if(n!==e.su...
function It (line 2) | function It(e){var t,n=e.options,r=e.extendOptions,o=e.sealedOptions;for...
function Nt (line 2) | function Nt(e,t,n){if(Array.isArray(e)){var r=[];n=Array.isArray(n)?n:[n...
function Pt (line 2) | function Pt(e){this instanceof Pt||Xi("Vue is a constructor and should b...
function Lt (line 2) | function Lt(e){e.use=function(e){var t=this._installedPlugins||(this._in...
function Ft (line 2) | function Ft(e){e.mixin=function(e){return this.options=Z(this.options,e)...
function Dt (line 2) | function Dt(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r...
function Rt (line 2) | function Rt(e){var t=e.options.props;for(var n in t)Ke(e.prototype,"_pro...
function Ut (line 2) | function Ut(e){var t=e.options.computed;for(var n in t)et(e.prototype,n,...
function Bt (line 2) | function Bt(e){ji.forEach(function(t){e[t]=function(e,n){return n?("comp...
function Ht (line 2) | function Ht(e){return e&&(e.Ctor.options.name||e.tag)}
function Vt (line 2) | function Vt(e,t){return Array.isArray(e)?e.indexOf(t)>-1:"string"==typeo...
function zt (line 2) | function zt(e,t){var n=e.cache,r=e.keys,o=e._vnode;for(var i in n){var a...
function Jt (line 2) | function Jt(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstanc...
function qt (line 2) | function qt(e){for(var t=e.data,n=e,o=e;r(o.componentInstance);)(o=o.com...
function Wt (line 2) | function Wt(e,t){return{staticClass:Gt(e.staticClass,t.staticClass),clas...
function Kt (line 2) | function Kt(e,t){return r(e)||r(t)?Gt(e,Xt(t)):""}
function Gt (line 2) | function Gt(e,t){return e?t?e+" "+t:e:t||""}
function Xt (line 2) | function Xt(e){return Array.isArray(e)?Yt(e):s(e)?Zt(e):"string"==typeof...
function Yt (line 2) | function Yt(e){for(var t,n="",o=0,i=e.length;o<i;o++)r(t=Xt(e[o]))&&""!=...
function Zt (line 2) | function Zt(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}
function Qt (line 2) | function Qt(e){return Os(e)?"svg":"math"===e?"math":void 0}
function en (line 2) | function en(e){if(!Ii)return!0;if(Ts(e))return!1;if(e=e.toLowerCase(),nu...
function tn (line 2) | function tn(e){if("string"==typeof e){var t=document.querySelector(e);re...
function nn (line 2) | function nn(e,t){var n=document.createElement(e);return"select"!==e?n:(t...
function rn (line 2) | function rn(e,t){return document.createElementNS(ks[e],t)}
function on (line 2) | function on(e){return document.createTextNode(e)}
function an (line 2) | function an(e){return document.createComment(e)}
function sn (line 2) | function sn(e,t,n){e.insertBefore(t,n)}
function un (line 2) | function un(e,t){e.removeChild(t)}
function cn (line 2) | function cn(e,t){e.appendChild(t)}
function ln (line 2) | function ln(e){return e.parentNode}
function fn (line 2) | function fn(e){return e.nextSibling}
function pn (line 2) | function pn(e){return e.tagName}
function dn (line 2) | function dn(e,t){e.textContent=t}
function vn (line 2) | function vn(e,t,n){e.setAttribute(t,n)}
function hn (line 2) | function hn(e,t){var n=e.data.ref;if(n){var r=e.context,o=e.componentIns...
function mn (line 2) | function mn(t,n){return t.key===n.key&&(t.tag===n.tag&&t.isComment===n.i...
function yn (line 2) | function yn(e,t){if("input"!==e.tag)return!0;var n,o=r(n=e.data)&&r(n=n....
function gn (line 2) | function gn(e,t,n){var o,i,a={};for(o=t;o<=n;++o)i=e[o].key,r(i)&&(a[i]=...
function _n (line 2) | function _n(e,t){(e.data.directives||t.data.directives)&&bn(e,t)}
function bn (line 2) | function bn(e,t){var n,r,o,i=e===Ns,a=t===Ns,s=wn(e.data.directives,e.co...
function wn (line 2) | function wn(e,t){var n=Object.create(null);if(!e)return n;var r,o;for(r=...
function xn (line 2) | function xn(e){return e.rawName||e.name+"."+Object.keys(e.modifiers||{})...
function $n (line 2) | function $n(e,t,n,r,o){var i=e.def&&e.def[t];if(i)try{i(n.elm,e,n,r,o)}c...
function Cn (line 2) | function Cn(t,n){var o=n.componentOptions;if(!(r(o)&&!1===o.Ctor.options...
function kn (line 2) | function kn(e,t,n){if(bs(t))Cs(n)?e.removeAttribute(t):(n="allowfullscre...
function An (line 2) | function An(t,n){var o=n.elm,i=n.data,a=t.data;if(!(e(i.staticClass)&&e(...
function On (line 2) | function On(e){function t(){(a||(a=[])).push(e.slice(v,o).trim()),v=o+1}...
function jn (line 2) | function jn(e,t){var n=t.indexOf("(");return n<0?'_f("'+t+'")('+e+")":'_...
function Tn (line 2) | function Tn(e){}
function Sn (line 2) | function Sn(e,t){return e?e.map(function(e){return e[t]}).filter(functio...
function En (line 2) | function En(e,t,n){(e.props||(e.props=[])).push({name:t,value:n}),e.plai...
function Mn (line 2) | function Mn(e,t,n){(e.attrs||(e.attrs=[])).push({name:t,value:n}),e.plai...
function In (line 2) | function In(e,t,n){e.attrsMap[t]=n,e.attrsList.push({name:t,value:n})}
function Nn (line 2) | function Nn(e,t,n,r,o,i){(e.directives||(e.directives=[])).push({name:t,...
function Pn (line 2) | function Pn(e,t,n,r,o,i){r=r||hi,i&&r.prevent&&r.passive&&i("passive and...
function Ln (line 2) | function Ln(e,t,n){var r=Fn(e,":"+t)||Fn(e,"v-bind:"+t);if(null!=r)retur...
function Fn (line 2) | function Fn(e,t,n){var r;if(null!=(r=e.attrsMap[t]))for(var o=e.attrsLis...
function Dn (line 2) | function Dn(e,t,n){var r=n||{},o=r.number,i=r.trim,a="$$v";i&&(a="(typeo...
function Rn (line 2) | function Rn(e,t){var n=Un(e);return null===n.key?e+"="+t:"$set("+n.exp+"...
function Un (line 2) | function Un(e){if(ss=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<ss-1)...
function Bn (line 2) | function Bn(){return us.charCodeAt(++ls)}
function Hn (line 2) | function Hn(){return ls>=ss}
function Vn (line 2) | function Vn(e){return 34===e||39===e}
function zn (line 2) | function zn(e){var t=1;for(fs=ls;!Hn();)if(e=Bn(),Vn(e))Jn(e);else if(91...
function Jn (line 2) | function Jn(e){for(var t=e;!Hn()&&(e=Bn())!==t;);}
function qn (line 2) | function qn(e,t,n){ds=n;var r=t.value,o=t.modifiers,i=e.tag,a=e.attrsMap...
function Wn (line 2) | function Wn(e,t,n){var r=n&&n.number,o=Ln(e,"value")||"null",i=Ln(e,"tru...
function Kn (line 2) | function Kn(e,t,n){var r=n&&n.number,o=Ln(e,"value")||"null";o=r?"_n("+o...
function Gn (line 2) | function Gn(e,t,n){var r=n&&n.number,o='Array.prototype.filter.call($eve...
function Xn (line 2) | function Xn(e,t,n){var r=e.attrsMap.type,o=e.attrsMap["v-bind:value"]||e...
function Yn (line 2) | function Yn(e){if(r(e[Hs])){var t=Fi?"change":"input";e[t]=[].concat(e[H...
function Zn (line 2) | function Zn(e,t,n){var r=vs;return function o(){null!==e.apply(null,argu...
function Qn (line 2) | function Qn(e,t,n,r,o){t=le(t),n&&(t=Zn(t,e,r)),vs.addEventListener(e,t,...
function er (line 2) | function er(e,t,n,r){(r||vs).removeEventListener(e,t._withTask||t,n)}
function tr (line 2) | function tr(t,n){if(!e(t.data.on)||!e(n.data.on)){var r=n.data.on||{},o=...
function nr (line 2) | function nr(t,n){if(!e(t.data.domProps)||!e(n.data.domProps)){var o,i,a=...
function rr (line 2) | function rr(e,t){return!e.composing&&("OPTION"===e.tagName||or(e,t)||ir(...
function or (line 2) | function or(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}ret...
function ir (line 2) | function ir(e,t){var n=e.value,o=e._vModifiers;if(r(o)){if(o.lazy)return...
function ar (line 2) | function ar(e){var t=sr(e.style);return e.staticStyle?b(e.staticStyle,t):t}
function sr (line 2) | function sr(e){return Array.isArray(e)?w(e):"string"==typeof e?qs(e):e}
function ur (line 2) | function ur(e,t){var n,r={};if(t)for(var o=e;o.componentInstance;)(o=o.c...
function cr (line 2) | function cr(t,n){var o=n.data,i=t.data;if(!(e(o.staticStyle)&&e(o.style)...
function lr (line 2) | function lr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.s...
function fr (line 2) | function fr(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.s...
function pr (line 2) | function pr(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&b...
function dr (line 2) | function dr(e){su(function(){su(e)})}
function vr (line 2) | function vr(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n...
function hr (line 2) | function hr(e,t){e._transitionClasses&&h(e._transitionClasses,t),fr(e,t)}
function mr (line 2) | function mr(e,t,n){var r=yr(e,t),o=r.type,i=r.timeout,a=r.propCount;if(!...
function yr (line 2) | function yr(e,t){
function gr (line 3) | function gr(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.a...
function _r (line 3) | function _r(e){return 1e3*Number(e.slice(0,-1))}
function br (line 3) | function br(t,n){var o=t.elm;r(o._leaveCb)&&(o._leaveCb.cancelled=!0,o._...
function wr (line 3) | function wr(t,n){function o(){$.cancelled||(t.data.show||((i.parentNode....
function xr (line 3) | function xr(e,t,n){"number"!=typeof e?Xi("<transition> explicit "+t+" du...
function $r (line 3) | function $r(e){return"number"==typeof e&&!isNaN(e)}
function Cr (line 3) | function Cr(t){if(e(t))return!1;var n=t.fns;return r(n)?Cr(Array.isArray...
function kr (line 3) | function kr(e,t){!0!==t.data.show&&br(t)}
function Ar (line 3) | function Ar(e,t,n){Or(e,t,n),(Fi||Ri)&&setTimeout(function(){Or(e,t,n)},0)}
function Or (line 3) | function Or(e,t,n){var r=t.value,o=e.multiple;if(o&&!Array.isArray(r))re...
function jr (line 3) | function jr(e,t){return t.every(function(t){return!$(t,e)})}
function Tr (line 3) | function Tr(e){return"_value"in e?e._value:e.value}
function Sr (line 3) | function Sr(e){e.target.composing=!0}
function Er (line 3) | function Er(e){e.target.composing&&(e.target.composing=!1,Mr(e.target,"i...
function Mr (line 3) | function Mr(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,...
function Ir (line 3) | function Ir(e){return!e.componentInstance||e.data&&e.data.transition?e:I...
function Nr (line 3) | function Nr(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abst...
function Pr (line 3) | function Pr(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];...
function Lr (line 3) | function Lr(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{...
function Fr (line 3) | function Fr(e){for(;e=e.parent;)if(e.data.transition)return!0}
function Dr (line 3) | function Dr(e,t){return t.key===e.key&&t.tag===e.tag}
function Rr (line 3) | function Rr(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._ent...
function Ur (line 3) | function Ur(e){e.data.newPos=e.elm.getBoundingClientRect()}
function Br (line 3) | function Br(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,o=t.top-...
function Hr (line 3) | function Hr(e,t){var n=t?Cu(t):xu;if(n.test(e)){for(var r,o,i,a=[],s=[],...
function Vr (line 3) | function Vr(e,t){var n=t.warn||Tn,r=Fn(e,"class");if(r){Hr(r,t.delimiter...
function zr (line 3) | function zr(e){var t="";return e.staticClass&&(t+="staticClass:"+e.stati...
function Jr (line 3) | function Jr(e,t){var n=t.warn||Tn,r=Fn(e,"style");if(r){Hr(r,t.delimiter...
function qr (line 3) | function qr(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.stati...
function Wr (line 3) | function Wr(e,t){var n=t?nc:tc;return e.replace(n,function(e){return ec[...
function Kr (line 3) | function Kr(e,t){function n(t){l+=t,e=e.substring(t)}function r(e,n,r){v...
function Gr (line 3) | function Gr(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:ho(t),parent...
function Xr (line 3) | function Xr(e,t){function n(e){l||(l=!0,Bu(e))}function r(e){e.pre&&(u=!...
function Yr (line 3) | function Yr(e){null!=Fn(e,"v-pre")&&(e.pre=!0)}
function Zr (line 3) | function Zr(e){var t=e.attrsList.length;if(t)for(var n=e.attrs=new Array...
function Qr (line 3) | function Qr(e,t){eo(e),e.plain=!e.key&&!e.attrsList.length,to(e),co(e),l...
function eo (line 3) | function eo(e){var t=Ln(e,"key");t&&("template"===e.tag&&Bu("<template> ...
function to (line 3) | function to(e){var t=Ln(e,"ref");t&&(e.ref=t,e.refInFor=po(e))}
function no (line 3) | function no(e){var t;if(t=Fn(e,"v-for")){var n=ro(t);n?b(e,n):Bu("Invali...
function ro (line 3) | function ro(e){var t=e.match(sc);if(t){var n={};n.for=t[2].trim();var r=...
function oo (line 3) | function oo(e){var t=Fn(e,"v-if");if(t)e.if=t,so(e,{exp:t,block:e});else...
function io (line 3) | function io(e,t){var n=ao(t.children);n&&n.if?so(n,{exp:e.elseif,block:e...
function ao (line 3) | function ao(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];" "...
function so (line 3) | function so(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push...
function uo (line 3) | function uo(e){null!=Fn(e,"v-once")&&(e.once=!0)}
function co (line 3) | function co(e){if("slot"===e.tag)e.slotName=Ln(e,"name"),e.key&&Bu("`key...
function lo (line 3) | function lo(e){var t;(t=Ln(e,"is"))&&(e.component=t),null!=Fn(e,"inline-...
function fo (line 3) | function fo(e){var t,n,r,o,i,a,s,u=e.attrsList;for(t=0,n=u.length;t<n;t+...
function po (line 3) | function po(e){for(var t=e;t;){if(void 0!==t.for)return!0;t=t.parent}ret...
function vo (line 3) | function vo(e){var t=e.match(pc);if(t){var n={};return t.forEach(functio...
function ho (line 3) | function ho(e){for(var t={},n=0,r=e.length;n<r;n++)!t[e[n].name]||Fi||Ri...
function mo (line 3) | function mo(e){return"script"===e.tag||"style"===e.tag}
function yo (line 3) | function yo(e){return"style"===e.tag||"script"===e.tag&&(!e.attrsMap.typ...
function go (line 3) | function go(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];vc.test(r.nam...
function _o (line 3) | function _o(e,t){for(var n=e;n;)n.for&&n.alias===t&&Bu("<"+e.tag+' v-mod...
function bo (line 3) | function bo(e,t){if("input"===e.tag){var n=e.attrsMap;if(n["v-model"]&&(...
function wo (line 3) | function wo(e){return Gr(e.tag,e.attrsList.slice(),e.parent)}
function xo (line 3) | function xo(e,t){t.value&&En(e,"textContent","_s("+t.value+")")}
function $o (line 3) | function $o(e,t){t.value&&En(e,"innerHTML","_s("+t.value+")")}
function Co (line 3) | function Co(e,t){e&&(Gu=bc(t.staticKeys||""),Xu=t.isReservedTag||ki,Ao(e...
function ko (line 3) | function ko(e){return v("type,tag,attrsList,attrsMap,plain,parent,childr...
function Ao (line 3) | function Ao(e){if(e.static=jo(e),1===e.type){if(!Xu(e.tag)&&"slot"!==e.t...
function Oo (line 3) | function Oo(e,t){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=t)...
function jo (line 3) | function jo(e){return 2!==e.type&&(3===e.type||!(!e.pre&&(e.hasBindings|...
function To (line 3) | function To(e){for(;e.parent;){if(e=e.parent,"template"!==e.tag)return!1...
function So (line 3) | function So(e,t,n){var r=t?"nativeOn:{":"on:{";for(var o in e)r+='"'+o+'...
function Eo (line 3) | function Eo(e,t){if(!t)return"function(){}";if(Array.isArray(t))return"[...
function Mo (line 3) | function Mo(e){return"if(!('button' in $event)&&"+e.map(Io).join("&&")+"...
function Io (line 3) | function Io(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var...
function No (line 3) | function No(e,t){t.modifiers&&Xi("v-on without argument does not support...
function Po (line 3) | function Po(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t....
function Lo (line 3) | function Lo(e,t){var n=new Oc(t);return{render:"with(this){return "+(e?F...
function Fo (line 3) | function Fo(e,t){if(e.staticRoot&&!e.staticProcessed)return Do(e,t);if(e...
function Do (line 3) | function Do(e,t){return e.staticProcessed=!0,t.staticRenderFns.push("wit...
function Ro (line 3) | function Ro(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return Uo(e,...
function Uo (line 3) | function Uo(e,t,n,r){return e.ifProcessed=!0,Bo(e.ifConditions.slice(),t...
function Bo (line 3) | function Bo(e,t,n,r){function o(e){return n?n(e,t):e.once?Ro(e,t):Fo(e,t...
function Ho (line 3) | function Ho(e,t,n,r){var o=e.for,i=e.alias,a=e.iterator1?","+e.iterator1...
function Vo (line 3) | function Vo(e,t){var n="{",r=zo(e,t);r&&(n+=r+","),e.key&&(n+="key:"+e.k...
function zo (line 3) | function zo(e,t){var n=e.directives;if(n){var r,o,i,a,s="directives:[",u...
function Jo (line 3) | function Jo(e,t){var n=e.children[0];if(1===e.children.length&&1===n.typ...
function qo (line 3) | function qo(e,t){return"scopedSlots:_u(["+Object.keys(e).map(function(n)...
function Wo (line 3) | function Wo(e,t,n){return t.for&&!t.forProcessed?Ko(e,t,n):"{key:"+e+",f...
function Ko (line 3) | function Ko(e,t,n){var r=t.for,o=t.alias,i=t.iterator1?","+t.iterator1:"...
function Go (line 3) | function Go(e,t,n,r,o){var i=e.children;if(i.length){var a=i[0];if(1===i...
function Xo (line 3) | function Xo(e,t){for(var n=0,r=0;r<e.length;r++){var o=e[r];if(1===o.typ...
function Yo (line 3) | function Yo(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}
function Zo (line 3) | function Zo(e,t){return 1===e.type?Fo(e,t):3===e.type&&e.isComment?ei(e)...
function Qo (line 3) | function Qo(e){return"_v("+(2===e.type?e.expression:oi(JSON.stringify(e....
function ei (line 3) | function ei(e){return"_e("+JSON.stringify(e.text)+")"}
function ti (line 3) | function ti(e,t){var n=e.slotName||'"default"',r=Go(e,t),o="_t("+n+(r?",...
function ni (line 3) | function ni(e,t,n){var r=t.inlineTemplate?null:Go(t,n,!0);return"_c("+e+...
function ri (line 3) | function ri(e){for(var t="",n=0;n<e.length;n++){var r=e[n];t+='"'+r.name...
function oi (line 3) | function oi(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"...
function ii (line 3) | function ii(e){var t=[];return e&&ai(e,t),t}
function ai (line 3) | function ai(e,t){if(1===e.type){for(var n in e.attrsMap)if(ac.test(n)){v...
function si (line 3) | function si(e,t,n){var r=e.replace(Sc,""),o=r.match(Tc);o&&"$"!==r.charA...
function ui (line 3) | function ui(e,t,n){li(e.for||"",t,n),ci(e.alias,"v-for alias",t,n),ci(e....
function ci (line 3) | function ci(e,t,n,r){if("string"==typeof e)try{new Function("var "+e+"=_...
function li (line 3) | function li(e,t,n){try{new Function("return "+e)}catch(o){var r=e.replac...
function fi (line 3) | function fi(e,t){try{return new Function(e)}catch(n){return t.push({err:...
function pi (line 3) | function pi(e){var t=Object.create(null);return function(n,r,o){r=b({},r...
function di (line 3) | function di(e){return Yu=Yu||document.createElement("div"),Yu.innerHTML=...
function vi (line 3) | function vi(e){if(e.outerHTML)return e.outerHTML;var t=document.createEl...
function e (line 3) | function e(){this.set=Object.create(null)}
function n (line 4) | function n(){r.$off(e,n),t.apply(r,arguments)}
function n (line 4) | function n(e){return new sa(P.tagName(e).toLowerCase(),{},[],void 0,e)}
function i (line 4) | function i(e,t){function n(){0==--n.listeners&&s(e)}return n.listeners=t,n}
function s (line 4) | function s(e){var t=P.parentNode(e);r(t)&&P.removeChild(t,e)}
function u (line 4) | function u(e,t){return!t&&!e.ns&&!(Si.ignoredElements.length&&Si.ignored...
function c (line 4) | function c(e,t,n,i,a){if(e.isRootInsert=!a,!f(e,t,n,i)){var s=e.data,c=e...
function f (line 4) | function f(e,t,n,i){var a=e.data;if(r(a)){var s=r(e.componentInstance)&&...
function p (line 4) | function p(e,t){r(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingI...
function d (line 4) | function d(e,t,n,o){for(var i,a=e;a.componentInstance;)if(a=a.componentI...
function h (line 4) | function h(e,t,n){r(e)&&(r(n)?n.parentNode===e&&P.insertBefore(e,t,n):P....
function m (line 4) | function m(e,t,n){if(Array.isArray(t)){k(t);for(var r=0;r<t.length;++r)c...
function y (line 4) | function y(e){for(;e.componentInstance;)e=e.componentInstance._vnode;ret...
function g (line 4) | function g(e,t){for(var n=0;n<I.create.length;++n)I.create[n](Ns,e);E=e....
function _ (line 4) | function _(e){var t;if(r(t=e.fnScopeId))P.setAttribute(e.elm,t,"");else ...
function b (line 4) | function b(e,t,n,r,o,i){for(;r<=o;++r)c(n[r],i,e,t)}
function w (line 4) | function w(e){var t,n,o=e.data;if(r(o))for(r(t=o.hook)&&r(t=t.destroy)&&...
function x (line 4) | function x(e,t,n,o){for(;n<=o;++n){var i=t[n];r(i)&&(r(i.tag)?($(i),w(i)...
function $ (line 4) | function $(e,t){if(r(t)||r(e.data)){var n,o=I.remove.length+1;for(r(t)?t...
function C (line 4) | function C(t,n,o,i,a){var s,u,l,f,p=0,d=0,v=n.length-1,h=n[0],m=n[v],y=o...
function k (line 4) | function k(e){for(var t={},n=0;n<e.length;n++){var o=e[n],i=o.key;r(i)&&...
function A (line 4) | function A(e,t,n,o){for(var i=n;i<o;i++){var a=t[i];if(r(a)&&mn(e,a))ret...
function O (line 4) | function O(t,n,i,a){if(t!==n){var s=n.elm=t.elm;if(o(t.isAsyncPlaceholde...
function j (line 4) | function j(e,t,n){if(o(n)&&r(e.parent))e.parent.data.pendingInsert=t;els...
function T (line 4) | function T(e,t,n,i){var a,s=t.tag,u=t.data,c=t.children;if(i=i||u&&u.pre...
function S (line 4) | function S(e,t,n){return r(t.tag)?0===t.tag.indexOf("vue-component")||!u...
function n (line 4) | function n(n,r){var o=Object.create(t),i=[],a=[];if(o.warn=function(e,t)...
function r (line 4) | function r(e,t){this._id=e,this._clearFn=t}
function r (line 4) | function r(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new...
function o (line 5) | function o(e){delete c[e]}
function i (line 5) | function i(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();brea...
function a (line 5) | function a(e){if(l)setTimeout(a,0,e);else{var t=c[e];if(t){l=!0;try{i(t)...
function n (line 5) | function n(){throw new Error("setTimeout has not been defined")}
function r (line 5) | function r(){throw new Error("clearTimeout has not been defined")}
function o (line 5) | function o(e){if(l===setTimeout)return setTimeout(e,0);if((l===n||!l)&&s...
function i (line 5) | function i(e){if(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&...
function a (line 5) | function a(){h&&d&&(h=!1,d.length?v=d.concat(v):m=-1,v.length&&s())}
function s (line 5) | function s(){if(!h){var e=o(a);h=!0;for(var t=v.length;t;){for(d=v,v=[];...
function u (line 5) | function u(e,t){this.fun=e,this.array=t}
function c (line 5) | function c(){}
function n (line 7) | function n(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=l[r.id];if(o){o...
function r (line 7) | function r(e){for(var t=[],n={},r=0;r<e.length;r++){var o=e[r],i=o[0],a=...
function o (line 7) | function o(e,t){var n=d(),r=m[m.length-1];if("top"===e.insertAt)r?r.next...
function i (line 7) | function i(e){e.parentNode.removeChild(e);var t=m.indexOf(e);t>=0&&m.spl...
function a (line 7) | function a(e){var t=document.createElement("style");return t.type="text/...
function s (line 7) | function s(e,t){var n,r,o;if(t.singleton){var s=h++;n=v||(v=a(t)),r=u.bi...
function u (line 7) | function u(e,t,n,r){var o=n?"":r.css;if(e.styleSheet)e.styleSheet.cssTex...
function c (line 7) | function c(e,t){var n=t.css,r=t.media,o=t.sourceMap;if(r&&e.setAttribute...
FILE: dist/index.js
function __webpack_require__ (line 7) | function __webpack_require__(moduleId) {
function _interopRequireDefault (line 613) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function arraySome (line 785) | function arraySome(array, predicate) {
function baseFindIndex (line 808) | function baseFindIndex(array, predicate, fromIndex, fromRight) {
function baseProperty (line 827) | function baseProperty(key) {
function baseTimes (line 842) | function baseTimes(n, iteratee) {
function baseUnary (line 859) | function baseUnary(func) {
function getValue (line 873) | function getValue(object, key) {
function isHostObject (line 884) | function isHostObject(value) {
function mapToArray (line 903) | function mapToArray(map) {
function overArg (line 921) | function overArg(func, transform) {
function setToArray (line 934) | function setToArray(set) {
function Hash (line 1014) | function Hash(entries) {
function hashClear (line 1032) | function hashClear() {
function hashDelete (line 1046) | function hashDelete(key) {
function hashGet (line 1059) | function hashGet(key) {
function hashHas (line 1077) | function hashHas(key) {
function hashSet (line 1092) | function hashSet(key, value) {
function ListCache (line 1112) | function ListCache(entries) {
function listCacheClear (line 1130) | function listCacheClear() {
function listCacheDelete (line 1143) | function listCacheDelete(key) {
function listCacheGet (line 1168) | function listCacheGet(key) {
function listCacheHas (line 1184) | function listCacheHas(key) {
function listCacheSet (line 1198) | function listCacheSet(key, value) {
function MapCache (line 1224) | function MapCache(entries) {
function mapCacheClear (line 1242) | function mapCacheClear() {
function mapCacheDelete (line 1259) | function mapCacheDelete(key) {
function mapCacheGet (line 1272) | function mapCacheGet(key) {
function mapCacheHas (line 1285) | function mapCacheHas(key) {
function mapCacheSet (line 1299) | function mapCacheSet(key, value) {
function SetCache (line 1319) | function SetCache(values) {
function setCacheAdd (line 1339) | function setCacheAdd(value) {
function setCacheHas (line 1353) | function setCacheHas(value) {
function Stack (line 1368) | function Stack(entries) {
function stackClear (line 1379) | function stackClear() {
function stackDelete (line 1392) | function stackDelete(key) {
function stackGet (line 1405) | function stackGet(key) {
function stackHas (line 1418) | function stackHas(key) {
function stackSet (line 1432) | function stackSet(key, value) {
function arrayLikeKeys (line 1461) | function arrayLikeKeys(value, inherited) {
function assocIndexOf (line 1488) | function assocIndexOf(array, key) {
function baseGet (line 1506) | function baseGet(object, path) {
function baseGetTag (line 1525) | function baseGetTag(value) {
function baseHasIn (line 1537) | function baseHasIn(object, key) {
function baseIsEqual (line 1556) | function baseIsEqual(value, other, customizer, bitmask, stack) {
function baseIsEqualDeep (line 1581) | function baseIsEqualDeep(object, other, equalFunc, customizer, bitmask, ...
function baseIsMatch (line 1634) | function baseIsMatch(object, source, matchData, customizer) {
function baseIsNative (line 1686) | function baseIsNative(value) {
function baseIsTypedArray (line 1701) | function baseIsTypedArray(value) {
function baseIteratee (line 1713) | function baseIteratee(value) {
function baseKeys (line 1737) | function baseKeys(object) {
function baseMatches (line 1757) | function baseMatches(source) {
function baseMatchesProperty (line 1775) | function baseMatchesProperty(path, srcValue) {
function basePropertyDeep (line 1794) | function basePropertyDeep(path) {
function baseToString (line 1808) | function baseToString(value) {
function castPath (line 1827) | function castPath(value) {
function createFind (line 1838) | function createFind(findIndexFunc) {
function equalArrays (line 1865) | function equalArrays(array, other, equalFunc, customizer, bitmask, stack) {
function equalByTag (line 1944) | function equalByTag(object, other, tag, equalFunc, customizer, bitmask, ...
function equalObjects (line 2023) | function equalObjects(object, other, equalFunc, customizer, bitmask, sta...
function getMapData (line 2095) | function getMapData(map, key) {
function getMatchData (line 2109) | function getMatchData(object) {
function getNative (line 2130) | function getNative(object, key) {
function hasPath (line 2178) | function hasPath(object, path, hasFunc) {
function isIndex (line 2208) | function isIndex(value, length) {
function isKey (line 2223) | function isKey(value, object) {
function isKeyable (line 2243) | function isKeyable(value) {
function isMasked (line 2257) | function isMasked(func) {
function isPrototype (line 2268) | function isPrototype(value) {
function isStrictComparable (line 2283) | function isStrictComparable(value) {
function matchesStrictComparable (line 2296) | function matchesStrictComparable(key, srcValue) {
function toKey (line 2333) | function toKey(value) {
function toSource (line 2348) | function toSource(func) {
function findIndex (line 2396) | function findIndex(array, predicate, fromIndex) {
function memoize (line 2491) | function memoize(func, resolver) {
function eq (line 2546) | function eq(value, other) {
function isArguments (line 2568) | function isArguments(value) {
function isArrayLike (line 2624) | function isArrayLike(value) {
function isArrayLikeObject (line 2653) | function isArrayLikeObject(value) {
function isFunction (line 2674) | function isFunction(value) {
function isLength (line 2707) | function isLength(value) {
function isObject (line 2737) | function isObject(value) {
function isObjectLike (line 2766) | function isObjectLike(value) {
function isSymbol (line 2787) | function isSymbol(value) {
function toFinite (line 2834) | function toFinite(value) {
function toInteger (line 2872) | function toInteger(value) {
function toNumber (line 2902) | function toNumber(value) {
function toString (line 2944) | function toString(value) {
function get (line 2973) | function get(object, path, defaultValue) {
function hasIn (line 3004) | function hasIn(object, path) {
function keys (line 3036) | function keys(object) {
function identity (line 3056) | function identity(value) {
function property (line 3082) | function property(path) {
function contains (line 3131) | function contains(root, target) {
function assert (line 3147) | function assert(condition) {
function isArray (line 3157) | function isArray(param) {
function scrollIntoView (line 3161) | function scrollIntoView(container, target) {
function setPanelPosition (line 3180) | function setPanelPosition(panelHeight, wrapRect) {
function injectStyle (line 4123) | function injectStyle (ssrContext) {
function _broadcast (line 4182) | function _broadcast(componentName, eventName, params) {
function install (line 5266) | function install(Vue) {
function cssWithMappingToString (line 5347) | function cssWithMappingToString(item, useSourceMap) {
function toComment (line 5367) | function toComment(sourceMap) {
function addStylesToDom (line 5505) | function addStylesToDom (styles /* Array<StyleObject> */) {
function createStyleElement (line 5530) | function createStyleElement () {
function addStyle (line 5537) | function addStyle (obj /* StyleObjectPart */) {
function applyToSingletonTag (line 5596) | function applyToSingletonTag (styleElement, index, remove, obj) {
function applyToTag (line 5613) | function applyToTag (styleElement, obj) {
function _interopRequireDefault (line 5957) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
FILE: dist/lib/area-cascader.js
function __webpack_require__ (line 7) | function __webpack_require__(moduleId) {
function contains (line 439) | function contains(root, target) {
function assert (line 455) | function assert(condition) {
function isArray (line 465) | function isArray(param) {
function scrollIntoView (line 469) | function scrollIntoView(container, target) {
function setPanelPosition (line 488) | function setPanelPosition(panelHeight, wrapRect) {
function _interopRequireDefault (line 872) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function arraySome (line 1070) | function arraySome(array, predicate) {
function baseFindIndex (line 1093) | function baseFindIndex(array, predicate, fromIndex, fromRight) {
function baseProperty (line 1112) | function baseProperty(key) {
function baseTimes (line 1127) | function baseTimes(n, iteratee) {
function baseUnary (line 1144) | function baseUnary(func) {
function getValue (line 1158) | function getValue(object, key) {
function isHostObject (line 1169) | function isHostObject(value) {
function mapToArray (line 1188) | function mapToArray(map) {
function overArg (line 1206) | function overArg(func, transform) {
function setToArray (line 1219) | function setToArray(set) {
function Hash (line 1299) | function Hash(entries) {
function hashClear (line 1317) | function hashClear() {
function hashDelete (line 1331) | function hashDelete(key) {
function hashGet (line 1344) | function hashGet(key) {
function hashHas (line 1362) | function hashHas(key) {
function hashSet (line 1377) | function hashSet(key, value) {
function ListCache (line 1397) | function ListCache(entries) {
function listCacheClear (line 1415) | function listCacheClear() {
function listCacheDelete (line 1428) | function listCacheDelete(key) {
function listCacheGet (line 1453) | function listCacheGet(key) {
function listCacheHas (line 1469) | function listCacheHas(key) {
function listCacheSet (line 1483) | function listCacheSet(key, value) {
function MapCache (line 1509) | function MapCache(entries) {
function mapCacheClear (line 1527) | function mapCacheClear() {
function mapCacheDelete (line 1544) | function mapCacheDelete(key) {
function mapCacheGet (line 1557) | function mapCacheGet(key) {
function mapCacheHas (line 1570) | function mapCacheHas(key) {
function mapCacheSet (line 1584) | function mapCacheSet(key, value) {
function SetCache (line 1604) | function SetCache(values) {
function setCacheAdd (line 1624) | function setCacheAdd(value) {
function setCacheHas (line 1638) | function setCacheHas(value) {
function Stack (line 1653) | function Stack(entries) {
function stackClear (line 1664) | function stackClear() {
function stackDelete (line 1677) | function stackDelete(key) {
function stackGet (line 1690) | function stackGet(key) {
function stackHas (line 1703) | function stackHas(key) {
function stackSet (line 1717) | function stackSet(key, value) {
function arrayLikeKeys (line 1746) | function arrayLikeKeys(value, inherited) {
function assocIndexOf (line 1773) | function assocIndexOf(array, key) {
function baseGet (line 1791) | function baseGet(object, path) {
function baseGetTag (line 1810) | function baseGetTag(value) {
function baseHasIn (line 1822) | function baseHasIn(object, key) {
function baseIsEqual (line 1841) | function baseIsEqual(value, other, customizer, bitmask, stack) {
function baseIsEqualDeep (line 1866) | function baseIsEqualDeep(object, other, equalFunc, customizer, bitmask, ...
function baseIsMatch (line 1919) | function baseIsMatch(object, source, matchData, customizer) {
function baseIsNative (line 1971) | function baseIsNative(value) {
function baseIsTypedArray (line 1986) | function baseIsTypedArray(value) {
function baseIteratee (line 1998) | function baseIteratee(value) {
function baseKeys (line 2022) | function baseKeys(object) {
function baseMatches (line 2042) | function baseMatches(source) {
function baseMatchesProperty (line 2060) | function baseMatchesProperty(path, srcValue) {
function basePropertyDeep (line 2079) | function basePropertyDeep(path) {
function baseToString (line 2093) | function baseToString(value) {
function castPath (line 2112) | function castPath(value) {
function createFind (line 2123) | function createFind(findIndexFunc) {
function equalArrays (line 2150) | function equalArrays(array, other, equalFunc, customizer, bitmask, stack) {
function equalByTag (line 2229) | function equalByTag(object, other, tag, equalFunc, customizer, bitmask, ...
function equalObjects (line 2308) | function equalObjects(object, other, equalFunc, customizer, bitmask, sta...
function getMapData (line 2380) | function getMapData(map, key) {
function getMatchData (line 2394) | function getMatchData(object) {
function getNative (line 2415) | function getNative(object, key) {
function hasPath (line 2463) | function hasPath(object, path, hasFunc) {
function isIndex (line 2493) | function isIndex(value, length) {
function isKey (line 2508) | function isKey(value, object) {
function isKeyable (line 2528) | function isKeyable(value) {
function isMasked (line 2542) | function isMasked(func) {
function isPrototype (line 2553) | function isPrototype(value) {
function isStrictComparable (line 2568) | function isStrictComparable(value) {
function matchesStrictComparable (line 2581) | function matchesStrictComparable(key, srcValue) {
function toKey (line 2618) | function toKey(value) {
function toSource (line 2633) | function toSource(func) {
function findIndex (line 2681) | function findIndex(array, predicate, fromIndex) {
function memoize (line 2776) | function memoize(func, resolver) {
function eq (line 2831) | function eq(value, other) {
function isArguments (line 2853) | function isArguments(value) {
function isArrayLike (line 2909) | function isArrayLike(value) {
function isArrayLikeObject (line 2938) | function isArrayLikeObject(value) {
function isFunction (line 2959) | function isFunction(value) {
function isLength (line 2992) | function isLength(value) {
function isObject (line 3022) | function isObject(value) {
function isObjectLike (line 3051) | function isObjectLike(value) {
function isSymbol (line 3072) | function isSymbol(value) {
function toFinite (line 3119) | function toFinite(value) {
function toInteger (line 3157) | function toInteger(value) {
function toNumber (line 3187) | function toNumber(value) {
function toString (line 3229) | function toString(value) {
function get (line 3258) | function get(object, path, defaultValue) {
function hasIn (line 3289) | function hasIn(object, path) {
function keys (line 3321) | function keys(object) {
function identity (line 3341) | function identity(value) {
function property (line 3367) | function property(path) {
function _broadcast (line 3495) | function _broadcast(componentName, eventName, params) {
function _interopRequireDefault (line 4388) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
FILE: dist/lib/area-select.js
function __webpack_require__ (line 7) | function __webpack_require__(moduleId) {
function contains (line 423) | function contains(root, target) {
function assert (line 439) | function assert(condition) {
function isArray (line 449) | function isArray(param) {
function scrollIntoView (line 453) | function scrollIntoView(container, target) {
function setPanelPosition (line 472) | function setPanelPosition(panelHeight, wrapRect) {
function _interopRequireDefault (line 856) | function _interopRequireDefault(obj) { return obj && obj.__esModule ? ob...
function arraySome (line 1054) | function arraySome(array, predicate) {
function baseFindIndex (line 1077) | function baseFindIndex(array, predicate, fromIndex, fromRight) {
function baseProperty (line 1096) | function baseProperty(key) {
function baseTimes (line 1111) | function baseTimes(n, iteratee) {
function baseUnary (line 1128) | function baseUnary(func) {
function getValue (line 1142) | function getValue(object, key) {
function isHostObject (line 1153) | function isHostObject(value) {
function mapToArray (line 1172) | function mapToArray(map) {
function overArg (line 1190) | function overArg(func, transform) {
function setToArray (line 1203) | function setToArray(set) {
function Hash (line 1283) | function Hash(entries) {
function hashClear (line 1301) | function hashClear() {
function hashDelete (line 1315) | function hashDelete(key) {
function hashGet (line 1328) | function hashGet(key) {
function hashHas (line 1346) | function hashHas(key) {
function hashSet (line 1361) | function hashSet(key, value) {
function ListCache (line 1381) | function ListCache(entries) {
function listCacheClear (line 1399) | function listCacheClear() {
function listCacheDelete (line 1412) | function listCacheDelete(key) {
function listCacheGet (line 1437) | function listCacheGet(key) {
function listCacheHas (line 1453) | function listCacheHas(key) {
function listCacheSet (line 1467) | function listCacheSet(key, value) {
function MapCache (line 1493) | function MapCache(entries) {
function mapCacheClear (line 1511) | function mapCacheClear() {
function mapCacheDelete (line 1528) | function mapCacheDelete(key) {
function mapCacheGet (line 1541) | function mapCacheGet(key) {
function mapCacheHas (line 1554) | function mapCacheHas(key) {
function mapCacheSet (line 1568) | function mapCacheSet(key, value) {
function SetCache (line 1588) | function SetCache(values) {
function setCacheAdd (line 1608) | function setCacheAdd(value) {
function setCacheHas (line 1622) | function setCacheHas(value) {
function Stack (line 1637) | function Stack(entries) {
function stackClear (line 1648) | function stackClear() {
function stackDelete (line 1661) | function stackDelete(key) {
function stackGet (line 1674) | function stackGet(key) {
function stackHas (line 1687) | function stackHas(key) {
function stackSet (line 1701) | function stackSet(key, value) {
function arrayLikeKeys (line 1730) | function arrayLikeKeys(value, inherited) {
function assocIndexOf (line 1757) | function assocIndexOf(array, key) {
function baseGet (line 1775) | function baseGet(object, path) {
function baseGetTag (line 1794) | function baseGetTag(value) {
function baseHasIn (line 1806) | function baseHasIn(object, key) {
function baseIsEqual (line 1825) | function baseIsEqual(value, other, customizer, bitmask, stack) {
function baseIsEqualDeep (line 1850) | function baseIsEqualDeep(object, other, equalFunc, customizer, bitmask, ...
function baseIsMatch (line 1903) | function baseIsMatch(object, source, matchData, customizer) {
function baseIsNative (line 1955) | function baseIsNative(value) {
function baseIsTypedArray (line 1970) | function baseIsTypedArray(value) {
function baseIteratee (line 1982) | function baseIteratee(value) {
function baseKeys (line 2006) | function baseKeys(object) {
function baseMatches (line 2026) | function baseMatches(source) {
function baseMatchesProperty (line 2044) | function baseMatchesProperty(path, srcValue) {
function basePropertyDeep (line 2063) | function basePropertyDeep(path) {
function baseToString (line 2077) | function baseToString(value) {
function castPath (line 2096) | function castPath(value) {
function createFind (line 2107) | function createFind(findIndexFunc) {
function equalArrays (line 2134) | function equalArrays(array, other, equalFunc, customizer, bitmask, stack) {
function equalByTag (line 2213) | function equalByTag(object, other, tag, equalFunc, customizer, bitmask, ...
function equalObjects (line 2292) | function equalObjects(object, other, equalFunc, customizer, bitmask, sta...
function getMapData (line 2364) | function getMapData(map, key) {
function getMatchData (line 2378) | function getMatchData(object) {
function getNative (line 2399) | function getNative(object, key) {
function hasPath (line 2447) | function hasPath(object, path, hasFunc) {
function isIndex (line 2477) | function isIndex(value, length) {
function isKey (line 2492) | function isKey(value, object) {
function isKeyable (line 2512) | function isKeyable(value) {
function isMasked (line 2526) | function isMasked(func) {
function isPrototype (line 2537) | function isPrototype(value) {
function isStrictComparable (line 2552) | function isStrictComparable(value) {
function matchesStrictComparable (line 2565) | function matchesStrictComparable(key, srcValue) {
function toKey (line 2602) | function toKey(value) {
function toSource (line 2617) | function toSource(func) {
function findIndex (line 2665) | function findIndex(array, predicate, fromIndex) {
function memoize (line 2760) | function memoize(func, resolver) {
function eq (line 2815) | function eq(value, other) {
function isArguments (line 2837) | function isArguments(value) {
function isArrayLike (line 2893) | function isArrayLike(value) {
function isArrayLikeObject (line 2922) | function isArrayLikeObject(value) {
function isFunction (line 2943) | function isFunction(value) {
function isLength (line 2976) | function isLength(value) {
function isObject (line 3006) | function isObject(value) {
function isObjectLike (line 3035) | function isObjectLike(value) {
function isSymbol (line 3056) | function isSymbol(value) {
function toFinite (line 3103) | function toFinite(value) {
function toInteger (line 3141) | function toInteger(value) {
function toNumber (line 3171) | function toNumber(value) {
function toString (line 3213) | function toString(value) {
function get (line 3242) | function get(object, path, defaultValue) {
function hasIn (line 3273) | function hasIn(object, path) {
function keys (line 3305) | function keys(object) {
function identity (line 3325) | function identity(value) {
function property (line 3351) | function property(path) {
function injectStyle (line 4115) | function injectStyle (ssrContext) {
function cssWithMappingToString (line 4232) | function cssWithMappingToString(item, useSourceMap) {
function toComment (line 4252) | function toComment(sourceMap) {
function addStylesToDom (line 4350) | function addStylesToDom (styles /* Array<StyleObject> */) {
function createStyleElement (line 4375) | function createStyleElement () {
function addStyle (line 4382) | function addStyle (obj /* StyleObjectPart */) {
function applyToSingletonTag (line 4441) | function applyToSingletonTag (styleElement, index, remove, obj) {
function applyToTag (line 4458) | function applyToTag (styleElement, obj) {
FILE: src/bus.js
method createEventBus (line 3) | createEventBus () {
method saveVueRef (line 6) | saveVueRef (Vue) {
FILE: src/index.js
function install (line 13) | function install (Vue) {
FILE: src/utils.js
function contains (line 1) | function contains (root, target) {
function assert (line 17) | function assert (condition, msg = '') {
function isArray (line 25) | function isArray (param) {
function scrollIntoView (line 29) | function scrollIntoView (container, target) {
function setPanelPosition (line 48) | function setPanelPosition (panelHeight, wrapRect) {
Condensed preview — 63 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (915K chars).
[
{
"path": ".babelrc",
"chars": 119,
"preview": "{\n \"presets\": [[\"latest\", {\n \"es2015\": {\n \"modules\": false\n }\n }]],\n \"plugins\": [\"transform-runtime\"]\n}\n\n"
},
{
"path": ".editorconfig",
"chars": 467,
"preview": "# EditorConfig is awesome: http://EditorConfig.org\n\n# top-most EditorConfig file\nroot = true\n\n# Unix-style newlines with"
},
{
"path": ".eslintrc",
"chars": 815,
"preview": "{\n root: true,\n parser: \"babel-eslint\",\n parserOptions: {\n ecmaVersion: 7,\n sourceType: \"module\","
},
{
"path": ".gitignore",
"chars": 768,
"preview": "# Created by .ignore support plugin (hsz.mobi)\n### Node template\n# Logs\nlogs\n*.log\nnpm-debug.log*\n\n# Runtime data\npids\n*"
},
{
"path": ".npmignore",
"chars": 84,
"preview": "src\n.gitignore\n.vscode\n.npmrc\n.babelrc\nnode_modules\ndemo\ngh\nbuild\nconfig\n*.html\n*.js"
},
{
"path": "LICENSE",
"chars": 1060,
"preview": "MIT License\n\nCopyright (c) 2017 Pomy\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof th"
},
{
"path": "README.md",
"chars": 3418,
"preview": " ;\nconst WebpackDevServer = require('webpack-dev-server');\nconst ora = require('ora');\n"
},
{
"path": "build/happypack.js",
"chars": 310,
"preview": "const HappyPack = require('happypack');\nconst os = require('os');\nconst happyThreadPool = HappyPack.ThreadPool({ size: o"
},
{
"path": "build/webpack.base.config.js",
"chars": 2284,
"preview": "const path = require('path');\nconst webpack = require('webpack');\nconst HtmlWebpackPlugin = require('html-webpack-plugin"
},
{
"path": "build/webpack.dev.config.js",
"chars": 2360,
"preview": "const path = require('path');\nconst webpack = require('webpack');\nconst OpenBrowserPlugin = require('open-browser-webpac"
},
{
"path": "build/webpack.prod.config.js",
"chars": 3461,
"preview": "const path = require('path');\nconst webpack = require('webpack');\nconst ExtractTextPlugin = require(\"extract-text-webpac"
},
{
"path": "components/area-cascader/cascader/caspanel.vue",
"chars": 4009,
"preview": "<template>\n <span>\n <ul class=\"cascader-menu-list\" ref=\"list\">\n <li v-for=\"(item, index) in data\"\n "
},
{
"path": "components/area-cascader/cascader/index.vue",
"chars": 7410,
"preview": "<template>\n <div class=\"area-select\" :class=\"{\n 'medium': size === 'medium',\n 'small': size === 'small'"
},
{
"path": "components/area-cascader/index.js",
"chars": 223,
"preview": "import AreaCascader from './index.vue';\n\nimport Bus from '@src/bus.js';\n\nAreaCascader.install = function (Vue) {\n Bus"
},
{
"path": "components/area-cascader/index.vue",
"chars": 11814,
"preview": "<template>\n <div class=\"area-cascader-wrap\">\n <v-cascader\n :placeholder=\"placeholder\" \n "
},
{
"path": "components/area-cascader/mixins/emitter.js",
"chars": 1067,
"preview": "function broadcast (componentName, eventName, params) {\n this.$children.forEach(child => {\n const name = child"
},
{
"path": "components/area-select/index.js",
"chars": 156,
"preview": "import AreaSelect from './index.vue';\n\nAreaSelect.install = function (Vue) {\n Vue.component(AreaSelect.name, AreaSele"
},
{
"path": "components/area-select/index.vue",
"chars": 13438,
"preview": "<template>\n <div class=\"area-select-wrap\">\n <v-select v-model=\"curProvinceCode\" :placeholder=\"placeholders[0] "
},
{
"path": "components/area-select/select/index.vue",
"chars": 4922,
"preview": "<template>\n <div class=\"area-select\" :class=\"{\n 'medium': size === 'medium',\n 'small': size === 'small'"
},
{
"path": "components/area-select/select/option.vue",
"chars": 1152,
"preview": "<template>\n <li :class=\"['area-select-option', {\n 'hover': hover,\n 'selected': curSelected === value\n "
},
{
"path": "components.json",
"chars": 118,
"preview": "{\n \"area-select\": \"./components/area-select/index.js\",\n \"area-cascader\": \"./components/area-cascader/index.js\"\n}"
},
{
"path": "config/index.js",
"chars": 400,
"preview": "const path = require('path');\n\nmodule.exports = {\n dev: {\n env: 'development',\n assetsRoot: path.resolv"
},
{
"path": "demo/gh.ac2a7e95.css",
"chars": 11144,
"preview": ".start {\n margin-top: 40px;\n}\n.start h3 {\n text-align: center;\n font-size: 25px;\n color: #6289ad;\n}\n.start h4 {\n fo"
},
{
"path": "demo/gh.f9e788c4.js",
"chars": 52003,
"preview": "webpackJsonp([0],[,,,,,,,,,function(e,t,s){\"use strict\";function a(e,t){if(!Object.prototype.toString.call(e).includes(\""
},
{
"path": "demo/vendor.8d61534d.js",
"chars": 211685,
"preview": "!function(e){function t(n){if(r[n])return r[n].exports;var o=r[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.e"
},
{
"path": "dist/index.css",
"chars": 4310,
"preview": ".area-zoom-in-top-enter-active,.area-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transition:all .3s cubic-bez"
},
{
"path": "dist/index.js",
"chars": 183031,
"preview": "module.exports =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installed"
},
{
"path": "dist/lib/area-cascader.js",
"chars": 139245,
"preview": "module.exports =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installed"
},
{
"path": "dist/lib/area-select.js",
"chars": 128109,
"preview": "module.exports =\n/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installed"
},
{
"path": "gh/components/footer/index.vue",
"chars": 615,
"preview": "<template>\n <footer>\n <p>React 版本:<a target=\"_blank\" href=\"https://github.com/dwqs/react-area-linkage\">React A"
},
{
"path": "gh/components/header/index.vue",
"chars": 1801,
"preview": "<template lang=\"html\">\n <header>\n <a href=\"https://github.com/dwqs/vue-area-linkage\" class=\"github-corner\" ari"
},
{
"path": "gh/components/main/area-code.vue",
"chars": 1057,
"preview": "<template>\n <div class=\"code-area\">\n <div class=\"area-left\">\n <area-select type='all' v-model=\"sele"
},
{
"path": "gh/components/main/area.vue",
"chars": 1060,
"preview": "<template>\n <div class=\"code-area\">\n <div class=\"area-left\">\n <area-select :level='2' v-model=\"sele"
},
{
"path": "gh/components/main/basic.vue",
"chars": 1024,
"preview": "<template>\n <div class=\"code-area\">\n <div class=\"area-left\">\n <area-select v-model=\"selected\" :data"
},
{
"path": "gh/components/main/cas-area-code.vue",
"chars": 1061,
"preview": "<template>\n <div class=\"code-area\">\n <div class=\"area-left\">\n <area-cascader type='all' v-model=\"se"
},
{
"path": "gh/components/main/cas-area.vue",
"chars": 1129,
"preview": "<template>\n <div class=\"code-area\">\n <div class=\"area-left\">\n <area-cascader :level=\"1\" type=\"text"
},
{
"path": "gh/components/main/cas-basic.vue",
"chars": 1028,
"preview": "<template>\n <div class=\"code-area\">\n <div class=\"area-left\">\n <area-cascader v-model=\"selected\" :da"
},
{
"path": "gh/components/main/cas-default-value.vue",
"chars": 1143,
"preview": "<template>\n <div class=\"code-area\">\n <div class=\"area-left\">\n <area-cascader :level=\"1\" v-model=\"s"
},
{
"path": "gh/components/main/cas-placeholder.vue",
"chars": 1073,
"preview": "<template>\n <div class=\"code-area\">\n <div class=\"area-left\">\n <area-cascader placeholder=\"请选择地区\" v-"
},
{
"path": "gh/components/main/cas-returns.vue",
"chars": 1057,
"preview": "<template>\n <div class=\"code-area\">\n <div class=\"area-left\">\n <area-cascader type='text' v-model=\"s"
},
{
"path": "gh/components/main/default-value.vue",
"chars": 1128,
"preview": "<template>\n <div class=\"code-area\">\n <div class=\"area-left\">\n <area-select :level=\"2\" v-model=\"sele"
},
{
"path": "gh/components/main/index.less",
"chars": 1737,
"preview": ".app-main{\n margin-top: 20px;\n h3{\n text-align: center;\n font-size: 25px;\n color: #6289ad\n "
},
{
"path": "gh/components/main/index.vue",
"chars": 2510,
"preview": "<template>\n <div class=\"app-main\">\n <h3>基本使用</h3>\n <h4>1. 作为选择器</h4>\n <h5>默认形式</h5>\n <bas"
},
{
"path": "gh/components/main/placeholders.vue",
"chars": 1092,
"preview": "<template>\n <div class=\"code-area\">\n <div class=\"area-left\">\n <area-select :placeholders=\"['选择省', '"
},
{
"path": "gh/components/main/province.vue",
"chars": 1047,
"preview": "<template>\n <div class=\"code-area\">\n <div class=\"area-left\">\n <area-select :level='0' v-model=\"sele"
},
{
"path": "gh/components/main/returns.vue",
"chars": 1050,
"preview": "<template>\n <div class=\"code-area\">\n <div class=\"area-left\">\n <area-select type='text' v-model=\"sel"
},
{
"path": "gh/components/main/size.vue",
"chars": 1117,
"preview": "<template>\n <div class=\"code-area size-example\">\n <div class=\"area-left\">\n <area-select v-model=\"se"
},
{
"path": "gh/components/start/index.less",
"chars": 528,
"preview": ".start{\n margin-top: 40px;\n h3{\n text-align: center;\n font-size: 25px;\n color: #6289ad\n }\n"
},
{
"path": "gh/components/start/index.vue",
"chars": 641,
"preview": "<template>\n <div class=\"start\">\n <h3>快速开始</h3>\n <div class=\"install\">\n <h4>安装</h4>\n "
},
{
"path": "gh/general/app/index.vue",
"chars": 4289,
"preview": "<template>\n <div id=\"app\" class=\"app-wrap\">\n <!-- <area-select :level='2' v-model=\"selected\"></area-select> --"
},
{
"path": "gh/page/index.js",
"chars": 468,
"preview": "import './reset.css';\n\nimport Vue from 'vue';\nimport { pca, pcaa } from 'area-data';\nimport VueAreaLinkage from '../../s"
},
{
"path": "gh/page/reset.css",
"chars": 3160,
"preview": "html, body, div, span, applet, object, iframe,\nh1, h2, h3, h4, h5, h6, p, blockquote, pre,\na, abbr, acronym, address, bi"
},
{
"path": "index.html",
"chars": 593,
"preview": "<!DOCTYPE html><html><head><meta charset=\"UTF-8\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1,maxim"
},
{
"path": "package.json",
"chars": 2603,
"preview": "{\n \"name\": \"vue-area-linkage\",\n \"version\": \"5.1.0\",\n \"description\": \"Vue area linkage\",\n \"author\": \"pomysky@gmail.co"
},
{
"path": "postcss.config.js",
"chars": 233,
"preview": "// fix: https://github.com/akveo/ng2-admin/issues/604\n// 使用 happypack 之后 需单独提供 postcss 配置文件\nmodule.exports = {\n plugi"
},
{
"path": "src/bus.js",
"chars": 171,
"preview": "const Bus = {\n _Vue: null,\n createEventBus () {\n return new this._Vue();\n },\n saveVueRef (Vue) {\n "
},
{
"path": "src/index.js",
"chars": 624,
"preview": "import './index.less';\n\nimport AreaSelect from '../components/area-select/index';\nimport AreaCascader from '../component"
},
{
"path": "src/index.less",
"chars": 5024,
"preview": ".area-zoom-in-top-enter-active,\n.area-zoom-in-top-leave-active {\n opacity: 1;\n transform: scaleY(1);\n transition: all"
},
{
"path": "src/utils.js",
"chars": 1908,
"preview": "function contains (root, target) {\n // root 节点是否包含 target 节点\n const isElement = Object.prototype.toString.call(roo"
},
{
"path": "tpl.html",
"chars": 488,
"preview": "<!DOCTYPE html>\n<html>\n <head>\n <meta charset=\"UTF-8\">\n <meta name=\"viewport\" content=\"width=device-wid"
},
{
"path": "webpack.build.config.js",
"chars": 2417,
"preview": "const path = require('path');\nconst webpack = require('webpack');\nconst ParallelUglifyPlugin = require('webpack-parallel"
},
{
"path": "webpack.components.config.js",
"chars": 862,
"preview": "const path = require('path');\nconst webpack = require('webpack');\n\nconst Components = require('./components.json');\n\nmod"
}
]
About this extraction
This page contains the full source code of the dwqs/vue-area-linkage GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 63 files (816.9 KB), approximately 251.4k tokens, and a symbol index with 817 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.