2021-05-30 00:53:04 +03:00
! function ( t ) { var n = { } ; function e ( o ) { if ( n [ o ] ) return n [ o ] . exports ; var i = n [ o ] = { i : o , l : ! 1 , exports : { } } ; return t [ o ] . call ( i . exports , i , i . exports , e ) , i . l = ! 0 , i . exports } e . m = t , e . c = n , e . d = function ( t , n , o ) { e . o ( t , n ) || Object . defineProperty ( t , n , { enumerable : ! 0 , get : o } ) } , e . r = function ( t ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( t , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( t , "__esModule" , { value : ! 0 } ) } , e . t = function ( t , n ) { if ( 1 & n && ( t = e ( t ) ) , 8 & n ) return t ; if ( 4 & n && "object" == typeof t && t && t . _ _esModule ) return t ; var o = Object . create ( null ) ; if ( e . r ( o ) , Object . defineProperty ( o , "default" , { enumerable : ! 0 , value : t } ) , 2 & n && "string" != typeof t ) for ( var i in t ) e . d ( o , i , function ( n ) { return t [ n ] } . bind ( null , i ) ) ; return o } , e . n = function ( t ) { var n = t && t . _ _esModule ? function ( ) { return t . default } : function ( ) { return t } ; return e . d ( n , "a" , n ) , n } , e . o = function ( t , n ) { return Object . prototype . hasOwnProperty . call ( t , n ) } , e . p = "/js/" , e ( e . s = 578 ) } ( [ function ( t , n , e ) { ( function ( n ) { var e = function ( t ) { return t && t . Math == Math && t } ; t . exports = e ( "object" == typeof globalThis && globalThis ) || e ( "object" == typeof window && window ) || e ( "object" == typeof self && self ) || e ( "object" == typeof n && n ) || function ( ) { return this } ( ) || Function ( "return this" ) ( ) } ) . call ( this , e ( 9 ) ) } , function ( t , n , e ) { var o = e ( 0 ) , i = e ( 25 ) . f , r = e ( 15 ) , a = e ( 16 ) , s = e ( 54 ) , c = e ( 113 ) , l = e ( 82 ) ; t . exports = function ( t , n ) { var e , u , d , p , f , A = t . target , h = t . global , m = t . stat ; if ( e = h ? o : m ? o [ A ] || s ( A , { } ) : ( o [ A ] || { } ) . prototype ) for ( u in n ) { if ( p = n [ u ] , d = t . noTargetGet ? ( f = i ( e , u ) ) && f . value : e [ u ] , ! l ( h ? u : A + ( m ? "." : "#" ) + u , t . forced ) && void 0 !== d ) { if ( typeof p == typeof d ) continue ; c ( p , d ) } ( t . sham || d && d . sham ) && r ( p , "sham" , ! 0 ) , a ( e , u , p , t ) } } } , function ( t , n ) { t . exports = function ( t ) { try { return ! ! t ( ) } catch ( t ) { return ! 0 } } } , function ( t , n , e ) { var o = e ( 0 ) , i = e ( 43 ) , r = e ( 5 ) , a = e ( 64 ) , s = e ( 65 ) , c = e ( 116 ) , l = i ( "wks" ) , u = o . Symbol , d = c ? u : u && u . withoutSetter || a ; t . exports = function ( t ) { return r ( l , t ) && ( s || "string" == typeof l [ t ] ) || ( s && r ( u , t ) ? l [ t ] = u [ t ] : l [ t ] = d ( "Symbol." + t ) ) , l [ t ] } } , function ( t , n , e ) { var o = e ( 7 ) ; t . exports = function ( t ) { if ( ! o ( t ) ) throw TypeError ( String ( t ) + " is not an object" ) ; return t } } , function ( t , n , e ) { var o = e ( 14 ) , i = { } . hasOwnProperty ; t . exports = Object . hasOwn || function ( t , n ) { return i . call ( o ( t ) , n ) } } , function ( t , n , e ) { var o = e ( 2 ) ; t . exports = ! o ( ( function ( ) { return 7 != Object . defineProperty ( { } , 1 , { get : function ( ) { return 7 } } ) [ 1 ] } ) ) } , function ( t , n ) { t . exports = function ( t ) { return "object" == typeof t ? null !== t : "function" == typeof t } } , function ( t , n , e ) { "use strict" ; var o = e ( 138 ) , i = Object . prototype . toString ; function r ( t ) { return "[object Array]" === i . call ( t ) } function a ( t ) { return void 0 === t } function s ( t ) { return null !== t && "object" == typeof t } function c ( t ) { if ( "[object Object]" !== i . call ( t ) ) return ! 1 ; var n = Object . getPrototypeOf ( t ) ; return null === n || n === Object . prototype } function l ( t ) { return "[object Function]" === i . call ( t ) } function u ( t , n ) { if ( null != t ) if ( "object" != typeof t && ( t = [ t ] ) , r ( t ) ) for ( var e = 0 , o = t . length ; e < o ; e ++ ) n . call ( null , t [ e ] , e , t ) ; else for ( var i in t ) Object . prototype . hasOwnProperty . call ( t , i ) && n . call ( null , t [ i ] , i , t ) } t . exports = { isArray : r , isArrayBuffer : function ( t ) { return "[object ArrayBuffer]" === i . call ( t ) } , isBuffer : function ( t ) { return null !== t && ! a ( t ) && null !== t . constructor && ! a ( t . constructor ) && "function" == typeof t . constructor . isBuffer && t . constructor . isBuffer ( t ) } , isFormData : function ( t ) { return "undefined" != typeof FormData && t instanceof FormData } , isArrayBufferView : function ( t ) { return "undefined" != typeof ArrayBuffer && ArrayBuffer . isView ? ArrayBuffer . isView ( t ) : t && t . buffer && t . buffer instanceof ArrayBuffer } , isString : function ( t ) { return "string" == typeof t } , isNumber : function ( t ) { return "number" == typeof t } , isObject : s , isPlainObject : c , isUndefined : a , isDate : function ( t ) { return "[object Date]" === i . call ( t ) } , isFile : function ( t ) { return "[object File]" === i . call ( t ) } , isBlob : function ( t ) { return "[object Blob]" === i . call ( t ) } , isFunction : l , isStream : function ( t ) { return s ( t ) && l ( t . pipe ) } , isURLSearchParams : function ( t ) { return "undefined" != typeof URLSearchParams && t instanceof URLSearchParams } , isStandardBrowserEnv : function ( ) { return ( "undefined" == typeof navigator || "ReactNative" !== navigator . product && "NativeScript" !== navigator . product && "NS" !== navigator . product ) && ( "undefined" != typeof window && "undefined" != typeof document
2021-03-17 11:45:22 +03:00
/ * !
* Vue . js v2 . 6.12
* ( c ) 2014 - 2020 Evan You
* Released under the MIT License .
* /
2021-05-30 00:53:04 +03:00
var o = Object . freeze ( { } ) ; function i ( t ) { return null == t } function r ( t ) { return null != t } function a ( t ) { return ! 0 === t } function s ( t ) { return "string" == typeof t || "number" == typeof t || "symbol" == typeof t || "boolean" == typeof t } function c ( t ) { return null !== t && "object" == typeof t } var l = Object . prototype . toString ; function u ( t ) { return "[object Object]" === l . call ( t ) } function d ( t ) { return "[object RegExp]" === l . call ( t ) } function p ( t ) { var n = parseFloat ( String ( t ) ) ; return n >= 0 && Math . floor ( n ) === n && isFinite ( t ) } function f ( t ) { return r ( t ) && "function" == typeof t . then && "function" == typeof t . catch } function A ( t ) { return null == t ? "" : Array . isArray ( t ) || u ( t ) && t . toString === l ? JSON . stringify ( t , null , 2 ) : String ( t ) } function h ( t ) { var n = parseFloat ( t ) ; return isNaN ( n ) ? t : n } function m ( t , n ) { for ( var e = Object . create ( null ) , o = t . split ( "," ) , i = 0 ; i < o . length ; i ++ ) e [ o [ i ] ] = ! 0 ; return n ? function ( t ) { return e [ t . toLowerCase ( ) ] } : function ( t ) { return e [ t ] } } m ( "slot,component" , ! 0 ) ; var g = m ( "key,ref,slot,slot-scope,is" ) ; function v ( t , n ) { if ( t . length ) { var e = t . indexOf ( n ) ; if ( e > - 1 ) return t . splice ( e , 1 ) } } var b = Object . prototype . hasOwnProperty ; function C ( t , n ) { return b . call ( t , n ) } function y ( t ) { var n = Object . create ( null ) ; return function ( e ) { return n [ e ] || ( n [ e ] = t ( e ) ) } } var x = /-(\w)/g , w = y ( ( function ( t ) { return t . replace ( x , ( function ( t , n ) { return n ? n . toUpperCase ( ) : "" } ) ) } ) ) , k = y ( ( function ( t ) { return t . charAt ( 0 ) . toUpperCase ( ) + t . slice ( 1 ) } ) ) , _ = /\B([A-Z])/g , B = y ( ( function ( t ) { return t . replace ( _ , "-$1" ) . toLowerCase ( ) } ) ) ; var E = Function . prototype . bind ? function ( t , n ) { return t . bind ( n ) } : function ( t , n ) { function e ( e ) { var o = arguments . length ; return o ? o > 1 ? t . apply ( n , arguments ) : t . call ( n , e ) : t . call ( n ) } return e . _length = t . length , e } ; function S ( t , n ) { n = n || 0 ; for ( var e = t . length - n , o = new Array ( e ) ; e -- ; ) o [ e ] = t [ e + n ] ; return o } function T ( t , n ) { for ( var e in n ) t [ e ] = n [ e ] ; return t } function $ ( t ) { for ( var n = { } , e = 0 ; e < t . length ; e ++ ) t [ e ] && T ( n , t [ e ] ) ; return n } function I ( t , n , e ) { } var O = function ( t , n , e ) { return ! 1 } , M = function ( t ) { return t } ; function N ( t , n ) { if ( t === n ) return ! 0 ; var e = c ( t ) , o = c ( n ) ; if ( ! e || ! o ) return ! e && ! o && String ( t ) === String ( n ) ; try { var i = Array . isArray ( t ) , r = Array . isArray ( n ) ; if ( i && r ) return t . length === n . length && t . every ( ( function ( t , e ) { return N ( t , n [ e ] ) } ) ) ; if ( t instanceof Date && n instanceof Date ) return t . getTime ( ) === n . getTime ( ) ; if ( i || r ) return ! 1 ; var a = Object . keys ( t ) , s = Object . keys ( n ) ; return a . length === s . length && a . every ( ( function ( e ) { return N ( t [ e ] , n [ e ] ) } ) ) } catch ( t ) { return ! 1 } } function D ( t , n ) { for ( var e = 0 ; e < t . length ; e ++ ) if ( N ( t [ e ] , n ) ) return e ; return - 1 } function P ( t ) { var n = ! 1 ; return function ( ) { n || ( n = ! 0 , t . apply ( this , arguments ) ) } } var L = [ "component" , "directive" , "filter" ] , j = [ "beforeCreate" , "created" , "beforeMount" , "mounted" , "beforeUpdate" , "updated" , "beforeDestroy" , "destroyed" , "activated" , "deactivated" , "errorCaptured" , "serverPrefetch" ] , F = { optionMergeStrategies : Object . create ( null ) , silent : ! 1 , productionTip : ! 1 , devtools : ! 1 , performance : ! 1 , errorHandler : null , warnHandler : null , ignoredElements : [ ] , keyCodes : Object . create ( null ) , isReservedTag : O , isReservedAttr : O , isUnknownElement : O , getTagNamespace : I , parsePlatformTagName : M , mustUseProp : O , async : ! 0 , _lifecycleHooks : j } , R = /a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/ ; function U ( t , n , e , o ) { Object . defineProperty ( t , n , { value : e , enumerable : ! ! o , writable : ! 0 , configurable : ! 0 } ) } var z = new RegExp ( "[^" + R . source + ".$_\\d]" ) ; var G , W = "__proto__" in { } , Y = "undefined" != typeof window , H = "undefined" != typeof WXEnvironment && ! ! WXEnvironment . platform , V = H && WXEnvironment . platform . toLowerCase ( ) , Q = Y && window . navigator . userAgent . toLowerCase ( ) , q = Q && /msie|trident/ . test ( Q ) , K = Q && Q . indexOf ( "msie 9.0" ) > 0 , J = Q && Q . indexOf ( "edge/" ) > 0 , X = ( Q && Q . indexOf ( "android" ) , Q && /iphone|ipad|ipod|ios/ . test ( Q ) || "ios" === V ) , Z = ( Q && /chrome\/\d+/ . test ( Q ) , Q && /phantomjs/ . test ( Q ) , Q && Q . match ( /firefox\/(\d+)/ ) ) , tt = { } . watch , nt = ! 1 ; if ( Y ) try { var et = { } ; Object . defineProperty ( et , "passive" , { get : function ( ) { nt = ! 0 } } ) , window . addEventListener ( "test-passive" , null , et ) } catch ( t ) { } var ot = function ( ) { return void 0 === G && ( G = ! Y && ! H && void 0 !== t && ( t . process && "server" === t . process . env . VUE _ENV ) ) , G } , it = Y && window . _ _VUE _DEVTOOLS _GLOBAL _HOOK _ _ ; function rt ( t ) { return "function" == t
2021-03-17 11:45:22 +03:00
/ * * !
* @ fileOverview Kickass library to create and place poppers near their reference elements .
* @ version 1.16 . 1
* @ license
* Copyright ( c ) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted , free of charge , to any person obtaining a copy
* of this software and associated documentation files ( the "Software" ) , to deal
* in the Software without restriction , including without limitation the rights
* to use , copy , modify , merge , publish , distribute , sublicense , and / or sell
* copies of the Software , and to permit persons to whom the Software is
* furnished to do so , subject to the following conditions :
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software .
*
* THE SOFTWARE IS PROVIDED "AS IS" , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR
* IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY ,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER
* LIABILITY , WHETHER IN AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM ,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE .
* /
2021-05-30 00:53:04 +03:00
var e = "undefined" != typeof window && "undefined" != typeof document && "undefined" != typeof navigator , o = function ( ) { for ( var t = [ "Edge" , "Trident" , "Firefox" ] , n = 0 ; n < t . length ; n += 1 ) if ( e && navigator . userAgent . indexOf ( t [ n ] ) >= 0 ) return 1 ; return 0 } ( ) ; var i = e && window . Promise ? function ( t ) { var n = ! 1 ; return function ( ) { n || ( n = ! 0 , window . Promise . resolve ( ) . then ( ( function ( ) { n = ! 1 , t ( ) } ) ) ) } } : function ( t ) { var n = ! 1 ; return function ( ) { n || ( n = ! 0 , setTimeout ( ( function ( ) { n = ! 1 , t ( ) } ) , o ) ) } } ; function r ( t ) { return t && "[object Function]" === { } . toString . call ( t ) } function a ( t , n ) { if ( 1 !== t . nodeType ) return [ ] ; var e = t . ownerDocument . defaultView . getComputedStyle ( t , null ) ; return n ? e [ n ] : e } function s ( t ) { return "HTML" === t . nodeName ? t : t . parentNode || t . host } function c ( t ) { if ( ! t ) return document . body ; switch ( t . nodeName ) { case "HTML" : case "BODY" : return t . ownerDocument . body ; case "#document" : return t . body } var n = a ( t ) , e = n . overflow , o = n . overflowX , i = n . overflowY ; return /(auto|scroll|overlay)/ . test ( e + i + o ) ? t : c ( s ( t ) ) } function l ( t ) { return t && t . referenceNode ? t . referenceNode : t } var u = e && ! ( ! window . MSInputMethodContext || ! document . documentMode ) , d = e && /MSIE 10/ . test ( navigator . userAgent ) ; function p ( t ) { return 11 === t ? u : 10 === t ? d : u || d } function f ( t ) { if ( ! t ) return document . documentElement ; for ( var n = p ( 10 ) ? document . body : null , e = t . offsetParent || null ; e === n && t . nextElementSibling ; ) e = ( t = t . nextElementSibling ) . offsetParent ; var o = e && e . nodeName ; return o && "BODY" !== o && "HTML" !== o ? - 1 !== [ "TH" , "TD" , "TABLE" ] . indexOf ( e . nodeName ) && "static" === a ( e , "position" ) ? f ( e ) : e : t ? t . ownerDocument . documentElement : document . documentElement } function A ( t ) { return null !== t . parentNode ? A ( t . parentNode ) : t } function h ( t , n ) { if ( ! ( t && t . nodeType && n && n . nodeType ) ) return document . documentElement ; var e = t . compareDocumentPosition ( n ) & Node . DOCUMENT _POSITION _FOLLOWING , o = e ? t : n , i = e ? n : t , r = document . createRange ( ) ; r . setStart ( o , 0 ) , r . setEnd ( i , 0 ) ; var a , s , c = r . commonAncestorContainer ; if ( t !== c && n !== c || o . contains ( i ) ) return "BODY" === ( s = ( a = c ) . nodeName ) || "HTML" !== s && f ( a . firstElementChild ) !== a ? f ( c ) : c ; var l = A ( t ) ; return l . host ? h ( l . host , n ) : h ( t , A ( n ) . host ) } function m ( t ) { var n = arguments . length > 1 && void 0 !== arguments [ 1 ] ? arguments [ 1 ] : "top" , e = "top" === n ? "scrollTop" : "scrollLeft" , o = t . nodeName ; if ( "BODY" === o || "HTML" === o ) { var i = t . ownerDocument . documentElement , r = t . ownerDocument . scrollingElement || i ; return r [ e ] } return t [ e ] } function g ( t , n ) { var e = arguments . length > 2 && void 0 !== arguments [ 2 ] && arguments [ 2 ] , o = m ( n , "top" ) , i = m ( n , "left" ) , r = e ? - 1 : 1 ; return t . top += o * r , t . bottom += o * r , t . left += i * r , t . right += i * r , t } function v ( t , n ) { var e = "x" === n ? "Left" : "Top" , o = "Left" === e ? "Right" : "Bottom" ; return parseFloat ( t [ "border" + e + "Width" ] ) + parseFloat ( t [ "border" + o + "Width" ] ) } function b ( t , n , e , o ) { return Math . max ( n [ "offset" + t ] , n [ "scroll" + t ] , e [ "client" + t ] , e [ "offset" + t ] , e [ "scroll" + t ] , p ( 10 ) ? parseInt ( e [ "offset" + t ] ) + parseInt ( o [ "margin" + ( "Height" === t ? "Top" : "Left" ) ] ) + parseInt ( o [ "margin" + ( "Height" === t ? "Bottom" : "Right" ) ] ) : 0 ) } function C ( t ) { var n = t . body , e = t . documentElement , o = p ( 10 ) && getComputedStyle ( e ) ; return { height : b ( "Height" , n , e , o ) , width : b ( "Width" , n , e , o ) } } var y = function ( t , n ) { if ( ! ( t instanceof n ) ) throw new TypeError ( "Cannot call a class as a function" ) } , x = function ( ) { function t ( t , n ) { for ( var e = 0 ; e < n . length ; e ++ ) { var o = n [ e ] ; o . enumerable = o . enumerable || ! 1 , o . configurable = ! 0 , "value" in o && ( o . writable = ! 0 ) , Object . defineProperty ( t , o . key , o ) } } return function ( n , e , o ) { return e && t ( n . prototype , e ) , o && t ( n , o ) , n } } ( ) , w = function ( t , n , e ) { return n in t ? Object . defineProperty ( t , n , { value : e , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : t [ n ] = e , t } , k = Object . assign || function ( t ) { for ( var n = 1 ; n < arguments . length ; n ++ ) { var e = arguments [ n ] ; for ( var o in e ) Object . prototype . hasOwnProperty . call ( e , o ) && ( t [ o ] = e [ o ] ) } return t } ; function _ ( t ) { return k ( { } , t , { right : t . left + t . width , bottom : t . top + t . height } ) } function B ( t ) { var n = { } ; try { if ( p ( 10 ) ) { n = t . getBoundingClientRect ( ) ; var e = m ( t , "top" ) , o = m ( t , "left" ) ; n . top += e , n . left += o , n . bottom += e , n . right += o } else n = t . getBoundingClientRect ( ) } catch ( t ) { } var i = { left : n . left , top : n . top , width : n . right - n . left , height : n . bottom - n . top } , r = "HTML" === t . nodeName ? C ( t . ownerDocument ) : { } , s = r . width || t . clientWidth || i . width , c = r . height || t . clientHeight || i . height , l = t . offsetWidth - s , u = t . offsetHeight - c ; if ( l || u ) { var d = a ( t ) ; l -= v ( d , "x" ) , u -
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
* /
2021-05-30 00:53:04 +03:00
o . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "84c461f" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , o . VTooltip . options . defaultHtml = ! 1 , n . default = o . VTooltip } , function ( t , n ) { t . exports = o ( 306 ) } , function ( t , n , e ) { "use strict" ; var o = e ( 0 ) , i = e . n ( o ) , r = e ( 1 ) , a = e . n ( r ) ( ) ( i . a ) ; a . push ( [ t . i , ".vue-tooltip[data-v-84c461f]{position:absolute;z-index:100000;right:auto;left:auto;display:block;margin:0;margin-top:-3px;padding:10px 0;text-align:left;text-align:start;opacity:0;line-height:1.6;line-break:auto;filter:drop-shadow(0 1px 10px var(--color-box-shadow))}.vue-tooltip[data-v-84c461f][x-placement^='top'] .tooltip-arrow{bottom:0;margin-top:0;margin-bottom:0;border-width:10px 10px 0 10px;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-84c461f][x-placement^='bottom'] .tooltip-arrow{top:0;margin-top:0;margin-bottom:0;border-width:0 10px 10px 10px;border-top-color:transparent;border-right-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-84c461f][x-placement^='right'] .tooltip-arrow{right:100%;margin-right:0;margin-left:0;border-width:10px 10px 10px 0;border-top-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-84c461f][x-placement^='left'] .tooltip-arrow{left:100%;margin-right:0;margin-left:0;border-width:10px 0 10px 10px;border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent}.vue-tooltip[data-v-84c461f][aria-hidden='true']{visibility:hidden;transition:opacity .15s, visibility .15s;opacity:0}.vue-tooltip[data-v-84c461f][aria-hidden='false']{visibility:visible;transition:opacity .15s;opacity:1}.vue-tooltip[data-v-84c461f] .tooltip-inner{max-width:350px;padding:5px 8px;text-align:center;color:var(--color-main-text);border-radius:var(--border-radius);background-color:var(--color-main-background)}.vue-tooltip[data-v-84c461f] .tooltip-arrow{position:absolute;z-index:1;width:0;height:0;margin:0;border-style:solid;border-color:var(--color-main-background)}\n" , "" , { version : 3 , sources : [ "webpack://./index.scss" ] , names : [ ] , mappings : "AAeA,6BACC,iBAAkB,CAClB,cAAe,CACf,UAAW,CACX,SAAU,CACV,aAAc,CACd,QAAS,CAET,eAAgB,CAChB,cAAe,CACf,eAAgB,CAChB,gBAAiB,CACjB,SAAU,CACV,eAAgB,CAEhB,eAAgB,CAChB,sDAAuD,CAhBxD,gEAqBG,QAAS,CACT,YAAa,CACb,eAAgB,CAChB,6BA1Be,CA2Bf,8BAA+B,CAC/B,+BAAgC,CAChC,6BAA8B,CA3BjC,mEAkCG,KAAM,CACN,YAAa,CACb,eAAgB,CAChB,6BAvCe,CAwCf,4BAA6B,CAC7B,8BAA+B,CAC/B,6BAA8B,CAxCjC,kEA+CG,UAAW,CACX,cAAe,CACf,aAAc,CACd,6BAAsD,CACtD,4BAA6B,CAC7B,+BAAgC,CAChC,6BAA8B,CArDjC,iEA4DG,SAAU,CACV,cAAe,CACf,aAAc,CACd,6BAjEe,CAkEf,4BAA6B,CAC7B,8BAA+B,CAC/B,+BAAgC,CAlEnC,iDAwEE,iBAAkB,CAClB,wCAAyC,CACzC,SAAU,CA1EZ,kDA6EE,kBAAmB,CACnB,uBAAwB,CACxB,SAAU,CA/EZ,4CAoFE,eAAgB,CAChB,eAAgB,CAChB,iBAAkB,CAClB,4BAA6B,CAC7B,kCAAmC,CACnC,6CAA8C,CAzFhD,4CA8FE,iBAAkB,CAClB,SAAU,CACV,OAAQ,CACR,QAAS,CACT,QAAS,CACT,kBAAmB,CACnB,yCAA0C" , sourcesContent : [ "$scope_version:\"84c461f\" ; @ import 'variables' ; \ n /**\n* @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>\n* @copyright Copyright (c) 2016, Robin Appelman <robin@icewind.nl>\n* @copyright Copyright (c) 2016, Jan-Christoph Borchardt <hey@jancborchardt.net>\n* @copyright Copyright (c) 2016, Erik Pellikka <erik@pellikka.org>\n* @copyright Copyright (c) 2015, Vincent Petry <pvince81@owncloud.com>\n*\n* Bootstrap v3.3.5 (http://getbootstrap.com)\n* Copyright 2011-2015 Twitter, Inc.\n* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n*/ \ n \ n$arrow - width : 10 px ; \ n \ n . vue - tooltip [ data - v - # { $scope _version } ] { \ n \ tposition : absolute ; \ n \ tz - index : 100000 ; \ n \ tright : auto ; \ n \ tleft : auto ; \ n \ tdisplay : block ; \ n \ tmargin : 0 ; \ n \ t /* default to top */ \ n \ tmargin - top : - 3 px ; \ n \ tpadding : 10 px 0 ; \ n \ ttext - align : left ; \ n \ ttext - align : start ; \ n \ topacity : 0 ; \ n \ tline - height : 1.6 ; \ n \ n \ tline - break : auto ; \ n \ tfilter : drop - shadow ( 0 1 px 10 px var ( -- color - box - shadow ) ) ; \ n \ n \ t // TOP\n\t&[x-placement^='top'] {\n\t\t.tooltip-arrow {\n\t\t\tbottom: 0;\n\t\t\tmargin-top: 0;\n\t\t\tmargin-bottom: 0;\n\t
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-30 00:53:04 +03:00
* / n . a = { b e f o r e : f u n c t i o n ( ) { t h i s . $ s l o t s . d e f a u l t & & " " ! = = t h i s . t e x t . t r i m ( ) | | ( i . a . u t i l . w a r n ( " " . c o n c a t ( t h i s . $ o p t i o n s . n a m e , " c a n n o t b e e m p t y a n d r e q u i r e s a m e a n i n g f u l t e x t c o n t e n t " ) , t h i s ) , t h i s . $ d e s t r o y ( ) , t h i s . $ e l . r e m o v e ( ) ) } , b e f o r e U p d a t e : f u n c t i o n ( ) { t h i s . t e x t = t h i s . g e t T e x t ( ) } , d a t a : f u n c t i o n ( ) { r e t u r n { t e x t : t h i s . g e t T e x t ( ) } } , c o m p u t e d : { i s L o n g T e x t : f u n c t i o n ( ) { r e t u r n t h i s . t e x t & & t h i s . t e x t . t r i m ( ) . l e n g t h > 2 0 } } , m e t h o d s : { g e t T e x t : f u n c t i o n ( ) { r e t u r n t h i s . $ s l o t s . d e f a u l t ? t h i s . $ s l o t s . d e f a u l t [ 0 ] . t e x t . t r i m ( ) : " " } } } } , f u n c t i o n ( t , n ) { t . e x p o r t s = o ( 3 1 6 ) } , f u n c t i o n ( t , n ) { t . e x p o r t s = o ( 3 1 3 ) } , f u n c t i o n ( t , n ) { t . e x p o r t s = o ( 3 7 0 ) } , f u n c t i o n ( t , n ) { t . e x p o r t s = o ( 3 7 5 ) } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; v a r o = e ( 0 ) , i = e . n ( o ) , r = e ( 1 ) , a = e . n ( r ) ( ) ( i . a ) ; a . p u s h ( [ t . i , " . m e n t i o n - b u b b l e - - p r i m a r y . m e n t i o n - b u b b l e _ _ c o n t e n t [ d a t a - v - 7 2 4 f 9 d 5 8 ] { c o l o r : v a r ( - - c o l o r - p r i m a r y - t e x t ) ; b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - p r i m a r y - e l e m e n t ) } . m e n t i o n - b u b b l e _ _ w r a p p e r [ d a t a - v - 7 2 4 f 9 d 5 8 ] { m a x - w i d t h : 1 5 0 p x ; h e i g h t : 1 8 p x ; v e r t i c a l - a l i g n : t e x t - b o t t o m ; d i s p l a y : i n l i n e - f l e x ; a l i g n - i t e m s : c e n t e r } . m e n t i o n - b u b b l e _ _ c o n t e n t [ d a t a - v - 7 2 4 f 9 d 5 8 ] { d i s p l a y : i n l i n e - f l e x ; o v e r f l o w : h i d d e n ; a l i g n - i t e m s : c e n t e r ; m a x - w i d t h : 1 0 0 % ; h e i g h t : 2 0 p x ; - w e b k i t - u s e r - s e l e c t : n o n e ; u s e r - s e l e c t : n o n e ; p a d d i n g - r i g h t : 6 p x ; p a d d i n g - l e f t : 2 p x ; b o r d e r - r a d i u s : 1 0 p x ; b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - b a c k g r o u n d - d a r k ) } . m e n t i o n - b u b b l e _ _ i c o n [ d a t a - v - 7 2 4 f 9 d 5 8 ] { p o s i t i o n : r e l a t i v e ; w i d t h : 1 6 p x ; h e i g h t : 1 6 p x ; b o r d e r - r a d i u s : 8 p x ; b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - b a c k g r o u n d - d a r k e r ) ; b a c k g r o u n d - r e p e a t : n o - r e p e a t ; b a c k g r o u n d - p o s i t i o n : c e n t e r ; b a c k g r o u n d - s i z e : 1 2 p x } . m e n t i o n - b u b b l e _ _ i c o n - - w i t h - a v a t a r [ d a t a - v - 7 2 4 f 9 d 5 8 ] { c o l o r : i n h e r i t ; b a c k g r o u n d - s i z e : c o v e r } . m e n t i o n - b u b b l e _ _ t i t l e [ d a t a - v - 7 2 4 f 9 d 5 8 ] { o v e r f l o w : h i d d e n ; m a r g i n - l e f t : 2 p x ; w h i t e - s p a c e : n o w r a p ; t e x t - o v e r f l o w : e l l i p s i s } . m e n t i o n - b u b b l e _ _ t i t l e [ d a t a - v - 7 2 4 f 9 d 5 8 ] : : b e f o r e { c o n t e n t : a t t r ( t i t l e ) } . m e n t i o n - b u b b l e _ _ s e l e c t [ d a t a - v - 7 2 4 f 9 d 5 8 ] { p o s i t i o n : a b s o l u t e ; z - i n d e x : - 1 ; l e f t : - 1 0 0 0 p x } \ n " , " " , { v e r s i o n : 3 , s o u r c e s : [ " w e b p a c k : / / . / M e n t i o n B u b b l e . v u e " ] , n a m e s : [ ] , m a p p i n g s : " A A s G C , m E A C C , + B A A g C , C A C h C , 6 C A A 8 C , C A C 9 C , 0 C A G A , e A X s B , C A a t B , W A A w C , C A C x C , 0 B A A 2 B , C A C 3 B , m B A A o B , C A C p B , k B A A m B , C A C n B , 0 C A G A , m B A A o B , C A C p B , e A A g B , C A C h B , k B A A m B , C A C n B , c A A e , C A C f , W A z B k B , C A 0 B l B , w B A A y B , C A C z B , g B A A i B , C A C j B , i B A A k C , C A C l C , g B A 3 B k B , C A 4 B l B , k B A A i C , C A C j C , 6 C A A 8 C , C A C 9 C , u C A G A , i B A A k B , C A C l B , U A j C u D , C A k C v D , W A l C u D , C A m C v D , i B A A s C , C A C t C , + C A A g D , C A C h D , 2 B A A 4 B , C A C 5 B , 0 B A A 2 B , C A C 3 B , o B A A 0 D , C A E 1 D , o D A C C , a A A c , C A C d , q B A A s B , C A C t B , w C A I D , e A A g B , C A C h B , e A l D k B , C A m D l B , k B A A m B , C A C n B , s B A A u B , C A J v B , g D A O C , m B A A o B , C A C p B , y C A K D , i B A A k B , C A C l B , U A A W , C A C X , Y A A a " , s o u r c e s C o n t e n t : [ " $ s c o p e _ v e r s i o n : \ " 8 4 c 4 6 1 f \ " ; @ i m p o r t ' v a r i a b l e s ' ; \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n \ n $ b u b b l e - h e i g h t : 2 0 p x ; \ n $ b u b b l e - m a x - w i d t h : 1 5 0 p x ; \ n $ b u b b l e - p a d d i n g : 2 p x ; \ n $ b u b b l e - a v a t a r - s i z e : $ b u b b l e - h e i g h t - 2 * $ b u b b l e - p a d d i n g ; \ n \ n . m e n t i o n - b u b b l e { \ n \ t & - - p r i m a r y & _ _ c o n t e n t { \ n \ t \ t c o l o r : v a r ( - - c o l o r - p r i m a r y - t e x t ) ; \ n \ t \ t b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - p r i m a r y - e l e m e n t ) ; \ n \ t } \ n \ n \ t & _ _ w r a p p e r { \ n \ t \ t m a x - w i d t h : $ b u b b l e - m a x - w i d t h ; \ n \ t \ t / / A l i g n w i t h t e x t \ n \ t \ t h e i g h t : $ b u b b l e - h e i g h t - $ b u b b l e - p a d d i n g ; \ n \ t \ t v e r t i c a l - a l i g n : t e x t - b o t t o m ; \ n \ t \ t d i s p l a y : i n l i n e - f l e x ; \ n \ t \ t a l i g n - i t e m s : c e n t e r ; \ n \ t } \ n \ n \ t & _ _ c o n t e n t { \ n \ t \ t d i s p l a y : i n l i n e - f l e x ; \ n \ t \ t o v e r f l o w : h i d d e n ; \ n \ t \ t a l i g n - i t e m s : c e n t e r ; \ n \ t \ t m a x - w i d t h : 1 0 0 % ; \ n \ t \ t h e i g h t : $ b u b b l e - h e i g h t ; \ n \ t \ t - w e b k i t - u s e r - s e l e c t : n o n e ; \ n \ t \ t u s e r - s e l e c t : n o n e ; \ n \ t \ t p a d d i n g - r i g h t : $ b u b b l e - p a d d i n g * 3 ; \ n \ t \ t p a d d i n g - l e f t : $ b u b b l e - p a d d i n g ; \ n \ t \ t b o r d e r - r a d i u s : $ b u b b l e - h e i g h t / 2 ; \ n \ t \ t b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - b a c k g r o u n d - d a r k ) ; \ n \ t } \ n \ n \ t & _ _ i c o n { \ n \ t \ t p o s i t i o n : r e l a t i v e ; \ n \ t \ t w i d t h : $ b u b b l e - a v a t a r - s i z e ; \ n \ t \ t h e i g h t : $ b u b b l e - a v a t a r - s i z e ; \ n \ t \ t b o r d e r - r a d i u s : $ b u b b l e - a v a t a r - s i z e / 2 ; \ n \ t \ t b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - b a c k g r o u n d - d a r k e r ) ; \ n \ t \ t b a c k g r o u n d - r e p e a t : n o - r e p e a t ; \ n \ t \ t b a c k g r o u n d - p o s i t i o n : c e n t e r ; \ n \ t \ t b a c k g r o u n d - s i z e : $ b u b b l e - a v a t a r - s i z e - 2 * $ b u b b l e - p a d d i n g ; \ n \ n \ t \ t & - - w i t h - a v a t a r { \ n \ t \ t \ t c o l o r : i n h e r i t ; \ n \ t \ t \ t b a c k g r o u n d - s i z e : c o v e r ; \ n \ t \ t } \ n \ t } \ n \ n \ t & _ _ t i t l e { \ n \ t \ t o v e r f l o w : h i d d e n ; \ n \ t \ t m a r g i n - l e f t : $ b u b b l e - p a d d i n g ; \ n \ t \ t w h i t e - s p a c e : n o w r a p ; \ n \ t \ t t e x t - o v e r f l o w : e l l i p s i s ;
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2020 Georg Ehrke < georg - nextcloud @ ehrke . email >
*
* @ author Georg Ehrke < georg - nextcloud @ ehrke . email >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2021-05-29 13:14:51 +03:00
* / v a r f = { d a t a : f u n c t i o n ( ) { r e t u r n { h a s S t a t u s : ! 1 , u s e r S t a t u s : { s t a t u s : n u l l , m e s s a g e : n u l l , i c o n : n u l l } } } , m e t h o d s : { f e t c h U s e r S t a t u s : f u n c t i o n ( t ) { v a r n , e = t h i s ; r e t u r n ( n = r e g e n e r a t o r R u n t i m e . m a r k ( ( f u n c t i o n n ( ) { v a r o , i , r , a , s , p , f , A , h ; r e t u r n r e g e n e r a t o r R u n t i m e . w r a p ( ( f u n c t i o n ( n ) { f o r ( ; ; ) s w i t c h ( n . p r e v = n . n e x t ) { c a s e 0 : i f ( o = O b j e c t ( u . g e t C a p a b i l i t i e s ) ( ) , O b j e c t . p r o t o t y p e . h a s O w n P r o p e r t y . c a l l ( o , " u s e r _ s t a t u s " ) & & o . u s e r _ s t a t u s . e n a b l e d ) { n . n e x t = 3 ; b r e a k } r e t u r n n . a b r u p t ( " r e t u r n " ) ; c a s e 3 : i f ( O b j e c t ( d . g e t C u r r e n t U s e r ) ( ) ) { n . n e x t = 5 ; b r e a k } r e t u r n n . a b r u p t ( " r e t u r n " ) ; c a s e 5 : r e t u r n n . p r e v = 5 , n . n e x t = 8 , c . a . g e t ( O b j e c t ( l . g e n e r a t e O c s U r l ) ( " a p p s / u s e r _ s t a t u s / a p i / v 1 " , 2 ) + " s t a t u s e s / " . c o n c a t ( e n c o d e U R I C o m p o n e n t ( t ) ) ) ; c a s e 8 : i = n . s e n t , r = i . d a t a , a = r . o c s . d a t a , s = a . s t a t u s , p = a . m e s s a g e , f = a . i c o n , e . u s e r S t a t u s . s t a t u s = s , e . u s e r S t a t u s . m e s s a g e = p | | " " , e . u s e r S t a t u s . i c o n = f | | " " , e . h a s S t a t u s = ! 0 , n . n e x t = 2 2 ; b r e a k ; c a s e 1 7 : i f ( n . p r e v = 1 7 , n . t 0 = n . c a t c h ( 5 ) , 4 0 4 ! = = n . t 0 . r e s p o n s e . s t a t u s | | 0 ! = = ( n u l l = = = ( A = n . t 0 . r e s p o n s e . d a t a . o c s ) | | v o i d 0 = = = A | | n u l l = = = ( h = A . d a t a ) | | v o i d 0 = = = h ? v o i d 0 : h . l e n g t h ) ) { n . n e x t = 2 1 ; b r e a k } r e t u r n n . a b r u p t ( " r e t u r n " ) ; c a s e 2 1 : c o n s o l e . e r r o r ( n . t 0 ) ; c a s e 2 2 : c a s e " e n d " : r e t u r n n . s t o p ( ) } } ) , n , n u l l , [ [ 5 , 1 7 ] ] ) } ) ) , f u n c t i o n ( ) { v a r t = t h i s , e = a r g u m e n t s ; r e t u r n n e w P r o m i s e ( ( f u n c t i o n ( o , i ) { v a r r = n . a p p l y ( t , e ) ; f u n c t i o n a ( t ) { p ( r , o , i , a , s , " n e x t " , t ) } f u n c t i o n s ( t ) { p ( r , o , i , a , s , " t h r o w " , t ) } a ( v o i d 0 ) } ) ) } ) ( ) } } } ;
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-30 00:53:04 +03:00
* / } , f u n c t i o n ( t , n ) { t . e x p o r t s = o ( 3 1 4 ) } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) ; v a r o = e ( 2 8 ) ;
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-30 00:53:04 +03:00
* / n . d e f a u l t = o . a } , f u n c t i o n ( t , n ) { t . e x p o r t s = o ( 3 7 2 ) } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e ( 1 6 ) , e ( 6 ) , e ( 1 7 ) , e ( 1 8 ) , e ( 4 0 ) ; v a r o = e ( 3 9 ) , i = ( e ( 1 4 ) , f u n c t i o n ( t , n ) { f o r ( v a r e = t . $ p a r e n t ; e ; ) { i f ( e . $ o p t i o n s . n a m e = = = n ) r e t u r n e ; e = e . $ p a r e n t } } ) ; n . a = { m i x i n s : [ o . a ] , p r o p s : { i c o n : { t y p e : S t r i n g , d e f a u l t : " " } , t i t l e : { t y p e : S t r i n g , d e f a u l t : " " } , c l o s e A f t e r C l i c k : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , a r i a L a b e l : { t y p e : S t r i n g , d e f a u l t : " " } } , c o m p u t e d : { i s I c o n U r l : f u n c t i o n ( ) { t r y { r e t u r n n e w U R L ( t h i s . i c o n ) } c a t c h ( t ) { r e t u r n ! 1 } } } , m e t h o d s : { o n C l i c k : f u n c t i o n ( t ) { i f ( t h i s . $ e m i t ( " c l i c k " , t ) , t h i s . c l o s e A f t e r C l i c k ) { v a r n = i ( t h i s , " A c t i o n s " ) ; n & & n . c l o s e M e n u & & n . c l o s e M e n u ( ) } } } } } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e ( 3 5 ) , e ( 1 4 ) , e ( 1 0 1 ) ; v a r o = e ( 5 ) , i = e . n ( o ) ; n . a = f u n c t i o n ( t , n , e ) { i f ( v o i d 0 ! = = t ) f o r ( v a r o = t . l e n g t h - 1 ; o > = 0 ; o - - ) { v a r r = t [ o ] , a = ! r . c o m p o n e n t O p t i o n s & & r . t a g & & - 1 = = = n . i n d e x O f ( r . t a g ) , s = ! ! r . c o m p o n e n t O p t i o n s & & " s t r i n g " = = t y p e o f r . c o m p o n e n t O p t i o n s . t a g , c = s & & - 1 = = = n . i n d e x O f ( r . c o m p o n e n t O p t i o n s . t a g ) ; ( a | | ! s | | c ) & & ( ( a | | c ) & & i . a . u t i l . w a r n ( " " . c o n c a t ( a ? r . t a g : r . c o m p o n e n t O p t i o n s . t a g , " i s n o t a l l o w e d i n s i d e t h e " ) . c o n c a t ( e . $ o p t i o n s . n a m e , " c o m p o n e n t " ) , e ) , t . s p l i c e ( o , 1 ) ) } } } , f u n c t i o n ( t , n ) { t . e x p o r t s = o ( 3 1 7 ) } , f u n c t i o n ( t , n ) { t . e x p o r t s = o ( 3 1 5 ) } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; v a r o = e ( 0 ) , i = e . n ( o ) , r = e ( 1 ) , a = e . n ( r ) ( ) ( i . a ) ; a . p u s h ( [ t . i , " \ n b u t t o n . m e n u i t e m [ d a t a - v - f e b e d 9 b 6 ] { \ n \ t t e x t - a l i g n : l e f t ; \ n } \ n b u t t o n . m e n u i t e m * [ d a t a - v - f e b e d 9 b 6 ] { \ n \ t c u r s o r : p o i n t e r ; \ n } \ n b u t t o n . m e n u i t e m [ d a t a - v - f e b e d 9 b 6 ] : d i s a b l e d { \ n \ t o p a c i t y : 0 . 5 ! i m p o r t a n t ; \ n \ t c u r s o r : d e f a u l t ; \ n } \ n b u t t o n . m e n u i t e m : d i s a b l e d * [ d a t a - v - f e b e d 9 b 6 ] { \ n \ t c u r s o r : d e f a u l t ; \ n } \ n . m e n u i t e m . a c t i v e [ d a t a - v - f e b e d 9 b 6 ] { \ n \ t b o x - s h a d o w : i n s e t 2 p x 0 v a r ( - - c o l o r - p r i m a r y ) ; \ n \ t b o r d e r - r a d i u s : 0 ; \ n } \ n " , " " , { v e r s i o n : 3 , s o u r c e s : [ " w e b p a c k : / / . / P o p o v e r M e n u I t e m . v u e " ] , n a m e s : [ ] , m a p p i n g s : " ; A A m L A ; C A C A , g B A A A ; A A C A ; A A E A ; C A C A , e A A A ; A A C A ; A A E A ; C A C A , u B A A A ; C A C A , e A A A ; A A C A ; A A E A ; C A C A , e A A A ; A A C A ; A A E A ; C A C A , 4 C A A A ; C A C A , g B A A A ; A A C A " , s o u r c e s C o n t e n t : [ ' \ x 3 c ! - - \ n - @ c o p y r i g h t C o p y r i g h t ( c ) 2 0 1 8 J o h n M o l a k v o æ < s k j n l d s v @ p r o t o n m a i l . c o m > \ n - \ n - @ a u t h o r J o h n M o l a k v o æ < s k j n l d s v @ p r o t o n m a i l . c o m > \ n - \ n - @ l i c e n s e G N U A G P L v e r s i o n 3 o r a n y l a t e r v e r s i o n \ n - \ n - T h i s p r o g r a m i s f r e e s o f t w a r e : y o u c a n r e d i s t r i b u t e i t a n d / o r m o d i f y \ n - i t u n d e r t h e t e r m s o f t h e G N U A f f e r o G e n e r a l P u b l i c L i c e n s e a s \ n - p u b l i s h e d b y t h e F r e e S o f t w a r e F o u n d a t i o n , e i t h e r v e r s i o n 3 o f t h e \ n - L i c e n s e , o r ( a t y o u r o p t i o n ) a n y l a t e r v e r s i o n . \ n - \ n - T h i s p r o g r a m i s d i s t r i b u t e d i n t h e h o p e t h a t i t w i l l b e u s e f u l , \ n - b u t W I T H O U T A N Y W A R R A N T Y ; w i t h o u t e v e n t h e i m p l i e d w a r r a n t y o f \ n - M E R C H A N T A B I L I T Y o r F I T N E S S F O R A P A R T I C U L A R P U R P O S E . S e e t h e \ n - G N U A f f e r o G e n e r a l P u b l i c L i c e n s e f o r m o r e d e t a i l s . \ n - \ n - Y o u s h o u l d h a v e r e c e i v e d a c o p y o f t h e G N U A f f e r o G e n e r a l P u b l i c L i c e n s e \ n - a l o n g w i t h t h i s p r o g r a m . I f n o t , s e e < h t t p : / / w w w . g n u . o r g / l i c e n s e s / > . \ n - \ n - - \ x 3 e \ n \ n < t e m p l a t e > \ n \ t < l i c l a s s = " p o p o v e r _ _ m e n u i t e m " > \ n \ t \ t \ x 3 c ! - - I f i t e m . h r e f i s s e t , a l i n k w i l l b e d i r e c t l y u s e d - - \ x 3 e \ n \ t \ t < a v - i f = " i t e m . h r e f " \ n \ t \ t \ t : h r e f = " ( i t e m . h r e f ) ? i t e m . h r e f : \ ' # \ ' " \ n \ t \ t \ t : t a r g e t = " ( i t e m . t a r g e t ) ? i t e m . t a r g e t : \ ' \ ' " \ n \ t \ t \ t : d o w n l o a d = " i t e m . d o w n l o a d " \ n \ t \ t \ t c l a s s = " f o c u s a b l e " \ n \ t \ t \ t r e l = " n o r e f e r r e r n o o p e n e r " \ n \ t \ t \ t @ c l i c k = " a c t i o n " > \ n \ t \ t \ t < s p a n v - i f = " ! i c o n I s U r l " : c l a s s = " i t e m . i c o n " / > \ n \ t \ t \ t < i m g v - e l s e : s r c = " i t e m . i c o n " > \ n \ t \ t \ t < p v - i f = " i t e m . t e x t & & i t e m . l o n g t e x t " > \ n \ t \ t \ t \ t < s t r o n g c l a s s = " m e n u i t e m - t e x t " > \ n \ t \ t \ t \ t \ t { { i t e m . t e x t } } \ n \ t \ t \ t \ t < / s t r o n g > < b r > \ n \ t \ t \ t \ t < s p a n c l a s s = " m e n u i t e m - t e x t - d e t a i l " > \ n \ t \ t \ t \ t \ t { { i t e m . l o n g t e x t } } \ n \ t \ t \ t \ t < / s p a n > \ n \ t \ t \ t < / p > \ n \ t \ t \ t < s p a n v - e l s e - i f = " i t e m . t e x t " > \ n \ t \ t \ t \ t { { i t e m . t e x t } } \ n \ t \ t \ t < / s p a n > \ n \ t \ t \ t < p v - e l s e - i f = " i t e m . l o n g t e x t " > \ n \ t \ t \ t \ t { { i t e m . l o n g t e x t } } \ n \ t \ t \ t < / p > \ n \ t \ t < / a > \ n \ n \ t \ t \ x 3 c ! - - I f i t e m . i n p u t i s s e t i n s t e a d , a n p u t w i l l b e u s e d - - \ x 3 e \ n \ t \ t < s p a n v - e l s e - i f = " i t e m . i n p u t " c l a s s = " m e n u i t e m " : c l a s s = " { a c t i v e : i t e m . a c t i v e } " > \ n \ t \ t \ t \ x 3 c ! - - d o e s n o t s h o w i f i n p u t i s c h e c k b o x - - \ x 3 e \ n \ t \ t \ t < s p a n v - i f = " i t e m . i n p u t ! = = \ ' c h e c k b o x \ ' " : c l a s s = " i t e m . i c o n " / > \ n \ n \ t \ t \ t \ x 3 c ! - - o n l y s h o w s i f i n p u t i s t e x t - - \ x 3 e \ n \ t \ t \ t < f o r m v - i f = " i t e m . i n p u t = = = \ ' t e x t \ ' " \ n \ t \ t \ t \ t : c l a s s = " i t e m . i n p u t " \ n \ t \ t \ t \ t @ s u b m i t . p r e v e n t = " i t e m . a c t i o n " > \ n \ t \ t \ t \ t < i n p u t : t y p e = " i t e m . i n p u t " \ n \ t \ t \ t \ t \ t : v a
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
* /
2021-05-30 00:53:04 +03:00
function o ( t , n , e ) { this . r = t , this . g = n , this . b = e } function i ( t , n , e ) { var i = [ ] ; i . push ( n ) ; for ( var r = function ( t , n ) { var e = new Array ( 3 ) ; return e [ 0 ] = ( n [ 1 ] . r - n [ 0 ] . r ) / t , e [ 1 ] = ( n [ 1 ] . g - n [ 0 ] . g ) / t , e [ 2 ] = ( n [ 1 ] . b - n [ 0 ] . b ) / t , e } ( t , [ n , e ] ) , a = 1 ; a < t ; a ++ ) { var s = parseInt ( n . r + r [ 0 ] * a , 10 ) , c = parseInt ( n . g + r [ 1 ] * a , 10 ) , l = parseInt ( n . b + r [ 2 ] * a , 10 ) ; i . push ( new o ( s , c , l ) ) } return i } e ( 35 ) , n . a = function ( t ) { t || ( t = 6 ) ; var n = new o ( 182 , 70 , 157 ) , e = new o ( 221 , 203 , 85 ) , r = new o ( 0 , 130 , 201 ) , a = i ( t , n , e ) , s = i ( t , e , r ) , c = i ( t , r , n ) ; return a . concat ( s ) . concat ( c ) } } , function ( t , n , e ) { "use strict" ; var o = e ( 0 ) , i = e . n ( o ) , r = e ( 1 ) , a = e . n ( r ) , s = e ( 4 ) , c = e . n ( s ) , l = e ( 8 ) , u = e ( 9 ) , d = e ( 10 ) , p = e ( 11 ) , f = a ( ) ( i . a ) , A = c ( ) ( l . a ) , h = c ( ) ( u . a ) , m = c ( ) ( d . a ) , g = c ( ) ( p . a ) ; f . push ( [ t . i , '@font-face{font-family:"iconfont-vue-84c461f";src:url(' + A + ");src:url(" + A + ') format("embedded-opentype"),url(' + h + ') format("woff"),url(' + m + ') format("truetype"),url(' + g + ' ) format ( "svg" ) } . icon [ data - v - 5 baa2f3a ] { font - style : normal ; font - weight : 400 } . icon . arrow - left - double [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . arrow - left [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . arrow - right - double [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . arrow - right [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . breadcrumb [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . checkmark [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . close [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . confirm [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . info [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . menu [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . more [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . pause [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . play [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . triangle - s [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . user - status - away [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . user - status - dnd [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . user - status - invisible [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . user - status - online [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . avatardiv [ data - v - 5 baa2f3a ] { position : relative ; display : inline - block } . avatardiv -- unknown [ data - v - 5 baa2f3a ] { position : relative ; background - color : var ( -- color - text - maxcontrast ) } . avatardiv [ data - v - 5 baa2f3a ] : not ( . avatardiv -- unknown ) { background - color : # fff ! important ; box - shadow : 0 0 5 px rgba ( 0 , 0 , 0 , 0.05 ) inset } body . theme -- dark . avatardiv [ data - v - 5 baa2f3a ] : not ( . avatardiv -- unknown ) { background - color : # 000 ! important } . avatardiv -- with - menu [ data - v - 5 baa2f3a ] { cursor : pointer } . avatardiv -- with - menu [ data - v - 5 baa2f3a ] . trigger { position : absolute ; top : 0 ; left : 0 } . avatardiv -- with - menu . icon - more [ data - v - 5 baa2f3a ] { display : flex ; cursor : pointer ; opacity : 0 ; background : none ; font - size : 18 px ; align - items : center ; justify - content : center } . avatardiv -- with - menu . icon - more [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; font - style : normal ; font - weight : 400 ; content : "" } . avatardiv -- with - menu . icon - more [ data - v - 5 baa2f3a ] : : before { display : block } . avatardiv -- with - menu : focus . icon - more [ data - v - 5 baa2f3a ] , . avatardiv -- with - menu : hover . icon - more [ data - v - 5 baa2f3a ] { opacity : 1 } . avatardiv -- with - menu : focus img [ data - v - 5 baa2f3a ] , . avatardiv -- with - menu : hover img [ data - v - 5 baa2f3a ] { opacity : 0.3 } . avatardiv -- with - menu . icon - more [ data - v - 5 baa2f3a ] , . avatardiv -- with - menu img [ data - v - 5 baa2f3a ] { transition : opacity var ( -- animation - quick ) } . avatardiv > . unknown [ data - v - 5 baa2f3a ] { position : absolute ; top : 0 ; left : 0 ; display : block ; width : 100 % ; text - align : center ; font - weight : normal ; color : var ( -- color - main - background ) } . avatardiv img [ data - v - 5 baa2f3a ] { width : 100 % ; height : 100 % ; object - fit : cover } . avatardiv . avatardiv _ _status [ data - v - 5 b
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-30 00:53:04 +03:00
* / n . a = f u n c t i o n ( t , n ) { f o r ( v a r e = [ ] , o = 0 , i = t . t o L o w e r C a s e ( ) . i n d e x O f ( n . t o L o w e r C a s e ( ) , o ) , r = 0 ; i > - 1 & & r < t . l e n g t h ; ) o = i + n . l e n g t h , e . p u s h ( { s t a r t : i , e n d : o } ) , i = t . t o L o w e r C a s e ( ) . i n d e x O f ( n . t o L o w e r C a s e ( ) , i + 1 ) , r + + ; r e t u r n e } } , f u n c t i o n ( t , n ) { t . e x p o r t s = o ( 3 1 9 ) } , f u n c t i o n ( t , n ) { t . e x p o r t s = o ( 3 2 0 ) } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) ; v a r o = e ( 8 5 ) ;
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-29 13:14:51 +03:00
* / n . d e f a u l t = o . a } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) , e ( 1 5 ) , e ( 9 8 ) , e ( 9 3 ) , e ( 2 4 ) , e ( 6 9 ) , e ( 3 1 ) , e ( 5 1 ) , e ( 7 1 ) , e ( 2 7 ) , e ( 7 2 ) ; v a r o = e ( 7 0 ) ; f u n c t i o n i ( t , n ) { v a r e = O b j e c t . k e y s ( t ) ; i f ( O b j e c t . g e t O w n P r o p e r t y S y m b o l s ) { v a r o = O b j e c t . g e t O w n P r o p e r t y S y m b o l s ( t ) ; n & & ( o = o . f i l t e r ( ( f u n c t i o n ( n ) { r e t u r n O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r ( t , n ) . e n u m e r a b l e } ) ) ) , e . p u s h . a p p l y ( e , o ) } r e t u r n e } f u n c t i o n r ( t ) { f o r ( v a r n = 1 ; n < a r g u m e n t s . l e n g t h ; n + + ) { v a r e = n u l l ! = a r g u m e n t s [ n ] ? a r g u m e n t s [ n ] : { } ; n % 2 ? i ( O b j e c t ( e ) , ! 0 ) . f o r E a c h ( ( f u n c t i o n ( n ) { a ( t , n , e [ n ] ) } ) ) : O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r s ? O b j e c t . d e f i n e P r o p e r t i e s ( t , O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r s ( e ) ) : i ( O b j e c t ( e ) ) . f o r E a c h ( ( f u n c t i o n ( n ) { O b j e c t . d e f i n e P r o p e r t y ( t , n , O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r ( e , n ) ) } ) ) } r e t u r n t } f u n c t i o n a ( t , n , e ) { r e t u r n n i n t ? O b j e c t . d e f i n e P r o p e r t y ( t , n , { v a l u e : e , e n u m e r a b l e : ! 0 , c o n f i g u r a b l e : ! 0 , w r i t a b l e : ! 0 } ) : t [ n ] = e , t } v a r s = { n a m e : " H i g h l i g h t " , p r o p s : { t e x t : { t y p e : S t r i n g , d e f a u l t : " " } , s e a r c h : { t y p e : S t r i n g , d e f a u l t : " " } , h i g h l i g h t : { t y p e : A r r a y , d e f a u l t : f u n c t i o n ( ) { r e t u r n [ ] } } } , c o m p u t e d : { r a n g e s : f u n c t i o n ( ) { v a r t = t h i s , n = [ ] ; r e t u r n t h i s . s e a r c h | | 0 ! = = t h i s . h i g h l i g h t . l e n g t h ? ( n = t h i s . h i g h l i g h t . l e n g t h > 0 ? t h i s . h i g h l i g h t : O b j e c t ( o . a ) ( t h i s . t e x t , t h i s . s e a r c h ) ) . r e d u c e ( ( f u n c t i o n ( n , e ) { r e t u r n e . s t a r t < t . t e x t . l e n g t h & & e . e n d > 0 & & n . p u s h ( { s t a r t : e . s t a r t < 0 ? 0 : e . s t a r t , e n d : e . e n d > t . t e x t . l e n g t h ? t . t e x t . l e n g t h : e . e n d } ) , n } ) , [ ] ) : n } , c h u n k s : f u n c t i o n ( ) { i f ( 0 = = = t h i s . r a n g e s . l e n g t h ) r e t u r n [ { s t a r t : 0 , e n d : t h i s . t e x t . l e n g t h , h i g h l i g h t : ! 1 , t e x t : t h i s . t e x t } ] ; f o r ( v a r t = [ ] , n = 0 , e = 0 ; n < t h i s . t e x t . l e n g t h ; ) { v a r o = t h i s . r a n g e s [ e ] ; o . s t a r t ! = = n ? ( t . p u s h ( { s t a r t : n , e n d : o . s t a r t , h i g h l i g h t : ! 1 , t e x t : t h i s . t e x t . s u b s t r ( n , o . s t a r t - n ) } ) , n = o . s t a r t ) : ( t . p u s h ( r ( r ( { } , o ) , { } , { h i g h l i g h t : ! 0 , t e x t : t h i s . t e x t . s u b s t r ( o . s t a r t , o . e n d - o . s t a r t ) } ) ) , e + + , n = o . e n d , e > = t h i s . r a n g e s . l e n g t h & & n < t h i s . t e x t . l e n g t h & & ( t . p u s h ( { s t a r t : n , e n d : t h i s . t e x t . l e n g t h , h i g h l i g h t : ! 1 , t e x t : t h i s . t e x t . s u b s t r ( n , t h i s . t e x t . l e n g t h - n ) } ) , n = t h i s . t e x t . l e n g t h ) ) } r e t u r n t } } , r e n d e r : f u n c t i o n ( t ) { r e t u r n t h i s . r a n g e s . l e n g t h ? t ( " s p a n " , { } , t h i s . c h u n k s . m a p ( ( f u n c t i o n ( n ) { r e t u r n n . h i g h l i g h t ? t ( " s t r o n g " , { } , n . t e x t ) : n . t e x t } ) ) ) : t ( " s p a n " , { } , t h i s . t e x t ) } } , c = e ( 3 ) , l = e ( 7 8 ) , u = e . n ( l ) , d = O b j e c t ( c . a ) ( s , v o i d 0 , v o i d 0 , ! 1 , n u l l , n u l l , n u l l ) ; " f u n c t i o n " = = t y p e o f u . a & & u ( ) ( d ) ; v a r p = d . e x p o r t s ;
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-29 13:14:51 +03:00
* /n.default=p},function(t,n,e){"use strict";function o(t,n){var e;if("undefined"==typeof Symbol||null==t[Symbol.iterator]){if(Array.isArray(t)||(e=function(t,n){if(t){if("string"==typeof t)return i(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/ ^ ( ? : Ui | I ) nt ( ? : 8 | 16 | 32 ) ( ? : Clamped ) ? Array $ / . test ( e ) ? i ( t , n ) : void 0 } } ( t ) ) || n && t && "number" == typeof t . length ) { e && ( t = e ) ; var o = 0 , r = function ( ) { } ; return { s : r , n : function ( ) { return o >= t . length ? { done : ! 0 } : { done : ! 1 , value : t [ o ++ ] } } , e : function ( t ) { throw t } , f : r } } throw new TypeError ( "Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ) } var a , s = ! 0 , c = ! 1 ; return { s : function ( ) { e = t [ Symbol . iterator ] ( ) } , n : function ( ) { var t = e . next ( ) ; return s = t . done , t } , e : function ( t ) { c = ! 0 , a = t } , f : function ( ) { try { s || null == e . return || e . return ( ) } finally { if ( c ) throw a } } } } function i ( t , n ) { ( null == n || n > t . length ) && ( n = t . length ) ; for ( var e = 0 , o = new Array ( n ) ; e < n ; e ++ ) o [ e ] = t [ e ] ; return o }
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2020 Georg Ehrke < georg - nextcloud @ ehrke . email >
*
* @ author Georg Ehrke < georg - nextcloud @ ehrke . email >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2021-05-29 13:14:51 +03:00
* / e . r ( n ) , e ( 4 1 ) , e ( 6 ) , e ( 1 4 ) , e ( 5 2 ) , e ( 1 7 ) , e ( 3 1 ) , e ( 3 8 ) , e ( 4 6 ) , e ( 1 6 ) , e ( 1 8 ) , n . d e f a u l t = { p r o p s : { e x c l u d e C l i c k O u t s i d e C l a s s e s : { t y p e : S t r i n g | A r r a y , d e f a u l t : f u n c t i o n ( ) { r e t u r n [ ] } } } , m e t h o d s : { c l i c k O u t s i d e M i d d l e w a r e : f u n c t i o n ( t ) { v a r n = A r r a y . i s A r r a y ( t h i s . e x c l u d e C l i c k O u t s i d e C l a s s e s ) ? t h i s . e x c l u d e C l i c k O u t s i d e C l a s s e s : [ t h i s . e x c l u d e C l i c k O u t s i d e C l a s s e s ] ; r e t u r n 0 = = = n . l e n g t h | | ! t h i s . h a s N o d e O r A n y P a r e n t C l a s s ( t . t a r g e t , n ) } , h a s N o d e O r A n y P a r e n t C l a s s : f u n c t i o n ( t , n ) { v a r e , i = o ( n ) ; t r y { f o r ( i . s ( ) ; ! ( e = i . n ( ) ) . d o n e ; ) { v a r r , a = e . v a l u e ; i f ( n u l l ! = t & & n u l l ! = = ( r = t . c l a s s L i s t ) & & v o i d 0 ! = = r & & r . c o n t a i n s ( a ) ) r e t u r n ! 0 } } c a t c h ( t ) { i . e ( t ) } f i n a l l y { i . f ( ) } r e t u r n ! ! t . p a r e n t E l e m e n t & & t h i s . h a s N o d e O r A n y P a r e n t C l a s s ( t . p a r e n t E l e m e n t , n ) } } } } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) ,
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
* /
2021-05-29 13:14:51 +03:00
n . default = { data : function ( ) { return { isFullscreen : this . _isFullscreen ( ) } } , beforeMount : function ( ) { window . addEventListener ( "resize" , this . _onResize ) } , beforeDestroy : function ( ) { window . removeEventListener ( "resize" , this . _onResize ) } , methods : { _onResize : function ( ) { this . isFullscreen = this . _isFullscreen ( ) } , _isFullscreen : function ( ) { return window . outerHeight === screen . height } } } } , function ( t , n , e ) { "use strict" ; e . r ( n ) , e ( 6 ) , e ( 26 ) , e ( 16 ) , e ( 17 ) , e ( 18 ) , e ( 40 ) ; var o = { name : "PopoverMenuItem" , props : { item : { type : Object , required : ! 0 , default : function ( ) { return { key : "nextcloud-link" , href : "https://nextcloud.com" , icon : "icon-links" , text : "Nextcloud" } } , validator : function ( t ) { return ! t . input || - 1 !== [ "text" , "checkbox" ] . indexOf ( t . input ) } } } , computed : { key : function ( ) { return this . item . key ? this . item . key : Math . round ( 16 * Math . random ( ) * 1e6 ) . toString ( 16 ) } , iconIsUrl : function ( ) { try { return new URL ( this . item . icon ) , ! 0 } catch ( t ) { return ! 1 } } } , methods : { action : function ( t ) { this . item . action && this . item . action ( t ) } } } , i = e ( 2 ) , r = e . n ( i ) , a = e ( 53 ) , s = ( r ( ) ( a . a , { insert : "head" , singleton : ! 1 } ) , a . a . locals , e ( 54 ) ) , c = ( r ( ) ( s . a , { insert : "head" , singleton : ! 1 } ) , s . a . locals , e ( 3 ) ) , l = { name : "PopoverMenu" , components : { PopoverMenuItem : Object ( c . a ) ( o , ( function ( ) { var t = this , n = t . $createElement , e = t . _self . _c || n ; return e ( "li" , { staticClass : "popover__menuitem" } , [ t . item . href ? e ( "a" , { staticClass : "focusable" , attrs : { href : t . item . href ? t . item . href : "#" , target : t . item . target ? t . item . target : "" , download : t . item . download , rel : "noreferrer noopener" } , on : { click : t . action } } , [ t . iconIsUrl ? e ( "img" , { attrs : { src : t . item . icon } } ) : e ( "span" , { class : t . item . icon } ) , t . _v ( " " ) , t . item . text && t . item . longtext ? e ( "p" , [ e ( "strong" , { staticClass : "menuitem-text" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . text ) + "\n\t\t\t" ) ] ) , e ( "br" ) , t . _v ( " " ) , e ( "span" , { staticClass : "menuitem-text-detail" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . longtext ) + "\n\t\t\t" ) ] ) ] ) : t . item . text ? e ( "span" , [ t . _v ( "\n\t\t\t" + t . _s ( t . item . text ) + "\n\t\t" ) ] ) : t . item . longtext ? e ( "p" , [ t . _v ( "\n\t\t\t" + t . _s ( t . item . longtext ) + "\n\t\t" ) ] ) : t . _e ( ) ] ) : t . item . input ? e ( "span" , { staticClass : "menuitem" , class : { active : t . item . active } } , [ "checkbox" !== t . item . input ? e ( "span" , { class : t . item . icon } ) : t . _e ( ) , t . _v ( " " ) , "text" === t . item . input ? e ( "form" , { class : t . item . input , on : { submit : function ( n ) { return n . preventDefault ( ) , t . item . action ( n ) } } } , [ e ( "input" , { attrs : { type : t . item . input , placeholder : t . item . text , required : "" } , domProps : { value : t . item . value } } ) , t . _v ( " " ) , e ( "input" , { staticClass : "icon-confirm" , attrs : { type : "submit" , value : "" } } ) ] ) : [ "checkbox" === t . item . input ? e ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : t . item . model , expression : "item.model" } ] , class : t . item . input , attrs : { id : t . key , type : "checkbox" } , domProps : { checked : Array . isArray ( t . item . model ) ? t . _i ( t . item . model , null ) > - 1 : t . item . model } , on : { change : [ function ( n ) { var e = t . item . model , o = n . target , i = ! ! o . checked ; if ( Array . isArray ( e ) ) { var r = t . _i ( e , null ) ; o . checked ? r < 0 && t . $set ( t . item , "model" , e . concat ( [ null ] ) ) : r > - 1 && t . $set ( t . item , "model" , e . slice ( 0 , r ) . concat ( e . slice ( r + 1 ) ) ) } else t . $set ( t . item , "model" , i ) } , t . item . action ] } } ) : "radio" === t . item . input ? e ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : t . item . model , expression : "item.model" } ] , class : t . item . input , attrs : { id : t . key , type : "radio" } , domProps : { checked : t . _q ( t . item . model , null ) } , on : { change : [ function ( n ) { return t . $set ( t . item , "model" , null ) } , t . item . action ] } } ) : e ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : t . item . model , expression : "item.model" } ] , class : t . item . input , attrs : { id : t . key , type : t . item . input } , domProps : { value : t . item . model } , on : { change : t . item . action , input : function ( n ) { n . target . composing || t . $set ( t . item , "model" , n . target . value ) } } } ) , t . _v ( " " ) , e ( "label" , { attrs : { for : t . key } , on : { click : function ( n ) { return n . stopPropagation ( ) , n . preventDefault ( ) , t . item . action ( n ) } } } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . text ) + "\n\t\t\t" ) ] ) ] ] , 2 ) : t . item . action ? e ( "button" , { staticClass : "menuitem focusable" , class : { active : t . item . active } , attrs : { disabled : t . item . disabled } , on : { click : function ( n ) { return n . stopPropagation ( ) , n . preventDefault ( ) , t . item . action ( n ) } } } , [ e ( "span" , { class : t . item . icon } ) , t . _v ( " " ) , t . item . text && t . item . longtext ? e ( "p" , [ e ( "strong" , { staticClass : "menuitem-text" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . text ) + "\n\t\t\t" ) ] ) , e ( "br" )
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-30 00:53:04 +03:00
* /n.default=A},function(t,n){},function(t,n){t.exports=o(381)},function(t,n,e){"use strict";e.r(n),e(58),e(30),e(89),e(103),e(104),e(35),e(24),e(57),e(6),e(59);var o=e(86),i=e(42),r=e(77),a=e(34),s=e(29),c=e(37),l=e.n(c),u=e(13),d=e(21),p=e(84),f=e(45),A=e(28);function h(t,n,e,o,i,r,a){try{var s=t[r](a),c=s.value}catch(t){return void e(t)}s.done?n(c):Promise.resolve(c).then(o,i)}function m(t){return function(){var n=this,e=arguments;return new Promise((function(o,i){var r=t.apply(n,e);function a(t){h(r,o,i,a,s,"next",t)}function s(t){h(r,o,i,a,s,"throw",t)}a(void 0)}))}}var g=Object(o.getBuilder)("nextcloud").persist().build();function v(t){var n=g.getItem("user-has-avatar."+t);return"string"==typeof n?Boolean(n):null}function b(t,n){t&&g.setItem("user-has-avatar."+t,n)}var C={name:"Avatar",directives:{tooltip:d.default,ClickOutside:i.directive},components:{Popover:A.a,PopoverMenu:r.default},mixins:[f.e],props:{url:{type:String,default:void 0},iconClass:{type:String,default:void 0},user:{type:String,default:void 0},showUserStatus:{type:Boolean,default:!0},showUserStatusCompact:{type:Boolean,default:!0},preloadedUserStatus:{type:Object,default:void 0},isGuest:{type:Boolean,default:!1},displayName:{type:String,default:void 0},size:{type:Number,default:32},allowPlaceholder:{type:Boolean,default:!0},disableTooltip:{type:Boolean,default:!1},disableMenu:{type:Boolean,default:!1},tooltipMessage:{type:String,default:null},isNoUser:{type:Boolean,default:!1},status:{type:String,default:null,validator:function(t){switch(t){case"positive":case"negative":case"neutral":return!0}return!1}},statusColor:{type:[Number,String],default:null,validator:function(t){return/ ^ ( [ a - f0 - 9 ] { 3 } ) { 1 , 2 } $ / i . test ( t ) } } , menuPosition : { type : String , default : "center" } , menuContainer : { type : String , default : "body" } } , data : function ( ) { return { avatarUrlLoaded : null , avatarSrcSetLoaded : null , userDoesNotExist : ! 1 , isAvatarLoaded : ! 1 , isMenuLoaded : ! 1 , contactsMenuLoading : ! 1 , contactsMenuActions : [ ] , contactsMenuOpenState : ! 1 } } , computed : { canDisplayUserStatus : function ( ) { return this . showUserStatus && this . hasStatus && [ "online" , "away" , "dnd" ] . includes ( this . userStatus . status ) } , showUserStatusIconOnAvatar : function ( ) { return this . showUserStatus && this . showUserStatusCompact && this . hasStatus && "dnd" !== this . userStatus . status && this . userStatus . icon } , getUserIdentifier : function ( ) { return this . isDisplayNameDefined ? this . displayName : this . isUserDefined ? this . user : "" } , isUserDefined : function ( ) { return void 0 !== this . user } , isDisplayNameDefined : function ( ) { return void 0 !== this . displayName } , isUrlDefined : function ( ) { return void 0 !== this . url } , hasMenu : function ( ) { var t ; return ! this . disableMenu && ( this . isMenuLoaded ? this . menu . length > 0 : ! ( this . user === ( null === ( t = Object ( a . getCurrentUser ) ( ) ) || void 0 === t ? void 0 : t . uid ) || this . userDoesNotExist || this . url ) ) } , shouldShowPlaceholder : function ( ) { return this . allowPlaceholder && this . userDoesNotExist } , avatarStyle : function ( ) { var t = { width : this . size + "px" , height : this . size + "px" , lineHeight : this . size + "px" , fontSize : Math . round ( . 55 * this . size ) + "px" } ; if ( ! this . iconClass && ! this . avatarSrcSetLoaded ) { var n = Object ( p . default ) ( this . getUserIdentifier ) ; t . backgroundColor = "rgb(" + n . r + ", " + n . g + ", " + n . b + ")" } return t } , tooltip : function ( ) { return ! this . disableTooltip && ( this . tooltipMessage ? this . tooltipMessage : this . displayName ) } , initials : function ( ) { var t ; if ( this . shouldShowPlaceholder ) { var n = this . getUserIdentifier , e = n . indexOf ( " " ) ; "" === n ? t = "?" : ( t = String . fromCodePoint ( n . codePointAt ( 0 ) ) , - 1 !== e && ( t = t . concat ( String . fromCodePoint ( n . codePointAt ( e + 1 ) ) ) ) ) } return t . toUpperCase ( ) } , menu : function ( ) { var t , n , e , o = this . contactsMenuActions . map ( ( function ( t ) { return { href : t . hyperlink , icon : t . icon , longtext : t . title } } ) ) ; return this . showUserStatus && ( this . userStatus . icon || this . userStatus . message ) ? [ { href : "#" , icon : "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><text x='0' y='14' font-size='14'>" . concat ( ( t = this . userStatus . icon , n = document . createTextNode ( t ) , e = document . createElement ( "p" ) , e . appendChild ( n ) , e . innerHTML ) , "</text></svg>" ) , text : "" . concat ( this . userStatus . message ) } ] . concat ( o ) : o } } , watch : { url : function ( ) { this . userDoesNotExist = ! 1 , this . loadAvatar
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-30 00:53:04 +03:00
* / n . d e f a u l t = S } , f u n c t i o n ( t , n ) { t . e x p o r t s = o ( 3 8 6 ) } , f u n c t i o n ( t , n ) { t . e x p o r t s = o ( 3 8 2 ) } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ;
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-30 00:53:04 +03:00
* /n.a=function(t){t.mounted?Array.isArray(t.mounted)||(t.mounted=[t.mounted]):t.mounted=[],t.mounted.push((function(){this.$el.setAttribute("data-v-".concat("84c461f"),"")}))}},function(t,n,e){"use strict";e.r(n),e(15),e(92),e(25);var o=e(81),i=e.n(o),r=e(64);n.default=function(t){var n=t.toLowerCase();return null===n.match(/ ^ ( [ 0 - 9 a - f ] { 4 } - ? ) { 8 } $ / ) && ( n = i ( ) ( n ) ) , n = n . replace ( /[^0-9a-f]/g , "" ) , Object ( r . a ) ( 6 ) [ function ( t , n ) { for ( var e = 0 , o = [ ] , i = 0 ; i < t . length ; i ++ ) o . push ( parseInt ( t . charAt ( i ) , 16 ) % 16 ) ; for ( var r in o ) e += o [ r ] ; return parseInt ( parseInt ( e , 10 ) % 18 , 10 ) } ( n ) ] } } , function ( t , n , e ) { "use strict" ; e ( 22 ) , e ( 51 ) , e ( 69 ) , e ( 31 ) , e ( 71 ) , e ( 27 ) , e ( 72 ) , e ( 38 ) , e ( 6 ) , e ( 46 ) , e ( 16 ) , e ( 17 ) , e ( 18 ) , e ( 52 ) , e ( 41 ) , e ( 14 ) ; var o = e ( 21 ) , i = e ( 33 ) , r = e ( 50 ) , a = e ( 12 ) , s = e ( 47 ) ; function c ( t , n ) { ( null == n || n > t . length ) && ( n = t . length ) ; for ( var e = 0 , o = new Array ( n ) ; e < n ; e ++ ) o [ e ] = t [ e ] ; return o } function l ( t , n ) { var e = Object . keys ( t ) ; if ( Object . getOwnPropertySymbols ) { var o = Object . getOwnPropertySymbols ( t ) ; n && ( o = o . filter ( ( function ( n ) { return Object . getOwnPropertyDescriptor ( t , n ) . enumerable } ) ) ) , e . push . apply ( e , o ) } return e } function u ( t ) { for ( var n = 1 ; n < arguments . length ; n ++ ) { var e = null != arguments [ n ] ? arguments [ n ] : { } ; n % 2 ? l ( Object ( e ) , ! 0 ) . forEach ( ( function ( n ) { d ( t , n , e [ n ] ) } ) ) : Object . getOwnPropertyDescriptors ? Object . defineProperties ( t , Object . getOwnPropertyDescriptors ( e ) ) : l ( Object ( e ) ) . forEach ( ( function ( n ) { Object . defineProperty ( t , n , Object . getOwnPropertyDescriptor ( e , n ) ) } ) ) } return t } function d ( t , n , e ) { return n in t ? Object . defineProperty ( t , n , { value : e , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : t [ n ] = e , t } var p = [ "ActionButton" , "ActionCheckbox" , "ActionInput" , "ActionLink" , "ActionRadio" , "ActionRouter" , "ActionSeparator" , "ActionText" , "ActionTextEditable" ] , f = { name : "Actions" , directives : { tooltip : o . default } , components : { Popover : s . default , VNodes : { functional : ! 0 , render : function ( t , n ) { return n . props . vnodes } } } , props : { open : { type : Boolean , default : ! 1 } , forceMenu : { type : Boolean , default : ! 1 } , menuTitle : { type : String , default : null } , primary : { type : Boolean , default : ! 1 } , defaultIcon : { type : String , default : "action-item__menutoggle--default-icon" } , ariaLabel : { type : String , default : Object ( a . b ) ( "Actions" ) } , placement : { type : String , default : "bottom" } , boundariesElement : { type : Element , default : function ( ) { return document . querySelector ( "body" ) } } , container : { type : String , default : "body" } , disabled : { type : Boolean , default : ! 1 } } , data : function ( ) { return { actions : [ ] , opened : this . open , focusIndex : 0 , randomId : "menu-" + Object ( i . a ) ( ) , children : this . $children } } , computed : { hasMultipleActions : function ( ) { return this . actions . length > 1 } , isValidSingleAction : function ( ) { return 1 === this . actions . length && null !== this . firstActionElement } , firstActionVNode : function ( ) { return this . actions [ 0 ] } , firstAction : function ( ) { return this . children [ 0 ] ? this . children [ 0 ] : { } } , firstActionBinding : function ( ) { if ( this . firstActionVNode && this . firstActionVNode . componentOptions ) { var t = this . firstActionVNode . componentOptions . tag ; if ( "ActionLink" === t ) return u ( u ( { is : "a" , href : this . firstAction . href , target : this . firstAction . target , "aria-label" : this . firstAction . ariaLabel } , this . firstAction . $attrs ) , this . firstAction . $props ) ; if ( "ActionRouter" === t ) return u ( u ( { is : "router-link" , to : this . firstAction . to , exact : this . firstAction . exact , "aria-label" : this . firstAction . ariaLabel } , this . firstAction . $attrs ) , this . firstAction . $props ) ; if ( "ActionButton" === t ) return u ( u ( { is : "button" , "aria-label" : this . firstAction . ariaLabel } , this . firstAction . $attrs ) , this . firstAction . $props ) } return null } , firstActionEvent : function ( ) { var t , n , e ; return null === ( t = this . firstActionVNode ) || void 0 === t || null === ( n = t . componentOptions ) || void 0 === n || null === ( e = n . listeners ) || void 0 === e ? void 0 : e . click } , firstActionEventBinding : function ( ) { return this . firstActionEvent ? "click" : null } , firstActionIconSlot : function ( ) { var t , n ; return null === ( t = this . firstAction ) || void 0 === t || null === ( n = t . $slots ) || void 0 === n ? void 0 : n . icon } , firstActionClass : function ( ) { return ( ( this . firstActionVNode && this . firstActionVNode . data . staticClass ) + " " + ( this . firstActionVNode && this . firstActionVNode . data . class ) ) . trim ( ) } , iconSlotIsPopulated : function ( ) { return ! ! this . $slots . icon } } , watch : { open : function ( t ) { t !== this . opened && ( this . opened = t ) } } , beforeMount : function ( )
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2020 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2021-05-30 00:53:04 +03:00
* / n . d e f a u l t = A } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e ( 3 0 ) , e ( 2 4 ) , e ( 5 7 ) , e ( 4 1 ) , e ( 3 1 ) , e ( 3 8 ) , e ( 6 ) , e ( 4 6 ) , e ( 1 6 ) , e ( 1 7 ) , e ( 1 8 ) ; v a r o = e ( 1 0 8 ) , i = e . n ( o ) , r = ( e ( 1 4 ) , e ( 1 5 ) , e ( 7 9 ) , e ( 9 8 ) , e ( 7 4 ) ) , a = e ( 7 0 ) , s = { n a m e : " E l l i p s i s e d O p t i o n " , c o m p o n e n t s : { H i g h l i g h t : r . d e f a u l t } , p r o p s : { o p t i o n : { t y p e : [ S t r i n g , O b j e c t ] , r e q u i r e d : ! 0 , d e f a u l t : " " } , l a b e l : { t y p e : S t r i n g , d e f a u l t : " " } , s e a r c h : { t y p e : S t r i n g , d e f a u l t : " " } , n a m e : { t y p e : S t r i n g , d e f a u l t : " " } } , c o m p u t e d : { n e e d s T r u n c a t e : f u n c t i o n ( ) { r e t u r n t h i s . n a m e & & t h i s . n a m e . l e n g t h > = 1 0 } , s p l i t : f u n c t i o n ( ) { r e t u r n t h i s . n a m e . l e n g t h - M a t h . m i n ( M a t h . f l o o r ( t h i s . n a m e . l e n g t h / 2 ) , 1 0 ) } , p a r t 1 : f u n c t i o n ( ) { r e t u r n t h i s . n e e d s T r u n c a t e ? t h i s . n a m e . s u b s t r ( 0 , t h i s . s p l i t ) : t h i s . n a m e } , p a r t 2 : f u n c t i o n ( ) { r e t u r n t h i s . n e e d s T r u n c a t e ? t h i s . n a m e . s u b s t r ( t h i s . s p l i t ) : " " } , h i g h l i g h t 1 : f u n c t i o n ( ) { r e t u r n t h i s . s e a r c h ? O b j e c t ( a . a ) ( t h i s . n a m e , t h i s . s e a r c h ) : [ ] } , h i g h l i g h t 2 : f u n c t i o n ( ) { v a r t = t h i s ; r e t u r n t h i s . h i g h l i g h t 1 . m a p ( ( f u n c t i o n ( n ) { r e t u r n { s t a r t : n . s t a r t - t . s p l i t , e n d : n . e n d - t . s p l i t } } ) ) } } } , c = e ( 2 ) , l = e . n ( c ) , u = e ( 9 6 ) , d = ( l ( ) ( u . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , u . a . l o c a l s , e ( 3 ) ) , p = O b j e c t ( d . a ) ( s , ( f u n c t i o n ( ) { v a r t = t h i s , n = t . $ c r e a t e E l e m e n t , e = t . _ s e l f . _ c | | n ; r e t u r n e ( " d i v " , { s t a t i c C l a s s : " n a m e - p a r t s " , a t t r s : { t i t l e : t . n a m e } } , [ e ( " H i g h l i g h t " , { s t a t i c C l a s s : " n a m e - p a r t s _ _ f i r s t " , a t t r s : { t e x t : t . p a r t 1 , s e a r c h : t . s e a r c h , h i g h l i g h t : t . h i g h l i g h t 1 } } ) , t . _ v ( " " ) , t . p a r t 2 ? e ( " H i g h l i g h t " , { s t a t i c C l a s s : " n a m e - p a r t s _ _ l a s t " , a t t r s : { t e x t : t . p a r t 2 , s e a r c h : t . s e a r c h , h i g h l i g h t : t . h i g h l i g h t 2 } } ) : t . _ e ( ) ] , 1 ) } ) , [ ] , ! 1 , n u l l , " f 8 5 5 c 4 b 8 " , n u l l ) . e x p o r t s , f = e ( 6 1 ) , A = e ( 9 9 ) , h = e ( 2 1 ) ; f u n c t i o n m ( t ) { r e t u r n ( m = " f u n c t i o n " = = t y p e o f S y m b o l & & " s y m b o l " = = t y p e o f S y m b o l . i t e r a t o r ? f u n c t i o n ( t ) { r e t u r n t y p e o f t } : f u n c t i o n ( t ) { r e t u r n t & & " f u n c t i o n " = = t y p e o f S y m b o l & & t . c o n s t r u c t o r = = = S y m b o l & & t ! = = S y m b o l . p r o t o t y p e ? " s y m b o l " : t y p e o f t } ) ( t ) } v a r g = { n a m e : " M u l t i s e l e c t " , c o m p o n e n t s : { E l l i p s i s e d O p t i o n : p , L i s t I t e m I c o n : A . d e f a u l t , V u e M u l t i s e l e c t : i . a } , d i r e c t i v e s : { t o o l t i p : h . d e f a u l t } , m i x i n s : [ f . a ] , i n h e r i t A t t r s : ! 1 , p r o p s : { v a l u e : { d e f a u l t : f u n c t i o n ( ) { r e t u r n [ ] } } , m u l t i p l e : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , l i m i t : { t y p e : N u m b e r , d e f a u l t : 9 9 9 9 9 } , l a b e l : { t y p e : S t r i n g , d e f a u l t : " " } , t r a c k B y : { t y p e : S t r i n g , d e f a u l t : " " } , o p t i o n s : { t y p e : A r r a y , r e q u i r e d : ! 0 } , u s e r S e l e c t : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , l o a d i n g : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , a u t o L i m i t : { t y p e : B o o l e a n , d e f a u l t : ! 0 } , t a g W i d t h : { t y p e : N u m b e r , d e f a u l t : 1 5 0 , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n t > 0 } } } , d a t a : f u n c t i o n ( ) { r e t u r n { e l W i d t h : 0 } } , c o m p u t e d : { m a x O p t i o n s : f u n c t i o n ( ) { i f ( t h i s . a u t o L i m i t & & t h i s . e l W i d t h > 0 & & 0 ! = = t h i s . t a g W i d t h ) { v a r t = M a t h . f l o o r ( t h i s . e l W i d t h / t h i s . t a g W i d t h ) ; r e t u r n t > 0 ? t : 1 } r e t u r n t h i s . l i m i t ? t h i s . l i m i t : 9 9 9 9 } , l i m i t S t r i n g : f u n c t i o n ( ) { r e t u r n " + " . c o n c a t ( t h i s . v a l u e . l e n g t h - t h i s . m a x O p t i o n s ) } , l o c a l V a l u e : { g e t : f u n c t i o n ( ) { r e t u r n t h i s . t r a c k B y & & t h i s . o p t i o n s & & " o b j e c t " ! = = m ( t h i s . v a l u e ) & & t h i s . o p t i o n s [ t h i s . v a l u e ] ? t h i s . o p t i o n s [ t h i s . v a l u e ] : t h i s . v a l u e } , s e t : f u n c t i o n ( t ) { t h i s . $ e m i t ( " u p d a t e : v a l u e " , t ) , t h i s . $ e m i t ( " c h a n g e " , t ) } } } , w a t c h : { v a l u e : f u n c t i o n ( ) { t h i s . u p d a t e W i d t h ( ) } } , m o u n t e d : f u n c t i o n ( ) { t h i s . u p d a t e W i d t h ( ) , w i n d o w . a d d E v e n t L i s t e n e r ( " r e s i z e " , t h i s . u p d a t e W i d t h ) } , b e f o r e D e s t r o y : f u n c t i o n ( ) { w i n d o w . r e m o v e E v e n t L i s t e n e r ( " r e s i z e " , t h i s . u p d a t e W i d t h ) } , m e t h o d s : { g e t O p t i o n L a b e l : f u n c t i o n ( t ) { v a r n ; r e t u r n S t r i n g ( n u l l = = = ( n = t h i s . $ r e f s . V u e M u l t i s e l e c t ) | | v o i d 0 = = = n ? v o i d 0 : n . g e t O p t i o n L a b e l ( t ) ) } , f o r m a t L i m i t T i t l e : f u n c t i o n ( t ) { v a r n = t h i s ; i f ( A r r a y . i s A r r a y ( t ) & & t . l e n g t h > 0 ) { v a r e = t ; r e t u r n " o b j e c t " = = = m ( t [ 0 ] ) & & ( e = t . m a p ( ( f u n c t i o n ( t ) { r e t u r n t [ n . l a b e l ] } ) ) ) , e . s l i c e ( t h i s . m a x O p t i o n s ) . j o i n ( " , " ) } r e t u r n " " } , u p d a t e W i d t h : f u n c t i o n ( ) { t h i s . $ e l & & t h i s . $ e l . q u e r y S e l e c t o r ( " . m u l t i s e l e c t _ _ t a g s - w r a p " ) & & ( t h i s . e l W i d t h = t h i s . $ e l . q u e r y S e l e c t o r ( " . m u l t i s e l e c t _ _ t a g s - w r a p " ) . o f f s e t W i d t h - 1 0 ) } } } , v = e ( 9 7 ) , b = e . n ( v ) , C = O b j e c t ( d . a ) ( g , ( f u n c t i o n ( ) { v a r t = t h i s , n = t . $ c r e a t e E l e m e n t , e = t . _ s e l f . _ c | | n ; r e t u r n e ( " V u e M u l t i s e l e c t " , t . _ g ( t . _ b ( { r e f : " V u e M u l t i s e l e c t " , c l a s s : [ { " i c o n - l o a d i n g - s m a l l " : t . l o a d i n g } , t . m u l t i p l e ? " m u l t i s e l e c t - - m u l t i p l e " : " m u l t i s e l e c t - - s i n g l e " ] , a t t r s : { o p t i o n s : t . o p t i o n s , l i m i t : t . m a x O p t i o n s , " c l o s e - o n - s e l e c t " : ! t . m u l t i p l e , m u l t i p l e : t . m u l t i p l e , l a b e l : t . l a b e l , " t r a c k - b y " : t . t r a c k B y , " t a g - p l a c e h o l d e r " : " c r e a t e " } , s c o p e d S l o t s : t . _ u ( [ { k e y : " o p t i o n " , f n : f u n c t i o n ( n ) { r e t u r n [ t . u s e r S e l e c t & & ! t . $ s c o p e d S l o t s . o p t i o n ? e ( " L i s t I t e m I c o n " , t . _ b ( { a t t r s : { t i t l e : n . o p t i o n [ t . l a b e l ] , s e a r c h : n . s e a r c h } } , " L i s t I t e m I c o n " , n . o p t i o n , ! 1 ) ) : t . $ s c o p e d S l o t s . o p t i o n ? t . _ t ( " o p t i o n " , n u l l , n u l l , n ) : e ( "
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
* /
2021-05-30 00:53:04 +03:00
Object ( o . a ) ( i . a ) , n . default = i . a } , function ( t , n ) { t . exports = o ( 393 ) } , function ( t , n ) { t . exports = o ( 484 ) } , function ( t , n , e ) { "use strict" ; e . r ( n ) ; var o = e ( 102 ) ;
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-29 13:14:51 +03:00
* / n . d e f a u l t = o . a } , f u n c t i o n ( t , n ) { } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; v a r o = e ( 0 ) , i = e . n ( o ) , r = e ( 1 ) , a = e . n ( r ) , s = e ( 4 ) , c = e . n ( s ) , l = e ( 8 ) , u = e ( 9 ) , d = e ( 1 0 ) , p = e ( 1 1 ) , f = a ( ) ( i . a ) , A = c ( ) ( l . a ) , h = c ( ) ( u . a ) , m = c ( ) ( d . a ) , g = c ( ) ( p . a ) ; f . p u s h ( [ t . i , ' @ f o n t - f a c e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; s r c : u r l ( ' + A + " ) ; s r c : u r l ( " + A + ' ) f o r m a t ( " e m b e d d e d - o p e n t y p e " ) , u r l ( ' + h + ' ) f o r m a t ( " w o f f " ) , u r l ( ' + m + ' ) f o r m a t ( " t r u e t y p e " ) , u r l ( ' + g + ' ) f o r m a t ( " s v g " ) } . i c o n { f o n t - s t y l e : n o r m a l ; f o n t - w e i g h t : 4 0 0 } . i c o n . a r r o w - l e f t - d o u b l e : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . a r r o w - l e f t : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t - d o u b l e : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . b r e a d c r u m b : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . c h e c k m a r k : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . c l o s e : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . c o n f i r m : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . i n f o : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . m e n u : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . m o r e : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . p a u s e : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . p l a y : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . t r i a n g l e - s : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . u s e r - s t a t u s - a w a y : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . u s e r - s t a t u s - d n d : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . u s e r - s t a t u s - i n v i s i b l e : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . u s e r - s t a t u s - o n l i n e : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . m x - i c o n - l e f t : b e f o r e , . m x - i c o n - r i g h t : b e f o r e , . m x - i c o n - d o u b l e - l e f t : b e f o r e , . m x - i c o n - d o u b l e - r i g h t : b e f o r e , . m x - i c o n - d o u b l e - l e f t : a f t e r , . m x - i c o n - d o u b l e - r i g h t : a f t e r { c o n t e n t : \ ' \ ' ; p o s i t i o n : r e l a t i v e ; t o p : - 1 p x ; d i s p l a y : i n l i n e - b l o c k ; w i d t h : 1 0 p x ; h e i g h t : 1 0 p x ; v e r t i c a l - a l i g n : m i d d l e ; b o r d e r - s t y l e : s o l i d ; b o r d e r - c o l o r : c u r r e n t C o l o r ; b o r d e r - w i d t h : 2 p x 0 0 2 p x ; b o r d e r - r a d i u s : 1 p x ; b o x - s i z i n g : b o r d e r - b o x ; t r a n s f o r m - o r i g i n : c e n t e r ; t r a n s f o r m : r o t a t e ( - 4 5 d e g ) s c a l e ( 0 . 7 ) } . m x - i c o n - d o u b l e - l e f t : a f t e r { l e f t : - 4 p x } . m x - i c o n - d o u b l e - r i g h t : b e f o r e { l e f t : 4 p x } . m x - i c o n - r i g h t : b e f o r e , . m x - i c o n - d o u b l e - r i g h t : b e f o r e , . m x - i c o n - d o u b l e - r i g h t : a f t e r { t r a n s f o r m : r o t a t e ( 1 3 5 d e g ) s c a l e ( 0 . 7 ) } . m x - b t n { b o x - s i z i n g : b o r d e r - b o x ; l i n e - h e i g h t : 1 ; f o n t - s i z e : 1 4 p x ; f o n t - w e i g h t : 5 0 0 ; p a d d i n g : 7 p x 1 5 p x ; m a r g i n : 0 ; c u r s o r : p o i n t e r ; b a c k g r o u n d - c o l o r : t r a n s p a r e n t ; o u t l i n e : n o n e ; b o r d e r : 1 p x s o l i d r g b a ( 0 , 0 , 0 , 0 . 1 ) ; b o r d e r - r a d i u s : 4 p x ; c o l o r : # 7 3 8 7 9 c ; w h i t e - s p a c e : n o w r a p } . m x - b t n : h o v e r { b o r d e r - c o l o r : # 1 2 8 4 e 7 ; c o l o r : # 1 2 8 4 e 7 } . m x - b t n - t e x t { b o r d e r : 0 ; p a d d i n g : 0 4 p x ; t e x t - a l i g n : l e f t ; l i n e - h e i g h t : i n h e r i t } . m x - s c r o l l b a r { h e i g h t : 1 0 0 % } . m x - s c r o l l b a r : h o v e r . m x - s c r o l l b a r - t r a c k { o p a c i t y : 1 } . m x - s c r o l l b a r - w r a p { h e i g h t : 1 0 0 % ; o v e r f l o w - x : h i d d e n ; o v e r f l o w - y : a u t o } . m x - s c r o l l b a r - t r a c k { p o s i t i o n : a b s o l u t e ; t o p : 2 p x ; r i g h t : 2 p x ; b o t t o m : 2 p x ; w i d t h : 6 p x ; z - i n d e x : 1 ; b o r d e r - r a d i u s : 4 p x ; o p a c i t y : 0 ; t r a n s i t i o n : o p a c i t y 0 . 2 4 s e a s e - o u t } . m x - s c r o l l b a r - t r a c k . m x - s c r o l l b a r - t h u m b { p o s i t i o n : a b s o l u t e ; w i d t h : 1 0 0 % ; h e i g h t : 0 ; c u r s o r : p o i n t e r ; b o r d e r - r a d i u s : i n h e r i t ; b a c k g r o u n d - c o l o r : r g b a ( 1 4 4 , 1 4 7 , 1 5 3 , 0 . 3 ) ; t r a n s i t i o n : b a c k g r o u n d - c o l o r 0 . 3 s } . m x - z o o m - i n - d o w n - e n t e r - a c t i v e , . m x - z o o m - i n - d o w n - l e a v e - a c t i v e { o p a c i t y : 1 ; t r a n s f o r m : s c a l e Y ( 1 ) ; t r a n s i t i o n : t r a n s f o r m 0 . 3 s c u b i c - b e z i e r ( 0 . 2 3 , 1 , 0 . 3 2 , 1 ) , o p a c i t y 0 . 3 s c u b i c - b e z i e r ( 0 . 2 3 , 1 , 0 . 3 2 , 1 ) ; t r a n s f o r m - o r i g i n : c e n t e r t o p } . m x - z o o m - i n - d o w n - e n t e r , . m x - z o o m - i n - d o w n - l e a v e - t o { o p a c i t y : 0 ; t r a n s f o r m : s c a l e Y ( 0 ) } . m x - d a t e p i c k e r { p o s i t i o n : r e l a t i v e ; d i s p l a y : i n l i n e - b l o c k ; w i d t h : 2 1 0 p x } . m x - d a t e p i c k e r s v g { w i d t h : 1 e m ; h e i g h t : 1 e m ; v e r t i c a l - a l i g n : - 0 . 1 5 e m ; f i l l : c u r r e n t C o l o r ; o v e r f l o w : h i d d e n } . m x - d a t e p i c k e r - r a n g e { w i d t h : 3 2 0 p x } . m x - d a t e p i c k e r - i n l i n e { w i d t h : a u t o } . m x - i n p u t - w r a p p e r { p o s i t i o n : r e l a t i v e } . m x - i n p u t - w r a p p e r . m x - i c o n - c l e a r { d i s p l a y : n o n e } . m x - i n p u t - w r a p p e r : h o v e r . m x - i c o n - c l e a r { d i s p l a y : b l o c k } . m x - i n p u t - w r a p p e r : h o v e r . m x - i c o n - c l e a r + . m x - i c o n - c a l e n d a r { d i s p l a y : n o n e } . m x - i n p u t { d i s p l a y : i n l i n e - b l o c k ; b o x - s i z i n g : b o r d e r - b o x ; w i d t h : 1 0 0 % ; h e i g h t : 3 4 p x ; p a d d i n g : 6 p x 3 0 p x ; p a d d i n g - l e f t : 1 0 p x ; f o n t - s i z e : 1 4 p x ; l i n e - h e i g h t : 1 . 4 ;
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
* /
2021-05-29 13:14:51 +03:00
var o = { inserted : function ( t ) { t . focus ( ) } } ; n . default = o } , function ( t , n , e ) { "use strict" ; e . r ( n ) , e . d ( n , "directive" , ( function ( ) { return r } ) ) ; var o = e ( 48 ) , i = e . n ( o ) , r = function ( t , n ) { var e ; ! 0 === ( null === ( e = n . value ) || void 0 === e ? void 0 : e . linkify ) && ( t . innerHTML = i ( ) ( n . value . text , { defaultProtocol : "https" } ) ) } ; n . default = r } , function ( t , n , e ) { "use strict" ; e . r ( n ) ; var o = e ( 83 ) , i = ( e ( 30 ) , e ( 109 ) ) , r = e . n ( i ) , a = e ( 73 ) , s = e ( 110 ) , c = e ( 61 ) , l = e ( 12 ) , u = e ( 21 ) ;
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-29 13:14:51 +03:00
* / f u n c t i o n d ( t , n ) { v a r e , o , i , r = n ; t h i s . s t a r t = f u n c t i o n ( ) { i = ! 0 , o = n e w D a t e , e = s e t T i m e o u t ( t , r ) } , t h i s . p a u s e = f u n c t i o n ( ) { i = ! 1 , c l e a r T i m e o u t ( e ) , r - = n e w D a t e - o } , t h i s . c l e a r = f u n c t i o n ( ) { i = ! 1 , c l e a r T i m e o u t ( e ) , r = 0 } , t h i s . g e t T i m e L e f t = f u n c t i o n ( ) { r e t u r n i & & ( t h i s . p a u s e ( ) , t h i s . s t a r t ( ) ) , r } , t h i s . g e t S t a t e R u n n i n g = f u n c t i o n ( ) { r e t u r n i } , t h i s . s t a r t ( ) } v a r p = { n a m e : " M o d a l " , c o m p o n e n t s : { A c t i o n s : a . d e f a u l t , A c t i o n B u t t o n : s . d e f a u l t } , d i r e c t i v e s : { t o o l t i p : u . d e f a u l t } , m i x i n s : [ c . a ] , p r o p s : { t i t l e : { t y p e : S t r i n g , d e f a u l t : " " } , h a s P r e v i o u s : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , h a s N e x t : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , o u t T r a n s i t i o n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , e n a b l e S l i d e s h o w : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , c l e a r V i e w D e l a y : { t y p e : N u m b e r , d e f a u l t : 5 e 3 } , s l i d e s h o w D e l a y : { t y p e : N u m b e r , d e f a u l t : 3 e 3 } , s l i d e s h o w P a u s e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , e n a b l e S w i p e : { t y p e : B o o l e a n , d e f a u l t : ! 0 } , s p r e a d N a v i g a t i o n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , s i z e : { t y p e : S t r i n g , d e f a u l t : " n o r m a l " , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n - 1 ! = = [ " n o r m a l " , " l a r g e " , " f u l l " ] . i n d e x O f ( t ) } } , c a n C l o s e : { t y p e : B o o l e a n , d e f a u l t : ! 0 } , d a r k : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , c o n t a i n e r : { t y p e : S t r i n g , d e f a u l t : " b o d y " } } , d a t a : f u n c t i o n ( ) { r e t u r n { m c : n u l l , s h o w M o d a l : ! 1 , c l e a r V i e w : ! 1 , c l e a r V i e w T i m e o u t : n u l l , p l a y i n g : ! 1 , s l i d e s h o w T i m e o u t : n u l l } } , c o m p u t e d : { m o d a l T r a n s i t i o n N a m e : f u n c t i o n ( ) { r e t u r n " m o d a l - " . c o n c a t ( t h i s . o u t T r a n s i t i o n ? " o u t " : " i n " ) } , p l a y P a u s e T i t l e : f u n c t i o n ( ) { r e t u r n t h i s . p l a y i n g ? O b j e c t ( l . b ) ( " P a u s e s l i d e s h o w " ) : O b j e c t ( l . b ) ( " S t a r t s l i d e s h o w " ) } } , w a t c h : { s l i d e s h o w P a u s e d : f u n c t i o n ( t ) { t h i s . s l i d e s h o w T i m e o u t & & ( t ? t h i s . s l i d e s h o w T i m e o u t . p a u s e ( ) : t h i s . s l i d e s h o w T i m e o u t . s t a r t ( ) ) } } , b e f o r e M o u n t : f u n c t i o n ( ) { w i n d o w . a d d E v e n t L i s t e n e r ( " k e y d o w n " , t h i s . h a n d l e K e y d o w n ) } , b e f o r e D e s t r o y : f u n c t i o n ( ) { w i n d o w . r e m o v e E v e n t L i s t e n e r ( " k e y d o w n " , t h i s . h a n d l e K e y d o w n ) , t h i s . m c . o f f ( " s w i p e l e f t s w i p e r i g h t " ) , t h i s . m c . d e s t r o y ( ) } , m o u n t e d : f u n c t i o n ( ) { v a r t = t h i s ; t h i s . s h o w M o d a l = ! 0 , t h i s . h a n d l e M o u s e M o v e ( ) , t h i s . m c = n e w r . a ( t h i s . $ r e f s . m a s k ) , t h i s . m c . o n ( " s w i p e l e f t s w i p e r i g h t " , ( f u n c t i o n ( n ) { t . h a n d l e S w i p e ( n ) } ) ) , " b o d y " = = = t h i s . c o n t a i n e r ? d o c u m e n t . b o d y . i n s e r t B e f o r e ( t h i s . $ e l , d o c u m e n t . b o d y . l a s t C h i l d ) : d o c u m e n t . q u e r y S e l e c t o r ( t h i s . c o n t a i n e r ) . a p p e n d C h i l d ( t h i s . $ e l ) } , d e s t r o y e d : f u n c t i o n ( ) { t h i s . $ e l . r e m o v e ( ) } , m e t h o d s : { p r e v i o u s : f u n c t i o n ( t ) { t h i s . h a s P r e v i o u s & & ( t & & t h i s . r e s e t S l i d e s h o w ( ) , t h i s . $ e m i t ( " p r e v i o u s " , t ) ) } , n e x t : f u n c t i o n ( t ) { t h i s . h a s N e x t & & ( t & & t h i s . r e s e t S l i d e s h o w ( ) , t h i s . $ e m i t ( " n e x t " , t ) ) } , c l o s e : f u n c t i o n ( t ) { v a r n = t h i s ; t h i s . c a n C l o s e & & ( t h i s . s h o w M o d a l = ! 1 , s e t T i m e o u t ( ( f u n c t i o n ( ) { n . $ e m i t ( " c l o s e " , t ) } ) , 3 0 0 ) ) } , h a n d l e K e y d o w n : f u n c t i o n ( t ) { s w i t c h ( t . k e y C o d e ) { c a s e 3 7 : t h i s . p r e v i o u s ( t ) ; b r e a k ; c a s e 1 3 : c a s e 3 9 : t h i s . n e x t ( t ) ; b r e a k ; c a s e 2 7 : t h i s . c l o s e ( t ) } } , h a n d l e S w i p e : f u n c t i o n ( t ) { t h i s . e n a b l e S w i p e & & ( " s w i p e l e f t " = = = t . t y p e ? t h i s . n e x t ( t ) : " s w i p e r i g h t " = = = t . t y p e & & t h i s . p r e v i o u s ( t ) ) } , h a n d l e M o u s e M o v e : f u n c t i o n ( ) { v a r t = t h i s ; t h i s . c l e a r V i e w D e l a y > 0 & & ( t h i s . c l e a r V i e w = ! 1 , c l e a r T i m e o u t ( t h i s . c l e a r V i e w T i m e o u t ) , t h i s . c l e a r V i e w T i m e o u t = s e t T i m e o u t ( ( f u n c t i o n ( ) { t . c l e a r V i e w = ! 0 } ) , t h i s . c l e a r V i e w D e l a y ) ) } , t o g g l e P l a y P a u s e : f u n c t i o n ( ) { t h i s . p l a y i n g = ! t h i s . p l a y i n g , t h i s . p l a y i n g ? t h i s . h a n d l e S l i d e s h o w ( ) : t h i s . c l e a r S l i d e s h o w T i m e o u t ( ) } , r e s e t S l i d e s h o w : f u n c t i o n ( ) { t h i s . p l a y i n g = ! t h i s . p l a y i n g , t h i s . c l e a r S l i d e s h o w T i m e o u t ( ) , t h i s . $ n e x t T i c k ( ( f u n c t i o n ( ) { t h i s . t o g g l e P l a y P a u s e ( ) } ) ) } , h a n d l e S l i d e s h o w : f u n c t i o n ( ) { v a r t = t h i s ; t h i s . p l a y i n g = ! 0 , t h i s . h a s N e x t ? t h i s . s l i d e s h o w T i m e o u t = n e w d ( ( f u n c t i o n ( ) { t . n e x t ( ) , t . h a n d l e S l i d e s h o w ( ) } ) , t h i s . s l i d e s h o w D e l a y ) : ( t h i s . p l a y i n g = ! 1 , t h i s . c l e a r S l i d e s h o w T i m e o u t ( ) ) } , c l e a r S l i d e s h o w T i m e o u t : f u n c t i o n ( ) { t h i s . s l i d e s h o w T i m e o u t & & t h i s . s l i d e s h o w T i m e o u t . c l e a r ( ) } } } , f = e ( 2 ) , A = e . n ( f ) , h = e ( 1 1 9 ) , m = ( A ( ) ( h . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , h . a . l o c a l s , e ( 3 ) ) , g = e ( 1 2 0 ) , v = e . n ( g ) , b = O b j e c t ( m . a ) ( p , ( f u n c t i o n ( ) { v a r t = t h i s , n = t . $ c r e a t e E l e m e n t , e = t . _ s e l f . _ c | | n ; r e t u r n e ( " t r a n s i t i o n " , { a t t r s : { n a m e : " f a d e " } } , [ e ( " d i v " , { r e f : " m a s k " , s t a t i c C l a s s : " m o d a l - m a s k " , c l a s s : { " m o d a l - m a s k - - d a r k " : t . d a r k } , o n : { c l i c k : t . h a n d l e M o u s e M o v e , m o u s e m o v e : t . h a n d l e M o u s e M o v e , t o u c h m o v e : t . h a n d l e M o u s e M o v e } } , [ e ( " t r a n s i t i o n " , { a t t r s : { n a m e : " f a d e - v i s i b i l i t y " } } , [ e ( " d i v " , { d i r e c t i v e s : [ { n a m e : " s h o w " , r a w N a m e : " v - s h o w " , v a l u e : ! t . c l e a r V i e w , e x p r e s s i o n : " ! c l e a r V i e w " } ] , s t a t i c C l a s s : " m o d a l - h e a d e r " , c l a s s : { i n v i s i b l e : t . c l e a r V i e w } } , [ " " ! = = t . t i t l e . t r i m ( ) ? e ( " d i v " , { s t a t i c C l a s s : " m o d a l - t i t l e " } , [ t . _ v ( " \ n \ t \ t \ t \ t \ t " + t . _ s ( t . t i t l e ) + " \ n \ t \ t \ t \ t " ) ] ) : t . _ e ( ) , t . _ v ( " " ) , e ( " d i v " , { s t a t i c C
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-29 13:14:51 +03:00
* /Object(o.a)(C),n.default=C},function(t,n,e){"use strict";e.r(n),e(16),e(6),e(17),e(18),e(40),e(63);var o={name:"ActionLink",mixins:[e(49).a],props:{href:{type:String,default:"#",required:!0,validator:function(t){try{return new URL(t)}catch(n){return t.startsWith("#")||t.startsWith("/ ")}}},download:{type:String,default:null},target:{type:String,default:" _self ",validator:function(t){return[" _blank "," _self "," _parent "," _top "].indexOf(t)>-1}}}},i=e(2),r=e.n(i),a=e(113),s=(r()(a.a,{insert:" head ",singleton:!1}),a.a.locals,e(3)),c=e(114),l=e.n(c),u=Object(s.a)(o,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e(" li ",{staticClass:" action "},[e(" a ",{staticClass:" action - link focusable ",attrs:{download:t.download,href:t.href," aria - label ":t.ariaLabel,target:t.target,rel:" noreferrer noopener "},on:{click:t.onClick}},[t._t(" icon ",[e(" span ",{staticClass:" action - link _ _icon ",class:[t.isIconUrl?" action - link _ _icon -- url ":t.icon],style:{backgroundImage:t.isIconUrl?" url ( "+t.icon+" ) ":null}})]),t._v(" "),t.title?e(" p ",[e(" strong ",{staticClass:" action - link _ _title "},[t._v(" \ n \ t \ t \ t \ t "+t._s(t.title)+" \ n \ t \ t \ t ")]),t._v(" "),e(" br "),t._v(" "),e(" span ",{staticClass:" action - link _ _longtext ",domProps:{textContent:t._s(t.text)}})]):t.isLongText?e(" p ",{staticClass:" action - link _ _longtext ",domProps:{textContent:t._s(t.text)}}):e(" span ",{staticClass:" action - link _ _text "},[t._v(t._s(t.text))]),t._v(" "),t._e()],2)])}),[],!1,null," aee1c25a ",null);" function " == typeof l . a && l ( ) ( u ) ; var d = u . exports ;
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-29 13:14:51 +03:00
* / n . d e f a u l t = d } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) ; v a r o = { n a m e : " A c t i o n R o u t e r " , m i x i n s : [ e ( 4 9 ) . a ] , p r o p s : { t o : { t y p e : [ S t r i n g , O b j e c t ] , d e f a u l t : " " , r e q u i r e d : ! 0 } , e x a c t : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } } , i = e ( 2 ) , r = e . n ( i ) , a = e ( 1 1 5 ) , s = ( r ( ) ( a . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , a . a . l o c a l s , e ( 3 ) ) , c = O b j e c t ( s . a ) ( o , ( f u n c t i o n ( ) { v a r t = t h i s , n = t . $ c r e a t e E l e m e n t , e = t . _ s e l f . _ c | | n ; r e t u r n e ( " l i " , { s t a t i c C l a s s : " a c t i o n " } , [ e ( " r o u t e r - l i n k " , { s t a t i c C l a s s : " a c t i o n - r o u t e r f o c u s a b l e " , a t t r s : { t o : t . t o , e x a c t : t . e x a c t , " a r i a - l a b e l " : t . a r i a L a b e l , r e l : " n o r e f e r r e r n o o p e n e r " } , n a t i v e O n : { c l i c k : f u n c t i o n ( n ) { r e t u r n t . o n C l i c k ( n ) } } } , [ t . _ t ( " i c o n " , [ e ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - r o u t e r _ _ i c o n " , c l a s s : [ t . i s I c o n U r l ? " a c t i o n - r o u t e r _ _ i c o n - - u r l " : t . i c o n ] , s t y l e : { b a c k g r o u n d I m a g e : t . i s I c o n U r l ? " u r l ( " + t . i c o n + " ) " : n u l l } } ) ] ) , t . _ v ( " " ) , t . t i t l e ? e ( " p " , [ e ( " s t r o n g " , { s t a t i c C l a s s : " a c t i o n - r o u t e r _ _ t i t l e " } , [ t . _ v ( " \ n \ t \ t \ t \ t " + t . _ s ( t . t i t l e ) + " \ n \ t \ t \ t " ) ] ) , t . _ v ( " " ) , e ( " b r " ) , t . _ v ( " " ) , e ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - r o u t e r _ _ l o n g t e x t " , d o m P r o p s : { t e x t C o n t e n t : t . _ s ( t . t e x t ) } } ) ] ) : t . i s L o n g T e x t ? e ( " p " , { s t a t i c C l a s s : " a c t i o n - r o u t e r _ _ l o n g t e x t " , d o m P r o p s : { t e x t C o n t e n t : t . _ s ( t . t e x t ) } } ) : e ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - r o u t e r _ _ t e x t " } , [ t . _ v ( t . _ s ( t . t e x t ) ) ] ) , t . _ v ( " " ) , t . _ e ( ) ] , 2 ) ] , 1 ) } ) , [ ] , ! 1 , n u l l , " 1 9 6 b 3 c 3 e " , n u l l ) . e x p o r t s ; n . d e f a u l t = c } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) ; v a r o = { n a m e : " B r e a d c r u m b " , c o m p o n e n t s : { A c t i o n s : e ( 7 3 ) . d e f a u l t } , p r o p s : { t i t l e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , t o : { t y p e : S t r i n g , d e f a u l t : v o i d 0 } , h r e f : { t y p e : S t r i n g , d e f a u l t : v o i d 0 } , i c o n : { t y p e : S t r i n g , d e f a u l t : " " } , d i s a b l e D r o p : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , f o r c e M e n u : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , o p e n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , d a t a : f u n c t i o n ( ) { r e t u r n { h o v e r i n g : ! 1 } } , c o m p u t e d : { t a g : f u n c t i o n ( ) { r e t u r n t h i s . t o ? " r o u t e r - l i n k " : " a " } } , m e t h o d s : { o n O p e n C h a n g e : f u n c t i o n ( t ) { t h i s . $ e m i t ( " u p d a t e : o p e n " , t ) } , d r o p p e d : f u n c t i o n ( t ) { r e t u r n t h i s . d i s a b l e D r o p | | ( t h i s . $ e m i t ( " d r o p p e d " , t , t h i s . t o | | t h i s . h r e f ) , t h i s . $ p a r e n t . $ e m i t ( " d r o p p e d " , t , t h i s . t o | | t h i s . h r e f ) , t h i s . h o v e r i n g = ! 1 ) , ! 1 } , d r a g E n t e r : f u n c t i o n ( t ) { t h i s . d i s a b l e D r o p | | ( t h i s . h o v e r i n g = ! 0 ) } , d r a g L e a v e : f u n c t i o n ( t ) { t h i s . d i s a b l e D r o p | | t . t a r g e t . c o n t a i n s ( t . r e l a t e d T a r g e t ) | | t h i s . $ r e f s . c r u m b . c o n t a i n s ( t . r e l a t e d T a r g e t ) | | ( t h i s . h o v e r i n g = ! 1 ) } } } , i = e ( 2 ) , r = e . n ( i ) , a = e ( 1 2 3 ) , s = ( r ( ) ( a . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , a . a . l o c a l s , e ( 3 ) ) , c = e ( 1 2 4 ) , l = e . n ( c ) , u = O b j e c t ( s . a ) ( o , ( f u n c t i o n ( ) { v a r t = t h i s , n = t . $ c r e a t e E l e m e n t , e = t . _ s e l f . _ c | | n ; r e t u r n e ( " d i v " , { r e f : " c r u m b " , s t a t i c C l a s s : " c r u m b " , c l a s s : { " c r u m b - - w i t h - a c t i o n " : t . $ s l o t s . d e f a u l t , " c r u m b - - h o v e r e d " : t . h o v e r i n g } , a t t r s : { d r a g g a b l e : " f a l s e " } , o n : { d r a g s t a r t : f u n c t i o n ( t ) { t . p r e v e n t D e f a u l t ( ) } , d r o p : f u n c t i o n ( n ) { r e t u r n n . p r e v e n t D e f a u l t ( ) , t . d r o p p e d ( n ) } , d r a g o v e r : f u n c t i o n ( t ) { t . p r e v e n t D e f a u l t ( ) } , d r a g e n t e r : t . d r a g E n t e r , d r a g l e a v e : t . d r a g L e a v e } } , [ t . t i t l e | | t . i c o n ? e ( t . t a g , { t a g : " e l e m e n t " , a t t r s : { t o : t . t o , h r e f : t . h r e f } } , [ t . i c o n ? e ( " s p a n " , { s t a t i c C l a s s : " i c o n " , c l a s s : t . i c o n } ) : e ( " s p a n " , [ t . _ v ( t . _ s ( t . t i t l e ) ) ] ) ] ) : t . _ e ( ) , t . _ v ( " " ) , e ( " A c t i o n s " , { r e f : " a c t i o n s " , a t t r s : { " f o r c e - m e n u " : t . f o r c e M e n u , o p e n : t . o p e n } , o n : { " u p d a t e : o p e n " : t . o n O p e n C h a n g e } } , [ t . _ t ( " d e f a u l t " ) ] , 2 ) ] , 1 ) } ) , [ ] , ! 1 , n u l l , " 3 8 b 1 4 7 c 2 " , n u l l ) ; " f u n c t i o n " = = t y p e o f l . a & & l ( ) ( u ) ; v a r d = u . e x p o r t s ;
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-29 13:14:51 +03:00
* / n . d e f a u l t = d } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) ; v a r o = e ( 8 3 ) , i = ( e ( 3 0 ) , e ( 1 3 5 ) ) , r = { n a m e : " D a t e t i m e P i c k e r " , c o m p o n e n t s : { D a t e P i c k e r : e . n ( i ) . a } , i n h e r i t A t t r s : ! 1 , p r o p s : { c l e a r a b l e : { t y p e : B o o l e a n , d e f a u l t : f u n c t i o n ( ) { r e t u r n ! 1 } } , m i n u t e S t e p : { t y p e : N u m b e r , d e f a u l t : f u n c t i o n ( ) { r e t u r n 1 0 } } , t y p e : { t y p e : S t r i n g , d e f a u l t : " d a t e " } , f o r m a t : { t y p e : S t r i n g , d e f a u l t : f u n c t i o n ( ) { v a r t = { d a t e : " Y Y Y Y - M M - D D " , d a t e t i m e : " Y Y Y Y - M M - D D H : m m : s s " , y e a r : " Y Y Y Y " , m o n t h : " Y Y Y Y - M M " , t i m e : " H : m m : s s " , w e e k : " w " } ; r e t u r n t [ t h i s . t y p e ] | | t . d a t e } } , f o r m a t t e r : { t y p e : O b j e c t , d e f a u l t : f u n c t i o n ( ) { r e t u r n n u l l } } , v a l u e : { d e f a u l t : f u n c t i o n ( ) { r e t u r n n e w D a t e } } , a p p e n d T o B o d y : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , s h o w W e e k N u m b e r : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , m e t h o d s : { h a n d l e S e l e c t Y e a r : f u n c t i o n ( t ) { v a r n = t h i s . $ r e f s . d a t e p i c k e r . c u r r e n t V a l u e ; i f ( n ) t r y { v a r e = n e w D a t e ( n e w D a t e ( n ) . s e t F u l l Y e a r ( t ) ) ; t h i s . $ r e f s . d a t e p i c k e r . s e l e c t D a t e ( e ) } c a t c h ( e ) { c o n s o l e . e r r o r ( " I n v a l i d v a l u e " , n , t ) } } , h a n d l e S e l e c t M o n t h : f u n c t i o n ( t ) { v a r n = t h i s . $ r e f s . d a t e p i c k e r . c u r r e n t V a l u e ; i f ( n ) t r y { v a r e = n e w D a t e ( n e w D a t e ( n ) . s e t M o n t h ( t ) ) ; t h i s . $ r e f s . d a t e p i c k e r . s e l e c t D a t e ( e ) } c a t c h ( e ) { c o n s o l e . e r r o r ( " I n v a l i d v a l u e " , n , t ) } } } } , a = e ( 3 ) , s = e ( 1 1 1 ) , c = e . n ( s ) , l = O b j e c t ( a . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s , n = t . $ c r e a t e E l e m e n t ; r e t u r n ( t . _ s e l f . _ c | | n ) ( " D a t e P i c k e r " , t . _ g ( t . _ b ( { r e f : " d a t e p i c k e r " , a t t r s : { c l e a r a b l e : t . c l e a r a b l e , " m i n u t e - s t e p " : t . m i n u t e S t e p , f o r m a t : t . f o r m a t , f o r m a t t e r : t . f o r m a t t e r , t y p e : t . t y p e , v a l u e : t . v a l u e , " a p p e n d - t o - b o d y " : t . a p p e n d T o B o d y , " s h o w - w e e k - n u m b e r " : t . s h o w W e e k N u m b e r , " p o p u p - c l a s s " : { " s h o w - w e e k - n u m b e r " : t . s h o w W e e k N u m b e r } } , o n : { " s e l e c t - y e a r " : t . h a n d l e S e l e c t Y e a r , " s e l e c t - m o n t h " : t . h a n d l e S e l e c t M o n t h , " u p d a t e : v a l u e " : f u n c t i o n ( n ) { r e t u r n t . $ e m i t ( " u p d a t e : v a l u e " , t . v a l u e ) } } , s c o p e d S l o t s : t . _ u ( [ t . _ l ( t . $ s c o p e d S l o t s , ( f u n c t i o n ( n , e ) { r e t u r n { k e y : e , f n : f u n c t i o n ( n ) { r e t u r n [ t . _ t ( e , n u l l , n u l l , n ) ] } } } ) ) ] , n u l l , ! 0 ) } , " D a t e P i c k e r " , t . $ a t t r s , ! 1 ) , t . $ l i s t e n e r s ) ) } ) , [ ] , ! 1 , n u l l , n u l l , n u l l ) ; " f u n c t i o n " = = t y p e o f c . a & & c ( ) ( l ) ; v a r u = l . e x p o r t s , d = e ( 2 ) , p = e . n ( d ) , f = e ( 1 1 2 ) ; p ( ) ( f . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , f . a . l o c a l s ,
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
* /
2021-05-30 00:53:04 +03:00
Object ( o . a ) ( u ) , n . default = u } , function ( t , n , e ) { "use strict" ; var o = { name : "AppNavigationToggle" , props : { open : { type : Boolean , required : ! 0 } } , methods : { toggleNavigation : function ( ) { this . $emit ( "update:open" , ! this . open ) } } } , i = e ( 2 ) , r = e . n ( i ) , a = e ( 116 ) , s = ( r ( ) ( a . a , { insert : "head" , singleton : ! 1 } ) , a . a . locals , e ( 3 ) ) , c = Object ( s . a ) ( o , ( function ( ) { var t = this , n = t . $createElement ; return ( t . _self . _c || n ) ( "a" , { staticClass : "app-navigation-toggle" , attrs : { href : "#" , "aria-expanded" : t . open ? "true" : "false" , "aria-controls" : "app-navigation-vue" } , on : { click : function ( n ) { return n . preventDefault ( ) , t . toggleNavigation ( n ) } , keydown : function ( n ) { return ! n . type . indexOf ( "key" ) && t . _k ( n . keyCode , "space" , 32 , n . key , [ " " , "Spacebar" ] ) || n . ctrlKey || n . shiftKey || n . altKey || n . metaKey ? null : ( n . preventDefault ( ) , t . toggleNavigation ( n ) ) } } } ) } ) , [ ] , ! 1 , null , "6069ba79" , null ) ; n . a = c . exports } , function ( t , n ) { t . exports = o ( 497 ) } , function ( t , n , e ) { "use strict" ; var o = e ( 0 ) , i = e . n ( o ) , r = e ( 1 ) , a = e . n ( r ) ( ) ( i . a ) ; a . push ( [ t . i , "li.active[data-v-395fa6ac]{background-color:var(--color-background-hover)}.action--disabled[data-v-395fa6ac]{pointer-events:none;opacity:.5}.action--disabled[data-v-395fa6ac]:hover,.action--disabled[data-v-395fa6ac]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-395fa6ac]{opacity:1 !important}.action-checkbox[data-v-395fa6ac]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;cursor:pointer;white-space:nowrap;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:normal;line-height:44px}.action-checkbox__checkbox[data-v-395fa6ac]{position:absolute;top:auto;left:-10000px;overflow:hidden;width:1px;height:1px}.action-checkbox__checkbox:focus+.action-checkbox__label[data-v-395fa6ac]{opacity:1}.action-checkbox__label[data-v-395fa6ac]{display:flex;align-items:center;width:100%;padding:0 !important;padding-right:14px !important;opacity:.7}.action-checkbox__label[data-v-395fa6ac]::before{margin:0 14px 0 !important}.action-checkbox--disabled[data-v-395fa6ac],.action-checkbox--disabled .action-checkbox__label[data-v-395fa6ac]{cursor:pointer}.action-checkbox:not(.action-checkbox--disabled):hover .action-checkbox__label[data-v-395fa6ac],.action-checkbox:not(.action-checkbox--disabled):focus .action-checkbox__label[data-v-395fa6ac]{opacity:1}\n" , "" , { version : 3 , sources : [ "webpack://./../../assets/action.scss" , "webpack://./../../assets/variables.scss" , "webpack://./ActionCheckbox.vue" ] , names : [ ] , mappings : "AAwBC,2BAEE,8CAA+C,CAC/C,mCAMD,mBAAoB,CACpB,UCQmB,CDVpB,kFAIE,cAAe,CACf,UCKkB,CDVpB,qCAQE,oBAAqB,CEiHxB,kCACC,YAAa,CACb,sBAAuB,CAEvB,UAAW,CACX,WAAY,CACZ,QAAS,CACT,SAAU,CAEV,cAAe,CACf,kBAAmB,CAEnB,4BAA6B,CAC7B,QAAS,CACT,eAAgB,CAChB,4BAA6B,CAC7B,eAAgB,CAEhB,kBAAmB,CACnB,gBDnJoB,CCsJpB,4CACC,iBAAkB,CAClB,QAAS,CACT,aAAc,CAEd,eAAgB,CAEhB,SAAU,CACV,UAAW,CARX,0EAUC,SD7Ia,CC8Ib,yCAID,YAAa,CACb,kBAAmB,CAEnB,UAAW,CACX,oBAAqB,CACrB,6BAAsC,CAEtC,UD1JiB,CCkJjB,iDAYC,0BAA2B,CAC3B,gHAMA,cAAe,CAvDlB,gMA8DG,SD3Ka" , sourcesContent : [ " /**\n * @copyright Copyright (c) 2019 John Molakvoæ <skjnldsv@protonmail.com>\n *\n * @author John Molakvoæ <skjnldsv@protonmail.com>\n * @author Marco Ambrosini <marcoambrosini@pm.me>\n *\n * @license GNU AGPL version 3 or any later version\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <http://www.gnu.org/licenses/>.\n *\n */ \ n \ n @ mixin action - active { \ n \ tli { \ n \ t \ t & . active { \ n \ t \ t \ tbackground - color : var ( -- color - background - hover ) ; \ n \ t \ t } \ n \ t } \ n } \ n \ n @ mixin action -- disabled { \ n \ t . action -- disabled { \ n \ t \ tpointer - events : none ; \ n \
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2020 Greta Doci < gretadoci @ gmail . com >
*
* @ author 2020 Greta Doci < gretadoci @ gmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2021-05-29 13:14:51 +03:00
* / n . d e f a u l t = o . a } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) ; v a r o = e ( 7 3 ) , i = e ( 1 2 7 ) , r = e ( 1 2 8 ) , a = e ( 2 1 ) , s = ( e ( 2 2 ) , e ( 2 2 1 ) , e ( 5 1 ) , e ( 9 3 ) , e ( 1 4 ) , e ( 2 4 ) , e ( 5 ) ) , c = e . n ( s ) , l = f u n c t i o n ( t ) { r e t u r n t & & " s t r i n g " = = t y p e o f t & & " " ! = = t . t r i m ( ) } , u = f u n c t i o n ( t ) { r e t u r n l ( t ) & & - 1 = = = t . i n d e x O f ( " " ) } , d = { n a m e : " A p p S i d e b a r T a b s " , p r o p s : { a c t i v e : { t y p e : S t r i n g , d e f a u l t : " " } } , d a t a : f u n c t i o n ( ) { r e t u r n { t a b s : [ ] , a c t i v e T a b : " " , c h i l d r e n : [ ] } } , c o m p u t e d : { h a s M u l t i p l e T a b s : f u n c t i o n ( ) { r e t u r n t h i s . t a b s . l e n g t h > 1 } , c u r r e n t T a b I n d e x : f u n c t i o n ( ) { v a r t = t h i s ; r e t u r n t h i s . t a b s . f i n d I n d e x ( ( f u n c t i o n ( n ) { r e t u r n n . i d = = = t . a c t i v e T a b } ) ) } } , w a t c h : { a c t i v e : f u n c t i o n ( t ) { t ! = = t h i s . a c t i v e T a b & & t h i s . u p d a t e A c t i v e ( ) } , c h i l d r e n : f u n c t i o n ( ) { t h i s . u p d a t e T a b s ( ) } } , m o u n t e d : f u n c t i o n ( ) { t h i s . u p d a t e T a b s ( ) , t h i s . c h i l d r e n = t h i s . $ c h i l d r e n } , m e t h o d s : { s e t A c t i v e : f u n c t i o n ( t ) { t h i s . a c t i v e T a b = t , t h i s . $ e m i t ( " u p d a t e : a c t i v e " , t h i s . a c t i v e T a b ) } , f o c u s P r e v i o u s T a b : f u n c t i o n ( ) { t h i s . c u r r e n t T a b I n d e x > 0 & & t h i s . s e t A c t i v e ( t h i s . t a b s [ t h i s . c u r r e n t T a b I n d e x - 1 ] . i d ) , t h i s . f o c u s A c t i v e T a b ( ) } , f o c u s N e x t T a b : f u n c t i o n ( ) { t h i s . c u r r e n t T a b I n d e x < t h i s . t a b s . l e n g t h - 1 & & t h i s . s e t A c t i v e ( t h i s . t a b s [ t h i s . c u r r e n t T a b I n d e x + 1 ] . i d ) , t h i s . f o c u s A c t i v e T a b ( ) } , f o c u s F i r s t T a b : f u n c t i o n ( ) { t h i s . s e t A c t i v e ( t h i s . t a b s [ 0 ] . i d ) , t h i s . f o c u s A c t i v e T a b ( ) } , f o c u s L a s t T a b : f u n c t i o n ( ) { t h i s . s e t A c t i v e ( t h i s . t a b s [ t h i s . t a b s . l e n g t h - 1 ] . i d ) , t h i s . f o c u s A c t i v e T a b ( ) } , f o c u s A c t i v e T a b : f u n c t i o n ( ) { t h i s . $ e l . q u e r y S e l e c t o r ( " # " + t h i s . a c t i v e T a b ) . f o c u s ( ) } , f o c u s A c t i v e T a b C o n t e n t : f u n c t i o n ( ) { t h i s . $ e l . q u e r y S e l e c t o r ( " # t a b - " + t h i s . a c t i v e T a b ) . f o c u s ( ) } , u p d a t e A c t i v e : f u n c t i o n ( ) { v a r t = t h i s ; t h i s . a c t i v e T a b = t h i s . a c t i v e & & - 1 ! = = t h i s . t a b s . f i n d I n d e x ( ( f u n c t i o n ( n ) { r e t u r n n . i d = = = t . a c t i v e } ) ) ? t h i s . a c t i v e : t h i s . t a b s . l e n g t h > 0 ? t h i s . t a b s [ 0 ] . i d : " " } , u p d a t e T a b s : f u n c t i o n ( ) { i f ( t h i s . $ s l o t s . d e f a u l t ) { v a r t = t h i s . $ s l o t s . d e f a u l t . f i l t e r ( ( f u n c t i o n ( t ) { r e t u r n t . t a g | | t . t e x t . t r i m ( ) } ) ) , n = [ ] , e = t . r e d u c e ( ( f u n c t i o n ( t , e ) { v a r o = e . c o m p o n e n t I n s t a n c e ; r e t u r n l ( n u l l = = o ? v o i d 0 : o . n a m e ) & & u ( n u l l = = o ? v o i d 0 : o . i d ) & & u ( n u l l = = o ? v o i d 0 : o . i c o n ) ? t . p u s h ( o ) : n . p u s h ( e ) , t } ) , [ ] ) ; 0 ! = = e . l e n g t h & & e . l e n g t h ! = = t . l e n g t h & & ( c . a . u t i l . w a r n ( " M i x i n g t a b s a n d n o n - t a b - c o n t e n t i s n o t p o s s i b l e . " ) , n . m a p ( ( f u n c t i o n ( t ) { r e t u r n c o n s o l e . d e b u g ( " I g n o r i n g i n v a l i d t a b " , t ) } ) ) ) , t h i s . t a b s = e . s o r t ( ( f u n c t i o n ( t , n ) { v a r e = t . o r d e r | | 0 , o = n . o r d e r | | 0 ; r e t u r n e = = = o ? O C . U t i l . n a t u r a l S o r t C o m p a r e ( t . n a m e , n . n a m e ) : e - o } ) ) , t h i s . t a b s . l e n g t h > 0 & & t h i s . u p d a t e A c t i v e ( ) } e l s e t h i s . t a b s = [ ] } } } , p = e ( 2 ) , f = e . n ( p ) , A = e ( 1 6 5 ) , h = ( f ( ) ( A . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , A . a . l o c a l s , e ( 3 ) ) , m = O b j e c t ( h . a ) ( d , ( f u n c t i o n ( ) { v a r t = t h i s , n = t . $ c r e a t e E l e m e n t , e = t . _ s e l f . _ c | | n ; r e t u r n e ( " d i v " , { s t a t i c C l a s s : " a p p - s i d e b a r - t a b s " } , [ t . h a s M u l t i p l e T a b s ? e ( " n a v " , { s t a t i c C l a s s : " a p p - s i d e b a r - t a b s _ _ n a v " , o n : { k e y d o w n : [ f u n c t i o n ( n ) { r e t u r n ! n . t y p e . i n d e x O f ( " k e y " ) & & t . _ k ( n . k e y C o d e , " l e f t " , 3 7 , n . k e y , [ " L e f t " , " A r r o w L e f t " ] ) | | " b u t t o n " i n n & & 0 ! = = n . b u t t o n | | n . c t r l K e y | | n . s h i f t K e y | | n . a l t K e y | | n . m e t a K e y ? n u l l : ( n . p r e v e n t D e f a u l t ( ) , t . f o c u s P r e v i o u s T a b ( n ) ) } , f u n c t i o n ( n ) { r e t u r n ! n . t y p e . i n d e x O f ( " k e y " ) & & t . _ k ( n . k e y C o d e , " r i g h t " , 3 9 , n . k e y , [ " R i g h t " , " A r r o w R i g h t " ] ) | | " b u t t o n " i n n & & 2 ! = = n . b u t t o n | | n . c t r l K e y | | n . s h i f t K e y | | n . a l t K e y | | n . m e t a K e y ? n u l l : ( n . p r e v e n t D e f a u l t ( ) , t . f o c u s N e x t T a b ( n ) ) } , f u n c t i o n ( n ) { r e t u r n ! n . t y p e . i n d e x O f ( " k e y " ) & & t . _ k ( n . k e y C o d e , " t a b " , 9 , n . k e y , " T a b " ) | | n . c t r l K e y | | n . s h i f t K e y | | n . a l t K e y | | n . m e t a K e y ? n u l l : ( n . p r e v e n t D e f a u l t ( ) , t . f o c u s A c t i v e T a b C o n t e n t ( n ) ) } , f u n c t i o n ( n ) { r e t u r n n . t y p e . i n d e x O f ( " k e y " ) | | 3 3 = = = n . k e y C o d e ? n . c t r l K e y | | n . s h i f t K e y | | n . a l t K e y | | n . m e t a K e y ? n u l l : ( n . p r e v e n t D e f a u l t ( ) , t . f o c u s F i r s t T a b ( n ) ) : n u l l } , f u n c t i o n ( n ) { r e t u r n n . t y p e . i n d e x O f ( " k e y " ) | | 3 4 = = = n . k e y C o d e ? n . c t r l K e y | | n . s h i f t K e y | | n . a l t K e y | | n . m e t a K e y ? n u l l : ( n . p r e v e n t D e f a u l t ( ) , t . f o c u s L a s t T a b ( n ) ) : n u l l } ] } } , [ e ( " u l " , t . _ l ( t . t a b s , ( f u n c t i o n ( n ) { r e t u r n e ( " l i " , { k e y : n . i d , s t a t i c C l a s s : " a p p - s i d e b a r - t a b s _ _ t a b " } , [ e ( " a " , { c l a s s : { a c t i v e : t . a c t i v e T a b = = = n . i d } , a t t r s : { i d : n . i d , " a r i a - c o n t r o l s " : " t a b - " + n . i d , " a r i a - s e l e c t e d " : t . a c t i v e T a b = = = n . i d , " d a t a - i d " : n . i d , h r e f : " # t a b - " + n . i d , t a b i n d e x : t . a c t i v e T a b = = = n . i d ? n u l l : - 1 , r o l e : " t a b " } , o n : { c l i c k : f u n c t i o n ( e ) { r e t u r n e . p r e v e n t D e f a u l t ( ) , t . s e t A c t i v e ( n . i d ) } } } , [ e ( " s p a n " , { s t a t i c C l a s s : " a p p - s i d e b a r - t a b s _ _ t a b - i c o n " , c l a s s : n . i c o n } ) , t . _ v ( " \ n \ t \ t \ t \ t \ t " + t . _ s ( n . n a m e ) + " \ n \ t \ t \ t \ t " ) ] ) ] ) } ) ) , 0 ) ] ) : t . _ e ( ) , t . _ v ( " " ) , e ( " d i v " , { s t a t i c C l a s s : " a p p - s i d e b a r - t a b s _ _ c o n t e n t " , c l a s s : { " a p p - s i d e b a r - t a b s _ _ c o n t e n t - - m u l t i p l e " : t . h a s M u l t i p l e T a b s } } , [ t . _ t ( " d e f a u l t " ) ] , 2 ) ] ) } ) , [ ] ,
2021-03-17 11:45:22 +03:00
/ *
* @ 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/>.
2021-05-29 13:14:51 +03:00
* / n . d e f a u l t = B } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) , e ( 5 8 ) , e ( 3 0 ) , e ( 3 5 ) , e ( 2 2 ) , e ( 1 5 ) , e ( 9 2 ) , e ( 1 8 7 ) , e ( 1 8 5 ) , e ( 6 3 ) , e ( 6 ) , e ( 5 9 ) ; v a r o = e ( 1 8 9 ) , i = e . n ( o ) , r = e ( 1 0 5 ) , a = e . n ( r ) , s = e ( 1 9 0 ) , c = e . n ( s ) , l = e ( 1 2 ) , u = e ( 1 3 ) , d = { n a m e : " A u t o C o m p l e t e R e s u l t " , p r o p s : { l a b e l : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , s u b l i n e : { t y p e : S t r i n g , d e f a u l t : n u l l } , i d : { t y p e : S t r i n g , d e f a u l t : n u l l } , i c o n : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , s o u r c e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , s t a t u s : { t y p e : [ O b j e c t , A r r a y ] , d e f a u l t : f u n c t i o n ( ) { r e t u r n { } } } } , c o m p u t e d : { a v a t a r U r l : f u n c t i o n ( ) { r e t u r n t h i s . i d & & " u s e r s " = = = t h i s . s o u r c e ? t h i s . g e t A v a t a r U r l ( t h i s . i d , 4 4 ) : n u l l } , h a v e S t a t u s : f u n c t i o n ( ) { v a r t , n ; r e t u r n ( n u l l = = = ( t = t h i s . s t a t u s ) | | v o i d 0 = = = t ? v o i d 0 : t . i c o n ) | | ( n u l l = = = ( n = t h i s . s t a t u s ) | | v o i d 0 = = = n ? v o i d 0 : n . s t a t u s ) } } , m e t h o d s : { g e t A v a t a r U r l : f u n c t i o n ( t , n ) { r e t u r n O b j e c t ( u . g e n e r a t e U r l ) ( " / a v a t a r / { u s e r } / { s i z e } " , { u s e r : t , s i z e : n } ) } } } , p = e ( 2 ) , f = e . n ( p ) , A = e ( 1 7 7 ) , h = ( f ( ) ( A . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , A . a . l o c a l s , e ( 3 ) ) , m = O b j e c t ( h . a ) ( d , ( f u n c t i o n ( ) { v a r t = t h i s , n = t . $ c r e a t e E l e m e n t , e = t . _ s e l f . _ c | | n ; r e t u r n e ( " d i v " , { s t a t i c C l a s s : " a u t o c o m p l e t e - r e s u l t " } , [ e ( " d i v " , { s t a t i c C l a s s : " a u t o c o m p l e t e - r e s u l t _ _ i c o n " , c l a s s : [ t . i c o n , " a u t o c o m p l e t e - r e s u l t _ _ i c o n - - " + ( t . a v a t a r U r l ? " w i t h - a v a t a r " : " " ) ] , s t y l e : t . a v a t a r U r l ? { b a c k g r o u n d I m a g e : " u r l ( " + t . a v a t a r U r l + " ) " } : n u l l } , [ t . h a v e S t a t u s ? e ( " d i v " , { s t a t i c C l a s s : " a u t o c o m p l e t e - r e s u l t _ _ s t a t u s " , c l a s s : [ " a u t o c o m p l e t e - r e s u l t _ _ s t a t u s - - " + ( t . s t a t u s & & t . s t a t u s . i c o n ? " i c o n " : t . s t a t u s . s t a t u s ) ] } , [ t . _ v ( " \ n \ t \ t \ t " + t . _ s ( t . s t a t u s & & t . s t a t u s . i c o n | | " " ) + " \ n \ t \ t " ) ] ) : t . _ e ( ) ] ) , t . _ v ( " " ) , e ( " s p a n " , { s t a t i c C l a s s : " a u t o c o m p l e t e - r e s u l t _ _ c o n t e n t " } , [ e ( " s p a n " , { s t a t i c C l a s s : " a u t o c o m p l e t e - r e s u l t _ _ t i t l e " } , [ t . _ v ( " \ n \ t \ t \ t " + t . _ s ( t . l a b e l ) + " \ n \ t \ t " ) ] ) , t . _ v ( " " ) , t . s u b l i n e ? e ( " s p a n " , { s t a t i c C l a s s : " a u t o c o m p l e t e - r e s u l t _ _ s u b l i n e " } , [ t . _ v ( " \ n \ t \ t \ t " + t . _ s ( t . s u b l i n e ) + " \ n \ t \ t " ) ] ) : t . _ e ( ) ] ) ] ) } ) , [ ] , ! 1 , n u l l , " 9 f 9 1 2 5 8 2 " , n u l l ) . e x p o r t s ; f u n c t i o n g ( t , n , e , o , i , r , a ) { t r y { v a r s = t [ r ] ( a ) , c = s . v a l u e } c a t c h ( t ) { r e t u r n v o i d e ( t ) } s . d o n e ? n ( c ) : P r o m i s e . r e s o l v e ( c ) . t h e n ( o , i ) } v a r v = { n a m e : " R i c h C o n t e n t e d i t a b l e " , m i x i n s : [ e ( 6 0 ) . d e f a u l t ] , p r o p s : { v a l u e : { t y p e : S t r i n g , d e f a u l t : " " , r e q u i r e d : ! 0 } , p l a c e h o l d e r : { t y p e : S t r i n g , d e f a u l t : O b j e c t ( l . b ) ( " W r i t e m e s s a g e , @ t o m e n t i o n s o m e o n e … " ) } , a u t o C o m p l e t e : { t y p e : F u n c t i o n , r e q u i r e d : ! 0 } , m e n u C o n t a i n e r : { t y p e : E l e m e n t , d e f a u l t : f u n c t i o n ( ) { r e t u r n d o c u m e n t . b o d y } } , m u l t i l i n e : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , c o n t e n t e d i t a b l e : { t y p e : B o o l e a n , d e f a u l t : ! 0 } , m a x l e n g t h : { t y p e : N u m b e r , d e f a u l t : n u l l } } , d a t a : f u n c t i o n ( ) { v a r t = t h i s ; r e t u r n { t r i b u t e : n u l l , o p t i o n s : { f i l l A t t r : " i d " , l o o k u p : f u n c t i o n ( t ) { r e t u r n " " . c o n c a t ( t . i d , " " ) . c o n c a t ( t . l a b e l ) } , m e n u C o n t a i n e r : t h i s . m e n u C o n t a i n e r , m e n u I t e m T e m p l a t e : f u n c t i o n ( n ) { r e t u r n t . r e n d e r C o m p o n e n t H t m l ( n . o r i g i n a l , m ) } , n o M a t c h T e m p l a t e : f u n c t i o n ( ) { r e t u r n ' < s p a n c l a s s = " h i d d e n " > < / s p a n > ' } , s e l e c t T e m p l a t e : f u n c t i o n ( n ) { v a r e ; r e t u r n t . g e n S e l e c t T e m p l a t e ( n u l l = = n | | n u l l = = = ( e = n . o r i g i n a l ) | | v o i d 0 = = = e ? v o i d 0 : e . i d ) } , v a l u e s : t h i s . d e b o u n c e d A u t o C o m p l e t e } , l o c a l V a l u e : t h i s . v a l u e } } , c o m p u t e d : { i s E m p t y V a l u e : f u n c t i o n ( ) { r e t u r n ! t h i s . l o c a l V a l u e | | t h i s . l o c a l V a l u e & & " " = = = t h i s . l o c a l V a l u e . t r i m ( ) } , i s F F : f u n c t i o n ( ) { r e t u r n ! ! n a v i g a t o r . u s e r A g e n t . m a t c h ( / f i r e f o x / i ) } , i s O v e r M a x l e n g t h : f u n c t i o n ( ) { r e t u r n ! ( t h i s . i s E m p t y V a l u e | | ! t h i s . m a x l e n g t h ) & & c ( ) ( t h i s . l o c a l V a l u e ) > t h i s . m a x l e n g t h } , t o o l t i p : f u n c t i o n ( ) { r e t u r n t h i s . i s O v e r M a x l e n g t h ? { c o n t e n t : O b j e c t ( l . b ) ( " M e s s a g e l i m i t o f { c o u n t } c h a r a c t e r s r e a c h e d " , { c o u n t : t h i s . m a x l e n g t h } ) , s h o w : ! 0 , t r i g g e r : " m a n u a l " } : n u l l } } , w a t c h : { v a l u e : f u n c t i o n ( ) { v a r t = t h i s . $ r e f s . c o n t e n t e d i t a b l e . i n n e r H T M L ; t h i s . v a l u e . t r i m ( ) ! = = t h i s . p a r s e C o n t e n t ( t ) . t r i m ( ) & & t h i s . u p d a t e C o n t e n t ( t h i s . v a l u e ) } } , m o u n t e d : f u n c t i o n ( ) { t h i s . t r i b u t e = n e w i . a ( t h i s . o p t i o n s ) , t h i s . t r i b u t e . a t t a c h ( t h i s . $ e l ) , t h i s . u p d a t e C o n t e n t ( t h i s . v a l u e ) , t h i s . $ r e f s . c o n t e n t e d i t a b l e . c o n t e n t E d i t a b l e = t h i s . c o n t e n t e d i t a b l e } , b e f o r e D e s t r o y : f u n c t i o n ( ) { t h i s . t r i b u t e & & t h i s . t r i b u t e . d e t a c h ( t h i s . $ e l ) } , m e t h o d s : { o n I n p u t : f u n c t i o n ( t ) { t h i s . u p d a t e V a l u e ( t . t a r g e t . i n n e r H T M L ) } , o n P a s t e : f u n c t i o n ( t ) { t . p r e v e n t D e f a u l t ( ) ; v a r n = t . c l i p b o a r d D a t a ; i f ( t h i s . $ e m i t ( " p a s t e " , t ) , 0 = = = n . f i l e s . l e n g t h & & O b j e c t . v a l u e s ( n . i t e m s ) . f i n d ( ( f u n c t i o n ( t ) { r e t u r n n u l l = = t ? v o i d 0 : t . t y p e . s t a r t s W i t h ( " t e x t " ) } ) ) ) { v a r e = n . g e t D a t a ( " t e x t " ) , o = w i n d o w . g e t S e l e c t i o n ( ) ; o . r a n g e C o u n t | | t h i s . u p d a t e V a l u e ( e ) ; v a r i = t h i s . p a r s e C o n t e n t ( e ) , r = o . g e t R a n g e A t ( 0 ) ; o . d e l e t e F r o m D o c u m e n t ( ) , r . i n s e r t N o d e ( d o c u m e n t . c r e a t e T e x t N o d e ( i ) ) ; v a r a = d o c
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2020 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2021-05-29 13:14:51 +03:00
* / n . d e f a u l t = k } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) ; v a r o = e ( 4 2 ) , i = e ( 8 5 ) , r = e ( 1 0 2 ) , a = { n a m e : " A p p N a v i g a t i o n I c o n C o l l a p s i b l e " , p r o p s : { o p e n : { t y p e : B o o l e a n , d e f a u l t : ! 0 } } , m e t h o d s : { o n C l i c k : f u n c t i o n ( t ) { t h i s . $ e m i t ( " c l i c k " , t ) } } } , s = e ( 2 ) , c = e . n ( s ) , l = e ( 1 5 4 ) , u = ( c ( ) ( l . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , l . a . l o c a l s , e ( 3 ) ) , d = O b j e c t ( u . a ) ( a , ( f u n c t i o n ( ) { v a r t = t h i s . $ c r e a t e E l e m e n t ; r e t u r n ( t h i s . _ s e l f . _ c | | t ) ( " b u t t o n " , { s t a t i c C l a s s : " i c o n - c o l l a p s e " , c l a s s : { " i c o n - c o l l a p s e - - r o t a t e d " : t h i s . o p e n } , o n : { c l i c k : t h i s . o n C l i c k } } ) } ) , [ ] , ! 1 , n u l l , " 4 e 5 4 d 0 7 8 " , n u l l ) . e x p o r t s , p = e ( 3 6 ) , f = e ( 1 2 6 ) , A = { n a m e : " A p p N a v i g a t i o n I t e m " , c o m p o n e n t s : { A c t i o n s : i . a , A c t i o n B u t t o n : r . a , A p p N a v i g a t i o n I c o n C o l l a p s i b l e : d , I n p u t C o n f i r m C a n c e l : f . a } , d i r e c t i v e s : { C l i c k O u t s i d e : o . d i r e c t i v e } , m i x i n s : [ p . d e f a u l t ] , p r o p s : { t i t l e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , i c o n : { t y p e : S t r i n g , d e f a u l t : " " } , l o a d i n g : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , t o : { t y p e : [ S t r i n g , O b j e c t ] , d e f a u l t : " " } , e x a c t : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , a l l o w C o l l a p s e : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , e d i t a b l e : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , e d i t L a b e l : { t y p e : S t r i n g , d e f a u l t : " " } , e d i t P l a c e h o l d e r : { t y p e : S t r i n g , d e f a u l t : " " } , p i n n e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , u n d o : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , o p e n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , m e n u O p e n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , f o r c e M e n u : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , m e n u I c o n : { t y p e : S t r i n g , d e f a u l t : v o i d 0 } , m e n u P l a c e m e n t : { t y p e : S t r i n g , d e f a u l t : " b o t t o m " } } , d a t a : f u n c t i o n ( ) { r e t u r n { e d i t i n g V a l u e : " " , o p e n e d : t h i s . o p e n , e d i t i n g A c t i v e : ! 1 } } , c o m p u t e d : { c o l l a p s i b l e : f u n c t i o n ( ) { r e t u r n t h i s . a l l o w C o l l a p s e & & ! ! t h i s . $ s l o t s . d e f a u l t } , i s I c o n S h o w n : f u n c t i o n ( ) { r e t u r n ! t h i s . c o l l a p s i b l e | | t h i s . c o l l a p s i b l e & & ! t h i s . i s M o b i l e } , c a n H a v e C h i l d r e n : f u n c t i o n ( ) { r e t u r n " A p p N a v i g a t i o n I t e m " ! = = t h i s . $ p a r e n t . $ o p t i o n s . _ c o m p o n e n t T a g } , h a s C h i l d r e n : f u n c t i o n ( ) { r e t u r n ! ! t h i s . $ s l o t s . d e f a u l t } , h a s U t i l s : f u n c t i o n ( ) { r e t u r n ! t h i s . e d i t i n g & & ! ! ( t h i s . $ s l o t s . a c t i o n s | | t h i s . $ s l o t s . c o u n t e r | | t h i s . e d i t a b l e | | t h i s . u n d o ) } , n a v E l e m e n t : f u n c t i o n ( ) { r e t u r n t h i s . t o ? { i s : " r o u t e r - l i n k " , t a g : " l i " , t o : t h i s . t o , e x a c t : t h i s . e x a c t } : { i s : " l i " } } , i s A c t i v e : f u n c t i o n ( ) { r e t u r n t h i s . t o & & t h i s . $ r o u t e = = = t h i s . t o } } , w a t c h : { o p e n : f u n c t i o n ( t ) { t h i s . o p e n e d = t } } , m e t h o d s : { o n M e n u T o g g l e : f u n c t i o n ( t ) { t h i s . $ e m i t ( " u p d a t e : m e n u O p e n " , t ) } , t o g g l e C o l l a p s e : f u n c t i o n ( ) { t h i s . o p e n e d = ! t h i s . o p e n e d , t h i s . $ e m i t ( " u p d a t e : o p e n " , t h i s . o p e n e d ) } , o n C l i c k : f u n c t i o n ( t ) { t h i s . $ e m i t ( " c l i c k " , t ) } , h a n d l e E d i t : f u n c t i o n ( ) { v a r t = t h i s ; t h i s . e d i t i n g V a l u e = t h i s . t i t l e , t h i s . e d i t i n g A c t i v e = ! 0 , t h i s . o n M e n u T o g g l e ( ! 1 ) , t h i s . $ n e x t T i c k ( ( f u n c t i o n ( ) { t . $ r e f s . e d i t i n g I n p u t . f o c u s I n p u t ( ) } ) ) } , c a n c e l E d i t i n g : f u n c t i o n ( ) { t h i s . e d i t i n g A c t i v e = ! 1 } , h a n d l e E d i t i n g D o n e : f u n c t i o n ( ) { t h i s . $ e m i t ( " u p d a t e : t i t l e " , t h i s . e d i t i n g V a l u e ) , t h i s . e d i t i n g V a l u e = " " , t h i s . e d i t i n g A c t i v e = ! 1 } , h a n d l e U n d o : f u n c t i o n ( ) { t h i s . $ e m i t ( " u n d o " ) } } } , h = e ( 1 5 5 ) , m = ( c ( ) ( h . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , h . a . l o c a l s , e ( 1 5 6 ) ) , g = e . n ( m ) , v = O b j e c t ( u . a ) ( A , ( f u n c t i o n ( ) { v a r t , n = t h i s , e = n . $ c r e a t e E l e m e n t , o = n . _ s e l f . _ c | | e ; r e t u r n o ( " n a v - e l e m e n t " , n . _ b ( { s t a t i c C l a s s : " a p p - n a v i g a t i o n - e n t r y " , c l a s s : { " a p p - n a v i g a t i o n - e n t r y - - n o - i c o n " : ! n . i s I c o n S h o w n , " a p p - n a v i g a t i o n - e n t r y - - o p e n e d " : n . o p e n e d , " a p p - n a v i g a t i o n - e n t r y - - p i n n e d " : n . p i n n e d , " a p p - n a v i g a t i o n - e n t r y - - e d i t i n g " : n . e d i t i n g A c t i v e , " a p p - n a v i g a t i o n - e n t r y - - d e l e t e d " : n . u n d o , " a p p - n a v i g a t i o n - e n t r y - - c o l l a p s i b l e " : n . c o l l a p s i b l e , a c t i v e : n . i s A c t i v e } } , " n a v - e l e m e n t " , n . n a v E l e m e n t , ! 1 ) , [ n . u n d o ? n . _ e ( ) : o ( " a " , { s t a t i c C l a s s : " a p p - n a v i g a t i o n - e n t r y - l i n k " , a t t r s : { h r e f : " # " } , o n : { c l i c k : n . o n C l i c k } } , [ o ( " d i v " , { s t a t i c C l a s s : " a p p - n a v i g a t i o n - e n t r y - i c o n " , c l a s s : ( t = { " i c o n - l o a d i n g - s m a l l " : n . l o a d i n g } , t [ n . i c o n ] = n . i c o n & & n . i s I c o n S h o w n , t ) } , [ n . l o a d i n g ? n . _ e ( ) : n . _ t ( " i c o n " ) ] , 2 ) , n . _ v ( " " ) , n . e d i t i n g A c t i v e ? n . _ e ( ) : o ( " s p a n " , { s t a t i c C l a s s : " a p p - n a v i g a t i o n - e n t r y _ _ t i t l e " , a t t r s : { t i t l e : n . t i t l e } } , [ n . _ v ( " \ n \ t \ t \ t " + n . _ s ( n . t i t l e ) + " \ n \ t \ t " ) ] ) , n . _ v ( " " ) , n . e d i t i n g A c t i v e ? o ( " d i v " , { s t a t i c C l a s s : " e d i t i n g C o n t a i n e r " } , [ o ( " I n p u t C o n f i r m C a n c e l " , { r e f : " e d i t i n g I n p u t " , a t t r s : { p l a c e h o l d e r : " " ! = = n . e d i t P l a c e h o l d e r ? n . e d i t P l a c e h o l d e r : n . t i t l e } , o n : { c a n c e l : n . c a n c e l E d i t i n g , c o n f i r m : n . h a n d l e E d i t i n g D o n e } , m o d e l : { v a l u e : n . e d i t i n g V a l u e , c a l l b a c k : f u n c t i o n ( t ) { n . e d i t i n g V a l u e = t } , e x p r e s s i o n : " e d i t i n g V a l u e " } } ) ] , 1 ) : n . _ e ( ) ] ) , n . _ v ( " " ) , n . c o l l a p s i b l e ? o ( " A p p N a v i g a t i o n I c o n C o l l a p s i b l e " , { a t t r s : { o p e n : n . o p e n e d } , o n : { c l i c k : f u n c t i o n ( t ) { r e t u r n t . p r e v e n t D e f a u l t ( ) , t . s t o p P r o p a g a t i o n ( ) , n . t o g g l e C o l l a p s e ( t ) } } } ) : n . _ e ( ) , n . _ v ( " " ) , n . u n d o ? o ( " d i v " , { s t a t i c C l a s s : " a p p -
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-29 13:14:51 +03:00
* / n . d e f a u l t = b } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) , e ( 2 2 ) , e ( 3 0 ) ; v a r o = e ( 3 9 ) , i = e ( 3 3 ) , r = { n a m e : " A c t i o n C h e c k b o x " , m i x i n s : [ o . a ] , p r o p s : { i d : { t y p e : S t r i n g , d e f a u l t : f u n c t i o n ( ) { r e t u r n " a c t i o n - " + O b j e c t ( i . a ) ( ) } , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n " " ! = = t . t r i m ( ) } } , c h e c k e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , v a l u e : { t y p e : [ S t r i n g , N u m b e r ] , d e f a u l t : " " } , d i s a b l e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , c o m p u t e d : { i s F o c u s a b l e : f u n c t i o n ( ) { r e t u r n ! t h i s . d i s a b l e d } } , m e t h o d s : { c h e c k I n p u t : f u n c t i o n ( t ) { t h i s . $ r e f s . l a b e l . c l i c k ( ) } , o n C h a n g e : f u n c t i o n ( t ) { t h i s . $ e m i t ( " u p d a t e : c h e c k e d " , t h i s . $ r e f s . c h e c k b o x . c h e c k e d ) , t h i s . $ e m i t ( " c h a n g e " , t ) , t h i s . $ r e f s . c h e c k b o x . c h e c k e d ? t h i s . $ e m i t ( " c h e c k " ) : t h i s . $ e m i t ( " u n c h e c k " ) } } } , a = e ( 2 ) , s = e . n ( a ) , c = e ( 1 3 6 ) , l = ( s ( ) ( c . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , c . a . l o c a l s , e ( 3 ) ) , u = e ( 1 3 7 ) , d = e . n ( u ) , p = O b j e c t ( l . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s , n = t . $ c r e a t e E l e m e n t , e = t . _ s e l f . _ c | | n ; r e t u r n e ( " l i " , { s t a t i c C l a s s : " a c t i o n " , c l a s s : { " a c t i o n - - d i s a b l e d " : t . d i s a b l e d } } , [ e ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - c h e c k b o x " } , [ e ( " i n p u t " , { r e f : " c h e c k b o x " , s t a t i c C l a s s : " c h e c k b o x a c t i o n - c h e c k b o x _ _ c h e c k b o x " , c l a s s : { f o c u s a b l e : t . i s F o c u s a b l e } , a t t r s : { i d : t . i d , d i s a b l e d : t . d i s a b l e d , t y p e : " c h e c k b o x " } , d o m P r o p s : { c h e c k e d : t . c h e c k e d , v a l u e : t . v a l u e } , o n : { k e y d o w n : f u n c t i o n ( n ) { r e t u r n ! n . t y p e . i n d e x O f ( " k e y " ) & & t . _ k ( n . k e y C o d e , " e n t e r " , 1 3 , n . k e y , " E n t e r " ) | | n . c t r l K e y | | n . s h i f t K e y | | n . a l t K e y | | n . m e t a K e y ? n u l l : ( n . p r e v e n t D e f a u l t ( ) , t . c h e c k I n p u t ( n ) ) } , c h a n g e : t . o n C h a n g e } } ) , t . _ v ( " " ) , e ( " l a b e l " , { r e f : " l a b e l " , s t a t i c C l a s s : " a c t i o n - c h e c k b o x _ _ l a b e l " , a t t r s : { f o r : t . i d } } , [ t . _ v ( t . _ s ( t . t e x t ) ) ] ) , t . _ v ( " " ) , t . _ e ( ) ] , 2 ) ] ) } ) , [ ] , ! 1 , n u l l , " 3 9 5 f a 6 a c " , n u l l ) ; " f u n c t i o n " = = t y p e o f d . a & & d ( ) ( p ) ; v a r f = p . e x p o r t s ;
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-29 13:14:51 +03:00
* / n . d e f a u l t = f } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) , e ( 2 2 ) , e ( 3 0 ) , e ( 1 6 ) , e ( 6 ) , e ( 1 7 ) , e ( 1 8 ) , e ( 4 0 ) ; v a r o = e ( 3 9 ) , i = e ( 3 3 ) , r = e ( 1 3 3 ) , a = e ( 1 0 7 ) , s = { n a m e : " A c t i o n I n p u t " , c o m p o n e n t s : { D a t e t i m e P i c k e r : r . d e f a u l t , M u l t i s e l e c t : a . d e f a u l t } , m i x i n s : [ o . a ] , p r o p s : { i d : { t y p e : S t r i n g , d e f a u l t : f u n c t i o n ( ) { r e t u r n " a c t i o n - " + O b j e c t ( i . a ) ( ) } , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n " " ! = = t . t r i m ( ) } } , i c o n : { t y p e : S t r i n g , d e f a u l t : " " , r e q u i r e d : ! 0 } , t y p e : { t y p e : S t r i n g , d e f a u l t : " t e x t " , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n [ " d a t e " , " d a t e t i m e - l o c a l " , " m o n t h " , " m u l t i s e l e c t " , " n u m b e r " , " p a s s w o r d " , " s e a r c h " , " t e l " , " t e x t " , " t i m e " , " u r l " , " w e e k " , " c o l o r " , " e m a i l " ] . i n d e x O f ( t ) > - 1 } } , v a l u e : { t y p e : [ S t r i n g , D a t e , N u m b e r ] , d e f a u l t : " " } , d i s a b l e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , c o m p u t e d : { i s I c o n U r l : f u n c t i o n ( ) { t r y { r e t u r n n e w U R L ( t h i s . i c o n ) } c a t c h ( t ) { r e t u r n ! 1 } } , i s M u l t i s e l e c t T y p e : f u n c t i o n ( ) { r e t u r n " m u l t i s e l e c t " = = = t h i s . t y p e } , i s D a t e P i c k e r T y p e : f u n c t i o n ( ) { s w i t c h ( t h i s . t y p e ) { c a s e " d a t e " : c a s e " m o n t h " : c a s e " t i m e " : r e t u r n t h i s . t y p e ; c a s e " d a t e t i m e - l o c a l " : r e t u r n " d a t e t i m e " } r e t u r n ! 1 } , i s F o c u s a b l e : f u n c t i o n ( ) { r e t u r n ! t h i s . d i s a b l e d } } , m e t h o d s : { o n L e a v e : f u n c t i o n ( ) { t h i s . $ r e f s . d a t e t i m e p i c k e r & & t h i s . $ r e f s . d a t e t i m e p i c k e r . $ r e f s . d a t e p i c k e r & & t h i s . $ r e f s . d a t e t i m e p i c k e r . $ r e f s . d a t e p i c k e r . c l o s e P o p u p ( ) } , o n I n p u t : f u n c t i o n ( t ) { t h i s . $ e m i t ( " i n p u t " , t ) , t h i s . $ e m i t ( " u p d a t e : v a l u e " , t . t a r g e t ? t . t a r g e t . v a l u e : t ) } , o n S u b m i t : f u n c t i o n ( t ) { i f ( t . p r e v e n t D e f a u l t ( ) , t . s t o p P r o p a g a t i o n ( ) , t h i s . d i s a b l e d ) r e t u r n ! 1 ; t h i s . $ e m i t ( " s u b m i t " , t ) } , o n C h a n g e : f u n c t i o n ( t ) { t h i s . $ e m i t ( " c h a n g e " , t ) } } } , c = e ( 2 ) , l = e . n ( c ) , u = e ( 1 3 8 ) , d = ( l ( ) ( u . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , u . a . l o c a l s , e ( 3 ) ) , p = e ( 1 3 9 ) , f = e . n ( p ) , A = O b j e c t ( d . a ) ( s , ( f u n c t i o n ( ) { v a r t = t h i s , n = t . $ c r e a t e E l e m e n t , e = t . _ s e l f . _ c | | n ; r e t u r n e ( " l i " , { s t a t i c C l a s s : " a c t i o n " , c l a s s : { " a c t i o n - - d i s a b l e d " : t . d i s a b l e d } } , [ e ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - i n p u t " , c l a s s : { " a c t i o n - i n p u t - - p i c k e r " : t . i s D a t e P i c k e r T y p e , " a c t i o n - i n p u t - p i c k e r - - d i s a b l e d " : t . d i s a b l e d } , o n : { m o u s e l e a v e : t . o n L e a v e } } , [ t . _ t ( " i c o n " , [ e ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - i n p u t _ _ i c o n " , c l a s s : [ t . i s I c o n U r l ? " a c t i o n - i n p u t _ _ i c o n - - u r l " : t . i c o n ] , s t y l e : { b a c k g r o u n d I m a g e : t . i s I c o n U r l ? " u r l ( " + t . i c o n + " ) " : n u l l } } ) ] ) , t . _ v ( " " ) , e ( " f o r m " , { r e f : " f o r m " , s t a t i c C l a s s : " a c t i o n - i n p u t _ _ f o r m " , a t t r s : { d i s a b l e d : t . d i s a b l e d } , o n : { s u b m i t : f u n c t i o n ( n ) { r e t u r n n . p r e v e n t D e f a u l t ( ) , t . o n S u b m i t ( n ) } } } , [ t . i s D a t e P i c k e r T y p e ? e ( " D a t e t i m e P i c k e r " , t . _ b ( { r e f : " d a t e t i m e p i c k e r " , s t a t i c C l a s s : " a c t i o n - i n p u t _ _ p i c k e r " , a t t r s : { v a l u e : t . v a l u e , p l a c e h o l d e r : t . t e x t , d i s a b l e d : t . d i s a b l e d , t y p e : t . i s D a t e P i c k e r T y p e , " i n p u t - c l a s s " : [ " m x - i n p u t " , { f o c u s a b l e : t . i s F o c u s a b l e } ] } , o n : { i n p u t : t . o n I n p u t , c h a n g e : t . o n C h a n g e } } , " D a t e t i m e P i c k e r " , t . $ a t t r s , ! 1 ) ) : t . i s M u l t i s e l e c t T y p e ? e ( " M u l t i s e l e c t " , t . _ g ( t . _ b ( { s t a t i c C l a s s : " a c t i o n - i n p u t _ _ m u l t i " , c l a s s : { f o c u s a b l e : t . i s F o c u s a b l e } , a t t r s : { v a l u e : t . v a l u e , p l a c e h o l d e r : t . t e x t , d i s a b l e d : t . d i s a b l e d } } , " M u l t i s e l e c t " , t . $ a t t r s , ! 1 ) , t . $ l i s t e n e r s ) ) : [ e ( " i n p u t " , { s t a t i c C l a s s : " a c t i o n - i n p u t _ _ s u b m i t " , a t t r s : { i d : t . i d , t y p e : " s u b m i t " } } ) , t . _ v ( " " ) , e ( " i n p u t " , t . _ b ( { s t a t i c C l a s s : " a c t i o n - i n p u t _ _ i n p u t " , c l a s s : { f o c u s a b l e : t . i s F o c u s a b l e } , a t t r s : { t y p e : t . t y p e , p l a c e h o l d e r : t . t e x t , d i s a b l e d : t . d i s a b l e d } , d o m P r o p s : { v a l u e : t . v a l u e } , o n : { i n p u t : t . o n I n p u t , c h a n g e : t . o n C h a n g e } } , " i n p u t " , t . $ a t t r s , ! 1 ) ) , t . _ v ( " " ) , e ( " l a b e l " , { d i r e c t i v e s : [ { n a m e : " s h o w " , r a w N a m e : " v - s h o w " , v a l u e : ! t . d i s a b l e d , e x p r e s s i o n : " ! d i s a b l e d " } ] , s t a t i c C l a s s : " a c t i o n - i n p u t _ _ l a b e l " , a t t r s : { f o r : t . i d } } ) ] ] , 2 ) ] , 2 ) ] ) } ) , [ ] , ! 1 , n u l l , " 4 6 f b 3 4 2 1 " , n u l l ) ; " f u n c t i o n " = = t y p e o f f . a & & f ( ) ( A ) ; v a r h = A . e x p o r t s ;
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-29 13:14:51 +03:00
* / n . d e f a u l t = h } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) , e ( 2 2 ) , e ( 3 0 ) ; v a r o = e ( 3 9 ) , i = e ( 3 3 ) , r = { n a m e : " A c t i o n R a d i o " , m i x i n s : [ o . a ] , p r o p s : { i d : { t y p e : S t r i n g , d e f a u l t : f u n c t i o n ( ) { r e t u r n " a c t i o n - " + O b j e c t ( i . a ) ( ) } , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n " " ! = = t . t r i m ( ) } } , c h e c k e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , n a m e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , v a l u e : { t y p e : [ S t r i n g , N u m b e r ] , d e f a u l t : " " } , d i s a b l e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , c o m p u t e d : { i s F o c u s a b l e : f u n c t i o n ( ) { r e t u r n ! t h i s . d i s a b l e d } } , m e t h o d s : { t o g g l e I n p u t : f u n c t i o n ( t ) { t h i s . $ r e f s . l a b e l . c l i c k ( ) } , o n C h a n g e : f u n c t i o n ( t ) { t h i s . $ e m i t ( " u p d a t e : c h e c k e d " , t h i s . $ r e f s . r a d i o . c h e c k e d ) , t h i s . $ e m i t ( " c h a n g e " , t ) } } } , a = e ( 2 ) , s = e . n ( a ) , c = e ( 1 4 0 ) , l = ( s ( ) ( c . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , c . a . l o c a l s , e ( 3 ) ) , u = e ( 1 4 1 ) , d = e . n ( u ) , p = O b j e c t ( l . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s , n = t . $ c r e a t e E l e m e n t , e = t . _ s e l f . _ c | | n ; r e t u r n e ( " l i " , { s t a t i c C l a s s : " a c t i o n " , c l a s s : { " a c t i o n - - d i s a b l e d " : t . d i s a b l e d } } , [ e ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - r a d i o " } , [ e ( " i n p u t " , { r e f : " r a d i o " , s t a t i c C l a s s : " r a d i o a c t i o n - r a d i o _ _ r a d i o " , c l a s s : { f o c u s a b l e : t . i s F o c u s a b l e } , a t t r s : { i d : t . i d , d i s a b l e d : t . d i s a b l e d , n a m e : t . n a m e , t y p e : " r a d i o " } , d o m P r o p s : { c h e c k e d : t . c h e c k e d , v a l u e : t . v a l u e } , o n : { k e y d o w n : f u n c t i o n ( n ) { r e t u r n ! n . t y p e . i n d e x O f ( " k e y " ) & & t . _ k ( n . k e y C o d e , " e n t e r " , 1 3 , n . k e y , " E n t e r " ) | | n . c t r l K e y | | n . s h i f t K e y | | n . a l t K e y | | n . m e t a K e y ? n u l l : ( n . p r e v e n t D e f a u l t ( ) , t . t o g g l e I n p u t ( n ) ) } , c h a n g e : t . o n C h a n g e } } ) , t . _ v ( " " ) , e ( " l a b e l " , { r e f : " l a b e l " , s t a t i c C l a s s : " a c t i o n - r a d i o _ _ l a b e l " , a t t r s : { f o r : t . i d } } , [ t . _ v ( t . _ s ( t . t e x t ) ) ] ) , t . _ v ( " " ) , t . _ e ( ) ] , 2 ) ] ) } ) , [ ] , ! 1 , n u l l , " 0 4 7 c d 0 d 4 " , n u l l ) ; " f u n c t i o n " = = t y p e o f d . a & & d ( ) ( p ) ; v a r f = p . e x p o r t s ;
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-29 13:14:51 +03:00
* / n . d e f a u l t = f } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) ; v a r o = e ( 2 ) , i = e . n ( o ) , r = e ( 1 4 2 ) , a = ( i ( ) ( r . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , r . a . l o c a l s , e ( 3 ) ) , s = O b j e c t ( a . a ) ( { n a m e : " A c t i o n S e p a r a t o r " } , ( f u n c t i o n ( ) { v a r t = t h i s . $ c r e a t e E l e m e n t ; r e t u r n ( t h i s . _ s e l f . _ c | | t ) ( " l i " , { s t a t i c C l a s s : " a c t i o n a c t i o n - s e p a r a t o r a c t i o n - - d i s a b l e d " } ) } ) , [ ] , ! 1 , n u l l , " 5 3 3 9 b a 0 6 " , n u l l ) . e x p o r t s ; n . d e f a u l t = s } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) ; v a r o = { n a m e : " A c t i o n T e x t " , m i x i n s : [ e ( 4 9 ) . a ] } , i = e ( 2 ) , r = e . n ( i ) , a = e ( 1 4 3 ) , s = ( r ( ) ( a . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , a . a . l o c a l s , e ( 3 ) ) , c = O b j e c t ( s . a ) ( o , ( f u n c t i o n ( ) { v a r t = t h i s , n = t . $ c r e a t e E l e m e n t , e = t . _ s e l f . _ c | | n ; r e t u r n e ( " l i " , { s t a t i c C l a s s : " a c t i o n " } , [ e ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - t e x t " , o n : { c l i c k : t . o n C l i c k } } , [ t . _ t ( " i c o n " , [ " " ! = = t . i c o n ? e ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - t e x t _ _ i c o n " , c l a s s : [ t . i s I c o n U r l ? " a c t i o n - t e x t _ _ i c o n - - u r l " : t . i c o n ] , s t y l e : { b a c k g r o u n d I m a g e : t . i s I c o n U r l ? " u r l ( " + t . i c o n + " ) " : n u l l } } ) : t . _ e ( ) ] ) , t . _ v ( " " ) , t . t i t l e ? e ( " p " , [ e ( " s t r o n g " , { s t a t i c C l a s s : " a c t i o n - t e x t _ _ t i t l e " } , [ t . _ v ( " \ n \ t \ t \ t \ t " + t . _ s ( t . t i t l e ) + " \ n \ t \ t \ t " ) ] ) , t . _ v ( " " ) , e ( " b r " ) , t . _ v ( " " ) , e ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - t e x t _ _ l o n g t e x t " , d o m P r o p s : { t e x t C o n t e n t : t . _ s ( t . t e x t ) } } ) ] ) : t . i s L o n g T e x t ? e ( " p " , { s t a t i c C l a s s : " a c t i o n - t e x t _ _ l o n g t e x t " , d o m P r o p s : { t e x t C o n t e n t : t . _ s ( t . t e x t ) } } ) : e ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - t e x t _ _ t e x t " } , [ t . _ v ( t . _ s ( t . t e x t ) ) ] ) , t . _ v ( " " ) , t . _ e ( ) ] , 2 ) ] ) } ) , [ ] , ! 1 , n u l l , " 9 0 a d e a 7 2 " , n u l l ) . e x p o r t s ; n . d e f a u l t = c } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) , e ( 2 2 ) ; v a r o = e ( 4 9 ) , i = e ( 3 3 ) , r = { n a m e : " A c t i o n T e x t E d i t a b l e " , m i x i n s : [ o . a ] , p r o p s : { i d : { t y p e : S t r i n g , d e f a u l t : f u n c t i o n ( ) { r e t u r n " a c t i o n - " + O b j e c t ( i . a ) ( ) } , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n " " ! = = t . t r i m ( ) } } , d i s a b l e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , v a l u e : { t y p e : S t r i n g , d e f a u l t : " " } } , c o m p u t e d : { i s F o c u s a b l e : f u n c t i o n ( ) { r e t u r n ! t h i s . d i s a b l e d } } , m e t h o d s : { o n I n p u t : f u n c t i o n ( t ) { t h i s . $ e m i t ( " i n p u t " , t ) , t h i s . $ e m i t ( " u p d a t e : v a l u e " , t . t a r g e t . v a l u e ) } , o n S u b m i t : f u n c t i o n ( t ) { i f ( t . p r e v e n t D e f a u l t ( ) , t . s t o p P r o p a g a t i o n ( ) , t h i s . d i s a b l e d ) r e t u r n ! 1 ; t h i s . $ e m i t ( " s u b m i t " , t ) } } } , a = e ( 2 ) , s = e . n ( a ) , c = e ( 1 4 4 ) , l = ( s ( ) ( c . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , c . a . l o c a l s , e ( 3 ) ) , u = e ( 1 4 5 ) , d = e . n ( u ) , p = O b j e c t ( l . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s , n = t . $ c r e a t e E l e m e n t , e = t . _ s e l f . _ c | | n ; r e t u r n e ( " l i " , { s t a t i c C l a s s : " a c t i o n " , c l a s s : { " a c t i o n - - d i s a b l e d " : t . d i s a b l e d } } , [ e ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - t e x t - e d i t a b l e " , o n : { c l i c k : t . o n C l i c k } } , [ e ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - t e x t - e d i t a b l e _ _ i c o n " , c l a s s : [ t . i s I c o n U r l ? " a c t i o n - t e x t - e d i t a b l e _ _ i c o n - - u r l " : t . i c o n ] , s t y l e : { b a c k g r o u n d I m a g e : t . i s I c o n U r l ? " u r l ( " + t . i c o n + " ) " : n u l l } } ) , t . _ v ( " " ) , e ( " f o r m " , { r e f : " f o r m " , s t a t i c C l a s s : " a c t i o n - t e x t - e d i t a b l e _ _ f o r m " , a t t r s : { d i s a b l e d : t . d i s a b l e d } , o n : { s u b m i t : f u n c t i o n ( n ) { r e t u r n n . p r e v e n t D e f a u l t ( ) , t . o n S u b m i t ( n ) } } } , [ e ( " i n p u t " , { s t a t i c C l a s s : " a c t i o n - t e x t - e d i t a b l e _ _ s u b m i t " , a t t r s : { i d : t . i d , t y p e : " s u b m i t " } } ) , t . _ v ( " " ) , t . t i t l e ? e ( " s t r o n g " , { s t a t i c C l a s s : " a c t i o n - t e x t _ _ t i t l e " } , [ t . _ v ( " \ n \ t \ t \ t \ t " + t . _ s ( t . t i t l e ) + " \ n \ t \ t \ t " ) ] ) : t . _ e ( ) , t . _ v ( " " ) , e ( " t e x t a r e a " , t . _ b ( { c l a s s : [ " a c t i o n - t e x t - e d i t a b l e _ _ t e x t a r e a " , { f o c u s a b l e : t . i s F o c u s a b l e } ] , a t t r s : { d i s a b l e d : t . d i s a b l e d } , d o m P r o p s : { v a l u e : t . v a l u e } , o n : { i n p u t : t . o n I n p u t } } , " t e x t a r e a " , t . $ a t t r s , ! 1 ) ) , t . _ v ( " " ) , e ( " l a b e l " , { d i r e c t i v e s : [ { n a m e : " s h o w " , r a w N a m e : " v - s h o w " , v a l u e : ! t . d i s a b l e d , e x p r e s s i o n : " ! d i s a b l e d " } ] , s t a t i c C l a s s : " a c t i o n - t e x t - e d i t a b l e _ _ l a b e l " , a t t r s : { f o r : t . i d } } ) ] ) ] ) ] ) } ) , [ ] , ! 1 , n u l l , " a 3 1 5 0 a f a " , n u l l ) ; " f u n c t i o n " = = t y p e o f d . a & & d ( ) ( p ) ; v a r f = p . e x p o r t s ;
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-29 13:14:51 +03:00
* / n . d e f a u l t = f } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) ; v a r o = e ( 1 0 9 ) , i = e . n ( o ) , r = e ( 2 9 ) , a = { n a m e : " A p p C o n t e n t " , p r o p s : { a l l o w S w i p e N a v i g a t i o n : { t y p e : B o o l e a n , d e f a u l t : ! 0 } } , m o u n t e d : f u n c t i o n ( ) { t h i s . a l l o w S w i p e N a v i g a t i o n & & ( t h i s . m c = n e w i . a ( t h i s . $ e l , { c s s P r o p s : { u s e r S e l e c t : " t e x t " } } ) , t h i s . m c . o n ( " s w i p e l e f t s w i p e r i g h t " , t h i s . h a n d l e S w i p e ) ) } , b e f o r e D e s t r o y : f u n c t i o n ( ) { t h i s . m c . o f f ( " s w i p e l e f t s w i p e r i g h t " , t h i s . h a n d l e S w i p e ) } , m e t h o d s : { h a n d l e S w i p e : f u n c t i o n ( t ) { v a r n = t . s r c E v e n t . p a g e X - t . d e l t a X , e = M a t h . a b s ( t . d e l t a X ) > 7 0 ; e & & n < 4 0 ? O b j e c t ( r . e m i t ) ( " t o g g l e - n a v i g a t i o n " , { o p e n : ! 0 } ) : e & & n < 3 4 0 & & O b j e c t ( r . e m i t ) ( " t o g g l e - n a v i g a t i o n " , { o p e n : ! 1 } ) } } } , s = e ( 2 ) , c = e . n ( s ) , l = e ( 1 4 6 ) , u = ( c ( ) ( l . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , l . a . l o c a l s , e ( 3 ) ) , d = O b j e c t ( u . a ) ( a , ( f u n c t i o n ( ) { v a r t = t h i s . $ c r e a t e E l e m e n t ; r e t u r n ( t h i s . _ s e l f . _ c | | t ) ( " m a i n " , { s t a t i c C l a s s : " a p p - c o n t e n t n o - s n a p p e r " , a t t r s : { i d : " a p p - c o n t e n t - v u e " } } , [ t h i s . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 2 c 9 f a 6 6 4 " , n u l l ) . e x p o r t s ; n . d e f a u l t = d } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) ; v a r o = e ( 2 9 ) , i = e ( 1 3 4 ) , r = e ( 3 6 ) , a = { n a m e : " A p p N a v i g a t i o n " , c o m p o n e n t s : { A p p N a v i g a t i o n T o g g l e : i . a } , m i x i n s : [ r . d e f a u l t ] , d a t a : f u n c t i o n ( ) { r e t u r n { o p e n : ! 0 } } , w a t c h : { i s M o b i l e : f u n c t i o n ( ) { t h i s . o p e n = ! t h i s . i s M o b i l e } } , m o u n t e d : f u n c t i o n ( ) { O b j e c t ( o . s u b s c r i b e ) ( " t o g g l e - n a v i g a t i o n " , t h i s . t o g g l e N a v i g a t i o n B y E v e n t B u s ) , O b j e c t ( o . e m i t ) ( " n a v i g a t i o n - t o g g l e d " , { o p e n : t h i s . o p e n } ) } , u n m o u n t e d : f u n c t i o n ( ) { t h i s . m c . o f f ( " s w i p e l e f t s w i p e r i g h t " ) , t h i s . m c . d e s t r o y ( ) , O b j e c t ( o . u n s u b s c r i b e ) ( " t o g g l e - n a v i g a t i o n " , t h i s . t o g g l e N a v i g a t i o n B y E v e n t B u s ) } , m e t h o d s : { t o g g l e N a v i g a t i o n : f u n c t i o n ( t ) { v a r n = t h i s ; t h i s . o p e n = v o i d 0 = = = t ? ! t h i s . o p e n : t ; v a r e = g e t C o m p u t e d S t y l e ( d o c u m e n t . b o d y ) , i = p a r s e I n t ( e . g e t P r o p e r t y V a l u e ( " - - a n i m a t i o n - q u i c k " ) ) | | 1 0 0 ; s e t T i m e o u t ( ( f u n c t i o n ( ) { O b j e c t ( o . e m i t ) ( " n a v i g a t i o n - t o g g l e d " , { o p e n : n . o p e n } ) } ) , 1 . 5 * i ) } , t o g g l e N a v i g a t i o n B y E v e n t B u s : f u n c t i o n ( t ) { v a r n = t . o p e n ; t h i s . t o g g l e N a v i g a t i o n ( n ) } } } , s = e ( 2 ) , c = e . n ( s ) , l = e ( 1 4 7 ) , u = ( c ( ) ( l . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , l . a . l o c a l s , e ( 3 ) ) , d = e ( 1 4 8 ) , p = e . n ( d ) , f = O b j e c t ( u . a ) ( a , ( f u n c t i o n ( ) { v a r t = t h i s , n = t . $ c r e a t e E l e m e n t , e = t . _ s e l f . _ c | | n ; r e t u r n e ( " d i v " , { s t a t i c C l a s s : " a p p - n a v i g a t i o n " , c l a s s : { " a p p - n a v i g a t i o n - - c l o s e " : ! t . o p e n } , a t t r s : { i d : " a p p - n a v i g a t i o n - v u e " , r o l e : " n a v i g a t i o n " } } , [ e ( " A p p N a v i g a t i o n T o g g l e " , { a t t r s : { o p e n : t . o p e n } , o n : { " u p d a t e : o p e n " : t . t o g g l e N a v i g a t i o n } } ) , t . _ v ( " " ) , t . _ t ( " d e f a u l t " ) , t . _ v ( " " ) , e ( " u l " , { s t a t i c C l a s s : " a p p - n a v i g a t i o n _ _ l i s t " } , [ t . _ t ( " l i s t " ) ] , 2 ) , t . _ v ( " " ) , t . _ t ( " f o o t e r " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 9 f 6 4 4 2 5 c " , n u l l ) ; " f u n c t i o n " = = t y p e o f p . a & & p ( ) ( f ) ; v a r A = f . e x p o r t s ;
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
2021-05-29 13:14:51 +03:00
* / n . d e f a u l t = A } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) ; v a r o = { n a m e : " A p p N a v i g a t i o n C a p t i o n " , p r o p s : { t i t l e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } } } , i = e ( 2 ) , r = e . n ( i ) , a = e ( 1 4 9 ) , s = ( r ( ) ( a . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , a . a . l o c a l s , e ( 3 ) ) , c = O b j e c t ( s . a ) ( o , ( f u n c t i o n ( ) { v a r t = t h i s . $ c r e a t e E l e m e n t ; r e t u r n ( t h i s . _ s e l f . _ c | | t ) ( " l i " , { s t a t i c C l a s s : " a p p - n a v i g a t i o n - c a p t i o n " } , [ t h i s . _ v ( " \ n \ t " + t h i s . _ s ( t h i s . t i t l e ) + " \ n " ) ] ) } ) , [ ] , ! 1 , n u l l , " 4 6 a d d 6 7 c " , n u l l ) . e x p o r t s ; n . d e f a u l t = c } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) ; v a r o = { n a m e : " A p p N a v i g a t i o n C o u n t e r " , p r o p s : { h i g h l i g h t e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } } , i = e ( 2 ) , r = e . n ( i ) , a = e ( 1 5 0 ) , s = ( r ( ) ( a . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , a . a . l o c a l s , e ( 3 ) ) , c = e ( 1 5 1 ) , l = e . n ( c ) , u = O b j e c t ( s . a ) ( o , ( f u n c t i o n ( ) { v a r t = t h i s . $ c r e a t e E l e m e n t ; r e t u r n ( t h i s . _ s e l f . _ c | | t ) ( " d i v " , { s t a t i c C l a s s : " a p p - n a v i g a t i o n - e n t r y _ _ c o u n t e r " , c l a s s : { " a p p - n a v i g a t i o n - e n t r y _ _ c o u n t e r - - h i g h l i g h t e d " : t h i s . h i g h l i g h t e d } } , [ t h i s . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 7 9 4 9 2 1 e d " , n u l l ) ; " f u n c t i o n " = = t y p e o f l . a & & l ( ) ( u ) ; v a r d = u . e x p o r t s ;
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-29 13:14:51 +03:00
* /n.default=d},function(t,n,e){"use strict";e.r(n),e(63);var o={name:"AppNavigationIconBullet",props:{color:{type:String,required:!0,validator:function(t){return/ ^ # ? ( [ 0 - 9 A - F ] { 3 } ) { 1 , 2 } $ / i . test ( t ) } } } , computed : { formattedColor : function ( ) { return this . color . startsWith ( "#" ) ? this . color : "#" + this . color } } , methods : { onClick : function ( t ) { this . $emit ( "click" , t ) } } } , i = e ( 2 ) , r = e . n ( i ) , a = e ( 152 ) , s = ( r ( ) ( a . a , { insert : "head" , singleton : ! 1 } ) , a . a . locals , e ( 3 ) ) , c = e ( 153 ) , l = e . n ( c ) , u = Object ( s . a ) ( o , ( function ( ) { var t = this . $createElement , n = this . _self . _c || t ; return n ( "div" , { staticClass : "app-navigation-entry__icon-bullet" , on : { click : this . onClick } } , [ n ( "div" , { style : { backgroundColor : this . formattedColor } } ) ] ) } ) , [ ] , ! 1 , null , "8f9e955c" , null ) ; "function" == typeof l . a && l ( ) ( u ) ; var d = u . exports ;
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-29 13:14:51 +03:00
* / n . d e f a u l t = d } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) ; v a r o = { p r o p s : { b u t t o n I d : { t y p e : S t r i n g , r e q u i r e d : ! 1 , d e f a u l t : " " } , b u t t o n C l a s s : { t y p e : [ S t r i n g , A r r a y , O b j e c t ] , r e q u i r e d : ! 1 , d e f a u l t : " " } , d i s a b l e d : { t y p e : B o o l e a n , r e q u i r e d : ! 1 , d e f a u l t : ! 1 } , t e x t : { t y p e : S t r i n g , r e q u i r e d : ! 0 } } } , i = e ( 2 ) , r = e . n ( i ) , a = e ( 1 5 7 ) , s = ( r ( ) ( a . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , a . a . l o c a l s , e ( 3 ) ) , c = O b j e c t ( s . a ) ( o , ( f u n c t i o n ( ) { v a r t = t h i s , n = t . $ c r e a t e E l e m e n t , e = t . _ s e l f . _ c | | n ; r e t u r n e ( " d i v " , { s t a t i c C l a s s : " a p p - n a v i g a t i o n - n e w " } , [ e ( " b u t t o n " , { c l a s s : t . b u t t o n C l a s s , a t t r s : { i d : t . b u t t o n I d , t y p e : " b u t t o n " , d i s a b l e d : t . d i s a b l e d } , o n : { c l i c k : f u n c t i o n ( n ) { r e t u r n t . $ e m i t ( " c l i c k " ) } } } , [ t . _ v ( " \ n \ t \ t " + t . _ s ( t . t e x t ) + " \ n \ t " ) ] ) ] ) } ) , [ ] , ! 1 , n u l l , " e c e e 3 2 6 e " , n u l l ) . e x p o r t s ; n . d e f a u l t = c } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) ; v a r o = e ( 4 2 ) , i = e ( 3 6 ) , r = { n a m e : " A p p N a v i g a t i o n N e w I t e m " , c o m p o n e n t s : { I n p u t C o n f i r m C a n c e l : e ( 1 2 6 ) . a } , d i r e c t i v e s : { C l i c k O u t s i d e : o . d i r e c t i v e } , m i x i n s : [ i . d e f a u l t ] , p r o p s : { t i t l e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , i c o n : { t y p e : S t r i n g , d e f a u l t : " " } , l o a d i n g : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , e d i t L a b e l : { t y p e : S t r i n g , d e f a u l t : " " } , e d i t P l a c e h o l d e r : { t y p e : S t r i n g , d e f a u l t : " " } } , d a t a : f u n c t i o n ( ) { r e t u r n { n e w I t e m V a l u e : " " , n e w I t e m A c t i v e : ! 1 } } , m e t h o d s : { h a n d l e N e w I t e m : f u n c t i o n ( ) { v a r t = t h i s ; t h i s . l o a d i n g | | ( t h i s . n e w I t e m A c t i v e = ! 0 , t h i s . $ n e x t T i c k ( ( f u n c t i o n ( ) { t . $ r e f s . n e w I t e m I n p u t . f o c u s I n p u t ( ) } ) ) ) } , c a n c e l N e w I t e m : f u n c t i o n ( ) { t h i s . n e w I t e m A c t i v e = ! 1 } , h a n d l e N e w I t e m D o n e : f u n c t i o n ( ) { t h i s . $ e m i t ( " n e w - i t e m " , t h i s . n e w I t e m V a l u e ) , t h i s . n e w I t e m V a l u e = " " , t h i s . n e w I t e m A c t i v e = ! 1 } } } , a = e ( 2 ) , s = e . n ( a ) , c = e ( 1 5 8 ) , l = ( s ( ) ( c . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , c . a . l o c a l s , e ( 3 ) ) , u = e ( 1 5 9 ) , d = e . n ( u ) , p = O b j e c t ( l . a ) ( r , ( f u n c t i o n ( ) { v a r t , n = t h i s , e = n . $ c r e a t e E l e m e n t , o = n . _ s e l f . _ c | | e ; r e t u r n o ( " l i " , { s t a t i c C l a s s : " a p p - n a v i g a t i o n - e n t r y " , c l a s s : { " a p p - n a v i g a t i o n - e n t r y - - n e w I t e m A c t i v e " : n . n e w I t e m A c t i v e } } , [ o ( " d i v " , { s t a t i c C l a s s : " a p p - n a v i g a t i o n - e n t r y - d i v " , o n : { c l i c k : n . h a n d l e N e w I t e m } } , [ o ( " d i v " , { s t a t i c C l a s s : " a p p - n a v i g a t i o n - e n t r y - i c o n " , c l a s s : ( t = { " i c o n - l o a d i n g - s m a l l " : n . l o a d i n g } , t [ n . i c o n ] = ! n . l o a d i n g , t ) } , [ n . l o a d i n g ? n . _ e ( ) : n . _ t ( " i c o n " ) ] , 2 ) , n . _ v ( " " ) , n . n e w I t e m A c t i v e ? n . _ e ( ) : o ( " s p a n " , { s t a t i c C l a s s : " a p p - n a v i g a t i o n - n e w - i t e m _ _ t i t l e " , a t t r s : { t i t l e : n . t i t l e } } , [ n . _ v ( " \ n \ t \ t \ t " + n . _ s ( n . t i t l e ) + " \ n \ t \ t " ) ] ) , n . _ v ( " " ) , n . n e w I t e m A c t i v e ? o ( " d i v " , { s t a t i c C l a s s : " n e w I t e m C o n t a i n e r " } , [ o ( " I n p u t C o n f i r m C a n c e l " , { r e f : " n e w I t e m I n p u t " , a t t r s : { p l a c e h o l d e r : " " ! = = n . e d i t P l a c e h o l d e r ? n . e d i t P l a c e h o l d e r : n . t i t l e } , o n : { c a n c e l : n . c a n c e l N e w I t e m , c o n f i r m : n . h a n d l e N e w I t e m D o n e } , m o d e l : { v a l u e : n . n e w I t e m V a l u e , c a l l b a c k : f u n c t i o n ( t ) { n . n e w I t e m V a l u e = t } , e x p r e s s i o n : " n e w I t e m V a l u e " } } ) ] , 1 ) : n . _ e ( ) ] ) ] ) } ) , [ ] , ! 1 , n u l l , n u l l , n u l l ) ; " f u n c t i o n " = = t y p e o f d . a & & d ( ) ( p ) ; v a r f = p . e x p o r t s ;
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-29 13:14:51 +03:00
* /n.default=f},function(t,n,e){"use strict";e.r(n);var o=e(42),i=e(12),r=e(45),a={directives:{ClickOutside:o.directive},mixins:[r.a],props:{title:{type:String,required:!1,default:Object(i.b)("Settings")}},data:function(){return{open:!1,clickOutsideConfig:{handler:this.closeMenu,middleware:this.clickOutsideMiddleware}}},methods:{toggleMenu:function(){this.open=!this.open},closeMenu:function(){this.open=!1}}},s=e(2),c=e.n(s),l=e(160),u=(c()(l.a,{insert:"head",singleton:!1}),l.a.locals,e(3)),d=Object(u.a)(a,(function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{directives:[{name:"click-outside",rawName:"v-click-outside",value:t.clickOutsideConfig,expression:"clickOutsideConfig"}],class:{open:t.open},attrs:{id:"app-settings"}},[e("div",{attrs:{id:"app-settings-header"}},[e("button",{staticClass:"settings-button",on:{click:t.toggleMenu}},[t._v("\n\t\t\t"+t._s(t.title)+"\n\t\t")])]),t._v(" "),e("transition",{attrs:{name:"slide-up"}},[e("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],attrs:{id:"app-settings-content"}},[t._t("default")],2)])],1)}),[],!1,null,"73c43fbe",null).exports;n.default=d},function(t,n,e){"use strict";e.r(n);var o=e(2),i=e.n(o),r=e(161),a=(i()(r.a,{insert:"head",singleton:!1}),r.a.locals,e(3)),s=Object(a.a)({name:"AppNavigationSpacer"},(function(){var t=this.$createElement;return(this._self._c||t)("li",{staticClass:"app-navigation-spacer"})}),[],!1,null,"42195cc8",null).exports;n.default=s},function(t,n,e){"use strict";e.r(n),e(15),e(25);var o={name:"AppSettingsSection",props:{title:{type:String,required:!0}},computed:{id:function(){return"settings-section_"+this.title.replace(/ \ s + / g , " " ) } } } , i = e ( 2 ) , r = e . n ( i ) , a = e ( 1 6 4 ) , s = ( r ( ) ( a . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , a . a . l o c a l s , e ( 3 ) ) , c = O b j e c t ( s . a ) ( o , ( f u n c t i o n ( ) { v a r t = t h i s . $ c r e a t e E l e m e n t , n = t h i s . _ s e l f . _ c | | t ; r e t u r n n ( " d i v " , { s t a t i c C l a s s : " a p p - s e t t i n g s - s e c t i o n " , a t t r s : { i d : t h i s . i d } } , [ n ( " h 3 " , { s t a t i c C l a s s : " a p p - s e t t i n g s - s e c t i o n _ _ t i t l e " , a t t r s : { i d : t h i s . t i t l e } } , [ t h i s . _ v ( " \ n \ t \ t " + t h i s . _ s ( t h i s . t i t l e ) + " \ n \ t " ) ] ) , t h i s . _ v ( " " ) , t h i s . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 0 e 3 3 d a 1 4 " , n u l l ) . e x p o r t s ; n . d e f a u l t = c } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) , e ( 3 0 ) ; v a r o = { n a m e : " A p p S i d e b a r T a b " , p r o p s : { i d : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , n a m e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , i c o n : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , o r d e r : { t y p e : N u m b e r , d e f a u l t : 0 } } , c o m p u t e d : { i s A c t i v e : f u n c t i o n ( ) { r e t u r n t h i s . $ p a r e n t . a c t i v e T a b = = = t h i s . i d } } , m e t h o d s : { o n S c r o l l : f u n c t i o n ( t ) { t h i s . $ e l . s c r o l l H e i g h t - t h i s . $ e l . s c r o l l T o p = = = t h i s . $ e l . c l i e n t H e i g h t & & t h i s . $ e m i t ( " b o t t o m R e a c h e d " , t ) , t h i s . $ e m i t ( " s c r o l l " , t ) } } } , i = e ( 2 ) , r = e . n ( i ) , a = e ( 1 6 9 ) , s = ( r ( ) ( a . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , a . a . l o c a l s , e ( 3 ) ) , c = O b j e c t ( s . a ) ( o , ( f u n c t i o n ( ) { v a r t = t h i s . $ c r e a t e E l e m e n t ; r e t u r n ( t h i s . _ s e l f . _ c | | t ) ( " s e c t i o n " , { s t a t i c C l a s s : " a p p - s i d e b a r _ _ t a b " , c l a s s : { " a p p - s i d e b a r _ _ t a b - - a c t i v e " : t h i s . i s A c t i v e } , a t t r s : { i d : " t a b - " + t h i s . i d , " a r i a - h i d d e n " : ! t h i s . i s A c t i v e , " a r i a - l a b e l l e d b y " : t h i s . i d , t a b i n d e x : " 0 " , r o l e : " t a b p a n e l " } , o n : { s c r o l l : t h i s . o n S c r o l l } } , [ t h i s . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " e a 6 a 5 b 0 c " , n u l l ) . e x p o r t s ; n . d e f a u l t = c } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) , e ( 2 4 ) , e ( 6 ) , e ( 2 6 ) ; v a r o = e ( 1 8 8 ) , i = e ( 6 4 ) , r = e ( 6 1 ) , a = e ( 4 7 ) , s = { n a m e : " C o l o r P i c k e r " , c o m p o n e n t s : { C h r o m e : o . C h r o m e , P o p o v e r : a . d e f a u l t } , m i x i n s : [ r . a ] , p r o p s : { v a l u e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } } , d a t a : f u n c t i o n ( ) { v a r t = t h i s ; r e t u r n { c u r r e n t C o l o r : t h i s . v a l u e , a d v a n c e d : ! 1 , p a l e t t e : O b j e c t ( i . a ) ( 4 ) . m a p ( ( f u n c t i o n ( n ) { r e t u r n " # " + t . r g b T o H e x ( n . r ) + t . r g b T o H e x ( n . g ) + t . r g b T o H e x ( n . b ) } ) ) , o p e n : ! 0 } } , w a t c h : { v a l u e : f u n c t i o n ( t ) { t h i s . c u r r e n t C o l o r = t } } , m e t h o d s : { h a n d l e C o n f i r m : f u n c t i o n ( ) { t h i s . $ e m i t ( " c l o s e " ) , t h i s . $ e m i t ( " s u b m i t " , t h i s . c u r r e n t C o l o r ) , t h i s . a d v a n c e d = ! 1 } , h a n d l e B a c k : f u n c t i o n ( ) { t h i s . a d v a n c e d = ! 1 } , h a n d l e M o r e S e t t i n g s : f u n c t i o n ( ) { t h i s . a d v a n c e d = ! 0 } , p i c k C o l o r : f u n c t i o n ( t ) { " s t r i n g " ! = t y p e o f t & & ( t = t h i s . c u r r e n t C o l o r . h e x ) , t h i s . c u r r e n t C o l o r = t , t h i s . $ e m i t ( " c l o s e " ) , t h i s . $ e m i t ( " u p d a t e : v a l u e " , t ) , t h i s . $ e m i t ( " i n p u t " , t ) } , r g b T o H e x : f u n c t i o n ( t ) { v a r n = t . t o S t r i n g ( 1 6 ) ; r e t u r n 1 = = = n . l e n g t h ? " 0 " + n : n } } } , c = e ( 2 ) , l = e . n ( c ) , u = e ( 1 7 2 ) , d = ( l ( ) ( u . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , u . a . l o c a l s , e ( 3 ) ) , p = e ( 1 7 3 ) , f = e . n ( p ) , A = O b j e c t ( d . a ) ( s , ( f u n c t i o n ( ) { v a r t = t h i s , n = t . $ c r e a t e E l e m e n t , e = t . _ s e l f . _ c | | n ; r e t u r n e ( " P o p o v e r " , t . _ g ( t . _ b ( { s c o p e d S
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-29 13:14:51 +03:00
* / n . d e f a u l t = h } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) ; v a r o = { p r o p s : { a p p N a m e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } } } , i = e ( 2 ) , r = e . n ( i ) , a = e ( 1 7 4 ) , s = ( r ( ) ( a . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , a . a . l o c a l s , e ( 3 ) ) , c = e ( 1 7 5 ) , l = e . n ( c ) , u = O b j e c t ( s . a ) ( o , ( f u n c t i o n ( ) { v a r t = t h i s . $ c r e a t e E l e m e n t ; r e t u r n ( t h i s . _ s e l f . _ c | | t ) ( " d i v " , { s t a t i c C l a s s : " c o n t e n t " , c l a s s : " a p p - " + t h i s . a p p N a m e . t o L o w e r C a s e ( ) , a t t r s : { i d : " c o n t e n t - v u e " } } , [ t h i s . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 0 7 b 3 6 7 5 a " , n u l l ) ; " f u n c t i o n " = = t y p e o f l . a & & l ( ) ( u ) ; v a r d = u . e x p o r t s ;
2021-03-17 11:45:22 +03:00
/ *
* @ 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/>.
2021-05-29 13:14:51 +03:00
* / n . d e f a u l t = d } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) , e ( 3 1 ) , e ( 3 8 ) ; v a r o = e ( 1 2 ) , i = { n a m e : " S e t t i n g s S e c t i o n " , c o m p o n e n t s : { } , p r o p s : { t i t l e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , d e s c r i p t i o n : { t y p e : S t r i n g , d e f a u l t : " " } , d o c U r l : { t y p e : S t r i n g , d e f a u l t : " " } } , d a t a : f u n c t i o n ( ) { r e t u r n { d o c T i t l e T r a n s l a t e d : O b j e c t ( o . b ) ( " E x t e r n a l d o c u m e n t a t i o n f o r { t i t l e } " , { t i t l e : t h i s . t i t l e } ) } } , c o m p u t e d : { h a s D e s c r i p t i o n : f u n c t i o n ( ) { r e t u r n t h i s . d e s c r i p t i o n . l e n g t h > 0 } , h a s D o c U r l : f u n c t i o n ( ) { r e t u r n t h i s . d o c U r l . l e n g t h > 0 } } } , r = e ( 2 ) , a = e . n ( r ) , s = e ( 1 8 1 ) , c = ( a ( ) ( s . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , s . a . l o c a l s , e ( 3 ) ) , l = e ( 1 8 2 ) , u = e . n ( l ) , d = O b j e c t ( c . a ) ( i , ( f u n c t i o n ( ) { v a r t = t h i s , n = t . $ c r e a t e E l e m e n t , e = t . _ s e l f . _ c | | n ; r e t u r n e ( " d i v " , { s t a t i c C l a s s : " s e t t i n g s - s e c t i o n " } , [ e ( " h 2 " , { s t a t i c C l a s s : " s e t t i n g s - s e c t i o n _ _ t i t l e " } , [ t . _ v ( " \ n \ t \ t " + t . _ s ( t . t i t l e ) + " \ n \ t \ t " ) , t . h a s D o c U r l ? e ( " a " , { s t a t i c C l a s s : " s e t t i n g s - s e c t i o n _ _ i n f o " , a t t r s : { h r e f : t . d o c U r l , r o l e : " " , t i t l e : t . d o c T i t l e T r a n s l a t e d } } ) : t . _ e ( ) ] ) , t . _ v ( " " ) , t . h a s D e s c r i p t i o n ? e ( " p " , { s t a t i c C l a s s : " s e t t i n g s - s e c t i o n _ _ d e s c " } , [ t . _ v ( " \ n \ t \ t " + t . _ s ( t . d e s c r i p t i o n ) + " \ n \ t " ) ] ) : t . _ e ( ) , t . _ v ( " " ) , t . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " a 6 9 6 6 e e 2 " , n u l l ) ; " f u n c t i o n " = = t y p e o f u . a & & u ( ) ( d ) ; v a r p = d . e x p o r t s ;
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-29 13:14:51 +03:00
* / n . d e f a u l t = p } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) , e ( 1 6 ) , e ( 6 ) , e ( 1 7 ) , e ( 1 8 ) , e ( 4 0 ) , e ( 3 0 ) , e ( 2 2 ) ; v a r o = e ( 4 7 ) , i = e ( 8 0 ) , r = { n a m e : " U s e r B u b b l e " , c o m p o n e n t s : { P o p o v e r : o . d e f a u l t , A v a t a r : i . d e f a u l t } , p r o p s : { a v a t a r I m a g e : { t y p e : S t r i n g , d e f a u l t : v o i d 0 } , u s e r : { t y p e : S t r i n g , d e f a u l t : v o i d 0 } , d i s p l a y N a m e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , s h o w U s e r S t a t u s : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , u r l : { t y p e : S t r i n g , d e f a u l t : v o i d 0 , v a l i d a t o r : f u n c t i o n ( t ) { t r y { r e t u r n ! ! ( t = n e w U R L ( t ) ) } c a t c h ( t ) { r e t u r n ! 1 } } } , o p e n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , p r i m a r y : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , s i z e : { t y p e : N u m b e r , d e f a u l t : 2 0 } , m a r g i n : { t y p e : N u m b e r , d e f a u l t : 2 } } , c o m p u t e d : { i s P o p o v e r C o m p o n e n t : f u n c t i o n ( ) { r e t u r n t h i s . p o p o v e r E m p t y ? " d i v " : " P o p o v e r " } , i s A v a t a r U r l : f u n c t i o n ( ) { i f ( ! t h i s . a v a t a r I m a g e ) r e t u r n ! 1 ; t r y { r e t u r n ! ! n e w U R L ( t h i s . a v a t a r I m a g e ) } c a t c h ( t ) { r e t u r n ! 1 } } , i s C u s t o m A v a t a r : f u n c t i o n ( ) { r e t u r n ! ! t h i s . a v a t a r I m a g e } , i s L i n k C o m p o n e n t : f u n c t i o n ( ) { r e t u r n t h i s . u r l & & " " ! = = t h i s . u r l . t r i m ( ) ? { i s : " a " , h r e f : t h i s . u r l } : { i s : " d i v " } } , p o p o v e r E m p t y : f u n c t i o n ( ) { r e t u r n ! ( " d e f a u l t " i n t h i s . $ s l o t s ) } , s t y l e s : f u n c t i o n ( ) { r e t u r n { c o n t e n t : { h e i g h t : t h i s . s i z e + " p x " , l i n e H e i g h t : t h i s . s i z e + " p x " , b o r d e r R a d i u s : t h i s . s i z e / 2 + " p x " } , a v a t a r : { m a r g i n L e f t : t h i s . m a r g i n + " p x " } } } } , m e t h o d s : { o n O p e n C h a n g e : f u n c t i o n ( t ) { t h i s . $ e m i t ( " u p d a t e : o p e n " , t ) } , o n C l i c k : f u n c t i o n ( t ) { t h i s . $ e m i t ( " c l i c k " , t ) } } } , a = e ( 2 ) , s = e . n ( a ) , c = e ( 1 8 3 ) , l = ( s ( ) ( c . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , c . a . l o c a l s , e ( 3 ) ) , u = e ( 1 8 4 ) , d = e . n ( u ) , p = O b j e c t ( l . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s , n = t . $ c r e a t e E l e m e n t , e = t . _ s e l f . _ c | | n ; r e t u r n e ( t . i s P o p o v e r C o m p o n e n t , { t a g : " P o p o v e r " , s t a t i c C l a s s : " u s e r - b u b b l e _ _ w r a p p e r " , a t t r s : { t r i g g e r : " h o v e r f o c u s " , o p e n : t . o p e n } , o n : { " u p d a t e : o p e n " : t . o n O p e n C h a n g e } } , [ e ( " d i v " , t . _ b ( { s t a t i c C l a s s : " u s e r - b u b b l e _ _ c o n t e n t " , c l a s s : t . p r i m a r y ? " u s e r - b u b b l e _ _ c o n t e n t - - p r i m a r y " : " " , s t y l e : t . s t y l e s . c o n t e n t , a t t r s : { s l o t : " t r i g g e r " } , o n : { c l i c k : t . o n C l i c k } , s l o t : " t r i g g e r " } , " d i v " , t . i s L i n k C o m p o n e n t , ! 1 ) , [ e ( " A v a t a r " , t . _ b ( { s t a t i c C l a s s : " u s e r - b u b b l e _ _ a v a t a r " , s t y l e : t . s t y l e s . a v a t a r , a t t r s : { u r l : t . i s C u s t o m A v a t a r & & t . i s A v a t a r U r l ? t . a v a t a r I m a g e : v o i d 0 , " i c o n - c l a s s " : t . i s C u s t o m A v a t a r & & ! t . i s A v a t a r U r l ? t . a v a t a r I m a g e : v o i d 0 , u s e r : t . u s e r , " d i s p l a y - n a m e " : t . d i s p l a y N a m e , s i z e : t . s i z e - 2 * t . m a r g i n , " d i s a b l e - t o o l t i p " : ! 0 , " d i s a b l e - m e n u " : ! 0 } } , " A v a t a r " , t . $ p r o p s , ! 1 ) ) , t . _ v ( " " ) , e ( " s p a n " , { s t a t i c C l a s s : " u s e r - b u b b l e _ _ t i t l e " } , [ t . _ v ( " \ n \ t \ t \ t " + t . _ s ( t . d i s p l a y N a m e | | t . u s e r ) + " \ n \ t \ t " ) ] ) , t . _ v ( " " ) , t . $ s l o t s . t i t l e ? e ( " s p a n " , { s t a t i c C l a s s : " u s e r - b u b b l e _ _ s e c o n d a r y " } , [ t . _ t ( " t i t l e " ) ] , 2 ) : t . _ e ( ) ] , 1 ) , t . _ v ( " " ) , t . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 2 8 b 4 7 c 6 0 " , n u l l ) ; " f u n c t i o n " = = t y p e o f d . a & & d ( ) ( p ) ; v a r f = p . e x p o r t s ;
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-29 13:14:51 +03:00
* / n . d e f a u l t = f } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) , e ( 5 8 ) , e ( 3 0 ) , e ( 2 4 ) , e ( 5 1 ) , e ( 1 8 7 ) , e ( 6 ) , e ( 5 9 ) ; v a r o = e ( 6 1 ) , i = e ( 1 0 7 ) , r = e ( 3 7 ) , a = e . n ( r ) , s = e ( 1 3 ) ; f u n c t i o n c ( t , n , e , o , i , r , a ) { t r y { v a r s = t [ r ] ( a ) , c = s . v a l u e } c a t c h ( t ) { r e t u r n v o i d e ( t ) } s . d o n e ? n ( c ) : P r o m i s e . r e s o l v e ( c ) . t h e n ( o , i ) }
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-29 13:14:51 +03:00
* / v a r l = f u n c t i o n ( t ) { v a r n = f u n c t i o n t ( n ) { v a r e = { } ; i f ( 1 = = = n . n o d e T y p e ) { i f ( n . a t t r i b u t e s . l e n g t h > 0 ) { e [ " @ a t t r i b u t e s " ] = { } ; f o r ( v a r o = 0 ; o < n . a t t r i b u t e s . l e n g t h ; o + + ) { v a r i = n . a t t r i b u t e s . i t e m ( o ) ; e [ " @ a t t r i b u t e s " ] [ i . n o d e N a m e ] = i . n o d e V a l u e } } } e l s e 3 = = = n . n o d e T y p e & & ( e = n . n o d e V a l u e ) ; i f ( n . h a s C h i l d N o d e s ( ) ) f o r ( v a r r = 0 ; r < n . c h i l d N o d e s . l e n g t h ; r + + ) { v a r a = n . c h i l d N o d e s . i t e m ( r ) , s = a . n o d e N a m e ; i f ( v o i d 0 = = = e [ s ] ) e [ s ] = t ( a ) ; e l s e { i f ( v o i d 0 = = = e [ s ] . p u s h ) { v a r c = e [ s ] ; e [ s ] = [ ] , e [ s ] . p u s h ( c ) } e [ s ] . p u s h ( t ( a ) ) } } r e t u r n e } ( f u n c t i o n ( t ) { v a r n = n u l l ; t r y { n = ( n e w D O M P a r s e r ) . p a r s e F r o m S t r i n g ( t , " t e x t / x m l " ) } c a t c h ( t ) { c o n s o l e . e r r o r ( " F a i l e d t o p a r s e x m l d o c u m e n t " , t ) } r e t u r n n } ( t ) ) [ " d : m u l t i s t a t u s " ] [ " d : r e s p o n s e " ] , e = [ ] ; f o r ( v a r o i n n ) { v a r i = n [ o ] [ " d : p r o p s t a t " ] ; " H T T P / 1 . 1 2 0 0 O K " = = = i [ " d : s t a t u s " ] [ " # t e x t " ] & & e . p u s h ( { i d : p a r s e I n t ( i [ " d : p r o p " ] [ " o c : i d " ] [ " # t e x t " ] ) , d i s p l a y N a m e : i [ " d : p r o p " ] [ " o c : d i s p l a y - n a m e " ] [ " # t e x t " ] , c a n A s s i g n : " t r u e " = = = i [ " d : p r o p " ] [ " o c : c a n - a s s i g n " ] [ " # t e x t " ] , u s e r A s s i g n a b l e : " t r u e " = = = i [ " d : p r o p " ] [ " o c : u s e r - a s s i g n a b l e " ] [ " # t e x t " ] , u s e r V i s i b l e : " t r u e " = = = i [ " d : p r o p " ] [ " o c : u s e r - v i s i b l e " ] [ " # t e x t " ] } ) } r e t u r n e } , u = f u n c t i o n ( ) { v a r t , n = ( t = r e g e n e r a t o r R u n t i m e . m a r k ( ( f u n c t i o n t ( ) { v a r n ; r e t u r n r e g e n e r a t o r R u n t i m e . w r a p ( ( f u n c t i o n ( t ) { f o r ( ; ; ) s w i t c h ( t . p r e v = t . n e x t ) { c a s e 0 : i f ( ! w i n d o w . N e x t c l o u d V u e D o c s ) { t . n e x t = 2 ; b r e a k } r e t u r n t . a b r u p t ( " r e t u r n " , P r o m i s e . r e s o l v e ( l ( w i n d o w . N e x t c l o u d V u e D o c s . t a g s ) ) ) ; c a s e 2 : r e t u r n t . n e x t = 4 , a ( ) ( { m e t h o d : " P R O P F I N D " , u r l : O b j e c t ( s . g e n e r a t e R e m o t e U r l ) ( " d a v " ) + " / s y s t e m t a g s / " , d a t a : ' < ? x m l v e r s i o n = " 1 . 0 " ? > \ n \ t \ t \ t \ t \ t < d : p r o p f i n d x m l n s : d = " D A V : " x m l n s : o c = " h t t p : / / o w n c l o u d . o r g / n s " > \ n \ t \ t \ t \ t \ t < d : p r o p > \ n \ t \ t \ t \ t \ t \ t < o c : i d / > \ n \ t \ t \ t \ t \ t \ t < o c : d i s p l a y - n a m e / > \ n \ t \ t \ t \ t \ t \ t < o c : u s e r - v i s i b l e / > \ n \ t \ t \ t \ t \ t \ t < o c : u s e r - a s s i g n a b l e / > \ n \ t \ t \ t \ t \ t \ t < o c : c a n - a s s i g n / > \ n \ t \ t \ t \ t \ t < / d : p r o p > \ n \ t \ t \ t \ t \ t < / d : p r o p f i n d > ' } ) ; c a s e 4 : r e t u r n n = t . s e n t , t . a b r u p t ( " r e t u r n " , l ( n . d a t a ) ) ; c a s e 6 : c a s e " e n d " : r e t u r n t . s t o p ( ) } } ) , t ) } ) ) , f u n c t i o n ( ) { v a r n = t h i s , e = a r g u m e n t s ; r e t u r n n e w P r o m i s e ( ( f u n c t i o n ( o , i ) { v a r r = t . a p p l y ( n , e ) ; f u n c t i o n a ( t ) { c ( r , o , i , a , s , " n e x t " , t ) } f u n c t i o n s ( t ) { c ( r , o , i , a , s , " t h r o w " , t ) } a ( v o i d 0 ) } ) ) } ) ; r e t u r n f u n c t i o n ( ) { r e t u r n n . a p p l y ( t h i s , a r g u m e n t s ) } } ( ) , d = e ( 1 2 ) ; f u n c t i o n p ( t , n , e , o , i , r , a ) { t r y { v a r s = t [ r ] ( a ) , c = s . v a l u e } c a t c h ( t ) { r e t u r n v o i d e ( t ) } s . d o n e ? n ( c ) : P r o m i s e . r e s o l v e ( c ) . t h e n ( o , i ) } v a r f = { n a m e : " M u l t i s e l e c t T a g s " , c o m p o n e n t s : { M u l t i s e l e c t : i . d e f a u l t } , m i x i n s : [ o . a ] , p r o p s : { l a b e l : { t y p e : S t r i n g , d e f a u l t : O b j e c t ( d . b ) ( " S e l e c t a t a g " ) } , v a l u e : { t y p e : [ N u m b e r , A r r a y ] , r e q u i r e d : ! 0 } , d i s a b l e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , m u l t i p l e : { t y p e : B o o l e a n , d e f a u l t : ! 0 } } , d a t a : f u n c t i o n ( ) { r e t u r n { t a g s : [ ] } } , c o m p u t e d : { i n p u t V a l u e : f u n c t i o n ( ) { r e t u r n t h i s . g e t V a l u e O b j e c t ( ) } } , b e f o r e C r e a t e : f u n c t i o n ( ) { v a r t , n = t h i s ; r e t u r n ( t = r e g e n e r a t o r R u n t i m e . m a r k ( ( f u n c t i o n t ( ) { v a r e ; r e t u r n r e g e n e r a t o r R u n t i m e . w r a p ( ( f u n c t i o n ( t ) { f o r ( ; ; ) s w i t c h ( t . p r e v = t . n e x t ) { c a s e 0 : r e t u r n t . p r e v = 0 , t . n e x t = 3 , u ( ) ; c a s e 3 : e = t . s e n t , n . t a g s = e , t . n e x t = 1 0 ; b r e a k ; c a s e 7 : t . p r e v = 7 , t . t 0 = t . c a t c h ( 0 ) , c o n s o l e . e r r o r ( " L o a d i n g s y s t e m t a g s f a i l e d " , t . t 0 ) ; c a s e 1 0 : c a s e " e n d " : r e t u r n t . s t o p ( ) } } ) , t , n u l l , [ [ 0 , 7 ] ] ) } ) ) , f u n c t i o n ( ) { v a r n = t h i s , e = a r g u m e n t s ; r e t u r n n e w P r o m i s e ( ( f u n c t i o n ( o , i ) { v a r r = t . a p p l y ( n , e ) ; f u n c t i o n a ( t ) { p ( r , o , i , a , s , " n e x t " , t ) } f u n c t i o n s ( t ) { p ( r , o , i , a , s , " t h r o w " , t ) } a ( v o i d 0 ) } ) ) } ) ( ) } , m e t h o d s : { g e t V a l u e O b j e c t : f u n c t i o n ( ) { v a r t = t h i s ; r e t u r n 0 = = = t h i s . t a g s . l e n g t h ? [ ] : t h i s . m u l t i p l e ? t h i s . v a l u e . f i l t e r ( ( f u n c t i o n ( t ) { r e t u r n " " ! = = t } ) ) . m a p ( ( f u n c t i o n ( n ) { r e t u r n t . t a g s . f i n d ( ( f u n c t i o n ( t ) { r e t u r n t . i d = = = n } ) ) } ) ) : t h i s . t a g s . f i n d ( ( f u n c t i o n ( n ) { r e t u r n n . i d = = = t . v a l u e } ) ) } , u p d a t e : f u n c t i o n ( t ) { t h i s . m u l t i p l e ? t h i s . $ e m i t ( " i n p u t " , t . m a p ( ( f u n c t i o n ( t ) { r e t u r n t . i d } ) ) ) : n u l l = = = t ? t h i s . $ e m i t ( " i n p u t " , n u l l ) : t h i s . $ e m i t ( " i n p u t " , t . i d ) } , t a g L a b e l : f u n c t i o n ( t ) { v a r n = t . d i s p l a y N a m e , e = t . u s e r V i s i b l e , o = t . u s e r A s s i g n a b l e ; r e t u r n ! 1 = = = e ? O b j e c t ( d . b ) ( " { t a g } ( i n v i s i b l e ) " , { t a g : n } ) : ! 1 = = = o ? O b j e c t ( d . b ) ( " { t a g } ( r e s t r i c t e d ) " , { t a g : n } ) : n } } } , A = e ( 3 ) , h = e ( 1 7 6 ) , m = e . n ( h ) , g = O b j e c t ( A . a ) ( f , ( f u n c t i o n ( ) { v a r t = t h i s , n = t . $ c r e a t e E l e m e n t , e = t . _ s e l f . _ c | | n ; r e t u r n e ( " M u l t i s e l e c t " , { a t t r s : { v a l u e : t . i n p u t V a l u e , o p t i o n s : t . t a g s , " o p t i o n s - l i m i t " : 5 , p l a c e h o l d e r : t . l a b e l , " t r a c k - b y " : " i d " , " c u s t o m - l a b e l " : t . t a g L a b e l , m u l t i p l e : t . m u l t i p l e , " c l o s e - o n - s e l e c t " : t . m u l t i p l e , " t a g - w i d t h " : 6 0 , d i s a b l e d : t . d i s a b l e d } , o n : { i n p u t : t . u p d a t e } , s c o p e d S l o t s : t . _ u ( [ { k e y : " o p t i o n " , f n : f u n c t i o n ( n ) { r e t u r n [ t . _ v (
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
2021-05-29 13:14:51 +03:00
* /n.default=v},function(t,n,e){"use strict";e.r(n);var o=e(3),i=Object(o.a)({name:"AppContentDetails"},(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"app-content-details"},[this._t("default")],2)}),[],!1,null,null,null).exports;n.default=i},function(t,n,e){"use strict";e.r(n);var o={name:"AppContentList",props:{selection:{type:Boolean,default:!1},showDetails:{type:Boolean,default:!1}}},i=e(3),r=Object(i.a)(o,(function(){var t=this.$createElement;return(this._self._c||t)("div",{staticClass:"app-content-list",class:{selection:this.selection,showdetails:this.showDetails}},[this._t("default")],2)}),[],!1,null,null,null).exports;n.default=r},function(n,e,o){"use strict";o.r(e),o(24),o(51),o(27),o(101),o(15),o(25),o(89),o(186),o(35),o(31),o(38),o(6),o(46),o(16),o(17),o(18),o(52),o(41),o(14);var i=o(129),r=o(36),a=o(105),s=o.n(a);function c(t){return function(t){if(Array.isArray(t))return l(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,n){if(t){if("string"==typeof t)return l(t,n);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/ ^ ( ? : Ui | I ) nt ( ? : 8 | 16 | 32 ) ( ? : Clamped ) ? Array $ / . test ( e ) ? l ( t , n ) : void 0 } } ( t ) || function ( ) { throw new TypeError ( "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ) } ( ) } function l ( t , n ) { ( null == n || n > t . length ) && ( n = t . length ) ; for ( var e = 0 , o = new Array ( n ) ; e < n ; e ++ ) o [ e ] = t [ e ] ; return o } var u = { name : "AppSettingsDialog" , components : { Modal : i . default } , mixins : [ r . default ] , props : { open : { type : Boolean , required : ! 0 } , showNavigation : { type : Boolean , default : ! 1 } , container : { type : String , default : "body" } } , data : function ( ) { return { selectedSection : "" , linkClicked : ! 1 , addedScrollListener : ! 1 , scroller : null } } , computed : { hasNavigation : function ( ) { return ! ( this . isMobile || ! this . showNavigation ) } , settingsNavigationAriaLabel : function ( ) { return t ( "Settings navigation" ) } } , mounted : function ( ) { this . selectedSection = this . $slots . default [ 0 ] . componentOptions . propsData . title } , updated : function ( ) { this . $refs . settingsScroller && ( this . scroller = this . $refs . settingsScroller , this . addedScrollListener || ( this . scroller . addEventListener ( "scroll" , this . handleScroll ) , this . addedScrollListener = ! 0 ) ) } , methods : { getSettingsNavigation : function ( t ) { var n = t . filter ( ( function ( t ) { return t . componentOptions } ) ) . map ( ( function ( t ) { var n ; return null === ( n = t . componentOptions . propsData ) || void 0 === n ? void 0 : n . title } ) ) ; return n . forEach ( ( function ( t , e ) { var o = c ( n ) ; if ( o . splice ( e , 1 ) , - 1 !== o . indexOf ( t ) ) throw new Error ( "Duplicate section title found: " . concat ( t , ". Settings navigation sections must have unique section titles." ) ) } ) ) , n } , handleSettingsNavigationClick : function ( t ) { var n = this ; this . linkClicked = ! 0 , document . getElementById ( "settings-section_" + t . replace ( /\s+/g , "" ) ) . scrollIntoView ( { behavior : "smooth" , inline : "nearest" } ) , this . selectedSection = t , setTimeout ( ( function ( ) { n . linkClicked = ! 1 } ) , 1e3 ) } , handleCloseModal : function ( ) { this . $emit ( "update:open" , ! 1 ) , this . scroller . removeEventListener ( "scroll" , this . handleScroll ) , this . addedScrollListener = ! 1 , this . scroller . scrollTop = 0 } , handleScroll : function ( ) { this . linkClicked || this . unfocusNavigationItem ( ) } , unfocusNavigationItem : s ( ) ( ( function ( ) { this . selectedSection = "" , document . activeElement . className . includes ( "navigation-list__link" ) && document . activeElement . blur ( ) } ) , 300 ) , handleLinkKeydown : function ( t , n ) { "Enter" === t . code && this . handleSettingsNavigationClick ( n ) } } , render : function ( t ) { var n = this , e = function ( e ) { return t ( "li" , { } , [ t ( "a" , { class : { "navigation-list__link" : ! 0 , "navigation-list__link--active" : e === n . selectedSection } , attrs : { role : "tab" , "aria-selected" : e === n . selectedSection , tabindex : "0" } , on : { click : function ( ) { return n . handleSettingsNavigationClick ( e ) } , keydown : function ( ) { return n . handleLinkKeydown ( event , e ) } } } , e ) ] ) } ; return this . open ? t ( "Modal" , { attrs : { container : this . container } , on : { close : function ( ) { n . handleCloseModal ( ) } } } , [ t ( "div" , { attrs : { class : "app-settings" } } , [ ] . concat ( c ( n . hasNavigation ? [ t ( "div" , { attrs : { class : " app -
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2020 Marco Ambrosini < marcoambrosini @ pm . me >
*
* @ author Marco Ambrosini < marcoambrosini @ pm . me >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2021-05-29 13:14:51 +03:00
* / e . d e f a u l t = v } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) , e ( 2 4 ) , e ( 9 3 ) , e ( 2 7 ) , e ( 8 9 ) , e ( 1 8 6 ) , e ( 4 1 ) , e ( 3 5 ) ; v a r o = e ( 5 ) , i = e . n ( o ) , r = e ( 1 0 5 ) , a = e . n ( r ) , s = e ( 7 3 ) , c = e ( 1 3 1 ) , l = e ( 1 3 0 ) , u = e ( 5 0 ) , d = e ( 1 3 2 ) , p = e ( 2 9 ) , f = { n a m e : " B r e a d c r u m b s " , c o m p o n e n t s : { A c t i o n s : s . d e f a u l t , A c t i o n R o u t e r : c . d e f a u l t , A c t i o n L i n k : l . d e f a u l t , B r e a d c r u m b : d . d e f a u l t } , p r o p s : { r o o t I c o n : { t y p e : S t r i n g , d e f a u l t : " i c o n - h o m e " } } , d a t a : f u n c t i o n ( ) { r e t u r n { h i d d e n C r u m b s : [ ] , h i d d e n I n d i c e s : [ ] , m e n u B r e a d c r u m b P r o p s : { t i t l e : " " , f o r c e M e n u : ! 0 , d i s a b l e D r o p : ! 0 , o p e n : ! 1 } } } , b e f o r e M o u n t : f u n c t i o n ( ) { O b j e c t ( u . a ) ( t h i s . $ s l o t s . d e f a u l t , [ " B r e a d c r u m b " ] , t h i s ) } , b e f o r e U p d a t e : f u n c t i o n ( ) { O b j e c t ( u . a ) ( t h i s . $ s l o t s . d e f a u l t , [ " B r e a d c r u m b " ] , t h i s ) } , c r e a t e d : f u n c t i o n ( ) { v a r t = t h i s ; w i n d o w . a d d E v e n t L i s t e n e r ( " r e s i z e " , a ( ) ( ( f u n c t i o n ( ) { t . h a n d l e W i n d o w R e s i z e ( ) } ) , 1 0 0 ) ) , O b j e c t ( p . s u b s c r i b e ) ( " n a v i g a t i o n - t o g g l e d " , t h i s . d e l a y e d R e s i z e ) } , m o u n t e d : f u n c t i o n ( ) { t h i s . h a n d l e W i n d o w R e s i z e ( ) } , u p d a t e d : f u n c t i o n ( ) { t h i s . d e l a y e d R e s i z e ( ) , t h i s . d e l a y e d H i d e C r u m b s ( ) } , b e f o r e D e s t r o y : f u n c t i o n ( ) { w i n d o w . r e m o v e E v e n t L i s t e n e r ( " r e s i z e " , t h i s . h a n d l e W i n d o w R e s i z e ) , O b j e c t ( p . u n s u b s c r i b e ) ( " n a v i g a t i o n - t o g g l e d " , t h i s . d e l a y e d R e s i z e ) } , m e t h o d s : { d e l a y e d H i d e C r u m b s : f u n c t i o n ( ) { v a r t = t h i s ; t h i s . $ n e x t T i c k ( ( f u n c t i o n ( ) { v a r n = t . $ s l o t s . d e f a u l t | | [ ] ; t . h i d e C r u m b s ( n ) } ) ) } , c l o s e A c t i o n s : f u n c t i o n ( t ) { t h i s . $ r e f s . a c t i o n s B r e a d c r u m b . $ e l . c o n t a i n s ( t . r e l a t e d T a r g e t ) | | ( t h i s . m e n u B r e a d c r u m b P r o p s . o p e n = ! 1 ) } , d e l a y e d R e s i z e : f u n c t i o n ( ) { v a r t = t h i s ; t h i s . $ n e x t T i c k ( ( f u n c t i o n ( ) { t . h a n d l e W i n d o w R e s i z e ( ) } ) ) } , h a n d l e W i n d o w R e s i z e : f u n c t i o n ( ) { v a r t = t h i s . $ s l o t s . d e f a u l t | | [ ] ; i f ( t h i s . $ r e f s . c o n t a i n e r ) { v a r n = t . l e n g t h , e = [ ] , o = t h i s . $ r e f s . c o n t a i n e r . o f f s e t W i d t h , i = t h i s . g e t T o t a l W i d t h ( t ) - o ; i + = i > 0 ? 5 1 : 0 ; f o r ( v a r r = 0 , a = M a t h . f l o o r ( n / 2 ) ; i > 0 & & r < n - 2 ; ) { v a r s = a + ( r % 2 ? r + 1 : r ) / 2 * M a t h . p o w ( - 1 , r + n % 2 ) ; i - = t h i s . g e t W i d t h ( t [ s ] . e l m ) , e . p u s h ( s ) , r + + } t h i s . a r r a y s E q u a l ( t h i s . h i d d e n I n d i c e s , e . s o r t ( ( f u n c t i o n ( t , n ) { r e t u r n t - n } ) ) ) | | ( t h i s . h i d d e n C r u m b s = e . m a p ( ( f u n c t i o n ( n ) { r e t u r n t [ n ] } ) ) , t h i s . h i d d e n I n d i c e s = e ) } } , a r r a y s E q u a l : f u n c t i o n ( t , n ) { i f ( t . l e n g t h ! = = n . l e n g t h ) r e t u r n ! 1 ; i f ( t = = = n ) r e t u r n ! 0 ; i f ( n u l l = = = t | | n u l l = = = n ) r e t u r n ! 1 ; f o r ( v a r e = 0 ; e < t . l e n g t h ; + + e ) i f ( t [ e ] ! = = n [ e ] ) r e t u r n ! 1 ; r e t u r n ! 0 } , g e t T o t a l W i d t h : f u n c t i o n ( t ) { v a r n = t h i s ; r e t u r n t . r e d u c e ( ( f u n c t i o n ( t , e , o ) { r e t u r n t + n . g e t W i d t h ( e . e l m ) } ) , 0 ) } , g e t W i d t h : f u n c t i o n ( t ) { i f ( ! t . c l a s s L i s t ) r e t u r n 0 ; v a r n = t . c l a s s L i s t . c o n t a i n s ( " c r u m b - - h i d d e n " ) ; t . s t y l e . m i n W i d t h = " a u t o " , t . c l a s s L i s t . r e m o v e ( " c r u m b - - h i d d e n " ) ; v a r e = t . o f f s e t W i d t h ; r e t u r n n & & t . c l a s s L i s t . a d d ( " c r u m b - - h i d d e n " ) , t . s t y l e . m i n W i d t h = " " , e } , p r e v e n t D e f a u l t : f u n c t i o n ( t ) { r e t u r n t . p r e v e n t D e f a u l t & & t . p r e v e n t D e f a u l t ( ) , ! 1 } , d r a g S t a r t : f u n c t i o n ( t ) { r e t u r n t h i s . p r e v e n t D e f a u l t ( t ) } , d r o p p e d : f u n c t i o n ( t , n , e ) { r e t u r n e | | t h i s . $ e m i t ( " d r o p p e d " , t , n ) , t h i s . m e n u B r e a d c r u m b P r o p s . o p e n = ! 1 , d o c u m e n t . q u e r y S e l e c t o r A l l ( " . c r u m b " ) . f o r E a c h ( ( f u n c t i o n ( t ) { t . c l a s s L i s t . r e m o v e ( " c r u m b - - h o v e r e d " ) } ) ) , t h i s . p r e v e n t D e f a u l t ( t ) } , d r a g O v e r : f u n c t i o n ( t ) { r e t u r n t h i s . p r e v e n t D e f a u l t ( t ) } , d r a g E n t e r : f u n c t i o n ( t , n ) { i f ( ! n & & t . t a r g e t . c l o s e s t ) { v a r e = t . t a r g e t . c l o s e s t ( " . c r u m b " ) ; e . c l a s s L i s t & & e . c l a s s L i s t . c o n t a i n s ( " c r u m b " ) & & ( d o c u m e n t . q u e r y S e l e c t o r A l l ( " . c r u m b " ) . f o r E a c h ( ( f u n c t i o n ( t ) { t . c l a s s L i s t . r e m o v e ( " c r u m b - - h o v e r e d " ) } ) ) , e . c l a s s L i s t . a d d ( " c r u m b - - h o v e r e d " ) ) } } , d r a g L e a v e : f u n c t i o n ( t , n ) { i f ( ! n & & ! t . t a r g e t . c o n t a i n s ( t . r e l a t e d T a r g e t ) & & t . t a r g e t . c l o s e s t ) { v a r e = t . t a r g e t . c l o s e s t ( " . c r u m b " ) ; i f ( e . c o n t a i n s ( t . r e l a t e d T a r g e t ) ) r e t u r n ; e . c l a s s L i s t & & e . c l a s s L i s t . c o n t a i n s ( " c r u m b " ) & & e . c l a s s L i s t . r e m o v e ( " c r u m b - - h o v e r e d " ) } } , h i d e C r u m b s : f u n c t i o n ( t ) { v a r n = t h i s , e = a r g u m e n t s . l e n g t h > 1 & & v o i d 0 ! = = a r g u m e n t s [ 1 ] ? a r g u m e n t s [ 1 ] : 0 ; t . f o r E a c h ( ( f u n c t i o n ( t , o ) { v a r i ; n u l l ! = t & & n u l l ! = = ( i = t . e l m ) & & v o i d 0 ! = = i & & i . c l a s s L i s t & & ( n . h i d d e n I n d i c e s . i n c l u d e s ( o + e ) ? t . e l m . c l a s s L i s t . a d d ( " c r u m b - - h i d d e n " ) : t . e l m . c l a s s L i s t . r e m o v e ( " c r u m b - - h i d d e n " ) ) } ) ) } } , r e n d e r : f u n c t i o n ( t ) { v a r n = t h i s , e = t h i s . $ s l o t s . d e f a u l t | | [ ] ; i f ( 0 ! = = e . l e n g t h ) { i . a . s e t ( e [ 0 ] . c o m p o n e n t O p t i o n s . p r o p s D a t a , " i c o n " , t h i s . r o o t I c o n ) ; v a r o = [ ] , r = t h i s . h i d d e n C r u m b s . l e n g t h ? e . s l i c e ( 0 , M a t h . r o u n d ( e . l e n g t h / 2 ) ) : e ; o = o . c o n c a t ( r ) , t h i s . h i d e C r u m b s ( r ) , t h i s . h i d d e n C r u m b s . l e n g t h & & o . p u s h ( t ( " B r e a d c r u m b " , { c l a s s : " d r o p d o w n " , p r o p s : t h i s . m e n u B r e a d c r u m b P r o p s , r e f : " a c t i o n s B r e a d c r u m b " , k e y : " a c t i o n s - b r e a d c r u m b - 1 " , n a t i v e O n : { d r a g s t a r t : t h i s . d r a g S t a r t , d r a g e n t e r : f u n c t i o n ( ) { n . m e n u B r e a d c r u m b P r o p s . o p e n = ! 0 } , d r a g l e a v e : t h i s . c l o s e A c t i o n s } , o n : { " u p d a t e : o p e n " : f u n c t i o n ( t ) { n . m e n u B r e a d c r u
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-30 00:53:04 +03:00
* / n . d e f a u l t = y } , f u n c t i o n ( t , n ) { t . e x p o r t s = o ( 4 8 5 ) } , , , , , , , , , , , , , , , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; e . r ( n ) , e . d ( n , " A c t i o n B u t t o n " , ( f u n c t i o n ( ) { r e t u r n i . d e f a u l t } ) ) , e . d ( n , " A c t i o n C h e c k b o x " , ( f u n c t i o n ( ) { r e t u r n r . d e f a u l t } ) ) , e . d ( n , " A c t i o n I n p u t " , ( f u n c t i o n ( ) { r e t u r n a . d e f a u l t } ) ) , e . d ( n , " A c t i o n L i n k " , ( f u n c t i o n ( ) { r e t u r n s . d e f a u l t } ) ) , e . d ( n , " A c t i o n R a d i o " , ( f u n c t i o n ( ) { r e t u r n c . d e f a u l t } ) ) , e . d ( n , " A c t i o n R o u t e r " , ( f u n c t i o n ( ) { r e t u r n l . d e f a u l t } ) ) , e . d ( n , " A c t i o n s " , ( f u n c t i o n ( ) { r e t u r n u . d e f a u l t } ) ) , e . d ( n , " A c t i o n S e p a r a t o r " , ( f u n c t i o n ( ) { r e t u r n d . d e f a u l t } ) ) , e . d ( n , " A c t i o n T e x t " , ( f u n c t i o n ( ) { r e t u r n p . d e f a u l t } ) ) , e . d ( n , " A c t i o n T e x t E d i t a b l e " , ( f u n c t i o n ( ) { r e t u r n f . d e f a u l t } ) ) , e . d ( n , " A p p C o n t e n t " , ( f u n c t i o n ( ) { r e t u r n A . d e f a u l t } ) ) , e . d ( n , " A p p C o n t e n t D e t a i l s " , ( f u n c t i o n ( ) { r e t u r n h . d e f a u l t } ) ) , e . d ( n , " A p p C o n t e n t L i s t " , ( f u n c t i o n ( ) { r e t u r n m . d e f a u l t } ) ) , e . d ( n , " A p p N a v i g a t i o n " , ( f u n c t i o n ( ) { r e t u r n g . d e f a u l t } ) ) , e . d ( n , " A p p N a v i g a t i o n C a p t i o n " , ( f u n c t i o n ( ) { r e t u r n v . d e f a u l t } ) ) , e . d ( n , " A p p N a v i g a t i o n C o u n t e r " , ( f u n c t i o n ( ) { r e t u r n b . d e f a u l t } ) ) , e . d ( n , " A p p N a v i g a t i o n I c o n B u l l e t " , ( f u n c t i o n ( ) { r e t u r n C . d e f a u l t } ) ) , e . d ( n , " A p p N a v i g a t i o n I t e m " , ( f u n c t i o n ( ) { r e t u r n y . d e f a u l t } ) ) , e . d ( n , " A p p N a v i g a t i o n N e w " , ( f u n c t i o n ( ) { r e t u r n x . d e f a u l t } ) ) , e . d ( n , " A p p N a v i g a t i o n N e w I t e m " , ( f u n c t i o n ( ) { r e t u r n w . d e f a u l t } ) ) , e . d ( n , " A p p N a v i g a t i o n S e t t i n g s " , ( f u n c t i o n ( ) { r e t u r n k . d e f a u l t } ) ) , e . d ( n , " A p p N a v i g a t i o n S p a c e r " , ( f u n c t i o n ( ) { r e t u r n _ . d e f a u l t } ) ) , e . d ( n , " A p p S e t t i n g s D i a l o g " , ( f u n c t i o n ( ) { r e t u r n B . d e f a u l t } ) ) , e . d ( n , " A p p S e t t i n g s S e c t i o n " , ( f u n c t i o n ( ) { r e t u r n E . d e f a u l t } ) ) , e . d ( n , " A p p S i d e b a r " , ( f u n c t i o n ( ) { r e t u r n S . d e f a u l t } ) ) , e . d ( n , " A p p S i d e b a r T a b " , ( f u n c t i o n ( ) { r e t u r n T . d e f a u l t } ) ) , e . d ( n , " A v a t a r " , ( f u n c t i o n ( ) { r e t u r n $ . d e f a u l t } ) ) , e . d ( n , " B r e a d c r u m b " , ( f u n c t i o n ( ) { r e t u r n I . d e f a u l t } ) ) , e . d ( n , " B r e a d c r u m b s " , ( f u n c t i o n ( ) { r e t u r n O . d e f a u l t } ) ) , e . d ( n , " C o l o r P i c k e r " , ( f u n c t i o n ( ) { r e t u r n M . d e f a u l t } ) ) , e . d ( n , " C o n t e n t " , ( f u n c t i o n ( ) { r e t u r n N . d e f a u l t } ) ) , e . d ( n , " D a t e t i m e P i c k e r " , ( f u n c t i o n ( ) { r e t u r n D . d e f a u l t } ) ) , e . d ( n , " E m p t y C o n t e n t " , ( f u n c t i o n ( ) { r e t u r n P . d e f a u l t } ) ) , e . d ( n , " L i s t I t e m I c o n " , ( f u n c t i o n ( ) { r e t u r n L . d e f a u l t } ) ) , e . d ( n , " M o d a l " , ( f u n c t i o n ( ) { r e t u r n j . d e f a u l t } ) ) , e . d ( n , " M u l t i s e l e c t " , ( f u n c t i o n ( ) { r e t u r n F . d e f a u l t } ) ) , e . d ( n , " M u l t i s e l e c t T a g s " , ( f u n c t i o n ( ) { r e t u r n R . d e f a u l t } ) ) , e . d ( n , " P o p o v e r " , ( f u n c t i o n ( ) { r e t u r n U . d e f a u l t } ) ) , e . d ( n , " P o p o v e r M e n u " , ( f u n c t i o n ( ) { r e t u r n z . d e f a u l t } ) ) , e . d ( n , " R i c h C o n t e n t e d i t a b l e " , ( f u n c t i o n ( ) { r e t u r n G . d e f a u l t } ) ) , e . d ( n , " S e t t i n g s S e c t i o n " , ( f u n c t i o n ( ) { r e t u r n W . d e f a u l t } ) ) , e . d ( n , " U s e r B u b b l e " , ( f u n c t i o n ( ) { r e t u r n Y . d e f a u l t } ) ) , e . d ( n , " F o c u s " , ( f u n c t i o n ( ) { r e t u r n H . d e f a u l t } ) ) , e . d ( n , " L i n k i f y " , ( f u n c t i o n ( ) { r e t u r n V . d e f a u l t } ) ) , e . d ( n , " T o o l t i p " , ( f u n c t i o n ( ) { r e t u r n Q . d e f a u l t } ) ) , e . d ( n , " e x c l u d e C l i c k O u t s i d e C l a s s e s " , ( f u n c t i o n ( ) { r e t u r n q . a } ) ) , e . d ( n , " i s F u l l s c r e e n " , ( f u n c t i o n ( ) { r e t u r n q . b } ) ) , e . d ( n , " i s M o b i l e " , ( f u n c t i o n ( ) { r e t u r n q . c } ) ) , e . d ( n , " r i c h E d i t o r " , ( f u n c t i o n ( ) { r e t u r n q . d } ) ) , e . d ( n , " u s e r S t a t u s " , ( f u n c t i o n ( ) { r e t u r n q . e } ) ) ; v a r o = { } ; e . r ( o ) , e . d ( o , " A c t i o n B u t t o n " , ( f u n c t i o n ( ) { r e t u r n i . d e f a u l t } ) ) , e . d ( o , " A c t i o n C h e c k b o x " , ( f u n c t i o n ( ) { r e t u r n r . d e f a u l t } ) ) , e . d ( o , " A c t i o n I n p u t " , ( f u n c t i o n ( ) { r e t u r n a . d e f a u l t } ) ) , e . d ( o , " A c t i o n L i n k " , ( f u n c t i o n ( ) { r e t u r n s . d e f a u l t } ) ) , e . d ( o , " A c t i o n R a d i o " , ( f u n c t i o n ( ) { r e t u r n c . d e f a u l t } ) ) , e . d ( o , " A c t i o n R o u t e r " , ( f u n c t i o n ( ) { r e t u r n l . d e f a u l t } ) ) , e . d ( o , " A c t i o n s " , ( f u n c t i o n ( ) { r e t u r n u . d e f a u l t } ) ) , e . d ( o , " A c t i o n S e p a r a t o r " , ( f u n c t i o n ( ) { r e t u r n d . d e f a u l t } ) ) , e . d ( o , " A c t i o n T e x t " , ( f u n c t i o n ( ) { r e t u r n p . d e f a u l t } ) ) , e . d ( o , " A c t i o n T e x t E d i t a b l e " , ( f u n c t i o n ( ) { r e t u r n f . d e f a u l t } ) ) , e . d ( o , " A p p C o n t e n t " , ( f u n c t i o n ( ) { r e t u r n A . d e f a u l t } ) ) , e . d ( o , " A p p C o n t e n t D e t a i l s " , ( f u n c t i o n ( ) { r e t u r n h . d e f a u l t } ) ) , e . d ( o , " A p p C o n t e n t L i s t " , ( f u n c t i o n ( ) { r e t u r n m . d e f a u l t } ) ) , e . d ( o , " A p p N a v i g a t i o n " , ( f u n c t i o n ( ) { r e t u r n g . d e f a u l t } ) ) , e . d ( o , " A p p N a v i g a t i o n C a p t i o n " , ( f u n c t i o n ( ) { r e t u r n v . d e f a u l t } ) ) , e . d ( o , " A p p N a v i g a t i o n C o u n t e r " , ( f u n c t i o n ( ) { r e t u r n b . d e f a u l t } ) ) , e . d ( o , " A p p N a v i g a t i o n I c o n B u l l e t " , ( f u n c t i o n ( ) { r e t u r n C . d e f a u l t } ) ) , e . d ( o , " A p p N a v i g a t i o n I t e m " , ( f u n c t i o n ( ) { r e t u r n y . d e f a u l t } ) ) , e . d ( o , " A p p N a v i g a t i o n N e w " , ( f u n c t i o n ( ) { r e t u r n x . d e f a u l t } ) ) , e . d ( o , " A p p N a v i g a t i o n N e w I t e m " , ( f u n c t i o n ( ) { r e t u r n w . d e f a u l t } ) ) , e . d ( o , " A p p N a v i g a t i o n S e t t i n g s " , ( f u n c t i o n ( ) { r e t u r n k . d e f a u l t } ) ) , e . d ( o , " A p p N a v i g a t i o n S p a c e r " , ( f u n c t i o n ( ) { r e t u r n _ . d e f a u l t } ) ) , e . d ( o , " A p p S e t t i n g s D i a l o g " , ( f u n c t i o n ( ) { r e t u r n B . d e f a u l t } ) ) , e . d ( o , " A p p S e t t i n g s S e c t
2021-03-17 11:45:22 +03:00
/ * *
* @ 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/>.
*
2021-05-30 00:53:04 +03:00
* / f u n c t i o n X ( t ) { O b j e c t . v a l u e s ( o ) . f o r E a c h ( ( f u n c t i o n ( n ) { t . c o m p o n e n t ( n . n a m e , n ) } ) ) } " u n d e f i n e d " ! = t y p e o f w i n d o w & & w i n d o w . V u e & & X ( w i n d o w . V u e ) , n . d e f a u l t = f u n c t i o n ( t ) { f o r ( v a r n = 1 ; n < a r g u m e n t s . l e n g t h ; n + + ) { v a r e = n u l l ! = a r g u m e n t s [ n ] ? a r g u m e n t s [ n ] : { } ; n % 2 ? K ( O b j e c t ( e ) , ! 0 ) . f o r E a c h ( ( f u n c t i o n ( n ) { J ( t , n , e [ n ] ) } ) ) : O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r s ? O b j e c t . d e f i n e P r o p e r t i e s ( t , O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r s ( e ) ) : K ( O b j e c t ( e ) ) . f o r E a c h ( ( f u n c t i o n ( n ) { O b j e c t . d e f i n e P r o p e r t y ( t , n , O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r ( e , n ) ) } ) ) } r e t u r n t } ( { i n s t a l l : X } , o ) } ] ) } ) ) } , , f u n c t i o n ( t , n , e ) { t . e x p o r t s = f u n c t i o n ( ) { v a r t = " u n d e f i n e d " ! = t y p e o f w i n d o w , n = " u n d e f i n e d " ! = t y p e o f n a v i g a t o r , e = t & & ( " o n t o u c h s t a r t " i n w i n d o w | | n & & n a v i g a t o r . m s M a x T o u c h P o i n t s > 0 ) ? [ " t o u c h s t a r t " ] : [ " c l i c k " ] ; f u n c t i o n o ( t ) { v a r n = t . e v e n t , e = t . h a n d l e r ; ( 0 , t . m i d d l e w a r e ) ( n ) & & e ( n ) } f u n c t i o n i ( t , n ) { v a r i = f u n c t i o n ( t ) { v a r n = " f u n c t i o n " = = t y p e o f t ; i f ( ! n & & " o b j e c t " ! = t y p e o f t ) t h r o w n e w E r r o r ( " v - c l i c k - o u t s i d e : B i n d i n g v a l u e m u s t b e a f u n c t i o n o r a n o b j e c t " ) ; r e t u r n { h a n d l e r : n ? t : t . h a n d l e r , m i d d l e w a r e : t . m i d d l e w a r e | | f u n c t i o n ( t ) { r e t u r n t } , e v e n t s : t . e v e n t s | | e , i s A c t i v e : ! ( ! 1 = = = t . i s A c t i v e ) , d e t e c t I f r a m e : ! ( ! 1 = = = t . d e t e c t I f r a m e ) } } ( n . v a l u e ) , r = i . h a n d l e r , a = i . m i d d l e w a r e , s = i . d e t e c t I f r a m e ; i f ( i . i s A c t i v e ) { i f ( t [ " _ _ v - c l i c k - o u t s i d e " ] = i . e v e n t s . m a p ( ( f u n c t i o n ( n ) { r e t u r n { e v e n t : n , s r c T a r g e t : d o c u m e n t . d o c u m e n t E l e m e n t , h a n d l e r : f u n c t i o n ( n ) { r e t u r n f u n c t i o n ( t ) { v a r n = t . e l , e = t . e v e n t , i = t . h a n d l e r , r = t . m i d d l e w a r e , a = e . p a t h | | e . c o m p o s e d P a t h & & e . c o m p o s e d P a t h ( ) ; ( a ? a . i n d e x O f ( n ) < 0 : ! n . c o n t a i n s ( e . t a r g e t ) ) & & o ( { e v e n t : e , h a n d l e r : i , m i d d l e w a r e : r } ) } ( { e l : t , e v e n t : n , h a n d l e r : r , m i d d l e w a r e : a } ) } } } ) ) , s ) { v a r c = { e v e n t : " b l u r " , s r c T a r g e t : w i n d o w , h a n d l e r : f u n c t i o n ( n ) { r e t u r n f u n c t i o n ( t ) { v a r n = t . e l , e = t . e v e n t , i = t . h a n d l e r , r = t . m i d d l e w a r e ; s e t T i m e o u t ( ( f u n c t i o n ( ) { v a r t = d o c u m e n t . a c t i v e E l e m e n t ; t & & " I F R A M E " = = = t . t a g N a m e & & ! n . c o n t a i n s ( t ) & & o ( { e v e n t : e , h a n d l e r : i , m i d d l e w a r e : r } ) } ) , 0 ) } ( { e l : t , e v e n t : n , h a n d l e r : r , m i d d l e w a r e : a } ) } } ; t [ " _ _ v - c l i c k - o u t s i d e " ] = [ ] . c o n c a t ( t [ " _ _ v - c l i c k - o u t s i d e " ] , [ c ] ) } t [ " _ _ v - c l i c k - o u t s i d e " ] . f o r E a c h ( ( f u n c t i o n ( n ) { v a r e = n . e v e n t , o = n . s r c T a r g e t , i = n . h a n d l e r ; r e t u r n s e t T i m e o u t ( ( f u n c t i o n ( ) { t [ " _ _ v - c l i c k - o u t s i d e " ] & & o . a d d E v e n t L i s t e n e r ( e , i , ! 1 ) } ) , 0 ) } ) ) } } f u n c t i o n r ( t ) { ( t [ " _ _ v - c l i c k - o u t s i d e " ] | | [ ] ) . f o r E a c h ( ( f u n c t i o n ( t ) { r e t u r n t . s r c T a r g e t . r e m o v e E v e n t L i s t e n e r ( t . e v e n t , t . h a n d l e r , ! 1 ) } ) ) , d e l e t e t [ " _ _ v - c l i c k - o u t s i d e " ] } v a r a = t ? { b i n d : i , u p d a t e : f u n c t i o n ( t , n ) { v a r e = n . v a l u e , o = n . o l d V a l u e ; J S O N . s t r i n g i f y ( e ) ! = = J S O N . s t r i n g i f y ( o ) & & ( r ( t ) , i ( t , { v a l u e : e } ) ) } , u n b i n d : r } : { } ; r e t u r n { i n s t a l l : f u n c t i o n ( t ) { t . d i r e c t i v e ( " c l i c k - o u t s i d e " , a ) } , d i r e c t i v e : a } } ( ) } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; v a r o = e ( 1 ) , i = e ( 6 1 ) . m a p ; o ( { t a r g e t : " A r r a y " , p r o t o : ! 0 , f o r c e d : ! e ( 5 9 ) ( " m a p " ) } , { m a p : f u n c t i o n ( t ) { r e t u r n i ( t h i s , t , a r g u m e n t s . l e n g t h > 1 ? a r g u m e n t s [ 1 ] : v o i d 0 ) } } ) } , f u n c t i o n ( t , n , e ) { t . e x p o r t s = e ( 3 9 4 ) . d e f a u l t } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; v a r o = e ( 1 ) , i = e ( 6 9 ) , r = e ( 3 1 ) , a = e ( 1 3 ) , s = e ( 1 4 ) , c = e ( 7 0 ) , l = e ( 5 6 ) , u = e ( 5 9 ) ( " s p l i c e " ) , d = M a t h . m a x , p = M a t h . m i n ; o ( { t a r g e t : " A r r a y " , p r o t o : ! 0 , f o r c e d : ! u } , { s p l i c e : f u n c t i o n ( t , n ) { v a r e , o , u , f , A , h , m = s ( t h i s ) , g = a ( m . l e n g t h ) , v = i ( t , g ) , b = a r g u m e n t s . l e n g t h ; i f ( 0 = = = b ? e = o = 0 : 1 = = = b ? ( e = 0 , o = g - v ) : ( e = b - 2 , o = p ( d ( r ( n ) , 0 ) , g - v ) ) , g + e - o > 9 0 0 7 1 9 9 2 5 4 7 4 0 9 9 1 ) t h r o w T y p e E r r o r ( " M a x i m u m a l l o w e d l e n g t h e x c e e d e d " ) ; f o r ( u = c ( m , o ) , f = 0 ; f < o ; f + + ) ( A = v + f ) i n m & & l ( u , f , m [ A ] ) ; i f ( u . l e n g t h = o , e < o ) { f o r ( f = v ; f < g - o ; f + + ) h = f + e , ( A = f + o ) i n m ? m [ h ] = m [ A ] : d e l e t e m [ h ] ; f o r ( f = g ; f > g - o + e ; f - - ) d e l e t e m [ f - 1 ] } e l s e i f ( e > o ) f o r ( f = g - o ; f > v ; f - - ) h = f + e - 1 , ( A = f + o - 1 ) i n m ? m [ h ] = m [ A ] : d e l e t e m [ h ] ; f o r ( f = 0 ; f < e ; f + + ) m [ f + v ] = a r g u m e n t s [ f + 2 ] ; r e t u r n m . l e n g t h = g - o + e , u } } ) } , f u n c t i o n ( t , n , e ) { " u s e s t r i c t " ; v a r o = e ( 6 ) , i = e ( 0 ) , r = e ( 8 2 ) , a = e ( 1 6 ) , s = e ( 5 ) , c = e ( 2 7 ) , l = e ( 3 2 1 ) , u = e ( 3 5 ) , d = e ( 2 ) , p = e ( 6 8 ) , f = e ( 4 9 ) . f , A = e ( 2 5 ) . f , h = e ( 1 2 ) . f , m = e ( 2 1 5 ) . t r i m , g = i . N u m b e r , v = g . p r o t o t y p e , b = " N u m b e r " = = c ( p ( v ) ) , C = f u n c t i o n ( t ) { v a r n , e , o , i , r , a , s , c , l = u ( t , ! 1 ) ; i f ( " s t r i n g " = = t y p e o f l & & l . l e n g t h > 2 ) i f ( 4 3 = = = ( n = ( l = m ( l ) ) . c h a r C o d e A t ( 0 ) ) | | 4 5 = = = n ) { i f ( 8 8 = = = ( e = l . c h a r C o d e A t ( 2 ) ) | | 1 2 0 = = = e ) r e t u r n N a N } e l s e i f ( 4 8 = = = n ) { s w i t c h ( l . c h a r C o d e A t ( 1 ) ) { c a s e 6 6 : c a s e 9 8 : o = 2 , i = 4 9 ; b r e a k ; c a s e 7 9 : c a s e 1 1 1 : o = 8 , i = 5 5 ; b r e a k ; d e f a u l t : r e t u r n + l } f o r ( a = ( r = l . s l i c e ( 2 ) ) . l e n g t h , s = 0 ; s < a ; s + + ) i f ( ( c = r . c h a r C o d e A t ( s ) ) < 4 8 | | c > i ) r e t u r n N a N ; r e t u r n p a r s e I n t ( r , o ) } r e t u r n + l } ; i f ( r ( " N u m b e r " , ! g ( " 0 o 1 " ) | | ! g ( " 0 b 1 " ) | | g ( " + 0 x 1 " ) ) ) { f o r ( v a r y , x = f u n c t i o n ( t ) { v a r n = a r g u m e n t s . l e n g t h < 1 ? 0 : t , e = t h i s ; r e t u r n e i n s t a n c e o f x & & ( b ? d ( ( f u n c
2021-03-17 11:45:22 +03:00
/ * !
* escape - html
* Copyright ( c ) 2012 - 2013 TJ Holowaychuk
* Copyright ( c ) 2015 Andreas Lubbe
* Copyright ( c ) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
2021-05-30 00:53:04 +03:00
* /var o=/ [ "'&<>]/;t.exports=function(t){var n,e=" "+t,i=o.exec(e);if(!i)return e;var r=" ",a=0,s=0;for(a=i.index;a<e.length;a++){switch(e.charCodeAt(a)){case 34:n=" & quot ; ";break;case 38:n=" & amp ; ";break;case 39:n=" & # 39 ; ";break;case 60:n=" & lt ; ";break;case 62:n=" & gt ; ";break;default:continue}s!==a&&(r+=e.substring(s,a)),s=a+1,r+=n}return s!==a?r+e.substring(s,a):r}},function(t,n,e){" use strict ";var o,i=e(1),r=e(25).f,a=e(13),s=e(366),c=e(20),l=e(367),u=e(32),d=" ".startsWith,p=Math.min,f=l(" startsWith ");i({target:" String ",proto:!0,forced:!!(u||f||(o=r(String.prototype," startsWith "),!o||o.writable))&&!f},{startsWith:function(t){var n=String(c(this));s(t);var e=a(p(arguments.length>1?arguments[1]:void 0,n.length)),o=String(t);return d?d.call(n,o,e):n.slice(e,e+o.length)===o}})},function(t,n,e){" use strict ";var o=e(102),i=e(203),r=e(4),a=e(20),s=e(325),c=e(124),l=e(13),u=e(103),d=e(66),p=e(123).UNSUPPORTED_Y,f=[].push,A=Math.min;o(" split ",2,(function(t,n,e){var o;return o=" c "==" abbc ".split(/(b)*/)[1]||4!=" test ".split(/(?:)/,-1).length||2!=" ab ".split(/(?:ab)*/).length||4!=" . ".split(/(.?)(.?)/).length||" . ".split(/()()/).length>1||" ".split(/.?/).length?function(t,e){var o=String(a(this)),r=void 0===e?4294967295:e>>>0;if(0===r)return[];if(void 0===t)return[o];if(!i(t))return n.call(o,t,r);for(var s,c,l,u=[],p=(t.ignoreCase?" i ":" ")+(t.multiline?" m ":" ")+(t.unicode?" u ":" ")+(t.sticky?" y ":" "),A=0,h=new RegExp(t.source,p+" g ");(s=d.call(h,o))&&!((c=h.lastIndex)>A&&(u.push(o.slice(A,s.index)),s.length>1&&s.index<o.length&&f.apply(u,s.slice(1)),l=s[0].length,A=c,u.length>=r));)h.lastIndex===s.index&&h.lastIndex++;return A===o.length?!l&&h.test(" ")||u.push(" "):u.push(o.slice(A)),u.length>r?u.slice(0,r):u}:" 0 ".split(void 0,0).length?function(t,e){return void 0===t&&0===e?[]:n.call(this,t,e)}:n,[function(n,e){var i=a(this),r=null==n?void 0:n[t];return void 0!==r?r.call(n,i,e):o.call(String(i),n,e)},function(t,i){var a=e(o,t,this,i,o!==n);if(a.done)return a.value;var d=r(t),f=String(this),h=s(d,RegExp),m=d.unicode,g=(d.ignoreCase?" i ":" ")+(d.multiline?" m ":" ")+(d.unicode?" u ":" ")+(p?" g ":" y "),v=new h(p?" ^ ( ? : "+d.source+" ) ":d,g),b=void 0===i?4294967295:i>>>0;if(0===b)return[];if(0===f.length)return null===u(v,f)?[f]:[];for(var C=0,y=0,x=[];y<f.length;){v.lastIndex=p?0:y;var w,k=u(v,p?f.slice(y):f);if(null===k||(w=A(l(v.lastIndex+(p?y:0)),f.length))===C)y=c(f,y,m);else{if(x.push(f.slice(C,y)),x.length===b)return x;for(var _=1;_<=k.length-1;_++)if(x.push(k[_]),x.length===b)return x;y=C=w}}return x.push(f.slice(C)),x}]}),p)},function(t,n,e){" use strict ";Object.defineProperty(n," _ _esModule ",{value:!0}),n.getCapabilities=function(){try{return(0,o.loadState)(" core "," capabilities ")}catch(t){return console.debug(" Could not find capabilities initial state fall back to _oc _capabilities ")," _oc _capabilities "in window?window._oc_capabilities:{}}};var o=e(98)},function(t,n,e){var o=e(6),i=e(0),r=e(82),a=e(321),s=e(12).f,c=e(49).f,l=e(203),u=e(106),d=e(123),p=e(16),f=e(2),A=e(26).enforce,h=e(324),m=e(3)(" match "),g=i.RegExp,v=g.prototype,b=/a/g,C=/a/g,y=new g(b)!==b,x=d.UNSUPPORTED_Y;if(o&&r(" RegExp ",!y||x||f((function(){return C[m]=!1,g(b)!=b||g(C)==C||" / a / i "!=g(b," i ")})))){for(var w=function(t,n){var e,o=this instanceof w,i=l(t),r=void 0===n;if(!o&&i&&t.constructor===w&&r)return t;y?i&&!r&&(t=t.source):t instanceof w&&(r&&(n=u.call(t)),t=t.source),x&&(e=!!n&&n.indexOf(" y ")>-1)&&(n=n.replace(/y/g," "));var s=a(y?new g(t,n):g(t,n),o?this:v,w);x&&e&&(A(s).sticky=!0);return s},k=function(t){t in w||s(w,t,{configurable:!0,get:function(){return g[t]},set:function(n){g[t]=n}})},_=c(g),B=0;_.length>B;)k(_[B++]);v.constructor=w,w.prototype=v,p(i," RegExp ",w)}h(" RegExp ")},function(t,n,e){" use strict ";var o=e(1),i=e(435),r=e(14),a=e(13),s=e(31),c=e(70);o({target:" Array ",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,n=r(this),e=a(n.length),o=c(n,0);return o.length=i(o,n,n,e,0,void 0===t?1:s(t)),o}})},function(t,n,e){" use strict ";var o=e(1),i=e(436).left,r=e(84),a=e(39),s=e(163);o({target:" Array ",proto:!0,forced:!r(" reduce " ) || ! s && a > 79 && a < 83 } , { reduce : functi
2021-03-17 11:45:22 +03:00
/ * !
* Determine if an object is a Buffer
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
* /
2021-05-30 00:53:04 +03:00
t . exports = function ( t ) { return null != t && ( e ( t ) || function ( t ) { return "function" == typeof t . readFloatLE && "function" == typeof t . slice && e ( t . slice ( 0 , 0 ) ) } ( t ) || ! ! t . _isBuffer ) } } , function ( t , n , e ) { "use strict" ; var o = { } . propertyIsEnumerable , i = Object . getOwnPropertyDescriptor , r = i && ! o . call ( { 1 : 2 } , 1 ) ; n . f = r ? function ( t ) { var n = i ( this , t ) ; return ! ! n && n . enumerable } : o } , function ( t , n , e ) { var o = e ( 34 ) , i = e ( 80 ) , r = o . document , a = i ( r ) && i ( r . createElement ) ; t . exports = function ( t ) { return a ? r . createElement ( t ) : { } } } , function ( t , n , e ) { var o = e ( 34 ) , i = e ( 165 ) , r = e ( 100 ) , a = e ( 211 ) , s = e ( 334 ) , c = e ( 413 ) , l = c . get , u = c . enforce , d = String ( String ) . split ( "String" ) ; ( t . exports = function ( t , n , e , s ) { var c = ! ! s && ! ! s . unsafe , l = ! ! s && ! ! s . enumerable , p = ! ! s && ! ! s . noTargetGet ; "function" == typeof e && ( "string" != typeof n || r ( e , "name" ) || i ( e , "name" , n ) , u ( e ) . source = d . join ( "string" == typeof n ? n : "" ) ) , t !== o ? ( c ? ! p && t [ n ] && ( l = ! 0 ) : delete t [ n ] , l ? t [ n ] = e : i ( t , n , e ) ) : l ? t [ n ] = e : a ( n , e ) } ) ( Function . prototype , "toString" , ( function ( ) { return "function" == typeof this && l ( this ) . source || s ( this ) } ) ) } , function ( t , n , e ) { var o , i , r , a = e ( 414 ) , s = e ( 34 ) , c = e ( 80 ) , l = e ( 165 ) , u = e ( 100 ) , d = e ( 415 ) , p = e ( 339 ) , f = s . WeakMap ; if ( a ) { var A = new f , h = A . get , m = A . has , g = A . set ; o = function ( t , n ) { return g . call ( A , t , n ) , n } , i = function ( t ) { return h . call ( A , t ) || { } } , r = function ( t ) { return m . call ( A , t ) } } else { var v = d ( "state" ) ; p [ v ] = ! 0 , o = function ( t , n ) { return l ( t , v , n ) , n } , i = function ( t ) { return u ( t , v ) ? t [ v ] : { } } , r = function ( t ) { return u ( t , v ) } } t . exports = { set : o , get : i , has : r , enforce : function ( t ) { return r ( t ) ? i ( t ) : o ( t , { } ) } , getterFor : function ( t ) { return function ( n ) { var e ; if ( ! c ( n ) || ( e = i ( n ) ) . type !== t ) throw TypeError ( "Incompatible receiver, " + t + " required" ) ; return e } } } } , function ( t , n , e ) { var o = e ( 34 ) , i = e ( 334 ) , r = o . WeakMap ; t . exports = "function" == typeof r && /native code/ . test ( i ( r ) ) } , function ( t , n , e ) { var o = e ( 336 ) , i = e ( 338 ) , r = o ( "keys" ) ; t . exports = function ( t ) { return r [ t ] || ( r [ t ] = i ( t ) ) } } , function ( t , n , e ) { var o = e ( 100 ) , i = e ( 417 ) , r = e ( 204 ) , a = e ( 210 ) ; t . exports = function ( t , n ) { for ( var e = i ( n ) , s = a . f , c = r . f , l = 0 ; l < e . length ; l ++ ) { var u = e [ l ] ; o ( t , u ) || s ( t , u , c ( n , u ) ) } } } , function ( t , n , e ) { var o = e ( 340 ) , i = e ( 419 ) , r = e ( 422 ) , a = e ( 333 ) ; t . exports = o ( "Reflect" , "ownKeys" ) || function ( t ) { var n = i . f ( a ( t ) ) , e = r . f ; return e ? n . concat ( e ( t ) ) : n } } , function ( t , n , e ) { var o = e ( 34 ) ; t . exports = o } , function ( t , n , e ) { var o = e ( 341 ) , i = e ( 343 ) . concat ( "length" , "prototype" ) ; n . f = Object . getOwnPropertyNames || function ( t ) { return o ( t , i ) } } , function ( t , n , e ) { var o = e ( 206 ) , i = e ( 166 ) , r = e ( 421 ) , a = function ( t ) { return function ( n , e , a ) { var s , c = o ( n ) , l = i ( c . length ) , u = r ( a , l ) ; if ( t && e != e ) { for ( ; l > u ; ) if ( ( s = c [ u ++ ] ) != s ) return ! 0 } else for ( ; l > u ; u ++ ) if ( ( t || u in c ) && c [ u ] === e ) return t || u || 0 ; return ! t && - 1 } } ; t . exports = { includes : a ( ! 0 ) , indexOf : a ( ! 1 ) } } , function ( t , n , e ) { var o = e ( 342 ) , i = Math . max , r = Math . min ; t . exports = function ( t , n ) { var e = o ( t ) ; return e < 0 ? i ( e + n , 0 ) : r ( e , n ) } } , function ( t , n ) { n . f = Object . getOwnPropertySymbols } , function ( t , n , e ) { var o = e ( 38 ) , i = /#|\.prototype\./ , r = function ( t , n ) { var e = s [ a ( t ) ] ; return e == l || e != c && ( "function" == typeof n ? o ( n ) : ! ! n ) } , a = r . normalize = function ( t ) { return String ( t ) . replace ( i , "." ) . toLowerCase ( ) } , s = r . data = { } , c = r . NATIVE = "N" , l = r . POLYFILL = "P" ; t . exports = r } , function ( t , n , e ) { var o = e ( 425 ) ; t . exports = function ( t , n , e ) { if ( o ( t ) , void 0 === n ) return t ; switch ( e ) { case 0 : return function ( ) { return t . call ( n ) } ; case 1 : return function ( e ) { return t . call ( n , e ) } ; case 2 : return function ( e , o ) { return t . call ( n , e , o ) } ; case 3 : return function ( e , o , i ) { return t . call ( n , e , o , i ) } } return function ( ) { return t . apply ( n , arguments ) } } } , function ( t , n ) { t . exports = function ( t ) { if ( "function" != typeof t ) throw TypeError ( String ( t ) + " is not a function" ) ; return t } } , function ( t , n , e ) { var o = e ( 347 ) ; t . exports = o && ! Symbol . sham && "symbol" == typeof Symbol . iterator } , function ( t , n , e ) { var o = e ( 340 ) ; t . exports = o ( "navigator" , "userAgent" ) || "" } , function ( t , n , e ) { var o = e ( 341 ) , i = e ( 343 ) ; t . exports = Object . keys || function ( t ) { return o ( t , i ) } } , function ( t , n , e ) { var o = e ( 430 ) ; t . exports = function ( t ) { if ( o ( t ) ) throw TypeError ( "The method doesn't accept regular expressions" ) ; return t } } , function ( t , n , e ) { var o = e ( 80 ) , i = e ( 207 ) , r = e ( 122 ) ( "match" ) ; t . exports = function ( t ) { var n ; return o ( t ) && ( void 0 !== ( n = t [ r ] ) ? ! ! n : "RegExp" == i ( t ) ) } } , function ( t , n , e ) { var o = e ( 122 ) ( "match" ) ; t . exports = function ( t ) { var n = /./ ; try { "/./" [ t ] ( n ) } catch ( e ) { try { return n [ o ] = ! 1 , "/./" [ t ] ( n ) } catch ( t ) { }
2021-03-17 11:45:22 +03:00
/ * !
* vue - qrcode v1 . 0.2
* https : //fengyuanchen.github.io/vue-qrcode
*
* Copyright 2018 - present Chen Fengyuan
* Released under the MIT license
*
* Date : 2020 - 01 - 18 T06 : 04 : 33.222 Z
* /
2021-05-29 13:14:51 +03:00
t . exports = function ( ) { "use strict" ; function t ( ) { throw new Error ( "Dynamic requires are not currently supported by rollup-plugin-commonjs" ) } var n = function ( t , n ) { return t ( n = { exports : { } } , n . exports ) , n . exports } ( ( function ( n , e ) { n . exports = function n ( e , o , i ) { function r ( s , c ) { if ( ! o [ s ] ) { if ( ! e [ s ] ) { if ( ! c && t ) return t ( ) ; if ( a ) return a ( s , ! 0 ) ; var l = new Error ( "Cannot find module '" + s + "'" ) ; throw l . code = "MODULE_NOT_FOUND" , l } var u = o [ s ] = { exports : { } } ; e [ s ] [ 0 ] . call ( u . exports , ( function ( t ) { return r ( e [ s ] [ 1 ] [ t ] || t ) } ) , u , u . exports , n , e , o , i ) } return o [ s ] . exports } for ( var a = t , s = 0 ; s < i . length ; s ++ ) r ( i [ s ] ) ; return r } ( { 1 : [ function ( t , n , e ) { n . exports = function ( ) { return "function" == typeof Promise && Promise . prototype && Promise . prototype . then } } , { } ] , 2 : [ function ( t , n , e ) { var o = t ( "./utils" ) . getSymbolSize ; e . getRowColCoords = function ( t ) { if ( 1 === t ) return [ ] ; for ( var n = Math . floor ( t / 7 ) + 2 , e = o ( t ) , i = 145 === e ? 26 : 2 * Math . ceil ( ( e - 13 ) / ( 2 * n - 2 ) ) , r = [ e - 7 ] , a = 1 ; a < n - 1 ; a ++ ) r [ a ] = r [ a - 1 ] - i ; return r . push ( 6 ) , r . reverse ( ) } , e . getPositions = function ( t ) { for ( var n = [ ] , o = e . getRowColCoords ( t ) , i = o . length , r = 0 ; r < i ; r ++ ) for ( var a = 0 ; a < i ; a ++ ) 0 === r && 0 === a || 0 === r && a === i - 1 || r === i - 1 && 0 === a || n . push ( [ o [ r ] , o [ a ] ] ) ; return n } } , { "./utils" : 21 } ] , 3 : [ function ( t , n , e ) { var o = t ( "./mode" ) , i = [ "0" , "1" , "2" , "3" , "4" , "5" , "6" , "7" , "8" , "9" , "A" , "B" , "C" , "D" , "E" , "F" , "G" , "H" , "I" , "J" , "K" , "L" , "M" , "N" , "O" , "P" , "Q" , "R" , "S" , "T" , "U" , "V" , "W" , "X" , "Y" , "Z" , " " , "$" , "%" , "*" , "+" , "-" , "." , "/" , ":" ] ; function r ( t ) { this . mode = o . ALPHANUMERIC , this . data = t } r . getBitsLength = function ( t ) { return 11 * Math . floor ( t / 2 ) + t % 2 * 6 } , r . prototype . getLength = function ( ) { return this . data . length } , r . prototype . getBitsLength = function ( ) { return r . getBitsLength ( this . data . length ) } , r . prototype . write = function ( t ) { var n ; for ( n = 0 ; n + 2 <= this . data . length ; n += 2 ) { var e = 45 * i . indexOf ( this . data [ n ] ) ; e += i . indexOf ( this . data [ n + 1 ] ) , t . put ( e , 11 ) } this . data . length % 2 && t . put ( i . indexOf ( this . data [ n ] ) , 6 ) } , n . exports = r } , { "./mode" : 14 } ] , 4 : [ function ( t , n , e ) { function o ( ) { this . buffer = [ ] , this . length = 0 } o . prototype = { get : function ( t ) { var n = Math . floor ( t / 8 ) ; return 1 == ( this . buffer [ n ] >>> 7 - t % 8 & 1 ) } , put : function ( t , n ) { for ( var e = 0 ; e < n ; e ++ ) this . putBit ( 1 == ( t >>> n - e - 1 & 1 ) ) } , getLengthInBits : function ( ) { return this . length } , putBit : function ( t ) { var n = Math . floor ( this . length / 8 ) ; this . buffer . length <= n && this . buffer . push ( 0 ) , t && ( this . buffer [ n ] |= 128 >>> this . length % 8 ) , this . length ++ } } , n . exports = o } , { } ] , 5 : [ function ( t , n , e ) { var o = t ( "../utils/buffer" ) ; function i ( t ) { if ( ! t || t < 1 ) throw new Error ( "BitMatrix size must be defined and greater than 0" ) ; this . size = t , this . data = o . alloc ( t * t ) , this . reservedBit = o . alloc ( t * t ) } i . prototype . set = function ( t , n , e , o ) { var i = t * this . size + n ; this . data [ i ] = e , o && ( this . reservedBit [ i ] = ! 0 ) } , i . prototype . get = function ( t , n ) { return this . data [ t * this . size + n ] } , i . prototype . xor = function ( t , n , e ) { this . data [ t * this . size + n ] ^= e } , i . prototype . isReserved = function ( t , n ) { return this . reservedBit [ t * this . size + n ] } , n . exports = i } , { "../utils/buffer" : 28 } ] , 6 : [ function ( t , n , e ) { var o = t ( "../utils/buffer" ) , i = t ( "./mode" ) ; function r ( t ) { this . mode = i . BYTE , this . data = o . from ( t ) } r . getBitsLength = function ( t ) { return 8 * t } , r . prototype . getLength = function ( ) { return this . data . length } , r . prototype . getBitsLength = function ( ) { return r . getBitsLength ( this . data . length ) } , r . prototype . write = function ( t ) { for ( var n = 0 , e = this . data . length ; n < e ; n ++ ) t . put ( this . data [ n ] , 8 ) } , n . exports = r } , { "../utils/buffer" : 28 , "./mode" : 14 } ] , 7 : [ function ( t , n , e ) { var o = t ( "./error-correction-level" ) , i = [ 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 2 , 2 , 1 , 2 , 2 , 4 , 1 , 2 , 4 , 4 , 2 , 4 , 4 , 4 , 2 , 4 , 6 , 5 , 2 , 4 , 6 , 6 , 2 , 5 , 8 , 8 , 4 , 5 , 8 , 8 , 4 , 5 , 8 , 11 , 4 , 8 , 10 , 11 , 4 , 9 , 12 , 16 , 4 , 9 , 16 , 16 , 6 , 10 , 12 , 18 , 6 , 10 , 17 , 16 , 6 , 11 , 16 , 19 , 6 , 13 , 18 , 21 , 7 , 14 , 21 , 25 , 8 , 16 , 20 , 25 , 8 , 17 , 23 , 25 , 9 , 17 , 23 , 34 , 9 , 18 , 25 , 30 , 10 , 20 , 27 , 32 , 12 , 21 , 29 , 35 , 12 , 23 , 34 , 37 , 12 , 25 , 34 , 40 , 13 , 26 , 35 , 42 , 14 , 28 , 38 , 45 , 15 , 29 , 40 , 48 , 16 , 31 , 43 , 51 , 17 , 33 , 45 , 54 , 18 , 35 , 48 , 57 , 19 , 37 , 51 , 60 , 19 , 38 , 53 , 63 , 20 , 40 , 56 , 66 , 21 , 43 , 59 , 70 , 22 , 45 , 62 , 74 , 24 , 47 , 65 , 77 , 25 , 49 , 68 , 81 ] , r = [ 7 , 10 , 13 , 17 , 10 , 16 , 22 , 28 , 15 , 26 , 36 , 44 , 20 , 36 , 52 , 64 , 26 , 48 , 72 , 88 , 36 , 64 , 96 , 112 , 40 , 72 , 108 , 130 , 48 , 88 , 132 , 156 , 60 , 110 , 160 , 192 , 72 , 130 , 192 , 224 , 80 , 150 , 224 , 264 , 96 , 176 , 260 , 308 , 104 , 198 , 288 , 352 , 120 , 216 , 320 , 384 , 132 , 240 , 360 , 432 , 144 , 280 , 408 , 480 , 168 , 308 , 448 , 532 , 180 , 338 , 504 , 588 , 196 , 364 , 546 , 650 , 224 , 416 , 600 , 700 , 224 , 442 , 644 , 750 , 252 , 476 , 690 , 816 , 270 , 504 , 750 , 900 , 300 , 560 , 810 , 960 , 312 , 588 , 870 , 105
2021-03-17 11:45:22 +03:00
/ * ! H a m m e r . J S - v 2 . 0 . 7 - 2 0 1 6 - 0 4 - 2 2
* http : //hammerjs.github.io/
*
* Copyright ( c ) 2016 Jorik Tangelder ;
2021-05-30 00:53:04 +03:00
* Licensed under the MIT license * /!function(i,r,a,s){"use strict";var c,l=["","webkit","Moz","MS","ms","o"],u=r.createElement("div"),d=Math.round,p=Math.abs,f=Date.now;function A(t,n,e){return setTimeout(y(t,e),n)}function h(t,n,e){return!!Array.isArray(t)&&(m(t,e[n],e),!0)}function m(t,n,e){var o;if(t)if(t.forEach)t.forEach(n,e);else if(void 0!==t.length)for(o=0;o<t.length;)n.call(e,t[o],o,t),o++;else for(o in t)t.hasOwnProperty(o)&&n.call(e,t[o],o,t)}function g(t,n,e){var o="DEPRECATED METHOD: "+n+"\n"+e+" AT \n";return function(){var n=new Error("get-stack-trace"),e=n&&n.stack?n.stack.replace(/ ^ [ ^ \ ( ] + ? [ \ n$ ] / gm , "" ) . replace ( /^\s+at\s+/gm , "" ) . replace ( /^Object.<anonymous>\s*\(/gm , "{anonymous}()@" ) : "Unknown Stack Trace" , r = i . console && ( i . console . warn || i . console . log ) ; return r && r . call ( i . console , o , e ) , t . apply ( this , arguments ) } } c = "function" != typeof Object . assign ? function ( t ) { if ( null == t ) throw new TypeError ( "Cannot convert undefined or null to object" ) ; for ( var n = Object ( t ) , e = 1 ; e < arguments . length ; e ++ ) { var o = arguments [ e ] ; if ( null != o ) for ( var i in o ) o . hasOwnProperty ( i ) && ( n [ i ] = o [ i ] ) } return n } : Object . assign ; var v = g ( ( function ( t , n , e ) { for ( var o = Object . keys ( n ) , i = 0 ; i < o . length ; ) ( ! e || e && void 0 === t [ o [ i ] ] ) && ( t [ o [ i ] ] = n [ o [ i ] ] ) , i ++ ; return t } ) , "extend" , "Use `assign`." ) , b = g ( ( function ( t , n ) { return v ( t , n , ! 0 ) } ) , "merge" , "Use `assign`." ) ; function C ( t , n , e ) { var o , i = n . prototype ; ( o = t . prototype = Object . create ( i ) ) . constructor = t , o . _super = i , e && c ( o , e ) } function y ( t , n ) { return function ( ) { return t . apply ( n , arguments ) } } function x ( t , n ) { return "function" == typeof t ? t . apply ( n && n [ 0 ] || void 0 , n ) : t } function w ( t , n ) { return void 0 === t ? n : t } function k ( t , n , e ) { m ( S ( n ) , ( function ( n ) { t . addEventListener ( n , e , ! 1 ) } ) ) } function _ ( t , n , e ) { m ( S ( n ) , ( function ( n ) { t . removeEventListener ( n , e , ! 1 ) } ) ) } function B ( t , n ) { for ( ; t ; ) { if ( t == n ) return ! 0 ; t = t . parentNode } return ! 1 } function E ( t , n ) { return t . indexOf ( n ) > - 1 } function S ( t ) { return t . trim ( ) . split ( /\s+/g ) } function T ( t , n , e ) { if ( t . indexOf && ! e ) return t . indexOf ( n ) ; for ( var o = 0 ; o < t . length ; ) { if ( e && t [ o ] [ e ] == n || ! e && t [ o ] === n ) return o ; o ++ } return - 1 } function $ ( t ) { return Array . prototype . slice . call ( t , 0 ) } function I ( t , n , e ) { for ( var o = [ ] , i = [ ] , r = 0 ; r < t . length ; ) { var a = n ? t [ r ] [ n ] : t [ r ] ; T ( i , a ) < 0 && o . push ( t [ r ] ) , i [ r ] = a , r ++ } return e && ( o = n ? o . sort ( ( function ( t , e ) { return t [ n ] > e [ n ] } ) ) : o . sort ( ) ) , o } function O ( t , n ) { for ( var e , o , i = n [ 0 ] . toUpperCase ( ) + n . slice ( 1 ) , r = 0 ; r < l . length ; ) { if ( ( o = ( e = l [ r ] ) ? e + i : n ) in t ) return o ; r ++ } } var M = 1 ; function N ( t ) { var n = t . ownerDocument || t ; return n . defaultView || n . parentWindow || i } var D = "ontouchstart" in i , P = void 0 !== O ( i , "PointerEvent" ) , L = D && /mobile|tablet|ip(ad|hone|od)|android/i . test ( navigator . userAgent ) , j = [ "x" , "y" ] , F = [ "clientX" , "clientY" ] ; function R ( t , n ) { var e = this ; this . manager = t , this . callback = n , this . element = t . element , this . target = t . options . inputTarget , this . domHandler = function ( n ) { x ( t . options . enable , [ t ] ) && e . handler ( n ) } , this . init ( ) } function U ( t , n , e ) { var o = e . pointers . length , i = e . changedPointers . length , r = 1 & n && o - i == 0 , a = 12 & n && o - i == 0 ; e . isFirst = ! ! r , e . isFinal = ! ! a , r && ( t . session = { } ) , e . eventType = n , function ( t , n ) { var e = t . session , o = n . pointers , i = o . length ; e . firstInput || ( e . firstInput = z ( n ) ) ; i > 1 && ! e . firstMultiple ? e . firstMultiple = z ( n ) : 1 === i && ( e . firstMultiple = ! 1 ) ; var r = e . firstInput , a = e . firstMultiple , s = a ? a . center : r . center , c = n . center = G ( o ) ; n . timeStamp = f ( ) , n . deltaTime = n . timeStamp - r . timeStamp , n . angle = V ( s , c ) , n . distance = H ( s , c ) , function ( t , n ) { var e = n . center , o = t . offsetDelta || { } , i = t . prevDelta || { } , r = t . prevInput || { } ; 1 !== n . eventType && 4 !== r . eventType || ( i = t . prevDelta = { x : r . deltaX || 0 , y : r . deltaY || 0 } , o = t . offsetDelta = { x : e . x , y : e . y } ) ; n . deltaX = i . x + ( e . x - o . x ) , n . deltaY = i . y + ( e . y - o . y ) } ( e , n ) , n . offsetDirection = Y ( n . deltaX , n . deltaY ) ; var l = W ( n . deltaTime , n . deltaX , n . deltaY ) ; n . overallVelocityX = l . x , n . overallVelocityY = l . y , n . overallVelocity = p ( l . x ) > p ( l . y ) ? l . x : l . y , n . scale = a ? ( u = a . pointers , d = o , H ( d [ 0 ] , d [ 1 ] , F ) / H ( u [ 0 ] , u [ 1 ] , F ) ) : 1 , n . rotation = a ? function ( t , n ) { return V ( n [ 1 ] , n [ 0 ] , F ) + V ( t [ 1 ] , t [ 0 ] , F ) } ( a . pointers , o ) : 0 , n . maxPointers = e . prevInput ? n . pointers . length > e . prevInput . maxPointers ? n . pointers . length : e . prevInput . maxPointers : n . pointers . length , function ( t , n ) { var e , o , i , r , a = t . lastInterval || n , s = n . timeStamp - a . timeStamp ; if ( 8 != n . eventType && ( s > 25 || void 0 === a . velocity ) ) { var c
2021-03-17 11:45:22 +03:00
/ * !
2021-03-20 15:23:04 +03:00
* clipboard . js v2 . 0.8
2021-03-17 11:45:22 +03:00
* https : //clipboardjs.com/
2021-03-20 15:23:04 +03:00
*
2021-03-17 11:45:22 +03:00
* Licensed MIT © Zeno Rocha
* /
2021-05-30 00:53:04 +03:00
t . exports = function ( ) { return n = { 134 : function ( t , n , e ) { "use strict" ; e . d ( n , { default : function ( ) { return A } } ) , n = e ( 279 ) ; var o = e . n ( n ) , i = ( n = e ( 370 ) , e . n ( n ) ) , r = ( n = e ( 817 ) , e . n ( n ) ) ; function a ( t ) { return ( a = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( t ) { return typeof t } : function ( t ) { return t && "function" == typeof Symbol && t . constructor === Symbol && t !== Symbol . prototype ? "symbol" : typeof t } ) ( t ) } function s ( t , n ) { for ( var e = 0 ; e < n . length ; e ++ ) { var o = n [ e ] ; o . enumerable = o . enumerable || ! 1 , o . configurable = ! 0 , "value" in o && ( o . writable = ! 0 ) , Object . defineProperty ( t , o . key , o ) } } var c = function ( ) { function t ( n ) { ! function ( n ) { if ( ! ( n instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this ) , this . resolveOptions ( n ) , this . initSelection ( ) } var n , e ; return n = t , ( e = [ { key : "resolveOptions" , value : function ( ) { var t = 0 < arguments . length && void 0 !== arguments [ 0 ] ? arguments [ 0 ] : { } ; this . action = t . action , this . container = t . container , this . emitter = t . emitter , this . target = t . target , this . text = t . text , this . trigger = t . trigger , this . selectedText = "" } } , { key : "initSelection" , value : function ( ) { this . text ? this . selectFake ( ) : this . target && this . selectTarget ( ) } } , { key : "createFakeElement" , value : function ( ) { var t = "rtl" === document . documentElement . getAttribute ( "dir" ) ; return this . fakeElem = document . createElement ( "textarea" ) , this . fakeElem . style . fontSize = "12pt" , this . fakeElem . style . border = "0" , this . fakeElem . style . padding = "0" , this . fakeElem . style . margin = "0" , this . fakeElem . style . position = "absolute" , this . fakeElem . style [ t ? "right" : "left" ] = "-9999px" , t = window . pageYOffset || document . documentElement . scrollTop , this . fakeElem . style . top = "" . concat ( t , "px" ) , this . fakeElem . setAttribute ( "readonly" , "" ) , this . fakeElem . value = this . text , this . fakeElem } } , { key : "selectFake" , value : function ( ) { var t = this , n = this . createFakeElement ( ) ; this . fakeHandlerCallback = function ( ) { return t . removeFake ( ) } , this . fakeHandler = this . container . addEventListener ( "click" , this . fakeHandlerCallback ) || ! 0 , this . container . appendChild ( n ) , this . selectedText = r ( ) ( n ) , this . copyText ( ) , this . removeFake ( ) } } , { key : "removeFake" , value : function ( ) { this . fakeHandler && ( this . container . removeEventListener ( "click" , this . fakeHandlerCallback ) , this . fakeHandler = null , this . fakeHandlerCallback = null ) , this . fakeElem && ( this . container . removeChild ( this . fakeElem ) , this . fakeElem = null ) } } , { key : "selectTarget" , value : function ( ) { this . selectedText = r ( ) ( this . target ) , this . copyText ( ) } } , { key : "copyText" , value : function ( ) { var t ; try { t = document . execCommand ( this . action ) } catch ( n ) { t = ! 1 } this . handleResult ( t ) } } , { key : "handleResult" , value : function ( t ) { this . emitter . emit ( t ? "success" : "error" , { action : this . action , text : this . selectedText , trigger : this . trigger , clearSelection : this . clearSelection . bind ( this ) } ) } } , { key : "clearSelection" , value : function ( ) { this . trigger && this . trigger . focus ( ) , document . activeElement . blur ( ) , window . getSelection ( ) . removeAllRanges ( ) } } , { key : "destroy" , value : function ( ) { this . removeFake ( ) } } , { key : "action" , set : function ( ) { var t = 0 < arguments . length && void 0 !== arguments [ 0 ] ? arguments [ 0 ] : "copy" ; if ( this . _action = t , "copy" !== this . _action && "cut" !== this . _action ) throw new Error ( 'Invalid "action" value, use either "copy" or "cut"' ) } , get : function ( ) { return this . _action } } , { key : "target" , set : function ( t ) { if ( void 0 !== t ) { if ( ! t || "object" !== a ( t ) || 1 !== t . nodeType ) throw new Error ( 'Invalid "target" value, use a valid Element' ) ; if ( "copy" === this . action && t . hasAttribute ( "disabled" ) ) throw new Error ( 'Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute' ) ; if ( "cut" === this . action && ( t . hasAttribute ( "readonly" ) || t . hasAttribute ( "disabled" ) ) ) throw new Error ( 'Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes' ) ; this . _target = t } } , get : function ( ) { return this . _target } } ] ) && s ( n . prototype , e ) , t } ( ) ; function l ( t ) { return ( l = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( t ) { return typeof t } : function ( t ) { return t && "function" == typeof Symbol && t . constructor === Symbol && t !== Symbol . prototype ? "symbol" : typeof t } ) ( t ) } function u ( t , n ) { for ( var e = 0 ; e < n . length ; e ++ ) { var o = n [ e ] ; o . enumerable = o . enumerable || ! 1 , o . configurable = ! 0 , "value" in o && ( o . writable = ! 0 ) , Object . defineProperty ( t , o . key , o ) } } function d ( t , n )
2021-03-31 13:34:13 +03:00
/ * *
2021-03-17 11:45:22 +03:00
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
2021-03-31 13:34:13 +03:00
* @ author Christoph Wurst < christoph @ winzerhof - wurst . at >
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2021-03-17 11:45:22 +03:00
*
* @ 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
2021-03-31 13:34:13 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2021-03-17 11:45:22 +03:00
* /
2021-05-29 13:14:51 +03:00
o . nc = btoa ( OC . requestToken ) , r . default . use ( s . a ) , r . default . use ( c . default , { defaultHtml : ! 1 } ) , r . default . prototype . t = t ; new ( r . default . extend ( L ) ) ( { propsData : { tokens : Object ( i . loadState ) ( "settings" , "app_tokens" ) , canCreateToken : Object ( i . loadState ) ( "settings" , "can_create_app_token" ) } } ) . $mount ( "#security-authtokens" ) } ] ) ;
2021-05-30 00:53:04 +03:00
//# sourceMappingURL=vue-settings-personal-security.js.map?v=ffc4d8c80159ee0baf66