nextcloud/apps/settings/js/vue-0.js

851 lines
748 KiB
JavaScript
Raw Normal View History

(window.webpackJsonpSettings=window.webpackJsonpSettings||[]).push([[0],{140:function(e,t,n){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n=function(e,t){var n=e[1]||"",a=e[3];if(!a)return n;if(t&&"function"==typeof btoa){var r=(o=a,s=btoa(unescape(encodeURIComponent(JSON.stringify(o)))),l="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),"/*# ".concat(l," */")),i=a.sources.map((function(e){return"/*# sourceURL=".concat(a.sourceRoot||"").concat(e," */")}));return[n].concat(i).concat([r]).join("\n")}var o,s,l;return[n].join("\n")}(t,e);return t[2]?"@media ".concat(t[2]," {").concat(n,"}"):n})).join("")},t.i=function(e,n,a){"string"==typeof e&&(e=[[null,e,""]]);var r={};if(a)for(var i=0;i<this.length;i++){var o=this[i][0];null!=o&&(r[o]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);a&&r[l[0]]||(n&&(l[2]?l[2]="".concat(n," and ").concat(l[2]):l[2]=n),t.push(l))}},t}},141:function(e,t,n){"use strict";function a(e,t){for(var n=[],a={},r=0;r<t.length;r++){var i=t[r],o=i[0],s={id:e+":"+r,css:i[1],media:i[2],sourceMap:i[3]};a[o]?a[o].parts.push(s):n.push(a[o]={id:o,parts:[s]})}return n}n.r(t),n.d(t,"default",(function(){return p}));var r="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},o=r&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,c=!1,u=function(){},d=null,A="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(e,t,n,r){c=n,d=r||{};var o=a(e,t);return f(o),function(t){for(var n=[],r=0;r<o.length;r++){var s=o[r];(l=i[s.id]).refs--,n.push(l)}t?f(o=a(e,t)):o=[];for(r=0;r<n.length;r++){var l;if(0===(l=n[r]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete i[l.id]}}}}function f(e){for(var t=0;t<e.length;t++){var n=e[t],a=i[n.id];if(a){a.refs++;for(var r=0;r<a.parts.length;r++)a.parts[r](n.parts[r]);for(;r<n.parts.length;r++)a.parts.push(g(n.parts[r]));a.parts.length>n.parts.length&&(a.parts.length=n.parts.length)}else{var o=[];for(r=0;r<n.parts.length;r++)o.push(g(n.parts[r]));i[n.id]={id:n.id,refs:1,parts:o}}}}function m(){var e=document.createElement("style");return e.type="text/css",o.appendChild(e),e}function g(e){var t,n,a=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(a){if(c)return u;a.parentNode.removeChild(a)}if(A){var r=l++;a=s||(s=m()),t=b.bind(null,a,r,!1),n=b.bind(null,a,r,!0)}else a=m(),t=x.bind(null,a),n=function(){a.parentNode.removeChild(a)};return t(e),function(a){if(a){if(a.css===e.css&&a.media===e.media&&a.sourceMap===e.sourceMap)return;t(e=a)}else n()}}var h,v=(h=[],function(e,t){return h[e]=t,h.filter(Boolean).join("\n")});function b(e,t,n,a){var r=n?"":a.css;if(e.styleSheet)e.styleSheet.cssText=v(t,r);else{var i=document.createTextNode(r),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(i,o[t]):e.appendChild(i)}}function x(e,t){var n=t.css,a=t.media,r=t.sourceMap;if(a&&e.setAttribute("media",a),d.ssrId&&e.setAttribute("data-vue-ssr-id",t.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},155:function(e,t,n){var a=n(1),r=n(0),i=n(25),o=r("iterator");e.exports=!a((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,n="";return e.pathname="c%20d",t.forEach((function(e,a){t.delete("b"),n+=a+e})),i&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[o]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==n||"x"!==new URL("http://x",void 0
/**
* @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/>.
*
*/
a.VTooltip.options.defaultTemplate='<div class="vue-tooltip" role="tooltip" data-v-'.concat("e1f55ce",'><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'),a.VTooltip.options.defaultHtml=!1,t.default=a.VTooltip},function(e,t){e.exports=n(223)},function(e,t){e.exports=n(130)},function(e,t,n){"use strict";n(12),n(28);var a=n(5),r=n.n(a);
/**
* @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/>.
*
*/t.a={before:function(){this.$slots.default&&""!==this.text.trim()||(r.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(e,t,n){"use strict";n(4),n(21),n(23),n(30),t.a=function(e){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,e||5)}},function(e,t){e.exports=n(47)},function(e,t){e.exports=n(74)},function(e,t){e.exports=n(131)},function(e,t){e.exports=n(38)},function(e,t){e.exports=n(224)},function(e,t){e.exports=n(73)},function(e,t){e.exports=n(226)},function(e,t){e.exports=n(75)},function(e,t,n){"use strict";n(18),n(4),n(19),n(20),n(24);var a=n(16),r=(n(12),function(e,t){for(var n=e.$parent;n;){if(n.$options.name===t)return n;n=n.$parent}});t.a={mixins:[a.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(e){return!1}}},methods:{onClick:function(e){if(this.$emit("click",e),this.closeAfterClick){var t=r(this,"Actions");t&&t.closeMenu&&t.closeMenu()}}}}},function(e,t){e.exports=n(225)},function(e,t){e.exports=n(227)},function(e,t,n){var a=n(67);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("640a212a",a,!0,{})},function(e,t){e.exports=n(53)},function(e,t,n){"use strict";n(25),n(15),n(65),n(12);var a=n(5),r=n.n(a);t.a=function(e,t,n){if(void 0!==e)for(var a=e.length-1;a>=0;a--){var i=e[a],o=!i.componentOptions&&i.tag&&-1===t.indexOf(i.tag),s=!!i.componentOptions&&"string"==typeof i.componentOptions.tag,l=s&&-1===t.indexOf(i.componentOptions.tag);(o||!s||l)&&((o||l)&&r.a.util.warn("".concat(o?i.tag:i.componentOptions.tag," is not allowed inside the ").concat(n.$options.name," component"),n),e.splice(a,1))}}},function(e,t,n){"use strict";var a=n(6);t.a={methods:{n:a.a,t:a.b}}},function(e,t){e.exports=n(276)},function(e,t,n){var a=n(73);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("1f2ec49f",a,!0,{})},function(e,t,n){var a=n(75);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("9c561116",a,!0,{})},function(e,t,n){var a=n(77);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("93093140",a,!0,{})},function(e,t){},function(e,t,n){"use strict";n.r(t);var a=n(43);
/**
* @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/>.
*
*/t.default=a.a},function(e,t,n){var a=n(87);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("2e9b7708",a,!0,{})},function(e,t,n){var a=n(41);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("941c791e",a,!0,{})},function(e,t,n){(t=n(1)(!1)).push([e.i,".vue-tooltip[data-v-e1f55ce]{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;white-space:normal;text-decoration:none;letter-spacing:normal;word-spacing:normal;text-transform:none;word-wrap:normal;word-break:normal;opacity:0;text-shadow:none;font-family:'Nunito', 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;font-size:12px;font-weight:normal;font-style:normal;line-height:1.6;line-break:auto;filter:drop-shadow(0 1px 10px var(--color-box-shadow))}.vue-tooltip[data-v-e1f55ce][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-e1f55ce][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-e1f55ce][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-e1f55ce][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-e1f55ce][aria-hidden='true']{visibility:hidden;transition:opacity .15s, visibility .15s;opacity:0}.vue-tooltip[data-v-e1f55ce][aria-hidden='false']{visibility:visible;transition:opacity .15s;opacity:1}.vue-tooltip[data-v-e1f55ce] .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-e1f55ce] .tooltip-arrow{position:absolute;z-index:1;width:0;height:0;margin:0;border-style:solid;border-color:var(--color-main-background)}\n",""]),e.exports=t},function(e,t){},function(e,t,n){"use strict";n(25),n(46),n(15);var a=n(14),r=n(13),i=n(17),o=(n(64),function(e){var t=e.getBoundingClientRect(),n=document.documentElement.clientHeight,a=document.documentElement.clientWidth,r=Object.assign({});return r.top=t.top<0,r.left=t.left<0,r.bottom=t.bottom>n,r.right=t.right>a,r.any=r.top||r.left||r.bottom||r.right,r.all=r.top&&r.left&&r.bottom&&r.right,r.offsetY=r.top?t.top:r.bottom?t.bottom-n:0,r.offsetX=r.left?t.left:r.right?t.right-a:0,r}),s=n(31),l=n(6),c=["ActionButton","ActionCheckbox","ActionInput","ActionLink","ActionRadio","ActionRouter","ActionSeparator","ActionText","ActionTextEditable"],u={name:"Actions",directives:{ClickOutside:a.directive,tooltip:r.default},props:{open:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},menuAlign:{type:String,default:"center",validator:function(e){return["left","center","right"].indexOf(e)>-1}},defaultIcon:{type:String,default:"action-item__menutoggle--default-icon"},ariaLabel:{type:String,default:Object(l.b)("Actions")}},data:function(){return{actions:[],opened:this.open,focusIndex:0,randomId:"menu-"+Object(i.a)(),offsetX:0,offsetY:0,offsetYArrow:0,rotateArrow:!1,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 e=this.firstActionVNode.componentOptions.tag;if("ActionLink"===e)return{is:"a",href:this.firstAction.href,target
/**
* @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/>.
*
*/t.a=function(e){e.mounted?Array.isArray(e.mounted)||(e.mounted=[e.mounted]):e.mounted=[],e.mounted.push((function(){this.$el.setAttribute("data-v-".concat("e1f55ce"),"")}))}},function(e,t){e.exports=n(277)},function(e,t){e.exports=n(134)},function(e,t,n){var a=n(127);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("75b9f902",a,!0,{})},function(e,t,n){var a=n(129);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("9ee2a826",a,!0,{})},function(e,t,n){"use strict";
/**
* @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 a(e,t,n){this.r=e,this.g=t,this.b=n}function r(e,t,n){var r=[];r.push(t);for(var i=function(e,t){var n=new Array(3);return n[0]=(t[1].r-t[0].r)/e,n[1]=(t[1].g-t[0].g)/e,n[2]=(t[1].b-t[0].b)/e,n}(e,[t,n]),o=1;o<e;o++){var s=parseInt(t.r+i[0]*o,10),l=parseInt(t.g+i[1]*o,10),c=parseInt(t.b+i[2]*o,10);r.push(new a(s,l,c))}return r}n(25),t.a=function(e){e||(e=6);var t=new a(182,70,157),n=new a(221,203,85),i=new a(0,130,201),o=r(e,t,n),s=r(e,n,i),l=r(e,i,t);return o.concat(s).concat(l)}},function(e,t){},function(e,t,n){"use strict";n.r(t),n(15),n(18),n(4),n(23),n(19),n(20),n(24);var a={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(e){return!e.input||-1!==["text","checkbox"].indexOf(e.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(e){return!1}}},methods:{action:function(e){this.item.action&&this.item.action(e)}}},r=(n(72),n(74),n(0)),i={name:"PopoverMenu",components:{PopoverMenuItem:Object(r.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",[e.item.href?n("a",{staticClass:"focusable",attrs:{href:e.item.href?e.item.href:"#",target:e.item.target?e.item.target:"",download:e.item.download,rel:"noreferrer noopener"},on:{click:e.action}},[e.iconIsUrl?n("img",{attrs:{src:e.item.icon}}):n("span",{class:e.item.icon}),e._v(" "),e.item.text&&e.item.longtext?n("p",[n("strong",{staticClass:"menuitem-text"},[e._v("\n\t\t\t\t"+e._s(e.item.text)+"\n\t\t\t")]),n("br"),e._v(" "),n("span",{staticClass:"menuitem-text-detail"},[e._v("\n\t\t\t\t"+e._s(e.item.longtext)+"\n\t\t\t")])]):e.item.text?n("span",[e._v("\n\t\t\t"+e._s(e.item.text)+"\n\t\t")]):e.item.longtext?n("p",[e._v("\n\t\t\t"+e._s(e.item.longtext)+"\n\t\t")]):e._e()]):e.item.input?n("span",{staticClass:"menuitem",class:{active:e.item.active}},["checkbox"!==e.item.input?n("span",{class:e.item.icon}):e._e(),e._v(" "),"text"===e.item.input?n("form",{class:e.item.input,on:{submit:function(t){return t.preventDefault(),e.item.action(t)}}},[n("input",{attrs:{type:e.item.input,placeholder:e.item.text,required:""},domProps:{value:e.item.value}}),e._v(" "),n("input",{staticClass:"icon-confirm",attrs:{type:"submit",value:""}})]):["checkbox"===e.item.input?n("input",{directives:[{name:"model",rawName:"v-model",value:e.item.model,expression:"item.model"}],class:e.item.input,attrs:{id:e.key,type:"checkbox"},domProps:{checked:Array.isArray(e.item.model)?e._i(e.item.model,null)>-1:e.item.model},on:{change:[function(t){var n=e.item.model,a=t.target,r=!!a.checked;if(Array.isArray(n)){var i=e._i(n,null);a.checked?i<0&&e.$set(e.item,"model",n.concat([null])):i>-1&&e.$set(e.item,"model",n.slice(0,i).concat(n.slice(i+1)))}else e.$set(e.item,"model",r)},e.item.action]}}):"radio"===e.item.input?n("input",{directives:[{name:"model",rawName:"v-model",value:e.item.model,expression:"item.model"}],class:e.item.input,attrs:{id:e.key,type:"radio"},domProps:{checked:e._q(e.item.model,null)},on:{change:[function(t){return e.$set(e.item,"model",null)},e.item.action]}}):n("input",{directives:[{name:"model",rawName:"v-model",value:e.item.model,expression:"item.model"}],class:e.item.input,attrs:{id:e.key,type:e.item.input},domProps:{value:e.item.model},on:{change:e.item.action,input:function(t){t.target.composing||e.$set(e.item,"model",t.target.value)}}}),e._v(" "),n("label",{attrs:{for:e.key},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.item.action(t)}}},[e._v("\n\t\t\t\t"+e._s(e.item.text)+"\n\t\t\t")])]],2):e.item.action?n("button",{staticClass:"menuitem focusable",class:{active:e.item.active},attrs:{disabled:e.item.disabled},on:{click:function(t){return t.stopPropagation(),t.preventDefault(),e.item.action(t)}}},[n("span",{class:e.item.icon}),e._v(" "),e.item.text&&e.item.longtext?n("p",[n("strong",{staticClass:"menuitem-text"},[e._v("\n\t\t\t\t"+e._s(e.item.text)+"\n\t\t\t")]),n("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/>.
*
*/t.default=c},function(e,t){e.exports=n(33)},function(e,t,n){"use strict";n.r(t),n(25),n(71),n(22),n(33),n(4),n(68),n(69);var a=n(14),r=n(51),i=n(52),o=n.n(i),s=n(13),l=(n(21),n(85),n(30),n(63)),c=n.n(l),u=n(49);function d(e,t,n,a,r,i,o){try{var s=e[i](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(a,r)}function A(e){return function(){var t=this,n=arguments;return new Promise((function(a,r){var i=e.apply(t,n);function o(e){d(i,a,r,o,s,"next",e)}function s(e){d(i,a,r,o,s,"throw",e)}o(void 0)}))}}var p={name:"Avatar",directives:{tooltip:s.default,ClickOutside:a.directive},components:{PopoverMenu:r.default},props:{url:{type:String,default:void 0},iconClass:{type:String,default:void 0},user:{type:String,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(e){switch(e){case"positive":case"negative":case"neutral":return!0}return!1}},statusColor:{type:[Number,String],default:null,validator:function(e){return/^([a-f0-9]{3}){1,2}$/i.test(e)}},menuPosition:{type:String,default:"center"}},data:function(){return{avatarUrlLoaded:null,avatarSrcSetLoaded:null,userDoesNotExist:!1,isAvatarLoaded:!1,isMenuLoaded:!1,contactsMenuActions:[],contactsMenuOpenState:!1}},computed:{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(){return!this.disableMenu&&(this.isMenuLoaded?this.menu.length>0:!(this.user===OC.getCurrentUser().uid||this.userDoesNotExist||this.url))},shouldShowPlaceholder:function(){return this.allowPlaceholder&&this.userDoesNotExist},avatarStyle:function(){var e={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 t=function(e){var t=e.toLowerCase();return null===t.match(/^([0-9a-f]{4}-?){8}$/)&&(t=c()(t)),t=t.replace(/[^0-9a-f]/g,""),Object(u.a)(6)[function(e,t){for(var n=0,a=[],r=0;r<e.length;r++)a.push(parseInt(e.charAt(r),16)%16);for(var i in a)n+=a[i];return parseInt(parseInt(n,10)%18,10)}(t)]}(this.getUserIdentifier);e.backgroundColor="rgb("+t.r+", "+t.g+", "+t.b+")"}return e},tooltip:function(){return!this.disableTooltip&&(this.tooltipMessage?this.tooltipMessage:this.displayName)},initials:function(){return this.shouldShowPlaceholder?this.getUserIdentifier.charAt(0).toUpperCase():"?"},menu:function(){return this.contactsMenuActions.map((function(e){return{href:e.hyperlink,icon:e.icon,text:e.title}}))}},watch:{url:function(){this.userDoesNotExist=!1,this.loadAvatarUrl()},user:function(){this.userDoesNotExist=!1,this.isMenuLoaded=!1,this.loadAvatarUrl()}},mounted:function(){this.loadAvatarUrl()},methods:{toggleMenu:function(){var e=this;return A(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e.hasMenu){t.next=2;break}return t.abrupt("return");case 2:if(e.contactsMenuOpenState){t.next=5;break}return t.next=5,e.fetchContactsMenu();case 5:e.contactsMenuOpenState=!e.contactsMenuOpenState;case 6:case"end":return t.stop()}}),t)})))()},closeMenu:function(){this.contactsMenuOpenState=!1},fetchContactsMenu:function(){var e=this;return A(regeneratorRuntime.mark((function t(){var n,a,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,n=encodeURIComponent(e.user),t.next=4,o.a.post(OC.generateUrl("contactsmenu/findOne"),"shareType=0&shareWith=".concat(n));case 4:a=t.sent,r=a.data,e.contactsMenuActions=r.topAction?[r.topAction].concat(r.actions):r.actions,t.next=12;break;case 9:t.prev=9,t.t0=t.catch(0),e.contactsMenuOpenState=!
/**
* @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/>.
*
*/t.default=v},function(e,t){},function(e,t){},function(e,t,n){var a=n(149);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("619ae60e",a,!0,{})},function(e,t,n){var a=n(151);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("315ade54",a,!0,{})},function(e,t,n){var a=n(153);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("781fc789",a,!0,{})},function(e,t,n){var a=n(155);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("5383cf7b",a,!0,{})},function(e,t,n){var a=n(159);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("1f1302d4",a,!0,{})},function(e,t,n){var a=n(161);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("2efb16ed",a,!0,{})},function(e,t,n){"use strict";n.r(t);var a={name:"Popover",components:{VPopover:n(3).VPopover}},r=(n(128),n(0)),i=n(55),o=n.n(i),s=Object(r.a)(a,(function(){var e=this.$createElement,t=this._self._c||e;return t("VPopover",this._g(this._b({staticClass:"popover"},"VPopover",this.$attrs,!1),this.$listeners),[this._t("trigger"),this._v(" "),t("template",{slot:"popover"},[this._t("default")],2)],2)}),[],!1,null,"71f013aa",null);"function"==typeof o.a&&o()(s);var l=s.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/>.
*
*/t.default=l},function(e,t){e.exports=n(278)},function(e,t){e.exports=n(133)},function(e,t){e.exports=n(228)},function(e,t,n){"use strict";var a=n(29);n.n(a).a},function(e,t,n){var a=n(1),r=n(7),i=n(8),o=n(9),s=n(10),l=n(11);t=a(!1);var c=r(i),u=r(o),d=r(s),A=r(l);t.push([e.i,'@font-face{font-family:"iconfont-vue-e1f55ce";src:url('+c+");src:url("+c+') format("embedded-opentype"),url('+u+') format("woff"),url('+d+') format("truetype"),url('+A+') format("svg")}.icon[data-v-7b368b0c]{font-style:normal;font-weight:400}.icon.arrow-left-double[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.arrow-left[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.arrow-right-double[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.arrow-right[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.breadcrumb[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.checkmark[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.close[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.confirm[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.info[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.menu[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.more[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.pause[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.play[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.triangle-s[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";content:""}.action-item[data-v-7b368b0c]{position:relative;display:inline-block}.action-item--single[data-v-7b368b0c]:hover,.action-item--single[data-v-7b368b0c]:focus,.action-item--single[data-v-7b368b0c]:active,.action-item__menutoggle[data-v-7b368b0c]:hover,.action-item__menutoggle[data-v-7b368b0c]:focus,.action-item__menutoggle[data-v-7b368b0c]:active{border-radius:22px;background-color:rgba(127,127,127,0.25) !important;opacity:1}.action-item.action-item--open .action-item__menutoggle[data-v-7b368b0c]{opacity:1;border-radius:22px;background-color:rgba(127,127,127,0.25)}.action-item--single[data-v-7b368b0c],.action-item__menutoggle[data-v-7b368b0c]{box-sizing:border-box;width:44px;height:44px;margin:0;padding:14px;cursor:pointer;border:none;background-color:transparent}.action-item__menutoggle[data-v-7b368b0c]{display:flex;align-items:center;justify-content:center;opacity:.7}.action-item__menutoggle[data-v-7b368b0c]:before{content:\'\'}.action-item__menutoggle--default-icon[data-v-7b368b0c]{font-size:16px}.action-item__menutoggle--default-icon[data-v-7b368b0c]:before{font-family:"iconfont-vue-e1f55ce";font-style:normal;font-weight:400;content:""}.action-item--single[data-v-7b368b0c]{opacity:.7}.action-item--single[data-v-7b368b0c]:hover,.action-item--single[data-v-7b368b0c]:focus,.action-item--single[data-v-7b368b0c]:active{opacity:1}.action-item--single>[hidden][data-v-7b368b0c]{display:none}.action-item--multiple[data-v-7b368b0c]{position:relative}.action-item__menu[data-v-7b368b0c]{position:absolute;z-index:110;right:50%;display:none;margin-bottom:10px;margin-top:-5px;transform:translateX(50%);color:var(--color-main-text);border-radius:var(--border-radius);background-color:var(--color-main-background);filter:drop-shadow(0 1px 3px var(--color-box-shadow))}.action-item__menu ul[data-v-7b368b0c]>:not(li){display:none}.action-item__menu.open[data-v-7b368b0c]{display:block}.action-item__menu .action-item__menu_arrow[data-v-7b368b0c]{position:absolute;right:50%;bottom:100%;width:0;height:0;margin-right:-9px;content:\' \';pointer-events:none;border:solid transparent;border-width:9px;border-bottom-color:var(--color-main-background)}.action-item__menu.menu-right[data-v-7b368b0c]{right:0;left:auto;transform:none}.action-item__menu.menu-right .action-item__menu_arrow[data-v-7b368b0c]{right:13px;margin-right
/**
* @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/>.
*
*/t.default=a.a},function(e,t,n){var a=n(197);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("29367d98",a,!0,{})},function(e,t,n){var a=n(199);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("4a42cc32",a,!0,{})},function(e,t,n){var a=n(201);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("2dfaf5b6",a,!0,{})},function(e,t,n){var a=n(203);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("8c7fefd2",a,!0,{})},function(e,t,n){var a=n(205);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("09e576c0",a,!0,{})},function(e,t,n){var a=n(207);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("16f9a7fd",a,!0,{})},function(e,t,n){var a=n(209);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("3a89e615",a,!0,{})},function(e,t,n){var a=n(211);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("1732c148",a,!0,{})},function(e,t,n){var a=n(213);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("358576b8",a,!0,{})},function(e,t,n){var a=n(215);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("334af9b1",a,!0,{})},function(e,t,n){var a=n(217);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("7d8c014f",a,!0,{})},function(e,t,n){var a=n(219);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("637134c2",a,!0,{})},function(e,t,n){var a=n(221);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("3029bde6",a,!0,{})},function(e,t,n){var a=n(223);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("361fd107",a,!0,{})},function(e,t,n){var a=n(225);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("77494b70",a,!0,{})},function(e,t,n){var a=n(227);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("1e3ece15",a,!0,{})},function(e,t,n){"use strict";n.r(t),n.d(t,"directive",(function(){return a}));
/**
* @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 a={inserted:function(e){e.focus()}};t.default=a},function(e,t,n){var a=n(230);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("45aebdd4",a,!0,{})},function(e,t,n){var a=n(232);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("4dd3631b",a,!0,{})},function(e,t,n){var a=n(234);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("d7dc05bc",a,!0,{})},function(e,t,n){var a=n(239);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("704815e4",a,!0,{})},function(e,t,n){var a=n(241);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("68ca4235",a,!0,{})},function(e,t,n){var a=n(243);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("6e72f645",a,!0,{})},function(e,t,n){var a=n(246);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("2c80b26e",a,!0,{})},function(e,t,n){var a=n(248);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("fb56f796",a,!0,{})},function(e,t,n){"use strict";n.r(t);var a=n(44),r=(n(84),n(122),n(156),n(18),n(71),n(22),n(121),n(33),n(4),n(19),n(20),n(21),n(123),n(45)),i=n.n(r),o=n(53),s=(n(157),n(23),n(30),{methods:{highlightText:function(e,t){return t.length?e.replace(new RegExp(t,"gi"),"<strong>".concat(t,"</strong>")):e}}}),l={name:"AvatarSelectOption",components:{Avatar:o.default},mixins:[s],props:{desc:{type:String,default:""},displayName:{type:String,required:!0},icon:{type:String,default:""},user:{type:String,default:""},isNoUser:{type:Boolean,default:!1},search:{type:String,default:""}},computed:{highlightedDisplayName:function(){return this.highlightText(i()(this.displayName),this.search)},highlightedDesc:function(){return this.highlightText(i()(this.desc),this.search)}}},c=(n(158),n(0)),u=n(81),d=n.n(u),A=Object(c.a)(l,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("span",{staticClass:"option"},[n("Avatar",{staticClass:"option__avatar",attrs:{"display-name":e.displayName,user:e.user,"is-no-user":e.isNoUser,"disable-menu":!0,"disable-tooltip":!0}}),e._v(" "),n("div",{staticClass:"option__desc"},[n("span",{staticClass:"option__desc--lineone",domProps:{innerHTML:e._s(e.highlightedDisplayName)}}),e._v(" "),""!==e.desc?n("span",{staticClass:"option__desc--linetwo",domProps:{innerHTML:e._s(e.highlightedDesc)}}):e._e()]),e._v(" "),""!==e.icon?n("span",{staticClass:"icon option__icon",class:e.icon}):e._e()],1)}),[],!1,null,"808e3c40",null);"function"==typeof d.a&&d()(A);var p=A.exports,f=(n(12),{name:"EllipsisedOption",mixins:[s],props:{option:{type:[String,Object],required:!0,default:""},label:{type:String,default:""},search:{type:String,default:""}},computed:{name:function(){return this.$parent.getOptionLabel(this.option)},needsTruncate:function(){return this.name&&this.name.length>=10},part1:function(){if(this.needsTruncate){var e=Math.min(Math.floor(this.name.length/2),10);return this.name.substr(0,this.name.length-e)}return this.name},part2:function(){if(this.needsTruncate){var e=Math.min(Math.floor(this.name.length/2),10);return this.name.substr(this.name.length-e)}return""},highlightedPart1:function(){return this.highlightText(i()(this.part1),this.search)},highlightedPart2:function(){return this.highlightText(i()(this.part2),this.search)}}}),m=(n(160),Object(c.a)(f,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"name-parts",attrs:{title:e.name}},[n("span",{staticClass:"name-parts__first",domProps:{innerHTML:e._s(e.highlightedPart1)}}),e._v(" "),e.part2?n("span",{staticClass:"name-parts__last",domProps:{innerHTML:e._s(e.highlightedPart2)}}):e._e()])}),[],!1,null,"2d5d34b0",null).exports),g=n(32),h=n(13),v=n(125);function b(e){return(b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var x={name:"Multiselect",componen
/**
* @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(a.a)(T),t.default=T},function(e,t,n){"use strict";n.r(t);var a={name:"Breadcrumb",components:{Actions:n(38).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(e){this.$emit("update:open",e)},dropped:function(e){return!this.disableDrop&&(this.$emit("dropped",e,this.to||this.href),this.$parent.$emit("dropped",e,this.to||this.href),this.hovering=!1,!1)},dragEnter:function(e){this.disableDrop||(this.hovering=!0)},dragLeave:function(e){this.disableDrop||e.target.contains(e.relatedTarget)||this.$refs.crumb.contains(e.relatedTarget)||(this.hovering=!1)}}},r=(n(154),n(0)),i=n(80),o=n.n(i),s=Object(r.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"crumb",staticClass:"crumb",class:{"crumb--with-action":e.$slots.default,"crumb--hovered":e.hovering},attrs:{draggable:"false"},on:{dragstart:function(e){e.preventDefault()},drop:function(t){return t.preventDefault(),e.dropped(t)},dragover:function(e){e.preventDefault()},dragenter:e.dragEnter,dragleave:e.dragLeave}},[e.title||e.icon?n(e.tag,{tag:"element",attrs:{to:e.to,href:e.href}},[e.icon?n("span",{staticClass:"icon",class:e.icon}):n("span",[e._v(e._s(e.title))])]):e._e(),e._v(" "),n("Actions",{ref:"actions",attrs:{"force-menu":e.forceMenu,open:e.open},on:{"update:open":e.onOpenChange}},[e._t("default")],2)],1)}),[],!1,null,"7d9c1e9f",null);"function"==typeof o.a&&o()(s);var l=s.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/>.
*
*/t.default=l},function(e,t,n){"use strict";n.r(t);var a=n(44),r=(n(33),n(124)),i={name:"DatetimePicker",components:{DatePicker:n.n(r).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,Object],default:function(){var e={date:"YYYY-MM-DD",datetime:"YYYY-MM-DD H:mm:ss",year:"YYYY",month:"YYYY-MM",time:"H:mm:ss",week:"w"};return e[this.type]||e.date}},value:{default:function(){return new Date}}},methods:{handleSelectYear:function(e){var t=this.$refs.datepicker.currentValue;if(t)try{var n=new Date(new Date(t).setFullYear(e));this.$refs.datepicker.selectDate(n)}catch(n){console.error("Invalid value",t,e)}},handleSelectMonth:function(e){var t=this.$refs.datepicker.currentValue;if(t)try{var n=new Date(new Date(t).setMonth(e));this.$refs.datepicker.selectDate(n)}catch(n){console.error("Invalid value",t,e)}}}},o=n(0),s=n(78),l=n.n(s),c=Object(o.a)(i,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("DatePicker",e._g(e._b({ref:"datepicker",attrs:{clearable:e.clearable,"minute-step":e.minuteStep,format:e.format,type:e.type,value:e.value,"append-to-body":!1},on:{"select-year":e.handleSelectYear,"select-month":e.handleSelectMonth,"update:value":function(t){return e.$emit("update:value",e.value)}},scopedSlots:e._u([e._l(e.$scopedSlots,(function(t,n){return{key:n,fn:function(t){return[e._t(n,null,null,t)]}}}))],null,!0)},"DatePicker",e.$attrs,!1),e.$listeners))}),[],!1,null,null,null);"function"==typeof l.a&&l()(c);var u=c.exports;n(146),
/**
* @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(a.a)(u),t.default=u},function(e,t,n){"use strict";n.r(t),n(15),n(18),n(4),n(19),n(120),n(20),n(24);var a={name:"ActionLink",mixins:[n(26).a],props:{href:{type:String,default:"#",required:!0,validator:function(e){try{return new URL(e)}catch(t){return e.startsWith("#")||e.startsWith("/")}}},download:{type:String,default:null},target:{type:String,default:"_self",validator:function(e){return["_blank","_self","_parent","_top"].indexOf(e)>-1}}}},r=(n(148),n(0)),i=n(79),o=n.n(i),s=Object(r.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",[n("a",{staticClass:"action-link focusable",attrs:{download:e.download,href:e.href,"aria-label":e.ariaLabel,target:e.target,rel:"noreferrer noopener"},on:{click:e.onClick}},[n("span",{staticClass:"action-link__icon",class:[e.isIconUrl?"action-link__icon--url":e.icon],style:{backgroundImage:e.isIconUrl?"url("+e.icon+")":null}}),e._v(" "),e.title?n("p",[n("strong",{staticClass:"action-link__title"},[e._v("\n\t\t\t\t"+e._s(e.title)+"\n\t\t\t")]),e._v(" "),n("br"),e._v(" "),n("span",{staticClass:"action-link__longtext",domProps:{textContent:e._s(e.text)}})]):e.isLongText?n("p",{staticClass:"action-link__longtext",domProps:{textContent:e._s(e.text)}}):n("span",{staticClass:"action-link__text"},[e._v(e._s(e.text))]),e._v(" "),e._e()],2)])}),[],!1,null,"2460fb77",null);"function"==typeof o.a&&o()(s);var l=s.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/>.
*
*/t.default=l},function(e,t,n){"use strict";n.r(t);var a={name:"ActionRouter",mixins:[n(26).a],props:{to:{type:[String,Object],default:"",required:!0},exact:{type:Boolean,default:!1}}},r=(n(150),n(0)),i=Object(r.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",[n("router-link",{staticClass:"action-router focusable",attrs:{to:e.to,exact:e.exact,"aria-label":e.ariaLabel,rel:"noreferrer noopener"}},[n("span",{staticClass:"action-router__icon",class:[e.isIconUrl?"action-router__icon--url":e.icon],style:{backgroundImage:e.isIconUrl?"url("+e.icon+")":null}}),e._v(" "),e.title?n("p",[n("strong",{staticClass:"action-router__title"},[e._v("\n\t\t\t\t"+e._s(e.title)+"\n\t\t\t")]),e._v(" "),n("br"),e._v(" "),n("span",{staticClass:"action-router__longtext",domProps:{textContent:e._s(e.text)}})]):e.isLongText?n("p",{staticClass:"action-router__longtext",domProps:{textContent:e._s(e.text)}}):n("span",{staticClass:"action-router__text"},[e._v(e._s(e.text))]),e._v(" "),e._e()],2)],1)}),[],!1,null,"7dea1b0e",null).exports;t.default=i},function(e,t,n){"use strict";n.r(t);var a=n(5),r=new(n.n(a).a)({data:function(){return{isMobile:!1}},watch:{isMobile:function(e){this.$emit("changed",e)}},created:function(){window.addEventListener("resize",this.handleWindowResize),this.handleWindowResize()},beforeDestroy:function(){window.removeEventListener("resize",this.handleWindowResize)},methods:{handleWindowResize:function(){this.isMobile=document.documentElement.clientWidth<1024}}});t.default={data:function(){return{isMobile:!1}},mounted:function(){r.$on("changed",this.onIsMobileChanged),this.isMobile=r.isMobile},beforeDestroy:function(){r.$off("changed",this.onIsMobileChanged)},methods:{onIsMobileChanged:function(e){this.isMobile=e}}}},function(e,t){e.exports=n(301)},function(e,t){e.exports=n(285)},function(e,t){e.exports=n(286)},function(e,t){e.exports=n(287)},function(e,t){e.exports=n(315)},function(e,t){e.exports=n(288)},function(e,t,n){"use strict";var a=n(47);n.n(a).a},function(e,t,n){(t=n(1)(!1)).push([e.i,"li.active[data-v-33ba3302]{box-shadow:inset 4px 0 var(--color-primary)}.action--disabled[data-v-33ba3302]{pointer-events:none;opacity:.5}.action--disabled[data-v-33ba3302]:hover,.action--disabled[data-v-33ba3302]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-33ba3302]{opacity:1 !important}.action-button[data-v-33ba3302]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;padding-right:14px;cursor:pointer;white-space:nowrap;opacity:.7;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:normal;line-height:44px}.action-button[data-v-33ba3302]:hover,.action-button[data-v-33ba3302]:focus{opacity:1}.action-button>span[data-v-33ba3302]{cursor:pointer;white-space:nowrap}.action-button__icon[data-v-33ba3302]{width:44px;height:44px;opacity:1;background-position:14px center;background-size:16px}.action-button p[data-v-33ba3302]{width:150px;padding:7px 0;margin:auto;cursor:pointer;text-align:left;line-height:1.6em}.action-button__longtext[data-v-33ba3302]{cursor:pointer;white-space:pre-wrap}.action-button__title[data-v-33ba3302]{font-weight:bold}\n",""]),e.exports=t},function(e,t,n){"use strict";var a=n(48);n.n(a).a},function(e,t,n){(t=n(1)(!1)).push([e.i,".popover[data-v-71f013aa]{padding:0px !important}\n",""]),e.exports=t},function(e,t,n){"use strict";n.r(t),n.d(t,"AppNavigationSpacer",(function(){return r}));var a=(n(152),n(0)),r=Object(a.a)({name:"AppNavigationToggle",methods:{emitClick:function(){this.$emit("click")}}},(function(){var e=this,t=e.$createElement;return(e._self._c||t)("a",{attrs:{id:"app-navigation-toggle",tabindex:"0",href:"#"},on:{click:function(t){return t.preventDefault(),e.emitClick(t)},keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.emitClick(t))}}})}),[],!1,null,"338280f2",null).exports;t.default=r},function(e,t){},function(e,t){},function(e,t){},function(e,t){},function(e,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/>.
*
*/
t.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(e,t,n){"use strict";n.r(t);var a=n(14),r=n(43),i=n(70),o={name:"AppNavigationIconCollapsible",props:{open:{type:Boolean,default:!0}},methods:{onClick:function(e){this.$emit("click",e)}}},s=(n(218),n(0)),l=Object(s.a)(o,(function(){var e=this.$createElement;return(this._self._c||e)("button",{staticClass:"icon-collapse",class:{"icon-collapse--rotated":this.open},on:{click:this.onClick}})}),[],!1,null,"24528cd0",null).exports,c=n(119),u={name:"AppNavigationItem",components:{Actions:r.a,ActionButton:i.a,AppNavigationIconCollapsible:l},directives:{ClickOutside:a.directive},mixins:[c.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}},data:function(){return{newTitle:"",opened:this.open,editing:!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(e){this.opened=e}},methods:{onMenuToggle:function(e){this.$emit("update:menuOpen",e)},toggleCollapse:function(){this.opened=!this.opened,this.$emit("update:open",this.opened)},onClick:function(e){this.$emit("click",e)},handleEdit:function(){var e=this;this.newTitle=this.title,this.editing=!0,this.onMenuToggle(!1),this.$nextTick((function(){e.$refs.inputTitle.focus()}))},cancelEdit:function(){this.editing=!1},handleRename:function(){this.$emit("update:title",this.newTitle),this.newTitle="",this.editing=!1},handleUndo:function(){this.$emit("undo")}}},d=(n(220),n(137)),A=n.n(d),p=Object(s.a)(u,(function(){var e,t=this,n=t.$createElement,a=t._self._c||n;return a("nav-element",t._b({staticClass:"app-navigation-entry",class:{"app-navigation-entry--no-icon":!t.isIconShown,"app-navigation-entry--opened":t.opened,"app-navigation-entry--pinned":t.pinned,"app-navigation-entry--editing":t.editing,"app-navigation-entry--deleted":t.undo,"app-navigation-entry--collapsible":t.collapsible,active:t.isActive},attrs:{title:t.title}},"nav-element",t.navElement,!1),[t.undo||t.editing?t._e():a("a",{staticClass:"app-navigation-entry-link",attrs:{href:"#"},on:{click:t.onClick}},[a("div",{staticClass:"app-navigation-entry-icon",class:(e={"icon-loading-small":t.loading},e[t.icon]=t.icon&&t.isIconShown,e)},[t.loading?t._e():t._t("icon")],2),t._v(" "),a("span",{staticClass:"app-navigation-entry__title"},[t._v(t._s(t.title))])]),t._v(" "),t.collapsible?a("AppNavigationIconCollapsible",{attrs:{open:t.opened},on:{click:function(e){return e.preventDefault(),e.stopPropagation(),t.toggleCollapse(e)}}}):t._e(),t._v(" "),t.undo?a("div",{staticClass:"app-navigation-entry__deleted"},[a("div",{staticClass:"app-navigation-entry__deleted-description"},[t._v("\n\t\t\t"+t._s(t.title)+"\n\t\t")])]):t._e(),t._v(" "),t.hasUtils?a("div",{staticClass:"app-navigation-entry__utils"},[t._t("counter"),t._v(" "),a("Actions",{attrs:{"menu-align":"righ
/**
* @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/>.
*
*/t.default=f},function(e,t,n){"use strict";n.r(t);var a=n(44),r=(n(15),n(33),n(83)),i=n.n(r),o=n(38),s=n(88),l=n(32),c=n(6),u=n(13);
/**
* @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(e,t){var n,a,r,i=t;this.start=function(){r=!0,a=new Date,n=setTimeout(e,i)},this.pause=function(){r=!1,clearTimeout(n),i-=new Date-a},this.clear=function(){r=!1,clearTimeout(n),i=0},this.getTimeLeft=function(){return r&&(this.pause(),this.start()),i},this.getStateRunning=function(){return r},this.start()}var A={name:"Modal",components:{Actions:o.default,ActionButton:s.default},directives:{tooltip:u.default},mixins:[l.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(e){return-1!==["normal","large","full"].indexOf(e)}},canClose:{type:Boolean,default:!0},dark:{type:Boolean,default:!1}},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(c.b)("Pause slideshow"):Object(c.b)("Start slideshow")}},watch:{slideshowPaused:function(e){this.slideshowTimeout&&(e?this.slideshowTimeout.pause():this.slideshowTimeout.start())}},beforeMount:function(){window.addEventListener("keydown",this.handleKeydown)},beforeDestroy:function(){window.removeEventListener("keydown",this.handleKeydown)},mounted:function(){var e=this;this.showModal=!0,this.handleMouseMove(),this.mc=new i.a(this.$refs.mask),this.mc.on("swipeleft swiperight",(function(t){e.handleSwipe(t)})),document.body.insertBefore(this.$el,document.body.lastChild)},unmounted:function(){this.mc.off("swipeleft swiperight"),this.mc.destroy()},methods:{previous:function(e){this.hasPrevious&&(e&&this.resetSlideshow(),this.$emit("previous",e))},next:function(e){this.hasNext&&(e&&this.resetSlideshow(),this.$emit("next",e))},close:function(e){var t=this;this.canClose&&(this.showModal=!1,setTimeout((function(){t.$emit("close",e)}),300))},handleKeydown:function(e){switch(e.keyCode){case 37:this.previous(e);break;case 13:case 39:this.next(e);break;case 27:this.close(e)}},handleSwipe:function(e){this.enableSwipe&&("swipeleft"===e.type?this.next(e):"swiperight"===e.type&&this.previous(e))},handleMouseMove:function(){var e=this;this.clearViewDelay>0&&(this.clearView=!1,clearTimeout(this.clearViewTimeout),this.clearViewTimeout=setTimeout((function(){e.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 e=this;this.playing=!0,this.hasNext?this.slideshowTimeout=new d((function(){e.next(),e.handleSlideshow()}),this.slideshowDelay):(this.playing=!1,this.clearSlideshowTimeout())},clearSlideshowTimeout:function(){this.slideshowTimeout&&this.slideshowTimeout.clear()}}},p=(n(242),n(0)),f=n(142),m=n.n(f),g=Object(p.a)(A,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"fade"}},[n("div",{ref:"mask",staticClass:"modal-mask",class:{"modal-mask--dark":e.dark},on:{click:e.handleMouseMove,mousemove:e.handleMouseMove,touchmove:e.handleMouseMove}},[n("transition",{attrs:{name:"fade-visibility"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:!e.clearView,expression:"!clearView"}],staticClass:"modal-header",class:{invisible:e.clearView}},[""!==e.title.trim()?n("div",{staticClass:"modal-title"},[e._v("\n\t\t\t\t\t"+e._s(e.title)+"\n\t\t\t\t")]):e._e(),e._v(" "),n("div",{staticClass:"icons-menu"},[e.hasNext&&e.enableSlideshow?n("button",{directives:[{name:"tooltip",rawName:"v-tooltip.auto",value:e.playPauseTitle,expression:"playPauseTitle",modifiers:{auto:!0}}],staticClass:"play-paus
/**
* @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(a.a)(h),t.default=h},function(e,t,n){"use strict";n.r(t),n(46),n(244),n(22),n(33),n(4),n(68),n(69);var a=n(32),r=n(114),i=n(52),o=n.n(i),s=n(166);function l(e,t,n,a,r,i,o){try{var s=e[i](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(a,r)}
/**
* @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 c=function(e){var t=function e(t){var n={};if(1===t.nodeType){if(t.attributes.length>0){n["@attributes"]={};for(var a=0;a<t.attributes.length;a++){var r=t.attributes.item(a);n["@attributes"][r.nodeName]=r.nodeValue}}}else 3===t.nodeType&&(n=t.nodeValue);if(t.hasChildNodes())for(var i=0;i<t.childNodes.length;i++){var o=t.childNodes.item(i),s=o.nodeName;if(void 0===n[s])n[s]=e(o);else{if(void 0===n[s].push){var l=n[s];n[s]=[],n[s].push(l)}n[s].push(e(o))}}return n}(function(e){var t=null;try{t=(new DOMParser).parseFromString(e,"text/xml")}catch(e){console.error("Failed to parse xml document",e)}return t}(e))["d:multistatus"]["d:response"],n=[];for(var a in t){var r=t[a]["d:propstat"];"HTTP/1.1 200 OK"===r["d:status"]["#text"]&&n.push({id:parseInt(r["d:prop"]["oc:id"]["#text"]),displayName:r["d:prop"]["oc:display-name"]["#text"],canAssign:"true"===r["d:prop"]["oc:can-assign"]["#text"],userAssignable:"true"===r["d:prop"]["oc:user-assignable"]["#text"],userVisible:"true"===r["d:prop"]["oc:user-visible"]["#text"]})}return n},u=function(){var e,t=(e=regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!window.NextcloudVueDocs){e.next=2;break}return e.abrupt("return",Promise.resolve(c(window.NextcloudVueDocs.tags)));case 2:return e.next=4,o()({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 t=e.sent,e.abrupt("return",c(t.data));case 6:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(a,r){var i=e.apply(t,n);function o(e){l(i,a,r,o,s,"next",e)}function s(e){l(i,a,r,o,s,"throw",e)}o(void 0)}))});return function(){return t.apply(this,arguments)}}(),d=n(6);function A(e,t,n,a,r,i,o){try{var s=e[i](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(a,r)}var p={name:"MultiselectTags",components:{Multiselect:r.default},mixins:[a.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 e,t=this;return(e=regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,u();case 3:n=e.sent,t.tags=n,e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.error("Loading systemtags failed",e.t0);case 10:case"end":return e.stop()}}),e,null,[[0,7]])})),function(){var t=this,n=arguments;return new Promise((function(a,r){var i=e.apply(t,n);function o(e){A(i,a,r,o,s,"next",e)}function s(e){A(i,a,r,o,s,"throw",e)}o(void 0)}))})()},methods:{getValueObject:function(){var e=this;return 0===this.tags.length?[]:this.multiple?this.value.filter((function(e){return""!==e})).map((function(t){return e.tags.find((function(e){return e.id===t}))})):this.tags.find((function(t){return t.id===e.value}))},update:function(e){this.multiple?this.$emit("input",e.map((function(e){return e.id}))):null===e?this.$emit("input",null):this.$emit("input",e.id)},tagLabel:function(e){var t=e.displayName,n=e.userVisible,a=e.userAssignable;return!1===n?Object(d.b)("{tag} (invisible)",{tag:t}):!1===a?Object(d.b)("{tag} (restricted)",{tag:t}):t}}},f=n(0),m=n(143),g=n.n(m),h=Object(f.a)(p,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Multiselect",{attrs:{value:e.inputValue,options:e.tags,"options-limit":5,placeholder:e.label,"track-by":"id","custom-label":e.tagLabel,multiple:e.multiple,"close-on-select":e.multiple,"tag-width":60,disabled:e.disabled},on:{input:e.update},scopedSlots:e._u([{key:"option",fn:function(t){return[e._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/>.
*/t.default=v},function(e,t,n){"use strict";n.r(t);var a={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}}},r=(n(222),n(0)),i=Object(r.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-navigation-new"},[n("button",{class:e.buttonClass,attrs:{id:e.buttonId,type:"button",disabled:e.disabled},on:{click:function(t){return e.$emit("click")}}},[e._v("\n\t\t"+e._s(e.text)+"\n\t")])])}),[],!1,null,"ecee326e",null).exports;t.default=i},function(e,t,n){"use strict";n.r(t),n(18),n(4),n(19),n(20),n(24);var a=n(62),r=n(53),i={name:"UserBubble",components:{Popover:a.default,Avatar:r.default},props:{avatarImage:{type:String,default:""},user:{type:String,default:""},displayName:{type:String,required:!0},url:{type:String,default:""},open:{type:Boolean,default:!1},primary:{type:Boolean,default:!1}},computed:{isUserAvatar:function(){return!this.avatarImage},isIconUrl:function(){try{return new URL(this.avatarImage),!0}catch(e){return!1}},componentType:function(){return this.url?"div":"a"},linkOrNot:function(){return""!==this.url?{is:"a",href:this.url}:{is:"div"}},popoverEmpty:function(){return void 0===this.$slots.default}},methods:{onOpenChange:function(e){this.$emit("update:open",e)}}},o=(n(247),n(0)),s=n(145),l=n.n(s),c=Object(o.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Popover",{staticClass:"user-bubble-popover",attrs:{trigger:"hover focus",open:e.open,disabled:e.popoverEmpty},on:{"update:open":e.onOpenChange}},[n("div",e._b({staticClass:"user-bubble",class:e.primary?"user-bubble-primary":"",attrs:{slot:"trigger"},slot:"trigger"},"div",e.linkOrNot,!1),[n("Avatar",{staticClass:"avatar",attrs:{url:!e.isUserAvatar&&e.isIconUrl?e.avatarImage:void 0,"icon-class":e.isUserAvatar||e.isIconUrl?void 0:e.avatarImage,user:e.isUserAvatar?e.user:void 0,"display-name":e.isUserAvatar?e.displayName:void 0,size:16,"disable-tooltip":!0,"disable-menu":!0}}),e._v(" "),n("h6",{staticClass:"user"},[e._v("\n\t\t\t"+e._s(e.displayName?e.displayName:e.user)+"\n\t\t")])],1),e._v(" "),e._t("default")],2)}),[],!1,null,"69b40e95",null);"function"==typeof l.a&&l()(c);var u=c.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/>.
*
*/t.default=u},function(e,t,n){"use strict";n.r(t),n(33),n(28);var a=n(16),r=n(17),i={name:"ActionCheckbox",mixins:[a.a],props:{id:{type:String,default:function(){return"action-"+Object(r.a)()},validator:function(e){return""!==e.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(e){this.$refs.label.click()},onChange:function(e){this.$emit("update:checked",this.$refs.checkbox.checked),this.$emit("change",e),this.$refs.checkbox.checked?this.$emit("check"):this.$emit("uncheck")}}},o=(n(196),n(0)),s=n(131),l=n.n(s),c=Object(o.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{class:{"action--disabled":e.disabled}},[n("span",{staticClass:"action-checkbox"},[n("input",{ref:"checkbox",staticClass:"checkbox action-checkbox__checkbox",class:{focusable:e.isFocusable},attrs:{id:e.id,disabled:e.disabled,type:"checkbox"},domProps:{checked:e.checked,value:e.value},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.checkInput(t))},change:e.onChange}}),e._v(" "),n("label",{ref:"label",staticClass:"action-checkbox__label",attrs:{for:e.id}},[e._v(e._s(e.text))]),e._v(" "),e._e()],2)])}),[],!1,null,"3470f069",null);"function"==typeof l.a&&l()(c);var u=c.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/>.
*
*/t.default=u},function(e,t,n){"use strict";n.r(t);var a={props:{appName:{type:String,required:!0}}},r=n(0),i=n(141),o=n.n(i),s=Object(r.a)(a,(function(){var e=this.$createElement;return(this._self._c||e)("div",{class:"app-"+this.appName,attrs:{id:"content"}},[this._t("default")],2)}),[],!1,null,null,null);"function"==typeof o.a&&o()(s);var l=s.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/>.
*/t.default=l},function(e,t,n){"use strict";n.r(t),n(33);var a={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}}},r=(n(233),n(0)),i=Object(r.a)(a,(function(){var e=this.$createElement;return(this._self._c||e)("section",{directives:[{name:"show",rawName:"v-show",value:this.isActive,expression:"isActive"}],attrs:{id:"tab-"+this.id,"aria-hidden":!this.isActive,"aria-labelledby":this.name,tabindex:"0",role:"tabpanel"}},[this._t("default")],2)}),[],!1,null,"6c2d947c",null).exports;t.default=i},function(e,t,n){"use strict";n.r(t),n(46),n(228),n(15),n(12),n(28);var a=n(5),r=n.n(a),i=n(38),o=n(105),s=n(32),l=function(e){return e&&"string"==typeof e&&""!==e.trim()&&-1===e.indexOf(" ")},c={name:"AppSidebar",components:{Actions:i.default},directives:{focus:o.default},mixins:[s.a],props:{active:{type:String,default:""},title:{type:String,default:"",required:!0},titleEditable:{type:Boolean,default:!1},titlePlaceholder:{type:String,default:""},subtitle:{type:String,default:""},background:{type:String,default:""},starred:{type:Boolean,default:null},starLoading:{type:Boolean,default:!1},compact:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1}},data:function(){return{tabs:[],activeTab:"",isStarred:this.starred,children:[]}},computed:{canStar:function(){return null!==this.isStarred},hasFigure:function(){return this.$slots.header||this.background},hasMultipleTabs:function(){return this.tabs.length>1},hasFigureClickListener:function(){return this.$listeners["figure-click"]},currentTabIndex:function(){var e=this;return this.tabs.findIndex((function(t){return t.id===e.activeTab}))}},watch:{active:function(e){e!==this.activeTab&&this.updateActive()},starred:function(){this.isStarred=this.starred},children:function(){this.updateTabs()}},mounted:function(){this.updateTabs(),this.children=this.$children},methods:{closeSidebar:function(e){this.$emit("close",e)},onFigureClick:function(e){this.$emit("figure-click",e)},setActive:function(e){var t=e.target.closest("a").dataset.id;this.activeTab=t,this.$emit("update:active",t)},focusPreviousTab:function(){this.currentTabIndex>0&&(this.activeTab=this.tabs[this.currentTabIndex-1].id,this.$emit("update:active",this.activeTab)),this.focusActiveTab()},focusNextTab:function(){this.currentTabIndex<this.tabs.length-1&&(this.activeTab=this.tabs[this.currentTabIndex+1].id,this.$emit("update:active",this.activeTab)),this.focusActiveTab()},focusFirstTab:function(){this.activeTab=this.tabs[0].id,this.$emit("update:active",this.activeTab),this.focusActiveTab()},focusLastTab:function(){this.activeTab=this.tabs[this.tabs.length-1].id,this.$emit("update:active",this.activeTab),this.focusActiveTab()},focusActiveTab:function(){this.$el.querySelector("#"+this.activeTab).focus()},focusActiveTabContent:function(){this.$el.querySelector("#tab-"+this.activeTab).focus()},updateActive:function(){var e=this;this.activeTab=this.active&&-1!==this.tabs.findIndex((function(t){return t.id===e.active}))?this.active:this.tabs.length>0?this.tabs[0].id:""},toggleStarred:function(){this.isStarred=!this.isStarred,this.$emit("update:starred",this.isStarred)},updateTabs:function(){var e=this.$children.filter((function(e){return e.name&&"string"==typeof e.name&&l(e.id)&&l(e.icon)}));0!==e.length&&e.length!==this.$children.length&&r.a.util.warn("Mixing tabs and non-tab-content is not possible."),this.tabs=e.sort((function(e,t){var n=e.order||0,a=t.order||0;return n===a?OC.Util.naturalSortCompare(e.name,t.name):n-a})),this.tabs.length>0&&this.updateActive()},onTitleInput:function(e){this.$emit("input-title",e),this.$emit("update:title",e.target.value)},onSubmitTitle:function(e){this.$emit("submit-title",e)},onDismissEditing:function(){this.$emit("dismiss-editing")}}},u=(n(229),n(231),n(0)),d=n(138),A=n.n(d),p=Object(u.a)(c,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("transition",{attrs:{name:"slide-right"}},[n("aside",{attrs:{id:"app-sid
/*
* @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/>.
*/t.default=f},function(e,t,n){"use strict";n.r(t);var a=(n(226),n(0)),r=Object(a.a)({name:"AppNavigationSpacer"},(function(){var e=this.$createElement;return(this._self._c||e)("li",{staticClass:"app-navigation-spacer"})}),[],!1,null,"42195cc8",null).exports;t.default=r},function(e,t,n){"use strict";n.r(t);var a=n(14),r=n(6),i={directives:{ClickOutside:a.directive},props:{title:{type:String,required:!1,default:Object(r.b)("Settings")}},data:function(){return{open:!1}},methods:{toggleMenu:function(){this.open=!this.open},closeMenu:function(){this.open=!1}}},o=(n(224),n(0)),s=Object(o.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:e.closeMenu,expression:"closeMenu"}],class:{open:e.open},attrs:{id:"app-settings"}},[n("div",{attrs:{id:"app-settings-header"}},[n("button",{staticClass:"settings-button",on:{click:e.toggleMenu}},[e._v("\n\t\t\t"+e._s(e.title)+"\n\t\t")])]),e._v(" "),n("transition",{attrs:{name:"slide-up"}},[n("div",{directives:[{name:"show",rawName:"v-show",value:e.open,expression:"open"}],attrs:{id:"app-settings-content"}},[e._t("default")],2)])],1)}),[],!1,null,"0af177d6",null).exports;t.default=s},function(e,t,n){"use strict";n.r(t),n(15),n(18),n(4),n(19),n(28),n(20),n(24);var a=n(16),r=n(17),i={name:"ActionInput",components:{DatetimePicker:n(116).default},mixins:[a.a],props:{id:{type:String,default:function(){return"action-"+Object(r.a)()},validator:function(e){return""!==e.trim()}},icon:{type:String,default:"",required:!0},type:{type:String,default:"text",validator:function(e){return["date","datetime-local","month","number","password","search","tel","text","time","url","week"].indexOf(e)>-1}},value:{type:String,default:""},disabled:{type:Boolean,default:!1}},computed:{isIconUrl:function(){try{return new URL(this.icon)}catch(e){return!1}},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(e){this.$emit("input",e),this.$emit("update:value",e.target?e.target.value:e)},onSubmit:function(e){if(e.preventDefault(),e.stopPropagation(),this.disabled)return!1;this.$emit("submit",e)},onChange:function(e){this.$emit("change",e)}}},o=(n(198),n(0)),s=n(132),l=n.n(s),c=Object(o.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{class:{"action--disabled":e.disabled}},[n("span",{staticClass:"action-input",class:{"action-input--picker":e.isDatePickerType,"action-input-picker--disabled":e.disabled},on:{mouseleave:e.onLeave}},[n("span",{staticClass:"action-input__icon",class:[e.isIconUrl?"action-input__icon--url":e.icon],style:{backgroundImage:e.isIconUrl?"url("+e.icon+")":null}}),e._v(" "),n("form",{ref:"form",staticClass:"action-input__form",attrs:{disabled:e.disabled},on:{submit:function(t){return t.preventDefault(),e.onSubmit(t)}}},[e.isDatePickerType?n("DatetimePicker",e._b({ref:"datetimepicker",staticClass:"action-input__picker",attrs:{value:e.value,placeholder:e.text,disabled:e.disabled,type:e.isDatePickerType,"input-class":["mx-input",{focusable:e.isFocusable}]},on:{input:e.onInput,change:e.onChange}},"DatetimePicker",e.$attrs,!1)):[n("input",{staticClass:"action-input__submit",attrs:{id:e.id,type:"submit"}}),e._v(" "),n("input",e._b({staticClass:"action-input__input",class:{focusable:e.isFocusable},attrs:{type:e.type,placeholder:e.text,disabled:e.disabled},domProps:{value:e.value},on:{input:e.onInput,change:e.onChange}},"input",e.$attrs,!1)),e._v(" "),n("label",{directives:[{name:"show",rawName:"v-show",value:!e.disabled,expression:"!disabled"}],staticClass:"action-input__label",attrs:{for:e.id}})]],2)])])}),[],!1,null,"29ded998",null);"function"==typeof l.a&&l()(c);var u=c.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/>.
*
*/t.default=u},function(e,t,n){"use strict";n.r(t),n(84),n(122);var a={name:"SettingsSection",components:{},mixins:[n(32).a],props:{title:{type:String,required:!0},description:{type:String,default:""},docUrl:{type:String,default:""}},computed:{hasDescription:function(){return this.description.length>0},hasDocUrl:function(){return this.docUrl.length>0}}},r=(n(245),n(0)),i=n(144),o=n.n(i),s=Object(r.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"settings-section"},[n("h2",{staticClass:"settings-section__title"},[e._v("\n\t\t"+e._s(e.title)+"\n\t\t"),e.hasDocUrl?n("a",{staticClass:"settings-section__info",attrs:{href:e.docUrl,role:"",title:e.t("External documentation for {title}",{title:e.title})}}):e._e()]),e._v(" "),e.hasDescription?n("p",{staticClass:"settings-section__desc"},[e._v("\n\t\t"+e._s(e.description)+"\n\t")]):e._e(),e._v(" "),e._t("default")],2)}),[],!1,null,"41759dcb",null);"function"==typeof o.a&&o()(s);var l=s.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/>.
*
*/t.default=l},function(e,t,n){"use strict";n.r(t),n(22),n(4),n(23);var a=n(165),r=n(49),i=n(32),o=n(62),s={name:"ColorPicker",components:{Chrome:a.Chrome,Popover:o.default},mixins:[i.a],props:{value:{type:String,required:!0}},data:function(){var e=this;return{currentColor:this.value,advanced:!1,palette:Object(r.a)(4).map((function(t){return"#"+e.rgbToHex(t.r)+e.rgbToHex(t.g)+e.rgbToHex(t.b)})),open:!0}},watch:{value:function(e){this.currentColor=e}},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(e){"string"!=typeof e&&(e=this.currentColor.hex),this.currentColor=e,this.$emit("close"),this.$emit("update:value",e),this.$emit("input",e)},rgbToHex:function(e){var t=e.toString(16);return 1===t.length?"0"+t:t}}},l=(n(240),n(0)),c=n(140),u=n.n(c),d=Object(l.a)(s,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("Popover",e._g(e._b({scopedSlots:e._u([{key:"trigger",fn:function(){return[e._t("default")]},proxy:!0}],null,!0)},"Popover",e.$attrs,!1),e.$listeners),[e._v(" "),n("div",{staticClass:"color-picker"},[n("transition",{attrs:{name:"slide",mode:"out-in"}},[e.advanced?e._e():n("div",{staticClass:"color-picker-simple"},e._l(e.palette,(function(t,a){return n("button",{key:a,staticClass:"color-picker-simple-color-circle",class:{"color-picker-simple-color-circle--active":t===e.currentColor},style:{"background-color":t},on:{click:function(n){return e.pickColor(t)}}})})),0),e._v(" "),e.advanced?n("Chrome",{staticClass:"color-picker-advanced",attrs:{"disable-alpha":!0,"disable-fields":!0},on:{input:e.pickColor},model:{value:e.currentColor,callback:function(t){e.currentColor=t},expression:"currentColor"}}):e._e()],1),e._v(" "),n("div",{staticClass:"color-picker-navigation"},[e.advanced?n("button",{staticClass:"color-picker-navigation-button back",on:{click:e.handleBack}}):e._e(),e._v(" "),e.advanced?e._e():n("button",{staticClass:"color-picker-navigation-button more-settings",on:{click:e.handleMoreSettings}}),e._v(" "),e.advanced?n("button",{staticClass:"color-picker-navigation-button confirm",on:{click:e.handleConfirm}},[e._v("\n\t\t\t\t"+e._s(e.t("Choose"))+"\n\t\t\t")]):e._e()])],1)])}),[],!1,null,"68aa5324",null);"function"==typeof u.a&&u()(d);var A=d.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/>.
*
*/t.default=A},function(e,t,n){"use strict";n.r(t),n(120);var a={name:"AppNavigationIconBullet",props:{color:{type:String,required:!0,validator:function(e){return/^#?([0-9A-F]{3}){1,2}$/i.test(e)}}},computed:{formattedColor:function(){return this.color.startsWith("#")?this.color:"#"+this.color}},methods:{onClick:function(e){this.$emit("click",e)}}},r=(n(216),n(0)),i=n(136),o=n.n(i),s=Object(r.a)(a,(function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticClass:"app-navigation-entry__icon-bullet",on:{click:this.onClick}},[t("div",{style:{backgroundColor:this.formattedColor}})])}),[],!1,null,"6d4e6158",null);"function"==typeof o.a&&o()(s);var l=s.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/>.
*
*/t.default=l},function(e,t,n){"use strict";n.r(t);var a={name:"AppNavigationCounter",props:{highlighted:{type:Boolean,default:!1}}},r=(n(214),n(0)),i=n(135),o=n.n(i),s=Object(r.a)(a,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"app-navigation-entry__counter",class:{"app-navigation-entry__counter--highlighted":this.highlighted}},[this._t("default")],2)}),[],!1,null,"03f63035",null);"function"==typeof o.a&&o()(s);var l=s.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/>.
*
*/t.default=l},function(e,t,n){"use strict";n.r(t);var a={name:"AppNavigationCaption",props:{title:{type:String,required:!0}}},r=(n(212),n(0)),i=Object(r.a)(a,(function(){var e=this.$createElement;return(this._self._c||e)("li",{staticClass:"app-navigation-caption"},[this._v("\n\t"+this._s(this.title)+"\n")])}),[],!1,null,"46add67c",null).exports;t.default=i},function(e,t,n){"use strict";n.r(t);var a=(n(210),n(0)),r=Object(a.a)({name:"AppNavigation"},(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"vue",attrs:{id:"app-navigation"}},[this._t("default")],2)}),[],!1,null,"058349d0",null).exports;t.default=r},function(e,t,n){"use strict";n.r(t);var a={name:"AppContentList",props:{selection:{type:Boolean,default:!1},showDetails:{type:Boolean,default:!1}}},r=n(0),i=Object(r.a)(a,(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"app-content-list",class:{selection:this.selection,showdetails:this.showDetails}},[this._t("default")],2)}),[],!1,null,null,null).exports;t.default=i},function(e,t,n){"use strict";n.r(t);var a=n(0),r=Object(a.a)({name:"AppContentDetails"},(function(){var e=this.$createElement;return(this._self._c||e)("div",{staticClass:"app-content-details"},[this._t("default")],2)}),[],!1,null,null,null).exports;t.default=r},function(e,t,n){"use strict";n.r(t);var a=n(83),r=n.n(a),i={name:"AppContent",components:{AppNavigationToggle:n(130).default},data:function(){return{opened:!1}},mounted:function(){var e=this;this.mc=new r.a(this.$el,{cssProps:{userSelect:"text"}}),this.mc.on("swipeleft swiperight",(function(t){e.handleSwipe(t)}))},unmounted:function(){this.mc.off("swipeleft swiperight"),this.mc.destroy()},methods:{toggleNavigation:function(e){this.opened=e||!this.opened,this.opened?document.body.classList.add("nav-open"):document.body.classList.remove("nav-open")},handleSwipe:function(e){var t=e.srcEvent.pageX-e.deltaX,n=Math.abs(e.deltaX)>70;n&&t<40?this.toggleNavigation(!0):this.opened&&n&&t<340&&this.toggleNavigation(!1)}}},o=(n(208),n(0)),s=Object(o.a)(i,(function(){var e=this.$createElement,t=this._self._c||e;return t("main",{staticClass:"no-snapper",style:this.opened?"transform: translateX(300px)":"",attrs:{id:"app-content"}},[t("AppNavigationToggle",{attrs:{"aria-expanded":this.opened,"aria-controls":"app-navigation"},on:{click:this.toggleNavigation}}),this._v(" "),this._t("default")],2)}),[],!1,null,"5210b8b7",null).exports;t.default=s},function(e,t,n){"use strict";n.r(t),n(28);var a=n(26),r=n(17),i={name:"ActionTextEditable",mixins:[a.a],props:{id:{type:String,default:function(){return"action-"+Object(r.a)()},validator:function(e){return""!==e.trim()}},disabled:{type:Boolean,default:!1},value:{type:String,default:""}},computed:{isFocusable:function(){return!this.disabled}},methods:{onInput:function(e){this.$emit("input",e),this.$emit("update:value",e.target.value)},onSubmit:function(e){if(e.preventDefault(),e.stopPropagation(),this.disabled)return!1;this.$emit("submit",e)}}},o=(n(206),n(0)),s=n(134),l=n.n(s),c=Object(o.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{class:{"action--disabled":e.disabled}},[n("span",{staticClass:"action-text-editable"},[n("span",{staticClass:"action-text-editable__icon",class:[e.isIconUrl?"action-text-editable__icon--url":e.icon],style:{backgroundImage:e.isIconUrl?"url("+e.icon+")":null}}),e._v(" "),n("form",{ref:"form",staticClass:"action-text-editable__form",attrs:{disabled:e.disabled},on:{submit:function(t){return t.preventDefault(),e.onSubmit(t)}}},[n("input",{staticClass:"action-text-editable__submit",attrs:{id:e.id,type:"submit"}}),e._v(" "),e.title?n("strong",{staticClass:"action-text__title"},[e._v("\n\t\t\t\t"+e._s(e.title)+"\n\t\t\t")]):e._e(),e._v(" "),n("textarea",e._b({class:["action-text-editable__textarea",{focusable:e.isFocusable}],attrs:{disabled:e.disabled},domProps:{value:e.value},on:{input:e.onInput}},"textarea",e.$attrs,!1)),e._v(" "),n("label",{directives:[{name:"show",rawName:"v-show",value:!e.disabled,expression:"!disabled"}],staticClass:"action-text-edita
/**
* @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/>.
*
*/t.default=u},function(e,t,n){"use strict";n.r(t);var a={name:"ActionText",mixins:[n(26).a]},r=(n(204),n(0)),i=Object(r.a)(a,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",[n("span",{staticClass:"action-text"},[""!==e.icon?n("span",{staticClass:"action-text__icon",class:[e.isIconUrl?"action-text__icon--url":e.icon],style:{backgroundImage:e.isIconUrl?"url("+e.icon+")":null}}):e._e(),e._v(" "),e.title?n("p",[n("strong",{staticClass:"action-text__title"},[e._v("\n\t\t\t\t"+e._s(e.title)+"\n\t\t\t")]),e._v(" "),n("br"),e._v(" "),n("span",{staticClass:"action-text__longtext",domProps:{textContent:e._s(e.text)}})]):e.isLongText?n("p",{staticClass:"action-text__longtext",domProps:{textContent:e._s(e.text)}}):n("span",{staticClass:"action-text__text"},[e._v(e._s(e.text))]),e._v(" "),e._e()],2)])}),[],!1,null,"7ecb157c",null).exports;t.default=i},function(e,t,n){"use strict";n.r(t);var a=(n(202),n(0)),r=Object(a.a)({name:"ActionSeparator"},(function(){var e=this.$createElement;return(this._self._c||e)("li",{staticClass:"action-separator action--disabled"})}),[],!1,null,"0b38861b",null).exports;t.default=r},function(e,t,n){"use strict";n.r(t),n(33),n(28);var a=n(16),r=n(17),i={name:"ActionRadio",mixins:[a.a],props:{id:{type:String,default:function(){return"action-"+Object(r.a)()},validator:function(e){return""!==e.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(e){this.$refs.label.click()},onChange:function(e){this.$emit("update:checked",this.$refs.radio.checked),this.$emit("change",e)}}},o=(n(200),n(0)),s=n(133),l=n.n(s),c=Object(o.a)(i,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("li",{class:{"action--disabled":e.disabled}},[n("span",{staticClass:"action-radio"},[n("input",{ref:"radio",staticClass:"radio action-radio__radio",class:{focusable:e.isFocusable},attrs:{id:e.id,disabled:e.disabled,name:e.name,type:"radio"},domProps:{checked:e.checked,value:e.value},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")||t.ctrlKey||t.shiftKey||t.altKey||t.metaKey?null:(t.preventDefault(),e.toggleInput(t))},change:e.onChange}}),e._v(" "),n("label",{ref:"label",staticClass:"action-radio__label",attrs:{for:e.id}},[e._v(e._s(e.text))]),e._v(" "),e._e()],2)])}),[],!1,null,"3e7b4049",null);"function"==typeof l.a&&l()(c);var u=c.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/>.
*
*/t.default=u},function(e,t,n){"use strict";n.r(t),n(167),n(235),n(22),n(236),n(121),n(237),n(168);var a=n(5),r=n.n(a),i=n(164),o=n.n(i),s=n(38),l=n(118),c=n(117),u=n(31),d=n(115),A={name:"Breadcrumbs",components:{Actions:s.default,ActionRouter:l.default,ActionLink:c.default,Breadcrumb:d.default},props:{rootIcon:{type:String,default:"icon-home"}},data:function(){return{hiddenCrumbs:[],hiddenIndices:[]}},beforeMount:function(){Object(u.a)(this.$slots.default,["Breadcrumb"],this)},beforeUpdate:function(){Object(u.a)(this.$slots.default,["Breadcrumb"],this)},created:function(){var e=this;window.addEventListener("resize",o()((function(){e.handleWindowResize()}),100))},mounted:function(){this.handleWindowResize()},updated:function(){var e=this;this.$nextTick((function(){e.handleWindowResize()}))},beforeDestroy:function(){window.removeEventListener("resize",this.handleWindowResize)},methods:{closeActions:function(e){this.$refs.actionsBreadcrumb.$el.contains(e.relatedTarget)||(this.$refs.actionsBreadcrumb.$refs.actions.opened=!1)},handleWindowResize:function(){var e=this.$slots.default||[];if(this.$refs.container){var t=e.length,n=[],a=this.$refs.container.offsetWidth,r=this.getTotalWidth(e)-a;r+=r>0?51:0;for(var i=0,o=Math.floor(t/2);r>0&&i<t-2;){var s=o+(i%2?i+1:i)/2*Math.pow(-1,i+t%2);r-=this.getWidth(e[s].elm),n.push(s),i++}this.arraysEqual(this.hiddenIndices,n.sort((function(e,t){return e-t})))||(this.hiddenCrumbs=n.map((function(t){return e[t]})),this.hiddenIndices=n)}},arraysEqual:function(e,t){if(e.length!==t.length)return!1;if(e===t)return!0;if(null===e||null===t)return!1;for(var n=0;n<e.length;++n)if(e[n]!==t[n])return!1;return!0},getTotalWidth:function(e){var t=this;return e.reduce((function(e,n,a){return e+t.getWidth(n.elm)}),0)},getWidth:function(e){if(!e.classList)return 0;var t=e.classList.contains("crumb--hidden");e.classList.remove("crumb--hidden");var n=e.offsetWidth;return t&&e.classList.add("crumb--hidden"),n},preventDefault:function(e){return e.preventDefault&&e.preventDefault(),!1},dragStart:function(e){return this.preventDefault(e)},dropped:function(e,t,n){return n||this.$emit("dropped",e,t),this.$refs.actionsBreadcrumb.$refs.actions.opened=!1,document.querySelectorAll(".crumb").forEach((function(e){e.classList.remove("crumb--hovered")})),this.preventDefault(e)},dragOver:function(e){return this.preventDefault(e)},dragEnter:function(e,t){if(!t&&e.target.closest){var n=e.target.closest(".crumb");n.classList&&n.classList.contains("crumb")&&(document.querySelectorAll(".crumb").forEach((function(e){e.classList.remove("crumb--hovered")})),n.classList.add("crumb--hovered"))}},dragLeave:function(e,t){if(!t&&!e.target.contains(e.relatedTarget)&&e.target.closest){var n=e.target.closest(".crumb");if(n.contains(e.relatedTarget))return;n.classList&&n.classList.contains("crumb")&&n.classList.remove("crumb--hovered")}},addCrumbs:function(e,t){var n=this;t.forEach((function(t,a){t.elm&&t.elm.classList&&(n.hiddenCrumbs.includes(t)?t.elm.classList.add("crumb--hidden"):t.elm.classList.remove("crumb--hidden")),e.push(t)}))}},render:function(e){var t=this,n=this.$slots.default||[];if(0!==n.length){r.a.set(n[0].componentOptions.propsData,"icon",this.rootIcon);var a=[],i=this.hiddenCrumbs.length?n.slice(0,Math.round(n.length/2)):n;this.addCrumbs(a,i),this.hiddenCrumbs.length&&a.push(e("Breadcrumb",{class:"dropdown",props:{title:"",forceMenu:!0,disableDrop:!0,hideable:!1},ref:"actionsBreadcrumb",key:"actions-breadcrumb-1",nativeOn:{dragstart:this.dragStart,dragenter:function(){t.$refs.actionsBreadcrumb.$refs.actions.opened=!0},dragleave:this.closeActions}},this.hiddenCrumbs.map((function(n){var a=n.componentOptions.propsData.to,r=n.componentOptions.propsData.href,i=n.componentOptions.propsData.disableDrop,o="ActionLink",s=r;return a&&(o="ActionRouter",s=a),e(o,{class:"crumb",props:{to:a,href:r,icon:"icon-folder"},attrs:{draggable:!1},nativeOn:{dragstart:t.dragStart,drop:function(e){return t.dropped(e,s,i)},dragover:t.dragOver,dragenter:function(e){return t.dragEnter(e,i)},dragleave:function(e){return t.dragLeave(e,i)}}},n.comp
/**
* @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/>.
*
*/t.default=h},function(e,t,n){"use strict";var a=n(89);n.n(a).a},function(e,t,n){(t=n(1)(!1)).push([e.i,"li.active[data-v-3470f069]{box-shadow:inset 4px 0 var(--color-primary)}.action--disabled[data-v-3470f069]{pointer-events:none;opacity:.5}.action--disabled[data-v-3470f069]:hover,.action--disabled[data-v-3470f069]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-3470f069]{opacity:1 !important}.action-checkbox[data-v-3470f069]{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-3470f069]{position:absolute;top:auto;left:-10000px;overflow:hidden;width:1px;height:1px}.action-checkbox__checkbox:focus+.action-checkbox__label[data-v-3470f069]{opacity:1}.action-checkbox__label[data-v-3470f069]{display:flex;align-items:center;width:100%;padding:0 !important;padding-right:14px !important;opacity:.7}.action-checkbox__label[data-v-3470f069]::before{margin:0 14px 0 !important}.action-checkbox--disabled[data-v-3470f069],.action-checkbox--disabled .action-checkbox__label[data-v-3470f069]{cursor:pointer}.action-checkbox:not(.action-checkbox--disabled):hover .action-checkbox__label[data-v-3470f069],.action-checkbox:not(.action-checkbox--disabled):focus .action-checkbox__label[data-v-3470f069]{opacity:1}\n",""]),e.exports=t},function(e,t,n){"use strict";var a=n(90);n.n(a).a},function(e,t,n){var a=n(1),r=n(7),i=n(8),o=n(9),s=n(10),l=n(11);t=a(!1);var c=r(i),u=r(o),d=r(s),A=r(l);t.push([e.i,'@font-face{font-family:"iconfont-vue-e1f55ce";src:url('+c+");src:url("+c+') format("embedded-opentype"),url('+u+') format("woff"),url('+d+') format("truetype"),url('+A+') format("svg")}.icon[data-v-29ded998]{font-style:normal;font-weight:400}.icon.arrow-left-double[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.arrow-left[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.arrow-right-double[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.arrow-right[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.breadcrumb[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.checkmark[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.close[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.confirm[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.info[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.menu[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.more[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.pause[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.play[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.triangle-s[data-v-29ded998]:before{font-family:"iconfont-vue-e1f55ce";content:""}button[data-v-29ded998],input[data-v-29ded998]:not([type=\'range\']),textarea[data-v-29ded998]{margin:0;padding:7px 6px;cursor:text;color:var(--color-text-lighter);border:1px solid var(--color-border-dark);border-radius:var(--border-radius);outline:none;background-color:var(--color-main-background);font-size:13px}button[data-v-29ded998]:not(:disabled):not(.primary):hover,button[data-v-29ded998]:not(:disabled):not(.primary):focus,button:not(:disabled):not(.primary).active[data-v-29ded998],input[data-v-29ded998]:not([type=\'range\']):not(:disabled):not(.primary):hover,input[data-v-29ded998]:not([type=\'range\']):not(:disabled):not(.primary):focus,input:not([type=\'range\']):not(:disabled):not(.primary).active[data-v-29ded998],textarea[data-v-29ded998]:not(:disabled):not(.primary):hover,textarea[data-v-29ded998]:not(:disabled):not(.primary):focus,textarea:not(:disabled):not(.primary).active[data-v-29ded998]{border-color:var(--color-primary-element);outline:none}butt
/**
* @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 R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=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/>.
*
*/function H(e){Object.values(a).forEach((function(t){e.component(t.name,t)}))}"undefined"!=typeof window&&window.Vue&&H(window.Vue),t.default=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R(Object(n),!0).forEach((function(t){Z(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({install:H},a)}])},219:function(e,t,n){var a=n(5),r=n(9).f,i=Function.prototype,o=i.toString,s=/^\s*function ([^ (]*)/;a&&!("name"in i)&&r(i,"name",{configurable:!0,get:function(){try{return o.call(this).match(s)[1]}catch(e){return""}}})},223:function(e,t,n){e.exports=function(){var e="__v-click-outside",t="undefined"!=typeof window,n="undefined"!=typeof navigator,a=t&&("ontouchstart"in window||n&&navigator.msMaxTouchPoints>0)?["touchstart"]:["click"];function r(t,n){var r=function(e){var t="function"==typeof e;if(!t&&"object"!=typeof e)throw new Error("v-click-outside: Binding value must be a function or an object");return{handler:t?e:e.handler,middleware:e.middleware||function(e){return e},events:e.events||a,isActive:!(!1===e.isActive)}}(n.value),i=r.handler,o=r.middleware;r.isActive&&(t[e]=r.events.map((function(e){return{event:e,handler:function(e){return function(e){var t=e.el,n=e.event,a=e.handler,r=e.middleware,i=n.path||n.composedPath&&n.composedPath(),o=i?i.indexOf(t)<0:!t.contains(n.target);n.target!==t&&o&&r(n)&&a(n)}({event:e,el:t,handler:i,middleware:o})}}})),t[e].forEach((function(n){var a=n.event,r=n.handler;return setTimeout((function(){t[e]&&document.documentElement.addEventListener(a,r,!1)}),0)})))}function i(t){(t[e]||[]).forEach((function(e){return document.documentElement.removeEventListener(e.event,e.handler,!1)})),delete t[e]}var o=t?{bind:r,update:function(e,t){var n=t.value,a=t.oldValue;JSON.stringify(n)!==JSON.stringify(a)&&(i(e),r(e,{value:n}))},unbind:i}:{};return{install:function(e){e.directive("click-outside",o)},directive:o}}()},224:function(e,t,n){"use strict";var a=n(2),r=n(39).map,i=n(40),o=n(19),s=i("map"),l=o("map");a({target:"Array",proto:!0,forced:!s||!l},{map:function(e){return r(this,e,arguments.length>1?arguments[1]:void 0)}})},225:function(e,t,n){"use strict";n(46),n(38),n(73),n(53),Object.defineProperty(t,"__esModule",{value:!0}),t.getGettextBuilder=function(){return new c};var a,r=(a=n(242))&&a.__esModule?a:{default:a},i=n(245);function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function l(e,t,n){return t&&s(e.prototype,t),n&&s(e,n),e}var c=function(){function e(){o(this,e),this.translations={},this.debug=!1}return l(e,[{key:"setLanguage",value:function(e){return this.locale=e,this}},{key:"detectLocale",value:function(){return this.setLanguage((0,i.getLanguage)())}},{key:"addTranslation",value:function(e,t){return this.translations[e]=t,this}},{key:"enableDebugMode",value:function(){return this.debug=!0,this}},{key:"build",value:function(){return new u(this.locale||"en",this.translations,this.debug)}}]),e}(),u=function(){function e(t,n,a){for(var i in o(this,e),this.gt=new r.default({debug:a,sourceLocale:"en"}),n)this.gt.addTranslations(i,"messages",n[i]);this.gt.setLocale(t)}return l(e,[{key:"subtitudePlaceholders",value:function(e,t){return e.replace(/{([^{}]*)}/g,(function(e,n){var a=t[n];return"string"==typeof a||"number"==typeof a?a.toString():e}))}},{key:"gettext",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.subtitudePlaceholders(this.gt.gettext(e),t)}},{key:"ngettext",value:function(e,t,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.subtitudePlaceholders(this.gt.ngettext(e,t,n).replace(/%n/g,n.toString()),a)}}]),e}()},226:function(e,t,n){"use strict";n(74);var a,r=n(2),i=n(5),o=n(155),s=n(3),l=n(136)
/*!
* escape-html
* Copyright(c) 2012-2013 TJ Holowaychuk
* Copyright(c) 2015 Andreas Lubbe
* Copyright(c) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
*/var a=/["'&<>]/;e.exports=function(e){var t,n=""+e,r=a.exec(n);if(!r)return n;var i="",o=0,s=0;for(o=r.index;o<n.length;o++){switch(n.charCodeAt(o)){case 34:t="&quot;";break;case 38:t="&amp;";break;case 39:t="&#39;";break;case 60:t="&lt;";break;case 62:t="&gt;";break;default:continue}s!==o&&(i+=n.substring(s,o)),s=o+1,i+=t}return s!==o?i+n.substring(s,o):i}},278:function(e,t,n){var a,r,i,o,s;a=n(292),r=n(229).utf8,i=n(293),o=n(229).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?o.stringToBytes(e):r.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());for(var n=a.bytesToWords(e),l=8*e.length,c=1732584193,u=-271733879,d=-1732584194,A=271733878,p=0;p<n.length;p++)n[p]=16711935&(n[p]<<8|n[p]>>>24)|4278255360&(n[p]<<24|n[p]>>>8);n[l>>>5]|=128<<l%32,n[14+(l+64>>>9<<4)]=l;var f=s._ff,m=s._gg,g=s._hh,h=s._ii;for(p=0;p<n.length;p+=16){var v=c,b=u,x=d,y=A;c=f(c,u,d,A,n[p+0],7,-680876936),A=f(A,c,u,d,n[p+1],12,-389564586),d=f(d,A,c,u,n[p+2],17,606105819),u=f(u,d,A,c,n[p+3],22,-1044525330),c=f(c,u,d,A,n[p+4],7,-176418897),A=f(A,c,u,d,n[p+5],12,1200080426),d=f(d,A,c,u,n[p+6],17,-1473231341),u=f(u,d,A,c,n[p+7],22,-45705983),c=f(c,u,d,A,n[p+8],7,1770035416),A=f(A,c,u,d,n[p+9],12,-1958414417),d=f(d,A,c,u,n[p+10],17,-42063),u=f(u,d,A,c,n[p+11],22,-1990404162),c=f(c,u,d,A,n[p+12],7,1804603682),A=f(A,c,u,d,n[p+13],12,-40341101),d=f(d,A,c,u,n[p+14],17,-1502002290),c=m(c,u=f(u,d,A,c,n[p+15],22,1236535329),d,A,n[p+1],5,-165796510),A=m(A,c,u,d,n[p+6],9,-1069501632),d=m(d,A,c,u,n[p+11],14,643717713),u=m(u,d,A,c,n[p+0],20,-373897302),c=m(c,u,d,A,n[p+5],5,-701558691),A=m(A,c,u,d,n[p+10],9,38016083),d=m(d,A,c,u,n[p+15],14,-660478335),u=m(u,d,A,c,n[p+4],20,-405537848),c=m(c,u,d,A,n[p+9],5,568446438),A=m(A,c,u,d,n[p+14],9,-1019803690),d=m(d,A,c,u,n[p+3],14,-187363961),u=m(u,d,A,c,n[p+8],20,1163531501),c=m(c,u,d,A,n[p+13],5,-1444681467),A=m(A,c,u,d,n[p+2],9,-51403784),d=m(d,A,c,u,n[p+7],14,1735328473),c=g(c,u=m(u,d,A,c,n[p+12],20,-1926607734),d,A,n[p+5],4,-378558),A=g(A,c,u,d,n[p+8],11,-2022574463),d=g(d,A,c,u,n[p+11],16,1839030562),u=g(u,d,A,c,n[p+14],23,-35309556),c=g(c,u,d,A,n[p+1],4,-1530992060),A=g(A,c,u,d,n[p+4],11,1272893353),d=g(d,A,c,u,n[p+7],16,-155497632),u=g(u,d,A,c,n[p+10],23,-1094730640),c=g(c,u,d,A,n[p+13],4,681279174),A=g(A,c,u,d,n[p+0],11,-358537222),d=g(d,A,c,u,n[p+3],16,-722521979),u=g(u,d,A,c,n[p+6],23,76029189),c=g(c,u,d,A,n[p+9],4,-640364487),A=g(A,c,u,d,n[p+12],11,-421815835),d=g(d,A,c,u,n[p+15],16,530742520),c=h(c,u=g(u,d,A,c,n[p+2],23,-995338651),d,A,n[p+0],6,-198630844),A=h(A,c,u,d,n[p+7],10,1126891415),d=h(d,A,c,u,n[p+14],15,-1416354905),u=h(u,d,A,c,n[p+5],21,-57434055),c=h(c,u,d,A,n[p+12],6,1700485571),A=h(A,c,u,d,n[p+3],10,-1894986606),d=h(d,A,c,u,n[p+10],15,-1051523),u=h(u,d,A,c,n[p+1],21,-2054922799),c=h(c,u,d,A,n[p+8],6,1873313359),A=h(A,c,u,d,n[p+15],10,-30611744),d=h(d,A,c,u,n[p+6],15,-1560198380),u=h(u,d,A,c,n[p+13],21,1309151649),c=h(c,u,d,A,n[p+4],6,-145523070),A=h(A,c,u,d,n[p+11],10,-1120210379),d=h(d,A,c,u,n[p+2],15,718787259),u=h(u,d,A,c,n[p+9],21,-343485551),c=c+v>>>0,u=u+b>>>0,d=d+x>>>0,A=A+y>>>0}return a.endian([c,u,d,A])})._ff=function(e,t,n,a,r,i,o){var s=e+(t&n|~t&a)+(r>>>0)+o;return(s<<i|s>>>32-i)+t},s._gg=function(e,t,n,a,r,i,o){var s=e+(t&a|n&~a)+(r>>>0)+o;return(s<<i|s>>>32-i)+t},s._hh=function(e,t,n,a,r,i,o){var s=e+(t^n^a)+(r>>>0)+o;return(s<<i|s>>>32-i)+t},s._ii=function(e,t,n,a,r,i,o){var s=e+(n^(t|~a))+(r>>>0)+o;return(s<<i|s>>>32-i)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=a.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?o.bytesToString(n):a.bytesToHex(n)}},279:function(e,t,n){"use strict";var a,r,i,o,s=n(2),l=n(25),c=n(3),u=n(23),d=n(294),A=n(11),p=n(90),f=n(24),m=n(94),g=n(7),h=n(56),v=n(41),b=n(22),x=n(78),y=n(86),w=n(150),M=n(295),T=n(230).set,C=n(296),_=n(297),k=n(298),B=n(232),E=n(299),I=n(20),S=n(49),N=n(0),D=n(85),L=N("species"),F="Promise",P=I.get,Q=I.set,j=I.getterFor(F),O=d,U=c.TypeError,Y=c.document,G=c.process,z=u("fetch"),R=B.f,Z=R,H=
/*! Hammer.JS - v2.0.7 - 2016-04-22
* http://hammerjs.github.io/
*
* Copyright (c) 2016 Jorik Tangelder;
* Licensed under the MIT license */!function(r,i,o,s){"use strict";var l,c=["","webkit","Moz","MS","ms","o"],u=i.createElement("div"),d=Math.round,A=Math.abs,p=Date.now;function f(e,t,n){return setTimeout(y(e,n),t)}function m(e,t,n){return!!Array.isArray(e)&&(g(e,n[t],n),!0)}function g(e,t,n){var a;if(e)if(e.forEach)e.forEach(t,n);else if(void 0!==e.length)for(a=0;a<e.length;)t.call(n,e[a],a,e),a++;else for(a in e)e.hasOwnProperty(a)&&t.call(n,e[a],a,e)}function h(e,t,n){var a="DEPRECATED METHOD: "+t+"\n"+n+" AT \n";return function(){var t=new Error("get-stack-trace"),n=t&&t.stack?t.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",i=r.console&&(r.console.warn||r.console.log);return i&&i.call(r.console,a,n),e.apply(this,arguments)}}l="function"!=typeof Object.assign?function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),n=1;n<arguments.length;n++){var a=arguments[n];if(null!=a)for(var r in a)a.hasOwnProperty(r)&&(t[r]=a[r])}return t}:Object.assign;var v=h((function(e,t,n){for(var a=Object.keys(t),r=0;r<a.length;)(!n||n&&void 0===e[a[r]])&&(e[a[r]]=t[a[r]]),r++;return e}),"extend","Use `assign`."),b=h((function(e,t){return v(e,t,!0)}),"merge","Use `assign`.");function x(e,t,n){var a,r=t.prototype;(a=e.prototype=Object.create(r)).constructor=e,a._super=r,n&&l(a,n)}function y(e,t){return function(){return e.apply(t,arguments)}}function w(e,t){return"function"==typeof e?e.apply(t&&t[0]||void 0,t):e}function M(e,t){return void 0===e?t:e}function T(e,t,n){g(B(t),(function(t){e.addEventListener(t,n,!1)}))}function C(e,t,n){g(B(t),(function(t){e.removeEventListener(t,n,!1)}))}function _(e,t){for(;e;){if(e==t)return!0;e=e.parentNode}return!1}function k(e,t){return e.indexOf(t)>-1}function B(e){return e.trim().split(/\s+/g)}function E(e,t,n){if(e.indexOf&&!n)return e.indexOf(t);for(var a=0;a<e.length;){if(n&&e[a][n]==t||!n&&e[a]===t)return a;a++}return-1}function I(e){return Array.prototype.slice.call(e,0)}function S(e,t,n){for(var a=[],r=[],i=0;i<e.length;){var o=t?e[i][t]:e[i];E(r,o)<0&&a.push(e[i]),r[i]=o,i++}return n&&(a=t?a.sort((function(e,n){return e[t]>n[t]})):a.sort()),a}function N(e,t){for(var n,a,r=t[0].toUpperCase()+t.slice(1),i=0;i<c.length;){if((a=(n=c[i])?n+r:t)in e)return a;i++}}var D=1;function L(e){var t=e.ownerDocument||e;return t.defaultView||t.parentWindow||r}var F="ontouchstart"in r,P=void 0!==N(r,"PointerEvent"),Q=F&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),j=["x","y"],O=["clientX","clientY"];function U(e,t){var n=this;this.manager=e,this.callback=t,this.element=e.element,this.target=e.options.inputTarget,this.domHandler=function(t){w(e.options.enable,[e])&&n.handler(t)},this.init()}function Y(e,t,n){var a=n.pointers.length,r=n.changedPointers.length,i=1&t&&a-r==0,o=12&t&&a-r==0;n.isFirst=!!i,n.isFinal=!!o,i&&(e.session={}),n.eventType=t,function(e,t){var n=e.session,a=t.pointers,r=a.length;n.firstInput||(n.firstInput=G(t));r>1&&!n.firstMultiple?n.firstMultiple=G(t):1===r&&(n.firstMultiple=!1);var i=n.firstInput,o=n.firstMultiple,s=o?o.center:i.center,l=t.center=z(a);t.timeStamp=p(),t.deltaTime=t.timeStamp-i.timeStamp,t.angle=V(s,l),t.distance=H(s,l),function(e,t){var n=t.center,a=e.offsetDelta||{},r=e.prevDelta||{},i=e.prevInput||{};1!==t.eventType&&4!==i.eventType||(r=e.prevDelta={x:i.deltaX||0,y:i.deltaY||0},a=e.offsetDelta={x:n.x,y:n.y});t.deltaX=r.x+(n.x-a.x),t.deltaY=r.y+(n.y-a.y)}(n,t),t.offsetDirection=Z(t.deltaX,t.deltaY);var c=R(t.deltaTime,t.deltaX,t.deltaY);t.overallVelocityX=c.x,t.overallVelocityY=c.y,t.overallVelocity=A(c.x)>A(c.y)?c.x:c.y,t.scale=o?(u=o.pointers,d=a,H(d[0],d[1],O)/H(u[0],u[1],O)):1,t.rotation=o?function(e,t){return V(t[1],t[0],O)+V(e[1],e[0],O)}(o.pointers,a):0,t.maxPointers=n.prevInput?t.pointers.length>n.prevInput.maxPointers?t.pointers.length:n.prevInput.maxPointers:t.pointers.length,function(e,t){var n,a,r,i,o=e.lastInterval||t,s=t.timeStamp-o.timeStamp;if(8!=t.eventType&&(s>25||void 0===o.velocity)){var l
/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/
e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},294:function(e,t,n){var a=n(3);e.exports=a.Promise},295:function(e,t,n){var a=n(6),r=n(56),i=n(0)("species");e.exports=function(e,t){var n,o=a(e).constructor;return void 0===o||null==(n=a(o)[i])?t:r(n)}},296:function(e,t,n){var a,r,i,o,s,l,c,u,d=n(3),A=n(27).f,p=n(22),f=n(230).set,m=n(231),g=d.MutationObserver||d.WebKitMutationObserver,h=d.process,v=d.Promise,b="process"==p(h),x=A(d,"queueMicrotask"),y=x&&x.value;y||(a=function(){var e,t;for(b&&(e=h.domain)&&e.exit();r;){t=r.fn,r=r.next;try{t()}catch(e){throw r?o():i=void 0,e}}i=void 0,e&&e.enter()},b?o=function(){h.nextTick(a)}:g&&!m?(s=!0,l=document.createTextNode(""),new g(a).observe(l,{characterData:!0}),o=function(){l.data=s=!s}):v&&v.resolve?(c=v.resolve(void 0),u=c.then,o=function(){u.call(c,a)}):o=function(){f.call(d,a)}),e.exports=y||function(e){var t={fn:e,next:void 0};i&&(i.next=t),r||(r=t,o()),i=t}},297:function(e,t,n){var a=n(6),r=n(7),i=n(232);e.exports=function(e,t){if(a(e),r(t)&&t.constructor===e)return t;var n=i.f(e);return(0,n.resolve)(t),n.promise}},298:function(e,t,n){var a=n(3);e.exports=function(e,t){var n=a.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))}},299:function(e,t){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},300:function(e,t,n){var a=n(18),r=n(55).f,i={}.toString,o="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return o&&"[object Window]"==i.call(e)?function(e){try{return r(e)}catch(e){return o.slice()}}(e):r(a(e))}},301:function(e,t,n){"use strict";var a,r=n(2),i=n(27).f,o=n(16),s=n(235),l=n(21),c=n(237),u=n(25),d="".startsWith,A=Math.min,p=c("startsWith");r({target:"String",proto:!0,forced:!!(u||p||(a=i(String.prototype,"startsWith"),!a||a.writable))&&!p},{startsWith:function(e){var t=String(l(this));s(e);var n=o(A(arguments.length>1?arguments[1]:void 0,t.length)),a=String(e);return d?d.call(t,a,n):t.slice(n,n+a.length)===a}})},302:function(e,t){e.exports=Object.is||function(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}},303:function(e,t){function n(e,t,n){var a,r,i,o,s;function l(){var c=Date.now()-o;c<t&&c>=0?a=setTimeout(l,t-c):(a=null,n||(s=e.apply(i,r),i=r=null))}null==t&&(t=100);var c=function(){i=this,r=arguments,o=Date.now();var c=n&&!a;return a||(a=setTimeout(l,t)),c&&(s=e.apply(i,r),i=r=null),s};return c.clear=function(){a&&(clearTimeout(a),a=null)},c.flush=function(){a&&(s=e.apply(i,r),i=r=null,clearTimeout(a),a=null)},c}n.debounce=n,e.exports=n},304:function(e,t,n){(function(t){"undefined"!=typeof self&&self,e.exports=function(e){function t(a){if(n[a])return n[a].exports;var r=n[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,t),r.l=!0,r.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=22)}([function(e,t){function n(e,t){var n=e[1]||"",a=e[3];if(!a)return n;if(t&&"function"==typeof btoa){var r=function(e){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e))))+" */"}(a);return[n].concat(a.sources.map((function(e){return"/*# sourceURL="+a.sourceRoot+e+" */"}))).concat([r]).join("\n")}return[n].join("\n")}e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var a=n(t,e);return t[2]?"@media "+t[2]+"{"+a+"}":a})).join("")},t.i=function(e,n){"string"==typeof e&&(e=[[null,e,""]]);for(var a={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(a[i]=!0)}for(r=0;r<e.length;r++){var o=e[r];"number"==typeof o[0]&&a[o[0]]||(n&&!o[2]?o[2]=n:n&&(o[2]="("+o[2]+") and ("+n+")"),t.push(o))}},t}},function(e,t,n){function a(e){for(var t=0;t<e.len
/**
* @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/>.
*
*/t.default=l},2:function(e,t,n){"use strict";function a(e,t){for(var n=[],a={},r=0;r<t.length;r++){var i=t[r],o=i[0],s={id:e+":"+r,css:i[1],media:i[2],sourceMap:i[3]};a[o]?a[o].parts.push(s):n.push(a[o]={id:o,parts:[s]})}return n}n.r(t),n.d(t,"default",(function(){return p}));var r="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},o=r&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,c=!1,u=function(){},d=null,A="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(e,t,n,r){c=n,d=r||{};var o=a(e,t);return f(o),function(t){for(var n=[],r=0;r<o.length;r++){var s=o[r];(l=i[s.id]).refs--,n.push(l)}for(t?f(o=a(e,t)):o=[],r=0;r<n.length;r++){var l;if(0===(l=n[r]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete i[l.id]}}}}function f(e){for(var t=0;t<e.length;t++){var n=e[t],a=i[n.id];if(a){a.refs++;for(var r=0;r<a.parts.length;r++)a.parts[r](n.parts[r]);for(;r<n.parts.length;r++)a.parts.push(g(n.parts[r]));a.parts.length>n.parts.length&&(a.parts.length=n.parts.length)}else{var o=[];for(r=0;r<n.parts.length;r++)o.push(g(n.parts[r]));i[n.id]={id:n.id,refs:1,parts:o}}}}function m(){var e=document.createElement("style");return e.type="text/css",o.appendChild(e),e}function g(e){var t,n,a=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(a){if(c)return u;a.parentNode.removeChild(a)}if(A){var r=l++;a=s||(s=m()),t=b.bind(null,a,r,!1),n=b.bind(null,a,r,!0)}else a=m(),t=x.bind(null,a),n=function(){a.parentNode.removeChild(a)};return t(e),function(a){if(a){if(a.css===e.css&&a.media===e.media&&a.sourceMap===e.sourceMap)return;t(e=a)}else n()}}var h,v=(h=[],function(e,t){return h[e]=t,h.filter(Boolean).join("\n")});function b(e,t,n,a){var r=n?"":a.css;if(e.styleSheet)e.styleSheet.cssText=v(t,r);else{var i=document.createTextNode(r),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(i,o[t]):e.appendChild(i)}}function x(e,t){var n=t.css,a=t.media,r=t.sourceMap;if(a&&e.setAttribute("media",a),d.ssrId&&e.setAttribute("data-vue-ssr-id",t.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},214:function(e,t,n){"use strict";var a=n(98);n.n(a).a},215:function(e,t,n){(t=n(1)(!1)).push([e.i,".app-navigation-entry__counter[data-v-03f63035]{overflow:hidden;max-width:44px;margin:4px;padding:0 4px;text-align:center;text-overflow:ellipsis;line-height:1em}.app-navigation-entry__counter--highlighted[data-v-03f63035]{padding:4px 6px;color:var(--color-primary-text);border-radius:10px;background-color:var(--color-primary)}\n",""]),e.exports=t},98:function(e,t,n){var a=n(215);"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals),(0,n(2).default)("334af9b1",a,!0,{})}})},593:function(e,t,n){window,e.exports=function(e){var t={};function n(a){if(t[a])return t[a].exports;var r=t[a]={i:a,l:!1,exports:{}};return e[a].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,a){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var a=Object.create(null);if(n.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(a,r,function(t){return e[t]}.bind(null,r));return a},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s
/**
* @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/>.
*
*/
a.VTooltip.options.defaultTemplate='<div class="vue-tooltip" role="tooltip" data-v-'.concat("e1f55ce",'><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'),a.VTooltip.options.defaultHtml=!1,t.default=a.VTooltip},137:function(e,t){},14:function(e,t){e.exports=n(223)},15:function(e,t){e.exports=n(130)},16:function(e,t,n){"use strict";n(12),n(28);var a=n(5),r=n.n(a);
/**
* @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/>.
*
*/t.a={before:function(){this.$slots.default&&""!==this.text.trim()||(r.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():""}}}},17:function(e,t,n){"use strict";n(4),n(21),n(23),n(30),t.a=function(e){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,e||5)}},170:function(e,t,n){"use strict";n.r(t);var a=n(14),r=n(43),i=n(70),o={name:"AppNavigationIconCollapsible",props:{open:{type:Boolean,default:!0}},methods:{onClick:function(e){this.$emit("click",e)}}},s=(n(218),n(0)),l=Object(s.a)(o,(function(){var e=this.$createElement;return(this._self._c||e)("button",{staticClass:"icon-collapse",class:{"icon-collapse--rotated":this.open},on:{click:this.onClick}})}),[],!1,null,"24528cd0",null).exports,c=n(119),u={name:"AppNavigationItem",components:{Actions:r.a,ActionButton:i.a,AppNavigationIconCollapsible:l},directives:{ClickOutside:a.directive},mixins:[c.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}},data:function(){return{newTitle:"",opened:this.open,editing:!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(e){this.opened=e}},methods:{onMenuToggle:function(e){this.$emit("update:menuOpen",e)},toggleCollapse:function(){this.opened=!this.opened,this.$emit("update:open",this.opened)},onClick:function(e){this.$emit("click",e)},handleEdit:function(){var e=this;this.newTitle=this.title,this.editing=!0,this.onMenuToggle(!1),this.$nextTick((function(){e.$refs.inputTitle.focus()}))},cancelEdit:function(){this.editing=!1},handleRename:function(){this.$emit("update:title",this.newTitle),this.newTitle="",this.editing=!1},handleUndo:function(){this.$emit("undo")}}},d=(n(220),n(137)),A=n.n(d),p=Object(s.a)(u,(function(){var e,t=this,n=t.$createElement,a=t._self._c||n;return a("nav-element",t._b({staticClass:"app-navigation-entry",class:{"app-navigation-entry--no-icon":!t.isIconShown,"app-navigation-entry--opened":t.opened,"app-navigation-entry--pinned":t.pinned,"app-navigation-entry--editing":t.editing,"app-navigation-entry--deleted":t.undo,"app-navigation-entry--collapsible":t.collapsible,active:t.isActive},attrs:{title:t.title}},"nav-element",t.navElement,!1),[t.undo||t.editing?t._e():a("a",{staticClass:"app-navigation-entry-link",attrs:{href:"#"},on:{click:t.onClick}},[a("div",{staticClass:"app-navigation-entry-icon",class:(e={"icon-loading-small":t.loading},e[t.icon]=t.icon&&t.isIconShown,e)},[t.loading?t._e():t._t("icon")],2),t._v(" "),a("span",{staticClass:"app-navigation-entry__title"},[t._v(t._s(t.title))])]),t._v(" "),t.collapsible?a("AppNavigationIconCollapsible",{attrs:{open:t.opened},on:{click:function(e){return e.preventDefault(),e.stopPropagation(),t.toggleCollapse(e)}}}):t._e(),t._v(" "),t.undo?a("div",{staticClass:"app-navigation-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/>.
*
*/t.default=f},18:function(e,t){e.exports=n(47)},19:function(e,t){e.exports=n(74)},2:function(e,t,n){"use strict";function a(e,t){for(var n=[],a={},r=0;r<t.length;r++){var i=t[r],o=i[0],s={id:e+":"+r,css:i[1],media:i[2],sourceMap:i[3]};a[o]?a[o].parts.push(s):n.push(a[o]={id:o,parts:[s]})}return n}n.r(t),n.d(t,"default",(function(){return p}));var r="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!r)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},o=r&&(document.head||document.getElementsByTagName("head")[0]),s=null,l=0,c=!1,u=function(){},d=null,A="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(e,t,n,r){c=n,d=r||{};var o=a(e,t);return f(o),function(t){for(var n=[],r=0;r<o.length;r++){var s=o[r];(l=i[s.id]).refs--,n.push(l)}for(t?f(o=a(e,t)):o=[],r=0;r<n.length;r++){var l;if(0===(l=n[r]).refs){for(var c=0;c<l.parts.length;c++)l.parts[c]();delete i[l.id]}}}}function f(e){for(var t=0;t<e.length;t++){var n=e[t],a=i[n.id];if(a){a.refs++;for(var r=0;r<a.parts.length;r++)a.parts[r](n.parts[r]);for(;r<n.parts.length;r++)a.parts.push(g(n.parts[r]));a.parts.length>n.parts.length&&(a.parts.length=n.parts.length)}else{var o=[];for(r=0;r<n.parts.length;r++)o.push(g(n.parts[r]));i[n.id]={id:n.id,refs:1,parts:o}}}}function m(){var e=document.createElement("style");return e.type="text/css",o.appendChild(e),e}function g(e){var t,n,a=document.querySelector('style[data-vue-ssr-id~="'+e.id+'"]');if(a){if(c)return u;a.parentNode.removeChild(a)}if(A){var r=l++;a=s||(s=m()),t=b.bind(null,a,r,!1),n=b.bind(null,a,r,!0)}else a=m(),t=x.bind(null,a),n=function(){a.parentNode.removeChild(a)};return t(e),function(a){if(a){if(a.css===e.css&&a.media===e.media&&a.sourceMap===e.sourceMap)return;t(e=a)}else n()}}var h,v=(h=[],function(e,t){return h[e]=t,h.filter(Boolean).join("\n")});function b(e,t,n,a){var r=n?"":a.css;if(e.styleSheet)e.styleSheet.cssText=v(t,r);else{var i=document.createTextNode(r),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(i,o[t]):e.appendChild(i)}}function x(e,t){var n=t.css,a=t.media,r=t.sourceMap;if(a&&e.setAttribute("media",a),d.ssrId&&e.setAttribute("data-vue-ssr-id",t.id),r&&(n+="\n/*# sourceURL="+r.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},20:function(e,t){e.exports=n(131)},21:function(e,t){e.exports=n(38)},218:function(e,t,n){"use strict";var a=n(100);n.n(a).a},219:function(e,t,n){var a=n(1),r=n(7),i=n(8),o=n(9),s=n(10),l=n(11);t=a(!1);var c=r(i),u=r(o),d=r(s),A=r(l);t.push([e.i,'@font-face{font-family:"iconfont-vue-e1f55ce";src:url('+c+");src:url("+c+') format("embedded-opentype"),url('+u+') format("woff"),url('+d+') format("truetype"),url('+A+') format("svg")}.icon[data-v-24528cd0]{font-style:normal;font-weight:400}.icon.arrow-left-double[data-v-24528cd0]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.arrow-left[data-v-24528cd0]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.arrow-right-double[data-v-24528cd0]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.arrow-right[data-v-24528cd0]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.breadcrumb[data-v-24528cd0]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.checkmark[data-v-24528cd0]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.close[data-v-24528cd0]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.confirm[data-v-24528cd0]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.info[data-v-24528cd0]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.menu[data-v-24528cd0]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.more[data-v-24528cd0]:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.pau
/*
* @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/>.
*/t.default=l}})},595:function(e,t,n){(function(t){
/**
* vue-local-storage v0.6.0
* (c) 2017 Alexander Avakov
* @license MIT
*/
e.exports=function(){"use strict";var e=function(){this._properties={},this._namespace="",this._isSupported=!0},n={namespace:{}};n.namespace.get=function(){return this._namespace},n.namespace.set=function(e){this._namespace=e?e+".":""},e.prototype._getLsKey=function(e){return""+this._namespace+e},e.prototype._lsSet=function(e,t,n){var a=this._getLsKey(e),r=n&&[Array,Object].includes(n)?JSON.stringify(t):t;window.localStorage.setItem(a,r)},e.prototype._lsGet=function(e){var t=this._getLsKey(e);return window.localStorage[t]},e.prototype.get=function(e,t,n){if(void 0===t&&(t=null),void 0===n&&(n=String),!this._isSupported)return null;if(this._lsGet(e)){var a=n;for(var r in this._properties)if(r===e){a=this._properties[r].type;break}return this._process(a,this._lsGet(e))}return null!==t?t:null},e.prototype.set=function(e,t){if(!this._isSupported)return null;for(var n in this._properties){var a=this._properties[n].type;if(n===e)return this._lsSet(e,t,a),t}return this._lsSet(e,t),t},e.prototype.remove=function(e){return this._isSupported?window.localStorage.removeItem(e):null},e.prototype.addProperty=function(e,t,n){void 0===n&&(n=void 0),t=t||String,this._properties[e]={type:t},this._lsGet(e)||null===n||this._lsSet(e,n,t)},e.prototype._process=function(e,t){switch(e){case Boolean:return"true"===t;case Number:return parseFloat(t);case Array:try{var n=JSON.parse(t);return Array.isArray(n)?n:[]}catch(e){return[]}case Object:try{return JSON.parse(t)}catch(e){return{}}default:return t}},Object.defineProperties(e.prototype,n);var a=new e;return{install:function(e,n){if(void 0===n&&(n={}),void 0===t||!(t.server||t.SERVER_BUILD||t.env&&"server"===t.env.VUE_ENV)){var r=!0;try{var i="__vue-localstorage-test__";window.localStorage.setItem(i,i),window.localStorage.removeItem(i)}catch(e){r=!1,a._isSupported=!1,console.error("Local storage is not supported")}var o=n.name||"localStorage",s=n.bind;n.namespace&&(a.namespace=n.namespace),e.mixin({beforeCreate:function(){var t=this;r&&this.$options[o]&&Object.keys(this.$options[o]).forEach((function(n){var r=t.$options[o][n],i=[r.type,r.default],l=i[0],c=i[1];if(a.addProperty(n,l,c),Object.getOwnPropertyDescriptor(a,n))e.config.silent||console.log(n+": is already defined and will be reused");else{var u={get:function(){return e.localStorage.get(n,c)},set:function(t){return e.localStorage.set(n,t)},configurable:!0};Object.defineProperty(a,n,u),e.util.defineReactive(a,n,c)}(s||r.bind)&&!1!==r.bind&&(t.$options.computed=t.$options.computed||{},t.$options.computed[n]||(t.$options.computed[n]={get:function(){return e.localStorage[n]},set:function(t){e.localStorage[n]=t}}))}))}}),e[o]=a,e.prototype["$"+o]=a}}}}()}).call(this,n(60))}}]);
//# sourceMappingURL=vue-0.js.map?v=85c7b04698ae0779cc33