2020-04-06 16:36:52 +03:00
! function ( t ) { var e = { } ; function n ( r ) { if ( e [ r ] ) return e [ r ] . exports ; var a = e [ r ] = { i : r , l : ! 1 , exports : { } } ; return t [ r ] . call ( a . exports , a , a . exports , n ) , a . l = ! 0 , a . 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 a in t ) n . d ( r , a , function ( e ) { return t [ e ] } . bind ( null , a ) ) ; 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 = 554 ) } ( [ function ( t , e , n ) { var r = n ( 2 ) , a = n ( 98 ) , i = n ( 6 ) , o = n ( 101 ) , s = n ( 102 ) , c = n ( 156 ) , l = a ( "wks" ) , u = r . Symbol , p = c ? u : u && u . withoutSetter || o ; 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 , n ) { var r = n ( 2 ) , a = n ( 30 ) . f , i = n ( 18 ) , o = n ( 13 ) , s = n ( 99 ) , c = n ( 163 ) , l = n ( 71 ) ; t . exports = function ( t , e ) { var n , u , p , d , f , h = t . target , v = t . global , m = t . stat ; if ( n = v ? r : m ? r [ h ] || s ( h , { } ) : ( r [ h ] || { } ) . prototype ) for ( u in e ) { if ( d = e [ u ] , p = t . noTargetGet ? ( f = a ( n , u ) ) && f . value : n [ u ] , ! l ( v ? u : h + ( m ? "." : "#" ) + u , t . forced ) && void 0 !== p ) { if ( typeof d == typeof p ) continue ; c ( d , p ) } ( t . sham || p && p . sham ) && i ( d , "sham" , ! 0 ) , o ( n , u , d , t ) } } } , 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 ( 8 ) ) } , function ( t , e ) { t . exports = function ( t ) { try { return ! ! t ( ) } catch ( t ) { return ! 0 } } } , function ( t , e , n ) { var r = n ( 3 ) ; t . exports = ! r ( ( function ( ) { return 7 != Object . defineProperty ( { } , 1 , { get : function ( ) { return 7 } } ) [ 1 ] } ) ) } , function ( t , e , n ) { var r = n ( 7 ) ; t . exports = function ( t ) { if ( ! r ( t ) ) throw TypeError ( String ( t ) + " is not an object" ) ; return t } } , function ( t , e ) { var n = { } . hasOwnProperty ; t . exports = function ( t , e ) { return n . call ( t , e ) } } , function ( t , e ) { t . exports = function ( t ) { return "object" == typeof t ? null !== t : "function" == typeof t } } , function ( t , e ) { var n ; n = function ( ) { return this } ( ) ; try { n = n || new Function ( "return this" ) ( ) } catch ( t ) { "object" == typeof window && ( n = window ) } t . exports = n } , 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 ( 8 ) ) } , function ( t , e , n ) { var r = n ( 9 ) , a = n ( 244 ) , i = n ( 16 ) , o = n ( 136 ) , s = n ( 249 ) , c = n ( 447 ) , l = a ( "wks" ) , u = r . Symbol , p = c ? u : u && u . withoutSetter || o ; 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 , n ) { var r = n ( 4 ) , a = n ( 155 ) , i = n ( 5 ) , o = n ( 46 ) , s = Object . defineProperty ; e . f = r ? s : function ( t , e , n ) { if ( i ( t ) , e = o ( e , ! 0 ) , i ( n ) , a ) try { return s ( t , e , n ) } catch ( t ) { } if ( "get" in n || "set" in n ) throw TypeError ( "Accessors not supported" ) ; return "value" in n && ( t [ e ] = n . value ) , t } } , function ( t , e , n ) { "use strict" ; var r = n ( 213 ) , a = Object . prototype . toString ; function i ( t ) { return "[object Array]" === a . call ( t ) } function o ( t ) { return void 0 === t } function s ( t ) { return null !== t && "object" == typeof t } function c ( t ) { return "[object Function]" === a . 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 a in t ) Object . prototype . hasOwnProperty . call ( t , a ) && e . call ( null , t [ a ] , a , t ) } t . exports = { isArray : i , isArrayBuffer : function ( t ) { return "[object ArrayBuffer]" === a . call ( t ) } , isBuffer : function ( t ) { return null !== t && ! o ( t ) && null !== t . constructor && ! o ( 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 : fu
2019-05-17 10:49:47 +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-05-17 10:49:47 +03:00
* Released under the MIT License .
* /
2020-04-06 16:36:52 +03:00
var r = Object . freeze ( { } ) ; function a ( t ) { return null == t } function i ( t ) { return null != t } function o ( 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 v ( t ) { var e = parseFloat ( t ) ; return isNaN ( e ) ? t : e } function m ( t , e ) { for ( var n = Object . create ( null ) , r = t . split ( "," ) , a = 0 ; a < r . length ; a ++ ) n [ r [ a ] ] = ! 0 ; return e ? function ( t ) { return n [ t . toLowerCase ( ) ] } : function ( t ) { return n [ t ] } } m ( "slot,component" , ! 0 ) ; var g = m ( "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 ( ) : "" } ) ) } ) ) , C = x ( ( function ( t ) { return t . charAt ( 0 ) . toUpperCase ( ) + t . slice ( 1 ) } ) ) , k = /\B([A-Z])/g , T = x ( ( function ( t ) { return t . replace ( k , "-$1" ) . toLowerCase ( ) } ) ) ; var S = 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 E ( 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 D ( 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 a = Array . isArray ( t ) , i = Array . isArray ( e ) ; if ( a && i ) return t . length === e . length && t . every ( ( function ( t , n ) { return D ( t , e [ n ] ) } ) ) ; if ( t instanceof Date && e instanceof Date ) return t . getTime ( ) === e . getTime ( ) ; if ( a || i ) return ! 1 ; var o = Object . keys ( t ) , s = Object . keys ( e ) ; return o . length === s . length && o . every ( ( function ( n ) { return D ( t [ n ] , e [ n ] ) } ) ) } catch ( t ) { return ! 1 } } function P ( t , e ) { for ( var n = 0 ; n < t . length ; n ++ ) if ( D ( t [ n ] , e ) ) return n ; return - 1 } function j ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , t . apply ( this , arguments ) ) } } var F = [ "component" , "directive" , "filter" ] , R = [ "beforeCreate" , "created" , "beforeMount" , "mounted" , "beforeUpdate" , "updated" , "beforeDestroy" , "destroyed" , "activated" , "deactivated" , "errorCaptured" , "serverPrefetch" ] , B = { 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 , G = "__proto__" in { } , H = "undefined" != typeof window , Y = "undefined" != typeof WXEnvironment && ! ! WXEnvironment . platform , Q = Y && WXEnvironment . platform . toLowerCase ( ) , W = H && window . navigator . userAgent . toLowerCase ( ) , X = W && /msie|trident/ . test ( W ) , q = W && W . indexOf ( "msie 9.0" ) > 0 , Z = W && W . indexOf ( "edge/" ) > 0 , K = ( 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 && ! Y && void 0 !== t && ( t . process && "server" === t . process . env . VUE _ENV ) ) , V } , at = H && window . _ _VUE _DEVTOOLS _GLOBAL _HOOK _ _ ; function it ( t ) { return "function" == t
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-03-21 12:42:37 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "2c44938" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , e . default = r . VTooltip } , function ( t , e , n ) { "use strict" ; n . d ( e , "a" , ( function ( ) { return o } ) ) , n . d ( e , "b" , ( function ( ) { return s } ) ) , n ( 32 ) ; var r = n ( 39 ) , a = Object ( r . getGettextBuilder ) ( ) . detectLocale ( ) ; [ { locale : "cs_CZ" , json : { charset : "utf-8" , headers : { "Last-Translator" : "Pavel Borecki <pavel.borecki@gmail.com>, 2020" , "Language-Team" : "Czech (Czech Republic) (https://www.transifex.com/nextcloud/teams/64236/cs_CZ/)" , "Content-Type" : "text/plain; charset=UTF-8" , Language : "cs_CZ" , "Plural-Forms" : "nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;" } , translations : { "" : { "" : { msgid : "" , comments : { translator : "Translators:\nPavel Borecki <pavel.borecki@gmail.com>, 2020\n" } , msgstr : [ "Last-Translator: Pavel Borecki <pavel.borecki@gmail.com>, 2020\nLanguage-Team: Czech (Czech Republic) (https://www.transifex.com/nextcloud/teams/64236/cs_CZ/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: cs_CZ\nPlural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" ] } , "{tag} (invisible)" : { msgid : "{tag} (invisible)" , comments : { reference : "src/components/MultiselectTags/MultiselectTags.vue:169" } , msgstr : [ "{tag} (neviditelný)" ] } , "{tag} (restricted)" : { msgid : "{tag} (restricted)" , comments : { reference : "src/components/MultiselectTags/MultiselectTags.vue:172" } , msgstr : [ "{tag} (omezený)" ] } , Choose : { msgid : "Choose" , comments : { reference : "src/components/ColorPicker/ColorPicker.vue:145" } , msgstr : [ "Zvolit" ] } , Close : { msgid : "Close" , comments : { reference : "src/components/Modal/Modal.vue:109" } , msgstr : [ "Zavřít" ] } , Next : { msgid : "Next" , comments : { reference : "src/components/Modal/Modal.vue:154" } , msgstr : [ "Následující" ] } , "No results" : { msgid : "No results" , comments : { reference : "src/components/Multiselect/Multiselect.vue:169\nsrc/components/MultiselectTags/MultiselectTags.vue:78" } , msgstr : [ "Žádné výsledky" ] } , "Pause slideshow" : { msgid : "Pause slideshow" , comments : { reference : "src/components/Modal/Modal.vue:290" } , msgstr : [ "Pozastavit prezentaci" ] } , Previous : { msgid : "Previous" , comments : { reference : "src/components/Modal/Modal.vue:134" } , msgstr : [ "Předchozí" ] } , "Select a tag" : { msgid : "Select a tag" , comments : { reference : "src/components/MultiselectTags/MultiselectTags.vue:100" } , msgstr : [ "Vybrat štítek" ] } , Settings : { msgid : "Settings" , comments : { reference : "src/components/AppNavigationSettings/AppNavigationSettings.vue:53" } , msgstr : [ "Nastavení" ] } , "Start slideshow" : { msgid : "Start slideshow" , comments : { reference : "src/components/Modal/Modal.vue:290" } , msgstr : [ "Spustit prezentaci" ] } } } } } , { locale : "de" , json : { charset : "utf-8" , headers : { "Last-Translator" : "Philipp Fischbeck <pfischbeck@googlemail.com>, 2020" , "Language-Team" : "German (https://www.transifex.com/nextcloud/teams/64236/de/)" , "Content-Type" : "text/plain; charset=UTF-8" , Language : "de" , "Plural-Forms" : "nplurals=2; plural=(n != 1);" } , translations : { "" : { "" : { msgid : "" , comments : { translator : "Translators:\nMark Ziegler <mark.ziegler@rakekniven.de>, 2020\nPhilipp Fischbeck <pfischbeck@googlemail.com>, 2020\n" } , msgstr : [ "Last-Translator: Philipp Fischbeck <pfischbeck@googlemail.com>, 2020\nLanguage-Team: German (https://www.transifex.com/nextcloud/teams/64236/de/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: de\nPlural-Forms: nplurals=2; plural=(n != 1);\n" ] } , "{tag} (invisible)" : { msgid : "{tag} (invisible)" , comments : { reference : "src/components/MultiselectTags/MultiselectTags.vue:169" } , msgstr : [ "{tag} (unsichtbar)" ] } , "{tag} (restricted)" : { msgid : "{tag} (restricted)" , comments : { reference : "src/components/MultiselectTags/MultiselectTags.vue:172" } , msgstr : [ "{tag} (eingeschränkt)" ] } , Choose : { msgid : "Choose" , comments : { reference : "src/components/ColorPicker/ColorPicker.vue:145" } , msgstr : [ "Auswählen" ] } , Close : { msgid : "Close" , comments : { reference : "src/components/Modal/Modal.vue:109" } , msgstr : [ "Schließen" ] } , Next : { msgid : "Next" , comments : { reference : "src/components/Modal/Modal.vue:154" } , msg
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-03-22 21:46:15 +03:00
* /e.a={before:function(){this.$slots.default&&""!==this.text.trim()||(a.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){t.exports=n(304)},function(t,e){t.exports=n(106)},function(t,e){t.exports=n(169)},function(t,e){t.exports=n(307)},function(t,e){t.exports=n(171)},function(t,e){t.exports=n(308)},function(t,e){t.exports=n(309)},function(t,e,n){"use strict";n(3),n(19),n(21),n(28),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 ( 3 1 0 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 1 5 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 1 7 ) } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 1 6 ) , n ( 3 ) , n ( 1 7 ) , n ( 1 8 ) , n ( 2 3 ) ; v a r r = n ( 1 4 ) , a = ( n ( 6 ) , 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 } } , 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 = a ( 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 ( 3 1 8 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 1 9 ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 6 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 ) ( " 6 d 9 1 4 1 8 1 " , r , ! 0 , { } ) } , 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 ) ( " 2 f c 2 1 6 d 3 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 6 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 ) ( " b 6 1 9 c f a 6 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 2 0 ) } , 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 ( 1 3 ) ; 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 , n ) { v a r r = n ( 8 0 ) ; " 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 a 3 0 4 4 0 0 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 8 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 7 2 c b 5 9 6 " , 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 " ;
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
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-03-22 21:46:15 +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 ( " 2 c 4 4 9 3 8 " ) , " " ) } ) ) } } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 2 7 ) , n ( 5 2 ) , n ( 2 0 ) ; v a r r = n ( 1 5 ) , a = n ( 1 2 ) , i = n ( 2 2 ) , o = ( n ( 7 7 ) , 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 , a = O b j e c t . a s s i g n ( { } ) ; r e t u r n a . t o p = e . t o p < 0 , a . l e f t = e . l e f t < 0 , a . b o t t o m = e . b o t t o m > n , a . r i g h t = e . r i g h t > r , a . a n y = a . t o p | | a . l e f t | | a . b o t t o m | | a . r i g h t , a . a l l = a . t o p & & a . l e f t & & a . b o t t o m & & a . r i g h t , a . o f f s e t Y = a . t o p ? e . t o p : a . b o t t o m ? e . b o t t o m - n : 0 , a . o f f s e t X = a . l e f t ? e . l e f t : a . r i g h t ? e . r i g h t - r : 0 , a } ) , s = ( n ( 7 4 ) , n ( 7 8 ) , n ( 6 ) , n ( 7 5 ) , n ( 5 ) ) , c = n . n ( s ) , l = f u n c t i o n ( t , e , n ) { v o i d 0 ! = = t & & t . f o r E a c h ( ( f u n c t i o n ( r , a ) { v a r i = ! r . c o m p o n e n t O p t i o n s & & r . t a g & & - 1 = = = e . i n d e x O f ( r . t a g ) , o = ! ! r . c o m p o n e n t O p t i o n s & & " s t r i n g " = = t y p e o f r . c o m p o n e n t O p t i o n s . t a g & & - 1 = = = e . i n d e x O f ( r . c o m p o n e n t O p t i o n s . t a g ) ; ( i | | o ) & & ( c . a . u t i l . w a r n ( " " . c o n c a t ( i ? r . t a g : r . c o m p o n e n t O p t i o n s . t a g , " i s n o t a l l o w e d i n s i d e t h e " ) . c o n c a t ( 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 ( a , 1 ) ) } ) ) } , u = [ " 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 " ] , p = { 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 : a . 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 " } } , 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 : t h i s . f i r s t A c t i o n . t a r g e t } ; i f ( " A c t i o n R o u t e r " = = = t ) r e t u r n { i s : " r o u t e r - l i n k " , t o : t h i s . f i r s t A c t i o n . t o , e x a c t : t h i s . f i r s t A c t i o n . e x a c t } ; i f ( " A c t i o n B u t t o n " = = = t ) r e t u r n { i s : " b u t t o n " } } r e t u r n n u l l } , f i r s t A c t i o n E v e n t : f u n c t i o n ( ) { r e t u r n 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 & & 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 . l i s t e n e r s & & 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 . l i s t e n e r s . c l i c k } , f i r s t A c t i o n E v e n t B i n d i n g : f u n c t i o n ( ) { r e t u r n t h i s . f i r s t A c t i o n E v e n t ? " c l i c k " : n u l l } , f i r s t A c t i o n C l a s s : f u n c t i o n ( ) { v a r t = 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 . d a t a . s t a t i c C l a s s , e = 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 . d a t a . c l a s s ; r e t u r n " " . c o n c a t ( t , " " ) . c o n c a t ( e ) } } , w a t c h : { o p e n : f u n c t i o n ( t ) { v a r e = t h i s ; 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 . $ n e x t T i c k ( ( f u n c t i o n ( ) { e . o n O p e n ( ) } ) ) } } , b e f o r e M o u n t : f u n c t i o n ( ) { t h i s . i n i t A c t i o n s ( ) , l ( t h i s . $ s l o t s . d e f a u l t , u , t h i s ) } , b e f o r e U p d a t e : f u n c t i o n ( ) { t h i s . i n i t A c t i o n s ( ) , l ( t h i s . $ s l o t s . d e f a u l t , u , t h i s ) } , 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 ) { v a r e = t h i s ; t h i s . o p e n e d = ! t h i s . o p e n e d , t h i s . o p e n e d ? ( t h i s . $ n e x t T i c k ( ( f u n c t i o n ( ) { e . o n O p e n ( ) , e . f o c u s F i r s t A c t i o n ( ) } ) ) , t h i s . $ e m i t ( " o p e n " , t ) ) : ( t h i s . o f f s e t X = 0 , t h i s . o f f s e t Y = 0 , t h i s . o f f s e t Y A r r o w = 0 , t h i s . r o t a t e A r r o w = ! 1 ) , t h i s . $ e m i t ( " u p d a t e : o p e n " , t h i s . o p e n e d ) } , c l o s e M e n u : f u n c t i o n ( t ) { t h i s . o p e n e d & & ( t h i s . $ e m i t ( " u p d a t e : o p e n " , ! 1 ) , t h i s . $ e m i t ( " c l o s e " , t ) ) , t h i s . o p e n e d = ! 1 , t h i s . o f f s e t X = 0 , t h i s . o f f s e t Y = 0 , t h i s . o f f s e t Y A r r o w = 0 , t h i s . r o t a t e A r r o w = ! 1 } , o n O p e n : f u n c t i o n ( ) { i f ( t h i s . o f f s e t X = 0 , t h i s . o f f s e t Y = 0 , t h i s . o f f s e t Y A r r o w = 0 , t h i s . r o t a t e A r r o w = ! 1 , " c e n t e r " = = = t h i s . m e n u A l i g n ) { v a r t = o ( t h i s . $ r e f s . m e n u ) ; ( t . l e f t | | t . r i g h t ) & & ( t h i s . o f f s e t X = t . o f f s e t X > 0 ? M a t h . r o u n d ( t . o f f s e t X ) + 5 : M a t h . r o u n d ( t . o f f s e t X ) - 5 ) , t . b o t t o m & & ( t h i s . o f f s e t Y = 0 - M a t h . r o u n d ( t h i s . $ r e f s . m e n u . c l i e n t H e i g h t ) - 4 2 , t h i s . o f f s e t Y A r r o w = M a t h . r o u n d ( t h i s . $ r e f s . m e n u . c l i e n t H e i g h t ) + 1 8 , t h i s . r o t a t e A r r o w = ! 0 ) } } , o n M o u s e F o c u s A c t i o n : f u n c t i o n ( t ) { i f ( d o c u m e n t . a c t i v e E l e m e n t ! = = t . t a r g e t ) { v a r e = t . t a r g e t . c l o s e s t ( " l i " ) ; i f ( e ) { v a r n = e . q u e r y S e l e c t o r ( " . f o c u s a b l e " ) ; i f ( n )
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 ,
2020-01-16 02:03:29 +03:00
* 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
* 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/>.
*
2018-11-19 12:26:04 +03:00
* /
2020-03-22 21:46:15 +03:00
function r ( t , e , n ) { this . r = t , this . g = e , this . b = n } function a ( t , e , n ) { var a = [ ] ; a . 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 ] ) , o = 1 ; o < t ; o ++ ) { var s = parseInt ( e . r + i [ 0 ] * o , 10 ) , c = parseInt ( e . g + i [ 1 ] * o , 10 ) , l = parseInt ( e . b + i [ 2 ] * o , 10 ) ; a . push ( new r ( s , c , l ) ) } return a } n ( 27 ) , 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 ) , o = a ( t , e , n ) , s = a ( t , n , i ) , c = a ( t , i , e ) ; return o . concat ( s ) . concat ( c ) } } , function ( t , e ) { } , function ( t , e ) { } , function ( t , e , n ) { "use strict" ; n . r ( e ) , n . d ( e , "PopoverMenu" , ( function ( ) { return l } ) ) , n ( 20 ) , n ( 16 ) , n ( 3 ) , n ( 21 ) , n ( 17 ) , n ( 18 ) , n ( 23 ) ; 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 ) } } } , a = ( n ( 64 ) , n ( 66 ) , n ( 0 ) ) , i = { name : "PopoverMenu" , components : { PopoverMenuItem : Object ( a . 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 , a = ! ! 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" , a ) } , 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 - tex
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-02-27 16:23:40 +03:00
*
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-03-22 21:46:15 +03:00
* /e.default=l},function(t,e){t.exports=n(358)},function(t,e,n){"use strict";n.r(e),n.d(e,"Avatar",(function(){return b})),n(27),n(63),n(32),n(25),n(3),n(61),n(62);var r=n(15),a=n(48),i=n(49),o=n.n(i),s=n(12),c=(n(19),n(81),n(28),n(60)),l=n.n(c),u=n(45);function p(t,e,n,r,a,i,o){try{var s=t[i](o),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,a)}function d(t){return function(){var e=this,n=arguments;return new Promise((function(r,a){var i=t.apply(e,n);function o(t){p(i,r,a,o,s,"next",t)}function s(t){p(i,r,a,o,s,"throw",t)}o(void 0)}))}}var f={name:"Avatar",directives:{tooltip:s.default,ClickOutside:r.directive},components:{PopoverMenu:a.PopoverMenu},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 = [ ] , a = 0 ; a < t . length ; a ++ ) r . push ( parseInt ( t . charAt ( a ) , 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 , a ; return regeneratorRuntime . wrap ( ( function ( e ) { for ( ; ; ) switch ( e . prev = e . next ) { case 0 : return e . prev = 0 , n = encodeURIComponent ( t . user ) , e . next = 4 , o . a . post ( OC . generateUrl ( "contactsmenu/findOne" ) , "shareType=0&shareWith=" . concat ( n ) ) ; case 4 : r = e . sent , a = r . data , t . contactsMenuActions = a . topAction ? [ a . topAction ] . concat ( a . actions ) : a . actions , e . next = 12 ; break ; case 9 : e . prev
2019-05-17 10:49:47 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2018 Julius Härtl < jus @ bitgrid . net >
2019-05-17 10:49:47 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
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
2020-01-16 02:03:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-05-17 10:49:47 +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-03-22 21:46:15 +03:00
* / 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 " ; v a r r = { n a m e : " A c t i o n B u t t o n " , m i x i n s : [ n ( 2 6 ) . a ] , p r o p s : { 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 } } } , a = ( n ( 1 1 5 ) , n ( 0 ) ) , i = n ( 5 3 ) , o = n . n ( i ) , s = O b j e c t ( a . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s , 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 ( " b u t t o n " , { s t a t i c C l a s s : " a c t i o n - b u t t o n " , 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 } , o n : { c l i c k : t . o n C l i c k } } , [ n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - b u t t o n _ _ 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 - b u t t o n _ _ 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 - b u t t o n _ _ 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 - b u t t o n _ _ 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 - b u t t o n _ _ 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 - b u t t o n _ _ t e x t " } , [ t . _ v ( t . _ s ( t . t e x t ) ) ] ) , t . _ v ( " " ) , t . _ e ( ) ] , 2 ) ] ) } ) , [ ] , ! 1 , n u l l , " 4 2 6 0 4 d e 1 " , n u l l ) ; " f u n c t i o n " = = t y p e o f o . a & & o ( ) ( s ) , e . a = s . e x p o r t s } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 4 7 8 ) } , 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 3 8 ) ; " 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 ) ( " a 3 9 c a e 0 0 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 4 4 ) ; " 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 5 3 8 7 e f 8 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 4 6 ) ; " 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 ) ( " a 3 7 5 d 0 a c " , 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 ( 3 8 ) ; n . d ( e , " A c t i o n s " , ( f u n c t i o n ( ) { r e t u r n r . a } ) ) ,
2019-05-17 10:49:47 +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
2019-10-13 19:26:09 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-05-17 10:49:47 +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/>.
*
2019-06-04 14:50:12 +03:00
* /
2020-03-22 21:46:15 +03:00
e . default = r . a } , function ( t , e , n ) { "use strict" ; n . r ( e ) , n . d ( e , "Popover" , ( function ( ) { return c } ) ) ; var r = { name : "Popover" , components : { VPopover : n ( 4 ) . VPopover } } , a = ( n ( 117 ) , n ( 0 ) ) , i = n ( 54 ) , o = n . n ( i ) , s = Object ( a . a ) ( r , ( function ( ) { var t = this . $createElement , e = this . _self . _c || t ; return e ( "VPopover" , this . _g ( this . _b ( { staticClass : "popover" } , "VPopover" , this . $attrs , ! 1 ) , this . $listeners ) , [ this . _t ( "trigger" ) , this . _v ( " " ) , e ( "template" , { slot : "popover" } , [ this . _t ( "default" ) ] , 2 ) ] , 2 ) } ) , [ ] , ! 1 , null , "f4d0a772" , null ) ; "function" == typeof o . a && o ( ) ( s ) ; var c = s . exports ;
2019-05-17 10:49:47 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 Marco Ambrosini < marcoambrosini @ pm . me >
2019-05-17 10:49:47 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author Marco Ambrosini < marcoambrosini @ pm . me >
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
2020-01-16 02:03:29 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-05-17 10:49:47 +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-03-22 21:46:15 +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 ( 4 7 9 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 4 8 2 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 4 9 1 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 4 9 2 ) } , 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 ) { ( e = n ( 1 ) ( ! 1 ) ) . p u s h ( [ t . i , " \ n b u t t o n . m e n u i t e m [ d a t a - v - 8 d c 4 e f b 0 ] { \ n \ t t e x t - a l i g n : l e f t ; \ n } \ n b u t t o n . m e n u i t e m * [ d a t a - v - 8 d c 4 e f b 0 ] { \ n \ t c u r s o r : p o i n t e r ; \ n } \ n b u t t o n . m e n u i t e m [ d a t a - v - 8 d c 4 e f b 0 ] : d i s a b l e d { \ n \ t o p a c i t y : 0 . 5 ! i m p o r t a n t ; \ n \ t c u r s o r : d e f a u l t ; \ n } \ n b u t t o n . m e n u i t e m : d i s a b l e d * [ d a t a - v - 8 d c 4 e f b 0 ] { \ n \ t c u r s o r : d e f a u l t ; \ n } \ n . m e n u i t e m . a c t i v e [ d a t a - v - 8 d c 4 e f b 0 ] { \ n \ t b o x - s h a d o w : i n s e t 2 p x 0 v a r ( - - c o l o r - p r i m a r y ) ; \ n \ t b o r d e r - r a d i u s : 0 ; \ n } \ n " , " " ] ) , 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 ( 3 0 ) ; 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 [ d a t a - v - 8 d c 4 e f b 0 ] { d i s p l a y : f l e x ; f l e x : 0 0 a u t o } l i . h i d d e n [ d a t a - v - 8 d c 4 e f b 0 ] { d i s p l a y : n o n e } l i > b u t t o n [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m [ d a t a - v - 8 d c 4 e f b 0 ] { c u r s o r : p o i n t e r ; l i n e - h e i g h t : 4 4 p x ; 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 ; 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 ; 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 ; f o n t - w e i g h t : n o r m a l ; b o x - s h a d o w : n o n e ; w i d t h : 1 0 0 % ; c o l o r : v a r ( - - c o l o r - m a i n - t e x t ) ; w h i t e - s p a c e : n o w r a p ; o p a c i t y : . 7 } l i > b u t t o n s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > b u t t o n s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > b u t t o n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > b u t t o n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] { m i n - w i d t h : 0 ; m i n - h e i g h t : 0 ; 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 } l i > b u t t o n s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > b u t t o n s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] { p a d d i n g : 2 2 p x 0 2 2 p x 4 4 p x } l i > b u t t o n : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > s p a n [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > b u t t o n : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > i n p u t [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > b u t t o n : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > f o r m [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > a : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > s p a n [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > a : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > i n p u t [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > a : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > f o r m [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > . m e n u i t e m : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > s p a n [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > . m e n u i t e m : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > i n p u t [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > . m e n u i t e m : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > f o r m [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d { m a r g i n - l e f t : 4 4 p x } l i > b u t t o n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > b u t t o n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] { p a d d i n g : 0 1 4 p x 0 4 4 p x } l i > b u t t o n [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( : d i s a b l e d ) : h o v e r , l i > b u t t o n [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( : d i s a b l e d ) : f o c u s , l i > b u t t o n : n o t ( : d i s a b l e d ) . a c t i v e [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( : d i s a b l e d ) : h o v e r , l i > a [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( : d i s a b l e d ) : f o c u s , l i > a : n o t ( : d i s a b l e d ) . a c t i v e [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( : d i s a b l e d ) : h o v e r , l i > . m e n u i t e m [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( : d i s a b l e d ) : f o c u s , l i > . m e n u i t e m : n o t ( : d i s a b l e d ) . a c t i v e [ d a t a - v - 8 d c 4 e f b 0 ] { o p a c i t y : 1 ! i m p o r t a n t } l i > b u t t o n . a c t i o n [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a . a c t i o n [ d a t a - v - 8 d c 4 e f b 0
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/>.
*
2019-02-27 16:23:40 +03:00
* /
2020-03-10 21:46:25 +03:00
e . default = r . a } , function ( t , e , n ) { var r = n ( 179 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "1369e34b" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 181 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "8b8428ba" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 183 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "ede0e406" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 185 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "30f5de4e" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 187 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "766647a2" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 189 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "4ec64a44" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 191 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "66fabc51" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 193 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "19f30fef" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 195 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "55b308c7" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 197 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "03aa2e93" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 199 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "2ebdb218" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 201 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "0a84af6e" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 203 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "168620f4" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 205 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "7cd7396a" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 207 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "0a03b2a2" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 209 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "3890adfa" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 211 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "51b0dcca" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 213 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "3899c9e9" , r , ! 0 , { } ) } , function ( t , e , n ) { "use strict" ; n . r ( e ) , n . d ( e , "directive" , ( function ( ) { return r } ) ) ;
2019-05-17 10:49:47 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 Georg Ehrke
2019-05-17 10:49:47 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author Georg Ehrke < oc . list @ georgehrke . 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
* 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/>.
*
2019-06-04 14:50:12 +03:00
* /
2020-03-22 21:46:15 +03:00
var r = { inserted : function ( t ) { t . focus ( ) } } ; e . default = r } , function ( t , e , n ) { var r = n ( 216 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "b73da156" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 218 ) ; "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 ( 220 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "580db908" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 222 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "2d8e8fe0" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 225 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "3e577c41" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 227 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "2027e7d5" , r , ! 0 , { } ) } , function ( t , e , n ) { "use strict" ; n . r ( e ) , n . d ( e , "Multiselect" , ( function ( ) { return C } ) ) ; var r = n ( 37 ) , a = ( n ( 133 ) , n ( 139 ) , n ( 140 ) , n ( 16 ) , n ( 63 ) , n ( 32 ) , n ( 141 ) , n ( 25 ) , n ( 3 ) , n ( 17 ) , n ( 18 ) , n ( 19 ) , n ( 113 ) , n ( 40 ) ) , i = n . n ( a ) , o = n ( 50 ) , s = ( n ( 142 ) , n ( 21 ) , n ( 28 ) , { methods : { highlightText : function ( t , e ) { return e . length ? t . replace ( new RegExp ( e , "gi" ) , "<strong>" . concat ( e , "</strong>" ) ) : t } } } ) , c = { name : "AvatarSelectOption" , components : { Avatar : o . default } , mixins : [ s ] , props : { desc : { type : String , default : "" } , displayName : { type : String , required : ! 0 } , icon : { type : String , default : "" } , user : { type : String , default : "" } , isNoUser : { type : Boolean , default : ! 1 } , search : { type : String , default : "" } } , computed : { highlightedDisplayName : function ( ) { return this . highlightText ( i ( ) ( this . displayName ) , this . search ) } , highlightedDesc : function ( ) { return this . highlightText ( i ( ) ( this . desc ) , this . search ) } } } , l = ( n ( 143 ) , n ( 0 ) ) , u = n ( 72 ) , 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 , "30d8da34" , null ) ; "function" == typeof p . a && p ( ) ( d ) ; var f = d . exports , h = ( n ( 6 ) , { 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 ) } } } ) , v = ( n ( 145 ) , 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 , "c4325954" , null ) . exports ) , m = n ( 33 ) , g = n ( 12 ) , b = n ( 114 ) ; 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" , components : { AvatarSelectOption : f , EllipsisedOption : v , VueMultiselect : n . n ( b ) . a } , directives : { tooltip : g . default } , mixins : [ m . a ] , inheritAttrs : ! 1 , props : { value : { default : function ( ) { return [ ] } } , multiple : { type : Boolean , default : ! 1 } , limit : { type : Number
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-03-22 21:46:15 +03:00
Object ( r . a ) ( C ) , e . default = C } , function ( t , e , n ) { "use strict" ; n . r ( e ) , n . d ( e , "DatetimePicker" , ( function ( ) { return p } ) ) ; var r = n ( 37 ) , a = ( n ( 25 ) , n ( 70 ) ) , i = n . n ( a ) ; i . a . methods . displayPopup = function ( ) { var t = this . $el . querySelector ( ".mx-datepicker-popup" ) ; t && ! t . classList . contains ( "popovermenu" ) && ( t . className += " popovermenu menu-center open" ) } ; var o = { name : "DatetimePicker" , components : { DatePicker : i . a } , inheritAttrs : ! 1 , props : { clearable : { type : Boolean , default : function ( ) { return ! 1 } } , minuteStep : { type : Number , default : function ( ) { return 10 } } , type : { type : String , default : "date" } , format : { type : [ String , Object ] , default : function ( ) { var t = { date : "YYYY-MM-DD" , datetime : "YYYY-MM-DD H:mm:ss" , year : "YYYY" , month : "YYYY-MM" , time : "H:mm:ss" , week : "w" } ; return t [ this . type ] || t . date } } , value : { default : function ( ) { return new Date } } } , methods : { handleSelectYear : function ( t ) { var e = this . $refs . datepicker . currentValue ; if ( e ) try { var n = new Date ( new Date ( e ) . setFullYear ( t ) ) ; this . $refs . datepicker . selectDate ( n ) } catch ( n ) { console . error ( "Invalid value" , e , t ) } } , handleSelectMonth : function ( t ) { var e = this . $refs . datepicker . currentValue ; if ( e ) try { var n = new Date ( new Date ( e ) . setMonth ( t ) ) ; this . $refs . datepicker . selectDate ( n ) } catch ( n ) { console . error ( "Invalid value" , e , t ) } } } } , s = n ( 0 ) , c = n ( 71 ) , l = n . n ( c ) , u = Object ( s . a ) ( o , ( function ( ) { var t = this , e = t . $createElement ; return ( t . _self . _c || e ) ( "DatePicker" , t . _g ( t . _b ( { ref : "datepicker" , attrs : { clearable : t . clearable , "minute-step" : t . minuteStep , format : t . format , type : t . type , value : t . value , "append-to-body" : ! 1 } , on : { "select-year" : t . handleSelectYear , "select-month" : t . handleSelectMonth , "update:value" : function ( e ) { return t . $emit ( "update:value" , t . value ) } } , scopedSlots : t . _u ( [ t . _l ( t . $scopedSlots , ( function ( e , n ) { return { key : n , fn : function ( e ) { return [ t . _t ( n , null , null , e ) ] } } } ) ) ] , null , ! 0 ) } , "DatePicker" , t . $attrs , ! 1 ) , t . $listeners ) ) } ) , [ ] , ! 1 , null , null , null ) ; "function" == typeof l . a && l ( ) ( u ) ; var p = u . exports ; n ( 135 ) ,
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-03-22 21:46:15 +03:00
Object ( r . a ) ( p ) , e . default = p } , function ( t , e , n ) { "use strict" ; n . r ( e ) ; var r = n ( 5 ) , a = new ( n . n ( r ) . a ) ( { data : function ( ) { return { isMobile : ! 1 } } , watch : { isMobile : function ( t ) { this . $emit ( "changed" , t ) } } , created : function ( ) { window . addEventListener ( "resize" , this . handleWindowResize ) , this . handleWindowResize ( ) } , beforeDestroy : function ( ) { window . removeEventListener ( "resize" , this . handleWindowResize ) } , methods : { handleWindowResize : function ( ) { this . isMobile = document . documentElement . clientWidth < 1024 } } } ) ; e . default = { data : function ( ) { return { isMobile : ! 1 } } , mounted : function ( ) { a . $on ( "changed" , this . onIsMobileChanged ) , this . isMobile = a . isMobile } , beforeDestroy : function ( ) { a . $off ( "changed" , this . onIsMobileChanged ) } , methods : { onIsMobileChanged : function ( t ) { this . isMobile = t } } } } , function ( t , e ) { t . exports = n ( 499 ) } , function ( t , e ) { t . exports = n ( 501 ) } , function ( t , e , n ) { "use strict" ; var r = n ( 43 ) ; n . n ( r ) . a } , function ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . push ( [ t . i , "li.active[data-v-42604de1]{box-shadow:inset 4px 0 var(--color-primary)}.action--disabled[data-v-42604de1]{pointer-events:none;opacity:.5}.action--disabled[data-v-42604de1]:hover,.action--disabled[data-v-42604de1]:focus{cursor:default;opacity:.5}.action--disabled *[data-v-42604de1]{opacity:1 !important}.action-button[data-v-42604de1]{display:flex;align-items:flex-start;width:100%;height:auto;margin:0;padding:0;padding-right:14px;cursor:pointer;white-space:nowrap;opacity:.7;color:var(--color-main-text);border:0;border-radius:0;background-color:transparent;box-shadow:none;font-weight:normal;line-height:44px}.action-button[data-v-42604de1]:hover,.action-button[data-v-42604de1]:focus{opacity:1}.action-button>span[data-v-42604de1]{cursor:pointer;white-space:nowrap}.action-button__icon[data-v-42604de1]{width:44px;height:44px;opacity:1;background-position:14px center;background-size:16px}.action-button p[data-v-42604de1]{width:150px;padding:7px 0;margin:auto;cursor:pointer;text-align:left;line-height:1.6em}.action-button__longtext[data-v-42604de1]{cursor:pointer;white-space:pre-wrap}.action-button__title[data-v-42604de1]{font-weight:bold}\n" , "" ] ) , t . exports = e } , function ( t , e , n ) { "use strict" ; var r = n ( 44 ) ; n . n ( r ) . a } , function ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . push ( [ t . i , ".popover[data-v-f4d0a772]{padding:0px !important}\n" , "" ] ) , t . exports = e } , function ( t , e , n ) { "use strict" ; n . r ( e ) , n . d ( e , "AppNavigationSpacer" , ( function ( ) { return a } ) ) ; var r = ( n ( 137 ) , n ( 0 ) ) , a = Object ( r . a ) ( { name : "AppNavigationToggle" , methods : { emitClick : function ( ) { this . $emit ( "click" ) } } } , ( function ( ) { var t = this , e = t . $createElement ; return ( t . _self . _c || e ) ( "a" , { attrs : { id : "app-navigation-toggle" , tabindex : "0" , href : "#" } , on : { click : function ( e ) { return e . preventDefault ( ) , t . emitClick ( e ) } , keydown : function ( e ) { return ! e . type . indexOf ( "key" ) && t . _k ( e . keyCode , "space" , 32 , e . key , [ " " , "Spacebar" ] ) || e . ctrlKey || e . shiftKey || e . altKey || e . metaKey ? null : ( e . preventDefault ( ) , t . emitClick ( e ) ) } } } ) } ) , [ ] , ! 1 , null , "d9538ec8" , null ) . exports ; e . default = a } , function ( t , e ) { } , function ( t , e ) { } , function ( t , e ) { } , function ( t , e ) { } , function ( t , e ) { } , function ( t , e ) { } , function ( t , e ) { } , function ( t , e ) { } , function ( t , e ) { } , function ( t , e ) { } , function ( t , e ) { } , function ( t , e ) { } , function ( t , e ) { } , function ( t , e ) { t . exports = n ( 502 ) } , function ( t , e ) { t . exports = n ( 504 ) } , function ( t , e , n ) { var r = n ( 136 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "600615ea" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 1 ) , a = n ( 7 ) , i = n ( 8 ) , o = n ( 9 ) , s = n ( 10 ) , c = n ( 11 ) ; e = r ( ! 1 ) ; var l = a ( i ) , u = a ( o ) , p = a ( s ) , d = a ( c ) ; e . push ( [ t . i , '@font-face{font-family:"iconfont-vue-2c44938";src:url(' + l + ");src:url(" + l + ') format("embedded-opentype"),url(' + u + ') format("woff"),url(' + p + ') format("truetype"),url(' + d + ' ) format ( "svg" ) } . icon { font - style : normal ; font - weight : 400 } . icon . arrow - left - double : before { font - family : "iconfont-vue-2c44938" ; content : "" } . icon . arrow - left : before { font - family : "iconfont-vue-2c44938" ; content : "" } . icon . arrow - right - double : before { font - family : "iconfont-vue-2c44938" ; content : "" } . icon . arrow - right : before { font - family : "iconfont-vue-2c44938" ; content : "" } . icon . checkmark : before { font - family : "iconfont-vue-2c44938" ; content : "" } . icon . close : before { font - family : "iconfont-vue-2c44938" ; content : "" } . icon . confirm : before { font - family : " iconfont - vue
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-03-22 21:46:15 +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 ) , n . d ( e , "AppNavigationItem" , ( function ( ) { return h } ) ) ; var r = n ( 15 ) , a = n ( 38 ) , i = n ( 51 ) , o = { name : "AppNavigationIconCollapsible" , props : { open : { type : Boolean , default : ! 0 } } , methods : { onClick : function ( t ) { this . $emit ( "click" , t ) } } } , s = ( n ( 204 ) , n ( 0 ) ) , c = Object ( s . a ) ( o , ( 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 , "39375008" , null ) . exports , l = n ( 112 ) , u = { name : "AppNavigationItem" , components : { Actions : a . 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 } , menuIcon : { type : String , default : void 0 } } , data : function ( ) { return { newTitle : "" , opened : this . open , menuOpened : this . menuOpen , 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 } , menuOpen : function ( t ) { this . menuOpened = t } } , methods : { onMenuToggle : function ( t ) { this . menuOpened = 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 ( 206 ) , n ( 127 ) ) , 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
2019-06-04 14:50:12 +03:00
/ * *
2020-01-16 02:03:29 +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
* 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-22 21:46:15 +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 ) , n . d ( e , " M u l t i s e l e c t T a g s " , ( f u n c t i o n ( ) { r e t u r n b } ) ) , n ( 5 2 ) , n ( 2 2 3 ) , n ( 3 2 ) , n ( 2 5 ) , n ( 3 ) , n ( 6 1 ) , n ( 6 2 ) ; v a r r = n ( 3 3 ) , a = n ( 1 1 0 ) , i = n ( 4 9 ) , o = n . n ( i ) , s = n ( 1 4 9 ) ; f u n c t i o n c ( t , e , n , r , a , i , o ) { t r y { v a r s = t [ i ] ( o ) , 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 , a ) }
2018-11-19 12:26:04 +03:00
/ * *
2020-03-10 21:46:25 +03:00
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
2018-11-19 12:26:04 +03:00
*
2020-03-10 21:46:25 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2018-11-19 12:26:04 +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-03-22 21:46:15 +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 a = 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 " ] [ a . n o d e N a m e ] = a . 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 o = e . c h i l d N o d e s . i t e m ( i ) , s = o . n o d e N a m e ; i f ( v o i d 0 = = = n [ s ] ) n [ s ] = t ( o ) ; 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 ( o ) ) } } 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 a = e [ r ] [ " d : p r o p s t a t " ] ; " H T T P / 1 . 1 2 0 0 O K " = = = a [ " 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 ( a [ " d : p r o p " ] [ " o c : i d " ] [ " # t e x t " ] ) , d i s p l a y N a m e : a [ " 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 " = = = a [ " 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 " = = = a [ " 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 " = = = a [ " 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 , o ( ) ( { 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 , a ) { v a r i = t . a p p l y ( e , n ) ; f u n c t i o n o ( t ) { c ( i , r , a , o , s , " n e x t " , t ) } f u n c t i o n s ( t ) { c ( i , r , a , o , s , " t h r o w " , t ) } o ( 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 ( 1 3 ) ; f u n c t i o n d ( t , e , n , r , a , i , o ) { t r y { v a r s = t [ i ] ( o ) , 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 , a ) } 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 : a . M u l t i s e l e c 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 , a ) { v a r i = t . a p p l y ( e , n ) ; f u n c t i o n o ( t ) { d ( i , r , a , o , s , " n e x t " , t ) } f u n c t i o n s ( t ) { d ( i , r , a , o , s , " t h r o w " , t ) } o ( 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 ) , v = n ( 1 3 0 ) , m = n . n ( v ) , 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
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-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
2020-03-10 21:46:25 +03:00
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
2020-03-22 21:46:15 +03:00
* / 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 ) , n . d ( e , " M o d a l " , ( f u n c t i o n ( ) { r e t u r n g } ) ) ; v a r r = n ( 3 7 ) , a = ( n ( 2 0 ) , n ( 2 5 ) , n ( 7 6 ) ) , i = n . n ( a ) , o = n ( 5 8 ) , s = n ( 8 4 ) , c = n ( 3 3 ) , l = n ( 1 3 ) , u = n ( 1 2 ) ;
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-03-22 21:46:15 +03:00
* / f u n c t i o n p ( t , e ) { v a r n , r , a , i = e ; t h i s . s t a r t = f u n c t i o n ( ) { a = ! 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 ( ) { a = ! 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 ( ) { a = ! 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 a & & ( 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 a } , 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 : o . 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 2 1 ) , n ( 0 ) ) , h = n ( 1 2 9 ) , v = n . n ( h ) , m = 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
2020-01-16 02:03:29 +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-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-03-22 21:46:15 +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 . d ( e , " A c t i o n I n p u t " , ( f u n c t i o n ( ) { r e t u r n u } ) ) , n ( 2 0 ) , n ( 1 6 ) , n ( 3 ) , n ( 1 7 ) , n ( 2 4 ) , n ( 1 8 ) , n ( 2 3 ) ; v a r r = n ( 1 4 ) , a = n ( 2 2 ) , 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 1 ) . 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 ( a . 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 ) } } } , o = ( n ( 1 8 0 ) , n ( 0 ) ) , s = n ( 1 2 1 ) , c = n . n ( s ) , l = O b j e c t ( o . 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 , " e 0 9 3 a e 2 6 " , 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-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
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-03-22 21:46:15 +03:00
* /e.default=u},function(t,e,n){"use strict";n.r(e),n.d(e,"AppNavigationIconBullet",(function(){return c})),n(134);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 ) } } } , a = ( n ( 202 ) , n ( 0 ) ) , i = n ( 126 ) , o = n . n ( i ) , s = Object ( a . 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 , "03654f22" , null ) ; "function" == typeof o . a && o ( ) ( s ) ; var c = s . exports ;
2019-08-07 18:08:12 +03:00
/ * *
2020-03-10 21:46:25 +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 ,
* 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-03-22 21:46:15 +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 . d ( e , " A p p S i d e b a r T a b " , ( f u n c t i o n ( ) { r e t u r n i } ) ) , n ( 2 5 ) ; 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 } } } , a = ( n ( 2 1 9 ) , n ( 0 ) ) , i = O b j e c t ( a . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s . $ 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 , " 0 2 f 1 7 7 d 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 . d ( e , " A c t i o n C h e c k b o x " , ( f u n c t i o n ( ) { r e t u r n u } ) ) , n ( 2 5 ) , n ( 2 4 ) ; v a r r = n ( 1 4 ) , a = n ( 2 2 ) , 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 ( a . 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 " ) } } } , o = ( n ( 1 7 8 ) , n ( 0 ) ) , s = n ( 1 2 0 ) , c = n . n ( s ) , l = O b j e c t ( o . 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 , " e 8 e 4 5 1 c c " , 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-03-22 21:46:15 +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 . d ( e , " A p p S i d e b a r " , ( f u n c t i o n ( ) { r e t u r n h } ) ) , n ( 5 2 ) , n ( 2 1 4 ) , n ( 2 0 ) , n ( 6 ) , n ( 2 4 ) ; v a r r = n ( 5 ) , a = n . n ( r ) , i = n ( 5 8 ) , o = n ( 1 0 3 ) , s = n ( 3 3 ) , 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 : o . 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 & & a . 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 1 5 ) , n ( 2 1 7 ) , n ( 0 ) ) , p = n ( 1 2 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 e b a r " } } , [ n ( " h e a d e r " , { s t a t i c C l a s s : " a p p - s i d e b a r - h e a d e r " , c l a s s : { " a p p - s i d e b a r - h e a d e r - - w i t h - f i g u r e " : t . h a s F i g u r e , " a p p - s i d e b a r - h e a d e r - - c o m p a c t " : t . c o m p a c t } } , [ n ( " a " , { s t a t i c C l a s s : " a p p - s i d e b a r _ _ c l o s e i c o n - c l o s e " , a t t r s : { h r e f : " # " , t i t l e : t . t ( " c l o s e " ) } , 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 . c l o s e S i d e b a r ( e ) } } } ) , t . _ v ( " " ) , t . h a s F i g u r e ? n ( " d i v " , { s t a t i c C l a s s : " a p p - s i d e b a r - h e a d e r _ _ f i g u r e " , c l a s s : { " a p p - s i d e b a r - h e a d e r _ _ f i g u r e - - w i t h - a c t i o n " : t . h a s F i g u r e C l i c k L i s t e n e r } , s t y l e : { b a c k g r o u n d I m a g e : " u r l ( " + t . b a c k g r o u n d + " ) " } , o n : { c l i c k : t . o n F i g u r e C l i c k } } , [ t . _ t ( " h e a d e r " ) ] , 2 ) : t . _ e ( ) , t . _ v ( " " ) , n ( " d i v " , { s t a t i c C l a s s : " a p p - s i d e b a r - h e a d e r _ _ 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-03-22 21:46:15 +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 ) , 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 a } ) ) ; v a r r = ( n ( 2 1 2 ) , n ( 0 ) ) , a = 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 , " 1 c 4 9 e b 1 2 " , n u l l ) . e x p o r t s ; e . d e f a u l t = a } , 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 e t t i n g s " , ( f u n c t i o n ( ) { r e t u r n s } ) ) ; v a r r = n ( 1 5 ) , a = n ( 1 3 ) , 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 ( a . 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 } } } , o = ( n ( 2 1 0 ) , n ( 0 ) ) , s = O b j e c t ( o . 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 , " 3 8 9 e 5 e 6 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 . d ( e , " A p p N a v i g a t i o n N e w " , ( f u n c t i o n ( ) { r e t u r n i } ) ) ; 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 } } } , a = ( n ( 2 0 8 ) , n ( 0 ) ) , i = O b j e c t ( a . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s , 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 , " 1 5 8 8 5 6 6 9 " , 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 . d ( e , " C o n t e n t " , ( f u n c t i o n ( ) { r e t u r n i } ) ) ; 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 } } } , a = n ( 0 ) , i = O b j e c t ( a . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s . $ 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 ) . 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 . d ( e , " C o l o r P i c k e r " , ( f u n c t i o n ( ) { r e t u r n d } ) ) , n ( 3 2 ) , n ( 3 ) , n ( 2 1 ) ; v a r r = n ( 1 5 0 ) , a = n ( 4 5 ) , i = n ( 3 3 ) , o = n ( 5 9 ) , 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 : o . 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 ( a . 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 2 4 ) , n ( 0 ) ) , l = n ( 1 3 1 ) , 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
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
* 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-03-22 21:46:15 +03:00
* / e . d e f a u l t = d } , 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 , " U s e r B u b b l e " , ( f u n c t i o n ( ) { r e t u r n u } ) ) , n ( 1 6 ) , n ( 3 ) , n ( 1 7 ) , n ( 1 8 ) , n ( 2 3 ) ; v a r r = n ( 5 9 ) , a = n ( 5 0 ) , 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 . P o p o v e r , A v a t a r : a . A v a t a r } , 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 ) } } } , o = ( n ( 2 2 6 ) , n ( 0 ) ) , s = n ( 1 3 2 ) , c = n . n ( s ) , l = O b j e c t ( o . 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 7 f 6 f b 8 1 " , 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 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-03-22 21:46:15 +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 . d ( e , " A p p N a v i g a t i o n C o u n t e r " , ( f u n c t i o n ( ) { r e t u r n c } ) ) ; 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 } } } , a = ( n ( 2 0 0 ) , n ( 0 ) ) , i = n ( 1 2 5 ) , o = n . n ( i ) , s = O b j e c t ( a . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s . $ 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 , " c 2 7 8 d 6 9 a " , n u l l ) ; " f u n c t i o n " = = t y p e o f o . a & & o ( ) ( 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-03-22 21:46:15 +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 . d ( e , " A p p N a v i g a t i o n C a p t i o n " , ( f u n c t i o n ( ) { r e t u r n i } ) ) ; 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 } } } , a = ( n ( 1 9 8 ) , n ( 0 ) ) , i = O b j e c t ( a . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s . $ 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 , " 7 7 9 3 8 3 f 0 " , 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 . d ( e , " A p p N a v i g a t i o n " , ( f u n c t i o n ( ) { r e t u r n a } ) ) ; v a r r = ( n ( 1 9 6 ) , n ( 0 ) ) , a = 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 , " 1 0 4 b 2 b 1 0 " , n u l l ) . e x p o r t s ; e . d e f a u l t = a } , 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 C o n t e n t L i s t " , ( f u n c t i o n ( ) { r e t u r n i } ) ) ; 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 } } } , a = n ( 0 ) , i = O b j e c t ( a . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s . $ 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 ) , n . d ( 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 ( ) { r e t u r n a } ) ) ; v a r r = n ( 0 ) , a = 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 = a } , 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 C o n t e n t " , ( f u n c t i o n ( ) { r e t u r n s } ) ) ; v a r r = n ( 7 6 ) , a = 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 1 9 ) . 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 a . 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 ) } } } , o = ( n ( 1 9 4 ) , n ( 0 ) ) , s = O b j e c t ( o . 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 ( " d i v " , { 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 , " 0 f e 2 f 7 3 8 " , 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 . d ( e , " A c t i o n T e x t E d i t a b l e " , ( f u n c t i o n ( ) { r e t u r n u } ) ) , n ( 2 4 ) ; v a r r = n ( 2 6 ) , a = n ( 2 2 ) , 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 ( a . 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 ) } } } , o = ( n ( 1 9 2 ) , n ( 0 ) ) , s = n ( 1 2 4 ) , c = n . n ( s ) , l = O b j e c t ( o . 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
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-03-22 21:46:15 +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 . d ( e , " A c t i o n T e x t " , ( f u n c t i o n ( ) { r e t u r n i } ) ) ; 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 ] } , a = ( n ( 1 9 0 ) , n ( 0 ) ) , i = O b j e c t ( a . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s , 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 , " 8 b 0 5 f 9 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 . d ( e , " A c t i o n S e p a r a t o r " , ( f u n c t i o n ( ) { r e t u r n a } ) ) ; v a r r = ( n ( 1 8 8 ) , n ( 0 ) ) , a = 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 , " 1 6 5 6 3 0 6 f " , n u l l ) . e x p o r t s ; e . d e f a u l t = a } , 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 c t i o n R o u t e r " , ( f u n c t i o n ( ) { r e t u r n i } ) ) ; 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 } } } , a = ( n ( 1 8 6 ) , n ( 0 ) ) , i = O b j e c t ( a . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s , 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 , 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 , " 3 b f 6 8 4 6 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 . d ( e , " A c t i o n R a d i o " , ( f u n c t i o n ( ) { r e t u r n u } ) ) , n ( 2 5 ) , n ( 2 4 ) ; v a r r = n ( 1 4 ) , a = n ( 2 2 ) , 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 ( a . 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 ) } } } , o = ( n ( 1 8 4 ) , n ( 0 ) ) , s = n ( 1 2 3 ) , c = n . n ( s ) , l = O b j e c t ( o . 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 , " 2 f 8 2 b a 3 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
/ * *
* @ 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-03-22 21:46:15 +03:00
* /e.default=u},function(t,e,n){"use strict";n.r(e),n.d(e,"ActionLink",(function(){return c})),n(20),n(16),n(3),n(17),n(134),n(18),n(23);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}}}},a=(n(182),n(0)),i=n(122),o=n.n(i),s=Object(a.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,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," 84686 d94 ",null);" function " == typeof o . a && o ( ) ( s ) ; var c = s . exports ;
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-02 21:36:53 +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 " ; v a r r = n ( 8 5 ) ; 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 - e 8 e 4 5 1 c c ] { 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 - e 8 e 4 5 1 c c ] { 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 - e 8 e 4 5 1 c c ] : h o v e r , . a c t i o n - - d i s a b l e d [ d a t a - v - e 8 e 4 5 1 c c ] : 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 - e 8 e 4 5 1 c c ] { 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 - e 8 e 4 5 1 c c ] { 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 - e 8 e 4 5 1 c c ] { 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 - e 8 e 4 5 1 c c ] { 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 - e 8 e 4 5 1 c 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 ; 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 - e 8 e 4 5 1 c c ] : : 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 - e 8 e 4 5 1 c c ] , . 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 - e 8 e 4 5 1 c c ] { 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 - e 8 e 4 5 1 c c ] , . 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 - e 8 e 4 5 1 c c ] { 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 ( 8 6 ) ; n . n ( r ) . a } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 ) , a = n ( 7 ) , i = n ( 8 ) , o = n ( 9 ) , s = n ( 1 0 ) , c = n ( 1 1 ) ; e = r ( ! 1 ) ; v a r l = a ( i ) , u = a ( o ) , p = a ( s ) , d = a ( 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 - 2 c 4 4 9 3 8 " ; 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 - e 0 9 3 a e 2 6 ] { 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 - e 0 9 3 a e 2 6 ] : 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 - 2 c 4 4 9 3 8 " ; 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 - e 0 9 3 a e 2 6 ] : 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 - 2 c 4 4 9 3 8 " ; 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 - e 0 9 3 a e 2 6 ] : 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 - 2 c 4 4 9 3 8 " ; 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 - e 0 9 3 a e 2 6 ] : 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 - 2 c 4 4 9 3 8 " ; 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 - e 0 9 3 a e 2 6 ] : 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 - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . c l o s e [ d a t a - v - e 0 9 3 a e 2 6 ] : 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 - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . c o n f i r m [ d a t a - v - e 0 9 3 a e 2 6 ] : 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 - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . m e n u [ d a t a - v - e 0 9 3 a e 2 6 ] : 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 - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . m o r e [ d a t a - v - e 0 9 3 a e 2 6 ] : 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 - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . p a u s e [ d a t a - v - e 0 9 3 a e 2 6 ] : 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 - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . p l a y [ d a t a - v - e 0 9 3 a e 2 6 ] : 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 - 2 c 4 4 9 3 8 " ; 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 - e 0 9 3 a e 2 6 ] : 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 - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } b u t t o n [ d a t a - v - e 0 9 3 a e 2 6 ] , i n p u t [ d a t a - v - e 0 9 3 a e 2 6 ] : 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 - e 0 9 3 a e 2 6 ] { 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 - e 0 9 3 a e 2 6 ] : 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 - e 0 9 3 a e 2 6 ] : 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 - e 0 9 3 a e 2 6 ] , i n p u t [ d a t a - v - e 0 9 3 a e 2 6 ] : 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 - e 0 9 3 a e 2 6 ] : 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 - e 0 9 3 a e 2 6 ] , t e x t a r e a [ d a t a - v - e 0 9 3 a e 2 6 ] : 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 - e 0 9 3 a e 2 6 ] : 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 - e 0 9 3 a e 2 6 ] { 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 o n [ d a t a - v - e 0 9 3 a e 2 6 ] : 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 , i n p u t [ d a t a - v - e 0 9 3 a e 2 6 ] : 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 , t e x t a r e a [ d a t a - v - e 0 9 3 a e 2 6 ] : n o t ( : d i s a b l
2018-11-19 12:26:04 +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-03-21 12:42:37 +03:00
* / f u n c t i o n U ( 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 z ( 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 }
2018-11-19 12:26:04 +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-03-21 12:42:37 +03:00
* / f u n c t i o n V ( 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 & & V ( 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 ? U ( O b j e c t ( n ) , ! 0 ) . f o r E a c h ( ( f u n c t i o n ( e ) { z ( 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 ) ) : U ( 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 : V } , r ) } ] ) } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; ( f u n c t i o n ( t ) { f o r (
2018-11-19 12:26:04 +03:00
/ * * !
* @ fileOverview Kickass library to create and place poppers near their reference elements .
2019-06-04 14:50:12 +03:00
* @ version 1.15 . 0
2018-11-19 12:26:04 +03:00
* @ 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-06 16:36:52 +03:00
var n = "undefined" != typeof window && "undefined" != typeof document , r = [ "Edge" , "Trident" , "Firefox" ] , a = 0 , i = 0 ; i < r . length ; i += 1 ) if ( n && navigator . userAgent . indexOf ( r [ i ] ) >= 0 ) { a = 1 ; break } var o = 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 ( ) } ) , a ) ) } } ; 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 , a = e . overflowY ; return /(auto|scroll|overlay)/ . test ( n + a + 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 v ( t ) { return null !== t . parentNode ? v ( t . parentNode ) : t } function m ( 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 , a = n ? e : t , i = document . createRange ( ) ; i . setStart ( r , 0 ) , i . setEnd ( a , 0 ) ; var o , s , c = i . commonAncestorContainer ; if ( t !== c && e !== c || r . contains ( a ) ) return "BODY" === ( s = ( o = c ) . nodeName ) || "HTML" !== s && h ( o . firstElementChild ) !== o ? h ( c ) : c ; var l = v ( t ) ; return l . host ? m ( l . host , e ) : m ( t , v ( 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 a = t . ownerDocument . documentElement , i = t . ownerDocument . scrollingElement || a ; 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" ) , a = g ( e , "left" ) , i = n ? - 1 : 1 ; return t . top += r * i , t . bottom += r * i , t . left += a * i , t . right += a * 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 } } ( ) , C = function ( t , e , n ) { return e in t ? Object . defineProperty ( t , e , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : t [ e ] = n , t } , k = 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 k ( { } , t , { right : t . left + t . width , bottom : t . top + t . height } ) } function S ( 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 a = { left : e . left , top : e . top , width : e . right - e . left , height : e . bottom - e . top } , i = "HTML" === t . nodeName ? x ( t . ownerDocument ) : { } , o = i . width || t . clientWidth || a . right - a . left , s = i . height || t . clientHeight || a . bottom - a . top , l = t . offsetWidth - o , u = t . offsetHeight - s ; if ( l || u ) { var p = c ( t ) ; l -= A ( p , "x" ) , u -= A ( p , "y" ) , a . width -= l , a . height -= u } return T ( a ) } function E ( t , e ) { var n = arguments . length > 2 && void 0 !== a
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-06 16:36:52 +03:00
* /var r=/ [ "'&<>]/;t.exports=function(t){var e,n=" "+t,a=r.exec(n);if(!a)return n;var i=" ",o=0,s=0;for(o=a.index;o<n.length;o++){switch(n.charCodeAt(o)){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!==o&&(i+=n.substring(s,o)),s=o+1,i+=e}return s!==o?i+n.substring(s,o):i}},function(t,e,n){" use strict ";n(359),Object.defineProperty(e," _ _esModule ",{value:!0}),e.default=void 0;var r,a=(r=n(382))&&r.__esModule?r:{default:r},i=n(399);var o=a.default.create({headers:{requesttoken:(0,i.getRequestToken)()}}),s=Object.assign(o,{CancelToken:a.default.CancelToken,isCancel:a.default.isCancel});(0,i.onRequestTokenUpdate)((function(t){return o.defaults.headers.requesttoken=t}));var c=s;e.default=c},function(t,e,n){var r=n(360),a=n(379);r({target:" Object ",stat:!0,forced:Object.assign!==a},{assign:a})},function(t,e,n){var r=n(26),a=n(197).f,i=n(81),o=n(363),s=n(127),c=n(370),l=n(378);t.exports=function(t,e){var n,u,p,d,f,h=t.target,v=t.global,m=t.stat;if(n=v?r:m?r[h]||s(h,{}):(r[h]||{}).prototype)for(u in e){if(d=e[u],p=t.noTargetGet?(f=a(n,u))&&f.value:n[u],!l(v?u:h+(m?" . ":" # ")+u,t.forced)&&void 0!==p){if(typeof d==typeof p)continue;c(d,p)}(t.sham||p&&p.sham)&&i(d," sham ",!0),o(n,u,d,t)}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e,n){var r=n(26),a=n(80),i=r.document,o=a(i)&&a(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e,n){var r=n(26),a=n(81),i=n(59),o=n(127),s=n(206),c=n(364),l=c.get,u=c.enforce,p=String(String).split(" String ");(t.exports=function(t,e,n,s){var c=!!s&&!!s.unsafe,l=!!s&&!!s.enumerable,d=!!s&&!!s.noTargetGet;" function "==typeof n&&(" string "!=typeof e||i(n," name ")||a(n," name ",e),u(n).source=p.join(" string "==typeof e?e:" ")),t!==r?(c?!d&&t[e]&&(l=!0):delete t[e],l?t[e]=n:a(t,e,n)):l?t[e]=n:o(e,n)})(Function.prototype," toString ",(function(){return" function "==typeof this&&l(this).source||s(this)}))},function(t,e,n){var r,a,i,o=n(365),s=n(26),c=n(80),l=n(81),u=n(59),p=n(366),d=n(208),f=s.WeakMap;if(o){var h=new f,v=h.get,m=h.has,g=h.set;r=function(t,e){return g.call(h,t,e),e},a=function(t){return v.call(h,t)||{}},i=function(t){return m.call(h,t)}}else{var b=p(" state ");d[b]=!0,r=function(t,e){return l(t,b,e),e},a=function(t){return u(t,b)?t[b]:{}},i=function(t){return u(t,b)}}t.exports={set:r,get:a,has:i,enforce:function(t){return i(t)?a(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!c(e)||(n=a(e)).type!==t)throw TypeError(" Incompatible receiver , "+t+" required ");return n}}}},function(t,e,n){var r=n(26),a=n(206),i=r.WeakMap;t.exports=" function "==typeof i&&/native code/.test(a(i))},function(t,e,n){var r=n(367),a=n(369),i=r(" keys ");t.exports=function(t){return i[t]||(i[t]=a(t))}},function(t,e,n){var r=n(368),a=n(207);(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})(" versions ",[]).push({version:" 3.6 . 4 ",mode:r?" pure ":" global ",copyright:" © 2020 Denis Pushkarev ( zloirock . ru ) "})},function(t,e){t.exports=!1},function(t,e){var n=0,r=Math.random();t.exports=function(t){return" Symbol ( "+String(void 0===t?" ":t)+" ) _ "+(++n+r).toString(36)}},function(t,e,n){var r=n(59),a=n(371),i=n(197),o=n(204);t.exports=function(t,e){for(var n=a(e),s=o.f,c=i.f,l=0;l<n.length;l++){var u=n[l];r(t,u)||s(t,u,c(e,u))}}},function(t,e,n){var r=n(372),a=n(374),i=n(212),o=n(205);t.exports=r(" Reflect "," ownKeys ")||function(t){var e=a.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},function(t,e,n){var r=n(373),a=n(26),i=function(t){return" function "==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?i(r[t])||i(a[t]):r[t]&&r[t][e]||a[t]&&a[t][e]}},function(t,e,n){var r=n(26);t.exports=r},function(t,e,n){var r=n(209),a=n(211).concat(" length "," prototype " ) ; e . f = Object . getOwnPropertyNames || function ( t ) { return r ( t , a ) } } , function ( t , e , n ) { var r = n ( 126 ) , a = n ( 376 ) , i = n ( 377 ) , o = function ( t ) { return function ( e , n , o ) { var s , c = r ( e ) , l = a ( c . length ) , u = i ( o , l ) ; if ( t && n != n ) { for ( ; l > u ; ) if ( ( s = c [ u ++ ] ) != s ) return ! 0 } else for ( ; l > u ; u ++ ) if ( ( t || u in c ) && c [ u ] === n ) return t || u || 0 ; return ! t && - 1 } }
2020-01-16 02:03:29 +03:00
/ * !
* Determine if an object is a Buffer
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
* /
2020-04-06 16:36:52 +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 ) { "use strict" ; var r , a , i , o , s = n ( 1 ) , c = n ( 35 ) , l = n ( 2 ) , u = n ( 36 ) , p = n ( 483 ) , d = n ( 13 ) , f = n ( 177 ) , h = n ( 42 ) , v = n ( 265 ) , m = n ( 7 ) , g = n ( 72 ) , b = n ( 115 ) , A = n ( 24 ) , y = n ( 103 ) , x = n ( 484 ) , w = n ( 485 ) , _ = n ( 486 ) , C = n ( 266 ) . set , k = n ( 487 ) , T = n ( 488 ) , S = n ( 489 ) , E = n ( 268 ) , M = n ( 490 ) , O = n ( 28 ) , I = n ( 71 ) , N = n ( 0 ) , L = n ( 117 ) , D = N ( "species" ) , P = "Promise" , j = O . get , F = O . set , R = O . getterFor ( P ) , B = p , $ = l . TypeError , U = l . document , z = l . process , V = u ( "fetch" ) , G = E . f , H = G , Y = "process" == A ( z ) , Q = ! ! ( U && U . createEvent && l . dispatchEvent ) , W = I ( P , ( function ( ) { if ( ! ( y ( B ) !== String ( B ) ) ) { if ( 66 === L ) return ! 0 ; if ( ! Y && "function" != typeof PromiseRejectionEvent ) return ! 0 } if ( c && ! B . prototype . finally ) return ! 0 ; if ( L >= 51 && /native code/ . test ( B ) ) return ! 1 ; var t = B . resolve ( 1 ) , e = function ( t ) { t ( ( function ( ) { } ) , ( function ( ) { } ) ) } ; return ( t . constructor = { } ) [ D ] = e , ! ( t . then ( ( function ( ) { } ) ) instanceof e ) } ) ) , X = W || ! w ( ( function ( t ) { B . all ( t ) . catch ( ( function ( ) { } ) ) } ) ) , q = function ( t ) { var e ; return ! ( ! m ( t ) || "function" != typeof ( e = t . then ) ) && e } , Z = function ( t , e , n ) { if ( ! e . notified ) { e . notified = ! 0 ; var r = e . reactions ; k ( ( function ( ) { for ( var a = e . value , i = 1 == e . state , o = 0 ; r . length > o ; ) { var s , c , l , u = r [ o ++ ] , p = i ? u . ok : u . fail , d = u . resolve , f = u . reject , h = u . domain ; try { p ? ( i || ( 2 === e . rejection && et ( t , e ) , e . rejection = 1 ) , ! 0 === p ? s = a : ( h && h . enter ( ) , s = p ( a ) , h && ( h . exit ( ) , l = ! 0 ) ) , s === u . promise ? f ( $ ( "Promise-chain cycle" ) ) : ( c = q ( s ) ) ? c . call ( s , d , f ) : d ( s ) ) : f ( a ) } catch ( t ) { h && ! l && h . exit ( ) , f ( t ) } } e . reactions = [ ] , e . notified = ! 1 , n && ! e . rejection && J ( t , e ) } ) ) } } , K = function ( t , e , n ) { var r , a ; Q ? ( ( r = U . createEvent ( "Event" ) ) . promise = e , r . reason = n , r . initEvent ( t , ! 1 , ! 0 ) , l . dispatchEvent ( r ) ) : r = { promise : e , reason : n } , ( a = l [ "on" + t ] ) ? a ( r ) : "unhandledrejection" === t && S ( "Unhandled promise rejection" , n ) } , J = function ( t , e ) { C . call ( l , ( function ( ) { var n , r = e . value ; if ( tt ( e ) && ( n = M ( ( function ( ) { Y ? z . emit ( "unhandledRejection" , r , t ) : K ( "unhandledrejection" , t , r ) } ) ) , e . rejection = Y || tt ( e ) ? 2 : 1 , n . error ) ) throw n . value } ) ) } , tt = function ( t ) { return 1 !== t . rejection && ! t . parent } , et = function ( t , e ) { C . call ( l , ( function ( ) { Y ? z . emit ( "rejectionHandled" , t ) : K ( "rejectionhandled" , t , e . value ) } ) ) } , nt = function ( t , e , n , r ) { return function ( a ) { t ( e , n , a , r ) } } , rt = function ( t , e , n , r ) { e . done || ( e . done = ! 0 , r && ( e = r ) , e . value = n , e . state = 2 , Z ( t , e , ! 0 ) ) } , at = function ( t , e , n , r ) { if ( ! e . done ) { e . done = ! 0 , r && ( e = r ) ; try { if ( t === n ) throw $ ( "Promise can't be resolved itself" ) ; var a = q ( n ) ; a ? k ( ( function ( ) { var r = { done : ! 1 } ; try { a . call ( n , nt ( at , t , r , e ) , nt ( rt , t , r , e ) ) } catch ( n ) { rt ( t , r , n , e ) } } ) ) : ( e . value = n , e . state = 1 , Z ( t , e , ! 1 ) ) } catch ( n ) { rt ( t , { done : ! 1 } , n , e ) } } } ; W && ( B = function ( t ) { b ( this , B , P ) , g ( t ) , r . call ( this ) ; var e = j ( this ) ; try { t ( nt ( at , this , e ) , nt ( rt , this , e ) ) } catch ( t ) { rt ( this , e , t ) } } , ( r = function ( t ) { F ( this , { type : P , done : ! 1 , notified : ! 1 , parent : ! 1 , reactions : [ ] , rejection : ! 1 , state : 0 , value : void 0 } ) } ) . prototype = f ( B . prototype , { then : function ( t , e ) { var n = R ( this ) , r = G ( _ ( this , B ) ) ; return r . ok = "function" != typeof t || t , r . fail = "function" == typeof e && e , r . domain = Y ? z . domain : void 0 , n . parent = ! 0 , n . reactions . push ( r ) , 0 != n . state && Z ( this , n , ! 1 ) , r . promise } , catch : function ( t ) { return this . then ( void 0 , t ) } } ) , a = function ( ) { var t = new r , e = j ( t ) ; this . promise = t , this . resolve = nt ( at , t , e ) , this . reject = nt ( rt , t , e ) } , E . f = G = function ( t ) { return t === B || t === i ? new a ( t ) : H ( t ) } , c || "function" != typeof p || ( o = p . prototype . then , d ( p . prototype , "then" , ( function ( t , e ) { var n = this ; return new B ( ( function ( t , e ) { o . call ( n , t , e ) } ) ) . then ( t , e ) } ) , { unsafe : ! 0 } ) , "function" == typeof V && s ( { global : ! 0 , enumerable : ! 0 , forced : ! 0 } , { fetch : function ( t ) { return T ( B , V . apply ( l , arguments ) ) } } ) ) ) , s ( { global : ! 0 , wrap : ! 0 , forced : W } , { Promise : B } ) , h ( B , P , ! 1 , ! 0 ) , v ( P ) , i = u ( P ) , s ( { target : P , stat : ! 0 , forced : W } , { reject : function ( t ) { var e = G ( this ) ; return e . reject . call ( void 0 , t ) , e . promise } } ) , s ( { target : P , stat : ! 0 , forced : c || W } , { resolve : function ( t ) { return T ( c && this === i ? B : this , t ) } } ) , s ( { target : P , stat : ! 0 , forced : X } , { all : function ( t ) { var e = this , n = G ( e ) , r = n . resolve , a = n . reject , i = M ( ( function ( ) { var n = g ( e . resolve ) , i = [ ] , o = 0 , s = 1 ; x ( t , ( function ( t ) { var c = o ++ , l = ! 1 ; i . push ( void 0 ) , s ++ , n . call ( e , t ) . then ( ( function ( t ) { l || ( l = ! 0 , i [ c ] = t , -- s || r ( i ) ) } ) , a ) } ) ) , -- s || r ( i ) } ) ) ; return i . error && a ( i . value ) , n . promise } , race : function ( t ) { var e = this , n = G ( e ) , r = n . reject , a = M ( ( fun
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/
*
* Copyright ( c ) 2016 Jorik Tangelder ;
2020-04-06 16:36:52 +03:00
* Licensed under the MIT license * /!function(a,i,o,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 v(t,e,n){return!!Array.isArray(t)&&(m(t,n[e],n),!0)}function m(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 = a . console && ( a . console . warn || a . console . log ) ; return i && i . call ( a . 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 a in r ) r . hasOwnProperty ( a ) && ( e [ a ] = r [ a ] ) } return e } : Object . assign ; var b = g ( ( function ( t , e , n ) { for ( var r = Object . keys ( e ) , a = 0 ; a < r . length ; ) ( ! n || n && void 0 === t [ r [ a ] ] ) && ( t [ r [ a ] ] = e [ r [ a ] ] ) , a ++ ; 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 , a = e . prototype ; ( r = t . prototype = Object . create ( a ) ) . constructor = t , r . _super = a , 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 C ( t , e , n ) { m ( E ( e ) , ( function ( e ) { t . addEventListener ( e , n , ! 1 ) } ) ) } function k ( t , e , n ) { m ( E ( 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 S ( t , e ) { return t . indexOf ( e ) > - 1 } function E ( 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 = [ ] , a = [ ] , i = 0 ; i < t . length ; ) { var o = e ? t [ i ] [ e ] : t [ i ] ; M ( a , o ) < 0 && r . push ( t [ i ] ) , a [ i ] = o , 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 , a = e [ 0 ] . toUpperCase ( ) + e . slice ( 1 ) , i = 0 ; i < l . length ; ) { if ( ( r = ( n = l [ i ] ) ? n + a : e ) in t ) return r ; i ++ } } var L = 1 ; function D ( t ) { var e = t . ownerDocument || t ; return e . defaultView || e . parentWindow || a } var P = "ontouchstart" in a , j = void 0 !== N ( a , "PointerEvent" ) , F = P && /mobile|tablet|ip(ad|hone|od)|android/i . test ( navigator . userAgent ) , R = [ "x" , "y" ] , B = [ "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 , a = n . changedPointers . length , i = 1 & e && r - a == 0 , o = 12 & e && r - a == 0 ; n . isFirst = ! ! i , n . isFinal = ! ! o , i && ( t . session = { } ) , n . eventType = e , function ( t , e ) { var n = t . session , r = e . pointers , a = r . length ; n . firstInput || ( n . firstInput = z ( e ) ) ; a > 1 && ! n . firstMultiple ? n . firstMultiple = z ( e ) : 1 === a && ( n . firstMultiple = ! 1 ) ; var i = n . firstInput , o = n . firstMultiple , s = o ? o . center : i . center , c = e . center = V ( r ) ; e . timeStamp = f ( ) , e . deltaTime = e . timeStamp - i . timeStamp , e . angle = Q ( s , c ) , e . distance = Y ( s , c ) , function ( t , e ) { var n = e . center , r = t . offsetDelta || { } , a = t . prevDelta || { } , i = t . prevInput || { } ; 1 !== e . eventType && 4 !== i . eventType || ( a = t . prevDelta = { x : i . deltaX || 0 , y : i . deltaY || 0 } , r = t . offsetDelta = { x : n . x , y : n . y } ) ; e . deltaX = a . x + ( n . x - r . x ) , e . deltaY = a . y + ( n . y - r . y ) } ( n , e ) , e . offsetDirection = H ( e . deltaX , e . deltaY ) ; var l = G ( 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 = o ? ( u = o . pointers , p = r , Y ( p [ 0 ] , p [ 1 ] , B ) / Y ( u [ 0 ] , u [ 1 ] , B ) ) : 1 , e . rotation = o ? function ( t , e ) { return Q ( e [ 1 ] , e [ 0 ] , B ) + Q ( t [ 1 ] , t [ 0 ] , B ) } ( o . 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 , a , i , o = t . lastInterval || e , s = e . timeStamp - o . timeStamp ; if ( 8 != e . eventType && ( s > 25 || void 0 === o . velocity ) ) { var c
2018-06-07 17:23:39 +03:00
/ * *
* @ copyright Copyright ( c ) 2018 Joas Schilling < coding @ schilljs . 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/>.
*
2019-02-15 22:31:47 +03:00
* /
2020-03-10 21:46:25 +03:00
i . default . mixin ( { methods : { t : function ( t , e , n , r , a ) { return OC . L10N . translate ( t , e , n , r , a ) } , n : function ( t , e , n , r , a , i ) { return OC . L10N . translatePlural ( t , e , n , r , a , i ) } } } ) , new i . default ( { el : "#updatenotification" , render : function ( t ) { return t ( p ) } } ) } ] ) ;
2018-06-19 07:26:57 +03:00
//# sourceMappingURL=updatenotification.js.map