diff --git a/.gitignore b/.gitignore index 060b35b..153216e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ .DS_Store node_modules/ -dist/ npm-debug.log diff --git a/dist/index.html b/dist/index.html new file mode 100644 index 0000000..e35f9d0 --- /dev/null +++ b/dist/index.html @@ -0,0 +1 @@ +d3vue
\ No newline at end of file diff --git a/dist/static/css/app.6d91e7f242696e554ecda5be3dbdb7d1.css b/dist/static/css/app.6d91e7f242696e554ecda5be3dbdb7d1.css new file mode 100644 index 0000000..61ee342 --- /dev/null +++ b/dist/static/css/app.6d91e7f242696e554ecda5be3dbdb7d1.css @@ -0,0 +1,155 @@ + +#app[data-v-41b7bac0] { + font-family: 'Avenir', Helvetica, Arial, sans-serif; + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + text-align: center; + margin-top: 30px; +} +a[data-v-41b7bac0] { + color: black; + text-decoration: none; +} + +#links[data-v-098bb42e] { + display: block; + width: 300px; + height: 40px; + position: relative; +} +a[data-v-098bb42e] { + display: block; + position: absolute; + width: 100px; + text-decoration: none; + font-weight: bold; + color: blue; +} +a[data-v-098bb42e]:hover { + text-decoration: underline; +} +.prev[data-v-098bb42e] { + left: 0px; +} +.source[data-v-098bb42e] { + left:100px; + text-align: center; +} +.next[data-v-098bb42e] { + right: 0px; + text-align: right; +} +#holder[data-v-098bb42e] { + width: 300px; + margin: auto; + position: relative; + height: 30px; + /*border-top: 1px dashed gray;*/ + border-bottom: 1px dashed gray; + padding-top: 10px; + margin-top: 10px; + margin-bottom: 10px; +} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +h1[data-v-417810ac], h2[data-v-417810ac] { + font-weight: normal; +} +ul[data-v-417810ac] { + /*list-style-type: none;*/ + padding: 0; + margin: auto; + width: 150px; +} +li[data-v-417810ac] { + /*display: inline-block;*/ + margin: 0 0px; + list-style: decimal +} +a[data-v-417810ac] { + color: blue; + display: block; + text-decoration: none; + text-align: left; +} +a[data-v-417810ac]:hover { + text-decoration: underline; +} + +/*# sourceMappingURL=app.6d91e7f242696e554ecda5be3dbdb7d1.css.map*/ \ No newline at end of file diff --git a/dist/static/css/app.6d91e7f242696e554ecda5be3dbdb7d1.css.map b/dist/static/css/app.6d91e7f242696e554ecda5be3dbdb7d1.css.map new file mode 100644 index 0000000..53dd064 --- /dev/null +++ b/dist/static/css/app.6d91e7f242696e554ecda5be3dbdb7d1.css.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack:///src/app.vue","webpack:///webpack:///src/components/demos-navigation.vue","webpack:///webpack:///src/components/index.vue"],"names":[],"mappings":";AACA;EACE,oDAAoD;EACpD,oCAAoC;EACpC,mCAAmC;EACnC,mBAAmB;EACnB,iBAAiB;CAClB;AACD;EACE,aAAa;EACb,sBAAsB;CACvB;;ACVD;EACE,eAAe;EACf,aAAa;EACb,aAAa;EACb,mBAAmB;CACpB;AACD;EACE,eAAe;EACf,mBAAmB;EACnB,aAAa;EACb,sBAAsB;EACtB,kBAAkB;EAClB,YAAY;CACb;AACD;EACE,2BAA2B;CAC5B;AACD;EACE,UAAU;CACX;AACD;EACE,WAAW;EACX,mBAAmB;CACpB;AACD;EACE,WAAW;EACX,kBAAkB;CACnB;AACD;EACE,aAAa;EACb,aAAa;EACb,mBAAmB;EACnB,aAAa;EACb,gCAAgC;EAChC,+BAA+B;EAC/B,kBAAkB;EAClB,iBAAiB;EACjB,oBAAoB;CACrB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ACtCD;EACE,oBAAoB;CACrB;AACD;EACE,0BAA0B;EAC1B,WAAW;EACX,aAAa;EACb,aAAa;CACd;AACD;EACE,0BAA0B;EAC1B,cAAc;EACd,mBAAmB;CACpB;AACD;EACE,YAAY;EACZ,eAAe;EACf,sBAAsB;EACtB,iBAAiB;CAClB;AACD;EACE,2BAA2B;CAC5B","file":"static/css/app.6d91e7f242696e554ecda5be3dbdb7d1.css","sourcesContent":["\n#app[data-v-41b7bac0] {\n font-family: 'Avenir', Helvetica, Arial, sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-align: center;\n margin-top: 30px;\n}\na[data-v-41b7bac0] {\n color: black;\n text-decoration: none;\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/app.vue","\n#links[data-v-098bb42e] {\n display: block;\n width: 300px;\n height: 40px;\n position: relative;\n}\na[data-v-098bb42e] {\n display: block;\n position: absolute;\n width: 100px;\n text-decoration: none;\n font-weight: bold;\n color: blue;\n}\na[data-v-098bb42e]:hover {\n text-decoration: underline;\n}\n.prev[data-v-098bb42e] {\n left: 0px;\n}\n.source[data-v-098bb42e] {\n left:100px;\n text-align: center;\n}\n.next[data-v-098bb42e] {\n right: 0px;\n text-align: right;\n}\n#holder[data-v-098bb42e] {\n width: 300px;\n margin: auto;\n position: relative;\n height: 30px;\n /*border-top: 1px dashed gray;*/\n border-bottom: 1px dashed gray;\n padding-top: 10px;\n margin-top: 10px;\n margin-bottom: 10px;\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/demos-navigation.vue","\nh1[data-v-417810ac], h2[data-v-417810ac] {\n font-weight: normal;\n}\nul[data-v-417810ac] {\n /*list-style-type: none;*/\n padding: 0;\n margin: auto;\n width: 150px;\n}\nli[data-v-417810ac] {\n /*display: inline-block;*/\n margin: 0 0px;\n list-style: decimal\n}\na[data-v-417810ac] {\n color: blue;\n display: block;\n text-decoration: none;\n text-align: left;\n}\na[data-v-417810ac]:hover {\n text-decoration: underline;\n}\n\n\n\n// WEBPACK FOOTER //\n// webpack:///src/components/index.vue"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/static/js/app.69e41e5e2743999f0b66.js b/dist/static/js/app.69e41e5e2743999f0b66.js new file mode 100644 index 0000000..17654af --- /dev/null +++ b/dist/static/js/app.69e41e5e2743999f0b66.js @@ -0,0 +1,2 @@ +webpackJsonp([1,2],[,,,,,,,,function(e,t,n){"use strict";n.d(t,"a",function(){return a});var r=n(30),a=[{name:"Circle mount",path:"/circle-mount",component:n(73)},{name:"Size controller",path:"/size-controller",component:n(74)}].map(function(e){var t=e;return t.href="#"+e.path,t.source=r.githubLink+"tree/master/src/d3-components"+e.path+".vue",t})},,,,,,,,,,,,,,,,,,,,,,function(e,t){e.exports={githubLink:"https://github.com/corpglory/d3vue/"}},function(e,t,n){"use strict";var r=n(39),a=n.n(r),i=n(16),c=n.n(i),s=n(80),u=n.n(s),o=n(72),l=n.n(o),f=n(8);c.a.use(u.a),t.a=new u.a({routes:[{path:"/",name:"Menu",component:l.a}].concat(a()(f.a))})},function(e,t,n){n(68);var r=n(2)(n(33),n(77),"data-v-41b7bac0",null);e.exports=r.exports},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(71),a=n.n(r);t.default={name:"app",components:{topNav:a.a}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(8),a=n(30);t.default={computed:{prev:function(){var e=this.findIndex();if(e!=-1)return e>0?r.a[e-1]:void 0},next:function(){var e=this.findIndex();if(e!=-1)return e+1 ")]):e._e()])])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"hello"},[n("ul",e._l(e.items,function(t){return n("li",[n("a",{attrs:{href:t.href}},[e._v(e._s(t.name))])])}))])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{attrs:{id:"app"}},[e._m(0),e._v(" "),n("h2",[e._v(e._s(e.$route.name))]),e._v(" "),n("topNav"),e._v(" "),n("router-view")],1)},staticRenderFns:[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",{attrs:{href:"#/"}},[n("h1",[e._v(" D3.js vs Vue.js examples ")])])}]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("svg",{attrs:{width:"500",height:"300"}}),e._v(" "),n("br"),e._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:e.circleSize,expression:"circleSize"}],attrs:{type:"range",min:"1",max:"100",step:"1"},domProps:{value:e._s(e.circleSize)},on:{input:function(t){e.circleSize=t.target.value}}})])},staticRenderFns:[]}},function(e,t){e.exports={render:function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{width:"500",height:"300"}})},staticRenderFns:[]}},,,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(16),a=n.n(r),i=n(32),c=n.n(i),s=n(31);new a.a({el:"#app",router:s.a,template:"",components:{app:c.a}})}],[83]); +//# sourceMappingURL=app.69e41e5e2743999f0b66.js.map \ No newline at end of file diff --git a/dist/static/js/app.69e41e5e2743999f0b66.js.map b/dist/static/js/app.69e41e5e2743999f0b66.js.map new file mode 100644 index 0000000..ba44fa9 --- /dev/null +++ b/dist/static/js/app.69e41e5e2743999f0b66.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///static/js/app.69e41e5e2743999f0b66.js","webpack:///./src/router/demos.js","webpack:///./src/config.json","webpack:///./src/router/index.js","webpack:///./src/app.vue","webpack:///app.vue","webpack:///demos-navigation.vue","webpack:///index.vue","webpack:///circle-mount.vue","webpack:///size-controller.vue","webpack:///./src/components/demos-navigation.vue","webpack:///./src/components/index.vue","webpack:///./src/d3-components/circle-mount.vue","webpack:///./src/d3-components/size-controller.vue","webpack:///./src/components/demos-navigation.vue?5a2b","webpack:///./src/components/index.vue?df1f","webpack:///./src/app.vue?497c","webpack:///./src/d3-components/size-controller.vue?4cbe","webpack:///./src/d3-components/circle-mount.vue?0182","webpack:///./src/main.js"],"names":["webpackJsonp","module","__webpack_exports__","__webpack_require__","d","routes","config","name","path","component","map","r","res","href","source","githubLink","exports","__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_toConsumableArray__","__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_toConsumableArray___default","n","__WEBPACK_IMPORTED_MODULE_1_vue__","__WEBPACK_IMPORTED_MODULE_1_vue___default","__WEBPACK_IMPORTED_MODULE_2_vue_router__","__WEBPACK_IMPORTED_MODULE_2_vue_router___default","__WEBPACK_IMPORTED_MODULE_3_components_index__","__WEBPACK_IMPORTED_MODULE_3_components_index___default","__WEBPACK_IMPORTED_MODULE_4__demos__","a","use","concat","Component","Object","defineProperty","value","__WEBPACK_IMPORTED_MODULE_0__components_demos_navigation__","__WEBPACK_IMPORTED_MODULE_0__components_demos_navigation___default","components","topNav","__WEBPACK_IMPORTED_MODULE_0_router_demos__","computed","prev","index","this","findIndex","undefined","next","length","sourceHref","methods","me","$route","data","items","d3","mounted","select","$el","append","attr","circleSize","createElement","svg","circle","watch","newValue","render","_vm","_h","$createElement","_c","_self","attrs","id","staticClass","_v","_e","staticRenderFns","_l","item","_s","_m","width","height","directives","rawName","expression","type","min","max","step","domProps","on","input","$event","target","__WEBPACK_IMPORTED_MODULE_0_vue__","__WEBPACK_IMPORTED_MODULE_0_vue___default","__WEBPACK_IMPORTED_MODULE_1__app__","__WEBPACK_IMPORTED_MODULE_1__app___default","__WEBPACK_IMPORTED_MODULE_2__router__","el","router","template","app"],"mappings":"AAAAA,cAAc,EAAE,IACT,CACA,CACA,CACA,CACA,CACA,CACA,CACA,CAED,SAAUC,EAAQC,EAAqBC,GAE7C,YCZAA,GAAAC,EAAAF,EAAA,qBAAAG,IAAA,IAAMC,GAASH,EAAQ,IAEVE,IAETE,KAAM,eACNC,KAAM,gBACNC,UAAWN,EAAQ,MAGnBI,KAAM,kBACNC,KAAM,mBACNC,UAAWN,EAAQ,MAErBO,IAAI,SAAAC,GACJ,GAAIC,GAAMD,CAKV,OAJAC,GAAIC,KAAO,IAAMF,EAAEH,KACnBI,EAAIE,OAASR,EAAOS,WACP,gCACAJ,EAAEH,KAAO,OACfI,KDaF,CACC,CACA,CACA,CACA,CACA,CACA,C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AAL,EAAA,SACHc,aACA5E,KAAA,QACA6E,QAAA,UACAnD,MAAAiC,EAAA,WACAmB,WAAA,eAEAd,OACAe,KAAA,QACAC,IAAA,IACAC,IAAA,MACAC,KAAA,KAEAC,UACAzD,MAAAiC,EAAAa,GAAAb,EAAAP,aAEAgC,IACAC,MAAA,SAAAC,GACA3B,EAAAP,WAAAkC,EAAAC,OAAA7D,aAIC2C,qBjBqcK,SAAU3E,EAAQe,GkBjexBf,EAAAe,SAAgBiD,OAAA,WAAmB,GAAAC,GAAAxB,KAAayB,EAAAD,EAAAE,eAA0BC,EAAAH,EAAAI,MAAAD,IAAAF,CAC1E,OAAAE,GAAA,OACAE,OACAU,MAAA,MACAC,OAAA,UAGCN,qBlBseO,CACA,CACA,CAEF,SAAU3E,EAAQC,EAAqBC,GAE7C,YACA4B,QAAOC,eAAe9B,EAAqB,cAAgB+B,OAAO,GAC7C,IAAI8D,GAAoC5F,EAAoB,IACxD6F,EAA4C7F,EAAoBgB,EAAE4E,GAClEE,EAAqC9F,EAAoB,IACzD+F,EAA6C/F,EAAoBgB,EAAE8E,GACnEE,EAAwChG,EAAoB,GmBlfrF,IAAI6F,GAAArE,GACFyE,GAAI,OACJC,OAAAF,EAAA,EACAG,SAAU,SACVlE,YAAcmE,IAAAL,EAAAvE,QnB4fb","file":"static/js/app.69e41e5e2743999f0b66.js","sourcesContent":["webpackJsonp([1,2],[\n/* 0 */,\n/* 1 */,\n/* 2 */,\n/* 3 */,\n/* 4 */,\n/* 5 */,\n/* 6 */,\n/* 7 */,\n/* 8 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return routes; });\nvar config = __webpack_require__(30);\n\nvar routes = [{\n name: 'Circle mount',\n path: '/circle-mount',\n component: __webpack_require__(73)\n}, {\n name: 'Size controller',\n path: '/size-controller',\n component: __webpack_require__(74)\n}].map(function (r) {\n var res = r;\n res.href = \"#\" + r.path;\n res.source = config.githubLink + 'tree/master/src/d3-components' + r.path + '.vue';\n return res;\n});\n\n/***/ }),\n/* 9 */,\n/* 10 */,\n/* 11 */,\n/* 12 */,\n/* 13 */,\n/* 14 */,\n/* 15 */,\n/* 16 */,\n/* 17 */,\n/* 18 */,\n/* 19 */,\n/* 20 */,\n/* 21 */,\n/* 22 */,\n/* 23 */,\n/* 24 */,\n/* 25 */,\n/* 26 */,\n/* 27 */,\n/* 28 */,\n/* 29 */,\n/* 30 */\n/***/ (function(module, exports) {\n\nmodule.exports = {\n\t\"githubLink\": \"https://github.com/corpglory/d3vue/\"\n};\n\n/***/ }),\n/* 31 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_toConsumableArray__ = __webpack_require__(39);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_toConsumableArray___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_toConsumableArray__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vue__ = __webpack_require__(16);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1_vue__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_vue_router__ = __webpack_require__(80);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2_vue_router___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2_vue_router__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_components_index__ = __webpack_require__(72);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3_components_index___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3_components_index__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__demos__ = __webpack_require__(8);\n\n\n\n\n\n\n__WEBPACK_IMPORTED_MODULE_1_vue___default.a.use(__WEBPACK_IMPORTED_MODULE_2_vue_router___default.a);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = new __WEBPACK_IMPORTED_MODULE_2_vue_router___default.a({\n routes: [{\n path: '/',\n name: 'Menu',\n component: __WEBPACK_IMPORTED_MODULE_3_components_index___default.a\n }].concat(__WEBPACK_IMPORTED_MODULE_0_babel_runtime_helpers_toConsumableArray___default()(__WEBPACK_IMPORTED_MODULE_4__demos__[\"a\" /* routes */]))\n});\n\n/***/ }),\n/* 32 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\n/* styles */\n__webpack_require__(68)\n\nvar Component = __webpack_require__(2)(\n /* script */\n __webpack_require__(33),\n /* template */\n __webpack_require__(77),\n /* scopeId */\n \"data-v-41b7bac0\",\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n/***/ }),\n/* 33 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__components_demos_navigation__ = __webpack_require__(71);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__components_demos_navigation___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__components_demos_navigation__);\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = {\n name: 'app',\n components: { topNav: __WEBPACK_IMPORTED_MODULE_0__components_demos_navigation___default.a }\n};\n\n/***/ }),\n/* 34 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_router_demos__ = __webpack_require__(8);\n\n\n\nvar config = __webpack_require__(30);\n\n/* harmony default export */ __webpack_exports__[\"default\"] = {\n computed: {\n prev: function prev() {\n var index = this.findIndex();\n if (index == -1) {\n return undefined;\n }\n return index > 0 ? __WEBPACK_IMPORTED_MODULE_0_router_demos__[\"a\" /* routes */][index - 1] : undefined;\n },\n next: function next() {\n var index = this.findIndex();\n if (index == -1) {\n return undefined;\n }\n return index + 1 < __WEBPACK_IMPORTED_MODULE_0_router_demos__[\"a\" /* routes */].length ? __WEBPACK_IMPORTED_MODULE_0_router_demos__[\"a\" /* routes */][index + 1] : undefined;\n },\n sourceHref: function sourceHref() {\n var index = this.findIndex();\n if (index == -1) {\n return config.githubLink;\n }\n return __WEBPACK_IMPORTED_MODULE_0_router_demos__[\"a\" /* routes */][index].source;\n }\n },\n methods: {\n findIndex: function findIndex() {\n var me = this.$route.path;\n return __WEBPACK_IMPORTED_MODULE_0_router_demos__[\"a\" /* routes */].findIndex(function (r) {\n return r.path === me;\n });\n }\n }\n};\n\n/***/ }),\n/* 35 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_router_demos__ = __webpack_require__(8);\n\n\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = {\n data: function data() {\n return {\n items: __WEBPACK_IMPORTED_MODULE_0_router_demos__[\"a\" /* routes */]\n };\n }\n};\n\n/***/ }),\n/* 36 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n\n\nvar d3 = __webpack_require__(29);\n/* harmony default export */ __webpack_exports__[\"default\"] = {\n mounted: function mounted() {\n d3.select(this.$el).append('circle').attr('cx', '250').attr('cy', '150').attr('r', '100');\n }\n};\n\n/***/ }),\n/* 37 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n\n\nvar d3 = __webpack_require__(29);\n/* harmony default export */ __webpack_exports__[\"default\"] = {\n data: function data() {\n return {\n circleSize: 50\n };\n },\n mounted: function mounted(createElement) {\n var svg = d3.select(this.$el).select('svg');\n this.circle = svg.append('circle').attr('cx', '250').attr('cy', '150').attr('r', this.circleSize);\n },\n watch: {\n circleSize: function circleSize(newValue) {\n this.circle.attr('r', newValue);\n }\n }\n\n};\n\n/***/ }),\n/* 38 */,\n/* 39 */,\n/* 40 */,\n/* 41 */,\n/* 42 */,\n/* 43 */,\n/* 44 */,\n/* 45 */,\n/* 46 */,\n/* 47 */,\n/* 48 */,\n/* 49 */,\n/* 50 */,\n/* 51 */,\n/* 52 */,\n/* 53 */,\n/* 54 */,\n/* 55 */,\n/* 56 */,\n/* 57 */,\n/* 58 */,\n/* 59 */,\n/* 60 */,\n/* 61 */,\n/* 62 */,\n/* 63 */,\n/* 64 */,\n/* 65 */,\n/* 66 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 67 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 68 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 69 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 70 */\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n/* 71 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\n/* styles */\n__webpack_require__(66)\n\nvar Component = __webpack_require__(2)(\n /* script */\n __webpack_require__(34),\n /* template */\n __webpack_require__(75),\n /* scopeId */\n \"data-v-098bb42e\",\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n/***/ }),\n/* 72 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\n/* styles */\n__webpack_require__(67)\n\nvar Component = __webpack_require__(2)(\n /* script */\n __webpack_require__(35),\n /* template */\n __webpack_require__(76),\n /* scopeId */\n \"data-v-417810ac\",\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n/***/ }),\n/* 73 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\n/* styles */\n__webpack_require__(70)\n\nvar Component = __webpack_require__(2)(\n /* script */\n __webpack_require__(36),\n /* template */\n __webpack_require__(79),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n/***/ }),\n/* 74 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\n/* styles */\n__webpack_require__(69)\n\nvar Component = __webpack_require__(2)(\n /* script */\n __webpack_require__(37),\n /* template */\n __webpack_require__(78),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n/***/ }),\n/* 75 */\n/***/ (function(module, exports) {\n\nmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n attrs: {\n \"id\": \"holder\"\n }\n }, [_c('div', {\n staticClass: \"links\"\n }, [(_vm.prev) ? _c('a', {\n staticClass: \"prev\",\n attrs: {\n \"href\": _vm.prev.href\n }\n }, [_vm._v(\" < previous \")]) : _vm._e(), _vm._v(\" \"), _c('a', {\n staticClass: \"source\",\n attrs: {\n \"href\": _vm.sourceHref\n }\n }, [_vm._v(\" source \")]), _vm._v(\" \"), (_vm.next) ? _c('a', {\n staticClass: \"next\",\n attrs: {\n \"href\": _vm.next.href\n }\n }, [_vm._v(\" next > \")]) : _vm._e()])])\n},staticRenderFns: []}\n\n/***/ }),\n/* 76 */\n/***/ (function(module, exports) {\n\nmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"hello\"\n }, [_c('ul', _vm._l((_vm.items), function(item) {\n return _c('li', [_c('a', {\n attrs: {\n \"href\": item.href\n }\n }, [_vm._v(_vm._s(item.name))])])\n }))])\n},staticRenderFns: []}\n\n/***/ }),\n/* 77 */\n/***/ (function(module, exports) {\n\nmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n attrs: {\n \"id\": \"app\"\n }\n }, [_vm._m(0), _vm._v(\" \"), _c('h2', [_vm._v(_vm._s(_vm.$route.name))]), _vm._v(\" \"), _c('topNav'), _vm._v(\" \"), _c('router-view')], 1)\n},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('a', {\n attrs: {\n \"href\": \"#/\"\n }\n }, [_c('h1', [_vm._v(\" D3.js vs Vue.js examples \")])])\n}]}\n\n/***/ }),\n/* 78 */\n/***/ (function(module, exports) {\n\nmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', [_c('svg', {\n attrs: {\n \"width\": \"500\",\n \"height\": \"300\"\n }\n }), _vm._v(\" \"), _c('br'), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.circleSize),\n expression: \"circleSize\"\n }],\n attrs: {\n \"type\": \"range\",\n \"min\": \"1\",\n \"max\": \"100\",\n \"step\": \"1\"\n },\n domProps: {\n \"value\": _vm._s(_vm.circleSize)\n },\n on: {\n \"input\": function($event) {\n _vm.circleSize = $event.target.value\n }\n }\n })])\n},staticRenderFns: []}\n\n/***/ }),\n/* 79 */\n/***/ (function(module, exports) {\n\nmodule.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('svg', {\n attrs: {\n \"width\": \"500\",\n \"height\": \"300\"\n }\n })\n},staticRenderFns: []}\n\n/***/ }),\n/* 80 */,\n/* 81 */,\n/* 82 */,\n/* 83 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue__ = __webpack_require__(16);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0_vue__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app__ = __webpack_require__(32);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__app___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__app__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__router__ = __webpack_require__(31);\n\n\n\n\n\nnew __WEBPACK_IMPORTED_MODULE_0_vue___default.a({\n el: '#app',\n router: __WEBPACK_IMPORTED_MODULE_2__router__[\"a\" /* default */],\n template: '',\n components: { app: __WEBPACK_IMPORTED_MODULE_1__app___default.a }\n});\n\n/***/ })\n],[83]);\n\n\n// WEBPACK FOOTER //\n// static/js/app.69e41e5e2743999f0b66.js","const config = require('config.json');\n\nexport const routes = [\n {\n name: 'Circle mount',\n path: '/circle-mount',\n component: require('d3-components/circle-mount')\n },\n {\n name: 'Size controller',\n path: '/size-controller',\n component: require('d3-components/size-controller')\n }\n].map(r => {\n var res = r;\n res.href = \"#\" + r.path;\n res.source = config.githubLink +\n 'tree/master/src/d3-components' +\n r.path + '.vue'\n return res;\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/demos.js","module.exports = {\n\t\"githubLink\": \"https://github.com/corpglory/d3vue/\"\n};\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/config.json\n// module id = 30\n// module chunks = 1","import Vue from 'vue'\nimport Router from 'vue-router'\nimport Index from 'components/index'\nimport {routes as demoRoutes} from './demos'\n\nVue.use(Router)\n\nexport default new Router({\n routes: [\n {\n path: '/',\n name: 'Menu',\n component: Index\n }, ... demoRoutes\n\n ]\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/router/index.js","\n/* styles */\nrequire(\"!!./../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!./../node_modules/vue-loader/lib/style-rewriter?id=data-v-41b7bac0&scoped=true!./../node_modules/vue-loader/lib/selector?type=styles&index=0!./app.vue\")\n\nvar Component = require(\"!./../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./../node_modules/vue-loader/lib/selector?type=script&index=0!./app.vue\"),\n /* template */\n require(\"!!./../node_modules/vue-loader/lib/template-compiler?id=data-v-41b7bac0!./../node_modules/vue-loader/lib/selector?type=template&index=0!./app.vue\"),\n /* scopeId */\n \"data-v-41b7bac0\",\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/app.vue\n// module id = 32\n// module chunks = 1","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// app.vue?58abec0d","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// demos-navigation.vue?3687efc2","\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// index.vue?10a4aa44","\n\n\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// circle-mount.vue?6e00d521","\n\n\n\n\n\n\n\n\n\n// WEBPACK FOOTER //\n// size-controller.vue?981154c2","\n/* styles */\nrequire(\"!!./../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!./../../node_modules/vue-loader/lib/style-rewriter?id=data-v-098bb42e&scoped=true!./../../node_modules/vue-loader/lib/selector?type=styles&index=0!./demos-navigation.vue\")\n\nvar Component = require(\"!./../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./../../node_modules/vue-loader/lib/selector?type=script&index=0!./demos-navigation.vue\"),\n /* template */\n require(\"!!./../../node_modules/vue-loader/lib/template-compiler?id=data-v-098bb42e!./../../node_modules/vue-loader/lib/selector?type=template&index=0!./demos-navigation.vue\"),\n /* scopeId */\n \"data-v-098bb42e\",\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/demos-navigation.vue\n// module id = 71\n// module chunks = 1","\n/* styles */\nrequire(\"!!./../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!./../../node_modules/vue-loader/lib/style-rewriter?id=data-v-417810ac&scoped=true!./../../node_modules/vue-loader/lib/selector?type=styles&index=0!./index.vue\")\n\nvar Component = require(\"!./../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./../../node_modules/vue-loader/lib/selector?type=script&index=0!./index.vue\"),\n /* template */\n require(\"!!./../../node_modules/vue-loader/lib/template-compiler?id=data-v-417810ac!./../../node_modules/vue-loader/lib/selector?type=template&index=0!./index.vue\"),\n /* scopeId */\n \"data-v-417810ac\",\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/components/index.vue\n// module id = 72\n// module chunks = 1","\n/* styles */\nrequire(\"!!./../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!./../../node_modules/vue-loader/lib/style-rewriter?id=data-v-6cdccc88!./../../node_modules/vue-loader/lib/selector?type=styles&index=0!./circle-mount.vue\")\n\nvar Component = require(\"!./../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./../../node_modules/vue-loader/lib/selector?type=script&index=0!./circle-mount.vue\"),\n /* template */\n require(\"!!./../../node_modules/vue-loader/lib/template-compiler?id=data-v-6cdccc88!./../../node_modules/vue-loader/lib/selector?type=template&index=0!./circle-mount.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/d3-components/circle-mount.vue\n// module id = 73\n// module chunks = 1","\n/* styles */\nrequire(\"!!./../../node_modules/extract-text-webpack-plugin/loader.js?{\\\"omit\\\":1,\\\"remove\\\":true}!vue-style-loader!css-loader?sourceMap!./../../node_modules/vue-loader/lib/style-rewriter?id=data-v-4dc993ec!./../../node_modules/vue-loader/lib/selector?type=styles&index=0!./size-controller.vue\")\n\nvar Component = require(\"!./../../node_modules/vue-loader/lib/component-normalizer\")(\n /* script */\n require(\"!!babel-loader!./../../node_modules/vue-loader/lib/selector?type=script&index=0!./size-controller.vue\"),\n /* template */\n require(\"!!./../../node_modules/vue-loader/lib/template-compiler?id=data-v-4dc993ec!./../../node_modules/vue-loader/lib/selector?type=template&index=0!./size-controller.vue\"),\n /* scopeId */\n null,\n /* cssModules */\n null\n)\n\nmodule.exports = Component.exports\n\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./src/d3-components/size-controller.vue\n// module id = 74\n// module chunks = 1","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n attrs: {\n \"id\": \"holder\"\n }\n }, [_c('div', {\n staticClass: \"links\"\n }, [(_vm.prev) ? _c('a', {\n staticClass: \"prev\",\n attrs: {\n \"href\": _vm.prev.href\n }\n }, [_vm._v(\" < previous \")]) : _vm._e(), _vm._v(\" \"), _c('a', {\n staticClass: \"source\",\n attrs: {\n \"href\": _vm.sourceHref\n }\n }, [_vm._v(\" source \")]), _vm._v(\" \"), (_vm.next) ? _c('a', {\n staticClass: \"next\",\n attrs: {\n \"href\": _vm.next.href\n }\n }, [_vm._v(\" next > \")]) : _vm._e()])])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-098bb42e!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/demos-navigation.vue\n// module id = 75\n// module chunks = 1","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n staticClass: \"hello\"\n }, [_c('ul', _vm._l((_vm.items), function(item) {\n return _c('li', [_c('a', {\n attrs: {\n \"href\": item.href\n }\n }, [_vm._v(_vm._s(item.name))])])\n }))])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-417810ac!./~/vue-loader/lib/selector.js?type=template&index=0!./src/components/index.vue\n// module id = 76\n// module chunks = 1","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', {\n attrs: {\n \"id\": \"app\"\n }\n }, [_vm._m(0), _vm._v(\" \"), _c('h2', [_vm._v(_vm._s(_vm.$route.name))]), _vm._v(\" \"), _c('topNav'), _vm._v(\" \"), _c('router-view')], 1)\n},staticRenderFns: [function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('a', {\n attrs: {\n \"href\": \"#/\"\n }\n }, [_c('h1', [_vm._v(\" D3.js vs Vue.js examples \")])])\n}]}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-41b7bac0!./~/vue-loader/lib/selector.js?type=template&index=0!./src/app.vue\n// module id = 77\n// module chunks = 1","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('div', [_c('svg', {\n attrs: {\n \"width\": \"500\",\n \"height\": \"300\"\n }\n }), _vm._v(\" \"), _c('br'), _vm._v(\" \"), _c('input', {\n directives: [{\n name: \"model\",\n rawName: \"v-model\",\n value: (_vm.circleSize),\n expression: \"circleSize\"\n }],\n attrs: {\n \"type\": \"range\",\n \"min\": \"1\",\n \"max\": \"100\",\n \"step\": \"1\"\n },\n domProps: {\n \"value\": _vm._s(_vm.circleSize)\n },\n on: {\n \"input\": function($event) {\n _vm.circleSize = $event.target.value\n }\n }\n })])\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-4dc993ec!./~/vue-loader/lib/selector.js?type=template&index=0!./src/d3-components/size-controller.vue\n// module id = 78\n// module chunks = 1","module.exports={render:function (){var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;\n return _c('svg', {\n attrs: {\n \"width\": \"500\",\n \"height\": \"300\"\n }\n })\n},staticRenderFns: []}\n\n\n//////////////////\n// WEBPACK FOOTER\n// ./~/vue-loader/lib/template-compiler.js?id=data-v-6cdccc88!./~/vue-loader/lib/selector.js?type=template&index=0!./src/d3-components/circle-mount.vue\n// module id = 79\n// module chunks = 1","// The Vue build version to load with the `import` command\n// (runtime-only or standalone) has been set in webpack.base.conf with an alias.\nimport Vue from 'vue'\nimport app from './app'\nimport router from './router'\n\n/* eslint-disable no-new */\nnew Vue({\n el: '#app',\n router,\n template: '',\n components: { app }\n})\n\n\n\n// WEBPACK FOOTER //\n// ./src/main.js"],"sourceRoot":""} \ No newline at end of file diff --git a/dist/static/js/manifest.066a57d689d508847208.js b/dist/static/js/manifest.066a57d689d508847208.js new file mode 100644 index 0000000..f2fb77f --- /dev/null +++ b/dist/static/js/manifest.066a57d689d508847208.js @@ -0,0 +1,2 @@ +!function(e){function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}var n=window.webpackJsonp;window.webpackJsonp=function(t,c,i){for(var u,a,f,s=0,l=[];s0?r:e)(t)}},function(t,n,e){"use strict";(function(n){/*! + * Vue.js v2.1.10 + * (c) 2014-2017 Evan You + * Released under the MIT License. + */ +function e(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function r(t){var n=parseFloat(t);return isNaN(n)?t:n}function i(t,n){for(var e=Object.create(null),r=t.split(","),i=0;i-1)return t.splice(e,1)}}function a(t,n){return ai.call(t,n)}function u(t){return"string"==typeof t||"number"==typeof t}function s(t){var n=Object.create(null);return function(e){var r=n[e];return r||(n[e]=t(e))}}function c(t,n){function e(e){var r=arguments.length;return r?r>1?t.apply(n,arguments):t.call(n,e):t.call(n)}return e._length=t.length,e}function f(t,n){n=n||0;for(var e=t.length-n,r=new Array(e);e--;)r[e]=t[e+n];return r}function l(t,n){for(var e in n)t[e]=n[e];return t}function h(t){return null!==t&&"object"==typeof t}function p(t){return hi.call(t)===pi}function d(t){for(var n={},e=0;e1?f(e):e;for(var r=f(arguments,1),i=0,o=e.length;i=0&&Gi[e].id>t.id;)e--;Gi.splice(Math.max(e,eo)+1,0,t)}else Gi.push(t);to||(to=!0,Ti(Ct))}}function Tt(t){oo.clear(),Et(t,oo)}function Et(t,n){var e,r,i=Array.isArray(t);if((i||h(t))&&Object.isExtensible(t)){if(t.__ob__){var o=t.__ob__.dep.id;if(n.has(o))return;n.add(o)}if(i)for(e=t.length;e--;)Et(t[e],n);else for(r=Object.keys(t),e=r.length;e--;)Et(t[r[e]],n)}}function Nt(t){t._watchers=[];var n=t.$options;n.props&&Ot(t,n.props),n.methods&&Lt(t,n.methods),n.data?$t(t):S(t._data={},!0),n.computed&&Pt(t,n.computed),n.watch&&jt(t,n.watch)}function Ot(t,n){var e=t.$options.propsData||{},r=t.$options._propKeys=Object.keys(n),i=!t.$parent;Ii.shouldConvert=i;for(var o=function(i){var o=r[i];T(t,o,D(o,n,e,t))},a=0;a-1:t.test(n)}function Kt(t,n){for(var e in t){var r=t[e];if(r){var i=Wt(r.componentOptions);i&&!n(i)&&(Zt(r),t[e]=null)}}}function Zt(t){t&&(t.componentInstance._inactive||kt(t.componentInstance,"deactivated"),t.componentInstance.$destroy())}function Gt(t){var n={};n.get=function(){return yi},Object.defineProperty(t,"config",n),t.util=qi,t.set=E,t.delete=N,t.nextTick=Ti,t.options=Object.create(null),yi._assetTypes.forEach(function(n){t.options[n+"s"]=Object.create(null)}),t.options._base=t,l(t.options.components,fo),Ht(t),Yt(t),Vt(t),Xt(t)}function Qt(t){for(var n=t.data,e=t,r=t;r.componentInstance;)r=r.componentInstance._vnode,r.data&&(n=tn(r.data,n));for(;e=e.parent;)e.data&&(n=tn(n,e.data));return nn(n)}function tn(t,n){return{staticClass:en(t.staticClass,n.staticClass),class:t.class?[t.class,n.class]:n.class}}function nn(t){var n=t.class,e=t.staticClass;return e||n?en(e,rn(n)):""}function en(t,n){return t?n?t+" "+n:t:n||""}function rn(t){var n="";if(!t)return n;if("string"==typeof t)return t;if(Array.isArray(t)){for(var e,r=0,i=t.length;r-1?So[t]=n.constructor===window.HTMLUnknownElement||n.constructor===window.HTMLElement:So[t]=/HTMLUnknownElement/.test(n.toString())}function un(t){if("string"==typeof t){if(t=document.querySelector(t),!t)return document.createElement("div")}return t}function sn(t,n){var e=document.createElement(t);return"select"!==t?e:(n.data&&n.data.attrs&&"multiple"in n.data.attrs&&e.setAttribute("multiple","multiple"),e)}function cn(t,n){return document.createElementNS(wo[t],n)}function fn(t){return document.createTextNode(t)}function ln(t){return document.createComment(t)}function hn(t,n,e){t.insertBefore(n,e)}function pn(t,n){t.removeChild(n)}function dn(t,n){t.appendChild(n)}function vn(t){return t.parentNode}function yn(t){return t.nextSibling}function gn(t){return t.tagName}function _n(t,n){t.textContent=n}function mn(t,n,e){t.setAttribute(n,e)}function xn(t,n){var e=t.data.ref;if(e){var r=t.context,i=t.componentInstance||t.elm,a=r.$refs;n?Array.isArray(a[e])?o(a[e],i):a[e]===i&&(a[e]=void 0):t.data.refInFor?Array.isArray(a[e])&&a[e].indexOf(i)<0?a[e].push(i):a[e]=[i]:a[e]=i}}function bn(t){return null==t}function wn(t){return null!=t}function Mn(t,n){return t.key===n.key&&t.tag===n.tag&&t.isComment===n.isComment&&!t.data==!n.data}function kn(t,n,e){var r,i,o={};for(r=n;r<=e;++r)i=t[r].key,wn(i)&&(o[i]=r);return o}function An(t){function n(t){return new Fi(S.tagName(t).toLowerCase(),{},[],void 0,t)}function e(t,n){function e(){0===--e.listeners&&r(t)}return e.listeners=n,e}function r(t){var n=S.parentNode(t);n&&S.removeChild(n,t)}function o(t,n,e,r,i){if(t.isRootInsert=!i,!a(t,n,e,r)){var o=t.data,u=t.children,s=t.tag;wn(s)?(t.elm=t.ns?S.createElementNS(t.ns,s):S.createElement(s,t),d(t),l(t,u,n),wn(o)&&p(t,n),f(e,t.elm,r)):t.isComment?(t.elm=S.createComment(t.text),f(e,t.elm,r)):(t.elm=S.createTextNode(t.text),f(e,t.elm,r))}}function a(t,n,e,r){var i=t.data;if(wn(i)){var o=wn(t.componentInstance)&&i.keepAlive;if(wn(i=i.hook)&&wn(i=i.init)&&i(t,!1,e,r),wn(t.componentInstance))return s(t,n),o&&c(t,n,e,r),!0}}function s(t,n){t.data.pendingInsert&&n.push.apply(n,t.data.pendingInsert),t.elm=t.componentInstance.$el,h(t)?(p(t,n),d(t)):(xn(t),n.push(t))}function c(t,n,e,r){for(var i,o=t;o.componentInstance;)if(o=o.componentInstance._vnode,wn(i=o.data)&&wn(i=i.transition)){for(i=0;ih?(c=bn(e[y+1])?null:e[y+1].elm,v(t,c,e,l,y,r)):l>y&&g(t,n,f,h)}function x(t,n,e,r){if(t!==n){if(n.isStatic&&t.isStatic&&n.key===t.key&&(n.isCloned||n.isOnce))return n.elm=t.elm,void(n.componentInstance=t.componentInstance);var i,o=n.data,a=wn(o);a&&wn(i=o.hook)&&wn(i=i.prepatch)&&i(t,n);var u=n.elm=t.elm,s=t.children,c=n.children;if(a&&h(n)){for(i=0;i-1?n.split(/\s+/).forEach(function(n){return t.classList.add(n)}):t.classList.add(n);else{var e=" "+t.getAttribute("class")+" ";e.indexOf(" "+n+" ")<0&&t.setAttribute("class",(e+n).trim())}}function Vn(t,n){if(n&&n.trim())if(t.classList)n.indexOf(" ")>-1?n.split(/\s+/).forEach(function(n){return t.classList.remove(n)}):t.classList.remove(n);else{for(var e=" "+t.getAttribute("class")+" ",r=" "+n+" ";e.indexOf(r)>=0;)e=e.replace(r," ");t.setAttribute("class",e.trim())}}function Xn(t){Qo(function(){Qo(t)})}function Wn(t,n){(t._transitionClasses||(t._transitionClasses=[])).push(n),Yn(t,n)}function Jn(t,n){t._transitionClasses&&o(t._transitionClasses,n),Vn(t,n)}function Kn(t,n,e){var r=Zn(t,n),i=r.type,o=r.timeout,a=r.propCount;if(!i)return e();var u=i===Xo?Ko:Go,s=0,c=function(){t.removeEventListener(u,f),e()},f=function(n){n.target===t&&++s>=a&&c()};setTimeout(function(){s0&&(e=Xo,f=a,l=o.length):n===Wo?c>0&&(e=Wo,f=c,l=s.length):(f=Math.max(a,c),e=f>0?a>c?Xo:Wo:null,l=e?e===Xo?o.length:s.length:0);var h=e===Xo&&ta.test(r[Jo+"Property"]);return{type:e,timeout:f,propCount:l,hasTransform:h}}function Gn(t,n){for(;t.length1,$=e._enterCb=re(function(){N&&(Jn(e,A),Jn(e,k)),$.cancelled?(N&&Jn(e,M),E&&E(e)):T&&T(e),e._enterCb=null});t.data.show||it(t.data.hook||(t.data.hook={}),"insert",function(){var n=e.parentNode,r=n&&n._pending&&n._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),S&&S(e,$)},"transition-insert"),C&&C(e),N&&(Wn(e,M),Wn(e,k),Xn(function(){Wn(e,A),Jn(e,M),$.cancelled||O||Kn(e,o,$)})),t.data.show&&(n&&n(),S&&S(e,$)),N||O||$()}}}function ne(t,n){function e(){g.cancelled||(t.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),f&&f(r),v&&(Wn(r,u),Wn(r,c),Xn(function(){Wn(r,s),Jn(r,u),g.cancelled||y||Kn(r,a,g)})),l&&l(r,g),v||y||g())}var r=t.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var i=ee(t.data.transition);if(!i)return n();if(!r._leaveCb&&1===r.nodeType){var o=i.css,a=i.type,u=i.leaveClass,s=i.leaveToClass,c=i.leaveActiveClass,f=i.beforeLeave,l=i.leave,h=i.afterLeave,p=i.leaveCancelled,d=i.delayLeave,v=o!==!1&&!wi,y=l&&(l._length||l.length)>1,g=r._leaveCb=re(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),v&&(Jn(r,s),Jn(r,c)),g.cancelled?(v&&Jn(r,u),p&&p(r)):(n(),h&&h(r)),r._leaveCb=null});d?d(e):e()}}function ee(t){if(t){if("object"==typeof t){var n={};return t.css!==!1&&l(n,na(t.name||"v")),l(n,t),n}return"string"==typeof t?na(t):void 0}}function re(t){var n=!1;return function(){n||(n=!0,t())}}function ie(t,n){n.data.show||te(n)}function oe(t,n,e){var r=n.value,i=t.multiple;if(!i||Array.isArray(r)){for(var o,a,u=0,s=t.options.length;u-1,a.selected!==o&&(a.selected=o);else if(g(ue(a),r))return void(t.selectedIndex!==u&&(t.selectedIndex=u));i||(t.selectedIndex=-1)}}function ae(t,n){for(var e=0,r=n.length;e',e.innerHTML.indexOf(n)>0}function be(t){return da=da||document.createElement("div"),da.innerHTML=t,da.textContent}function we(t,n){return n&&(t=t.replace(uu,"\n")),t.replace(ou,"<").replace(au,">").replace(su,"&").replace(cu,'"')}function Me(t,n){function e(n){l+=n,t=t.substring(n)}function r(){var n=t.match(Aa);if(n){var r={tagName:n[1],attrs:[],start:l};e(n[0].length);for(var i,o;!(i=t.match(Ca))&&(o=t.match(wa));)e(o[0].length),r.attrs.push(o);if(i)return r.unarySlash=i[1],e(i[0].length),r.end=l,r}}function i(t){var e=t.tagName,r=t.unarySlash;c&&("p"===u&&_a(e)&&o(u),ga(e)&&u===e&&o(e));for(var i=f(e)||"html"===e&&"head"===u||!!r,a=t.attrs.length,l=new Array(a),h=0;h=0&&s[i].lowerCasedTag!==o;i--);else i=0;if(i>=0){for(var a=s.length-1;a>=i;a--)n.end&&n.end(s[a].tag,e,r);s.length=i,u=i&&s[i-1].tag}else"br"===o?n.start&&n.start(t,[],!0,e,r):"p"===o&&(n.start&&n.start(t,[],!1,e,r),n.end&&n.end(t,e,r))}for(var a,u,s=[],c=n.expectHTML,f=n.isUnaryTag||di,l=0;t;){if(a=t,u&&ru(u)){var h=u.toLowerCase(),p=iu[h]||(iu[h]=new RegExp("([\\s\\S]*?)(]*>)","i")),d=0,v=t.replace(p,function(t,e,r){return d=r.length,"script"!==h&&"style"!==h&&"noscript"!==h&&(e=e.replace(//g,"$1").replace(//g,"$1")),n.chars&&n.chars(e),""});l+=t.length-v.length,t=v,o(h,l-d,l)}else{var y=t.indexOf("<");if(0===y){if(Ea.test(t)){var g=t.indexOf("-->");if(g>=0){e(g+3);continue}}if(Na.test(t)){var _=t.indexOf("]>");if(_>=0){e(_+2);continue}}var m=t.match(Ta);if(m){e(m[0].length);continue}var x=t.match(Sa);if(x){var b=l;e(x[0].length),o(x[1],b,l);continue}var w=r();if(w){i(w);continue}}var M=void 0,k=void 0,A=void 0;if(y>0){for(k=t.slice(y);!(Sa.test(k)||Aa.test(k)||Ea.test(k)||Na.test(k)||(A=k.indexOf("<",1),A<0));)y+=A,k=t.slice(y);M=t.substring(0,y),e(y)}y<0&&(M=t,t=""),n.chars&&M&&n.chars(M)}if(t===a&&n.chars){n.chars(t);break}}o()}function ke(t){function n(){(a||(a=[])).push(t.slice(d,i).trim()),d=i+1}var e,r,i,o,a,u=!1,s=!1,c=!1,f=!1,l=0,h=0,p=0,d=0;for(i=0;i=0&&(y=t.charAt(v)," "===y);v--);y&&/[\w$]/.test(y)||(f=!0)}}else void 0===o?(d=i+1,o=t.slice(0,i).trim()):n();if(void 0===o?o=t.slice(0,i).trim():0!==d&&n(),a)for(i=0;ia&&o.push(JSON.stringify(t.slice(a,i)));var u=ke(r[1].trim());o.push("_s("+u+")"),a=i+r[0].length}return a=$a}function ze(t){return 34===t||39===t}function De(t){var n=1;for(ja=La;!Ie();)if(t=je(),ze(t))Ue(t);else if(91===t&&n++,93===t&&n--,0===n){Ia=La;break}}function Ue(t){for(var n=t;!Ie()&&(t=je(),t!==n););}function qe(t,n){za=n.warn||Se,Da=n.getTagNamespace||di,Ua=n.mustUseProp||di,qa=n.isPreTag||di,Fa=Te(n.modules,"preTransformNode"),Ba=Te(n.modules,"transformNode"),Ha=Te(n.modules,"postTransformNode"),Ya=n.delimiters;var e,r,i=[],o=n.preserveWhitespace!==!1,a=!1,u=!1;return Me(t,{expectHTML:n.expectHTML,isUnaryTag:n.isUnaryTag,shouldDecodeNewlines:n.shouldDecodeNewlines,start:function(t,o,s){function c(t){}var f=r&&r.ns||Da(t);bi&&"svg"===f&&(o=or(o));var l={type:1,tag:t,attrsList:o,attrsMap:rr(o),parent:r,children:[]};f&&(l.ns=f),ir(l)&&!Ci()&&(l.forbidden=!0);for(var h=0;h-1"+("true"===o?":("+n+")":":_q("+n+","+o+")")),$e(t,"click","var $$a="+n+",$$el=$event.target,$$c=$$el.checked?("+o+"):("+a+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+n+"=$$a.concat($$v))}else{$$i>-1&&("+n+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+n+"=$$c}",null,!0)}function Xr(t,n,e){var r=e&&e.number,i=Pe(t,"value")||"null";i=r?"_n("+i+")":i,Ee(t,"checked","_q("+n+","+i+")"),$e(t,"click",Kr(n,i),null,!0)}function Wr(t,n,e){var r=t.attrsMap.type,i=e||{},o=i.lazy,a=i.number,u=i.trim,s=o||bi&&"range"===r?"change":"input",c=!o&&"range"!==r,f="input"===t.tag||"textarea"===t.tag,l=f?"$event.target.value"+(u?".trim()":""):u?"(typeof $event === 'string' ? $event.trim() : $event)":"$event";l=a||"number"===r?"_n("+l+")":l;var h=Kr(n,l);f&&c&&(h="if($event.target.composing)return;"+h),Ee(t,"value",f?"_s("+n+")":"("+n+")"),$e(t,s,h,null,!0),(u||a||"number"===r)&&$e(t,"blur","$forceUpdate()")}function Jr(t,n,e){var r=e&&e.number,i='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")+"})"+(null==t.attrsMap.multiple?"[0]":""),o=Kr(n,i);$e(t,"change",o,null,!0)}function Kr(t,n){var e=Le(t);return null===e.idx?t+"="+n:"var $$exp = "+e.exp+", $$idx = "+e.idx+";if (!Array.isArray($$exp)){"+t+"="+n+"}else{$$exp.splice($$idx, 1, "+n+")}"}function Zr(t,n){n.value&&Ee(t,"textContent","_s("+n.value+")")}function Gr(t,n){n.value&&Ee(t,"innerHTML","_s("+n.value+")")}function Qr(t,n){return n=n?l(l({},Ru),n):Ru,Ur(t,n)}function ti(t,n,e){var r=(n&&n.warn||Ni,n&&n.delimiters?String(n.delimiters)+t:t);if(Pu[r])return Pu[r];var i={},o=Qr(t,n);i.render=ni(o.render);var a=o.staticRenderFns.length;i.staticRenderFns=new Array(a);for(var u=0;u0,Mi=xi&&xi.indexOf("edge/")>0,ki=xi&&xi.indexOf("android")>0,Ai=xi&&/iphone|ipad|ipod|ios/.test(xi),Ci=function(){return void 0===ri&&(ri=!mi&&"undefined"!=typeof n&&"server"===n.process.env.VUE_ENV),ri},Si=mi&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Ti=function(){function t(){r=!1;var t=e.slice(0);e.length=0;for(var n=0;n1&&(n[e[0].trim()]=e[1].trim())}}),n}),Uo=/^--/,qo=/\s*!important$/,Fo=function(t,n,e){Uo.test(n)?t.style.setProperty(n,e):qo.test(e)?t.style.setProperty(n,e.replace(qo,""),"important"):t.style[Ho(n)]=e},Bo=["Webkit","Moz","ms"],Ho=s(function(t){if(ho=ho||document.createElement("div"),t=si(t),"filter"!==t&&t in ho.style)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),e=0;e\/=]+)/,xa=/(?:=)/,ba=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],wa=new RegExp("^\\s*"+ma.source+"(?:\\s*("+xa.source+")\\s*(?:"+ba.join("|")+"))?"),Ma="[a-zA-Z_][\\w\\-\\.]*",ka="((?:"+Ma+"\\:)?"+Ma+")",Aa=new RegExp("^<"+ka),Ca=/^\s*(\/?)>/,Sa=new RegExp("^<\\/"+ka+"[^>]*>"),Ta=/^]+>/i,Ea=/^');\n\n if (commentEnd >= 0) {\n advance(commentEnd + 3);\n continue\n }\n }\n\n // http://en.wikipedia.org/wiki/Conditional_comment#Downlevel-revealed_conditional_comment\n if (conditionalComment.test(html)) {\n var conditionalEnd = html.indexOf(']>');\n\n if (conditionalEnd >= 0) {\n advance(conditionalEnd + 2);\n continue\n }\n }\n\n // Doctype:\n var doctypeMatch = html.match(doctype);\n if (doctypeMatch) {\n advance(doctypeMatch[0].length);\n continue\n }\n\n // End tag:\n var endTagMatch = html.match(endTag);\n if (endTagMatch) {\n var curIndex = index;\n advance(endTagMatch[0].length);\n parseEndTag(endTagMatch[1], curIndex, index);\n continue\n }\n\n // Start tag:\n var startTagMatch = parseStartTag();\n if (startTagMatch) {\n handleStartTag(startTagMatch);\n continue\n }\n }\n\n var text = (void 0), rest$1 = (void 0), next = (void 0);\n if (textEnd > 0) {\n rest$1 = html.slice(textEnd);\n while (\n !endTag.test(rest$1) &&\n !startTagOpen.test(rest$1) &&\n !comment.test(rest$1) &&\n !conditionalComment.test(rest$1)\n ) {\n // < in plain text, be forgiving and treat it as text\n next = rest$1.indexOf('<', 1);\n if (next < 0) { break }\n textEnd += next;\n rest$1 = html.slice(textEnd);\n }\n text = html.substring(0, textEnd);\n advance(textEnd);\n }\n\n if (textEnd < 0) {\n text = html;\n html = '';\n }\n\n if (options.chars && text) {\n options.chars(text);\n }\n } else {\n var stackedTag = lastTag.toLowerCase();\n var reStackedTag = reCache[stackedTag] || (reCache[stackedTag] = new RegExp('([\\\\s\\\\S]*?)(]*>)', 'i'));\n var endTagLength = 0;\n var rest = html.replace(reStackedTag, function (all, text, endTag) {\n endTagLength = endTag.length;\n if (stackedTag !== 'script' && stackedTag !== 'style' && stackedTag !== 'noscript') {\n text = text\n .replace(//g, '$1')\n .replace(//g, '$1');\n }\n if (options.chars) {\n options.chars(text);\n }\n return ''\n });\n index += html.length - rest.length;\n html = rest;\n parseEndTag(stackedTag, index - endTagLength, index);\n }\n\n if (html === last && options.chars) {\n options.chars(html);\n break\n }\n }\n\n // Clean up any remaining tags\n parseEndTag();\n\n function advance (n) {\n index += n;\n html = html.substring(n);\n }\n\n function parseStartTag () {\n var start = html.match(startTagOpen);\n if (start) {\n var match = {\n tagName: start[1],\n attrs: [],\n start: index\n };\n advance(start[0].length);\n var end, attr;\n while (!(end = html.match(startTagClose)) && (attr = html.match(attribute))) {\n advance(attr[0].length);\n match.attrs.push(attr);\n }\n if (end) {\n match.unarySlash = end[1];\n advance(end[0].length);\n match.end = index;\n return match\n }\n }\n }\n\n function handleStartTag (match) {\n var tagName = match.tagName;\n var unarySlash = match.unarySlash;\n\n if (expectHTML) {\n if (lastTag === 'p' && isNonPhrasingTag(tagName)) {\n parseEndTag(lastTag);\n }\n if (canBeLeftOpenTag(tagName) && lastTag === tagName) {\n parseEndTag(tagName);\n }\n }\n\n var unary = isUnaryTag$$1(tagName) || tagName === 'html' && lastTag === 'head' || !!unarySlash;\n\n var l = match.attrs.length;\n var attrs = new Array(l);\n for (var i = 0; i < l; i++) {\n var args = match.attrs[i];\n // hackish work around FF bug https://bugzilla.mozilla.org/show_bug.cgi?id=369778\n if (IS_REGEX_CAPTURING_BROKEN && args[0].indexOf('\"\"') === -1) {\n if (args[3] === '') { delete args[3]; }\n if (args[4] === '') { delete args[4]; }\n if (args[5] === '') { delete args[5]; }\n }\n var value = args[3] || args[4] || args[5] || '';\n attrs[i] = {\n name: args[1],\n value: decodeAttr(\n value,\n options.shouldDecodeNewlines\n )\n };\n }\n\n if (!unary) {\n stack.push({ tag: tagName, lowerCasedTag: tagName.toLowerCase(), attrs: attrs });\n lastTag = tagName;\n unarySlash = '';\n }\n\n if (options.start) {\n options.start(tagName, attrs, unary, match.start, match.end);\n }\n }\n\n function parseEndTag (tagName, start, end) {\n var pos, lowerCasedTagName;\n if (start == null) { start = index; }\n if (end == null) { end = index; }\n\n if (tagName) {\n lowerCasedTagName = tagName.toLowerCase();\n }\n\n // Find the closest opened tag of the same type\n if (tagName) {\n for (pos = stack.length - 1; pos >= 0; pos--) {\n if (stack[pos].lowerCasedTag === lowerCasedTagName) {\n break\n }\n }\n } else {\n // If no tag name is provided, clean shop\n pos = 0;\n }\n\n if (pos >= 0) {\n // Close all the open elements, up the stack\n for (var i = stack.length - 1; i >= pos; i--) {\n if (options.end) {\n options.end(stack[i].tag, start, end);\n }\n }\n\n // Remove the open elements from the stack\n stack.length = pos;\n lastTag = pos && stack[pos - 1].tag;\n } else if (lowerCasedTagName === 'br') {\n if (options.start) {\n options.start(tagName, [], true, start, end);\n }\n } else if (lowerCasedTagName === 'p') {\n if (options.start) {\n options.start(tagName, [], false, start, end);\n }\n if (options.end) {\n options.end(tagName, start, end);\n }\n }\n }\n}\n\n/* */\n\nfunction parseFilters (exp) {\n var inSingle = false;\n var inDouble = false;\n var inTemplateString = false;\n var inRegex = false;\n var curly = 0;\n var square = 0;\n var paren = 0;\n var lastFilterIndex = 0;\n var c, prev, i, expression, filters;\n\n for (i = 0; i < exp.length; i++) {\n prev = c;\n c = exp.charCodeAt(i);\n if (inSingle) {\n if (c === 0x27 && prev !== 0x5C) { inSingle = false; }\n } else if (inDouble) {\n if (c === 0x22 && prev !== 0x5C) { inDouble = false; }\n } else if (inTemplateString) {\n if (c === 0x60 && prev !== 0x5C) { inTemplateString = false; }\n } else if (inRegex) {\n if (c === 0x2f && prev !== 0x5C) { inRegex = false; }\n } else if (\n c === 0x7C && // pipe\n exp.charCodeAt(i + 1) !== 0x7C &&\n exp.charCodeAt(i - 1) !== 0x7C &&\n !curly && !square && !paren\n ) {\n if (expression === undefined) {\n // first filter, end of expression\n lastFilterIndex = i + 1;\n expression = exp.slice(0, i).trim();\n } else {\n pushFilter();\n }\n } else {\n switch (c) {\n case 0x22: inDouble = true; break // \"\n case 0x27: inSingle = true; break // '\n case 0x60: inTemplateString = true; break // `\n case 0x28: paren++; break // (\n case 0x29: paren--; break // )\n case 0x5B: square++; break // [\n case 0x5D: square--; break // ]\n case 0x7B: curly++; break // {\n case 0x7D: curly--; break // }\n }\n if (c === 0x2f) { // /\n var j = i - 1;\n var p = (void 0);\n // find first non-whitespace prev char\n for (; j >= 0; j--) {\n p = exp.charAt(j);\n if (p !== ' ') { break }\n }\n if (!p || !/[\\w$]/.test(p)) {\n inRegex = true;\n }\n }\n }\n }\n\n if (expression === undefined) {\n expression = exp.slice(0, i).trim();\n } else if (lastFilterIndex !== 0) {\n pushFilter();\n }\n\n function pushFilter () {\n (filters || (filters = [])).push(exp.slice(lastFilterIndex, i).trim());\n lastFilterIndex = i + 1;\n }\n\n if (filters) {\n for (i = 0; i < filters.length; i++) {\n expression = wrapFilter(expression, filters[i]);\n }\n }\n\n return expression\n}\n\nfunction wrapFilter (exp, filter) {\n var i = filter.indexOf('(');\n if (i < 0) {\n // _f: resolveFilter\n return (\"_f(\\\"\" + filter + \"\\\")(\" + exp + \")\")\n } else {\n var name = filter.slice(0, i);\n var args = filter.slice(i + 1);\n return (\"_f(\\\"\" + name + \"\\\")(\" + exp + \",\" + args)\n }\n}\n\n/* */\n\nvar defaultTagRE = /\\{\\{((?:.|\\n)+?)\\}\\}/g;\nvar regexEscapeRE = /[-.*+?^${}()|[\\]\\/\\\\]/g;\n\nvar buildRegex = cached(function (delimiters) {\n var open = delimiters[0].replace(regexEscapeRE, '\\\\$&');\n var close = delimiters[1].replace(regexEscapeRE, '\\\\$&');\n return new RegExp(open + '((?:.|\\\\n)+?)' + close, 'g')\n});\n\nfunction parseText (\n text,\n delimiters\n) {\n var tagRE = delimiters ? buildRegex(delimiters) : defaultTagRE;\n if (!tagRE.test(text)) {\n return\n }\n var tokens = [];\n var lastIndex = tagRE.lastIndex = 0;\n var match, index;\n while ((match = tagRE.exec(text))) {\n index = match.index;\n // push text token\n if (index > lastIndex) {\n tokens.push(JSON.stringify(text.slice(lastIndex, index)));\n }\n // tag token\n var exp = parseFilters(match[1].trim());\n tokens.push((\"_s(\" + exp + \")\"));\n lastIndex = index + match[0].length;\n }\n if (lastIndex < text.length) {\n tokens.push(JSON.stringify(text.slice(lastIndex)));\n }\n return tokens.join('+')\n}\n\n/* */\n\nfunction baseWarn (msg) {\n console.error((\"[Vue parser]: \" + msg));\n}\n\nfunction pluckModuleFunction (\n modules,\n key\n) {\n return modules\n ? modules.map(function (m) { return m[key]; }).filter(function (_) { return _; })\n : []\n}\n\nfunction addProp (el, name, value) {\n (el.props || (el.props = [])).push({ name: name, value: value });\n}\n\nfunction addAttr (el, name, value) {\n (el.attrs || (el.attrs = [])).push({ name: name, value: value });\n}\n\nfunction addDirective (\n el,\n name,\n rawName,\n value,\n arg,\n modifiers\n) {\n (el.directives || (el.directives = [])).push({ name: name, rawName: rawName, value: value, arg: arg, modifiers: modifiers });\n}\n\nfunction addHandler (\n el,\n name,\n value,\n modifiers,\n important\n) {\n // check capture modifier\n if (modifiers && modifiers.capture) {\n delete modifiers.capture;\n name = '!' + name; // mark the event as captured\n }\n if (modifiers && modifiers.once) {\n delete modifiers.once;\n name = '~' + name; // mark the event as once\n }\n var events;\n if (modifiers && modifiers.native) {\n delete modifiers.native;\n events = el.nativeEvents || (el.nativeEvents = {});\n } else {\n events = el.events || (el.events = {});\n }\n var newHandler = { value: value, modifiers: modifiers };\n var handlers = events[name];\n /* istanbul ignore if */\n if (Array.isArray(handlers)) {\n important ? handlers.unshift(newHandler) : handlers.push(newHandler);\n } else if (handlers) {\n events[name] = important ? [newHandler, handlers] : [handlers, newHandler];\n } else {\n events[name] = newHandler;\n }\n}\n\nfunction getBindingAttr (\n el,\n name,\n getStatic\n) {\n var dynamicValue =\n getAndRemoveAttr(el, ':' + name) ||\n getAndRemoveAttr(el, 'v-bind:' + name);\n if (dynamicValue != null) {\n return parseFilters(dynamicValue)\n } else if (getStatic !== false) {\n var staticValue = getAndRemoveAttr(el, name);\n if (staticValue != null) {\n return JSON.stringify(staticValue)\n }\n }\n}\n\nfunction getAndRemoveAttr (el, name) {\n var val;\n if ((val = el.attrsMap[name]) != null) {\n var list = el.attrsList;\n for (var i = 0, l = list.length; i < l; i++) {\n if (list[i].name === name) {\n list.splice(i, 1);\n break\n }\n }\n }\n return val\n}\n\nvar len;\nvar str;\nvar chr;\nvar index$1;\nvar expressionPos;\nvar expressionEndPos;\n\n/**\n * parse directive model to do the array update transform. a[idx] = val => $$a.splice($$idx, 1, val)\n *\n * for loop possible cases:\n *\n * - test\n * - test[idx]\n * - test[test1[idx]]\n * - test[\"a\"][idx]\n * - xxx.test[a[a].test1[idx]]\n * - test.xxx.a[\"asa\"][test1[idx]]\n *\n */\n\nfunction parseModel (val) {\n str = val;\n len = str.length;\n index$1 = expressionPos = expressionEndPos = 0;\n\n if (val.indexOf('[') < 0 || val.lastIndexOf(']') < len - 1) {\n return {\n exp: val,\n idx: null\n }\n }\n\n while (!eof()) {\n chr = next();\n /* istanbul ignore if */\n if (isStringStart(chr)) {\n parseString(chr);\n } else if (chr === 0x5B) {\n parseBracket(chr);\n }\n }\n\n return {\n exp: val.substring(0, expressionPos),\n idx: val.substring(expressionPos + 1, expressionEndPos)\n }\n}\n\nfunction next () {\n return str.charCodeAt(++index$1)\n}\n\nfunction eof () {\n return index$1 >= len\n}\n\nfunction isStringStart (chr) {\n return chr === 0x22 || chr === 0x27\n}\n\nfunction parseBracket (chr) {\n var inBracket = 1;\n expressionPos = index$1;\n while (!eof()) {\n chr = next();\n if (isStringStart(chr)) {\n parseString(chr);\n continue\n }\n if (chr === 0x5B) { inBracket++; }\n if (chr === 0x5D) { inBracket--; }\n if (inBracket === 0) {\n expressionEndPos = index$1;\n break\n }\n }\n}\n\nfunction parseString (chr) {\n var stringQuote = chr;\n while (!eof()) {\n chr = next();\n if (chr === stringQuote) {\n break\n }\n }\n}\n\n/* */\n\nvar dirRE = /^v-|^@|^:/;\nvar forAliasRE = /(.*?)\\s+(?:in|of)\\s+(.*)/;\nvar forIteratorRE = /\\((\\{[^}]*\\}|[^,]*),([^,]*)(?:,([^,]*))?\\)/;\nvar bindRE = /^:|^v-bind:/;\nvar onRE = /^@|^v-on:/;\nvar argRE = /:(.*)$/;\nvar modifierRE = /\\.[^.]+/g;\n\nvar decodeHTMLCached = cached(decode);\n\n// configurable state\nvar warn$1;\nvar platformGetTagNamespace;\nvar platformMustUseProp;\nvar platformIsPreTag;\nvar preTransforms;\nvar transforms;\nvar postTransforms;\nvar delimiters;\n\n/**\n * Convert HTML string to AST.\n */\nfunction parse (\n template,\n options\n) {\n warn$1 = options.warn || baseWarn;\n platformGetTagNamespace = options.getTagNamespace || no;\n platformMustUseProp = options.mustUseProp || no;\n platformIsPreTag = options.isPreTag || no;\n preTransforms = pluckModuleFunction(options.modules, 'preTransformNode');\n transforms = pluckModuleFunction(options.modules, 'transformNode');\n postTransforms = pluckModuleFunction(options.modules, 'postTransformNode');\n delimiters = options.delimiters;\n var stack = [];\n var preserveWhitespace = options.preserveWhitespace !== false;\n var root;\n var currentParent;\n var inVPre = false;\n var inPre = false;\n var warned = false;\n parseHTML(template, {\n expectHTML: options.expectHTML,\n isUnaryTag: options.isUnaryTag,\n shouldDecodeNewlines: options.shouldDecodeNewlines,\n start: function start (tag, attrs, unary) {\n // check namespace.\n // inherit parent ns if there is one\n var ns = (currentParent && currentParent.ns) || platformGetTagNamespace(tag);\n\n // handle IE svg bug\n /* istanbul ignore if */\n if (isIE && ns === 'svg') {\n attrs = guardIESVGBug(attrs);\n }\n\n var element = {\n type: 1,\n tag: tag,\n attrsList: attrs,\n attrsMap: makeAttrsMap(attrs),\n parent: currentParent,\n children: []\n };\n if (ns) {\n element.ns = ns;\n }\n\n if (isForbiddenTag(element) && !isServerRendering()) {\n element.forbidden = true;\n \"production\" !== 'production' && warn$1(\n 'Templates should only be responsible for mapping the state to the ' +\n 'UI. Avoid placing tags with side-effects in your templates, such as ' +\n \"<\" + tag + \">\" + ', as they will not be parsed.'\n );\n }\n\n // apply pre-transforms\n for (var i = 0; i < preTransforms.length; i++) {\n preTransforms[i](element, options);\n }\n\n if (!inVPre) {\n processPre(element);\n if (element.pre) {\n inVPre = true;\n }\n }\n if (platformIsPreTag(element.tag)) {\n inPre = true;\n }\n if (inVPre) {\n processRawAttrs(element);\n } else {\n processFor(element);\n processIf(element);\n processOnce(element);\n processKey(element);\n\n // determine whether this is a plain element after\n // removing structural attributes\n element.plain = !element.key && !attrs.length;\n\n processRef(element);\n processSlot(element);\n processComponent(element);\n for (var i$1 = 0; i$1 < transforms.length; i$1++) {\n transforms[i$1](element, options);\n }\n processAttrs(element);\n }\n\n function checkRootConstraints (el) {\n if (false) {\n if (el.tag === 'slot' || el.tag === 'template') {\n warned = true;\n warn$1(\n \"Cannot use <\" + (el.tag) + \"> as component root element because it may \" +\n 'contain multiple nodes:\\n' + template\n );\n }\n if (el.attrsMap.hasOwnProperty('v-for')) {\n warned = true;\n warn$1(\n 'Cannot use v-for on stateful component root element because ' +\n 'it renders multiple elements:\\n' + template\n );\n }\n }\n }\n\n // tree management\n if (!root) {\n root = element;\n checkRootConstraints(root);\n } else if (!stack.length) {\n // allow root elements with v-if, v-else-if and v-else\n if (root.if && (element.elseif || element.else)) {\n checkRootConstraints(element);\n addIfCondition(root, {\n exp: element.elseif,\n block: element\n });\n } else if (false) {\n warned = true;\n warn$1(\n \"Component template should contain exactly one root element:\" +\n \"\\n\\n\" + template + \"\\n\\n\" +\n \"If you are using v-if on multiple elements, \" +\n \"use v-else-if to chain them instead.\"\n );\n }\n }\n if (currentParent && !element.forbidden) {\n if (element.elseif || element.else) {\n processIfConditions(element, currentParent);\n } else if (element.slotScope) { // scoped slot\n currentParent.plain = false;\n var name = element.slotTarget || 'default';(currentParent.scopedSlots || (currentParent.scopedSlots = {}))[name] = element;\n } else {\n currentParent.children.push(element);\n element.parent = currentParent;\n }\n }\n if (!unary) {\n currentParent = element;\n stack.push(element);\n }\n // apply post-transforms\n for (var i$2 = 0; i$2 < postTransforms.length; i$2++) {\n postTransforms[i$2](element, options);\n }\n },\n\n end: function end () {\n // remove trailing whitespace\n var element = stack[stack.length - 1];\n var lastNode = element.children[element.children.length - 1];\n if (lastNode && lastNode.type === 3 && lastNode.text === ' ') {\n element.children.pop();\n }\n // pop stack\n stack.length -= 1;\n currentParent = stack[stack.length - 1];\n // check pre state\n if (element.pre) {\n inVPre = false;\n }\n if (platformIsPreTag(element.tag)) {\n inPre = false;\n }\n },\n\n chars: function chars (text) {\n if (!currentParent) {\n if (false) {\n warned = true;\n warn$1(\n 'Component template requires a root element, rather than just text:\\n\\n' + template\n );\n }\n return\n }\n // IE textarea placeholder bug\n /* istanbul ignore if */\n if (isIE &&\n currentParent.tag === 'textarea' &&\n currentParent.attrsMap.placeholder === text) {\n return\n }\n var children = currentParent.children;\n text = inPre || text.trim()\n ? decodeHTMLCached(text)\n // only preserve whitespace if its not right after a starting tag\n : preserveWhitespace && children.length ? ' ' : '';\n if (text) {\n var expression;\n if (!inVPre && text !== ' ' && (expression = parseText(text, delimiters))) {\n children.push({\n type: 2,\n expression: expression,\n text: text\n });\n } else if (text !== ' ' || children[children.length - 1].text !== ' ') {\n currentParent.children.push({\n type: 3,\n text: text\n });\n }\n }\n }\n });\n return root\n}\n\nfunction processPre (el) {\n if (getAndRemoveAttr(el, 'v-pre') != null) {\n el.pre = true;\n }\n}\n\nfunction processRawAttrs (el) {\n var l = el.attrsList.length;\n if (l) {\n var attrs = el.attrs = new Array(l);\n for (var i = 0; i < l; i++) {\n attrs[i] = {\n name: el.attrsList[i].name,\n value: JSON.stringify(el.attrsList[i].value)\n };\n }\n } else if (!el.pre) {\n // non root node in pre blocks with no attributes\n el.plain = true;\n }\n}\n\nfunction processKey (el) {\n var exp = getBindingAttr(el, 'key');\n if (exp) {\n if (false) {\n warn$1(\"