2020-03-22 21:46:15 +03:00
! function ( e ) { var t = { } ; function n ( r ) { if ( t [ r ] ) return t [ r ] . exports ; var i = t [ r ] = { i : r , l : ! 1 , exports : { } } ; return e [ r ] . call ( i . exports , i , i . exports , n ) , i . l = ! 0 , i . 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 i in e ) n . d ( r , i , function ( t ) { return e [ t ] } . bind ( null , i ) ) ; 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 = "" , n ( n . s = 1069 ) } ( [ function ( e , t , n ) { var r , i , a ;
2019-01-30 19:06:01 +03: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
2020-03-22 21:46:15 +03:00
* /i="undefined"!=typeof window?window:this,a=function(n,i){var a=[],o=a.slice,s=a.concat,u=a.push,c=a.indexOf,l={},d=l.toString,f=l.hasOwnProperty,h={},p=n.document,m=function(e,t){return new m.fn.init(e,t)},_=/ ^ [ \ s\uFEFF \ xA0 ] + | [ \ s\uFEFF \ xA0 ] + $ / g , y = /^-ms-/ , v = /-([\da-z])/gi , g = function ( e , t ) { return t . toUpperCase ( ) } ; function M ( e ) { var t = "length" in e && e . length , n = m . type ( e ) ; return "function" !== n && ! m . isWindow ( e ) && ( ! ( 1 !== e . nodeType || ! t ) || "array" === n || 0 === t || "number" == typeof t && t > 0 && t - 1 in e ) } m . fn = m . prototype = { jquery : "2.1.4" , constructor : m , selector : "" , length : 0 , toArray : function ( ) { return o . call ( this ) } , get : function ( e ) { return null != e ? e < 0 ? this [ e + this . length ] : this [ e ] : o . call ( this ) } , pushStack : function ( e ) { var t = m . merge ( this . constructor ( ) , e ) ; return t . prevObject = this , t . context = this . context , t } , each : function ( e , t ) { return m . each ( this , e , t ) } , map : function ( e ) { return this . pushStack ( m . map ( this , ( function ( t , n ) { return e . call ( t , n , t ) } ) ) ) } , slice : function ( ) { return this . pushStack ( o . 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 : u , sort : a . sort , splice : a . splice } , m . extend = m . fn . extend = function ( ) { var e , t , n , r , i , a , o = arguments [ 0 ] || { } , s = 1 , u = arguments . length , c = ! 1 ; for ( "boolean" == typeof o && ( c = o , o = arguments [ s ] || { } , s ++ ) , "object" == typeof o || m . isFunction ( o ) || ( o = { } ) , s === u && ( o = this , s -- ) ; s < u ; s ++ ) if ( null != ( e = arguments [ s ] ) ) for ( t in e ) n = o [ t ] , o !== ( r = e [ t ] ) && ( c && r && ( m . isPlainObject ( r ) || ( i = m . isArray ( r ) ) ) ? ( i ? ( i = ! 1 , a = n && m . isArray ( n ) ? n : [ ] ) : a = n && m . isPlainObject ( n ) ? n : { } , o [ t ] = m . extend ( c , a , r ) ) : void 0 !== r && ( o [ t ] = r ) ) ; return o } , m . 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" === m . type ( e ) } , isArray : Array . isArray , isWindow : function ( e ) { return null != e && e === e . window } , isNumeric : function ( e ) { return ! m . isArray ( e ) && e - parseFloat ( e ) + 1 >= 0 } , isPlainObject : function ( e ) { return ! ( "object" !== m . type ( e ) || e . nodeType || m . isWindow ( e ) || e . constructor && ! f . 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 [ d . call ( e ) ] || "object" : typeof e } , globalEval : function ( e ) { var t , n = eval ; ( e = m . trim ( e ) ) && ( 1 === e . indexOf ( "use strict" ) ? ( ( t = p . createElement ( "script" ) ) . text = e , p . head . appendChild ( t ) . parentNode . removeChild ( t ) ) : n ( e ) ) } , camelCase : function ( e ) { return e . replace ( y , "ms-" ) . replace ( v , g ) } , nodeName : function ( e , t ) { return e . nodeName && e . nodeName . toLowerCase ( ) === t . toLowerCase ( ) } , each : function ( e , t , n ) { var r = 0 , i = e . length , a = M ( e ) ; if ( n ) { if ( a ) for ( ; r < i && ! 1 !== t . apply ( e [ r ] , n ) ; r ++ ) ; else for ( r in e ) if ( ! 1 === t . apply ( e [ r ] , n ) ) break } else if ( a ) for ( ; r < i && ! 1 !== t . call ( e [ r ] , r , e [ r ] ) ; r ++ ) ; else for ( r in e ) if ( ! 1 === t . call ( e [ r ] , r , e [ r ] ) ) break ; return e } , trim : function ( e ) { return null == e ? "" : ( e + "" ) . replace ( _ , "" ) } , makeArray : function ( e , t ) { var n = t || [ ] ; return null != e && ( M ( Object ( e ) ) ? m . merge ( n , "string" == typeof e ? [ e ] : e ) : u . call ( n , e ) ) , n } , inArray : function ( e , t , n ) { return null == t ? - 1 : c . call ( t , e , n ) } , merge : function ( e , t ) { for ( var n = + t . length , r = 0 , i = e . length ; r < n ; r ++ ) e [ i ++ ] = t [ r ] ; return e . length = i , e } , grep : function ( e , t , n ) { for ( var r = [ ] , i = 0 , a = e . length , o = ! n ; i < a ; i ++ ) ! t ( e [ i ] , i ) !== o && r . push ( e [ i ] ) ; return r } , map : function ( e , t , n ) { var r , i = 0 , a = e . length , o = [ ] ; if ( M ( e ) ) for ( ; i < a ; i ++ ) null != ( r = t ( e [ i ] , i , n ) ) && o . push ( r ) ; else for ( i in e ) null != ( r = t ( e [ i ] , i , n ) ) && o . push ( r ) ; return s . apply ( [ ] , o ) } , guid : 1 , proxy : function ( e , t ) { var n , r , i ; if ( "string" == typeof t && ( n = e [ t ] , t = e , e = n ) , m . isFunction ( e ) ) return r = o . call ( arguments , 2 ) , ( i = function ( ) { return e . apply ( t || this , r . concat ( o . call ( arguments ) ) ) } ) . guid = e . guid = e . guid || m . guid ++ , i } , now : Date . now , support : h } ) , m . each ( "Boolean Number String Function Array Date RegExp Object Error" . split ( " " ) , ( function ( e , t ) { l [ "[object " + t + "]" ] = t . toLowerCase ( ) } ) ) ; var L =
2019-01-30 19:06:01 +03: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
* /
2020-03-22 21:46:15 +03:00
function ( e ) { var t , n , r , i , a , o , s , u , c , l , d , f , h , p , m , _ , y , v , g , M = "sizzle" + 1 * new Date , L = e . document , w = 0 , b = 0 , k = ae ( ) , Y = ae ( ) , T = ae ( ) , x = function ( e , t ) { return e === t && ( d = ! 0 ) , 0 } , D = { } . hasOwnProperty , S = [ ] , E = S . pop , O = S . push , j = S . push , A = S . slice , P = function ( e , t ) { for ( var n = 0 , r = e . length ; n < r ; n ++ ) if ( e [ n ] === t ) return n ; return - 1 } , H = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped" , C = "[\\x20\\t\\r\\n\\f]" , N = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+" , I = N . replace ( "w" , "w#" ) , R = "\\[" + C + "*(" + N + ")(?:" + C + "*([*^$|!~]?=)" + C + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + I + "))|)" + C + "*\\]" , F = ":(" + N + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + R + ")*)|.*)\\)|)" , W = new RegExp ( C + "+" , "g" ) , $ = new RegExp ( "^" + C + "+|((?:^|[^\\\\])(?:\\\\.)*)" + C + "+$" , "g" ) , z = new RegExp ( "^" + C + "*," + C + "*" ) , U = new RegExp ( "^" + C + "*([>+~]|" + C + ")" + C + "*" ) , B = new RegExp ( "=" + C + "*([^\\]'\"]*?)" + C + "*\\]" , "g" ) , q = new RegExp ( F ) , J = new RegExp ( "^" + I + "$" ) , G = { ID : new RegExp ( "^#(" + N + ")" ) , CLASS : new RegExp ( "^\\.(" + N + ")" ) , TAG : new RegExp ( "^(" + N . replace ( "w" , "w*" ) + ")" ) , ATTR : new RegExp ( "^" + R ) , PSEUDO : new RegExp ( "^" + F ) , CHILD : new RegExp ( "^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + C + "*(even|odd|(([+-]|)(\\d*)n|)" + C + "*(?:([+-]|)" + C + "*(\\d+)|))" + C + "*\\)|)" , "i" ) , bool : new RegExp ( "^(?:" + H + ")$" , "i" ) , needsContext : new RegExp ( "^" + C + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + C + "*((?:-\\d)?\\d*)" + C + "*\\)|)(?=[^-]|$)" , "i" ) } , V = /^(?:input|select|textarea|button)$/i , K = /^h\d$/i , X = /^[^{]+\{\s*\[native \w/ , Z = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/ , Q = /[+~]/ , ee = /'|\\/g , te = new RegExp ( "\\\\([\\da-f]{1,6}" + C + "?|(" + C + ")|.)" , "ig" ) , ne = function ( e , t , n ) { var r = "0x" + t - 65536 ; return r != r || n ? t : r < 0 ? String . fromCharCode ( r + 65536 ) : String . fromCharCode ( r >> 10 | 55296 , 1023 & r | 56320 ) } , re = function ( ) { f ( ) } ; try { j . apply ( S = A . call ( L . childNodes ) , L . childNodes ) , S [ L . childNodes . length ] . nodeType } catch ( e ) { j = { apply : S . length ? function ( e , t ) { O . apply ( e , A . call ( t ) ) } : function ( e , t ) { for ( var n = e . length , r = 0 ; e [ n ++ ] = t [ r ++ ] ; ) ; e . length = n - 1 } } } function ie ( e , t , r , i ) { var a , s , c , l , d , p , y , v , w , b ; if ( ( t ? t . ownerDocument || t : L ) !== h && f ( t ) , r = r || [ ] , l = ( t = t || h ) . nodeType , "string" != typeof e || ! e || 1 !== l && 9 !== l && 11 !== l ) return r ; if ( ! i && m ) { if ( 11 !== l && ( a = Z . exec ( e ) ) ) if ( c = a [ 1 ] ) { if ( 9 === l ) { if ( ! ( s = t . getElementById ( c ) ) || ! s . parentNode ) return r ; if ( s . id === c ) return r . push ( s ) , r } else if ( t . ownerDocument && ( s = t . ownerDocument . getElementById ( c ) ) && g ( t , s ) && s . id === c ) return r . push ( s ) , r } else { if ( a [ 2 ] ) return j . apply ( r , t . getElementsByTagName ( e ) ) , r ; if ( ( c = a [ 3 ] ) && n . getElementsByClassName ) return j . apply ( r , t . getElementsByClassName ( c ) ) , r } if ( n . qsa && ( ! _ || ! _ . test ( e ) ) ) { if ( v = y = M , w = t , b = 1 !== l && e , 1 === l && "object" !== t . nodeName . toLowerCase ( ) ) { for ( p = o ( e ) , ( y = t . getAttribute ( "id" ) ) ? v = y . replace ( ee , "\\$&" ) : t . setAttribute ( "id" , v ) , v = "[id='" + v + "'] " , d = p . length ; d -- ; ) p [ d ] = v + me ( p [ d ] ) ; w = Q . test ( e ) && he ( t . parentNode ) || t , b = p . join ( "," ) } if ( b ) try { return j . apply ( r , w . querySelectorAll ( b ) ) , r } catch ( e ) { } finally { y || t . removeAttribute ( "id" ) } } } return u ( e . replace ( $ , "$1" ) , t , r , i ) } function ae ( ) { var e = [ ] ; return function t ( n , i ) { return e . push ( n + " " ) > r . cacheLength && delete t [ e . shift ( ) ] , t [ n + " " ] = i } } function oe ( e ) { return e [ M ] = ! 0 , e } function se ( e ) { var t = h . 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 ( "|" ) , i = e . length ; i -- ; ) r . attrHandle [ n [ i ] ] = t } function ce ( e , t ) { var n = t && e , r = n && 1 === e . nodeType && 1 === t . nodeType && ( ~ t . sourceIndex || 1 << 31 ) - ( ~ e . sourceIndex || 1 << 31 ) ; if ( r ) return r ; if ( n ) for ( ; n = n . nextSibling ; ) if ( n === t ) return - 1 ; return e ? 1 : - 1 } function le ( e ) { return function ( t ) { return "input" === t . nodeName . toLowerCase ( ) && t . type === e } } function de ( e ) { return function ( t ) { var n = t . nodeName . toLowerCase ( ) ; return ( "input" === n || "button" === n ) && t . type === e } } function fe ( e ) { return oe ( ( function ( t ) { return t = + t , oe ( ( function ( n , r ) { for ( var i , a = e ( [ ] , n . length , t ) , o = a . length ; o -- ; ) n [ i = a [ o ] ] && ( n [ i ] = ! ( r [ i ] = n [ i ] ) ) } ) ) } ) ) } function he ( e ) { return e && void 0 !== e . getElementsByTagName && e } for ( t in n = ie . support = { } , a = ie . isXML = function ( e ) { var t = e && ( e . ownerDocument || e ) . documentElement ; return ! ! t && "HTML" !== t . nodeName } , f = ie . setDocument = function ( e ) { var t
2019-11-03 11:22:59 +03:00
/ *
* @ copyright 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
* @ copyright Copyright ( c ) 2019 Gary Kim < gary @ garykim . dev >
*
* @ author 2019 Christoph Wurst < christoph @ winzerhof - wurst . at >
* @ author Gary Kim < gary @ garykim . dev >
*
* @ 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-03-22 21:46:15 +03:00
* /var $={YES_NO_BUTTONS:70,OK_BUTTONS:71,FILEPICKER_TYPE_CHOOSE:1,FILEPICKER_TYPE_MOVE:2,FILEPICKER_TYPE_COPY:3,FILEPICKER_TYPE_COPY_MOVE:4,FILEPICKER_TYPE_CUSTOM:5,dialogsCounter:0,alert:function(e,t,n,r){this.message(e,t,"alert",$.OK_BUTTON,n,r)},info:function(e,t,n,r){this.message(e,t,"info",$.OK_BUTTON,n,r)},confirm:function(e,t,n,r){return this.message(e,t,"notice",$.YES_NO_BUTTONS,n,r)},confirmDestructive:function(e,t,n,r,i){return this.message(e,t,"none",n,r,i)},confirmHtml:function(e,t,n,r){return this.message(e,t,"notice",$.YES_NO_BUTTONS,n,r,!0)},prompt:function(e,n,r,i,a,o){return s.a.when(this._getMessageTemplate()).then((function(u){var c="oc-dialog-"+$.dialogsCounter+"-content",l="#"+c,f=u.octemplate({dialog_name:c,title:n,message:e,type:"notice"}),h=s()("<input/ > ");h.attr(" type ",o?" password ":" text ").attr(" id ",c+" - input ").attr(" placeholder ",a);var p=s()(" < label / > ").attr(" for ",c+" - input ").text(a+" : ");f.append(p),f.append(h),void 0===i&&(i=!1),s()(" body ").append(f),void 0!==r&&(r=d.a.once(r));var m=[{text:t(" core "," No "),click:function(){void 0!==r&&r(!1,h.val()),s()(l).ocdialog(" close ")}},{text:t(" core "," Yes "),click:function(){void 0!==r&&r(!0,h.val()),s()(l).ocdialog(" close ")},defaultButton:!0}];s()(l).ocdialog({closeOnEscape:!0,modal:i,buttons:m,close:function(){void 0!==r&&r(!1,h.val())}}),h.focus(),$.dialogsCounter++}))},filepicker:function(e,n,r,i,a,o,u,c){var l=this;if(this.filepicker.sortField=" name ",this.filepicker.sortOrder=" asc ",!this.filepicker.loading){void 0===o&&(o=this.FILEPICKER_TYPE_CHOOSE);var f=t(" core "," No files in here "),h=t(" files "," New folder ");o!==this.FILEPICKER_TYPE_COPY&&o!==this.FILEPICKER_TYPE_MOVE&&o!==this.FILEPICKER_TYPE_COPY_MOVE||(f=t(" core "," No more subfolders in here ")),this.filepicker.loading=!0,this.filepicker.filesClient=F.a.Sharing&&F.a.Sharing.PublicApp&&F.a.Sharing.PublicApp.fileList?F.a.Sharing.PublicApp.fileList.filesClient:pe.Files.getClient(),this.filelist=null,u=u||" ",c=Object.assign({allowDirectoryChooser:!1},c),s.a.when(this._getFilePickerTemplate()).then((function(p){l.filepicker.loading=!1;l.$filePicker&&l.$filePicker.ocdialog(" close "),null==i&&(i=[])," string "==typeof i&&(i=[i]),l.$filePicker=p.octemplate({dialog_name:" oc - dialog - filepicker - content ",title:e,emptytext:f,newtext:h,nameCol:t(" core "," Name "),sizeCol:t(" core "," Size "),modifiedCol:t(" core "," Modified ")}).data(" path ",u).data(" multiselect ",r).data(" mimetype ",i).data(" allowDirectoryChooser ",c.allowDirectoryChooser),void 0===a&&(a=!1),void 0===r&&(r=!1),pe.Util.isIE()&&(l.$filePicker.find(" # picker - view - toggle ").remove(),l.$filePicker.find(" # picker - filestable ").removeClass(" view - grid ")),s()(" body ").append(l.$filePicker),l.$showGridView=s()(" input # picker - showgridview "),l.$showGridView.on(" change ",d.a.bind(l._onGridviewChange,l)),pe.Util.isIE()||l._getGridSettings();var m=l.$filePicker.find(" . actions . creatable . button - add ");o!==l.FILEPICKER_TYPE_CHOOSE||c.allowDirectoryChooser||m.hide(),m.on(" focus ",(function(){l.$filePicker.ocdialog(" setEnterCallback ",(function(){event.stopImmediatePropagation(),event.preventDefault(),m.click()}))})),m.on(" blur ",(function(){l.$filePicker.ocdialog(" unsetEnterCallback ")})),pe.registerMenu(m,l.$filePicker.find(" . menu "),(function(){y.focus(),l.$filePicker.ocdialog(" setEnterCallback ",(function(){event.stopImmediatePropagation(),event.preventDefault(),l.$filePicker.submit()}));var e=y.val(),t=e.lastIndexOf(" . ");-1===t&&(t=e.length),y.selectRange(0,t)}));var _=l.$filePicker.find(" . filenameform "),y=_.find(" input [ type = 'text' ] ");_.find(" input [ type = 'submit' ] ").on(" click ",(function(e){e.stopImmediatePropagation(),e.preventDefault(),_.submit()}));var v=function(){var e=y.val();try{if(function(e){var n=e.trim();if(" . "===n||" . . "===n)throw t(" files ",'" { name } " is an invalid file name.',{name:e});if(0===n.length)throw t(" files "," File name cannot be empty . ");if(-1!==n.indexOf(" / "))throw t(" files ",'" / " is not allowed inside a file name.');if(n.match(pe.config.blacklist_files_regex))throw t(" files ",'" { name } " is not an allowed filetype ' , { name : e } ) ; return ! 0 } ( e ) ) { if ( l . filelist . find ( ( function ( e ) { r
2019-09-25 19:19:42 +03:00
/ * *
2019-01-30 19:06:01 +03: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/>.
2020-02-13 12:20:41 +03:00
* / n e . c u s t o m R e s u l t s = { } , n e . r e s u l t T y p e s = { } ; v a r r e = n e , i e = w i n d o w . _ t h e m e | | { } , a e = i ( 1 ) , o e = i . n ( a e ) ;
2019-01-30 19:06:01 +03: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 19:19:42 +03:00
/ * *
2019-01-30 19:06:01 +03: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-05-14 12:14:29 +03:00
* /
2020-02-07 19:08:50 +03:00
function se ( e ) { for ( var t , n = [ ] , r = 0 , i = - 1 , a = 0 ; r < e . length ; ) { t = e . charAt ( r ) ; var o = ! a && "." === t || t >= "0" && t <= "9" ; o !== a && ( n [ ++ i ] = "" , a = o ) , n [ i ] += t , r ++ } return n } var ue = { History : { _handlers : [ ] , _pushState : function ( e , t , n ) { var r ; if ( r = "string" == typeof e ? e : pe . buildQueryString ( e ) , window . history . pushState ) { if ( t = t || location . pathname + "?" + r , navigator . userAgent . toLowerCase ( ) . indexOf ( "firefox" ) > - 1 && parseInt ( navigator . userAgent . split ( "/" ) . pop ( ) ) < 51 ) for ( var i , a = document . querySelectorAll ( '[fill^="url(#"], [stroke^="url(#"], [filter^="url(#invert"]' ) , o = 0 , s = a . length ; o < s ; o ++ ) ( i = a [ o ] ) . style . fill = i . style . fill , i . style . stroke = i . style . stroke , i . removeAttribute ( "filter" ) , i . setAttribute ( "filter" , "url(#invert)" ) ; n ? window . history . replaceState ( e , "" , t ) : window . history . pushState ( e , "" , t ) } else window . location . hash = "?" + r , this . _cancelPop = ! 0 } , pushState : function ( e , t ) { this . _pushState ( e , t , ! 1 ) } , replaceState : function ( e , t ) { 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 = pe . parseQueryString ( this . _decodeQuery ( t ) ) ) , ( e = d . a . extend ( e || { } , pe . 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 , d . a . isString ( t ) ? t = pe . parseQueryString ( t ) : t || ( t = this . parseUrlQuery ( ) || { } ) ; for ( var n = 0 ; n < this . _handlers . length ; n ++ ) this . _handlers [ n ] ( t ) } } } , humanFileSize :
/ *
* @ 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/>.
* /
function ( e , t ) { var n = [ "B" , "KB" , "MB" , "GB" , "TB" ] , r = e > 0 ? Math . floor ( Math . log ( e ) / Math . log ( 1024 ) ) : 0 , i = n [ r = Math . min ( n . length - 1 , r ) ] , a = ( e / Math . pow ( 1024 , r ) ) . toFixed ( 1 ) ; return ! 0 === t && 0 === r ? "0.0" !== a ? "< 1 KB" : "0 KB" : ( a = r < 2 ? parseFloat ( a ) . toFixed ( 0 ) : ".0" === a . substr ( a . length - 2 , 2 ) ? a . substr ( 0 , a . length - 2 ) : parseFloat ( a ) . toLocaleString ( OC . getCanonicalLocale ( ) ) ) + " " + i } , computerFileSize : function ( e ) { if ( "string" != typeof e ) return null ; var t = e . toLowerCase ( ) . trim ( ) , n = null , r = t . match ( /^[\s+]?([0-9]*)(\.([0-9]+))?( +)?([kmgtp]?b?)$/i ) ; return null === r ? null : ( n = parseFloat ( t ) , isFinite ( n ) ? ( r [ 5 ] && ( n *= { b : 1 , k : 1024 , kb : 1024 , mb : 1048576 , m : 1048576 , gb : 1073741824 , g : 1073741824 , tb : 1099511627776 , t : 1099511627776 , pb : 0x4000000000000 , p : 0x4000000000000 } [ r [ 5 ] ] ) , n = Math . round ( n ) ) : null ) } , formatDate : function ( e , t ) { return t = t || "LLL" , oe ( ) ( e ) . format ( t ) } , relativeModifiedDate : function ( e ) { var n = oe ( ) ( ) . diff ( oe ( ) ( e ) ) ; return n >= 0 && n < 45e3 ? t ( "core" , "seconds ago" ) : oe ( ) ( 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 r = e . offsetWidth ; return n === r && ( r = t . clientWidth ) , document . body . removeChild ( t ) , this . _scrollBarWidth = n - r , this . _scrollBarWidth } , stripTime : function ( e ) { return new Date ( e . getFullYear ( ) , e . getMonth ( ) , e . getDate ( ) ) } , naturalSortCompare : function ( e , t ) { var n , r = se ( e ) , i = se ( t ) ; for ( n = 0 ; r [ n ] && i [ n ] ; n ++ ) if ( r [ n ] !== i [ n ] ) { var a = Number ( r [ n ] ) , o = Number ( i [ n ] ) ; return a == r [ n ] && o == i [ n ] ? a - o : r [ n ] . localeCompare ( i [ n ] , pe . getLanguage ( ) ) } return r . length - i . length } , waitFor : function ( e , t ) { ! function n ( ) { ! 0 !== e ( ) && setTimeout ( n , t ) } ( ) } , isCookieSetToValue : function ( e , t ) { for ( var n = document . cookie . split ( ";" ) , r = 0 ; r < n . length ; r ++ ) { var i = n [ r ] . split ( "=" ) ; if ( i [ 0 ] . trim ( ) === e && i [ 1 ] . trim ( ) === t ) return ! 0 } return ! 1 } } , ce = window . _oc _debug , le = window . _oc _webroot ;
2019-05-14 12:14:29 +03: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/>.
2020-03-22 21:46:15 +03:00
* / i f ( v o i d 0 = = = l e ) { v a r d e = ( l 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 / " ) ; l e = - 1 ! = = d e ? l e . s u b s t r ( 0 , d e ) : l e . s u b s t r ( 0 , l e . l a s t I n d e x O f ( " / " ) ) } v a r f e , h e = l e , p e = r . a = { c o r e A p p s : H . i , m e n u S p e e d : H . j , P E R M I S S I O N _ A L L : H . a , P E R M I S S I O N _ C R E A T E : H . b , P E R M I S S I O N _ D E L E T E : H . c , P E R M I S S I O N _ N O N E : H . d , P E R M I S S I O N _ R E A D : H . e , P E R M I S S I O N _ S H A R E : H . f , P E R M I S S I O N _ U P D A T E : H . g , T A G _ F A V O R I T E : H . 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 ( P . 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 : f u n c t i o n ( e , t , n ) { v a r r ; c o n s o l e . w a r n ( " O C . a d d S c r i p t i s d e p r e c a t e d , u s e O C P . L o a d e r . l o a d S c r i p t i n s t e a d " ) ; v a r i = O C . f i l e P a t h ( e , " j s " , t + " . j s " ) ; r e t u r n u [ i ] ? n & & n ( ) : ( r = s . a . D e f e r r e d ( ) , s . a . g e t S c r i p t ( i , ( f u n c t i o n ( ) { r e t u r n r . r e s o l v e ( ) } ) ) , u [ i ] = r ) , u [ i ] } , a d d S t y l e : f u n c t i o n ( e , t ) { c o n s o l e . w a r n ( " O C . a d d S t y l e i s d e p r e c a t e d , u s e O C P . L o a d e r . l o a d S t y l e s h e e t i n s t e a d " ) ; v a r n = O C . f i l e P a t h ( e , " c s s " , t + " . c s s " ) ; - 1 = = = c . i n d e x O f ( n ) & & ( c . p u s h ( n ) , d o c u m e n t . c r e a t e S t y l e S h e e t ? d o c u m e n t . c r e a t e S t y l e S h e e t ( n ) : ( t = s ( ) ( ' < l i n k r e l = " s t y l e s h e e t " t y p e = " t e x t / c s s " h r e f = " ' + n + ' " / > ' ) , s ( ) ( " h e a d " ) . a p p e n d ( t ) ) ) } , A p p s : p . a , A p p C o n f i g : y , a p p C o n f i g : _ , a p p S e t t i n g s : f u n c t i o n ( e ) { i f ( c o n s o l e . w a r n ( " O C . a p p S e t t i n g s i s d e p r e c a t e d a n d w i l l b e r e m o v e d w i t h N e x t c l o u d 1 8 " ) , v o i d 0 = = = e | | v o i d 0 = = = e . a p p i d ) t h r o w { n a m e : " M i s s i n g P a r a m e t e r " , m e s s a g e : " T h e p a r a m e t e r a p p i d i s m i s s i n g " } ; v a r n = { s c r i p t N a m e : " s e t t i n g s . p h p " , c a c h e : ! 0 } ; s . a . e x t e n d ( n , e ) ; v a r r = s ( ) ( " # a p p s e t t i n g s " ) ; i f ( 0 = = = r . l e n g t h ) t h r o w { n a m e : " M i s s i n g D O M E l e m e n t " , m e s s a g e : ' T h e r e h a s b e b e a n e l e m e n t w i t h i d " a p p s e t t i n g s " f o r t h e p o p u p t o s h o w . ' } ; v a r i = s ( ) ( " # a p p s e t t i n g s _ p o p u p " ) ; i f ( 0 = = = i . l e n g t h & & ( s ( ) ( " b o d y " ) . p r e p e n d ( ' < d i v c l a s s = " p o p u p h i d d e n " i d = " a p p s e t t i n g s _ p o p u p " > < / d i v > ' ) , ( i = s ( ) ( " # a p p s e t t i n g s _ p o p u p " ) ) . a d d C l a s s ( r . h a s C l a s s ( " t o p r i g h t " ) ? " t o p r i g h t " : " b o t t o m l e f t " ) ) , i . i s ( " : v i s i b l e " ) ) i . h i d e ( ) . r e m o v e ( ) ; e l s e { v a r a = r . h a s C l a s s ( " t o p r i g h t " ) ? " u p " : " l e f t " ; s . a . g e t ( O b j e c t ( v . a ) ( n . a p p i d , " " , n . s c r i p t N a m e ) , ( f u n c t i o n ( e ) { i . h t m l ( e ) . r e a d y ( ( f u n c t i o n ( ) { i f ( i . p r e p e n d ( ' < s p a n c l a s s = " a r r o w ' + a + ' " > < / s p a n > < h 2 > ' + t ( " c o r e " , " S e t t i n g s " ) + ' < / h 2 > < a c l a s s = " c l o s e " > < / a > ' ) . s h o w ( ) , i . f i n d ( " . c l o s e " ) . b i n d ( " c l i c k " , ( f u n c t i o n ( ) { i . r e m o v e ( ) } ) ) , v o i d 0 ! = = n . l o a d J S ) { v a r e ; i f ( ! 0 = = = n . l o a d J S ) e = " s e t t i n g s . j s " ; e l s e { i f ( " s t r i n g " ! = t y p e o f n . l o a d J S ) t h r o w { n a m e : " I n v a l i d P a r a m e t e r " , m e s s a g e : ' T h e " l o a d J S " p a r a m e t e r m u s t b e e i t h e r b o o l e a n o r a s t r i n g . ' } ; e = n . l o a d J S } n . c a c h e & & s . a . a j a x S e t u p ( { c a c h e : ! 0 } ) , s . a . g e t S c r i p t ( O b j e c t ( v . a ) ( n . a p p i d , " j s " , e ) ) . f a i l ( ( f u n c t i o n ( e , t , n ) { t h r o w n } ) ) } } ) ) . s h o w ( ) } ) , " h t m l " ) } } , a p p s w e b r o o t s : g , B a c k b o n e : O , C o n t a c t s M e n u : C . a , c o n f i g : P , c u r r e n t U s e r : R , d i a l o g s : z , E v e n t S o u r c e : q , g e t C u r r e n t U s e r : f u n c t i o n ( ) { r e t u r n { u i d : R , d i s p l a y N a m e : I } } , i s U s e r A d m i n : f u n c t i o n ( ) { r e t u r n X } , L 1 0 N : Z . 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 u n c t i o n ( e ) { ( 0 ! = = e . s t a t u s | | " a b o r t " ! = = e . s t a t u s T e x t & & " t i m e o u t " ! = = e . s t a t u s T e x t & & ! p e . _ r e l o a d C a l l e d ) & & ( d . a . c o n t a i n s ( [ 3 0 2 , 3 0 3 , 3 0 7 , 4 0 1 ] , e . s t a t u s ) & & p e . c u r r e n t U s e r ? s e t T i m e o u t ( ( f u n c t i o n ( ) { i f ( ! p e . _ u s e r I s N a v i g a t i n g A w a y & & ! p e . _ r e l o a d C a l l e d ) { v a r e = 0 , t = s e t I n t e r v a l ( ( f u n c t i o n ( ) { f . s h o w U p d a t e ( n ( " c o r e " , " P r o b l e m l o a d i n g p a g e , r e l o a d i n g i n % n s e c o n d " , " P r o b l e m l o a d i n g p a g e , r e l o a d i n g i n % n s e c o n d s " , 5 - e ) ) , e > = 5 & & ( c l e a r I n t e r v a l ( t ) , p e . r e l o a d ( ) ) , e + + } ) , 1 e 3 ) ; p e . _ r e l o a d C a l l e d = ! 0 } } ) , 1 0 0 ) : 0 = = = e . s t a t u s & & s e t T i m e o u t ( ( f u n c t i o n ( ) { p e . _ u s e r I s N a v i g a t i n g A w a y | | p e . _ r e l o a d C a l l e d | | p e . _ 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 ( ) } ) , 1 0 0 ) ) } , 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 : f u n c t i o n ( e ) { e . a d d E v e n t L i s t e n e r & & ( e . a d d E v e n t L i s t e n e r ( " l o a d " , ( f u n c t i o n ( ) { 4 = = = e . r e a d y S t a t e & & ( e . s t a t u s > = 2 0 0 & & e . s t a t u s < 3 0 0 | | 3 0 4 = = = e . s t a t u s | | s ( ) ( d o c u m e n t ) . t r i g g e r ( n e w s . a . E v e n t ( " a j a x E r r o r " ) , e ) ) } ) ) , e . a d d E v e n t L i s t e n e r ( " e r r o r " , ( f u n c t i o n ( ) { s ( ) ( d o c u m e n t ) . t r i g g e r ( n e w s . a . E v e n t ( " a j a x E r r o r " ) , e ) } ) ) ) } , _ c a p a b i l i t i e s : G ( ) , g e t C a p a b i l i t i e s : G , h i d e M e n u s : K , r e g i s t e r M e n u : f u n c t i o n ( e , t , n , r ) { t . a d d C l a s s ( " m e n u " ) ; v a r i = " A " = = = e . p r o p ( " t a g N a m e " ) | | " B U T T O N " = = = e . p r o p ( " t a g N a m e " ) ; e . o n ( i ? " c l i c k . m e n u " : " c l i c k . m e n u k e y u p . m e n u " , ( f u n c t i o n ( i ) { i . p r e v e n t D e f a u l t ( ) , i . k e y & & " E n t e r " ! = = i . k e y | | ( t . i s ( V ) ? K ( ) : ( V & & K ( ) , ! 0 = = = r & & t . p a r e n t ( ) . a d d C l a s s ( " o p e n e d M e n u " ) , e . a t t r ( " a r i a - e x p a n d e d " , ! 0 ) , t . s l i d e T o g g l e ( H . j , n ) , V = t , e ) ) } ) ) } , s h o w M e n u : f u n c t i o n ( e , t , n ) { t . i s ( V ) | | ( K ( ) , V = t , e , t . t r i g g e r ( n e w s . a . E v e n t ( " b e f o r e S h o w " ) ) , t . s h o w ( ) , t . t r i g g e r ( n e w s . a . E v e n t ( " a f t e r S h o w " ) ) , d . a . i s F u n c t i o n ( n ) & & n ( ) ) } , u n r e g i s t e r M e n u : f u n c t i o n ( e , t ) { t . i s ( V ) & & K ( ) , e . o f f ( " c l i c k . m e n u " ) . r e m o v e C l a s s ( " m e n u t o g g l e " ) , t . r e m o v e C l a s s ( " m
2019-09-25 19:19:42 +03:00
/ * *
2019-01-30 19:06:01 +03: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/>.
2020-03-22 21:46:15 +03:00
* / O b j e c t ( a . s u b s c r i b e ) ( " c s r f - t o k e n - u p d a t e " , ( f u n c t i o n ( e ) { O C . r e q u e s t T o k e n = e . t o k e n , c o n s o l e . i n f o ( " O C . r e q u e s t T o k e n c h a n g e d " , e . t o k e n ) } ) ) } , , f u n c t i o n ( e , t , n ) { ( f u n c t i o n ( t ) { v a r n = f u n c t i o n ( e ) { r e t u r n e & & e . M a t h = = M a t h & & e } ; e . e x p o r t s = n ( " o b j e c t " = = t y p e o f g l o b a l T h i s & & g l o b a l T h i s ) | | n ( " o b j e c t " = = t y p e o f w i n d o w & & w i n d o w ) | | n ( " o b j e c t " = = t y p e o f s e l f & & s e l f ) | | n ( " o b j e c t " = = t y p e o f t & & t ) | | F u n c t i o n ( " r e t u r n t h i s " ) ( ) } ) . c a l l ( t h i s , n ( 1 3 ) ) } , f u n c t i o n ( e , t , n ) { v a r r = n ( 5 ) , i = n ( 1 1 6 ) , a = n ( 8 ) , o = n ( 7 0 ) , s = n ( 1 2 1 ) , u = n ( 2 1 7 ) , c = i ( " w k s " ) , l = r . S y m b o l , d = u ? l : l & & l . w i t h o u t S e t t e r | | o ; e . e x p o r t s = f u n c t i o n ( e ) { r e t u r n a ( c , e ) | | ( s & & a ( l , e ) ? c [ e ] = l [ e ] : c [ e ] = d ( " S y m b o l . " + e ) ) , c [ e ] } } , f u n c t i o n ( e , t ) { e . e x p o r t s = f u n c t i o n ( e ) { t r y { r e t u r n ! ! e ( ) } c a t c h ( e ) { r e t u r n ! 0 } } } , f u n c t i o n ( e , t ) { v a r n = { } . h a s O w n P r o p e r t y ; e . e x p o r t s = f u n c t i o n ( e , t ) { r e t u r n n . c a l l ( e , t ) } } , f u n c t i o n ( e , t ) { e . e x p o r t s = f u n c t i o n ( e ) { r e t u r n " o b j e c t " = = t y p e o f e ? n u l l ! = = e : " f u n c t i o n " = = t y p e o f 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 r } ) ) , n . d ( t , " j " , ( f u n c t i o n ( ) { r e t u r n i } ) ) , n . d ( t , " d " , ( f u n c t i o n ( ) { r e t u r n a } ) ) , n . d ( t , " b " , ( f u n c t i o n ( ) { r e t u r n o } ) ) , n . d ( t , " e " , ( f u n c t i o n ( ) { r e t u r n s } ) ) , n . d ( t , " g " , ( f u n c t i o n ( ) { r e t u r n u } ) ) , n . d ( t , " c " , ( f u n c t i o n ( ) { r e t u r n c } ) ) , 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 d } ) ) , n . d ( t , " h " , ( f u n c t i o n ( ) { r e t u r n f } ) ) ;
2019-09-25 19:19:42 +03:00
/ * *
2019-01-30 19:06:01 +03: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
*
2019-05-10 14:38:11 +03:00
* This program is free software = you can redistribute it and / or modify
2019-01-30 19:06:01 +03:00
* it under the terms of the GNU Affero General Public License as
2019-05-10 14:38:11 +03:00
* published by the Free Software Foundation either version 3 of the
* License or ( at your option ) any later version .
2019-01-30 19:06:01 +03:00
*
2019-05-10 14:38:11 +03:00
* This program is distributed in the hope that it will be useful
2019-01-30 19:06:01 +03:00
* 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
2019-05-10 14:38:11 +03:00
* along with this program . If not see < http : //www.gnu.org/licenses/>.
* /
2020-03-22 21:46:15 +03:00
var r = [ "" , "admin" , "log" , "core/search" , "core" , "3rdparty" ] , i = 50 , a = 0 , o = 4 , s = 1 , u = 2 , c = 8 , l = 16 , d = 31 , f = "_$!<Favorite>!$_" } , function ( e , t , n ) { var r = n ( 14 ) , i = n ( 112 ) , a = n ( 19 ) , o = n ( 66 ) , s = Object . defineProperty ; t . f = r ? s : function ( e , t , n ) { if ( a ( e ) , t = o ( t , ! 0 ) , a ( n ) , i ) try { return s ( e , t , n ) } catch ( e ) { } if ( "get" in n || "set" in n ) throw TypeError ( "Accessors not supported" ) ; return "value" in n && ( e [ t ] = n . value ) , e } } , function ( e , t ) { e . exports = function ( e ) { try { return ! ! e ( ) } catch ( e ) { return ! 0 } } } , function ( e , t ) { var n ; n = function ( ) { return this } ( ) ; try { n = n || new Function ( "return this" ) ( ) } catch ( e ) { "object" == typeof window && ( n = window ) } e . exports = n } , function ( e , t , n ) { var r = n ( 7 ) ; e . exports = ! r ( ( function ( ) { return 7 != Object . defineProperty ( { } , 1 , { get : function ( ) { return 7 } } ) [ 1 ] } ) ) } , function ( e , t , n ) { var r = n ( 14 ) , i = n ( 11 ) , a = n ( 38 ) ; e . exports = r ? function ( e , t , n ) { return i . f ( e , t , a ( 1 , n ) ) } : function ( e , t , n ) { return e [ t ] = n , e } } , function ( e , t , n ) { ( function ( t ) { var n = function ( e ) { return e && e . Math == Math && e } ; e . exports = n ( "object" == typeof globalThis && globalThis ) || n ( "object" == typeof window && window ) || n ( "object" == typeof self && self ) || n ( "object" == typeof t && t ) || Function ( "return this" ) ( ) } ) . call ( this , n ( 13 ) ) } , function ( e , t ) { e . exports = function ( e ) { try { return ! ! e ( ) } catch ( e ) { return ! 0 } } } , function ( e , t , n ) { "use strict" ; var r = n ( 433 ) , i = Object . prototype . toString ; function a ( e ) { return "[object Array]" === i . call ( e ) } function o ( e ) { return void 0 === e } function s ( e ) { return null !== e && "object" == typeof e } function u ( e ) { return "[object Function]" === i . call ( e ) } function c ( e , t ) { if ( null != e ) if ( "object" != typeof e && ( e = [ e ] ) , a ( e ) ) for ( var n = 0 , r = e . length ; n < r ; n ++ ) t . call ( null , e [ n ] , n , e ) ; else for ( var i in e ) Object . prototype . hasOwnProperty . call ( e , i ) && t . call ( null , e [ i ] , i , e ) } e . exports = { isArray : a , isArrayBuffer : function ( e ) { return "[object ArrayBuffer]" === i . call ( e ) } , isBuffer : function ( e ) { return null !== e && ! o ( e ) && null !== e . constructor && ! o ( e . constructor ) && "function" == typeof e . constructor . isBuffer && e . constructor . isBuffer ( e ) } , isFormData : function ( e ) { return "undefined" != typeof FormData && e instanceof FormData } , isArrayBufferView : function ( e ) { return "undefined" != typeof ArrayBuffer && ArrayBuffer . isView ? ArrayBuffer . isView ( e ) : e && e . buffer && e . buffer instanceof ArrayBuffer } , isString : function ( e ) { return "string" == typeof e } , isNumber : function ( e ) { return "number" == typeof e } , isObject : s , isUndefined : o , isDate : function ( e ) { return "[object Date]" === i . call ( e ) } , isFile : function ( e ) { return "[object File]" === i . call ( e ) } , isBlob : function ( e ) { return "[object Blob]" === i . call ( e ) } , isFunction : u , isStream : function ( e ) { return s ( e ) && u ( e . pipe ) } , isURLSearchParams : function ( e ) { return "undefined" != typeof URLSearchParams && e instanceof URLSearchParams } , isStandardBrowserEnv : function ( ) { return ( "undefined" == typeof navigator || "ReactNative" !== navigator . product && "NativeScript" !== navigator . product && "NS" !== navigator . product ) && ( "undefined" != typeof window && "undefined" != typeof document ) } , forEach : c , merge : function e ( ) { var t = { } ; function n ( n , r ) { "object" == typeof t [ r ] && "object" == typeof n ? t [ r ] = e ( t [ r ] , n ) : t [ r ] = n } for ( var r = 0 , i = arguments . length ; r < i ; r ++ ) c ( arguments [ r ] , n ) ; return t } , deepMerge : function e ( ) { var t = { } ; function n ( n , r ) { "object" == typeof t [ r ] && "object" == typeof n ? t [ r ] = e ( t [ r ] , n ) : t [ r ] = "object" == typeof n ? e ( { } , n ) : n } for ( var r = 0 , i = arguments . length ; r < i ; r ++ ) c ( arguments [ r ] , n ) ; return t } , extend : function ( e , t , n ) { return c ( t , ( function ( t , i ) { e [ i ] = n && "function" == typeof t ? r ( t , n ) : t } ) ) , e } , trim : function ( e ) { return e . replace ( /^\s*/ , "" ) . replace ( /\s*$/ , "" ) } } } , function ( e , t , n ) { var r = n ( 9 ) ; e . exports = function ( e ) { if ( ! r ( e ) ) throw TypeError ( String ( e ) + " is not an object" ) ; return e } } , function ( e , t , n ) { "use strict" ; n ( 462 ) , n ( 477 ) , n ( 480 ) , n ( 183 ) , n ( 485 ) , n ( 486 ) , 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 i ( ) + "/remote.php/" + e } ( e ) } ; t . generateOcsUrl = function ( e , t ) { return t = 2 !== t ? 1 : 2 , window . location . protocol + "//" + window . location . host + i ( ) + "/ocs/v" + t + ".php/" + e + "/" } ; t . generateUrl = function ( e , t , n ) { var r = Object . assign ( { escape : ! 0 , noRewrite : ! 1 } , n || { } ) , a = function ( e ,
2019-09-25 19:19:42 +03:00
/ * *
2019-05-31 14:27:29 +03: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/>.
* /
2020-03-22 21:46:15 +03:00
window . _oc _l10n _registry _translations = window . _oc _l10n _registry _translations || { } , window . _oc _l10n _registry _plural _functions = window . _oc _l10n _registry _plural _functions || { } ; var p = 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 ] } , _ = function ( e ) { return { translations : window . _oc _l10n _registry _translations [ e ] || { } , pluralFunction : window . _oc _l10n _registry _plural _functions [ e ] } } ; function y ( e ) { return ( y = "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 ) } var v = { load : function ( e , t ) { if ( m ( e ) || "en" === h . a . getLocale ( ) ) { var n = o . a . Deferred ( ) , r = n . promise ( ) ; return r . then ( t ) , n . resolve ( ) , r } var i = this , a = h . a . filePath ( e , "l10n" , h . a . getLocale ( ) + ".json" ) ; return o . a . get ( a ) . then ( ( function ( t ) { t . translations && i . register ( e , t . translations , t . pluralForm ) } ) ) . then ( t ) } , register : function ( e , t ) { p ( 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 , r , a ) { var o = a || { } ; i . a . defaults ( o , { escape : ! 0 } ) ; var s = t , c = _ ( e ) . translations [ t ] ; return void 0 !== c && ( s = c ) , "object" === y ( n ) || void 0 !== r ? u . a . sanitize ( function ( e , t , n ) { return e . replace ( /%n/g , n ) . replace ( /{([^{}]*)}/g , ( function ( e , n ) { var r = t [ n ] ; return "string" == typeof r || "number" == typeof r ? o . escape ? u . a . sanitize ( f ( ) ( r ) ) : u . a . sanitize ( r ) : u . a . sanitize ( e ) } ) ) } ( s , n , r ) ) : u . a . sanitize ( s ) } , translatePlural : function ( e , t , n , r , i , a ) { var s = "_" + t + "_::_" + n + "_" , u = _ ( e ) , c = u . translations [ s ] ; if ( void 0 !== c ) { var l = c ; if ( o . a . isArray ( l ) ) { var d = u . pluralFunction ( r ) ; return this . translate ( e , l [ d ] , i , r , a ) } } return 1 === r ? this . translate ( e , t , i , r , a ) : this . translate ( e , n , i , r , a ) } , _getPlural : function ( e ) { var t = h . 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 e % 10 == 1 && e % 100 != 11 ? 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 e % 10 == 1 && e % 100 != 11 ? 0 : e % 10 >= 2 && ( e % 100 < 10 || e % 100 >= 20 ) ? 1 : 2 ; case "sl" : return e % 100 == 1 ? 0 : e % 100 == 2 ? 1 : e % 100 == 3 || e % 100 == 4 ? 2 : 3 ; case "mk" : return e % 10 == 1 ? 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 : e % 10 == 1 && e % 100 != 11 ? 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 } } } , g = ( t . a = v , function ( ) { var e = M ( ) ; return "string" == typeof e ? e . replace ( /_/g , "-" ) : e } ) , M = function ( ) { return o ( ) ( "html" ) . data ( "locale" ) } , L = function ( ) { return o ( ) ( "html" ) . prop ( "lang" ) } ; l . a . registerHelper ( "t" , ( function ( e , t ) { return v . translate ( e , t ) } ) ) } , function ( e , t ) { e . exports = function ( e , t ) { return { enum
2019-01-30 19:06:01 +03: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/>.
*
* /
2020-03-22 21:46:15 +03:00
function o ( t , n , r ) { "post" !== t && "delete" !== t || ! a . a . PasswordConfirmation . requiresPasswordConfirmation ( ) ? ( r = r || { } , i . a . ajax ( { type : t . toUpperCase ( ) , url : a . a . linkToOCS ( "apps/provisioning_api/api/v1" , 2 ) + "config/apps" + n , data : r . data || { } , success : r . success , error : r . error } ) ) : a . a . PasswordConfirmation . requirePasswordConfirmation ( e . bind ( o , this , t , n , r ) ) } function s ( e ) { o ( "get" , "" , e ) } function u ( e , t ) { o ( "get" , "/" + e , t ) } function c ( e , t , n , r ) { ( r = r || { } ) . data = { defaultValue : n } , o ( "get" , "/" + e + "/" + t , r ) } function l ( e , t , n , r ) { ( r = r || { } ) . data = { value : n } , o ( "post" , "/" + e + "/" + t , r ) } function d ( e , t , n ) { o ( "delete" , "/" + e + "/" + t , n ) } } . call ( this , n ( 2 ) ) } , function ( e , t , n ) { e . exports = function ( ) { "use strict" ; var e = Object . hasOwnProperty , t = Object . setPrototypeOf , n = Object . isFrozen , r = Object . keys , i = Object . freeze , a = Object . seal , o = "undefined" != typeof Reflect && Reflect , s = o . apply , u = o . construct ; s || ( s = function ( e , t , n ) { return e . apply ( t , n ) } ) , i || ( i = function ( e ) { return e } ) , a || ( a = function ( e ) { return e } ) , u || ( u = function ( e , t ) { return new ( Function . prototype . bind . apply ( e , [ null ] . concat ( function ( e ) { if ( Array . isArray ( e ) ) { for ( var t = 0 , n = Array ( e . length ) ; t < e . length ; t ++ ) n [ t ] = e [ t ] ; return n } return Array . from ( e ) } ( t ) ) ) ) } ) ; var c = b ( Array . prototype . forEach ) , l = b ( Array . prototype . indexOf ) , d = b ( Array . prototype . join ) , f = b ( Array . prototype . pop ) , h = b ( Array . prototype . push ) , p = b ( Array . prototype . slice ) , m = b ( String . prototype . toLowerCase ) , _ = b ( String . prototype . match ) , y = b ( String . prototype . replace ) , v = b ( String . prototype . indexOf ) , g = b ( String . prototype . trim ) , M = b ( RegExp . prototype . test ) , L = k ( RegExp ) , w = k ( TypeError ) ; function b ( e ) { return function ( t ) { for ( var n = arguments . length , r = Array ( n > 1 ? n - 1 : 0 ) , i = 1 ; i < n ; i ++ ) r [ i - 1 ] = arguments [ i ] ; return s ( e , t , r ) } } function k ( e ) { return function ( ) { for ( var t = arguments . length , n = Array ( t ) , r = 0 ; r < t ; r ++ ) n [ r ] = arguments [ r ] ; return u ( e , n ) } } function Y ( e , r ) { t && t ( e , null ) ; for ( var i = r . length ; i -- ; ) { var a = r [ i ] ; if ( "string" == typeof a ) { var o = m ( a ) ; o !== a && ( n ( r ) || ( r [ i ] = o ) , a = o ) } e [ a ] = ! 0 } return e } function T ( t ) { var n = { } , r = void 0 ; for ( r in t ) s ( e , t , [ r ] ) && ( n [ r ] = t [ r ] ) ; return n } var x = i ( [ "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" , "picture" , "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" ] ) , D = i ( [ "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" ] ) , S = i ( [ "feBlend" , "feColorMatrix" , "feComponentTransfer" , "feComposite" , "feConvolveMatrix" , "feDiffuseLighting" , "feDisplacementMap" , "feDistantLight" , "feFlood" , "feFuncA" , "feFuncB" , "feFuncG" , "feFuncR" , "feGaussianBlur" , "feMerge" , "feMergeNode" , "feMorphology" , "feOffset" , "fePointLight" , "feSpecularLighting" , "feSpotLight" , "feTile" , "feTurbulence" ] ) , E = i ( [ "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" ] ) , O = i ( [ "#text" ] ) , j = i ( [ "accept" , "action" , "align" , "alt" , "autocomplete" , "background" , "bgcolor" , "border" , "cellpadding" , "cellspacing" , "checked" , "cite" , "class" , "clear" , "color" , "cols" , "colspan" , "controls" , "coords" , "crossorigin" , " datet
2019-01-30 19:06:01 +03: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/>.
2020-03-22 21:46:15 +03:00
* / t . a = { } } , f u n c t i o n ( e , t , n ) { e . e x p o r t s = n ( 1 4 7 ) . d e f a u l t } , f u n c t i o n ( e , t , n ) { v a r r = n ( 2 2 ) , i = n ( 2 6 8 ) . f , a = n ( 8 9 ) , o = n ( 2 7 0 ) , s = n ( 1 6 1 ) , u = n ( 5 4 3 ) , c = n ( 5 5 2 ) ; e . e x p o r t s = f u n c t i o n ( e , t ) { v a r n , l , d , f , h , p = e . t a r g e t , m = e . g l o b a l , _ = e . s t a t ; i f ( n = m ? r : _ ? r [ p ] | | s ( p , { } ) : ( r [ p ] | | { } ) . p r o t o t y p e ) f o r ( l i n t ) { i f ( f = t [ l ] , d = e . n o T a r g e t G e t ? ( h = i ( n , l ) ) & & h . v a l u e : n [ l ] , ! c ( m ? l : p + ( _ ? " . " : " # " ) + l , e . f o r c e d ) & & v o i d 0 ! = = d ) { i f ( t y p e o f f = = t y p e o f d ) c o n t i n u e ; u ( f , d ) } ( e . s h a m | | d & & d . s h a m ) & & a ( f , " s h a m " , ! 0 ) , o ( n , l , f , e ) } } } , f u n c t i o n ( e , t ) { e . e x p o r t s = f u n c t i o n ( e ) { i f ( n u l l = = e ) t h r o w T y p e E r r o r ( " C a n ' t c a l l m e t h o d o n " + e ) ; r e t u r n e } } , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 3 6 ) , i = n ( 1 6 0 ) , a = n ( 1 5 7 ) ; e . e x p o r t s = r ? f u n c t i o n ( e , t , n ) { r e t u r n i . f ( e , t , a ( 1 , n ) ) } : f u n c t i o n ( e , t , n ) { r e t u r n e [ t ] = n , e } } , f u n c t i o n ( e , t , n ) { v a r r = n ( 1 3 9 ) , i = M a t h . m i n ; e . e x p o r t s = f u n c t i o n ( e ) { r e t u r n e > 0 ? i ( r ( e ) , 9 0 0 7 1 9 9 2 5 4 7 4 0 9 9 1 ) : 0 } } , f u n c t i o n ( e , t , n ) { v a r r = n ( 9 2 ) ; e . e x p o r t s = ! r ( ( f u n c t i o n ( ) { r e t u r n 7 ! = O b j e c t . d e f i n e P r o p e r t y ( { } , 1 , { g e t : f u n c t i o n ( ) { r e t u r n 7 } } ) [ 1 ] } ) ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = f u n c t i o n ( e ) { t r y { r e t u r n ! ! e ( ) } c a t c h ( e ) { r e t u r n ! 0 } } } , f u n c t i o n ( e , t ) { v a r n = { } . h a s O w n P r o p e r t y ; e . e x p o r t s = f u n c t i o n ( e , t ) { r e t u r n n . c a l l ( e , t ) } } , f u n c t i o n ( e , t , n ) { v a r r = n ( 5 0 ) ; e . e x p o r t s = ! r ( ( f u n c t i o n ( ) { r e t u r n 7 ! = O b j e c t . d e f i n e P r o p e r t y ( { } , 1 , { g e t : f u n c t i o n ( ) { r e t u r n 7 } } ) [ 1 ] } ) ) } , f u n c t i o n ( e , t ) { e . e x p o r t s = f u n c t i o n ( e ) { r e t u r n " o b j e c t " = = t y p e o f e ? n u l l ! = = e : " f u n c t i o n " = = t y p e o f e } } , f u n c t i o n ( e , t , n ) { " u s e s t r i c t " ; e . e x p o r t s = f u n c t i o n ( e ) { v a r t = [ ] ; r e t u r n t . t o S t r i n g = f u n c t i o n ( ) { r e t u r n t h i s . m a p ( ( f u n c t i o n ( t ) { v a r n = f u n c t i o n ( e , t ) { v a r n = e [ 1 ] | | " " , r = e [ 3 ] ; i f ( ! r ) r e t u r n n ; i f ( t & & " f u n c t i o n " = = t y p e o f b t o a ) { v a r i = ( o = r , s = 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 ) ) ) ) , u = " 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 ; c h a r s e t = u t f - 8 ; b a s e 6 4 , " . c o n c a t ( s ) , " / * # " . c o n c a t ( u , " * / " ) ) , a = r . s o u r c e s . m a p ( ( f u n c t i o n ( e ) { r e t u r n " / * # s o u r c e U R L = " . c o n c a t ( r . s o u r c e R o o t | | " " ) . c o n c a t ( e , " * / " ) } ) ) ; r e t u r n [ n ] . c o n c a t ( a ) . c o n c a t ( [ i ] ) . j o i n ( " \ n " ) } v a r o , s , u ; r e t u r n [ n ] . j o i n ( " \ n " ) } ( t , e ) ; r e t u r n t [ 2 ] ? " @ m e d i a " . c o n c a t ( t [ 2 ] , " { " ) . c o n c a t ( n , " } " ) : n } ) ) . j o i n ( " " ) } , t . i = f u n c t i o n ( e , n ) { " s t r i n g " = = t y p e o f e & & ( e = [ [ n u l l , e , " " ] ] ) ; f o r ( v a r r = 0 ; r < e . l e n g t h ; r + + ) { v a r i = [ ] . c o n c a t ( e [ r ] ) ; n & & ( i [ 2 ] ? i [ 2 ] = " " . c o n c a t ( n , " a n d " ) . c o n c a t ( i [ 2 ] ) : i [ 2 ] = n ) , t . p u s h ( i ) } } , 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 r ( e , t ) { f o r ( v a r n = [ ] , r = { } , i = 0 ; i < t . l e n g t h ; i + + ) { v a r a = t [ i ] , o = a [ 0 ] , s = { i d : e + " : " + i , c s s : a [ 1 ] , m e d i a : a [ 2 ] , s o u r c e M a p : a [ 3 ] } ; r [ o ] ? r [ o ] . p a r t s . p u s h ( s ) : n . p u s h ( r [ o ] = { i d : o , 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 h } ) ) ; v a r i = " 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 & & ! i ) 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 = { } , o = i & & ( 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 , u = 0 , c = ! 1 , l = f u n c t i o n ( ) { } , d = n u l l , f = " 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 h ( e , t , n , i ) { c = n , d = i | | { } ; v a r o = r ( e , t ) ; r e t u r n p ( o ) , f u n c t i o n ( t ) { f o r ( v a r n = [ ] , i = 0 ; i < o . l e n g t h ; i + + ) { v a r s = o [ i ] ; ( u = a [ s . i d ] ) . r e f s - - , n . p u s h ( u ) } t ? p ( o = r ( e , t ) ) : o = [ ] ; f o r ( i = 0 ; i < n . l e n g t h ; i + + ) { v a r u ; i f ( 0 = = = ( u = n [ i ] ) . r e f s ) { f o r ( v a r c = 0 ; c < u . p a r t s . l e n g t h ; c + + ) u . p a r t s [ c ] ( ) ; d e l e t e a [ u . i d ] } } } } f u n c t i o n p ( 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 i = 0 ; i < r . p a r t s . l e n g t h ; i + + ) r . p a r t s [ i ] ( n . p a r t s [ i ] ) ; f o r ( ; i < n . p a r t s . l e n g t h ; i + + ) r . p a r t s . p u s h ( _ ( n . p a r t s [ i ] ) ) ; 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 o = [ ] ; f o r ( i = 0 ; i < n . p a r t s . l e n g t h ; i + + ) o . p u s h ( _ ( n . p a r t s [ i ] ) ) ; a [ n . i d ] = { i d : n . i d , r e f s : 1 , p a r t s : o } } } } f u n c t i o n m ( ) { 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 " , o . a p p e n d C h i l d ( e ) , e } f u n c t i o n _ ( 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 ( c ) r e t u r n l ; r . p a r e n t N o d e . r e m o v e C h i l d ( r ) } i f ( f ) { v a r i = u + + ; r = s | | ( s = m ( ) ) , t = g . b i n d ( n u l l , r , i , ! 1 ) , n = g . b i n d ( n u l l , r , i , ! 0 ) } e l s e r = m ( ) , t = M . 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 y , v = ( y = [ ] , f u n c t i o n ( e , t ) { r e t u r n y [ e ] = t , y . 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 g ( e , t , n , r ) { v a r i = 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 = v ( t , i ) ; 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 ( i ) , o = e .
2019-10-04 14:23:32 +03:00
/ * !
* escape - html
* Copyright ( c ) 2012 - 2013 TJ Holowaychuk
* Copyright ( c ) 2015 Andreas Lubbe
* Copyright ( c ) 2015 Tiancheng "Timothy" Gu
* MIT Licensed
2020-03-22 21:46:15 +03:00
* /var r=/ [ "'&<>]/;e.exports=function(e){var t,n=" "+e,i=r.exec(n);if(!i)return n;var a=" ",o=0,s=0;for(o=i.index;o<n.length;o++){switch(n.charCodeAt(o)){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!==o&&(a+=n.substring(s,o)),s=o+1,a+=t}return s!==o?a+n.substring(s,o):a}},,,function(e,t,n){" use strict ";function r(e){return e&&e.__esModule?e:{default:e}}function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}t.__esModule=!0;var a=i(n(286)),o=r(n(580)),s=r(n(47)),u=i(n(23)),c=i(n(581)),l=r(n(583));function d(){var e=new a.HandlebarsEnvironment;return u.extend(e,a),e.SafeString=o.default,e.Exception=s.default,e.Utils=u,e.escapeExpression=u.escapeExpression,e.VM=c,e.template=function(t){return c.template(t,e)},e}var f=d();f.create=d,l.default(f),f.default=f,t.default=f,e.exports=t.default},,,,function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(513),i=n(253);e.exports=function(e){return r(i(e))}},function(e,t,n){var r=n(57);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&" function "==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if(" function "==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&" function "==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError(" Can 't convert object to primitive value")}},function(e,t,n){var r=n(107),i=n(254),a=n(255),o=n(153),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(a(e),t=o(t,!0),a(n),i)try{return s(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(21),i=n(108);e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(21),i=n(258),a=n(58),o=n(259),s=n(265),u=n(533),c=i("wks"),l=r.Symbol,d=u?l:l&&l.withoutSetter||o;e.exports=function(e){return a(c,e)||(s&&a(l,e)?c[e]=l[e]:c[e]=d("Symbol."+e)),c[e]}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(17),i=n(138),a="".split;e.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?a.call(e,""):Object(e)}:Object},function(e,t,n){var r=n(46);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError("Can' t convert object to primitive value ")}},function(e,t,n){var r=n(136),i=n(269),a=n(60),o=n(159),s=Object.defineProperty;t.f=r?s:function(e,t,n){if(a(e),t=o(t,!0),a(n),i)try{return s(e,t,n)}catch(e){}if(" get "in n||" set "in n)throw TypeError(" Accessors not supported ");return" value "in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(22),i=n(89);e.exports=function(e,t){try{i(r,e,t)}catch(n){r[e]=t}return t}},function(e,t,n){var r=n(88);e.exports=function(e){return Object(r(e))}},function(e,t,n){var r=n(17),i=n(61),a=n(280),o=i(" species ");e.exports=function(e){return a>=51||!r((function(){var t=[];return(t.constructor={})[o]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},function(e,t,n){var r=n(35),i=n(165),a=n(166),o=n(100),s=n(168),u=n(25),c=n(169),l=Object.getOwnPropertyDescriptor;t.f=r?l:function(e,t){if(e=o(e),t=s(t,!0),c)try{return l(e,t)}catch(e){}if(u(e,t))return a(!i.f.call(e,t),e[t])}},function(e,t,n){" use strict ";var r={}.propertyIsEnumerable,i=Object.getOwnPropertyDescriptor,a=i&&!r.call({1:2},1);t.f=a?function(e){var t=i(this,e);return!!t&&t.enumerable}:r},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r=n(12),i=n(101),a=" ".split;e.exports=r((function(){return!Object(" z ").propertyIsEnumerable(0)}))?function(e){return" String "==i(e)?a.call(e," " ) : Object ( e ) } : Object } , function ( e , t , n ) { var r = n ( 80 ) ; e . exports = function ( e , t ) { if ( ! r
2019-09-25 19:19:42 +03:00
/ * *
2019-01-30 19:06:01 +03: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-05-16 17:40:02 +03:00
* /
2020-03-22 21:46:15 +03:00
var r = function ( e ) { var t , n , r , i = { } ; if ( ! e ) return null ; ( t = e . indexOf ( "?" ) ) >= 0 && ( e = e . substr ( t + 1 ) ) ; for ( var a = e . replace ( /\+/g , "%20" ) . split ( "&" ) , o = 0 ; o < a . length ; o ++ ) { var s = a [ o ] ; ( n = ( t = s . indexOf ( "=" ) ) >= 0 ? [ s . substr ( 0 , t ) , s . substr ( t + 1 ) ] : [ s ] ) . length && ( ( r = decodeURIComponent ( n [ 0 ] ) ) && ( n . length > 1 ? i [ r ] = decodeURIComponent ( n [ 1 ] ) : i [ r ] = null ) ) } return i } , i = 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" ; Object . defineProperty ( t , "__esModule" , { value : ! 0 } ) , Object . defineProperty ( t , "getRequestToken" , { enumerable : ! 0 , get : function ( ) { return r . getRequestToken } } ) , Object . defineProperty ( t , "onRequestTokenUpdate" , { enumerable : ! 0 , get : function ( ) { return r . onRequestTokenUpdate } } ) , Object . defineProperty ( t , "getCurrentUser" , { enumerable : ! 0 , get : function ( ) { return i . getCurrentUser } } ) ; var r = n ( 629 ) , i = n ( 661 ) } , function ( e , t , n ) { "use strict" ; n . d ( t , "b" , ( function ( ) { return s } ) ) ; var r = n ( 0 ) , i = n . n ( r ) , a = ! 1 , o = { enableDynamicSlideToggle : function ( ) { a = ! 0 } , showAppSidebar : function ( e ) { ( e || i ( ) ( "#app-sidebar" ) ) . removeClass ( "disappear" ) . show ( ) , i ( ) ( "#app-content" ) . trigger ( new i . a . Event ( "appresized" ) ) } , hideAppSidebar : function ( e ) { ( e || i ( ) ( "#app-sidebar" ) ) . hide ( ) . addClass ( "disappear" ) , i ( ) ( "#app-content" ) . trigger ( new i . a . Event ( "appresized" ) ) } } , s = function ( ) { var e = i ( ) ( "[data-apps-slide-toggle]" ) ; 0 === e . length && i ( ) ( "#app-navigation" ) . addClass ( "without-app-settings" ) , i ( ) ( document ) . click ( ( function ( t ) { a && ( e = i ( ) ( "[data-apps-slide-toggle]" ) ) , e . each ( ( function ( e , n ) { var r = i ( ) ( n ) . data ( "apps-slide-toggle" ) , a = i ( ) ( r ) ; function o ( ) { a . slideUp ( 4 * OC . menuSpeed , ( function ( ) { a . trigger ( new i . a . Event ( "hide" ) ) } ) ) , a . removeClass ( "opened" ) , i ( ) ( n ) . removeClass ( "opened" ) } if ( ! a . is ( ":animated" ) ) if ( i ( ) ( n ) . is ( i ( ) ( t . target ) . closest ( "[data-apps-slide-toggle]" ) ) ) a . is ( ":visible" ) ? o ( ) : function ( ) { a . slideDown ( 4 * OC . menuSpeed , ( function ( ) { a . trigger ( new i . a . Event ( "show" ) ) } ) ) , a . addClass ( "opened" ) , i ( ) ( n ) . addClass ( "opened" ) ; var e = i ( ) ( r + " [autofocus]" ) ; 1 === e . length && e . focus ( ) } ( ) ; else { var s = i ( ) ( t . target ) . closest ( r ) ; a . is ( ":visible" ) && s [ 0 ] !== a [ 0 ] && o ( ) } } ) ) } ) ) } ; t . a = o } , function ( e , t , n ) { "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 , r ) { void 0 === n && ( n = "0" ) , n = "" + n , ( r = r || { } ) . Depth = n , r [ "Content-Type" ] = "application/xml; charset=utf-8" ; var i , a = '<?xml version="1.0"?>\n<d:propfind ' ; for ( i in this . xmlNamespaces ) a += " xmlns:" + this . xmlNamespaces [ i ] + '="' + i + '"' ; for ( var o in a += ">\n <d:prop>\n" , t ) if ( t . hasOwnProperty ( o ) ) { var s = this . parseClarkNotation ( t [ o ] ) ; this . xmlNamespaces [ s . namespace ] ? a += " <" + this . xmlNamespaces [ s . namespace ] + ":" + s . name + " />\n" : a += " <x:" + s . name + ' xmlns:x="' + s . namespace + '" />\n' } return a += " </d:prop>\n" , a += "</d:propfind>" , this . request ( "PROPFIND" , e , r , a ) . 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 r , i = this . parseClarkNotation ( n ) , a = e [ n ] ; "d:resourcetype" !== ( r = this . xmlNamespaces [ i . namespace ] ? this . xmlNamespaces [ i . namespace ] + ":" + i . name : "x:" + i . name + ' xmlns:x="' + i . namespace + '"' ) && ( a = dav . _escapeXml ( a ) ) , t += " <" + r + ">" + a + "</" + r + ">\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 r , i = '<?xml version="1.0"?>\n<d:propertyupdate ' ; for ( r in this . xmlNamespaces ) i += " xmlns:" + this . xmlNamespaces [ r ] + '="' + r + '"' ; return i += ">\n" + this . _renderPropSet ( t ) , i += "</d:propertyupdate>" , this . request ( "PROPPATCH" , e , n , i ) . then ( function ( e ) { return { status : e . status , body : e . body , xhr : e . xhr } } . bind ( this ) ) } , mkcol : function ( e , t , n ) { var r = "" ; if ( ( n = n || { } ) [ "Content-Type" ] = "application/xml; charset=utf-8" , t ) { var i ; for ( i in r = '<?xml version="1.0"?>\n<d:mkcol' , this . xmlNames
2019-09-25 19:19:42 +03:00
/ * *
2019-01-30 19:06:01 +03: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/>.
2020-03-22 21:46:15 +03: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 ( ) { s ( ) ( " . 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 " , a . 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 = c . 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 * w i n d o w . n c _ p a g e L o a d , t = c . a . n o w ( ) - ( e + 1 e 3 * w i n d o w . n c _ l a s t L o g i n ) ; r e t u r n w i n d o w . 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 , r ) { n = v o i d 0 ! = = n ? n : { } ; v a r i = { 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 : " " } , o = a . a . e x t e n d ( i , n ) , u = 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 ( o . t e x t , o . t i t l e , ( f u n c t i o n ( e , t ) { e & & " " ! = = t ? u . _ c o n f i r m P a s s w o r d ( t , o ) : a . a . i s F u n c t i o n ( r ) & & r ( ) } ) , ! 0 , o . l a b e l , ! 0 ) . t h e n ( ( f u n c t i o n ( ) { v a r e = s ( ) ( " . 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 " ) , " " ! = = o . e r r o r ) { v a r t = s ( ) ( " < p > < / p > " ) . a d d C l a s s ( " m s g w a r n i n g " ) . t e x t ( o . 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 ( o . 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 r = t h i s ; s . 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 ) { w i n d o w . n c _ l a s t L o g i n = e . l a s t L o g i n , a . a . i s F u n c t i o n ( r . c a l l b a c k ) & & r . 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 ( r . 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 " ; O b j e c t . d e f i n e P r o p e r t y ( t , " _ _ e s M o d u l e " , { v a l u e : ! 0 } ) , t . P r o x y B u s = v o i d 0 ; v a r r , i = ( r = n ( 2 0 4 ) ) & & r . _ _ e s M o d u l e ? r : { d e f a u l t : r } ; f u n c t i o n a ( e , t ) { f o r ( v a r n = 0 ; n < t . l e n g t h ; n + + ) { v a r r = t [ n ] ; r . e n u m e r a b l e = r . e n u m e r a b l e | | ! 1 , r . c o n f i g u r a b l e = ! 0 , " v a l u e " i n r & & ( r . w r i t a b l e = ! 0 ) , O b j e c t . d e f i n e P r o p e r t y ( e , r . k e y , r ) } } v a r o = " 1 . 1 . 3 " , s = f u n c t i o n ( ) { f u n c t i o n e ( t ) { ! f u n c t i o n ( e , t ) { i f ( ! ( e i n s t a n c e o f t ) ) t h r o w n e w T y p e E r r o r ( " C a n n o t c a l l a c l a s s a s a f u n c t i o n " ) } ( t h i s , e ) , f u n c t i o n ( e , t , n ) { t i n e ? O b j e c t . d e f i n e P r o p e r t y ( e , t , { v a l u e : n , e n u m e r a b l e : ! 0 , c o n f i g u r a b l e : ! 0 , w r i t a b l e : ! 0 } ) : e [ t ] = n } ( t h i s , " b u s " , v o i d 0 ) , " f u n c t i o n " = = t y p e o f t . g e t V e r s i o n & & i . d e f a u l t . v a l i d ( t . g e t V e r s i o n ( ) ) ? i . d e f a u l t . m a j o r ( t . g e t V e r s i o n ( ) ) ! = = i . d e f a u l t . m a j o r ( t h i s . g e t V e r s i o n ( ) ) & & c o n s o l e . w a r n ( " P r o x y i n g a n e v e n t b u s o f v e r s i o n " + t . g e t V e r s i o n ( ) + " w i t h " + t h i s . g e t V e r s i o n ( ) ) : c o n s o l e . w a r n ( " P r o x y i n g a n e v e n t b u s w i t h a n u n k n o w n o r i n v a l i d v e r s i o n " ) , t h i s . b u s = t } v a r t , n , r ; r e t u r n t = e , ( n = [ { k e y : " g e t V e r s i o n " , v a l u e : f u n c t i o n ( ) { r e t u r n o } } , { k e y : " s u b s c r i b e " , v a l u e : f u n c t i o n ( e , t ) { t h i s . b u s . s u b s c r i b e ( e , t ) } } , { k e y : " u n s u b s c r i b e " , v a l u e : f u n c t i o n ( e , t ) { t h i s . b u s . u n s u b s c r i b e ( e , t ) } } , { k e y : " e m i t " , v a l u e : f u n c t i o n ( e , t ) { t h i s . b u s . e m i t ( e , t ) } } ] ) & & a ( t . p r o t o t y p e , n ) , r & & a ( t , r ) , e } ( ) ; t . P r o x y B u s = s } , f u n c t i o n ( e , t , n ) { ( f u n c t i o n ( n ) { v a r r ; t = e . e x p o r t s = f , r = " o b j e c t " = = t y p e o f n & & n . e n v & & n . e n v . N O D E _ D E B U G & & / \ b s e m v e r \ b / i . t e s t ( n . e n v . N O D E _ D E B U G ) ? f u n c t i o n ( ) { v a r e = A r r a y . p r o t o t y p e . s l i c e . c a l l ( a r g u m e n t s , 0 ) ; e . u n s h i f t ( " S E M V E R " ) , c o n s o l e . l o g . a p p l y ( c o n s o l e , e ) } : f u n c t i o n ( ) { } , t . S E M V E R _ S P E C _ V E R S I O N = " 2 . 0 . 0 " ; v a r i = N u m b e r . M A X _ S A F E _ I N T E G E R | | 9 0 0 7 1 9 9 2 5 4 7 4 0 9 9 1 , a = t . r e = [ ] , o = t . s r c = [ ] , s = t . t o k e n s = { } , u = 0 ; f u n c t i o n c ( e ) { s [ e ] = u + + } c ( " N U M E R I C I D E N T I F I E R " ) , o [ s . N U M E R I C I D E N T I F I E R ] = " 0 | [ 1 - 9 ] \ \ d * " , c ( " N U M E R I C I D E N T I F I E R L O O S E " ) , o [ s . N U M E R I C I D E N T I F I E R L O O S E ] = " [ 0 - 9 ] + " , c ( " N O N N U M E R I C I D E N T I F I E R " ) , o [ s . N O N N U M E R I C I D E N T I F I E R ] = " \ \ d * [ a - z A - Z - ] [ a - z A - Z 0 - 9 - ] * " , c ( " M A I N V E R S I O N " ) , o [ s . M A I N V E R S I O N ] = " ( " + o [ s . N U M E R I C I D E N T I F I E R ] + " ) \ \ . ( " + o [ s . N U M E R I C I D E N T I F I E R ] + " ) \ \ . ( " + o [ s . N U M E R I C I D E N T I F I E R ] + " ) " , c ( " M A I N V E R S I O N L O O S E " ) , o [ s . M A I N V E R S I O N L O O S E ] = " ( " + o [ s . N U M E R I C I D E N T I F I E R L O O S E ] + " ) \ \ . ( " + o [ s . N U M E R I C I D E N T I F I E R L O O S E ] + " ) \ \ . ( " + o [ s . N U M E R I C I D E N T I F I E R L O O S E ] + " ) " , c ( " P R E R E L E A S E I D E N T I F I E R " ) , o [ s . P R E R E L E A S E I D E N T I F I E R ] = " ( ? : " + o [ s . N U M E R I C I D E N T I F I E R ] + " | " + o [ s . N O N N U M E R I C I D E N T I F I E R ] + " ) " , c ( " P R E R E L E A S E I D E N T I F I E R L O O S E " ) , o [ s . P R E R E L E A S E I D E N T I F I E R L O O S E ] = " ( ? : " + o [ s . N U M E R I C I D E N T I F I E R L O O S E ] + " | " + o [ s . N O N N U M E R I C I D E N T I F I E R ] + " ) " , c ( " P R E R E L E A S E " ) , o [ s . P R E R E L E A S E ] = " ( ? : - ( " + o [ s . P R E R E L E A S E I D E N T I F I E R ] + " ( ? : \ \ . " + o [ s . P R E R E L E A S E I D E N T I F I E R ] + " ) * ) ) " , c ( " P R E R E L E A S E L O O S E " ) , o [ s . P R E R E L E A S E L O O S E ] = " ( ? : - ? ( " + o [ s . P R E R E L E A S E I D E N T I F I E R L O O S E ] + " ( ? : \ \ . " + o [ s . P R E R E L E A S E I D E N T I F I E R L O O S E ] + " ) * ) ) " , c ( " B U I L D I D E N T I F I E R " ) , o [ s . B U I L D I D
2019-12-04 22:18:58 +03:00
/ * !
2019-12-22 16:49:58 +03:00
* Vue . js v2 . 6.11
2019-12-04 22:18:58 +03:00
* ( c ) 2014 - 2019 Evan You
* Released under the MIT License .
* /
2020-03-22 21:46:15 +03:00
var r = Object . freeze ( { } ) ; function i ( e ) { return null == e } function a ( e ) { return null != e } function o ( e ) { return ! 0 === e } function s ( e ) { return "string" == typeof e || "number" == typeof e || "symbol" == typeof e || "boolean" == typeof e } function u ( e ) { return null !== e && "object" == typeof e } var c = Object . prototype . toString ; function l ( e ) { return "[object Object]" === c . call ( e ) } function d ( e ) { return "[object RegExp]" === c . call ( e ) } function f ( e ) { var t = parseFloat ( String ( e ) ) ; return t >= 0 && Math . floor ( t ) === t && isFinite ( e ) } function h ( e ) { return a ( e ) && "function" == typeof e . then && "function" == typeof e . catch } function p ( e ) { return null == e ? "" : Array . isArray ( e ) || l ( e ) && e . toString === c ? JSON . stringify ( e , null , 2 ) : String ( e ) } function m ( e ) { var t = parseFloat ( e ) ; return isNaN ( t ) ? e : t } function _ ( e , t ) { for ( var n = Object . create ( null ) , r = e . split ( "," ) , i = 0 ; i < r . length ; i ++ ) n [ r [ i ] ] = ! 0 ; return t ? function ( e ) { return n [ e . toLowerCase ( ) ] } : function ( e ) { return n [ e ] } } _ ( "slot,component" , ! 0 ) ; var y = _ ( "key,ref,slot,slot-scope,is" ) ; function v ( e , t ) { if ( e . length ) { var n = e . indexOf ( t ) ; if ( n > - 1 ) return e . splice ( n , 1 ) } } var g = Object . prototype . hasOwnProperty ; function M ( e , t ) { return g . call ( e , t ) } function L ( e ) { var t = Object . create ( null ) ; return function ( n ) { return t [ n ] || ( t [ n ] = e ( n ) ) } } var w = /-(\w)/g , b = L ( ( function ( e ) { return e . replace ( w , ( function ( e , t ) { return t ? t . toUpperCase ( ) : "" } ) ) } ) ) , k = L ( ( function ( e ) { return e . charAt ( 0 ) . toUpperCase ( ) + e . slice ( 1 ) } ) ) , Y = /\B([A-Z])/g , T = L ( ( function ( e ) { return e . replace ( Y , "-$1" ) . toLowerCase ( ) } ) ) ; var x = 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 D ( e , t ) { t = t || 0 ; for ( var n = e . length - t , r = new Array ( n ) ; n -- ; ) r [ n ] = e [ n + t ] ; return r } function S ( e , t ) { for ( var n in t ) e [ n ] = t [ n ] ; return e } function E ( e ) { for ( var t = { } , n = 0 ; n < e . length ; n ++ ) e [ n ] && S ( t , e [ n ] ) ; return t } function O ( e , t , n ) { } var j = function ( e , t , n ) { return ! 1 } , A = function ( e ) { return e } ; function P ( e , t ) { if ( e === t ) return ! 0 ; var n = u ( e ) , r = u ( t ) ; if ( ! n || ! r ) return ! n && ! r && String ( e ) === String ( t ) ; try { var i = Array . isArray ( e ) , a = Array . isArray ( t ) ; if ( i && a ) return e . length === t . length && e . every ( ( function ( e , n ) { return P ( e , t [ n ] ) } ) ) ; if ( e instanceof Date && t instanceof Date ) return e . getTime ( ) === t . getTime ( ) ; if ( i || a ) return ! 1 ; var o = Object . keys ( e ) , s = Object . keys ( t ) ; return o . length === s . length && o . every ( ( function ( n ) { return P ( e [ n ] , t [ n ] ) } ) ) } catch ( e ) { return ! 1 } } function H ( e , t ) { for ( var n = 0 ; n < e . length ; n ++ ) if ( P ( e [ n ] , t ) ) return n ; return - 1 } function C ( e ) { var t = ! 1 ; return function ( ) { t || ( t = ! 0 , e . apply ( this , arguments ) ) } } var N = [ "component" , "directive" , "filter" ] , I = [ "beforeCreate" , "created" , "beforeMount" , "mounted" , "beforeUpdate" , "updated" , "beforeDestroy" , "destroyed" , "activated" , "deactivated" , "errorCaptured" , "serverPrefetch" ] , R = { optionMergeStrategies : Object . create ( null ) , silent : ! 1 , productionTip : ! 1 , devtools : ! 1 , performance : ! 1 , errorHandler : null , warnHandler : null , ignoredElements : [ ] , keyCodes : Object . create ( null ) , isReservedTag : j , isReservedAttr : j , isUnknownElement : j , getTagNamespace : O , parsePlatformTagName : A , mustUseProp : j , async : ! 0 , _lifecycleHooks : I } , F = /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 W ( e , t , n , r ) { Object . defineProperty ( e , t , { value : n , enumerable : ! ! r , writable : ! 0 , configurable : ! 0 } ) } var $ = new RegExp ( "[^" + F . source + ".$_\\d]" ) ; var z , U = "__proto__" in { } , B = "undefined" != typeof window , q = "undefined" != typeof WXEnvironment && ! ! WXEnvironment . platform , J = q && WXEnvironment . platform . toLowerCase ( ) , G = B && window . navigator . userAgent . toLowerCase ( ) , V = G && /msie|trident/ . test ( G ) , K = G && G . indexOf ( "msie 9.0" ) > 0 , X = G && G . indexOf ( "edge/" ) > 0 , Z = ( G && G . indexOf ( "android" ) , G && /iphone|ipad|ipod|ios/ . test ( G ) || "ios" === J ) , Q = ( G && /chrome\/\d+/ . test ( G ) , G && /phantomjs/ . test ( G ) , G && G . match ( /firefox\/(\d+)/ ) ) , ee = { } . watch , te = ! 1 ; if ( B ) 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 === z && ( z = ! B && ! q && void 0 !== e && ( e . process && "server" === e . process . env . VUE _ENV ) ) , z } , ie = B && window . _ _VUE _DEVTOOLS _GLOBAL _HOOK _ _ ; function ae ( e ) { return "function" == t
2019-05-21 09:58:35 +03:00
/ *
object - assign
( c ) Sindre Sorhus
@ license MIT
2020-03-22 21:46:15 +03:00
* /var r=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,t){for(var n,s,u=o(e),c=1;c<arguments.length;c++){for(var l in n=Object(arguments[c]))i.call(n,l)&&(u[l]=n[l]);if(r){s=r(n);for(var d=0;d<s.length;d++)a.call(n,s[d])&&(u[s[d]]=n[s[d]])}}return u}},function(e,t,n){"use strict";var r=new RegExp("%[a-f0-9]{2}","gi"),i=new RegExp("(%[a-f0-9]{2})+","gi");function a(e,t){try{return decodeURIComponent(e.join(""))}catch(e){}if(1===e.length)return e;t=t||1;var n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],a(n),a(r))}function o(e){try{return decodeURIComponent(e)}catch(i){for(var t=e.match(r),n=1;n<t.length;n++)t=(e=a(t,n).join("")).match(r);return e}}e.exports=function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return e=e.replace(/ \ + / g , " " ) , d e c o d e U R I C o m p o n e n t ( e ) } c a t c h ( t ) { r e t u r n f u n c t i o n ( e ) { f o r ( v a r t = { " % F E % F F " : " <EFBFBD> <EFBFBD> " , " % F F % F E " : " <EFBFBD> <EFBFBD> " } , n = i . e x e c ( e ) ; n ; ) { t r y { t [ n [ 0 ] ] = d e c o d e U R I C o m p o n e n t ( n [ 0 ] ) } c a t c h ( e ) { v a r r = o ( n [ 0 ] ) ; r ! = = n [ 0 ] & & ( t [ n [ 0 ] ] = r ) } n = i . e x e c ( e ) } t [ " % C 2 " ] = " <EFBFBD> " ; f o r ( v a r a = O b j e c t . k e y s ( t ) , s = 0 ; s < a . l e n g t h ; s + + ) { v a r u = a [ s ] ; e = e . r e p l a c e ( n e w R e g E x p ( u , " g " ) , t [ u ] ) } r e t u r n e } ( e ) } } } , 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 ( 6 8 4 ) ; n . n ( r ) . a } , f u n c t i o n ( e , t , n ) { ( t = n ( 9 6 ) ( ! 1 ) ) . p u s h ( [ e . i , " \ n . u p d a t e [ d a t a - v - 2 2 6 b 8 7 8 d ] { \ n \ t w i d t h : a u t o ; \ 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 ( 6 8 5 ) ; n . n ( r ) . a } , f u n c t i o n ( e , t , n ) { ( t = n ( 9 6 ) ( ! 1 ) ) . p u s h ( [ e . i , " \ n f i e l d s e t [ d a t a - v - 6 9 a f 6 a a 5 ] { \ n \ t t e x t - a l i g n : c e n t e r ; \ n } \ n i n p u t [ t y p e = s u b m i t ] [ d a t a - v - 6 9 a f 6 a a 5 ] { \ n \ t m a r g i n - t o p : 2 0 p x ; \ 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 ( 6 8 6 ) ; n . n ( r ) . a } , f u n c t i o n ( e , t , n ) { ( t = n ( 9 6 ) ( ! 1 ) ) . p u s h ( [ e . i , " \ n . f a d e - e n t e r - a c t i v e , . f a d e - l e a v e - a c t i v e { \ n \ t t r a n s i t i o n : o p a c i t y . 3 s ; \ n } \ n . f a d e - e n t e r , . f a d e - l e a v e - t o / * . f a d e - l e a v e - a c t i v e b e l o w v e r s i o n 2 . 1 . 8 * / { \ n \ t o p a c i t y : 0 ; \ n } \ n " , " " ] ) , e . e x p o r t s = t } , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , f u n c t i o n ( e , n , r ) { " u s e s t r i c t " ; r . r ( n ) ; v a r i = r ( 4 6 0 ) , a = r ( 7 8 4 ) , o = r . n ( a ) , s = r ( 5 0 2 ) , u = r ( 3 ) , c = r ( 6 6 9 ) , l = r . n ( c ) , d = { n a m e : " L o g i n F o r m " , p r o p s : { u s e r n a m e : { t y p e : S t r i n g , d e f a u l t : " " } , r e d i r e c t U r l : { t y p e : S t r i n g } , e r r o r s : { t y p e : A r r a y , d e f a u l t : f u n c t i o n ( ) { r e t u r n [ ] } } , m e s s a g e s : { t y p e : A r r a y , d e f a u l t : f u n c t i o n ( ) { r e t u r n [ ] } } , t h r o t t l e D e l a y : { t y p e : N u m b e r } , i n v e r t e d C o l o r s : { t y p e : B o o l e a n , d e f a u l t : ! 1 } , a u t o C o m p l e t e A l l o w e d : { t y p e : B o o l e a n , d e f a u l t : ! 0 } , d i r e c t L o g i n : { t y p e : B o o l e a n , d e f a u l t : ! 1 } } , d a t a : f u n c t i o n ( ) { r e t u r n { l o a d i n g : ! 1 , t i m e z o n e : l . a . d e t e r m i n e ( ) . n a m e ( ) , t i m e z o n e O f f s e t : - ( n e w D a t e ) . g e t T i m e z o n e O f f s e t ( ) / 6 0 , u s e r : t h i s . u s e r n a m e , p a s s w o r d : " " , p a s s w o r d I n p u t T y p e : " p a s s w o r d " } } , c o m p u t e d : { a p a c h e A u t h F a i l e d : f u n c t i o n ( ) { r e t u r n - 1 ! = = t h i s . e r r o r s . i n d e x O f ( " a p a c h e A u t h F a i l e d " ) } , i n t e r n a l E x c e p t i o n : f u n c t i o n ( ) { r e t u r n - 1 ! = = t h i s . e r r o r s . i n d e x O f ( " i n t e r n a l e x c e p t i o n " ) } , i n v a l i d P a s s w o r d : f u n c t i o n ( ) { r e t u r n - 1 ! = = t h i s . e r r o r s . i n d e x O f ( " i n v a l i d p a s s w o r d " ) } , u s e r D i s a b l e d : f u n c t i o n ( ) { r e t u r n - 1 ! = = t h i s . e r r o r s . i n d e x O f ( " u s e r d i s a b l e d " ) } } , m o u n t e d : f u n c t i o n ( ) { " " = = = t h i s . u s e r n a m e ? t h i s . $ r e f s . u s e r . f o c u s ( ) : t h i s . $ r e f s . p a s s w o r d . f o c u s ( ) } , m e t h o d s : { t o g g l e P a s s w o r d : f u n c t i o n ( ) { " p a s s w o r d " = = = t h i s . p a s s w o r d I n p u t T y p e ? t h i s . p a s s w o r d I n p u t T y p e = " t e x t " : t h i s . p a s s w o r d I n p u t T y p e = " p a s s w o r d " } , u p d a t e U s e r n a m e : f u n c t i o n ( ) { t h i s . $ e m i t ( " u p d a t e : u s e r n a m e " , t h i s . u s e r ) } , s u b m i t : f u n c t i o n ( ) { t h i s . l o a d i n g = ! 0 , t h i s . $ e m i t ( " s u b m i t " ) } } } , f = r ( 1 9 0 ) , h = O b j e c t ( f . a )
2019-01-30 19:06:01 +03:00
//# sourceMappingURL=login.js.map