2020-03-22 21:46:15 +03:00
! function ( t ) { var e = { } ; function n ( r ) { if ( e [ r ] ) return e [ r ] . exports ; var o = e [ r ] = { i : r , l : ! 1 , exports : { } } ; return t [ r ] . call ( o . exports , o , o . exports , n ) , o . l = ! 0 , o . exports } n . m = t , n . c = e , n . d = function ( t , e , r ) { n . o ( t , e ) || Object . defineProperty ( t , e , { enumerable : ! 0 , get : r } ) } , n . r = function ( t ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( t , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( t , "__esModule" , { value : ! 0 } ) } , n . t = function ( t , e ) { if ( 1 & e && ( t = n ( t ) ) , 8 & e ) return t ; if ( 4 & e && "object" == typeof t && t && t . _ _esModule ) return t ; var r = Object . create ( null ) ; if ( n . r ( r ) , Object . defineProperty ( r , "default" , { enumerable : ! 0 , value : t } ) , 2 & e && "string" != typeof t ) for ( var o in t ) n . d ( r , o , function ( e ) { return t [ e ] } . bind ( null , o ) ) ; return r } , n . n = function ( t ) { var e = t && t . _ _esModule ? function ( ) { return t . default } : function ( ) { return t } ; return n . d ( e , "a" , e ) , e } , n . o = function ( t , e ) { return Object . prototype . hasOwnProperty . call ( t , e ) } , n . p = "/js/" , n ( n . s = 644 ) } ( [ function ( t , e , n ) { ( function ( e ) { var n = function ( t ) { return t && t . Math == Math && t } ; t . exports = n ( "object" == typeof globalThis && globalThis ) || n ( "object" == typeof window && window ) || n ( "object" == typeof self && self ) || n ( "object" == typeof e && e ) || Function ( "return this" ) ( ) } ) . call ( this , n ( 5 ) ) } , function ( t , e , n ) { var r = n ( 0 ) , o = n ( 177 ) , i = n ( 7 ) , a = n ( 96 ) , s = n ( 182 ) , c = n ( 364 ) , A = o ( "wks" ) , l = r . Symbol , u = c ? l : l && l . withoutSetter || a ; t . exports = function ( t ) { return i ( A , t ) || ( s && i ( l , t ) ? A [ t ] = l [ t ] : A [ t ] = u ( "Symbol." + t ) ) , A [ t ] } } , function ( t , e , n ) { "use strict" ; var r = n ( 146 ) , o = Object . prototype . toString ; function i ( t ) { return "[object Array]" === o . call ( t ) } function a ( t ) { return void 0 === t } function s ( t ) { return null !== t && "object" == typeof t } function c ( t ) { return "[object Function]" === o . call ( t ) } function A ( t , e ) { if ( null != t ) if ( "object" != typeof t && ( t = [ t ] ) , i ( t ) ) for ( var n = 0 , r = t . length ; n < r ; n ++ ) e . call ( null , t [ n ] , n , t ) ; else for ( var o in t ) Object . prototype . hasOwnProperty . call ( t , o ) && e . call ( null , t [ o ] , o , t ) } t . exports = { isArray : i , isArrayBuffer : function ( t ) { return "[object ArrayBuffer]" === o . call ( t ) } , isBuffer : function ( t ) { return null !== t && ! a ( t ) && null !== t . constructor && ! a ( t . constructor ) && "function" == typeof t . constructor . isBuffer && t . constructor . isBuffer ( t ) } , isFormData : function ( t ) { return "undefined" != typeof FormData && t instanceof FormData } , isArrayBufferView : function ( t ) { return "undefined" != typeof ArrayBuffer && ArrayBuffer . isView ? ArrayBuffer . isView ( t ) : t && t . buffer && t . buffer instanceof ArrayBuffer } , isString : function ( t ) { return "string" == typeof t } , isNumber : function ( t ) { return "number" == typeof t } , isObject : s , isUndefined : a , isDate : function ( t ) { return "[object Date]" === o . call ( t ) } , isFile : function ( t ) { return "[object File]" === o . call ( t ) } , isBlob : function ( t ) { return "[object Blob]" === o . call ( t ) } , isFunction : c , isStream : function ( t ) { return s ( t ) && c ( t . pipe ) } , isURLSearchParams : function ( t ) { return "undefined" != typeof URLSearchParams && t instanceof URLSearchParams } , isStandardBrowserEnv : function ( ) { return ( "undefined" == typeof navigator || "ReactNative" !== navigator . product && "NativeScript" !== navigator . product && "NS" !== navigator . product ) && ( "undefined" != typeof window && "undefined" != typeof document ) } , forEach : A , merge : function t ( ) { var e = { } ; function n ( n , r ) { "object" == typeof e [ r ] && "object" == typeof n ? e [ r ] = t ( e [ r ] , n ) : e [ r ] = n } for ( var r = 0 , o = arguments . length ; r < o ; r ++ ) A ( arguments [ r ] , n ) ; return e } , deepMerge : function t ( ) { var e = { } ; function n ( n , r ) { "object" == typeof e [ r ] && "object" == typeof n ? e [ r ] = t ( e [ r ] , n ) : e [ r ] = "object" == typeof n ? t ( { } , n ) : n } for ( var r = 0 , o = arguments . length ; r < o ; r ++ ) A ( arguments [ r ] , n ) ; return e } , extend : function ( t , e , n ) { return A ( e , ( function ( e , o ) { t [ o ] = n && "function" == typeof e ? r ( e , n ) : e } ) ) , t } , trim : function ( t ) { return t . replace ( /^\s*/ , "" ) . replace ( /\s*$/ , "" ) } } } , function ( t , e , n ) { var r = n ( 6 ) , o = n ( 252 ) , i = n ( 23 ) , a = n ( 255 ) , s = n ( 256 ) , c = n ( 440 ) , A = o ( "wks" ) , l = r . Symbol , u = c ? l : l && l . withoutSetter || a ; t . exports = function ( t ) { return i ( A , t ) || ( s && i ( l , t ) ? A [ t ] = l [ t ] : A [ t ] = u ( "Symbol." + t ) ) , A [ t ] } } , function ( t , e ) { t . exports = function ( t ) { try { return ! ! t ( ) } catch ( t ) { return ! 0 } } } , function ( t , e ) { var n ; n = function ( ) { return this } ( ) ; try { n = n || new Function ( "return this" ) ( ) } catch ( t ) { "object" == typeof window && ( n = window ) } t . exports = n } , function ( t , e , n ) { ( function ( e ) { var n = function ( t ) { return t && t . Math == Math && t } ; t . exports = n ( "object" == typeof globalThis && globalT
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-03-22 21:46:15 +03:00
var r = Object . freeze ( { } ) ; function o ( t ) { return null == t } function i ( t ) { return null != t } function a ( t ) { return ! 0 === t } function s ( t ) { return "string" == typeof t || "number" == typeof t || "symbol" == typeof t || "boolean" == typeof t } function c ( t ) { return null !== t && "object" == typeof t } var A = Object . prototype . toString ; function l ( t ) { return "[object Object]" === A . call ( t ) } function u ( t ) { return "[object RegExp]" === A . call ( t ) } function f ( t ) { var e = parseFloat ( String ( t ) ) ; return e >= 0 && Math . floor ( e ) === e && isFinite ( t ) } function p ( t ) { return i ( t ) && "function" == typeof t . then && "function" == typeof t . catch } function d ( t ) { return null == t ? "" : Array . isArray ( t ) || l ( t ) && t . toString === A ? JSON . stringify ( t , null , 2 ) : String ( t ) } function h ( t ) { var e = parseFloat ( t ) ; return isNaN ( e ) ? t : e } function m ( t , e ) { for ( var n = Object . create ( null ) , r = t . split ( "," ) , o = 0 ; o < r . length ; o ++ ) n [ r [ o ] ] = ! 0 ; return e ? function ( t ) { return n [ t . toLowerCase ( ) ] } : function ( t ) { return n [ t ] } } m ( "slot,component" , ! 0 ) ; var g = m ( "key,ref,slot,slot-scope,is" ) ; function v ( t , e ) { if ( t . length ) { var n = t . indexOf ( e ) ; if ( n > - 1 ) return t . splice ( n , 1 ) } } var b = Object . prototype . hasOwnProperty ; function y ( t , e ) { return b . call ( t , e ) } function x ( t ) { var e = Object . create ( null ) ; return function ( n ) { return e [ n ] || ( e [ n ] = t ( n ) ) } } var w = /-(\w)/g , E = x ( ( function ( t ) { return t . replace ( w , ( function ( t , e ) { return e ? e . toUpperCase ( ) : "" } ) ) } ) ) , M = x ( ( function ( t ) { return t . charAt ( 0 ) . toUpperCase ( ) + t . slice ( 1 ) } ) ) , C = /\B([A-Z])/g , T = x ( ( function ( t ) { return t . replace ( C , "-$1" ) . toLowerCase ( ) } ) ) ; var _ = Function . prototype . bind ? function ( t , e ) { return t . bind ( e ) } : function ( t , e ) { function n ( n ) { var r = arguments . length ; return r ? r > 1 ? t . apply ( e , arguments ) : t . call ( e , n ) : t . call ( e ) } return n . _length = t . length , n } ; function I ( t , e ) { e = e || 0 ; for ( var n = t . length - e , r = new Array ( n ) ; n -- ; ) r [ n ] = t [ n + e ] ; return r } function S ( t , e ) { for ( var n in e ) t [ n ] = e [ n ] ; return t } function B ( t ) { for ( var e = { } , n = 0 ; n < t . length ; n ++ ) t [ n ] && S ( e , t [ n ] ) ; return e } function D ( t , e , n ) { } var k = function ( t , e , n ) { return ! 1 } , O = function ( t ) { return t } ; function N ( t , e ) { if ( t === e ) return ! 0 ; var n = c ( t ) , r = c ( e ) ; if ( ! n || ! r ) return ! n && ! r && String ( t ) === String ( e ) ; try { var o = Array . isArray ( t ) , i = Array . isArray ( e ) ; if ( o && i ) return t . length === e . length && t . every ( ( function ( t , n ) { return N ( t , e [ n ] ) } ) ) ; if ( t instanceof Date && e instanceof Date ) return t . getTime ( ) === e . getTime ( ) ; if ( o || i ) return ! 1 ; var a = Object . keys ( t ) , s = Object . keys ( e ) ; return a . length === s . length && a . every ( ( function ( n ) { return N ( t [ n ] , e [ n ] ) } ) ) } catch ( t ) { return ! 1 } } function L ( t , e ) { for ( var n = 0 ; n < t . length ; n ++ ) if ( N ( t [ n ] , e ) ) return n ; return - 1 } function j ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , t . apply ( this , arguments ) ) } } var R = [ "component" , "directive" , "filter" ] , P = [ "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 : D , parsePlatformTagName : O , mustUseProp : k , async : ! 0 , _lifecycleHooks : P } , G = /a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/ ; function U ( t , e , n , r ) { Object . defineProperty ( t , e , { value : n , enumerable : ! ! r , writable : ! 0 , configurable : ! 0 } ) } var F = new RegExp ( "[^" + G . source + ".$_\\d]" ) ; var Y , z = "__proto__" in { } , H = "undefined" != typeof window , W = "undefined" != typeof WXEnvironment && ! ! WXEnvironment . platform , Z = W && WXEnvironment . platform . toLowerCase ( ) , $ = H && window . navigator . userAgent . toLowerCase ( ) , V = $ && /msie|trident/ . test ( $ ) , J = $ && $ . indexOf ( "msie 9.0" ) > 0 , X = $ && $ . indexOf ( "edge/" ) > 0 , q = ( $ && $ . indexOf ( "android" ) , $ && /iphone|ipad|ipod|ios/ . test ( $ ) || "ios" === Z ) , K = ( $ && /chrome\/\d+/ . test ( $ ) , $ && /phantomjs/ . test ( $ ) , $ && $ . match ( /firefox\/(\d+)/ ) ) , tt = { } . watch , et = ! 1 ; if ( H ) try { var nt = { } ; Object . defineProperty ( nt , "passive" , { get : function ( ) { et = ! 0 } } ) , window . addEventListener ( "test-passive" , null , nt ) } catch ( t ) { } var rt = function ( ) { return void 0 === Y && ( Y = ! H && ! W && void 0 !== t && ( t . process && "server" === t . process . env . VUE _ENV ) ) , Y } , ot = H && window . _ _VUE _DEVTOOLS _GLOBAL _HOOK _ _ ; function it ( t ) { 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-03-22 21:46:15 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "2c44938" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , e . default = r . VTooltip } , , , function ( t , e ) { t . exports = n ( 261 ) } , function ( t , e ) { t . exports = n ( 53 ) } , function ( t , e ) { t . exports = n ( 76 ) } , function ( t , e ) { t . exports = n ( 83 ) } , function ( t , e ) { t . exports = n ( 72 ) } , function ( t , e ) { t . exports = n ( 125 ) } , function ( t , e ) { t . exports = n ( 81 ) } , , function ( t , e ) { t . exports = n ( 84 ) } , , function ( t , e ) { t . exports = n ( 117 ) } , , function ( t , e ) { t . exports = n ( 269 ) } , function ( t , e ) { t . exports = n ( 82 ) } , function ( t , e , n ) { var r = n ( 65 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "6d914181" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 67 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "2fc216d3" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 69 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "b619cfa6" , r , ! 0 , { } ) } , function ( t , e ) { t . exports = n ( 465 ) } , , , function ( t , e , n ) { var r = n ( 83 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "772cb596" , r , ! 0 , { } ) } , function ( t , e ) { } , , , , , function ( t , e , n ) { var r = n ( 42 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "941c791e" , r , ! 0 , { } ) } , function ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . push ( [ t . i , ".vue-tooltip[data-v-2c44938]{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-2c44938][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-2c44938][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-2c44938][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-2c44938][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-2c44938][aria-hidden='true']{visibility:hidden;transition:opacity .15s, visibility .15s;opacity:0}.vue-tooltip[data-v-2c44938][aria-hidden='false']{visibility:visible;transition:opacity .15s;opacity:1}.vue-tooltip[data-v-2c44938] .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-2c44938] .tooltip-arrow{position:absolute;z-index:1;width:0;height:0;margin:0;border-style:solid;border-color:var(--color-main-background)}\n" , "" ] ) , t . exports = e } , , , function ( t , e , 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-03-22 21:46:15 +03:00
function r ( t , e , n ) { this . r = t , this . g = e , this . b = n } function o ( t , e , n ) { var o = [ ] ; o . push ( e ) ; for ( var i = function ( t , e ) { var n = new Array ( 3 ) ; return n [ 0 ] = ( e [ 1 ] . r - e [ 0 ] . r ) / t , n [ 1 ] = ( e [ 1 ] . g - e [ 0 ] . g ) / t , n [ 2 ] = ( e [ 1 ] . b - e [ 0 ] . b ) / t , n } ( t , [ e , n ] ) , a = 1 ; a < t ; a ++ ) { var s = parseInt ( e . r + i [ 0 ] * a , 10 ) , c = parseInt ( e . g + i [ 1 ] * a , 10 ) , A = parseInt ( e . b + i [ 2 ] * a , 10 ) ; o . push ( new r ( s , c , A ) ) } return o } n ( 27 ) , e . a = function ( t ) { t || ( t = 6 ) ; var e = new r ( 182 , 70 , 157 ) , n = new r ( 221 , 203 , 85 ) , i = new r ( 0 , 130 , 201 ) , a = o ( t , e , n ) , s = o ( t , n , i ) , c = o ( t , i , e ) ; return a . concat ( s ) . concat ( c ) } } , , function ( t , e ) { } , function ( t , e , n ) { "use strict" ; n . r ( e ) , n . d ( e , "PopoverMenu" , ( function ( ) { return A } ) ) , n ( 20 ) , n ( 16 ) , n ( 3 ) , n ( 21 ) , n ( 17 ) , n ( 18 ) , n ( 23 ) ; var r = { name : "PopoverMenuItem" , props : { item : { type : Object , required : ! 0 , default : function ( ) { return { key : "nextcloud-link" , href : "https://nextcloud.com" , icon : "icon-links" , text : "Nextcloud" } } , validator : function ( t ) { return ! t . input || - 1 !== [ "text" , "checkbox" ] . indexOf ( t . input ) } } } , computed : { key : function ( ) { return this . item . key ? this . item . key : Math . round ( 16 * Math . random ( ) * 1e6 ) . toString ( 16 ) } , iconIsUrl : function ( ) { try { return new URL ( this . item . icon ) , ! 0 } catch ( t ) { return ! 1 } } } , methods : { action : function ( t ) { this . item . action && this . item . action ( t ) } } } , o = ( n ( 64 ) , n ( 66 ) , n ( 0 ) ) , i = { name : "PopoverMenu" , components : { PopoverMenuItem : Object ( o . a ) ( r , ( function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "li" , [ t . item . href ? n ( "a" , { staticClass : "focusable" , attrs : { href : t . item . href ? t . item . href : "#" , target : t . item . target ? t . item . target : "" , download : t . item . download , rel : "noreferrer noopener" } , on : { click : t . action } } , [ t . iconIsUrl ? n ( "img" , { attrs : { src : t . item . icon } } ) : n ( "span" , { class : t . item . icon } ) , t . _v ( " " ) , t . item . text && t . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . text ) + "\n\t\t\t" ) ] ) , n ( "br" ) , t . _v ( " " ) , n ( "span" , { staticClass : "menuitem-text-detail" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . longtext ) + "\n\t\t\t" ) ] ) ] ) : t . item . text ? n ( "span" , [ t . _v ( "\n\t\t\t" + t . _s ( t . item . text ) + "\n\t\t" ) ] ) : t . item . longtext ? n ( "p" , [ t . _v ( "\n\t\t\t" + t . _s ( t . item . longtext ) + "\n\t\t" ) ] ) : t . _e ( ) ] ) : t . item . input ? n ( "span" , { staticClass : "menuitem" , class : { active : t . item . active } } , [ "checkbox" !== t . item . input ? n ( "span" , { class : t . item . icon } ) : t . _e ( ) , t . _v ( " " ) , "text" === t . item . input ? n ( "form" , { class : t . item . input , on : { submit : function ( e ) { return e . preventDefault ( ) , t . item . action ( e ) } } } , [ n ( "input" , { attrs : { type : t . item . input , placeholder : t . item . text , required : "" } , domProps : { value : t . item . value } } ) , t . _v ( " " ) , n ( "input" , { staticClass : "icon-confirm" , attrs : { type : "submit" , value : "" } } ) ] ) : [ "checkbox" === t . item . input ? n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : t . item . model , expression : "item.model" } ] , class : t . item . input , attrs : { id : t . key , type : "checkbox" } , domProps : { checked : Array . isArray ( t . item . model ) ? t . _i ( t . item . model , null ) > - 1 : t . item . model } , on : { change : [ function ( e ) { var n = t . item . model , r = e . target , o = ! ! r . checked ; if ( Array . isArray ( n ) ) { var i = t . _i ( n , null ) ; r . checked ? i < 0 && t . $set ( t . item , "model" , n . concat ( [ null ] ) ) : i > - 1 && t . $set ( t . item , "model" , n . slice ( 0 , i ) . concat ( n . slice ( i + 1 ) ) ) } else t . $set ( t . item , "model" , o ) } , t . item . action ] } } ) : "radio" === t . item . input ? n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : t . item . model , expression : "item.model" } ] , class : t . item . input , attrs : { id : t . key , type : "radio" } , domProps : { checked : t . _q ( t . item . model , null ) } , on : { change : [ function ( e ) { return t . $set ( t . item , "model" , null ) } , t . item . action ] } } ) : n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : t . item . model , expression : "item.model" } ] , class : t . item . input , attrs : { id : t . key , type : t . item . input } , domProps : { value : t . item . model } , on : { change : t . item . action , input : function ( e ) { e . target . composing || t . $set ( t . item , "model" , e . target . value ) } } } ) , t . _v ( " " ) , n ( "label" , { attrs : { for : t . key } , on : { click : function ( e ) { return e . stopPropagation ( ) , e . preventDefault ( ) , t . item . action ( e ) } } } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . text ) + "\n\t\t\t" ) ] ) ] ] , 2 ) : t . item . action ? n ( "button" , { staticClass : "menuitem focusable" , class : { active : t . item . active } , attrs : { disabled : t . item . disabled } , on : { click : function ( e ) { return e . stopPropagation ( ) , e . preventDefault ( ) , t . item . action ( e ) } } } , [ n ( "span" , { class : t . item . icon } ) , t . _v ( " " ) , t . item . text && t . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ t . _v ( " \ n \ t
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-03-22 21:46:15 +03:00
* /e.default=A},function(t,e){t.exports=n(13)},function(t,e,n){"use strict";n.r(e),n.d(e,"Avatar",(function(){return v})),n(27),n(63),n(32),n(25),n(3),n(61),n(62);var r=n(15),o=n(48),i=n(49),a=n.n(i),s=n(12),c=(n(19),n(81),n(28),n(60)),A=n.n(c),l=n(45);function u(t,e,n,r,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,o)}function f(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){u(i,r,o,a,s,"next",t)}function s(t){u(i,r,o,a,s,"throw",t)}a(void 0)}))}}var p={name:"Avatar",directives:{tooltip:s.default,ClickOutside:r.directive},components:{PopoverMenu:o.PopoverMenu},props:{url:{type:String,default:void 0},iconClass:{type:String,default:void 0},user:{type:String,default:void 0},isGuest:{type:Boolean,default:!1},displayName:{type:String,default:void 0},size:{type:Number,default:32},allowPlaceholder:{type:Boolean,default:!0},disableTooltip:{type:Boolean,default:!1},disableMenu:{type:Boolean,default:!1},tooltipMessage:{type:String,default:null},isNoUser:{type:Boolean,default:!1},status:{type:String,default:null,validator:function(t){switch(t){case"positive":case"negative":case"neutral":return!0}return!1}},statusColor:{type:[Number,String],default:null,validator:function(t){return/ ^ ( [ a - f0 - 9 ] { 3 } ) { 1 , 2 } $ / i . test ( t ) } } , menuPosition : { type : String , default : "center" } } , data : function ( ) { return { avatarUrlLoaded : null , avatarSrcSetLoaded : null , userDoesNotExist : ! 1 , isAvatarLoaded : ! 1 , isMenuLoaded : ! 1 , contactsMenuActions : [ ] , contactsMenuOpenState : ! 1 } } , computed : { getUserIdentifier : function ( ) { return this . isDisplayNameDefined ? this . displayName : this . isUserDefined ? this . user : "" } , isUserDefined : function ( ) { return void 0 !== this . user } , isDisplayNameDefined : function ( ) { return void 0 !== this . displayName } , isUrlDefined : function ( ) { return void 0 !== this . url } , hasMenu : function ( ) { return ! this . disableMenu && ( this . isMenuLoaded ? this . menu . length > 0 : ! ( this . user === OC . getCurrentUser ( ) . uid || this . userDoesNotExist || this . url ) ) } , shouldShowPlaceholder : function ( ) { return this . allowPlaceholder && this . userDoesNotExist } , avatarStyle : function ( ) { var t = { width : this . size + "px" , height : this . size + "px" , lineHeight : this . size + "px" , fontSize : Math . round ( . 55 * this . size ) + "px" } ; if ( ! this . iconClass && ! this . avatarSrcSetLoaded ) { var e = function ( t ) { var e = t . toLowerCase ( ) ; return null === e . match ( /^([0-9a-f]{4}-?){8}$/ ) && ( e = A ( ) ( e ) ) , e = e . replace ( /[^0-9a-f]/g , "" ) , Object ( l . a ) ( 6 ) [ function ( t , e ) { for ( var n = 0 , r = [ ] , o = 0 ; o < t . length ; o ++ ) r . push ( parseInt ( t . charAt ( o ) , 16 ) % 16 ) ; for ( var i in r ) n += r [ i ] ; return parseInt ( parseInt ( n , 10 ) % 18 , 10 ) } ( e ) ] } ( this . getUserIdentifier ) ; t . backgroundColor = "rgb(" + e . r + ", " + e . g + ", " + e . b + ")" } return t } , tooltip : function ( ) { return ! this . disableTooltip && ( this . tooltipMessage ? this . tooltipMessage : this . displayName ) } , initials : function ( ) { return this . shouldShowPlaceholder ? this . getUserIdentifier . charAt ( 0 ) . toUpperCase ( ) : "?" } , menu : function ( ) { return this . contactsMenuActions . map ( ( function ( t ) { return { href : t . hyperlink , icon : t . icon , text : t . title } } ) ) } } , watch : { url : function ( ) { this . userDoesNotExist = ! 1 , this . loadAvatarUrl ( ) } , user : function ( ) { this . userDoesNotExist = ! 1 , this . isMenuLoaded = ! 1 , this . loadAvatarUrl ( ) } } , mounted : function ( ) { this . loadAvatarUrl ( ) } , methods : { toggleMenu : function ( ) { var t = this ; return f ( regeneratorRuntime . mark ( ( function e ( ) { return regeneratorRuntime . wrap ( ( function ( e ) { for ( ; ; ) switch ( e . prev = e . next ) { case 0 : if ( t . hasMenu ) { e . next = 2 ; break } return e . abrupt ( "return" ) ; case 2 : if ( t . contactsMenuOpenState ) { e . next = 5 ; break } return e . next = 5 , t . fetchContactsMenu ( ) ; case 5 : t . contactsMenuOpenState = ! t . contactsMenuOpenState ; case 6 : case "end" : return e . stop ( ) } } ) , e ) } ) ) ) ( ) } , closeMenu : function ( ) { this . contactsMenuOpenState = ! 1 } , fetchContactsMenu : function ( ) { var t = this ; return f ( regeneratorRuntime . mark ( ( function e ( ) { var n , r , o ; return regeneratorRuntime . wrap ( ( function ( e ) { for ( ; ; ) switch ( e . prev = e . next ) { case 0 : return e . prev = 0 , n = encodeURIComponent ( t . user ) , e . next = 4 , a . a . post ( OC . generateUrl ( "contactsmenu/findOne" ) , "shareType=0&shareWith=" . concat ( n ) ) ; case 4 : r = e . sent , o = r . data , t . contactsMenuActions = o . topAction ? [ o . topAction ] . concat ( o . actions ) : o . actions , e . next = 12 ; break ; case 9 : e . prev =
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-03-22 21:46:15 +03:00
* / e . d e f a u l t = v } , , , , , , , , , , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 4 6 6 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 4 6 8 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 4 7 3 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 4 7 4 ) } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 2 9 ) ; n . n ( r ) . a } , f u n c t i o n ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . p u s h ( [ t . i , " \ n b u t t o n . m e n u i t e m [ d a t a - v - 8 d c 4 e f b 0 ] { \ n \ t t e x t - a l i g n : l e f t ; \ n } \ n b u t t o n . m e n u i t e m * [ d a t a - v - 8 d c 4 e f b 0 ] { \ n \ t c u r s o r : p o i n t e r ; \ n } \ n b u t t o n . m e n u i t e m [ d a t a - v - 8 d c 4 e f b 0 ] : d i s a b l e d { \ n \ t o p a c i t y : 0 . 5 ! i m p o r t a n t ; \ n \ t c u r s o r : d e f a u l t ; \ n } \ n b u t t o n . m e n u i t e m : d i s a b l e d * [ d a t a - v - 8 d c 4 e f b 0 ] { \ n \ t c u r s o r : d e f a u l t ; \ n } \ n . m e n u i t e m . a c t i v e [ d a t a - v - 8 d c 4 e f b 0 ] { \ n \ t b o x - s h a d o w : i n s e t 2 p x 0 v a r ( - - c o l o r - p r i m a r y ) ; \ n \ t b o r d e r - r a d i u s : 0 ; \ n } \ n " , " " ] ) , t . e x p o r t s = e } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 3 0 ) ; n . n ( r ) . a } , f u n c t i o n ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . p u s h ( [ t . i , " l i [ d a t a - v - 8 d c 4 e f b 0 ] { d i s p l a y : f l e x ; f l e x : 0 0 a u t o } l i . h i d d e n [ d a t a - v - 8 d c 4 e f b 0 ] { d i s p l a y : n o n e } l i > b u t t o n [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m [ d a t a - v - 8 d c 4 e f b 0 ] { c u r s o r : p o i n t e r ; l i n e - h e i g h t : 4 4 p x ; b o r d e r : 0 ; b o r d e r - r a d i u s : 0 ; b a c k g r o u n d - c o l o r : t r a n s p a r e n t ; d i s p l a y : f l e x ; a l i g n - i t e m s : f l e x - s t a r t ; h e i g h t : a u t o ; m a r g i n : 0 ; p a d d i n g : 0 ; f o n t - w e i g h t : n o r m a l ; b o x - s h a d o w : n o n e ; w i d t h : 1 0 0 % ; c o l o r : v a r ( - - c o l o r - m a i n - t e x t ) ; w h i t e - s p a c e : n o w r a p ; o p a c i t y : . 7 } l i > b u t t o n s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > b u t t o n s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > b u t t o n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > b u t t o n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] { m i n - w i d t h : 0 ; m i n - h e i g h t : 0 ; b a c k g r o u n d - p o s i t i o n : 1 4 p x c e n t e r ; b a c k g r o u n d - s i z e : 1 6 p x } l i > b u t t o n s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > b u t t o n s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] { p a d d i n g : 2 2 p x 0 2 2 p x 4 4 p x } l i > b u t t o n : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > s p a n [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > b u t t o n : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > i n p u t [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > b u t t o n : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > f o r m [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > a : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > s p a n [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > a : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > i n p u t [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > a : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > f o r m [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > . m e n u i t e m : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > s p a n [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > . m e n u i t e m : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > i n p u t [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > . m e n u i t e m : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > f o r m [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d { m a r g i n - l e f t : 4 4 p x } l i > b u t t o n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > b u t t o n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] { p a d d i n g : 0 1 4 p x 0 4 4 p x } l i > b u t t o n [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( : d i s a b l e d ) : h o v e r , l i > b u t t o n [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( : d i s a b l e d ) : f o c u s , l i > b u t t o n : n o t ( : d i s a b l e d ) . a c t i v e [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( : d i s a b l e d ) : h o v e r , l i > a [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( : d i s a b l e d ) : f o c u s , l i > a : n o t ( : d i s a b l e d ) . a c t i v e [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( : d i s a b l e d ) : h o v e r , l i > . m e n u i t e m [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( : d i s a b l e d ) : f o c u s , l i > . m e n u i t e m : n o t ( : d i s a b l e d ) . a c t i v e [ d a t a - v - 8 d c 4 e f b 0 ] { o p a c i t y : 1 ! i m p o r t a n t } l i > b u t t o n . a c t i o n [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a . a c t i o n [ d a t a - v
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-03-22 21:46:15 +03:00
* / e . 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 6 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 5 3 ) } , 1 7 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 7 6 ) } , 1 8 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 8 3 ) } , 2 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; f u n c t i o n r ( t , e ) { f o r ( v a r n = [ ] , r = { } , o = 0 ; o < e . l e n g t h ; o + + ) { v a r i = e [ o ] , a = i [ 0 ] , s = { i d : t + " : " + 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 ( e ) , n . d ( e , " 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 , A = ! 1 , l = f u n c t i o n ( ) { } , u = n u l l , f = " 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 ( t , e , n , o ) { A = n , u = o | | { } ; v a r a = r ( t , e ) ; r e t u r n d ( a ) , f u n c t i o n ( e ) { 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 ( e ? d ( a = r ( t , e ) ) : 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 A = 0 ; A < c . p a r t s . l e n g t h ; A + + ) c . p a r t s [ A ] ( ) ; d e l e t e i [ c . i d ] } } } } f u n c t i o n d ( t ) { f o r ( v a r e = 0 ; e < t . l e n g t h ; e + + ) { v a r n = t [ e ] , 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 ( m ( 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 ( m ( 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 h ( ) { v a r t = 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 t . t y p e = " t e x t / c s s " , a . a p p e n d C h i l d ( t ) , t } f u n c t i o n m ( t ) { v a r e , 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 ~ = " ' + t . i d + ' " ] ' ) ; i f ( r ) { i f ( A ) r e t u r n l ; 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 ( f ) { v a r o = c + + ; r = s | | ( s = h ( ) ) , e = b . b i n d ( n u l l , r , o , ! 1 ) , n = b . b i n d ( n u l l , r , o , ! 0 ) } e l s e r = h ( ) , e = y . 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 e ( t ) , f u n c t i o n ( r ) { i f ( r ) { i f ( r . c s s = = = t . c s s & & r . m e d i a = = = t . m e d i a & & r . s o u r c e M a p = = = t . s o u r c e M a p ) r e t u r n ; e ( t = r ) } e l s e n ( ) } } v a r g , v = ( g = [ ] , f u n c t i o n ( t , e ) { r e t u r n g [ t ] = e , 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 b ( t , e , n , r ) { v a r o = n ? " " : r . c s s ; i f ( t . s t y l e S h e e t ) t . s t y l e S h e e t . c s s T e x t = v ( e , 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 = t . c h i l d N o d e s ; a [ e ] & & t . r e m o v e C h i l d ( a [ e ] ) , a . l e n g t h ? t . i n s e r t B e f o r e ( i , a [ e ] ) : t . a p p e n d C h i l d ( i ) } } f u n c t i o n y ( t , e ) { v a r n = e . c s s , r = e . m e d i a , o = e . s o u r c e M a p ; i f ( r & & t . s e t A t t r i b u t e ( " m e d i a " , r ) , u . s s r I d & & t . s e t A t t r i b u t e ( " d a t a - v u e - s s r - i d " , e . 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 ) ) ) ) + " * / " ) , t . s t y l e S h e e t ) t . 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 ( ; t . f i r s t C h i l d ; ) t . r e m o v e C h i l d ( t . f i r s t C h i l d ) ; t . 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 3 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 8 4 ) } , 2 4 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 8 5 ) } , 2 6 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 1 6 ) , n ( 3 ) , n ( 1 7 ) , n ( 1 8 ) , n ( 2 3 ) ; v a r r = n ( 1 4 ) , o = ( n ( 6 ) , f u n c t i o n ( t , e ) { f o r ( v a r n = t . $ p a r e n t ; n ; ) { i f ( n . $ o p t i o n s . n a m e = = = e ) r e t u r n n ; n = n . $ p a r e n t } } ) ; e . a = { m i x i n s : [ r . a ] , p r o p s : { i c o n : { t y p e : S t r i n g , d e f a u l t : " " } , t i t l e : { t y p e : S t r i n g , d e f a u l t : " " } , c l o s e A f t e r C l i c k : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , c o m p u t e d : { i s I c o n U r l : f u n c t i o n ( ) { t r y { r e t u r n n e w U R L ( t h i s . i c o n ) } c a t c h ( t ) { r e t u r n ! 1 } } } , m e t h o d s : { o n C l i c k : f u n c t i o n ( t ) { i f ( t h i s . $ e m i t ( " c l i c k " , t ) , t h i s . c l o s e A f t e r C l i c k ) { v a r e = o ( t h i s , " A c t i o n s " ) ; e & & e . c l o s e M e n u & & e . c l o s e M e n u ( ) } } } } } , 3 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 4 5 ) } , 4 3 : f u n c t i o n ( t , e , n ) { v a r r = n ( 1 1 6 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 4 a 5 8 0 9 1 2 " , r , ! 0 , { } ) } , 5 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 1 5 ) } , 5 1 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = { n a m e : " A c t i o n B u t t o n " , m i x i n s : [ n ( 2 6 ) . a ] , p r o p s : { d i s a b l e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , c o m p u t e d : { i s F o c u s a b l e : f u n c t i o n ( ) { r e t u r n ! t h i s . d i s a b l e d } } } , o = ( n ( 1 1 5 ) , n (
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-01-16 02:03:29 +03:00
* /
2020-03-29 04:15:45 +03:00
e . default = r . a } } ) } , function ( t , e , n ) { "use strict" ; t . exports = function ( t ) { var e = [ ] ; return e . toString = function ( ) { return this . map ( ( function ( e ) { var n = function ( t , e ) { var n = t [ 1 ] || "" , r = t [ 3 ] ; if ( ! r ) return n ; if ( e && "function" == typeof btoa ) { var o = ( a = r , s = btoa ( unescape ( encodeURIComponent ( JSON . stringify ( a ) ) ) ) , c = "sourceMappingURL=data:application/json;charset=utf-8;base64," . concat ( s ) , "/*# " . concat ( c , " */" ) ) , i = r . sources . map ( ( function ( t ) { return "/*# sourceURL=" . concat ( r . sourceRoot || "" ) . concat ( t , " */" ) } ) ) ; return [ n ] . concat ( i ) . concat ( [ o ] ) . join ( "\n" ) } var a , s , c ; return [ n ] . join ( "\n" ) } ( e , t ) ; return e [ 2 ] ? "@media " . concat ( e [ 2 ] , " {" ) . concat ( n , "}" ) : n } ) ) . join ( "" ) } , e . i = function ( t , n ) { "string" == typeof t && ( t = [ [ null , t , "" ] ] ) ; for ( var r = 0 ; r < t . length ; r ++ ) { var o = [ ] . concat ( t [ r ] ) ; n && ( o [ 2 ] ? o [ 2 ] = "" . concat ( n , " and " ) . concat ( o [ 2 ] ) : o [ 2 ] = n ) , e . push ( o ) } } , e } } , function ( t , e ) { var n = { } . toString ; t . exports = function ( t ) { return n . call ( t ) . slice ( 8 , - 1 ) } } , function ( t , e , n ) { var r = n ( 29 ) , o = n ( 30 ) . f , i = Function . prototype , a = i . toString , s = /^\s*function ([^ (]*)/ ; r && ! ( "name" in i ) && o ( i , "name" , { configurable : ! 0 , get : function ( ) { try { return a . call ( this ) . match ( s ) [ 1 ] } catch ( t ) { return "" } } } ) } , function ( t , e , n ) { "use strict" ; var r = n ( 73 ) , o = n ( 527 ) , i = n ( 129 ) , a = n ( 70 ) , s = n ( 453 ) , c = a . set , A = a . getterFor ( "Array Iterator" ) ; t . exports = s ( Array , "Array" , ( function ( t , e ) { c ( this , { type : "Array Iterator" , target : r ( t ) , index : 0 , kind : e } ) } ) , ( function ( ) { var t = A ( this ) , e = t . target , n = t . kind , r = t . index ++ ; return ! e || r >= e . length ? ( t . target = void 0 , { value : void 0 , done : ! 0 } ) : "keys" == n ? { value : r , done : ! 1 } : "values" == n ? { value : e [ r ] , done : ! 1 } : { value : [ r , e [ r ] ] , done : ! 1 } } ) , "values" ) , i . Arguments = i . Array , o ( "keys" ) , o ( "values" ) , o ( "entries" ) } , function ( t , e ) { t . exports = function ( t ) { return "object" == typeof t ? null !== t : "function" == typeof t } } , function ( t , e , n ) { var r = n ( 33 ) , o = n ( 137 ) , i = n ( 132 ) ; t . exports = r ? function ( t , e , n ) { return o . f ( t , e , i ( 1 , n ) ) } : function ( t , e , n ) { return t [ e ] = n , t } } , function ( t , e , n ) { var r = n ( 36 ) , o = n ( 161 ) , i = n ( 155 ) ; t . exports = r ? function ( t , e , n ) { return o . f ( t , e , i ( 1 , n ) ) } : function ( t , e , n ) { return t [ e ] = n , t } } , function ( t , e ) { t . exports = function ( t , e ) { return { enumerable : ! ( 1 & t ) , configurable : ! ( 2 & t ) , writable : ! ( 4 & t ) , value : e } } } , function ( t , e , n ) { var r = n ( 172 ) , o = n ( 91 ) ; t . exports = function ( t ) { return r ( o ( t ) ) } } , function ( t , e , n ) { var r , o , i , a = n ( 355 ) , s = n ( 0 ) , c = n ( 11 ) , A = n ( 22 ) , l = n ( 7 ) , u = n ( 94 ) , f = n ( 60 ) , p = s . WeakMap ; if ( a ) { var d = new p , h = d . get , m = d . has , g = d . set ; r = function ( t , e ) { return g . call ( d , t , e ) , e } , o = function ( t ) { return h . call ( d , t ) || { } } , i = function ( t ) { return m . call ( d , t ) } } else { var v = u ( "state" ) ; f [ v ] = ! 0 , r = function ( t , e ) { return A ( t , v , e ) , e } , o = function ( t ) { return l ( t , v ) ? t [ v ] : { } } , i = function ( t ) { return l ( t , v ) } } t . exports = { set : r , get : o , has : i , enforce : function ( t ) { return i ( t ) ? o ( t ) : r ( t , { } ) } , getterFor : function ( t ) { return function ( e ) { var n ; if ( ! c ( e ) || ( n = o ( e ) ) . type !== t ) throw TypeError ( "Incompatible receiver, " + t + " required" ) ; return n } } } } , function ( t , e ) { t . exports = { } } , function ( t , e , n ) { var r = n ( 358 ) , o = n ( 0 ) , i = function ( t ) { return "function" == typeof t ? t : void 0 } ; t . exports = function ( t , e ) { return arguments . length < 2 ? i ( r [ t ] ) || i ( o [ t ] ) : r [ t ] && r [ t ] [ e ] || o [ t ] && o [ t ] [ e ] } } , function ( t , e , n ) { var r = n ( 97 ) , o = Math . min ; t . exports = function ( t ) { return t > 0 ? o ( r ( t ) , 9007199254740991 ) : 0 } } , function ( t , e ) { t . exports = function ( t ) { if ( null == t ) throw TypeError ( "Can't call method on " + t ) ; return t } } , function ( t , e ) { t . exports = function ( t ) { return "object" == typeof t ? null !== t : "function" == typeof t } } , function ( t , e , n ) { var r = n ( 12 ) , o = n ( 41 ) , i = n ( 28 ) , a = n ( 108 ) , s = n ( 206 ) , c = n ( 403 ) , A = c . get , l = c . enforce , u = String ( String ) . split ( "String" ) ; ( t . exports = function ( t , e , n , s ) { var c = ! ! s && ! ! s . unsafe , A = ! ! s && ! ! s . enumerable , f = ! ! s && ! ! s . noTargetGet ; "function" == typeof n && ( "string" != typeof e || i ( n , "name" ) || o ( n , "name" , e ) , l ( n ) . source = u . join ( "string" == typeof e ? e : "" ) ) , t !== r ? ( c ? ! f && t [ e ] && ( A = ! 0 ) : delete t [ e ] , A ? t [ e ] = n : o ( t , e , n ) ) : A ? t [ e ] = n : a ( e , n ) } ) ( Function . prototype , "toString" , ( function ( ) { return "function" == typeof this && A ( this ) . source || s ( this ) } ) ) } , function ( t , e ) { var n = Math . ceil , r = Math . floor ; t . exports = function ( t ) { return isNaN ( t = + t ) ? 0 : ( t > 0 ? r : n ) ( t ) } } , function ( t , e , n ) { "use strict" ; function r ( t , e ) { for ( var n = [ ] , r = { } , o = 0 ; o < e . length ; o ++ ) { var i = e [ o ] , a = i [ 0 ] , s = { id : t + ":" + 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 ( e ) , n . d (
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-03-22 21:46:15 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "2c44938" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , e . default = r . VTooltip } , 2 : function ( t , e , n ) { "use strict" ; function r ( t , e ) { for ( var n = [ ] , r = { } , o = 0 ; o < e . length ; o ++ ) { var i = e [ o ] , a = i [ 0 ] , s = { id : t + ":" + 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 ( e ) , n . d ( e , "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 , A = ! 1 , l = function ( ) { } , u = null , f = "undefined" != typeof navigator && /msie [6-9]\b/ . test ( navigator . userAgent . toLowerCase ( ) ) ; function p ( t , e , n , o ) { A = n , u = o || { } ; var a = r ( t , e ) ; return d ( a ) , function ( e ) { for ( var n = [ ] , o = 0 ; o < a . length ; o ++ ) { var s = a [ o ] ; ( c = i [ s . id ] ) . refs -- , n . push ( c ) } for ( e ? d ( a = r ( t , e ) ) : a = [ ] , o = 0 ; o < n . length ; o ++ ) { var c ; if ( 0 === ( c = n [ o ] ) . refs ) { for ( var A = 0 ; A < c . parts . length ; A ++ ) c . parts [ A ] ( ) ; delete i [ c . id ] } } } } function d ( t ) { for ( var e = 0 ; e < t . length ; e ++ ) { var n = t [ e ] , 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 ( m ( 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 ( m ( n . parts [ o ] ) ) ; i [ n . id ] = { id : n . id , refs : 1 , parts : a } } } } function h ( ) { var t = document . createElement ( "style" ) ; return t . type = "text/css" , a . appendChild ( t ) , t } function m ( t ) { var e , n , r = document . querySelector ( 'style[data-vue-ssr-id~="' + t . id + '"]' ) ; if ( r ) { if ( A ) return l ; r . parentNode . removeChild ( r ) } if ( f ) { var o = c ++ ; r = s || ( s = h ( ) ) , e = b . bind ( null , r , o , ! 1 ) , n = b . bind ( null , r , o , ! 0 ) } else r = h ( ) , e = y . bind ( null , r ) , n = function ( ) { r . parentNode . removeChild ( r ) } ; return e ( t ) , function ( r ) { if ( r ) { if ( r . css === t . css && r . media === t . media && r . sourceMap === t . sourceMap ) return ; e ( t = r ) } else n ( ) } } var g , v = ( g = [ ] , function ( t , e ) { return g [ t ] = e , g . filter ( Boolean ) . join ( "\n" ) } ) ; function b ( t , e , n , r ) { var o = n ? "" : r . css ; if ( t . styleSheet ) t . styleSheet . cssText = v ( e , o ) ; else { var i = document . createTextNode ( o ) , a = t . childNodes ; a [ e ] && t . removeChild ( a [ e ] ) , a . length ? t . insertBefore ( i , a [ e ] ) : t . appendChild ( i ) } } function y ( t , e ) { var n = e . css , r = e . media , o = e . sourceMap ; if ( r && t . setAttribute ( "media" , r ) , u . ssrId && t . setAttribute ( "data-vue-ssr-id" , e . id ) , o && ( n += "\n/*# sourceURL=" + o . sources [ 0 ] + " */" , n += "\n/*# sourceMappingURL=data:application/json;base64," + btoa ( unescape ( encodeURIComponent ( JSON . stringify ( o ) ) ) ) + " */" ) , t . styleSheet ) t . styleSheet . cssText = n ; else { for ( ; t . firstChild ; ) t . removeChild ( t . firstChild ) ; t . appendChild ( document . createTextNode ( n ) ) } } } , 4 : function ( t , e ) { t . exports = n ( 222 ) } , 41 : function ( t , e , n ) { var r = n ( 42 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "941c791e" , r , ! 0 , { } ) } , 42 : function ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . push ( [ t . i , " . vue - tooltip [ data - v - 2 c44938 ] { 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 - 2 c44938 ] [ 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 - 2 c44938 ] [ 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 - 2 c44938 ] [ x - placement ^= 'right' ] . tooltip - arrow { right : 100 % ; margin - right : 0 ; margin - left :
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-03-22 21:46:15 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "2c44938" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , e . default = r . VTooltip } , , , function ( t , e ) { t . exports = n ( 261 ) } , , , , function ( t , e ) { t . exports = n ( 72 ) } , function ( t , e ) { t . exports = n ( 125 ) } , function ( t , e ) { t . exports = n ( 81 ) } , function ( t , e , n ) { "use strict" ; n ( 3 ) , n ( 19 ) , n ( 21 ) , n ( 28 ) , e . a = function ( t ) { return Math . random ( ) . toString ( 36 ) . replace ( /[^a-z]+/g , "" ) . substr ( 0 , t || 5 ) } } , , , , , function ( t , e ) { t . exports = n ( 269 ) } , function ( t , e ) { t . exports = n ( 82 ) } , , , , , , function ( t , e , n ) { var r = n ( 80 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "0a304400" , r , ! 0 , { } ) } , , , , function ( t , e , n ) { "use strict" ; n ( 27 ) , n ( 52 ) , n ( 20 ) ; var r = n ( 15 ) , o = n ( 12 ) , i = n ( 22 ) , a = ( n ( 77 ) , function ( t ) { var e = t . getBoundingClientRect ( ) , n = document . documentElement . clientHeight , r = document . documentElement . clientWidth , o = Object . assign ( { } ) ; return o . top = e . top < 0 , o . left = e . left < 0 , o . bottom = e . bottom > n , o . right = e . right > r , o . any = o . top || o . left || o . bottom || o . right , o . all = o . top && o . left && o . bottom && o . right , o . offsetY = o . top ? e . top : o . bottom ? e . bottom - n : 0 , o . offsetX = o . left ? e . left : o . right ? e . right - r : 0 , o } ) , s = ( n ( 74 ) , n ( 78 ) , n ( 6 ) , n ( 75 ) , n ( 5 ) ) , c = n . n ( s ) , A = function ( t , e , n ) { void 0 !== t && t . forEach ( ( function ( r , o ) { var i = ! r . componentOptions && r . tag && - 1 === e . indexOf ( r . tag ) , a = ! ! r . componentOptions && "string" == typeof r . componentOptions . tag && - 1 === e . indexOf ( r . componentOptions . tag ) ; ( i || a ) && ( c . a . util . warn ( "" . concat ( i ? r . tag : r . componentOptions . tag , " is not allowed inside the " ) . concat ( n . $options . name , " component" ) , n ) , t . splice ( o , 1 ) ) } ) ) } , l = [ "ActionButton" , "ActionCheckbox" , "ActionInput" , "ActionLink" , "ActionRadio" , "ActionRouter" , "ActionSeparator" , "ActionText" , "ActionTextEditable" ] , u = { name : "Actions" , directives : { ClickOutside : r . directive , tooltip : o . default } , props : { open : { type : Boolean , default : ! 1 } , forceMenu : { type : Boolean , default : ! 1 } , menuAlign : { type : String , default : "center" , validator : function ( t ) { return [ "left" , "center" , "right" ] . indexOf ( t ) > - 1 } } , defaultIcon : { type : String , default : "action-item__menutoggle--default-icon" } } , data : function ( ) { return { actions : [ ] , opened : this . open , focusIndex : 0 , randomId : "menu-" + Object ( i . a ) ( ) , offsetX : 0 , offsetY : 0 , offsetYArrow : 0 , rotateArrow : ! 1 , children : this . $children } } , computed : { hasMultipleActions : function ( ) { return this . actions . length > 1 } , isValidSingleAction : function ( ) { return 1 === this . actions . length && null !== this . firstActionElement } , firstActionVNode : function ( ) { return this . actions [ 0 ] } , firstAction : function ( ) { return this . children [ 0 ] ? this . children [ 0 ] : { } } , firstActionBinding : function ( ) { if ( this . firstActionVNode && this . firstActionVNode . componentOptions ) { var t = this . firstActionVNode . componentOptions . tag ; if ( "ActionLink" === t ) return { is : "a" , href : this . firstAction . href , target : this . firstAction . target } ; if ( "ActionRouter" === t ) return { is : "router-link" , to : this . firstAction . to , exact : this . firstAction . exact } ; if ( "ActionButton" === t ) return { is : "button" } } return null } , firstActionEvent : function ( ) { return this . firstActionVNode && this . firstActionVNode . componentOptions && this . firstActionVNode . componentOptions . listeners && this . firstActionVNode . componentOptions . listeners . click } , firstActionEventBinding : function ( ) { return this . firstActionEvent ? "click" : null } , firstActionClass : function ( ) { var t = this . firstActionVNode && this . firstActionVNode . data . staticClass , e = this . firstActionVNode && this . firstActionVNode . data . class ; return "" . concat ( t , " " ) . concat ( e ) } } , watch : { open : function ( t ) { var e = this ; this . opened = t , this . opened && this . $nextTick ( ( function ( ) { e . onOpen ( ) } ) ) } } , beforeMount : function ( ) { this . initActions ( ) , A ( this . $slots . default , l , this ) } , beforeUpdate : function ( ) { this . initActions ( ) , A ( this . $slots . default , l , this ) } , methods : { toggleMenu : function ( t ) { var e = this ; this . opened = ! this . opened , this . opened ? ( this . $nextTick ( ( function ( ) { e . onOpen ( ) , e . focusFirstAction ( ) } ) ) , this . $emit ( "open" , t ) ) : ( this . offsetX = 0 , this . offsetY = 0 , this . offsetYArrow = 0 , this . rotateArrow = ! 1 ) , this . $emit ( "update:open" , this . opened ) } , closeMenu : function ( t ) { this . opened && ( this . $emit ( "update:open" , ! 1 ) , this . $emit ( "close" , t ) ) , this . opened = ! 1 , this . offsetX = 0 , this . offsetY = 0 , this . offsetYArrow = 0 , this . rotateArrow = ! 1
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/>.
*
2019-11-27 20:11:33 +03:00
* /
2020-03-29 04:15:45 +03:00
e . default = r . a } , , , , , , , , , , , , , , , , function ( t , e ) { t . exports = n ( 523 ) } , function ( t , e ) { t . exports = n ( 524 ) } , , function ( t , e ) { t . exports = n ( 525 ) } , function ( t , e ) { t . exports = n ( 526 ) } , function ( t , e , n ) { "use strict" ; var r = n ( 34 ) ; n . n ( r ) . a } , function ( t , e , n ) { var r = n ( 1 ) , o = n ( 7 ) , i = n ( 8 ) , a = n ( 9 ) , s = n ( 10 ) , c = n ( 11 ) ; e = r ( ! 1 ) ; var A = o ( i ) , l = o ( a ) , u = o ( s ) , f = o ( c ) ; e . push ( [ t . i , '@font-face{font-family:"iconfont-vue-2c44938";src:url(' + A + ");src:url(" + A + ') format("embedded-opentype"),url(' + l + ') format("woff"),url(' + u + ') format("truetype"),url(' + f + ') format("svg")}.icon[data-v-5acb084b]{font-style:normal;font-weight:400}.icon.arrow-left-double[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";content:""}.icon.arrow-left[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";content:""}.icon.arrow-right-double[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";content:""}.icon.arrow-right[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";content:""}.icon.checkmark[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";content:""}.icon.close[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";content:""}.icon.confirm[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";content:""}.icon.menu[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";content:""}.icon.more[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";content:""}.icon.pause[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";content:""}.icon.play[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";content:""}.icon.triangle-s[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";content:""}.action-item[data-v-5acb084b]{position:relative;display:inline-block}.action-item--single[data-v-5acb084b]:hover,.action-item--single[data-v-5acb084b]:focus,.action-item--single[data-v-5acb084b]:active,.action-item__menutoggle[data-v-5acb084b]:hover,.action-item__menutoggle[data-v-5acb084b]:focus,.action-item__menutoggle[data-v-5acb084b]:active{border-radius:22px;background-color:rgba(127,127,127,0.25) !important;opacity:1}.action-item.action-item--open .action-item__menutoggle[data-v-5acb084b]{opacity:1;border-radius:22px;background-color:rgba(127,127,127,0.25)}.action-item--single[data-v-5acb084b],.action-item__menutoggle[data-v-5acb084b]{box-sizing:border-box;width:44px;height:44px;margin:0;padding:14px;cursor:pointer;border:none;background-color:transparent}.action-item__menutoggle[data-v-5acb084b]{display:flex;align-items:center;justify-content:center;opacity:.7}.action-item__menutoggle[data-v-5acb084b]:before{content:\'\'}.action-item__menutoggle--default-icon[data-v-5acb084b]{font-size:16px}.action-item__menutoggle--default-icon[data-v-5acb084b]:before{font-family:"iconfont-vue-2c44938";font-style:normal;font-weight:400;content:""}.action-item--single[data-v-5acb084b]{opacity:.7}.action-item--single[data-v-5acb084b]:hover,.action-item--single[data-v-5acb084b]:focus,.action-item--single[data-v-5acb084b]:active{opacity:1}.action-item--single>[hidden][data-v-5acb084b]{display:none}.action-item--multiple[data-v-5acb084b]{position:relative}.action-item__menu[data-v-5acb084b]{position:absolute;z-index:110;right:50%;display:none;margin-bottom:10px;margin-top:-5px;transform:translateX(50%);color:var(--color-main-text);border-radius:var(--border-radius);background-color:var(--color-main-background);filter:drop-shadow(0 1px 3px var(--color-box-shadow))}.action-item__menu ul[data-v-5acb084b]>:not(li){display:none}.action-item__menu.open[data-v-5acb084b]{display:block}.action-item__menu .action-item__menu_arrow[data-v-5acb084b]{position:absolute;right:50%;bottom:100%;width:0;height:0;margin-right:-9px;content:\' \' ; pointer - events : none ; border : solid transparent ; border - width : 9 px ; border - bottom - color : var ( -- color - main - background ) } . action - item _ _menu . menu - right [ data - v - 5 acb084b ] { right : 0 ; left : auto ; transform : none } . action - item _ _menu . menu - right . action - item _ _menu _arrow [ data - v - 5 acb084b ] { right : 13 px ; margin - right : 0 } . action - item _ _menu . menu - left [ data - v - 5 acb084b ] { right : auto ; left : 0 ; transform : none } . action - item _ _menu . menu - left . action - item _ _me
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-03-22 21:46:15 +03:00
* /e.a={before:function(){this.$slots.default&&""!==this.text.trim()||(o.a.util.warn("".concat(this.$options.name," cannot be empty and requires a meaningful text content"),this),this.$destroy(),this.$el.remove())},beforeUpdate:function(){this.text=this.getText()},data:function(){return{text:this.getText()}},computed:{isLongText:function(){return this.text&&this.text.trim().length>20}},methods:{getText:function(){return this.$slots.default?this.$slots.default[0].text.trim():""}}}},16:function(t,e){t.exports=n(53)},17:function(t,e){t.exports=n(76)},177:function(t,e,n){"use strict";n.r(e),n.d(e,"ActionLink",(function(){return c})),n(20),n(16),n(3),n(17),n(134),n(18),n(23);var r={name:"ActionLink",mixins:[n(26).a],props:{href:{type:String,default:"#",required:!0,validator:function(t){try{return new URL(t)}catch(e){return t.startsWith("#")||t.startsWith("/ ")}}},download:{type:String,default:null},target:{type:String,default:" _self ",validator:function(t){return[" _blank "," _self "," _parent "," _top "].indexOf(t)>-1}}}},o=(n(182),n(0)),i=n(122),a=n.n(i),s=Object(o.a)(r,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n(" li ",[n(" a ",{staticClass:" action - link focusable ",attrs:{download:t.download,href:t.href,target:t.target,rel:" noreferrer noopener "},on:{click:t.onClick}},[n(" span ",{staticClass:" action - link _ _icon ",class:[t.isIconUrl?" action - link _ _icon -- url ":t.icon],style:{backgroundImage:t.isIconUrl?" url ( "+t.icon+" ) ":null}}),t._v(" "),t.title?n(" p ",[n(" strong ",{staticClass:" action - link _ _title "},[t._v(" \ n \ t \ t \ t \ t "+t._s(t.title)+" \ n \ t \ t \ t ")]),t._v(" "),n(" br "),t._v(" "),n(" span ",{staticClass:" action - link _ _longtext ",domProps:{textContent:t._s(t.text)}})]):t.isLongText?n(" p ",{staticClass:" action - link _ _longtext ",domProps:{textContent:t._s(t.text)}}):n(" span ",{staticClass:" action - link _ _text "},[t._v(t._s(t.text))]),t._v(" "),t._e()],2)])}),[],!1,null," 84686 d94 ",null);" function " == typeof a . a && a ( ) ( s ) ; var c = s . exports ;
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-03-29 04:15:45 +03:00
* / e . d e f a u l t = c } , 1 8 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 8 3 ) } , 1 8 2 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 8 7 ) ; n . n ( r ) . a } , 1 8 3 : f u n c t i o n ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . p u s h ( [ t . i , " l i . a c t i v e [ d a t a - v - 8 4 6 8 6 d 9 4 ] { 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 - 8 4 6 8 6 d 9 4 ] { 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 - 8 4 6 8 6 d 9 4 ] : h o v e r , . a c t i o n - l i n k [ d a t a - v - 8 4 6 8 6 d 9 4 ] : 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 - 8 4 6 8 6 d 9 4 ] { 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 - 8 4 6 8 6 d 9 4 ] { 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 - 8 4 6 8 6 d 9 4 ] { 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 - 8 4 6 8 6 d 9 4 ] { 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 - 8 4 6 8 6 d 9 4 ] { f o n t - w e i g h t : b o l d } \ n " , " " ] ) , t . e x p o r t s = e } , 2 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; f u n c t i o n r ( t , e ) { f o r ( v a r n = [ ] , r = { } , o = 0 ; o < e . l e n g t h ; o + + ) { v a r i = e [ o ] , a = i [ 0 ] , s = { i d : t + " : " + 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 ( e ) , n . d ( e , " 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 , A = ! 1 , l = f u n c t i o n ( ) { } , u = n u l l , f = " 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 ( t , e , n , o ) { A = n , u = o | | { } ; v a r a = r ( t , e ) ; r e t u r n d ( a ) , f u n c t i o n ( e ) { 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 ( e ? d ( a = r ( t , e ) ) : 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 A = 0 ; A < c . p a r t s . l e n g t h ; A + + ) c . p a r t s [ A ] ( ) ; d e l e t e i [ c . i d ] } } } } f u n c t i o n d ( t ) { f o r ( v a r e = 0 ; e < t . l e n g t h ; e + + ) { v a r n = t [ e ] , 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 ( m ( 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 ( m ( 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 h ( ) { v a r t = 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 t . t y p e = " t e x t / c s s " , a . a p p e n d C h i l d ( t ) , t } f u n c t i o n m ( t ) { v a r e , 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 ~ = " ' + t . i d + ' " ] ' ) ; i f ( r ) { i f ( A ) r e t u r n l ; 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 ( f ) { v a r o = c + + ; r = s | | ( s = h ( ) ) , e = b . b i n d ( n u l l , r , o , ! 1 ) , n = b . b i n d ( n u l l , r , o , ! 0 ) } e l s e r = h ( ) , e = y . 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 e ( t ) , f u n c t i o n ( r ) { i f ( r ) { i f ( r . c s s = = = t . c s s & & r . m e d i a = = = t . m e d i a & & r . s o u r c e M a p = = = t . s o u r c e M a p ) r e t u r n ; e ( t = r ) } e l s e n ( ) } } v a r g , v = ( g = [ ] , f u n c t i o n ( t , e ) { r e t u r n g [ t ] = e , 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 b ( t , e , n , r ) { v a r o = n ? " " : r . c s s ; i f ( t . s t y l e S h e e t ) t . s t y l e S h e e t . c s s T e x t = v ( e , 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 = t . c h i l d N o d e s ; a [ e ] & & t . r e m o v e C h i l d ( a [ e ] ) , a . l e n g t h ? t . i n s e r t B e f o r e ( i , a [ e ] ) : t . a p p e n d C h i l d ( i ) } } f u n c t i o n y ( t , e ) { v a r n = e . c s s , r = e . m e d i a , o = e . s o u r c e M a p ; i f ( r & & t . s e t A t t r i b u t e ( " m e d i a " , r ) , u . s s r I d & & t . s e t A t t r i b u t e ( " d a t a - v u e - s s r - i d " , e . 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 ) ) ) ) + " * / " ) , t . s t y l e S h e e t ) t . 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 ( ; t . f i r s t C h i l d ; ) t . r e m o v e C h i l d ( t . f i r s t C h i l d ) ; t . 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 ( t , e ) { t . e x p o r t s = n ( 1 2 5 ) } , 2 3 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 8 4 ) } , 2 4 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 8 5 ) } , 2 6 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 1 6 ) , n ( 3 ) , n ( 1 7 ) , n ( 1 8 ) , n ( 2 3 ) ; v a r r = n ( 1 4 ) , o = ( n ( 6 ) , f u n c t i o n ( t , e ) { f o r ( v a r n = t . $ p a r e n t ; n ; ) { i f ( n . $ o p t i o n s . n a m e = = = e ) r e t u r n n ; n = n . $ p a r e n t } } ) ; e . a = { m i x i n s : [ r . a ] , p r o p s : { i c o n : { t y p e : S t r i n g , d e f a u l t : " " } , t i t l e : { t y p e : S t r i n g , d e f a u l t : " " } , c l o s e A f t e r C l i c k : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , c o m p u t e d : { i s I c o n U r l : f u n c t i o n ( ) { t r y { r e t u r n n e w U R L ( t h i s . i c o n ) } c a t c h ( t ) { r e t u r n ! 1 } } } , m e t h o d s : {
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-03-22 21:46:15 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "2c44938" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , e . default = r . VTooltip } , function ( t , e , n ) { "use strict" ; n . d ( e , "a" , ( function ( ) { return a } ) ) , n . d ( e , "b" , ( function ( ) { return s } ) ) , n ( 32 ) ; var r = n ( 39 ) , o = Object ( r . getGettextBuilder ) ( ) . detectLocale ( ) ; [ { locale : "cs_CZ" , json : { charset : "utf-8" , headers : { "Last-Translator" : "Pavel Borecki <pavel.borecki@gmail.com>, 2020" , "Language-Team" : "Czech (Czech Republic) (https://www.transifex.com/nextcloud/teams/64236/cs_CZ/)" , "Content-Type" : "text/plain; charset=UTF-8" , Language : "cs_CZ" , "Plural-Forms" : "nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;" } , translations : { "" : { "" : { msgid : "" , comments : { translator : "Translators:\nPavel Borecki <pavel.borecki@gmail.com>, 2020\n" } , msgstr : [ "Last-Translator: Pavel Borecki <pavel.borecki@gmail.com>, 2020\nLanguage-Team: Czech (Czech Republic) (https://www.transifex.com/nextcloud/teams/64236/cs_CZ/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: cs_CZ\nPlural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" ] } , "{tag} (invisible)" : { msgid : "{tag} (invisible)" , comments : { reference : "src/components/MultiselectTags/MultiselectTags.vue:169" } , msgstr : [ "{tag} (neviditelný)" ] } , "{tag} (restricted)" : { msgid : "{tag} (restricted)" , comments : { reference : "src/components/MultiselectTags/MultiselectTags.vue:172" } , msgstr : [ "{tag} (omezený)" ] } , Choose : { msgid : "Choose" , comments : { reference : "src/components/ColorPicker/ColorPicker.vue:145" } , msgstr : [ "Zvolit" ] } , Close : { msgid : "Close" , comments : { reference : "src/components/Modal/Modal.vue:109" } , msgstr : [ "Zavřít" ] } , Next : { msgid : "Next" , comments : { reference : "src/components/Modal/Modal.vue:154" } , msgstr : [ "Následující" ] } , "No results" : { msgid : "No results" , comments : { reference : "src/components/Multiselect/Multiselect.vue:169\nsrc/components/MultiselectTags/MultiselectTags.vue:78" } , msgstr : [ "Žádné výsledky" ] } , "Pause slideshow" : { msgid : "Pause slideshow" , comments : { reference : "src/components/Modal/Modal.vue:290" } , msgstr : [ "Pozastavit prezentaci" ] } , Previous : { msgid : "Previous" , comments : { reference : "src/components/Modal/Modal.vue:134" } , msgstr : [ "Předchozí" ] } , "Select a tag" : { msgid : "Select a tag" , comments : { reference : "src/components/MultiselectTags/MultiselectTags.vue:100" } , msgstr : [ "Vybrat štítek" ] } , Settings : { msgid : "Settings" , comments : { reference : "src/components/AppNavigationSettings/AppNavigationSettings.vue:53" } , msgstr : [ "Nastavení" ] } , "Start slideshow" : { msgid : "Start slideshow" , comments : { reference : "src/components/Modal/Modal.vue:290" } , msgstr : [ "Spustit prezentaci" ] } } } } } , { locale : "de" , json : { charset : "utf-8" , headers : { "Last-Translator" : "Philipp Fischbeck <pfischbeck@googlemail.com>, 2020" , "Language-Team" : "German (https://www.transifex.com/nextcloud/teams/64236/de/)" , "Content-Type" : "text/plain; charset=UTF-8" , Language : "de" , "Plural-Forms" : "nplurals=2; plural=(n != 1);" } , translations : { "" : { "" : { msgid : "" , comments : { translator : "Translators:\nMark Ziegler <mark.ziegler@rakekniven.de>, 2020\nPhilipp Fischbeck <pfischbeck@googlemail.com>, 2020\n" } , msgstr : [ "Last-Translator: Philipp Fischbeck <pfischbeck@googlemail.com>, 2020\nLanguage-Team: German (https://www.transifex.com/nextcloud/teams/64236/de/)\nContent-Type: text/plain; charset=UTF-8\nLanguage: de\nPlural-Forms: nplurals=2; plural=(n != 1);\n" ] } , "{tag} (invisible)" : { msgid : "{tag} (invisible)" , comments : { reference : "src/components/MultiselectTags/MultiselectTags.vue:169" } , msgstr : [ "{tag} (unsichtbar)" ] } , "{tag} (restricted)" : { msgid : "{tag} (restricted)" , comments : { reference : "src/components/MultiselectTags/MultiselectTags.vue:172" } , msgstr : [ "{tag} (eingeschränkt)" ] } , Choose : { msgid : "Choose" , comments : { reference : "src/components/ColorPicker/ColorPicker.vue:145" } , msgstr : [ "Auswählen" ] } , Close : { msgid : "Close" , comments : { reference : "src/components/Modal/Modal.vue:109" } , msgstr : [ "Schließen" ] } , Next : { msgid : "Next" , comments : { reference : "src/components/Modal/Modal.vue:154" } , msg
2019-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-03-22 21:46:15 +03:00
* / e . a = f u n c t i o n ( t ) { t . m o u n t e d ? A r r a y . i s A r r a y ( t . m o u n t e d ) | | ( t . m o u n t e d = [ t . m o u n t e d ] ) : t . m o u n t e d = [ ] , t . m o u n t e d . p u s h ( ( f u n c t i o n ( ) { t h i s . $ e l . s e t A t t r i b u t e ( " d a t a - v - " . c o n c a t ( " 2 c 4 4 9 3 8 " ) , " " ) } ) ) } } , , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 5 4 5 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 5 8 1 ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 4 2 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 9 4 1 c 7 9 1 e " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . p u s h ( [ t . i , " . v u e - t o o l t i p [ d a t a - v - 2 c 4 4 9 3 8 ] { 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 - 2 c 4 4 9 3 8 ] [ 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 - 2 c 4 4 9 3 8 ] [ 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 - 2 c 4 4 9 3 8 ] [ 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 - 2 c 4 4 9 3 8 ] [ 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 - 2 c 4 4 9 3 8 ] [ 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 - 2 c 4 4 9 3 8 ] [ 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 - 2 c 4 4 9 3 8 ] . 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 - 2 c 4 4 9 3 8 ] . t o o l t i p - a r r o w { p o s i t i o n : a b s o l u t e ; z - i n d e x : 1 ; w i d t h : 0 ; h e i g h t : 0 ; m a r g i n : 0 ; b o r d e r - s t y l e : s o l i d ; b o r d e r - c o l o r : v a r ( - - c o l o r - m a i n - b a c k g r o u n d ) } \ n " , " " ] ) , t . e x p o r t s = e } , , , f u n c t i o n ( t , e , 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-03-22 21:46:15 +03:00
function r ( t , e , n ) { this . r = t , this . g = e , this . b = n } function o ( t , e , n ) { var o = [ ] ; o . push ( e ) ; for ( var i = function ( t , e ) { var n = new Array ( 3 ) ; return n [ 0 ] = ( e [ 1 ] . r - e [ 0 ] . r ) / t , n [ 1 ] = ( e [ 1 ] . g - e [ 0 ] . g ) / t , n [ 2 ] = ( e [ 1 ] . b - e [ 0 ] . b ) / t , n } ( t , [ e , n ] ) , a = 1 ; a < t ; a ++ ) { var s = parseInt ( e . r + i [ 0 ] * a , 10 ) , c = parseInt ( e . g + i [ 1 ] * a , 10 ) , A = parseInt ( e . b + i [ 2 ] * a , 10 ) ; o . push ( new r ( s , c , A ) ) } return o } n ( 27 ) , e . a = function ( t ) { t || ( t = 6 ) ; var e = new r ( 182 , 70 , 157 ) , n = new r ( 221 , 203 , 85 ) , i = new r ( 0 , 130 , 201 ) , a = o ( t , e , n ) , s = o ( t , n , i ) , c = o ( t , i , e ) ; return a . concat ( s ) . concat ( c ) } } , , function ( t , e ) { } , function ( t , e , n ) { "use strict" ; n . r ( e ) , n . d ( e , "PopoverMenu" , ( function ( ) { return A } ) ) , n ( 20 ) , n ( 16 ) , n ( 3 ) , n ( 21 ) , n ( 17 ) , n ( 18 ) , n ( 23 ) ; var r = { name : "PopoverMenuItem" , props : { item : { type : Object , required : ! 0 , default : function ( ) { return { key : "nextcloud-link" , href : "https://nextcloud.com" , icon : "icon-links" , text : "Nextcloud" } } , validator : function ( t ) { return ! t . input || - 1 !== [ "text" , "checkbox" ] . indexOf ( t . input ) } } } , computed : { key : function ( ) { return this . item . key ? this . item . key : Math . round ( 16 * Math . random ( ) * 1e6 ) . toString ( 16 ) } , iconIsUrl : function ( ) { try { return new URL ( this . item . icon ) , ! 0 } catch ( t ) { return ! 1 } } } , methods : { action : function ( t ) { this . item . action && this . item . action ( t ) } } } , o = ( n ( 64 ) , n ( 66 ) , n ( 0 ) ) , i = { name : "PopoverMenu" , components : { PopoverMenuItem : Object ( o . a ) ( r , ( function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "li" , [ t . item . href ? n ( "a" , { staticClass : "focusable" , attrs : { href : t . item . href ? t . item . href : "#" , target : t . item . target ? t . item . target : "" , download : t . item . download , rel : "noreferrer noopener" } , on : { click : t . action } } , [ t . iconIsUrl ? n ( "img" , { attrs : { src : t . item . icon } } ) : n ( "span" , { class : t . item . icon } ) , t . _v ( " " ) , t . item . text && t . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . text ) + "\n\t\t\t" ) ] ) , n ( "br" ) , t . _v ( " " ) , n ( "span" , { staticClass : "menuitem-text-detail" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . longtext ) + "\n\t\t\t" ) ] ) ] ) : t . item . text ? n ( "span" , [ t . _v ( "\n\t\t\t" + t . _s ( t . item . text ) + "\n\t\t" ) ] ) : t . item . longtext ? n ( "p" , [ t . _v ( "\n\t\t\t" + t . _s ( t . item . longtext ) + "\n\t\t" ) ] ) : t . _e ( ) ] ) : t . item . input ? n ( "span" , { staticClass : "menuitem" , class : { active : t . item . active } } , [ "checkbox" !== t . item . input ? n ( "span" , { class : t . item . icon } ) : t . _e ( ) , t . _v ( " " ) , "text" === t . item . input ? n ( "form" , { class : t . item . input , on : { submit : function ( e ) { return e . preventDefault ( ) , t . item . action ( e ) } } } , [ n ( "input" , { attrs : { type : t . item . input , placeholder : t . item . text , required : "" } , domProps : { value : t . item . value } } ) , t . _v ( " " ) , n ( "input" , { staticClass : "icon-confirm" , attrs : { type : "submit" , value : "" } } ) ] ) : [ "checkbox" === t . item . input ? n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : t . item . model , expression : "item.model" } ] , class : t . item . input , attrs : { id : t . key , type : "checkbox" } , domProps : { checked : Array . isArray ( t . item . model ) ? t . _i ( t . item . model , null ) > - 1 : t . item . model } , on : { change : [ function ( e ) { var n = t . item . model , r = e . target , o = ! ! r . checked ; if ( Array . isArray ( n ) ) { var i = t . _i ( n , null ) ; r . checked ? i < 0 && t . $set ( t . item , "model" , n . concat ( [ null ] ) ) : i > - 1 && t . $set ( t . item , "model" , n . slice ( 0 , i ) . concat ( n . slice ( i + 1 ) ) ) } else t . $set ( t . item , "model" , o ) } , t . item . action ] } } ) : "radio" === t . item . input ? n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : t . item . model , expression : "item.model" } ] , class : t . item . input , attrs : { id : t . key , type : "radio" } , domProps : { checked : t . _q ( t . item . model , null ) } , on : { change : [ function ( e ) { return t . $set ( t . item , "model" , null ) } , t . item . action ] } } ) : n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : t . item . model , expression : "item.model" } ] , class : t . item . input , attrs : { id : t . key , type : t . item . input } , domProps : { value : t . item . model } , on : { change : t . item . action , input : function ( e ) { e . target . composing || t . $set ( t . item , "model" , e . target . value ) } } } ) , t . _v ( " " ) , n ( "label" , { attrs : { for : t . key } , on : { click : function ( e ) { return e . stopPropagation ( ) , e . preventDefault ( ) , t . item . action ( e ) } } } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . text ) + "\n\t\t\t" ) ] ) ] ] , 2 ) : t . item . action ? n ( "button" , { staticClass : "menuitem focusable" , class : { active : t . item . active } , attrs : { disabled : t . item . disabled } , on : { click : function ( e ) { return e . stopPropagation ( ) , e . preventDefault ( ) , t . item . action ( e ) } } } , [ n ( "span" , { class : t . item . icon } ) , t . _v ( " " ) , t . item . text && t . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ t . _v ( " \ n \ t
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-03-22 21:46:15 +03:00
* /e.default=A},function(t,e){t.exports=n(13)},function(t,e,n){"use strict";n.r(e),n.d(e,"Avatar",(function(){return v})),n(27),n(63),n(32),n(25),n(3),n(61),n(62);var r=n(15),o=n(48),i=n(49),a=n.n(i),s=n(12),c=(n(19),n(81),n(28),n(60)),A=n.n(c),l=n(45);function u(t,e,n,r,o,i,a){try{var s=t[i](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,o)}function f(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var i=t.apply(e,n);function a(t){u(i,r,o,a,s,"next",t)}function s(t){u(i,r,o,a,s,"throw",t)}a(void 0)}))}}var p={name:"Avatar",directives:{tooltip:s.default,ClickOutside:r.directive},components:{PopoverMenu:o.PopoverMenu},props:{url:{type:String,default:void 0},iconClass:{type:String,default:void 0},user:{type:String,default:void 0},isGuest:{type:Boolean,default:!1},displayName:{type:String,default:void 0},size:{type:Number,default:32},allowPlaceholder:{type:Boolean,default:!0},disableTooltip:{type:Boolean,default:!1},disableMenu:{type:Boolean,default:!1},tooltipMessage:{type:String,default:null},isNoUser:{type:Boolean,default:!1},status:{type:String,default:null,validator:function(t){switch(t){case"positive":case"negative":case"neutral":return!0}return!1}},statusColor:{type:[Number,String],default:null,validator:function(t){return/ ^ ( [ a - f0 - 9 ] { 3 } ) { 1 , 2 } $ / i . test ( t ) } } , menuPosition : { type : String , default : "center" } } , data : function ( ) { return { avatarUrlLoaded : null , avatarSrcSetLoaded : null , userDoesNotExist : ! 1 , isAvatarLoaded : ! 1 , isMenuLoaded : ! 1 , contactsMenuActions : [ ] , contactsMenuOpenState : ! 1 } } , computed : { getUserIdentifier : function ( ) { return this . isDisplayNameDefined ? this . displayName : this . isUserDefined ? this . user : "" } , isUserDefined : function ( ) { return void 0 !== this . user } , isDisplayNameDefined : function ( ) { return void 0 !== this . displayName } , isUrlDefined : function ( ) { return void 0 !== this . url } , hasMenu : function ( ) { return ! this . disableMenu && ( this . isMenuLoaded ? this . menu . length > 0 : ! ( this . user === OC . getCurrentUser ( ) . uid || this . userDoesNotExist || this . url ) ) } , shouldShowPlaceholder : function ( ) { return this . allowPlaceholder && this . userDoesNotExist } , avatarStyle : function ( ) { var t = { width : this . size + "px" , height : this . size + "px" , lineHeight : this . size + "px" , fontSize : Math . round ( . 55 * this . size ) + "px" } ; if ( ! this . iconClass && ! this . avatarSrcSetLoaded ) { var e = function ( t ) { var e = t . toLowerCase ( ) ; return null === e . match ( /^([0-9a-f]{4}-?){8}$/ ) && ( e = A ( ) ( e ) ) , e = e . replace ( /[^0-9a-f]/g , "" ) , Object ( l . a ) ( 6 ) [ function ( t , e ) { for ( var n = 0 , r = [ ] , o = 0 ; o < t . length ; o ++ ) r . push ( parseInt ( t . charAt ( o ) , 16 ) % 16 ) ; for ( var i in r ) n += r [ i ] ; return parseInt ( parseInt ( n , 10 ) % 18 , 10 ) } ( e ) ] } ( this . getUserIdentifier ) ; t . backgroundColor = "rgb(" + e . r + ", " + e . g + ", " + e . b + ")" } return t } , tooltip : function ( ) { return ! this . disableTooltip && ( this . tooltipMessage ? this . tooltipMessage : this . displayName ) } , initials : function ( ) { return this . shouldShowPlaceholder ? this . getUserIdentifier . charAt ( 0 ) . toUpperCase ( ) : "?" } , menu : function ( ) { return this . contactsMenuActions . map ( ( function ( t ) { return { href : t . hyperlink , icon : t . icon , text : t . title } } ) ) } } , watch : { url : function ( ) { this . userDoesNotExist = ! 1 , this . loadAvatarUrl ( ) } , user : function ( ) { this . userDoesNotExist = ! 1 , this . isMenuLoaded = ! 1 , this . loadAvatarUrl ( ) } } , mounted : function ( ) { this . loadAvatarUrl ( ) } , methods : { toggleMenu : function ( ) { var t = this ; return f ( regeneratorRuntime . mark ( ( function e ( ) { return regeneratorRuntime . wrap ( ( function ( e ) { for ( ; ; ) switch ( e . prev = e . next ) { case 0 : if ( t . hasMenu ) { e . next = 2 ; break } return e . abrupt ( "return" ) ; case 2 : if ( t . contactsMenuOpenState ) { e . next = 5 ; break } return e . next = 5 , t . fetchContactsMenu ( ) ; case 5 : t . contactsMenuOpenState = ! t . contactsMenuOpenState ; case 6 : case "end" : return e . stop ( ) } } ) , e ) } ) ) ) ( ) } , closeMenu : function ( ) { this . contactsMenuOpenState = ! 1 } , fetchContactsMenu : function ( ) { var t = this ; return f ( regeneratorRuntime . mark ( ( function e ( ) { var n , r , o ; return regeneratorRuntime . wrap ( ( function ( e ) { for ( ; ; ) switch ( e . prev = e . next ) { case 0 : return e . prev = 0 , n = encodeURIComponent ( t . user ) , e . next = 4 , a . a . post ( OC . generateUrl ( "contactsmenu/findOne" ) , "shareType=0&shareWith=" . concat ( n ) ) ; case 4 : r = e . sent , o = r . data , t . contactsMenuActions = o . topAction ? [ o . topAction ] . concat ( o . actions ) : o . actions , e . next = 12 ; break ; case 9 : e . prev =
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-03-22 21:46:15 +03:00
* / e . d e f a u l t = v } , , , , , , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 4 4 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 0 5 3 8 7 e f 8 " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 1 4 6 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " a 3 7 5 d 0 a c " , r , ! 0 , { } ) } , , , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 4 6 6 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 4 6 8 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 4 7 3 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 4 7 4 ) } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 2 9 ) ; n . n ( r ) . a } , f u n c t i o n ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . p u s h ( [ t . i , " \ n b u t t o n . m e n u i t e m [ d a t a - v - 8 d c 4 e f b 0 ] { \ n \ t t e x t - a l i g n : l e f t ; \ n } \ n b u t t o n . m e n u i t e m * [ d a t a - v - 8 d c 4 e f b 0 ] { \ n \ t c u r s o r : p o i n t e r ; \ n } \ n b u t t o n . m e n u i t e m [ d a t a - v - 8 d c 4 e f b 0 ] : d i s a b l e d { \ n \ t o p a c i t y : 0 . 5 ! i m p o r t a n t ; \ n \ t c u r s o r : d e f a u l t ; \ n } \ n b u t t o n . m e n u i t e m : d i s a b l e d * [ d a t a - v - 8 d c 4 e f b 0 ] { \ n \ t c u r s o r : d e f a u l t ; \ n } \ n . m e n u i t e m . a c t i v e [ d a t a - v - 8 d c 4 e f b 0 ] { \ n \ t b o x - s h a d o w : i n s e t 2 p x 0 v a r ( - - c o l o r - p r i m a r y ) ; \ n \ t b o r d e r - r a d i u s : 0 ; \ n } \ n " , " " ] ) , t . e x p o r t s = e } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 3 0 ) ; n . n ( r ) . a } , f u n c t i o n ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . p u s h ( [ t . i , " l i [ d a t a - v - 8 d c 4 e f b 0 ] { d i s p l a y : f l e x ; f l e x : 0 0 a u t o } l i . h i d d e n [ d a t a - v - 8 d c 4 e f b 0 ] { d i s p l a y : n o n e } l i > b u t t o n [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m [ d a t a - v - 8 d c 4 e f b 0 ] { c u r s o r : p o i n t e r ; l i n e - h e i g h t : 4 4 p x ; b o r d e r : 0 ; b o r d e r - r a d i u s : 0 ; b a c k g r o u n d - c o l o r : t r a n s p a r e n t ; d i s p l a y : f l e x ; a l i g n - i t e m s : f l e x - s t a r t ; h e i g h t : a u t o ; m a r g i n : 0 ; p a d d i n g : 0 ; f o n t - w e i g h t : n o r m a l ; b o x - s h a d o w : n o n e ; w i d t h : 1 0 0 % ; c o l o r : v a r ( - - c o l o r - m a i n - t e x t ) ; w h i t e - s p a c e : n o w r a p ; o p a c i t y : . 7 } l i > b u t t o n s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > b u t t o n s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > b u t t o n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > b u t t o n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] { m i n - w i d t h : 0 ; m i n - h e i g h t : 0 ; b a c k g r o u n d - p o s i t i o n : 1 4 p x c e n t e r ; b a c k g r o u n d - s i z e : 1 6 p x } l i > b u t t o n s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > b u t t o n s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] { p a d d i n g : 2 2 p x 0 2 2 p x 4 4 p x } l i > b u t t o n : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > s p a n [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > b u t t o n : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > i n p u t [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > b u t t o n : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > f o r m [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > a : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > s p a n [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > a : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > i n p u t [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > a : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > f o r m [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > . m e n u i t e m : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > s p a n [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > . m e n u i t e m : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > i n p u t [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > . m e n u i t e m : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > f o r m [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d { m a r g i n - l e f t : 4 4 p x } l i > b u t t o n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > b u t t o n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] , l i > . m e n u i t e m [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 8 d c 4 e f b 0 ] { p a d d i n g : 0 1 4 p x 0 4 4 p x } l i > b u t t o n [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( : d i s a b l e d ) : h o v e r , l i > b u t t o n [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( : d i s a b l e d ) : f o c u s , l i > b u t t o n : n o t ( : d i s a b l e d ) . a c t i v e [ d a t a - v - 8 d c 4 e f b 0 ] , l i > a [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( : d i s a b l e d ) : h o v e r , l i > a [ d a t a - v - 8 d c 4 e f b 0 ] : n o t ( : d i s a b l e d ) : f o c u s , l i >
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-03-22 21:46:15 +03:00
Object ( r . a ) ( M ) , e . default = M } , , , function ( t , e ) { t . exports = n ( 582 ) } , function ( t , e ) { t . exports = n ( 584 ) } , , , , , , , , , , , , , , , , , , , function ( t , e ) { t . exports = n ( 585 ) } , , , , , , function ( t , e ) { t . exports = n ( 587 ) } , function ( t , e ) { t . exports = n ( 588 ) } , function ( t , e ) { t . exports = n ( 589 ) } , function ( t , e ) { t . exports = n ( 590 ) } , function ( t , e , n ) { "use strict" ; var r = n ( 56 ) ; n . n ( r ) . a } , function ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . push ( [ t . i , ".option[data-v-30d8da34]{display:flex;align-items:center;width:100%;height:32px}.option__avatar[data-v-30d8da34]{flex:0 0 32px;width:32px;height:32px;margin-right:6px}.option__desc[data-v-30d8da34]{display:flex;flex:1 1;flex-direction:column;justify-content:center;min-width:0}.option__desc--lineone[data-v-30d8da34]{color:var(--color-text-light)}.option__desc--linetwo[data-v-30d8da34]{opacity:.7}.option__desc--lineone[data-v-30d8da34],.option__desc--linetwo[data-v-30d8da34]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.option__desc--lineone strong[data-v-30d8da34],.option__desc--linetwo strong[data-v-30d8da34]{font-weight:bold}.option__icon[data-v-30d8da34]{flex:0 0 44px;width:44px;height:44px;margin:-6px;opacity:.5;background-position:center;background-size:16px}\n" , "" ] ) , t . exports = e } , function ( t , e , n ) { "use strict" ; var r = n ( 57 ) ; n . n ( r ) . a } , function ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . push ( [ t . i , ".name-parts[data-v-c4325954]{display:flex;max-width:100%}.name-parts__first[data-v-c4325954]{overflow:hidden;text-overflow:ellipsis}.name-parts__first[data-v-c4325954],.name-parts__last[data-v-c4325954]{white-space:pre}.name-parts__first strong[data-v-c4325954],.name-parts__last strong[data-v-c4325954]{font-weight:bold}\n" , "" ] ) , t . exports = e } , function ( t , e , n ) { var r = n ( 148 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "b5985a26" , r , ! 0 , { } ) } , function ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . push ( [ t . i , " . multiselect [ data - v - 2 c44938 ] { margin : 0 ; padding : 0 ! important ; display : inline - block ; min - width : 160 px ; position : relative ; background - color : var ( -- color - main - background ) } . multiselect [ data - v - 2 c44938 ] . multiselect -- active input . multiselect _ _input { opacity : 1 ! important ; cursor : text ! important ; border - radius : var ( -- border - radius ) var ( -- border - radius ) 0 0 } . multiselect [ data - v - 2 c44938 ] . multiselect -- active . multiselect _ _limit { display : none } . multiselect [ data - v - 2 c44938 ] . multiselect -- active . multiselect -- above input . multiselect _ _input { border - radius : 0 0 var ( -- border - radius ) var ( -- border - radius ) } . multiselect [ data - v - 2 c44938 ] . multiselect -- disabled , . multiselect [ data - v - 2 c44938 ] . multiselect -- disabled . multiselect _ _single { background - color : var ( -- color - background - dark ) ! important } . multiselect [ data - v - 2 c44938 ] . icon - loading - small : : after { left : 100 % ; margin - left : - 24 px } . multiselect [ data - v - 2 c44938 ] . 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 - 2 c44938 ] . 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 - 2 c44938 ] . multiselect _ _tags . multiselect _ _tags - wrap : empty ~ input . multiselect _ _input { opacity : 1 ! important } . multiselect [ data - v - 2 c44938 ] . multiselect _ _tags . multiselect _ _tags - wrap : empty ~ input . multiselect _ _input + span : not ( . multiselect _ _single ) { display : none } . multiselect [ data - v - 2 c44938 ] . 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 - 2 c44938 ] . multiselect _ _tags . multiselect _ _tags - wrap . multiselect _ _tag : only - child { flex : 0 1 auto } . multiselect [ data - v - 2 c44938 ] . multiselect _ _tags . multiselect _ _tags - wrap . multiselect _ _tag : not ( : last - child ) { margin - right : 5 px } . multiselect [ data - v - 2 c44938 ] . multiselect _ _tags . multiselect _ _tags - wrap . multiselect _ _tag > span { white - space : nowrap ; text - overflow : ellipsis ; overflow : hidden } . multiselect [ data - v - 2 c44938 ] . multiselect _ _tags . multiselect _
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-03-22 21:46:15 +03:00
* / e . 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 6 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 5 3 ) } , 1 7 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 7 6 ) } , 1 7 3 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n . d ( e , " A c t i o n T e x t " , ( f u n c t i o n ( ) { r e t u r n i } ) ) ; v a r r = { n a m e : " A c t i o n T e x t " , m i x i n s : [ n ( 2 6 ) . a ] } , o = ( n ( 1 9 0 ) , n ( 0 ) ) , i = O b j e c t ( o . a ) ( r , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " l i " , [ n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - t e x t " } , [ " " ! = = t . i c o n ? n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - t e x t _ _ i c o n " , c l a s s : [ t . i s I c o n U r l ? " a c t i o n - t e x t _ _ i c o n - - u r l " : t . i c o n ] , s t y l e : { b a c k g r o u n d I m a g e : t . i s I c o n U r l ? " u r l ( " + t . i c o n + " ) " : n u l l } } ) : t . _ e ( ) , t . _ v ( " " ) , t . t i t l e ? n ( " p " , [ n ( " s t r o n g " , { s t a t i c C l a s s : " a c t i o n - t e x t _ _ t i t l e " } , [ t . _ v ( " \ n \ t \ t \ t \ t " + t . _ s ( t . t i t l e ) + " \ n \ t \ t \ t " ) ] ) , t . _ v ( " " ) , n ( " b r " ) , t . _ v ( " " ) , n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - t e x t _ _ l o n g t e x t " , d o m P r o p s : { t e x t C o n t e n t : t . _ s ( t . t e x t ) } } ) ] ) : t . i s L o n g T e x t ? n ( " p " , { s t a t i c C l a s s : " a c t i o n - t e x t _ _ l o n g t e x t " , d o m P r o p s : { t e x t C o n t e n t : t . _ s ( t . t e x t ) } } ) : n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - t e x t _ _ t e x t " } , [ t . _ v ( t . _ s ( t . t e x t ) ) ] ) , t . _ v ( " " ) , t . _ e ( ) ] , 2 ) ] ) } ) , [ ] , ! 1 , n u l l , " 8 b 0 5 f 9 7 c " , n u l l ) . e x p o r t s ; e . d e f a u l t = i } , 1 8 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 8 3 ) } , 1 9 0 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 9 1 ) ; n . n ( r ) . a } , 1 9 1 : f u n c t i o n ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . p u s h ( [ t . i , " l i . a c t i v e [ d a t a - v - 8 b 0 5 f 9 7 c ] { b o x - s h a d o w : i n s e t 4 p x 0 v a r ( - - c o l o r - p r i m a r y ) } . a c t i o n - t e x t [ d a t a - v - 8 b 0 5 f 9 7 c ] { d i s p l a y : f l e x ; a l i g n - i t e m s : f l e x - s t a r t ; w i d t h : 1 0 0 % ; h e i g h t : a u t o ; m a r g i n : 0 ; p a d d i n g : 0 ; 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 - t e x t [ d a t a - v - 8 b 0 5 f 9 7 c ] : h o v e r , . a c t i o n - t e x t [ d a t a - v - 8 b 0 5 f 9 7 c ] : f o c u s { o p a c i t y : 1 } . a c t i o n - t e x t > s p a n [ d a t a - v - 8 b 0 5 f 9 7 c ] { 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 - t e x t _ _ i c o n [ d a t a - v - 8 b 0 5 f 9 7 c ] { 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 - t e x t p [ d a t a - v - 8 b 0 5 f 9 7 c ] { 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 - t e x t _ _ l o n g t e x t [ d a t a - v - 8 b 0 5 f 9 7 c ] { 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 - t e x t _ _ t i t l e [ d a t a - v - 8 b 0 5 f 9 7 c ] { f o n t - w e i g h t : b o l d } . a c t i o n - - d i s a b l e d [ d a t a - v - 8 b 0 5 f 9 7 c ] { p o i n t e r - e v e n t s : n o n e ; o p a c i t y : . 5 } . a c t i o n - - d i s a b l e d [ d a t a - v - 8 b 0 5 f 9 7 c ] : h o v e r , . a c t i o n - - d i s a b l e d [ d a t a - v - 8 b 0 5 f 9 7 c ] : f o c u s { c u r s o r : d e f a u l t ; o p a c i t y : . 5 } . a c t i o n - - d i s a b l e d * [ d a t a - v - 8 b 0 5 f 9 7 c ] { o p a c i t y : 1 ! i m p o r t a n t } . a c t i o n - t e x t [ d a t a - v - 8 b 0 5 f 9 7 c ] , . a c t i o n - t e x t s p a n [ d a t a - v - 8 b 0 5 f 9 7 c ] { c u r s o r : d e f a u l t } \ n " , " " ] ) , t . e x p o r t s = e } , 2 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; f u n c t i o n r ( t , e ) { f o r ( v a r n = [ ] , r = { } , o = 0 ; o < e . l e n g t h ; o + + ) { v a r i = e [ o ] , a = i [ 0 ] , s = { i d : t + " : " + 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 ( e ) , n . d ( e , " 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 , A = ! 1 , l = f u n c t i o n ( ) { } , u = n u l l , f = " 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 ( t , e , n , o ) { A = n , u = o | | { } ; v a r a = r ( t , e ) ; r e t u r n d ( a ) , f u n c t i o n ( e ) { 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 ( e ? d ( a = r ( t , e ) ) : 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 A = 0 ; A < c . p a r t s . l e n g t h ; A + + ) c . p a r t s [ A ] ( ) ; d e l e t e i [ c . i d ] } } } } f u n c t i o n d ( t ) { f o r ( v a r e = 0 ; e < t . l e n g t h ; e + + ) { v a r n = t [ e ] , 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 ( m ( 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
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-03-22 21:46:15 +03:00
* / e . 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 5 8 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n . d ( e , " A c t i o n C h e c k b o x " , ( f u n c t i o n ( ) { r e t u r n l } ) ) , n ( 2 5 ) , n ( 2 4 ) ; v a r r = n ( 1 4 ) , o = n ( 2 2 ) , i = { n a m e : " A c t i o n C h e c k b o x " , m i x i n s : [ r . a ] , p r o p s : { i d : { t y p e : S t r i n g , d e f a u l t : f u n c t i o n ( ) { r e t u r n " a c t i o n - " + O b j e c t ( o . a ) ( ) } , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n " " ! = = t . t r i m ( ) } } , c h e c k e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , v a l u e : { t y p e : [ S t r i n g , N u m b e r ] , d e f a u l t : " " } , d i s a b l e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , c o m p u t e d : { i s F o c u s a b l e : f u n c t i o n ( ) { r e t u r n ! t h i s . d i s a b l e d } } , m e t h o d s : { c h e c k I n p u t : f u n c t i o n ( t ) { t h i s . $ r e f s . l a b e l . c l i c k ( ) } , o n C h a n g e : f u n c t i o n ( t ) { t h i s . $ e m i t ( " u p d a t e : c h e c k e d " , t h i s . $ r e f s . c h e c k b o x . c h e c k e d ) , t h i s . $ e m i t ( " c h a n g e " , t ) , t h i s . $ r e f s . c h e c k b o x . c h e c k e d ? t h i s . $ e m i t ( " c h e c k " ) : t h i s . $ e m i t ( " u n c h e c k " ) } } } , a = ( n ( 1 7 8 ) , n ( 0 ) ) , s = n ( 1 2 0 ) , c = n . n ( s ) , A = O b j e c t ( a . a ) ( i , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " l i " , { c l a s s : { " a c t i o n - - d i s a b l e d " : t . d i s a b l e d } } , [ n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - c h e c k b o x " } , [ n ( " i n p u t " , { r e f : " c h e c k b o x " , s t a t i c C l a s s : " c h e c k b o x a c t i o n - c h e c k b o x _ _ c h e c k b o x " , c l a s s : { f o c u s a b l e : t . i s F o c u s a b l e } , a t t r s : { i d : t . i d , d i s a b l e d : t . d i s a b l e d , t y p e : " c h e c k b o x " } , d o m P r o p s : { c h e c k e d : t . c h e c k e d , v a l u e : t . v a l u e } , o n : { k e y d o w n : f u n c t i o n ( e ) { r e t u r n ! e . t y p e . i n d e x O f ( " k e y " ) & & t . _ k ( e . k e y C o d e , " e n t e r " , 1 3 , e . k e y , " E n t e r " ) | | e . c t r l K e y | | e . s h i f t K e y | | e . a l t K e y | | e . m e t a K e y ? n u l l : ( e . p r e v e n t D e f a u l t ( ) , t . c h e c k I n p u t ( e ) ) } , c h a n g e : t . o n C h a n g e } } ) , t . _ v ( " " ) , n ( " l a b e l " , { r e f : " l a b e l " , s t a t i c C l a s s : " a c t i o n - c h e c k b o x _ _ l a b e l " , a t t r s : { f o r : t . i d } } , [ t . _ v ( t . _ s ( t . t e x t ) ) ] ) , t . _ v ( " " ) , t . _ e ( ) ] , 2 ) ] ) } ) , [ ] , ! 1 , n u l l , " e 8 e 4 5 1 c c " , n u l l ) ; " f u n c t i o n " = = t y p e o f c . a & & c ( ) ( A ) ; v a r l = A . 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-03-22 21:46:15 +03:00
* / e . d e f a u l t = l } , 1 7 8 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 8 5 ) ; n . n ( r ) . a } , 1 7 9 : f u n c t i o n ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . p u s h ( [ t . i , " l i . a c t i v e [ d a t a - v - e 8 e 4 5 1 c c ] { b o x - s h a d o w : i n s e t 4 p x 0 v a r ( - - c o l o r - p r i m a r y ) } . a c t i o n - - d i s a b l e d [ d a t a - v - e 8 e 4 5 1 c c ] { p o i n t e r - e v e n t s : n o n e ; o p a c i t y : . 5 } . a c t i o n - - d i s a b l e d [ d a t a - v - e 8 e 4 5 1 c c ] : h o v e r , . a c t i o n - - d i s a b l e d [ d a t a - v - e 8 e 4 5 1 c c ] : f o c u s { c u r s o r : d e f a u l t ; o p a c i t y : . 5 } . a c t i o n - - d i s a b l e d * [ d a t a - v - e 8 e 4 5 1 c c ] { o p a c i t y : 1 ! i m p o r t a n t } . a c t i o n - c h e c k b o x [ d a t a - v - e 8 e 4 5 1 c c ] { d i s p l a y : f l e x ; a l i g n - i t e m s : f l e x - s t a r t ; w i d t h : 1 0 0 % ; h e i g h t : a u t o ; m a r g i n : 0 ; p a d d i n g : 0 ; c u r s o r : p o i n t e r ; w h i t e - s p a c e : n o w r a p ; c o l o r : v a r ( - - c o l o r - m a i n - t e x t ) ; b o r d e r : 0 ; b o r d e r - r a d i u s : 0 ; b a c k g r o u n d - c o l o r : t r a n s p a r e n t ; b o x - s h a d o w : n o n e ; f o n t - w e i g h t : n o r m a l ; l i n e - h e i g h t : 4 4 p x } . a c t i o n - c h e c k b o x _ _ c h e c k b o x [ d a t a - v - e 8 e 4 5 1 c c ] { p o s i t i o n : a b s o l u t e ; t o p : a u t o ; l e f t : - 1 0 0 0 0 p x ; o v e r f l o w : h i d d e n ; w i d t h : 1 p x ; h e i g h t : 1 p x } . a c t i o n - c h e c k b o x _ _ c h e c k b o x : f o c u s + . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - e 8 e 4 5 1 c c ] { o p a c i t y : 1 } . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - e 8 e 4 5 1 c c ] { d i s p l a y : f l e x ; a l i g n - i t e m s : c e n t e r ; w i d t h : 1 0 0 % ; p a d d i n g : 0 ! i m p o r t a n t ; p a d d i n g - r i g h t : 1 4 p x ! i m p o r t a n t ; o p a c i t y : . 7 } . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - e 8 e 4 5 1 c c ] : : b e f o r e { m a r g i n : 0 1 4 p x 0 ! i m p o r t a n t } . a c t i o n - c h e c k b o x - - d i s a b l e d [ d a t a - v - e 8 e 4 5 1 c c ] , . a c t i o n - c h e c k b o x - - d i s a b l e d . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - e 8 e 4 5 1 c c ] { c u r s o r : p o i n t e r } . a c t i o n - c h e c k b o x : n o t ( . a c t i o n - c h e c k b o x - - d i s a b l e d ) : h o v e r . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - e 8 e 4 5 1 c c ] , . a c t i o n - c h e c k b o x : n o t ( . a c t i o n - c h e c k b o x - - d i s a b l e d ) : f o c u s . a c t i o n - c h e c k b o x _ _ l a b e l [ d a t a - v - e 8 e 4 5 1 c c ] { o p a c i t y : 1 } \ n " , " " ] ) , t . e x p o r t s = e } , 1 9 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 7 2 ) } , 2 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; f u n c t i o n r ( t , e ) { f o r ( v a r n = [ ] , r = { } , o = 0 ; o < e . l e n g t h ; o + + ) { v a r i = e [ o ] , a = i [ 0 ] , s = { i d : t + " : " + 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 ( e ) , n . d ( e , " 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 , A = ! 1 , l = f u n c t i o n ( ) { } , u = n u l l , f = " 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 ( t , e , n , o ) { A = n , u = o | | { } ; v a r a = r ( t , e ) ; r e t u r n d ( a ) , f u n c t i o n ( e ) { 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 ( e ? d ( a = r ( t , e ) ) : 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 A = 0 ; A < c . p a r t s . l e n g t h ; A + + ) c . p a r t s [ A ] ( ) ; d e l e t e i [ c . i d ] } } } } f u n c t i o n d ( t ) { f o r ( v a r e = 0 ; e < t . l e n g t h ; e + + ) { v a r n = t [ e ] , 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 ( m ( 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 ( m ( 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 h ( ) { v a r t = 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 t . t y p e = " t e x t / c s s " , a . a p p e n d C h i l d ( t ) , t } f u n c t i o n m ( t ) { v a r e , 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 ~ = " ' + t . i d + ' " ] ' ) ; i f ( r ) { i f ( A ) r e t u r n l ; 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 ( f ) { v a r o = c + + ; r = s | | ( s = h ( ) ) , e = b . b i n d ( n u l l , r , o , ! 1 ) , n = b . b i n d ( n u l l , r , o , ! 0 ) } e l s e r = h ( ) , e = y . 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 e ( t ) , f u n c t i o n ( r ) { i f ( r ) { i f ( r . c s s = = = t . c s s & & r . m e d i a = = = t . m e d i a & & r . s o u r c e M a p = = = t . s o u r c e M a p ) r e t u r n ; e ( t = r ) } e l s e n ( ) } } v a r g , v = ( g = [ ] , f u n c t i o n ( t , e ) { r e t u r n g [ t ] = e , 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 b ( t , e , n , r ) { v a r o = n ? " " : r . c s s ; i f ( t . s t y l e S h e e t ) t . s t y l e S h e e t . c s s T e x t = v ( e , 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 = t . c h i l d N o d e s ; a [ e ] & & t . r e m o v e C h i l d ( a [ e ] ) , a . l e n g t h ? t . i n s e r t B e f o r e ( i , a [ e ] ) : t . a p p e n d C h i l d ( i ) } } f u n c t i o n y ( t , e ) { v a r n = e . c s s , r = e . m e d i a , o = e . s o u r c e M a p ; i f ( r & & t . s e t A t t r i b u t e ( " m e d i a " , r ) , u . s s r I d & & t . s e t A t t r i b u t e ( " d a t a - v u e - s s r - i d " , e . 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 ) ) ) ) + " * / " ) , t . s t y l e S h e e t ) t . 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 ( ; t . f i r s t C h i l d ; ) t . r e m o v e C h i l d ( t . f i r s t C h i l d ) ; t . 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 ( t , e ) { t . e x p o r t s = n ( 8 1 ) } , 2 2 : f u n c t i o n ( t ,
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-03-22 21:46:15 +03:00
Object ( r . a ) ( u ) , e . default = u } , 121 : function ( t , e ) { } , 135 : function ( t , e , n ) { var r = n ( 136 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "600615ea" , r , ! 0 , { } ) } , 136 : function ( t , e , n ) { var r = n ( 1 ) , o = n ( 7 ) , i = n ( 8 ) , a = n ( 9 ) , s = n ( 10 ) , c = n ( 11 ) ; e = r ( ! 1 ) ; var A = o ( i ) , l = o ( a ) , u = o ( s ) , f = o ( c ) ; e . push ( [ t . i , '@font-face{font-family:"iconfont-vue-2c44938";src:url(' + A + ");src:url(" + A + ') format("embedded-opentype"),url(' + l + ') format("woff"),url(' + u + ') format("truetype"),url(' + f + ') format("svg")}.icon{font-style:normal;font-weight:400}.icon.arrow-left-double:before{font-family:"iconfont-vue-2c44938";content:""}.icon.arrow-left:before{font-family:"iconfont-vue-2c44938";content:""}.icon.arrow-right-double:before{font-family:"iconfont-vue-2c44938";content:""}.icon.arrow-right:before{font-family:"iconfont-vue-2c44938";content:""}.icon.checkmark:before{font-family:"iconfont-vue-2c44938";content:""}.icon.close:before{font-family:"iconfont-vue-2c44938";content:""}.icon.confirm:before{font-family:"iconfont-vue-2c44938";content:""}.icon.menu:before{font-family:"iconfont-vue-2c44938";content:""}.icon.more:before{font-family:"iconfont-vue-2c44938";content:""}.icon.pause:before{font-family:"iconfont-vue-2c44938";content:""}.icon.play:before{font-family:"iconfont-vue-2c44938";content:""}.icon.triangle-s:before{font-family:"iconfont-vue-2c44938";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 - color : # 409 aff } . mx - input : disabled , . mx - input . disabled { color : # ccc ; background - color : # f3f3f3 ; border - color : # ccc ; cursor : not - allowed } . mx - input : focus { outline : none } . mx - input : : - ms - clear { display : none } . mx - icon - calendar , . mx -
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-03-22 21:46:15 +03:00
* / e . 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 5 5 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n . d ( e , " A c t i o n I n p u t " , ( f u n c t i o n ( ) { r e t u r n l } ) ) , n ( 2 0 ) , n ( 1 6 ) , n ( 3 ) , n ( 1 7 ) , n ( 2 4 ) , n ( 1 8 ) , n ( 2 3 ) ; v a r r = n ( 1 4 ) , o = n ( 2 2 ) , i = { n a m e : " A c t i o n I n p u t " , c o m p o n e n t s : { D a t e t i m e P i c k e r : n ( 1 1 1 ) . d e f a u l t } , m i x i n s : [ r . a ] , p r o p s : { i d : { t y p e : S t r i n g , d e f a u l t : f u n c t i o n ( ) { r e t u r n " a c t i o n - " + O b j e c t ( o . a ) ( ) } , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n " " ! = = t . t r i m ( ) } } , i c o n : { t y p e : S t r i n g , d e f a u l t : " " , r e q u i r e d : ! 0 } , t y p e : { t y p e : S t r i n g , d e f a u l t : " t e x t " , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n [ " d a t e " , " d a t e t i m e - l o c a l " , " m o n t h " , " n u m b e r " , " p a s s w o r d " , " s e a r c h " , " t e l " , " t e x t " , " t i m e " , " u r l " , " w e e k " ] . i n d e x O f ( t ) > - 1 } } , v a l u e : { t y p e : S t r i n g , d e f a u l t : " " } , d i s a b l e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , c o m p u t e d : { i s I c o n U r l : f u n c t i o n ( ) { t r y { r e t u r n n e w U R L ( t h i s . i c o n ) } c a t c h ( t ) { r e t u r n ! 1 } } , i s D a t e P i c k e r T y p e : f u n c t i o n ( ) { s w i t c h ( t h i s . t y p e ) { c a s e " d a t e " : c a s e " m o n t h " : c a s e " t i m e " : r e t u r n t h i s . t y p e ; c a s e " d a t e t i m e - l o c a l " : r e t u r n " d a t e t i m e " } r e t u r n ! 1 } , i s F o c u s a b l e : f u n c t i o n ( ) { r e t u r n ! t h i s . d i s a b l e d } } , m e t h o d s : { o n L e a v e : f u n c t i o n ( ) { t h i s . $ r e f s . d a t e t i m e p i c k e r & & t h i s . $ r e f s . d a t e t i m e p i c k e r . $ r e f s . d a t e p i c k e r & & t h i s . $ r e f s . d a t e t i m e p i c k e r . $ r e f s . d a t e p i c k e r . c l o s e P o p u p ( ) } , o n I n p u t : f u n c t i o n ( t ) { t h i s . $ e m i t ( " i n p u t " , t ) , t h i s . $ e m i t ( " u p d a t e : v a l u e " , t . t a r g e t ? t . t a r g e t . v a l u e : t ) } , o n S u b m i t : f u n c t i o n ( t ) { i f ( t . p r e v e n t D e f a u l t ( ) , t . s t o p P r o p a g a t i o n ( ) , t h i s . d i s a b l e d ) r e t u r n ! 1 ; t h i s . $ e m i t ( " s u b m i t " , t ) } , o n C h a n g e : f u n c t i o n ( t ) { t h i s . $ e m i t ( " c h a n g e " , t ) } } } , a = ( n ( 1 8 0 ) , n ( 0 ) ) , s = n ( 1 2 1 ) , c = n . n ( s ) , A = O b j e c t ( a . a ) ( i , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " l i " , { c l a s s : { " a c t i o n - - d i s a b l e d " : t . d i s a b l e d } } , [ n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - i n p u t " , c l a s s : { " a c t i o n - i n p u t - - p i c k e r " : t . i s D a t e P i c k e r T y p e , " a c t i o n - i n p u t - p i c k e r - - d i s a b l e d " : t . d i s a b l e d } , o n : { m o u s e l e a v e : t . o n L e a v e } } , [ n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - i n p u t _ _ i c o n " , c l a s s : [ t . i s I c o n U r l ? " a c t i o n - i n p u t _ _ i c o n - - u r l " : t . i c o n ] , s t y l e : { b a c k g r o u n d I m a g e : t . i s I c o n U r l ? " u r l ( " + t . i c o n + " ) " : n u l l } } ) , t . _ v ( " " ) , n ( " f o r m " , { r e f : " f o r m " , s t a t i c C l a s s : " a c t i o n - i n p u t _ _ f o r m " , a t t r s : { d i s a b l e d : t . d i s a b l e d } , o n : { s u b m i t : f u n c t i o n ( e ) { r e t u r n e . p r e v e n t D e f a u l t ( ) , t . o n S u b m i t ( e ) } } } , [ t . i s D a t e P i c k e r T y p e ? n ( " D a t e t i m e P i c k e r " , t . _ b ( { r e f : " d a t e t i m e p i c k e r " , s t a t i c C l a s s : " a c t i o n - i n p u t _ _ p i c k e r " , a t t r s : { v a l u e : t . v a l u e , p l a c e h o l d e r : t . t e x t , d i s a b l e d : t . d i s a b l e d , t y p e : t . i s D a t e P i c k e r T y p e , " i n p u t - c l a s s " : [ " m x - i n p u t " , { f o c u s a b l e : t . i s F o c u s a b l e } ] } , o n : { i n p u t : t . o n I n p u t , c h a n g e : t . o n C h a n g e } } , " D a t e t i m e P i c k e r " , t . $ a t t r s , ! 1 ) ) : [ n ( " i n p u t " , { s t a t i c C l a s s : " a c t i o n - i n p u t _ _ s u b m i t " , a t t r s : { i d : t . i d , t y p e : " s u b m i t " } } ) , t . _ v ( " " ) , n ( " i n p u t " , t . _ b ( { s t a t i c C l a s s : " a c t i o n - i n p u t _ _ i n p u t " , c l a s s : { f o c u s a b l e : t . i s F o c u s a b l e } , a t t r s : { t y p e : t . t y p e , p l a c e h o l d e r : t . t e x t , d i s a b l e d : t . d i s a b l e d } , d o m P r o p s : { v a l u e : t . v a l u e } , o n : { i n p u t : t . o n I n p u t , c h a n g e : t . o n C h a n g e } } , " i n p u t " , t . $ a t t r s , ! 1 ) ) , t . _ v ( " " ) , n ( " l a b e l " , { d i r e c t i v e s : [ { n a m e : " s h o w " , r a w N a m e : " v - s h o w " , v a l u e : ! t . d i s a b l e d , e x p r e s s i o n : " ! d i s a b l e d " } ] , s t a t i c C l a s s : " a c t i o n - i n p u t _ _ l a b e l " , a t t r s : { f o r : t . i d } } ) ] ] , 2 ) ] ) ] ) } ) , [ ] , ! 1 , n u l l , " e 0 9 3 a e 2 6 " , n u l l ) ; " f u n c t i o n " = = t y p e o f c . a & & c ( ) ( A ) ; v a r l = A . 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-03-22 21:46:15 +03:00
* / e . d e f a u l t = l } , 1 6 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 5 3 ) } , 1 7 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 7 6 ) } , 1 8 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 8 3 ) } , 1 8 0 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 8 6 ) ; n . n ( r ) . a } , 1 8 1 : f u n c t i o n ( t , e , n ) { v a r r = n ( 1 ) , o = n ( 7 ) , i = n ( 8 ) , a = n ( 9 ) , s = n ( 1 0 ) , c = n ( 1 1 ) ; e = r ( ! 1 ) ; v a r A = o ( i ) , l = o ( a ) , u = o ( s ) , f = o ( c ) ; e . p u s h ( [ t . i , ' @ f o n t - f a c e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; s r c : u r l ( ' + A + " ) ; s r c : u r l ( " + A + ' ) f o r m a t ( " e m b e d d e d - o p e n t y p e " ) , u r l ( ' + l + ' ) 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 ( ' + f + ' ) f o r m a t ( " s v g " ) } . i c o n [ d a t a - v - e 0 9 3 a e 2 6 ] { f o n t - s t y l e : n o r m a l ; f o n t - w e i g h t : 4 0 0 } . i c o n . a r r o w - l e f t - d o u b l e [ d a t a - v - e 0 9 3 a e 2 6 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . a r r o w - l e f t [ d a t a - v - e 0 9 3 a e 2 6 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t - d o u b l e [ d a t a - v - e 0 9 3 a e 2 6 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t [ d a t a - v - e 0 9 3 a e 2 6 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . c h e c k m a r k [ d a t a - v - e 0 9 3 a e 2 6 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . c l o s e [ d a t a - v - e 0 9 3 a e 2 6 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . c o n f i r m [ d a t a - v - e 0 9 3 a e 2 6 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . m e n u [ d a t a - v - e 0 9 3 a e 2 6 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . m o r e [ d a t a - v - e 0 9 3 a e 2 6 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . p a u s e [ d a t a - v - e 0 9 3 a e 2 6 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . p l a y [ d a t a - v - e 0 9 3 a e 2 6 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . t r i a n g l e - s [ d a t a - v - e 0 9 3 a e 2 6 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } b u t t o n [ d a t a - v - e 0 9 3 a e 2 6 ] , i n p u t [ d a t a - v - e 0 9 3 a e 2 6 ] : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) , t e x t a r e a [ d a t a - v - e 0 9 3 a e 2 6 ] { m a r g i n : 0 ; p a d d i n g : 7 p x 6 p x ; c u r s o r : t e x t ; c o l o r : v a r ( - - c o l o r - t e x t - l i g h t e r ) ; b o r d e r : 1 p x s o l i d v a r ( - - c o l o r - b o r d e r - d a r k ) ; b o r d e r - r a d i u s : v a r ( - - b o r d e r - r a d i u s ) ; o u t l i n e : n o n e ; b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - m a i n - b a c k g r o u n d ) ; f o n t - s i z e : 1 3 p x } b u t t o n [ d a t a - v - e 0 9 3 a e 2 6 ] : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : h o v e r , b u t t o n [ d a t a - v - e 0 9 3 a e 2 6 ] : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : f o c u s , b u t t o n : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) . a c t i v e [ d a t a - v - e 0 9 3 a e 2 6 ] , i n p u t [ d a t a - v - e 0 9 3 a e 2 6 ] : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : h o v e r , i n p u t [ d a t a - v - e 0 9 3 a e 2 6 ] : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : f o c u s , i n p u t : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) . a c t i v e [ d a t a - v - e 0 9 3 a e 2 6 ] , t e x t a r e a [ d a t a - v - e 0 9 3 a e 2 6 ] : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : h o v e r , t e x t a r e a [ d a t a - v - e 0 9 3 a e 2 6 ] : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : f o c u s , t e x t a r e a : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) . a c t i v e [ d a t a - v - e 0 9 3 a e 2 6 ] { b o r d e r - c o l o r : v a r ( - - c o l o r - p r i m a r y - e l e m e n t ) ; o u t l i n e : n o n e } b u t t o n [ d a t a - v - e 0 9 3 a e 2 6 ] : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : a c t i v e , i n p u t [ d a t a - v - e 0 9 3 a e 2 6 ] : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) : n o t ( : d i s a b l e d ) : n o t ( . p r i m a r y ) : a c t i v e , t e x t a r e a [ d a t a - v - e 0 9 3 a e 2 6 ] : n o t ( : d i s a b l 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 - e 0 9 3 a e 2 6 ] : d i s a b l e d , i n p u t [ d a t a - v - e 0 9 3 a e 2 6 ] : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) : d i s a b l e d , t e x t a r e a [ d a t a - v - e 0 9 3 a e 2 6 ] : 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 - e 0 9 3 a e 2 6 ] : r e q u i r e d , i n p u t [ d a t a - v - e 0 9 3 a e 2 6 ] : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) : r e q u i r e d , t e x t a r e a [ d a t a - v - e 0 9 3 a e 2 6 ] : 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 - e 0 9 3 a e 2 6 ] : i n v a l i d , i n p u t [ d a t a - v - e 0 9 3 a e 2 6 ] : n o t ( [ t y p e = \ ' r a n g e \ ' ] ) : i n v a l i d , t e x t a r e a [ d a t a - v - e 0 9 3 a e 2 6 ] : 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 - e 0 9 3 a e 2 6 ] , 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 - e 0 9 3 a e 2 6 ] , t e x t a r e a . p r i m a r y [ d a t a - v - e 0 9 3 a e 2 6 ] { 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 - e 0 9 3 a e 2 6 ] : 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 - e 0 9 3 a e 2 6 ] : 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 - e 0 9 3 a e 2 6 ] : 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 - e 0 9 3 a e 2 6 ] : 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 - e 0 9 3 a e 2 6 ] : 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 = \ ' r a n g e \ ' ] ) . p r i m a r y [ d a t a - v - e 0 9 3 a e 2 6 ] : n o t ( : d i s a b l e d ) : a c t i v e , t e x t a r e a . p r i m a r y [ d a t a - v - e 0 9 3 a e 2 6 ] : n o t ( : d i s a b l e d
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-03-22 21:46:15 +03:00
* /e.a=function(t){t.mounted?Array.isArray(t.mounted)||(t.mounted=[t.mounted]):t.mounted=[],t.mounted.push((function(){this.$el.setAttribute("data-v-".concat("2c44938"),"")}))}},5:function(t,e){t.exports=n(15)},6:function(t,e){t.exports=n(52)},7:function(t,e,n){"use strict";t.exports=function(t,e){return e||(e={}),"string"!=typeof(t=t&&t.__esModule?t.default:t)?t:(/ ^ [ '"].*[' "]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/[" '() \t\n]/.test(t)||e.needQuotes?' "'.concat(t.replace(/" / g , '\\"' ) . replace ( /\n/g , "\\n" ) , '"' ) : t ) } } , 70 : function ( t , e ) { t . exports = n ( 645 ) } , 71 : function ( t , e ) { } , 8 : function ( t , e , n ) { "use strict" ; n . r ( e ) , e . default = " data : application / vnd . ms - fontobject ; base64 , qgoAAOAJAAABAAIAAAAAAAIABQMAAAAAAAABQJABAAAAAExQAAAAABAAAAAAAAAAAAAAAAAAAAEAAAAAGXR5 / gAAAAAAAAAAAAAAAAAAAAAAACgAAGkAYwBvAG4AZgBvAG4AdAAtAHYAdQBlAC0AMgBjADQANAA5ADMAOAAAAAAAABYAAFYAZQByAHMAaQBvAG4AIAAxAC4AMAAAKAAAaQBjAG8AbgBmAG8AbgB0AC0AdgB1AGUALQAyAGMANAA0ADkAMwA4AAAAAAABAAAACgCAAAMAIE9TLzJ045CJAAAArAAAAGBjbWFwAA3rsgAAAQwAAAFCZ2x5ZrP154sAAAJQAAADgGhlYWQnkVyCAAAF0AAAADZoaGVhJxwTgAAABggAAAAkaG10eBOI //8AAAYsAAAAHmxvY2EFNAW+AAAGTAAAABxtYXhwARoAVwAABmgAAAAgbmFtZeQHI/gAAAaIAAACpnBvc3TeHIDjAAAJMAAAALAABBOIAZAABQAADGUNrAAAArwMZQ2sAAAJYAD1BQoAAAIABQMAAAAAAAAAAAAAEAAAAAAAAAAAAAAAUGZFZABA6gHqDBOIAAABwhOIAAAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQAAAAAAPAADAAEAAAAcAAQAIAAAAAQABAABAADqDP//AADqAf//FgAAAQAAAAAAAAEGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAAAAOpg9DAAUACwAACQIRCQQRCQEOpvqCBX77ugRG+oL6ggV++7oERg9C+oL6ggE4BEYERgE4+oL6ggE4BEYERgABAAAAAA1uElAABQAACQERCQERBhsHU/d0CIwJxPit/sgIiwiM/scAAgAAAAAP3w9DAAUACwAACQIRCQQRCQEE4gV++oIERvu6BX4Ff/qBBEb7ugRGBX4Ffv7I+7r7uv7IBX4Ffv7I+7r7ugABAAAAAA6mElAABQAACQERCQERDW74rQiL93UJxAdTATn3dPd1ATgAAQAAAAARhw+DAAUAAAkFD8338/v7/kYFvwnHD4P38wQF/kf6QQnGAAEAAAAAERcRFwALAAAJCxEX/e36wPrA/e0FQPrAAhMFQAVAAhP6wASE/e0FQPrAAhMFQAVAAhP6wAVA/e36wAAB//8AABOTEuwAMwAAASIHDgEXFhcBISYHBgcGBwYUFxYXFhcWNyEBBgcGFxYXHgEXFhcWNzY3ATY3NicmJwEuAQpgZU9KRhASSAXX8eBNPjopJxQUFBQnKTo+TQ4g+ik3GhgDAxsZVjU3Oz46PzUH7TsVFRQVPPgTLHQS7Dk0rFlgR/oqARsYLiw5OHg4OSwuGBsC+ik1Pzs+Ojc2VhkaAwMYGTgH7DxRUE9SPAfsLTIAAAADAAAAABEXERcAAwAHAAsAAAERIREBESERAREhEQJxDqbxWg6m8VoOphEX/Y8Ccfnm/Y8Ccfnl/Y8CcQADAAAAABJQDDUAGAAxAEoAAAEiBw4BBwYWFx4BFxYyNz4BNzY0Jy4BJyYhIgcOAQcGFBceARcWMjc+ATc2NCcuAScmISIHDgEHBhQXHgEXFjI3PgE3NjQnLgEnJgOqgHRwrS8yATEvrXB0/3RwrS8yMi+tcHQFm390cK0wMTEwrXB0/nRwrTAxMTCtcHQFnIB0cK0vMTEvrXB0/3RwrS8yMi+tcHQMNTEwrXB0/nRwrTAxMTCtcHT+dHCtMDExMK1wdP50cK0wMTEwrXB0/nRwrTAxMTCtcHT+dHCtMDExMK1wdP50cK0wMQAAAAIAAAAAD98P3wADAAcAAAERIREhESERA6oE4gJxBOIP3/PLDDXzyww1AAAAAQAAAAARFxEXAAIAAAkCAnEOpvFaERf4rfitAAEAAAAADqYMNQACAAAJAgTiBOIE4gw1+x4E4AABAAAAAQAA/nl0GV8PPPUACxOIAAAAANqY6ogAAAAA2kgOif//AAATkxLsAAAACAACAAAAAAAAAAEAABOIAAAAABOI////9ROTAAEAAAAAAAAAAAAAAAAAAAACAAAAABOIAAAAAAAAAAAAAAAA//8AAAAAAAAAAAAAAAAAAAAAACIANgBYAGwAgACgAPoBGAGOAaQBsgHAAAEAAAANAEsAAwAAAAAAAgAAAAoACgAAAP8AAAAAAAAAAAAQAMYAAQAAAAAAAQAUAAAAAQAAAAAAAgAHABQAAQAAAAAAAwAUABsAAQAAAAAABAAUAC8AAQAAAAAABQALAEMAAQAAAAAABgAUAE4AAQAAAAAACgArAGIAAQAAAAAACwATAI0AAwABBAkAAQAoAKAAAwABBAkAAgAOAMgAAwABBAkAAwAoANYAAwABBAkABAAoAP4AAwABBAkABQAWASYAAwABBAkABgAoATwAAwABBAkACgBWAWQAAwABBAkACwAmAbppY29uZm9udC12dWUtMmM0NDkzOFJlZ3VsYXJpY29uZm9udC12dWUtMmM0NDkzOGljb25mb250LXZ1ZS0yYzQ0OTM4VmVyc2lvbiAxLjBpY29uZm9udC12dWUtMmM0NDkzOEdlbmVyYXRlZCBieSBzdmcydHRmIGZyb20gRm9udGVsbG8gcHJvamVjdC5odHRwOi8vZm9udGVsbG8uY29tAGkAYwBvAG4AZgBvAG4AdAAtAHYAdQBlAC0AMgBjADQANAA5ADMAOABSAGUAZwB1AGwAYQByAGkAYwBvAG4AZgBvAG4AdAAtAHYAdQBlAC0AMgBjADQANAA5ADMAOABpAGMAbwBuAGYAbwBuAHQALQB2AHUAZQAtADIAYwA0ADQAOQAzADgAVgBlAHIAcwBpAG8AbgAgADEALgAwAGkAYwBvAG4AZgBvAG4AdAAtAHYAdQBlAC0AMgBjADQANAA5ADMAOABHAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAHMAdgBnADIAdAB0AGYAIABmAHIAbwBtACAARgBvAG4AdABlAGwAbABvACAAcAByAG8AagBlAGMAdAAuAGgAdAB0AHAAOgAvAC8AZgBvAG4AdABlAGwAbABvAC4AYwBvAG0AAAACAAAAAAAAADIAA
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-03-22 21:46:15 +03:00
* / e . 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 6 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 5 3 ) } , 1 7 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 7 6 ) } , 1 7 2 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n . d ( e , " A c t i o n T e x t E d i t a b l e " , ( f u n c t i o n ( ) { r e t u r n l } ) ) , n ( 2 4 ) ; v a r r = n ( 2 6 ) , o = n ( 2 2 ) , i = { n a m e : " A c t i o n T e x t E d i t a b l e " , m i x i n s : [ r . a ] , p r o p s : { i d : { t y p e : S t r i n g , d e f a u l t : f u n c t i o n ( ) { r e t u r n " a c t i o n - " + O b j e c t ( o . a ) ( ) } , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n " " ! = = t . t r i m ( ) } } , d i s a b l e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , v a l u e : { t y p e : S t r i n g , d e f a u l t : " " } } , c o m p u t e d : { i s F o c u s a b l e : f u n c t i o n ( ) { r e t u r n ! t h i s . d i s a b l e d } } , m e t h o d s : { o n I n p u t : f u n c t i o n ( t ) { t h i s . $ e m i t ( " i n p u t " , t ) , t h i s . $ e m i t ( " u p d a t e : v a l u e " , t . t a r g e t . v a l u e ) } , o n S u b m i t : f u n c t i o n ( t ) { i f ( t . p r e v e n t D e f a u l t ( ) , t . s t o p P r o p a g a t i o n ( ) , t h i s . d i s a b l e d ) r e t u r n ! 1 ; t h i s . $ e m i t ( " s u b m i t " , t ) } } } , a = ( n ( 1 9 2 ) , n ( 0 ) ) , s = n ( 1 2 4 ) , c = n . n ( s ) , A = O b j e c t ( a . a ) ( i , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " l i " , { c l a s s : { " a c t i o n - - d i s a b l e d " : t . d i s a b l e d } } , [ n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - t e x t - e d i t a b l e " } , [ n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - t e x t - e d i t a b l e _ _ i c o n " , c l a s s : [ t . i s I c o n U r l ? " a c t i o n - t e x t - e d i t a b l e _ _ i c o n - - u r l " : t . i c o n ] , s t y l e : { b a c k g r o u n d I m a g e : t . i s I c o n U r l ? " u r l ( " + t . i c o n + " ) " : n u l l } } ) , t . _ v ( " " ) , n ( " f o r m " , { r e f : " f o r m " , s t a t i c C l a s s : " a c t i o n - t e x t - e d i t a b l e _ _ f o r m " , a t t r s : { d i s a b l e d : t . d i s a b l e d } , o n : { s u b m i t : f u n c t i o n ( e ) { r e t u r n e . p r e v e n t D e f a u l t ( ) , t . o n S u b m i t ( e ) } } } , [ n ( " i n p u t " , { s t a t i c C l a s s : " a c t i o n - t e x t - e d i t a b l e _ _ s u b m i t " , a t t r s : { i d : t . i d , t y p e : " s u b m i t " } } ) , t . _ v ( " " ) , t . t i t l e ? n ( " s t r o n g " , { s t a t i c C l a s s : " a c t i o n - t e x t _ _ t i t l e " } , [ t . _ v ( " \ n \ t \ t \ t \ t " + t . _ s ( t . t i t l e ) + " \ n \ t \ t \ t " ) ] ) : t . _ e ( ) , t . _ v ( " " ) , n ( " t e x t a r e a " , t . _ b ( { c l a s s : [ " a c t i o n - t e x t - e d i t a b l e _ _ t e x t a r e a " , { f o c u s a b l e : t . i s F o c u s a b l e } ] , a t t r s : { d i s a b l e d : t . d i s a b l e d } , d o m P r o p s : { v a l u e : t . v a l u e } , o n : { i n p u t : t . o n I n p u t } } , " t e x t a r e a " , t . $ a t t r s , ! 1 ) ) , t . _ v ( " " ) , n ( " l a b e l " , { d i r e c t i v e s : [ { n a m e : " s h o w " , r a w N a m e : " v - s h o w " , v a l u e : ! t . d i s a b l e d , e x p r e s s i o n : " ! d i s a b l e d " } ] , s t a t i c C l a s s : " a c t i o n - t e x t - e d i t a b l e _ _ l a b e l " , a t t r s : { f o r : t . i d } } ) ] ) ] ) ] ) } ) , [ ] , ! 1 , n u l l , " 4 3 b 5 0 9 b 7 " , n u l l ) ; " f u n c t i o n " = = t y p e o f c . a & & c ( ) ( A ) ; v a r l = A . 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-03-22 21:46:15 +03:00
* / e . d e f a u l t = l } , 1 8 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 8 3 ) } , 1 9 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 7 2 ) } , 1 9 2 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 9 2 ) ; n . n ( r ) . a } , 1 9 3 : f u n c t i o n ( t , e , n ) { v a r r = n ( 1 ) , o = n ( 7 ) , i = n ( 8 ) , a = n ( 9 ) , s = n ( 1 0 ) , c = n ( 1 1 ) ; e = r ( ! 1 ) ; v a r A = o ( i ) , l = o ( a ) , u = o ( s ) , f = o ( c ) ; e . p u s h ( [ t . i , ' @ f o n t - f a c e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; s r c : u r l ( ' + A + " ) ; s r c : u r l ( " + A + ' ) f o r m a t ( " e m b e d d e d - o p e n t y p e " ) , u r l ( ' + l + ' ) 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 ( ' + f + ' ) f o r m a t ( " s v g " ) } . i c o n [ d a t a - v - 4 3 b 5 0 9 b 7 ] { 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 - 4 3 b 5 0 9 b 7 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . a r r o w - l e f t [ d a t a - v - 4 3 b 5 0 9 b 7 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t - d o u b l e [ d a t a - v - 4 3 b 5 0 9 b 7 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t [ d a t a - v - 4 3 b 5 0 9 b 7 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . c h e c k m a r k [ d a t a - v - 4 3 b 5 0 9 b 7 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . c l o s e [ d a t a - v - 4 3 b 5 0 9 b 7 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . c o n f i r m [ d a t a - v - 4 3 b 5 0 9 b 7 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . m e n u [ d a t a - v - 4 3 b 5 0 9 b 7 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . m o r e [ d a t a - v - 4 3 b 5 0 9 b 7 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . p a u s e [ d a t a - v - 4 3 b 5 0 9 b 7 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . p l a y [ d a t a - v - 4 3 b 5 0 9 b 7 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } . i c o n . t r i a n g l e - s [ d a t a - v - 4 3 b 5 0 9 b 7 ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 2 c 4 4 9 3 8 " ; c o n t e n t : " " } b u t t o n [ d a t a - v - 4 3 b 5 0 9 b 7 ] , i n p u t [ d a t a - v - 4 3 b 5 0 9 b 7 ] : 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 - 4 3 b 5 0 9 b 7 ] { 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 - 4 3 b 5 0 9 b 7 ] : 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 - 4 3 b 5 0 9 b 7 ] : 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 - 4 3 b 5 0 9 b 7 ] , i n p u t [ d a t a - v - 4 3 b 5 0 9 b 7 ] : 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 - 4 3 b 5 0 9 b 7 ] : 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 - 4 3 b 5 0 9 b 7 ] , t e x t a r e a [ d a t a - v - 4 3 b 5 0 9 b 7 ] : 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 - 4 3 b 5 0 9 b 7 ] : 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 - 4 3 b 5 0 9 b 7 ] { 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 - 4 3 b 5 0 9 b 7 ] : 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 - 4 3 b 5 0 9 b 7 ] : 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 - 4 3 b 5 0 9 b 7 ] : 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 - 4 3 b 5 0 9 b 7 ] : d i s a b l e d , i n p u t [ d a t a - v - 4 3 b 5 0 9 b 7 ] : 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 - 4 3 b 5 0 9 b 7 ] : 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 - 4 3 b 5 0 9 b 7 ] : r e q u i r e d , i n p u t [ d a t a - v - 4 3 b 5 0 9 b 7 ] : 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 - 4 3 b 5 0 9 b 7 ] : 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 - 4 3 b 5 0 9 b 7 ] : i n v a l i d , i n p u t [ d a t a - v - 4 3 b 5 0 9 b 7 ] : 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 - 4 3 b 5 0 9 b 7 ] : 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 - 4 3 b 5 0 9 b 7 ] , 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 - 4 3 b 5 0 9 b 7 ] , t e x t a r e a . p r i m a r y [ d a t a - v - 4 3 b 5 0 9 b 7 ] { 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 - 4 3 b 5 0 9 b 7 ] : 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 - 4 3 b 5 0 9 b 7 ] : 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 - 4 3 b 5 0 9 b 7 ] : 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 - 4 3 b 5 0 9 b 7 ] : 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 - 4 3 b 5 0 9 b 7 ] : 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 = \ ' r a n g e \ ' ] ) . p r i m a r y [ d a t a - v - 4 3 b 5 0 9 b 7 ] : n o t ( : d i s a b l e d ) : a c t i v e , t e x t a r e a . p r i m a r y [ d a t a - v - 4 3 b 5 0 9 b 7 ] : n o t ( : d i s a b l e d ) : h o v e r , t e x t a r e a . p r i m a r y [ d a t a - v - 4 3
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-04-02 21:36:53 +03:00
var n = "undefined" != typeof window && "undefined" != typeof document , r = [ "Edge" , "Trident" , "Firefox" ] , o = 0 , i = 0 ; i < r . length ; i += 1 ) if ( n && navigator . userAgent . indexOf ( r [ i ] ) >= 0 ) { o = 1 ; break } var a = n && window . Promise ? function ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , window . Promise . resolve ( ) . then ( ( function ( ) { e = ! 1 , t ( ) } ) ) ) } } : function ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , setTimeout ( ( function ( ) { e = ! 1 , t ( ) } ) , o ) ) } } ; function s ( t ) { return t && "[object Function]" === { } . toString . call ( t ) } function c ( t , e ) { if ( 1 !== t . nodeType ) return [ ] ; var n = t . ownerDocument . defaultView . getComputedStyle ( t , null ) ; return e ? n [ e ] : n } function A ( t ) { return "HTML" === t . nodeName ? t : t . parentNode || t . host } function l ( t ) { if ( ! t ) return document . body ; switch ( t . nodeName ) { case "HTML" : case "BODY" : return t . ownerDocument . body ; case "#document" : return t . body } var e = c ( t ) , n = e . overflow , r = e . overflowX , o = e . overflowY ; return /(auto|scroll|overlay)/ . test ( n + o + r ) ? t : l ( A ( t ) ) } var u = n && ! ( ! window . MSInputMethodContext || ! document . documentMode ) , f = n && /MSIE 10/ . test ( navigator . userAgent ) ; function p ( t ) { return 11 === t ? u : 10 === t ? f : u || f } function d ( t ) { if ( ! t ) return document . documentElement ; for ( var e = p ( 10 ) ? document . body : null , n = t . offsetParent || null ; n === e && t . nextElementSibling ; ) n = ( t = t . nextElementSibling ) . offsetParent ; var r = n && n . nodeName ; return r && "BODY" !== r && "HTML" !== r ? - 1 !== [ "TH" , "TD" , "TABLE" ] . indexOf ( n . nodeName ) && "static" === c ( n , "position" ) ? d ( n ) : n : t ? t . ownerDocument . documentElement : document . documentElement } function h ( t ) { return null !== t . parentNode ? h ( t . parentNode ) : t } function m ( t , e ) { if ( ! ( t && t . nodeType && e && e . nodeType ) ) return document . documentElement ; var n = t . compareDocumentPosition ( e ) & Node . DOCUMENT _POSITION _FOLLOWING , r = n ? t : e , o = n ? e : t , i = document . createRange ( ) ; i . setStart ( r , 0 ) , i . setEnd ( o , 0 ) ; var a , s , c = i . commonAncestorContainer ; if ( t !== c && e !== c || r . contains ( o ) ) return "BODY" === ( s = ( a = c ) . nodeName ) || "HTML" !== s && d ( a . firstElementChild ) !== a ? d ( c ) : c ; var A = h ( t ) ; return A . host ? m ( A . host , e ) : m ( t , h ( e ) . host ) } function g ( t ) { var e = arguments . length > 1 && void 0 !== arguments [ 1 ] ? arguments [ 1 ] : "top" , n = "top" === e ? "scrollTop" : "scrollLeft" , r = t . nodeName ; if ( "BODY" === r || "HTML" === r ) { var o = t . ownerDocument . documentElement , i = t . ownerDocument . scrollingElement || o ; return i [ n ] } return t [ n ] } function v ( t , e ) { var n = arguments . length > 2 && void 0 !== arguments [ 2 ] && arguments [ 2 ] , r = g ( e , "top" ) , o = g ( e , "left" ) , i = n ? - 1 : 1 ; return t . top += r * i , t . bottom += r * i , t . left += o * i , t . right += o * i , t } function b ( t , e ) { var n = "x" === e ? "Left" : "Top" , r = "Left" === n ? "Right" : "Bottom" ; return parseFloat ( t [ "border" + n + "Width" ] , 10 ) + parseFloat ( t [ "border" + r + "Width" ] , 10 ) } function y ( t , e , n , r ) { return Math . max ( e [ "offset" + t ] , e [ "scroll" + t ] , n [ "client" + t ] , n [ "offset" + t ] , n [ "scroll" + t ] , p ( 10 ) ? parseInt ( n [ "offset" + t ] ) + parseInt ( r [ "margin" + ( "Height" === t ? "Top" : "Left" ) ] ) + parseInt ( r [ "margin" + ( "Height" === t ? "Bottom" : "Right" ) ] ) : 0 ) } function x ( t ) { var e = t . body , n = t . documentElement , r = p ( 10 ) && getComputedStyle ( n ) ; return { height : y ( "Height" , e , n , r ) , width : y ( "Width" , e , n , r ) } } var w = function ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } , E = function ( ) { function t ( t , e ) { for ( var n = 0 ; n < e . length ; n ++ ) { var r = e [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( t , r . key , r ) } } return function ( e , n , r ) { return n && t ( e . prototype , n ) , r && t ( e , r ) , e } } ( ) , M = function ( t , e , n ) { return e in t ? Object . defineProperty ( t , e , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : t [ e ] = n , t } , C = Object . assign || function ( t ) { for ( var e = 1 ; e < arguments . length ; e ++ ) { var n = arguments [ e ] ; for ( var r in n ) Object . prototype . hasOwnProperty . call ( n , r ) && ( t [ r ] = n [ r ] ) } return t } ; function T ( t ) { return C ( { } , t , { right : t . left + t . width , bottom : t . top + t . height } ) } function _ ( t ) { var e = { } ; try { if ( p ( 10 ) ) { e = t . getBoundingClientRect ( ) ; var n = g ( t , "top" ) , r = g ( t , "left" ) ; e . top += n , e . left += r , e . bottom += n , e . right += r } else e = t . getBoundingClientRect ( ) } catch ( t ) { } var o = { left : e . left , top : e . top , width : e . right - e . left , height : e . bottom - e . top } , i = "HTML" === t . nodeName ? x ( t . ownerDocument ) : { } , a = i . width || t . clientWidth || o . right - o . left , s = i . height || t . clientHeight || o . bottom - o . top , A = t . offsetWidth - a , l = t . offsetHeight - s ; if ( A || l ) { var u = c ( t ) ; A -= b ( u , "x" ) , l -= b ( u , "y" ) , o . width -= A , o . height -= l } return T ( o ) } function I ( t , e ) { 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-03-22 21:46:15 +03:00
* / e . 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 7 6 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , n . d ( e , " A c t i o n R a d i o " , ( f u n c t i o n ( ) { r e t u r n l } ) ) , n ( 2 5 ) , n ( 2 4 ) ; v a r r = n ( 1 4 ) , o = n ( 2 2 ) , i = { n a m e : " A c t i o n R a d i o " , m i x i n s : [ r . a ] , p r o p s : { i d : { t y p e : S t r i n g , d e f a u l t : f u n c t i o n ( ) { r e t u r n " a c t i o n - " + O b j e c t ( o . a ) ( ) } , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n " " ! = = t . t r i m ( ) } } , c h e c k e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , n a m e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , v a l u e : { t y p e : [ S t r i n g , N u m b e r ] , d e f a u l t : " " } , d i s a b l e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , c o m p u t e d : { i s F o c u s a b l e : f u n c t i o n ( ) { r e t u r n ! t h i s . d i s a b l e d } } , m e t h o d s : { t o g g l e I n p u t : f u n c t i o n ( t ) { t h i s . $ r e f s . l a b e l . c l i c k ( ) } , o n C h a n g e : f u n c t i o n ( t ) { t h i s . $ e m i t ( " u p d a t e : c h e c k e d " , t h i s . $ r e f s . r a d i o . c h e c k e d ) , t h i s . $ e m i t ( " c h a n g e " , t ) } } } , a = ( n ( 1 8 4 ) , n ( 0 ) ) , s = n ( 1 2 3 ) , c = n . n ( s ) , A = O b j e c t ( a . a ) ( i , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " l i " , { c l a s s : { " a c t i o n - - d i s a b l e d " : t . d i s a b l e d } } , [ n ( " s p a n " , { s t a t i c C l a s s : " a c t i o n - r a d i o " } , [ n ( " i n p u t " , { r e f : " r a d i o " , s t a t i c C l a s s : " r a d i o a c t i o n - r a d i o _ _ r a d i o " , c l a s s : { f o c u s a b l e : t . i s F o c u s a b l e } , a t t r s : { i d : t . i d , d i s a b l e d : t . d i s a b l e d , n a m e : t . n a m e , t y p e : " r a d i o " } , d o m P r o p s : { c h e c k e d : t . c h e c k e d , v a l u e : t . v a l u e } , o n : { k e y d o w n : f u n c t i o n ( e ) { r e t u r n ! e . t y p e . i n d e x O f ( " k e y " ) & & t . _ k ( e . k e y C o d e , " e n t e r " , 1 3 , e . k e y , " E n t e r " ) | | e . c t r l K e y | | e . s h i f t K e y | | e . a l t K e y | | e . m e t a K e y ? n u l l : ( e . p r e v e n t D e f a u l t ( ) , t . t o g g l e I n p u t ( e ) ) } , c h a n g e : t . o n C h a n g e } } ) , t . _ v ( " " ) , n ( " l a b e l " , { r e f : " l a b e l " , s t a t i c C l a s s : " a c t i o n - r a d i o _ _ l a b e l " , a t t r s : { f o r : t . i d } } , [ t . _ v ( t . _ s ( t . t e x t ) ) ] ) , t . _ v ( " " ) , t . _ e ( ) ] , 2 ) ] ) } ) , [ ] , ! 1 , n u l l , " 2 f 8 2 b a 3 8 " , n u l l ) ; " f u n c t i o n " = = t y p e o f c . a & & c ( ) ( A ) ; v a r l = A . 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-03-22 21:46:15 +03:00
* / e . d e f a u l t = l } , 1 8 4 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 8 8 ) ; n . n ( r ) . a } , 1 8 5 : f u n c t i o n ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . p u s h ( [ t . i , " l i . a c t i v e [ d a t a - v - 2 f 8 2 b a 3 8 ] { 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 - 2 f 8 2 b a 3 8 ] { 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 - 2 f 8 2 b a 3 8 ] : h o v e r , . a c t i o n - - d i s a b l e d [ d a t a - v - 2 f 8 2 b a 3 8 ] : 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 - 2 f 8 2 b a 3 8 ] { 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 - 2 f 8 2 b a 3 8 ] { 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 - 2 f 8 2 b a 3 8 ] { 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 - 2 f 8 2 b a 3 8 ] { 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 - 2 f 8 2 b a 3 8 ] { 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 - 2 f 8 2 b a 3 8 ] : : 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 - 2 f 8 2 b a 3 8 ] , . 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 - 2 f 8 2 b a 3 8 ] { 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 - 2 f 8 2 b a 3 8 ] , . 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 - 2 f 8 2 b a 3 8 ] { o p a c i t y : 1 } \ n " , " " ] ) , t . e x p o r t s = e } , 1 9 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 7 2 ) } , 2 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; f u n c t i o n r ( t , e ) { f o r ( v a r n = [ ] , r = { } , o = 0 ; o < e . l e n g t h ; o + + ) { v a r i = e [ o ] , a = i [ 0 ] , s = { i d : t + " : " + 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 ( e ) , n . d ( e , " 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 , A = ! 1 , l = f u n c t i o n ( ) { } , u = n u l l , f = " 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 ( t , e , n , o ) { A = n , u = o | | { } ; v a r a = r ( t , e ) ; r e t u r n d ( a ) , f u n c t i o n ( e ) { 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 ( e ? d ( a = r ( t , e ) ) : 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 A = 0 ; A < c . p a r t s . l e n g t h ; A + + ) c . p a r t s [ A ] ( ) ; d e l e t e i [ c . i d ] } } } } f u n c t i o n d ( t ) { f o r ( v a r e = 0 ; e < t . l e n g t h ; e + + ) { v a r n = t [ e ] , 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 ( m ( 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 ( m ( 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 h ( ) { v a r t = 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 t . t y p e = " t e x t / c s s " , a . a p p e n d C h i l d ( t ) , t } f u n c t i o n m ( t ) { v a r e , 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 ~ = " ' + t . i d + ' " ] ' ) ; i f ( r ) { i f ( A ) r e t u r n l ; 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 ( f ) { v a r o = c + + ; r = s | | ( s = h ( ) ) , e = b . b i n d ( n u l l , r , o , ! 1 ) , n = b . b i n d ( n u l l , r , o , ! 0 ) } e l s e r = h ( ) , e = y . 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 e ( t ) , f u n c t i o n ( r ) { i f ( r ) { i f ( r . c s s = = = t . c s s & & r . m e d i a = = = t . m e d i a & & r . s o u r c e M a p = = = t . s o u r c e M a p ) r e t u r n ; e ( t = r ) } e l s e n ( ) } } v a r g , v = ( g = [ ] , f u n c t i o n ( t , e ) { r e t u r n g [ t ] = e , 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 b ( t , e , n , r ) { v a r o = n ? " " : r . c s s ; i f ( t . s t y l e S h e e t ) t . s t y l e S h e e t . c s s T e x t = v ( e , 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 = t . c h i l d N o d e s ; a [ e ] & & t . r e m o v e C h i l d ( a [ e ] ) , a . l e n g t h ? t . i n s e r t B e f o r e ( i , a [ e ] ) : t . a p p e n d C h i l d ( i ) } } f u n c t i o n y ( t , e ) { v a r n = e . c s s , r = e . m e d i a , o = e . s o u r c e M a p ; i f ( r & & t . s e t A t t r i b u t e ( " m e d i a " , r ) , u . s s r I d & & t . s e t A t t r i b u t e ( " d a t a - v u e - s s r - i d " , e . 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 ) ) ) ) + " * / " ) , t . s t y l e S h e e t ) t . 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 ( ; t . f i r s t C h i l d ; ) t . r e m o v e C h i l d ( t . f i r s t C h i l d ) ; t . 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 ( t , e ) { t . e x p o r t s = n ( 8 1 ) } , 2 2 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 3 ) , n ( 1 9 ) , n ( 2 1 ) , n ( 2 8 ) , e . a = f u n c t i
2020-01-14 12:10:53 +03:00
/ * !
* Determine if an object is a Buffer
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
* /
2020-03-22 21:46:15 +03:00
t . exports = function ( t ) { return null != t && ( n ( t ) || function ( t ) { return "function" == typeof t . readFloatLE && "function" == typeof t . slice && n ( t . slice ( 0 , 0 ) ) } ( t ) || ! ! t . _isBuffer ) } } , function ( t , e , n ) { var r = n ( 6 ) ; t . exports = r . Promise } , function ( t , e , n ) { var r = n ( 20 ) , o = n ( 460 ) , i = n ( 47 ) , a = n ( 127 ) , s = n ( 229 ) , c = n ( 459 ) , A = function ( t , e ) { this . stopped = t , this . result = e } ; ( t . exports = function ( t , e , n , l , u ) { var f , p , d , h , m , g , v , b = a ( e , n , l ? 2 : 1 ) ; if ( u ) f = t ; else { if ( "function" != typeof ( p = s ( t ) ) ) throw TypeError ( "Target is not iterable" ) ; if ( o ( p ) ) { for ( d = 0 , h = i ( t . length ) ; h > d ; d ++ ) if ( ( m = l ? b ( r ( v = t [ d ] ) [ 0 ] , v [ 1 ] ) : b ( t [ d ] ) ) && m instanceof A ) return m ; return new A ( ! 1 ) } f = p . call ( t ) } for ( g = f . next ; ! ( v = g . call ( f ) ) . done ; ) if ( "object" == typeof ( m = c ( f , b , v . value , l ) ) && m && m instanceof A ) return m ; return new A ( ! 1 ) } ) . stop = function ( t ) { return new A ( ! 0 , t ) } } , function ( t , e , n ) { var r = n ( 3 ) ( "iterator" ) , o = ! 1 ; try { var i = 0 , a = { next : function ( ) { return { done : ! ! i ++ } } , return : function ( ) { o = ! 0 } } ; a [ r ] = function ( ) { return this } , Array . from ( a , ( function ( ) { throw 2 } ) ) } catch ( t ) { } t . exports = function ( t , e ) { if ( ! e && ! o ) return ! 1 ; var n = ! 1 ; try { var i = { } ; i [ r ] = function ( ) { return { next : function ( ) { return { done : n = ! 0 } } } } , t ( i ) } catch ( t ) { } return n } } , function ( t , e , n ) { var r = n ( 20 ) , o = n ( 228 ) , i = n ( 3 ) ( "species" ) ; t . exports = function ( t , e ) { var n , a = r ( t ) . constructor ; return void 0 === a || null == ( n = r ( a ) [ i ] ) ? e : o ( n ) } } , function ( t , e , n ) { var r , o , i , a , s , c , A , l , u = n ( 6 ) , f = n ( 114 ) . f , p = n ( 51 ) , d = n ( 470 ) . set , h = n ( 471 ) , m = u . MutationObserver || u . WebKitMutationObserver , g = u . process , v = u . Promise , b = "process" == p ( g ) , y = f ( u , "queueMicrotask" ) , x = y && y . value ; x || ( r = function ( ) { var t , e ; for ( b && ( t = g . domain ) && t . exit ( ) ; o ; ) { e = o . fn , o = o . next ; try { e ( ) } catch ( t ) { throw o ? a ( ) : i = void 0 , t } } i = void 0 , t && t . enter ( ) } , b ? a = function ( ) { g . nextTick ( r ) } : m && ! h ? ( s = ! 0 , c = document . createTextNode ( "" ) , new m ( r ) . observe ( c , { characterData : ! 0 } ) , a = function ( ) { c . data = s = ! s } ) : v && v . resolve ? ( A = v . resolve ( void 0 ) , l = A . then , a = function ( ) { l . call ( A , r ) } ) : a = function ( ) { d . call ( u , r ) } ) , t . exports = x || function ( t ) { var e = { fn : t , next : void 0 } ; i && ( i . next = e ) , o || ( o = e , a ( ) ) , i = e } } , function ( t , e , n ) { var r = n ( 20 ) , o = n ( 24 ) , i = n ( 472 ) ; t . exports = function ( t , e ) { if ( r ( t ) , o ( e ) && e . constructor === t ) return e ; var n = i . f ( t ) ; return ( 0 , n . resolve ) ( e ) , n . promise } } , function ( t , e , n ) { var r = n ( 6 ) ; t . exports = function ( t , e ) { var n = r . console ; n && n . error && ( 1 === arguments . length ? n . error ( t ) : n . error ( t , e ) ) } } , function ( t , e ) { t . exports = function ( t ) { try { return { error : ! 1 , value : t ( ) } } catch ( t ) { return { error : ! 0 , value : t } } } } , function ( t , e , n ) { "use strict" ; n ( 546 ) , n ( 486 ) , n ( 570 ) , n ( 571 ) , Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) , e . getGettextBuilder = function ( ) { return new A } ; var r , o = ( r = n ( 577 ) ) && r . _ _esModule ? r : { default : r } , i = n ( 580 ) ; function a ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } function s ( t , e ) { for ( var n = 0 ; n < e . length ; n ++ ) { var r = e [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( t , r . key , r ) } } function c ( t , e , n ) { return e && s ( t . prototype , e ) , n && s ( t , n ) , t } var A = function ( ) { function t ( ) { a ( this , t ) , this . translations = { } } return c ( t , [ { key : "setLanguage" , value : function ( t ) { return this . locale = t , this } } , { key : "detectLocale" , value : function ( ) { return this . setLanguage ( ( 0 , i . getLanguage ) ( ) ) } } , { key : "addTranslation" , value : function ( t , e ) { return this . translations [ t ] = e , this } } , { key : "build" , value : function ( ) { return new l ( this . locale || "en" , this . translations ) } } ] ) , t } ( ) , l = function ( ) { function t ( e , n ) { for ( var r in a ( this , t ) , this . gt = new o . default , n ) this . gt . addTranslations ( r , "messages" , n [ r ] ) ; this . gt . setLocale ( e ) } return c ( t , [ { key : "subtitudePlaceholders" , value : function ( t , e ) { return t . replace ( /{([^{}]*)}/g , ( function ( t , n ) { var r = e [ n ] ; return "string" == typeof r || "number" == typeof r ? r . toString ( ) : t } ) ) } } , { key : "gettext" , value : function ( t ) { var e = arguments . length > 1 && void 0 !== arguments [ 1 ] ? arguments [ 1 ] : { } ; return this . subtitudePlaceholders ( this . gt . gettext ( t ) , e ) } } , { key : "ngettext" , value : function ( t , e , n ) { var r = arguments . length > 3 && void 0 !== arguments [ 3 ] ? arguments [ 3 ] : { } ; return this . subtitudePlaceholders ( this . gt . ngettext ( t , e , n ) . replace ( /%n/g , n . toString ( ) ) , r ) } } ] ) , t } ( ) } , function ( t , e , n ) { var r = n ( 395 ) , o = n ( 232 ) , i = n ( 553 ) ; r || o ( Object . prototype , "toString" , i , { unsafe : ! 0 } ) } , function ( t , e ) { t . exports = ! 1 } , function ( t , e , n ) { var r = n ( 48 ) , o = n ( 231 ) , i = r . document , a = o ( i )
2019-12-08 05:15:53 +03:00
/ * !
* escape - html
* Copyright ( c ) 2012 - 2013 TJ Holowaychuk
* Copyright ( c ) 2015 Andreas Lubbe
* Copyright ( c ) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
2020-03-29 04:15:45 +03:00
* /var r=/ [ "'&<>]/;t.exports=function(t){var e,n=" "+t,o=r.exec(n);if(!o)return n;var i=" ",a=0,s=0;for(a=o.index;a<n.length;a++){switch(n.charCodeAt(a)){case 34:e=" & quot ; ";break;case 38:e=" & amp ; ";break;case 39:e=" & # 39 ; ";break;case 60:e=" & lt ; ";break;case 62:e=" & gt ; ";break;default:continue}s!==a&&(i+=n.substring(s,a)),s=a+1,i+=e}return s!==a?i+n.substring(s,a):i}},function(t,e,n){" use strict ";var r=n(272),o=n(20),i=n(74),a=n(583),s=n(274);r(" search ",1,(function(t,e,n){return[function(e){var n=i(this),r=null==e?void 0:e[t];return void 0!==r?r.call(e,n):new RegExp(e)[t](String(n))},function(t){var r=n(e,t,this);if(r.done)return r.value;var i=o(t),c=String(this),A=i.lastIndex;a(A,0)||(i.lastIndex=0);var l=s(i,c);return a(i.lastIndex,A)||(i.lastIndex=A),null===l?-1:l.index}]}))},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){t.exports=function(t){function e(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,e),o.l=!0,o.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:r})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n," a ",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p=" / ",e(e.s=60)}([function(t,e){var n=t.exports=" undefined "!=typeof window&&window.Math==Math?window:" undefined "!=typeof self&&self.Math==Math?self:Function(" return this ")();" number "==typeof __g&&(__g=n)},function(t,e,n){var r=n(49)(" wks "),o=n(30),i=n(0).Symbol,a=" function "==typeof i;(t.exports=function(t){return r[t]||(r[t]=a&&i[t]||(a?i:o)(" Symbol . "+t))}).store=r},function(t,e,n){var r=n(5);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object ! ");return t}},function(t,e,n){var r=n(0),o=n(10),i=n(8),a=n(6),s=n(11),c=function(t,e,n){var A,l,u,f,p=t&c.F,d=t&c.G,h=t&c.S,m=t&c.P,g=t&c.B,v=d?r:h?r[e]||(r[e]={}):(r[e]||{}).prototype,b=d?o:o[e]||(o[e]={}),y=b.prototype||(b.prototype={});for(A in d&&(n=e),n)u=((l=!p&&v&&void 0!==v[A])?v:n)[A],f=g&&l?s(u,r):m&&" function "==typeof u?s(Function.call,u):u,v&&a(v,A,u,t&c.U),b[A]!=u&&i(b,A,f),m&&y[A]!=u&&(y[A]=u)};r.core=o,c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,t.exports=c},function(t,e,n){t.exports=!n(7)((function(){return 7!=Object.defineProperty({}," a ",{get:function(){return 7}}).a}))},function(t,e){t.exports=function(t){return" object "==typeof t?null!==t:" function "==typeof t}},function(t,e,n){var r=n(0),o=n(8),i=n(12),a=n(30)(" src "),s=Function.toString,c=(" "+s).split(" toString ");n(10).inspectSource=function(t){return s.call(t)},(t.exports=function(t,e,n,s){var A=" function "==typeof n;A&&(i(n," name ")||o(n," name ",e)),t[e]!==n&&(A&&(i(n,a)||o(n,a,t[e]?" "+t[e]:c.join(String(e)))),t===r?t[e]=n:s?t[e]?t[e]=n:o(t,e,n):(delete t[e],o(t,e,n)))})(Function.prototype," toString ",(function(){return" function "==typeof this&&this[a]||s.call(this)}))},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(13),o=n(25);t.exports=n(4)?function(t,e,n){return r.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){var n=t.exports={version:" 2.5 . 7 "};" number "==typeof __e&&(__e=n)},function(t,e,n){var r=n(14);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,o){return t.call(e,n,r,o)}}return function(){return t.apply(e,arguments)}}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(2),o=n(41),i=n(29),a=Object.defineProperty;e.f=n(4)?Object.defineProperty:function(t,e,n){if(r(t),e=i(e,!0),r(n),o)try{return a(t,e,n)}catch(t){}if(" get "in n||" set "in n)throw TypeError(" Accessors not supported ! ");return" value "in n&&(t[e]=n.value),t}},function(t,e){t.exports=function(t){if(" function "!=typeof t)throw TypeError(t+"
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-03-22 21:46:15 +03:00
var h = function ( ) { function t ( e ) { ! function ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this , t ) , Object . defineProperty ( this , m , { writable : ! 0 , value : void 0 } ) , e . ocs && e . ocs . data && e . ocs . data [ 0 ] && ( e = e . ocs . data [ 0 ] ) , e . hide _download = ! ! e . hide _download , e . mail _send = ! ! e . mail _send , p ( this , m ) [ m ] = e } var e , n , r ; return e = t , ( n = [ { key : "state" , get : function ( ) { return p ( this , m ) [ m ] } } , { key : "id" , get : function ( ) { return p ( this , m ) [ m ] . id } } , { key : "type" , get : function ( ) { return p ( this , m ) [ m ] . share _type } } , { key : "permissions" , get : function ( ) { return p ( this , m ) [ m ] . permissions } , set : function ( t ) { p ( this , m ) [ m ] . permissions = t } } , { key : "owner" , get : function ( ) { return p ( this , m ) [ m ] . uid _owner } } , { key : "ownerDisplayName" , get : function ( ) { return p ( this , m ) [ m ] . displayname _owner } } , { key : "shareWith" , get : function ( ) { return p ( this , m ) [ m ] . share _with } } , { key : "shareWithDisplayName" , get : function ( ) { return p ( this , m ) [ m ] . share _with _displayname || p ( this , m ) [ m ] . share _with } } , { key : "shareWithAvatar" , get : function ( ) { return p ( this , m ) [ m ] . share _with _avatar } } , { key : "uidFileOwner" , get : function ( ) { return p ( this , m ) [ m ] . uid _file _owner } } , { key : "displaynameFileOwner" , get : function ( ) { return p ( this , m ) [ m ] . displayname _file _owner || p ( this , m ) [ m ] . uid _file _owner } } , { key : "createdTime" , get : function ( ) { return p ( this , m ) [ m ] . stime } } , { key : "expireDate" , get : function ( ) { return p ( this , m ) [ m ] . expiration } , set : function ( t ) { p ( this , m ) [ m ] . expiration = t } } , { key : "token" , get : function ( ) { return p ( this , m ) [ m ] . token } } , { key : "note" , get : function ( ) { return p ( this , m ) [ m ] . note } , set : function ( t ) { p ( this , m ) [ m ] . note = t } } , { key : "mailSend" , get : function ( ) { return ! 0 === p ( this , m ) [ m ] . mail _send } } , { key : "hideDownload" , get : function ( ) { return ! 0 === p ( this , m ) [ m ] . hide _download } , set : function ( t ) { p ( this , m ) [ m ] . hide _download = ! 0 === t } } , { key : "password" , get : function ( ) { return p ( this , m ) [ m ] . password } , set : function ( t ) { p ( this , m ) [ m ] . password = t } } , { key : "sendPasswordByTalk" , get : function ( ) { return p ( this , m ) [ m ] . send _password _by _talk } , set : function ( t ) { p ( this , m ) [ m ] . send _password _by _talk = t } } , { key : "path" , get : function ( ) { return p ( this , m ) [ m ] . path } } , { key : "itemType" , get : function ( ) { return p ( this , m ) [ m ] . item _type } } , { key : "mimetype" , get : function ( ) { return p ( this , m ) [ m ] . mimetype } } , { key : "fileSource" , get : function ( ) { return p ( this , m ) [ m ] . file _source } } , { key : "fileTarget" , get : function ( ) { return p ( this , m ) [ m ] . file _target } } , { key : "fileParent" , get : function ( ) { return p ( this , m ) [ m ] . 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 , m ) [ m ] . can _edit } } , { key : "canDelete" , get : function ( ) { return ! 0 === p ( this , m ) [ m ] . can _delete } } , { key : "label" , get : function ( ) { return p ( this , m ) [ m ] . label } } , { key : "parent" , get : function ( ) { return p ( this , m ) [ m ] . parent } } , { key : "storageId" , get : function ( ) { return p ( this , m ) [ m ] . storage _id } } , { key : "storage" , get : function ( ) { return p ( this , m ) [ m ] . storage } } , { key : "itemSource" , get : function ( ) { return p ( this , m ) [ m ] . item _source } } ] ) && f ( e . prototype , n ) , r && f ( e , r ) , t } ( ) , m = "__private_" + d ++ + "_" + "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 ( 121 ) , b = r . n ( v ) , y = r ( 78 ) , x = r . n ( y ) , w = r ( 69 ) , E = r . n ( w ) , M = { name : "SharingEntrySimple" , components : { Actions : x . a } , directives : { Tooltip : E . a } , props : { title : { type : String , default : "" , required : ! 0 } , tooltip : { type : String , default : "" } , subtitle : { type : String , default : "" } } } , C = ( r ( 594 ) , r ( 9 ) ) , T = Object ( C . a ) ( M , ( function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "li" , { staticClass : "sharing-entry" } , [ t . _t ( "avatar" ) , t . _v ( " " ) , n ( "div" , { directives : [ { name : "tooltip" , raw
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-03-22 21:46:15 +03:00
var j = function ( ) { function t ( ) { ! function ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this , t ) } var e , n , r ; return e = t , ( 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 t = "" ; if ( this . isDefaultExpireDateEnabled ) { var e = window . moment . utc ( ) , n = this . defaultExpireDate ; e . add ( n , "days" ) , t = e . format ( "YYYY-MM-DD" ) } return t } } , { key : "defaultInternalExpirationDateString" , get : function ( ) { var t = "" ; if ( this . isDefaultInternalExpireDateEnabled ) { var e = window . moment . utc ( ) , n = this . defaultInternalExpireDate ; e . add ( n , "days" ) , t = e . format ( "YYYY-MM-DD" ) } return t } } , { 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 t = OC . getCapabilities ( ) ; return t . password _policy ? t . password _policy : { } } } ] ) && L ( e . prototype , n ) , r && L ( e , r ) , t } ( ) ; r ( 598 ) ; function R ( t , e , n ) { return e in t ? Object . defineProperty ( t , e , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : t [ e ] = n , t } function P ( t , e , n , r , o , i , a ) { try { var s = t [ i ] ( a ) , c = s . value } catch ( t ) { return void n ( t ) } s . done ? e ( c ) : Promise . resolve ( c ) . then ( r , o ) } function Q ( t ) { return function ( ) { var e = this , n = arguments ; return new Promise ( ( function ( r , o ) { var i = t . apply ( e , n ) ; function a ( t ) { P ( i , r , o , a , s , "next" , t ) } function s ( t ) { P ( i , r , o , a , s , "throw" , t ) } a ( void 0 ) } ) ) } }
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-03-22 21:46:15 +03:00
* / v a r G = 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 " } , F = { 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 ) { v a r n = e . p a t h , r = e . p e r m i s s i o n s , o = e . s h a r e T y p e , i = e . s h a r e W i t h , a = e . p u b l i c U p l o a d , s = e . p a s s w o r d , c = e . s e n d P a s s w o r d B y T a l k , l = e . e x p i r e D a t e , u = e . l a b e l ; r e t u r n Q ( 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 e ( ) { v a r f ; 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 ( e ) { f o r ( ; ; ) s w i t c h ( e . p r e v = e . n e x t ) { c a s e 0 : r e t u r n e . p r e v = 0 , e . n e x t = 3 , A . a . p o s t ( G , { p a t h : n , p e r m i s s i o n s : r , s h a r e T y p e : o , s h a r e W i t h : i , p u b l i c U p l o a d : a , p a s s w o r d : s , s e n d P a s s w o r d B y T a l k : c , e x p i r e D a t e : l , l a b e l : u } ) ; c a s e 3 : i f ( " o c s " i n ( f = e . s e n t ) . d a t a ) { e . n e x t = 6 ; b r e a k } t h r o w f ; c a s e 6 : r e t u r n e . a b r u p t ( " r e t u r n " , n e w h ( f . d a t a . o c s . d a t a ) ) ; c a s e 9 : t h r o w e . p r e v = 9 , e . t 0 = e . 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 c r e a t i n g s h a r e " , e . 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 " } ) , e . t 0 ; c a s e 1 4 : c a s e " e n d " : r e t u r n e . s t o p ( ) } } ) , e , n u l l , [ [ 0 , 9 ] ] ) } ) ) ) ( ) } , 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 Q ( 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 , A . a . d e l e t e ( G + " / " . 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 ) { v a r r = n . p r o p e r t y , o = n . v a l u e ; r e t u r n Q ( 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 i , a ; 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 e w U R L S e a r c h P a r a m s ) . a p p e n d ( r , o ) , n . n e x t = 5 , A . a . p u t ( G + " / " . c o n c a t ( e ) , R ( { } , r , o ) , U ) ; c a s e 5 : i f ( " o c s " i n ( i = n . s e n t ) . d a t a ) { n . n e x t = 8 ; b r e a k } t h r o w i ; c a s e 8 : r e t u r n n . a b r u p t ( " r e t u r n " , ! 0 ) ; c a s e 1 1 : t h r o w n . p r e v = 1 1 , 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 u p d 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 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 " } ) , a = n . 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 ( r , " , " ) . c o n c a t ( a ) ) ; c a s e 1 7 : c a s e " e n d " : r e t u r n n . s t o p ( ) } } ) , n , n u l l , [ [ 0 , 1 1 ] ] ) } ) ) ) ( ) } } } ; f u n c t i o n Y ( t ) { 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 ( t ) { r e t u r n t y p e o f t } : f u n c t i o n ( t ) { r e t u r n t & & " f u n c t i o n " = = t y p e o f S y m b o l & & t . c o n s t r u c t o r = = = S y m b o l & & t ! = = S y m b o l . p r o t o t y p e ? " s y m b o l " : t y p e o f t } ) ( t ) } f u n c t i o n z ( t , e , n , r , o , i , a ) { t r y { v a r s = t [ i ] ( a ) , c = s . v a l u e } c a t c h ( t ) { r e t u r n v o i d n ( t ) } s . d o n e ? e ( c ) : P r o m i s e . r e s o l v e ( c ) . t h e n ( r , o ) } f u n c t i o n H ( t ) { r e t u r n f u n c t i o n ( ) { v a r e = t h i s , n = a r g u m e n t s ; r e t u r n n e w P r o m i s e ( ( f u n c t i o n ( r , o ) { v a r i = t . a p p l y ( e , n ) ; f u n c t i o n a ( t ) { z ( i , r , o , a , s , " n e x t " , t ) } f u n c t i o n s ( t ) { z ( i , r , o , a , s , " t h r o w " , t ) } a ( v o i d 0 ) } ) ) } } v a r W = { 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 : N . a } , m i x i n s : [ g , F ] , 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 : h , 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 j , 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 ( t , e ) { v a r n = t h i s ; r e t u r n H ( r e g e n e r a t o r R
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-03-22 21:46:15 +03:00
* / v a r n t = { m i x i n s : [ F , 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 : h , d e f a u l t : n u l l } } , 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 j , 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 K . 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 : t h i s . s h a r e & & t h i s . s h a r 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 ( t ) { t h i s . s h a r e . n o t e = t ? 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 ( t ) { i f ( t . p a s s w o r d & & ( " s t r i n g " ! = t y p e o f t . p a s s w o r d | | " " = = = t . p a s s w o r d . t r i m ( ) ) ) r e t u r n ! 1 ; i f ( t . e x p i r a t i o n D a t e & & ! m o m e n t ( t . 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 ( t ) { v a r e = m o m e n t ( t ) . 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 = 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 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 ( t ) { t h i s . $ s e t ( t h i s . s h a r e , " n e w N o t e " , t . 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 t = t h i s ; r e t u r n e t ( r e g e n e r a t o r R u n t i m e . m a r k ( ( f u n c t i o n e ( ) { r e t u r n r e g e n e r a t o r R u n t i m e . w r a p ( ( f u n c t i o n ( e ) { f o r ( ; ; ) s w i t c h ( e . p r e v = e . n e x t ) { c a s e 0 : r e t u r n e . p r e v = 0 , t . l o a d i n g = ! 0 , t . o p e n = ! 1 , e . n e x t = 5 , t . d e l e t e S h a r e ( t . 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 " , t . s h a r e . i d ) , t . $ e m i t ( " r e m o v e : s h a r e " , t . s h a r e ) , e . n e x t = 1 2 ; b r e a k ; c a s e 9 : e . p r e v = 9 , e . t 0 = e . c a t c h ( 0 ) , t . o p e n = ! 0 ; c a s e 1 2 : r e t u r n e . p r e v = 1 2 , t . l o a d i n g = ! 1 , e . 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 e . s t o p ( ) } } ) , e , 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 ( t ) { v a r e = t h i s ; i f ( t h i s . s h a r e . i d ) { v a r n = t h i s . 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 ( e t ( r e g e n e r a t o r R u n t i m e . m a r k ( ( f u n c t i o n 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 e . s a v i n g = ! 0 , e . e r r o r s = { } , r . p r e v = 2 , r . 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 , { p r o p e r t y : t , v a l u e : n } ) ; c a s e 5 : e . $ d e l e t e ( e . e r r o r s , t ) , e . $ d e l e t e ( e . s h a r e , " n e w P a s s w o r d " ) , r . n e x t = 1 4 ; b r e a k ; c a s e 9 : r . p r e v = 9 , r . t 0 = r . c a t c h ( 2 ) , o = r . t 0 . p r o p e r t y , i = r . t 0 . m e s s a g e , e . o n S y n c E r r o r ( o , i ) ; c a s e 1 4 : r e t u r n r . p r e v = 1 4 , e . s a v i n g = ! 1 , r . f i n i s h ( 1 4 ) ; c a s e 1 7 : c a s e " e n d " : r e t u r n r . s t o p ( ) } } ) , r , n u l l , [ [ 2 , 9 , 1 4 , 1 7 ] ] ) } ) ) ) ) } 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 ( t , e ) { s w i t c h ( t h i s . o p e n = ! 0 , t ) { 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 , t , e ) ; v a r n = t h i s . $ r e f s [ t ] ; 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 ( ) } } } , 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 ( t ) { t h i s . q u e u e U p d a t e ( t ) } ) , 5 0 0 ) } } , r t = { 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 : b . a , A c t i o n T e x t : X . 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 : T } , m i x i n s : [ n t ] , p r o p s : { s h a r e : { t y p e : h , r e q u i r e d : ! 0 } } , c o m p u t e d : { 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 . f i l e S o u r c e } ) } } } , o t = ( r ( 6 0 6 ) , O b j e c t ( C . a ) ( r t , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " S h a r i n g E n t r y S i m p l e " , { k e y : t . s h a r e . i d , s t a t i c C l a s s : " s h a r i n g - e n t r y _ _ i n h e r i t e d " , a t t r s : { t i t l e : t . s h a r e . s h a r e W i t h D i s p l a y N a m e } , s c o p e d S l o t s : t . _ u ( [ { k e y : " a v a t a r " , f n : f u n c t i o n ( ) { r e t u r n [ n ( " A v a t a r " , { s t a t i c C l a s s : " s h a r i n g - e n t r y _ _ a v a t a r " , a t t r s : { u s e r : t . s h a r e . s h a r e W i t h , " d i s p l a y - n a m e " : t . s h a r e . s h a r e W i t h D i s p l a y N a m e , " t o o l t i p - m e s s a g e " : " " } } ) ] } , p r o x y : ! 0 } ] ) } , [ t . _ v ( " " ) , n ( " A c t i o n T 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-03-22 21:46:15 +03:00
var Rt = function ( ) { function t ( ) { ! function ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this , t ) , Object . defineProperty ( this , Pt , { writable : ! 0 , value : void 0 } ) , Lt ( this , Pt ) [ Pt ] = { } , Lt ( this , Pt ) [ Pt ] . results = [ ] , console . debug ( "OCA.Sharing.ShareSearch initialized" ) } var e , n , r ; return e = t , ( n = [ { key : "addNewResult" , value : function ( t ) { return "" !== t . displayName . trim ( ) && "function" == typeof t . handler ? ( Lt ( this , Pt ) [ Pt ] . results . push ( t ) , ! 0 ) : ( console . error ( "Invalid search result provided" , t ) , ! 1 ) } } , { key : "state" , get : function ( ) { return Lt ( this , Pt ) [ Pt ] } } ] ) && Nt ( e . prototype , n ) , r && Nt ( e , r ) , t } ( ) , Pt = function ( t ) { return "__private_" + jt ++ + "_" + t } ( "state" ) ; function Qt ( t ) { return ( Qt = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( t ) { return typeof t } : function ( t ) { return t && "function" == typeof Symbol && t . constructor === Symbol && t !== Symbol . prototype ? "symbol" : typeof t } ) ( t ) } function Gt ( t , e ) { for ( var n = 0 ; n < e . length ; n ++ ) { var r = e [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( t , r . key , r ) } } function Ut ( t , e ) { if ( ! Object . prototype . hasOwnProperty . call ( t , e ) ) throw new TypeError ( "attempted to use private field on non-instance" ) ; return t } var Ft = 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-03-22 21:46:15 +03:00
var Yt = function ( ) { function t ( ) { ! function ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this , t ) , Object . defineProperty ( this , zt , { writable : ! 0 , value : void 0 } ) , Ut ( this , zt ) [ zt ] = { } , Ut ( this , zt ) [ zt ] . actions = [ ] , console . debug ( "OCA.Sharing.ExternalLinkActions initialized" ) } var e , n , r ; return e = t , ( n = [ { key : "registerAction" , value : function ( t ) { return "object" === Qt ( t ) && t . icon && t . name && t . url ? ( Ut ( this , zt ) [ zt ] . actions . push ( t ) , ! 0 ) : ( console . error ( "Invalid action provided" , t ) , ! 1 ) } } , { key : "state" , get : function ( ) { return Ut ( this , zt ) [ zt ] } } ] ) && Gt ( e . prototype , n ) , r && Gt ( e , r ) , t } ( ) , zt = function ( t ) { return "__private_" + Ft ++ + "_" + t } ( "state" ) ; function Ht ( t , e ) { for ( var n = 0 ; n < e . length ; n ++ ) { var r = e [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( t , r . key , r ) } } function Wt ( t , e ) { if ( ! Object . prototype . hasOwnProperty . call ( t , e ) ) throw new TypeError ( "attempted to use private field on non-instance" ) ; return t } var Zt = 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-03-22 21:46:15 +03:00
var $t = function ( ) { function t ( ) { ! function ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this , t ) , Object . defineProperty ( this , Vt , { writable : ! 0 , value : void 0 } ) , Wt ( this , Vt ) [ Vt ] = [ ] } var e , n , r ; return e = t , ( n = [ { key : "registerSection" , value : function ( t ) { Wt ( this , Vt ) [ Vt ] . push ( t ) } } , { key : "getSections" , value : function ( ) { return Wt ( this , Vt ) [ Vt ] } } ] ) && Ht ( e . prototype , n ) , r && Ht ( e , r ) , t } ( ) , Vt = function ( t ) { return "__private_" + Zt ++ + "_" + t } ( "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-03-29 04:15:45 +03:00
window . OCA . Sharing || ( window . OCA . Sharing = { } ) , Object . assign ( window . OCA . Sharing , { ShareSearch : new Rt } ) , Object . assign ( window . OCA . Sharing , { ExternalLinkActions : new Yt } ) , Object . assign ( window . OCA . Sharing , { ShareTabSections : new $t } ) , window . addEventListener ( "DOMContentLoaded" , ( function ( ) { OCA . Files && OCA . Files . Sidebar && OCA . Files . Sidebar . registerTab ( new OCA . Files . Sidebar . Tab ( "sharing" , Ot ) ) } ) ) } , function ( t , e , n ) { "use strict" ; function r ( t , e ) { if ( e . length < t ) throw new TypeError ( t + " argument" + t > 1 ? "s" : " required, but only " + e . length + " present" ) } function o ( t ) { r ( 1 , arguments ) ; var e = Object . prototype . toString . call ( t ) ; return t instanceof Date || "object" == typeof t && "[object Date]" === e ? new Date ( t . getTime ( ) ) : "number" == typeof t || "[object Number]" === e ? new Date ( t ) : ( "string" != typeof t && "[object String]" !== e || "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 ( t ) { r ( 1 , arguments ) ; var e = o ( t ) , n = new Date ( 0 ) ; return n . setFullYear ( e . getFullYear ( ) , 0 , 1 ) , n . setHours ( 0 , 0 , 0 , 0 ) , n } function a ( t ) { r ( 1 , arguments ) ; var e = o ( t ) ; return e . setDate ( 1 ) , e . setHours ( 0 , 0 , 0 , 0 ) , e } function s ( t ) { r ( 1 , arguments ) ; var e = o ( t ) ; return e . setHours ( 0 , 0 , 0 , 0 ) , e } function c ( t ) { if ( null === t || ! 0 === t || ! 1 === t ) return NaN ; var e = Number ( t ) ; return isNaN ( e ) ? e : e < 0 ? Math . ceil ( e ) : Math . floor ( e ) } function A ( t ) { r ( 1 , arguments ) ; var e = o ( t ) , n = e . getFullYear ( ) , i = e . getMonth ( ) , a = new Date ( 0 ) ; return a . setFullYear ( n , i + 1 , 0 ) , a . setHours ( 0 , 0 , 0 , 0 ) , a . getDate ( ) } function l ( t , e ) { r ( 2 , arguments ) ; var n = o ( t ) , i = c ( e ) , a = n . getMonth ( ) + i , s = new Date ( 0 ) ; s . setFullYear ( n . getFullYear ( ) , a , 1 ) , s . setHours ( 0 , 0 , 0 , 0 ) ; var l = A ( s ) ; return n . setMonth ( a , Math . min ( l , n . getDate ( ) ) ) , n } function u ( t , e ) { r ( 2 , arguments ) ; var n = c ( e ) ; return l ( t , - n ) } function f ( t , e ) { r ( 2 , arguments ) ; var n = c ( e ) ; return l ( t , 12 * n ) } function p ( t , e ) { r ( 2 , arguments ) ; var n = o ( t ) , i = c ( e ) ; return isNaN ( n ) ? new Date ( NaN ) : ( n . setFullYear ( i ) , n ) } function d ( t , e ) { r ( 2 , arguments ) ; var n = o ( t ) , i = c ( e ) , a = n . getFullYear ( ) , s = n . getDate ( ) , l = new Date ( 0 ) ; l . setFullYear ( a , i , 15 ) , l . setHours ( 0 , 0 , 0 , 0 ) ; var u = A ( l ) ; return n . setMonth ( i , Math . min ( s , u ) ) , n } function h ( t , e , n ) { return e in t ? Object . defineProperty ( t , e , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : t [ e ] = n , t } function m ( ) { return ( m = Object . assign || function ( t ) { for ( var e = 1 ; e < arguments . length ; e ++ ) { var n = arguments [ e ] ; for ( var r in n ) Object . prototype . hasOwnProperty . call ( n , r ) && ( t [ r ] = n [ r ] ) } return t } ) . apply ( this , arguments ) } function g ( t , e ) { var n = Object . keys ( t ) ; if ( Object . getOwnPropertySymbols ) { var r = Object . getOwnPropertySymbols ( t ) ; e && ( r = r . filter ( ( function ( e ) { return Object . getOwnPropertyDescriptor ( t , e ) . enumerable } ) ) ) , n . push . apply ( n , r ) } return n } function v ( t ) { for ( var e = 1 ; e < arguments . length ; e ++ ) { var n = null != arguments [ e ] ? arguments [ e ] : { } ; e % 2 ? g ( n , ! 0 ) . forEach ( ( function ( e ) { h ( t , e , n [ e ] ) } ) ) : Object . getOwnPropertyDescriptors ? Object . defineProperties ( t , Object . getOwnPropertyDescriptors ( n ) ) : g ( n ) . forEach ( ( function ( e ) { Object . defineProperty ( t , e , Object . getOwnPropertyDescriptor ( n , e ) ) } ) ) } return t } function b ( t , e ) { return function ( t ) { if ( Array . isArray ( t ) ) return t } ( t ) || function ( t , e ) { if ( ! ( Symbol . iterator in Object ( t ) ) && "[object Arguments]" !== Object . prototype . toString . call ( t ) ) return ; var n = [ ] , r = ! 0 , o = ! 1 , i = void 0 ; try { for ( var a , s = t [ Symbol . iterator ] ( ) ; ! ( r = ( a = s . next ( ) ) . done ) && ( n . push ( a . value ) , ! e || n . length !== e ) ; r = ! 0 ) ; } catch ( t ) { o = ! 0 , i = t } finally { try { r || null == s . return || s . return ( ) } finally { if ( o ) throw i } } return n } ( t , e ) || function ( ) { throw new TypeError ( "Invalid attempt to destructure non-iterable instance" ) } ( ) } function y ( t ) { return t instanceof Date || "[object Date]" === Object . prototype . toString . call ( t ) } function x ( t ) { return y ( t ) ? new Date ( t . getTime ( ) ) : null == t ? new Date ( NaN ) : new Date ( t ) } function w ( t ) { return y ( t ) && ! isNaN ( t . getTime ( ) ) } function E ( t ) { var e = arguments . length > 1 && void 0 !== arguments [ 1 ] ? arguments [ 1 ] : 0 ; if ( ! ( e >= 0 && e <= 6 ) ) throw new RangeError ( "weekStartsOn must be between 0 and 6" ) ; var n = x ( t ) , r = n . getDay ( ) , o = ( r + 7 - e ) % 7 ; return n . setDate ( n . getDate ( ) - o ) , n . setHours ( 0 , 0 , 0 , 0 ) , n } function M ( t ) { var e = arguments . length > 1 && void 0 !== arguments [ 1 ] ? arguments [ 1 ] : { } , n = e . firstDayOfWee
2019-10-28 09:46:16 +03:00
//# sourceMappingURL=files_sharing_tab.js.map