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-beta4 to 0.12.0-beta5

src/transition/queue.js

5

build/grunt-tasks/casper.js

@@ -10,4 +10,7 @@ /**

var file = id ? id + '.js' : ''
// let casperjs use local phantomjs
process.env.PHANTOMJS_EXECUTABLE =
'../../node_modules/karma-phantomjs-launcher/node_modules/.bin/phantomjs'
grunt.util.spawn({
cmd: 'casperjs',
cmd: '../../node_modules/.bin/casperjs',
args: ['test', '--concise', './' + file],

@@ -14,0 +17,0 @@ opts: {

6

dist/vue.min.js
/**
* Vue.js v0.12.0-beta4
* Vue.js v0.12.0-beta5
* (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(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)}}])});
!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(27)),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(10),s=n(22),o=n(26);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();for(this._unlinkFn&&this._unlinkFn(!0),n=this._watchers.length;n--;)this._watchers[n].teardown();this.$el&&(this.$el.__vue__=null);var s=this;t&&this.$el?this.$remove(function(){s._cleanup()}):e||this._cleanup()}},e._cleanup=function(){this._data.__ob__.removeVm(this),this._data=this._watchers=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(5),r=i.extend;r(e,i),r(e,n(6)),r(e,n(7)),r(e,n(3)),r(e,n(8)),r(e,n(9))},function(t,e,n){var i=n(2),r=n(4),s=/^(div|p|span|img|a|br|ul|ol|li|h1|h2|h3|h4|h5|table|tbody|tr|td|pre)$/;e.checkComponent=function(t,e){var n=t.tagName.toLowerCase();if("component"===n){var r=t.getAttribute("is");return t.removeAttribute("is"),r}return!s.test(n)&&i.resolveAsset(e,"components",n)?n:void 0},e.createAnchor=function(t,e){return r.debug?document.createComment(t):document.createTextNode(e?" ":"")}},function(t,e,n){t.exports={prefix:"v-",debug:!1,silent:!1,proto:!0,interpolate:!0,async:!0,warnExpressionErrors:!0,_delimitersChanged:!0,_assetTypes:["directive","elementDirective","filter","transition"]};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?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 h=Date.now()-s;e>h&&h>=0?n=setTimeout(a,e-h):(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},e.cancellable=function(t){var e=function(){return e.cancelled?void 0:t.apply(this,arguments)};return e.cancel=function(){e.cancelled=!0},e}},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(4),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(4)},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){var n=Object.create(t);return e?o(n,e):n},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 h=function(t,e){return void 0===e?t:e};e.mergeOptions=function c(t,e,n){function i(i){var r=a[i]||h;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=c(t,e.mixins[l],n);for(s in t)i(s);for(s in e)t.hasOwnProperty(s)||i(s);return o},e.resolveAsset=function(t,e,n){for(var i=t[e][n];!i&&t._parent;)t=t._parent.$options,i=t[e][n];return i}},function(t,e,n){function i(t,e,n,i,r,s){this.name=t,this.el=e,this.vm=n,this.raw=i.raw,this.expression=i.expression,this.arg=i.arg,this.filters=i.filters,this._descriptor=i,this._host=s,this._locked=!1,this._bound=!1,this._bind(r)}var r=n(2),s=n(4),o=n(11),a=n(20),h=n(16),c=i.prototype;c._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._preProcess?r.bind(this._preProcess,this):null,a=this._watcher=new o(this.vm,this._watcherExp,n,{filters:this.filters,twoWay:this.twoWay,deep:this.deep,preProcess:i});null!=this._initValue?a.set(this._initValue):this.update&&this.update(a.value)}this._bound=!0},c._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}}},c._checkStatement=function(){var t=this.expression;if(t&&this.acceptStatement&&!h.isSimplePath(t)){var e=h.parse(t).get,n=this.vm,i=function(){e.call(n,n)};return this.filters&&(i=n._applyFilters(i,null,this.filters)),this.update(i),!0}},c._checkParam=function(t){var e=this.el.getAttribute(t);return null!==e&&this.el.removeAttribute(t),e},c._teardown=function(){this._bound&&(this._bound=!1,this.unbind&&this.unbind(),this._watcher&&this._watcher.teardown(),this.vm=this.el=this._watcher=null)},c.set=function(t){this.twoWay&&this._withLock(function(){this._watcher.set(t)})},c._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._watchers.push(this),this.expression=e,this.cb=n,this.id=++l,this.active=!0,i=i||{},this.deep=!!i.deep,this.user=!!i.user,this.twoWay=!!i.twoWay,this.filters=i.filters,this.preProcess=i.preProcess,this.deps=[],this.newDeps=[];var r=h.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(4),a=n(12),h=n(16),c=n(19),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),this.preProcess&&(t=this.preProcess(t)),this.filters&&(t=e._applyFilters(t,null,this.filters,!1)),this.afterGet(),t},u.set=function(t){var e=this.vm;this.filters&&(t=e._applyFilters(t,this.value,this.filters,!0));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():c.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,this.cb(t,e)}}},u.teardown=function(){if(this.active){this.vm._isBeingDestroyed||this.vm._watchers.$remove(this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1,this.vm=this.cb=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,c,l),this.observeArray(t)}else e===d&&this.walk(t)}var o=n(2),a=n(4),h=n(13),c=n(14),l=Object.getOwnPropertyNames(c);n(15);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 h;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.notify(),n.vms)for(var r=n.vms.length;r--;){var s=n.vms[r];s._proxy(t),s._digest()}}}),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)&&(e.notify(),e.vms))for(var n=e.vms.length;n--;){var r=e.vms[n];r._unproxy(t),r._digest()}}})},function(t,e,n){function i(t,e){var n=x.length;return x[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(C,s):n,e+"scope."+n)}function s(t,e){return x[e]}function o(t,e){_.test(t),x.length=0;var n=t.replace(y,i).replace(g,"");n=(" "+n).replace(w,r).replace(C,s);var o=h(n);return o?{get:o,body:n,set:e?c(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 h(t){try{return new Function("scope","return "+t+";")}catch(e){}}function c(t){try{return new Function("scope","value",t+"=value;")}catch(e){}}function l(t){t.set||(t.set=c(t.body))}var u=(n(2),n(17)),f=n(18),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,C=/"(\d+)"/g,$=/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\]|\[\d+\])*$/,w=/[^\w$\.]([A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\['.*?'\]|\[".*?"\])*)/g,k=/^(true|false)$/,x=[];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 $.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,h,c,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],h=l[a]||l["else"]||"error","error"===h)return;if(p=h[0],c=v[h[1]]||i,s=void 0===h[2]?n:h[2],c(),"afterPath"===p)return f}}function o(t){return l.test(t)?"."+t:+t===t>>>0?"["+t+"]":'["'+t.replace(/"/g,'\\"')+'"]'}var a=n(2),h=n(18),c=new h(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=c.get(t);return n||(n=s(t),n&&(n.get=e.compileGetter(n),c.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,h=n.length-1;h>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(){h=[],c=[],l={},u=!1,f=!1}function r(){f=!0,s(h),s(c),i()}function s(t){for(var e=0;e<t.length;e++)t[e].run()}var o=n(2),a=10,h=[],c=[],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?c:h).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);h=new RegExp(n+"?"+s+"(.+?)"+o+r+"?","g"),c=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];return n.filters?"this._applyFilters("+n.expression+",null,"+JSON.stringify(n.filters)+",false)":"("+t+")"}return e?t:"("+t+")"}var a,h,c,l,u,f=n(18),d=n(4),p=n(21),v=/[-.*+?^${}()|[\]\/\\]/g;e.parse=function(t){d._delimitersChanged&&r();var e=a.get(t);if(e)return e;if(!h.test(t))return null;for(var n,i,s,o,l,u=[],f=h.lastIndex=0;n=h.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:c.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,h).trim(),void 0===g.expression?g.expression=o.slice(m,h).trim():b!==v&&r(),(0===h||g.expression)&&_.push(g)}function r(){var t,e=o.slice(b,h).trim();if(e){t={};var n=e.match(x);t.name=n[0],n.length>1&&(t.args=n.slice(1).map(s))}t&&(g.filters=g.filters||[]).push(t),b=h+1}function s(t){var e=A.test(t)?t:C.stripQuotes(t);return{value:e||t,dynamic:!e}}var o,a,h,c,l,u,f,d,p,v,m,_,g,b,y,C=n(2),$=n(18),w=new $(1e3),k=/^[^\{\?]+$|^'[^']*'$|^"[^"]*"$/,x=/[^\s'"]+|'[^']+'|"[^"]+"/g,A=/^in$|^-?\d+/;e.parse=function(t){var e=w.get(t);if(e)return e;for(o=t,l=u=!1,f=d=p=v=m=0,b=0,_=[],g={},y=null,h=0,c=o.length;c>h;h++)if(a=o.charCodeAt(h),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(h+1)&&124!==o.charCodeAt(h-1))void 0===g.expression?(b=h+1,g.expression=o.slice(m,h).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,h).trim(),k.test(y)&&(m=h+1,g.arg=C.stripQuotes(y)||y);else i(),g={},v=m=b=h+1;return(0===h||v!==h)&&i(),w.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;h&&h(a,e,l),c&&c(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 h=e._asComponent&&!n?s(t,e):o(t,e),c=h&&h.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,h=e.props;return n=h?d(t,o,h):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()?h(t,e):null}function a(t,e){if(x(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 h(t,e){var n=T.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?c(r,e):document.createTextNode(r.value),s.appendChild(i);return l(n,s,e)}function c(t,e){function n(n){t.type=n,t.def=N(e,"directives",n),t.descriptor=D.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),h=A.toArray(a.childNodes),c=0,l=t.length;l>c;c++)r=t[c],s=r.value,r.tag&&(o=h[c],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,h=t.length;h>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,h=0,c=t.length;c>a;h++){r=n[h],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 h=T.parse(r);h&&(t&&1===t.nodeType&&t.removeAttribute(i),e[i]=null,s.dynamic=!0,s.value=T.tokensToExp(h),s.oneTime=h.length>1||h[0].oneTime||!I.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(V,"")),i.dynamic?e._bindDir("prop",n,{arg:r,expression:i.value,oneWay:i.oneTime},S):e.$set(r,i.value)}}function v(t,e){var n=t.tagName.toLowerCase(),i=N(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},O,i)};return i.terminal=!0,i}}function _(t,e){if(null!==A.attr(t,"pre"))return g;for(var n,i,r=0,s=j.length;s>r;r++)if(i=j[r],null!==(n=A.attr(t,i)))return b(t,i,n,e)}function g(){}function b(t,e,n,i,r){var s=D.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,h=A.isPlainObject(t)?C(t):t.attributes,c=h.length,l=[];c--;)n=h[c],i=n.name,r=n.value,null!==r&&(0===i.indexOf(E.prefix)?(o=i.slice(E.prefix.length),a=N(e,"directives",o),a&&l.push({name:o,descriptors:D.parse(r),def:a})):E.interpolate&&(s=w(i,r,e),s&&l.push(s)));return l.length?(l.sort(k),$(l)):void 0}function C(t){var e=[];for(var n in t)e.push({name:n,value:t[n]});return e}function $(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 w(t,e,n){var i=T.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=T.tokensToExp(i,e),o=D.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 x(t){return 1===t.nodeType&&t.hasAttribute(F)?(t.removeAttribute(F),!0):void 0}var A=n(2),E=n(4),T=n(20),D=n(21),P=n(23),N=A.resolveAsset,S=n(24),O=n(25),j=["repeat","if"];t.exports=i;var I=/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*|\[[^\[\]]\])*$/,V=/^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=c[s]||c._default,h=o[0],f=o[1],d=o[2],p=document.createElement("div");for(p.innerHTML=f+t.trim()+d;h--;)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(18),a=new o(1e3),h=new o(1e3),c={_default:[0,"",""],legend:[1,"<fieldset>","</fieldset>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"]};c.td=c.th=[3,"<table><tbody><tr>","</tr></tbody></table>"],c.option=c.optgroup=[1,'<select multiple="multiple">',"</select>"],c.thead=c.tbody=c.colgroup=c.caption=c.tfoot=[1,"<table>","</table>"],c.g=c.defs=c.symbol=c.use=c.image=c.text=c.circle=c.ellipse=c.line=c.path=c.polygon=c.polyline=c.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=h.get(t),a||(o=document.getElementById(t.slice(1)),o&&(a=r(o),h.put(t,a)))):t.nodeType&&(a=r(t)),a&&n?e.clone(a):a)}},function(t,e,n){var i=n(2),r=n(11);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(h)},h=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(23);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||c.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),h(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,h,l,u,f;r--;)a=i[r],e?(h=a.getAttribute("select"),h?(l=e.querySelectorAll(h),l.length&&(l=[].filter.call(l,n)),a.content=l.length?l:c.toArray(a.childNodes)):f=a):a.content=c.toArray(a.childNodes);for(r=0,u=i.length;u>r;r++)a=i[r],a!==f&&o(a,a.content);f&&o(f,c.toArray(e.childNodes))}}function s(t){return c.isArray(t)?d.apply([],t.map(s)):t.querySelectorAll?c.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 h(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 c=n(2),l=n(4),u=n(23),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&&(c.prepend(c.createAnchor("v-start",!0),t),t.appendChild(c.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){o._assetTypes.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(4);e.util=s,e.nextTick=s.nextTick,e.config=n(4),e.compiler={compile:n(22),transclude:n(26)},e.parsers={path:n(17),text:n(20),template:n(23),directive:n(21),expression:n(16)},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=s.mergeOptions(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},r(e)},function(t,e,n){e.text=n(29),e.html=n(30),e.attr=n(31),e.show=n(32),e["class"]=n(34),e.el=n(35),e.ref=n(36),e.cloak=n(37),e.style=n(38),e.transition=n(39),e.on=n(42),e.model=n(43),e.repeat=n(48),e["if"]=n(49),e.events=n(50),e._component=n(25),e._prop=n(24)},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(23);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);e.append=function(t,e,n,i){r(t,1,function(){e.appendChild(t)},n,i)},e.before=function(t,e,n,s){r(t,1,function(){i.before(t,e)},n,s)},e.remove=function(t,e,n){r(t,-1,function(){i.remove(t)},e,n)},e.removeThenAppend=function(t,e,n,i){r(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 r=e.apply=function(t,e,n,r,s){var o=t.__v_trans;if(!o||!o.hooks&&!i.transitionEndEvent||!r._isCompiled||r.$parent&&!r.$parent._isCompiled)return n(),void(s&&s());var a=e>0?"enter":"leave";o[a](n,s)}},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(4);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(c,"$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"],h=/!important;?$/,c=/([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=h.test(e)?"important":"";n&&(e=e.replace(h,"").trim()),this.el.style.setProperty(t,e,n)}else this.el.style.removeProperty(t)}}},function(t,e,n){var i=n(2),r=n(40);t.exports={priority:1e3,isLiteral:!0,bind:function(){this._isDynamicLiteral||this.update(this.expression)},update:function(t,e){var n=this.el,s=this.el.__vue__||this.vm,o=i.resolveAsset(s.$options,"transitions",t);t=t||"v",n.__v_trans=new r(n,t,o,s),e&&i.removeClass(n,e+"-transition"),i.addClass(n,t+"-transition")}}},function(t,e,n){function i(t,e,n,i){this.el=t,this.enterClass=e+"-enter",this.leaveClass=e+"-leave",this.hooks=n,this.vm=i,this.pendingCssEvent=this.pendingCssCb=this.jsCancel=this.pendingJsCb=this.op=this.cb=null,this.typeCache={};var s=this;["enterNextTick","enterDone","leaveNextTick","leaveDone"].forEach(function(t){s[t]=r.bind(s[t],s)})}var r=n(2),s=n(41),o=r.addClass,a=r.removeClass,h=r.transitionEndEvent,c=r.animationEndEvent,l=r.transitionProp+"Duration",u=r.animationProp+"Duration",f="undefined"==typeof document?null:document,d=1,p=2,v=i.prototype;v.enter=function(t,e){this.cancelPending(),this.callHook("beforeEnter"),this.cb=e,o(this.el,this.enterClass),t(),this.callHookWithCb("enter"),s.push(this.enterNextTick)},v.enterNextTick=function(){var t=this.getCssTransitionType(this.enterClass),e=this.enterDone;t===d?(a(this.el,this.enterClass),this.setupCssCb(h,e)):t===p?this.setupCssCb(c,e):this.pendingJsCb||e()},v.enterDone=function(){this.jsCancel=this.pendingJsCb=null,a(this.el,this.enterClass),this.callHook("afterEnter"),this.cb&&this.cb()},v.leave=function(t,e){this.cancelPending(),this.callHook("beforeLeave"),this.op=t,this.cb=e,o(this.el,this.leaveClass),this.callHookWithCb("leave"),this.pendingJsCb||s.push(this.leaveNextTick)},v.leaveNextTick=function(){var t=this.getCssTransitionType(this.leaveClass);if(t){var e=t===d?h:c;this.setupCssCb(e,this.leaveDone)}else this.leaveDone()},v.leaveDone=function(){this.op(),a(this.el,this.leaveClass),this.callHook("afterLeave"),this.cb&&this.cb()},v.cancelPending=function(){this.op=this.cb=null;var t=!1;this.pendingCssCb&&(t=!0,r.off(this.el,this.pendingCssEvent,this.pendingCssCb),this.pendingCssEvent=this.pendingCssCb=null),this.pendingJsCb&&(t=!0,this.pendingJsCb.cancel(),this.pendingJsCb=null),t&&(a(this.el,this.enterClass),a(this.el,this.leaveClass)),this.jsCancel&&(this.jsCancel.call(null),this.jsCancel=null)},v.callHook=function(t){this.hooks&&this.hooks[t]&&this.hooks[t].call(this.vm,this.el)},v.callHookWithCb=function(t){var e=this.hooks&&this.hooks[t];e&&(e.length>1&&(this.pendingJsCb=r.cancellable(this[t+"Done"])),this.jsCancel=e.call(this.vm,this.el,this.pendingJsCb))},v.getCssTransitionType=function(t){if(!(!h||f&&f.hidden)){var e=this.typeCache[t];if(e)return e;var n=this.el.style,i=window.getComputedStyle(this.el),r=n[l]||i[l];if(r&&"0s"!==r)e=d;else{var s=n[u]||i[u];s&&"0s"!==s&&(e=p)}return e&&(this.typeCache[t]=e),e}},v.setupCssCb=function(t,e){this.pendingCssEvent=t;var n=this,i=this.el,s=this.pendingCssCb=function(o){o.target===i&&(r.off(i,t,s),n.pendingCssEvent=n.pendingCssCb=null,!n.pendingJsCb&&e&&e())};r.on(i,t,s)},t.exports=i},function(t,e,n){function i(){for(var t=document.documentElement.offsetHeight,e=0;e<s.length;e++)s[e]();return s=[],o=!1,t}var r=n(2),s=[],o=!1;e.push=function(t){s.push(t),o||(o=!0,r.nextTick(i))}},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),r={text:n(44),radio:n(45),select:n(46),checkbox:n(47)};t.exports={priority:800,twoWay:!0,handlers:r,bind:function(){this.checkFilters(),this.hasRead&&!this.hasWrite;var t,e=this.el,n=e.tagName;if("INPUT"===n)t=r[e.type]||r.text;else if("SELECT"===n)t=r.select;else{if("TEXTAREA"!==n)return;t=r.text}t.bind.call(this),this.update=t.update,this.unbind=t.unbind},checkFilters:function(){var t=this.filters;if(t)for(var e=t.length;e--;){var n=i.resolveAsset(this.vm.$options,"filters",t[e].name);"function"==typeof n||n.read?this.hasRead=!0:n.write&&(this.hasWrite=!0)}}}},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.hasRead||"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: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(h)}function a(t){return t.selected}function h(t){return t.value||t.text}function c(t,e){for(var n=t.length;n--;)if(t[n]==e)return n;return-1}var l=n(2),u=n(11),f=n(21);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?c(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){for(var e=-1,n=new Array(t);++e<t;)n[e]=e;return n}var s=n(2),o=s.isObject,a=s.isPlainObject,h=n(20),c=n(16),l=n(23),u=n(22),f=n(26),d=0,p=0,v=1,m=2,_=3;t.exports={bind:function(){this.id="__v_repeat_"+ ++d,this.anchor=s.createAnchor("v-repeat"),s.replace(this.el,this.anchor),this.template="TEMPLATE"===this.el.tagName?l.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!==s.attr(this.el,"if")},checkRef:function(){var t=s.attr(this.el,"ref");this.refID=t?this.vm.$interpolate(t):null;var e=s.attr(this.el,"el");this.elId=e?this.vm.$interpolate(e):null},checkComponent:function(){this.componentState=p;var t=this.vm.$options,e=s.checkComponent(this.el,t);if(e){this.Ctor=null,this.asComponent=!0,null!==this._checkParam("inline-template")&&(this.inlineTempalte=s.extractContent(this.el,!0));var n=h.parse(e);if(n){var i=h.tokensToExp(n);this.ctorGetter=c.parse(i).get}else this.componentId=e,this.pendingData=null}else{this.Ctor=s.Vue,this.inherit=!0,this.template=f(this.template);var r=s.extend({},t);r._asComponent=!1,this._linkFn=u(this.template,r)}},resolveComponent:function(){this.componentState=v,this.vm._resolveComponent(this.componentId,s.bind(function(t){if(this.componentState!==_){this.Ctor=t;var e=s.mergeOptions(t.options,{},{$parent:this.vm});e.template=this.inlineTempalte||e.template,e._asComponent=!0,e._parent=this.vm,this.template=f(this.template,e),this.template.__vue__=!0,this._linkFn=u(this.template,e),this.componentState=m,this.realUpdate(this.pendingData),this.pendingData=null}},this))},resolveDynamicComponent:function(t,e){var n,i=Object.create(this.vm);for(n in t)s.define(i,n,t[n]);for(n in e)s.define(i,n,e[n]);var r=this.ctorGetter.call(i,i),o=s.resolveAsset(this.vm.$options,"components",r);return o.options?o:s.Vue},update:function(t){if(this.componentId){var e=this.componentState;e===p?(this.pendingData=t,this.resolveComponent()):e===v?this.pendingData=t:e===m&&this.realUpdate(t)}else this.realUpdate(t)},realUpdate:function(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,o,a,h,c=this.idKey,l=this.converted,u=this.anchor,f=this.arg,d=!e,p=new Array(t.length);for(a=0,h=t.length;h>a;a++)n=t[a],r=l?n.$value:n,o=!d&&this.getVm(r,l?n.$key:null),o?(o._reused=!0,o.$index=a,(c||l)&&(f?o[f]=r:s.isPlainObject(r)?o.$data=r:o.$value=r)):(o=this.build(n,a,!0),o._new=!d,o._reused=!1),p[a]=o,d&&o.$before(u);if(d)return p;for(a=0,h=e.length;h>a;a++)o=e[a],o._reused||(this.uncacheVm(o),o.$destroy(!0));var v,m;for(a=p.length;a--;){if(o=p[a],v=p[a+1]){var _=v.$el;o._reused?(m=i(o,u),m!==v&&o.$before(_,null,!1)):o.$before(_)}else o._reused||o.$before(u);o._new=!1,o._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):a(r)?t=r:(t={},i.$value=r);var o=this.Ctor||this.resolveDynamicComponent(t,i),h=this.vm.$addChild({el:l.clone(this.template),_asComponent:this.asComponent,_host:this._host,_linkFn:this._linkFn,_meta:i,data:t,inherit:this.inherit,template:this.inlineTempalte},o);h._repeat=!0,n&&this.cacheVm(r,h,this.converted?i.$key:null);var c=typeof r,u=this;return"object"!==this.rawType||"string"!==c&&"number"!==c||h.$watch(s||"$value",function(t){u._withLock(function(){u.converted?u.rawValue[h.$key]=t:u.rawValue.$set(h.$index,t)})}),h},unbind:function(){if(this.componentState=_,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,a=this.cache;n||r?(i=r?t[r]:n,a[i]||(a[i]=e)):o(t)?(i=this.id,t.hasOwnProperty(i)?null===t[i]&&(t[i]=e):s.define(t,i,e)):a[t]?a[t].push(e):a[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(o(t))return t[this.id];var r=this.cache[t];if(r){for(var s=0,a=r[s];a&&(a._reused||a._new);)a=r[++s];return a}},uncacheVm:function(t){var e=t._raw,n=this.idKey,i=t.$key;if(n||i){var r=n?e[n]:i;this.cache[r]=null}else o(e)?(e[this.id]=null,t._raw=null):this.cache[e].pop()},_preProcess:function(t){this.rawValue=t;var e=this.rawType=typeof t;if(a(t)){for(var n,i=Object.keys(t),o=i.length,h=new Array(o);o--;)n=i[o],h[o]={$key:n,$value:t[n]};return this.converted=!0,h}return this.converted=!1,"number"===e?t=r(t):"string"===e&&(t=s.toArray(t)),t||[]}}},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(22),a=n(23),h=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),h.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()),h.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(17);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(2).mergeOptions;e._init=function(t){t=t||{},this.$el=null,this.$parent=t._parent,this.$root=t._root||this,this.$={},this.$$={},this._watchers=[],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],c.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(h),this._transCpnts.length&&this._transCpnts.forEach(h)}function h(t){t._isAttached&&!l(t.$el)&&t._callHook("detached")}var c=n(2),l=c.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(12),o=n(13);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._watchers.length;t--;)this._watchers[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._applyFilters=function(t,e,n,r){var s,o,a,h,c,l,u,f,d;for(l=0,u=n.length;u>l;l++)if(s=n[l],o=i.resolveAsset(this.$options,"filters",s.name),o&&(o=r?o.write:o.read||o,"function"==typeof o)){if(a=r?[t,e]:[t],c=r?2:1,s.args)for(f=0,d=s.args.length;d>f;f++)h=s.args[f],a[f+c]=h.dynamic?this.$get(h.value):h.value;t=o.apply(this,a)}return t},e._resolveComponent=function(t,e){var n=i.resolveAsset(this.$options,"components",t);if(n.options)e(n);else if(n.resolved)e(n.resolved);else if(n.requested)n.pendingCallbacks.push(e);else{n.requested=!0;var r=n.pendingCallbacks=[e];n(function(t){i.isPlainObject(t)&&(t=i.Vue.extend(t)),n.resolved=t;for(var e=0,s=r.length;s>e;e++)r[e](t)})}}},function(t,e,n){var i=n(11),r=n(17),s=n(20),o=n(21),a=n(16),h=/[^|]\|[^|]/;e.$get=function(t){var e=a.parse(t);return e?e.get.call(this,this):void 0},e.$set=function(t,e){var n=a.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,r){var s=this,o=function(t,n){e.call(s,t,n)},a=new i(s,t,o,{deep:n,user:!0});return r&&o(a.value),function(){a.teardown()}},e.$eval=function(t){if(h.test(t)){var e=o.parse(t)[0],n=this.$get(e.expression);return e.filters?this._applyFilters(n,null,e.filters):n}return this.$get(t)},e.$interpolate=function(t){var e=s.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?r.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 h=!c.inDoc(e),l=i===!1||h?o:a,u=!h&&!t._isAttached&&!c.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){c.before(t,e),i&&i()}function h(t,e,n){c.remove(t),n&&n()}var c=n(2),l=n(33);e.$nextTick=function(t){c.nextTick(t,this)},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&&c.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?h: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,h=a?i.classify(a):"VueComponent";n=new Function("return function "+h+" (options) {this.constructor = "+h+";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 c=new n(t);return c}},function(t,e,n){function i(){this._isAttached=!0,this._isReady=!0,this._callHook("ready")}var r=n(2),s=n(22);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-beta4",
"version": "0.12.0-beta5",
"author": "Evan You <yyx990803@gmail.com>",

@@ -24,2 +24,3 @@ "license": "MIT",

"devDependencies": {
"casperjs": "^1.1.0-beta3",
"grunt": "^0.4.5",

@@ -26,0 +27,0 @@ "grunt-contrib-jshint": "^0.10.0",

@@ -1,2 +0,1 @@

var _ = require('../util')
var Watcher = require('../watcher')

@@ -73,16 +72,9 @@ var Path = require('../parsers/path')

var vm = this
var key = deep ? exp + '**deep**' : exp
var watcher = vm._userWatchers[key]
var wrappedCb = function (val, oldVal) {
cb.call(vm, val, oldVal)
}
if (!watcher) {
watcher = vm._userWatchers[key] =
new Watcher(vm, exp, wrappedCb, {
deep: deep,
user: true
})
} else {
watcher.addCb(wrappedCb)
}
var watcher = new Watcher(vm, exp, wrappedCb, {
deep: deep,
user: true
})
if (immediate) {

@@ -92,6 +84,3 @@ wrappedCb(watcher.value)

return function unwatchFn () {
watcher.removeCb(wrappedCb)
if (!watcher.active) {
vm._userWatchers[key] = null
}
watcher.teardown()
}

@@ -114,9 +103,6 @@ }

// we don't get any filters here
var val = this.$get(dir.expression)
return dir.filters
? _.applyFilters(
this.$get(dir.expression),
_.resolveFilters(this, dir.filters).read,
this
)
: this.$get(dir.expression)
? this._applyFilters(val, null, dir.filters)
: val
} else {

@@ -123,0 +109,0 @@ // no filter

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

/**
* Convenience on-instance nextTick. The callback is
* auto-bound to the instance, and this avoids component
* modules having to rely on the global Vue.
*
* @param {Function} fn
*/
exports.$nextTick = function (fn) {
_.nextTick(fn, this)
}
/**
* Append instance to target

@@ -7,0 +19,0 @@ *

var _ = require('../util')
var mergeOptions = require('../util/merge-option')
var config = require('../config')

@@ -51,3 +51,3 @@ /**

Sub.cid = cid++
Sub.options = mergeOptions(
Sub.options = _.mergeOptions(
Super.options,

@@ -105,9 +105,2 @@ extendOptions

var assetTypes = [
'directive',
'elementDirective',
'filter',
'transition'
]
function createAssetRegisters (Constructor) {

@@ -121,3 +114,3 @@

assetTypes.forEach(function (type) {
config._assetTypes.forEach(function (type) {
Constructor[type] = function (id, definition) {

@@ -124,0 +117,0 @@ if (!definition) {

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

var templateParser = require('../parsers/template')
var resolveAsset = _.resolveAsset

@@ -282,3 +283,3 @@ // internal directives

token.type = type
token.def = options.directives[type]
token.def = resolveAsset(options, 'directives', type)
token.descriptor = dirParser.parse(token.value)[0]

@@ -474,3 +475,3 @@ }

var tag = el.tagName.toLowerCase()
var def = options.elementDirectives[tag]
var def = resolveAsset(options, 'elementDirectives', tag)
if (def) {

@@ -545,2 +546,4 @@ return makeTerminalNodeLinkFn(el, tag, '', options, def)

var descriptor = dirParser.parse(value)[0]
// no need to call resolveAsset since terminal directives
// are always internal
def = def || options.directives[dirName]

@@ -578,3 +581,3 @@ var fn = function terminalNodeLinkFn (vm, el, host) {

dirName = name.slice(config.prefix.length)
dirDef = options.directives[dirName]
dirDef = resolveAsset(options, 'directives', dirName)
_.assertAsset(dirDef, 'directive', dirName)

@@ -581,0 +584,0 @@ if (dirDef) {

@@ -65,4 +65,17 @@ module.exports = {

_delimitersChanged: true
_delimitersChanged: true,
/**
* List of asset types that a component can own.
*
* @type {Array}
*/
_assetTypes: [
'directive',
'elementDirective',
'filter',
'transition'
]
}

