nextcloud/apps/settings/js/vue-settings-personal-secur...

1019 lines
1.3 MiB
JavaScript
Raw Normal View History

!function(t){var n={};function e(i){if(n[i])return n[i].exports;var o=n[i]={i:i,l:!1,exports:{}};return t[i].call(o.exports,o,o.exports,e),o.l=!0,o.exports}e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:i})},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 i=Object.create(null);if(e.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var o in t)e.d(i,o,function(n){return t[n]}.bind(null,o));return i},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="/js/",e(e.s=579)}([function(t,n,e){(function(n){var e=function(t){return t&&t.Math==Math&&t};t.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof n&&n)||function(){return this}()||Function("return this")()}).call(this,e(14))},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n,e){var i=e(0),o=e(39),r=e(6),a=e(40),s=e(57),c=e(100),l=o("wks"),u=i.Symbol,d=c?u:u&&u.withoutSetter||a;t.exports=function(t){return r(l,t)&&(s||"string"==typeof l[t])||(s&&r(u,t)?l[t]=u[t]:l[t]=d("Symbol."+t)),l[t]}},function(t,n,e){var i=e(0),o=e(22).f,r=e(12),a=e(10),s=e(48),c=e(97),l=e(46);t.exports=function(t,n){var e,u,d,p,f,A=t.target,h=t.global,m=t.stat;if(e=h?i:m?i[A]||s(A,{}):(i[A]||{}).prototype)for(u in n){if(p=n[u],d=t.noTargetGet?(f=o(e,u))&&f.value:e[u],!l(h?u:A+(m?".":"#")+u,t.forced)&&void 0!==d){if(typeof p==typeof d)continue;c(p,d)}(t.sham||d&&d.sham)&&r(p,"sham",!0),a(e,u,p,t)}}},function(t,n,e){var i=e(5);t.exports=function(t){if(!i(t))throw TypeError(String(t)+" is not an object");return t}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var i=e(1);t.exports=!i((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(t,n,e){var i=e(7),o=e(81),r=e(4),a=e(30),s=Object.defineProperty;n.f=i?s:function(t,n,e){if(r(t),n=a(n,!0),r(e),o)try{return s(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){"use strict";var i=e(110),o=Object.prototype.toString;function r(t){return"[object Array]"===o.call(t)}function a(t){return void 0===t}function s(t){return null!==t&&"object"==typeof t}function c(t){if("[object Object]"!==o.call(t))return!1;var n=Object.getPrototypeOf(t);return null===n||n===Object.prototype}function l(t){return"[object Function]"===o.call(t)}function u(t,n){if(null!=t)if("object"!=typeof t&&(t=[t]),r(t))for(var e=0,i=t.length;e<i;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:r,isArrayBuffer:function(t){return"[object ArrayBuffer]"===o.call(t)},isBuffer:function(t){return null!==t&&!a(t)&&null!==t.constructor&&!a(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},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,isPlainObject:c,isUndefined:a,isDate:function(t){return"[object Date]"===o.call(t)},isFile:function(t){return"[object File]"===o.call(t)},isBlob:function(t){return"[object Blob]"===o.call(t)},isFunction:l,isStream:function(t){return s(t)&&l(t.pipe)},isURLSearchParams:function(t){return"undefined"!=typeof URLSearchParams&&t instanceof URLSearchPar
/*!
* Vue.js v2.6.12
* (c) 2014-2020 Evan You
* Released under the MIT License.
*/
var i=Object.freeze({});function o(t){return null==t}function r(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 c(t){return null!==t&&"object"==typeof t}var l=Object.prototype.toString;function u(t){return"[object Object]"===l.call(t)}function d(t){return"[object RegExp]"===l.call(t)}function p(t){var n=parseFloat(String(t));return n>=0&&Math.floor(n)===n&&isFinite(t)}function f(t){return r(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function A(t){return null==t?"":Array.isArray(t)||u(t)&&t.toString===l?JSON.stringify(t,null,2):String(t)}function h(t){var n=parseFloat(t);return isNaN(n)?t:n}function m(t,n){for(var e=Object.create(null),i=t.split(","),o=0;o<i.length;o++)e[i[o]]=!0;return n?function(t){return e[t.toLowerCase()]}:function(t){return e[t]}}m("slot,component",!0);var g=m("key,ref,slot,slot-scope,is");function v(t,n){if(t.length){var e=t.indexOf(n);if(e>-1)return t.splice(e,1)}}var b=Object.prototype.hasOwnProperty;function C(t,n){return b.call(t,n)}function y(t){var n=Object.create(null);return function(e){return n[e]||(n[e]=t(e))}}var x=/-(\w)/g,w=y((function(t){return t.replace(x,(function(t,n){return n?n.toUpperCase():""}))})),k=y((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),_=/\B([A-Z])/g,B=y((function(t){return t.replace(_,"-$1").toLowerCase()}));var E=Function.prototype.bind?function(t,n){return t.bind(n)}:function(t,n){function e(e){var i=arguments.length;return i?i>1?t.apply(n,arguments):t.call(n,e):t.call(n)}return e._length=t.length,e};function S(t,n){n=n||0;for(var e=t.length-n,i=new Array(e);e--;)i[e]=t[e+n];return i}function T(t,n){for(var e in n)t[e]=n[e];return t}function $(t){for(var n={},e=0;e<t.length;e++)t[e]&&T(n,t[e]);return n}function I(t,n,e){}var O=function(t,n,e){return!1},M=function(t){return t};function N(t,n){if(t===n)return!0;var e=c(t),i=c(n);if(!e||!i)return!e&&!i&&String(t)===String(n);try{var o=Array.isArray(t),r=Array.isArray(n);if(o&&r)return t.length===n.length&&t.every((function(t,e){return N(t,n[e])}));if(t instanceof Date&&n instanceof Date)return t.getTime()===n.getTime();if(o||r)return!1;var a=Object.keys(t),s=Object.keys(n);return a.length===s.length&&a.every((function(e){return N(t[e],n[e])}))}catch(t){return!1}}function D(t,n){for(var e=0;e<t.length;e++)if(N(t[e],n))return e;return-1}function L(t){var n=!1;return function(){n||(n=!0,t.apply(this,arguments))}}var P=["component","directive","filter"],j=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],F={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:O,isReservedAttr:O,isUnknownElement:O,getTagNamespace:I,parsePlatformTagName:M,mustUseProp:O,async:!0,_lifecycleHooks:j},R=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function U(t,n,e,i){Object.defineProperty(t,n,{value:e,enumerable:!!i,writable:!0,configurable:!0})}var z=new RegExp("[^"+R.source+".$_\\d]");var G,W="__proto__"in{},Y="undefined"!=typeof window,H="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,V=H&&WXEnvironment.platform.toLowerCase(),Q=Y&&window.navigator.userAgent.toLowerCase(),q=Q&&/msie|trident/.test(Q),K=Q&&Q.indexOf("msie 9.0")>0,J=Q&&Q.indexOf("edge/")>0,X=(Q&&Q.indexOf("android"),Q&&/iphone|ipad|ipod|ios/.test(Q)||"ios"===V),Z=(Q&&/chrome\/\d+/.test(Q),Q&&/phantomjs/.test(Q),Q&&Q.match(/firefox\/(\d+)/)),tt={}.watch,nt=!1;if(Y)try{var et={};Object.defineProperty(et,"passive",{get:function(){nt=!0}}),window.addEventListener("test-passive",null,et)}catch(t){}var it=function(){return void 0===G&&(G=!Y&&!H&&void 0!==t&&(t.process&&"server"===t.process.env.VUE_ENV)),G},ot=Y&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function rt(t){return"function"==t
/**!
* @fileOverview Kickass library to create and place poppers near their reference elements.
* @version 1.16.1
* @license
* Copyright (c) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
var e="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,i=function(){for(var t=["Edge","Trident","Firefox"],n=0;n<t.length;n+=1)if(e&&navigator.userAgent.indexOf(t[n])>=0)return 1;return 0}();var o=e&&window.Promise?function(t){var n=!1;return function(){n||(n=!0,window.Promise.resolve().then((function(){n=!1,t()})))}}:function(t){var n=!1;return function(){n||(n=!0,setTimeout((function(){n=!1,t()}),i))}};function r(t){return t&&"[object Function]"==={}.toString.call(t)}function a(t,n){if(1!==t.nodeType)return[];var e=t.ownerDocument.defaultView.getComputedStyle(t,null);return n?e[n]:e}function s(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function c(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var n=a(t),e=n.overflow,i=n.overflowX,o=n.overflowY;return/(auto|scroll|overlay)/.test(e+o+i)?t:c(s(t))}function l(t){return t&&t.referenceNode?t.referenceNode:t}var u=e&&!(!window.MSInputMethodContext||!document.documentMode),d=e&&/MSIE 10/.test(navigator.userAgent);function p(t){return 11===t?u:10===t?d:u||d}function f(t){if(!t)return document.documentElement;for(var n=p(10)?document.body:null,e=t.offsetParent||null;e===n&&t.nextElementSibling;)e=(t=t.nextElementSibling).offsetParent;var i=e&&e.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(e.nodeName)&&"static"===a(e,"position")?f(e):e:t?t.ownerDocument.documentElement:document.documentElement}function A(t){return null!==t.parentNode?A(t.parentNode):t}function h(t,n){if(!(t&&t.nodeType&&n&&n.nodeType))return document.documentElement;var e=t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_FOLLOWING,i=e?t:n,o=e?n:t,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var a,s,c=r.commonAncestorContainer;if(t!==c&&n!==c||i.contains(o))return"BODY"===(s=(a=c).nodeName)||"HTML"!==s&&f(a.firstElementChild)!==a?f(c):c;var l=A(t);return l.host?h(l.host,n):h(t,A(n).host)}function m(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",e="top"===n?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var o=t.ownerDocument.documentElement,r=t.ownerDocument.scrollingElement||o;return r[e]}return t[e]}function g(t,n){var e=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=m(n,"top"),o=m(n,"left"),r=e?-1:1;return t.top+=i*r,t.bottom+=i*r,t.left+=o*r,t.right+=o*r,t}function v(t,n){var e="x"===n?"Left":"Top",i="Left"===e?"Right":"Bottom";return parseFloat(t["border"+e+"Width"])+parseFloat(t["border"+i+"Width"])}function b(t,n,e,i){return Math.max(n["offset"+t],n["scroll"+t],e["client"+t],e["offset"+t],e["scroll"+t],p(10)?parseInt(e["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function C(t){var n=t.body,e=t.documentElement,i=p(10)&&getComputedStyle(e);return{height:b("Height",n,e,i),width:b("Width",n,e,i)}}var y=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")},x=function(){function t(t,n){for(var e=0;e<n.length;e++){var i=n[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(n,e,i){return e&&t(n.prototype,e),i&&t(n,i),n}}(),w=function(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t},k=Object.assign||function(t){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i])}return t};function _(t){return k({},t,{right:t.left+t.width,bottom:t.top+t.height})}function B(t){var n={};try{if(p(10)){n=t.getBoundingClientRect();var e=m(t,"top"),i=m(t,"left");n.top+=e,n.left+=i,n.bottom+=e,n.right+=i}else n=t.getBoundingClientRect()}catch(t){}var o={left:n.left,top:n.top,width:n.right-n.left,height:n.bottom-n.top},r="HTML"===t.nodeName?C(t.ownerDocument):{},s=r.width||t.clientWidth||o.width,c=r.height||t.clientHeight||o.height,l=t.offsetWidth-s,u=t.offsetHeight-c;if(l||u){var d=a(t);l-=v(d,"x"),u-
/**
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
*
* @author Julius Härtl <jus@bitgrid.net>
* @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/>.
*
*/
i.VTooltip.options.defaultTemplate='<div class="vue-tooltip" role="tooltip" data-v-'.concat("84c461f",'><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'),i.VTooltip.options.defaultHtml=!1,n.default=i.VTooltip},function(t,n){t.exports=i(206)},function(t,n,e){"use strict";var i=e(0),o=e.n(i),r=e(1),a=e.n(r)()(o.a);a.push([t.i,".vue-tooltip[data-v-84c461f]{position:absolute;z-index:100000;right:auto;left:auto;display:block;margin:0;margin-top:-3px;padding:10px 0;text-align:left;text-align:start;opacity:0;line-height:1.6;line-break:auto;filter:drop-shadow(0 1px 10px var(--color-box-shadow))}.vue-tooltip[data-v-84c461f][x-placement^='top'] .tooltip-arrow{bottom:0;margin-top:0;margin-bottom:0;border-width:10px 10px 0 10px;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-84c461f][x-placement^='bottom'] .tooltip-arrow{top:0;margin-top:0;margin-bottom:0;border-width:0 10px 10px 10px;border-top-color:transparent;border-right-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-84c461f][x-placement^='right'] .tooltip-arrow{right:100%;margin-right:0;margin-left:0;border-width:10px 10px 10px 0;border-top-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-84c461f][x-placement^='left'] .tooltip-arrow{left:100%;margin-right:0;margin-left:0;border-width:10px 0 10px 10px;border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent}.vue-tooltip[data-v-84c461f][aria-hidden='true']{visibility:hidden;transition:opacity .15s, visibility .15s;opacity:0}.vue-tooltip[data-v-84c461f][aria-hidden='false']{visibility:visible;transition:opacity .15s;opacity:1}.vue-tooltip[data-v-84c461f] .tooltip-inner{max-width:350px;padding:5px 8px;text-align:center;color:var(--color-main-text);border-radius:var(--border-radius);background-color:var(--color-main-background)}.vue-tooltip[data-v-84c461f] .tooltip-arrow{position:absolute;z-index:1;width:0;height:0;margin:0;border-style:solid;border-color:var(--color-main-background)}\n","",{version:3,sources:["webpack://./index.scss"],names:[],mappings:"AAeA,6BACC,iBAAkB,CAClB,cAAe,CACf,UAAW,CACX,SAAU,CACV,aAAc,CACd,QAAS,CAET,eAAgB,CAChB,cAAe,CACf,eAAgB,CAChB,gBAAiB,CACjB,SAAU,CACV,eAAgB,CAEhB,eAAgB,CAChB,sDAAuD,CAhBxD,gEAqBG,QAAS,CACT,YAAa,CACb,eAAgB,CAChB,6BA1Be,CA2Bf,8BAA+B,CAC/B,+BAAgC,CAChC,6BAA8B,CA3BjC,mEAkCG,KAAM,CACN,YAAa,CACb,eAAgB,CAChB,6BAvCe,CAwCf,4BAA6B,CAC7B,8BAA+B,CAC/B,6BAA8B,CAxCjC,kEA+CG,UAAW,CACX,cAAe,CACf,aAAc,CACd,6BAAsD,CACtD,4BAA6B,CAC7B,+BAAgC,CAChC,6BAA8B,CArDjC,iEA4DG,SAAU,CACV,cAAe,CACf,aAAc,CACd,6BAjEe,CAkEf,4BAA6B,CAC7B,8BAA+B,CAC/B,+BAAgC,CAlEnC,iDAwEE,iBAAkB,CAClB,wCAAyC,CACzC,SAAU,CA1EZ,kDA6EE,kBAAmB,CACnB,uBAAwB,CACxB,SAAU,CA/EZ,4CAoFE,eAAgB,CAChB,eAAgB,CAChB,iBAAkB,CAClB,4BAA6B,CAC7B,kCAAmC,CACnC,6CAA8C,CAzFhD,4CA8FE,iBAAkB,CAClB,SAAU,CACV,OAAQ,CACR,QAAS,CACT,QAAS,CACT,kBAAmB,CACnB,yCAA0C",sourcesContent:["$scope_version:\"84c461f\"; @import 'variables';\n/**\n* @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>\n* @copyright Copyright (c) 2016, Robin Appelman <robin@icewind.nl>\n* @copyright Copyright (c) 2016, Jan-Christoph Borchardt <hey@jancborchardt.net>\n* @copyright Copyright (c) 2016, Erik Pellikka <erik@pellikka.org>\n* @copyright Copyright (c) 2015, Vincent Petry <pvince81@owncloud.com>\n*\n* Bootstrap v3.3.5 (http://getbootstrap.com)\n* Copyright 2011-2015 Twitter, Inc.\n* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n*/\n\n$arrow-width: 10px;\n\n.vue-tooltip[data-v-#{$scope_version}] {\n\tposition: absolute;\n\tz-index: 100000;\n\tright: auto;\n\tleft: auto;\n\tdisplay: block;\n\tmargin: 0;\n\t/* default to top */\n\tmargin-top: -3px;\n\tpadding: 10px 0;\n\ttext-align: left;\n\ttext-align: start;\n\topacity: 0;\n\tline-height: 1.6;\n\n\tline-break: auto;\n\tfilter: drop-shadow(0 1px 10px var(--color-box-shadow));\n\n\t// TOP\n\t&[x-placement^='top'] {\n\t\t.tooltip-arrow {\n\t\t\tbottom: 0;\n\t\t\tmargin-top: 0;\n\t\t\tmargin-bottom: 0;\n\t
/**
* @copyright Copyright (c) 2019 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/>.
*
*/n.a={before:function(){this.$slots.default&&""!==this.text.trim()||(o.a.util.warn("".concat(this.$options.name," cannot be empty and requires a meaningful text content"),this),this.$destroy(),this.$el.remove())},beforeUpdate:function(){this.text=this.getText()},data:function(){return{text:this.getText()}},computed:{isLongText:function(){return this.text&&this.text.trim().length>20}},methods:{getText:function(){return this.$slots.default?this.$slots.default[0].text.trim():""}}}},function(t,n){t.exports=i(216)},function(t,n){t.exports=i(213)},function(t,n){t.exports=i(280)},function(t,n){t.exports=i(285)},function(t,n,e){"use strict";var i=e(0),o=e.n(i),r=e(1),a=e.n(r)()(o.a);a.push([t.i,".mention-bubble--primary .mention-bubble__content[data-v-724f9d58]{color:var(--color-primary-text);background-color:var(--color-primary-element)}.mention-bubble__wrapper[data-v-724f9d58]{max-width:150px;height:18px;vertical-align:text-bottom;display:inline-flex;align-items:center}.mention-bubble__content[data-v-724f9d58]{display:inline-flex;overflow:hidden;align-items:center;max-width:100%;height:20px;-webkit-user-select:none;user-select:none;padding-right:6px;padding-left:2px;border-radius:10px;background-color:var(--color-background-dark)}.mention-bubble__icon[data-v-724f9d58]{position:relative;width:16px;height:16px;border-radius:8px;background-color:var(--color-background-darker);background-repeat:no-repeat;background-position:center;background-size:12px}.mention-bubble__icon--with-avatar[data-v-724f9d58]{color:inherit;background-size:cover}.mention-bubble__title[data-v-724f9d58]{overflow:hidden;margin-left:2px;white-space:nowrap;text-overflow:ellipsis}.mention-bubble__title[data-v-724f9d58]::before{content:attr(title)}.mention-bubble__select[data-v-724f9d58]{position:absolute;z-index:-1;left:-1000px}\n","",{version:3,sources:["webpack://./MentionBubble.vue"],names:[],mappings:"AAsGC,mEACC,+BAAgC,CAChC,6CAA8C,CAC9C,0CAGA,eAXsB,CAatB,WAAwC,CACxC,0BAA2B,CAC3B,mBAAoB,CACpB,kBAAmB,CACnB,0CAGA,mBAAoB,CACpB,eAAgB,CAChB,kBAAmB,CACnB,cAAe,CACf,WAzBkB,CA0BlB,wBAAyB,CACzB,gBAAiB,CACjB,iBAAkC,CAClC,gBA3BkB,CA4BlB,kBAAiC,CACjC,6CAA8C,CAC9C,uCAGA,iBAAkB,CAClB,UAjCuD,CAkCvD,WAlCuD,CAmCvD,iBAAsC,CACtC,+CAAgD,CAChD,2BAA4B,CAC5B,0BAA2B,CAC3B,oBAA0D,CAE1D,oDACC,aAAc,CACd,qBAAsB,CACtB,wCAID,eAAgB,CAChB,eAlDkB,CAmDlB,kBAAmB,CACnB,sBAAuB,CAJvB,gDAOC,mBAAoB,CACpB,yCAKD,iBAAkB,CAClB,UAAW,CACX,YAAa",sourcesContent:["$scope_version:\"84c461f\"; @import 'variables';\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n$bubble-height: 20px;\n$bubble-max-width: 150px;\n$bubble-padding: 2px;\n$bubble-avatar-size: $bubble-height - 2 * $bubble-padding;\n\n.mention-bubble {\n\t&--primary &__content {\n\t\tcolor: var(--color-primary-text);\n\t\tbackground-color: var(--color-primary-element);\n\t}\n\n\t&__wrapper {\n\t\tmax-width: $bubble-max-width;\n\t\t// Align with text\n\t\theight: $bubble-height - $bubble-padding;\n\t\tvertical-align: text-bottom;\n\t\tdisplay: inline-flex;\n\t\talign-items: center;\n\t}\n\n\t&__content {\n\t\tdisplay: inline-flex;\n\t\toverflow: hidden;\n\t\talign-items: center;\n\t\tmax-width: 100%;\n\t\theight: $bubble-height ;\n\t\t-webkit-user-select: none;\n\t\tuser-select: none;\n\t\tpadding-right: $bubble-padding * 3;\n\t\tpadding-left: $bubble-padding;\n\t\tborder-radius: $bubble-height / 2;\n\t\tbackground-color: var(--color-background-dark);\n\t}\n\n\t&__icon {\n\t\tposition: relative;\n\t\twidth: $bubble-avatar-size;\n\t\theight: $bubble-avatar-size;\n\t\tborder-radius: $bubble-avatar-size / 2;\n\t\tbackground-color: var(--color-background-darker);\n\t\tbackground-repeat: no-repeat;\n\t\tbackground-position: center;\n\t\tbackground-size: $bubble-avatar-size - 2 * $bubble-padding;\n\n\t\t&--with-avatar {\n\t\t\tcolor: inherit;\n\t\t\tbackground-size: cover;\n\t\t}\n\t}\n\n\t&__title {\n\t\toverflow: hidden;\n\t\tmargin-left: $bubble-padding;\n\t\twhite-space: nowrap;\n\t\ttext-overflow: ellipsis;
/**
* @copyright Copyright (c) 2020 Georg Ehrke <georg-nextcloud@ehrke.email>
*
* @author Georg Ehrke <georg-nextcloud@ehrke.email>
*
* @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/>.
*
*/var f={data:function(){return{hasStatus:!1,userStatus:{status:null,message:null,icon:null}}},methods:{fetchUserStatus:function(t){var n,e=this;return(n=regeneratorRuntime.mark((function n(){var i,o,r,a,s,p,f,A,h;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(i=Object(u.getCapabilities)(),Object.prototype.hasOwnProperty.call(i,"user_status")&&i.user_status.enabled){n.next=3;break}return n.abrupt("return");case 3:if(Object(d.getCurrentUser)()){n.next=5;break}return n.abrupt("return");case 5:return n.prev=5,n.next=8,c.a.get(Object(l.generateOcsUrl)("apps/user_status/api/v1",2)+"statuses/".concat(encodeURIComponent(t)));case 8:o=n.sent,r=o.data,a=r.ocs.data,s=a.status,p=a.message,f=a.icon,e.userStatus.status=s,e.userStatus.message=p||"",e.userStatus.icon=f||"",e.hasStatus=!0,n.next=22;break;case 17:if(n.prev=17,n.t0=n.catch(5),404!==n.t0.response.status||0!==(null===(A=n.t0.response.data.ocs)||void 0===A||null===(h=A.data)||void 0===h?void 0:h.length)){n.next=21;break}return n.abrupt("return");case 21:console.error(n.t0);case 22:case"end":return n.stop()}}),n,null,[[5,17]])})),function(){var t=this,e=arguments;return new Promise((function(i,o){var r=n.apply(t,e);function a(t){p(r,i,o,a,s,"next",t)}function s(t){p(r,i,o,a,s,"throw",t)}a(void 0)}))})()}}};
/**
* @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/>.
*
*/},function(t,n){t.exports=i(214)},function(t,n,e){"use strict";e.r(n);var i=e(28);
/**
* @copyright Copyright (c) 2019 Marco Ambrosini <marcoambrosini@pm.me>
*
* @author Marco Ambrosini <marcoambrosini@pm.me>
*
* @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/>.
*
*/n.default=i.a},function(t,n){t.exports=i(282)},function(t,n,e){"use strict";e(16),e(6),e(17),e(18),e(40);var i=e(39),o=(e(14),function(t,n){for(var e=t.$parent;e;){if(e.$options.name===n)return e;e=e.$parent}});n.a={mixins:[i.a],props:{icon:{type:String,default:""},title:{type:String,default:""},closeAfterClick:{type:Boolean,default:!1},ariaLabel:{type:String,default:""}},computed:{isIconUrl:function(){try{return new URL(this.icon)}catch(t){return!1}}},methods:{onClick:function(t){if(this.$emit("click",t),this.closeAfterClick){var n=o(this,"Actions");n&&n.closeMenu&&n.closeMenu()}}}}},function(t,n,e){"use strict";e(35),e(14),e(101);var i=e(5),o=e.n(i);n.a=function(t,n,e){if(void 0!==t)for(var i=t.length-1;i>=0;i--){var r=t[i],a=!r.componentOptions&&r.tag&&-1===n.indexOf(r.tag),s=!!r.componentOptions&&"string"==typeof r.componentOptions.tag,c=s&&-1===n.indexOf(r.componentOptions.tag);(a||!s||c)&&((a||c)&&o.a.util.warn("".concat(a?r.tag:r.componentOptions.tag," is not allowed inside the ").concat(e.$options.name," component"),e),t.splice(i,1))}}},function(t,n){t.exports=i(131)},function(t,n){t.exports=i(215)},function(t,n,e){"use strict";var i=e(0),o=e.n(i),r=e(1),a=e.n(r)()(o.a);a.push([t.i,"\nbutton.menuitem[data-v-febed9b6] {\n\ttext-align: left;\n}\nbutton.menuitem *[data-v-febed9b6] {\n\tcursor: pointer;\n}\nbutton.menuitem[data-v-febed9b6]:disabled {\n\topacity: 0.5 !important;\n\tcursor: default;\n}\nbutton.menuitem:disabled *[data-v-febed9b6] {\n\tcursor: default;\n}\n.menuitem.active[data-v-febed9b6] {\n\tbox-shadow: inset 2px 0 var(--color-primary);\n\tborder-radius: 0;\n}\n","",{version:3,sources:["webpack://./PopoverMenuItem.vue"],names:[],mappings:";AAmLA;CACA,gBAAA;AACA;AAEA;CACA,eAAA;AACA;AAEA;CACA,uBAAA;CACA,eAAA;AACA;AAEA;CACA,eAAA;AACA;AAEA;CACA,4CAAA;CACA,gBAAA;AACA",sourcesContent:['\x3c!--\n - @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>\n -\n - @author John Molakvoæ <skjnldsv@protonmail.com>\n -\n - @license GNU AGPL version 3 or any later version\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <http://www.gnu.org/licenses/>.\n -\n --\x3e\n\n<template>\n\t<li class="popover__menuitem">\n\t\t\x3c!-- If item.href is set, a link will be directly used --\x3e\n\t\t<a v-if="item.href"\n\t\t\t:href="(item.href) ? item.href : \'#\' "\n\t\t\t:target="(item.target) ? item.target : \'\' "\n\t\t\t:download="item.download"\n\t\t\tclass="focusable"\n\t\t\trel="noreferrer noopener"\n\t\t\t@click="action">\n\t\t\t<span v-if="!iconIsUrl" :class="item.icon" />\n\t\t\t<img v-else :src="item.icon">\n\t\t\t<p v-if="item.text && item.longtext">\n\t\t\t\t<strong class="menuitem-text">\n\t\t\t\t\t{{ item.text }}\n\t\t\t\t</strong><br>\n\t\t\t\t<span class="menuitem-text-detail">\n\t\t\t\t\t{{ item.longtext }}\n\t\t\t\t</span>\n\t\t\t</p>\n\t\t\t<span v-else-if="item.text">\n\t\t\t\t{{ item.text }}\n\t\t\t</span>\n\t\t\t<p v-else-if="item.longtext">\n\t\t\t\t{{ item.longtext }}\n\t\t\t</p>\n\t\t</a>\n\n\t\t\x3c!-- If item.input is set instead, an put will be used --\x3e\n\t\t<span v-else-if="item.input" class="menuitem" :class="{active: item.active}">\n\t\t\t\x3c!-- does not show if input is checkbox --\x3e\n\t\t\t<span v-if="item.input !== \'checkbox\'" :class="item.icon" />\n\n\t\t\t\x3c!-- only shows if input is text --\x3e\n\t\t\t<form v-if="item.input === \'text\'"\n\t\t\t\t:class="item.input"\n\t\t\t\t@submit.prevent="item.action">\n\t\t\t\t<input :type="item.input"\n\t\t\t\t\t:va
/**
* @copyright Copyright (c) 2019 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/>.
*
*/
function i(t,n,e){this.r=t,this.g=n,this.b=e}function o(t,n,e){var o=[];o.push(n);for(var r=function(t,n){var e=new Array(3);return e[0]=(n[1].r-n[0].r)/t,e[1]=(n[1].g-n[0].g)/t,e[2]=(n[1].b-n[0].b)/t,e}(t,[n,e]),a=1;a<t;a++){var s=parseInt(n.r+r[0]*a,10),c=parseInt(n.g+r[1]*a,10),l=parseInt(n.b+r[2]*a,10);o.push(new i(s,c,l))}return o}e(35),n.a=function(t){t||(t=6);var n=new i(182,70,157),e=new i(221,203,85),r=new i(0,130,201),a=o(t,n,e),s=o(t,e,r),c=o(t,r,n);return a.concat(s).concat(c)}},function(t,n,e){"use strict";var i=e(0),o=e.n(i),r=e(1),a=e.n(r),s=e(4),c=e.n(s),l=e(8),u=e(9),d=e(10),p=e(11),f=a()(o.a),A=c()(l.a),h=c()(u.a),m=c()(d.a),g=c()(p.a);f.push([t.i,'@font-face{font-family:"iconfont-vue-84c461f";src:url('+A+");src:url("+A+') format("embedded-opentype"),url('+h+') format("woff"),url('+m+') format("truetype"),url('+g+') format("svg")}.icon[data-v-5baa2f3a]{font-style:normal;font-weight:400}.icon.arrow-left-double[data-v-5baa2f3a]:before{font-family:"iconfont-vue-84c461f";content:""}.icon.arrow-left[data-v-5baa2f3a]:before{font-family:"iconfont-vue-84c461f";content:""}.icon.arrow-right-double[data-v-5baa2f3a]:before{font-family:"iconfont-vue-84c461f";content:""}.icon.arrow-right[data-v-5baa2f3a]:before{font-family:"iconfont-vue-84c461f";content:""}.icon.breadcrumb[data-v-5baa2f3a]:before{font-family:"iconfont-vue-84c461f";content:""}.icon.checkmark[data-v-5baa2f3a]:before{font-family:"iconfont-vue-84c461f";content:""}.icon.close[data-v-5baa2f3a]:before{font-family:"iconfont-vue-84c461f";content:""}.icon.confirm[data-v-5baa2f3a]:before{font-family:"iconfont-vue-84c461f";content:""}.icon.info[data-v-5baa2f3a]:before{font-family:"iconfont-vue-84c461f";content:""}.icon.menu[data-v-5baa2f3a]:before{font-family:"iconfont-vue-84c461f";content:""}.icon.more[data-v-5baa2f3a]:before{font-family:"iconfont-vue-84c461f";content:""}.icon.pause[data-v-5baa2f3a]:before{font-family:"iconfont-vue-84c461f";content:""}.icon.play[data-v-5baa2f3a]:before{font-family:"iconfont-vue-84c461f";content:""}.icon.triangle-s[data-v-5baa2f3a]:before{font-family:"iconfont-vue-84c461f";content:""}.icon.user-status-away[data-v-5baa2f3a]:before{font-family:"iconfont-vue-84c461f";content:""}.icon.user-status-dnd[data-v-5baa2f3a]:before{font-family:"iconfont-vue-84c461f";content:""}.icon.user-status-invisible[data-v-5baa2f3a]:before{font-family:"iconfont-vue-84c461f";content:""}.icon.user-status-online[data-v-5baa2f3a]:before{font-family:"iconfont-vue-84c461f";content:""}.avatardiv[data-v-5baa2f3a]{position:relative;display:inline-block}.avatardiv--unknown[data-v-5baa2f3a]{position:relative;background-color:var(--color-text-maxcontrast)}.avatardiv[data-v-5baa2f3a]:not(.avatardiv--unknown){background-color:#fff !important;box-shadow:0 0 5px rgba(0,0,0,0.05) inset}body.theme--dark .avatardiv[data-v-5baa2f3a]:not(.avatardiv--unknown){background-color:#000 !important}.avatardiv--with-menu[data-v-5baa2f3a]{cursor:pointer}.avatardiv--with-menu[data-v-5baa2f3a] .trigger{position:absolute;top:0;left:0}.avatardiv--with-menu .icon-more[data-v-5baa2f3a]{display:flex;cursor:pointer;opacity:0;background:none;font-size:18px;align-items:center;justify-content:center}.avatardiv--with-menu .icon-more[data-v-5baa2f3a]:before{font-family:"iconfont-vue-84c461f";font-style:normal;font-weight:400;content:""}.avatardiv--with-menu .icon-more[data-v-5baa2f3a]::before{display:block}.avatardiv--with-menu:focus .icon-more[data-v-5baa2f3a],.avatardiv--with-menu:hover .icon-more[data-v-5baa2f3a]{opacity:1}.avatardiv--with-menu:focus img[data-v-5baa2f3a],.avatardiv--with-menu:hover img[data-v-5baa2f3a]{opacity:0.3}.avatardiv--with-menu .icon-more[data-v-5baa2f3a],.avatardiv--with-menu img[data-v-5baa2f3a]{transition:opacity var(--animation-quick)}.avatardiv>.unknown[data-v-5baa2f3a]{position:absolute;top:0;left:0;display:block;width:100%;text-align:center;font-weight:normal;color:var(--color-main-background)}.avatardiv img[data-v-5baa2f3a]{width:100%;height:100%;object-fit:cover}.avatardiv .avatardiv__status[data-v-5b
/**
* @copyright Copyright (c) 2020 Raimund Schlüßler <raimund.schluessler@mailbox.org>
*
* @author Raimund Schlüßler <raimund.schluessler@mailbox.org>
*
* @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/>.
*
*/n.a=function(t,n){for(var e=[],i=0,o=t.toLowerCase().indexOf(n.toLowerCase(),i),r=0;o>-1&&r<t.length;)i=o+n.length,e.push({start:o,end:i}),o=t.toLowerCase().indexOf(n.toLowerCase(),o+1),r++;return e}},function(t,n){t.exports=i(218)},function(t,n){t.exports=i(219)},function(t,n,e){"use strict";e.r(n);var i=e(85);
/**
* @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/>.
*
*/n.default=i.a},function(t,n,e){"use strict";e.r(n),e(15),e(98),e(93),e(24),e(69),e(31),e(51),e(71),e(27),e(72);var i=e(70);function o(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,i)}return e}function r(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?o(Object(e),!0).forEach((function(n){a(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):o(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function a(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var s={name:"Highlight",props:{text:{type:String,default:""},search:{type:String,default:""},highlight:{type:Array,default:function(){return[]}}},computed:{ranges:function(){var t=this,n=[];return this.search||0!==this.highlight.length?(n=this.highlight.length>0?this.highlight:Object(i.a)(this.text,this.search)).reduce((function(n,e){return e.start<t.text.length&&e.end>0&&n.push({start:e.start<0?0:e.start,end:e.end>t.text.length?t.text.length:e.end}),n}),[]):n},chunks:function(){if(0===this.ranges.length)return[{start:0,end:this.text.length,highlight:!1,text:this.text}];for(var t=[],n=0,e=0;n<this.text.length;){var i=this.ranges[e];i.start!==n?(t.push({start:n,end:i.start,highlight:!1,text:this.text.substr(n,i.start-n)}),n=i.start):(t.push(r(r({},i),{},{highlight:!0,text:this.text.substr(i.start,i.end-i.start)})),e++,n=i.end,e>=this.ranges.length&&n<this.text.length&&(t.push({start:n,end:this.text.length,highlight:!1,text:this.text.substr(n,this.text.length-n)}),n=this.text.length))}return t}},render:function(t){return this.ranges.length?t("span",{},this.chunks.map((function(n){return n.highlight?t("strong",{},n.text):n.text}))):t("span",{},this.text)}},c=e(3),l=e(78),u=e.n(l),d=Object(c.a)(s,void 0,void 0,!1,null,null,null);"function"==typeof u.a&&u()(d);var p=d.exports;
/**
* @copyright Copyright (c) 2020 Raimund Schlüßler <raimund.schluessler@mailbox.org>
*
* @author Raimund Schlüßler <raimund.schluessler@mailbox.org>
*
* @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/>.
*
*/n.default=p},function(t,n,e){"use strict";function i(t,n){var e;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(e=function(t,n){if(t){if("string"==typeof t)return o(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?o(t,n):void 0}}(t))||n&&t&&"number"==typeof t.length){e&&(t=e);var i=0,r=function(){};return{s:r,n:function(){return i>=t.length?{done:!0}:{done:!1,value:t[i++]}},e:function(t){throw t},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,c=!1;return{s:function(){e=t[Symbol.iterator]()},n:function(){var t=e.next();return s=t.done,t},e:function(t){c=!0,a=t},f:function(){try{s||null==e.return||e.return()}finally{if(c)throw a}}}}function o(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,i=new Array(n);e<n;e++)i[e]=t[e];return i}
/**
* @copyright Copyright (c) 2020 Georg Ehrke <georg-nextcloud@ehrke.email>
*
* @author Georg Ehrke <georg-nextcloud@ehrke.email>
*
* @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/>.
*
*/e.r(n),e(41),e(6),e(14),e(52),e(17),e(31),e(38),e(46),e(16),e(18),n.default={props:{excludeClickOutsideClasses:{type:String|Array,default:function(){return[]}}},methods:{clickOutsideMiddleware:function(t){var n=Array.isArray(this.excludeClickOutsideClasses)?this.excludeClickOutsideClasses:[this.excludeClickOutsideClasses];return 0===n.length||!this.hasNodeOrAnyParentClass(t.target,n)},hasNodeOrAnyParentClass:function(t,n){var e,o=i(n);try{for(o.s();!(e=o.n()).done;){var r,a=e.value;if(null!=t&&null!==(r=t.classList)&&void 0!==r&&r.contains(a))return!0}}catch(t){o.e(t)}finally{o.f()}return!!t.parentElement&&this.hasNodeOrAnyParentClass(t.parentElement,n)}}}},function(t,n,e){"use strict";e.r(n),
/**
* @copyright Copyright (c) 2019 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/>.
*
*/
n.default={data:function(){return{isFullscreen:this._isFullscreen()}},beforeMount:function(){window.addEventListener("resize",this._onResize)},beforeDestroy:function(){window.removeEventListener("resize",this._onResize)},methods:{_onResize:function(){this.isFullscreen=this._isFullscreen()},_isFullscreen:function(){return window.outerHeight===screen.height}}}},function(t,n,e){"use strict";e.r(n),e(6),e(26),e(16),e(17),e(18),e(40);var i={name:"PopoverMenuItem",props:{item:{type:Object,required:!0,default:function(){return{key:"nextcloud-link",href:"https://nextcloud.com",icon:"icon-links",text:"Nextcloud"}},validator:function(t){return!t.input||-1!==["text","checkbox"].indexOf(t.input)}}},computed:{key:function(){return this.item.key?this.item.key:Math.round(16*Math.random()*1e6).toString(16)},iconIsUrl:function(){try{return new URL(this.item.icon),!0}catch(t){return!1}}},methods:{action:function(t){this.item.action&&this.item.action(t)}}},o=e(2),r=e.n(o),a=e(53),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(54)),c=(r()(s.a,{insert:"head",singleton:!1}),s.a.locals,e(3)),l={name:"PopoverMenu",components:{PopoverMenuItem:Object(c.a)(i,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("li",{staticClass:"popover__menuitem"},[t.item.href?e("a",{staticClass:"focusable",attrs:{href:t.item.href?t.item.href:"#",target:t.item.target?t.item.target:"",download:t.item.download,rel:"noreferrer noopener"},on:{click:t.action}},[t.iconIsUrl?e("img",{attrs:{src:t.item.icon}}):e("span",{class:t.item.icon}),t._v(" "),t.item.text&&t.item.longtext?e("p",[e("strong",{staticClass:"menuitem-text"},[t._v("\n\t\t\t\t"+t._s(t.item.text)+"\n\t\t\t")]),e("br"),t._v(" "),e("span",{staticClass:"menuitem-text-detail"},[t._v("\n\t\t\t\t"+t._s(t.item.longtext)+"\n\t\t\t")])]):t.item.text?e("span",[t._v("\n\t\t\t"+t._s(t.item.text)+"\n\t\t")]):t.item.longtext?e("p",[t._v("\n\t\t\t"+t._s(t.item.longtext)+"\n\t\t")]):t._e()]):t.item.input?e("span",{staticClass:"menuitem",class:{active:t.item.active}},["checkbox"!==t.item.input?e("span",{class:t.item.icon}):t._e(),t._v(" "),"text"===t.item.input?e("form",{class:t.item.input,on:{submit:function(n){return n.preventDefault(),t.item.action(n)}}},[e("input",{attrs:{type:t.item.input,placeholder:t.item.text,required:""},domProps:{value:t.item.value}}),t._v(" "),e("input",{staticClass:"icon-confirm",attrs:{type:"submit",value:""}})]):["checkbox"===t.item.input?e("input",{directives:[{name:"model",rawName:"v-model",value:t.item.model,expression:"item.model"}],class:t.item.input,attrs:{id:t.key,type:"checkbox"},domProps:{checked:Array.isArray(t.item.model)?t._i(t.item.model,null)>-1:t.item.model},on:{change:[function(n){var e=t.item.model,i=n.target,o=!!i.checked;if(Array.isArray(e)){var r=t._i(e,null);i.checked?r<0&&t.$set(t.item,"model",e.concat([null])):r>-1&&t.$set(t.item,"model",e.slice(0,r).concat(e.slice(r+1)))}else t.$set(t.item,"model",o)},t.item.action]}}):"radio"===t.item.input?e("input",{directives:[{name:"model",rawName:"v-model",value:t.item.model,expression:"item.model"}],class:t.item.input,attrs:{id:t.key,type:"radio"},domProps:{checked:t._q(t.item.model,null)},on:{change:[function(n){return t.$set(t.item,"model",null)},t.item.action]}}):e("input",{directives:[{name:"model",rawName:"v-model",value:t.item.model,expression:"item.model"}],class:t.item.input,attrs:{id:t.key,type:t.item.input},domProps:{value:t.item.model},on:{change:t.item.action,input:function(n){n.target.composing||t.$set(t.item,"model",n.target.value)}}}),t._v(" "),e("label",{attrs:{for:t.key},on:{click:function(n){return n.stopPropagation(),n.preventDefault(),t.item.action(n)}}},[t._v("\n\t\t\t\t"+t._s(t.item.text)+"\n\t\t\t")])]],2):t.item.action?e("button",{staticClass:"menuitem focusable",class:{active:t.item.active},attrs:{disabled:t.item.disabled},on:{click:function(n){return n.stopPropagation(),n.preventDefault(),t.item.action(n)}}},[e("span",{class:t.item.icon}),t._v(" "),t.item.text&&t.item.longtext?e("p",[e("strong",{staticClass:"menuitem-text"},[t._v("\n\t\t\t\t"+t._s(t.item.text)+"\n\t\t\t")]),e("br")
/**
* @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/>.
*
*/n.default=A},function(t,n){},function(t,n){t.exports=i(291)},function(t,n,e){"use strict";e.r(n),e(58),e(30),e(89),e(103),e(104),e(35),e(24),e(57),e(6),e(59);var i=e(86),o=e(42),r=e(77),a=e(34),s=e(29),c=e(37),l=e.n(c),u=e(13),d=e(21),p=e(84),f=e(45),A=e(28);function h(t,n,e,i,o,r,a){try{var s=t[r](a),c=s.value}catch(t){return void e(t)}s.done?n(c):Promise.resolve(c).then(i,o)}function m(t){return function(){var n=this,e=arguments;return new Promise((function(i,o){var r=t.apply(n,e);function a(t){h(r,i,o,a,s,"next",t)}function s(t){h(r,i,o,a,s,"throw",t)}a(void 0)}))}}var g=Object(i.getBuilder)("nextcloud").persist().build();function v(t){var n=g.getItem("user-has-avatar."+t);return"string"==typeof n?Boolean(n):null}function b(t,n){t&&g.setItem("user-has-avatar."+t,n)}var C={name:"Avatar",directives:{tooltip:d.default,ClickOutside:o.directive},components:{Popover:A.a,PopoverMenu:r.default},mixins:[f.e],props:{url:{type:String,default:void 0},iconClass:{type:String,default:void 0},user:{type:String,default:void 0},showUserStatus:{type:Boolean,default:!0},showUserStatusCompact:{type:Boolean,default:!0},preloadedUserStatus:{type:Object,default:void 0},isGuest:{type:Boolean,default:!1},displayName:{type:String,default:void 0},size:{type:Number,default:32},allowPlaceholder:{type:Boolean,default:!0},disableTooltip:{type:Boolean,default:!1},disableMenu:{type:Boolean,default:!1},tooltipMessage:{type:String,default:null},isNoUser:{type:Boolean,default:!1},status:{type:String,default:null,validator:function(t){switch(t){case"positive":case"negative":case"neutral":return!0}return!1}},statusColor:{type:[Number,String],default:null,validator:function(t){return/^([a-f0-9]{3}){1,2}$/i.test(t)}},menuPosition:{type:String,default:"center"},menuContainer:{type:String,default:"body"}},data:function(){return{avatarUrlLoaded:null,avatarSrcSetLoaded:null,userDoesNotExist:!1,isAvatarLoaded:!1,isMenuLoaded:!1,contactsMenuLoading:!1,contactsMenuActions:[],contactsMenuOpenState:!1}},computed:{canDisplayUserStatus:function(){return this.showUserStatus&&this.hasStatus&&["online","away","dnd"].includes(this.userStatus.status)},showUserStatusIconOnAvatar:function(){return this.showUserStatus&&this.showUserStatusCompact&&this.hasStatus&&"dnd"!==this.userStatus.status&&this.userStatus.icon},getUserIdentifier:function(){return this.isDisplayNameDefined?this.displayName:this.isUserDefined?this.user:""},isUserDefined:function(){return void 0!==this.user},isDisplayNameDefined:function(){return void 0!==this.displayName},isUrlDefined:function(){return void 0!==this.url},hasMenu:function(){var t;return!this.disableMenu&&(this.isMenuLoaded?this.menu.length>0:!(this.user===(null===(t=Object(a.getCurrentUser)())||void 0===t?void 0:t.uid)||this.userDoesNotExist||this.url))},shouldShowPlaceholder:function(){return this.allowPlaceholder&&this.userDoesNotExist},avatarStyle:function(){var t={width:this.size+"px",height:this.size+"px",lineHeight:this.size+"px",fontSize:Math.round(.55*this.size)+"px"};if(!this.iconClass&&!this.avatarSrcSetLoaded){var n=Object(p.default)(this.getUserIdentifier);t.backgroundColor="rgb("+n.r+", "+n.g+", "+n.b+")"}return t},tooltip:function(){return!this.disableTooltip&&(this.tooltipMessage?this.tooltipMessage:this.displayName)},initials:function(){var t;if(this.shouldShowPlaceholder){var n=this.getUserIdentifier,e=n.indexOf(" ");""===n?t="?":(t=String.fromCodePoint(n.codePointAt(0)),-1!==e&&(t=t.concat(String.fromCodePoint(n.codePointAt(e+1)))))}return t.toUpperCase()},menu:function(){var t,n,e,i=this.contactsMenuActions.map((function(t){return{href:t.hyperlink,icon:t.icon,longtext:t.title}}));return this.showUserStatus&&(this.userStatus.icon||this.userStatus.message)?[{href:"#",icon:"data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><text x='0' y='14' font-size='14'>".concat((t=this.userStatus.icon,n=document.createTextNode(t),e=document.createElement("p"),e.appendChild(n),e.innerHTML),"</text></svg>"),text:"".concat(this.userStatus.message)}].concat(i):i}},watch:{url:function(){this.userDoesNotExist=!1,this.loadAvatar
/**
* @copyright Copyright (c) 2018 Julius Härtl <jus@bitgrid.net>
*
* @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/>.
*
*/n.default=S},function(t,n){t.exports=i(296)},function(t,n){t.exports=i(292)},function(t,n,e){"use strict";
/**
* @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/>.
*
*/n.a=function(t){t.mounted?Array.isArray(t.mounted)||(t.mounted=[t.mounted]):t.mounted=[],t.mounted.push((function(){this.$el.setAttribute("data-v-".concat("84c461f"),"")}))}},function(t,n,e){"use strict";e.r(n),e(15),e(92),e(25);var i=e(81),o=e.n(i),r=e(64);n.default=function(t){var n=t.toLowerCase();return null===n.match(/^([0-9a-f]{4}-?){8}$/)&&(n=o()(n)),n=n.replace(/[^0-9a-f]/g,""),Object(r.a)(6)[function(t,n){for(var e=0,i=[],o=0;o<t.length;o++)i.push(parseInt(t.charAt(o),16)%16);for(var r in i)e+=i[r];return parseInt(parseInt(e,10)%18,10)}(n)]}},function(t,n,e){"use strict";e(22),e(51),e(69),e(31),e(71),e(27),e(72),e(38),e(6),e(46),e(16),e(17),e(18),e(52),e(41),e(14);var i=e(21),o=e(33),r=e(50),a=e(12),s=e(47);function c(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,i=new Array(n);e<n;e++)i[e]=t[e];return i}function l(t,n){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);n&&(i=i.filter((function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable}))),e.push.apply(e,i)}return e}function u(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?l(Object(e),!0).forEach((function(n){d(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):l(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}function d(t,n,e){return n in t?Object.defineProperty(t,n,{value:e,enumerable:!0,configurable:!0,writable:!0}):t[n]=e,t}var p=["ActionButton","ActionCheckbox","ActionInput","ActionLink","ActionRadio","ActionRouter","ActionSeparator","ActionText","ActionTextEditable"],f={name:"Actions",directives:{tooltip:i.default},components:{Popover:s.default,VNodes:{functional:!0,render:function(t,n){return n.props.vnodes}}},props:{open:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},menuTitle:{type:String,default:null},primary:{type:Boolean,default:!1},defaultIcon:{type:String,default:"action-item__menutoggle--default-icon"},ariaLabel:{type:String,default:Object(a.b)("Actions")},placement:{type:String,default:"bottom"},boundariesElement:{type:Element,default:function(){return document.querySelector("body")}},container:{type:String,default:"body"},disabled:{type:Boolean,default:!1}},data:function(){return{actions:[],opened:this.open,focusIndex:0,randomId:"menu-"+Object(o.a)(),children:this.$children}},computed:{hasMultipleActions:function(){return this.actions.length>1},isValidSingleAction:function(){return 1===this.actions.length&&null!==this.firstActionElement},firstActionVNode:function(){return this.actions[0]},firstAction:function(){return this.children[0]?this.children[0]:{}},firstActionBinding:function(){if(this.firstActionVNode&&this.firstActionVNode.componentOptions){var t=this.firstActionVNode.componentOptions.tag;if("ActionLink"===t)return u(u({is:"a",href:this.firstAction.href,target:this.firstAction.target,"aria-label":this.firstAction.ariaLabel},this.firstAction.$attrs),this.firstAction.$props);if("ActionRouter"===t)return u(u({is:"router-link",to:this.firstAction.to,exact:this.firstAction.exact,"aria-label":this.firstAction.ariaLabel},this.firstAction.$attrs),this.firstAction.$props);if("ActionButton"===t)return u(u({is:"button","aria-label":this.firstAction.ariaLabel},this.firstAction.$attrs),this.firstAction.$props)}return null},firstActionEvent:function(){var t,n,e;return null===(t=this.firstActionVNode)||void 0===t||null===(n=t.componentOptions)||void 0===n||null===(e=n.listeners)||void 0===e?void 0:e.click},firstActionEventBinding:function(){return this.firstActionEvent?"click":null},firstActionIconSlot:function(){var t,n;return null===(t=this.firstAction)||void 0===t||null===(n=t.$slots)||void 0===n?void 0:n.icon},firstActionClass:function(){return((this.firstActionVNode&&this.firstActionVNode.data.staticClass)+" "+(this.firstActionVNode&&this.firstActionVNode.data.class)).trim()},iconSlotIsPopulated:function(){return!!this.$slots.icon}},watch:{open:function(t){t!==this.opened&&(this.opened=t)}},beforeMount:function()
/**
* @copyright Copyright (c) 2020 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/>.
*
*/n.default=A},function(t,n,e){"use strict";e(30),e(24),e(57),e(41),e(31),e(38),e(6),e(46),e(16),e(17),e(18);var i=e(108),o=e.n(i),r=(e(14),e(15),e(79),e(98),e(74)),a=e(70),s={name:"EllipsisedOption",components:{Highlight:r.default},props:{option:{type:[String,Object],required:!0,default:""},label:{type:String,default:""},search:{type:String,default:""},name:{type:String,default:""}},computed:{needsTruncate:function(){return this.name&&this.name.length>=10},split:function(){return this.name.length-Math.min(Math.floor(this.name.length/2),10)},part1:function(){return this.needsTruncate?this.name.substr(0,this.split):this.name},part2:function(){return this.needsTruncate?this.name.substr(this.split):""},highlight1:function(){return this.search?Object(a.a)(this.name,this.search):[]},highlight2:function(){var t=this;return this.highlight1.map((function(n){return{start:n.start-t.split,end:n.end-t.split}}))}}},c=e(2),l=e.n(c),u=e(96),d=(l()(u.a,{insert:"head",singleton:!1}),u.a.locals,e(3)),p=Object(d.a)(s,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"name-parts",attrs:{title:t.name}},[e("Highlight",{staticClass:"name-parts__first",attrs:{text:t.part1,search:t.search,highlight:t.highlight1}}),t._v(" "),t.part2?e("Highlight",{staticClass:"name-parts__last",attrs:{text:t.part2,search:t.search,highlight:t.highlight2}}):t._e()],1)}),[],!1,null,"f855c4b8",null).exports,f=e(61),A=e(99),h=e(21);function m(t){return(m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var g={name:"Multiselect",components:{EllipsisedOption:p,ListItemIcon:A.default,VueMultiselect:o.a},directives:{tooltip:h.default},mixins:[f.a],inheritAttrs:!1,props:{value:{default:function(){return[]}},multiple:{type:Boolean,default:!1},limit:{type:Number,default:99999},label:{type:String,default:""},trackBy:{type:String,default:""},options:{type:Array,required:!0},userSelect:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},autoLimit:{type:Boolean,default:!0},tagWidth:{type:Number,default:150,validator:function(t){return t>0}}},data:function(){return{elWidth:0}},computed:{maxOptions:function(){if(this.autoLimit&&this.elWidth>0&&0!==this.tagWidth){var t=Math.floor(this.elWidth/this.tagWidth);return t>0?t:1}return this.limit?this.limit:9999},limitString:function(){return"+".concat(this.value.length-this.maxOptions)},localValue:{get:function(){return this.trackBy&&this.options&&"object"!==m(this.value)&&this.options[this.value]?this.options[this.value]:this.value},set:function(t){this.$emit("update:value",t),this.$emit("change",t)}}},watch:{value:function(){this.updateWidth()}},mounted:function(){this.updateWidth(),window.addEventListener("resize",this.updateWidth)},beforeDestroy:function(){window.removeEventListener("resize",this.updateWidth)},methods:{getOptionLabel:function(t){var n;return String(null===(n=this.$refs.VueMultiselect)||void 0===n?void 0:n.getOptionLabel(t))},formatLimitTitle:function(t){var n=this;if(Array.isArray(t)&&t.length>0){var e=t;return"object"===m(t[0])&&(e=t.map((function(t){return t[n.label]}))),e.slice(this.maxOptions).join(", ")}return""},updateWidth:function(){this.$el&&this.$el.querySelector(".multiselect__tags-wrap")&&(this.elWidth=this.$el.querySelector(".multiselect__tags-wrap").offsetWidth-10)}}},v=e(97),b=e.n(v),C=Object(d.a)(g,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("VueMultiselect",t._g(t._b({ref:"VueMultiselect",class:[{"icon-loading-small":t.loading},t.multiple?"multiselect--multiple":"multiselect--single"],attrs:{options:t.options,limit:t.maxOptions,"close-on-select":!t.multiple,multiple:t.multiple,label:t.label,"track-by":t.trackBy,"tag-placeholder":"create"},scopedSlots:t._u([{key:"option",fn:function(n){return[t.userSelect&&!t.$scopedSlots.option?e("ListItemIcon",t._b({attrs:{title:n.option[t.label],search:n.search}},"ListItemIcon",n.option,!1)):t.$scopedSlots.option?t._t("option",null,null,n):e("
/**
* @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.a)(o.a),n.default=o.a},function(t,n){t.exports=i(303)},function(t,n){t.exports=i(426)},function(t,n,e){"use strict";e.r(n);var i=e(102);
/**
* @copyright Copyright (c) 2019 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/>.
*
*/n.default=i.a},function(t,n){},function(t,n,e){"use strict";var i=e(0),o=e.n(i),r=e(1),a=e.n(r),s=e(4),c=e.n(s),l=e(8),u=e(9),d=e(10),p=e(11),f=a()(o.a),A=c()(l.a),h=c()(u.a),m=c()(d.a),g=c()(p.a);f.push([t.i,'@font-face{font-family:"iconfont-vue-84c461f";src:url('+A+");src:url("+A+') format("embedded-opentype"),url('+h+') format("woff"),url('+m+') format("truetype"),url('+g+') format("svg")}.icon{font-style:normal;font-weight:400}.icon.arrow-left-double:before{font-family:"iconfont-vue-84c461f";content:""}.icon.arrow-left:before{font-family:"iconfont-vue-84c461f";content:""}.icon.arrow-right-double:before{font-family:"iconfont-vue-84c461f";content:""}.icon.arrow-right:before{font-family:"iconfont-vue-84c461f";content:""}.icon.breadcrumb:before{font-family:"iconfont-vue-84c461f";content:""}.icon.checkmark:before{font-family:"iconfont-vue-84c461f";content:""}.icon.close:before{font-family:"iconfont-vue-84c461f";content:""}.icon.confirm:before{font-family:"iconfont-vue-84c461f";content:""}.icon.info:before{font-family:"iconfont-vue-84c461f";content:""}.icon.menu:before{font-family:"iconfont-vue-84c461f";content:""}.icon.more:before{font-family:"iconfont-vue-84c461f";content:""}.icon.pause:before{font-family:"iconfont-vue-84c461f";content:""}.icon.play:before{font-family:"iconfont-vue-84c461f";content:""}.icon.triangle-s:before{font-family:"iconfont-vue-84c461f";content:""}.icon.user-status-away:before{font-family:"iconfont-vue-84c461f";content:""}.icon.user-status-dnd:before{font-family:"iconfont-vue-84c461f";content:""}.icon.user-status-invisible:before{font-family:"iconfont-vue-84c461f";content:""}.icon.user-status-online:before{font-family:"iconfont-vue-84c461f";content:""}.mx-icon-left:before,.mx-icon-right:before,.mx-icon-double-left:before,.mx-icon-double-right:before,.mx-icon-double-left:after,.mx-icon-double-right:after{content:\'\';position:relative;top:-1px;display:inline-block;width:10px;height:10px;vertical-align:middle;border-style:solid;border-color:currentColor;border-width:2px 0 0 2px;border-radius:1px;box-sizing:border-box;transform-origin:center;transform:rotate(-45deg) scale(0.7)}.mx-icon-double-left:after{left:-4px}.mx-icon-double-right:before{left:4px}.mx-icon-right:before,.mx-icon-double-right:before,.mx-icon-double-right:after{transform:rotate(135deg) scale(0.7)}.mx-btn{box-sizing:border-box;line-height:1;font-size:14px;font-weight:500;padding:7px 15px;margin:0;cursor:pointer;background-color:transparent;outline:none;border:1px solid rgba(0,0,0,0.1);border-radius:4px;color:#73879c;white-space:nowrap}.mx-btn:hover{border-color:#1284e7;color:#1284e7}.mx-btn-text{border:0;padding:0 4px;text-align:left;line-height:inherit}.mx-scrollbar{height:100%}.mx-scrollbar:hover .mx-scrollbar-track{opacity:1}.mx-scrollbar-wrap{height:100%;overflow-x:hidden;overflow-y:auto}.mx-scrollbar-track{position:absolute;top:2px;right:2px;bottom:2px;width:6px;z-index:1;border-radius:4px;opacity:0;transition:opacity 0.24s ease-out}.mx-scrollbar-track .mx-scrollbar-thumb{position:absolute;width:100%;height:0;cursor:pointer;border-radius:inherit;background-color:rgba(144,147,153,0.3);transition:background-color 0.3s}.mx-zoom-in-down-enter-active,.mx-zoom-in-down-leave-active{opacity:1;transform:scaleY(1);transition:transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),opacity 0.3s cubic-bezier(0.23, 1, 0.32, 1);transform-origin:center top}.mx-zoom-in-down-enter,.mx-zoom-in-down-leave-to{opacity:0;transform:scaleY(0)}.mx-datepicker{position:relative;display:inline-block;width:210px}.mx-datepicker svg{width:1em;height:1em;vertical-align:-0.15em;fill:currentColor;overflow:hidden}.mx-datepicker-range{width:320px}.mx-datepicker-inline{width:auto}.mx-input-wrapper{position:relative}.mx-input-wrapper .mx-icon-clear{display:none}.mx-input-wrapper:hover .mx-icon-clear{display:block}.mx-input-wrapper:hover .mx-icon-clear+.mx-icon-calendar{display:none}.mx-input{display:inline-block;box-sizing:border-box;width:100%;height:34px;padding:6px 30px;padding-left:10px;font-size:14px;line-height:1.4;
/**
* @copyright Copyright (c) 2019 Georg Ehrke
*
* @author Georg Ehrke <oc.list@georgehrke.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/>.
*
*/
var i={inserted:function(t){t.focus()}};n.default=i},function(t,n,e){"use strict";e.r(n),e.d(n,"directive",(function(){return r}));var i=e(48),o=e.n(i),r=function(t,n){var e;!0===(null===(e=n.value)||void 0===e?void 0:e.linkify)&&(t.innerHTML=o()(n.value.text,{defaultProtocol:"https"}))};n.default=r},function(t,n,e){"use strict";e.r(n);var i=e(83),o=(e(30),e(109)),r=e.n(o),a=e(73),s=e(110),c=e(61),l=e(12),u=e(21);
/**
* @copyright Copyright (c) 2019 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/>.
*
*/function d(t,n){var e,i,o,r=n;this.start=function(){o=!0,i=new Date,e=setTimeout(t,r)},this.pause=function(){o=!1,clearTimeout(e),r-=new Date-i},this.clear=function(){o=!1,clearTimeout(e),r=0},this.getTimeLeft=function(){return o&&(this.pause(),this.start()),r},this.getStateRunning=function(){return o},this.start()}var p={name:"Modal",components:{Actions:a.default,ActionButton:s.default},directives:{tooltip:u.default},mixins:[c.a],props:{title:{type:String,default:""},hasPrevious:{type:Boolean,default:!1},hasNext:{type:Boolean,default:!1},outTransition:{type:Boolean,default:!1},enableSlideshow:{type:Boolean,default:!1},clearViewDelay:{type:Number,default:5e3},slideshowDelay:{type:Number,default:3e3},slideshowPaused:{type:Boolean,default:!1},enableSwipe:{type:Boolean,default:!0},spreadNavigation:{type:Boolean,default:!1},size:{type:String,default:"normal",validator:function(t){return-1!==["normal","large","full"].indexOf(t)}},canClose:{type:Boolean,default:!0},dark:{type:Boolean,default:!1},container:{type:String,default:"body"}},data:function(){return{mc:null,showModal:!1,clearView:!1,clearViewTimeout:null,playing:!1,slideshowTimeout:null}},computed:{modalTransitionName:function(){return"modal-".concat(this.outTransition?"out":"in")},playPauseTitle:function(){return this.playing?Object(l.b)("Pause slideshow"):Object(l.b)("Start slideshow")}},watch:{slideshowPaused:function(t){this.slideshowTimeout&&(t?this.slideshowTimeout.pause():this.slideshowTimeout.start())}},beforeMount:function(){window.addEventListener("keydown",this.handleKeydown)},beforeDestroy:function(){window.removeEventListener("keydown",this.handleKeydown),this.mc.off("swipeleft swiperight"),this.mc.destroy()},mounted:function(){var t=this;this.showModal=!0,this.handleMouseMove(),this.mc=new r.a(this.$refs.mask),this.mc.on("swipeleft swiperight",(function(n){t.handleSwipe(n)})),"body"===this.container?document.body.insertBefore(this.$el,document.body.lastChild):document.querySelector(this.container).appendChild(this.$el)},destroyed:function(){this.$el.remove()},methods:{previous:function(t){this.hasPrevious&&(t&&this.resetSlideshow(),this.$emit("previous",t))},next:function(t){this.hasNext&&(t&&this.resetSlideshow(),this.$emit("next",t))},close:function(t){var n=this;this.canClose&&(this.showModal=!1,setTimeout((function(){n.$emit("close",t)}),300))},handleKeydown:function(t){switch(t.keyCode){case 37:this.previous(t);break;case 13:case 39:this.next(t);break;case 27:this.close(t)}},handleSwipe:function(t){this.enableSwipe&&("swipeleft"===t.type?this.next(t):"swiperight"===t.type&&this.previous(t))},handleMouseMove:function(){var t=this;this.clearViewDelay>0&&(this.clearView=!1,clearTimeout(this.clearViewTimeout),this.clearViewTimeout=setTimeout((function(){t.clearView=!0}),this.clearViewDelay))},togglePlayPause:function(){this.playing=!this.playing,this.playing?this.handleSlideshow():this.clearSlideshowTimeout()},resetSlideshow:function(){this.playing=!this.playing,this.clearSlideshowTimeout(),this.$nextTick((function(){this.togglePlayPause()}))},handleSlideshow:function(){var t=this;this.playing=!0,this.hasNext?this.slideshowTimeout=new d((function(){t.next(),t.handleSlideshow()}),this.slideshowDelay):(this.playing=!1,this.clearSlideshowTimeout())},clearSlideshowTimeout:function(){this.slideshowTimeout&&this.slideshowTimeout.clear()}}},f=e(2),A=e.n(f),h=e(119),m=(A()(h.a,{insert:"head",singleton:!1}),h.a.locals,e(3)),g=e(120),v=e.n(g),b=Object(m.a)(p,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("transition",{attrs:{name:"fade"}},[e("div",{ref:"mask",staticClass:"modal-mask",class:{"modal-mask--dark":t.dark},on:{click:t.handleMouseMove,mousemove:t.handleMouseMove,touchmove:t.handleMouseMove}},[e("transition",{attrs:{name:"fade-visibility"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:!t.clearView,expression:"!clearView"}],staticClass:"modal-header",class:{invisible:t.clearView}},[""!==t.title.trim()?e("div",{staticClass:"modal-title"},[t._v("\n\t\t\t\t\t"+t._s(t.title)+"\n\t\t\t\t")]):t._e(),t._v(" "),e("div",{staticC
/**
* @copyright Copyright (c) 2019 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.a)(C),n.default=C},function(t,n,e){"use strict";e.r(n),e(16),e(6),e(17),e(18),e(40),e(63);var i={name:"ActionLink",mixins:[e(49).a],props:{href:{type:String,default:"#",required:!0,validator:function(t){try{return new URL(t)}catch(n){return t.startsWith("#")||t.startsWith("/")}}},download:{type:String,default:null},target:{type:String,default:"_self",validator:function(t){return["_blank","_self","_parent","_top"].indexOf(t)>-1}}}},o=e(2),r=e.n(o),a=e(113),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(3)),c=e(114),l=e.n(c),u=Object(s.a)(i,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("li",{staticClass:"action"},[e("a",{staticClass:"action-link focusable",attrs:{download:t.download,href:t.href,"aria-label":t.ariaLabel,target:t.target,rel:"noreferrer noopener"},on:{click:t.onClick}},[t._t("icon",[e("span",{staticClass:"action-link__icon",class:[t.isIconUrl?"action-link__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?"url("+t.icon+")":null}})]),t._v(" "),t.title?e("p",[e("strong",{staticClass:"action-link__title"},[t._v("\n\t\t\t\t"+t._s(t.title)+"\n\t\t\t")]),t._v(" "),e("br"),t._v(" "),e("span",{staticClass:"action-link__longtext",domProps:{textContent:t._s(t.text)}})]):t.isLongText?e("p",{staticClass:"action-link__longtext",domProps:{textContent:t._s(t.text)}}):e("span",{staticClass:"action-link__text"},[t._v(t._s(t.text))]),t._v(" "),t._e()],2)])}),[],!1,null,"aee1c25a",null);"function"==typeof l.a&&l()(u);var d=u.exports;
/**
* @copyright Copyright (c) 2019 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/>.
*
*/n.default=d},function(t,n,e){"use strict";e.r(n);var i={name:"ActionRouter",mixins:[e(49).a],props:{to:{type:[String,Object],default:"",required:!0},exact:{type:Boolean,default:!1}}},o=e(2),r=e.n(o),a=e(115),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(3)),c=Object(s.a)(i,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("li",{staticClass:"action"},[e("router-link",{staticClass:"action-router focusable",attrs:{to:t.to,exact:t.exact,"aria-label":t.ariaLabel,rel:"noreferrer noopener"},nativeOn:{click:function(n){return t.onClick(n)}}},[t._t("icon",[e("span",{staticClass:"action-router__icon",class:[t.isIconUrl?"action-router__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?"url("+t.icon+")":null}})]),t._v(" "),t.title?e("p",[e("strong",{staticClass:"action-router__title"},[t._v("\n\t\t\t\t"+t._s(t.title)+"\n\t\t\t")]),t._v(" "),e("br"),t._v(" "),e("span",{staticClass:"action-router__longtext",domProps:{textContent:t._s(t.text)}})]):t.isLongText?e("p",{staticClass:"action-router__longtext",domProps:{textContent:t._s(t.text)}}):e("span",{staticClass:"action-router__text"},[t._v(t._s(t.text))]),t._v(" "),t._e()],2)],1)}),[],!1,null,"196b3c3e",null).exports;n.default=c},function(t,n,e){"use strict";e.r(n);var i={name:"Breadcrumb",components:{Actions:e(73).default},props:{title:{type:String,required:!0},to:{type:String,default:void 0},href:{type:String,default:void 0},icon:{type:String,default:""},disableDrop:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},open:{type:Boolean,default:!1}},data:function(){return{hovering:!1}},computed:{tag:function(){return this.to?"router-link":"a"}},methods:{onOpenChange:function(t){this.$emit("update:open",t)},dropped:function(t){return this.disableDrop||(this.$emit("dropped",t,this.to||this.href),this.$parent.$emit("dropped",t,this.to||this.href),this.hovering=!1),!1},dragEnter:function(t){this.disableDrop||(this.hovering=!0)},dragLeave:function(t){this.disableDrop||t.target.contains(t.relatedTarget)||this.$refs.crumb.contains(t.relatedTarget)||(this.hovering=!1)}}},o=e(2),r=e.n(o),a=e(123),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(3)),c=e(124),l=e.n(c),u=Object(s.a)(i,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{ref:"crumb",staticClass:"crumb",class:{"crumb--with-action":t.$slots.default,"crumb--hovered":t.hovering},attrs:{draggable:"false"},on:{dragstart:function(t){t.preventDefault()},drop:function(n){return n.preventDefault(),t.dropped(n)},dragover:function(t){t.preventDefault()},dragenter:t.dragEnter,dragleave:t.dragLeave}},[t.title||t.icon?e(t.tag,{tag:"element",attrs:{to:t.to,href:t.href}},[t.icon?e("span",{staticClass:"icon",class:t.icon}):e("span",[t._v(t._s(t.title))])]):t._e(),t._v(" "),e("Actions",{ref:"actions",attrs:{"force-menu":t.forceMenu,open:t.open},on:{"update:open":t.onOpenChange}},[t._t("default")],2)],1)}),[],!1,null,"38b147c2",null);"function"==typeof l.a&&l()(u);var d=u.exports;
/**
* @copyright Copyright (c) 2020 Raimund Schlüßler <raimund.schluessler@mailbox.org>
*
* @author Raimund Schlüßler <raimund.schluessler@mailbox.org>
*
* @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/>.
*
*/n.default=d},function(t,n,e){"use strict";e.r(n);var i=e(83),o=(e(30),e(135)),r={name:"DatetimePicker",components:{DatePicker:e.n(o).a},inheritAttrs:!1,props:{clearable:{type:Boolean,default:function(){return!1}},minuteStep:{type:Number,default:function(){return 10}},type:{type:String,default:"date"},format:{type:String,default:function(){var t={date:"YYYY-MM-DD",datetime:"YYYY-MM-DD H:mm:ss",year:"YYYY",month:"YYYY-MM",time:"H:mm:ss",week:"w"};return t[this.type]||t.date}},formatter:{type:Object,default:function(){return null}},value:{default:function(){return new Date}},appendToBody:{type:Boolean,default:!1},showWeekNumber:{type:Boolean,default:!1}},methods:{handleSelectYear:function(t){var n=this.$refs.datepicker.currentValue;if(n)try{var e=new Date(new Date(n).setFullYear(t));this.$refs.datepicker.selectDate(e)}catch(e){console.error("Invalid value",n,t)}},handleSelectMonth:function(t){var n=this.$refs.datepicker.currentValue;if(n)try{var e=new Date(new Date(n).setMonth(t));this.$refs.datepicker.selectDate(e)}catch(e){console.error("Invalid value",n,t)}}}},a=e(3),s=e(111),c=e.n(s),l=Object(a.a)(r,(function(){var t=this,n=t.$createElement;return(t._self._c||n)("DatePicker",t._g(t._b({ref:"datepicker",attrs:{clearable:t.clearable,"minute-step":t.minuteStep,format:t.format,formatter:t.formatter,type:t.type,value:t.value,"append-to-body":t.appendToBody,"show-week-number":t.showWeekNumber,"popup-class":{"show-week-number":t.showWeekNumber}},on:{"select-year":t.handleSelectYear,"select-month":t.handleSelectMonth,"update:value":function(n){return t.$emit("update:value",t.value)}},scopedSlots:t._u([t._l(t.$scopedSlots,(function(n,e){return{key:e,fn:function(n){return[t._t(e,null,null,n)]}}}))],null,!0)},"DatePicker",t.$attrs,!1),t.$listeners))}),[],!1,null,null,null);"function"==typeof c.a&&c()(l);var u=l.exports,d=e(2),p=e.n(d),f=e(112);p()(f.a,{insert:"head",singleton:!1}),f.a.locals,
/**
* @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.a)(u),n.default=u},function(t,n,e){"use strict";var i={name:"AppNavigationToggle",props:{open:{type:Boolean,required:!0}},methods:{toggleNavigation:function(){this.$emit("update:open",!this.open)}}},o=e(2),r=e.n(o),a=e(116),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(3)),c=Object(s.a)(i,(function(){var t=this,n=t.$createElement;return(t._self._c||n)("a",{staticClass:"app-navigation-toggle",attrs:{href:"#","aria-expanded":t.open?"true":"false","aria-controls":"app-navigation-vue"},on:{click:function(n){return n.preventDefault(),t.toggleNavigation(n)},keydown:function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"space",32,n.key,[" ","Spacebar"])||n.ctrlKey||n.shiftKey||n.altKey||n.metaKey?null:(n.preventDefault(),t.toggleNavigation(n))}}})}),[],!1,null,"6069ba79",null);n.a=c.exports},function(t,n){t.exports=i(439)},function(t,n,e){"use strict";var i=e(0),o=e.n(i),r=e(1),a=e.n(r)()(o.a);a.push([t.i,"li.active[data-v-395fa6ac]{background-color:var(--color-background-hover)}.action--disabled[data-v-395fa6ac]{pointer-events:none;opacity:.5}.action--disabled[data-v-395fa6ac]:hover,.action--disabled[data-v-395fa6ac]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-395fa6ac]{opacity:1 !important}.action-checkbox[data-v-395fa6ac]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:normal;line-height:44px}.action-checkbox__checkbox[data-v-395fa6ac]{position:absolute;top:auto;left:-10000px;overflow:hidden;width:1px;height:1px}.action-checkbox__checkbox:focus+.action-checkbox__label[data-v-395fa6ac]{opacity:1}.action-checkbox__label[data-v-395fa6ac]{display:flex;align-items:center;width:100%;padding:0 !important;padding-right:14px !important;opacity:.7}.action-checkbox__label[data-v-395fa6ac]::before{margin:0 14px 0 !important}.action-checkbox--disabled[data-v-395fa6ac],.action-checkbox--disabled .action-checkbox__label[data-v-395fa6ac]{cursor:pointer}.action-checkbox:not(.action-checkbox--disabled):hover .action-checkbox__label[data-v-395fa6ac],.action-checkbox:not(.action-checkbox--disabled):focus .action-checkbox__label[data-v-395fa6ac]{opacity:1}\n","",{version:3,sources:["webpack://./../../assets/action.scss","webpack://./../../assets/variables.scss","webpack://./ActionCheckbox.vue"],names:[],mappings:"AAwBC,2BAEE,8CAA+C,CAC/C,mCAMD,mBAAoB,CACpB,UCQmB,CDVpB,kFAIE,cAAe,CACf,UCKkB,CDVpB,qCAQE,oBAAqB,CEiHxB,kCACC,YAAa,CACb,sBAAuB,CAEvB,UAAW,CACX,WAAY,CACZ,QAAS,CACT,SAAU,CAEV,cAAe,CACf,kBAAmB,CAEnB,4BAA6B,CAC7B,QAAS,CACT,eAAgB,CAChB,4BAA6B,CAC7B,eAAgB,CAEhB,kBAAmB,CACnB,gBDnJoB,CCsJpB,4CACC,iBAAkB,CAClB,QAAS,CACT,aAAc,CAEd,eAAgB,CAEhB,SAAU,CACV,UAAW,CARX,0EAUC,SD7Ia,CC8Ib,yCAID,YAAa,CACb,kBAAmB,CAEnB,UAAW,CACX,oBAAqB,CACrB,6BAAsC,CAEtC,UD1JiB,CCkJjB,iDAYC,0BAA2B,CAC3B,gHAMA,cAAe,CAvDlB,gMA8DG,SD3Ka",sourcesContent:["/**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n * @author Marco Ambrosini <marcoambrosini@pm.me>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */\n\n@mixin action-active {\n\tli {\n\t\t&.active {\n\t\t\tbackground-color: var(--color-background-hover);\n\t\t}\n\t}\n}\n\n@mixin action--disabled {\n\t.action--disabled {\n\t\tpointer-events: none;\n\
/**
* @copyright Copyright (c) 2020 Greta Doci <gretadoci@gmail.com>
*
* @author 2020 Greta Doci <gretadoci@gmail.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/>.
*
*/n.default=i.a},function(t,n,e){"use strict";e.r(n);var i=e(73),o=e(127),r=e(128),a=e(21),s=(e(22),e(221),e(51),e(93),e(14),e(24),e(5)),c=e.n(s),l=function(t){return t&&"string"==typeof t&&""!==t.trim()},u=function(t){return l(t)&&-1===t.indexOf(" ")},d={name:"AppSidebarTabs",props:{active:{type:String,default:""}},data:function(){return{tabs:[],activeTab:"",children:[]}},computed:{hasMultipleTabs:function(){return this.tabs.length>1},currentTabIndex:function(){var t=this;return this.tabs.findIndex((function(n){return n.id===t.activeTab}))}},watch:{active:function(t){t!==this.activeTab&&this.updateActive()},children:function(){this.updateTabs()}},mounted:function(){this.updateTabs(),this.children=this.$children},methods:{setActive:function(t){this.activeTab=t,this.$emit("update:active",this.activeTab)},focusPreviousTab:function(){this.currentTabIndex>0&&this.setActive(this.tabs[this.currentTabIndex-1].id),this.focusActiveTab()},focusNextTab:function(){this.currentTabIndex<this.tabs.length-1&&this.setActive(this.tabs[this.currentTabIndex+1].id),this.focusActiveTab()},focusFirstTab:function(){this.setActive(this.tabs[0].id),this.focusActiveTab()},focusLastTab:function(){this.setActive(this.tabs[this.tabs.length-1].id),this.focusActiveTab()},focusActiveTab:function(){this.$el.querySelector("#"+this.activeTab).focus()},focusActiveTabContent:function(){this.$el.querySelector("#tab-"+this.activeTab).focus()},updateActive:function(){var t=this;this.activeTab=this.active&&-1!==this.tabs.findIndex((function(n){return n.id===t.active}))?this.active:this.tabs.length>0?this.tabs[0].id:""},updateTabs:function(){if(this.$slots.default){var t=this.$slots.default.filter((function(t){return t.tag||t.text.trim()})),n=[],e=t.reduce((function(t,e){var i=e.componentInstance;return l(null==i?void 0:i.name)&&u(null==i?void 0:i.id)&&u(null==i?void 0:i.icon)?t.push(i):n.push(e),t}),[]);0!==e.length&&e.length!==t.length&&(c.a.util.warn("Mixing tabs and non-tab-content is not possible."),n.map((function(t){return console.debug("Ignoring invalid tab",t)}))),this.tabs=e.sort((function(t,n){var e=t.order||0,i=n.order||0;return e===i?OC.Util.naturalSortCompare(t.name,n.name):e-i})),this.tabs.length>0&&this.updateActive()}else this.tabs=[]}}},p=e(2),f=e.n(p),A=e(165),h=(f()(A.a,{insert:"head",singleton:!1}),A.a.locals,e(3)),m=Object(h.a)(d,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"app-sidebar-tabs"},[t.hasMultipleTabs?e("nav",{staticClass:"app-sidebar-tabs__nav",on:{keydown:[function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"left",37,n.key,["Left","ArrowLeft"])||"button"in n&&0!==n.button||n.ctrlKey||n.shiftKey||n.altKey||n.metaKey?null:(n.preventDefault(),t.focusPreviousTab(n))},function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"right",39,n.key,["Right","ArrowRight"])||"button"in n&&2!==n.button||n.ctrlKey||n.shiftKey||n.altKey||n.metaKey?null:(n.preventDefault(),t.focusNextTab(n))},function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"tab",9,n.key,"Tab")||n.ctrlKey||n.shiftKey||n.altKey||n.metaKey?null:(n.preventDefault(),t.focusActiveTabContent(n))},function(n){return n.type.indexOf("key")||33===n.keyCode?n.ctrlKey||n.shiftKey||n.altKey||n.metaKey?null:(n.preventDefault(),t.focusFirstTab(n)):null},function(n){return n.type.indexOf("key")||34===n.keyCode?n.ctrlKey||n.shiftKey||n.altKey||n.metaKey?null:(n.preventDefault(),t.focusLastTab(n)):null}]}},[e("ul",t._l(t.tabs,(function(n){return e("li",{key:n.id,staticClass:"app-sidebar-tabs__tab"},[e("a",{class:{active:t.activeTab===n.id},attrs:{id:n.id,"aria-controls":"tab-"+n.id,"aria-selected":t.activeTab===n.id,"data-id":n.id,href:"#tab-"+n.id,tabindex:t.activeTab===n.id?null:-1,role:"tab"},on:{click:function(e){return e.preventDefault(),t.setActive(n.id)}}},[e("span",{staticClass:"app-sidebar-tabs__tab-icon",class:n.icon}),t._v("\n\t\t\t\t\t"+t._s(n.name)+"\n\t\t\t\t")])])})),0)]):t._e(),t._v(" "),e("div",{staticClass:"app-sidebar-tabs__content",class:{"app-sidebar-tabs__content--multiple":t.hasMultipleTabs}},[t._t("default")],2)])}),[],
/*
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @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/>.
*/n.default=B},function(t,n,e){"use strict";e.r(n),e(58),e(30),e(35),e(22),e(15),e(92),e(187),e(185),e(63),e(6),e(59);var i=e(189),o=e.n(i),r=e(105),a=e.n(r),s=e(190),c=e.n(s),l=e(12),u=e(13),d={name:"AutoCompleteResult",props:{label:{type:String,required:!0},subline:{type:String,default:null},id:{type:String,default:null},icon:{type:String,required:!0},source:{type:String,required:!0},status:{type:[Object,Array],default:function(){return{}}}},computed:{avatarUrl:function(){return this.id&&"users"===this.source?this.getAvatarUrl(this.id,44):null},haveStatus:function(){var t,n;return(null===(t=this.status)||void 0===t?void 0:t.icon)||(null===(n=this.status)||void 0===n?void 0:n.status)}},methods:{getAvatarUrl:function(t,n){return Object(u.generateUrl)("/avatar/{user}/{size}",{user:t,size:n})}}},p=e(2),f=e.n(p),A=e(177),h=(f()(A.a,{insert:"head",singleton:!1}),A.a.locals,e(3)),m=Object(h.a)(d,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"autocomplete-result"},[e("div",{staticClass:"autocomplete-result__icon",class:[t.icon,"autocomplete-result__icon--"+(t.avatarUrl?"with-avatar":"")],style:t.avatarUrl?{backgroundImage:"url("+t.avatarUrl+")"}:null},[t.haveStatus?e("div",{staticClass:"autocomplete-result__status",class:["autocomplete-result__status--"+(t.status&&t.status.icon?"icon":t.status.status)]},[t._v("\n\t\t\t"+t._s(t.status&&t.status.icon||"")+"\n\t\t")]):t._e()]),t._v(" "),e("span",{staticClass:"autocomplete-result__content"},[e("span",{staticClass:"autocomplete-result__title"},[t._v("\n\t\t\t"+t._s(t.label)+"\n\t\t")]),t._v(" "),t.subline?e("span",{staticClass:"autocomplete-result__subline"},[t._v("\n\t\t\t"+t._s(t.subline)+"\n\t\t")]):t._e()])])}),[],!1,null,"9f912582",null).exports;function g(t,n,e,i,o,r,a){try{var s=t[r](a),c=s.value}catch(t){return void e(t)}s.done?n(c):Promise.resolve(c).then(i,o)}var v={name:"RichContenteditable",mixins:[e(60).default],props:{value:{type:String,default:"",required:!0},placeholder:{type:String,default:Object(l.b)("Write message, @ to mention someone ")},autoComplete:{type:Function,required:!0},menuContainer:{type:Element,default:function(){return document.body}},multiline:{type:Boolean,default:!1},contenteditable:{type:Boolean,default:!0},maxlength:{type:Number,default:null}},data:function(){var t=this;return{tribute:null,options:{fillAttr:"id",lookup:function(t){return"".concat(t.id," ").concat(t.label)},menuContainer:this.menuContainer,menuItemTemplate:function(n){return t.renderComponentHtml(n.original,m)},noMatchTemplate:function(){return'<span class="hidden"></span>'},selectTemplate:function(n){var e;return t.genSelectTemplate(null==n||null===(e=n.original)||void 0===e?void 0:e.id)},values:this.debouncedAutoComplete},localValue:this.value}},computed:{isEmptyValue:function(){return!this.localValue||this.localValue&&""===this.localValue.trim()},isFF:function(){return!!navigator.userAgent.match(/firefox/i)},isOverMaxlength:function(){return!(this.isEmptyValue||!this.maxlength)&&c()(this.localValue)>this.maxlength},tooltip:function(){return this.isOverMaxlength?{content:Object(l.b)("Message limit of {count} characters reached",{count:this.maxlength}),show:!0,trigger:"manual"}:null}},watch:{value:function(){var t=this.$refs.contenteditable.innerHTML;this.value.trim()!==this.parseContent(t).trim()&&this.updateContent(this.value)}},mounted:function(){this.tribute=new o.a(this.options),this.tribute.attach(this.$el),this.updateContent(this.value),this.$refs.contenteditable.contentEditable=this.contenteditable},beforeDestroy:function(){this.tribute&&this.tribute.detach(this.$el)},methods:{onInput:function(t){this.updateValue(t.target.innerHTML)},onPaste:function(t){t.preventDefault();var n=t.clipboardData;if(this.$emit("paste",t),0===n.files.length&&Object.values(n.items).find((function(t){return null==t?void 0:t.type.startsWith("text")}))){var e=n.getData("text"),i=window.getSelection();i.rangeCount||this.updateValue(e);var o=this.parseContent(e),r=i.getRangeAt(0);i.deleteFromDocument(),r.insertNode(document.createTextNode(o));var a=doc
/**
* @copyright Copyright (c) 2020 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/>.
*
*/n.default=k},function(t,n,e){"use strict";e.r(n);var i=e(42),o=e(85),r=e(102),a={name:"AppNavigationIconCollapsible",props:{open:{type:Boolean,default:!0}},methods:{onClick:function(t){this.$emit("click",t)}}},s=e(2),c=e.n(s),l=e(154),u=(c()(l.a,{insert:"head",singleton:!1}),l.a.locals,e(3)),d=Object(u.a)(a,(function(){var t=this.$createElement;return(this._self._c||t)("button",{staticClass:"icon-collapse",class:{"icon-collapse--rotated":this.open},on:{click:this.onClick}})}),[],!1,null,"4e54d078",null).exports,p=e(36),f=e(126),A={name:"AppNavigationItem",components:{Actions:o.a,ActionButton:r.a,AppNavigationIconCollapsible:d,InputConfirmCancel:f.a},directives:{ClickOutside:i.directive},mixins:[p.default],props:{title:{type:String,required:!0},icon:{type:String,default:""},loading:{type:Boolean,default:!1},to:{type:[String,Object],default:""},exact:{type:Boolean,default:!1},allowCollapse:{type:Boolean,default:!1},editable:{type:Boolean,default:!1},editLabel:{type:String,default:""},editPlaceholder:{type:String,default:""},pinned:{type:Boolean,default:!1},undo:{type:Boolean,default:!1},open:{type:Boolean,default:!1},menuOpen:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},menuIcon:{type:String,default:void 0},menuPlacement:{type:String,default:"bottom"}},data:function(){return{editingValue:"",opened:this.open,editingActive:!1}},computed:{collapsible:function(){return this.allowCollapse&&!!this.$slots.default},isIconShown:function(){return!this.collapsible||this.collapsible&&!this.isMobile},canHaveChildren:function(){return"AppNavigationItem"!==this.$parent.$options._componentTag},hasChildren:function(){return!!this.$slots.default},hasUtils:function(){return!this.editing&&!!(this.$slots.actions||this.$slots.counter||this.editable||this.undo)},navElement:function(){return this.to?{is:"router-link",tag:"li",to:this.to,exact:this.exact}:{is:"li"}},isActive:function(){return this.to&&this.$route===this.to}},watch:{open:function(t){this.opened=t}},methods:{onMenuToggle:function(t){this.$emit("update:menuOpen",t)},toggleCollapse:function(){this.opened=!this.opened,this.$emit("update:open",this.opened)},onClick:function(t){this.$emit("click",t)},handleEdit:function(){var t=this;this.editingValue=this.title,this.editingActive=!0,this.onMenuToggle(!1),this.$nextTick((function(){t.$refs.editingInput.focusInput()}))},cancelEditing:function(){this.editingActive=!1},handleEditingDone:function(){this.$emit("update:title",this.editingValue),this.editingValue="",this.editingActive=!1},handleUndo:function(){this.$emit("undo")}}},h=e(155),m=(c()(h.a,{insert:"head",singleton:!1}),h.a.locals,e(156)),g=e.n(m),v=Object(u.a)(A,(function(){var t,n=this,e=n.$createElement,i=n._self._c||e;return i("nav-element",n._b({staticClass:"app-navigation-entry",class:{"app-navigation-entry--no-icon":!n.isIconShown,"app-navigation-entry--opened":n.opened,"app-navigation-entry--pinned":n.pinned,"app-navigation-entry--editing":n.editingActive,"app-navigation-entry--deleted":n.undo,"app-navigation-entry--collapsible":n.collapsible,active:n.isActive}},"nav-element",n.navElement,!1),[n.undo?n._e():i("a",{staticClass:"app-navigation-entry-link",attrs:{href:"#"},on:{click:n.onClick}},[i("div",{staticClass:"app-navigation-entry-icon",class:(t={"icon-loading-small":n.loading},t[n.icon]=n.icon&&n.isIconShown,t)},[n.loading?n._e():n._t("icon")],2),n._v(" "),n.editingActive?n._e():i("span",{staticClass:"app-navigation-entry__title",attrs:{title:n.title}},[n._v("\n\t\t\t"+n._s(n.title)+"\n\t\t")]),n._v(" "),n.editingActive?i("div",{staticClass:"editingContainer"},[i("InputConfirmCancel",{ref:"editingInput",attrs:{placeholder:""!==n.editPlaceholder?n.editPlaceholder:n.title},on:{cancel:n.cancelEditing,confirm:n.handleEditingDone},model:{value:n.editingValue,callback:function(t){n.editingValue=t},expression:"editingValue"}})],1):n._e()]),n._v(" "),n.collapsible?i("AppNavigationIconCollapsible",{attrs:{open:n.opened},on:{click:function(t){return t.preventDefault(),t.stopPropagation(),n.toggleCollapse(t)}}}):n._e(),n._v(" "),n.undo?i("div",{staticClass:"app-
/**
* @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/>.
*
*/n.default=b},function(t,n,e){"use strict";e.r(n),e(22),e(30);var i=e(39),o=e(33),r={name:"ActionCheckbox",mixins:[i.a],props:{id:{type:String,default:function(){return"action-"+Object(o.a)()},validator:function(t){return""!==t.trim()}},checked:{type:Boolean,default:!1},value:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1}},computed:{isFocusable:function(){return!this.disabled}},methods:{checkInput:function(t){this.$refs.label.click()},onChange:function(t){this.$emit("update:checked",this.$refs.checkbox.checked),this.$emit("change",t),this.$refs.checkbox.checked?this.$emit("check"):this.$emit("uncheck")}}},a=e(2),s=e.n(a),c=e(136),l=(s()(c.a,{insert:"head",singleton:!1}),c.a.locals,e(3)),u=e(137),d=e.n(u),p=Object(l.a)(r,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("li",{staticClass:"action",class:{"action--disabled":t.disabled}},[e("span",{staticClass:"action-checkbox"},[e("input",{ref:"checkbox",staticClass:"checkbox action-checkbox__checkbox",class:{focusable:t.isFocusable},attrs:{id:t.id,disabled:t.disabled,type:"checkbox"},domProps:{checked:t.checked,value:t.value},on:{keydown:function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"enter",13,n.key,"Enter")||n.ctrlKey||n.shiftKey||n.altKey||n.metaKey?null:(n.preventDefault(),t.checkInput(n))},change:t.onChange}}),t._v(" "),e("label",{ref:"label",staticClass:"action-checkbox__label",attrs:{for:t.id}},[t._v(t._s(t.text))]),t._v(" "),t._e()],2)])}),[],!1,null,"395fa6ac",null);"function"==typeof d.a&&d()(p);var f=p.exports;
/**
* @copyright Copyright (c) 2019 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/>.
*
*/n.default=f},function(t,n,e){"use strict";e.r(n),e(22),e(30),e(16),e(6),e(17),e(18),e(40);var i=e(39),o=e(33),r=e(133),a=e(107),s={name:"ActionInput",components:{DatetimePicker:r.default,Multiselect:a.default},mixins:[i.a],props:{id:{type:String,default:function(){return"action-"+Object(o.a)()},validator:function(t){return""!==t.trim()}},icon:{type:String,default:"",required:!0},type:{type:String,default:"text",validator:function(t){return["date","datetime-local","month","multiselect","number","password","search","tel","text","time","url","week","color","email"].indexOf(t)>-1}},value:{type:[String,Date,Number],default:""},disabled:{type:Boolean,default:!1}},computed:{isIconUrl:function(){try{return new URL(this.icon)}catch(t){return!1}},isMultiselectType:function(){return"multiselect"===this.type},isDatePickerType:function(){switch(this.type){case"date":case"month":case"time":return this.type;case"datetime-local":return"datetime"}return!1},isFocusable:function(){return!this.disabled}},methods:{onLeave:function(){this.$refs.datetimepicker&&this.$refs.datetimepicker.$refs.datepicker&&this.$refs.datetimepicker.$refs.datepicker.closePopup()},onInput:function(t){this.$emit("input",t),this.$emit("update:value",t.target?t.target.value:t)},onSubmit:function(t){if(t.preventDefault(),t.stopPropagation(),this.disabled)return!1;this.$emit("submit",t)},onChange:function(t){this.$emit("change",t)}}},c=e(2),l=e.n(c),u=e(138),d=(l()(u.a,{insert:"head",singleton:!1}),u.a.locals,e(3)),p=e(139),f=e.n(p),A=Object(d.a)(s,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("li",{staticClass:"action",class:{"action--disabled":t.disabled}},[e("span",{staticClass:"action-input",class:{"action-input--picker":t.isDatePickerType,"action-input-picker--disabled":t.disabled},on:{mouseleave:t.onLeave}},[t._t("icon",[e("span",{staticClass:"action-input__icon",class:[t.isIconUrl?"action-input__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?"url("+t.icon+")":null}})]),t._v(" "),e("form",{ref:"form",staticClass:"action-input__form",attrs:{disabled:t.disabled},on:{submit:function(n){return n.preventDefault(),t.onSubmit(n)}}},[t.isDatePickerType?e("DatetimePicker",t._b({ref:"datetimepicker",staticClass:"action-input__picker",attrs:{value:t.value,placeholder:t.text,disabled:t.disabled,type:t.isDatePickerType,"input-class":["mx-input",{focusable:t.isFocusable}]},on:{input:t.onInput,change:t.onChange}},"DatetimePicker",t.$attrs,!1)):t.isMultiselectType?e("Multiselect",t._g(t._b({staticClass:"action-input__multi",class:{focusable:t.isFocusable},attrs:{value:t.value,placeholder:t.text,disabled:t.disabled}},"Multiselect",t.$attrs,!1),t.$listeners)):[e("input",{staticClass:"action-input__submit",attrs:{id:t.id,type:"submit"}}),t._v(" "),e("input",t._b({staticClass:"action-input__input",class:{focusable:t.isFocusable},attrs:{type:t.type,placeholder:t.text,disabled:t.disabled},domProps:{value:t.value},on:{input:t.onInput,change:t.onChange}},"input",t.$attrs,!1)),t._v(" "),e("label",{directives:[{name:"show",rawName:"v-show",value:!t.disabled,expression:"!disabled"}],staticClass:"action-input__label",attrs:{for:t.id}})]],2)],2)])}),[],!1,null,"46fb3421",null);"function"==typeof f.a&&f()(A);var h=A.exports;
/**
* @copyright Copyright (c) 2019 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/>.
*
*/n.default=h},function(t,n,e){"use strict";e.r(n),e(22),e(30);var i=e(39),o=e(33),r={name:"ActionRadio",mixins:[i.a],props:{id:{type:String,default:function(){return"action-"+Object(o.a)()},validator:function(t){return""!==t.trim()}},checked:{type:Boolean,default:!1},name:{type:String,required:!0},value:{type:[String,Number],default:""},disabled:{type:Boolean,default:!1}},computed:{isFocusable:function(){return!this.disabled}},methods:{toggleInput:function(t){this.$refs.label.click()},onChange:function(t){this.$emit("update:checked",this.$refs.radio.checked),this.$emit("change",t)}}},a=e(2),s=e.n(a),c=e(140),l=(s()(c.a,{insert:"head",singleton:!1}),c.a.locals,e(3)),u=e(141),d=e.n(u),p=Object(l.a)(r,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("li",{staticClass:"action",class:{"action--disabled":t.disabled}},[e("span",{staticClass:"action-radio"},[e("input",{ref:"radio",staticClass:"radio action-radio__radio",class:{focusable:t.isFocusable},attrs:{id:t.id,disabled:t.disabled,name:t.name,type:"radio"},domProps:{checked:t.checked,value:t.value},on:{keydown:function(n){return!n.type.indexOf("key")&&t._k(n.keyCode,"enter",13,n.key,"Enter")||n.ctrlKey||n.shiftKey||n.altKey||n.metaKey?null:(n.preventDefault(),t.toggleInput(n))},change:t.onChange}}),t._v(" "),e("label",{ref:"label",staticClass:"action-radio__label",attrs:{for:t.id}},[t._v(t._s(t.text))]),t._v(" "),t._e()],2)])}),[],!1,null,"047cd0d4",null);"function"==typeof d.a&&d()(p);var f=p.exports;
/**
* @copyright Copyright (c) 2019 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/>.
*
*/n.default=f},function(t,n,e){"use strict";e.r(n);var i=e(2),o=e.n(i),r=e(142),a=(o()(r.a,{insert:"head",singleton:!1}),r.a.locals,e(3)),s=Object(a.a)({name:"ActionSeparator"},(function(){var t=this.$createElement;return(this._self._c||t)("li",{staticClass:"action action-separator action--disabled"})}),[],!1,null,"5339ba06",null).exports;n.default=s},function(t,n,e){"use strict";e.r(n);var i={name:"ActionText",mixins:[e(49).a]},o=e(2),r=e.n(o),a=e(143),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(3)),c=Object(s.a)(i,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("li",{staticClass:"action"},[e("span",{staticClass:"action-text",on:{click:t.onClick}},[t._t("icon",[""!==t.icon?e("span",{staticClass:"action-text__icon",class:[t.isIconUrl?"action-text__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?"url("+t.icon+")":null}}):t._e()]),t._v(" "),t.title?e("p",[e("strong",{staticClass:"action-text__title"},[t._v("\n\t\t\t\t"+t._s(t.title)+"\n\t\t\t")]),t._v(" "),e("br"),t._v(" "),e("span",{staticClass:"action-text__longtext",domProps:{textContent:t._s(t.text)}})]):t.isLongText?e("p",{staticClass:"action-text__longtext",domProps:{textContent:t._s(t.text)}}):e("span",{staticClass:"action-text__text"},[t._v(t._s(t.text))]),t._v(" "),t._e()],2)])}),[],!1,null,"90adea72",null).exports;n.default=c},function(t,n,e){"use strict";e.r(n),e(22);var i=e(49),o=e(33),r={name:"ActionTextEditable",mixins:[i.a],props:{id:{type:String,default:function(){return"action-"+Object(o.a)()},validator:function(t){return""!==t.trim()}},disabled:{type:Boolean,default:!1},value:{type:String,default:""}},computed:{isFocusable:function(){return!this.disabled}},methods:{onInput:function(t){this.$emit("input",t),this.$emit("update:value",t.target.value)},onSubmit:function(t){if(t.preventDefault(),t.stopPropagation(),this.disabled)return!1;this.$emit("submit",t)}}},a=e(2),s=e.n(a),c=e(144),l=(s()(c.a,{insert:"head",singleton:!1}),c.a.locals,e(3)),u=e(145),d=e.n(u),p=Object(l.a)(r,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("li",{staticClass:"action",class:{"action--disabled":t.disabled}},[e("span",{staticClass:"action-text-editable",on:{click:t.onClick}},[e("span",{staticClass:"action-text-editable__icon",class:[t.isIconUrl?"action-text-editable__icon--url":t.icon],style:{backgroundImage:t.isIconUrl?"url("+t.icon+")":null}}),t._v(" "),e("form",{ref:"form",staticClass:"action-text-editable__form",attrs:{disabled:t.disabled},on:{submit:function(n){return n.preventDefault(),t.onSubmit(n)}}},[e("input",{staticClass:"action-text-editable__submit",attrs:{id:t.id,type:"submit"}}),t._v(" "),t.title?e("strong",{staticClass:"action-text__title"},[t._v("\n\t\t\t\t"+t._s(t.title)+"\n\t\t\t")]):t._e(),t._v(" "),e("textarea",t._b({class:["action-text-editable__textarea",{focusable:t.isFocusable}],attrs:{disabled:t.disabled},domProps:{value:t.value},on:{input:t.onInput}},"textarea",t.$attrs,!1)),t._v(" "),e("label",{directives:[{name:"show",rawName:"v-show",value:!t.disabled,expression:"!disabled"}],staticClass:"action-text-editable__label",attrs:{for:t.id}})])])])}),[],!1,null,"a3150afa",null);"function"==typeof d.a&&d()(p);var f=p.exports;
/**
* @copyright Copyright (c) 2019 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/>.
*
*/n.default=f},function(t,n,e){"use strict";e.r(n);var i=e(109),o=e.n(i),r=e(29),a={name:"AppContent",props:{allowSwipeNavigation:{type:Boolean,default:!0}},mounted:function(){this.allowSwipeNavigation&&(this.mc=new o.a(this.$el,{cssProps:{userSelect:"text"}}),this.mc.on("swipeleft swiperight",this.handleSwipe))},beforeDestroy:function(){this.mc.off("swipeleft swiperight",this.handleSwipe)},methods:{handleSwipe:function(t){var n=t.srcEvent.pageX-t.deltaX,e=Math.abs(t.deltaX)>70;e&&n<40?Object(r.emit)("toggle-navigation",{open:!0}):e&&n<340&&Object(r.emit)("toggle-navigation",{open:!1})}}},s=e(2),c=e.n(s),l=e(146),u=(c()(l.a,{insert:"head",singleton:!1}),l.a.locals,e(3)),d=Object(u.a)(a,(function(){var t=this.$createElement;return(this._self._c||t)("main",{staticClass:"app-content no-snapper",attrs:{id:"app-content-vue"}},[this._t("default")],2)}),[],!1,null,"2c9fa664",null).exports;n.default=d},function(t,n,e){"use strict";e.r(n);var i=e(29),o=e(134),r=e(36),a={name:"AppNavigation",components:{AppNavigationToggle:o.a},mixins:[r.default],data:function(){return{open:!0}},watch:{isMobile:function(){this.open=!this.isMobile}},mounted:function(){Object(i.subscribe)("toggle-navigation",this.toggleNavigationByEventBus),Object(i.emit)("navigation-toggled",{open:this.open})},unmounted:function(){this.mc.off("swipeleft swiperight"),this.mc.destroy(),Object(i.unsubscribe)("toggle-navigation",this.toggleNavigationByEventBus)},methods:{toggleNavigation:function(t){var n=this;this.open=void 0===t?!this.open:t;var e=getComputedStyle(document.body),o=parseInt(e.getPropertyValue("--animation-quick"))||100;setTimeout((function(){Object(i.emit)("navigation-toggled",{open:n.open})}),1.5*o)},toggleNavigationByEventBus:function(t){var n=t.open;this.toggleNavigation(n)}}},s=e(2),c=e.n(s),l=e(147),u=(c()(l.a,{insert:"head",singleton:!1}),l.a.locals,e(3)),d=e(148),p=e.n(d),f=Object(u.a)(a,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"app-navigation",class:{"app-navigation--close":!t.open},attrs:{id:"app-navigation-vue",role:"navigation"}},[e("AppNavigationToggle",{attrs:{open:t.open},on:{"update:open":t.toggleNavigation}}),t._v(" "),t._t("default"),t._v(" "),e("ul",{staticClass:"app-navigation__list"},[t._t("list")],2),t._v(" "),t._t("footer")],2)}),[],!1,null,"9f64425c",null);"function"==typeof p.a&&p()(f);var A=f.exports;
/**
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @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/>.
*/n.default=A},function(t,n,e){"use strict";e.r(n);var i={name:"AppNavigationCaption",props:{title:{type:String,required:!0}}},o=e(2),r=e.n(o),a=e(149),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(3)),c=Object(s.a)(i,(function(){var t=this.$createElement;return(this._self._c||t)("li",{staticClass:"app-navigation-caption"},[this._v("\n\t"+this._s(this.title)+"\n")])}),[],!1,null,"46add67c",null).exports;n.default=c},function(t,n,e){"use strict";e.r(n);var i={name:"AppNavigationCounter",props:{highlighted:{type:Boolean,default:!1}}},o=e(2),r=e.n(o),a=e(150),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(3)),c=e(151),l=e.n(c),u=Object(s.a)(i,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"app-navigation-entry__counter",class:{"app-navigation-entry__counter--highlighted":this.highlighted}},[this._t("default")],2)}),[],!1,null,"794921ed",null);"function"==typeof l.a&&l()(u);var d=u.exports;
/**
* @copyright Copyright (c) 2019 Marco Ambrosini <marcoambrosini@pm.me>
*
* @author Marco Ambrosini <marcoambrosini@pm.me>
*
* @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/>.
*
*/n.default=d},function(t,n,e){"use strict";e.r(n),e(63);var i={name:"AppNavigationIconBullet",props:{color:{type:String,required:!0,validator:function(t){return/^#?([0-9A-F]{3}){1,2}$/i.test(t)}}},computed:{formattedColor:function(){return this.color.startsWith("#")?this.color:"#"+this.color}},methods:{onClick:function(t){this.$emit("click",t)}}},o=e(2),r=e.n(o),a=e(152),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(3)),c=e(153),l=e.n(c),u=Object(s.a)(i,(function(){var t=this.$createElement,n=this._self._c||t;return n("div",{staticClass:"app-navigation-entry__icon-bullet",on:{click:this.onClick}},[n("div",{style:{backgroundColor:this.formattedColor}})])}),[],!1,null,"8f9e955c",null);"function"==typeof l.a&&l()(u);var d=u.exports;
/**
* @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/>.
*
*/n.default=d},function(t,n,e){"use strict";e.r(n);var i={props:{buttonId:{type:String,required:!1,default:""},buttonClass:{type:[String,Array,Object],required:!1,default:""},disabled:{type:Boolean,required:!1,default:!1},text:{type:String,required:!0}}},o=e(2),r=e.n(o),a=e(157),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(3)),c=Object(s.a)(i,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"app-navigation-new"},[e("button",{class:t.buttonClass,attrs:{id:t.buttonId,type:"button",disabled:t.disabled},on:{click:function(n){return t.$emit("click")}}},[t._v("\n\t\t"+t._s(t.text)+"\n\t")])])}),[],!1,null,"ecee326e",null).exports;n.default=c},function(t,n,e){"use strict";e.r(n);var i=e(42),o=e(36),r={name:"AppNavigationNewItem",components:{InputConfirmCancel:e(126).a},directives:{ClickOutside:i.directive},mixins:[o.default],props:{title:{type:String,required:!0},icon:{type:String,default:""},loading:{type:Boolean,default:!1},editLabel:{type:String,default:""},editPlaceholder:{type:String,default:""}},data:function(){return{newItemValue:"",newItemActive:!1}},methods:{handleNewItem:function(){var t=this;this.loading||(this.newItemActive=!0,this.$nextTick((function(){t.$refs.newItemInput.focusInput()})))},cancelNewItem:function(){this.newItemActive=!1},handleNewItemDone:function(){this.$emit("new-item",this.newItemValue),this.newItemValue="",this.newItemActive=!1}}},a=e(2),s=e.n(a),c=e(158),l=(s()(c.a,{insert:"head",singleton:!1}),c.a.locals,e(3)),u=e(159),d=e.n(u),p=Object(l.a)(r,(function(){var t,n=this,e=n.$createElement,i=n._self._c||e;return i("li",{staticClass:"app-navigation-entry",class:{"app-navigation-entry--newItemActive":n.newItemActive}},[i("div",{staticClass:"app-navigation-entry-div",on:{click:n.handleNewItem}},[i("div",{staticClass:"app-navigation-entry-icon",class:(t={"icon-loading-small":n.loading},t[n.icon]=!n.loading,t)},[n.loading?n._e():n._t("icon")],2),n._v(" "),n.newItemActive?n._e():i("span",{staticClass:"app-navigation-new-item__title",attrs:{title:n.title}},[n._v("\n\t\t\t"+n._s(n.title)+"\n\t\t")]),n._v(" "),n.newItemActive?i("div",{staticClass:"newItemContainer"},[i("InputConfirmCancel",{ref:"newItemInput",attrs:{placeholder:""!==n.editPlaceholder?n.editPlaceholder:n.title},on:{cancel:n.cancelNewItem,confirm:n.handleNewItemDone},model:{value:n.newItemValue,callback:function(t){n.newItemValue=t},expression:"newItemValue"}})],1):n._e()])])}),[],!1,null,null,null);"function"==typeof d.a&&d()(p);var f=p.exports;
/**
* @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/>.
*
*/n.default=f},function(t,n,e){"use strict";e.r(n);var i=e(42),o=e(12),r=e(45),a={directives:{ClickOutside:i.directive},mixins:[r.a],props:{title:{type:String,required:!1,default:Object(o.b)("Settings")}},data:function(){return{open:!1,clickOutsideConfig:{handler:this.closeMenu,middleware:this.clickOutsideMiddleware}}},methods:{toggleMenu:function(){this.open=!this.open},closeMenu:function(){this.open=!1}}},s=e(2),c=e.n(s),l=e(160),u=(c()(l.a,{insert:"head",singleton:!1}),l.a.locals,e(3)),d=Object(u.a)(a,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.clickOutsideConfig,expression:"clickOutsideConfig"}],class:{open:t.open},attrs:{id:"app-settings"}},[e("div",{attrs:{id:"app-settings-header"}},[e("button",{staticClass:"settings-button",on:{click:t.toggleMenu}},[t._v("\n\t\t\t"+t._s(t.title)+"\n\t\t")])]),t._v(" "),e("transition",{attrs:{name:"slide-up"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],attrs:{id:"app-settings-content"}},[t._t("default")],2)])],1)}),[],!1,null,"73c43fbe",null).exports;n.default=d},function(t,n,e){"use strict";e.r(n);var i=e(2),o=e.n(i),r=e(161),a=(o()(r.a,{insert:"head",singleton:!1}),r.a.locals,e(3)),s=Object(a.a)({name:"AppNavigationSpacer"},(function(){var t=this.$createElement;return(this._self._c||t)("li",{staticClass:"app-navigation-spacer"})}),[],!1,null,"42195cc8",null).exports;n.default=s},function(t,n,e){"use strict";e.r(n),e(15),e(25);var i={name:"AppSettingsSection",props:{title:{type:String,required:!0}},computed:{id:function(){return"settings-section_"+this.title.replace(/\s+/g,"")}}},o=e(2),r=e.n(o),a=e(164),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(3)),c=Object(s.a)(i,(function(){var t=this.$createElement,n=this._self._c||t;return n("div",{staticClass:"app-settings-section",attrs:{id:this.id}},[n("h3",{staticClass:"app-settings-section__title",attrs:{id:this.title}},[this._v("\n\t\t"+this._s(this.title)+"\n\t")]),this._v(" "),this._t("default")],2)}),[],!1,null,"0e33da14",null).exports;n.default=c},function(t,n,e){"use strict";e.r(n),e(30);var i={name:"AppSidebarTab",props:{id:{type:String,required:!0},name:{type:String,required:!0},icon:{type:String,required:!0},order:{type:Number,default:0}},computed:{isActive:function(){return this.$parent.activeTab===this.id}},methods:{onScroll:function(t){this.$el.scrollHeight-this.$el.scrollTop===this.$el.clientHeight&&this.$emit("bottomReached",t),this.$emit("scroll",t)}}},o=e(2),r=e.n(o),a=e(169),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(3)),c=Object(s.a)(i,(function(){var t=this.$createElement;return(this._self._c||t)("section",{staticClass:"app-sidebar__tab",class:{"app-sidebar__tab--active":this.isActive},attrs:{id:"tab-"+this.id,"aria-hidden":!this.isActive,"aria-labelledby":this.id,tabindex:"0",role:"tabpanel"},on:{scroll:this.onScroll}},[this._t("default")],2)}),[],!1,null,"ea6a5b0c",null).exports;n.default=c},function(t,n,e){"use strict";e.r(n),e(24),e(6),e(26);var i=e(188),o=e(64),r=e(61),a=e(47),s={name:"ColorPicker",components:{Chrome:i.Chrome,Popover:a.default},mixins:[r.a],props:{value:{type:String,required:!0}},data:function(){var t=this;return{currentColor:this.value,advanced:!1,palette:Object(o.a)(4).map((function(n){return"#"+t.rgbToHex(n.r)+t.rgbToHex(n.g)+t.rgbToHex(n.b)})),open:!0}},watch:{value:function(t){this.currentColor=t}},methods:{handleConfirm:function(){this.$emit("close"),this.$emit("submit",this.currentColor),this.advanced=!1},handleBack:function(){this.advanced=!1},handleMoreSettings:function(){this.advanced=!0},pickColor:function(t){"string"!=typeof t&&(t=this.currentColor.hex),this.currentColor=t,this.$emit("close"),this.$emit("update:value",t),this.$emit("input",t)},rgbToHex:function(t){var n=t.toString(16);return 1===n.length?"0"+n:n}}},c=e(2),l=e.n(c),u=e(172),d=(l()(u.a,{insert:"head",singleton:!1}),u.a.locals,e(3)),p=e(173),f=e.n(p),A=Object(d.a)(s,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("Popover",t._g(t._b({scopedS
/**
* @copyright Copyright (c) 2019 Marco Ambrosini <marcoambrosini@pm.me>
*
* @author Marco Ambrosini <marcoambrosini@pm.me>
*
* @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/>.
*
*/n.default=h},function(t,n,e){"use strict";e.r(n);var i={props:{appName:{type:String,required:!0}}},o=e(2),r=e.n(o),a=e(174),s=(r()(a.a,{insert:"head",singleton:!1}),a.a.locals,e(3)),c=e(175),l=e.n(c),u=Object(s.a)(i,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"content",class:"app-"+this.appName.toLowerCase(),attrs:{id:"content-vue"}},[this._t("default")],2)}),[],!1,null,"07b3675a",null);"function"==typeof l.a&&l()(u);var d=u.exports;
/*
* @copyright 2018 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2018 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @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/>.
*/n.default=d},function(t,n,e){"use strict";e.r(n),e(31),e(38);var i=e(12),o={name:"SettingsSection",components:{},props:{title:{type:String,required:!0},description:{type:String,default:""},docUrl:{type:String,default:""}},data:function(){return{docTitleTranslated:Object(i.b)("External documentation for {title}",{title:this.title})}},computed:{hasDescription:function(){return this.description.length>0},hasDocUrl:function(){return this.docUrl.length>0}}},r=e(2),a=e.n(r),s=e(181),c=(a()(s.a,{insert:"head",singleton:!1}),s.a.locals,e(3)),l=e(182),u=e.n(l),d=Object(c.a)(o,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{staticClass:"settings-section"},[e("h2",{staticClass:"settings-section__title"},[t._v("\n\t\t"+t._s(t.title)+"\n\t\t"),t.hasDocUrl?e("a",{staticClass:"settings-section__info",attrs:{href:t.docUrl,role:"",title:t.docTitleTranslated}}):t._e()]),t._v(" "),t.hasDescription?e("p",{staticClass:"settings-section__desc"},[t._v("\n\t\t"+t._s(t.description)+"\n\t")]):t._e(),t._v(" "),t._t("default")],2)}),[],!1,null,"a6966ee2",null);"function"==typeof u.a&&u()(d);var p=d.exports;
/**
* @copyright Copyright (c) 2019 Greta Doci <gretadoci@gmail.com>
*
* @author Greta Doci <gretadoci@gmail.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/>.
*
*/n.default=p},function(t,n,e){"use strict";e.r(n),e(16),e(6),e(17),e(18),e(40),e(30),e(22);var i=e(47),o=e(80),r={name:"UserBubble",components:{Popover:i.default,Avatar:o.default},props:{avatarImage:{type:String,default:void 0},user:{type:String,default:void 0},displayName:{type:String,required:!0},showUserStatus:{type:Boolean,default:!1},url:{type:String,default:void 0,validator:function(t){try{return!!(t=new URL(t))}catch(t){return!1}}},open:{type:Boolean,default:!1},primary:{type:Boolean,default:!1},size:{type:Number,default:20},margin:{type:Number,default:2}},computed:{isPopoverComponent:function(){return this.popoverEmpty?"div":"Popover"},isAvatarUrl:function(){if(!this.avatarImage)return!1;try{return!!new URL(this.avatarImage)}catch(t){return!1}},isCustomAvatar:function(){return!!this.avatarImage},isLinkComponent:function(){return this.url&&""!==this.url.trim()?{is:"a",href:this.url}:{is:"div"}},popoverEmpty:function(){return!("default"in this.$slots)},styles:function(){return{content:{height:this.size+"px",lineHeight:this.size+"px",borderRadius:this.size/2+"px"},avatar:{marginLeft:this.margin+"px"}}}},methods:{onOpenChange:function(t){this.$emit("update:open",t)},onClick:function(t){this.$emit("click",t)}}},a=e(2),s=e.n(a),c=e(183),l=(s()(c.a,{insert:"head",singleton:!1}),c.a.locals,e(3)),u=e(184),d=e.n(u),p=Object(l.a)(r,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e(t.isPopoverComponent,{tag:"Popover",staticClass:"user-bubble__wrapper",attrs:{trigger:"hover focus",open:t.open},on:{"update:open":t.onOpenChange}},[e("div",t._b({staticClass:"user-bubble__content",class:t.primary?"user-bubble__content--primary":"",style:t.styles.content,attrs:{slot:"trigger"},on:{click:t.onClick},slot:"trigger"},"div",t.isLinkComponent,!1),[e("Avatar",t._b({staticClass:"user-bubble__avatar",style:t.styles.avatar,attrs:{url:t.isCustomAvatar&&t.isAvatarUrl?t.avatarImage:void 0,"icon-class":t.isCustomAvatar&&!t.isAvatarUrl?t.avatarImage:void 0,user:t.user,"display-name":t.displayName,size:t.size-2*t.margin,"disable-tooltip":!0,"disable-menu":!0}},"Avatar",t.$props,!1)),t._v(" "),e("span",{staticClass:"user-bubble__title"},[t._v("\n\t\t\t"+t._s(t.displayName||t.user)+"\n\t\t")]),t._v(" "),t.$slots.title?e("span",{staticClass:"user-bubble__secondary"},[t._t("title")],2):t._e()],1),t._v(" "),t._t("default")],2)}),[],!1,null,"28b47c60",null);"function"==typeof d.a&&d()(p);var f=p.exports;
/**
* @copyright Copyright (c) 2019 Marco Ambrosini <marcoambrosini@pm.me>
*
* @author Marco Ambrosini <marcoambrosini@pm.me>
*
* @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/>.
*
*/n.default=f},function(t,n,e){"use strict";e.r(n),e(58),e(30),e(24),e(51),e(187),e(6),e(59);var i=e(61),o=e(107),r=e(37),a=e.n(r),s=e(13);function c(t,n,e,i,o,r,a){try{var s=t[r](a),c=s.value}catch(t){return void e(t)}s.done?n(c):Promise.resolve(c).then(i,o)}
/**
* @copyright Copyright (c) 2019 Julius Härtl <jus@bitgrid.net>
*
* @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/>.
*
*/var l=function(t){var n=function t(n){var e={};if(1===n.nodeType){if(n.attributes.length>0){e["@attributes"]={};for(var i=0;i<n.attributes.length;i++){var o=n.attributes.item(i);e["@attributes"][o.nodeName]=o.nodeValue}}}else 3===n.nodeType&&(e=n.nodeValue);if(n.hasChildNodes())for(var r=0;r<n.childNodes.length;r++){var a=n.childNodes.item(r),s=a.nodeName;if(void 0===e[s])e[s]=t(a);else{if(void 0===e[s].push){var c=e[s];e[s]=[],e[s].push(c)}e[s].push(t(a))}}return e}(function(t){var n=null;try{n=(new DOMParser).parseFromString(t,"text/xml")}catch(t){console.error("Failed to parse xml document",t)}return n}(t))["d:multistatus"]["d:response"],e=[];for(var i in n){var o=n[i]["d:propstat"];"HTTP/1.1 200 OK"===o["d:status"]["#text"]&&e.push({id:parseInt(o["d:prop"]["oc:id"]["#text"]),displayName:o["d:prop"]["oc:display-name"]["#text"],canAssign:"true"===o["d:prop"]["oc:can-assign"]["#text"],userAssignable:"true"===o["d:prop"]["oc:user-assignable"]["#text"],userVisible:"true"===o["d:prop"]["oc:user-visible"]["#text"]})}return e},u=function(){var t,n=(t=regeneratorRuntime.mark((function t(){var n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!window.NextcloudVueDocs){t.next=2;break}return t.abrupt("return",Promise.resolve(l(window.NextcloudVueDocs.tags)));case 2:return t.next=4,a()({method:"PROPFIND",url:Object(s.generateRemoteUrl)("dav")+"/systemtags/",data:'<?xml version="1.0"?>\n\t\t\t\t\t<d:propfind xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns">\n\t\t\t\t\t <d:prop>\n\t\t\t\t\t\t<oc:id />\n\t\t\t\t\t\t<oc:display-name />\n\t\t\t\t\t\t<oc:user-visible />\n\t\t\t\t\t\t<oc:user-assignable />\n\t\t\t\t\t\t<oc:can-assign />\n\t\t\t\t\t </d:prop>\n\t\t\t\t\t</d:propfind>'});case 4:return n=t.sent,t.abrupt("return",l(n.data));case 6:case"end":return t.stop()}}),t)})),function(){var n=this,e=arguments;return new Promise((function(i,o){var r=t.apply(n,e);function a(t){c(r,i,o,a,s,"next",t)}function s(t){c(r,i,o,a,s,"throw",t)}a(void 0)}))});return function(){return n.apply(this,arguments)}}(),d=e(12);function p(t,n,e,i,o,r,a){try{var s=t[r](a),c=s.value}catch(t){return void e(t)}s.done?n(c):Promise.resolve(c).then(i,o)}var f={name:"MultiselectTags",components:{Multiselect:o.default},mixins:[i.a],props:{label:{type:String,default:Object(d.b)("Select a tag")},value:{type:[Number,Array],required:!0},disabled:{type:Boolean,default:!1},multiple:{type:Boolean,default:!0}},data:function(){return{tags:[]}},computed:{inputValue:function(){return this.getValueObject()}},beforeCreate:function(){var t,n=this;return(t=regeneratorRuntime.mark((function t(){var e;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,u();case 3:e=t.sent,n.tags=e,t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0),console.error("Loading systemtags failed",t.t0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})),function(){var n=this,e=arguments;return new Promise((function(i,o){var r=t.apply(n,e);function a(t){p(r,i,o,a,s,"next",t)}function s(t){p(r,i,o,a,s,"throw",t)}a(void 0)}))})()},methods:{getValueObject:function(){var t=this;return 0===this.tags.length?[]:this.multiple?this.value.filter((function(t){return""!==t})).map((function(n){return t.tags.find((function(t){return t.id===n}))})):this.tags.find((function(n){return n.id===t.value}))},update:function(t){this.multiple?this.$emit("input",t.map((function(t){return t.id}))):null===t?this.$emit("input",null):this.$emit("input",t.id)},tagLabel:function(t){var n=t.displayName,e=t.userVisible,i=t.userAssignable;return!1===e?Object(d.b)("{tag} (invisible)",{tag:n}):!1===i?Object(d.b)("{tag} (restricted)",{tag:n}):n}}},A=e(3),h=e(176),m=e.n(h),g=Object(A.a)(f,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("Multiselect",{attrs:{value:t.inputValue,options:t.tags,"options-limit":5,placeholder:t.label,"track-by":"id","custom-label":t.tagLabel,multiple:t.multiple,"close-on-select":t.multiple,"tag-width":60,disabled:t.disabled},on:{input:t.update},scopedSlots:t._u([{key:"option",fn:function(n){return[t._v(
/**
* @copyright Copyright (c) 2019 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/>.
*/n.default=v},function(t,n,e){"use strict";e.r(n);var i=e(3),o=Object(i.a)({name:"AppContentDetails"},(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"app-content-details"},[this._t("default")],2)}),[],!1,null,null,null).exports;n.default=o},function(t,n,e){"use strict";e.r(n);var i={name:"AppContentList",props:{selection:{type:Boolean,default:!1},showDetails:{type:Boolean,default:!1}}},o=e(3),r=Object(o.a)(i,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"app-content-list",class:{selection:this.selection,showdetails:this.showDetails}},[this._t("default")],2)}),[],!1,null,null,null).exports;n.default=r},function(n,e,i){"use strict";i.r(e),i(24),i(51),i(27),i(101),i(15),i(25),i(89),i(186),i(35),i(31),i(38),i(6),i(46),i(16),i(17),i(18),i(52),i(41),i(14);var o=i(129),r=i(36),a=i(105),s=i.n(a);function c(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return l(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?l(t,n):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,i=new Array(n);e<n;e++)i[e]=t[e];return i}var u={name:"AppSettingsDialog",components:{Modal:o.default},mixins:[r.default],props:{open:{type:Boolean,required:!0},showNavigation:{type:Boolean,default:!1},container:{type:String,default:"body"}},data:function(){return{selectedSection:"",linkClicked:!1,addedScrollListener:!1,scroller:null}},computed:{hasNavigation:function(){return!(this.isMobile||!this.showNavigation)},settingsNavigationAriaLabel:function(){return t("Settings navigation")}},mounted:function(){this.selectedSection=this.$slots.default[0].componentOptions.propsData.title},updated:function(){this.$refs.settingsScroller&&(this.scroller=this.$refs.settingsScroller,this.addedScrollListener||(this.scroller.addEventListener("scroll",this.handleScroll),this.addedScrollListener=!0))},methods:{getSettingsNavigation:function(t){var n=t.filter((function(t){return t.componentOptions})).map((function(t){var n;return null===(n=t.componentOptions.propsData)||void 0===n?void 0:n.title}));return n.forEach((function(t,e){var i=c(n);if(i.splice(e,1),-1!==i.indexOf(t))throw new Error("Duplicate section title found: ".concat(t,". Settings navigation sections must have unique section titles."))})),n},handleSettingsNavigationClick:function(t){var n=this;this.linkClicked=!0,document.getElementById("settings-section_"+t.replace(/\s+/g,"")).scrollIntoView({behavior:"smooth",inline:"nearest"}),this.selectedSection=t,setTimeout((function(){n.linkClicked=!1}),1e3)},handleCloseModal:function(){this.$emit("update:open",!1),this.scroller.removeEventListener("scroll",this.handleScroll),this.addedScrollListener=!1,this.scroller.scrollTop=0},handleScroll:function(){this.linkClicked||this.unfocusNavigationItem()},unfocusNavigationItem:s()((function(){this.selectedSection="",document.activeElement.className.includes("navigation-list__link")&&document.activeElement.blur()}),300),handleLinkKeydown:function(t,n){"Enter"===t.code&&this.handleSettingsNavigationClick(n)}},render:function(t){var n=this,e=function(e){return t("li",{},[t("a",{class:{"navigation-list__link":!0,"navigation-list__link--active":e===n.selectedSection},attrs:{role:"tab","aria-selected":e===n.selectedSection,tabindex:"0"},on:{click:function(){return n.handleSettingsNavigationClick(e)},keydown:function(){return n.handleLinkKeydown(event,e)}}},e)])};return this.open?t("Modal",{attrs:{container:this.container},on:{close:function(){n.handleCloseModal()}}},[t("div",{attrs:{class:"app-settings"}},[].concat(c(n.hasNavigation?[t("div",{attrs:{class:"app-
/**
* @copyright Copyright (c) 2020 Marco Ambrosini <marcoambrosini@pm.me>
*
* @author Marco Ambrosini <marcoambrosini@pm.me>
*
* @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/>.
*
*/e.default=v},function(t,n,e){"use strict";e.r(n),e(24),e(93),e(27),e(89),e(186),e(41),e(35);var i=e(5),o=e.n(i),r=e(105),a=e.n(r),s=e(73),c=e(131),l=e(130),u=e(50),d=e(132),p=e(29),f={name:"Breadcrumbs",components:{Actions:s.default,ActionRouter:c.default,ActionLink:l.default,Breadcrumb:d.default},props:{rootIcon:{type:String,default:"icon-home"}},data:function(){return{hiddenCrumbs:[],hiddenIndices:[],menuBreadcrumbProps:{title:"",forceMenu:!0,disableDrop:!0,open:!1}}},beforeMount:function(){Object(u.a)(this.$slots.default,["Breadcrumb"],this)},beforeUpdate:function(){Object(u.a)(this.$slots.default,["Breadcrumb"],this)},created:function(){var t=this;window.addEventListener("resize",a()((function(){t.handleWindowResize()}),100)),Object(p.subscribe)("navigation-toggled",this.delayedResize)},mounted:function(){this.handleWindowResize()},updated:function(){this.delayedResize(),this.delayedHideCrumbs()},beforeDestroy:function(){window.removeEventListener("resize",this.handleWindowResize),Object(p.unsubscribe)("navigation-toggled",this.delayedResize)},methods:{delayedHideCrumbs:function(){var t=this;this.$nextTick((function(){var n=t.$slots.default||[];t.hideCrumbs(n)}))},closeActions:function(t){this.$refs.actionsBreadcrumb.$el.contains(t.relatedTarget)||(this.menuBreadcrumbProps.open=!1)},delayedResize:function(){var t=this;this.$nextTick((function(){t.handleWindowResize()}))},handleWindowResize:function(){var t=this.$slots.default||[];if(this.$refs.container){var n=t.length,e=[],i=this.$refs.container.offsetWidth,o=this.getTotalWidth(t)-i;o+=o>0?51:0;for(var r=0,a=Math.floor(n/2);o>0&&r<n-2;){var s=a+(r%2?r+1:r)/2*Math.pow(-1,r+n%2);o-=this.getWidth(t[s].elm),e.push(s),r++}this.arraysEqual(this.hiddenIndices,e.sort((function(t,n){return t-n})))||(this.hiddenCrumbs=e.map((function(n){return t[n]})),this.hiddenIndices=e)}},arraysEqual:function(t,n){if(t.length!==n.length)return!1;if(t===n)return!0;if(null===t||null===n)return!1;for(var e=0;e<t.length;++e)if(t[e]!==n[e])return!1;return!0},getTotalWidth:function(t){var n=this;return t.reduce((function(t,e,i){return t+n.getWidth(e.elm)}),0)},getWidth:function(t){if(!t.classList)return 0;var n=t.classList.contains("crumb--hidden");t.style.minWidth="auto",t.classList.remove("crumb--hidden");var e=t.offsetWidth;return n&&t.classList.add("crumb--hidden"),t.style.minWidth="",e},preventDefault:function(t){return t.preventDefault&&t.preventDefault(),!1},dragStart:function(t){return this.preventDefault(t)},dropped:function(t,n,e){return e||this.$emit("dropped",t,n),this.menuBreadcrumbProps.open=!1,document.querySelectorAll(".crumb").forEach((function(t){t.classList.remove("crumb--hovered")})),this.preventDefault(t)},dragOver:function(t){return this.preventDefault(t)},dragEnter:function(t,n){if(!n&&t.target.closest){var e=t.target.closest(".crumb");e.classList&&e.classList.contains("crumb")&&(document.querySelectorAll(".crumb").forEach((function(t){t.classList.remove("crumb--hovered")})),e.classList.add("crumb--hovered"))}},dragLeave:function(t,n){if(!n&&!t.target.contains(t.relatedTarget)&&t.target.closest){var e=t.target.closest(".crumb");if(e.contains(t.relatedTarget))return;e.classList&&e.classList.contains("crumb")&&e.classList.remove("crumb--hovered")}},hideCrumbs:function(t){var n=this,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;t.forEach((function(t,i){var o;null!=t&&null!==(o=t.elm)&&void 0!==o&&o.classList&&(n.hiddenIndices.includes(i+e)?t.elm.classList.add("crumb--hidden"):t.elm.classList.remove("crumb--hidden"))}))}},render:function(t){var n=this,e=this.$slots.default||[];if(0!==e.length){o.a.set(e[0].componentOptions.propsData,"icon",this.rootIcon);var i=[],r=this.hiddenCrumbs.length?e.slice(0,Math.round(e.length/2)):e;i=i.concat(r),this.hideCrumbs(r),this.hiddenCrumbs.length&&i.push(t("Breadcrumb",{class:"dropdown",props:this.menuBreadcrumbProps,ref:"actionsBreadcrumb",key:"actions-breadcrumb-1",nativeOn:{dragstart:this.dragStart,dragenter:function(){n.menuBreadcrumbProps.open=!0},dragleave:this.closeActions},on:{"update:open":function(t){n.menuBreadcru
/**
* @copyright Copyright (c) 2020 Raimund Schlüßler <raimund.schluessler@mailbox.org>
*
* @author Raimund Schlüßler <raimund.schluessler@mailbox.org>
*
* @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/>.
*
*/n.default=y},function(t,n){t.exports=i(427)},,,,,,,,,,,,,,,function(t,n,e){"use strict";e.r(n),e.d(n,"ActionButton",(function(){return o.default})),e.d(n,"ActionCheckbox",(function(){return r.default})),e.d(n,"ActionInput",(function(){return a.default})),e.d(n,"ActionLink",(function(){return s.default})),e.d(n,"ActionRadio",(function(){return c.default})),e.d(n,"ActionRouter",(function(){return l.default})),e.d(n,"Actions",(function(){return u.default})),e.d(n,"ActionSeparator",(function(){return d.default})),e.d(n,"ActionText",(function(){return p.default})),e.d(n,"ActionTextEditable",(function(){return f.default})),e.d(n,"AppContent",(function(){return A.default})),e.d(n,"AppContentDetails",(function(){return h.default})),e.d(n,"AppContentList",(function(){return m.default})),e.d(n,"AppNavigation",(function(){return g.default})),e.d(n,"AppNavigationCaption",(function(){return v.default})),e.d(n,"AppNavigationCounter",(function(){return b.default})),e.d(n,"AppNavigationIconBullet",(function(){return C.default})),e.d(n,"AppNavigationItem",(function(){return y.default})),e.d(n,"AppNavigationNew",(function(){return x.default})),e.d(n,"AppNavigationNewItem",(function(){return w.default})),e.d(n,"AppNavigationSettings",(function(){return k.default})),e.d(n,"AppNavigationSpacer",(function(){return _.default})),e.d(n,"AppSettingsDialog",(function(){return B.default})),e.d(n,"AppSettingsSection",(function(){return E.default})),e.d(n,"AppSidebar",(function(){return S.default})),e.d(n,"AppSidebarTab",(function(){return T.default})),e.d(n,"Avatar",(function(){return $.default})),e.d(n,"Breadcrumb",(function(){return I.default})),e.d(n,"Breadcrumbs",(function(){return O.default})),e.d(n,"ColorPicker",(function(){return M.default})),e.d(n,"Content",(function(){return N.default})),e.d(n,"DatetimePicker",(function(){return D.default})),e.d(n,"EmptyContent",(function(){return L.default})),e.d(n,"ListItemIcon",(function(){return P.default})),e.d(n,"Modal",(function(){return j.default})),e.d(n,"Multiselect",(function(){return F.default})),e.d(n,"MultiselectTags",(function(){return R.default})),e.d(n,"Popover",(function(){return U.default})),e.d(n,"PopoverMenu",(function(){return z.default})),e.d(n,"RichContenteditable",(function(){return G.default})),e.d(n,"SettingsSection",(function(){return W.default})),e.d(n,"UserBubble",(function(){return Y.default})),e.d(n,"Focus",(function(){return H.default})),e.d(n,"Linkify",(function(){return V.default})),e.d(n,"Tooltip",(function(){return Q.default})),e.d(n,"excludeClickOutsideClasses",(function(){return q.a})),e.d(n,"isFullscreen",(function(){return q.b})),e.d(n,"isMobile",(function(){return q.c})),e.d(n,"richEditor",(function(){return q.d})),e.d(n,"userStatus",(function(){return q.e}));var i={};e.r(i),e.d(i,"ActionButton",(function(){return o.default})),e.d(i,"ActionCheckbox",(function(){return r.default})),e.d(i,"ActionInput",(function(){return a.default})),e.d(i,"ActionLink",(function(){return s.default})),e.d(i,"ActionRadio",(function(){return c.default})),e.d(i,"ActionRouter",(function(){return l.default})),e.d(i,"Actions",(function(){return u.default})),e.d(i,"ActionSeparator",(function(){return d.default})),e.d(i,"ActionText",(function(){return p.default})),e.d(i,"ActionTextEditable",(function(){return f.default})),e.d(i,"AppContent",(function(){return A.default})),e.d(i,"AppContentDetails",(function(){return h.default})),e.d(i,"AppContentList",(function(){return m.default})),e.d(i,"AppNavigation",(function(){return g.default})),e.d(i,"AppNavigationCaption",(function(){return v.default})),e.d(i,"AppNavigationCounter",(function(){return b.default})),e.d(i,"AppNavigationIconBullet",(function(){return C.default})),e.d(i,"AppNavigationItem",(function(){return y.default})),e.d(i,"AppNavigationNew",(function(){return x.default})),e.d(i,"AppNavigationNewItem",(function(){return w.default})),e.d(i,"AppNavigationSettings",(function(){return k.default})),e.d(i,"AppNavigationSpacer",(function(){return _.default})),e.d(i,"AppSettingsDialog",(function(){return B.default})),e.d(i,"AppSettingsSect
/**
* @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/>.
*
*/function X(t){Object.values(i).forEach((function(n){t.component(n.name,n)}))}"undefined"!=typeof window&&window.Vue&&X(window.Vue),n.default=function(t){for(var n=1;n<arguments.length;n++){var e=null!=arguments[n]?arguments[n]:{};n%2?K(Object(e),!0).forEach((function(n){J(t,n,e[n])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):K(Object(e)).forEach((function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}))}return t}({install:X},i)}])}))},,,,,,,,,,,,function(t,n,e){t.exports=function(){var t="undefined"!=typeof window,n="undefined"!=typeof navigator,e=t&&("ontouchstart"in window||n&&navigator.msMaxTouchPoints>0)?["touchstart"]:["click"];function i(t){var n=t.event,e=t.handler;(0,t.middleware)(n)&&e(n)}function o(t,n){var o=function(t){var n="function"==typeof t;if(!n&&"object"!=typeof t)throw new Error("v-click-outside: Binding value must be a function or an object");return{handler:n?t:t.handler,middleware:t.middleware||function(t){return t},events:t.events||e,isActive:!(!1===t.isActive),detectIframe:!(!1===t.detectIframe)}}(n.value),r=o.handler,a=o.middleware,s=o.detectIframe;if(o.isActive){if(t["__v-click-outside"]=o.events.map((function(n){return{event:n,srcTarget:document.documentElement,handler:function(n){return function(t){var n=t.el,e=t.event,o=t.handler,r=t.middleware,a=e.path||e.composedPath&&e.composedPath();(a?a.indexOf(n)<0:!n.contains(e.target))&&i({event:e,handler:o,middleware:r})}({el:t,event:n,handler:r,middleware:a})}}})),s){var c={event:"blur",srcTarget:window,handler:function(n){return function(t){var n=t.el,e=t.event,o=t.handler,r=t.middleware;setTimeout((function(){var t=document.activeElement;t&&"IFRAME"===t.tagName&&!n.contains(t)&&i({event:e,handler:o,middleware:r})}),0)}({el:t,event:n,handler:r,middleware:a})}};t["__v-click-outside"]=[].concat(t["__v-click-outside"],[c])}t["__v-click-outside"].forEach((function(n){var e=n.event,i=n.srcTarget,o=n.handler;return setTimeout((function(){t["__v-click-outside"]&&i.addEventListener(e,o,!1)}),0)}))}}function r(t){(t["__v-click-outside"]||[]).forEach((function(t){return t.srcTarget.removeEventListener(t.event,t.handler,!1)})),delete t["__v-click-outside"]}var a=t?{bind:o,update:function(t,n){var e=n.value,i=n.oldValue;JSON.stringify(e)!==JSON.stringify(i)&&(r(t),o(t,{value:e}))},unbind:r}:{};return{install:function(t){t.directive("click-outside",a)},directive:a}}()},function(t,n,e){"use strict";var i=e(3),o=e(52).map;i({target:"Array",proto:!0,forced:!e(43)("map")},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,n,e){t.exports=e(304).default},function(t,n,e){"use strict";var i=e(3),o=e(60),r=e(27),a=e(13),s=e(16),c=e(56),l=e(42),u=e(43)("splice"),d=Math.max,p=Math.min;i({target:"Array",proto:!0,forced:!u},{splice:function(t,n){var e,i,u,f,A,h,m=s(this),g=a(m.length),v=o(t,g),b=arguments.length;if(0===b?e=i=0:1===b?(e=0,i=g-v):(e=b-2,i=p(d(r(n),0),g-v)),g+e-i>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(u=c(m,i),f=0;f<i;f++)(A=v+f)in m&&l(u,f,m[A]);if(u.length=i,e<i){for(f=v;f<g-i;f++)h=f+e,(A=f+i)in m?m[h]=m[A]:delete m[h];for(f=g;f>g-i+e;f--)delete m[f-1]}else if(e>i)for(f=g-i;f>v;f--)h=f+e-1,(A=f+i-1)in m?m[h]=m[A]:delete m[h];for(f=0;f<e;f++)m[f+v]=arguments[f+2];return m.length=g-i+e,u}})},function(t,n,e){"use strict";var i=e(7),o=e(0),r=e(46),a=e(10),s=e(6),c=e(20),l=e(108),u=e(30),d=e(1),p=e(32),f=e(45).f,A=e(22).f,h=e(8).f,m=e(164).trim,g=o.Number,v=g.prototype,b="Number"==c(p(v)),C=function(t){var n,e,i,o,r,a,s,c,l=u(t,!1);if("string"==typeof l&&l.length>2)if(43===(n=(l=m(l)).charCodeAt(0))||45===n){if(88===(e=l.charCodeAt(2))||120===e)return NaN}else if(48===n){switch(l.charCodeAt(1)){case 66:case 98:i=2,o=49;break;case 79:case 111:i=8,o=55;break;default:return+l}for(a=(r=l.slice(2)).length,s=0;s<a;s++)if((c=r.charCodeAt(s))<48||c>o)return NaN;return parseInt(r,i)}return+l};if(r("Number",!g(" 0o1")||!g("0b1")||g("+0x1"))){for(var y,x=function(t){var n=arguments.length<1?0:t,e=this;return e instanceof x&&(
/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/var i=/["'&<>]/;t.exports=function(t){var n,e=""+t,o=i.exec(e);if(!o)return e;var r="",a=0,s=0;for(a=o.index;a<e.length;a++){switch(e.charCodeAt(a)){case 34:n="&quot;";break;case 38:n="&amp;";break;case 39:n="&#39;";break;case 60:n="&lt;";break;case 62:n="&gt;";break;default:continue}s!==a&&(r+=e.substring(s,a)),s=a+1,r+=n}return s!==a?r+e.substring(s,a):r}},function(t,n,e){"use strict";var i,o=e(3),r=e(22).f,a=e(13),s=e(266),c=e(18),l=e(267),u=e(24),d="".startsWith,p=Math.min,f=l("startsWith");o({target:"String",proto:!0,forced:!!(u||f||(i=r(String.prototype,"startsWith"),!i||i.writable))&&!f},{startsWith:function(t){var n=String(c(this));s(t);var e=a(p(arguments.length>1?arguments[1]:void 0,n.length)),i=String(t);return d?d.call(n,i,e):n.slice(e,e+i.length)===i}})},function(t,n,e){"use strict";var i=e(87),o=e(153),r=e(4),a=e(18),s=e(222),c=e(107),l=e(13),u=e(88),d=e(90),p=e(106).UNSUPPORTED_Y,f=[].push,A=Math.min;i("split",2,(function(t,n,e){var i;return i="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,e){var i=String(a(this)),r=void 0===e?4294967295:e>>>0;if(0===r)return[];if(void 0===t)return[i];if(!o(t))return n.call(i,t,r);for(var s,c,l,u=[],p=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),A=0,h=new RegExp(t.source,p+"g");(s=d.call(h,i))&&!((c=h.lastIndex)>A&&(u.push(i.slice(A,s.index)),s.length>1&&s.index<i.length&&f.apply(u,s.slice(1)),l=s[0].length,A=c,u.length>=r));)h.lastIndex===s.index&&h.lastIndex++;return A===i.length?!l&&h.test("")||u.push(""):u.push(i.slice(A)),u.length>r?u.slice(0,r):u}:"0".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,e){var o=a(this),r=null==n?void 0:n[t];return void 0!==r?r.call(n,o,e):i.call(String(o),n,e)},function(t,o){var a=e(i,t,this,o,i!==n);if(a.done)return a.value;var d=r(t),f=String(this),h=s(d,RegExp),m=d.unicode,g=(d.ignoreCase?"i":"")+(d.multiline?"m":"")+(d.unicode?"u":"")+(p?"g":"y"),v=new h(p?"^(?:"+d.source+")":d,g),b=void 0===o?4294967295:o>>>0;if(0===b)return[];if(0===f.length)return null===u(v,f)?[f]:[];for(var C=0,y=0,x=[];y<f.length;){v.lastIndex=p?0:y;var w,k=u(v,p?f.slice(y):f);if(null===k||(w=A(l(v.lastIndex+(p?y:0)),f.length))===C)y=c(f,y,m);else{if(x.push(f.slice(C,y)),x.length===b)return x;for(var _=1;_<=k.length-1;_++)if(x.push(k[_]),x.length===b)return x;y=C=w}}return x.push(f.slice(C)),x}]}),p)},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getCapabilities=function(){try{return(0,i.loadState)("core","capabilities")}catch(t){return console.debug("Could not find capabilities initial state fall back to _oc_capabilities"),"_oc_capabilities"in window?window._oc_capabilities:{}}};var i=e(84)},function(t,n,e){var i=e(7),o=e(0),r=e(46),a=e(108),s=e(8).f,c=e(45).f,l=e(153),u=e(91),d=e(106),p=e(10),f=e(1),A=e(19).set,h=e(109),m=e(2)("match"),g=o.RegExp,v=g.prototype,b=/a/g,C=/a/g,y=new g(b)!==b,x=d.UNSUPPORTED_Y;if(i&&r("RegExp",!y||x||f((function(){return C[m]=!1,g(b)!=b||g(C)==C||"/a/i"!=g(b,"i")})))){for(var w=function(t,n){var e,i=this instanceof w,o=l(t),r=void 0===n;if(!i&&o&&t.constructor===w&&r)return t;y?o&&!r&&(t=t.source):t instanceof w&&(r&&(n=u.call(t)),t=t.source),x&&(e=!!n&&n.indexOf("y")>-1)&&(n=n.replace(/y/g,""));var s=a(y?new g(t,n):g(t,n),i?this:v,w);return x&&e&&A(s,{sticky:e}),s},k=function(t){t in w||s(w,t,{configurable:!0,get:function(){return g[t]},set:function(n){g[t]=n}})},_=c(g),B=0;_.length>B;)k(_[B++]);v.constructor=w,w.prototype=v,p(o,"RegExp",w)}h("RegExp")},function(t,n,e){"use strict";var i=e(3),o=e(343),r=e(16),a=e(13),s=e(27),c=e(56);i({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,n=r(this),e=a(n.length),i=c(n,0);return i.length=o(i,n,n,e,0,void 0===t?1:s(t)),i}})},function(t,n,e){"use strict";var i=e(3),o=e(344).left,r=e(71),a=e(33),s=e(54);i({target:"Array",proto:!0,forced:!r("reduce")||!s&&a>79&&a<83},{reduce:function(t){retu
/*!
* 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 i={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,r=o&&!i.call({1:2},1);n.f=r?function(t){var n=o(this,t);return!!n&&n.enumerable}:i},function(t,n,e){var i=e(31),o=e(68),r=i.document,a=o(r)&&o(r.createElement);t.exports=function(t){return a?r.createElement(t):{}}},function(t,n,e){var i=e(31),o=e(142),r=e(86),a=e(161),s=e(231),c=e(321),l=c.get,u=c.enforce,d=String(String).split("String");(t.exports=function(t,n,e,s){var c=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,p=!!s&&!!s.noTargetGet;"function"==typeof e&&("string"!=typeof n||r(e,"name")||o(e,"name",n),u(e).source=d.join("string"==typeof n?n:"")),t!==i?(c?!p&&t[n]&&(l=!0):delete t[n],l?t[n]=e:o(t,n,e)):l?t[n]=e:a(n,e)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||s(this)}))},function(t,n,e){var i,o,r,a=e(322),s=e(31),c=e(68),l=e(142),u=e(86),d=e(323),p=e(236),f=s.WeakMap;if(a){var A=new f,h=A.get,m=A.has,g=A.set;i=function(t,n){return g.call(A,t,n),n},o=function(t){return h.call(A,t)||{}},r=function(t){return m.call(A,t)}}else{var v=d("state");p[v]=!0,i=function(t,n){return l(t,v,n),n},o=function(t){return u(t,v)?t[v]:{}},r=function(t){return u(t,v)}}t.exports={set:i,get:o,has:r,enforce:function(t){return r(t)?o(t):i(t,{})},getterFor:function(t){return function(n){var e;if(!c(n)||(e=o(n)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return e}}}},function(t,n,e){var i=e(31),o=e(231),r=i.WeakMap;t.exports="function"==typeof r&&/native code/.test(o(r))},function(t,n,e){var i=e(233),o=e(235),r=i("keys");t.exports=function(t){return r[t]||(r[t]=o(t))}},function(t,n,e){var i=e(86),o=e(325),r=e(154),a=e(160);t.exports=function(t,n){for(var e=o(n),s=a.f,c=r.f,l=0;l<e.length;l++){var u=e[l];i(t,u)||s(t,u,c(n,u))}}},function(t,n,e){var i=e(237),o=e(327),r=e(330),a=e(230);t.exports=i("Reflect","ownKeys")||function(t){var n=o.f(a(t)),e=r.f;return e?n.concat(e(t)):n}},function(t,n,e){var i=e(31);t.exports=i},function(t,n,e){var i=e(238),o=e(240).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return i(t,o)}},function(t,n,e){var i=e(156),o=e(143),r=e(329),a=function(t){return function(n,e,a){var s,c=i(n),l=o(c.length),u=r(a,l);if(t&&e!=e){for(;l>u;)if((s=c[u++])!=s)return!0}else for(;l>u;u++)if((t||u in c)&&c[u]===e)return t||u||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},function(t,n,e){var i=e(239),o=Math.max,r=Math.min;t.exports=function(t,n){var e=i(t);return e<0?o(e+n,0):r(e,n)}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){var i=e(36),o=/#|\.prototype\./,r=function(t,n){var e=s[a(t)];return e==l||e!=c&&("function"==typeof n?i(n):!!n)},a=r.normalize=function(t){return String(t).replace(o,".").toLowerCase()},s=r.data={},c=r.NATIVE="N",l=r.POLYFILL="P";t.exports=r},function(t,n,e){var i=e(333);t.exports=function(t,n,e){if(i(t),void 0===n)return t;switch(e){case 0:return function(){return t.call(n)};case 1:return function(e){return t.call(n,e)};case 2:return function(e,i){return t.call(n,e,i)};case 3:return function(e,i,o){return t.call(n,e,i,o)}}return function(){return t.apply(n,arguments)}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},function(t,n,e){var i=e(244);t.exports=i&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},function(t,n,e){var i=e(237);t.exports=i("navigator","userAgent")||""},function(t,n,e){var i=e(238),o=e(240);t.exports=Object.keys||function(t){return i(t,o)}},function(t,n,e){var i=e(338);t.exports=function(t){if(i(t))throw TypeError("The method doesn't accept regular expressions");return t}},function(t,n,e){var i=e(68),o=e(157),r=e(104)("match");t.exports=function(t){var n;return i(t)&&(void 0!==(n=t[r])?!!n:"RegExp"==o(t))}},function(t,n,e){var i=e(104)("match");t.exports=function(t){var n=/./;try{"/./"[t](n)}catch(e){try{return n[i]=!1,"/./"[t](n)}catch(t){}}re
/*!
* vue-qrcode v1.0.2
* https://fengyuanchen.github.io/vue-qrcode
*
* Copyright 2018-present Chen Fengyuan
* Released under the MIT license
*
* Date: 2020-01-18T06:04:33.222Z
*/
t.exports=function(){"use strict";function t(){throw new Error("Dynamic requires are not currently supported by rollup-plugin-commonjs")}var n=function(t,n){return t(n={exports:{}},n.exports),n.exports}((function(n,e){n.exports=function n(e,i,o){function r(s,c){if(!i[s]){if(!e[s]){if(!c&&t)return t();if(a)return a(s,!0);var l=new Error("Cannot find module '"+s+"'");throw l.code="MODULE_NOT_FOUND",l}var u=i[s]={exports:{}};e[s][0].call(u.exports,(function(t){return r(e[s][1][t]||t)}),u,u.exports,n,e,i,o)}return i[s].exports}for(var a=t,s=0;s<o.length;s++)r(o[s]);return r}({1:[function(t,n,e){n.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},{}],2:[function(t,n,e){var i=t("./utils").getSymbolSize;e.getRowColCoords=function(t){if(1===t)return[];for(var n=Math.floor(t/7)+2,e=i(t),o=145===e?26:2*Math.ceil((e-13)/(2*n-2)),r=[e-7],a=1;a<n-1;a++)r[a]=r[a-1]-o;return r.push(6),r.reverse()},e.getPositions=function(t){for(var n=[],i=e.getRowColCoords(t),o=i.length,r=0;r<o;r++)for(var a=0;a<o;a++)0===r&&0===a||0===r&&a===o-1||r===o-1&&0===a||n.push([i[r],i[a]]);return n}},{"./utils":21}],3:[function(t,n,e){var i=t("./mode"),o=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function r(t){this.mode=i.ALPHANUMERIC,this.data=t}r.getBitsLength=function(t){return 11*Math.floor(t/2)+t%2*6},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(t){var n;for(n=0;n+2<=this.data.length;n+=2){var e=45*o.indexOf(this.data[n]);e+=o.indexOf(this.data[n+1]),t.put(e,11)}this.data.length%2&&t.put(o.indexOf(this.data[n]),6)},n.exports=r},{"./mode":14}],4:[function(t,n,e){function i(){this.buffer=[],this.length=0}i.prototype={get:function(t){var n=Math.floor(t/8);return 1==(this.buffer[n]>>>7-t%8&1)},put:function(t,n){for(var e=0;e<n;e++)this.putBit(1==(t>>>n-e-1&1))},getLengthInBits:function(){return this.length},putBit:function(t){var n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),t&&(this.buffer[n]|=128>>>this.length%8),this.length++}},n.exports=i},{}],5:[function(t,n,e){var i=t("../utils/buffer");function o(t){if(!t||t<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=t,this.data=i.alloc(t*t),this.reservedBit=i.alloc(t*t)}o.prototype.set=function(t,n,e,i){var o=t*this.size+n;this.data[o]=e,i&&(this.reservedBit[o]=!0)},o.prototype.get=function(t,n){return this.data[t*this.size+n]},o.prototype.xor=function(t,n,e){this.data[t*this.size+n]^=e},o.prototype.isReserved=function(t,n){return this.reservedBit[t*this.size+n]},n.exports=o},{"../utils/buffer":28}],6:[function(t,n,e){var i=t("../utils/buffer"),o=t("./mode");function r(t){this.mode=o.BYTE,this.data=i.from(t)}r.getBitsLength=function(t){return 8*t},r.prototype.getLength=function(){return this.data.length},r.prototype.getBitsLength=function(){return r.getBitsLength(this.data.length)},r.prototype.write=function(t){for(var n=0,e=this.data.length;n<e;n++)t.put(this.data[n],8)},n.exports=r},{"../utils/buffer":28,"./mode":14}],7:[function(t,n,e){var i=t("./error-correction-level"),o=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],r=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,105
/*! Hammer.JS - v2.0.7 - 2016-04-22
* http://hammerjs.github.io/
*
* Copyright (c) 2016 Jorik Tangelder;
* Licensed under the MIT license */!function(o,r,a,s){"use strict";var c,l=["","webkit","Moz","MS","ms","o"],u=r.createElement("div"),d=Math.round,p=Math.abs,f=Date.now;function A(t,n,e){return setTimeout(y(t,e),n)}function h(t,n,e){return!!Array.isArray(t)&&(m(t,e[n],e),!0)}function m(t,n,e){var i;if(t)if(t.forEach)t.forEach(n,e);else if(void 0!==t.length)for(i=0;i<t.length;)n.call(e,t[i],i,t),i++;else for(i in t)t.hasOwnProperty(i)&&n.call(e,t[i],i,t)}function g(t,n,e){var i="DEPRECATED METHOD: "+n+"\n"+e+" AT \n";return function(){var n=new Error("get-stack-trace"),e=n&&n.stack?n.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",r=o.console&&(o.console.warn||o.console.log);return r&&r.call(o.console,i,e),t.apply(this,arguments)}}c="function"!=typeof Object.assign?function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var n=Object(t),e=1;e<arguments.length;e++){var i=arguments[e];if(null!=i)for(var o in i)i.hasOwnProperty(o)&&(n[o]=i[o])}return n}:Object.assign;var v=g((function(t,n,e){for(var i=Object.keys(n),o=0;o<i.length;)(!e||e&&void 0===t[i[o]])&&(t[i[o]]=n[i[o]]),o++;return t}),"extend","Use `assign`."),b=g((function(t,n){return v(t,n,!0)}),"merge","Use `assign`.");function C(t,n,e){var i,o=n.prototype;(i=t.prototype=Object.create(o)).constructor=t,i._super=o,e&&c(i,e)}function y(t,n){return function(){return t.apply(n,arguments)}}function x(t,n){return"function"==typeof t?t.apply(n&&n[0]||void 0,n):t}function w(t,n){return void 0===t?n:t}function k(t,n,e){m(S(n),(function(n){t.addEventListener(n,e,!1)}))}function _(t,n,e){m(S(n),(function(n){t.removeEventListener(n,e,!1)}))}function B(t,n){for(;t;){if(t==n)return!0;t=t.parentNode}return!1}function E(t,n){return t.indexOf(n)>-1}function S(t){return t.trim().split(/\s+/g)}function T(t,n,e){if(t.indexOf&&!e)return t.indexOf(n);for(var i=0;i<t.length;){if(e&&t[i][e]==n||!e&&t[i]===n)return i;i++}return-1}function $(t){return Array.prototype.slice.call(t,0)}function I(t,n,e){for(var i=[],o=[],r=0;r<t.length;){var a=n?t[r][n]:t[r];T(o,a)<0&&i.push(t[r]),o[r]=a,r++}return e&&(i=n?i.sort((function(t,e){return t[n]>e[n]})):i.sort()),i}function O(t,n){for(var e,i,o=n[0].toUpperCase()+n.slice(1),r=0;r<l.length;){if((i=(e=l[r])?e+o:n)in t)return i;r++}}var M=1;function N(t){var n=t.ownerDocument||t;return n.defaultView||n.parentWindow||o}var D="ontouchstart"in o,L=void 0!==O(o,"PointerEvent"),P=D&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),j=["x","y"],F=["clientX","clientY"];function R(t,n){var e=this;this.manager=t,this.callback=n,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(n){x(t.options.enable,[t])&&e.handler(n)},this.init()}function U(t,n,e){var i=e.pointers.length,o=e.changedPointers.length,r=1&n&&i-o==0,a=12&n&&i-o==0;e.isFirst=!!r,e.isFinal=!!a,r&&(t.session={}),e.eventType=n,function(t,n){var e=t.session,i=n.pointers,o=i.length;e.firstInput||(e.firstInput=z(n));o>1&&!e.firstMultiple?e.firstMultiple=z(n):1===o&&(e.firstMultiple=!1);var r=e.firstInput,a=e.firstMultiple,s=a?a.center:r.center,c=n.center=G(i);n.timeStamp=f(),n.deltaTime=n.timeStamp-r.timeStamp,n.angle=V(s,c),n.distance=H(s,c),function(t,n){var e=n.center,i=t.offsetDelta||{},o=t.prevDelta||{},r=t.prevInput||{};1!==n.eventType&&4!==r.eventType||(o=t.prevDelta={x:r.deltaX||0,y:r.deltaY||0},i=t.offsetDelta={x:e.x,y:e.y});n.deltaX=o.x+(e.x-i.x),n.deltaY=o.y+(e.y-i.y)}(e,n),n.offsetDirection=Y(n.deltaX,n.deltaY);var l=W(n.deltaTime,n.deltaX,n.deltaY);n.overallVelocityX=l.x,n.overallVelocityY=l.y,n.overallVelocity=p(l.x)>p(l.y)?l.x:l.y,n.scale=a?(u=a.pointers,d=i,H(d[0],d[1],F)/H(u[0],u[1],F)):1,n.rotation=a?function(t,n){return V(n[1],n[0],F)+V(t[1],t[0],F)}(a.pointers,i):0,n.maxPointers=e.prevInput?n.pointers.length>e.prevInput.maxPointers?n.pointers.length:e.prevInput.maxPointers:n.pointers.length,function(t,n){var e,i,o,r,a=t.lastInterval||n,s=n.timeStamp-a.timeStamp;if(8!=n.eventType&&(s>25||void 0===a.velocity)){var c
/*!
* clipboard.js v2.0.8
* https://clipboardjs.com/
*
* Licensed MIT © Zeno Rocha
*/
t.exports=function(){return n={134:function(t,n,e){"use strict";e.d(n,{default:function(){return A}}),n=e(279);var i=e.n(n),o=(n=e(370),e.n(n)),r=(n=e(817),e.n(n));function a(t){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function s(t,n){for(var e=0;e<n.length;e++){var i=n[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var c=function(){function t(n){!function(n){if(!(n instanceof t))throw new TypeError("Cannot call a class as a function")}(this),this.resolveOptions(n),this.initSelection()}var n,e;return n=t,(e=[{key:"resolveOptions",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};this.action=t.action,this.container=t.container,this.emitter=t.emitter,this.target=t.target,this.text=t.text,this.trigger=t.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"createFakeElement",value:function(){var t="rtl"===document.documentElement.getAttribute("dir");return this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[t?"right":"left"]="-9999px",t=window.pageYOffset||document.documentElement.scrollTop,this.fakeElem.style.top="".concat(t,"px"),this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.fakeElem}},{key:"selectFake",value:function(){var t=this,n=this.createFakeElement();this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.container.appendChild(n),this.selectedText=r()(n),this.copyText(),this.removeFake()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=r()(this.target),this.copyText()}},{key:"copyText",value:function(){var t;try{t=document.execCommand(this.action)}catch(n){t=!1}this.handleResult(t)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=t,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==a(t)||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}])&&s(n.prototype,e),t}();function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function u(t,n){for(var e=0;e<n.length;e++){var i=n[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function d(t,n)
/**
* @copyright 2019 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @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/>.
*
*/
i.nc=btoa(OC.requestToken),r.default.use(s.a),r.default.use(c.default,{defaultHtml:!1}),r.default.prototype.t=t;new(r.default.extend(P))({propsData:{tokens:Object(o.loadState)("settings","app_tokens"),canCreateToken:Object(o.loadState)("settings","can_create_app_token")}}).$mount("#security-authtokens")}]);
//# sourceMappingURL=vue-settings-personal-security.js.map?v=4e4ae616f93aedeacb39