2019-09-22 01:13:13 +00:00
! function ( e ) { var t = { } ; function n ( a ) { if ( t [ a ] ) return t [ a ] . exports ; var r = t [ a ] = { i : a , l : ! 1 , exports : { } } ; return e [ a ] . call ( r . exports , r , r . exports , n ) , r . l = ! 0 , r . exports } n . m = e , n . c = t , n . d = function ( e , t , a ) { n . o ( e , t ) || Object . defineProperty ( e , t , { enumerable : ! 0 , get : a } ) } , 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 a = Object . create ( null ) ; if ( n . r ( a ) , Object . defineProperty ( a , "default" , { enumerable : ! 0 , value : e } ) , 2 & t && "string" != typeof e ) for ( var r in e ) n . d ( a , r , function ( t ) { return e [ t ] } . bind ( null , r ) ) ; return a } , 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 = "" , n ( n . s = 577 ) } ( [ function ( e , t , n ) { var a , r , i ;
2019-05-16 14:40:02 +00:00
/ * !
* jQuery JavaScript Library v2 . 1.4
* http : //jquery.com/
*
* Includes Sizzle . js
* http : //sizzlejs.com/
*
* Copyright 2005 , 2014 jQuery Foundation , Inc . and other contributors
* Released under the MIT license
* http : //jquery.org/license
*
* Date : 2015 - 04 - 28 T16 : 01 Z
2019-09-25 07:35:12 +00:00
* /r="undefined"!=typeof window?window:this,i=function(n,r){var i=[],s=i.slice,o=i.concat,d=i.push,u=i.indexOf,l={},c=l.toString,_=l.hasOwnProperty,m={},h=n.document,f=function(e,t){return new f.fn.init(e,t)},p=/ ^ [ \ s\uFEFF \ xA0 ] + | [ \ s\uFEFF \ xA0 ] + $ / g , y = /^-ms-/ , M = /-([\da-z])/gi , g = function ( e , t ) { return t . toUpperCase ( ) } ; function v ( e ) { var t = "length" in e && e . length , n = f . type ( e ) ; return "function" !== n && ! f . isWindow ( e ) && ( ! ( 1 !== e . nodeType || ! t ) || "array" === n || 0 === t || "number" == typeof t && t > 0 && t - 1 in e ) } f . fn = f . prototype = { jquery : "2.1.4" , constructor : f , selector : "" , length : 0 , toArray : function ( ) { return s . call ( this ) } , get : function ( e ) { return null != e ? e < 0 ? this [ e + this . length ] : this [ e ] : s . call ( this ) } , pushStack : function ( e ) { var t = f . merge ( this . constructor ( ) , e ) ; return t . prevObject = this , t . context = this . context , t } , each : function ( e , t ) { return f . each ( this , e , t ) } , map : function ( e ) { return this . pushStack ( f . map ( this , ( function ( t , n ) { return e . call ( t , n , t ) } ) ) ) } , slice : function ( ) { return this . pushStack ( s . apply ( this , arguments ) ) } , first : function ( ) { return this . eq ( 0 ) } , last : function ( ) { return this . eq ( - 1 ) } , eq : function ( e ) { var t = this . length , n = + e + ( e < 0 ? t : 0 ) ; return this . pushStack ( n >= 0 && n < t ? [ this [ n ] ] : [ ] ) } , end : function ( ) { return this . prevObject || this . constructor ( null ) } , push : d , sort : i . sort , splice : i . splice } , f . extend = f . fn . extend = function ( ) { var e , t , n , a , r , i , s = arguments [ 0 ] || { } , o = 1 , d = arguments . length , u = ! 1 ; for ( "boolean" == typeof s && ( u = s , s = arguments [ o ] || { } , o ++ ) , "object" == typeof s || f . isFunction ( s ) || ( s = { } ) , o === d && ( s = this , o -- ) ; o < d ; o ++ ) if ( null != ( e = arguments [ o ] ) ) for ( t in e ) n = s [ t ] , s !== ( a = e [ t ] ) && ( u && a && ( f . isPlainObject ( a ) || ( r = f . isArray ( a ) ) ) ? ( r ? ( r = ! 1 , i = n && f . isArray ( n ) ? n : [ ] ) : i = n && f . isPlainObject ( n ) ? n : { } , s [ t ] = f . extend ( u , i , a ) ) : void 0 !== a && ( s [ t ] = a ) ) ; return s } , f . extend ( { expando : "jQuery" + ( "2.1.4" + Math . random ( ) ) . replace ( /\D/g , "" ) , isReady : ! 0 , error : function ( e ) { throw new Error ( e ) } , noop : function ( ) { } , isFunction : function ( e ) { return "function" === f . type ( e ) } , isArray : Array . isArray , isWindow : function ( e ) { return null != e && e === e . window } , isNumeric : function ( e ) { return ! f . isArray ( e ) && e - parseFloat ( e ) + 1 >= 0 } , isPlainObject : function ( e ) { return ! ( "object" !== f . type ( e ) || e . nodeType || f . isWindow ( e ) || e . constructor && ! _ . call ( e . constructor . prototype , "isPrototypeOf" ) ) } , isEmptyObject : function ( e ) { var t ; for ( t in e ) return ! 1 ; return ! 0 } , type : function ( e ) { return null == e ? e + "" : "object" == typeof e || "function" == typeof e ? l [ c . call ( e ) ] || "object" : typeof e } , globalEval : function ( e ) { var t , n = eval ; ( e = f . trim ( e ) ) && ( 1 === e . indexOf ( "use strict" ) ? ( ( t = h . createElement ( "script" ) ) . text = e , h . head . appendChild ( t ) . parentNode . removeChild ( t ) ) : n ( e ) ) } , camelCase : function ( e ) { return e . replace ( y , "ms-" ) . replace ( M , g ) } , nodeName : function ( e , t ) { return e . nodeName && e . nodeName . toLowerCase ( ) === t . toLowerCase ( ) } , each : function ( e , t , n ) { var a = 0 , r = e . length , i = v ( e ) ; if ( n ) { if ( i ) for ( ; a < r && ! 1 !== t . apply ( e [ a ] , n ) ; a ++ ) ; else for ( a in e ) if ( ! 1 === t . apply ( e [ a ] , n ) ) break } else if ( i ) for ( ; a < r && ! 1 !== t . call ( e [ a ] , a , e [ a ] ) ; a ++ ) ; else for ( a in e ) if ( ! 1 === t . call ( e [ a ] , a , e [ a ] ) ) break ; return e } , trim : function ( e ) { return null == e ? "" : ( e + "" ) . replace ( p , "" ) } , makeArray : function ( e , t ) { var n = t || [ ] ; return null != e && ( v ( Object ( e ) ) ? f . merge ( n , "string" == typeof e ? [ e ] : e ) : d . call ( n , e ) ) , n } , inArray : function ( e , t , n ) { return null == t ? - 1 : u . call ( t , e , n ) } , merge : function ( e , t ) { for ( var n = + t . length , a = 0 , r = e . length ; a < n ; a ++ ) e [ r ++ ] = t [ a ] ; return e . length = r , e } , grep : function ( e , t , n ) { for ( var a = [ ] , r = 0 , i = e . length , s = ! n ; r < i ; r ++ ) ! t ( e [ r ] , r ) !== s && a . push ( e [ r ] ) ; return a } , map : function ( e , t , n ) { var a , r = 0 , i = e . length , s = [ ] ; if ( v ( e ) ) for ( ; r < i ; r ++ ) null != ( a = t ( e [ r ] , r , n ) ) && s . push ( a ) ; else for ( r in e ) null != ( a = t ( e [ r ] , r , n ) ) && s . push ( a ) ; return o . apply ( [ ] , s ) } , guid : 1 , proxy : function ( e , t ) { var n , a , r ; if ( "string" == typeof t && ( n = e [ t ] , t = e , e = n ) , f . isFunction ( e ) ) return a = s . call ( arguments , 2 ) , ( r = function ( ) { return e . apply ( t || this , a . concat ( s . call ( arguments ) ) ) } ) . guid = e . guid = e . guid || f . guid ++ , r } , now : Date . now , support : m } ) , f . each ( "Boolean Number String Function Array Date RegExp Object Error" . split ( " " ) , ( function ( e , t ) { l [ "[object " + t + "]" ] = t . toLowerCase ( ) } ) ) ; var L =
2019-05-16 14:40:02 +00:00
/ * !
* Sizzle CSS Selector Engine v2 . 2.0 - pre
* http : //sizzlejs.com/
*
* Copyright 2008 , 2014 jQuery Foundation , Inc . and other contributors
* Released under the MIT license
* http : //jquery.org/license
*
* Date : 2014 - 12 - 16
* /
2019-09-26 18:12:24 +00:00
function ( e ) { var t , n , a , r , i , s , o , d , u , l , c , _ , m , h , f , p , y , M , g , v = "sizzle" + 1 * new Date , L = e . document , Y = 0 , k = 0 , w = se ( ) , T = se ( ) , D = se ( ) , b = function ( e , t ) { return e === t && ( c = ! 0 ) , 0 } , x = 1 << 31 , S = { } . hasOwnProperty , H = [ ] , j = H . pop , E = H . push , P = H . push , O = H . slice , A = function ( e , t ) { for ( var n = 0 , a = e . length ; n < a ; n ++ ) if ( e [ n ] === t ) return n ; return - 1 } , C = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped" , N = "[\\x20\\t\\r\\n\\f]" , F = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+" , W = F . replace ( "w" , "w#" ) , R = "\\[" + N + "*(" + F + ")(?:" + N + "*([*^$|!~]?=)" + N + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + W + "))|)" + N + "*\\]" , I = ":(" + F + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + R + ")*)|.*)\\)|)" , z = new RegExp ( N + "+" , "g" ) , U = new RegExp ( "^" + N + "+|((?:^|[^\\\\])(?:\\\\.)*)" + N + "+$" , "g" ) , $ = new RegExp ( "^" + N + "*," + N + "*" ) , J = new RegExp ( "^" + N + "*([>+~]|" + N + ")" + N + "*" ) , q = new RegExp ( "=" + N + "*([^\\]'\"]*?)" + N + "*\\]" , "g" ) , B = new RegExp ( I ) , V = new RegExp ( "^" + W + "$" ) , G = { ID : new RegExp ( "^#(" + F + ")" ) , CLASS : new RegExp ( "^\\.(" + F + ")" ) , TAG : new RegExp ( "^(" + F . replace ( "w" , "w*" ) + ")" ) , ATTR : new RegExp ( "^" + R ) , PSEUDO : new RegExp ( "^" + I ) , CHILD : new RegExp ( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + N + "*(even|odd|(([+-]|)(\\d*)n|)" + N + "*(?:([+-]|)" + N + "*(\\d+)|))" + N + "*\\)|)" , "i" ) , bool : new RegExp ( "^(?:" + C + ")$" , "i" ) , needsContext : new RegExp ( "^" + N + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + N + "*((?:-\\d)?\\d*)" + N + "*\\)|)(?=[^-]|$)" , "i" ) } , K = /^(?:input|select|textarea|button)$/i , X = /^h\d$/i , Z = /^[^{]+\{\s*\[native \w/ , Q = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/ , ee = /[+~]/ , te = /'|\\/g , ne = new RegExp ( "\\\\([\\da-f]{1,6}" + N + "?|(" + N + ")|.)" , "ig" ) , ae = function ( e , t , n ) { var a = "0x" + t - 65536 ; return a != a || n ? t : a < 0 ? String . fromCharCode ( a + 65536 ) : String . fromCharCode ( a >> 10 | 55296 , 1023 & a | 56320 ) } , re = function ( ) { _ ( ) } ; try { P . apply ( H = O . call ( L . childNodes ) , L . childNodes ) , H [ L . childNodes . length ] . nodeType } catch ( e ) { P = { apply : H . length ? function ( e , t ) { E . apply ( e , O . call ( t ) ) } : function ( e , t ) { for ( var n = e . length , a = 0 ; e [ n ++ ] = t [ a ++ ] ; ) ; e . length = n - 1 } } } function ie ( e , t , a , r ) { var i , o , u , l , c , h , y , M , Y , k ; if ( ( t ? t . ownerDocument || t : L ) !== m && _ ( t ) , a = a || [ ] , l = ( t = t || m ) . nodeType , "string" != typeof e || ! e || 1 !== l && 9 !== l && 11 !== l ) return a ; if ( ! r && f ) { if ( 11 !== l && ( i = Q . exec ( e ) ) ) if ( u = i [ 1 ] ) { if ( 9 === l ) { if ( ! ( o = t . getElementById ( u ) ) || ! o . parentNode ) return a ; if ( o . id === u ) return a . push ( o ) , a } else if ( t . ownerDocument && ( o = t . ownerDocument . getElementById ( u ) ) && g ( t , o ) && o . id === u ) return a . push ( o ) , a } else { if ( i [ 2 ] ) return P . apply ( a , t . getElementsByTagName ( e ) ) , a ; if ( ( u = i [ 3 ] ) && n . getElementsByClassName ) return P . apply ( a , t . getElementsByClassName ( u ) ) , a } if ( n . qsa && ( ! p || ! p . test ( e ) ) ) { if ( M = y = v , Y = t , k = 1 !== l && e , 1 === l && "object" !== t . nodeName . toLowerCase ( ) ) { for ( h = s ( e ) , ( y = t . getAttribute ( "id" ) ) ? M = y . replace ( te , "\\$&" ) : t . setAttribute ( "id" , M ) , M = "[id='" + M + "'] " , c = h . length ; c -- ; ) h [ c ] = M + pe ( h [ c ] ) ; Y = ee . test ( e ) && he ( t . parentNode ) || t , k = h . join ( "," ) } if ( k ) try { return P . apply ( a , Y . querySelectorAll ( k ) ) , a } catch ( e ) { } finally { y || t . removeAttribute ( "id" ) } } } return d ( e . replace ( U , "$1" ) , t , a , r ) } function se ( ) { var e = [ ] ; return function t ( n , r ) { return e . push ( n + " " ) > a . cacheLength && delete t [ e . shift ( ) ] , t [ n + " " ] = r } } function oe ( e ) { return e [ v ] = ! 0 , e } function de ( e ) { var t = m . createElement ( "div" ) ; try { return ! ! e ( t ) } catch ( e ) { return ! 1 } finally { t . parentNode && t . parentNode . removeChild ( t ) , t = null } } function ue ( e , t ) { for ( var n = e . split ( "|" ) , r = e . length ; r -- ; ) a . attrHandle [ n [ r ] ] = t } function le ( e , t ) { var n = t && e , a = n && 1 === e . nodeType && 1 === t . nodeType && ( ~ t . sourceIndex || x ) - ( ~ e . sourceIndex || x ) ; if ( a ) return a ; if ( n ) for ( ; n = n . nextSibling ; ) if ( n === t ) return - 1 ; return e ? 1 : - 1 } function ce ( e ) { return function ( t ) { return "input" === t . nodeName . toLowerCase ( ) && t . type === e } } function _e ( e ) { return function ( t ) { var n = t . nodeName . toLowerCase ( ) ; return ( "input" === n || "button" === n ) && t . type === e } } function me ( e ) { return oe ( ( function ( t ) { return t = + t , oe ( ( function ( n , a ) { for ( var r , i = e ( [ ] , n . length , t ) , s = i . length ; s -- ; ) n [ r = i [ s ] ] && ( n [ r ] = ! ( a [ r ] = n [ r ] ) ) } ) ) } ) ) } function he ( e ) { return e && void 0 !== e . getElementsByTagName && e } for ( t in n = ie . support = { } , i = ie . isXML = function ( e ) { var t = e && ( e . ownerDocument || e ) . documentElement ; return ! ! t && "HTML" !== t . nodeName } , _ = ie . setDocument = function ( e ) { var
2019-05-16 14:40:02 +00:00
/ *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
2019-09-27 06:11:44 +00:00
* /Se.customResults={},Se.resultTypes={};var He=Se,je=window._theme||{},Ee=r(1),Pe=r.n(Ee),Oe={_handlers:[],_pushState:function(e,t,n){var a;if(a="string"==typeof e?e:Je.buildQueryString(e),window.history.pushState){if(t=t||location.pathname+"?"+a,navigator.userAgent.toLowerCase().indexOf("firefox")>-1&&parseInt(navigator.userAgent.split("/ ").pop())<51)for(var r,i=document.querySelectorAll('[fill^=" url ( # "], [stroke^=" url ( # "], [filter^=" url ( # invert "]'),s=0,o=i.length;s<o;s++)(r=i[s]).style.fill=r.style.fill,r.style.stroke=r.style.stroke,r.removeAttribute(" filter "),r.setAttribute(" filter "," url ( # invert ) ");n?window.history.replaceState(e," ",t):window.history.pushState(e," ",t)}else window.location.hash=" ? "+a,this._cancelPop=!0},pushState:function(e,t){return this._pushState(e,t,!1)},replaceState:function(e,t){return this._pushState(e,t,!0)},addOnPopStateHandler:function(e){this._handlers.push(e)},_parseHashQuery:function(){var e=window.location.hash,t=e.indexOf(" ? ");return t>=0?e.substr(t+1):e.length?e.substr(1):" "},_decodeQuery:function(e){return e.replace(/\+/g," " ) } , parseUrlQuery : function ( ) { var e , t = this . _parseHashQuery ( ) ; return t && ( e = Je . parseQueryString ( this . _decodeQuery ( t ) ) ) , ( e = _ . a . extend ( e || { } , Je . parseQueryString ( this . _decodeQuery ( location . search ) ) ) ) || { } } , _onPopState : function ( e ) { var t ; if ( this . _cancelPop ) this . _cancelPop = ! 1 ; else if ( this . _handlers . length ) { t = e && e . state , _ . a . isString ( t ) ? t = Je . parseQueryString ( t ) : t || ( t = this . parseUrlQuery ( ) || { } ) ; for ( var n = 0 ; n < this . _handlers . length ; n ++ ) this . _handlers [ n ] ( t ) } } } , Ae = r ( 47 ) ;
2019-05-16 14:40:02 +00:00
/ *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ 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/>.
* /
/ *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
* /
2019-09-26 18:12:24 +00:00
function Ce ( e ) { for ( var t , n = [ ] , a = 0 , r = - 1 , i = 0 ; a < e . length ; ) { t = e . charAt ( a ) ; var s = ! i && "." === t || t >= "0" && t <= "9" ; s !== i && ( n [ ++ r ] = "" , i = s ) , n [ r ] += t , a ++ } return n } var Ne = { History : Oe , humanFileSize : Ae . a , computerFileSize : function ( e ) { if ( "string" != typeof e ) return null ; var t = e . toLowerCase ( ) . trim ( ) , n = null , a = t . match ( /^[\s+]?([0-9]*)(\.([0-9]+))?( +)?([kmgtp]?b?)$/i ) ; return null === a ? null : ( n = parseFloat ( t ) , isFinite ( n ) ? ( a [ 5 ] && ( n *= { b : 1 , k : 1024 , kb : 1024 , mb : 1048576 , m : 1048576 , gb : 1073741824 , g : 1073741824 , tb : 1099511627776 , t : 1099511627776 , pb : 0x4000000000000 , p : 0x4000000000000 } [ a [ 5 ] ] ) , n = Math . round ( n ) ) : null ) } , formatDate : function ( e , t ) { return t = t || "LLL" , Pe ( ) ( e ) . format ( t ) } , relativeModifiedDate : function ( e ) { var n = Pe ( ) ( ) . diff ( Pe ( ) ( e ) ) ; return n >= 0 && n < 45e3 ? t ( "core" , "seconds ago" ) : Pe ( ) ( e ) . fromNow ( ) } , isIE : function ( ) { return s ( ) ( "html" ) . hasClass ( "ie" ) } , getScrollBarWidth : function ( ) { if ( this . _scrollBarWidth ) return this . _scrollBarWidth ; var e = document . createElement ( "p" ) ; e . style . width = "100%" , e . style . height = "200px" ; var t = document . createElement ( "div" ) ; t . style . position = "absolute" , t . style . top = "0px" , t . style . left = "0px" , t . style . visibility = "hidden" , t . style . width = "200px" , t . style . height = "150px" , t . style . overflow = "hidden" , t . appendChild ( e ) , document . body . appendChild ( t ) ; var n = e . offsetWidth ; t . style . overflow = "scroll" ; var a = e . offsetWidth ; return n === a && ( a = t . clientWidth ) , document . body . removeChild ( t ) , this . _scrollBarWidth = n - a , this . _scrollBarWidth } , stripTime : function ( e ) { return new Date ( e . getFullYear ( ) , e . getMonth ( ) , e . getDate ( ) ) } , naturalSortCompare : function ( e , t ) { var n , a = Ce ( e ) , r = Ce ( t ) ; for ( n = 0 ; a [ n ] && r [ n ] ; n ++ ) if ( a [ n ] !== r [ n ] ) { var i = Number ( a [ n ] ) , s = Number ( r [ n ] ) ; return i == a [ n ] && s == r [ n ] ? i - s : a [ n ] . localeCompare ( r [ n ] , Je . getLanguage ( ) ) } return a . length - r . length } , waitFor : function ( e , t ) { ! function n ( ) { ! 0 !== e ( ) && setTimeout ( n , t ) } ( ) } , isCookieSetToValue : function ( e , t ) { for ( var n = document . cookie . split ( ";" ) , a = 0 ; a < n . length ; a ++ ) { var r = n [ a ] . split ( "=" ) ; if ( r [ 0 ] . trim ( ) === e && r [ 1 ] . trim ( ) === t ) return ! 0 } return ! 1 } } , Fe = window . _oc _debug , We = Fe , Re = function ( e ) { return window . location = e } , Ie = function ( ) { return window . location . reload ( ) } , ze = window . _oc _webroot ;
2019-05-16 14:40:02 +00:00
/ *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
2019-09-26 18:12:24 +00:00
* / i f ( v o i d 0 = = = z e ) { v a r U e = ( z e = l o c a t i o n . p a t h n a m e ) . i n d e x O f ( " / i n d e x . p h p / " ) ; z e = - 1 ! = = U e ? z e . s u b s t r ( 0 , U e ) : z e . s u b s t r ( 0 , z e . l a s t I n d e x O f ( " / " ) ) } v a r $ e = z e , J e = a . a = { c o r e A p p s : Z . i , m e n u S p e e d : Z . j , P E R M I S S I O N _ A L L : Z . a , P E R M I S S I O N _ C R E A T E : Z . b , P E R M I S S I O N _ D E L E T E : Z . c , P E R M I S S I O N _ N O N E : Z . d , P E R M I S S I O N _ R E A D : Z . e , P E R M I S S I O N _ S H A R E : Z . f , P E R M I S S I O N _ U P D A T E : Z . g , T A G _ F A V O R I T E : Z . h , f i l e I s B l a c k l i s t e d : f u n c t i o n ( e ) { r e t u r n ! ! e . m a t c h ( X . b l a c k l i s t _ f i l e s _ r e g e x ) } , a d d S c r i p t : u , a d d S t y l e : l , A p p s : y . a , A p p C o n f i g : v , a p p C o n f i g : g , a p p S e t t i n g s : Y , a p p s w e b r o o t s : w , B a c k b o n e : z , C o n t a c t s M e n u : Q . a , c o n f i g : X , c u r r e n t U s e r : n e , d i a l o g s : s e , E v e n t S o u r c e : u e , g e t C u r r e n t U s e r : a e , i s U s e r A d m i n : w e , L 1 0 N : T e . a , _ a j a x C o n n e c t i o n L o s t H a n d l e r : h , _ p r o c e s s A j a x E r r o r : f , r e g i s t e r X H R F o r E r r o r P r o c e s s i n g : p , _ c a p a b i l i t i e s : m e ( ) , g e t C a p a b i l i t i e s : m e , h i d e M e n u s : L e , r e g i s t e r M e n u : g e , s h o w M e n u : Y e , u n r e g i s t e r M e n u : v e , b a s e n a m e : J , e n c o d e P a t h : $ , d i r n a m e : q , i s S a m e P a t h : B , j o i n P a t h s : V , g e t H o s t : f e , g e t H o s t N a m e : p e , g e t P o r t : y e , g e t P r o t o c o l : h e , g e t C a n o n i c a l L o c a l e : T e . b , g e t L o c a l e : T e . d , g e t L a n g u a g e : T e . c , a d d T r a n s l a t i o n s : T e . a . l o a d , b u i l d Q u e r y S t r i n g : G . a , p a r s e Q u e r y S t r i n g : G . b , m s g : D e , N o t i f i c a t i o n : m , P a s s w o r d C o n f i r m a t i o n : b e . a , P l u g i n s : x e , s e a r c h : H e , t h e m e : j e , U t i l : N e , d e b u g : W e , f i l e P a t h : L . a , g e n e r a t e U r l : L . b , g e t : l e ( w i n d o w ) , s e t : c e ( w i n d o w ) , g e t R o o t P a t h : L . c , i m a g e P a t h : L . d , r e d i r e c t : R e , r e l o a d : I e , r e q u e s t T o k e n : O b j e c t ( o e . a ) ( ) , l i n k T o : L . e , l i n k T o O C S : L . f , l i n k T o R e m o t e : L . g , l i n k T o R e m o t e B a s e : L . h , w e b r o o t : $ e } ;
2019-05-16 14:40:02 +00:00
/ *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
2019-09-13 09:04:31 +00:00
* / O b j e c t ( o e . c ) ( ( f u n c t i o n ( e ) { r e t u r n O C . r e q u e s t T o k e n = e } ) ) } , , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; n . d ( t , " i " , ( f u n c t i o n ( ) { r e t u r n a } ) ) , n . d ( t , " j " , ( f u n c t i o n ( ) { r e t u r n r } ) ) , n . d ( t , " d " , ( f u n c t i o n ( ) { r e t u r n i } ) ) , n . d ( t , " b " , ( f u n c t i o n ( ) { r e t u r n s } ) ) , n . d ( t , " e " , ( f u n c t i o n ( ) { r e t u r n o } ) ) , n . d ( t , " g " , ( f u n c t i o n ( ) { r e t u r n d } ) ) , n . d ( t , " c " , ( f u n c t i o n ( ) { r e t u r n u } ) ) , n . d ( t , " f " , ( f u n c t i o n ( ) { r e t u r n l } ) ) , n . d ( t , " a " , ( f u n c t i o n ( ) { r e t u r n c } ) ) , n . d ( t , " h " , ( f u n c t i o n ( ) { r e t u r n _ } ) ) ;
2019-05-16 14:40:02 +00:00
/ *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software = you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation either version 3 of the
* License or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not see < http : //www.gnu.org/licenses/>.
* /
2019-09-26 18:12:24 +00:00
var a = [ "" , "admin" , "log" , "core/search" , "core" , "3rdparty" ] , r = 50 , i = 0 , s = 4 , o = 1 , d = 2 , u = 8 , l = 16 , c = 31 , _ = "_$!<Favorite>!$_" } , function ( e , t , n ) { "use strict" ; n . d ( t , "e" , ( function ( ) { return o } ) ) , n . d ( t , "h" , ( function ( ) { return d } ) ) , n . d ( t , "g" , ( function ( ) { return u } ) ) , n . d ( t , "f" , ( function ( ) { return l } ) ) , n . d ( t , "b" , ( function ( ) { return c } ) ) , n . d ( t , "d" , ( function ( ) { return _ } ) ) , n . d ( t , "a" , ( function ( ) { return m } ) ) , n . d ( t , "c" , ( function ( ) { return h } ) ) ; var a = n ( 2 ) , r = n . n ( a ) , i = n ( 3 ) , s = n ( 5 ) , o = function ( e , t ) { return m ( e , "" , t ) } , d = function ( e ) { return h ( ) + "/remote.php/" + e } , u = function ( e ) { return window . location . protocol + "//" + window . location . host + d ( e ) } , l = function ( e , t ) { return t = 2 !== t ? 1 : 2 , window . location . protocol + "//" + window . location . host + h ( ) + "/ocs/v" + t + ".php/" + e + "/" } , c = function ( e , t , n ) { var a = n || { } ; r . a . defaults ( a , { escape : ! 0 } ) ; var s = function ( e , t ) { return t = t || [ ] , e . replace ( /{([^{}]*)}/g , ( function ( e , n ) { var r = t [ n ] ; return a . escape ? "string" == typeof r || "number" == typeof r ? encodeURIComponent ( r ) : encodeURIComponent ( e ) : "string" == typeof r || "number" == typeof r ? r : e } ) ) } ; return "/" !== e . charAt ( 0 ) && ( e = "/" + e ) , ! 0 === i . a . config . modRewriteWorking ? h ( ) + s ( e , t ) : h ( ) + "/index.php" + s ( e , t ) } , _ = function ( e , t ) { return - 1 === t . indexOf ( "." ) ? m ( e , "img" , t + ".svg" ) : m ( e , "img" , t ) } , m = function ( e , t , n ) { var a = - 1 !== s . i . indexOf ( e ) , r = h ( ) ; return "php" !== n . substring ( n . length - 3 ) || a ? "php" === n . substring ( n . length - 3 ) || a ? ( r += "core" !== e && "search" !== e || "ajax" !== t ? "/" : "/index.php/" , a || ( r += "apps/" ) , "" !== e && ( r += e += "/" ) , t && ( r += t + "/" ) , r += n ) : ( r = i . a . appswebroots [ e ] , t && ( r += "/" + t + "/" ) , "/" !== r . substring ( r . length - 1 ) && ( r += "/" ) , r += n ) : ( r += "/index.php/apps/" + e , "index.php" !== n && ( r += "/" , t && ( r += encodeURI ( t + "/" ) ) , r += n ) ) , r } , h = function ( ) { return i . a . webroot } } , , , , , function ( e , t , n ) { "use strict" ; t . _ _esModule = ! 0 , t . extend = o , t . indexOf = function ( e , t ) { for ( var n = 0 , a = e . length ; n < a ; n ++ ) if ( e [ n ] === t ) return n ; return - 1 } , t . escapeExpression = function ( e ) { if ( "string" != typeof e ) { if ( e && e . toHTML ) return e . toHTML ( ) ; if ( null == e ) return "" ; if ( ! e ) return e + "" ; e = "" + e } if ( ! i . test ( e ) ) return e ; return e . replace ( r , s ) } , t . isEmpty = function ( e ) { return ! e && 0 !== e || ! ( ! l ( e ) || 0 !== e . length ) } , t . createFrame = function ( e ) { var t = o ( { } , e ) ; return t . _parent = e , t } , t . blockParams = function ( e , t ) { return e . path = t , e } , t . appendContextPath = function ( e , t ) { return ( e ? e + "." : "" ) + t } ; var a = { "&" : "&" , "<" : "<" , ">" : ">" , '"' : """ , "'" : "'" , "`" : "`" , "=" : "=" } , r = /[&<>"'`=]/g , i = /[&<>"'`=]/ ; function s ( e ) { return a [ e ] } function o ( e ) { for ( var t = 1 ; t < arguments . length ; t ++ ) for ( var n in arguments [ t ] ) Object . prototype . hasOwnProperty . call ( arguments [ t ] , n ) && ( e [ n ] = arguments [ t ] [ n ] ) ; return e } var d = Object . prototype . toString ; t . toString = d ; var u = function ( e ) { return "function" == typeof e } ; u ( /x/ ) && ( t . isFunction = u = function ( e ) { return "function" == typeof e && "[object Function]" === d . call ( e ) } ) , t . isFunction = u ; var l = Array . isArray || function ( e ) { return ! ( ! e || "object" != typeof e ) && "[object Array]" === d . call ( e ) } ; t . isArray = l } , function ( e , t , n ) { ( function ( a ) { var r , i , s ; s = "object" == typeof self && self . self === self && self || "object" == typeof a && a . global === a && a , r = [ n ( 2 ) , n ( 0 ) , t ] , void 0 === ( i = function ( e , t , n ) { s . Backbone = function ( e , t , n , a ) { var r = e . Backbone , i = Array . prototype . slice ; t . VERSION = "1.4.0" , t . $ = a , t . noConflict = function ( ) { return e . Backbone = r , this } , t . emulateHTTP = ! 1 , t . emulateJSON = ! 1 ; var s , o = t . Events = { } , d = /\s+/ , u = function ( e , t , a , r , i ) { var s , o = 0 ; if ( a && "object" == typeof a ) { void 0 !== r && "context" in i && void 0 === i . context && ( i . context = r ) ; for ( s = n . keys ( a ) ; o < s . length ; o ++ ) t = u ( e , t , s [ o ] , a [ s [ o ] ] , i ) } else if ( a && d . test ( a ) ) for ( s = a . split ( d ) ; o < s . length ; o ++ ) t = e ( t , s [ o ] , r , i ) ; else t = e ( t , a , r , i ) ; return t } ; o . on = function ( e , t , n ) { return this . _events = u ( l , this . _events || { } , e , t , { context : n , ctx : this , listening : s } ) , s && ( ( this . _listeners || ( this . _listeners = { } ) ) [ s . id ] = s , s . interop = ! 1 ) , this } , o . listenTo = function ( e , t , a ) { if ( ! e ) return this ; var r = e . _listenId || ( e . _listenId = n . uniqueId ( "l" ) ) , i = this . _listeningTo || ( this . _listeningTo = { } ) , o = s = i [ r ] ; o || ( this . _listenId || ( this . _listenId = n . uniqueId ( "l" ) ) , o = s = i [ r ] = new p ( this , e ) ) ; var d = c ( e , t , a , this ) ; if ( s = void 0 , d ) throw d ; return o . interop && o . on ( t , a ) , this } ; var l = function ( e , t , n , a ) { if ( n ) { var r = e [ t ] || ( e [ t ] = [ ] ) , i = a . context , s = a . ctx , o = a . listening ; o && o . count ++ , r . push ( { callback : n , context : i , ctx : i || s , listening : o } ) } return e } , c = fun
2019-05-31 11:27:29 +00:00
/ *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
* /
2019-09-25 07:35:12 +00:00
window . _oc _l10n _registry _translations = window . _oc _l10n _registry _translations || { } , window . _oc _l10n _registry _plural _functions = window . _oc _l10n _registry _plural _functions || { } ; var _ = function ( e , t , n ) { m ( e ) ? function ( e , t , n ) { window . _oc _l10n _registry _translations [ e ] = Object . assign ( window . _oc _l10n _registry _translations [ e ] , t ) , window . _oc _l10n _registry _plural _functions [ e ] = n } ( e , t , n ) : function ( e , t , n ) { window . _oc _l10n _registry _translations [ e ] = t , window . _oc _l10n _registry _plural _functions [ e ] = n } ( e , t , n ) } , m = function ( e ) { return void 0 !== window . _oc _l10n _registry _translations [ e ] && void 0 !== window . _oc _l10n _registry _plural _functions [ e ] } , h = function ( e ) { return { translations : window . _oc _l10n _registry _translations [ e ] || { } , pluralFunction : window . _oc _l10n _registry _plural _functions [ e ] } } ; function f ( e ) { return ( f = "function" == typeof Symbol && "symbol" == typeof Symbol . iterator ? function ( e ) { return typeof e } : function ( e ) { return e && "function" == typeof Symbol && e . constructor === Symbol && e !== Symbol . prototype ? "symbol" : typeof e } ) ( e ) } n . d ( t , "b" , ( function ( ) { return y } ) ) , n . d ( t , "d" , ( function ( ) { return M } ) ) , n . d ( t , "c" , ( function ( ) { return g } ) ) ; var p = { load : function ( e , t ) { if ( m ( e ) || "en" === c . a . getLocale ( ) ) { var n = s . a . Deferred ( ) , a = n . promise ( ) ; return a . then ( t ) , n . resolve ( ) , a } var r = this , i = c . a . filePath ( e , "l10n" , c . a . getLocale ( ) + ".json" ) ; return s . a . get ( i ) . then ( ( function ( t ) { t . translations && r . register ( e , t . translations , t . pluralForm ) } ) ) . then ( t ) } , register : function ( e , t , n ) { _ ( e , t , this . _getPlural ) } , _unregister : function ( e ) { delete window . _oc _l10n _registry _translations [ e ] , delete window . _oc _l10n _registry _plural _functions [ e ] } , translate : function ( e , t , n , a , i ) { var s = i || { } ; r . a . defaults ( s , { escape : ! 0 } ) ; var o = t , u = h ( e ) . translations [ t ] ; return void 0 !== u && ( o = u ) , "object" === f ( n ) || void 0 !== a ? d . a . sanitize ( function ( e , t , n ) { return e . replace ( /%n/g , n ) . replace ( /{([^{}]*)}/g , ( function ( e , n ) { var a = t [ n ] ; return "string" == typeof a || "number" == typeof a ? s . escape ? d . a . sanitize ( escapeHTML ( a ) ) : d . a . sanitize ( a ) : d . a . sanitize ( e ) } ) ) } ( o , n , a ) ) : d . a . sanitize ( o ) } , translatePlural : function ( e , t , n , a , r , i ) { var o = "_" + t + "_::_" + n + "_" , d = h ( e ) , u = d . translations [ o ] ; if ( void 0 !== u ) { var l = u ; if ( s . a . isArray ( l ) ) { var c = d . pluralFunction ( a ) ; return this . translate ( e , l [ c ] , r , a , i ) } } return 1 === a ? this . translate ( e , t , r , a , i ) : this . translate ( e , n , r , a , i ) } , _getPlural : function ( e ) { var t = c . a . getLanguage ( ) ; if ( "pt_BR" === t && ( t = "xbr" ) , void 0 === t || "" === t ) return 1 == e ? 0 : 1 ; switch ( t . length > 3 && ( t = t . substring ( 0 , t . lastIndexOf ( "_" ) ) ) , t ) { case "az" : case "bo" : case "dz" : case "id" : case "ja" : case "jv" : case "ka" : case "km" : case "kn" : case "ko" : case "ms" : case "th" : case "tr" : case "vi" : case "zh" : return 0 ; case "af" : case "bn" : case "bg" : case "ca" : case "da" : case "de" : case "el" : case "en" : case "eo" : case "es" : case "et" : case "eu" : case "fa" : case "fi" : case "fo" : case "fur" : case "fy" : case "gl" : case "gu" : case "ha" : case "he" : case "hu" : case "is" : case "it" : case "ku" : case "lb" : case "ml" : case "mn" : case "mr" : case "nah" : case "nb" : case "ne" : case "nl" : case "nn" : case "no" : case "oc" : case "om" : case "or" : case "pa" : case "pap" : case "ps" : case "pt" : case "so" : case "sq" : case "sv" : case "sw" : case "ta" : case "te" : case "tk" : case "ur" : case "zu" : return 1 == e ? 0 : 1 ; case "am" : case "bh" : case "fil" : case "fr" : case "gun" : case "hi" : case "hy" : case "ln" : case "mg" : case "nso" : case "xbr" : case "ti" : case "wa" : return 0 == e || 1 == e ? 0 : 1 ; case "be" : case "bs" : case "hr" : case "ru" : case "sh" : case "sr" : case "uk" : return 1 == e % 10 && 11 != e % 100 ? 0 : e % 10 >= 2 && e % 10 <= 4 && ( e % 100 < 10 || e % 100 >= 20 ) ? 1 : 2 ; case "cs" : case "sk" : return 1 == e ? 0 : e >= 2 && e <= 4 ? 1 : 2 ; case "ga" : return 1 == e ? 0 : 2 == e ? 1 : 2 ; case "lt" : return 1 == e % 10 && 11 != e % 100 ? 0 : e % 10 >= 2 && ( e % 100 < 10 || e % 100 >= 20 ) ? 1 : 2 ; case "sl" : return 1 == e % 100 ? 0 : 2 == e % 100 ? 1 : 3 == e % 100 || 4 == e % 100 ? 2 : 3 ; case "mk" : return 1 == e % 10 ? 0 : 1 ; case "mt" : return 1 == e ? 0 : 0 == e || e % 100 > 1 && e % 100 < 11 ? 1 : e % 100 > 10 && e % 100 < 20 ? 2 : 3 ; case "lv" : return 0 == e ? 0 : 1 == e % 10 && 11 != e % 100 ? 1 : 2 ; case "pl" : return 1 == e ? 0 : e % 10 >= 2 && e % 10 <= 4 && ( e % 100 < 12 || e % 100 > 14 ) ? 1 : 2 ; case "cy" : return 1 == e ? 0 : 2 == e ? 1 : 8 == e || 11 == e ? 2 : 3 ; case "ro" : return 1 == e ? 0 : 0 == e || e % 100 > 0 && e % 100 < 20 ? 1 : 2 ; case "ar" : return 0 == e ? 0 : 1 == e ? 1 : 2 == e ? 2 : e % 100 >= 3 && e % 100 <= 10 ? 3 : e % 100 >= 11 && e % 100 <= 99 ? 4 : 5 ; default : return 0 } } } , y = ( t . a = p , function ( ) { var e = M ( ) ; return "string" == typeof e ? e . replace ( /_/g , "-" ) : e } ) , M = function ( ) { return s ( ) ( "html" ) . data ( "locale" ) } , g = function ( ) { return s ( ) ( "html" ) . prop ( "lang" ) } ; l . a . registerHelper ( "t" , (
2019-05-16 14:40:02 +00:00
/ *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
* /
2019-09-13 09:04:31 +00:00
var a = document . getElementsByTagName ( "head" ) [ 0 ] . getAttribute ( "data-requesttoken" ) , r = [ ] , i = function ( ) { return a } , s = function ( e ) { return r . push ( e ) } , o = function ( e ) { a = e , r . forEach ( ( function ( e ) { return e ( a ) } ) ) } } , , function ( e , t , n ) { "use strict" ; n . r ( t ) , function ( e ) { n . d ( t , "getApps" , ( function ( ) { return o } ) ) , n . d ( t , "getKeys" , ( function ( ) { return d } ) ) , n . d ( t , "getValue" , ( function ( ) { return u } ) ) , n . d ( t , "setValue" , ( function ( ) { return l } ) ) , n . d ( t , "deleteKey" , ( function ( ) { return c } ) ) ; var a = n ( 0 ) , r = n . n ( a ) , i = n ( 3 ) ;
2019-05-16 14:40:02 +00:00
/ * *
* @ copyright Copyright ( c ) 2016 Joas Schilling < coding @ schilljs . com >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
*
* /
2019-09-26 18:12:24 +00:00
function s ( t , n , a ) { "post" !== t && "delete" !== t || ! i . a . PasswordConfirmation . requiresPasswordConfirmation ( ) ? ( a = a || { } , r . a . ajax ( { type : t . toUpperCase ( ) , url : i . a . linkToOCS ( "apps/provisioning_api/api/v1" , 2 ) + "config/apps" + n , data : a . data || { } , success : a . success , error : a . error } ) ) : i . a . PasswordConfirmation . requirePasswordConfirmation ( e . bind ( s , this , t , n , a ) ) } function o ( e ) { s ( "get" , "" , e ) } function d ( e , t ) { s ( "get" , "/" + e , t ) } function u ( e , t , n , a ) { ( a = a || { } ) . data = { defaultValue : n } , s ( "get" , "/" + e + "/" + t , a ) } function l ( e , t , n , a ) { ( a = a || { } ) . data = { value : n } , s ( "post" , "/" + e + "/" + t , a ) } function c ( e , t , n ) { s ( "delete" , "/" + e + "/" + t , n ) } } . call ( this , n ( 2 ) ) } , function ( e , t , n ) { e . exports = function ( ) { "use strict" ; var e = Object . freeze || function ( e ) { return e } , t = e ( [ "a" , "abbr" , "acronym" , "address" , "area" , "article" , "aside" , "audio" , "b" , "bdi" , "bdo" , "big" , "blink" , "blockquote" , "body" , "br" , "button" , "canvas" , "caption" , "center" , "cite" , "code" , "col" , "colgroup" , "content" , "data" , "datalist" , "dd" , "decorator" , "del" , "details" , "dfn" , "dir" , "div" , "dl" , "dt" , "element" , "em" , "fieldset" , "figcaption" , "figure" , "font" , "footer" , "form" , "h1" , "h2" , "h3" , "h4" , "h5" , "h6" , "head" , "header" , "hgroup" , "hr" , "html" , "i" , "img" , "input" , "ins" , "kbd" , "label" , "legend" , "li" , "main" , "map" , "mark" , "marquee" , "menu" , "menuitem" , "meter" , "nav" , "nobr" , "ol" , "optgroup" , "option" , "output" , "p" , "pre" , "progress" , "q" , "rp" , "rt" , "ruby" , "s" , "samp" , "section" , "select" , "shadow" , "small" , "source" , "spacer" , "span" , "strike" , "strong" , "style" , "sub" , "summary" , "sup" , "table" , "tbody" , "td" , "template" , "textarea" , "tfoot" , "th" , "thead" , "time" , "tr" , "track" , "tt" , "u" , "ul" , "var" , "video" , "wbr" ] ) , n = e ( [ "svg" , "a" , "altglyph" , "altglyphdef" , "altglyphitem" , "animatecolor" , "animatemotion" , "animatetransform" , "audio" , "canvas" , "circle" , "clippath" , "defs" , "desc" , "ellipse" , "filter" , "font" , "g" , "glyph" , "glyphref" , "hkern" , "image" , "line" , "lineargradient" , "marker" , "mask" , "metadata" , "mpath" , "path" , "pattern" , "polygon" , "polyline" , "radialgradient" , "rect" , "stop" , "style" , "switch" , "symbol" , "text" , "textpath" , "title" , "tref" , "tspan" , "video" , "view" , "vkern" ] ) , a = e ( [ "feBlend" , "feColorMatrix" , "feComponentTransfer" , "feComposite" , "feConvolveMatrix" , "feDiffuseLighting" , "feDisplacementMap" , "feDistantLight" , "feFlood" , "feFuncA" , "feFuncB" , "feFuncG" , "feFuncR" , "feGaussianBlur" , "feMerge" , "feMergeNode" , "feMorphology" , "feOffset" , "fePointLight" , "feSpecularLighting" , "feSpotLight" , "feTile" , "feTurbulence" ] ) , r = e ( [ "math" , "menclose" , "merror" , "mfenced" , "mfrac" , "mglyph" , "mi" , "mlabeledtr" , "mmultiscripts" , "mn" , "mo" , "mover" , "mpadded" , "mphantom" , "mroot" , "mrow" , "ms" , "mspace" , "msqrt" , "mstyle" , "msub" , "msup" , "msubsup" , "mtable" , "mtd" , "mtext" , "mtr" , "munder" , "munderover" ] ) , i = e ( [ "#text" ] ) , s = Object . freeze || function ( e ) { return e } , o = s ( [ "accept" , "action" , "align" , "alt" , "autocomplete" , "background" , "bgcolor" , "border" , "cellpadding" , "cellspacing" , "checked" , "cite" , "class" , "clear" , "color" , "cols" , "colspan" , "controls" , "coords" , "crossorigin" , "datetime" , "default" , "dir" , "disabled" , "download" , "enctype" , "face" , "for" , "headers" , "height" , "hidden" , "high" , "href" , "hreflang" , "id" , "integrity" , "ismap" , "label" , "lang" , "list" , "loop" , "low" , "max" , "maxlength" , "media" , "method" , "min" , "minlength" , "multiple" , "name" , "noshade" , "novalidate" , "nowrap" , "open" , "optimum" , "pattern" , "placeholder" , "poster" , "preload" , "pubdate" , "radiogroup" , "readonly" , "rel" , "required" , "rev" , "reversed" , "role" , "rows" , "rowspan" , "spellcheck" , "scope" , "selected" , "shape" , "size" , "sizes" , "span" , "srclang" , "start" , "src" , "srcset" , "step" , "style" , "summary" , "tabindex" , "title" , "type" , "usemap" , "valign" , "value" , "width" , "xmlns" ] ) , d = s ( [ "accent-height" , "accumulate" , "additive" , "alignment-baseline" , "ascent" , "attributename" , "attributetype" , "azimuth" , "basefrequency" , "baseline-shift" , "begin" , "bias" , "by" , "class" , "clip" , "clip-path" , "clip-rule" , "color" , "color-interpolation" , "color-interpolation-filters" , "color-profile" , "color-rendering" , "cx" , "cy" , "d" , "dx" , "dy" , "diffuseconstant" , "direction" , "display" , "divisor" , "dur" , "edgemode" , "elevation" , "end" , "fill" , "fill-opacity" , "fill-rule" , "filter" , "filterunits" , "flood-color" , "flood-opacity" , "font-family" , "font-size" , "font-size-adjust" , "font-stretch" , "font-style" , "font-variant" , "font-weight" , "fx" , "fy" , "g1" , "g2" , " g
2019-05-16 14:40:02 +00:00
/ *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
2019-09-25 07:35:12 +00:00
* / t . a = { } } , f u n c t i o n ( e , t , n ) { e . e x p o r t s = n ( 3 0 ) . d e f a u l t } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; t . _ _ e s M o d u l e = ! 0 ; v a r a = [ " d e s c r i p t i o n " , " f i l e N a m e " , " l i n e N u m b e r " , " m e s s a g e " , " n a m e " , " n u m b e r " , " s t a c k " ] ; f u n c t i o n r ( e , t ) { v a r n = t & & t . l o c , i = v o i d 0 , s = v o i d 0 ; n & & ( e + = " - " + ( i = n . s t a r t . l i n e ) + " : " + ( s = n . s t a r t . c o l u m n ) ) ; f o r ( v a r o = E r r o r . p r o t o t y p e . c o n s t r u c t o r . c a l l ( t h i s , e ) , d = 0 ; d < a . l e n g t h ; d + + ) t h i s [ a [ d ] ] = o [ a [ d ] ] ; E r r o r . c a p t u r e S t a c k T r a c e & & E r r o r . c a p t u r e S t a c k T r a c e ( t h i s , r ) ; t r y { n & & ( t h i s . l i n e N u m b e r = i , O b j e c t . d e f i n e P r o p e r t y ? O b j e c t . d e f i n e P r o p e r t y ( t h i s , " c o l u m n " , { v a l u e : s , e n u m e r a b l e : ! 0 } ) : t h i s . c o l u m n = s ) } c a t c h ( e ) { } } r . p r o t o t y p e = n e w E r r o r , t . d e f a u l t = r , e . e x p o r t s = t . d e f a u l t } , , f u n c t i o n ( e , t ) { v a r n ; n = f u n c t i o n ( ) { r e t u r n t h i s } ( ) ; t r y { n = n | | n e w F u n c t i o n ( " r e t u r n t h i s " ) ( ) } c a t c h ( e ) { " o b j e c t " = = t y p e o f w i n d o w & & ( n = w i n d o w ) } e . e x p o r t s = n } , , , , 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 a ( e ) { r e t u r n e & & e . _ _ e s M o d u l e ? e : { d e f a u l t : e } } f u n c t i o n r ( e ) { i f ( e & & e . _ _ e s M o d u l e ) r e t u r n e ; v a r t = { } ; i f ( n u l l ! = e ) f o r ( v a r n i n e ) O b j e c t . p r o t o t y p e . h a s O w n P r o p e r t y . c a l l ( e , n ) & & ( t [ n ] = e [ n ] ) ; r e t u r n t . d e f a u l t = e , t } t . _ _ e s M o d u l e = ! 0 ; v a r i = r ( n ( 5 2 ) ) , s = a ( n ( 2 1 4 ) ) , o = a ( n ( 2 4 ) ) , d = r ( n ( 1 1 ) ) , u = r ( n ( 2 1 5 ) ) , l = a ( n ( 2 1 6 ) ) ; f u n c t i o n c ( ) { v a r e = n e w i . H a n d l e b a r s E n v i r o n m e n t ; r e t u r n d . e x t e n d ( e , i ) , e . S a f e S t r i n g = s . d e f a u l t , e . E x c e p t i o n = o . d e f a u l t , e . U t i l s = d , e . e s c a p e E x p r e s s i o n = d . e s c a p e E x p r e s s i o n , e . V M = u , e . t e m p l a t e = f u n c t i o n ( t ) { r e t u r n u . t e m p l a t e ( t , e ) } , e } v a r _ = c ( ) ; _ . c r e a t e = c , l . d e f a u l t ( _ ) , _ . d e f a u l t = _ , t . d e f a u l t = _ , e . e x p o r t s = t . d e f a u l t } , , , , , , , 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 ( e ) { n . d ( t , " b " , ( f u n c t i o n ( ) { r e t u r n a } ) ) , n . d ( t , " a " , ( f u n c t i o n ( ) { r e t u r n r } ) ) ;
2019-05-16 14:40:02 +00:00
/ *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
* /
2019-09-22 01:13:13 +00:00
var a = function ( e ) { var t , n , a , r , i = { } ; if ( ! e ) return null ; ( n = e . indexOf ( "?" ) ) >= 0 && ( e = e . substr ( n + 1 ) ) , t = e . replace ( /\+/g , "%20" ) . split ( "&" ) ; for ( var s = 0 ; s < t . length ; s ++ ) { var o = t [ s ] ; ( a = ( n = o . indexOf ( "=" ) ) >= 0 ? [ o . substr ( 0 , n ) , o . substr ( n + 1 ) ] : [ o ] ) . length && ( ( r = decodeURIComponent ( a [ 0 ] ) ) && ( a . length > 1 ? i [ r ] = decodeURIComponent ( a [ 1 ] ) : i [ r ] = null ) ) } return i } , r = function ( t ) { return t ? e . map ( t , ( function ( e , t ) { var n = encodeURIComponent ( t ) ; return null != e && ( n += "=" + encodeURIComponent ( e ) ) , n } ) ) . join ( "&" ) : "" } } ) . call ( this , n ( 0 ) ) } , , , , , , , function ( e , t , n ) { "use strict" ; n . d ( t , "b" , ( function ( ) { return o } ) ) ; var a = n ( 0 ) , r = n . n ( a ) , i = ! 1 , s = { enableDynamicSlideToggle : function ( ) { i = ! 0 } , showAppSidebar : function ( e ) { ( e || r ( ) ( "#app-sidebar" ) ) . removeClass ( "disappear" ) . show ( ) , r ( ) ( "#app-content" ) . trigger ( new r . a . Event ( "appresized" ) ) } , hideAppSidebar : function ( e ) { ( e || r ( ) ( "#app-sidebar" ) ) . hide ( ) . addClass ( "disappear" ) , r ( ) ( "#app-content" ) . trigger ( new r . a . Event ( "appresized" ) ) } } , o = function ( ) { var e = r ( ) ( "[data-apps-slide-toggle]" ) ; 0 === e . length && r ( ) ( "#app-navigation" ) . addClass ( "without-app-settings" ) , r ( ) ( document ) . click ( ( function ( t ) { i && ( e = r ( ) ( "[data-apps-slide-toggle]" ) ) , e . each ( ( function ( e , n ) { var a = r ( ) ( n ) . data ( "apps-slide-toggle" ) , i = r ( ) ( a ) ; function s ( ) { i . slideUp ( 4 * OC . menuSpeed , ( function ( ) { i . trigger ( new r . a . Event ( "hide" ) ) } ) ) , i . removeClass ( "opened" ) , r ( ) ( n ) . removeClass ( "opened" ) } if ( ! i . is ( ":animated" ) ) if ( r ( ) ( n ) . is ( r ( ) ( t . target ) . closest ( "[data-apps-slide-toggle]" ) ) ) i . is ( ":visible" ) ? s ( ) : function ( ) { i . slideDown ( 4 * OC . menuSpeed , ( function ( ) { i . trigger ( new r . a . Event ( "show" ) ) } ) ) , i . addClass ( "opened" ) , r ( ) ( n ) . addClass ( "opened" ) ; var e = r ( ) ( a + " [autofocus]" ) ; 1 === e . length && e . focus ( ) } ( ) ; else { var o = r ( ) ( t . target ) . closest ( a ) ; i . is ( ":visible" ) && o [ 0 ] !== i [ 0 ] && s ( ) } } ) ) } ) ) } ; t . a = s } , function ( e , t ) { "undefined" == typeof dav && ( dav = { } ) , dav . _XML _CHAR _MAP = { "<" : "<" , ">" : ">" , "&" : "&" , '"' : """ , "'" : "'" } , dav . _escapeXml = function ( e ) { return e . replace ( /[<>&"']/g , ( function ( e ) { return dav . _XML _CHAR _MAP [ e ] } ) ) } , dav . Client = function ( e ) { var t ; for ( t in e ) this [ t ] = e [ t ] } , dav . Client . prototype = { baseUrl : null , userName : null , password : null , xmlNamespaces : { "DAV:" : "d" } , propFind : function ( e , t , n , a ) { void 0 === n && ( n = "0" ) , n = "" + n , ( a = a || { } ) . Depth = n , a [ "Content-Type" ] = "application/xml; charset=utf-8" ; var r , i = '<?xml version="1.0"?>\n<d:propfind ' ; for ( r in this . xmlNamespaces ) i += " xmlns:" + this . xmlNamespaces [ r ] + '="' + r + '"' ; for ( var s in i += ">\n <d:prop>\n" , t ) if ( t . hasOwnProperty ( s ) ) { var o = this . parseClarkNotation ( t [ s ] ) ; this . xmlNamespaces [ o . namespace ] ? i += " <" + this . xmlNamespaces [ o . namespace ] + ":" + o . name + " />\n" : i += " <x:" + o . name + ' xmlns:x="' + o . namespace + '" />\n' } return i += " </d:prop>\n" , i += "</d:propfind>" , this . request ( "PROPFIND" , e , a , i ) . then ( function ( e ) { return "0" === n ? { status : e . status , body : e . body [ 0 ] , xhr : e . xhr } : { status : e . status , body : e . body , xhr : e . xhr } } . bind ( this ) ) } , _renderPropSet : function ( e ) { var t = " <d:set>\n <d:prop>\n" ; for ( var n in e ) if ( e . hasOwnProperty ( n ) ) { var a , r = this . parseClarkNotation ( n ) , i = e [ n ] ; "d:resourcetype" !== ( a = this . xmlNamespaces [ r . namespace ] ? this . xmlNamespaces [ r . namespace ] + ":" + r . name : "x:" + r . name + ' xmlns:x="' + r . namespace + '"' ) && ( i = dav . _escapeXml ( i ) ) , t += " <" + a + ">" + i + "</" + a + ">\n" } return t += " </d:prop>\n" , t += " </d:set>\n" } , propPatch : function ( e , t , n ) { ( n = n || { } ) [ "Content-Type" ] = "application/xml; charset=utf-8" ; var a , r = '<?xml version="1.0"?>\n<d:propertyupdate ' ; for ( a in this . xmlNamespaces ) r += " xmlns:" + this . xmlNamespaces [ a ] + '="' + a + '"' ; return r += ">\n" + this . _renderPropSet ( t ) , r += "</d:propertyupdate>" , this . request ( "PROPPATCH" , e , n , r ) . then ( function ( e ) { return { status : e . status , body : e . body , xhr : e . xhr } } . bind ( this ) ) } , mkcol : function ( e , t , n ) { var a = "" ; if ( ( n = n || { } ) [ "Content-Type" ] = "application/xml; charset=utf-8" , t ) { var r ; for ( r in a = '<?xml version="1.0"?>\n<d:mkcol' , this . xmlNamespaces ) a += " xmlns:" + this . xmlNamespaces [ r ] + '="' + r + '"' ; a += ">\n" + this . _renderPropSet ( t ) , a += "</d:mkcol>" } return this . request ( "MKCOL" , e , n , a ) . then ( function ( e ) { return { status : e . status , body : e . body , xhr : e . xhr } } . bind ( this ) ) } , request : function ( e , t , n , a ) { var r , i = this , s = this . xhrProvider ( ) ; for ( r in n = n || { } , this . userName && ( n . Authorization = "Basic " + btoa ( this . userName + ":" + this . password ) ) , s . open ( e , this . resolveUrl ( t ) , ! 0 ) , n ) s . setR
2019-05-16 14:40:02 +00:00
/ *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
2019-09-13 09:04:31 +00:00
* / n . a = { c a l l b a c k : n u l l , p a g e L o a d T i m e : n u l l , i n i t : f u n c t i o n ( ) { o ( ) ( " . p a s s w o r d - c o n f i r m - r e q u i r e d " ) . o n ( " c l i c k " , i . a . b i n d ( t h i s . r e q u i r e P a s s w o r d C o n f i r m a t i o n , t h i s ) ) , t h i s . p a g e L o a d T i m e = u . a . n o w ( ) } , r e q u i r e s P a s s w o r d C o n f i r m a t i o n : f u n c t i o n ( ) { v a r e = t h i s . p a g e L o a d T i m e - 1 e 3 * n c _ p a g e L o a d , t = u . a . n o w ( ) - ( e + 1 e 3 * n c _ l a s t L o g i n ) ; r e t u r n b a c k e n d A l l o w s P a s s w o r d C o n f i r m a t i o n & & t > 1 8 e 5 } , r e q u i r e P a s s w o r d C o n f i r m a t i o n : f u n c t i o n ( e , n , a ) { n = v o i d 0 ! = = n ? n : { } ; v a r r = { t i t l e : t ( " c o r e " , " A u t h e n t i c a t i o n r e q u i r e d " ) , t e x t : t ( " c o r e " , " T h i s a c t i o n r e q u i r e s y o u t o c o n f i r m y o u r p a s s w o r d " ) , c o n f i r m : t ( " c o r e " , " C o n f i r m " ) , l a b e l : t ( " c o r e " , " P a s s w o r d " ) , e r r o r : " " } , s = i . a . e x t e n d ( r , n ) , d = t h i s ; t h i s . r e q u i r e s P a s s w o r d C o n f i r m a t i o n ( ) & & l . a . d i a l o g s . p r o m p t ( s . t e x t , s . t i t l e , ( f u n c t i o n ( e , t ) { e & & " " ! = = t ? d . _ c o n f i r m P a s s w o r d ( t , s ) : i . a . i s F u n c t i o n ( a ) & & a ( ) } ) , ! 0 , s . l a b e l , ! 0 ) . t h e n ( ( f u n c t i o n ( ) { v a r e = o ( ) ( " . o c - d i a l o g : v i s i b l e " ) ; i f ( e . f i n d ( " . u i - i c o n " ) . r e m o v e ( ) , e . a d d C l a s s ( " p a s s w o r d - c o n f i r m a t i o n " ) , " " ! = = s . e r r o r ) v a r t = o ( ) ( " < p > < / p > " ) . a d d C l a s s ( " m s g w a r n i n g " ) . t e x t ( s . e r r o r ) ; e . f i n d ( " . o c - d i a l o g - c o n t e n t " ) . a p p e n d ( t ) , e . f i n d ( " . o c - d i a l o g - b u t t o n r o w " ) . a d d C l a s s ( " a s i d e " ) ; v a r n = e . f i n d ( " b u t t o n " ) ; n . e q ( 0 ) . h i d e ( ) , n . e q ( 1 ) . t e x t ( s . c o n f i r m ) } ) ) , t h i s . c a l l b a c k = e } , _ c o n f i r m P a s s w o r d : f u n c t i o n ( e , n ) { v a r a = t h i s ; o . a . a j a x ( { u r l : l . a . g e n e r a t e U r l ( " / l o g i n / c o n f i r m " ) , d a t a : { p a s s w o r d : e } , t y p e : " P O S T " , s u c c e s s : f u n c t i o n ( e ) { n c _ l a s t L o g i n = e . l a s t L o g i n , i . a . i s F u n c t i o n ( a . c a l l b a c k ) & & a . c a l l b a c k ( ) } , e r r o r : f u n c t i o n ( ) { n . e r r o r = t ( " c o r e " , " F a i l e d t o a u t h e n t i c a t e , t r y a g a i n " ) , l . a . P a s s w o r d C o n f i r m a t i o n . r e q u i r e P a s s w o r d C o n f i r m a t i o n ( a . c a l l b a c k , n ) } } ) } } } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ;
2019-05-16 14:40:02 +00:00
/ *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http : //www.gnu.org/licenses/>.
* /
2019-09-26 18:12:24 +00:00
function a ( e , t ) { var n = [ "B" , "KB" , "MB" , "GB" , "TB" ] , a = e > 0 ? Math . floor ( Math . log ( e ) / Math . log ( 1024 ) ) : 0 , r = n [ a = Math . min ( n . length - 1 , a ) ] , i = ( e / Math . pow ( 1024 , a ) ) . toFixed ( 1 ) ; return ! 0 === t && 0 === a ? "0.0" !== i ? "< 1 KB" : "0 KB" : ( i = a < 2 ? parseFloat ( i ) . toFixed ( 0 ) : ".0" === i . substr ( i . length - 2 , 2 ) ? i . substr ( 0 , i . length - 2 ) : parseFloat ( i ) . toLocaleString ( OC . getCanonicalLocale ( ) ) ) + " " + r } n . d ( t , "a" , ( function ( ) { return a } ) ) } , , , , function ( e , t ) { e . exports = function ( e ) { return e . webpackPolyfill || ( e . deprecate = function ( ) { } , e . paths = [ ] , e . children || ( e . children = [ ] ) , Object . defineProperty ( e , "loaded" , { enumerable : ! 0 , get : function ( ) { return e . l } } ) , Object . defineProperty ( e , "id" , { enumerable : ! 0 , get : function ( ) { return e . i } } ) , e . webpackPolyfill = 1 ) , e } } , function ( e , t , n ) { "use strict" ; function a ( e ) { return e && e . _ _esModule ? e : { default : e } } t . _ _esModule = ! 0 , t . HandlebarsEnvironment = u ; var r = n ( 11 ) , i = a ( n ( 24 ) ) , s = n ( 53 ) , o = n ( 211 ) , d = a ( n ( 213 ) ) ; t . VERSION = "4.3.4" ; t . COMPILER _REVISION = 8 ; t . LAST _COMPATIBLE _COMPILER _REVISION = 7 ; t . REVISION _CHANGES = { 1 : "<= 1.0.rc.2" , 2 : "== 1.0.0-rc.3" , 3 : "== 1.0.0-rc.4" , 4 : "== 1.x.x" , 5 : "== 2.0.0-alpha.x" , 6 : ">= 2.0.0-beta.1" , 7 : ">= 4.0.0 <4.3.0" , 8 : ">= 4.3.0" } ; function u ( e , t , n ) { this . helpers = e || { } , this . partials = t || { } , this . decorators = n || { } , s . registerDefaultHelpers ( this ) , o . registerDefaultDecorators ( this ) } u . prototype = { constructor : u , logger : d . default , log : d . default . log , registerHelper : function ( e , t ) { if ( "[object Object]" === r . toString . call ( e ) ) { if ( t ) throw new i . default ( "Arg not supported with multiple helpers" ) ; r . extend ( this . helpers , e ) } else this . helpers [ e ] = t } , unregisterHelper : function ( e ) { delete this . helpers [ e ] } , registerPartial : function ( e , t ) { if ( "[object Object]" === r . toString . call ( e ) ) r . extend ( this . partials , e ) ; else { if ( void 0 === t ) throw new i . default ( 'Attempting to register a partial called "' + e + '" as undefined' ) ; this . partials [ e ] = t } } , unregisterPartial : function ( e ) { delete this . partials [ e ] } , registerDecorator : function ( e , t ) { if ( "[object Object]" === r . toString . call ( e ) ) { if ( t ) throw new i . default ( "Arg not supported with multiple decorators" ) ; r . extend ( this . decorators , e ) } else this . decorators [ e ] = t } , unregisterDecorator : function ( e ) { delete this . decorators [ e ] } } ; var l = d . default . log ; t . log = l , t . createFrame = r . createFrame , t . logger = d . default } , function ( e , t , n ) { "use strict" ; function a ( e ) { return e && e . _ _esModule ? e : { default : e } } t . _ _esModule = ! 0 , t . registerDefaultHelpers = function ( e ) { r . default ( e ) , i . default ( e ) , s . default ( e ) , o . default ( e ) , d . default ( e ) , u . default ( e ) , l . default ( e ) } , t . moveHelperToHooks = function ( e , t , n ) { e . helpers [ t ] && ( e . hooks [ t ] = e . helpers [ t ] , n || delete e . helpers [ t ] ) } ; var r = a ( n ( 204 ) ) , i = a ( n ( 205 ) ) , s = a ( n ( 206 ) ) , o = a ( n ( 207 ) ) , d = a ( n ( 208 ) ) , u = a ( n ( 209 ) ) , l = a ( n ( 210 ) ) } , function ( e , t , n ) { ! function ( e ) { "use strict" ; e . defineLocale ( "af" , { months : "Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember" . split ( "_" ) , monthsShort : "Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des" . split ( "_" ) , weekdays : "Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag" . split ( "_" ) , weekdaysShort : "Son_Maa_Din_Woe_Don_Vry_Sat" . split ( "_" ) , weekdaysMin : "So_Ma_Di_Wo_Do_Vr_Sa" . split ( "_" ) , meridiemParse : /vm|nm/i , isPM : function ( e ) { return /^nm$/i . test ( e ) } , meridiem : function ( e , t , n ) { return e < 12 ? n ? "vm" : "VM" : n ? "nm" : "NM" } , longDateFormat : { LT : "HH:mm" , LTS : "HH:mm:ss" , L : "DD/MM/YYYY" , LL : "D MMMM YYYY" , LLL : "D MMMM YYYY HH:mm" , LLLL : "dddd, D MMMM YYYY HH:mm" } , calendar : { sameDay : "[Vandag om] LT" , nextDay : "[Môre om] LT" , nextWeek : "dddd [om] LT" , lastDay : "[Gister om] LT" , lastWeek : "[Laas] dddd [om] LT" , sameElse : "L" } , relativeTime : { future : "oor %s" , past : "%s gelede" , s : "'n paar sekondes" , ss : "%d sekondes" , m : "'n minuut" , mm : "%d minute" , h : "'n uur" , hh : "%d ure" , d : "'n dag" , dd : "%d dae" , M : "'n maand" , MM : "%d maande" , y : "'n jaar" , yy : "%d jaar" } , dayOfMonthOrdinalParse : /\d{1,2}(ste|de)/ , ordinal : function ( e ) { return e + ( 1 === e || 8 === e || e >= 20 ? "ste" : "de" ) } , week : { dow : 1 , doy : 4 } } ) } ( n ( 1 ) ) } , function ( e , t , n ) { ! function ( e ) { "use strict" ; var t = { 1 : "١ " , 2 : "٢" , 3 : "٣" , 4 : "٤" , 5 : "٥ " , 6 : "٦" , 7 : "٧ " , 8 : "٨" , 9 : "٩" , 0 : "٠ " } , n = { "١ " : "1" , "٢" : "2" , "٣" : "3" , "٤" : "4" , "٥ " : "5" , "٦" : "6" , "٧ " : "7" , "٨" : "8" , "٩" : "9" , "٠ " : "0" } , a = function ( e ) { return 0 === e ? 0 : 1 === e ? 1 : 2 === e ? 2 : e % 100 >= 3 && e % 100 <= 10 ? 3 : e % 100 >= 11 ? 4 : 5 } , r = { s : [ "أقل من ثانية" , " ثا
2019-06-05 13:00:21 +00:00
/ * !
2019-06-30 01:13:43 +00:00
* Toastify js 1.6 . 1
2019-06-05 13:00:21 +00:00
* https : //github.com/apvarun/toastify-js
* @ license MIT licensed
*
* Copyright ( C ) 2018 Varun A P
* /
2019-09-26 18:12:24 +00:00
var a , r ; a = this , r = 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.6.1" , constructor : t , init : function ( e ) { return e || ( e = { } ) , this . options = { } , this . toastElement = null , this . options . text = e . text || "Hi there!" , this . options . duration = 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 } , 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" ) ; if ( n . innerHTML = "✖" , n . className = "toast-close" , n . addEventListener ( "click" , function ( e ) { e . stopPropagation ( ) , this . removeElement ( e . target . parentElement ) , window . clearTimeout ( e . target . parentElement . timeOutValue ) } . bind ( this ) ) , 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 ) } ) ) } var a = window . innerWidth > 0 ? window . innerWidth : screen . width ; ( "left" == this . options . position || ! 0 === this . options . positionLeft ) && a > 360 ? e . insertAdjacentElement ( "afterbegin" , n ) : e . appendChild ( n ) } 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 ) ) , 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 . removeChild ( e ) , this . options . callback . call ( e ) , t . reposition ( ) } . bind ( this ) , 400 ) } } , t . reposition = function ( ) { for ( var e , t = { top : 15 , bottom : 15 } , a = { top : 15 , bottom : 15 } , r = { top : 15 , bottom : 15 } , i = document . getElementsByClassName ( "toastify" ) , s = 0 ; s < i . length ; s ++ ) { e = ! 0 === n ( i [ s ] , "toastify-top" ) ? "toastify-top" : "toastify-bottom" ; var o = i [ s ] . offsetHeight ; e = e . substr ( 9 , e . length - 1 ) , ( window . innerWidth > 0 ? window . innerWidth : screen . width ) <= 360 ? ( i [ s ] . style [ e ] = r [ e ] + "px" , r [ e ] += o + 15 ) : ! 0 === n ( i [ s ] , "toastify-left" ) ? ( i [ s ] . style [ e ] = t [ e ] + "px" , t [ e ] += o + 15 ) : ( i [ s ] . style [ e ] = a [ e ] + "px" , a [ e ] += o + 15 ) } return this } , t . lib . init . prototype = t . lib , t } , e . exports ? e . exports = r ( ) : a . Toastify = r ( ) } , function ( e , t , n ) { "use strict" ; Object . definePro
2019-05-16 14:40:02 +00:00
/ * !
* Determine if an object is a Buffer
*
* @ author Feross Aboukhadijeh < https : //feross.org>
* @ license MIT
* /
2019-09-27 06:11:44 +00:00
e . exports = function ( e ) { return null != e && null != e . constructor && "function" == typeof e . constructor . isBuffer && e . constructor . isBuffer ( e ) } } , function ( e , t , n ) { "use strict" ; var a = n ( 14 ) , r = n ( 223 ) , i = n ( 257 ) , s = n ( 258 ) , o = n ( 228 ) ; function d ( e ) { this . defaults = e , this . interceptors = { request : new i , response : new i } } d . prototype . request = function ( e ) { "string" == typeof e ? ( e = arguments [ 1 ] || { } ) . url = arguments [ 0 ] : e = e || { } , ( e = o ( this . defaults , e ) ) . method = e . method ? e . method . toLowerCase ( ) : "get" ; var t = [ s , void 0 ] , n = Promise . resolve ( e ) ; for ( this . interceptors . request . forEach ( ( function ( e ) { t . unshift ( e . fulfilled , e . rejected ) } ) ) , this . interceptors . response . forEach ( ( function ( e ) { t . push ( e . fulfilled , e . rejected ) } ) ) ; t . length ; ) n = n . then ( t . shift ( ) , t . shift ( ) ) ; return n } , d . prototype . getUri = function ( e ) { return e = o ( this . defaults , e ) , r ( e . url , e . params , e . paramsSerializer ) . replace ( /^\?/ , "" ) } , a . forEach ( [ "delete" , "get" , "head" , "options" ] , ( function ( e ) { d . prototype [ e ] = function ( t , n ) { return this . request ( a . merge ( n || { } , { method : e , url : t } ) ) } } ) ) , a . forEach ( [ "post" , "put" , "patch" ] , ( function ( e ) { d . prototype [ e ] = function ( t , n , r ) { return this . request ( a . merge ( r || { } , { method : e , url : t , data : n } ) ) } } ) ) , e . exports = d } , function ( e , t , n ) { "use strict" ; var a = n ( 14 ) ; function r ( ) { this . handlers = [ ] } r . prototype . use = function ( e , t ) { return this . handlers . push ( { fulfilled : e , rejected : t } ) , this . handlers . length - 1 } , r . prototype . eject = function ( e ) { this . handlers [ e ] && ( this . handlers [ e ] = null ) } , r . prototype . forEach = function ( e ) { a . forEach ( this . handlers , ( function ( t ) { null !== t && e ( t ) } ) ) } , e . exports = r } , function ( e , t , n ) { "use strict" ; var a = n ( 14 ) , r = n ( 259 ) , i = n ( 224 ) , s = n ( 225 ) , o = n ( 266 ) , d = n ( 267 ) ; function u ( e ) { e . cancelToken && e . cancelToken . throwIfRequested ( ) } e . exports = function ( e ) { return u ( e ) , e . baseURL && ! o ( e . url ) && ( e . url = d ( e . baseURL , e . url ) ) , e . headers = e . headers || { } , e . data = r ( e . data , e . headers , e . transformRequest ) , e . headers = a . merge ( e . headers . common || { } , e . headers [ e . method ] || { } , e . headers || { } ) , a . forEach ( [ "delete" , "get" , "head" , "post" , "put" , "patch" , "common" ] , ( function ( t ) { delete e . headers [ t ] } ) ) , ( e . adapter || s . adapter ) ( e ) . then ( ( function ( t ) { return u ( e ) , t . data = r ( t . data , t . headers , e . transformResponse ) , t } ) , ( function ( t ) { return i ( t ) || ( u ( e ) , t && t . response && ( t . response . data = r ( t . response . data , t . response . headers , e . transformResponse ) ) ) , Promise . reject ( t ) } ) ) } } , function ( e , t , n ) { "use strict" ; var a = n ( 14 ) ; e . exports = function ( e , t , n ) { return a . forEach ( n , ( function ( n ) { e = n ( e , t ) } ) ) , e } } , function ( e , t , n ) { "use strict" ; var a = n ( 14 ) ; e . exports = function ( e , t ) { a . forEach ( e , ( function ( n , a ) { a !== t && a . toUpperCase ( ) === t . toUpperCase ( ) && ( e [ t ] = n , delete e [ a ] ) } ) ) } } , function ( e , t , n ) { "use strict" ; var a = n ( 227 ) ; e . exports = function ( e , t , n ) { var r = n . config . validateStatus ; ! r || r ( n . status ) ? e ( n ) : t ( a ( "Request failed with status code " + n . status , n . config , null , n . request , n ) ) } } , function ( e , t , n ) { "use strict" ; e . exports = function ( e , t , n , a , r ) { return e . config = t , n && ( e . code = n ) , e . request = a , e . response = r , e . isAxiosError = ! 0 , e . toJSON = function ( ) { return { message : this . message , name : this . name , description : this . description , number : this . number , fileName : this . fileName , lineNumber : this . lineNumber , columnNumber : this . columnNumber , stack : this . stack , config : this . config , code : this . code } } , e } } , function ( e , t , n ) { "use strict" ; var a = n ( 14 ) , r = [ "age" , "authorization" , "content-length" , "content-type" , "etag" , "expires" , "from" , "host" , "if-modified-since" , "if-unmodified-since" , "last-modified" , "location" , "max-forwards" , "proxy-authorization" , "referer" , "retry-after" , "user-agent" ] ; e . exports = function ( e ) { var t , n , i , s = { } ; return e ? ( a . forEach ( e . split ( "\n" ) , ( function ( e ) { if ( i = e . indexOf ( ":" ) , t = a . trim ( e . substr ( 0 , i ) ) . toLowerCase ( ) , n = a . trim ( e . substr ( i + 1 ) ) , t ) { if ( s [ t ] && r . indexOf ( t ) >= 0 ) return ; s [ t ] = "set-cookie" === t ? ( s [ t ] ? s [ t ] : [ ] ) . concat ( [ n ] ) : s [ t ] ? s [ t ] + ", " + n : n } } ) ) , s ) : s } } , function ( e , t , n ) { "use strict" ; var a = n ( 14 ) ; e . exports = a . isStandardBrowserEnv ( ) ? function ( ) { var e , t = /(msie|trident)/i . test ( navigator . userAgent ) , n = document . createElement ( "a" ) ; function r ( e ) { var a = e ; return t && ( n . setAttribute ( "href" , a ) , a = n . href ) , n . setAttribute ( "href" , a ) , { href : n . href , protocol : n . protocol ? n . protocol . replace ( /:$/ , "" ) : "" , host : n . host , search : n . search ? n . search . replace ( /^\?/ , "" ) : "" , hash : n . hash ? n . hash . replace ( /^#/ , "" ) : "" , hostname : n . hostname , port : n . port , pathname : "/" === n . pathname . c
2019-05-16 14:40:02 +00:00
//# sourceMappingURL=maintenance.js.map