nextcloud/settings/js/settings-vue.js

92 lines
134 KiB
JavaScript

!function(t){function n(n){for(var e,o,i=n[0],a=n[1],s=0,c=[];s<i.length;s++)o=i[s],r[o]&&c.push(r[o][0]),r[o]=0;for(e in a)Object.prototype.hasOwnProperty.call(a,e)&&(t[e]=a[e]);for(u&&u(n);c.length;)c.shift()()}var e={},r={2:0};function o(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(t){var n=[],e=r[t];if(0!==e)if(e)n.push(e[2]);else{var i=new Promise(function(n,o){e=r[t]=[n,o]});n.push(e[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+""+({}[t]||t)+".js"}(t),a=function(n){s.onerror=s.onload=null,clearTimeout(u);var e=r[t];if(0!==e){if(e){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src,a=new Error("Loading chunk "+t+" failed.\n("+o+": "+i+")");a.type=o,a.request=i,e[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(n)},o.m=t,o.c=e,o.d=function(t,n,e){o.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:e})},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,n){if(1&n&&(t=o(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var e=Object.create(null);if(o.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var r in t)o.d(e,r,function(n){return t[n]}.bind(null,r));return e},o.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(n,"a",n),n},o.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},o.p="/",o.oe=function(t){throw console.error(t),t};var i=window.webpackJsonp=window.webpackJsonp||[],a=i.push.bind(i);i.push=n,i=i.slice();for(var s=0;s<i.length;s++)n(i[s]);var u=a;o(o.s=43)}([function(t,n,e){"use strict";var r=e(3),o=e.n(r),i=e(38),a=e.n(i),s=function(t){return t.replace(/\/$/,"")};n.a={requireAdmin:function(){return a()()},get:function(t){return o.a.get(s(t))},post:function(t,n){return o.a.post(s(t),n)},patch:function(t,n){return o.a.patch(s(t),n)},put:function(t,n){return o.a.put(s(t),n)},delete:function(t,n){return o.a.delete(s(t),{data:n})}}},function(t,n,e){"use strict";var r=e(8),o=e(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,n){if(null!=t)if("object"!=typeof t&&(t=[t]),a(t))for(var e=0,r=t.length;e<r;e++)n.call(null,t[e],e,t);else for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&n.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 n={};function e(e,r){"object"==typeof n[r]&&"object"==typeof e?n[r]=t(n[r],e):n[r]=e}for(var r=0,o=arguments.length;r<o;r++)c(arguments[r],e);return n},extend:function(t,n,e){return c(n,function(n,o){t[o]=e&&"function"==typeof n?r(n,e):n}),t},trim:function(t){return t.replace(/^\s*/,"").replace(/\s*$/,"")}}},function(t,n,e){"use strict";(function(t,e){
/*!
* Vue.js v2.5.21
* (c) 2014-2018 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 n=parseFloat(String(t));return n>=0&&Math.floor(n)===n&&isFinite(t)}function d(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function h(t){var n=parseFloat(t);return isNaN(n)?t:n}function v(t,n){for(var e=Object.create(null),r=t.split(","),o=0;o<r.length;o++)e[r[o]]=!0;return n?function(t){return e[t.toLowerCase()]}:function(t){return e[t]}}v("slot,component",!0);var m=v("key,ref,slot,slot-scope,is");function y(t,n){if(t.length){var e=t.indexOf(n);if(e>-1)return t.splice(e,1)}}var g=Object.prototype.hasOwnProperty;function _(t,n){return g.call(t,n)}function b(t){var n=Object.create(null);return function(e){return n[e]||(n[e]=t(e))}}var w=/-(\w)/g,A=b(function(t){return t.replace(w,function(t,n){return n?n.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 E=Function.prototype.bind?function(t,n){return t.bind(n)}:function(t,n){function e(e){var r=arguments.length;return r?r>1?t.apply(n,arguments):t.call(n,e):t.call(n)}return e._length=t.length,e};function T(t,n){n=n||0;for(var e=t.length-n,r=new Array(e);e--;)r[e]=t[e+n];return r}function S(t,n){for(var e in n)t[e]=n[e];return t}function I(t){for(var n={},e=0;e<t.length;e++)t[e]&&S(n,t[e]);return n}function L(t,n,e){}var $=function(t,n,e){return!1},U=function(t){return t};function P(t,n){if(t===n)return!0;var e=u(t),r=u(n);if(!e||!r)return!e&&!r&&String(t)===String(n);try{var o=Array.isArray(t),i=Array.isArray(n);if(o&&i)return t.length===n.length&&t.every(function(t,e){return P(t,n[e])});if(t instanceof Date&&n instanceof Date)return t.getTime()===n.getTime();if(o||i)return!1;var a=Object.keys(t),s=Object.keys(n);return a.length===s.length&&a.every(function(e){return P(t[e],n[e])})}catch(t){return!1}}function j(t,n){for(var e=0;e<t.length;e++)if(P(t[e],n))return e;return-1}function M(t){var n=!1;return function(){n||(n=!0,t.apply(this,arguments))}}var q="data-server-rendered",F=["component","directive","filter"],R=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured"],k={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:$,isReservedAttr:$,isUnknownElement:$,getTagNamespace:L,parsePlatformTagName:U,mustUseProp:$,async:!0,_lifecycleHooks:R};function B(t,n,e,r){Object.defineProperty(t,n,{value:e,enumerable:!!r,writable:!0,configurable:!0})}var D=/[^\w.$]/;var H,G="__proto__"in{},X="undefined"!=typeof window,W="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,z=W&&WXEnvironment.platform.toLowerCase(),J=X&&window.navigator.userAgent.toLowerCase(),N=J&&/msie|trident/.test(J),K=J&&J.indexOf("msie 9.0")>0,Y=J&&J.indexOf("edge/")>0,Z=(J&&J.indexOf("android"),J&&/iphone|ipad|ipod|ios/.test(J)||"ios"===z),V=(J&&/chrome\/\d+/.test(J),{}.watch),Q=!1;if(X)try{var tt={};Object.defineProperty(tt,"passive",{get:function(){Q=!0}}),window.addEventListener("test-passive",null,tt)}catch(t){}var nt=function(){return void 0===H&&(H=!X&&!W&&void 0!==t&&(t.process&&"server"===t.process.env.VUE_ENV)),H},et=X&&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=L,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 n=0,e=t.length;n<e;n++)t[n].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,n,e,r,o,i,a,s){this.tag=t,this.data=n,this.children=e,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=n&&n.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 n=new lt;return n.text=t,n.isComment=!0,n};function vt(t){return new lt(void 0,void 0,void 0,String(t))}function mt(t){var n=new lt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return n.ns=t.ns,n.isStatic=t.isStatic,n.key=t.key,n.isComment=t.isComment,n.fnContext=t.fnContext,n.fnOptions=t.fnOptions,n.fnScopeId=t.fnScopeId,n.asyncMeta=t.asyncMeta,n.isCloned=!0,n}var yt=Array.prototype,gt=Object.create(yt);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var n=yt[t];B(gt,t,function(){for(var e=[],r=arguments.length;r--;)e[r]=arguments[r];var o,i=n.apply(this,e),a=this.__ob__;switch(t){case"push":case"unshift":o=e;break;case"splice":o=e.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 n;this.value=t,this.dep=new ut,this.vmCount=0,B(t,"__ob__",this),Array.isArray(t)?(G?(n=gt,t.__proto__=n):function(t,n,e){for(var r=0,o=e.length;r<o;r++){var i=e[r];B(t,i,n[i])}}(t,gt,_t),this.observeArray(t)):this.walk(t)};function Ct(t,n){var e;if(u(t)&&!(t instanceof lt))return _(t,"__ob__")&&t.__ob__ instanceof At?e=t.__ob__:bt&&!nt()&&(Array.isArray(t)||f(t))&&Object.isExtensible(t)&&!t._isVue&&(e=new At(t)),n&&e&&e.vmCount++,e}function Ot(t,n,e,r,o){var i=new ut,a=Object.getOwnPropertyDescriptor(t,n);if(!a||!1!==a.configurable){var s=a&&a.get,u=a&&a.set;s&&!u||2!==arguments.length||(e=t[n]);var c=!o&&Ct(e);Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:function(){var n=s?s.call(t):e;return ut.target&&(i.depend(),c&&(c.dep.depend(),Array.isArray(n)&&function t(n){for(var e=void 0,r=0,o=n.length;r<o;r++)(e=n[r])&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&t(e)}(n))),n},set:function(n){var r=s?s.call(t):e;n===r||n!=n&&r!=r||s&&!u||(u?u.call(t,n):e=n,c=!o&&Ct(n),i.notify())}})}}function xt(t,n,e){if(Array.isArray(t)&&l(n))return t.length=Math.max(t.length,n),t.splice(n,1,e),e;if(n in t&&!(n in Object.prototype))return t[n]=e,e;var r=t.__ob__;return t._isVue||r&&r.vmCount?e:r?(Ot(r.value,n,e),r.dep.notify(),e):(t[n]=e,e)}function Et(t,n){if(Array.isArray(t)&&l(n))t.splice(n,1);else{var e=t.__ob__;t._isVue||e&&e.vmCount||_(t,n)&&(delete t[n],e&&e.dep.notify())}}At.prototype.walk=function(t){for(var n=Object.keys(t),e=0;e<n.length;e++)Ot(t,n[e])},At.prototype.observeArray=function(t){for(var n=0,e=t.length;n<e;n++)Ct(t[n])};var Tt=k.optionMergeStrategies;function St(t,n){if(!n)return t;for(var e,r,o,i=Object.keys(n),a=0;a<i.length;a++)r=t[e=i[a]],o=n[e],_(t,e)?r!==o&&f(r)&&f(o)&&St(r,o):xt(t,e,o);return t}function It(t,n,e){return e?function(){var r="function"==typeof n?n.call(e,e):n,o="function"==typeof t?t.call(e,e):t;return r?St(r,o):o}:n?t?function(){return St("function"==typeof n?n.call(this,this):n,"function"==typeof t?t.call(this,this):t)}:n:t}function Lt(t,n){return n?t?t.concat(n):Array.isArray(n)?n:[n]:t}function $t(t,n,e,r){var o=Object.create(t||null);return n?S(o,n):o}Tt.data=function(t,n,e){return e?It(t,n,e):n&&"function"!=typeof n?t:It(t,n)},R.forEach(function(t){Tt[t]=Lt}),F.forEach(function(t){Tt[t+"s"]=$t}),Tt.watch=function(t,n,e,r){if(t===V&&(t=void 0),n===V&&(n=void 0),!n)return Object.create(t||null);if(!t)return n;var o={};for(var i in S(o,t),n){var a=o[i],s=n[i];a&&!Array.isArray(a)&&(a=[a]),o[i]=a?a.concat(s):Array.isArray(s)?s:[s]}return o},Tt.props=Tt.methods=Tt.inject=Tt.computed=function(t,n,e,r){if(!t)return n;var o=Object.create(null);return S(o,t),n&&S(o,n),o},Tt.provide=It;var Ut=function(t,n){return void 0===n?t:n};function Pt(t,n,e){if("function"==typeof n&&(n=n.options),function(t,n){var e=t.props;if(e){var r,o,i={};if(Array.isArray(e))for(r=e.length;r--;)"string"==typeof(o=e[r])&&(i[A(o)]={type:null});else if(f(e))for(var a in e)o=e[a],i[A(a)]=f(o)?o:{type:o};t.props=i}}(n),function(t,n){var e=t.inject;if(e){var r=t.inject={};if(Array.isArray(e))for(var o=0;o<e.length;o++)r[e[o]]={from:e[o]};else if(f(e))for(var i in e){var a=e[i];r[i]=f(a)?S({from:i},a):{from:a}}}}(n),function(t){var n=t.directives;if(n)for(var e in n){var r=n[e];"function"==typeof r&&(n[e]={bind:r,update:r})}}(n),!n._base&&(n.extends&&(t=Pt(t,n.extends,e)),n.mixins))for(var r=0,o=n.mixins.length;r<o;r++)t=Pt(t,n.mixins[r],e);var i,a={};for(i in t)s(i);for(i in n)_(t,i)||s(i);function s(r){var o=Tt[r]||Ut;a[r]=o(t[r],n[r],e,r)}return a}function jt(t,n,e,r){if("string"==typeof e){var o=t[n];if(_(o,e))return o[e];var i=A(e);if(_(o,i))return o[i];var a=C(i);return _(o,a)?o[a]:o[e]||o[i]||o[a]}}function Mt(t,n,e,r){var o=n[t],i=!_(e,t),a=e[t],s=Rt(Boolean,o.type);if(s>-1)if(i&&!_(o,"default"))a=!1;else if(""===a||a===x(t)){var u=Rt(String,o.type);(u<0||s<u)&&(a=!0)}if(void 0===a){a=function(t,n,e){if(!_(n,"default"))return;var r=n.default;0;if(t&&t.$options.propsData&&void 0===t.$options.propsData[e]&&void 0!==t._props[e])return t._props[e];return"function"==typeof r&&"Function"!==qt(n.type)?r.call(t):r}(r,o,t);var c=bt;wt(!0),Ct(a),wt(c)}return a}function qt(t){var n=t&&t.toString().match(/^\s*function (\w+)/);return n?n[1]:""}function Ft(t,n){return qt(t)===qt(n)}function Rt(t,n){if(!Array.isArray(n))return Ft(n,t)?0:-1;for(var e=0,r=n.length;e<r;e++)if(Ft(n[e],t))return e;return-1}function kt(t,n,e){if(n)for(var r=n;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,n,e))return}catch(t){Bt(t,r,"errorCaptured hook")}}Bt(t,n,e)}function Bt(t,n,e){if(k.errorHandler)try{return k.errorHandler.call(null,t,n,e)}catch(t){Dt(t,null,"config.errorHandler")}Dt(t,n,e)}function Dt(t,n,e){if(!X&&!W||"undefined"==typeof console)throw t;console.error(t)}var Ht,Gt,Xt=[],Wt=!1;function zt(){Wt=!1;var t=Xt.slice(0);Xt.length=0;for(var n=0;n<t.length;n++)t[n]()}var Jt=!1;if(void 0!==e&&rt(e))Gt=function(){e(zt)};else if("undefined"==typeof MessageChannel||!rt(MessageChannel)&&"[object MessageChannelConstructor]"!==MessageChannel.toString())Gt=function(){setTimeout(zt,0)};else{var Nt=new MessageChannel,Kt=Nt.port2;Nt.port1.onmessage=zt,Gt=function(){Kt.postMessage(1)}}if("undefined"!=typeof Promise&&rt(Promise)){var Yt=Promise.resolve();Ht=function(){Yt.then(zt),Z&&setTimeout(L)}}else Ht=Gt;function Zt(t,n){var e;if(Xt.push(function(){if(t)try{t.call(n)}catch(t){kt(t,n,"nextTick")}else e&&e(n)}),Wt||(Wt=!0,Jt?Gt():Ht()),!t&&"undefined"!=typeof Promise)return new Promise(function(t){e=t})}var Vt=new ot;function Qt(t){!function t(n,e){var r,o;var i=Array.isArray(n);if(!i&&!u(n)||Object.isFrozen(n)||n instanceof lt)return;if(n.__ob__){var a=n.__ob__.dep.id;if(e.has(a))return;e.add(a)}if(i)for(r=n.length;r--;)t(n[r],e);else for(o=Object.keys(n),r=o.length;r--;)t(n[o[r]],e)}(t,Vt),Vt.clear()}var tn,nn=b(function(t){var n="&"===t.charAt(0),e="~"===(t=n?t.slice(1):t).charAt(0),r="!"===(t=e?t.slice(1):t).charAt(0);return{name:t=r?t.slice(1):t,once:e,capture:r,passive:n}});function en(t){function n(){var t=arguments,e=n.fns;if(!Array.isArray(e))return e.apply(null,arguments);for(var r=e.slice(),o=0;o<r.length;o++)r[o].apply(null,t)}return n.fns=t,n}function rn(t,n,e,r,i,s){var u,c,f,p;for(u in t)c=t[u],f=n[u],p=nn(u),o(c)||(o(f)?(o(c.fns)&&(c=t[u]=en(c)),a(p.once)&&(c=t[u]=i(p.name,c,p.capture)),e(p.name,c,p.capture,p.passive,p.params)):c!==f&&(f.fns=c,t[u]=f));for(u in n)o(t[u])&&r((p=nn(u)).name,n[u],p.capture)}function on(t,n,e){var r;t instanceof lt&&(t=t.data.hook||(t.data.hook={}));var s=t[n];function u(){e.apply(this,arguments),y(r.fns,u)}o(s)?r=en([u]):i(s.fns)&&a(s.merged)?(r=s).fns.push(u):r=en([s,u]),r.merged=!0,t[n]=r}function an(t,n,e,r,o){if(i(n)){if(_(n,e))return t[e]=n[e],o||delete n[e],!0;if(_(n,r))return t[e]=n[r],o||delete n[r],!0}return!1}function sn(t){return s(t)?[vt(t)]:Array.isArray(t)?function t(n,e){var r=[];var u,c,f,p;for(u=0;u<n.length;u++)o(c=n[u])||"boolean"==typeof c||(f=r.length-1,p=r[f],Array.isArray(c)?c.length>0&&(un((c=t(c,(e||"")+"_"+u))[0])&&un(p)&&(r[f]=vt(p.text+c[0].text),c.shift()),r.push.apply(r,c)):s(c)?un(p)?r[f]=vt(p.text+c):""!==c&&r.push(vt(c)):un(c)&&un(p)?r[f]=vt(p.text+c.text):(a(n._isVList)&&i(c.tag)&&o(c.key)&&i(e)&&(c.key="__vlist"+e+"_"+u+"__"),r.push(c)));return r}(t):void 0}function un(t){return i(t)&&i(t.text)&&!1===t.isComment}function cn(t,n){return(t.__esModule||it&&"Module"===t[Symbol.toStringTag])&&(t=t.default),u(t)?n.extend(t):t}function fn(t){return t.isComment&&t.asyncFactory}function pn(t){if(Array.isArray(t))for(var n=0;n<t.length;n++){var e=t[n];if(i(e)&&(i(e.componentOptions)||fn(e)))return e}}function ln(t,n){tn.$on(t,n)}function dn(t,n){tn.$off(t,n)}function hn(t,n){var e=tn;return function r(){null!==n.apply(null,arguments)&&e.$off(t,r)}}function vn(t,n,e){tn=t,rn(n,e||{},ln,dn,hn),tn=void 0}function mn(t,n){var e={};if(!t)return e;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!==n&&i.fnContext!==n||!a||null==a.slot)(e.default||(e.default=[])).push(i);else{var s=a.slot,u=e[s]||(e[s]=[]);"template"===i.tag?u.push.apply(u,i.children||[]):u.push(i)}}for(var c in e)e[c].every(yn)&&delete e[c];return e}function yn(t){return t.isComment&&!t.asyncFactory||" "===t.text}function gn(t,n){n=n||{};for(var e=0;e<t.length;e++)Array.isArray(t[e])?gn(t[e],n):n[t[e].key]=t[e].fn;return n}var _n=null;function bn(t){var n=_n;return _n=t,function(){_n=n}}function wn(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function An(t,n){if(n){if(t._directInactive=!1,wn(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var e=0;e<t.$children.length;e++)An(t.$children[e]);Cn(t,"activated")}}function Cn(t,n){ft();var e=t.$options[n];if(e)for(var r=0,o=e.length;r<o;r++)try{e[r].call(t)}catch(e){kt(e,t,n+" hook")}t._hasHookEvent&&t.$emit("hook:"+n),pt()}var On=[],xn=[],En={},Tn=!1,Sn=!1,In=0;function Ln(){var t,n;for(Sn=!0,On.sort(function(t,n){return t.id-n.id}),In=0;In<On.length;In++)(t=On[In]).before&&t.before(),n=t.id,En[n]=null,t.run();var e=xn.slice(),r=On.slice();In=On.length=xn.length=0,En={},Tn=Sn=!1,function(t){for(var n=0;n<t.length;n++)t[n]._inactive=!0,An(t[n],!0)}(e),function(t){var n=t.length;for(;n--;){var e=t[n],r=e.vm;r._watcher===e&&r._isMounted&&!r._isDestroyed&&Cn(r,"updated")}}(r),et&&k.devtools&&et.emit("flush")}var $n=0,Un=function(t,n,e,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=e,this.id=++$n,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new ot,this.newDepIds=new ot,this.expression="","function"==typeof n?this.getter=n:(this.getter=function(t){if(!D.test(t)){var n=t.split(".");return function(t){for(var e=0;e<n.length;e++){if(!t)return;t=t[n[e]]}return t}}}(n),this.getter||(this.getter=L)),this.value=this.lazy?void 0:this.get()};Un.prototype.get=function(){var t;ft(this);var n=this.vm;try{t=this.getter.call(n,n)}catch(t){if(!this.user)throw t;kt(t,n,'getter for watcher "'+this.expression+'"')}finally{this.deep&&Qt(t),pt(),this.cleanupDeps()}return t},Un.prototype.addDep=function(t){var n=t.id;this.newDepIds.has(n)||(this.newDepIds.add(n),this.newDeps.push(t),this.depIds.has(n)||t.addSub(this))},Un.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var n=this.deps[t];this.newDepIds.has(n.id)||n.removeSub(this)}var e=this.depIds;this.depIds=this.newDepIds,this.newDepIds=e,this.newDepIds.clear(),e=this.deps,this.deps=this.newDeps,this.newDeps=e,this.newDeps.length=0},Un.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(t){var n=t.id;if(null==En[n]){if(En[n]=!0,Sn){for(var e=On.length-1;e>In&&On[e].id>t.id;)e--;On.splice(e+1,0,t)}else On.push(t);Tn||(Tn=!0,Zt(Ln))}}(this)},Un.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||u(t)||this.deep){var n=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,n)}catch(t){kt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,n)}}},Un.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},Un.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},Un.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 Pn={enumerable:!0,configurable:!0,get:L,set:L};function jn(t,n,e){Pn.get=function(){return this[n][e]},Pn.set=function(t){this[n][e]=t},Object.defineProperty(t,e,Pn)}function Mn(t){t._watchers=[];var n=t.$options;n.props&&function(t,n){var e=t.$options.propsData||{},r=t._props={},o=t.$options._propKeys=[];t.$parent&&wt(!1);var i=function(i){o.push(i);var a=Mt(i,n,e,t);Ot(r,i,a),i in t||jn(t,"_props",i)};for(var a in n)i(a);wt(!0)}(t,n.props),n.methods&&function(t,n){t.$options.props;for(var e in n)t[e]="function"!=typeof n[e]?L:E(n[e],t)}(t,n.methods),n.data?function(t){var n=t.$options.data;f(n=t._data="function"==typeof n?function(t,n){ft();try{return t.call(n,n)}catch(t){return kt(t,n,"data()"),{}}finally{pt()}}(n,t):n||{})||(n={});var e=Object.keys(n),r=t.$options.props,o=(t.$options.methods,e.length);for(;o--;){var i=e[o];0,r&&_(r,i)||(a=void 0,36!==(a=(i+"").charCodeAt(0))&&95!==a&&jn(t,"_data",i))}var a;Ct(n,!0)}(t):Ct(t._data={},!0),n.computed&&function(t,n){var e=t._computedWatchers=Object.create(null),r=nt();for(var o in n){var i=n[o],a="function"==typeof i?i:i.get;0,r||(e[o]=new Un(t,a||L,L,qn)),o in t||Fn(t,o,i)}}(t,n.computed),n.watch&&n.watch!==V&&function(t,n){for(var e in n){var r=n[e];if(Array.isArray(r))for(var o=0;o<r.length;o++)Bn(t,e,r[o]);else Bn(t,e,r)}}(t,n.watch)}var qn={lazy:!0};function Fn(t,n,e){var r=!nt();"function"==typeof e?(Pn.get=r?Rn(n):kn(e),Pn.set=L):(Pn.get=e.get?r&&!1!==e.cache?Rn(n):kn(e.get):L,Pn.set=e.set||L),Object.defineProperty(t,n,Pn)}function Rn(t){return function(){var n=this._computedWatchers&&this._computedWatchers[t];if(n)return n.dirty&&n.evaluate(),ut.target&&n.depend(),n.value}}function kn(t){return function(){return t.call(this,this)}}function Bn(t,n,e,r){return f(e)&&(r=e,e=e.handler),"string"==typeof e&&(e=t[e]),t.$watch(n,e,r)}function Dn(t,n){if(t){for(var e=Object.create(null),r=it?Reflect.ownKeys(t).filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}):Object.keys(t),o=0;o<r.length;o++){for(var i=r[o],a=t[i].from,s=n;s;){if(s._provided&&_(s._provided,a)){e[i]=s._provided[a];break}s=s.$parent}if(!s)if("default"in t[i]){var u=t[i].default;e[i]="function"==typeof u?u.call(n):u}else 0}return e}}function Hn(t,n){var e,r,o,a,s;if(Array.isArray(t)||"string"==typeof t)for(e=new Array(t.length),r=0,o=t.length;r<o;r++)e[r]=n(t[r],r);else if("number"==typeof t)for(e=new Array(t),r=0;r<t;r++)e[r]=n(r+1,r);else if(u(t))for(a=Object.keys(t),e=new Array(a.length),r=0,o=a.length;r<o;r++)s=a[r],e[r]=n(t[s],s,r);return i(e)||(e=[]),e._isVList=!0,e}function Gn(t,n,e,r){var o,i=this.$scopedSlots[t];i?(e=e||{},r&&(e=S(S({},r),e)),o=i(e)||n):o=this.$slots[t]||n;var a=e&&e.slot;return a?this.$createElement("template",{slot:a},o):o}function Xn(t){return jt(this.$options,"filters",t)||U}function Wn(t,n){return Array.isArray(t)?-1===t.indexOf(n):t!==n}function zn(t,n,e,r,o){var i=k.keyCodes[n]||e;return o&&r&&!k.keyCodes[n]?Wn(o,r):i?Wn(i,t):r?x(r)!==n:void 0}function Jn(t,n,e,r,o){if(e)if(u(e)){var i;Array.isArray(e)&&(e=I(e));var a=function(a){if("class"===a||"style"===a||m(a))i=t;else{var s=t.attrs&&t.attrs.type;i=r||k.mustUseProp(n,s,a)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var u=A(a);a in i||u in i||(i[a]=e[a],o&&((t.on||(t.on={}))["update:"+u]=function(t){e[a]=t}))};for(var s in e)a(s)}else;return t}function Nn(t,n){var e=this._staticTrees||(this._staticTrees=[]),r=e[t];return r&&!n?r:(Yn(r=e[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),"__static__"+t,!1),r)}function Kn(t,n,e){return Yn(t,"__once__"+n+(e?"_"+e:""),!0),t}function Yn(t,n,e){if(Array.isArray(t))for(var r=0;r<t.length;r++)t[r]&&"string"!=typeof t[r]&&Zn(t[r],n+"_"+r,e);else Zn(t,n,e)}function Zn(t,n,e){t.isStatic=!0,t.key=n,t.isOnce=e}function Vn(t,n){if(n)if(f(n)){var e=t.on=t.on?S({},t.on):{};for(var r in n){var o=e[r],i=n[r];e[r]=o?[].concat(o,i):i}}else;return t}function Qn(t){t._o=Kn,t._n=h,t._s=d,t._l=Hn,t._t=Gn,t._q=P,t._i=j,t._m=Nn,t._f=Xn,t._k=zn,t._b=Jn,t._v=vt,t._e=ht,t._u=gn,t._g=Vn}function te(t,n,e,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=n,this.children=e,this.parent=o,this.listeners=t.on||r,this.injections=Dn(u.inject,o),this.slots=function(){return mn(e,o)},c&&(this.$options=u,this.$slots=this.slots(),this.$scopedSlots=t.scopedSlots||r),u._scopeId?this._c=function(t,n,e,r){var i=ce(s,t,n,e,r,f);return i&&!Array.isArray(i)&&(i.fnScopeId=u._scopeId,i.fnContext=o),i}:this._c=function(t,n,e,r){return ce(s,t,n,e,r,f)}}function ne(t,n,e,r,o){var i=mt(t);return i.fnContext=e,i.fnOptions=r,n.slot&&((i.data||(i.data={})).slot=n.slot),i}function ee(t,n){for(var e in n)t[A(e)]=n[e]}Qn(te.prototype);var re={init:function(t,n){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var e=t;re.prepatch(e,e)}else{(t.componentInstance=function(t,n){var e={_isComponent:!0,_parentVnode:t,parent:n},r=t.data.inlineTemplate;i(r)&&(e.render=r.render,e.staticRenderFns=r.staticRenderFns);return new t.componentOptions.Ctor(e)}(t,_n)).$mount(n?t.elm:void 0,n)}},prepatch:function(t,n){var e=n.componentOptions;!function(t,n,e,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=e||r,n&&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]=Mt(f,p,n,t)}wt(!0),t.$options.propsData=n}e=e||r;var l=t.$options._parentListeners;t.$options._parentListeners=e,vn(t,e,l),a&&(t.$slots=mn(i,o.context),t.$forceUpdate())}(n.componentInstance=t.componentInstance,e.propsData,e.listeners,n,e.children)},insert:function(t){var n,e=t.context,r=t.componentInstance;r._isMounted||(r._isMounted=!0,Cn(r,"mounted")),t.data.keepAlive&&(e._isMounted?((n=r)._inactive=!1,xn.push(n)):An(r,!0))},destroy:function(t){var n=t.componentInstance;n._isDestroyed||(t.data.keepAlive?function t(n,e){if(!(e&&(n._directInactive=!0,wn(n))||n._inactive)){n._inactive=!0;for(var r=0;r<n.$children.length;r++)t(n.$children[r]);Cn(n,"deactivated")}}(n,!0):n.$destroy())}},oe=Object.keys(re);function ie(t,n,e,s,c){if(!o(t)){var f=e.$options._base;if(u(t)&&(t=f.extend(t)),"function"==typeof t){var p;if(o(t.cid)&&void 0===(t=function(t,n,e){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=[e],s=!0,c=function(t){for(var n=0,e=r.length;n<e;n++)r[n].$forceUpdate();t&&(r.length=0)},f=M(function(e){t.resolved=cn(e,n),s||c(!0)}),p=M(function(n){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=cn(l.error,n)),i(l.loading)&&(t.loadingComp=cn(l.loading,n),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(e)}(p=t,f,e)))return function(t,n,e,r,o){var i=ht();return i.asyncFactory=t,i.asyncMeta={data:n,context:e,children:r,tag:o},i}(p,n,e,s,c);n=n||{},pe(t),i(n.model)&&function(t,n){var e=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(n.props||(n.props={}))[e]=n.model.value;var o=n.on||(n.on={}),a=o[r],s=n.model.callback;i(a)?(Array.isArray(a)?-1===a.indexOf(s):a!==s)&&(o[r]=[s].concat(a)):o[r]=s}(t.options,n);var l=function(t,n,e){var r=n.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);an(a,u,c,f,!0)||an(a,s,c,f,!1)}return a}}(n,t);if(a(t.options.functional))return function(t,n,e,o,a){var s=t.options,u={},c=s.props;if(i(c))for(var f in c)u[f]=Mt(f,c,n||r);else i(e.attrs)&&ee(u,e.attrs),i(e.props)&&ee(u,e.props);var p=new te(e,u,a,o,t),l=s.render.call(null,p._c,p);if(l instanceof lt)return ne(l,e,p.parent,s);if(Array.isArray(l)){for(var d=sn(l)||[],h=new Array(d.length),v=0;v<d.length;v++)h[v]=ne(d[v],e,p.parent,s);return h}}(t,l,n,e,s);var d=n.on;if(n.on=n.nativeOn,a(t.options.abstract)){var h=n.slot;n={},h&&(n.slot=h)}!function(t){for(var n=t.hook||(t.hook={}),e=0;e<oe.length;e++){var r=oe[e],o=n[r],i=re[r];o===i||o&&o._merged||(n[r]=o?ae(i,o):i)}}(n);var v=t.options.name||c;return new lt("vue-component-"+t.cid+(v?"-"+v:""),n,void 0,void 0,void 0,e,{Ctor:t,propsData:l,listeners:d,tag:c,children:s},p)}}}function ae(t,n){var e=function(e,r){t(e,r),n(e,r)};return e._merged=!0,e}var se=1,ue=2;function ce(t,n,e,r,c,f){return(Array.isArray(e)||s(e))&&(c=r,r=e,e=void 0),a(f)&&(c=ue),function(t,n,e,r,s){if(i(e)&&i(e.__ob__))return ht();i(e)&&i(e.is)&&(n=e.is);if(!n)return ht();0;Array.isArray(r)&&"function"==typeof r[0]&&((e=e||{}).scopedSlots={default:r[0]},r.length=0);s===ue?r=sn(r):s===se&&(r=function(t){for(var n=0;n<t.length;n++)if(Array.isArray(t[n]))return Array.prototype.concat.apply([],t);return t}(r));var c,f;if("string"==typeof n){var p;f=t.$vnode&&t.$vnode.ns||k.getTagNamespace(n),c=k.isReservedTag(n)?new lt(k.parsePlatformTagName(n),e,r,void 0,void 0,t):e&&e.pre||!i(p=jt(t.$options,"components",n))?new lt(n,e,r,void 0,void 0,t):ie(p,e,t,r,n)}else c=ie(n,e,t,r);return Array.isArray(c)?c:i(c)?(i(f)&&function t(n,e,r){n.ns=e;"foreignObject"===n.tag&&(e=void 0,r=!0);if(i(n.children))for(var s=0,u=n.children.length;s<u;s++){var c=n.children[s];i(c.tag)&&(o(c.ns)||a(r)&&"svg"!==c.tag)&&t(c,e,r)}}(c,f),i(e)&&function(t){u(t.style)&&Qt(t.style);u(t.class)&&Qt(t.class)}(e),c):ht()}(t,n,e,r,c)}var fe=0;function pe(t){var n=t.options;if(t.super){var e=pe(t.super);if(e!==t.superOptions){t.superOptions=e;var r=function(t){var n,e=t.options,r=t.extendOptions,o=t.sealedOptions;for(var i in e)e[i]!==o[i]&&(n||(n={}),n[i]=le(e[i],r[i],o[i]));return n}(t);r&&S(t.extendOptions,r),(n=t.options=Pt(e,t.extendOptions)).name&&(n.components[n.name]=t)}}return n}function le(t,n,e){if(Array.isArray(t)){var r=[];e=Array.isArray(e)?e:[e],n=Array.isArray(n)?n:[n];for(var o=0;o<t.length;o++)(n.indexOf(t[o])>=0||e.indexOf(t[o])<0)&&r.push(t[o]);return r}return t}function de(t){this._init(t)}function he(t){t.cid=0;var n=1;t.extend=function(t){t=t||{};var e=this,r=e.cid,o=t._Ctor||(t._Ctor={});if(o[r])return o[r];var i=t.name||e.options.name;var a=function(t){this._init(t)};return(a.prototype=Object.create(e.prototype)).constructor=a,a.cid=n++,a.options=Pt(e.options,t),a.super=e,a.options.props&&function(t){var n=t.options.props;for(var e in n)jn(t.prototype,"_props",e)}(a),a.options.computed&&function(t){var n=t.options.computed;for(var e in n)Fn(t.prototype,e,n[e])}(a),a.extend=e.extend,a.mixin=e.mixin,a.use=e.use,F.forEach(function(t){a[t]=e[t]}),i&&(a.options.components[i]=a),a.superOptions=e.options,a.extendOptions=t,a.sealedOptions=S({},a.options),o[r]=a,a}}function ve(t){return t&&(t.Ctor.options.name||t.tag)}function me(t,n){return Array.isArray(t)?t.indexOf(n)>-1:"string"==typeof t?t.split(",").indexOf(n)>-1:!!p(t)&&t.test(n)}function ye(t,n){var e=t.cache,r=t.keys,o=t._vnode;for(var i in e){var a=e[i];if(a){var s=ve(a.componentOptions);s&&!n(s)&&ge(e,i,r,o)}}}function ge(t,n,e,r){var o=t[n];!o||r&&o.tag===r.tag||o.componentInstance.$destroy(),t[n]=null,y(e,n)}!function(t){t.prototype._init=function(t){var n=this;n._uid=fe++,n._isVue=!0,t&&t._isComponent?function(t,n){var e=t.$options=Object.create(t.constructor.options),r=n._parentVnode;e.parent=n.parent,e._parentVnode=r;var o=r.componentOptions;e.propsData=o.propsData,e._parentListeners=o.listeners,e._renderChildren=o.children,e._componentTag=o.tag,n.render&&(e.render=n.render,e.staticRenderFns=n.staticRenderFns)}(n,t):n.$options=Pt(pe(n.constructor),t||{},n),n._renderProxy=n,n._self=n,function(t){var n=t.$options,e=n.parent;if(e&&!n.abstract){for(;e.$options.abstract&&e.$parent;)e=e.$parent;e.$children.push(t)}t.$parent=e,t.$root=e?e.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(n),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var n=t.$options._parentListeners;n&&vn(t,n)}(n),function(t){t._vnode=null,t._staticTrees=null;var n=t.$options,e=t.$vnode=n._parentVnode,o=e&&e.context;t.$slots=mn(n._renderChildren,o),t.$scopedSlots=r,t._c=function(n,e,r,o){return ce(t,n,e,r,o,!1)},t.$createElement=function(n,e,r,o){return ce(t,n,e,r,o,!0)};var i=e&&e.data;Ot(t,"$attrs",i&&i.attrs||r,null,!0),Ot(t,"$listeners",n._parentListeners||r,null,!0)}(n),Cn(n,"beforeCreate"),function(t){var n=Dn(t.$options.inject,t);n&&(wt(!1),Object.keys(n).forEach(function(e){Ot(t,e,n[e])}),wt(!0))}(n),Mn(n),function(t){var n=t.$options.provide;n&&(t._provided="function"==typeof n?n.call(t):n)}(n),Cn(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(de),function(t){var n={get:function(){return this._data}},e={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",n),Object.defineProperty(t.prototype,"$props",e),t.prototype.$set=xt,t.prototype.$delete=Et,t.prototype.$watch=function(t,n,e){if(f(n))return Bn(this,t,n,e);(e=e||{}).user=!0;var r=new Un(this,t,n,e);if(e.immediate)try{n.call(this,r.value)}catch(t){kt(t,this,'callback for immediate watcher "'+r.expression+'"')}return function(){r.teardown()}}}(de),function(t){var n=/^hook:/;t.prototype.$on=function(t,e){var r=this;if(Array.isArray(t))for(var o=0,i=t.length;o<i;o++)r.$on(t[o],e);else(r._events[t]||(r._events[t]=[])).push(e),n.test(t)&&(r._hasHookEvent=!0);return r},t.prototype.$once=function(t,n){var e=this;function r(){e.$off(t,r),n.apply(e,arguments)}return r.fn=n,e.$on(t,r),e},t.prototype.$off=function(t,n){var e=this;if(!arguments.length)return e._events=Object.create(null),e;if(Array.isArray(t)){for(var r=0,o=t.length;r<o;r++)e.$off(t[r],n);return e}var i=e._events[t];if(!i)return e;if(!n)return e._events[t]=null,e;if(n)for(var a,s=i.length;s--;)if((a=i[s])===n||a.fn===n){i.splice(s,1);break}return e},t.prototype.$emit=function(t){var n=this._events[t];if(n){n=n.length>1?T(n):n;for(var e=T(arguments,1),r=0,o=n.length;r<o;r++)try{n[r].apply(this,e)}catch(n){kt(n,this,'event handler for "'+t+'"')}}return this}}(de),function(t){t.prototype._update=function(t,n){var e=this,r=e.$el,o=e._vnode,i=bn(e);e._vnode=t,e.$el=o?e.__patch__(o,t):e.__patch__(e.$el,t,n,!1),i(),r&&(r.__vue__=null),e.$el&&(e.$el.__vue__=e),e.$vnode&&e.$parent&&e.$vnode===e.$parent._vnode&&(e.$parent.$el=e.$el)},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Cn(t,"beforeDestroy"),t._isBeingDestroyed=!0;var n=t.$parent;!n||n._isBeingDestroyed||t.$options.abstract||y(n.$children,t),t._watcher&&t._watcher.teardown();for(var e=t._watchers.length;e--;)t._watchers[e].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Cn(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(de),function(t){Qn(t.prototype),t.prototype.$nextTick=function(t){return Zt(t,this)},t.prototype._render=function(){var t,n=this,e=n.$options,o=e.render,i=e._parentVnode;i&&(n.$scopedSlots=i.data.scopedSlots||r),n.$vnode=i;try{t=o.call(n._renderProxy,n.$createElement)}catch(e){kt(e,n,"render"),t=n._vnode}return t instanceof lt||(t=ht()),t.parent=i,t}}(de);var _e=[String,RegExp,Array],be={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:_e,exclude:_e,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)ge(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",function(n){ye(t,function(t){return me(n,t)})}),this.$watch("exclude",function(n){ye(t,function(t){return!me(n,t)})})},render:function(){var t=this.$slots.default,n=pn(t),e=n&&n.componentOptions;if(e){var r=ve(e),o=this.include,i=this.exclude;if(o&&(!r||!me(o,r))||i&&r&&me(i,r))return n;var a=this.cache,s=this.keys,u=null==n.key?e.Ctor.cid+(e.tag?"::"+e.tag:""):n.key;a[u]?(n.componentInstance=a[u].componentInstance,y(s,u),s.push(u)):(a[u]=n,s.push(u),this.max&&s.length>parseInt(this.max)&&ge(a,s[0],s,this._vnode)),n.data.keepAlive=!0}return n||t&&t[0]}}};!function(t){var n={get:function(){return k}};Object.defineProperty(t,"config",n),t.util={warn:at,extend:S,mergeOptions:Pt,defineReactive:Ot},t.set=xt,t.delete=Et,t.nextTick=Zt,t.options=Object.create(null),F.forEach(function(n){t.options[n+"s"]=Object.create(null)}),t.options._base=t,S(t.options.components,be),function(t){t.use=function(t){var n=this._installedPlugins||(this._installedPlugins=[]);if(n.indexOf(t)>-1)return this;var e=T(arguments,1);return e.unshift(this),"function"==typeof t.install?t.install.apply(t,e):"function"==typeof t&&t.apply(null,e),n.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=Pt(this.options,t),this}}(t),he(t),function(t){F.forEach(function(n){t[n]=function(t,e){return e?("component"===n&&f(e)&&(e.name=e.name||t,e=this.options._base.extend(e)),"directive"===n&&"function"==typeof e&&(e={bind:e,update:e}),this.options[n+"s"][t]=e,e):this.options[n+"s"][t]}})}(t)}(de),Object.defineProperty(de.prototype,"$isServer",{get:nt}),Object.defineProperty(de.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(de,"FunctionalRenderContext",{value:te}),de.version="2.5.21";var we=v("style,class"),Ae=v("input,textarea,option,select,progress"),Ce=v("contenteditable,draggable,spellcheck"),Oe=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"),xe="http://www.w3.org/1999/xlink",Ee=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Te=function(t){return Ee(t)?t.slice(6,t.length):""},Se=function(t){return null==t||!1===t};function Ie(t){for(var n=t.data,e=t,r=t;i(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(n=Le(r.data,n));for(;i(e=e.parent);)e&&e.data&&(n=Le(n,e.data));return function(t,n){if(i(t)||i(n))return $e(t,Ue(n));return""}(n.staticClass,n.class)}function Le(t,n){return{staticClass:$e(t.staticClass,n.staticClass),class:i(t.class)?[t.class,n.class]:n.class}}function $e(t,n){return t?n?t+" "+n:t:n||""}function Ue(t){return Array.isArray(t)?function(t){for(var n,e="",r=0,o=t.length;r<o;r++)i(n=Ue(t[r]))&&""!==n&&(e&&(e+=" "),e+=n);return e}(t):u(t)?function(t){var n="";for(var e in t)t[e]&&(n&&(n+=" "),n+=e);return n}(t):"string"==typeof t?t:""}var Pe={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},je=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"),Me=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),qe=function(t){return je(t)||Me(t)};var Fe=Object.create(null);var Re=v("text,number,password,search,email,tel,url");var ke=Object.freeze({createElement:function(t,n){var e=document.createElement(t);return"select"!==t?e:(n.data&&n.data.attrs&&void 0!==n.data.attrs.multiple&&e.setAttribute("multiple","multiple"),e)},createElementNS:function(t,n){return document.createElementNS(Pe[t],n)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,n,e){t.insertBefore(n,e)},removeChild:function(t,n){t.removeChild(n)},appendChild:function(t,n){t.appendChild(n)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,n){t.textContent=n},setStyleScope:function(t,n){t.setAttribute(n,"")}}),Be={create:function(t,n){De(n)},update:function(t,n){t.data.ref!==n.data.ref&&(De(t,!0),De(n))},destroy:function(t){De(t,!0)}};function De(t,n){var e=t.data.ref;if(i(e)){var r=t.context,o=t.componentInstance||t.elm,a=r.$refs;n?Array.isArray(a[e])?y(a[e],o):a[e]===o&&(a[e]=void 0):t.data.refInFor?Array.isArray(a[e])?a[e].indexOf(o)<0&&a[e].push(o):a[e]=[o]:a[e]=o}}var He=new lt("",{},[]),Ge=["create","activate","update","remove","destroy"];function Xe(t,n){return t.key===n.key&&(t.tag===n.tag&&t.isComment===n.isComment&&i(t.data)===i(n.data)&&function(t,n){if("input"!==t.tag)return!0;var e,r=i(e=t.data)&&i(e=e.attrs)&&e.type,o=i(e=n.data)&&i(e=e.attrs)&&e.type;return r===o||Re(r)&&Re(o)}(t,n)||a(t.isAsyncPlaceholder)&&t.asyncFactory===n.asyncFactory&&o(n.asyncFactory.error))}function We(t,n,e){var r,o,a={};for(r=n;r<=e;++r)i(o=t[r].key)&&(a[o]=r);return a}var ze={create:Je,update:Je,destroy:function(t){Je(t,He)}};function Je(t,n){(t.data.directives||n.data.directives)&&function(t,n){var e,r,o,i=t===He,a=n===He,s=Ke(t.data.directives,t.context),u=Ke(n.data.directives,n.context),c=[],f=[];for(e in u)r=s[e],o=u[e],r?(o.oldValue=r.value,Ze(o,"update",n,t),o.def&&o.def.componentUpdated&&f.push(o)):(Ze(o,"bind",n,t),o.def&&o.def.inserted&&c.push(o));if(c.length){var p=function(){for(var e=0;e<c.length;e++)Ze(c[e],"inserted",n,t)};i?on(n,"insert",p):p()}f.length&&on(n,"postpatch",function(){for(var e=0;e<f.length;e++)Ze(f[e],"componentUpdated",n,t)});if(!i)for(e in s)u[e]||Ze(s[e],"unbind",t,t,a)}(t,n)}var Ne=Object.create(null);function Ke(t,n){var e,r,o=Object.create(null);if(!t)return o;for(e=0;e<t.length;e++)(r=t[e]).modifiers||(r.modifiers=Ne),o[Ye(r)]=r,r.def=jt(n.$options,"directives",r.name);return o}function Ye(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function Ze(t,n,e,r,o){var i=t.def&&t.def[n];if(i)try{i(e.elm,t,e,r,o)}catch(r){kt(r,e.context,"directive "+t.name+" "+n+" hook")}}var Ve=[Be,ze];function Qe(t,n){var e=n.componentOptions;if(!(i(e)&&!1===e.Ctor.options.inheritAttrs||o(t.data.attrs)&&o(n.data.attrs))){var r,a,s=n.elm,u=t.data.attrs||{},c=n.data.attrs||{};for(r in i(c.__ob__)&&(c=n.data.attrs=S({},c)),c)a=c[r],u[r]!==a&&tr(s,r,a);for(r in(N||Y)&&c.value!==u.value&&tr(s,"value",c.value),u)o(c[r])&&(Ee(r)?s.removeAttributeNS(xe,Te(r)):Ce(r)||s.removeAttribute(r))}}function tr(t,n,e){t.tagName.indexOf("-")>-1?nr(t,n,e):Oe(n)?Se(e)?t.removeAttribute(n):(e="allowfullscreen"===n&&"EMBED"===t.tagName?"true":n,t.setAttribute(n,e)):Ce(n)?t.setAttribute(n,Se(e)||"false"===e?"false":"true"):Ee(n)?Se(e)?t.removeAttributeNS(xe,Te(n)):t.setAttributeNS(xe,n,e):nr(t,n,e)}function nr(t,n,e){if(Se(e))t.removeAttribute(n);else{if(N&&!K&&("TEXTAREA"===t.tagName||"INPUT"===t.tagName)&&"placeholder"===n&&!t.__ieph){var r=function(n){n.stopImmediatePropagation(),t.removeEventListener("input",r)};t.addEventListener("input",r),t.__ieph=!0}t.setAttribute(n,e)}}var er={create:Qe,update:Qe};function rr(t,n){var e=n.elm,r=n.data,a=t.data;if(!(o(r.staticClass)&&o(r.class)&&(o(a)||o(a.staticClass)&&o(a.class)))){var s=Ie(n),u=e._transitionClasses;i(u)&&(s=$e(s,Ue(u))),s!==e._prevClass&&(e.setAttribute("class",s),e._prevClass=s)}}var or,ir={create:rr,update:rr},ar="__r",sr="__c";function ur(t,n,e){var r=or;return function o(){null!==n.apply(null,arguments)&&fr(t,o,e,r)}}function cr(t,n,e,r){var o;n=(o=n)._withTask||(o._withTask=function(){Jt=!0;try{return o.apply(null,arguments)}finally{Jt=!1}}),or.addEventListener(t,n,Q?{capture:e,passive:r}:e)}function fr(t,n,e,r){(r||or).removeEventListener(t,n._withTask||n,e)}function pr(t,n){if(!o(t.data.on)||!o(n.data.on)){var e=n.data.on||{},r=t.data.on||{};or=n.elm,function(t){if(i(t[ar])){var n=N?"change":"input";t[n]=[].concat(t[ar],t[n]||[]),delete t[ar]}i(t[sr])&&(t.change=[].concat(t[sr],t.change||[]),delete t[sr])}(e),rn(e,r,cr,fr,ur,n.context),or=void 0}}var lr={create:pr,update:pr};function dr(t,n){if(!o(t.data.domProps)||!o(n.data.domProps)){var e,r,a=n.elm,s=t.data.domProps||{},u=n.data.domProps||{};for(e in i(u.__ob__)&&(u=n.data.domProps=S({},u)),s)o(u[e])&&(a[e]="");for(e in u){if(r=u[e],"textContent"===e||"innerHTML"===e){if(n.children&&(n.children.length=0),r===s[e])continue;1===a.childNodes.length&&a.removeChild(a.childNodes[0])}if("value"===e){a._value=r;var c=o(r)?"":String(r);hr(a,c)&&(a.value=c)}else a[e]=r}}}function hr(t,n){return!t.composing&&("OPTION"===t.tagName||function(t,n){var e=!0;try{e=document.activeElement!==t}catch(t){}return e&&t.value!==n}(t,n)||function(t,n){var e=t.value,r=t._vModifiers;if(i(r)){if(r.lazy)return!1;if(r.number)return h(e)!==h(n);if(r.trim)return e.trim()!==n.trim()}return e!==n}(t,n))}var vr={create:dr,update:dr},mr=b(function(t){var n={},e=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach(function(t){if(t){var r=t.split(e);r.length>1&&(n[r[0].trim()]=r[1].trim())}}),n});function yr(t){var n=gr(t.style);return t.staticStyle?S(t.staticStyle,n):n}function gr(t){return Array.isArray(t)?I(t):"string"==typeof t?mr(t):t}var _r,br=/^--/,wr=/\s*!important$/,Ar=function(t,n,e){if(br.test(n))t.style.setProperty(n,e);else if(wr.test(e))t.style.setProperty(n,e.replace(wr,""),"important");else{var r=Or(n);if(Array.isArray(e))for(var o=0,i=e.length;o<i;o++)t.style[r]=e[o];else t.style[r]=e}},Cr=["Webkit","Moz","ms"],Or=b(function(t){if(_r=_r||document.createElement("div").style,"filter"!==(t=A(t))&&t in _r)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),e=0;e<Cr.length;e++){var r=Cr[e]+n;if(r in _r)return r}});function xr(t,n){var e=n.data,r=t.data;if(!(o(e.staticStyle)&&o(e.style)&&o(r.staticStyle)&&o(r.style))){var a,s,u=n.elm,c=r.staticStyle,f=r.normalizedStyle||r.style||{},p=c||f,l=gr(n.data.style)||{};n.data.normalizedStyle=i(l.__ob__)?S({},l):l;var d=function(t,n){var e,r={};if(n)for(var o=t;o.componentInstance;)(o=o.componentInstance._vnode)&&o.data&&(e=yr(o.data))&&S(r,e);(e=yr(t.data))&&S(r,e);for(var i=t;i=i.parent;)i.data&&(e=yr(i.data))&&S(r,e);return r}(n,!0);for(s in p)o(d[s])&&Ar(u,s,"");for(s in d)(a=d[s])!==p[s]&&Ar(u,s,null==a?"":a)}}var Er={create:xr,update:xr},Tr=/\s+/;function Sr(t,n){if(n&&(n=n.trim()))if(t.classList)n.indexOf(" ")>-1?n.split(Tr).forEach(function(n){return t.classList.add(n)}):t.classList.add(n);else{var e=" "+(t.getAttribute("class")||"")+" ";e.indexOf(" "+n+" ")<0&&t.setAttribute("class",(e+n).trim())}}function Ir(t,n){if(n&&(n=n.trim()))if(t.classList)n.indexOf(" ")>-1?n.split(Tr).forEach(function(n){return t.classList.remove(n)}):t.classList.remove(n),t.classList.length||t.removeAttribute("class");else{for(var e=" "+(t.getAttribute("class")||"")+" ",r=" "+n+" ";e.indexOf(r)>=0;)e=e.replace(r," ");(e=e.trim())?t.setAttribute("class",e):t.removeAttribute("class")}}function Lr(t){if(t){if("object"==typeof t){var n={};return!1!==t.css&&S(n,$r(t.name||"v")),S(n,t),n}return"string"==typeof t?$r(t):void 0}}var $r=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"}}),Ur=X&&!K,Pr="transition",jr="animation",Mr="transition",qr="transitionend",Fr="animation",Rr="animationend";Ur&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(Mr="WebkitTransition",qr="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(Fr="WebkitAnimation",Rr="webkitAnimationEnd"));var kr=X?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Br(t){kr(function(){kr(t)})}function Dr(t,n){var e=t._transitionClasses||(t._transitionClasses=[]);e.indexOf(n)<0&&(e.push(n),Sr(t,n))}function Hr(t,n){t._transitionClasses&&y(t._transitionClasses,n),Ir(t,n)}function Gr(t,n,e){var r=Wr(t,n),o=r.type,i=r.timeout,a=r.propCount;if(!o)return e();var s=o===Pr?qr:Rr,u=0,c=function(){t.removeEventListener(s,f),e()},f=function(n){n.target===t&&++u>=a&&c()};setTimeout(function(){u<a&&c()},i+1),t.addEventListener(s,f)}var Xr=/\b(transform|all)(,|$)/;function Wr(t,n){var e,r=window.getComputedStyle(t),o=(r[Mr+"Delay"]||"").split(", "),i=(r[Mr+"Duration"]||"").split(", "),a=zr(o,i),s=(r[Fr+"Delay"]||"").split(", "),u=(r[Fr+"Duration"]||"").split(", "),c=zr(s,u),f=0,p=0;return n===Pr?a>0&&(e=Pr,f=a,p=i.length):n===jr?c>0&&(e=jr,f=c,p=u.length):p=(e=(f=Math.max(a,c))>0?a>c?Pr:jr:null)?e===Pr?i.length:u.length:0,{type:e,timeout:f,propCount:p,hasTransform:e===Pr&&Xr.test(r[Mr+"Property"])}}function zr(t,n){for(;t.length<n.length;)t=t.concat(t);return Math.max.apply(null,n.map(function(n,e){return Jr(n)+Jr(t[e])}))}function Jr(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Nr(t,n){var e=t.elm;i(e._leaveCb)&&(e._leaveCb.cancelled=!0,e._leaveCb());var r=Lr(t.data.transition);if(!o(r)&&!i(e._enterCb)&&1===e.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=_n,E=_n.$vnode;E&&E.parent;)x=(E=E.parent).context;var T=!x._isMounted||!t.isRootInsert;if(!T||w||""===w){var S=T&&l?l:c,I=T&&v?v:p,L=T&&d?d:f,$=T&&b||m,U=T&&"function"==typeof w?w:y,P=T&&A||g,j=T&&C||_,q=h(u(O)?O.enter:O);0;var F=!1!==a&&!K,R=Zr(U),k=e._enterCb=M(function(){F&&(Hr(e,L),Hr(e,I)),k.cancelled?(F&&Hr(e,S),j&&j(e)):P&&P(e),e._enterCb=null});t.data.show||on(t,"insert",function(){var n=e.parentNode,r=n&&n._pending&&n._pending[t.key];r&&r.tag===t.tag&&r.elm._leaveCb&&r.elm._leaveCb(),U&&U(e,k)}),$&&$(e),F&&(Dr(e,S),Dr(e,I),Br(function(){Hr(e,S),k.cancelled||(Dr(e,L),R||(Yr(q)?setTimeout(k,q):Gr(e,s,k)))})),t.data.show&&(n&&n(),U&&U(e,k)),F||R||k()}}}function Kr(t,n){var e=t.elm;i(e._enterCb)&&(e._enterCb.cancelled=!0,e._enterCb());var r=Lr(t.data.transition);if(o(r)||1!==e.nodeType)return n();if(!i(e._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&&!K,b=Zr(d),w=h(u(g)?g.leave:g);0;var A=e._leaveCb=M(function(){e.parentNode&&e.parentNode._pending&&(e.parentNode._pending[t.key]=null),_&&(Hr(e,f),Hr(e,p)),A.cancelled?(_&&Hr(e,c),m&&m(e)):(n(),v&&v(e)),e._leaveCb=null});y?y(C):C()}function C(){A.cancelled||(!t.data.show&&e.parentNode&&((e.parentNode._pending||(e.parentNode._pending={}))[t.key]=t),l&&l(e),_&&(Dr(e,c),Dr(e,p),Br(function(){Hr(e,c),A.cancelled||(Dr(e,f),b||(Yr(w)?setTimeout(A,w):Gr(e,s,A)))})),d&&d(e,A),_||b||A())}}function Yr(t){return"number"==typeof t&&!isNaN(t)}function Zr(t){if(o(t))return!1;var n=t.fns;return i(n)?Zr(Array.isArray(n)?n[0]:n):(t._length||t.length)>1}function Vr(t,n){!0!==n.data.show&&Nr(n)}var Qr=function(t){var n,e,r={},u=t.modules,c=t.nodeOps;for(n=0;n<Ge.length;++n)for(r[Ge[n]]=[],e=0;e<u.length;++e)i(u[e][Ge[n]])&&r[Ge[n]].push(u[e][Ge[n]]);function f(t){var n=c.parentNode(t);i(n)&&c.removeChild(n,t)}function p(t,n,e,o,s,u,f){if(i(t.elm)&&i(u)&&(t=u[f]=mt(t)),t.isRootInsert=!s,!function(t,n,e,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,n),d(e,t.elm,o),a(u)&&function(t,n,e,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](He,s);n.push(s);break}d(e,t.elm,o)}(t,n,e,o),!0}}(t,n,e,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,n),i(p)&&y(t,n),d(e,t.elm,o)):a(t.isComment)?(t.elm=c.createComment(t.text),d(e,t.elm,o)):(t.elm=c.createTextNode(t.text),d(e,t.elm,o))}}function l(t,n){i(t.data.pendingInsert)&&(n.push.apply(n,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,m(t)?(y(t,n),g(t)):(De(t),n.push(t))}function d(t,n,e){i(t)&&(i(e)?c.parentNode(e)===t&&c.insertBefore(t,n,e):c.appendChild(t,n))}function h(t,n,e){if(Array.isArray(n))for(var r=0;r<n.length;++r)p(n[r],e,t.elm,null,!0,n,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,e){for(var o=0;o<r.create.length;++o)r.create[o](He,t);i(n=t.data.hook)&&(i(n.create)&&n.create(He,t),i(n.insert)&&e.push(t))}function g(t){var n;if(i(n=t.fnScopeId))c.setStyleScope(t.elm,n);else for(var e=t;e;)i(n=e.context)&&i(n=n.$options._scopeId)&&c.setStyleScope(t.elm,n),e=e.parent;i(n=_n)&&n!==t.context&&n!==t.fnContext&&i(n=n.$options._scopeId)&&c.setStyleScope(t.elm,n)}function _(t,n,e,r,o,i){for(;r<=o;++r)p(e[r],i,t,n,!1,e,r)}function b(t){var n,e,o=t.data;if(i(o))for(i(n=o.hook)&&i(n=n.destroy)&&n(t),n=0;n<r.destroy.length;++n)r.destroy[n](t);if(i(n=t.children))for(e=0;e<t.children.length;++e)b(t.children[e])}function w(t,n,e,r){for(;e<=r;++e){var o=n[e];i(o)&&(i(o.tag)?(A(o),b(o)):f(o.elm))}}function A(t,n){if(i(n)||i(t.data)){var e,o=r.remove.length+1;for(i(n)?n.listeners+=o:n=function(t,n){function e(){0==--e.listeners&&f(t)}return e.listeners=n,e}(t.elm,o),i(e=t.componentInstance)&&i(e=e._vnode)&&i(e.data)&&A(e,n),e=0;e<r.remove.length;++e)r.remove[e](t,n);i(e=t.data.hook)&&i(e=e.remove)?e(t,n):n()}else f(t.elm)}function C(t,n,e,r){for(var o=e;o<r;o++){var a=n[o];if(i(a)&&Xe(t,a))return o}}function O(t,n,e,s,u,f){if(t!==n){i(n.elm)&&i(s)&&(n=s[u]=mt(n));var l=n.elm=t.elm;if(a(t.isAsyncPlaceholder))i(n.asyncFactory.resolved)?T(t.elm,n,e):n.isAsyncPlaceholder=!0;else if(a(n.isStatic)&&a(t.isStatic)&&n.key===t.key&&(a(n.isCloned)||a(n.isOnce)))n.componentInstance=t.componentInstance;else{var d,h=n.data;i(h)&&i(d=h.hook)&&i(d=d.prepatch)&&d(t,n);var v=t.children,y=n.children;if(i(h)&&m(n)){for(d=0;d<r.update.length;++d)r.update[d](t,n);i(d=h.hook)&&i(d=d.update)&&d(t,n)}o(n.text)?i(v)&&i(y)?v!==y&&function(t,n,e,r,a){for(var s,u,f,l=0,d=0,h=n.length-1,v=n[0],m=n[h],y=e.length-1,g=e[0],b=e[y],A=!a;l<=h&&d<=y;)o(v)?v=n[++l]:o(m)?m=n[--h]:Xe(v,g)?(O(v,g,r,e,d),v=n[++l],g=e[++d]):Xe(m,b)?(O(m,b,r,e,y),m=n[--h],b=e[--y]):Xe(v,b)?(O(v,b,r,e,y),A&&c.insertBefore(t,v.elm,c.nextSibling(m.elm)),v=n[++l],b=e[--y]):Xe(m,g)?(O(m,g,r,e,d),A&&c.insertBefore(t,m.elm,v.elm),m=n[--h],g=e[++d]):(o(s)&&(s=We(n,l,h)),o(u=i(g.key)?s[g.key]:C(g,n,l,h))?p(g,r,t,v.elm,!1,e,d):Xe(f=n[u],g)?(O(f,g,r,e,d),n[u]=void 0,A&&c.insertBefore(t,f.elm,v.elm)):p(g,r,t,v.elm,!1,e,d),g=e[++d]);l>h?_(t,o(e[y+1])?null:e[y+1].elm,e,d,y,r):d>y&&w(0,n,l,h)}(l,v,y,e,f):i(y)?(i(t.text)&&c.setTextContent(l,""),_(l,null,y,0,y.length-1,e)):i(v)?w(0,v,0,v.length-1):i(t.text)&&c.setTextContent(l,""):t.text!==n.text&&c.setTextContent(l,n.text),i(h)&&i(d=h.hook)&&i(d=d.postpatch)&&d(t,n)}}}function x(t,n,e){if(a(e)&&i(t.parent))t.parent.data.pendingInsert=n;else for(var r=0;r<n.length;++r)n[r].data.hook.insert(n[r])}var E=v("attrs,class,staticClass,staticStyle,key");function T(t,n,e,r){var o,s=n.tag,u=n.data,c=n.children;if(r=r||u&&u.pre,n.elm=t,a(n.isComment)&&i(n.asyncFactory))return n.isAsyncPlaceholder=!0,!0;if(i(u)&&(i(o=u.hook)&&i(o=o.init)&&o(n,!0),i(o=n.componentInstance)))return l(n,e),!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||!T(p,c[d],e,r)){f=!1;break}p=p.nextSibling}if(!f||p)return!1}else h(n,c,e);if(i(u)){var v=!1;for(var m in u)if(!E(m)){v=!0,y(n,e);break}!v&&u.class&&Qt(u.class)}}else t.data!==n.text&&(t.data=n.text);return!0}return function(t,n,e,s){if(!o(n)){var u,f=!1,l=[];if(o(t))f=!0,p(n,l);else{var d=i(t.nodeType);if(!d&&Xe(t,n))O(t,n,l,null,null,s);else{if(d){if(1===t.nodeType&&t.hasAttribute(q)&&(t.removeAttribute(q),e=!0),a(e)&&T(t,n,l))return x(n,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(n,l,h._leaveCb?null:v,c.nextSibling(h)),i(n.parent))for(var y=n.parent,g=m(n);y;){for(var _=0;_<r.destroy.length;++_)r.destroy[_](y);if(y.elm=n.elm,g){for(var A=0;A<r.create.length;++A)r.create[A](He,y);var C=y.data.hook.insert;if(C.merged)for(var E=1;E<C.fns.length;E++)C.fns[E]()}else De(y);y=y.parent}i(v)?w(0,[t],0,0):i(t.tag)&&b(t)}}return x(n,l,f),n.elm}i(t)&&b(t)}}({nodeOps:ke,modules:[er,ir,lr,vr,Er,X?{create:Vr,activate:Vr,remove:function(t,n){!0!==t.data.show?Kr(t,n):n()}}:{}].concat(Ve)});K&&document.addEventListener("selectionchange",function(){var t=document.activeElement;t&&t.vmodel&&so(t,"input")});var to={inserted:function(t,n,e,r){"select"===e.tag?(r.elm&&!r.elm._vOptions?on(e,"postpatch",function(){to.componentUpdated(t,n,e)}):no(t,n,e.context),t._vOptions=[].map.call(t.options,oo)):("textarea"===e.tag||Re(t.type))&&(t._vModifiers=n.modifiers,n.modifiers.lazy||(t.addEventListener("compositionstart",io),t.addEventListener("compositionend",ao),t.addEventListener("change",ao),K&&(t.vmodel=!0)))},componentUpdated:function(t,n,e){if("select"===e.tag){no(t,n,e.context);var r=t._vOptions,o=t._vOptions=[].map.call(t.options,oo);if(o.some(function(t,n){return!P(t,r[n])}))(t.multiple?n.value.some(function(t){return ro(t,o)}):n.value!==n.oldValue&&ro(n.value,o))&&so(t,"change")}}};function no(t,n,e){eo(t,n,e),(N||Y)&&setTimeout(function(){eo(t,n,e)},0)}function eo(t,n,e){var r=n.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=j(r,oo(a))>-1,a.selected!==i&&(a.selected=i);else if(P(oo(a),r))return void(t.selectedIndex!==s&&(t.selectedIndex=s));o||(t.selectedIndex=-1)}}function ro(t,n){return n.every(function(n){return!P(n,t)})}function oo(t){return"_value"in t?t._value:t.value}function io(t){t.target.composing=!0}function ao(t){t.target.composing&&(t.target.composing=!1,so(t.target,"input"))}function so(t,n){var e=document.createEvent("HTMLEvents");e.initEvent(n,!0,!0),t.dispatchEvent(e)}function uo(t){return!t.componentInstance||t.data&&t.data.transition?t:uo(t.componentInstance._vnode)}var co={model:to,show:{bind:function(t,n,e){var r=n.value,o=(e=uo(e)).data&&e.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;r&&o?(e.data.show=!0,Nr(e,function(){t.style.display=i})):t.style.display=r?i:"none"},update:function(t,n,e){var r=n.value;!r!=!n.oldValue&&((e=uo(e)).data&&e.data.transition?(e.data.show=!0,r?Nr(e,function(){t.style.display=t.__vOriginalDisplay}):Kr(e,function(){t.style.display="none"})):t.style.display=r?t.__vOriginalDisplay:"none")},unbind:function(t,n,e,r,o){o||(t.style.display=t.__vOriginalDisplay)}}},fo={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 po(t){var n=t&&t.componentOptions;return n&&n.Ctor.options.abstract?po(pn(n.children)):t}function lo(t){var n={},e=t.$options;for(var r in e.propsData)n[r]=t[r];var o=e._parentListeners;for(var i in o)n[A(i)]=o[i];return n}function ho(t,n){if(/\d-keep-alive$/.test(n.tag))return t("keep-alive",{props:n.componentOptions.propsData})}var vo=function(t){return t.tag||fn(t)},mo=function(t){return"show"===t.name},yo={name:"transition",props:fo,abstract:!0,render:function(t){var n=this,e=this.$slots.default;if(e&&(e=e.filter(vo)).length){0;var r=this.mode;0;var o=e[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return o;var i=po(o);if(!i)return o;if(this._leaving)return ho(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=lo(this),c=this._vnode,f=po(c);if(i.data.directives&&i.data.directives.some(mo)&&(i.data.show=!0),f&&f.data&&!function(t,n){return n.key===t.key&&n.tag===t.tag}(i,f)&&!fn(f)&&(!f.componentInstance||!f.componentInstance._vnode.isComment)){var p=f.data.transition=S({},u);if("out-in"===r)return this._leaving=!0,on(p,"afterLeave",function(){n._leaving=!1,n.$forceUpdate()}),ho(t,o);if("in-out"===r){if(fn(i))return c;var l,d=function(){l()};on(u,"afterEnter",d),on(u,"enterCancelled",d),on(p,"delayLeave",function(t){l=t})}}return o}}},go=S({tag:String,moveClass:String},fo);function _o(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function bo(t){t.data.newPos=t.elm.getBoundingClientRect()}function wo(t){var n=t.data.pos,e=t.data.newPos,r=n.left-e.left,o=n.top-e.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 go.mode;var Ao={Transition:yo,TransitionGroup:{props:go,beforeMount:function(){var t=this,n=this._update;this._update=function(e,r){var o=bn(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,o(),n.call(t,e,r)}},render:function(t){for(var n=this.tag||this.$vnode.data.tag||"span",e=Object.create(null),r=this.prevChildren=this.children,o=this.$slots.default||[],i=this.children=[],a=lo(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),e[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(),e[l.key]?c.push(l):f.push(l)}this.kept=t(n,null,c),this.removed=f}return t(n,null,i)},updated:function(){var t=this.prevChildren,n=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,n)&&(t.forEach(_o),t.forEach(bo),t.forEach(wo),this._reflow=document.body.offsetHeight,t.forEach(function(t){if(t.data.moved){var e=t.elm,r=e.style;Dr(e,n),r.transform=r.WebkitTransform=r.transitionDuration="",e.addEventListener(qr,e._moveCb=function t(r){r&&r.target!==e||r&&!/transform$/.test(r.propertyName)||(e.removeEventListener(qr,t),e._moveCb=null,Hr(e,n))})}}))},methods:{hasMove:function(t,n){if(!Ur)return!1;if(this._hasMove)return this._hasMove;var e=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach(function(t){Ir(e,t)}),Sr(e,n),e.style.display="none",this.$el.appendChild(e);var r=Wr(e);return this.$el.removeChild(e),this._hasMove=r.hasTransform}}}};de.config.mustUseProp=function(t,n,e){return"value"===e&&Ae(t)&&"button"!==n||"selected"===e&&"option"===t||"checked"===e&&"input"===t||"muted"===e&&"video"===t},de.config.isReservedTag=qe,de.config.isReservedAttr=we,de.config.getTagNamespace=function(t){return Me(t)?"svg":"math"===t?"math":void 0},de.config.isUnknownElement=function(t){if(!X)return!0;if(qe(t))return!1;if(t=t.toLowerCase(),null!=Fe[t])return Fe[t];var n=document.createElement(t);return t.indexOf("-")>-1?Fe[t]=n.constructor===window.HTMLUnknownElement||n.constructor===window.HTMLElement:Fe[t]=/HTMLUnknownElement/.test(n.toString())},S(de.options.directives,co),S(de.options.components,Ao),de.prototype.__patch__=X?Qr:L,de.prototype.$mount=function(t,n){return function(t,n,e){var r;return t.$el=n,t.$options.render||(t.$options.render=ht),Cn(t,"beforeMount"),r=function(){t._update(t._render(),e)},new Un(t,r,L,{before:function(){t._isMounted&&!t._isDestroyed&&Cn(t,"beforeUpdate")}},!0),e=!1,null==t.$vnode&&(t._isMounted=!0,Cn(t,"mounted")),t}(this,t=t&&X?function(t){if("string"==typeof t){var n=document.querySelector(t);return n||document.createElement("div")}return t}(t):void 0,n)},X&&setTimeout(function(){k.devtools&&et&&et.emit("init",de)},0),n.a=de}).call(this,e(4),e(15).setImmediate)},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(17).default.create({headers:{requesttoken:OC.requestToken}});n.default=r},function(t,n){var e;e=function(){return this}();try{e=e||new Function("return this")()}catch(t){"object"==typeof window&&(e=window)}t.exports=e},function(t,n,e){"use strict";(function(n){var r=e(1),o=e(21),i={"Content-Type":"application/x-www-form-urlencoded"};function a(t,n){!r.isUndefined(t)&&r.isUndefined(t["Content-Type"])&&(t["Content-Type"]=n)}var s,u={adapter:("undefined"!=typeof XMLHttpRequest?s=e(9):void 0!==n&&(s=e(9)),s),transformRequest:[function(t,n){return o(n,"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(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString()):r.isObject(t)?(a(n,"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,e(7))},function(t,n,e){"use strict";function r(t,n,e,r,o,i,a,s){var u,c="function"==typeof t?t.options:t;if(n&&(c.render=n,c.staticRenderFns=e,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,n){return u.call(n),f(t,n)}}else{var p=c.beforeCreate;c.beforeCreate=p?[].concat(p,u):[u]}return{exports:t,options:c}}e.d(n,"a",function(){return r})},function(t,n){var e,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(e===setTimeout)return setTimeout(t,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(n){try{return e.call(null,t,0)}catch(n){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:i}catch(t){e=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 n=c.length;n;){for(u=c,c=[];++p<n;)u&&u[p].run();p=-1,n=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(n){try{return r.call(null,t)}catch(n){return r.call(this,t)}}}(t)}}function h(t,n){this.fun=t,this.array=n}function v(){}o.nextTick=function(t){var n=new Array(arguments.length-1);if(arguments.length>1)for(var e=1;e<arguments.length;e++)n[e-1]=arguments[e];c.push(new h(t,n)),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,n,e){"use strict";t.exports=function(t,n){return function(){for(var e=new Array(arguments.length),r=0;r<e.length;r++)e[r]=arguments[r];return t.apply(n,e)}}},function(t,n,e){"use strict";var r=e(1),o=e(22),i=e(24),a=e(25),s=e(26),u=e(10),c="undefined"!=typeof window&&window.btoa&&window.btoa.bind(window)||e(27);t.exports=function(t){return new Promise(function(n,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 e="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:e,config:t,request:d};o(n,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=e(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,n){void 0===p&&"content-type"===n.toLowerCase()?delete l[n]:d.setRequestHeader(n,t)}),t.withCredentials&&(d.withCredentials=!0),t.responseType)try{d.responseType=t.responseType}catch(n){if("json"!==t.responseType)throw n}"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,n,e){"use strict";var r=e(23);t.exports=function(t,n,e,o,i){var a=new Error(t);return r(a,n,e,o,i)}},function(t,n,e){"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},function(t,n,e){"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,n,e){(function(t){var r=void 0!==t&&t||"undefined"!=typeof self&&self||window,o=Function.prototype.apply;function i(t,n){this._id=t,this._clearFn=n}n.setTimeout=function(){return new i(o.call(setTimeout,r,arguments),clearTimeout)},n.setInterval=function(){return new i(o.call(setInterval,r,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(t){t&&t.close()},i.prototype.unref=i.prototype.ref=function(){},i.prototype.close=function(){this._clearFn.call(r,this._id)},n.enroll=function(t,n){clearTimeout(t._idleTimeoutId),t._idleTimeout=n},n.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},n._unrefActive=n.active=function(t){clearTimeout(t._idleTimeoutId);var n=t._idleTimeout;n>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},n))},e(16),n.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,n.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}).call(this,e(4))},function(t,n,e){(function(t,n){!function(t,e){"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){n.nextTick(function(){h(t)})}:!function(){if(t.postMessage&&!t.importScripts){var n=!0,e=t.onmessage;return t.onmessage=function(){n=!1},t.postMessage("","*"),t.onmessage=e,n}}()?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 n=p.createElement("script");n.onreadystatechange=function(){h(t),n.onreadystatechange=null,o.removeChild(n),n=null},o.appendChild(n)}):r=function(t){setTimeout(h,0,t)}:(a="setImmediate$"+Math.random()+"$",s=function(n){n.source===t&&"string"==typeof n.data&&0===n.data.indexOf(a)&&h(+n.data.slice(a.length))},t.addEventListener?t.addEventListener("message",s,!1):t.attachEvent("onmessage",s),r=function(n){t.postMessage(a+n,"*")}),l.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var n=new Array(arguments.length-1),e=0;e<n.length;e++)n[e]=arguments[e+1];var o={callback:t,args:n};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 n=c[t];if(n){f=!0;try{!function(t){var n=t.callback,r=t.args;switch(r.length){case 0:n();break;case 1:n(r[0]);break;case 2:n(r[0],r[1]);break;case 3:n(r[0],r[1],r[2]);break;default:n.apply(e,r)}}(n)}finally{d(t),f=!1}}}}}("undefined"==typeof self?void 0===t?this:t:self)}).call(this,e(4),e(7))},function(t,n,e){t.exports=e(18)},function(t,n,e){"use strict";var r=e(1),o=e(8),i=e(20),a=e(5);function s(t){var n=new i(t),e=o(i.prototype.request,n);return r.extend(e,i.prototype,n),r.extend(e,n),e}var u=s(a);u.Axios=i,u.create=function(t){return s(r.merge(a,t))},u.Cancel=e(12),u.CancelToken=e(34),u.isCancel=e(11),u.all=function(t){return Promise.all(t)},u.spread=e(35),t.exports=u,t.exports.default=u},function(t,n){function e(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&&(e(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&e(t.slice(0,0))}(t)||!!t._isBuffer)}},function(t,n,e){"use strict";var r=e(5),o=e(1),i=e(29),a=e(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 n=[a,void 0],e=Promise.resolve(t);for(this.interceptors.request.forEach(function(t){n.unshift(t.fulfilled,t.rejected)}),this.interceptors.response.forEach(function(t){n.push(t.fulfilled,t.rejected)});n.length;)e=e.then(n.shift(),n.shift());return e},o.forEach(["delete","get","head","options"],function(t){s.prototype[t]=function(n,e){return this.request(o.merge(e||{},{method:t,url:n}))}}),o.forEach(["post","put","patch"],function(t){s.prototype[t]=function(n,e,r){return this.request(o.merge(r||{},{method:t,url:n,data:e}))}}),t.exports=s},function(t,n,e){"use strict";var r=e(1);t.exports=function(t,n){r.forEach(t,function(e,r){r!==n&&r.toUpperCase()===n.toUpperCase()&&(t[n]=e,delete t[r])})}},function(t,n,e){"use strict";var r=e(10);t.exports=function(t,n,e){var o=e.config.validateStatus;e.status&&o&&!o(e.status)?n(r("Request failed with status code "+e.status,e.config,null,e.request,e)):t(e)}},function(t,n,e){"use strict";t.exports=function(t,n,e,r,o){return t.config=n,e&&(t.code=e),t.request=r,t.response=o,t}},function(t,n,e){"use strict";var r=e(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,n,e){if(!n)return t;var i;if(e)i=e(n);else if(r.isURLSearchParams(n))i=n.toString();else{var a=[];r.forEach(n,function(t,n){null!=t&&(r.isArray(t)?n+="[]":t=[t],r.forEach(t,function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),a.push(o(n)+"="+o(t))}))}),i=a.join("&")}return i&&(t+=(-1===t.indexOf("?")?"?":"&")+i),t}},function(t,n,e){"use strict";var r=e(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 n,e,i,a={};return t?(r.forEach(t.split("\n"),function(t){if(i=t.indexOf(":"),n=r.trim(t.substr(0,i)).toLowerCase(),e=r.trim(t.substr(i+1)),n){if(a[n]&&o.indexOf(n)>=0)return;a[n]="set-cookie"===n?(a[n]?a[n]:[]).concat([e]):a[n]?a[n]+", "+e:e}}),a):a}},function(t,n,e){"use strict";var r=e(1);t.exports=r.isStandardBrowserEnv()?function(){var t,n=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");function o(t){var r=t;return n&&(e.setAttribute("href",r),r=e.href),e.setAttribute("href",r),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return t=o(window.location.href),function(n){var e=r.isString(n)?o(n):n;return e.protocol===t.protocol&&e.host===t.host}}():function(){return!0}},function(t,n,e){"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 n,e,i=String(t),a="",s=0,u=r;i.charAt(0|s)||(u="=",s%1);a+=u.charAt(63&n>>8-s%1*8)){if((e=i.charCodeAt(s+=.75))>255)throw new o;n=n<<8|e}return a}},function(t,n,e){"use strict";var r=e(1);t.exports=r.isStandardBrowserEnv()?{write:function(t,n,e,o,i,a){var s=[];s.push(t+"="+encodeURIComponent(n)),r.isNumber(e)&&s.push("expires="+new Date(e).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 n=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},function(t,n,e){"use strict";var r=e(1);function o(){this.handlers=[]}o.prototype.use=function(t,n){return this.handlers.push({fulfilled:t,rejected:n}),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(n){null!==n&&t(n)})},t.exports=o},function(t,n,e){"use strict";var r=e(1),o=e(31),i=e(11),a=e(5),s=e(32),u=e(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(n){delete t.headers[n]}),(t.adapter||a.adapter)(t).then(function(n){return c(t),n.data=o(n.data,n.headers,t.transformResponse),n},function(n){return i(n)||(c(t),n&&n.response&&(n.response.data=o(n.response.data,n.response.headers,t.transformResponse))),Promise.reject(n)})}},function(t,n,e){"use strict";var r=e(1);t.exports=function(t,n,e){return r.forEach(e,function(e){t=e(t,n)}),t}},function(t,n,e){"use strict";t.exports=function(t){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(t)}},function(t,n,e){"use strict";t.exports=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t}},function(t,n,e){"use strict";var r=e(12);function o(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var n;this.promise=new Promise(function(t){n=t});var e=this;t(function(t){e.reason||(e.reason=new r(t),n(e.reason))})}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var t;return{token:new o(function(n){t=n}),cancel:t}},t.exports=o},function(t,n,e){"use strict";t.exports=function(t){return function(n){return t.apply(null,n)}}},,function(t,n){function e(t,n){var r={name:t.name,path:t.path,hash:t.hash,query:t.query,params:t.params,fullPath:t.fullPath,meta:t.meta};return n&&(r.from=e(n)),Object.freeze(r)}n.sync=function(t,n,r){var o=(r||{}).moduleName||"route";t.registerModule(o,{namespaced:!0,state:e(n.currentRoute),mutations:{ROUTE_CHANGED:function(n,r){t.state[o]=e(r.to,r.from)}}});var i,a=!1,s=t.watch(function(t){return t[o]},function(t){var e=t.fullPath;e!==i&&(null!=i&&(a=!0,n.push(t)),i=e)},{sync:!0}),u=n.afterEach(function(n,e){a?a=!1:(i=n.fullPath,t.commit(o+"/ROUTE_CHANGED",{to:n,from:e}))});return function(){null!=u&&u(),null!=s&&s(),t.unregisterModule(o)}}},function(t,n,e){window,t.exports=function(t){var n={};function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}return e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(r,o,function(n){return t[n]}.bind(null,o));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s=0)}([function(t,n,e){"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,n){OC.PasswordConfirmation.requirePasswordConfirmation(t,{},n)}):Promise.resolve()}e.r(n),e.d(n,"default",function(){return r})}])},,,,,function(n,e,r){"use strict";r.r(e);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,n){for(var e in n)t[e]=n[e];return t}var d={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,n){var e=n.props,r=n.children,o=n.parent,i=n.data;i.routerView=!0;for(var a=o.$createElement,s=e.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,n){var e=d.instances[s];(n&&e!==t||!n&&e===t)&&(d.instances[s]=n)},(i.hook||(i.hook={})).prepatch=function(t,n){d.instances[s]=n.componentInstance};var v=i.props=function(t,n){switch(typeof n){case"undefined":return;case"object":return n;case"function":return n(t);case"boolean":return n?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 n={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach(function(t){var e=t.replace(/\+/g," ").split("="),r=g(e.shift()),o=e.length>0?g(e.join("=")):null;void 0===n[r]?n[r]=o:Array.isArray(n[r])?n[r].push(o):n[r]=[n[r],o]}),n):n}function b(t){var n=t?Object.keys(t).map(function(n){var e=t[n];if(void 0===e)return"";if(null===e)return y(n);if(Array.isArray(e)){var r=[];return e.forEach(function(t){void 0!==t&&(null===t?r.push(y(n)):r.push(y(n)+"="+y(t)))}),r.join("&")}return y(n)+"="+y(e)}).filter(function(t){return t.length>0}).join("&"):null;return n?"?"+n:""}var w=/\/?$/;function A(t,n,e,r){var o=r&&r.options.stringifyQuery,i=n.query||{};try{i=C(i)}catch(t){}var a={name:n.name||t&&t.name,meta:t&&t.meta||{},path:n.path||"/",hash:n.hash||"",query:i,params:n.params||{},fullPath:E(n,o),matched:t?x(t):[]};return e&&(a.redirectedFrom=E(e,o)),Object.freeze(a)}function C(t){if(Array.isArray(t))return t.map(C);if(t&&"object"==typeof t){var n={};for(var e in t)n[e]=C(t[e]);return n}return t}var O=A(null,{path:"/"});function x(t){for(var n=[];t;)n.unshift(t),t=t.parent;return n}function E(t,n){var e=t.path,r=t.query;void 0===r&&(r={});var o=t.hash;return void 0===o&&(o=""),(e||"/")+(n||b)(r)+o}function T(t,n){return n===O?t===n:!!n&&(t.path&&n.path?t.path.replace(w,"")===n.path.replace(w,"")&&t.hash===n.hash&&S(t.query,n.query):!(!t.name||!n.name)&&(t.name===n.name&&t.hash===n.hash&&S(t.query,n.query)&&S(t.params,n.params)))}function S(t,n){if(void 0===t&&(t={}),void 0===n&&(n={}),!t||!n)return t===n;var e=Object.keys(t),r=Object.keys(n);return e.length===r.length&&e.every(function(e){var r=t[e],o=n[e];return"object"==typeof r&&"object"==typeof o?S(r,o):String(r)===String(o)})}var I,L=[String,Object],$=[String,Array],U={name:"RouterLink",props:{to:{type:L,required:!0},tag:{type:String,default:"a"},exact:Boolean,append:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,event:{type:$,default:"click"}},render:function(t){var n=this,e=this.$router,r=this.$route,o=e.resolve(this.to,r,this.append),i=o.location,a=o.route,s=o.href,u={},c=e.options.linkActiveClass,f=e.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,e):a;u[v]=T(r,m),u[h]=this.exact?u[v]:function(t,n){return 0===t.path.replace(w,"/").indexOf(n.path.replace(w,"/"))&&(!n.hash||t.hash===n.hash)&&function(t,n){for(var e in n)if(!(e in t))return!1;return!0}(t.query,n.query)}(r,m);var y=function(t){P(t)&&(n.replace?e.replace(i):e.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(n){if(n)for(var e,r=0;r<n.length;r++){if("a"===(e=n[r]).tag)return e;if(e.children&&(e=t(e.children)))return e}}(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 n=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(n))return}return t.preventDefault&&t.preventDefault(),!0}}var j="undefined"!=typeof window;function M(t,n,e){var r=t.charAt(0);if("/"===r)return t;if("?"===r||"#"===r)return n+t;var o=n.split("/");e&&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 q(t){return t.replace(/\/\//g,"/")}var F=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},R=V,k=X,B=function(t,n){return z(X(t,n))},D=z,H=Z,G=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function X(t,n){for(var e,r=[],o=0,i=0,a="",s=n&&n.delimiter||"/";null!=(e=G.exec(t));){var u=e[0],c=e[1],f=e.index;if(a+=t.slice(i,f),i=f+u.length,c)a+=c[1];else{var p=t[i],l=e[2],d=e[3],h=e[4],v=e[5],m=e[6],y=e[7];a&&(r.push(a),a="");var g=null!=l&&null!=p&&p!==l,_="+"===m||"*"===m,b="?"===m||"*"===m,w=e[2]||s,A=h||v;r.push({name:d||o++,prefix:l||"",delimiter:w,optional:b,repeat:_,partial:g,asterisk:!!y,pattern:A?N(A):y?".*":"[^"+J(w)+"]+?"})}}return i<t.length&&(a+=t.substr(i)),a&&r.push(a),r}function W(t){return encodeURI(t).replace(/[\/?#]/g,function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()})}function z(t){for(var n=new Array(t.length),e=0;e<t.length;e++)"object"==typeof t[e]&&(n[e]=new RegExp("^(?:"+t[e].pattern+")$"));return function(e,r){for(var o="",i=e||{},a=(r||{}).pretty?W: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(F(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]),!n[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),!n[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 J(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function N(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function K(t,n){return t.keys=n,t}function Y(t){return t.sensitive?"":"i"}function Z(t,n,e){F(n)||(e=n||e,n=[]);for(var r=(e=e||{}).strict,o=!1!==e.end,i="",a=0;a<t.length;a++){var s=t[a];if("string"==typeof s)i+=J(s);else{var u=J(s.prefix),c="(?:"+s.pattern+")";n.push(s),s.repeat&&(c+="(?:"+u+c+")*"),i+=c=s.optional?s.partial?u+"("+c+")?":"(?:"+u+"("+c+"))?":u+"("+c+")"}}var f=J(e.delimiter||"/"),p=i.slice(-f.length)===f;return r||(i=(p?i.slice(0,-f.length):i)+"(?:"+f+"(?=$))?"),i+=o?"$":r&&p?"":"(?="+f+"|$)",K(new RegExp("^"+i,Y(e)),n)}function V(t,n,e){return F(n)||(e=n||e,n=[]),e=e||{},t instanceof RegExp?function(t,n){var e=t.source.match(/\((?!\?)/g);if(e)for(var r=0;r<e.length;r++)n.push({name:r,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return K(t,n)}(t,n):F(t)?function(t,n,e){for(var r=[],o=0;o<t.length;o++)r.push(V(t[o],n,e).source);return K(new RegExp("(?:"+r.join("|")+")",Y(e)),n)}(t,n,e):function(t,n,e){return Z(X(t,e),n,e)}(t,n,e)}R.parse=k,R.compile=B,R.tokensToFunction=D,R.tokensToRegExp=H;var Q=Object.create(null);function tt(t,n,e){try{return(Q[t]||(Q[t]=R.compile(t)))(n||{},{pretty:!0})}catch(t){return""}}function nt(t,n,e,r){var o=n||[],i=e||Object.create(null),a=r||Object.create(null);t.forEach(function(t){!function t(n,e,r,o,i,a){var s=o.path;var u=o.name;0;var c=o.pathToRegexpOptions||{};var f=function(t,n,e){e||(t=t.replace(/\/$/,""));if("/"===t[0])return t;if(null==n)return t;return q(n.path+"/"+t)}(s,i,c.strict);"boolean"==typeof o.caseSensitive&&(c.sensitive=o.caseSensitive);var p={path:f,regex:et(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?q(a+"/"+o.path):void 0;t(n,e,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(n,e,r,s,i,p.path||"/")})}e[p.path]||(n.push(p.path),e[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 et(t,n){return R(t,[],n)}function rt(t,n,e,r){var o="string"==typeof t?{path:t}:t;if(o.name||o._normalized)return o;if(!o.path&&o.params&&n){(o=l({},o))._normalized=!0;var i=l(l({},n.params),o.params);if(n.name)o.name=n.name,o.params=i;else if(n.matched.length){var a=n.matched[n.matched.length-1].path;o.path=tt(a,i,n.path)}else 0;return o}var s=function(t){var n="",e="",r=t.indexOf("#");r>=0&&(n=t.slice(r),t=t.slice(0,r));var o=t.indexOf("?");return o>=0&&(e=t.slice(o+1),t=t.slice(0,o)),{path:t,query:e,hash:n}}(o.path||""),u=n&&n.path||"/",c=s.path?M(s.path,u,e||o.append):u,f=function(t,n,e){void 0===n&&(n={});var r,o=e||_;try{r=o(t||"")}catch(t){r={}}for(var i in n)r[i]=n[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,n){var e=nt(t),r=e.pathList,o=e.pathMap,i=e.nameMap;function a(t,e,a){var s=rt(t,e,!1,n),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={}),e&&"object"==typeof e.params)for(var l in e.params)!(l in s.params)&&p.indexOf(l)>-1&&(s.params[l]=e.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,e){var r=t.redirect,o="function"==typeof r?r(A(t,e,null,n)):r;if("string"==typeof o&&(o={path:o}),!o||"object"!=typeof o)return u(null,e);var s=o,c=s.name,f=s.path,p=e.query,l=e.hash,d=e.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,e)}if(f){var h=function(t,n){return M(t,n.parent?n.parent.path:"/",!0)}(f,t);return a({_normalized:!0,path:tt(h,d),query:p,hash:l},void 0,e)}return u(null,e)}function u(t,e,r){return t&&t.redirect?s(t,r||e):t&&t.matchAs?function(t,n,e){var r=a({_normalized:!0,path:tt(e,n.params)});if(r){var o=r.matched,i=o[o.length-1];return n.params=r.params,u(i,n)}return u(null,n)}(0,e,t.matchAs):A(t,e,r,n)}return{match:a,addRoutes:function(t){nt(t,r,o,i)}}}function it(t,n,e){var r=n.match(t);if(!r)return!1;if(!e)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&&(e[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 n;ct(),t.state&&t.state.key&&(n=t.state.key,yt=n)})}function ut(t,n,e,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,n,e,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,n){var e,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:{};n=function(t,n){var e=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{x:r.left-e.left-n.x,y:r.top-e.top-n.y}}(o,i={x:lt((e=i).x)?e.x:0,y:lt(e.y)?e.y:0})}else ft(t)&&(n=pt(t))}else r&&ft(t)&&(n=pt(t));n&&window.scrollTo(n.x,n.y)}var ht,vt=j&&((-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=j&&window.performance&&window.performance.now?window.performance:Date,yt=gt();function gt(){return mt.now().toFixed(3)}function _t(){return yt}function bt(t,n){ct();var e=window.history;try{n?e.replaceState({key:yt},"",t):(yt=gt(),e.pushState({key:yt},"",t))}catch(e){window.location[n?"replace":"assign"](t)}}function wt(t){bt(t,!0)}function At(t,n,e){var r=function(o){o>=t.length?e():t[o]?n(t[o],function(){r(o+1)}):r(o+1)};r(0)}function Ct(t){return function(n,e,r){var o=!1,i=0,a=null;Ot(t,function(t,n,e,s){if("function"==typeof t&&void 0===t.cid){o=!0,i++;var u,c=Tt(function(n){var o;((o=n).__esModule||Et&&"Module"===o[Symbol.toStringTag])&&(n=n.default),t.resolved="function"==typeof n?n:I.extend(n),e.components[s]=n,--i<=0&&r()}),f=Tt(function(t){var n="Failed to resolve async component "+s+": "+t;a||(a=p(t)?t:new Error(n),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,n){return xt(t.map(function(t){return Object.keys(t.components).map(function(e){return n(t.components[e],t.instances[e],t,e)})}))}function xt(t){return Array.prototype.concat.apply([],t)}var Et="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function Tt(t){var n=!1;return function(){for(var e=[],r=arguments.length;r--;)e[r]=arguments[r];if(!n)return n=!0,t.apply(this,e)}}var St=function(t,n){this.router=t,this.base=function(t){if(!t)if(j){var n=document.querySelector("base");t=(t=n&&n.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(n),this.current=O,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[]};function It(t,n,e,r){var o=Ot(t,function(t,r,o,i){var a=function(t,n){"function"!=typeof t&&(t=I.extend(t));return t.options[n]}(t,n);if(a)return Array.isArray(a)?a.map(function(t){return e(t,r,o,i)}):e(a,r,o,i)});return xt(r?o.reverse():o)}function Lt(t,n){if(n)return function(){return t.apply(n,arguments)}}St.prototype.listen=function(t){this.cb=t},St.prototype.onReady=function(t,n){this.ready?t():(this.readyCbs.push(t),n&&this.readyErrorCbs.push(n))},St.prototype.onError=function(t){this.errorCbs.push(t)},St.prototype.transitionTo=function(t,n,e){var r=this,o=this.router.match(t,this.current);this.confirmTransition(o,function(){r.updateRoute(o),n&&n(o),r.ensureURL(),r.ready||(r.ready=!0,r.readyCbs.forEach(function(t){t(o)}))},function(t){e&&e(t),t&&!r.ready&&(r.ready=!0,r.readyErrorCbs.forEach(function(n){n(t)}))})},St.prototype.confirmTransition=function(t,n,e){var r=this,o=this.current,i=function(t){p(t)&&(r.errorCbs.length?r.errorCbs.forEach(function(n){n(t)}):console.error(t)),e&&e(t)};if(T(t,o)&&t.matched.length===o.matched.length)return this.ensureURL(),i();var a=function(t,n){var e,r=Math.max(t.length,n.length);for(e=0;e<r&&t[e]===n[e];e++);return{updated:n.slice(0,e),activated:n.slice(e),deactivated:t.slice(e)}}(this.current.matched,t.matched),s=a.updated,u=a.deactivated,c=a.activated,f=[].concat(function(t){return It(t,"beforeRouteLeave",Lt,!0)}(u),this.router.beforeHooks,function(t){return It(t,"beforeRouteUpdate",Lt)}(s),c.map(function(t){return t.beforeEnter}),Ct(c));this.pending=t;var l=function(n,e){if(r.pending!==t)return i();try{n(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)):e(t)})}catch(t){i(t)}};At(f,l,function(){var e=[];At(function(t,n,e){return It(t,"beforeRouteEnter",function(t,r,o,i){return function(t,n,e,r,o){return function(i,a,s){return t(i,a,function(t){s(t),"function"==typeof t&&r.push(function(){!function t(n,e,r,o){e[r]&&!e[r]._isBeingDestroyed?n(e[r]):o()&&setTimeout(function(){t(n,e,r,o)},16)}(t,n.instances,e,o)})})}}(t,o,i,n,e)})}(c,e,function(){return r.current===t}).concat(r.router.resolveHooks),l,function(){if(r.pending!==t)return i();r.pending=null,n(t),r.router.app&&r.router.app.$nextTick(function(){e.forEach(function(t){t()})})})})},St.prototype.updateRoute=function(t){var n=this.current;this.current=t,this.cb&&this.cb(t),this.router.afterHooks.forEach(function(e){e&&e(t,n)})};var $t=function(t){function n(n,e){var r=this;t.call(this,n,e);var o=n.options.scrollBehavior,i=vt&&o;i&&st();var a=Ut(this.base);window.addEventListener("popstate",function(t){var e=r.current,o=Ut(r.base);r.current===O&&o===a||r.transitionTo(o,function(t){i&&ut(n,t,e,!0)})})}return t&&(n.__proto__=t),n.prototype=Object.create(t&&t.prototype),n.prototype.constructor=n,n.prototype.go=function(t){window.history.go(t)},n.prototype.push=function(t,n,e){var r=this,o=this.current;this.transitionTo(t,function(t){bt(q(r.base+t.fullPath)),ut(r.router,t,o,!1),n&&n(t)},e)},n.prototype.replace=function(t,n,e){var r=this,o=this.current;this.transitionTo(t,function(t){wt(q(r.base+t.fullPath)),ut(r.router,t,o,!1),n&&n(t)},e)},n.prototype.ensureURL=function(t){if(Ut(this.base)!==this.current.fullPath){var n=q(this.base+this.current.fullPath);t?bt(n):wt(n)}},n.prototype.getCurrentLocation=function(){return Ut(this.base)},n}(St);function Ut(t){var n=decodeURI(window.location.pathname);return t&&0===n.indexOf(t)&&(n=n.slice(t.length)),(n||"/")+window.location.search+window.location.hash}var Pt=function(t){function n(n,e,r){t.call(this,n,e),r&&function(t){var n=Ut(t);if(!/^\/#/.test(n))return window.location.replace(q(t+"/#"+n)),!0}(this.base)||jt()}return t&&(n.__proto__=t),n.prototype=Object.create(t&&t.prototype),n.prototype.constructor=n,n.prototype.setupListeners=function(){var t=this,n=this.router.options.scrollBehavior,e=vt&&n;e&&st(),window.addEventListener(vt?"popstate":"hashchange",function(){var n=t.current;jt()&&t.transitionTo(Mt(),function(r){e&&ut(t.router,r,n,!0),vt||Rt(r.fullPath)})})},n.prototype.push=function(t,n,e){var r=this,o=this.current;this.transitionTo(t,function(t){Ft(t.fullPath),ut(r.router,t,o,!1),n&&n(t)},e)},n.prototype.replace=function(t,n,e){var r=this,o=this.current;this.transitionTo(t,function(t){Rt(t.fullPath),ut(r.router,t,o,!1),n&&n(t)},e)},n.prototype.go=function(t){window.history.go(t)},n.prototype.ensureURL=function(t){var n=this.current.fullPath;Mt()!==n&&(t?Ft(n):Rt(n))},n.prototype.getCurrentLocation=function(){return Mt()},n}(St);function jt(){var t=Mt();return"/"===t.charAt(0)||(Rt("/"+t),!1)}function Mt(){var t=window.location.href,n=t.indexOf("#");return-1===n?"":decodeURI(t.slice(n+1))}function qt(t){var n=window.location.href,e=n.indexOf("#");return(e>=0?n.slice(0,e):n)+"#"+t}function Ft(t){vt?bt(qt(t)):window.location.hash=t}function Rt(t){vt?wt(qt(t)):window.location.replace(qt(t))}var kt=function(t){function n(n,e){t.call(this,n,e),this.stack=[],this.index=-1}return t&&(n.__proto__=t),n.prototype=Object.create(t&&t.prototype),n.prototype.constructor=n,n.prototype.push=function(t,n,e){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index+1).concat(t),r.index++,n&&n(t)},e)},n.prototype.replace=function(t,n,e){var r=this;this.transitionTo(t,function(t){r.stack=r.stack.slice(0,r.index).concat(t),n&&n(t)},e)},n.prototype.go=function(t){var n=this,e=this.index+t;if(!(e<0||e>=this.stack.length)){var r=this.stack[e];this.confirmTransition(r,function(){n.index=e,n.updateRoute(r)})}},n.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},n.prototype.ensureURL=function(){},n}(St),Bt=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 n=t.mode||"hash";switch(this.fallback="history"===n&&!vt&&!1!==t.fallback,this.fallback&&(n="hash"),j||(n="abstract"),this.mode=n,n){case"history":this.history=new $t(this,t.base);break;case"hash":this.history=new Pt(this,t.base,this.fallback);break;case"abstract":this.history=new kt(this,t.base);break;default:0}},Dt={currentRoute:{configurable:!0}};function Ht(t,n){return t.push(n),function(){var e=t.indexOf(n);e>-1&&t.splice(e,1)}}Bt.prototype.match=function(t,n,e){return this.matcher.match(t,n,e)},Dt.currentRoute.get=function(){return this.history&&this.history.current},Bt.prototype.init=function(t){var n=this;if(this.apps.push(t),!this.app){this.app=t;var e=this.history;if(e instanceof $t)e.transitionTo(e.getCurrentLocation());else if(e instanceof Pt){var r=function(){e.setupListeners()};e.transitionTo(e.getCurrentLocation(),r,r)}e.listen(function(t){n.apps.forEach(function(n){n._route=t})})}},Bt.prototype.beforeEach=function(t){return Ht(this.beforeHooks,t)},Bt.prototype.beforeResolve=function(t){return Ht(this.resolveHooks,t)},Bt.prototype.afterEach=function(t){return Ht(this.afterHooks,t)},Bt.prototype.onReady=function(t,n){this.history.onReady(t,n)},Bt.prototype.onError=function(t){this.history.onError(t)},Bt.prototype.push=function(t,n,e){this.history.push(t,n,e)},Bt.prototype.replace=function(t,n,e){this.history.replace(t,n,e)},Bt.prototype.go=function(t){this.history.go(t)},Bt.prototype.back=function(){this.go(-1)},Bt.prototype.forward=function(){this.go(1)},Bt.prototype.getMatchedComponents=function(t){var n=t?t.matched?t:this.resolve(t).route:this.currentRoute;return n?[].concat.apply([],n.matched.map(function(t){return Object.keys(t.components).map(function(n){return t.components[n]})})):[]},Bt.prototype.resolve=function(t,n,e){var r=rt(t,n||this.history.current,e,this),o=this.match(r,n),i=o.redirectedFrom||o.fullPath;return{location:r,route:o,href:function(t,n,e){var r="hash"===e?"#"+n:n;return t?q(t+"/"+r):r}(this.history.base,i,this.mode),normalizedTo:r,resolved:o}},Bt.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==O&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Bt.prototype,Dt),Bt.install=function t(n){if(!t.installed||I!==n){t.installed=!0,I=n;var e=function(t){return void 0!==t},r=function(t,n){var r=t.$options._parentVnode;e(r)&&e(r=r.data)&&e(r=r.registerRouteInstance)&&r(t,n)};n.mixin({beforeCreate:function(){e(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),n.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(n.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(n.prototype,"$route",{get:function(){return this._routerRoot._route}}),n.component("RouterView",d),n.component("RouterLink",U);var o=n.config.optionMergeStrategies;o.beforeRouteEnter=o.beforeRouteLeave=o.beforeRouteUpdate=o.created}},Bt.version="3.0.2",j&&window.Vue&&window.Vue.use(Bt);var Gt=Bt,Xt=function(){return Promise.all([r.e(0),r.e(3),r.e(5)]).then(r.bind(null,52))},Wt=function(){return Promise.all([r.e(0),r.e(4)]).then(r.bind(null,51))};
/*
* @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(Gt);var zt=new Gt({mode:"history",base:OC.generateUrl(""),linkActiveClass:"active",routes:[{path:"/:index(index.php/)?settings/users",component:Xt,props:!0,name:"users",children:[{path:":selectedGroup(.*)",name:"group",component:Xt}]},{path:"/:index(index.php/)?settings/apps",component:Wt,props:!0,name:"apps",children:[{path:":category",name:"apps-category",component:Wt,children:[{path:":id",name:"apps-details",component:Wt}]}]}]}),Jt=function(t){if(Number(t.version.split(".")[0])>=2)t.mixin({beforeCreate:e});else{var n=t.prototype._init;t.prototype._init=function(t){void 0===t&&(t={}),t.init=t.init?[e].concat(t.init):e,n.call(this,t)}}function e(){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)}},Nt="undefined"!=typeof window&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;
/**
* vuex v3.0.1
* (c) 2017 Evan You
* @license MIT
*/function Kt(t,n){Object.keys(t).forEach(function(e){return n(t[e],e)})}var Yt=function(t,n){this.runtime=n,this._children=Object.create(null),this._rawModule=t;var e=t.state;this.state=("function"==typeof e?e():e)||{}},Zt={namespaced:{configurable:!0}};Zt.namespaced.get=function(){return!!this._rawModule.namespaced},Yt.prototype.addChild=function(t,n){this._children[t]=n},Yt.prototype.removeChild=function(t){delete this._children[t]},Yt.prototype.getChild=function(t){return this._children[t]},Yt.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)},Yt.prototype.forEachChild=function(t){Kt(this._children,t)},Yt.prototype.forEachGetter=function(t){this._rawModule.getters&&Kt(this._rawModule.getters,t)},Yt.prototype.forEachAction=function(t){this._rawModule.actions&&Kt(this._rawModule.actions,t)},Yt.prototype.forEachMutation=function(t){this._rawModule.mutations&&Kt(this._rawModule.mutations,t)},Object.defineProperties(Yt.prototype,Zt);var Vt=function(t){this.register([],t,!1)};Vt.prototype.get=function(t){return t.reduce(function(t,n){return t.getChild(n)},this.root)},Vt.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(t,e){return t+((n=n.getChild(e)).namespaced?e+"/":"")},"")},Vt.prototype.update=function(t){!function t(n,e,r){0;e.update(r);if(r.modules)for(var o in r.modules){if(!e.getChild(o))return void 0;t(n.concat(o),e.getChild(o),r.modules[o])}}([],this.root,t)},Vt.prototype.register=function(t,n,e){var r=this;void 0===e&&(e=!0);var o=new Yt(n,e);0===t.length?this.root=o:this.get(t.slice(0,-1)).addChild(t[t.length-1],o);n.modules&&Kt(n.modules,function(n,o){r.register(t.concat(o),n,e)})},Vt.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),e=t[t.length-1];n.getChild(e).runtime&&n.removeChild(e)};var Qt;var tn=function(t){var n=this;void 0===t&&(t={}),!Qt&&"undefined"!=typeof window&&window.Vue&&cn(window.Vue);var e=t.plugins;void 0===e&&(e=[]);var r=t.strict;void 0===r&&(r=!1);var o=t.state;void 0===o&&(o={}),"function"==typeof o&&(o=o()||{}),this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Vt(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._watcherVM=new Qt;var i=this,a=this.dispatch,s=this.commit;this.dispatch=function(t,n){return a.call(i,t,n)},this.commit=function(t,n,e){return s.call(i,t,n,e)},this.strict=r,an(this,o,[],this._modules.root),on(this,o),e.forEach(function(t){return t(n)}),Qt.config.devtools&&function(t){Nt&&(t._devtoolHook=Nt,Nt.emit("vuex:init",t),Nt.on("vuex:travel-to-state",function(n){t.replaceState(n)}),t.subscribe(function(t,n){Nt.emit("vuex:mutation",t,n)}))}(this)},nn={state:{configurable:!0}};function en(t,n){return n.indexOf(t)<0&&n.push(t),function(){var e=n.indexOf(t);e>-1&&n.splice(e,1)}}function rn(t,n){t._actions=Object.create(null),t._mutations=Object.create(null),t._wrappedGetters=Object.create(null),t._modulesNamespaceMap=Object.create(null);var e=t.state;an(t,e,[],t._modules.root,!0),on(t,e,n)}function on(t,n,e){var r=t._vm;t.getters={};var o=t._wrappedGetters,i={};Kt(o,function(n,e){i[e]=function(){return n(t)},Object.defineProperty(t.getters,e,{get:function(){return t._vm[e]},enumerable:!0})});var a=Qt.config.silent;Qt.config.silent=!0,t._vm=new Qt({data:{$$state:n},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&&(e&&t._withCommit(function(){r._data.$$state=null}),Qt.nextTick(function(){return r.$destroy()}))}function an(t,n,e,r,o){var i=!e.length,a=t._modules.getNamespace(e);if(r.namespaced&&(t._modulesNamespaceMap[a]=r),!i&&!o){var s=sn(n,e.slice(0,-1)),u=e[e.length-1];t._withCommit(function(){Qt.set(s,u,r.state)})}var c=r.context=function(t,n,e){var r=""===n,o={dispatch:r?t.dispatch:function(e,r,o){var i=un(e,r,o),a=i.payload,s=i.options,u=i.type;return s&&s.root||(u=n+u),t.dispatch(u,a)},commit:r?t.commit:function(e,r,o){var i=un(e,r,o),a=i.payload,s=i.options,u=i.type;s&&s.root||(u=n+u),t.commit(u,a,s)}};return Object.defineProperties(o,{getters:{get:r?function(){return t.getters}:function(){return function(t,n){var e={},r=n.length;return Object.keys(t.getters).forEach(function(o){if(o.slice(0,r)===n){var i=o.slice(r);Object.defineProperty(e,i,{get:function(){return t.getters[o]},enumerable:!0})}}),e}(t,n)}},state:{get:function(){return sn(t.state,e)}}}),o}(t,a,e);r.forEachMutation(function(n,e){!function(t,n,e,r){(t._mutations[n]||(t._mutations[n]=[])).push(function(n){e.call(t,r.state,n)})}(t,a+e,n,c)}),r.forEachAction(function(n,e){var r=n.root?e:a+e,o=n.handler||n;!function(t,n,e,r){(t._actions[n]||(t._actions[n]=[])).push(function(n,o){var i,a=e.call(t,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:t.getters,rootState:t.state},n,o);return(i=a)&&"function"==typeof i.then||(a=Promise.resolve(a)),t._devtoolHook?a.catch(function(n){throw t._devtoolHook.emit("vuex:error",n),n}):a})}(t,r,o,c)}),r.forEachGetter(function(n,e){!function(t,n,e,r){if(t._wrappedGetters[n])return void 0;t._wrappedGetters[n]=function(t){return e(r.state,r.getters,t.state,t.getters)}}(t,a+e,n,c)}),r.forEachChild(function(r,i){an(t,n,e.concat(i),r,o)})}function sn(t,n){return n.length?n.reduce(function(t,n){return t[n]},t):t}function un(t,n,e){var r;return null!==(r=t)&&"object"==typeof r&&t.type&&(e=n,n=t,t=t.type),{type:t,payload:n,options:e}}function cn(t){Qt&&t===Qt||Jt(Qt=t)}nn.state.get=function(){return this._vm._data.$$state},nn.state.set=function(t){0},tn.prototype.commit=function(t,n,e){var r=this,o=un(t,n,e),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)}))},tn.prototype.dispatch=function(t,n){var e=this,r=un(t,n),o=r.type,i=r.payload,a={type:o,payload:i},s=this._actions[o];if(s)return this._actionSubscribers.forEach(function(t){return t(a,e.state)}),s.length>1?Promise.all(s.map(function(t){return t(i)})):s[0](i)},tn.prototype.subscribe=function(t){return en(t,this._subscribers)},tn.prototype.subscribeAction=function(t){return en(t,this._actionSubscribers)},tn.prototype.watch=function(t,n,e){var r=this;return this._watcherVM.$watch(function(){return t(r.state,r.getters)},n,e)},tn.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._vm._data.$$state=t})},tn.prototype.registerModule=function(t,n,e){void 0===e&&(e={}),"string"==typeof t&&(t=[t]),this._modules.register(t,n),an(this,this.state,t,this._modules.get(t),e.preserveState),on(this,this.state)},tn.prototype.unregisterModule=function(t){var n=this;"string"==typeof t&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var e=sn(n.state,t.slice(0,-1));Qt.delete(e,t[t.length-1])}),rn(this)},tn.prototype.hotUpdate=function(t){this._modules.update(t),rn(this,!0)},tn.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n},Object.defineProperties(tn.prototype,nn);var fn=vn(function(t,n){var e={};return hn(n).forEach(function(n){var r=n.key,o=n.val;e[r]=function(){var n=this.$store.state,e=this.$store.getters;if(t){var r=mn(this.$store,"mapState",t);if(!r)return;n=r.context.state,e=r.context.getters}return"function"==typeof o?o.call(this,n,e):n[o]},e[r].vuex=!0}),e}),pn=vn(function(t,n){var e={};return hn(n).forEach(function(n){var r=n.key,o=n.val;e[r]=function(){for(var n=[],e=arguments.length;e--;)n[e]=arguments[e];var r=this.$store.commit;if(t){var i=mn(this.$store,"mapMutations",t);if(!i)return;r=i.context.commit}return"function"==typeof o?o.apply(this,[r].concat(n)):r.apply(this.$store,[o].concat(n))}}),e}),ln=vn(function(t,n){var e={};return hn(n).forEach(function(n){var r=n.key,o=n.val;o=t+o,e[r]=function(){if(!t||mn(this.$store,"mapGetters",t))return this.$store.getters[o]},e[r].vuex=!0}),e}),dn=vn(function(t,n){var e={};return hn(n).forEach(function(n){var r=n.key,o=n.val;e[r]=function(){for(var n=[],e=arguments.length;e--;)n[e]=arguments[e];var r=this.$store.dispatch;if(t){var i=mn(this.$store,"mapActions",t);if(!i)return;r=i.context.dispatch}return"function"==typeof o?o.apply(this,[r].concat(n)):r.apply(this.$store,[o].concat(n))}}),e});function hn(t){return Array.isArray(t)?t.map(function(t){return{key:t,val:t}}):Object.keys(t).map(function(n){return{key:n,val:t[n]}})}function vn(t){return function(n,e){return"string"!=typeof n?(e=n,n=""):"/"!==n.charAt(n.length-1)&&(n+="/"),t(n,e)}}function mn(t,n,e){return t._modulesNamespaceMap[e]}var yn={Store:tn,install:cn,version:"3.0.1",mapState:fn,mapMutations:pn,mapGetters:ln,mapActions:dn,createNamespacedHelpers:function(t){return{mapState:fn.bind(null,t),mapGetters:ln.bind(null,t),mapMutations:pn.bind(null,t),mapActions:dn.bind(null,t)}}},gn=r(0),_n=function(t,n){return 1===n?t.sort(function(t,n){return t.usercount-t.disabled<n.usercount-n.disabled}):t.sort(function(t,n){return t.name.localeCompare(n.name)})},bn={id:"",name:"",usercount:0,disabled:0,canAdd:!0,canRemove:!0},wn={state:{users:[],groups:[],orderBy:1,minPasswordLength:0,usersOffset:0,usersLimit:25,userCount:0},mutations:{appendUsers:function(t,n){var e=t.users.concat(Object.keys(n).map(function(t){return n[t]}));t.usersOffset+=t.usersLimit,t.users=e},setPasswordPolicyMinLength:function(t,n){t.minPasswordLength=""!==n?n:0},initGroups:function(t,n){var e=n.groups,r=n.orderBy,o=n.userCount;t.groups=e.map(function(t){return Object.assign({},bn,t)}),t.orderBy=r,t.userCount=o,t.groups=_n(t.groups,t.orderBy)},addGroup:function(t,n){var e=n.gid,r=n.displayName;try{if(void 0!==t.groups.find(function(t){return t.id===e}))return;var o=Object.assign({},bn,{id:e,name:r});t.groups.push(o),t.groups=_n(t.groups,t.orderBy)}catch(t){console.log("Can't create group",t)}},removeGroup:function(t,n){var e=t.groups.findIndex(function(t){return t.id==n});e>=0&&t.groups.splice(e,1)},addUserGroup:function(t,n){var e=n.userid,r=n.gid,o=t.groups.find(function(t){return t.id==r}),i=t.users.find(function(t){return t.id==e});o&&i.enabled&&o.usercount++,i.groups.push(r),t.groups=_n(t.groups,t.orderBy)},removeUserGroup:function(t,n){var e=n.userid,r=n.gid,o=t.groups.find(function(t){return t.id==r}),i=t.users.find(function(t){return t.id==e});o&&i.enabled&&o.usercount--;var a=i.groups;a.splice(a.indexOf(r),1),t.groups=_n(t.groups,t.orderBy)},addUserSubAdmin:function(t,n){var e=n.userid,r=n.gid;t.users.find(function(t){return t.id==e}).subadmin.push(r)},removeUserSubAdmin:function(t,n){var e=n.userid,r=n.gid,o=t.users.find(function(t){return t.id==e}).subadmin;o.splice(o.indexOf(r),1)},deleteUser:function(t,n){var e=t.users.findIndex(function(t){return t.id==n});t.users.splice(e,1)},addUserData:function(t,n){t.users.push(n.data.ocs.data)},enableDisableUser:function(t,n){var e=n.userid,r=n.enabled,o=t.users.find(function(t){return t.id==e});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(n){t.groups.find(function(t){return t.id==n}).disabled+=r?-1:1})},setUserData:function(t,n){var e=n.userid,r=n.key,o=n.value;if("quota"===r){var i=OC.Util.computerFileSize(o);t.users.find(function(t){return t.id==e})[r][r]=null!==i?i:o}else t.users.find(function(t){return t.id==e})[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,n){var e=n.offset,r=n.limit,o=n.search,i=n.group;return o="string"==typeof o?o:"",""!==(i="string"==typeof i?i:"")?gn.a.get(OC.linkToOCS("cloud/groups/".concat(i,"/users/details?offset=").concat(e,"&limit=").concat(r,"&search=").concat(o),2)).then(function(n){return Object.keys(n.data.ocs.data.users).length>0&&(t.commit("appendUsers",n.data.ocs.data.users),!0)}).catch(function(n){return t.commit("API_FAILURE",n)}):gn.a.get(OC.linkToOCS("cloud/users/details?offset=".concat(e,"&limit=").concat(r,"&search=").concat(o),2)).then(function(n){return Object.keys(n.data.ocs.data.users).length>0&&(t.commit("appendUsers",n.data.ocs.data.users),!0)}).catch(function(n){return t.commit("API_FAILURE",n)})},getGroups:function(t,n){var e=n.offset,r=n.limit,o=n.search;o="string"==typeof o?o:"";var i=-1===r?"":"&limit=".concat(r);return gn.a.get(OC.linkToOCS("cloud/groups?offset=".concat(e,"&search=").concat(o).concat(i),2)).then(function(n){return Object.keys(n.data.ocs.data.groups).length>0&&(n.data.ocs.data.groups.forEach(function(n){t.commit("addGroup",{gid:n,displayName:n})}),!0)}).catch(function(n){return t.commit("API_FAILURE",n)})},getUsersFromList:function(t,n){var e=n.offset,r=n.limit,o=n.search;return o="string"==typeof o?o:"",gn.a.get(OC.linkToOCS("cloud/users/details?offset=".concat(e,"&limit=").concat(r,"&search=").concat(o),2)).then(function(n){return Object.keys(n.data.ocs.data.users).length>0&&(t.commit("appendUsers",n.data.ocs.data.users),!0)}).catch(function(n){return t.commit("API_FAILURE",n)})},getUsersFromGroup:function(t,n){var e=n.groupid,r=n.offset,o=n.limit;return gn.a.get(OC.linkToOCS("cloud/users/".concat(e,"/details?offset=").concat(r,"&limit=").concat(o),2)).then(function(n){return t.commit("getUsersFromList",n.data.ocs.data.users)}).catch(function(n){return t.commit("API_FAILURE",n)})},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,n){return gn.a.requireAdmin().then(function(e){return gn.a.post(OC.linkToOCS("cloud/groups",2),{groupid:n}).then(function(e){return t.commit("addGroup",{gid:n,displayName:n}),{gid:n,displayName:n}}).catch(function(t){throw t})}).catch(function(e){throw t.commit("API_FAILURE",{gid:n,error:e}),e})},removeGroup:function(t,n){return gn.a.requireAdmin().then(function(e){return gn.a.delete(OC.linkToOCS("cloud/groups/".concat(n),2)).then(function(e){return t.commit("removeGroup",n)}).catch(function(t){throw t})}).catch(function(e){return t.commit("API_FAILURE",{gid:n,error:e})})},addUserGroup:function(t,n){var e=n.userid,r=n.gid;return gn.a.requireAdmin().then(function(n){return gn.a.post(OC.linkToOCS("cloud/users/".concat(e,"/groups"),2),{groupid:r}).then(function(n){return t.commit("addUserGroup",{userid:e,gid:r})}).catch(function(t){throw t})}).catch(function(n){return t.commit("API_FAILURE",{userid:e,error:n})})},removeUserGroup:function(t,n){var e=n.userid,r=n.gid;return gn.a.requireAdmin().then(function(n){return gn.a.delete(OC.linkToOCS("cloud/users/".concat(e,"/groups"),2),{groupid:r}).then(function(n){return t.commit("removeUserGroup",{userid:e,gid:r})}).catch(function(t){throw t})}).catch(function(n){throw t.commit("API_FAILURE",{userid:e,error:n}),n})},addUserSubAdmin:function(t,n){var e=n.userid,r=n.gid;return gn.a.requireAdmin().then(function(n){return gn.a.post(OC.linkToOCS("cloud/users/".concat(e,"/subadmins"),2),{groupid:r}).then(function(n){return t.commit("addUserSubAdmin",{userid:e,gid:r})}).catch(function(t){throw t})}).catch(function(n){return t.commit("API_FAILURE",{userid:e,error:n})})},removeUserSubAdmin:function(t,n){var e=n.userid,r=n.gid;return gn.a.requireAdmin().then(function(n){return gn.a.delete(OC.linkToOCS("cloud/users/".concat(e,"/subadmins"),2),{groupid:r}).then(function(n){return t.commit("removeUserSubAdmin",{userid:e,gid:r})}).catch(function(t){throw t})}).catch(function(n){return t.commit("API_FAILURE",{userid:e,error:n})})},deleteUser:function(t,n){return gn.a.requireAdmin().then(function(e){return gn.a.delete(OC.linkToOCS("cloud/users/".concat(n),2)).then(function(e){return t.commit("deleteUser",n)}).catch(function(t){throw t})}).catch(function(e){return t.commit("API_FAILURE",{userid:n,error:e})})},addUser:function(t,n){var e=t.commit,r=t.dispatch,o=n.userid,i=n.password,a=n.displayName,s=n.email,u=n.groups,c=n.subadmin,f=n.quota,p=n.language;return gn.a.requireAdmin().then(function(t){return gn.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 e("API_FAILURE",{userid:o,error:t}),t})},addUserData:function(t,n){return gn.a.requireAdmin().then(function(e){return gn.a.get(OC.linkToOCS("cloud/users/".concat(n),2)).then(function(n){return t.commit("addUserData",n)}).catch(function(t){throw t})}).catch(function(e){return t.commit("API_FAILURE",{userid:n,error:e})})},enableDisableUser:function(t,n){var e=n.userid,r=n.enabled,o=void 0===r||r,i=o?"enable":"disable";return gn.a.requireAdmin().then(function(n){return gn.a.put(OC.linkToOCS("cloud/users/".concat(e,"/").concat(i),2)).then(function(n){return t.commit("enableDisableUser",{userid:e,enabled:o})}).catch(function(t){throw t})}).catch(function(n){return t.commit("API_FAILURE",{userid:e,error:n})})},setUserData:function(t,n){var e=n.userid,r=n.key,o=n.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))?gn.a.requireAdmin().then(function(n){return gn.a.put(OC.linkToOCS("cloud/users/".concat(e),2),{key:r,value:o}).then(function(n){return t.commit("setUserData",{userid:e,key:r,value:o})}).catch(function(t){throw t})}).catch(function(n){return t.commit("API_FAILURE",{userid:e,error:n})}):Promise.reject(new Error("Invalid request data"))},sendWelcomeMail:function(t,n){return gn.a.requireAdmin().then(function(t){return gn.a.post(OC.linkToOCS("cloud/users/".concat(n,"/welcome"),2)).then(function(t){return!0}).catch(function(t){throw t})}).catch(function(e){return t.commit("API_FAILURE",{userid:n,error:e})})}}},An={state:{apps:[],categories:[],updateCount:0,loading:{},loadingList:!1},mutations:{APPS_API_FAILURE:function(n,e){OC.Notification.showHtml(t("settings","An error occured during the request. Unable to proceed.")+"<br>"+e.error.response.data.data.message,{timeout:7}),console.log(n,e)},initCategories:function(t,n){var e=n.categories,r=n.updateCount;t.categories=e,t.updateCount=r},setUpdateCount:function(t,n){t.updateCount=n},addCategory:function(t,n){t.categories.push(n)},appendCategories:function(t,n){t.categories=n},setAllApps:function(t,n){t.apps=n},setError:function(t,n){var e=n.appId,r=n.error;Array.isArray(e)||(e=[e]),e.forEach(function(n){t.apps.find(function(t){return t.id===n}).error=r})},clearError:function(t,n){var e=n.appId;n.error;t.apps.find(function(t){return t.id===e}).error=null},enableApp:function(t,n){var e=n.appId,r=n.groups,o=t.apps.find(function(t){return t.id===e});o.active=!0,o.groups=r},disableApp:function(t,n){var e=t.apps.find(function(t){return t.id===n});e.active=!1,e.groups=[],e.removable&&(e.canUnInstall=!0)},uninstallApp:function(t,n){t.apps.find(function(t){return t.id===n}).active=!1,t.apps.find(function(t){return t.id===n}).groups=[],t.apps.find(function(t){return t.id===n}).needsDownload=!0,t.apps.find(function(t){return t.id===n}).installed=!1,t.apps.find(function(t){return t.id===n}).canUnInstall=!1,t.apps.find(function(t){return t.id===n}).canInstall=!0},updateApp:function(t,n){var e=t.apps.find(function(t){return t.id===n}),r=e.update;e.update=null,e.version=r,t.updateCount--},resetApps:function(t){t.apps=[]},reset:function(t){t.apps=[],t.categories=[],t.updateCount=0},startLoading:function(t,n){Array.isArray(n)?n.forEach(function(n){o.a.set(t.loading,n,!0)}):o.a.set(t.loading,n,!0)},stopLoading:function(t,n){Array.isArray(n)?n.forEach(function(n){o.a.set(t.loading,n,!1)}):o.a.set(t.loading,n,!1)}},getters:{loading:function(t){return function(n){return t.loading[n]}},getCategories:function(t){return t.categories},getAllApps:function(t){return t.apps},getUpdateCount:function(t){return t.updateCount}},actions:{enableApp:function(n,e){var r,o=e.appId,i=e.groups;return r=Array.isArray(o)?o:[o],gn.a.requireAdmin().then(function(e){return n.commit("startLoading",r),n.commit("startLoading","install"),gn.a.post(OC.generateUrl("settings/apps/enable"),{appIds:r,groups:i}).then(function(e){return n.commit("stopLoading",r),n.commit("stopLoading","install"),r.forEach(function(t){n.commit("enableApp",{appId:t,groups:i})}),gn.a.get(OC.generateUrl("apps/files")).then(function(){e.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(e){Array.isArray(o)||n.commit("setError",{appId:r,error:t("settings","Error: This app can not be enabled because it makes the server unstable")})})}).catch(function(t){n.commit("stopLoading",r),n.commit("stopLoading","install"),n.commit("setError",{appId:r,error:t.response.data.data.message}),n.commit("APPS_API_FAILURE",{appId:o,error:t})})}).catch(function(t){return n.commit("API_FAILURE",{appId:o,error:t})})},disableApp:function(t,n){var e,r=n.appId;return e=Array.isArray(r)?r:[r],gn.a.requireAdmin().then(function(n){return t.commit("startLoading",e),gn.a.post(OC.generateUrl("settings/apps/disable"),{appIds:e}).then(function(n){return t.commit("stopLoading",e),e.forEach(function(n){t.commit("disableApp",n)}),!0}).catch(function(n){t.commit("stopLoading",e),t.commit("APPS_API_FAILURE",{appId:r,error:n})})}).catch(function(n){return t.commit("API_FAILURE",{appId:r,error:n})})},uninstallApp:function(t,n){var e=n.appId;return gn.a.requireAdmin().then(function(n){return t.commit("startLoading",e),gn.a.get(OC.generateUrl("settings/apps/uninstall/".concat(e))).then(function(n){return t.commit("stopLoading",e),t.commit("uninstallApp",e),!0}).catch(function(n){t.commit("stopLoading",e),t.commit("APPS_API_FAILURE",{appId:e,error:n})})}).catch(function(n){return t.commit("API_FAILURE",{appId:e,error:n})})},updateApp:function(t,n){var e=n.appId;return gn.a.requireAdmin().then(function(n){return t.commit("startLoading",e),t.commit("startLoading","install"),gn.a.get(OC.generateUrl("settings/apps/update/".concat(e))).then(function(n){return t.commit("stopLoading","install"),t.commit("stopLoading",e),t.commit("updateApp",e),!0}).catch(function(n){t.commit("stopLoading",e),t.commit("stopLoading","install"),t.commit("APPS_API_FAILURE",{appId:e,error:n})})}).catch(function(n){return t.commit("API_FAILURE",{appId:e,error:n})})},getAllApps:function(t){return t.commit("startLoading","list"),gn.a.get(OC.generateUrl("settings/apps/list")).then(function(n){return t.commit("setAllApps",n.data.apps),t.commit("stopLoading","list"),!0}).catch(function(n){return t.commit("API_FAILURE",n)})},getCategories:function(t){return t.commit("startLoading","categories"),gn.a.get(OC.generateUrl("settings/apps/categories")).then(function(n){return n.data.length>0&&(t.commit("appendCategories",n.data),t.commit("stopLoading","categories"),!0)}).catch(function(n){return t.commit("API_FAILURE",n)})}}},Cn={state:{serverData:{}},mutations:{setServerData:function(t,n){t.serverData=n}},getters:{getServerData:function(t){return t.serverData}},actions:{}},On={state:{},mutations:{},getters:{},actions:{setAppConfig:function(t,n){var e=n.app,r=n.key,o=n.value;return gn.a.requireAdmin().then(function(t){return gn.a.post(OC.linkToOCS("apps/provisioning_api/api/v1/config/apps/".concat(e,"/").concat(r),2),{value:o}).catch(function(t){throw t})}).catch(function(n){return t.commit("API_FAILURE",{app:e,key:r,value:o,error:n})})}}};
/*
* @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(yn);var xn={API_FAILURE:function(n,e){try{var r=e.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(n){OC.Notification.showTemporary(t("settings","An error occured during the request. Unable to proceed."))}console.log(n,e)}},En=new yn.Store({modules:{users:wn,apps:An,settings:Cn,oc:On},strict:!1,mutations:xn});r.d(e,"app",function(){return Tn}),r.d(e,"router",function(){return zt}),r.d(e,"store",function(){return En}),
/**
* @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)(En,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 Tn=new o.a({router:zt,store:En,render:function(t){return t(f)}}).$mount("#content")}]);
//# sourceMappingURL=settings-vue.js.map