!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";var e=Object.freeze({});function t(e){return null==e}function n(e){return null!=e}function r(e){return!0===e}function o(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function i(e){return null!==e&&"object"==typeof e}var a=Object.prototype.toString;function s(e){return"[object Object]"===a.call(e)}function c(e){var t=parseFloat(String(e));return 0<=t&&Math.floor(t)===t&&isFinite(e)}function u(e){return null==e?"":"object"==typeof e?JSON.stringify(e,null,2):String(e)}function l(e){var t=parseFloat(e);return isNaN(t)?e:t}function f(e,t){for(var n=Object.create(null),r=e.split(","),o=0;oe.id;)n--;gt.splice(n+1,0,e)}else gt.push(e);wt||(wt=!0,We(Ct))}}(this)},kt.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||i(e)||this.deep){var t=this.value;if(this.value=e,this.user)try{this.cb.call(this.vm,e,t)}catch(e){Me(e,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,e,t)}}},kt.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},kt.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},kt.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1}};var Ot={enumerable:!0,configurable:!0,get:O,set:O};function Tt(e,t,n){Ot.get=function(){return this[t][n]},Ot.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Ot)}var jt={lazy:!0};function St(e,t,n){var r=!Q();"function"==typeof n?(Ot.get=r?Et(t):n,Ot.set=O):(Ot.get=n.get?r&&!1!==n.cache?Et(t):n.get:O,Ot.set=n.set?n.set:O),Object.defineProperty(e,t,Ot)}function Et(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ie.target&&t.depend(),t.value}}function Nt(e,t,n,r){return s(n)&&(n=(r=n).handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function Pt(e,t){if(e){for(var n=Object.create(null),r=ne?Reflect.ownKeys(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}):Object.keys(e),o=0;oparseInt(this.max)&&mn(a,s[0],s,this._vnode)),t.data.keepAlive=!0}return t||e&&e[0]}}};yn=pn,bn={get:function(){return M}},Object.defineProperty(yn,"config",bn),yn.util={warn:re,extend:A,mergeOptions:Se,defineReactive:we},yn.set=$e,yn.delete=xe,yn.nextTick=We,yn.options=Object.create(null),I.forEach(function(e){yn.options[e+"s"]=Object.create(null)}),A((yn.options._base=yn).options.components,wn),yn.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(-1=a&&u()};setTimeout(function(){c\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ei="[a-zA-Z_][\\w\\-\\.]*",ti="((?:"+ei+"\\:)?"+ei+")",ni=new RegExp("^<"+ti),ri=/^\s*(\/?)>/,oi=new RegExp("^<\\/"+ti+"[^>]*>"),ii=/^]+>/i,ai=/^",""":'"',"&":"&"," ":"\n"," ":"\t"},_i=/&(?:lt|gt|quot|amp);/g,wi=/&(?:lt|gt|quot|amp|#10|#9);/g,$i=f("pre,textarea",!0),xi=function(e,t){return e&&$i(e)&&"\n"===t[0]},Ci=/^@|^v-on:/,Ai=/^v-|^@|^:/,ki=/([^]*?)\s+(?:in|of)\s+([^]*)/,Oi=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Ti=/^\(|\)$/g,ji=/:(.*)$/,Si=/^:|^v-bind:/,Ei=/\.[^.]+/g,Ni=y(function(e){return(Jo=Jo||document.createElement("div")).innerHTML=e,Jo.textContent});function Pi(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:function(e){for(var t={},n=0,r=e.length;n-1"+("true"===d?":("+u+")":":_q("+u+","+d+")")),wr(c,"change","var $$a="+u+",$$el=$event.target,$$c=$$el.checked?("+d+"):("+v+");if(Array.isArray($$a)){var $$v="+(f?"_n("+p+")":p)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+Ar(u,"$$a.concat([$$v])")+")}else{$$i>-1&&("+Ar(u,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+Ar(u,"$$c")+"}",null,!0);else if("input"===b&&"radio"===_)r=e,o=y,a=(i=g)&&i.number,s=$r(r,"value")||"null",gr(r,"checked","_q("+o+","+(s=a?"_n("+s+")":s)+")"),wr(r,"change",Ar(o,s),null,!0);else if("input"===b||"textarea"===b)!function(e,t,n){var r=e.attrsMap.type,o=n||{},i=o.lazy,a=o.number,s=o.trim,c=!i&&"range"!==r,u=i?"change":"range"===r?Nr:"input",l="$event.target.value";s&&(l="$event.target.value.trim()"),a&&(l="_n("+l+")");var f=Ar(t,l);c&&(f="if($event.target.composing)return;"+f),gr(e,"value","("+t+")"),wr(e,u,f,null,!0),(s||a)&&wr(e,"blur","$forceUpdate()")}(e,y,g);else if(!M.isReservedTag(b))return Cr(e,y,g),!1;return!0},text:function(e,t){t.value&&gr(e,"textContent","_s("+t.value+")")},html:function(e,t){t.value&&gr(e,"innerHTML","_s("+t.value+")")}},isPreTag:function(e){return"pre"===e},isUnaryTag:Go,mustUseProp:Cn,canBeLeftOpenTag:Zo,isReservedTag:Dn,getTagNamespace:Rn,staticKeys:(Hi=Ji,Hi.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(","))},zi=y(function(e){return f("type,tag,attrsList,attrsMap,plain,parent,children,attrs"+(e?","+e:""))});var Ki=/^([\w$_]+|\([^)]*?\))\s*=>|^function\s*\(/,Wi=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,Xi={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},Gi={esc:"Escape",tab:"Tab",enter:"Enter",space:" ",up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete"]},Zi=function(e){return"if("+e+")return null;"},Qi={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:Zi("$event.target !== $event.currentTarget"),ctrl:Zi("!$event.ctrlKey"),shift:Zi("!$event.shiftKey"),alt:Zi("!$event.altKey"),meta:Zi("!$event.metaKey"),left:Zi("'button' in $event && $event.button !== 0"),middle:Zi("'button' in $event && $event.button !== 1"),right:Zi("'button' in $event && $event.button !== 2")};function Yi(e,t,n){var r=t?"nativeOn:{":"on:{";for(var o in e)r+='"'+o+'":'+ea(o,e[o])+",";return r.slice(0,-1)+"}"}function ea(e,t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map(function(t){return ea(e,t)}).join(",")+"]";var n=Wi.test(t.value),r=Ki.test(t.value);if(t.modifiers){var o="",i="",a=[];for(var s in t.modifiers)if(Qi[s])i+=Qi[s],Xi[s]&&a.push(s);else if("exact"===s){var c=t.modifiers;i+=Zi(["ctrl","shift","alt","meta"].filter(function(e){return!c[e]}).map(function(e){return"$event."+e+"Key"}).join("||"))}else a.push(s);return a.length&&(o+="if(!('button' in $event)&&"+a.map(ta).join("&&")+")return null;"),i&&(o+=i),"function($event){"+o+(n?"return "+t.value+"($event)":r?"return ("+t.value+")($event)":t.value)+"}"}return n||r?t.value:"function($event){"+t.value+"}"}function ta(e){var t=parseInt(e,10);if(t)return"$event.keyCode!=="+t;var n=Xi[e],r=Gi[e];return"_k($event.keyCode,"+JSON.stringify(e)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(r)+")"}var na={on:function(e,t){e.wrapListeners=function(e){return"_g("+e+","+t.value+")"}},bind:function(e,t){e.wrapData=function(n){return"_b("+n+",'"+e.tag+"',"+t.value+","+(t.modifiers&&t.modifiers.prop?"true":"false")+(t.modifiers&&t.modifiers.sync?",true":"")+")"}},cloak:O},ra=function(e){this.options=e,this.warn=e.warn||mr,this.transforms=yr(e.modules,"transformCode"),this.dataGenFns=yr(e.modules,"genData"),this.directives=A(A({},na),e.directives);var t=e.isReservedTag||T;this.maybeComponent=function(e){return!t(e.tag)},this.onceId=0,this.staticRenderFns=[]};function oa(e,t){var n=new ra(t);return{render:"with(this){return "+(e?ia(e,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function ia(e,t){if(e.staticRoot&&!e.staticProcessed)return aa(e,t);if(e.once&&!e.onceProcessed)return sa(e,t);if(e.for&&!e.forProcessed)return f=t,p=(l=e).for,d=l.alias,v=l.iterator1?","+l.iterator1:"",h=l.iterator2?","+l.iterator2:"",l.forProcessed=!0,"_l(("+p+"),function("+d+v+h+"){return "+ia(l,f)+"})";if(e.if&&!e.ifProcessed)return ca(e,t);if("template"!==e.tag||e.slotTarget){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=la(e,t),o="_t("+n+(r?","+r:""),i=e.attrs&&"{"+e.attrs.map(function(e){return b(e.name)+":"+e.value}).join(",")+"}",a=e.attrsMap["v-bind"];return!i&&!a||r||(o+=",null"),i&&(o+=","+i),a&&(o+=(i?"":",null")+","+a),o+")"}(e,t);var n;if(e.component)a=e.component,c=t,u=(s=e).inlineTemplate?null:la(s,c,!0),n="_c("+a+","+ua(s,c)+(u?","+u:"")+")";else{var r=e.plain?void 0:ua(e,t),o=e.inlineTemplate?null:la(e,t,!0);n="_c('"+e.tag+"'"+(r?","+r:"")+(o?","+o:"")+")"}for(var i=0;i]*>)","i")),p=e.replace(f,function(e,n,r){return u=r.length,yi(l)||"noscript"===l||(n=n.replace(//g,"$1").replace(//g,"$1")),xi(l,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});c+=e.length-p.length,e=p,k(l,c-u,c)}else{var d=e.indexOf("<");if(0===d){if(ai.test(e)){var v=e.indexOf("--\x3e");if(0<=v){t.shouldKeepComment&&t.comment(e.substring(4,v)),x(v+3);continue}}if(si.test(e)){var h=e.indexOf("]>");if(0<=h){x(h+2);continue}}var m=e.match(ii);if(m){x(m[0].length);continue}var y=e.match(oi);if(y){var g=c;x(y[0].length),k(y[1],g,c);continue}var b=C();if(b){A(b),xi(r,e)&&x(1);continue}}var _=void 0,w=void 0,$=void 0;if(0<=d){for(w=e.slice(d);!(oi.test(w)||ni.test(w)||ai.test(w)||si.test(w)||($=w.indexOf("<",1))<0);)d+=$,w=e.slice(d);_=e.substring(0,d),x(d)}d<0&&(_=e,e=""),t.chars&&_&&t.chars(_)}if(e===n){t.chars&&t.chars(e);break}}function x(t){c+=t,e=e.substring(t)}function C(){var t=e.match(ni);if(t){var n,r,o={tagName:t[1],attrs:[],start:c};for(x(t[0].length);!(n=e.match(ri))&&(r=e.match(Yo));)x(r[0].length),o.attrs.push(r);if(n)return o.unarySlash=n[1],x(n[0].length),o.end=c,o}}function A(e){var n=e.tagName,c=e.unarySlash;i&&("p"===r&&Qo(n)&&k(r),s(n)&&r===n&&k(n));for(var u,l,f,p=a(n)||!!c,d=e.attrs.length,v=new Array(d),h=0;h':'
',0=200&&s<300,this.status=s||0,this.statusText=c||"",this.headers=new N(a),this.body=e,d(e)?this.bodyText=e:"undefined"!=typeof Blob&&e instanceof Blob&&(this.bodyBlob=e,(0===(o=e).type.indexOf("text")||-1!==o.type.indexOf("json"))&&(this.bodyText=(n=e,new r(function(e){var t=new FileReader;t.readAsText(n),t.onload=function(){e(t.result)}}))))};I.prototype.blob=function(){return y(this.bodyBlob)},I.prototype.text=function(){return y(this.bodyText)},I.prototype.json=function(){return y(this.text(),function(e){return JSON.parse(e)})},Object.defineProperty(I.prototype,"data",{get:function(){return this.body},set:function(e){this.body=e}});var L=function(e){var t;this.body=null,this.params={},_(this,e,{method:(t=e.method||"GET",t?t.toUpperCase():"")}),this.headers instanceof N||(this.headers=new N(this.headers))};L.prototype.getUrl=function(){return O(this)},L.prototype.getBody=function(){return this.body},L.prototype.respondWith=function(e,t){return new I(e,_(t||{},{url:this.getUrl()}))};var M={"Content-Type":"application/json;charset=utf-8"};function D(e){var t=this||{},n=function(e){var t=[E],n=[];function o(o){for(;t.length;){var i=t.pop();if(v(i)){var a=void 0,s=void 0;if(h(a=i.call(e,o,function(e){return s=e})||s))return new r(function(t,r){n.forEach(function(t){a=y(a,function(n){return t.call(e,n)||n},r)}),y(a,t,r)},e);v(a)&&n.unshift(a)}else u="Invalid interceptor of type "+typeof i+", must be a function","undefined"!=typeof console&&c&&console.warn("[VueResource warn]: "+u)}var u}return h(e)||(e=null),o.use=function(e){t.push(e)},o}(t.$vm);return function(e){s.call(arguments,1).forEach(function(t){for(var n in t)void 0===e[n]&&(e[n]=t[n])})}(e||{},t.$options,D.options),D.interceptors.forEach(function(e){d(e)&&(e=D.interceptor[e]),v(e)&&n.use(e)}),n(new L(e)).then(function(e){return e.ok?e:r.reject(e)},function(e){var t;return e instanceof Error&&(t=e,"undefined"!=typeof console&&console.error(t)),r.reject(e)})}function R(e,t,n,r){var o=this||{},i={};return b(n=_({},R.actions,n),function(n,a){n=w({url:e,params:_({},t)},r,n),i[a]=function(){return(o.$http||D)(function(e,t){var n,r=_({},e),o={};switch(t.length){case 2:o=t[0],n=t[1];break;case 1:/^(POST|PUT|PATCH)$/i.test(r.method)?n=t[0]:o=t[0];break;case 0:break;default:throw"Expected up to 2 arguments [params, body], got "+t.length+" arguments"}return r.body=n,r.params=_({},r.params,o),r}(n,arguments))}}),i}function F(e){var t,n,o;F.installed||(n=(t=e).config,o=t.nextTick,i=o,c=n.debug||!n.silent,e.url=O,e.http=D,e.resource=R,e.Promise=r,Object.defineProperties(e.prototype,{$url:{get:function(){return g(e.url,this,this.$options.url)}},$http:{get:function(){return g(e.http,this,this.$options.http)}},$resource:{get:function(){return e.resource.bind(this)}},$promise:{get:function(){var t=this;return function(n){return new e.Promise(n,t)}}}}))}return D.options={},D.headers={put:M,post:M,patch:M,delete:M,common:{Accept:"application/json, text/plain, */*"},custom:{}},D.interceptor={before:function(e){v(e.before)&&e.before.call(this,e)},method:function(e){e.emulateHTTP&&/^(PUT|PATCH|DELETE)$/i.test(e.method)&&(e.headers.set("X-HTTP-Method-Override",e.method),e.method="POST")},jsonp:function(e){"JSONP"==e.method&&(e.client=S)},json:function(e){var t=e.headers.get("Content-Type")||"";return h(e.body)&&0===t.indexOf("application/json")&&(e.body=JSON.stringify(e.body)),function(e){return e.bodyText?y(e.text(),function(t){var n,r;if(0===(e.headers.get("Content-Type")||"").indexOf("application/json")||(r=(n=t).match(/^\s*(\[|\{)/))&&{"[":/]\s*$/,"{":/}\s*$/}[r[1]].test(n))try{e.body=JSON.parse(t)}catch(t){e.body=null}else e.body=t;return e}):e}},form:function(e){var t;t=e.body,"undefined"!=typeof FormData&&t instanceof FormData?e.headers.delete("Content-Type"):h(e.body)&&e.emulateJSON&&(e.body=O.params(e.body),e.headers.set("Content-Type","application/x-www-form-urlencoded"))},header:function(e){b(_({},D.headers.common,e.crossOrigin?{}:D.headers.custom,D.headers[f(e.method)]),function(t,n){e.headers.has(n)||e.headers.set(n,t)})},cors:function(e){if(u){var t=O.parse(location.href),n=O.parse(e.getUrl());n.protocol===t.protocol&&n.host===t.host||(e.crossOrigin=!0,e.emulateHTTP=!1,j||(e.client=T))}}},D.interceptors=["before","method","jsonp","json","form","header","cors"],["get","delete","head","jsonp"].forEach(function(e){D[e]=function(t,n){return this(_(n||{},{url:t,method:e}))}}),["post","put","patch"].forEach(function(e){D[e]=function(t,n,r){return this(_(r||{},{url:t,method:e,body:n}))}}),R.actions={get:{method:"GET"},save:{method:"POST"},query:{method:"GET"},update:{method:"PUT"},remove:{method:"DELETE"},delete:{method:"DELETE"}},"undefined"!=typeof window&&window.Vue&&window.Vue.use(F),F}),function(){var e={install:function(e){function t(e){if(!e||"object"!=typeof e||"[object Function]"===Object.prototype.toString.call(e))return e;if(e.nodeType&&"cloneNode"in e)return e.cloneNode(!0);if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp)return new RegExp(e);var n,r,o;if(e instanceof Array)for(n=[],r=0,o=e.length;r