@@ -69,0 +82,0 @@

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

this.arg = descriptor.arg
this.filters = _.resolveFilters(vm, descriptor.filters)
this.filters = descriptor.filters
// private

@@ -82,23 +82,18 @@ this._descriptor = descriptor

: function () {} // noop if no update is provided
// use raw expression as identifier because filters
// make them different watchers
var watcher = this.vm._watchers[this.raw]
// v-repeat always creates a new watcher because it has
// a special filter that's bound to its directive
// instance.
if (!watcher || this.name === 'repeat') {
watcher = this.vm._watchers[this.raw] = new Watcher(
this.vm,
this._watcherExp,
update, // callback
{
filters: this.filters,
twoWay: this.twoWay,
deep: this.deep
}
)
} else {
watcher.addCb(update)
}
this._watcher = watcher
// pre-process hook called before the value is piped
// through the filters. used in v-repeat.
var preProcess = this._preProcess
? _.bind(this._preProcess, this)
: null
var watcher = this._watcher = new Watcher(
this.vm,
this._watcherExp,
update, // callback
{
filters: this.filters,
twoWay: this.twoWay,
deep: this.deep,
preProcess: preProcess
}
)
if (this._initValue != null) {

@@ -155,7 +150,3 @@ watcher.set(this._initValue)

if (this.filters) {
handler = _.applyFilters(
handler,
this.filters.read,
vm
)
handler = vm._applyFilters(handler, null, this.filters)
}

@@ -188,13 +179,9 @@ this.update(handler)

if (this._bound) {
this._bound = false
if (this.unbind) {
this.unbind()
}
var watcher = this._watcher
if (watcher && watcher.active) {
watcher.removeCb(this._update)
if (!watcher.active) {
this.vm._watchers[this.raw] = null
}
if (this._watcher) {
this._watcher.teardown()
}
this._bound = false
this.vm = this.el = this._watcher = null

@@ -201,0 +188,0 @@ }

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

// friendly warning...
var filters = this.filters
if (filters && filters.read && !filters.write) {
this.checkFilters()
if (this.hasRead && !this.hasWrite) {
_.warn(

@@ -55,4 +55,22 @@ 'It seems you are using a read-only filter with ' +

this.unbind = handler.unbind
},
/**
* Check read/write filter stats.
*/
checkFilters: function () {
var filters = this.filters
if (!filters) return
var i = filters.length
while (i--) {
var filter = _.resolveAsset(this.vm.$options, 'filters', filters[i].name)
if (typeof filter === 'function' || filter.read) {
this.hasRead = true
} else if (filter.write) {
this.hasWrite = true
}
}
}
}

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

deep: true,
filters: _.resolveFilters(this.vm, descriptor.filters)
filters: descriptor.filters
}

@@ -86,0 +86,0 @@ )

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

// "lock in range" (see #506)
if ((this.filters && this.filters.read) || el.type === 'range') {
if (this.hasRead || el.type === 'range') {
this.listener = function () {

@@ -160,3 +160,2 @@ if (composing) return

}
}

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

var transclude = require('../compiler/transclude')
var mergeOptions = require('../util/merge-option')
var uid = 0

@@ -28,15 +27,2 @@

this.id = '__v_repeat_' + (++uid)
// we need to insert the objToArray converter
// as the first read filter, because it has to be invoked
// before any user filters. (can't do it in `update`)
if (!this.filters) {
this.filters = {}
}
// add the object -> array convert filter
var objectConverter = _.bind(objToArray, this)
if (!this.filters.read) {
this.filters.read = [objectConverter]
} else {
this.filters.read.unshift(objectConverter)
}
// setup anchor node

@@ -138,3 +124,3 @@ this.anchor = _.createAnchor('v-repeat')

this.Ctor = Ctor
var merged = mergeOptions(Ctor.options, {}, {
var merged = _.mergeOptions(Ctor.options, {}, {
$parent: this.vm

@@ -181,3 +167,3 @@ })

var id = this.ctorGetter.call(context, context)
var Ctor = this.vm.$options.components[id]
var Ctor = _.resolveAsset(this.vm.$options, 'components', id)
_.assertAsset(Ctor, 'component', id)

@@ -227,9 +213,2 @@ if (!Ctor.options) {

realUpdate: function (data) {
data = data || []
var type = typeof data
if (type === 'number') {
data = range(data)
} else if (type === 'string') {
data = _.toArray(data)
}
this.vms = this.diff(data, this.vms)

@@ -408,4 +387,7 @@ // update v-ref

var type = typeof raw
if (type === 'string' || type === 'number') {
var dir = this
var dir = this
if (
this.rawType === 'object' &&
(type === 'string' || type === 'number')
) {
vm.$watch(alias || '$value', function (val) {

@@ -532,4 +514,5 @@ dir._withLock(function () {

var idKey = this.idKey
if (idKey || this.converted) {
var id = idKey ? data[idKey] : vm.$key
var convertedKey = vm.$key
if (idKey || convertedKey) {
var id = idKey ? data[idKey] : convertedKey
this.cache[id] = null

@@ -542,2 +525,44 @@ } else if (isObject(data)) {

}
},
/**
* Pre-process the value before piping it through the
* filters, and convert non-Array objects to arrays.
*
* This function will be bound to this directive instance
* and passed into the watcher.
*
* @param {*} value
* @return {Array}
* @private
*/
_preProcess: function (value) {
// regardless of type, store the un-filtered raw value.
this.rawValue = value
var type = this.rawType = typeof value
if (!isPlainObject(value)) {
this.converted = false
if (type === 'number') {
value = range(value)
} else if (type === 'string') {
value = _.toArray(value)
}
return value || []
} else {
// convert plain object to array.
var keys = Object.keys(value)
var i = keys.length
var res = new Array(i)
var key
while (i--) {
key = keys[i]
res[i] = {
$key: key,
$value: value[key]
}
}
this.converted = true
return res
}
}

@@ -568,38 +593,2 @@

/**
* Attempt to convert non-Array objects to array.
* This is the default filter installed to every v-repeat
* directive.
*
* It will be called with **the directive** as `this`
* context so that we can mark the repeat array as converted
* from an object.
*
* @param {*} obj
* @return {Array}
* @private
*/
function objToArray (obj) {
// regardless of type, store the un-filtered raw value.
this.rawValue = obj
if (!isPlainObject(obj)) {
return obj
}
var keys = Object.keys(obj)
var i = keys.length
var res = new Array(i)
var key
while (i--) {
key = keys[i]
res[i] = {
$key: key,
$value: obj[key]
}
}
// `this` points to the repeat directive instance
this.converted = true
return res
}
/**
* Create a range array from given number.

@@ -606,0 +595,0 @@ *

var _ = require('../util')
var Transition = require('../transition/transition')

@@ -15,17 +16,13 @@ module.exports = {

update: function (id, oldId) {
var el = this.el
var vm = this.el.__vue__ || this.vm
this.el.__v_trans = {
id: id,
// resolve the custom transition functions now
// so the transition module knows this is a
// javascript transition without having to check
// computed CSS.
fns: vm.$options.transitions[id]
}
var hooks = _.resolveAsset(vm.$options, 'transitions', id)
id = id || 'v'
el.__v_trans = new Transition(el, id, hooks, vm)
if (oldId) {
_.removeClass(this.el, oldId + '-transition')
_.removeClass(el, oldId + '-transition')
}
_.addClass(this.el, (id || 'v') + '-transition')
_.addClass(el, id + '-transition')
}
}

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

}
// teardown all user watchers.
var watcher
for (i in this._userWatchers) {
watcher = this._userWatchers[i]
if (watcher) {
watcher.teardown()
}
i = this._watchers.length
while (i--) {
this._watchers[i].teardown()
}

@@ -156,4 +152,2 @@ // remove reference to self on $el

this._watchers =
this._userWatchers =
this._watcherList =
this.$el =

@@ -160,0 +154,0 @@ this.$parent =

@@ -1,2 +0,2 @@

var mergeOptions = require('../util/merge-option')
var mergeOptions = require('../util').mergeOptions

@@ -23,5 +23,3 @@ /**

this.$$ = {} // element references
this._watcherList = [] // all watchers as an array
this._watchers = {} // internal watchers as a hash
this._userWatchers = {} // user watchers as a hash
this._watchers = [] // all watchers as an array
this._directives = [] // all directives

@@ -28,0 +26,0 @@

var _ = require('../util')
/**
* Apply a filter to a list of arguments.
* This is only used internally inside expressions with
* inlined filters.
* Apply a list of filter (descriptors) to a value.
* Using plain for loops here because this will be called in
* the getter of any watcher with filters so it is very
* performance sensitive.
*
* @param {String} id
* @param {Array} args
* @param {*} value
* @param {*} [oldValue]
* @param {Array} filters
* @param {Boolean} write
* @return {*}
*/
exports._applyFilter = function (id, args) {
var registry = this.$options.filters
var filter = registry[id]
_.assertAsset(filter, 'filter', id)
return (filter.read || filter).apply(this, args)
exports._applyFilters = function (value, oldValue, filters, write) {
var filter, fn, args, arg, offset, i, l, j, k
for (i = 0, l = filters.length; i < l; i++) {
filter = filters[i]
fn = _.resolveAsset(this.$options, 'filters', filter.name)
_.assertAsset(fn, 'filter', filter.name)
if (!fn) continue
fn = write ? fn.write : (fn.read || fn)
if (typeof fn !== 'function') continue
args = write ? [value, oldValue] : [value]
offset = write ? 2 : 1
if (filter.args) {
for (j = 0, k = filter.args.length; j < k; j++) {
arg = filter.args[j]
args[j + offset] = arg.dynamic
? this.$get(arg.value)
: arg.value
}
}
value = fn.apply(this, args)
}
return value
}

@@ -32,4 +52,3 @@

exports._resolveComponent = function (id, cb) {
var registry = this.$options.components
var factory = registry[id]
var factory = _.resolveAsset(this.$options, 'components', id)
_.assertAsset(factory, 'component', id)

@@ -36,0 +55,0 @@ // async component factory

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

exports._digest = function () {
var i = this._watcherList.length
var i = this._watchers.length
while (i--) {
this._watcherList[i].update()
this._watchers[i].update()
}

@@ -131,0 +131,0 @@ var children = this._children

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

ob.convert(key, val)
ob.notify()
if (ob.vms) {

@@ -32,4 +33,2 @@ var i = ob.vms.length

}
} else {
ob.notify()
}

@@ -75,2 +74,3 @@ }

}
ob.notify()
if (ob.vms) {

@@ -83,6 +83,4 @@ var i = ob.vms.length

}
} else {
ob.notify()
}
}
)

@@ -165,13 +165,9 @@ var Cache = require('../cache')

} else {
exp = dir.expression
for (var i = 0, l = dir.filters.length; i < l; i++) {
var filter = dir.filters[i]
var args = filter.args
? ',' + JSON.stringify(filter.args).slice(1, -1)
: ''
exp = 'this._applyFilter("' + filter.name + '",[' + exp + args + '])'
}
return exp
return 'this._applyFilters(' +
dir.expression + // value
',null,' + // oldValue (null for read)
JSON.stringify(dir.filters) + // filter descriptors
',false)' // write?
}
}
}
var _ = require('../util')
var applyCSSTransition = require('./css')
var applyJSTransition = require('./js')
var doc = typeof document === 'undefined' ? null : document

@@ -112,5 +109,9 @@ /**

var apply = exports.apply = function (el, direction, op, vm, cb) {
var transData = el.__v_trans
var transition = el.__v_trans
if (
!transData ||
!transition ||
// skip if there are no js hooks and CSS transition is
// not supported
(!transition.hooks && !_.transitionEndEvent) ||
// skip transitions for initial compile
!vm._isCompiled ||

@@ -126,37 +127,4 @@ // if the vm is being manipulated by a parent directive

}
// determine the transition type on the element
var jsTransition = transData.fns
if (jsTransition) {
// js
applyJSTransition(
el,
direction,
op,
transData,
jsTransition,
vm,
cb
)
} else if (
_.transitionEndEvent &&
// skip CSS transitions if page is not visible -
// this solves the issue of transitionend events not
// firing until the page is visible again.
// pageVisibility API is supported in IE10+, same as
// CSS transitions.
!(doc && doc.hidden)
) {
// css
applyCSSTransition(
el,
direction,
op,
transData,
cb
)
} else {
// not applicable
op()
if (cb) cb()
}
var action = direction > 0 ? 'enter' : 'leave'
transition[action](op, cb)
}

@@ -8,2 +8,3 @@ var lang = require('./lang')

extend(exports, require('./misc'))
extend(exports, require('./debug'))
extend(exports, require('./debug'))
extend(exports, require('./options'))

@@ -250,2 +250,21 @@ /**

return -1
}
/**
* Make a cancellable version of an async callback.
*
* @param {Function} fn
* @return {Function}
*/
exports.cancellable = function (fn) {
var cb = function () {
if (!cb.cancelled) {
return fn.apply(this, arguments)
}
}
cb.cancel = function () {
cb.cancelled = true
}
return cb
}

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

var _ = require('./debug')
var _ = require('./index')
var config = require('../config')
var commonTagRE = /^(div|p|span|img|a|br|ul|ol|li|h1|h2|h3|h4|h5|table|tbody|tr|td|pre)$/

@@ -20,3 +21,6 @@ /**

return exp
} else if (options.components[tag]) {
} else if (
!commonTagRE.test(tag) &&
_.resolveAsset(options, 'components', tag)
) {
return tag

@@ -48,89 +52,2 @@ }

: 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
}

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

* - {Boolean} user
* - {Function} [preProcess]
* @constructor

@@ -27,5 +28,5 @@ */

this.vm = vm
vm._watcherList.push(this)
vm._watchers.push(this)
this.expression = expression
this.cbs = [cb]
this.cb = cb
this.id = ++uid // uid for batching

@@ -36,12 +37,7 @@ this.active = true

this.user = !!options.user
this.twoWay = !!options.twoWay
this.filters = options.filters
this.preProcess = options.preProcess
this.deps = []
this.newDeps = []
// setup filters if any.
// We delegate directive filters here to the watcher
// because they need to be included in the dependency
// collection process.
if (options.filters) {
this.readFilters = options.filters.read
this.writeFilters = options.filters.write
}
// parse expression for getter/setter

@@ -99,3 +95,8 @@ var res = expParser.parse(expression, options.twoWay)

}
value = _.applyFilters(value, this.readFilters, vm)
if (this.preProcess) {
value = this.preProcess(value)
}
if (this.filters) {
value = vm._applyFilters(value, null, this.filters, false)
}
this.afterGet()

@@ -113,5 +114,6 @@ return value

var vm = this.vm
value = _.applyFilters(
value, this.writeFilters, vm, this.value
)
if (this.filters) {
value = vm._applyFilters(
value, this.value, this.filters, true)
}
try {

@@ -182,13 +184,3 @@ this.setter.call(vm, vm, value)

this.value = value
var cbs = this.cbs
for (var i = 0, l = cbs.length; i < l; i++) {
cbs[i](value, oldValue)
// if a callback also removed other callbacks,
// we need to adjust the loop accordingly.
var removed = l - cbs.length
if (removed) {
i -= removed
l -= removed
}
}
this.cb(value, oldValue)
}

@@ -199,27 +191,2 @@ }

/**
* Add a callback.
*
* @param {Function} cb
*/
p.addCb = function (cb) {
this.cbs.push(cb)
}
/**
* Remove a callback.
*
* @param {Function} cb
*/
p.removeCb = function (cb) {
var cbs = this.cbs
if (cbs.length > 1) {
cbs.$remove(cb)
} else if (cb === cbs[0]) {
this.teardown()
}
}
/**
* Remove self from all dependencies' subcriber list.

@@ -234,3 +201,3 @@ */

if (!this.vm._isBeingDestroyed) {
this.vm._watcherList.$remove(this)
this.vm._watchers.$remove(this)
}

@@ -242,3 +209,3 @@ var i = this.deps.length

this.active = false
this.vm = this.cbs = this.value = null
this.vm = this.cb = this.value = null
}

@@ -245,0 +212,0 @@ }

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