2020-04-10 13:01:29 +03:00
! function ( e ) { var t = { } ; function n ( r ) { if ( t [ r ] ) return t [ r ] . exports ; var o = t [ r ] = { i : r , l : ! 1 , exports : { } } ; return e [ r ] . call ( o . exports , o , o . exports , n ) , o . l = ! 0 , o . exports } n . m = e , n . c = t , n . d = function ( e , t , r ) { n . o ( e , t ) || Object . defineProperty ( e , t , { enumerable : ! 0 , get : r } ) } , n . r = function ( e ) { "undefined" != typeof Symbol && Symbol . toStringTag && Object . defineProperty ( e , Symbol . toStringTag , { value : "Module" } ) , Object . defineProperty ( e , "__esModule" , { value : ! 0 } ) } , n . t = function ( e , t ) { if ( 1 & t && ( e = n ( e ) ) , 8 & t ) return e ; if ( 4 & t && "object" == typeof e && e && e . _ _esModule ) return e ; var r = Object . create ( null ) ; if ( n . r ( r ) , Object . defineProperty ( r , "default" , { enumerable : ! 0 , value : e } ) , 2 & t && "string" != typeof e ) for ( var o in e ) n . d ( r , o , function ( t ) { return e [ t ] } . bind ( null , o ) ) ; return r } , n . n = function ( e ) { var t = e && e . _ _esModule ? function ( ) { return e . default } : function ( ) { return e } ; return n . d ( t , "a" , t ) , t } , n . o = function ( e , t ) { return Object . prototype . hasOwnProperty . call ( e , t ) } , n . p = "/js/" , n ( n . s = 596 ) } ( [ function ( e , t , n ) { ( function ( e ) { e . exports = function ( ) { "use strict" ; var t , r ; function o ( ) { return t . apply ( null , arguments ) } function a ( e ) { return e instanceof Array || "[object Array]" === Object . prototype . toString . call ( e ) } function i ( e ) { return null != e && "[object Object]" === Object . prototype . toString . call ( e ) } function s ( e ) { return void 0 === e } function c ( e ) { return "number" == typeof e || "[object Number]" === Object . prototype . toString . call ( e ) } function l ( e ) { return e instanceof Date || "[object Date]" === Object . prototype . toString . call ( e ) } function u ( e , t ) { var n , r = [ ] ; for ( n = 0 ; n < e . length ; ++ n ) r . push ( t ( e [ n ] , n ) ) ; return r } function d ( e , t ) { return Object . prototype . hasOwnProperty . call ( e , t ) } function p ( e , t ) { for ( var n in t ) d ( t , n ) && ( e [ n ] = t [ n ] ) ; return d ( t , "toString" ) && ( e . toString = t . toString ) , d ( t , "valueOf" ) && ( e . valueOf = t . valueOf ) , e } function m ( e , t , n , r ) { return Tt ( e , t , n , r , ! 0 ) . utc ( ) } function f ( e ) { return null == e . _pf && ( e . _pf = { empty : ! 1 , unusedTokens : [ ] , unusedInput : [ ] , overflow : - 2 , charsLeftOver : 0 , nullInput : ! 1 , invalidMonth : null , invalidFormat : ! 1 , userInvalidated : ! 1 , iso : ! 1 , parsedDateParts : [ ] , meridiem : null , rfc2822 : ! 1 , weekdayMismatch : ! 1 } ) , e . _pf } function A ( e ) { if ( null == e . _isValid ) { var t = f ( e ) , n = r . call ( t . parsedDateParts , ( function ( e ) { return null != e } ) ) , o = ! isNaN ( e . _d . getTime ( ) ) && t . overflow < 0 && ! t . empty && ! t . invalidMonth && ! t . invalidWeekday && ! t . weekdayMismatch && ! t . nullInput && ! t . invalidFormat && ! t . userInvalidated && ( ! t . meridiem || t . meridiem && n ) ; if ( e . _strict && ( o = o && 0 === t . charsLeftOver && 0 === t . unusedTokens . length && void 0 === t . bigHour ) , null != Object . isFrozen && Object . isFrozen ( e ) ) return o ; e . _isValid = o } return e . _isValid } function M ( e ) { var t = m ( NaN ) ; return null != e ? p ( f ( t ) , e ) : f ( t ) . userInvalidated = ! 0 , t } r = Array . prototype . some ? Array . prototype . some : function ( e ) { for ( var t = Object ( this ) , n = t . length >>> 0 , r = 0 ; r < n ; r ++ ) if ( r in t && e . call ( this , t [ r ] , r , t ) ) return ! 0 ; return ! 1 } ; var h = o . momentProperties = [ ] ; function g ( e , t ) { var n , r , o ; if ( s ( t . _isAMomentObject ) || ( e . _isAMomentObject = t . _isAMomentObject ) , s ( t . _i ) || ( e . _i = t . _i ) , s ( t . _f ) || ( e . _f = t . _f ) , s ( t . _l ) || ( e . _l = t . _l ) , s ( t . _strict ) || ( e . _strict = t . _strict ) , s ( t . _tzm ) || ( e . _tzm = t . _tzm ) , s ( t . _isUTC ) || ( e . _isUTC = t . _isUTC ) , s ( t . _offset ) || ( e . _offset = t . _offset ) , s ( t . _pf ) || ( e . _pf = f ( t ) ) , s ( t . _locale ) || ( e . _locale = t . _locale ) , h . length > 0 ) for ( n = 0 ; n < h . length ; n ++ ) s ( o = t [ r = h [ n ] ] ) || ( e [ r ] = o ) ; return e } var _ = ! 1 ; function v ( e ) { g ( this , e ) , this . _d = new Date ( null != e . _d ? e . _d . getTime ( ) : NaN ) , this . isValid ( ) || ( this . _d = new Date ( NaN ) ) , ! 1 === _ && ( _ = ! 0 , o . updateOffset ( this ) , _ = ! 1 ) } function b ( e ) { return e instanceof v || null != e && null != e . _isAMomentObject } function y ( e ) { return e < 0 ? Math . ceil ( e ) || 0 : Math . floor ( e ) } function L ( e ) { var t = + e , n = 0 ; return 0 !== t && isFinite ( t ) && ( n = y ( t ) ) , n } function T ( e , t , n ) { var r , o = Math . min ( e . length , t . length ) , a = Math . abs ( e . length - t . length ) , i = 0 ; for ( r = 0 ; r < o ; r ++ ) ( n && e [ r ] !== t [ r ] || ! n && L ( e [ r ] ) !== L ( t [ r ] ) ) && i ++ ; return i + a } function w ( e ) { ! 1 === o . suppressDeprecationWarnings && "undefined" != typeof console && console . warn && console . warn ( "Deprecation warning: " + e ) } function z ( e , t ) { var n = ! 0 ; return p ( ( function ( ) { if ( null != o . deprecationHandler && o . deprecationHandler ( null , e ) , n ) { for ( var r , a = [ ] , i = 0 ; i < arguments . length ; i ++ ) { if ( r = "" , "object" == typeof arguments [ i ] ) { for ( var s in r += "\n[" + i + "] " , arguments [ 0 ] ) r += s + ": " + arguments [ 0 ] [ s ] + ", " ; r = r . slice ( 0 , - 2 ) } else r = arguments [
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-04-10 13:01:29 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "e1f55ce" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , t . default = r . VTooltip } , function ( e , t ) { e . exports = n ( 213 ) } , function ( e , t ) { e . exports = n ( 214 ) } , , , function ( e , t ) { e . exports = n ( 63 ) } , function ( e , t ) { e . exports = n ( 82 ) } , function ( e , t ) { e . exports = n ( 131 ) } , function ( e , t ) { e . exports = n ( 83 ) } , function ( e , t ) { e . exports = n ( 216 ) } , function ( e , t ) { e . exports = n ( 136 ) } , function ( e , t ) { e . exports = n ( 220 ) } , function ( e , t ) { e . exports = n ( 79 ) } , , function ( e , t ) { e . exports = n ( 217 ) } , , , function ( e , t ) { e . exports = n ( 137 ) } , , function ( e , t , n ) { "use strict" ; var r = n ( 6 ) ; t . a = { methods : { n : r . a , t : r . b } } } , function ( e , t ) { e . exports = n ( 476 ) } , function ( e , t , n ) { var r = n ( 73 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "1f2ec49f" , r , ! 0 , { } ) } , function ( e , t , n ) { var r = n ( 75 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "9c561116" , r , ! 0 , { } ) } , function ( e , t , n ) { var r = n ( 77 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "93093140" , r , ! 0 , { } ) } , , , function ( e , t , n ) { var r = n ( 87 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "2e9b7708" , r , ! 0 , { } ) } , function ( e , t , n ) { var r = n ( 41 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "941c791e" , r , ! 0 , { } ) } , function ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . push ( [ e . i , ".vue-tooltip[data-v-e1f55ce]{position:absolute;z-index:100000;right:auto;left:auto;display:block;margin:0;margin-top:-3px;padding:10px 0;text-align:left;text-align:start;white-space:normal;text-decoration:none;letter-spacing:normal;word-spacing:normal;text-transform:none;word-wrap:normal;word-break:normal;opacity:0;text-shadow:none;font-family:'Nunito', 'Open Sans', Frutiger, Calibri, 'Myriad Pro', Myriad, sans-serif;font-size:12px;font-weight:normal;font-style:normal;line-height:1.6;line-break:auto;filter:drop-shadow(0 1px 10px var(--color-box-shadow))}.vue-tooltip[data-v-e1f55ce][x-placement^='top'] .tooltip-arrow{bottom:0;margin-top:0;margin-bottom:0;border-width:10px 10px 0 10px;border-right-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e1f55ce][x-placement^='bottom'] .tooltip-arrow{top:0;margin-top:0;margin-bottom:0;border-width:0 10px 10px 10px;border-top-color:transparent;border-right-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e1f55ce][x-placement^='right'] .tooltip-arrow{right:100%;margin-right:0;margin-left:0;border-width:10px 10px 10px 0;border-top-color:transparent;border-bottom-color:transparent;border-left-color:transparent}.vue-tooltip[data-v-e1f55ce][x-placement^='left'] .tooltip-arrow{left:100%;margin-right:0;margin-left:0;border-width:10px 0 10px 10px;border-top-color:transparent;border-right-color:transparent;border-bottom-color:transparent}.vue-tooltip[data-v-e1f55ce][aria-hidden='true']{visibility:hidden;transition:opacity .15s, visibility .15s;opacity:0}.vue-tooltip[data-v-e1f55ce][aria-hidden='false']{visibility:visible;transition:opacity .15s;opacity:1}.vue-tooltip[data-v-e1f55ce] .tooltip-inner{max-width:350px;padding:5px 8px;text-align:center;color:var(--color-main-text);border-radius:var(--border-radius);background-color:var(--color-main-background)}.vue-tooltip[data-v-e1f55ce] .tooltip-arrow{position:absolute;z-index:1;width:0;height:0;margin:0;border-style:solid;border-color:var(--color-main-background)}\n" , "" ] ) , e . exports = t } , function ( e , t ) { } , , function ( e , t , 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-04-10 13:01:29 +03:00
* / t . a = f u n c t i o n ( e ) { e . m o u n t e d ? A r r a y . i s A r r a y ( e . m o u n t e d ) | | ( e . m o u n t e d = [ e . m o u n t e d ] ) : e . m o u n t e d = [ ] , e . 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 ( " e 1 f 5 5 c e " ) , " " ) } ) ) } } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 4 7 7 ) } , , , , f u n c t i o n ( e , t , 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-04-10 13:01:29 +03:00
function r ( e , t , n ) { this . r = e , this . g = t , this . b = n } function o ( e , t , n ) { var o = [ ] ; o . push ( t ) ; for ( var a = function ( e , t ) { var n = new Array ( 3 ) ; return n [ 0 ] = ( t [ 1 ] . r - t [ 0 ] . r ) / e , n [ 1 ] = ( t [ 1 ] . g - t [ 0 ] . g ) / e , n [ 2 ] = ( t [ 1 ] . b - t [ 0 ] . b ) / e , n } ( e , [ t , n ] ) , i = 1 ; i < e ; i ++ ) { var s = parseInt ( t . r + a [ 0 ] * i , 10 ) , c = parseInt ( t . g + a [ 1 ] * i , 10 ) , l = parseInt ( t . b + a [ 2 ] * i , 10 ) ; o . push ( new r ( s , c , l ) ) } return o } n ( 25 ) , t . a = function ( e ) { e || ( e = 6 ) ; var t = new r ( 182 , 70 , 157 ) , n = new r ( 221 , 203 , 85 ) , a = new r ( 0 , 130 , 201 ) , i = o ( e , t , n ) , s = o ( e , n , a ) , c = o ( e , a , t ) ; return i . concat ( s ) . concat ( c ) } } , function ( e , t ) { } , function ( e , t , n ) { "use strict" ; n . r ( t ) , n ( 15 ) , n ( 18 ) , n ( 4 ) , n ( 23 ) , n ( 19 ) , n ( 20 ) , n ( 24 ) ; var r = { name : "PopoverMenuItem" , props : { item : { type : Object , required : ! 0 , default : function ( ) { return { key : "nextcloud-link" , href : "https://nextcloud.com" , icon : "icon-links" , text : "Nextcloud" } } , validator : function ( e ) { return ! e . input || - 1 !== [ "text" , "checkbox" ] . indexOf ( e . input ) } } } , computed : { key : function ( ) { return this . item . key ? this . item . key : Math . round ( 16 * Math . random ( ) * 1e6 ) . toString ( 16 ) } , iconIsUrl : function ( ) { try { return new URL ( this . item . icon ) , ! 0 } catch ( e ) { return ! 1 } } } , methods : { action : function ( e ) { this . item . action && this . item . action ( e ) } } } , o = ( n ( 72 ) , n ( 74 ) , n ( 0 ) ) , a = { name : "PopoverMenu" , components : { PopoverMenuItem : Object ( o . a ) ( r , ( function ( ) { var e = this , t = e . $createElement , n = e . _self . _c || t ; return n ( "li" , [ e . item . href ? n ( "a" , { staticClass : "focusable" , attrs : { href : e . item . href ? e . item . href : "#" , target : e . item . target ? e . item . target : "" , download : e . item . download , rel : "noreferrer noopener" } , on : { click : e . action } } , [ e . iconIsUrl ? n ( "img" , { attrs : { src : e . item . icon } } ) : n ( "span" , { class : e . item . icon } ) , e . _v ( " " ) , e . item . text && e . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ e . _v ( "\n\t\t\t\t" + e . _s ( e . item . text ) + "\n\t\t\t" ) ] ) , n ( "br" ) , e . _v ( " " ) , n ( "span" , { staticClass : "menuitem-text-detail" } , [ e . _v ( "\n\t\t\t\t" + e . _s ( e . item . longtext ) + "\n\t\t\t" ) ] ) ] ) : e . item . text ? n ( "span" , [ e . _v ( "\n\t\t\t" + e . _s ( e . item . text ) + "\n\t\t" ) ] ) : e . item . longtext ? n ( "p" , [ e . _v ( "\n\t\t\t" + e . _s ( e . item . longtext ) + "\n\t\t" ) ] ) : e . _e ( ) ] ) : e . item . input ? n ( "span" , { staticClass : "menuitem" , class : { active : e . item . active } } , [ "checkbox" !== e . item . input ? n ( "span" , { class : e . item . icon } ) : e . _e ( ) , e . _v ( " " ) , "text" === e . item . input ? n ( "form" , { class : e . item . input , on : { submit : function ( t ) { return t . preventDefault ( ) , e . item . action ( t ) } } } , [ n ( "input" , { attrs : { type : e . item . input , placeholder : e . item . text , required : "" } , domProps : { value : e . item . value } } ) , e . _v ( " " ) , n ( "input" , { staticClass : "icon-confirm" , attrs : { type : "submit" , value : "" } } ) ] ) : [ "checkbox" === e . item . input ? n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : e . item . model , expression : "item.model" } ] , class : e . item . input , attrs : { id : e . key , type : "checkbox" } , domProps : { checked : Array . isArray ( e . item . model ) ? e . _i ( e . item . model , null ) > - 1 : e . item . model } , on : { change : [ function ( t ) { var n = e . item . model , r = t . target , o = ! ! r . checked ; if ( Array . isArray ( n ) ) { var a = e . _i ( n , null ) ; r . checked ? a < 0 && e . $set ( e . item , "model" , n . concat ( [ null ] ) ) : a > - 1 && e . $set ( e . item , "model" , n . slice ( 0 , a ) . concat ( n . slice ( a + 1 ) ) ) } else e . $set ( e . item , "model" , o ) } , e . item . action ] } } ) : "radio" === e . item . input ? n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : e . item . model , expression : "item.model" } ] , class : e . item . input , attrs : { id : e . key , type : "radio" } , domProps : { checked : e . _q ( e . item . model , null ) } , on : { change : [ function ( t ) { return e . $set ( e . item , "model" , null ) } , e . item . action ] } } ) : n ( "input" , { directives : [ { name : "model" , rawName : "v-model" , value : e . item . model , expression : "item.model" } ] , class : e . item . input , attrs : { id : e . key , type : e . item . input } , domProps : { value : e . item . model } , on : { change : e . item . action , input : function ( t ) { t . target . composing || e . $set ( e . item , "model" , t . target . value ) } } } ) , e . _v ( " " ) , n ( "label" , { attrs : { for : e . key } , on : { click : function ( t ) { return t . stopPropagation ( ) , t . preventDefault ( ) , e . item . action ( t ) } } } , [ e . _v ( "\n\t\t\t\t" + e . _s ( e . item . text ) + "\n\t\t\t" ) ] ) ] ] , 2 ) : e . item . action ? n ( "button" , { staticClass : "menuitem focusable" , class : { active : e . item . active } , attrs : { disabled : e . item . disabled } , on : { click : function ( t ) { return t . stopPropagation ( ) , t . preventDefault ( ) , e . item . action ( t ) } } } , [ n ( "span" , { class : e . item . icon } ) , e . _v ( " " ) , e . item . text && e . item . longtext ? n ( "p" , [ n ( "strong" , { staticClass : "menuitem-text" } , [ e . _v ( "\n\t\t\t\t" + e . _s ( e . item . text ) + "\n\t\t\t" ) ] ) , n ( " br
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-04-10 13:01:29 +03:00
* /t.default=l},function(e,t){e.exports=n(25)},function(e,t,n){"use strict";n.r(t),n(25),n(71),n(22),n(33),n(4),n(68),n(69);var r=n(14),o=n(51),a=n(52),i=n.n(a),s=n(13),c=(n(21),n(85),n(30),n(63)),l=n.n(c),u=n(49);function d(e,t,n,r,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void n(e)}s.done?t(c):Promise.resolve(c).then(r,o)}function p(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var a=e.apply(t,n);function i(e){d(a,r,o,i,s,"next",e)}function s(e){d(a,r,o,i,s,"throw",e)}i(void 0)}))}}var m={name:"Avatar",directives:{tooltip:s.default,ClickOutside:r.directive},components:{PopoverMenu:o.default},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(e){switch(e){case"positive":case"negative":case"neutral":return!0}return!1}},statusColor:{type:[Number,String],default:null,validator:function(e){return/ ^ ( [ a - f0 - 9 ] { 3 } ) { 1 , 2 } $ / i . test ( e ) } } , menuPosition : { type : String , default : "center" } } , 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 e = { width : this . size + "px" , height : this . size + "px" , lineHeight : this . size + "px" , fontSize : Math . round ( . 55 * this . size ) + "px" } ; if ( ! this . iconClass && ! this . avatarSrcSetLoaded ) { var t = function ( e ) { var t = e . toLowerCase ( ) ; return null === t . match ( /^([0-9a-f]{4}-?){8}$/ ) && ( t = l ( ) ( t ) ) , t = t . replace ( /[^0-9a-f]/g , "" ) , Object ( u . a ) ( 6 ) [ function ( e , t ) { for ( var n = 0 , r = [ ] , o = 0 ; o < e . length ; o ++ ) r . push ( parseInt ( e . charAt ( o ) , 16 ) % 16 ) ; for ( var a in r ) n += r [ a ] ; return parseInt ( parseInt ( n , 10 ) % 18 , 10 ) } ( t ) ] } ( this . getUserIdentifier ) ; e . backgroundColor = "rgb(" + t . r + ", " + t . g + ", " + t . b + ")" } return e } , tooltip : function ( ) { return ! this . disableTooltip && ( this . tooltipMessage ? this . tooltipMessage : this . displayName ) } , initials : function ( ) { return this . shouldShowPlaceholder ? this . getUserIdentifier . charAt ( 0 ) . toUpperCase ( ) : "?" } , menu : function ( ) { return this . contactsMenuActions . map ( ( function ( e ) { return { href : e . hyperlink , icon : e . icon , text : e . title } } ) ) } } , watch : { url : function ( ) { this . userDoesNotExist = ! 1 , this . loadAvatarUrl ( ) } , user : function ( ) { this . userDoesNotExist = ! 1 , this . isMenuLoaded = ! 1 , this . loadAvatarUrl ( ) } } , mounted : function ( ) { this . loadAvatarUrl ( ) } , methods : { toggleMenu : function ( ) { var e = this ; return p ( regeneratorRuntime . mark ( ( function t ( ) { return regeneratorRuntime . wrap ( ( function ( t ) { for ( ; ; ) switch ( t . prev = t . next ) { case 0 : if ( e . hasMenu ) { t . next = 2 ; break } return t . abrupt ( "return" ) ; case 2 : if ( e . contactsMenuOpenState ) { t . next = 5 ; break } return t . next = 5 , e . fetchContactsMenu ( ) ; case 5 : e . contactsMenuOpenState = ! e . contactsMenuOpenState ; case 6 : case "end" : return t . stop ( ) } } ) , t ) } ) ) ) ( ) } , closeMenu : function ( ) { this . contactsMenuOpenState = ! 1 } , fetchContactsMenu : function ( ) { var e = this ; return p ( regeneratorRuntime . mark ( ( function t ( ) { var n , r , o ; return regeneratorRuntime . wrap ( ( function ( t ) { for ( ; ; ) switch ( t . prev = t . next ) { case 0 : return t . prev = 0 , n = encodeURIComponent ( e . user ) , t . next = 4 , i . a . post ( OC . generateUrl ( "contactsmenu/findOne" ) , "shareType=0&shareWith=" . concat ( n ) ) ; case 4 : r = t . sent , o = r . data , e . contactsMenuActions = o . topAction ? [ o . topAction ] . concat ( o . actions ) : o . actions , t . next = 12 ; break ; case 9 : t . prev = 9 , t . t0 = t . catch ( 0 ) , e . contactsMenuOpenState = !
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-04-10 13:01:29 +03:00
* / t . d e f a u l t = g } , , , , , , , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 5 9 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 1 f 1 3 0 2 d 4 " , r , ! 0 , { } ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 6 1 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 2 e f b 1 6 e d " , r , ! 0 , { } ) } , , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 4 7 8 ) } , , , , , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 4 8 1 ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 4 8 8 ) } , , f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 4 8 9 ) } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = n ( 3 4 ) ; n . n ( r ) . a } , f u n c t i o n ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . p u s h ( [ e . i , " \ n b u t t o n . m e n u i t e m [ d a t a - v - 7 5 a b 8 8 6 e ] { \ n \ t t e x t - a l i g n : l e f t ; \ n } \ n b u t t o n . m e n u i t e m * [ d a t a - v - 7 5 a b 8 8 6 e ] { \ n \ t c u r s o r : p o i n t e r ; \ n } \ n b u t t o n . m e n u i t e m [ d a t a - v - 7 5 a b 8 8 6 e ] : d i s a b l e d { \ n \ t o p a c i t y : 0 . 5 ! i m p o r t a n t ; \ n \ t c u r s o r : d e f a u l t ; \ n } \ n b u t t o n . m e n u i t e m : d i s a b l e d * [ d a t a - v - 7 5 a b 8 8 6 e ] { \ n \ t c u r s o r : d e f a u l t ; \ n } \ n . m e n u i t e m . a c t i v e [ d a t a - v - 7 5 a b 8 8 6 e ] { \ n \ t b o x - s h a d o w : i n s e t 2 p x 0 v a r ( - - c o l o r - p r i m a r y ) ; \ n \ t b o r d e r - r a d i u s : 0 ; \ n } \ n " , " " ] ) , e . e x p o r t s = t } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = n ( 3 5 ) ; n . n ( r ) . a } , f u n c t i o n ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . p u s h ( [ e . i , " l i [ d a t a - v - 7 5 a b 8 8 6 e ] { d i s p l a y : f l e x ; f l e x : 0 0 a u t o } l i . h i d d e n [ d a t a - v - 7 5 a b 8 8 6 e ] { d i s p l a y : n o n e } l i > b u t t o n [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > . m e n u i t e m [ d a t a - v - 7 5 a b 8 8 6 e ] { c u r s o r : p o i n t e r ; l i n e - h e i g h t : 4 4 p x ; b o r d e r : 0 ; b o r d e r - r a d i u s : 0 ; b a c k g r o u n d - c o l o r : t r a n s p a r e n t ; d i s p l a y : f l e x ; a l i g n - i t e m s : f l e x - s t a r t ; h e i g h t : a u t o ; m a r g i n : 0 ; p a d d i n g : 0 ; f o n t - w e i g h t : n o r m a l ; b o x - s h a d o w : n o n e ; w i d t h : 1 0 0 % ; c o l o r : v a r ( - - c o l o r - m a i n - t e x t ) ; w h i t e - s p a c e : n o w r a p ; o p a c i t y : . 7 } l i > b u t t o n s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > b u t t o n s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > b u t t o n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > b u t t o n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > . m e n u i t e m s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > . m e n u i t e m s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > . m e n u i t e m [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > . m e n u i t e m [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] { m i n - w i d t h : 0 ; m i n - h e i g h t : 0 ; b a c k g r o u n d - p o s i t i o n : 1 4 p x c e n t e r ; b a c k g r o u n d - s i z e : 1 6 p x } l i > b u t t o n s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > b u t t o n s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > . m e n u i t e m s p a n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > . m e n u i t e m s p a n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] { p a d d i n g : 2 2 p x 0 2 2 p x 4 4 p x } l i > b u t t o n : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > s p a n [ d a t a - v - 7 5 a b 8 8 6 e ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > b u t t o n : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > i n p u t [ d a t a - v - 7 5 a b 8 8 6 e ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > b u t t o n : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > f o r m [ d a t a - v - 7 5 a b 8 8 6 e ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > a : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > s p a n [ d a t a - v - 7 5 a b 8 8 6 e ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > a : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > i n p u t [ d a t a - v - 7 5 a b 8 8 6 e ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > a : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > f o r m [ d a t a - v - 7 5 a b 8 8 6 e ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > . m e n u i t e m : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > s p a n [ d a t a - v - 7 5 a b 8 8 6 e ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > . m e n u i t e m : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > i n p u t [ d a t a - v - 7 5 a b 8 8 6 e ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d , l i > . m e n u i t e m : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) > f o r m [ d a t a - v - 7 5 a b 8 8 6 e ] : n o t ( [ c l a s s ^ = ' i c o n - ' ] ) : n o t ( [ c l a s s * = ' i c o n - ' ] ) : f i r s t - c h i l d { m a r g i n - l e f t : 4 4 p x } l i > b u t t o n [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > b u t t o n [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > . m e n u i t e m [ c l a s s ^ = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > . m e n u i t e m [ c l a s s * = ' i c o n - ' ] [ d a t a - v - 7 5 a b 8 8 6 e ] { p a d d i n g : 0 1 4 p x 0 4 4 p x } l i > b u t t o n [ d a t a - v - 7 5 a b 8 8 6 e ] : n o t ( : d i s a b l e d ) : h o v e r , l i > b u t t o n [ d a t a - v - 7 5 a b 8 8 6 e ] : n o t ( : d i s a b l e d ) : f o c u s , l i > b u t t o n : n o t ( : d i s a b l e d ) . a c t i v e [ d a t a - v - 7 5 a b 8 8 6 e ] , l i > a [ d a t a - v - 7 5 a b 8 8 6 e ] : n o t ( : d i s a b l e d ) : h o v e r , l i > a [ d a t a - v - 7 5 a b 8 8 6 e ] : n o t ( : d i s a b l e d ) : f o c u
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-04-10 13:01:29 +03:00
Object ( r . a ) ( T ) , t . default = T } , , , , , , , function ( e , t ) { e . exports = n ( 493 ) } , function ( e , t ) { e . exports = n ( 494 ) } , function ( e , t ) { e . exports = n ( 495 ) } , , function ( e , t ) { e . exports = n ( 497 ) } , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , function ( e , t ) { e . exports = n ( 498 ) } , function ( e , t ) { e . exports = n ( 499 ) } , function ( e , t , n ) { "use strict" ; var r = n ( 60 ) ; n . n ( r ) . a } , function ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . push ( [ e . i , ".option[data-v-808e3c40]{display:flex;align-items:center;width:100%;height:32px}.option__avatar[data-v-808e3c40]{flex:0 0 32px;width:32px;height:32px;margin-right:6px}.option__desc[data-v-808e3c40]{display:flex;flex:1 1;flex-direction:column;justify-content:center;min-width:0}.option__desc--lineone[data-v-808e3c40]{color:var(--color-text-light)}.option__desc--linetwo[data-v-808e3c40]{opacity:.7}.option__desc--lineone[data-v-808e3c40],.option__desc--linetwo[data-v-808e3c40]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.option__desc--lineone strong[data-v-808e3c40],.option__desc--linetwo strong[data-v-808e3c40]{font-weight:bold}.option__icon[data-v-808e3c40]{flex:0 0 44px;width:44px;height:44px;margin:-6px;opacity:.5;background-position:center;background-size:16px}\n" , "" ] ) , e . exports = t } , function ( e , t , n ) { "use strict" ; var r = n ( 61 ) ; n . n ( r ) . a } , function ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . push ( [ e . i , ".name-parts[data-v-2d5d34b0]{display:flex;max-width:100%}.name-parts__first[data-v-2d5d34b0]{overflow:hidden;text-overflow:ellipsis}.name-parts__first[data-v-2d5d34b0],.name-parts__last[data-v-2d5d34b0]{white-space:pre}.name-parts__first strong[data-v-2d5d34b0],.name-parts__last strong[data-v-2d5d34b0]{font-weight:bold}\n" , "" ] ) , e . exports = t } , function ( e , t , n ) { var r = n ( 163 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "b5985a26" , r , ! 0 , { } ) } , function ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . push ( [ e . i , " . multiselect [ data - v - e1f55ce ] { margin : 0 ; padding : 0 ! important ; display : inline - block ; min - width : 160 px ; position : relative ; background - color : var ( -- color - main - background ) } . multiselect [ data - v - e1f55ce ] : not ( . multiselect -- active ) . multiselect _ _single { position : absolute ; width : 100 % } . multiselect [ data - v - e1f55ce ] . multiselect -- active input . multiselect _ _input { opacity : 1 ! important ; cursor : text ! important ; border - radius : var ( -- border - radius ) var ( -- border - radius ) 0 0 } . multiselect [ data - v - e1f55ce ] . multiselect -- active . multiselect _ _limit { display : none } . multiselect [ data - v - e1f55ce ] . multiselect -- active . multiselect -- above input . multiselect _ _input { border - radius : 0 0 var ( -- border - radius ) var ( -- border - radius ) } . multiselect [ data - v - e1f55ce ] . multiselect -- disabled , . multiselect [ data - v - e1f55ce ] . multiselect -- disabled . multiselect _ _single { background - color : var ( -- color - background - dark ) ! important } . multiselect [ data - v - e1f55ce ] . icon - loading - small : : after { left : 100 % ; margin - left : - 24 px } . multiselect [ data - v - e1f55ce ] . 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 - e1f55ce ] . 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 - e1f55ce ] . multiselect _ _tags . multiselect _ _tags - wrap : empty ~ input . multiselect _ _input { opacity : 1 ! important } . multiselect [ data - v - e1f55ce ] . multiselect _ _tags . multiselect _ _tags - wrap : empty ~ input . multiselect _ _input + span : not ( . multiselect _ _single ) { display : none } . multiselect [ data - v - e1f55ce ] . 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 - e1f55ce ] . multiselect _ _tags . multiselect _ _tags - wrap . multiselect _ _tag : only - child { flex : 0 1 auto } . multiselect [ data - v - e1f55ce ] . multiselect _ _tags . multiselect _ _tags - wrap . multiselect _ _tag : not ( : last - child ) { margin - right : 5 px } . multiselect [ data - v - e1f55ce ] . multiselect _ _tags . multiselect _ _tags - wrap . multiselect _ _tag > span { white - space : nowrap ; text - overflow : e
2020-01-16 02:03:29 +03:00
/ * !
* Vue . js v2 . 6.11
* ( c ) 2014 - 2019 Evan You
* Released under the MIT License .
* /
2020-04-10 13:01:29 +03:00
var r = Object . freeze ( { } ) ; function o ( e ) { return null == e } function a ( e ) { return null != e } function i ( e ) { return ! 0 === e } function s ( e ) { return "string" == typeof e || "number" == typeof e || "symbol" == typeof e || "boolean" == typeof e } function c ( e ) { return null !== e && "object" == typeof e } var l = Object . prototype . toString ; function u ( e ) { return "[object Object]" === l . call ( e ) } function d ( e ) { return "[object RegExp]" === l . call ( e ) } function p ( e ) { var t = parseFloat ( String ( e ) ) ; return t >= 0 && Math . floor ( t ) === t && isFinite ( e ) } function m ( e ) { return a ( e ) && "function" == typeof e . then && "function" == typeof e . catch } function f ( e ) { return null == e ? "" : Array . isArray ( e ) || u ( e ) && e . toString === l ? JSON . stringify ( e , null , 2 ) : String ( e ) } function A ( e ) { var t = parseFloat ( e ) ; return isNaN ( t ) ? e : t } function M ( e , t ) { for ( var n = Object . create ( null ) , r = e . split ( "," ) , o = 0 ; o < r . length ; o ++ ) n [ r [ o ] ] = ! 0 ; return t ? function ( e ) { return n [ e . toLowerCase ( ) ] } : function ( e ) { return n [ e ] } } M ( "slot,component" , ! 0 ) ; var h = M ( "key,ref,slot,slot-scope,is" ) ; function g ( e , t ) { if ( e . length ) { var n = e . indexOf ( t ) ; if ( n > - 1 ) return e . splice ( n , 1 ) } } var _ = Object . prototype . hasOwnProperty ; function v ( e , t ) { return _ . call ( e , t ) } function b ( e ) { var t = Object . create ( null ) ; return function ( n ) { return t [ n ] || ( t [ n ] = e ( n ) ) } } var y = /-(\w)/g , L = b ( ( function ( e ) { return e . replace ( y , ( function ( e , t ) { return t ? t . toUpperCase ( ) : "" } ) ) } ) ) , T = b ( ( function ( e ) { return e . charAt ( 0 ) . toUpperCase ( ) + e . slice ( 1 ) } ) ) , w = /\B([A-Z])/g , z = b ( ( function ( e ) { return e . replace ( w , "-$1" ) . toLowerCase ( ) } ) ) ; var O = Function . prototype . bind ? function ( e , t ) { return e . bind ( t ) } : function ( e , t ) { function n ( n ) { var r = arguments . length ; return r ? r > 1 ? e . apply ( t , arguments ) : e . call ( t , n ) : e . call ( t ) } return n . _length = e . length , n } ; function x ( e , t ) { t = t || 0 ; for ( var n = e . length - t , r = new Array ( n ) ; n -- ; ) r [ n ] = e [ n + t ] ; return r } function k ( e , t ) { for ( var n in t ) e [ n ] = t [ n ] ; return e } function S ( e ) { for ( var t = { } , n = 0 ; n < e . length ; n ++ ) e [ n ] && k ( t , e [ n ] ) ; return t } function N ( e , t , n ) { } var E = function ( e , t , n ) { return ! 1 } , D = function ( e ) { return e } ; function Y ( e , t ) { if ( e === t ) return ! 0 ; var n = c ( e ) , r = c ( t ) ; if ( ! n || ! r ) return ! n && ! r && String ( e ) === String ( t ) ; try { var o = Array . isArray ( e ) , a = Array . isArray ( t ) ; if ( o && a ) return e . length === t . length && e . every ( ( function ( e , n ) { return Y ( e , t [ n ] ) } ) ) ; if ( e instanceof Date && t instanceof Date ) return e . getTime ( ) === t . getTime ( ) ; if ( o || a ) return ! 1 ; var i = Object . keys ( e ) , s = Object . keys ( t ) ; return i . length === s . length && i . every ( ( function ( n ) { return Y ( e [ n ] , t [ n ] ) } ) ) } catch ( e ) { return ! 1 } } function C ( e , t ) { for ( var n = 0 ; n < e . length ; n ++ ) if ( Y ( e [ n ] , t ) ) return n ; return - 1 } function B ( e ) { var t = ! 1 ; return function ( ) { t || ( t = ! 0 , e . apply ( this , arguments ) ) } } var W = [ "component" , "directive" , "filter" ] , j = [ "beforeCreate" , "created" , "beforeMount" , "mounted" , "beforeUpdate" , "updated" , "beforeDestroy" , "destroyed" , "activated" , "deactivated" , "errorCaptured" , "serverPrefetch" ] , P = { 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 : N , parsePlatformTagName : D , mustUseProp : E , async : ! 0 , _lifecycleHooks : j } , q = /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 I ( e , t , n , r ) { Object . defineProperty ( e , t , { value : n , enumerable : ! ! r , writable : ! 0 , configurable : ! 0 } ) } var R = new RegExp ( "[^" + q . source + ".$_\\d]" ) ; var X , H = "__proto__" in { } , F = "undefined" != typeof window , U = "undefined" != typeof WXEnvironment && ! ! WXEnvironment . platform , G = U && WXEnvironment . platform . toLowerCase ( ) , Q = F && window . navigator . userAgent . toLowerCase ( ) , V = Q && /msie|trident/ . test ( Q ) , J = Q && Q . indexOf ( "msie 9.0" ) > 0 , $ = Q && Q . indexOf ( "edge/" ) > 0 , K = ( Q && Q . indexOf ( "android" ) , Q && /iphone|ipad|ipod|ios/ . test ( Q ) || "ios" === G ) , Z = ( Q && /chrome\/\d+/ . test ( Q ) , Q && /phantomjs/ . test ( Q ) , Q && Q . match ( /firefox\/(\d+)/ ) ) , ee = { } . watch , te = ! 1 ; if ( F ) try { var ne = { } ; Object . defineProperty ( ne , "passive" , { get : function ( ) { te = ! 0 } } ) , window . addEventListener ( "test-passive" , null , ne ) } catch ( e ) { } var re = function ( ) { return void 0 === X && ( X = ! F && ! U && void 0 !== e && ( e . process && "server" === e . process . env . VUE _ENV ) ) , X } , oe = F && window . _ _VUE _DEVTOOLS _GLOBAL _HOOK _ _ ; function ae ( e ) { return "function" == t
2019-09-11 12:58:57 +03:00
/ * *
2020-03-15 05:18:05 +03:00
* vuex v3 . 1.3
* ( c ) 2020 Evan You
2020-01-16 02:03:29 +03:00
* @ license MIT
* /
2020-04-10 13:01:29 +03:00
function ( e ) { if ( Number ( e . version . split ( "." ) [ 0 ] ) >= 2 ) e . mixin ( { beforeCreate : n } ) ; else { var t = e . prototype . _init ; e . prototype . _init = function ( e ) { void 0 === e && ( e = { } ) , e . init = e . init ? [ n ] . concat ( e . init ) : n , t . call ( this , e ) } } function n ( ) { var e = this . $options ; e . store ? this . $store = "function" == typeof e . store ? e . store ( ) : e . store : e . parent && e . parent . $store && ( this . $store = e . parent . $store ) } } ( l = e ) } d . state . get = function ( ) { return this . _vm . _data . $$state } , d . state . set = function ( e ) { 0 } , u . prototype . commit = function ( e , t , n ) { var r = this , o = h ( e , t , n ) , a = o . type , i = o . payload , s = ( o . options , { type : a , payload : i } ) , c = this . _mutations [ a ] ; c && ( this . _withCommit ( ( function ( ) { c . forEach ( ( function ( e ) { e ( i ) } ) ) } ) ) , this . _subscribers . slice ( ) . forEach ( ( function ( e ) { return e ( s , r . state ) } ) ) ) } , u . prototype . dispatch = function ( e , t ) { var n = this , r = h ( e , t ) , o = r . type , a = r . payload , i = { type : o , payload : a } , s = this . _actions [ o ] ; if ( s ) { try { this . _actionSubscribers . slice ( ) . filter ( ( function ( e ) { return e . before } ) ) . forEach ( ( function ( e ) { return e . before ( i , n . state ) } ) ) } catch ( e ) { 0 } return ( s . length > 1 ? Promise . all ( s . map ( ( function ( e ) { return e ( a ) } ) ) ) : s [ 0 ] ( a ) ) . then ( ( function ( e ) { try { n . _actionSubscribers . filter ( ( function ( e ) { return e . after } ) ) . forEach ( ( function ( e ) { return e . after ( i , n . state ) } ) ) } catch ( e ) { 0 } return e } ) ) } } , u . prototype . subscribe = function ( e ) { return p ( e , this . _subscribers ) } , u . prototype . subscribeAction = function ( e ) { return p ( "function" == typeof e ? { before : e } : e , this . _actionSubscribers ) } , u . prototype . watch = function ( e , t , n ) { var r = this ; return this . _watcherVM . $watch ( ( function ( ) { return e ( r . state , r . getters ) } ) , t , n ) } , u . prototype . replaceState = function ( e ) { var t = this ; this . _withCommit ( ( function ( ) { t . _vm . _data . $$state = e } ) ) } , u . prototype . registerModule = function ( e , t , n ) { void 0 === n && ( n = { } ) , "string" == typeof e && ( e = [ e ] ) , this . _modules . register ( e , t ) , A ( this , this . state , e , this . _modules . get ( e ) , n . preserveState ) , f ( this , this . state ) } , u . prototype . unregisterModule = function ( e ) { var t = this ; "string" == typeof e && ( e = [ e ] ) , this . _modules . unregister ( e ) , this . _withCommit ( ( function ( ) { var n = M ( t . state , e . slice ( 0 , - 1 ) ) ; l . delete ( n , e [ e . length - 1 ] ) } ) ) , m ( this ) } , u . prototype . hotUpdate = function ( e ) { this . _modules . update ( e ) , m ( this , ! 0 ) } , u . prototype . _withCommit = function ( e ) { var t = this . _committing ; this . _committing = ! 0 , e ( ) , this . _committing = t } , Object . defineProperties ( u . prototype , d ) ; var _ = T ( ( function ( e , t ) { var n = { } ; return L ( t ) . forEach ( ( function ( t ) { var r = t . key , o = t . val ; n [ r ] = function ( ) { var t = this . $store . state , n = this . $store . getters ; if ( e ) { var r = w ( this . $store , "mapState" , e ) ; if ( ! r ) return ; t = r . context . state , n = r . context . getters } return "function" == typeof o ? o . call ( this , t , n ) : t [ o ] } , n [ r ] . vuex = ! 0 } ) ) , n } ) ) , v = T ( ( function ( e , t ) { var n = { } ; return L ( t ) . forEach ( ( function ( t ) { var r = t . key , o = t . val ; n [ r ] = function ( ) { for ( var t = [ ] , n = arguments . length ; n -- ; ) t [ n ] = arguments [ n ] ; var r = this . $store . commit ; if ( e ) { var a = w ( this . $store , "mapMutations" , e ) ; if ( ! a ) return ; r = a . context . commit } return "function" == typeof o ? o . apply ( this , [ r ] . concat ( t ) ) : r . apply ( this . $store , [ o ] . concat ( t ) ) } } ) ) , n } ) ) , b = T ( ( function ( e , t ) { var n = { } ; return L ( t ) . forEach ( ( function ( t ) { var r = t . key , o = t . val ; o = e + o , n [ r ] = function ( ) { if ( ! e || w ( this . $store , "mapGetters" , e ) ) return this . $store . getters [ o ] } , n [ r ] . vuex = ! 0 } ) ) , n } ) ) , y = T ( ( function ( e , t ) { var n = { } ; return L ( t ) . forEach ( ( function ( t ) { var r = t . key , o = t . val ; n [ r ] = function ( ) { for ( var t = [ ] , n = arguments . length ; n -- ; ) t [ n ] = arguments [ n ] ; var r = this . $store . dispatch ; if ( e ) { var a = w ( this . $store , "mapActions" , e ) ; if ( ! a ) return ; r = a . context . dispatch } return "function" == typeof o ? o . apply ( this , [ r ] . concat ( t ) ) : r . apply ( this . $store , [ o ] . concat ( t ) ) } } ) ) , n } ) ) ; function L ( e ) { return function ( e ) { return Array . isArray ( e ) || a ( e ) } ( e ) ? Array . isArray ( e ) ? e . map ( ( function ( e ) { return { key : e , val : e } } ) ) : Object . keys ( e ) . map ( ( function ( t ) { return { key : t , val : e [ t ] } } ) ) : [ ] } function T ( e ) { return function ( t , n ) { return "string" != typeof t ? ( n = t , t = "" ) : "/" !== t . charAt ( t . length - 1 ) && ( t += "/" ) , e ( t , n ) } } function w ( e , t , n ) { return e . _modulesNamespaceMap [ n ] } var z = { Store : u , install : g , version : "3.1.3" , mapState : _ , mapMutations : v , mapGetters : b , mapActions : y , createNamespacedHelpers : function ( e ) { return { mapState : _ . bind ( null , e ) , mapGetters : b . bind ( null , e ) , mapMutations : v . bind ( null , e ) , mapActions : y . bind ( null , e ) } } } ; t . a = z } ) . call ( this , n ( 17 ) ) } , function ( e , t ) { e . exports = function ( e ) { if ( null
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-04-10 13:01:29 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "e1f55ce" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , t . default = r . VTooltip } , function ( e , t ) { e . exports = n ( 213 ) } , function ( e , t ) { e . exports = n ( 214 ) } , , function ( e , t , n ) { "use strict" ; n ( 4 ) , n ( 21 ) , n ( 23 ) , n ( 30 ) , t . a = function ( e ) { return Math . random ( ) . toString ( 36 ) . replace ( /[^a-z]+/g , "" ) . substr ( 0 , e || 5 ) } } , , , , function ( e , t ) { e . exports = n ( 83 ) } , function ( e , t ) { e . exports = n ( 216 ) } , function ( e , t ) { e . exports = n ( 136 ) } , , function ( e , t ) { e . exports = n ( 79 ) } , , function ( e , t ) { e . exports = n ( 217 ) } , , function ( e , t , n ) { var r = n ( 67 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "640a212a" , r , ! 0 , { } ) } , function ( e , t ) { e . exports = n ( 137 ) } , function ( e , t , n ) { "use strict" ; n ( 25 ) , n ( 15 ) , n ( 65 ) , n ( 12 ) ; var r = n ( 5 ) , o = n . n ( r ) ; t . a = function ( e , t , n ) { if ( void 0 !== e ) for ( var r = e . length - 1 ; r >= 0 ; r -- ) { var a = e [ r ] , i = ! a . componentOptions && a . tag && - 1 === t . indexOf ( a . tag ) , s = ! ! a . componentOptions && "string" == typeof a . componentOptions . tag , c = s && - 1 === t . indexOf ( a . componentOptions . tag ) ; ( i || ! s || c ) && ( ( i || c ) && o . a . util . warn ( "" . concat ( i ? a . tag : a . componentOptions . tag , " is not allowed inside the " ) . concat ( n . $options . name , " component" ) , n ) , e . splice ( r , 1 ) ) } } } , , , , , , function ( e , t ) { } , function ( e , t , n ) { "use strict" ; n . r ( t ) ; var r = n ( 43 ) ;
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-04-10 13:01:29 +03:00
* / t . d e f a u l t = r . a } , , f u n c t i o n ( e , t , n ) { v a r r = n ( 4 1 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . 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 ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . p u s h ( [ e . i , " . v u e - t o o l t i p [ d a t a - v - e 1 f 5 5 c e ] { 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 - e 1 f 5 5 c e ] [ 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 - e 1 f 5 5 c e ] [ 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 - e 1 f 5 5 c e ] [ 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 - e 1 f 5 5 c e ] [ 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 - e 1 f 5 5 c e ] [ 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 - e 1 f 5 5 c e ] [ 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 - e 1 f 5 5 c e ] . 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 - e 1 f 5 5 c e ] . 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 " , " " ] ) , e . e x p o r t s = t } , , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n ( 2 5 ) , n ( 4 6 ) , n ( 1 5 ) ; v a r r = n ( 1 4 ) , o = n ( 1 3 ) , a = n ( 1 7 ) , i = ( n ( 6 4 ) , f u n c t i o n ( e ) { v a r t = e . g e t B o u n d i n g C l i e n t R e c t ( ) , n = d o c u m e n t . d o c u m e n t E l e m e n t . c l i e n t H e i g h t , r = d o c u m e n t . d o c u m e n t E l e m e n t . c l i e n t W i d t h , o = O b j e c t . a s s i g n ( { } ) ; r e t u r n o . t o p = t . t o p < 0 , o . l e f t = t . l e f t < 0 , o . b o t t o m = t . b o t t o m > n , o . r i g h t = t . r i g h t > r , o . a n y = o . t o p | | o . l e f t | | o . b o t t o m | | o . r i g h t , o . a l l = o . t o p & & o . l e f t & & o . b o t t o m & & o . r i g h t , o . o f f s e t Y = o . t o p ? t . t o p : o . b o t t o m ? t . b o t t o m - n : 0 , o . o f f s e t X = o . l e f t ? t . l e f t : o . r i g h t ? t . r i g h t - r : 0 , o } ) , s = n ( 3 1 ) , c = n ( 6 ) , l = [ " A c t i o n B u t t o n " , " A c t i o n C h e c k b o x " , " A c t i o n I n p u t " , " A c t i o n L i n k " , " A c t i o n R a d i o " , " A c t i o n R o u t e r " , " A c t i o n S e p a r a t o r " , " A c t i o n T e x t " , " A c t i o n T e x t E d i t a b l e " ] , u = { n a m e : " A c t i o n s " , d i r e c t i v e s : { C l i c k O u t s i d e : r . d i r e c t i v e , t o o l t i p : o . d e f a u l t } , p r o p s : { o p e n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , f o r c e M e n u : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , m e n u A l i g n : { t y p e : S t r i n g , d e f a u l t : " c e n t e r " , v a l i d a t o r : f u n c t i o n ( e ) { r e t u r n [ " l e f t " , " c e n t e r " , " r i g h t " ] . i n d e x O f ( e ) > - 1 } } , d e f a u l t I c o n : { t y p e : S t r i n g , d e f a u l t : " a c t i o n - i t e m _ _ m e n u t o g g l e - - d e f a u l t - i c o n " } , a r i a L a b e l : { t y p e : S t r i n g , d e f a u l t : O b j e c t ( c . b ) ( " A c t i o n s " ) } } , d a t a : f u n c t i o n ( ) { r e t u r n { a c t i o n s : [ ] , o p e n e d : t h i s . o p e n , f o c u s I n d e x : 0 , r a n d o m I d : " m e n u - " + O b j e c t ( a . a ) ( ) , o f f s e t X : 0 , o f f s e t Y : 0 , o f f s e t Y A r r o w : 0 , r o t a t e A r r o w : ! 1 , c h i l d r e n : t h i s . $ c h i l d r e n } } , c o m p u t e d : { h a s M u l t i p l e A c t i o n s : f u n c t i o n ( ) { r e t u r n t h i s . a c t i o n s . l e n g t h > 1 } , i s V a l i d S i n g l e A c t i o n : f u n c t i o n ( ) { r e t u r n 1 = = = t h i s . a c t i o n s . l e n g t h & & n u l l ! = = t h i s . f i r s t A c t i o n E l e m e n t } , f i r s t A c t i o n V N o d e : f u n c t i o n ( ) { r e t u r n t h i s . a c t i o n s [ 0 ] } , f i r s t A c t i o n : f u n c t i o n ( ) { r e t u r n t h i s . c h i l d r e n [ 0 ] ? t h i s . c h i l d r e n [ 0 ] : { } } , f i r s t A c t i o n B i n d i n g : f u n c t i o n ( ) { i f ( t h i s . f i r s t A c t i o n V N o d e & & t h i s . f i r s t A c t i o n V N o d e . c o m p o n e n t O p t i o n s ) { v a r e = t h i s . f i r s t A c t i o n V N o d e . c o m p o n e n t O p t i o n s . t a g ; i f ( " A c t i o n L i n k " = = = e ) r e t u r n { i s : " a " , h r e f : t h i s . f i r s t A c t i o n . h r e f , t a r g e t : t h i s . f i r s t A c t i o n . t a r g e t , " a r i a - l a b e l " : t h i s . f i r s t A c t i o n . a r i a L a b e l } ; i f ( " A c t i o n R o u t e r " = = = e ) r e t u r n { i s : " r o u t e r - l i n k " , t o : t h i s . f i r s t A c t i o n . t o , e x a c t : t h i s . f i
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-04-10 13:01:29 +03:00
* / t . a = { b e f o r e : f u n c t i o n ( ) { t h i s . $ s l o t s . d e f a u l t & & " " ! = = t h i s . t e x t . t r i m ( ) | | ( 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 8 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 6 3 ) } , 1 9 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 8 2 ) } , 2 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; f u n c t i o n r ( e , t ) { f o r ( v a r n = [ ] , r = { } , o = 0 ; o < t . l e n g t h ; o + + ) { v a r a = t [ o ] , i = a [ 0 ] , s = { i d : e + " : " + o , c s s : a [ 1 ] , m e d i a : a [ 2 ] , s o u r c e M a p : a [ 3 ] } ; r [ i ] ? r [ i ] . p a r t s . p u s h ( s ) : n . p u s h ( r [ i ] = { i d : i , p a r t s : [ s ] } ) } r e t u r n n } n . r ( t ) , n . d ( t , " d e f a u l t " , ( f u n c t i o n ( ) { r e t u r n m } ) ) ; 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 a = { } , i = 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 , l = ! 1 , u = f u n c t i o n ( ) { } , d = n u l l , 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 m ( e , t , n , o ) { l = n , d = o | | { } ; v a r i = r ( e , t ) ; r e t u r n f ( i ) , f u n c t i o n ( t ) { f o r ( v a r n = [ ] , o = 0 ; o < i . l e n g t h ; o + + ) { v a r s = i [ o ] ; ( c = a [ s . i d ] ) . r e f s - - , n . p u s h ( c ) } f o r ( t ? f ( i = r ( e , t ) ) : i = [ ] , 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 l = 0 ; l < c . p a r t s . l e n g t h ; l + + ) c . p a r t s [ l ] ( ) ; d e l e t e a [ c . i d ] } } } } f u n c t i o n f ( e ) { f o r ( v a r t = 0 ; t < e . l e n g t h ; t + + ) { v a r n = e [ t ] , r = a [ 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 i = [ ] ; f o r ( o = 0 ; o < n . p a r t s . l e n g t h ; o + + ) i . p u s h ( M ( n . p a r t s [ o ] ) ) ; a [ n . i d ] = { i d : n . i d , r e f s : 1 , p a r t s : i } } } } f u n c t i o n A ( ) { v a r e = 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 e . t y p e = " t e x t / c s s " , i . a p p e n d C h i l d ( e ) , e } f u n c t i o n M ( e ) { v a r t , n , r = d o c u m e n t . q u e r y S e l e c t o r ( ' s t y l e [ d a t a - v u e - s s r - i d ~ = " ' + e . i d + ' " ] ' ) ; i f ( r ) { i f ( l ) r e t u r n u ; 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 = A ( ) ) , t = _ . b i n d ( n u l l , r , o , ! 1 ) , n = _ . b i n d ( n u l l , r , o , ! 0 ) } e l s e r = A ( ) , t = v . 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 t ( e ) , f u n c t i o n ( r ) { i f ( r ) { i f ( r . c s s = = = e . c s s & & r . m e d i a = = = e . m e d i a & & r . s o u r c e M a p = = = e . s o u r c e M a p ) r e t u r n ; t ( e = r ) } e l s e n ( ) } } v a r h , g = ( h = [ ] , f u n c t i o n ( e , t ) { r e t u r n h [ e ] = t , h . 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 _ ( e , t , n , r ) { v a r o = n ? " " : r . c s s ; i f ( e . s t y l e S h e e t ) e . s t y l e S h e e t . c s s T e x t = g ( t , o ) ; e l s e { v a r a = d o c u m e n t . c r e a t e T e x t N o d e ( o ) , i = e . c h i l d N o d e s ; i [ t ] & & e . r e m o v e C h i l d ( i [ t ] ) , i . l e n g t h ? e . i n s e r t B e f o r e ( a , i [ t ] ) : e . a p p e n d C h i l d ( a ) } } f u n c t i o n v ( e , t ) { v a r n = t . c s s , r = t . m e d i a , o = t . s o u r c e M a p ; i f ( r & & e . s e t A t t r i b u t e ( " m e d i a " , r ) , d . s s r I d & & e . s e t A t t r i b u t e ( " d a t a - v u e - s s r - i d " , t . 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 ) ) ) ) + " * / " ) , e . s t y l e S h e e t ) e . s t y l e S h e e t . c s s T e x t = n ; e l s e { f o r ( ; e . f i r s t C h i l d ; ) e . r e m o v e C h i l d ( e . f i r s t C h i l d ) ; e . a p p e n d C h i l d ( d o c u m e n t . c r e a t e T e x t N o d e ( n ) ) } } } , 2 0 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 1 3 1 ) } , 2 4 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 2 2 0 ) } , 2 6 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n ( 1 8 ) , n ( 4 ) , n ( 1 9 ) , n ( 2 0 ) , n ( 2 4 ) ; v a r r = n ( 1 6 ) , o = ( n ( 1 2 ) , f u n c t i o n ( e , t ) { f o r ( v a r n = e . $ p a r e n t ; n ; ) { i f ( n . $ o p t i o n s . n a m e = = = t ) r e t u r n n ; n = n . $ p a r e n t } } ) ; t . a = { m i x i n s : [ r . a ] , p r o p s : { i c o n : { t y p e : S t r i n g , d e f a u l t : " " } , t i t l e : { t y p e : S t r i n g , d e f a u l t : " " } , c l o s e A f t e r C l i c k : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , a r i a L a b e l : { t y p e : S t r i n g , d e f a u l t : " " } } , c o m p u t e d : { i s I c o n U r l : f u n c t i o n ( ) { t r y { r e t u r n n e w U R L ( t h i s . i c o n ) } c a t c h ( e ) { r e t u r n ! 1 } } } , m e t h o d s : { o n C l i c k : f u n c t i o n ( e ) { i f ( t h i s . $ e m i t ( " c l i c k " , e ) , t h i s . c l o s e A f t e r C l i c k ) { v a r t = o ( t h i s , " A c t i o n s " ) ; t & & t . c l o s e M e n u & & t . c l o s e M e n u ( ) } } } } } , 2 8 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 4 7 4 ) } , 4 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 6 6 ) } , 4 7 : f u n c t i o n ( e , t , n ) { v a r r = n ( 1 2 7 ) ; " s t r i n g " = = t y p e o f r & & ( r = [ [ e . i , r , " " ] ] ) , r . l o c a l s & & ( e . e x p o r t s = r . l o c a l s ) , ( 0 , n ( 2 ) . d e f a u l t ) ( " 7 5 b 9 f 9 0 2 " , r , ! 0 , { } ) } , 5 : f u n c t i o n ( e , t ) { e . e x p o r t s = n ( 1 6 ) } , 5 4 : f u n c t i o n ( e , t ) { } , 7 0 : f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; v a r r = { n a m e : " A c t i o n B u t t o n " , m i x i n s : [ n ( 2 6 ) . a ] , p r o p s : { d i s a b l e d : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , c o m p u t e d : { i
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-04-10 13:01:29 +03:00
* /t.default=r.a}})},function(e,t,n){"use strict";n(551),n(566),n(569),n(271),n(574),n(575),Object.defineProperty(t,"__esModule",{value:!0}),t.getRootUrl=t.generateFilePath=t.imagePath=t.generateUrl=t.generateOcsUrl=t.generateRemoteUrl=t.linkTo=void 0;t.linkTo=function(e,t){return r(e,"",t)};t.generateRemoteUrl=function(e){return window.location.protocol+"/ / "+window.location.host+function(e){return o()+" / remote . php / "+e}(e)};t.generateOcsUrl=function(e,t){return t=2!==t?1:2,window.location.protocol+" //"+window.location.host+o()+"/ocs/v"+t+".php/"+e+"/"};t.generateUrl=function(e,t,n){var r=Object.assign({escape:!0,noRewrite:!1},n||{}),a=function(e,t){return t=t||{},e.replace(/{([^{}]*)}/g,(function(e,n){var o=t[n];return r.escape?"string"==typeof o||"number"==typeof o?encodeURIComponent(o.toString()):encodeURIComponent(e):"string"==typeof o||"number"==typeof o?o.toString():e}))};return"/"!==e.charAt(0)&&(e="/"+e),!0!==OC.config.modRewriteWorking||r.noRewrite?o()+"/index.php"+a(e,t||{}):o()+a(e,t||{})};t.imagePath=function(e,t){return-1===t.indexOf(".")?r(e,"img",t+".svg"):r(e,"img",t)};var r=function(e,t,n){var r=-1!==OC.coreApps.indexOf(e),a=o();return"php"!==n.substring(n.length-3)||r?"php"===n.substring(n.length-3)||r?(a+="settings"!==e&&"core"!==e&&"search"!==e||"ajax"!==t?"/":"/index.php/",r||(a+="apps/"),""!==e&&(a+=e+="/"),t&&(a+=t+"/"),a+=n):(a=OC.appswebroots[e],t&&(a+="/"+t+"/"),"/"!==a.substring(a.length-1)&&(a+="/"),a+=n):(a+="/index.php/apps/"+e,"index.php"!==n&&(a+="/",t&&(a+=encodeURI(t+"/")),a+=n)),a};t.generateFilePath=r;var o=function(){return OC.webroot};t.getRootUrl=o},function(e,t,n){var r=n(170),o=n(171);e.exports=function(e){return r(o(e))}},function(e,t,n){var r=n(26),o=n(72);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t){var n,r,o=e.exports={};function a(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function s(e){if(n===setTimeout)return setTimeout(e,0);if((n===a||!n)&&setTimeout)return n=setTimeout,setTimeout(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:a}catch(e){n=a}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var c,l=[],u=!1,d=-1;function p(){u&&c&&(u=!1,c.length?l=c.concat(l):d=-1,l.length&&m())}function m(){if(!u){var e=s(p);u=!0;for(var t=l.length;t;){for(c=l,l=[];++d<t;)c&&c[d].run();d=-1,t=l.length}c=null,u=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function A(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new f(e,t)),1!==l.length||u||s(m)},f.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=A,o.addListener=A,o.once=A,o.off=A,o.removeListener=A,o.removeAllListeners=A,o.emit=A,o.prependListener=A,o.prependOnceListener=A,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0}},function(e,t,n){"use strict";var r={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,a=o&&!r.call({1:2},1);t.f=a?function(e){var t=o(this,e);return!!t&&t.enumerable}:r},function(e,t,n){var r=n(1),o=n(6),a=r.document,i=o(a)&&o(a.createElement);e.exports=function(e){return i?a.createElement(e):{}}},function(e,t,n){var r=n(1),o=n(20);e.exports=function(e,t){try{o(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(193),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(e){return o.call(e)}),e.exports=r.inspectSource},function(e,t,n){var r=n(44),o=n(193);(e.exports=function(e,t){re
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-04-10 13:01:29 +03:00
var n = "undefined" != typeof window && "undefined" != typeof document , r = [ "Edge" , "Trident" , "Firefox" ] , o = 0 , a = 0 ; a < r . length ; a += 1 ) if ( n && navigator . userAgent . indexOf ( r [ a ] ) >= 0 ) { o = 1 ; break } var i = n && window . Promise ? function ( e ) { var t = ! 1 ; return function ( ) { t || ( t = ! 0 , window . Promise . resolve ( ) . then ( ( function ( ) { t = ! 1 , e ( ) } ) ) ) } } : function ( e ) { var t = ! 1 ; return function ( ) { t || ( t = ! 0 , setTimeout ( ( function ( ) { t = ! 1 , e ( ) } ) , o ) ) } } ; function s ( e ) { return e && "[object Function]" === { } . toString . call ( e ) } function c ( e , t ) { if ( 1 !== e . nodeType ) return [ ] ; var n = e . ownerDocument . defaultView . getComputedStyle ( e , null ) ; return t ? n [ t ] : n } function l ( e ) { return "HTML" === e . nodeName ? e : e . parentNode || e . host } function u ( e ) { if ( ! e ) return document . body ; switch ( e . nodeName ) { case "HTML" : case "BODY" : return e . ownerDocument . body ; case "#document" : return e . body } var t = c ( e ) , n = t . overflow , r = t . overflowX , o = t . overflowY ; return /(auto|scroll|overlay)/ . test ( n + o + r ) ? e : u ( l ( e ) ) } var d = n && ! ( ! window . MSInputMethodContext || ! document . documentMode ) , p = n && /MSIE 10/ . test ( navigator . userAgent ) ; function m ( e ) { return 11 === e ? d : 10 === e ? p : d || p } function f ( e ) { if ( ! e ) return document . documentElement ; for ( var t = m ( 10 ) ? document . body : null , n = e . offsetParent || null ; n === t && e . nextElementSibling ; ) n = ( e = e . nextElementSibling ) . offsetParent ; var r = n && n . nodeName ; return r && "BODY" !== r && "HTML" !== r ? - 1 !== [ "TH" , "TD" , "TABLE" ] . indexOf ( n . nodeName ) && "static" === c ( n , "position" ) ? f ( n ) : n : e ? e . ownerDocument . documentElement : document . documentElement } function A ( e ) { return null !== e . parentNode ? A ( e . parentNode ) : e } function M ( e , t ) { if ( ! ( e && e . nodeType && t && t . nodeType ) ) return document . documentElement ; var n = e . compareDocumentPosition ( t ) & Node . DOCUMENT _POSITION _FOLLOWING , r = n ? e : t , o = n ? t : e , a = document . createRange ( ) ; a . setStart ( r , 0 ) , a . setEnd ( o , 0 ) ; var i , s , c = a . commonAncestorContainer ; if ( e !== c && t !== c || r . contains ( o ) ) return "BODY" === ( s = ( i = c ) . nodeName ) || "HTML" !== s && f ( i . firstElementChild ) !== i ? f ( c ) : c ; var l = A ( e ) ; return l . host ? M ( l . host , t ) : M ( e , A ( t ) . host ) } function h ( e ) { var t = arguments . length > 1 && void 0 !== arguments [ 1 ] ? arguments [ 1 ] : "top" , n = "top" === t ? "scrollTop" : "scrollLeft" , r = e . nodeName ; if ( "BODY" === r || "HTML" === r ) { var o = e . ownerDocument . documentElement , a = e . ownerDocument . scrollingElement || o ; return a [ n ] } return e [ n ] } function g ( e , t ) { var n = arguments . length > 2 && void 0 !== arguments [ 2 ] && arguments [ 2 ] , r = h ( t , "top" ) , o = h ( t , "left" ) , a = n ? - 1 : 1 ; return e . top += r * a , e . bottom += r * a , e . left += o * a , e . right += o * a , e } function _ ( e , t ) { var n = "x" === t ? "Left" : "Top" , r = "Left" === n ? "Right" : "Bottom" ; return parseFloat ( e [ "border" + n + "Width" ] , 10 ) + parseFloat ( e [ "border" + r + "Width" ] , 10 ) } function v ( e , t , n , r ) { return Math . max ( t [ "offset" + e ] , t [ "scroll" + e ] , n [ "client" + e ] , n [ "offset" + e ] , n [ "scroll" + e ] , m ( 10 ) ? parseInt ( n [ "offset" + e ] ) + parseInt ( r [ "margin" + ( "Height" === e ? "Top" : "Left" ) ] ) + parseInt ( r [ "margin" + ( "Height" === e ? "Bottom" : "Right" ) ] ) : 0 ) } function b ( e ) { var t = e . body , n = e . documentElement , r = m ( 10 ) && getComputedStyle ( n ) ; return { height : v ( "Height" , t , n , r ) , width : v ( "Width" , t , n , r ) } } var y = function ( e , t ) { if ( ! ( e instanceof t ) ) throw new TypeError ( "Cannot call a class as a function" ) } , L = function ( ) { function e ( e , t ) { for ( var n = 0 ; n < t . length ; n ++ ) { var r = t [ n ] ; r . enumerable = r . enumerable || ! 1 , r . configurable = ! 0 , "value" in r && ( r . writable = ! 0 ) , Object . defineProperty ( e , r . key , r ) } } return function ( t , n , r ) { return n && e ( t . prototype , n ) , r && e ( t , r ) , t } } ( ) , T = function ( e , t , n ) { return t in e ? Object . defineProperty ( e , t , { value : n , enumerable : ! 0 , configurable : ! 0 , writable : ! 0 } ) : e [ t ] = n , e } , w = Object . assign || function ( e ) { for ( var t = 1 ; t < arguments . length ; t ++ ) { var n = arguments [ t ] ; for ( var r in n ) Object . prototype . hasOwnProperty . call ( n , r ) && ( e [ r ] = n [ r ] ) } return e } ; function z ( e ) { return w ( { } , e , { right : e . left + e . width , bottom : e . top + e . height } ) } function O ( e ) { var t = { } ; try { if ( m ( 10 ) ) { t = e . getBoundingClientRect ( ) ; var n = h ( e , "top" ) , r = h ( e , "left" ) ; t . top += n , t . left += r , t . bottom += n , t . right += r } else t = e . getBoundingClientRect ( ) } catch ( e ) { } var o = { left : t . left , top : t . top , width : t . right - t . left , height : t . bottom - t . top } , a = "HTML" === e . nodeName ? b ( e . ownerDocument ) : { } , i = a . width || e . clientWidth || o . right - o . left , s = a . height || e . clientHeight || o . bottom - o . top , l = e . offsetWidth - i , u = e . offsetHeight - s ; if ( l || u ) { var d = c ( e ) ; l -= _ ( d , "x" ) , u -= _ ( d , "y" ) , o . width -= l , o . height -= u } return z ( o ) } function x ( e , t ) { var n = arguments . length > 2 && void 0 !== a
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-04-10 13:01:29 +03:00
r . VTooltip . options . defaultTemplate = '<div class="vue-tooltip" role="tooltip" data-v-' . concat ( "e1f55ce" , '><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>' ) , r . VTooltip . options . defaultHtml = ! 1 , t . default = r . VTooltip } , 2 : function ( e , t , n ) { "use strict" ; function r ( e , t ) { for ( var n = [ ] , r = { } , o = 0 ; o < t . length ; o ++ ) { var a = t [ o ] , i = a [ 0 ] , s = { id : e + ":" + o , css : a [ 1 ] , media : a [ 2 ] , sourceMap : a [ 3 ] } ; r [ i ] ? r [ i ] . parts . push ( s ) : n . push ( r [ i ] = { id : i , parts : [ s ] } ) } return n } n . r ( t ) , n . d ( t , "default" , ( function ( ) { return m } ) ) ; 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 a = { } , i = o && ( document . head || document . getElementsByTagName ( "head" ) [ 0 ] ) , s = null , c = 0 , l = ! 1 , u = function ( ) { } , d = null , p = "undefined" != typeof navigator && /msie [6-9]\b/ . test ( navigator . userAgent . toLowerCase ( ) ) ; function m ( e , t , n , o ) { l = n , d = o || { } ; var i = r ( e , t ) ; return f ( i ) , function ( t ) { for ( var n = [ ] , o = 0 ; o < i . length ; o ++ ) { var s = i [ o ] ; ( c = a [ s . id ] ) . refs -- , n . push ( c ) } for ( t ? f ( i = r ( e , t ) ) : i = [ ] , o = 0 ; o < n . length ; o ++ ) { var c ; if ( 0 === ( c = n [ o ] ) . refs ) { for ( var l = 0 ; l < c . parts . length ; l ++ ) c . parts [ l ] ( ) ; delete a [ c . id ] } } } } function f ( e ) { for ( var t = 0 ; t < e . length ; t ++ ) { var n = e [ t ] , r = a [ 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 i = [ ] ; for ( o = 0 ; o < n . parts . length ; o ++ ) i . push ( M ( n . parts [ o ] ) ) ; a [ n . id ] = { id : n . id , refs : 1 , parts : i } } } } function A ( ) { var e = document . createElement ( "style" ) ; return e . type = "text/css" , i . appendChild ( e ) , e } function M ( e ) { var t , n , r = document . querySelector ( 'style[data-vue-ssr-id~="' + e . id + '"]' ) ; if ( r ) { if ( l ) return u ; r . parentNode . removeChild ( r ) } if ( p ) { var o = c ++ ; r = s || ( s = A ( ) ) , t = _ . bind ( null , r , o , ! 1 ) , n = _ . bind ( null , r , o , ! 0 ) } else r = A ( ) , t = v . bind ( null , r ) , n = function ( ) { r . parentNode . removeChild ( r ) } ; return t ( e ) , function ( r ) { if ( r ) { if ( r . css === e . css && r . media === e . media && r . sourceMap === e . sourceMap ) return ; t ( e = r ) } else n ( ) } } var h , g = ( h = [ ] , function ( e , t ) { return h [ e ] = t , h . filter ( Boolean ) . join ( "\n" ) } ) ; function _ ( e , t , n , r ) { var o = n ? "" : r . css ; if ( e . styleSheet ) e . styleSheet . cssText = g ( t , o ) ; else { var a = document . createTextNode ( o ) , i = e . childNodes ; i [ t ] && e . removeChild ( i [ t ] ) , i . length ? e . insertBefore ( a , i [ t ] ) : e . appendChild ( a ) } } function v ( e , t ) { var n = t . css , r = t . media , o = t . sourceMap ; if ( r && e . setAttribute ( "media" , r ) , d . ssrId && e . setAttribute ( "data-vue-ssr-id" , t . id ) , o && ( n += "\n/*# sourceURL=" + o . sources [ 0 ] + " */" , n += "\n/*# sourceMappingURL=data:application/json;base64," + btoa ( unescape ( encodeURIComponent ( JSON . stringify ( o ) ) ) ) + " */" ) , e . styleSheet ) e . styleSheet . cssText = n ; else { for ( ; e . firstChild ; ) e . removeChild ( e . firstChild ) ; e . appendChild ( document . createTextNode ( n ) ) } } } , 3 : function ( e , t ) { e . exports = n ( 132 ) } , 40 : function ( e , t , n ) { var r = n ( 41 ) ; "string" == typeof r && ( r = [ [ e . i , r , "" ] ] ) , r . locals && ( e . exports = r . locals ) , ( 0 , n ( 2 ) . default ) ( "941c791e" , r , ! 0 , { } ) } , 41 : function ( e , t , n ) { ( t = n ( 1 ) ( ! 1 ) ) . push ( [ e . i , " . vue - tooltip [ data - v - e1f55ce ] { 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 - e1f55ce ] [ 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 - e1f55ce ] [ 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 - e1f55ce ] [ x - placement ^= 'right' ] . tooltip - arrow { right : 100 % ; margin - right : 0 ; margin - left :
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-04-10 13:01:29 +03:00
* /var r=/ [ "'&<>]/;e.exports=function(e){var t,n=" "+e,o=r.exec(n);if(!o)return n;var a=" ",i=0,s=0;for(i=o.index;i<n.length;i++){switch(n.charCodeAt(i)){case 34:t=" & quot ; ";break;case 38:t=" & amp ; ";break;case 39:t=" & # 39 ; ";break;case 60:t=" & lt ; ";break;case 62:t=" & gt ; ";break;default:continue}s!==i&&(a+=n.substring(s,i)),s=i+1,a+=t}return s!==i?a+n.substring(s,i):a}},function(e,t,n){var r,o,a,i,s;r=n(479),o=n(224).utf8,a=n(480),i=n(224).bin,(s=function(e,t){e.constructor==String?e=t&&" binary "===t.encoding?i.stringToBytes(e):o.stringToBytes(e):a(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||(e=e.toString());for(var n=r.bytesToWords(e),c=8*e.length,l=1732584193,u=-271733879,d=-1732584194,p=271733878,m=0;m<n.length;m++)n[m]=16711935&(n[m]<<8|n[m]>>>24)|4278255360&(n[m]<<24|n[m]>>>8);n[c>>>5]|=128<<c%32,n[14+(c+64>>>9<<4)]=c;var f=s._ff,A=s._gg,M=s._hh,h=s._ii;for(m=0;m<n.length;m+=16){var g=l,_=u,v=d,b=p;l=f(l,u,d,p,n[m+0],7,-680876936),p=f(p,l,u,d,n[m+1],12,-389564586),d=f(d,p,l,u,n[m+2],17,606105819),u=f(u,d,p,l,n[m+3],22,-1044525330),l=f(l,u,d,p,n[m+4],7,-176418897),p=f(p,l,u,d,n[m+5],12,1200080426),d=f(d,p,l,u,n[m+6],17,-1473231341),u=f(u,d,p,l,n[m+7],22,-45705983),l=f(l,u,d,p,n[m+8],7,1770035416),p=f(p,l,u,d,n[m+9],12,-1958414417),d=f(d,p,l,u,n[m+10],17,-42063),u=f(u,d,p,l,n[m+11],22,-1990404162),l=f(l,u,d,p,n[m+12],7,1804603682),p=f(p,l,u,d,n[m+13],12,-40341101),d=f(d,p,l,u,n[m+14],17,-1502002290),l=A(l,u=f(u,d,p,l,n[m+15],22,1236535329),d,p,n[m+1],5,-165796510),p=A(p,l,u,d,n[m+6],9,-1069501632),d=A(d,p,l,u,n[m+11],14,643717713),u=A(u,d,p,l,n[m+0],20,-373897302),l=A(l,u,d,p,n[m+5],5,-701558691),p=A(p,l,u,d,n[m+10],9,38016083),d=A(d,p,l,u,n[m+15],14,-660478335),u=A(u,d,p,l,n[m+4],20,-405537848),l=A(l,u,d,p,n[m+9],5,568446438),p=A(p,l,u,d,n[m+14],9,-1019803690),d=A(d,p,l,u,n[m+3],14,-187363961),u=A(u,d,p,l,n[m+8],20,1163531501),l=A(l,u,d,p,n[m+13],5,-1444681467),p=A(p,l,u,d,n[m+2],9,-51403784),d=A(d,p,l,u,n[m+7],14,1735328473),l=M(l,u=A(u,d,p,l,n[m+12],20,-1926607734),d,p,n[m+5],4,-378558),p=M(p,l,u,d,n[m+8],11,-2022574463),d=M(d,p,l,u,n[m+11],16,1839030562),u=M(u,d,p,l,n[m+14],23,-35309556),l=M(l,u,d,p,n[m+1],4,-1530992060),p=M(p,l,u,d,n[m+4],11,1272893353),d=M(d,p,l,u,n[m+7],16,-155497632),u=M(u,d,p,l,n[m+10],23,-1094730640),l=M(l,u,d,p,n[m+13],4,681279174),p=M(p,l,u,d,n[m+0],11,-358537222),d=M(d,p,l,u,n[m+3],16,-722521979),u=M(u,d,p,l,n[m+6],23,76029189),l=M(l,u,d,p,n[m+9],4,-640364487),p=M(p,l,u,d,n[m+12],11,-421815835),d=M(d,p,l,u,n[m+15],16,530742520),l=h(l,u=M(u,d,p,l,n[m+2],23,-995338651),d,p,n[m+0],6,-198630844),p=h(p,l,u,d,n[m+7],10,1126891415),d=h(d,p,l,u,n[m+14],15,-1416354905),u=h(u,d,p,l,n[m+5],21,-57434055),l=h(l,u,d,p,n[m+12],6,1700485571),p=h(p,l,u,d,n[m+3],10,-1894986606),d=h(d,p,l,u,n[m+10],15,-1051523),u=h(u,d,p,l,n[m+1],21,-2054922799),l=h(l,u,d,p,n[m+8],6,1873313359),p=h(p,l,u,d,n[m+15],10,-30611744),d=h(d,p,l,u,n[m+6],15,-1560198380),u=h(u,d,p,l,n[m+13],21,1309151649),l=h(l,u,d,p,n[m+4],6,-145523070),p=h(p,l,u,d,n[m+11],10,-1120210379),d=h(d,p,l,u,n[m+2],15,718787259),u=h(u,d,p,l,n[m+9],21,-343485551),l=l+g>>>0,u=u+_>>>0,d=d+v>>>0,p=p+b>>>0}return r.endian([l,u,d,p])})._ff=function(e,t,n,r,o,a,i){var s=e+(t&n|~t&r)+(o>>>0)+i;return(s<<a|s>>>32-a)+t},s._gg=function(e,t,n,r,o,a,i){var s=e+(t&r|n&~r)+(o>>>0)+i;return(s<<a|s>>>32-a)+t},s._hh=function(e,t,n,r,o,a,i){var s=e+(t^n^r)+(o>>>0)+i;return(s<<a|s>>>32-a)+t},s._ii=function(e,t,n,r,o,a,i){var s=e+(n^(t|~r))+(o>>>0)+i;return(s<<a|s>>>32-a)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error(" Illegal argument "+e);var n=r.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?i.bytesToString(n):r.bytesToHex(n)}},function(e,t){var n,r;n=" ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 + / " , r = { r o t l : f u n c t i o n ( e , t ) { r e t u r n e < < t | e > > > 3 2 - t } , r o t r : f u n c t i o n ( e , t ) { r e t u r n e < < 3 2 - t | e > > > t } , e n d i a n : f u n c t i o n ( e ) { i f ( e . c o n s t r u c t o r = = N u m b e r ) r e t u r n 1 6 7 1 1 9 3 5 & r . r o t l ( e , 8 ) | 4 2 7 8 2 5 5 3 6 0 & r . r o t l ( e , 2 4 ) ; f o r ( v a r t = 0 ; t < e . l e n g t h ; t + + ) e [ t ] = r . e n d i a n ( e [ t ] ) ; r e t u r n e } , r a n d o m B y t e s : f u n c t i o n ( e ) { f o r ( v a r t = [ ] ; e > 0 ; e - - ) t . p u s h ( M a t h . f l o o r ( 2 5 6 * M a t h . r
2020-01-16 02:03:29 +03:00
/ * !
* Determine if an object is a Buffer
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
* /
2020-04-10 13:01:29 +03:00
e . exports = function ( e ) { return null != e && ( n ( e ) || function ( e ) { return "function" == typeof e . readFloatLE && "function" == typeof e . slice && n ( e . slice ( 0 , 0 ) ) } ( e ) || ! ! e . _isBuffer ) } } , function ( e , t , n ) { "use strict" ; var r , o , a , i , s = n ( 4 ) , c = n ( 44 ) , l = n ( 1 ) , u = n ( 39 ) , d = n ( 482 ) , p = n ( 13 ) , m = n ( 128 ) , f = n ( 40 ) , A = n ( 129 ) , M = n ( 6 ) , h = n ( 77 ) , g = n ( 65 ) , _ = n ( 27 ) , v = n ( 113 ) , b = n ( 124 ) , y = n ( 211 ) , L = n ( 483 ) , T = n ( 225 ) . set , w = n ( 484 ) , z = n ( 485 ) , O = n ( 486 ) , x = n ( 227 ) , k = n ( 487 ) , S = n ( 28 ) , N = n ( 61 ) , E = n ( 2 ) , D = n ( 121 ) , Y = E ( "species" ) , C = "Promise" , B = S . get , W = S . set , j = S . getterFor ( C ) , P = d , q = l . TypeError , I = l . document , R = l . process , X = u ( "fetch" ) , H = x . f , F = H , U = "process" == _ ( R ) , G = ! ! ( I && I . createEvent && l . dispatchEvent ) , Q = N ( C , ( function ( ) { if ( ! ( v ( P ) !== String ( P ) ) ) { if ( 66 === D ) return ! 0 ; if ( ! U && "function" != typeof PromiseRejectionEvent ) return ! 0 } if ( c && ! P . prototype . finally ) return ! 0 ; if ( D >= 51 && /native code/ . test ( P ) ) return ! 1 ; var e = P . resolve ( 1 ) , t = function ( e ) { e ( ( function ( ) { } ) , ( function ( ) { } ) ) } ; return ( e . constructor = { } ) [ Y ] = t , ! ( e . then ( ( function ( ) { } ) ) instanceof t ) } ) ) , V = Q || ! y ( ( function ( e ) { P . all ( e ) . catch ( ( function ( ) { } ) ) } ) ) , J = function ( e ) { var t ; return ! ( ! M ( e ) || "function" != typeof ( t = e . then ) ) && t } , $ = function ( e , t , n ) { if ( ! t . notified ) { t . notified = ! 0 ; var r = t . reactions ; w ( ( function ( ) { for ( var o = t . value , a = 1 == t . state , i = 0 ; r . length > i ; ) { var s , c , l , u = r [ i ++ ] , d = a ? u . ok : u . fail , p = u . resolve , m = u . reject , f = u . domain ; try { d ? ( a || ( 2 === t . rejection && te ( e , t ) , t . rejection = 1 ) , ! 0 === d ? s = o : ( f && f . enter ( ) , s = d ( o ) , f && ( f . exit ( ) , l = ! 0 ) ) , s === u . promise ? m ( q ( "Promise-chain cycle" ) ) : ( c = J ( s ) ) ? c . call ( s , p , m ) : p ( s ) ) : m ( o ) } catch ( e ) { f && ! l && f . exit ( ) , m ( e ) } } t . reactions = [ ] , t . notified = ! 1 , n && ! t . rejection && Z ( e , t ) } ) ) } } , K = function ( e , t , n ) { var r , o ; G ? ( ( r = I . createEvent ( "Event" ) ) . promise = t , r . reason = n , r . initEvent ( e , ! 1 , ! 0 ) , l . dispatchEvent ( r ) ) : r = { promise : t , reason : n } , ( o = l [ "on" + e ] ) ? o ( r ) : "unhandledrejection" === e && O ( "Unhandled promise rejection" , n ) } , Z = function ( e , t ) { T . call ( l , ( function ( ) { var n , r = t . value ; if ( ee ( t ) && ( n = k ( ( function ( ) { U ? R . emit ( "unhandledRejection" , r , e ) : K ( "unhandledrejection" , e , r ) } ) ) , t . rejection = U || ee ( t ) ? 2 : 1 , n . error ) ) throw n . value } ) ) } , ee = function ( e ) { return 1 !== e . rejection && ! e . parent } , te = function ( e , t ) { T . call ( l , ( function ( ) { U ? R . emit ( "rejectionHandled" , e ) : K ( "rejectionhandled" , e , t . value ) } ) ) } , ne = function ( e , t , n , r ) { return function ( o ) { e ( t , n , o , r ) } } , re = function ( e , t , n , r ) { t . done || ( t . done = ! 0 , r && ( t = r ) , t . value = n , t . state = 2 , $ ( e , t , ! 0 ) ) } , oe = function ( e , t , n , r ) { if ( ! t . done ) { t . done = ! 0 , r && ( t = r ) ; try { if ( e === n ) throw q ( "Promise can't be resolved itself" ) ; var o = J ( n ) ; o ? w ( ( function ( ) { var r = { done : ! 1 } ; try { o . call ( n , ne ( oe , e , r , t ) , ne ( re , e , r , t ) ) } catch ( n ) { re ( e , r , n , t ) } } ) ) : ( t . value = n , t . state = 1 , $ ( e , t , ! 1 ) ) } catch ( n ) { re ( e , { done : ! 1 } , n , t ) } } } ; Q && ( P = function ( e ) { g ( this , P , C ) , h ( e ) , r . call ( this ) ; var t = B ( this ) ; try { e ( ne ( oe , this , t ) , ne ( re , this , t ) ) } catch ( e ) { re ( this , t , e ) } } , ( r = function ( e ) { W ( this , { type : C , done : ! 1 , notified : ! 1 , parent : ! 1 , reactions : [ ] , rejection : ! 1 , state : 0 , value : void 0 } ) } ) . prototype = m ( P . prototype , { then : function ( e , t ) { var n = j ( this ) , r = H ( L ( this , P ) ) ; return r . ok = "function" != typeof e || e , r . fail = "function" == typeof t && t , r . domain = U ? R . domain : void 0 , n . parent = ! 0 , n . reactions . push ( r ) , 0 != n . state && $ ( this , n , ! 1 ) , r . promise } , catch : function ( e ) { return this . then ( void 0 , e ) } } ) , o = function ( ) { var e = new r , t = B ( e ) ; this . promise = e , this . resolve = ne ( oe , e , t ) , this . reject = ne ( re , e , t ) } , x . f = H = function ( e ) { return e === P || e === a ? new o ( e ) : F ( e ) } , c || "function" != typeof d || ( i = d . prototype . then , p ( d . prototype , "then" , ( function ( e , t ) { var n = this ; return new P ( ( function ( e , t ) { i . call ( n , e , t ) } ) ) . then ( e , t ) } ) , { unsafe : ! 0 } ) , "function" == typeof X && s ( { global : ! 0 , enumerable : ! 0 , forced : ! 0 } , { fetch : function ( e ) { return z ( P , X . apply ( l , arguments ) ) } } ) ) ) , s ( { global : ! 0 , wrap : ! 0 , forced : Q } , { Promise : P } ) , f ( P , C , ! 1 , ! 0 ) , A ( C ) , a = u ( C ) , s ( { target : C , stat : ! 0 , forced : Q } , { reject : function ( e ) { var t = H ( this ) ; return t . reject . call ( void 0 , e ) , t . promise } } ) , s ( { target : C , stat : ! 0 , forced : c || Q } , { resolve : function ( e ) { return z ( c && this === a ? P : this , e ) } } ) , s ( { target : C , stat : ! 0 , forced : V } , { all : function ( e ) { var t = this , n = H ( t ) , r = n . resolve , o = n . reject , a = k ( ( function ( ) { var n = h ( t . resolve ) , a = [ ] , i = 0 , s = 1 ; b ( e , ( function ( e ) { var c = i ++ , l = ! 1 ; a . push ( void 0 ) , s ++ , n . call ( t , e ) . then ( ( function ( e ) { l || ( l = ! 0 , a [ c ] = e , -- s || r ( a ) ) } ) , o ) } ) ) , -- s || r ( a ) } ) ) ; return a . error && o ( a . value ) , n . promise } , race : function ( e ) { var t = this , n = H ( t ) , r = n . reject , o = k ( ( func
2020-02-07 13:02:45 +03:00
/ * !
* Toastify js 1.7 . 0
* https : //github.com/apvarun/toastify-js
* @ license MIT licensed
*
* Copyright ( C ) 2018 Varun A P
* /
2020-04-10 13:01:29 +03:00
var r , o ; r = this , o = function ( e ) { var t = function ( e ) { return new t . lib . init ( e ) } ; function n ( e , t ) { return ! ( ! e || "string" != typeof t || ! ( e . className && e . className . trim ( ) . split ( /\s+/gi ) . indexOf ( t ) > - 1 ) ) } return t . lib = t . prototype = { toastify : "1.7.0" , constructor : t , init : function ( e ) { return e || ( e = { } ) , this . options = { } , this . toastElement = null , this . options . text = e . text || "Hi there!" , this . options . duration = 0 === e . duration ? 0 : e . duration || 3e3 , this . options . selector = e . selector , this . options . callback = e . callback || function ( ) { } , this . options . destination = e . destination , this . options . newWindow = e . newWindow || ! 1 , this . options . close = e . close || ! 1 , this . options . gravity = "bottom" === e . gravity ? "toastify-bottom" : "toastify-top" , this . options . positionLeft = e . positionLeft || ! 1 , this . options . position = e . position || "" , this . options . backgroundColor = e . backgroundColor , this . options . avatar = e . avatar || "" , this . options . className = e . className || "" , this . options . stopOnFocus = void 0 === e . stopOnFocus || e . stopOnFocus , this . options . onClick = e . onClick , this } , buildToast : function ( ) { if ( ! this . options ) throw "Toastify is not initialized" ; var e = document . createElement ( "div" ) ; if ( e . className = "toastify on " + this . options . className , this . options . position ? e . className += " toastify-" + this . options . position : ! 0 === this . options . positionLeft ? ( e . className += " toastify-left" , console . warn ( "Property `positionLeft` will be depreciated in further versions. Please use `position` instead." ) ) : e . className += " toastify-right" , e . className += " " + this . options . gravity , this . options . backgroundColor && ( e . style . background = this . options . backgroundColor ) , e . innerHTML = this . options . text , "" !== this . options . avatar ) { var t = document . createElement ( "img" ) ; t . src = this . options . avatar , t . className = "toastify-avatar" , "left" == this . options . position || ! 0 === this . options . positionLeft ? e . appendChild ( t ) : e . insertAdjacentElement ( "beforeend" , t ) } if ( ! 0 === this . options . close ) { var n = document . createElement ( "span" ) ; n . innerHTML = "✖" , n . className = "toast-close" , n . addEventListener ( "click" , function ( e ) { e . stopPropagation ( ) , this . removeElement ( this . toastElement ) , window . clearTimeout ( this . toastElement . timeOutValue ) } . bind ( this ) ) ; var r = window . innerWidth > 0 ? window . innerWidth : screen . width ; ( "left" == this . options . position || ! 0 === this . options . positionLeft ) && r > 360 ? e . insertAdjacentElement ( "afterbegin" , n ) : e . appendChild ( n ) } if ( this . options . stopOnFocus && this . options . duration > 0 ) { const t = this ; e . addEventListener ( "mouseover" , ( function ( t ) { window . clearTimeout ( e . timeOutValue ) } ) ) , e . addEventListener ( "mouseleave" , ( function ( ) { e . timeOutValue = window . setTimeout ( ( function ( ) { t . removeElement ( e ) } ) , t . options . duration ) } ) ) } return void 0 !== this . options . destination && e . addEventListener ( "click" , function ( e ) { e . stopPropagation ( ) , ! 0 === this . options . newWindow ? window . open ( this . options . destination , "_blank" ) : window . location = this . options . destination } . bind ( this ) ) , "function" == typeof this . options . onClick && void 0 === this . options . destination && e . addEventListener ( "click" , function ( e ) { e . stopPropagation ( ) , this . options . onClick ( ) } . bind ( this ) ) , e } , showToast : function ( ) { var e ; if ( this . toastElement = this . buildToast ( ) , ! ( e = void 0 === this . options . selector ? document . body : document . getElementById ( this . options . selector ) ) ) throw "Root element is not defined" ; return e . insertBefore ( this . toastElement , e . firstChild ) , t . reposition ( ) , this . options . duration > 0 && ( this . toastElement . timeOutValue = window . setTimeout ( function ( ) { this . removeElement ( this . toastElement ) } . bind ( this ) , this . options . duration ) ) , this } , hideToast : function ( ) { this . toastElement . timeOutValue && clearTimeout ( this . toastElement . timeOutValue ) , this . removeElement ( this . toastElement ) } , removeElement : function ( e ) { e . className = e . className . replace ( " on" , "" ) , window . setTimeout ( function ( ) { e . parentNode && e . parentNode . removeChild ( e ) , this . options . callback . call ( e ) , t . reposition ( ) } . bind ( this ) , 400 ) } } , t . reposition = function ( ) { for ( var e , t = { top : 15 , bottom : 15 } , r = { top : 15 , bottom : 15 } , o = { top : 15 , bottom : 15 } , a = document . getElementsByClassName ( "toastify" ) , i = 0 ; i < a . length ; i ++ ) { e = ! 0 === n ( a [ i ] , "toastify-top" ) ? "toastify-top" : "toastify-bottom" ; var s = a [ i ] . offsetHeight ; e = e . substr ( 9 , e . length - 1 ) , ( window . innerWidth > 0 ? window . innerWidth : screen . width ) <= 360 ? ( a [ i ] . style [ e ] = o [ e ] + "px" , o [ e ] += s + 15 ) : ! 0 === n (
2020-02-23 05:13:31 +03:00
//! version : 0.5.28
2019-09-11 12:58:57 +03:00
//! Copyright (c) JS Foundation and other contributors
//! license : MIT
//! github.com/moment/moment-timezone
2020-04-10 13:01:29 +03:00
! function ( i , s ) { "use strict" ; e . exports ? e . exports = s ( n ( 0 ) ) : ( o = [ n ( 0 ) ] , void 0 === ( a = "function" == typeof ( r = s ) ? r . apply ( t , o ) : r ) || ( e . exports = a ) ) } ( 0 , ( function ( e ) { "use strict" ; var t , n = { } , r = { } , o = { } , a = { } , i = { } ; e && "string" == typeof e . version || k ( "Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/" ) ; var s = e . version . split ( "." ) , c = + s [ 0 ] , l = + s [ 1 ] ; function u ( e ) { return e > 96 ? e - 87 : e > 64 ? e - 29 : e - 48 } function d ( e ) { var t = 0 , n = e . split ( "." ) , r = n [ 0 ] , o = n [ 1 ] || "" , a = 1 , i = 0 , s = 1 ; for ( 45 === e . charCodeAt ( 0 ) && ( t = 1 , s = - 1 ) ; t < r . length ; t ++ ) i = 60 * i + u ( r . charCodeAt ( t ) ) ; for ( t = 0 ; t < o . length ; t ++ ) a /= 60 , i += u ( o . charCodeAt ( t ) ) * a ; return i * s } function p ( e ) { for ( var t = 0 ; t < e . length ; t ++ ) e [ t ] = d ( e [ t ] ) } function m ( e , t ) { var n , r = [ ] ; for ( n = 0 ; n < t . length ; n ++ ) r [ n ] = e [ t [ n ] ] ; return r } function f ( e ) { var t = e . split ( "|" ) , n = t [ 2 ] . split ( " " ) , r = t [ 3 ] . split ( "" ) , o = t [ 4 ] . split ( " " ) ; return p ( n ) , p ( r ) , p ( o ) , function ( e , t ) { for ( var n = 0 ; n < t ; n ++ ) e [ n ] = Math . round ( ( e [ n - 1 ] || 0 ) + 6e4 * e [ n ] ) ; e [ t - 1 ] = 1 / 0 } ( o , r . length ) , { name : t [ 0 ] , abbrs : m ( t [ 1 ] . split ( " " ) , r ) , offsets : m ( n , r ) , untils : o , population : 0 | t [ 5 ] } } function A ( e ) { e && this . _set ( f ( e ) ) } function M ( e , t ) { this . name = e , this . zones = t } function h ( e ) { var t = e . toTimeString ( ) , n = t . match ( /\([a-z ]+\)/i ) ; "GMT" === ( n = n && n [ 0 ] ? ( n = n [ 0 ] . match ( /[A-Z]/g ) ) ? n . join ( "" ) : void 0 : ( n = t . match ( /[A-Z]{3,5}/g ) ) ? n [ 0 ] : void 0 ) && ( n = void 0 ) , this . at = + e , this . abbr = n , this . offset = e . getTimezoneOffset ( ) } function g ( e ) { this . zone = e , this . offsetScore = 0 , this . abbrScore = 0 } function _ ( e , t ) { for ( var n , r ; r = 6e4 * ( ( t . at - e . at ) / 12e4 | 0 ) ; ) ( n = new h ( new Date ( e . at + r ) ) ) . offset === e . offset ? e = n : t = n ; return e } function v ( e , t ) { return e . offsetScore !== t . offsetScore ? e . offsetScore - t . offsetScore : e . abbrScore !== t . abbrScore ? e . abbrScore - t . abbrScore : e . zone . population !== t . zone . population ? t . zone . population - e . zone . population : t . zone . name . localeCompare ( e . zone . name ) } function b ( e , t ) { var n , r ; for ( p ( t ) , n = 0 ; n < t . length ; n ++ ) r = t [ n ] , i [ r ] = i [ r ] || { } , i [ r ] [ e ] = ! 0 } function y ( e ) { var t , n , r , o = e . length , s = { } , c = [ ] ; for ( t = 0 ; t < o ; t ++ ) for ( n in r = i [ e [ t ] . offset ] || { } ) r . hasOwnProperty ( n ) && ( s [ n ] = ! 0 ) ; for ( t in s ) s . hasOwnProperty ( t ) && c . push ( a [ t ] ) ; return c } function L ( ) { try { var e = Intl . DateTimeFormat ( ) . resolvedOptions ( ) . timeZone ; if ( e && e . length > 3 ) { var t = a [ T ( e ) ] ; if ( t ) return t ; k ( "Moment Timezone found " + e + " from the Intl api, but did not have that data loaded." ) } } catch ( e ) { } var n , r , o , i = function ( ) { var e , t , n , r = ( new Date ) . getFullYear ( ) - 2 , o = new h ( new Date ( r , 0 , 1 ) ) , a = [ o ] ; for ( n = 1 ; n < 48 ; n ++ ) ( t = new h ( new Date ( r , n , 1 ) ) ) . offset !== o . offset && ( e = _ ( o , t ) , a . push ( e ) , a . push ( new h ( new Date ( e . at + 6e4 ) ) ) ) , o = t ; for ( n = 0 ; n < 4 ; n ++ ) a . push ( new h ( new Date ( r + n , 0 , 1 ) ) ) , a . push ( new h ( new Date ( r + n , 6 , 1 ) ) ) ; return a } ( ) , s = i . length , c = y ( i ) , l = [ ] ; for ( r = 0 ; r < c . length ; r ++ ) { for ( n = new g ( z ( c [ r ] ) , s ) , o = 0 ; o < s ; o ++ ) n . scoreOffsetAt ( i [ o ] ) ; l . push ( n ) } return l . sort ( v ) , l . length > 0 ? l [ 0 ] . zone . name : void 0 } function T ( e ) { return ( e || "" ) . toLowerCase ( ) . replace ( /\//g , "_" ) } function w ( e ) { var t , r , o , i ; for ( "string" == typeof e && ( e = [ e ] ) , t = 0 ; t < e . length ; t ++ ) i = T ( r = ( o = e [ t ] . split ( "|" ) ) [ 0 ] ) , n [ i ] = e [ t ] , a [ i ] = r , b ( i , o [ 2 ] . split ( " " ) ) } function z ( e , t ) { e = T ( e ) ; var o , i = n [ e ] ; return i instanceof A ? i : "string" == typeof i ? ( i = new A ( i ) , n [ e ] = i , i ) : r [ e ] && t !== z && ( o = z ( r [ e ] , z ) ) ? ( ( i = n [ e ] = new A ) . _set ( o ) , i . name = a [ e ] , i ) : null } function O ( e ) { var t , n , o , i ; for ( "string" == typeof e && ( e = [ e ] ) , t = 0 ; t < e . length ; t ++ ) o = T ( ( n = e [ t ] . split ( "|" ) ) [ 0 ] ) , i = T ( n [ 1 ] ) , r [ o ] = i , a [ o ] = n [ 0 ] , r [ i ] = o , a [ i ] = n [ 1 ] } function x ( e ) { var t = "X" === e . _f || "x" === e . _f ; return ! ( ! e . _a || void 0 !== e . _tzm || t ) } function k ( e ) { "undefined" != typeof console && "function" == typeof console . error && console . error ( e ) } function S ( t ) { var n = Array . prototype . slice . call ( arguments , 0 , - 1 ) , r = arguments [ arguments . length - 1 ] , o = z ( r ) , a = e . utc . apply ( null , n ) ; return o && ! e . isMoment ( t ) && x ( a ) && a . add ( o . parse ( a ) , "minutes" ) , a . tz ( r ) , a } ( c < 2 || 2 === c && l < 6 ) && k ( "Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js " + e . version + ". See momentjs.com" ) , A . prototype = { _set : function ( e ) { this . name = e . name , this . abbrs = e . abbrs , this . untils = e . untils , this . offsets = e . offsets , this . population = e . population } , _index : function ( e ) { var t , n = + e , r = this . untils ; for ( t = 0 ; t < r . length ; t ++ ) if ( n < r [ t ] ) return t } , countries : function ( ) { var e = this . name ; return Object . keys ( o ) . filter ( ( function ( t ) { return - 1 !== o [ t ] . zones . indexOf ( e ) } ) ) } , parse : function ( e ) { va
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-04-10 13:01:29 +03:00
* /o.default.use(a.a);var g=new a.a.Store({state:{rules:[],scope:Object(c.loadState)("workflowengine","scope"),appstoreEnabled:Object(c.loadState)("workflowengine","appstoreenabled"),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(e){return e.events.map((function(t){return M({id:"".concat(e.id,"::").concat(t.eventName),entity:e},t)}))})).flat(),checks:Object(c.loadState)("workflowengine","checks")},mutations:{addRule:function(e,t){e.rules.push(M({},t,{valid:!0}))},updateRule:function(e,t){var n=e.rules.findIndex((function(e){return t.id===e.id})),r=Object.assign({},t);o.default.set(e.rules,n,r)},removeRule:function(e,t){var n=e.rules.findIndex((function(e){return t.id===e.id}));e.rules.splice(n,1)},addPluginCheck:function(e,t){o.default.set(e.plugins.checks,t.class,t)},addPluginOperator:function(e,t){t=Object.assign({color:"var(--color-primary-element)"},t,e.operations[t.id]||{}),void 0!==e.operations[t.id]&&o.default.set(e.operations,t.id,t)}},actions:{fetchRules:function(e){return f(regeneratorRuntime.mark((function t(){var n,r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,s.a.get(u(""));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)})))()},createNewRule:function(e,t){var n=null,r=[];!1===t.isComplex&&""===t.fixedEntity&&(r=[(n=(n=e.state.entities.find((function(e){return t.entities&&t.entities[0]===e.id})))||Object.values(e.state.entities)[0]).events[0].eventName]),e.commit("addRule",{id:-(new Date).getTime(),class:t.id,entity:n?n.id:t.fixedEntity,events:r,name:"",checks:[{class:null,operator:null,value:""}],operation:t.operation||""})},updateRule:function(e,t){e.commit("updateRule",M({},t,{events:"string"==typeof t.events?JSON.parse(t.events):t.events}))},removeRule:function(e,t){e.commit("removeRule",t)},pushUpdateRule:function(e,t){return f(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(0!==e.state.scope){n.next=3;break}return n.next=3,p()();case 3:if(!(t.id<0)){n.next=9;break}return n.next=6,s.a.post(u(""),t);case 6:r=n.sent,n.next=12;break;case 9:return n.next=11,s.a.put(u("/ ".concat(t.id)),t);case 11:r=n.sent;case 12:o.default.set(t," id ",r.data.ocs.data.id),e.commit(" updateRule ",t);case 14:case" end ":return n.stop()}}),n)})))()},deleteRule:function(e,t){return f(regeneratorRuntime.mark((function n(){return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.next=2,p()();case 2:return n.next=4,s.a.delete(u(" / ".concat(t.id)));case 4:e.commit(" removeRule ",t);case 5:case" end ":return n.stop()}}),n)})))()},setValid:function(e,t){var n=t.rule,r=t.valid;n.valid=r,e.commit(" updateRule ",n)}},getters:{getRules:function(e){return e.rules.filter((function(t){return void 0!==e.operations[t.class]})).sort((function(e,t){return e.id-t.id||t.class-e.class}))},getOperationForRule:function(e){return function(t){return e.operations[t.class]}},getEntityForOperation:function(e){return function(t){return e.entities.find((function(e){return t.fixedEntity===e.id}))}},getEventsForOperation:function(e){return function(t){return e.events}},getChecksForEntity:function(e){return function(t){return Object.values(e.checks).filter((function(e){return e.supportedEntities.indexOf(t)>-1||0===e.supportedEntities.length})).map((function(t){return e.plugins.checks[t.id]})).reduce((function(e,t){return e[t.class]=t,e}),{})}}}}),_=r(400),v=r(104),b=r(105),y=r(9),L=r(402),T={name:" Event " , components : { Multiselect : y . 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 . getEventsForOperation ( this . o
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-02-07 13:02:45 +03:00
* / v a r L e = [ ] . c o n c a t ( b e ( t e ) , b e ( v e ) ) ;
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-04-10 13:01: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 ( e ) { g . c o m m i t ( " a d d P l u g i n C h e c k " , e ) } , r e g i s t e r O p e r a t o r : f u n c t i o n ( e ) { g . c o m m i t ( " a d d P l u g i n O p e r a t o r " , e ) } } ) , L e . f o r E a c h ( ( f u n c t i o n ( e ) { 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 ( e ) } ) ) , o . d e f a u l t . u s e ( a . 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 ( I ) ) ( { 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