diff --git a/CHANGELOG.md b/CHANGELOG.md index 531d0d4..7a498cc 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 2.1.0 (Jan 1, 2021) + +- Support Vue 3. +- Upgrade to [postcss](https://github.com/postcss/postcss) 8. +- Upgrade to [markdown-it](https://github.com/markdown-it/markdown-it) 12. + ## 2.0.0 (Oct 19, 2019) - Release as a stable version. diff --git a/README.md b/README.md index 253a193..9abc585 100755 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ ## Features +- Supports Vue 2 and Vue 3. - Supports to load a markdown file as a Vue component. - Supports to load code blocks (Vue and HTML by default) as Vue components. - Supports 10 [options](#options). @@ -30,7 +31,6 @@ module: { rules: [ { test: /\.md$/, - exclude: /(node_modules|bower_components)/, use: [ 'vue-loader', { diff --git a/docs/index.html b/docs/index.html index b363fae..7c22edf 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,22 +1 @@ - - - - - - - markdown-to-vue-loader - - - - - - - -
- - - - - - - +markdown-to-vue-loader
\ No newline at end of file diff --git a/docs/main.js b/docs/main.js index f1b4e80..9067412 100644 --- a/docs/main.js +++ b/docs/main.js @@ -1,7 +1,7 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=10)}([function(e,t,n){var r=n(5);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);(0,n(11).default)("47f8dbcc",r,!1,{})},function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e){e.exports=JSON.parse('{"name":"markdown-to-vue-loader","version":"2.0.0","description":"Markdown to Vue component loader for Webpack.","main":"index.js","files":["index.js"],"scripts":{"build:docs":"webpack --mode production --env.production","clear:docs":"del-cli docs","dev":"npm run clear:docs && npm run dev:docs","dev:docs":"webpack-dev-server --mode development --hot --open --overlay","lint":"npm run lint:js && npm run lint:css","lint:css":"stylelint {src,test}/**/*.{css,scss,vue,html,md} --fix","lint:js":"eslint src test *.js --ext .js,.vue --fix","release":"npm run lint && npm test && npm run release:docs","release:docs":"npm run clear:docs && npm run build:docs","start":"npm run dev","test":"nyc mocha","test:cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov"},"repository":{"type":"git","url":"git+https://github.com/fengyuanchen/markdown-to-vue-loader.git"},"keywords":["markdown","vue","vue-component","vue.js","webpack-loader","front-end","node"],"author":{"name":"Chen Fengyuan","url":"https://chenfengyuan.com"},"license":"MIT","bugs":{"url":"https://github.com/fengyuanchen/markdown-to-vue-loader/issues"},"homepage":"https://fengyuanchen.github.io/markdown-to-vue-loader","dependencies":{"cheerio":"^1.0.0-rc.2","loader-utils":"^1.2.3","markdown-it":"^10.0.0","postcss":"^7.0.18"},"peerDependencies":{"vue-loader":"^15.0.0","webpack":"^4.0.0"},"devDependencies":{"@babel/core":"^7.6.4","@babel/preset-env":"^7.6.3","@commitlint/cli":"^8.2.0","@commitlint/config-conventional":"^8.2.0","babel-loader":"^8.0.6","chai":"^4.2.0","codecov":"^3.6.1","cross-env":"^6.0.3","css-loader":"^3.2.0","del-cli":"^3.0.0","eslint":"^6.5.1","eslint-config-airbnb-base":"^14.0.0","eslint-plugin-html":"^6.0.0","eslint-plugin-import":"^2.18.2","eslint-plugin-vue":"^5.2.3","html-webpack-plugin":"^3.2.0","husky":"^3.0.9","lint-staged":"^9.4.2","memory-fs":"^0.5.0","mocha":"^6.2.2","nyc":"^14.1.1","postcss-cli":"^6.1.3","postcss-import":"^12.0.1","postcss-loader":"^3.0.0","postcss-preset-env":"^6.7.0","style-loader":"^1.0.0","stylelint":"^11.1.1","stylelint-config-standard":"^19.0.0","stylelint-order":"^3.1.1","vue":"^2.6.10","vue-loader":"^15.7.0","vue-style-loader":"^4.1.2","vue-template-compiler":"^2.6.10","webpack":"^4.41.2","webpack-cli":"^3.3.9","webpack-dev-server":"^3.8.2","webpack-merge":"^4.2.2"},"browserslist":["last 2 versions","> 1%","not ie <= 8"],"commitlint":{"extends":["@commitlint/config-conventional"]},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"{src,test}/**/*.js":["eslint --fix","git add"],"{src,test}/**/*.{css,scss,vue,html,md}":["stylelint --fix","git add"]}}')},function(e,t,n){"use strict";(function(e,n){ +!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=10)}([function(e,t){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(e){"object"==typeof window&&(n=window)}e.exports=n},function(e,t,n){var r=n(6);"string"==typeof r&&(r=[[e.i,r,""]]),r.locals&&(e.exports=r.locals);(0,n(11).default)("746dadec",r,!1,{})},function(e){e.exports=JSON.parse('{"name":"markdown-to-vue-loader","version":"2.1.0","description":"Markdown to Vue component loader for Webpack.","main":"index.js","files":["index.js"],"scripts":{"build:docs":"webpack --mode production --env.production","clear:docs":"del-cli docs","dev":"npm run clear:docs && npm run dev:docs","dev:docs":"webpack-dev-server --mode development --hot --open --overlay","lint":"npm run lint:js && npm run lint:css","lint:css":"stylelint {src,test}/**/*.{css,scss,vue,html,md} --fix","lint:js":"eslint src test *.js --ext .js,.vue --fix","release":"npm run lint && npm test && npm run release:docs","release:docs":"npm run clear:docs && npm run build:docs","start":"npm run dev","test":"nyc mocha --timeout 10000","test:cover":"nyc report --reporter=text-lcov > coverage.lcov && codecov"},"repository":{"type":"git","url":"git+https://github.com/fengyuanchen/markdown-to-vue-loader.git"},"keywords":["markdown","vue","vue-component","vue.js","webpack-loader","front-end","node"],"author":{"name":"Chen Fengyuan","url":"https://chenfengyuan.com"},"license":"MIT","bugs":{"url":"https://github.com/fengyuanchen/markdown-to-vue-loader/issues"},"homepage":"https://fengyuanchen.github.io/markdown-to-vue-loader","dependencies":{"cheerio":"1.0.0-rc.3","loader-utils":"^2.0.0","markdown-it":"^12.0.4","postcss":"^8.2.2"},"peerDependencies":{"vue-loader":">=15.0.0","webpack":"^4.0.0"},"devDependencies":{"@babel/core":"^7.12.10","@babel/preset-env":"^7.12.11","@commitlint/cli":"^11.0.0","@commitlint/config-conventional":"^11.0.0","babel-loader":"^8.2.2","chai":"^4.2.0","codecov":"^3.8.1","cross-env":"^7.0.3","css-loader":"^5.0.1","del-cli":"^3.0.1","eslint":"^6.5.1","eslint-config-airbnb-base":"^14.2.1","eslint-plugin-html":"^6.1.1","eslint-plugin-import":"^2.22.1","eslint-plugin-vue":"^v6.2.2","html-webpack-plugin":"^4.5.0","husky":"^4.3.6","lint-staged":"^10.5.3","memory-fs":"^0.5.0","mocha":"^8.2.1","nyc":"^15.1.0","postcss-cli":"^8.3.1","postcss-import":"^14.0.0","postcss-loader":"^4.1.0","postcss-preset-env":"^6.7.0","style-loader":"^2.0.0","stylelint":"^13.8.0","stylelint-config-standard":"^20.0.0","stylelint-order":"^4.1.0","vue":"^2.6.12","vue-loader":"^15.9.6","vue-style-loader":"^4.1.2","vue-template-compiler":"^2.6.12","webpack":"^4.44.2","webpack-cli":"^3.3.12","webpack-dev-server":"^3.11.1","webpack-merge":"^5.7.3"},"browserslist":["last 2 versions","> 1%","not ie <= 8"],"commitlint":{"extends":["@commitlint/config-conventional"]},"husky":{"hooks":{"pre-commit":"lint-staged","commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"lint-staged":{"{src,test}/**/*.js":["eslint --fix","git add"],"{src,test}/**/*.{css,scss,vue,html,md}":["stylelint --fix","git add"]}}')},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=e(t);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,r){"string"==typeof e&&(e=[[null,e,""]]);var o={};if(r)for(var i=0;i=0&&Math.floor(t)===t&&isFinite(e)}function p(e){return i(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function v(e){return null==e?"":Array.isArray(e)||u(e)&&e.toString===l?JSON.stringify(e,null,2):String(e)}function m(e){var t=parseFloat(e);return isNaN(t)?e:t}function h(e,t){for(var n=Object.create(null),r=e.split(","),o=0;o-1)return e.splice(n,1)}}var _=Object.prototype.hasOwnProperty;function w(e,t){return _.call(e,t)}function x(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var $=/-(\w)/g,k=x((function(e){return e.replace($,(function(e,t){return t?t.toUpperCase():""}))})),C=x((function(e){return e.charAt(0).toUpperCase()+e.slice(1)})),T=/\B([A-Z])/g,S=x((function(e){return e.replace(T,"-$1").toLowerCase()}));var A=Function.prototype.bind?function(e,t){return e.bind(t)}:function(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 O(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function E(e,t){for(var n in t)e[n]=t[n];return e}function j(e){for(var t={},n=0;n0,ee=X&&X.indexOf("edge/")>0,te=(X&&X.indexOf("android"),X&&/iphone|ipad|ipod|ios/.test(X)||"ios"===Z),ne=(X&&/chrome\/\d+/.test(X),X&&/phantomjs/.test(X),X&&X.match(/firefox\/(\d+)/)),re={}.watch,oe=!1;if(W)try{var ie={};Object.defineProperty(ie,"passive",{get:function(){oe=!0}}),window.addEventListener("test-passive",null,ie)}catch(e){}var ae=function(){return void 0===z&&(z=!W&&!G&&void 0!==e&&(e.process&&"server"===e.process.env.VUE_ENV)),z},se=W&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function ce(e){return"function"==typeof e&&/native code/.test(e.toString())}var le,ue="undefined"!=typeof Symbol&&ce(Symbol)&&"undefined"!=typeof Reflect&&ce(Reflect.ownKeys);le="undefined"!=typeof Set&&ce(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var fe=M,de=0,pe=function(){this.id=de++,this.subs=[]};pe.prototype.addSub=function(e){this.subs.push(e)},pe.prototype.removeSub=function(e){b(this.subs,e)},pe.prototype.depend=function(){pe.target&&pe.target.addDep(this)},pe.prototype.notify=function(){var e=this.subs.slice();for(var t=0,n=e.length;t-1)if(i&&!w(o,"default"))a=!1;else if(""===a||a===S(e)){var c=Be(String,o.type);(c<0||s0&&(dt((l=e(l,(n||"")+"_"+c))[0])&&dt(f)&&(r[u]=_e(f.text+l[0].text),l.shift()),r.push.apply(r,l)):s(l)?dt(f)?r[u]=_e(f.text+l):""!==l&&r.push(_e(l)):dt(l)&&dt(f)?r[u]=_e(f.text+l.text):(a(t._isVList)&&i(l.tag)&&o(l.key)&&i(n)&&(l.key="__vlist"+n+"_"+c+"__"),r.push(l)));return r}(e):void 0}function dt(e){return i(e)&&i(e.text)&&!1===e.isComment}function pt(e,t){if(e){for(var n=Object.create(null),r=ue?Reflect.ownKeys(e):Object.keys(e),o=0;o0,a=e?!!e.$stable:!i,s=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(a&&n&&n!==r&&s===n.$key&&!i&&!n.$hasNormal)return n;for(var c in o={},e)e[c]&&"$"!==c[0]&&(o[c]=gt(t,c,e[c]))}else o={};for(var l in t)l in o||(o[l]=yt(t,l));return e&&Object.isExtensible(e)&&(e._normalized=o),J(o,"$stable",a),J(o,"$key",s),J(o,"$hasNormal",i),o}function gt(e,t,n){var r=function(){var e=arguments.length?n.apply(null,arguments):n({});return(e=e&&"object"==typeof e&&!Array.isArray(e)?[e]:ft(e))&&(0===e.length||1===e.length&&e[0].isComment)?void 0:e};return n.proxy&&Object.defineProperty(e,t,{get:r,enumerable:!0,configurable:!0}),r}function yt(e,t){return function(){return e[t]}}function bt(e,t){var n,r,o,a,s;if(Array.isArray(e)||"string"==typeof e)for(n=new Array(e.length),r=0,o=e.length;rdocument.createEvent("Event").timeStamp&&(dn=function(){return pn.now()})}function vn(){var e,t;for(fn=dn(),ln=!0,on.sort((function(e,t){return e.id-t.id})),un=0;unun&&on[n].id>e.id;)n--;on.splice(n+1,0,e)}else on.push(e);cn||(cn=!0,rt(vn))}}(this)},hn.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||c(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Je(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},hn.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},hn.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},hn.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||b(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var gn={enumerable:!0,configurable:!0,get:M,set:M};function yn(e,t,n){gn.get=function(){return this[t][n]},gn.set=function(e){this[t][n]=e},Object.defineProperty(e,n,gn)}function bn(e){e._watchers=[];var t=e.$options;t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props={},o=e.$options._propKeys=[];e.$parent&&Te(!1);var i=function(i){o.push(i);var a=He(i,t,n,e);Oe(r,i,a),i in e||yn(e,"_props",i)};for(var a in t)i(a);Te(!0)}(e,t.props),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?M:A(t[n],e)}(e,t.methods),t.data?function(e){var t=e.$options.data;u(t=e._data="function"==typeof t?function(e,t){me();try{return e.call(t,t)}catch(e){return Je(e,t,"data()"),{}}finally{he()}}(t,e):t||{})||(t={});var n=Object.keys(t),r=e.$options.props,o=(e.$options.methods,n.length);for(;o--;){var i=n[o];0,r&&w(r,i)||B(i)||yn(e,"_data",i)}Ae(t,!0)}(e):Ae(e._data={},!0),t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=ae();for(var o in t){var i=t[o],a="function"==typeof i?i:i.get;0,r||(n[o]=new hn(e,a||M,M,_n)),o in e||wn(e,o,i)}}(e,t.computed),t.watch&&t.watch!==re&&function(e,t){for(var n in t){var r=t[n];if(Array.isArray(r))for(var o=0;o-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!f(e)&&e.test(t)}function jn(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=On(a.componentOptions);s&&!t(s)&&Mn(n,i,r,o)}}}function Mn(e,t,n,r){var o=e[t];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),e[t]=null,b(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=Cn++,t._isVue=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;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)}(t,e):t.$options=Fe(Tn(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(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}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&Yt(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;var t=e.$options,n=e.$vnode=t._parentVnode,o=n&&n.context;e.$slots=vt(t._renderChildren,o),e.$scopedSlots=r,e._c=function(t,n,r,o){return Bt(e,t,n,r,o,!1)},e.$createElement=function(t,n,r,o){return Bt(e,t,n,r,o,!0)};var i=n&&n.data;Oe(e,"$attrs",i&&i.attrs||r,null,!0),Oe(e,"$listeners",t._parentListeners||r,null,!0)}(t),rn(t,"beforeCreate"),function(e){var t=pt(e.$options.inject,e);t&&(Te(!1),Object.keys(t).forEach((function(n){Oe(e,n,t[n])})),Te(!0))}(t),bn(t),function(e){var t=e.$options.provide;t&&(e._provided="function"==typeof t?t.call(e):t)}(t),rn(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(Sn),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=Ee,e.prototype.$delete=je,e.prototype.$watch=function(e,t,n){if(u(t))return kn(this,e,t,n);(n=n||{}).user=!0;var r=new hn(this,e,t,n);if(n.immediate)try{t.call(this,r.value)}catch(e){Je(e,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(Sn),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(Array.isArray(e))for(var o=0,i=e.length;o1?O(n):n;for(var r=O(arguments,1),o='event handler for "'+e+'"',i=0,a=n.length;iparseInt(this.max)&&Mn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};!function(e){var t={get:function(){return V}};Object.defineProperty(e,"config",t),e.util={warn:fe,extend:E,mergeOptions:Fe,defineReactive:Oe},e.set=Ee,e.delete=je,e.nextTick=rt,e.observable=function(e){return Ae(e),e},e.options=Object.create(null),R.forEach((function(t){e.options[t+"s"]=Object.create(null)})),e.options._base=e,E(e.options.components,Nn),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=O(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}}(e),function(e){e.mixin=function(e){return this.options=Fe(this.options,e),this}}(e),An(e),function(e){R.forEach((function(t){e[t]=function(e,n){return n?("component"===t&&u(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]}}))}(e)}(Sn),Object.defineProperty(Sn.prototype,"$isServer",{get:ae}),Object.defineProperty(Sn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(Sn,"FunctionalRenderContext",{value:Nt}),Sn.version="2.6.10";var In=h("style,class"),Dn=h("input,textarea,option,select,progress"),Pn=function(e,t,n){return"value"===n&&Dn(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},Fn=h("contenteditable,draggable,spellcheck"),Rn=h("events,caret,typing,plaintext-only"),Hn=function(e,t){return qn(t)||"false"===t?"false":"contenteditable"===e&&Rn(t)?t:"true"},Vn=h("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),Un="http://www.w3.org/1999/xlink",Bn=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},Jn=function(e){return Bn(e)?e.slice(6,e.length):""},qn=function(e){return null==e||!1===e};function zn(e){for(var t=e.data,n=e,r=e;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=Kn(r.data,t));for(;i(n=n.parent);)n&&n.data&&(t=Kn(t,n.data));return function(e,t){if(i(e)||i(t))return Wn(e,Gn(t));return""}(t.staticClass,t.class)}function Kn(e,t){return{staticClass:Wn(e.staticClass,t.staticClass),class:i(e.class)?[e.class,t.class]:t.class}}function Wn(e,t){return e?t?e+" "+t:e:t||""}function Gn(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,o=e.length;r-1?_r(e,t,n):Vn(t)?qn(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):Fn(t)?e.setAttribute(t,Hn(t,n)):Bn(t)?qn(n)?e.removeAttributeNS(Un,Jn(t)):e.setAttributeNS(Un,t,n):_r(e,t,n)}function _r(e,t,n){if(qn(n))e.removeAttribute(t);else{if(Y&&!Q&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var wr={create:yr,update:yr};function xr(e,t){var n=t.elm,r=t.data,a=e.data;if(!(o(r.staticClass)&&o(r.class)&&(o(a)||o(a.staticClass)&&o(a.class)))){var s=zn(t),c=n._transitionClasses;i(c)&&(s=Wn(s,Gn(c))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var $r,kr,Cr,Tr,Sr,Ar,Or={create:xr,update:xr},Er=/[\w).+\-_$\]]/;function jr(e){var t,n,r,o,i,a=!1,s=!1,c=!1,l=!1,u=0,f=0,d=0,p=0;for(r=0;r=0&&" "===(m=e.charAt(v));v--);m&&Er.test(m)||(l=!0)}}else void 0===o?(p=r+1,o=e.slice(0,r).trim()):h();function h(){(i||(i=[])).push(e.slice(p,r).trim()),p=r+1}if(void 0===o?o=e.slice(0,r).trim():0!==p&&h(),i)for(r=0;r-1?{exp:e.slice(0,Tr),key:'"'+e.slice(Tr+1)+'"'}:{exp:e,key:null};kr=e,Tr=Sr=Ar=0;for(;!Wr();)Gr(Cr=Kr())?Xr(Cr):91===Cr&&Zr(Cr);return{exp:e.slice(0,Sr),key:e.slice(Sr+1,Ar)}}(e);return null===n.key?e+"="+t:"$set("+n.exp+", "+n.key+", "+t+")"}function Kr(){return kr.charCodeAt(++Tr)}function Wr(){return Tr>=$r}function Gr(e){return 34===e||39===e}function Zr(e){var t=1;for(Sr=Tr;!Wr();)if(Gr(e=Kr()))Xr(e);else if(91===e&&t++,93===e&&t--,0===t){Ar=Tr;break}}function Xr(e){for(var t=e;!Wr()&&(e=Kr())!==t;);}var Yr,Qr="__r",eo="__c";function to(e,t,n){var r=Yr;return function o(){var i=t.apply(null,arguments);null!==i&&oo(e,o,n,r)}}var no=Ge&&!(ne&&Number(ne[1])<=53);function ro(e,t,n,r){if(no){var o=fn,i=t;t=i._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=o||e.timeStamp<=0||e.target.ownerDocument!==document)return i.apply(this,arguments)}}Yr.addEventListener(e,t,oe?{capture:n,passive:r}:n)}function oo(e,t,n,r){(r||Yr).removeEventListener(e,t._wrapper||t,n)}function io(e,t){if(!o(e.data.on)||!o(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Yr=t.elm,function(e){if(i(e[Qr])){var t=Y?"change":"input";e[t]=[].concat(e[Qr],e[t]||[]),delete e[Qr]}i(e[eo])&&(e.change=[].concat(e[eo],e.change||[]),delete e[eo])}(n),ct(n,r,ro,oo,to,t.context),Yr=void 0}}var ao,so={create:io,update:io};function co(e,t){if(!o(e.data.domProps)||!o(t.data.domProps)){var n,r,a=t.elm,s=e.data.domProps||{},c=t.data.domProps||{};for(n in i(c.__ob__)&&(c=t.data.domProps=E({},c)),s)n in c||(a[n]="");for(n in c){if(r=c[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n&&"PROGRESS"!==a.tagName){a._value=r;var l=o(r)?"":String(r);lo(a,l)&&(a.value=l)}else if("innerHTML"===n&&Yn(a.tagName)&&o(a.innerHTML)){(ao=ao||document.createElement("div")).innerHTML=""+r+"";for(var u=ao.firstChild;a.firstChild;)a.removeChild(a.firstChild);for(;u.firstChild;)a.appendChild(u.firstChild)}else if(r!==s[n])try{a[n]=r}catch(e){}}}}function lo(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(e){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(i(r)){if(r.number)return m(n)!==m(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var uo={create:co,update:co},fo=x((function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach((function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}})),t}));function po(e){var t=vo(e.style);return e.staticStyle?E(e.staticStyle,t):t}function vo(e){return Array.isArray(e)?j(e):"string"==typeof e?fo(e):e}var mo,ho=/^--/,go=/\s*!important$/,yo=function(e,t,n){if(ho.test(t))e.style.setProperty(t,n);else if(go.test(n))e.style.setProperty(S(t),n.replace(go,""),"important");else{var r=_o(t);if(Array.isArray(n))for(var o=0,i=n.length;o-1?t.split($o).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 Co(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split($o).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())?e.setAttribute("class",n):e.removeAttribute("class")}}function To(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&E(t,So(e.name||"v")),E(t,e),t}return"string"==typeof e?So(e):void 0}}var So=x((function(e){return{enterClass:e+"-enter",enterToClass:e+"-enter-to",enterActiveClass:e+"-enter-active",leaveClass:e+"-leave",leaveToClass:e+"-leave-to",leaveActiveClass:e+"-leave-active"}})),Ao=W&&!Q,Oo="transition",Eo="animation",jo="transition",Mo="transitionend",Lo="animation",No="animationend";Ao&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(jo="WebkitTransition",Mo="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Lo="WebkitAnimation",No="webkitAnimationEnd"));var Io=W?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function Do(e){Io((function(){Io(e)}))}function Po(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),ko(e,t))}function Fo(e,t){e._transitionClasses&&b(e._transitionClasses,t),Co(e,t)}function Ro(e,t,n){var r=Vo(e,t),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===Oo?Mo:No,c=0,l=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++c>=a&&l()};setTimeout((function(){c0&&(n=Oo,u=a,f=i.length):t===Eo?l>0&&(n=Eo,u=l,f=c.length):f=(n=(u=Math.max(a,l))>0?a>l?Oo:Eo:null)?n===Oo?i.length:c.length:0,{type:n,timeout:u,propCount:f,hasTransform:n===Oo&&Ho.test(r[jo+"Property"])}}function Uo(e,t){for(;e.length1}function Wo(e,t){!0!==t.data.show&&Jo(t)}var Go=function(e){var t,n,r={},c=e.modules,l=e.nodeOps;for(t=0;tv?b(e,o(n[g+1])?null:n[g+1].elm,n,p,g,r):p>g&&w(0,t,d,v)}(d,h,g,n,u):i(g)?(i(e.text)&&l.setTextContent(d,""),b(d,null,g,0,g.length-1,n)):i(h)?w(0,h,0,h.length-1):i(e.text)&&l.setTextContent(d,""):e.text!==t.text&&l.setTextContent(d,t.text),i(v)&&i(p=v.hook)&&i(p=p.postpatch)&&p(e,t)}}}function C(e,t,n){if(a(n)&&i(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r-1,a.selected!==i&&(a.selected=i);else if(I(ei(a),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));o||(e.selectedIndex=-1)}}function Qo(e,t){return t.every((function(t){return!I(t,e)}))}function ei(e){return"_value"in e?e._value:e.value}function ti(e){e.target.composing=!0}function ni(e){e.target.composing&&(e.target.composing=!1,ri(e.target,"input"))}function ri(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function oi(e){return!e.componentInstance||e.data&&e.data.transition?e:oi(e.componentInstance._vnode)}var ii={model:Zo,show:{bind:function(e,t,n){var r=t.value,o=(n=oi(n)).data&&n.data.transition,i=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&o?(n.data.show=!0,Jo(n,(function(){e.style.display=i}))):e.style.display=r?i:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=oi(n)).data&&n.data.transition?(n.data.show=!0,r?Jo(n,(function(){e.style.display=e.__vOriginalDisplay})):qo(n,(function(){e.style.display="none"}))):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,o){o||(e.style.display=e.__vOriginalDisplay)}}},ai={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function si(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?si(Wt(t.children)):e}function ci(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[k(i)]=o[i];return t}function li(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var ui=function(e){return e.tag||Kt(e)},fi=function(e){return"show"===e.name},di={name:"transition",props:ai,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(ui)).length){0;var r=this.mode;0;var o=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return o;var i=si(o);if(!i)return o;if(this._leaving)return li(e,o);var a="__transition-"+this._uid+"-";i.key=null==i.key?i.isComment?a+"comment":a+i.tag:s(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var c=(i.data||(i.data={})).transition=ci(this),l=this._vnode,u=si(l);if(i.data.directives&&i.data.directives.some(fi)&&(i.data.show=!0),u&&u.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(i,u)&&!Kt(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var f=u.data.transition=E({},c);if("out-in"===r)return this._leaving=!0,lt(f,"afterLeave",(function(){t._leaving=!1,t.$forceUpdate()})),li(e,o);if("in-out"===r){if(Kt(i))return l;var d,p=function(){d()};lt(c,"afterEnter",p),lt(c,"enterCancelled",p),lt(f,"delayLeave",(function(e){d=e}))}}return o}}},pi=E({tag:String,moveClass:String},ai);function vi(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function mi(e){e.data.newPos=e.elm.getBoundingClientRect()}function hi(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"}}delete pi.mode;var gi={Transition:di,TransitionGroup:{props:pi,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var o=en(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,o(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=ci(this),s=0;s-1?tr[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:tr[e]=/HTMLUnknownElement/.test(t.toString())},E(Sn.options.directives,ii),E(Sn.options.components,gi),Sn.prototype.__patch__=W?Go:M,Sn.prototype.$mount=function(e,t){return function(e,t,n){var r;return e.$el=t,e.$options.render||(e.$options.render=be),rn(e,"beforeMount"),r=function(){e._update(e._render(),n)},new hn(e,r,M,{before:function(){e._isMounted&&!e._isDestroyed&&rn(e,"beforeUpdate")}},!0),n=!1,null==e.$vnode&&(e._isMounted=!0,rn(e,"mounted")),e}(this,e=e&&W?rr(e):void 0,t)},W&&setTimeout((function(){V.devtools&&se&&se.emit("init",Sn)}),0);var yi=/\{\{((?:.|\r?\n)+?)\}\}/g,bi=/[-.*+?^${}()|[\]\/\\]/g,_i=x((function(e){var t=e[0].replace(bi,"\\$&"),n=e[1].replace(bi,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")}));var wi={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=Ur(e,"class");n&&(e.staticClass=JSON.stringify(n));var r=Vr(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:"+e.staticClass+","),e.classBinding&&(t+="class:"+e.classBinding+","),t}};var xi,$i={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=Ur(e,"style");n&&(e.staticStyle=JSON.stringify(fo(n)));var r=Vr(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:"+e.staticStyle+","),e.styleBinding&&(t+="style:("+e.styleBinding+"),"),t}},ki=function(e){return(xi=xi||document.createElement("div")).innerHTML=e,xi.textContent},Ci=h("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),Ti=h("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Si=h("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),Ai=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Oi=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Ei="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+U.source+"]*",ji="((?:"+Ei+"\\:)?"+Ei+")",Mi=new RegExp("^<"+ji),Li=/^\s*(\/?)>/,Ni=new RegExp("^<\\/"+ji+"[^>]*>"),Ii=/^]+>/i,Di=/^",""":'"',"&":"&"," ":"\n"," ":"\t","'":"'"},Vi=/&(?:lt|gt|quot|amp|#39);/g,Ui=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Bi=h("pre,textarea",!0),Ji=function(e,t){return e&&Bi(e)&&"\n"===t[0]};function qi(e,t){var n=t?Ui:Vi;return e.replace(n,(function(e){return Hi[e]}))}var zi,Ki,Wi,Gi,Zi,Xi,Yi,Qi,ea=/^@|^v-on:/,ta=/^v-|^@|^:/,na=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,ra=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,oa=/^\(|\)$/g,ia=/^\[.*\]$/,aa=/:(.*)$/,sa=/^:|^\.|^v-bind:/,ca=/\.[^.\]]+(?=[^\]]*$)/g,la=/^v-slot(:|$)|^#/,ua=/[\r\n]/,fa=/\s+/g,da=x(ki),pa="_empty_";function va(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:wa(t),rawAttrsMap:{},parent:n,children:[]}}function ma(e,t){zi=t.warn||Lr,Xi=t.isPreTag||L,Yi=t.mustUseProp||L,Qi=t.getTagNamespace||L;var n=t.isReservedTag||L;(function(e){return!!e.component||!n(e.tag)}),Wi=Nr(t.modules,"transformNode"),Gi=Nr(t.modules,"preTransformNode"),Zi=Nr(t.modules,"postTransformNode"),Ki=t.delimiters;var r,o,i=[],a=!1!==t.preserveWhitespace,s=t.whitespace,c=!1,l=!1;function u(e){if(f(e),c||e.processed||(e=ha(e,t)),i.length||e===r||r.if&&(e.elseif||e.else)&&ya(r,{exp:e.elseif,block:e}),o&&!e.forbidden)if(e.elseif||e.else)a=e,(s=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}(o.children))&&s.if&&ya(s,{exp:a.elseif,block:a});else{if(e.slotScope){var n=e.slotTarget||'"default"';(o.scopedSlots||(o.scopedSlots={}))[n]=e}o.children.push(e),e.parent=o}var a,s;e.children=e.children.filter((function(e){return!e.slotScope})),f(e),e.pre&&(c=!1),Xi(e.tag)&&(l=!1);for(var u=0;u]*>)","i")),d=e.replace(f,(function(e,n,r){return l=r.length,Fi(u)||"noscript"===u||(n=n.replace(//g,"$1").replace(//g,"$1")),Ji(u,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""}));c+=e.length-d.length,e=d,T(u,c-l,c)}else{var p=e.indexOf("<");if(0===p){if(Di.test(e)){var v=e.indexOf("--\x3e");if(v>=0){t.shouldKeepComment&&t.comment(e.substring(4,v),c,c+v+3),$(v+3);continue}}if(Pi.test(e)){var m=e.indexOf("]>");if(m>=0){$(m+2);continue}}var h=e.match(Ii);if(h){$(h[0].length);continue}var g=e.match(Ni);if(g){var y=c;$(g[0].length),T(g[1],y,c);continue}var b=k();if(b){C(b),Ji(b.tagName,e)&&$(1);continue}}var _=void 0,w=void 0,x=void 0;if(p>=0){for(w=e.slice(p);!(Ni.test(w)||Mi.test(w)||Di.test(w)||Pi.test(w)||(x=w.indexOf("<",1))<0);)p+=x,w=e.slice(p);_=e.substring(0,p)}p<0&&(_=e),_&&$(_.length),t.chars&&_&&t.chars(_,c-_.length,c)}if(e===n){t.chars&&t.chars(e);break}}function $(t){c+=t,e=e.substring(t)}function k(){var t=e.match(Mi);if(t){var n,r,o={tagName:t[1],attrs:[],start:c};for($(t[0].length);!(n=e.match(Li))&&(r=e.match(Oi)||e.match(Ai));)r.start=c,$(r[0].length),r.end=c,o.attrs.push(r);if(n)return o.unarySlash=n[1],$(n[0].length),o.end=c,o}}function C(e){var n=e.tagName,c=e.unarySlash;i&&("p"===r&&Si(n)&&T(r),s(n)&&r===n&&T(n));for(var l=a(n)||!!c,u=e.attrs.length,f=new Array(u),d=0;d=0&&o[a].lowerCasedTag!==s;a--);else a=0;if(a>=0){for(var l=o.length-1;l>=a;l--)t.end&&t.end(o[l].tag,n,i);o.length=a,r=a&&o[a-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,i):"p"===s&&(t.start&&t.start(e,[],!1,n,i),t.end&&t.end(e,n,i))}T()}(e,{warn:zi,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,n,a,s,f){var d=o&&o.ns||Qi(e);Y&&"svg"===d&&(n=function(e){for(var t=[],n=0;nc&&(s.push(i=e.slice(c,o)),a.push(JSON.stringify(i)));var l=jr(r[1].trim());a.push("_s("+l+")"),s.push({"@binding":l}),c=o+r[0].length}return c-1"+("true"===i?":("+t+")":":_q("+t+","+i+")")),Hr(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&&("+zr(t,"$$a.concat([$$v])")+")}else{$$i>-1&&("+zr(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+zr(t,"$$c")+"}",null,!0)}(e,r,o);else if("input"===i&&"radio"===a)!function(e,t,n){var r=n&&n.number,o=Vr(e,"value")||"null";Ir(e,"checked","_q("+t+","+(o=r?"_n("+o+")":o)+")"),Hr(e,"change",zr(t,o),null,!0)}(e,r,o);else if("input"===i||"textarea"===i)!function(e,t,n){var r=e.attrsMap.type;0;var o=n||{},i=o.lazy,a=o.number,s=o.trim,c=!i&&"range"!==r,l=i?"change":"range"===r?Qr:"input",u="$event.target.value";s&&(u="$event.target.value.trim()");a&&(u="_n("+u+")");var f=zr(t,u);c&&(f="if($event.target.composing)return;"+f);Ir(e,"value","("+t+")"),Hr(e,l,f,null,!0),(s||a)&&Hr(e,"blur","$forceUpdate()")}(e,r,o);else{if(!V.isReservedTag(i))return qr(e,r,o),!1}return!0},text:function(e,t){t.value&&Ir(e,"textContent","_s("+t.value+")",t)},html:function(e,t){t.value&&Ir(e,"innerHTML","_s("+t.value+")",t)}},isPreTag:function(e){return"pre"===e},isUnaryTag:Ci,mustUseProp:Pn,canBeLeftOpenTag:Ti,isReservedTag:Qn,getTagNamespace:er,staticKeys:function(e){return e.reduce((function(e,t){return e.concat(t.staticKeys||[])}),[]).join(",")}(Ca)},Oa=x((function(e){return h("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))}));function Ea(e,t){e&&(Ta=Oa(t.staticKeys||""),Sa=t.isReservedTag||L,function e(t){t.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||g(e.tag)||!Sa(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(Ta)))}(t);if(1===t.type){if(!Sa(t.tag)&&"slot"!==t.tag&&null==t.attrsMap["inline-template"])return;for(var n=0,r=t.children.length;n|^function\s*(?:[\w$]+)?\s*\(/,Ma=/\([^)]*?\);*$/,La=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Na={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Ia={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},Da=function(e){return"if("+e+")return null;"},Pa={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Da("$event.target !== $event.currentTarget"),ctrl:Da("!$event.ctrlKey"),shift:Da("!$event.shiftKey"),alt:Da("!$event.altKey"),meta:Da("!$event.metaKey"),left:Da("'button' in $event && $event.button !== 0"),middle:Da("'button' in $event && $event.button !== 1"),right:Da("'button' in $event && $event.button !== 2")};function Fa(e,t){var n=t?"nativeOn:":"on:",r="",o="";for(var i in e){var a=Ra(e[i]);e[i]&&e[i].dynamic?o+=i+","+a+",":r+='"'+i+'":'+a+","}return r="{"+r.slice(0,-1)+"}",o?n+"_d("+r+",["+o.slice(0,-1)+"])":n+r}function Ra(e){if(!e)return"function(){}";if(Array.isArray(e))return"["+e.map((function(e){return Ra(e)})).join(",")+"]";var t=La.test(e.value),n=ja.test(e.value),r=La.test(e.value.replace(Ma,""));if(e.modifiers){var o="",i="",a=[];for(var s in e.modifiers)if(Pa[s])i+=Pa[s],Na[s]&&a.push(s);else if("exact"===s){var c=e.modifiers;i+=Da(["ctrl","shift","alt","meta"].filter((function(e){return!c[e]})).map((function(e){return"$event."+e+"Key"})).join("||"))}else a.push(s);return a.length&&(o+=function(e){return"if(!$event.type.indexOf('key')&&"+e.map(Ha).join("&&")+")return null;"}(a)),i&&(o+=i),"function($event){"+o+(t?"return "+e.value+"($event)":n?"return ("+e.value+")($event)":r?"return "+e.value:e.value)+"}"}return t||n?e.value:"function($event){"+(r?"return "+e.value:e.value)+"}"}function Ha(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Na[e],r=Ia[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var Va={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:M},Ua=function(e){this.options=e,this.warn=e.warn||Lr,this.transforms=Nr(e.modules,"transformCode"),this.dataGenFns=Nr(e.modules,"genData"),this.directives=E(E({},Va),e.directives);var t=e.isReservedTag||L;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Ba(e,t){var n=new Ua(t);return{render:"with(this){return "+(e?Ja(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Ja(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return qa(e,t);if(e.once&&!e.onceProcessed)return za(e,t);if(e.for&&!e.forProcessed)return Wa(e,t);if(e.if&&!e.ifProcessed)return Ka(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=Ya(e,t),o="_t("+n+(r?","+r:""),i=e.attrs||e.dynamicAttrs?ts((e.attrs||[]).concat(e.dynamicAttrs||[]).map((function(e){return{name:k(e.name),value:e.value,dynamic:e.dynamic}}))):null,a=e.attrsMap["v-bind"];!i&&!a||r||(o+=",null");i&&(o+=","+i);a&&(o+=(i?"":",null")+","+a);return o+")"}(e,t);var n;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:Ya(t,n,!0);return"_c("+e+","+Ga(t,n)+(r?","+r:"")+")"}(e.component,e,t);else{var r;(!e.plain||e.pre&&t.maybeComponent(e))&&(r=Ga(e,t));var o=e.inlineTemplate?null:Ya(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(o?","+o:"")+")"}for(var i=0;i>>0}(a):"")+")"}(e,e.scopedSlots,t)+","),e.model&&(n+="model:{value:"+e.model.value+",callback:"+e.model.callback+",expression:"+e.model.expression+"},"),e.inlineTemplate){var i=function(e,t){var n=e.children[0];0;if(n&&1===n.type){var r=Ba(n,t.options);return"inlineTemplate:{render:function(){"+r.render+"},staticRenderFns:["+r.staticRenderFns.map((function(e){return"function(){"+e+"}"})).join(",")+"]}"}}(e,t);i&&(n+=i+",")}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b("+n+',"'+e.tag+'",'+ts(e.dynamicAttrs)+")"),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Za(e){return 1===e.type&&("slot"===e.tag||e.children.some(Za))}function Xa(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Ka(e,t,Xa,"null");if(e.for&&!e.forProcessed)return Wa(e,t,Xa);var r=e.slotScope===pa?"":String(e.slotScope),o="function("+r+"){return "+("template"===e.tag?e.if&&n?"("+e.if+")?"+(Ya(e,t)||"undefined")+":undefined":Ya(e,t)||"undefined":Ja(e,t))+"}",i=r?"":",proxy:true";return"{key:"+(e.slotTarget||'"default"')+",fn:"+o+i+"}"}function Ya(e,t,n,r,o){var i=e.children;if(i.length){var a=i[0];if(1===i.length&&a.for&&"template"!==a.tag&&"slot"!==a.tag){var s=n?t.maybeComponent(a)?",1":",0":"";return""+(r||Ja)(a,t)+s}var c=n?function(e,t){for(var n=0,r=0;r':'
',as.innerHTML.indexOf(" ")>0}var us=!!W&&ls(!1),fs=!!W&&ls(!0),ds=x((function(e){var t=rr(e);return t&&t.innerHTML})),ps=Sn.prototype.$mount;Sn.prototype.$mount=function(e,t){if((e=e&&rr(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=ds(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){0;var o=cs(r,{outputSourceRange:!1,shouldDecodeNewlines:us,shouldDecodeNewlinesForHref:fs,delimiters:n.delimiters,comments:n.comments},this),i=o.render,a=o.staticRenderFns;n.render=i,n.staticRenderFns=a}}return ps.call(this,e,t)},Sn.compile=cs,t.a=Sn}).call(this,n(1),n(7).setImmediate)},function(e,t,n){"use strict";var r=n(0);n.n(r).a},function(e,t,n){(e.exports=n(6)(!1)).push([e.i,"\n.example {\n border-bottom: 1px solid #ddd;\n border-top: 1px solid #ddd;\n}\n.example + .example {\n margin-top: -1px;\n}\n.example__code {\n background-color: #f8f8f8;\n margin-bottom: 0;\n}\n@media (min-width: 992px) {\n.example__code {\n padding: 3rem 4rem;\n}\n.example__demo {\n padding: 1.5rem 4rem;\n}\n}\n.footer {\n font-size: 0.875rem;\n}\n.carbonads {\n border: 1px solid #ccc;\n border-radius: 0.25rem;\n font-size: 0.875rem;\n overflow: hidden;\n padding: 1rem;\n}\n.carbon-wrap {\n overflow: hidden;\n}\n.carbon-img {\n clear: left;\n display: block;\n float: left;\n}\n.carbon-text,\n.carbon-poweredby {\n display: block;\n margin-left: 140px;\n}\n.carbon-text,\n.carbon-text:hover,\n.carbon-text:focus {\n color: #fff;\n text-decoration: none;\n}\n.carbon-poweredby,\n.carbon-poweredby:hover,\n.carbon-poweredby:focus {\n color: #ddd;\n text-decoration: none;\n}\n@media (min-width: 768px) {\n.carbonads {\n float: right;\n margin-bottom: -1rem;\n margin-top: -1rem;\n max-width: 360px;\n}\n}\n",""])},function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",r=e[3];if(!r)return n;if(t&&"function"==typeof btoa){var o=(a=r,s=btoa(unescape(encodeURIComponent(JSON.stringify(a)))),c="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(c," */")),i=r.sources.map((function(e){return"/*# sourceURL=".concat(r.sourceRoot).concat(e," */")}));return[n].concat(i).concat([o]).join("\n")}var a,s,c;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2],"{").concat(n,"}"):n})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var r={},o=0;o=0&&(e._idleTimeoutId=setTimeout((function(){e._onTimeout&&e._onTimeout()}),t))},n(8),t.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(this,n(1))},function(e,t,n){(function(e,t){!function(e,n){"use strict";if(!e.setImmediate){var r,o,i,a,s,c=1,l={},u=!1,f=e.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(e);d=d&&d.setTimeout?d:e,"[object process]"==={}.toString.call(e.process)?r=function(e){t.nextTick((function(){v(e)}))}:!function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=n,t}}()?e.MessageChannel?((i=new MessageChannel).port1.onmessage=function(e){v(e.data)},r=function(e){i.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(o=f.documentElement,r=function(e){var t=f.createElement("script");t.onreadystatechange=function(){v(e),t.onreadystatechange=null,o.removeChild(t),t=null},o.appendChild(t)}):r=function(e){setTimeout(v,0,e)}:(a="setImmediate$"+Math.random()+"$",s=function(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(a)&&v(+t.data.slice(a.length))},e.addEventListener?e.addEventListener("message",s,!1):e.attachEvent("onmessage",s),r=function(t){e.postMessage(a+t,"*")}),d.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),n=0;n1)for(var n=1;n\n

{{ message }}

\n
',beforeCreate:function(){var e=document.createElement("style");e.textContent="\n.component-vue-0 p {\n border-radius: .25rem;\n border: 1px solid #eee;\n margin-bottom: 1rem;\n padding: .5rem 1rem;\n}\n",document.head.appendChild(e),this.$styleInjectedByMarkdownToVueLoader=e},beforeDestroy:function(){var e=this.$styleInjectedByMarkdownToVueLoader;e.parentNode.removeChild(e)}}]),e}()}},i,[function(){var e=this.$createElement,t=this._self._c||e;return t("blockquote",[t("p",[this._v("Vue code block will be loaded as a Vue component by default.")])])},function(){var e=this.$createElement,t=this._self._c||e;return t("pre",{pre:!0},[t("code",{pre:!0,attrs:{class:"language-vue"}},[this._v("\n\n