2021-05-30 00:53:04 +03:00
! function ( t ) { var e = { } ; function n ( r ) { if ( e [ r ] ) return e [ r ] . exports ; var a = e [ r ] = { i : r , l : ! 1 , exports : { } } ; return t [ r ] . call ( a . exports , a , a . exports , n ) , a . l = ! 0 , a . exports } n . m = t , n . c = e , n . d = function ( t , e , r ) { n . o ( t , e ) || Object . defineProperty ( t , e , { enumerable : ! 0 , get : r } ) } , n . r = function ( t ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( t , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( t , "__esModule" , { value : ! 0 } ) } , n . t = function ( t , e ) { if ( 1 & e && ( t = n ( t ) ) , 8 & e ) return t ; if ( 4 & e && "object" == typeof t && t && t . _ _esModule ) return t ; var r = Object . create ( null ) ; if ( n . r ( r ) , Object . defineProperty ( r , "default" , { enumerable : ! 0 , value : t } ) , 2 & e && "string" != typeof t ) for ( var a in t ) n . d ( r , a , function ( e ) { return t [ e ] } . bind ( null , a ) ) ; return r } , n . n = function ( t ) { var e = t && t . _ _esModule ? function ( ) { return t . default } : function ( ) { return t } ; return n . d ( e , "a" , e ) , e } , n . o = function ( t , e ) { return Object . prototype . hasOwnProperty . call ( t , e ) } , n . p = "/js/" , n ( n . s = 452 ) } ( [ function ( t , e , n ) { var r = n ( 3 ) , a = n ( 20 ) . f , o = n ( 13 ) , i = n ( 12 ) , s = n ( 68 ) , l = n ( 108 ) , u = n ( 91 ) ; t . exports = function ( t , e ) { var n , c , p , f , A , d = t . target , h = t . global , m = t . stat ; if ( n = h ? r : m ? r [ d ] || s ( d , { } ) : ( r [ d ] || { } ) . prototype ) for ( c in e ) { if ( f = e [ c ] , p = t . noTargetGet ? ( A = a ( n , c ) ) && A . value : n [ c ] , ! u ( h ? c : d + ( m ? "." : "#" ) + c , t . forced ) && void 0 !== p ) { if ( typeof f == typeof p ) continue ; l ( f , p ) } ( t . sham || p && p . sham ) && o ( f , "sham" , ! 0 ) , i ( n , c , f , t ) } } } , function ( t , e , n ) { var r = n ( 3 ) , a = n ( 49 ) , o = n ( 5 ) , i = n ( 70 ) , s = n ( 74 ) , l = n ( 114 ) , u = a ( "wks" ) , c = r . Symbol , p = l ? c : c && c . withoutSetter || i ; t . exports = function ( t ) { return o ( u , t ) && ( s || "string" == typeof u [ t ] ) || ( s && o ( c , t ) ? u [ t ] = c [ t ] : u [ t ] = p ( "Symbol." + t ) ) , u [ t ] } } , function ( t , e ) { t . exports = function ( t ) { try { return ! ! t ( ) } catch ( t ) { return ! 0 } } } , function ( t , e , n ) { ( function ( e ) { var n = function ( t ) { return t && t . Math == Math && t } ; t . exports = n ( "object" == typeof globalThis && globalThis ) || n ( "object" == typeof window && window ) || n ( "object" == typeof self && self ) || n ( "object" == typeof e && e ) || function ( ) { return this } ( ) || Function ( "return this" ) ( ) } ) . call ( this , n ( 9 ) ) } , function ( t , e , n ) { var r = n ( 7 ) ; t . exports = function ( t ) { if ( ! r ( t ) ) throw TypeError ( String ( t ) + " is not an object" ) ; return t } } , function ( t , e , n ) { var r = n ( 11 ) , a = { } . hasOwnProperty ; t . exports = Object . hasOwn || function ( t , e ) { return a . call ( r ( t ) , e ) } } , function ( t , e , n ) { var r = n ( 2 ) ; t . exports = ! r ( ( function ( ) { return 7 != Object . defineProperty ( { } , 1 , { get : function ( ) { return 7 } } ) [ 1 ] } ) ) } , function ( t , e ) { t . exports = function ( t ) { return "object" == typeof t ? null !== t : "function" == typeof t } } , function ( t , e , n ) { "use strict" ; var r = n ( 118 ) , a = Object . prototype . toString ; function o ( t ) { return "[object Array]" === a . call ( t ) } function i ( t ) { return void 0 === t } function s ( t ) { return null !== t && "object" == typeof t } function l ( t ) { if ( "[object Object]" !== a . call ( t ) ) return ! 1 ; var e = Object . getPrototypeOf ( t ) ; return null === e || e === Object . prototype } function u ( t ) { return "[object Function]" === a . call ( t ) } function c ( t , e ) { if ( null != t ) if ( "object" != typeof t && ( t = [ t ] ) , o ( t ) ) for ( var n = 0 , r = t . length ; n < r ; n ++ ) e . call ( null , t [ n ] , n , t ) ; else for ( var a in t ) Object . prototype . hasOwnProperty . call ( t , a ) && e . call ( null , t [ a ] , a , t ) } t . exports = { isArray : o , isArrayBuffer : function ( t ) { return "[object ArrayBuffer]" === a . call ( t ) } , isBuffer : function ( t ) { return null !== t && ! i ( t ) && null !== t . constructor && ! i ( t . constructor ) && "function" == typeof t . constructor . isBuffer && t . constructor . isBuffer ( t ) } , isFormData : function ( t ) { return "undefined" != typeof FormData && t instanceof FormData } , isArrayBufferView : function ( t ) { return "undefined" != typeof ArrayBuffer && ArrayBuffer . isView ? ArrayBuffer . isView ( t ) : t && t . buffer && t . buffer instanceof ArrayBuffer } , isString : function ( t ) { return "string" == typeof t } , isNumber : function ( t ) { return "number" == typeof t } , isObject : s , isPlainObject : l , isUndefined : i , isDate : function ( t ) { return "[object Date]" === a . call ( t ) } , isFile : function ( t ) { return "[object File]" === a . call ( t ) } , isBlob : function ( t ) { return "[object Blob]" === a . call ( t ) } , isFunction : u , isStream : function ( t ) { return s ( t ) && u ( t . pipe ) } , isURLSearchParams : function ( t ) { return "undefined" != typeof URLSearchParams && t instanceof URLSearchParams } , isStandardBrowserEnv : function ( ) { return ( "undefined" == typeof navigator || "ReactNative" !== navigator . product && "NativeScript" !== navigator . product && "NS" !== navigator . product ) && ( "undefined" != typeof window && "undefined" != typeof document
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-30 00:53:04 +03:00
var r = Object . freeze ( { } ) ; function a ( t ) { return null == t } function o ( t ) { return null != t } function i ( t ) { return ! 0 === t } function s ( t ) { return "string" == typeof t || "number" == typeof t || "symbol" == typeof t || "boolean" == typeof t } function l ( t ) { return null !== t && "object" == typeof t } var u = Object . prototype . toString ; function c ( t ) { return "[object Object]" === u . call ( t ) } function p ( t ) { return "[object RegExp]" === u . call ( t ) } function f ( t ) { var e = parseFloat ( String ( t ) ) ; return e >= 0 && Math . floor ( e ) === e && isFinite ( t ) } function A ( t ) { return o ( t ) && "function" == typeof t . then && "function" == typeof t . catch } function d ( t ) { return null == t ? "" : Array . isArray ( t ) || c ( t ) && t . toString === u ? JSON . stringify ( t , null , 2 ) : String ( t ) } function h ( t ) { var e = parseFloat ( t ) ; return isNaN ( e ) ? t : e } function m ( t , e ) { for ( var n = Object . create ( null ) , r = t . split ( "," ) , a = 0 ; a < r . length ; a ++ ) n [ r [ a ] ] = ! 0 ; return e ? function ( t ) { return n [ t . toLowerCase ( ) ] } : function ( t ) { return n [ t ] } } m ( "slot,component" , ! 0 ) ; var g = m ( "key,ref,slot,slot-scope,is" ) ; function v ( t , e ) { if ( t . length ) { var n = t . indexOf ( e ) ; if ( n > - 1 ) return t . splice ( n , 1 ) } } var y = Object . prototype . hasOwnProperty ; function b ( t , e ) { return y . call ( t , e ) } function x ( t ) { var e = Object . create ( null ) ; return function ( n ) { return e [ n ] || ( e [ n ] = t ( n ) ) } } var C = /-(\w)/g , w = x ( ( function ( t ) { return t . replace ( C , ( function ( t , e ) { return e ? e . toUpperCase ( ) : "" } ) ) } ) ) , T = x ( ( function ( t ) { return t . charAt ( 0 ) . toUpperCase ( ) + t . slice ( 1 ) } ) ) , E = /\B([A-Z])/g , _ = x ( ( function ( t ) { return t . replace ( E , "-$1" ) . toLowerCase ( ) } ) ) ; var S = Function . prototype . bind ? function ( t , e ) { return t . bind ( e ) } : function ( t , e ) { function n ( n ) { var r = arguments . length ; return r ? r > 1 ? t . apply ( e , arguments ) : t . call ( e , n ) : t . call ( e ) } return n . _length = t . length , n } ; function k ( t , e ) { e = e || 0 ; for ( var n = t . length - e , r = new Array ( n ) ; n -- ; ) r [ n ] = t [ n + e ] ; return r } function I ( t , e ) { for ( var n in e ) t [ n ] = e [ n ] ; return t } function B ( t ) { for ( var e = { } , n = 0 ; n < t . length ; n ++ ) t [ n ] && I ( e , t [ n ] ) ; return e } function N ( t , e , n ) { } var M = function ( t , e , n ) { return ! 1 } , O = function ( t ) { return t } ; function j ( t , e ) { if ( t === e ) return ! 0 ; var n = l ( t ) , r = l ( e ) ; if ( ! n || ! r ) return ! n && ! r && String ( t ) === String ( e ) ; try { var a = Array . isArray ( t ) , o = Array . isArray ( e ) ; if ( a && o ) return t . length === e . length && t . every ( ( function ( t , n ) { return j ( t , e [ n ] ) } ) ) ; if ( t instanceof Date && e instanceof Date ) return t . getTime ( ) === e . getTime ( ) ; if ( a || o ) return ! 1 ; var i = Object . keys ( t ) , s = Object . keys ( e ) ; return i . length === s . length && i . every ( ( function ( n ) { return j ( t [ n ] , e [ n ] ) } ) ) } catch ( t ) { return ! 1 } } function L ( t , e ) { for ( var n = 0 ; n < t . length ; n ++ ) if ( j ( t [ n ] , e ) ) return n ; return - 1 } function F ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , t . apply ( this , arguments ) ) } } var D = [ "component" , "directive" , "filter" ] , P = [ "beforeCreate" , "created" , "beforeMount" , "mounted" , "beforeUpdate" , "updated" , "beforeDestroy" , "destroyed" , "activated" , "deactivated" , "errorCaptured" , "serverPrefetch" ] , U = { optionMergeStrategies : Object . create ( null ) , silent : ! 1 , productionTip : ! 1 , devtools : ! 1 , performance : ! 1 , errorHandler : null , warnHandler : null , ignoredElements : [ ] , keyCodes : Object . create ( null ) , isReservedTag : M , isReservedAttr : M , isUnknownElement : M , getTagNamespace : N , parsePlatformTagName : O , mustUseProp : M , async : ! 0 , _lifecycleHooks : P } , R = /a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/ ; function z ( t , e , n , r ) { Object . defineProperty ( t , e , { value : n , enumerable : ! ! r , writable : ! 0 , configurable : ! 0 } ) } var $ = new RegExp ( "[^" + R . source + ".$_\\d]" ) ; var G , Q = "__proto__" in { } , Y = "undefined" != typeof window , H = "undefined" != typeof WXEnvironment && ! ! WXEnvironment . platform , W = H && WXEnvironment . platform . toLowerCase ( ) , V = Y && window . navigator . userAgent . toLowerCase ( ) , Z = V && /msie|trident/ . test ( V ) , X = V && V . indexOf ( "msie 9.0" ) > 0 , J = V && V . indexOf ( "edge/" ) > 0 , q = ( V && V . indexOf ( "android" ) , V && /iphone|ipad|ipod|ios/ . test ( V ) || "ios" === W ) , K = ( V && /chrome\/\d+/ . test ( V ) , V && /phantomjs/ . test ( V ) , V && V . match ( /firefox\/(\d+)/ ) ) , tt = { } . watch , et = ! 1 ; if ( Y ) try { var nt = { } ; Object . defineProperty ( nt , "passive" , { get : function ( ) { et = ! 0 } } ) , window . addEventListener ( "test-passive" , null , nt ) } catch ( t ) { } var rt = function ( ) { return void 0 === G && ( G = ! Y && ! H && void 0 !== t && ( t . process && "server" === t . process . env . VUE _ENV ) ) , G } , at = Y && window . _ _VUE _DEVTOOLS _GLOBAL _HOOK _ _ ; function ot ( t ) { return "function" == t
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-30 00:53:04 +03:00
var n = "undefined" != typeof window && "undefined" != typeof document && "undefined" != typeof navigator , r = function ( ) { for ( var t = [ "Edge" , "Trident" , "Firefox" ] , e = 0 ; e < t . length ; e += 1 ) if ( n && navigator . userAgent . indexOf ( t [ e ] ) >= 0 ) return 1 ; return 0 } ( ) ; var a = n && window . Promise ? function ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , window . Promise . resolve ( ) . then ( ( function ( ) { e = ! 1 , t ( ) } ) ) ) } } : function ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , setTimeout ( ( function ( ) { e = ! 1 , t ( ) } ) , r ) ) } } ; function o ( t ) { return t && "[object Function]" === { } . toString . call ( t ) } function i ( t , e ) { if ( 1 !== t . nodeType ) return [ ] ; var n = t . ownerDocument . defaultView . getComputedStyle ( t , null ) ; return e ? n [ e ] : n } function s ( t ) { return "HTML" === t . nodeName ? t : t . parentNode || t . host } function l ( t ) { if ( ! t ) return document . body ; switch ( t . nodeName ) { case "HTML" : case "BODY" : return t . ownerDocument . body ; case "#document" : return t . body } var e = i ( t ) , n = e . overflow , r = e . overflowX , a = e . overflowY ; return /(auto|scroll|overlay)/ . test ( n + a + r ) ? t : l ( s ( t ) ) } function u ( t ) { return t && t . referenceNode ? t . referenceNode : t } var c = n && ! ( ! window . MSInputMethodContext || ! document . documentMode ) , p = n && /MSIE 10/ . test ( navigator . userAgent ) ; function f ( t ) { return 11 === t ? c : 10 === t ? p : c || p } function A ( t ) { if ( ! t ) return document . documentElement ; for ( var e = f ( 10 ) ? document . body : null , n = t . offsetParent || null ; n === e && t . nextElementSibling ; ) n = ( t = t . nextElementSibling ) . offsetParent ; var r = n && n . nodeName ; return r && "BODY" !== r && "HTML" !== r ? - 1 !== [ "TH" , "TD" , "TABLE" ] . indexOf ( n . nodeName ) && "static" === i ( n , "position" ) ? A ( n ) : n : t ? t . ownerDocument . documentElement : document . documentElement } function d ( t ) { return null !== t . parentNode ? d ( t . parentNode ) : t } function h ( t , e ) { if ( ! ( t && t . nodeType && e && e . nodeType ) ) return document . documentElement ; var n = t . compareDocumentPosition ( e ) & Node . DOCUMENT _POSITION _FOLLOWING , r = n ? t : e , a = n ? e : t , o = document . createRange ( ) ; o . setStart ( r , 0 ) , o . setEnd ( a , 0 ) ; var i , s , l = o . commonAncestorContainer ; if ( t !== l && e !== l || r . contains ( a ) ) return "BODY" === ( s = ( i = l ) . nodeName ) || "HTML" !== s && A ( i . firstElementChild ) !== i ? A ( l ) : l ; var u = d ( t ) ; return u . host ? h ( u . host , e ) : h ( t , d ( e ) . host ) } function m ( t ) { var e = arguments . length > 1 && void 0 !== arguments [ 1 ] ? arguments [ 1 ] : "top" , n = "top" === e ? "scrollTop" : "scrollLeft" , r = t . nodeName ; if ( "BODY" === r || "HTML" === r ) { var a = t . ownerDocument . documentElement , o = t . ownerDocument . scrollingElement || a ; return o [ n ] } return t [ n ] } function g ( t , e ) { var n = arguments . length > 2 && void 0 !== arguments [ 2 ] && arguments [ 2 ] , r = m ( e , "top" ) , a = m ( e , "left" ) , o = n ? - 1 : 1 ; return t . top += r * o , t . bottom += r * o , t . left += a * o , t . right += a * o , t } function v ( t , e ) { var n = "x" === e ? "Left" : "Top" , r = "Left" === n ? "Right" : "Bottom" ; return parseFloat ( t [ "border" + n + "Width" ] ) + parseFloat ( t [ "border" + r + "Width" ] ) } function y ( t , e , n , r ) { return Math . max ( e [ "offset" + t ] , e [ "scroll" + t ] , n [ "client" + t ] , n [ "offset" + t ] , n [ "scroll" + t ] , f ( 10 ) ? parseInt ( n [ "offset" + t ] ) + parseInt ( r [ "margin" + ( "Height" === t ? "Top" : "Left" ) ] ) + parseInt ( r [ "margin" + ( "Height" === t ? "Bottom" : "Right" ) ] ) : 0 ) } function b ( t ) { var e = t . body , n = t . documentElement , r = f ( 10 ) && getComputedStyle ( n ) ; return { height : y ( "Height" , e , n , r ) , width : y ( "Width" , e , n , r ) } } var x = function ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } , C = function ( ) { function t ( t , e ) { for ( var n = 0 ; n < e . length ; n ++ ) { var r = e [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( t , r . key , r ) } } return function ( e , n , r ) { return n && t ( e . prototype , n ) , r && t ( e , r ) , e } } ( ) , w = function ( t , e , n ) { return e in t ? Object . defineProperty ( t , e , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : t [ e ] = n , t } , T = Object . assign || function ( t ) { for ( var e = 1 ; e < arguments . length ; e ++ ) { var n = arguments [ e ] ; for ( var r in n ) Object . prototype . hasOwnProperty . call ( n , r ) && ( t [ r ] = n [ r ] ) } return t } ; function E ( t ) { return T ( { } , t , { right : t . left + t . width , bottom : t . top + t . height } ) } function _ ( t ) { var e = { } ; try { if ( f ( 10 ) ) { e = t . getBoundingClientRect ( ) ; var n = m ( t , "top" ) , r = m ( t , "left" ) ; e . top += n , e . left += r , e . bottom += n , e . right += r } else e = t . getBoundingClientRect ( ) } catch ( t ) { } var a = { left : e . left , top : e . top , width : e . right - e . left , height : e . bottom - e . top } , o = "HTML" === t . nodeName ? b ( t . ownerDocument ) : { } , s = o . width || t . clientWidth || a . width , l = o . height || t . clientHeight || a . height , u = t . offsetWidth - s , c = t . offsetHeight - l ; if ( u || c ) { var p = i ( t ) ; u -= v ( p , "x" ) , c -
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2020 Greta Doci < gretadoci @ gmail . com >
*
* @ author 2020 Greta Doci < gretadoci @ gmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2021-05-30 00:53:04 +03:00
* /e.default=r.a},2:function(t,e,n){"use strict";var r,a=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}(),o=[];function i(t){for(var e=-1,n=0;n<o.length;n++)if(o[n].identifier===t){e=n;break}return e}function s(t,e){for(var n={},r=[],a=0;a<t.length;a++){var s=t[a],l=e.base?s[0]+e.base:s[0],u=n[l]||0,c="".concat(l," ").concat(u);n[l]=u+1;var p=i(c),f={css:s[1],media:s[2],sourceMap:s[3]};-1!==p?(o[p].references++,o[p].updater(f)):o.push({identifier:c,updater:h(f,e),references:1}),r.push(c)}return r}function l(t){var e=document.createElement("style"),r=t.attributes||{};if(void 0===r.nonce){var o=n.nc;o&&(r.nonce=o)}if(Object.keys(r).forEach((function(t){e.setAttribute(t,r[t])})),"function"==typeof t.insert)t.insert(e);else{var i=a(t.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(e)}return e}var u,c=(u=[],function(t,e){return u[t]=e,u.filter(Boolean).join("\n")});function p(t,e,n,r){var a=n?"":r.media?"@media ".concat(r.media," {").concat(r.css,"}"):r.css;if(t.styleSheet)t.styleSheet.cssText=c(e,a);else{var o=document.createTextNode(a),i=t.childNodes;i[e]&&t.removeChild(i[e]),i.length?t.insertBefore(o,i[e]):t.appendChild(o)}}function f(t,e,n){var r=n.css,a=n.media,o=n.sourceMap;if(a?t.setAttribute("media",a):t.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(r+="\n/ * # sourceMappingURL = data : application / json ; base64 , ".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," * / " ) ) , t . s t y l e S h e e t ) t . s t y l e S h e e t . c s s T e x t = r ; e l s e { f o r ( ; t . f i r s t C h i l d ; ) t . r e m o v e C h i l d ( t . f i r s t C h i l d ) ; t . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( r ) ) } } v a r A = n u l l , d = 0 ; f u n c t i o n h ( t , e ) { v a r n , r , a ; i f ( e . s i n g l e t o n ) { v a r o = d + + ; n = A | | ( A = l ( e ) ) , r = p . b i n d ( n u l l , n , o , ! 1 ) , a = p . b i n d ( n u l l , n , o , ! 0 ) } e l s e n = l ( e ) , r = f . b i n d ( n u l l , n , e ) , a = f u n c t i o n ( ) { ! f u n c t i o n ( t ) { i f ( n u l l = = = t . p a r e n t N o d e ) r e t u r n ! 1 ; t . p a r e n t N o d e . r e m o v e C h i l d ( t ) } ( n ) } ; r e t u r n r ( t ) , f u n c t i o n ( e ) { i f ( e ) { i f ( e . c s s = = = t . c s s & & e . m e d i a = = = t . m e d i a & & e . s o u r c e M a p = = = t . s o u r c e M a p ) r e t u r n ; r ( t = e ) } e l s e a ( ) } } t . e x p o r t s = f u n c t i o n ( t , e ) { ( e = e | | { } ) . s i n g l e t o n | | " b o o l e a n " = = t y p e o f e . s i n g l e t o n | | ( e . 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 ( t = t | | [ ] , e ) ; r e t u r n f u n c t i o n ( t ) { i f ( t = t | | [ ] , " [ 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 ( t ) ) { 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 ( t , e ) , 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 ( t , e , n ) { " u s e s t r i c t " ; f u n c t i o n r ( t , e , 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 t ? t . o p t i o n s : t ; i f ( e & & ( u . r e n d e r = e , 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 ( t ) { ( t = t | | 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 _ _ | | ( t = _ _ V U E _ S S R _ C O N T E X T _ _ ) , a & & a . c a l l ( t h i s , t ) , t & & t . _ r e g i s t e r e d C o m p o n e n t s & & t . _ 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 ( t , e ) { r e t u r n l . c a l l ( e ) , c ( t , e ) } } e l s e { v a r p = 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 = p ? [ ] . c o n c a t ( p , l ) : [ l ] } r e t u r n { e x p o r t s : t , o p t i o n s : u } } n . d ( e , " a " , ( f u n c t i o n ( ) { r e t u r n r } ) ) } } ) } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 0 ) , a = n ( 5 3 ) . f i l t e r ; r ( { t a r g e t : " A r r a y " , p r o t o : ! 0 , f o r c e d : ! n ( 4 6 ) ( " f i l t e r " ) } , { f i l t e r : f u n c t i o n ( t ) { r e t u r n a ( t h i s , t , a r g u m e n t s . l e n g t h > 1 ? a r g u m e n t s [ 1 ] : v o i d 0 ) } } ) } , , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) , f u n c t i o n ( t , r ) { n . d ( e , " e m i t " , ( f u n c t i o n ( ) { r e t u r n I a } ) ) , n . d ( e , " s u b s c r i b e " , ( f u n c t i o n ( ) { r e t u r n S a } ) ) , n . d ( e , " u n s u b s c r i b e " , ( f u n c t i o n ( ) { r e t u r n k a } ) ) ; v a r a = " u n d e f i n e d " ! = t y p e o f g l o b a l T h i s ? g l o b a l T h i s : " u n d e f i n e d " ! = t y p e o f w i n d o w ? w i n d o w : v o i d 0 ! = = t ? t : " u n d e f i n e d " ! = t y p e o f s e l f ? s e l f : { } ; f u n c t i o n o ( t ) { v a r e = { e x p o r t s : { } } ; r e t u r n t ( e , e . e x p o r t s ) , e . e x p o r t s } v a r i = f u n c t i o n ( t ) { r e t u r n t & & t . M a t h = = M a t h & & t } , s = i ( " o b j e c t " = = t y p e o f g l o b a l T h i s & & g l o b a l T h i s ) | | i ( " o b j e c
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-30 00:53:04 +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 , e . default = r . VTooltip } , function ( t , e ) { t . exports = n ( 175 ) } , function ( t , e , n ) { "use strict" ; var r = n ( 0 ) , a = n . n ( r ) , o = n ( 1 ) , i = n . n ( o ) ( ) ( a . a ) ; i . push ( [ t . 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 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-30 00:53:04 +03:00
* / e . a = { b e f o r e : f u n c t i o n ( ) { t h i s . $ s l o t s . d e f a u l t & & " " ! = = t h i s . t e x t . t r i m ( ) | | ( 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 ( ) : " " } } } } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 1 4 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 0 5 ) } , , , , , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 0 6 ) } , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n . r ( e ) ; v a r r = n ( 2 8 ) ;
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-30 00:53:04 +03:00
* / e . d e f a u l t = r . a } , , f u n c t i o n ( t , e , 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 ( t , e ) { f o r ( v a r n = t . $ p a r e n t ; n ; ) { i f ( n . $ o p t i o n s . n a m e = = = e ) r e t u r n n ; n = n . $ p a r e n t } } ) ; e . a = { m i x i n s : [ r . a ] , p r o p s : { i c o n : { t y p e : S t r i n g , d e f a u l t : " " } , t i t l e : { t y p e : S t r i n g , d e f a u l t : " " } , c l o s e A f t e r C l i c k : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , 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 ( t ) { r e t u r n ! 1 } } } , m e t h o d s : { o n C l i c k : f u n c t i o n ( t ) { i f ( t h i s . $ e m i t ( " c l i c k " , t ) , t h i s . c l o s e A f t e r C l i c k ) { v a r e = a ( t h i s , " A c t i o n s " ) ; e & & e . c l o s e M e n u & & e . c l o s e M e n u ( ) } } } } } , f u n c t i o n ( t , e , 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 ) ; e . a = f u n c t i o n ( t , e , n ) { i f ( v o i d 0 ! = = t ) f o r ( v a r r = t . l e n g t h - 1 ; r > = 0 ; r - - ) { v a r o = t [ r ] , i = ! o . c o m p o n e n t O p t i o n s & & o . t a g & & - 1 = = = e . 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 = = = e . 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 ) , t . s p l i c e ( r , 1 ) ) } } } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 1 6 9 ) } , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 0 9 ) } , , , , , , , , , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 1 2 ) ; e . a = { m e t h o d s : { n : r . a , t : r . b } } } , , , , , , f u n c t i o n ( t , e , n ) { " 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 ) , p = n ( 1 0 ) , f = n ( 1 1 ) , A = i ( ) ( a . a ) , d = l ( ) ( u . a ) , h = l ( ) ( c . a ) , m = l ( ) ( p . a ) , g = l ( ) ( f . a ) ; A . p u s h ( [ t . i , ' @ f o n t - f a c e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; s r c : u r l ( ' + d + " ) ; s r c : u r l ( " + d + ' ) 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 ( ' + h + ' ) f o r m a t ( " w o f f " ) , u r l ( ' + m + ' ) 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
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-27 08:58:14 +03:00
* / e . d e f a u l t = r . a } , , , , , , , , , , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ;
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-30 00:53:04 +03:00
* / e . a = f u n c t i o n ( t ) { t . m o u n t e d ? A r r a y . i s A r r a y ( t . m o u n t e d ) | | ( t . m o u n t e d = [ t . m o u n t e d ] ) : t . m o u n t e d = [ ] , t . m o u n t e d . p u s h ( ( f u n c t i o n ( ) { t h i s . $ e l . s e t A t t r i b u t e ( " d a t a - v - " . c o n c a t ( " 8 4 c 4 6 1 f " ) , " " ) } ) ) } } , , f u n c t i o n ( t , e , 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 ( t , e ) { ( n u l l = = e | | e > t . l e n g t h ) & & ( e = t . l e n g t h ) ; f o r ( v a r n = 0 , r = n e w A r r a y ( e ) ; n < e ; n + + ) r [ n ] = t [ n ] ; r e t u r n r } f u n c t i o n u ( t , e ) { v a r n = O b j e c t . k e y s ( t ) ; i f ( O b j e c t . g e t O w n P r o p e r t y S y m b o l s ) { v a r r = O b j e c t . g e t O w n P r o p e r t y S y m b o l s ( t ) ; e & & ( r = r . f i l t e r ( ( f u n c t i o n ( e ) { r e t u r n O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r ( t , e ) . e n u m e r a b l e } ) ) ) , n . p u s h . a p p l y ( n , r ) } r e t u r n n } f u n c t i o n c ( t ) { f o r ( v a r e = 1 ; e < a r g u m e n t s . l e n g t h ; e + + ) { v a r n = n u l l ! = a r g u m e n t s [ e ] ? a r g u m e n t s [ e ] : { } ; e % 2 ? u ( O b j e c t ( n ) , ! 0 ) . f o r E a c h ( ( f u n c t i o n ( e ) { p ( t , e , n [ e ] ) } ) ) : O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r s ? O b j e c t . d e f i n e P r o p e r t i e s ( t , O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r s ( n ) ) : u ( O b j e c t ( n ) ) . f o r E a c h ( ( f u n c t i o n ( e ) { O b j e c t . d e f i n e P r o p e r t y ( t , e , O b j e c t . g e t O w n P r o p e r t y D e s c r i p t o r ( n , e ) ) } ) ) } r e t u r n t } f u n c t i o n p ( t , e , n ) { r e t u r n e i n t ? O b j e c t . d e f i n e P r o p e r t y ( t , e , { v a l u e : n , e n u m e r a b l e : ! 0 , c o n f i g u r a b l e : ! 0 , w r i t a b l e : ! 0 } ) : t [ e ] = n , t } v a r f = [ " 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 ( t , e ) { r e t u r n e . 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 t = t h i s . f i r s t A c t i o n V N o d e . c o m p o n e n t O p t i o n s . t a g ; i f ( " A c t i o n L i n k " = = = t ) r e t u r n 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 " = = = t ) 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 " = = = t ) 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 t , e , n ; r e t u r n n u l l = = = ( t = 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 = = = t | | n u l l = = = ( e = t . c o m p o n e n t O p t i o n s ) | | v o i d 0 = = = e | | n u l l = = = ( n = e . 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 t , e ; r e t u r n n u l l = = = ( t = t h i s . f i r s t A c t i o n ) | | v o i d 0 = = = t | | n u l l = = = ( e = t . $ s l o t s ) | | v o i d 0 = = = e ? v o i d 0 : e . 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 ( t ) { t ! = = t h i s . o p e n e d & & ( t h i s . o p e n e d = t ) } } , 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 , f , 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 , f , 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 ( t ) { 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 ( t ) { 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
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-30 00:53:04 +03:00
* / e . d e f a u l t = r . a } , , , , , , , , , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = n ( 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 ) , p = n ( 1 0 ) , f = n ( 1 1 ) , A = i ( ) ( a . a ) , d = l ( ) ( u . a ) , h = l ( ) ( c . a ) , m = l ( ) ( p . a ) , g = l ( ) ( f . a ) ; A . p u s h ( [ t . i , ' @ f o n t - f a c e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; s r c : u r l ( ' + d + " ) ; s r c : u r l ( " + d + ' ) 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 ( ' + h + ' ) f o r m a t ( " w o f f " ) , u r l ( ' + m + ' ) 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 - 3 e 0 b 1 0 9 b ] { f o n t - s t y l e : n o r m a l ; f o n t - w e i g h t : 4 0 0 } . i c o n . a r r o w - l e f t - d o u b l e [ d a t a - v - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 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 - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 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 - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 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 - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 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 - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 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 - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 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 - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 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 - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 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 - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 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 - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 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 - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 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 - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 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 - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 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 - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 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 - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 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 - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 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 - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 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 - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 8 4 c 4 6 1 f " ; c o n t e n t : " " } . m o d a l - m a s k [ d a t a - v - 3 e 0 b 1 0 9 b ] { p o s i t i o n : f i x e d ; z - i n d e x : 9 9 9 8 ; t o p : 0 ; l e f t : 0 ; d i s p l a y : b l o c k ; w i d t h : 1 0 0 % ; h e i g h t : 1 0 0 % ; b a c k g r o u n d - c o l o r : r g b a ( 0 , 0 , 0 , 0 . 5 ) } . m o d a l - m a s k - - d a r k [ d a t a - v - 3 e 0 b 1 0 9 b ] { b a c k g r o u n d - c o l o r : r g b a ( 0 , 0 , 0 , 0 . 9 2 ) } . m o d a l - h e a d e r [ d a t a - v - 3 e 0 b 1 0 9 b ] { p o s i t i o n : a b s o l u t e ; z - i n d e x : 1 0 0 0 1 ; t o p : 0 ; r i g h t : 0 ; l e f t : 0 ; d i s p l a y : f l e x ! i m p o r t a n t ; 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 ; w i d t h : 1 0 0 % ; h e i g h t : 5 0 p x ; t r a n s i t i o n : o p a c i t y 2 5 0 m s , v i s i b i l i t y 2 5 0 m s } . m o d a l - h e a d e r . i n v i s i b l e [ s t y l e * = \ ' d i s p l a y : n o n e \ ' ] [ d a t a - v - 3 e 0 b 1 0 9 b ] , . m o d a l - h e a d e r . i n v i s i b l e [ s t y l e * = \ ' d i s p l a y : n o n e \ ' ] [ d a t a - v - 3 e 0 b 1 0 9 b ] { v i s i b i l i t y : h i d d e n } . m o d a l - h e a d e r . m o d a l - t i t l e [ d a t a - v - 3 e 0 b 1 0 9 b ] { o v e r f l o w - x : h i d d e n ; b o x - s i z i n g : b o r d e r - b o x ; w i d t h : 1 0 0 % ; p a d d i n g : 0 1 3 2 p x 0 1 2 p x ; t r a n s i t i o n : p a d d i n g e a s e 1 0 0 m s ; w h i t e - s p a c e : n o w r a p ; t e x t - o v e r f l o w : e l l i p s i s ; c o l o r : # f f f ; f o n t - s i z e : 1 4 p x } @ m e d i a o n l y s c r e e n a n d ( m i n - w i d t h : 5 1 2 p x ) { . m o d a l - h e a d e r . m o d a l - t i t l e [ d a t a - v - 3 e 0 b 1 0 9 b ] { t e x t - a l i g n : c e n t e r ; p a d d i n g - l e f t : 1 3 2 p x } } . m o d a l - h e a d e r . i c o n s - m e n u [ d a t a - v - 3 e 0 b 1 0 9 b ] { p o s i t i o n : a b s o l u t e ; r i g h t : 0 ; 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 : f l e x - e n d } . m o d a l - h e a d e r . i c o n s - m e n u . i c o n - c l o s e [ d a t a - v - 3 e 0 b 1 0 9 b ] { b o x - s i z i n g : b o r d e r - b o x ; m a r g i n : 3 p x ; p a d d i n g : 1 0 p x 1 1 p x ; c o l o r : # f f f ; b a c k g r o u n d - i m a g e : n o n e ; f o n t - s i z e : 2 3 p x } . m o d a l - h e a d e r . i c o n s - m e n u . i c o n - c l o s e [ d a t a - v - 3 e 0 b 1 0 9 b ] : b e f o r e { f o n t - f a m i l y : " i c o n f o n t - v u e - 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 : " " } . m o d a l - h e a d e r . i c o n s - m e n u . p l a y - p a u s e [ d a t a - v - 3 e 0 b 1 0 9 b ] { p o s i t i o n : r e l a t i v e ; w i d t h : 5 0 p x ; h e i g h t : 5 0 p x ; m a r g i n : 0 ; p a d d i n g : 0 ; c u r s o r : p o i n t e r ; c o l o r : w h i t e ; b o r d e r : n o n e ; 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 ; f o n t - s i z e : 2 2 p x } . m o d a l - h e a d e r . i c o n s - m e n u . p l a y - p a u s e : h o v e r . i c o n - p l a y [ d a t a - v - 3 e 0 b 1 0 9 b ] , . m o d a l - h e a d e r . i c o n s - m e n u . p l a y - p a u s e : h o v e r . i c o n - p a u s e [ d a t a - v - 3 e 0 b 1 0 9 b ] , . m o d a l - h e a d e r . i c o n s - m e n u . p l a y - p a u s e : f o c u s . i c o n - p l a y [ d a t a - v - 3 e 0 b 1 0 9 b ] , . m o d a l - h e a d e r . i c o n s - m e n u . p l a y - p a u s e : f o c u s . i c o n - p a u s e [ d a t a - v - 3 e 0 b 1 0 9 b ] { o p a c i t y : 1 ; 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 : r g b a ( 1 2 7 , 1 2 7 , 1 2 7 , 0 . 2 5 ) } . m o d a l - h e a d e r . i c o n s - m e n u . p l a y - p a u s e . i c o n - p l a y [ d a t a - v - 3 e 0 b 1 0 9 b ] , . m o d a l - h e a d e r . i c o n s - m e n u . p l a y - p a u s e . i c o n - p a u s e [ d a t a - v
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-30 00:53:04 +03:00
* / f u n c t i o n p ( t , e ) { v a r n , r , a , o = e ; t h i s . s t a r t = f u n c t i o n ( ) { a = ! 0 , r = n e w D a t e , n = s e t T i m e o u t ( t , o ) } , t h i s . p a u s e = f u n c t i o n ( ) { a = ! 1 , c l e a r T i m e o u t ( n ) , o - = n e w D a t e - r } , t h i s . c l e a r = f u n c t i o n ( ) { a = ! 1 , c l e a r T i m e o u t ( n ) , o = 0 } , t h i s . g e t T i m e L e f t = f u n c t i o n ( ) { r e t u r n a & & ( t h i s . p a u s e ( ) , t h i s . s t a r t ( ) ) , o } , t h i s . g e t S t a t e R u n n i n g = f u n c t i o n ( ) { r e t u r n a } , t h i s . s t a r t ( ) } v a r f = { n a m e : " M o d a l " , c o m p o n e n t s : { A c t i o n s : i . d e f a u l t , A c t i o n B u t t o n : s . d e f a u l t } , d i r e c t i v e s : { t o o l t i p : c . d e f a u l t } , m i x i n s : [ l . a ] , p r o p s : { t i t l e : { t y p e : S t r i n g , d e f a u l t : " " } , h a s P r e v i o u s : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , h a s N e x t : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , o u t T r a n s i t i o n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , e n a b l e S l i d e s h o w : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , c l e a r V i e w D e l a y : { t y p e : N u m b e r , d e f a u l t : 5 e 3 } , s l i d e s h o w D e l a y : { t y p e : N u m b e r , d e f a u l t : 3 e 3 } , s l i d e s h o w P a u s e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , e n a b l e S w i p e : { t y p e : B o o l e a n , d e f a u l t : ! 0 } , s p r e a d N a v i g a t i o n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , s i z e : { t y p e : S t r i n g , d e f a u l t : " n o r m a l " , v a l i d a t o r : f u n c t i o n ( t ) { r e t u r n - 1 ! = = [ " n o r m a l " , " l a r g e " , " f u l l " ] . i n d e x O f ( t ) } } , c a n C l o s e : { t y p e : B o o l e a n , d e f a u l t : ! 0 } , d a r k : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , 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 a t a : f u n c t i o n ( ) { r e t u r n { m c : n u l l , s h o w M o d a l : ! 1 , c l e a r V i e w : ! 1 , c l e a r V i e w T i m e o u t : n u l l , p l a y i n g : ! 1 , s l i d e s h o w T i m e o u t : n u l l } } , c o m p u t e d : { m o d a l T r a n s i t i o n N a m e : f u n c t i o n ( ) { r e t u r n " m o d a l - " . c o n c a t ( t h i s . o u t T r a n s i t i o n ? " o u t " : " i n " ) } , p l a y P a u s e T i t l e : f u n c t i o n ( ) { r e t u r n t h i s . p l a y i n g ? O b j e c t ( u . b ) ( " P a u s e s l i d e s h o w " ) : O b j e c t ( u . b ) ( " S t a r t s l i d e s h o w " ) } } , w a t c h : { s l i d e s h o w P a u s e d : f u n c t i o n ( t ) { t h i s . s l i d e s h o w T i m e o u t & & ( t ? t h i s . s l i d e s h o w T i m e o u t . p a u s e ( ) : t h i s . s l i d e s h o w T i m e o u t . s t a r t ( ) ) } } , b e f o r e M o u n t : f u n c t i o n ( ) { w i n d o w . a d d E v e n t L i s t e n e r ( " k e y d o w n " , t h i s . h a n d l e K e y d o w n ) } , b e f o r e D e s t r o y : f u n c t i o n ( ) { w i n d o w . r e m o v e E v e n t L i s t e n e r ( " k e y d o w n " , t h i s . h a n d l e K e y d o w n ) , t h i s . m c . o f f ( " s w i p e l e f t s w i p e r i g h t " ) , t h i s . m c . d e s t r o y ( ) } , m o u n t e d : f u n c t i o n ( ) { v a r t = t h i s ; t h i s . s h o w M o d a l = ! 0 , t h i s . h a n d l e M o u s e M o v e ( ) , t h i s . m c = n e w o . a ( t h i s . $ r e f s . m a s k ) , t h i s . m c . o n ( " s w i p e l e f t s w i p e r i g h t " , ( f u n c t i o n ( e ) { t . h a n d l e S w i p e ( e ) } ) ) , " b o d y " = = = t h i s . c o n t a i n e r ? d o c u m e n t . b o d y . i n s e r t B e f o r e ( t h i s . $ e l , d o c u m e n t . b o d y . l a s t C h i l d ) : d o c u m e n t . q u e r y S e l e c t o r ( t h i s . c o n t a i n e r ) . a p p e n d C h i l d ( t h i s . $ e l ) } , d e s t r o y e d : f u n c t i o n ( ) { t h i s . $ e l . r e m o v e ( ) } , m e t h o d s : { p r e v i o u s : f u n c t i o n ( t ) { t h i s . h a s P r e v i o u s & & ( t & & t h i s . r e s e t S l i d e s h o w ( ) , t h i s . $ e m i t ( " p r e v i o u s " , t ) ) } , n e x t : f u n c t i o n ( t ) { t h i s . h a s N e x t & & ( t & & t h i s . r e s e t S l i d e s h o w ( ) , t h i s . $ e m i t ( " n e x t " , t ) ) } , c l o s e : f u n c t i o n ( t ) { v a r e = t h i s ; t h i s . c a n C l o s e & & ( t h i s . s h o w M o d a l = ! 1 , s e t T i m e o u t ( ( f u n c t i o n ( ) { e . $ e m i t ( " c l o s e " , t ) } ) , 3 0 0 ) ) } , h a n d l e K e y d o w n : f u n c t i o n ( t ) { s w i t c h ( t . k e y C o d e ) { c a s e 3 7 : t h i s . p r e v i o u s ( t ) ; b r e a k ; c a s e 1 3 : c a s e 3 9 : t h i s . n e x t ( t ) ; b r e a k ; c a s e 2 7 : t h i s . c l o s e ( t ) } } , h a n d l e S w i p e : f u n c t i o n ( t ) { t h i s . e n a b l e S w i p e & & ( " s w i p e l e f t " = = = t . t y p e ? t h i s . n e x t ( t ) : " s w i p e r i g h t " = = = t . t y p e & & t h i s . p r e v i o u s ( t ) ) } , h a n d l e M o u s e M o v e : f u n c t i o n ( ) { v a r t = t h i s ; t h i s . c l e a r V i e w D e l a y > 0 & & ( t h i s . c l e a r V i e w = ! 1 , c l e a r T i m e o u t ( t h i s . c l e a r V i e w T i m e o u t ) , t h i s . c l e a r V i e w T i m e o u t = s e t T i m e o u t ( ( f u n c t i o n ( ) { t . c l e a r V i e w = ! 0 } ) , t h i s . c l e a r V i e w D e l a y ) ) } , t o g g l e P l a y P a u s e : f u n c t i o n ( ) { t h i s . p l a y i n g = ! t h i s . p l a y i n g , t h i s . p l a y i n g ? t h i s . h a n d l e S l i d e s h o w ( ) : t h i s . c l e a r S l i d e s h o w T i m e o u t ( ) } , r e s e t S l i d e s h o w : f u n c t i o n ( ) { t h i s . p l a y i n g = ! t h i s . p l a y i n g , t h i s . c l e a r S l i d e s h o w T i m e o u t ( ) , t h i s . $ n e x t T i c k ( ( f u n c t i o n ( ) { t h i s . t o g g l e P l a y P a u s e ( ) } ) ) } , h a n d l e S l i d e s h o w : f u n c t i o n ( ) { v a r t = t h i s ; t h i s . p l a y i n g = ! 0 , t h i s . h a s N e x t ? t h i s . s l i d e s h o w T i m e o u t = n e w p ( ( f u n c t i o n ( ) { t . n e x t ( ) , t . h a n d l e S l i d e s h o w ( ) } ) , t h i s . s l i d e s h o w D e l a y ) : ( t h i s . p l a y i n g = ! 1 , t h i s . c l e a r S l i d e s h o w T i m e o u t ( ) ) } , c l e a r S l i d e s h o w T i m e o u t : f u n c t i o n ( ) { t h i s . s l i d e s h o w T i m e o u t & & t h i s . s l i d e s h o w T i m e o u t . c l e a r ( ) } } } , A = n ( 2 ) , d = n . n ( A ) , h = n ( 1 1 9 ) , m = ( d ( ) ( h . a , { i n s e r t : " h e a d " , s i n g l e t o n : ! 1 } ) , h . a . l o c a l s , n ( 3 ) ) , g = n ( 1 2 0 ) , v = n . n ( g ) , y = O b j e c t ( m . a ) ( f , ( f u n c t i o n ( ) { v a r t = t h i s , e = t . $ c r e a t e E l e m e n t , n = t . _ s e l f . _ c | | e ; r e t u r n n ( " t r a n s i t i o n " , { a t t r s : { n a m e : " f a d e " } } , [ n ( " d i v " , { r e f : " m a s k " , s t a t i c C l a s s : " m o d a l - m a s k " , c l a s s : { " m o d a l - m a s k - - d a r k " : t . d a r k } , o n : { c l i c k : t . h a n d l e M o u s e M o v e , m o u s e m o v e : t . h a n d l e M o u s e M o v e , t o u c h m o v e : t . h a n d l e M o u s e M o v e } } , [ n ( " t r a n s i t i o n " , { a t t r s : { n a m e : " f a d e - v i s i b i l i t y " } } , [ n ( " d i v " , { d i r e c t i v e s : [ { n a m e : " s h o w " , r a w N a m e : " v - s h o w " , v a l u e : ! t . c l e a r V i e w , e x p r e s s i o n : " ! c l e a r V i e w " } ] , s t a t i c C l a s s : " m o d a l - h e a d e r " , c l a s s : { i n v i s i b l e : t . c l e a r V i e w } } , [ " " ! = = t . t i t l e . t r i m ( ) ? n ( " d i v " , { s t a t i c C l a s s : " m o d a l - t i t l e " } , [ t . _ v ( " \ n \ t \ t \ t \ t \ t " + t . _ s ( t . t i t l e ) + " \ n \ t \ t \ t \ t " ) ] ) : t . _ e ( ) , t . _ v ( " " ) , n ( " d i v " , { s t a t i c C
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 08:58:14 +03:00
* / O b j e c t ( r . a ) ( b ) , e . d e f a u l t = b } ] ) } , , , , f u n c t i o n ( t , e , n ) { v a r r ;
2021-03-17 11:45:22 +03:00
/ * ! H a m m e r . J S - v 2 . 0 . 7 - 2 0 1 6 - 0 4 - 2 2
* http : //hammerjs.github.io/
*
* Copyright ( c ) 2016 Jorik Tangelder ;
2021-05-30 00:53:04 +03:00
* Licensed under the MIT license * /!function(a,o,i,s){"use strict";var l,u=["","webkit","Moz","MS","ms","o"],c=o.createElement("div"),p=Math.round,f=Math.abs,A=Date.now;function d(t,e,n){return setTimeout(x(t,n),e)}function h(t,e,n){return!!Array.isArray(t)&&(m(t,n[e],n),!0)}function m(t,e,n){var r;if(t)if(t.forEach)t.forEach(e,n);else if(void 0!==t.length)for(r=0;r<t.length;)e.call(n,t[r],r,t),r++;else for(r in t)t.hasOwnProperty(r)&&e.call(n,t[r],r,t)}function g(t,e,n){var r="DEPRECATED METHOD: "+e+"\n"+n+" AT \n";return function(){var e=new Error("get-stack-trace"),n=e&&e.stack?e.stack.replace(/ ^ [ ^ \ ( ] + ? [ \ n$ ] / gm , "" ) . replace ( /^\s+at\s+/gm , "" ) . replace ( /^Object.<anonymous>\s*\(/gm , "{anonymous}()@" ) : "Unknown Stack Trace" , o = a . console && ( a . console . warn || a . console . log ) ; return o && o . call ( a . console , r , n ) , t . apply ( this , arguments ) } } l = "function" != typeof Object . assign ? function ( t ) { if ( null == t ) throw new TypeError ( "Cannot convert undefined or null to object" ) ; for ( var e = Object ( t ) , n = 1 ; n < arguments . length ; n ++ ) { var r = arguments [ n ] ; if ( null != r ) for ( var a in r ) r . hasOwnProperty ( a ) && ( e [ a ] = r [ a ] ) } return e } : Object . assign ; var v = g ( ( function ( t , e , n ) { for ( var r = Object . keys ( e ) , a = 0 ; a < r . length ; ) ( ! n || n && void 0 === t [ r [ a ] ] ) && ( t [ r [ a ] ] = e [ r [ a ] ] ) , a ++ ; return t } ) , "extend" , "Use `assign`." ) , y = g ( ( function ( t , e ) { return v ( t , e , ! 0 ) } ) , "merge" , "Use `assign`." ) ; function b ( t , e , n ) { var r , a = e . prototype ; ( r = t . prototype = Object . create ( a ) ) . constructor = t , r . _super = a , n && l ( r , n ) } function x ( t , e ) { return function ( ) { return t . apply ( e , arguments ) } } function C ( t , e ) { return "function" == typeof t ? t . apply ( e && e [ 0 ] || void 0 , e ) : t } function w ( t , e ) { return void 0 === t ? e : t } function T ( t , e , n ) { m ( k ( e ) , ( function ( e ) { t . addEventListener ( e , n , ! 1 ) } ) ) } function E ( t , e , n ) { m ( k ( e ) , ( function ( e ) { t . removeEventListener ( e , n , ! 1 ) } ) ) } function _ ( t , e ) { for ( ; t ; ) { if ( t == e ) return ! 0 ; t = t . parentNode } return ! 1 } function S ( t , e ) { return t . indexOf ( e ) > - 1 } function k ( t ) { return t . trim ( ) . split ( /\s+/g ) } function I ( t , e , n ) { if ( t . indexOf && ! n ) return t . indexOf ( e ) ; for ( var r = 0 ; r < t . length ; ) { if ( n && t [ r ] [ n ] == e || ! n && t [ r ] === e ) return r ; r ++ } return - 1 } function B ( t ) { return Array . prototype . slice . call ( t , 0 ) } function N ( t , e , n ) { for ( var r = [ ] , a = [ ] , o = 0 ; o < t . length ; ) { var i = e ? t [ o ] [ e ] : t [ o ] ; I ( a , i ) < 0 && r . push ( t [ o ] ) , a [ o ] = i , o ++ } return n && ( r = e ? r . sort ( ( function ( t , n ) { return t [ e ] > n [ e ] } ) ) : r . sort ( ) ) , r } function M ( t , e ) { for ( var n , r , a = e [ 0 ] . toUpperCase ( ) + e . slice ( 1 ) , o = 0 ; o < u . length ; ) { if ( ( r = ( n = u [ o ] ) ? n + a : e ) in t ) return r ; o ++ } } var O = 1 ; function j ( t ) { var e = t . ownerDocument || t ; return e . defaultView || e . parentWindow || a } var L = "ontouchstart" in a , F = void 0 !== M ( a , "PointerEvent" ) , D = L && /mobile|tablet|ip(ad|hone|od)|android/i . test ( navigator . userAgent ) , P = [ "x" , "y" ] , U = [ "clientX" , "clientY" ] ; function R ( t , e ) { var n = this ; this . manager = t , this . callback = e , this . element = t . element , this . target = t . options . inputTarget , this . domHandler = function ( e ) { C ( t . options . enable , [ t ] ) && n . handler ( e ) } , this . init ( ) } function z ( t , e , n ) { var r = n . pointers . length , a = n . changedPointers . length , o = 1 & e && r - a == 0 , i = 12 & e && r - a == 0 ; n . isFirst = ! ! o , n . isFinal = ! ! i , o && ( t . session = { } ) , n . eventType = e , function ( t , e ) { var n = t . session , r = e . pointers , a = r . length ; n . firstInput || ( n . firstInput = $ ( e ) ) ; a > 1 && ! n . firstMultiple ? n . firstMultiple = $ ( e ) : 1 === a && ( n . firstMultiple = ! 1 ) ; var o = n . firstInput , i = n . firstMultiple , s = i ? i . center : o . center , l = e . center = G ( r ) ; e . timeStamp = A ( ) , e . deltaTime = e . timeStamp - o . timeStamp , e . angle = W ( s , l ) , e . distance = H ( s , l ) , function ( t , e ) { var n = e . center , r = t . offsetDelta || { } , a = t . prevDelta || { } , o = t . prevInput || { } ; 1 !== e . eventType && 4 !== o . eventType || ( a = t . prevDelta = { x : o . deltaX || 0 , y : o . deltaY || 0 } , r = t . offsetDelta = { x : n . x , y : n . y } ) ; e . deltaX = a . x + ( n . x - r . x ) , e . deltaY = a . y + ( n . y - r . y ) } ( n , e ) , e . offsetDirection = Y ( e . deltaX , e . deltaY ) ; var u = Q ( e . deltaTime , e . deltaX , e . deltaY ) ; e . overallVelocityX = u . x , e . overallVelocityY = u . y , e . overallVelocity = f ( u . x ) > f ( u . y ) ? u . x : u . y , e . scale = i ? ( c = i . pointers , p = r , H ( p [ 0 ] , p [ 1 ] , U ) / H ( c [ 0 ] , c [ 1 ] , U ) ) : 1 , e . rotation = i ? function ( t , e ) { return W ( e [ 1 ] , e [ 0 ] , U ) + W ( t [ 1 ] , t [ 0 ] , U ) } ( i . pointers , r ) : 0 , e . maxPointers = n . prevInput ? e . pointers . length > n . prevInput . maxPointers ? e . pointers . length : n . prevInput . maxPointers : e . pointers . length , function ( t , e ) { var n , r , a , o , i = t . lastInterval || e , s = e . timeStamp - i . timeStamp ; if ( 8 != e . eventType && ( s > 25 || void 0 === i . velocity ) ) { var l
2021-03-17 11:45:22 +03:00
/ * *
2021-05-21 17:53:02 +03:00
* @ copyright Copyright ( c ) 2019 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-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-30 00:53:04 +03:00
const u = function ( ) { var t , e , n , r ; const a = ( null === ( t = OCA ) || void 0 === t || null === ( e = t . Files ) || void 0 === e || null === ( n = e . App ) || void 0 === n || null === ( r = n . currentFileList ) || void 0 === r ? void 0 : r . dirInfo ) || { path : "/" , name : "" } ; return "" . concat ( a . path , "/" ) . concat ( a . name ) . replace ( /\/\//gi , "/" ) } ; var c = r ( 42 ) , p = r . n ( c ) , f = r ( 24 ) , A = r ( 161 ) , d = r ( 168 ) , h = r . n ( d ) , m = r ( 391 ) , g = r . n ( m ) ; var v = { name : "TemplatePreview" , inheritAttrs : ! 1 , props : { basename : { type : String , required : ! 0 } , checked : { type : Boolean , default : ! 1 } , fileid : { type : [ String , Number ] , required : ! 0 } , filename : { type : String , required : ! 0 } , previewUrl : { type : String , default : null } , hasPreview : { type : Boolean , default : ! 0 } , mime : { type : String , required : ! 0 } , ratio : { type : Number , default : null } } , data : ( ) => ( { failedPreview : ! 1 } ) , computed : { nameWithoutExt ( ) { return this . basename . indexOf ( "." ) > - 1 ? this . basename . split ( "." ) . slice ( 0 , - 1 ) . join ( "." ) : this . basename } , id ( ) { return "template-picker-" . concat ( this . fileid ) } , realPreviewUrl ( ) { return this . failedPreview && this . mimeIcon ? this . mimeIcon : this . previewUrl ? this . previewUrl : Object ( l . getCurrentUser ) ( ) ? Object ( s . generateUrl ) ( "/core/preview?fileId=" . concat ( this . fileid , "&x=" ) . concat ( 256 , "&y=" ) . concat ( 256 , "&a=1" ) ) : Object ( s . generateUrl ) ( "/apps/files_sharing/publicpreview/" . concat ( document . getElementById ( "sharingToken" ) && document . getElementById ( "sharingToken" ) . value , "?fileId=" ) . concat ( this . fileid , "&file=" ) . concat ( function ( t ) { const e = ( t . startsWith ( "/" ) ? t : "/" . concat ( t ) ) . split ( "/" ) ; let n = "" ; return e . forEach ( t => { "" !== t && ( n += "/" + encodeURIComponent ( t ) ) } ) , n } ( this . filename ) , "&x=" ) . concat ( 256 , "&y=" ) . concat ( 256 , "&a=1" ) ) } , mimeIcon ( ) { return OC . MimeType . getIconUrl ( this . mime ) } } , methods : { onCheck ( ) { this . $emit ( "check" , this . fileid ) } , onFailure ( ) { this . failedPreview = ! 0 } } } , y = r ( 94 ) , b = r . n ( y ) , x = r ( 355 ) , C = { insert : "head" , singleton : ! 1 } , w = ( b ( ) ( x . a , C ) , x . a . locals , r ( 25 ) ) , T = Object ( w . a ) ( v , ( function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "li" , { staticClass : "template-picker__item" } , [ n ( "input" , { staticClass : "radio" , attrs : { id : t . id , type : "radio" , name : "template-picker" } , domProps : { checked : t . checked } , on : { change : t . onCheck } } ) , t . _v ( " " ) , n ( "label" , { staticClass : "template-picker__label" , attrs : { for : t . id } } , [ n ( "div" , { staticClass : "template-picker__preview" , class : t . failedPreview ? "template-picker__preview--failed" : "" } , [ n ( "img" , { staticClass : "template-picker__image" , attrs : { src : t . realPreviewUrl , alt : "" , draggable : "false" } , on : { error : t . onFailure } } ) ] ) , t . _v ( " " ) , n ( "span" , { staticClass : "template-picker__title" } , [ t . _v ( "\n\t\t\t" + t . _s ( t . nameWithoutExt ) + "\n\t\t" ) ] ) ] ) ] ) } ) , [ ] , ! 1 , null , "5a6ba030" , null ) . exports ; var E = { name : "TemplatePicker" , components : { EmptyContent : h . a , Modal : g . a , TemplatePreview : T } , props : { logger : { type : Object , required : ! 0 } } , data : ( ) => ( { checked : - 1 , loading : ! 1 , name : null , opened : ! 1 , provider : null } ) , computed : { nameWithoutExt ( ) { return this . name . indexOf ( "." ) > - 1 ? this . name . split ( "." ) . slice ( 0 , - 1 ) . join ( "." ) : this . name } , emptyTemplate ( ) { var e , n ; return { basename : t ( "files" , "Blank" ) , fileid : - 1 , filename : this . t ( "files" , "Blank" ) , hasPreview : ! 1 , mime : ( null === ( e = this . provider ) || void 0 === e ? void 0 : e . mimetypes [ 0 ] ) || ( null === ( n = this . provider ) || void 0 === n ? void 0 : n . mimetypes ) } } , selectedTemplate ( ) { return this . provider . templates . find ( t => t . fileid === this . checked ) } , style ( ) { return { "--margin" : "8px" , "--width" : "160px" , "--border" : "2px" , "--fullwidth" : "180px" , "--height" : this . provider . ratio ? Math . round ( 160 / this . provider . ratio ) + "px" : null } } } , methods : { async open ( t , e ) { this . checked = this . emptyTemplate . fileid , this . name = t , this . provider = e ; const n = ( await async function ( ) { return ( await p . a . get ( Object ( s . generateOcsUrl ) ( "apps/files/api/v1" , 2 ) + "templates" ) ) . data . ocs . data } ( ) ) . find ( t => t . app === e . app && t . label === e . label ) ; if ( null === n ) throw new Error ( "Failed to match provider in results" ) ; this . provider = n , 0 !== n . templates . length ? this . opened = ! 0 : this . onSubmit ( ) } , close ( ) { this . checked = this . emptyTemplate . fileid , this . loading = ! 1 , this . name = null , this . opened = ! 1 , this . provider = null } , onCheck ( t ) { this . checked = t } , async onSubmit ( ) { var t , e , n ; this . loading = ! 0 ; const r = u ( ) , a = null === ( t = OCA ) || void 0 === t || null === ( e = t . Files ) || void 0 === e || null === ( n = e . App ) || void 0 === n ? void 0 : n . currentFileList ; try { var o , i ; const t = ( await p . a . post ( Object ( s . generateOcsUrl ) ( " apps / files
2021-03-17 11:45:22 +03:00
/ * *
* @ copyright Copyright ( c ) 2020 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
2021-03-31 13:34:13 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2021-03-17 11:45:22 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
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-30 00:53:04 +03:00
const I = Object ( a . getLoggerBuilder ) ( ) . setApp ( "files" ) . detectUser ( ) . build ( ) ; f . default . mixin ( { methods : { t : i . translate , n : i . translatePlural } } ) ; const B = document . createElement ( "div" ) ; B . id = "template-picker" , document . body . appendChild ( B ) ; let N = Object ( o . loadState ) ( "files" , "templates" , [ ] ) , M = Object ( o . loadState ) ( "files" , "templates_path" , ! 1 ) ; I . debug ( "Templates providers" , N ) , I . debug ( "Templates folder" , { templatesPath : M } ) ; const O = new ( f . default . extend ( k ) ) ( { name : "TemplatePicker" , propsData : { logger : I } } ) ; O . $mount ( "#template-picker" ) , window . addEventListener ( "DOMContentLoaded" , ( function ( ) { if ( ! M ) { I . debug ( "Templates folder not initialized" ) ; const t = { attach ( t ) { t . addMenuEntry ( { id : "template-init" , displayName : Object ( i . translate ) ( "files" , "Set up templates folder" ) , templateName : Object ( i . translate ) ( "files" , "Templates" ) , iconClass : "icon-template-add" , fileType : "file" , actionHandler ( e ) { j ( e ) , t . removeMenuEntry ( "template-init" ) } } ) } } ; OC . Plugins . register ( "OCA.Files.NewFileMenu" , t ) } } ) ) , N . forEach ( ( t , e ) => { const n = { attach ( n ) { const r = n . fileList ; "files" !== r . id && "files.public" !== r . id || n . addMenuEntry ( { id : "template-new-" . concat ( t . app , "-" ) . concat ( e ) , displayName : t . label , templateName : t . label + t . extension , iconClass : t . iconClass || "icon-file" , fileType : "file" , actionHandler ( e ) { O . open ( e , t ) } } ) } } ; OC . Plugins . register ( "OCA.Files.NewFileMenu" , n ) } ) ; const j = async function ( t ) { const e = ( u ( ) + "/" . concat ( t ) ) . replace ( "//" , "/" ) ; try { I . debug ( "Initializing the templates directory" , { templatePath : e } ) ; const t = await p . a . post ( Object ( s . generateOcsUrl ) ( "apps/files/api/v1/templates" , 2 ) + "path" , { templatePath : e , copySystemTemplates : ! 0 } ) ; OCA . Files . App . currentFileList . changeDirectory ( e , ! 0 , ! 0 ) , N = t . data . ocs . data . templates , M = t . data . ocs . data . template _path } catch ( t ) { I . error ( "Unable to initialize the templates directory" ) , Object ( A . b ) ( Object ( i . translate ) ( "files" , "Unable to initialize the templates directory" ) ) } } } ] ) ;
2021-01-20 17:00:32 +03:00
//# sourceMappingURL=templates.js.map