2021-05-29 13:14:51 +03:00
! function ( e ) { var t = { } ; function n ( r ) { if ( t [ r ] ) return t [ r ] . exports ; var a = t [ r ] = { i : r , l : ! 1 , exports : { } } ; return e [ r ] . call ( a . exports , a , a . exports , n ) , a . l = ! 0 , a . 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 a in e ) n . d ( r , a , function ( t ) { return e [ t ] } . bind ( null , a ) ) ; 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 = 722 ) } ( [ function ( e , t , n ) { ( function ( e ) { e . exports = function ( ) { "use strict" ; var t , r ; function a ( ) { return t . apply ( null , arguments ) } function o ( e ) { return e instanceof Array || "[object Array]" === Object . prototype . toString . call ( e ) } function i ( e ) { return null != e && "[object Object]" === Object . prototype . toString . call ( e ) } function s ( 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 d ( e , t ) { return Object . prototype . hasOwnProperty . call ( e , t ) } function p ( e , t ) { for ( var n in t ) d ( t , n ) && ( e [ n ] = t [ n ] ) ; return d ( t , "toString" ) && ( e . toString = t . toString ) , d ( t , "valueOf" ) && ( e . valueOf = t . valueOf ) , e } function A ( e , t , n , r ) { return xt ( 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 m ( e ) { if ( null == e . _isValid ) { var t = f ( e ) , n = r . call ( t . parsedDateParts , ( function ( e ) { return null != e } ) ) , a = ! 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 && ( a = a && 0 === t . charsLeftOver && 0 === t . unusedTokens . length && void 0 === t . bigHour ) , null != Object . isFrozen && Object . isFrozen ( e ) ) return a ; e . _isValid = a } return e . _isValid } function h ( e ) { var t = A ( NaN ) ; return null != e ? p ( 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 g = a . momentProperties = [ ] ; function v ( e , t ) { var n , r , a ; if ( s ( t . _isAMomentObject ) || ( e . _isAMomentObject = t . _isAMomentObject ) , s ( t . _i ) || ( e . _i = t . _i ) , s ( t . _f ) || ( e . _f = t . _f ) , s ( t . _l ) || ( e . _l = t . _l ) , s ( t . _strict ) || ( e . _strict = t . _strict ) , s ( t . _tzm ) || ( e . _tzm = t . _tzm ) , s ( t . _isUTC ) || ( e . _isUTC = t . _isUTC ) , s ( t . _offset ) || ( e . _offset = t . _offset ) , s ( t . _pf ) || ( e . _pf = f ( t ) ) , s ( t . _locale ) || ( e . _locale = t . _locale ) , g . length > 0 ) for ( n = 0 ; n < g . length ; n ++ ) s ( a = t [ r = g [ n ] ] ) || ( e [ r ] = a ) ; 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 , a . updateOffset ( this ) , y = ! 1 ) } function _ ( e ) { return e instanceof b || null != e && null != e . _isAMomentObject } function w ( e ) { return e < 0 ? Math . ceil ( e ) || 0 : Math . floor ( e ) } function M ( e ) { var t = + e , n = 0 ; return 0 !== t && isFinite ( t ) && ( n = w ( t ) ) , n } function x ( e , t , n ) { var r , a = Math . min ( e . length , t . length ) , o = Math . abs ( e . length - t . length ) , i = 0 ; for ( r = 0 ; r < a ; r ++ ) ( n && e [ r ] !== t [ r ] || ! n && M ( e [ r ] ) !== M ( t [ r ] ) ) && i ++ ; return i + o } function T ( e ) { ! 1 === a . suppressDeprecationWarnings && "undefined" != typeof console && console . warn && console . warn ( "Deprecation warning: " + e ) } function C ( e , t ) { var n = ! 0 ; return p ( ( function ( ) { if ( null != a . deprecationHandler && a . deprecationHandler ( null , e ) , n ) { for ( var r , o = [ ] , i = 0 ; i < arguments . length ; i ++ ) { if ( r = "" , "object" == typeof arguments [ i ] ) { for ( var s in r += "\n[" + i + "] " , arguments [ 0 ] ) r += s + ": " + arguments [ 0 ] [ s ] + ", " ; r = r . slice ( 0 , - 2 ) } else r = arguments [
2021-03-17 11:45:22 +03:00
/ * !
* Vue . js v2 . 6.12
* ( c ) 2014 - 2020 Evan You
* Released under the MIT License .
* /
2021-05-29 13:14:51 +03:00
var r = Object . freeze ( { } ) ; function a ( e ) { return null == e } function o ( e ) { return null != e } function i ( e ) { return ! 0 === e } function s ( 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 d ( e ) { return "[object RegExp]" === u . call ( e ) } function p ( e ) { var t = parseFloat ( String ( e ) ) ; return t >= 0 && Math . floor ( t ) === t && isFinite ( e ) } function A ( e ) { return o ( 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 m ( e ) { var t = parseFloat ( e ) ; return isNaN ( t ) ? e : t } function h ( e , t ) { for ( var n = Object . create ( null ) , r = e . split ( "," ) , a = 0 ; a < r . length ; a ++ ) n [ r [ a ] ] = ! 0 ; return t ? function ( e ) { return n [ e . toLowerCase ( ) ] } : function ( e ) { return n [ e ] } } h ( "slot,component" , ! 0 ) ; var g = h ( "key,ref,slot,slot-scope,is" ) ; function v ( e , t ) { if ( e . length ) { var n = e . indexOf ( t ) ; if ( n > - 1 ) return e . splice ( n , 1 ) } } var y = Object . prototype . hasOwnProperty ; function b ( e , t ) { return y . call ( e , t ) } function _ ( e ) { var t = Object . create ( null ) ; return function ( n ) { return t [ n ] || ( t [ n ] = e ( n ) ) } } var w = /-(\w)/g , M = _ ( ( function ( e ) { return e . replace ( w , ( function ( e , t ) { return t ? t . toUpperCase ( ) : "" } ) ) } ) ) , x = _ ( ( function ( e ) { return e . charAt ( 0 ) . toUpperCase ( ) + e . slice ( 1 ) } ) ) , T = /\B([A-Z])/g , C = _ ( ( function ( e ) { return e . replace ( T , "-$1" ) . toLowerCase ( ) } ) ) ; var L = 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 k ( e , t ) { t = t || 0 ; for ( var n = e . length - t , r = new Array ( n ) ; n -- ; ) r [ n ] = e [ n + t ] ; return r } function E ( e , t ) { for ( var n in t ) e [ n ] = t [ n ] ; return e } function S ( e ) { for ( var t = { } , n = 0 ; n < e . length ; n ++ ) e [ n ] && E ( t , e [ n ] ) ; return t } function D ( e , t , n ) { } var B = function ( e , t , n ) { return ! 1 } , I = function ( e ) { return e } ; function Y ( 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 a = Array . isArray ( e ) , o = Array . isArray ( t ) ; if ( a && o ) return e . length === t . length && e . every ( ( function ( e , n ) { return Y ( e , t [ n ] ) } ) ) ; if ( e instanceof Date && t instanceof Date ) return e . getTime ( ) === t . getTime ( ) ; if ( a || o ) return ! 1 ; var i = Object . keys ( e ) , s = Object . keys ( t ) ; return i . length === s . length && i . every ( ( function ( n ) { return Y ( e [ n ] , t [ n ] ) } ) ) } catch ( e ) { return ! 1 } } function N ( e , t ) { for ( var n = 0 ; n < e . length ; n ++ ) if ( Y ( e [ n ] , t ) ) return n ; return - 1 } function j ( e ) { var t = ! 1 ; return function ( ) { t || ( t = ! 0 , e . apply ( this , arguments ) ) } } var O = [ "component" , "directive" , "filter" ] , P = [ "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 : B , isReservedAttr : B , isUnknownElement : B , getTagNamespace : D , parsePlatformTagName : I , mustUseProp : B , async : ! 0 , _lifecycleHooks : P } , H = /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 z ( e , t , n , r ) { Object . defineProperty ( e , t , { value : n , enumerable : ! ! r , writable : ! 0 , configurable : ! 0 } ) } var U = new RegExp ( "[^" + H . source + ".$_\\d]" ) ; var R , Q = "__proto__" in { } , G = "undefined" != typeof window , W = "undefined" != typeof WXEnvironment && ! ! WXEnvironment . platform , q = W && WXEnvironment . platform . toLowerCase ( ) , $ = G && window . navigator . userAgent . toLowerCase ( ) , J = $ && /msie|trident/ . test ( $ ) , V = $ && $ . indexOf ( "msie 9.0" ) > 0 , Z = $ && $ . indexOf ( "edge/" ) > 0 , X = ( $ && $ . indexOf ( "android" ) , $ && /iphone|ipad|ipod|ios/ . test ( $ ) || "ios" === q ) , K = ( $ && /chrome\/\d+/ . test ( $ ) , $ && /phantomjs/ . test ( $ ) , $ && $ . match ( /firefox\/(\d+)/ ) ) , ee = { } . watch , te = ! 1 ; if ( G ) 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 === R && ( R = ! G && ! W && void 0 !== e && ( e . process && "server" === e . process . env . VUE _ENV ) ) , R } , ae = G && window . _ _VUE _DEVTOOLS _GLOBAL _HOOK _ _ ; function oe ( 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-05-29 13:14:51 +03:00
* /var r=/ [ "'&<>]/;e.exports=function(e){var t,n=" "+e,a=r.exec(n);if(!a)return n;var o=" ",i=0,s=0;for(i=a.index;i<n.length;i++){switch(n.charCodeAt(i)){case 34:t=" & quot ; ";break;case 38:t=" & amp ; ";break;case 39:t=" & # 39 ; ";break;case 60:t=" & lt ; ";break;case 62:t=" & gt ; ";break;default:continue}s!==i&&(o+=n.substring(s,i)),s=i+1,o+=t}return s!==i?o+n.substring(s,i):o}},function(e,t,n){" use strict ";var r,a=n(1),o=n(31).f,i=n(12),s=n(597),l=n(32),u=n(598),c=n(36),d=" ".startsWith,p=Math.min,A=u(" startsWith ");a({target:" String ",proto:!0,forced:!!(c||A||(r=o(String.prototype," startsWith "),!r||r.writable))&&!A},{startsWith:function(e){var t=String(l(this));s(e);var n=i(p(arguments.length>1?arguments[1]:void 0,t.length)),r=String(e);return d?d.call(t,r,n):t.slice(n,n+r.length)===r}})},function(e,t,n){var r=n(8),a=n(35),o=n(3)(" match ");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[o])?!!t:" RegExp "==a(e))}},function(e,t,n){" use strict ";var r=n(137),a=n(157),o=n(6),i=n(32),s=n(377),l=n(138),u=n(12),c=n(139),d=n(91),p=n(136).UNSUPPORTED_Y,A=[].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(i(this)),o=void 0===n?4294967295:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!a(e))return t.call(r,e,o);for(var s,l,u,c=[],p=(e.ignoreCase?" i ":" ")+(e.multiline?" m ":" ")+(e.unicode?" u ":" ")+(e.sticky?" y ":" "),f=0,m=new RegExp(e.source,p+" g ");(s=d.call(m,r))&&!((l=m.lastIndex)>f&&(c.push(r.slice(f,s.index)),s.length>1&&s.index<r.length&&A.apply(c,s.slice(1)),u=s[0].length,f=l,c.length>=o));)m.lastIndex===s.index&&m.lastIndex++;return f===r.length?!u&&m.test(" ")||c.push(" "):c.push(r.slice(f)),c.length>o?c.slice(0,o):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 a=i(this),o=null==t?void 0:t[e];return void 0!==o?o.call(t,a,n):r.call(String(a),t,n)},function(e,a){var i=n(r,e,this,a,r!==t);if(i.done)return i.value;var d=o(e),A=String(this),m=s(d,RegExp),h=d.unicode,g=(d.ignoreCase?" i ":" ")+(d.multiline?" m ":" ")+(d.unicode?" u ":" ")+(p?" g ":" y "),v=new m(p?" ^ ( ? : "+d.source+" ) ":d,g),y=void 0===a?4294967295:a>>>0;if(0===y)return[];if(0===A.length)return null===c(v,A)?[A]:[];for(var b=0,_=0,w=[];_<A.length;){v.lastIndex=p?0:_;var M,x=c(v,p?A.slice(_):A);if(null===x||(M=f(u(v.lastIndex+(p?_:0)),A.length))===b)_=l(A,_,h);else{if(w.push(A.slice(b,_)),w.length===y)return w;for(var T=1;T<=x.length-1;T++)if(w.push(x[T]),w.length===y)return w;_=b=M}}return w.push(A.slice(b)),w}]}),p)},function(e,t,n){var r,a,o,i,s;r=n(599),a=n(381).utf8,o=n(600),i=n(381).bin,(s=function(e,t){e.constructor==String?e=t&&" binary " === t . encoding ? i . stringToBytes ( e ) : a . stringToBytes ( e ) : o ( e ) ? e = Array . prototype . slice . call ( e , 0 ) : Array . isArray ( e ) || e . constructor === Uint8Array || ( e = e . toString ( ) ) ; for ( var n = r . bytesToWords ( e ) , l = 8 * e . length , u = 1732584193 , c = - 271733879 , d = - 1732584194 , p = 271733878 , A = 0 ; A < n . length ; A ++ ) n [ A ] = 16711935 & ( n [ A ] << 8 | n [ A ] >>> 24 ) | 4278255360 & ( n [ A ] << 24 | n [ A ] >>> 8 ) ; n [ l >>> 5 ] |= 128 << l % 32 , n [ 14 + ( l + 64 >>> 9 << 4 ) ] = l ; var f = s . _ff , m = s . _gg , h = s . _hh , g = s . _ii ; for ( A = 0 ; A < n . length ; A += 16 ) { var v = u , y = c , b = d , _ = p ; u = f ( u , c , d , p , n [ A + 0 ] , 7 , - 680876936 ) , p = f ( p , u , c , d , n [ A + 1 ] , 12 , - 389564586 ) , d = f ( d , p , u , c , n [ A + 2 ] , 17 , 606105819 ) , c = f ( c , d , p , u , n [ A + 3 ] , 22 , - 1044525330 ) , u = f ( u , c , d , p , n [ A + 4 ] , 7 , - 176418897 ) , p = f ( p , u , c , d , n [ A + 5 ] , 12 , 1200080426 ) , d = f ( d , p , u , c , n [ A + 6 ] , 17 , - 1473231341 ) , c = f ( c , d , p , u , n [ A + 7 ] , 22 , - 45705983 ) , u = f ( u , c , d , p , n [ A + 8 ] , 7 , 1770035416 ) , p = f ( p , u , c , d , n [ A + 9 ] , 12 , - 1958414417 ) , d = f ( d , p , u , c , n [ A + 10 ] , 17 , - 42063 ) , c = f ( c , d , p , u , n [ A + 11 ] , 22 , - 1990404162 ) , u = f ( u , c , d , p , n [ A + 12 ] , 7 , 1804603682 ) , p = f ( p , u , c , d , n [ A + 13 ] , 12 , - 40341101 ) , d = f ( d , p , u , c , n [ A + 14 ] , 17 , - 1502002290 ) , u = m ( u , c = f ( c , d , p , u , n [ A + 15 ] , 22 , 1236535329 ) , d , p , n [ A + 1 ] , 5 , - 165796510 ) , p = m ( p , u , c , d , n [ A + 6 ] , 9 , - 1069501632 ) , d = m ( d , p , u , c , n [ A + 11 ] , 14 , 643717713 ) , c = m ( c , d , p , u , n [ A + 0 ] , 20 , - 373897302 ) , u = m ( u , c , d , p , n [ A + 5 ] , 5 , - 701558691 ) , p = m ( p , u , c , d , n [ A + 10 ] , 9 , 38016083 ) , d = m ( d , p , u , c , n [ A + 15 ] , 14 , - 660478335 ) , c = m ( c , d , p , u , n [ A + 4 ] , 20 , - 405537848 ) , u = m ( u , c , d , p , n [ A + 9 ] , 5 , 568446438 ) , p
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-05-29 13:14:51 +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 a = n && window . Promise ? function ( e ) { var t = ! 1 ; return function ( ) { t || ( t = ! 0 , window . Promise . resolve ( ) . then ( ( function ( ) { t = ! 1 , e ( ) } ) ) ) } } : function ( e ) { var t = ! 1 ; return function ( ) { t || ( t = ! 0 , setTimeout ( ( function ( ) { t = ! 1 , e ( ) } ) , r ) ) } } ; function o ( e ) { return e && "[object Function]" === { } . toString . call ( e ) } function i ( e , t ) { if ( 1 !== e . nodeType ) return [ ] ; var n = e . ownerDocument . defaultView . getComputedStyle ( e , null ) ; return t ? n [ t ] : n } function s ( 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 = i ( e ) , n = t . overflow , r = t . overflowX , a = t . overflowY ; return /(auto|scroll|overlay)/ . test ( n + a + r ) ? e : l ( s ( e ) ) } function u ( e ) { return e && e . referenceNode ? e . referenceNode : e } var c = n && ! ( ! window . MSInputMethodContext || ! document . documentMode ) , d = n && /MSIE 10/ . test ( navigator . userAgent ) ; function p ( e ) { return 11 === e ? c : 10 === e ? d : c || d } function A ( e ) { if ( ! e ) return document . documentElement ; for ( var t = p ( 10 ) ? document . body : null , n = e . offsetParent || null ; n === t && e . nextElementSibling ; ) n = ( e = e . nextElementSibling ) . offsetParent ; var r = n && n . nodeName ; return r && "BODY" !== r && "HTML" !== r ? - 1 !== [ "TH" , "TD" , "TABLE" ] . indexOf ( n . nodeName ) && "static" === i ( n , "position" ) ? A ( n ) : n : e ? e . ownerDocument . documentElement : document . documentElement } function f ( e ) { return null !== e . parentNode ? f ( e . parentNode ) : e } function m ( 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 , a = n ? t : e , o = document . createRange ( ) ; o . setStart ( r , 0 ) , o . setEnd ( a , 0 ) ; var i , s , l = o . commonAncestorContainer ; if ( e !== l && t !== l || r . contains ( a ) ) return "BODY" === ( s = ( i = l ) . nodeName ) || "HTML" !== s && A ( i . firstElementChild ) !== i ? A ( l ) : l ; var u = f ( e ) ; return u . host ? m ( u . host , t ) : m ( e , f ( t ) . host ) } function h ( 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 a = e . ownerDocument . documentElement , o = e . ownerDocument . scrollingElement || a ; return o [ n ] } return e [ n ] } function g ( e , t ) { var n = arguments . length > 2 && void 0 !== arguments [ 2 ] && arguments [ 2 ] , r = h ( t , "top" ) , a = h ( t , "left" ) , o = n ? - 1 : 1 ; return e . top += r * o , e . bottom += r * o , e . left += a * o , e . right += a * o , 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 ] , p ( 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 = p ( 10 ) && getComputedStyle ( n ) ; return { height : y ( "Height" , t , n , r ) , width : y ( "Width" , t , n , r ) } } var _ = function ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } , w = 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 } } ( ) , M = function ( e , t , n ) { return t in e ? Object . defineProperty ( e , t , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : e [ t ] = n , e } , x = 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 T ( e ) { return x ( { } , e , { right : e . left + e . width , bottom : e . top + e . height } ) } function C ( e ) { var t = { } ; try { if ( p ( 10 ) ) { t = e . getBoundingClientRect ( ) ; var n = h ( e , "top" ) , r = h ( e , "left" ) ; t . top += n , t . left += r , t . bottom += n , t . right += r } else t = e . getBoundingClientRect ( ) } catch ( e ) { } var a = { left : t . left , top : t . top , width : t . right - t . left , height : t . bottom - t . top } , o = "HTML" === e . nodeName ? b ( e . ownerDocument ) : { } , s = o . width || e . clientWidth || a . width , l = o . height || e . clientHeight || a . height , u = e . offsetWidth - s , c = e . offsetHeight - l ; if ( u || c ) { var d = i ( e ) ; u -= v ( d , "x" ) , c -
2021-05-27 11:17:34 +03:00
/ * !
* The buffer module from node . js , for the browser .
*
* @ author Feross Aboukhadijeh < http : //feross.org>
* @ license MIT
* /
2021-05-29 13:14:51 +03:00
var r = n ( 697 ) , a = n ( 698 ) , o = n ( 699 ) ; function i ( ) { return l . TYPED _ARRAY _SUPPORT ? 2147483647 : 1073741823 } function s ( e , t ) { if ( i ( ) < 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 d ( 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 = p ( 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 ) , a = ( e = s ( e , r ) ) . write ( t , n ) ; a !== r && ( e = e . slice ( 0 , a ) ) ; return e } ( e , t , n ) : function ( e , t ) { if ( l . isBuffer ( t ) ) { var n = 0 | A ( t . length ) ; return 0 === ( e = s ( 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 ? s ( e , 0 ) : p ( e , t ) ; if ( "Buffer" === t . type && o ( t . data ) ) return p ( 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 d ( e , t ) { if ( c ( t ) , e = s ( e , t < 0 ? 0 : 0 | A ( t ) ) , ! l . TYPED _ARRAY _SUPPORT ) for ( var n = 0 ; n < t ; ++ n ) e [ n ] = 0 ; return e } function p ( e , t ) { var n = t . length < 0 ? 0 : 0 | A ( t . length ) ; e = s ( e , n ) ; for ( var r = 0 ; r < n ; r += 1 ) e [ r ] = 255 & t [ r ] ; return e } function A ( e ) { if ( e >= i ( ) ) throw new RangeError ( "Attempt to allocate Buffer larger than maximum size: 0x" + i ( ) . 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 H ( e ) . length ; case "ucs2" : case "ucs-2" : case "utf16le" : case "utf-16le" : return 2 * n ; case "hex" : return n >>> 1 ; case "base64" : return z ( e ) . length ; default : if ( r ) return H ( e ) . length ; t = ( "" + t ) . toLowerCase ( ) , r = ! 0 } } function m ( 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 E ( this , t , n ) ; case "utf8" : case "utf-8" : return C ( this , t , n ) ; case "ascii" : return L ( this , t , n ) ; case "latin1" : case "binary" : return k ( this , t , n ) ; case "base64" : return T ( this , t , n ) ; case "ucs2" : case "ucs-2" : case "utf16le" : case "utf-16le" : return S ( this , t , n ) ; default : if ( r ) throw new TypeError ( "Unknown encoding: " + e ) ; e = ( e + "" ) . toLowerCase ( ) , r = ! 0 } } function h ( e , t , n ) { var r = e [ t ] ; e [ t ] = e [ n ] , e [ n ] = r } function g ( e , t , n , r , a ) { 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 = a ? 0 : e . length - 1 ) , n < 0 && ( n = e . length + n ) , n >= e . length ) { if ( a ) return - 1 ; n = e . length - 1 } else if ( n < 0 ) { if ( ! a ) 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 , a ) ; if ( "number" == typeof t ) return t &= 255 , l . TYPED _ARRAY _SUPPORT && "function" == typeof Uint8Array . prototype . indexOf ? a ? Uint8Array . prototype . indexOf . call ( e , t , n ) : Uint8Array . prototype . lastIndexOf . call ( e , t , n ) : v ( e , [ t ] , n , r , a ) ; throw new TypeError ( "val must be string, number or Buffer" ) } function v ( e , t , n , r , a ) { var o , i = 1 , s = e . length , l = t . length ; if ( void 0 !== r && ( "ucs2" === ( r = String ( r ) . toLowerCase ( ) ) || "
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/>.
*
2021-05-27 11:17:34 +03:00
* /t.default=r.a},2:function(e,t,n){"use strict";var r,a=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]}}(),o=[];function i(e){for(var t=-1,n=0;n<o.length;n++)if(o[n].identifier===e){t=n;break}return t}function s(e,t){for(var n={},r=[],a=0;a<e.length;a++){var s=e[a],l=t.base?s[0]+t.base:s[0],u=n[l]||0,c="".concat(l," ").concat(u);n[l]=u+1;var d=i(c),p={css:s[1],media:s[2],sourceMap:s[3]};-1!==d?(o[d].references++,o[d].updater(p)):o.push({identifier:c,updater:m(p,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 o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var i=a(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var u,c=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function d(e,t,n,r){var a=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=c(t,a);else{var o=document.createTextNode(a),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(o,i[t]):e.appendChild(o)}}function p(e,t,n){var r=n.css,a=n.media,o=n.sourceMap;if(a?e.setAttribute("media",a):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/ * # sourceMappingURL = data : application / json ; base64 , ".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," * / " ) ) , e . s t y l e S h e e t ) e . s t y l e S h e e t . c s s T e x t = 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 A = n u l l , f = 0 ; f u n c t i o n m ( e , t ) { v a r n , r , a ; i f ( t . s i n g l e t o n ) { v a r o = f + + ; n = A | | ( A = l ( t ) ) , r = d . b i n d ( n u l l , n , o , ! 1 ) , a = d . b i n d ( n u l l , n , o , ! 0 ) } e l s e n = l ( t ) , r = p . b i n d ( n u l l , n , t ) , a = 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 a ( ) } } 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 = s ( 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 a = i ( n [ r ] ) ; o [ a ] . r e f e r e n c e s - - } f o r ( v a r l = s ( e , t ) , u = 0 ; u < n . l e n g t h ; u + + ) { v a r c = i ( n [ u ] ) ; 0 = = = o [ c ] . r e f e r e n c e s & & ( o [ c ] . u p d a t e r ( ) , o . 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 , a , o , i , s ) { 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 ) , o & & ( u . _ s c o p e I d = " d a t a - v - " + o ) , i ? ( 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 _ _ ) , a & & a . 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 ( i ) } , u . _ s s r R e g i s t e r = l ) : a & & ( l = s ? f u n c t i o n ( ) { a . 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 ) } : a ) , 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 d = 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 = d ? [ ] . c o n c a t ( d , 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 a = 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 ( a . e x p o r t s , a , a . e x p o r t s , n ) , a . l = ! 0 , a . 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 }
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-05-29 13:14:51 +03:00
* /t.default=r.a},14:function(e,t){e.exports=n(147)},16:function(e,t){e.exports=n(50)},17:function(e,t){e.exports=n(71)},18:function(e,t){e.exports=n(90)},2:function(e,t,n){"use strict";var r,a=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]}}(),o=[];function i(e){for(var t=-1,n=0;n<o.length;n++)if(o[n].identifier===e){t=n;break}return t}function s(e,t){for(var n={},r=[],a=0;a<e.length;a++){var s=e[a],l=t.base?s[0]+t.base:s[0],u=n[l]||0,c="".concat(l," ").concat(u);n[l]=u+1;var d=i(c),p={css:s[1],media:s[2],sourceMap:s[3]};-1!==d?(o[d].references++,o[d].updater(p)):o.push({identifier:c,updater:m(p,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 o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var i=a(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var u,c=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function d(e,t,n,r){var a=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=c(t,a);else{var o=document.createTextNode(a),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(o,i[t]):e.appendChild(o)}}function p(e,t,n){var r=n.css,a=n.media,o=n.sourceMap;if(a?e.setAttribute("media",a):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/ * # sourceMappingURL = data : application / json ; base64 , ".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," * / " ) ) , e . s t y l e S h e e t ) e . s t y l e S h e e t . c s s T e x t = 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 A = n u l l , f = 0 ; f u n c t i o n m ( e , t ) { v a r n , r , a ; i f ( t . s i n g l e t o n ) { v a r o = f + + ; n = A | | ( A = l ( t ) ) , r = d . b i n d ( n u l l , n , o , ! 1 ) , a = d . b i n d ( n u l l , n , o , ! 0 ) } e l s e n = l ( t ) , r = p . b i n d ( n u l l , n , t ) , a = 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 a ( ) } } 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 = s ( 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 a = i ( n [ r ] ) ; o [ a ] . r e f e r e n c e s - - } f o r ( v a r l = s ( e , t ) , u = 0 ; u < n . l e n g t h ; u + + ) { v a r c = i ( n [ u ] ) ; 0 = = = o [ c ] . r e f e r e n c e s & & ( o [ c ] . u p d a t e r ( ) , o . s p l i c e ( c , 1 ) ) } n = l } } } } , 2 2 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 1 4 8 ) } , 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 , a , o , i , s ) { 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 ) , o & & ( u . _ s c o p e I d = " d a t a - v - " + o ) , i ? ( 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 _ _ ) , a & & a . 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 ( i ) } , u . _ s s r R e g i s t e r = l ) : a & & ( l = s ? f u n c t i o n ( ) { a . 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 ) } : a ) , 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 d = 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 = d ? [ ] . c o n c a t ( d , 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 9 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n ( 2 2 ) , n ( 1 4 ) ; v a r r = n ( 5 ) , a = 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-05-29 13:14:51 +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 ( ) | | ( a . 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 ( ) : " " } } } } , 4 0 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 6 0 ) } , 4 9 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n ( 1 6 ) , n ( 6 ) , n ( 1 7 ) , n ( 1 8 ) , n ( 4 0 ) ; v a r r = n ( 3 9 ) , a = ( n ( 1 4 ) , 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 = a ( 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 4 ) } , 6 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 4 0 ) } , 9 4 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = n ( 0 ) , a = n . n ( r ) , o = n ( 1 ) , i = n . n ( o ) ( ) ( a . a ) ; i . 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 ] { m a x - w i d t h : 2 2 0 p x ; l i n e - h e i g h t : 1 . 6 e m ; p a d d i n g : 1 0 . 8 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 ; 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 , e A A g B , C A C h B , i B A A k B , C A G l B , g B A A 8 C , C A E 9 C , c A A e , C A C f , e A A g B , C A G h 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
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-05-29 13:14:51 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "84c461f" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , t . default = r . VTooltip } , function ( e , t ) { e . exports = n ( 148 ) } , function ( e , t , n ) { "use strict" ; var r = n ( 0 ) , a = n . n ( r ) , o = n ( 1 ) , i = n . n ( o ) ( ) ( a . a ) ; i . push ( [ e . i , ".vue-tooltip[data-v-84c461f]{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-84c461f][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-84c461f][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-84c461f][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-84c461f][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-84c461f][aria-hidden='true']{visibility:hidden;transition:opacity .15s, visibility .15s;opacity:0}.vue-tooltip[data-v-84c461f][aria-hidden='false']{visibility:visible;transition:opacity .15s;opacity:1}.vue-tooltip[data-v-84c461f] .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-84c461f] .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:\"84c461f\" ; @ 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
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-05-29 13:14:51 +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 5 ) , n ( 1 4 ) , n ( 1 0 1 ) ; v a r r = n ( 5 ) , a = 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 o = e [ r ] , i = ! o . c o m p o n e n t O p t i o n s & & o . t a g & & - 1 = = = t . i n d e x O f ( o . t a g ) , s = ! ! o . 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 o . c o m p o n e n t O p t i o n s . t a g , l = s & & - 1 = = = t . i n d e x O f ( o . c o m p o n e n t O p t i o n s . t a g ) ; ( i | | ! s | | l ) & & ( ( i | | l ) & & a . a . u t i l . w a r n ( " " . c o n c a t ( i ? o . t a g : o . 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 ( 1 9 5 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 7 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 ) , a = n . n ( r ) , o = n ( 1 ) , i = n . n ( o ) , s = n ( 4 ) , l = n . n ( s ) , u = n ( 8 ) , c = n ( 9 ) , d = n ( 1 0 ) , p = n ( 1 1 ) , A = i ( ) ( a . a ) , f = l ( ) ( u . a ) , m = l ( ) ( c . a ) , h = l ( ) ( d . a ) , g = l ( ) ( p . a ) ; A . 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 - 8 4 c 4 6 1 f " ; 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 ( ' + m + ' ) f o r m a t ( " w o f f " ) , u r l ( ' + h + ' ) f o r m a t ( " t r u e t y p e " ) , u r l ( ' + g + ' ) f o r m a t ( " s v g " ) } . i c o n [ d a t a - v - 5 4 b a 5 2 7 a ] { f o n t - s t y l e : n o r m a l ; f o n t - w e i g h t : 4 0 0 } . i c o n . a r r o w - l e f t - d o u b l e [ d a t a - v - 5 4 b a 5 2 7 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; 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 - 5 4 b a 5 2 7 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; 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 - 5 4 b a 5 2 7 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; 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 - 5 4 b a 5 2 7 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; 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 - 5 4 b a 5 2 7 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; 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 - 5 4 b a 5 2 7 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . c l o s e [ d a t a - v - 5 4 b a 5 2 7 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . c o n f i r m [ d a t a - v - 5 4 b a 5 2 7 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . i n f o [ d a t a - v - 5 4 b a 5 2 7 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . m e n u [ d a t a - v - 5 4 b a 5 2 7 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . m o r e [ d a t a - v - 5 4 b a 5 2 7 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . p a u s e [ d a t a - v - 5 4 b a 5 2 7 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . i c o n . p l a y [ d a t a - v - 5 4 b a 5 2 7 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; 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 - 5 4 b a 5 2 7 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; 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 - 5 4 b a 5 2 7 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; 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 - 5 4 b a 5 2 7 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; 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 - 5 4 b a 5 2 7 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; 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 - 5 4 b a 5 2 7 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . a c t i o n - i t e m [ d a t a - v - 5 4 b a 5 2 7 a ] { 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 - 5 4 b a 5 2 7 a ] : 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 - 5 4 b a 5 2 7 a ] : 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 - 5 4 b a 5 2 7 a ] : 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 - 5 4 b a 5 2 7 a ] : 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 - 5 4 b a 5 2 7 a ] : 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 - 5 4 b a 5 2 7 a ] : 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 - 5 4 b a 5 2 7 a ] : 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 - 5 4 b a 5 2 7 a ] : 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 - 5 4 b a 5 2 7 a ] { 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 - 5 4 b a 5 2 7 a ] , . 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 - 5 4 b a 5 2 7 a ] { 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 - 5 4 b a 5 2 7 a ] { 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 - 5 4 b a 5 2 7 a ] 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 - 5 4 b a 5 2 7 a ] : 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 - 5 4 b a 5 2 7 a ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; 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 - 5 4 b a 5 2 7 a ] : : 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 - 5 4 b a 5 2 7 a ] { 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
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-05-29 13:14:51 +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 ( 2 2 ) , n ( 5 1 ) , n ( 6 9 ) , n ( 3 1 ) , n ( 7 1 ) , n ( 2 7 ) , n ( 7 2 ) , n ( 3 8 ) , n ( 6 ) , n ( 4 6 ) , n ( 1 6 ) , n ( 1 7 ) , n ( 1 8 ) , n ( 5 2 ) , n ( 4 1 ) , n ( 1 4 ) ; v a r r = n ( 2 1 ) , a = n ( 3 3 ) , o = n ( 5 0 ) , i = n ( 1 2 ) , s = n ( 4 7 ) ; f u n c t i o n l ( e , t ) { ( n u l l = = t | | t > e . l e n g t h ) & & ( t = e . l e n g t h ) ; f o r ( v a r n = 0 , r = n e w A r r a y ( t ) ; n < t ; n + + ) r [ n ] = e [ n ] ; r e t u r n r } f u n c t i o n u ( e , t ) { v a r n = O b j e c t . k e y s ( e ) ; i f ( O b j e c t . g e t O w n P r o p e r t y S y m b o l s ) { v a r r = O b j e c t . g e t O w n P r o p e r t y S y m b o l s ( e ) ; t & & ( r = r . f i l t e r ( ( f u n c t i o n ( t ) { r e t u r n O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r ( e , t ) . e n u m e r a b l e } ) ) ) , n . p u s h . a p p l y ( n , r ) } r e t u r n n } f u n c t i o n c ( e ) { f o r ( v a r t = 1 ; t < a r g u m e n t s . l e n g t h ; t + + ) { v a r n = n u l l ! = a r g u m e n t s [ t ] ? a r g u m e n t s [ t ] : { } ; t % 2 ? u ( O b j e c t ( n ) , ! 0 ) . f o r E a c h ( ( f u n c t i o n ( t ) { d ( e , t , n [ t ] ) } ) ) : O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r s ? O b j e c t . d e f i n e P r o p e r t i e s ( e , O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r s ( n ) ) : u ( O b j e c t ( n ) ) . f o r E a c h ( ( f u n c t i o n ( t ) { O b j e c t . d e f i n e P r o p e r t y ( e , t , O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r ( n , t ) ) } ) ) } r e t u r n e } f u n c t i o n d ( e , t , n ) { r e t u r n t i n e ? O b j e c t . d e f i n e P r o p e r t y ( e , t , { v a l u e : n , e n u m e r a b l e : ! 0 , c o n f i g u r a b l e : ! 0 , w r i t a b l e : ! 0 } ) : e [ t ] = n , e } v a r p = [ " A c t i o n B u t t o n " , " A c t i o n C h e c k b o x " , " A c t i o n I n p u t " , " A c t i o n L i n k " , " A c t i o n R a d i o " , " A c t i o n R o u t e r " , " A c t i o n S e p a r a t o r " , " A c t i o n T e x t " , " A c t i o n T e x t E d i t a b l e " ] , A = { n a m e : " A c t i o n s " , d i r e c t i v e s : { t o o l t i p : r . d e f a u l t } , c o m p o n e n t s : { P o p o v e r : s . d e f a u l t , V N o d e s : { f u n c t i o n a l : ! 0 , r e n d e r : f u n c t i o n ( e , t ) { r e t u r n t . p r o p s . v n o d e s } } } , p r o p s : { o p e n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , f o r c e M e n u : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , m e n u T i t l e : { t y p e : S t r i n g , d e f a u l t : n u l l } , p r i m a r y : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , d e f a u l t I c o n : { t y p e : S t r i n g , d e f a u l t : " a c t i o n - i t e m _ _ m e n u t o g g l e - - d e f a u l t - i c o n " } , a r i a L a b e l : { t y p e : S t r i n g , d e f a u l t : O b j e c t ( i . b ) ( " A c t i o n s " ) } , p l a c e m e n t : { t y p e : S t r i n g , d e f a u l t : " b o t t o m " } , b o u n d a r i e s E l e m e n t : { t y p e : E l e m e n t , d e f a u l t : f u n c t i o n ( ) { r e t u r n d o c u m e n t . q u e r y S e l e c t o r ( " b o d y " ) } } , c o n t a i n e r : { t y p e : S t r i n g , d e f a u l t : " b o d y " } , d i s a b l e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , d a t a : f u n c t i o n ( ) { r e t u r n { a c t i o n s : [ ] , o p e n e d : t h i s . o p e n , f o c u s I n d e x : 0 , r a n d o m I d : " m e n u - " + O b j e c t ( a . a ) ( ) , c h i l d r e n : t h i s . $ c h i l d r e n } } , c o m p u t e d : { h a s M u l t i p l e A c t i o n s : f u n c t i o n ( ) { r e t u r n t h i s . a c t i o n s . l e n g t h > 1 } , i s V a l i d S i n g l e A c t i o n : f u n c t i o n ( ) { r e t u r n 1 = = = t h i s . a c t i o n s . l e n g t h & & n u l l ! = = t h i s . f i r s t A c t i o n E l e m e n t } , f i r s t A c t i o n V N o d e : f u n c t i o n ( ) { r e t u r n t h i s . a c t i o n s [ 0 ] } , f i r s t A c t i o n : f u n c t i o n ( ) { r e t u r n t h i s . c h i l d r e n [ 0 ] ? t h i s . c h i l d r e n [ 0 ] : { } } , f i r s t A c t i o n B i n d i n g : f u n c t i o n ( ) { i f ( t h i s . f i r s t A c t i o n V N o d e & & t h i s . f i r s t A c t i o n V N o d e . c o m p o n e n t O p t i o n s ) { v a r e = t h i s . f i r s t A c t i o n V N o d e . c o m p o n e n t O p t i o n s . t a g ; i f ( " A c t i o n L i n k " = = = e ) r e t u r n c ( c ( { i s : " a " , h r e f : t h i s . f i r s t A c t i o n . h r e f , t a r g e t : t h i s . f i r s t A c t i o n . t a r g e t , " a r i a - l a b e l " : t h i s . f i r s t A c t i o n . a r i a L a b e l } , t h i s . f i r s t A c t i o n . $ a t t r s ) , t h i s . f i r s t A c t i o n . $ p r o p s ) ; i f ( " A c t i o n R o u t e r " = = = e ) r e t u r n c ( c ( { i s : " r o u t e r - l i n k " , t o : t h i s . f i r s t A c t i o n . t o , e x a c t : t h i s . f i r s t A c t i o n . e x a c t , " a r i a - l a b e l " : t h i s . f i r s t A c t i o n . a r i a L a b e l } , t h i s . f i r s t A c t i o n . $ a t t r s ) , t h i s . f i r s t A c t i o n . $ p r o p s ) ; i f ( " A c t i o n B u t t o n " = = = e ) r e t u r n c ( c ( { i s : " b u t t o n " , " a r i a - l a b e l " : t h i s . f i r s t A c t i o n . a r i a L a b e l } , t h i s . f i r s t A c t i o n . $ a t t r s ) , t h i s . f i r s t A c t i o n . $ p r o p s ) } r e t u r n n u l l } , f i r s t A c t i o n E v e n t : f u n c t i o n ( ) { v a r e , t , n ; r e t u r n n u l l = = = ( e = t h i s . f i r s t A c t i o n V N o d e ) | | v o i d 0 = = = e | | n u l l = = = ( t = e . c o m p o n e n t O p t i o n s ) | | v o i d 0 = = = t | | n u l l = = = ( n = t . l i s t e n e r s ) | | v o i d 0 = = = n ? v o i d 0 : n . c l i c k } , f i r s t A c t i o n E v e n t B i n d i n g : f u n c t i o n ( ) { r e t u r n t h i s . f i r s t A c t i o n E v e n t ? " c l i c k " : n u l l } , f i r s t A c t i o n I c o n S l o t : f u n c t i o n ( ) { v a r e , t ; r e t u r n n u l l = = = ( e = t h i s . f i r s t A c t i o n ) | | v o i d 0 = = = e | | n u l l = = = ( t = e . $ s l o t s ) | | v o i d 0 = = = t ? v o i d 0 : t . i c o n } , f i r s t A c t i o n C l a s s : f u n c t i o n ( ) { r e t u r n ( ( t h i s . f i r s t A c t i o n V N o d e & & t h i s . f i r s t A c t i o n V N o d e . d a t a . s t a t i c C l a s s ) + " " + ( t h i s . f i r s t A c t i o n V N o d e & & t h i s . f i r s t A c t i o n V N o d e . d a t a . c l a s s ) ) . t r i m ( ) } , i c o n S l o t I s P o p u l a t e d : f u n c t i o n ( ) { r e t u r n ! ! t h i s . $ s l o t s . i c o n } } , w a t c h : { o p e n : f u n c t i o n ( e ) { e ! = = t h i s . o p e n e d & & ( t h i s . o p e n e d = e ) } } , b e f o r e M o u n t : f u n c t i o n ( ) { t h i s . i n i t A c t i o n s ( ) , O b j e c t ( o . a ) ( t h i s . $ s l o t s . d e f a u l t , p , t h i s ) } , b e f o r e U p d a t e : f u n c t i o n ( ) { t h i s . i n i t A c t i o n s ( ) , O b j e c t ( o . a ) ( t h i s . $ s l o t s . d e f a u l t , p , t h i s ) } , m e t h o d s : { o p e n M e n u : f u n c t i o n ( e ) { t h i s . o p e n e d | | ( t h i s . o p e n e d = ! 0 , t h i s . $ e m i t ( " u p d a t e : o p e n " , ! 0 ) , t h i s . $ e m i t ( " o p e n " ) ) } , c l o s e M e n u : f u n c t i o n ( e ) { t h i s . o p e n e d & & ( t h i s . o p e n e d = ! 1 , t h i s . $ e m i t ( " u p d a t e : o p e n " , ! 1 ) , t h i s . $ e m i t ( " c l o s e " ) , t h i s . o p e n e d = ! 1 , t h i s . f o c u s I n d e x = 0 , t h i s . $ r e f s . m e n u B u t t o n . f o c u s ( ) ) } , o n O p e n : f u n c t i o n ( e ) { v a r t = t h i s ; t h i s . $ n e x t T i c k ( ( f u n c t i o n ( ) { t . f o c u s F i r s t A c t i o n ( e ) } ) ) } , o n M o u s e F o c u s A c t i o n : f u n c t i o n ( e )
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-05-29 13:14:51 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "84c461f" , '><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 ) , a = n . n ( r ) , o = n ( 1 ) , i = n . n ( o ) ( ) ( a . a ) ; i . push ( [ e . i , ".vue-tooltip[data-v-84c461f]{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-84c461f][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-84c461f][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-84c461f][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-84c461f][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-84c461f][aria-hidden='true']{visibility:hidden;transition:opacity .15s, visibility .15s;opacity:0}.vue-tooltip[data-v-84c461f][aria-hidden='false']{visibility:visible;transition:opacity .15s;opacity:1}.vue-tooltip[data-v-84c461f] .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-84c461f] .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:\"84c461f\" ; @ 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/>.
*
2021-05-27 11:17:34 +03:00
* / v a r A = { 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 , a , o , i , s , p , A , f , m ; 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 ( d . 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 : a = t . s e n t , o = a . d a t a , i = o . o c s . d a t a , s = i . s t a t u s , p = i . m e s s a g e , A = i . i c o n , n . u s e r S t a t u s . s t a t u s = s , n . u s e r S t a t u s . m e s s a g e = p | | " " , n . u s e r S t a t u s . i c o n = A | | " " , 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 = = = ( m = f . d a t a ) | | v o i d 0 = = = m ? v o i d 0 : m . 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 , a ) { v a r o = t . a p p l y ( e , n ) ; f u n c t i o n i ( e ) { p ( o , r , a , i , s , " n e x t " , e ) } f u n c t i o n s ( e ) { p ( o , r , a , i , s , " t h r o w " , e ) } i ( v o i d 0 ) } ) ) } ) ( ) } } } ;
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-05-29 13:14:51 +03:00
* / } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 7 0 ) } , , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 1 5 1 ) } , , , , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 3 7 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 ) , a = n . n ( r ) , o = n ( 1 ) , i = n . n ( o ) ( ) ( a . a ) ; i . 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 - f e b e d 9 b 6 ] { \ 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 - f e b e d 9 b 6 ] { \ 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 - f e b e d 9 b 6 ] : 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 - f e b e d 9 b 6 ] { \ 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 - f e b e d 9 b 6 ] { \ 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 m L 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 \ x 3 c ! - - e s l i n t - d i s a b l e - n e x t - l i n e - - \ x 3 e \ n \ t \ t \ t \ t < i n p u t : i d = " k e y " 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
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-05-27 11:17:34 +03:00
function r ( e , t , n ) { this . r = e , this . g = t , this . b = n } function a ( e , t , n ) { var a = [ ] ; a . push ( t ) ; for ( var o = 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 ] ) , i = 1 ; i < e ; i ++ ) { var s = parseInt ( t . r + o [ 0 ] * i , 10 ) , l = parseInt ( t . g + o [ 1 ] * i , 10 ) , u = parseInt ( t . b + o [ 2 ] * i , 10 ) ; a . push ( new r ( s , l , u ) ) } return a } n ( 35 ) , t . a = function ( e ) { e || ( e = 6 ) ; var t = new r ( 182 , 70 , 157 ) , n = new r ( 221 , 203 , 85 ) , o = new r ( 0 , 130 , 201 ) , i = a ( e , t , n ) , s = a ( e , n , o ) , l = a ( e , o , t ) ; return i . concat ( s ) . concat ( l ) } } , function ( e , t , n ) { "use strict" ; var r = n ( 0 ) , a = n . n ( r ) , o = n ( 1 ) , i = n . n ( o ) , s = n ( 4 ) , l = n . n ( s ) , u = n ( 8 ) , c = n ( 9 ) , d = n ( 10 ) , p = n ( 11 ) , A = i ( ) ( a . a ) , f = l ( ) ( u . a ) , m = l ( ) ( c . a ) , h = l ( ) ( d . a ) , g = l ( ) ( p . a ) ; A . push ( [ e . i , '@font-face{font-family:"iconfont-vue-84c461f";src:url(' + f + ");src:url(" + f + ') format("embedded-opentype"),url(' + m + ') format("woff"),url(' + h + ') format("truetype"),url(' + g + ' ) format ( "svg" ) } . icon [ data - v - 5 baa2f3a ] { font - style : normal ; font - weight : 400 } . icon . arrow - left - double [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . arrow - left [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . arrow - right - double [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . arrow - right [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . breadcrumb [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . checkmark [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . close [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . confirm [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . info [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . menu [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . more [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . pause [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . play [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . triangle - s [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . user - status - away [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . user - status - dnd [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . user - status - invisible [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . icon . user - status - online [ data - v - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; content : "" } . avatardiv [ data - v - 5 baa2f3a ] { position : relative ; display : inline - block } . avatardiv -- unknown [ data - v - 5 baa2f3a ] { position : relative ; background - color : var ( -- color - text - maxcontrast ) } . avatardiv [ data - v - 5 baa2f3a ] : 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 - 5 baa2f3a ] : not ( . avatardiv -- unknown ) { background - color : # 000 ! important } . avatardiv -- with - menu [ data - v - 5 baa2f3a ] { cursor : pointer } . avatardiv -- with - menu [ data - v - 5 baa2f3a ] . trigger { position : absolute ; top : 0 ; left : 0 } . avatardiv -- with - menu . icon - more [ data - v - 5 baa2f3a ] { 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 - 5 baa2f3a ] : before { font - family : "iconfont-vue-84c461f" ; font - style : normal ; font - weight : 400 ; content : "" } . avatardiv -- with - menu . icon - more [ data - v - 5 baa2f3a ] : : before { display : block } . avatardiv -- with - menu : focus . icon - more [ data - v - 5 baa2f3a ] , . avatardiv -- with - menu : hover . icon - more [ data - v - 5 baa2f3a ] { opacity : 1 } . avatardiv -- with - menu : focus img [ data - v - 5 baa2f3a ] , . avatardiv -- with - menu : hover img [ data - v - 5 baa2f3a ] { opacity : 0.3 } . avatardiv -- with - menu . icon - more [ data - v - 5 baa2f3a ] , . avatardiv -- with - menu img [ data - v - 5 baa2f3a ] { transition : opacity var ( -- animation - quick ) } . avatardiv > . unknown [ data - v - 5 baa2f3a ] { 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 - 5 baa2f3a ] { width : 100 % ; height : 100 % ; object - fit : cover } . avatardiv . avatardiv _ _status [ data - v - 5 b
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/>.
*
2021-05-27 11:17:34 +03:00
* / n . r ( t ) , n ( 4 1 ) , n ( 6 ) , n ( 1 4 ) , n ( 5 2 ) , n ( 1 7 ) , n ( 3 1 ) , n ( 3 8 ) , n ( 4 6 ) , n ( 1 6 ) , n ( 1 8 ) , 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 , a = r ( t ) ; t r y { f o r ( a . s ( ) ; ! ( n = a . n ( ) ) . d o n e ; ) { v a r o , i = n . v a l u e ; i f ( n u l l ! = e & & n u l l ! = = ( o = e . c l a s s L i s t ) & & v o i d 0 ! = = o & & o . c o n t a i n s ( i ) ) r e t u r n ! 0 } } c a t c h ( e ) { a . e ( e ) } f i n a l l y { a . 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 ) ,
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-05-27 11:17:34 +03:00
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 ( 26 ) , n ( 16 ) , n ( 17 ) , n ( 18 ) , n ( 40 ) ; 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 ) } } } , a = n ( 2 ) , o = n . n ( a ) , i = n ( 53 ) , s = ( o ( ) ( i . a , { insert : "head" , singleton : ! 1 } ) , i . a . locals , n ( 54 ) ) , l = ( o ( ) ( s . a , { insert : "head" , singleton : ! 1 } ) , s . 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 , a = ! ! r . checked ; if ( Array . isArray ( n ) ) { var o = e . _i ( n , null ) ; r . checked ? o < 0 && e . $set ( e . item , "model" , n . concat ( [ null ] ) ) : o > - 1 && e . $set ( e . item , "model" , n . slice ( 0 , o ) . concat ( n . slice ( o + 1 ) ) ) } else e . $set ( e . item , "model" , a ) } , 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" )
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-05-29 13:14:51 +03:00
* /t.default=f},,function(e,t){e.exports=n(158)},function(e,t,n){"use strict";n.r(t),n(58),n(30),n(89),n(103),n(104),n(35),n(24),n(57),n(6),n(59);var r=n(86),a=n(42),o=n(77),i=n(34),s=n(29),l=n(37),u=n.n(l),c=n(13),d=n(21),p=n(84),A=n(45),f=n(28);function m(e,t,n,r,a,o,i){try{var s=e[o](i),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,a)}function h(e){return function(){var t=this,n=arguments;return new Promise((function(r,a){var o=e.apply(t,n);function i(e){m(o,r,a,i,s,"next",e)}function s(e){m(o,r,a,i,s,"throw",e)}i(void 0)}))}}var g=Object(r.getBuilder)("nextcloud").persist().build();function v(e){var t=g.getItem("user-has-avatar."+e);return"string"==typeof t?Boolean(t):null}function y(e,t){e&&g.setItem("user-has-avatar."+e,t)}var b={name:"Avatar",directives:{tooltip:d.default,ClickOutside:a.directive},components:{Popover:f.a,PopoverMenu:o.default},mixins:[A.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 ( i . 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 ( p . 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-05-29 13:14:51 +03:00
* /t.default=k},function(e,t){e.exports=n(159)},function(e,t){e.exports=n(601)},,function(e,t,n){"use strict";n.r(t),n(15),n(92),n(25);var r=n(81),a=n.n(r),o=n(64);t.default=function(e){var t=e.toLowerCase();return null===t.match(/ ^ ( [ 0 - 9 a - f ] { 4 } - ? ) { 8 } $ / ) && ( t = a ( ) ( t ) ) , t = t . replace ( /[^0-9a-f]/g , "" ) , Object ( o . a ) ( 6 ) [ function ( e , t ) { for ( var n = 0 , r = [ ] , a = 0 ; a < e . length ; a ++ ) r . push ( parseInt ( e . charAt ( a ) , 16 ) % 16 ) ; for ( var o in r ) n += r [ o ] ; return parseInt ( parseInt ( n , 10 ) % 18 , 10 ) } ( t ) ] } } , , function ( e , t ) { e . exports = n ( 602 ) } , , , function ( e , t ) { e . exports = n ( 628 ) } , function ( e , t ) { e . exports = n ( 170 ) } , function ( e , t ) { e . exports = n ( 171 ) } , function ( e , t ) { e . exports = n ( 405 ) } , , , , , , , , , , , function ( e , t ) { e . exports = n ( 630 ) } , function ( e , t ) { e . exports = n ( 631 ) } ] ) } , function ( e , t , n ) { window , e . exports = function ( e ) { var t = { } ; function n ( r ) { if ( t [ r ] ) return t [ r ] . exports ; var a = t [ r ] = { i : r , l : ! 1 , exports : { } } ; return e [ r ] . call ( a . exports , a , a . exports , n ) , a . l = ! 0 , a . 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 a in e ) n . d ( r , a , function ( t ) { return e [ t ] } . bind ( null , a ) ) ; 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 , a = ! 1 , o = void 0 ; try { for ( var i , s = e [ Symbol . iterator ] ( ) ; ! ( r = ( i = s . next ( ) ) . done ) && ( n . push ( i . value ) , ! t || n . length !== t ) ; r = ! 0 ) ; } catch ( e ) { a = ! 0 , o = e } finally { try { r || null == s . return || s . return ( ) } finally { if ( a ) throw o } } return n } } ( e , t ) || function ( e , t ) { if ( e ) { if ( "string" == typeof e ) return a ( 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 ) ? a ( 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 a ( 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 ] , a = t [ 3 ] ; if ( "function" == typeof btoa ) { var o = btoa ( unescape ( encodeURIComponent ( JSON . stringify ( a ) ) ) ) , i = "sourceMappingURL=data:application/json;charset=utf-8;base64," . concat ( o ) , s = "/*# " . concat ( i , " */" ) , l = a . sources . map ( ( function ( e ) { return "/*# sourceURL=" . concat ( a . sourceRoot || "" ) . concat ( e , " */" ) } ) ) ; return [ n ] . concat ( l ) . concat ( [ s ] ) . 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 a = { } ; if ( r ) for ( var o = 0 ; o < this . length ; o ++ ) { var i = this [ o ] [ 0 ] ; null != i && ( a [ i ] = ! 0 ) } for ( var s = 0 ; s < e . length ; s ++ ) { var l = [ ] . concat ( e [ s ] ) ; r && a [ 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 , AAEAAAAKAIAAAwAgT1MvMnTjj9EAAACsAAAAYGNtYXAADeu4AAABDAAAAUJnbHlmx0c5TAAAAlAAAAf8aGVhZCvqUOEAAApMAAAANmhoZWEm / ROFAAAKhAAAACRobXR4Z77 //wAACqgAAAA0bG9jYQ28D2YAAArcAAAAKG1heHABIABXAAALBAAAACBuYW1lbcT5VAAACyQAAAKmcG9zdD9UvtcAAA3MAAABFgAEEsoBkAAFAAAMZQ2sAAACvAxlDawAAAlgAPUFCgAAAgAFAwAAAAAAAAAAAAAQAAAAAAAAAAAAAABQZkVkAEDqAeoSE4gAAAHCE4gAAAAAAAEAAAAAAAAAAAAAACAAAAAAAAMAAAADAAAAHAABAAAAAAA8AAMAAQAAABwABAAgAAAABAAEAAEAAOoS//8AAOoB//8WAAABAAAAAAAAAQYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
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-05-29 13:14:51 +03:00
* /t.default=x},2:function(e,t,n){"use strict";var r,a=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]}}(),o=[];function i(e){for(var t=-1,n=0;n<o.length;n++)if(o[n].identifier===e){t=n;break}return t}function s(e,t){for(var n={},r=[],a=0;a<e.length;a++){var s=e[a],l=t.base?s[0]+t.base:s[0],u=n[l]||0,c="".concat(l," ").concat(u);n[l]=u+1;var d=i(c),p={css:s[1],media:s[2],sourceMap:s[3]};-1!==d?(o[d].references++,o[d].updater(p)):o.push({identifier:c,updater:m(p,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 o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(e){t.setAttribute(e,r[e])})),"function"==typeof e.insert)e.insert(t);else{var i=a(e.insert||"head");if(!i)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");i.appendChild(t)}return t}var u,c=(u=[],function(e,t){return u[e]=t,u.filter(Boolean).join("\n")});function d(e,t,n,r){var a=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(e.styleSheet)e.styleSheet.cssText=c(t,a);else{var o=document.createTextNode(a),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(o,i[t]):e.appendChild(o)}}function p(e,t,n){var r=n.css,a=n.media,o=n.sourceMap;if(a?e.setAttribute("media",a):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/ * # sourceMappingURL = data : application / json ; base64 , ".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," * /")),e.styleSheet)e.styleSheet.cssText=r;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(r))}}var A=null,f=0;function m(e,t){var n,r,a;if(t.singleton){var o=f++;n=A||(A=l(t)),r=d.bind(null,n,o,!1),a=d.bind(null,n,o,!0)}else n=l(t),r=p.bind(null,n,t),a=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 a()}}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=s(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 a=i(n[r]);o[a].references--}for(var l=s(e,t),u=0;u<n.length;u++){var c=i(n[u]);0===o[c].references&&(o[c].updater(),o.splice(c,1))}n=l}}}},22:function(e,t){e.exports=n(148)},24:function(e,t){e.exports=n(149)},25:function(e,t){e.exports=n(41)},26:function(e,t){e.exports=n(52)},27:function(e,t){e.exports=n(134)},3:function(e,t,n){"use strict";function r(e,t,n,r,a,o,i,s){var l,u="function"==typeof e?e.options:e;if(t&&(u.render=t,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),i?(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__),a&&a.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(i)},u._ssrRegister=l):a&&(l=s?function(){a.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:a),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 d=u.beforeCreate;u.beforeCreate=d?[].concat(d,l):[l]}return{exports:e,options:u}}n.d(t,"a",(function(){return r}))},30:function(e,t){e.exports=n(372)},32:function(e,t){e.exports=n(367)},35:function(e,t){e.exports=n(66)},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 ( 150 ) } , 44 : function ( e , t , n ) { "use strict" ; var r = n ( 0 ) , a = n . n ( r ) , o = n ( 1 ) , i = n . n
2021-03-17 11:45:22 +03:00
/ * !
* Determine if an object is a Buffer
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
* /
2021-05-29 13:14:51 +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 ( 177 ) } , function ( e , t , n ) { "use strict" ; n ( 382 ) , n ( 401 ) , n ( 402 ) , n ( 403 ) , 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 i ( e ) } ) ) } , t . clearNonPersistent = function ( ) { [ window . sessionStorage , window . localStorage ] . map ( ( function ( e ) { return i ( e , ( function ( e ) { return ! e . startsWith ( a . default . GLOBAL _SCOPE _PERSISTENT ) } ) ) } ) ) } ; var r = o ( n ( 625 ) ) , a = o ( n ( 404 ) ) ; function o ( e ) { return e && e . _ _esModule ? e : { default : e } } function i ( 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 , a = Object . getOwnPropertyDescriptor , o = a && ! r . call ( { 1 : 2 } , 1 ) ; t . f = o ? function ( e ) { var t = a ( this , e ) ; return ! ! t && t . enumerable } : r } , function ( e , t , n ) { var r = n ( 22 ) , a = n ( 44 ) , o = r . document , i = a ( o ) && a ( o . createElement ) ; e . exports = function ( e ) { return i ? o . createElement ( e ) : { } } } , function ( e , t , n ) { var r = n ( 22 ) , a = n ( 100 ) , o = n ( 55 ) , i = n ( 167 ) , s = n ( 386 ) , l = n ( 606 ) , u = l . get , c = l . enforce , d = String ( String ) . split ( "String" ) ; ( e . exports = function ( e , t , n , s ) { var l = ! ! s && ! ! s . unsafe , u = ! ! s && ! ! s . enumerable , p = ! ! s && ! ! s . noTargetGet ; "function" == typeof n && ( "string" != typeof t || o ( n , "name" ) || a ( n , "name" , t ) , c ( n ) . source = d . join ( "string" == typeof t ? t : "" ) ) , e !== r ? ( l ? ! p && e [ t ] && ( u = ! 0 ) : delete e [ t ] , u ? e [ t ] = n : a ( e , t , n ) ) : u ? e [ t ] = n : i ( t , n ) } ) ( Function . prototype , "toString" , ( function ( ) { return "function" == typeof this && u ( this ) . source || s ( this ) } ) ) } , function ( e , t , n ) { var r , a , o , i = n ( 607 ) , s = n ( 22 ) , l = n ( 44 ) , u = n ( 100 ) , c = n ( 55 ) , d = n ( 608 ) , p = n ( 391 ) , A = s . WeakMap ; if ( i ) { var f = new A , m = f . get , h = f . has , g = f . set ; r = function ( e , t ) { return g . call ( f , e , t ) , t } , a = function ( e ) { return m . call ( f , e ) || { } } , o = function ( e ) { return h . call ( f , e ) } } else { var v = d ( "state" ) ; p [ v ] = ! 0 , r = function ( e , t ) { return u ( e , v , t ) , t } , a = function ( e ) { return c ( e , v ) ? e [ v ] : { } } , o = function ( e ) { return c ( e , v ) } } e . exports = { set : r , get : a , has : o , enforce : function ( e ) { return o ( e ) ? a ( e ) : r ( e , { } ) } , getterFor : function ( e ) { return function ( t ) { var n ; if ( ! l ( t ) || ( n = a ( t ) ) . type !== e ) throw TypeError ( "Incompatible receiver, " + e + " required" ) ; return n } } } } , function ( e , t , n ) { var r = n ( 22 ) , a = n ( 386 ) , o = r . WeakMap ; e . exports = "function" == typeof o && /native code/ . test ( a ( o ) ) } , function ( e , t , n ) { var r = n ( 388 ) , a = n ( 390 ) , o = r ( "keys" ) ; e . exports = function ( e ) { return o [ e ] || ( o [ e ] = a ( e ) ) } } , function ( e , t , n ) { var r = n ( 55 ) , a = n ( 610 ) , o = n ( 160 ) , i = n ( 166 ) ; e . exports = function ( e , t ) { for ( var n = a ( t ) , s = i . f , l = o . f , u = 0 ; u < n . length ; u ++ ) { var c = n [ u ] ; r ( e , c ) || s ( e , c , l ( t , c ) ) } } } , function ( e , t , n ) { var r = n ( 392 ) , a = n ( 612 ) , o = n ( 615 ) , i = n ( 385 ) ; e . exports = r ( "Reflect" , "ownKeys" ) || function ( e ) { var t = a . f ( i ( e ) ) , n = o . f ; return n ? t . concat ( n ( e ) ) : t } } , function ( e , t , n ) { var r = n ( 22 ) ; e . exports = r } , function ( e , t , n ) { var r = n ( 393 ) , a = n ( 395 ) . concat ( "length" , "prototype" ) ; t . f = Object . getOwnPropertyNames || function ( e ) { return r ( e , a ) } } , function ( e , t , n ) { var r = n ( 162 ) , a = n ( 101 ) , o = n ( 614 ) , i = function ( e ) { return function ( t , n , i ) { var s , l = r ( t ) , u = a ( l . length ) , c = o ( i , u ) ; if ( e && n != n ) { for ( ; u > c ; ) if ( ( s = l [ c ++ ] ) != s ) 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 : i ( ! 0 ) , indexOf : i ( ! 1 ) } } , function ( e , t , n ) { var r = n ( 394 ) , a = Math . max , o = Math . min ; e . exports = function ( e , t ) { var n = r ( e ) ; return n < 0 ? a ( n + t , 0 ) : o ( n , t ) } } , function ( e , t ) { t . f = Object . getOwnPropertySymbols } , function ( e , t , n ) { var r = n ( 27 ) , a = /#|\.prototype\./ , o = function ( e , t ) { var n = s [ i ( e ) ] ; return n == u || n != l && ( "function" == typeof t ? r ( t ) : ! ! t ) } , i = o . normalize = function ( e ) { return String ( e ) . replace ( a , "." ) . toLowerCase ( ) } , s = o . data = { } , l = o . NATIVE = "N" , u = o . POLYFILL = "P" ; e . exports = o } , function ( e , t , n ) { var r = n ( 618 ) ; 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
/ * *
* @ license nested - property https : //github.com/cosmosio/nested-property
*
* The MIT License ( MIT )
*
* Copyright ( c ) 2014 - 2020 Olivier Scherrer < pode . fr @ gmail . com >
2021-05-29 13:14:51 +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 a ( 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 o ( 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 ( o = 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 i ( 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 i ( e , t , n ) { r e t u r n ( i = s ( ) ? 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 a = 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 ( a , n . p r o t o t y p e ) , a } ) . 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 s ( ) { 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 = a ( 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 } ( o ( E r r o r ) ) ; f u n c t i o n d ( 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 ( ) { } , a = t . s p l i t ( " . " ) , o = a . l e n g t h , i = f u n c t i o n ( t ) { v a r r = a [ 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 , o ) { v a r i = a . s l i c e ( t + 1 ) ; r e t u r n i . l e n g t h > 0 ? d ( r , i . j o i n ( " . " ) , n ) : n ( e , o , a , t ) } ) ) } ; v a r o = a . 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 ( o , " ) i s n o t a n a r r a y " ) ) } e = n ( e , r , a , t ) } , s = 0 ; s < o ; s + + ) { v a r l = i ( s ) ; 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 p ( 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 d ( e , t , ( f u n c t i o n ( e , t , r , a ) { 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 o = N u m b e r . i s I n t e g e r ( N u m b e r ( r [ a + 1 ] ) ) , i = " + " = = = r [ a + 1 ] ; e [ t ] = o | | i ? [ ] : { } } r e t u r n p ( r , a ) & & ( 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 d ( 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 a = ! 1 ; r e t u r n d ( e , t , ( f u n c t i o n ( e , t , r , o ) { i f ( ! p ( r , o ) ) r e t u r n e & & e [ t ] ; a = n . o w n ? e . h a s O w n P r o p e r t y ( t ) : t i n e } ) ) , a } 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 a = 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 o = ! 1 , i = ! 1 ; r e t u r n d ( e , t , ( f u n c t i o n ( e , t , a , s ) { r e t u r n o = o | | e = = = n | | ! ! e & & e [ t ] = = = n , i = p ( a , s ) & & " o b j e c t " = = = r ( e ) & & t i n e , e & & e [ t ] } ) ) , a . v a l i d P a t h ? o & & i : o } 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 " ; v a r r = t h i s & & t h i s . _ _ a w a i t e r | | f u n c t i o n ( e , t , n , r ) { r e t u r n n e w ( n | | ( n = P r o m i s e ) ) ( ( f u n c t i o n ( a , o ) { f u n c t i o n i ( e ) { t r y { l ( r . n e x t ( e ) ) } c a t c h ( e ) { o ( e ) } } f u n c t i o n s ( e ) { t r y { l ( r . t h r o w ( e ) ) } c a t c h ( e ) { o ( e ) } } f u n c t i o n l ( e ) { v a r t ; e . d
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-05-29 13:14:51 +03:00
const D = function ( ) { return Object ( i . generateRemoteUrl ) ( "dav/comments" ) } ; var B = r ( 179 ) ;
2021-03-17 11:45:22 +03:00
/ * *
2021-05-27 11:17:34 +03:00
* @ copyright Copyright ( c ) 2021 John Molakvoæ < skjnldsv @ protonmail . com >
2021-03-17 11:45:22 +03:00
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2021-05-27 11:17:34 +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-05-29 13:14:51 +03:00
* /c.a.defaults.headers["X-Requested-With"]="XMLHttpRequest";Object(B.getPatcher)().patch("request",c.a);var I=Object(B.createClient)(D()),Y=r(58),N={props:{id:{type:Number,default:null},message:{type:String,default:""},ressourceId:{type:[String,Number],required:!0}},data:()=>({deleted:!1,editing:!1,loading:!1}),methods:{onEdit(){this.editing=!0},onEditCancel(){this.editing=!1,this.updateLocalMessage(this.message)},async onEditComment(e){this.loading=!0;try{await async function(e,t,n,r){const a=["",e,t,n].join("/ ");return await I.customRequest(a,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(r,"</oc:message>\n\t\t\t\t</d:prop>\n\t\t\t</d:set>\n\t\t\t</d:propertyupdate>")}))}(this.commentsType,this.ressourceId,this.id,e),this.logger.debug("Comment edited",{commentsType:this.commentsType,ressourceId:this.ressourceId,id:this.id,message:e}),this.$emit("update:message",e),this.editing=!1}catch(e){Object(Y.b)(t("comments","An error occurred while trying to edit the comment")),console.error(e)}finally{this.loading=!1}},onDeleteWithUndo(){this.deleted=!0;const e=setTimeout(this.onDelete,Y.a);Object(Y.c)(t("comments","Comment deleted"),()=>{clearTimeout(e),this.deleted=!1})},async onDelete(){try{await async function(e,t,n){const r=["",e,t,n].join("/");await I.deleteFile(r)}(this.commentsType,this.ressourceId,this.id),this.logger.debug("Comment deleted",{commentsType:this.commentsType,ressourceId:this.ressourceId,id:this.id}),this.$emit("delete",this.id)}catch(e){Object(Y.b)(t("comments","An error occurred while trying to delete the comment")),console.error(e),this.deleted=!1}},async onNewComment(e){this.loading=!0;try{const t=await async function(e,t,n){const r=["",e,t].join("/"),a=await c.a.post(D()+r,{actorDisplayName:Object(s.getCurrentUser)().displayName,actorId:Object(s.getCurrentUser)().uid,actorType:"users",creationDateTime:(new Date).toUTCString(),message:n,objectType:"files",verb:"comment"}),o=r+"/"+parseInt(a.headers["content-location"].split("/").pop());return(await I.stat(o,{details:!0})).data}(this.commentsType,this.ressourceId,e);this.logger.debug("New comment posted",{commentsType:this.commentsType,ressourceId:this.ressourceId,newComment:t}),this.$emit("new",t),this.$emit("update:message",""),this.localMessage=""}catch(e){Object(Y.b)(t("comments","An error occurred while trying to create the comment")),console.error(e)}finally{this.loading=!1}}}},j={name:"Comment",components:{ActionButton:v.a,Actions:b.a,ActionSeparator:w.a,Avatar:x.a,Moment:S,RichContenteditable:C.a},mixins:[k.a,N],inheritAttrs:!1,props:{actorDisplayName:{type:String,required:!0},actorId:{type:String,required:!0},creationDateTime:{type:String,default:null},editor:{type:Boolean,default:!1},autoComplete:{type:Function,required:!0}},data:()=>({expanded:!1,localMessage:""}),computed:{isOwnComment(){return Object(s.getCurrentUser)().uid===this.actorId},renderedContent(){return this.isEmptyMessage?"":this.renderContent(this.localMessage)},isEmptyMessage(){return!this.localMessage||""===this.localMessage.trim()},timestamp(){return parseInt(h()(this.creationDateTime).format("x"),10)/1e3}},watch:{message(e){this.updateLocalMessage(e)}},beforeMount(){this.updateLocalMessage(this.message)},methods:{updateLocalMessage(e){this.localMessage=e.toString()},onSubmit(){if(""!==this.localMessage.trim())return this.editor?(this.onNewComment(this.localMessage.trim()),void this.$nextTick(()=>{this.$refs.editor.$el.focus()})):void this.onEditComment(this.localMessage.trim())},onExpand(){this.expanded=!0}}},O=r(109),P=r.n(O),F=r(180),H={insert:"head",singleton:!1},z=(P()(F.a,H),F.a.locals,E(j,(function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{directives:[{name:"show",rawName:"v-show",value:!e.deleted,expression:"!deleted"}],staticClass:"comment",class:{"comment--loading":e.loading}},[n("div",{staticClass:"comment__header"},[n("Avatar",{staticClass:"comment__avatar",attrs:{"disp
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-05-27 11:17:34 +03:00
* /var Q=async function({commentsType:e,ressourceId:t},n={}){let r=null;const a=["",e,t].join("/ ");return await I.customRequest(a,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(n.offset||0,"</oc:offset>\n\t\t\t</oc:filter-comments>")},n)).then(e=>(r=e,e.data)).then(U.parseXML).then(e=>function(e,t=!1){const{multistatus:{response:n}}=e;return n.map(e=>{const{propstat:{prop:n}}=e;return Object(U.prepareFileFromProps)(n,n.id.toString(),t)})}
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-05-29 13:14:51 +03:00
* / ( e , ! 0 ) ) . t h e n ( e = > O b j e c t ( R . p r o c e s s R e s p o n s e P a y l o a d ) ( r , e , ! 0 ) ) . t h e n ( e = > e . d a t a ) } ; v a r G = f u n c t i o n ( e ) { c o n s t t = c . a . C a n c e l T o k e n . s o u r c e ( ) ; r e t u r n { r e q u e s t : a s y n c f u n c t i o n ( n , r ) { r e t u r n e ( n , O b j e c t . a s s i g n ( { c a n c e l T o k e n : t . t o k e n } , r ) ) } , c a n c e l : t . c a n c e l } } ; p . d e f a u l t . u s e ( d . d e f a u l t ) ; v a r W = { n a m e : " C o m m e n t s " , c o m p o n e n t s : { C o m m e n t : z , E m p t y C o n t e n t : f . a } , d a t a : ( ) = > ( { e r r o r : " " , l o a d i n g : ! 1 , d o n e : ! 1 , r e s s o u r c e I d : n u l l , o f f s e t : 0 , c o m m e n t s : [ ] , c a n c e l R e q u e s t : ( ) = > { } , e d i t o r D a t a : { a c t o r D i s p l a y N a m e : O b j e c t ( s . g e t C u r r e n t U s e r ) ( ) . d i s p l a y N a m e , a c t o r I d : O b j e c t ( s . g e t C u r r e n t U s e r ) ( ) . u i d , k e y : " e d i t o r " } , C o m m e n t : z } ) , c o m p u t e d : { h a s C o m m e n t s ( ) { r e t u r n t h i s . c o m m e n t s . l e n g t h > 0 } , i s F i r s t L o a d i n g ( ) { r e t u r n t h i s . l o a d i n g & & 0 = = = t h i s . o f f s e t } } , m e t h o d s : { a s y n c u p d a t e ( e ) { t h i s . r e s s o u r c e I d = e , t h i s . r e s e t S t a t e ( ) , t h i s . g e t C o m m e n t s ( ) } , o n S c r o l l B o t t o m R e a c h e d ( ) { t h i s . e r r o r | | t h i s . d o n e | | t h i s . l o a d i n g | | t h i s . g e t C o m m e n t s ( ) } , g e n M e n t i o n s D a t a : e = > O b j e c t . v a l u e s ( e ) . f l a t ( ) . r e d u c e ( ( e , t ) = > ( e [ t . m e n t i o n I d ] = { i c o n : " i c o n - u s e r " , i d : t . m e n t i o n I d , l a b e l : t . m e n t i o n D i s p l a y N a m e , s o u r c e : " u s e r s " , p r i m a r y : O b j e c t ( s . g e t C u r r e n t U s e r ) ( ) . u i d = = = t . m e n t i o n I d } , e ) , { } ) , a s y n c g e t C o m m e n t s ( ) { t h i s . c a n c e l R e q u e s t ( " c a n c e l " ) ; t r y { t h i s . l o a d i n g = ! 0 , t h i s . e r r o r = " " ; c o n s t { r e q u e s t : e , c a n c e l : t } = G ( Q ) ; t h i s . c a n c e l R e q u e s t = t ; c o n s t n = a w a i t e ( { c o m m e n t s T y p e : t h i s . c o m m e n t s T y p e , r e s s o u r c e I d : t h i s . r e s s o u r c e I d } , { o f f s e t : t h i s . o f f s e t } ) ; t h i s . l o g g e r . d e b u g ( " P r o c e s s e d " . c o n c a t ( n . l e n g t h , " c o m m e n t s " ) , { c o m m e n t s : n } ) , n . l e n g t h < 2 0 & & ( t h i s . d o n e = ! 0 ) , t h i s . c o m m e n t s . p u s h ( . . . n ) , t h i s . o f f s e t + = 2 0 } c a t c h ( e ) { i f ( " c a n c e l " = = = e . m e s s a g e ) r e t u r n ; t h i s . e r r o r = t ( " c o m m e n t s " , " U n a b l e t o l o a d t h e c o m m e n t s l i s t " ) , c o n s o l e . e r r o r ( " E r r o r l o a d i n g t h e c o m m e n t s l i s t " , e ) } f i n a l l y { t h i s . l o a d i n g = ! 1 } } , a s y n c a u t o C o m p l e t e ( e , t ) { r e t u r n t ( ( a w a i t c . a . g e t ( O b j e c t ( i . g e n e r a t e O c s U r l ) ( " c o r e " , 2 ) + " a u t o c o m p l e t e / g e t " , { p a r a m s : { s e a r c h : e , i t e m T y p e : " f i l e s " , i t e m I d : t h i s . r e s s o u r c e I d , s o r t e r : " c o m m e n t e r s | s h a r e - r e c i p i e n t s " , l i m i t : O b j e c t ( l . l o a d S t a t e ) ( " c o m m e n t s " , " m a x A u t o C o m p l e t e R e s u l t s " ) } } ) ) . d a t a . o c s . d a t a ) } , o n N e w C o m m e n t ( e ) { t h i s . c o m m e n t s . u n s h i f t ( e ) } , o n D e l e t e ( e ) { c o n s t t = t h i s . c o m m e n t s . f i n d I n d e x ( t = > t . p r o p s . i d = = = e ) ; t > - 1 ? t h i s . c o m m e n t s . s p l i c e ( t , 1 ) : c o n s o l e . e r r o r ( " C o u l d n o t f i n d t h e d e l e t e d c o m m e n t i n t h e l i s t " , e ) } , r e s e t S t a t e ( ) { t h i s . e r r o r = " " , t h i s . l o a d i n g = ! 1 , t h i s . d o n e = ! 1 , t h i s . o f f s e t = 0 , t h i s . c o m m e n t s = [ ] } } } , q = r ( 1 8 1 ) , $ = { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } , J = ( P ( ) ( q . a , $ ) , q . a . l o c a l s , E ( W , ( 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 " , { s t a t i c C l a s s : " c o m m e n t s " , c l a s s : { " i c o n - l o a d i n g " : e . i s F i r s t L o a d i n g } } , [ n ( " C o m m e n t " , e . _ b ( { s t a t i c C l a s s : " c o m m e n t s _ _ w r i t e r " , a t t r s : { " a u t o - c o m p l e t e " : e . a u t o C o m p l e t e , e d i t o r : ! 0 , " r e s s o u r c e - i d " : e . r e s s o u r c e I d } , o n : { n e w : e . o n N e w C o m m e n t } } , " C o m m e n t " , e . e d i t o r D a t a , ! 1 ) ) , e . _ v ( " " ) , e . i s F i r s t L o a d i n g ? e . _ e ( ) : [ ! e . h a s C o m m e n t s & & e . d o n e ? n ( " E m p t y C o n t e n t " , { a t t r s : { i c o n : " i c o n - c o m m e n t " } } , [ e . _ v ( " \ n \ t \ t \ t " + e . _ s ( e . t ( " c o m m e n t s " , " N o c o m m e n t s y e t , s t a r t t h e c o n v e r s a t i o n ! " ) ) + " \ n \ t \ t " ) ] ) : e . _ l ( e . c o m m e n t s , ( f u n c t i o n ( t ) { r e t u r n n ( " C o m m e n t " , e . _ b ( { k e y : t . p r o p s . i d , s t a t i c C l a s s : " c o m m e n t s _ _ l i s t " , a t t r s : { " a u t o - c o m p l e t e " : e . a u t o C o m p l e t e , m e s s a g e : t . p r o p s . m e s s a g e , " r e s s o u r c e - i d " : e . r e s s o u r c e I d , " u s e r - d a t a " : e . g e n M e n t i o n s D a t a ( t . p r o p s . m e n t i o n s ) } , o n : { " u p d a t e : m e s s a g e " : f u n c t i o n ( n ) { r e t u r n e . $ s e t ( t . p r o p s , " m e s s a g e " , n ) } , d e l e t e : e . o n D e l e t e } } , " C o m m e n t " , t . p r o p s , ! 1 ) ) } ) ) , e . _ v ( " " ) , e . l o a d i n g & & ! e . i s F i r s t 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 s _ _ i n f o i c o n - l o a d i n g " } ) : e . h a s C o m m e n t s & & e . d o n e ? n ( " d i v " , { s t a t i c C l a s s : " c o m m e n t s _ _ i n f o " } , [ e . _ v ( " \ n \ t \ t \ t " + e . _ s ( e . t ( " c o m m e n t s " , " N o m o r e m e s s a g e s " ) ) + " \ n \ t \ t " ) ] ) : e . e r r o r ? n ( " E m p t y C o n t e n t " , { s t a t i c C l a s s : " c o m m e n t s _ _ e r r o r " , a t t r s : { i c o n : " i c o n - e r r o r " } , s c o p e d S l o t s : e . _ u ( [ { k e y : " d e s c " , f n : f u n c t i o n ( ) { r e t u r n [ n ( " b u t t o n " , { a t t r s : { i c o n : " i c o n - h i s t o r y " } , o n : { c l i c k : e . g e t C o m m e n t s } } , [ e . _ v ( " \ n \ t \ t \ t \ t \ t " + e . _ s ( e . t ( " c o m m e n t s " , " R e t r y " ) ) + " \ n \ t \ t \ t \ t " ) ] ) ] } , p r o x y : ! 0 } ] , n u l l , ! 1 , 1 1 8 2 5 8 0 1 3 7 ) } , [ e . _ v ( " \ n \ t \ t \ t " + e . _ s ( e . e r r o r ) + " \ n \ t \ t \ t " ) ] ) : e . _ e ( ) ] ] , 2 ) } ) , [ ] , ! 1 , n u l l , " 4 d 5 8 5 d a d " , n u l l ) . e x p o r t 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-05-27 11:17:34 +03:00
const V = Object ( a . getLoggerBuilder ) ( ) . setApp ( "comments" ) . detectUser ( ) . build ( ) ; p . default . mixin ( { data : ( ) => ( { logger : V } ) , methods : { t : o . translate , n : o . translatePlural } } ) ;
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-05-27 11:17:34 +03:00
window . OCA && ! window . OCA . Comments && Object . assign ( window . OCA , { Comments : { } } ) , Object . assign ( window . OCA . Comments , { View : class { constructor ( e = "files" , t ) { p . default . mixin ( { data : ( ) => ( { commentsType : e } ) } ) ; return new ( p . default . extend ( J ) ) ( t ) } } } ) , console . debug ( "OCA.Comments.View initialized" ) } ] ) ;
2020-10-20 15:24:01 +03:00
//# sourceMappingURL=comments-app.js.map