2021-04-08 15:51:24 +03:00
! function ( e ) { var t = { } ; function n ( r ) { if ( t [ r ] ) return t [ r ] . exports ; var i = t [ r ] = { i : r , l : ! 1 , exports : { } } ; return e [ r ] . call ( i . exports , i , i . exports , n ) , i . l = ! 0 , i . exports } n . m = e , n . c = t , n . d = function ( e , t , r ) { n . o ( e , t ) || Object . defineProperty ( e , t , { enumerable : ! 0 , get : r } ) } , n . r = function ( e ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( e , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) } , n . t = function ( e , t ) { if ( 1 & t && ( e = n ( e ) ) , 8 & t ) return e ; if ( 4 & t && "object" == typeof e && e && e . _ _esModule ) return e ; var r = Object . create ( null ) ; if ( n . r ( r ) , Object . defineProperty ( r , "default" , { enumerable : ! 0 , value : e } ) , 2 & t && "string" != typeof e ) for ( var i in e ) n . d ( r , i , function ( t ) { return e [ t ] } . bind ( null , i ) ) ; return r } , n . n = function ( e ) { var t = e && e . _ _esModule ? function ( ) { return e . default } : function ( ) { return e } ; return n . d ( t , "a" , t ) , t } , n . o = function ( e , t ) { return Object . prototype . hasOwnProperty . call ( e , t ) } , n . p = "/js/" , n ( n . s = 752 ) } ( [ function ( e , t , n ) { ( function ( e ) { e . exports = function ( ) { "use strict" ; var t , r ; function i ( ) { return t . apply ( null , arguments ) } function s ( e ) { return e instanceof Array || "[object Array]" === Object . prototype . toString . call ( e ) } function o ( e ) { return null != e && "[object Object]" === Object . prototype . toString . call ( e ) } function a ( e ) { return void 0 === e } function l ( e ) { return "number" == typeof e || "[object Number]" === Object . prototype . toString . call ( e ) } function u ( e ) { return e instanceof Date || "[object Date]" === Object . prototype . toString . call ( e ) } function c ( e , t ) { var n , r = [ ] ; for ( n = 0 ; n < e . length ; ++ n ) r . push ( t ( e [ n ] , n ) ) ; return r } function m ( e , t ) { return Object . prototype . hasOwnProperty . call ( e , t ) } function d ( e , t ) { for ( var n in t ) m ( t , n ) && ( e [ n ] = t [ n ] ) ; return m ( t , "toString" ) && ( e . toString = t . toString ) , m ( t , "valueOf" ) && ( e . valueOf = t . valueOf ) , e } function h ( e , t , n , r ) { return Tt ( e , t , n , r , ! 0 ) . utc ( ) } function f ( e ) { return null == e . _pf && ( e . _pf = { empty : ! 1 , unusedTokens : [ ] , unusedInput : [ ] , overflow : - 2 , charsLeftOver : 0 , nullInput : ! 1 , invalidMonth : null , invalidFormat : ! 1 , userInvalidated : ! 1 , iso : ! 1 , parsedDateParts : [ ] , meridiem : null , rfc2822 : ! 1 , weekdayMismatch : ! 1 } ) , e . _pf } function p ( e ) { if ( null == e . _isValid ) { var t = f ( e ) , n = r . call ( t . parsedDateParts , ( function ( e ) { return null != e } ) ) , i = ! isNaN ( e . _d . getTime ( ) ) && t . overflow < 0 && ! t . empty && ! t . invalidMonth && ! t . invalidWeekday && ! t . weekdayMismatch && ! t . nullInput && ! t . invalidFormat && ! t . userInvalidated && ( ! t . meridiem || t . meridiem && n ) ; if ( e . _strict && ( i = i && 0 === t . charsLeftOver && 0 === t . unusedTokens . length && void 0 === t . bigHour ) , null != Object . isFrozen && Object . isFrozen ( e ) ) return i ; e . _isValid = i } return e . _isValid } function g ( e ) { var t = h ( NaN ) ; return null != e ? d ( f ( t ) , e ) : f ( t ) . userInvalidated = ! 0 , t } r = Array . prototype . some ? Array . prototype . some : function ( e ) { for ( var t = Object ( this ) , n = t . length >>> 0 , r = 0 ; r < n ; r ++ ) if ( r in t && e . call ( this , t [ r ] , r , t ) ) return ! 0 ; return ! 1 } ; var A = i . momentProperties = [ ] ; function v ( e , t ) { var n , r , i ; if ( a ( t . _isAMomentObject ) || ( e . _isAMomentObject = t . _isAMomentObject ) , a ( t . _i ) || ( e . _i = t . _i ) , a ( t . _f ) || ( e . _f = t . _f ) , a ( t . _l ) || ( e . _l = t . _l ) , a ( t . _strict ) || ( e . _strict = t . _strict ) , a ( t . _tzm ) || ( e . _tzm = t . _tzm ) , a ( t . _isUTC ) || ( e . _isUTC = t . _isUTC ) , a ( t . _offset ) || ( e . _offset = t . _offset ) , a ( t . _pf ) || ( e . _pf = f ( t ) ) , a ( t . _locale ) || ( e . _locale = t . _locale ) , A . length > 0 ) for ( n = 0 ; n < A . length ; n ++ ) a ( i = t [ r = A [ n ] ] ) || ( e [ r ] = i ) ; return e } var y = ! 1 ; function b ( e ) { v ( this , e ) , this . _d = new Date ( null != e . _d ? e . _d . getTime ( ) : NaN ) , this . isValid ( ) || ( this . _d = new Date ( NaN ) ) , ! 1 === y && ( y = ! 0 , i . updateOffset ( this ) , y = ! 1 ) } function M ( e ) { return e instanceof b || null != e && null != e . _isAMomentObject } function _ ( e ) { return e < 0 ? Math . ceil ( e ) || 0 : Math . floor ( e ) } function w ( e ) { var t = + e , n = 0 ; return 0 !== t && isFinite ( t ) && ( n = _ ( t ) ) , n } function T ( e , t , n ) { var r , i = Math . min ( e . length , t . length ) , s = Math . abs ( e . length - t . length ) , o = 0 ; for ( r = 0 ; r < i ; r ++ ) ( n && e [ r ] !== t [ r ] || ! n && w ( e [ r ] ) !== w ( t [ r ] ) ) && o ++ ; return o + s } function k ( e ) { ! 1 === i . suppressDeprecationWarnings && "undefined" != typeof console && console . warn && console . warn ( "Deprecation warning: " + e ) } function x ( e , t ) { var n = ! 0 ; return d ( ( function ( ) { if ( null != i . deprecationHandler && i . deprecationHandler ( null , e ) , n ) { for ( var r , s = [ ] , o = 0 ; o < arguments . length ; o ++ ) { if ( r = "" , "object" == typeof arguments [ o ] ) { for ( var a in r += "\n[" + o + "] " , arguments [ 0 ] ) r += a + ": " + arguments [ 0 ] [ a ] + ", " ; r = r . slice ( 0 , - 2 ) } else r = arguments [
2021-03-17 11:45:22 +03:00
/ * !
* The buffer module from node . js , for the browser .
*
* @ author Feross Aboukhadijeh < http : //feross.org>
* @ license MIT
* /
2021-04-08 15:51:24 +03:00
var r = n ( 622 ) , i = n ( 623 ) , s = n ( 624 ) ; function o ( ) { return l . TYPED _ARRAY _SUPPORT ? 2147483647 : 1073741823 } function a ( e , t ) { if ( o ( ) < t ) throw new RangeError ( "Invalid typed array length" ) ; return l . TYPED _ARRAY _SUPPORT ? ( e = new Uint8Array ( t ) ) . _ _proto _ _ = l . prototype : ( null === e && ( e = new l ( t ) ) , e . length = t ) , e } function l ( e , t , n ) { if ( ! ( l . TYPED _ARRAY _SUPPORT || this instanceof l ) ) return new l ( e , t , n ) ; if ( "number" == typeof e ) { if ( "string" == typeof t ) throw new Error ( "If encoding is specified then the first argument must be a string" ) ; return m ( this , e ) } return u ( this , e , t , n ) } function u ( e , t , n , r ) { if ( "number" == typeof t ) throw new TypeError ( '"value" argument must not be a number' ) ; return "undefined" != typeof ArrayBuffer && t instanceof ArrayBuffer ? function ( e , t , n , r ) { if ( t . byteLength , n < 0 || t . byteLength < n ) throw new RangeError ( "'offset' is out of bounds" ) ; if ( t . byteLength < n + ( r || 0 ) ) throw new RangeError ( "'length' is out of bounds" ) ; t = void 0 === n && void 0 === r ? new Uint8Array ( t ) : void 0 === r ? new Uint8Array ( t , n ) : new Uint8Array ( t , n , r ) ; l . TYPED _ARRAY _SUPPORT ? ( e = t ) . _ _proto _ _ = l . prototype : e = d ( e , t ) ; return e } ( e , t , n , r ) : "string" == typeof t ? function ( e , t , n ) { "string" == typeof n && "" !== n || ( n = "utf8" ) ; if ( ! l . isEncoding ( n ) ) throw new TypeError ( '"encoding" must be a valid string encoding' ) ; var r = 0 | f ( t , n ) , i = ( e = a ( e , r ) ) . write ( t , n ) ; i !== r && ( e = e . slice ( 0 , i ) ) ; return e } ( e , t , n ) : function ( e , t ) { if ( l . isBuffer ( t ) ) { var n = 0 | h ( t . length ) ; return 0 === ( e = a ( e , n ) ) . length || t . copy ( e , 0 , 0 , n ) , e } if ( t ) { if ( "undefined" != typeof ArrayBuffer && t . buffer instanceof ArrayBuffer || "length" in t ) return "number" != typeof t . length || ( r = t . length ) != r ? a ( e , 0 ) : d ( e , t ) ; if ( "Buffer" === t . type && s ( t . data ) ) return d ( e , t . data ) } var r ; throw new TypeError ( "First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object." ) } ( e , t ) } function c ( e ) { if ( "number" != typeof e ) throw new TypeError ( '"size" argument must be a number' ) ; if ( e < 0 ) throw new RangeError ( '"size" argument must not be negative' ) } function m ( e , t ) { if ( c ( t ) , e = a ( e , t < 0 ? 0 : 0 | h ( t ) ) , ! l . TYPED _ARRAY _SUPPORT ) for ( var n = 0 ; n < t ; ++ n ) e [ n ] = 0 ; return e } function d ( e , t ) { var n = t . length < 0 ? 0 : 0 | h ( t . length ) ; e = a ( e , n ) ; for ( var r = 0 ; r < n ; r += 1 ) e [ r ] = 255 & t [ r ] ; return e } function h ( e ) { if ( e >= o ( ) ) throw new RangeError ( "Attempt to allocate Buffer larger than maximum size: 0x" + o ( ) . toString ( 16 ) + " bytes" ) ; return 0 | e } function f ( e , t ) { if ( l . isBuffer ( e ) ) return e . length ; if ( "undefined" != typeof ArrayBuffer && "function" == typeof ArrayBuffer . isView && ( ArrayBuffer . isView ( e ) || e instanceof ArrayBuffer ) ) return e . byteLength ; "string" != typeof e && ( e = "" + e ) ; var n = e . length ; if ( 0 === n ) return 0 ; for ( var r = ! 1 ; ; ) switch ( t ) { case "ascii" : case "latin1" : case "binary" : return n ; case "utf8" : case "utf-8" : case void 0 : return R ( e ) . length ; case "ucs2" : case "ucs-2" : case "utf16le" : case "utf-16le" : return 2 * n ; case "hex" : return n >>> 1 ; case "base64" : return U ( e ) . length ; default : if ( r ) return R ( e ) . length ; t = ( "" + t ) . toLowerCase ( ) , r = ! 0 } } function p ( e , t , n ) { var r = ! 1 ; if ( ( void 0 === t || t < 0 ) && ( t = 0 ) , t > this . length ) return "" ; if ( ( void 0 === n || n > this . length ) && ( n = this . length ) , n <= 0 ) return "" ; if ( ( n >>>= 0 ) <= ( t >>>= 0 ) ) return "" ; for ( e || ( e = "utf8" ) ; ; ) switch ( e ) { case "hex" : return C ( this , t , n ) ; case "utf8" : case "utf-8" : return x ( this , t , n ) ; case "ascii" : return E ( this , t , n ) ; case "latin1" : case "binary" : return S ( this , t , n ) ; case "base64" : return k ( this , t , n ) ; case "ucs2" : case "ucs-2" : case "utf16le" : case "utf-16le" : return L ( this , t , n ) ; default : if ( r ) throw new TypeError ( "Unknown encoding: " + e ) ; e = ( e + "" ) . toLowerCase ( ) , r = ! 0 } } function g ( e , t , n ) { var r = e [ t ] ; e [ t ] = e [ n ] , e [ n ] = r } function A ( e , t , n , r , i ) { if ( 0 === e . length ) return - 1 ; if ( "string" == typeof n ? ( r = n , n = 0 ) : n > 2147483647 ? n = 2147483647 : n < - 2147483648 && ( n = - 2147483648 ) , n = + n , isNaN ( n ) && ( n = i ? 0 : e . length - 1 ) , n < 0 && ( n = e . length + n ) , n >= e . length ) { if ( i ) return - 1 ; n = e . length - 1 } else if ( n < 0 ) { if ( ! i ) return - 1 ; n = 0 } if ( "string" == typeof t && ( t = l . from ( t , r ) ) , l . isBuffer ( t ) ) return 0 === t . length ? - 1 : v ( e , t , n , r , i ) ; if ( "number" == typeof t ) return t &= 255 , l . TYPED _ARRAY _SUPPORT && "function" == typeof Uint8Array . prototype . indexOf ? i ? Uint8Array . prototype . indexOf . call ( e , t , n ) : Uint8Array . prototype . lastIndexOf . call ( e , t , n ) : v ( e , [ t ] , n , r , i ) ; throw new TypeError ( "val must be string, number or Buffer" ) } function v ( e , t , n , r , i ) { var s , o = 1 , a = e . length , l = t . length ; if ( void 0 !== r && ( "ucs2" === ( r = String ( r ) . toLowerCase ( ) ) || "
2021-03-17 11:45:22 +03:00
/ * !
* Vue . js v2 . 6.12
* ( c ) 2014 - 2020 Evan You
* Released under the MIT License .
* /
2021-04-19 13:47:12 +03:00
var r = Object . freeze ( { } ) ; function i ( e ) { return null == e } function s ( e ) { return null != e } function o ( e ) { return ! 0 === e } function a ( e ) { return "string" == typeof e || "number" == typeof e || "symbol" == typeof e || "boolean" == typeof e } function l ( e ) { return null !== e && "object" == typeof e } var u = Object . prototype . toString ; function c ( e ) { return "[object Object]" === u . call ( e ) } function m ( e ) { return "[object RegExp]" === u . call ( e ) } function d ( e ) { var t = parseFloat ( String ( e ) ) ; return t >= 0 && Math . floor ( t ) === t && isFinite ( e ) } function h ( e ) { return s ( e ) && "function" == typeof e . then && "function" == typeof e . catch } function f ( e ) { return null == e ? "" : Array . isArray ( e ) || c ( e ) && e . toString === u ? JSON . stringify ( e , null , 2 ) : String ( e ) } function p ( e ) { var t = parseFloat ( e ) ; return isNaN ( t ) ? e : t } function g ( e , t ) { for ( var n = Object . create ( null ) , r = e . split ( "," ) , i = 0 ; i < r . length ; i ++ ) n [ r [ i ] ] = ! 0 ; return t ? function ( e ) { return n [ e . toLowerCase ( ) ] } : function ( e ) { return n [ e ] } } g ( "slot,component" , ! 0 ) ; var A = g ( "key,ref,slot,slot-scope,is" ) ; function v ( e , t ) { if ( e . length ) { var n = e . indexOf ( t ) ; if ( n > - 1 ) return e . splice ( n , 1 ) } } var y = Object . prototype . hasOwnProperty ; function b ( e , t ) { return y . call ( e , t ) } function M ( e ) { var t = Object . create ( null ) ; return function ( n ) { return t [ n ] || ( t [ n ] = e ( n ) ) } } var _ = /-(\w)/g , w = M ( ( function ( e ) { return e . replace ( _ , ( function ( e , t ) { return t ? t . toUpperCase ( ) : "" } ) ) } ) ) , T = M ( ( function ( e ) { return e . charAt ( 0 ) . toUpperCase ( ) + e . slice ( 1 ) } ) ) , k = /\B([A-Z])/g , x = M ( ( function ( e ) { return e . replace ( k , "-$1" ) . toLowerCase ( ) } ) ) ; var E = Function . prototype . bind ? function ( e , t ) { return e . bind ( t ) } : function ( e , t ) { function n ( n ) { var r = arguments . length ; return r ? r > 1 ? e . apply ( t , arguments ) : e . call ( t , n ) : e . call ( t ) } return n . _length = e . length , n } ; function S ( e , t ) { t = t || 0 ; for ( var n = e . length - t , r = new Array ( n ) ; n -- ; ) r [ n ] = e [ n + t ] ; return r } function C ( e , t ) { for ( var n in t ) e [ n ] = t [ n ] ; return e } function L ( e ) { for ( var t = { } , n = 0 ; n < e . length ; n ++ ) e [ n ] && C ( t , e [ n ] ) ; return t } function j ( e , t , n ) { } var D = function ( e , t , n ) { return ! 1 } , P = function ( e ) { return e } ; function B ( e , t ) { if ( e === t ) return ! 0 ; var n = l ( e ) , r = l ( t ) ; if ( ! n || ! r ) return ! n && ! r && String ( e ) === String ( t ) ; try { var i = Array . isArray ( e ) , s = Array . isArray ( t ) ; if ( i && s ) return e . length === t . length && e . every ( ( function ( e , n ) { return B ( e , t [ n ] ) } ) ) ; if ( e instanceof Date && t instanceof Date ) return e . getTime ( ) === t . getTime ( ) ; if ( i || s ) return ! 1 ; var o = Object . keys ( e ) , a = Object . keys ( t ) ; return o . length === a . length && o . every ( ( function ( n ) { return B ( e [ n ] , t [ n ] ) } ) ) } catch ( e ) { return ! 1 } } function I ( e , t ) { for ( var n = 0 ; n < e . length ; n ++ ) if ( B ( e [ n ] , t ) ) return n ; return - 1 } function N ( e ) { var t = ! 1 ; return function ( ) { t || ( t = ! 0 , e . apply ( this , arguments ) ) } } var Y = [ "component" , "directive" , "filter" ] , O = [ "beforeCreate" , "created" , "beforeMount" , "mounted" , "beforeUpdate" , "updated" , "beforeDestroy" , "destroyed" , "activated" , "deactivated" , "errorCaptured" , "serverPrefetch" ] , F = { optionMergeStrategies : Object . create ( null ) , silent : ! 1 , productionTip : ! 1 , devtools : ! 1 , performance : ! 1 , errorHandler : null , warnHandler : null , ignoredElements : [ ] , keyCodes : Object . create ( null ) , isReservedTag : D , isReservedAttr : D , isUnknownElement : D , getTagNamespace : j , parsePlatformTagName : P , mustUseProp : D , async : ! 0 , _lifecycleHooks : O } , R = /a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/ ; function U ( e , t , n , r ) { Object . defineProperty ( e , t , { value : n , enumerable : ! ! r , writable : ! 0 , configurable : ! 0 } ) } var z = new RegExp ( "[^" + R . source + ".$_\\d]" ) ; var H , G = "__proto__" in { } , Q = "undefined" != typeof window , q = "undefined" != typeof WXEnvironment && ! ! WXEnvironment . platform , W = q && WXEnvironment . platform . toLowerCase ( ) , Z = Q && window . navigator . userAgent . toLowerCase ( ) , $ = Z && /msie|trident/ . test ( Z ) , J = Z && Z . indexOf ( "msie 9.0" ) > 0 , V = Z && Z . indexOf ( "edge/" ) > 0 , K = ( Z && Z . indexOf ( "android" ) , Z && /iphone|ipad|ipod|ios/ . test ( Z ) || "ios" === W ) , X = ( Z && /chrome\/\d+/ . test ( Z ) , Z && /phantomjs/ . test ( Z ) , Z && Z . match ( /firefox\/(\d+)/ ) ) , ee = { } . watch , te = ! 1 ; if ( Q ) try { var ne = { } ; Object . defineProperty ( ne , "passive" , { get : function ( ) { te = ! 0 } } ) , window . addEventListener ( "test-passive" , null , ne ) } catch ( e ) { } var re = function ( ) { return void 0 === H && ( H = ! Q && ! q && void 0 !== e && ( e . process && "server" === e . process . env . VUE _ENV ) ) , H } , ie = Q && window . _ _VUE _DEVTOOLS _GLOBAL _HOOK _ _ ; function se ( e ) { return "function" == t
2021-03-17 11:45:22 +03:00
/ * !
* escape - html
* Copyright ( c ) 2012 - 2013 TJ Holowaychuk
* Copyright ( c ) 2015 Andreas Lubbe
* Copyright ( c ) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
2021-04-08 15:51:24 +03:00
* /var r=/ [ "'&<>]/;e.exports=function(e){var t,n=" "+e,i=r.exec(n);if(!i)return n;var s=" ",o=0,a=0;for(o=i.index;o<n.length;o++){switch(n.charCodeAt(o)){case 34:t=" & quot ; ";break;case 38:t=" & amp ; ";break;case 39:t=" & # 39 ; ";break;case 60:t=" & lt ; ";break;case 62:t=" & gt ; ";break;default:continue}a!==o&&(s+=n.substring(a,o)),a=o+1,s+=t}return a!==o?s+n.substring(a,o):s}},function(e,t,n){" use strict ";var r,i=n(4),s=n(51).f,o=n(16),a=n(552),l=n(36),u=n(553),c=n(40),m=" ".startsWith,d=Math.min,h=u(" startsWith ");i({target:" String ",proto:!0,forced:!!(c||h||(r=s(String.prototype," startsWith "),!r||r.writable))&&!h},{startsWith:function(e){var t=String(l(this));a(e);var n=o(d(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return m?m.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){var r=n(11),i=n(39),s=n(6)(" match ");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[s])?!!t:" RegExp "==i(e))}},function(e,t,n){" use strict ";var r=n(143),i=n(153),s=n(9),o=n(36),a=n(375),l=n(144),u=n(16),c=n(145),m=n(140),d=n(142).UNSUPPORTED_Y,h=[].push,f=Math.min;r(" split ",2,(function(e,t,n){var r;return r=" c "==" abbc ".split(/(b)*/)[1]||4!=" test ".split(/(?:)/,-1).length||2!=" ab ".split(/(?:ab)*/).length||4!=" . ".split(/(.?)(.?)/).length||" . ".split(/()()/).length>1||" ".split(/.?/).length?function(e,n){var r=String(o(this)),s=void 0===n?4294967295:n>>>0;if(0===s)return[];if(void 0===e)return[r];if(!i(e))return t.call(r,e,s);for(var a,l,u,c=[],d=(e.ignoreCase?" i ":" ")+(e.multiline?" m ":" ")+(e.unicode?" u ":" ")+(e.sticky?" y ":" "),f=0,p=new RegExp(e.source,d+" g ");(a=m.call(p,r))&&!((l=p.lastIndex)>f&&(c.push(r.slice(f,a.index)),a.length>1&&a.index<r.length&&h.apply(c,a.slice(1)),u=a[0].length,f=l,c.length>=s));)p.lastIndex===a.index&&p.lastIndex++;return f===r.length?!u&&p.test(" ")||c.push(" "):c.push(r.slice(f)),c.length>s?c.slice(0,s):c}:" 0 ".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var i=o(this),s=null==t?void 0:t[e];return void 0!==s?s.call(t,i,n):r.call(String(i),t,n)},function(e,i){var o=n(r,e,this,i,r!==t);if(o.done)return o.value;var m=s(e),h=String(this),p=a(m,RegExp),g=m.unicode,A=(m.ignoreCase?" i ":" ")+(m.multiline?" m ":" ")+(m.unicode?" u ":" ")+(d?" g ":" y "),v=new p(d?" ^ ( ? : "+m.source+" ) ":m,A),y=void 0===i?4294967295:i>>>0;if(0===y)return[];if(0===h.length)return null===c(v,h)?[h]:[];for(var b=0,M=0,_=[];M<h.length;){v.lastIndex=d?0:M;var w,T=c(v,d?h.slice(M):h);if(null===T||(w=f(u(v.lastIndex+(d?M:0)),h.length))===b)M=l(h,M,g);else{if(_.push(h.slice(b,M)),_.length===y)return _;for(var k=1;k<=T.length-1;k++)if(_.push(T[k]),_.length===y)return _;M=b=w}}return _.push(h.slice(b)),_}]}),d)},function(e,t,n){var r=n(103),i=n(559),s=n(156),o=n(157),a=n(160),l=n(57),u=n(382),c=Object.getOwnPropertyDescriptor;t.f=r?c:function(e,t){if(e=o(e),t=a(t,!0),u)try{return c(e,t)}catch(e){}if(l(e,t))return s(!i.f.call(e,t),e[t])}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(381),i=n(159);e.exports=function(e){return r(i(e))}},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(null==e)throw TypeError(" Can 't call method on "+e);return e}},function(e,t,n){var r=n(46);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can' t convert object to primitive value ")}},function(e,t,n){var r=n(103),i=n(382),s=n(383),o=n(160),a=Object.defineProperty;t.f=r?a:function(e,t,n){if(s(e),t=o(t,!0),s(n),i)try{return a(e,t,n)}catch(e){}if(" get "in n||" set "in n)throw TypeError(" Accessors not supported ");return" value "in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(24),i=n(104);e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(159);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(28),i=n(79),s=n(398),o=i(" sp
2021-03-17 11:45:22 +03:00
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
2021-04-08 15:51:24 +03:00
var r = n ( 10 ) , i = r . Buffer ; function s ( e , t ) { for ( var n in e ) t [ n ] = e [ n ] } function o ( e , t , n ) { return i ( e , t , n ) } i . from && i . alloc && i . allocUnsafe && i . allocUnsafeSlow ? e . exports = r : ( s ( r , t ) , t . Buffer = o ) , o . prototype = Object . create ( i . prototype ) , s ( i , o ) , o . from = function ( e , t , n ) { if ( "number" == typeof e ) throw new TypeError ( "Argument must not be a number" ) ; return i ( e , t , n ) } , o . alloc = function ( e , t , n ) { if ( "number" != typeof e ) throw new TypeError ( "Argument must be a number" ) ; var r = i ( e ) ; return void 0 !== t ? "string" == typeof n ? r . fill ( t , n ) : r . fill ( t ) : r . fill ( 0 ) , r } , o . allocUnsafe = function ( e ) { if ( "number" != typeof e ) throw new TypeError ( "Argument must be a number" ) ; return i ( e ) } , o . allocUnsafeSlow = function ( e ) { if ( "number" != typeof e ) throw new TypeError ( "Argument must be a number" ) ; return r . SlowBuffer ( e ) } } , function ( e , t , n ) { "use strict" ; var r = n ( 63 ) . codes . ERR _STREAM _PREMATURE _CLOSE ; function i ( ) { } e . exports = function e ( t , n , s ) { if ( "function" == typeof n ) return e ( t , null , n ) ; n || ( n = { } ) , s = function ( e ) { var t = ! 1 ; return function ( ) { if ( ! t ) { t = ! 0 ; for ( var n = arguments . length , r = new Array ( n ) , i = 0 ; i < n ; i ++ ) r [ i ] = arguments [ i ] ; e . apply ( this , r ) } } } ( s || i ) ; var o = n . readable || ! 1 !== n . readable && t . readable , a = n . writable || ! 1 !== n . writable && t . writable , l = function ( ) { t . writable || c ( ) } , u = t . _writableState && t . _writableState . finished , c = function ( ) { a = ! 1 , u = ! 0 , o || s . call ( t ) } , m = t . _readableState && t . _readableState . endEmitted , d = function ( ) { o = ! 1 , m = ! 0 , a || s . call ( t ) } , h = function ( e ) { s . call ( t , e ) } , f = function ( ) { var e ; return o && ! m ? ( t . _readableState && t . _readableState . ended || ( e = new r ) , s . call ( t , e ) ) : a && ! u ? ( t . _writableState && t . _writableState . ended || ( e = new r ) , s . call ( t , e ) ) : void 0 } , p = function ( ) { t . req . on ( "finish" , c ) } ; return ! function ( e ) { return e . setHeader && "function" == typeof e . abort } ( t ) ? a && ! t . _writableState && ( t . on ( "end" , l ) , t . on ( "close" , l ) ) : ( t . on ( "complete" , c ) , t . on ( "abort" , f ) , t . req ? p ( ) : t . on ( "request" , p ) ) , t . on ( "end" , d ) , t . on ( "finish" , c ) , ! 1 !== n . error && t . on ( "error" , h ) , t . on ( "close" , f ) , function ( ) { t . removeListener ( "complete" , c ) , t . removeListener ( "abort" , f ) , t . removeListener ( "request" , p ) , t . req && t . req . removeListener ( "finish" , c ) , t . removeListener ( "end" , l ) , t . removeListener ( "close" , l ) , t . removeListener ( "finish" , c ) , t . removeListener ( "end" , d ) , t . removeListener ( "error" , h ) , t . removeListener ( "close" , f ) } } } , function ( e , t , n ) { ( function ( t ) { var r = n ( 181 ) , i = n ( 59 ) ; function s ( e ) { var t , n = e . modulus . byteLength ( ) ; do { t = new r ( i ( n ) ) } while ( t . cmp ( e . modulus ) >= 0 || ! t . umod ( e . prime1 ) || ! t . umod ( e . prime2 ) ) ; return t } function o ( e , n ) { var i = function ( e ) { var t = s ( e ) ; return { blinder : t . toRed ( r . mont ( e . modulus ) ) . redPow ( new r ( e . publicExponent ) ) . fromRed ( ) , unblinder : t . invm ( e . modulus ) } } ( n ) , o = n . modulus . byteLength ( ) , a = new r ( e ) . mul ( i . blinder ) . umod ( n . modulus ) , l = a . toRed ( r . mont ( n . prime1 ) ) , u = a . toRed ( r . mont ( n . prime2 ) ) , c = n . coefficient , m = n . prime1 , d = n . prime2 , h = l . redPow ( n . exponent1 ) . fromRed ( ) , f = u . redPow ( n . exponent2 ) . fromRed ( ) , p = h . isub ( f ) . imul ( c ) . umod ( m ) . imul ( d ) ; return f . iadd ( p ) . imul ( i . unblinder ) . umod ( n . modulus ) . toArrayLike ( t , "be" , o ) } o . getr = s , e . exports = o } ) . call ( this , n ( 10 ) . Buffer ) } , function ( e , t , n ) { ( function ( e ) { ! function ( e , t ) { "use strict" ; function r ( e , t ) { if ( ! e ) throw new Error ( t || "Assertion failed" ) } function i ( e , t ) { e . super _ = t ; var n = function ( ) { } ; n . prototype = t . prototype , e . prototype = new n , e . prototype . constructor = e } function s ( e , t , n ) { if ( s . isBN ( e ) ) return e ; this . negative = 0 , this . words = null , this . length = 0 , this . red = null , null !== e && ( "le" !== t && "be" !== t || ( n = t , t = 10 ) , this . _init ( e || 0 , t || 10 , n || "be" ) ) } var o ; "object" == typeof e ? e . exports = s : t . BN = s , s . BN = s , s . wordSize = 26 ; try { o = n ( 682 ) . Buffer } catch ( e ) { } function a ( e , t , n ) { for ( var i = 0 , s = Math . min ( e . length , n ) , o = 0 , a = t ; a < s ; a ++ ) { var l , u = e . charCodeAt ( a ) - 48 ; i <<= 4 , i |= l = u >= 49 && u <= 54 ? u - 49 + 10 : u >= 17 && u <= 22 ? u - 17 + 10 : u , o |= l } return r ( ! ( 240 & o ) , "Invalid character in " + e ) , i } function l ( e , t , n , i ) { for ( var s = 0 , o = 0 , a = Math . min ( e . length , n ) , l = t ; l < a ; l ++ ) { var u = e . charCodeAt ( l ) - 48 ; s *= i , o = u >= 49 ? u - 49 + 10 : u >= 17 ? u - 17 + 10 : u , r ( u >= 0 && o < i , "Invalid character" ) , s += o } return s } function u ( e , t ) { e . words = t . words , e . length = t . length , e . negative = t . negative , e . red = t . red } if ( s . isBN = function ( e ) { return e instanceof s || null !== e && "object" == typeof e && e . constructor . wordSize === s . wordSize && Array . isArray ( e . words ) } , s . max = function ( e , t ) { return e . cmp ( t ) > 0 ? e : t } , s . min = function ( e , t ) { return e . cmp ( t ) < 0 ?
2021-03-17 11:45:22 +03:00
/ * * !
* @ fileOverview Kickass library to create and place poppers near their reference elements .
* @ version 1.16 . 1
* @ license
* Copyright ( c ) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted , free of charge , to any person obtaining a copy
* of this software and associated documentation files ( the "Software" ) , to deal
* in the Software without restriction , including without limitation the rights
* to use , copy , modify , merge , publish , distribute , sublicense , and / or sell
* copies of the Software , and to permit persons to whom the Software is
* furnished to do so , subject to the following conditions :
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software .
*
* THE SOFTWARE IS PROVIDED "AS IS" , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR
* IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY ,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER
* LIABILITY , WHETHER IN AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM ,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE .
* /
2021-04-08 15:51:24 +03:00
var n = "undefined" != typeof window && "undefined" != typeof document && "undefined" != typeof navigator , r = function ( ) { for ( var e = [ "Edge" , "Trident" , "Firefox" ] , t = 0 ; t < e . length ; t += 1 ) if ( n && navigator . userAgent . indexOf ( e [ t ] ) >= 0 ) return 1 ; return 0 } ( ) ; var i = n && window . Promise ? function ( e ) { var t = ! 1 ; return function ( ) { t || ( t = ! 0 , window . Promise . resolve ( ) . then ( ( function ( ) { t = ! 1 , e ( ) } ) ) ) } } : function ( e ) { var t = ! 1 ; return function ( ) { t || ( t = ! 0 , setTimeout ( ( function ( ) { t = ! 1 , e ( ) } ) , r ) ) } } ; function s ( e ) { return e && "[object Function]" === { } . toString . call ( e ) } function o ( e , t ) { if ( 1 !== e . nodeType ) return [ ] ; var n = e . ownerDocument . defaultView . getComputedStyle ( e , null ) ; return t ? n [ t ] : n } function a ( e ) { return "HTML" === e . nodeName ? e : e . parentNode || e . host } function l ( e ) { if ( ! e ) return document . body ; switch ( e . nodeName ) { case "HTML" : case "BODY" : return e . ownerDocument . body ; case "#document" : return e . body } var t = o ( e ) , n = t . overflow , r = t . overflowX , i = t . overflowY ; return /(auto|scroll|overlay)/ . test ( n + i + r ) ? e : l ( a ( e ) ) } function u ( e ) { return e && e . referenceNode ? e . referenceNode : e } var c = n && ! ( ! window . MSInputMethodContext || ! document . documentMode ) , m = n && /MSIE 10/ . test ( navigator . userAgent ) ; function d ( e ) { return 11 === e ? c : 10 === e ? m : c || m } function h ( e ) { if ( ! e ) return document . documentElement ; for ( var t = d ( 10 ) ? document . body : null , n = e . offsetParent || null ; n === t && e . nextElementSibling ; ) n = ( e = e . nextElementSibling ) . offsetParent ; var r = n && n . nodeName ; return r && "BODY" !== r && "HTML" !== r ? - 1 !== [ "TH" , "TD" , "TABLE" ] . indexOf ( n . nodeName ) && "static" === o ( n , "position" ) ? h ( n ) : n : e ? e . ownerDocument . documentElement : document . documentElement } function f ( e ) { return null !== e . parentNode ? f ( e . parentNode ) : e } function p ( e , t ) { if ( ! ( e && e . nodeType && t && t . nodeType ) ) return document . documentElement ; var n = e . compareDocumentPosition ( t ) & Node . DOCUMENT _POSITION _FOLLOWING , r = n ? e : t , i = n ? t : e , s = document . createRange ( ) ; s . setStart ( r , 0 ) , s . setEnd ( i , 0 ) ; var o , a , l = s . commonAncestorContainer ; if ( e !== l && t !== l || r . contains ( i ) ) return "BODY" === ( a = ( o = l ) . nodeName ) || "HTML" !== a && h ( o . firstElementChild ) !== o ? h ( l ) : l ; var u = f ( e ) ; return u . host ? p ( u . host , t ) : p ( e , f ( t ) . host ) } function g ( e ) { var t = arguments . length > 1 && void 0 !== arguments [ 1 ] ? arguments [ 1 ] : "top" , n = "top" === t ? "scrollTop" : "scrollLeft" , r = e . nodeName ; if ( "BODY" === r || "HTML" === r ) { var i = e . ownerDocument . documentElement , s = e . ownerDocument . scrollingElement || i ; return s [ n ] } return e [ n ] } function A ( e , t ) { var n = arguments . length > 2 && void 0 !== arguments [ 2 ] && arguments [ 2 ] , r = g ( t , "top" ) , i = g ( t , "left" ) , s = n ? - 1 : 1 ; return e . top += r * s , e . bottom += r * s , e . left += i * s , e . right += i * s , e } function v ( e , t ) { var n = "x" === t ? "Left" : "Top" , r = "Left" === n ? "Right" : "Bottom" ; return parseFloat ( e [ "border" + n + "Width" ] ) + parseFloat ( e [ "border" + r + "Width" ] ) } function y ( e , t , n , r ) { return Math . max ( t [ "offset" + e ] , t [ "scroll" + e ] , n [ "client" + e ] , n [ "offset" + e ] , n [ "scroll" + e ] , d ( 10 ) ? parseInt ( n [ "offset" + e ] ) + parseInt ( r [ "margin" + ( "Height" === e ? "Top" : "Left" ) ] ) + parseInt ( r [ "margin" + ( "Height" === e ? "Bottom" : "Right" ) ] ) : 0 ) } function b ( e ) { var t = e . body , n = e . documentElement , r = d ( 10 ) && getComputedStyle ( n ) ; return { height : y ( "Height" , t , n , r ) , width : y ( "Width" , t , n , r ) } } var M = function ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } , _ = function ( ) { function e ( e , t ) { for ( var n = 0 ; n < t . length ; n ++ ) { var r = t [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( e , r . key , r ) } } return function ( t , n , r ) { return n && e ( t . prototype , n ) , r && e ( t , r ) , t } } ( ) , w = function ( e , t , n ) { return t in e ? Object . defineProperty ( e , t , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : e [ t ] = n , e } , T = Object . assign || function ( e ) { for ( var t = 1 ; t < arguments . length ; t ++ ) { var n = arguments [ t ] ; for ( var r in n ) Object . prototype . hasOwnProperty . call ( n , r ) && ( e [ r ] = n [ r ] ) } return e } ; function k ( e ) { return T ( { } , e , { right : e . left + e . width , bottom : e . top + e . height } ) } function x ( e ) { var t = { } ; try { if ( d ( 10 ) ) { t = e . getBoundingClientRect ( ) ; var n = g ( e , "top" ) , r = g ( e , "left" ) ; t . top += n , t . left += r , t . bottom += n , t . right += r } else t = e . getBoundingClientRect ( ) } catch ( e ) { } var i = { left : t . left , top : t . top , width : t . right - t . left , height : t . bottom - t . top } , s = "HTML" === e . nodeName ? b ( e . ownerDocument ) : { } , a = s . width || e . clientWidth || i . width , l = s . height || e . clientHeight || i . height , u = e . offsetWidth - a , c = e . offsetHeight - l ; if ( u || c ) { var m = o ( e ) ; u -= v ( m , "x" ) , c -
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2020 Greta Doci < gretadoci @ gmail . com >
*
* @ author 2020 Greta Doci < gretadoci @ gmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /t.default=r.a},2:function(e,t,n){"use strict";var r,i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),s=[];function o(e){for(var t=-1,n=0;n<s.length;n++)if(s[n].identifier===e){t=n;break}return t}function a(e,t){for(var n={},r=[],i=0;i<e.length;i++){var a=e[i],l=t.base?a[0]+t.base:a[0],u=n[l]||0,c="".concat(l," ").concat(u);n[l]=u+1;var m=o(c),d={css:a[1],media:a[2],sourceMap:a[3]};-1!==m?(s[m].references++,s[m].updater(d)):s.push({identifier:c,updater:p(d,t),references:1}),r.push(c)}return r}function l(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var s=n.nc;s&&(r.nonce=s)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var o=i(e.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}return t}var u,c=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function m(e,t,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=c(t,i);else{var s=document.createTextNode(i),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(s,o[t]):e.appendChild(s)}}function d(e,t,n){var r=n.css,i=n.media,s=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),s&&"undefined"!=typeof btoa&&(r+="\n/ * # sourceMappingURL = data : application / json ; base64 , ".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," * / " ) ) , e . s t y l e S h e e t ) e . s t y l e S h e e t . c s s T e x t = r ; e l s e { f o r ( ; e . f i r s t C h i l d ; ) e . r e m o v e C h i l d ( e . f i r s t C h i l d ) ; e . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( r ) ) } } v a r h = n u l l , f = 0 ; f u n c t i o n p ( e , t ) { v a r n , r , i ; i f ( t . s i n g l e t o n ) { v a r s = f + + ; n = h | | ( h = l ( t ) ) , r = m . b i n d ( n u l l , n , s , ! 1 ) , i = m . b i n d ( n u l l , n , s , ! 0 ) } e l s e n = l ( t ) , r = d . b i n d ( n u l l , n , t ) , i = f u n c t i o n ( ) { ! f u n c t i o n ( e ) { i f ( n u l l = = = e . p a r e n t N o d e ) r e t u r n ! 1 ; e . p a r e n t N o d e . r e m o v e C h i l d ( e ) } ( n ) } ; r e t u r n r ( e ) , f u n c t i o n ( t ) { i f ( t ) { i f ( t . c s s = = = e . c s s & & t . m e d i a = = = e . m e d i a & & t . s o u r c e M a p = = = e . s o u r c e M a p ) r e t u r n ; r ( e = t ) } e l s e i ( ) } } e . e x p o r t s = f u n c t i o n ( e , t ) { ( t = t | | { } ) . s i n g l e t o n | | " b o o l e a n " = = t y p e o f t . s i n g l e t o n | | ( t . s i n g l e t o n = ( v o i d 0 = = = r & & ( r = B o o l e a n ( w i n d o w & & d o c u m e n t & & d o c u m e n t . a l l & & ! w i n d o w . a t o b ) ) , r ) ) ; v a r n = a ( e = e | | [ ] , t ) ; r e t u r n f u n c t i o n ( e ) { i f ( e = e | | [ ] , " [ o b j e c t A r r a y ] " = = = O b j e c t . p r o t o t y p e . t o S t r i n g . c a l l ( e ) ) { f o r ( v a r r = 0 ; r < n . l e n g t h ; r + + ) { v a r i = o ( n [ r ] ) ; s [ i ] . r e f e r e n c e s - - } f o r ( v a r l = a ( e , t ) , u = 0 ; u < n . l e n g t h ; u + + ) { v a r c = o ( n [ u ] ) ; 0 = = = s [ c ] . r e f e r e n c e s & & ( s [ c ] . u p d a t e r ( ) , s . s p l i c e ( c , 1 ) ) } n = l } } } } , 3 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; f u n c t i o n r ( e , t , n , r , i , s , o , a ) { v a r l , u = " f u n c t i o n " = = t y p e o f e ? e . o p t i o n s : e ; i f ( t & & ( u . r e n d e r = t , u . s t a t i c R e n d e r F n s = n , u . _ c o m p i l e d = ! 0 ) , r & & ( u . f u n c t i o n a l = ! 0 ) , s & & ( u . _ s c o p e I d = " d a t a - v - " + s ) , o ? ( l = f u n c t i o n ( e ) { ( e = e | | t h i s . $ v n o d e & & t h i s . $ v n o d e . s s r C o n t e x t | | t h i s . p a r e n t & & t h i s . p a r e n t . $ v n o d e & & t h i s . p a r e n t . $ v n o d e . s s r C o n t e x t ) | | " u n d e f i n e d " = = t y p e o f _ _ V U E _ S S R _ C O N T E X T _ _ | | ( e = _ _ V U E _ S S R _ C O N T E X T _ _ ) , i & & i . c a l l ( t h i s , e ) , e & & e . _ r e g i s t e r e d C o m p o n e n t s & & e . _ r e g i s t e r e d C o m p o n e n t s . a d d ( o ) } , u . _ s s r R e g i s t e r = l ) : i & & ( l = a ? f u n c t i o n ( ) { i . c a l l ( t h i s , ( u . f u n c t i o n a l ? t h i s . p a r e n t : t h i s ) . $ r o o t . $ o p t i o n s . s h a d o w R o o t ) } : i ) , l ) i f ( u . f u n c t i o n a l ) { u . _ i n j e c t S t y l e s = l ; v a r c = u . r e n d e r ; u . r e n d e r = f u n c t i o n ( e , t ) { r e t u r n l . c a l l ( t ) , c ( e , t ) } } e l s e { v a r m = u . b e f o r e C r e a t e ; u . b e f o r e C r e a t e = m ? [ ] . c o n c a t ( m , l ) : [ l ] } r e t u r n { e x p o r t s : e , o p t i o n s : u } } n . d ( t , " a " , ( f u n c t i o n ( ) { r e t u r n r } ) ) } } ) } , f u n c t i o n ( e , t , n ) { w i n d o w , e . e x p o r t s = f u n c t i o n ( e ) { v a r t = { } ; f u n c t i o n n ( r ) { i f ( t [ r ] ) r e t u r n t [ r ] . e x p o r t s ; v a r i = t [ r ] = { i : r , l : ! 1 , e x p o r t s : { } } ; r e t u r n e [ r ] . c a l l ( i . e x p o r t s , i , i . e x p o r t s , n ) , i . l = ! 0 , i . e x p o r t s } r e t u r n n . m = e , n . c = t , n . d = f u n c t i o n ( e , t , r ) { n . o ( e , t ) | | O b j e c t . d e f i n e P r o p e r t y ( e , t , { e n u m e r a b l e : ! 0 , g e t : r } ) } , n . r = f u n c t i o n ( e ) { " u n d e f i n e d " ! = t y p e o f S y m b o l & & S y m b o l . t o S t r i n g T a g & & O b j e c t . d e f i n e P r o p e r t y ( e , S y m b o l . t o S t r i n g T a g , { v a l u e : " M o d u l e " } ) , O b j e c t . d e f i n e P r o p e r t y ( e , " _ _ e s M o d u l e " , { v a l u e : ! 0 } ) } , n . t = f u n c t i o n ( e , t ) { i f ( 1 & t & & ( e = n ( e ) ) , 8 & t ) r e t u r n e ; i f ( 4 & t & & " o b j e c t " = = t y p e o f e & & e & & e . _ _ e s M o d u l e ) r e t u r n e ; v a r r = O b j e c t . c r e a t e ( n u l l ) ; i f ( n . r ( r ) , O b j e c t . d e f i n e P r o p e r t y ( r , " d e f a u l t " , { e n u m e r a b l e : ! 0 , v a l u e : e }
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2021-04-08 15:51:24 +03:00
* /t.default=r.a},15:function(e,t){e.exports=n(146)},17:function(e,t){e.exports=n(77)},18:function(e,t){e.exports=n(54)},19:function(e,t){e.exports=n(100)},2:function(e,t,n){"use strict";var r,i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),s=[];function o(e){for(var t=-1,n=0;n<s.length;n++)if(s[n].identifier===e){t=n;break}return t}function a(e,t){for(var n={},r=[],i=0;i<e.length;i++){var a=e[i],l=t.base?a[0]+t.base:a[0],u=n[l]||0,c="".concat(l," ").concat(u);n[l]=u+1;var m=o(c),d={css:a[1],media:a[2],sourceMap:a[3]};-1!==m?(s[m].references++,s[m].updater(d)):s.push({identifier:c,updater:p(d,t),references:1}),r.push(c)}return r}function l(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var s=n.nc;s&&(r.nonce=s)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var o=i(e.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}return t}var u,c=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function m(e,t,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=c(t,i);else{var s=document.createTextNode(i),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(s,o[t]):e.appendChild(s)}}function d(e,t,n){var r=n.css,i=n.media,s=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),s&&"undefined"!=typeof btoa&&(r+="\n/ * # sourceMappingURL = data : application / json ; base64 , ".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," * / " ) ) , e . s t y l e S h e e t ) e . s t y l e S h e e t . c s s T e x t = r ; e l s e { f o r ( ; e . f i r s t C h i l d ; ) e . r e m o v e C h i l d ( e . f i r s t C h i l d ) ; e . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( r ) ) } } v a r h = n u l l , f = 0 ; f u n c t i o n p ( e , t ) { v a r n , r , i ; i f ( t . s i n g l e t o n ) { v a r s = f + + ; n = h | | ( h = l ( t ) ) , r = m . b i n d ( n u l l , n , s , ! 1 ) , i = m . b i n d ( n u l l , n , s , ! 0 ) } e l s e n = l ( t ) , r = d . b i n d ( n u l l , n , t ) , i = f u n c t i o n ( ) { ! f u n c t i o n ( e ) { i f ( n u l l = = = e . p a r e n t N o d e ) r e t u r n ! 1 ; e . p a r e n t N o d e . r e m o v e C h i l d ( e ) } ( n ) } ; r e t u r n r ( e ) , f u n c t i o n ( t ) { i f ( t ) { i f ( t . c s s = = = e . c s s & & t . m e d i a = = = e . m e d i a & & t . s o u r c e M a p = = = e . s o u r c e M a p ) r e t u r n ; r ( e = t ) } e l s e i ( ) } } e . e x p o r t s = f u n c t i o n ( e , t ) { ( t = t | | { } ) . s i n g l e t o n | | " b o o l e a n " = = t y p e o f t . s i n g l e t o n | | ( t . s i n g l e t o n = ( v o i d 0 = = = r & & ( r = B o o l e a n ( w i n d o w & & d o c u m e n t & & d o c u m e n t . a l l & & ! w i n d o w . a t o b ) ) , r ) ) ; v a r n = a ( e = e | | [ ] , t ) ; r e t u r n f u n c t i o n ( e ) { i f ( e = e | | [ ] , " [ o b j e c t A r r a y ] " = = = O b j e c t . p r o t o t y p e . t o S t r i n g . c a l l ( e ) ) { f o r ( v a r r = 0 ; r < n . l e n g t h ; r + + ) { v a r i = o ( n [ r ] ) ; s [ i ] . r e f e r e n c e s - - } f o r ( v a r l = a ( e , t ) , u = 0 ; u < n . l e n g t h ; u + + ) { v a r c = o ( n [ u ] ) ; 0 = = = s [ c ] . r e f e r e n c e s & & ( s [ c ] . u p d a t e r ( ) , s . s p l i c e ( c , 1 ) ) } n = l } } } } , 2 8 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 5 5 ) } , 3 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; f u n c t i o n r ( e , t , n , r , i , s , o , a ) { v a r l , u = " f u n c t i o n " = = t y p e o f e ? e . o p t i o n s : e ; i f ( t & & ( u . r e n d e r = t , u . s t a t i c R e n d e r F n s = n , u . _ c o m p i l e d = ! 0 ) , r & & ( u . f u n c t i o n a l = ! 0 ) , s & & ( u . _ s c o p e I d = " d a t a - v - " + s ) , o ? ( l = f u n c t i o n ( e ) { ( e = e | | t h i s . $ v n o d e & & t h i s . $ v n o d e . s s r C o n t e x t | | t h i s . p a r e n t & & t h i s . p a r e n t . $ v n o d e & & t h i s . p a r e n t . $ v n o d e . s s r C o n t e x t ) | | " u n d e f i n e d " = = t y p e o f _ _ V U E _ S S R _ C O N T E X T _ _ | | ( e = _ _ V U E _ S S R _ C O N T E X T _ _ ) , i & & i . c a l l ( t h i s , e ) , e & & e . _ r e g i s t e r e d C o m p o n e n t s & & e . _ r e g i s t e r e d C o m p o n e n t s . a d d ( o ) } , u . _ s s r R e g i s t e r = l ) : i & & ( l = a ? f u n c t i o n ( ) { i . c a l l ( t h i s , ( u . f u n c t i o n a l ? t h i s . p a r e n t : t h i s ) . $ r o o t . $ o p t i o n s . s h a d o w R o o t ) } : i ) , l ) i f ( u . f u n c t i o n a l ) { u . _ i n j e c t S t y l e s = l ; v a r c = u . r e n d e r ; u . r e n d e r = f u n c t i o n ( e , t ) { r e t u r n l . c a l l ( t ) , c ( e , t ) } } e l s e { v a r m = u . b e f o r e C r e a t e ; u . b e f o r e C r e a t e = m ? [ ] . c o n c a t ( m , l ) : [ l ] } r e t u r n { e x p o r t s : e , o p t i o n s : u } } n . d ( t , " a " , ( f u n c t i o n ( ) { r e t u r n r } ) ) } , 3 8 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n ( 2 8 ) , n ( 1 5 ) ; v a r r = n ( 5 ) , i = n . n ( r ) ;
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2021-04-08 15:51:24 +03:00
* / t . a = { b e f o r e : f u n c t i o n ( ) { t h i s . $ s l o t s . d e f a u l t & & " " ! = = t h i s . t e x t . t r i m ( ) | | ( i . a . u t i l . w a r n ( " " . c o n c a t ( t h i s . $ o p t i o n s . n a m e , " c a n n o t b e e m p t y a n d r e q u i r e s a m e a n i n g f u l t e x t c o n t e n t " ) , t h i s ) , t h i s . $ d e s t r o y ( ) , t h i s . $ e l . r e m o v e ( ) ) } , b e f o r e U p d a t e : f u n c t i o n ( ) { t h i s . t e x t = t h i s . g e t T e x t ( ) } , d a t a : f u n c t i o n ( ) { r e t u r n { t e x t : t h i s . g e t T e x t ( ) } } , c o m p u t e d : { i s L o n g T e x t : f u n c t i o n ( ) { r e t u r n t h i s . t e x t & & t h i s . t e x t . t r i m ( ) . l e n g t h > 2 0 } } , m e t h o d s : { g e t T e x t : f u n c t i o n ( ) { r e t u r n t h i s . $ s l o t s . d e f a u l t ? t h i s . $ s l o t s . d e f a u l t [ 0 ] . t e x t . t r i m ( ) : " " } } } } , 3 9 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 5 8 ) } , 4 9 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n ( 3 9 ) , n ( 6 ) , n ( 1 7 ) , n ( 1 8 ) , n ( 1 9 ) ; v a r r = n ( 3 8 ) , i = ( n ( 1 5 ) , f u n c t i o n ( e , t ) { f o r ( v a r n = e . $ p a r e n t ; n ; ) { i f ( n . $ o p t i o n s . n a m e = = = t ) r e t u r n n ; n = n . $ p a r e n t } } ) ; t . a = { m i x i n s : [ r . a ] , p r o p s : { i c o n : { t y p e : S t r i n g , d e f a u l t : " " } , t i t l e : { t y p e : S t r i n g , d e f a u l t : " " } , c l o s e A f t e r C l i c k : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , a r i a L a b e l : { t y p e : S t r i n g , d e f a u l t : " " } } , c o m p u t e d : { i s I c o n U r l : f u n c t i o n ( ) { t r y { r e t u r n n e w U R L ( t h i s . i c o n ) } c a t c h ( e ) { r e t u r n ! 1 } } } , m e t h o d s : { o n C l i c k : f u n c t i o n ( e ) { i f ( t h i s . $ e m i t ( " c l i c k " , e ) , t h i s . c l o s e A f t e r C l i c k ) { v a r t = i ( t h i s , " A c t i o n s " ) ; t & & t . c l o s e M e n u & & t . c l o s e M e n u ( ) } } } } } , 5 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 5 ) } , 6 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 4 4 ) } , 9 1 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = n ( 0 ) , i = n . n ( r ) , s = n ( 1 ) , o = n . n ( s ) ( ) ( i . a ) ; o . p u s h ( [ e . i , " l i . a c t i v e [ d a t a - v - 4 2 b 2 8 4 3 6 ] { 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 - h o v e r ) } . a c t i o n - - d i s a b l e d [ d a t a - v - 4 2 b 2 8 4 3 6 ] { 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 - 4 2 b 2 8 4 3 6 ] : h o v e r , . a c t i o n - - d i s a b l e d [ d a t a - v - 4 2 b 2 8 4 3 6 ] : 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 - 4 2 b 2 8 4 3 6 ] { o p a c i t y : 1 ! i m p o r t a n t } . a c t i o n - b u t t o n [ d a t a - v - 4 2 b 2 8 4 3 6 ] { 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 ; f o n t - s i z e : v a r ( - - d e f a u l t - f o n t - s i z e ) ; l i n e - h e i g h t : 4 4 p x } . a c t i o n - b u t t o n [ d a t a - v - 4 2 b 2 8 4 3 6 ] : h o v e r , . a c t i o n - b u t t o n [ d a t a - v - 4 2 b 2 8 4 3 6 ] : f o c u s { o p a c i t y : 1 } . a c t i o n - b u t t o n > s p a n [ d a t a - v - 4 2 b 2 8 4 3 6 ] { c u r s o r : p o i n t e r ; w h i t e - s p a c e : n o w r a p } . a c t i o n - b u t t o n _ _ i c o n [ d a t a - v - 4 2 b 2 8 4 3 6 ] { 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 ; b a c k g r o u n d - r e p e a t : n o - r e p e a t } . a c t i o n - b u t t o n . m a t e r i a l - d e s i g n - i c o n [ d a t a - v - 4 2 b 2 8 4 3 6 ] { 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 } . a c t i o n - b u t t o n . m a t e r i a l - d e s i g n - i c o n . m a t e r i a l - d e s i g n - i c o n _ _ s v g [ d a t a - v - 4 2 b 2 8 4 3 6 ] { v e r t i c a l - a l i g n : m i d d l e } . a c t i o n - b u t t o n p [ d a t a - v - 4 2 b 2 8 4 3 6 ] { w i d t h : 2 2 0 p x ; p a d d i n g : 7 p x 0 ; 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 ; o v e r f l o w : h i d d e n ; t e x t - o v e r f l o w : e l l i p s i s } . a c t i o n - b u t t o n _ _ l o n g t e x t [ d a t a - v - 4 2 b 2 8 4 3 6 ] { c u r s o r : p o i n t e r ; w h i t e - s p a c e : p r e - w r a p } . a c t i o n - b u t t o n _ _ t i t l e [ d a t a - v - 4 2 b 2 8 4 3 6 ] { f o n t - w e i g h t : b o l d ; t e x t - o v e r f l o w : e l l i p s i s ; o v e r f l o w : h i d d e n ; w h i t e - s p a c e : n o w r a p ; m a x - w i d t h : 1 0 0 % ; d i s p l a y : i n l i n e - b l o c k } \ n " , " " , { v e r s i o n : 3 , s o u r c e s : [ " w e b p a c k : / / . / . . / . . / a s s e t s / a c t i o n . s c s s " , " w e b p a c k : / / . / . . / . . / a s s e t s / v a r i a b l e s . s c s s " ] , n a m e s : [ ] , m a p p i n g s : " A A w B C , 2 B A E E , 8 C A A + C , C A C / C , m C A M D , m B A A o B , C A C p B , U C Q m B , C D V p B , k F A I E , c A A e , C A C f , U C K k B , C D V p B , q C A Q E , o B A A q B , C A C r B , g C A O D , Y A A a , C A C b , s B A A u B , C A E v B , U A A W , C A C X , W A A Y , C A C Z , Q A A S , C A C T , S A A U , C A C V , k B C t B 8 C , C D w B 9 C , c A A e , C A C f , k B A A m B , C A E n B , U C j B i B , C D k B j B , 4 B A A 6 B , C A C 7 B , Q A A S , C A C T , e A A g B , C A C h B , 4 B A A 6 B , C A C 7 B , e A A g B , C A E h B , k B A A m B , C A C n B , k C A A m C , C A C n C , g B C 5 C m B , C D s B p B , 4 E A 0 B E , S C 7 B a , C D G f , q C A 8 B E , c A A e , C A C f , k B A A m B , C A C n B , s C A G A , U C z D k B , C D 0 D l B , W C 1 D k B , C D 2 D l B , S C x C a , C D y C b , + B A A w C , C A C x C , o B C z D a , C D 0 D b , 2 B A A 4 B , C A x C 9 B , s D A 4 C E , U C l E k B , C D m E l B , W C n E k B , C D o E l B , S C j D a , C D G f , i F A i D G , q B A A s B , C A j D z B , k C A u D E , W A A Y , C A C Z , a A A 8 B , C A E 9 B , c A A e , C A C f , e A A g B , C A E h B , i B A A k B , C A G l B , e A A g B , C A C h B , s B A A u B , C A C v B , 0 C A G A , c A A e , C A E f , o B A A q B , C A C r B , u C A G A , g B A A i B , C A C j B , s B A A u B , C A C v B , e A A g B , C A C h B , k B A A m B , C A C n B , c A A e , C A C f , o B A A q B " , s o u r c e s C o n t e n t : [ " / * * \ n * @ c o p y r i g h t C o p y r i g h t ( c ) 2 0 1 9 J o h n M o l a k v o æ < s k j n l d s v @ p r o t o n m a i l . c o m > \ n * \ n * @ a u t h o r J o h n M o l a k v o æ < s k j n l d s v @ p r o t o n m a i l . c o m > \ n * @ a u t h o r M a r c o A m b r o s i n i < m a r c o a m b r o s i n i @ p m . m e > \ n * \ n * @ l i c e n s e G N U A G P L v e r s i o n 3 o r a n y l a t e r v e r s i o n \ n * \ n * T h i s p r o g r a m i s f r e e s o f t w a r e : y o u c a n r e d i s t r i b u t e i t a n d / o r m o d i f y \ n * i t u n d e r t h e t e r m s o f t h e G N U A f f e r o G e n e r a l P u b l i c L i c e n s e a s \ n * p u b l i s h e d b y t h e F r e e S o f t w a r e F o u n d a t i o n , e i t h e r v e r s i o n 3 o f t h e \ n * L i c e n s e , o r ( a t y o u r
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2021-03-09 23:04:31 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "e08a231" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , t . default = r . VTooltip } , function ( e , t , n ) { "use strict" ; var r = n ( 0 ) , i = n . n ( r ) , s = n ( 1 ) , o = n . n ( s ) ( ) ( i . a ) ; o . push ( [ e . i , ".vue-tooltip[data-v-e08a231]{position:absolute;z-index:100000;right:auto;left:auto;display:block;margin:0;margin-top:-3px;padding:10px 0;text-align:left;text-align:start;opacity:0;line-height:1.6;line-break:auto;filter:drop-shadow(0 1px 10px var(--color-box-shadow))}.vue-tooltip[data-v-e08a231][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-e08a231][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-e08a231][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-e08a231][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-e08a231][aria-hidden='true']{visibility:hidden;transition:opacity .15s, visibility .15s;opacity:0}.vue-tooltip[data-v-e08a231][aria-hidden='false']{visibility:visible;transition:opacity .15s;opacity:1}.vue-tooltip[data-v-e08a231] .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-e08a231] .tooltip-arrow{position:absolute;z-index:1;width:0;height:0;margin:0;border-style:solid;border-color:var(--color-main-background)}\n" , "" , { version : 3 , sources : [ "webpack://./index.scss" ] , names : [ ] , mappings : "AAeA,6BACC,iBAAkB,CAClB,cAAe,CACf,UAAW,CACX,SAAU,CACV,aAAc,CACd,QAAS,CAET,eAAgB,CAChB,cAAe,CACf,eAAgB,CAChB,gBAAiB,CACjB,SAAU,CACV,eAAgB,CAEhB,eAAgB,CAChB,sDAAuD,CAhBxD,gEAqBG,QAAS,CACT,YAAa,CACb,eAAgB,CAChB,6BA1Be,CA2Bf,8BAA+B,CAC/B,+BAAgC,CAChC,6BAA8B,CA3BjC,mEAkCG,KAAM,CACN,YAAa,CACb,eAAgB,CAChB,6BAvCe,CAwCf,4BAA6B,CAC7B,8BAA+B,CAC/B,6BAA8B,CAxCjC,kEA+CG,UAAW,CACX,cAAe,CACf,aAAc,CACd,6BAAsD,CACtD,4BAA6B,CAC7B,+BAAgC,CAChC,6BAA8B,CArDjC,iEA4DG,SAAU,CACV,cAAe,CACf,aAAc,CACd,6BAjEe,CAkEf,4BAA6B,CAC7B,8BAA+B,CAC/B,+BAAgC,CAlEnC,iDAwEE,iBAAkB,CAClB,wCAAyC,CACzC,SAAU,CA1EZ,kDA6EE,kBAAmB,CACnB,uBAAwB,CACxB,SAAU,CA/EZ,4CAoFE,eAAgB,CAChB,eAAgB,CAChB,iBAAkB,CAClB,4BAA6B,CAC7B,kCAAmC,CACnC,6CAA8C,CAzFhD,4CA8FE,iBAAkB,CAClB,SAAU,CACV,OAAQ,CACR,QAAS,CACT,QAAS,CACT,kBAAmB,CACnB,yCAA0C" , sourcesContent : [ "$scope_version:\"e08a231\" ; @ import 'variables' ; \ n /**\n* @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>\n* @copyright Copyright (c) 2016, Robin Appelman <robin@icewind.nl>\n* @copyright Copyright (c) 2016, Jan-Christoph Borchardt <hey@jancborchardt.net>\n* @copyright Copyright (c) 2016, Erik Pellikka <erik@pellikka.org>\n* @copyright Copyright (c) 2015, Vincent Petry <pvince81@owncloud.com>\n*\n* Bootstrap v3.3.5 (http://getbootstrap.com)\n* Copyright 2011-2015 Twitter, Inc.\n* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n*/ \ n \ n$arrow - width : 10 px ; \ n \ n . vue - tooltip [ data - v - # { $scope _version } ] { \ n \ tposition : absolute ; \ n \ tz - index : 100000 ; \ n \ tright : auto ; \ n \ tleft : auto ; \ n \ tdisplay : block ; \ n \ tmargin : 0 ; \ n \ t /* default to top */ \ n \ tmargin - top : - 3 px ; \ n \ tpadding : 10 px 0 ; \ n \ ttext - align : left ; \ n \ ttext - align : start ; \ n \ topacity : 0 ; \ n \ tline - height : 1.6 ; \ n \ n \ tline - break : auto ; \ n \ tfilter : drop - shadow ( 0 1 px 10 px var ( -- color - box - shadow ) ) ; \ n \ n \ t // TOP\n\t&[x-placement^='top'] {\n\t\t.tooltip-arrow {\n\t\t\tbottom: 0;\n\t\t\tmargin-top: 0;\n\t\t\tmargin-bottom: 0;\n\t\t\tborder-width: $arrow-width $
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 Marco Ambrosini < marcoambrosini @ pm . me >
*
* @ author Marco Ambrosini < marcoambrosini @ pm . me >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2021-04-08 15:51:24 +03:00
* / t . d e f a u l t = r . a } , , , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n ( 3 0 ) , n ( 1 5 ) , n ( 9 8 ) ; v a r r = n ( 5 ) , i = n . n ( r ) ; t . a = f u n c t i o n ( e , t , n ) { i f ( v o i d 0 ! = = e ) f o r ( v a r r = e . l e n g t h - 1 ; r > = 0 ; r - - ) { v a r s = e [ r ] , o = ! s . c o m p o n e n t O p t i o n s & & s . t a g & & - 1 = = = t . i n d e x O f ( s . t a g ) , a = ! ! s . c o m p o n e n t O p t i o n s & & " s t r i n g " = = t y p e o f s . c o m p o n e n t O p t i o n s . t a g , l = a & & - 1 = = = t . i n d e x O f ( s . c o m p o n e n t O p t i o n s . t a g ) ; ( o | | ! a | | l ) & & ( ( o | | l ) & & i . a . u t i l . w a r n ( " " . c o n c a t ( o ? s . t a g : s . c o m p o n e n t O p t i o n s . t a g , " i s n o t a l l o w e d i n s i d e t h e " ) . c o n c a t ( n . $ o p t i o n s . n a m e , " c o m p o n e n t " ) , n ) , e . s p l i c e ( r , 1 ) ) } } } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 0 8 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 6 9 ) } , , , , , , , , , , , , , , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = n ( 0 ) , i = n . n ( r ) , s = n ( 1 ) , o = n . n ( s ) , a = n ( 4 ) , l = n . n ( a ) , u = n ( 8 ) , c = n ( 9 ) , m = n ( 1 0 ) , d = n ( 1 1 ) , h = o ( ) ( i . a ) , f = l ( ) ( u . a ) , p = l ( ) ( c . a ) , g = l ( ) ( m . a ) , A = l ( ) ( d . a ) ; h . p u s h ( [ e . i , ' @ f o n t - f a c e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; s r c : u r l ( ' + f + " ) ; s r c : u r l ( " + f + ' ) 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 ( ' + p + ' ) f o r m a t ( " w o f f " ) , u r l ( ' + g + ' ) f o r m a t ( " t r u e t y p e " ) , u r l ( ' + A + ' ) f o r m a t ( " s v g " ) } . i c o n [ d a t a - v - 1 b 3 3 c 3 3 b ] { f o n t - s t y l e : n o r m a l ; f o n t - w e i g h t : 4 0 0 } . i c o n . a r r o w - l e f t - d o u b l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . a r r o w - l e f t [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t - d o u b l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . a r r o w - r i g h t [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . b r e a d c r u m b [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . c h e c k m a r k [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . c l o s e [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . c o n f i r m [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . i n f o [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . m e n u [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . m o r e [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . p a u s e [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . p l a y [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; 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 - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . u s e r - s t a t u s - a w a y [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . u s e r - s t a t u s - d n d [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . u s e r - s t a t u s - i n v i s i b l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . i c o n . u s e r - s t a t u s - o n l i n e [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; c o n t e n t : " " } . a c t i o n - i t e m [ d a t a - v - 1 b 3 3 c 3 3 b ] { p o s i t i o n : r e l a t i v e ; d i s p l a y : i n l i n e - b l o c k } . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : h o v e r , . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : f o c u s , . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : a c t i v e , . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : h o v e r , . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : f o c u s , . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : a c t i v e { o p a c i t y : 1 ; b a c k g r o u n d - c o l o r : r g b a ( 1 2 7 , 1 2 7 , 1 2 7 , 0 . 2 5 ) } . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : d i s a b l e d , . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : d i s a b l e d { o p a c i t y : . 3 ! i m p o r t a n t } . a c t i o n - i t e m . a c t i o n - i t e m - - o p e n . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] { o p a c i t y : 1 ; b a c k g r o u n d - c o l o r : r g b a ( 1 2 7 , 1 2 7 , 1 2 7 , 0 . 2 5 ) } . a c t i o n - i t e m - - s i n g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] , . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] { b o x - s i z i n g : b o r d e r - b o x ; w i d t h : a u t o ; m i n - w i d t h : 4 4 p x ; h e i g h t : 4 4 p x ; m a r g i n : 0 ; p a d d i n g : 1 4 p x ; c u r s o r : p o i n t e r ; b o r d e r : n o n e ; b o r d e r - r a d i u s : 2 2 p x ; b a c k g r o u n d - c o l o r : t r a n s p a r e n t } . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] { d i s p l a y : f l e x ; a l i g n - i t e m s : c e n t e r ; j u s t i f y - c o n t e n t : c e n t e r ; o p a c i t y : . 7 ; f o n t - w e i g h t : b o l d ; l i n e - h e i g h t : 1 6 p x } . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] s p a n { w i d t h : 1 6 p x ; h e i g h t : 1 6 p x ; l i n e - h e i g h t : 1 6 p x } . a c t i o n - i t e m _ _ m e n u t o g g l e [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { c o n t e n t : \ ' \ ' } . a c t i o n - i t e m _ _ m e n u t o g g l e - - d e f a u l t - i c o n [ d a t a - v - 1 b 3 3 c 3 3 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - e 0 8 a 2 3 1 " ; f o n t - s t y l e : n o r m a l ; f o n t - w e i g h t : 4 0 0 ; c o n t e n t : " " } . a c t i o n - i t e m _ _ m e n u t o g g l e - - d e f a u l t - i c o n [ d a t a - v - 1 b 3 3 c 3 3 b ] : : b e f o r e { f o n t - s i z e : 1 6 p x } . a c t i o n - i t e m _ _ m e n u t o g g l e - - w i t h - t i t l e [ d a t a - v - 1 b 3 3 c 3 3 b ] { p o s i t i o n : r e l a t i v e ; p a d d i n g - l e f t : 4 4 p
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2021-04-08 15:51:24 +03:00
* /t.default=r.a},,,,,,,,,,,,function(e,t,n){"use strict";n(30),n(51),n(31),n(37),n(6),n(46),n(17),n(18),n(19),n(52),n(40),n(15);var r=n(22),i=n(33),s=n(50),o=n(12),a=n(47);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var u=["ActionButton","ActionCheckbox","ActionInput","ActionLink","ActionRadio","ActionRouter","ActionSeparator","ActionText","ActionTextEditable"],c={name:"Actions",directives:{tooltip:r.default},components:{Popover:a.default,VNodes:{functional:!0,render:function(e,t){return t.props.vnodes}}},props:{open:{type:Boolean,default:!1},forceMenu:{type:Boolean,default:!1},menuTitle:{type:String,default:null},primary:{type:Boolean,default:!1},defaultIcon:{type:String,default:"action-item__menutoggle--default-icon"},ariaLabel:{type:String,default:Object(o.b)("Actions")},placement:{type:String,default:"bottom"},boundariesElement:{type:Element,default:function(){return document.querySelector("body")}},container:{type:String,default:"body"},disabled:{type:Boolean,default:!1}},data:function(){return{actions:[],opened:this.open,focusIndex:0,randomId:"menu-"+Object(i.a)(),children:this.$children}},computed:{hasMultipleActions:function(){return this.actions.length>1},isValidSingleAction:function(){return 1===this.actions.length&&null!==this.firstActionElement},firstActionVNode:function(){return this.actions[0]},firstAction:function(){return this.children[0]?this.children[0]:{}},firstActionBinding:function(){if(this.firstActionVNode&&this.firstActionVNode.componentOptions){var e=this.firstActionVNode.componentOptions.tag;if("ActionLink"===e)return{is:"a",href:this.firstAction.href,target:this.firstAction.target,"aria-label":this.firstAction.ariaLabel};if("ActionRouter"===e)return{is:"router-link",to:this.firstAction.to,exact:this.firstAction.exact,"aria-label":this.firstAction.ariaLabel};if("ActionButton"===e)return{is:"button","aria-label":this.firstAction.ariaLabel}}return null},firstActionEvent:function(){var e,t,n;return null===(e=this.firstActionVNode)||void 0===e||null===(t=e.componentOptions)||void 0===t||null===(n=t.listeners)||void 0===n?void 0:n.click},firstActionEventBinding:function(){return this.firstActionEvent?"click":null},firstActionIconSlot:function(){var e,t;return null===(e=this.firstAction)||void 0===e||null===(t=e.$slots)||void 0===t?void 0:t.icon},firstActionClass:function(){var e=this.firstActionVNode&&this.firstActionVNode.data.staticClass,t=this.firstActionVNode&&this.firstActionVNode.data.class;return"".concat(e," ").concat(t)},iconSlotIsPopulated:function(){return!!this.$slots.icon}},watch:{open:function(e){e!==this.opened&&(this.opened=e)}},beforeMount:function(){this.initActions(),Object(s.a)(this.$slots.default,u,this)},beforeUpdate:function(){this.initActions(),Object(s.a)(this.$slots.default,u,this)},methods:{openMenu:function(e){this.opened||(this.opened=!0,this.$emit("update:open",!0),this.$emit("open"),this.onOpen(e))},closeMenu:function(e){this.opened&&(this.opened=!1,this.$emit("update:open",!1),this.$emit("close"),this.opened=!1,this.focusIndex=0,this.$refs.menuButton.focus())},onOpen:function(e){var t=this;this.$nextTick((function(){t.focusFirstAction(e)}))},onMouseFocusAction:function(e){if(document.activeElement!==e.target){var t=e.target.closest("li");if(t){var n=t.querySelector(".focusable");if(n){var r=function(e){return function(e){if(Array.isArray(e))return l(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return l(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/ ^ ( ? : Ui | I ) nt ( ? : 8 | 16 | 32 ) ( ? : Clamped ) ? Array $ / . test ( n ) ? l ( e , t ) : void 0 } } ( e ) || function ( ) { throw new TypeError ( "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ) } ( ) } ( this . $refs . menu . querySelectorAll ( ".focusable" ) ) . indexOf ( n ) ; r > - 1 && ( this . focusIndex = r , this . focusAction ( ) )
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2021-04-08 15:51:24 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "e08a231" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , t . default = r . VTooltip } , function ( e , t , n ) { "use strict" ; var r = n ( 0 ) , i = n . n ( r ) , s = n ( 1 ) , o = n . n ( s ) ( ) ( i . a ) ; o . push ( [ e . i , ".vue-tooltip[data-v-e08a231]{position:absolute;z-index:100000;right:auto;left:auto;display:block;margin:0;margin-top:-3px;padding:10px 0;text-align:left;text-align:start;opacity:0;line-height:1.6;line-break:auto;filter:drop-shadow(0 1px 10px var(--color-box-shadow))}.vue-tooltip[data-v-e08a231][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-e08a231][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-e08a231][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-e08a231][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-e08a231][aria-hidden='true']{visibility:hidden;transition:opacity .15s, visibility .15s;opacity:0}.vue-tooltip[data-v-e08a231][aria-hidden='false']{visibility:visible;transition:opacity .15s;opacity:1}.vue-tooltip[data-v-e08a231] .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-e08a231] .tooltip-arrow{position:absolute;z-index:1;width:0;height:0;margin:0;border-style:solid;border-color:var(--color-main-background)}\n" , "" , { version : 3 , sources : [ "webpack://./index.scss" ] , names : [ ] , mappings : "AAeA,6BACC,iBAAkB,CAClB,cAAe,CACf,UAAW,CACX,SAAU,CACV,aAAc,CACd,QAAS,CAET,eAAgB,CAChB,cAAe,CACf,eAAgB,CAChB,gBAAiB,CACjB,SAAU,CACV,eAAgB,CAEhB,eAAgB,CAChB,sDAAuD,CAhBxD,gEAqBG,QAAS,CACT,YAAa,CACb,eAAgB,CAChB,6BA1Be,CA2Bf,8BAA+B,CAC/B,+BAAgC,CAChC,6BAA8B,CA3BjC,mEAkCG,KAAM,CACN,YAAa,CACb,eAAgB,CAChB,6BAvCe,CAwCf,4BAA6B,CAC7B,8BAA+B,CAC/B,6BAA8B,CAxCjC,kEA+CG,UAAW,CACX,cAAe,CACf,aAAc,CACd,6BAAsD,CACtD,4BAA6B,CAC7B,+BAAgC,CAChC,6BAA8B,CArDjC,iEA4DG,SAAU,CACV,cAAe,CACf,aAAc,CACd,6BAjEe,CAkEf,4BAA6B,CAC7B,8BAA+B,CAC/B,+BAAgC,CAlEnC,iDAwEE,iBAAkB,CAClB,wCAAyC,CACzC,SAAU,CA1EZ,kDA6EE,kBAAmB,CACnB,uBAAwB,CACxB,SAAU,CA/EZ,4CAoFE,eAAgB,CAChB,eAAgB,CAChB,iBAAkB,CAClB,4BAA6B,CAC7B,kCAAmC,CACnC,6CAA8C,CAzFhD,4CA8FE,iBAAkB,CAClB,SAAU,CACV,OAAQ,CACR,QAAS,CACT,QAAS,CACT,kBAAmB,CACnB,yCAA0C" , sourcesContent : [ "$scope_version:\"e08a231\" ; @ import 'variables' ; \ n /**\n* @copyright Copyright (c) 2016, John Molakvoæ <skjnldsv@protonmail.com>\n* @copyright Copyright (c) 2016, Robin Appelman <robin@icewind.nl>\n* @copyright Copyright (c) 2016, Jan-Christoph Borchardt <hey@jancborchardt.net>\n* @copyright Copyright (c) 2016, Erik Pellikka <erik@pellikka.org>\n* @copyright Copyright (c) 2015, Vincent Petry <pvince81@owncloud.com>\n*\n* Bootstrap v3.3.5 (http://getbootstrap.com)\n* Copyright 2011-2015 Twitter, Inc.\n* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n*/ \ n \ n$arrow - width : 10 px ; \ n \ n . vue - tooltip [ data - v - # { $scope _version } ] { \ n \ tposition : absolute ; \ n \ tz - index : 100000 ; \ n \ tright : auto ; \ n \ tleft : auto ; \ n \ tdisplay : block ; \ n \ tmargin : 0 ; \ n \ t /* default to top */ \ n \ tmargin - top : - 3 px ; \ n \ tpadding : 10 px 0 ; \ n \ ttext - align : left ; \ n \ ttext - align : start ; \ n \ topacity : 0 ; \ n \ tline - height : 1.6 ; \ n \ n \ tline - break : auto ; \ n \ tfilter : drop - shadow ( 0 1 px 10 px var ( -- color - box - shadow ) ) ; \ n \ n \ t // TOP\n\t&[x-placement^='top'] {\n\t\t.tooltip-arrow {\n\t\t\tbottom: 0;\n\t\t\tmargin-top: 0;\n\t\t\tmargin-bottom: 0;\n\t\t\tborder-width: $arrow-width $
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2020 Georg Ehrke < georg - nextcloud @ ehrke . email >
*
* @ author Georg Ehrke < georg - nextcloud @ ehrke . email >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* / v a r h = { d a t a : f u n c t i o n ( ) { r e t u r n { h a s S t a t u s : ! 1 , u s e r S t a t u s : { s t a t u s : n u l l , m e s s a g e : n u l l , i c o n : n u l l } } } , m e t h o d s : { f e t c h U s e r S t a t u s : f u n c t i o n ( e ) { v a r t , n = t h i s ; r e t u r n ( t = r e g e n e r a t o r R u n t i m e . m a r k ( ( f u n c t i o n t ( ) { v a r r , i , s , o , a , d , h , f , p ; r e t u r n r e g e n e r a t o r R u n t i m e . w r a p ( ( f u n c t i o n ( t ) { f o r ( ; ; ) s w i t c h ( t . p r e v = t . n e x t ) { c a s e 0 : i f ( r = O b j e c t ( c . g e t C a p a b i l i t i e s ) ( ) , O b j e c t . p r o t o t y p e . h a s O w n P r o p e r t y . c a l l ( r , " u s e r _ s t a t u s " ) & & r . u s e r _ s t a t u s . e n a b l e d ) { t . n e x t = 3 ; b r e a k } r e t u r n t . a b r u p t ( " r e t u r n " ) ; c a s e 3 : i f ( O b j e c t ( m . g e t C u r r e n t U s e r ) ( ) ) { t . n e x t = 5 ; b r e a k } r e t u r n t . a b r u p t ( " r e t u r n " ) ; c a s e 5 : r e t u r n t . p r e v = 5 , t . n e x t = 8 , l . a . g e t ( O b j e c t ( u . g e n e r a t e O c s U r l ) ( " a p p s / u s e r _ s t a t u s / a p i / v 1 " , 2 ) + " s t a t u s e s / " . c o n c a t ( e n c o d e U R I C o m p o n e n t ( e ) ) ) ; c a s e 8 : i = t . s e n t , s = i . d a t a , o = s . o c s . d a t a , a = o . s t a t u s , d = o . m e s s a g e , h = o . i c o n , n . u s e r S t a t u s . s t a t u s = a , n . u s e r S t a t u s . m e s s a g e = d | | " " , n . u s e r S t a t u s . i c o n = h | | " " , n . h a s S t a t u s = ! 0 , t . n e x t = 2 2 ; b r e a k ; c a s e 1 7 : i f ( t . p r e v = 1 7 , t . t 0 = t . c a t c h ( 5 ) , 4 0 4 ! = = t . t 0 . r e s p o n s e . s t a t u s | | 0 ! = = ( n u l l = = = ( f = t . t 0 . r e s p o n s e . d a t a . o c s ) | | v o i d 0 = = = f | | n u l l = = = ( p = f . d a t a ) | | v o i d 0 = = = p ? v o i d 0 : p . l e n g t h ) ) { t . n e x t = 2 1 ; b r e a k } r e t u r n t . a b r u p t ( " r e t u r n " ) ; c a s e 2 1 : c o n s o l e . e r r o r ( t . t 0 ) ; c a s e 2 2 : c a s e " e n d " : r e t u r n t . s t o p ( ) } } ) , t , n u l l , [ [ 5 , 1 7 ] ] ) } ) ) , f u n c t i o n ( ) { v a r e = t h i s , n = a r g u m e n t s ; r e t u r n n e w P r o m i s e ( ( f u n c t i o n ( r , i ) { v a r s = t . a p p l y ( e , n ) ; f u n c t i o n o ( e ) { d ( s , r , i , o , a , " n e x t " , e ) } f u n c t i o n a ( e ) { d ( s , r , i , o , a , " t h r o w " , e ) } o ( v o i d 0 ) } ) ) } ) ( ) } } } ;
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2021-04-08 15:51:24 +03:00
* / } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 6 8 ) } , , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 1 4 8 ) } , , , , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 6 9 ) } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = n ( 0 ) , i = n . n ( r ) , s = n ( 1 ) , o = n . n ( s ) ( ) ( i . a ) ; o . p u s h ( [ e . i , " \ n b u t t o n . m e n u i t e m [ d a t a - v - a 7 c e d 2 f 4 ] { \ 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 - a 7 c e d 2 f 4 ] { \ 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 - a 7 c e d 2 f 4 ] : 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 - a 7 c e d 2 f 4 ] { \ 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 - a 7 c e d 2 f 4 ] { \ n \ t b o x - s h a d o w : i n s e t 2 p x 0 v a r ( - - c o l o r - p r i m a r y ) ; \ n \ t b o r d e r - r a d i u s : 0 ; \ n } \ n " , " " , { v e r s i o n : 3 , s o u r c e s : [ " w e b p a c k : / / . / P o p o v e r M e n u I t e m . v u e " ] , n a m e s : [ ] , m a p p i n g s : " ; A A 4 H A ; C A C A , g B A A A ; A A C A ; A A E A ; C A C A , e A A A ; A A C A ; A A E A ; C A C A , u B A A A ; C A C A , e A A A ; A A C A ; A A E A ; C A C A , e A A A ; A A C A ; A A E A ; C A C A , 4 C A A A ; C A C A , g B A A A ; A A C A " , s o u r c e s C o n t e n t : [ ' \ x 3 c ! - - \ n - @ c o p y r i g h t C o p y r i g h t ( c ) 2 0 1 8 J o h n M o l a k v o æ < s k j n l d s v @ p r o t o n m a i l . c o m > \ n - \ n - @ a u t h o r J o h n M o l a k v o æ < s k j n l d s v @ p r o t o n m a i l . c o m > \ n - \ n - @ l i c e n s e G N U A G P L v e r s i o n 3 o r a n y l a t e r v e r s i o n \ n - \ n - T h i s p r o g r a m i s f r e e s o f t w a r e : y o u c a n r e d i s t r i b u t e i t a n d / o r m o d i f y \ n - i t u n d e r t h e t e r m s o f t h e G N U A f f e r o G e n e r a l P u b l i c L i c e n s e a s \ n - p u b l i s h e d b y t h e F r e e S o f t w a r e F o u n d a t i o n , e i t h e r v e r s i o n 3 o f t h e \ n - L i c e n s e , o r ( a t y o u r o p t i o n ) a n y l a t e r v e r s i o n . \ n - \ n - T h i s p r o g r a m i s d i s t r i b u t e d i n t h e h o p e t h a t i t w i l l b e u s e f u l , \ n - b u t W I T H O U T A N Y W A R R A N T Y ; w i t h o u t e v e n t h e i m p l i e d w a r r a n t y o f \ n - M E R C H A N T A B I L I T Y o r F I T N E S S F O R A P A R T I C U L A R P U R P O S E . S e e t h e \ n - G N U A f f e r o G e n e r a l P u b l i c L i c e n s e f o r m o r e d e t a i l s . \ n - \ n - Y o u s h o u l d h a v e r e c e i v e d a c o p y o f t h e G N U A f f e r o G e n e r a l P u b l i c L i c e n s e \ n - a l o n g w i t h t h i s p r o g r a m . I f n o t , s e e < h t t p : / / w w w . g n u . o r g / l i c e n s e s / > . \ n - \ n - - \ x 3 e \ n \ n < t e m p l a t e > \ n \ t < l i c l a s s = " p o p o v e r _ _ m e n u i t e m " > \ n \ t \ t \ x 3 c ! - - I f i t e m . h r e f i s s e t , a l i n k w i l l b e d i r e c t l y u s e d - - \ x 3 e \ n \ t \ t < a v - i f = " i t e m . h r e f " \ n \ t \ t \ t : h r e f = " ( i t e m . h r e f ) ? i t e m . h r e f : \ ' # \ ' " \ n \ t \ t \ t : t a r g e t = " ( i t e m . t a r g e t ) ? i t e m . t a r g e t : \ ' \ ' " \ n \ t \ t \ t : d o w n l o a d = " i t e m . d o w n l o a d " \ n \ t \ t \ t c l a s s = " f o c u s a b l e " \ n \ t \ t \ t r e l = " n o r e f e r r e r n o o p e n e r " \ n \ t \ t \ t @ c l i c k = " a c t i o n " > \ n \ t \ t \ t < s p a n v - i f = " ! i c o n I s U r l " : c l a s s = " i t e m . i c o n " / > \ n \ t \ t \ t < i m g v - e l s e : s r c = " i t e m . i c o n " > \ n \ t \ t \ t < p v - i f = " i t e m . t e x t & & i t e m . l o n g t e x t " > \ n \ t \ t \ t \ t < s t r o n g c l a s s = " m e n u i t e m - t e x t " > \ n \ t \ t \ t \ t \ t { { i t e m . t e x t } } \ n \ t \ t \ t \ t < / s t r o n g > < b r > \ n \ t \ t \ t \ t < s p a n c l a s s = " m e n u i t e m - t e x t - d e t a i l " > \ n \ t \ t \ t \ t \ t { { i t e m . l o n g t e x t } } \ n \ t \ t \ t \ t < / s p a n > \ n \ t \ t \ t < / p > \ n \ t \ t \ t < s p a n v - e l s e - i f = " i t e m . t e x t " > \ n \ t \ t \ t \ t { { i t e m . t e x t } } \ n \ t \ t \ t < / s p a n > \ n \ t \ t \ t < p v - e l s e - i f = " i t e m . l o n g t e x t " > \ n \ t \ t \ t \ t { { i t e m . l o n g t e x t } } \ n \ t \ t \ t < / p > \ n \ t \ t < / a > \ n \ n \ t \ t \ x 3 c ! - - I f i t e m . i n p u t i s s e t i n s t e a d , a n p u t w i l l b e u s e d - - \ x 3 e \ n \ t \ t < s p a n v - e l s e - i f = " i t e m . i n p u t " c l a s s = " m e n u i t e m " : c l a s s = " { a c t i v e : i t e m . a c t i v e } " > \ n \ t \ t \ t \ x 3 c ! - - d o e s n o t s h o w i f i n p u t i s c h e c k b o x - - \ x 3 e \ n \ t \ t \ t < s p a n v - i f = " i t e m . i n p u t ! = = \ ' c h e c k b o x \ ' " : c l a s s = " i t e m . i c o n " / > \ n \ n \ t \ t \ t \ x 3 c ! - - o n l y s h o w s i f i n p u t i s t e x t - - \ x 3 e \ n \ t \ t \ t < f o r m v - i f = " i t e m . i n p u t = = = \ ' t e x t \ ' " \ n \ t \ t \ t \ t : c l a s s = " i t e m . i n p u t " \ n \ t \ t \ t \ t @ s u b m i t . p r e v e n t = " i t e m . a c t i o n " > \ n \ t \ t \ t \ t < i n p u t : t y p e = " i t e m . i n p u t " \ n \ t \ t \ t \ t \ t : v a l u e = " i t e m . v a l u e " \ n \ t \ t \ t \ t \ t : p l a c e h o l d e r = " i t e m . t e x t " \ n \ t \ t \ t \ t \ t r e q u i r e d > \ n \ t \ t \ t \ t < i n p u t t y p e = " s u b m i t " v a l u e = " " c l a s s = " i c o n - c o n f i r m " > \ n \ t \ t \ t < / f o r m > \ n \ n \ t \ t \ t \ x 3 c ! - - c h e c k b o x - - \ x 3 e \ n \ t \ t \ t < t e m p l a t e v - e l s e > \ n \ t \ t \ t \ t < i n p u t : i d = " k e y " \ n \ t \ t \ t \ t \ t v - m o d e l = " i t e m . m o d e l " \ n \ t \ t \ t \ t \ t : t y p e = " i t e m . i n p u t " \ n \ t \ t \ t \ t \ t : c l a s s = " i t e m . i n p u t " \ n \ t \ t \ t \ t \ t @ c h a n g e = " i t e m . a c t i o n " > \ n \ t \ t \ t \ t < l a b e l : f o r = " k e y " @ c l i c k . s t o p . p r e v e n t = " i t e m . a c t i o n " > \ n \ t \ t \ t \ t \ t { { i t e m . t e x t } } \ n \ t \ t \ t \ t < / l a b e l > \ n \ t \ t \ t < / t e m p l a t e > \ n \ t \ t < / s p a n > \ n \ n \ t \ t \ x 3 c ! - - I f i t e m . a c t i o n i s s e t i n s t e a d , a b u t t o n w i l l b e u s e d - - \ x 3 e \ n \ t \ t < b u t t o n v - e l s e - i f = " i t e m . a c t i o n " \ n \ t \ t \ t c l a s s = " m e n u i t e m f o c u s a b l e " \ n \ t \ t \ t : c l a s s = " { a c t i v e : i t e m . a c t i v e } " \ n \ t \ t \ t : d i s a b l e d = " i t e m . d i s a b l e d " \ n \ t \ t \ t @ c l i c k . s t o p . p r e v e n t = " i t e m . a c t i o n " > \ n \ t \ t \ t < s p a n : c l a s s = " i t e m . i c o n " / > \ n \ t \ t \ t < p v - i f = " i t e m . t e x t & & i t e m . l o n g t e x t " > \ n \ t \ t \ t \ t < s t r o n g c l a s s = " m e n u i t e m - t e x t " > \ n \ t \ t \ t \ t \ t { { i t e m . t e x t } } \ n \ t \ t \ t \ t < / s t r o n g > < b r > \ n \ t \ t \ t \ t < s p a n c l a s s = " m e n u i t e m - t e x t - d e t a i l " > \ n \ t \ t \ t \ t \ t { { i t e m . l o n g t e x t } } \ n \ t \ t \ t \ t < / s p a n > \ n
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
function r ( e , t , n ) { this . r = e , this . g = t , this . b = n } function i ( e , t , n ) { var i = [ ] ; i . push ( t ) ; for ( var s = function ( e , t ) { var n = new Array ( 3 ) ; return n [ 0 ] = ( t [ 1 ] . r - t [ 0 ] . r ) / e , n [ 1 ] = ( t [ 1 ] . g - t [ 0 ] . g ) / e , n [ 2 ] = ( t [ 1 ] . b - t [ 0 ] . b ) / e , n } ( e , [ t , n ] ) , o = 1 ; o < e ; o ++ ) { var a = parseInt ( t . r + s [ 0 ] * o , 10 ) , l = parseInt ( t . g + s [ 1 ] * o , 10 ) , u = parseInt ( t . b + s [ 2 ] * o , 10 ) ; i . push ( new r ( a , l , u ) ) } return i } n ( 30 ) , t . a = function ( e ) { e || ( e = 6 ) ; var t = new r ( 182 , 70 , 157 ) , n = new r ( 221 , 203 , 85 ) , s = new r ( 0 , 130 , 201 ) , o = i ( e , t , n ) , a = i ( e , n , s ) , l = i ( e , s , t ) ; return o . concat ( a ) . concat ( l ) } } , function ( e , t , n ) { "use strict" ; var r = n ( 0 ) , i = n . n ( r ) , s = n ( 1 ) , o = n . n ( s ) , a = n ( 4 ) , l = n . n ( a ) , u = n ( 8 ) , c = n ( 9 ) , m = n ( 10 ) , d = n ( 11 ) , h = o ( ) ( i . a ) , f = l ( ) ( u . a ) , p = l ( ) ( c . a ) , g = l ( ) ( m . a ) , A = l ( ) ( d . a ) ; h . push ( [ e . i , '@font-face{font-family:"iconfont-vue-e08a231";src:url(' + f + ");src:url(" + f + ') format("embedded-opentype"),url(' + p + ') format("woff"),url(' + g + ') format("truetype"),url(' + A + ' ) format ( "svg" ) } . icon [ data - v - 1 bfc7bfe ] { font - style : normal ; font - weight : 400 } . icon . arrow - left - double [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . arrow - left [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . arrow - right - double [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . arrow - right [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . breadcrumb [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . checkmark [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . close [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . confirm [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . info [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . menu [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . more [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . pause [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . play [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . triangle - s [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . user - status - away [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . user - status - dnd [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . user - status - invisible [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . icon . user - status - online [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; content : "" } . avatardiv [ data - v - 1 bfc7bfe ] { position : relative ; display : inline - block } . avatardiv -- unknown [ data - v - 1 bfc7bfe ] { position : relative ; background - color : var ( -- color - text - maxcontrast ) } . avatardiv [ data - v - 1 bfc7bfe ] : not ( . avatardiv -- unknown ) { background - color : # fff ! important ; box - shadow : 0 0 5 px rgba ( 0 , 0 , 0 , 0.05 ) inset } body . theme -- dark . avatardiv [ data - v - 1 bfc7bfe ] : not ( . avatardiv -- unknown ) { background - color : # 000 ! important } . avatardiv -- with - menu [ data - v - 1 bfc7bfe ] { cursor : pointer } . avatardiv -- with - menu [ data - v - 1 bfc7bfe ] . trigger { position : absolute ; top : 0 ; left : 0 } . avatardiv -- with - menu . icon - more [ data - v - 1 bfc7bfe ] { display : flex ; cursor : pointer ; opacity : 0 ; background : none ; font - size : 18 px ; align - items : center ; justify - content : center } . avatardiv -- with - menu . icon - more [ data - v - 1 bfc7bfe ] : before { font - family : "iconfont-vue-e08a231" ; font - style : normal ; font - weight : 400 ; content : "" } . avatardiv -- with - menu . icon - more [ data - v - 1 bfc7bfe ] : : before { display : block } . avatardiv -- with - menu : focus . icon - more [ data - v - 1 bfc7bfe ] , . avatardiv -- with - menu : hover . icon - more [ data - v - 1 bfc7bfe ] { opacity : 1 } . avatardiv -- with - menu : focus img [ data - v - 1 bfc7bfe ] , . avatardiv -- with - menu : hover img [ data - v - 1 bfc7bfe ] { opacity : 0.3 } . avatardiv -- with - menu . icon - more [ data - v - 1 bfc7bfe ] , . avatardiv -- with - menu img [ data - v - 1 bfc7bfe ] { transition : opacity var ( -- animation - quick ) } . avatardiv > . unknown [ data - v - 1 bfc7bfe ] { position : absolute ; top : 0 ; left : 0 ; display : block ; width : 100 % ; text - align : center ; font - weight : normal ; color : var ( -- color - main - background ) } . avatardiv img [ data - v - 1 bfc7bfe ] { width : 100 % ; height : 100 % ; object - fit : cover } . avatardiv . avatardiv _ _status [ data - v - 1 b
/ * *
* @ copyright Copyright ( c ) 2020 Georg Ehrke < georg - nextcloud @ ehrke . email >
*
* @ author Georg Ehrke < georg - nextcloud @ ehrke . email >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* / n . r ( t ) , n ( 4 0 ) , n ( 6 ) , n ( 1 5 ) , n ( 5 2 ) , n ( 1 7 ) , n ( 3 1 ) , n ( 3 7 ) , n ( 4 6 ) , n ( 1 8 ) , n ( 1 9 ) , t . d e f a u l t = { p r o p s : { e x c l u d e C l i c k O u t s i d e C l a s s e s : { t y p e : S t r i n g | A r r a y , d e f a u l t : f u n c t i o n ( ) { r e t u r n [ ] } } } , m e t h o d s : { c l i c k O u t s i d e M i d d l e w a r e : f u n c t i o n ( e ) { v a r t = A r r a y . i s A r r a y ( t h i s . e x c l u d e C l i c k O u t s i d e C l a s s e s ) ? t h i s . e x c l u d e C l i c k O u t s i d e C l a s s e s : [ t h i s . e x c l u d e C l i c k O u t s i d e C l a s s e s ] ; r e t u r n 0 = = = t . l e n g t h | | ! t h i s . h a s N o d e O r A n y P a r e n t C l a s s ( e . t a r g e t , t ) } , h a s N o d e O r A n y P a r e n t C l a s s : f u n c t i o n ( e , t ) { v a r n , i = r ( t ) ; t r y { f o r ( i . s ( ) ; ! ( n = i . n ( ) ) . d o n e ; ) { v a r s , o = n . v a l u e ; i f ( n u l l ! = e & & n u l l ! = = ( s = e . c l a s s L i s t ) & & v o i d 0 ! = = s & & s . c o n t a i n s ( o ) ) r e t u r n ! 0 } } c a t c h ( e ) { i . e ( e ) } f i n a l l y { i . f ( ) } r e t u r n ! ! e . p a r e n t E l e m e n t & & t h i s . h a s N o d e O r A n y P a r e n t C l a s s ( e . p a r e n t E l e m e n t , t ) } } } } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . r ( t ) ,
/ * *
* @ 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/>.
*
* /
t . default = { data : function ( ) { return { isFullscreen : this . _isFullscreen ( ) } } , beforeMount : function ( ) { window . addEventListener ( "resize" , this . _onResize ) } , beforeDestroy : function ( ) { window . removeEventListener ( "resize" , this . _onResize ) } , methods : { _onResize : function ( ) { this . isFullscreen = this . _isFullscreen ( ) } , _isFullscreen : function ( ) { return window . outerHeight === screen . height } } } } , function ( e , t , n ) { "use strict" ; n . r ( t ) , n ( 6 ) , n ( 25 ) , n ( 39 ) , n ( 17 ) , n ( 18 ) , n ( 19 ) ; var r = { name : "PopoverMenuItem" , props : { item : { type : Object , required : ! 0 , default : function ( ) { return { key : "nextcloud-link" , href : "https://nextcloud.com" , icon : "icon-links" , text : "Nextcloud" } } , validator : function ( e ) { return ! e . input || - 1 !== [ "text" , "checkbox" ] . indexOf ( e . input ) } } } , computed : { key : function ( ) { return this . item . key ? this . item . key : Math . round ( 16 * Math . random ( ) * 1e6 ) . toString ( 16 ) } , iconIsUrl : function ( ) { try { return new URL ( this . item . icon ) , ! 0 } catch ( e ) { return ! 1 } } } , methods : { action : function ( e ) { this . item . action && this . item . action ( e ) } } } , i = n ( 2 ) , s = n . n ( i ) , o = n ( 53 ) , a = ( s ( ) ( o . a , { insert : "head" , singleton : ! 1 } ) , o . a . locals , n ( 54 ) ) , l = ( s ( ) ( a . a , { insert : "head" , singleton : ! 1 } ) , a . a . locals , n ( 3 ) ) , u = { name : "PopoverMenu" , components : { PopoverMenuItem : Object ( l . a ) ( r , ( function ( ) { var e = this , t = e . $createElement , n = e . _self . _c || t ; return n ( "li" , { staticClass : "popover__menuitem" } , [ e . item . href ? n ( "a" , { staticClass : "focusable" , attrs : { href : e . item . href ? e . item . href : "#" , target : e . item . target ? e . item . target : "" , download : e . item . download , rel : "noreferrer noopener" } , on : { click : e . action } } , [ e . iconIsUrl ? n ( "img" , { attrs : { src : e . item . icon } } ) : n ( "span" , { class : e . item . icon } ) , e . _v ( " " ) , e . item . text && e . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ e . _v ( "\n\t\t\t\t" + e . _s ( e . item . text ) + "\n\t\t\t" ) ] ) , n ( "br" ) , e . _v ( " " ) , n ( "span" , { staticClass : "menuitem-text-detail" } , [ e . _v ( "\n\t\t\t\t" + e . _s ( e . item . longtext ) + "\n\t\t\t" ) ] ) ] ) : e . item . text ? n ( "span" , [ e . _v ( "\n\t\t\t" + e . _s ( e . item . text ) + "\n\t\t" ) ] ) : e . item . longtext ? n ( "p" , [ e . _v ( "\n\t\t\t" + e . _s ( e . item . longtext ) + "\n\t\t" ) ] ) : e . _e ( ) ] ) : e . item . input ? n ( "span" , { staticClass : "menuitem" , class : { active : e . item . active } } , [ "checkbox" !== e . item . input ? n ( "span" , { class : e . item . icon } ) : e . _e ( ) , e . _v ( " " ) , "text" === e . item . input ? n ( "form" , { class : e . item . input , on : { submit : function ( t ) { return t . preventDefault ( ) , e . item . action ( t ) } } } , [ n ( "input" , { attrs : { type : e . item . input , placeholder : e . item . text , required : "" } , domProps : { value : e . item . value } } ) , e . _v ( " " ) , n ( "input" , { staticClass : "icon-confirm" , attrs : { type : "submit" , value : "" } } ) ] ) : [ "checkbox" === e . item . input ? n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : e . item . model , expression : "item.model" } ] , class : e . item . input , attrs : { id : e . key , type : "checkbox" } , domProps : { checked : Array . isArray ( e . item . model ) ? e . _i ( e . item . model , null ) > - 1 : e . item . model } , on : { change : [ function ( t ) { var n = e . item . model , r = t . target , i = ! ! r . checked ; if ( Array . isArray ( n ) ) { var s = e . _i ( n , null ) ; r . checked ? s < 0 && e . $set ( e . item , "model" , n . concat ( [ null ] ) ) : s > - 1 && e . $set ( e . item , "model" , n . slice ( 0 , s ) . concat ( n . slice ( s + 1 ) ) ) } else e . $set ( e . item , "model" , i ) } , e . item . action ] } } ) : "radio" === e . item . input ? n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : e . item . model , expression : "item.model" } ] , class : e . item . input , attrs : { id : e . key , type : "radio" } , domProps : { checked : e . _q ( e . item . model , null ) } , on : { change : [ function ( t ) { return e . $set ( e . item , "model" , null ) } , e . item . action ] } } ) : n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : e . item . model , expression : "item.model" } ] , class : e . item . input , attrs : { id : e . key , type : e . item . input } , domProps : { value : e . item . model } , on : { change : e . item . action , input : function ( t ) { t . target . composing || e . $set ( e . item , "model" , t . target . value ) } } } ) , e . _v ( " " ) , n ( "label" , { attrs : { for : e . key } , on : { click : function ( t ) { return t . stopPropagation ( ) , t . preventDefault ( ) , e . item . action ( t ) } } } , [ e . _v ( "\n\t\t\t\t" + e . _s ( e . item . text ) + "\n\t\t\t" ) ] ) ] ] , 2 ) : e . item . action ? n ( "button" , { staticClass : "menuitem focusable" , class : { active : e . item . active } , attrs : { disabled : e . item . disabled } , on : { click : function ( t ) { return t . stopPropagation ( ) , t . preventDefault ( ) , e . item . action ( t ) } } } , [ n ( "span" , { class : e . item . icon } ) , e . _v ( " " ) , e . item . text && e . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ e . _v ( "\n\t\t\t\t" + e . _s ( e . item . text ) + "\n\t\t\t" ) ] ) , n ( "br" )
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2021-04-08 15:51:24 +03:00
* /t.default=f},,function(e,t){e.exports=n(154)},function(e,t,n){"use strict";n.r(t),n(58),n(29),n(86),n(101),n(102),n(30),n(13),n(57),n(59),n(6);var r=n(82),i=n(41),s=n(73),o=n(34),a=n(27),l=n(36),u=n.n(l),c=n(14),m=n(22),d=n(80),h=n(45),f=n(26);function p(e,t,n,r,i,s,o){try{var a=e[s](o),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,i)}function g(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var s=e.apply(t,n);function o(e){p(s,r,i,o,a,"next",e)}function a(e){p(s,r,i,o,a,"throw",e)}o(void 0)}))}}var A=Object(r.getBuilder)("nextcloud").persist().build();function v(e){var t=A.getItem("user-has-avatar."+e);return"string"==typeof t?Boolean(t):null}function y(e,t){e&&A.setItem("user-has-avatar."+e,t)}var b={name:"Avatar",directives:{tooltip:m.default,ClickOutside:i.directive},components:{Popover:f.a,PopoverMenu:s.default},mixins:[h.e],props:{url:{type:String,default:void 0},iconClass:{type:String,default:void 0},user:{type:String,default:void 0},showUserStatus:{type:Boolean,default:!0},showUserStatusCompact:{type:Boolean,default:!0},preloadedUserStatus:{type:Object,default:void 0},isGuest:{type:Boolean,default:!1},displayName:{type:String,default:void 0},size:{type:Number,default:32},allowPlaceholder:{type:Boolean,default:!0},disableTooltip:{type:Boolean,default:!1},disableMenu:{type:Boolean,default:!1},tooltipMessage:{type:String,default:null},isNoUser:{type:Boolean,default:!1},status:{type:String,default:null,validator:function(e){switch(e){case"positive":case"negative":case"neutral":return!0}return!1}},statusColor:{type:[Number,String],default:null,validator:function(e){return/ ^ ( [ a - f0 - 9 ] { 3 } ) { 1 , 2 } $ / i . test ( e ) } } , menuPosition : { type : String , default : "center" } , menuContainer : { type : String , default : "body" } } , data : function ( ) { return { avatarUrlLoaded : null , avatarSrcSetLoaded : null , userDoesNotExist : ! 1 , isAvatarLoaded : ! 1 , isMenuLoaded : ! 1 , contactsMenuLoading : ! 1 , contactsMenuActions : [ ] , contactsMenuOpenState : ! 1 } } , computed : { canDisplayUserStatus : function ( ) { return this . showUserStatus && this . hasStatus && [ "online" , "away" , "dnd" ] . includes ( this . userStatus . status ) } , showUserStatusIconOnAvatar : function ( ) { return this . showUserStatus && this . showUserStatusCompact && this . hasStatus && "dnd" !== this . userStatus . status && this . userStatus . icon } , getUserIdentifier : function ( ) { return this . isDisplayNameDefined ? this . displayName : this . isUserDefined ? this . user : "" } , isUserDefined : function ( ) { return void 0 !== this . user } , isDisplayNameDefined : function ( ) { return void 0 !== this . displayName } , isUrlDefined : function ( ) { return void 0 !== this . url } , hasMenu : function ( ) { var e ; return ! this . disableMenu && ( this . isMenuLoaded ? this . menu . length > 0 : ! ( this . user === ( null === ( e = Object ( o . getCurrentUser ) ( ) ) || void 0 === e ? void 0 : e . uid ) || this . userDoesNotExist || this . url ) ) } , shouldShowPlaceholder : function ( ) { return this . allowPlaceholder && this . userDoesNotExist } , avatarStyle : function ( ) { var e = { width : this . size + "px" , height : this . size + "px" , lineHeight : this . size + "px" , fontSize : Math . round ( . 55 * this . size ) + "px" } ; if ( ! this . iconClass && ! this . avatarSrcSetLoaded ) { var t = Object ( d . default ) ( this . getUserIdentifier ) ; e . backgroundColor = "rgb(" + t . r + ", " + t . g + ", " + t . b + ")" } return e } , tooltip : function ( ) { return ! this . disableTooltip && ( this . tooltipMessage ? this . tooltipMessage : this . displayName ) } , initials : function ( ) { var e ; if ( this . shouldShowPlaceholder ) { var t = this . getUserIdentifier , n = t . indexOf ( " " ) ; "" === t ? e = "?" : ( e = String . fromCodePoint ( t . codePointAt ( 0 ) ) , - 1 !== n && ( e = e . concat ( String . fromCodePoint ( t . codePointAt ( n + 1 ) ) ) ) ) } return e . toUpperCase ( ) } , menu : function ( ) { var e , t , n , r = this . contactsMenuActions . map ( ( function ( e ) { return { href : e . hyperlink , icon : e . icon , longtext : e . title } } ) ) ; return this . showUserStatus && ( this . userStatus . icon || this . userStatus . message ) ? [ { href : "#" , icon : "data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg'><text x='0' y='14' font-size='14'>" . concat ( ( e = this . userStatus . icon , t = document . createTextNode ( e ) , n = document . createElement ( "p" ) , n . appendChild ( t ) , n . innerHTML ) , "</text></svg>" ) , text : "" . concat ( this . userStatus . message ) } ] . concat ( r ) : r } } , watch : { url : function ( ) { this . userDoesNotExist = ! 1 , this . loadAvatarUrl ( ) } , user : fun
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2018 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2021-04-08 15:51:24 +03:00
* /t.default=S},function(e,t){e.exports=n(554)},function(e,t){e.exports=n(557)},,function(e,t,n){"use strict";n.r(t),n(89),n(16),n(24);var r=n(77),i=n.n(r),s=n(63);t.default=function(e){var t=e.toLowerCase();return null===t.match(/ ^ ( [ 0 - 9 a - f ] { 4 } - ? ) { 8 } $ / ) && ( t = i ( ) ( t ) ) , t = t . replace ( /[^0-9a-f]/g , "" ) , Object ( s . a ) ( 6 ) [ function ( e , t ) { for ( var n = 0 , r = [ ] , i = 0 ; i < e . length ; i ++ ) r . push ( parseInt ( e . charAt ( i ) , 16 ) % 16 ) ; for ( var s in r ) n += r [ s ] ; return parseInt ( parseInt ( n , 10 ) % 18 , 10 ) } ( t ) ] } } , , function ( e , t ) { e . exports = n ( 558 ) } , , , , function ( e , t ) { e . exports = n ( 584 ) } , function ( e , t ) { e . exports = n ( 165 ) } , function ( e , t ) { e . exports = n ( 166 ) } , function ( e , t ) { e . exports = n ( 403 ) } , , , , , , , , , , , , function ( e , t ) { e . exports = n ( 586 ) } , function ( e , t ) { e . exports = n ( 587 ) } ] ) } , function ( e , t , n ) { window , e . exports = function ( e ) { var t = { } ; function n ( r ) { if ( t [ r ] ) return t [ r ] . exports ; var i = t [ r ] = { i : r , l : ! 1 , exports : { } } ; return e [ r ] . call ( i . exports , i , i . exports , n ) , i . l = ! 0 , i . exports } return n . m = e , n . c = t , n . d = function ( e , t , r ) { n . o ( e , t ) || Object . defineProperty ( e , t , { enumerable : ! 0 , get : r } ) } , n . r = function ( e ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( e , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) } , n . t = function ( e , t ) { if ( 1 & t && ( e = n ( e ) ) , 8 & t ) return e ; if ( 4 & t && "object" == typeof e && e && e . _ _esModule ) return e ; var r = Object . create ( null ) ; if ( n . r ( r ) , Object . defineProperty ( r , "default" , { enumerable : ! 0 , value : e } ) , 2 & t && "string" != typeof e ) for ( var i in e ) n . d ( r , i , function ( t ) { return e [ t ] } . bind ( null , i ) ) ; return r } , n . n = function ( e ) { var t = e && e . _ _esModule ? function ( ) { return e . default } : function ( ) { return e } ; return n . d ( t , "a" , t ) , t } , n . o = function ( e , t ) { return Object . prototype . hasOwnProperty . call ( e , t ) } , n . p = "/dist/" , n ( n . s = 193 ) } ( { 0 : function ( e , t , n ) { "use strict" ; function r ( e , t ) { return function ( e ) { if ( Array . isArray ( e ) ) return e } ( e ) || function ( e , t ) { if ( "undefined" != typeof Symbol && Symbol . iterator in Object ( e ) ) { var n = [ ] , r = ! 0 , i = ! 1 , s = void 0 ; try { for ( var o , a = e [ Symbol . iterator ] ( ) ; ! ( r = ( o = a . next ( ) ) . done ) && ( n . push ( o . value ) , ! t || n . length !== t ) ; r = ! 0 ) ; } catch ( e ) { i = ! 0 , s = e } finally { try { r || null == a . return || a . return ( ) } finally { if ( i ) throw s } } return n } } ( e , t ) || function ( e , t ) { if ( e ) { if ( "string" == typeof e ) return i ( e , t ) ; var n = Object . prototype . toString . call ( e ) . slice ( 8 , - 1 ) ; return "Object" === n && e . constructor && ( n = e . constructor . name ) , "Map" === n || "Set" === n ? Array . from ( e ) : "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/ . test ( n ) ? i ( e , t ) : void 0 } } ( e , t ) || function ( ) { throw new TypeError ( "Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ) } ( ) } function i ( e , t ) { ( null == t || t > e . length ) && ( t = e . length ) ; for ( var n = 0 , r = new Array ( t ) ; n < t ; n ++ ) r [ n ] = e [ n ] ; return r } e . exports = function ( e ) { var t = r ( e , 4 ) , n = t [ 1 ] , i = t [ 3 ] ; if ( "function" == typeof btoa ) { var s = btoa ( unescape ( encodeURIComponent ( JSON . stringify ( i ) ) ) ) , o = "sourceMappingURL=data:application/json;charset=utf-8;base64," . concat ( s ) , a = "/*# " . concat ( o , " */" ) , l = i . sources . map ( ( function ( e ) { return "/*# sourceURL=" . concat ( i . sourceRoot || "" ) . concat ( e , " */" ) } ) ) ; return [ n ] . concat ( l ) . concat ( [ a ] ) . join ( "\n" ) } return [ n ] . join ( "\n" ) } } , 1 : function ( e , t , n ) { "use strict" ; e . exports = function ( e ) { var t = [ ] ; return t . toString = function ( ) { return this . map ( ( function ( t ) { var n = e ( t ) ; return t [ 2 ] ? "@media " . concat ( t [ 2 ] , " {" ) . concat ( n , "}" ) : n } ) ) . join ( "" ) } , t . i = function ( e , n , r ) { "string" == typeof e && ( e = [ [ null , e , "" ] ] ) ; var i = { } ; if ( r ) for ( var s = 0 ; s < this . length ; s ++ ) { var o = this [ s ] [ 0 ] ; null != o && ( i [ o ] = ! 0 ) } for ( var a = 0 ; a < e . length ; a ++ ) { var l = [ ] . concat ( e [ a ] ) ; r && i [ l [ 0 ] ] || ( n && ( l [ 2 ] ? l [ 2 ] = "" . concat ( n , " and " ) . concat ( l [ 2 ] ) : l [ 2 ] = n ) , t . push ( l ) ) } } , t } } , 10 : function ( e , t , n ) { "use strict" ; t . a = " data : font / ttf ; base64 , AAEAAAAKAIAAAwAgT1MvMnTjj9EAAACsAAAAYGNtYXAADeu4AAABDAAAAUJnbHlmx0c5TAAAAlAAAAf8aGVhZCsdwv8AAApMAAAANmhoZWEm / ROFAAAKhAAAACRobXR4Z77 //wAACqgAAAA0bG9jYQ28D2YAAArcAAAAKG1heHABIABXAAALBAAAACBuYW1l2NB2AQAACyQAAAKmcG9zdD9UvtcAAA3MAAABFgAEEsoBkAAFAAAMZQ2sAAACvAxlDawAAAlgAPUFCgAAAgAFAwAAAAAAAAAAAAAQAAAAAAAAAAAAAABQZkVkAEDqAeoSE4gAAAHCE4gAAAAAAAEAAAAAAAAAAAAAACAAAAAAAAMAAAADAAAAHAABAAAAAAA8AAMAAQAAABwABAAgAAAABAAEAAEAAOoS//8AAOoB//8WAAABAAAAAAAAAQYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2020 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2021-04-08 15:51:24 +03:00
* /t.default=T},2:function(e,t,n){"use strict";var r,i=function(){var e={};return function(t){if(void 0===e[t]){var n=document.querySelector(t);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}e[t]=n}return e[t]}}(),s=[];function o(e){for(var t=-1,n=0;n<s.length;n++)if(s[n].identifier===e){t=n;break}return t}function a(e,t){for(var n={},r=[],i=0;i<e.length;i++){var a=e[i],l=t.base?a[0]+t.base:a[0],u=n[l]||0,c="".concat(l," ").concat(u);n[l]=u+1;var m=o(c),d={css:a[1],media:a[2],sourceMap:a[3]};-1!==m?(s[m].references++,s[m].updater(d)):s.push({identifier:c,updater:p(d,t),references:1}),r.push(c)}return r}function l(e){var t=document.createElement("style"),r=e.attributes||{};if(void 0===r.nonce){var s=n.nc;s&&(r.nonce=s)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var o=i(e.insert||"head");if(!o)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");o.appendChild(t)}return t}var u,c=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function m(e,t,n,r){var i=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=c(t,i);else{var s=document.createTextNode(i),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(s,o[t]):e.appendChild(s)}}function d(e,t,n){var r=n.css,i=n.media,s=n.sourceMap;if(i?e.setAttribute("media",i):e.removeAttribute("media"),s&&"undefined"!=typeof btoa&&(r+="\n/ * # sourceMappingURL = data : application / json ; base64 , ".concat(btoa(unescape(encodeURIComponent(JSON.stringify(s))))," * /")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var h=null,f=0;function p(e,t){var n,r,i;if(t.singleton){var s=f++;n=h||(h=l(t)),r=m.bind(null,n,s,!1),i=m.bind(null,n,s,!0)}else n=l(t),r=d.bind(null,n,t),i=function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(n)};return r(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r(e=t)}else i()}}e.exports=function(e,t){(t=t||{}).singleton||"boolean"==typeof t.singleton||(t.singleton=(void 0===r&&(r=Boolean(window&&document&&document.all&&!window.atob)),r));var n=a(e=e||[],t);return function(e){if(e=e||[],"[object Array]"===Object.prototype.toString.call(e)){for(var r=0;r<n.length;r++){var i=o(n[r]);s[i].references--}for(var l=a(e,t),u=0;u<n.length;u++){var c=o(n[u]);0===s[c].references&&(s[c].updater(),s.splice(c,1))}n=l}}}},24:function(e,t){e.exports=n(45)},25:function(e,t){e.exports=n(56)},28:function(e,t){e.exports=n(355)},29:function(e,t){e.exports=n(370)},3:function(e,t,n){"use strict";function r(e,t,n,r,i,s,o,a){var l,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),s&&(u._scopeId="data-v-"+s),o?(l=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},u._ssrRegister=l):i&&(l=a?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),l)if(u.functional){u._injectStyles=l;var c=u.render;u.render=function(e,t){return l.call(t),c(e,t)}}else{var m=u.beforeCreate;u.beforeCreate=m?[].concat(m,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},30:function(e,t){e.exports=n(73)},32:function(e,t){e.exports=n(365)},4:function(e,t,n){"use strict";e.exports=function(e,t){return t||(t={}),"string"!=typeof(e=e&&e.__esModule?e.default:e)?e:(/ ^ [ '"].*[' "]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/[" '() \t\n]/.test(e)||t.needQuotes?' "'.concat(e.replace(/" / g , '\\"' ) . replace ( /\n/g , "\\n" ) , '"' ) : e ) } } , 43 : function ( e , t ) { e . exports = n ( 147 ) } , 44 : function ( e , t , n ) { "use strict" ; var r = n ( 0 ) , i = n . n ( r ) , s = n ( 1 ) , o = n . n ( s ) ( ) ( i . a ) ; o . push ( [ e . i , " . mention - bubble -- primary . mention - bubble _ _cont
2021-03-17 11:45:22 +03:00
/ * !
* Determine if an object is a Buffer
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
* /
2021-04-08 15:51:24 +03:00
e . exports = function ( e ) { return null != e && ( n ( e ) || function ( e ) { return "function" == typeof e . readFloatLE && "function" == typeof e . slice && n ( e . slice ( 0 , 0 ) ) } ( e ) || ! ! e . _isBuffer ) } } , function ( e , t , n ) { "use strict" ; Object . defineProperty ( t , "__esModule" , { value : ! 0 } ) , t . getCapabilities = function ( ) { try { return ( 0 , r . loadState ) ( "core" , "capabilities" ) } catch ( e ) { return console . debug ( "Could not find capabilities initial state fall back to _oc_capabilities" ) , "_oc_capabilities" in window ? window . _oc _capabilities : { } } } ; var r = n ( 191 ) } , function ( e , t , n ) { "use strict" ; n ( 380 ) , n ( 399 ) , n ( 400 ) , n ( 401 ) , Object . defineProperty ( t , "__esModule" , { value : ! 0 } ) , t . getBuilder = function ( e ) { return new r . default ( e ) } , t . clearAll = function ( ) { [ window . sessionStorage , window . localStorage ] . map ( ( function ( e ) { return o ( e ) } ) ) } , t . clearNonPersistent = function ( ) { [ window . sessionStorage , window . localStorage ] . map ( ( function ( e ) { return o ( e , ( function ( e ) { return ! e . startsWith ( i . default . GLOBAL _SCOPE _PERSISTENT ) } ) ) } ) ) } ; var r = s ( n ( 581 ) ) , i = s ( n ( 402 ) ) ; function s ( e ) { return e && e . _ _esModule ? e : { default : e } } function o ( e , t ) { Object . keys ( e ) . filter ( ( function ( e ) { return ! t || t ( e ) } ) ) . map ( e . removeItem . bind ( e ) ) } } , function ( e , t , n ) { "use strict" ; var r = { } . propertyIsEnumerable , i = Object . getOwnPropertyDescriptor , s = i && ! r . call ( { 1 : 2 } , 1 ) ; t . f = s ? function ( e ) { var t = i ( this , e ) ; return ! ! t && t . enumerable } : r } , function ( e , t , n ) { var r = n ( 24 ) , i = n ( 46 ) , s = r . document , o = i ( s ) && i ( s . createElement ) ; e . exports = function ( e ) { return o ? s . createElement ( e ) : { } } } , function ( e , t , n ) { var r = n ( 24 ) , i = n ( 104 ) , s = n ( 57 ) , o = n ( 162 ) , a = n ( 384 ) , l = n ( 562 ) , u = l . get , c = l . enforce , m = String ( String ) . split ( "String" ) ; ( e . exports = function ( e , t , n , a ) { var l = ! ! a && ! ! a . unsafe , u = ! ! a && ! ! a . enumerable , d = ! ! a && ! ! a . noTargetGet ; "function" == typeof n && ( "string" != typeof t || s ( n , "name" ) || i ( n , "name" , t ) , c ( n ) . source = m . join ( "string" == typeof t ? t : "" ) ) , e !== r ? ( l ? ! d && e [ t ] && ( u = ! 0 ) : delete e [ t ] , u ? e [ t ] = n : i ( e , t , n ) ) : u ? e [ t ] = n : o ( t , n ) } ) ( Function . prototype , "toString" , ( function ( ) { return "function" == typeof this && u ( this ) . source || a ( this ) } ) ) } , function ( e , t , n ) { var r , i , s , o = n ( 563 ) , a = n ( 24 ) , l = n ( 46 ) , u = n ( 104 ) , c = n ( 57 ) , m = n ( 564 ) , d = n ( 389 ) , h = a . WeakMap ; if ( o ) { var f = new h , p = f . get , g = f . has , A = f . set ; r = function ( e , t ) { return A . call ( f , e , t ) , t } , i = function ( e ) { return p . call ( f , e ) || { } } , s = function ( e ) { return g . call ( f , e ) } } else { var v = m ( "state" ) ; d [ v ] = ! 0 , r = function ( e , t ) { return u ( e , v , t ) , t } , i = function ( e ) { return c ( e , v ) ? e [ v ] : { } } , s = function ( e ) { return c ( e , v ) } } e . exports = { set : r , get : i , has : s , enforce : function ( e ) { return s ( e ) ? i ( e ) : r ( e , { } ) } , getterFor : function ( e ) { return function ( t ) { var n ; if ( ! l ( t ) || ( n = i ( t ) ) . type !== e ) throw TypeError ( "Incompatible receiver, " + e + " required" ) ; return n } } } } , function ( e , t , n ) { var r = n ( 24 ) , i = n ( 384 ) , s = r . WeakMap ; e . exports = "function" == typeof s && /native code/ . test ( i ( s ) ) } , function ( e , t , n ) { var r = n ( 386 ) , i = n ( 388 ) , s = r ( "keys" ) ; e . exports = function ( e ) { return s [ e ] || ( s [ e ] = i ( e ) ) } } , function ( e , t , n ) { var r = n ( 57 ) , i = n ( 566 ) , s = n ( 155 ) , o = n ( 161 ) ; e . exports = function ( e , t ) { for ( var n = i ( t ) , a = o . f , l = s . f , u = 0 ; u < n . length ; u ++ ) { var c = n [ u ] ; r ( e , c ) || a ( e , c , l ( t , c ) ) } } } , function ( e , t , n ) { var r = n ( 390 ) , i = n ( 568 ) , s = n ( 571 ) , o = n ( 383 ) ; e . exports = r ( "Reflect" , "ownKeys" ) || function ( e ) { var t = i . f ( o ( e ) ) , n = s . f ; return n ? t . concat ( n ( e ) ) : t } } , function ( e , t , n ) { var r = n ( 24 ) ; e . exports = r } , function ( e , t , n ) { var r = n ( 391 ) , i = n ( 393 ) . concat ( "length" , "prototype" ) ; t . f = Object . getOwnPropertyNames || function ( e ) { return r ( e , i ) } } , function ( e , t , n ) { var r = n ( 157 ) , i = n ( 105 ) , s = n ( 570 ) , o = function ( e ) { return function ( t , n , o ) { var a , l = r ( t ) , u = i ( l . length ) , c = s ( o , u ) ; if ( e && n != n ) { for ( ; u > c ; ) if ( ( a = l [ c ++ ] ) != a ) return ! 0 } else for ( ; u > c ; c ++ ) if ( ( e || c in l ) && l [ c ] === n ) return e || c || 0 ; return ! e && - 1 } } ; e . exports = { includes : o ( ! 0 ) , indexOf : o ( ! 1 ) } } , function ( e , t , n ) { var r = n ( 392 ) , i = Math . max , s = Math . min ; e . exports = function ( e , t ) { var n = r ( e ) ; return n < 0 ? i ( n + t , 0 ) : s ( n , t ) } } , function ( e , t ) { t . f = Object . getOwnPropertySymbols } , function ( e , t , n ) { var r = n ( 28 ) , i = /#|\.prototype\./ , s = function ( e , t ) { var n = a [ o ( e ) ] ; return n == u || n != l && ( "function" == typeof t ? r ( t ) : ! ! t ) } , o = s . normalize = function ( e ) { return String ( e ) . replace ( i , "." ) . toLowerCase ( ) } , a = s . data = { } , l = s . NATIVE = "N" , u = s . POLYFILL = "P" ; e . exports = s } , function ( e , t , n ) { var r = n ( 574 ) ; e . exports = function ( e , t , n ) { if ( r ( e ) , void 0 === t ) return e ; switch ( n ) { case 0 : return function ( ) { return e . call ( t ) } ; case 1 : return function ( n ) { return e . ca
2021-03-17 11:45:22 +03:00
/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
2021-04-08 15:51:24 +03:00
var r = n ( 10 ) , i = r . Buffer ; function s ( e , t ) { for ( var n in e ) t [ n ] = e [ n ] } function o ( e , t , n ) { return i ( e , t , n ) } i . from && i . alloc && i . allocUnsafe && i . allocUnsafeSlow ? e . exports = r : ( s ( r , t ) , t . Buffer = o ) , o . prototype = Object . create ( i . prototype ) , s ( i , o ) , o . from = function ( e , t , n ) { if ( "number" == typeof e ) throw new TypeError ( "Argument must not be a number" ) ; return i ( e , t , n ) } , o . alloc = function ( e , t , n ) { if ( "number" != typeof e ) throw new TypeError ( "Argument must be a number" ) ; var r = i ( e ) ; return void 0 !== t ? "string" == typeof n ? r . fill ( t , n ) : r . fill ( t ) : r . fill ( 0 ) , r } , o . allocUnsafe = function ( e ) { if ( "number" != typeof e ) throw new TypeError ( "Argument must be a number" ) ; return i ( e ) } , o . allocUnsafeSlow = function ( e ) { if ( "number" != typeof e ) throw new TypeError ( "Argument must be a number" ) ; return r . SlowBuffer ( e ) } } , function ( e , t , n ) { ( t = e . exports = n ( 416 ) ) . Stream = t , t . Readable = t , t . Writable = n ( 420 ) , t . Duplex = n ( 61 ) , t . Transform = n ( 421 ) , t . PassThrough = n ( 632 ) , t . finished = n ( 169 ) , t . pipeline = n ( 633 ) } , function ( e , t ) { } , function ( e , t , n ) { "use strict" ; function r ( e , t ) { var n = Object . keys ( e ) ; if ( Object . getOwnPropertySymbols ) { var r = Object . getOwnPropertySymbols ( e ) ; t && ( r = r . filter ( ( function ( t ) { return Object . getOwnPropertyDescriptor ( e , t ) . enumerable } ) ) ) , n . push . apply ( n , r ) } return n } function i ( e , t , n ) { return t in e ? Object . defineProperty ( e , t , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : e [ t ] = n , e } function s ( e , t ) { for ( var n = 0 ; n < t . length ; n ++ ) { var r = t [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( e , r . key , r ) } } var o = n ( 10 ) . Buffer , a = n ( 629 ) . inspect , l = a && a . custom || "inspect" ; e . exports = function ( ) { function e ( ) { ! function ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } ( this , e ) , this . head = null , this . tail = null , this . length = 0 } var t , n , u ; return t = e , ( n = [ { key : "push" , value : function ( e ) { var t = { data : e , next : null } ; this . length > 0 ? this . tail . next = t : this . head = t , this . tail = t , ++ this . length } } , { key : "unshift" , value : function ( e ) { var t = { data : e , next : this . head } ; 0 === this . length && ( this . tail = t ) , this . head = t , ++ this . length } } , { key : "shift" , value : function ( ) { if ( 0 !== this . length ) { var e = this . head . data ; return 1 === this . length ? this . head = this . tail = null : this . head = this . head . next , -- this . length , e } } } , { key : "clear" , value : function ( ) { this . head = this . tail = null , this . length = 0 } } , { key : "join" , value : function ( e ) { if ( 0 === this . length ) return "" ; for ( var t = this . head , n = "" + t . data ; t = t . next ; ) n += e + t . data ; return n } } , { key : "concat" , value : function ( e ) { if ( 0 === this . length ) return o . alloc ( 0 ) ; for ( var t , n , r , i = o . allocUnsafe ( e >>> 0 ) , s = this . head , a = 0 ; s ; ) t = s . data , n = i , r = a , o . prototype . copy . call ( t , n , r ) , a += s . data . length , s = s . next ; return i } } , { key : "consume" , value : function ( e , t ) { var n ; return e < this . head . data . length ? ( n = this . head . data . slice ( 0 , e ) , this . head . data = this . head . data . slice ( e ) ) : n = e === this . head . data . length ? this . shift ( ) : t ? this . _getString ( e ) : this . _getBuffer ( e ) , n } } , { key : "first" , value : function ( ) { return this . head . data } } , { key : "_getString" , value : function ( e ) { var t = this . head , n = 1 , r = t . data ; for ( e -= r . length ; t = t . next ; ) { var i = t . data , s = e > i . length ? i . length : e ; if ( s === i . length ? r += i : r += i . slice ( 0 , e ) , 0 == ( e -= s ) ) { s === i . length ? ( ++ n , t . next ? this . head = t . next : this . head = this . tail = null ) : ( this . head = t , t . data = i . slice ( s ) ) ; break } ++ n } return this . length -= n , r } } , { key : "_getBuffer" , value : function ( e ) { var t = o . allocUnsafe ( e ) , n = this . head , r = 1 ; for ( n . data . copy ( t ) , e -= n . data . length ; n = n . next ; ) { var i = n . data , s = e > i . length ? i . length : e ; if ( i . copy ( t , t . length - e , 0 , s ) , 0 == ( e -= s ) ) { s === i . length ? ( ++ r , n . next ? this . head = n . next : this . head = this . tail = null ) : ( this . head = n , n . data = i . slice ( s ) ) ; break } ++ r } return this . length -= r , t } } , { key : l , value : function ( e , t ) { return a ( this , function ( e ) { for ( var t = 1 ; t < arguments . length ; t ++ ) { var n = null != arguments [ t ] ? arguments [ t ] : { } ; t % 2 ? r ( Object ( n ) , ! 0 ) . forEach ( ( function ( t ) { i ( e , t , n [ t ] ) } ) ) : Object . getOwnPropertyDescriptors ? Object . defineProperties ( e , Object . getOwnPropertyDescriptors ( n ) ) : r ( Object ( n ) ) . forEach ( ( function ( t ) { Object . defineProperty ( e , t , Object . getOwnPropertyDescriptor ( n , t ) ) } ) ) } return e } ( { } , t , { depth : 0 , customInspect : ! 1 } ) ) } } ] ) && s ( t . prototype , n ) , u && s ( t , u ) , e } ( ) } , function ( e , t ) { } , function ( e , t , n ) { "use strict" ; ( function ( t ) { var r ; function i ( e , t , n ) { return t in e ? Object . defineProperty ( e , t , { value : n , enumerable : ! 0 , co
2021-03-17 11:45:22 +03:00
/ * *
* @ license nested - property https : //github.com/cosmosio/nested-property
*
* The MIT License ( MIT )
*
* Copyright ( c ) 2014 - 2020 Olivier Scherrer < pode . fr @ gmail . com >
2021-04-08 15:51:24 +03:00
* / f u n c t i o n r ( e ) { r e t u r n ( r = " f u n c t i o n " = = t y p e o f S y m b o l & & " s y m b o l " = = t y p e o f S y m b o l . i t e r a t o r ? f u n c t i o n ( e ) { r e t u r n t y p e o f e } : f u n c t i o n ( e ) { r e t u r n e & & " f u n c t i o n " = = t y p e o f S y m b o l & & e . c o n s t r u c t o r = = = S y m b o l & & e ! = = S y m b o l . p r o t o t y p e ? " s y m b o l " : t y p e o f e } ) ( e ) } f u n c t i o n i ( e , t ) { r e t u r n ! t | | " o b j e c t " ! = = r ( t ) & & " f u n c t i o n " ! = t y p e o f t ? f u n c t i o n ( e ) { i f ( v o i d 0 = = = e ) t h r o w n e w R e f e r e n c e E r r o r ( " t h i s h a s n ' t b e e n i n i t i a l i s e d - s u p e r ( ) h a s n ' t b e e n c a l l e d " ) ; r e t u r n e } ( e ) : t } f u n c t i o n s ( e ) { v a r t = " f u n c t i o n " = = t y p e o f M a p ? n e w M a p : v o i d 0 ; r e t u r n ( s = f u n c t i o n ( e ) { i f ( n u l l = = = e | | ( n = e , - 1 = = = F u n c t i o n . t o S t r i n g . c a l l ( n ) . i n d e x O f ( " [ n a t i v e c o d e ] " ) ) ) r e t u r n e ; v a r n ; i f ( " f u n c t i o n " ! = t y p e o f e ) t h r o w n e w T y p e E r r o r ( " S u p e r e x p r e s s i o n m u s t e i t h e r b e n u l l o r a f u n c t i o n " ) ; i f ( v o i d 0 ! = = t ) { i f ( t . h a s ( e ) ) r e t u r n t . g e t ( e ) ; t . s e t ( e , r ) } f u n c t i o n r ( ) { r e t u r n o ( e , a r g u m e n t s , u ( t h i s ) . c o n s t r u c t o r ) } r e t u r n r . p r o t o t y p e = O b j e c t . c r e a t e ( e . p r o t o t y p e , { c o n s t r u c t o r : { v a l u e : r , e n u m e r a b l e : ! 1 , w r i t a b l e : ! 0 , c o n f i g u r a b l e : ! 0 } } ) , l ( r , e ) } ) ( e ) } f u n c t i o n o ( e , t , n ) { r e t u r n ( o = a ( ) ? R e f l e c t . c o n s t r u c t : f u n c t i o n ( e , t , n ) { v a r r = [ n u l l ] ; r . p u s h . a p p l y ( r , t ) ; v a r i = n e w ( F u n c t i o n . b i n d . a p p l y ( e , r ) ) ; r e t u r n n & & l ( i , n . p r o t o t y p e ) , i } ) . a p p l y ( n u l l , a r g u m e n t s ) } f u n c t i o n a ( ) { i f ( " u n d e f i n e d " = = t y p e o f R e f l e c t | | ! R e f l e c t . c o n s t r u c t ) r e t u r n ! 1 ; i f ( R e f l e c t . c o n s t r u c t . s h a m ) r e t u r n ! 1 ; i f ( " f u n c t i o n " = = t y p e o f P r o x y ) r e t u r n ! 0 ; t r y { r e t u r n D a t e . p r o t o t y p e . t o S t r i n g . c a l l ( R e f l e c t . c o n s t r u c t ( D a t e , [ ] , ( f u n c t i o n ( ) { } ) ) ) , ! 0 } c a t c h ( e ) { r e t u r n ! 1 } } f u n c t i o n l ( e , t ) { r e t u r n ( l = O b j e c t . s e t P r o t o t y p e O f | | f u n c t i o n ( e , t ) { r e t u r n e . _ _ p r o t o _ _ = t , e } ) ( e , t ) } f u n c t i o n u ( e ) { r e t u r n ( u = O b j e c t . s e t P r o t o t y p e O f ? O b j e c t . g e t P r o t o t y p e O f : f u n c t i o n ( e ) { r e t u r n e . _ _ p r o t o _ _ | | O b j e c t . g e t P r o t o t y p e O f ( e ) } ) ( e ) } v a r c = f u n c t i o n ( e ) { f u n c t i o n t ( e ) { v a r n ; r e t u r n f u n c t i o n ( e , t ) { i f ( ! ( e i n s t a n c e o f t ) ) t h r o w n e w T y p e E r r o r ( " C a n n o t c a l l a c l a s s a s a f u n c t i o n " ) } ( t h i s , t ) , ( n = i ( t h i s , u ( t ) . c a l l ( t h i s , e ) ) ) . n a m e = " O b j e c t P r o t o t y p e M u t a t i o n E r r o r " , n } r e t u r n f u n c t i o n ( e , t ) { i f ( " f u n c t i o n " ! = t y p e o f t & & n u l l ! = = t ) t h r o w n e w T y p e E r r o r ( " S u p e r e x p r e s s i o n m u s t e i t h e r b e n u l l o r a f u n c t i o n " ) ; e . p r o t o t y p e = O b j e c t . c r e a t e ( t & & t . p r o t o t y p e , { c o n s t r u c t o r : { v a l u e : e , w r i t a b l e : ! 0 , c o n f i g u r a b l e : ! 0 } } ) , t & & l ( e , t ) } ( t , e ) , t } ( s ( E r r o r ) ) ; f u n c t i o n m ( e , t ) { f o r ( v a r n = a r g u m e n t s . l e n g t h > 2 & & v o i d 0 ! = = a r g u m e n t s [ 2 ] ? a r g u m e n t s [ 2 ] : f u n c t i o n ( ) { } , i = t . s p l i t ( " . " ) , s = i . l e n g t h , o = f u n c t i o n ( t ) { v a r r = i [ t ] ; i f ( ! e ) r e t u r n { v : v o i d 0 } ; i f ( " + " = = = r ) { i f ( A r r a y . i s A r r a y ( e ) ) r e t u r n { v : e . m a p ( ( f u n c t i o n ( r , s ) { v a r o = i . s l i c e ( t + 1 ) ; r e t u r n o . l e n g t h > 0 ? m ( r , o . j o i n ( " . " ) , n ) : n ( e , s , i , t ) } ) ) } ; v a r s = i . s l i c e ( 0 , t ) . j o i n ( " . " ) ; t h r o w n e w E r r o r ( " O b j e c t a t w i l d c a r d ( " . c o n c a t ( s , " ) i s n o t a n a r r a y " ) ) } e = n ( e , r , i , t ) } , a = 0 ; a < s ; a + + ) { v a r l = o ( a ) ; i f ( " o b j e c t " = = = r ( l ) ) r e t u r n l . v } r e t u r n e } f u n c t i o n d ( e , t ) { r e t u r n e . l e n g t h = = = t + 1 } e . e x p o r t s = { s e t : f u n c t i o n ( e , t , n ) { i f ( " o b j e c t " ! = r ( e ) | | n u l l = = = e ) r e t u r n e ; i f ( v o i d 0 = = = t ) r e t u r n e ; i f ( " n u m b e r " = = t y p e o f t ) r e t u r n e [ t ] = n , e [ t ] ; t r y { r e t u r n m ( e , t , ( f u n c t i o n ( e , t , r , i ) { i f ( e = = = R e f l e c t . g e t P r o t o t y p e O f ( { } ) ) t h r o w n e w c ( " A t t e m p t i n g t o m u t a t e O b j e c t . p r o t o t y p e " ) ; i f ( ! e [ t ] ) { v a r s = N u m b e r . i s I n t e g e r ( N u m b e r ( r [ i + 1 ] ) ) , o = " + " = = = r [ i + 1 ] ; e [ t ] = s | | o ? [ ] : { } } r e t u r n d ( r , i ) & & ( e [ t ] = n ) , e [ t ] } ) ) } c a t c h ( t ) { i f ( t i n s t a n c e o f c ) t h r o w t ; r e t u r n e } } , g e t : f u n c t i o n ( e , t ) { i f ( " o b j e c t " ! = r ( e ) | | n u l l = = = e ) r e t u r n e ; i f ( v o i d 0 = = = t ) r e t u r n e ; i f ( " n u m b e r " = = t y p e o f t ) r e t u r n e [ t ] ; t r y { r e t u r n m ( e , t , ( f u n c t i o n ( e , t ) { r e t u r n e [ t ] } ) ) } c a t c h ( t ) { r e t u r n e } } , h a s : f u n c t i o n ( e , t ) { v a r n = a r g u m e n t s . l e n g t h > 2 & & v o i d 0 ! = = a r g u m e n t s [ 2 ] ? a r g u m e n t s [ 2 ] : { } ; i f ( " o b j e c t " ! = r ( e ) | | n u l l = = = e ) r e t u r n ! 1 ; i f ( v o i d 0 = = = t ) r e t u r n ! 1 ; i f ( " n u m b e r " = = t y p e o f t ) r e t u r n t i n e ; t r y { v a r i = ! 1 ; r e t u r n m ( e , t , ( f u n c t i o n ( e , t , r , s ) { i f ( ! d ( r , s ) ) r e t u r n e & & e [ t ] ; i = n . o w n ? e . h a s O w n P r o p e r t y ( t ) : t i n e } ) ) , i } c a t c h ( e ) { r e t u r n ! 1 } } , h a s O w n : f u n c t i o n ( e , t , n ) { r e t u r n t h i s . h a s ( e , t , n | | { o w n : ! 0 } ) } , i s I n : f u n c t i o n ( e , t , n ) { v a r i = a r g u m e n t s . l e n g t h > 3 & & v o i d 0 ! = = a r g u m e n t s [ 3 ] ? a r g u m e n t s [ 3 ] : { } ; i f ( " o b j e c t " ! = r ( e ) | | n u l l = = = e ) r e t u r n ! 1 ; i f ( v o i d 0 = = = t ) r e t u r n ! 1 ; t r y { v a r s = ! 1 , o = ! 1 ; r e t u r n m ( e , t , ( f u n c t i o n ( e , t , i , a ) { r e t u r n s = s | | e = = = n | | ! ! e & & e [ t ] = = = n , o = d ( i , a ) & & " o b j e c t " = = = r ( e ) & & t i n e , e & & e [ t ] } ) ) , i . v a l i d P a t h ? s & & o : s } c a t c h ( e ) { r e t u r n ! 1 } } , O b j e c t P r o t o t y p e M u t a t i o n E r r o r : c } } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; c o n s t r = n ( 1 9 ) , { e n c o d e P a t h : i , j o i n U R L : s , p r e p a r e R e q u e s t O p t i o n s : o , r e q u e s t : a } = n ( 2 0 ) ; e . e x p o r t s = { c r e a t e D i r e c t o r y : f u n c t i o n ( e , t ) { c o n s t n = { u r l : s ( t . r e m o t e U R L , i ( e ) ) , m e t h o d : " M K C O L " } ; r e t u r n o ( n , t ) , a ( n ) . t h e n ( r . h a n d l e R e s
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2020 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2021-03-31 13:34:13 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2021-03-17 11:45:22 +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/>.
*
* /
2021-03-09 23:04:31 +03:00
c . a . defaults . headers [ "X-Requested-With" ] = "XMLHttpRequest" , P . a . getPatcher ( ) . patch ( "request" , c . a ) ; var B = P . a . createClient ( j ( ) ) ; function I ( e , t , n , r , i , s , o ) { try { var a = e [ s ] ( o ) , l = a . value } catch ( e ) { return void n ( e ) } a . done ? t ( l ) : Promise . resolve ( l ) . then ( r , i ) } function N ( e ) { return function ( ) { var t = this , n = arguments ; return new Promise ( ( function ( r , i ) { var s = e . apply ( t , n ) ; function o ( e ) { I ( s , r , i , o , a , "next" , e ) } function a ( e ) { I ( s , r , i , o , a , "throw" , e ) } o ( void 0 ) } ) ) } }
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2020 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2021-03-31 13:34:13 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2021-03-17 11:45:22 +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/>.
*
2021-03-09 23:04:31 +03:00
* /var Y=function(e,t,n){return O.apply(this,arguments)};function O(){return(O=N(regeneratorRuntime.mark((function e(t,n,r){var i,s,o,l,u;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=["",t,n].join("/ "),e.next=3,c.a.post(j()+i,{actorDisplayName:Object(a.getCurrentUser)().displayName,actorId:Object(a.getCurrentUser)().uid,actorType:" users ",creationDateTime:(new Date).toUTCString(),message:r,objectType:" files ",verb:" comment "});case 3:return s=e.sent,o=parseInt(s.headers[" content - location "].split(" / ").pop()),l=i+" / "+o,e.next=8,B.stat(l,{details:!0});case 8:return u=e.sent,e.abrupt(" return ",u.data);case 10:case" end ":return e.stop()}}),e)})))).apply(this,arguments)}function F(e,t,n,r,i,s,o){try{var a=e[s](o),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,i)}function R(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var s=e.apply(t,n);function o(e){F(s,r,i,o,a," next ",e)}function a(e){F(s,r,i,o,a," throw " , e ) } o ( void 0 ) } ) ) } }
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2020 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2021-03-31 13:34:13 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2021-03-17 11:45:22 +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/>.
*
2021-03-09 23:04:31 +03:00
* /var U=function(e,t,n){return z.apply(this,arguments)};function z(){return(z=R(regeneratorRuntime.mark((function e(t,n,r){var i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=["",t,n,r].join("/ "),e.next=3,B.deleteFile(i);case 3:case" end ":return e.stop()}}),e)})))).apply(this,arguments)}function H(e,t,n,r,i,s,o){try{var a=e[s](o),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,i)}function G(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var s=e.apply(t,n);function o(e){H(s,r,i,o,a," next ",e)}function a(e){H(s,r,i,o,a," throw " , e ) } o ( void 0 ) } ) ) } }
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2020 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2021-03-31 13:34:13 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2021-03-17 11:45:22 +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/>.
*
2021-03-09 23:04:31 +03:00
* /var Q=function(e,t,n,r){return q.apply(this,arguments)};function q(){return(q=G(regeneratorRuntime.mark((function e(t,n,r,i){var s;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return s=["",t,n,r].join("/ "),e.next=3,B.customRequest(s,Object.assign({method:" PROPPATCH ",data:'<?xml version=" 1.0 "?>\n\t\t\t<d:propertyupdate\n\t\t\t\txmlns:d=" DAV : "\n\t\t\t\txmlns:oc=" http : //owncloud.org/ns">\n\t\t\t<d:set>\n\t\t\t\t<d:prop>\n\t\t\t\t\t<oc:message>'.concat(i,"</oc:message>\n\t\t\t\t</d:prop>\n\t\t\t</d:set>\n\t\t\t</d:propertyupdate>")}));case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var W=r(66);function Z(e,t,n,r,i,s,o){try{var a=e[s](o),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,i)}function $(e){return function(){var t=this,n=arguments;return new Promise((function(r,i){var s=e.apply(t,n);function o(e){Z(s,r,i,o,a,"next",e)}function a(e){Z(s,r,i,o,a,"throw",e)}o(void 0)}))}}
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2020 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2021-03-31 13:34:13 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2021-03-17 11:45:22 +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/>.
*
2021-04-08 15:51:24 +03:00
* / v a r J = { p r o p s : { i d : { t y p e : N u m b e r , d e f a u l t : n u l l } , m e s s a g e : { t y p e : S t r i n g , d e f a u l t : " " } , r e s s o u r c e I d : { t y p e : [ S t r i n g , N u m b e r ] , 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 { d e l e t e d : ! 1 , e d i t i n g : ! 1 , l o a d i n g : ! 1 } } , m e t h o d s : { o n E d i t : f u n c t i o n ( ) { t h i s . e d i t i n g = ! 0 } , o n E d i t C a n c e l : f u n c t i o n ( ) { t h i s . e d i t i n g = ! 1 , t h i s . u p d a t e L o c a l M e s s a g e ( t h i s . m e s s a g e ) } , o n E d i t C o m m e n t : f u n c t i o n ( e ) { v a r n = t h i s ; r e t u r n $ ( r e g e n e r a t o r R u n t i m e . m a r k ( ( f u n c t i o n 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 ( 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 n . l o a d i n g = ! 0 , r . p r e v = 1 , r . n e x t = 4 , Q ( n . c o m m e n t s T y p e , n . r e s s o u r c e I d , n . i d , e ) ; c a s e 4 : n . l o g g e r . d e b u g ( " C o m m e n t e d i t e d " , { c o m m e n t s T y p e : n . c o m m e n t s T y p e , r e s s o u r c e I d : n . r e s s o u r c e I d , i d : n . i d , m e s s a g e : e } ) , n . $ e m i t ( " u p d a t e : m e s s a g e " , e ) , n . e d i t i n g = ! 1 , r . n e x t = 1 3 ; 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 ( 1 ) , O b j e c t ( W . b ) ( t ( " c o m m e n t s " , " A n e r r o r o c c u r r e d w h i l e t r y i n g t o e d i t t h e c o m m e n t " ) ) , c o n s o l e . e r r o r ( r . t 0 ) ; c a s e 1 3 : r e t u r n r . p r e v = 1 3 , n . l o a d i n g = ! 1 , r . f i n i s h ( 1 3 ) ; c a s e 1 6 : c a s e " e n d " : r e t u r n r . s t o p ( ) } } ) , r , n u l l , [ [ 1 , 9 , 1 3 , 1 6 ] ] ) } ) ) ) ( ) } , o n D e l e t e W i t h U n d o : f u n c t i o n ( ) { v a r e = t h i s ; t h i s . d e l e t e d = ! 0 ; v a r n = s e t T i m e o u t ( t h i s . o n D e l e t e , W . a ) ; O b j e c t ( W . c ) ( t ( " c o m m e n t s " , " C o m m e n t d e l e t e d " ) , ( f u n c t i o n ( ) { c l e a r T i m e o u t ( n ) , e . d e l e t e d = ! 1 } ) ) } , o n D e l e t e : f u n c t i o n ( ) { v a r e = t h i s ; r e t u r n $ ( 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 ( ) { 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 , U ( e . c o m m e n t s T y p e , e . r e s s o u r c e I d , e . i d ) ; c a s e 3 : e . l o g g e r . d e b u g ( " C o m m e n t d e l e t e d " , { c o m m e n t s T y p e : e . c o m m e n t s T y p e , r e s s o u r c e I d : e . r e s s o u r c e I d , i d : e . i d } ) , e . $ e m i t ( " d e l e t e " , e . i d ) , n . n e x t = 1 2 ; b r e a k ; c a s e 7 : n . p r e v = 7 , n . t 0 = n . c a t c h ( 0 ) , O b j e c t ( W . b ) ( t ( " c o m m e n t s " , " A n e r r o r o c c u r r e d w h i l e t r y i n g t o d e l e t e t h e c o m m e n t " ) ) , c o n s o l e . e r r o r ( n . t 0 ) , e . d e l e t e d = ! 1 ; c a s e 1 2 : c a s e " e n d " : r e t u r n n . s t o p ( ) } } ) , n , n u l l , [ [ 0 , 7 ] ] ) } ) ) ) ( ) } , o n N e w C o m m e n t : f u n c t i o n ( e ) { v a r n = t h i s ; r e t u r n $ ( r e g e n e r a t o r R u n t i m e . m a r k ( ( f u n c t i o n r ( ) { v a r 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 n . l o a d i n g = ! 0 , r . p r e v = 1 , r . n e x t = 4 , Y ( n . c o m m e n t s T y p e , n . r e s s o u r c e I d , e ) ; c a s e 4 : i = r . s e n t , n . l o g g e r . d e b u g ( " N e w c o m m e n t p o s t e d " , { c o m m e n t s T y p e : n . c o m m e n t s T y p e , r e s s o u r c e I d : n . r e s s o u r c e I d , n e w C o m m e n t : i } ) , n . $ e m i t ( " n e w " , i ) , n . $ e m i t ( " u p d a t e : m e s s a g e " , " " ) , n . l o c a l M e s s a g e = " " , r . n e x t = 1 5 ; b r e a k ; c a s e 1 1 : r . p r e v = 1 1 , r . t 0 = r . c a t c h ( 1 ) , O b j e c t ( W . b ) ( t ( " c o m m e n t s " , " A n e r r o r o c c u r r e d w h i l e t r y i n g t o c r e a t e t h e c o m m e n t " ) ) , c o n s o l e . e r r o r ( r . t 0 ) ; c a s e 1 5 : r e t u r n r . p r e v = 1 5 , n . l o a d i n g = ! 1 , r . f i n i s h ( 1 5 ) ; c a s e 1 8 : c a s e " e n d " : r e t u r n r . s t o p ( ) } } ) , r , n u l l , [ [ 1 , 1 1 , 1 5 , 1 8 ] ] ) } ) ) ) ( ) } } } , V = { n a m e : " C o m m e n t " , 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 s : b . a , A c t i o n S e p a r a t o r : _ . a , A v a t a r : T . a , M o m e n t : L , R i c h C o n t e n t e d i t a b l e : x . a } , m i x i n s : [ S . a , J ] , i n h e r i t A t t r s : ! 1 , p r o p s : { a c t o r D i s p l a y N a m e : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , a c t o r I d : { t y p e : S t r i n g , r e q u i r e d : ! 0 } , c r e a t i o n D a t e T i m e : { t y p e : S t r i n g , d e f a u l t : n u l l } , e d i t o r : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , a u t o C o m p l e t e : { t y p e : F u n c t i o n , r e q u i r e d : ! 0 } } , d a t a : f u n c t i o n ( ) { r e t u r n { e x p a n d e d : ! 1 , l o c a l M e s s a g e : " " } } , c o m p u t e d : { i s O w n C o m m e n t : f u n c t i o n ( ) { r e t u r n O b j e c t ( a . g e t C u r r e n t U s e r ) ( ) . u i d = = = t h i s . a c t o r I d } , r e n d e r e d C o n t e n t : f u n c t i o n ( ) { r e t u r n t h i s . i s E m p t y M e s s a g e ? " " : t h i s . r e n d e r C o n t e n t ( t h i s . l o c a l M e s s a g e ) } , i s E m p t y M e s s a g e : f u n c t i o n ( ) { r e t u r n ! t h i s . l o c a l M e s s a g e | | " " = = = t h i s . l o c a l M e s s a g e . t r i m ( ) } , t i m e s t a m p : f u n c t i o n ( ) { r e t u r n p a r s e I n t ( g ( ) ( t h i s . c r e a t i o n D a t e T i m e ) . f o r m a t ( " x " ) , 1 0 ) / 1 e 3 } } , w a t c h : { m e s s a g e : f u n c t i o n ( e ) { t h i s . u p d a t e L o c a l M e s s a g e ( e ) } } , b e f o r e M o u n t : f u n c t i o n ( ) { t h i s . u p d a t e L o c a l M e s s a g e ( t h i s . m e s s a g e ) } , m e t h o d s : { u p d a t e L o c a l M e s s a g e : f u n c t i o n ( e ) { t h i s . l o c a l M e s s a g e = e . t o S t r i n g ( ) } , o n S u b m i t : f u n c t i o n ( ) { v a r e = t h i s ; i f ( " " ! = = t h i s . l o c a l M e s s a g e . t r i m ( ) ) r e t u r n t h i s . e d i t o r ? ( t h i s . o n N e w C o m m e n t ( t h i s . l o c a l M e s s a g e . t r i m ( ) ) , v o i d t h i s . $ n e x t T i c k ( ( f u n c t i o n ( ) { e . $ r e f s . e d i t o r . $ e l . f o c u s ( ) } ) ) ) : v o i d t h i s . o n E d i t C o m m e n t ( t h i s . l o c a l M e s s a g e . t r i m ( ) ) } , o n E x p a n d : f u n c t i o n ( ) { t h i s . e x p a n d e d = ! 0 } } } , K = r ( 1 1 6 ) , X = r . n ( K ) , e e = r ( 1 9 4 ) , t e = { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } , n e = ( X ( ) ( e e . a , t e ) , e e . a . l o c a l s , C ( V , ( f u n c t i o n ( ) { v a r e = t h i s , t = e . $ c r e a t e E l e m e n t , n = e . _ s e l f . _ c | | t ; r e t u r n n ( " d i v " , { d i r e c t i v e s : [ { n a m e : " s h o w " , r a w N a m e : " v - s h o w " , v a l u e : ! e . d e l e t e d , e x p r e s s i o n : " ! d e l e t e d " } ] , s t a t i c C l a s s : " c o m m e n t " , c l a s s : { " c o m m e n t - - l o a d i n g " : e . l o a d i n g } } , [ n ( " d i v " , { s t a t i c C l a s s : " c o m m e n t _ _ h e a d e r " } , [ n ( " A v a t a r " , { s t a t i c C l a s s : " c o m m e n t _ _ a v a t a r " , a t t r s : { " d i s p l a y - n a m e " : e . a c t o r D i s p l a y N a m e , u s e r
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2020 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2021-03-31 13:34:13 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2021-03-17 11:45:22 +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/>.
*
2021-03-09 23:04:31 +03:00
* /var ae=function(e){return le.apply(this,arguments)};function le(){return(le=oe(regeneratorRuntime.mark((function e(t){var n,r,i,s,o,a=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.commentsType,r=t.ressourceId,i=a.length>1&&void 0!==a[1]?a[1]:{},s=null,o=["",n,r].join("/ "),e.next=6,B.customRequest(o,Object.assign({method:" REPORT ",data:'<?xml version=" 1.0 "?>\n\t\t\t<oc:filter-comments\n\t\t\t\txmlns:d=" DAV : "\n\t\t\t\txmlns:oc=" http : //owncloud.org/ns"\n\t\t\t\txmlns:nc="http://nextcloud.org/ns"\n\t\t\t\txmlns:ocs="http://open-collaboration-services.org/ns">\n\t\t\t\t<oc:limit>'.concat(20,"</oc:limit>\n\t\t\t\t<oc:offset>").concat(i.offset||0,"</oc:offset>\n\t\t\t</oc:filter-comments>")},i)).then((function(e){return s=e,e.data})).then(re.parseXML).then((function(e){return ue(e,!0)})).then((function(e){return Object(ie.processResponsePayload)(s,e,!0)})).then((function(e){return e.data}));case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function ue(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.multistatus.response;return n.map((function(e){var n=e.propstat.prop;return Object(re.prepareFileFromProps)(n,n.id.toString(),t)}))}function ce(e,t,n,r,i,s,o){try{var a=e[s](o),l=a.value}catch(e){return void n(e)}a.done?t(l):Promise.resolve(l).then(r,i)}
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2020 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2021-03-31 13:34:13 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2021-03-17 11:45:22 +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/>.
*
* /
2021-04-08 15:51:24 +03:00
var me = function ( e ) { var t = c . a . CancelToken . source ( ) ; return { request : function ( ) { var n , r = ( n = regeneratorRuntime . mark ( ( function n ( r , i ) { return regeneratorRuntime . wrap ( ( function ( n ) { for ( ; ; ) switch ( n . prev = n . next ) { case 0 : return n . abrupt ( "return" , e ( r , Object . assign ( { cancelToken : t . token } , i ) ) ) ; case 1 : case "end" : return n . stop ( ) } } ) , n ) } ) ) , function ( ) { var e = this , t = arguments ; return new Promise ( ( function ( r , i ) { var s = n . apply ( e , t ) ; function o ( e ) { ce ( s , r , i , o , a , "next" , e ) } function a ( e ) { ce ( s , r , i , o , a , "throw" , e ) } o ( void 0 ) } ) ) } ) ; return function ( e , t ) { return r . apply ( this , arguments ) } } ( ) , cancel : t . cancel } } ; function de ( e ) { return function ( e ) { if ( Array . isArray ( e ) ) return he ( e ) } ( e ) || function ( e ) { if ( "undefined" != typeof Symbol && Symbol . iterator in Object ( e ) ) return Array . from ( e ) } ( e ) || function ( e , t ) { if ( ! e ) return ; if ( "string" == typeof e ) return he ( e , t ) ; var n = Object . prototype . toString . call ( e ) . slice ( 8 , - 1 ) ; "Object" === n && e . constructor && ( n = e . constructor . name ) ; if ( "Map" === n || "Set" === n ) return Array . from ( e ) ; if ( "Arguments" === n || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/ . test ( n ) ) return he ( e , t ) } ( e ) || function ( ) { throw new TypeError ( "Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method." ) } ( ) } function he ( e , t ) { ( null == t || t > e . length ) && ( t = e . length ) ; for ( var n = 0 , r = new Array ( t ) ; n < t ; n ++ ) r [ n ] = e [ n ] ; return r } function fe ( e , t , n , r , i , s , o ) { try { var a = e [ s ] ( o ) , l = a . value } catch ( e ) { return void n ( e ) } a . done ? t ( l ) : Promise . resolve ( l ) . then ( r , i ) } function pe ( e ) { return function ( ) { var t = this , n = arguments ; return new Promise ( ( function ( r , i ) { var s = e . apply ( t , n ) ; function o ( e ) { fe ( s , r , i , o , a , "next" , e ) } function a ( e ) { fe ( s , r , i , o , a , "throw" , e ) } o ( void 0 ) } ) ) } } d . default . use ( m . default ) ; var ge = { name : "Comments" , components : { Comment : ne , EmptyContent : f . a } , data : function ( ) { return { error : "" , loading : ! 1 , done : ! 1 , ressourceId : null , offset : 0 , comments : [ ] , cancelRequest : function ( ) { } , editorData : { actorDisplayName : Object ( a . getCurrentUser ) ( ) . displayName , actorId : Object ( a . getCurrentUser ) ( ) . uid , key : "editor" } , Comment : ne } } , computed : { hasComments : function ( ) { return this . comments . length > 0 } , isFirstLoading : function ( ) { return this . loading && 0 === this . offset } } , methods : { update : function ( e ) { var t = this ; return pe ( regeneratorRuntime . mark ( ( function n ( ) { return regeneratorRuntime . wrap ( ( function ( n ) { for ( ; ; ) switch ( n . prev = n . next ) { case 0 : t . ressourceId = e , t . resetState ( ) , t . getComments ( ) ; case 3 : case "end" : return n . stop ( ) } } ) , n ) } ) ) ) ( ) } , onScrollBottomReached : function ( ) { this . error || this . done || this . loading || this . getComments ( ) } , genMentionsData : function ( e ) { return Object . values ( e ) . flat ( ) . reduce ( ( function ( e , t ) { return e [ t . mentionId ] = { icon : "icon-user" , id : t . mentionId , label : t . mentionDisplayName , source : "users" , primary : Object ( a . getCurrentUser ) ( ) . uid === t . mentionId } , e } ) , { } ) } , getComments : function ( ) { var e = this ; return pe ( regeneratorRuntime . mark ( ( function n ( ) { var r , i , s , o , a ; return regeneratorRuntime . wrap ( ( function ( n ) { for ( ; ; ) switch ( n . prev = n . next ) { case 0 : return e . cancelRequest ( "cancel" ) , n . prev = 1 , e . loading = ! 0 , e . error = "" , i = me ( ae ) , s = i . request , o = i . cancel , e . cancelRequest = o , n . next = 8 , s ( { commentsType : e . commentsType , ressourceId : e . ressourceId } , { offset : e . offset } ) ; case 8 : a = n . sent , e . logger . debug ( "Processed " . concat ( a . length , " comments" ) , { comments : a } ) , a . length < 20 && ( e . done = ! 0 ) , ( r = e . comments ) . push . apply ( r , de ( a ) ) , e . offset += 20 , n . next = 21 ; break ; case 15 : if ( n . prev = 15 , n . t0 = n . catch ( 1 ) , "cancel" !== n . t0 . message ) { n . next = 19 ; break } return n . abrupt ( "return" ) ; case 19 : e . error = t ( "comments" , "Unable to load the comments list" ) , console . error ( "Error loading the comments list" , n . t0 ) ; case 21 : return n . prev = 21 , e . loading = ! 1 , n . finish ( 21 ) ; case 24 : case "end" : return n . stop ( ) } } ) , n , null , [ [ 1 , 15 , 21 , 24 ] ] ) } ) ) ) ( ) } , autoComplete : function ( e , t ) { var n = this ; return pe ( regeneratorRuntime . mark ( ( function r ( ) { var i ; return regeneratorRuntime . wrap ( ( function ( r ) { for ( ; ; ) switch ( r . prev = r . next ) { case 0 : return r . next = 2 , c . a . get ( Object ( o . generateOcsUrl ) ( "core" , 2 ) + "autocomplete/get" , { params : { search : e , itemType : "files" , itemId : n . ressourceId , sorter : "commenters|share-recipients" , limit : Object ( l . loadState ) ( "comments" , "maxAutoCompleteResults" ) } } ) ; case 2 : return i = r . sent , r . abrupt ( "return" , t ( i . data . ocs . data ) ) ; case 4 : case "end" : return r . st
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2020 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2021-03-31 13:34:13 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2021-03-17 11:45:22 +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/>.
*
2021-03-09 23:04:31 +03:00
* / v a r M e = O b j e c t ( i . g e t L o g g e r B u i l d e r ) ( ) . s e t A p p ( " c o m m e n t s " ) . d e t e c t U s e r ( ) . b u i l d ( ) ; d . d e f a u l t . m i x i n ( { d a t a : f u n c t i o n ( ) { r e t u r n { l o g g e r : M e } } , m e t h o d s : { t : s . t r a n s l a t e , n : s . t r a n s l a t e P l u r a l } } ) ;
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2020 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2021-03-09 23:04:31 +03:00
window . OCA && ! window . OCA . Comments && Object . assign ( window . OCA , { Comments : { } } ) , Object . assign ( window . OCA . Comments , { View : function e ( ) { var t = arguments . length > 0 && void 0 !== arguments [ 0 ] ? arguments [ 0 ] : "files" , n = arguments . length > 1 ? arguments [ 1 ] : void 0 ; be ( this , e ) , d . default . mixin ( { data : function ( ) { return { commentsType : t } } } ) ; var r = d . default . extend ( ye ) ; return new r ( n ) } } ) , console . debug ( "OCA.Comments.View initialized" ) } ] ) ;
2020-10-20 15:24:01 +03:00
//# sourceMappingURL=comments-app.js.map