Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue

Package Overview
Dependencies
Maintainers
1
Versions
530
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue - npm Package Compare versions

Comparing version 0.12.0-beta3 to 0.12.0-beta4

dist/README.md

6

dist/vue.min.js
/**
* Vue.js v0.12.0-beta3
* Vue.js v0.12.0-beta4
* (c) 2015 Evan You
* Released under the MIT License.
*/
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):"object"==typeof exports?exports.Vue=e():t.Vue=e()}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){function i(t){this._init(t)}var r=n(12),s=r.extend;s(i,n(1)),i.options={directives:n(13),filters:n(14),transitions:{},components:{},elementDirectives:{}};var o=i.prototype;Object.defineProperty(o,"$data",{get:function(){return this._data},set:function(t){t!==this._data&&this._setData(t)}}),s(o,n(2)),s(o,n(3)),s(o,n(4)),s(o,n(5)),s(o,n(6)),s(o,n(7)),s(o,n(8)),s(o,n(9)),s(o,n(10)),s(o,n(11)),t.exports=r.Vue=i},function(t,e,n){function i(t){return new Function("return function "+s.classify(t)+" (options) { this._init(options) }")()}function r(t){c.forEach(function(e){t[e]=function(t,n){return n?void(this.options[e+"s"][t]=n):this.options[e+"s"][t]}}),t.component=function(t,e){return e?(s.isPlainObject(e)&&(e.name=t,e=s.Vue.extend(e)),void(this.options.components[t]=e)):this.options.components[t]}}var s=n(12),o=n(15);e.util=s,e.nextTick=s.nextTick,e.config=n(16),e.compiler={compile:n(17),transclude:n(18)},e.parsers={path:n(19),text:n(20),template:n(21),directive:n(22),expression:n(23)},e.cid=0;var a=1;e.extend=function(t){t=t||{};var e=this,n=i(t.name||e.options.name||"VueComponent");return n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.cid=a++,n.options=o(e.options,t),n["super"]=e,n.extend=e.extend,r(n),n},e.use=function(t){var e=s.toArray(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),this};var c=["directive","elementDirective","filter","transition"];r(e)},function(t,e,n){var i=n(15);e._init=function(t){t=t||{},this.$el=null,this.$parent=t._parent,this.$root=t._root||this,this.$={},this.$$={},this._watcherList=[],this._watchers={},this._userWatchers={},this._directives=[],this._isVue=!0,this._events={},this._eventsCount={},this._eventCancelled=!1,this._isBlock=!1,this._blockStart=this._blockEnd=null,this._isCompiled=this._isDestroyed=this._isReady=this._isAttached=this._isBeingDestroyed=!1,this._unlinkFn=null,this._children=[],this._childCtors={},this._transCpnts=[],this._host=t._host,this.$parent&&this.$parent._children.push(this),this._host&&this._host._transCpnts.push(this),this._new=!0,this._reused=!1,t=this.$options=i(this.constructor.options,t,this),this._data=t.data||{},this._initScope(),this._initEvents(),this._callHook("created"),t.el&&this.$mount(t.el)}},function(t,e,n){function i(t,e,n){if(n){var i,s,o,a;for(s in n)if(i=n[s],h.isArray(i))for(o=0,a=i.length;a>o;o++)r(t,e,s,i[o]);else r(t,e,s,i)}}function r(t,e,n,i){var r=typeof i;if("function"===r)t[e](n,i);else if("string"===r){var s=t.$options.methods,o=s&&s[i];o&&t[e](n,o)}}function s(){this._isAttached=!0,this._children.forEach(o),this._transCpnts.length&&this._transCpnts.forEach(o)}function o(t){!t._isAttached&&l(t.$el)&&t._callHook("attached")}function a(){this._isAttached=!1,this._children.forEach(c),this._transCpnts.length&&this._transCpnts.forEach(c)}function c(t){t._isAttached&&!l(t.$el)&&t._callHook("detached")}var h=n(12),l=h.inDoc;e._initEvents=function(){var t=this.$options;i(this,"$on",t.events),i(this,"$watch",t.watch)},e._initDOMHooks=function(){this.$on("hook:attached",s),this.$on("hook:detached",a)},e._callHook=function(t){var e=this.$options[t];if(e)for(var n=0,i=e.length;i>n;n++)e[n].call(this);this.$emit("hook:"+t)}},function(t,e,n){function i(){}var r=n(12),s=n(50),o=n(25);e._initScope=function(){this._initData(),this._initComputed(),this._initMethods(),this._initMeta()},e._initData=function(){var t,e,n=this._data,i=this.$options.props;if(i)for(t=i.length;t--;)e=r.camelize(i[t]),e in n||(n[e]=null);var o=Object.keys(n);for(t=o.length;t--;)e=o[t],r.isReserved(e)||this._proxy(e);s.create(n).addVm(this)},e._setData=function(t){t=t||{};var e=this._data;this._data=t;var n,i,o;for(n=Object.keys(e),o=n.length;o--;)i=n[o],r.isReserved(i)||i in t||this._unproxy(i);for(n=Object.keys(t),o=n.length;o--;)i=n[o],this.hasOwnProperty(i)||r.isReserved(i)||this._proxy(i);e.__ob__.removeVm(this),s.create(t).addVm(this),this._digest()},e._proxy=function(t){var e=this;Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(n){e._data[t]=n}})},e._unproxy=function(t){delete this[t]},e._digest=function(){for(var t=this._watcherList.length;t--;)this._watcherList[t].update();var e=this._children;for(t=e.length;t--;){var n=e[t];n.$options.inherit&&n._digest()}},e._initComputed=function(){var t=this.$options.computed;if(t)for(var e in t){var n=t[e],s={enumerable:!0,configurable:!0};"function"==typeof n?(s.get=r.bind(n,this),s.set=i):(s.get=n.get?r.bind(n.get,this):i,s.set=n.set?r.bind(n.set,this):i),Object.defineProperty(this,e,s)}},e._initMethods=function(){var t=this.$options.methods;if(t)for(var e in t)this[e]=r.bind(t[e],this)},e._initMeta=function(){var t=this.$options._meta;if(t)for(var e in t)this._defineMeta(e,t[e])},e._defineMeta=function(t,e){var n=new o;Object.defineProperty(this,t,{enumerable:!0,configurable:!0,get:function(){return s.target&&s.target.addDep(n),e},set:function(t){t!==e&&(e=t,n.notify())}})}},function(t,e,n){var i=n(12),r=n(24),s=n(17),o=n(18);e._compile=function(t){var e=this.$options;if(e._linkFn)this._initElement(t),this._unlinkFn=e._linkFn(this,t);else{var n=t;t=o(t,e),this._initElement(t),this._unlinkFn=s(t,e)(this,t),e.replace&&i.replace(n,t)}return t},e._initElement=function(t){t instanceof DocumentFragment?(this._isBlock=!0,this.$el=this._blockStart=t.firstChild,this._blockEnd=t.lastChild,this._blockFragment=t):this.$el=t,this.$el.__vue__=this,this._callHook("beforeCompile")},e._bindDir=function(t,e,n,i,s){this._directives.push(new r(t,e,this,n,i,s))},e._destroy=function(t,e){if(!this._isBeingDestroyed){this._callHook("beforeDestroy"),this._isBeingDestroyed=!0;var n,i=this.$parent;i&&!i._isBeingDestroyed&&i._children.$remove(this);var r=this._host;for(r&&!r._isBeingDestroyed&&r._transCpnts.$remove(this),n=this._children.length;n--;)this._children[n].$destroy();this._unlinkFn&&this._unlinkFn(!0);var s;for(n in this._userWatchers)s=this._userWatchers[n],s&&s.teardown();this.$el&&(this.$el.__vue__=null);var o=this;t&&this.$el?this.$remove(function(){o._cleanup()}):e||this._cleanup()}},e._cleanup=function(){this._data.__ob__.removeVm(this),this._data=this._watchers=this._userWatchers=this._watcherList=this.$el=this.$parent=this.$root=this._children=this._transCpnts=this._directives=null,this._isDestroyed=!0,this._callHook("destroyed"),this.$off()}},function(t,e,n){var i=n(12);e._applyFilter=function(t,e){var n=this.$options.filters,i=n[t];return(i.read||i).apply(this,e)},e._resolveComponent=function(t,e){var n=this.$options.components,r=n[t];if(r.options)e(r);else if(r.resolved)e(r.resolved);else if(r.requested)r.pendingCallbacks.push(e);else{r.requested=!0;var s=r.pendingCallbacks=[e];r(function(t){i.isPlainObject(t)&&(t=i.Vue.extend(t)),r.resolved=t;for(var e=0,n=s.length;n>e;e++)s[e](t)})}}},function(t,e,n){var i=n(12),r=n(26),s=n(19),o=n(20),a=n(22),c=n(23),h=/[^|]\|[^|]/;e.$get=function(t){var e=c.parse(t);return e?e.get.call(this,this):void 0},e.$set=function(t,e){var n=c.parse(t,!0);n&&n.set&&n.set.call(this,this,e)},e.$add=function(t,e){this._data.$add(t,e)},e.$delete=function(t){this._data.$delete(t)},e.$watch=function(t,e,n,i){var s=this,o=n?t+"**deep**":t,a=s._userWatchers[o],c=function(t,n){e.call(s,t,n)};return a?a.addCb(c):a=s._userWatchers[o]=new r(s,t,c,{deep:n,user:!0}),i&&c(a.value),function(){a.removeCb(c),a.active||(s._userWatchers[o]=null)}},e.$eval=function(t){if(h.test(t)){var e=a.parse(t)[0];return e.filters?i.applyFilters(this.$get(e.expression),i.resolveFilters(this,e.filters).read,this):this.$get(e.expression)}return this.$get(t)},e.$interpolate=function(t){var e=o.parse(t),n=this;return e?1===e.length?n.$eval(e[0].value):e.map(function(t){return t.tag?n.$eval(t.value):t.value}).join(""):t},e.$log=function(t){var e=t?s.get(this._data,t):this._data;e&&(e=JSON.parse(JSON.stringify(e))),console.log(e)}},function(t,e,n){function i(t,e,n,i,o,a){e=s(e);var c=!h.inDoc(e),l=i===!1||c?o:a,u=!c&&!t._isAttached&&!h.inDoc(t.$el);return t._isBlock?r(t,e,l,n):l(t.$el,e,t,n),u&&t._callHook("attached"),t}function r(t,e,n,i){for(var r,s=t._blockStart,o=t._blockEnd;r!==o;)r=s.nextSibling,n(s,e,t),s=r;n(o,e,t,i)}function s(t){return"string"==typeof t?document.querySelector(t):t}function o(t,e,n,i){e.appendChild(t),i&&i()}function a(t,e,n,i){h.before(t,e),i&&i()}function c(t,e,n){h.remove(t),n&&n()}var h=n(12),l=n(51);e.$appendTo=function(t,e,n){return i(this,t,e,n,o,l.append)},e.$prependTo=function(t,e,n){return t=s(t),t.hasChildNodes()?this.$before(t.firstChild,e,n):this.$appendTo(t,e,n),this},e.$before=function(t,e,n){return i(this,t,e,n,a,l.before)},e.$after=function(t,e,n){return t=s(t),t.nextSibling?this.$before(t.nextSibling,e,n):this.$appendTo(t.parentNode,e,n),this},e.$remove=function(t,e){var n=this._isAttached&&h.inDoc(this.$el);n||(e=!1);var i,s=this,a=function(){n&&s._callHook("detached"),t&&t()};return this._isBlock&&!this._blockFragment.hasChildNodes()?(i=e===!1?o:l.removeThenAppend,r(this,this._blockFragment,i,a)):(i=e===!1?c:l.remove)(this.$el,this,a),this}},function(t,e,n){function i(t,e,n){var i=t.$parent;if(i&&n&&!s.test(e))for(;i;)i._eventsCount[e]=(i._eventsCount[e]||0)+n,i=i.$parent}var r=n(12);e.$on=function(t,e){return(this._events[t]||(this._events[t]=[])).push(e),i(this,t,1),this},e.$once=function(t,e){function n(){i.$off(t,n),e.apply(this,arguments)}var i=this;return n.fn=e,this.$on(t,n),this},e.$off=function(t,e){var n;if(!arguments.length){if(this.$parent)for(t in this._events)n=this._events[t],n&&i(this,t,-n.length);return this._events={},this}if(n=this._events[t],!n)return this;if(1===arguments.length)return i(this,t,-n.length),this._events[t]=null,this;for(var r,s=n.length;s--;)if(r=n[s],r===e||r.fn===e){i(this,t,-1),n.splice(s,1);break}return this},e.$emit=function(t){this._eventCancelled=!1;var e=this._events[t];if(e){for(var n=arguments.length-1,i=new Array(n);n--;)i[n]=arguments[n+1];n=0,e=e.length>1?r.toArray(e):e;for(var s=e.length;s>n;n++)e[n].apply(this,i)===!1&&(this._eventCancelled=!0)}return this},e.$broadcast=function(t){if(this._eventsCount[t]){for(var e=this._children,n=0,i=e.length;i>n;n++){var r=e[n];r.$emit.apply(r,arguments),r._eventCancelled||r.$broadcast.apply(r,arguments)}return this}},e.$dispatch=function(){for(var t=this.$parent;t;)t.$emit.apply(t,arguments),t=t._eventCancelled?null:t.$parent;return this};var s=/^hook:/},function(t,e,n){var i=n(12);e.$addChild=function(t,e){e=e||i.Vue,t=t||{};var n,r=this,s=void 0!==t.inherit?t.inherit:e.options.inherit;if(s){var o=r._childCtors;if(n=o[e.cid],!n){var a=e.options.name,c=a?i.classify(a):"VueComponent";n=new Function("return function "+c+" (options) {this.constructor = "+c+";this._init(options) }")(),n.options=e.options,n.prototype=this,o[e.cid]=n}}else n=e;t._parent=r,t._root=r.$root;var h=new n(t);return h}},function(t,e,n){function i(){this._isAttached=!0,this._isReady=!0,this._callHook("ready")}var r=n(12),s=n(17);e.$mount=function(t){if(!this._isCompiled){if(t){if("string"==typeof t){if(t=document.querySelector(t),!t)return}}else t=document.createElement("div");return this._compile(t),this._isCompiled=!0,this._callHook("compiled"),r.inDoc(this.$el)?(this._callHook("attached"),this._initDOMHooks(),i.call(this)):(this._initDOMHooks(),this.$once("hook:attached",i)),this}},e.$destroy=function(t,e){this._destroy(t,e)},e.$compile=function(t){return s(t,this.$options,!0)(this,t)}},function(t,e,n){var i=n(27),r=i.extend;r(e,i),r(e,n(28)),r(e,n(29)),r(e,n(30)),r(e,n(31)),r(e,n(32))},function(t,e,n){e.text=n(33),e.html=n(34),e.attr=n(35),e.show=n(36),e["class"]=n(37),e.el=n(38),e.ref=n(39),e.cloak=n(40),e.style=n(41),e.transition=n(42),e.on=n(43),e.model=n(52),e.repeat=n(44),e["if"]=n(45),e.events=n(46),e._component=n(47),e._prop=n(48)},function(t,e,n){var i=n(12);e.json={read:function(t,e){return"string"==typeof t?t:JSON.stringify(t,null,Number(e)||2)},write:function(t){try{return JSON.parse(t)}catch(e){return t}}},e.capitalize=function(t){return t||0===t?(t=t.toString(),t.charAt(0).toUpperCase()+t.slice(1)):""},e.uppercase=function(t){return t||0===t?t.toString().toUpperCase():""},e.lowercase=function(t){return t||0===t?t.toString().toLowerCase():""};var r=/(\d{3})(?=\d)/g;e.currency=function(t,e){if(t=parseFloat(t),!isFinite(t)||!t&&0!==t)return"";e=e||"$";var n=Math.floor(Math.abs(t)).toString(),i=n.length%3,s=i>0?n.slice(0,i)+(n.length>3?",":""):"",o=Math.abs(parseInt(100*t%100,10)),a="."+(10>o?"0"+o:o);return(0>t?"-":"")+e+s+n.slice(i).replace(r,"$1,")+a},e.pluralize=function(t){var e=i.toArray(arguments,1);return e.length>1?e[t%10-1]||e[e.length-1]:e[0]+(1===t?"":"s")};var s={enter:13,tab:9,"delete":46,up:38,left:37,right:39,down:40,esc:27};e.key=function(t,e){if(t){var n=s[e];return n||(n=parseInt(e,10)),function(e){return e.keyCode===n?t.call(this,e):void 0}}},e.key.keyCodes=s,i.extend(e,n(49))},function(t,e,n){function i(t,e){var n,r,o;for(n in e)r=t[n],o=e[n],t.hasOwnProperty(n)?s.isObject(r)&&s.isObject(o)&&i(r,o):t.$add(n,o);return t}function r(t){if(t){var e;for(var n in t)e=t[n],s.isPlainObject(e)&&(e.name=n,t[n]=s.Vue.extend(e))}}var s=n(12),o=s.extend,a=Object.create(null);a.data=function(t,e,n){if(n){var r="function"==typeof e?e.call(n):e,s="function"==typeof t?t.call(n):void 0;return r?i(r,s):s}return e?"function"!=typeof e?t:t?function(){return i(e.call(this),t.call(this))}:e:t},a.el=function(t,e,n){if(n||!e||"function"==typeof e){var i=e||t;return n&&"function"==typeof i?i.call(n):i}},a.created=a.ready=a.attached=a.detached=a.beforeCompile=a.compiled=a.beforeDestroy=a.destroyed=a.props=function(t,e){return e?t?t.concat(e):s.isArray(e)?e:[e]:t},a.directives=a.filters=a.transitions=a.components=a.elementDirectives=function(t,e,n,i){var r=Object.create(n&&n.$parent?n.$parent.$options[i]:s.Vue.options[i]);if(t)for(var a,c=Object.keys(t),h=c.length;h--;)a=c[h],r[a]=t[a];return e&&o(r,e),r},a.watch=a.events=function(t,e){if(!e)return t;if(!t)return e;var n={};o(n,t);for(var i in e){var r=n[i],a=e[i];r&&!s.isArray(r)&&(r=[r]),n[i]=r?r.concat(a):[a]}return n},a.methods=a.computed=function(t,e){if(!e)return t;if(!t)return e;var n=Object.create(t);return o(n,e),n};var c=function(t,e){return void 0===e?t:e};t.exports=function h(t,e,n){function i(i){var r=a[i]||c;o[i]=r(t[i],e[i],n,i)}r(e.components);var s,o={};if(e.mixins)for(var l=0,u=e.mixins.length;u>l;l++)t=h(t,e.mixins[l],n);for(s in t)i(s);for(s in e)t.hasOwnProperty(s)||i(s);return o}},function(t,e,n){t.exports={prefix:"v-",debug:!1,silent:!1,proto:!0,interpolate:!0,async:!0,warnExpressionErrors:!0,_delimitersChanged:!0};var i=["{{","}}"];Object.defineProperty(t.exports,"delimiters",{get:function(){return i},set:function(t){i=t,this._delimitersChanged=!0}})},function(t,e,n){function i(t,e,n,i){function a(t,e){var n=t._directives.length,s=t.$parent&&t.$parent._directives.length,o=A.toArray(e.childNodes),a=i?t.$parent:t,l=i?t:void 0;c&&c(a,e,l),h&&h(a,o,l);var u=t._directives.slice(n),f=t.$parent&&t.$parent._directives.slice(s);return function(e){r(t,u,e),f&&r(t.$parent,f)}}var c=e._asComponent&&!n?s(t,e):o(t,e),h=c&&c.terminal||"SCRIPT"===t.tagName||!t.hasChildNodes()?null:u(t.childNodes,e);return i&&(a.terminal=!0),a}function r(t,e,n){for(var i=e.length;i--;)e[i]._teardown(),n||t._directives.$remove(e[i])}function s(t,e){var n,i,r,s=11===t.nodeType,o=e._containerAttrs,a=e._replacerAttrs,c=e.props;return n=c?d(t,o,c):null,s||(o&&(i=y(o,e)),a&&(r=y(a,e))),function(t,e,s){n&&n(t,null),i&&i(t.$parent,e,s),r&&r(t,e,s)}}function o(t,e){var n=t.nodeType;return 1===n&&"SCRIPT"!==t.tagName?a(t,e):3===n&&E.interpolate&&t.data.trim()?c(t,e):null}function a(t,e){if(C(t))return t.hasAttribute("__vue__wrap")&&(t=t.firstChild),i(t,e._parent.$options,!0,!0);var n,r=t.hasAttributes();if(n=v(t,e),!n&&r&&(n=_(t,e)),n||(n=m(t,e)),!n&&r&&(n=y(t,e)),"TEXTAREA"===t.tagName){var s=n;n=function(t,e){e.value=t.$interpolate(e.value),s&&s(t,e)},n.terminal=!0}return n}function c(t,e){var n=D.parse(t.data);if(!n)return null;for(var i,r,s=document.createDocumentFragment(),o=0,a=n.length;a>o;o++)r=n[o],i=r.tag?h(r,e):document.createTextNode(r.value),s.appendChild(i);return l(n,s,e)}function h(t,e){function n(n){t.type=n,t.def=e.directives[n],t.descriptor=T.parse(t.value)[0]}var i;return t.oneTime?i=document.createTextNode(t.value):t.html?(i=document.createComment("v-html"),n("html")):(i=document.createTextNode(" "),n("text")),i}function l(t,e){return function(n,i){for(var r,s,o,a=e.cloneNode(!0),c=A.toArray(a.childNodes),h=0,l=t.length;l>h;h++)r=t[h],s=r.value,r.tag&&(o=c[h],r.oneTime?(s=n.$eval(s),r.html?A.replace(o,P.parse(s,!0)):o.data=s):n._bindDir(r.type,o,r.descriptor,r.def));A.replace(i,a)}}function u(t,e){for(var n,i,r,s=[],a=0,c=t.length;c>a;a++)r=t[a],n=o(r,e),i=n&&n.terminal||"SCRIPT"===r.tagName||!r.hasChildNodes()?null:u(r.childNodes,e),s.push(n,i);return s.length?f(s):null}function f(t){return function(e,n,i){for(var r,s,o,a=0,c=0,h=t.length;h>a;c++){r=n[c],s=t[a++],o=t[a++];var l=A.toArray(r.childNodes);s&&s(e,r,i),o&&o(e,l,i)}}}function d(t,e,n){for(var i,r,s,o=[],a=n.length;a--;)if(i=n[a],/[A-Z]/.test(i),r=e[i],null!=r){s={name:i,value:r};var c=D.parse(r);c&&(t&&1===t.nodeType&&t.removeAttribute(i),e[i]=null,s.dynamic=!0,s.value=D.tokensToExp(c),s.oneTime=c.length>1||c[0].oneTime||!j.test(s.value)),o.push(s)}return p(o)}function p(t){return function(e,n){for(var i,r,s=t.length;s--;)i=t[s],r=A.camelize(i.name.replace(I,"")),i.dynamic?e._bindDir("prop",n,{arg:r,expression:i.value,oneWay:i.oneTime},N):e.$set(r,i.value)}}function v(t,e){var n=t.tagName.toLowerCase(),i=e.elementDirectives[n];return i?b(t,n,"",e,i):void 0}function m(t,e){var n=A.checkComponent(t,e);if(n){var i=function(t,e,i){t._bindDir("component",e,{expression:n},S,i)};return i.terminal=!0,i}}function _(t,e){if(null!==A.attr(t,"pre"))return g;for(var n,i,r=0,s=O.length;s>r;r++)if(i=O[r],null!==(n=A.attr(t,i)))return b(t,i,n,e)}function g(){}function b(t,e,n,i,r){var s=T.parse(n)[0];r=r||i.directives[e];var o=function(t,n,i){t._bindDir(e,n,s,r,i)};return o.terminal=!0,o}function y(t,e){for(var n,i,r,s,o,a,c=A.isPlainObject(t)?$(t):t.attributes,h=c.length,l=[];h--;)n=c[h],i=n.name,r=n.value,null!==r&&(0===i.indexOf(E.prefix)?(o=i.slice(E.prefix.length),a=e.directives[o],a&&l.push({name:o,descriptors:T.parse(r),def:a})):E.interpolate&&(s=k(i,r,e),s&&l.push(s)));return l.length?(l.sort(x),w(l)):void 0}function $(t){var e=[];for(var n in t)e.push({name:n,value:t[n]});return e}function w(t){return function(e,n,i){for(var r,s,o,a=t.length;a--;)if(r=t[a],r._link)r._link(e,n);else for(o=r.descriptors.length,s=0;o>s;s++)e._bindDir(r.name,n,r.descriptors[s],r.def,i)}}function k(t,e,n){var i=D.parse(e);if(i){for(var r=n.directives.attr,s=i.length,o=!0;s--;){var a=i[s];a.tag&&!a.oneTime&&(o=!1)}return{def:r,_link:o?function(n,i){i.setAttribute(t,n.$interpolate(e))}:function(e,n){var s=D.tokensToExp(i,e),o=T.parse(t+":"+s)[0];e._bindDir("attr",n,o,r)}}}}function x(t,e){return t=t.def.priority||0,e=e.def.priority||0,t>e?1:-1}function C(t){return 1===t.nodeType&&t.hasAttribute(F)?(t.removeAttribute(F),!0):void 0}var A=n(12),E=n(16),D=n(20),T=n(22),P=n(21),N=n(48),S=n(47),O=["repeat","if"];t.exports=i;var j=/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\[[^\[\]]\])*$/,I=/^data-/;g.terminal=!0;var F="__vue__transcluded"},function(t,e,n){function i(t,e){var n=e.template,i=u.parse(n,!0);if(i){var s=e._content||h.extractContent(t),o=i.firstChild;return e.replace?i.childNodes.length>1||1!==o.nodeType||o.hasAttribute(l.prefix+"repeat")?(r(i,s),i):(e._replacerAttrs=a(o),c(t,o),r(o,s),o):(t.appendChild(i),r(t,s),t)}}function r(t,e){function n(t){return t.parentNode===e}var i=s(t),r=i.length;if(r){for(var a,c,l,u,f;r--;)a=i[r],e?(c=a.getAttribute("select"),c?(l=e.querySelectorAll(c),l.length&&(l=[].filter.call(l,n)),a.content=l.length?l:h.toArray(a.childNodes)):f=a):a.content=h.toArray(a.childNodes);for(r=0,u=i.length;u>r;r++)a=i[r],a!==f&&o(a,a.content);f&&o(f,h.toArray(e.childNodes))}}function s(t){return h.isArray(t)?d.apply([],t.map(s)):t.querySelectorAll?h.toArray(t.querySelectorAll("content")):[]}function o(t,e){for(var n=t.parentNode,i=0,r=e.length;r>i;i++)n.insertBefore(e[i],t);n.removeChild(t)}function a(t){for(var e=t.attributes,n={},i=e.length;i--;)n[e[i].name]=e[i].value;return n}function c(t,e){for(var n,i,r=t.attributes,s=r.length;s--;)n=r[s].name,i=r[s].value,e.hasAttribute(n)?"class"===n&&(e.className=e.className+" "+i):e.setAttribute(n,i)}var h=n(12),l=n(16),u=n(21),f="__vue__transcluded";t.exports=function(t,e){if(e&&e._asComponent){e._containerAttrs=a(t);for(var n=t.childNodes.length;n--;){var r=t.childNodes[n];if(1===r.nodeType)r.setAttribute(f,"");else if(3===r.nodeType&&r.data.trim()){var s=document.createElement("span");s.textContent=r.data,s.setAttribute("__vue__wrap",""),s.setAttribute(f,""),t.replaceChild(s,r)}}}return"TEMPLATE"===t.tagName&&(t=u.parse(t)),e&&e.template&&(t=i(t,e)),t instanceof DocumentFragment&&(h.prepend(document.createComment("v-start"),t),t.appendChild(document.createComment("v-end"))),t};var d=[].concat},function(t,e,n){function i(){}function r(t){if(void 0===t)return"eof";var e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:case 48:return t;case 95:case 36:return"ident";case 32:case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return e>=97&&122>=e||e>=65&&90>=e?"ident":e>=49&&57>=e?"number":"else"}function s(t){function e(){var e=t[d+1];return"inSingleQuote"===p&&"'"===e||"inDoubleQuote"===p&&'"'===e?(d++,s=e,v.append(),!0):void 0}for(var n,s,o,a,c,h,l,f=[],d=-1,p="beforePath",v={push:function(){void 0!==o&&(f.push(o),o=void 0)},append:function(){void 0===o?o=s:o+=s}};p;)if(d++,n=t[d],"\\"!==n||!e()){if(a=r(n),l=u[p],c=l[a]||l["else"]||"error","error"===c)return;if(p=c[0],h=v[c[1]]||i,s=void 0===c[2]?n:c[2],h(),"afterPath"===p)return f}}function o(t){return l.test(t)?"."+t:+t===t>>>0?"["+t+"]":'["'+t.replace(/"/g,'\\"')+'"]'}var a=n(12),c=n(53),h=new c(1e3),l=/^[$_a-zA-Z]+[\w$]*$/,u={beforePath:{ws:["beforePath"],ident:["inIdent","append"],"[":["beforeElement"],eof:["afterPath"]},inPath:{ws:["inPath"],".":["beforeIdent"],"[":["beforeElement"],eof:["afterPath"]},beforeIdent:{ws:["beforeIdent"],ident:["inIdent","append"]},inIdent:{ident:["inIdent","append"],0:["inIdent","append"],number:["inIdent","append"],ws:["inPath","push"],".":["beforeIdent","push"],"[":["beforeElement","push"],eof:["afterPath","push"]},beforeElement:{ws:["beforeElement"],0:["afterZero","append"],number:["inIndex","append"],"'":["inSingleQuote","append",""],'"':["inDoubleQuote","append",""]},afterZero:{ws:["afterElement","push"],"]":["inPath","push"]},inIndex:{0:["inIndex","append"],number:["inIndex","append"],ws:["afterElement"],"]":["inPath","push"]},inSingleQuote:{"'":["afterElement"],eof:"error","else":["inSingleQuote","append"]},inDoubleQuote:{'"':["afterElement"],eof:"error","else":["inDoubleQuote","append"]},afterElement:{ws:["afterElement"],"]":["inPath","push"]}};e.compileGetter=function(t){var e="return o"+t.map(o).join("");return new Function("o","try {"+e+"} catch (e) {}")},e.parse=function(t){var n=h.get(t);return n||(n=s(t),n&&(n.get=e.compileGetter(n),h.put(t,n))),n},e.get=function(t,n){return n=e.parse(n),n?n.get(t):void 0},e.set=function(t,n,i){if("string"==typeof n&&(n=e.parse(n)),!n||!a.isObject(t))return!1;for(var r,s,o=0,c=n.length-1;c>o;o++)r=t,s=n[o],t=t[s],a.isObject(t)||(t={},r.$add(s,t));return s=n[o],s in t?t[s]=i:t.$add(s,i),!0}},function(t,e,n){function i(t){return t.replace(v,"\\$&")}function r(){d._delimitersChanged=!1;var t=d.delimiters[0],e=d.delimiters[1];l=t.charAt(0),u=e.charAt(e.length-1);var n=i(l),r=i(u),s=i(t),o=i(e);c=new RegExp(n+"?"+s+"(.+?)"+o+r+"?","g"),h=new RegExp("^"+n+s+".*"+o+r+"$"),a=new f(1e3)}function s(t,e,n){return t.tag?e&&t.oneTime?'"'+e.$eval(t.value)+'"':o(t.value,n):'"'+t.value+'"'}function o(t,e){if(m.test(t)){var n=p.parse(t)[0];if(n.filters){t=n.expression;for(var i=0,r=n.filters.length;r>i;i++){var s=n.filters[i],o=s.args?',"'+s.args.join('","')+'"':"";t='this._applyFilter("'+s.name+'",['+t+o+"])"}return t}return"("+t+")"}return e?t:"("+t+")"}var a,c,h,l,u,f=n(53),d=n(16),p=n(22),v=/[-.*+?^${}()|[\]\/\\]/g;e.parse=function(t){d._delimitersChanged&&r();var e=a.get(t);if(e)return e;if(!c.test(t))return null;for(var n,i,s,o,l,u=[],f=c.lastIndex=0;n=c.exec(t);)i=n.index,i>f&&u.push({value:t.slice(f,i)}),o=n[1].charCodeAt(0),l=42===o,s=l?n[1].slice(1):n[1],u.push({tag:!0,value:s.trim(),html:h.test(n[0]),oneTime:l}),f=i+n[0].length;return f<t.length&&u.push({value:t.slice(f)}),a.put(t,u),u},e.tokensToExp=function(t,e){return t.length>1?t.map(function(t){return s(t,e)}).join("+"):s(t[0],e,!0)};var m=/[^|]\|[^|]/},function(t,e,n){function i(t){var e=a.get(t);if(e)return e;var n=document.createDocumentFragment(),i=t.match(l),r=u.test(t);if(i||r){var s=i&&i[1],o=h[s]||h._default,c=o[0],f=o[1],d=o[2],p=document.createElement("div");for(p.innerHTML=f+t.trim()+d;c--;)p=p.lastChild;for(var v;v=p.firstChild;)n.appendChild(v)}else n.appendChild(document.createTextNode(t));return a.put(t,n),n}function r(t){var n=t.tagName;if("TEMPLATE"===n&&t.content instanceof DocumentFragment)return t.content;if("SCRIPT"===n)return i(t.textContent);for(var r,s=e.clone(t),o=document.createDocumentFragment();r=s.firstChild;)o.appendChild(r);return o}var s=n(12),o=n(53),a=new o(1e3),c=new o(1e3),h={_default:[0,"",""],legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]};h.td=h.th=[3,"<table><tbody><tr>","</tr></tbody></table>"],h.option=h.optgroup=[1,'<select multiple="multiple">',"</select>"],h.thead=h.tbody=h.colgroup=h.caption=h.tfoot=[1,"<table>","</table>"],h.g=h.defs=h.symbol=h.use=h.image=h.text=h.circle=h.ellipse=h.line=h.path=h.polygon=h.polyline=h.rect=[1,'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events"version="1.1">',"</svg>"];var l=/<([\w:]+)/,u=/&\w+;/,f=s.inBrowser?function(){var t=document.createElement("div");return t.innerHTML="<template>1</template>",!t.cloneNode(!0).firstChild.innerHTML}():!1,d=s.inBrowser?function(){var t=document.createElement("textarea");return t.placeholder="t","t"===t.cloneNode(!0).value}():!1;e.clone=function(t){var e,n,i,r=t.cloneNode(!0);if(f&&(n=t.querySelectorAll("template"),n.length))for(i=r.querySelectorAll("template"),e=i.length;e--;)i[e].parentNode.replaceChild(n[e].cloneNode(!0),i[e]);if(d)if("TEXTAREA"===t.tagName)r.value=t.value;else if(n=t.querySelectorAll("textarea"),n.length)for(i=r.querySelectorAll("textarea"),e=i.length;e--;)i[e].value=n[e].value;return r},e.parse=function(t,n,s){var o,a;return t instanceof DocumentFragment?n?t.cloneNode(!0):t:("string"==typeof t?s||"#"!==t.charAt(0)?a=i(t):(a=c.get(t),a||(o=document.getElementById(t.slice(1)),o&&(a=r(o),c.put(t,a)))):t.nodeType&&(a=r(t)),a&&n?e.clone(a):a)}},function(t,e,n){function i(){_.raw=s.slice(p,a).trim(),void 0===_.expression?_.expression=s.slice(v,a).trim():g!==p&&r(),(0===a||_.expression)&&m.push(_)}function r(){var t,e=s.slice(g,a).trim();if(e){t={};var n=e.match(x);t.name=n[0],t.args=n.length>1?n.slice(1):null}t&&(_.filters=_.filters||[]).push(t),g=a+1}var s,o,a,c,h,l,u,f,d,p,v,m,_,g,b,y=n(12),$=n(53),w=new $(1e3),k=/^[^\{\?]+$|^'[^']*'$|^"[^"]*"$/,x=/[^\s'"]+|'[^']+'|"[^"]+"/g;e.parse=function(t){var e=w.get(t);if(e)return e;for(s=t,h=l=!1,u=f=d=p=v=0,g=0,m=[],_={},b=null,a=0,c=s.length;c>a;a++)if(o=s.charCodeAt(a),h)39===o&&(h=!h);else if(l)34===o&&(l=!l);else if(44!==o||d||u||f)if(58!==o||_.expression||_.arg)if(124===o&&124!==s.charCodeAt(a+1)&&124!==s.charCodeAt(a-1))void 0===_.expression?(g=a+1,_.expression=s.slice(v,a).trim()):r();else switch(o){case 34:l=!0;break;case 39:h=!0;break;case 40:d++;break;case 41:d--;break;case 91:f++;break;case 93:f--;break;case 123:u++;break;case 125:u--}else b=s.slice(p,a).trim(),k.test(b)&&(v=a+1,_.arg=y.stripQuotes(b)||b);else i(),_={},p=v=g=a+1;return(0===a||p!==a)&&i(),w.put(t,m),m}},function(t,e,n){function i(t,e){var n=C.length;return C[n]=e?t.replace(b,"\\n"):t,'"'+n+'"'}function r(t){var e=t.charAt(0),n=t.slice(1);return v.test(n)?t:(n=n.indexOf('"')>-1?n.replace($,s):n,e+"scope."+n)}function s(t,e){return C[e]}function o(t,e){_.test(t),C.length=0;var n=t.replace(y,i).replace(g,"");n=(" "+n).replace(k,r).replace($,s);var o=c(n);return o?{get:o,body:n,set:e?h(n):null}:void 0}function a(t){var e,n;return t.indexOf("[")<0?(n=t.split("."),e=u.compileGetter(n)):(n=u.parse(t),e=n.get),{get:e,set:function(t,e){u.set(t,n,e)}}}function c(t){try{return new Function("scope","return "+t+";")}catch(e){}}function h(t){try{return new Function("scope","value",t+"=value;")}catch(e){}}function l(t){t.set||(t.set=h(t.body))}var u=(n(12),n(19)),f=n(53),d=new f(1e3),p="Math,Date,this,true,false,null,undefined,Infinity,NaN,isNaN,isFinite,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,parseInt,parseFloat",v=new RegExp("^("+p.replace(/,/g,"\\b|")+"\\b)"),m="break,case,class,catch,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,in,instanceof,let,return,super,switch,throw,try,var,while,with,yield,enum,await,implements,package,proctected,static,interface,private,public",_=new RegExp("^("+m.replace(/,/g,"\\b|")+"\\b)"),g=/\s/g,b=/\n/g,y=/[\{,]\s*[\w\$_]+\s*:|('[^']*'|"[^"]*")|new |typeof |void /g,$=/"(\d+)"/g,w=/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\])*$/,k=/[^\w$\.]([A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\])*)/g,x=/^(true|false)$/,C=[];e.parse=function(t,n){t=t.trim();var i=d.get(t);if(i)return n&&l(i),i;var r=e.isSimplePath(t)?a(t):o(t,n);return d.put(t,r),r},e.isSimplePath=function(t){return w.test(t)&&!x.test(t)&&"Math."!==t.slice(0,5)}},function(t,e,n){function i(t,e,n,i,s,o){this.name=t,this.el=e,this.vm=n,this.raw=i.raw,this.expression=i.expression,this.arg=i.arg,this.filters=r.resolveFilters(n,i.filters),this._descriptor=i,this._host=o,this._locked=!1,this._bound=!1,this._bind(s)}var r=n(12),s=n(16),o=n(26),a=n(20),c=n(23),h=i.prototype;h._bind=function(t){if("cloak"!==this.name&&this.el&&this.el.removeAttribute&&this.el.removeAttribute(s.prefix+this.name),"function"==typeof t?this.update=t:r.extend(this,t),this._watcherExp=this.expression,this._checkDynamicLiteral(),this.bind&&this.bind(),this._watcherExp&&(this.update||this.twoWay)&&(!this.isLiteral||this._isDynamicLiteral)&&!this._checkStatement()){var e=this,n=this._update=this.update?function(t,n){e._locked||e.update(t,n)}:function(){},i=this.vm._watchers[this.raw];i&&"repeat"!==this.name?i.addCb(n):i=this.vm._watchers[this.raw]=new o(this.vm,this._watcherExp,n,{filters:this.filters,twoWay:this.twoWay,deep:this.deep}),this._watcher=i,null!=this._initValue?i.set(this._initValue):this.update&&this.update(i.value)}this._bound=!0},h._checkDynamicLiteral=function(){var t=this.expression;if(t&&this.isLiteral){var e=a.parse(t);if(e){var n=a.tokensToExp(e);this.expression=this.vm.$get(n),this._watcherExp=n,this._isDynamicLiteral=!0}}},h._checkStatement=function(){var t=this.expression;if(t&&this.acceptStatement&&!c.isSimplePath(t)){var e=c.parse(t).get,n=this.vm,i=function(){e.call(n,n)};return this.filters&&(i=r.applyFilters(i,this.filters.read,n)),this.update(i),!0}},h._checkParam=function(t){var e=this.el.getAttribute(t);return null!==e&&this.el.removeAttribute(t),e},h._teardown=function(){if(this._bound){this.unbind&&this.unbind();var t=this._watcher;t&&t.active&&(t.removeCb(this._update),t.active||(this.vm._watchers[this.raw]=null)),
this._bound=!1,this.vm=this.el=this._watcher=null}},h.set=function(t){this.twoWay&&this._withLock(function(){this._watcher.set(t)})},h._withLock=function(t){var e=this;e._locked=!0,t.call(e),r.nextTick(function(){e._locked=!1})},t.exports=i},function(t,e,n){function i(){this.subs=[]}var r=n(12),s=i.prototype;s.addSub=function(t){this.subs.push(t)},s.removeSub=function(t){this.subs.$remove(t)},s.notify=function(){for(var t=r.toArray(this.subs),e=0,n=t.length;n>e;e++)t[e].update()},t.exports=i},function(t,e,n){function i(t,e,n,i){this.vm=t,t._watcherList.push(this),this.expression=e,this.cbs=[n],this.id=++l,this.active=!0,i=i||{},this.deep=!!i.deep,this.user=!!i.user,this.deps=[],this.newDeps=[],i.filters&&(this.readFilters=i.filters.read,this.writeFilters=i.filters.write);var r=c.parse(e,i.twoWay);this.getter=r.get,this.setter=r.set,this.value=this.get()}function r(t){var e,n,i;for(e in t)if(n=t[e],s.isArray(n))for(i=n.length;i--;)r(n[i]);else s.isObject(n)&&r(n)}var s=n(12),o=n(16),a=n(50),c=n(23),h=n(54),l=0,u=i.prototype;u.addDep=function(t){var e=this.newDeps,n=this.deps;if(s.indexOf(e,t)<0){e.push(t);var i=s.indexOf(n,t);0>i?t.addSub(this):n[i]=null}},u.get=function(){this.beforeGet();var t,e=this.vm;try{t=this.getter.call(e,e)}catch(n){o.warnExpressionErrors}return this.deep&&r(t),t=s.applyFilters(t,this.readFilters,e),this.afterGet(),t},u.set=function(t){var e=this.vm;t=s.applyFilters(t,this.writeFilters,e,this.value);try{this.setter.call(e,e,t)}catch(n){o.warnExpressionErrors}},u.beforeGet=function(){a.target=this},u.afterGet=function(){a.target=null;for(var t=this.deps.length;t--;){var e=this.deps[t];e&&e.removeSub(this)}this.deps=this.newDeps,this.newDeps=[]},u.update=function(){!o.async||o.debug?this.run():h.push(this)},u.run=function(){if(this.active){var t=this.get();if(t!==this.value||Array.isArray(t)||this.deep){var e=this.value;this.value=t;for(var n=this.cbs,i=0,r=n.length;r>i;i++){n[i](t,e);var s=r-n.length;s&&(i-=s,r-=s)}}}},u.addCb=function(t){this.cbs.push(t)},u.removeCb=function(t){var e=this.cbs;e.length>1?e.$remove(t):t===e[0]&&this.teardown()},u.teardown=function(){if(this.active){this.vm._isBeingDestroyed||this.vm._watcherList.$remove(this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.vm=this.cbs=this.value=null}},t.exports=i},function(t,e,n){function i(t,e){return e?e.toUpperCase():""}e.isReserved=function(t){var e=(t+"").charCodeAt(0);return 36===e||95===e},e.toString=function(t){return null==t?"":t.toString()},e.toNumber=function(t){return isNaN(t)||null===t||"boolean"==typeof t?t:Number(t)},e.stripQuotes=function(t){var e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e!==n||34!==e&&39!==e?!1:t.slice(1,-1)};var r=/-(\w)/g;e.camelize=function(t){return t.replace(r,i)};var s=/(?:^|[-_\/])(\w)/g;e.classify=function(t){return t.replace(s,i)},e.bind=function(t,e){return function(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}},e.toArray=function(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i},e.extend=function(t,e){for(var n in e)t[n]=e[n];return t},e.isObject=function(t){return t&&"object"==typeof t};var o=Object.prototype.toString;e.isPlainObject=function(t){return"[object Object]"===o.call(t)},e.isArray=function(t){return Array.isArray(t)},e.define=function(t,e,n,i){Object.defineProperty(t,e,{value:n,enumerable:!!i,writable:!0,configurable:!0})},e.debounce=function(t,e){var n,i,r,s,o,a=function(){var c=Date.now()-s;e>c&&c>=0?n=setTimeout(a,e-c):(n=null,o=t.apply(r,i),n||(r=i=null))};return function(){return r=this,i=arguments,s=Date.now(),n||(n=setTimeout(a,e)),o}},e.indexOf=function(t,e){for(var n=0,i=t.length;i>n;n++)if(t[n]===e)return n;return-1}},function(t,e,n){e.hasProto="__proto__"in{};var i=Object.prototype.toString,r=e.inBrowser="undefined"!=typeof window&&"[object Object]"!==i.call(window);if(e.nextTick=function(){function t(){i=!1;var t=n.slice(0);n=[];for(var e=0;e<t.length;e++)t[e]()}var e,n=[],i=!1;if("undefined"!=typeof MutationObserver){var r=1,s=new MutationObserver(t),o=document.createTextNode(r);s.observe(o,{characterData:!0}),e=function(){r=(r+1)%2,o.data=r}}else e=setTimeout;return function(r,s){var o=s?function(){r.call(s)}:r;n.push(o),i||(i=!0,e(t,0))}}(),e.isIE9=r&&navigator.userAgent.indexOf("MSIE 9.0")>0,r&&!e.isIE9){var s=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,o=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;e.transitionProp=s?"WebkitTransition":"transition",e.transitionEndEvent=s?"webkitTransitionEnd":"transitionend",e.animationProp=o?"WebkitAnimation":"animation",e.animationEndEvent=o?"webkitAnimationEnd":"animationend"}},function(t,e,n){var i=n(16),r="undefined"!=typeof document&&document.documentElement;e.inDoc=function(t){var e=t&&t.parentNode;return r===t||r===e||!(!e||1!==e.nodeType||!r.contains(e))},e.attr=function(t,e){e=i.prefix+e;var n=t.getAttribute(e);return null!==n&&t.removeAttribute(e),n},e.before=function(t,e){e.parentNode.insertBefore(t,e)},e.after=function(t,n){n.nextSibling?e.before(t,n.nextSibling):n.parentNode.appendChild(t)},e.remove=function(t){t.parentNode.removeChild(t)},e.prepend=function(t,n){n.firstChild?e.before(t,n.firstChild):n.appendChild(t)},e.replace=function(t,e){var n=t.parentNode;n&&n.replaceChild(e,t)},e.on=function(t,e,n){t.addEventListener(e,n)},e.off=function(t,e,n){t.removeEventListener(e,n)},e.addClass=function(t,e){if(t.classList)t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}},e.removeClass=function(t,e){if(t.classList)t.classList.remove(e);else{for(var n=" "+(t.getAttribute("class")||"")+" ",i=" "+e+" ";n.indexOf(i)>=0;)n=n.replace(i," ");t.setAttribute("class",n.trim())}},e.extractContent=function(t,e){var n,i;if("TEMPLATE"===t.tagName&&t.content instanceof DocumentFragment&&(t=t.content),t.hasChildNodes())for(i=e?document.createDocumentFragment():document.createElement("div");n=t.firstChild;)i.appendChild(n);return i}},function(t,e,n){n(31);e.resolveFilters=function(t,e,n){if(e){var i=n||{};return e.forEach(function(e){var n=t.$options.filters[e.name];if(n){var r,s,o=e.args;"function"==typeof n?r=n:(r=n.read,s=n.write),r&&(i.read||(i.read=[]),i.read.push(function(e){return o?r.apply(t,[e].concat(o)):r.call(t,e)})),s&&(i.write||(i.write=[]),i.write.push(function(e,n){return o?s.apply(t,[e,n].concat(o)):s.call(t,e,n)}))}}),i}},e.applyFilters=function(t,e,n,i){if(!e)return t;for(var r=0,s=e.length;s>r;r++)t=e[r].call(n,t,i);return t}},function(t,e,n){n(16)},function(t,e,n){e.checkComponent=function(t,e){var n=t.tagName.toLowerCase();if("component"===n){var i=t.getAttribute("is");return t.removeAttribute("is"),i}return e.components[n]?n:void 0}},function(t,e,n){var i=n(12);t.exports={bind:function(){this.attr=3===this.el.nodeType?"nodeValue":"textContent"},update:function(t){this.el[this.attr]=i.toString(t)}}},function(t,e,n){var i=n(12),r=n(21);t.exports={bind:function(){8===this.el.nodeType&&(this.nodes=[])},update:function(t){t=i.toString(t),this.nodes?this.swap(t):this.el.innerHTML=t},swap:function(t){for(var e=this.nodes.length;e--;)i.remove(this.nodes[e]);var n=r.parse(t,!0,!0);this.nodes=i.toArray(n.childNodes),i.before(n,this.el)}}},function(t,e,n){function i(t){t||0===t?this.el.setAttribute(this.arg,t):this.el.removeAttribute(this.arg)}function r(t){null!=t?this.el.setAttributeNS(s,this.arg,t):this.el.removeAttributeNS(s,"href")}var s="http://www.w3.org/1999/xlink",o=/^xlink:/;t.exports={priority:850,bind:function(){var t=this.arg;this.update=o.test(t)?r:i}}},function(t,e,n){var i=n(51);t.exports=function(t){var e=this.el;i.apply(e,t?1:-1,function(){e.style.display=t?"":"none"},this.vm)}},function(t,e,n){var i=n(12),r=i.addClass,s=i.removeClass;t.exports=function(t){if(this.arg){var e=t?r:s;e(this.el,this.arg)}else this.lastVal&&s(this.el,this.lastVal),t&&(r(this.el,t),this.lastVal=t)}},function(t,e,n){t.exports={isLiteral:!0,bind:function(){this.vm.$$[this.expression]=this.el},unbind:function(){delete this.vm.$$[this.expression]}}},function(t,e,n){n(12);t.exports={isLiteral:!0,bind:function(){var t=this.el.__vue__;t&&(t._refID=this.expression)}}},function(t,e,n){var i=n(16);t.exports={bind:function(){var t=this.el;this.vm.$once("hook:compiled",function(){t.removeAttribute(i.prefix+"cloak")})}}},function(t,e,n){function i(t){if(u[t])return u[t];var e=r(t);return u[t]=u[e]=e,e}function r(t){t=t.replace(h,"$1-$2").toLowerCase();var e=s.camelize(t),n=e.charAt(0).toUpperCase()+e.slice(1);if(l||(l=document.createElement("div")),e in l.style)return t;for(var i,r=o.length;r--;)if(i=a[r]+n,i in l.style)return o[r]+t}var s=n(12),o=["-webkit-","-moz-","-ms-"],a=["Webkit","Moz","ms"],c=/!important;?$/,h=/([a-z])([A-Z])/g,l=null,u={};t.exports={deep:!0,update:function(t){if(this.arg)this.setProp(this.arg,t);else if("object"==typeof t){this.cache||(this.cache={});for(var e in t)this.setProp(e,t[e]),t[e]!=this.cache[e]&&(this.cache[e]=t[e],this.setProp(e,t[e]))}else this.el.style.cssText=t},setProp:function(t,e){if(t=i(t))if(null!=e&&(e+=""),e){var n=c.test(e)?"important":"";n&&(e=e.replace(c,"").trim()),this.el.style.setProperty(t,e,n)}else this.el.style.removeProperty(t)}}},function(t,e,n){t.exports={priority:1e3,isLiteral:!0,bind:function(){this._isDynamicLiteral||this.update(this.expression)},update:function(t){var e=this.el.__vue__||this.vm;this.el.__v_trans={id:t,fns:e.$options.transitions[t]}}}},function(t,e,n){var i=n(12);t.exports={acceptStatement:!0,priority:700,bind:function(){if("IFRAME"===this.el.tagName&&"load"!==this.arg){var t=this;this.iframeBind=function(){i.on(t.el.contentWindow,t.arg,t.handler)},i.on(this.el,"load",this.iframeBind)}},update:function(t){if("function"==typeof t){this.reset();var e=this.vm;this.handler=function(n){n.targetVM=e,e.$event=n;var i=t(n);return e.$event=null,i},this.iframeBind?this.iframeBind():i.on(this.el,this.arg,this.handler)}},reset:function(){var t=this.iframeBind?this.el.contentWindow:this.el;this.handler&&i.off(t,this.arg,this.handler)},unbind:function(){this.reset(),i.off(this.el,"load",this.iframeBind)}}},function(t,e,n){function i(t,e){for(var n=(t._blockEnd||t.$el).nextSibling;!n.__vue__&&n!==e;)n=n.nextSibling;return n.__vue__}function r(t){if(this.rawValue=t,!c(t))return t;for(var e,n=Object.keys(t),i=n.length,r=new Array(i);i--;)e=n[i],r[i]={$key:e,$value:t[e]};return this.converted=!0,r}function s(t){for(var e=-1,n=new Array(t);++e<t;)n[e]=e;return n}var o=n(12),a=o.isObject,c=o.isPlainObject,h=n(20),l=n(23),u=n(21),f=n(17),d=n(18),p=n(15),v=0,m=0,_=1,g=2,b=3;t.exports={bind:function(){this.id="__v_repeat_"+ ++v,this.filters||(this.filters={});var t=o.bind(r,this);this.filters.read?this.filters.read.unshift(t):this.filters.read=[t],this.ref=document.createComment("v-repeat"),o.replace(this.el,this.ref),this.template="TEMPLATE"===this.el.tagName?u.parse(this.el,!0):this.el,this.checkIf(),this.checkRef(),this.checkComponent(),this.idKey=this._checkParam("track-by")||this._checkParam("trackby"),this.cache=Object.create(null)},checkIf:function(){null!==o.attr(this.el,"if")},checkRef:function(){var t=o.attr(this.el,"ref");this.refID=t?this.vm.$interpolate(t):null;var e=o.attr(this.el,"el");this.elId=e?this.vm.$interpolate(e):null},checkComponent:function(){this.componentState=m;var t=this.vm.$options,e=o.checkComponent(this.el,t);if(e){this.Ctor=null,this.asComponent=!0,null!==this._checkParam("inline-template")&&(this.inlineTempalte=o.extractContent(this.el,!0));var n=h.parse(e);if(n){var i=h.tokensToExp(n);this.ctorGetter=l.parse(i).get}else this.componentId=e,this.pendingData=null}else{this.Ctor=o.Vue,this.inherit=!0,this.template=d(this.template);var r=o.extend({},t);r._asComponent=!1,this._linkFn=f(this.template,r)}},resolveComponent:function(){this.componentState=_,this.vm._resolveComponent(this.componentId,o.bind(function(t){if(this.componentState!==b){this.Ctor=t;var e=p(t.options,{},{$parent:this.vm});e.template=this.inlineTempalte||e.template,e._asComponent=!0,e._parent=this.vm,this.template=d(this.template,e),this.template.__vue__=!0,this._linkFn=f(this.template,e),this.componentState=g,this.realUpdate(this.pendingData),this.pendingData=null}},this))},resolveDynamicComponent:function(t,e){var n,i=Object.create(this.vm);for(n in t)o.define(i,n,t[n]);for(n in e)o.define(i,n,e[n]);var r=this.ctorGetter.call(i,i),s=this.vm.$options.components[r];return s.options?s:o.Vue},update:function(t){if(this.componentId){var e=this.componentState;e===m?(this.pendingData=t,this.resolveComponent()):e===_?this.pendingData=t:e===g&&this.realUpdate(t)}else this.realUpdate(t)},realUpdate:function(t){t=t||[];var e=typeof t;"number"===e?t=s(t):"string"===e&&(t=o.toArray(t)),this.vms=this.diff(t,this.vms),this.refID&&(this.vm.$[this.refID]=this.vms),this.elId&&(this.vm.$$[this.elId]=this.vms.map(function(t){return t.$el}))},diff:function(t,e){var n,r,s,a,c,h=this.idKey,l=this.converted,u=this.ref,f=this.arg,d=!e,p=new Array(t.length);for(a=0,c=t.length;c>a;a++)n=t[a],r=l?n.$value:n,s=!d&&this.getVm(r,l?n.$key:null),s?(s._reused=!0,s.$index=a,(h||l)&&(f?s[f]=r:o.isPlainObject(r)?s.$data=r:s.$value=r)):(s=this.build(n,a,!0),s._new=!d,s._reused=!1),p[a]=s,d&&s.$before(u);if(d)return p;for(a=0,c=e.length;c>a;a++)s=e[a],s._reused||(this.uncacheVm(s),s.$destroy(!0));var v,m;for(a=p.length;a--;){if(s=p[a],v=p[a+1]){var _=v.$el;s._reused?(m=i(s,u),m!==v&&s.$before(_,null,!1)):s.$before(_)}else s._reused||s.$before(u);s._new=!1,s._reused=!1}return p},build:function(t,e,n){var i={$index:e};this.converted&&(i.$key=t.$key);var r=this.converted?t.$value:t,s=this.arg;s?(t={},t[s]=r):c(r)?t=r:(t={},i.$value=r);var o=this.Ctor||this.resolveDynamicComponent(t,i),a=this.vm.$addChild({el:u.clone(this.template),_asComponent:this.asComponent,_host:this._host,_linkFn:this._linkFn,_meta:i,data:t,inherit:this.inherit,template:this.inlineTempalte},o);a._repeat=!0,n&&this.cacheVm(r,a,this.converted?i.$key:null);var h=typeof r;if("string"===h||"number"===h){var l=this;a.$watch(s||"$value",function(t){l._withLock(function(){l.converted?l.rawValue[a.$key]=t:l.rawValue.$set(a.$index,t)})})}return a},unbind:function(){if(this.componentState=b,this.refID&&(this.vm.$[this.refID]=null),this.vms)for(var t,e=this.vms.length;e--;)t=this.vms[e],this.uncacheVm(t),t.$destroy()},cacheVm:function(t,e,n){var i,r=this.idKey,s=this.cache;n||r?(i=r?t[r]:n,s[i]||(s[i]=e)):a(t)?(i=this.id,t.hasOwnProperty(i)?null===t[i]&&(t[i]=e):o.define(t,i,e)):s[t]?s[t].push(e):s[t]=[e],e._raw=t},getVm:function(t,e){var n=this.idKey;if(e||n){var i=n?t[n]:e;return this.cache[i]}if(a(t))return t[this.id];var r=this.cache[t];if(r){for(var s=0,o=r[s];o&&(o._reused||o._new);)o=r[++s];return o}},uncacheVm:function(t){var e=t._raw,n=this.idKey;if(n||this.converted){var i=n?e[n]:t.$key;this.cache[i]=null}else a(e)?(e[this.id]=null,t._raw=null):this.cache[e].pop()}}},function(t,e,n){function i(t){t._isAttached||t._callHook("attached")}function r(t){t._isAttached&&t._callHook("detached")}var s=n(12),o=n(17),a=n(21),c=n(51);t.exports={bind:function(){var t=this.el;t.__vue__?this.invalid=!0:(this.start=document.createComment("v-if-start"),this.end=document.createComment("v-if-end"),s.replace(t,this.end),s.before(this.start,this.end),"TEMPLATE"===t.tagName?this.template=a.parse(t,!0):(this.template=document.createDocumentFragment(),this.template.appendChild(a.clone(t))),this.linker=o(this.template,this.vm.$options,!0))},update:function(t){this.invalid||(t?this.unlink||this.compile():this.teardown())},compile:function(){var t=this.vm,e=a.clone(this.template);if(this.unlink=this.linker(t,e),c.blockAppend(e,this.end,t),s.inDoc(t.$el)){var n=this.getContainedComponents();n&&n.forEach(i)}},teardown:function(){if(this.unlink){var t;s.inDoc(this.vm.$el)&&(t=this.getContainedComponents()),c.blockRemove(this.start,this.end,this.vm),t&&t.forEach(r),this.unlink(),this.unlink=null}},getContainedComponents:function(){function t(t){for(var e,r=n;e!==i;){if(e=r.nextSibling,r.contains(t.$el))return!0;r=e}return!1}var e=this.vm,n=this.start.nextSibling,i=this.end,r=e._children.length&&e._children.filter(t),s=e._transCpnts&&e._transCpnts.filter(t);return r?s?r.concat(s):r:s},unbind:function(){this.unlink&&this.unlink()}}},function(t,e,n){n(12);t.exports={acceptStatement:!0,bind:function(){var t=this.el.__vue__;!t||this.vm!==t.$parent},update:function(t,e){if("function"==typeof t){var n=this.el.__vue__;e&&n.$off(this.arg,e),n.$on(this.arg,t)}}}},function(t,e,n){var i=n(12),r=n(21);t.exports={isLiteral:!0,bind:function(){this.el.__vue__||(this.ref=document.createComment("v-component"),i.replace(this.el,this.ref),this.keepAlive=null!=this._checkParam("keep-alive"),this.refID=i.attr(this.el,"ref"),this.keepAlive&&(this.cache={}),null!==this._checkParam("inline-template")&&(this.template=i.extractContent(this.el,!0)),this._pendingCb=this.ctorId=this.Ctor=null,this._isDynamicLiteral?(this.readyEvent=this._checkParam("wait-for"),this.transMode=this._checkParam("transition-mode")):this.resolveCtor(this.expression,i.bind(function(){var t=this.build();t.$before(this.ref),this.setCurrent(t)},this)))},update:function(t){this.realUpdate(t)},realUpdate:function(t,e){this.invalidatePending(),t?this.resolveCtor(t,i.bind(function(){this.unbuild();var t=this.build(),n=this;this.readyEvent?t.$once(this.readyEvent,function(){n.swapTo(t,e)}):this.swapTo(t,e)},this)):(this.unbuild(),this.remove(this.childVM,e),this.unsetCurrent())},resolveCtor:function(t,e){var n=this,i=this._pendingCb=function(r){i.invalidated||(n.ctorId=t,n.Ctor=r,e())};this.vm._resolveComponent(t,i)},invalidatePending:function(){this._pendingCb&&(this._pendingCb.invalidated=!0,this._pendingCb=null)},build:function(){if(this.keepAlive){var t=this.cache[this.ctorId];if(t)return t}var e=this.vm,n=r.clone(this.el);if(this.Ctor){var i=e.$addChild({el:n,template:this.template,_asComponent:!0,_host:this._host},this.Ctor);return this.keepAlive&&(this.cache[this.ctorId]=i),i}},unbuild:function(){var t=this.childVM;t&&!this.keepAlive&&t.$destroy(!1,!0)},remove:function(t,e){var n=this.keepAlive;t?t.$remove(function(){n||t._cleanup(),e&&e()}):e&&e()},swapTo:function(t,e){var n=this,i=this.childVM;switch(this.unsetCurrent(),this.setCurrent(t),n.transMode){case"in-out":t.$before(n.ref,function(){n.remove(i,e)});break;case"out-in":n.remove(i,function(){t.$before(n.ref,e)});break;default:n.remove(i),t.$before(n.ref,e)}},setCurrent:function(t){this.childVM=t;var e=t._refID||this.refID;e&&(this.vm.$[e]=t)},unsetCurrent:function(){var t=this.childVM;this.childVM=null;var e=t&&t._refID||this.refID;e&&(this.vm.$[e]=null)},unbind:function(){if(this.invalidatePending(),this.unbuild(),this.cache){for(var t in this.cache)this.cache[t].$destroy();this.cache=null}}}},function(t,e,n){var i=n(12),r=n(26);t.exports={bind:function(){var t=this.vm,e=t.$parent,n=this.arg,s=this.expression,o=!1,a=function(){o=!0,i.nextTick(c)},c=function(){o=!1};this.parentWatcher=new r(e,s,function(e){o||(a(),t.$set(n,e))}),t.$set(n,this.parentWatcher.value),this._descriptor.oneWay||(this.childWatcher=new r(t,n,function(t){o||(a(),e.$set(s,t))}))},unbind:function(){this.parentWatcher&&this.parentWatcher.teardown(),this.childWatcher&&this.childWatcher.teardown()}}},function(t,e,n){function i(t,e){if(r.isPlainObject(t)){for(var n in t)if(i(t[n],e))return!0}else if(r.isArray(t)){for(var s=t.length;s--;)if(i(t[s],e))return!0}else if(null!=t)return t.toString().toLowerCase().indexOf(e)>-1}var r=n(12),s=n(19);e.filterBy=function(t,e,n,o){n&&"in"!==n&&(o=n);var a=r.stripQuotes(e)||this.$get(e);return a?(a=(""+a).toLowerCase(),o=o&&(r.stripQuotes(o)||this.$get(o)),t.filter(function(t){return o?i(s.get(t,o),a):i(t,a)})):t},e.orderBy=function(t,e,n){var i=r.stripQuotes(e)||this.$get(e);if(!i)return t;var o=1;return n&&("-1"===n?o=-1:33===n.charCodeAt(0)?(n=n.slice(1),o=this.$get(n)?1:-1):o=this.$get(n)?-1:1),t.slice().sort(function(t,e){return"$key"!==i&&"$value"!==i&&(t&&"$value"in t&&(t=t.$value),e&&"$value"in e&&(e=e.$value)),t=r.isObject(t)?s.get(t,i):t,e=r.isObject(e)?s.get(e,i):e,t===e?0:t>e?o:-o})}},function(t,e,n){function i(t,e){t.__proto__=e}function r(t,e,n){for(var i,r=n.length;r--;)i=n[r],o.define(t,i,e[i])}function s(t,e){if(this.id=++u,this.value=t,this.active=!0,this.deps=[],o.define(t,"__ob__",this),e===f){var n=a.proto&&o.hasProto?i:r;n(t,h,l),this.observeArray(t)}else e===d&&this.walk(t)}var o=n(12),a=n(16),c=n(25),h=n(55),l=Object.getOwnPropertyNames(h);n(56);var u=0,f=0,d=1;s.target=null;var p=s.prototype;s.create=function(t){return t&&t.hasOwnProperty("__ob__")&&t.__ob__ instanceof s?t.__ob__:o.isArray(t)?new s(t,f):o.isPlainObject(t)&&!t._isVue?new s(t,d):void 0},p.walk=function(t){for(var e,n,i=Object.keys(t),r=i.length;r--;)e=i[r],n=e.charCodeAt(0),36!==n&&95!==n&&this.convert(e,t[e])},p.observe=function(t){return s.create(t)},p.observeArray=function(t){for(var e=t.length;e--;)this.observe(t[e])},p.convert=function(t,e){var n=this,i=n.observe(e),r=new c;i&&i.deps.push(r),Object.defineProperty(n.value,t,{enumerable:!0,configurable:!0,get:function(){return n.active&&s.target&&s.target.addDep(r),e},set:function(t){if(t!==e){var i=e&&e.__ob__;i&&i.deps.$remove(r),e=t;var s=n.observe(t);s&&s.deps.push(r),r.notify()}}})},p.notify=function(){for(var t=this.deps,e=0,n=t.length;n>e;e++)t[e].notify()},p.addVm=function(t){(this.vms=this.vms||[]).push(t)},p.removeVm=function(t){this.vms.$remove(t)},t.exports=s},function(t,e,n){var i=n(12),r=n(57),s=n(58),o="undefined"==typeof document?null:document;e.append=function(t,e,n,i){a(t,1,function(){e.appendChild(t)},n,i)},e.before=function(t,e,n,r){a(t,1,function(){i.before(t,e)},n,r)},e.remove=function(t,e,n){a(t,-1,function(){i.remove(t)},e,n)},e.removeThenAppend=function(t,e,n,i){a(t,-1,function(){e.appendChild(t)},n,i)},e.blockAppend=function(t,n,r){for(var s=i.toArray(t.childNodes),o=0,a=s.length;a>o;o++)e.before(s[o],n,r)},e.blockRemove=function(t,n,i){for(var r,s=t.nextSibling;s!==n;)r=s.nextSibling,e.remove(s,i),s=r};var a=e.apply=function(t,e,n,a,c){var h=t.__v_trans;if(!h||!a._isCompiled||a.$parent&&!a.$parent._isCompiled)return n(),void(c&&c());var l=h.fns;l?s(t,e,n,h,l,a,c):!i.transitionEndEvent||o&&o.hidden?(n(),c&&c()):r(t,e,n,h,c)}},function(t,e,n){var i=(n(12),{_default:n(59),radio:n(60),select:n(61),checkbox:n(62)});t.exports={priority:800,twoWay:!0,handlers:i,bind:function(){var t=this.filters;t&&t.read&&!t.write;var e,n=this.el,r=n.tagName;if("INPUT"===r)e=i[n.type]||i._default;else if("SELECT"===r)e=i.select;else{if("TEXTAREA"!==r)return;e=i._default}e.bind.call(this),this.update=e.update,this.unbind=e.unbind}}},function(t,e,n){function i(t){this.size=0,this.limit=t,this.head=this.tail=void 0,this._keymap={}}var r=i.prototype;r.put=function(t,e){var n={key:t,value:e};return this._keymap[t]=n,this.tail?(this.tail.newer=n,n.older=this.tail):this.head=n,this.tail=n,this.size===this.limit?this.shift():void this.size++},r.shift=function(){var t=this.head;return t&&(this.head=this.head.newer,this.head.older=void 0,t.newer=t.older=void 0,this._keymap[t.key]=void 0),t},r.get=function(t,e){var n=this._keymap[t];if(void 0!==n)return n===this.tail?e?n:n.value:(n.newer&&(n===this.head&&(this.head=n.newer),n.newer.older=n.older),n.older&&(n.older.newer=n.newer),n.newer=void 0,n.older=this.tail,this.tail&&(this.tail.newer=n),this.tail=n,e?n:n.value)},t.exports=i},function(t,e,n){function i(){c=[],h=[],l={},u=!1,f=!1}function r(){f=!0,s(c),s(h),i()}function s(t){for(var e=0;e<t.length;e++)t[e].run()}var o=n(12),a=10,c=[],h=[],l={},u=!1,f=!1;e.push=function(t){var e=t.id;if(!e||!l[e]||f){if(l[e]){if(l[e]++,l[e]>a)return}else l[e]=1;if(f&&!t.user)return void t.run();(t.user?h:c).push(t),u||(u=!0,o.nextTick(r))}}},function(t,e,n){var i=n(12),r=Array.prototype,s=Object.create(r);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=r[t];i.define(s,t,function(){for(var n=arguments.length,i=new Array(n);n--;)i[n]=arguments[n];var r,s=e.apply(this,i),o=this.__ob__;switch(t){case"push":r=i;break;case"unshift":r=i;break;case"splice":r=i.slice(2)}return r&&o.observeArray(r),o.notify(),s})}),i.define(r,"$set",function(t,e){return t>=this.length&&(this.length=t+1),this.splice(t,1,e)[0]}),i.define(r,"$remove",function(t){this.length&&("number"!=typeof t&&(t=i.indexOf(this,t)),t>-1&&this.splice(t,1))}),t.exports=s},function(t,e,n){var i=n(12),r=Object.prototype;i.define(r,"$add",function(t,e){if(!this.hasOwnProperty(t)){var n=this.__ob__;if(!n||i.isReserved(t))return void(this[t]=e);if(n.convert(t,e),n.vms)for(var r=n.vms.length;r--;){var s=n.vms[r];s._proxy(t),s._digest()}else n.notify()}}),i.define(r,"$set",function(t,e){this.$add(t,e),this[t]=e}),i.define(r,"$delete",function(t){if(this.hasOwnProperty(t)){delete this[t];var e=this.__ob__;if(e&&!i.isReserved(t))if(e.vms)for(var n=e.vms.length;n--;){var r=e.vms[n];r._unproxy(t),r._digest()}else e.notify()}})},function(t,e,n){function i(t,e,n,i,s){f.push({el:t,dir:e,cb:s,cls:i,op:n}),d||(d=!0,a.nextTick(r))}function r(){var t=document.documentElement.offsetHeight;return f.forEach(s),f=[],d=!1,t}function s(t){function e(t,e){i.event=t;var r=i.callback=function(o){o.target===n&&(a.off(n,t,r),i.event=i.callback=null,e&&e(),s&&s())};a.on(n,t,r)}var n=t.el,i=n.__v_trans,r=t.cls,s=t.cb,c=t.op,l=o(n,i,r);if(t.dir>0)1===l?(h(n,r),s&&e(a.transitionEndEvent)):2===l?e(a.animationEndEvent,function(){h(n,r)}):(h(n,r),s&&s());else if(l){var u=1===l?a.transitionEndEvent:a.animationEndEvent;e(u,function(){c(),h(n,r)})}else c(),h(n,r),s&&s()}function o(t,e,n){var i=e.cache&&e.cache[n];if(i)return i;var r=t.style,s=window.getComputedStyle(t),o=r[l]||s[l];if(o&&"0s"!==o)i=1;else{var a=r[u]||s[u];a&&"0s"!==a&&(i=2)}return i&&(e.cache||(e.cache={}),e.cache[n]=i),i}var a=n(12),c=a.addClass,h=a.removeClass,l=a.transitionProp+"Duration",u=a.animationProp+"Duration",f=[],d=!1;t.exports=function(t,e,n,r,s){var o=r.id||"v",l=o+"-enter",u=o+"-leave";r.callback&&(a.off(t,r.event,r.callback),h(t,l),h(t,u),r.event=r.callback=null),e>0?(c(t,l),n(),i(t,e,null,l,s)):(c(t,u),i(t,e,n,u,s))}},function(t,e,n){t.exports=function(t,e,n,i,r,s,o){s=t.__vue__||s,i.cancel&&(i.cancel(),i.cancel=null),e>0?(r.beforeEnter&&r.beforeEnter.call(s,t),n(),r.enter?i.cancel=r.enter.call(s,t,function(){i.cancel=null,o&&o()}):o&&o()):r.leave?i.cancel=r.leave.call(s,t,function(){i.cancel=null,n(),o&&o()}):(n(),o&&o())}},function(t,e,n){var i=n(12);t.exports={bind:function(){function t(){var t=s?i.toNumber(n.value):n.value;e.set(t)}var e=this,n=this.el,r=null!=this._checkParam("lazy"),s=null!=this._checkParam("number"),o=parseInt(this._checkParam("debounce"),10),a=!1;this.cpLock=function(){a=!0},this.cpUnlock=function(){a=!1,t()},i.on(n,"compositionstart",this.cpLock),i.on(n,"compositionend",this.cpUnlock);var c=this.filters&&this.filters.read;this.listener=c||"range"===n.type?function(){if(!a){var r;try{r=n.value.length-n.selectionStart}catch(s){}0>r||(t(),i.nextTick(function(){var t=e._watcher.value;if(e.update(t),null!=r){var s=i.toString(t).length-r;n.setSelectionRange(s,s)}}))}}:function(){a||t()},o&&(this.listener=i.debounce(this.listener,o)),this.event=r?"change":"input",this.hasjQuery="function"==typeof jQuery,this.hasjQuery?jQuery(n).on(this.event,this.listener):i.on(n,this.event,this.listener),!r&&i.isIE9&&(this.onCut=function(){i.nextTick(e.listener)},this.onDel=function(t){(46===t.keyCode||8===t.keyCode)&&e.listener()},i.on(n,"cut",this.onCut),i.on(n,"keyup",this.onDel)),(n.hasAttribute("value")||"TEXTAREA"===n.tagName&&n.value.trim())&&(this._initValue=s?i.toNumber(n.value):n.value)},update:function(t){this.el.value=i.toString(t)},unbind:function(){var t=this.el;this.hasjQuery?jQuery(t).off(this.event,this.listener):i.off(t,this.event,this.listener),i.off(t,"compositionstart",this.cpLock),i.off(t,"compositionend",this.cpUnlock),this.onCut&&(i.off(t,"cut",this.onCut),i.off(t,"keyup",this.onDel))}}},function(t,e,n){var i=n(12);t.exports={bind:function(){var t=this,e=this.el;this.listener=function(){t.set(e.value)},i.on(e,"change",this.listener),e.checked&&(this._initValue=e.value)},update:function(t){this.el.checked=t==this.el.value},unbind:function(){i.off(this.el,"change",this.listener)}}},function(t,e,n){function i(t){function e(t){l.isArray(t)&&(n.el.innerHTML="",r(n.el,t),n._watcher&&n.update(n._watcher.value))}var n=this,i=f.parse(t)[0];this.optionWatcher=new u(this.vm,i.expression,e,{deep:!0,filters:l.resolveFilters(this.vm,i.filters)}),e(this.optionWatcher.value)}function r(t,e){for(var n,i,s=0,o=e.length;o>s;s++)n=e[s],n.options?(i=document.createElement("optgroup"),i.label=n.label,r(i,n.options)):(i=document.createElement("option"),"string"==typeof n?i.text=i.value=n:(i.text=n.text,i.value=n.value)),t.appendChild(i)}function s(){for(var t,e=this.el.options,n=0,i=e.length;i>n;n++)e[n].hasAttribute("selected")&&(this.multiple?(t||(t=[])).push(e[n].value):t=e[n].value);"undefined"!=typeof t&&(this._initValue=this.number?l.toNumber(t):t)}function o(t){return Array.prototype.filter.call(t.options,a).map(c)}function a(t){return t.selected}function c(t){return t.value||t.text}function h(t,e){for(var n=t.length;n--;)if(t[n]==e)return n;return-1}var l=n(12),u=n(26),f=n(22);t.exports={bind:function(){var t=this,e=this.el,n=this._checkParam("options");n&&i.call(this,n),this.number=null!=this._checkParam("number"),this.multiple=e.hasAttribute("multiple"),this.listener=function(){var n=t.multiple?o(e):e.value;n=t.number?l.isArray(n)?n.map(l.toNumber):l.toNumber(n):n,t.set(n)},l.on(e,"change",this.listener),s.call(this)},update:function(t){var e=this.el;e.selectedIndex=-1;for(var n,i=this.multiple&&l.isArray(t),r=e.options,s=r.length;s--;)n=r[s],n.selected=i?h(t,n.value)>-1:t==n.value},unbind:function(){l.off(this.el,"change",this.listener),this.optionWatcher&&this.optionWatcher.teardown()}}},function(t,e,n){var i=n(12);t.exports={bind:function(){var t=this,e=this.el;this.listener=function(){t.set(e.checked)},i.on(e,"change",this.listener),e.checked&&(this._initValue=e.checked)},update:function(t){this.el.checked=!!t},unbind:function(){i.off(this.el,"change",this.listener)}}}])});
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):"object"==typeof exports?exports.Vue=e():t.Vue=e()}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={exports:{},id:i,loaded:!1};return t[i].call(r.exports,r,r.exports,e),r.loaded=!0,r.exports}var n={};return e.m=t,e.c=n,e.p="",e(0)}([function(t,e,n){function i(t){this._init(t)}var r=n(2),s=r.extend;s(i,n(26)),i.options={directives:n(28),filters:n(51),transitions:{},components:{},elementDirectives:{}};var o=i.prototype;Object.defineProperty(o,"$data",{get:function(){return this._data},set:function(t){t!==this._data&&this._setData(t)}}),s(o,n(53)),s(o,n(54)),s(o,n(55)),s(o,n(1)),s(o,n(56)),s(o,n(57)),s(o,n(58)),s(o,n(59)),s(o,n(60)),s(o,n(61)),t.exports=r.Vue=i},function(t,e,n){var i=n(2),r=n(9),s=n(21),o=n(25);e._compile=function(t){var e=this.$options;if(e._linkFn)this._initElement(t),this._unlinkFn=e._linkFn(this,t);else{var n=t;t=o(t,e),this._initElement(t),this._unlinkFn=s(t,e)(this,t),e.replace&&i.replace(n,t)}return t},e._initElement=function(t){t instanceof DocumentFragment?(this._isBlock=!0,this.$el=this._blockStart=t.firstChild,this._blockEnd=t.lastChild,3===this._blockStart.nodeType&&(this._blockStart.data=this._blockEnd.data=""),this._blockFragment=t):this.$el=t,this.$el.__vue__=this,this._callHook("beforeCompile")},e._bindDir=function(t,e,n,i,s){this._directives.push(new r(t,e,this,n,i,s))},e._destroy=function(t,e){if(!this._isBeingDestroyed){this._callHook("beforeDestroy"),this._isBeingDestroyed=!0;var n,i=this.$parent;i&&!i._isBeingDestroyed&&i._children.$remove(this);var r=this._host;for(r&&!r._isBeingDestroyed&&r._transCpnts.$remove(this),n=this._children.length;n--;)this._children[n].$destroy();this._unlinkFn&&this._unlinkFn(!0);var s;for(n in this._userWatchers)s=this._userWatchers[n],s&&s.teardown();this.$el&&(this.$el.__vue__=null);var o=this;t&&this.$el?this.$remove(function(){o._cleanup()}):e||this._cleanup()}},e._cleanup=function(){this._data.__ob__.removeVm(this),this._data=this._watchers=this._userWatchers=this._watcherList=this.$el=this.$parent=this.$root=this._children=this._transCpnts=this._directives=null,this._isDestroyed=!0,this._callHook("destroyed"),this.$off()}},function(t,e,n){var i=n(3),r=i.extend;r(e,i),r(e,n(4)),r(e,n(5)),r(e,n(7)),r(e,n(8))},function(t,e,n){function i(t,e){return e?e.toUpperCase():""}e.isReserved=function(t){var e=(t+"").charCodeAt(0);return 36===e||95===e},e.toString=function(t){return null==t?"":t.toString()},e.toNumber=function(t){return isNaN(t)||null===t||"boolean"==typeof t?t:Number(t)},e.stripQuotes=function(t){var e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e!==n||34!==e&&39!==e?!1:t.slice(1,-1)};var r=/-(\w)/g;e.camelize=function(t){return t.replace(r,i)};var s=/(?:^|[-_\/])(\w)/g;e.classify=function(t){return t.replace(s,i)},e.bind=function(t,e){return function(n){var i=arguments.length;return i?i>1?t.apply(e,arguments):t.call(e,n):t.call(e)}},e.toArray=function(t,e){e=e||0;for(var n=t.length-e,i=new Array(n);n--;)i[n]=t[n+e];return i},e.extend=function(t,e){for(var n in e)t[n]=e[n];return t},e.isObject=function(t){return t&&"object"==typeof t};var o=Object.prototype.toString;e.isPlainObject=function(t){return"[object Object]"===o.call(t)},e.isArray=function(t){return Array.isArray(t)},e.define=function(t,e,n,i){Object.defineProperty(t,e,{value:n,enumerable:!!i,writable:!0,configurable:!0})},e.debounce=function(t,e){var n,i,r,s,o,a=function(){var c=Date.now()-s;e>c&&c>=0?n=setTimeout(a,e-c):(n=null,o=t.apply(r,i),n||(r=i=null))};return function(){return r=this,i=arguments,s=Date.now(),n||(n=setTimeout(a,e)),o}},e.indexOf=function(t,e){for(var n=0,i=t.length;i>n;n++)if(t[n]===e)return n;return-1}},function(t,e,n){e.hasProto="__proto__"in{};var i=e.inBrowser="undefined"!=typeof window&&"[object Object]"!==Object.prototype.toString.call(window);if(e.isIE9=i&&navigator.userAgent.toLowerCase().indexOf("msie 9.0")>0,e.isAndroid=i&&navigator.userAgent.toLowerCase().indexOf("android")>0,i&&!e.isIE9){var r=void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend,s=void 0===window.onanimationend&&void 0!==window.onwebkitanimationend;e.transitionProp=r?"WebkitTransition":"transition",e.transitionEndEvent=r?"webkitTransitionEnd":"transitionend",e.animationProp=s?"WebkitAnimation":"animation",e.animationEndEvent=s?"webkitAnimationEnd":"animationend"}e.nextTick=function(){function t(){i=!1;var t=n.slice(0);n=[];for(var e=0;e<t.length;e++)t[e]()}var e,n=[],i=!1;if("undefined"!=typeof MutationObserver){var r=1,s=new MutationObserver(t),o=document.createTextNode(r);s.observe(o,{characterData:!0}),e=function(){r=(r+1)%2,o.data=r}}else e=setTimeout;return function(r,s){var o=s?function(){r.call(s)}:r;n.push(o),i||(i=!0,e(t,0))}}()},function(t,e,n){var i=n(6),r="undefined"!=typeof document&&document.documentElement;e.inDoc=function(t){var e=t&&t.parentNode;return r===t||r===e||!(!e||1!==e.nodeType||!r.contains(e))},e.attr=function(t,e){e=i.prefix+e;var n=t.getAttribute(e);return null!==n&&t.removeAttribute(e),n},e.before=function(t,e){e.parentNode.insertBefore(t,e)},e.after=function(t,n){n.nextSibling?e.before(t,n.nextSibling):n.parentNode.appendChild(t)},e.remove=function(t){t.parentNode.removeChild(t)},e.prepend=function(t,n){n.firstChild?e.before(t,n.firstChild):n.appendChild(t)},e.replace=function(t,e){var n=t.parentNode;n&&n.replaceChild(e,t)},e.on=function(t,e,n){t.addEventListener(e,n)},e.off=function(t,e,n){t.removeEventListener(e,n)},e.addClass=function(t,e){if(t.classList)t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}},e.removeClass=function(t,e){if(t.classList)t.classList.remove(e);else{for(var n=" "+(t.getAttribute("class")||"")+" ",i=" "+e+" ";n.indexOf(i)>=0;)n=n.replace(i," ");t.setAttribute("class",n.trim())}},e.extractContent=function(t,e){var n,i;if("TEMPLATE"===t.tagName&&t.content instanceof DocumentFragment&&(t=t.content),t.hasChildNodes())for(i=e?document.createDocumentFragment():document.createElement("div");n=t.firstChild;)i.appendChild(n);return i}},function(t,e,n){t.exports={prefix:"v-",debug:!1,silent:!1,proto:!0,interpolate:!0,async:!0,warnExpressionErrors:!0,_delimitersChanged:!0};var i=["{{","}}"];Object.defineProperty(t.exports,"delimiters",{get:function(){return i},set:function(t){i=t,this._delimitersChanged=!0}})},function(t,e,n){function i(t,e){return e.map(function(e){return e.dynamic?t.$get(e.value):e.value})}var r=(n(8),n(6));e.checkComponent=function(t,e){var n=t.tagName.toLowerCase();if("component"===n){var i=t.getAttribute("is");return t.removeAttribute("is"),i}return e.components[n]?n:void 0},e.createAnchor=function(t,e){return r.debug?document.createComment(t):document.createTextNode(e?" ":"")},e.resolveFilters=function(t,e,n){if(e){var r=n||{};return e.forEach(function(e){var n=t.$options.filters[e.name];if(n){var s,o,a=e.args;"function"==typeof n?s=n:(s=n.read,o=n.write),s&&(r.read||(r.read=[]),r.read.push(function(e){return a?s.apply(t,[e].concat(i(t,a))):s.call(t,e)})),o&&(r.write||(r.write=[]),r.write.push(function(e,n){return a?o.apply(t,[e,n].concat(i(t,a))):o.call(t,e,n)}))}}),r}},e.applyFilters=function(t,e,n,i){if(!e)return t;for(var r=0,s=e.length;s>r;r++)t=e[r].call(n,t,i);return t}},function(t,e,n){n(6)},function(t,e,n){function i(t,e,n,i,s,o){this.name=t,this.el=e,this.vm=n,this.raw=i.raw,this.expression=i.expression,this.arg=i.arg,this.filters=r.resolveFilters(n,i.filters),this._descriptor=i,this._host=o,this._locked=!1,this._bound=!1,this._bind(s)}var r=n(2),s=n(6),o=n(10),a=n(19),c=n(15),h=i.prototype;h._bind=function(t){if("cloak"!==this.name&&this.el&&this.el.removeAttribute&&this.el.removeAttribute(s.prefix+this.name),"function"==typeof t?this.update=t:r.extend(this,t),this._watcherExp=this.expression,this._checkDynamicLiteral(),this.bind&&this.bind(),this._watcherExp&&(this.update||this.twoWay)&&(!this.isLiteral||this._isDynamicLiteral)&&!this._checkStatement()){var e=this,n=this._update=this.update?function(t,n){e._locked||e.update(t,n)}:function(){},i=this.vm._watchers[this.raw];i&&"repeat"!==this.name?i.addCb(n):i=this.vm._watchers[this.raw]=new o(this.vm,this._watcherExp,n,{filters:this.filters,twoWay:this.twoWay,deep:this.deep}),this._watcher=i,null!=this._initValue?i.set(this._initValue):this.update&&this.update(i.value)}this._bound=!0},h._checkDynamicLiteral=function(){var t=this.expression;if(t&&this.isLiteral){var e=a.parse(t);if(e){var n=a.tokensToExp(e);this.expression=this.vm.$get(n),this._watcherExp=n,this._isDynamicLiteral=!0}}},h._checkStatement=function(){var t=this.expression;if(t&&this.acceptStatement&&!c.isSimplePath(t)){var e=c.parse(t).get,n=this.vm,i=function(){e.call(n,n)};return this.filters&&(i=r.applyFilters(i,this.filters.read,n)),this.update(i),!0}},h._checkParam=function(t){var e=this.el.getAttribute(t);return null!==e&&this.el.removeAttribute(t),e},h._teardown=function(){if(this._bound){this.unbind&&this.unbind();var t=this._watcher;t&&t.active&&(t.removeCb(this._update),t.active||(this.vm._watchers[this.raw]=null)),this._bound=!1,this.vm=this.el=this._watcher=null}},h.set=function(t){this.twoWay&&this._withLock(function(){this._watcher.set(t)})},h._withLock=function(t){var e=this;e._locked=!0,t.call(e),r.nextTick(function(){e._locked=!1})},t.exports=i},function(t,e,n){function i(t,e,n,i){this.vm=t,t._watcherList.push(this),this.expression=e,this.cbs=[n],this.id=++l,this.active=!0,i=i||{},this.deep=!!i.deep,this.user=!!i.user,this.deps=[],this.newDeps=[],i.filters&&(this.readFilters=i.filters.read,this.writeFilters=i.filters.write);var r=c.parse(e,i.twoWay);this.getter=r.get,this.setter=r.set,this.value=this.get()}function r(t){var e,n,i;for(e in t)if(n=t[e],s.isArray(n))for(i=n.length;i--;)r(n[i]);else s.isObject(n)&&r(n)}var s=n(2),o=n(6),a=n(11),c=n(15),h=n(18),l=0,u=i.prototype;u.addDep=function(t){var e=this.newDeps,n=this.deps;if(s.indexOf(e,t)<0){e.push(t);var i=s.indexOf(n,t);0>i?t.addSub(this):n[i]=null}},u.get=function(){this.beforeGet();var t,e=this.vm;try{t=this.getter.call(e,e)}catch(n){o.warnExpressionErrors}return this.deep&&r(t),t=s.applyFilters(t,this.readFilters,e),this.afterGet(),t},u.set=function(t){var e=this.vm;t=s.applyFilters(t,this.writeFilters,e,this.value);try{this.setter.call(e,e,t)}catch(n){o.warnExpressionErrors}},u.beforeGet=function(){a.target=this},u.afterGet=function(){a.target=null;for(var t=this.deps.length;t--;){var e=this.deps[t];e&&e.removeSub(this)}this.deps=this.newDeps,this.newDeps=[]},u.update=function(){!o.async||o.debug?this.run():h.push(this)},u.run=function(){if(this.active){var t=this.get();if(t!==this.value||Array.isArray(t)||this.deep){var e=this.value;this.value=t;for(var n=this.cbs,i=0,r=n.length;r>i;i++){n[i](t,e);var s=r-n.length;s&&(i-=s,r-=s)}}}},u.addCb=function(t){this.cbs.push(t)},u.removeCb=function(t){var e=this.cbs;e.length>1?e.$remove(t):t===e[0]&&this.teardown()},u.teardown=function(){if(this.active){this.vm._isBeingDestroyed||this.vm._watcherList.$remove(this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.vm=this.cbs=this.value=null}},t.exports=i},function(t,e,n){function i(t,e){t.__proto__=e}function r(t,e,n){for(var i,r=n.length;r--;)i=n[r],o.define(t,i,e[i])}function s(t,e){if(this.id=++u,this.value=t,this.active=!0,this.deps=[],o.define(t,"__ob__",this),e===f){var n=a.proto&&o.hasProto?i:r;n(t,h,l),this.observeArray(t)}else e===d&&this.walk(t)}var o=n(2),a=n(6),c=n(12),h=n(13),l=Object.getOwnPropertyNames(h);n(14);var u=0,f=0,d=1;s.target=null;var p=s.prototype;s.create=function(t){return t&&t.hasOwnProperty("__ob__")&&t.__ob__ instanceof s?t.__ob__:o.isArray(t)?new s(t,f):o.isPlainObject(t)&&!t._isVue?new s(t,d):void 0},p.walk=function(t){for(var e,n,i=Object.keys(t),r=i.length;r--;)e=i[r],n=e.charCodeAt(0),36!==n&&95!==n&&this.convert(e,t[e])},p.observe=function(t){return s.create(t)},p.observeArray=function(t){for(var e=t.length;e--;)this.observe(t[e])},p.convert=function(t,e){var n=this,i=n.observe(e),r=new c;i&&i.deps.push(r),Object.defineProperty(n.value,t,{enumerable:!0,configurable:!0,get:function(){return n.active&&s.target&&s.target.addDep(r),e},set:function(t){if(t!==e){var i=e&&e.__ob__;i&&i.deps.$remove(r),e=t;var s=n.observe(t);s&&s.deps.push(r),r.notify()}}})},p.notify=function(){for(var t=this.deps,e=0,n=t.length;n>e;e++)t[e].notify()},p.addVm=function(t){(this.vms=this.vms||[]).push(t)},p.removeVm=function(t){this.vms.$remove(t)},t.exports=s},function(t,e,n){function i(){this.subs=[]}var r=n(2),s=i.prototype;s.addSub=function(t){this.subs.push(t)},s.removeSub=function(t){this.subs.$remove(t)},s.notify=function(){for(var t=r.toArray(this.subs),e=0,n=t.length;n>e;e++)t[e].update()},t.exports=i},function(t,e,n){var i=n(2),r=Array.prototype,s=Object.create(r);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=r[t];i.define(s,t,function(){for(var n=arguments.length,i=new Array(n);n--;)i[n]=arguments[n];var r,s=e.apply(this,i),o=this.__ob__;switch(t){case"push":r=i;break;case"unshift":r=i;break;case"splice":r=i.slice(2)}return r&&o.observeArray(r),o.notify(),s})}),i.define(r,"$set",function(t,e){return t>=this.length&&(this.length=t+1),this.splice(t,1,e)[0]}),i.define(r,"$remove",function(t){this.length&&("number"!=typeof t&&(t=i.indexOf(this,t)),t>-1&&this.splice(t,1))}),t.exports=s},function(t,e,n){var i=n(2),r=Object.prototype;i.define(r,"$add",function(t,e){if(!this.hasOwnProperty(t)){var n=this.__ob__;if(!n||i.isReserved(t))return void(this[t]=e);if(n.convert(t,e),n.vms)for(var r=n.vms.length;r--;){var s=n.vms[r];s._proxy(t),s._digest()}else n.notify()}}),i.define(r,"$set",function(t,e){this.$add(t,e),this[t]=e}),i.define(r,"$delete",function(t){if(this.hasOwnProperty(t)){delete this[t];var e=this.__ob__;if(e&&!i.isReserved(t))if(e.vms)for(var n=e.vms.length;n--;){var r=e.vms[n];r._unproxy(t),r._digest()}else e.notify()}})},function(t,e,n){function i(t,e){var n=C.length;return C[n]=e?t.replace(b,"\\n"):t,'"'+n+'"'}function r(t){var e=t.charAt(0),n=t.slice(1);return v.test(n)?t:(n=n.indexOf('"')>-1?n.replace($,s):n,e+"scope."+n)}function s(t,e){return C[e]}function o(t,e){_.test(t),C.length=0;var n=t.replace(y,i).replace(g,"");n=(" "+n).replace(x,r).replace($,s);var o=c(n);return o?{get:o,body:n,set:e?h(n):null}:void 0}function a(t){var e,n;return t.indexOf("[")<0?(n=t.split("."),e=u.compileGetter(n)):(n=u.parse(t),e=n.get),{get:e,set:function(t,e){u.set(t,n,e)}}}function c(t){try{return new Function("scope","return "+t+";")}catch(e){}}function h(t){try{return new Function("scope","value",t+"=value;")}catch(e){}}function l(t){t.set||(t.set=h(t.body))}var u=(n(2),n(16)),f=n(17),d=new f(1e3),p="Math,Date,this,true,false,null,undefined,Infinity,NaN,isNaN,isFinite,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,parseInt,parseFloat",v=new RegExp("^("+p.replace(/,/g,"\\b|")+"\\b)"),m="break,case,class,catch,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,in,instanceof,let,return,super,switch,throw,try,var,while,with,yield,enum,await,implements,package,proctected,static,interface,private,public",_=new RegExp("^("+m.replace(/,/g,"\\b|")+"\\b)"),g=/\s/g,b=/\n/g,y=/[\{,]\s*[\w\$_]+\s*:|('[^']*'|"[^"]*")|new |typeof |void /g,$=/"(\d+)"/g,w=/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\])*$/,x=/[^\w$\.]([A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\])*)/g,k=/^(true|false)$/,C=[];e.parse=function(t,n){t=t.trim();var i=d.get(t);if(i)return n&&l(i),i;var r=e.isSimplePath(t)?a(t):o(t,n);return d.put(t,r),r},e.isSimplePath=function(t){return w.test(t)&&!k.test(t)&&"Math."!==t.slice(0,5)}},function(t,e,n){function i(){}function r(t){if(void 0===t)return"eof";var e=t.charCodeAt(0);switch(e){case 91:case 93:case 46:case 34:case 39:case 48:return t;case 95:case 36:return"ident";case 32:case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return e>=97&&122>=e||e>=65&&90>=e?"ident":e>=49&&57>=e?"number":"else"}function s(t){function e(){var e=t[d+1];return"inSingleQuote"===p&&"'"===e||"inDoubleQuote"===p&&'"'===e?(d++,s=e,v.append(),!0):void 0}for(var n,s,o,a,c,h,l,f=[],d=-1,p="beforePath",v={push:function(){void 0!==o&&(f.push(o),o=void 0)},append:function(){void 0===o?o=s:o+=s}};p;)if(d++,n=t[d],"\\"!==n||!e()){if(a=r(n),l=u[p],c=l[a]||l["else"]||"error","error"===c)return;if(p=c[0],h=v[c[1]]||i,s=void 0===c[2]?n:c[2],h(),"afterPath"===p)return f}}function o(t){return l.test(t)?"."+t:+t===t>>>0?"["+t+"]":'["'+t.replace(/"/g,'\\"')+'"]'}var a=n(2),c=n(17),h=new c(1e3),l=/^[$_a-zA-Z]+[\w$]*$/,u={beforePath:{ws:["beforePath"],ident:["inIdent","append"],"[":["beforeElement"],eof:["afterPath"]},inPath:{ws:["inPath"],".":["beforeIdent"],"[":["beforeElement"],eof:["afterPath"]},beforeIdent:{ws:["beforeIdent"],ident:["inIdent","append"]},inIdent:{ident:["inIdent","append"],0:["inIdent","append"],number:["inIdent","append"],ws:["inPath","push"],".":["beforeIdent","push"],"[":["beforeElement","push"],eof:["afterPath","push"]},beforeElement:{ws:["beforeElement"],0:["afterZero","append"],number:["inIndex","append"],"'":["inSingleQuote","append",""],'"':["inDoubleQuote","append",""]},afterZero:{ws:["afterElement","push"],"]":["inPath","push"]},inIndex:{0:["inIndex","append"],number:["inIndex","append"],ws:["afterElement"],"]":["inPath","push"]},inSingleQuote:{"'":["afterElement"],eof:"error","else":["inSingleQuote","append"]},inDoubleQuote:{'"':["afterElement"],eof:"error","else":["inDoubleQuote","append"]},afterElement:{ws:["afterElement"],"]":["inPath","push"]}};e.compileGetter=function(t){var e="return o"+t.map(o).join("");return new Function("o","try {"+e+"} catch (e) {}")},e.parse=function(t){var n=h.get(t);return n||(n=s(t),n&&(n.get=e.compileGetter(n),h.put(t,n))),n},e.get=function(t,n){return n=e.parse(n),n?n.get(t):void 0},e.set=function(t,n,i){if("string"==typeof n&&(n=e.parse(n)),!n||!a.isObject(t))return!1;for(var r,s,o=0,c=n.length-1;c>o;o++)r=t,s=n[o],t=t[s],a.isObject(t)||(t={},r.$add(s,t));return s=n[o],s in t?t[s]=i:t.$add(s,i),!0}},function(t,e,n){function i(t){this.size=0,this.limit=t,this.head=this.tail=void 0,this._keymap={}}var r=i.prototype;r.put=function(t,e){var n={key:t,value:e};return this._keymap[t]=n,this.tail?(this.tail.newer=n,n.older=this.tail):this.head=n,this.tail=n,this.size===this.limit?this.shift():void this.size++},r.shift=function(){var t=this.head;return t&&(this.head=this.head.newer,this.head.older=void 0,t.newer=t.older=void 0,this._keymap[t.key]=void 0),t},r.get=function(t,e){var n=this._keymap[t];if(void 0!==n)return n===this.tail?e?n:n.value:(n.newer&&(n===this.head&&(this.head=n.newer),n.newer.older=n.older),n.older&&(n.older.newer=n.newer),n.newer=void 0,n.older=this.tail,this.tail&&(this.tail.newer=n),this.tail=n,e?n:n.value)},t.exports=i},function(t,e,n){function i(){c=[],h=[],l={},u=!1,f=!1}function r(){f=!0,s(c),s(h),i()}function s(t){for(var e=0;e<t.length;e++)t[e].run()}var o=n(2),a=10,c=[],h=[],l={},u=!1,f=!1;e.push=function(t){var e=t.id;if(!e||!l[e]||f){if(l[e]){if(l[e]++,l[e]>a)return}else l[e]=1;if(f&&!t.user)return void t.run();(t.user?h:c).push(t),u||(u=!0,o.nextTick(r))}}},function(t,e,n){function i(t){return t.replace(v,"\\$&")}function r(){d._delimitersChanged=!1;var t=d.delimiters[0],e=d.delimiters[1];l=t.charAt(0),u=e.charAt(e.length-1);var n=i(l),r=i(u),s=i(t),o=i(e);c=new RegExp(n+"?"+s+"(.+?)"+o+r+"?","g"),h=new RegExp("^"+n+s+".*"+o+r+"$"),a=new f(1e3)}function s(t,e,n){return t.tag?e&&t.oneTime?'"'+e.$eval(t.value)+'"':o(t.value,n):'"'+t.value+'"'}function o(t,e){if(m.test(t)){var n=p.parse(t)[0];if(n.filters){t=n.expression;for(var i=0,r=n.filters.length;r>i;i++){var s=n.filters[i],o=s.args?","+JSON.stringify(s.args).slice(1,-1):"";t='this._applyFilter("'+s.name+'",['+t+o+"])"}return t}return"("+t+")"}return e?t:"("+t+")"}var a,c,h,l,u,f=n(17),d=n(6),p=n(20),v=/[-.*+?^${}()|[\]\/\\]/g;e.parse=function(t){d._delimitersChanged&&r();var e=a.get(t);if(e)return e;if(!c.test(t))return null;for(var n,i,s,o,l,u=[],f=c.lastIndex=0;n=c.exec(t);)i=n.index,i>f&&u.push({value:t.slice(f,i)}),o=n[1].charCodeAt(0),l=42===o,s=l?n[1].slice(1):n[1],u.push({tag:!0,value:s.trim(),html:h.test(n[0]),oneTime:l}),f=i+n[0].length;return f<t.length&&u.push({value:t.slice(f)}),a.put(t,u),u},e.tokensToExp=function(t,e){return t.length>1?t.map(function(t){return s(t,e)}).join("+"):s(t[0],e,!0)};var m=/[^|]\|[^|]/},function(t,e,n){function i(){g.raw=o.slice(v,c).trim(),void 0===g.expression?g.expression=o.slice(m,c).trim():b!==v&&r(),(0===c||g.expression)&&_.push(g)}function r(){var t,e=o.slice(b,c).trim();if(e){t={};var n=e.match(C);t.name=n[0],n.length>1&&(t.args=n.slice(1).map(s))}t&&(g.filters=g.filters||[]).push(t),b=c+1}function s(t){var e=A.test(t)?t:$.stripQuotes(t);return{value:e||t,dynamic:!e}}var o,a,c,h,l,u,f,d,p,v,m,_,g,b,y,$=n(2),w=n(17),x=new w(1e3),k=/^[^\{\?]+$|^'[^']*'$|^"[^"]*"$/,C=/[^\s'"]+|'[^']+'|"[^"]+"/g,A=/^in$|^-?\d+/;e.parse=function(t){var e=x.get(t);if(e)return e;for(o=t,l=u=!1,f=d=p=v=m=0,b=0,_=[],g={},y=null,c=0,h=o.length;h>c;c++)if(a=o.charCodeAt(c),l)39===a&&(l=!l);else if(u)34===a&&(u=!u);else if(44!==a||p||f||d)if(58!==a||g.expression||g.arg)if(124===a&&124!==o.charCodeAt(c+1)&&124!==o.charCodeAt(c-1))void 0===g.expression?(b=c+1,g.expression=o.slice(m,c).trim()):r();else switch(a){case 34:u=!0;break;case 39:l=!0;break;case 40:p++;break;case 41:p--;break;case 91:d++;break;case 93:d--;break;case 123:f++;break;case 125:f--}else y=o.slice(v,c).trim(),k.test(y)&&(m=c+1,g.arg=$.stripQuotes(y)||y);else i(),g={},v=m=b=c+1;return(0===c||v!==c)&&i(),x.put(t,_),_}},function(t,e,n){function i(t,e,n,i){function a(t,e){var n=t._directives.length,s=t.$parent&&t.$parent._directives.length,o=A.toArray(e.childNodes),a=i?t.$parent:t,l=i?t:void 0;c&&c(a,e,l),h&&h(a,o,l);var u=t._directives.slice(n),f=t.$parent&&t.$parent._directives.slice(s);return function(e){r(t,u,e),f&&r(t.$parent,f)}}var c=e._asComponent&&!n?s(t,e):o(t,e),h=c&&c.terminal||"SCRIPT"===t.tagName||!t.hasChildNodes()?null:u(t.childNodes,e);return i&&(a.terminal=!0),a}function r(t,e,n){for(var i=e.length;i--;)e[i]._teardown(),n||t._directives.$remove(e[i])}function s(t,e){var n,i,r,s=11===t.nodeType,o=e._containerAttrs,a=e._replacerAttrs,c=e.props;return n=c?d(t,o,c):null,s||(o&&(i=y(o,e)),a&&(r=y(a,e))),function(t,e,s){n&&n(t,null),i&&i(t.$parent,e,s),r&&r(t,e,s)}}function o(t,e){var n=t.nodeType;return 1===n&&"SCRIPT"!==t.tagName?a(t,e):3===n&&E.interpolate&&t.data.trim()?c(t,e):null}function a(t,e){if(C(t))return t.hasAttribute("__vue__wrap")&&(t=t.firstChild),i(t,e._parent.$options,!0,!0);var n,r=t.hasAttributes();if(n=v(t,e),!n&&r&&(n=_(t,e)),n||(n=m(t,e)),!n&&r&&(n=y(t,e)),"TEXTAREA"===t.tagName){var s=n;n=function(t,e){e.value=t.$interpolate(e.value),s&&s(t,e)},n.terminal=!0}return n}function c(t,e){var n=D.parse(t.data);if(!n)return null;for(var i,r,s=document.createDocumentFragment(),o=0,a=n.length;a>o;o++)r=n[o],i=r.tag?h(r,e):document.createTextNode(r.value),s.appendChild(i);return l(n,s,e)}function h(t,e){function n(n){t.type=n,t.def=e.directives[n],t.descriptor=T.parse(t.value)[0]}var i;return t.oneTime?i=document.createTextNode(t.value):t.html?(i=document.createComment("v-html"),n("html")):(i=document.createTextNode(" "),n("text")),i}function l(t,e){return function(n,i){for(var r,s,o,a=e.cloneNode(!0),c=A.toArray(a.childNodes),h=0,l=t.length;l>h;h++)r=t[h],s=r.value,r.tag&&(o=c[h],r.oneTime?(s=n.$eval(s),r.html?A.replace(o,S.parse(s,!0)):o.data=s):n._bindDir(r.type,o,r.descriptor,r.def));A.replace(i,a)}}function u(t,e){for(var n,i,r,s=[],a=0,c=t.length;c>a;a++)r=t[a],n=o(r,e),i=n&&n.terminal||"SCRIPT"===r.tagName||!r.hasChildNodes()?null:u(r.childNodes,e),s.push(n,i);return s.length?f(s):null}function f(t){return function(e,n,i){for(var r,s,o,a=0,c=0,h=t.length;h>a;c++){r=n[c],s=t[a++],o=t[a++];var l=A.toArray(r.childNodes);s&&s(e,r,i),o&&o(e,l,i)}}}function d(t,e,n){for(var i,r,s,o=[],a=n.length;a--;)if(i=n[a],/[A-Z]/.test(i),r=e[i],null!=r){s={name:i,value:r};var c=D.parse(r);c&&(t&&1===t.nodeType&&t.removeAttribute(i),e[i]=null,s.dynamic=!0,s.value=D.tokensToExp(c),s.oneTime=c.length>1||c[0].oneTime||!j.test(s.value)),o.push(s)}return p(o)}function p(t){return function(e,n){for(var i,r,s=t.length;s--;)i=t[s],r=A.camelize(i.name.replace(I,"")),i.dynamic?e._bindDir("prop",n,{arg:r,expression:i.value,oneWay:i.oneTime},N):e.$set(r,i.value)}}function v(t,e){var n=t.tagName.toLowerCase(),i=e.elementDirectives[n];return i?b(t,n,"",e,i):void 0}function m(t,e){var n=A.checkComponent(t,e);if(n){var i=function(t,e,i){t._bindDir("component",e,{expression:n},P,i)};return i.terminal=!0,i}}function _(t,e){if(null!==A.attr(t,"pre"))return g;for(var n,i,r=0,s=O.length;s>r;r++)if(i=O[r],null!==(n=A.attr(t,i)))return b(t,i,n,e)}function g(){}function b(t,e,n,i,r){var s=T.parse(n)[0];r=r||i.directives[e];var o=function(t,n,i){t._bindDir(e,n,s,r,i)};return o.terminal=!0,o}function y(t,e){for(var n,i,r,s,o,a,c=A.isPlainObject(t)?$(t):t.attributes,h=c.length,l=[];h--;)n=c[h],i=n.name,r=n.value,null!==r&&(0===i.indexOf(E.prefix)?(o=i.slice(E.prefix.length),a=e.directives[o],a&&l.push({name:o,descriptors:T.parse(r),def:a})):E.interpolate&&(s=x(i,r,e),s&&l.push(s)));return l.length?(l.sort(k),w(l)):void 0}function $(t){var e=[];for(var n in t)e.push({name:n,value:t[n]});return e}function w(t){return function(e,n,i){for(var r,s,o,a=t.length;a--;)if(r=t[a],r._link)r._link(e,n);else for(o=r.descriptors.length,s=0;o>s;s++)e._bindDir(r.name,n,r.descriptors[s],r.def,i)}}function x(t,e,n){var i=D.parse(e);if(i){for(var r=n.directives.attr,s=i.length,o=!0;s--;){var a=i[s];a.tag&&!a.oneTime&&(o=!1)}return{def:r,_link:o?function(n,i){i.setAttribute(t,n.$interpolate(e))}:function(e,n){var s=D.tokensToExp(i,e),o=T.parse(t+":"+s)[0];e._bindDir("attr",n,o,r)}}}}function k(t,e){return t=t.def.priority||0,e=e.def.priority||0,t>e?1:-1}function C(t){return 1===t.nodeType&&t.hasAttribute(F)?(t.removeAttribute(F),!0):void 0}var A=n(2),E=n(6),D=n(19),T=n(20),S=n(22),N=n(23),P=n(24),O=["repeat","if"];t.exports=i;var j=/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\[[^\[\]]\])*$/,I=/^data-/;g.terminal=!0;var F="__vue__transcluded"},function(t,e,n){function i(t){var e=a.get(t);if(e)return e;var n=document.createDocumentFragment(),i=t.match(l),r=u.test(t);if(i||r){var s=i&&i[1],o=h[s]||h._default,c=o[0],f=o[1],d=o[2],p=document.createElement("div");for(p.innerHTML=f+t.trim()+d;c--;)p=p.lastChild;for(var v;v=p.firstChild;)n.appendChild(v)}else n.appendChild(document.createTextNode(t));return a.put(t,n),n}function r(t){var n=t.tagName;if("TEMPLATE"===n&&t.content instanceof DocumentFragment)return t.content;if("SCRIPT"===n)return i(t.textContent);for(var r,s=e.clone(t),o=document.createDocumentFragment();r=s.firstChild;)o.appendChild(r);return o}var s=n(2),o=n(17),a=new o(1e3),c=new o(1e3),h={_default:[0,"",""],legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]};h.td=h.th=[3,"<table><tbody><tr>","</tr></tbody></table>"],h.option=h.optgroup=[1,'<select multiple="multiple">',"</select>"],h.thead=h.tbody=h.colgroup=h.caption=h.tfoot=[1,"<table>","</table>"],h.g=h.defs=h.symbol=h.use=h.image=h.text=h.circle=h.ellipse=h.line=h.path=h.polygon=h.polyline=h.rect=[1,'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:ev="http://www.w3.org/2001/xml-events"version="1.1">',"</svg>"];var l=/<([\w:]+)/,u=/&\w+;/,f=s.inBrowser?function(){var t=document.createElement("div");return t.innerHTML="<template>1</template>",!t.cloneNode(!0).firstChild.innerHTML}():!1,d=s.inBrowser?function(){var t=document.createElement("textarea");return t.placeholder="t","t"===t.cloneNode(!0).value}():!1;e.clone=function(t){var e,n,i,r=t.cloneNode(!0);if(f&&(n=t.querySelectorAll("template"),n.length))for(i=r.querySelectorAll("template"),e=i.length;e--;)i[e].parentNode.replaceChild(n[e].cloneNode(!0),i[e]);if(d)if("TEXTAREA"===t.tagName)r.value=t.value;else if(n=t.querySelectorAll("textarea"),n.length)for(i=r.querySelectorAll("textarea"),e=i.length;e--;)i[e].value=n[e].value;return r},e.parse=function(t,n,s){var o,a;return t instanceof DocumentFragment?n?t.cloneNode(!0):t:("string"==typeof t?s||"#"!==t.charAt(0)?a=i(t):(a=c.get(t),a||(o=document.getElementById(t.slice(1)),o&&(a=r(o),c.put(t,a)))):t.nodeType&&(a=r(t)),a&&n?e.clone(a):a)}},function(t,e,n){var i=n(2),r=n(10);t.exports={bind:function(){var t=this.vm,e=t.$parent,n=this.arg,s=this.expression,o=!1,a=function(){o=!0,i.nextTick(c)},c=function(){o=!1};this.parentWatcher=new r(e,s,function(e){o||(a(),t.$set(n,e))}),t.$set(n,this.parentWatcher.value),this._descriptor.oneWay||(this.childWatcher=new r(t,n,function(t){o||(a(),e.$set(s,t))}))},unbind:function(){this.parentWatcher&&this.parentWatcher.teardown(),this.childWatcher&&this.childWatcher.teardown()}}},function(t,e,n){var i=n(2),r=n(22);t.exports={isLiteral:!0,bind:function(){this.el.__vue__||(this.anchor=i.createAnchor("v-component"),i.replace(this.el,this.anchor),this.keepAlive=null!=this._checkParam("keep-alive"),this.refID=i.attr(this.el,"ref"),this.keepAlive&&(this.cache={}),null!==this._checkParam("inline-template")&&(this.template=i.extractContent(this.el,!0)),this._pendingCb=this.ctorId=this.Ctor=null,this._isDynamicLiteral?(this.readyEvent=this._checkParam("wait-for"),this.transMode=this._checkParam("transition-mode")):this.resolveCtor(this.expression,i.bind(function(){var t=this.build();t.$before(this.anchor),this.setCurrent(t)},this)))},update:function(t){this.realUpdate(t)},realUpdate:function(t,e){this.invalidatePending(),t?this.resolveCtor(t,i.bind(function(){this.unbuild();var t=this.build(),n=this;this.readyEvent?t.$once(this.readyEvent,function(){n.swapTo(t,e)}):this.swapTo(t,e)},this)):(this.unbuild(),this.remove(this.childVM,e),this.unsetCurrent())},resolveCtor:function(t,e){var n=this,i=this._pendingCb=function(r){i.invalidated||(n.ctorId=t,n.Ctor=r,e())};this.vm._resolveComponent(t,i)},invalidatePending:function(){this._pendingCb&&(this._pendingCb.invalidated=!0,this._pendingCb=null)},build:function(){if(this.keepAlive){var t=this.cache[this.ctorId];if(t)return t}var e=this.vm,n=r.clone(this.el);if(this.Ctor){var i=e.$addChild({el:n,template:this.template,_asComponent:!0,_host:this._host},this.Ctor);return this.keepAlive&&(this.cache[this.ctorId]=i),i}},unbuild:function(){var t=this.childVM;t&&!this.keepAlive&&t.$destroy(!1,!0)},remove:function(t,e){var n=this.keepAlive;t?t.$remove(function(){n||t._cleanup(),e&&e()}):e&&e()},swapTo:function(t,e){var n=this,i=this.childVM;switch(this.unsetCurrent(),this.setCurrent(t),n.transMode){case"in-out":t.$before(n.anchor,function(){n.remove(i,e)});break;case"out-in":n.remove(i,function(){t.$before(n.anchor,e)});break;default:n.remove(i),t.$before(n.anchor,e)}},setCurrent:function(t){this.childVM=t;var e=t._refID||this.refID;e&&(this.vm.$[e]=t)},unsetCurrent:function(){var t=this.childVM;this.childVM=null;var e=t&&t._refID||this.refID;e&&(this.vm.$[e]=null)},unbind:function(){if(this.invalidatePending(),this.unbuild(),this.cache){for(var t in this.cache)this.cache[t].$destroy();this.cache=null}}}},function(t,e,n){function i(t,e){var n=e.template,i=u.parse(n,!0);if(i){var s=e._content||h.extractContent(t),o=i.firstChild;return e.replace?i.childNodes.length>1||1!==o.nodeType||o.hasAttribute(l.prefix+"repeat")?(r(i,s),i):(e._replacerAttrs=a(o),c(t,o),r(o,s),o):(t.appendChild(i),r(t,s),t)}}function r(t,e){function n(t){return t.parentNode===e}var i=s(t),r=i.length;if(r){for(var a,c,l,u,f;r--;)a=i[r],e?(c=a.getAttribute("select"),c?(l=e.querySelectorAll(c),l.length&&(l=[].filter.call(l,n)),a.content=l.length?l:h.toArray(a.childNodes)):f=a):a.content=h.toArray(a.childNodes);for(r=0,u=i.length;u>r;r++)a=i[r],a!==f&&o(a,a.content);
f&&o(f,h.toArray(e.childNodes))}}function s(t){return h.isArray(t)?d.apply([],t.map(s)):t.querySelectorAll?h.toArray(t.querySelectorAll("content")):[]}function o(t,e){for(var n=t.parentNode,i=0,r=e.length;r>i;i++)n.insertBefore(e[i],t);n.removeChild(t)}function a(t){for(var e=t.attributes,n={},i=e.length;i--;)n[e[i].name]=e[i].value;return n}function c(t,e){for(var n,i,r=t.attributes,s=r.length;s--;)n=r[s].name,i=r[s].value,e.hasAttribute(n)?"class"===n&&(e.className=e.className+" "+i):e.setAttribute(n,i)}var h=n(2),l=n(6),u=n(22),f="__vue__transcluded";t.exports=function(t,e){if(e&&e._asComponent){e._containerAttrs=a(t);for(var n=t.childNodes.length;n--;){var r=t.childNodes[n];if(1===r.nodeType)r.setAttribute(f,"");else if(3===r.nodeType&&r.data.trim()){var s=document.createElement("span");s.textContent=r.data,s.setAttribute("__vue__wrap",""),s.setAttribute(f,""),t.replaceChild(s,r)}}}return"TEMPLATE"===t.tagName&&(t=u.parse(t)),e&&e.template&&(t=i(t,e)),t instanceof DocumentFragment&&(h.prepend(h.createAnchor("v-start",!0),t),t.appendChild(h.createAnchor("v-end",!0))),t};var d=[].concat},function(t,e,n){function i(t){return new Function("return function "+s.classify(t)+" (options) { this._init(options) }")()}function r(t){c.forEach(function(e){t[e]=function(t,n){return n?void(this.options[e+"s"][t]=n):this.options[e+"s"][t]}}),t.component=function(t,e){return e?(s.isPlainObject(e)&&(e.name=t,e=s.Vue.extend(e)),void(this.options.components[t]=e)):this.options.components[t]}}var s=n(2),o=n(27);e.util=s,e.nextTick=s.nextTick,e.config=n(6),e.compiler={compile:n(21),transclude:n(25)},e.parsers={path:n(16),text:n(19),template:n(22),directive:n(20),expression:n(15)},e.cid=0;var a=1;e.extend=function(t){t=t||{};var e=this,n=i(t.name||e.options.name||"VueComponent");return n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.cid=a++,n.options=o(e.options,t),n["super"]=e,n.extend=e.extend,r(n),n},e.use=function(t){var e=s.toArray(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):t.apply(null,e),this};var c=["directive","elementDirective","filter","transition"];r(e)},function(t,e,n){function i(t,e){var n,r,o;for(n in e)r=t[n],o=e[n],t.hasOwnProperty(n)?s.isObject(r)&&s.isObject(o)&&i(r,o):t.$add(n,o);return t}function r(t){if(t){var e;for(var n in t)e=t[n],s.isPlainObject(e)&&(e.name=n,t[n]=s.Vue.extend(e))}}var s=n(2),o=s.extend,a=Object.create(null);a.data=function(t,e,n){if(n){var r="function"==typeof e?e.call(n):e,s="function"==typeof t?t.call(n):void 0;return r?i(r,s):s}return e?"function"!=typeof e?t:t?function(){return i(e.call(this),t.call(this))}:e:t},a.el=function(t,e,n){if(n||!e||"function"==typeof e){var i=e||t;return n&&"function"==typeof i?i.call(n):i}},a.created=a.ready=a.attached=a.detached=a.beforeCompile=a.compiled=a.beforeDestroy=a.destroyed=a.props=function(t,e){return e?t?t.concat(e):s.isArray(e)?e:[e]:t},a.directives=a.filters=a.transitions=a.components=a.elementDirectives=function(t,e,n,i){var r=Object.create(n&&n.$parent?n.$parent.$options[i]:s.Vue.options[i]);if(t)for(var a,c=Object.keys(t),h=c.length;h--;)a=c[h],r[a]=t[a];return e&&o(r,e),r},a.watch=a.events=function(t,e){if(!e)return t;if(!t)return e;var n={};o(n,t);for(var i in e){var r=n[i],a=e[i];r&&!s.isArray(r)&&(r=[r]),n[i]=r?r.concat(a):[a]}return n},a.methods=a.computed=function(t,e){if(!e)return t;if(!t)return e;var n=Object.create(t);return o(n,e),n};var c=function(t,e){return void 0===e?t:e};t.exports=function h(t,e,n){function i(i){var r=a[i]||c;o[i]=r(t[i],e[i],n,i)}r(e.components);var s,o={};if(e.mixins)for(var l=0,u=e.mixins.length;u>l;l++)t=h(t,e.mixins[l],n);for(s in t)i(s);for(s in e)t.hasOwnProperty(s)||i(s);return o}},function(t,e,n){e.text=n(29),e.html=n(30),e.attr=n(31),e.show=n(32),e["class"]=n(36),e.el=n(37),e.ref=n(38),e.cloak=n(39),e.style=n(40),e.transition=n(41),e.on=n(42),e.model=n(43),e.repeat=n(48),e["if"]=n(49),e.events=n(50),e._component=n(24),e._prop=n(23)},function(t,e,n){var i=n(2);t.exports={bind:function(){this.attr=3===this.el.nodeType?"nodeValue":"textContent"},update:function(t){this.el[this.attr]=i.toString(t)}}},function(t,e,n){var i=n(2),r=n(22);t.exports={bind:function(){8===this.el.nodeType&&(this.nodes=[],this.anchor=i.createAnchor("v-html"),i.replace(this.el,this.anchor))},update:function(t){t=i.toString(t),this.nodes?this.swap(t):this.el.innerHTML=t},swap:function(t){for(var e=this.nodes.length;e--;)i.remove(this.nodes[e]);var n=r.parse(t,!0,!0);this.nodes=i.toArray(n.childNodes),i.before(n,this.anchor)}}},function(t,e,n){function i(t){t||0===t?this.el.setAttribute(this.arg,t):this.el.removeAttribute(this.arg)}function r(t){null!=t?this.el.setAttributeNS(s,this.arg,t):this.el.removeAttributeNS(s,"href")}var s="http://www.w3.org/1999/xlink",o=/^xlink:/;t.exports={priority:850,bind:function(){var t=this.arg;this.update=o.test(t)?r:i}}},function(t,e,n){var i=n(33);t.exports=function(t){var e=this.el;i.apply(e,t?1:-1,function(){e.style.display=t?"":"none"},this.vm)}},function(t,e,n){var i=n(2),r=n(34),s=n(35),o="undefined"==typeof document?null:document;e.append=function(t,e,n,i){a(t,1,function(){e.appendChild(t)},n,i)},e.before=function(t,e,n,r){a(t,1,function(){i.before(t,e)},n,r)},e.remove=function(t,e,n){a(t,-1,function(){i.remove(t)},e,n)},e.removeThenAppend=function(t,e,n,i){a(t,-1,function(){e.appendChild(t)},n,i)},e.blockAppend=function(t,n,r){for(var s=i.toArray(t.childNodes),o=0,a=s.length;a>o;o++)e.before(s[o],n,r)},e.blockRemove=function(t,n,i){for(var r,s=t.nextSibling;s!==n;)r=s.nextSibling,e.remove(s,i),s=r};var a=e.apply=function(t,e,n,a,c){var h=t.__v_trans;if(!h||!a._isCompiled||a.$parent&&!a.$parent._isCompiled)return n(),void(c&&c());var l=h.fns;l?s(t,e,n,h,l,a,c):!i.transitionEndEvent||o&&o.hidden?(n(),c&&c()):r(t,e,n,h,c)}},function(t,e,n){function i(t,e,n,i,s){p.push({el:t,dir:e,cb:s,cls:i,op:n}),v||(v=!0,a.nextTick(r))}function r(){var t=document.documentElement.offsetHeight;return p.forEach(s),p=[],v=!1,t}function s(t){function e(t,e){i.event=t;var r=i.callback=function(o){o.target===n&&(a.off(n,t,r),i.event=i.callback=null,e&&e(),s&&s())};a.on(n,t,r)}var n=t.el,i=n.__v_trans,r=t.cls,s=t.cb,c=t.op,l=o(n,i,r);if(t.dir>0)l===f?(h(n,r),s&&e(a.transitionEndEvent)):l===d?e(a.animationEndEvent,function(){h(n,r)}):(h(n,r),s&&s());else if(l){var u=l===f?a.transitionEndEvent:a.animationEndEvent;e(u,function(){c(),h(n,r)})}else c(),h(n,r),s&&s()}function o(t,e,n){var i=e.cache&&e.cache[n];if(i)return i;var r=t.style,s=window.getComputedStyle(t),o=r[l]||s[l];if(o&&"0s"!==o)i=f;else{var a=r[u]||s[u];a&&"0s"!==a&&(i=d)}return i&&(e.cache||(e.cache={}),e.cache[n]=i),i}var a=n(2),c=a.addClass,h=a.removeClass,l=a.transitionProp+"Duration",u=a.animationProp+"Duration",f=1,d=2,p=[],v=!1;t.exports=function(t,e,n,r,s){var o=r.id||"v",l=o+"-enter",u=o+"-leave";r.callback&&(a.off(t,r.event,r.callback),h(t,l),h(t,u),r.event=r.callback=null),e>0?(c(t,l),n(),i(t,e,null,l,s)):(c(t,u),i(t,e,n,u,s))}},function(t,e,n){t.exports=function(t,e,n,i,r,s,o){s=t.__vue__||s,i.cancel&&(i.cancel(),i.cancel=null),e>0?(r.beforeEnter&&r.beforeEnter.call(s,t),n(),r.enter?i.cancel=r.enter.call(s,t,function(){i.cancel=null,o&&o()}):o&&o()):r.leave?i.cancel=r.leave.call(s,t,function(){i.cancel=null,n(),o&&o()}):(n(),o&&o())}},function(t,e,n){var i=n(2),r=i.addClass,s=i.removeClass;t.exports=function(t){if(this.arg){var e=t?r:s;e(this.el,this.arg)}else this.lastVal&&s(this.el,this.lastVal),t&&(r(this.el,t),this.lastVal=t)}},function(t,e,n){t.exports={isLiteral:!0,bind:function(){this.vm.$$[this.expression]=this.el},unbind:function(){delete this.vm.$$[this.expression]}}},function(t,e,n){n(2);t.exports={isLiteral:!0,bind:function(){var t=this.el.__vue__;t&&(t._refID=this.expression)}}},function(t,e,n){var i=n(6);t.exports={bind:function(){var t=this.el;this.vm.$once("hook:compiled",function(){t.removeAttribute(i.prefix+"cloak")})}}},function(t,e,n){function i(t){if(u[t])return u[t];var e=r(t);return u[t]=u[e]=e,e}function r(t){t=t.replace(h,"$1-$2").toLowerCase();var e=s.camelize(t),n=e.charAt(0).toUpperCase()+e.slice(1);if(l||(l=document.createElement("div")),e in l.style)return t;for(var i,r=o.length;r--;)if(i=a[r]+n,i in l.style)return o[r]+t}var s=n(2),o=["-webkit-","-moz-","-ms-"],a=["Webkit","Moz","ms"],c=/!important;?$/,h=/([a-z])([A-Z])/g,l=null,u={};t.exports={deep:!0,update:function(t){if(this.arg)this.setProp(this.arg,t);else if("object"==typeof t){this.cache||(this.cache={});for(var e in t)this.setProp(e,t[e]),t[e]!=this.cache[e]&&(this.cache[e]=t[e],this.setProp(e,t[e]))}else this.el.style.cssText=t},setProp:function(t,e){if(t=i(t))if(null!=e&&(e+=""),e){var n=c.test(e)?"important":"";n&&(e=e.replace(c,"").trim()),this.el.style.setProperty(t,e,n)}else this.el.style.removeProperty(t)}}},function(t,e,n){var i=n(2);t.exports={priority:1e3,isLiteral:!0,bind:function(){this._isDynamicLiteral||this.update(this.expression)},update:function(t,e){var n=this.el.__vue__||this.vm;this.el.__v_trans={id:t,fns:n.$options.transitions[t]},e&&i.removeClass(this.el,e+"-transition"),i.addClass(this.el,(t||"v")+"-transition")}}},function(t,e,n){var i=n(2);t.exports={acceptStatement:!0,priority:700,bind:function(){if("IFRAME"===this.el.tagName&&"load"!==this.arg){var t=this;this.iframeBind=function(){i.on(t.el.contentWindow,t.arg,t.handler)},i.on(this.el,"load",this.iframeBind)}},update:function(t){if("function"==typeof t){this.reset();var e=this.vm;this.handler=function(n){n.targetVM=e,e.$event=n;var i=t(n);return e.$event=null,i},this.iframeBind?this.iframeBind():i.on(this.el,this.arg,this.handler)}},reset:function(){var t=this.iframeBind?this.el.contentWindow:this.el;this.handler&&i.off(t,this.arg,this.handler)},unbind:function(){this.reset(),i.off(this.el,"load",this.iframeBind)}}},function(t,e,n){var i=(n(2),{text:n(44),radio:n(45),select:n(46),checkbox:n(47)});t.exports={priority:800,twoWay:!0,handlers:i,bind:function(){var t=this.filters;t&&t.read&&!t.write;var e,n=this.el,r=n.tagName;if("INPUT"===r)e=i[n.type]||i.text;else if("SELECT"===r)e=i.select;else{if("TEXTAREA"!==r)return;e=i.text}e.bind.call(this),this.update=e.update,this.unbind=e.unbind}}},function(t,e,n){var i=n(2);t.exports={bind:function(){function t(){var t=s?i.toNumber(n.value):n.value;e.set(t)}var e=this,n=this.el,r=null!=this._checkParam("lazy"),s=null!=this._checkParam("number"),o=parseInt(this._checkParam("debounce"),10),a=!1;i.isAndroid||(this.onComposeStart=function(){a=!0},this.onComposeEnd=function(){a=!1,e.listener()},i.on(n,"compositionstart",this.onComposeStart),i.on(n,"compositionend",this.onComposeEnd)),this.filters&&this.filters.read||"range"===n.type?this.listener=function(){if(!a){var r;try{r=n.value.length-n.selectionStart}catch(s){}0>r||(t(),i.nextTick(function(){var t=e._watcher.value;if(e.update(t),null!=r){var s=i.toString(t).length-r;n.setSelectionRange(s,s)}}))}}:this.listener=function(){a||t()},o&&(this.listener=i.debounce(this.listener,o)),this.event=r?"change":"input",this.hasjQuery="function"==typeof jQuery,this.hasjQuery?jQuery(n).on(this.event,this.listener):i.on(n,this.event,this.listener),!r&&i.isIE9&&(this.onCut=function(){i.nextTick(e.listener)},this.onDel=function(t){(46===t.keyCode||8===t.keyCode)&&e.listener()},i.on(n,"cut",this.onCut),i.on(n,"keyup",this.onDel)),(n.hasAttribute("value")||"TEXTAREA"===n.tagName&&n.value.trim())&&(this._initValue=s?i.toNumber(n.value):n.value)},update:function(t){this.el.value=i.toString(t)},unbind:function(){var t=this.el;this.hasjQuery?jQuery(t).off(this.event,this.listener):i.off(t,this.event,this.listener),this.onComposeStart&&(i.off(t,"compositionstart",this.onComposeStart),i.off(t,"compositionend",this.onComposeEnd)),this.onCut&&(i.off(t,"cut",this.onCut),i.off(t,"keyup",this.onDel))}}},function(t,e,n){var i=n(2);t.exports={bind:function(){var t=this,e=this.el;this.listener=function(){t.set(e.value)},i.on(e,"change",this.listener),e.checked&&(this._initValue=e.value)},update:function(t){this.el.checked=t==this.el.value},unbind:function(){i.off(this.el,"change",this.listener)}}},function(t,e,n){function i(t){function e(t){l.isArray(t)&&(n.el.innerHTML="",r(n.el,t),n._watcher&&n.update(n._watcher.value))}var n=this,i=f.parse(t)[0];this.optionWatcher=new u(this.vm,i.expression,e,{deep:!0,filters:l.resolveFilters(this.vm,i.filters)}),e(this.optionWatcher.value)}function r(t,e){for(var n,i,s=0,o=e.length;o>s;s++)n=e[s],n.options?(i=document.createElement("optgroup"),i.label=n.label,r(i,n.options)):(i=document.createElement("option"),"string"==typeof n?i.text=i.value=n:(null!=n.value&&(i.value=n.value),i.text=n.text||n.value||"",n.disabled&&(i.disabled=!0))),t.appendChild(i)}function s(){for(var t,e=this.el.options,n=0,i=e.length;i>n;n++)e[n].hasAttribute("selected")&&(this.multiple?(t||(t=[])).push(e[n].value):t=e[n].value);"undefined"!=typeof t&&(this._initValue=this.number?l.toNumber(t):t)}function o(t){return Array.prototype.filter.call(t.options,a).map(c)}function a(t){return t.selected}function c(t){return t.value||t.text}function h(t,e){for(var n=t.length;n--;)if(t[n]==e)return n;return-1}var l=n(2),u=n(10),f=n(20);t.exports={bind:function(){var t=this,e=this.el,n=this._checkParam("options");n&&i.call(this,n),this.number=null!=this._checkParam("number"),this.multiple=e.hasAttribute("multiple"),this.listener=function(){var n=t.multiple?o(e):e.value;n=t.number?l.isArray(n)?n.map(l.toNumber):l.toNumber(n):n,t.set(n)},l.on(e,"change",this.listener),s.call(this)},update:function(t){var e=this.el;e.selectedIndex=-1;for(var n,i=this.multiple&&l.isArray(t),r=e.options,s=r.length;s--;)n=r[s],n.selected=i?h(t,n.value)>-1:t==n.value},unbind:function(){l.off(this.el,"change",this.listener),this.optionWatcher&&this.optionWatcher.teardown()}}},function(t,e,n){var i=n(2);t.exports={bind:function(){var t=this,e=this.el;this.listener=function(){t.set(e.checked)},i.on(e,"change",this.listener),e.checked&&(this._initValue=e.checked)},update:function(t){this.el.checked=!!t},unbind:function(){i.off(this.el,"change",this.listener)}}},function(t,e,n){function i(t,e){for(var n=(t._blockEnd||t.$el).nextSibling;!n.__vue__&&n!==e;)n=n.nextSibling;return n.__vue__}function r(t){if(this.rawValue=t,!c(t))return t;for(var e,n=Object.keys(t),i=n.length,r=new Array(i);i--;)e=n[i],r[i]={$key:e,$value:t[e]};return this.converted=!0,r}function s(t){for(var e=-1,n=new Array(t);++e<t;)n[e]=e;return n}var o=n(2),a=o.isObject,c=o.isPlainObject,h=n(19),l=n(15),u=n(22),f=n(21),d=n(25),p=n(27),v=0,m=0,_=1,g=2,b=3;t.exports={bind:function(){this.id="__v_repeat_"+ ++v,this.filters||(this.filters={});var t=o.bind(r,this);this.filters.read?this.filters.read.unshift(t):this.filters.read=[t],this.anchor=o.createAnchor("v-repeat"),o.replace(this.el,this.anchor),this.template="TEMPLATE"===this.el.tagName?u.parse(this.el,!0):this.el,this.checkIf(),this.checkRef(),this.checkComponent(),this.idKey=this._checkParam("track-by")||this._checkParam("trackby"),this.cache=Object.create(null)},checkIf:function(){null!==o.attr(this.el,"if")},checkRef:function(){var t=o.attr(this.el,"ref");this.refID=t?this.vm.$interpolate(t):null;var e=o.attr(this.el,"el");this.elId=e?this.vm.$interpolate(e):null},checkComponent:function(){this.componentState=m;var t=this.vm.$options,e=o.checkComponent(this.el,t);if(e){this.Ctor=null,this.asComponent=!0,null!==this._checkParam("inline-template")&&(this.inlineTempalte=o.extractContent(this.el,!0));var n=h.parse(e);if(n){var i=h.tokensToExp(n);this.ctorGetter=l.parse(i).get}else this.componentId=e,this.pendingData=null}else{this.Ctor=o.Vue,this.inherit=!0,this.template=d(this.template);var r=o.extend({},t);r._asComponent=!1,this._linkFn=f(this.template,r)}},resolveComponent:function(){this.componentState=_,this.vm._resolveComponent(this.componentId,o.bind(function(t){if(this.componentState!==b){this.Ctor=t;var e=p(t.options,{},{$parent:this.vm});e.template=this.inlineTempalte||e.template,e._asComponent=!0,e._parent=this.vm,this.template=d(this.template,e),this.template.__vue__=!0,this._linkFn=f(this.template,e),this.componentState=g,this.realUpdate(this.pendingData),this.pendingData=null}},this))},resolveDynamicComponent:function(t,e){var n,i=Object.create(this.vm);for(n in t)o.define(i,n,t[n]);for(n in e)o.define(i,n,e[n]);var r=this.ctorGetter.call(i,i),s=this.vm.$options.components[r];return s.options?s:o.Vue},update:function(t){if(this.componentId){var e=this.componentState;e===m?(this.pendingData=t,this.resolveComponent()):e===_?this.pendingData=t:e===g&&this.realUpdate(t)}else this.realUpdate(t)},realUpdate:function(t){t=t||[];var e=typeof t;"number"===e?t=s(t):"string"===e&&(t=o.toArray(t)),this.vms=this.diff(t,this.vms),this.refID&&(this.vm.$[this.refID]=this.vms),this.elId&&(this.vm.$$[this.elId]=this.vms.map(function(t){return t.$el}))},diff:function(t,e){var n,r,s,a,c,h=this.idKey,l=this.converted,u=this.anchor,f=this.arg,d=!e,p=new Array(t.length);for(a=0,c=t.length;c>a;a++)n=t[a],r=l?n.$value:n,s=!d&&this.getVm(r,l?n.$key:null),s?(s._reused=!0,s.$index=a,(h||l)&&(f?s[f]=r:o.isPlainObject(r)?s.$data=r:s.$value=r)):(s=this.build(n,a,!0),s._new=!d,s._reused=!1),p[a]=s,d&&s.$before(u);if(d)return p;for(a=0,c=e.length;c>a;a++)s=e[a],s._reused||(this.uncacheVm(s),s.$destroy(!0));var v,m;for(a=p.length;a--;){if(s=p[a],v=p[a+1]){var _=v.$el;s._reused?(m=i(s,u),m!==v&&s.$before(_,null,!1)):s.$before(_)}else s._reused||s.$before(u);s._new=!1,s._reused=!1}return p},build:function(t,e,n){var i={$index:e};this.converted&&(i.$key=t.$key);var r=this.converted?t.$value:t,s=this.arg;s?(t={},t[s]=r):c(r)?t=r:(t={},i.$value=r);var o=this.Ctor||this.resolveDynamicComponent(t,i),a=this.vm.$addChild({el:u.clone(this.template),_asComponent:this.asComponent,_host:this._host,_linkFn:this._linkFn,_meta:i,data:t,inherit:this.inherit,template:this.inlineTempalte},o);a._repeat=!0,n&&this.cacheVm(r,a,this.converted?i.$key:null);var h=typeof r;if("string"===h||"number"===h){var l=this;a.$watch(s||"$value",function(t){l._withLock(function(){l.converted?l.rawValue[a.$key]=t:l.rawValue.$set(a.$index,t)})})}return a},unbind:function(){if(this.componentState=b,this.refID&&(this.vm.$[this.refID]=null),this.vms)for(var t,e=this.vms.length;e--;)t=this.vms[e],this.uncacheVm(t),t.$destroy()},cacheVm:function(t,e,n){var i,r=this.idKey,s=this.cache;n||r?(i=r?t[r]:n,s[i]||(s[i]=e)):a(t)?(i=this.id,t.hasOwnProperty(i)?null===t[i]&&(t[i]=e):o.define(t,i,e)):s[t]?s[t].push(e):s[t]=[e],e._raw=t},getVm:function(t,e){var n=this.idKey;if(e||n){var i=n?t[n]:e;return this.cache[i]}if(a(t))return t[this.id];var r=this.cache[t];if(r){for(var s=0,o=r[s];o&&(o._reused||o._new);)o=r[++s];return o}},uncacheVm:function(t){var e=t._raw,n=this.idKey;if(n||this.converted){var i=n?e[n]:t.$key;this.cache[i]=null}else a(e)?(e[this.id]=null,t._raw=null):this.cache[e].pop()}}},function(t,e,n){function i(t){t._isAttached||t._callHook("attached")}function r(t){t._isAttached&&t._callHook("detached")}var s=n(2),o=n(21),a=n(22),c=n(33);t.exports={bind:function(){var t=this.el;t.__vue__?this.invalid=!0:(this.start=s.createAnchor("v-if-start"),this.end=s.createAnchor("v-if-end"),s.replace(t,this.end),s.before(this.start,this.end),"TEMPLATE"===t.tagName?this.template=a.parse(t,!0):(this.template=document.createDocumentFragment(),this.template.appendChild(a.clone(t))),this.linker=o(this.template,this.vm.$options,!0))},update:function(t){this.invalid||(t?this.unlink||this.compile():this.teardown())},compile:function(){var t=this.vm,e=a.clone(this.template);if(this.unlink=this.linker(t,e),c.blockAppend(e,this.end,t),s.inDoc(t.$el)){var n=this.getContainedComponents();n&&n.forEach(i)}},teardown:function(){if(this.unlink){var t;s.inDoc(this.vm.$el)&&(t=this.getContainedComponents()),c.blockRemove(this.start,this.end,this.vm),t&&t.forEach(r),this.unlink(),this.unlink=null}},getContainedComponents:function(){function t(t){for(var e,r=n;e!==i;){if(e=r.nextSibling,r.contains(t.$el))return!0;r=e}return!1}var e=this.vm,n=this.start.nextSibling,i=this.end,r=e._children.length&&e._children.filter(t),s=e._transCpnts&&e._transCpnts.filter(t);return r?s?r.concat(s):r:s},unbind:function(){this.unlink&&this.unlink()}}},function(t,e,n){n(2);t.exports={acceptStatement:!0,bind:function(){var t=this.el.__vue__;!t||this.vm!==t.$parent},update:function(t,e){if("function"==typeof t){var n=this.el.__vue__;e&&n.$off(this.arg,e),n.$on(this.arg,t)}}}},function(t,e,n){var i=n(2);e.json={read:function(t,e){return"string"==typeof t?t:JSON.stringify(t,null,Number(e)||2)},write:function(t){try{return JSON.parse(t)}catch(e){return t}}},e.capitalize=function(t){return t||0===t?(t=t.toString(),t.charAt(0).toUpperCase()+t.slice(1)):""},e.uppercase=function(t){return t||0===t?t.toString().toUpperCase():""},e.lowercase=function(t){return t||0===t?t.toString().toLowerCase():""};var r=/(\d{3})(?=\d)/g;e.currency=function(t,e){if(t=parseFloat(t),!isFinite(t)||!t&&0!==t)return"";e=e||"$";var n=Math.floor(Math.abs(t)).toString(),i=n.length%3,s=i>0?n.slice(0,i)+(n.length>3?",":""):"",o=Math.abs(parseInt(100*t%100,10)),a="."+(10>o?"0"+o:o);return(0>t?"-":"")+e+s+n.slice(i).replace(r,"$1,")+a},e.pluralize=function(t){var e=i.toArray(arguments,1);return e.length>1?e[t%10-1]||e[e.length-1]:e[0]+(1===t?"":"s")};var s={enter:13,tab:9,"delete":46,up:38,left:37,right:39,down:40,esc:27};e.key=function(t,e){if(t){var n=s[e];return n||(n=parseInt(e,10)),function(e){return e.keyCode===n?t.call(this,e):void 0}}},e.key.keyCodes=s,i.extend(e,n(52))},function(t,e,n){function i(t,e){if(r.isPlainObject(t)){for(var n in t)if(i(t[n],e))return!0}else if(r.isArray(t)){for(var s=t.length;s--;)if(i(t[s],e))return!0}else if(null!=t)return t.toString().toLowerCase().indexOf(e)>-1}var r=n(2),s=n(16);e.filterBy=function(t,e,n,r){return n&&"in"!==n&&(r=n),e?(e=(""+e).toLowerCase(),t.filter(function(t){return r?i(s.get(t,r),e):i(t,e)})):t},e.orderBy=function(t,e,n){if(!e)return t;var i=1;return arguments.length>2&&(i="-1"===n?-1:n?-1:1),t.slice().sort(function(t,n){return"$key"!==e&&"$value"!==e&&(t&&"$value"in t&&(t=t.$value),n&&"$value"in n&&(n=n.$value)),t=r.isObject(t)?s.get(t,e):t,n=r.isObject(n)?s.get(n,e):n,t===n?0:t>n?i:-i})}},function(t,e,n){var i=n(27);e._init=function(t){t=t||{},this.$el=null,this.$parent=t._parent,this.$root=t._root||this,this.$={},this.$$={},this._watcherList=[],this._watchers={},this._userWatchers={},this._directives=[],this._isVue=!0,this._events={},this._eventsCount={},this._eventCancelled=!1,this._isBlock=!1,this._blockStart=this._blockEnd=null,this._isCompiled=this._isDestroyed=this._isReady=this._isAttached=this._isBeingDestroyed=!1,this._unlinkFn=null,this._children=[],this._childCtors={},this._transCpnts=[],this._host=t._host,this.$parent&&this.$parent._children.push(this),this._host&&this._host._transCpnts.push(this),this._new=!0,this._reused=!1,t=this.$options=i(this.constructor.options,t,this),this._data=t.data||{},this._initScope(),this._initEvents(),this._callHook("created"),t.el&&this.$mount(t.el)}},function(t,e,n){function i(t,e,n){if(n){var i,s,o,a;for(s in n)if(i=n[s],h.isArray(i))for(o=0,a=i.length;a>o;o++)r(t,e,s,i[o]);else r(t,e,s,i)}}function r(t,e,n,i){var r=typeof i;if("function"===r)t[e](n,i);else if("string"===r){var s=t.$options.methods,o=s&&s[i];o&&t[e](n,o)}}function s(){this._isAttached=!0,this._children.forEach(o),this._transCpnts.length&&this._transCpnts.forEach(o)}function o(t){!t._isAttached&&l(t.$el)&&t._callHook("attached")}function a(){this._isAttached=!1,this._children.forEach(c),this._transCpnts.length&&this._transCpnts.forEach(c)}function c(t){t._isAttached&&!l(t.$el)&&t._callHook("detached")}var h=n(2),l=h.inDoc;e._initEvents=function(){var t=this.$options;i(this,"$on",t.events),i(this,"$watch",t.watch)},e._initDOMHooks=function(){this.$on("hook:attached",s),this.$on("hook:detached",a)},e._callHook=function(t){var e=this.$options[t];if(e)for(var n=0,i=e.length;i>n;n++)e[n].call(this);this.$emit("hook:"+t)}},function(t,e,n){function i(){}var r=n(2),s=n(11),o=n(12);e._initScope=function(){this._initData(),this._initComputed(),this._initMethods(),this._initMeta()},e._initData=function(){var t,e,n=this._data,i=this.$options.props;if(i)for(t=i.length;t--;)e=r.camelize(i[t]),e in n||(n[e]=null);var o=Object.keys(n);for(t=o.length;t--;)e=o[t],r.isReserved(e)||this._proxy(e);s.create(n).addVm(this)},e._setData=function(t){t=t||{};var e=this._data;this._data=t;var n,i,o;for(n=Object.keys(e),o=n.length;o--;)i=n[o],r.isReserved(i)||i in t||this._unproxy(i);for(n=Object.keys(t),o=n.length;o--;)i=n[o],this.hasOwnProperty(i)||r.isReserved(i)||this._proxy(i);e.__ob__.removeVm(this),s.create(t).addVm(this),this._digest()},e._proxy=function(t){var e=this;Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return e._data[t]},set:function(n){e._data[t]=n}})},e._unproxy=function(t){delete this[t]},e._digest=function(){for(var t=this._watcherList.length;t--;)this._watcherList[t].update();var e=this._children;for(t=e.length;t--;){var n=e[t];n.$options.inherit&&n._digest()}},e._initComputed=function(){var t=this.$options.computed;if(t)for(var e in t){var n=t[e],s={enumerable:!0,configurable:!0};"function"==typeof n?(s.get=r.bind(n,this),s.set=i):(s.get=n.get?r.bind(n.get,this):i,s.set=n.set?r.bind(n.set,this):i),Object.defineProperty(this,e,s)}},e._initMethods=function(){var t=this.$options.methods;if(t)for(var e in t)this[e]=r.bind(t[e],this)},e._initMeta=function(){var t=this.$options._meta;if(t)for(var e in t)this._defineMeta(e,t[e])},e._defineMeta=function(t,e){var n=new o;Object.defineProperty(this,t,{enumerable:!0,configurable:!0,get:function(){return s.target&&s.target.addDep(n),e},set:function(t){t!==e&&(e=t,n.notify())}})}},function(t,e,n){var i=n(2);e._applyFilter=function(t,e){var n=this.$options.filters,i=n[t];return(i.read||i).apply(this,e)},e._resolveComponent=function(t,e){var n=this.$options.components,r=n[t];if(r.options)e(r);else if(r.resolved)e(r.resolved);else if(r.requested)r.pendingCallbacks.push(e);else{r.requested=!0;var s=r.pendingCallbacks=[e];r(function(t){i.isPlainObject(t)&&(t=i.Vue.extend(t)),r.resolved=t;for(var e=0,n=s.length;n>e;e++)s[e](t)})}}},function(t,e,n){var i=n(2),r=n(10),s=n(16),o=n(19),a=n(20),c=n(15),h=/[^|]\|[^|]/;e.$get=function(t){var e=c.parse(t);return e?e.get.call(this,this):void 0},e.$set=function(t,e){var n=c.parse(t,!0);n&&n.set&&n.set.call(this,this,e)},e.$add=function(t,e){this._data.$add(t,e)},e.$delete=function(t){this._data.$delete(t)},e.$watch=function(t,e,n,i){var s=this,o=n?t+"**deep**":t,a=s._userWatchers[o],c=function(t,n){e.call(s,t,n)};return a?a.addCb(c):a=s._userWatchers[o]=new r(s,t,c,{deep:n,user:!0}),i&&c(a.value),function(){a.removeCb(c),a.active||(s._userWatchers[o]=null)}},e.$eval=function(t){if(h.test(t)){var e=a.parse(t)[0];return e.filters?i.applyFilters(this.$get(e.expression),i.resolveFilters(this,e.filters).read,this):this.$get(e.expression)}return this.$get(t)},e.$interpolate=function(t){var e=o.parse(t),n=this;return e?1===e.length?n.$eval(e[0].value):e.map(function(t){return t.tag?n.$eval(t.value):t.value}).join(""):t},e.$log=function(t){var e=t?s.get(this._data,t):this._data;e&&(e=JSON.parse(JSON.stringify(e))),console.log(e)}},function(t,e,n){function i(t,e,n,i,o,a){e=s(e);var c=!h.inDoc(e),l=i===!1||c?o:a,u=!c&&!t._isAttached&&!h.inDoc(t.$el);return t._isBlock?r(t,e,l,n):l(t.$el,e,t,n),u&&t._callHook("attached"),t}function r(t,e,n,i){for(var r,s=t._blockStart,o=t._blockEnd;r!==o;)r=s.nextSibling,n(s,e,t),s=r;n(o,e,t,i)}function s(t){return"string"==typeof t?document.querySelector(t):t}function o(t,e,n,i){e.appendChild(t),i&&i()}function a(t,e,n,i){h.before(t,e),i&&i()}function c(t,e,n){h.remove(t),n&&n()}var h=n(2),l=n(33);e.$appendTo=function(t,e,n){return i(this,t,e,n,o,l.append)},e.$prependTo=function(t,e,n){return t=s(t),t.hasChildNodes()?this.$before(t.firstChild,e,n):this.$appendTo(t,e,n),this},e.$before=function(t,e,n){return i(this,t,e,n,a,l.before)},e.$after=function(t,e,n){return t=s(t),t.nextSibling?this.$before(t.nextSibling,e,n):this.$appendTo(t.parentNode,e,n),this},e.$remove=function(t,e){var n=this._isAttached&&h.inDoc(this.$el);n||(e=!1);var i,s=this,a=function(){n&&s._callHook("detached"),t&&t()};return this._isBlock&&!this._blockFragment.hasChildNodes()?(i=e===!1?o:l.removeThenAppend,r(this,this._blockFragment,i,a)):(i=e===!1?c:l.remove)(this.$el,this,a),this}},function(t,e,n){function i(t,e,n){var i=t.$parent;if(i&&n&&!s.test(e))for(;i;)i._eventsCount[e]=(i._eventsCount[e]||0)+n,i=i.$parent}var r=n(2);e.$on=function(t,e){return(this._events[t]||(this._events[t]=[])).push(e),i(this,t,1),this},e.$once=function(t,e){function n(){i.$off(t,n),e.apply(this,arguments)}var i=this;return n.fn=e,this.$on(t,n),this},e.$off=function(t,e){var n;if(!arguments.length){if(this.$parent)for(t in this._events)n=this._events[t],n&&i(this,t,-n.length);return this._events={},this}if(n=this._events[t],!n)return this;if(1===arguments.length)return i(this,t,-n.length),this._events[t]=null,this;for(var r,s=n.length;s--;)if(r=n[s],r===e||r.fn===e){i(this,t,-1),n.splice(s,1);break}return this},e.$emit=function(t){this._eventCancelled=!1;var e=this._events[t];if(e){for(var n=arguments.length-1,i=new Array(n);n--;)i[n]=arguments[n+1];n=0,e=e.length>1?r.toArray(e):e;for(var s=e.length;s>n;n++)e[n].apply(this,i)===!1&&(this._eventCancelled=!0)}return this},e.$broadcast=function(t){if(this._eventsCount[t]){for(var e=this._children,n=0,i=e.length;i>n;n++){var r=e[n];r.$emit.apply(r,arguments),r._eventCancelled||r.$broadcast.apply(r,arguments)}return this}},e.$dispatch=function(){for(var t=this.$parent;t;)t.$emit.apply(t,arguments),t=t._eventCancelled?null:t.$parent;return this};var s=/^hook:/},function(t,e,n){var i=n(2);e.$addChild=function(t,e){e=e||i.Vue,t=t||{};var n,r=this,s=void 0!==t.inherit?t.inherit:e.options.inherit;if(s){var o=r._childCtors;if(n=o[e.cid],!n){var a=e.options.name,c=a?i.classify(a):"VueComponent";n=new Function("return function "+c+" (options) {this.constructor = "+c+";this._init(options) }")(),n.options=e.options,n.prototype=this,o[e.cid]=n}}else n=e;t._parent=r,t._root=r.$root;var h=new n(t);return h}},function(t,e,n){function i(){this._isAttached=!0,this._isReady=!0,this._callHook("ready")}var r=n(2),s=n(21);e.$mount=function(t){if(!this._isCompiled){if(t){if("string"==typeof t){if(t=document.querySelector(t),!t)return}}else t=document.createElement("div");return this._compile(t),this._isCompiled=!0,this._callHook("compiled"),r.inDoc(this.$el)?(this._callHook("attached"),this._initDOMHooks(),i.call(this)):(this._initDOMHooks(),this.$once("hook:attached",i)),this}},e.$destroy=function(t,e){this._destroy(t,e)},e.$compile=function(t){return s(t,this.$options,!0)(this,t)}}])});
{
"name": "vue",
"version": "0.12.0-beta3",
"version": "0.12.0-beta4",
"author": "Evan You <yyx990803@gmail.com>",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -54,4 +54,7 @@ var _ = require('../util')

if (el instanceof DocumentFragment) {
_.prepend(document.createComment('v-start'), el)
el.appendChild(document.createComment('v-end'))
// anchors for block instance
// passing in `persist: true` to avoid them being
// discarded by IE during template cloning
_.prepend(_.createAnchor('v-start', true), el)
el.appendChild(_.createAnchor('v-end', true))
}

@@ -58,0 +61,0 @@ return el

@@ -21,4 +21,4 @@ var _ = require('../util')

// create a ref anchor
this.ref = document.createComment('v-component')
_.replace(this.el, this.ref)
this.anchor = _.createAnchor('v-component')
_.replace(this.el, this.anchor)
// check keep-alive options.

@@ -48,3 +48,3 @@ // If yes, instead of destroying the active vm when

var child = this.build()
child.$before(this.ref)
child.$before(this.anchor)
this.setCurrent(child)

@@ -219,3 +219,3 @@ }, this))

