2020-04-10 13:01:29 +03:00
! function ( t ) { var e = { } ; function n ( r ) { if ( e [ r ] ) return e [ r ] . exports ; var o = e [ r ] = { i : r , l : ! 1 , exports : { } } ; return t [ r ] . call ( o . exports , o , o . exports , n ) , o . l = ! 0 , o . exports } n . m = t , n . c = e , n . d = function ( t , e , r ) { n . o ( t , e ) || Object . defineProperty ( t , e , { enumerable : ! 0 , get : r } ) } , n . r = function ( t ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( t , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( t , "__esModule" , { value : ! 0 } ) } , n . t = function ( t , e ) { if ( 1 & e && ( t = n ( t ) ) , 8 & e ) return t ; if ( 4 & e && "object" == typeof t && t && t . _ _esModule ) return t ; var r = Object . create ( null ) ; if ( n . r ( r ) , Object . defineProperty ( r , "default" , { enumerable : ! 0 , value : t } ) , 2 & e && "string" != typeof t ) for ( var o in t ) n . d ( r , o , function ( e ) { return t [ e ] } . bind ( null , o ) ) ; return r } , n . n = function ( t ) { var e = t && t . _ _esModule ? function ( ) { return t . default } : function ( ) { return t } ; return n . d ( e , "a" , e ) , e } , n . o = function ( t , e ) { return Object . prototype . hasOwnProperty . call ( t , e ) } , n . p = "/js/" , n ( n . s = 647 ) } ( [ function ( t , e , n ) { var r = n ( 2 ) , o = n ( 85 ) , i = n ( 4 ) , a = n ( 54 ) , s = n ( 86 ) , c = n ( 156 ) , l = o ( "wks" ) , u = r . Symbol , p = c ? u : u && u . withoutSetter || a ; t . exports = function ( t ) { return i ( l , t ) || ( s && i ( u , t ) ? l [ t ] = u [ t ] : l [ t ] = p ( "Symbol." + t ) ) , l [ t ] } } , function ( t , e ) { t . exports = function ( t ) { try { return ! ! t ( ) } catch ( t ) { return ! 0 } } } , function ( t , e , n ) { ( function ( e ) { var n = function ( t ) { return t && t . Math == Math && t } ; t . exports = n ( "object" == typeof globalThis && globalThis ) || n ( "object" == typeof window && window ) || n ( "object" == typeof self && self ) || n ( "object" == typeof e && e ) || Function ( "return this" ) ( ) } ) . call ( this , n ( 10 ) ) } , function ( t , e , n ) { var r = n ( 2 ) , o = n ( 29 ) . f , i = n ( 12 ) , a = n ( 11 ) , s = n ( 63 ) , c = n ( 153 ) , l = n ( 52 ) ; t . exports = function ( t , e ) { var n , u , p , d , f , h = t . target , m = t . global , v = t . stat ; if ( n = m ? r : v ? r [ h ] || s ( h , { } ) : ( r [ h ] || { } ) . prototype ) for ( u in e ) { if ( d = e [ u ] , p = t . noTargetGet ? ( f = o ( n , u ) ) && f . value : n [ u ] , ! l ( m ? u : h + ( v ? "." : "#" ) + u , t . forced ) && void 0 !== p ) { if ( typeof d == typeof p ) continue ; c ( d , p ) } ( t . sham || p && p . sham ) && i ( d , "sham" , ! 0 ) , a ( n , u , d , t ) } } } , function ( t , e ) { var n = { } . hasOwnProperty ; t . exports = function ( t , e ) { return n . call ( t , e ) } } , function ( t , e , n ) { var r = n ( 1 ) ; t . exports = ! r ( ( function ( ) { return 7 != Object . defineProperty ( { } , 1 , { get : function ( ) { return 7 } } ) [ 1 ] } ) ) } , function ( t , e ) { t . exports = function ( t ) { return "object" == typeof t ? null !== t : "function" == typeof t } } , function ( t , e , n ) { var r = n ( 6 ) ; t . exports = function ( t ) { if ( ! r ( t ) ) throw TypeError ( String ( t ) + " is not an object" ) ; return t } } , function ( t , e , n ) { "use strict" ; var r = n ( 122 ) , o = Object . prototype . toString ; function i ( t ) { return "[object Array]" === o . call ( t ) } function a ( t ) { return void 0 === t } function s ( t ) { return null !== t && "object" == typeof t } function c ( t ) { return "[object Function]" === o . call ( t ) } function l ( t , e ) { if ( null != t ) if ( "object" != typeof t && ( t = [ t ] ) , i ( t ) ) for ( var n = 0 , r = t . length ; n < r ; n ++ ) e . call ( null , t [ n ] , n , t ) ; else for ( var o in t ) Object . prototype . hasOwnProperty . call ( t , o ) && e . call ( null , t [ o ] , o , t ) } t . exports = { isArray : i , isArrayBuffer : function ( t ) { return "[object ArrayBuffer]" === o . call ( t ) } , isBuffer : function ( t ) { return null !== t && ! a ( t ) && null !== t . constructor && ! a ( t . constructor ) && "function" == typeof t . constructor . isBuffer && t . constructor . isBuffer ( t ) } , isFormData : function ( t ) { return "undefined" != typeof FormData && t instanceof FormData } , isArrayBufferView : function ( t ) { return "undefined" != typeof ArrayBuffer && ArrayBuffer . isView ? ArrayBuffer . isView ( t ) : t && t . buffer && t . buffer instanceof ArrayBuffer } , isString : function ( t ) { return "string" == typeof t } , isNumber : function ( t ) { return "number" == typeof t } , isObject : s , isUndefined : a , isDate : function ( t ) { return "[object Date]" === o . call ( t ) } , isFile : function ( t ) { return "[object File]" === o . call ( t ) } , isBlob : function ( t ) { return "[object Blob]" === o . call ( t ) } , isFunction : c , isStream : function ( t ) { return s ( t ) && c ( 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 ) } , forEach : l , merge : function t ( ) { var e = { } ; function n ( n , r ) { "object" == typeof e [ r ] && "object" == typeof n ? e [ r ] = t ( e [ r ] , n ) : e [ r ] = n } for ( var r = 0 , o = arguments . length ; r < o ; r ++ ) l ( arguments [ r ] , n ) ; return e } , deepMerge : function t ( ) { var e = { } ; fun
2019-02-26 21:43:59 +03:00
/ * !
2019-12-22 16:49:58 +03:00
* Vue . js v2 . 6.11
2019-06-04 14:50:12 +03:00
* ( c ) 2014 - 2019 Evan You
2019-02-26 21:43:59 +03:00
* Released under the MIT License .
* /
2020-04-10 13:01:29 +03:00
var r = Object . freeze ( { } ) ; function o ( t ) { return null == t } function i ( t ) { return null != t } function a ( t ) { return ! 0 === t } function s ( t ) { return "string" == typeof t || "number" == typeof t || "symbol" == typeof t || "boolean" == typeof t } function c ( t ) { return null !== t && "object" == typeof t } var l = Object . prototype . toString ; function u ( t ) { return "[object Object]" === l . call ( t ) } function p ( t ) { return "[object RegExp]" === l . call ( t ) } function d ( t ) { var e = parseFloat ( String ( t ) ) ; return e >= 0 && Math . floor ( e ) === e && isFinite ( t ) } function f ( t ) { return i ( t ) && "function" == typeof t . then && "function" == typeof t . catch } function h ( t ) { return null == t ? "" : Array . isArray ( t ) || u ( t ) && t . toString === l ? JSON . stringify ( t , null , 2 ) : String ( t ) } function m ( t ) { var e = parseFloat ( t ) ; return isNaN ( e ) ? t : e } function v ( t , e ) { for ( var n = Object . create ( null ) , r = t . split ( "," ) , o = 0 ; o < r . length ; o ++ ) n [ r [ o ] ] = ! 0 ; return e ? function ( t ) { return n [ t . toLowerCase ( ) ] } : function ( t ) { return n [ t ] } } v ( "slot,component" , ! 0 ) ; var g = v ( "key,ref,slot,slot-scope,is" ) ; function b ( t , e ) { if ( t . length ) { var n = t . indexOf ( e ) ; if ( n > - 1 ) return t . splice ( n , 1 ) } } var A = Object . prototype . hasOwnProperty ; function y ( t , e ) { return A . call ( t , e ) } function x ( t ) { var e = Object . create ( null ) ; return function ( n ) { return e [ n ] || ( e [ n ] = t ( n ) ) } } var w = /-(\w)/g , _ = x ( ( function ( t ) { return t . replace ( w , ( function ( t , e ) { return e ? e . toUpperCase ( ) : "" } ) ) } ) ) , k = x ( ( function ( t ) { return t . charAt ( 0 ) . toUpperCase ( ) + t . slice ( 1 ) } ) ) , C = /\B([A-Z])/g , T = x ( ( function ( t ) { return t . replace ( C , "-$1" ) . toLowerCase ( ) } ) ) ; var E = Function . prototype . bind ? function ( t , e ) { return t . bind ( e ) } : function ( t , e ) { function n ( n ) { var r = arguments . length ; return r ? r > 1 ? t . apply ( e , arguments ) : t . call ( e , n ) : t . call ( e ) } return n . _length = t . length , n } ; function S ( t , e ) { e = e || 0 ; for ( var n = t . length - e , r = new Array ( n ) ; n -- ; ) r [ n ] = t [ n + e ] ; return r } function M ( t , e ) { for ( var n in e ) t [ n ] = e [ n ] ; return t } function O ( t ) { for ( var e = { } , n = 0 ; n < t . length ; n ++ ) t [ n ] && M ( e , t [ n ] ) ; return e } function I ( t , e , n ) { } var N = function ( t , e , n ) { return ! 1 } , L = function ( t ) { return t } ; function P ( t , e ) { if ( t === e ) return ! 0 ; var n = c ( t ) , r = c ( e ) ; if ( ! n || ! r ) return ! n && ! r && String ( t ) === String ( e ) ; try { var o = Array . isArray ( t ) , i = Array . isArray ( e ) ; if ( o && i ) return t . length === e . length && t . every ( ( function ( t , n ) { return P ( t , e [ n ] ) } ) ) ; if ( t instanceof Date && e instanceof Date ) return t . getTime ( ) === e . getTime ( ) ; if ( o || i ) return ! 1 ; var a = Object . keys ( t ) , s = Object . keys ( e ) ; return a . length === s . length && a . every ( ( function ( n ) { return P ( t [ n ] , e [ n ] ) } ) ) } catch ( t ) { return ! 1 } } function D ( t , e ) { for ( var n = 0 ; n < t . length ; n ++ ) if ( P ( t [ n ] , e ) ) return n ; return - 1 } function B ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , t . apply ( this , arguments ) ) } } var j = [ "component" , "directive" , "filter" ] , R = [ "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 : N , isReservedAttr : N , isUnknownElement : N , getTagNamespace : I , parsePlatformTagName : L , mustUseProp : N , async : ! 0 , _lifecycleHooks : 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 , e , n , r ) { Object . defineProperty ( t , e , { value : n , enumerable : ! ! r , writable : ! 0 , configurable : ! 0 } ) } var z = new RegExp ( "[^" + $ . source + ".$_\\d]" ) ; var V , Y = "__proto__" in { } , H = "undefined" != typeof window , G = "undefined" != typeof WXEnvironment && ! ! WXEnvironment . platform , Q = G && WXEnvironment . platform . toLowerCase ( ) , W = H && window . navigator . userAgent . toLowerCase ( ) , q = W && /msie|trident/ . test ( W ) , K = W && W . indexOf ( "msie 9.0" ) > 0 , Z = W && W . indexOf ( "edge/" ) > 0 , X = ( W && W . indexOf ( "android" ) , W && /iphone|ipad|ipod|ios/ . test ( W ) || "ios" === Q ) , J = ( W && /chrome\/\d+/ . test ( W ) , W && /phantomjs/ . test ( W ) , W && W . match ( /firefox\/(\d+)/ ) ) , tt = { } . watch , et = ! 1 ; if ( H ) try { var nt = { } ; Object . defineProperty ( nt , "passive" , { get : function ( ) { et = ! 0 } } ) , window . addEventListener ( "test-passive" , null , nt ) } catch ( t ) { } var rt = function ( ) { return void 0 === V && ( V = ! H && ! G && void 0 !== t && ( t . process && "server" === t . process . env . VUE _ENV ) ) , V } , ot = H && window . _ _VUE _DEVTOOLS _GLOBAL _HOOK _ _ ; function it ( t ) { return "function" == t
2020-01-16 02:03:29 +03:00
/ * * !
* @ fileOverview Kickass library to create and place poppers near their reference elements .
* @ version 1.15 . 0
* @ 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 .
* /
2020-04-12 04:20:47 +03:00
var n = "undefined" != typeof window && "undefined" != typeof document , r = [ "Edge" , "Trident" , "Firefox" ] , o = 0 , i = 0 ; i < r . length ; i += 1 ) if ( n && navigator . userAgent . indexOf ( r [ i ] ) >= 0 ) { o = 1 ; break } var a = n && window . Promise ? function ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , window . Promise . resolve ( ) . then ( ( function ( ) { e = ! 1 , t ( ) } ) ) ) } } : function ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , setTimeout ( ( function ( ) { e = ! 1 , t ( ) } ) , o ) ) } } ; function s ( t ) { return t && "[object Function]" === { } . toString . call ( t ) } function c ( t , e ) { if ( 1 !== t . nodeType ) return [ ] ; var n = t . ownerDocument . defaultView . getComputedStyle ( t , null ) ; return e ? n [ e ] : n } function l ( t ) { return "HTML" === t . nodeName ? t : t . parentNode || t . host } function u ( t ) { if ( ! t ) return document . body ; switch ( t . nodeName ) { case "HTML" : case "BODY" : return t . ownerDocument . body ; case "#document" : return t . body } var e = c ( t ) , n = e . overflow , r = e . overflowX , o = e . overflowY ; return /(auto|scroll|overlay)/ . test ( n + o + r ) ? t : u ( l ( t ) ) } var p = n && ! ( ! window . MSInputMethodContext || ! document . documentMode ) , d = n && /MSIE 10/ . test ( navigator . userAgent ) ; function f ( t ) { return 11 === t ? p : 10 === t ? d : p || d } function h ( t ) { if ( ! t ) return document . documentElement ; for ( var e = f ( 10 ) ? document . body : null , n = t . offsetParent || null ; n === e && t . nextElementSibling ; ) n = ( t = t . nextElementSibling ) . offsetParent ; var r = n && n . nodeName ; return r && "BODY" !== r && "HTML" !== r ? - 1 !== [ "TH" , "TD" , "TABLE" ] . indexOf ( n . nodeName ) && "static" === c ( n , "position" ) ? h ( n ) : n : t ? t . ownerDocument . documentElement : document . documentElement } function m ( t ) { return null !== t . parentNode ? m ( t . parentNode ) : t } function v ( t , e ) { if ( ! ( t && t . nodeType && e && e . nodeType ) ) return document . documentElement ; var n = t . compareDocumentPosition ( e ) & Node . DOCUMENT _POSITION _FOLLOWING , r = n ? t : e , o = n ? e : t , i = document . createRange ( ) ; i . setStart ( r , 0 ) , i . setEnd ( o , 0 ) ; var a , s , c = i . commonAncestorContainer ; if ( t !== c && e !== c || r . contains ( o ) ) return "BODY" === ( s = ( a = c ) . nodeName ) || "HTML" !== s && h ( a . firstElementChild ) !== a ? h ( c ) : c ; var l = m ( t ) ; return l . host ? v ( l . host , e ) : v ( t , m ( e ) . host ) } function g ( t ) { var e = arguments . length > 1 && void 0 !== arguments [ 1 ] ? arguments [ 1 ] : "top" , n = "top" === e ? "scrollTop" : "scrollLeft" , r = t . nodeName ; if ( "BODY" === r || "HTML" === r ) { var o = t . ownerDocument . documentElement , i = t . ownerDocument . scrollingElement || o ; return i [ n ] } return t [ n ] } function b ( t , e ) { var n = arguments . length > 2 && void 0 !== arguments [ 2 ] && arguments [ 2 ] , r = g ( e , "top" ) , o = g ( e , "left" ) , i = n ? - 1 : 1 ; return t . top += r * i , t . bottom += r * i , t . left += o * i , t . right += o * i , t } function A ( t , e ) { var n = "x" === e ? "Left" : "Top" , r = "Left" === n ? "Right" : "Bottom" ; return parseFloat ( t [ "border" + n + "Width" ] , 10 ) + parseFloat ( t [ "border" + r + "Width" ] , 10 ) } function y ( t , e , n , r ) { return Math . max ( e [ "offset" + t ] , e [ "scroll" + t ] , n [ "client" + t ] , n [ "offset" + t ] , n [ "scroll" + t ] , f ( 10 ) ? parseInt ( n [ "offset" + t ] ) + parseInt ( r [ "margin" + ( "Height" === t ? "Top" : "Left" ) ] ) + parseInt ( r [ "margin" + ( "Height" === t ? "Bottom" : "Right" ) ] ) : 0 ) } function x ( t ) { var e = t . body , n = t . documentElement , r = f ( 10 ) && getComputedStyle ( n ) ; return { height : y ( "Height" , e , n , r ) , width : y ( "Width" , e , n , r ) } } var w = function ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } , _ = function ( ) { function t ( t , e ) { for ( var n = 0 ; n < e . length ; n ++ ) { var r = e [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( t , r . key , r ) } } return function ( e , n , r ) { return n && t ( e . prototype , n ) , r && t ( e , r ) , e } } ( ) , k = function ( t , e , n ) { return e in t ? Object . defineProperty ( t , e , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : t [ e ] = n , t } , C = Object . assign || function ( t ) { for ( var e = 1 ; e < arguments . length ; e ++ ) { var n = arguments [ e ] ; for ( var r in n ) Object . prototype . hasOwnProperty . call ( n , r ) && ( t [ r ] = n [ r ] ) } return t } ; function T ( t ) { return C ( { } , t , { right : t . left + t . width , bottom : t . top + t . height } ) } function E ( t ) { var e = { } ; try { if ( f ( 10 ) ) { e = t . getBoundingClientRect ( ) ; var n = g ( t , "top" ) , r = g ( t , "left" ) ; e . top += n , e . left += r , e . bottom += n , e . right += r } else e = t . getBoundingClientRect ( ) } catch ( t ) { } var o = { left : e . left , top : e . top , width : e . right - e . left , height : e . bottom - e . top } , i = "HTML" === t . nodeName ? x ( t . ownerDocument ) : { } , a = i . width || t . clientWidth || o . right - o . left , s = i . height || t . clientHeight || o . bottom - o . top , l = t . offsetWidth - a , u = t . offsetHeight - s ; if ( l || u ) { var p = c ( t ) ; l -= A ( p , "x" ) , u -= A ( p , "y" ) , o . width -= l , o . height -= u } return T ( o ) } function S ( t , e ) { var n = arguments . length > 2 && void 0 !== a
2019-10-13 19:26:09 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
2019-10-13 19:26:09 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2019-10-13 19:26:09 +03:00
* @ 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
2020-01-16 02:03:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-10-13 19:26:09 +03:00
* 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/>.
*
2020-01-16 02:03:29 +03:00
* /
2020-04-10 13:01:29 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "e1f55ce" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , e . default = r . VTooltip } , function ( t , e ) { t . exports = n ( 259 ) } , function ( t , e ) { t . exports = n ( 262 ) } , function ( t , e , n ) { "use strict" ; n ( 12 ) , n ( 28 ) ; var r = n ( 5 ) , o = n . n ( r ) ;
2019-06-04 14:50:12 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
* @ 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
2020-01-16 02:03:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* 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/>.
*
2020-04-10 13:01:29 +03:00
* /e.a={before:function(){this.$slots.default&&""!==this.text.trim()||(o.a.util.warn("".concat(this.$options.name," cannot be empty and requires a meaningful text content"),this),this.$destroy(),this.$el.remove())},beforeUpdate:function(){this.text=this.getText()},data:function(){return{text:this.getText()}},computed:{isLongText:function(){return this.text&&this.text.trim().length>20}},methods:{getText:function(){return this.$slots.default?this.$slots.default[0].text.trim():""}}}},function(t,e,n){"use strict";n(4),n(21),n(23),n(30),e.a=function(t){return Math.random().toString(36).replace(/ [ ^ a - z ] + / g , " " ) . s u b s t r ( 0 , t | | 5 ) } } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 5 0 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 7 8 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 1 4 1 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 9 5 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 6 0 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 1 6 4 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 6 3 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 7 9 ) } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 1 8 ) , n ( 4 ) , n ( 1 9 ) , n ( 2 0 ) , n ( 2 4 ) ; v a r r = n ( 1 6 ) , o = ( n ( 1 2 ) , f u n c t i o n ( t , e ) { f o r ( v a r n = t . $ p a r e n t ; n ; ) { i f ( n . $ o p t i o n s . n a m e = = = e ) r e t u r n n ; n = n . $ p a r e n t } } ) ; e . a = { m i x i n s : [ r . 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 e = o ( t h i s , " A c t i o n s " ) ; e & & e . c l o s e M e n u & & e . c l o s e M e n u ( ) } } } } } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 6 1 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 6 4 ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 6 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 6 4 0 a 2 1 2 a " , r , ! 0 , { } ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 1 6 5 ) } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 2 5 ) , n ( 1 5 ) , n ( 6 5 ) , n ( 1 2 ) ; v a r r = n ( 5 ) , o = n . n ( r ) ; e . a = f u n c t i o n ( t , e , n ) { i f ( v o i d 0 ! = = t ) f o r ( v a r r = t . l e n g t h - 1 ; r > = 0 ; r - - ) { v a r i = t [ r ] , a = ! i . c o m p o n e n t O p t i o n s & & i . t a g & & - 1 = = = e . i n d e x O f ( i . t a g ) , s = ! ! i . 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 i . c o m p o n e n t O p t i o n s . t a g , c = s & & - 1 = = = e . i n d e x O f ( i . c o m p o n e n t O p t i o n s . t a g ) ; ( a | | ! s | | c ) & & ( ( a | | c ) & & o . a . u t i l . w a r n ( " " . c o n c a t ( a ? i . t a g : i . 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 ( n . $ o p t i o n s . n a m e , " c o m p o n e n t " ) , n ) , t . s p l i c e ( r , 1 ) ) } } } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 6 ) ; e . a = { m e t h o d s : { n : r . a , t : r . b } } } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 4 3 ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 7 3 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 1 f 2 e c 4 9 f " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 7 5 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 9 c 5 6 1 1 1 6 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 7 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 9 3 0 9 3 1 4 0 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e ) { } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = n ( 4 3 ) ;
2019-06-04 14:50:12 +03:00
/ * *
2019-10-13 19:26:09 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
* @ 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
2020-04-10 13:01:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* 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/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = r . a } , f u n c t i o n ( t , e , n ) { v a r r = n ( 8 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 2 e 9 b 7 7 0 8 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 4 1 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 9 4 1 c 7 9 1 e " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . p u s h ( [ t . i , " . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] { p o s i t i o n : a b s o l u t e ; z - i n d e x : 1 0 0 0 0 0 ; r i g h t : a u t o ; l e f t : a u t o ; d i s p l a y : b l o c k ; m a r g i n : 0 ; m a r g i n - t o p : - 3 p x ; p a d d i n g : 1 0 p x 0 ; t e x t - a l i g n : l e f t ; t e x t - a l i g n : s t a r t ; w h i t e - s p a c e : n o r m a l ; t e x t - d e c o r a t i o n : n o n e ; l e t t e r - s p a c i n g : n o r m a l ; w o r d - s p a c i n g : n o r m a l ; t e x t - t r a n s f o r m : n o n e ; w o r d - w r a p : n o r m a l ; w o r d - b r e a k : n o r m a l ; o p a c i t y : 0 ; t e x t - s h a d o w : n o n e ; f o n t - f a m i l y : ' N u n i t o ' , ' O p e n S a n s ' , F r u t i g e r , C a l i b r i , ' M y r i a d P r o ' , M y r i a d , s a n s - s e r i f ; f o n t - s i z e : 1 2 p x ; f o n t - w e i g h t : n o r m a l ; f o n t - s t y l e : n o r m a l ; l i n e - h e i g h t : 1 . 6 ; l i n e - b r e a k : a u t o ; f i l t e r : d r o p - s h a d o w ( 0 1 p x 1 0 p x v a r ( - - c o l o r - b o x - s h a d o w ) ) } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] [ x - p l a c e m e n t ^ = ' t o p ' ] . t o o l t i p - a r r o w { b o t t o m : 0 ; m a r g i n - t o p : 0 ; m a r g i n - b o t t o m : 0 ; b o r d e r - w i d t h : 1 0 p x 1 0 p x 0 1 0 p x ; b o r d e r - r i g h t - c o l o r : t r a n s p a r e n t ; b o r d e r - b o t t o m - c o l o r : t r a n s p a r e n t ; b o r d e r - l e f t - c o l o r : t r a n s p a r e n t } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] [ x - p l a c e m e n t ^ = ' b o t t o m ' ] . t o o l t i p - a r r o w { t o p : 0 ; m a r g i n - t o p : 0 ; m a r g i n - b o t t o m : 0 ; b o r d e r - w i d t h : 0 1 0 p x 1 0 p x 1 0 p x ; b o r d e r - t o p - c o l o r : t r a n s p a r e n t ; b o r d e r - r i g h t - c o l o r : t r a n s p a r e n t ; b o r d e r - l e f t - c o l o r : t r a n s p a r e n t } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] [ x - p l a c e m e n t ^ = ' r i g h t ' ] . t o o l t i p - a r r o w { r i g h t : 1 0 0 % ; m a r g i n - r i g h t : 0 ; m a r g i n - l e f t : 0 ; b o r d e r - w i d t h : 1 0 p x 1 0 p x 1 0 p x 0 ; b o r d e r - t o p - c o l o r : t r a n s p a r e n t ; b o r d e r - b o t t o m - c o l o r : t r a n s p a r e n t ; b o r d e r - l e f t - c o l o r : t r a n s p a r e n t } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] [ x - p l a c e m e n t ^ = ' l e f t ' ] . t o o l t i p - a r r o w { l e f t : 1 0 0 % ; m a r g i n - r i g h t : 0 ; m a r g i n - l e f t : 0 ; b o r d e r - w i d t h : 1 0 p x 0 1 0 p x 1 0 p x ; b o r d e r - t o p - c o l o r : t r a n s p a r e n t ; b o r d e r - r i g h t - c o l o r : t r a n s p a r e n t ; b o r d e r - b o t t o m - c o l o r : t r a n s p a r e n t } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] [ a r i a - h i d d e n = ' t r u e ' ] { v i s i b i l i t y : h i d d e n ; t r a n s i t i o n : o p a c i t y . 1 5 s , v i s i b i l i t y . 1 5 s ; o p a c i t y : 0 } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] [ a r i a - h i d d e n = ' f a l s e ' ] { v i s i b i l i t y : v i s i b l e ; t r a n s i t i o n : o p a c i t y . 1 5 s ; o p a c i t y : 1 } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] . t o o l t i p - i n n e r { m a x - w i d t h : 3 5 0 p x ; p a d d i n g : 5 p x 8 p x ; t e x t - a l i g n : c e n t e r ; c o l o r : v a r ( - - c o l o r - m a i n - t e x t ) ; b o r d e r - r a d i u s : v a r ( - - b o r d e r - r a d i u s ) ; b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - m a i n - b a c k g r o u n d ) } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] . t o o l t i p - a r r o w { p o s i t i o n : a b s o l u t e ; z - i n d e x : 1 ; w i d t h : 0 ; h e i g h t : 0 ; m a r g i n : 0 ; 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 : v a r ( - - c o l o r - m a i n - b a c k g r o u n d ) } \ n " , " " ] ) , t . e x p o r t s = e } , f u n c t i o n ( t , e ) { } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 2 5 ) , n ( 4 6 ) , n ( 1 5 ) ; v a r r = n ( 1 4 ) , o = n ( 1 3 ) , i = n ( 1 7 ) , a = ( n ( 6 4 ) , f u n c t i o n ( t ) { v a r e = t . g e t B o u n d i n g C l i e n t R e c t ( ) , n = d o c u m e n t . d o c u m e n t E l e m e n t . c l i e n t H e i g h t , r = d o c u m e n t . d o c u m e n t E l e m e n t . c l i e n t W i d t h , o = O b j e c t . a s s i g n ( { } ) ; r e t u r n o . t o p = e . t o p < 0 , o . l e f t = e . l e f t < 0 , o . b o t t o m = e . b o t t o m > n , o . r i g h t = e . r i g h t > r , o . a n y = o . t o p | | o . l e f t | | o . b o t t o m | | o . r i g h t , o . a l l = o . t o p & & o . l e f t & & o . b o t t o m & & o . r i g h t , o . o f f s e t Y = o . t o p ? e . t o p : o . b o t t o m ? e . b o t t o m - n : 0 , o . o f f s e t X = o . l e f t ? e . l e f t : o . r i g h t ? e . r i g h t - r : 0 , o } ) , s = n ( 3 1 ) , c = n ( 6 ) , l = [ " A c t i o n B u t t o n " , " A c t i o n C h e c k b o x " , " A c t i o n I n p u t " , " A c t i o n L i n k " , " A c t i o n R a d i o " , " A c t i o n R o u t e r " , " A c t i o n S e p a r a t o r " , " A c t i o n T e x t " , " A c t i o n T e x t E d i t a b l e " ] , u = { n a m e : " A c t i o n s " , d i r e c t i v e s : { C l i c k O u t s i d e : r . d i r e c t i v e , t o o l t i p : o . d e f a u l t } , 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 : ! 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 A l i g n : { t y p e : S t r i n g , d e f a u l t : " c e n t e r " , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n [ " l e f t " , " c e n t e r " , " r i g h t " ] . i n d e x O f ( t ) > - 1 } } , d e f a u l t I c o n : { t y p e : S t r i n g , d e f a u l t : " a c t i o n - i t e m _ _ m e n u t o g g l e - - d e f a u l t - i c o n " } , 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 : O b j e c t ( c . b ) ( " A c t i o n s " ) } } , d a t a : f u n c t i o n ( ) { r e t u r n { a c t i o n s : [ ] , o p e n e d : t h i s . o p e n , f o c u s I n d e x : 0 , r a n d o m I d : " m e n u - " + O b j e c t ( i . a ) ( ) , o f f s e t X : 0 , o f f s e t Y : 0 , o f f s e t Y A r r o w : 0 , r o t a t e A r r o w : ! 1 , c h i l d r e n : t h i s . $ 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 A c t i o n s : f u n c t i o n ( ) { r e t u r n t h i s . a c t i o n s . l e n g t h > 1 } , i s V a l i d S i n g l e A c t i o n : f u n c t i o n ( ) { r e t u r n 1 = = = t h i s . a c t i o n s . l e n g t h & & n u l l ! = = t h i s . f i r s t A c t i o n E l e m e n t } , f i r s t A c t i o n V N o d e : f u n c t i o n ( ) { r e t u r n t h i s . a c t i o n s [ 0 ] } , f i r s t A c t i o n : f u n c t i o n ( ) { r e t u r n t h i s . c h i l d r e n [ 0 ] ? t h i s . c h i l d r e n [ 0 ] : { } } , f i r s t A c t i o n B i n d i n g : f u n c t i o n ( ) { i f ( t h i s . f i r s t A c t i o n V N o d e & & t h i s . f i r s t A c t i o n V N o d e . c o m p o n e n t O p t i o n s ) { v a r t = t h i s . f i r s t A c t i o n V N o d e . c o m p o n e n t O p t i o n s . t a g ; i f ( " A c t i o n L i n k " = = = t ) r e t u r n { i s : " a " , h r e f : t h i s . f i r s t A c t i o n . h r e f , t a r g e t
2019-08-07 18:08:12 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-08-07 18:08:12 +03:00
*
* @ 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 ,
2020-04-10 13:01:29 +03:00
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-08-07 18:08:12 +03:00
* 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/>.
*
2020-04-10 13:01:29 +03:00
* / e . a = f u n c t i o n ( t ) { t . m o u n t e d ? A r r a y . i s A r r a y ( t . m o u n t e d ) | | ( t . m o u n t e d = [ t . m o u n t e d ] ) : t . m o u n t e d = [ ] , t . m o u n t e d . p u s h ( ( f u n c t i o n ( ) { t h i s . $ e l . s e t A t t r i b u t e ( " d a t a - v - " . c o n c a t ( " e 1 f 5 5 c e " ) , " " ) } ) ) } } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 4 4 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 1 4 4 ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 2 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 7 5 b 9 f 9 0 2 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 2 9 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 9 e e 2 a 8 2 6 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ;
2019-06-04 14:50:12 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
* @ 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 ,
2020-04-10 13:01:29 +03:00
* but WITHOUT ANY WARRANTY without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* 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/>.
*
2020-04-10 13:01:29 +03:00
* /
function r ( t , e , n ) { this . r = t , this . g = e , this . b = n } function o ( t , e , n ) { var o = [ ] ; o . push ( e ) ; for ( var i = function ( t , e ) { var n = new Array ( 3 ) ; return n [ 0 ] = ( e [ 1 ] . r - e [ 0 ] . r ) / t , n [ 1 ] = ( e [ 1 ] . g - e [ 0 ] . g ) / t , n [ 2 ] = ( e [ 1 ] . b - e [ 0 ] . b ) / t , n } ( t , [ e , n ] ) , a = 1 ; a < t ; a ++ ) { var s = parseInt ( e . r + i [ 0 ] * a , 10 ) , c = parseInt ( e . g + i [ 1 ] * a , 10 ) , l = parseInt ( e . b + i [ 2 ] * a , 10 ) ; o . push ( new r ( s , c , l ) ) } return o } n ( 25 ) , e . a = function ( t ) { t || ( t = 6 ) ; var e = new r ( 182 , 70 , 157 ) , n = new r ( 221 , 203 , 85 ) , i = new r ( 0 , 130 , 201 ) , a = o ( t , e , n ) , s = o ( t , n , i ) , c = o ( t , i , e ) ; return a . concat ( s ) . concat ( c ) } } , function ( t , e ) { } , function ( t , e , n ) { "use strict" ; n . r ( e ) , n ( 15 ) , n ( 18 ) , n ( 4 ) , n ( 23 ) , n ( 19 ) , n ( 20 ) , n ( 24 ) ; var r = { name : "PopoverMenuItem" , props : { item : { type : Object , required : ! 0 , default : function ( ) { return { key : "nextcloud-link" , href : "https://nextcloud.com" , icon : "icon-links" , text : "Nextcloud" } } , validator : function ( t ) { return ! t . input || - 1 !== [ "text" , "checkbox" ] . indexOf ( t . input ) } } } , computed : { key : function ( ) { return this . item . key ? this . item . key : Math . round ( 16 * Math . random ( ) * 1e6 ) . toString ( 16 ) } , iconIsUrl : function ( ) { try { return new URL ( this . item . icon ) , ! 0 } catch ( t ) { return ! 1 } } } , methods : { action : function ( t ) { this . item . action && this . item . action ( t ) } } } , o = ( n ( 72 ) , n ( 74 ) , n ( 0 ) ) , i = { name : "PopoverMenu" , components : { PopoverMenuItem : Object ( o . a ) ( r , ( function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "li" , [ t . item . href ? n ( "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 ? n ( "img" , { attrs : { src : t . item . icon } } ) : n ( "span" , { class : t . item . icon } ) , t . _v ( " " ) , t . item . text && t . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . text ) + "\n\t\t\t" ) ] ) , n ( "br" ) , t . _v ( " " ) , n ( "span" , { staticClass : "menuitem-text-detail" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . longtext ) + "\n\t\t\t" ) ] ) ] ) : t . item . text ? n ( "span" , [ t . _v ( "\n\t\t\t" + t . _s ( t . item . text ) + "\n\t\t" ) ] ) : t . item . longtext ? n ( "p" , [ t . _v ( "\n\t\t\t" + t . _s ( t . item . longtext ) + "\n\t\t" ) ] ) : t . _e ( ) ] ) : t . item . input ? n ( "span" , { staticClass : "menuitem" , class : { active : t . item . active } } , [ "checkbox" !== t . item . input ? n ( "span" , { class : t . item . icon } ) : t . _e ( ) , t . _v ( " " ) , "text" === t . item . input ? n ( "form" , { class : t . item . input , on : { submit : function ( e ) { return e . preventDefault ( ) , t . item . action ( e ) } } } , [ n ( "input" , { attrs : { type : t . item . input , placeholder : t . item . text , required : "" } , domProps : { value : t . item . value } } ) , t . _v ( " " ) , n ( "input" , { staticClass : "icon-confirm" , attrs : { type : "submit" , value : "" } } ) ] ) : [ "checkbox" === t . item . input ? n ( "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 ( e ) { var n = t . item . model , r = e . target , o = ! ! r . checked ; if ( Array . isArray ( n ) ) { var i = t . _i ( n , null ) ; r . checked ? i < 0 && t . $set ( t . item , "model" , n . concat ( [ null ] ) ) : i > - 1 && t . $set ( t . item , "model" , n . slice ( 0 , i ) . concat ( n . slice ( i + 1 ) ) ) } else t . $set ( t . item , "model" , o ) } , t . item . action ] } } ) : "radio" === t . item . input ? n ( "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 ( e ) { return t . $set ( t . item , "model" , null ) } , t . item . action ] } } ) : n ( "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 ( e ) { e . target . composing || t . $set ( t . item , "model" , e . target . value ) } } } ) , t . _v ( " " ) , n ( "label" , { attrs : { for : t . key } , on : { click : function ( e ) { return e . stopPropagation ( ) , e . preventDefault ( ) , t . item . action ( e ) } } } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . text ) + "\n\t\t\t" ) ] ) ] ] , 2 ) : t . item . action ? n ( "button" , { staticClass : "menuitem focusable" , class : { active : t . item . active } , attrs : { disabled : t . item . disabled } , on : { click : function ( e ) { return e . stopPropagation ( ) , e . preventDefault ( ) , t . item . action ( e ) } } } , [ n ( "span" , { class : t . item . icon } ) , t . _v ( " " ) , t . item . text && t . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . text ) + "\n\t\t\t" ) ] ) , n ( " br
2019-06-04 14:50:12 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
2020-04-10 13:01:29 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +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
2020-04-10 13:01:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* 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/>.
*
2020-04-10 13:01:29 +03:00
* /e.default=l},function(t,e){t.exports=n(35)},function(t,e,n){"use strict";n.r(e),n(25),n(71),n(22),n(33),n(4),n(68),n(69);var r=n(14),o=n(51),i=n(52),a=n.n(i),s=n(13),c=(n(21),n(85),n(30),n(63)),l=n.n(c),u=n(49);function p(t,e,n,r,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,o)}function d(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){p(i,r,o,a,s,"next",t)}function s(t){p(i,r,o,a,s,"throw",t)}a(void 0)}))}}var f={name:"Avatar",directives:{tooltip:s.default,ClickOutside:r.directive},components:{PopoverMenu:o.default},props:{url:{type:String,default:void 0},iconClass:{type:String,default:void 0},user:{type:String,default:void 0},isGuest:{type:Boolean,default:!1},displayName:{type:String,default:void 0},size:{type:Number,default:32},allowPlaceholder:{type:Boolean,default:!0},disableTooltip:{type:Boolean,default:!1},disableMenu:{type:Boolean,default:!1},tooltipMessage:{type:String,default:null},isNoUser:{type:Boolean,default:!1},status:{type:String,default:null,validator:function(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" } } , data : function ( ) { return { avatarUrlLoaded : null , avatarSrcSetLoaded : null , userDoesNotExist : ! 1 , isAvatarLoaded : ! 1 , isMenuLoaded : ! 1 , contactsMenuActions : [ ] , contactsMenuOpenState : ! 1 } } , computed : { getUserIdentifier : function ( ) { return this . isDisplayNameDefined ? this . displayName : this . isUserDefined ? this . user : "" } , isUserDefined : function ( ) { return void 0 !== this . user } , isDisplayNameDefined : function ( ) { return void 0 !== this . displayName } , isUrlDefined : function ( ) { return void 0 !== this . url } , hasMenu : function ( ) { return ! this . disableMenu && ( this . isMenuLoaded ? this . menu . length > 0 : ! ( this . user === OC . getCurrentUser ( ) . uid || this . userDoesNotExist || this . url ) ) } , shouldShowPlaceholder : function ( ) { return this . allowPlaceholder && this . userDoesNotExist } , avatarStyle : function ( ) { var 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 e = function ( t ) { var e = t . toLowerCase ( ) ; return null === e . match ( /^([0-9a-f]{4}-?){8}$/ ) && ( e = l ( ) ( e ) ) , e = e . replace ( /[^0-9a-f]/g , "" ) , Object ( u . a ) ( 6 ) [ function ( t , e ) { for ( var n = 0 , r = [ ] , o = 0 ; o < t . length ; o ++ ) r . push ( parseInt ( t . charAt ( o ) , 16 ) % 16 ) ; for ( var i in r ) n += r [ i ] ; return parseInt ( parseInt ( n , 10 ) % 18 , 10 ) } ( e ) ] } ( this . getUserIdentifier ) ; t . backgroundColor = "rgb(" + e . r + ", " + e . g + ", " + e . b + ")" } return t } , tooltip : function ( ) { return ! this . disableTooltip && ( this . tooltipMessage ? this . tooltipMessage : this . displayName ) } , initials : function ( ) { return this . shouldShowPlaceholder ? this . getUserIdentifier . charAt ( 0 ) . toUpperCase ( ) : "?" } , menu : function ( ) { return this . contactsMenuActions . map ( ( function ( t ) { return { href : t . hyperlink , icon : t . icon , text : t . title } } ) ) } } , watch : { url : function ( ) { this . userDoesNotExist = ! 1 , this . loadAvatarUrl ( ) } , user : function ( ) { this . userDoesNotExist = ! 1 , this . isMenuLoaded = ! 1 , this . loadAvatarUrl ( ) } } , mounted : function ( ) { this . loadAvatarUrl ( ) } , methods : { toggleMenu : function ( ) { var t = this ; return d ( regeneratorRuntime . mark ( ( function e ( ) { return regeneratorRuntime . wrap ( ( function ( e ) { for ( ; ; ) switch ( e . prev = e . next ) { case 0 : if ( t . hasMenu ) { e . next = 2 ; break } return e . abrupt ( "return" ) ; case 2 : if ( t . contactsMenuOpenState ) { e . next = 5 ; break } return e . next = 5 , t . fetchContactsMenu ( ) ; case 5 : t . contactsMenuOpenState = ! t . contactsMenuOpenState ; case 6 : case "end" : return e . stop ( ) } } ) , e ) } ) ) ) ( ) } , closeMenu : function ( ) { this . contactsMenuOpenState = ! 1 } , fetchContactsMenu : function ( ) { var t = this ; return d ( regeneratorRuntime . mark ( ( function e ( ) { var n , r , o ; return regeneratorRuntime . wrap ( ( function ( e ) { for ( ; ; ) switch ( e . prev = e . next ) { case 0 : return e . prev = 0 , n = encodeURIComponent ( t . user ) , e . next = 4 , a . a . post ( OC . generateUrl ( "contactsmenu/findOne" ) , "shareType=0&shareWith=" . concat ( n ) ) ; case 4 : r = e . sent , o = r . data , t . contactsMenuActions = o . topAction ? [ o . topAction ] . concat ( o . actions ) : o . actions , e . next = 12 ; break ; case 9 : e . prev = 9 , e . t0 = e . catch ( 0 ) , t . contactsMenuOpenState = !
2019-06-04 14:50:12 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2018 Julius Härtl < jus @ bitgrid . net >
2019-06-04 14:50:12 +03:00
*
2020-04-10 13:01:29 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2019-06-04 14:50:12 +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
2019-10-13 19:26:09 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* 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/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = b } , f u n c t i o n ( t , e ) { } , f u n c t i o n ( t , e ) { } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 4 9 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 6 1 9 a e 6 0 e " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 5 1 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 3 1 5 a d e 5 4 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 5 3 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 7 8 1 f c 7 8 9 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 5 5 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 5 3 8 3 c f 7 b " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 5 9 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 1 f 1 3 0 2 d 4 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 6 1 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 2 e f b 1 6 e d " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = { n a m e : " P o p o v e r " , c o m p o n e n t s : { V P o p o v e r : n ( 3 ) . V P o p o v e r } } , o = ( n ( 1 2 8 ) , n ( 0 ) ) , i = n ( 5 5 ) , a = n . n ( i ) , s = O b j e c t ( o . a ) ( 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 , e = t h i s . _ s e l f . _ c | | t ; r e t u r n e ( " V P o p o v e r " , t h i s . _ g ( t h i s . _ b ( { s t a t i c C l a s s : " p o p o v e r " } , " V P o p o v e r " , t h i s . $ a t t r s , ! 1 ) , t h i s . $ l i s t e n e r s ) , [ t h i s . _ t ( " t r i g g e r " ) , t h i s . _ v ( " " ) , e ( " t e m p l a t e " , { s l o t : " p o p o v e r " } , [ t h i s . _ t ( " d e f a u l t " ) ] , 2 ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 7 1 f 0 1 3 a a " , n u l l ) ; " f u n c t i o n " = = t y p e o f a . a & & a ( ) ( s ) ; v a r c = s . e x p o r t s ;
2019-06-04 14:50:12 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 Marco Ambrosini < marcoambrosini @ pm . me >
2019-06-04 14:50:12 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author Marco Ambrosini < marcoambrosini @ pm . me >
2019-06-04 14:50:12 +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
2020-01-16 02:03:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* 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/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = c } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 4 5 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 6 5 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 6 6 ) } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 2 9 ) ; n . n ( r ) . a } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 ) , o = n ( 7 ) , i = n ( 8 ) , a = n ( 9 ) , s = n ( 1 0 ) , c = n ( 1 1 ) ; e = r ( ! 1 ) ; v a r l = o ( i ) , u = o ( a ) , p = o ( s ) , d = o ( c ) ; e . 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 - e 1 f 5 5 c e " ; s r c : u r l ( ' + l + " ) ; s r c : u r l ( " + l + ' ) 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 ( ' + u + ' ) f o r m a t ( " w o f f " ) , u r l ( ' + p + ' ) f o r m a t ( " t r u e t y p e " ) , u r l ( ' + d + ' ) f o r m a t ( " s v g " ) } . i c o n [ d a t a - v - 7 b 3 6 8 b 0 c ] { 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 [ d a t a - v - 7 b 3 6 8 b 0 c ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . a r r o w - l e f t [ d a t a - v - 7 b 3 6 8 b 0 c ] : 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 - e 1 f 5 5 c e " ; 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 [ d a t a - v - 7 b 3 6 8 b 0 c ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t [ d a t a - v - 7 b 3 6 8 b 0 c ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . b r e a d c r u m b [ d a t a - v - 7 b 3 6 8 b 0 c ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . c h e c k m a r k [ d a t a - v - 7 b 3 6 8 b 0 c ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . c l o s e [ d a t a - v - 7 b 3 6 8 b 0 c ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . c o n f i r m [ d a t a - v - 7 b 3 6 8 b 0 c ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . i n f o [ d a t a - v - 7 b 3 6 8 b 0 c ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . m e n u [ d a t a - v - 7 b 3 6 8 b 0 c ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . m o r e [ d a t a - v - 7 b 3 6 8 b 0 c ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . p a u s e [ d a t a - v - 7 b 3 6 8 b 0 c ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . p l a y [ d a t a - v - 7 b 3 6 8 b 0 c ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . t r i a n g l e - s [ d a t a - v - 7 b 3 6 8 b 0 c ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } . a c t i o n - i t e m [ d a t a - v - 7 b 3 6 8 b 0 c ] { 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 } . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : h o v e r , . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : f o c u s , . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : a c t i v e , . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : h o v e r , . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : f o c u s , . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : a c t i v e { b o r d e r - r a d i u s : 2 2 p x ; b a c k g r o u n d - c o l o r : r g b a ( 1 2 7 , 1 2 7 , 1 2 7 , 0 . 2 5 ) ! i m p o r t a n t ; o p a c i t y : 1 } . a c t i o n - i t e m . a c t i o n - i t e m - - o p e n . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] { o p a c i t y : 1 ; b o r d e r - r a d i u s : 2 2 p x ; b a c k g r o u n d - c o l o r : r g b a ( 1 2 7 , 1 2 7 , 1 2 7 , 0 . 2 5 ) } . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] , . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] { b o x - s i z i n g : b o r d e r - b o x ; w i d t h : 4 4 p x ; h e i g h t : 4 4 p x ; m a r g i n : 0 ; p a d d i n g : 1 4 p x ; c u r s o r : p o i n t e r ; b o r d e r : n o n e ; 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 } . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] { d i s p l a y : f l e x ; a l i g n - i t e m s : c e n t e r ; j u s t i f y - c o n t e n t : c e n t e r ; o p a c i t y : . 7 } . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : b e f o r e { c o n t e n t : \ ' \ ' } . a c t i o n - i t e m _ _ m e n u t o g g l e - - d e f a u l t - i c o n [ d a t a - v - 7 b 3 6 8 b 0 c ] { f o n t - s i z e : 1 6 p x } . a c t i o n - i t e m _ _ m e n u t o g g l e - - d e f a u l t - i c o n [ d a t a - v - 7 b 3 6 8 b 0 c ] : 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 - e 1 f 5 5 c e " ; 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 ; c o n t e n t : " " } . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] { o p a c i t y : . 7 } . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : h o v e r , . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : f o c u s , . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 7 b 3 6 8 b 0 c ] : a c t i v e { o p a c i t y : 1 } . a c t i o n - i t e m - - s i n g l e > [ h i d d e n ] [ d a t a - v - 7 b 3 6 8 b 0 c ] { d i s p l a y : n o n e } . a c t i o n - i t e m - - m u l t i p l e [ d a t a - v - 7 b 3 6 8 b 0 c ] { p o s i t i o n : r e l a t i v e } . a c t i o n - i t e m _ _ m e n u [ d a t a - v - 7 b 3 6 8 b 0 c ] { p o s i t i o n : a b s o l u t e ; z - i n d e x : 1 1 0 ; r i g h t : 5 0 % ; d i s p l a y : n o n e ; m a r g i n - b o t t o m : 1 0 p x ; m a r g i n - t o p : - 5 p x ; t r a n s f o r m : t r a n s l a t e X ( 5 0 % ) ; c o l o r : v a r ( - - c o l o r - m a i n - t e x t ) ; b o r d e r - r a d i u s : v a r ( - - b o r d e r - r a d i u s ) ; b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - m a i n - b a c k g r o u n d ) ; f i l t e r : d r o p - s h a d o w ( 0 1 p x 3 p x v a r ( - - c o l o r - b o x - s h a d o w ) ) } . a c t i o n - i t e m _ _ m e n u u l [ d a t a - v - 7 b 3 6 8 b 0 c ] > : n o t ( l i ) { d i s p l a y : n o n e } . a c t i o n - i t e m _ _ m e n u . o p e n [ d a t a - v - 7 b 3 6 8 b 0 c ] { d i s p l a y : b l o c k } . a c t i o n - i t e m _ _ m e n u . a c t i o n - i t e m _ _ m e n u _ a r r o w [ d a t a - v - 7 b 3 6 8 b 0 c ] { p o s i t i o n : a b s o l u t e ; r i g h t : 5 0 % ; b o t t o m : 1 0 0 % ; w i d t h : 0 ; h e i g h t : 0 ; m a r g i n - r i g h t : - 9 p x ; c o n t e n t : \ ' \ ' ; p o i n t e r - e v e n t s : n o n e ; b o r d e r : s o l i d t r a n s p a r e n t ; b o r d e r - w i d t h : 9 p x ; b o r d e r - b o t t o m - c o l o r : v a r ( - - c o l o r - m a i n - b a c k g r o u n d ) } . a c t i o n - i t e m _ _ m e n u . m e n u - r i g h t [ d a t a - v - 7 b 3 6 8 b 0 c ] { r i g h t : 0 ; l e f t : a u t o ; t r a n s f o r m : n o n e } . a c t i o n - i t e m _ _ m e n u . m e n u - r i g h t . a c t i o n - i t e m _ _ m e n u _ a r r o w [ d a t a - v - 7 b 3 6 8 b 0 c ] { r i g h t : 1 3 p x ; m a r g i n - r i g h t
2019-06-04 14:50:12 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +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
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = r . a } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 9 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 2 9 3 6 7 d 9 8 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 9 9 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 4 a 4 2 c c 3 2 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 0 1 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 2 d f a f 5 b 6 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 0 3 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 8 c 7 f e f d 2 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 0 5 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 0 9 e 5 7 6 c 0 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 0 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 1 6 f 9 a 7 f d " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 0 9 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 3 a 8 9 e 6 1 5 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 1 1 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 1 7 3 2 c 1 4 8 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 1 3 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 3 5 8 5 7 6 b 8 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 1 5 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 3 3 4 a f 9 b 1 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 1 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 7 d 8 c 0 1 4 f " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 1 9 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 6 3 7 1 3 4 c 2 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 2 1 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 3 0 2 9 b d e 6 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 2 3 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 3 6 1 f d 1 0 7 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 2 5 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 7 7 4 9 4 b 7 0 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 2 2 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 1 e 3 e c e 1 5 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n . d ( e , " d i r e c t i v e " , ( f u n c t i o n ( ) { r e t u r n r } ) ) ;
2019-06-04 14:50:12 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 Georg Ehrke
2019-06-04 14:50:12 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author Georg Ehrke < oc . list @ georgehrke . com >
2019-06-04 14:50:12 +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
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2020-04-10 13:01:29 +03:00
var r = { inserted : function ( t ) { t . focus ( ) } } ; e . default = r } , function ( t , e , n ) { var r = n ( 230 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "45aebdd4" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 232 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "4dd3631b" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 234 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "d7dc05bc" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 239 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "704815e4" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 241 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "68ca4235" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 243 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "6e72f645" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 246 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "2c80b26e" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 248 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "fb56f796" , r , ! 0 , { } ) } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = n ( 44 ) , o = ( n ( 84 ) , n ( 122 ) , n ( 156 ) , n ( 18 ) , n ( 71 ) , n ( 22 ) , n ( 121 ) , n ( 33 ) , n ( 4 ) , n ( 19 ) , n ( 20 ) , n ( 21 ) , n ( 123 ) , n ( 45 ) ) , i = n . n ( o ) , a = n ( 53 ) , s = ( n ( 157 ) , n ( 23 ) , n ( 30 ) , { methods : { highlightText : function ( t , e ) { return e . length ? t . replace ( new RegExp ( e , "gi" ) , "<strong>" . concat ( e , "</strong>" ) ) : t } } } ) , c = { name : "AvatarSelectOption" , components : { Avatar : a . default } , mixins : [ s ] , props : { desc : { type : String , default : "" } , displayName : { type : String , required : ! 0 } , icon : { type : String , default : "" } , user : { type : String , default : "" } , isNoUser : { type : Boolean , default : ! 1 } , search : { type : String , default : "" } } , computed : { highlightedDisplayName : function ( ) { return this . highlightText ( i ( ) ( this . displayName ) , this . search ) } , highlightedDesc : function ( ) { return this . highlightText ( i ( ) ( this . desc ) , this . search ) } } } , l = ( n ( 158 ) , n ( 0 ) ) , u = n ( 81 ) , p = n . n ( u ) , d = Object ( l . a ) ( c , ( function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "span" , { staticClass : "option" } , [ n ( "Avatar" , { staticClass : "option__avatar" , attrs : { "display-name" : t . displayName , user : t . user , "is-no-user" : t . isNoUser , "disable-menu" : ! 0 , "disable-tooltip" : ! 0 } } ) , t . _v ( " " ) , n ( "div" , { staticClass : "option__desc" } , [ n ( "span" , { staticClass : "option__desc--lineone" , domProps : { innerHTML : t . _s ( t . highlightedDisplayName ) } } ) , t . _v ( " " ) , "" !== t . desc ? n ( "span" , { staticClass : "option__desc--linetwo" , domProps : { innerHTML : t . _s ( t . highlightedDesc ) } } ) : t . _e ( ) ] ) , t . _v ( " " ) , "" !== t . icon ? n ( "span" , { staticClass : "icon option__icon" , class : t . icon } ) : t . _e ( ) ] , 1 ) } ) , [ ] , ! 1 , null , "808e3c40" , null ) ; "function" == typeof p . a && p ( ) ( d ) ; var f = d . exports , h = ( n ( 12 ) , { name : "EllipsisedOption" , mixins : [ s ] , props : { option : { type : [ String , Object ] , required : ! 0 , default : "" } , label : { type : String , default : "" } , search : { type : String , default : "" } } , computed : { name : function ( ) { return this . $parent . getOptionLabel ( this . option ) } , needsTruncate : function ( ) { return this . name && this . name . length >= 10 } , part1 : function ( ) { if ( this . needsTruncate ) { var t = Math . min ( Math . floor ( this . name . length / 2 ) , 10 ) ; return this . name . substr ( 0 , this . name . length - t ) } return this . name } , part2 : function ( ) { if ( this . needsTruncate ) { var t = Math . min ( Math . floor ( this . name . length / 2 ) , 10 ) ; return this . name . substr ( this . name . length - t ) } return "" } , highlightedPart1 : function ( ) { return this . highlightText ( i ( ) ( this . part1 ) , this . search ) } , highlightedPart2 : function ( ) { return this . highlightText ( i ( ) ( this . part2 ) , this . search ) } } } ) , m = ( n ( 160 ) , Object ( l . a ) ( h , ( function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "div" , { staticClass : "name-parts" , attrs : { title : t . name } } , [ n ( "span" , { staticClass : "name-parts__first" , domProps : { innerHTML : t . _s ( t . highlightedPart1 ) } } ) , t . _v ( " " ) , t . part2 ? n ( "span" , { staticClass : "name-parts__last" , domProps : { innerHTML : t . _s ( t . highlightedPart2 ) } } ) : t . _e ( ) ] ) } ) , [ ] , ! 1 , null , "2d5d34b0" , null ) . exports ) , v = n ( 32 ) , g = n ( 13 ) , b = n ( 125 ) ; 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 ) } var y = { name : "Multiselect" , componen
2019-06-04 14:50:12 +03:00
/ * *
2019-08-07 18:08:12 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
* @ 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
2019-08-07 18:08:12 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* 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/>.
*
* /
2020-04-10 13:01:29 +03:00
Object ( r . a ) ( k ) , e . default = k } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = { name : "Breadcrumb" , components : { Actions : n ( 38 ) . default } , props : { title : { type : String , required : ! 0 } , to : { type : String , default : void 0 } , href : { type : String , default : void 0 } , icon : { type : String , default : "" } , disableDrop : { type : Boolean , default : ! 1 } , forceMenu : { type : Boolean , default : ! 1 } , open : { type : Boolean , default : ! 1 } } , data : function ( ) { return { hovering : ! 1 } } , computed : { tag : function ( ) { return this . to ? "router-link" : "a" } } , methods : { onOpenChange : function ( t ) { this . $emit ( "update:open" , t ) } , dropped : function ( t ) { return ! this . disableDrop && ( this . $emit ( "dropped" , t , this . to || this . href ) , this . $parent . $emit ( "dropped" , t , this . to || this . href ) , this . hovering = ! 1 , ! 1 ) } , dragEnter : function ( t ) { this . disableDrop || ( this . hovering = ! 0 ) } , dragLeave : function ( t ) { this . disableDrop || t . target . contains ( t . relatedTarget ) || this . $refs . crumb . contains ( t . relatedTarget ) || ( this . hovering = ! 1 ) } } } , o = ( n ( 154 ) , n ( 0 ) ) , i = n ( 80 ) , a = n . n ( i ) , s = Object ( o . a ) ( r , ( function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "div" , { ref : "crumb" , staticClass : "crumb" , class : { "crumb--with-action" : t . $slots . default , "crumb--hovered" : t . hovering } , attrs : { draggable : "false" } , on : { dragstart : function ( t ) { t . preventDefault ( ) } , drop : function ( e ) { return e . preventDefault ( ) , t . dropped ( e ) } , dragover : function ( t ) { t . preventDefault ( ) } , dragenter : t . dragEnter , dragleave : t . dragLeave } } , [ t . title || t . icon ? n ( t . tag , { tag : "element" , attrs : { to : t . to , href : t . href } } , [ t . icon ? n ( "span" , { staticClass : "icon" , class : t . icon } ) : n ( "span" , [ t . _v ( t . _s ( t . title ) ) ] ) ] ) : t . _e ( ) , t . _v ( " " ) , n ( "Actions" , { ref : "actions" , attrs : { "force-menu" : t . forceMenu , open : t . open } , on : { "update:open" : t . onOpenChange } } , [ t . _t ( "default" ) ] , 2 ) ] , 1 ) } ) , [ ] , ! 1 , null , "7d9c1e9f" , null ) ; "function" == typeof a . a && a ( ) ( s ) ; var c = s . exports ;
/ * *
* @ copyright Copyright ( c ) 2020 Raimund Schlüßler < raimund . schluessler @ mailbox . org >
*
* @ author Raimund Schlüßler < raimund . schluessler @ mailbox . org >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* / e . d e f a u l t = c } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = n ( 4 4 ) , o = ( n ( 3 3 ) , n ( 1 2 4 ) ) , i = { 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 : n . n ( o ) . 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 , O b j e c t ] , 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 } } , 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 } } } , 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 e = 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 ( e ) t r y { v a r n = n e w D a t e ( n e w D a t e ( e ) . 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 ( n ) } c a t c h ( n ) { c o n s o l e . e r r o r ( " I n v a l i d v a l u e " , e , 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 e = 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 ( e ) t r y { v a r n = n e w D a t e ( n e w D a t e ( e ) . 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 ( n ) } c a t c h ( n ) { c o n s o l e . e r r o r ( " I n v a l i d v a l u e " , e , t ) } } } } , a = n ( 0 ) , s = n ( 7 8 ) , c = n . n ( s ) , l = O b j e c t ( a . a ) ( i , ( f u n c t i o n ( ) { v a r t = t h i s , e = 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 | | e ) ( " 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 , 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 " : ! 1 } , 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 ( e ) { 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 ( e , n ) { r e t u r n { k e y : n , f n : f u n c t i o n ( e ) { r e t u r n [ t . _ t ( n , n u l l , n u l l , e ) ] } } } ) ) ] , 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 ; n ( 1 4 6 ) ,
2019-08-07 18:08:12 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-08-07 18:08:12 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2019-08-07 18:08:12 +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
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2020-04-10 13:01:29 +03:00
Object ( r . a ) ( u ) , e . default = u } , function ( t , e , n ) { "use strict" ; n . r ( e ) , n ( 15 ) , n ( 18 ) , n ( 4 ) , n ( 19 ) , n ( 120 ) , n ( 20 ) , n ( 24 ) ; var r = { name : "ActionLink" , mixins : [ n ( 26 ) . a ] , props : { href : { type : String , default : "#" , required : ! 0 , validator : function ( t ) { try { return new URL ( t ) } catch ( e ) { return t . startsWith ( "#" ) || t . startsWith ( "/" ) } } } , download : { type : String , default : null } , target : { type : String , default : "_self" , validator : function ( t ) { return [ "_blank" , "_self" , "_parent" , "_top" ] . indexOf ( t ) > - 1 } } } } , o = ( n ( 148 ) , n ( 0 ) ) , i = n ( 79 ) , a = n . n ( i ) , s = Object ( o . a ) ( r , ( function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "li" , [ n ( "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 } } , [ n ( "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 ? n ( "p" , [ n ( "strong" , { staticClass : "action-link__title" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . title ) + "\n\t\t\t" ) ] ) , t . _v ( " " ) , n ( "br" ) , t . _v ( " " ) , n ( "span" , { staticClass : "action-link__longtext" , domProps : { textContent : t . _s ( t . text ) } } ) ] ) : t . isLongText ? n ( "p" , { staticClass : "action-link__longtext" , domProps : { textContent : t . _s ( t . text ) } } ) : n ( "span" , { staticClass : "action-link__text" } , [ t . _v ( t . _s ( t . text ) ) ] ) , t . _v ( " " ) , t . _e ( ) ] , 2 ) ] ) } ) , [ ] , ! 1 , null , "2460fb77" , null ) ; "function" == typeof a . a && a ( ) ( s ) ; var c = s . exports ;
2019-06-04 14:50:12 +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
2020-04-10 13:01:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* 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/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = c } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = { n a m e : " A c t i o n R o u t e r " , m i x i n s : [ n ( 2 6 ) . 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 } } } , o = ( n ( 1 5 0 ) , n ( 0 ) ) , i = O b j e c t ( o . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " l i " , [ n ( " 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 ( " 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 ? n ( " p " , [ n ( " 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 ( " " ) , n ( " b r " ) , t . _ v ( " " ) , n ( " 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 ? n ( " 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 ) } } ) : n ( " 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 , " 7 d e a 1 b 0 e " , n u l l ) . e x p o r t s ; e . d e f a u l t = i } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = n ( 5 ) , o = n e w ( n . n ( r ) . a ) ( { d a t a : f u n c t i o n ( ) { r e t u r n { i s M o b i l e : ! 1 } } , w a t c h : { i s M o b i l e : f u n c t i o n ( t ) { t h i s . $ e m i t ( " c h a n g e d " , t ) } } , c r e a t e d : 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 ( " 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 ) , t h i s . h a n d l e W i n d o w R e s i z e ( ) } , 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 ) } , m e t h o d s : { 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 ( ) { t h i s . i s M o b i l e = d o c u m e n t . d o c u m e n t E l e m e n t . c l i e n t W i d t h < 1 0 2 4 } } } ) ; e . 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 { i s M o b i l e : ! 1 } } , m o u n t e d : f u n c t i o n ( ) { o . $ o n ( " c h a n g e d " , t h i s . o n I s M o b i l e C h a n g e d ) , t h i s . i s M o b i l e = o . i s M o b i l e } , b e f o r e D e s t r o y : f u n c t i o n ( ) { o . $ o f f ( " c h a n g e d " , t h i s . o n I s M o b i l e C h a n g e d ) } , m e t h o d s : { o n I s M o b i l e C h a n g e d : f u n c t i o n ( t ) { t h i s . i s M o b i l e = t } } } } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 6 8 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 5 2 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 5 3 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 5 4 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 8 2 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 5 5 ) } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 4 7 ) ; n . n ( r ) . a } , f u n c t i o n ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . p u s h ( [ t . i , " l i . a c t i v e [ d a t a - v - 3 3 b a 3 3 0 2 ] { b o x - s h a d o w : i n s e t 4 p x 0 v a r ( - - c o l o r - p r i m a r y ) } . a c t i o n - - d i s a b l e d [ d a t a - v - 3 3 b a 3 3 0 2 ] { p o i n t e r - e v e n t s : n o n e ; o p a c i t y : . 5 } . a c t i o n - - d i s a b l e d [ d a t a - v - 3 3 b a 3 3 0 2 ] : h o v e r , . a c t i o n - - d i s a b l e d [ d a t a - v - 3 3 b a 3 3 0 2 ] : f o c u s { c u r s o r : d e f a u l t ; o p a c i t y : . 5 } . a c t i o n - - d i s a b l e d * [ d a t a - v - 3 3 b a 3 3 0 2 ] { o p a c i t y : 1 ! i m p o r t a n t } . a c t i o n - b u t t o n [ d a t a - v - 3 3 b a 3 3 0 2 ] { d i s p l a y : f l e x ; a l i g n - i t e m s : f l e x - s t a r t ; w i d t h : 1 0 0 % ; h e i g h t : a u t o ; m a r g i n : 0 ; p a d d i n g : 0 ; p a d d i n g - r i g h t : 1 4 p x ; c u r s o r : p o i n t e r ; w h i t e - s p a c e : n o w r a p ; o p a c i t y : . 7 ; c o l o r : v a r ( - - c o l o r - m a i n - t e x t ) ; b o r d e r : 0 ; b o r d e r - r a d i u s : 0 ; 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 ; b o x - s h a d o w : n o n e ; f o n t - w e i g h t : n o r m a l ; l i n e - h e i g h t : 4 4 p x } . a c t i o n - b u t t o n [ d a t a - v - 3 3 b a 3 3 0 2 ] : h o v e r , . a c t i o n - b u t t o n [ d a t a - v - 3 3 b a 3 3 0 2 ] : f o c u s { o p a c i t y : 1 } . a c t i o n - b u t t o n > s p a n [ d a t a - v - 3 3 b a 3 3 0 2 ] { c u r s o r : p o i n t e r ; w h i t e - s p a c e : n o w r a p } . a c t i o n - b u t t o n _ _ i c o n [ d a t a - v - 3 3 b a 3 3 0 2 ] { w i d t h : 4 4 p x ; h e i g h t : 4 4 p x ; o p a c i t y : 1 ; b a c k g r o u n d - p o s i t i o n : 1 4 p x c e n t e r ; b a c k g r o u n d - s i z e : 1 6 p x } . a c t i o n - b u t t o n p [ d a t a - v - 3 3 b a 3 3 0 2 ] { w i d t h : 1 5 0 p x ; p a d d i n g : 7 p x 0 ; m a r g i n : a u t o ; c u r s o r : p o i n t e r ; t e x t - a l i g n : l e f t ; l i n e - h e i g h t : 1 . 6 e m } . a c t i o n - b u t t o n _ _ l o n g t e x t [ d a t a - v - 3 3 b a 3 3 0 2 ] { c u r s o r : p o i n t e r ; w h i t e - s p a c e : p r e - w r a p } . a c t i o n - b u t t o n _ _ t i t l e [ d a t a - v - 3 3 b a 3 3 0 2 ] { f o n t - w e i g h t : b o l d } \ n " , " " ] ) , t . e x p o r t s = e } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 4 8 ) ; n . n ( r ) . a } , f u n c t i o n ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . p u s h ( [ t . i , " . p o p o v e r [ d a t a - v - 7 1 f 0 1 3 a a ] { p a d d i n g : 0 p x ! i m p o r t a n t } \ n " , " " ] ) , t . e x p o r t s = e } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n . d ( e , " 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 o } ) ) ; v a r r = ( n ( 1 5 2 ) , n ( 0 ) ) , o = O b j e c t ( r . a ) ( { n a m e : " A p p N a v i g a t i o n T o g g l e " , m e t h o d s : { e m i t C l i c k : f u n c t i o n ( ) { t h i s . $ e m i t ( " c l i c k " ) } } } , ( f u n c t i o n ( ) { v a r t = t h i s , e = 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 | | e ) ( " a " , { a t t r s : { i d : " a p p - n a v i g a t i o n - t o g g l e " , t a b i n d e x : " 0 " , h r e f : " # " } , 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 . e m i t C l i c k ( e ) } , k e y d o w n : f u n c t i o n ( e ) { r e t u r n ! e . t y p e . i n d e x O f ( " k e y " ) & & t . _ k ( e . k e y C o d e , " s p a c e " , 3 2 , e . k e y , [ " " , " S p a c e b a r " ] ) | | e . c t r l K e y | | e . s h i f t K e y | | e . a l t K e y | | e . m e t a K e y ? n u l l : ( e . p r e v e n t D e f a u l t ( ) , t . e m i t C l i c k ( e ) ) } } } ) } ) , [ ] , ! 1 , n u l l , " 3 3 8 2 8 0 f 2 " , n u l l ) . e x p o r t s ; e . d e f a u l t = o } , f u n c t i o n ( t , e ) { } , f u n c t i o n ( t , e ) { } , f u n c t i o n ( t , e ) { } , f u n c t i o n ( t , e ) { } , f u n c t i o n ( t , e ) { } ,
2019-06-04 14:50:12 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
* @ 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/>.
*
2020-04-10 13:01:29 +03:00
* /
e . 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 , e , n ) { "use strict" ; n . r ( e ) ; var r = n ( 14 ) , o = n ( 43 ) , i = n ( 70 ) , a = { name : "AppNavigationIconCollapsible" , props : { open : { type : Boolean , default : ! 0 } } , methods : { onClick : function ( t ) { this . $emit ( "click" , t ) } } } , s = ( n ( 218 ) , n ( 0 ) ) , c = Object ( s . a ) ( a , ( function ( ) { var t = this . $createElement ; return ( this . _self . _c || t ) ( "button" , { staticClass : "icon-collapse" , class : { "icon-collapse--rotated" : this . open } , on : { click : this . onClick } } ) } ) , [ ] , ! 1 , null , "24528cd0" , null ) . exports , l = n ( 119 ) , u = { name : "AppNavigationItem" , components : { Actions : o . a , ActionButton : i . a , AppNavigationIconCollapsible : c } , directives : { ClickOutside : r . directive } , mixins : [ l . default ] , props : { title : { type : String , required : ! 0 } , icon : { type : String , default : "" } , loading : { type : Boolean , default : ! 1 } , to : { type : [ String , Object ] , default : "" } , exact : { type : Boolean , default : ! 1 } , allowCollapse : { type : Boolean , default : ! 1 } , editable : { type : Boolean , default : ! 1 } , editLabel : { type : String , default : "" } , editPlaceholder : { type : String , default : "" } , pinned : { type : Boolean , default : ! 1 } , undo : { type : Boolean , default : ! 1 } , open : { type : Boolean , default : ! 1 } , menuOpen : { type : Boolean , default : ! 1 } , forceMenu : { type : Boolean , default : ! 1 } , menuIcon : { type : String , default : void 0 } } , data : function ( ) { return { newTitle : "" , opened : this . open , editing : ! 1 } } , computed : { collapsible : function ( ) { return this . allowCollapse && ! ! this . $slots . default } , isIconShown : function ( ) { return ! this . collapsible || this . collapsible && ! this . isMobile } , canHaveChildren : function ( ) { return "AppNavigationItem" !== this . $parent . $options . _componentTag } , hasChildren : function ( ) { return ! ! this . $slots . default } , hasUtils : function ( ) { return ! this . editing && ! ! ( this . $slots . actions || this . $slots . counter || this . editable || this . undo ) } , navElement : function ( ) { return this . to ? { is : "router-link" , tag : "li" , to : this . to , exact : this . exact } : { is : "li" } } , isActive : function ( ) { return this . to && this . $route === this . to } } , watch : { open : function ( t ) { this . opened = t } } , methods : { onMenuToggle : function ( t ) { this . $emit ( "update:menuOpen" , t ) } , toggleCollapse : function ( ) { this . opened = ! this . opened , this . $emit ( "update:open" , this . opened ) } , onClick : function ( t ) { this . $emit ( "click" , t ) } , handleEdit : function ( ) { var t = this ; this . newTitle = this . title , this . editing = ! 0 , this . onMenuToggle ( ! 1 ) , this . $nextTick ( ( function ( ) { t . $refs . inputTitle . focus ( ) } ) ) } , cancelEdit : function ( ) { this . editing = ! 1 } , handleRename : function ( ) { this . $emit ( "update:title" , this . newTitle ) , this . newTitle = "" , this . editing = ! 1 } , handleUndo : function ( ) { this . $emit ( "undo" ) } } } , p = ( n ( 220 ) , n ( 137 ) ) , d = n . n ( p ) , f = Object ( s . a ) ( u , ( function ( ) { var t , e = this , n = e . $createElement , r = e . _self . _c || n ; return r ( "nav-element" , e . _b ( { staticClass : "app-navigation-entry" , class : { "app-navigation-entry--no-icon" : ! e . isIconShown , "app-navigation-entry--opened" : e . opened , "app-navigation-entry--pinned" : e . pinned , "app-navigation-entry--editing" : e . editing , "app-navigation-entry--deleted" : e . undo , "app-navigation-entry--collapsible" : e . collapsible , active : e . isActive } , attrs : { title : e . title } } , "nav-element" , e . navElement , ! 1 ) , [ e . undo || e . editing ? e . _e ( ) : r ( "a" , { staticClass : "app-navigation-entry-link" , attrs : { href : "#" } , on : { click : e . onClick } } , [ r ( "div" , { staticClass : "app-navigation-entry-icon" , class : ( t = { "icon-loading-small" : e . loading } , t [ e . icon ] = e . icon && e . isIconShown , t ) } , [ e . loading ? e . _e ( ) : e . _t ( "icon" ) ] , 2 ) , e . _v ( " " ) , r ( "span" , { staticClass : "app-navigation-entry__title" } , [ e . _v ( e . _s ( e . title ) ) ] ) ] ) , e . _v ( " " ) , e . collapsible ? r ( "AppNavigationIconCollapsible" , { attrs : { open : e . opened } , on : { click : function ( t ) { return t . preventDefault ( ) , t . stopPropagation ( ) , e . toggleCollapse ( t ) } } } ) : e . _e ( ) , e . _v ( " " ) , e . undo ? r ( "div" , { staticClass : "app-navigation-entry__deleted" } , [ r ( "div" , { staticClass : "app-navigation-entry__deleted-description" } , [ e . _v ( "\n\t\t\t" + e . _s ( e . title ) + "\n\t\t" ) ] ) ] ) : e . _e ( ) , e . _v ( " " ) , e . hasUtils ? r ( "div" , { staticClass : "app-navigation-entry__utils" } , [ e . _t ( "counter" ) , e . _v ( " " ) , r ( "Actions" , { attrs : { "menu-align" : " righ
2019-05-17 10:49:47 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-05-17 10:49:47 +03:00
*
2020-04-10 13:01:29 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2019-05-17 10:49:47 +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
2019-06-04 14:50:12 +03:00
* 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/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = h } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = n ( 4 4 ) , o = ( n ( 1 5 ) , n ( 3 3 ) , n ( 8 3 ) ) , i = n . n ( o ) , a = n ( 3 8 ) , s = n ( 8 8 ) , c = n ( 3 2 ) , l = n ( 6 ) , u = n ( 1 3 ) ;
2019-08-07 18:08:12 +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
2020-04-10 13:01:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-08-07 18:08:12 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
2020-04-10 13:01:29 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* / f u n c t i o n p ( t , e ) { v a r n , r , o , i = e ; t h i s . s t a r t = f u n c t i o n ( ) { o = ! 0 , r = n e w D a t e , n = s e t T i m e o u t ( t , i ) } , t h i s . p a u s e = f u n c t i o n ( ) { o = ! 1 , c l e a r T i m e o u t ( n ) , i - = n e w D a t e - r } , t h i s . c l e a r = f u n c t i o n ( ) { o = ! 1 , c l e a r T i m e o u t ( n ) , i = 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 o & & ( t h i s . p a u s e ( ) , t h i s . s t a r t ( ) ) , i } , 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 o } , t h i s . s t a r t ( ) } v a r d = { 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 } } , 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 ) } , 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 i . 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 ( e ) { t . h a n d l e S w i p e ( e ) } ) ) , 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 ) } , 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 ( ) } , 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 e = 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 ( ) { e . $ 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 p ( ( 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 = ( n ( 2 4 2 ) , n ( 0 ) ) , h = n ( 1 4 2 ) , m = n . n ( h ) , v = O b j e c t ( f . a ) ( d , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " t r a n s i t i o n " , { a t t r s : { n a m e : " f a d e " } } , [ n ( " 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 } } , [ n ( " 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 " } } , [ n ( " 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 ( ) ? n ( " 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 ( " " ) , n ( " d i v " , { s t a t i c C l a s s : " i c o n s - m e n u " } , [ t . h a s N e x t & & t . e n a b l e S l i d e s h o w ? n ( " b u t t o n " , { d i r e c t i v e s : [ { n a m e : " t o o l t i p " , r a w N a m e : " v - t o o l t i p . a u t o " , v a l u e : t . p l a y P a u s e T i t l e , e x p r e s s i o n : " p l a y P a u s e T i t l e " , m o d i f i e r s : { a u t o : ! 0 } } ] , s t a t i c C l a s s : " p l a y - p a u s
2019-08-07 18:08:12 +03:00
/ * *
2020-03-10 21:46:25 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-08-07 18:08:12 +03:00
*
2020-03-10 21:46:25 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2019-08-07 18:08:12 +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
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / O b j e c t ( r . a ) ( g ) , e . d e f a u l t = g } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n ( 4 6 ) , n ( 2 4 4 ) , n ( 2 2 ) , n ( 3 3 ) , n ( 4 ) , n ( 6 8 ) , n ( 6 9 ) ; v a r r = n ( 3 2 ) , o = n ( 1 1 4 ) , i = n ( 5 2 ) , a = n . n ( i ) , s = n ( 1 6 6 ) ; f u n c t i o n c ( t , e , n , r , o , i , a ) { t r y { v a r s = t [ i ] ( a ) , c = s . v a l u e } c a t c h ( t ) { r e t u r n v o i d n ( t ) } s . d o n e ? e ( c ) : P r o m i s e . r e s o l v e ( c ) . t h e n ( r , o ) }
2020-01-16 02:03:29 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
2020-01-16 02:03:29 +03:00
*
2020-04-10 13:01:29 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2020-01-16 02:03:29 +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
2020-03-10 21:46:25 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2020-01-16 02:03:29 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
2020-03-10 21:46:25 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / v a r l = f u n c t i o n ( t ) { v a r e = f u n c t i o n t ( e ) { v a r n = { } ; i f ( 1 = = = e . n o d e T y p e ) { i f ( e . a t t r i b u t e s . l e n g t h > 0 ) { n [ " @ a t t r i b u t e s " ] = { } ; f o r ( v a r r = 0 ; r < e . a t t r i b u t e s . l e n g t h ; r + + ) { v a r o = e . a t t r i b u t e s . i t e m ( r ) ; n [ " @ a t t r i b u t e s " ] [ o . n o d e N a m e ] = o . n o d e V a l u e } } } e l s e 3 = = = e . n o d e T y p e & & ( n = e . n o d e V a l u e ) ; i f ( e . h a s C h i l d N o d e s ( ) ) f o r ( v a r i = 0 ; i < e . c h i l d N o d e s . l e n g t h ; i + + ) { v a r a = e . c h i l d N o d e s . i t e m ( i ) , s = a . n o d e N a m e ; i f ( v o i d 0 = = = n [ s ] ) n [ s ] = t ( a ) ; e l s e { i f ( v o i d 0 = = = n [ s ] . p u s h ) { v a r c = n [ s ] ; n [ s ] = [ ] , n [ s ] . p u s h ( c ) } n [ s ] . p u s h ( t ( a ) ) } } r e t u r n n } ( f u n c t i o n ( t ) { v a r e = n u l l ; t r y { e = ( 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 e } ( t ) ) [ " d : m u l t i s t a t u s " ] [ " d : r e s p o n s e " ] , n = [ ] ; f o r ( v a r r i n e ) { v a r o = e [ r ] [ " d : p r o p s t a t " ] ; " H T T P / 1 . 1 2 0 0 O K " = = = o [ " d : s t a t u s " ] [ " # t e x t " ] & & n . p u s h ( { i d : p a r s e I n t ( o [ " d : p r o p " ] [ " o c : i d " ] [ " # t e x t " ] ) , d i s p l a y N a m e : o [ " 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 " = = = o [ " 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 " = = = o [ " 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 " = = = o [ " 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 n } , u = f u n c t i o n ( ) { v a r t , e = ( 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 : 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 e = t . s e n t , t . a b r u p t ( " r e t u r n " , l ( e . 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 e = t h i s , n = 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 ( r , o ) { v a r i = t . a p p l y ( e , n ) ; f u n c t i o n a ( t ) { c ( i , r , o , a , s , " n e x t " , t ) } f u n c t i o n s ( t ) { c ( i , r , o , 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 e . a p p l y ( t h i s , a r g u m e n t s ) } } ( ) , p = n ( 6 ) ; f u n c t i o n d ( t , e , n , r , o , i , a ) { t r y { v a r s = t [ i ] ( a ) , c = s . v a l u e } c a t c h ( t ) { r e t u r n v o i d n ( t ) } s . d o n e ? e ( c ) : P r o m i s e . r e s o l v e ( c ) . t h e n ( r , o ) } 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 : o . d e f a u l t } , m i x i n s : [ r . 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 ( p . 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 , e = 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 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 : r e t u r n t . p r e v = 0 , t . n e x t = 3 , u ( ) ; c a s e 3 : n = t . s e n t , e . t a g s = n , 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 e = t h i s , n = 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 ( r , o ) { v a r i = t . a p p l y ( e , n ) ; f u n c t i o n a ( t ) { d ( i , r , o , a , s , " n e x t " , t ) } f u n c t i o n s ( t ) { d ( i , r , o , 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 ( e ) { 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 = = = e } ) ) } ) ) : t h i s . t a g s . f i n d ( ( f u n c t i o n ( e ) { r e t u r n e . 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 e = t . d i s p l a y N a m e , n = t . u s e r V i s i b l e , r = t . u s e r A s s i g n a b l e ; r e t u r n ! 1 = = = n ? O b j e c t ( p . b ) ( " { t a g } ( i n v i s i b l e ) " , { t a g : e } ) : ! 1 = = = r ? O b j e c t ( p . b ) ( " { t a g } ( r e s t r i c t e d ) " , { t a g : e } ) : e } } } , h = n ( 0 ) , m = n ( 1 4 3 ) , v = n . n ( m ) , g = O b j e c t ( h . a ) ( f , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " 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 ( e ) { r e t u r n [ t . _ v ( "
2019-10-13 19:26:09 +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
2020-04-10 13:01:29 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
* / e . d e f a u l t = b } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = { 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 } } } , o = ( n ( 2 2 2 ) , n ( 0 ) ) , i = O b j e c t ( o . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " 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 " } , [ n ( " 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 ( e ) { 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 ; e . d e f a u l t = i } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n ( 1 8 ) , n ( 4 ) , n ( 1 9 ) , n ( 2 0 ) , n ( 2 4 ) ; v a r r = n ( 6 2 ) , o = n ( 5 3 ) , i = { 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 : r . d e f a u l t , A v a t a r : o . 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 : " " } , u s e r : { t y p e : S t r i n g , d e f a u l t : " " } , 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 } , u r l : { t y p e : S t r i n g , d e f a u l t : " " } , 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 } } , c o m p u t e d : { i s U s e r 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 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 . a v a t a r I m a g e ) , ! 0 } c a t c h ( t ) { r e t u r n ! 1 } } , c o m p o n e n t T y p e : f u n c t i o n ( ) { r e t u r n t h i s . u r l ? " d i v " : " a " } , l i n k O r N o t : f u n c t i o n ( ) { r e t u r n " " ! = = t h i s . u r l ? { 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 v o i d 0 = = = t h i s . $ s l o t s . d e f a u l t } } , 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 ) } } } , a = ( n ( 2 4 7 ) , n ( 0 ) ) , s = n ( 1 4 5 ) , c = n . n ( s ) , l = O b j e c t ( a . a ) ( i , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " 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 - p o p o v 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 , d i s a b l e d : t . p o p o v e r E m p t y } , 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 } } , [ n ( " 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 l a s s : t . p r i m a r y ? " u s e r - b u b b l e - p r i m a r y " : " " , a t t r s : { s l o t : " t r i g g e r " } , s l o t : " t r i g g e r " } , " d i v " , t . l i n k O r N o t , ! 1 ) , [ n ( " A v a t a r " , { s t a t i c C l a s s : " a v a t a r " , a t t r s : { u r l : ! t . i s U s e r A v a t a r & & t . i s I c o n 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 U s e r A v a t a r | | t . i s I c o n U r l ? v o i d 0 : t . a v a t a r I m a g e , u s e r : t . i s U s e r A v a t a r ? t . u s e r : v o i d 0 , " d i s p l a y - n a m e " : t . i s U s e r A v a t a r ? t . d i s p l a y N a m e : v o i d 0 , s i z e : 1 6 , " 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 } } ) , t . _ v ( " " ) , n ( " h 6 " , { s t a t i c C l a s s : " u s e r " } , [ t . _ v ( " \ n \ t \ t \ t " + t . _ s ( t . d i s p l a y N a m e ? t . d i s p l a y N a m e : t . u s e r ) + " \ n \ t \ t " ) ] ) ] , 1 ) , t . _ v ( " " ) , t . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 6 9 b 4 0 e 9 5 " , 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 ;
2019-08-07 18:08:12 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2019 Marco Ambrosini < marcoambrosini @ pm . me >
2019-08-07 18:08:12 +03:00
*
2020-04-10 13:01:29 +03:00
* @ author Marco Ambrosini < marcoambrosini @ pm . me >
2019-08-07 18:08:12 +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
2020-03-10 21:46:25 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-08-07 18:08:12 +03:00
* 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/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = u } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n ( 3 3 ) , n ( 2 8 ) ; v a r r = n ( 1 6 ) , o = n ( 1 7 ) , i = { n a m e : " A c t i o n C h e c k b o x " , m i x i n s : [ r . 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 ( o . 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 = ( n ( 1 9 6 ) , n ( 0 ) ) , s = n ( 1 3 1 ) , c = n . n ( s ) , l = O b j e c t ( a . a ) ( i , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " l i " , { 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 } } , [ n ( " 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 " } , [ n ( " 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 ( e ) { r e t u r n ! e . t y p e . i n d e x O f ( " k e y " ) & & t . _ k ( e . k e y C o d e , " e n t e r " , 1 3 , e . k e y , " E n t e r " ) | | e . c t r l K e y | | e . s h i f t K e y | | e . a l t K e y | | e . m e t a K e y ? n u l l : ( e . 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 ( e ) ) } , c h a n g e : t . o n C h a n g e } } ) , t . _ v ( " " ) , n ( " 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 4 7 0 f 0 6 9 " , 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 ;
2019-06-04 14:50:12 +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/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = u } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = { 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 } } } , o = n ( 0 ) , i = n ( 1 4 1 ) , a = n . n ( i ) , s = O b j e c t ( o . a ) ( 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 ) ( " d i v " , { c l a s s : " a p p - " + t h i s . a p p N a m e , a t t r s : { i d : " c o n t e n t " } } , [ t h i s . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 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 a . a & & a ( ) ( s ) ; v a r c = s . e x p o r t s ;
/ *
* @ 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/>.
* / e . d e f a u l t = c } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n ( 3 3 ) ; v a r r = { 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 } } } , o = ( n ( 2 3 3 ) , n ( 0 ) ) , i = O b j e c t ( o . a ) ( 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 ) ( " s e c t i o n " , { 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 h i s . i s A c t i v e , e x p r e s s i o n : " 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 . n a m e , t a b i n d e x : " 0 " , r o l e : " t a b p a n e l " } } , [ t h i s . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 6 c 2 d 9 4 7 c " , n u l l ) . e x p o r t s ; e . d e f a u l t = i } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n ( 4 6 ) , n ( 2 2 8 ) , n ( 1 5 ) , n ( 1 2 ) , n ( 2 8 ) ; v a r r = n ( 5 ) , o = n . n ( r ) , i = n ( 3 8 ) , a = n ( 1 0 5 ) , s = n ( 3 2 ) , c = 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 ( ) & & - 1 = = = t . i n d e x O f ( " " ) } , l = { n a m e : " A p p S i d e b a r " , c o m p o n e n t s : { A c t i o n s : i . d e f a u l t } , d i r e c t i v e s : { f o c u s : a . d e f a u l t } , m i x i n s : [ s . a ] , 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 : " " } , t i t l 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 } , t i t l e 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 } , t i t l e 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 : " " } , s u b t i t l e : { t y p e : S t r i n g , d e f a u l t : " " } , b a c k g r o u n d : { t y p e : S t r i n g , d e f a u l t : " " } , s t a r r e d : { t y p e : B o o l e a n , d e f a u l t : n u l l } , s t a r 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 } , c o m p a c t : { 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 } } , 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 : " " , i s S t a r r e d : t h i s . s t a r r e d , c h i l d r e n : [ ] } } , c o m p u t e d : { c a n S t a r : f u n c t i o n ( ) { r e t u r n n u l l ! = = t h i s . i s S t a r r e d } , h a s F i g u r e : f u n c t i o n ( ) { r e t u r n t h i s . $ s l o t s . h e a d e r | | t h i s . b a c k g r o u n 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 } , h a s F i g u r e C l i c k L i s t e n e r : f u n c t i o n ( ) { r e t u r n t h i s . $ l i s t e n e r s [ " f i g u r e - c l i c k " ] } , 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 ( e ) { r e t u r n e . 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 ( ) } , s t a r r e d : f u n c t i o n ( ) { t h i s . i s S t a r r e d = t h i s . s t a r r e d } , 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 : { c l o s e S i d e b a r : f u n c t i o n ( t ) { t h i s . $ e m i t ( " c l o s e " , t ) } , o n F i g u r e C l i c k : f u n c t i o n ( t ) { t h i s . $ e m i t ( " f i g u r e - c l i c k " , t ) } , s e t A c t i v e : f u n c t i o n ( t ) { v a r e = t . t a r g e t . c l o s e s t ( " a " ) . d a t a s e t . i d ; t h i s . a c t i v e T a b = e , t h i s . $ e m i t ( " u p d a t e : a c t i v e " , e ) } , 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 . a c t i v e T a b = 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 . $ 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 ) ) , 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 . a c t i v e T a b = 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 . $ 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 ) ) , 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 . a c t i v e T a b = t h i s . t a b s [ 0 ] . i d , 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 ) , 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 . a c t i v e T a b = 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 . $ 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 ) , 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 ( e ) { r e t u r n e . 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 : " " } , t o g g l e S t a r r e d : f u n c t i o n ( ) { t h i s . i s S t a r r e d = ! t h i s . i s S t a r r e d , t h i s . $ e m i t ( " u p d a t e : s t a r r e d " , t h i s . i s S t a r r e d ) } , u p d a t e T a b s : f u n c t i o n ( ) { v a r t = t h i s . $ c h i l d r e n . f i l t e r ( ( f u n c t i o n ( t ) { r e t u r n t . n a m e & & " s t r i n g " = = t y p e o f t . n a m e & & c ( t . i d ) & & c ( t . i c o n ) } ) ) ; 0 ! = = t . l e n g t h & & t . l e n g t h ! = = t h i s . $ c h i l d r e n . l e n g t h & & o . 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 . " ) , t h i s . t a b s = t . s o r t ( ( f u n c t i o n ( t , e ) { v a r n = t . o r d e r | | 0 , r = e . o r d e r | | 0 ; r e t u r n n = = = r ? 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 , e . n a m e ) : n - r } ) ) , 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 ( ) } , o n T i t l e 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 i t l e " , t ) , t h i s . $ e m i t ( " u p d a t e : t i t l e " , t . t a r g e t . v a l u e ) } , o n S u b m i t T i t l e : f u n c t i o n ( t ) { t h i s . $ e m i t ( " s u b m i t - t i t l e " , t ) } , o n D i s m i s s E d i t i n g : f u n c t i o n ( ) { t h i s . $ e m i t ( " d i s m i s s - e d i t i n g " ) } } } , u = ( n ( 2 2 9 ) , n ( 2 3 1 ) , n ( 0 ) ) , p = n ( 1 3 8 ) , d = n . n ( p ) , f = O b j e c t ( u . a ) ( l , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " t r a n s i t i o n " , { a t t r s : { n a m e : " s l i d e - r i g h t " } } , [ n ( " a s i d e " , { a t t r s : { i d : " a p p - s i d
2020-03-10 21:46:25 +03:00
/ *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-06-04 14:50:12 +03:00
*
2020-03-10 21:46:25 +03:00
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
2019-06-04 14:50:12 +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
2020-03-10 21:46:25 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = h } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = ( n ( 2 2 6 ) , n ( 0 ) ) , o = O b j e c t ( r . a ) ( { n a m e : " 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 ( ) { 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 - s p a c e r " } ) } ) , [ ] , ! 1 , n u l l , " 4 2 1 9 5 c c 8 " , n u l l ) . e x p o r t s ; e . d e f a u l t = o } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = n ( 1 4 ) , o = n ( 6 ) , i = { d i r e c t i v e s : { C l i c k O u t s i d e : r . d i r e c t i v e } , 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 : ! 1 , d e f a u l t : O b j e c t ( o . b ) ( " S e t t i n g s " ) } } , d a t a : f u n c t i o n ( ) { r e t u r n { o p e n : ! 1 } } , m e t h o d s : { t o g g l e M e n u : f u n c t i o n ( ) { t h i s . o p e n = ! t h i s . o p e n } , c l o s e M e n u : f u n c t i o n ( ) { t h i s . o p e n = ! 1 } } } , a = ( n ( 2 2 4 ) , n ( 0 ) ) , s = O b j e c t ( a . a ) ( i , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " d i v " , { d i r e c t i v e s : [ { n a m e : " c l i c k - o u t s i d e " , r a w N a m e : " v - c l i c k - o u t s i d e " , v a l u e : t . c l o s e M e n u , e x p r e s s i o n : " c l o s e M e n u " } ] , c l a s s : { o p e n : t . o p e n } , a t t r s : { i d : " a p p - s e t t i n g s " } } , [ n ( " d i v " , { a t t r s : { i d : " a p p - s e t t i n g s - h e a d e r " } } , [ n ( " b u t t o n " , { s t a t i c C l a s s : " s e t t i n g s - b u t t o n " , o n : { c l i c k : t . t o g g l e M e n u } } , [ t . _ v ( " \ n \ t \ t \ t " + t . _ s ( t . t i t l e ) + " \ n \ t \ t " ) ] ) ] ) , t . _ v ( " " ) , n ( " t r a n s i t i o n " , { a t t r s : { n a m e : " s l i d e - u p " } } , [ n ( " 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 . o p e n , e x p r e s s i o n : " o p e n " } ] , a t t r s : { i d : " a p p - s e t t i n g s - c o n t e n t " } } , [ t . _ t ( " d e f a u l t " ) ] , 2 ) ] ) ] , 1 ) } ) , [ ] , ! 1 , n u l l , " 0 a f 1 7 7 d 6 " , n u l l ) . e x p o r t s ; e . d e f a u l t = s } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n ( 1 5 ) , n ( 1 8 ) , n ( 4 ) , n ( 1 9 ) , n ( 2 8 ) , n ( 2 0 ) , n ( 2 4 ) ; v a r r = n ( 1 6 ) , o = n ( 1 7 ) , i = { 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 : n ( 1 1 6 ) . d e f a u l t } , m i x i n s : [ r . 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 ( o . 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 " , " 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 " ] . 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 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 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 ) } } } , a = ( n ( 1 9 8 ) , n ( 0 ) ) , s = n ( 1 3 2 ) , c = n . n ( s ) , l = O b j e c t ( a . a ) ( i , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " l i " , { 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 } } , [ n ( " 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 } } , [ n ( " 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 ( " " ) , n ( " 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 ( e ) { r e t u r n e . p r e v e n t D e f a u l t ( ) , t . o n S u b m i t ( e ) } } } , [ t . i s D a t e P i c k e r T y p e ? n ( " 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 ) ) : [ n ( " 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 ( " " ) , n ( " 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 ( " " ) , n ( " 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 ) ] ) ] ) } ) , [ ] , ! 1 , n u l l , " 2 9 d e d 9 9 8 " , 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 ;
2020-03-10 21:46:25 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
2020-04-10 13:01:29 +03:00
* @ 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/>.
*
* / e . d e f a u l t = u } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n ( 8 4 ) , n ( 1 2 2 ) ; v a r r = { 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 : { } , m i x i n s : [ n ( 3 2 ) . a ] , 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 : " " } } , 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 } } } , o = ( n ( 2 4 5 ) , n ( 0 ) ) , i = n ( 1 4 4 ) , a = n . n ( i ) , s = O b j e c t ( o . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " 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 " } , [ n ( " 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 ? n ( " 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 . t ( " 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 . t i t l e } ) } } ) : t . _ e ( ) ] ) , t . _ v ( " " ) , t . h a s D e s c r i p t i o n ? n ( " 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 , " 4 1 7 5 9 d c b " , n u l l ) ; " f u n c t i o n " = = t y p e o f a . a & & a ( ) ( s ) ; v a r c = s . e x p o r t s ;
/ * *
* @ copyright Copyright ( c ) 2019 Greta Doci < gretadoci @ gmail . com >
*
* @ author Greta Doci < gretadoci @ gmail . com >
2019-06-04 14:50:12 +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
2020-03-10 21:46:25 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = c } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n ( 2 2 ) , n ( 4 ) , n ( 2 3 ) ; v a r r = n ( 1 6 5 ) , o = n ( 4 9 ) , i = n ( 3 2 ) , a = n ( 6 2 ) , 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 : r . 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 : [ i . 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 ( o . a ) ( 4 ) . m a p ( ( f u n c t i o n ( e ) { r e t u r n " # " + t . r g b T o H e x ( e . r ) + t . r g b T o H e x ( e . g ) + t . r g b T o H e x ( e . 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 e = t . t o S t r i n g ( 1 6 ) ; r e t u r n 1 = = = e . l e n g t h ? " 0 " + e : e } } } , c = ( n ( 2 4 0 ) , n ( 0 ) ) , l = n ( 1 4 0 ) , u = n . n ( l ) , p = O b j e c t ( c . a ) ( s , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " P o p o v e r " , t . _ g ( t . _ b ( { s c o p e d S l o t s : t . _ u ( [ { k e y : " t r i g g e r " , f n : f u n c t i o n ( ) { r e t u r n [ t . _ t ( " d e f a u l t " ) ] } , p r o x y : ! 0 } ] , n u l l , ! 0 ) } , " P o p o v e r " , t . $ a t t r s , ! 1 ) , t . $ l i s t e n e r s ) , [ t . _ v ( " " ) , n ( " d i v " , { s t a t i c C l a s s : " c o l o r - p i c k e r " } , [ n ( " t r a n s i t i o n " , { a t t r s : { n a m e : " s l i d e " , m o d e : " o u t - i n " } } , [ t . a d v a n c e d ? t . _ e ( ) : n ( " d i v " , { s t a t i c C l a s s : " c o l o r - p i c k e r - s i m p l e " } , t . _ l ( t . p a l e t t e , ( f u n c t i o n ( e , r ) { r e t u r n n ( " b u t t o n " , { k e y : r , s t a t i c C l a s s : " c o l o r - p i c k e r - s i m p l e - c o l o r - c i r c l e " , c l a s s : { " c o l o r - p i c k e r - s i m p l e - c o l o r - c i r c l e - - a c t i v e " : e = = = t . c u r r e n t C o l o r } , s t y l e : { " b a c k g r o u n d - c o l o r " : e } , o n : { c l i c k : f u n c t i o n ( n ) { r e t u r n t . p i c k C o l o r ( e ) } } } ) } ) ) , 0 ) , t . _ v ( " " ) , t . a d v a n c e d ? n ( " C h r o m e " , { s t a t i c C l a s s : " c o l o r - p i c k e r - a d v a n c e d " , a t t r s : { " d i s a b l e - a l p h a " : ! 0 , " d i s a b l e - f i e l d s " : ! 0 } , o n : { i n p u t : t . p i c k C o l o r } , m o d e l : { v a l u e : t . c u r r e n t C o l o r , c a l l b a c k : f u n c t i o n ( e ) { t . c u r r e n t C o l o r = e } , e x p r e s s i o n : " c u r r e n t C o l o r " } } ) : t . _ e ( ) ] , 1 ) , t . _ v ( " " ) , n ( " d i v " , { s t a t i c C l a s s : " c o l o r - p i c k e r - n a v i g a t i o n " } , [ t . a d v a n c e d ? n ( " b u t t o n " , { s t a t i c C l a s s : " c o l o r - p i c k e r - n a v i g a t i o n - b u t t o n b a c k " , o n : { c l i c k : t . h a n d l e B a c k } } ) : t . _ e ( ) , t . _ v ( " " ) , t . a d v a n c e d ? t . _ e ( ) : n ( " b u t t o n " , { s t a t i c C l a s s : " c o l o r - p i c k e r - n a v i g a t i o n - b u t t o n m o r e - s e t t i n g s " , o n : { c l i c k : t . h a n d l e M o r e S e t t i n g s } } ) , t . _ v ( " " ) , t . a d v a n c e d ? n ( " b u t t o n " , { s t a t i c C l a s s : " c o l o r - p i c k e r - n a v i g a t i o n - b u t t o n c o n f i r m " , o n : { c l i c k : t . h a n d l e C o n f i r m } } , [ t . _ v ( " \ n \ t \ t \ t \ t " + t . _ s ( t . t ( " C h o o s e " ) ) + " \ n \ t \ t \ t " ) ] ) : t . _ e ( ) ] ) ] , 1 ) ] ) } ) , [ ] , ! 1 , n u l l , " 6 8 a a 5 3 2 4 " , n u l l ) ; " f u n c t i o n " = = t y p e o f u . a & & u ( ) ( p ) ; v a r d = p . e x p o r t s ;
2020-03-10 21:46:25 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 Marco Ambrosini < marcoambrosini @ pm . me >
2019-06-04 14:50:12 +03:00
*
2020-03-10 21:46:25 +03:00
* @ author Marco Ambrosini < marcoambrosini @ pm . me >
2019-06-04 14:50:12 +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
2020-04-10 13:01:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /e.default=d},function(t,e,n){"use strict";n.r(e),n(120);var r={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 ) } } } , o = ( n ( 216 ) , n ( 0 ) ) , i = n ( 136 ) , a = n . n ( i ) , s = Object ( o . a ) ( r , ( function ( ) { var t = this . $createElement , e = this . _self . _c || t ; return e ( "div" , { staticClass : "app-navigation-entry__icon-bullet" , on : { click : this . onClick } } , [ e ( "div" , { style : { backgroundColor : this . formattedColor } } ) ] ) } ) , [ ] , ! 1 , null , "6d4e6158" , null ) ; "function" == typeof a . a && a ( ) ( s ) ; var c = s . exports ;
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2020-03-10 21:46:25 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
2020-03-10 21:46:25 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = c } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = { 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 } } } , o = ( n ( 2 1 4 ) , n ( 0 ) ) , i = n ( 1 3 5 ) , a = n . n ( i ) , s = O b j e c t ( o . a ) ( 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 ) ( " 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 , " 0 3 f 6 3 0 3 5 " , n u l l ) ; " f u n c t i o n " = = t y p e o f a . a & & a ( ) ( s ) ; v a r c = s . e x p o r t s ;
2019-06-04 14:50:12 +03:00
/ * *
2020-03-10 21:46:25 +03:00
* @ copyright Copyright ( c ) 2019 Marco Ambrosini < marcoambrosini @ pm . me >
2019-06-04 14:50:12 +03:00
*
2020-03-10 21:46:25 +03:00
* @ author Marco Ambrosini < marcoambrosini @ pm . me >
2019-06-04 14:50:12 +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
2020-03-10 21:46:25 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-06-04 14:50:12 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
2020-03-10 21:46:25 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = c } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = { 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 } } } , o = ( n ( 2 1 2 ) , n ( 0 ) ) , i = O b j e c t ( o . a ) ( 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 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 ; e . d e f a u l t = i } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = ( n ( 2 1 0 ) , n ( 0 ) ) , o = O b j e c t ( r . a ) ( { n a m e : " A p p N a v i g a t i o n " } , ( 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 : " v u e " , a t t r s : { i d : " a p p - n a v i g a t i o n " } } , [ t h i s . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 0 5 8 3 4 9 d 0 " , n u l l ) . e x p o r t s ; e . d e f a u l t = o } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = { n a m e : " A p p C o n t e n t L i s t " , p r o p s : { s e l e c t i o n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , s h o w D e t a i l s : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } } , o = n ( 0 ) , i = O b j e c t ( o . a ) ( 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 ) ( " d i v " , { s t a t i c C l a s s : " a p p - c o n t e n t - l i s t " , c l a s s : { s e l e c t i o n : t h i s . s e l e c t i o n , s h o w d e t a i l s : t h i s . s h o w D e t a i l s } } , [ t h i s . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , n u l l , n u l l ) . e x p o r t s ; e . d e f a u l t = i } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = n ( 0 ) , o = O b j e c t ( r . a ) ( { n a m e : " 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 ( ) { 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 - c o n t e n t - d e t a i l s " } , [ t h i s . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , n u l l , n u l l ) . e x p o r t s ; e . d e f a u l t = o } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = n ( 8 3 ) , o = n . n ( r ) , i = { n a m e : " A p p C o n t e n t " , 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 : n ( 1 3 0 ) . 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 e d : ! 1 } } , 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 . m c = n e w o . 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 " , ( f u n c t i o n ( e ) { t . h a n d l e S w i p e ( e ) } ) ) } , 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 ( ) } , 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 ) { t h i s . o p e n e d = t | | ! t h i s . o p e n e d , t h i s . o p e n e d ? d o c u m e n t . b o d y . c l a s s L i s t . a d d ( " n a v - o p e n " ) : d o c u m e n t . b o d y . c l a s s L i s t . r e m o v e ( " n a v - o p e n " ) } , h a n d l e S w i p e : f u n c t i o n ( t ) { v a r e = t . s r c E v e n t . p a g e X - t . d e l t a X , n = M a t h . a b s ( t . d e l t a X ) > 7 0 ; n & & e < 4 0 ? t h i s . t o g g l e N a v i g a t i o n ( ! 0 ) : t h i s . o p e n e d & & n & & e < 3 4 0 & & t h i s . t o g g l e N a v i g a t i o n ( ! 1 ) } } } , a = ( n ( 2 0 8 ) , n ( 0 ) ) , s = O b j e c t ( a . a ) ( i , ( 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 , e = t h i s . _ s e l f . _ c | | t ; r e t u r n e ( " m a i n " , { s t a t i c C l a s s : " n o - s n a p p e r " , s t y l e : t h i s . o p e n e d ? " t r a n s f o r m : t r a n s l a t e X ( 3 0 0 p x ) " : " " , a t t r s : { i d : " a p p - c o n t e n t " } } , [ 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 : { " a r i a - e x p a n d e d " : t h i s . o p e n e d , " a r i a - c o n t r o l s " : " a p p - n a v i g a t i o n " } , o n : { c l i c k : t h i s . t o g g l e N a v i g a t i o n } } ) , t h i s . _ v ( " " ) , t h i s . _ t ( " d e f a u l t " ) ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 5 2 1 0 b 8 b 7 " , n u l l ) . e x p o r t s ; e . d e f a u l t = s } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n ( 2 8 ) ; v a r r = n ( 2 6 ) , o = n ( 1 7 ) , i = { 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 : [ r . 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 ( o . 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 = ( n ( 2 0 6 ) , n ( 0 ) ) , s = n ( 1 3 4 ) , c = n . n ( s ) , l = O b j e c t ( a . a ) ( i , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " l i " , { 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 } } , [ n ( " 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 " } , [ n ( " 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 ( " " ) , n ( " 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 ( e ) { r e t u r n e . p r e v e n t D e f a u l t ( ) , t . o n S u b m i t ( e ) } } } , [ n ( " 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 ? n ( " 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 ( " " ) , n ( " 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 ( " " ) , n ( " 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
2019-06-04 14:50:12 +03:00
/ * *
2020-03-10 21:46:25 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
2020-03-10 21:46:25 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +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
2020-03-10 21:46:25 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = u } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = { n a m e : " A c t i o n T e x t " , m i x i n s : [ n ( 2 6 ) . a ] } , o = ( n ( 2 0 4 ) , n ( 0 ) ) , i = O b j e c t ( o . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " l i " , [ n ( " 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 . i c o n ? n ( " 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 ? n ( " p " , [ n ( " 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 ( " " ) , n ( " b r " ) , t . _ v ( " " ) , n ( " 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 ? n ( " 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 ) } } ) : n ( " 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 , " 7 e c b 1 5 7 c " , n u l l ) . e x p o r t s ; e . d e f a u l t = i } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = ( n ( 2 0 2 ) , n ( 0 ) ) , o = O b j e c t ( r . 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 - 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 , " 0 b 3 8 8 6 1 b " , n u l l ) . e x p o r t s ; e . d e f a u l t = o } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n ( 3 3 ) , n ( 2 8 ) ; v a r r = n ( 1 6 ) , o = n ( 1 7 ) , i = { n a m e : " A c t i o n R a d i o " , m i x i n s : [ r . 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 ( o . 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 = ( n ( 2 0 0 ) , n ( 0 ) ) , s = n ( 1 3 3 ) , c = n . n ( s ) , l = O b j e c t ( a . a ) ( i , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " l i " , { 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 } } , [ n ( " 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 " } , [ n ( " 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 ( e ) { r e t u r n ! e . t y p e . i n d e x O f ( " k e y " ) & & t . _ k ( e . k e y C o d e , " e n t e r " , 1 3 , e . k e y , " E n t e r " ) | | e . c t r l K e y | | e . s h i f t K e y | | e . a l t K e y | | e . m e t a K e y ? n u l l : ( e . 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 ( e ) ) } , c h a n g e : t . o n C h a n g e } } ) , t . _ v ( " " ) , n ( " 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 , " 3 e 7 b 4 0 4 9 " , 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 ;
2020-03-10 21:46:25 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +03:00
*
2020-03-10 21:46:25 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2019-06-04 14:50:12 +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
2020-03-10 21:46:25 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = u } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n ( 1 6 7 ) , n ( 2 3 5 ) , n ( 2 2 ) , n ( 2 3 6 ) , n ( 1 2 1 ) , n ( 2 3 7 ) , n ( 1 6 8 ) ; v a r r = n ( 5 ) , o = n . n ( r ) , i = n ( 1 6 4 ) , a = n . n ( i ) , s = n ( 3 8 ) , c = n ( 1 1 8 ) , l = n ( 1 1 7 ) , u = n ( 3 1 ) , p = n ( 1 1 5 ) , d = { 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 : p . 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 : [ ] } } , 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 ) ) } , 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 ( ) { 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 ( ) } ) ) } , 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 ) } , m e t h o d s : { 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 . $ r e f s . a c t i o n s B r e a d c r u m b . $ r e f s . a c t i o n s . o p e n e d = ! 1 ) } , 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 e = t . l e n g t h , n = [ ] , r = 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 , o = t h i s . g e t T o t a l W i d t h ( t ) - r ; o + = o > 0 ? 5 1 : 0 ; f o r ( v a r i = 0 , a = M a t h . f l o o r ( e / 2 ) ; o > 0 & & i < e - 2 ; ) { v a r s = a + ( i % 2 ? i + 1 : i ) / 2 * M a t h . p o w ( - 1 , i + e % 2 ) ; o - = t h i s . g e t W i d t h ( t [ s ] . e l m ) , n . p u s h ( s ) , i + + } 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 , n . s o r t ( ( f u n c t i o n ( t , e ) { r e t u r n t - e } ) ) ) | | ( t h i s . h i d d e n C r u m b s = n . m a p ( ( f u n c t i o n ( e ) { r e t u r n t [ e ] } ) ) , t h i s . h i d d e n I n d i c e s = n ) } } , a r r a y s E q u a l : f u n c t i o n ( t , e ) { i f ( t . l e n g t h ! = = e . l e n g t h ) r e t u r n ! 1 ; i f ( t = = = e ) r e t u r n ! 0 ; i f ( n u l l = = = t | | n u l l = = = e ) r e t u r n ! 1 ; f o r ( v a r n = 0 ; n < t . l e n g t h ; + + n ) i f ( t [ n ] ! = = e [ n ] ) 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 e = 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 , n , r ) { r e t u r n t + e . g e t W i d t h ( n . 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 e = 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 . 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 n = t . o f f s e t W i d t h ; r e t u r n e & & t . c l a s s L i s t . a d d ( " c r u m b - - h i d d e n " ) , n } , 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 , e , n ) { r e t u r n n | | t h i s . $ e m i t ( " d r o p p e d " , t , e ) , 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 . $ r e f s . a c t i o n s . o p e n e d = ! 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 , e ) { i f ( ! e & & t . t a r g e t . c l o s e s t ) { v a r n = t . t a r g e t . c l o s e s t ( " . c r u m b " ) ; n . c l a s s L i s t & & n . 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 " ) } ) ) , n . 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 , e ) { i f ( ! e & & ! 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 n = t . t a r g e t . c l o s e s t ( " . c r u m b " ) ; i f ( n . 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 ; n . c l a s s L i s t & & n . c l a s s L i s t . c o n t a i n s ( " c r u m b " ) & & n . 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 " ) } } , a d d C r u m b s : f u n c t i o n ( t , e ) { v a r n = t h i s ; e . f o r E a c h ( ( f u n c t i o n ( e , r ) { e . e l m & & e . e l m . c l a s s L i s t & & ( n . h i d d e n C r u m b s . i n c l u d e s ( e ) ? e . 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 " ) : e . 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 " ) ) , t . p u s h ( e ) } ) ) } } , r e n d e r : f u n c t i o n ( t ) { v a r e = t h i s , n = t h i s . $ s l o t s . d e f a u l t | | [ ] ; i f ( 0 ! = = n . l e n g t h ) { o . a . s e t ( n [ 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 r = [ ] , i = t h i s . h i d d e n C r u m b s . l e n g t h ? n . s l i c e ( 0 , M a t h . r o u n d ( n . l e n g t h / 2 ) ) : n ; t h i s . a d d C r u m b s ( r , i ) , t h i s . h i d d e n C r u m b s . l e n g t h & & r . 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 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 , h i d e a b l e : ! 1 } , 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 ( ) { e . $ r e f s . a c t i o n s B r e a d c r u m b . $ r e f s . a c t i o n s . o p e n e d = ! 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 } } , t h i s . h i d d e n C r u m b s . m a p ( ( f u n c t i o n ( n ) { v a r r = n . 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 . t o , o = n . 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 . h r e f , i = n . 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 . d i s a b l e D r o p , a = " A c t i o n L i n k " , s = o ; r e t u r n r & & ( a = " A c t i o n R o u t e r " , s = r ) , t ( a , { c l a s s : " c r u m b " , p r o p s : { t o : r , h r e f : o , i c o n : " i c o n - f o l d e r " } , a t t r s : { d r a g g a b l e : ! 1 } , n a t i v e O n : { d r a g s t a r t : e . d r a g S t a r t , d r o p : f u n c t i o n ( t ) { r e t u r n e . d r o p p e d ( t , s , i ) } , d r a g o v e r : e . d r a g O v e r , d r a g e n t e r : f u n c t i o n ( t ) { r e t u r n e . d r a g E n t e r ( t , i ) } , d r a g l e a v e : f u n c t i o n ( t ) { r e t u r n e . d r a g L e a v e ( t , i ) } } } , n . c o m p
2020-03-10 21:46:25 +03:00
/ * *
2020-04-10 13:01:29 +03:00
* @ copyright Copyright ( c ) 2020 Raimund Schlüßler < raimund . schluessler @ mailbox . org >
2019-06-04 14:50:12 +03:00
*
2020-04-10 13:01:29 +03:00
* @ author Raimund Schlüßler < raimund . schluessler @ mailbox . org >
2019-06-04 14:50:12 +03:00
*
* @ license GNU AGPL version 3 or any later version
2019-02-26 21:43:59 +03:00
*
2019-06-04 14:50:12 +03:00
* 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
2020-03-10 21:46:25 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* / e . d e f a u l t = g } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 8 9 ) ; n . n ( r ) . a } , f u n c t i o n ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . p u s h ( [ t . i , " l i . a c t i v e [ d a t a - v - 3 4 7 0 f 0 6 9 ] { b o x - s h a d o w : i n s e t 4 p x 0 v a r ( - - c o l o r - p r i m a r y ) } . a c t i o n - - d i s a b l e d [ d a t a - v - 3 4 7 0 f 0 6 9 ] { p o i n t e r - e v e n t s : n o n e ; o p a c i t y : . 5 } . a c t i o n - - d i s a b l e d [ d a t a - v - 3 4 7 0 f 0 6 9 ] : h o v e r , . a c t i o n - - d i s a b l e d [ d a t a - v - 3 4 7 0 f 0 6 9 ] : f o c u s { c u r s o r : d e f a u l t ; o p a c i t y : . 5 } . a c t i o n - - d i s a b l e d * [ d a t a - v - 3 4 7 0 f 0 6 9 ] { o p a c i t y : 1 ! i m p o r t a n t } . a c t i o n - c h e c k b o x [ d a t a - v - 3 4 7 0 f 0 6 9 ] { d i s p l a y : f l e x ; a l i g n - i t e m s : f l e x - s t a r t ; w i d t h : 1 0 0 % ; h e i g h t : a u t o ; m a r g i n : 0 ; p a d d i n g : 0 ; c u r s o r : p o i n t e r ; w h i t e - s p a c e : n o w r a p ; c o l o r : v a r ( - - c o l o r - m a i n - t e x t ) ; b o r d e r : 0 ; b o r d e r - r a d i u s : 0 ; 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 ; b o x - s h a d o w : n o n e ; f o n t - w e i g h t : n o r m a l ; l i n e - h e i g h t : 4 4 p x } . a c t i o n - c h e c k b o x _ _ c h e c k b o x [ d a t a - v - 3 4 7 0 f 0 6 9 ] { p o s i t i o n : a b s o l u t e ; t o p : a u t o ; l e f t : - 1 0 0 0 0 p x ; o v e r f l o w : h i d d e n ; w i d t h : 1 p x ; h e i g h t : 1 p x } . a c t i o n - c h e c k b o x _ _ c h e c k b o x : f o c u s + . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - 3 4 7 0 f 0 6 9 ] { o p a c i t y : 1 } . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - 3 4 7 0 f 0 6 9 ] { d i s p l a y : f l e x ; a l i g n - i t e m s : c e n t e r ; w i d t h : 1 0 0 % ; p a d d i n g : 0 ! i m p o r t a n t ; p a d d i n g - r i g h t : 1 4 p x ! i m p o r t a n t ; o p a c i t y : . 7 } . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - 3 4 7 0 f 0 6 9 ] : : b e f o r e { m a r g i n : 0 1 4 p x 0 ! i m p o r t a n t } . a c t i o n - c h e c k b o x - - d i s a b l e d [ d a t a - v - 3 4 7 0 f 0 6 9 ] , . a c t i o n - c h e c k b o x - - d i s a b l e d . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - 3 4 7 0 f 0 6 9 ] { c u r s o r : p o i n t e r } . a c t i o n - c h e c k b o x : n o t ( . a c t i o n - c h e c k b o x - - d i s a b l e d ) : h o v e r . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - 3 4 7 0 f 0 6 9 ] , . a c t i o n - c h e c k b o x : n o t ( . a c t i o n - c h e c k b o x - - d i s a b l e d ) : f o c u s . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - 3 4 7 0 f 0 6 9 ] { o p a c i t y : 1 } \ n " , " " ] ) , t . e x p o r t s = e } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 9 0 ) ; n . n ( r ) . a } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 ) , o = n ( 7 ) , i = n ( 8 ) , a = n ( 9 ) , s = n ( 1 0 ) , c = n ( 1 1 ) ; e = r ( ! 1 ) ; v a r l = o ( i ) , u = o ( a ) , p = o ( s ) , d = o ( c ) ; e . 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 - e 1 f 5 5 c e " ; s r c : u r l ( ' + l + " ) ; s r c : u r l ( " + l + ' ) 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 ( ' + u + ' ) f o r m a t ( " w o f f " ) , u r l ( ' + p + ' ) f o r m a t ( " t r u e t y p e " ) , u r l ( ' + d + ' ) f o r m a t ( " s v g " ) } . i c o n [ d a t a - v - 2 9 d e d 9 9 8 ] { 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 [ d a t a - v - 2 9 d e d 9 9 8 ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . a r r o w - l e f t [ d a t a - v - 2 9 d e d 9 9 8 ] : 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 - e 1 f 5 5 c e " ; 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 [ d a t a - v - 2 9 d e d 9 9 8 ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t [ d a t a - v - 2 9 d e d 9 9 8 ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . b r e a d c r u m b [ d a t a - v - 2 9 d e d 9 9 8 ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . c h e c k m a r k [ d a t a - v - 2 9 d e d 9 9 8 ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . c l o s e [ d a t a - v - 2 9 d e d 9 9 8 ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . c o n f i r m [ d a t a - v - 2 9 d e d 9 9 8 ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . i n f o [ d a t a - v - 2 9 d e d 9 9 8 ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . m e n u [ d a t a - v - 2 9 d e d 9 9 8 ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . m o r e [ d a t a - v - 2 9 d e d 9 9 8 ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . p a u s e [ d a t a - v - 2 9 d e d 9 9 8 ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . p l a y [ d a t a - v - 2 9 d e d 9 9 8 ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . t r i a n g l e - s [ d a t a - v - 2 9 d e d 9 9 8 ] : 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 - e 1 f 5 5 c e " ; c o n t e n t : " " } b u t t o n [ d a t a - v - 2 9 d e d 9 9 8 ] , i n p u t [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) , t e x t a r e a [ d a t a - v - 2 9 d e d 9 9 8 ] { m a r g i n : 0 ; p a d d i n g : 7 p x 6 p x ; c u r s o r : t e x t ; c o l o r : v a r ( - - c o l o r - t e x t - l i g h t e r ) ; b o r d e r : 1 p x s o l i d v a r ( - - c o l o r - b o r d e r - d a r k ) ; b o r d e r - r a d i u s : v a r ( - - b o r d e r - r a d i u s ) ; o u t l i n e : n o n e ; b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - m a i n - b a c k g r o u n d ) ; f o n t - s i z e : 1 3 p x } b u t t o n [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : h o v e r , b u t t o n [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : f o c u s , b u t t o n : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) . a c t i v e [ d a t a - v - 2 9 d e d 9 9 8 ] , i n p u t [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : h o v e r , i n p u t [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : f o c u s , i n p u t : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) . a c t i v e [ d a t a - v - 2 9 d e d 9 9 8 ] , t e x t a r e a [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : h o v e r , t e x t a r e a [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : f o c u s , t e x t a r e a : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) . a c t i v e [ d a t a - v - 2 9 d e d 9 9 8 ] { b o r d e r - 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 ) ; o u t l i n e : n o n e } b u t t
2019-06-04 14:50:12 +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/>.
*
2020-04-10 13:01:29 +03:00
* / f u n c t i o n Y ( t , e ) { v a r n = 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 r = 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 ) ; e & & ( r = r . f i l t e r ( ( f u n c t i o n ( e ) { 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 , e ) . e n u m e r a b l e } ) ) ) , n . p u s h . a p p l y ( n , r ) } r e t u r n n } f u n c t i o n H ( t , e , n ) { r e t u r n e i n t ? O b j e c t . d e f i n e P r o p e r t y ( t , e , { v a l u e : n , 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 [ e ] = n , t }
2019-06-04 14:50:12 +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/>.
*
2020-04-10 13:01:29 +03:00
* / f u n c t i o n G ( t ) { O b j e c t . v a l u e s ( r ) . f o r E a c h ( ( f u n c t i o n ( e ) { t . c o m p o n e n t ( e . n a m e , e ) } ) ) } " 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 & & G ( w i n d o w . V u e ) , e . d e f a u l t = f u n c t i o n ( t ) { f o r ( v a r e = 1 ; e < a r g u m e n t s . l e n g t h ; e + + ) { v a r n = n u l l ! = a r g u m e n t s [ e ] ? a r g u m e n t s [ e ] : { } ; e % 2 ? Y ( O b j e c t ( n ) , ! 0 ) . f o r E a c h ( ( f u n c t i o n ( e ) { H ( t , e , n [ e ] ) } ) ) : 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 ( n ) ) : Y ( O b j e c t ( n ) ) . f o r E a c h ( ( f u n c t i o n ( e ) { O b j e c t . d e f i n e P r o p e r t y ( t , e , 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 ( n , e ) ) } ) ) } r e t u r n t } ( { i n s t a l l : G } , r ) } ] ) } , f u n c t i o n ( t , e , n ) { ( f u n c t i o n ( t ) { v a r r = v o i d 0 ! = = t & & t | | " u n d e f i n e d " ! = t y p e o f s e l f & & s e l f | | w i n d o w , o = F u n c t i o n . p r o t o t y p e . a p p l y ; f u n c t i o n i ( t , e ) { t h i s . _ i d = t , t h i s . _ c l e a r F n = e } e . s e t T i m e o u t = f u n c t i o n ( ) { r e t u r n n e w i ( o . c a l l ( s e t T i m e o u t , r , a r g u m e n t s ) , c l e a r T i m e o u t ) } , e . s e t I n t e r v a l = f u n c t i o n ( ) { r e t u r n n e w i ( o . c a l l ( s e t I n t e r v a l , r , a r g u m e n t s ) , c l e a r I n t e r v a l ) } , e . c l e a r T i m e o u t = e . c l e a r I n t e r v a l = f u n c t i o n ( t ) { t & & t . c l o s e ( ) } , i . p r o t o t y p e . u n r e f = i . p r o t o t y p e . r e f = f u n c t i o n ( ) { } , i . p r o t o t y p e . c l o s e = f u n c t i o n ( ) { t h i s . _ c l e a r F n . c a l l ( r , t h i s . _ i d ) } , e . e n r o l l = f u n c t i o n ( t , e ) { c l e a r T i m e o u t ( t . _ i d l e T i m e o u t I d ) , t . _ i d l e T i m e o u t = e } , e . u n e n r o l l = f u n c t i o n ( t ) { c l e a r T i m e o u t ( t . _ i d l e T i m e o u t I d ) , t . _ i d l e T i m e o u t = - 1 } , e . _ u n r e f A c t i v e = e . a c t i v e = f u n c t i o n ( t ) { c l e a r T i m e o u t ( t . _ i d l e T i m e o u t I d ) ; v a r e = t . _ i d l e T i m e o u t ; e > = 0 & & ( t . _ i d l e T i m e o u t I d = s e t T i m e o u t ( ( f u n c t i o n ( ) { t . _ o n T i m e o u t & & t . _ o n T i m e o u t ( ) } ) , e ) ) } , n ( 1 9 7 ) , e . s e t I m m e d i a t e = " u n d e f i n e d " ! = t y p e o f s e l f & & s e l f . s e t I m m e d i a t e | | v o i d 0 ! = = t & & t . s e t I m m e d i a t e | | t h i s & & t h i s . s e t I m m e d i a t e , e . c l e a r I m m e d i a t e = " u n d e f i n e d " ! = t y p e o f s e l f & & s e l f . c l e a r I m m e d i a t e | | v o i d 0 ! = = t & & t . c l e a r I m m e d i a t e | | t h i s & & t h i s . c l e a r I m m e d i a t e } ) . c a l l ( t h i s , n ( 1 0 ) ) } , f u n c t i o n ( t , e , n ) { ( f u n c t i o n ( t , e ) { ! f u n c t i o n ( t , n ) { " u s e s t r i c t " ; i f ( ! t . s e t I m m e d i a t e ) { v a r r , o , i , a , s , c = 1 , l = { } , u = ! 1 , p = t . d o c u m e n t , d = O b j e c t . g e t P r o t o t y p e O f & & O b j e c t . g e t P r o t o t y p e O f ( t ) ; d = d & & d . s e t T i m e o u t ? d : t , " [ o b j e c t p r o c e s s ] " = = = { } . t o S t r i n g . c a l l ( t . p r o c e s s ) ? r = f u n c t i o n ( t ) { e . n e x t T i c k ( ( f u n c t i o n ( ) { h ( t ) } ) ) } : ! f u n c t i o n ( ) { i f ( t . p o s t M e s s a g e & & ! t . i m p o r t S c r i p t s ) { v a r e = ! 0 , n = t . o n m e s s a g e ; r e t u r n t . o n m e s s a g e = f u n c t i o n ( ) { e = ! 1 } , t . p o s t M e s s a g e ( " " , " * " ) , t . o n m e s s a g e = n , e } } ( ) ? t . M e s s a g e C h a n n e l ? ( ( i = n e w M e s s a g e C h a n n e l ) . p o r t 1 . o n m e s s a g e = f u n c t i o n ( t ) { h ( t . d a t a ) } , r = f u n c t i o n ( t ) { i . p o r t 2 . p o s t M e s s a g e ( t ) } ) : p & & " o n r e a d y s t a t e c h a n g e " i n p . c r e a t e E l e m e n t ( " s c r i p t " ) ? ( o = p . d o c u m e n t E l e m e n t , r = f u n c t i o n ( t ) { v a r e = p . c r e a t e E l e m e n t ( " s c r i p t " ) ; e . o n r e a d y s t a t e c h a n g e = f u n c t i o n ( ) { h ( t ) , e . o n r e a d y s t a t e c h a n g e = n u l l , o . r e m o v e C h i l d ( e ) , e = n u l l } , o . a p p e n d C h i l d ( e ) } ) : r = f u n c t i o n ( t ) { s e t T i m e o u t ( h , 0 , t ) } : ( a = " s e t I m m e d i a t e $ " + M a t h . r a n d o m ( ) + " $ " , s = f u n c t i o n ( e ) { e . s o u r c e = = = t & & " s t r i n g " = = t y p e o f e . d a t a & & 0 = = = e . d a t a . i n d e x O f ( a ) & & h ( + e . d a t a . s l i c e ( a . l e n g t h ) ) } , t . a d d E v e n t L i s t e n e r ? t . a d d E v e n t L i s t e n e r ( " m e s s a g e " , s , ! 1 ) : t . a t t a c h E v e n t ( " o n m e s s a g e " , s ) , r = f u n c t i o n ( e ) { t . p o s t M e s s a g e ( a + e , " * " ) } ) , d . s e t I m m e d i a t e = f u n c t i o n ( t ) { " f u n c t i o n " ! = t y p e o f t & & ( t = n e w F u n c t i o n ( " " + t ) ) ; f o r ( v a r e = n e w A r r a y ( a r g u m e n t s . l e n g t h - 1 ) , n = 0 ; n < e . l e n g t h ; n + + ) e [ n ] = a r g u m e n t s [ n + 1 ] ; v a r o = { c a l l b a c k : t , a r g s : e } ; r e t u r n l [ c ] = o , r ( c ) , c + + } , d . c l e a r I m m e d i a t e = f } f u n c t i o n f ( t ) { d e l e t e l [ t ] } f u n c t i o n h ( t ) { i f ( u ) s e t T i m e o u t ( h , 0 , t ) ; e l s e { v a r e = l [ t ] ; i f ( e ) { u = ! 0 ; t r y { ! f u n c t i o n ( t ) { v a r e = t . c a l l b a c k , n = t . a r g s ; s w i t c h ( n . l e n g t h ) { c a s e 0 : e ( ) ; b r e a k ; c a s e 1 : e ( n [ 0 ] ) ; b r e a k ; c a s e 2 : e ( n [ 0 ] , n [ 1 ] ) ; b r e a k ; c a s e 3 : e ( n [ 0 ] , n [ 1 ] , n [ 2 ] ) ; b r e a k ; d e f a u l t : e . a p p l y ( v o i d 0 , n ) } } ( e ) } f i n a l l y { f ( t ) , u = ! 1 } } } } } ( " u n d e f i n e d " = = t y p e o f s e l f ? v o i d 0 = = = t ? t h i s : t : s e l f ) } ) . c a l l ( t h i s , n ( 1 0 ) , n ( 6 0 ) ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 9 9 ) , o = n ( 2 1 8 ) ; r ( { t a r g e t : " O b j e c t " , s t a t : ! 0 , f o r c e d : O b j e c t . a s s i g n ! = = o } , { a s s i g n : o } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 4 ) , o = n ( 1 0 6 ) . f , i = n ( 4 6 ) , a = n ( 2 0 2 ) , s = n ( 6 2 ) , c = n ( 2 0 9 ) , l = n ( 2 1 7 ) ; t . e x p o r t s = f u n c t i o n ( t , e ) { v a r n , u , p , d , f , h = t . t a r g e t , m = t . g l o b a l , v = t . s t a t ; i f ( n = m ? r : v ? r [ h ] | | s ( h , { } ) : ( r [ h ] | | { } ) . p r o t o t y p e ) f o r ( u i n e ) { i f ( d = e [ u ] , p = t . n o T a r g e t G e t ? ( f = o ( n , u ) ) & & f . v a l u e : n [ u ] , ! l ( m ? u : h + ( v ? " . " : " # " ) + u , t . f o r c e d ) & & v o i d 0 ! = = p ) { i f ( t y p e o f d = = t y p e o f p ) c o n t i n u e ; c ( d , p ) } ( t . s h a m | | p & & p . s h a m ) & & i ( d , " s h a m " , ! 0 ) , a ( n , u , d , t ) } } } , f u n c t i o n ( t , e ) { v a r n = { } . t o S t r i n g ; t . e x p o r t s = f u n c t i o n ( t ) { r e t u r n n . c a l l ( t ) . s l i c e ( 8 , - 1 ) } } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 4 ) , o = n ( 4 5 ) , i = r . d o c u m e n t , a = o ( i ) & & o ( i . c r e a t e E l e m e n t ) ; t . e x p o r t s = f u n c t i o n ( t ) { r e t u r n a ? i . c r e a t e E l e m e n t ( t ) : { } } } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 4 ) , o = n ( 4 6 ) , i = n ( 3 3 ) , a = n ( 6 2 ) , s = n ( 1 1 5 ) , c = n ( 2 0 3 ) , l = c . g e t , u = c . e n f o r c e , p = S t r i n g ( S t r i n g ) . s p l i t ( " S t r i n g " ) ; ( t . e
2020-01-16 02:03:29 +03:00
/ * !
* escape - html
* Copyright ( c ) 2012 - 2013 TJ Holowaychuk
* Copyright ( c ) 2015 Andreas Lubbe
* Copyright ( c ) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
2020-04-10 13:01:29 +03:00
* /var r=/ [ "'&<>]/;t.exports=function(t){var e,n=" "+t,o=r.exec(n);if(!o)return n;var i=" ",a=0,s=0;for(a=o.index;a<n.length;a++){switch(n.charCodeAt(a)){case 34:e=" & quot ; ";break;case 38:e=" & amp ; ";break;case 39:e=" & # 39 ; ";break;case 60:e=" & lt ; ";break;case 62:e=" & gt ; ";break;default:continue}s!==a&&(i+=n.substring(s,a)),s=a+1,i+=e}return s!==a?i+n.substring(s,a):i}},function(t,e,n){var r,o,i,a,s;r=n(359),o=n(267).utf8,i=n(360),a=n(267).bin,(s=function(t,e){t.constructor==String?t=e&&" binary "===e.encoding?a.stringToBytes(t):o.stringToBytes(t):i(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||(t=t.toString());for(var n=r.bytesToWords(t),c=8*t.length,l=1732584193,u=-271733879,p=-1732584194,d=271733878,f=0;f<n.length;f++)n[f]=16711935&(n[f]<<8|n[f]>>>24)|4278255360&(n[f]<<24|n[f]>>>8);n[c>>>5]|=128<<c%32,n[14+(c+64>>>9<<4)]=c;var h=s._ff,m=s._gg,v=s._hh,g=s._ii;for(f=0;f<n.length;f+=16){var b=l,A=u,y=p,x=d;l=h(l,u,p,d,n[f+0],7,-680876936),d=h(d,l,u,p,n[f+1],12,-389564586),p=h(p,d,l,u,n[f+2],17,606105819),u=h(u,p,d,l,n[f+3],22,-1044525330),l=h(l,u,p,d,n[f+4],7,-176418897),d=h(d,l,u,p,n[f+5],12,1200080426),p=h(p,d,l,u,n[f+6],17,-1473231341),u=h(u,p,d,l,n[f+7],22,-45705983),l=h(l,u,p,d,n[f+8],7,1770035416),d=h(d,l,u,p,n[f+9],12,-1958414417),p=h(p,d,l,u,n[f+10],17,-42063),u=h(u,p,d,l,n[f+11],22,-1990404162),l=h(l,u,p,d,n[f+12],7,1804603682),d=h(d,l,u,p,n[f+13],12,-40341101),p=h(p,d,l,u,n[f+14],17,-1502002290),l=m(l,u=h(u,p,d,l,n[f+15],22,1236535329),p,d,n[f+1],5,-165796510),d=m(d,l,u,p,n[f+6],9,-1069501632),p=m(p,d,l,u,n[f+11],14,643717713),u=m(u,p,d,l,n[f+0],20,-373897302),l=m(l,u,p,d,n[f+5],5,-701558691),d=m(d,l,u,p,n[f+10],9,38016083),p=m(p,d,l,u,n[f+15],14,-660478335),u=m(u,p,d,l,n[f+4],20,-405537848),l=m(l,u,p,d,n[f+9],5,568446438),d=m(d,l,u,p,n[f+14],9,-1019803690),p=m(p,d,l,u,n[f+3],14,-187363961),u=m(u,p,d,l,n[f+8],20,1163531501),l=m(l,u,p,d,n[f+13],5,-1444681467),d=m(d,l,u,p,n[f+2],9,-51403784),p=m(p,d,l,u,n[f+7],14,1735328473),l=v(l,u=m(u,p,d,l,n[f+12],20,-1926607734),p,d,n[f+5],4,-378558),d=v(d,l,u,p,n[f+8],11,-2022574463),p=v(p,d,l,u,n[f+11],16,1839030562),u=v(u,p,d,l,n[f+14],23,-35309556),l=v(l,u,p,d,n[f+1],4,-1530992060),d=v(d,l,u,p,n[f+4],11,1272893353),p=v(p,d,l,u,n[f+7],16,-155497632),u=v(u,p,d,l,n[f+10],23,-1094730640),l=v(l,u,p,d,n[f+13],4,681279174),d=v(d,l,u,p,n[f+0],11,-358537222),p=v(p,d,l,u,n[f+3],16,-722521979),u=v(u,p,d,l,n[f+6],23,76029189),l=v(l,u,p,d,n[f+9],4,-640364487),d=v(d,l,u,p,n[f+12],11,-421815835),p=v(p,d,l,u,n[f+15],16,530742520),l=g(l,u=v(u,p,d,l,n[f+2],23,-995338651),p,d,n[f+0],6,-198630844),d=g(d,l,u,p,n[f+7],10,1126891415),p=g(p,d,l,u,n[f+14],15,-1416354905),u=g(u,p,d,l,n[f+5],21,-57434055),l=g(l,u,p,d,n[f+12],6,1700485571),d=g(d,l,u,p,n[f+3],10,-1894986606),p=g(p,d,l,u,n[f+10],15,-1051523),u=g(u,p,d,l,n[f+1],21,-2054922799),l=g(l,u,p,d,n[f+8],6,1873313359),d=g(d,l,u,p,n[f+15],10,-30611744),p=g(p,d,l,u,n[f+6],15,-1560198380),u=g(u,p,d,l,n[f+13],21,1309151649),l=g(l,u,p,d,n[f+4],6,-145523070),d=g(d,l,u,p,n[f+11],10,-1120210379),p=g(p,d,l,u,n[f+2],15,718787259),u=g(u,p,d,l,n[f+9],21,-343485551),l=l+b>>>0,u=u+A>>>0,p=p+y>>>0,d=d+x>>>0}return r.endian([l,u,p,d])})._ff=function(t,e,n,r,o,i,a){var s=t+(e&n|~e&r)+(o>>>0)+a;return(s<<i|s>>>32-i)+e},s._gg=function(t,e,n,r,o,i,a){var s=t+(e&r|n&~r)+(o>>>0)+a;return(s<<i|s>>>32-i)+e},s._hh=function(t,e,n,r,o,i,a){var s=t+(e^n^r)+(o>>>0)+a;return(s<<i|s>>>32-i)+e},s._ii=function(t,e,n,r,o,i,a){var s=t+(n^(e|~r))+(o>>>0)+a;return(s<<i|s>>>32-i)+e},s._blocksize=16,s._digestsize=16,t.exports=function(t,e){if(null==t)throw new Error(" Illegal argument "+t);var n=r.wordsToBytes(s(t,e));return e&&e.asBytes?n:e&&e.asString?a.bytesToString(n):r.bytesToHex(n)}},function(t,e,n){" use strict ";var r,o,i,a,s=n(3),c=n(26),l=n(2),u=n(24),p=n(361),d=n(11),f=n(94),h=n(25),m=n(105),v=n(6),g=n(58),b=n(43),A=n(23),y=n(84),x=n(88),w=n(159),_=n(362),k=n(268).set,C=n(363),T=n(364),E=n(365),S=n(270),M=n(366),O=n(20),I=n(52),N=n(0),L=n(87),P=N(" species "),D=" Promise ",B=O.get,j=O.set,R=O.getterFor(D),F=p,$=l.TypeError,U=l.document,z=l.process,V=u(" fetch "),Y=S.f,H=Y,G=" proces
2020-01-16 02:03:29 +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/
2019-05-17 10:49:47 +03:00
*
2020-01-16 02:03:29 +03:00
* Copyright ( c ) 2016 Jorik Tangelder ;
2020-04-10 13:01:29 +03:00
* Licensed under the MIT license * /!function(o,i,a,s){"use strict";var c,l=["","webkit","Moz","MS","ms","o"],u=i.createElement("div"),p=Math.round,d=Math.abs,f=Date.now;function h(t,e,n){return setTimeout(x(t,n),e)}function m(t,e,n){return!!Array.isArray(t)&&(v(t,n[e],n),!0)}function v(t,e,n){var r;if(t)if(t.forEach)t.forEach(e,n);else if(void 0!==t.length)for(r=0;r<t.length;)e.call(n,t[r],r,t),r++;else for(r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t)}function g(t,e,n){var r="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=new Error("get-stack-trace"),n=e&&e.stack?e.stack.replace(/ ^ [ ^ \ ( ] + ? [ \ n$ ] / gm , "" ) . replace ( /^\s+at\s+/gm , "" ) . replace ( /^Object.<anonymous>\s*\(/gm , "{anonymous}()@" ) : "Unknown Stack Trace" , i = o . console && ( o . console . warn || o . console . log ) ; return i && i . call ( o . console , r , n ) , 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 e = Object ( t ) , n = 1 ; n < arguments . length ; n ++ ) { var r = arguments [ n ] ; if ( null != r ) for ( var o in r ) r . hasOwnProperty ( o ) && ( e [ o ] = r [ o ] ) } return e } : Object . assign ; var b = g ( ( function ( t , e , n ) { for ( var r = Object . keys ( e ) , o = 0 ; o < r . length ; ) ( ! n || n && void 0 === t [ r [ o ] ] ) && ( t [ r [ o ] ] = e [ r [ o ] ] ) , o ++ ; return t } ) , "extend" , "Use `assign`." ) , A = g ( ( function ( t , e ) { return b ( t , e , ! 0 ) } ) , "merge" , "Use `assign`." ) ; function y ( t , e , n ) { var r , o = e . prototype ; ( r = t . prototype = Object . create ( o ) ) . constructor = t , r . _super = o , n && c ( r , n ) } function x ( t , e ) { return function ( ) { return t . apply ( e , arguments ) } } function w ( t , e ) { return "function" == typeof t ? t . apply ( e && e [ 0 ] || void 0 , e ) : t } function _ ( t , e ) { return void 0 === t ? e : t } function k ( t , e , n ) { v ( S ( e ) , ( function ( e ) { t . addEventListener ( e , n , ! 1 ) } ) ) } function C ( t , e , n ) { v ( S ( e ) , ( function ( e ) { t . removeEventListener ( e , n , ! 1 ) } ) ) } function T ( t , e ) { for ( ; t ; ) { if ( t == e ) return ! 0 ; t = t . parentNode } return ! 1 } function E ( t , e ) { return t . indexOf ( e ) > - 1 } function S ( t ) { return t . trim ( ) . split ( /\s+/g ) } function M ( t , e , n ) { if ( t . indexOf && ! n ) return t . indexOf ( e ) ; for ( var r = 0 ; r < t . length ; ) { if ( n && t [ r ] [ n ] == e || ! n && t [ r ] === e ) return r ; r ++ } return - 1 } function O ( t ) { return Array . prototype . slice . call ( t , 0 ) } function I ( t , e , n ) { for ( var r = [ ] , o = [ ] , i = 0 ; i < t . length ; ) { var a = e ? t [ i ] [ e ] : t [ i ] ; M ( o , a ) < 0 && r . push ( t [ i ] ) , o [ i ] = a , i ++ } return n && ( r = e ? r . sort ( ( function ( t , n ) { return t [ e ] > n [ e ] } ) ) : r . sort ( ) ) , r } function N ( t , e ) { for ( var n , r , o = e [ 0 ] . toUpperCase ( ) + e . slice ( 1 ) , i = 0 ; i < l . length ; ) { if ( ( r = ( n = l [ i ] ) ? n + o : e ) in t ) return r ; i ++ } } var L = 1 ; function P ( t ) { var e = t . ownerDocument || t ; return e . defaultView || e . parentWindow || o } var D = "ontouchstart" in o , B = void 0 !== N ( o , "PointerEvent" ) , j = D && /mobile|tablet|ip(ad|hone|od)|android/i . test ( navigator . userAgent ) , R = [ "x" , "y" ] , F = [ "clientX" , "clientY" ] ; function $ ( t , e ) { var n = this ; this . manager = t , this . callback = e , this . element = t . element , this . target = t . options . inputTarget , this . domHandler = function ( e ) { w ( t . options . enable , [ t ] ) && n . handler ( e ) } , this . init ( ) } function U ( t , e , n ) { var r = n . pointers . length , o = n . changedPointers . length , i = 1 & e && r - o == 0 , a = 12 & e && r - o == 0 ; n . isFirst = ! ! i , n . isFinal = ! ! a , i && ( t . session = { } ) , n . eventType = e , function ( t , e ) { var n = t . session , r = e . pointers , o = r . length ; n . firstInput || ( n . firstInput = z ( e ) ) ; o > 1 && ! n . firstMultiple ? n . firstMultiple = z ( e ) : 1 === o && ( n . firstMultiple = ! 1 ) ; var i = n . firstInput , a = n . firstMultiple , s = a ? a . center : i . center , c = e . center = V ( r ) ; e . timeStamp = f ( ) , e . deltaTime = e . timeStamp - i . timeStamp , e . angle = Q ( s , c ) , e . distance = G ( s , c ) , function ( t , e ) { var n = e . center , r = t . offsetDelta || { } , o = t . prevDelta || { } , i = t . prevInput || { } ; 1 !== e . eventType && 4 !== i . eventType || ( o = t . prevDelta = { x : i . deltaX || 0 , y : i . deltaY || 0 } , r = t . offsetDelta = { x : n . x , y : n . y } ) ; e . deltaX = o . x + ( n . x - r . x ) , e . deltaY = o . y + ( n . y - r . y ) } ( n , e ) , e . offsetDirection = H ( e . deltaX , e . deltaY ) ; var l = Y ( e . deltaTime , e . deltaX , e . deltaY ) ; e . overallVelocityX = l . x , e . overallVelocityY = l . y , e . overallVelocity = d ( l . x ) > d ( l . y ) ? l . x : l . y , e . scale = a ? ( u = a . pointers , p = r , G ( p [ 0 ] , p [ 1 ] , F ) / G ( u [ 0 ] , u [ 1 ] , F ) ) : 1 , e . rotation = a ? function ( t , e ) { return Q ( e [ 1 ] , e [ 0 ] , F ) + Q ( t [ 1 ] , t [ 0 ] , F ) } ( a . pointers , r ) : 0 , e . maxPointers = n . prevInput ? e . pointers . length > n . prevInput . maxPointers ? e . pointers . length : n . prevInput . maxPointers : e . pointers . length , function ( t , e ) { var n , r , o , i , a = t . lastInterval || e , s = e . timeStamp - a . timeStamp ; if ( 8 != e . eventType && ( s > 25 || void 0 === a . velocity ) ) { var c
2020-01-16 02:03:29 +03:00
/ * !
* Determine if an object is a Buffer
2019-05-17 10:49:47 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
2019-05-17 10:49:47 +03:00
* /
2020-04-10 13:01:29 +03:00
t . exports = function ( t ) { return null != t && ( n ( t ) || function ( t ) { return "function" == typeof t . readFloatLE && "function" == typeof t . slice && n ( t . slice ( 0 , 0 ) ) } ( t ) || ! ! t . _isBuffer ) } } , function ( t , e , n ) { var r = n ( 2 ) ; t . exports = r . Promise } , function ( t , e , n ) { var r = n ( 7 ) , o = n ( 58 ) , i = n ( 0 ) ( "species" ) ; t . exports = function ( t , e ) { var n , a = r ( t ) . constructor ; return void 0 === a || null == ( n = r ( a ) [ i ] ) ? e : o ( n ) } } , function ( t , e , n ) { var r , o , i , a , s , c , l , u , p = n ( 2 ) , d = n ( 29 ) . f , f = n ( 23 ) , h = n ( 268 ) . set , m = n ( 269 ) , v = p . MutationObserver || p . WebKitMutationObserver , g = p . process , b = p . Promise , A = "process" == f ( g ) , y = d ( p , "queueMicrotask" ) , x = y && y . value ; x || ( r = function ( ) { var t , e ; for ( A && ( t = g . domain ) && t . exit ( ) ; o ; ) { e = o . fn , o = o . next ; try { e ( ) } catch ( t ) { throw o ? a ( ) : i = void 0 , t } } i = void 0 , t && t . enter ( ) } , A ? a = function ( ) { g . nextTick ( r ) } : v && ! m ? ( s = ! 0 , c = document . createTextNode ( "" ) , new v ( r ) . observe ( c , { characterData : ! 0 } ) , a = function ( ) { c . data = s = ! s } ) : b && b . resolve ? ( l = b . resolve ( void 0 ) , u = l . then , a = function ( ) { u . call ( l , r ) } ) : a = function ( ) { h . call ( p , r ) } ) , t . exports = x || function ( t ) { var e = { fn : t , next : void 0 } ; i && ( i . next = e ) , o || ( o = e , a ( ) ) , i = e } } , function ( t , e , n ) { var r = n ( 7 ) , o = n ( 6 ) , i = n ( 270 ) ; t . exports = function ( t , e ) { if ( r ( t ) , o ( e ) && e . constructor === t ) return e ; var n = i . f ( t ) ; return ( 0 , n . resolve ) ( e ) , n . promise } } , function ( t , e , n ) { var r = n ( 2 ) ; t . exports = function ( t , e ) { var n = r . console ; n && n . error && ( 1 === arguments . length ? n . error ( t ) : n . error ( t , e ) ) } } , function ( t , e ) { t . exports = function ( t ) { try { return { error : ! 1 , value : t ( ) } } catch ( t ) { return { error : ! 0 , value : t } } } } , function ( t , e , n ) { var r = n ( 17 ) , o = n ( 57 ) . f , i = { } . toString , a = "object" == typeof window && window && Object . getOwnPropertyNames ? Object . getOwnPropertyNames ( window ) : [ ] ; t . exports . f = function ( t ) { return a && "[object Window]" == i . call ( t ) ? function ( t ) { try { return o ( t ) } catch ( t ) { return a . slice ( ) } } ( t ) : o ( r ( t ) ) } } , function ( t , e , n ) { "use strict" ; var r , o = n ( 3 ) , i = n ( 29 ) . f , a = n ( 15 ) , s = n ( 273 ) , c = n ( 22 ) , l = n ( 275 ) , u = n ( 26 ) , p = "" . startsWith , d = Math . min , f = l ( "startsWith" ) ; o ( { target : "String" , proto : ! 0 , forced : ! ! ( u || f || ( r = i ( String . prototype , "startsWith" ) , ! r || r . writable ) ) && ! f } , { startsWith : function ( t ) { var e = String ( c ( this ) ) ; s ( t ) ; var n = a ( d ( arguments . length > 1 ? arguments [ 1 ] : void 0 , e . length ) ) , r = String ( t ) ; return p ? p . call ( e , r , n ) : e . slice ( n , n + r . length ) === r } } ) } , function ( t , e ) { t . exports = Object . is || function ( t , e ) { return t === e ? 0 !== t || 1 / t == 1 / e : t != t && e != e } } , function ( t , e ) { function n ( t , e , n ) { var r , o , i , a , s ; function c ( ) { var l = Date . now ( ) - a ; l < e && l >= 0 ? r = setTimeout ( c , e - l ) : ( r = null , n || ( s = t . apply ( i , o ) , i = o = null ) ) } null == e && ( e = 100 ) ; var l = function ( ) { i = this , o = arguments , a = Date . now ( ) ; var l = n && ! r ; return r || ( r = setTimeout ( c , e ) ) , l && ( s = t . apply ( i , o ) , i = o = null ) , s } ; return l . clear = function ( ) { r && ( clearTimeout ( r ) , r = null ) } , l . flush = function ( ) { r && ( s = t . apply ( i , o ) , i = o = null , clearTimeout ( r ) , r = null ) } , l } n . debounce = n , t . exports = n } , function ( t , e , n ) { ( function ( e ) { "undefined" != typeof self && self , t . exports = function ( t ) { function e ( r ) { if ( n [ r ] ) return n [ r ] . exports ; var o = n [ r ] = { i : r , l : ! 1 , exports : { } } ; return t [ r ] . call ( o . exports , o , o . exports , e ) , o . l = ! 0 , o . exports } var n = { } ; return e . m = t , e . c = n , e . d = function ( t , n , r ) { e . o ( t , n ) || Object . defineProperty ( t , n , { configurable : ! 1 , enumerable : ! 0 , get : r } ) } , e . n = function ( t ) { var n = t && t . _ _esModule ? function ( ) { return t . default } : function ( ) { return t } ; return e . d ( n , "a" , n ) , n } , e . o = function ( t , e ) { return Object . prototype . hasOwnProperty . call ( t , e ) } , e . p = "" , e ( e . s = 22 ) } ( [ function ( t , e ) { function n ( t , e ) { var n = t [ 1 ] || "" , r = t [ 3 ] ; if ( ! r ) return n ; if ( e && "function" == typeof btoa ) { var o = function ( t ) { return "/*# sourceMappingURL=data:application/json;charset=utf-8;base64," + btoa ( unescape ( encodeURIComponent ( JSON . stringify ( t ) ) ) ) + " */" } ( r ) ; return [ n ] . concat ( r . sources . map ( ( function ( t ) { return "/*# sourceURL=" + r . sourceRoot + t + " */" } ) ) ) . concat ( [ o ] ) . join ( "\n" ) } return [ n ] . join ( "\n" ) } t . exports = function ( t ) { var e = [ ] ; return e . toString = function ( ) { return this . map ( ( function ( e ) { var r = n ( e , t ) ; return e [ 2 ] ? "@media " + e [ 2 ] + "{" + r + "}" : r } ) ) . join ( "" ) } , e . i = function ( t , n ) { "string" == typeof t && ( t = [ [ null , t , "" ] ] ) ; for ( var r = { } , o = 0 ; o < this . length ; o ++ ) { var i = this [ o ] [ 0 ] ; "number" == typeof i && ( r [ i ] = ! 0 ) } for ( o = 0 ; o < t . length ; o ++ ) { var a = t [ o ] ; "number" == typeof a [ 0 ] && r [ a [ 0 ] ] || ( n && ! a [ 2 ] ? a [ 2 ] = n : n && ( a [ 2 ] = "(" + a [ 2 ] + ") and (" + n + ")" ) , e . push ( a ) ) } } , e } } , function ( t , e , n ) { function r ( t ) { for ( var e = 0 ; e < t . length ; e ++ ) { var n = t [ e ] , r = u [ n . id ] ; if ( r ) { r . refs ++
2019-03-01 11:15:56 +03:00
/ * !
2020-01-19 05:18:19 +03:00
* vue - qrcode v1 . 0.2
2019-03-01 11:15:56 +03:00
* https : //fengyuanchen.github.io/vue-qrcode
*
* Copyright 2018 - present Chen Fengyuan
* Released under the MIT license
*
2020-01-19 05:18:19 +03:00
* Date : 2020 - 01 - 18 T06 : 04 : 33.222 Z
* /
2020-04-10 13:01:29 +03:00
t . exports = function ( ) { "use strict" ; function t ( ) { throw new Error ( "Dynamic requires are not currently supported by rollup-plugin-commonjs" ) } var e = function ( t , e ) { return t ( e = { exports : { } } , e . exports ) , e . exports } ( ( function ( e , n ) { e . exports = function e ( n , r , o ) { function i ( s , c ) { if ( ! r [ s ] ) { if ( ! n [ 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 = r [ s ] = { exports : { } } ; n [ s ] [ 0 ] . call ( u . exports , ( function ( t ) { return i ( n [ s ] [ 1 ] [ t ] || t ) } ) , u , u . exports , e , n , r , o ) } return r [ s ] . exports } for ( var a = t , s = 0 ; s < o . length ; s ++ ) i ( o [ s ] ) ; return i } ( { 1 : [ function ( t , e , n ) { e . exports = function ( ) { return "function" == typeof Promise && Promise . prototype && Promise . prototype . then } } , { } ] , 2 : [ function ( t , e , n ) { var r = t ( "./utils" ) . getSymbolSize ; n . getRowColCoords = function ( t ) { if ( 1 === t ) return [ ] ; for ( var e = Math . floor ( t / 7 ) + 2 , n = r ( t ) , o = 145 === n ? 26 : 2 * Math . ceil ( ( n - 13 ) / ( 2 * e - 2 ) ) , i = [ n - 7 ] , a = 1 ; a < e - 1 ; a ++ ) i [ a ] = i [ a - 1 ] - o ; return i . push ( 6 ) , i . reverse ( ) } , n . getPositions = function ( t ) { for ( var e = [ ] , r = n . getRowColCoords ( t ) , o = r . length , i = 0 ; i < o ; i ++ ) for ( var a = 0 ; a < o ; a ++ ) 0 === i && 0 === a || 0 === i && a === o - 1 || i === o - 1 && 0 === a || e . push ( [ r [ i ] , r [ a ] ] ) ; return e } } , { "./utils" : 21 } ] , 3 : [ function ( t , e , n ) { var r = t ( "./mode" ) , o = [ "0" , "1" , "2" , "3" , "4" , "5" , "6" , "7" , "8" , "9" , "A" , "B" , "C" , "D" , "E" , "F" , "G" , "H" , "I" , "J" , "K" , "L" , "M" , "N" , "O" , "P" , "Q" , "R" , "S" , "T" , "U" , "V" , "W" , "X" , "Y" , "Z" , " " , "$" , "%" , "*" , "+" , "-" , "." , "/" , ":" ] ; function i ( t ) { this . mode = r . ALPHANUMERIC , this . data = t } i . getBitsLength = function ( t ) { return 11 * Math . floor ( t / 2 ) + t % 2 * 6 } , i . prototype . getLength = function ( ) { return this . data . length } , i . prototype . getBitsLength = function ( ) { return i . getBitsLength ( this . data . length ) } , i . prototype . write = function ( t ) { var e ; for ( e = 0 ; e + 2 <= this . data . length ; e += 2 ) { var n = 45 * o . indexOf ( this . data [ e ] ) ; n += o . indexOf ( this . data [ e + 1 ] ) , t . put ( n , 11 ) } this . data . length % 2 && t . put ( o . indexOf ( this . data [ e ] ) , 6 ) } , e . exports = i } , { "./mode" : 14 } ] , 4 : [ function ( t , e , n ) { function r ( ) { this . buffer = [ ] , this . length = 0 } r . prototype = { get : function ( t ) { var e = Math . floor ( t / 8 ) ; return 1 == ( this . buffer [ e ] >>> 7 - t % 8 & 1 ) } , put : function ( t , e ) { for ( var n = 0 ; n < e ; n ++ ) this . putBit ( 1 == ( t >>> e - n - 1 & 1 ) ) } , getLengthInBits : function ( ) { return this . length } , putBit : function ( t ) { var e = Math . floor ( this . length / 8 ) ; this . buffer . length <= e && this . buffer . push ( 0 ) , t && ( this . buffer [ e ] |= 128 >>> this . length % 8 ) , this . length ++ } } , e . exports = r } , { } ] , 5 : [ function ( t , e , n ) { var r = t ( "../utils/buffer" ) ; function o ( t ) { if ( ! t || t < 1 ) throw new Error ( "BitMatrix size must be defined and greater than 0" ) ; this . size = t , this . data = r . alloc ( t * t ) , this . reservedBit = r . alloc ( t * t ) } o . prototype . set = function ( t , e , n , r ) { var o = t * this . size + e ; this . data [ o ] = n , r && ( this . reservedBit [ o ] = ! 0 ) } , o . prototype . get = function ( t , e ) { return this . data [ t * this . size + e ] } , o . prototype . xor = function ( t , e , n ) { this . data [ t * this . size + e ] ^= n } , o . prototype . isReserved = function ( t , e ) { return this . reservedBit [ t * this . size + e ] } , e . exports = o } , { "../utils/buffer" : 28 } ] , 6 : [ function ( t , e , n ) { var r = t ( "../utils/buffer" ) , o = t ( "./mode" ) ; function i ( t ) { this . mode = o . BYTE , this . data = r . from ( t ) } i . getBitsLength = function ( t ) { return 8 * t } , i . prototype . getLength = function ( ) { return this . data . length } , i . prototype . getBitsLength = function ( ) { return i . getBitsLength ( this . data . length ) } , i . prototype . write = function ( t ) { for ( var e = 0 , n = this . data . length ; e < n ; e ++ ) t . put ( this . data [ e ] , 8 ) } , e . exports = i } , { "../utils/buffer" : 28 , "./mode" : 14 } ] , 7 : [ function ( t , e , n ) { var r = t ( "./error-correction-level" ) , o = [ 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 1 , 2 , 2 , 1 , 2 , 2 , 4 , 1 , 2 , 4 , 4 , 2 , 4 , 4 , 4 , 2 , 4 , 6 , 5 , 2 , 4 , 6 , 6 , 2 , 5 , 8 , 8 , 4 , 5 , 8 , 8 , 4 , 5 , 8 , 11 , 4 , 8 , 10 , 11 , 4 , 9 , 12 , 16 , 4 , 9 , 16 , 16 , 6 , 10 , 12 , 18 , 6 , 10 , 17 , 16 , 6 , 11 , 16 , 19 , 6 , 13 , 18 , 21 , 7 , 14 , 21 , 25 , 8 , 16 , 20 , 25 , 8 , 17 , 23 , 25 , 9 , 17 , 23 , 34 , 9 , 18 , 25 , 30 , 10 , 20 , 27 , 32 , 12 , 21 , 29 , 35 , 12 , 23 , 34 , 37 , 12 , 25 , 34 , 40 , 13 , 26 , 35 , 42 , 14 , 28 , 38 , 45 , 15 , 29 , 40 , 48 , 16 , 31 , 43 , 51 , 17 , 33 , 45 , 54 , 18 , 35 , 48 , 57 , 19 , 37 , 51 , 60 , 19 , 38 , 53 , 63 , 20 , 40 , 56 , 66 , 21 , 43 , 59 , 70 , 22 , 45 , 62 , 74 , 24 , 47 , 65 , 77 , 25 , 49 , 68 , 81 ] , i = [ 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
2020-01-19 05:18:19 +03:00
/ * !
2020-03-08 14:14:37 +03:00
* clipboard . js v2 . 0.6
* https : //clipboardjs.com/
2020-01-19 05:18:19 +03:00
*
* Licensed MIT © Zeno Rocha
2019-02-26 21:43:59 +03:00
* /
2020-04-10 13:01:29 +03:00
t . exports = function ( ) { return n = { } , t . m = e = [ function ( t , e ) { t . exports = function ( t ) { var e ; if ( "SELECT" === t . nodeName ) t . focus ( ) , e = t . value ; else if ( "INPUT" === t . nodeName || "TEXTAREA" === t . nodeName ) { var n = t . hasAttribute ( "readonly" ) ; n || t . setAttribute ( "readonly" , "" ) , t . select ( ) , t . setSelectionRange ( 0 , t . value . length ) , n || t . removeAttribute ( "readonly" ) , e = t . value } else { t . hasAttribute ( "contenteditable" ) && t . focus ( ) ; var r = window . getSelection ( ) , o = document . createRange ( ) ; o . selectNodeContents ( t ) , r . removeAllRanges ( ) , r . addRange ( o ) , e = r . toString ( ) } return e } } , function ( t , e ) { function n ( ) { } n . prototype = { on : function ( t , e , n ) { var r = this . e || ( this . e = { } ) ; return ( r [ t ] || ( r [ t ] = [ ] ) ) . push ( { fn : e , ctx : n } ) , this } , once : function ( t , e , n ) { var r = this ; function o ( ) { r . off ( t , o ) , e . apply ( n , arguments ) } return o . _ = e , this . on ( t , o , n ) } , emit : function ( t ) { for ( var e = [ ] . slice . call ( arguments , 1 ) , n = ( ( this . e || ( this . e = { } ) ) [ t ] || [ ] ) . slice ( ) , r = 0 , o = n . length ; r < o ; r ++ ) n [ r ] . fn . apply ( n [ r ] . ctx , e ) ; return this } , off : function ( t , e ) { var n = this . e || ( this . e = { } ) , r = n [ t ] , o = [ ] ; if ( r && e ) for ( var i = 0 , a = r . length ; i < a ; i ++ ) r [ i ] . fn !== e && r [ i ] . fn . _ !== e && o . push ( r [ i ] ) ; return o . length ? n [ t ] = o : delete n [ t ] , this } } , t . exports = n , t . exports . TinyEmitter = n } , function ( t , e , n ) { var r = n ( 3 ) , o = n ( 4 ) ; t . exports = function ( t , e , n ) { if ( ! t && ! e && ! n ) throw new Error ( "Missing required arguments" ) ; if ( ! r . string ( e ) ) throw new TypeError ( "Second argument must be a String" ) ; if ( ! r . fn ( n ) ) throw new TypeError ( "Third argument must be a Function" ) ; if ( r . node ( t ) ) return d = e , f = n , ( p = t ) . addEventListener ( d , f ) , { destroy : function ( ) { p . removeEventListener ( d , f ) } } ; if ( r . nodeList ( t ) ) return c = t , l = e , u = n , Array . prototype . forEach . call ( c , ( function ( t ) { t . addEventListener ( l , u ) } ) ) , { destroy : function ( ) { Array . prototype . forEach . call ( c , ( function ( t ) { t . removeEventListener ( l , u ) } ) ) } } ; if ( r . string ( t ) ) return i = t , a = e , s = n , o ( document . body , i , a , s ) ; throw new TypeError ( "First argument must be a String, HTMLElement, HTMLCollection, or NodeList" ) ; var i , a , s , c , l , u , p , d , f } } , function ( t , e ) { e . node = function ( t ) { return void 0 !== t && t instanceof HTMLElement && 1 === t . nodeType } , e . nodeList = function ( t ) { var n = Object . prototype . toString . call ( t ) ; return void 0 !== t && ( "[object NodeList]" === n || "[object HTMLCollection]" === n ) && "length" in t && ( 0 === t . length || e . node ( t [ 0 ] ) ) } , e . string = function ( t ) { return "string" == typeof t || t instanceof String } , e . fn = function ( t ) { return "[object Function]" === Object . prototype . toString . call ( t ) } } , function ( t , e , n ) { var r = n ( 5 ) ; function o ( t , e , n , o , i ) { var a = function ( t , e , n , o ) { return function ( n ) { n . delegateTarget = r ( n . target , e ) , n . delegateTarget && o . call ( t , n ) } } . apply ( this , arguments ) ; return t . addEventListener ( n , a , i ) , { destroy : function ( ) { t . removeEventListener ( n , a , i ) } } } t . exports = function ( t , e , n , r , i ) { return "function" == typeof t . addEventListener ? o . apply ( null , arguments ) : "function" == typeof n ? o . bind ( null , document ) . apply ( null , arguments ) : ( "string" == typeof t && ( t = document . querySelectorAll ( t ) ) , Array . prototype . map . call ( t , ( function ( t ) { return o ( t , e , n , r , i ) } ) ) ) } } , function ( t , e ) { if ( "undefined" != typeof Element && ! Element . prototype . matches ) { var n = Element . prototype ; n . matches = n . matchesSelector || n . mozMatchesSelector || n . msMatchesSelector || n . oMatchesSelector || n . webkitMatchesSelector } t . exports = function ( t , e ) { for ( ; t && 9 !== t . nodeType ; ) { if ( "function" == typeof t . matches && t . matches ( e ) ) return t ; t = t . parentNode } } } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = n ( 0 ) , o = n . n ( r ) , i = "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 } ; function a ( t , e ) { for ( var n = 0 ; n < e . length ; n ++ ) { var r = e [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( t , r . key , r ) } } function s ( t ) { ! function ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this , s ) , this . resolveOptions ( t ) , this . initSelection ( ) } var c = ( function ( t , e , n ) { e && a ( t . prototype , e ) } ( s , [ { key : "resolveOptions" , value : function ( t ) { var e = 0 < arguments . length && void 0 !== t ? t : { } ; this . action = e . action , this . container = e . container , this . emitter = e . emitter , this . target = e . target , this . text = e . text , this . trigger = e . trigger , this . selectedText = "" } } , { key : "initSelection" , value : func
2019-02-26 21:43:59 +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/>.
* /
2020-03-21 12:42:37 +03:00
r . nc = btoa ( OC . requestToken ) , i . default . use ( s . a ) , i . default . use ( c . default , { defaultHtml : ! 1 } ) , i . default . prototype . t = t , new ( i . default . extend ( O ) ) ( { propsData : { tokens : Object ( o . loadState ) ( "settings" , "app_tokens" ) , canCreateToken : Object ( o . loadState ) ( "settings" , "can_create_app_token" ) } } ) . $mount ( "#security-authtokens" ) } ] ) ;
2020-04-29 12:10:31 +03:00
//# sourceMappingURL=vue-settings-personal-security.js.map?v=7c88e795001e98c0b67b