2020-01-27 14:57:56 +03:00
! function ( t ) { var e = { } ; function n ( r ) { if ( e [ r ] ) return e [ r ] . exports ; var o = e [ r ] = { i : r , l : ! 1 , exports : { } } ; return t [ r ] . call ( o . exports , o , o . exports , n ) , o . l = ! 0 , o . exports } n . m = t , n . c = e , n . d = function ( t , e , r ) { n . o ( t , e ) || Object . defineProperty ( t , e , { enumerable : ! 0 , get : r } ) } , n . r = function ( t ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( t , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( t , "__esModule" , { value : ! 0 } ) } , n . t = function ( t , e ) { if ( 1 & e && ( t = n ( t ) ) , 8 & e ) return t ; if ( 4 & e && "object" == typeof t && t && t . _ _esModule ) return t ; var r = Object . create ( null ) ; if ( n . r ( r ) , Object . defineProperty ( r , "default" , { enumerable : ! 0 , value : t } ) , 2 & e && "string" != typeof t ) for ( var o in t ) n . d ( r , o , function ( e ) { return t [ e ] } . bind ( null , o ) ) ; return r } , n . n = function ( t ) { var e = t && t . _ _esModule ? function ( ) { return t . default } : function ( ) { return t } ; return n . d ( e , "a" , e ) , e } , n . o = function ( t , e ) { return Object . prototype . hasOwnProperty . call ( t , e ) } , n . p = "/js/" , n ( n . s = 958 ) } ( [ function ( t , e , n ) { ( function ( t ) { t . exports = function ( ) { "use strict" ; var e , r ; function o ( ) { return e . apply ( null , arguments ) } function i ( t ) { return t instanceof Array || "[object Array]" === Object . prototype . toString . call ( t ) } function a ( t ) { return null != t && "[object Object]" === Object . prototype . toString . call ( t ) } function s ( t ) { return void 0 === t } function c ( t ) { return "number" == typeof t || "[object Number]" === Object . prototype . toString . call ( t ) } function u ( t ) { return t instanceof Date || "[object Date]" === Object . prototype . toString . call ( t ) } function l ( t , e ) { var n , r = [ ] ; for ( n = 0 ; n < t . length ; ++ n ) r . push ( e ( t [ n ] , n ) ) ; return r } function d ( t , e ) { return Object . prototype . hasOwnProperty . call ( t , e ) } function f ( t , e ) { for ( var n in e ) d ( e , n ) && ( t [ n ] = e [ n ] ) ; return d ( e , "toString" ) && ( t . toString = e . toString ) , d ( e , "valueOf" ) && ( t . valueOf = e . valueOf ) , t } function p ( t , e , n , r ) { return Ne ( t , e , n , r , ! 0 ) . utc ( ) } function A ( t ) { return null == t . _pf && ( t . _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 } ) , t . _pf } function M ( t ) { if ( null == t . _isValid ) { var e = A ( t ) , n = r . call ( e . parsedDateParts , ( function ( t ) { return null != t } ) ) , o = ! isNaN ( t . _d . getTime ( ) ) && e . overflow < 0 && ! e . empty && ! e . invalidMonth && ! e . invalidWeekday && ! e . weekdayMismatch && ! e . nullInput && ! e . invalidFormat && ! e . userInvalidated && ( ! e . meridiem || e . meridiem && n ) ; if ( t . _strict && ( o = o && 0 === e . charsLeftOver && 0 === e . unusedTokens . length && void 0 === e . bigHour ) , null != Object . isFrozen && Object . isFrozen ( t ) ) return o ; t . _isValid = o } return t . _isValid } function h ( t ) { var e = p ( NaN ) ; return null != t ? f ( A ( e ) , t ) : A ( e ) . userInvalidated = ! 0 , e } r = Array . prototype . some ? Array . prototype . some : function ( t ) { for ( var e = Object ( this ) , n = e . length >>> 0 , r = 0 ; r < n ; r ++ ) if ( r in e && t . call ( this , e [ r ] , r , e ) ) return ! 0 ; return ! 1 } ; var m = o . momentProperties = [ ] ; function _ ( t , e ) { var n , r , o ; if ( s ( e . _isAMomentObject ) || ( t . _isAMomentObject = e . _isAMomentObject ) , s ( e . _i ) || ( t . _i = e . _i ) , s ( e . _f ) || ( t . _f = e . _f ) , s ( e . _l ) || ( t . _l = e . _l ) , s ( e . _strict ) || ( t . _strict = e . _strict ) , s ( e . _tzm ) || ( t . _tzm = e . _tzm ) , s ( e . _isUTC ) || ( t . _isUTC = e . _isUTC ) , s ( e . _offset ) || ( t . _offset = e . _offset ) , s ( e . _pf ) || ( t . _pf = A ( e ) ) , s ( e . _locale ) || ( t . _locale = e . _locale ) , m . length > 0 ) for ( n = 0 ; n < m . length ; n ++ ) s ( o = e [ r = m [ n ] ] ) || ( t [ r ] = o ) ; return t } var v = ! 1 ; function b ( t ) { _ ( this , t ) , this . _d = new Date ( null != t . _d ? t . _d . getTime ( ) : NaN ) , this . isValid ( ) || ( this . _d = new Date ( NaN ) ) , ! 1 === v && ( v = ! 0 , o . updateOffset ( this ) , v = ! 1 ) } function g ( t ) { return t instanceof b || null != t && null != t . _isAMomentObject } function y ( t ) { return t < 0 ? Math . ceil ( t ) || 0 : Math . floor ( t ) } function L ( t ) { var e = + t , n = 0 ; return 0 !== e && isFinite ( e ) && ( n = y ( e ) ) , n } function w ( t , e , n ) { var r , o = Math . min ( t . length , e . length ) , i = Math . abs ( t . length - e . length ) , a = 0 ; for ( r = 0 ; r < o ; r ++ ) ( n && t [ r ] !== e [ r ] || ! n && L ( t [ r ] ) !== L ( e [ r ] ) ) && a ++ ; return a + i } function z ( t ) { ! 1 === o . suppressDeprecationWarnings && "undefined" != typeof console && console . warn && console . warn ( "Deprecation warning: " + t ) } function T ( t , e ) { var n = ! 0 ; return f ( ( function ( ) { if ( null != o . deprecationHandler && o . deprecationHandler ( null , t ) , n ) { for ( var r , i = [ ] , a = 0 ; a < arguments . length ; a ++ ) { if ( r = "" , "object" == typeof arguments [ a ] ) { for ( var s in r += "\n[" + a + "] " , arguments [ 0 ] ) r += s + ": " + arguments [ 0 ] [ s ] + ", " ; r = r . slice ( 0 , - 2 ) } else r = arguments [
2019-09-11 12:58:57 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2020-01-27 14:57:56 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "c481f14" , '><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 ( 230 ) } , function ( t , e ) { t . exports = n ( 352 ) } , function ( t , e ) { t . exports = n ( 147 ) } , function ( t , e ) { t . exports = n ( 244 ) } , function ( t , e ) { t . exports = n ( 369 ) } , function ( t , e ) { t . exports = n ( 353 ) } , function ( t , e ) { t . exports = n ( 354 ) } , , function ( t , e ) { t . exports = n ( 370 ) } , , function ( t , e ) { t . exports = n ( 355 ) } , , function ( t , e ) { t . exports = n ( 357 ) } , function ( t , e , n ) { var r = n ( 63 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "6d914181" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 65 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "2fc216d3" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 67 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "b619cfa6" , r , ! 0 , { } ) } , function ( t , e ) { t . exports = n ( 851 ) } , , function ( t , e , n ) { var r = n ( 80 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "9be9793c" , r , ! 0 , { } ) } , function ( t , e ) { } , function ( t , e , n ) { "use strict" ;
2019-09-11 12:58:57 +03:00
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-01-27 14:57:56 +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 ( " c 4 8 1 f 1 4 " ) , " " ) } ) ) } } , , f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 8 5 2 ) } , f u n c t i o n ( t , e , n ) { v a r r = n ( 3 8 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 9 4 1 c 7 9 1 e " , r , ! 0 , { } ) } , f u n c t i o n ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . p u s h ( [ t . i , " . v u e - t o o l t i p [ d a t a - v - c 4 8 1 f 1 4 ] { p o s i t i o n : a b s o l u t e ; z - i n d e x : 1 0 0 0 0 0 ; r i g h t : a u t o ; l e f t : a u t o ; d i s p l a y : b l o c k ; m a r g i n : 0 ; m a r g i n - t o p : - 3 p x ; p a d d i n g : 1 0 p x 0 ; t e x t - a l i g n : l e f t ; t e x t - a l i g n : s t a r t ; w h i t e - s p a c e : n o r m a l ; t e x t - d e c o r a t i o n : n o n e ; l e t t e r - s p a c i n g : n o r m a l ; w o r d - s p a c i n g : n o r m a l ; t e x t - t r a n s f o r m : n o n e ; w o r d - w r a p : n o r m a l ; w o r d - b r e a k : n o r m a l ; o p a c i t y : 0 ; t e x t - s h a d o w : n o n e ; f o n t - f a m i l y : ' N u n i t o ' , ' O p e n S a n s ' , F r u t i g e r , C a l i b r i , ' M y r i a d P r o ' , M y r i a d , s a n s - s e r i f ; f o n t - s i z e : 1 2 p x ; f o n t - w e i g h t : n o r m a l ; f o n t - s t y l e : n o r m a l ; l i n e - h e i g h t : 1 . 6 ; l i n e - b r e a k : a u t o ; f i l t e r : d r o p - s h a d o w ( 0 1 p x 1 0 p x v a r ( - - c o l o r - b o x - s h a d o w ) ) } . v u e - t o o l t i p [ d a t a - v - c 4 8 1 f 1 4 ] [ x - p l a c e m e n t ^ = ' t o p ' ] . t o o l t i p - a r r o w { b o t t o m : 0 ; m a r g i n - t o p : 0 ; m a r g i n - b o t t o m : 0 ; b o r d e r - w i d t h : 1 0 p x 1 0 p x 0 1 0 p x ; b o r d e r - r i g h t - c o l o r : t r a n s p a r e n t ; b o r d e r - b o t t o m - c o l o r : t r a n s p a r e n t ; b o r d e r - l e f t - c o l o r : t r a n s p a r e n t } . v u e - t o o l t i p [ d a t a - v - c 4 8 1 f 1 4 ] [ x - p l a c e m e n t ^ = ' b o t t o m ' ] . t o o l t i p - a r r o w { t o p : 0 ; m a r g i n - t o p : 0 ; m a r g i n - b o t t o m : 0 ; b o r d e r - w i d t h : 0 1 0 p x 1 0 p x 1 0 p x ; b o r d e r - t o p - c o l o r : t r a n s p a r e n t ; b o r d e r - r i g h t - c o l o r : t r a n s p a r e n t ; b o r d e r - l e f t - c o l o r : t r a n s p a r e n t } . v u e - t o o l t i p [ d a t a - v - c 4 8 1 f 1 4 ] [ x - p l a c e m e n t ^ = ' r i g h t ' ] . t o o l t i p - a r r o w { r i g h t : 1 0 0 % ; m a r g i n - r i g h t : 0 ; m a r g i n - l e f t : 0 ; b o r d e r - w i d t h : 1 0 p x 1 0 p x 1 0 p x 0 ; b o r d e r - t o p - c o l o r : t r a n s p a r e n t ; b o r d e r - b o t t o m - c o l o r : t r a n s p a r e n t ; b o r d e r - l e f t - c o l o r : t r a n s p a r e n t } . v u e - t o o l t i p [ d a t a - v - c 4 8 1 f 1 4 ] [ x - p l a c e m e n t ^ = ' l e f t ' ] . t o o l t i p - a r r o w { l e f t : 1 0 0 % ; m a r g i n - r i g h t : 0 ; m a r g i n - l e f t : 0 ; b o r d e r - w i d t h : 1 0 p x 0 1 0 p x 1 0 p x ; b o r d e r - t o p - c o l o r : t r a n s p a r e n t ; b o r d e r - r i g h t - c o l o r : t r a n s p a r e n t ; b o r d e r - b o t t o m - c o l o r : t r a n s p a r e n t } . v u e - t o o l t i p [ d a t a - v - c 4 8 1 f 1 4 ] [ a r i a - h i d d e n = ' t r u e ' ] { v i s i b i l i t y : h i d d e n ; t r a n s i t i o n : o p a c i t y . 1 5 s , v i s i b i l i t y . 1 5 s ; o p a c i t y : 0 } . v u e - t o o l t i p [ d a t a - v - c 4 8 1 f 1 4 ] [ a r i a - h i d d e n = ' f a l s e ' ] { v i s i b i l i t y : v i s i b l e ; t r a n s i t i o n : o p a c i t y . 1 5 s ; o p a c i t y : 1 } . v u e - t o o l t i p [ d a t a - v - c 4 8 1 f 1 4 ] . t o o l t i p - i n n e r { m a x - w i d t h : 3 5 0 p x ; p a d d i n g : 5 p x 8 p x ; t e x t - a l i g n : c e n t e r ; c o l o r : v a r ( - - c o l o r - m a i n - t e x t ) ; b o r d e r - r a d i u s : v a r ( - - b o r d e r - r a d i u s ) ; b a c k g r o u n d - c o l o r : v a r ( - - c o l o r - m a i n - b a c k g r o u n d ) } . v u e - t o o l t i p [ d a t a - v - c 4 8 1 f 1 4 ] . t o o l t i p - a r r o w { p o s i t i o n : a b s o l u t e ; z - i n d e x : 1 ; w i d t h : 0 ; h e i g h t : 0 ; m a r g i n : 0 ; b o r d e r - s t y l e : s o l i d ; b o r d e r - c o l o r : v a r ( - - c o l o r - m a i n - b a c k g r o u n d ) } \ n " , " " ] ) , t . e x p o r t s = e } , , , f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ;
2019-09-11 12:58:57 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
2019-09-11 12:58:57 +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 ,
2020-01-16 02:03:29 +03:00
* but WITHOUT ANY WARRANTY without even the implied warranty of
2019-09-11 12:58:57 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2020-01-27 14:57:56 +03:00
function r ( t , e , n ) { this . r = t , this . g = e , this . b = n } function o ( t , e , n ) { var o = [ ] ; o . push ( e ) ; for ( var i = function ( t , e ) { var n = new Array ( 3 ) ; return n [ 0 ] = ( e [ 1 ] . r - e [ 0 ] . r ) / t , n [ 1 ] = ( e [ 1 ] . g - e [ 0 ] . g ) / t , n [ 2 ] = ( e [ 1 ] . b - e [ 0 ] . b ) / t , n } ( t , [ e , n ] ) , a = 1 ; a < t ; a ++ ) { var s = parseInt ( e . r + i [ 0 ] * a , 10 ) , c = parseInt ( e . g + i [ 1 ] * a , 10 ) , u = parseInt ( e . b + i [ 2 ] * a , 10 ) ; o . push ( new r ( s , c , u ) ) } return o } n ( 26 ) , e . a = function ( t ) { t || ( t = 6 ) ; var e = new r ( 182 , 70 , 157 ) , n = new r ( 221 , 203 , 85 ) , i = new r ( 0 , 130 , 201 ) , a = o ( t , e , n ) , s = o ( t , n , i ) , c = o ( t , i , e ) ; return a . concat ( s ) . concat ( c ) } } , , function ( t , e ) { } , function ( t , e , n ) { "use strict" ; n . r ( e ) , n ( 19 ) , n ( 16 ) , n ( 3 ) , n ( 20 ) , n ( 17 ) , n ( 18 ) , n ( 22 ) ; var r = { name : "PopoverMenuItem" , props : { item : { type : Object , required : ! 0 , default : function ( ) { return { key : "nextcloud-link" , href : "https://nextcloud.com" , icon : "icon-links" , text : "Nextcloud" } } , validator : function ( t ) { return ! t . input || - 1 !== [ "text" , "checkbox" ] . indexOf ( t . input ) } } } , computed : { key : function ( ) { return this . item . key ? this . item . key : Math . round ( 16 * Math . random ( ) * 1e6 ) . toString ( 16 ) } , iconIsUrl : function ( ) { try { return new URL ( this . item . icon ) , ! 0 } catch ( t ) { return ! 1 } } } , methods : { action : function ( t ) { this . item . action && this . item . action ( t ) } } } , o = ( n ( 62 ) , n ( 64 ) , n ( 0 ) ) , i = { name : "PopoverMenu" , components : { PopoverMenuItem : Object ( o . a ) ( r , ( function ( ) { var t = this , e = t . $createElement , n = t . _self . _c || e ; return n ( "li" , [ t . item . href ? n ( "a" , { staticClass : "focusable" , attrs : { href : t . item . href ? t . item . href : "#" , target : t . item . target ? t . item . target : "" , download : t . item . download , rel : "noreferrer noopener" } , on : { click : t . action } } , [ t . iconIsUrl ? n ( "img" , { attrs : { src : t . item . icon } } ) : n ( "span" , { class : t . item . icon } ) , t . _v ( " " ) , t . item . text && t . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . text ) + "\n\t\t\t" ) ] ) , n ( "br" ) , t . _v ( " " ) , n ( "span" , { staticClass : "menuitem-text-detail" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . longtext ) + "\n\t\t\t" ) ] ) ] ) : t . item . text ? n ( "span" , [ t . _v ( "\n\t\t\t" + t . _s ( t . item . text ) + "\n\t\t" ) ] ) : t . item . longtext ? n ( "p" , [ t . _v ( "\n\t\t\t" + t . _s ( t . item . longtext ) + "\n\t\t" ) ] ) : t . _e ( ) ] ) : t . item . input ? n ( "span" , { staticClass : "menuitem" , class : { active : t . item . active } } , [ "checkbox" !== t . item . input ? n ( "span" , { class : t . item . icon } ) : t . _e ( ) , t . _v ( " " ) , "text" === t . item . input ? n ( "form" , { class : t . item . input , on : { submit : function ( e ) { return e . preventDefault ( ) , t . item . action ( e ) } } } , [ n ( "input" , { attrs : { type : t . item . input , placeholder : t . item . text , required : "" } , domProps : { value : t . item . value } } ) , t . _v ( " " ) , n ( "input" , { staticClass : "icon-confirm" , attrs : { type : "submit" , value : "" } } ) ] ) : [ "checkbox" === t . item . input ? n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : t . item . model , expression : "item.model" } ] , class : t . item . input , attrs : { id : t . key , type : "checkbox" } , domProps : { checked : Array . isArray ( t . item . model ) ? t . _i ( t . item . model , null ) > - 1 : t . item . model } , on : { change : [ function ( e ) { var n = t . item . model , r = e . target , o = ! ! r . checked ; if ( Array . isArray ( n ) ) { var i = t . _i ( n , null ) ; r . checked ? i < 0 && t . $set ( t . item , "model" , n . concat ( [ null ] ) ) : i > - 1 && t . $set ( t . item , "model" , n . slice ( 0 , i ) . concat ( n . slice ( i + 1 ) ) ) } else t . $set ( t . item , "model" , o ) } , t . item . action ] } } ) : "radio" === t . item . input ? n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : t . item . model , expression : "item.model" } ] , class : t . item . input , attrs : { id : t . key , type : "radio" } , domProps : { checked : t . _q ( t . item . model , null ) } , on : { change : [ function ( e ) { return t . $set ( t . item , "model" , null ) } , t . item . action ] } } ) : n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : t . item . model , expression : "item.model" } ] , class : t . item . input , attrs : { id : t . key , type : t . item . input } , domProps : { value : t . item . model } , on : { change : t . item . action , input : function ( e ) { e . target . composing || t . $set ( t . item , "model" , e . target . value ) } } } ) , t . _v ( " " ) , n ( "label" , { attrs : { for : t . key } , on : { click : function ( e ) { return e . stopPropagation ( ) , e . preventDefault ( ) , t . item . action ( e ) } } } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . text ) + "\n\t\t\t" ) ] ) ] ] , 2 ) : t . item . action ? n ( "button" , { staticClass : "menuitem focusable" , class : { active : t . item . active } , attrs : { disabled : t . item . disabled } , on : { click : function ( e ) { return e . stopPropagation ( ) , e . preventDefault ( ) , t . item . action ( e ) } } } , [ n ( "span" , { class : t . item . icon } ) , t . _v ( " " ) , t . item . text && t . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ t . _v ( "\n\t\t\t\t" + t . _s ( t . item . text ) + "\n\t\t\t" ) ] ) , n ( " b
2019-09-11 12:58:57 +03:00
/ * *
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2020-01-27 14:57:56 +03:00
e . default = u } , function ( t , e ) { t . exports = n ( 49 ) } , function ( t , e ) { t . exports = n ( 853 ) } , function ( t , e , n ) { "use strict" ; n . r ( e ) , n ( 26 ) , n ( 61 ) , n ( 46 ) , n ( 30 ) , n ( 3 ) , n ( 59 ) , n ( 60 ) ; var r = n ( 15 ) , o = n ( 44 ) , i = n ( 45 ) , a = n . n ( i ) , s = n ( 12 ) , c = ( n ( 14 ) , n ( 78 ) , n ( 24 ) , n ( 57 ) ) , u = n . n ( c ) , l = n ( 41 ) ; function d ( t , e , n , r , o , i , a ) { try { var s = t [ i ] ( a ) , c = s . value } catch ( t ) { return void n ( t ) } s . done ? e ( c ) : Promise . resolve ( c ) . then ( r , o ) } var f , p , A = { name : "Avatar" , directives : { tooltip : s . default , ClickOutside : r . directive } , components : { PopoverMenu : o . PopoverMenu } , props : { url : { type : String , default : void 0 } , iconClass : { type : String , default : void 0 } , user : { type : String , default : void 0 } , isGuest : { type : Boolean , default : ! 1 } , displayName : { type : String , default : void 0 } , size : { type : Number , default : 32 } , allowPlaceholder : { type : Boolean , default : ! 0 } , disableTooltip : { type : Boolean , default : ! 1 } , disableMenu : { type : Boolean , default : ! 1 } , tooltipMessage : { type : String , default : null } , isNoUser : { type : Boolean , default : ! 1 } , status : { type : String , default : null , validator : function ( t ) { switch ( t ) { case "positive" : case "negative" : case "neutral" : return ! 0 } return ! 1 } } , statusColor : { type : [ Number , String ] , default : null , validator : function ( t ) { return /^([a-f0-9]{3}){1,2}$/i . test ( t ) } } , menuPosition : { type : String , default : "center" } } , data : function ( ) { return { avatarUrlLoaded : null , avatarSrcSetLoaded : null , userDoesNotExist : ! 1 , isAvatarLoaded : ! 1 , isMenuLoaded : ! 1 , contactsMenuActions : [ ] , contactsMenuOpenState : ! 1 } } , computed : { getUserIdentifier : function ( ) { return this . isDisplayNameDefined ? this . displayName : this . isUserDefined ? this . user : "" } , isUserDefined : function ( ) { return void 0 !== this . user } , isDisplayNameDefined : function ( ) { return void 0 !== this . displayName } , isUrlDefined : function ( ) { return void 0 !== this . url } , hasMenu : function ( ) { return ! this . disableMenu && ( this . isMenuLoaded ? this . menu . length > 0 : ! ( this . user === OC . getCurrentUser ( ) . uid || this . userDoesNotExist || this . url ) ) } , shouldShowPlaceholder : function ( ) { return this . allowPlaceholder && this . userDoesNotExist } , avatarStyle : function ( ) { var t = { width : this . size + "px" , height : this . size + "px" , lineHeight : this . size + "px" , fontSize : Math . round ( . 55 * this . size ) + "px" } ; if ( ! this . iconClass && ! this . avatarSrcSetLoaded ) { var e = function ( t ) { var e = t . toLowerCase ( ) ; return null === e . match ( /^([0-9a-f]{4}-?){8}$/ ) && ( e = u ( ) ( e ) ) , e = e . replace ( /[^0-9a-f]/g , "" ) , Object ( l . a ) ( 6 ) [ function ( t , e ) { for ( var n = 0 , r = [ ] , o = 0 ; o < t . length ; o ++ ) r . push ( parseInt ( t . charAt ( o ) , 16 ) % 16 ) ; for ( var i in r ) n += r [ i ] ; return parseInt ( parseInt ( n , 10 ) % 18 , 10 ) } ( e ) ] } ( this . getUserIdentifier ) ; t . backgroundColor = "rgb(" + e . r + ", " + e . g + ", " + e . b + ")" } return t } , tooltip : function ( ) { return ! this . disableTooltip && ( this . tooltipMessage ? this . tooltipMessage : this . displayName ) } , initials : function ( ) { return this . shouldShowPlaceholder ? this . getUserIdentifier . charAt ( 0 ) . toUpperCase ( ) : "?" } , menu : function ( ) { return this . contactsMenuActions . map ( ( function ( t ) { return { href : t . hyperlink , icon : t . icon , text : t . title } } ) ) } } , watch : { url : function ( ) { this . userDoesNotExist = ! 1 , this . loadAvatarUrl ( ) } , user : function ( ) { this . userDoesNotExist = ! 1 , this . isMenuLoaded = ! 1 , this . loadAvatarUrl ( ) } } , mounted : function ( ) { this . loadAvatarUrl ( ) } , methods : { toggleMenu : function ( ) { this . hasMenu && ( this . contactsMenuOpenState = ! this . contactsMenuOpenState , this . contactsMenuOpenState && this . fetchContactsMenu ( ) ) } , closeMenu : function ( ) { this . contactsMenuOpenState = ! 1 } , fetchContactsMenu : ( f = regeneratorRuntime . mark ( ( function t ( ) { var e , n , r ; return regeneratorRuntime . wrap ( ( function ( t ) { for ( ; ; ) switch ( t . prev = t . next ) { case 0 : return t . prev = 0 , e = encodeURIComponent ( this . user ) , t . next = 4 , a . a . post ( OC . generateUrl ( "contactsmenu/findOne" ) , "shareType=0&shareWith=" . concat ( e ) ) ; case 4 : n = t . sent , r = n . data , this . contactsMenuActions = [ r . topAction ] . concat ( r . actions ) , t . next = 12 ; break ; case 9 : t . prev = 9 , t . t0 = t . catch ( 0 ) , this . contactsMenuOpenState = ! 1 ; case 12 : this . isMenuLoaded = ! 0 ; case 13 : case "end" : return t . stop ( ) } } ) , t , this , [ [ 0 , 9 ] ] ) } ) ) , p = function ( ) { var t = this , e = arguments ; return new Promise ( ( function ( n , r ) { var o = f . apply ( t , e ) ; function i ( t ) { d ( o , n , r , i , a , "next" , t ) } function a ( t ) { d ( o , n , r , i , a , "throw" , t ) } i ( void 0 ) } ) ) } , function ( ) { return p . apply ( this , arguments ) } ) , loadAvatarUrl : function ( ) { var t = this ; if ( this . isAvatarLoaded = ! 1 , ! this . isUrlDefined && ( ! this . isUserDefined || this . isNoUser ) ) return this . isAvatarLoaded = ! 0 , v
2019-09-11 12:58:57 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2018 Julius Härtl < jus @ bitgrid . net >
2019-09-11 12:58:57 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2019-09-11 12:58:57 +03:00
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2019-10-13 19:26:09 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2020-01-27 14:57:56 +03:00
e . default = v } , , , , , , function ( t , e , n ) { var r = n ( 141 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "05387ef8" , r , ! 0 , { } ) } , function ( t , e , n ) { var r = n ( 143 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "a375d0ac" , r , ! 0 , { } ) } , , , function ( t , e ) { t . exports = n ( 854 ) } , , function ( t , e ) { t . exports = n ( 857 ) } , function ( t , e ) { t . exports = n ( 290 ) } , function ( t , e ) { t . exports = n ( 866 ) } , function ( t , e , n ) { "use strict" ; var r = n ( 27 ) ; n . n ( r ) . a } , function ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . push ( [ t . i , "\nbutton.menuitem[data-v-8dc4efb0] {\n\ttext-align: left;\n}\nbutton.menuitem *[data-v-8dc4efb0] {\n\tcursor: pointer;\n}\nbutton.menuitem[data-v-8dc4efb0]:disabled {\n\topacity: 0.5 !important;\n\tcursor: default;\n}\nbutton.menuitem:disabled *[data-v-8dc4efb0] {\n\tcursor: default;\n}\n.menuitem.active[data-v-8dc4efb0] {\n\tbox-shadow: inset 2px 0 var(--color-primary);\n\tborder-radius: 0;\n}\n" , "" ] ) , t . exports = e } , function ( t , e , n ) { "use strict" ; var r = n ( 28 ) ; n . n ( r ) . a } , function ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . push ( [ t . i , " li [ data - v - 8 dc4efb0 ] { display : flex ; flex : 0 0 auto } li . hidden [ data - v - 8 dc4efb0 ] { display : none } li > button [ data - v - 8 dc4efb0 ] , li > a [ data - v - 8 dc4efb0 ] , li > . menuitem [ data - v - 8 dc4efb0 ] { cursor : pointer ; line - height : 44 px ; border : 0 ; border - radius : 0 ; background - color : transparent ; display : flex ; align - items : flex - start ; height : auto ; margin : 0 ; padding : 0 ; font - weight : normal ; box - shadow : none ; width : 100 % ; color : var ( -- color - main - text ) ; white - space : nowrap ; opacity : . 7 } li > button span [ class ^= 'icon-' ] [ data - v - 8 dc4efb0 ] , li > button span [ class *= ' icon-' ] [ data - v - 8 dc4efb0 ] , li > button [ class ^= 'icon-' ] [ data - v - 8 dc4efb0 ] , li > button [ class *= ' icon-' ] [ data - v - 8 dc4efb0 ] , li > a span [ class ^= 'icon-' ] [ data - v - 8 dc4efb0 ] , li > a span [ class *= ' icon-' ] [ data - v - 8 dc4efb0 ] , li > a [ class ^= 'icon-' ] [ data - v - 8 dc4efb0 ] , li > a [ class *= ' icon-' ] [ data - v - 8 dc4efb0 ] , li > . menuitem span [ class ^= 'icon-' ] [ data - v - 8 dc4efb0 ] , li > . menuitem span [ class *= ' icon-' ] [ data - v - 8 dc4efb0 ] , li > . menuitem [ class ^= 'icon-' ] [ data - v - 8 dc4efb0 ] , li > . menuitem [ class *= ' icon-' ] [ data - v - 8 dc4efb0 ] { min - width : 0 ; min - height : 0 ; background - position : 14 px center ; background - size : 16 px } li > button span [ class ^= 'icon-' ] [ data - v - 8 dc4efb0 ] , li > button span [ class *= ' icon-' ] [ data - v - 8 dc4efb0 ] , li > a span [ class ^= 'icon-' ] [ data - v - 8 dc4efb0 ] , li > a span [ class *= ' icon-' ] [ data - v - 8 dc4efb0 ] , li > . menuitem span [ class ^= 'icon-' ] [ data - v - 8 dc4efb0 ] , li > . menuitem span [ class *= ' icon-' ] [ data - v - 8 dc4efb0 ] { padding : 22 px 0 22 px 44 px } li > button : not ( [ class ^= 'icon-' ] ) : not ( [ class *= 'icon-' ] ) > span [ data - v - 8 dc4efb0 ] : not ( [ class ^= 'icon-' ] ) : not ( [ class *= 'icon-' ] ) : first - child , li > button : not ( [ class ^= 'icon-' ] ) : not ( [ class *= 'icon-' ] ) > input [ data - v - 8 dc4efb0 ] : not ( [ class ^= 'icon-' ] ) : not ( [ class *= 'icon-' ] ) : first - child , li > button : not ( [ class ^= 'icon-' ] ) : not ( [ class *= 'icon-' ] ) > form [ data - v - 8 dc4efb0 ] : not ( [ class ^= 'icon-' ] ) : not ( [ class *= 'icon-' ] ) : first - child , li > a : not ( [ class ^= 'icon-' ] ) : not ( [ class *= 'icon-' ] ) > span [ data - v - 8 dc4efb0 ] : not ( [ class ^= 'icon-' ] ) : not ( [ class *= 'icon-' ] ) : first - child , li > a : not ( [ class ^= 'icon-' ] ) : not ( [ class *= 'icon-' ] ) > input [ data - v - 8 dc4efb0 ] : not ( [ class ^= 'icon-' ] ) : not ( [ class *= 'icon-' ] ) : first - child , li > a : not ( [ class ^= 'icon-' ] ) : not ( [ class *= 'icon-' ] ) > form [ data - v - 8 dc4efb0 ] : not ( [ class ^= 'icon-' ] ) : not ( [ class *= 'icon-' ] ) : first - child , li > . menuitem : not ( [ class ^= 'icon-' ] ) : not ( [ class *= 'icon-' ] ) > span [ data - v - 8 dc4efb0 ] : not ( [ class ^= 'icon-' ] ) : not ( [ class *= 'icon-' ] ) : first - child , li > . menuitem : not ( [ class ^= 'icon-' ] ) : not ( [ class *= 'icon-' ] ) > input [ data - v - 8 dc4efb0 ] : not ( [ class ^= 'icon-' ] ) : not ( [ class *= 'icon-' ] ) : first - child , li > . menuitem : not ( [ class ^= 'icon-' ] ) : not ( [ class *= 'icon-' ] ) > form [ data - v - 8 dc4efb0 ] : not ( [ class ^= 'icon-' ] ) : not ( [ class *= 'icon-' ] ) : first - child { margin - left : 44 px } li > button [ class ^= 'icon-' ] [ data - v - 8 dc4efb0 ] , li > button [ class *= ' icon-' ] [ data - v - 8 dc4efb0 ] , li > a [ class ^= 'icon-' ] [ data - v - 8 dc4efb0 ] , li > a [ class *= ' icon-' ] [ data - v - 8 dc4efb0 ] , li > . menuitem [ class ^= 'icon-' ] [ data - v - 8 dc4efb0 ] , li > . menuitem [ class *= ' icon-' ] [ data - v - 8 dc4efb0 ] { padding : 0 14 px 0 44 px } li > button [ data - v - 8 dc4efb0 ] : not ( : disabled ) : hover , li > button [ data - v - 8 dc4efb0 ] : not ( : disabled ) : focus , li > button : not ( : disabled ) . active [ data - v - 8 dc4efb0 ] , li > a [ data - v - 8 dc4efb0 ] : not ( : disabled ) : hover , li > a [ data - v - 8 dc4efb0 ] : not ( : disabled ) : focus , li > a :
2019-10-13 19:26:09 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-10-13 19:26:09 +03:00
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2019-09-11 12:58:57 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2019-10-13 19:26:09 +03:00
* /
2020-01-27 14:57:56 +03:00
Object ( r . a ) ( L ) , e . default = L } , , , function ( t , e ) { t . exports = n ( 868 ) } , function ( t , e ) { t . exports = n ( 870 ) } , , , , , , , , , , , , , , , , , , , function ( t , e ) { t . exports = n ( 871 ) } , , , , , , function ( t , e ) { t . exports = n ( 873 ) } , function ( t , e ) { t . exports = n ( 874 ) } , function ( t , e ) { t . exports = n ( 875 ) } , function ( t , e ) { t . exports = n ( 876 ) } , function ( t , e , n ) { "use strict" ; var r = n ( 53 ) ; n . n ( r ) . a } , function ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . push ( [ t . i , ".option[data-v-30d8da34]{display:flex;align-items:center;width:100%;height:32px}.option__avatar[data-v-30d8da34]{flex:0 0 32px;width:32px;height:32px;margin-right:6px}.option__desc[data-v-30d8da34]{display:flex;flex:1 1;flex-direction:column;justify-content:center;min-width:0}.option__desc--lineone[data-v-30d8da34]{color:var(--color-text-light)}.option__desc--linetwo[data-v-30d8da34]{opacity:.7}.option__desc--lineone[data-v-30d8da34],.option__desc--linetwo[data-v-30d8da34]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.option__desc--lineone strong[data-v-30d8da34],.option__desc--linetwo strong[data-v-30d8da34]{font-weight:bold}.option__icon[data-v-30d8da34]{flex:0 0 44px;width:44px;height:44px;margin:-6px;opacity:.5;background-position:center;background-size:16px}\n" , "" ] ) , t . exports = e } , function ( t , e , n ) { "use strict" ; var r = n ( 54 ) ; n . n ( r ) . a } , function ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . push ( [ t . i , ".name-parts[data-v-c4325954]{display:flex;max-width:100%}.name-parts__first[data-v-c4325954]{overflow:hidden;text-overflow:ellipsis}.name-parts__first[data-v-c4325954],.name-parts__last[data-v-c4325954]{white-space:pre}.name-parts__first strong[data-v-c4325954],.name-parts__last strong[data-v-c4325954]{font-weight:bold}\n" , "" ] ) , t . exports = e } , function ( t , e , n ) { var r = n ( 145 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "b5985a26" , r , ! 0 , { } ) } , function ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . push ( [ t . i , " . multiselect [ data - v - c481f14 ] { margin : 0 ; padding : 0 ! important ; display : inline - block ; min - width : 160 px ; position : relative ; background - color : var ( -- color - main - background ) } . multiselect [ data - v - c481f14 ] . multiselect -- active input . multiselect _ _input { opacity : 1 ! important ; cursor : text ! important ; border - radius : var ( -- border - radius ) var ( -- border - radius ) 0 0 } . multiselect [ data - v - c481f14 ] . multiselect -- active . multiselect _ _limit { display : none } . multiselect [ data - v - c481f14 ] . multiselect -- active . multiselect -- above input . multiselect _ _input { border - radius : 0 0 var ( -- border - radius ) var ( -- border - radius ) } . multiselect [ data - v - c481f14 ] . multiselect -- disabled , . multiselect [ data - v - c481f14 ] . multiselect -- disabled . multiselect _ _single { background - color : var ( -- color - background - dark ) ! important } . multiselect [ data - v - c481f14 ] . icon - loading - small : : after { left : 100 % ; margin - left : - 24 px } . multiselect [ data - v - c481f14 ] . multiselect _ _tags { display : flex ; flex - wrap : nowrap ; overflow : hidden ; border : 1 px solid var ( -- color - border - dark ) ; cursor : pointer ; position : relative ; border - radius : 3 px ; height : 34 px } . multiselect [ data - v - c481f14 ] . multiselect _ _tags . multiselect _ _tags - wrap { align - items : center ; display : inline - flex ; overflow : hidden ; max - width : 100 % ; position : relative ; padding : 3 px 5 px ; flex - grow : 1 } . multiselect [ data - v - c481f14 ] . multiselect _ _tags . multiselect _ _tags - wrap : empty ~ input . multiselect _ _input { opacity : 1 ! important } . multiselect [ data - v - c481f14 ] . multiselect _ _tags . multiselect _ _tags - wrap : empty ~ input . multiselect _ _input + span : not ( . multiselect _ _single ) { display : none } . multiselect [ data - v - c481f14 ] . multiselect _ _tags . multiselect _ _tags - wrap . multiselect _ _tag { flex : 1 0 0 ; line - height : 20 px ; padding : 1 px 5 px ; background - image : none ; color : var ( -- color - main - text ) ; border : 1 px solid var ( -- color - border - dark ) ; display : inline - flex ; align - items : center ; border - radius : 3 px ; min - width : 0 ; max - width : 50 % ; max - width : fit - content ; max - width : - moz - fit - content } . multiselect [ data - v - c481f14 ] . multiselect _ _tags . multiselect _ _tags - wrap . multiselect _ _tag : only - child { flex : 0 1 auto } . multiselect [ data - v - c481f14 ] . multiselect _ _tags . multiselect _ _tags - wrap . multiselect _ _tag : not ( : last - child ) { margin - right : 5 px } . multiselect [ data - v - c481f14 ] . multiselect _ _tags . multiselect _ _tags - wrap . multiselect _ _tag > span { white - space : nowrap ; text - overflow : ellipsis ; overflow : hidden } . multiselect [ data - v - c481f14 ] . multiselect _ _tags . multiselect _
2020-01-16 02:03:29 +03:00
/ * !
* Vue . js v2 . 6.11
* ( c ) 2014 - 2019 Evan You
* Released under the MIT License .
* /
2020-01-27 14:57:56 +03:00
var r = Object . freeze ( { } ) ; function o ( t ) { return null == t } function i ( t ) { return null != t } function a ( t ) { return ! 0 === t } function s ( t ) { return "string" == typeof t || "number" == typeof t || "symbol" == typeof t || "boolean" == typeof t } function c ( t ) { return null !== t && "object" == typeof t } var u = Object . prototype . toString ; function l ( t ) { return "[object Object]" === u . call ( t ) } function d ( 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 p ( t ) { return i ( t ) && "function" == typeof t . then && "function" == typeof t . catch } function A ( t ) { return null == t ? "" : Array . isArray ( t ) || l ( t ) && t . toString === u ? JSON . stringify ( t , null , 2 ) : String ( t ) } function M ( t ) { var e = parseFloat ( t ) ; return isNaN ( e ) ? t : e } function h ( t , e ) { for ( var n = Object . create ( null ) , r = t . split ( "," ) , o = 0 ; o < r . length ; o ++ ) n [ r [ o ] ] = ! 0 ; return e ? function ( t ) { return n [ t . toLowerCase ( ) ] } : function ( t ) { return n [ t ] } } h ( "slot,component" , ! 0 ) ; var m = h ( "key,ref,slot,slot-scope,is" ) ; function _ ( t , e ) { if ( t . length ) { var n = t . indexOf ( e ) ; if ( n > - 1 ) return t . splice ( n , 1 ) } } var v = Object . prototype . hasOwnProperty ; function b ( t , e ) { return v . call ( t , e ) } function g ( t ) { var e = Object . create ( null ) ; return function ( n ) { return e [ n ] || ( e [ n ] = t ( n ) ) } } var y = /-(\w)/g , L = g ( ( function ( t ) { return t . replace ( y , ( function ( t , e ) { return e ? e . toUpperCase ( ) : "" } ) ) } ) ) , w = g ( ( function ( t ) { return t . charAt ( 0 ) . toUpperCase ( ) + t . slice ( 1 ) } ) ) , z = /\B([A-Z])/g , T = g ( ( function ( t ) { return t . replace ( z , "-$1" ) . toLowerCase ( ) } ) ) ; var O = 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 x ( t , e ) { e = e || 0 ; for ( var n = t . length - e , r = new Array ( n ) ; n -- ; ) r [ n ] = t [ n + e ] ; return r } function k ( t , e ) { for ( var n in e ) t [ n ] = e [ n ] ; return t } function S ( t ) { for ( var e = { } , n = 0 ; n < t . length ; n ++ ) t [ n ] && k ( e , t [ n ] ) ; return e } function D ( t , e , n ) { } var E = function ( t , e , n ) { return ! 1 } , N = function ( t ) { return t } ; function Y ( t , e ) { if ( t === e ) return ! 0 ; var n = c ( t ) , r = c ( e ) ; if ( ! n || ! r ) return ! n && ! r && String ( t ) === String ( e ) ; try { var o = Array . isArray ( t ) , i = Array . isArray ( e ) ; if ( o && i ) return t . length === e . length && t . every ( ( function ( t , n ) { return Y ( t , e [ n ] ) } ) ) ; if ( t instanceof Date && e instanceof Date ) return t . getTime ( ) === e . getTime ( ) ; if ( o || i ) return ! 1 ; var a = Object . keys ( t ) , s = Object . keys ( e ) ; return a . length === s . length && a . every ( ( function ( n ) { return Y ( t [ n ] , e [ n ] ) } ) ) } catch ( t ) { return ! 1 } } function B ( t , e ) { for ( var n = 0 ; n < t . length ; n ++ ) if ( Y ( t [ n ] , e ) ) return n ; return - 1 } function C ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , t . apply ( this , arguments ) ) } } var W = "data-server-rendered" , j = [ "component" , "directive" , "filter" ] , q = [ "beforeCreate" , "created" , "beforeMount" , "mounted" , "beforeUpdate" , "updated" , "beforeDestroy" , "destroyed" , "activated" , "deactivated" , "errorCaptured" , "serverPrefetch" ] , I = { optionMergeStrategies : Object . create ( null ) , silent : ! 1 , productionTip : ! 1 , devtools : ! 1 , performance : ! 1 , errorHandler : null , warnHandler : null , ignoredElements : [ ] , keyCodes : Object . create ( null ) , isReservedTag : E , isReservedAttr : E , isUnknownElement : E , getTagNamespace : D , parsePlatformTagName : N , mustUseProp : E , async : ! 0 , _lifecycleHooks : q } , 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 P ( t , e , n , r ) { Object . defineProperty ( t , e , { value : n , enumerable : ! ! r , writable : ! 0 , configurable : ! 0 } ) } var X = new RegExp ( "[^" + R . source + ".$_\\d]" ) ; var H , F = "__proto__" in { } , U = "undefined" != typeof window , G = "undefined" != typeof WXEnvironment && ! ! WXEnvironment . platform , Q = G && WXEnvironment . platform . toLowerCase ( ) , V = U && window . navigator . userAgent . toLowerCase ( ) , $ = V && /msie|trident/ . test ( V ) , J = V && V . indexOf ( "msie 9.0" ) > 0 , Z = V && V . indexOf ( "edge/" ) > 0 , K = ( V && V . indexOf ( "android" ) , V && /iphone|ipad|ipod|ios/ . test ( V ) || "ios" === Q ) , tt = ( V && /chrome\/\d+/ . test ( V ) , V && /phantomjs/ . test ( V ) , V && V . match ( /firefox\/(\d+)/ ) ) , et = { } . watch , nt = ! 1 ; if ( U ) try { var rt = { } ; Object . defineProperty ( rt , "passive" , { get : function ( ) { nt = ! 0 } } ) , window . addEventListener ( "test-passive" , null , rt ) } catch ( t ) { } var ot = function ( ) { return void 0 === H && ( H = ! U && ! G && void 0 !== t && ( t . process && "server" === t . process . env . VUE _ENV ) ) , H } , it = U && window . _ _VUE _DEVTOOLS _GLOBAL _HOOK _ _ ; function
2019-09-11 12:58:57 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* vuex v3 . 1.2
* ( c ) 2019 Evan You
* @ license MIT
* /
2020-01-27 14:57:56 +03:00
function ( t ) { if ( Number ( t . version . split ( "." ) [ 0 ] ) >= 2 ) t . mixin ( { beforeCreate : n } ) ; else { var e = t . prototype . _init ; t . prototype . _init = function ( t ) { void 0 === t && ( t = { } ) , t . init = t . init ? [ n ] . concat ( t . init ) : n , e . call ( this , t ) } } function n ( ) { var t = this . $options ; t . store ? this . $store = "function" == typeof t . store ? t . store ( ) : t . store : t . parent && t . parent . $store && ( this . $store = t . parent . $store ) } } ( u = t ) } d . state . get = function ( ) { return this . _vm . _data . $$state } , d . state . set = function ( t ) { 0 } , l . prototype . commit = function ( t , e , n ) { var r = this , o = m ( t , e , n ) , i = o . type , a = o . payload , s = ( o . options , { type : i , payload : a } ) , c = this . _mutations [ i ] ; c && ( this . _withCommit ( ( function ( ) { c . forEach ( ( function ( t ) { t ( a ) } ) ) } ) ) , this . _subscribers . forEach ( ( function ( t ) { return t ( s , r . state ) } ) ) ) } , l . prototype . dispatch = function ( t , e ) { var n = this , r = m ( t , e ) , o = r . type , i = r . payload , a = { type : o , payload : i } , s = this . _actions [ o ] ; if ( s ) { try { this . _actionSubscribers . filter ( ( function ( t ) { return t . before } ) ) . forEach ( ( function ( t ) { return t . before ( a , n . state ) } ) ) } catch ( t ) { 0 } return ( s . length > 1 ? Promise . all ( s . map ( ( function ( t ) { return t ( i ) } ) ) ) : s [ 0 ] ( i ) ) . then ( ( function ( t ) { try { n . _actionSubscribers . filter ( ( function ( t ) { return t . after } ) ) . forEach ( ( function ( t ) { return t . after ( a , n . state ) } ) ) } catch ( t ) { 0 } return t } ) ) } } , l . prototype . subscribe = function ( t ) { return f ( t , this . _subscribers ) } , l . prototype . subscribeAction = function ( t ) { return f ( "function" == typeof t ? { before : t } : t , this . _actionSubscribers ) } , l . prototype . watch = function ( t , e , n ) { var r = this ; return this . _watcherVM . $watch ( ( function ( ) { return t ( r . state , r . getters ) } ) , e , n ) } , l . prototype . replaceState = function ( t ) { var e = this ; this . _withCommit ( ( function ( ) { e . _vm . _data . $$state = t } ) ) } , l . prototype . registerModule = function ( t , e , n ) { void 0 === n && ( n = { } ) , "string" == typeof t && ( t = [ t ] ) , this . _modules . register ( t , e ) , M ( this , this . state , t , this . _modules . get ( t ) , n . preserveState ) , A ( this , this . state ) } , l . prototype . unregisterModule = function ( t ) { var e = this ; "string" == typeof t && ( t = [ t ] ) , this . _modules . unregister ( t ) , this . _withCommit ( ( function ( ) { var n = h ( e . state , t . slice ( 0 , - 1 ) ) ; u . delete ( n , t [ t . length - 1 ] ) } ) ) , p ( this ) } , l . prototype . hotUpdate = function ( t ) { this . _modules . update ( t ) , p ( this , ! 0 ) } , l . prototype . _withCommit = function ( t ) { var e = this . _committing ; this . _committing = ! 0 , t ( ) , this . _committing = e } , Object . defineProperties ( l . prototype , d ) ; var v = w ( ( function ( t , e ) { var n = { } ; return L ( e ) . forEach ( ( function ( e ) { var r = e . key , o = e . val ; n [ r ] = function ( ) { var e = this . $store . state , n = this . $store . getters ; if ( t ) { var r = z ( this . $store , "mapState" , t ) ; if ( ! r ) return ; e = r . context . state , n = r . context . getters } return "function" == typeof o ? o . call ( this , e , n ) : e [ o ] } , n [ r ] . vuex = ! 0 } ) ) , n } ) ) , b = w ( ( function ( t , e ) { var n = { } ; return L ( e ) . forEach ( ( function ( e ) { var r = e . key , o = e . val ; n [ r ] = function ( ) { for ( var e = [ ] , n = arguments . length ; n -- ; ) e [ n ] = arguments [ n ] ; var r = this . $store . commit ; if ( t ) { var i = z ( this . $store , "mapMutations" , t ) ; if ( ! i ) return ; r = i . context . commit } return "function" == typeof o ? o . apply ( this , [ r ] . concat ( e ) ) : r . apply ( this . $store , [ o ] . concat ( e ) ) } } ) ) , n } ) ) , g = w ( ( function ( t , e ) { var n = { } ; return L ( e ) . forEach ( ( function ( e ) { var r = e . key , o = e . val ; o = t + o , n [ r ] = function ( ) { if ( ! t || z ( this . $store , "mapGetters" , t ) ) return this . $store . getters [ o ] } , n [ r ] . vuex = ! 0 } ) ) , n } ) ) , y = w ( ( function ( t , e ) { var n = { } ; return L ( e ) . forEach ( ( function ( e ) { var r = e . key , o = e . val ; n [ r ] = function ( ) { for ( var e = [ ] , n = arguments . length ; n -- ; ) e [ n ] = arguments [ n ] ; var r = this . $store . dispatch ; if ( t ) { var i = z ( this . $store , "mapActions" , t ) ; if ( ! i ) return ; r = i . context . dispatch } return "function" == typeof o ? o . apply ( this , [ r ] . concat ( e ) ) : r . apply ( this . $store , [ o ] . concat ( e ) ) } } ) ) , n } ) ) ; function L ( t ) { return function ( t ) { return Array . isArray ( t ) || i ( t ) } ( t ) ? Array . isArray ( t ) ? t . map ( ( function ( t ) { return { key : t , val : t } } ) ) : Object . keys ( t ) . map ( ( function ( e ) { return { key : e , val : t [ e ] } } ) ) : [ ] } function w ( t ) { return function ( e , n ) { return "string" != typeof e ? ( n = e , e = "" ) : "/" !== e . charAt ( e . length - 1 ) && ( e += "/" ) , t ( e , n ) } } function z ( t , e , n ) { return t . _modulesNamespaceMap [ n ] } var T = { Store : l , install : _ , version : "3.1.2" , mapState : v , mapMutations : b , mapGetters : g , mapActions : y , createNamespacedHelpers : function ( t ) { return { mapState : v . bind ( null , t ) , mapGetters : g . bind ( null , t ) , mapMutations : b . bind ( null , t ) , mapActions : y . bind ( null , t ) } } } ; e . a = T } ) . call ( this , n ( 32 ) ) } , function ( t , e ) { t . exports = function ( t , e ) { return { enumerable : ! ( 1
2020-01-16 02:03:29 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
2019-09-11 12:58:57 +03:00
*
2020-01-16 02:03:29 +03:00
* @ author Julius Härtl < jus @ bitgrid . net >
2019-09-11 12:58:57 +03:00
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
2019-10-13 19:26:09 +03:00
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
2019-09-11 12:58:57 +03:00
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-01-16 02:03:29 +03:00
* /
2020-01-27 14:57:56 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "c481f14" , '><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 ( 230 ) } , function ( t , e ) { t . exports = n ( 352 ) } , , , , function ( t , e ) { t . exports = n ( 353 ) } , function ( t , e ) { t . exports = n ( 354 ) } , function ( t , e , n ) { "use strict" ; n ( 3 ) , n ( 14 ) , n ( 20 ) , n ( 24 ) , e . a = function ( t ) { return Math . random ( ) . toString ( 36 ) . replace ( /[^a-z]+/g , "" ) . substr ( 0 , t || 5 ) } } , , , function ( t , e ) { t . exports = n ( 355 ) } , , function ( t , e ) { t . exports = n ( 357 ) } , , , , , function ( t , e , n ) { var r = n ( 77 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "0a304400" , r , ! 0 , { } ) } , , , , function ( t , e , n ) { "use strict" ; n ( 26 ) , n ( 49 ) , n ( 19 ) ; var r = n ( 15 ) , o = n ( 12 ) , i = n ( 21 ) , a = ( n ( 74 ) , function ( t ) { var e = t . getBoundingClientRect ( ) , n = document . documentElement . clientHeight , r = document . documentElement . clientWidth , o = Object . assign ( { } ) ; return o . top = e . top < 0 , o . left = e . left < 0 , o . bottom = e . bottom > n , o . right = e . right > r , o . any = o . top || o . left || o . bottom || o . right , o . all = o . top && o . left && o . bottom && o . right , o . offsetY = o . top ? e . top : o . bottom ? e . bottom - n : 0 , o . offsetX = o . left ? e . left : o . right ? e . right - r : 0 , o } ) , s = ( n ( 71 ) , n ( 75 ) , n ( 6 ) , n ( 72 ) , n ( 5 ) ) , c = n . n ( s ) , u = function ( t , e , n ) { void 0 !== t && t . forEach ( ( function ( r , o ) { var i = ! r . componentOptions && r . tag && - 1 === e . indexOf ( r . tag ) , a = ! ! r . componentOptions && "string" == typeof r . componentOptions . tag && - 1 === e . indexOf ( r . componentOptions . tag ) ; ( i || a ) && ( c . a . util . warn ( "" . concat ( i ? r . tag : r . componentOptions . tag , " is not allowed inside the " ) . concat ( n . $options . name , " component" ) , n ) , t . splice ( o , 1 ) ) } ) ) } , l = [ "ActionButton" , "ActionCheckbox" , "ActionInput" , "ActionLink" , "ActionRadio" , "ActionRouter" , "ActionSeparator" , "ActionText" , "ActionTextEditable" ] , d = { name : "Actions" , directives : { ClickOutside : r . directive , tooltip : o . default } , props : { open : { type : Boolean , default : ! 1 } , forceMenu : { type : Boolean , default : ! 1 } , menuAlign : { type : String , default : "center" , validator : function ( t ) { return [ "left" , "center" , "right" ] . indexOf ( t ) > - 1 } } , defaultIcon : { type : String , default : "action-item__menutoggle--default-icon" } } , data : function ( ) { return { actions : [ ] , opened : this . open , focusIndex : 0 , randomId : "menu-" + Object ( i . a ) ( ) , offsetX : 0 , offsetY : 0 , offsetYArrow : 0 , rotateArrow : ! 1 , children : this . $children } } , computed : { hasMultipleActions : function ( ) { return this . actions . length > 1 } , isValidSingleAction : function ( ) { return 1 === this . actions . length && null !== this . firstActionElement } , firstActionVNode : function ( ) { return this . actions [ 0 ] } , firstAction : function ( ) { return this . children [ 0 ] ? this . children [ 0 ] : { } } , firstActionBinding : function ( ) { if ( this . firstActionVNode && this . firstActionVNode . componentOptions ) { var t = this . firstActionVNode . componentOptions . tag ; if ( "ActionLink" === t ) return { is : "a" , href : this . firstAction . href , target : this . firstAction . target } ; if ( "ActionRouter" === t ) return { is : "router-link" , to : this . firstAction . to , exact : this . firstAction . exact } ; if ( "ActionButton" === t ) return { is : "button" } } return null } , firstActionEvent : function ( ) { return this . firstActionVNode && this . firstActionVNode . componentOptions && this . firstActionVNode . componentOptions . listeners && this . firstActionVNode . componentOptions . listeners . click } , firstActionEventBinding : function ( ) { return this . firstActionEvent ? "click" : null } , firstActionClass : function ( ) { var t = this . firstActionVNode && this . firstActionVNode . data . staticClass , e = this . firstActionVNode && this . firstActionVNode . data . class ; return "" . concat ( t , " " ) . concat ( e ) } } , watch : { open : function ( t ) { var e = this ; this . opened = t , this . opened && this . $nextTick ( ( function ( ) { e . onOpen ( ) } ) ) } } , beforeMount : function ( ) { this . initActions ( ) , u ( this . $slots . default , l , this ) } , beforeUpdate : function ( ) { this . initActions ( ) , u ( this . $slots . default , l , this ) } , methods : { toggleMenu : function ( t ) { var e = this ; this . opened = ! this . opened , this . opened ? ( this . $nextTick ( ( function ( ) { e . onOpen ( ) , e . focusFirstAction ( ) } ) ) , this . $emit ( "open" , t ) ) : ( this . offsetX = 0 , this . offsetY = 0 , this . offsetYArrow = 0 , this . rotateArrow = ! 1 ) , this . $emit ( "update:open" , this . opened ) } , closeMenu : function ( t ) { this . opened && ( this . $emit ( "update:open" , ! 1 ) , this . $emit ( "close" , t ) ) , this . opened = ! 1 , this . offsetX = 0 , this . offsetY = 0 , this . offsetYArrow = 0 , this . rotateArrow = ! 1
2019-09-11 12:58:57 +03:00
/ * *
2020-01-16 02:03:29 +03:00
* @ copyright Copyright ( c ) 2018 John Molakvoæ < skjnldsv @ protonmail . com >
2019-09-11 12:58:57 +03:00
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-01-16 02:03:29 +03:00
* /
2020-01-27 14:57:56 +03:00
e . default = r . a } , , , , , , , , , , , , , , , , function ( t , e ) { t . exports = n ( 838 ) } , function ( t , e ) { t . exports = n ( 839 ) } , , function ( t , e ) { t . exports = n ( 840 ) } , function ( t , e ) { t . exports = n ( 841 ) } , function ( t , e , n ) { "use strict" ; var r = n ( 31 ) ; n . n ( r ) . a } , function ( t , e , n ) { var r = n ( 1 ) , o = n ( 7 ) , i = n ( 8 ) , a = n ( 9 ) , s = n ( 10 ) , c = n ( 11 ) ; e = r ( ! 1 ) ; var u = o ( i ) , l = o ( a ) , d = o ( s ) , f = o ( c ) ; e . push ( [ t . i , '@font-face{font-family:"iconfont-vue-c481f14";src:url(' + u + ");src:url(" + u + ') format("embedded-opentype"),url(' + l + ') format("woff"),url(' + d + ') format("truetype"),url(' + f + ') format("svg")}.icon[data-v-5acb084b]{font-style:normal;font-weight:400}.icon.arrow-left-double[data-v-5acb084b]:before{font-family:"iconfont-vue-c481f14";content:""}.icon.arrow-left[data-v-5acb084b]:before{font-family:"iconfont-vue-c481f14";content:""}.icon.arrow-right-double[data-v-5acb084b]:before{font-family:"iconfont-vue-c481f14";content:""}.icon.arrow-right[data-v-5acb084b]:before{font-family:"iconfont-vue-c481f14";content:""}.icon.checkmark[data-v-5acb084b]:before{font-family:"iconfont-vue-c481f14";content:""}.icon.close[data-v-5acb084b]:before{font-family:"iconfont-vue-c481f14";content:""}.icon.confirm[data-v-5acb084b]:before{font-family:"iconfont-vue-c481f14";content:""}.icon.menu[data-v-5acb084b]:before{font-family:"iconfont-vue-c481f14";content:""}.icon.more[data-v-5acb084b]:before{font-family:"iconfont-vue-c481f14";content:""}.icon.pause[data-v-5acb084b]:before{font-family:"iconfont-vue-c481f14";content:""}.icon.play[data-v-5acb084b]:before{font-family:"iconfont-vue-c481f14";content:""}.icon.triangle-s[data-v-5acb084b]:before{font-family:"iconfont-vue-c481f14";content:""}.action-item[data-v-5acb084b]{position:relative;display:inline-block}.action-item--single[data-v-5acb084b]:hover,.action-item--single[data-v-5acb084b]:focus,.action-item--single[data-v-5acb084b]:active,.action-item__menutoggle[data-v-5acb084b]:hover,.action-item__menutoggle[data-v-5acb084b]:focus,.action-item__menutoggle[data-v-5acb084b]:active{border-radius:22px;background-color:rgba(127,127,127,0.25) !important;opacity:1}.action-item.action-item--open .action-item__menutoggle[data-v-5acb084b]{opacity:1;border-radius:22px;background-color:rgba(127,127,127,0.25)}.action-item--single[data-v-5acb084b],.action-item__menutoggle[data-v-5acb084b]{box-sizing:border-box;width:44px;height:44px;margin:0;padding:14px;cursor:pointer;border:none;background-color:transparent}.action-item__menutoggle[data-v-5acb084b]{display:flex;align-items:center;justify-content:center;opacity:.7}.action-item__menutoggle[data-v-5acb084b]:before{content:\'\'}.action-item__menutoggle--default-icon[data-v-5acb084b]{font-size:16px}.action-item__menutoggle--default-icon[data-v-5acb084b]:before{font-family:"iconfont-vue-c481f14";font-style:normal;font-weight:400;content:""}.action-item--single[data-v-5acb084b]{opacity:.7}.action-item--single[data-v-5acb084b]:hover,.action-item--single[data-v-5acb084b]:focus,.action-item--single[data-v-5acb084b]:active{opacity:1}.action-item--single>[hidden][data-v-5acb084b]{display:none}.action-item--multiple[data-v-5acb084b]{position:relative}.action-item__menu[data-v-5acb084b]{position:absolute;z-index:110;right:50%;display:none;margin-bottom:10px;margin-top:-5px;transform:translateX(50%);color:var(--color-main-text);border-radius:var(--border-radius);background-color:var(--color-main-background);filter:drop-shadow(0 1px 3px var(--color-box-shadow))}.action-item__menu ul[data-v-5acb084b]>:not(li){display:none}.action-item__menu.open[data-v-5acb084b]{display:block}.action-item__menu .action-item__menu_arrow[data-v-5acb084b]{position:absolute;right:50%;bottom:100%;width:0;height:0;margin-right:-9px;content:\' \' ; pointer - events : none ; border : solid transparent ; border - width : 9 px ; border - bottom - color : var ( -- color - main - background ) } . action - item _ _menu . menu - right [ data - v - 5 acb084b ] { right : 0 ; left : auto ; transform : none } . action - item _ _menu . menu - right . action - item _ _menu _arrow [ data - v - 5 acb084b ] { right : 13 px ; margin - right : 0 } . action - item _ _menu . menu - left [ data - v - 5 acb084b ] { right : auto ; left : 0 ; transform : none } . action - item _ _menu . menu - left . action - item _ _me
2019-09-11 12:58:57 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-01-27 14:57:56 +03:00
* / e . a = { b e f o r e : f u n c t i o n ( ) { t h i s . $ s l o t s . d e f a u l t & & " " ! = = t h i s . t e x t . t r i m ( ) | | ( o . a . u t i l . w a r n ( " " . c o n c a t ( t h i s . $ o p t i o n s . n a m e , " c a n n o t b e e m p t y a n d r e q u i r e s a m e a n i n g f u l t e x t c o n t e n t " ) , t h i s ) , t h i s . $ d e s t r o y ( ) , t h i s . $ e l . r e m o v e ( ) ) } , b e f o r e U p d a t e : f u n c t i o n ( ) { t h i s . t e x t = t h i s . g e t T e x t ( ) } , d a t a : f u n c t i o n ( ) { r e t u r n { t e x t : t h i s . g e t T e x t ( ) } } , c o m p u t e d : { i s L o n g T e x t : f u n c t i o n ( ) { r e t u r n t h i s . t e x t & & t h i s . t e x t . t r i m ( ) . l e n g t h > 2 0 } } , m e t h o d s : { g e t T e x t : f u n c t i o n ( ) { r e t u r n t h i s . $ s l o t s . d e f a u l t ? t h i s . $ s l o t s . d e f a u l t [ 0 ] . t e x t . t r i m ( ) : " " } } } } , 1 6 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 1 4 7 ) } , 1 7 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 4 4 ) } , 1 8 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 6 9 ) } , 2 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; f u n c t i o n r ( t , e ) { f o r ( v a r n = [ ] , r = { } , o = 0 ; o < e . l e n g t h ; o + + ) { v a r i = e [ o ] , a = i [ 0 ] , s = { i d : t + " : " + o , c s s : i [ 1 ] , m e d i a : i [ 2 ] , s o u r c e M a p : i [ 3 ] } ; r [ a ] ? r [ a ] . p a r t s . p u s h ( s ) : n . p u s h ( r [ a ] = { i d : a , p a r t s : [ s ] } ) } r e t u r n n } n . r ( e ) , n . d ( e , " d e f a u l t " , ( f u n c t i o n ( ) { r e t u r n A } ) ) ; v a r o = " u n d e f i n e d " ! = t y p e o f d o c u m e n t ; i f ( " u n d e f i n e d " ! = t y p e o f D E B U G & & D E B U G & & ! o ) t h r o w n e w E r r o r ( " v u e - s t y l e - l o a d e r c a n n o t b e u s e d i n a n o n - b r o w s e r e n v i r o n m e n t . U s e { t a r g e t : ' n o d e ' } i n y o u r W e b p a c k c o n f i g t o i n d i c a t e a s e r v e r - r e n d e r i n g e n v i r o n m e n t . " ) ; v a r i = { } , a = o & & ( d o c u m e n t . h e a d | | d o c u m e n t . g e t E l e m e n t s B y T a g N a m e ( " h e a d " ) [ 0 ] ) , s = n u l l , c = 0 , u = ! 1 , l = f u n c t i o n ( ) { } , d = n u l l , f = " d a t a - v u e - s s r - i d " , p = " u n d e f i n e d " ! = t y p e o f n a v i g a t o r & & / m s i e [ 6 - 9 ] \ b / . t e s t ( n a v i g a t o r . u s e r A g e n t . t o L o w e r C a s e ( ) ) ; f u n c t i o n A ( t , e , n , o ) { u = n , d = o | | { } ; v a r a = r ( t , e ) ; r e t u r n M ( a ) , f u n c t i o n ( e ) { f o r ( v a r n = [ ] , o = 0 ; o < a . l e n g t h ; o + + ) { v a r s = a [ o ] ; ( c = i [ s . i d ] ) . r e f s - - , n . p u s h ( c ) } f o r ( e ? M ( a = r ( t , e ) ) : a = [ ] , o = 0 ; o < n . l e n g t h ; o + + ) { v a r c ; i f ( 0 = = = ( c = n [ o ] ) . r e f s ) { f o r ( v a r u = 0 ; u < c . p a r t s . l e n g t h ; u + + ) c . p a r t s [ u ] ( ) ; d e l e t e i [ c . i d ] } } } } f u n c t i o n M ( t ) { f o r ( v a r e = 0 ; e < t . l e n g t h ; e + + ) { v a r n = t [ e ] , r = i [ n . i d ] ; i f ( r ) { r . r e f s + + ; f o r ( v a r o = 0 ; o < r . p a r t s . l e n g t h ; o + + ) r . p a r t s [ o ] ( n . p a r t s [ o ] ) ; f o r ( ; o < n . p a r t s . l e n g t h ; o + + ) r . p a r t s . p u s h ( m ( n . p a r t s [ o ] ) ) ; r . p a r t s . l e n g t h > n . p a r t s . l e n g t h & & ( r . p a r t s . l e n g t h = n . p a r t s . l e n g t h ) } e l s e { v a r a = [ ] ; f o r ( o = 0 ; o < n . p a r t s . l e n g t h ; o + + ) a . p u s h ( m ( n . p a r t s [ o ] ) ) ; i [ n . i d ] = { i d : n . i d , r e f s : 1 , p a r t s : a } } } } f u n c t i o n h ( ) { v a r t = d o c u m e n t . c r e a t e E l e m e n t ( " s t y l e " ) ; r e t u r n t . t y p e = " t e x t / c s s " , a . a p p e n d C h i l d ( t ) , t } f u n c t i o n m ( t ) { v a r e , n , r = d o c u m e n t . q u e r y S e l e c t o r ( " s t y l e [ " + f + ' ~ = " ' + t . i d + ' " ] ' ) ; i f ( r ) { i f ( u ) r e t u r n l ; r . p a r e n t N o d e . r e m o v e C h i l d ( r ) } i f ( p ) { v a r o = c + + ; r = s | | ( s = h ( ) ) , e = b . b i n d ( n u l l , r , o , ! 1 ) , n = b . b i n d ( n u l l , r , o , ! 0 ) } e l s e r = h ( ) , e = f u n c t i o n ( t , e ) { v a r n = e . c s s , r = e . m e d i a , o = e . s o u r c e M a p ; i f ( r & & t . s e t A t t r i b u t e ( " m e d i a " , r ) , d . s s r I d & & t . s e t A t t r i b u t e ( f , e . i d ) , o & & ( n + = " \ n / * # s o u r c e U R L = " + o . s o u r c e s [ 0 ] + " * / " , n + = " \ n / * # s o u r c e M a p p i n g U R L = d a t a : a p p l i c a t i o n / j s o n ; b a s e 6 4 , " + b t o a ( u n e s c a p e ( e n c o d e U R I C o m p o n e n t ( J S O N . s t r i n g i f y ( o ) ) ) ) + " * / " ) , t . s t y l e S h e e t ) t . s t y l e S h e e t . c s s T e x t = n ; e l s e { f o r ( ; t . f i r s t C h i l d ; ) t . r e m o v e C h i l d ( t . f i r s t C h i l d ) ; t . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( n ) ) } } . b i n d ( n u l l , r ) , n = f u n c t i o n ( ) { r . p a r e n t N o d e . r e m o v e C h i l d ( r ) } ; r e t u r n e ( t ) , f u n c t i o n ( r ) { i f ( r ) { i f ( r . c s s = = = t . c s s & & r . m e d i a = = = t . m e d i a & & r . s o u r c e M a p = = = t . s o u r c e M a p ) r e t u r n ; e ( t = r ) } e l s e n ( ) } } v a r _ , v = ( _ = [ ] , f u n c t i o n ( t , e ) { r e t u r n _ [ t ] = e , _ . f i l t e r ( B o o l e a n ) . j o i n ( " \ n " ) } ) ; f u n c t i o n b ( t , e , n , r ) { v a r o = n ? " " : r . c s s ; i f ( t . s t y l e S h e e t ) t . s t y l e S h e e t . c s s T e x t = v ( e , o ) ; e l s e { v a r i = d o c u m e n t . c r e a t e T e x t N o d e ( o ) , a = t . c h i l d N o d e s ; a [ e ] & & t . r e m o v e C h i l d ( a [ e ] ) , a . l e n g t h ? t . i n s e r t B e f o r e ( i , a [ e ] ) : t . a p p e n d C h i l d ( i ) } } } , 2 2 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 3 7 0 ) } , 2 3 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 8 4 9 ) } , 2 5 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; n ( 1 6 ) , n ( 3 ) , n ( 1 7 ) , n ( 1 8 ) , n ( 2 2 ) ; v a r r = n ( 1 3 ) , o = ( n ( 6 ) , f u n c t i o n ( t , e ) { f o r ( v a r n = t . $ p a r e n t ; n ; ) { i f ( n . $ o p t i o n s . n a m e = = = e ) r e t u r n n ; n = n . $ p a r e n t } } ) ; e . a = { m i x i n s : [ r . a ] , p r o p s : { i c o n : { t y p e : S t r i n g , d e f a u l t : " " } , t i t l e : { t y p e : S t r i n g , d e f a u l t : " " } , c l o s e A f t e r C l i c k : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , c o m p u t e d : { i s I c o n U r l : f u n c t i o n ( ) { t r y { r e t u r n n e w U R L ( t h i s . i c o n ) } c a t c h ( t ) { r e t u r n ! 1 } } } , m e t h o d s : { o n C l i c k : f u n c t i o n ( t ) { i f ( t h i s . $ e m i t ( " c l i c k " , t ) , t h i s . c l o s e A f t e r C l i c k ) { v a r e = o ( t h i s , " A c t i o n s " ) ; e & & e . c l o s e M e n u & & e . c l o s e M e n u ( ) } } } } } , 3 : f u n c t i o n ( t , e ) { t . e x p o r t s = n ( 2 2 0 ) } , 3 9 : f u n c t i o n ( t , e , n ) { v a r r = n ( 1 1 3 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ t . i , r , " " ] ] ) , r . l o c a l s & & ( t . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 4 a 5 8 0 9 1 2 " , r , ! 0 , { } ) } , 4 8 : f u n c t i o n ( t , e , n ) { " u s e s t r i c t " ; v a r r = { n a m e : " A c t i o n B u t t o n " , m i x i n s : [ n ( 2 5 ) . a ] , p r o p s : { d i s a b l e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , c o m p u t e d : { i s F o c u s a b l e : f u n c t i o n ( ) { r e t u r n ! t h i s . d i s a b l e d } } } , o = ( n ( 1 1 2 ) , n ( 0 ) ) , i = n ( 5 0 ) , a = n . n ( i ) , s = O b j e c t ( o . a ) ( r
2019-09-11 12:58:57 +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/>.
*
2019-10-13 19:26:09 +03:00
* /
2020-01-27 14:57:56 +03:00
e . default = r . a } } ) } , function ( t , e , n ) { var r = n ( 5 ) , o = n ( 2 ) . document , i = r ( o ) && r ( o . createElement ) ; t . exports = function ( t ) { return i ? o . createElement ( t ) : { } } } , function ( t , e , n ) { e . f = n ( 6 ) } , function ( t , e , n ) { var r = n ( 118 ) ( "keys" ) , o = n ( 68 ) ; t . exports = function ( t ) { return r [ t ] || ( r [ t ] = o ( t ) ) } } , function ( t , e ) { t . exports = "constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf" . split ( "," ) } , function ( t , e , n ) { var r = n ( 2 ) . document ; t . exports = r && r . documentElement } , function ( t , e , n ) { var r = n ( 5 ) , o = n ( 4 ) , i = function ( t , e ) { if ( o ( t ) , ! r ( e ) && null !== e ) throw TypeError ( e + ": can't set as prototype!" ) } ; t . exports = { set : Object . setPrototypeOf || ( "__proto__" in { } ? function ( t , e , r ) { try { ( r = n ( 37 ) ( Function . call , n ( 40 ) . f ( Object . prototype , "__proto__" ) . set , 2 ) ) ( t , [ ] ) , e = ! ( t instanceof Array ) } catch ( t ) { e = ! 0 } return function ( t , n ) { return i ( t , n ) , e ? t . _ _proto _ _ = n : r ( t , n ) , t } } ( { } , ! 1 ) : void 0 ) , check : i } } , function ( t , e ) { t . exports = "\t\n\v\f\r \u2028\u2029\ufeff" } , function ( t , e , n ) { var r = n ( 5 ) , o = n ( 174 ) . set ; t . exports = function ( t , e , n ) { var i , a = e . constructor ; return a !== n && "function" == typeof a && ( i = a . prototype ) !== n . prototype && r ( i ) && o && o ( t , i ) , t } } , function ( t , e , n ) { "use strict" ; var r = n ( 39 ) , o = n ( 52 ) ; t . exports = function ( t ) { var e = String ( o ( this ) ) , n = "" , i = r ( t ) ; if ( i < 0 || i == 1 / 0 ) throw RangeError ( "Count can't be negative" ) ; for ( ; i > 0 ; ( i >>>= 1 ) && ( e += e ) ) 1 & i && ( n += e ) ; return n } } , function ( t , e ) { t . exports = Math . sign || function ( t ) { return 0 == ( t = + t ) || t != t ? t : t < 0 ? - 1 : 1 } } , function ( t , e ) { var n = Math . expm1 ; t . exports = ! n || n ( 10 ) > 22025.465794806718 || n ( 10 ) < 22025.465794806718 || - 2e-17 != n ( - 2e-17 ) ? function ( t ) { return 0 == ( t = + t ) ? t : t > - 1e-6 && t < 1e-6 ? t + t * t / 2 : Math . exp ( t ) - 1 } : n } , function ( t , e , n ) { var r = n ( 39 ) , o = n ( 52 ) ; t . exports = function ( t ) { return function ( e , n ) { var i , a , s = String ( o ( e ) ) , c = r ( n ) , u = s . length ; return c < 0 || c >= u ? t ? "" : void 0 : ( i = s . charCodeAt ( c ) ) < 55296 || i > 56319 || c + 1 === u || ( a = s . charCodeAt ( c + 1 ) ) < 56320 || a > 57343 ? t ? s . charAt ( c ) : i : t ? s . slice ( c , c + 2 ) : a - 56320 + ( i - 55296 << 10 ) + 65536 } } } , function ( t , e , n ) { "use strict" ; var r = n ( 69 ) , o = n ( 1 ) , i = n ( 23 ) , a = n ( 30 ) , s = n ( 83 ) , c = n ( 273 ) , u = n ( 81 ) , l = n ( 74 ) , d = n ( 6 ) ( "iterator" ) , f = ! ( [ ] . keys && "next" in [ ] . keys ( ) ) , p = function ( ) { return this } ; t . exports = function ( t , e , n , A , M , h , m ) { c ( n , e , A ) ; var _ , v , b , g = function ( t ) { if ( ! f && t in z ) return z [ t ] ; switch ( t ) { case "keys" : case "values" : return function ( ) { return new n ( this , t ) } } return function ( ) { return new n ( this , t ) } } , y = e + " Iterator" , L = "values" == M , w = ! 1 , z = t . prototype , T = z [ d ] || z [ "@@iterator" ] || M && z [ M ] , O = T || g ( M ) , x = M ? L ? g ( "entries" ) : O : void 0 , k = "Array" == e && z . entries || T ; if ( k && ( b = l ( k . call ( new t ) ) ) !== Object . prototype && b . next && ( u ( b , y , ! 0 ) , r || "function" == typeof b [ d ] || a ( b , d , p ) ) , L && T && "values" !== T . name && ( w = ! 0 , O = function ( ) { return T . call ( this ) } ) , r && ! m || ! f && ! w && z [ d ] || a ( z , d , O ) , s [ e ] = O , s [ y ] = p , M ) if ( _ = { values : L ? O : g ( "values" ) , keys : h ? O : g ( "keys" ) , entries : x } , m ) for ( v in _ ) v in z || i ( z , v , _ [ v ] ) ; else o ( o . P + o . F * ( f || w ) , e , _ ) ; return _ } } , function ( t , e , n ) { var r = n ( 183 ) , o = n ( 52 ) ; t . exports = function ( t , e , n ) { if ( r ( e ) ) throw TypeError ( "String#" + n + " doesn't accept regex!" ) ; return String ( o ( t ) ) } } , function ( t , e , n ) { var r = n ( 5 ) , o = n ( 51 ) , i = n ( 6 ) ( "match" ) ; t . exports = function ( t ) { var e ; return r ( t ) && ( void 0 !== ( e = t [ i ] ) ? ! ! e : "RegExp" == o ( t ) ) } } , function ( t , e , n ) { var r = n ( 6 ) ( "match" ) ; t . exports = function ( t ) { var e = /./ ; try { "/./" [ t ] ( e ) } catch ( n ) { try { return e [ r ] = ! 1 , ! "/./" [ t ] ( e ) } catch ( t ) { } } return ! 0 } } , function ( t , e , n ) { var r = n ( 83 ) , o = n ( 6 ) ( "iterator" ) , i = Array . prototype ; t . exports = function ( t ) { return void 0 !== t && ( r . Array === t || i [ o ] === t ) } } , function ( t , e , n ) { "use strict" ; var r = n ( 13 ) , o = n ( 67 ) ; t . exports = function ( t , e , n ) { e in t ? r . f ( t , e , o ( 0 , n ) ) : t [ e ] = n } } , function ( t , e , n ) { var r = n ( 96 ) , o = n ( 6 ) ( "iterator" ) , i = n ( 83 ) ; t . exports = n ( 10 ) . getIteratorMethod = function ( t ) { if ( null != t ) return t [ o ] || t [ "@@iterator" ] || i [ r ( t ) ] } } , function ( t , e , n ) { "use strict" ; var r = n ( 18 ) , o = n ( 71 ) , i = n ( 9 ) ; t . exports = function ( t ) { for ( var e = r ( this ) , n = i ( e . length ) , a = arguments . length , s = o ( a > 1 ? arguments [ 1 ] : void 0 , n ) , c = a > 2 ? arguments [ 2 ] : void 0 , u = void 0 === c ? n : o ( c , n ) ; u > s ; ) e [ s ++ ] = t ; return e } } , function ( t , e , n ) { "use strict" ; var r = n ( 75 ) , o = n ( 278 ) , i = n ( 83 ) , a = n ( 31 ) ; t . exports = n ( 181 ) ( Array , "Array" , ( function ( t , e ) { this . _t = a ( t ) , this . _i = 0 , this . _k = e } ) , ( function ( ) { var t = this . _t , e = this . _k , n = this . _i ++ ; return ! t || n >= t . length ? ( this . _t = void 0 , o ( 1 ) ) : o ( 0 , " keys
2019-09-11 12:58:57 +03:00
/ * * !
* @ fileOverview Kickass library to create and place poppers near their reference elements .
* @ version 1.15 . 0
* @ license
* Copyright ( c ) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted , free of charge , to any person obtaining a copy
* of this software and associated documentation files ( the "Software" ) , to deal
* in the Software without restriction , including without limitation the rights
* to use , copy , modify , merge , publish , distribute , sublicense , and / or sell
* copies of the Software , and to permit persons to whom the Software is
* furnished to do so , subject to the following conditions :
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software .
*
* THE SOFTWARE IS PROVIDED "AS IS" , WITHOUT WARRANTY OF ANY KIND , EXPRESS OR
* IMPLIED , INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY ,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT . IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM , DAMAGES OR OTHER
* LIABILITY , WHETHER IN AN ACTION OF CONTRACT , TORT OR OTHERWISE , ARISING FROM ,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE .
* /
2020-01-27 14:57:56 +03:00
var n = "undefined" != typeof window && "undefined" != typeof document , r = [ "Edge" , "Trident" , "Firefox" ] , o = 0 , i = 0 ; i < r . length ; i += 1 ) if ( n && navigator . userAgent . indexOf ( r [ i ] ) >= 0 ) { o = 1 ; break } var a = n && window . Promise ? function ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , window . Promise . resolve ( ) . then ( ( function ( ) { e = ! 1 , t ( ) } ) ) ) } } : function ( t ) { var e = ! 1 ; return function ( ) { e || ( e = ! 0 , setTimeout ( ( function ( ) { e = ! 1 , t ( ) } ) , o ) ) } } ; function s ( t ) { return t && "[object Function]" === { } . toString . call ( t ) } function c ( t , e ) { if ( 1 !== t . nodeType ) return [ ] ; var n = t . ownerDocument . defaultView . getComputedStyle ( t , null ) ; return e ? n [ e ] : n } function u ( t ) { return "HTML" === t . nodeName ? t : t . parentNode || t . host } function l ( t ) { if ( ! t ) return document . body ; switch ( t . nodeName ) { case "HTML" : case "BODY" : return t . ownerDocument . body ; case "#document" : return t . body } var e = c ( t ) , n = e . overflow , r = e . overflowX , o = e . overflowY ; return /(auto|scroll|overlay)/ . test ( n + o + r ) ? t : l ( u ( t ) ) } var d = n && ! ( ! window . MSInputMethodContext || ! document . documentMode ) , f = n && /MSIE 10/ . test ( navigator . userAgent ) ; function p ( t ) { return 11 === t ? d : 10 === t ? f : d || f } function A ( t ) { if ( ! t ) return document . documentElement ; for ( var e = p ( 10 ) ? document . body : null , n = t . offsetParent || null ; n === e && t . nextElementSibling ; ) n = ( t = t . nextElementSibling ) . offsetParent ; var r = n && n . nodeName ; return r && "BODY" !== r && "HTML" !== r ? - 1 !== [ "TH" , "TD" , "TABLE" ] . indexOf ( n . nodeName ) && "static" === c ( n , "position" ) ? A ( n ) : n : t ? t . ownerDocument . documentElement : document . documentElement } function M ( t ) { return null !== t . parentNode ? M ( 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 , o = n ? e : t , i = document . createRange ( ) ; i . setStart ( r , 0 ) , i . setEnd ( o , 0 ) ; var a , s , c = i . commonAncestorContainer ; if ( t !== c && e !== c || r . contains ( o ) ) return "BODY" === ( s = ( a = c ) . nodeName ) || "HTML" !== s && A ( a . firstElementChild ) !== a ? A ( c ) : c ; var u = M ( t ) ; return u . host ? h ( u . host , e ) : h ( t , M ( e ) . host ) } function m ( t ) { var e = "top" === ( arguments . length > 1 && void 0 !== arguments [ 1 ] ? arguments [ 1 ] : "top" ) ? "scrollTop" : "scrollLeft" , n = t . nodeName ; if ( "BODY" === n || "HTML" === n ) { var r = t . ownerDocument . documentElement ; return ( t . ownerDocument . scrollingElement || r ) [ e ] } return t [ e ] } function _ ( t , e ) { var n = "x" === e ? "Left" : "Top" , r = "Left" === n ? "Right" : "Bottom" ; return parseFloat ( t [ "border" + n + "Width" ] , 10 ) + parseFloat ( t [ "border" + r + "Width" ] , 10 ) } function v ( t , e , n , r ) { return Math . max ( e [ "offset" + t ] , e [ "scroll" + t ] , n [ "client" + t ] , n [ "offset" + t ] , n [ "scroll" + t ] , p ( 10 ) ? parseInt ( n [ "offset" + t ] ) + parseInt ( r [ "margin" + ( "Height" === t ? "Top" : "Left" ) ] ) + parseInt ( r [ "margin" + ( "Height" === t ? "Bottom" : "Right" ) ] ) : 0 ) } function b ( t ) { var e = t . body , n = t . documentElement , r = p ( 10 ) && getComputedStyle ( n ) ; return { height : v ( "Height" , e , n , r ) , width : v ( "Width" , e , n , r ) } } var g = function ( t , e ) { if ( ! ( t instanceof e ) ) throw new TypeError ( "Cannot call a class as a function" ) } , y = 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 } } ( ) , L = function ( t , e , n ) { return e in t ? Object . defineProperty ( t , e , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : t [ e ] = n , t } , w = 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 z ( t ) { return w ( { } , t , { right : t . left + t . width , bottom : t . top + t . height } ) } function T ( t ) { var e = { } ; try { if ( p ( 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 o = { left : e . left , top : e . top , width : e . right - e . left , height : e . bottom - e . top } , i = "HTML" === t . nodeName ? b ( t . ownerDocument ) : { } , a = i . width || t . clientWidth || o . right - o . left , s = i . height || t . clientHeight || o . bottom - o . top , u = t . offsetWidth - a , l = t . offsetHeight - s ; if ( u || l ) { var d = c ( t ) ; u -= _ ( d , "x" ) , l -= _ ( d , "y" ) , o . width -= u , o . height -= l } return z ( o ) } function O ( t , e ) { var n = arguments . length > 2 && void 0 !== arguments [ 2 ] && arguments [ 2 ] , r = p ( 10 ) , o = "HTML" === e . nodeName , i = T ( t ) , a = T ( e ) , s = l ( t ) , u = c ( e ) , d = parseFloat ( u . borderTopWidth , 10 ) , f = parseFloat ( u . borderLeftWidth , 10 ) ; n && o && ( a . top = Math . max ( a . t
2019-09-11 12:58:57 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
* @ author John Molakvoæ < skjnldsv @ protonmail . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2020-01-27 14:57:56 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "c481f14" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , e . default = r . VTooltip } , 2 : function ( t , e , n ) { "use strict" ; function r ( t , e ) { for ( var n = [ ] , r = { } , o = 0 ; o < e . length ; o ++ ) { var i = e [ o ] , a = i [ 0 ] , s = { id : t + ":" + o , css : i [ 1 ] , media : i [ 2 ] , sourceMap : i [ 3 ] } ; r [ a ] ? r [ a ] . parts . push ( s ) : n . push ( r [ a ] = { id : a , parts : [ s ] } ) } return n } n . r ( e ) , n . d ( e , "default" , ( function ( ) { return A } ) ) ; var o = "undefined" != typeof document ; if ( "undefined" != typeof DEBUG && DEBUG && ! o ) throw new Error ( "vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment." ) ; var i = { } , a = o && ( document . head || document . getElementsByTagName ( "head" ) [ 0 ] ) , s = null , c = 0 , u = ! 1 , l = function ( ) { } , d = null , f = "data-vue-ssr-id" , p = "undefined" != typeof navigator && /msie [6-9]\b/ . test ( navigator . userAgent . toLowerCase ( ) ) ; function A ( t , e , n , o ) { u = n , d = o || { } ; var a = r ( t , e ) ; return M ( a ) , function ( e ) { for ( var n = [ ] , o = 0 ; o < a . length ; o ++ ) { var s = a [ o ] ; ( c = i [ s . id ] ) . refs -- , n . push ( c ) } for ( e ? M ( a = r ( t , e ) ) : a = [ ] , o = 0 ; o < n . length ; o ++ ) { var c ; if ( 0 === ( c = n [ o ] ) . refs ) { for ( var u = 0 ; u < c . parts . length ; u ++ ) c . parts [ u ] ( ) ; delete i [ c . id ] } } } } function M ( t ) { for ( var e = 0 ; e < t . length ; e ++ ) { var n = t [ e ] , r = i [ n . id ] ; if ( r ) { r . refs ++ ; for ( var o = 0 ; o < r . parts . length ; o ++ ) r . parts [ o ] ( n . parts [ o ] ) ; for ( ; o < n . parts . length ; o ++ ) r . parts . push ( m ( n . parts [ o ] ) ) ; r . parts . length > n . parts . length && ( r . parts . length = n . parts . length ) } else { var a = [ ] ; for ( o = 0 ; o < n . parts . length ; o ++ ) a . push ( m ( n . parts [ o ] ) ) ; i [ n . id ] = { id : n . id , refs : 1 , parts : a } } } } function h ( ) { var t = document . createElement ( "style" ) ; return t . type = "text/css" , a . appendChild ( t ) , t } function m ( t ) { var e , n , r = document . querySelector ( "style[" + f + '~="' + t . id + '"]' ) ; if ( r ) { if ( u ) return l ; r . parentNode . removeChild ( r ) } if ( p ) { var o = c ++ ; r = s || ( s = h ( ) ) , e = b . bind ( null , r , o , ! 1 ) , n = b . bind ( null , r , o , ! 0 ) } else r = h ( ) , e = function ( t , e ) { var n = e . css , r = e . media , o = e . sourceMap ; if ( r && t . setAttribute ( "media" , r ) , d . ssrId && t . setAttribute ( f , e . id ) , o && ( n += "\n/*# sourceURL=" + o . sources [ 0 ] + " */" , n += "\n/*# sourceMappingURL=data:application/json;base64," + btoa ( unescape ( encodeURIComponent ( JSON . stringify ( o ) ) ) ) + " */" ) , t . styleSheet ) t . styleSheet . cssText = n ; else { for ( ; t . firstChild ; ) t . removeChild ( t . firstChild ) ; t . appendChild ( document . createTextNode ( n ) ) } } . bind ( null , r ) , n = function ( ) { r . parentNode . removeChild ( r ) } ; return e ( t ) , function ( r ) { if ( r ) { if ( r . css === t . css && r . media === t . media && r . sourceMap === t . sourceMap ) return ; e ( t = r ) } else n ( ) } } var _ , v = ( _ = [ ] , function ( t , e ) { return _ [ t ] = e , _ . filter ( Boolean ) . join ( "\n" ) } ) ; function b ( t , e , n , r ) { var o = n ? "" : r . css ; if ( t . styleSheet ) t . styleSheet . cssText = v ( e , o ) ; else { var i = document . createTextNode ( o ) , a = t . childNodes ; a [ e ] && t . removeChild ( a [ e ] ) , a . length ? t . insertBefore ( i , a [ e ] ) : t . appendChild ( i ) } } } , 37 : function ( t , e , n ) { var r = n ( 38 ) ; "string" == typeof r && ( r = [ [ t . i , r , "" ] ] ) , r . locals && ( t . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "941c791e" , r , ! 0 , { } ) } , 38 : function ( t , e , n ) { ( e = n ( 1 ) ( ! 1 ) ) . push ( [ t . i , " . vue - tooltip [ data - v - c481f14 ] { position : absolute ; z - index : 100000 ; right : auto ; left : auto ; display : block ; margin : 0 ; margin - top : - 3 px ; padding : 10 px 0 ; text - align : left ; text - align : start ; white - space : normal ; text - decoration : none ; letter - spacing : normal ; word - spacing : normal ; text - transform : none ; word - wrap : normal ; word - break : normal ; opacity : 0 ; text - shadow : none ; font - family : 'Nunito' , 'Open Sans' , Frutiger , Calibri , 'Myriad Pro' , Myriad , sans - serif ; font - size : 12 px ; font - weight : normal ; font - style : normal ; line - height : 1.6 ; line - break : auto ; filter : drop - shadow ( 0 1 px 10 px var ( -- color - box - shadow ) ) } . vue - tooltip [ data - v - c481f14 ] [ x - placement ^= 'top' ] . tooltip - arrow { bottom : 0 ; margin - top : 0 ; margin - bottom : 0 ; border - width : 10 px 10 px 0 10 px ; border - right - color : transparent ; border - bottom - color : transparent ; border - left - color : transparent } . vue - tooltip [ data - v - c481f14 ] [ x - placement ^= 'bottom' ] . tooltip - arrow { top : 0 ; margin - top : 0 ; margin - bottom : 0 ; border - width : 0 10 px 10 px 10 px ; border - top - color : transparent ; border - right - color : transparent ; border - left - color : transparent } . vue - tooltip [ data - v - c481f14 ] [ x - placement ^= 'right' ] . tooltip - arrow { right : 100 % ; margin - right : 0 ; margin - left : 0 ; border - width : 10 px 10 px 10 px 0 ; border - top -
2020-01-16 02:03:29 +03:00
/ * !
* escape - html
* Copyright ( c ) 2012 - 2013 TJ Holowaychuk
* Copyright ( c ) 2015 Andreas Lubbe
* Copyright ( c ) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
2020-01-26 05:14:30 +03:00
* /var r=/ [ "'&<>]/;t.exports=function(t){var e,n=" "+t,o=r.exec(n);if(!o)return n;var i=" ",a=0,s=0;for(a=o.index;a<n.length;a++){switch(n.charCodeAt(a)){case 34:e=" & quot ; ";break;case 38:e=" & amp ; ";break;case 39:e=" & # 39 ; ";break;case 60:e=" & lt ; ";break;case 62:e=" & gt ; ";break;default:continue}s!==a&&(i+=n.substring(s,a)),s=a+1,i+=e}return s!==a?i+n.substring(s,a):i}},function(t,e,n){" use strict ";var r=n(15),o=n(145).map,i=n(105),a=n(91),s=i(" map "),c=a(" map ");r({target:" Array ",proto:!0,forced:!s||!c},{map:function(t){return o(this,t,arguments.length>1?arguments[1]:void 0)}})},function(t,e,n){var r,o,i,a,s;r=n(855),o=n(378).utf8,i=n(856),a=n(378).bin,(s=function(t,e){t.constructor==String?t=e&&" binary "===e.encoding?a.stringToBytes(t):o.stringToBytes(t):i(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||(t=t.toString());for(var n=r.bytesToWords(t),c=8*t.length,u=1732584193,l=-271733879,d=-1732584194,f=271733878,p=0;p<n.length;p++)n[p]=16711935&(n[p]<<8|n[p]>>>24)|4278255360&(n[p]<<24|n[p]>>>8);n[c>>>5]|=128<<c%32,n[14+(c+64>>>9<<4)]=c;var A=s._ff,M=s._gg,h=s._hh,m=s._ii;for(p=0;p<n.length;p+=16){var _=u,v=l,b=d,g=f;u=A(u,l,d,f,n[p+0],7,-680876936),f=A(f,u,l,d,n[p+1],12,-389564586),d=A(d,f,u,l,n[p+2],17,606105819),l=A(l,d,f,u,n[p+3],22,-1044525330),u=A(u,l,d,f,n[p+4],7,-176418897),f=A(f,u,l,d,n[p+5],12,1200080426),d=A(d,f,u,l,n[p+6],17,-1473231341),l=A(l,d,f,u,n[p+7],22,-45705983),u=A(u,l,d,f,n[p+8],7,1770035416),f=A(f,u,l,d,n[p+9],12,-1958414417),d=A(d,f,u,l,n[p+10],17,-42063),l=A(l,d,f,u,n[p+11],22,-1990404162),u=A(u,l,d,f,n[p+12],7,1804603682),f=A(f,u,l,d,n[p+13],12,-40341101),d=A(d,f,u,l,n[p+14],17,-1502002290),u=M(u,l=A(l,d,f,u,n[p+15],22,1236535329),d,f,n[p+1],5,-165796510),f=M(f,u,l,d,n[p+6],9,-1069501632),d=M(d,f,u,l,n[p+11],14,643717713),l=M(l,d,f,u,n[p+0],20,-373897302),u=M(u,l,d,f,n[p+5],5,-701558691),f=M(f,u,l,d,n[p+10],9,38016083),d=M(d,f,u,l,n[p+15],14,-660478335),l=M(l,d,f,u,n[p+4],20,-405537848),u=M(u,l,d,f,n[p+9],5,568446438),f=M(f,u,l,d,n[p+14],9,-1019803690),d=M(d,f,u,l,n[p+3],14,-187363961),l=M(l,d,f,u,n[p+8],20,1163531501),u=M(u,l,d,f,n[p+13],5,-1444681467),f=M(f,u,l,d,n[p+2],9,-51403784),d=M(d,f,u,l,n[p+7],14,1735328473),u=h(u,l=M(l,d,f,u,n[p+12],20,-1926607734),d,f,n[p+5],4,-378558),f=h(f,u,l,d,n[p+8],11,-2022574463),d=h(d,f,u,l,n[p+11],16,1839030562),l=h(l,d,f,u,n[p+14],23,-35309556),u=h(u,l,d,f,n[p+1],4,-1530992060),f=h(f,u,l,d,n[p+4],11,1272893353),d=h(d,f,u,l,n[p+7],16,-155497632),l=h(l,d,f,u,n[p+10],23,-1094730640),u=h(u,l,d,f,n[p+13],4,681279174),f=h(f,u,l,d,n[p+0],11,-358537222),d=h(d,f,u,l,n[p+3],16,-722521979),l=h(l,d,f,u,n[p+6],23,76029189),u=h(u,l,d,f,n[p+9],4,-640364487),f=h(f,u,l,d,n[p+12],11,-421815835),d=h(d,f,u,l,n[p+15],16,530742520),u=m(u,l=h(l,d,f,u,n[p+2],23,-995338651),d,f,n[p+0],6,-198630844),f=m(f,u,l,d,n[p+7],10,1126891415),d=m(d,f,u,l,n[p+14],15,-1416354905),l=m(l,d,f,u,n[p+5],21,-57434055),u=m(u,l,d,f,n[p+12],6,1700485571),f=m(f,u,l,d,n[p+3],10,-1894986606),d=m(d,f,u,l,n[p+10],15,-1051523),l=m(l,d,f,u,n[p+1],21,-2054922799),u=m(u,l,d,f,n[p+8],6,1873313359),f=m(f,u,l,d,n[p+15],10,-30611744),d=m(d,f,u,l,n[p+6],15,-1560198380),l=m(l,d,f,u,n[p+13],21,1309151649),u=m(u,l,d,f,n[p+4],6,-145523070),f=m(f,u,l,d,n[p+11],10,-1120210379),d=m(d,f,u,l,n[p+2],15,718787259),l=m(l,d,f,u,n[p+9],21,-343485551),u=u+_>>>0,l=l+v>>>0,d=d+b>>>0,f=f+g>>>0}return r.endian([u,l,d,f])})._ff=function(t,e,n,r,o,i,a){var s=t+(e&n|~e&r)+(o>>>0)+a;return(s<<i|s>>>32-i)+e},s._gg=function(t,e,n,r,o,i,a){var s=t+(e&r|n&~r)+(o>>>0)+a;return(s<<i|s>>>32-i)+e},s._hh=function(t,e,n,r,o,i,a){var s=t+(e^n^r)+(o>>>0)+a;return(s<<i|s>>>32-i)+e},s._ii=function(t,e,n,r,o,i,a){var s=t+(n^(e|~r))+(o>>>0)+a;return(s<<i|s>>>32-i)+e},s._blocksize=16,s._digestsize=16,t.exports=function(t,e){if(null==t)throw new Error(" Illegal argument "+t);var n=r.wordsToBytes(s(t,e));return e&&e.asBytes?n:e&&e.asString?a.bytesToString(n):r.bytesToHex(n)}},function(t,e){var n,r;n=" ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 + / " , r = { r o t l : f u n c t i o n ( t , e ) { r e t u r n t < < e | t > > > 3 2 - e } , r o t r : f u n c t i o n ( t , e ) { r e t u r n t < < 3 2 - e | t > > > e } , e n d i a n : f u n c t i o
2020-01-16 02:03:29 +03:00
/ * !
* Determine if an object is a Buffer
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
* /
2020-01-27 14:57:56 +03:00
t . exports = function ( t ) { return null != t && ( n ( t ) || function ( t ) { return "function" == typeof t . readFloatLE && "function" == typeof t . slice && n ( t . slice ( 0 , 0 ) ) } ( t ) || ! ! t . _isBuffer ) } } , function ( t , e , n ) { "use strict" ; var r , o , i , a , s = n ( 15 ) , c = n ( 89 ) , u = n ( 8 ) , l = n ( 80 ) , d = n ( 858 ) , f = n ( 33 ) , p = n ( 374 ) , A = n ( 92 ) , M = n ( 379 ) , h = n ( 19 ) , m = n ( 146 ) , _ = n ( 245 ) , v = n ( 56 ) , b = n ( 227 ) , g = n ( 859 ) , y = n ( 860 ) , L = n ( 861 ) , w = n ( 380 ) . set , z = n ( 862 ) , T = n ( 863 ) , O = n ( 864 ) , x = n ( 382 ) , k = n ( 865 ) , S = n ( 63 ) , D = n ( 142 ) , E = n ( 7 ) , N = n ( 242 ) , Y = E ( "species" ) , B = "Promise" , C = S . get , W = S . set , j = S . getterFor ( B ) , q = d , I = u . TypeError , R = u . document , P = u . process , X = l ( "fetch" ) , H = x . f , F = H , U = "process" == v ( P ) , G = ! ! ( R && R . createEvent && u . dispatchEvent ) , Q = D ( B , ( function ( ) { if ( ! ( b ( q ) !== String ( q ) ) ) { if ( 66 === N ) return ! 0 ; if ( ! U && "function" != typeof PromiseRejectionEvent ) return ! 0 } if ( c && ! q . prototype . finally ) return ! 0 ; if ( N >= 51 && /native code/ . test ( q ) ) return ! 1 ; var t = q . resolve ( 1 ) , e = function ( t ) { t ( ( function ( ) { } ) , ( function ( ) { } ) ) } ; return ( t . constructor = { } ) [ Y ] = e , ! ( t . then ( ( function ( ) { } ) ) instanceof e ) } ) ) , V = Q || ! y ( ( function ( t ) { q . all ( t ) . catch ( ( function ( ) { } ) ) } ) ) , $ = function ( t ) { var e ; return ! ( ! h ( t ) || "function" != typeof ( e = t . then ) ) && e } , J = function ( t , e , n ) { if ( ! e . notified ) { e . notified = ! 0 ; var r = e . reactions ; z ( ( function ( ) { for ( var o = e . value , i = 1 == e . state , a = 0 ; r . length > a ; ) { var s , c , u , l = r [ a ++ ] , d = i ? l . ok : l . fail , f = l . resolve , p = l . reject , A = l . domain ; try { d ? ( i || ( 2 === e . rejection && et ( t , e ) , e . rejection = 1 ) , ! 0 === d ? s = o : ( A && A . enter ( ) , s = d ( o ) , A && ( A . exit ( ) , u = ! 0 ) ) , s === l . promise ? p ( I ( "Promise-chain cycle" ) ) : ( c = $ ( s ) ) ? c . call ( s , f , p ) : f ( s ) ) : p ( o ) } catch ( t ) { A && ! u && A . exit ( ) , p ( t ) } } e . reactions = [ ] , e . notified = ! 1 , n && ! e . rejection && K ( t , e ) } ) ) } } , Z = function ( t , e , n ) { var r , o ; G ? ( ( r = R . createEvent ( "Event" ) ) . promise = e , r . reason = n , r . initEvent ( t , ! 1 , ! 0 ) , u . dispatchEvent ( r ) ) : r = { promise : e , reason : n } , ( o = u [ "on" + t ] ) ? o ( r ) : "unhandledrejection" === t && O ( "Unhandled promise rejection" , n ) } , K = function ( t , e ) { w . call ( u , ( function ( ) { var n , r = e . value ; if ( tt ( e ) && ( n = k ( ( function ( ) { U ? P . emit ( "unhandledRejection" , r , t ) : Z ( "unhandledrejection" , t , r ) } ) ) , e . rejection = U || tt ( e ) ? 2 : 1 , n . error ) ) throw n . value } ) ) } , tt = function ( t ) { return 1 !== t . rejection && ! t . parent } , et = function ( t , e ) { w . call ( u , ( function ( ) { U ? P . emit ( "rejectionHandled" , t ) : Z ( "rejectionhandled" , t , e . value ) } ) ) } , nt = function ( t , e , n , r ) { return function ( o ) { t ( e , n , o , r ) } } , rt = function ( t , e , n , r ) { e . done || ( e . done = ! 0 , r && ( e = r ) , e . value = n , e . state = 2 , J ( t , e , ! 0 ) ) } , ot = function ( t , e , n , r ) { if ( ! e . done ) { e . done = ! 0 , r && ( e = r ) ; try { if ( t === n ) throw I ( "Promise can't be resolved itself" ) ; var o = $ ( n ) ; o ? z ( ( function ( ) { var r = { done : ! 1 } ; try { o . call ( n , nt ( ot , t , r , e ) , nt ( rt , t , r , e ) ) } catch ( n ) { rt ( t , r , n , e ) } } ) ) : ( e . value = n , e . state = 1 , J ( t , e , ! 1 ) ) } catch ( n ) { rt ( t , { done : ! 1 } , n , e ) } } } ; Q && ( q = function ( t ) { _ ( this , q , B ) , m ( t ) , r . call ( this ) ; var e = C ( this ) ; try { t ( nt ( ot , this , e ) , nt ( rt , this , e ) ) } catch ( t ) { rt ( this , e , t ) } } , ( r = function ( t ) { W ( this , { type : B , done : ! 1 , notified : ! 1 , parent : ! 1 , reactions : [ ] , rejection : ! 1 , state : 0 , value : void 0 } ) } ) . prototype = p ( q . prototype , { then : function ( t , e ) { var n = j ( this ) , r = H ( L ( this , q ) ) ; return r . ok = "function" != typeof t || t , r . fail = "function" == typeof e && e , r . domain = U ? P . domain : void 0 , n . parent = ! 0 , n . reactions . push ( r ) , 0 != n . state && J ( this , n , ! 1 ) , r . promise } , catch : function ( t ) { return this . then ( void 0 , t ) } } ) , o = function ( ) { var t = new r , e = C ( t ) ; this . promise = t , this . resolve = nt ( ot , t , e ) , this . reject = nt ( rt , t , e ) } , x . f = H = function ( t ) { return t === q || t === i ? new o ( t ) : F ( t ) } , c || "function" != typeof d || ( a = d . prototype . then , f ( d . prototype , "then" , ( function ( t , e ) { var n = this ; return new q ( ( function ( t , e ) { a . call ( n , t , e ) } ) ) . then ( t , e ) } ) , { unsafe : ! 0 } ) , "function" == typeof X && s ( { global : ! 0 , enumerable : ! 0 , forced : ! 0 } , { fetch : function ( t ) { return T ( q , X . apply ( u , arguments ) ) } } ) ) ) , s ( { global : ! 0 , wrap : ! 0 , forced : Q } , { Promise : q } ) , A ( q , B , ! 1 , ! 0 ) , M ( B ) , i = l ( B ) , s ( { target : B , stat : ! 0 , forced : Q } , { reject : function ( t ) { var e = H ( this ) ; return e . reject . call ( void 0 , t ) , e . promise } } ) , s ( { target : B , stat : ! 0 , forced : c || Q } , { resolve : function ( t ) { return T ( c && this === i ? q : this , t ) } } ) , s ( { target : B , stat : ! 0 , forced : V } , { all : function ( t ) { var e = this , n = H ( e ) , r = n . resolve , o = n . reject , i = k ( ( function ( ) { var n = m ( e . resolve ) , i = [ ] , a = 0 , s = 1 ; g ( t , ( function ( t ) { var c = a ++ , u = ! 1 ; i . push ( void 0 ) , s ++ , n . call ( e , t ) . then ( ( function ( t ) { u || ( u = ! 0 , i [ c ] = t , -- s || r ( i ) ) } ) , o ) } ) ) , -- s || r ( i ) } ) ) ; return i . error && o ( i . value ) , n . promise } , race : function ( t ) { var e = this , n = H ( e ) , r = n . reject , o = k (
2019-10-20 15:18:08 +03:00
//! version : 0.5.27
2019-09-11 12:58:57 +03:00
//! Copyright (c) JS Foundation and other contributors
//! license : MIT
//! github.com/moment/moment-timezone
2020-01-27 14:57:56 +03:00
! function ( a , s ) { "use strict" ; t . exports ? t . exports = s ( n ( 0 ) ) : ( o = [ n ( 0 ) ] , void 0 === ( i = "function" == typeof ( r = s ) ? r . apply ( e , o ) : r ) || ( t . exports = i ) ) } ( 0 , ( function ( t ) { "use strict" ; var e , n = { } , r = { } , o = { } , i = { } ; t && "string" == typeof t . version || O ( "Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/" ) ; var a = t . version . split ( "." ) , s = + a [ 0 ] , c = + a [ 1 ] ; function u ( t ) { return t > 96 ? t - 87 : t > 64 ? t - 29 : t - 48 } function l ( t ) { var e = 0 , n = t . split ( "." ) , r = n [ 0 ] , o = n [ 1 ] || "" , i = 1 , a = 0 , s = 1 ; for ( 45 === t . charCodeAt ( 0 ) && ( e = 1 , s = - 1 ) ; e < r . length ; e ++ ) a = 60 * a + u ( r . charCodeAt ( e ) ) ; for ( e = 0 ; e < o . length ; e ++ ) i /= 60 , a += u ( o . charCodeAt ( e ) ) * i ; return a * s } function d ( t ) { for ( var e = 0 ; e < t . length ; e ++ ) t [ e ] = l ( t [ e ] ) } function f ( t , e ) { var n , r = [ ] ; for ( n = 0 ; n < e . length ; n ++ ) r [ n ] = t [ e [ n ] ] ; return r } function p ( t ) { var e = t . split ( "|" ) , n = e [ 2 ] . split ( " " ) , r = e [ 3 ] . split ( "" ) , o = e [ 4 ] . split ( " " ) ; return d ( n ) , d ( r ) , d ( o ) , function ( t , e ) { for ( var n = 0 ; n < e ; n ++ ) t [ n ] = Math . round ( ( t [ n - 1 ] || 0 ) + 6e4 * t [ n ] ) ; t [ e - 1 ] = 1 / 0 } ( o , r . length ) , { name : e [ 0 ] , abbrs : f ( e [ 1 ] . split ( " " ) , r ) , offsets : f ( n , r ) , untils : o , population : 0 | e [ 5 ] } } function A ( t ) { t && this . _set ( p ( t ) ) } function M ( t ) { var e = t . toTimeString ( ) , n = e . match ( /\([a-z ]+\)/i ) ; "GMT" === ( n = n && n [ 0 ] ? ( n = n [ 0 ] . match ( /[A-Z]/g ) ) ? n . join ( "" ) : void 0 : ( n = e . match ( /[A-Z]{3,5}/g ) ) ? n [ 0 ] : void 0 ) && ( n = void 0 ) , this . at = + t , this . abbr = n , this . offset = t . getTimezoneOffset ( ) } function h ( t ) { this . zone = t , this . offsetScore = 0 , this . abbrScore = 0 } function m ( t , e ) { for ( var n , r ; r = 6e4 * ( ( e . at - t . at ) / 12e4 | 0 ) ; ) ( n = new M ( new Date ( t . at + r ) ) ) . offset === t . offset ? t = n : e = n ; return t } function _ ( t , e ) { return t . offsetScore !== e . offsetScore ? t . offsetScore - e . offsetScore : t . abbrScore !== e . abbrScore ? t . abbrScore - e . abbrScore : t . zone . population !== e . zone . population ? e . zone . population - t . zone . population : e . zone . name . localeCompare ( t . zone . name ) } function v ( t , e ) { var n , r ; for ( d ( e ) , n = 0 ; n < e . length ; n ++ ) r = e [ n ] , i [ r ] = i [ r ] || { } , i [ r ] [ t ] = ! 0 } function b ( t ) { var e , n , r , a = t . length , s = { } , c = [ ] ; for ( e = 0 ; e < a ; e ++ ) for ( n in r = i [ t [ e ] . offset ] || { } ) r . hasOwnProperty ( n ) && ( s [ n ] = ! 0 ) ; for ( e in s ) s . hasOwnProperty ( e ) && c . push ( o [ e ] ) ; return c } function g ( ) { try { var t = Intl . DateTimeFormat ( ) . resolvedOptions ( ) . timeZone ; if ( t && t . length > 3 ) { var e = o [ y ( t ) ] ; if ( e ) return e ; O ( "Moment Timezone found " + t + " from the Intl api, but did not have that data loaded." ) } } catch ( t ) { } var n , r , i , a = function ( ) { var t , e , n , r = ( new Date ) . getFullYear ( ) - 2 , o = new M ( new Date ( r , 0 , 1 ) ) , i = [ o ] ; for ( n = 1 ; n < 48 ; n ++ ) ( e = new M ( new Date ( r , n , 1 ) ) ) . offset !== o . offset && ( t = m ( o , e ) , i . push ( t ) , i . push ( new M ( new Date ( t . at + 6e4 ) ) ) ) , o = e ; for ( n = 0 ; n < 4 ; n ++ ) i . push ( new M ( new Date ( r + n , 0 , 1 ) ) ) , i . push ( new M ( new Date ( r + n , 6 , 1 ) ) ) ; return i } ( ) , s = a . length , c = b ( a ) , u = [ ] ; for ( r = 0 ; r < c . length ; r ++ ) { for ( n = new h ( w ( c [ r ] ) , s ) , i = 0 ; i < s ; i ++ ) n . scoreOffsetAt ( a [ i ] ) ; u . push ( n ) } return u . sort ( _ ) , u . length > 0 ? u [ 0 ] . zone . name : void 0 } function y ( t ) { return ( t || "" ) . toLowerCase ( ) . replace ( /\//g , "_" ) } function L ( t ) { var e , r , i , a ; for ( "string" == typeof t && ( t = [ t ] ) , e = 0 ; e < t . length ; e ++ ) a = y ( r = ( i = t [ e ] . split ( "|" ) ) [ 0 ] ) , n [ a ] = t [ e ] , o [ a ] = r , v ( a , i [ 2 ] . split ( " " ) ) } function w ( t , e ) { t = y ( t ) ; var i , a = n [ t ] ; return a instanceof A ? a : "string" == typeof a ? ( a = new A ( a ) , n [ t ] = a , a ) : r [ t ] && e !== w && ( i = w ( r [ t ] , w ) ) ? ( ( a = n [ t ] = new A ) . _set ( i ) , a . name = o [ t ] , a ) : null } function z ( t ) { var e , n , i , a ; for ( "string" == typeof t && ( t = [ t ] ) , e = 0 ; e < t . length ; e ++ ) i = y ( ( n = t [ e ] . split ( "|" ) ) [ 0 ] ) , a = y ( n [ 1 ] ) , r [ i ] = a , o [ i ] = n [ 0 ] , r [ a ] = i , o [ a ] = n [ 1 ] } function T ( t ) { var e = "X" === t . _f || "x" === t . _f ; return ! ( ! t . _a || void 0 !== t . _tzm || e ) } function O ( t ) { "undefined" != typeof console && "function" == typeof console . error && console . error ( t ) } function x ( e ) { var n = Array . prototype . slice . call ( arguments , 0 , - 1 ) , r = arguments [ arguments . length - 1 ] , o = w ( r ) , i = t . utc . apply ( null , n ) ; return o && ! t . isMoment ( e ) && T ( i ) && i . add ( o . parse ( i ) , "minutes" ) , i . tz ( r ) , i } ( s < 2 || 2 === s && c < 6 ) && O ( "Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js " + t . version + ". See momentjs.com" ) , A . prototype = { _set : function ( t ) { this . name = t . name , this . abbrs = t . abbrs , this . untils = t . untils , this . offsets = t . offsets , this . population = t . population } , _index : function ( t ) { var e , n = + t , r = this . untils ; for ( e = 0 ; e < r . length ; e ++ ) if ( n < r [ e ] ) return e } , parse : function ( t ) { var e , n , r , o , i = + t , a = this . offsets , s = this . untils , c = s . length - 1 ; for ( o = 0 ; o < c ; o ++ ) if ( e = a [ o ] , n = a [ o + 1 ] , r = a [ o ? o - 1 : o ] , e < n && x . moveAmbiguousForward ? e = n : e > r && x . moveInvalidForward
2019-09-25 19:19:42 +03:00
/ * *
2019-09-11 12:58:57 +03:00
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-01-27 14:57:56 +03:00
* /o.default.use(i.a);var _,v,b,g=new i.a.Store({state:{rules:[],scope:Object(c.loadState)("workflowengine","scope"),operations:Object(c.loadState)("workflowengine","operators"),plugins:o.default.observable({checks:{},operators:{}}),entities:Object(c.loadState)("workflowengine","entities"),events:Object(c.loadState)("workflowengine","entities").map((function(t){return t.events.map((function(e){return h({id:"".concat(t.id,"::").concat(e.eventName),entity:t},e)}))})).flat(),checks:Object(c.loadState)("workflowengine","checks")},mutations:{addRule:function(t,e){t.rules.push(h({},e,{valid:!0}))},updateRule:function(t,e){var n=t.rules.findIndex((function(t){return e.id===t.id})),r=Object.assign({},e);o.default.set(t.rules,n,r)},removeRule:function(t,e){var n=t.rules.findIndex((function(t){return e.id===t.id}));t.rules.splice(n,1)},addPluginCheck:function(t,e){o.default.set(t.plugins.checks,e.class,e)},addPluginOperator:function(t,e){e=Object.assign({color:"var(--color-primary-element)"},e,t.operations[e.id]||{}),void 0!==t.operations[e.id]&&o.default.set(t.operations,e.id,e)}},actions:{fetchRules:(b=A(regeneratorRuntime.mark((function t(e){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s.a.get(l(""));case 2:n=t.sent,r=n.data,Object.values(r.ocs.data).flat().forEach((function(t){e.commit("addRule",t)}));case 5:case"end":return t.stop()}}),t)}))),function(t){return b.apply(this,arguments)}),createNewRule:function(t,e){var n=null,r=[];!1===e.isComplex&&""===e.fixedEntity&&(r=[(n=(n=t.state.entities.find((function(t){return e.entities&&e.entities[0]===t.id})))||Object.values(t.state.entities)[0]).events[0].eventName]),t.commit("addRule",{id:-(new Date).getTime(),class:e.id,entity:n?n.id:e.fixedEntity,events:r,name:"",checks:[{class:null,operator:null,value:""}],operation:e.operation||""})},updateRule:function(t,e){t.commit("updateRule",h({},e,{events:"string"==typeof e.events?JSON.parse(e.events):e.events}))},removeRule:function(t,e){t.commit("removeRule",e)},pushUpdateRule:(v=A(regeneratorRuntime.mark((function t(e,n){var r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(0!==e.state.scope){t.next=3;break}return t.next=3,f()();case 3:if(!(n.id<0)){t.next=9;break}return t.next=6,s.a.post(l(""),n);case 6:r=t.sent,t.next=12;break;case 9:return t.next=11,s.a.put(l("/ ".concat(n.id)),n);case 11:r=t.sent;case 12:o.default.set(n," id ",r.data.ocs.data.id),e.commit(" updateRule ",n);case 14:case" end ":return t.stop()}}),t)}))),function(t,e){return v.apply(this,arguments)}),deleteRule:(_=A(regeneratorRuntime.mark((function t(e,n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,f()();case 2:return t.next=4,s.a.delete(l(" / ".concat(n.id)));case 4:e.commit(" removeRule ",n);case 5:case" end ":return t.stop()}}),t)}))),function(t,e){return _.apply(this,arguments)}),setValid:function(t,e){var n=e.rule,r=e.valid;n.valid=r,t.commit(" updateRule ",n)}},getters:{getRules:function(t){return t.rules.filter((function(e){return void 0!==t.operations[e.class]})).sort((function(t,e){return t.id-e.id||e.class-t.class}))},getOperationForRule:function(t){return function(e){return t.operations[e.class]}},getEntityForOperation:function(t){return function(e){return t.entities.find((function(t){return e.fixedEntity===t.id}))}},getEventsForOperation:function(t){return function(e){return t.events}},getChecksForEntity:function(t){return function(e){return Object.values(t.checks).filter((function(t){return t.supportedEntities.indexOf(e)>-1||0===t.supportedEntities.length})).map((function(e){return t.plugins.checks[e.id]})).reduce((function(t,e){return t[e.class]=e,t}),{})}}}}),y=r(551),L=r(167),w=r(168),z=r(17),T={name:" Event " , components : { Multiselect : z . Multiselect } , props : { rule : { type : Object , required : ! 0 } } , computed : { entity : function ( ) { return this . $store . getters . getEntityForOperation ( this . operation ) } , operation : function ( ) { return this . $store . getters . getOperationForRule ( this . rule ) } , allEvents : function ( ) { return this . $store . getters . getEventsForOpera
2019-10-02 14:18:17 +03:00
/ * *
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-01-26 05:14:30 +03:00
* / ( t ) | | f u n c t i o n ( t ) { i f ( S y m b o l . i t e r a t o r i n O b j e c t ( t ) | | " [ o b j e c t A r g u m e n t s ] " = = = 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 ) ) r e t u r n A r r a y . f r o m ( t ) } ( t ) | | f u n c t i o n ( ) { t h r o w n e w T y p e E r r o r ( " I n v a l i d a t t e m p t t o s p r e a d n o n - i t e r a b l e i n s t a n c e " ) } ( ) } v a r O t = [ ] . c o n c a t ( T t ( a t ) , T t ( z t ) ) ;
2019-10-02 14:18:17 +03:00
/ * *
2019-09-11 12:58:57 +03:00
* @ copyright Copyright ( c ) 2019 Julius Härtl < jus @ bitgrid . net >
*
* @ author Julius Härtl < jus @ bitgrid . net >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
2020-01-16 02:03:29 +03:00
* / w i n d o w . O C A . W o r k f l o w E n g i n e = O b j e c t . a s s i g n ( { } , O C A . W o r k f l o w E n g i n e , { r e g i s t e r C h e c k : f u n c t i o n ( t ) { g . c o m m i t ( " a d d P l u g i n C h e c k " , t ) } , r e g i s t e r O p e r a t o r : f u n c t i o n ( t ) { g . c o m m i t ( " a d d P l u g i n O p e r a t o r " , t ) } } ) , O t . f o r E a c h ( ( f u n c t i o n ( t ) { r e t u r n w i n d o w . O C A . W o r k f l o w E n g i n e . r e g i s t e r C h e c k ( t ) } ) ) , o . d e f a u l t . u s e ( i . a ) , o . d e f a u l t . p r o t o t y p e . t = t , n e w ( o . d e f a u l t . e x t e n d ( U ) ) ( { s t o r e : g } ) . $ m o u n t ( " # w o r k f l o w e n g i n e " ) } ] ) ;
2019-05-09 19:39:40 +03:00
//# sourceMappingURL=workflowengine.js.map