case 'in-out':
target.$before(self.ref, function () {
target.$before(self.anchor, function () {
self.remove(current, cb)

@@ -226,3 +226,3 @@ })

self.remove(current, function () {
target.$before(self.ref, cb)
target.$before(self.anchor, cb)
})

@@ -232,3 +232,3 @@ break

self.remove(current)
target.$before(self.ref, cb)
target.$before(self.anchor, cb)
}

@@ -235,0 +235,0 @@ },

@@ -12,2 +12,5 @@ var _ = require('../util')

this.nodes = []
// replace the placeholder with proper anchor
this.anchor = _.createAnchor('v-html')
_.replace(this.el, this.anchor)
}

@@ -36,5 +39,5 @@ },

this.nodes = _.toArray(frag.childNodes)
_.before(frag, this.el)
_.before(frag, this.anchor)
}
}

@@ -11,4 +11,4 @@ var _ = require('../util')

if (!el.__vue__) {
this.start = document.createComment('v-if-start')
this.end = document.createComment('v-if-end')
this.start = _.createAnchor('v-if-start')
this.end = _.createAnchor('v-if-end')
_.replace(el, this.end)

@@ -15,0 +15,0 @@ _.before(this.start, this.end)

var _ = require('../../util')
var handlers = {
_default: require('./default'),
text: require('./text'),
radio: require('./radio'),

@@ -42,7 +42,7 @@ select: require('./select'),

if (tag === 'INPUT') {
handler = handlers[el.type] || handlers._default
handler = handlers[el.type] || handlers.text
} else if (tag === 'SELECT') {
handler = handlers.select
} else if (tag === 'TEXTAREA') {
handler = handlers._default
handler = handlers.text
} else {

@@ -49,0 +49,0 @@ _.warn('v-model does not support element type: ' + tag)

@@ -108,4 +108,10 @@ var _ = require('../../util')

} else {
el.text = op.text
el.value = op.value
/* jshint eqeqeq: false */
if (op.value != null) {
el.value = op.value
}
el.text = op.text || op.value || ''
if (op.disabled) {
el.disabled = true
}
}

@@ -112,0 +118,0 @@ } else {

@@ -40,5 +40,5 @@ var _ = require('../util')

}
// setup ref node
this.ref = document.createComment('v-repeat')
_.replace(this.el, this.ref)
// setup anchor node
this.anchor = _.createAnchor('v-repeat')
_.replace(this.el, this.anchor)
// check if this is a block repeat

@@ -262,3 +262,3 @@ this.template = this.el.tagName === 'TEMPLATE'

var converted = this.converted
var ref = this.ref
var anchor = this.anchor
var alias = this.arg

@@ -302,3 +302,3 @@ var init = !oldVms

if (init) {
vm.$before(ref)
vm.$before(anchor)
}

@@ -336,3 +336,3 @@ }

