92 lines
134 KiB
JavaScript
92 lines
134 KiB
JavaScript
!function(t){function e(e){for(var n,o,i=e[0],a=e[1],s=0,c=[];s<i.length;s++)o=i[s],r[o]&&c.push(r[o][0]),r[o]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(t[n]=a[n]);for(u&&u(e);c.length;)c.shift()()}var n={},r={2:0};function o(e){if(n[e])return n[e].exports;var r=n[e]={i:e,l:!1,exports:{}};return t[e].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(t){var e=[],n=r[t];if(0!==n)if(n)e.push(n[2]);else{var i=new Promise(function(e,o){n=r[t]=[e,o]});e.push(n[2]=i);var a,s=document.createElement("script");s.charset="utf-8",s.timeout=120,o.nc&&s.setAttribute("nonce",o.nc),s.src=function(t){return o.p+"vue-"+({}[t]||t)+".js"}(t),a=function(e){s.onerror=s.onload=null,clearTimeout(u);var n=r[t];if(0!==n){if(n){var o=e&&("load"===e.type?"missing":e.type),i=e&&e.target&&e.target.src,a=new Error("Loading chunk "+t+" failed.\n("+o+": "+i+")");a.type=o,a.request=i,n[1](a)}r[t]=void 0}};var u=setTimeout(function(){a({type:"timeout",target:s})},12e4);s.onerror=s.onload=a,document.head.appendChild(s)}return Promise.all(e)},o.m=t,o.c=n,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="/",o.oe=function(t){throw console.error(t),t};var i=window.webpackJsonp=window.webpackJsonp||[],a=i.push.bind(i);i.push=e,i=i.slice();for(var s=0;s<i.length;s++)e(i[s]);var u=a;o(o.s=43)}([function(t,e,n){"use strict";var r=n(3),o=n.n(r),i=n(38),a=n.n(i),s=function(t){return t.replace(/\/$/,"")};e.a={requireAdmin:function(){return a()()},get:function(t){return o.a.get(s(t))},post:function(t,e){return o.a.post(s(t),e)},patch:function(t,e){return o.a.patch(s(t),e)},put:function(t,e){return o.a.put(s(t),e)},delete:function(t,e){return o.a.delete(s(t),{data:e})}}},function(t,e,n){"use strict";var r=n(8),o=n(19),i=Object.prototype.toString;function a(t){return"[object Array]"===i.call(t)}function s(t){return null!==t&&"object"==typeof t}function u(t){return"[object Function]"===i.call(t)}function c(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),a(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.call(null,t[o],o,t)}t.exports={isArray:a,isArrayBuffer:function(t){return"[object ArrayBuffer]"===i.call(t)},isBuffer:o,isFormData:function(t){return"undefined"!=typeof FormData&&t instanceof FormData},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&t.buffer instanceof ArrayBuffer},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:s,isUndefined:function(t){return void 0===t},isDate:function(t){return"[object Date]"===i.call(t)},isFile:function(t){return"[object File]"===i.call(t)},isBlob:function(t){return"[object Blob]"===i.call(t)},isFunction:u,isStream:function(t){return s(t)&&u(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:c,merge:function t(){var e={};function n(n,r){"object"==typeof e[r]&&"object"==typeof n?e[r]=t(e[r],n):e[r]=n}for(var r=0,o=arguments.length;r<o;r++)c(arguments[r],n);return e},extend:function(t,e,n){return c(e,function(e,o){t[o]=n&&"function"==typeof e?r(e,n):e}),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(t,e,n){"use strict";(function(t,n){
|
|
/*!
|
|
* Vue.js v2.5.22
|
|
* (c) 2014-2019 Evan You
|
|
* Released under the MIT License.
|
|
*/
|
|
var r=Object.freeze({});function o(t){return null==t}function i(t){return null!=t}function a(t){return!0===t}function s(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function u(t){return null!==t&&"object"==typeof t}var c=Object.prototype.toString;function f(t){return"[object Object]"===c.call(t)}function p(t){return"[object RegExp]"===c.call(t)}function l(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function d(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function h(t){var e=parseFloat(t);return isNaN(e)?t:e}function v(t,e){for(var n=Object.create(null),r=t.split(","),o=0;o<r.length;o++)n[r[o]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}v("slot,component",!0);var m=v("key,ref,slot,slot-scope,is");function y(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var g=Object.prototype.hasOwnProperty;function _(t,e){return g.call(t,e)}function b(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var w=/-(\w)/g,A=b(function(t){return t.replace(w,function(t,e){return e?e.toUpperCase():""})}),C=b(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),O=/\B([A-Z])/g,x=b(function(t){return t.replace(O,"-$1").toLowerCase()});var k=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var r=arguments.length;return r?r>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function E(t,e){e=e||0;for(var n=t.length-e,r=new Array(n);n--;)r[n]=t[n+e];return r}function S(t,e){for(var n in e)t[n]=e[n];return t}function $(t){for(var e={},n=0;n<t.length;n++)t[n]&&S(e,t[n]);return e}function T(t,e,n){}var I=function(t,e,n){return!1},j=function(t){return t};function P(t,e){if(t===e)return!0;var n=u(t),r=u(e);if(!n||!r)return!n&&!r&&String(t)===String(e);try{var o=Array.isArray(t),i=Array.isArray(e);if(o&&i)return t.length===e.length&&t.every(function(t,n){return P(t,e[n])});if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(o||i)return!1;var a=Object.keys(t),s=Object.keys(e);return a.length===s.length&&a.every(function(n){return P(t[n],e[n])})}catch(t){return!1}}function L(t,e){for(var n=0;n<t.length;n++)if(P(t[n],e))return n;return-1}function U(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var R="data-server-rendered",M=["component","directive","filter"],D=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],N={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:I,isReservedAttr:I,isUnknownElement:I,getTagNamespace:T,parsePlatformTagName:j,mustUseProp:I,async:!0,_lifecycleHooks:D};function q(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var F=/[^\w.$]/;var B,H="__proto__"in{},V="undefined"!=typeof window,G="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,z=G&&WXEnvironment.platform.toLowerCase(),X=V&&window.navigator.userAgent.toLowerCase(),K=X&&/msie|trident/.test(X),W=X&&X.indexOf("msie 9.0")>0,J=X&&X.indexOf("edge/")>0,Y=(X&&X.indexOf("android"),X&&/iphone|ipad|ipod|ios/.test(X)||"ios"===z),Q=(X&&/chrome\/\d+/.test(X),{}.watch),Z=!1;if(V)try{var tt={};Object.defineProperty(tt,"passive",{get:function(){Z=!0}}),window.addEventListener("test-passive",null,tt)}catch(t){}var et=function(){return void 0===B&&(B=!V&&!G&&void 0!==t&&(t.process&&"server"===t.process.env.VUE_ENV)),B},nt=V&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function rt(t){return"function"==typeof t&&/native code/.test(t.toString())}var ot,it="undefined"!=typeof Symbol&&rt(Symbol)&&"undefined"!=typeof Reflect&&rt(Reflect.ownKeys);ot="undefined"!=typeof Set&&rt(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var at=T,st=0,ut=function(){this.id=st++,this.subs=[]};ut.prototype.addSub=function(t){this.subs.push(t)},ut.prototype.removeSub=function(t){y(this.subs,t)},ut.prototype.depend=function(){ut.target&&ut.target.addDep(this)},ut.prototype.notify=function(){var t=this.subs.slice();for(var e=0,n=t.length;e<n;e++)t[e].update()},ut.target=null;var ct=[];function ft(t){ct.push(t),ut.target=t}function pt(){ct.pop(),ut.target=ct[ct.length-1]}var lt=function(t,e,n,r,o,i,a,s){this.tag=t,this.data=e,this.children=n,this.text=r,this.elm=o,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=a,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},dt={child:{configurable:!0}};dt.child.get=function(){return this.componentInstance},Object.defineProperties(lt.prototype,dt);var ht=function(t){void 0===t&&(t="");var e=new lt;return e.text=t,e.isComment=!0,e};function vt(t){return new lt(void 0,void 0,void 0,String(t))}function mt(t){var e=new lt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var yt=Array.prototype,gt=Object.create(yt);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=yt[t];q(gt,t,function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];var o,i=e.apply(this,n),a=this.__ob__;switch(t){case"push":case"unshift":o=n;break;case"splice":o=n.slice(2)}return o&&a.observeArray(o),a.dep.notify(),i})});var _t=Object.getOwnPropertyNames(gt),bt=!0;function wt(t){bt=t}var At=function(t){var e;this.value=t,this.dep=new ut,this.vmCount=0,q(t,"__ob__",this),Array.isArray(t)?(H?(e=gt,t.__proto__=e):function(t,e,n){for(var r=0,o=n.length;r<o;r++){var i=n[r];q(t,i,e[i])}}(t,gt,_t),this.observeArray(t)):this.walk(t)};function Ct(t,e){var n;if(u(t)&&!(t instanceof lt))return _(t,"__ob__")&&t.__ob__ instanceof At?n=t.__ob__:bt&&!et()&&(Array.isArray(t)||f(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new At(t)),e&&n&&n.vmCount++,n}function Ot(t,e,n,r,o){var i=new ut,a=Object.getOwnPropertyDescriptor(t,e);if(!a||!1!==a.configurable){var s=a&&a.get,u=a&&a.set;s&&!u||2!==arguments.length||(n=t[e]);var c=!o&&Ct(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=s?s.call(t):n;return ut.target&&(i.depend(),c&&(c.dep.depend(),Array.isArray(e)&&function t(e){for(var n=void 0,r=0,o=e.length;r<o;r++)(n=e[r])&&n.__ob__&&n.__ob__.dep.depend(),Array.isArray(n)&&t(n)}(e))),e},set:function(e){var r=s?s.call(t):n;e===r||e!=e&&r!=r||s&&!u||(u?u.call(t,e):n=e,c=!o&&Ct(e),i.notify())}})}}function xt(t,e,n){if(Array.isArray(t)&&l(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var r=t.__ob__;return t._isVue||r&&r.vmCount?n:r?(Ot(r.value,e,n),r.dep.notify(),n):(t[e]=n,n)}function kt(t,e){if(Array.isArray(t)&&l(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||_(t,e)&&(delete t[e],n&&n.dep.notify())}}At.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)Ot(t,e[n])},At.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)Ct(t[e])};var Et=N.optionMergeStrategies;function St(t,e){if(!e)return t;for(var n,r,o,i=Object.keys(e),a=0;a<i.length;a++)r=t[n=i[a]],o=e[n],_(t,n)?r!==o&&f(r)&&f(o)&&St(r,o):xt(t,n,o);return t}function $t(t,e,n){return n?function(){var r="function"==typeof e?e.call(n,n):e,o="function"==typeof t?t.call(n,n):t;return r?St(r,o):o}:e?t?function(){return St("function"==typeof e?e.call(this,this):e,"function"==typeof t?t.call(this,this):t)}:e:t}function Tt(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(n):n}function It(t,e,n,r){var o=Object.create(t||null);return e?S(o,e):o}Et.data=function(t,e,n){return n?$t(t,e,n):e&&"function"!=typeof e?t:$t(t,e)},D.forEach(function(t){Et[t]=Tt}),M.forEach(function(t){Et[t+"s"]=It}),Et.watch=function(t,e,n,r){if(t===Q&&(t=void 0),e===Q&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var o={};for(var i in S(o,t),e){var a=o[i],s=e[i];a&&!Array.isArray(a)&&(a=[a]),o[i]=a?a.concat(s):Array.isArray(s)?s:[s]}return o},Et.props=Et.methods=Et.inject=Et.computed=function(t,e,n,r){if(!t)return e;var o=Object.create(null);return S(o,t),e&&S(o,e),o},Et.provide=$t;var jt=function(t,e){return void 0===e?t:e};function Pt(t,e,n){if("function"==typeof e&&(e=e.options),function(t,e){var n=t.props;if(n){var r,o,i={};if(Array.isArray(n))for(r=n.length;r--;)"string"==typeof(o=n[r])&&(i[A(o)]={type:null});else if(f(n))for(var a in n)o=n[a],i[A(a)]=f(o)?o:{type:o};t.props=i}}(e),function(t,e){var n=t.inject;if(n){var r=t.inject={};if(Array.isArray(n))for(var o=0;o<n.length;o++)r[n[o]]={from:n[o]};else if(f(n))for(var i in n){var a=n[i];r[i]=f(a)?S({from:i},a):{from:a}}}}(e),function(t){var e=t.directives;if(e)for(var n in e){var r=e[n];"function"==typeof r&&(e[n]={bind:r,update:r})}}(e),!e._base&&(e.extends&&(t=Pt(t,e.extends,n)),e.mixins))for(var r=0,o=e.mixins.length;r<o;r++)t=Pt(t,e.mixins[r],n);var i,a={};for(i in t)s(i);for(i in e)_(t,i)||s(i);function s(r){var o=Et[r]||jt;a[r]=o(t[r],e[r],n,r)}return a}function Lt(t,e,n,r){if("string"==typeof n){var o=t[e];if(_(o,n))return o[n];var i=A(n);if(_(o,i))return o[i];var a=C(i);return _(o,a)?o[a]:o[n]||o[i]||o[a]}}function Ut(t,e,n,r){var o=e[t],i=!_(n,t),a=n[t],s=Dt(Boolean,o.type);if(s>-1)if(i&&!_(o,"default"))a=!1;else if(""===a||a===x(t)){var u=Dt(String,o.type);(u<0||s<u)&&(a=!0)}if(void 0===a){a=function(t,e,n){if(!_(e,"default"))return;var r=e.default;0;if(t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n])return t._props[n];return"function"==typeof r&&"Function"!==Rt(e.type)?r.call(t):r}(r,o,t);var c=bt;wt(!0),Ct(a),wt(c)}return a}function Rt(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function Mt(t,e){return Rt(t)===Rt(e)}function Dt(t,e){if(!Array.isArray(e))return Mt(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(Mt(e[n],t))return n;return-1}function Nt(t,e,n){if(e)for(var r=e;r=r.$parent;){var o=r.$options.errorCaptured;if(o)for(var i=0;i<o.length;i++)try{if(!1===o[i].call(r,t,e,n))return}catch(t){qt(t,r,"errorCaptured hook")}}qt(t,e,n)}function qt(t,e,n){if(N.errorHandler)try{return N.errorHandler.call(null,t,e,n)}catch(t){Ft(t,null,"config.errorHandler")}Ft(t,e,n)}function Ft(t,e,n){if(!V&&!G||"undefined"==typeof console)throw t;console.error(t)}var Bt,Ht,Vt=[],Gt=!1;function zt(){Gt=!1;var t=Vt.slice(0);Vt.length=0;for(var e=0;e<t.length;e++)t[e]()}var Xt=!1;if(void 0!==n&&rt(n))Ht=function(){n(zt)};else if("undefined"==typeof MessageChannel||!rt(MessageChannel)&&"[object MessageChannelConstructor]"!==MessageChannel.toString())Ht=function(){setTimeout(zt,0)};else{var Kt=new MessageChannel,Wt=Kt.port2;Kt.port1.onmessage=zt,Ht=function(){Wt.postMessage(1)}}if("undefined"!=typeof Promise&&rt(Promise)){var Jt=Promise.resolve();Bt=function(){Jt.then(zt),Y&&setTimeout(T)}}else Bt=Ht;function Yt(t,e){var n;if(Vt.push(function(){if(t)try{t.call(e)}catch(t){Nt(t,e,"nextTick")}else n&&n(e)}),Gt||(Gt=!0,Xt?Ht():Bt()),!t&&"undefined"!=typeof Promise)return new Promise(function(t){n=t})}var Qt=new ot;function Zt(t){!function t(e,n){var r,o;var i=Array.isArray(e);if(!i&&!u(e)||Object.isFrozen(e)||e instanceof lt)return;if(e.__ob__){var a=e.__ob__.dep.id;if(n.has(a))return;n.add(a)}if(i)for(r=e.length;r--;)t(e[r],n);else for(o=Object.keys(e),r=o.length;r--;)t(e[o[r]],n)}(t,Qt),Qt.clear()}var te,ee=b(function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),r="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=r?t.slice(1):t,once:n,capture:r,passive:e}});function ne(t){function e(){var t=arguments,n=e.fns;if(!Array.isArray(n))return n.apply(null,arguments);for(var r=n.slice(),o=0;o<r.length;o++)r[o].apply(null,t)}return e.fns=t,e}function re(t,e,n,r,i,s){var u,c,f,p;for(u in t)c=t[u],f=e[u],p=ee(u),o(c)||(o(f)?(o(c.fns)&&(c=t[u]=ne(c)),a(p.once)&&(c=t[u]=i(p.name,c,p.capture)),n(p.name,c,p.capture,p.passive,p.params)):c!==f&&(f.fns=c,t[u]=f));for(u in e)o(t[u])&&r((p=ee(u)).name,e[u],p.capture)}function oe(t,e,n){var r;t instanceof lt&&(t=t.data.hook||(t.data.hook={}));var s=t[e];function u(){n.apply(this,arguments),y(r.fns,u)}o(s)?r=ne([u]):i(s.fns)&&a(s.merged)?(r=s).fns.push(u):r=ne([s,u]),r.merged=!0,t[e]=r}function ie(t,e,n,r,o){if(i(e)){if(_(e,n))return t[n]=e[n],o||delete e[n],!0;if(_(e,r))return t[n]=e[r],o||delete e[r],!0}return!1}function ae(t){return s(t)?[vt(t)]:Array.isArray(t)?function t(e,n){var r=[];var u,c,f,p;for(u=0;u<e.length;u++)o(c=e[u])||"boolean"==typeof c||(f=r.length-1,p=r[f],Array.isArray(c)?c.length>0&&(se((c=t(c,(n||"")+"_"+u))[0])&&se(p)&&(r[f]=vt(p.text+c[0].text),c.shift()),r.push.apply(r,c)):s(c)?se(p)?r[f]=vt(p.text+c):""!==c&&r.push(vt(c)):se(c)&&se(p)?r[f]=vt(p.text+c.text):(a(e._isVList)&&i(c.tag)&&o(c.key)&&i(n)&&(c.key="__vlist"+n+"_"+u+"__"),r.push(c)));return r}(t):void 0}function se(t){return i(t)&&i(t.text)&&!1===t.isComment}function ue(t,e){return(t.__esModule||it&&"Module"===t[Symbol.toStringTag])&&(t=t.default),u(t)?e.extend(t):t}function ce(t){return t.isComment&&t.asyncFactory}function fe(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var n=t[e];if(i(n)&&(i(n.componentOptions)||ce(n)))return n}}function pe(t,e){te.$on(t,e)}function le(t,e){te.$off(t,e)}function de(t,e){var n=te;return function r(){null!==e.apply(null,arguments)&&n.$off(t,r)}}function he(t,e,n){te=t,re(e,n||{},pe,le,de),te=void 0}function ve(t,e){var n={};if(!t)return n;for(var r=0,o=t.length;r<o;r++){var i=t[r],a=i.data;if(a&&a.attrs&&a.attrs.slot&&delete a.attrs.slot,i.context!==e&&i.fnContext!==e||!a||null==a.slot)(n.default||(n.default=[])).push(i);else{var s=a.slot,u=n[s]||(n[s]=[]);"template"===i.tag?u.push.apply(u,i.children||[]):u.push(i)}}for(var c in n)n[c].every(me)&&delete n[c];return n}function me(t){return t.isComment&&!t.asyncFactory||" "===t.text}function ye(t,e){e=e||{};for(var n=0;n<t.length;n++)Array.isArray(t[n])?ye(t[n],e):e[t[n].key]=t[n].fn;return e}var ge=null;function _e(t){var e=ge;return ge=t,function(){ge=e}}function be(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function we(t,e){if(e){if(t._directInactive=!1,be(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)we(t.$children[n]);Ae(t,"activated")}}function Ae(t,e){ft();var n=t.$options[e];if(n)for(var r=0,o=n.length;r<o;r++)try{n[r].call(t)}catch(n){Nt(n,t,e+" hook")}t._hasHookEvent&&t.$emit("hook:"+e),pt()}var Ce=[],Oe=[],xe={},ke=!1,Ee=!1,Se=0;function $e(){var t,e;for(Ee=!0,Ce.sort(function(t,e){return t.id-e.id}),Se=0;Se<Ce.length;Se++)(t=Ce[Se]).before&&t.before(),e=t.id,xe[e]=null,t.run();var n=Oe.slice(),r=Ce.slice();Se=Ce.length=Oe.length=0,xe={},ke=Ee=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,we(t[e],!0)}(n),function(t){var e=t.length;for(;e--;){var n=t[e],r=n.vm;r._watcher===n&&r._isMounted&&!r._isDestroyed&&Ae(r,"updated")}}(r),nt&&N.devtools&&nt.emit("flush")}var Te=0,Ie=function(t,e,n,r,o){this.vm=t,o&&(t._watcher=this),t._watchers.push(this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++Te,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ot,this.newDepIds=new ot,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!F.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=T)),this.value=this.lazy?void 0:this.get()};Ie.prototype.get=function(){var t;ft(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Nt(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&Zt(t),pt(),this.cleanupDeps()}return t},Ie.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},Ie.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},Ie.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(t){var e=t.id;if(null==xe[e]){if(xe[e]=!0,Ee){for(var n=Ce.length-1;n>Se&&Ce[n].id>t.id;)n--;Ce.splice(n+1,0,t)}else Ce.push(t);ke||(ke=!0,Yt($e))}}(this)},Ie.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||u(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Nt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},Ie.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Ie.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},Ie.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||y(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var je={enumerable:!0,configurable:!0,get:T,set:T};function Pe(t,e,n){je.get=function(){return this[e][n]},je.set=function(t){this[e][n]=t},Object.defineProperty(t,n,je)}function Le(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[];t.$parent&&wt(!1);var i=function(i){o.push(i);var a=Ut(i,e,n,t);Ot(r,i,a),i in t||Pe(t,"_props",i)};for(var a in e)i(a);wt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?T:k(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;f(e=t._data="function"==typeof e?function(t,e){ft();try{return t.call(e,e)}catch(t){return Nt(t,e,"data()"),{}}finally{pt()}}(e,t):e||{})||(e={});var n=Object.keys(e),r=t.$options.props,o=(t.$options.methods,n.length);for(;o--;){var i=n[o];0,r&&_(r,i)||(a=void 0,36!==(a=(i+"").charCodeAt(0))&&95!==a&&Pe(t,"_data",i))}var a;Ct(e,!0)}(t):Ct(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),r=et();for(var o in e){var i=e[o],a="function"==typeof i?i:i.get;0,r||(n[o]=new Ie(t,a||T,T,Ue)),o in t||Re(t,o,i)}}(t,e.computed),e.watch&&e.watch!==Q&&function(t,e){for(var n in e){var r=e[n];if(Array.isArray(r))for(var o=0;o<r.length;o++)Ne(t,n,r[o]);else Ne(t,n,r)}}(t,e.watch)}var Ue={lazy:!0};function Re(t,e,n){var r=!et();"function"==typeof n?(je.get=r?Me(e):De(n),je.set=T):(je.get=n.get?r&&!1!==n.cache?Me(e):De(n.get):T,je.set=n.set||T),Object.defineProperty(t,e,je)}function Me(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),ut.target&&e.depend(),e.value}}function De(t){return function(){return t.call(this,this)}}function Ne(t,e,n,r){return f(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,r)}function qe(t,e){if(t){for(var n=Object.create(null),r=it?Reflect.ownKeys(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}):Object.keys(t),o=0;o<r.length;o++){for(var i=r[o],a=t[i].from,s=e;s;){if(s._provided&&_(s._provided,a)){n[i]=s._provided[a];break}s=s.$parent}if(!s)if("default"in t[i]){var u=t[i].default;n[i]="function"==typeof u?u.call(e):u}else 0}return n}}function Fe(t,e){var n,r,o,a,s;if(Array.isArray(t)||"string"==typeof t)for(n=new Array(t.length),r=0,o=t.length;r<o;r++)n[r]=e(t[r],r);else if("number"==typeof t)for(n=new Array(t),r=0;r<t;r++)n[r]=e(r+1,r);else if(u(t))for(a=Object.keys(t),n=new Array(a.length),r=0,o=a.length;r<o;r++)s=a[r],n[r]=e(t[s],s,r);return i(n)||(n=[]),n._isVList=!0,n}function Be(t,e,n,r){var o,i=this.$scopedSlots[t];i?(n=n||{},r&&(n=S(S({},r),n)),o=i(n)||e):o=this.$slots[t]||e;var a=n&&n.slot;return a?this.$createElement("template",{slot:a},o):o}function He(t){return Lt(this.$options,"filters",t)||j}function Ve(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function Ge(t,e,n,r,o){var i=N.keyCodes[e]||n;return o&&r&&!N.keyCodes[e]?Ve(o,r):i?Ve(i,t):r?x(r)!==e:void 0}function ze(t,e,n,r,o){if(n)if(u(n)){var i;Array.isArray(n)&&(n=$(n));var a=function(a){if("class"===a||"style"===a||m(a))i=t;else{var s=t.attrs&&t.attrs.type;i=r||N.mustUseProp(e,s,a)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var u=A(a);a in i||u in i||(i[a]=n[a],o&&((t.on||(t.on={}))["update:"+u]=function(t){n[a]=t}))};for(var s in n)a(s)}else;return t}function Xe(t,e){var n=this._staticTrees||(this._staticTrees=[]),r=n[t];return r&&!e?r:(We(r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),"__static__"+t,!1),r)}function Ke(t,e,n){return We(t,"__once__"+e+(n?"_"+n:""),!0),t}function We(t,e,n){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&Je(t[r],e+"_"+r,n);else Je(t,e,n)}function Je(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function Ye(t,e){if(e)if(f(e)){var n=t.on=t.on?S({},t.on):{};for(var r in e){var o=n[r],i=e[r];n[r]=o?[].concat(o,i):i}}else;return t}function Qe(t){t._o=Ke,t._n=h,t._s=d,t._l=Fe,t._t=Be,t._q=P,t._i=L,t._m=Xe,t._f=He,t._k=Ge,t._b=ze,t._v=vt,t._e=ht,t._u=ye,t._g=Ye}function Ze(t,e,n,o,i){var s,u=i.options;_(o,"_uid")?(s=Object.create(o))._original=o:(s=o,o=o._original);var c=a(u._compiled),f=!c;this.data=t,this.props=e,this.children=n,this.parent=o,this.listeners=t.on||r,this.injections=qe(u.inject,o),this.slots=function(){return ve(n,o)},c&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=t.scopedSlots||r),u._scopeId?this._c=function(t,e,n,r){var i=cn(s,t,e,n,r,f);return i&&!Array.isArray(i)&&(i.fnScopeId=u._scopeId,i.fnContext=o),i}:this._c=function(t,e,n,r){return cn(s,t,e,n,r,f)}}function tn(t,e,n,r,o){var i=mt(t);return i.fnContext=n,i.fnOptions=r,e.slot&&((i.data||(i.data={})).slot=e.slot),i}function en(t,e){for(var n in e)t[A(n)]=e[n]}Qe(Ze.prototype);var nn={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;nn.prepatch(n,n)}else{(t.componentInstance=function(t,e){var n={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;i(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns);return new t.componentOptions.Ctor(n)}(t,ge)).$mount(e?t.elm:void 0,e)}},prepatch:function(t,e){var n=e.componentOptions;!function(t,e,n,o,i){var a=!!(i||t.$options._renderChildren||o.data.scopedSlots||t.$scopedSlots!==r);if(t.$options._parentVnode=o,t.$vnode=o,t._vnode&&(t._vnode.parent=o),t.$options._renderChildren=i,t.$attrs=o.data.attrs||r,t.$listeners=n||r,e&&t.$options.props){wt(!1);for(var s=t._props,u=t.$options._propKeys||[],c=0;c<u.length;c++){var f=u[c],p=t.$options.props;s[f]=Ut(f,p,e,t)}wt(!0),t.$options.propsData=e}n=n||r;var l=t.$options._parentListeners;t.$options._parentListeners=n,he(t,n,l),a&&(t.$slots=ve(i,o.context),t.$forceUpdate())}(e.componentInstance=t.componentInstance,n.propsData,n.listeners,e,n.children)},insert:function(t){var e,n=t.context,r=t.componentInstance;r._isMounted||(r._isMounted=!0,Ae(r,"mounted")),t.data.keepAlive&&(n._isMounted?((e=r)._inactive=!1,Oe.push(e)):we(r,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?function t(e,n){if(!(n&&(e._directInactive=!0,be(e))||e._inactive)){e._inactive=!0;for(var r=0;r<e.$children.length;r++)t(e.$children[r]);Ae(e,"deactivated")}}(e,!0):e.$destroy())}},rn=Object.keys(nn);function on(t,e,n,s,c){if(!o(t)){var f=n.$options._base;if(u(t)&&(t=f.extend(t)),"function"==typeof t){var p;if(o(t.cid)&&void 0===(t=function(t,e,n){if(a(t.error)&&i(t.errorComp))return t.errorComp;if(i(t.resolved))return t.resolved;if(a(t.loading)&&i(t.loadingComp))return t.loadingComp;if(!i(t.contexts)){var r=t.contexts=[n],s=!0,c=function(t){for(var e=0,n=r.length;e<n;e++)r[e].$forceUpdate();t&&(r.length=0)},f=U(function(n){t.resolved=ue(n,e),s?r.length=0:c(!0)}),p=U(function(e){i(t.errorComp)&&(t.error=!0,c(!0))}),l=t(f,p);return u(l)&&("function"==typeof l.then?o(t.resolved)&&l.then(f,p):i(l.component)&&"function"==typeof l.component.then&&(l.component.then(f,p),i(l.error)&&(t.errorComp=ue(l.error,e)),i(l.loading)&&(t.loadingComp=ue(l.loading,e),0===l.delay?t.loading=!0:setTimeout(function(){o(t.resolved)&&o(t.error)&&(t.loading=!0,c(!1))},l.delay||200)),i(l.timeout)&&setTimeout(function(){o(t.resolved)&&p(null)},l.timeout))),s=!1,t.loading?t.loadingComp:t.resolved}t.contexts.push(n)}(p=t,f,n)))return function(t,e,n,r,o){var i=ht();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:r,tag:o},i}(p,e,n,s,c);e=e||{},pn(t),i(e.model)&&function(t,e){var n=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.props||(e.props={}))[n]=e.model.value;var o=e.on||(e.on={}),a=o[r],s=e.model.callback;i(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(o[r]=[s].concat(a)):o[r]=s}(t.options,e);var l=function(t,e,n){var r=e.options.props;if(!o(r)){var a={},s=t.attrs,u=t.props;if(i(s)||i(u))for(var c in r){var f=x(c);ie(a,u,c,f,!0)||ie(a,s,c,f,!1)}return a}}(e,t);if(a(t.options.functional))return function(t,e,n,o,a){var s=t.options,u={},c=s.props;if(i(c))for(var f in c)u[f]=Ut(f,c,e||r);else i(n.attrs)&&en(u,n.attrs),i(n.props)&&en(u,n.props);var p=new Ze(n,u,a,o,t),l=s.render.call(null,p._c,p);if(l instanceof lt)return tn(l,n,p.parent,s);if(Array.isArray(l)){for(var d=ae(l)||[],h=new Array(d.length),v=0;v<d.length;v++)h[v]=tn(d[v],n,p.parent,s);return h}}(t,l,e,n,s);var d=e.on;if(e.on=e.nativeOn,a(t.options.abstract)){var h=e.slot;e={},h&&(e.slot=h)}!function(t){for(var e=t.hook||(t.hook={}),n=0;n<rn.length;n++){var r=rn[n],o=e[r],i=nn[r];o===i||o&&o._merged||(e[r]=o?an(i,o):i)}}(e);var v=t.options.name||c;return new lt("vue-component-"+t.cid+(v?"-"+v:""),e,void 0,void 0,void 0,n,{Ctor:t,propsData:l,listeners:d,tag:c,children:s},p)}}}function an(t,e){var n=function(n,r){t(n,r),e(n,r)};return n._merged=!0,n}var sn=1,un=2;function cn(t,e,n,r,c,f){return(Array.isArray(n)||s(n))&&(c=r,r=n,n=void 0),a(f)&&(c=un),function(t,e,n,r,s){if(i(n)&&i(n.__ob__))return ht();i(n)&&i(n.is)&&(e=n.is);if(!e)return ht();0;Array.isArray(r)&&"function"==typeof r[0]&&((n=n||{}).scopedSlots={default:r[0]},r.length=0);s===un?r=ae(r):s===sn&&(r=function(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}(r));var c,f;if("string"==typeof e){var p;f=t.$vnode&&t.$vnode.ns||N.getTagNamespace(e),c=N.isReservedTag(e)?new lt(N.parsePlatformTagName(e),n,r,void 0,void 0,t):n&&n.pre||!i(p=Lt(t.$options,"components",e))?new lt(e,n,r,void 0,void 0,t):on(p,n,t,r,e)}else c=on(e,n,t,r);return Array.isArray(c)?c:i(c)?(i(f)&&function t(e,n,r){e.ns=n;"foreignObject"===e.tag&&(n=void 0,r=!0);if(i(e.children))for(var s=0,u=e.children.length;s<u;s++){var c=e.children[s];i(c.tag)&&(o(c.ns)||a(r)&&"svg"!==c.tag)&&t(c,n,r)}}(c,f),i(n)&&function(t){u(t.style)&&Zt(t.style);u(t.class)&&Zt(t.class)}(n),c):ht()}(t,e,n,r,c)}var fn=0;function pn(t){var e=t.options;if(t.super){var n=pn(t.super);if(n!==t.superOptions){t.superOptions=n;var r=function(t){var e,n=t.options,r=t.sealedOptions;for(var o in n)n[o]!==r[o]&&(e||(e={}),e[o]=n[o]);return e}(t);r&&S(t.extendOptions,r),(e=t.options=Pt(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function ln(t){this._init(t)}function dn(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,r=n.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=t.name||n.options.name;var a=function(t){this._init(t)};return(a.prototype=Object.create(n.prototype)).constructor=a,a.cid=e++,a.options=Pt(n.options,t),a.super=n,a.options.props&&function(t){var e=t.options.props;for(var n in e)Pe(t.prototype,"_props",n)}(a),a.options.computed&&function(t){var e=t.options.computed;for(var n in e)Re(t.prototype,n,e[n])}(a),a.extend=n.extend,a.mixin=n.mixin,a.use=n.use,M.forEach(function(t){a[t]=n[t]}),i&&(a.options.components[i]=a),a.superOptions=n.options,a.extendOptions=t,a.sealedOptions=S({},a.options),o[r]=a,a}}function hn(t){return t&&(t.Ctor.options.name||t.tag)}function vn(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:!!p(t)&&t.test(e)}function mn(t,e){var n=t.cache,r=t.keys,o=t._vnode;for(var i in n){var a=n[i];if(a){var s=hn(a.componentOptions);s&&!e(s)&&yn(n,i,r,o)}}}function yn(t,e,n,r){var o=t[e];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[e]=null,y(n,e)}!function(t){t.prototype._init=function(t){var e=this;e._uid=fn++,e._isVue=!0,t&&t._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),r=e._parentVnode;n.parent=e.parent,n._parentVnode=r;var o=r.componentOptions;n.propsData=o.propsData,n._parentListeners=o.listeners,n._renderChildren=o.children,n._componentTag=o.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(e,t):e.$options=Pt(pn(e.constructor),t||{},e),e._renderProxy=e,e._self=e,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(e),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&he(t,e)}(e),function(t){t._vnode=null,t._staticTrees=null;var e=t.$options,n=t.$vnode=e._parentVnode,o=n&&n.context;t.$slots=ve(e._renderChildren,o),t.$scopedSlots=r,t._c=function(e,n,r,o){return cn(t,e,n,r,o,!1)},t.$createElement=function(e,n,r,o){return cn(t,e,n,r,o,!0)};var i=n&&n.data;Ot(t,"$attrs",i&&i.attrs||r,null,!0),Ot(t,"$listeners",e._parentListeners||r,null,!0)}(e),Ae(e,"beforeCreate"),function(t){var e=qe(t.$options.inject,t);e&&(wt(!1),Object.keys(e).forEach(function(n){Ot(t,n,e[n])}),wt(!0))}(e),Le(e),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(e),Ae(e,"created"),e.$options.el&&e.$mount(e.$options.el)}}(ln),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=xt,t.prototype.$delete=kt,t.prototype.$watch=function(t,e,n){if(f(e))return Ne(this,t,e,n);(n=n||{}).user=!0;var r=new Ie(this,t,e,n);if(n.immediate)try{e.call(this,r.value)}catch(t){Nt(t,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(ln),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var r=this;if(Array.isArray(t))for(var o=0,i=t.length;o<i;o++)r.$on(t[o],n);else(r._events[t]||(r._events[t]=[])).push(n),e.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r),e.apply(n,arguments)}return r.fn=e,n.$on(t,r),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var r=0,o=t.length;r<o;r++)n.$off(t[r],e);return n}var i,a=n._events[t];if(!a)return n;if(!e)return n._events[t]=null,n;for(var s=a.length;s--;)if((i=a[s])===e||i.fn===e){a.splice(s,1);break}return n},t.prototype.$emit=function(t){var e=this._events[t];if(e){e=e.length>1?E(e):e;for(var n=E(arguments,1),r=0,o=e.length;r<o;r++)try{e[r].apply(this,n)}catch(e){Nt(e,this,'event handler for "'+t+'"')}}return this}}(ln),function(t){t.prototype._update=function(t,e){var n=this,r=n.$el,o=n._vnode,i=_e(n);n._vnode=t,n.$el=o?n.__patch__(o,t):n.__patch__(n.$el,t,e,!1),i(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Ae(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||y(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Ae(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(ln),function(t){Qe(t.prototype),t.prototype.$nextTick=function(t){return Yt(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,o=n.render,i=n._parentVnode;i&&(e.$scopedSlots=i.data.scopedSlots||r),e.$vnode=i;try{t=o.call(e._renderProxy,e.$createElement)}catch(n){Nt(n,e,"render"),t=e._vnode}return t instanceof lt||(t=ht()),t.parent=i,t}}(ln);var gn=[String,RegExp,Array],_n={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:gn,exclude:gn,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)yn(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",function(e){mn(t,function(t){return vn(e,t)})}),this.$watch("exclude",function(e){mn(t,function(t){return!vn(e,t)})})},render:function(){var t=this.$slots.default,e=fe(t),n=e&&e.componentOptions;if(n){var r=hn(n),o=this.include,i=this.exclude;if(o&&(!r||!vn(o,r))||i&&r&&vn(i,r))return e;var a=this.cache,s=this.keys,u=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;a[u]?(e.componentInstance=a[u].componentInstance,y(s,u),s.push(u)):(a[u]=e,s.push(u),this.max&&s.length>parseInt(this.max)&&yn(a,s[0],s,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return N}};Object.defineProperty(t,"config",e),t.util={warn:at,extend:S,mergeOptions:Pt,defineReactive:Ot},t.set=xt,t.delete=kt,t.nextTick=Yt,t.options=Object.create(null),M.forEach(function(e){t.options[e+"s"]=Object.create(null)}),t.options._base=t,S(t.options.components,_n),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=E(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Pt(this.options,t),this}}(t),dn(t),function(t){M.forEach(function(e){t[e]=function(t,n){return n?("component"===e&&f(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}})}(t)}(ln),Object.defineProperty(ln.prototype,"$isServer",{get:et}),Object.defineProperty(ln.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(ln,"FunctionalRenderContext",{value:Ze}),ln.version="2.5.22";var bn=v("style,class"),wn=v("input,textarea,option,select,progress"),An=v("contenteditable,draggable,spellcheck"),Cn=v("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),On="http://www.w3.org/1999/xlink",xn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},kn=function(t){return xn(t)?t.slice(6,t.length):""},En=function(t){return null==t||!1===t};function Sn(t){for(var e=t.data,n=t,r=t;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=$n(r.data,e));for(;i(n=n.parent);)n&&n.data&&(e=$n(e,n.data));return function(t,e){if(i(t)||i(e))return Tn(t,In(e));return""}(e.staticClass,e.class)}function $n(t,e){return{staticClass:Tn(t.staticClass,e.staticClass),class:i(t.class)?[t.class,e.class]:e.class}}function Tn(t,e){return t?e?t+" "+e:t:e||""}function In(t){return Array.isArray(t)?function(t){for(var e,n="",r=0,o=t.length;r<o;r++)i(e=In(t[r]))&&""!==e&&(n&&(n+=" "),n+=e);return n}(t):u(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var jn={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Pn=v("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Ln=v("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Un=function(t){return Pn(t)||Ln(t)};var Rn=Object.create(null);var Mn=v("text,number,password,search,email,tel,url");var Dn=Object.freeze({createElement:function(t,e){var n=document.createElement(t);return"select"!==t?n:(e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n)},createElementNS:function(t,e){return document.createElementNS(jn[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),Nn={create:function(t,e){qn(e)},update:function(t,e){t.data.ref!==e.data.ref&&(qn(t,!0),qn(e))},destroy:function(t){qn(t,!0)}};function qn(t,e){var n=t.data.ref;if(i(n)){var r=t.context,o=t.componentInstance||t.elm,a=r.$refs;e?Array.isArray(a[n])?y(a[n],o):a[n]===o&&(a[n]=void 0):t.data.refInFor?Array.isArray(a[n])?a[n].indexOf(o)<0&&a[n].push(o):a[n]=[o]:a[n]=o}}var Fn=new lt("",{},[]),Bn=["create","activate","update","remove","destroy"];function Hn(t,e){return t.key===e.key&&(t.tag===e.tag&&t.isComment===e.isComment&&i(t.data)===i(e.data)&&function(t,e){if("input"!==t.tag)return!0;var n,r=i(n=t.data)&&i(n=n.attrs)&&n.type,o=i(n=e.data)&&i(n=n.attrs)&&n.type;return r===o||Mn(r)&&Mn(o)}(t,e)||a(t.isAsyncPlaceholder)&&t.asyncFactory===e.asyncFactory&&o(e.asyncFactory.error))}function Vn(t,e,n){var r,o,a={};for(r=e;r<=n;++r)i(o=t[r].key)&&(a[o]=r);return a}var Gn={create:zn,update:zn,destroy:function(t){zn(t,Fn)}};function zn(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,r,o,i=t===Fn,a=e===Fn,s=Kn(t.data.directives,t.context),u=Kn(e.data.directives,e.context),c=[],f=[];for(n in u)r=s[n],o=u[n],r?(o.oldValue=r.value,Jn(o,"update",e,t),o.def&&o.def.componentUpdated&&f.push(o)):(Jn(o,"bind",e,t),o.def&&o.def.inserted&&c.push(o));if(c.length){var p=function(){for(var n=0;n<c.length;n++)Jn(c[n],"inserted",e,t)};i?oe(e,"insert",p):p()}f.length&&oe(e,"postpatch",function(){for(var n=0;n<f.length;n++)Jn(f[n],"componentUpdated",e,t)});if(!i)for(n in s)u[n]||Jn(s[n],"unbind",t,t,a)}(t,e)}var Xn=Object.create(null);function Kn(t,e){var n,r,o=Object.create(null);if(!t)return o;for(n=0;n<t.length;n++)(r=t[n]).modifiers||(r.modifiers=Xn),o[Wn(r)]=r,r.def=Lt(e.$options,"directives",r.name);return o}function Wn(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function Jn(t,e,n,r,o){var i=t.def&&t.def[e];if(i)try{i(n.elm,t,n,r,o)}catch(r){Nt(r,n.context,"directive "+t.name+" "+e+" hook")}}var Yn=[Nn,Gn];function Qn(t,e){var n=e.componentOptions;if(!(i(n)&&!1===n.Ctor.options.inheritAttrs||o(t.data.attrs)&&o(e.data.attrs))){var r,a,s=e.elm,u=t.data.attrs||{},c=e.data.attrs||{};for(r in i(c.__ob__)&&(c=e.data.attrs=S({},c)),c)a=c[r],u[r]!==a&&Zn(s,r,a);for(r in(K||J)&&c.value!==u.value&&Zn(s,"value",c.value),u)o(c[r])&&(xn(r)?s.removeAttributeNS(On,kn(r)):An(r)||s.removeAttribute(r))}}function Zn(t,e,n){t.tagName.indexOf("-")>-1?tr(t,e,n):Cn(e)?En(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):An(e)?t.setAttribute(e,En(n)||"false"===n?"false":"true"):xn(e)?En(n)?t.removeAttributeNS(On,kn(e)):t.setAttributeNS(On,e,n):tr(t,e,n)}function tr(t,e,n){if(En(n))t.removeAttribute(e);else{if(K&&!W&&("TEXTAREA"===t.tagName||"INPUT"===t.tagName)&&"placeholder"===e&&!t.__ieph){var r=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(e,n)}}var er={create:Qn,update:Qn};function nr(t,e){var n=e.elm,r=e.data,a=t.data;if(!(o(r.staticClass)&&o(r.class)&&(o(a)||o(a.staticClass)&&o(a.class)))){var s=Sn(e),u=n._transitionClasses;i(u)&&(s=Tn(s,In(u))),s!==n._prevClass&&(n.setAttribute("class",s),n._prevClass=s)}}var rr,or={create:nr,update:nr},ir="__r",ar="__c";function sr(t,e,n){var r=rr;return function o(){null!==e.apply(null,arguments)&&cr(t,o,n,r)}}function ur(t,e,n,r){var o;e=(o=e)._withTask||(o._withTask=function(){Xt=!0;try{return o.apply(null,arguments)}finally{Xt=!1}}),rr.addEventListener(t,e,Z?{capture:n,passive:r}:n)}function cr(t,e,n,r){(r||rr).removeEventListener(t,e._withTask||e,n)}function fr(t,e){if(!o(t.data.on)||!o(e.data.on)){var n=e.data.on||{},r=t.data.on||{};rr=e.elm,function(t){if(i(t[ir])){var e=K?"change":"input";t[e]=[].concat(t[ir],t[e]||[]),delete t[ir]}i(t[ar])&&(t.change=[].concat(t[ar],t.change||[]),delete t[ar])}(n),re(n,r,ur,cr,sr,e.context),rr=void 0}}var pr={create:fr,update:fr};function lr(t,e){if(!o(t.data.domProps)||!o(e.data.domProps)){var n,r,a=e.elm,s=t.data.domProps||{},u=e.data.domProps||{};for(n in i(u.__ob__)&&(u=e.data.domProps=S({},u)),s)o(u[n])&&(a[n]="");for(n in u){if(r=u[n],"textContent"===n||"innerHTML"===n){if(e.children&&(e.children.length=0),r===s[n])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===n){a._value=r;var c=o(r)?"":String(r);dr(a,c)&&(a.value=c)}else a[n]=r}}}function dr(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var n=t.value,r=t._vModifiers;if(i(r)){if(r.lazy)return!1;if(r.number)return h(n)!==h(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}(t,e))}var hr={create:lr,update:lr},vr=b(function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var r=t.split(n);r.length>1&&(e[r[0].trim()]=r[1].trim())}}),e});function mr(t){var e=yr(t.style);return t.staticStyle?S(t.staticStyle,e):e}function yr(t){return Array.isArray(t)?$(t):"string"==typeof t?vr(t):t}var gr,_r=/^--/,br=/\s*!important$/,wr=function(t,e,n){if(_r.test(e))t.style.setProperty(e,n);else if(br.test(n))t.style.setProperty(e,n.replace(br,""),"important");else{var r=Cr(e);if(Array.isArray(n))for(var o=0,i=n.length;o<i;o++)t.style[r]=n[o];else t.style[r]=n}},Ar=["Webkit","Moz","ms"],Cr=b(function(t){if(gr=gr||document.createElement("div").style,"filter"!==(t=A(t))&&t in gr)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<Ar.length;n++){var r=Ar[n]+e;if(r in gr)return r}});function Or(t,e){var n=e.data,r=t.data;if(!(o(n.staticStyle)&&o(n.style)&&o(r.staticStyle)&&o(r.style))){var a,s,u=e.elm,c=r.staticStyle,f=r.normalizedStyle||r.style||{},p=c||f,l=yr(e.data.style)||{};e.data.normalizedStyle=i(l.__ob__)?S({},l):l;var d=function(t,e){var n,r={};if(e)for(var o=t;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(n=mr(o.data))&&S(r,n);(n=mr(t.data))&&S(r,n);for(var i=t;i=i.parent;)i.data&&(n=mr(i.data))&&S(r,n);return r}(e,!0);for(s in p)o(d[s])&&wr(u,s,"");for(s in d)(a=d[s])!==p[s]&&wr(u,s,null==a?"":a)}}var xr={create:Or,update:Or},kr=/\s+/;function Er(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(kr).forEach(function(e){return t.classList.add(e)}):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function Sr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(kr).forEach(function(e){return t.classList.remove(e)}):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",r=" "+e+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function $r(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&S(e,Tr(t.name||"v")),S(e,t),e}return"string"==typeof t?Tr(t):void 0}}var Tr=b(function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}}),Ir=V&&!W,jr="transition",Pr="animation",Lr="transition",Ur="transitionend",Rr="animation",Mr="animationend";Ir&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Lr="WebkitTransition",Ur="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Rr="WebkitAnimation",Mr="webkitAnimationEnd"));var Dr=V?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Nr(t){Dr(function(){Dr(t)})}function qr(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),Er(t,e))}function Fr(t,e){t._transitionClasses&&y(t._transitionClasses,e),Sr(t,e)}function Br(t,e,n){var r=Vr(t,e),o=r.type,i=r.timeout,a=r.propCount;if(!o)return n();var s=o===jr?Ur:Mr,u=0,c=function(){t.removeEventListener(s,f),n()},f=function(e){e.target===t&&++u>=a&&c()};setTimeout(function(){u<a&&c()},i+1),t.addEventListener(s,f)}var Hr=/\b(transform|all)(,|$)/;function Vr(t,e){var n,r=window.getComputedStyle(t),o=(r[Lr+"Delay"]||"").split(", "),i=(r[Lr+"Duration"]||"").split(", "),a=Gr(o,i),s=(r[Rr+"Delay"]||"").split(", "),u=(r[Rr+"Duration"]||"").split(", "),c=Gr(s,u),f=0,p=0;return e===jr?a>0&&(n=jr,f=a,p=i.length):e===Pr?c>0&&(n=Pr,f=c,p=u.length):p=(n=(f=Math.max(a,c))>0?a>c?jr:Pr:null)?n===jr?i.length:u.length:0,{type:n,timeout:f,propCount:p,hasTransform:n===jr&&Hr.test(r[Lr+"Property"])}}function Gr(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map(function(e,n){return zr(e)+zr(t[n])}))}function zr(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Xr(t,e){var n=t.elm;i(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=$r(t.data.transition);if(!o(r)&&!i(n._enterCb)&&1===n.nodeType){for(var a=r.css,s=r.type,c=r.enterClass,f=r.enterToClass,p=r.enterActiveClass,l=r.appearClass,d=r.appearToClass,v=r.appearActiveClass,m=r.beforeEnter,y=r.enter,g=r.afterEnter,_=r.enterCancelled,b=r.beforeAppear,w=r.appear,A=r.afterAppear,C=r.appearCancelled,O=r.duration,x=ge,k=ge.$vnode;k&&k.parent;)x=(k=k.parent).context;var E=!x._isMounted||!t.isRootInsert;if(!E||w||""===w){var S=E&&l?l:c,$=E&&v?v:p,T=E&&d?d:f,I=E&&b||m,j=E&&"function"==typeof w?w:y,P=E&&A||g,L=E&&C||_,R=h(u(O)?O.enter:O);0;var M=!1!==a&&!W,D=Jr(j),N=n._enterCb=U(function(){M&&(Fr(n,T),Fr(n,$)),N.cancelled?(M&&Fr(n,S),L&&L(n)):P&&P(n),n._enterCb=null});t.data.show||oe(t,"insert",function(){var e=n.parentNode,r=e&&e._pending&&e._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),j&&j(n,N)}),I&&I(n),M&&(qr(n,S),qr(n,$),Nr(function(){Fr(n,S),N.cancelled||(qr(n,T),D||(Wr(R)?setTimeout(N,R):Br(n,s,N)))})),t.data.show&&(e&&e(),j&&j(n,N)),M||D||N()}}}function Kr(t,e){var n=t.elm;i(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=$r(t.data.transition);if(o(r)||1!==n.nodeType)return e();if(!i(n._leaveCb)){var a=r.css,s=r.type,c=r.leaveClass,f=r.leaveToClass,p=r.leaveActiveClass,l=r.beforeLeave,d=r.leave,v=r.afterLeave,m=r.leaveCancelled,y=r.delayLeave,g=r.duration,_=!1!==a&&!W,b=Jr(d),w=h(u(g)?g.leave:g);0;var A=n._leaveCb=U(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[t.key]=null),_&&(Fr(n,f),Fr(n,p)),A.cancelled?(_&&Fr(n,c),m&&m(n)):(e(),v&&v(n)),n._leaveCb=null});y?y(C):C()}function C(){A.cancelled||(!t.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t),l&&l(n),_&&(qr(n,c),qr(n,p),Nr(function(){Fr(n,c),A.cancelled||(qr(n,f),b||(Wr(w)?setTimeout(A,w):Br(n,s,A)))})),d&&d(n,A),_||b||A())}}function Wr(t){return"number"==typeof t&&!isNaN(t)}function Jr(t){if(o(t))return!1;var e=t.fns;return i(e)?Jr(Array.isArray(e)?e[0]:e):(t._length||t.length)>1}function Yr(t,e){!0!==e.data.show&&Xr(e)}var Qr=function(t){var e,n,r={},u=t.modules,c=t.nodeOps;for(e=0;e<Bn.length;++e)for(r[Bn[e]]=[],n=0;n<u.length;++n)i(u[n][Bn[e]])&&r[Bn[e]].push(u[n][Bn[e]]);function f(t){var e=c.parentNode(t);i(e)&&c.removeChild(e,t)}function p(t,e,n,o,s,u,f){if(i(t.elm)&&i(u)&&(t=u[f]=mt(t)),t.isRootInsert=!s,!function(t,e,n,o){var s=t.data;if(i(s)){var u=i(t.componentInstance)&&s.keepAlive;if(i(s=s.hook)&&i(s=s.init)&&s(t,!1),i(t.componentInstance))return l(t,e),d(n,t.elm,o),a(u)&&function(t,e,n,o){for(var a,s=t;s.componentInstance;)if(s=s.componentInstance._vnode,i(a=s.data)&&i(a=a.transition)){for(a=0;a<r.activate.length;++a)r.activate[a](Fn,s);e.push(s);break}d(n,t.elm,o)}(t,e,n,o),!0}}(t,e,n,o)){var p=t.data,v=t.children,m=t.tag;i(m)?(t.elm=t.ns?c.createElementNS(t.ns,m):c.createElement(m,t),g(t),h(t,v,e),i(p)&&y(t,e),d(n,t.elm,o)):a(t.isComment)?(t.elm=c.createComment(t.text),d(n,t.elm,o)):(t.elm=c.createTextNode(t.text),d(n,t.elm,o))}}function l(t,e){i(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,m(t)?(y(t,e),g(t)):(qn(t),e.push(t))}function d(t,e,n){i(t)&&(i(n)?c.parentNode(n)===t&&c.insertBefore(t,e,n):c.appendChild(t,e))}function h(t,e,n){if(Array.isArray(e))for(var r=0;r<e.length;++r)p(e[r],n,t.elm,null,!0,e,r);else s(t.text)&&c.appendChild(t.elm,c.createTextNode(String(t.text)))}function m(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return i(t.tag)}function y(t,n){for(var o=0;o<r.create.length;++o)r.create[o](Fn,t);i(e=t.data.hook)&&(i(e.create)&&e.create(Fn,t),i(e.insert)&&n.push(t))}function g(t){var e;if(i(e=t.fnScopeId))c.setStyleScope(t.elm,e);else for(var n=t;n;)i(e=n.context)&&i(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e),n=n.parent;i(e=ge)&&e!==t.context&&e!==t.fnContext&&i(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e)}function _(t,e,n,r,o,i){for(;r<=o;++r)p(n[r],i,t,e,!1,n,r)}function b(t){var e,n,o=t.data;if(i(o))for(i(e=o.hook)&&i(e=e.destroy)&&e(t),e=0;e<r.destroy.length;++e)r.destroy[e](t);if(i(e=t.children))for(n=0;n<t.children.length;++n)b(t.children[n])}function w(t,e,n,r){for(;n<=r;++n){var o=e[n];i(o)&&(i(o.tag)?(A(o),b(o)):f(o.elm))}}function A(t,e){if(i(e)||i(t.data)){var n,o=r.remove.length+1;for(i(e)?e.listeners+=o:e=function(t,e){function n(){0==--n.listeners&&f(t)}return n.listeners=e,n}(t.elm,o),i(n=t.componentInstance)&&i(n=n._vnode)&&i(n.data)&&A(n,e),n=0;n<r.remove.length;++n)r.remove[n](t,e);i(n=t.data.hook)&&i(n=n.remove)?n(t,e):e()}else f(t.elm)}function C(t,e,n,r){for(var o=n;o<r;o++){var a=e[o];if(i(a)&&Hn(t,a))return o}}function O(t,e,n,s,u,f){if(t!==e){i(e.elm)&&i(s)&&(e=s[u]=mt(e));var l=e.elm=t.elm;if(a(t.isAsyncPlaceholder))i(e.asyncFactory.resolved)?E(t.elm,e,n):e.isAsyncPlaceholder=!0;else if(a(e.isStatic)&&a(t.isStatic)&&e.key===t.key&&(a(e.isCloned)||a(e.isOnce)))e.componentInstance=t.componentInstance;else{var d,h=e.data;i(h)&&i(d=h.hook)&&i(d=d.prepatch)&&d(t,e);var v=t.children,y=e.children;if(i(h)&&m(e)){for(d=0;d<r.update.length;++d)r.update[d](t,e);i(d=h.hook)&&i(d=d.update)&&d(t,e)}o(e.text)?i(v)&&i(y)?v!==y&&function(t,e,n,r,a){for(var s,u,f,l=0,d=0,h=e.length-1,v=e[0],m=e[h],y=n.length-1,g=n[0],b=n[y],A=!a;l<=h&&d<=y;)o(v)?v=e[++l]:o(m)?m=e[--h]:Hn(v,g)?(O(v,g,r,n,d),v=e[++l],g=n[++d]):Hn(m,b)?(O(m,b,r,n,y),m=e[--h],b=n[--y]):Hn(v,b)?(O(v,b,r,n,y),A&&c.insertBefore(t,v.elm,c.nextSibling(m.elm)),v=e[++l],b=n[--y]):Hn(m,g)?(O(m,g,r,n,d),A&&c.insertBefore(t,m.elm,v.elm),m=e[--h],g=n[++d]):(o(s)&&(s=Vn(e,l,h)),o(u=i(g.key)?s[g.key]:C(g,e,l,h))?p(g,r,t,v.elm,!1,n,d):Hn(f=e[u],g)?(O(f,g,r,n,d),e[u]=void 0,A&&c.insertBefore(t,f.elm,v.elm)):p(g,r,t,v.elm,!1,n,d),g=n[++d]);l>h?_(t,o(n[y+1])?null:n[y+1].elm,n,d,y,r):d>y&&w(0,e,l,h)}(l,v,y,n,f):i(y)?(i(t.text)&&c.setTextContent(l,""),_(l,null,y,0,y.length-1,n)):i(v)?w(0,v,0,v.length-1):i(t.text)&&c.setTextContent(l,""):t.text!==e.text&&c.setTextContent(l,e.text),i(h)&&i(d=h.hook)&&i(d=d.postpatch)&&d(t,e)}}}function x(t,e,n){if(a(n)&&i(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}var k=v("attrs,class,staticClass,staticStyle,key");function E(t,e,n,r){var o,s=e.tag,u=e.data,c=e.children;if(r=r||u&&u.pre,e.elm=t,a(e.isComment)&&i(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(i(u)&&(i(o=u.hook)&&i(o=o.init)&&o(e,!0),i(o=e.componentInstance)))return l(e,n),!0;if(i(s)){if(i(c))if(t.hasChildNodes())if(i(o=u)&&i(o=o.domProps)&&i(o=o.innerHTML)){if(o!==t.innerHTML)return!1}else{for(var f=!0,p=t.firstChild,d=0;d<c.length;d++){if(!p||!E(p,c[d],n,r)){f=!1;break}p=p.nextSibling}if(!f||p)return!1}else h(e,c,n);if(i(u)){var v=!1;for(var m in u)if(!k(m)){v=!0,y(e,n);break}!v&&u.class&&Zt(u.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,e,n,s){if(!o(e)){var u,f=!1,l=[];if(o(t))f=!0,p(e,l);else{var d=i(t.nodeType);if(!d&&Hn(t,e))O(t,e,l,null,null,s);else{if(d){if(1===t.nodeType&&t.hasAttribute(R)&&(t.removeAttribute(R),n=!0),a(n)&&E(t,e,l))return x(e,l,!0),t;u=t,t=new lt(c.tagName(u).toLowerCase(),{},[],void 0,u)}var h=t.elm,v=c.parentNode(h);if(p(e,l,h._leaveCb?null:v,c.nextSibling(h)),i(e.parent))for(var y=e.parent,g=m(e);y;){for(var _=0;_<r.destroy.length;++_)r.destroy[_](y);if(y.elm=e.elm,g){for(var A=0;A<r.create.length;++A)r.create[A](Fn,y);var C=y.data.hook.insert;if(C.merged)for(var k=1;k<C.fns.length;k++)C.fns[k]()}else qn(y);y=y.parent}i(v)?w(0,[t],0,0):i(t.tag)&&b(t)}}return x(e,l,f),e.elm}i(t)&&b(t)}}({nodeOps:Dn,modules:[er,or,pr,hr,xr,V?{create:Yr,activate:Yr,remove:function(t,e){!0!==t.data.show?Kr(t,e):e()}}:{}].concat(Yn)});W&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&ao(t,"input")});var Zr={inserted:function(t,e,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?oe(n,"postpatch",function(){Zr.componentUpdated(t,e,n)}):to(t,e,n.context),t._vOptions=[].map.call(t.options,ro)):("textarea"===n.tag||Mn(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",oo),t.addEventListener("compositionend",io),t.addEventListener("change",io),W&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){to(t,e,n.context);var r=t._vOptions,o=t._vOptions=[].map.call(t.options,ro);if(o.some(function(t,e){return!P(t,r[e])}))(t.multiple?e.value.some(function(t){return no(t,o)}):e.value!==e.oldValue&&no(e.value,o))&&ao(t,"change")}}};function to(t,e,n){eo(t,e,n),(K||J)&&setTimeout(function(){eo(t,e,n)},0)}function eo(t,e,n){var r=e.value,o=t.multiple;if(!o||Array.isArray(r)){for(var i,a,s=0,u=t.options.length;s<u;s++)if(a=t.options[s],o)i=L(r,ro(a))>-1,a.selected!==i&&(a.selected=i);else if(P(ro(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function no(t,e){return e.every(function(e){return!P(e,t)})}function ro(t){return"_value"in t?t._value:t.value}function oo(t){t.target.composing=!0}function io(t){t.target.composing&&(t.target.composing=!1,ao(t.target,"input"))}function ao(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function so(t){return!t.componentInstance||t.data&&t.data.transition?t:so(t.componentInstance._vnode)}var uo={model:Zr,show:{bind:function(t,e,n){var r=e.value,o=(n=so(n)).data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(n.data.show=!0,Xr(n,function(){t.style.display=i})):t.style.display=r?i:"none"},update:function(t,e,n){var r=e.value;!r!=!e.oldValue&&((n=so(n)).data&&n.data.transition?(n.data.show=!0,r?Xr(n,function(){t.style.display=t.__vOriginalDisplay}):Kr(n,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,r,o){o||(t.style.display=t.__vOriginalDisplay)}}},co={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function fo(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?fo(fe(e.children)):t}function po(t){var e={},n=t.$options;for(var r in n.propsData)e[r]=t[r];var o=n._parentListeners;for(var i in o)e[A(i)]=o[i];return e}function lo(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var ho=function(t){return t.tag||ce(t)},vo=function(t){return"show"===t.name},mo={name:"transition",props:co,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(ho)).length){0;var r=this.mode;0;var o=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return o;var i=fo(o);if(!i)return o;if(this._leaving)return lo(t,o);var a="__transition-"+this._uid+"-";i.key=null==i.key?i.isComment?a+"comment":a+i.tag:s(i.key)?0===String(i.key).indexOf(a)?i.key:a+i.key:i.key;var u=(i.data||(i.data={})).transition=po(this),c=this._vnode,f=fo(c);if(i.data.directives&&i.data.directives.some(vo)&&(i.data.show=!0),f&&f.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(i,f)&&!ce(f)&&(!f.componentInstance||!f.componentInstance._vnode.isComment)){var p=f.data.transition=S({},u);if("out-in"===r)return this._leaving=!0,oe(p,"afterLeave",function(){e._leaving=!1,e.$forceUpdate()}),lo(t,o);if("in-out"===r){if(ce(i))return c;var l,d=function(){l()};oe(u,"afterEnter",d),oe(u,"enterCancelled",d),oe(p,"delayLeave",function(t){l=t})}}return o}}},yo=S({tag:String,moveClass:String},co);function go(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function _o(t){t.data.newPos=t.elm.getBoundingClientRect()}function bo(t){var e=t.data.pos,n=t.data.newPos,r=e.left-n.left,o=e.top-n.top;if(r||o){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+r+"px,"+o+"px)",i.transitionDuration="0s"}}delete yo.mode;var wo={Transition:mo,TransitionGroup:{props:yo,beforeMount:function(){var t=this,e=this._update;this._update=function(n,r){var o=_e(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),e.call(t,n,r)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=po(this),s=0;s<o.length;s++){var u=o[s];if(u.tag)if(null!=u.key&&0!==String(u.key).indexOf("__vlist"))i.push(u),n[u.key]=u,(u.data||(u.data={})).transition=a;else;}if(r){for(var c=[],f=[],p=0;p<r.length;p++){var l=r[p];l.data.transition=a,l.data.pos=l.elm.getBoundingClientRect(),n[l.key]?c.push(l):f.push(l)}this.kept=t(e,null,c),this.removed=f}return t(e,null,i)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(go),t.forEach(_o),t.forEach(bo),this._reflow=document.body.offsetHeight,t.forEach(function(t){if(t.data.moved){var n=t.elm,r=n.style;qr(n,e),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(Ur,n._moveCb=function t(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(Ur,t),n._moveCb=null,Fr(n,e))})}}))},methods:{hasMove:function(t,e){if(!Ir)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(t){Sr(n,t)}),Er(n,e),n.style.display="none",this.$el.appendChild(n);var r=Vr(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}}};ln.config.mustUseProp=function(t,e,n){return"value"===n&&wn(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},ln.config.isReservedTag=Un,ln.config.isReservedAttr=bn,ln.config.getTagNamespace=function(t){return Ln(t)?"svg":"math"===t?"math":void 0},ln.config.isUnknownElement=function(t){if(!V)return!0;if(Un(t))return!1;if(t=t.toLowerCase(),null!=Rn[t])return Rn[t];var e=document.createElement(t);return t.indexOf("-")>-1?Rn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Rn[t]=/HTMLUnknownElement/.test(e.toString())},S(ln.options.directives,uo),S(ln.options.components,wo),ln.prototype.__patch__=V?Qr:T,ln.prototype.$mount=function(t,e){return function(t,e,n){var r;return t.$el=e,t.$options.render||(t.$options.render=ht),Ae(t,"beforeMount"),r=function(){t._update(t._render(),n)},new Ie(t,r,T,{before:function(){t._isMounted&&!t._isDestroyed&&Ae(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,Ae(t,"mounted")),t}(this,t=t&&V?function(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}(t):void 0,e)},V&&setTimeout(function(){N.devtools&&nt&&nt.emit("init",ln)},0),e.a=ln}).call(this,n(4),n(15).setImmediate)},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=n(17).default.create({headers:{requesttoken:OC.requestToken}});e.default=r},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){"use strict";(function(e){var r=n(1),o=n(21),i={"Content-Type":"application/x-www-form-urlencoded"};function a(t,e){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var s,u={adapter:("undefined"!=typeof XMLHttpRequest?s=n(9):void 0!==e&&(s=n(9)),s),transformRequest:[function(t,e){return o(e,"Content-Type"),r.isFormData(t)||r.isArrayBuffer(t)||r.isBuffer(t)||r.isStream(t)||r.isFile(t)||r.isBlob(t)?t:r.isArrayBufferView(t)?t.buffer:r.isURLSearchParams(t)?(a(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(a(e,"application/json;charset=utf-8"),JSON.stringify(t)):t}],transformResponse:[function(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,validateStatus:function(t){return t>=200&&t<300}};u.headers={common:{Accept:"application/json, text/plain, */*"}},r.forEach(["delete","get","head"],function(t){u.headers[t]={}}),r.forEach(["post","put","patch"],function(t){u.headers[t]=r.merge(i)}),t.exports=u}).call(this,n(7))},function(t,e,n){"use strict";function r(t,e,n,r,o,i,a,s){var u,c="function"==typeof t?t.options:t;if(e&&(c.render=e,c.staticRenderFns=n,c._compiled=!0),r&&(c.functional=!0),i&&(c._scopeId="data-v-"+i),a?(u=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},c._ssrRegister=u):o&&(u=s?function(){o.call(this,this.$root.$options.shadowRoot)}:o),u)if(c.functional){c._injectStyles=u;var f=c.render;c.render=function(t,e){return u.call(e),f(t,e)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,u):[u]}return{exports:t,options:c}}n.d(e,"a",function(){return r})},function(t,e){var n,r,o=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===i||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var u,c=[],f=!1,p=-1;function l(){f&&u&&(f=!1,u.length?c=u.concat(c):p=-1,c.length&&d())}function d(){if(!f){var t=s(l);f=!0;for(var e=c.length;e;){for(u=c,c=[];++p<e;)u&&u[p].run();p=-1,e=c.length}u=null,f=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function h(t,e){this.fun=t,this.array=e}function v(){}o.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new h(t,e)),1!==c.length||f||s(d)},h.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=v,o.addListener=v,o.once=v,o.off=v,o.removeListener=v,o.removeAllListeners=v,o.emit=v,o.prependListener=v,o.prependOnceListener=v,o.listeners=function(t){return[]},o.binding=function(t){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(t){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(t,e,n){"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},function(t,e,n){"use strict";var r=n(1),o=n(22),i=n(24),a=n(25),s=n(26),u=n(10),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||n(27);t.exports=function(t){return new Promise(function(e,f){var p=t.data,l=t.headers;r.isFormData(p)&&delete l["Content-Type"];var d=new XMLHttpRequest,h="onreadystatechange",v=!1;if("undefined"==typeof window||!window.XDomainRequest||"withCredentials"in d||s(t.url)||(d=new window.XDomainRequest,h="onload",v=!0,d.onprogress=function(){},d.ontimeout=function(){}),t.auth){var m=t.auth.username||"",y=t.auth.password||"";l.Authorization="Basic "+c(m+":"+y)}if(d.open(t.method.toUpperCase(),i(t.url,t.params,t.paramsSerializer),!0),d.timeout=t.timeout,d[h]=function(){if(d&&(4===d.readyState||v)&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in d?a(d.getAllResponseHeaders()):null,r={data:t.responseType&&"text"!==t.responseType?d.response:d.responseText,status:1223===d.status?204:d.status,statusText:1223===d.status?"No Content":d.statusText,headers:n,config:t,request:d};o(e,f,r),d=null}},d.onerror=function(){f(u("Network Error",t,null,d)),d=null},d.ontimeout=function(){f(u("timeout of "+t.timeout+"ms exceeded",t,"ECONNABORTED",d)),d=null},r.isStandardBrowserEnv()){var g=n(28),_=(t.withCredentials||s(t.url))&&t.xsrfCookieName?g.read(t.xsrfCookieName):void 0;_&&(l[t.xsrfHeaderName]=_)}if("setRequestHeader"in d&&r.forEach(l,function(t,e){void 0===p&&"content-type"===e.toLowerCase()?delete l[e]:d.setRequestHeader(e,t)}),t.withCredentials&&(d.withCredentials=!0),t.responseType)try{d.responseType=t.responseType}catch(e){if("json"!==t.responseType)throw e}"function"==typeof t.onDownloadProgress&&d.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),t.cancelToken&&t.cancelToken.promise.then(function(t){d&&(d.abort(),f(t),d=null)}),void 0===p&&(p=null),d.send(p)})}},function(t,e,n){"use strict";var r=n(23);t.exports=function(t,e,n,o,i){var a=new Error(t);return r(a,e,n,o,i)}},function(t,e,n){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,e,n){"use strict";function r(t){this.message=t}r.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},r.prototype.__CANCEL__=!0,t.exports=r},,,function(t,e,n){(function(t){var r=void 0!==t&&t||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(t,e){this._id=t,this._clearFn=e}e.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},e.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(16),e.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,e.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,n(4))},function(t,e,n){(function(t,e){!function(t,n){"use strict";if(!t.setImmediate){var r,o,i,a,s,u=1,c={},f=!1,p=t.document,l=Object.getPrototypeOf&&Object.getPrototypeOf(t);l=l&&l.setTimeout?l:t,"[object process]"==={}.toString.call(t.process)?r=function(t){e.nextTick(function(){h(t)})}:!function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?t.MessageChannel?((i=new MessageChannel).port1.onmessage=function(t){h(t.data)},r=function(t){i.port2.postMessage(t)}):p&&"onreadystatechange"in p.createElement("script")?(o=p.documentElement,r=function(t){var e=p.createElement("script");e.onreadystatechange=function(){h(t),e.onreadystatechange=null,o.removeChild(e),e=null},o.appendChild(e)}):r=function(t){setTimeout(h,0,t)}:(a="setImmediate$"+Math.random()+"$",s=function(e){e.source===t&&"string"==typeof e.data&&0===e.data.indexOf(a)&&h(+e.data.slice(a.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),r=function(e){t.postMessage(a+e,"*")}),l.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var o={callback:t,args:e};return c[u]=o,r(u),u++},l.clearImmediate=d}function d(t){delete c[t]}function h(t){if(f)setTimeout(h,0,t);else{var e=c[t];if(e){f=!0;try{!function(t){var e=t.callback,r=t.args;switch(r.length){case 0:e();break;case 1:e(r[0]);break;case 2:e(r[0],r[1]);break;case 3:e(r[0],r[1],r[2]);break;default:e.apply(n,r)}}(e)}finally{d(t),f=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,n(4),n(7))},function(t,e,n){t.exports=n(18)},function(t,e,n){"use strict";var r=n(1),o=n(8),i=n(20),a=n(5);function s(t){var e=new i(t),n=o(i.prototype.request,e);return r.extend(n,i.prototype,e),r.extend(n,e),n}var u=s(a);u.Axios=i,u.create=function(t){return s(r.merge(a,t))},u.Cancel=n(12),u.CancelToken=n(34),u.isCancel=n(11),u.all=function(t){return Promise.all(t)},u.spread=n(35),t.exports=u,t.exports.default=u},function(t,e){function n(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}
|
|
/*!
|
|
* Determine if an object is a Buffer
|
|
*
|
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
* @license MIT
|
|
*/
|
|
t.exports=function(t){return null!=t&&(n(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&n(t.slice(0,0))}(t)||!!t._isBuffer)}},function(t,e,n){"use strict";var r=n(5),o=n(1),i=n(29),a=n(30);function s(t){this.defaults=t,this.interceptors={request:new i,response:new i}}s.prototype.request=function(t){"string"==typeof t&&(t=o.merge({url:arguments[0]},arguments[1])),(t=o.merge(r,{method:"get"},this.defaults,t)).method=t.method.toLowerCase();var e=[a,void 0],n=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){e.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){e.push(t.fulfilled,t.rejected)});e.length;)n=n.then(e.shift(),e.shift());return n},o.forEach(["delete","get","head","options"],function(t){s.prototype[t]=function(e,n){return this.request(o.merge(n||{},{method:t,url:e}))}}),o.forEach(["post","put","patch"],function(t){s.prototype[t]=function(e,n,r){return this.request(o.merge(r||{},{method:t,url:e,data:n}))}}),t.exports=s},function(t,e,n){"use strict";var r=n(1);t.exports=function(t,e){r.forEach(t,function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])})}},function(t,e,n){"use strict";var r=n(10);t.exports=function(t,e,n){var o=n.config.validateStatus;n.status&&o&&!o(n.status)?e(r("Request failed with status code "+n.status,n.config,null,n.request,n)):t(n)}},function(t,e,n){"use strict";t.exports=function(t,e,n,r,o){return t.config=e,n&&(t.code=n),t.request=r,t.response=o,t}},function(t,e,n){"use strict";var r=n(1);function o(t){return encodeURIComponent(t).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var i;if(n)i=n(e);else if(r.isURLSearchParams(e))i=e.toString();else{var a=[];r.forEach(e,function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(o(e)+"="+o(t))}))}),i=a.join("&")}return i&&(t+=(-1===t.indexOf("?")?"?":"&")+i),t}},function(t,e,n){"use strict";var r=n(1),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,i,a={};return t?(r.forEach(t.split("\n"),function(t){if(i=t.indexOf(":"),e=r.trim(t.substr(0,i)).toLowerCase(),n=r.trim(t.substr(i+1)),e){if(a[e]&&o.indexOf(e)>=0)return;a[e]="set-cookie"===e?(a[e]?a[e]:[]).concat([n]):a[e]?a[e]+", "+n:n}}),a):a}},function(t,e,n){"use strict";var r=n(1);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function o(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){var n=r.isString(e)?o(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},function(t,e,n){"use strict";var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function o(){this.message="String contains an invalid character"}o.prototype=new Error,o.prototype.code=5,o.prototype.name="InvalidCharacterError",t.exports=function(t){for(var e,n,i=String(t),a="",s=0,u=r;i.charAt(0|s)||(u="=",s%1);a+=u.charAt(63&e>>8-s%1*8)){if((n=i.charCodeAt(s+=.75))>255)throw new o;e=e<<8|n}return a}},function(t,e,n){"use strict";var r=n(1);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,o,i,a){var s=[];s.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),r.isString(o)&&s.push("path="+o),r.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,e,n){"use strict";var r=n(1);function o(){this.handlers=[]}o.prototype.use=function(t,e){return this.handlers.push({fulfilled:t,rejected:e}),this.handlers.length-1},o.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},o.prototype.forEach=function(t){r.forEach(this.handlers,function(e){null!==e&&t(e)})},t.exports=o},function(t,e,n){"use strict";var r=n(1),o=n(31),i=n(11),a=n(5),s=n(32),u=n(33);function c(t){t.cancelToken&&t.cancelToken.throwIfRequested()}t.exports=function(t){return c(t),t.baseURL&&!s(t.url)&&(t.url=u(t.baseURL,t.url)),t.headers=t.headers||{},t.data=o(t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers||{}),r.forEach(["delete","get","head","post","put","patch","common"],function(e){delete t.headers[e]}),(t.adapter||a.adapter)(t).then(function(e){return c(t),e.data=o(e.data,e.headers,t.transformResponse),e},function(e){return i(e)||(c(t),e&&e.response&&(e.response.data=o(e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)})}},function(t,e,n){"use strict";var r=n(1);t.exports=function(t,e,n){return r.forEach(n,function(n){t=n(t,e)}),t}},function(t,e,n){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,e,n){"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},function(t,e,n){"use strict";var r=n(12);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise(function(t){e=t});var n=this;t(function(t){n.reason||(n.reason=new r(t),e(n.reason))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o(function(e){t=e}),cancel:t}},t.exports=o},function(t,e,n){"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},,function(t,e){function n(t,e){var r={name:t.name,path:t.path,hash:t.hash,query:t.query,params:t.params,fullPath:t.fullPath,meta:t.meta};return e&&(r.from=n(e)),Object.freeze(r)}e.sync=function(t,e,r){var o=(r||{}).moduleName||"route";t.registerModule(o,{namespaced:!0,state:n(e.currentRoute),mutations:{ROUTE_CHANGED:function(e,r){t.state[o]=n(r.to,r.from)}}});var i,a=!1,s=t.watch(function(t){return t[o]},function(t){var n=t.fullPath;n!==i&&(null!=i&&(a=!0,e.push(t)),i=n)},{sync:!0}),u=e.afterEach(function(e,n){a?a=!1:(i=e.fullPath,t.commit(o+"/ROUTE_CHANGED",{to:e,from:n}))});return function(){null!=u&&u(),null!=s&&s(),t.unregisterModule(o)}}},function(t,e,n){window,t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=0)}([function(t,e,n){"use strict";function r(){return"undefined"==typeof OC?Promise.reject(new Error("OC not defined")):void 0===OC.PasswordConfirmation?Promise.reject(new Error("OC.PasswordConfirmation not defined")):OC.PasswordConfirmation.requiresPasswordConfirmation()?new Promise(function(t,e){OC.PasswordConfirmation.requirePasswordConfirmation(t,{},e)}):Promise.resolve()}n.r(e),n.d(e,"default",function(){return r})}])},,,,,function(e,n,r){"use strict";r.r(n);var o=r(2),i=r(37),a=function(){var t=this.$createElement;return(this._self._c||t)("router-view")};a._withStripped=!0;var s={name:"App",beforeMount:function(){null!==document.getElementById("serverData")&&this.$store.commit("setServerData",JSON.parse(document.getElementById("serverData").dataset.server))}},u=r(6),c=Object(u.a)(s,a,[],!1,null,null,null);c.options.__file="src/App.vue";var f=c.exports;
|
|
/*!
|
|
* vue-router v3.0.2
|
|
* (c) 2018 Evan You
|
|
* @license MIT
|
|
*/function p(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function l(t,e){for(var n in e)t[n]=e[n];return t}var d={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,r=e.children,o=e.parent,i=e.data;i.routerView=!0;for(var a=o.$createElement,s=n.name,u=o.$route,c=o._routerViewCache||(o._routerViewCache={}),f=0,p=!1;o&&o._routerRoot!==o;)o.$vnode&&o.$vnode.data.routerView&&f++,o._inactive&&(p=!0),o=o.$parent;if(i.routerViewDepth=f,p)return a(c[s],i,r);var d=u.matched[f];if(!d)return c[s]=null,a();var h=c[s]=d.components[s];i.registerRouteInstance=function(t,e){var n=d.instances[s];(e&&n!==t||!e&&n===t)&&(d.instances[s]=e)},(i.hook||(i.hook={})).prepatch=function(t,e){d.instances[s]=e.componentInstance};var v=i.props=function(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0;default:0}}(u,d.props&&d.props[s]);if(v){v=i.props=l({},v);var m=i.attrs=i.attrs||{};for(var y in v)h.props&&y in h.props||(m[y]=v[y],delete v[y])}return a(h,i,r)}};var h=/[!'()*]/g,v=function(t){return"%"+t.charCodeAt(0).toString(16)},m=/%2C/g,y=function(t){return encodeURIComponent(t).replace(h,v).replace(m,",")},g=decodeURIComponent;function _(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var n=t.replace(/\+/g," ").split("="),r=g(n.shift()),o=n.length>0?g(n.join("=")):null;void 0===e[r]?e[r]=o:Array.isArray(e[r])?e[r].push(o):e[r]=[e[r],o]}),e):e}function b(t){var e=t?Object.keys(t).map(function(e){var n=t[e];if(void 0===n)return"";if(null===n)return y(e);if(Array.isArray(n)){var r=[];return n.forEach(function(t){void 0!==t&&(null===t?r.push(y(e)):r.push(y(e)+"="+y(t)))}),r.join("&")}return y(e)+"="+y(n)}).filter(function(t){return t.length>0}).join("&"):null;return e?"?"+e:""}var w=/\/?$/;function A(t,e,n,r){var o=r&&r.options.stringifyQuery,i=e.query||{};try{i=C(i)}catch(t){}var a={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:i,params:e.params||{},fullPath:k(e,o),matched:t?x(t):[]};return n&&(a.redirectedFrom=k(n,o)),Object.freeze(a)}function C(t){if(Array.isArray(t))return t.map(C);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=C(t[n]);return e}return t}var O=A(null,{path:"/"});function x(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function k(t,e){var n=t.path,r=t.query;void 0===r&&(r={});var o=t.hash;return void 0===o&&(o=""),(n||"/")+(e||b)(r)+o}function E(t,e){return e===O?t===e:!!e&&(t.path&&e.path?t.path.replace(w,"")===e.path.replace(w,"")&&t.hash===e.hash&&S(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&S(t.query,e.query)&&S(t.params,e.params)))}function S(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),r=Object.keys(e);return n.length===r.length&&n.every(function(n){var r=t[n],o=e[n];return"object"==typeof r&&"object"==typeof o?S(r,o):String(r)===String(o)})}var $,T=[String,Object],I=[String,Array],j={name:"RouterLink",props:{to:{type:T,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:I,default:"click"}},render:function(t){var e=this,n=this.$router,r=this.$route,o=n.resolve(this.to,r,this.append),i=o.location,a=o.route,s=o.href,u={},c=n.options.linkActiveClass,f=n.options.linkExactActiveClass,p=null==c?"router-link-active":c,d=null==f?"router-link-exact-active":f,h=null==this.activeClass?p:this.activeClass,v=null==this.exactActiveClass?d:this.exactActiveClass,m=i.path?A(null,i,null,n):a;u[v]=E(r,m),u[h]=this.exact?u[v]:function(t,e){return 0===t.path.replace(w,"/").indexOf(e.path.replace(w,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(r,m);var y=function(t){P(t)&&(e.replace?n.replace(i):n.push(i))},g={click:P};Array.isArray(this.event)?this.event.forEach(function(t){g[t]=y}):g[this.event]=y;var _={class:u};if("a"===this.tag)_.on=g,_.attrs={href:s};else{var b=function t(e){if(e)for(var n,r=0;r<e.length;r++){if("a"===(n=e[r]).tag)return n;if(n.children&&(n=t(n.children)))return n}}(this.$slots.default);if(b)b.isStatic=!1,(b.data=l({},b.data)).on=g,(b.data.attrs=l({},b.data.attrs)).href=s;else _.on=g}return t(this.tag,_,this.$slots.default)}};function P(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}var L="undefined"!=typeof window;function U(t,e,n){var r=t.charAt(0);if("/"===r)return t;if("?"===r||"#"===r)return e+t;var o=e.split("/");n&&o[o.length-1]||o.pop();for(var i=t.replace(/^\//,"").split("/"),a=0;a<i.length;a++){var s=i[a];".."===s?o.pop():"."!==s&&o.push(s)}return""!==o[0]&&o.unshift(""),o.join("/")}function R(t){return t.replace(/\/\//g,"/")}var M=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},D=Q,N=V,q=function(t,e){return z(V(t,e))},F=z,B=Y,H=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function V(t,e){for(var n,r=[],o=0,i=0,a="",s=e&&e.delimiter||"/";null!=(n=H.exec(t));){var u=n[0],c=n[1],f=n.index;if(a+=t.slice(i,f),i=f+u.length,c)a+=c[1];else{var p=t[i],l=n[2],d=n[3],h=n[4],v=n[5],m=n[6],y=n[7];a&&(r.push(a),a="");var g=null!=l&&null!=p&&p!==l,_="+"===m||"*"===m,b="?"===m||"*"===m,w=n[2]||s,A=h||v;r.push({name:d||o++,prefix:l||"",delimiter:w,optional:b,repeat:_,partial:g,asterisk:!!y,pattern:A?K(A):y?".*":"[^"+X(w)+"]+?"})}}return i<t.length&&(a+=t.substr(i)),a&&r.push(a),r}function G(t){return encodeURI(t).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function z(t){for(var e=new Array(t.length),n=0;n<t.length;n++)"object"==typeof t[n]&&(e[n]=new RegExp("^(?:"+t[n].pattern+")$"));return function(n,r){for(var o="",i=n||{},a=(r||{}).pretty?G:encodeURIComponent,s=0;s<t.length;s++){var u=t[s];if("string"!=typeof u){var c,f=i[u.name];if(null==f){if(u.optional){u.partial&&(o+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(M(f)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var p=0;p<f.length;p++){if(c=a(f[p]),!e[s].test(c))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(c)+"`");o+=(0===p?u.prefix:u.delimiter)+c}}else{if(c=u.asterisk?encodeURI(f).replace(/[?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}):a(f),!e[s].test(c))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+c+'"');o+=u.prefix+c}}else o+=u}return o}}function X(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function K(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function W(t,e){return t.keys=e,t}function J(t){return t.sensitive?"":"i"}function Y(t,e,n){M(e)||(n=e||n,e=[]);for(var r=(n=n||{}).strict,o=!1!==n.end,i="",a=0;a<t.length;a++){var s=t[a];if("string"==typeof s)i+=X(s);else{var u=X(s.prefix),c="(?:"+s.pattern+")";e.push(s),s.repeat&&(c+="(?:"+u+c+")*"),i+=c=s.optional?s.partial?u+"("+c+")?":"(?:"+u+"("+c+"))?":u+"("+c+")"}}var f=X(n.delimiter||"/"),p=i.slice(-f.length)===f;return r||(i=(p?i.slice(0,-f.length):i)+"(?:"+f+"(?=$))?"),i+=o?"$":r&&p?"":"(?="+f+"|$)",W(new RegExp("^"+i,J(n)),e)}function Q(t,e,n){return M(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?function(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var r=0;r<n.length;r++)e.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return W(t,e)}(t,e):M(t)?function(t,e,n){for(var r=[],o=0;o<t.length;o++)r.push(Q(t[o],e,n).source);return W(new RegExp("(?:"+r.join("|")+")",J(n)),e)}(t,e,n):function(t,e,n){return Y(V(t,n),e,n)}(t,e,n)}D.parse=N,D.compile=q,D.tokensToFunction=F,D.tokensToRegExp=B;var Z=Object.create(null);function tt(t,e,n){try{return(Z[t]||(Z[t]=D.compile(t)))(e||{},{pretty:!0})}catch(t){return""}}function et(t,e,n,r){var o=e||[],i=n||Object.create(null),a=r||Object.create(null);t.forEach(function(t){!function t(e,n,r,o,i,a){var s=o.path;var u=o.name;0;var c=o.pathToRegexpOptions||{};var f=function(t,e,n){n||(t=t.replace(/\/$/,""));if("/"===t[0])return t;if(null==e)return t;return R(e.path+"/"+t)}(s,i,c.strict);"boolean"==typeof o.caseSensitive&&(c.sensitive=o.caseSensitive);var p={path:f,regex:nt(f,c),components:o.components||{default:o.component},instances:{},name:u,parent:i,matchAs:a,redirect:o.redirect,beforeEnter:o.beforeEnter,meta:o.meta||{},props:null==o.props?{}:o.components?o.props:{default:o.props}};o.children&&o.children.forEach(function(o){var i=a?R(a+"/"+o.path):void 0;t(e,n,r,o,p,i)});if(void 0!==o.alias){var l=Array.isArray(o.alias)?o.alias:[o.alias];l.forEach(function(a){var s={path:a,children:o.children};t(e,n,r,s,i,p.path||"/")})}n[p.path]||(e.push(p.path),n[p.path]=p);u&&(r[u]||(r[u]=p))}(o,i,a,t)});for(var s=0,u=o.length;s<u;s++)"*"===o[s]&&(o.push(o.splice(s,1)[0]),u--,s--);return{pathList:o,pathMap:i,nameMap:a}}function nt(t,e){return D(t,[],e)}function rt(t,e,n,r){var o="string"==typeof t?{path:t}:t;if(o.name||o._normalized)return o;if(!o.path&&o.params&&e){(o=l({},o))._normalized=!0;var i=l(l({},e.params),o.params);if(e.name)o.name=e.name,o.params=i;else if(e.matched.length){var a=e.matched[e.matched.length-1].path;o.path=tt(a,i,e.path)}else 0;return o}var s=function(t){var e="",n="",r=t.indexOf("#");r>=0&&(e=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(n=t.slice(o+1),t=t.slice(0,o)),{path:t,query:n,hash:e}}(o.path||""),u=e&&e.path||"/",c=s.path?U(s.path,u,n||o.append):u,f=function(t,e,n){void 0===e&&(e={});var r,o=n||_;try{r=o(t||"")}catch(t){r={}}for(var i in e)r[i]=e[i];return r}(s.query,o.query,r&&r.options.parseQuery),p=o.hash||s.hash;return p&&"#"!==p.charAt(0)&&(p="#"+p),{_normalized:!0,path:c,query:f,hash:p}}function ot(t,e){var n=et(t),r=n.pathList,o=n.pathMap,i=n.nameMap;function a(t,n,a){var s=rt(t,n,!1,e),c=s.name;if(c){var f=i[c];if(!f)return u(null,s);var p=f.regex.keys.filter(function(t){return!t.optional}).map(function(t){return t.name});if("object"!=typeof s.params&&(s.params={}),n&&"object"==typeof n.params)for(var l in n.params)!(l in s.params)&&p.indexOf(l)>-1&&(s.params[l]=n.params[l]);if(f)return s.path=tt(f.path,s.params),u(f,s,a)}else if(s.path){s.params={};for(var d=0;d<r.length;d++){var h=r[d],v=o[h];if(it(v.regex,s.path,s.params))return u(v,s,a)}}return u(null,s)}function s(t,n){var r=t.redirect,o="function"==typeof r?r(A(t,n,null,e)):r;if("string"==typeof o&&(o={path:o}),!o||"object"!=typeof o)return u(null,n);var s=o,c=s.name,f=s.path,p=n.query,l=n.hash,d=n.params;if(p=s.hasOwnProperty("query")?s.query:p,l=s.hasOwnProperty("hash")?s.hash:l,d=s.hasOwnProperty("params")?s.params:d,c){i[c];return a({_normalized:!0,name:c,query:p,hash:l,params:d},void 0,n)}if(f){var h=function(t,e){return U(t,e.parent?e.parent.path:"/",!0)}(f,t);return a({_normalized:!0,path:tt(h,d),query:p,hash:l},void 0,n)}return u(null,n)}function u(t,n,r){return t&&t.redirect?s(t,r||n):t&&t.matchAs?function(t,e,n){var r=a({_normalized:!0,path:tt(n,e.params)});if(r){var o=r.matched,i=o[o.length-1];return e.params=r.params,u(i,e)}return u(null,e)}(0,n,t.matchAs):A(t,n,r,e)}return{match:a,addRoutes:function(t){et(t,r,o,i)}}}function it(t,e,n){var r=e.match(t);if(!r)return!1;if(!n)return!0;for(var o=1,i=r.length;o<i;++o){var a=t.keys[o-1],s="string"==typeof r[o]?decodeURIComponent(r[o]):r[o];a&&(n[a.name||"pathMatch"]=s)}return!0}var at=Object.create(null);function st(){window.history.replaceState({key:_t()},"",window.location.href.replace(window.location.origin,"")),window.addEventListener("popstate",function(t){var e;ct(),t.state&&t.state.key&&(e=t.state.key,yt=e)})}function ut(t,e,n,r){if(t.app){var o=t.options.scrollBehavior;o&&t.app.$nextTick(function(){var i=function(){var t=_t();if(t)return at[t]}(),a=o.call(t,e,n,r?i:null);a&&("function"==typeof a.then?a.then(function(t){dt(t,i)}).catch(function(t){0}):dt(a,i))})}}function ct(){var t=_t();t&&(at[t]={x:window.pageXOffset,y:window.pageYOffset})}function ft(t){return lt(t.x)||lt(t.y)}function pt(t){return{x:lt(t.x)?t.x:window.pageXOffset,y:lt(t.y)?t.y:window.pageYOffset}}function lt(t){return"number"==typeof t}function dt(t,e){var n,r="object"==typeof t;if(r&&"string"==typeof t.selector){var o=document.querySelector(t.selector);if(o){var i=t.offset&&"object"==typeof t.offset?t.offset:{};e=function(t,e){var n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{x:r.left-n.left-e.x,y:r.top-n.top-e.y}}(o,i={x:lt((n=i).x)?n.x:0,y:lt(n.y)?n.y:0})}else ft(t)&&(e=pt(t))}else r&&ft(t)&&(e=pt(t));e&&window.scrollTo(e.x,e.y)}var ht,vt=L&&((-1===(ht=window.navigator.userAgent).indexOf("Android 2.")&&-1===ht.indexOf("Android 4.0")||-1===ht.indexOf("Mobile Safari")||-1!==ht.indexOf("Chrome")||-1!==ht.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history),mt=L&&window.performance&&window.performance.now?window.performance:Date,yt=gt();function gt(){return mt.now().toFixed(3)}function _t(){return yt}function bt(t,e){ct();var n=window.history;try{e?n.replaceState({key:yt},"",t):(yt=gt(),n.pushState({key:yt},"",t))}catch(n){window.location[e?"replace":"assign"](t)}}function wt(t){bt(t,!0)}function At(t,e,n){var r=function(o){o>=t.length?n():t[o]?e(t[o],function(){r(o+1)}):r(o+1)};r(0)}function Ct(t){return function(e,n,r){var o=!1,i=0,a=null;Ot(t,function(t,e,n,s){if("function"==typeof t&&void 0===t.cid){o=!0,i++;var u,c=Et(function(e){var o;((o=e).__esModule||kt&&"Module"===o[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:$.extend(e),n.components[s]=e,--i<=0&&r()}),f=Et(function(t){var e="Failed to resolve async component "+s+": "+t;a||(a=p(t)?t:new Error(e),r(a))});try{u=t(c,f)}catch(t){f(t)}if(u)if("function"==typeof u.then)u.then(c,f);else{var l=u.component;l&&"function"==typeof l.then&&l.then(c,f)}}}),o||r()}}function Ot(t,e){return xt(t.map(function(t){return Object.keys(t.components).map(function(n){return e(t.components[n],t.instances[n],t,n)})}))}function xt(t){return Array.prototype.concat.apply([],t)}var kt="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Et(t){var e=!1;return function(){for(var n=[],r=arguments.length;r--;)n[r]=arguments[r];if(!e)return e=!0,t.apply(this,n)}}var St=function(t,e){this.router=t,this.base=function(t){if(!t)if(L){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=O,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function $t(t,e,n,r){var o=Ot(t,function(t,r,o,i){var a=function(t,e){"function"!=typeof t&&(t=$.extend(t));return t.options[e]}(t,e);if(a)return Array.isArray(a)?a.map(function(t){return n(t,r,o,i)}):n(a,r,o,i)});return xt(r?o.reverse():o)}function Tt(t,e){if(e)return function(){return t.apply(e,arguments)}}St.prototype.listen=function(t){this.cb=t},St.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},St.prototype.onError=function(t){this.errorCbs.push(t)},St.prototype.transitionTo=function(t,e,n){var r=this,o=this.router.match(t,this.current);this.confirmTransition(o,function(){r.updateRoute(o),e&&e(o),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(o)}))},function(t){n&&n(t),t&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach(function(e){e(t)}))})},St.prototype.confirmTransition=function(t,e,n){var r=this,o=this.current,i=function(t){p(t)&&(r.errorCbs.length?r.errorCbs.forEach(function(e){e(t)}):console.error(t)),n&&n(t)};if(E(t,o)&&t.matched.length===o.matched.length)return this.ensureURL(),i();var a=function(t,e){var n,r=Math.max(t.length,e.length);for(n=0;n<r&&t[n]===e[n];n++);return{updated:e.slice(0,n),activated:e.slice(n),deactivated:t.slice(n)}}(this.current.matched,t.matched),s=a.updated,u=a.deactivated,c=a.activated,f=[].concat(function(t){return $t(t,"beforeRouteLeave",Tt,!0)}(u),this.router.beforeHooks,function(t){return $t(t,"beforeRouteUpdate",Tt)}(s),c.map(function(t){return t.beforeEnter}),Ct(c));this.pending=t;var l=function(e,n){if(r.pending!==t)return i();try{e(t,o,function(t){!1===t||p(t)?(r.ensureURL(!0),i(t)):"string"==typeof t||"object"==typeof t&&("string"==typeof t.path||"string"==typeof t.name)?(i(),"object"==typeof t&&t.replace?r.replace(t):r.push(t)):n(t)})}catch(t){i(t)}};At(f,l,function(){var n=[];At(function(t,e,n){return $t(t,"beforeRouteEnter",function(t,r,o,i){return function(t,e,n,r,o){return function(i,a,s){return t(i,a,function(t){s(t),"function"==typeof t&&r.push(function(){!function t(e,n,r,o){n[r]&&!n[r]._isBeingDestroyed?e(n[r]):o()&&setTimeout(function(){t(e,n,r,o)},16)}(t,e.instances,n,o)})})}}(t,o,i,e,n)})}(c,n,function(){return r.current===t}).concat(r.router.resolveHooks),l,function(){if(r.pending!==t)return i();r.pending=null,e(t),r.router.app&&r.router.app.$nextTick(function(){n.forEach(function(t){t()})})})})},St.prototype.updateRoute=function(t){var e=this.current;this.current=t,this.cb&&this.cb(t),this.router.afterHooks.forEach(function(n){n&&n(t,e)})};var It=function(t){function e(e,n){var r=this;t.call(this,e,n);var o=e.options.scrollBehavior,i=vt&&o;i&&st();var a=jt(this.base);window.addEventListener("popstate",function(t){var n=r.current,o=jt(r.base);r.current===O&&o===a||r.transitionTo(o,function(t){i&&ut(e,t,n,!0)})})}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,function(t){bt(R(r.base+t.fullPath)),ut(r.router,t,o,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,function(t){wt(R(r.base+t.fullPath)),ut(r.router,t,o,!1),e&&e(t)},n)},e.prototype.ensureURL=function(t){if(jt(this.base)!==this.current.fullPath){var e=R(this.base+this.current.fullPath);t?bt(e):wt(e)}},e.prototype.getCurrentLocation=function(){return jt(this.base)},e}(St);function jt(t){var e=decodeURI(window.location.pathname);return t&&0===e.indexOf(t)&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var Pt=function(t){function e(e,n,r){t.call(this,e,n),r&&function(t){var e=jt(t);if(!/^\/#/.test(e))return window.location.replace(R(t+"/#"+e)),!0}(this.base)||Lt()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this,e=this.router.options.scrollBehavior,n=vt&&e;n&&st(),window.addEventListener(vt?"popstate":"hashchange",function(){var e=t.current;Lt()&&t.transitionTo(Ut(),function(r){n&&ut(t.router,r,e,!0),vt||Dt(r.fullPath)})})},e.prototype.push=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,function(t){Mt(t.fullPath),ut(r.router,t,o,!1),e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this,o=this.current;this.transitionTo(t,function(t){Dt(t.fullPath),ut(r.router,t,o,!1),e&&e(t)},n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;Ut()!==e&&(t?Mt(e):Dt(e))},e.prototype.getCurrentLocation=function(){return Ut()},e}(St);function Lt(){var t=Ut();return"/"===t.charAt(0)||(Dt("/"+t),!1)}function Ut(){var t=window.location.href,e=t.indexOf("#");return-1===e?"":decodeURI(t.slice(e+1))}function Rt(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function Mt(t){vt?bt(Rt(t)):window.location.hash=t}function Dt(t){vt?wt(Rt(t)):window.location.replace(Rt(t))}var Nt=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,e&&e(t)},n)},e.prototype.replace=function(t,e,n){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index).concat(t),e&&e(t)},n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var r=this.stack[n];this.confirmTransition(r,function(){e.index=n,e.updateRoute(r)})}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(St),qt=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=ot(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!vt&&!1!==t.fallback,this.fallback&&(e="hash"),L||(e="abstract"),this.mode=e,e){case"history":this.history=new It(this,t.base);break;case"hash":this.history=new Pt(this,t.base,this.fallback);break;case"abstract":this.history=new Nt(this,t.base);break;default:0}},Ft={currentRoute:{configurable:!0}};function Bt(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}qt.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},Ft.currentRoute.get=function(){return this.history&&this.history.current},qt.prototype.init=function(t){var e=this;if(this.apps.push(t),!this.app){this.app=t;var n=this.history;if(n instanceof It)n.transitionTo(n.getCurrentLocation());else if(n instanceof Pt){var r=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),r,r)}n.listen(function(t){e.apps.forEach(function(e){e._route=t})})}},qt.prototype.beforeEach=function(t){return Bt(this.beforeHooks,t)},qt.prototype.beforeResolve=function(t){return Bt(this.resolveHooks,t)},qt.prototype.afterEach=function(t){return Bt(this.afterHooks,t)},qt.prototype.onReady=function(t,e){this.history.onReady(t,e)},qt.prototype.onError=function(t){this.history.onError(t)},qt.prototype.push=function(t,e,n){this.history.push(t,e,n)},qt.prototype.replace=function(t,e,n){this.history.replace(t,e,n)},qt.prototype.go=function(t){this.history.go(t)},qt.prototype.back=function(){this.go(-1)},qt.prototype.forward=function(){this.go(1)},qt.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map(function(t){return Object.keys(t.components).map(function(e){return t.components[e]})})):[]},qt.prototype.resolve=function(t,e,n){var r=rt(t,e||this.history.current,n,this),o=this.match(r,e),i=o.redirectedFrom||o.fullPath;return{location:r,route:o,href:function(t,e,n){var r="hash"===n?"#"+e:e;return t?R(t+"/"+r):r}(this.history.base,i,this.mode),normalizedTo:r,resolved:o}},qt.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==O&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(qt.prototype,Ft),qt.install=function t(e){if(!t.installed||$!==e){t.installed=!0,$=e;var n=function(t){return void 0!==t},r=function(t,e){var r=t.$options._parentVnode;n(r)&&n(r=r.data)&&n(r=r.registerRouteInstance)&&r(t,e)};e.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.util.defineReactive(this,"_route",this._router.history.current)):this._routerRoot=this.$parent&&this.$parent._routerRoot||this,r(this,this)},destroyed:function(){r(this)}}),Object.defineProperty(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",d),e.component("RouterLink",j);var o=e.config.optionMergeStrategies;o.beforeRouteEnter=o.beforeRouteLeave=o.beforeRouteUpdate=o.created}},qt.version="3.0.2",L&&window.Vue&&window.Vue.use(qt);var Ht=qt,Vt=function(){return Promise.all([r.e(0),r.e(3),r.e(6)]).then(r.bind(null,54))},Gt=function(){return Promise.all([r.e(0),r.e(4),r.e(5)]).then(r.bind(null,53))};
|
|
/*
|
|
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
|
|
*
|
|
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
|
* @author Julius Härtl <jus@bitgrid.net>
|
|
*
|
|
* @license GNU AGPL version 3 or any later version
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Affero General Public License as
|
|
* published by the Free Software Foundation, either version 3 of the
|
|
* License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Affero General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
*/o.a.use(Ht);var zt=new Ht({mode:"history",base:OC.generateUrl(""),linkActiveClass:"active",routes:[{path:"/:index(index.php/)?settings/users",component:Vt,props:!0,name:"users",children:[{path:":selectedGroup(.*)",name:"group",component:Vt}]},{path:"/:index(index.php/)?settings/apps",component:Gt,props:!0,name:"apps",children:[{path:":category",name:"apps-category",component:Gt,children:[{path:":id",name:"apps-details",component:Gt}]}]}]});
|
|
/**
|
|
* vuex v3.1.0
|
|
* (c) 2019 Evan You
|
|
* @license MIT
|
|
*/var Xt="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Kt(t,e){Object.keys(t).forEach(function(n){return e(t[n],n)})}var Wt=function(t,e){this.runtime=e,this._children=Object.create(null),this._rawModule=t;var n=t.state;this.state=("function"==typeof n?n():n)||{}},Jt={namespaced:{configurable:!0}};Jt.namespaced.get=function(){return!!this._rawModule.namespaced},Wt.prototype.addChild=function(t,e){this._children[t]=e},Wt.prototype.removeChild=function(t){delete this._children[t]},Wt.prototype.getChild=function(t){return this._children[t]},Wt.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)},Wt.prototype.forEachChild=function(t){Kt(this._children,t)},Wt.prototype.forEachGetter=function(t){this._rawModule.getters&&Kt(this._rawModule.getters,t)},Wt.prototype.forEachAction=function(t){this._rawModule.actions&&Kt(this._rawModule.actions,t)},Wt.prototype.forEachMutation=function(t){this._rawModule.mutations&&Kt(this._rawModule.mutations,t)},Object.defineProperties(Wt.prototype,Jt);var Yt=function(t){this.register([],t,!1)};Yt.prototype.get=function(t){return t.reduce(function(t,e){return t.getChild(e)},this.root)},Yt.prototype.getNamespace=function(t){var e=this.root;return t.reduce(function(t,n){return t+((e=e.getChild(n)).namespaced?n+"/":"")},"")},Yt.prototype.update=function(t){!function t(e,n,r){0;n.update(r);if(r.modules)for(var o in r.modules){if(!n.getChild(o))return void 0;t(e.concat(o),n.getChild(o),r.modules[o])}}([],this.root,t)},Yt.prototype.register=function(t,e,n){var r=this;void 0===n&&(n=!0);var o=new Wt(e,n);0===t.length?this.root=o:this.get(t.slice(0,-1)).addChild(t[t.length-1],o);e.modules&&Kt(e.modules,function(e,o){r.register(t.concat(o),e,n)})},Yt.prototype.unregister=function(t){var e=this.get(t.slice(0,-1)),n=t[t.length-1];e.getChild(n).runtime&&e.removeChild(n)};var Qt;var Zt=function(t){var e=this;void 0===t&&(t={}),!Qt&&"undefined"!=typeof window&&window.Vue&&se(window.Vue);var n=t.plugins;void 0===n&&(n=[]);var r=t.strict;void 0===r&&(r=!1),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Yt(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new Qt;var o=this,i=this.dispatch,a=this.commit;this.dispatch=function(t,e){return i.call(o,t,e)},this.commit=function(t,e,n){return a.call(o,t,e,n)},this.strict=r;var s=this._modules.root.state;oe(this,s,[],this._modules.root),re(this,s),n.forEach(function(t){return t(e)}),(void 0!==t.devtools?t.devtools:Qt.config.devtools)&&function(t){Xt&&(t._devtoolHook=Xt,Xt.emit("vuex:init",t),Xt.on("vuex:travel-to-state",function(e){t.replaceState(e)}),t.subscribe(function(t,e){Xt.emit("vuex:mutation",t,e)}))}(this)},te={state:{configurable:!0}};function ee(t,e){return e.indexOf(t)<0&&e.push(t),function(){var n=e.indexOf(t);n>-1&&e.splice(n,1)}}function ne(t,e){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var n=t.state;oe(t,n,[],t._modules.root,!0),re(t,n,e)}function re(t,e,n){var r=t._vm;t.getters={};var o=t._wrappedGetters,i={};Kt(o,function(e,n){i[n]=function(){return e(t)},Object.defineProperty(t.getters,n,{get:function(){return t._vm[n]},enumerable:!0})});var a=Qt.config.silent;Qt.config.silent=!0,t._vm=new Qt({data:{$$state:e},computed:i}),Qt.config.silent=a,t.strict&&function(t){t._vm.$watch(function(){return this._data.$$state},function(){0},{deep:!0,sync:!0})}(t),r&&(n&&t._withCommit(function(){r._data.$$state=null}),Qt.nextTick(function(){return r.$destroy()}))}function oe(t,e,n,r,o){var i=!n.length,a=t._modules.getNamespace(n);if(r.namespaced&&(t._modulesNamespaceMap[a]=r),!i&&!o){var s=ie(e,n.slice(0,-1)),u=n[n.length-1];t._withCommit(function(){Qt.set(s,u,r.state)})}var c=r.context=function(t,e,n){var r=""===e,o={dispatch:r?t.dispatch:function(n,r,o){var i=ae(n,r,o),a=i.payload,s=i.options,u=i.type;return s&&s.root||(u=e+u),t.dispatch(u,a)},commit:r?t.commit:function(n,r,o){var i=ae(n,r,o),a=i.payload,s=i.options,u=i.type;s&&s.root||(u=e+u),t.commit(u,a,s)}};return Object.defineProperties(o,{getters:{get:r?function(){return t.getters}:function(){return function(t,e){var n={},r=e.length;return Object.keys(t.getters).forEach(function(o){if(o.slice(0,r)===e){var i=o.slice(r);Object.defineProperty(n,i,{get:function(){return t.getters[o]},enumerable:!0})}}),n}(t,e)}},state:{get:function(){return ie(t.state,n)}}}),o}(t,a,n);r.forEachMutation(function(e,n){!function(t,e,n,r){(t._mutations[e]||(t._mutations[e]=[])).push(function(e){n.call(t,r.state,e)})}(t,a+n,e,c)}),r.forEachAction(function(e,n){var r=e.root?n:a+n,o=e.handler||e;!function(t,e,n,r){(t._actions[e]||(t._actions[e]=[])).push(function(e,o){var i,a=n.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},e,o);return(i=a)&&"function"==typeof i.then||(a=Promise.resolve(a)),t._devtoolHook?a.catch(function(e){throw t._devtoolHook.emit("vuex:error",e),e}):a})}(t,r,o,c)}),r.forEachGetter(function(e,n){!function(t,e,n,r){if(t._wrappedGetters[e])return void 0;t._wrappedGetters[e]=function(t){return n(r.state,r.getters,t.state,t.getters)}}(t,a+n,e,c)}),r.forEachChild(function(r,i){oe(t,e,n.concat(i),r,o)})}function ie(t,e){return e.length?e.reduce(function(t,e){return t[e]},t):t}function ae(t,e,n){var r;return null!==(r=t)&&"object"==typeof r&&t.type&&(n=e,e=t,t=t.type),{type:t,payload:e,options:n}}function se(t){Qt&&t===Qt||function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:n});else{var e=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[n].concat(t.init):n,e.call(this,t)}}function n(){var t=this.$options;t.store?this.$store="function"==typeof t.store?t.store():t.store:t.parent&&t.parent.$store&&(this.$store=t.parent.$store)}}(Qt=t)}te.state.get=function(){return this._vm._data.$$state},te.state.set=function(t){0},Zt.prototype.commit=function(t,e,n){var r=this,o=ae(t,e,n),i=o.type,a=o.payload,s=(o.options,{type:i,payload:a}),u=this._mutations[i];u&&(this._withCommit(function(){u.forEach(function(t){t(a)})}),this._subscribers.forEach(function(t){return t(s,r.state)}))},Zt.prototype.dispatch=function(t,e){var n=this,r=ae(t,e),o=r.type,i=r.payload,a={type:o,payload:i},s=this._actions[o];if(s){try{this._actionSubscribers.filter(function(t){return t.before}).forEach(function(t){return t.before(a,n.state)})}catch(t){0}return(s.length>1?Promise.all(s.map(function(t){return t(i)})):s[0](i)).then(function(t){try{n._actionSubscribers.filter(function(t){return t.after}).forEach(function(t){return t.after(a,n.state)})}catch(t){0}return t})}},Zt.prototype.subscribe=function(t){return ee(t,this._subscribers)},Zt.prototype.subscribeAction=function(t){return ee("function"==typeof t?{before:t}:t,this._actionSubscribers)},Zt.prototype.watch=function(t,e,n){var r=this;return this._watcherVM.$watch(function(){return t(r.state,r.getters)},e,n)},Zt.prototype.replaceState=function(t){var e=this;this._withCommit(function(){e._vm._data.$$state=t})},Zt.prototype.registerModule=function(t,e,n){void 0===n&&(n={}),"string"==typeof t&&(t=[t]),this._modules.register(t,e),oe(this,this.state,t,this._modules.get(t),n.preserveState),re(this,this.state)},Zt.prototype.unregisterModule=function(t){var e=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var n=ie(e.state,t.slice(0,-1));Qt.delete(n,t[t.length-1])}),ne(this)},Zt.prototype.hotUpdate=function(t){this._modules.update(t),ne(this,!0)},Zt.prototype._withCommit=function(t){var e=this._committing;this._committing=!0,t(),this._committing=e},Object.defineProperties(Zt.prototype,te);var ue=de(function(t,e){var n={};return le(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){var e=this.$store.state,n=this.$store.getters;if(t){var r=he(this.$store,"mapState",t);if(!r)return;e=r.context.state,n=r.context.getters}return"function"==typeof o?o.call(this,e,n):e[o]},n[r].vuex=!0}),n}),ce=de(function(t,e){var n={};return le(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.commit;if(t){var i=he(this.$store,"mapMutations",t);if(!i)return;r=i.context.commit}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}}),n}),fe=de(function(t,e){var n={};return le(e).forEach(function(e){var r=e.key,o=e.val;o=t+o,n[r]=function(){if(!t||he(this.$store,"mapGetters",t))return this.$store.getters[o]},n[r].vuex=!0}),n}),pe=de(function(t,e){var n={};return le(e).forEach(function(e){var r=e.key,o=e.val;n[r]=function(){for(var e=[],n=arguments.length;n--;)e[n]=arguments[n];var r=this.$store.dispatch;if(t){var i=he(this.$store,"mapActions",t);if(!i)return;r=i.context.dispatch}return"function"==typeof o?o.apply(this,[r].concat(e)):r.apply(this.$store,[o].concat(e))}}),n});function le(t){return Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(e){return{key:e,val:t[e]}})}function de(t){return function(e,n){return"string"!=typeof e?(n=e,e=""):"/"!==e.charAt(e.length-1)&&(e+="/"),t(e,n)}}function he(t,e,n){return t._modulesNamespaceMap[n]}var ve={Store:Zt,install:se,version:"3.1.0",mapState:ue,mapMutations:ce,mapGetters:fe,mapActions:pe,createNamespacedHelpers:function(t){return{mapState:ue.bind(null,t),mapGetters:fe.bind(null,t),mapMutations:ce.bind(null,t),mapActions:pe.bind(null,t)}}},me=r(0),ye=function(t,e){return 1===e?t.sort(function(t,e){return t.usercount-t.disabled<e.usercount-e.disabled}):t.sort(function(t,e){return t.name.localeCompare(e.name)})},ge={id:"",name:"",usercount:0,disabled:0,canAdd:!0,canRemove:!0},_e={state:{users:[],groups:[],orderBy:1,minPasswordLength:0,usersOffset:0,usersLimit:25,userCount:0},mutations:{appendUsers:function(t,e){var n=t.users.concat(Object.keys(e).map(function(t){return e[t]}));t.usersOffset+=t.usersLimit,t.users=n},setPasswordPolicyMinLength:function(t,e){t.minPasswordLength=""!==e?e:0},initGroups:function(t,e){var n=e.groups,r=e.orderBy,o=e.userCount;t.groups=n.map(function(t){return Object.assign({},ge,t)}),t.orderBy=r,t.userCount=o,t.groups=ye(t.groups,t.orderBy)},addGroup:function(t,e){var n=e.gid,r=e.displayName;try{if(void 0!==t.groups.find(function(t){return t.id===n}))return;var o=Object.assign({},ge,{id:n,name:r});t.groups.push(o),t.groups=ye(t.groups,t.orderBy)}catch(t){console.log("Can't create group",t)}},removeGroup:function(t,e){var n=t.groups.findIndex(function(t){return t.id==e});n>=0&&t.groups.splice(n,1)},addUserGroup:function(t,e){var n=e.userid,r=e.gid,o=t.groups.find(function(t){return t.id==r}),i=t.users.find(function(t){return t.id==n});o&&i.enabled&&o.usercount++,i.groups.push(r),t.groups=ye(t.groups,t.orderBy)},removeUserGroup:function(t,e){var n=e.userid,r=e.gid,o=t.groups.find(function(t){return t.id==r}),i=t.users.find(function(t){return t.id==n});o&&i.enabled&&o.usercount--;var a=i.groups;a.splice(a.indexOf(r),1),t.groups=ye(t.groups,t.orderBy)},addUserSubAdmin:function(t,e){var n=e.userid,r=e.gid;t.users.find(function(t){return t.id==n}).subadmin.push(r)},removeUserSubAdmin:function(t,e){var n=e.userid,r=e.gid,o=t.users.find(function(t){return t.id==n}).subadmin;o.splice(o.indexOf(r),1)},deleteUser:function(t,e){var n=t.users.findIndex(function(t){return t.id==e});t.users.splice(n,1)},addUserData:function(t,e){t.users.push(e.data.ocs.data)},enableDisableUser:function(t,e){var n=e.userid,r=e.enabled,o=t.users.find(function(t){return t.id==n});o.enabled=r,t.groups.find(function(t){return"disabled"==t.id}).usercount+=r?-1:1,t.userCount+=r?1:-1,o.groups.forEach(function(e){t.groups.find(function(t){return t.id==e}).disabled+=r?-1:1})},setUserData:function(t,e){var n=e.userid,r=e.key,o=e.value;if("quota"===r){var i=OC.Util.computerFileSize(o);t.users.find(function(t){return t.id==n})[r][r]=null!==i?i:o}else t.users.find(function(t){return t.id==n})[r]=o},resetUsers:function(t){t.users=[],t.usersOffset=0}},getters:{getUsers:function(t){return t.users},getGroups:function(t){return t.groups},getSubadminGroups:function(t){return t.groups.filter(function(t){return"admin"!==t.id&&"disabled"!==t.id})},getPasswordPolicyMinLength:function(t){return t.minPasswordLength},getUsersOffset:function(t){return t.usersOffset},getUsersLimit:function(t){return t.usersLimit},getUserCount:function(t){return t.userCount}},actions:{getUsers:function(t,e){var n=e.offset,r=e.limit,o=e.search,i=e.group;return o="string"==typeof o?o:"",""!==(i="string"==typeof i?i:"")?me.a.get(OC.linkToOCS("cloud/groups/".concat(i,"/users/details?offset=").concat(n,"&limit=").concat(r,"&search=").concat(o),2)).then(function(e){return Object.keys(e.data.ocs.data.users).length>0&&(t.commit("appendUsers",e.data.ocs.data.users),!0)}).catch(function(e){return t.commit("API_FAILURE",e)}):me.a.get(OC.linkToOCS("cloud/users/details?offset=".concat(n,"&limit=").concat(r,"&search=").concat(o),2)).then(function(e){return Object.keys(e.data.ocs.data.users).length>0&&(t.commit("appendUsers",e.data.ocs.data.users),!0)}).catch(function(e){return t.commit("API_FAILURE",e)})},getGroups:function(t,e){var n=e.offset,r=e.limit,o=e.search;o="string"==typeof o?o:"";var i=-1===r?"":"&limit=".concat(r);return me.a.get(OC.linkToOCS("cloud/groups?offset=".concat(n,"&search=").concat(o).concat(i),2)).then(function(e){return Object.keys(e.data.ocs.data.groups).length>0&&(e.data.ocs.data.groups.forEach(function(e){t.commit("addGroup",{gid:e,displayName:e})}),!0)}).catch(function(e){return t.commit("API_FAILURE",e)})},getUsersFromList:function(t,e){var n=e.offset,r=e.limit,o=e.search;return o="string"==typeof o?o:"",me.a.get(OC.linkToOCS("cloud/users/details?offset=".concat(n,"&limit=").concat(r,"&search=").concat(o),2)).then(function(e){return Object.keys(e.data.ocs.data.users).length>0&&(t.commit("appendUsers",e.data.ocs.data.users),!0)}).catch(function(e){return t.commit("API_FAILURE",e)})},getUsersFromGroup:function(t,e){var n=e.groupid,r=e.offset,o=e.limit;return me.a.get(OC.linkToOCS("cloud/users/".concat(n,"/details?offset=").concat(r,"&limit=").concat(o),2)).then(function(e){return t.commit("getUsersFromList",e.data.ocs.data.users)}).catch(function(e){return t.commit("API_FAILURE",e)})},getPasswordPolicyMinLength:function(t){return!(!oc_capabilities.password_policy||!oc_capabilities.password_policy.minLength)&&(t.commit("setPasswordPolicyMinLength",oc_capabilities.password_policy.minLength),oc_capabilities.password_policy.minLength)},addGroup:function(t,e){return me.a.requireAdmin().then(function(n){return me.a.post(OC.linkToOCS("cloud/groups",2),{groupid:e}).then(function(n){return t.commit("addGroup",{gid:e,displayName:e}),{gid:e,displayName:e}}).catch(function(t){throw t})}).catch(function(n){throw t.commit("API_FAILURE",{gid:e,error:n}),n})},removeGroup:function(t,e){return me.a.requireAdmin().then(function(n){return me.a.delete(OC.linkToOCS("cloud/groups/".concat(e),2)).then(function(n){return t.commit("removeGroup",e)}).catch(function(t){throw t})}).catch(function(n){return t.commit("API_FAILURE",{gid:e,error:n})})},addUserGroup:function(t,e){var n=e.userid,r=e.gid;return me.a.requireAdmin().then(function(e){return me.a.post(OC.linkToOCS("cloud/users/".concat(n,"/groups"),2),{groupid:r}).then(function(e){return t.commit("addUserGroup",{userid:n,gid:r})}).catch(function(t){throw t})}).catch(function(e){return t.commit("API_FAILURE",{userid:n,error:e})})},removeUserGroup:function(t,e){var n=e.userid,r=e.gid;return me.a.requireAdmin().then(function(e){return me.a.delete(OC.linkToOCS("cloud/users/".concat(n,"/groups"),2),{groupid:r}).then(function(e){return t.commit("removeUserGroup",{userid:n,gid:r})}).catch(function(t){throw t})}).catch(function(e){throw t.commit("API_FAILURE",{userid:n,error:e}),e})},addUserSubAdmin:function(t,e){var n=e.userid,r=e.gid;return me.a.requireAdmin().then(function(e){return me.a.post(OC.linkToOCS("cloud/users/".concat(n,"/subadmins"),2),{groupid:r}).then(function(e){return t.commit("addUserSubAdmin",{userid:n,gid:r})}).catch(function(t){throw t})}).catch(function(e){return t.commit("API_FAILURE",{userid:n,error:e})})},removeUserSubAdmin:function(t,e){var n=e.userid,r=e.gid;return me.a.requireAdmin().then(function(e){return me.a.delete(OC.linkToOCS("cloud/users/".concat(n,"/subadmins"),2),{groupid:r}).then(function(e){return t.commit("removeUserSubAdmin",{userid:n,gid:r})}).catch(function(t){throw t})}).catch(function(e){return t.commit("API_FAILURE",{userid:n,error:e})})},deleteUser:function(t,e){return me.a.requireAdmin().then(function(n){return me.a.delete(OC.linkToOCS("cloud/users/".concat(e),2)).then(function(n){return t.commit("deleteUser",e)}).catch(function(t){throw t})}).catch(function(n){return t.commit("API_FAILURE",{userid:e,error:n})})},addUser:function(t,e){var n=t.commit,r=t.dispatch,o=e.userid,i=e.password,a=e.displayName,s=e.email,u=e.groups,c=e.subadmin,f=e.quota,p=e.language;return me.a.requireAdmin().then(function(t){return me.a.post(OC.linkToOCS("cloud/users",2),{userid:o,password:i,displayName:a,email:s,groups:u,subadmin:c,quota:f,language:p}).then(function(t){return r("addUserData",o)}).catch(function(t){throw t})}).catch(function(t){throw n("API_FAILURE",{userid:o,error:t}),t})},addUserData:function(t,e){return me.a.requireAdmin().then(function(n){return me.a.get(OC.linkToOCS("cloud/users/".concat(e),2)).then(function(e){return t.commit("addUserData",e)}).catch(function(t){throw t})}).catch(function(n){return t.commit("API_FAILURE",{userid:e,error:n})})},enableDisableUser:function(t,e){var n=e.userid,r=e.enabled,o=void 0===r||r,i=o?"enable":"disable";return me.a.requireAdmin().then(function(e){return me.a.put(OC.linkToOCS("cloud/users/".concat(n,"/").concat(i),2)).then(function(e){return t.commit("enableDisableUser",{userid:n,enabled:o})}).catch(function(t){throw t})}).catch(function(e){return t.commit("API_FAILURE",{userid:n,error:e})})},setUserData:function(t,e){var n=e.userid,r=e.key,o=e.value,i=["email","displayname"];return-1!==["email","language","quota","displayname","password"].indexOf(r)&&"string"==typeof o&&(-1===i.indexOf(r)&&o.length>0||-1!==i.indexOf(r))?me.a.requireAdmin().then(function(e){return me.a.put(OC.linkToOCS("cloud/users/".concat(n),2),{key:r,value:o}).then(function(e){return t.commit("setUserData",{userid:n,key:r,value:o})}).catch(function(t){throw t})}).catch(function(e){return t.commit("API_FAILURE",{userid:n,error:e})}):Promise.reject(new Error("Invalid request data"))},sendWelcomeMail:function(t,e){return me.a.requireAdmin().then(function(t){return me.a.post(OC.linkToOCS("cloud/users/".concat(e,"/welcome"),2)).then(function(t){return!0}).catch(function(t){throw t})}).catch(function(n){return t.commit("API_FAILURE",{userid:e,error:n})})}}},be={state:{apps:[],categories:[],updateCount:0,loading:{},loadingList:!1},mutations:{APPS_API_FAILURE:function(e,n){OC.Notification.showHtml(t("settings","An error occured during the request. Unable to proceed.")+"<br>"+n.error.response.data.data.message,{timeout:7}),console.log(e,n)},initCategories:function(t,e){var n=e.categories,r=e.updateCount;t.categories=n,t.updateCount=r},setUpdateCount:function(t,e){t.updateCount=e},addCategory:function(t,e){t.categories.push(e)},appendCategories:function(t,e){t.categories=e},setAllApps:function(t,e){t.apps=e},setError:function(t,e){var n=e.appId,r=e.error;Array.isArray(n)||(n=[n]),n.forEach(function(e){t.apps.find(function(t){return t.id===e}).error=r})},clearError:function(t,e){var n=e.appId;e.error;t.apps.find(function(t){return t.id===n}).error=null},enableApp:function(t,e){var n=e.appId,r=e.groups,o=t.apps.find(function(t){return t.id===n});o.active=!0,o.groups=r},disableApp:function(t,e){var n=t.apps.find(function(t){return t.id===e});n.active=!1,n.groups=[],n.removable&&(n.canUnInstall=!0)},uninstallApp:function(t,e){t.apps.find(function(t){return t.id===e}).active=!1,t.apps.find(function(t){return t.id===e}).groups=[],t.apps.find(function(t){return t.id===e}).needsDownload=!0,t.apps.find(function(t){return t.id===e}).installed=!1,t.apps.find(function(t){return t.id===e}).canUnInstall=!1,t.apps.find(function(t){return t.id===e}).canInstall=!0},updateApp:function(t,e){var n=t.apps.find(function(t){return t.id===e}),r=n.update;n.update=null,n.version=r,t.updateCount--},resetApps:function(t){t.apps=[]},reset:function(t){t.apps=[],t.categories=[],t.updateCount=0},startLoading:function(t,e){Array.isArray(e)?e.forEach(function(e){o.a.set(t.loading,e,!0)}):o.a.set(t.loading,e,!0)},stopLoading:function(t,e){Array.isArray(e)?e.forEach(function(e){o.a.set(t.loading,e,!1)}):o.a.set(t.loading,e,!1)}},getters:{loading:function(t){return function(e){return t.loading[e]}},getCategories:function(t){return t.categories},getAllApps:function(t){return t.apps},getUpdateCount:function(t){return t.updateCount}},actions:{enableApp:function(e,n){var r,o=n.appId,i=n.groups;return r=Array.isArray(o)?o:[o],me.a.requireAdmin().then(function(n){return e.commit("startLoading",r),e.commit("startLoading","install"),me.a.post(OC.generateUrl("settings/apps/enable"),{appIds:r,groups:i}).then(function(n){return e.commit("stopLoading",r),e.commit("stopLoading","install"),r.forEach(function(t){e.commit("enableApp",{appId:t,groups:i})}),me.a.get(OC.generateUrl("apps/files")).then(function(){n.data.update_required&&(OC.dialogs.info(t("settings","The app has been enabled but needs to be updated. You will be redirected to the update page in 5 seconds."),t("settings","App update"),function(){window.location.reload()},!0),setTimeout(function(){location.reload()},5e3))}).catch(function(n){Array.isArray(o)||e.commit("setError",{appId:r,error:t("settings","Error: This app can not be enabled because it makes the server unstable")})})}).catch(function(t){e.commit("stopLoading",r),e.commit("stopLoading","install"),e.commit("setError",{appId:r,error:t.response.data.data.message}),e.commit("APPS_API_FAILURE",{appId:o,error:t})})}).catch(function(t){return e.commit("API_FAILURE",{appId:o,error:t})})},disableApp:function(t,e){var n,r=e.appId;return n=Array.isArray(r)?r:[r],me.a.requireAdmin().then(function(e){return t.commit("startLoading",n),me.a.post(OC.generateUrl("settings/apps/disable"),{appIds:n}).then(function(e){return t.commit("stopLoading",n),n.forEach(function(e){t.commit("disableApp",e)}),!0}).catch(function(e){t.commit("stopLoading",n),t.commit("APPS_API_FAILURE",{appId:r,error:e})})}).catch(function(e){return t.commit("API_FAILURE",{appId:r,error:e})})},uninstallApp:function(t,e){var n=e.appId;return me.a.requireAdmin().then(function(e){return t.commit("startLoading",n),me.a.get(OC.generateUrl("settings/apps/uninstall/".concat(n))).then(function(e){return t.commit("stopLoading",n),t.commit("uninstallApp",n),!0}).catch(function(e){t.commit("stopLoading",n),t.commit("APPS_API_FAILURE",{appId:n,error:e})})}).catch(function(e){return t.commit("API_FAILURE",{appId:n,error:e})})},updateApp:function(t,e){var n=e.appId;return me.a.requireAdmin().then(function(e){return t.commit("startLoading",n),t.commit("startLoading","install"),me.a.get(OC.generateUrl("settings/apps/update/".concat(n))).then(function(e){return t.commit("stopLoading","install"),t.commit("stopLoading",n),t.commit("updateApp",n),!0}).catch(function(e){t.commit("stopLoading",n),t.commit("stopLoading","install"),t.commit("APPS_API_FAILURE",{appId:n,error:e})})}).catch(function(e){return t.commit("API_FAILURE",{appId:n,error:e})})},getAllApps:function(t){return t.commit("startLoading","list"),me.a.get(OC.generateUrl("settings/apps/list")).then(function(e){return t.commit("setAllApps",e.data.apps),t.commit("stopLoading","list"),!0}).catch(function(e){return t.commit("API_FAILURE",e)})},getCategories:function(t){return t.commit("startLoading","categories"),me.a.get(OC.generateUrl("settings/apps/categories")).then(function(e){return e.data.length>0&&(t.commit("appendCategories",e.data),t.commit("stopLoading","categories"),!0)}).catch(function(e){return t.commit("API_FAILURE",e)})}}},we={state:{serverData:{}},mutations:{setServerData:function(t,e){t.serverData=e}},getters:{getServerData:function(t){return t.serverData}},actions:{}},Ae={state:{},mutations:{},getters:{},actions:{setAppConfig:function(t,e){var n=e.app,r=e.key,o=e.value;return me.a.requireAdmin().then(function(t){return me.a.post(OC.linkToOCS("apps/provisioning_api/api/v1/config/apps/".concat(n,"/").concat(r),2),{value:o}).catch(function(t){throw t})}).catch(function(e){return t.commit("API_FAILURE",{app:n,key:r,value:o,error:e})})}}};
|
|
/*
|
|
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
|
|
*
|
|
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
|
* @author Julius Härtl <jus@bitgrid.net>
|
|
*
|
|
* @license GNU AGPL version 3 or any later version
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Affero General Public License as
|
|
* published by the Free Software Foundation, either version 3 of the
|
|
* License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Affero General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
*/
|
|
o.a.use(ve);var Ce={API_FAILURE:function(e,n){try{var r=n.error.response.data.ocs.meta.message;OC.Notification.showHtml(t("settings","An error occured during the request. Unable to proceed.")+"<br>"+r,{timeout:7})}catch(e){OC.Notification.showTemporary(t("settings","An error occured during the request. Unable to proceed."))}console.log(e,n)}},Oe=new ve.Store({modules:{users:_e,apps:be,settings:we,oc:Ae},strict:!1,mutations:Ce});r.d(n,"app",function(){return xe}),r.d(n,"router",function(){return zt}),r.d(n,"store",function(){return Oe}),
|
|
/**
|
|
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
|
|
*
|
|
* @author John Molakvoæ <skjnldsv@protonmail.com>
|
|
*
|
|
* @license GNU AGPL version 3 or any later version
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU Affero General Public License as
|
|
* published by the Free Software Foundation, either version 3 of the
|
|
* License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU Affero General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*
|
|
*/
|
|
Object(i.sync)(Oe,zt),r.nc=btoa(OC.requestToken),r.p=OC.linkTo("settings","js/"),o.a.prototype.t=t,o.a.prototype.OC=OC,o.a.prototype.OCA=OCA,o.a.prototype.oc_userconfig=oc_userconfig,o.a.prototype.oc_current_user=oc_current_user;var xe=new o.a({router:zt,store:Oe,render:function(t){return t(f)}}).$mount("#content")}]);
|
|
//# sourceMappingURL=vue-settings-apps-users-management.js.map
|