2020-06-04 11:52:03 +03:00
! function ( e ) { var t = { } ; function n ( r ) { if ( t [ r ] ) return t [ r ] . exports ; var o = t [ r ] = { i : r , l : ! 1 , exports : { } } ; return e [ r ] . call ( o . exports , o , o . exports , n ) , o . l = ! 0 , o . exports } n . m = e , n . c = t , n . d = function ( e , t , r ) { n . o ( e , t ) || Object . defineProperty ( e , t , { enumerable : ! 0 , get : r } ) } , n . r = function ( e ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( e , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) } , n . t = function ( e , t ) { if ( 1 & t && ( e = n ( e ) ) , 8 & t ) return e ; if ( 4 & t && "object" == typeof e && e && e . _ _esModule ) return e ; var r = Object . create ( null ) ; if ( n . r ( r ) , Object . defineProperty ( r , "default" , { enumerable : ! 0 , value : e } ) , 2 & t && "string" != typeof e ) for ( var o in e ) n . d ( r , o , function ( t ) { return e [ t ] } . bind ( null , o ) ) ; return r } , n . n = function ( e ) { var t = e && e . _ _esModule ? function ( ) { return e . default } : function ( ) { return e } ; return n . d ( t , "a" , t ) , t } , n . o = function ( e , t ) { return Object . prototype . hasOwnProperty . call ( e , t ) } , n . p = "/js/" , n ( n . s = 380 ) } ( [ function ( e , t , n ) { var r = n ( 1 ) , o = n ( 94 ) , i = n ( 3 ) , a = n ( 65 ) , s = n ( 96 ) , c = n ( 173 ) , l = o ( "wks" ) , A = r . Symbol , u = c ? A : A && A . withoutSetter || a ; e . exports = function ( e ) { return i ( l , e ) || ( s && i ( A , e ) ? l [ e ] = A [ e ] : l [ e ] = u ( "Symbol." + e ) ) , l [ e ] } } , function ( e , t , n ) { ( function ( t ) { var n = function ( e ) { return e && e . Math == Math && e } ; e . exports = n ( "object" == typeof globalThis && globalThis ) || n ( "object" == typeof window && window ) || n ( "object" == typeof self && self ) || n ( "object" == typeof t && t ) || Function ( "return this" ) ( ) } ) . call ( this , n ( 16 ) ) } , function ( e , t ) { e . exports = function ( e ) { try { return ! ! e ( ) } catch ( e ) { return ! 0 } } } , function ( e , t ) { var n = { } . hasOwnProperty ; e . exports = function ( e , t ) { return n . call ( e , t ) } } , function ( e , t ) { e . exports = function ( e ) { return "object" == typeof e ? null !== e : "function" == typeof e } } , function ( e , t , n ) { "use strict" ; var r = n ( 139 ) , o = Object . prototype . toString ; function i ( e ) { return "[object Array]" === o . call ( e ) } function a ( e ) { return void 0 === e } function s ( e ) { return null !== e && "object" == typeof e } function c ( e ) { return "[object Function]" === o . call ( e ) } function l ( e , t ) { if ( null != e ) if ( "object" != typeof e && ( e = [ e ] ) , i ( e ) ) for ( var n = 0 , r = e . length ; n < r ; n ++ ) t . call ( null , e [ n ] , n , e ) ; else for ( var o in e ) Object . prototype . hasOwnProperty . call ( e , o ) && t . call ( null , e [ o ] , o , e ) } e . exports = { isArray : i , isArrayBuffer : function ( e ) { return "[object ArrayBuffer]" === o . call ( e ) } , isBuffer : function ( e ) { return null !== e && ! a ( e ) && null !== e . constructor && ! a ( e . constructor ) && "function" == typeof e . constructor . isBuffer && e . constructor . isBuffer ( e ) } , isFormData : function ( e ) { return "undefined" != typeof FormData && e instanceof FormData } , isArrayBufferView : function ( e ) { return "undefined" != typeof ArrayBuffer && ArrayBuffer . isView ? ArrayBuffer . isView ( e ) : e && e . buffer && e . buffer instanceof ArrayBuffer } , isString : function ( e ) { return "string" == typeof e } , isNumber : function ( e ) { return "number" == typeof e } , isObject : s , isUndefined : a , isDate : function ( e ) { return "[object Date]" === o . call ( e ) } , isFile : function ( e ) { return "[object File]" === o . call ( e ) } , isBlob : function ( e ) { return "[object Blob]" === o . call ( e ) } , isFunction : c , isStream : function ( e ) { return s ( e ) && c ( e . pipe ) } , isURLSearchParams : function ( e ) { return "undefined" != typeof URLSearchParams && e instanceof URLSearchParams } , isStandardBrowserEnv : function ( ) { return ( "undefined" == typeof navigator || "ReactNative" !== navigator . product && "NativeScript" !== navigator . product && "NS" !== navigator . product ) && ( "undefined" != typeof window && "undefined" != typeof document ) } , forEach : l , merge : function e ( ) { var t = { } ; function n ( n , r ) { "object" == typeof t [ r ] && "object" == typeof n ? t [ r ] = e ( t [ r ] , n ) : t [ r ] = n } for ( var r = 0 , o = arguments . length ; r < o ; r ++ ) l ( arguments [ r ] , n ) ; return t } , deepMerge : function e ( ) { var t = { } ; function n ( n , r ) { "object" == typeof t [ r ] && "object" == typeof n ? t [ r ] = e ( t [ r ] , n ) : t [ r ] = "object" == typeof n ? e ( { } , n ) : n } for ( var r = 0 , o = arguments . length ; r < o ; r ++ ) l ( arguments [ r ] , n ) ; return t } , extend : function ( e , t , n ) { return l ( t , ( function ( t , o ) { e [ o ] = n && "function" == typeof t ? r ( t , n ) : t } ) ) , e } , trim : function ( e ) { return e . replace ( /^\s*/ , "" ) . replace ( /\s*$/ , "" ) } } } , function ( e , t , n ) { var r = n ( 4 ) ; e . exports = function ( e ) { if ( ! r ( e ) ) throw TypeError ( String ( e ) + " is not an object" ) ; return e } } , function ( e , t , n ) { var r = n ( 1 ) , o = n ( 53 ) . f , i = n ( 17 ) , a = n ( 18 ) , s = n ( 75 ) , c = n ( 174 ) , l = n ( 68 ) ; e . exports = function ( e , t ) { var n , A , u , d , p , f = e . target , m = e . global , h = e . stat ; if ( n = m ? r : h ? r [ f ] || s ( f , { } ) : ( r [ f ] || { } ) .
2019-10-28 09:46:16 +03:00
/ * !
2019-12-22 16:49:58 +03:00
* Vue . js v2 . 6.11
2019-10-28 09:46:16 +03:00
* ( c ) 2014 - 2019 Evan You
* Released under the MIT License .
* /
2020-06-04 11:52:03 +03:00
var r = Object . freeze ( { } ) ; function o ( e ) { return null == e } function i ( e ) { return null != e } function a ( e ) { return ! 0 === e } function s ( e ) { return "string" == typeof e || "number" == typeof e || "symbol" == typeof e || "boolean" == typeof e } function c ( e ) { return null !== e && "object" == typeof e } var l = Object . prototype . toString ; function A ( e ) { return "[object Object]" === l . call ( e ) } function u ( e ) { return "[object RegExp]" === l . call ( e ) } function d ( e ) { var t = parseFloat ( String ( e ) ) ; return t >= 0 && Math . floor ( t ) === t && isFinite ( e ) } function p ( e ) { return i ( e ) && "function" == typeof e . then && "function" == typeof e . catch } function f ( e ) { return null == e ? "" : Array . isArray ( e ) || A ( e ) && e . toString === l ? JSON . stringify ( e , null , 2 ) : String ( e ) } function m ( e ) { var t = parseFloat ( e ) ; return isNaN ( t ) ? e : t } function h ( e , t ) { for ( var n = Object . create ( null ) , r = e . split ( "," ) , o = 0 ; o < r . length ; o ++ ) n [ r [ o ] ] = ! 0 ; return t ? function ( e ) { return n [ e . toLowerCase ( ) ] } : function ( e ) { return n [ e ] } } h ( "slot,component" , ! 0 ) ; var g = h ( "key,ref,slot,slot-scope,is" ) ; function v ( e , t ) { if ( e . length ) { var n = e . indexOf ( t ) ; if ( n > - 1 ) return e . splice ( n , 1 ) } } var y = Object . prototype . hasOwnProperty ; function b ( e , t ) { return y . call ( e , t ) } function x ( e ) { var t = Object . create ( null ) ; return function ( n ) { return t [ n ] || ( t [ n ] = e ( n ) ) } } var w = /-(\w)/g , M = x ( ( function ( e ) { return e . replace ( w , ( function ( e , t ) { return t ? t . toUpperCase ( ) : "" } ) ) } ) ) , T = x ( ( function ( e ) { return e . charAt ( 0 ) . toUpperCase ( ) + e . slice ( 1 ) } ) ) , E = /\B([A-Z])/g , C = x ( ( function ( e ) { return e . replace ( E , "-$1" ) . toLowerCase ( ) } ) ) ; var I = Function . prototype . bind ? function ( e , t ) { return e . bind ( t ) } : function ( e , t ) { function n ( n ) { var r = arguments . length ; return r ? r > 1 ? e . apply ( t , arguments ) : e . call ( t , n ) : e . call ( t ) } return n . _length = e . length , n } ; function S ( e , t ) { t = t || 0 ; for ( var n = e . length - t , r = new Array ( n ) ; n -- ; ) r [ n ] = e [ n + t ] ; return r } function _ ( e , t ) { for ( var n in t ) e [ n ] = t [ n ] ; return e } function B ( e ) { for ( var t = { } , n = 0 ; n < e . length ; n ++ ) e [ n ] && _ ( t , e [ n ] ) ; return t } function N ( e , t , n ) { } var k = function ( e , t , n ) { return ! 1 } , D = function ( e ) { return e } ; function L ( e , t ) { if ( e === t ) return ! 0 ; var n = c ( e ) , r = c ( t ) ; if ( ! n || ! r ) return ! n && ! r && String ( e ) === String ( t ) ; try { var o = Array . isArray ( e ) , i = Array . isArray ( t ) ; if ( o && i ) return e . length === t . length && e . every ( ( function ( e , n ) { return L ( e , t [ n ] ) } ) ) ; if ( e instanceof Date && t instanceof Date ) return e . getTime ( ) === t . getTime ( ) ; if ( o || i ) return ! 1 ; var a = Object . keys ( e ) , s = Object . keys ( t ) ; return a . length === s . length && a . every ( ( function ( n ) { return L ( e [ n ] , t [ n ] ) } ) ) } catch ( e ) { return ! 1 } } function O ( e , t ) { for ( var n = 0 ; n < e . length ; n ++ ) if ( L ( e [ n ] , t ) ) return n ; return - 1 } function P ( e ) { var t = ! 1 ; return function ( ) { t || ( t = ! 0 , e . apply ( this , arguments ) ) } } var j = [ "component" , "directive" , "filter" ] , R = [ "beforeCreate" , "created" , "beforeMount" , "mounted" , "beforeUpdate" , "updated" , "beforeDestroy" , "destroyed" , "activated" , "deactivated" , "errorCaptured" , "serverPrefetch" ] , Q = { optionMergeStrategies : Object . create ( null ) , silent : ! 1 , productionTip : ! 1 , devtools : ! 1 , performance : ! 1 , errorHandler : null , warnHandler : null , ignoredElements : [ ] , keyCodes : Object . create ( null ) , isReservedTag : k , isReservedAttr : k , isUnknownElement : k , getTagNamespace : N , parsePlatformTagName : D , mustUseProp : k , async : ! 0 , _lifecycleHooks : R } , U = /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 G ( e , t , n , r ) { Object . defineProperty ( e , t , { value : n , enumerable : ! ! r , writable : ! 0 , configurable : ! 0 } ) } var Y = new RegExp ( "[^" + U . source + ".$_\\d]" ) ; var F , z = "__proto__" in { } , H = "undefined" != typeof window , Z = "undefined" != typeof WXEnvironment && ! ! WXEnvironment . platform , W = Z && WXEnvironment . platform . toLowerCase ( ) , V = H && window . navigator . userAgent . toLowerCase ( ) , J = V && /msie|trident/ . test ( V ) , K = V && V . indexOf ( "msie 9.0" ) > 0 , $ = V && V . indexOf ( "edge/" ) > 0 , X = ( V && V . indexOf ( "android" ) , V && /iphone|ipad|ipod|ios/ . test ( V ) || "ios" === W ) , q = ( V && /chrome\/\d+/ . test ( V ) , V && /phantomjs/ . test ( V ) , V && V . match ( /firefox\/(\d+)/ ) ) , ee = { } . watch , te = ! 1 ; if ( H ) try { var ne = { } ; Object . defineProperty ( ne , "passive" , { get : function ( ) { te = ! 0 } } ) , window . addEventListener ( "test-passive" , null , ne ) } catch ( e ) { } var re = function ( ) { return void 0 === F && ( F = ! H && ! Z && void 0 !== e && ( e . process && "server" === e . process . env . VUE _ENV ) ) , F } , oe = H && window . _ _VUE _DEVTOOLS _GLOBAL _HOOK _ _ ; function ie ( e ) { return "function" == t
2019-10-28 09:46:16 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2020-06-04 11:52:03 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "e1f55ce" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , t . default = r . VTooltip } , function ( e , t ) { e . exports = n ( 206 ) } , function ( e , t ) { e . exports = n ( 109 ) } , , , function ( e , t ) { e . exports = n ( 28 ) } , function ( e , t ) { e . exports = n ( 36 ) } , function ( e , t ) { e . exports = n ( 48 ) } , function ( e , t ) { e . exports = n ( 33 ) } , function ( e , t ) { e . exports = n ( 178 ) } , function ( e , t ) { e . exports = n ( 70 ) } , function ( e , t ) { e . exports = n ( 83 ) } , function ( e , t ) { e . exports = n ( 71 ) } , , , , , function ( e , t ) { e . exports = n ( 46 ) } , , , function ( e , t ) { e . exports = n ( 104 ) } , function ( e , t , n ) { var r = n ( 73 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "1f2ec49f" , r , ! 0 , { } ) } , function ( e , t , n ) { var r = n ( 75 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "9c561116" , r , ! 0 , { } ) } , function ( e , t , n ) { var r = n ( 77 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "93093140" , r , ! 0 , { } ) } , , , function ( e , t , n ) { var r = n ( 87 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "2e9b7708" , r , ! 0 , { } ) } , function ( e , t , n ) { var r = n ( 41 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "941c791e" , r , ! 0 , { } ) } , function ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . push ( [ e . i , ".vue-tooltip[data-v-e1f55ce]{position:absolute;z-index:100000;right:auto;left:auto;display:block;margin:0;margin-top:-3px;padding:10px 0;text-align:left;text-align:start;white-space:normal;text-decoration:none;letter-spacing:normal;word-spacing:normal;text-transform:none;word-wrap:normal;word-break:normal;opacity:0;text-shadow:none;font-family:'Nunito', 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;font-size:12px;font-weight:normal;font-style:normal;line-height:1.6;line-break:auto;filter:drop-shadow(0 1px 10px var(--color-box-shadow))}.vue-tooltip[data-v-e1f55ce][x-placement^='top'] .tooltip-arrow{bottom:0;margin-top:0;margin-bottom:0;border-width:10px 10px 0 10px;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e1f55ce][x-placement^='bottom'] .tooltip-arrow{top:0;margin-top:0;margin-bottom:0;border-width:0 10px 10px 10px;border-top-color:transparent;border-right-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e1f55ce][x-placement^='right'] .tooltip-arrow{right:100%;margin-right:0;margin-left:0;border-width:10px 10px 10px 0;border-top-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e1f55ce][x-placement^='left'] .tooltip-arrow{left:100%;margin-right:0;margin-left:0;border-width:10px 0 10px 10px;border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent}.vue-tooltip[data-v-e1f55ce][aria-hidden='true']{visibility:hidden;transition:opacity .15s, visibility .15s;opacity:0}.vue-tooltip[data-v-e1f55ce][aria-hidden='false']{visibility:visible;transition:opacity .15s;opacity:1}.vue-tooltip[data-v-e1f55ce] .tooltip-inner{max-width:350px;padding:5px 8px;text-align:center;color:var(--color-main-text);border-radius:var(--border-radius);background-color:var(--color-main-background)}.vue-tooltip[data-v-e1f55ce] .tooltip-arrow{position:absolute;z-index:1;width:0;height:0;margin:0;border-style:solid;border-color:var(--color-main-background)}\n" , "" ] ) , e . exports = t } , function ( e , t ) { } , , , , , , , function ( e , t , n ) { "use strict" ;
2019-12-08 05:15:53 +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-12-08 05:15:53 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2020-04-10 13:01:29 +03:00
function r ( e , t , n ) { this . r = e , this . g = t , this . b = n } function o ( e , t , n ) { var o = [ ] ; o . push ( t ) ; for ( var i = function ( e , t ) { var n = new Array ( 3 ) ; return n [ 0 ] = ( t [ 1 ] . r - t [ 0 ] . r ) / e , n [ 1 ] = ( t [ 1 ] . g - t [ 0 ] . g ) / e , n [ 2 ] = ( t [ 1 ] . b - t [ 0 ] . b ) / e , n } ( e , [ t , n ] ) , a = 1 ; a < e ; a ++ ) { var s = parseInt ( t . r + i [ 0 ] * a , 10 ) , c = parseInt ( t . g + i [ 1 ] * a , 10 ) , l = parseInt ( t . b + i [ 2 ] * a , 10 ) ; o . push ( new r ( s , c , l ) ) } return o } n ( 25 ) , t . a = function ( e ) { e || ( e = 6 ) ; var t = new r ( 182 , 70 , 157 ) , n = new r ( 221 , 203 , 85 ) , i = new r ( 0 , 130 , 201 ) , a = o ( e , t , n ) , s = o ( e , n , i ) , c = o ( e , i , t ) ; return a . concat ( s ) . concat ( c ) } } , function ( e , t ) { } , function ( e , t , n ) { "use strict" ; n . r ( t ) , n ( 15 ) , n ( 18 ) , n ( 4 ) , n ( 23 ) , n ( 19 ) , n ( 20 ) , n ( 24 ) ; var 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 ( e ) { return ! e . input || - 1 !== [ "text" , "checkbox" ] . indexOf ( e . input ) } } } , computed : { key : function ( ) { return this . item . key ? this . item . key : Math . round ( 16 * Math . random ( ) * 1e6 ) . toString ( 16 ) } , iconIsUrl : function ( ) { try { return new URL ( this . item . icon ) , ! 0 } catch ( e ) { return ! 1 } } } , methods : { action : function ( e ) { this . item . action && this . item . action ( e ) } } } , o = ( n ( 72 ) , n ( 74 ) , n ( 0 ) ) , i = { name : "PopoverMenu" , components : { PopoverMenuItem : Object ( o . a ) ( r , ( function ( ) { var e = this , t = e . $createElement , n = e . _self . _c || t ; return n ( "li" , [ e . item . href ? n ( "a" , { staticClass : "focusable" , attrs : { href : e . item . href ? e . item . href : "#" , target : e . item . target ? e . item . target : "" , download : e . item . download , rel : "noreferrer noopener" } , on : { click : e . action } } , [ e . iconIsUrl ? n ( "img" , { attrs : { src : e . item . icon } } ) : n ( "span" , { class : e . item . icon } ) , e . _v ( " " ) , e . item . text && e . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ e . _v ( "\n\t\t\t\t" + e . _s ( e . item . text ) + "\n\t\t\t" ) ] ) , n ( "br" ) , e . _v ( " " ) , n ( "span" , { staticClass : "menuitem-text-detail" } , [ e . _v ( "\n\t\t\t\t" + e . _s ( e . item . longtext ) + "\n\t\t\t" ) ] ) ] ) : e . item . text ? n ( "span" , [ e . _v ( "\n\t\t\t" + e . _s ( e . item . text ) + "\n\t\t" ) ] ) : e . item . longtext ? n ( "p" , [ e . _v ( "\n\t\t\t" + e . _s ( e . item . longtext ) + "\n\t\t" ) ] ) : e . _e ( ) ] ) : e . item . input ? n ( "span" , { staticClass : "menuitem" , class : { active : e . item . active } } , [ "checkbox" !== e . item . input ? n ( "span" , { class : e . item . icon } ) : e . _e ( ) , e . _v ( " " ) , "text" === e . item . input ? n ( "form" , { class : e . item . input , on : { submit : function ( t ) { return t . preventDefault ( ) , e . item . action ( t ) } } } , [ n ( "input" , { attrs : { type : e . item . input , placeholder : e . item . text , required : "" } , domProps : { value : e . item . value } } ) , e . _v ( " " ) , n ( "input" , { staticClass : "icon-confirm" , attrs : { type : "submit" , value : "" } } ) ] ) : [ "checkbox" === e . item . input ? n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : e . item . model , expression : "item.model" } ] , class : e . item . input , attrs : { id : e . key , type : "checkbox" } , domProps : { checked : Array . isArray ( e . item . model ) ? e . _i ( e . item . model , null ) > - 1 : e . item . model } , on : { change : [ function ( t ) { var n = e . item . model , r = t . target , o = ! ! r . checked ; if ( Array . isArray ( n ) ) { var i = e . _i ( n , null ) ; r . checked ? i < 0 && e . $set ( e . item , "model" , n . concat ( [ null ] ) ) : i > - 1 && e . $set ( e . item , "model" , n . slice ( 0 , i ) . concat ( n . slice ( i + 1 ) ) ) } else e . $set ( e . item , "model" , o ) } , e . item . action ] } } ) : "radio" === e . item . input ? n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : e . item . model , expression : "item.model" } ] , class : e . item . input , attrs : { id : e . key , type : "radio" } , domProps : { checked : e . _q ( e . item . model , null ) } , on : { change : [ function ( t ) { return e . $set ( e . item , "model" , null ) } , e . item . action ] } } ) : n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : e . item . model , expression : "item.model" } ] , class : e . item . input , attrs : { id : e . key , type : e . item . input } , domProps : { value : e . item . model } , on : { change : e . item . action , input : function ( t ) { t . target . composing || e . $set ( e . item , "model" , t . target . value ) } } } ) , e . _v ( " " ) , n ( "label" , { attrs : { for : e . key } , on : { click : function ( t ) { return t . stopPropagation ( ) , t . preventDefault ( ) , e . item . action ( t ) } } } , [ e . _v ( "\n\t\t\t\t" + e . _s ( e . item . text ) + "\n\t\t\t" ) ] ) ] ] , 2 ) : e . item . action ? n ( "button" , { staticClass : "menuitem focusable" , class : { active : e . item . active } , attrs : { disabled : e . item . disabled } , on : { click : function ( t ) { return t . stopPropagation ( ) , t . preventDefault ( ) , e . item . action ( t ) } } } , [ n ( "span" , { class : e . item . icon } ) , e . _v ( " " ) , e . item . text && e . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ e . _v ( "\n\t\t\t\t" + e . _s ( e . item . text ) + "\n\t\t\t" ) ] ) , n ( " br
2019-10-28 09:46:16 +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-12-08 05:15:53 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* /t.default=l},function(e,t){e.exports=n(13)},function(e,t,n){"use strict";n.r(t),n(25),n(71),n(22),n(33),n(4),n(68),n(69);var r=n(14),o=n(51),i=n(52),a=n.n(i),s=n(13),c=(n(21),n(85),n(30),n(63)),l=n.n(c),A=n(49);function u(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){u(i,r,o,a,s,"next",e)}function s(e){u(i,r,o,a,s,"throw",e)}a(void 0)}))}}var p={name:"Avatar",directives:{tooltip:s.default,ClickOutside:r.directive},components:{PopoverMenu:o.default},props:{url:{type:String,default:void 0},iconClass:{type:String,default:void 0},user:{type:String,default:void 0},isGuest:{type:Boolean,default:!1},displayName:{type:String,default:void 0},size:{type:Number,default:32},allowPlaceholder:{type:Boolean,default:!0},disableTooltip:{type:Boolean,default:!1},disableMenu:{type:Boolean,default:!1},tooltipMessage:{type:String,default:null},isNoUser:{type:Boolean,default:!1},status:{type:String,default:null,validator:function(e){switch(e){case"positive":case"negative":case"neutral":return!0}return!1}},statusColor:{type:[Number,String],default:null,validator:function(e){return/ ^ ( [ a - f0 - 9 ] { 3 } ) { 1 , 2 } $ / i . test ( e ) } } , menuPosition : { type : String , default : "center" } } , data : function ( ) { return { avatarUrlLoaded : null , avatarSrcSetLoaded : null , userDoesNotExist : ! 1 , isAvatarLoaded : ! 1 , isMenuLoaded : ! 1 , contactsMenuActions : [ ] , contactsMenuOpenState : ! 1 } } , computed : { getUserIdentifier : function ( ) { return this . isDisplayNameDefined ? this . displayName : this . isUserDefined ? this . user : "" } , isUserDefined : function ( ) { return void 0 !== this . user } , isDisplayNameDefined : function ( ) { return void 0 !== this . displayName } , isUrlDefined : function ( ) { return void 0 !== this . url } , hasMenu : function ( ) { return ! this . disableMenu && ( this . isMenuLoaded ? this . menu . length > 0 : ! ( this . user === OC . getCurrentUser ( ) . uid || this . userDoesNotExist || this . url ) ) } , shouldShowPlaceholder : function ( ) { return this . allowPlaceholder && this . userDoesNotExist } , avatarStyle : function ( ) { var e = { width : this . size + "px" , height : this . size + "px" , lineHeight : this . size + "px" , fontSize : Math . round ( . 55 * this . size ) + "px" } ; if ( ! this . iconClass && ! this . avatarSrcSetLoaded ) { var t = function ( e ) { var t = e . toLowerCase ( ) ; return null === t . match ( /^([0-9a-f]{4}-?){8}$/ ) && ( t = l ( ) ( t ) ) , t = t . replace ( /[^0-9a-f]/g , "" ) , Object ( A . a ) ( 6 ) [ function ( e , t ) { for ( var n = 0 , r = [ ] , o = 0 ; o < e . length ; o ++ ) r . push ( parseInt ( e . charAt ( o ) , 16 ) % 16 ) ; for ( var i in r ) n += r [ i ] ; return parseInt ( parseInt ( n , 10 ) % 18 , 10 ) } ( t ) ] } ( this . getUserIdentifier ) ; e . backgroundColor = "rgb(" + t . r + ", " + t . g + ", " + t . b + ")" } return e } , tooltip : function ( ) { return ! this . disableTooltip && ( this . tooltipMessage ? this . tooltipMessage : this . displayName ) } , initials : function ( ) { return this . shouldShowPlaceholder ? this . getUserIdentifier . charAt ( 0 ) . toUpperCase ( ) : "?" } , menu : function ( ) { return this . contactsMenuActions . map ( ( function ( e ) { return { href : e . hyperlink , icon : e . icon , text : e . title } } ) ) } } , watch : { url : function ( ) { this . userDoesNotExist = ! 1 , this . loadAvatarUrl ( ) } , user : function ( ) { this . userDoesNotExist = ! 1 , this . isMenuLoaded = ! 1 , this . loadAvatarUrl ( ) } } , mounted : function ( ) { this . loadAvatarUrl ( ) } , methods : { toggleMenu : function ( ) { var e = this ; return d ( regeneratorRuntime . mark ( ( function t ( ) { return regeneratorRuntime . wrap ( ( function ( t ) { for ( ; ; ) switch ( t . prev = t . next ) { case 0 : if ( e . hasMenu ) { t . next = 2 ; break } return t . abrupt ( "return" ) ; case 2 : if ( e . contactsMenuOpenState ) { t . next = 5 ; break } return t . next = 5 , e . fetchContactsMenu ( ) ; case 5 : e . contactsMenuOpenState = ! e . contactsMenuOpenState ; case 6 : case "end" : return t . stop ( ) } } ) , t ) } ) ) ) ( ) } , closeMenu : function ( ) { this . contactsMenuOpenState = ! 1 } , fetchContactsMenu : function ( ) { var e = this ; return d ( regeneratorRuntime . mark ( ( function t ( ) { var n , r , o ; return regeneratorRuntime . wrap ( ( function ( t ) { for ( ; ; ) switch ( t . prev = t . next ) { case 0 : return t . prev = 0 , n = encodeURIComponent ( e . user ) , t . next = 4 , a . a . post ( OC . generateUrl ( "contactsmenu/findOne" ) , "shareType=0&shareWith=" . concat ( n ) ) ; case 4 : r = t . sent , o = r . data , e . contactsMenuActions = o . topAction ? [ o . topAction ] . concat ( o . actions ) : o . actions , t . next = 12 ; break ; case 9 : t . prev = 9 , t . t0 = t . catch ( 0 ) , e . contactsMenuOpenState = !
2019-12-08 05:15:53 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2018 Julius Härtl < jus @ bitgrid . net >
2019-12-08 05:15:53 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2019-12-08 05:15:53 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2019-10-28 09:46:16 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-06-04 11:52:03 +03:00
* / t . d e f a u l t = v } , , , , , , , , , , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 0 3 ) } , , , , , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 0 5 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 1 0 ) } , , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 6 4 ) } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = n ( 3 4 ) ; n . n ( r ) . a } , f u n c t i o n ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . p u s h ( [ e . i , " \ n b u t t o n . m e n u i t e m [ d a t a - v - 7 5 a b 8 8 6 e ] { \ 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 - 7 5 a b 8 8 6 e ] { \ 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 - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] { \ 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 - 7 5 a b 8 8 6 e ] { \ 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 " , " " ] ) , e . e x p o r t s = t } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = n ( 3 5 ) ; n . n ( r ) . a } , f u n c t i o n ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . p u s h ( [ e . i , " l i [ d a t a - v - 7 5 a b 8 8 6 e ] { 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 - 7 5 a b 8 8 6 e ] { d i s p l a y : n o n e } l i > b u t t o n [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > . m e n u i t e m [ d a t a - v - 7 5 a b 8 8 6 e ] { 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 - 7 5 a b 8 8 6 e ] , 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 - 7 5 a b 8 8 6 e ] , l i > b u t t o n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > b u t t o n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , 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 - 7 5 a b 8 8 6 e ] , 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 - 7 5 a b 8 8 6 e ] , l i > . m e n u i t e m [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > . m e n u i t e m [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] { 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 - 7 5 a b 8 8 6 e ] , 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 - 7 5 a b 8 8 6 e ] , l i > a s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , 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 - 7 5 a b 8 8 6 e ] , 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 - 7 5 a b 8 8 6 e ] { 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 - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] , l i > b u t t o n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > . m e n u i t e m [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > . m e n u i t e m [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] { 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 - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] , l i > a [ d a t a - v - 7 5 a b 8 8 6 e ] : n o t ( : d i s a b l e d ) : h o v e r , l i > a [ d a t a - v - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] , l i > . m e n u i t e m [ d a t a - v - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] { 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 - 7 5 a b 8 8 6 e ] , l i > a . a c t i o n [ d
2019-10-28 09:46:16 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-12-08 05:15:53 +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-12-08 05:15:53 +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-06-04 11:52:03 +03:00
* / t . a = { b e f o r e : f u n c t i o n ( ) { t h i s . $ s l o t s . d e f a u l t & & " " ! = = t h i s . t e x t . t r i m ( ) | | ( o . a . u t i l . w a r n ( " " . c o n c a t ( t h i s . $ o p t i o n s . n a m e , " c a n n o t b e e m p t y a n d r e q u i r e s a m e a n i n g f u l t e x t c o n t e n t " ) , t h i s ) , t h i s . $ d e s t r o y ( ) , t h i s . $ e l . r e m o v e ( ) ) } , b e f o r e U p d a t e : f u n c t i o n ( ) { t h i s . t e x t = t h i s . g e t T e x t ( ) } , d a t a : f u n c t i o n ( ) { r e t u r n { t e x t : t h i s . g e t T e x t ( ) } } , c o m p u t e d : { i s L o n g T e x t : f u n c t i o n ( ) { r e t u r n t h i s . t e x t & & t h i s . t e x t . t r i m ( ) . l e n g t h > 2 0 } } , m e t h o d s : { g e t T e x t : f u n c t i o n ( ) { r e t u r n t h i s . $ s l o t s . d e f a u l t ? t h i s . $ s l o t s . d e f a u l t [ 0 ] . t e x t . t r i m ( ) : " " } } } } , 1 8 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 8 ) } , 1 9 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 6 ) } , 2 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; f u n c t i o n r ( e , t ) { f o r ( v a r n = [ ] , r = { } , o = 0 ; o < t . l e n g t h ; o + + ) { v a r i = t [ o ] , a = i [ 0 ] , s = { i d : e + " : " + o , c s s : i [ 1 ] , m e d i a : i [ 2 ] , s o u r c e M a p : i [ 3 ] } ; r [ a ] ? r [ a ] . p a r t s . p u s h ( s ) : n . p u s h ( r [ a ] = { i d : a , p a r t s : [ s ] } ) } r e t u r n n } n . r ( t ) , n . d ( t , " d e f a u l t " , ( f u n c t i o n ( ) { r e t u r n p } ) ) ; v a r o = " u n d e f i n e d " ! = t y p e o f d o c u m e n t ; i f ( " u n d e f i n e d " ! = t y p e o f D E B U G & & D E B U G & & ! o ) t h r o w n e w E r r o r ( " v u e - s t y l e - l o a d e r c a n n o t b e u s e d i n a n o n - b r o w s e r e n v i r o n m e n t . U s e { t a r g e t : ' n o d e ' } i n y o u r W e b p a c k c o n f i g t o i n d i c a t e a s e r v e r - r e n d e r i n g e n v i r o n m e n t . " ) ; v a r i = { } , a = o & & ( d o c u m e n t . h e a d | | d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( " h e a d " ) [ 0 ] ) , s = n u l l , c = 0 , l = ! 1 , A = f u n c t i o n ( ) { } , u = n u l l , d = " u n d e f i n e d " ! = t y p e o f n a v i g a t o r & & / m s i e [ 6 - 9 ] \ b / . t e s t ( n a v i g a t o r . u s e r A g e n t . t o L o w e r C a s e ( ) ) ; f u n c t i o n p ( e , t , n , o ) { l = n , u = o | | { } ; v a r a = r ( e , t ) ; r e t u r n f ( a ) , f u n c t i o n ( t ) { f o r ( v a r n = [ ] , o = 0 ; o < a . l e n g t h ; o + + ) { v a r s = a [ o ] ; ( c = i [ s . i d ] ) . r e f s - - , n . p u s h ( c ) } f o r ( t ? f ( a = r ( e , t ) ) : a = [ ] , o = 0 ; o < n . l e n g t h ; o + + ) { v a r c ; i f ( 0 = = = ( c = n [ o ] ) . r e f s ) { f o r ( v a r l = 0 ; l < c . p a r t s . l e n g t h ; l + + ) c . p a r t s [ l ] ( ) ; d e l e t e i [ c . i d ] } } } } f u n c t i o n f ( e ) { f o r ( v a r t = 0 ; t < e . l e n g t h ; t + + ) { v a r n = e [ t ] , r = i [ n . i d ] ; i f ( r ) { r . r e f s + + ; f o r ( v a r o = 0 ; o < r . p a r t s . l e n g t h ; o + + ) r . p a r t s [ o ] ( n . p a r t s [ o ] ) ; f o r ( ; o < n . p a r t s . l e n g t h ; o + + ) r . p a r t s . p u s h ( h ( n . p a r t s [ o ] ) ) ; r . p a r t s . l e n g t h > n . p a r t s . l e n g t h & & ( r . p a r t s . l e n g t h = n . p a r t s . l e n g t h ) } e l s e { v a r a = [ ] ; f o r ( o = 0 ; o < n . p a r t s . l e n g t h ; o + + ) a . p u s h ( h ( n . p a r t s [ o ] ) ) ; i [ n . i d ] = { i d : n . i d , r e f s : 1 , p a r t s : a } } } } f u n c t i o n m ( ) { v a r e = d o c u m e n t . c r e a t e E l e m e n t ( " s t y l e " ) ; r e t u r n e . t y p e = " t e x t / c s s " , a . a p p e n d C h i l d ( e ) , e } f u n c t i o n h ( e ) { v a r t , n , r = d o c u m e n t . q u e r y S e l e c t o r ( ' s t y l e [ d a t a - v u e - s s r - i d ~ = " ' + e . i d + ' " ] ' ) ; i f ( r ) { i f ( l ) r e t u r n A ; r . p a r e n t N o d e . r e m o v e C h i l d ( r ) } i f ( d ) { v a r o = c + + ; r = s | | ( s = m ( ) ) , t = y . b i n d ( n u l l , r , o , ! 1 ) , n = y . b i n d ( n u l l , r , o , ! 0 ) } e l s e r = m ( ) , t = b . b i n d ( n u l l , r ) , n = f u n c t i o n ( ) { r . p a r e n t N o d e . r e m o v e C h i l d ( r ) } ; r e t u r n t ( e ) , f u n c t i o n ( r ) { i f ( r ) { i f ( r . c s s = = = e . c s s & & r . m e d i a = = = e . m e d i a & & r . s o u r c e M a p = = = e . s o u r c e M a p ) r e t u r n ; t ( e = r ) } e l s e n ( ) } } v a r g , v = ( g = [ ] , f u n c t i o n ( e , t ) { r e t u r n g [ e ] = t , g . f i l t e r ( B o o l e a n ) . j o i n ( " \ n " ) } ) ; f u n c t i o n y ( e , t , n , r ) { v a r o = n ? " " : r . c s s ; i f ( e . s t y l e S h e e t ) e . s t y l e S h e e t . c s s T e x t = v ( t , o ) ; e l s e { v a r i = d o c u m e n t . c r e a t e T e x t N o d e ( o ) , a = e . c h i l d N o d e s ; a [ t ] & & e . r e m o v e C h i l d ( a [ t ] ) , a . l e n g t h ? e . i n s e r t B e f o r e ( i , a [ t ] ) : e . a p p e n d C h i l d ( i ) } } f u n c t i o n b ( e , t ) { v a r n = t . c s s , r = t . m e d i a , o = t . s o u r c e M a p ; i f ( r & & e . s e t A t t r i b u t e ( " m e d i a " , r ) , u . s s r I d & & e . s e t A t t r i b u t e ( " d a t a - v u e - s s r - i d " , t . i d ) , o & & ( n + = " \ n / * # s o u r c e U R L = " + o . s o u r c e s [ 0 ] + " * / " , n + = " \ n / * # s o u r c e M a p p i n g U R L = d a t a : a p p l i c a t i o n / j s o n ; b a s e 6 4 , " + b t o a ( u n e s c a p e ( e n c o d e U R I C o m p o n e n t ( J S O N . s t r i n g i f y ( o ) ) ) ) + " * / " ) , e . s t y l e S h e e t ) e . s t y l e S h e e t . c s s T e x t = n ; e l s e { f o r ( ; e . f i r s t C h i l d ; ) e . r e m o v e C h i l d ( e . f i r s t C h i l d ) ; e . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( n ) ) } } } , 2 0 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 4 8 ) } , 2 4 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 8 3 ) } , 2 6 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n ( 1 8 ) , n ( 4 ) , n ( 1 9 ) , n ( 2 0 ) , n ( 2 4 ) ; v a r r = n ( 1 6 ) , o = ( n ( 1 2 ) , f u n c t i o n ( e , t ) { f o r ( v a r n = e . $ p a r e n t ; n ; ) { i f ( n . $ o p t i o n s . n a m e = = = t ) r e t u r n n ; n = n . $ p a r e n t } } ) ; t . a = { m i x i n s : [ r . a ] , p r o p s : { i c o n : { t y p e : S t r i n g , d e f a u l t : " " } , t i t l e : { t y p e : S t r i n g , d e f a u l t : " " } , c l o s e A f t e r C l i c k : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , a r i a L a b e l : { t y p e : S t r i n g , d e f a u l t : " " } } , c o m p u t e d : { i s I c o n U r l : f u n c t i o n ( ) { t r y { r e t u r n n e w U R L ( t h i s . i c o n ) } c a t c h ( e ) { 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 ( e ) { i f ( t h i s . $ e m i t ( " c l i c k " , e ) , t h i s . c l o s e A f t e r C l i c k ) { v a r t = o ( t h i s , " A c t i o n s " ) ; t & & t . c l o s e M e n u & & t . c l o s e M e n u ( ) } } } } } , 2 8 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 8 4 ) } , 4 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 2 ) } , 4 7 : f u n c t i o n ( e , t , n ) { v a r r = n ( 1 2 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 7 5 b 9 f 9 0 2 " , r , ! 0 , { } ) } , 5 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 1 4 ) } , 5 4 : f u n c t i o n ( e , t ) { } , 7 0 : f u n c t i o n ( e , t , 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
2019-12-08 05:15:53 +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-06-04 11:52:03 +03:00
* / t . d e f a u l t = r . a } } ) } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; e . e x p o r t s = f u n c t i o n ( e ) { v a r t = [ ] ; r e t u r n t . t o S t r i n g = f u n c t i o n ( ) { r e t u r n t h i s . m a p ( ( f u n c t i o n ( t ) { v a r n = f u n c t i o n ( e , t ) { v a r n = e [ 1 ] | | " " , r = e [ 3 ] ; i f ( ! r ) r e t u r n n ; i f ( t & & " f u n c t i o n " = = t y p e o f b t o a ) { v a r o = ( a = r , s = b t o a ( u n e s c a p e ( e n c o d e U R I C o m p o n e n t ( J S O N . s t r i n g i f y ( a ) ) ) ) , c = " s o u r c e M a p p i n g U R L = d a t a : a p p l i c a t i o n / j s o n ; c h a r s e t = u t f - 8 ; b a s e 6 4 , " . c o n c a t ( s ) , " / * # " . c o n c a t ( c , " * / " ) ) , i = r . s o u r c e s . m a p ( ( f u n c t i o n ( e ) { r e t u r n " / * # s o u r c e U R L = " . c o n c a t ( r . s o u r c e R o o t | | " " ) . c o n c a t ( e , " * / " ) } ) ) ; r e t u r n [ n ] . c o n c a t ( i ) . c o n c a t ( [ o ] ) . j o i n ( " \ n " ) } v a r a , s , c ; r e t u r n [ n ] . j o i n ( " \ n " ) } ( t , e ) ; r e t u r n t [ 2 ] ? " @ m e d i a " . c o n c a t ( t [ 2 ] , " { " ) . c o n c a t ( n , " } " ) : n } ) ) . j o i n ( " " ) } , t . i = f u n c t i o n ( e , n , r ) { " s t r i n g " = = t y p e o f e & & ( e = [ [ n u l l , e , " " ] ] ) ; v a r o = { } ; i f ( r ) f o r ( v a r i = 0 ; i < t h i s . l e n g t h ; i + + ) { v a r a = t h i s [ i ] [ 0 ] ; n u l l ! = a & & ( o [ a ] = ! 0 ) } f o r ( v a r s = 0 ; s < e . l e n g t h ; s + + ) { v a r c = [ ] . c o n c a t ( e [ s ] ) ; r & & o [ c [ 0 ] ] | | ( n & & ( c [ 2 ] ? c [ 2 ] = " " . c o n c a t ( n , " a n d " ) . c o n c a t ( c [ 2 ] ) : c [ 2 ] = n ) , t . p u s h ( c ) ) } } , t } } , f u n c t i o n ( e , t , n ) { v a r r = n ( 4 ) ; e . e x p o r t s = f u n c t i o n ( e , t ) { i f ( ! r ( e ) ) r e t u r n e ; v a r n , o ; i f ( t & & " f u n c t i o n " = = t y p e o f ( n = e . t o S t r i n g ) & & ! r ( o = n . c a l l ( e ) ) ) r e t u r n o ; i f ( " f u n c t i o n " = = t y p e o f ( n = e . v a l u e O f ) & & ! r ( o = n . c a l l ( e ) ) ) r e t u r n o ; i f ( ! t & & " f u n c t i o n " = = t y p e o f ( n = e . t o S t r i n g ) & & ! r ( o = n . c a l l ( e ) ) ) r e t u r n o ; t h r o w T y p e E r r o r ( " C a n ' t c o n v e r t o b j e c t t o p r i m i t i v e v a l u e " ) } } , f u n c t i o n ( e , t , n ) { v a r r = n ( 9 ) , o = n ( 8 ) . f , i = F u n c t i o n . p r o t o t y p e , a = i . t o S t r i n g , s = / ^ \ s * f u n c t i o n ( [ ^ ( ] * ) / ; r & & ! ( " n a m e " i n i ) & & o ( i , " n a m e " , { c o n f i g u r a b l e : ! 0 , g e t : f u n c t i o n ( ) { t r y { r e t u r n a . c a l l ( t h i s ) . m a t c h ( s ) [ 1 ] } c a t c h ( e ) { r e t u r n " " } } } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 9 ) , o = n ( 1 1 0 ) , i = n ( 3 2 ) , a = n ( 2 5 ) , s = n ( 5 1 ) , c = n ( 3 ) , l = n ( 1 0 8 ) , A = 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 . f = r ? A : f u n c t i o n ( e , t ) { i f ( e = a ( e ) , t = s ( t , ! 0 ) , l ) t r y { r e t u r n A ( e , t ) } c a t c h ( e ) { } i f ( c ( e , t ) ) r e t u r n i ( ! o . f . c a l l ( e , t ) , e [ t ] ) } } , f u n c t i o n ( e , t ) { v a r n = M a t h . c e i l , r = M a t h . f l o o r ; e . e x p o r t s = f u n c t i o n ( e ) { r e t u r n i s N a N ( e = + e ) ? 0 : ( e > 0 ? r : n ) ( e ) } } , f u n c t i o n ( e , t ) { e . e x p o r t s = f u n c t i o n ( e ) { r e t u r n " o b j e c t " = = t y p e o f e ? n u l l ! = = e : " f u n c t i o n " = = t y p e o f e } } , f u n c t i o n ( e , t , n ) { v a r r = n ( 3 7 ) , o = n ( 1 3 0 ) , i = n ( 1 2 5 ) ; e . e x p o r t s = r ? f u n c t i o n ( e , t , n ) { r e t u r n o . f ( e , t , i ( 1 , n ) ) } : f u n c t i o n ( e , t , n ) { r e t u r n e [ t ] = n , e } } , f u n c t i o n ( e , t ) { e . e x p o r t s = f u n c t i o n ( e ) { i f ( n u l l = = e ) t h r o w T y p e E r r o r ( " C a n ' t c a l l m e t h o d o n " + e ) ; r e t u r n e } } , f u n c t i o n ( e , t ) { e . e x p o r t s = f u n c t i o n ( e ) { r e t u r n " o b j e c t " = = t y p e o f e ? n u l l ! = = e : " f u n c t i o n " = = t y p e o f e } } , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 2 ) , o = n ( 4 0 ) , i = n ( 2 1 ) , a = n ( 9 0 ) , s = n ( 1 5 8 ) , c = n ( 2 6 8 ) , l = c . g e t , A = c . e n f o r c e , u = S t r i n g ( S t r i n g ) . s p l i t ( " S t r i n g " ) ; ( e . e x p o r t s = f u n c t i o n ( e , t , n , s ) { v a r c = ! ! s & & ! ! s . u n s a f e , l = ! ! s & & ! ! s . e n u m e r a b l e , d = ! ! s & & ! ! s . n o T a r g e t G e t ; " f u n c t i o n " = = t y p e o f n & & ( " s t r i n g " ! = t y p e o f t | | i ( n , " n a m e " ) | | o ( n , " n a m e " , t ) , A ( n ) . s o u r c e = u . j o i n ( " s t r i n g " = = t y p e o f t ? t : " " ) ) , e ! = = r ? ( c ? ! d & & e [ t ] & & ( l = ! 0 ) : d e l e t e e [ t ] , l ? e [ t ] = n : o ( e , t , n ) ) : l ? e [ t ] = n : a ( t , n ) } ) ( F u n c t i o n . p r o t o t y p e , " t o S t r i n g " , ( f u n c t i o n ( ) { r e t u r n " f u n c t i o n " = = t y p e o f t h i s & & l ( t h i s ) . s o u r c e | | s ( t h i s ) } ) ) } , f u n c t i o n ( e , t ) { v a r n = M a t h . c e i l , r = M a t h . f l o o r ; e . e x p o r t s = f u n c t i o n ( e ) { r e t u r n i s N a N ( e = + e ) ? 0 : ( e > 0 ? r : n ) ( e ) } } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; f u n c t i o n r ( e , t ) { f o r ( v a r n = [ ] , r = { } , o = 0 ; o < t . l e n g t h ; o + + ) { v a r i = t [ o ] , a = i [ 0 ] , s = { i d : e + " : " + o , c s s : i [ 1 ] , m e d i a : i [ 2 ] , s o u r c e M a p : i [ 3 ] } ; r [ a ] ? r [ a ] . p a r t s . p u s h ( s ) : n . p u s h ( r [ a ] = { i d : a , p a r t s : [ s ] } ) } r e t u r n n } n . r ( t ) , n . d ( t , " d e f a u l t " , ( f u n c t i o n ( ) { r e t u r n p } ) ) ; v a r o = " u n d e f i n e d " ! = t y p e o f d o c u m e n t ; i f ( " u n d e f i n e d " ! = t y p e o f D E B U G & & D E B U G & & ! o ) t h r o w n e w E r r o r ( " v u e - s t y l e - l o a d e r c a n n o t b e u s e d i n a n o n - b r o w s e r e n v i r o n m e n t . U s e { t a r g e t : ' n o d e ' } i n y o u r W e b p a c k c o n f i g t o i n d i c a t e a s e r v e r - r e n d e r i n g e n v i r o n m e n t . " ) ; v a r i = { } , a = o & & ( d o c u m e n t . h e a d | | d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( " h e a d " ) [ 0 ] ) , s = n u l l , c = 0 , l = ! 1 , A = f u n c t i o n ( ) { } , u = n u l l , d = " u n d e f i n e d " ! = t y p e o f n a v i g a t o r & & / m s i e [ 6 - 9 ] \ b / . t e s t ( n a v i g a t o r . u s e r A g e n t . t o L o w e r C a s e ( ) ) ; f u n c t i o n p ( e , t , n , o ) { l = n , u = o | | { } ; v a r a = r ( e , t ) ; r e t u r n f ( a ) , f u n c t i o n ( t ) { f o r ( v a r n = [ ] , o = 0 ; o < a . l e n g t h ; o + + ) { v a r s = a [ o ] ; ( c = i [ s . i d ] ) . r e f s - - , n . p u s h ( c ) } t ? f ( a = r ( e , t ) ) : a = [ ] ; f o r ( o = 0 ; o < n . l e n g t h ; o + + ) { v a r c ; i f ( 0 = = = ( c = n [ o ] ) . r e f s ) { f o r ( v a r l = 0 ; l < c . p a r t s . l e n g t h ; l + + ) c . p a r t s [ l ] ( ) ; d e l e t e i [ c . i d ] } } } } f u n c t i o n f ( e ) { f o r ( v a r t = 0 ; t < e . l e n g t h ; t + + ) { v a r n = e [ t ] , r = i [ n . i d ] ; i f ( r ) { r . r e f s + + ; f o r ( v a r o = 0 ; o < r . p a r t s . l e n g t h ; o + + ) r . p a r t s [ o ] ( n . p a r t s [ o ] ) ; f o r ( ; o < n . p a r t s . l e n g t h ; o + + ) r . p a r t s . p u s h ( h ( n . p a r t s [ o ] ) ) ; r . p a r t s . l e n g t h > n . p a r t s . l e n g t h & & ( r . p a r t s . l e n g t h = n . p a r t s . l e n g t h ) } e l s e { v a r a = [ ] ; f o r ( o = 0 ; o < n . p a r t s . l e n g t h ; o + + ) a . p u s
2019-12-08 05:15:53 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
2019-10-28 09:46:16 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2019-10-28 09:46:16 +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-05-14 12:38:03 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "e1f55ce" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , t . default = r . VTooltip } , 2 : function ( e , t , n ) { "use strict" ; function r ( e , t ) { for ( var n = [ ] , r = { } , o = 0 ; o < t . length ; o ++ ) { var i = t [ o ] , a = i [ 0 ] , s = { id : e + ":" + o , css : i [ 1 ] , media : i [ 2 ] , sourceMap : i [ 3 ] } ; r [ a ] ? r [ a ] . parts . push ( s ) : n . push ( r [ a ] = { id : a , parts : [ s ] } ) } return n } n . r ( t ) , n . d ( t , "default" , ( function ( ) { return p } ) ) ; var o = "undefined" != typeof document ; if ( "undefined" != typeof DEBUG && DEBUG && ! o ) throw new Error ( "vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment." ) ; var i = { } , a = o && ( document . head || document . getElementsByTagName ( "head" ) [ 0 ] ) , s = null , c = 0 , l = ! 1 , A = function ( ) { } , u = null , d = "undefined" != typeof navigator && /msie [6-9]\b/ . test ( navigator . userAgent . toLowerCase ( ) ) ; function p ( e , t , n , o ) { l = n , u = o || { } ; var a = r ( e , t ) ; return f ( a ) , function ( t ) { for ( var n = [ ] , o = 0 ; o < a . length ; o ++ ) { var s = a [ o ] ; ( c = i [ s . id ] ) . refs -- , n . push ( c ) } for ( t ? f ( a = r ( e , t ) ) : a = [ ] , o = 0 ; o < n . length ; o ++ ) { var c ; if ( 0 === ( c = n [ o ] ) . refs ) { for ( var l = 0 ; l < c . parts . length ; l ++ ) c . parts [ l ] ( ) ; delete i [ c . id ] } } } } function f ( e ) { for ( var t = 0 ; t < e . length ; t ++ ) { var n = e [ t ] , r = i [ n . id ] ; if ( r ) { r . refs ++ ; for ( var o = 0 ; o < r . parts . length ; o ++ ) r . parts [ o ] ( n . parts [ o ] ) ; for ( ; o < n . parts . length ; o ++ ) r . parts . push ( h ( n . parts [ o ] ) ) ; r . parts . length > n . parts . length && ( r . parts . length = n . parts . length ) } else { var a = [ ] ; for ( o = 0 ; o < n . parts . length ; o ++ ) a . push ( h ( n . parts [ o ] ) ) ; i [ n . id ] = { id : n . id , refs : 1 , parts : a } } } } function m ( ) { var e = document . createElement ( "style" ) ; return e . type = "text/css" , a . appendChild ( e ) , e } function h ( e ) { var t , n , r = document . querySelector ( 'style[data-vue-ssr-id~="' + e . id + '"]' ) ; if ( r ) { if ( l ) return A ; r . parentNode . removeChild ( r ) } if ( d ) { var o = c ++ ; r = s || ( s = m ( ) ) , t = y . bind ( null , r , o , ! 1 ) , n = y . bind ( null , r , o , ! 0 ) } else r = m ( ) , t = b . bind ( null , r ) , n = function ( ) { r . parentNode . removeChild ( r ) } ; return t ( e ) , function ( r ) { if ( r ) { if ( r . css === e . css && r . media === e . media && r . sourceMap === e . sourceMap ) return ; t ( e = r ) } else n ( ) } } var g , v = ( g = [ ] , function ( e , t ) { return g [ e ] = t , g . filter ( Boolean ) . join ( "\n" ) } ) ; function y ( e , t , n , r ) { var o = n ? "" : r . css ; if ( e . styleSheet ) e . styleSheet . cssText = v ( t , o ) ; else { var i = document . createTextNode ( o ) , a = e . childNodes ; a [ t ] && e . removeChild ( a [ t ] ) , a . length ? e . insertBefore ( i , a [ t ] ) : e . appendChild ( i ) } } function b ( e , t ) { var n = t . css , r = t . media , o = t . sourceMap ; if ( r && e . setAttribute ( "media" , r ) , u . ssrId && e . setAttribute ( "data-vue-ssr-id" , t . id ) , o && ( n += "\n/*# sourceURL=" + o . sources [ 0 ] + " */" , n += "\n/*# sourceMappingURL=data:application/json;base64," + btoa ( unescape ( encodeURIComponent ( JSON . stringify ( o ) ) ) ) + " */" ) , e . styleSheet ) e . styleSheet . cssText = n ; else { for ( ; e . firstChild ; ) e . removeChild ( e . firstChild ) ; e . appendChild ( document . createTextNode ( n ) ) } } } , 3 : function ( e , t ) { e . exports = n ( 172 ) } , 40 : function ( e , t , n ) { var r = n ( 41 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "941c791e" , r , ! 0 , { } ) } , 41 : function ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . push ( [ e . i , " . vue - tooltip [ data - v - e1f55ce ] { position : absolute ; z - index : 100000 ; right : auto ; left : auto ; display : block ; margin : 0 ; margin - top : - 3 px ; padding : 10 px 0 ; text - align : left ; text - align : start ; white - space : normal ; text - decoration : none ; letter - spacing : normal ; word - spacing : normal ; text - transform : none ; word - wrap : normal ; word - break : normal ; opacity : 0 ; text - shadow : none ; font - family : 'Nunito' , 'Open Sans' , Frutiger , Calibri , 'Myriad Pro' , Myriad , sans - serif ; font - size : 12 px ; font - weight : normal ; font - style : normal ; line - height : 1.6 ; line - break : auto ; filter : drop - shadow ( 0 1 px 10 px var ( -- color - box - shadow ) ) } . vue - tooltip [ data - v - e1f55ce ] [ x - placement ^= 'top' ] . tooltip - arrow { bottom : 0 ; margin - top : 0 ; margin - bottom : 0 ; border - width : 10 px 10 px 0 10 px ; border - right - color : transparent ; border - bottom - color : transparent ; border - left - color : transparent } . vue - tooltip [ data - v - e1f55ce ] [ x - placement ^= 'bottom' ] . tooltip - arrow { top : 0 ; margin - top : 0 ; margin - bottom : 0 ; border - width : 0 10 px 10 px 10 px ; border - top - color : transparent ; border - right - color : transparent ; border - left - color : transparent } . vue - tooltip [ data - v - e1f55ce ] [ x - placement ^= 'right' ] . tooltip - arrow { right : 100 % ; margin - right : 0 ; margin - left :
/ * !
* escape - html
* Copyright ( c ) 2012 - 2013 TJ Holowaychuk
* Copyright ( c ) 2015 Andreas Lubbe
* Copyright ( c ) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
2020-06-04 11:52:03 +03:00
* /var r=/ [ "'&<>]/;e.exports=function(e){var t,n=" "+e,o=r.exec(n);if(!o)return n;var i=" ",a=0,s=0;for(a=o.index;a<n.length;a++){switch(n.charCodeAt(a)){case 34:t=" & quot ; ";break;case 38:t=" & amp ; ";break;case 39:t=" & # 39 ; ";break;case 60:t=" & lt ; ";break;case 62:t=" & gt ; ";break;default:continue}s!==a&&(i+=n.substring(s,a)),s=a+1,i+=t}return s!==a?i+n.substring(s,a):i}},function(e,t){var n=0,r=Math.random();e.exports=function(e){return" Symbol ( "+String(void 0===e?" ":e)+" ) _ "+(++n+r).toString(36)}},function(e,t,n){var r=n(94),o=n(65),i=r(" keys ");e.exports=function(e){return i[e]||(i[e]=o(e))}},function(e,t,n){var r=n(2),o=n(24),i=" ".split;e.exports=r((function(){return!Object(" z ").propertyIsEnumerable(0)}))?function(e){return" String "==o(e)?i.call(e," "):Object(e)}:Object},function(e,t,n){var r=n(2),o=/#|\.prototype\./,i=function(e,t){var n=s[a(e)];return n==l||n!=c&&(" function "==typeof t?r(t):!!t)},a=i.normalize=function(e){return String(e).replace(o," . ").toLowerCase()},s=i.data={},c=i.NATIVE=" N ",l=i.POLYFILL=" P ";e.exports=i},function(e,t,n){var r=n(2),o=n(0),i=n(101),a=o(" species ");e.exports=function(e){return i>=51||!r((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){" use strict ";var r=n(18),o=n(6),i=n(2),a=n(208),s=RegExp.prototype,c=s.toString,l=i((function(){return" / a / b "!=c.call({source:" a ",flags:" b "})})),A=" toString "!=c.name;(l||A)&&r(RegExp.prototype," toString ",(function(){var e=o(this),t=String(e.source),n=e.flags;return" / "+t+" / "+String(void 0===n&&e instanceof RegExp&&!(" flags "in s)?a.call(e):n)}),{unsafe:!0})},function(e,t,n){" use strict ";var r=n(7),o=n(2),i=n(81),a=n(4),s=n(27),c=n(20),l=n(102),A=n(100),u=n(69),d=n(0),p=n(101),f=d(" isConcatSpreadable "),m=p>=51||!o((function(){var e=[];return e[f]=!1,e.concat()[0]!==e})),h=u(" concat "),g=function(e){if(!a(e))return!1;var t=e[f];return void 0!==t?!!t:i(e)};r({target:" Array ",proto:!0,forced:!m||!h},{concat:function(e){var t,n,r,o,i,a=s(this),u=A(a,0),d=0;for(t=-1,r=arguments.length;t<r;t++)if(i=-1===t?a:arguments[t],g(i)){if(d+(o=c(i.length))>9007199254740991)throw TypeError(" Maximum allowed index exceeded ");for(n=0;n<o;n++,d++)n in i&&l(u,d,i[n])}else{if(d>=9007199254740991)throw TypeError(" Maximum allowed index exceeded ");l(u,d++,i)}return u.length=d,u}})},function(e,t){e.exports=function(e,t,n){if(!(e instanceof t))throw TypeError(" Incorrect "+(n?n+" ":" ")+" invocation ");return e}},function(e,t,n){window,e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){" undefined "!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:" Module "}),Object.defineProperty(e," _ _esModule ",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&" object "==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r," default ",{enumerable:!0,value:e}),2&t&&" string "!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t," a ",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p=" / dist / ",n(n.s=38)}([function(e,t,n){" use strict ";function r(e,t,n,r,o,i,a,s){var c,l=" function "==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),i&&(l._scopeId=" data - v - "+i),a?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||" undefined " == typeof _ _VUE _SSR _CONTEXT _ _ || ( e = _ _VUE _SSR _CONTEXT _ _ ) , o && o . call ( this , e ) , e && e . _registeredComponents && e . _registeredComponents . add ( a ) } , l . _ssrRegister = c ) : o && ( c = s ? function ( ) { o . call ( this , this . $root . $options . shadowRoot ) } : o ) , c ) if ( l . functional ) { l . _injectStyles = c ; var A = l . render ; l . render = function ( e , t ) { return c . call ( t ) , A ( e , t ) } } else { var u = l . beforeCreate ; l . beforeCreate = u ? [
2019-10-28 09:46:16 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
2019-10-28 09:46:16 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2019-10-28 09:46:16 +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-01-16 02:03:29 +03:00
* /
2020-06-04 11:52:03 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "e1f55ce" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , t . default = r . VTooltip } , function ( e , t ) { e . exports = n ( 206 ) } , function ( e , t ) { e . exports = n ( 109 ) } , , function ( e , t , n ) { "use strict" ; n ( 4 ) , n ( 21 ) , n ( 23 ) , n ( 30 ) , t . a = function ( e ) { return Math . random ( ) . toString ( 36 ) . replace ( /[^a-z]+/g , "" ) . substr ( 0 , e || 5 ) } } , , , , function ( e , t ) { e . exports = n ( 33 ) } , function ( e , t ) { e . exports = n ( 178 ) } , function ( e , t ) { e . exports = n ( 70 ) } , , function ( e , t ) { e . exports = n ( 71 ) } , , function ( e , t ) { e . exports = n ( 298 ) } , , function ( e , t , n ) { var r = n ( 67 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "640a212a" , r , ! 0 , { } ) } , function ( e , t ) { e . exports = n ( 46 ) } , function ( e , t , n ) { "use strict" ; n ( 25 ) , n ( 15 ) , n ( 65 ) , n ( 12 ) ; var r = n ( 5 ) , o = n . n ( r ) ; t . a = function ( e , t , n ) { if ( void 0 !== e ) for ( var r = e . length - 1 ; r >= 0 ; r -- ) { var i = e [ r ] , a = ! i . componentOptions && i . tag && - 1 === t . indexOf ( i . tag ) , s = ! ! i . componentOptions && "string" == typeof i . componentOptions . tag , c = s && - 1 === t . indexOf ( i . componentOptions . tag ) ; ( a || ! s || c ) && ( ( a || c ) && o . a . util . warn ( "" . concat ( a ? i . tag : i . componentOptions . tag , " is not allowed inside the " ) . concat ( n . $options . name , " component" ) , n ) , e . splice ( r , 1 ) ) } } } , , , , , , function ( e , t ) { } , function ( e , t , n ) { "use strict" ; n . r ( t ) ; var r = n ( 43 ) ;
2019-10-28 09:46:16 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-10-28 09:46:16 +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-06-04 11:52:03 +03:00
* / t . d e f a u l t = r . a } , , f u n c t i o n ( e , t , n ) { v a r r = n ( 4 1 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 9 4 1 c 7 9 1 e " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . p u s h ( [ e . i , " . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] { p o s i t i o n : a b s o l u t e ; z - i n d e x : 1 0 0 0 0 0 ; r i g h t : a u t o ; l e f t : a u t o ; d i s p l a y : b l o c k ; m a r g i n : 0 ; m a r g i n - t o p : - 3 p x ; p a d d i n g : 1 0 p x 0 ; t e x t - a l i g n : l e f t ; t e x t - a l i g n : s t a r t ; w h i t e - s p a c e : n o r m a l ; t e x t - d e c o r a t i o n : n o n e ; l e t t e r - s p a c i n g : n o r m a l ; w o r d - s p a c i n g : n o r m a l ; t e x t - t r a n s f o r m : n o n e ; w o r d - w r a p : n o r m a l ; w o r d - b r e a k : n o r m a l ; o p a c i t y : 0 ; t e x t - s h a d o w : n o n e ; f o n t - f a m i l y : ' N u n i t o ' , ' O p e n S a n s ' , F r u t i g e r , C a l i b r i , ' M y r i a d P r o ' , M y r i a d , s a n s - s e r i f ; f o n t - s i z e : 1 2 p x ; f o n t - w e i g h t : n o r m a l ; f o n t - s t y l e : n o r m a l ; l i n e - h e i g h t : 1 . 6 ; l i n e - b r e a k : a u t o ; f i l t e r : d r o p - s h a d o w ( 0 1 p x 1 0 p x v a r ( - - c o l o r - b o x - s h a d o w ) ) } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] [ x - p l a c e m e n t ^ = ' t o p ' ] . t o o l t i p - a r r o w { b o t t o m : 0 ; m a r g i n - t o p : 0 ; m a r g i n - b o t t o m : 0 ; b o r d e r - w i d t h : 1 0 p x 1 0 p x 0 1 0 p x ; b o r d e r - r i g h t - c o l o r : t r a n s p a r e n t ; b o r d e r - b o t t o m - c o l o r : t r a n s p a r e n t ; b o r d e r - l e f t - c o l o r : t r a n s p a r e n t } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] [ x - p l a c e m e n t ^ = ' b o t t o m ' ] . t o o l t i p - a r r o w { t o p : 0 ; m a r g i n - t o p : 0 ; m a r g i n - b o t t o m : 0 ; b o r d e r - w i d t h : 0 1 0 p x 1 0 p x 1 0 p x ; b o r d e r - t o p - c o l o r : t r a n s p a r e n t ; b o r d e r - r i g h t - c o l o r : t r a n s p a r e n t ; b o r d e r - l e f t - c o l o r : t r a n s p a r e n t } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] [ x - p l a c e m e n t ^ = ' r i g h t ' ] . t o o l t i p - a r r o w { r i g h t : 1 0 0 % ; m a r g i n - r i g h t : 0 ; m a r g i n - l e f t : 0 ; b o r d e r - w i d t h : 1 0 p x 1 0 p x 1 0 p x 0 ; b o r d e r - t o p - c o l o r : t r a n s p a r e n t ; b o r d e r - b o t t o m - c o l o r : t r a n s p a r e n t ; b o r d e r - l e f t - c o l o r : t r a n s p a r e n t } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] [ x - p l a c e m e n t ^ = ' l e f t ' ] . t o o l t i p - a r r o w { l e f t : 1 0 0 % ; m a r g i n - r i g h t : 0 ; m a r g i n - l e f t : 0 ; b o r d e r - w i d t h : 1 0 p x 0 1 0 p x 1 0 p x ; b o r d e r - t o p - c o l o r : t r a n s p a r e n t ; b o r d e r - r i g h t - c o l o r : t r a n s p a r e n t ; b o r d e r - b o t t o m - c o l o r : t r a n s p a r e n t } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] [ a r i a - h i d d e n = ' t r u e ' ] { v i s i b i l i t y : h i d d e n ; t r a n s i t i o n : o p a c i t y . 1 5 s , v i s i b i l i t y . 1 5 s ; o p a c i t y : 0 } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] [ a r i a - h i d d e n = ' f a l s e ' ] { v i s i b i l i t y : v i s i b l e ; t r a n s i t i o n : o p a c i t y . 1 5 s ; o p a c i t y : 1 } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] . t o o l t i p - i n n e r { m a x - w i d t h : 3 5 0 p x ; p a d d i n g : 5 p x 8 p x ; t e x t - a l i g n : c e n t e r ; c o l o r : v a r ( - - c o l o r - m a i n - t e x t ) ; b o r d e r - r a d i u s : v a r ( - - b o r d e r - r a d i u s ) ; b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - m a i n - b a c k g r o u n d ) } . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] . t o o l t i p - a r r o w { p o s i t i o n : a b s o l u t e ; z - i n d e x : 1 ; w i d t h : 0 ; h e i g h t : 0 ; m a r g i n : 0 ; b o r d e r - s t y l e : s o l i d ; b o r d e r - c o l o r : v a r ( - - c o l o r - m a i n - b a c k g r o u n d ) } \ n " , " " ] ) , e . e x p o r t s = t } , , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n ( 2 5 ) , n ( 4 6 ) , n ( 1 5 ) ; v a r r = n ( 1 4 ) , o = n ( 1 3 ) , i = n ( 1 7 ) , a = ( n ( 6 4 ) , f u n c t i o n ( e ) { v a r t = e . g e t B o u n d i n g C l i e n t R e c t ( ) , n = d o c u m e n t . d o c u m e n t E l e m e n t . c l i e n t H e i g h t , r = d o c u m e n t . d o c u m e n t E l e m e n t . c l i e n t W i d t h , o = O b j e c t . a s s i g n ( { } ) ; r e t u r n o . t o p = t . t o p < 0 , o . l e f t = t . l e f t < 0 , o . b o t t o m = t . b o t t o m > n , o . r i g h t = t . r i g h t > r , o . a n y = o . t o p | | o . l e f t | | o . b o t t o m | | o . r i g h t , o . a l l = o . t o p & & o . l e f t & & o . b o t t o m & & o . r i g h t , o . o f f s e t Y = o . t o p ? t . t o p : o . b o t t o m ? t . b o t t o m - n : 0 , o . o f f s e t X = o . l e f t ? t . l e f t : o . r i g h t ? t . r i g h t - r : 0 , o } ) , s = n ( 3 1 ) , c = n ( 6 ) , l = [ " A c t i o n B u t t o n " , " A c t i o n C h e c k b o x " , " A c t i o n I n p u t " , " A c t i o n L i n k " , " A c t i o n R a d i o " , " A c t i o n R o u t e r " , " A c t i o n S e p a r a t o r " , " A c t i o n T e x t " , " A c t i o n T e x t E d i t a b l e " ] , A = { n a m e : " A c t i o n s " , d i r e c t i v e s : { C l i c k O u t s i d e : r . d i r e c t i v e , t o o l t i p : o . d e f a u l t } , p r o p s : { o p e n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , f o r c e M e n u : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , m e n u A l i g n : { t y p e : S t r i n g , d e f a u l t : " c e n t e r " , v a l i d a t o r : f u n c t i o n ( e ) { 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 ( e ) > - 1 } } , d e f a u l t I c o n : { t y p e : S t r i n g , d e f a u l t : " a c t i o n - i t e m _ _ m e n u t o g g l e - - d e f a u l t - i c o n " } , a r i a L a b e l : { t y p e : S t r i n g , d e f a u l t : O b j e c t ( c . b ) ( " A c t i o n s " ) } } , d a t a : f u n c t i o n ( ) { r e t u r n { a c t i o n s : [ ] , o p e n e d : t h i s . o p e n , f o c u s I n d e x : 0 , r a n d o m I d : " m e n u - " + O b j e c t ( i . a ) ( ) , o f f s e t X : 0 , o f f s e t Y : 0 , o f f s e t Y A r r o w : 0 , r o t a t e A r r o w : ! 1 , c h i l d r e n : t h i s . $ c h i l d r e n } } , c o m p u t e d : { h a s M u l t i p l e A c t i o n s : f u n c t i o n ( ) { r e t u r n t h i s . a c t i o n s . l e n g t h > 1 } , i s V a l i d S i n g l e A c t i o n : f u n c t i o n ( ) { r e t u r n 1 = = = t h i s . a c t i o n s . l e n g t h & & n u l l ! = = t h i s . f i r s t A c t i o n E l e m e n t } , f i r s t A c t i o n V N o d e : f u n c t i o n ( ) { r e t u r n t h i s . a c t i o n s [ 0 ] } , f i r s t A c t i o n : f u n c t i o n ( ) { r e t u r n t h i s . c h i l d r e n [ 0 ] ? t h i s . c h i l d r e n [ 0 ] : { } } , f i r s t A c t i o n B i n d i n g : f u n c t i o n ( ) { i f ( t h i s . f i r s t A c t i o n V N o d e & & t h i s . f i r s t A c t i o n V N o d e . c o m p o n e n t O p t i o n s ) { v a r 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 a g ; i f ( " A c t i o n L i n k " = = = e ) 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 , " a r i a - l a b e l " : t h i s . f i r s t A c t i o n . a r i a L a b e l } ; i f ( " A c t i o n R o u t e r " = = = e ) 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
2019-10-28 09:46:16 +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-06-04 11:52:03 +03:00
* / t . d e f a u l t = c } , 1 2 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 5 2 ) } , 1 2 0 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 5 0 ) } , 1 4 8 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = n ( 5 6 ) ; n . n ( r ) . a } , 1 4 9 : f u n c t i o n ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . p u s h ( [ e . i , " l i . a c t i v e [ d a t a - v - 2 4 6 0 f b 7 7 ] { 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 - l i n k [ d a t a - v - 2 4 6 0 f b 7 7 ] { d i s p l a y : f l e x ; a l i g n - i t e m s : f l e x - s t a r t ; w i d t h : 1 0 0 % ; h e i g h t : a u t o ; m a r g i n : 0 ; p a d d i n g : 0 ; p a d d i n g - r i g h t : 1 4 p x ; c u r s o r : p o i n t e r ; w h i t e - s p a c e : n o w r a p ; o p a c i t y : . 7 ; c o l o r : v a r ( - - c o l o r - m a i n - t e x t ) ; b o r d e r : 0 ; b o r d e r - r a d i u s : 0 ; b a c k g r o u n d - c o l o r : t r a n s p a r e n t ; b o x - s h a d o w : n o n e ; f o n t - w e i g h t : n o r m a l ; l i n e - h e i g h t : 4 4 p x } . a c t i o n - l i n k [ d a t a - v - 2 4 6 0 f b 7 7 ] : h o v e r , . a c t i o n - l i n k [ d a t a - v - 2 4 6 0 f b 7 7 ] : f o c u s { o p a c i t y : 1 } . a c t i o n - l i n k > s p a n [ d a t a - v - 2 4 6 0 f b 7 7 ] { c u r s o r : p o i n t e r ; w h i t e - s p a c e : n o w r a p } . a c t i o n - l i n k _ _ i c o n [ d a t a - v - 2 4 6 0 f b 7 7 ] { w i d t h : 4 4 p x ; h e i g h t : 4 4 p x ; o p a c i t y : 1 ; b a c k g r o u n d - p o s i t i o n : 1 4 p x c e n t e r ; b a c k g r o u n d - s i z e : 1 6 p x } . a c t i o n - l i n k p [ d a t a - v - 2 4 6 0 f b 7 7 ] { w i d t h : 1 5 0 p x ; p a d d i n g : 7 p x 0 ; m a r g i n : a u t o ; c u r s o r : p o i n t e r ; t e x t - a l i g n : l e f t ; l i n e - h e i g h t : 1 . 6 e m } . a c t i o n - l i n k _ _ l o n g t e x t [ d a t a - v - 2 4 6 0 f b 7 7 ] { c u r s o r : p o i n t e r ; w h i t e - s p a c e : p r e - w r a p } . a c t i o n - l i n k _ _ t i t l e [ d a t a - v - 2 4 6 0 f b 7 7 ] { f o n t - w e i g h t : b o l d } \ n " , " " ] ) , e . e x p o r t s = t } , 1 5 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 1 0 9 ) } , 1 6 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n ( 1 2 ) , n ( 2 8 ) ; v a r r = n ( 5 ) , o = n . n ( r ) ;
2019-10-28 09:46:16 +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-06-04 11:52:03 +03:00
* / t . a = { b e f o r e : f u n c t i o n ( ) { t h i s . $ s l o t s . d e f a u l t & & " " ! = = t h i s . t e x t . t r i m ( ) | | ( o . a . u t i l . w a r n ( " " . c o n c a t ( t h i s . $ o p t i o n s . n a m e , " c a n n o t b e e m p t y a n d r e q u i r e s a m e a n i n g f u l t e x t c o n t e n t " ) , t h i s ) , t h i s . $ d e s t r o y ( ) , t h i s . $ e l . r e m o v e ( ) ) } , b e f o r e U p d a t e : f u n c t i o n ( ) { t h i s . t e x t = t h i s . g e t T e x t ( ) } , d a t a : f u n c t i o n ( ) { r e t u r n { t e x t : t h i s . g e t T e x t ( ) } } , c o m p u t e d : { i s L o n g T e x t : f u n c t i o n ( ) { r e t u r n t h i s . t e x t & & t h i s . t e x t . t r i m ( ) . l e n g t h > 2 0 } } , m e t h o d s : { g e t T e x t : f u n c t i o n ( ) { r e t u r n t h i s . $ s l o t s . d e f a u l t ? t h i s . $ s l o t s . d e f a u l t [ 0 ] . t e x t . t r i m ( ) : " " } } } } , 1 8 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 8 ) } , 1 9 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 6 ) } , 2 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; f u n c t i o n r ( e , t ) { f o r ( v a r n = [ ] , r = { } , o = 0 ; o < t . l e n g t h ; o + + ) { v a r i = t [ o ] , a = i [ 0 ] , s = { i d : e + " : " + o , c s s : i [ 1 ] , m e d i a : i [ 2 ] , s o u r c e M a p : i [ 3 ] } ; r [ a ] ? r [ a ] . p a r t s . p u s h ( s ) : n . p u s h ( r [ a ] = { i d : a , p a r t s : [ s ] } ) } r e t u r n n } n . r ( t ) , n . d ( t , " d e f a u l t " , ( f u n c t i o n ( ) { r e t u r n p } ) ) ; v a r o = " u n d e f i n e d " ! = t y p e o f d o c u m e n t ; i f ( " u n d e f i n e d " ! = t y p e o f D E B U G & & D E B U G & & ! o ) t h r o w n e w E r r o r ( " v u e - s t y l e - l o a d e r c a n n o t b e u s e d i n a n o n - b r o w s e r e n v i r o n m e n t . U s e { t a r g e t : ' n o d e ' } i n y o u r W e b p a c k c o n f i g t o i n d i c a t e a s e r v e r - r e n d e r i n g e n v i r o n m e n t . " ) ; v a r i = { } , a = o & & ( d o c u m e n t . h e a d | | d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( " h e a d " ) [ 0 ] ) , s = n u l l , c = 0 , l = ! 1 , A = f u n c t i o n ( ) { } , u = n u l l , d = " u n d e f i n e d " ! = t y p e o f n a v i g a t o r & & / m s i e [ 6 - 9 ] \ b / . t e s t ( n a v i g a t o r . u s e r A g e n t . t o L o w e r C a s e ( ) ) ; f u n c t i o n p ( e , t , n , o ) { l = n , u = o | | { } ; v a r a = r ( e , t ) ; r e t u r n f ( a ) , f u n c t i o n ( t ) { f o r ( v a r n = [ ] , o = 0 ; o < a . l e n g t h ; o + + ) { v a r s = a [ o ] ; ( c = i [ s . i d ] ) . r e f s - - , n . p u s h ( c ) } f o r ( t ? f ( a = r ( e , t ) ) : a = [ ] , o = 0 ; o < n . l e n g t h ; o + + ) { v a r c ; i f ( 0 = = = ( c = n [ o ] ) . r e f s ) { f o r ( v a r l = 0 ; l < c . p a r t s . l e n g t h ; l + + ) c . p a r t s [ l ] ( ) ; d e l e t e i [ c . i d ] } } } } f u n c t i o n f ( e ) { f o r ( v a r t = 0 ; t < e . l e n g t h ; t + + ) { v a r n = e [ t ] , r = i [ n . i d ] ; i f ( r ) { r . r e f s + + ; f o r ( v a r o = 0 ; o < r . p a r t s . l e n g t h ; o + + ) r . p a r t s [ o ] ( n . p a r t s [ o ] ) ; f o r ( ; o < n . p a r t s . l e n g t h ; o + + ) r . p a r t s . p u s h ( h ( n . p a r t s [ o ] ) ) ; r . p a r t s . l e n g t h > n . p a r t s . l e n g t h & & ( r . p a r t s . l e n g t h = n . p a r t s . l e n g t h ) } e l s e { v a r a = [ ] ; f o r ( o = 0 ; o < n . p a r t s . l e n g t h ; o + + ) a . p u s h ( h ( n . p a r t s [ o ] ) ) ; i [ n . i d ] = { i d : n . i d , r e f s : 1 , p a r t s : a } } } } f u n c t i o n m ( ) { v a r e = d o c u m e n t . c r e a t e E l e m e n t ( " s t y l e " ) ; r e t u r n e . t y p e = " t e x t / c s s " , a . a p p e n d C h i l d ( e ) , e } f u n c t i o n h ( e ) { v a r t , n , r = d o c u m e n t . q u e r y S e l e c t o r ( ' s t y l e [ d a t a - v u e - s s r - i d ~ = " ' + e . i d + ' " ] ' ) ; i f ( r ) { i f ( l ) r e t u r n A ; r . p a r e n t N o d e . r e m o v e C h i l d ( r ) } i f ( d ) { v a r o = c + + ; r = s | | ( s = m ( ) ) , t = y . b i n d ( n u l l , r , o , ! 1 ) , n = y . b i n d ( n u l l , r , o , ! 0 ) } e l s e r = m ( ) , t = b . b i n d ( n u l l , r ) , n = f u n c t i o n ( ) { r . p a r e n t N o d e . r e m o v e C h i l d ( r ) } ; r e t u r n t ( e ) , f u n c t i o n ( r ) { i f ( r ) { i f ( r . c s s = = = e . c s s & & r . m e d i a = = = e . m e d i a & & r . s o u r c e M a p = = = e . s o u r c e M a p ) r e t u r n ; t ( e = r ) } e l s e n ( ) } } v a r g , v = ( g = [ ] , f u n c t i o n ( e , t ) { r e t u r n g [ e ] = t , g . f i l t e r ( B o o l e a n ) . j o i n ( " \ n " ) } ) ; f u n c t i o n y ( e , t , n , r ) { v a r o = n ? " " : r . c s s ; i f ( e . s t y l e S h e e t ) e . s t y l e S h e e t . c s s T e x t = v ( t , o ) ; e l s e { v a r i = d o c u m e n t . c r e a t e T e x t N o d e ( o ) , a = e . c h i l d N o d e s ; a [ t ] & & e . r e m o v e C h i l d ( a [ t ] ) , a . l e n g t h ? e . i n s e r t B e f o r e ( i , a [ t ] ) : e . a p p e n d C h i l d ( i ) } } f u n c t i o n b ( e , t ) { v a r n = t . c s s , r = t . m e d i a , o = t . s o u r c e M a p ; i f ( r & & e . s e t A t t r i b u t e ( " m e d i a " , r ) , u . s s r I d & & e . s e t A t t r i b u t e ( " d a t a - v u e - s s r - i d " , t . i d ) , o & & ( n + = " \ n / * # s o u r c e U R L = " + o . s o u r c e s [ 0 ] + " * / " , n + = " \ n / * # s o u r c e M a p p i n g U R L = d a t a : a p p l i c a t i o n / j s o n ; b a s e 6 4 , " + b t o a ( u n e s c a p e ( e n c o d e U R I C o m p o n e n t ( J S O N . s t r i n g i f y ( o ) ) ) ) + " * / " ) , e . s t y l e S h e e t ) e . s t y l e S h e e t . c s s T e x t = n ; e l s e { f o r ( ; e . f i r s t C h i l d ; ) e . r e m o v e C h i l d ( e . f i r s t C h i l d ) ; e . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( n ) ) } } } , 2 0 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 4 8 ) } , 2 4 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 8 3 ) } , 2 6 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n ( 1 8 ) , n ( 4 ) , n ( 1 9 ) , n ( 2 0 ) , n ( 2 4 ) ; v a r r = n ( 1 6 ) , o = ( n ( 1 2 ) , f u n c t i o n ( e , t ) { f o r ( v a r n = e . $ p a r e n t ; n ; ) { i f ( n . $ o p t i o n s . n a m e = = = t ) r e t u r n n ; n = n . $ p a r e n t } } ) ; t . a = { m i x i n s : [ r . a ] , p r o p s : { i c o n : { t y p e : S t r i n g , d e f a u l t : " " } , t i t l e : { t y p e : S t r i n g , d e f a u l t : " " } , c l o s e A f t e r C l i c k : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , a r i a L a b e l : { t y p e : S t r i n g , d e f a u l t : " " } } , c o m p u t e d : { i s I c o n U r l : f u n c t i o n ( ) { t r y { r e t u r n n e w U R L ( t h i s . i c o n ) } c a t c h ( e ) { 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 ( e ) { i f ( t h i s . $ e m i t ( " c l i c k " , e ) , t h i s . c l o s e A f t e r C l i c k ) { v a r t = o ( t h i s , " A c t i o n s " ) ; t & & t . c l o s e M e n u & & t . c l o s e M e n u ( ) } } } } } , 2 8 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 8 4 ) } , 4 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 2 ) } , 5 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 1 4 ) } , 5 6 : f u n c t i o n ( e , t , n ) { v a r r = n ( 1 4 9 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 6 1 9 a e 6 0 e " , r , ! 0 , { } ) } , 7 9 : f u n c t i o n ( e , t ) { } } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 ) , o = n ( 7 5 ) , i = r [ " _ _ c o r e - j s _ s h a r e d _ _ " ] | | o ( " _ _ c o r e - j s _ s h a r e d _ _ " , { } ) ; e . e x p o r t s = i } , f u n c t i o n ( e , t , n ) { v a r r = n ( 9 ) , o
2019-10-28 09:46:16 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
2019-10-28 09:46:16 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2019-10-28 09:46:16 +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-06-04 11:52:03 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "e1f55ce" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , t . default = r . VTooltip } , function ( e , t ) { e . exports = n ( 206 ) } , function ( e , t ) { e . exports = n ( 109 ) } , , , function ( e , t ) { e . exports = n ( 28 ) } , function ( e , t ) { e . exports = n ( 36 ) } , function ( e , t ) { e . exports = n ( 48 ) } , function ( e , t ) { e . exports = n ( 33 ) } , function ( e , t ) { e . exports = n ( 178 ) } , function ( e , t ) { e . exports = n ( 70 ) } , function ( e , t ) { e . exports = n ( 83 ) } , function ( e , t ) { e . exports = n ( 71 ) } , , function ( e , t ) { e . exports = n ( 298 ) } , , , function ( e , t ) { e . exports = n ( 46 ) } , , function ( e , t , n ) { "use strict" ; var r = n ( 6 ) ; t . a = { methods : { n : r . a , t : r . b } } } , function ( e , t ) { e . exports = n ( 104 ) } , function ( e , t , n ) { var r = n ( 73 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "1f2ec49f" , r , ! 0 , { } ) } , function ( e , t , n ) { var r = n ( 75 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "9c561116" , r , ! 0 , { } ) } , function ( e , t , n ) { var r = n ( 77 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "93093140" , r , ! 0 , { } ) } , , , function ( e , t , n ) { var r = n ( 87 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "2e9b7708" , r , ! 0 , { } ) } , function ( e , t , n ) { var r = n ( 41 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "941c791e" , r , ! 0 , { } ) } , function ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . push ( [ e . i , ".vue-tooltip[data-v-e1f55ce]{position:absolute;z-index:100000;right:auto;left:auto;display:block;margin:0;margin-top:-3px;padding:10px 0;text-align:left;text-align:start;white-space:normal;text-decoration:none;letter-spacing:normal;word-spacing:normal;text-transform:none;word-wrap:normal;word-break:normal;opacity:0;text-shadow:none;font-family:'Nunito', 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;font-size:12px;font-weight:normal;font-style:normal;line-height:1.6;line-break:auto;filter:drop-shadow(0 1px 10px var(--color-box-shadow))}.vue-tooltip[data-v-e1f55ce][x-placement^='top'] .tooltip-arrow{bottom:0;margin-top:0;margin-bottom:0;border-width:10px 10px 0 10px;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e1f55ce][x-placement^='bottom'] .tooltip-arrow{top:0;margin-top:0;margin-bottom:0;border-width:0 10px 10px 10px;border-top-color:transparent;border-right-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e1f55ce][x-placement^='right'] .tooltip-arrow{right:100%;margin-right:0;margin-left:0;border-width:10px 10px 10px 0;border-top-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e1f55ce][x-placement^='left'] .tooltip-arrow{left:100%;margin-right:0;margin-left:0;border-width:10px 0 10px 10px;border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent}.vue-tooltip[data-v-e1f55ce][aria-hidden='true']{visibility:hidden;transition:opacity .15s, visibility .15s;opacity:0}.vue-tooltip[data-v-e1f55ce][aria-hidden='false']{visibility:visible;transition:opacity .15s;opacity:1}.vue-tooltip[data-v-e1f55ce] .tooltip-inner{max-width:350px;padding:5px 8px;text-align:center;color:var(--color-main-text);border-radius:var(--border-radius);background-color:var(--color-main-background)}.vue-tooltip[data-v-e1f55ce] .tooltip-arrow{position:absolute;z-index:1;width:0;height:0;margin:0;border-style:solid;border-color:var(--color-main-background)}\n" , "" ] ) , e . exports = t } , function ( e , t ) { } , , function ( e , t , n ) { "use strict" ;
2019-10-28 09:46:16 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-10-28 09:46:16 +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-05-14 12:38:03 +03:00
* / t . a = f u n c t i o n ( e ) { e . m o u n t e d ? A r r a y . i s A r r a y ( e . m o u n t e d ) | | ( e . m o u n t e d = [ e . m o u n t e d ] ) : e . m o u n t e d = [ ] , e . m o u n t e d . p u s h ( ( f u n c t i o n ( ) { t h i s . $ e l . s e t A t t r i b u t e ( " d a t a - v - " . c o n c a t ( " e 1 f 5 5 c e " ) , " " ) } ) ) } } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 6 4 ) } , , , , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ;
2019-12-08 05:15:53 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2020-04-10 13:01:29 +03:00
function r ( e , t , n ) { this . r = e , this . g = t , this . b = n } function o ( e , t , n ) { var o = [ ] ; o . push ( t ) ; for ( var i = function ( e , t ) { var n = new Array ( 3 ) ; return n [ 0 ] = ( t [ 1 ] . r - t [ 0 ] . r ) / e , n [ 1 ] = ( t [ 1 ] . g - t [ 0 ] . g ) / e , n [ 2 ] = ( t [ 1 ] . b - t [ 0 ] . b ) / e , n } ( e , [ t , n ] ) , a = 1 ; a < e ; a ++ ) { var s = parseInt ( t . r + i [ 0 ] * a , 10 ) , c = parseInt ( t . g + i [ 1 ] * a , 10 ) , l = parseInt ( t . b + i [ 2 ] * a , 10 ) ; o . push ( new r ( s , c , l ) ) } return o } n ( 25 ) , t . a = function ( e ) { e || ( e = 6 ) ; var t = new r ( 182 , 70 , 157 ) , n = new r ( 221 , 203 , 85 ) , i = new r ( 0 , 130 , 201 ) , a = o ( e , t , n ) , s = o ( e , n , i ) , c = o ( e , i , t ) ; return a . concat ( s ) . concat ( c ) } } , function ( e , t ) { } , function ( e , t , n ) { "use strict" ; n . r ( t ) , n ( 15 ) , n ( 18 ) , n ( 4 ) , n ( 23 ) , n ( 19 ) , n ( 20 ) , n ( 24 ) ; var 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 ( e ) { return ! e . input || - 1 !== [ "text" , "checkbox" ] . indexOf ( e . input ) } } } , computed : { key : function ( ) { return this . item . key ? this . item . key : Math . round ( 16 * Math . random ( ) * 1e6 ) . toString ( 16 ) } , iconIsUrl : function ( ) { try { return new URL ( this . item . icon ) , ! 0 } catch ( e ) { return ! 1 } } } , methods : { action : function ( e ) { this . item . action && this . item . action ( e ) } } } , o = ( n ( 72 ) , n ( 74 ) , n ( 0 ) ) , i = { name : "PopoverMenu" , components : { PopoverMenuItem : Object ( o . a ) ( r , ( function ( ) { var e = this , t = e . $createElement , n = e . _self . _c || t ; return n ( "li" , [ e . item . href ? n ( "a" , { staticClass : "focusable" , attrs : { href : e . item . href ? e . item . href : "#" , target : e . item . target ? e . item . target : "" , download : e . item . download , rel : "noreferrer noopener" } , on : { click : e . action } } , [ e . iconIsUrl ? n ( "img" , { attrs : { src : e . item . icon } } ) : n ( "span" , { class : e . item . icon } ) , e . _v ( " " ) , e . item . text && e . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ e . _v ( "\n\t\t\t\t" + e . _s ( e . item . text ) + "\n\t\t\t" ) ] ) , n ( "br" ) , e . _v ( " " ) , n ( "span" , { staticClass : "menuitem-text-detail" } , [ e . _v ( "\n\t\t\t\t" + e . _s ( e . item . longtext ) + "\n\t\t\t" ) ] ) ] ) : e . item . text ? n ( "span" , [ e . _v ( "\n\t\t\t" + e . _s ( e . item . text ) + "\n\t\t" ) ] ) : e . item . longtext ? n ( "p" , [ e . _v ( "\n\t\t\t" + e . _s ( e . item . longtext ) + "\n\t\t" ) ] ) : e . _e ( ) ] ) : e . item . input ? n ( "span" , { staticClass : "menuitem" , class : { active : e . item . active } } , [ "checkbox" !== e . item . input ? n ( "span" , { class : e . item . icon } ) : e . _e ( ) , e . _v ( " " ) , "text" === e . item . input ? n ( "form" , { class : e . item . input , on : { submit : function ( t ) { return t . preventDefault ( ) , e . item . action ( t ) } } } , [ n ( "input" , { attrs : { type : e . item . input , placeholder : e . item . text , required : "" } , domProps : { value : e . item . value } } ) , e . _v ( " " ) , n ( "input" , { staticClass : "icon-confirm" , attrs : { type : "submit" , value : "" } } ) ] ) : [ "checkbox" === e . item . input ? n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : e . item . model , expression : "item.model" } ] , class : e . item . input , attrs : { id : e . key , type : "checkbox" } , domProps : { checked : Array . isArray ( e . item . model ) ? e . _i ( e . item . model , null ) > - 1 : e . item . model } , on : { change : [ function ( t ) { var n = e . item . model , r = t . target , o = ! ! r . checked ; if ( Array . isArray ( n ) ) { var i = e . _i ( n , null ) ; r . checked ? i < 0 && e . $set ( e . item , "model" , n . concat ( [ null ] ) ) : i > - 1 && e . $set ( e . item , "model" , n . slice ( 0 , i ) . concat ( n . slice ( i + 1 ) ) ) } else e . $set ( e . item , "model" , o ) } , e . item . action ] } } ) : "radio" === e . item . input ? n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : e . item . model , expression : "item.model" } ] , class : e . item . input , attrs : { id : e . key , type : "radio" } , domProps : { checked : e . _q ( e . item . model , null ) } , on : { change : [ function ( t ) { return e . $set ( e . item , "model" , null ) } , e . item . action ] } } ) : n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : e . item . model , expression : "item.model" } ] , class : e . item . input , attrs : { id : e . key , type : e . item . input } , domProps : { value : e . item . model } , on : { change : e . item . action , input : function ( t ) { t . target . composing || e . $set ( e . item , "model" , t . target . value ) } } } ) , e . _v ( " " ) , n ( "label" , { attrs : { for : e . key } , on : { click : function ( t ) { return t . stopPropagation ( ) , t . preventDefault ( ) , e . item . action ( t ) } } } , [ e . _v ( "\n\t\t\t\t" + e . _s ( e . item . text ) + "\n\t\t\t" ) ] ) ] ] , 2 ) : e . item . action ? n ( "button" , { staticClass : "menuitem focusable" , class : { active : e . item . active } , attrs : { disabled : e . item . disabled } , on : { click : function ( t ) { return t . stopPropagation ( ) , t . preventDefault ( ) , e . item . action ( t ) } } } , [ n ( "span" , { class : e . item . icon } ) , e . _v ( " " ) , e . item . text && e . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ e . _v ( "\n\t\t\t\t" + e . _s ( e . item . text ) + "\n\t\t\t" ) ] ) , n ( " br
2019-10-28 09:46:16 +03:00
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* /t.default=l},function(e,t){e.exports=n(13)},function(e,t,n){"use strict";n.r(t),n(25),n(71),n(22),n(33),n(4),n(68),n(69);var r=n(14),o=n(51),i=n(52),a=n.n(i),s=n(13),c=(n(21),n(85),n(30),n(63)),l=n.n(c),A=n(49);function u(e,t,n,r,o,i,a){try{var s=e[i](a),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function d(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){u(i,r,o,a,s,"next",e)}function s(e){u(i,r,o,a,s,"throw",e)}a(void 0)}))}}var p={name:"Avatar",directives:{tooltip:s.default,ClickOutside:r.directive},components:{PopoverMenu:o.default},props:{url:{type:String,default:void 0},iconClass:{type:String,default:void 0},user:{type:String,default:void 0},isGuest:{type:Boolean,default:!1},displayName:{type:String,default:void 0},size:{type:Number,default:32},allowPlaceholder:{type:Boolean,default:!0},disableTooltip:{type:Boolean,default:!1},disableMenu:{type:Boolean,default:!1},tooltipMessage:{type:String,default:null},isNoUser:{type:Boolean,default:!1},status:{type:String,default:null,validator:function(e){switch(e){case"positive":case"negative":case"neutral":return!0}return!1}},statusColor:{type:[Number,String],default:null,validator:function(e){return/ ^ ( [ a - f0 - 9 ] { 3 } ) { 1 , 2 } $ / i . test ( e ) } } , menuPosition : { type : String , default : "center" } } , data : function ( ) { return { avatarUrlLoaded : null , avatarSrcSetLoaded : null , userDoesNotExist : ! 1 , isAvatarLoaded : ! 1 , isMenuLoaded : ! 1 , contactsMenuActions : [ ] , contactsMenuOpenState : ! 1 } } , computed : { getUserIdentifier : function ( ) { return this . isDisplayNameDefined ? this . displayName : this . isUserDefined ? this . user : "" } , isUserDefined : function ( ) { return void 0 !== this . user } , isDisplayNameDefined : function ( ) { return void 0 !== this . displayName } , isUrlDefined : function ( ) { return void 0 !== this . url } , hasMenu : function ( ) { return ! this . disableMenu && ( this . isMenuLoaded ? this . menu . length > 0 : ! ( this . user === OC . getCurrentUser ( ) . uid || this . userDoesNotExist || this . url ) ) } , shouldShowPlaceholder : function ( ) { return this . allowPlaceholder && this . userDoesNotExist } , avatarStyle : function ( ) { var e = { width : this . size + "px" , height : this . size + "px" , lineHeight : this . size + "px" , fontSize : Math . round ( . 55 * this . size ) + "px" } ; if ( ! this . iconClass && ! this . avatarSrcSetLoaded ) { var t = function ( e ) { var t = e . toLowerCase ( ) ; return null === t . match ( /^([0-9a-f]{4}-?){8}$/ ) && ( t = l ( ) ( t ) ) , t = t . replace ( /[^0-9a-f]/g , "" ) , Object ( A . a ) ( 6 ) [ function ( e , t ) { for ( var n = 0 , r = [ ] , o = 0 ; o < e . length ; o ++ ) r . push ( parseInt ( e . charAt ( o ) , 16 ) % 16 ) ; for ( var i in r ) n += r [ i ] ; return parseInt ( parseInt ( n , 10 ) % 18 , 10 ) } ( t ) ] } ( this . getUserIdentifier ) ; e . backgroundColor = "rgb(" + t . r + ", " + t . g + ", " + t . b + ")" } return e } , tooltip : function ( ) { return ! this . disableTooltip && ( this . tooltipMessage ? this . tooltipMessage : this . displayName ) } , initials : function ( ) { return this . shouldShowPlaceholder ? this . getUserIdentifier . charAt ( 0 ) . toUpperCase ( ) : "?" } , menu : function ( ) { return this . contactsMenuActions . map ( ( function ( e ) { return { href : e . hyperlink , icon : e . icon , text : e . title } } ) ) } } , watch : { url : function ( ) { this . userDoesNotExist = ! 1 , this . loadAvatarUrl ( ) } , user : function ( ) { this . userDoesNotExist = ! 1 , this . isMenuLoaded = ! 1 , this . loadAvatarUrl ( ) } } , mounted : function ( ) { this . loadAvatarUrl ( ) } , methods : { toggleMenu : function ( ) { var e = this ; return d ( regeneratorRuntime . mark ( ( function t ( ) { return regeneratorRuntime . wrap ( ( function ( t ) { for ( ; ; ) switch ( t . prev = t . next ) { case 0 : if ( e . hasMenu ) { t . next = 2 ; break } return t . abrupt ( "return" ) ; case 2 : if ( e . contactsMenuOpenState ) { t . next = 5 ; break } return t . next = 5 , e . fetchContactsMenu ( ) ; case 5 : e . contactsMenuOpenState = ! e . contactsMenuOpenState ; case 6 : case "end" : return t . stop ( ) } } ) , t ) } ) ) ) ( ) } , closeMenu : function ( ) { this . contactsMenuOpenState = ! 1 } , fetchContactsMenu : function ( ) { var e = this ; return d ( regeneratorRuntime . mark ( ( function t ( ) { var n , r , o ; return regeneratorRuntime . wrap ( ( function ( t ) { for ( ; ; ) switch ( t . prev = t . next ) { case 0 : return t . prev = 0 , n = encodeURIComponent ( e . user ) , t . next = 4 , a . a . post ( OC . generateUrl ( "contactsmenu/findOne" ) , "shareType=0&shareWith=" . concat ( n ) ) ; case 4 : r = t . sent , o = r . data , e . contactsMenuActions = o . topAction ? [ o . topAction ] . concat ( o . actions ) : o . actions , t . next = 12 ; break ; case 9 : t . prev = 9 , t . t0 = t . catch ( 0 ) , e . contactsMenuOpenState = !
2019-10-28 09:46:16 +03:00
/ * *
* @ copyright Copyright ( c ) 2018 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-05-12 12:57:30 +03:00
* / t . d e f a u l t = v } , , , , , , , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 5 9 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 1 f 1 3 0 2 d 4 " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 6 1 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 2 e f b 1 6 e d " , r , ! 0 , { } ) } , , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 0 3 ) } , , , , , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 0 5 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 1 0 ) } , , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 6 4 ) } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = n ( 3 4 ) ; n . n ( r ) . a } , f u n c t i o n ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . p u s h ( [ e . i , " \ n b u t t o n . m e n u i t e m [ d a t a - v - 7 5 a b 8 8 6 e ] { \ 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 - 7 5 a b 8 8 6 e ] { \ 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 - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] { \ 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 - 7 5 a b 8 8 6 e ] { \ 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 " , " " ] ) , e . e x p o r t s = t } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = n ( 3 5 ) ; n . n ( r ) . a } , f u n c t i o n ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . p u s h ( [ e . i , " l i [ d a t a - v - 7 5 a b 8 8 6 e ] { 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 - 7 5 a b 8 8 6 e ] { d i s p l a y : n o n e } l i > b u t t o n [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > . m e n u i t e m [ d a t a - v - 7 5 a b 8 8 6 e ] { 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 - 7 5 a b 8 8 6 e ] , 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 - 7 5 a b 8 8 6 e ] , l i > b u t t o n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > b u t t o n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , 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 - 7 5 a b 8 8 6 e ] , 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 - 7 5 a b 8 8 6 e ] , l i > . m e n u i t e m [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > . m e n u i t e m [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] { 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 - 7 5 a b 8 8 6 e ] , 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 - 7 5 a b 8 8 6 e ] , l i > a s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , 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 - 7 5 a b 8 8 6 e ] , 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 - 7 5 a b 8 8 6 e ] { 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 - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] , l i > b u t t o n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > . m e n u i t e m [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > . m e n u i t e m [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] { 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 - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] : 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 - 7 5 a b 8 8 6 e ] , l i > a [ d a t a - v - 7 5 a b 8 8 6 e ] : n o t ( : d i s a b l e d ) : h o v e r , l i > a [ d a t a - v - 7 5 a b 8 8 6 e ] : n o t ( : d i s a b l e d ) : f o c u
2019-10-28 09:46:16 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-10-28 09:46:16 +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-06-04 11:52:03 +03:00
Object ( r . a ) ( T ) , t . default = T } , , , , , , , function ( e , t ) { e . exports = n ( 343 ) } , function ( e , t ) { e . exports = n ( 344 ) } , function ( e , t ) { e . exports = n ( 345 ) } , , function ( e , t ) { e . exports = n ( 347 ) } , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , function ( e , t ) { e . exports = n ( 348 ) } , function ( e , t ) { e . exports = n ( 349 ) } , function ( e , t , n ) { "use strict" ; var r = n ( 60 ) ; n . n ( r ) . a } , function ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . push ( [ e . i , ".option[data-v-808e3c40]{display:flex;align-items:center;width:100%;height:32px}.option__avatar[data-v-808e3c40]{flex:0 0 32px;width:32px;height:32px;margin-right:6px}.option__desc[data-v-808e3c40]{display:flex;flex:1 1;flex-direction:column;justify-content:center;min-width:0}.option__desc--lineone[data-v-808e3c40]{color:var(--color-text-light)}.option__desc--linetwo[data-v-808e3c40]{opacity:.7}.option__desc--lineone[data-v-808e3c40],.option__desc--linetwo[data-v-808e3c40]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.option__desc--lineone strong[data-v-808e3c40],.option__desc--linetwo strong[data-v-808e3c40]{font-weight:bold}.option__icon[data-v-808e3c40]{flex:0 0 44px;width:44px;height:44px;margin:-6px;opacity:.5;background-position:center;background-size:16px}\n" , "" ] ) , e . exports = t } , function ( e , t , n ) { "use strict" ; var r = n ( 61 ) ; n . n ( r ) . a } , function ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . push ( [ e . i , ".name-parts[data-v-2d5d34b0]{display:flex;max-width:100%}.name-parts__first[data-v-2d5d34b0]{overflow:hidden;text-overflow:ellipsis}.name-parts__first[data-v-2d5d34b0],.name-parts__last[data-v-2d5d34b0]{white-space:pre}.name-parts__first strong[data-v-2d5d34b0],.name-parts__last strong[data-v-2d5d34b0]{font-weight:bold}\n" , "" ] ) , e . exports = t } , function ( e , t , n ) { var r = n ( 163 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "b5985a26" , r , ! 0 , { } ) } , function ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . push ( [ e . i , " . multiselect [ data - v - e1f55ce ] { margin : 0 ; padding : 0 ! important ; display : inline - block ; min - width : 160 px ; position : relative ; background - color : var ( -- color - main - background ) } . multiselect [ data - v - e1f55ce ] : not ( . multiselect -- active ) . multiselect _ _single { position : absolute ; width : 100 % } . multiselect [ data - v - e1f55ce ] . multiselect -- active input . multiselect _ _input { opacity : 1 ! important ; cursor : text ! important ; border - radius : var ( -- border - radius ) var ( -- border - radius ) 0 0 } . multiselect [ data - v - e1f55ce ] . multiselect -- active . multiselect _ _limit { display : none } . multiselect [ data - v - e1f55ce ] . multiselect -- active . multiselect -- above input . multiselect _ _input { border - radius : 0 0 var ( -- border - radius ) var ( -- border - radius ) } . multiselect [ data - v - e1f55ce ] . multiselect -- disabled , . multiselect [ data - v - e1f55ce ] . multiselect -- disabled . multiselect _ _single { background - color : var ( -- color - background - dark ) ! important } . multiselect [ data - v - e1f55ce ] . icon - loading - small : : after { left : 100 % ; margin - left : - 24 px } . multiselect [ data - v - e1f55ce ] . multiselect _ _tags { display : flex ; flex - wrap : nowrap ; overflow : hidden ; border : 1 px solid var ( -- color - border - dark ) ; cursor : pointer ; position : relative ; border - radius : 3 px ; height : 34 px } . multiselect [ data - v - e1f55ce ] . multiselect _ _tags . multiselect _ _tags - wrap { align - items : center ; display : inline - flex ; overflow : hidden ; max - width : 100 % ; position : relative ; padding : 3 px 5 px ; flex - grow : 1 } . multiselect [ data - v - e1f55ce ] . multiselect _ _tags . multiselect _ _tags - wrap : empty ~ input . multiselect _ _input { opacity : 1 ! important } . multiselect [ data - v - e1f55ce ] . multiselect _ _tags . multiselect _ _tags - wrap : empty ~ input . multiselect _ _input + span : not ( . multiselect _ _single ) { display : none } . multiselect [ data - v - e1f55ce ] . multiselect _ _tags . multiselect _ _tags - wrap . multiselect _ _tag { flex : 1 0 0 ; line - height : 20 px ; padding : 1 px 5 px ; background - image : none ; color : var ( -- color - main - text ) ; border : 1 px solid var ( -- color - border - dark ) ; display : inline - flex ; align - items : center ; border - radius : 3 px ; min - width : 0 ; max - width : 50 % ; max - width : fit - content ; max - width : - moz - fit - content } . multiselect [ data - v - e1f55ce ] . multiselect _ _tags . multiselect _ _tags - wrap . multiselect _ _tag : only - child { flex : 0 1 auto } . multiselect [ data - v - e1f55ce ] . multiselect _ _tags . multiselect _ _tags - wrap . multiselect _ _tag : not ( : last - child ) { margin - right : 5 px } . multiselect [ data - v - e1f55ce ] . multiselect _ _tags . multiselect _ _tags - wrap . multiselect _ _tag > span { white - space : nowrap ; text - overflow : e
2019-10-28 09:46:16 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-10-28 09:46:16 +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-28 09:46:16 +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-06-04 11:52:03 +03:00
* / t . a = { b e f o r e : f u n c t i o n ( ) { t h i s . $ s l o t s . d e f a u l t & & " " ! = = t h i s . t e x t . t r i m ( ) | | ( o . a . u t i l . w a r n ( " " . c o n c a t ( t h i s . $ o p t i o n s . n a m e , " c a n n o t b e e m p t y a n d r e q u i r e s a m e a n i n g f u l t e x t c o n t e n t " ) , t h i s ) , t h i s . $ d e s t r o y ( ) , t h i s . $ e l . r e m o v e ( ) ) } , b e f o r e U p d a t e : f u n c t i o n ( ) { t h i s . t e x t = t h i s . g e t T e x t ( ) } , d a t a : f u n c t i o n ( ) { r e t u r n { t e x t : t h i s . g e t T e x t ( ) } } , c o m p u t e d : { i s L o n g T e x t : f u n c t i o n ( ) { r e t u r n t h i s . t e x t & & t h i s . t e x t . t r i m ( ) . l e n g t h > 2 0 } } , m e t h o d s : { g e t T e x t : f u n c t i o n ( ) { r e t u r n t h i s . $ s l o t s . d e f a u l t ? t h i s . $ s l o t s . d e f a u l t [ 0 ] . t e x t . t r i m ( ) : " " } } } } , 1 8 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 8 ) } , 1 9 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 6 ) } , 1 9 2 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) ; v a r r = { n a m e : " A c t i o n T e x t " , m i x i n s : [ n ( 2 6 ) . a ] } , o = ( n ( 2 0 4 ) , n ( 0 ) ) , i = O b j e c t ( o . a ) ( r , ( f u n c t i o n ( ) { v a r e = t h i s , t = e . $ c r e a t e E l e m e n t , n = e . _ s e l f . _ c | | t ; 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 " } , [ " " ! = = e . 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 : [ e . 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 " : e . i c o n ] , s t y l e : { b a c k g r o u n d I m a g e : e . i s I c o n U r l ? " u r l ( " + e . i c o n + " ) " : n u l l } } ) : e . _ e ( ) , e . _ v ( " " ) , e . 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 " } , [ e . _ v ( " \ n \ t \ t \ t \ t " + e . _ s ( e . t i t l e ) + " \ n \ t \ t \ t " ) ] ) , e . _ v ( " " ) , n ( " b r " ) , e . _ 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 : e . _ s ( e . t e x t ) } } ) ] ) : e . 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 : e . _ s ( e . 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 " } , [ e . _ v ( e . _ s ( e . t e x t ) ) ] ) , e . _ v ( " " ) , e . _ e ( ) ] , 2 ) ] ) } ) , [ ] , ! 1 , n u l l , " 7 e c b 1 5 7 c " , n u l l ) . e x p o r t s ; t . d e f a u l t = i } , 2 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; f u n c t i o n r ( e , t ) { f o r ( v a r n = [ ] , r = { } , o = 0 ; o < t . l e n g t h ; o + + ) { v a r i = t [ o ] , a = i [ 0 ] , s = { i d : e + " : " + o , c s s : i [ 1 ] , m e d i a : i [ 2 ] , s o u r c e M a p : i [ 3 ] } ; r [ a ] ? r [ a ] . p a r t s . p u s h ( s ) : n . p u s h ( r [ a ] = { i d : a , p a r t s : [ s ] } ) } r e t u r n n } n . r ( t ) , n . d ( t , " d e f a u l t " , ( f u n c t i o n ( ) { r e t u r n p } ) ) ; v a r o = " u n d e f i n e d " ! = t y p e o f d o c u m e n t ; i f ( " u n d e f i n e d " ! = t y p e o f D E B U G & & D E B U G & & ! o ) t h r o w n e w E r r o r ( " v u e - s t y l e - l o a d e r c a n n o t b e u s e d i n a n o n - b r o w s e r e n v i r o n m e n t . U s e { t a r g e t : ' n o d e ' } i n y o u r W e b p a c k c o n f i g t o i n d i c a t e a s e r v e r - r e n d e r i n g e n v i r o n m e n t . " ) ; v a r i = { } , a = o & & ( d o c u m e n t . h e a d | | d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( " h e a d " ) [ 0 ] ) , s = n u l l , c = 0 , l = ! 1 , A = f u n c t i o n ( ) { } , u = n u l l , d = " u n d e f i n e d " ! = t y p e o f n a v i g a t o r & & / m s i e [ 6 - 9 ] \ b / . t e s t ( n a v i g a t o r . u s e r A g e n t . t o L o w e r C a s e ( ) ) ; f u n c t i o n p ( e , t , n , o ) { l = n , u = o | | { } ; v a r a = r ( e , t ) ; r e t u r n f ( a ) , f u n c t i o n ( t ) { f o r ( v a r n = [ ] , o = 0 ; o < a . l e n g t h ; o + + ) { v a r s = a [ o ] ; ( c = i [ s . i d ] ) . r e f s - - , n . p u s h ( c ) } f o r ( t ? f ( a = r ( e , t ) ) : a = [ ] , o = 0 ; o < n . l e n g t h ; o + + ) { v a r c ; i f ( 0 = = = ( c = n [ o ] ) . r e f s ) { f o r ( v a r l = 0 ; l < c . p a r t s . l e n g t h ; l + + ) c . p a r t s [ l ] ( ) ; d e l e t e i [ c . i d ] } } } } f u n c t i o n f ( e ) { f o r ( v a r t = 0 ; t < e . l e n g t h ; t + + ) { v a r n = e [ t ] , r = i [ n . i d ] ; i f ( r ) { r . r e f s + + ; f o r ( v a r o = 0 ; o < r . p a r t s . l e n g t h ; o + + ) r . p a r t s [ o ] ( n . p a r t s [ o ] ) ; f o r ( ; o < n . p a r t s . l e n g t h ; o + + ) r . p a r t s . p u s h ( h ( n . p a r t s [ o ] ) ) ; r . p a r t s . l e n g t h > n . p a r t s . l e n g t h & & ( r . p a r t s . l e n g t h = n . p a r t s . l e n g t h ) } e l s e { v a r a = [ ] ; f o r ( o = 0 ; o < n . p a r t s . l e n g t h ; o + + ) a . p u s h ( h ( n . p a r t s [ o ] ) ) ; i [ n . i d ] = { i d : n . i d , r e f s : 1 , p a r t s : a } } } } f u n c t i o n m ( ) { v a r e = d o c u m e n t . c r e a t e E l e m e n t ( " s t y l e " ) ; r e t u r n e . t y p e = " t e x t / c s s " , a . a p p e n d C h i l d ( e ) , e } f u n c t i o n h ( e ) { v a r t , n , r = d o c u m e n t . q u e r y S e l e c t o r ( ' s t y l e [ d a t a - v u e - s s r - i d ~ = " ' + e . i d + ' " ] ' ) ; i f ( r ) { i f ( l ) r e t u r n A ; r . p a r e n t N o d e . r e m o v e C h i l d ( r ) } i f ( d ) { v a r o = c + + ; r = s | | ( s = m ( ) ) , t = y . b i n d ( n u l l , r , o , ! 1 ) , n = y . b i n d ( n u l l , r , o , ! 0 ) } e l s e r = m ( ) , t = b . b i n d ( n u l l , r ) , n = f u n c t i o n ( ) { r . p a r e n t N o d e . r e m o v e C h i l d ( r ) } ; r e t u r n t ( e ) , f u n c t i o n ( r ) { i f ( r ) { i f ( r . c s s = = = e . c s s & & r . m e d i a = = = e . m e d i a & & r . s o u r c e M a p = = = e . s o u r c e M a p ) r e t u r n ; t ( e = r ) } e l s e n ( ) } } v a r g , v = ( g = [ ] , f u n c t i o n ( e , t ) { r e t u r n g [ e ] = t , g . f i l t e r ( B o o l e a n ) . j o i n ( " \ n " ) } ) ; f u n c t i o n y ( e , t , n , r ) { v a r o = n ? " " : r . c s s ; i f ( e . s t y l e S h e e t ) e . s t y l e S h e e t . c s s T e x t = v ( t , o ) ; e l s e { v a r i = d o c u m e n t . c r e a t e T e x t N o d e ( o ) , a = e . c h i l d N o d e s ; a [ t ] & & e . r e m o v e C h i l d ( a [ t ] ) , a . l e n g t h ? e . i n s e r t B e f o r e ( i , a [ t ] ) : e . a p p e n d C h i l d ( i ) } } f u n c t i o n b ( e , t ) { v a r n = t . c s s , r = t . m e d i a , o = t . s o u r c e M a p ; i f ( r & & e . s e t A t t r i b u t e ( " m e d i a " , r ) , u . s s r I d & & e . s e t A t t r i b u t e ( " d a t a - v u e - s s r - i d " , t . i d ) , o & & ( n + = " \ n / * # s o u r c e U R L = " + o . s o u r c e s [ 0 ] + " * / " , n + = " \ n / * # s o u r c e M a p p i n g U R L = d a t a : a p p l i c a t i o n / j s o n ; b a s e 6 4 , " + b t o a ( u n e s c a p e ( e n c o d e U R I C o m p o n e n t ( J S O N . s t r i n g i f y ( o ) ) ) ) + " * / " ) , e . s t y l e S h e e t ) e . s t y l e S h e e t . c s s T e x t = n ; e l s e { f o r ( ; e . f i r s t C h i l d ; ) e . r e m o v e C h i l d ( e . f i r s t C h i l d ) ; e . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( n ) ) } } } , 2 0 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 4 8 ) } , 2 0 4 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = n ( 9 3 ) ; n . n ( r ) . a } , 2 0 5 : f u n c t i o n ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . p u s h ( [ e . i , " l i . a c t i v
2019-10-28 09:46:16 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-10-28 09:46:16 +03:00
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* /t.a={before:function(){this.$slots.default&&""!==this.text.trim()||(o.a.util.warn("".concat(this.$options.name," cannot be empty and requires a meaningful text content"),this),this.$destroy(),this.$el.remove())},beforeUpdate:function(){this.text=this.getText()},data:function(){return{text:this.getText()}},computed:{isLongText:function(){return this.text&&this.text.trim().length>20}},methods:{getText:function(){return this.$slots.default?this.$slots.default[0].text.trim():""}}}},17:function(e,t,n){"use strict";n(4),n(21),n(23),n(30),t.a=function(e){return Math.random().toString(36).replace(/ [ ^ a - z ] + / g , " " ) . s u b s t r ( 0 , e | | 5 ) } } , 1 7 5 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) , n ( 3 3 ) , n ( 2 8 ) ; v a r r = n ( 1 6 ) , o = n ( 1 7 ) , i = { n a m e : " A c t i o n C h e c k b o x " , m i x i n s : [ r . a ] , p r o p s : { i d : { t y p e : S t r i n g , d e f a u l t : f u n c t i o n ( ) { r e t u r n " a c t i o n - " + O b j e c t ( o . a ) ( ) } , v a l i d a t o r : f u n c t i o n ( e ) { r e t u r n " " ! = = e . 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 ( e ) { 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 ( e ) { 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 " , e ) , t h i s . $ r e f s . c h e c k b o x . c h e c k e d ? t h i s . $ e m i t ( " c h e c k " ) : t h i s . $ e m i t ( " u n c h e c k " ) } } } , a = ( n ( 1 9 6 ) , n ( 0 ) ) , s = n ( 1 3 1 ) , c = n . n ( s ) , l = O b j e c t ( a . a ) ( i , ( f u n c t i o n ( ) { v a r e = t h i s , t = e . $ c r e a t e E l e m e n t , n = e . _ s e l f . _ c | | t ; 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 " : e . 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 : e . i s F o c u s a b l e } , a t t r s : { i d : e . i d , d i s a b l e d : e . 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 : e . c h e c k e d , v a l u e : e . v a l u e } , o n : { k e y d o w n : f u n c t i o n ( t ) { r e t u r n ! t . t y p e . i n d e x O f ( " k e y " ) & & e . _ k ( t . k e y C o d e , " e n t e r " , 1 3 , t . k e y , " E n t e r " ) | | t . c t r l K e y | | t . s h i f t K e y | | t . a l t K e y | | t . m e t a K e y ? n u l l : ( t . p r e v e n t D e f a u l t ( ) , e . c h e c k I n p u t ( t ) ) } , c h a n g e : e . o n C h a n g e } } ) , e . _ 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 : e . i d } } , [ e . _ v ( e . _ s ( e . t e x t ) ) ] ) , e . _ v ( " " ) , e . _ e ( ) ] , 2 ) ] ) } ) , [ ] , ! 1 , n u l l , " 3 4 7 0 f 0 6 9 " , n u l l ) ; " f u n c t i o n " = = t y p e o f c . a & & c ( ) ( l ) ; v a r A = l . e x p o r t s ;
2019-10-28 09:46:16 +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-06-04 11:52:03 +03:00
* / t . d e f a u l t = A } , 1 9 6 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = n ( 8 9 ) ; n . n ( r ) . a } , 1 9 7 : f u n c t i o n ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . p u s h ( [ e . i , " l i . a c t i v e [ d a t a - v - 3 4 7 0 f 0 6 9 ] { b o x - s h a d o w : i n s e t 4 p x 0 v a r ( - - c o l o r - p r i m a r y ) } . a c t i o n - - d i s a b l e d [ d a t a - v - 3 4 7 0 f 0 6 9 ] { p o i n t e r - e v e n t s : n o n e ; o p a c i t y : . 5 } . a c t i o n - - d i s a b l e d [ d a t a - v - 3 4 7 0 f 0 6 9 ] : h o v e r , . a c t i o n - - d i s a b l e d [ d a t a - v - 3 4 7 0 f 0 6 9 ] : f o c u s { c u r s o r : d e f a u l t ; o p a c i t y : . 5 } . a c t i o n - - d i s a b l e d * [ d a t a - v - 3 4 7 0 f 0 6 9 ] { o p a c i t y : 1 ! i m p o r t a n t } . a c t i o n - c h e c k b o x [ d a t a - v - 3 4 7 0 f 0 6 9 ] { d i s p l a y : f l e x ; a l i g n - i t e m s : f l e x - s t a r t ; w i d t h : 1 0 0 % ; h e i g h t : a u t o ; m a r g i n : 0 ; p a d d i n g : 0 ; c u r s o r : p o i n t e r ; w h i t e - s p a c e : n o w r a p ; c o l o r : v a r ( - - c o l o r - m a i n - t e x t ) ; b o r d e r : 0 ; b o r d e r - r a d i u s : 0 ; b a c k g r o u n d - c o l o r : t r a n s p a r e n t ; b o x - s h a d o w : n o n e ; f o n t - w e i g h t : n o r m a l ; l i n e - h e i g h t : 4 4 p x } . a c t i o n - c h e c k b o x _ _ c h e c k b o x [ d a t a - v - 3 4 7 0 f 0 6 9 ] { p o s i t i o n : a b s o l u t e ; t o p : a u t o ; l e f t : - 1 0 0 0 0 p x ; o v e r f l o w : h i d d e n ; w i d t h : 1 p x ; h e i g h t : 1 p x } . a c t i o n - c h e c k b o x _ _ c h e c k b o x : f o c u s + . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - 3 4 7 0 f 0 6 9 ] { o p a c i t y : 1 } . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - 3 4 7 0 f 0 6 9 ] { d i s p l a y : f l e x ; a l i g n - i t e m s : c e n t e r ; w i d t h : 1 0 0 % ; p a d d i n g : 0 ! i m p o r t a n t ; p a d d i n g - r i g h t : 1 4 p x ! i m p o r t a n t ; o p a c i t y : . 7 } . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - 3 4 7 0 f 0 6 9 ] : : b e f o r e { m a r g i n : 0 1 4 p x 0 ! i m p o r t a n t } . a c t i o n - c h e c k b o x - - d i s a b l e d [ d a t a - v - 3 4 7 0 f 0 6 9 ] , . a c t i o n - c h e c k b o x - - d i s a b l e d . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - 3 4 7 0 f 0 6 9 ] { c u r s o r : p o i n t e r } . a c t i o n - c h e c k b o x : n o t ( . a c t i o n - c h e c k b o x - - d i s a b l e d ) : h o v e r . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - 3 4 7 0 f 0 6 9 ] , . a c t i o n - c h e c k b o x : n o t ( . a c t i o n - c h e c k b o x - - d i s a b l e d ) : f o c u s . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - 3 4 7 0 f 0 6 9 ] { o p a c i t y : 1 } \ n " , " " ] ) , e . e x p o r t s = t } , 2 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; f u n c t i o n r ( e , t ) { f o r ( v a r n = [ ] , r = { } , o = 0 ; o < t . l e n g t h ; o + + ) { v a r i = t [ o ] , a = i [ 0 ] , s = { i d : e + " : " + o , c s s : i [ 1 ] , m e d i a : i [ 2 ] , s o u r c e M a p : i [ 3 ] } ; r [ a ] ? r [ a ] . p a r t s . p u s h ( s ) : n . p u s h ( r [ a ] = { i d : a , p a r t s : [ s ] } ) } r e t u r n n } n . r ( t ) , n . d ( t , " d e f a u l t " , ( f u n c t i o n ( ) { r e t u r n p } ) ) ; v a r o = " u n d e f i n e d " ! = t y p e o f d o c u m e n t ; i f ( " u n d e f i n e d " ! = t y p e o f D E B U G & & D E B U G & & ! o ) t h r o w n e w E r r o r ( " v u e - s t y l e - l o a d e r c a n n o t b e u s e d i n a n o n - b r o w s e r e n v i r o n m e n t . U s e { t a r g e t : ' n o d e ' } i n y o u r W e b p a c k c o n f i g t o i n d i c a t e a s e r v e r - r e n d e r i n g e n v i r o n m e n t . " ) ; v a r i = { } , a = o & & ( d o c u m e n t . h e a d | | d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( " h e a d " ) [ 0 ] ) , s = n u l l , c = 0 , l = ! 1 , A = f u n c t i o n ( ) { } , u = n u l l , d = " u n d e f i n e d " ! = t y p e o f n a v i g a t o r & & / m s i e [ 6 - 9 ] \ b / . t e s t ( n a v i g a t o r . u s e r A g e n t . t o L o w e r C a s e ( ) ) ; f u n c t i o n p ( e , t , n , o ) { l = n , u = o | | { } ; v a r a = r ( e , t ) ; r e t u r n f ( a ) , f u n c t i o n ( t ) { f o r ( v a r n = [ ] , o = 0 ; o < a . l e n g t h ; o + + ) { v a r s = a [ o ] ; ( c = i [ s . i d ] ) . r e f s - - , n . p u s h ( c ) } f o r ( t ? f ( a = r ( e , t ) ) : a = [ ] , o = 0 ; o < n . l e n g t h ; o + + ) { v a r c ; i f ( 0 = = = ( c = n [ o ] ) . r e f s ) { f o r ( v a r l = 0 ; l < c . p a r t s . l e n g t h ; l + + ) c . p a r t s [ l ] ( ) ; d e l e t e i [ c . i d ] } } } } f u n c t i o n f ( e ) { f o r ( v a r t = 0 ; t < e . l e n g t h ; t + + ) { v a r n = e [ t ] , r = i [ n . i d ] ; i f ( r ) { r . r e f s + + ; f o r ( v a r o = 0 ; o < r . p a r t s . l e n g t h ; o + + ) r . p a r t s [ o ] ( n . p a r t s [ o ] ) ; f o r ( ; o < n . p a r t s . l e n g t h ; o + + ) r . p a r t s . p u s h ( h ( n . p a r t s [ o ] ) ) ; r . p a r t s . l e n g t h > n . p a r t s . l e n g t h & & ( r . p a r t s . l e n g t h = n . p a r t s . l e n g t h ) } e l s e { v a r a = [ ] ; f o r ( o = 0 ; o < n . p a r t s . l e n g t h ; o + + ) a . p u s h ( h ( n . p a r t s [ o ] ) ) ; i [ n . i d ] = { i d : n . i d , r e f s : 1 , p a r t s : a } } } } f u n c t i o n m ( ) { v a r e = d o c u m e n t . c r e a t e E l e m e n t ( " s t y l e " ) ; r e t u r n e . t y p e = " t e x t / c s s " , a . a p p e n d C h i l d ( e ) , e } f u n c t i o n h ( e ) { v a r t , n , r = d o c u m e n t . q u e r y S e l e c t o r ( ' s t y l e [ d a t a - v u e - s s r - i d ~ = " ' + e . i d + ' " ] ' ) ; i f ( r ) { i f ( l ) r e t u r n A ; r . p a r e n t N o d e . r e m o v e C h i l d ( r ) } i f ( d ) { v a r o = c + + ; r = s | | ( s = m ( ) ) , t = y . b i n d ( n u l l , r , o , ! 1 ) , n = y . b i n d ( n u l l , r , o , ! 0 ) } e l s e r = m ( ) , t = b . b i n d ( n u l l , r ) , n = f u n c t i o n ( ) { r . p a r e n t N o d e . r e m o v e C h i l d ( r ) } ; r e t u r n t ( e ) , f u n c t i o n ( r ) { i f ( r ) { i f ( r . c s s = = = e . c s s & & r . m e d i a = = = e . m e d i a & & r . s o u r c e M a p = = = e . s o u r c e M a p ) r e t u r n ; t ( e = r ) } e l s e n ( ) } } v a r g , v = ( g = [ ] , f u n c t i o n ( e , t ) { r e t u r n g [ e ] = t , g . f i l t e r ( B o o l e a n ) . j o i n ( " \ n " ) } ) ; f u n c t i o n y ( e , t , n , r ) { v a r o = n ? " " : r . c s s ; i f ( e . s t y l e S h e e t ) e . s t y l e S h e e t . c s s T e x t = v ( t , o ) ; e l s e { v a r i = d o c u m e n t . c r e a t e T e x t N o d e ( o ) , a = e . c h i l d N o d e s ; a [ t ] & & e . r e m o v e C h i l d ( a [ t ] ) , a . l e n g t h ? e . i n s e r t B e f o r e ( i , a [ t ] ) : e . a p p e n d C h i l d ( i ) } } f u n c t i o n b ( e , t ) { v a r n = t . c s s , r = t . m e d i a , o = t . s o u r c e M a p ; i f ( r & & e . s e t A t t r i b u t e ( " m e d i a " , r ) , u . s s r I d & & e . s e t A t t r i b u t e ( " d a t a - v u e - s s r - i d " , t . i d ) , o & & ( n + = " \ n / * # s o u r c e U R L = " + o . s o u r c e s [ 0 ] + " * / " , n + = " \ n / * # s o u r c e M a p p i n g U R L = d a t a : a p p l i c a t i o n / j s o n ; b a s e 6 4 , " + b t o a ( u n e s c a p e ( e n c o d e U R I C o m p o n e n t ( J S O N . s t r i n g i f y ( o ) ) ) ) + " * / " ) , e . s t y l e S h e e t ) e . s t y l e S h e e t . c s s T e x t = n ; e l s e { f o r ( ; e . f i r s t C h i l d ; ) e . r e m o v e C h i l d ( e . f i r s t C h i l d ) ; e . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( n ) ) } } } , 2 1 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 3 ) } , 2 3 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 7 0 ) } , 2 8 : f u n c t i o n ( e ,
2019-10-28 09:46:16 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-10-28 09:46:16 +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-12-08 05:15:53 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-10-28 09:46:16 +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-12-08 05:15:53 +03:00
* /
2020-06-04 11:52:03 +03:00
Object ( r . a ) ( A ) , t . default = A } , 12 : function ( e , t ) { e . exports = n ( 52 ) } , 124 : function ( e , t ) { e . exports = n ( 381 ) } , 132 : function ( e , t ) { } , 146 : function ( e , t , n ) { var r = n ( 147 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "600615ea" , r , ! 0 , { } ) } , 147 : function ( e , t , n ) { var r = n ( 1 ) , o = n ( 7 ) , i = n ( 8 ) , a = n ( 9 ) , s = n ( 10 ) , c = n ( 11 ) ; t = r ( ! 1 ) ; var l = o ( i ) , A = o ( a ) , u = o ( s ) , d = o ( c ) ; t . push ( [ e . i , '@font-face{font-family:"iconfont-vue-e1f55ce";src:url(' + l + ");src:url(" + l + ') format("embedded-opentype"),url(' + A + ') format("woff"),url(' + u + ') format("truetype"),url(' + d + ') format("svg")}.icon{font-style:normal;font-weight:400}.icon.arrow-left-double:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.arrow-left:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.arrow-right-double:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.arrow-right:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.breadcrumb:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.checkmark:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.close:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.confirm:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.info:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.menu:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.more:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.pause:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.play:before{font-family:"iconfont-vue-e1f55ce";content:""}.icon.triangle-s:before{font-family:"iconfont-vue-e1f55ce";content:""}.mx-icon-left:before,.mx-icon-right:before,.mx-icon-double-left:before,.mx-icon-double-right:before,.mx-icon-double-left:after,.mx-icon-double-right:after{content:\'\' ; position : relative ; top : - 1 px ; display : inline - block ; width : 10 px ; height : 10 px ; vertical - align : middle ; border - style : solid ; border - color : currentColor ; border - width : 2 px 0 0 2 px ; border - radius : 1 px ; box - sizing : border - box ; transform - origin : center ; transform : rotate ( - 45 deg ) scale ( 0.7 ) } . mx - icon - double - left : after { left : - 4 px } . mx - icon - double - right : before { left : 4 px } . mx - icon - right : before , . mx - icon - double - right : before , . mx - icon - double - right : after { transform : rotate ( 135 deg ) scale ( 0.7 ) } . mx - btn { box - sizing : border - box ; line - height : 1 ; font - size : 14 px ; font - weight : 500 ; padding : 7 px 15 px ; margin : 0 ; cursor : pointer ; background - color : transparent ; outline : none ; border : 1 px solid rgba ( 0 , 0 , 0 , 0.1 ) ; border - radius : 4 px ; color : # 73879 c ; white - space : nowrap } . mx - btn : hover { border - color : # 1284e7 ; color : # 1284e7 } . mx - btn - text { border : 0 ; padding : 0 4 px ; text - align : left ; line - height : inherit } . mx - scrollbar { height : 100 % } . mx - scrollbar : hover . mx - scrollbar - track { opacity : 1 } . mx - scrollbar - wrap { height : 100 % ; overflow - x : hidden ; overflow - y : auto } . mx - scrollbar - track { position : absolute ; top : 2 px ; right : 2 px ; bottom : 2 px ; width : 6 px ; z - index : 1 ; border - radius : 4 px ; opacity : 0 ; transition : opacity 0.24 s ease - out } . mx - scrollbar - track . mx - scrollbar - thumb { position : absolute ; width : 100 % ; height : 0 ; cursor : pointer ; border - radius : inherit ; background - color : rgba ( 144 , 147 , 153 , 0.3 ) ; transition : background - color 0.3 s } . mx - zoom - in - down - enter - active , . mx - zoom - in - down - leave - active { opacity : 1 ; transform : scaleY ( 1 ) ; transition : transform 0.3 s cubic - bezier ( 0.23 , 1 , 0.32 , 1 ) , opacity 0.3 s cubic - bezier ( 0.23 , 1 , 0.32 , 1 ) ; transform - origin : center top } . mx - zoom - in - down - enter , . mx - zoom - in - down - leave - to { opacity : 0 ; transform : scaleY ( 0 ) } . mx - datepicker { position : relative ; display : inline - block ; width : 210 px } . mx - datepicker svg { width : 1 em ; height : 1 em ; vertical - align : - 0.15 em ; fill : currentColor ; overflow : hidden } . mx - datepicker - range { width : 320 px } . mx - datepicker - inline { width : auto } . mx - input - wrapper { position : relative } . mx - input - wrapper . mx - icon - clear { display : none } . mx - input - wrapper : hover . mx - icon - clear { display : block } . mx - input - wrapper : hover . mx - icon - clear + . mx - icon - calendar { display : none } . mx - input { display : inline - block ; box - sizing : border - box ; width : 100 % ; height : 34 px ; padding : 6 px 30 px ; padding - left : 10 px ; font - size : 14 px ; line - height : 1.4 ; color : # 555 ; background - color : # fff ; border : 1 px solid # ccc ; border - radius : 4 px ; box - shadow : inset 0 1 px 1 px rgba ( 0 , 0 , 0 , 0.075 ) } . mx - input : hover , . mx - input : focus { border -
2019-10-28 09:46:16 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-10-28 09:46:16 +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-28 09:46:16 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-01 16:07:35 +03:00
* /t.a={before:function(){this.$slots.default&&""!==this.text.trim()||(o.a.util.warn("".concat(this.$options.name," cannot be empty and requires a meaningful text content"),this),this.$destroy(),this.$el.remove())},beforeUpdate:function(){this.text=this.getText()},data:function(){return{text:this.getText()}},computed:{isLongText:function(){return this.text&&this.text.trim().length>20}},methods:{getText:function(){return this.$slots.default?this.$slots.default[0].text.trim():""}}}},17:function(e,t,n){"use strict";n(4),n(21),n(23),n(30),t.a=function(e){return Math.random().toString(36).replace(/ [ ^ a - z ] + / g , " " ) . s u b s t r ( 0 , e | | 5 ) } } , 1 8 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 8 ) } , 1 8 1 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) , n ( 1 5 ) , n ( 1 8 ) , n ( 4 ) , n ( 1 9 ) , n ( 2 8 ) , n ( 2 0 ) , n ( 2 4 ) ; v a r r = n ( 1 6 ) , o = n ( 1 7 ) , i = { n a m e : " A c t i o n I n p u t " , c o m p o n e n t s : { D a t e t i m e P i c k e r : n ( 1 1 6 ) . d e f a u l t } , m i x i n s : [ r . a ] , p r o p s : { i d : { t y p e : S t r i n g , d e f a u l t : f u n c t i o n ( ) { r e t u r n " a c t i o n - " + O b j e c t ( o . a ) ( ) } , v a l i d a t o r : f u n c t i o n ( e ) { r e t u r n " " ! = = e . 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 ( e ) { 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 ( e ) > - 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 ( e ) { 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 ( e ) { t h i s . $ e m i t ( " i n p u t " , e ) , t h i s . $ e m i t ( " u p d a t e : v a l u e " , e . t a r g e t ? e . t a r g e t . v a l u e : e ) } , o n S u b m i t : f u n c t i o n ( e ) { i f ( e . p r e v e n t D e f a u l t ( ) , e . 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 " , e ) } , o n C h a n g e : f u n c t i o n ( e ) { t h i s . $ e m i t ( " c h a n g e " , e ) } } } , a = ( n ( 1 9 8 ) , n ( 0 ) ) , s = n ( 1 3 2 ) , c = n . n ( s ) , l = O b j e c t ( a . a ) ( i , ( f u n c t i o n ( ) { v a r e = t h i s , t = e . $ c r e a t e E l e m e n t , n = e . _ s e l f . _ c | | t ; 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 " : e . 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 " : e . 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 " : e . d i s a b l e d } , o n : { m o u s e l e a v e : e . 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 : [ e . 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 " : e . i c o n ] , s t y l e : { b a c k g r o u n d I m a g e : e . i s I c o n U r l ? " u r l ( " + e . i c o n + " ) " : n u l l } } ) , e . _ 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 : e . d i s a b l e d } , o n : { s u b m i t : f u n c t i o n ( t ) { r e t u r n t . p r e v e n t D e f a u l t ( ) , e . o n S u b m i t ( t ) } } } , [ e . 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 " , e . _ 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 : e . v a l u e , p l a c e h o l d e r : e . t e x t , d i s a b l e d : e . d i s a b l e d , t y p e : e . 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 : e . i s F o c u s a b l e } ] } , o n : { i n p u t : e . o n I n p u t , c h a n g e : e . o n C h a n g e } } , " D a t e t i m e P i c k e r " , e . $ 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 : e . i d , t y p e : " s u b m i t " } } ) , e . _ v ( " " ) , n ( " i n p u t " , e . _ 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 : e . i s F o c u s a b l e } , a t t r s : { t y p e : e . t y p e , p l a c e h o l d e r : e . t e x t , d i s a b l e d : e . d i s a b l e d } , d o m P r o p s : { v a l u e : e . v a l u e } , o n : { i n p u t : e . o n I n p u t , c h a n g e : e . o n C h a n g e } } , " i n p u t " , e . $ a t t r s , ! 1 ) ) , e . _ 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 : ! e . 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 : e . i d } } ) ] ] , 2 ) ] ) ] ) } ) , [ ] , ! 1 , n u l l , " 2 9 d e d 9 9 8 " , n u l l ) ; " f u n c t i o n " = = t y p e o f c . a & & c ( ) ( l ) ; v a r A = l . e x p o r t s ;
2019-10-28 09:46:16 +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-10-28 09:46:16 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-06-04 11:52:03 +03:00
* / t . d e f a u l t = A } , 1 9 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 6 ) } , 1 9 8 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = n ( 9 0 ) ; n . n ( r ) . a } , 1 9 9 : f u n c t i o n ( e , t , n ) { v a r r = n ( 1 ) , o = n ( 7 ) , i = n ( 8 ) , a = n ( 9 ) , s = n ( 1 0 ) , c = n ( 1 1 ) ; t = r ( ! 1 ) ; v a r l = o ( i ) , A = o ( a ) , u = o ( s ) , d = o ( c ) ; t . p u s h ( [ e . i , ' @ f o n t - f a c e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; s r c : u r l ( ' + l + " ) ; s r c : u r l ( " + l + ' ) f o r m a t ( " e m b e d d e d - o p e n t y p e " ) , u r l ( ' + A + ' ) f o r m a t ( " w o f f " ) , u r l ( ' + u + ' ) f o r m a t ( " t r u e t y p e " ) , u r l ( ' + d + ' ) f o r m a t ( " s v g " ) } . i c o n [ d a t a - v - 2 9 d e d 9 9 8 ] { f o n t - s t y l e : n o r m a l ; f o n t - w e i g h t : 4 0 0 } . i c o n . a r r o w - l e f t - d o u b l e [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . a r r o w - l e f t [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t - d o u b l e [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . b r e a d c r u m b [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . c h e c k m a r k [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . c l o s e [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . c o n f i r m [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . i n f o [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . m e n u [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . m o r e [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . p a u s e [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . p l a y [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . t r i a n g l e - s [ d a t a - v - 2 9 d e d 9 9 8 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } b u t t o n [ d a t a - v - 2 9 d e d 9 9 8 ] , i n p u t [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) , t e x t a r e a [ d a t a - v - 2 9 d e d 9 9 8 ] { m a r g i n : 0 ; p a d d i n g : 7 p x 6 p x ; c u r s o r : t e x t ; c o l o r : v a r ( - - c o l o r - t e x t - l i g h t e r ) ; b o r d e r : 1 p x s o l i d v a r ( - - c o l o r - b o r d e r - d a r k ) ; b o r d e r - r a d i u s : v a r ( - - b o r d e r - r a d i u s ) ; o u t l i n e : n o n e ; b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - m a i n - b a c k g r o u n d ) ; f o n t - s i z e : 1 3 p x } b u t t o n [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : h o v e r , b u t t o n [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : f o c u s , b u t t o n : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) . a c t i v e [ d a t a - v - 2 9 d e d 9 9 8 ] , i n p u t [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : h o v e r , i n p u t [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : f o c u s , i n p u t : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) . a c t i v e [ d a t a - v - 2 9 d e d 9 9 8 ] , t e x t a r e a [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : h o v e r , t e x t a r e a [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : f o c u s , t e x t a r e a : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) . a c t i v e [ d a t a - v - 2 9 d e d 9 9 8 ] { b o r d e r - c o l o r : v a r ( - - c o l o r - p r i m a r y - e l e m e n t ) ; o u t l i n e : n o n e } b u t t o n [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : a c t i v e , i n p u t [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : a c t i v e , t e x t a r e a [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : a c t i v e { c o l o r : v a r ( - - c o l o r - t e x t - l i g h t ) ; 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 ) } b u t t o n [ d a t a - v - 2 9 d e d 9 9 8 ] : d i s a b l e d , i n p u t [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) : d i s a b l e d , t e x t a r e a [ d a t a - v - 2 9 d e d 9 9 8 ] : d i s a b l e d { c u r s o r : d e f a u l t ; o p a c i t y : . 5 ; c o l o r : v a r ( - - c o l o r - t e x t - m a x c o n t r a s t ) ; b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - b a c k g r o u n d - d a r k ) } b u t t o n [ d a t a - v - 2 9 d e d 9 9 8 ] : r e q u i r e d , i n p u t [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) : r e q u i r e d , t e x t a r e a [ d a t a - v - 2 9 d e d 9 9 8 ] : r e q u i r e d { b o x - s h a d o w : n o n e } b u t t o n [ d a t a - v - 2 9 d e d 9 9 8 ] : i n v a l i d , i n p u t [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) : i n v a l i d , t e x t a r e a [ d a t a - v - 2 9 d e d 9 9 8 ] : i n v a l i d { b o r d e r - c o l o r : v a r ( - - c o l o r - e r r o r ) ; b o x - s h a d o w : n o n e ! i m p o r t a n t } b u t t o n . p r i m a r y [ d a t a - v - 2 9 d e d 9 9 8 ] , i n p u t : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) . p r i m a r y [ d a t a - v - 2 9 d e d 9 9 8 ] , t e x t a r e a . p r i m a r y [ d a t a - v - 2 9 d e d 9 9 8 ] { c u r s o r : p o i n t e r ; c o l o r : v a r ( - - c o l o r - p r i m a r y - t e x t ) ; b 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 ) ; b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - p r i m a r y - e l e m e n t ) } b u t t o n . p r i m a r y [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( : d i s a b l e d ) : h o v e r , b u t t o n . p r i m a r y [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( : d i s a b l e d ) : f o c u s , b u t t o n . p r i m a r y [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( : d i s a b l e d ) : a c t i v e , i n p u t : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) . p r i m a r y [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( : d i s a b l e d ) : h o v e r , i n p u t : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) . p r i m a r y [ d a t a - v - 2 9 d e d 9 9 8 ] : n o t ( : d i s a b l e d ) : f o c u s , i n p u t : n o t ( [ t y p e =
2019-10-28 09:46:16 +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-06-04 11:52:03 +03:00
* /t.a=function(e){e.mounted?Array.isArray(e.mounted)||(e.mounted=[e.mounted]):e.mounted=[],e.mounted.push((function(){this.$el.setAttribute("data-v-".concat("e1f55ce"),"")}))}},5:function(e,t){e.exports=n(14)},7:function(e,t,n){"use strict";e.exports=function(e,t){return t||(t={}),"string"!=typeof(e=e&&e.__esModule?e.default:e)?e:(/ ^ [ '"].*[' "]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/[" '() \t\n]/.test(e)||t.needQuotes?' "'.concat(e.replace(/" / g , '\\"' ) . replace ( /\n/g , "\\n" ) , '"' ) : e ) } } , 78 : function ( e , t ) { } , 8 : function ( e , t , n ) { "use strict" ; n . r ( t ) , t . default = " data : application / vnd . ms - fontobject ; base64 , 0 gsAAAgLAAABAAIAAAAAAAIABQMAAAAAAAABQJABAAAAAExQAAAAABAAAAAAAAAAAAAAAAAAAAEAAAAAoXF6QAAAAAAAAAAAAAAAAAAAAAAAACgAAGkAYwBvAG4AZgBvAG4AdAAtAHYAdQBlAC0AZQAxAGYANQA1AGMAZQAAAAAAABYAAFYAZQByAHMAaQBvAG4AIAAxAC4AMAAAKAAAaQBjAG8AbgBmAG8AbgB0AC0AdgB1AGUALQBlADEAZgA1ADUAYwBlAAAAAAABAAAACgCAAAMAIE9TLzJ044 + XAAAArAAAAGBjbWFwAA3rtAAAAQwAAAFCZ2x5ZvUXrnQAAAJQAAAEhGhlYWQnxdiqAAAG1AAAADZoaGVhJxwThQAABwwAAAAkaG10eGfe //8AAAcwAAAALGxvY2EHbghGAAAHXAAAACBtYXhwARwAVwAAB3wAAAAgbmFtZaKxgpwAAAecAAACpnBvc3TmiVqMAAAKRAAAAMQABBKUAZAABQAADGUNrAAAArwMZQ2sAAAJYAD1BQoAAAIABQMAAAAAAAAAAAAAEAAAAAAAAAAAAAAAUGZFZABA6gHqDhOIAAABwhOIAAAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQAAAAAAPAADAAEAAAAcAAQAIAAAAAQABAABAADqDv//AADqAf//FgAAAQAAAAAAAAEGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAOpg9DAAUACwAACQIRCQQRCQEOpvqCBX77ugRG+oL6ggV++7oERg9C+oL6ggE4BEYERgE4+oL6ggE4BEYERgABAAAAAA1uElAABQAACQERCQERBhsHU/d0CIwJxPit/sgIiwiM/scAAgAAAAAP3w9DAAUACwAACQIRCQQRCQEE4gV++oIERvu6BX4Ff/qBBEb7ugRGBX4Ffv7I+7r7uv7IBX4Ffv7I+7r7ugABAAAAAA6mElAABQAACQERCQERDW74rQiL93UJxAdTATn3dPd1ATgAAQAAAAAGNxOIAAUAABMHCQEXAZSUBXL6jpQFoxOIVfaR9pFVCcQAAAEAAAAAEYcPgwAFAAAJBQ/N9/P7+/5GBb8Jxw+D9/MEBf5H+kEJxgABAAAAABEXERcACwAACQsRF/3t+sD6wP3tBUD6wAITBUAFQAIT+sAEhP3tBUD6wAITBUAFQAIT+sAFQP3t+sAAAf//AAATkxLsADMAAAEiBw4BFxYXASEmBwYHBgcGFBcWFxYXFjchAQYHBhcWFx4BFxYXFjc2NwE2NzYnJicBLgEKYGVPSkYQEkgF1/HgTT46KScUFBQUJyk6Pk0OIPopNxoYAwMbGVY1Nzs+Oj81B+07FRUUFTz4Eyx0Euw5NKxZYEf6KgEbGC4sOTh4ODksLhgbAvopNT87Pjo3NlYZGgMDGBk4B+w8UVBPUjwH7C0yAAAAAgAAAAAOphJQABgARgAAASIHDgEHBhQXHgEXFjI3PgE3NjQnLgEnJgEiBwYHBhQXFhcWMyERISIHBgcGFBcWFxY3ITI3Njc2NCcmJyYjIRE0JyYnJiMJdm9mYpgpKyspmGJm3mZilyorKyqXYmb8NlZIRykrKylHSFYCcf2PVkhHKSsrKUdIVgdTVUhHKSsrKUdIVf2PKylHSVUSUCsql2Nl32VimCkrKymYYmXfZWOXKiv55SspR0irSEcpK/nmKylHSapJRykrASopR0mqSUcpKwdTVUhHKSsAAAMAAAAAERcRFwADAAcACwAAAREhEQERIREBESERAnEOpvFaDqbxWg6mERf9jwJx+eb9jwJx+eX9jwJxAAMAAAAAEp4L5wAYADEASgAAATIXHgEXFhQHDgEHBiInLgEnJjQ3PgE3NiEyFx4BFxYUBw4BBwYiJy4BJyY0Nz4BNzYhMhceARcWFAcOAQcGIicuAScmNDc+ATc2Aw1wZWKYKSsrKZhiZd9mYpcqKysql2JmByZvZmKXKisrKpdiZt5mYpcqKysql2JmByZvZmKXKisrKpdiZt9lYpgpKyspmGJlC+crKpdiZt5mYpcqKysql2Jm3mZilyorKyqXYmbeZmKXKisrKpdiZt5mYpcqKysql2Jm3mZilyorKyqXYmbeZmKXKisAAAAAAgAAAAAP3w/fAAMABwAAAREhESERIREDqgTiAnEE4g/f88sMNfPLDDUAAAABAAAAABEXERcAAgAACQICcQ6m8VoRF/it+K0AAQAAAAAOpgw1AAIAAAkCBOIE4gTiDDX7HgTgAAEAAAABAABAenGhXw889QALE4gAAAAA2rMoTgAAAADaYkxP//8AABOTE4gAAAAIAAIAAAAAAAAAAQAAE4gAAAAAE4j////1E5MAAQAAAAAAAAAAAAAAAAAAAAcAAAAAE4gAABOIAAATiAAAE4gAAAY2AAATiAAAAAD//wAAAAAAAAAAAAAAAAAAAAAAIgA2AFgAbACAAJQAtAEOAXwBmgIQAiYCNAJCAAEAAAAPAEsAAwAAAAAAAgAAAAoACgAAAP8AAAAAAAAAAAAQAMYAAQAAAAAAAQAUAAAAAQAAAAAAAgAHABQAAQAAAAAAAwAUABsAAQAAAAAABAAUAC8AAQAAAAAABQALAEMAAQAAAAAABgAUAE4AAQAAAAAACgArAGIAAQAAAAAACwATAI0AAwABBAkAAQAoAKAAAwABBAkAAgAOAMgAAwABBAkAAwAoANYAAwABBAkABAAoAP4AAwABBAkABQAWASYAAwABBAkABgAoATwAAwABBAkACgBWAWQAAwABBAkACwAmAbppY29uZm9udC12dWUtZTFmNTVjZVJlZ3VsYXJpY29uZm9udC12dWUtZTFmNTVjZWljb25mb250LXZ1ZS1lMWY1NWNlVmVyc2lvbiAxLjBpY29uZm9udC12dWUtZTFmNTVjZUdlbmVyYXRlZCBieSBzdmcydHRmIGZyb20gRm9udGVsbG8gcHJvamVjdC5odHRwOi8vZm9udGVsbG8uY29tAGkAYwBvAG4AZgBvAG4AdAAtAHYAdQBlAC0AZQAxAGYANQA1AGMAZQBSAGUAZwB1AGwAYQByAGkAYwBvAG4AZgBvAG4AdAAtAHYAdQBlAC0AZQAxAGYANQA1AGMAZQBpAGMAbwBuAGYAbwBuA
2019-10-28 09:46:16 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-10-28 09:46:16 +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-28 09:46:16 +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-06-04 11:52:03 +03:00
* /t.a={before:function(){this.$slots.default&&""!==this.text.trim()||(o.a.util.warn("".concat(this.$options.name," cannot be empty and requires a meaningful text content"),this),this.$destroy(),this.$el.remove())},beforeUpdate:function(){this.text=this.getText()},data:function(){return{text:this.getText()}},computed:{isLongText:function(){return this.text&&this.text.trim().length>20}},methods:{getText:function(){return this.$slots.default?this.$slots.default[0].text.trim():""}}}},17:function(e,t,n){"use strict";n(4),n(21),n(23),n(30),t.a=function(e){return Math.random().toString(36).replace(/ [ ^ a - z ] + / g , " " ) . s u b s t r ( 0 , e | | 5 ) } } , 1 8 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 8 ) } , 1 9 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 6 ) } , 1 9 1 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) , n ( 2 8 ) ; v a r r = n ( 2 6 ) , o = n ( 1 7 ) , i = { n a m e : " A c t i o n T e x t E d i t a b l e " , m i x i n s : [ r . a ] , p r o p s : { i d : { t y p e : S t r i n g , d e f a u l t : f u n c t i o n ( ) { r e t u r n " a c t i o n - " + O b j e c t ( o . a ) ( ) } , v a l i d a t o r : f u n c t i o n ( e ) { r e t u r n " " ! = = e . 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 ( e ) { t h i s . $ e m i t ( " i n p u t " , e ) , t h i s . $ e m i t ( " u p d a t e : v a l u e " , e . 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 ( e ) { i f ( e . p r e v e n t D e f a u l t ( ) , e . 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 " , e ) } } } , a = ( n ( 2 0 6 ) , n ( 0 ) ) , s = n ( 1 3 4 ) , c = n . n ( s ) , l = O b j e c t ( a . a ) ( i , ( f u n c t i o n ( ) { v a r e = t h i s , t = e . $ c r e a t e E l e m e n t , n = e . _ s e l f . _ c | | t ; 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 " : e . 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 : [ e . 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 " : e . i c o n ] , s t y l e : { b a c k g r o u n d I m a g e : e . i s I c o n U r l ? " u r l ( " + e . i c o n + " ) " : n u l l } } ) , e . _ 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 : e . d i s a b l e d } , o n : { s u b m i t : f u n c t i o n ( t ) { r e t u r n t . p r e v e n t D e f a u l t ( ) , e . o n S u b m i t ( t ) } } } , [ 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 : e . i d , t y p e : " s u b m i t " } } ) , e . _ v ( " " ) , e . 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 " } , [ e . _ v ( " \ n \ t \ t \ t \ t " + e . _ s ( e . t i t l e ) + " \ n \ t \ t \ t " ) ] ) : e . _ e ( ) , e . _ v ( " " ) , n ( " t e x t a r e a " , e . _ b ( { c l a s s : [ " a c t i o n - t e x t - e d i t a b l e _ _ t e x t a r e a " , { f o c u s a b l e : e . i s F o c u s a b l e } ] , a t t r s : { d i s a b l e d : e . d i s a b l e d } , d o m P r o p s : { v a l u e : e . v a l u e } , o n : { i n p u t : e . o n I n p u t } } , " t e x t a r e a " , e . $ a t t r s , ! 1 ) ) , e . _ 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 : ! e . d i s a b l e d , e x p r e s s i o n : " ! d i s a b l e d " } ] , s t a t i c C l a s s : " a c t i o n - t e x t - e d i t a b l e _ _ l a b e l " , a t t r s : { f o r : e . i d } } ) ] ) ] ) ] ) } ) , [ ] , ! 1 , n u l l , " 1 d 8 b c 6 3 a " , 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 A = l . e x p o r t s ;
2019-10-28 09:46:16 +03:00
/ * *
2019-12-08 05:15:53 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-10-28 09:46:16 +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-12-08 05:15:53 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-10-28 09:46:16 +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-06-04 11:52:03 +03:00
* / t . d e f a u l t = A } , 2 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; f u n c t i o n r ( e , t ) { f o r ( v a r n = [ ] , r = { } , o = 0 ; o < t . l e n g t h ; o + + ) { v a r i = t [ o ] , a = i [ 0 ] , s = { i d : e + " : " + o , c s s : i [ 1 ] , m e d i a : i [ 2 ] , s o u r c e M a p : i [ 3 ] } ; r [ a ] ? r [ a ] . p a r t s . p u s h ( s ) : n . p u s h ( r [ a ] = { i d : a , p a r t s : [ s ] } ) } r e t u r n n } n . r ( t ) , n . d ( t , " d e f a u l t " , ( f u n c t i o n ( ) { r e t u r n p } ) ) ; v a r o = " u n d e f i n e d " ! = t y p e o f d o c u m e n t ; i f ( " u n d e f i n e d " ! = t y p e o f D E B U G & & D E B U G & & ! o ) t h r o w n e w E r r o r ( " v u e - s t y l e - l o a d e r c a n n o t b e u s e d i n a n o n - b r o w s e r e n v i r o n m e n t . U s e { t a r g e t : ' n o d e ' } i n y o u r W e b p a c k c o n f i g t o i n d i c a t e a s e r v e r - r e n d e r i n g e n v i r o n m e n t . " ) ; v a r i = { } , a = o & & ( d o c u m e n t . h e a d | | d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( " h e a d " ) [ 0 ] ) , s = n u l l , c = 0 , l = ! 1 , A = f u n c t i o n ( ) { } , u = n u l l , d = " u n d e f i n e d " ! = t y p e o f n a v i g a t o r & & / m s i e [ 6 - 9 ] \ b / . t e s t ( n a v i g a t o r . u s e r A g e n t . t o L o w e r C a s e ( ) ) ; f u n c t i o n p ( e , t , n , o ) { l = n , u = o | | { } ; v a r a = r ( e , t ) ; r e t u r n f ( a ) , f u n c t i o n ( t ) { f o r ( v a r n = [ ] , o = 0 ; o < a . l e n g t h ; o + + ) { v a r s = a [ o ] ; ( c = i [ s . i d ] ) . r e f s - - , n . p u s h ( c ) } f o r ( t ? f ( a = r ( e , t ) ) : a = [ ] , o = 0 ; o < n . l e n g t h ; o + + ) { v a r c ; i f ( 0 = = = ( c = n [ o ] ) . r e f s ) { f o r ( v a r l = 0 ; l < c . p a r t s . l e n g t h ; l + + ) c . p a r t s [ l ] ( ) ; d e l e t e i [ c . i d ] } } } } f u n c t i o n f ( e ) { f o r ( v a r t = 0 ; t < e . l e n g t h ; t + + ) { v a r n = e [ t ] , r = i [ n . i d ] ; i f ( r ) { r . r e f s + + ; f o r ( v a r o = 0 ; o < r . p a r t s . l e n g t h ; o + + ) r . p a r t s [ o ] ( n . p a r t s [ o ] ) ; f o r ( ; o < n . p a r t s . l e n g t h ; o + + ) r . p a r t s . p u s h ( h ( n . p a r t s [ o ] ) ) ; r . p a r t s . l e n g t h > n . p a r t s . l e n g t h & & ( r . p a r t s . l e n g t h = n . p a r t s . l e n g t h ) } e l s e { v a r a = [ ] ; f o r ( o = 0 ; o < n . p a r t s . l e n g t h ; o + + ) a . p u s h ( h ( n . p a r t s [ o ] ) ) ; i [ n . i d ] = { i d : n . i d , r e f s : 1 , p a r t s : a } } } } f u n c t i o n m ( ) { v a r e = d o c u m e n t . c r e a t e E l e m e n t ( " s t y l e " ) ; r e t u r n e . t y p e = " t e x t / c s s " , a . a p p e n d C h i l d ( e ) , e } f u n c t i o n h ( e ) { v a r t , n , r = d o c u m e n t . q u e r y S e l e c t o r ( ' s t y l e [ d a t a - v u e - s s r - i d ~ = " ' + e . i d + ' " ] ' ) ; i f ( r ) { i f ( l ) r e t u r n A ; r . p a r e n t N o d e . r e m o v e C h i l d ( r ) } i f ( d ) { v a r o = c + + ; r = s | | ( s = m ( ) ) , t = y . b i n d ( n u l l , r , o , ! 1 ) , n = y . b i n d ( n u l l , r , o , ! 0 ) } e l s e r = m ( ) , t = b . b i n d ( n u l l , r ) , n = f u n c t i o n ( ) { r . p a r e n t N o d e . r e m o v e C h i l d ( r ) } ; r e t u r n t ( e ) , f u n c t i o n ( r ) { i f ( r ) { i f ( r . c s s = = = e . c s s & & r . m e d i a = = = e . m e d i a & & r . s o u r c e M a p = = = e . s o u r c e M a p ) r e t u r n ; t ( e = r ) } e l s e n ( ) } } v a r g , v = ( g = [ ] , f u n c t i o n ( e , t ) { r e t u r n g [ e ] = t , g . f i l t e r ( B o o l e a n ) . j o i n ( " \ n " ) } ) ; f u n c t i o n y ( e , t , n , r ) { v a r o = n ? " " : r . c s s ; i f ( e . s t y l e S h e e t ) e . s t y l e S h e e t . c s s T e x t = v ( t , o ) ; e l s e { v a r i = d o c u m e n t . c r e a t e T e x t N o d e ( o ) , a = e . c h i l d N o d e s ; a [ t ] & & e . r e m o v e C h i l d ( a [ t ] ) , a . l e n g t h ? e . i n s e r t B e f o r e ( i , a [ t ] ) : e . a p p e n d C h i l d ( i ) } } f u n c t i o n b ( e , t ) { v a r n = t . c s s , r = t . m e d i a , o = t . s o u r c e M a p ; i f ( r & & e . s e t A t t r i b u t e ( " m e d i a " , r ) , u . s s r I d & & e . s e t A t t r i b u t e ( " d a t a - v u e - s s r - i d " , t . i d ) , o & & ( n + = " \ n / * # s o u r c e U R L = " + o . s o u r c e s [ 0 ] + " * / " , n + = " \ n / * # s o u r c e M a p p i n g U R L = d a t a : a p p l i c a t i o n / j s o n ; b a s e 6 4 , " + b t o a ( u n e s c a p e ( e n c o d e U R I C o m p o n e n t ( J S O N . s t r i n g i f y ( o ) ) ) ) + " * / " ) , e . s t y l e S h e e t ) e . s t y l e S h e e t . c s s T e x t = n ; e l s e { f o r ( ; e . f i r s t C h i l d ; ) e . r e m o v e C h i l d ( e . f i r s t C h i l d ) ; e . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( n ) ) } } } , 2 0 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 4 8 ) } , 2 0 6 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = n ( 9 4 ) ; n . n ( r ) . a } , 2 0 7 : f u n c t i o n ( e , t , n ) { v a r r = n ( 1 ) , o = n ( 7 ) , i = n ( 8 ) , a = n ( 9 ) , s = n ( 1 0 ) , c = n ( 1 1 ) ; t = r ( ! 1 ) ; v a r l = o ( i ) , A = o ( a ) , u = o ( s ) , d = o ( c ) ; t . p u s h ( [ e . i , ' @ f o n t - f a c e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; s r c : u r l ( ' + l + " ) ; s r c : u r l ( " + l + ' ) f o r m a t ( " e m b e d d e d - o p e n t y p e " ) , u r l ( ' + A + ' ) f o r m a t ( " w o f f " ) , u r l ( ' + u + ' ) 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 - 1 d 8 b c 6 3 a ] { 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 - 1 d 8 b c 6 3 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . a r r o w - l e f t [ d a t a - v - 1 d 8 b c 6 3 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t - d o u b l e [ d a t a - v - 1 d 8 b c 6 3 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t [ d a t a - v - 1 d 8 b c 6 3 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . b r e a d c r u m b [ d a t a - v - 1 d 8 b c 6 3 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . c h e c k m a r k [ d a t a - v - 1 d 8 b c 6 3 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . c l o s e [ d a t a - v - 1 d 8 b c 6 3 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . c o n f i r m [ d a t a - v - 1 d 8 b c 6 3 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . i n f o [ d a t a - v - 1 d 8 b c 6 3 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . m e n u [ d a t a - v - 1 d 8 b c 6 3 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . m o r e [ d a t a - v - 1 d 8 b c 6 3 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . p a u s e [ d a t a - v - 1 d 8 b c 6 3 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 1 f 5 5 c e " ; c o n t e n t : " " } . i c o n . p l a y [ d a t a - v - 1 d 8 b c 6 3 a ] :
2019-12-08 05:15:53 +03:00
/ * * !
* @ fileOverview Kickass library to create and place poppers near their reference elements .
* @ version 1.15 . 0
* @ license
* Copyright ( c ) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted , free of charge , to any person obtaining a copy
* of this software and associated documentation files ( the "Software" ) , to deal
* in the Software without restriction , including without limitation the rights
* to use , copy , modify , merge , publish , distribute , sublicense , and / or sell
* copies of the Software , and to permit persons to whom the Software is
* furnished to do so , subject to the following conditions :
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software .
*
* THE SOFTWARE IS PROVIDED "AS IS" , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR
* IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY ,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER
* LIABILITY , WHETHER IN AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM ,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE .
* /
2020-06-04 11:52:03 +03:00
var n = "undefined" != typeof window && "undefined" != typeof document , r = [ "Edge" , "Trident" , "Firefox" ] , o = 0 , i = 0 ; i < r . length ; i += 1 ) if ( n && navigator . userAgent . indexOf ( r [ i ] ) >= 0 ) { o = 1 ; break } var a = n && window . Promise ? function ( e ) { var t = ! 1 ; return function ( ) { t || ( t = ! 0 , window . Promise . resolve ( ) . then ( ( function ( ) { t = ! 1 , e ( ) } ) ) ) } } : function ( e ) { var t = ! 1 ; return function ( ) { t || ( t = ! 0 , setTimeout ( ( function ( ) { t = ! 1 , e ( ) } ) , o ) ) } } ; function s ( e ) { return e && "[object Function]" === { } . toString . call ( e ) } function c ( e , t ) { if ( 1 !== e . nodeType ) return [ ] ; var n = e . ownerDocument . defaultView . getComputedStyle ( e , null ) ; return t ? n [ t ] : n } function l ( e ) { return "HTML" === e . nodeName ? e : e . parentNode || e . host } function A ( e ) { if ( ! e ) return document . body ; switch ( e . nodeName ) { case "HTML" : case "BODY" : return e . ownerDocument . body ; case "#document" : return e . body } var t = c ( e ) , n = t . overflow , r = t . overflowX , o = t . overflowY ; return /(auto|scroll|overlay)/ . test ( n + o + r ) ? e : A ( l ( e ) ) } var u = n && ! ( ! window . MSInputMethodContext || ! document . documentMode ) , d = n && /MSIE 10/ . test ( navigator . userAgent ) ; function p ( e ) { return 11 === e ? u : 10 === e ? d : u || d } function f ( e ) { if ( ! e ) return document . documentElement ; for ( var t = p ( 10 ) ? document . body : null , n = e . offsetParent || null ; n === t && e . nextElementSibling ; ) n = ( e = e . nextElementSibling ) . offsetParent ; var r = n && n . nodeName ; return r && "BODY" !== r && "HTML" !== r ? - 1 !== [ "TH" , "TD" , "TABLE" ] . indexOf ( n . nodeName ) && "static" === c ( n , "position" ) ? f ( n ) : n : e ? e . ownerDocument . documentElement : document . documentElement } function m ( e ) { return null !== e . parentNode ? m ( e . parentNode ) : e } function h ( e , t ) { if ( ! ( e && e . nodeType && t && t . nodeType ) ) return document . documentElement ; var n = e . compareDocumentPosition ( t ) & Node . DOCUMENT _POSITION _FOLLOWING , r = n ? e : t , o = n ? t : e , i = document . createRange ( ) ; i . setStart ( r , 0 ) , i . setEnd ( o , 0 ) ; var a , s , c = i . commonAncestorContainer ; if ( e !== c && t !== c || r . contains ( o ) ) return "BODY" === ( s = ( a = c ) . nodeName ) || "HTML" !== s && f ( a . firstElementChild ) !== a ? f ( c ) : c ; var l = m ( e ) ; return l . host ? h ( l . host , t ) : h ( e , m ( t ) . host ) } function g ( e ) { var t = arguments . length > 1 && void 0 !== arguments [ 1 ] ? arguments [ 1 ] : "top" , n = "top" === t ? "scrollTop" : "scrollLeft" , r = e . nodeName ; if ( "BODY" === r || "HTML" === r ) { var o = e . ownerDocument . documentElement , i = e . ownerDocument . scrollingElement || o ; return i [ n ] } return e [ n ] } function v ( e , t ) { var n = arguments . length > 2 && void 0 !== arguments [ 2 ] && arguments [ 2 ] , r = g ( t , "top" ) , o = g ( t , "left" ) , i = n ? - 1 : 1 ; return e . top += r * i , e . bottom += r * i , e . left += o * i , e . right += o * i , e } function y ( e , t ) { var n = "x" === t ? "Left" : "Top" , r = "Left" === n ? "Right" : "Bottom" ; return parseFloat ( e [ "border" + n + "Width" ] , 10 ) + parseFloat ( e [ "border" + r + "Width" ] , 10 ) } function b ( e , t , n , r ) { return Math . max ( t [ "offset" + e ] , t [ "scroll" + e ] , n [ "client" + e ] , n [ "offset" + e ] , n [ "scroll" + e ] , p ( 10 ) ? parseInt ( n [ "offset" + e ] ) + parseInt ( r [ "margin" + ( "Height" === e ? "Top" : "Left" ) ] ) + parseInt ( r [ "margin" + ( "Height" === e ? "Bottom" : "Right" ) ] ) : 0 ) } function x ( e ) { var t = e . body , n = e . documentElement , r = p ( 10 ) && getComputedStyle ( n ) ; return { height : b ( "Height" , t , n , r ) , width : b ( "Width" , t , n , r ) } } var w = function ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } , M = function ( ) { function e ( e , t ) { for ( var n = 0 ; n < t . length ; n ++ ) { var r = t [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( e , r . key , r ) } } return function ( t , n , r ) { return n && e ( t . prototype , n ) , r && e ( t , r ) , t } } ( ) , T = function ( e , t , n ) { return t in e ? Object . defineProperty ( e , t , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : e [ t ] = n , e } , E = Object . assign || function ( e ) { for ( var t = 1 ; t < arguments . length ; t ++ ) { var n = arguments [ t ] ; for ( var r in n ) Object . prototype . hasOwnProperty . call ( n , r ) && ( e [ r ] = n [ r ] ) } return e } ; function C ( e ) { return E ( { } , e , { right : e . left + e . width , bottom : e . top + e . height } ) } function I ( e ) { var t = { } ; try { if ( p ( 10 ) ) { t = e . getBoundingClientRect ( ) ; var n = g ( e , "top" ) , r = g ( e , "left" ) ; t . top += n , t . left += r , t . bottom += n , t . right += r } else t = e . getBoundingClientRect ( ) } catch ( e ) { } var o = { left : t . left , top : t . top , width : t . right - t . left , height : t . bottom - t . top } , i = "HTML" === e . nodeName ? x ( e . ownerDocument ) : { } , a = i . width || e . clientWidth || o . right - o . left , s = i . height || e . clientHeight || o . bottom - o . top , l = e . offsetWidth - a , A = e . offsetHeight - s ; if ( l || A ) { var u = c ( e ) ; l -= y ( u , "x" ) , A -= y ( u , "y" ) , o . width -= l , o . height -= A } return C ( o ) } function S ( e , t ) { var n = arguments . length > 2 && void 0 !== a
2019-10-28 09:46:16 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-04-10 13:01:29 +03:00
* /t.a={before:function(){this.$slots.default&&""!==this.text.trim()||(o.a.util.warn("".concat(this.$options.name," cannot be empty and requires a meaningful text content"),this),this.$destroy(),this.$el.remove())},beforeUpdate:function(){this.text=this.getText()},data:function(){return{text:this.getText()}},computed:{isLongText:function(){return this.text&&this.text.trim().length>20}},methods:{getText:function(){return this.$slots.default?this.$slots.default[0].text.trim():""}}}},17:function(e,t,n){"use strict";n(4),n(21),n(23),n(30),t.a=function(e){return Math.random().toString(36).replace(/ [ ^ a - z ] + / g , " " ) . s u b s t r ( 0 , e | | 5 ) } } , 1 9 4 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) , n ( 3 3 ) , n ( 2 8 ) ; v a r r = n ( 1 6 ) , o = n ( 1 7 ) , i = { n a m e : " A c t i o n R a d i o " , m i x i n s : [ r . a ] , p r o p s : { i d : { t y p e : S t r i n g , d e f a u l t : f u n c t i o n ( ) { r e t u r n " a c t i o n - " + O b j e c t ( o . a ) ( ) } , v a l i d a t o r : f u n c t i o n ( e ) { r e t u r n " " ! = = e . 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 ( e ) { 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 ( e ) { 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 " , e ) } } } , a = ( n ( 2 0 0 ) , n ( 0 ) ) , s = n ( 1 3 3 ) , c = n . n ( s ) , l = O b j e c t ( a . a ) ( i , ( f u n c t i o n ( ) { v a r e = t h i s , t = e . $ c r e a t e E l e m e n t , n = e . _ s e l f . _ c | | t ; 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 " : e . 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 : e . i s F o c u s a b l e } , a t t r s : { i d : e . i d , d i s a b l e d : e . d i s a b l e d , n a m e : e . 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 : e . c h e c k e d , v a l u e : e . v a l u e } , o n : { k e y d o w n : f u n c t i o n ( t ) { r e t u r n ! t . t y p e . i n d e x O f ( " k e y " ) & & e . _ k ( t . k e y C o d e , " e n t e r " , 1 3 , t . k e y , " E n t e r " ) | | t . c t r l K e y | | t . s h i f t K e y | | t . a l t K e y | | t . m e t a K e y ? n u l l : ( t . p r e v e n t D e f a u l t ( ) , e . t o g g l e I n p u t ( t ) ) } , c h a n g e : e . o n C h a n g e } } ) , e . _ 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 : e . i d } } , [ e . _ v ( e . _ s ( e . t e x t ) ) ] ) , e . _ v ( " " ) , e . _ e ( ) ] , 2 ) ] ) } ) , [ ] , ! 1 , n u l l , " 3 e 7 b 4 0 4 9 " , n u l l ) ; " f u n c t i o n " = = t y p e o f c . a & & c ( ) ( l ) ; v a r A = l . e x p o r t s ;
2019-10-28 09:46:16 +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-06-04 11:52:03 +03:00
* / t . d e f a u l t = A } , 2 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; f u n c t i o n r ( e , t ) { f o r ( v a r n = [ ] , r = { } , o = 0 ; o < t . l e n g t h ; o + + ) { v a r i = t [ o ] , a = i [ 0 ] , s = { i d : e + " : " + o , c s s : i [ 1 ] , m e d i a : i [ 2 ] , s o u r c e M a p : i [ 3 ] } ; r [ a ] ? r [ a ] . p a r t s . p u s h ( s ) : n . p u s h ( r [ a ] = { i d : a , p a r t s : [ s ] } ) } r e t u r n n } n . r ( t ) , n . d ( t , " d e f a u l t " , ( f u n c t i o n ( ) { r e t u r n p } ) ) ; v a r o = " u n d e f i n e d " ! = t y p e o f d o c u m e n t ; i f ( " u n d e f i n e d " ! = t y p e o f D E B U G & & D E B U G & & ! o ) t h r o w n e w E r r o r ( " v u e - s t y l e - l o a d e r c a n n o t b e u s e d i n a n o n - b r o w s e r e n v i r o n m e n t . U s e { t a r g e t : ' n o d e ' } i n y o u r W e b p a c k c o n f i g t o i n d i c a t e a s e r v e r - r e n d e r i n g e n v i r o n m e n t . " ) ; v a r i = { } , a = o & & ( d o c u m e n t . h e a d | | d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( " h e a d " ) [ 0 ] ) , s = n u l l , c = 0 , l = ! 1 , A = f u n c t i o n ( ) { } , u = n u l l , d = " u n d e f i n e d " ! = t y p e o f n a v i g a t o r & & / m s i e [ 6 - 9 ] \ b / . t e s t ( n a v i g a t o r . u s e r A g e n t . t o L o w e r C a s e ( ) ) ; f u n c t i o n p ( e , t , n , o ) { l = n , u = o | | { } ; v a r a = r ( e , t ) ; r e t u r n f ( a ) , f u n c t i o n ( t ) { f o r ( v a r n = [ ] , o = 0 ; o < a . l e n g t h ; o + + ) { v a r s = a [ o ] ; ( c = i [ s . i d ] ) . r e f s - - , n . p u s h ( c ) } f o r ( t ? f ( a = r ( e , t ) ) : a = [ ] , o = 0 ; o < n . l e n g t h ; o + + ) { v a r c ; i f ( 0 = = = ( c = n [ o ] ) . r e f s ) { f o r ( v a r l = 0 ; l < c . p a r t s . l e n g t h ; l + + ) c . p a r t s [ l ] ( ) ; d e l e t e i [ c . i d ] } } } } f u n c t i o n f ( e ) { f o r ( v a r t = 0 ; t < e . l e n g t h ; t + + ) { v a r n = e [ t ] , r = i [ n . i d ] ; i f ( r ) { r . r e f s + + ; f o r ( v a r o = 0 ; o < r . p a r t s . l e n g t h ; o + + ) r . p a r t s [ o ] ( n . p a r t s [ o ] ) ; f o r ( ; o < n . p a r t s . l e n g t h ; o + + ) r . p a r t s . p u s h ( h ( n . p a r t s [ o ] ) ) ; r . p a r t s . l e n g t h > n . p a r t s . l e n g t h & & ( r . p a r t s . l e n g t h = n . p a r t s . l e n g t h ) } e l s e { v a r a = [ ] ; f o r ( o = 0 ; o < n . p a r t s . l e n g t h ; o + + ) a . p u s h ( h ( n . p a r t s [ o ] ) ) ; i [ n . i d ] = { i d : n . i d , r e f s : 1 , p a r t s : a } } } } f u n c t i o n m ( ) { v a r e = d o c u m e n t . c r e a t e E l e m e n t ( " s t y l e " ) ; r e t u r n e . t y p e = " t e x t / c s s " , a . a p p e n d C h i l d ( e ) , e } f u n c t i o n h ( e ) { v a r t , n , r = d o c u m e n t . q u e r y S e l e c t o r ( ' s t y l e [ d a t a - v u e - s s r - i d ~ = " ' + e . i d + ' " ] ' ) ; i f ( r ) { i f ( l ) r e t u r n A ; r . p a r e n t N o d e . r e m o v e C h i l d ( r ) } i f ( d ) { v a r o = c + + ; r = s | | ( s = m ( ) ) , t = y . b i n d ( n u l l , r , o , ! 1 ) , n = y . b i n d ( n u l l , r , o , ! 0 ) } e l s e r = m ( ) , t = b . b i n d ( n u l l , r ) , n = f u n c t i o n ( ) { r . p a r e n t N o d e . r e m o v e C h i l d ( r ) } ; r e t u r n t ( e ) , f u n c t i o n ( r ) { i f ( r ) { i f ( r . c s s = = = e . c s s & & r . m e d i a = = = e . m e d i a & & r . s o u r c e M a p = = = e . s o u r c e M a p ) r e t u r n ; t ( e = r ) } e l s e n ( ) } } v a r g , v = ( g = [ ] , f u n c t i o n ( e , t ) { r e t u r n g [ e ] = t , g . f i l t e r ( B o o l e a n ) . j o i n ( " \ n " ) } ) ; f u n c t i o n y ( e , t , n , r ) { v a r o = n ? " " : r . c s s ; i f ( e . s t y l e S h e e t ) e . s t y l e S h e e t . c s s T e x t = v ( t , o ) ; e l s e { v a r i = d o c u m e n t . c r e a t e T e x t N o d e ( o ) , a = e . c h i l d N o d e s ; a [ t ] & & e . r e m o v e C h i l d ( a [ t ] ) , a . l e n g t h ? e . i n s e r t B e f o r e ( i , a [ t ] ) : e . a p p e n d C h i l d ( i ) } } f u n c t i o n b ( e , t ) { v a r n = t . c s s , r = t . m e d i a , o = t . s o u r c e M a p ; i f ( r & & e . s e t A t t r i b u t e ( " m e d i a " , r ) , u . s s r I d & & e . s e t A t t r i b u t e ( " d a t a - v u e - s s r - i d " , t . i d ) , o & & ( n + = " \ n / * # s o u r c e U R L = " + o . s o u r c e s [ 0 ] + " * / " , n + = " \ n / * # s o u r c e M a p p i n g U R L = d a t a : a p p l i c a t i o n / j s o n ; b a s e 6 4 , " + b t o a ( u n e s c a p e ( e n c o d e U R I C o m p o n e n t ( J S O N . s t r i n g i f y ( o ) ) ) ) + " * / " ) , e . s t y l e S h e e t ) e . s t y l e S h e e t . c s s T e x t = n ; e l s e { f o r ( ; e . f i r s t C h i l d ; ) e . r e m o v e C h i l d ( e . f i r s t C h i l d ) ; e . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( n ) ) } } } , 2 0 0 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = n ( 9 1 ) ; n . n ( r ) . a } , 2 0 1 : f u n c t i o n ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . p u s h ( [ e . i , " l i . a c t i v e [ d a t a - v - 3 e 7 b 4 0 4 9 ] { b o x - s h a d o w : i n s e t 4 p x 0 v a r ( - - c o l o r - p r i m a r y ) } . a c t i o n - - d i s a b l e d [ d a t a - v - 3 e 7 b 4 0 4 9 ] { p o i n t e r - e v e n t s : n o n e ; o p a c i t y : . 5 } . a c t i o n - - d i s a b l e d [ d a t a - v - 3 e 7 b 4 0 4 9 ] : h o v e r , . a c t i o n - - d i s a b l e d [ d a t a - v - 3 e 7 b 4 0 4 9 ] : f o c u s { c u r s o r : d e f a u l t ; o p a c i t y : . 5 } . a c t i o n - - d i s a b l e d * [ d a t a - v - 3 e 7 b 4 0 4 9 ] { o p a c i t y : 1 ! i m p o r t a n t } . a c t i o n - r a d i o [ d a t a - v - 3 e 7 b 4 0 4 9 ] { d i s p l a y : f l e x ; a l i g n - i t e m s : f l e x - s t a r t ; w i d t h : 1 0 0 % ; h e i g h t : a u t o ; m a r g i n : 0 ; p a d d i n g : 0 ; c u r s o r : p o i n t e r ; w h i t e - s p a c e : n o w r a p ; c o l o r : v a r ( - - c o l o r - m a i n - t e x t ) ; b o r d e r : 0 ; b o r d e r - r a d i u s : 0 ; b a c k g r o u n d - c o l o r : t r a n s p a r e n t ; b o x - s h a d o w : n o n e ; f o n t - w e i g h t : n o r m a l ; l i n e - h e i g h t : 4 4 p x } . a c t i o n - r a d i o _ _ r a d i o [ d a t a - v - 3 e 7 b 4 0 4 9 ] { p o s i t i o n : a b s o l u t e ; t o p : a u t o ; l e f t : - 1 0 0 0 0 p x ; o v e r f l o w : h i d d e n ; w i d t h : 1 p x ; h e i g h t : 1 p x } . a c t i o n - r a d i o _ _ r a d i o : f o c u s + . a c t i o n - r a d i o _ _ l a b e l [ d a t a - v - 3 e 7 b 4 0 4 9 ] { o p a c i t y : 1 } . a c t i o n - r a d i o _ _ l a b e l [ d a t a - v - 3 e 7 b 4 0 4 9 ] { d i s p l a y : f l e x ; a l i g n - i t e m s : c e n t e r ; w i d t h : 1 0 0 % ; p a d d i n g : 0 ! i m p o r t a n t ; p a d d i n g - r i g h t : 1 4 p x ! i m p o r t a n t ; o p a c i t y : . 7 } . a c t i o n - r a d i o _ _ l a b e l [ d a t a - v - 3 e 7 b 4 0 4 9 ] : : b e f o r e { m a r g i n : 0 1 4 p x 0 ! i m p o r t a n t } . a c t i o n - r a d i o - - d i s a b l e d [ d a t a - v - 3 e 7 b 4 0 4 9 ] , . a c t i o n - r a d i o - - d i s a b l e d . a c t i o n - r a d i o _ _ l a b e l [ d a t a - v - 3 e 7 b 4 0 4 9 ] { c u r s o r : p o i n t e r } . a c t i o n - r a d i o : n o t ( . a c t i o n - r a d i o - - d i s a b l e d ) : h o v e r . a c t i o n - r a d i o _ _ l a b e l [ d a t a - v - 3 e 7 b 4 0 4 9 ] , . a c t i o n - r a d i o : n o t ( . a c t i o n - r a d i o - - d i s a b l e d ) : f o c u s . a c t i o n - r a d i o _ _ l a b e l [ d a t a - v - 3 e 7 b 4 0 4 9 ] { o p a c i t y : 1 } \ n " , " " ] ) , e . e x p o r t s = t } , 2 1 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 3 ) } , 2 3 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 7 0 ) } , 2 8 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 8 4 ) } , 3 0 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 4 6
2020-01-14 12:10:53 +03:00
/ * !
* Determine if an object is a Buffer
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
* /
2020-06-04 11:52:03 +03:00
e . exports = function ( e ) { return null != e && ( n ( e ) || function ( e ) { return "function" == typeof e . readFloatLE && "function" == typeof e . slice && n ( e . slice ( 0 , 0 ) ) } ( e ) || ! ! e . _isBuffer ) } } , function ( e , t , n ) { var r = n ( 1 ) ; e . exports = r . Promise } , function ( e , t , n ) { var r , o , i , a , s , c , l , A , u = n ( 1 ) , d = n ( 53 ) . f , p = n ( 24 ) , f = n ( 307 ) . set , m = n ( 308 ) , h = u . MutationObserver || u . WebKitMutationObserver , g = u . process , v = u . Promise , y = "process" == p ( g ) , b = d ( u , "queueMicrotask" ) , x = b && b . value ; x || ( r = function ( ) { var e , t ; for ( y && ( e = g . domain ) && e . exit ( ) ; o ; ) { t = o . fn , o = o . next ; try { t ( ) } catch ( e ) { throw o ? a ( ) : i = void 0 , e } } i = void 0 , e && e . enter ( ) } , y ? a = function ( ) { g . nextTick ( r ) } : h && ! m ? ( s = ! 0 , c = document . createTextNode ( "" ) , new h ( r ) . observe ( c , { characterData : ! 0 } ) , a = function ( ) { c . data = s = ! s } ) : v && v . resolve ? ( l = v . resolve ( void 0 ) , A = l . then , a = function ( ) { A . call ( l , r ) } ) : a = function ( ) { f . call ( u , r ) } ) , e . exports = x || function ( e ) { var t = { fn : e , next : void 0 } ; i && ( i . next = t ) , o || ( o = t , a ( ) ) , i = t } } , function ( e , t , n ) { var r = n ( 6 ) , o = n ( 4 ) , i = n ( 309 ) ; e . exports = function ( e , t ) { if ( r ( e ) , o ( t ) && t . constructor === e ) return t ; var n = i . f ( e ) ; return ( 0 , n . resolve ) ( t ) , n . promise } } , function ( e , t , n ) { var r = n ( 1 ) ; e . exports = function ( e , t ) { var n = r . console ; n && n . error && ( 1 === arguments . length ? n . error ( e ) : n . error ( e , t ) ) } } , function ( e , t ) { e . exports = function ( e ) { try { return { error : ! 1 , value : e ( ) } } catch ( e ) { return { error : ! 0 , value : e } } } } , function ( e , t , n ) { "use strict" ; var r = n ( 7 ) , o = n ( 1 ) , i = n ( 30 ) , a = n ( 31 ) , s = n ( 9 ) , c = n ( 96 ) , l = n ( 173 ) , A = n ( 2 ) , u = n ( 3 ) , d = n ( 81 ) , p = n ( 4 ) , f = n ( 6 ) , m = n ( 27 ) , h = n ( 25 ) , g = n ( 51 ) , v = n ( 32 ) , y = n ( 47 ) , b = n ( 116 ) , x = n ( 77 ) , w = n ( 342 ) , M = n ( 113 ) , T = n ( 53 ) , E = n ( 8 ) , C = n ( 110 ) , I = n ( 17 ) , S = n ( 18 ) , _ = n ( 94 ) , B = n ( 66 ) , N = n ( 43 ) , k = n ( 65 ) , D = n ( 0 ) , L = n ( 312 ) , O = n ( 313 ) , P = n ( 35 ) , j = n ( 23 ) , R = n ( 79 ) . forEach , Q = B ( "hidden" ) , U = D ( "toPrimitive" ) , G = j . set , Y = j . getterFor ( "Symbol" ) , F = Object . prototype , z = o . Symbol , H = i ( "JSON" , "stringify" ) , Z = T . f , W = E . f , V = w . f , J = C . f , K = _ ( "symbols" ) , $ = _ ( "op-symbols" ) , X = _ ( "string-to-symbol-registry" ) , q = _ ( "symbol-to-string-registry" ) , ee = _ ( "wks" ) , te = o . QObject , ne = ! te || ! te . prototype || ! te . prototype . findChild , re = s && A ( ( function ( ) { return 7 != y ( W ( { } , "a" , { get : function ( ) { return W ( this , "a" , { value : 7 } ) . a } } ) ) . a } ) ) ? function ( e , t , n ) { var r = Z ( F , t ) ; r && delete F [ t ] , W ( e , t , n ) , r && e !== F && W ( F , t , r ) } : W , oe = function ( e , t ) { var n = K [ e ] = y ( z . prototype ) ; return G ( n , { type : "Symbol" , tag : e , description : t } ) , s || ( n . description = t ) , n } , ie = l ? function ( e ) { return "symbol" == typeof e } : function ( e ) { return Object ( e ) instanceof z } , ae = function ( e , t , n ) { e === F && ae ( $ , t , n ) , f ( e ) ; var r = g ( t , ! 0 ) ; return f ( n ) , u ( K , r ) ? ( n . enumerable ? ( u ( e , Q ) && e [ Q ] [ r ] && ( e [ Q ] [ r ] = ! 1 ) , n = y ( n , { enumerable : v ( 0 , ! 1 ) } ) ) : ( u ( e , Q ) || W ( e , Q , v ( 1 , { } ) ) , e [ Q ] [ r ] = ! 0 ) , re ( e , r , n ) ) : W ( e , r , n ) } , se = function ( e , t ) { f ( e ) ; var n = h ( t ) , r = b ( n ) . concat ( ue ( n ) ) ; return R ( r , ( function ( t ) { s && ! ce . call ( n , t ) || ae ( e , t , n [ t ] ) } ) ) , e } , ce = function ( e ) { var t = g ( e , ! 0 ) , n = J . call ( this , t ) ; return ! ( this === F && u ( K , t ) && ! u ( $ , t ) ) && ( ! ( n || ! u ( this , t ) || ! u ( K , t ) || u ( this , Q ) && this [ Q ] [ t ] ) || n ) } , le = function ( e , t ) { var n = h ( e ) , r = g ( t , ! 0 ) ; if ( n !== F || ! u ( K , r ) || u ( $ , r ) ) { var o = Z ( n , r ) ; return ! o || ! u ( K , r ) || u ( n , Q ) && n [ Q ] [ r ] || ( o . enumerable = ! 0 ) , o } } , Ae = function ( e ) { var t = V ( h ( e ) ) , n = [ ] ; return R ( t , ( function ( e ) { u ( K , e ) || u ( N , e ) || n . push ( e ) } ) ) , n } , ue = function ( e ) { var t = e === F , n = V ( t ? $ : h ( e ) ) , r = [ ] ; return R ( n , ( function ( e ) { ! u ( K , e ) || t && ! u ( F , e ) || r . push ( K [ e ] ) } ) ) , r } ; ( c || ( S ( ( z = function ( ) { if ( this instanceof z ) throw TypeError ( "Symbol is not a constructor" ) ; var e = arguments . length && void 0 !== arguments [ 0 ] ? String ( arguments [ 0 ] ) : void 0 , t = k ( e ) , n = function ( e ) { this === F && n . call ( $ , e ) , u ( this , Q ) && u ( this [ Q ] , t ) && ( this [ Q ] [ t ] = ! 1 ) , re ( this , t , v ( 1 , e ) ) } ; return s && ne && re ( F , t , { configurable : ! 0 , set : n } ) , oe ( t , e ) } ) . prototype , "toString" , ( function ( ) { return Y ( this ) . tag } ) ) , S ( z , "withoutSetter" , ( function ( e ) { return oe ( k ( e ) , e ) } ) ) , C . f = ce , E . f = ae , T . f = le , x . f = w . f = Ae , M . f = ue , L . f = function ( e ) { return oe ( D ( e ) , e ) } , s && ( W ( z . prototype , "description" , { configurable : ! 0 , get : function ( ) { return Y ( this ) . description } } ) , a || S ( F , "propertyIsEnumerable" , ce , { unsafe : ! 0 } ) ) ) , r ( { global : ! 0 , wrap : ! 0 , forced : ! c , sham : ! c } , { Symbol : z } ) , R ( b ( ee ) , ( function ( e ) { O ( e ) } ) ) , r ( { target : "Symbol" , stat : ! 0 , forced : ! c } , { for : function ( e ) { var t = String ( e ) ; if ( u ( X , t ) ) return X [ t ] ; var n = z ( t ) ; return X [ t ] = n , q [ n ] = t , n } , keyFor : function ( e ) { if ( ! ie ( e ) ) throw TypeError ( e + " is not a symbol" ) ; if ( u ( q , e ) ) return q [ e ] } , useSetter : function ( ) { ne = ! 0 } , useSimple : function ( ) { ne = ! 1 } } ) , r ( { target : "Object" , s
2019-10-28 09:46:16 +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-05-12 12:57:30 +03:00
var m = function ( ) { function e ( t ) { ! function ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this , e ) , Object . defineProperty ( this , h , { writable : ! 0 , value : void 0 } ) , t . ocs && t . ocs . data && t . ocs . data [ 0 ] && ( t = t . ocs . data [ 0 ] ) , t . hide _download = ! ! t . hide _download , t . mail _send = ! ! t . mail _send , p ( this , h ) [ h ] = t } var t , n , r ; return t = e , ( n = [ { key : "state" , get : function ( ) { return p ( this , h ) [ h ] } } , { key : "id" , get : function ( ) { return p ( this , h ) [ h ] . id } } , { key : "type" , get : function ( ) { return p ( this , h ) [ h ] . share _type } } , { key : "permissions" , get : function ( ) { return p ( this , h ) [ h ] . permissions } , set : function ( e ) { p ( this , h ) [ h ] . permissions = e } } , { key : "owner" , get : function ( ) { return p ( this , h ) [ h ] . uid _owner } } , { key : "ownerDisplayName" , get : function ( ) { return p ( this , h ) [ h ] . displayname _owner } } , { key : "shareWith" , get : function ( ) { return p ( this , h ) [ h ] . share _with } } , { key : "shareWithDisplayName" , get : function ( ) { return p ( this , h ) [ h ] . share _with _displayname || p ( this , h ) [ h ] . share _with } } , { key : "shareWithAvatar" , get : function ( ) { return p ( this , h ) [ h ] . share _with _avatar } } , { key : "uidFileOwner" , get : function ( ) { return p ( this , h ) [ h ] . uid _file _owner } } , { key : "displaynameFileOwner" , get : function ( ) { return p ( this , h ) [ h ] . displayname _file _owner || p ( this , h ) [ h ] . uid _file _owner } } , { key : "createdTime" , get : function ( ) { return p ( this , h ) [ h ] . stime } } , { key : "expireDate" , get : function ( ) { return p ( this , h ) [ h ] . expiration } , set : function ( e ) { p ( this , h ) [ h ] . expiration = e } } , { key : "token" , get : function ( ) { return p ( this , h ) [ h ] . token } } , { key : "note" , get : function ( ) { return p ( this , h ) [ h ] . note } , set : function ( e ) { p ( this , h ) [ h ] . note = e } } , { key : "mailSend" , get : function ( ) { return ! 0 === p ( this , h ) [ h ] . mail _send } } , { key : "hideDownload" , get : function ( ) { return ! 0 === p ( this , h ) [ h ] . hide _download } , set : function ( e ) { p ( this , h ) [ h ] . hide _download = ! 0 === e } } , { key : "password" , get : function ( ) { return p ( this , h ) [ h ] . password } , set : function ( e ) { p ( this , h ) [ h ] . password = e } } , { key : "sendPasswordByTalk" , get : function ( ) { return p ( this , h ) [ h ] . send _password _by _talk } , set : function ( e ) { p ( this , h ) [ h ] . send _password _by _talk = e } } , { key : "path" , get : function ( ) { return p ( this , h ) [ h ] . path } } , { key : "itemType" , get : function ( ) { return p ( this , h ) [ h ] . item _type } } , { key : "mimetype" , get : function ( ) { return p ( this , h ) [ h ] . mimetype } } , { key : "fileSource" , get : function ( ) { return p ( this , h ) [ h ] . file _source } } , { key : "fileTarget" , get : function ( ) { return p ( this , h ) [ h ] . file _target } } , { key : "fileParent" , get : function ( ) { return p ( this , h ) [ h ] . file _parent } } , { key : "hasCreatePermission" , get : function ( ) { return ! ! ( this . permissions & OC . PERMISSION _CREATE ) } } , { key : "hasDeletePermission" , get : function ( ) { return ! ! ( this . permissions & OC . PERMISSION _DELETE ) } } , { key : "hasUpdatePermission" , get : function ( ) { return ! ! ( this . permissions & OC . PERMISSION _UPDATE ) } } , { key : "hasSharePermission" , get : function ( ) { return ! ! ( this . permissions & OC . PERMISSION _SHARE ) } } , { key : "canEdit" , get : function ( ) { return ! 0 === p ( this , h ) [ h ] . can _edit } } , { key : "canDelete" , get : function ( ) { return ! 0 === p ( this , h ) [ h ] . can _delete } } , { key : "viaFileid" , get : function ( ) { return p ( this , h ) [ h ] . via _fileid } } , { key : "viaPath" , get : function ( ) { return p ( this , h ) [ h ] . via _path } } , { key : "label" , get : function ( ) { return p ( this , h ) [ h ] . label } } , { key : "parent" , get : function ( ) { return p ( this , h ) [ h ] . parent } } , { key : "storageId" , get : function ( ) { return p ( this , h ) [ h ] . storage _id } } , { key : "storage" , get : function ( ) { return p ( this , h ) [ h ] . storage } } , { key : "itemSource" , get : function ( ) { return p ( this , h ) [ h ] . item _source } } ] ) && d ( t . prototype , n ) , r && d ( t , r ) , e } ( ) , h = "__private_" + f ++ + "_" + "share" , g = { data : function ( ) { return { SHARE _TYPES : { SHARE _TYPE _USER : OC . Share . SHARE _TYPE _USER , SHARE _TYPE _GROUP : OC . Share . SHARE _TYPE _GROUP , SHARE _TYPE _LINK : OC . Share . SHARE _TYPE _LINK , SHARE _TYPE _EMAIL : OC . Share . SHARE _TYPE _EMAIL , SHARE _TYPE _REMOTE : OC . Share . SHARE _TYPE _REMOTE , SHARE _TYPE _CIRCLE : OC . Share . SHARE _TYPE _CIRCLE , SHARE _TYPE _GUEST : OC . Share . SHARE _TYPE _GUEST , SHARE _TYPE _REMOTE _GROUP : OC . Share . SHARE _TYPE _REMOTE _GROUP , SHARE _TYPE _ROOM : OC . Share . SHARE _TYPE _ROOM } } } } , v = r ( 106 ) , y = r . n ( v ) , b = r ( 73 ) , x = r . n ( b ) , w = r ( 63 ) , M = r . n ( w ) , T = { name : "SharingEntrySimple" , components : { Actions : x . a } , directives : { Tooltip : M . a } , props : { title : { type : String , default : "" , required : ! 0 } , tooltip : { type : String , default : "" } , subtitle : { type : String , default : "" } } } , E = ( r ( 353 ) , r ( 11 ) ) , C = Object ( E . a ) ( T , ( function ( ) { var e = this , t = e . $createElement
2019-10-28 09:46:16 +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-05-12 12:57:30 +03:00
var P = function ( ) { function e ( ) { ! function ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this , e ) } var t , n , r ; return t = e , ( n = [ { key : "isPublicUploadEnabled" , get : function ( ) { return document . getElementById ( "filestable" ) && "yes" === document . getElementById ( "filestable" ) . dataset . allowPublicUpload } } , { key : "isShareWithLinkAllowed" , get : function ( ) { return document . getElementById ( "allowShareWithLink" ) && "yes" === document . getElementById ( "allowShareWithLink" ) . value } } , { key : "federatedShareDocLink" , get : function ( ) { return OC . appConfig . core . federatedCloudShareDoc } } , { key : "defaultExpirationDateString" , get : function ( ) { var e = "" ; if ( this . isDefaultExpireDateEnabled ) { var t = window . moment . utc ( ) , n = this . defaultExpireDate ; t . add ( n , "days" ) , e = t . format ( "YYYY-MM-DD" ) } return e } } , { key : "defaultInternalExpirationDateString" , get : function ( ) { var e = "" ; if ( this . isDefaultInternalExpireDateEnabled ) { var t = window . moment . utc ( ) , n = this . defaultInternalExpireDate ; t . add ( n , "days" ) , e = t . format ( "YYYY-MM-DD" ) } return e } } , { key : "enforcePasswordForPublicLink" , get : function ( ) { return ! 0 === OC . appConfig . core . enforcePasswordForPublicLink } } , { key : "enableLinkPasswordByDefault" , get : function ( ) { return ! 0 === OC . appConfig . core . enableLinkPasswordByDefault } } , { key : "isDefaultExpireDateEnforced" , get : function ( ) { return ! 0 === OC . appConfig . core . defaultExpireDateEnforced } } , { key : "isDefaultExpireDateEnabled" , get : function ( ) { return ! 0 === OC . appConfig . core . defaultExpireDateEnabled } } , { key : "isDefaultInternalExpireDateEnforced" , get : function ( ) { return ! 0 === OC . appConfig . core . defaultInternalExpireDateEnforced } } , { key : "isDefaultInternalExpireDateEnabled" , get : function ( ) { return ! 0 === OC . appConfig . core . defaultInternalExpireDateEnabled } } , { key : "isRemoteShareAllowed" , get : function ( ) { return ! 0 === OC . appConfig . core . remoteShareAllowed } } , { key : "isMailShareAllowed" , get : function ( ) { return void 0 !== OC . appConfig . shareByMailEnabled && ! 0 === OC . getCapabilities ( ) . files _sharing . public . enabled } } , { key : "defaultExpireDate" , get : function ( ) { return OC . appConfig . core . defaultExpireDate } } , { key : "defaultInternalExpireDate" , get : function ( ) { return OC . appConfig . core . defaultInternalExpireDate } } , { key : "isResharingAllowed" , get : function ( ) { return ! 0 === OC . appConfig . core . resharingAllowed } } , { key : "isPasswordForMailSharesRequired" , get : function ( ) { return void 0 !== OC . appConfig . shareByMail && ! 0 === OC . appConfig . shareByMail . enforcePasswordProtection } } , { key : "allowGroupSharing" , get : function ( ) { return ! 0 === OC . appConfig . core . allowGroupSharing } } , { key : "maxAutocompleteResults" , get : function ( ) { return parseInt ( OC . config [ "sharing.maxAutocompleteResults" ] , 10 ) || 200 } } , { key : "minSearchStringLength" , get : function ( ) { return parseInt ( OC . config [ "sharing.minSearchStringLength" ] , 10 ) || 0 } } , { key : "passwordPolicy" , get : function ( ) { var e = OC . getCapabilities ( ) ; return e . password _policy ? e . password _policy : { } } } ] ) && O ( t . prototype , n ) , r && O ( t , r ) , e } ( ) ; r ( 357 ) ; function j ( e , t , n , r , o , i , a ) { try { var s = e [ i ] ( a ) , c = s . value } catch ( e ) { return void n ( e ) } s . done ? t ( c ) : Promise . resolve ( c ) . then ( r , o ) } function R ( e ) { return function ( ) { var t = this , n = arguments ; return new Promise ( ( function ( r , o ) { var i = e . apply ( t , n ) ; function a ( e ) { j ( i , r , o , a , s , "next" , e ) } function s ( e ) { j ( i , r , o , a , s , "throw" , e ) } a ( void 0 ) } ) ) } }
2019-10-28 09:46:16 +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-06-04 11:52:03 +03:00
* / v a r Q = O b j e c t ( i . g e n e r a t e O c s U r l ) ( " a p p s / f i l e s _ s h a r i n g / a p i / v 1 " , 2 ) + " s h a r e s " , U = { " C o n t e n t - T y p e " : " a p p l i c a t i o n / x - w w w - f o r m - u r l e n c o d e d ; c h a r s e t = U T F - 8 " } , G = { m e t h o d s : { c r e a t e S h a r e : f u n c t i o n ( e ) { r e t u r n R ( r e g e n e r a t o r R u n t i m e . m a r k ( ( f u n c t i o n n ( ) { v a r r , o , i , a , s , c , A , u , d , p ; r e t u r n r e g e n e r a t o r R u n t i m e . w r a p ( ( f u n c t i o n ( n ) { f o r ( ; ; ) s w i t c h ( n . p r e v = n . n e x t ) { c a s e 0 : r e t u r n r = e . p a t h , o = e . p e r m i s s i o n s , i = e . s h a r e T y p e , a = e . s h a r e W i t h , s = e . p u b l i c U p l o a d , c = e . p a s s w o r d , A = e . s e n d P a s s w o r d B y T a l k , u = e . e x p i r e D a t e , d = e . l a b e l , n . p r e v = 1 , n . n e x t = 4 , l . a . p o s t ( Q , { p a t h : r , p e r m i s s i o n s : o , s h a r e T y p e : i , s h a r e W i t h : a , p u b l i c U p l o a d : s , p a s s w o r d : c , s e n d P a s s w o r d B y T a l k : A , e x p i r e D a t e : u , l a b e l : d } ) ; c a s e 4 : i f ( " o c s " i n ( p = n . s e n t ) . d a t a ) { n . n e x t = 7 ; b r e a k } t h r o w p ; c a s e 7 : r e t u r n n . a b r u p t ( " r e t u r n " , n e w m ( p . d a t a . o c s . d a t a ) ) ; c a s e 1 0 : t h r o w n . p r e v = 1 0 , n . t 0 = n . c a t c h ( 1 ) , c o n s o l e . e r r o r ( " E r r o r w h i l e c r e a t i n g s h a r e " , n . t 0 ) , O C . N o t i f i c a t i o n . s h o w T e m p o r a r y ( t ( " f i l e s _ s h a r i n g " , " E r r o r c r e a t i n g t h e s h a r e " ) , { t y p e : " e r r o r " } ) , n . t 0 ; c a s e 1 5 : c a s e " e n d " : r e t u r n n . s t o p ( ) } } ) , n , n u l l , [ [ 1 , 1 0 ] ] ) } ) ) ) ( ) } , d e l e t e S h a r e : f u n c t i o n ( e ) { r e t u r n R ( r e g e n e r a t o r R u n t i m e . m a r k ( ( f u n c t i o n n ( ) { v a r r ; r e t u r n r e g e n e r a t o r R u n t i m e . w r a p ( ( f u n c t i o n ( n ) { f o r ( ; ; ) s w i t c h ( n . p r e v = n . n e x t ) { c a s e 0 : r e t u r n n . p r e v = 0 , n . n e x t = 3 , l . a . d e l e t e ( Q + " / " . c o n c a t ( e ) ) ; c a s e 3 : i f ( " o c s " i n ( r = n . s e n t ) . d a t a ) { n . n e x t = 6 ; b r e a k } t h r o w r ; c a s e 6 : r e t u r n n . a b r u p t ( " r e t u r n " , ! 0 ) ; c a s e 9 : t h r o w n . p r e v = 9 , n . t 0 = n . c a t c h ( 0 ) , c o n s o l e . e r r o r ( " E r r o r w h i l e d e l e t i n g s h a r e " , n . t 0 ) , O C . N o t i f i c a t i o n . s h o w T e m p o r a r y ( t ( " f i l e s _ s h a r i n g " , " E r r o r d e l e t i n g t h e s h a r e " ) , { t y p e : " e r r o r " } ) , n . t 0 ; c a s e 1 4 : c a s e " e n d " : r e t u r n n . s t o p ( ) } } ) , n , n u l l , [ [ 0 , 9 ] ] ) } ) ) ) ( ) } , u p d a t e S h a r e : f u n c t i o n ( e , n ) { r e t u r n R ( 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 r ( ) { v a r o , i ; 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 ( r ) { f o r ( ; ; ) s w i t c h ( r . p r e v = r . n e x t ) { c a s e 0 : r e t u r n r . p r e v = 0 , r . n e x t = 3 , l . a . p u t ( Q + " / " . c o n c a t ( e ) , n , U ) ; c a s e 3 : i f ( " o c s " i n ( o = r . s e n t ) . d a t a ) { r . n e x t = 6 ; b r e a k } t h r o w o ; c a s e 6 : r e t u r n r . a b r u p t ( " r e t u r n " , ! 0 ) ; c a s e 9 : t h r o w r . p r e v = 9 , r . t 0 = r . c a t c h ( 0 ) , c o n s o l e . e r r o r ( " E r r o r w h i l e u p d a t i n g s h a r e " , r . t 0 ) , O C . N o t i f i c a t i o n . s h o w T e m p o r a r y ( t ( " f i l e s _ s h a r i n g " , " E r r o r u p d a t i n g t h e s h a r e " ) , { t y p e : " e r r o r " } ) , i = r . t 0 . r e s p o n s e . d a t a . o c s . m e t a . m e s s a g e , n e w E r r o r ( " " . c o n c a t ( O b j e c t . k e y s ( n ) , " , " ) . c o n c a t ( i ) ) ; c a s e 1 5 : c a s e " e n d " : r e t u r n r . s t o p ( ) } } ) , r , n u l l , [ [ 0 , 9 ] ] ) } ) ) ) ( ) } } } ; f u n c t i o n Y ( e ) { r e t u r n ( Y = " f u n c t i o n " = = t y p e o f S y m b o l & & " s y m b o l " = = t y p e o f S y m b o l . i t e r a t o r ? f u n c t i o n ( e ) { r e t u r n t y p e o f e } : f u n c t i o n ( e ) { r e t u r n e & & " f u n c t i o n " = = t y p e o f S y m b o l & & e . c o n s t r u c t o r = = = S y m b o l & & e ! = = S y m b o l . p r o t o t y p e ? " s y m b o l " : t y p e o f e } ) ( e ) } f u n c t i o n F ( e , t , n , r , o , i , a ) { t r y { v a r s = e [ i ] ( a ) , c = s . v a l u e } c a t c h ( e ) { r e t u r n v o i d n ( e ) } s . d o n e ? t ( c ) : P r o m i s e . r e s o l v e ( c ) . t h e n ( r , o ) } f u n c t i o n z ( e ) { r e t u r n f u n c t i o n ( ) { v a r t = t h i s , n = a r g u m e n t s ; r e t u r n n e w P r o m i s e ( ( f u n c t i o n ( r , o ) { v a r i = e . a p p l y ( t , n ) ; f u n c t i o n a ( e ) { F ( i , r , o , a , s , " n e x t " , e ) } f u n c t i o n s ( e ) { F ( i , r , o , a , s , " t h r o w " , e ) } a ( v o i d 0 ) } ) ) } } v a r H = { n a m e : " S h a r i n g I n p u t " , c o m p o n e n t s : { M u l t i s e l e c t : L . a } , m i x i n s : [ g , G ] , p r o p s : { s h a r e s : { t y p e : A r r a y , d e f a u l t : f u n c t i o n ( ) { r e t u r n [ ] } , r e q u i r e d : ! 0 } , l i n k S h a r e s : { t y p e : A r r a y , d e f a u l t : f u n c t i o n ( ) { r e t u r n [ ] } , r e q u i r e d : ! 0 } , f i l e I n f o : { t y p e : O b j e c t , d e f a u l t : f u n c t i o n ( ) { } , r e q u i r e d : ! 0 } , r e s h a r e : { t y p e : m , d e f a u l t : n u l l } , c a n R e s h a r e : { t y p e : B o o l e a n , r e q u i r e d : ! 0 } } , d a t a : f u n c t i o n ( ) { r e t u r n { c o n f i g : n e w P , l o a d i n g : ! 1 , q u e r y : " " , r e c o m m e n d a t i o n s : [ ] , S h a r e S e a r c h : O C A . S h a r i n g . S h a r e S e a r c h . s t a t e , s u g g e s t i o n s : [ ] } } , c o m p u t e d : { e x t e r n a l R e s u l t s : f u n c t i o n ( ) { r e t u r n t h i s . S h a r e S e a r c h . r e s u l t s } , i n p u t P l a c e h o l d e r : f u n c t i o n ( ) { v a r e = t h i s . c o n f i g . i s R e m o t e S h a r e A l l o w e d , n = t h i s . c o n f i g . i s M a i l S h a r e A l l o w e d ; r e t u r n t h i s . c a n R e s h a r e ? ! e & & n ? t ( " f i l e s _ s h a r i n g " , " N a m e o r e m a i l a d d r e s s … " ) : e & & ! n ? t ( " f i l e s _ s h a r i n g " , " N a m e o r f e d e r a t e d c l o u d I D … " ) : e & & n ? t ( " f i l e s _ s h a r i n g " , " N a m e , f e d e r a t e d c l o u d I D o r e m a i l a d d r e s s … " ) : t ( " f i l e s _ s h a r i n g " , " N a m e … " ) : t ( " f i l e s _ s h a r i n g " , " R e s h a r i n g i s n o t a l l o w e d " ) } , i s V a l i d Q u e r y : f u n c t i o n ( ) { r e t u r n t h i s . q u e r y & & " " ! = = t h i s . q u e r y . t r i m ( ) & & t h i s . q u e r y . l e n g t h > t h i s . c o n f i g . m i n S e a r c h S t r i n g L e n g t h } , o p t i o n s : f u n c t i o n ( ) { r e t u r n t h i s . i s V a l i d Q u e r y ? t h i s . s u g g e s t i o n s : t h i s . r e c o m m e n d a t i o n s } , n o R e s u l t T e x t : f u n c t i o n ( ) { r e t u r n t h i s . l o a d i n g ? t ( " f i l e s _ s h a r i n g " , " S e a r c h i n g … " ) : t ( " f i l e s _ s h a r i n g " , " N o e l e m e n t s f o u n d . " ) } } , m o u n t e d : f u n c t i o n ( ) { t h i s . g e t R e c o m m e n d a t i o n s ( ) } , m e t h o d s : { a s y n c F i n d : f u n c t i o n ( e , t ) { v a r n = t h i s ; r e t u r n z ( 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 ( ) { r e t u r n r e g e n e r a t
2019-12-30 15:20:08 +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-06-01 19:27:20 +03:00
* / v a r n e = { m i x i n s : [ G , g ] , p r o p s : { f i l e I n f o : { t y p e : O b j e c t , d e f a u l t : f u n c t i o n ( ) { } , r e q u i r e d : ! 0 } , s h a r e : { t y p e : m , d e f a u l t : n u l l } } , d a t a : f u n c t i o n ( ) { v a r e ; r e t u r n { c o n f i g : n e w P , e r r o r s : { } , l o a d i n g : ! 1 , s a v i n g : ! 1 , o p e n : ! 1 , u p d a t e Q u e u e : n e w q . a ( { c o n c u r r e n c y : 1 } ) , r e a c t i v e S t a t e : n u l l = = = ( e = t h i s . s h a r e ) | | v o i d 0 = = = e ? v o i d 0 : e . s t a t e , S H A R E _ T Y P E S : { S H A R E _ T Y P E _ U S E R : O C . S h a r e . S H A R E _ T Y P E _ U S E R , S H A R E _ T Y P E _ G R O U P : O C . S h a r e . S H A R E _ T Y P E _ G R O U P , S H A R E _ T Y P E _ L I N K : O C . S h a r e . S H A R E _ T Y P E _ L I N K , S H A R E _ T Y P E _ E M A I L : O C . S h a r e . S H A R E _ T Y P E _ E M A I L , S H A R E _ T Y P E _ R E M O T E : O C . S h a r e . S H A R E _ T Y P E _ R E M O T E , S H A R E _ T Y P E _ C I R C L E : O C . S h a r e . S H A R E _ T Y P E _ C I R C L E , S H A R E _ T Y P E _ G U E S T : O C . S h a r e . S H A R E _ T Y P E _ G U E S T , S H A R E _ T Y P E _ R E M O T E _ G R O U P : O C . S h a r e . S H A R E _ T Y P E _ R E M O T E _ G R O U P , S H A R E _ T Y P E _ R O O M : O C . S h a r e . S H A R E _ T Y P E _ R O O M } } } , c o m p u t e d : { h a s N o t e : { g e t : f u n c t i o n ( ) { r e t u r n " " ! = = t h i s . s h a r e . n o t e } , s e t : f u n c t i o n ( e ) { t h i s . s h a r e . n o t e = e ? n u l l : " " } } , d a t e T o m o r r o w : f u n c t i o n ( ) { r e t u r n m o m e n t ( ) . a d d ( 1 , " d a y s " ) } , f i r s t D a y : f u n c t i o n ( ) { r e t u r n w i n d o w . f i r s t D a y ? w i n d o w . f i r s t D a y : 0 } , l a n g : f u n c t i o n ( ) { r e t u r n { d a y s : w i n d o w . d a y N a m e s S h o r t ? w i n d o w . d a y N a m e s S h o r t : [ " S u n . " , " M o n . " , " T u e . " , " W e d . " , " T h u . " , " F r i . " , " S a t . " ] , m o n t h s : w i n d o w . m o n t h N a m e s S h o r t ? w i n d o w . m o n t h N a m e s S h o r t : [ " J a n . " , " F e b . " , " M a r . " , " A p r . " , " M a y . " , " J u n . " , " J u l . " , " A u g . " , " S e p . " , " O c t . " , " N o v . " , " D e c . " ] , p l a c e h o l d e r : { d a t e : " S e l e c t D a t e " } } } , i s S h a r e O w n e r : f u n c t i o n ( ) { r e t u r n t h i s . s h a r e & & t h i s . s h a r e . o w n e r = = = O b j e c t ( B . g e t C u r r e n t U s e r ) ( ) . u i d } } , m e t h o d s : { c h e c k S h a r e : f u n c t i o n ( e ) { i f ( e . p a s s w o r d & & ( " s t r i n g " ! = t y p e o f e . p a s s w o r d | | " " = = = e . p a s s w o r d . t r i m ( ) ) ) r e t u r n ! 1 ; i f ( e . e x p i r a t i o n D a t e & & ! m o m e n t ( e . e x p i r a t i o n D a t e ) . i s V a l i d ( ) ) r e t u r n ! 1 ; r e t u r n ! 0 } , o n E x p i r a t i o n C h a n g e : f u n c t i o n ( e ) { v a r t = m o m e n t ( e ) . f o r m a t ( " Y Y Y Y - M M - D D " ) ; t h i s . s h a r e . e x p i r e D a t e = t , t h i s . q u e u e U p d a t e ( " e x p i r e D a t e " ) } , o n E x p i r a t i o n D i s a b l e : f u n c t i o n ( ) { t h i s . s h a r e . e x p i r e D a t e = " " , t h i s . q u e u e U p d a t e ( " e x p i r e D a t e " ) } , o n N o t e C h a n g e : f u n c t i o n ( e ) { t h i s . $ s e t ( t h i s . s h a r e , " n e w N o t e " , e . t r i m ( ) ) } , o n N o t e S u b m i t : f u n c t i o n ( ) { t h i s . s h a r e . n e w N o t e & & ( t h i s . s h a r e . n o t e = t h i s . s h a r e . n e w N o t e , t h i s . $ d e l e t e ( t h i s . s h a r e , " n e w N o t e " ) , t h i s . q u e u e U p d a t e ( " n o t e " ) ) } , o n D e l e t e : f u n c t i o n ( ) { v a r e = t h i s ; r e t u r n t e ( 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 ( ) { 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 , e . l o a d i n g = ! 0 , e . o p e n = ! 1 , t . n e x t = 5 , e . d e l e t e S h a r e ( e . s h a r e . i d ) ; c a s e 5 : c o n s o l e . d e b u g ( " S h a r e d e l e t e d " , e . s h a r e . i d ) , e . $ e m i t ( " r e m o v e : s h a r e " , e . s h a r e ) , t . n e x t = 1 2 ; b r e a k ; c a s e 9 : t . p r e v = 9 , t . t 0 = t . c a t c h ( 0 ) , e . o p e n = ! 0 ; c a s e 1 2 : r e t u r n t . p r e v = 1 2 , e . l o a d i n g = ! 1 , t . f i n i s h ( 1 2 ) ; c a s e 1 5 : c a s e " e n d " : r e t u r n t . s t o p ( ) } } ) , t , n u l l , [ [ 0 , 9 , 1 2 , 1 5 ] ] ) } ) ) ) ( ) } , q u e u e U p d a t e : f u n c t i o n ( ) { f o r ( v a r e = t h i s , t = a r g u m e n t s . l e n g t h , n = n e w A r r a y ( t ) , r = 0 ; r < t ; r + + ) n [ r ] = a r g u m e n t s [ r ] ; i f ( 0 ! = = n . l e n g t h ) i f ( t h i s . s h a r e . i d ) { v a r o = { } ; n . m a p ( ( f u n c t i o n ( t ) { r e t u r n o [ t ] = e . s h a r e [ t ] . t o S t r i n g ( ) } ) ) , t h i s . u p d a t e Q u e u e . a d d ( t e ( 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 r ; 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 e . s a v i n g = ! 0 , e . e r r o r s = { } , t . p r e v = 2 , t . n e x t = 5 , e . u p d a t e S h a r e ( e . s h a r e . i d , o ) ; c a s e 5 : e . $ d e l e t e ( e . e r r o r s , n [ 0 ] ) , e . $ d e l e t e ( e . s h a r e , " n e w P a s s w o r d " ) , t . n e x t = 1 3 ; b r e a k ; c a s e 9 : t . p r e v = 9 , t . t 0 = t . c a t c h ( 2 ) , ( r = t . t 0 . m e s s a g e ) & & " " ! = = r & & e . o n S y n c E r r o r ( n [ 0 ] , r ) ; c a s e 1 3 : r e t u r n t . p r e v = 1 3 , e . s a v i n g = ! 1 , t . f i n i s h ( 1 3 ) ; c a s e 1 6 : c a s e " e n d " : r e t u r n t . s t o p ( ) } } ) , t , n u l l , [ [ 2 , 9 , 1 3 , 1 6 ] ] ) } ) ) ) ) } e l s e c o n s o l e . e r r o r ( " C a n n o t u p d a t e s h a r e . " , t h i s . s h a r e , " N o v a l i d i d " ) } , o n S y n c E r r o r : f u n c t i o n ( e , t ) { s w i t c h ( t h i s . o p e n = ! 0 , e ) { c a s e " p a s s w o r d " : c a s e " p e n d i n g " : c a s e " e x p i r e D a t e " : c a s e " n o t e " : t h i s . $ s e t ( t h i s . e r r o r s , e , t ) ; v a r n = t h i s . $ r e f s [ e ] ; i f ( n ) { n . $ e l & & ( n = n . $ e l ) ; v a r r = n . q u e r y S e l e c t o r ( " . f o c u s a b l e " ) ; r & & r . f o c u s ( ) } b r e a k ; c a s e " s e n d P a s s w o r d B y T a l k " : t h i s . $ s e t ( t h i s . e r r o r s , e , t ) , t h i s . s h a r e . s e n d P a s s w o r d B y T a l k = ! t h i s . s h a r e . s e n d P a s s w o r d B y T a l k } } , d e b o u n c e Q u e u e U p d a t e : k ( ) ( ( f u n c t i o n ( e ) { t h i s . q u e u e U p d a t e ( e ) } ) , 5 0 0 ) , d i s a b l e d D a t e : f u n c t i o n ( e ) { v a r t = m o m e n t ( e ) ; r e t u r n t h i s . d a t e T o m o r r o w & & t . i s B e f o r e ( t h i s . d a t e T o m o r r o w , " d a y " ) | | t h i s . d a t e M a x E n f o r c e d & & t . i s S a m e O r A f t e r ( t h i s . d a t e M a x E n f o r c e d , " d a y " ) } } } , r e = { n a m e : " S h a r i n g E n t r y I n h e r i t e d " , c o m p o n e n t s : { A c t i o n B u t t o n : V . a , A c t i o n L i n k : y . a , A c t i o n T e x t : $ . a , A v a t a r : s . a , S h a r i n g E n t r y S i m p l e : C } , m i x i n s : [ n e ] , p r o p s : { s h a r e : { t y p e : m , r e q u i r e d : ! 0 } } , c o m p u t e d : { v i a F i l e T a r g e t U r l : f u n c t i o n ( ) { r e t u r n O b j e c t ( i . g e n e r a t e U r l ) ( " / f / { f i l e i d } " , { f i l e i d : t h i s . s h a r e . v i a F i l e i d } ) } , v i a F o l d e r N a m e : f u n c t i o n ( ) { r e t u r n O b j e
2019-10-28 09:46:16 +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-05-12 12:57:30 +03:00
var Pe = function ( ) { function e ( ) { ! function ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this , e ) , Object . defineProperty ( this , je , { writable : ! 0 , value : void 0 } ) , Le ( this , je ) [ je ] = { } , Le ( this , je ) [ je ] . results = [ ] , console . debug ( "OCA.Sharing.ShareSearch initialized" ) } var t , n , r ; return t = e , ( n = [ { key : "addNewResult" , value : function ( e ) { return "" !== e . displayName . trim ( ) && "function" == typeof e . handler ? ( Le ( this , je ) [ je ] . results . push ( e ) , ! 0 ) : ( console . error ( "Invalid search result provided" , e ) , ! 1 ) } } , { key : "state" , get : function ( ) { return Le ( this , je ) [ je ] } } ] ) && De ( t . prototype , n ) , r && De ( t , r ) , e } ( ) , je = function ( e ) { return "__private_" + Oe ++ + "_" + e } ( "state" ) ; function Re ( e ) { return ( Re = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } function Qe ( e , t ) { for ( var n = 0 ; n < t . length ; n ++ ) { var r = t [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( e , r . key , r ) } } function Ue ( e , t ) { if ( ! Object . prototype . hasOwnProperty . call ( e , t ) ) throw new TypeError ( "attempted to use private field on non-instance" ) ; return e } var Ge = 0 ;
2019-10-28 09:46:16 +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-05-12 12:57:30 +03:00
var Ye = function ( ) { function e ( ) { ! function ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this , e ) , Object . defineProperty ( this , Fe , { writable : ! 0 , value : void 0 } ) , Ue ( this , Fe ) [ Fe ] = { } , Ue ( this , Fe ) [ Fe ] . actions = [ ] , console . debug ( "OCA.Sharing.ExternalLinkActions initialized" ) } var t , n , r ; return t = e , ( n = [ { key : "registerAction" , value : function ( e ) { return "object" === Re ( e ) && e . icon && e . name && e . url ? ( Ue ( this , Fe ) [ Fe ] . actions . push ( e ) , ! 0 ) : ( console . error ( "Invalid action provided" , e ) , ! 1 ) } } , { key : "state" , get : function ( ) { return Ue ( this , Fe ) [ Fe ] } } ] ) && Qe ( t . prototype , n ) , r && Qe ( t , r ) , e } ( ) , Fe = function ( e ) { return "__private_" + Ge ++ + "_" + e } ( "state" ) ; function ze ( e , t ) { for ( var n = 0 ; n < t . length ; n ++ ) { var r = t [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( e , r . key , r ) } } function He ( e , t ) { if ( ! Object . prototype . hasOwnProperty . call ( e , t ) ) throw new TypeError ( "attempted to use private field on non-instance" ) ; return e } var Ze = 0 ;
2019-10-28 09:46:16 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2020-05-12 12:57:30 +03:00
var We = function ( ) { function e ( ) { ! function ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this , e ) , Object . defineProperty ( this , Ve , { writable : ! 0 , value : void 0 } ) , He ( this , Ve ) [ Ve ] = [ ] } var t , n , r ; return t = e , ( n = [ { key : "registerSection" , value : function ( e ) { He ( this , Ve ) [ Ve ] . push ( e ) } } , { key : "getSections" , value : function ( ) { return He ( this , Ve ) [ Ve ] } } ] ) && ze ( t . prototype , n ) , r && ze ( t , r ) , e } ( ) , Ve = function ( e ) { return "__private_" + Ze ++ + "_" + e } ( "sections" ) ;
2019-10-28 09:46:16 +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-05-12 12:57:30 +03:00
window . OCA . Sharing || ( window . OCA . Sharing = { } ) , Object . assign ( window . OCA . Sharing , { ShareSearch : new Pe } ) , Object . assign ( window . OCA . Sharing , { ExternalLinkActions : new Ye } ) , Object . assign ( window . OCA . Sharing , { ShareTabSections : new We } ) , window . addEventListener ( "DOMContentLoaded" , ( function ( ) { OCA . Files && OCA . Files . Sidebar && OCA . Files . Sidebar . registerTab ( new OCA . Files . Sidebar . Tab ( "sharing" , ke ) ) } ) ) } , function ( e , t , n ) { "use strict" ; function r ( e , t ) { if ( t . length < e ) throw new TypeError ( e + " argument" + ( e > 1 ? "s" : "" ) + " required, but only " + t . length + " present" ) } function o ( e ) { r ( 1 , arguments ) ; var t = Object . prototype . toString . call ( e ) ; return e instanceof Date || "object" == typeof e && "[object Date]" === t ? new Date ( e . getTime ( ) ) : "number" == typeof e || "[object Number]" === t ? new Date ( e ) : ( "string" != typeof e && "[object String]" !== t || "undefined" == typeof console || ( console . warn ( "Starting with v2.0.0-beta.1 date-fns doesn't accept strings as arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule" ) , console . warn ( ( new Error ) . stack ) ) , new Date ( NaN ) ) } function i ( e ) { r ( 1 , arguments ) ; var t = o ( e ) , n = new Date ( 0 ) ; return n . setFullYear ( t . getFullYear ( ) , 0 , 1 ) , n . setHours ( 0 , 0 , 0 , 0 ) , n } function a ( e ) { r ( 1 , arguments ) ; var t = o ( e ) ; return t . setDate ( 1 ) , t . setHours ( 0 , 0 , 0 , 0 ) , t } function s ( e ) { r ( 1 , arguments ) ; var t = o ( e ) ; return t . setHours ( 0 , 0 , 0 , 0 ) , t } function c ( e ) { if ( null === e || ! 0 === e || ! 1 === e ) return NaN ; var t = Number ( e ) ; return isNaN ( t ) ? t : t < 0 ? Math . ceil ( t ) : Math . floor ( t ) } function l ( e ) { r ( 1 , arguments ) ; var t = o ( e ) , n = t . getFullYear ( ) , i = t . getMonth ( ) , a = new Date ( 0 ) ; return a . setFullYear ( n , i + 1 , 0 ) , a . setHours ( 0 , 0 , 0 , 0 ) , a . getDate ( ) } function A ( e , t ) { r ( 2 , arguments ) ; var n = o ( e ) , i = c ( t ) , a = n . getMonth ( ) + i , s = new Date ( 0 ) ; s . setFullYear ( n . getFullYear ( ) , a , 1 ) , s . setHours ( 0 , 0 , 0 , 0 ) ; var A = l ( s ) ; return n . setMonth ( a , Math . min ( A , n . getDate ( ) ) ) , n } function u ( e , t ) { r ( 2 , arguments ) ; var n = c ( t ) ; return A ( e , - n ) } function d ( e , t ) { r ( 2 , arguments ) ; var n = c ( t ) ; return A ( e , 12 * n ) } function p ( e , t ) { r ( 2 , arguments ) ; var n = o ( e ) , i = c ( t ) ; return isNaN ( n ) ? new Date ( NaN ) : ( n . setFullYear ( i ) , n ) } function f ( e , t ) { r ( 2 , arguments ) ; var n = o ( e ) , i = c ( t ) , a = n . getFullYear ( ) , s = n . getDate ( ) , A = new Date ( 0 ) ; A . setFullYear ( a , i , 15 ) , A . setHours ( 0 , 0 , 0 , 0 ) ; var u = l ( A ) ; return n . setMonth ( i , Math . min ( s , u ) ) , n } function m ( e , t , n ) { return t in e ? Object . defineProperty ( e , t , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : e [ t ] = n , e } function h ( ) { return ( h = Object . assign || function ( e ) { for ( var t = 1 ; t < arguments . length ; t ++ ) { var n = arguments [ t ] ; for ( var r in n ) Object . prototype . hasOwnProperty . call ( n , r ) && ( e [ r ] = n [ r ] ) } return e } ) . apply ( this , arguments ) } function g ( e , t ) { var n = Object . keys ( e ) ; if ( Object . getOwnPropertySymbols ) { var r = Object . getOwnPropertySymbols ( e ) ; t && ( r = r . filter ( ( function ( t ) { return Object . getOwnPropertyDescriptor ( e , t ) . enumerable } ) ) ) , n . push . apply ( n , r ) } return n } function v ( e ) { for ( var t = 1 ; t < arguments . length ; t ++ ) { var n = null != arguments [ t ] ? arguments [ t ] : { } ; t % 2 ? g ( n , ! 0 ) . forEach ( ( function ( t ) { m ( e , t , n [ t ] ) } ) ) : Object . getOwnPropertyDescriptors ? Object . defineProperties ( e , Object . getOwnPropertyDescriptors ( n ) ) : g ( n ) . forEach ( ( function ( t ) { Object . defineProperty ( e , t , Object . getOwnPropertyDescriptor ( n , t ) ) } ) ) } return e } function y ( e , t ) { return function ( e ) { if ( Array . isArray ( e ) ) return e } ( e ) || function ( e , t ) { if ( ! ( Symbol . iterator in Object ( e ) ) && "[object Arguments]" !== Object . prototype . toString . call ( e ) ) return ; var n = [ ] , r = ! 0 , o = ! 1 , i = void 0 ; try { for ( var a , s = e [ Symbol . iterator ] ( ) ; ! ( r = ( a = s . next ( ) ) . done ) && ( n . push ( a . value ) , ! t || n . length !== t ) ; r = ! 0 ) ; } catch ( e ) { o = ! 0 , i = e } finally { try { r || null == s . return || s . return ( ) } finally { if ( o ) throw i } } return n } ( e , t ) || function ( ) { throw new TypeError ( "Invalid attempt to destructure non-iterable instance" ) } ( ) } function b ( e ) { return e instanceof Date || "[object Date]" === Object . prototype . toString . call ( e ) } function x ( e ) { return b ( e ) ? new Date ( e . getTime ( ) ) : null == e ? new Date ( NaN ) : new Date ( e ) } function w ( e ) { return b ( e ) && ! isNaN ( e . getTime ( ) ) } function M ( e ) { var t = arguments . length > 1 && void 0 !== arguments [ 1 ] ? arguments [ 1 ] : 0 ; if ( ! ( t >= 0 && t <= 6 ) ) throw new RangeError ( "weekStartsOn must be between 0 and 6" ) ; var n = x ( e ) , r = n . getDay ( ) , o = ( r + 7 - t ) % 7 ; return n . setDate ( n . getDate ( ) - o ) , n . setHours ( 0 , 0 , 0 , 0 ) , n } function T ( e ) { var t = arguments . length > 1 && void 0 !== arguments [ 1 ] ? arguments [ 1 ] : { } , n = t . firstDay
2019-10-28 09:46:16 +03:00
//# sourceMappingURL=files_sharing_tab.js.map