if (!vm._reused) {
vm.$before(ref)
vm.$before(anchor)
}

@@ -343,3 +343,3 @@ } else {

// this is the vm we are actually in front of
currentNext = findNextVm(vm, ref)
currentNext = findNextVm(vm, anchor)
// we only need to move if we are not in the right

@@ -552,9 +552,9 @@ // place already.

* @param {Vue} vm
* @param {CommentNode} ref
* @param {Comment|Text} anchor
* @return {Vue}
*/
function findNextVm (vm, ref) {
function findNextVm (vm, anchor) {
var el = (vm._blockEnd || vm.$el).nextSibling
while (!el.__vue__ && el !== ref) {
while (!el.__vue__ && el !== anchor) {
el = el.nextSibling

@@ -561,0 +561,0 @@ }

@@ -0,1 +1,3 @@

var _ = require('../util')
module.exports = {

@@ -12,3 +14,3 @@

update: function (id) {
update: function (id, oldId) {
var vm = this.el.__vue__ || this.vm

@@ -23,4 +25,8 @@ this.el.__v_trans = {

}
if (oldId) {
_.removeClass(this.el, oldId + '-transition')
}
_.addClass(this.el, (id || 'v') + '-transition')
}
}

@@ -12,3 +12,3 @@ var _ = require('../util')

exports.filterBy = function (arr, searchKey, delimiter, dataKey) {
exports.filterBy = function (arr, search, delimiter, dataKey) {
// allow optional `in` delimiter

@@ -19,14 +19,7 @@ // because why not

}
// get the search string
var search =
_.stripQuotes(searchKey) ||
this.$get(searchKey)
if (!search) {
return arr
}
// cast to lowercase string
search = ('' + search).toLowerCase()
// get the optional dataKey
dataKey =
dataKey &&
(_.stripQuotes(dataKey) || this.$get(dataKey))
return arr.filter(function (item) {

@@ -43,21 +36,15 @@ return dataKey

* @param {String} sortKey
* @param {String} reverseKey
* @param {String} reverse
*/
exports.orderBy = function (arr, sortKey, reverseKey) {
var key =
_.stripQuotes(sortKey) ||
this.$get(sortKey)
if (!key) {
exports.orderBy = function (arr, sortKey, reverse) {
if (!sortKey) {
return arr
}
var order = 1
if (reverseKey) {
if (reverseKey === '-1') {
if (arguments.length > 2) {
if (reverse === '-1') {
order = -1
} else if (reverseKey.charCodeAt(0) === 0x21) { // !
reverseKey = reverseKey.slice(1)
order = this.$get(reverseKey) ? 1 : -1
} else {
order = this.$get(reverseKey) ? -1 : 1
order = reverse ? -1 : 1
}

@@ -67,8 +54,8 @@ }

return arr.slice().sort(function (a, b) {
if (key !== '$key' && key !== '$value') {
if (sortKey !== '$key' && sortKey !== '$value') {
if (a && '$value' in a) a = a.$value
if (b && '$value' in b) b = b.$value
}
a = _.isObject(a) ? Path.get(a, key) : a
b = _.isObject(b) ? Path.get(b, key) : b
a = _.isObject(a) ? Path.get(a, sortKey) : a
b = _.isObject(b) ? Path.get(b, sortKey) : b
return a === b ? 0 : a > b ? order : -order

@@ -75,0 +62,0 @@ })

@@ -54,2 +54,6 @@ var _ = require('../util')

this._blockEnd = el.lastChild
// set persisted text anchors to empty
if (this._blockStart.nodeType === 3) {
this._blockStart.data = this._blockEnd.data = ''
}
this._blockFragment = el

@@ -56,0 +60,0 @@ } else {

@@ -6,2 +6,3 @@ var _ = require('../util')

var filterTokenRE = /[^\s'"]+|'[^']+'|"[^"]+"/g
var reservedArgRE = /^in$|^-?\d+/

@@ -53,3 +54,5 @@ /**

filter.name = tokens[0]
filter.args = tokens.length > 1 ? tokens.slice(1) : null
if (tokens.length > 1) {
filter.args = tokens.slice(1).map(processFilterArg)
}
}

@@ -63,2 +66,19 @@ if (filter) {

/**
* Check if an argument is dynamic and strip quotes.
*
* @param {String} arg
* @return {Object}
*/
function processFilterArg (arg) {
var stripped = reservedArgRE.test(arg)
? arg
: _.stripQuotes(arg)
return {
value: stripped || arg,
dynamic: !stripped
}
}
/**
* Parse a directive string into an Array of AST-like

@@ -65,0 +85,0 @@ * objects representing directives.

@@ -169,3 +169,3 @@ var Cache = require('../cache')

var args = filter.args
? ',"' + filter.args.join('","') + '"'
? ',' + JSON.stringify(filter.args).slice(1, -1)
: ''

@@ -172,0 +172,0 @@ exp = 'this._applyFilter("' + filter.name + '",[' + exp + args + '])'

@@ -7,2 +7,5 @@ var _ = require('../util')

var TYPE_TRANSITION = 1
var TYPE_ANIMATION = 2
var queue = []

@@ -47,3 +50,4 @@ var queued = false

queued = false
/* dummy return, so js linters don't complain about unused variable f */
// dummy return, so js linters don't complain about unused
// variable f
return f

@@ -68,3 +72,3 @@ }

if (job.dir > 0) { // ENTER
if (transitionType === 1) {
if (transitionType === TYPE_TRANSITION) {
// trigger transition by removing enter class

@@ -75,3 +79,3 @@ removeClass(el, cls)

if (cb) setupTransitionCb(_.transitionEndEvent)
} else if (transitionType === 2) {
} else if (transitionType === TYPE_ANIMATION) {
// animations are triggered when class is added

@@ -91,3 +95,3 @@ // so we just listen for animationend to remove it.

// by adding the class, just remove it on end event.
var event = transitionType === 1
var event = transitionType === TYPE_TRANSITION
? _.transitionEndEvent

@@ -138,4 +142,2 @@ : _.animationEndEvent

* @return {Number}
* 1 - transition
* 2 - animation
*/

@@ -152,3 +154,3 @@

if (transDuration && transDuration !== '0s') {
type = 1
type = TYPE_TRANSITION
} else {

@@ -159,3 +161,3 @@ var animDuration =

if (animDuration && animDuration !== '0s') {
type = 2
type = TYPE_ANIMATION
}

@@ -162,0 +164,0 @@ }

@@ -1,20 +0,39 @@

/**
* Can we use __proto__?
*
* @type {Boolean}
*/
// can we use __proto__?
exports.hasProto = '__proto__' in {}
/**
* Indicates we have a window
*
* @type {Boolean}
*/
var toString = Object.prototype.toString
// Browser environment sniffing
var inBrowser = exports.inBrowser =
typeof window !== 'undefined' &&
toString.call(window) !== '[object Object]'
Object.prototype.toString.call(window) !== '[object Object]'
exports.isIE9 =
inBrowser &&
navigator.userAgent.toLowerCase().indexOf('msie 9.0') > 0
exports.isAndroid =
inBrowser &&
navigator.userAgent.toLowerCase().indexOf('android') > 0
// Transition property/event sniffing
if (inBrowser && !exports.isIE9) {
var isWebkitTrans =
window.ontransitionend === undefined &&
window.onwebkittransitionend !== undefined
var isWebkitAnim =
window.onanimationend === undefined &&
window.onwebkitanimationend !== undefined
exports.transitionProp = isWebkitTrans
? 'WebkitTransition'
: 'transition'
exports.transitionEndEvent = isWebkitTrans
? 'webkitTransitionEnd'
: 'transitionend'
exports.animationProp = isWebkitAnim
? 'WebkitAnimation'
: 'animation'
exports.animationEndEvent = isWebkitAnim
? 'webkitAnimationEnd'
: 'animationend'
}
/**

@@ -66,37 +85,2 @@ * Defer a task to execute it asynchronously. Ideally this

}
})()
/**
* Detect if we are in IE9...
*
* @type {Boolean}
*/
exports.isIE9 =
inBrowser &&
navigator.userAgent.indexOf('MSIE 9.0') > 0
/**
* Sniff transition/animation events
*/
if (inBrowser && !exports.isIE9) {
var isWebkitTrans =
window.ontransitionend === undefined &&
window.onwebkittransitionend !== undefined
var isWebkitAnim =
window.onanimationend === undefined &&
window.onwebkitanimationend !== undefined
exports.transitionProp = isWebkitTrans
? 'WebkitTransition'
: 'transition'
exports.transitionEndEvent = isWebkitTrans
? 'webkitTransitionEnd'
: 'transitionend'
exports.animationProp = isWebkitAnim
? 'WebkitAnimation'
: 'animation'
exports.animationEndEvent = isWebkitAnim
? 'webkitAnimationEnd'
: 'animationend'
}
})()

@@ -7,4 +7,3 @@ var lang = require('./lang')

extend(exports, require('./dom'))
extend(exports, require('./filter'))
extend(exports, require('./debug'))
extend(exports, require('./misc'))
extend(exports, require('./misc'))
extend(exports, require('./debug'))

@@ -0,1 +1,4 @@

var _ = require('./debug')
var config = require('../config')
/**

@@ -20,2 +23,113 @@ * Check if an element is a component, if yes return its

}
}
/**
* Create an "anchor" for performing dom insertion/removals.
* This is used in a number of scenarios:
* - block instance
* - v-html
* - v-if
* - component
* - repeat
*
* @param {String} content
* @param {Boolean} persist - IE trashes empty textNodes on
* cloneNode(true), so in certain
* cases the anchor needs to be
* non-empty to be persisted in
* templates.
* @return {Comment|Text}
*/
exports.createAnchor = function (content, persist) {
return config.debug
? document.createComment(content)
: document.createTextNode(persist ? ' ' : '')
}
/**
* Resolve read & write filters for a vm instance. The
* filters descriptor Array comes from the directive parser.
*
* This is extracted into its own utility so it can
* be used in multiple scenarios.
*
* @param {Vue} vm
* @param {Array<Object>} filters
* @param {Object} [target]
* @return {Object}
*/
exports.resolveFilters = function (vm, filters, target) {
if (!filters) {
return
}
var res = target || {}
// var registry = vm.$options.filters
filters.forEach(function (f) {
var def = vm.$options.filters[f.name]
_.assertAsset(def, 'filter', f.name)
if (!def) return
var args = f.args
var reader, writer
if (typeof def === 'function') {
reader = def
} else {
reader = def.read
writer = def.write
}
if (reader) {
if (!res.read) res.read = []
res.read.push(function (value) {
return args
? reader.apply(vm, [value].concat(resolveArgs(vm, args)))
: reader.call(vm, value)
})
}
if (writer) {
if (!res.write) res.write = []
res.write.push(function (value, oldVal) {
return args
? writer.apply(vm, [value, oldVal].concat(resolveArgs(vm, args)))
: writer.call(vm, value, oldVal)
})
}
})
return res
}
/**
* Resolve arguments into static values
*
* @param {Vue} vm
* @param {Array} args
* @return {Array}
*/
function resolveArgs (vm, args) {
return args.map(function (arg) {
return arg.dynamic
? vm.$get(arg.value)
: arg.value
})
}
/**
* Apply filters to a value
*
* @param {*} value
* @param {Array} filters
* @param {Vue} vm
* @param {*} oldVal
* @return {*}
*/
exports.applyFilters = function (value, filters, vm, oldVal) {
if (!filters) {
return value
}
for (var i = 0, l = filters.length; i < l; i++) {
value = filters[i].call(vm, value, oldVal)
}
return value
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc