/*! * Vue.js v2.0.8 * (c) 2014-2016 Evan You * Released under the MIT License. */ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Vue=t()}(this,function(){"use strict";function e(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function t(e){var t=parseFloat(e,10);return t||0===t?t:e}function n(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i-1)return e.splice(n,1)}}function i(e,t){return Lr.call(e,t)}function a(e){return"string"==typeof e||"number"==typeof e}function o(e){var t=Object.create(null);return function(n){var r=t[n];return r||(t[n]=e(n))}}function s(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n}function c(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function l(e,t){for(var n in t)e[n]=t[n];return e}function u(e){return null!==e&&"object"==typeof e}function f(e){return Br.call(e)===Fr}function d(e){for(var t={},n=0;n=0&&ri[n].id>e.id;)n--;ri.splice(Math.max(n,si)+1,0,e)}else ri.push(e);ai||(ai=!0,Xr(C))}}function A(e){ui.clear(),O(e,ui)}function O(e,t){var n,r,i=Array.isArray(e);if((i||u(e))&&Object.isExtensible(e)){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(i)for(n=e.length;n--;)O(e[n],t);else for(r=Object.keys(e),n=r.length;n--;)O(e[r[n]],t)}}function S(e,t){e.__proto__=t}function T(e,t,n){for(var r=0,i=n.length;r1?c(n):n;for(var r=c(arguments,1),i=0,a=n.length;i-1?qi[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:qi[e]=/HTMLUnknownElement/.test(t.toString())}function Ge(e){if("string"==typeof e){if(e=document.querySelector(e),!e)return document.createElement("div")}return e}function Ye(e,t){var n=document.createElement(e);return"select"!==e?n:(t.data&&t.data.attrs&&"multiple"in t.data.attrs&&n.setAttribute("multiple","multiple"),n)}function Qe(e,t){return document.createElementNS(Ri[e],t)}function Xe(e){return document.createTextNode(e)}function et(e){return document.createComment(e)}function tt(e,t,n){e.insertBefore(t,n)}function nt(e,t){e.removeChild(t)}function rt(e,t){e.appendChild(t)}function it(e){return e.parentNode}function at(e){return e.nextSibling}function ot(e){return e.tagName}function st(e,t){e.textContent=t}function ct(e){return e.childNodes}function lt(e,t,n){e.setAttribute(t,n)}function ut(e,t){var n=e.data.ref;if(n){var i=e.context,a=e.child||e.elm,o=i.$refs;t?Array.isArray(o[n])?r(o[n],a):o[n]===a&&(o[n]=void 0):e.data.refInFor?Array.isArray(o[n])&&o[n].indexOf(a)<0?o[n].push(a):o[n]=[a]:o[n]=a}}function ft(e){return null==e}function dt(e){return null!=e}function pt(e,t){return e.key===t.key&&e.tag===t.tag&&e.isComment===t.isComment&&!e.data==!t.data}function vt(e,t,n){var r,i,a={};for(r=t;r<=n;++r)i=e[r].key,dt(i)&&(a[i]=r);return a}function ht(e){function t(e){return new gi(x.tagName(e).toLowerCase(),{},[],void 0,e)}function n(e,t){function n(){0===--n.listeners&&r(e)}return n.listeners=t,n}function r(e){var t=x.parentNode(e);t&&x.removeChild(t,e)}function i(e,t,n){var r,i=e.data;if(e.isRootInsert=!n,dt(i)&&(dt(r=i.hook)&&dt(r=r.init)&&r(e),dt(r=e.child)))return l(e,t),e.elm;var a=e.children,s=e.tag;return dt(s)?(e.elm=e.ns?x.createElementNS(e.ns,s):x.createElement(s,e),u(e),o(e,a,t),dt(i)&&c(e,t)):e.isComment?e.elm=x.createComment(e.text):e.elm=x.createTextNode(e.text),e.elm}function o(e,t,n){if(Array.isArray(t))for(var r=0;rv?(l=ft(n[y+1])?null:n[y+1].elm,f(e,l,n,d,y,r)):d>y&&p(e,t,u,v)}function m(e,t,n,r){if(e!==t){if(t.isStatic&&e.isStatic&&t.key===e.key&&(t.isCloned||t.isOnce))return void(t.elm=e.elm);var i,a=t.data,o=dt(a);o&&dt(i=a.hook)&&dt(i=i.prepatch)&&i(e,t);var c=t.elm=e.elm,l=e.children,u=t.children;if(o&&s(t)){for(i=0;i<$.update.length;++i)$.update[i](e,t);dt(i=a.hook)&&dt(i=i.update)&&i(e,t)}ft(t.text)?dt(l)&&dt(u)?l!==u&&h(c,l,u,n,r):dt(u)?(dt(e.text)&&x.setTextContent(c,""),f(c,null,u,0,u.length-1,n)):dt(l)?p(c,l,0,l.length-1):dt(e.text)&&x.setTextContent(c,""):e.text!==t.text&&x.setTextContent(c,t.text),o&&dt(i=a.hook)&&dt(i=i.postpatch)&&i(e,t)}}function g(e,t,n){if(n&&e.parent)e.parent.data.pendingInsert=t;else for(var r=0;r-1?t.split(/\s+/).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" "+e.getAttribute("class")+" ";n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function Et(e,t){if(t&&t.trim())if(e.classList)t.indexOf(" ")>-1?t.split(/\s+/).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t);else{for(var n=" "+e.getAttribute("class")+" ",r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");e.setAttribute("class",n.trim())}}function jt(e){ga(function(){ga(e)})}function Nt(e,t){(e._transitionClasses||(e._transitionClasses=[])).push(t),Tt(e,t)}function Lt(e,t){e._transitionClasses&&r(e._transitionClasses,t),Et(e,t)}function Dt(e,t,n){var r=Mt(e,t),i=r.type,a=r.timeout,o=r.propCount;if(!i)return n();var s=i===fa?va:ma,c=0,l=function(){e.removeEventListener(s,u),n()},u=function(t){t.target===e&&++c>=o&&l()};setTimeout(function(){c0&&(n=fa,u=o,f=a.length):t===da?l>0&&(n=da,u=l,f=c.length):(u=Math.max(o,l),n=u>0?o>l?fa:da:null,f=n?n===fa?a.length:c.length:0);var d=n===fa&&ya.test(r[pa+"Property"]);return{type:n,timeout:u,propCount:f,hasTransform:d}}function Pt(e,t){for(;e.length1,S=t._enterCb=Ht(function(){A&&Lt(t,$),S.cancelled?(A&&Lt(t,b),k&&k(t)):C&&C(t),t._enterCb=null});e.data.show||K(e.data.hook||(e.data.hook={}),"insert",function(){var n=t.parentNode,r=n&&n._pending&&n._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),x&&x(t,S)},"transition-insert"),w&&w(t),A&&(Nt(t,b),Nt(t,$),jt(function(){Lt(t,b),S.cancelled||O||Dt(t,i,S)})),e.data.show&&x&&x(t,S),A||O||S()}}}function Bt(e,t){function n(){m.cancelled||(e.data.show||((r.parentNode._pending||(r.parentNode._pending={}))[e.key]=e),l&&l(r),v&&(Nt(r,s),Nt(r,c),jt(function(){Lt(r,s),m.cancelled||h||Dt(r,o,m)})),u&&u(r,m),v||h||m())}var r=e.elm;r._enterCb&&(r._enterCb.cancelled=!0,r._enterCb());var i=Ft(e.data.transition);if(!i)return t();if(!r._leaveCb&&1===r.nodeType){var a=i.css,o=i.type,s=i.leaveClass,c=i.leaveActiveClass,l=i.beforeLeave,u=i.leave,f=i.afterLeave,d=i.leaveCancelled,p=i.delayLeave,v=a!==!1&&!Wr,h=u&&(u._length||u.length)>1,m=r._leaveCb=Ht(function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[e.key]=null),v&&Lt(r,c),m.cancelled?(v&&Lt(r,s),d&&d(r)):(t(),f&&f(r)),r._leaveCb=null});p?p(n):n()}}function Ft(e){if(e){if("object"==typeof e){var t={};return e.css!==!1&&l(t,_a(e.name||"v")),l(t,e),t}return"string"==typeof e?_a(e):void 0}}function Ht(e){var t=!1;return function(){t||(t=!0,e())}}function Ut(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var a,o,s=0,c=e.options.length;s-1,o.selected!==a&&(o.selected=a);else if(h(Vt(o),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function zt(e,t){ for(var n=0,r=t.length;n',n.innerHTML.indexOf(t)>0}function rn(e){return Na=Na||document.createElement("div"),Na.innerHTML=e,Na.textContent}function an(e,t){return t&&(e=e.replace(Co,"\n")),e.replace(wo,"<").replace(xo,">").replace(ko,"&").replace(Ao,'"')}function on(e,t){function n(t){f+=t,e=e.substring(t)}function r(){var t=e.match(Fa);if(t){var r={tagName:t[1],attrs:[],start:f};n(t[0].length);for(var i,a;!(i=e.match(Ha))&&(a=e.match(Ia));)n(a[0].length),r.attrs.push(a);if(i)return r.unarySlash=i[1],n(i[0].length),r.end=f,r}}function i(e){var n=e.tagName,r=e.unarySlash;l&&("p"===s&&Ui(n)&&a("",s),Hi(n)&&s===n&&a("",n));for(var i=u(n)||"html"===n&&"head"===s||!!r,o=e.attrs.length,f=new Array(o),d=0;d=0&&c[a].tag.toLowerCase()!==o;a--);}else a=0;if(a>=0){for(var l=c.length-1;l>=a;l--)t.end&&t.end(c[l].tag,r,i);c.length=a,s=a&&c[a-1].tag}else"br"===n.toLowerCase()?t.start&&t.start(n,[],!0,r,i):"p"===n.toLowerCase()&&(t.start&&t.start(n,[],!1,r,i),t.end&&t.end(n,r,i))}for(var o,s,c=[],l=t.expectHTML,u=t.isUnaryTag||Hr,f=0;e;){if(o=e,s&&bo(s,t.sfc,c)){var d=s.toLowerCase(),p=$o[d]||($o[d]=new RegExp("([\\s\\S]*?)(]*>)","i")),v=0,h=e.replace(p,function(e,n,r){return v=r.length,"script"!==d&&"style"!==d&&"noscript"!==d&&(n=n.replace(//g,"$1").replace(//g,"$1")),t.chars&&t.chars(n),""});f+=e.length-h.length,e=h,a("",d,f-v,f)}else{var m=e.indexOf("<");if(0===m){if(Va.test(e)){var g=e.indexOf("-->");if(g>=0){n(g+3);continue}}if(Ja.test(e)){var y=e.indexOf("]>");if(y>=0){n(y+2);continue}}var _=e.match(za);if(_){n(_[0].length);continue}var b=e.match(Ua);if(b){var $=f;n(b[0].length),a(b[0],b[1],$,f);continue}var w=r();if(w){i(w);continue}}var x=void 0,C=void 0,k=void 0;if(m>0){for(C=e.slice(m);!(Ua.test(C)||Fa.test(C)||Va.test(C)||Ja.test(C)||(k=C.indexOf("<",1),k<0));)m+=k,C=e.slice(m);x=e.substring(0,m),n(m)}m<0&&(x=e,e=""),t.chars&&x&&t.chars(x)}if(e===o&&t.chars){t.chars(e);break}}a()}function sn(e){function t(){(o||(o=[])).push(e.slice(d,i).trim()),d=i+1}var n,r,i,a,o,s=!1,c=!1,l=0,u=0,f=0,d=0;for(i=0;io&&a.push(JSON.stringify(e.slice(o,i)));var s=sn(r[1].trim());a.push("_s("+s+")"),o=i+r[0].length}return o=Ka}function $n(e){return 34===e||39===e}function wn(e){var t=1;for(Ya=Ga;!bn();)if(e=_n(),$n(e))xn(e);else if(91===e&&t++,93===e&&t--,0===t){Qa=Ga;break}}function xn(e){for(var t=e;!bn()&&(e=_n(),e!==t););}function Cn(e,t){Xa=t.warn||un,eo=t.getTagNamespace||Hr,to=t.mustUseProp||Hr,no=t.isPreTag||Hr,ro=fn(t.modules,"preTransformNode"),io=fn(t.modules,"transformNode"),ao=fn(t.modules,"postTransformNode"),oo=t.delimiters;var n,r,i=[],a=t.preserveWhitespace!==!1,o=!1,s=!1;return on(e,{expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,shouldDecodeNewlines:t.shouldDecodeNewlines,start:function(e,a,c){function l(e){}var u=r&&r.ns||eo(e);t.isIE&&"svg"===u&&(a=Hn(a));var f={type:1,tag:e,attrsList:a,attrsMap:Rn(a,t.isIE),parent:r,children:[]};u&&(f.ns=u),Fn(f)&&(f.forbidden=!0);for(var d=0;d-1:_q("+t+","+a+")"),hn(e,"change","var $$a="+t+",$$el=$event.target,$$c=$$el.checked?("+a+"):("+o+");if(Array.isArray($$a)){var $$v="+(r?"_n("+i+")":i)+",$$i=_i($$a,$$v);if($$c){$$i<0&&("+t+"=$$a.concat($$v))}else{$$i>-1&&("+t+"=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{"+t+"=$$c}",null,!0)}function $r(e,t,n){var r=n&&n.number,i=mn(e,"value")||"null";i=r?"_n("+i+")":i,dn(e,"checked","_q("+t+","+i+")"),hn(e,"change",Cr(t,i),null,!0)}function wr(e,t,n){var r=e.attrsMap.type,i=n||{},a=i.lazy,o=i.number,s=i.trim,c=a||Kr&&"range"===r?"change":"input",l=!a&&"range"!==r,u="input"===e.tag||"textarea"===e.tag,f=u?"$event.target.value"+(s?".trim()":""):s?"(typeof $event === 'string' ? $event.trim() : $event)":"$event";f=o||"number"===r?"_n("+f+")":f;var d=Cr(t,f);u&&l&&(d="if($event.target.composing)return;"+d),dn(e,"value",u?"_s("+t+")":"("+t+")"),hn(e,c,d,null,!0)}function xr(e,t,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(r?"_n(val)":"val")+"})"+(null==e.attrsMap.multiple?"[0]":""),a=Cr(t,i);hn(e,"change",a,null,!0)}function Cr(e,t){var n=yn(e);return null===n.idx?e+"="+t:"var $$exp = "+n.exp+", $$idx = "+n.idx+";if (!Array.isArray($$exp)){"+e+"="+t+"}else{$$exp.splice($$idx, 1, "+t+")}"}function kr(e,t){t.value&&dn(e,"textContent","_s("+t.value+")")}function Ar(e,t){t.value&&dn(e,"innerHTML","_s("+t.value+")")}function Or(e,t){return t=t?l(l({},Yo),t):Yo,vr(e,t)}function Sr(e,t,n){var r=(t&&t.warn||Ci,t&&t.delimiters?String(t.delimiters)+e:e);if(Go[r])return Go[r];var i={},a=Or(e,t);i.render=Tr(a.render);var o=a.staticRenderFns.length;i.staticRenderFns=new Array(o);for(var s=0;s0,Zr=qr&&qr.indexOf("edge/")>0,Gr=qr&&qr.indexOf("android")>0,Yr=qr&&/iphone|ipad|ipod|ios/.test(qr),Qr=Jr&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Xr=function(){function e(){r=!1;var e=n.slice(0);n.length=0;for(var t=0;t=0,r=n?/;(?![^(]*\))/g:";",i=n?/:(.+)/:":";return e.split(r).forEach(function(e){if(e){var n=e.split(i);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}),aa=/^--/,oa=function(e,t,n){aa.test(t)?e.style.setProperty(t,n):e.style[ca(t)]=n},sa=["Webkit","Moz","ms"],ca=o(function(e){if(Ei=Ei||document.createElement("div"),e=Mr(e),"filter"!==e&&e in Ei.style)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n\/=]+)/,Ma=/(?:=)/,Pa=[/"([^"]*)"+/.source,/'([^']*)'+/.source,/([^\s"'=<>`]+)/.source],Ia=new RegExp("^\\s*"+Da.source+"(?:\\s*("+Ma.source+")\\s*(?:"+Pa.join("|")+"))?"),Ra="[a-zA-Z_][\\w\\-\\.]*",Ba="((?:"+Ra+"\\:)?"+Ra+")",Fa=new RegExp("^<"+Ba),Ha=/^\s*(\/?)>/,Ua=new RegExp("^<\\/"+Ba+"[^>]*>"),za=/^]+>/i,Va=/^